amis 1.5.7 → 1.6.1
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/.husky/pre-commit +1 -1
- package/README.md +1 -0
- package/lib/RootRenderer.d.ts +2 -0
- package/lib/RootRenderer.js +19 -1
- package/lib/RootRenderer.js.map +2 -2
- package/lib/Schema.d.ts +3 -2
- package/lib/Schema.js.map +1 -1
- package/lib/SchemaRenderer.js +52 -1
- package/lib/SchemaRenderer.js.map +2 -2
- package/lib/Scoped.d.ts +2 -0
- package/lib/Scoped.js +27 -1
- package/lib/Scoped.js.map +2 -2
- package/lib/actions/Action.d.ts +33 -0
- package/lib/actions/Action.js +100 -0
- package/lib/actions/Action.js.map +13 -0
- package/lib/actions/AjaxAction.d.ts +14 -0
- package/lib/actions/AjaxAction.js +68 -0
- package/lib/actions/AjaxAction.js.map +13 -0
- package/lib/actions/BreakAction.d.ts +12 -0
- package/lib/actions/BreakAction.js +28 -0
- package/lib/actions/BreakAction.js.map +13 -0
- package/lib/actions/BroadcastAction.d.ts +12 -0
- package/lib/actions/BroadcastAction.js +40 -0
- package/lib/actions/BroadcastAction.js.map +13 -0
- package/lib/actions/CmptAction.d.ts +12 -0
- package/lib/actions/CmptAction.js +40 -0
- package/lib/actions/CmptAction.js.map +13 -0
- package/lib/actions/ContinueAction.d.ts +12 -0
- package/lib/actions/ContinueAction.js +28 -0
- package/lib/actions/ContinueAction.js.map +13 -0
- package/lib/actions/CopyAction.d.ts +12 -0
- package/lib/actions/CopyAction.js +35 -0
- package/lib/actions/CopyAction.js.map +13 -0
- package/lib/actions/CustomAction.d.ts +12 -0
- package/lib/actions/CustomAction.js +43 -0
- package/lib/actions/CustomAction.js.map +13 -0
- package/lib/actions/DialogAction.d.ts +12 -0
- package/lib/actions/DialogAction.js +31 -0
- package/lib/actions/DialogAction.js.map +13 -0
- package/lib/actions/DrawerAction.d.ts +12 -0
- package/lib/actions/DrawerAction.js +31 -0
- package/lib/actions/DrawerAction.js.map +13 -0
- package/lib/actions/EmailAction.d.ts +12 -0
- package/lib/actions/EmailAction.js +37 -0
- package/lib/actions/EmailAction.js.map +13 -0
- package/lib/actions/LoopAction.d.ts +12 -0
- package/lib/actions/LoopAction.js +93 -0
- package/lib/actions/LoopAction.js.map +13 -0
- package/lib/actions/OpenPageAction.d.ts +12 -0
- package/lib/actions/OpenPageAction.js +33 -0
- package/lib/actions/OpenPageAction.js.map +13 -0
- package/lib/actions/ParallelAction.d.ts +5 -0
- package/lib/actions/ParallelAction.js +33 -0
- package/lib/actions/ParallelAction.js.map +13 -0
- package/lib/actions/SwitchAction.d.ts +8 -0
- package/lib/actions/SwitchAction.js +45 -0
- package/lib/actions/SwitchAction.js.map +13 -0
- package/lib/actions/index.d.ts +18 -0
- package/lib/actions/index.js +22 -0
- package/lib/actions/index.js.map +13 -0
- package/lib/components/AnchorNav.d.ts +20 -20
- package/lib/components/AssociatedSelection.d.ts +84 -84
- package/lib/components/AssociatedSelection.js +2 -2
- package/lib/components/AssociatedSelection.js.map +2 -2
- package/lib/components/Avatar.d.ts +135 -0
- package/lib/components/Avatar.js +120 -0
- package/lib/components/Avatar.js.map +13 -0
- package/lib/components/BaiduMapPicker.js.map +2 -2
- package/lib/components/Button.d.ts +20 -20
- package/lib/components/CalendarMobile.d.ts +573 -0
- package/lib/components/CalendarMobile.js +486 -0
- package/lib/components/CalendarMobile.js.map +13 -0
- package/lib/components/Cascader.d.ts +123 -0
- package/lib/components/Cascader.js +487 -0
- package/lib/components/Cascader.js.map +13 -0
- package/lib/components/ChainedSelection.d.ts +84 -84
- package/lib/components/ChainedSelection.js +15 -3
- package/lib/components/ChainedSelection.js.map +2 -2
- package/lib/components/CityArea.d.ts +527 -0
- package/lib/components/CityArea.js +177 -0
- package/lib/components/CityArea.js.map +13 -0
- package/lib/components/Collapse.d.ts +20 -20
- package/lib/components/ColorPicker.d.ts +84 -84
- package/lib/components/ColorPicker.js +4 -3
- package/lib/components/ColorPicker.js.map +2 -2
- package/lib/components/DatePicker.d.ts +85 -84
- package/lib/components/DatePicker.js +21 -8
- package/lib/components/DatePicker.js.map +2 -2
- package/lib/components/DateRangePicker.d.ts +85 -84
- package/lib/components/DateRangePicker.js +19 -6
- package/lib/components/DateRangePicker.js.map +2 -2
- package/lib/components/GroupedSelection.d.ts +84 -84
- package/lib/components/GroupedSelection.js +14 -2
- package/lib/components/GroupedSelection.js.map +2 -2
- package/lib/components/InputBox.d.ts +21 -21
- package/lib/components/ListGroup.d.ts +21 -21
- package/lib/components/ListMenu.d.ts +84 -84
- package/lib/components/MonthRangePicker.d.ts +85 -84
- package/lib/components/MonthRangePicker.js +18 -7
- package/lib/components/MonthRangePicker.js.map +2 -2
- package/lib/components/Overlay.d.ts +1 -1
- package/lib/components/Overlay.js.map +1 -1
- package/lib/components/Picker.d.ts +1 -0
- package/lib/components/Picker.js +16 -7
- package/lib/components/Picker.js.map +2 -2
- package/lib/components/PickerColumn.d.ts +1 -0
- package/lib/components/PickerColumn.js +21 -18
- package/lib/components/PickerColumn.js.map +2 -2
- package/lib/components/PickerContainer.d.ts +3 -0
- package/lib/components/PickerContainer.js +12 -5
- package/lib/components/PickerContainer.js.map +2 -2
- package/lib/components/PopOverContainer.d.ts +1 -0
- package/lib/components/PopOverContainer.js +5 -3
- package/lib/components/PopOverContainer.js.map +2 -2
- package/lib/components/PopUp.d.ts +1041 -28
- package/lib/components/PopUp.js +32 -8
- package/lib/components/PopUp.js.map +2 -2
- package/lib/components/Radios.d.ts +21 -21
- package/lib/components/Rating.d.ts +21 -21
- package/lib/components/ResultBox.d.ts +85 -84
- package/lib/components/ResultBox.js +9 -4
- package/lib/components/ResultBox.js.map +2 -2
- package/lib/components/ResultList.d.ts +9 -2
- package/lib/components/ResultList.js +22 -2
- package/lib/components/ResultList.js.map +2 -2
- package/lib/components/Select.d.ts +238 -238
- package/lib/components/Select.js +13 -9
- package/lib/components/Select.js.map +2 -2
- package/lib/components/Selection.d.ts +94 -86
- package/lib/components/Selection.js +11 -2
- package/lib/components/Selection.js.map +2 -2
- package/lib/components/Steps.js.map +2 -2
- package/lib/components/TableSelection.d.ts +85 -85
- package/lib/components/TableSelection.js +1 -9
- package/lib/components/TableSelection.js.map +2 -2
- package/lib/components/Tabs.js +31 -33
- package/lib/components/Tabs.js.map +2 -2
- package/lib/components/TabsTransfer.d.ts +87 -256
- package/lib/components/TabsTransfer.js +52 -9
- package/lib/components/TabsTransfer.js.map +2 -2
- package/lib/components/TabsTransferPicker.d.ts +1 -1
- package/lib/components/TabsTransferPicker.js +20 -18
- package/lib/components/TabsTransferPicker.js.map +2 -2
- package/lib/components/Timeline.d.ts +69 -0
- package/lib/components/Timeline.js +16 -0
- package/lib/components/Timeline.js.map +13 -0
- package/lib/components/TimelineItem.d.ts +517 -0
- package/lib/components/TimelineItem.js +40 -0
- package/lib/components/TimelineItem.js.map +13 -0
- package/lib/components/Transfer.d.ts +100 -98
- package/lib/components/Transfer.js +2 -3
- package/lib/components/Transfer.js.map +2 -2
- package/lib/components/TransferDropDown.d.ts +85 -84
- package/lib/components/TransferDropDown.js +9 -10
- package/lib/components/TransferDropDown.js.map +2 -2
- package/lib/components/TransferPicker.d.ts +1 -0
- package/lib/components/TransferPicker.js +19 -4
- package/lib/components/TransferPicker.js.map +2 -2
- package/lib/components/Tree.d.ts +84 -84
- package/lib/components/TreeSelection.d.ts +85 -85
- package/lib/components/TreeSelection.js +7 -1
- package/lib/components/TreeSelection.js.map +2 -2
- package/lib/components/calendar/Calendar.d.ts +19 -0
- package/lib/components/calendar/Calendar.js +71 -1
- package/lib/components/calendar/Calendar.js.map +2 -2
- package/lib/components/calendar/DaysView.d.ts +21 -0
- package/lib/components/calendar/DaysView.js +76 -17
- package/lib/components/calendar/DaysView.js.map +2 -2
- package/lib/components/calendar/MonthsView.d.ts +34 -0
- package/lib/components/calendar/MonthsView.js +68 -3
- package/lib/components/calendar/MonthsView.js.map +2 -2
- package/lib/components/calendar/QuartersView.d.ts +1 -0
- package/lib/components/calendar/QuartersView.js +2 -2
- package/lib/components/calendar/QuartersView.js.map +2 -2
- package/lib/components/calendar/TimeView.d.ts +30 -18
- package/lib/components/calendar/TimeView.js +47 -8
- package/lib/components/calendar/TimeView.js.map +2 -2
- package/lib/components/calendar/YearsView.d.ts +6 -0
- package/lib/components/calendar/YearsView.js +21 -10
- package/lib/components/calendar/YearsView.js.map +2 -2
- package/lib/components/condition-builder/Field.js +1 -4
- package/lib/components/condition-builder/Field.js.map +2 -2
- package/lib/components/condition-builder/Func.js +1 -1
- package/lib/components/condition-builder/Func.js.map +2 -2
- package/lib/components/formula/Editor.d.ts +3 -0
- package/lib/components/formula/Editor.js +3 -2
- package/lib/components/formula/Editor.js.map +2 -2
- package/lib/components/formula/FuncList.js +2 -1
- package/lib/components/formula/FuncList.js.map +2 -2
- package/lib/components/formula/Picker.js +1 -1
- package/lib/components/formula/Picker.js.map +2 -2
- package/lib/components/formula/plugin.js +0 -1
- package/lib/components/formula/plugin.js.map +2 -2
- package/lib/components/icons.js +2 -0
- package/lib/components/icons.js.map +2 -2
- package/lib/components/index.d.ts +2 -1
- package/lib/components/index.js +4 -2
- package/lib/components/index.js.map +2 -2
- package/lib/components/virtual-list/SizeAndPositionManager.js.map +2 -2
- package/lib/components/virtual-list/index.js +1 -2
- package/lib/components/virtual-list/index.js.map +2 -2
- package/lib/env.d.ts +4 -0
- package/lib/env.js.map +2 -2
- package/lib/factory.d.ts +2 -1
- package/lib/factory.js +83 -0
- package/lib/factory.js.map +2 -2
- package/lib/helper.css.map +1 -1
- package/lib/icons/tree-down.js +7 -0
- package/lib/index.d.ts +3 -0
- package/lib/index.js +4 -1
- package/lib/index.js.map +2 -2
- package/lib/locale/de-DE.js +17 -2
- package/lib/locale/de-DE.js.map +2 -2
- package/lib/locale/en-US.js +17 -2
- package/lib/locale/en-US.js.map +2 -2
- package/lib/locale/zh-CN.js +16 -1
- package/lib/locale/zh-CN.js.map +2 -2
- package/lib/renderers/Action.d.ts +1 -1
- package/lib/renderers/Action.js +26 -10
- package/lib/renderers/Action.js.map +2 -2
- package/lib/renderers/Avatar.d.ts +35 -26
- package/lib/renderers/Avatar.js +14 -19
- package/lib/renderers/Avatar.js.map +2 -2
- package/lib/renderers/Card.js +6 -5
- package/lib/renderers/Card.js.map +2 -2
- package/lib/renderers/Custom.d.ts +1 -1
- package/lib/renderers/Custom.js +1 -1
- package/lib/renderers/Custom.js.map +2 -2
- package/lib/renderers/DropDownButton.d.ts +11 -2
- package/lib/renderers/DropDownButton.js +30 -12
- package/lib/renderers/DropDownButton.js.map +2 -2
- package/lib/renderers/Each.js +5 -2
- package/lib/renderers/Each.js.map +2 -2
- package/lib/renderers/Flex.js +1 -5
- package/lib/renderers/Flex.js.map +2 -2
- package/lib/renderers/Form/ChartRadios.js.map +2 -2
- package/lib/renderers/Form/Checkboxes.js.map +2 -2
- package/lib/renderers/Form/CityDB.js +526 -2
- package/lib/renderers/Form/CityDB.js.map +2 -2
- package/lib/renderers/Form/DiffEditor.d.ts +6 -0
- package/lib/renderers/Form/DiffEditor.js +2 -1
- package/lib/renderers/Form/DiffEditor.js.map +2 -2
- package/lib/renderers/Form/Editor.d.ts +6 -0
- package/lib/renderers/Form/InputCity.d.ts +85 -84
- package/lib/renderers/Form/InputCity.js +4 -2
- package/lib/renderers/Form/InputCity.js.map +2 -2
- package/lib/renderers/Form/InputColor.d.ts +84 -84
- package/lib/renderers/Form/InputColor.js +6 -2
- package/lib/renderers/Form/InputColor.js.map +2 -2
- package/lib/renderers/Form/InputDate.js +10 -5
- package/lib/renderers/Form/InputDate.js.map +2 -2
- package/lib/renderers/Form/InputDateRange.js +6 -2
- package/lib/renderers/Form/InputDateRange.js.map +2 -2
- package/lib/renderers/Form/InputFormula.d.ts +4 -1
- package/lib/renderers/Form/InputFormula.js +2 -2
- package/lib/renderers/Form/InputFormula.js.map +2 -2
- package/lib/renderers/Form/InputImage.d.ts +1 -0
- package/lib/renderers/Form/InputImage.js +8 -4
- package/lib/renderers/Form/InputImage.js.map +2 -2
- package/lib/renderers/Form/InputMonthRange.js +1 -1
- package/lib/renderers/Form/InputMonthRange.js.map +2 -2
- package/lib/renderers/Form/InputQuarterRange.js +1 -1
- package/lib/renderers/Form/InputQuarterRange.js.map +2 -2
- package/lib/renderers/Form/InputRichText.d.ts +4 -0
- package/lib/renderers/Form/InputRichText.js +2 -1
- package/lib/renderers/Form/InputRichText.js.map +2 -2
- package/lib/renderers/Form/InputYearRange.js +1 -1
- package/lib/renderers/Form/InputYearRange.js.map +2 -2
- package/lib/renderers/Form/Item.d.ts +10 -14
- package/lib/renderers/Form/Item.js +18 -9
- package/lib/renderers/Form/Item.js.map +2 -2
- package/lib/renderers/Form/NestedSelect.d.ts +1 -0
- package/lib/renderers/Form/NestedSelect.js +8 -4
- package/lib/renderers/Form/NestedSelect.js.map +2 -2
- package/lib/renderers/Form/Options.js +9 -7
- package/lib/renderers/Form/Options.js.map +2 -2
- package/lib/renderers/Form/Select.d.ts +2 -0
- package/lib/renderers/Form/Select.js +9 -6
- package/lib/renderers/Form/Select.js.map +2 -2
- package/lib/renderers/Form/TabsTransfer.d.ts +5 -32
- package/lib/renderers/Form/TabsTransfer.js +20 -1
- package/lib/renderers/Form/TabsTransfer.js.map +2 -2
- package/lib/renderers/Form/TabsTransferPicker.d.ts +5 -35
- package/lib/renderers/Form/TabsTransferPicker.js +21 -2
- package/lib/renderers/Form/TabsTransferPicker.js.map +2 -2
- package/lib/renderers/Form/Transfer.d.ts +15 -4
- package/lib/renderers/Form/Transfer.js +55 -18
- package/lib/renderers/Form/Transfer.js.map +2 -2
- package/lib/renderers/Form/TransferPicker.d.ts +3 -32
- package/lib/renderers/Form/TransferPicker.js +1 -1
- package/lib/renderers/Form/TransferPicker.js.map +2 -2
- package/lib/renderers/Form/TreeSelect.js +4 -4
- package/lib/renderers/Form/TreeSelect.js.map +2 -2
- package/lib/renderers/Form/index.js +8 -1
- package/lib/renderers/Form/index.js.map +2 -2
- package/lib/renderers/IFrame.js +0 -2
- package/lib/renderers/IFrame.js.map +2 -2
- package/lib/renderers/Link.d.ts +1 -1
- package/lib/renderers/Link.js +27 -6
- package/lib/renderers/Link.js.map +2 -2
- package/lib/renderers/Log.js +15 -10
- package/lib/renderers/Log.js.map +2 -2
- package/lib/renderers/Nav.d.ts +21 -21
- package/lib/renderers/Remark.d.ts +5 -1
- package/lib/renderers/Remark.js +39 -7
- package/lib/renderers/Remark.js.map +2 -2
- package/lib/renderers/Steps.js +5 -5
- package/lib/renderers/Steps.js.map +2 -2
- package/lib/renderers/Table/index.js +4 -1
- package/lib/renderers/Table/index.js.map +2 -2
- package/lib/renderers/Tabs.js +1 -1
- package/lib/renderers/Tabs.js.map +2 -2
- package/lib/renderers/Timeline.d.ts +65 -0
- package/lib/renderers/Timeline.js +54 -0
- package/lib/renderers/Timeline.js.map +13 -0
- package/lib/renderers/Video.js.map +2 -2
- package/lib/schemaExtend.js +23 -9
- package/lib/schemaExtend.js.map +2 -2
- package/lib/store/combo.js.map +2 -2
- package/lib/store/formItem.js +1 -1
- package/lib/store/formItem.js.map +2 -2
- package/lib/themes/ang-ie11.css +1149 -53
- package/lib/themes/ang.css +1149 -53
- package/lib/themes/ang.css.map +1 -1
- package/lib/themes/antd-ie11.css +1187 -53
- package/lib/themes/antd.css +1187 -53
- package/lib/themes/antd.css.map +1 -1
- package/lib/themes/cxd-ie11.css +1189 -70
- package/lib/themes/cxd.css +1189 -70
- package/lib/themes/cxd.css.map +1 -1
- package/lib/themes/dark-ie11.css +1152 -53
- package/lib/themes/dark.css +1152 -53
- package/lib/themes/dark.css.map +1 -1
- package/lib/themes/default.css +1189 -70
- package/lib/themes/default.css.map +1 -1
- package/lib/utils/RootClose.js +3 -1
- package/lib/utils/RootClose.js.map +2 -2
- package/lib/utils/api.js +14 -3
- package/lib/utils/api.js.map +2 -2
- package/lib/utils/debug.d.ts +26 -0
- package/lib/utils/debug.js +351 -0
- package/lib/utils/debug.js.map +13 -0
- package/lib/utils/helper.d.ts +1 -6
- package/lib/utils/helper.js +6 -17
- package/lib/utils/helper.js.map +2 -2
- package/lib/utils/renderer-event.d.ts +38 -0
- package/lib/utils/renderer-event.js +28 -0
- package/lib/utils/renderer-event.js.map +13 -0
- package/package.json +12 -6
- package/schema.json +3516 -839
- package/scss/_properties.scss +20 -6
- package/scss/_variables.scss +1 -0
- package/scss/components/_avatar.scss +27 -9
- package/scss/components/_calendar.scss +291 -0
- package/scss/components/_card.scss +1 -1
- package/scss/components/_cascader.scss +102 -0
- package/scss/components/_city-area.scss +27 -0
- package/scss/components/_collapse-group.scss +1 -3
- package/scss/components/_debug.scss +167 -0
- package/scss/components/_dropdown.scss +39 -9
- package/scss/components/_formula.scss +30 -6
- package/scss/components/_modal.scss +18 -0
- package/scss/components/_panel.scss +45 -0
- package/scss/components/_picker-columns.scss +15 -5
- package/scss/components/_popup.scss +43 -16
- package/scss/components/_result-box.scss +31 -0
- package/scss/components/_timeline.scss +198 -0
- package/scss/components/form/_checks.scss +2 -0
- package/scss/components/form/_color.scss +2 -2
- package/scss/components/form/_date-range.scss +34 -1
- package/scss/components/form/_date.scss +46 -1
- package/scss/components/form/_form.scss +170 -0
- package/scss/components/form/_nested-select.scss +3 -0
- package/scss/components/form/_result-list.scss +2 -0
- package/scss/components/form/_select.scss +32 -3
- package/scss/components/form/_selection.scss +5 -4
- package/scss/components/form/_transfer.scss +3 -0
- package/scss/components/form/_tree-select.scss +1 -1
- package/scss/themes/_antd-variables.scss +45 -0
- package/scss/themes/_common.scss +5 -0
- package/scss/themes/_cxd-variables.scss +50 -1
- package/scss/themes/_dark-variables.scss +4 -0
- package/scss/themes/cxd.scss +0 -19
- package/sdk/ang-ie11.css +1450 -142
- package/sdk/ang.css +1473 -159
- package/sdk/antd-ie11.css +1451 -142
- package/sdk/antd.css +1511 -159
- package/sdk/charts.js +15 -15
- package/sdk/codemirror.js +7 -7
- package/sdk/color-picker.js +65 -65
- package/sdk/cropperjs.js +2 -2
- package/sdk/cxd-ie11.css +1448 -158
- package/sdk/cxd.css +1513 -178
- package/sdk/dark-ie11.css +1450 -142
- package/sdk/dark.css +1476 -159
- package/sdk/exceljs.js +1 -1
- package/sdk/helper.css.map +1 -1
- package/sdk/locale/de-DE.js +17 -2
- package/sdk/markdown.js +69 -69
- package/sdk/papaparse.js +1 -1
- package/sdk/renderers/Form/CityDB.js +1 -1
- package/sdk/rest.js +18 -18
- package/sdk/rich-text.js +62 -62
- package/sdk/sdk-ie11.css +1448 -158
- package/sdk/sdk.css +1513 -178
- package/sdk/sdk.js +1309 -1251
- package/sdk/thirds/hls.js/hls.js +1 -1
- package/sdk/thirds/mpegts.js/mpegts.js +1 -1
- package/sdk/tinymce.js +57 -57
- package/src/RootRenderer.tsx +27 -1
- package/src/Schema.ts +3 -0
- package/src/SchemaRenderer.tsx +70 -4
- package/src/Scoped.tsx +46 -4
- package/src/actions/Action.ts +138 -0
- package/src/actions/AjaxAction.ts +58 -0
- package/src/actions/BreakAction.ts +27 -0
- package/src/actions/BroadcastAction.ts +41 -0
- package/src/actions/CmptAction.ts +36 -0
- package/src/actions/ContinueAction.ts +27 -0
- package/src/actions/CopyAction.ts +41 -0
- package/src/actions/CustomAction.ts +46 -0
- package/src/actions/DialogAction.ts +28 -0
- package/src/actions/DrawerAction.ts +28 -0
- package/src/actions/EmailAction.ts +38 -0
- package/src/actions/LoopAction.ts +77 -0
- package/src/actions/OpenPageAction.ts +39 -0
- package/src/actions/ParallelAction.ts +26 -0
- package/src/actions/SwitchAction.ts +35 -0
- package/src/actions/index.ts +20 -0
- package/src/components/AssociatedSelection.tsx +5 -1
- package/src/components/Avatar.tsx +253 -0
- package/src/components/BaiduMapPicker.tsx +19 -14
- package/src/components/CalendarMobile.tsx +658 -0
- package/src/components/Cascader.tsx +564 -0
- package/src/components/ChainedSelection.tsx +16 -3
- package/src/components/CityArea.tsx +315 -0
- package/src/components/ColorPicker.tsx +41 -40
- package/src/components/DatePicker.tsx +80 -34
- package/src/components/DateRangePicker.tsx +85 -30
- package/src/components/GroupedSelection.tsx +14 -2
- package/src/components/MonthRangePicker.tsx +78 -31
- package/src/components/Overlay.tsx +1 -1
- package/src/components/Picker.tsx +55 -35
- package/src/components/PickerColumn.tsx +43 -36
- package/src/components/PickerContainer.tsx +13 -1
- package/src/components/PopOverContainer.tsx +31 -17
- package/src/components/PopUp.tsx +84 -57
- package/src/components/ResultBox.tsx +14 -2
- package/src/components/ResultList.tsx +36 -6
- package/src/components/Select.tsx +24 -26
- package/src/components/Selection.tsx +21 -3
- package/src/components/Steps.tsx +23 -10
- package/src/components/TableSelection.tsx +1 -44
- package/src/components/Tabs.tsx +65 -54
- package/src/components/TabsTransfer.tsx +78 -9
- package/src/components/TabsTransferPicker.tsx +25 -13
- package/src/components/Timeline.tsx +36 -0
- package/src/components/TimelineItem.tsx +140 -0
- package/src/components/Transfer.tsx +11 -8
- package/src/components/TransferDropDown.tsx +20 -12
- package/src/components/TransferPicker.tsx +25 -4
- package/src/components/TreeSelection.tsx +7 -1
- package/src/components/calendar/Calendar.tsx +101 -4
- package/src/components/calendar/DaysView.tsx +165 -33
- package/src/components/calendar/MonthsView.tsx +108 -1
- package/src/components/calendar/QuartersView.tsx +3 -2
- package/src/components/calendar/TimeView.tsx +104 -41
- package/src/components/calendar/YearsView.tsx +34 -17
- package/src/components/condition-builder/Field.tsx +1 -3
- package/src/components/condition-builder/Func.tsx +1 -1
- package/src/components/formula/Editor.tsx +16 -11
- package/src/components/formula/FuncList.tsx +3 -1
- package/src/components/formula/Picker.tsx +2 -1
- package/src/components/formula/plugin.ts +0 -2
- package/src/components/icons.tsx +2 -0
- package/src/components/index.tsx +2 -0
- package/src/components/virtual-list/SizeAndPositionManager.ts +6 -3
- package/src/components/virtual-list/index.tsx +4 -6
- package/src/env.tsx +22 -0
- package/src/factory.tsx +93 -1
- package/src/icons/tree-down.svg +5 -0
- package/src/index.tsx +5 -0
- package/src/locale/de-DE.ts +17 -2
- package/src/locale/en-US.ts +17 -2
- package/src/locale/zh-CN.ts +16 -1
- package/src/renderers/Action.tsx +11 -2
- package/src/renderers/Avatar.tsx +83 -74
- package/src/renderers/Card.tsx +10 -6
- package/src/renderers/Custom.tsx +7 -4
- package/src/renderers/DropDownButton.tsx +69 -35
- package/src/renderers/Each.tsx +4 -4
- package/src/renderers/Flex.tsx +3 -7
- package/src/renderers/Form/ChartRadios.tsx +2 -7
- package/src/renderers/Form/Checkboxes.tsx +1 -1
- package/src/renderers/Form/CityDB.ts +526 -2
- package/src/renderers/Form/DiffEditor.tsx +2 -3
- package/src/renderers/Form/InputCity.tsx +23 -3
- package/src/renderers/Form/InputColor.tsx +21 -2
- package/src/renderers/Form/InputDate.tsx +48 -20
- package/src/renderers/Form/InputDateRange.tsx +9 -2
- package/src/renderers/Form/InputFormula.tsx +9 -4
- package/src/renderers/Form/InputImage.tsx +9 -4
- package/src/renderers/Form/InputMonthRange.tsx +0 -1
- package/src/renderers/Form/InputQuarterRange.tsx +0 -1
- package/src/renderers/Form/InputRichText.tsx +11 -1
- package/src/renderers/Form/InputYearRange.tsx +0 -1
- package/src/renderers/Form/Item.tsx +29 -8
- package/src/renderers/Form/NestedSelect.tsx +32 -4
- package/src/renderers/Form/Options.tsx +15 -7
- package/src/renderers/Form/Select.tsx +21 -5
- package/src/renderers/Form/TabsTransfer.tsx +28 -38
- package/src/renderers/Form/TabsTransferPicker.tsx +28 -46
- package/src/renderers/Form/Transfer.tsx +75 -24
- package/src/renderers/Form/TransferPicker.tsx +6 -38
- package/src/renderers/Form/TreeSelect.tsx +18 -16
- package/src/renderers/Form/index.tsx +7 -1
- package/src/renderers/IFrame.tsx +0 -2
- package/src/renderers/Link.tsx +18 -3
- package/src/renderers/Log.tsx +5 -1
- package/src/renderers/Remark.tsx +68 -18
- package/src/renderers/Steps.tsx +11 -13
- package/src/renderers/Table/index.tsx +7 -1
- package/src/renderers/Tabs.tsx +6 -2
- package/src/renderers/Timeline.tsx +141 -0
- package/src/renderers/Video.tsx +4 -20
- package/src/schemaExtend.ts +22 -10
- package/src/store/combo.ts +1 -3
- package/src/store/formItem.ts +1 -1
- package/src/utils/RootClose.ts +5 -1
- package/src/utils/api.ts +15 -2
- package/src/utils/debug.tsx +438 -0
- package/src/utils/helper.ts +6 -16
- package/src/utils/renderer-event.ts +75 -0
@@ -5,41 +5,86 @@
|
|
5
5
|
*/
|
6
6
|
/// <reference types="hoist-non-react-statics" />
|
7
7
|
import React from 'react';
|
8
|
-
import {
|
9
|
-
|
8
|
+
import { ThemeProps } from '../theme';
|
9
|
+
import { LocaleProps } from '../locale';
|
10
|
+
export interface PopUpPorps extends ThemeProps, LocaleProps {
|
11
|
+
title?: string;
|
10
12
|
className?: string;
|
11
13
|
style?: {
|
12
14
|
[styleName: string]: string;
|
13
15
|
};
|
14
16
|
overlay?: boolean;
|
15
17
|
onHide?: () => void;
|
16
|
-
classPrefix: string;
|
17
|
-
classnames: ClassNamesFn;
|
18
|
-
[propName: string]: any;
|
19
18
|
isShow?: boolean;
|
20
19
|
container?: any;
|
21
|
-
|
20
|
+
showConfirm?: boolean;
|
21
|
+
onConfirm?: (value: any) => void;
|
22
|
+
showClose?: boolean;
|
22
23
|
placement?: 'left' | 'center' | 'right';
|
24
|
+
header?: JSX.Element;
|
23
25
|
}
|
24
26
|
export declare class PopUp extends React.PureComponent<PopUpPorps> {
|
27
|
+
scrollTop: number;
|
25
28
|
static defaultProps: {
|
26
29
|
className: string;
|
27
30
|
overlay: boolean;
|
28
31
|
isShow: boolean;
|
29
32
|
container: HTMLElement;
|
30
|
-
|
33
|
+
showClose: boolean;
|
34
|
+
onConfirm: () => void;
|
31
35
|
};
|
32
|
-
|
36
|
+
componentDidUpdate(): void;
|
37
|
+
componentWillUnmount(): void;
|
33
38
|
handleClick(e: React.MouseEvent): void;
|
34
39
|
render(): JSX.Element;
|
35
40
|
}
|
36
41
|
declare const _default: {
|
37
|
-
new (props: (Omit<PopUpPorps, keyof
|
42
|
+
new (props: (Omit<Pick<Omit<PopUpPorps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "style" | "title" | "theme" | "placement" | "onHide" | "showConfirm"> & Partial<Pick<Omit<PopUpPorps, keyof LocaleProps>, "className" | "overlay" | "container" | "onConfirm" | "isShow" | "showClose">> & Partial<Pick<{
|
43
|
+
className: string;
|
44
|
+
overlay: boolean;
|
45
|
+
isShow: boolean;
|
46
|
+
container: HTMLElement;
|
47
|
+
showClose: boolean;
|
48
|
+
onConfirm: () => void;
|
49
|
+
}, never>> & {
|
50
|
+
locale?: string | undefined;
|
51
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
52
|
+
}, keyof ThemeProps> & import("../theme").ThemeOutterProps) | Readonly<Omit<Pick<Omit<PopUpPorps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "style" | "title" | "theme" | "placement" | "onHide" | "showConfirm"> & Partial<Pick<Omit<PopUpPorps, keyof LocaleProps>, "className" | "overlay" | "container" | "onConfirm" | "isShow" | "showClose">> & Partial<Pick<{
|
53
|
+
className: string;
|
54
|
+
overlay: boolean;
|
55
|
+
isShow: boolean;
|
56
|
+
container: HTMLElement;
|
57
|
+
showClose: boolean;
|
58
|
+
onConfirm: () => void;
|
59
|
+
}, never>> & {
|
60
|
+
locale?: string | undefined;
|
61
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
62
|
+
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>): {
|
38
63
|
render(): JSX.Element;
|
39
64
|
context: any;
|
40
|
-
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<PopUpPorps, keyof
|
65
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<PopUpPorps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "style" | "title" | "theme" | "placement" | "onHide" | "showConfirm"> & Partial<Pick<Omit<PopUpPorps, keyof LocaleProps>, "className" | "overlay" | "container" | "onConfirm" | "isShow" | "showClose">> & Partial<Pick<{
|
66
|
+
className: string;
|
67
|
+
overlay: boolean;
|
68
|
+
isShow: boolean;
|
69
|
+
container: HTMLElement;
|
70
|
+
showClose: boolean;
|
71
|
+
onConfirm: () => void;
|
72
|
+
}, never>> & {
|
73
|
+
locale?: string | undefined;
|
74
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
75
|
+
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
41
76
|
forceUpdate(callback?: (() => void) | undefined): void;
|
42
|
-
readonly props: Readonly<Omit<PopUpPorps, keyof
|
77
|
+
readonly props: Readonly<Omit<Pick<Omit<PopUpPorps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "style" | "title" | "theme" | "placement" | "onHide" | "showConfirm"> & Partial<Pick<Omit<PopUpPorps, keyof LocaleProps>, "className" | "overlay" | "container" | "onConfirm" | "isShow" | "showClose">> & Partial<Pick<{
|
78
|
+
className: string;
|
79
|
+
overlay: boolean;
|
80
|
+
isShow: boolean;
|
81
|
+
container: HTMLElement;
|
82
|
+
showClose: boolean;
|
83
|
+
onConfirm: () => void;
|
84
|
+
}, never>> & {
|
85
|
+
locale?: string | undefined;
|
86
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
87
|
+
}, keyof ThemeProps> & import("../theme").ThemeOutterProps> & Readonly<{
|
43
88
|
children?: React.ReactNode;
|
44
89
|
}>;
|
45
90
|
state: Readonly<{}>;
|
@@ -47,24 +92,124 @@ declare const _default: {
|
|
47
92
|
[key: string]: React.ReactInstance;
|
48
93
|
};
|
49
94
|
componentDidMount?(): void;
|
50
|
-
shouldComponentUpdate?(nextProps: Readonly<Omit<PopUpPorps, keyof
|
95
|
+
shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<PopUpPorps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "style" | "title" | "theme" | "placement" | "onHide" | "showConfirm"> & Partial<Pick<Omit<PopUpPorps, keyof LocaleProps>, "className" | "overlay" | "container" | "onConfirm" | "isShow" | "showClose">> & Partial<Pick<{
|
96
|
+
className: string;
|
97
|
+
overlay: boolean;
|
98
|
+
isShow: boolean;
|
99
|
+
container: HTMLElement;
|
100
|
+
showClose: boolean;
|
101
|
+
onConfirm: () => void;
|
102
|
+
}, never>> & {
|
103
|
+
locale?: string | undefined;
|
104
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
105
|
+
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
51
106
|
componentWillUnmount?(): void;
|
52
107
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
53
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<PopUpPorps, keyof
|
54
|
-
|
108
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<PopUpPorps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "style" | "title" | "theme" | "placement" | "onHide" | "showConfirm"> & Partial<Pick<Omit<PopUpPorps, keyof LocaleProps>, "className" | "overlay" | "container" | "onConfirm" | "isShow" | "showClose">> & Partial<Pick<{
|
109
|
+
className: string;
|
110
|
+
overlay: boolean;
|
111
|
+
isShow: boolean;
|
112
|
+
container: HTMLElement;
|
113
|
+
showClose: boolean;
|
114
|
+
onConfirm: () => void;
|
115
|
+
}, never>> & {
|
116
|
+
locale?: string | undefined;
|
117
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
118
|
+
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, prevState: Readonly<{}>): any;
|
119
|
+
componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<PopUpPorps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "style" | "title" | "theme" | "placement" | "onHide" | "showConfirm"> & Partial<Pick<Omit<PopUpPorps, keyof LocaleProps>, "className" | "overlay" | "container" | "onConfirm" | "isShow" | "showClose">> & Partial<Pick<{
|
120
|
+
className: string;
|
121
|
+
overlay: boolean;
|
122
|
+
isShow: boolean;
|
123
|
+
container: HTMLElement;
|
124
|
+
showClose: boolean;
|
125
|
+
onConfirm: () => void;
|
126
|
+
}, never>> & {
|
127
|
+
locale?: string | undefined;
|
128
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
129
|
+
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
55
130
|
componentWillMount?(): void;
|
56
131
|
UNSAFE_componentWillMount?(): void;
|
57
|
-
componentWillReceiveProps?(nextProps: Readonly<Omit<PopUpPorps, keyof
|
58
|
-
|
59
|
-
|
60
|
-
|
132
|
+
componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<PopUpPorps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "style" | "title" | "theme" | "placement" | "onHide" | "showConfirm"> & Partial<Pick<Omit<PopUpPorps, keyof LocaleProps>, "className" | "overlay" | "container" | "onConfirm" | "isShow" | "showClose">> & Partial<Pick<{
|
133
|
+
className: string;
|
134
|
+
overlay: boolean;
|
135
|
+
isShow: boolean;
|
136
|
+
container: HTMLElement;
|
137
|
+
showClose: boolean;
|
138
|
+
onConfirm: () => void;
|
139
|
+
}, never>> & {
|
140
|
+
locale?: string | undefined;
|
141
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
142
|
+
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextContext: any): void;
|
143
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<PopUpPorps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "style" | "title" | "theme" | "placement" | "onHide" | "showConfirm"> & Partial<Pick<Omit<PopUpPorps, keyof LocaleProps>, "className" | "overlay" | "container" | "onConfirm" | "isShow" | "showClose">> & Partial<Pick<{
|
144
|
+
className: string;
|
145
|
+
overlay: boolean;
|
146
|
+
isShow: boolean;
|
147
|
+
container: HTMLElement;
|
148
|
+
showClose: boolean;
|
149
|
+
onConfirm: () => void;
|
150
|
+
}, never>> & {
|
151
|
+
locale?: string | undefined;
|
152
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
153
|
+
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextContext: any): void;
|
154
|
+
componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<PopUpPorps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "style" | "title" | "theme" | "placement" | "onHide" | "showConfirm"> & Partial<Pick<Omit<PopUpPorps, keyof LocaleProps>, "className" | "overlay" | "container" | "onConfirm" | "isShow" | "showClose">> & Partial<Pick<{
|
155
|
+
className: string;
|
156
|
+
overlay: boolean;
|
157
|
+
isShow: boolean;
|
158
|
+
container: HTMLElement;
|
159
|
+
showClose: boolean;
|
160
|
+
onConfirm: () => void;
|
161
|
+
}, never>> & {
|
162
|
+
locale?: string | undefined;
|
163
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
164
|
+
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
165
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<PopUpPorps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "style" | "title" | "theme" | "placement" | "onHide" | "showConfirm"> & Partial<Pick<Omit<PopUpPorps, keyof LocaleProps>, "className" | "overlay" | "container" | "onConfirm" | "isShow" | "showClose">> & Partial<Pick<{
|
166
|
+
className: string;
|
167
|
+
overlay: boolean;
|
168
|
+
isShow: boolean;
|
169
|
+
container: HTMLElement;
|
170
|
+
showClose: boolean;
|
171
|
+
onConfirm: () => void;
|
172
|
+
}, never>> & {
|
173
|
+
locale?: string | undefined;
|
174
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
175
|
+
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
61
176
|
};
|
62
|
-
new (props: Omit<PopUpPorps, keyof
|
177
|
+
new (props: Omit<Pick<Omit<PopUpPorps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "style" | "title" | "theme" | "placement" | "onHide" | "showConfirm"> & Partial<Pick<Omit<PopUpPorps, keyof LocaleProps>, "className" | "overlay" | "container" | "onConfirm" | "isShow" | "showClose">> & Partial<Pick<{
|
178
|
+
className: string;
|
179
|
+
overlay: boolean;
|
180
|
+
isShow: boolean;
|
181
|
+
container: HTMLElement;
|
182
|
+
showClose: boolean;
|
183
|
+
onConfirm: () => void;
|
184
|
+
}, never>> & {
|
185
|
+
locale?: string | undefined;
|
186
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
187
|
+
}, keyof ThemeProps> & import("../theme").ThemeOutterProps, context: any): {
|
63
188
|
render(): JSX.Element;
|
64
189
|
context: any;
|
65
|
-
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<PopUpPorps, keyof
|
190
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<PopUpPorps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "style" | "title" | "theme" | "placement" | "onHide" | "showConfirm"> & Partial<Pick<Omit<PopUpPorps, keyof LocaleProps>, "className" | "overlay" | "container" | "onConfirm" | "isShow" | "showClose">> & Partial<Pick<{
|
191
|
+
className: string;
|
192
|
+
overlay: boolean;
|
193
|
+
isShow: boolean;
|
194
|
+
container: HTMLElement;
|
195
|
+
showClose: boolean;
|
196
|
+
onConfirm: () => void;
|
197
|
+
}, never>> & {
|
198
|
+
locale?: string | undefined;
|
199
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
200
|
+
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
66
201
|
forceUpdate(callback?: (() => void) | undefined): void;
|
67
|
-
readonly props: Readonly<Omit<PopUpPorps, keyof
|
202
|
+
readonly props: Readonly<Omit<Pick<Omit<PopUpPorps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "style" | "title" | "theme" | "placement" | "onHide" | "showConfirm"> & Partial<Pick<Omit<PopUpPorps, keyof LocaleProps>, "className" | "overlay" | "container" | "onConfirm" | "isShow" | "showClose">> & Partial<Pick<{
|
203
|
+
className: string;
|
204
|
+
overlay: boolean;
|
205
|
+
isShow: boolean;
|
206
|
+
container: HTMLElement;
|
207
|
+
showClose: boolean;
|
208
|
+
onConfirm: () => void;
|
209
|
+
}, never>> & {
|
210
|
+
locale?: string | undefined;
|
211
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
212
|
+
}, keyof ThemeProps> & import("../theme").ThemeOutterProps> & Readonly<{
|
68
213
|
children?: React.ReactNode;
|
69
214
|
}>;
|
70
215
|
state: Readonly<{}>;
|
@@ -72,22 +217,890 @@ declare const _default: {
|
|
72
217
|
[key: string]: React.ReactInstance;
|
73
218
|
};
|
74
219
|
componentDidMount?(): void;
|
75
|
-
shouldComponentUpdate?(nextProps: Readonly<Omit<PopUpPorps, keyof
|
220
|
+
shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<PopUpPorps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "style" | "title" | "theme" | "placement" | "onHide" | "showConfirm"> & Partial<Pick<Omit<PopUpPorps, keyof LocaleProps>, "className" | "overlay" | "container" | "onConfirm" | "isShow" | "showClose">> & Partial<Pick<{
|
221
|
+
className: string;
|
222
|
+
overlay: boolean;
|
223
|
+
isShow: boolean;
|
224
|
+
container: HTMLElement;
|
225
|
+
showClose: boolean;
|
226
|
+
onConfirm: () => void;
|
227
|
+
}, never>> & {
|
228
|
+
locale?: string | undefined;
|
229
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
230
|
+
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
76
231
|
componentWillUnmount?(): void;
|
77
232
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
78
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<PopUpPorps, keyof
|
79
|
-
|
233
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<PopUpPorps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "style" | "title" | "theme" | "placement" | "onHide" | "showConfirm"> & Partial<Pick<Omit<PopUpPorps, keyof LocaleProps>, "className" | "overlay" | "container" | "onConfirm" | "isShow" | "showClose">> & Partial<Pick<{
|
234
|
+
className: string;
|
235
|
+
overlay: boolean;
|
236
|
+
isShow: boolean;
|
237
|
+
container: HTMLElement;
|
238
|
+
showClose: boolean;
|
239
|
+
onConfirm: () => void;
|
240
|
+
}, never>> & {
|
241
|
+
locale?: string | undefined;
|
242
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
243
|
+
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, prevState: Readonly<{}>): any;
|
244
|
+
componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<PopUpPorps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "style" | "title" | "theme" | "placement" | "onHide" | "showConfirm"> & Partial<Pick<Omit<PopUpPorps, keyof LocaleProps>, "className" | "overlay" | "container" | "onConfirm" | "isShow" | "showClose">> & Partial<Pick<{
|
245
|
+
className: string;
|
246
|
+
overlay: boolean;
|
247
|
+
isShow: boolean;
|
248
|
+
container: HTMLElement;
|
249
|
+
showClose: boolean;
|
250
|
+
onConfirm: () => void;
|
251
|
+
}, never>> & {
|
252
|
+
locale?: string | undefined;
|
253
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
254
|
+
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
80
255
|
componentWillMount?(): void;
|
81
256
|
UNSAFE_componentWillMount?(): void;
|
82
|
-
componentWillReceiveProps?(nextProps: Readonly<Omit<PopUpPorps, keyof
|
83
|
-
|
84
|
-
|
85
|
-
|
257
|
+
componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<PopUpPorps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "style" | "title" | "theme" | "placement" | "onHide" | "showConfirm"> & Partial<Pick<Omit<PopUpPorps, keyof LocaleProps>, "className" | "overlay" | "container" | "onConfirm" | "isShow" | "showClose">> & Partial<Pick<{
|
258
|
+
className: string;
|
259
|
+
overlay: boolean;
|
260
|
+
isShow: boolean;
|
261
|
+
container: HTMLElement;
|
262
|
+
showClose: boolean;
|
263
|
+
onConfirm: () => void;
|
264
|
+
}, never>> & {
|
265
|
+
locale?: string | undefined;
|
266
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
267
|
+
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextContext: any): void;
|
268
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<PopUpPorps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "style" | "title" | "theme" | "placement" | "onHide" | "showConfirm"> & Partial<Pick<Omit<PopUpPorps, keyof LocaleProps>, "className" | "overlay" | "container" | "onConfirm" | "isShow" | "showClose">> & Partial<Pick<{
|
269
|
+
className: string;
|
270
|
+
overlay: boolean;
|
271
|
+
isShow: boolean;
|
272
|
+
container: HTMLElement;
|
273
|
+
showClose: boolean;
|
274
|
+
onConfirm: () => void;
|
275
|
+
}, never>> & {
|
276
|
+
locale?: string | undefined;
|
277
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
278
|
+
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextContext: any): void;
|
279
|
+
componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<PopUpPorps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "style" | "title" | "theme" | "placement" | "onHide" | "showConfirm"> & Partial<Pick<Omit<PopUpPorps, keyof LocaleProps>, "className" | "overlay" | "container" | "onConfirm" | "isShow" | "showClose">> & Partial<Pick<{
|
280
|
+
className: string;
|
281
|
+
overlay: boolean;
|
282
|
+
isShow: boolean;
|
283
|
+
container: HTMLElement;
|
284
|
+
showClose: boolean;
|
285
|
+
onConfirm: () => void;
|
286
|
+
}, never>> & {
|
287
|
+
locale?: string | undefined;
|
288
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
289
|
+
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
290
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<PopUpPorps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "style" | "title" | "theme" | "placement" | "onHide" | "showConfirm"> & Partial<Pick<Omit<PopUpPorps, keyof LocaleProps>, "className" | "overlay" | "container" | "onConfirm" | "isShow" | "showClose">> & Partial<Pick<{
|
291
|
+
className: string;
|
292
|
+
overlay: boolean;
|
293
|
+
isShow: boolean;
|
294
|
+
container: HTMLElement;
|
295
|
+
showClose: boolean;
|
296
|
+
onConfirm: () => void;
|
297
|
+
}, never>> & {
|
298
|
+
locale?: string | undefined;
|
299
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
300
|
+
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
301
|
+
};
|
302
|
+
displayName: string;
|
303
|
+
contextType: React.Context<string>;
|
304
|
+
ComposedComponent: React.ComponentType<{
|
305
|
+
new (props: (Pick<Omit<PopUpPorps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "style" | "title" | "theme" | "placement" | "onHide" | "showConfirm"> & Partial<Pick<Omit<PopUpPorps, keyof LocaleProps>, "className" | "overlay" | "container" | "onConfirm" | "isShow" | "showClose">> & Partial<Pick<{
|
306
|
+
className: string;
|
307
|
+
overlay: boolean;
|
308
|
+
isShow: boolean;
|
309
|
+
container: HTMLElement;
|
310
|
+
showClose: boolean;
|
311
|
+
onConfirm: () => void;
|
312
|
+
}, never>> & {
|
313
|
+
locale?: string | undefined;
|
314
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
315
|
+
}) | Readonly<Pick<Omit<PopUpPorps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "style" | "title" | "theme" | "placement" | "onHide" | "showConfirm"> & Partial<Pick<Omit<PopUpPorps, keyof LocaleProps>, "className" | "overlay" | "container" | "onConfirm" | "isShow" | "showClose">> & Partial<Pick<{
|
316
|
+
className: string;
|
317
|
+
overlay: boolean;
|
318
|
+
isShow: boolean;
|
319
|
+
container: HTMLElement;
|
320
|
+
showClose: boolean;
|
321
|
+
onConfirm: () => void;
|
322
|
+
}, never>> & {
|
323
|
+
locale?: string | undefined;
|
324
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
325
|
+
}>): {
|
326
|
+
render(): JSX.Element;
|
327
|
+
context: any;
|
328
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<PopUpPorps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "style" | "title" | "theme" | "placement" | "onHide" | "showConfirm"> & Partial<Pick<Omit<PopUpPorps, keyof LocaleProps>, "className" | "overlay" | "container" | "onConfirm" | "isShow" | "showClose">> & Partial<Pick<{
|
329
|
+
className: string;
|
330
|
+
overlay: boolean;
|
331
|
+
isShow: boolean;
|
332
|
+
container: HTMLElement;
|
333
|
+
showClose: boolean;
|
334
|
+
onConfirm: () => void;
|
335
|
+
}, never>> & {
|
336
|
+
locale?: string | undefined;
|
337
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
338
|
+
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
339
|
+
forceUpdate(callback?: (() => void) | undefined): void;
|
340
|
+
readonly props: Readonly<Pick<Omit<PopUpPorps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "style" | "title" | "theme" | "placement" | "onHide" | "showConfirm"> & Partial<Pick<Omit<PopUpPorps, keyof LocaleProps>, "className" | "overlay" | "container" | "onConfirm" | "isShow" | "showClose">> & Partial<Pick<{
|
341
|
+
className: string;
|
342
|
+
overlay: boolean;
|
343
|
+
isShow: boolean;
|
344
|
+
container: HTMLElement;
|
345
|
+
showClose: boolean;
|
346
|
+
onConfirm: () => void;
|
347
|
+
}, never>> & {
|
348
|
+
locale?: string | undefined;
|
349
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
350
|
+
}> & Readonly<{
|
351
|
+
children?: React.ReactNode;
|
352
|
+
}>;
|
353
|
+
state: Readonly<{}>;
|
354
|
+
refs: {
|
355
|
+
[key: string]: React.ReactInstance;
|
356
|
+
};
|
357
|
+
componentDidMount?(): void;
|
358
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<PopUpPorps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "style" | "title" | "theme" | "placement" | "onHide" | "showConfirm"> & Partial<Pick<Omit<PopUpPorps, keyof LocaleProps>, "className" | "overlay" | "container" | "onConfirm" | "isShow" | "showClose">> & Partial<Pick<{
|
359
|
+
className: string;
|
360
|
+
overlay: boolean;
|
361
|
+
isShow: boolean;
|
362
|
+
container: HTMLElement;
|
363
|
+
showClose: boolean;
|
364
|
+
onConfirm: () => void;
|
365
|
+
}, never>> & {
|
366
|
+
locale?: string | undefined;
|
367
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
368
|
+
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
369
|
+
componentWillUnmount?(): void;
|
370
|
+
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
371
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<PopUpPorps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "style" | "title" | "theme" | "placement" | "onHide" | "showConfirm"> & Partial<Pick<Omit<PopUpPorps, keyof LocaleProps>, "className" | "overlay" | "container" | "onConfirm" | "isShow" | "showClose">> & Partial<Pick<{
|
372
|
+
className: string;
|
373
|
+
overlay: boolean;
|
374
|
+
isShow: boolean;
|
375
|
+
container: HTMLElement;
|
376
|
+
showClose: boolean;
|
377
|
+
onConfirm: () => void;
|
378
|
+
}, never>> & {
|
379
|
+
locale?: string | undefined;
|
380
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
381
|
+
}>, prevState: Readonly<{}>): any;
|
382
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<PopUpPorps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "style" | "title" | "theme" | "placement" | "onHide" | "showConfirm"> & Partial<Pick<Omit<PopUpPorps, keyof LocaleProps>, "className" | "overlay" | "container" | "onConfirm" | "isShow" | "showClose">> & Partial<Pick<{
|
383
|
+
className: string;
|
384
|
+
overlay: boolean;
|
385
|
+
isShow: boolean;
|
386
|
+
container: HTMLElement;
|
387
|
+
showClose: boolean;
|
388
|
+
onConfirm: () => void;
|
389
|
+
}, never>> & {
|
390
|
+
locale?: string | undefined;
|
391
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
392
|
+
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
393
|
+
componentWillMount?(): void;
|
394
|
+
UNSAFE_componentWillMount?(): void;
|
395
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<PopUpPorps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "style" | "title" | "theme" | "placement" | "onHide" | "showConfirm"> & Partial<Pick<Omit<PopUpPorps, keyof LocaleProps>, "className" | "overlay" | "container" | "onConfirm" | "isShow" | "showClose">> & Partial<Pick<{
|
396
|
+
className: string;
|
397
|
+
overlay: boolean;
|
398
|
+
isShow: boolean;
|
399
|
+
container: HTMLElement;
|
400
|
+
showClose: boolean;
|
401
|
+
onConfirm: () => void;
|
402
|
+
}, never>> & {
|
403
|
+
locale?: string | undefined;
|
404
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
405
|
+
}>, nextContext: any): void;
|
406
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<PopUpPorps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "style" | "title" | "theme" | "placement" | "onHide" | "showConfirm"> & Partial<Pick<Omit<PopUpPorps, keyof LocaleProps>, "className" | "overlay" | "container" | "onConfirm" | "isShow" | "showClose">> & Partial<Pick<{
|
407
|
+
className: string;
|
408
|
+
overlay: boolean;
|
409
|
+
isShow: boolean;
|
410
|
+
container: HTMLElement;
|
411
|
+
showClose: boolean;
|
412
|
+
onConfirm: () => void;
|
413
|
+
}, never>> & {
|
414
|
+
locale?: string | undefined;
|
415
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
416
|
+
}>, nextContext: any): void;
|
417
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<PopUpPorps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "style" | "title" | "theme" | "placement" | "onHide" | "showConfirm"> & Partial<Pick<Omit<PopUpPorps, keyof LocaleProps>, "className" | "overlay" | "container" | "onConfirm" | "isShow" | "showClose">> & Partial<Pick<{
|
418
|
+
className: string;
|
419
|
+
overlay: boolean;
|
420
|
+
isShow: boolean;
|
421
|
+
container: HTMLElement;
|
422
|
+
showClose: boolean;
|
423
|
+
onConfirm: () => void;
|
424
|
+
}, never>> & {
|
425
|
+
locale?: string | undefined;
|
426
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
427
|
+
}>, nextState: Readonly<{}>, nextContext: any): void;
|
428
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<PopUpPorps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "style" | "title" | "theme" | "placement" | "onHide" | "showConfirm"> & Partial<Pick<Omit<PopUpPorps, keyof LocaleProps>, "className" | "overlay" | "container" | "onConfirm" | "isShow" | "showClose">> & Partial<Pick<{
|
429
|
+
className: string;
|
430
|
+
overlay: boolean;
|
431
|
+
isShow: boolean;
|
432
|
+
container: HTMLElement;
|
433
|
+
showClose: boolean;
|
434
|
+
onConfirm: () => void;
|
435
|
+
}, never>> & {
|
436
|
+
locale?: string | undefined;
|
437
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
438
|
+
}>, nextState: Readonly<{}>, nextContext: any): void;
|
439
|
+
};
|
440
|
+
new (props: Pick<Omit<PopUpPorps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "style" | "title" | "theme" | "placement" | "onHide" | "showConfirm"> & Partial<Pick<Omit<PopUpPorps, keyof LocaleProps>, "className" | "overlay" | "container" | "onConfirm" | "isShow" | "showClose">> & Partial<Pick<{
|
441
|
+
className: string;
|
442
|
+
overlay: boolean;
|
443
|
+
isShow: boolean;
|
444
|
+
container: HTMLElement;
|
445
|
+
showClose: boolean;
|
446
|
+
onConfirm: () => void;
|
447
|
+
}, never>> & {
|
448
|
+
locale?: string | undefined;
|
449
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
450
|
+
}, context: any): {
|
451
|
+
render(): JSX.Element;
|
452
|
+
context: any;
|
453
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<PopUpPorps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "style" | "title" | "theme" | "placement" | "onHide" | "showConfirm"> & Partial<Pick<Omit<PopUpPorps, keyof LocaleProps>, "className" | "overlay" | "container" | "onConfirm" | "isShow" | "showClose">> & Partial<Pick<{
|
454
|
+
className: string;
|
455
|
+
overlay: boolean;
|
456
|
+
isShow: boolean;
|
457
|
+
container: HTMLElement;
|
458
|
+
showClose: boolean;
|
459
|
+
onConfirm: () => void;
|
460
|
+
}, never>> & {
|
461
|
+
locale?: string | undefined;
|
462
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
463
|
+
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
464
|
+
forceUpdate(callback?: (() => void) | undefined): void;
|
465
|
+
readonly props: Readonly<Pick<Omit<PopUpPorps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "style" | "title" | "theme" | "placement" | "onHide" | "showConfirm"> & Partial<Pick<Omit<PopUpPorps, keyof LocaleProps>, "className" | "overlay" | "container" | "onConfirm" | "isShow" | "showClose">> & Partial<Pick<{
|
466
|
+
className: string;
|
467
|
+
overlay: boolean;
|
468
|
+
isShow: boolean;
|
469
|
+
container: HTMLElement;
|
470
|
+
showClose: boolean;
|
471
|
+
onConfirm: () => void;
|
472
|
+
}, never>> & {
|
473
|
+
locale?: string | undefined;
|
474
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
475
|
+
}> & Readonly<{
|
476
|
+
children?: React.ReactNode;
|
477
|
+
}>;
|
478
|
+
state: Readonly<{}>;
|
479
|
+
refs: {
|
480
|
+
[key: string]: React.ReactInstance;
|
481
|
+
};
|
482
|
+
componentDidMount?(): void;
|
483
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<PopUpPorps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "style" | "title" | "theme" | "placement" | "onHide" | "showConfirm"> & Partial<Pick<Omit<PopUpPorps, keyof LocaleProps>, "className" | "overlay" | "container" | "onConfirm" | "isShow" | "showClose">> & Partial<Pick<{
|
484
|
+
className: string;
|
485
|
+
overlay: boolean;
|
486
|
+
isShow: boolean;
|
487
|
+
container: HTMLElement;
|
488
|
+
showClose: boolean;
|
489
|
+
onConfirm: () => void;
|
490
|
+
}, never>> & {
|
491
|
+
locale?: string | undefined;
|
492
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
493
|
+
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
494
|
+
componentWillUnmount?(): void;
|
495
|
+
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
496
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<PopUpPorps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "style" | "title" | "theme" | "placement" | "onHide" | "showConfirm"> & Partial<Pick<Omit<PopUpPorps, keyof LocaleProps>, "className" | "overlay" | "container" | "onConfirm" | "isShow" | "showClose">> & Partial<Pick<{
|
497
|
+
className: string;
|
498
|
+
overlay: boolean;
|
499
|
+
isShow: boolean;
|
500
|
+
container: HTMLElement;
|
501
|
+
showClose: boolean;
|
502
|
+
onConfirm: () => void;
|
503
|
+
}, never>> & {
|
504
|
+
locale?: string | undefined;
|
505
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
506
|
+
}>, prevState: Readonly<{}>): any;
|
507
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<PopUpPorps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "style" | "title" | "theme" | "placement" | "onHide" | "showConfirm"> & Partial<Pick<Omit<PopUpPorps, keyof LocaleProps>, "className" | "overlay" | "container" | "onConfirm" | "isShow" | "showClose">> & Partial<Pick<{
|
508
|
+
className: string;
|
509
|
+
overlay: boolean;
|
510
|
+
isShow: boolean;
|
511
|
+
container: HTMLElement;
|
512
|
+
showClose: boolean;
|
513
|
+
onConfirm: () => void;
|
514
|
+
}, never>> & {
|
515
|
+
locale?: string | undefined;
|
516
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
517
|
+
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
518
|
+
componentWillMount?(): void;
|
519
|
+
UNSAFE_componentWillMount?(): void;
|
520
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<PopUpPorps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "style" | "title" | "theme" | "placement" | "onHide" | "showConfirm"> & Partial<Pick<Omit<PopUpPorps, keyof LocaleProps>, "className" | "overlay" | "container" | "onConfirm" | "isShow" | "showClose">> & Partial<Pick<{
|
521
|
+
className: string;
|
522
|
+
overlay: boolean;
|
523
|
+
isShow: boolean;
|
524
|
+
container: HTMLElement;
|
525
|
+
showClose: boolean;
|
526
|
+
onConfirm: () => void;
|
527
|
+
}, never>> & {
|
528
|
+
locale?: string | undefined;
|
529
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
530
|
+
}>, nextContext: any): void;
|
531
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<PopUpPorps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "style" | "title" | "theme" | "placement" | "onHide" | "showConfirm"> & Partial<Pick<Omit<PopUpPorps, keyof LocaleProps>, "className" | "overlay" | "container" | "onConfirm" | "isShow" | "showClose">> & Partial<Pick<{
|
532
|
+
className: string;
|
533
|
+
overlay: boolean;
|
534
|
+
isShow: boolean;
|
535
|
+
container: HTMLElement;
|
536
|
+
showClose: boolean;
|
537
|
+
onConfirm: () => void;
|
538
|
+
}, never>> & {
|
539
|
+
locale?: string | undefined;
|
540
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
541
|
+
}>, nextContext: any): void;
|
542
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<PopUpPorps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "style" | "title" | "theme" | "placement" | "onHide" | "showConfirm"> & Partial<Pick<Omit<PopUpPorps, keyof LocaleProps>, "className" | "overlay" | "container" | "onConfirm" | "isShow" | "showClose">> & Partial<Pick<{
|
543
|
+
className: string;
|
544
|
+
overlay: boolean;
|
545
|
+
isShow: boolean;
|
546
|
+
container: HTMLElement;
|
547
|
+
showClose: boolean;
|
548
|
+
onConfirm: () => void;
|
549
|
+
}, never>> & {
|
550
|
+
locale?: string | undefined;
|
551
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
552
|
+
}>, nextState: Readonly<{}>, nextContext: any): void;
|
553
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<PopUpPorps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "style" | "title" | "theme" | "placement" | "onHide" | "showConfirm"> & Partial<Pick<Omit<PopUpPorps, keyof LocaleProps>, "className" | "overlay" | "container" | "onConfirm" | "isShow" | "showClose">> & Partial<Pick<{
|
554
|
+
className: string;
|
555
|
+
overlay: boolean;
|
556
|
+
isShow: boolean;
|
557
|
+
container: HTMLElement;
|
558
|
+
showClose: boolean;
|
559
|
+
onConfirm: () => void;
|
560
|
+
}, never>> & {
|
561
|
+
locale?: string | undefined;
|
562
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
563
|
+
}>, nextState: Readonly<{}>, nextContext: any): void;
|
564
|
+
};
|
565
|
+
displayName: string;
|
566
|
+
contextType: React.Context<string>;
|
567
|
+
ComposedComponent: React.ComponentType<typeof PopUp>;
|
568
|
+
} & import("hoist-non-react-statics").NonReactStatics<typeof PopUp, {}> & {
|
569
|
+
ComposedComponent: typeof PopUp;
|
570
|
+
}>;
|
571
|
+
} & import("hoist-non-react-statics").NonReactStatics<{
|
572
|
+
new (props: (Pick<Omit<PopUpPorps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "style" | "title" | "theme" | "placement" | "onHide" | "showConfirm"> & Partial<Pick<Omit<PopUpPorps, keyof LocaleProps>, "className" | "overlay" | "container" | "onConfirm" | "isShow" | "showClose">> & Partial<Pick<{
|
573
|
+
className: string;
|
574
|
+
overlay: boolean;
|
575
|
+
isShow: boolean;
|
576
|
+
container: HTMLElement;
|
577
|
+
showClose: boolean;
|
578
|
+
onConfirm: () => void;
|
579
|
+
}, never>> & {
|
580
|
+
locale?: string | undefined;
|
581
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
582
|
+
}) | Readonly<Pick<Omit<PopUpPorps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "style" | "title" | "theme" | "placement" | "onHide" | "showConfirm"> & Partial<Pick<Omit<PopUpPorps, keyof LocaleProps>, "className" | "overlay" | "container" | "onConfirm" | "isShow" | "showClose">> & Partial<Pick<{
|
583
|
+
className: string;
|
584
|
+
overlay: boolean;
|
585
|
+
isShow: boolean;
|
586
|
+
container: HTMLElement;
|
587
|
+
showClose: boolean;
|
588
|
+
onConfirm: () => void;
|
589
|
+
}, never>> & {
|
590
|
+
locale?: string | undefined;
|
591
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
592
|
+
}>): {
|
593
|
+
render(): JSX.Element;
|
594
|
+
context: any;
|
595
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<PopUpPorps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "style" | "title" | "theme" | "placement" | "onHide" | "showConfirm"> & Partial<Pick<Omit<PopUpPorps, keyof LocaleProps>, "className" | "overlay" | "container" | "onConfirm" | "isShow" | "showClose">> & Partial<Pick<{
|
596
|
+
className: string;
|
597
|
+
overlay: boolean;
|
598
|
+
isShow: boolean;
|
599
|
+
container: HTMLElement;
|
600
|
+
showClose: boolean;
|
601
|
+
onConfirm: () => void;
|
602
|
+
}, never>> & {
|
603
|
+
locale?: string | undefined;
|
604
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
605
|
+
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
606
|
+
forceUpdate(callback?: (() => void) | undefined): void;
|
607
|
+
readonly props: Readonly<Pick<Omit<PopUpPorps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "style" | "title" | "theme" | "placement" | "onHide" | "showConfirm"> & Partial<Pick<Omit<PopUpPorps, keyof LocaleProps>, "className" | "overlay" | "container" | "onConfirm" | "isShow" | "showClose">> & Partial<Pick<{
|
608
|
+
className: string;
|
609
|
+
overlay: boolean;
|
610
|
+
isShow: boolean;
|
611
|
+
container: HTMLElement;
|
612
|
+
showClose: boolean;
|
613
|
+
onConfirm: () => void;
|
614
|
+
}, never>> & {
|
615
|
+
locale?: string | undefined;
|
616
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
617
|
+
}> & Readonly<{
|
618
|
+
children?: React.ReactNode;
|
619
|
+
}>;
|
620
|
+
state: Readonly<{}>;
|
621
|
+
refs: {
|
622
|
+
[key: string]: React.ReactInstance;
|
623
|
+
};
|
624
|
+
componentDidMount?(): void;
|
625
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<PopUpPorps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "style" | "title" | "theme" | "placement" | "onHide" | "showConfirm"> & Partial<Pick<Omit<PopUpPorps, keyof LocaleProps>, "className" | "overlay" | "container" | "onConfirm" | "isShow" | "showClose">> & Partial<Pick<{
|
626
|
+
className: string;
|
627
|
+
overlay: boolean;
|
628
|
+
isShow: boolean;
|
629
|
+
container: HTMLElement;
|
630
|
+
showClose: boolean;
|
631
|
+
onConfirm: () => void;
|
632
|
+
}, never>> & {
|
633
|
+
locale?: string | undefined;
|
634
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
635
|
+
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
636
|
+
componentWillUnmount?(): void;
|
637
|
+
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
638
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<PopUpPorps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "style" | "title" | "theme" | "placement" | "onHide" | "showConfirm"> & Partial<Pick<Omit<PopUpPorps, keyof LocaleProps>, "className" | "overlay" | "container" | "onConfirm" | "isShow" | "showClose">> & Partial<Pick<{
|
639
|
+
className: string;
|
640
|
+
overlay: boolean;
|
641
|
+
isShow: boolean;
|
642
|
+
container: HTMLElement;
|
643
|
+
showClose: boolean;
|
644
|
+
onConfirm: () => void;
|
645
|
+
}, never>> & {
|
646
|
+
locale?: string | undefined;
|
647
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
648
|
+
}>, prevState: Readonly<{}>): any;
|
649
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<PopUpPorps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "style" | "title" | "theme" | "placement" | "onHide" | "showConfirm"> & Partial<Pick<Omit<PopUpPorps, keyof LocaleProps>, "className" | "overlay" | "container" | "onConfirm" | "isShow" | "showClose">> & Partial<Pick<{
|
650
|
+
className: string;
|
651
|
+
overlay: boolean;
|
652
|
+
isShow: boolean;
|
653
|
+
container: HTMLElement;
|
654
|
+
showClose: boolean;
|
655
|
+
onConfirm: () => void;
|
656
|
+
}, never>> & {
|
657
|
+
locale?: string | undefined;
|
658
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
659
|
+
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
660
|
+
componentWillMount?(): void;
|
661
|
+
UNSAFE_componentWillMount?(): void;
|
662
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<PopUpPorps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "style" | "title" | "theme" | "placement" | "onHide" | "showConfirm"> & Partial<Pick<Omit<PopUpPorps, keyof LocaleProps>, "className" | "overlay" | "container" | "onConfirm" | "isShow" | "showClose">> & Partial<Pick<{
|
663
|
+
className: string;
|
664
|
+
overlay: boolean;
|
665
|
+
isShow: boolean;
|
666
|
+
container: HTMLElement;
|
667
|
+
showClose: boolean;
|
668
|
+
onConfirm: () => void;
|
669
|
+
}, never>> & {
|
670
|
+
locale?: string | undefined;
|
671
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
672
|
+
}>, nextContext: any): void;
|
673
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<PopUpPorps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "style" | "title" | "theme" | "placement" | "onHide" | "showConfirm"> & Partial<Pick<Omit<PopUpPorps, keyof LocaleProps>, "className" | "overlay" | "container" | "onConfirm" | "isShow" | "showClose">> & Partial<Pick<{
|
674
|
+
className: string;
|
675
|
+
overlay: boolean;
|
676
|
+
isShow: boolean;
|
677
|
+
container: HTMLElement;
|
678
|
+
showClose: boolean;
|
679
|
+
onConfirm: () => void;
|
680
|
+
}, never>> & {
|
681
|
+
locale?: string | undefined;
|
682
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
683
|
+
}>, nextContext: any): void;
|
684
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<PopUpPorps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "style" | "title" | "theme" | "placement" | "onHide" | "showConfirm"> & Partial<Pick<Omit<PopUpPorps, keyof LocaleProps>, "className" | "overlay" | "container" | "onConfirm" | "isShow" | "showClose">> & Partial<Pick<{
|
685
|
+
className: string;
|
686
|
+
overlay: boolean;
|
687
|
+
isShow: boolean;
|
688
|
+
container: HTMLElement;
|
689
|
+
showClose: boolean;
|
690
|
+
onConfirm: () => void;
|
691
|
+
}, never>> & {
|
692
|
+
locale?: string | undefined;
|
693
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
694
|
+
}>, nextState: Readonly<{}>, nextContext: any): void;
|
695
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<PopUpPorps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "style" | "title" | "theme" | "placement" | "onHide" | "showConfirm"> & Partial<Pick<Omit<PopUpPorps, keyof LocaleProps>, "className" | "overlay" | "container" | "onConfirm" | "isShow" | "showClose">> & Partial<Pick<{
|
696
|
+
className: string;
|
697
|
+
overlay: boolean;
|
698
|
+
isShow: boolean;
|
699
|
+
container: HTMLElement;
|
700
|
+
showClose: boolean;
|
701
|
+
onConfirm: () => void;
|
702
|
+
}, never>> & {
|
703
|
+
locale?: string | undefined;
|
704
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
705
|
+
}>, nextState: Readonly<{}>, nextContext: any): void;
|
706
|
+
};
|
707
|
+
new (props: Pick<Omit<PopUpPorps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "style" | "title" | "theme" | "placement" | "onHide" | "showConfirm"> & Partial<Pick<Omit<PopUpPorps, keyof LocaleProps>, "className" | "overlay" | "container" | "onConfirm" | "isShow" | "showClose">> & Partial<Pick<{
|
708
|
+
className: string;
|
709
|
+
overlay: boolean;
|
710
|
+
isShow: boolean;
|
711
|
+
container: HTMLElement;
|
712
|
+
showClose: boolean;
|
713
|
+
onConfirm: () => void;
|
714
|
+
}, never>> & {
|
715
|
+
locale?: string | undefined;
|
716
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
717
|
+
}, context: any): {
|
718
|
+
render(): JSX.Element;
|
719
|
+
context: any;
|
720
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<PopUpPorps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "style" | "title" | "theme" | "placement" | "onHide" | "showConfirm"> & Partial<Pick<Omit<PopUpPorps, keyof LocaleProps>, "className" | "overlay" | "container" | "onConfirm" | "isShow" | "showClose">> & Partial<Pick<{
|
721
|
+
className: string;
|
722
|
+
overlay: boolean;
|
723
|
+
isShow: boolean;
|
724
|
+
container: HTMLElement;
|
725
|
+
showClose: boolean;
|
726
|
+
onConfirm: () => void;
|
727
|
+
}, never>> & {
|
728
|
+
locale?: string | undefined;
|
729
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
730
|
+
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
731
|
+
forceUpdate(callback?: (() => void) | undefined): void;
|
732
|
+
readonly props: Readonly<Pick<Omit<PopUpPorps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "style" | "title" | "theme" | "placement" | "onHide" | "showConfirm"> & Partial<Pick<Omit<PopUpPorps, keyof LocaleProps>, "className" | "overlay" | "container" | "onConfirm" | "isShow" | "showClose">> & Partial<Pick<{
|
733
|
+
className: string;
|
734
|
+
overlay: boolean;
|
735
|
+
isShow: boolean;
|
736
|
+
container: HTMLElement;
|
737
|
+
showClose: boolean;
|
738
|
+
onConfirm: () => void;
|
739
|
+
}, never>> & {
|
740
|
+
locale?: string | undefined;
|
741
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
742
|
+
}> & Readonly<{
|
743
|
+
children?: React.ReactNode;
|
744
|
+
}>;
|
745
|
+
state: Readonly<{}>;
|
746
|
+
refs: {
|
747
|
+
[key: string]: React.ReactInstance;
|
748
|
+
};
|
749
|
+
componentDidMount?(): void;
|
750
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<PopUpPorps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "style" | "title" | "theme" | "placement" | "onHide" | "showConfirm"> & Partial<Pick<Omit<PopUpPorps, keyof LocaleProps>, "className" | "overlay" | "container" | "onConfirm" | "isShow" | "showClose">> & Partial<Pick<{
|
751
|
+
className: string;
|
752
|
+
overlay: boolean;
|
753
|
+
isShow: boolean;
|
754
|
+
container: HTMLElement;
|
755
|
+
showClose: boolean;
|
756
|
+
onConfirm: () => void;
|
757
|
+
}, never>> & {
|
758
|
+
locale?: string | undefined;
|
759
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
760
|
+
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
761
|
+
componentWillUnmount?(): void;
|
762
|
+
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
763
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<PopUpPorps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "style" | "title" | "theme" | "placement" | "onHide" | "showConfirm"> & Partial<Pick<Omit<PopUpPorps, keyof LocaleProps>, "className" | "overlay" | "container" | "onConfirm" | "isShow" | "showClose">> & Partial<Pick<{
|
764
|
+
className: string;
|
765
|
+
overlay: boolean;
|
766
|
+
isShow: boolean;
|
767
|
+
container: HTMLElement;
|
768
|
+
showClose: boolean;
|
769
|
+
onConfirm: () => void;
|
770
|
+
}, never>> & {
|
771
|
+
locale?: string | undefined;
|
772
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
773
|
+
}>, prevState: Readonly<{}>): any;
|
774
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<PopUpPorps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "style" | "title" | "theme" | "placement" | "onHide" | "showConfirm"> & Partial<Pick<Omit<PopUpPorps, keyof LocaleProps>, "className" | "overlay" | "container" | "onConfirm" | "isShow" | "showClose">> & Partial<Pick<{
|
775
|
+
className: string;
|
776
|
+
overlay: boolean;
|
777
|
+
isShow: boolean;
|
778
|
+
container: HTMLElement;
|
779
|
+
showClose: boolean;
|
780
|
+
onConfirm: () => void;
|
781
|
+
}, never>> & {
|
782
|
+
locale?: string | undefined;
|
783
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
784
|
+
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
785
|
+
componentWillMount?(): void;
|
786
|
+
UNSAFE_componentWillMount?(): void;
|
787
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<PopUpPorps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "style" | "title" | "theme" | "placement" | "onHide" | "showConfirm"> & Partial<Pick<Omit<PopUpPorps, keyof LocaleProps>, "className" | "overlay" | "container" | "onConfirm" | "isShow" | "showClose">> & Partial<Pick<{
|
788
|
+
className: string;
|
789
|
+
overlay: boolean;
|
790
|
+
isShow: boolean;
|
791
|
+
container: HTMLElement;
|
792
|
+
showClose: boolean;
|
793
|
+
onConfirm: () => void;
|
794
|
+
}, never>> & {
|
795
|
+
locale?: string | undefined;
|
796
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
797
|
+
}>, nextContext: any): void;
|
798
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<PopUpPorps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "style" | "title" | "theme" | "placement" | "onHide" | "showConfirm"> & Partial<Pick<Omit<PopUpPorps, keyof LocaleProps>, "className" | "overlay" | "container" | "onConfirm" | "isShow" | "showClose">> & Partial<Pick<{
|
799
|
+
className: string;
|
800
|
+
overlay: boolean;
|
801
|
+
isShow: boolean;
|
802
|
+
container: HTMLElement;
|
803
|
+
showClose: boolean;
|
804
|
+
onConfirm: () => void;
|
805
|
+
}, never>> & {
|
806
|
+
locale?: string | undefined;
|
807
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
808
|
+
}>, nextContext: any): void;
|
809
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<PopUpPorps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "style" | "title" | "theme" | "placement" | "onHide" | "showConfirm"> & Partial<Pick<Omit<PopUpPorps, keyof LocaleProps>, "className" | "overlay" | "container" | "onConfirm" | "isShow" | "showClose">> & Partial<Pick<{
|
810
|
+
className: string;
|
811
|
+
overlay: boolean;
|
812
|
+
isShow: boolean;
|
813
|
+
container: HTMLElement;
|
814
|
+
showClose: boolean;
|
815
|
+
onConfirm: () => void;
|
816
|
+
}, never>> & {
|
817
|
+
locale?: string | undefined;
|
818
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
819
|
+
}>, nextState: Readonly<{}>, nextContext: any): void;
|
820
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<PopUpPorps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "style" | "title" | "theme" | "placement" | "onHide" | "showConfirm"> & Partial<Pick<Omit<PopUpPorps, keyof LocaleProps>, "className" | "overlay" | "container" | "onConfirm" | "isShow" | "showClose">> & Partial<Pick<{
|
821
|
+
className: string;
|
822
|
+
overlay: boolean;
|
823
|
+
isShow: boolean;
|
824
|
+
container: HTMLElement;
|
825
|
+
showClose: boolean;
|
826
|
+
onConfirm: () => void;
|
827
|
+
}, never>> & {
|
828
|
+
locale?: string | undefined;
|
829
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
830
|
+
}>, nextState: Readonly<{}>, nextContext: any): void;
|
86
831
|
};
|
87
832
|
displayName: string;
|
88
833
|
contextType: React.Context<string>;
|
89
834
|
ComposedComponent: React.ComponentType<typeof PopUp>;
|
90
835
|
} & import("hoist-non-react-statics").NonReactStatics<typeof PopUp, {}> & {
|
91
836
|
ComposedComponent: typeof PopUp;
|
837
|
+
}, {}> & {
|
838
|
+
ComposedComponent: {
|
839
|
+
new (props: (Pick<Omit<PopUpPorps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "style" | "title" | "theme" | "placement" | "onHide" | "showConfirm"> & Partial<Pick<Omit<PopUpPorps, keyof LocaleProps>, "className" | "overlay" | "container" | "onConfirm" | "isShow" | "showClose">> & Partial<Pick<{
|
840
|
+
className: string;
|
841
|
+
overlay: boolean;
|
842
|
+
isShow: boolean;
|
843
|
+
container: HTMLElement;
|
844
|
+
showClose: boolean;
|
845
|
+
onConfirm: () => void;
|
846
|
+
}, never>> & {
|
847
|
+
locale?: string | undefined;
|
848
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
849
|
+
}) | Readonly<Pick<Omit<PopUpPorps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "style" | "title" | "theme" | "placement" | "onHide" | "showConfirm"> & Partial<Pick<Omit<PopUpPorps, keyof LocaleProps>, "className" | "overlay" | "container" | "onConfirm" | "isShow" | "showClose">> & Partial<Pick<{
|
850
|
+
className: string;
|
851
|
+
overlay: boolean;
|
852
|
+
isShow: boolean;
|
853
|
+
container: HTMLElement;
|
854
|
+
showClose: boolean;
|
855
|
+
onConfirm: () => void;
|
856
|
+
}, never>> & {
|
857
|
+
locale?: string | undefined;
|
858
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
859
|
+
}>): {
|
860
|
+
render(): JSX.Element;
|
861
|
+
context: any;
|
862
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<PopUpPorps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "style" | "title" | "theme" | "placement" | "onHide" | "showConfirm"> & Partial<Pick<Omit<PopUpPorps, keyof LocaleProps>, "className" | "overlay" | "container" | "onConfirm" | "isShow" | "showClose">> & Partial<Pick<{
|
863
|
+
className: string;
|
864
|
+
overlay: boolean;
|
865
|
+
isShow: boolean;
|
866
|
+
container: HTMLElement;
|
867
|
+
showClose: boolean;
|
868
|
+
onConfirm: () => void;
|
869
|
+
}, never>> & {
|
870
|
+
locale?: string | undefined;
|
871
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
872
|
+
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
873
|
+
forceUpdate(callback?: (() => void) | undefined): void;
|
874
|
+
readonly props: Readonly<Pick<Omit<PopUpPorps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "style" | "title" | "theme" | "placement" | "onHide" | "showConfirm"> & Partial<Pick<Omit<PopUpPorps, keyof LocaleProps>, "className" | "overlay" | "container" | "onConfirm" | "isShow" | "showClose">> & Partial<Pick<{
|
875
|
+
className: string;
|
876
|
+
overlay: boolean;
|
877
|
+
isShow: boolean;
|
878
|
+
container: HTMLElement;
|
879
|
+
showClose: boolean;
|
880
|
+
onConfirm: () => void;
|
881
|
+
}, never>> & {
|
882
|
+
locale?: string | undefined;
|
883
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
884
|
+
}> & Readonly<{
|
885
|
+
children?: React.ReactNode;
|
886
|
+
}>;
|
887
|
+
state: Readonly<{}>;
|
888
|
+
refs: {
|
889
|
+
[key: string]: React.ReactInstance;
|
890
|
+
};
|
891
|
+
componentDidMount?(): void;
|
892
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<PopUpPorps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "style" | "title" | "theme" | "placement" | "onHide" | "showConfirm"> & Partial<Pick<Omit<PopUpPorps, keyof LocaleProps>, "className" | "overlay" | "container" | "onConfirm" | "isShow" | "showClose">> & Partial<Pick<{
|
893
|
+
className: string;
|
894
|
+
overlay: boolean;
|
895
|
+
isShow: boolean;
|
896
|
+
container: HTMLElement;
|
897
|
+
showClose: boolean;
|
898
|
+
onConfirm: () => void;
|
899
|
+
}, never>> & {
|
900
|
+
locale?: string | undefined;
|
901
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
902
|
+
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
903
|
+
componentWillUnmount?(): void;
|
904
|
+
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
905
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<PopUpPorps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "style" | "title" | "theme" | "placement" | "onHide" | "showConfirm"> & Partial<Pick<Omit<PopUpPorps, keyof LocaleProps>, "className" | "overlay" | "container" | "onConfirm" | "isShow" | "showClose">> & Partial<Pick<{
|
906
|
+
className: string;
|
907
|
+
overlay: boolean;
|
908
|
+
isShow: boolean;
|
909
|
+
container: HTMLElement;
|
910
|
+
showClose: boolean;
|
911
|
+
onConfirm: () => void;
|
912
|
+
}, never>> & {
|
913
|
+
locale?: string | undefined;
|
914
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
915
|
+
}>, prevState: Readonly<{}>): any;
|
916
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<PopUpPorps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "style" | "title" | "theme" | "placement" | "onHide" | "showConfirm"> & Partial<Pick<Omit<PopUpPorps, keyof LocaleProps>, "className" | "overlay" | "container" | "onConfirm" | "isShow" | "showClose">> & Partial<Pick<{
|
917
|
+
className: string;
|
918
|
+
overlay: boolean;
|
919
|
+
isShow: boolean;
|
920
|
+
container: HTMLElement;
|
921
|
+
showClose: boolean;
|
922
|
+
onConfirm: () => void;
|
923
|
+
}, never>> & {
|
924
|
+
locale?: string | undefined;
|
925
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
926
|
+
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
927
|
+
componentWillMount?(): void;
|
928
|
+
UNSAFE_componentWillMount?(): void;
|
929
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<PopUpPorps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "style" | "title" | "theme" | "placement" | "onHide" | "showConfirm"> & Partial<Pick<Omit<PopUpPorps, keyof LocaleProps>, "className" | "overlay" | "container" | "onConfirm" | "isShow" | "showClose">> & Partial<Pick<{
|
930
|
+
className: string;
|
931
|
+
overlay: boolean;
|
932
|
+
isShow: boolean;
|
933
|
+
container: HTMLElement;
|
934
|
+
showClose: boolean;
|
935
|
+
onConfirm: () => void;
|
936
|
+
}, never>> & {
|
937
|
+
locale?: string | undefined;
|
938
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
939
|
+
}>, nextContext: any): void;
|
940
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<PopUpPorps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "style" | "title" | "theme" | "placement" | "onHide" | "showConfirm"> & Partial<Pick<Omit<PopUpPorps, keyof LocaleProps>, "className" | "overlay" | "container" | "onConfirm" | "isShow" | "showClose">> & Partial<Pick<{
|
941
|
+
className: string;
|
942
|
+
overlay: boolean;
|
943
|
+
isShow: boolean;
|
944
|
+
container: HTMLElement;
|
945
|
+
showClose: boolean;
|
946
|
+
onConfirm: () => void;
|
947
|
+
}, never>> & {
|
948
|
+
locale?: string | undefined;
|
949
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
950
|
+
}>, nextContext: any): void;
|
951
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<PopUpPorps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "style" | "title" | "theme" | "placement" | "onHide" | "showConfirm"> & Partial<Pick<Omit<PopUpPorps, keyof LocaleProps>, "className" | "overlay" | "container" | "onConfirm" | "isShow" | "showClose">> & Partial<Pick<{
|
952
|
+
className: string;
|
953
|
+
overlay: boolean;
|
954
|
+
isShow: boolean;
|
955
|
+
container: HTMLElement;
|
956
|
+
showClose: boolean;
|
957
|
+
onConfirm: () => void;
|
958
|
+
}, never>> & {
|
959
|
+
locale?: string | undefined;
|
960
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
961
|
+
}>, nextState: Readonly<{}>, nextContext: any): void;
|
962
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<PopUpPorps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "style" | "title" | "theme" | "placement" | "onHide" | "showConfirm"> & Partial<Pick<Omit<PopUpPorps, keyof LocaleProps>, "className" | "overlay" | "container" | "onConfirm" | "isShow" | "showClose">> & Partial<Pick<{
|
963
|
+
className: string;
|
964
|
+
overlay: boolean;
|
965
|
+
isShow: boolean;
|
966
|
+
container: HTMLElement;
|
967
|
+
showClose: boolean;
|
968
|
+
onConfirm: () => void;
|
969
|
+
}, never>> & {
|
970
|
+
locale?: string | undefined;
|
971
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
972
|
+
}>, nextState: Readonly<{}>, nextContext: any): void;
|
973
|
+
};
|
974
|
+
new (props: Pick<Omit<PopUpPorps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "style" | "title" | "theme" | "placement" | "onHide" | "showConfirm"> & Partial<Pick<Omit<PopUpPorps, keyof LocaleProps>, "className" | "overlay" | "container" | "onConfirm" | "isShow" | "showClose">> & Partial<Pick<{
|
975
|
+
className: string;
|
976
|
+
overlay: boolean;
|
977
|
+
isShow: boolean;
|
978
|
+
container: HTMLElement;
|
979
|
+
showClose: boolean;
|
980
|
+
onConfirm: () => void;
|
981
|
+
}, never>> & {
|
982
|
+
locale?: string | undefined;
|
983
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
984
|
+
}, context: any): {
|
985
|
+
render(): JSX.Element;
|
986
|
+
context: any;
|
987
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<PopUpPorps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "style" | "title" | "theme" | "placement" | "onHide" | "showConfirm"> & Partial<Pick<Omit<PopUpPorps, keyof LocaleProps>, "className" | "overlay" | "container" | "onConfirm" | "isShow" | "showClose">> & Partial<Pick<{
|
988
|
+
className: string;
|
989
|
+
overlay: boolean;
|
990
|
+
isShow: boolean;
|
991
|
+
container: HTMLElement;
|
992
|
+
showClose: boolean;
|
993
|
+
onConfirm: () => void;
|
994
|
+
}, never>> & {
|
995
|
+
locale?: string | undefined;
|
996
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
997
|
+
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
998
|
+
forceUpdate(callback?: (() => void) | undefined): void;
|
999
|
+
readonly props: Readonly<Pick<Omit<PopUpPorps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "style" | "title" | "theme" | "placement" | "onHide" | "showConfirm"> & Partial<Pick<Omit<PopUpPorps, keyof LocaleProps>, "className" | "overlay" | "container" | "onConfirm" | "isShow" | "showClose">> & Partial<Pick<{
|
1000
|
+
className: string;
|
1001
|
+
overlay: boolean;
|
1002
|
+
isShow: boolean;
|
1003
|
+
container: HTMLElement;
|
1004
|
+
showClose: boolean;
|
1005
|
+
onConfirm: () => void;
|
1006
|
+
}, never>> & {
|
1007
|
+
locale?: string | undefined;
|
1008
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
1009
|
+
}> & Readonly<{
|
1010
|
+
children?: React.ReactNode;
|
1011
|
+
}>;
|
1012
|
+
state: Readonly<{}>;
|
1013
|
+
refs: {
|
1014
|
+
[key: string]: React.ReactInstance;
|
1015
|
+
};
|
1016
|
+
componentDidMount?(): void;
|
1017
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<PopUpPorps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "style" | "title" | "theme" | "placement" | "onHide" | "showConfirm"> & Partial<Pick<Omit<PopUpPorps, keyof LocaleProps>, "className" | "overlay" | "container" | "onConfirm" | "isShow" | "showClose">> & Partial<Pick<{
|
1018
|
+
className: string;
|
1019
|
+
overlay: boolean;
|
1020
|
+
isShow: boolean;
|
1021
|
+
container: HTMLElement;
|
1022
|
+
showClose: boolean;
|
1023
|
+
onConfirm: () => void;
|
1024
|
+
}, never>> & {
|
1025
|
+
locale?: string | undefined;
|
1026
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
1027
|
+
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
1028
|
+
componentWillUnmount?(): void;
|
1029
|
+
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
1030
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<PopUpPorps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "style" | "title" | "theme" | "placement" | "onHide" | "showConfirm"> & Partial<Pick<Omit<PopUpPorps, keyof LocaleProps>, "className" | "overlay" | "container" | "onConfirm" | "isShow" | "showClose">> & Partial<Pick<{
|
1031
|
+
className: string;
|
1032
|
+
overlay: boolean;
|
1033
|
+
isShow: boolean;
|
1034
|
+
container: HTMLElement;
|
1035
|
+
showClose: boolean;
|
1036
|
+
onConfirm: () => void;
|
1037
|
+
}, never>> & {
|
1038
|
+
locale?: string | undefined;
|
1039
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
1040
|
+
}>, prevState: Readonly<{}>): any;
|
1041
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<PopUpPorps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "style" | "title" | "theme" | "placement" | "onHide" | "showConfirm"> & Partial<Pick<Omit<PopUpPorps, keyof LocaleProps>, "className" | "overlay" | "container" | "onConfirm" | "isShow" | "showClose">> & Partial<Pick<{
|
1042
|
+
className: string;
|
1043
|
+
overlay: boolean;
|
1044
|
+
isShow: boolean;
|
1045
|
+
container: HTMLElement;
|
1046
|
+
showClose: boolean;
|
1047
|
+
onConfirm: () => void;
|
1048
|
+
}, never>> & {
|
1049
|
+
locale?: string | undefined;
|
1050
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
1051
|
+
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
1052
|
+
componentWillMount?(): void;
|
1053
|
+
UNSAFE_componentWillMount?(): void;
|
1054
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<PopUpPorps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "style" | "title" | "theme" | "placement" | "onHide" | "showConfirm"> & Partial<Pick<Omit<PopUpPorps, keyof LocaleProps>, "className" | "overlay" | "container" | "onConfirm" | "isShow" | "showClose">> & Partial<Pick<{
|
1055
|
+
className: string;
|
1056
|
+
overlay: boolean;
|
1057
|
+
isShow: boolean;
|
1058
|
+
container: HTMLElement;
|
1059
|
+
showClose: boolean;
|
1060
|
+
onConfirm: () => void;
|
1061
|
+
}, never>> & {
|
1062
|
+
locale?: string | undefined;
|
1063
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
1064
|
+
}>, nextContext: any): void;
|
1065
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<PopUpPorps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "style" | "title" | "theme" | "placement" | "onHide" | "showConfirm"> & Partial<Pick<Omit<PopUpPorps, keyof LocaleProps>, "className" | "overlay" | "container" | "onConfirm" | "isShow" | "showClose">> & Partial<Pick<{
|
1066
|
+
className: string;
|
1067
|
+
overlay: boolean;
|
1068
|
+
isShow: boolean;
|
1069
|
+
container: HTMLElement;
|
1070
|
+
showClose: boolean;
|
1071
|
+
onConfirm: () => void;
|
1072
|
+
}, never>> & {
|
1073
|
+
locale?: string | undefined;
|
1074
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
1075
|
+
}>, nextContext: any): void;
|
1076
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<PopUpPorps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "style" | "title" | "theme" | "placement" | "onHide" | "showConfirm"> & Partial<Pick<Omit<PopUpPorps, keyof LocaleProps>, "className" | "overlay" | "container" | "onConfirm" | "isShow" | "showClose">> & Partial<Pick<{
|
1077
|
+
className: string;
|
1078
|
+
overlay: boolean;
|
1079
|
+
isShow: boolean;
|
1080
|
+
container: HTMLElement;
|
1081
|
+
showClose: boolean;
|
1082
|
+
onConfirm: () => void;
|
1083
|
+
}, never>> & {
|
1084
|
+
locale?: string | undefined;
|
1085
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
1086
|
+
}>, nextState: Readonly<{}>, nextContext: any): void;
|
1087
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<PopUpPorps, keyof LocaleProps>, "classPrefix" | "classnames" | "header" | "style" | "title" | "theme" | "placement" | "onHide" | "showConfirm"> & Partial<Pick<Omit<PopUpPorps, keyof LocaleProps>, "className" | "overlay" | "container" | "onConfirm" | "isShow" | "showClose">> & Partial<Pick<{
|
1088
|
+
className: string;
|
1089
|
+
overlay: boolean;
|
1090
|
+
isShow: boolean;
|
1091
|
+
container: HTMLElement;
|
1092
|
+
showClose: boolean;
|
1093
|
+
onConfirm: () => void;
|
1094
|
+
}, never>> & {
|
1095
|
+
locale?: string | undefined;
|
1096
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
1097
|
+
}>, nextState: Readonly<{}>, nextContext: any): void;
|
1098
|
+
};
|
1099
|
+
displayName: string;
|
1100
|
+
contextType: React.Context<string>;
|
1101
|
+
ComposedComponent: React.ComponentType<typeof PopUp>;
|
1102
|
+
} & import("hoist-non-react-statics").NonReactStatics<typeof PopUp, {}> & {
|
1103
|
+
ComposedComponent: typeof PopUp;
|
1104
|
+
};
|
92
1105
|
};
|
93
1106
|
export default _default;
|