amis 1.4.2-beta.12 → 1.4.2-beta.17
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/lib/Schema.d.ts +4 -3
- package/lib/Schema.js.map +1 -1
- package/lib/components/AssociatedSelection.js +2 -2
- package/lib/components/AssociatedSelection.js.map +2 -2
- package/lib/components/Checkbox.d.ts +20 -20
- package/lib/components/Collapse.d.ts +51 -23
- package/lib/components/Collapse.js +69 -11
- package/lib/components/Collapse.js.map +2 -2
- package/lib/components/CollapseGroup.d.ts +88 -0
- package/lib/components/CollapseGroup.js +81 -0
- package/lib/components/CollapseGroup.js.map +13 -0
- package/lib/components/Editor.d.ts +84 -84
- package/lib/components/GridNav.d.ts +52 -0
- package/lib/components/GridNav.js +123 -0
- package/lib/components/GridNav.js.map +13 -0
- package/lib/components/InputBox.d.ts +22 -21
- package/lib/components/InputBox.js +10 -2
- package/lib/components/InputBox.js.map +2 -2
- package/lib/components/ListGroup.d.ts +21 -21
- package/lib/components/ResultBox.d.ts +84 -84
- package/lib/components/ResultBox.js +10 -2
- package/lib/components/ResultBox.js.map +2 -2
- package/lib/components/Tabs.d.ts +20 -20
- package/lib/components/TabsTransfer.d.ts +84 -84
- package/lib/components/Toast.d.ts +86 -85
- package/lib/components/Toast.js +6 -3
- package/lib/components/Toast.js.map +2 -2
- package/lib/components/Transfer.d.ts +84 -84
- package/lib/components/TransferDropDown.d.ts +85 -84
- package/lib/components/TransferDropDown.js +2 -2
- package/lib/components/TransferDropDown.js.map +2 -2
- package/lib/components/TransferPicker.d.ts +4 -0
- package/lib/components/TransferPicker.js +2 -2
- package/lib/components/TransferPicker.js.map +2 -2
- package/lib/components/Tree.d.ts +115 -84
- package/lib/components/Tree.js +183 -30
- package/lib/components/Tree.js.map +2 -2
- package/lib/components/icons.js +2 -0
- package/lib/components/icons.js.map +2 -2
- package/lib/envOverwrite.d.ts +1 -1
- package/lib/envOverwrite.js +24 -9
- package/lib/envOverwrite.js.map +2 -2
- package/lib/factory.d.ts +11 -1
- package/lib/factory.js +31 -4
- package/lib/factory.js.map +2 -2
- package/lib/icons/download.js +7 -0
- package/lib/icons/drag-bar.js +10 -3
- package/lib/index.d.ts +2 -0
- package/lib/index.js +3 -1
- package/lib/index.js.map +2 -2
- package/lib/locale/en-US.js +1 -0
- package/lib/locale/en-US.js.map +2 -2
- package/lib/locale/zh-CN.js +1 -0
- package/lib/locale/zh-CN.js.map +2 -2
- package/lib/renderers/Collapse.d.ts +25 -20
- package/lib/renderers/Collapse.js +10 -73
- package/lib/renderers/Collapse.js.map +2 -2
- package/lib/renderers/CollapseGroup.d.ts +42 -0
- package/lib/renderers/CollapseGroup.js +33 -0
- package/lib/renderers/CollapseGroup.js.map +13 -0
- package/lib/renderers/Form/InputCity.d.ts +84 -84
- package/lib/renderers/Form/InputFile.d.ts +6 -0
- package/lib/renderers/Form/InputFile.js +18 -4
- package/lib/renderers/Form/InputFile.js.map +2 -2
- package/lib/renderers/Form/Item.js +2 -1
- package/lib/renderers/Form/Item.js.map +2 -2
- package/lib/renderers/Form/Select.d.ts +1 -0
- package/lib/renderers/Form/Select.js +2 -2
- package/lib/renderers/Form/Select.js.map +2 -2
- package/lib/renderers/Form/TransferPicker.d.ts +4 -0
- package/lib/renderers/Form/TransferPicker.js +2 -2
- package/lib/renderers/Form/TransferPicker.js.map +2 -2
- package/lib/renderers/Form/index.js +1 -1
- package/lib/renderers/Form/index.js.map +2 -2
- package/lib/renderers/GridNav.d.ts +99 -0
- package/lib/renderers/GridNav.js +82 -0
- package/lib/renderers/GridNav.js.map +13 -0
- package/lib/store/formItem.js +60 -4
- package/lib/store/formItem.js.map +2 -2
- package/lib/store/table.js +5 -5
- package/lib/store/table.js.map +2 -2
- package/lib/themes/ang-ie11.css +224 -31
- package/lib/themes/ang.css +224 -31
- package/lib/themes/ang.css.map +1 -1
- package/lib/themes/antd-ie11.css +224 -31
- package/lib/themes/antd.css +224 -31
- package/lib/themes/antd.css.map +1 -1
- package/lib/themes/cxd-ie11.css +231 -38
- package/lib/themes/cxd.css +231 -38
- package/lib/themes/cxd.css.map +1 -1
- package/lib/themes/dark-ie11.css +224 -31
- package/lib/themes/dark.css +224 -31
- package/lib/themes/dark.css.map +1 -1
- package/lib/themes/default.css +231 -38
- package/lib/themes/default.css.map +1 -1
- package/lib/types.d.ts +1 -1
- package/lib/types.js.map +1 -1
- package/lib/utils/api.d.ts +1 -0
- package/lib/utils/api.js +77 -6
- package/lib/utils/api.js.map +2 -2
- package/lib/utils/helper.d.ts +6 -0
- package/lib/utils/helper.js +18 -1
- package/lib/utils/helper.js.map +2 -2
- package/package.json +1 -1
- package/schema.json +278 -48
- package/scss/base/_common.scss +3 -0
- package/scss/components/_anchor-nav.scss +1 -0
- package/scss/components/_collapse-group.scss +11 -0
- package/scss/components/_collapse.scss +33 -22
- package/scss/components/_grid-nav.scss +128 -0
- package/scss/components/_input-box.scss +1 -0
- package/scss/components/_nav.scss +1 -1
- package/scss/components/_picker-columns.scss +1 -0
- package/scss/components/_popover.scss +0 -4
- package/scss/components/_result-box.scss +1 -0
- package/scss/components/_spinner.scss +5 -4
- package/scss/components/_table.scss +6 -0
- package/scss/components/form/_combo.scss +4 -0
- package/scss/components/form/_file.scss +11 -0
- package/scss/components/form/_tree.scss +42 -0
- package/scss/themes/_common.scss +3 -0
- package/scss/themes/_cxd-variables.scss +6 -7
- package/scss/themes/cxd.scss +1 -0
- package/sdk/ang-ie11.css +268 -32
- package/sdk/ang.css +263 -31
- package/sdk/antd-ie11.css +268 -32
- package/sdk/antd.css +263 -31
- package/sdk/charts.js +15 -15
- package/sdk/color-picker.js +65 -65
- package/sdk/cropperjs.js +2 -2
- package/sdk/cxd-ie11.css +274 -36
- package/sdk/cxd.css +270 -38
- package/sdk/dark-ie11.css +268 -32
- package/sdk/dark.css +263 -31
- package/sdk/exceljs.js +1 -1
- 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 +274 -36
- package/sdk/sdk.css +270 -38
- package/sdk/sdk.js +1179 -1143
- 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/Schema.ts +5 -1
- package/src/components/AssociatedSelection.tsx +3 -1
- package/src/components/Collapse.tsx +144 -20
- package/src/components/CollapseGroup.tsx +130 -0
- package/src/components/GridNav.tsx +233 -0
- package/src/components/InputBox.tsx +10 -9
- package/src/components/ResultBox.tsx +9 -9
- package/src/components/Toast.tsx +23 -16
- package/src/components/TransferDropDown.tsx +4 -1
- package/src/components/TransferPicker.tsx +7 -0
- package/src/components/Tree.tsx +194 -8
- package/src/components/icons.tsx +2 -0
- package/src/envOverwrite.ts +20 -7
- package/src/factory.tsx +52 -6
- package/src/icons/download.svg +4 -0
- package/src/icons/drag-bar.svg +12 -6
- package/src/index.tsx +2 -0
- package/src/locale/en-US.ts +1 -0
- package/src/locale/zh-CN.ts +1 -0
- package/src/renderers/Collapse.tsx +70 -117
- package/src/renderers/CollapseGroup.tsx +80 -0
- package/src/renderers/Form/InputFile.tsx +36 -4
- package/src/renderers/Form/Item.tsx +2 -1
- package/src/renderers/Form/Select.tsx +6 -2
- package/src/renderers/Form/TransferPicker.tsx +7 -1
- package/src/renderers/Form/index.tsx +1 -2
- package/src/renderers/GridNav.tsx +204 -0
- package/src/store/formItem.ts +116 -3
- package/src/store/table.ts +9 -5
- package/src/types.ts +1 -1
- package/src/utils/api.ts +93 -6
- package/src/utils/helper.ts +19 -0
- package/tsconfig-for-declaration.json +1 -1
@@ -16,6 +16,7 @@ interface ToastComponentProps extends ThemeProps, LocaleProps {
|
|
16
16
|
closeButton: boolean;
|
17
17
|
showIcon?: boolean;
|
18
18
|
timeout: number;
|
19
|
+
errorTimeout: number;
|
19
20
|
className?: string;
|
20
21
|
}
|
21
22
|
interface Item extends Config {
|
@@ -29,7 +30,7 @@ interface ToastComponentState {
|
|
29
30
|
items: Array<Item>;
|
30
31
|
}
|
31
32
|
export declare class ToastComponent extends React.Component<ToastComponentProps, ToastComponentState> {
|
32
|
-
static defaultProps: Pick<ToastComponentProps, 'position' | 'closeButton' | 'timeout'>;
|
33
|
+
static defaultProps: Pick<ToastComponentProps, 'position' | 'closeButton' | 'timeout' | 'errorTimeout'>;
|
33
34
|
static themeKey: string;
|
34
35
|
hasRendered: boolean;
|
35
36
|
state: ToastComponentState;
|
@@ -44,21 +45,21 @@ export declare class ToastComponent extends React.Component<ToastComponentProps,
|
|
44
45
|
render(): JSX.Element[] | null;
|
45
46
|
}
|
46
47
|
declare const _default: {
|
47
|
-
new (props: (Omit<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
|
48
|
+
new (props: (Omit<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
|
48
49
|
locale?: string | undefined;
|
49
50
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
50
|
-
}, keyof ThemeProps> & import("../theme").ThemeOutterProps) | Readonly<Omit<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
|
51
|
+
}, keyof ThemeProps> & import("../theme").ThemeOutterProps) | Readonly<Omit<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
|
51
52
|
locale?: string | undefined;
|
52
53
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
53
54
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>): {
|
54
55
|
render(): JSX.Element;
|
55
56
|
context: any;
|
56
|
-
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
|
57
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
|
57
58
|
locale?: string | undefined;
|
58
59
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
59
60
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
60
61
|
forceUpdate(callback?: (() => void) | undefined): void;
|
61
|
-
readonly props: Readonly<Omit<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
|
62
|
+
readonly props: Readonly<Omit<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
|
62
63
|
locale?: string | undefined;
|
63
64
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
64
65
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps> & Readonly<{
|
@@ -69,51 +70,51 @@ declare const _default: {
|
|
69
70
|
[key: string]: React.ReactInstance;
|
70
71
|
};
|
71
72
|
componentDidMount?(): void;
|
72
|
-
shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
|
73
|
+
shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
|
73
74
|
locale?: string | undefined;
|
74
75
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
75
76
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
76
77
|
componentWillUnmount?(): void;
|
77
78
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
78
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
|
79
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
|
79
80
|
locale?: string | undefined;
|
80
81
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
81
82
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, prevState: Readonly<{}>): any;
|
82
|
-
componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
|
83
|
+
componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
|
83
84
|
locale?: string | undefined;
|
84
85
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
85
86
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
86
87
|
componentWillMount?(): void;
|
87
88
|
UNSAFE_componentWillMount?(): void;
|
88
|
-
componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
|
89
|
+
componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
|
89
90
|
locale?: string | undefined;
|
90
91
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
91
92
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextContext: any): void;
|
92
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
|
93
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
|
93
94
|
locale?: string | undefined;
|
94
95
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
95
96
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextContext: any): void;
|
96
|
-
componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
|
97
|
+
componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
|
97
98
|
locale?: string | undefined;
|
98
99
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
99
100
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
100
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
|
101
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
|
101
102
|
locale?: string | undefined;
|
102
103
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
103
104
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
104
105
|
};
|
105
|
-
new (props: Omit<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
|
106
|
+
new (props: Omit<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
|
106
107
|
locale?: string | undefined;
|
107
108
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
108
109
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps, context: any): {
|
109
110
|
render(): JSX.Element;
|
110
111
|
context: any;
|
111
|
-
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
|
112
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
|
112
113
|
locale?: string | undefined;
|
113
114
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
114
115
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
115
116
|
forceUpdate(callback?: (() => void) | undefined): void;
|
116
|
-
readonly props: Readonly<Omit<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
|
117
|
+
readonly props: Readonly<Omit<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
|
117
118
|
locale?: string | undefined;
|
118
119
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
119
120
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps> & Readonly<{
|
@@ -124,35 +125,35 @@ declare const _default: {
|
|
124
125
|
[key: string]: React.ReactInstance;
|
125
126
|
};
|
126
127
|
componentDidMount?(): void;
|
127
|
-
shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
|
128
|
+
shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
|
128
129
|
locale?: string | undefined;
|
129
130
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
130
131
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
131
132
|
componentWillUnmount?(): void;
|
132
133
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
133
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
|
134
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
|
134
135
|
locale?: string | undefined;
|
135
136
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
136
137
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, prevState: Readonly<{}>): any;
|
137
|
-
componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
|
138
|
+
componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
|
138
139
|
locale?: string | undefined;
|
139
140
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
140
141
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
141
142
|
componentWillMount?(): void;
|
142
143
|
UNSAFE_componentWillMount?(): void;
|
143
|
-
componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
|
144
|
+
componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
|
144
145
|
locale?: string | undefined;
|
145
146
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
146
147
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextContext: any): void;
|
147
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
|
148
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
|
148
149
|
locale?: string | undefined;
|
149
150
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
150
151
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextContext: any): void;
|
151
|
-
componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
|
152
|
+
componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
|
152
153
|
locale?: string | undefined;
|
153
154
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
154
155
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
155
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
|
156
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
|
156
157
|
locale?: string | undefined;
|
157
158
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
158
159
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
@@ -160,21 +161,21 @@ declare const _default: {
|
|
160
161
|
displayName: string;
|
161
162
|
contextType: React.Context<string>;
|
162
163
|
ComposedComponent: React.ComponentType<{
|
163
|
-
new (props: (Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
|
164
|
+
new (props: (Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
|
164
165
|
locale?: string | undefined;
|
165
166
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
166
|
-
}) | Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
|
167
|
+
}) | Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
|
167
168
|
locale?: string | undefined;
|
168
169
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
169
170
|
}>): {
|
170
171
|
render(): JSX.Element;
|
171
172
|
context: any;
|
172
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
|
173
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
|
173
174
|
locale?: string | undefined;
|
174
175
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
175
176
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
176
177
|
forceUpdate(callback?: (() => void) | undefined): void;
|
177
|
-
readonly props: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
|
178
|
+
readonly props: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
|
178
179
|
locale?: string | undefined;
|
179
180
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
180
181
|
}> & Readonly<{
|
@@ -185,51 +186,51 @@ declare const _default: {
|
|
185
186
|
[key: string]: React.ReactInstance;
|
186
187
|
};
|
187
188
|
componentDidMount?(): void;
|
188
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
|
189
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
|
189
190
|
locale?: string | undefined;
|
190
191
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
191
192
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
192
193
|
componentWillUnmount?(): void;
|
193
194
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
194
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
|
195
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
|
195
196
|
locale?: string | undefined;
|
196
197
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
197
198
|
}>, prevState: Readonly<{}>): any;
|
198
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
|
199
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
|
199
200
|
locale?: string | undefined;
|
200
201
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
201
202
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
202
203
|
componentWillMount?(): void;
|
203
204
|
UNSAFE_componentWillMount?(): void;
|
204
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
|
205
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
|
205
206
|
locale?: string | undefined;
|
206
207
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
207
208
|
}>, nextContext: any): void;
|
208
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
|
209
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
|
209
210
|
locale?: string | undefined;
|
210
211
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
211
212
|
}>, nextContext: any): void;
|
212
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
|
213
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
|
213
214
|
locale?: string | undefined;
|
214
215
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
215
216
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
216
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
|
217
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
|
217
218
|
locale?: string | undefined;
|
218
219
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
219
220
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
220
221
|
};
|
221
|
-
new (props: Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
|
222
|
+
new (props: Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
|
222
223
|
locale?: string | undefined;
|
223
224
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
224
225
|
}, context: any): {
|
225
226
|
render(): JSX.Element;
|
226
227
|
context: any;
|
227
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
|
228
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
|
228
229
|
locale?: string | undefined;
|
229
230
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
230
231
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
231
232
|
forceUpdate(callback?: (() => void) | undefined): void;
|
232
|
-
readonly props: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
|
233
|
+
readonly props: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
|
233
234
|
locale?: string | undefined;
|
234
235
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
235
236
|
}> & Readonly<{
|
@@ -240,35 +241,35 @@ declare const _default: {
|
|
240
241
|
[key: string]: React.ReactInstance;
|
241
242
|
};
|
242
243
|
componentDidMount?(): void;
|
243
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
|
244
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
|
244
245
|
locale?: string | undefined;
|
245
246
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
246
247
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
247
248
|
componentWillUnmount?(): void;
|
248
249
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
249
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
|
250
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
|
250
251
|
locale?: string | undefined;
|
251
252
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
252
253
|
}>, prevState: Readonly<{}>): any;
|
253
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
|
254
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
|
254
255
|
locale?: string | undefined;
|
255
256
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
256
257
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
257
258
|
componentWillMount?(): void;
|
258
259
|
UNSAFE_componentWillMount?(): void;
|
259
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
|
260
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
|
260
261
|
locale?: string | undefined;
|
261
262
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
262
263
|
}>, nextContext: any): void;
|
263
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
|
264
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
|
264
265
|
locale?: string | undefined;
|
265
266
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
266
267
|
}>, nextContext: any): void;
|
267
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
|
268
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
|
268
269
|
locale?: string | undefined;
|
269
270
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
270
271
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
271
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
|
272
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
|
272
273
|
locale?: string | undefined;
|
273
274
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
274
275
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
@@ -280,21 +281,21 @@ declare const _default: {
|
|
280
281
|
ComposedComponent: typeof ToastComponent;
|
281
282
|
}>;
|
282
283
|
} & import("hoist-non-react-statics").NonReactStatics<{
|
283
|
-
new (props: (Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
|
284
|
+
new (props: (Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
|
284
285
|
locale?: string | undefined;
|
285
286
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
286
|
-
}) | Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
|
287
|
+
}) | Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
|
287
288
|
locale?: string | undefined;
|
288
289
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
289
290
|
}>): {
|
290
291
|
render(): JSX.Element;
|
291
292
|
context: any;
|
292
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
|
293
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
|
293
294
|
locale?: string | undefined;
|
294
295
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
295
296
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
296
297
|
forceUpdate(callback?: (() => void) | undefined): void;
|
297
|
-
readonly props: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
|
298
|
+
readonly props: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
|
298
299
|
locale?: string | undefined;
|
299
300
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
300
301
|
}> & Readonly<{
|
@@ -305,51 +306,51 @@ declare const _default: {
|
|
305
306
|
[key: string]: React.ReactInstance;
|
306
307
|
};
|
307
308
|
componentDidMount?(): void;
|
308
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
|
309
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
|
309
310
|
locale?: string | undefined;
|
310
311
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
311
312
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
312
313
|
componentWillUnmount?(): void;
|
313
314
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
314
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
|
315
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
|
315
316
|
locale?: string | undefined;
|
316
317
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
317
318
|
}>, prevState: Readonly<{}>): any;
|
318
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
|
319
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
|
319
320
|
locale?: string | undefined;
|
320
321
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
321
322
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
322
323
|
componentWillMount?(): void;
|
323
324
|
UNSAFE_componentWillMount?(): void;
|
324
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
|
325
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
|
325
326
|
locale?: string | undefined;
|
326
327
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
327
328
|
}>, nextContext: any): void;
|
328
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
|
329
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
|
329
330
|
locale?: string | undefined;
|
330
331
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
331
332
|
}>, nextContext: any): void;
|
332
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
|
333
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
|
333
334
|
locale?: string | undefined;
|
334
335
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
335
336
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
336
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
|
337
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
|
337
338
|
locale?: string | undefined;
|
338
339
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
339
340
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
340
341
|
};
|
341
|
-
new (props: Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
|
342
|
+
new (props: Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
|
342
343
|
locale?: string | undefined;
|
343
344
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
344
345
|
}, context: any): {
|
345
346
|
render(): JSX.Element;
|
346
347
|
context: any;
|
347
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
|
348
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
|
348
349
|
locale?: string | undefined;
|
349
350
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
350
351
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
351
352
|
forceUpdate(callback?: (() => void) | undefined): void;
|
352
|
-
readonly props: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
|
353
|
+
readonly props: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
|
353
354
|
locale?: string | undefined;
|
354
355
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
355
356
|
}> & Readonly<{
|
@@ -360,35 +361,35 @@ declare const _default: {
|
|
360
361
|
[key: string]: React.ReactInstance;
|
361
362
|
};
|
362
363
|
componentDidMount?(): void;
|
363
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
|
364
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
|
364
365
|
locale?: string | undefined;
|
365
366
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
366
367
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
367
368
|
componentWillUnmount?(): void;
|
368
369
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
369
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
|
370
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
|
370
371
|
locale?: string | undefined;
|
371
372
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
372
373
|
}>, prevState: Readonly<{}>): any;
|
373
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
|
374
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
|
374
375
|
locale?: string | undefined;
|
375
376
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
376
377
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
377
378
|
componentWillMount?(): void;
|
378
379
|
UNSAFE_componentWillMount?(): void;
|
379
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
|
380
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
|
380
381
|
locale?: string | undefined;
|
381
382
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
382
383
|
}>, nextContext: any): void;
|
383
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
|
384
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
|
384
385
|
locale?: string | undefined;
|
385
386
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
386
387
|
}>, nextContext: any): void;
|
387
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
|
388
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
|
388
389
|
locale?: string | undefined;
|
389
390
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
390
391
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
391
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
|
392
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
|
392
393
|
locale?: string | undefined;
|
393
394
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
394
395
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
@@ -400,21 +401,21 @@ declare const _default: {
|
|
400
401
|
ComposedComponent: typeof ToastComponent;
|
401
402
|
}, {}> & {
|
402
403
|
ComposedComponent: {
|
403
|
-
new (props: (Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
|
404
|
+
new (props: (Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
|
404
405
|
locale?: string | undefined;
|
405
406
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
406
|
-
}) | Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
|
407
|
+
}) | Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
|
407
408
|
locale?: string | undefined;
|
408
409
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
409
410
|
}>): {
|
410
411
|
render(): JSX.Element;
|
411
412
|
context: any;
|
412
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
|
413
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
|
413
414
|
locale?: string | undefined;
|
414
415
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
415
416
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
416
417
|
forceUpdate(callback?: (() => void) | undefined): void;
|
417
|
-
readonly props: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
|
418
|
+
readonly props: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
|
418
419
|
locale?: string | undefined;
|
419
420
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
420
421
|
}> & Readonly<{
|
@@ -425,51 +426,51 @@ declare const _default: {
|
|
425
426
|
[key: string]: React.ReactInstance;
|
426
427
|
};
|
427
428
|
componentDidMount?(): void;
|
428
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
|
429
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
|
429
430
|
locale?: string | undefined;
|
430
431
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
431
432
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
432
433
|
componentWillUnmount?(): void;
|
433
434
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
434
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
|
435
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
|
435
436
|
locale?: string | undefined;
|
436
437
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
437
438
|
}>, prevState: Readonly<{}>): any;
|
438
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
|
439
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
|
439
440
|
locale?: string | undefined;
|
440
441
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
441
442
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
442
443
|
componentWillMount?(): void;
|
443
444
|
UNSAFE_componentWillMount?(): void;
|
444
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
|
445
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
|
445
446
|
locale?: string | undefined;
|
446
447
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
447
448
|
}>, nextContext: any): void;
|
448
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
|
449
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
|
449
450
|
locale?: string | undefined;
|
450
451
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
451
452
|
}>, nextContext: any): void;
|
452
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
|
453
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
|
453
454
|
locale?: string | undefined;
|
454
455
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
455
456
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
456
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
|
457
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
|
457
458
|
locale?: string | undefined;
|
458
459
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
459
460
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
460
461
|
};
|
461
|
-
new (props: Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
|
462
|
+
new (props: Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
|
462
463
|
locale?: string | undefined;
|
463
464
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
464
465
|
}, context: any): {
|
465
466
|
render(): JSX.Element;
|
466
467
|
context: any;
|
467
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
|
468
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
|
468
469
|
locale?: string | undefined;
|
469
470
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
470
471
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
471
472
|
forceUpdate(callback?: (() => void) | undefined): void;
|
472
|
-
readonly props: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
|
473
|
+
readonly props: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
|
473
474
|
locale?: string | undefined;
|
474
475
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
475
476
|
}> & Readonly<{
|
@@ -480,35 +481,35 @@ declare const _default: {
|
|
480
481
|
[key: string]: React.ReactInstance;
|
481
482
|
};
|
482
483
|
componentDidMount?(): void;
|
483
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
|
484
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
|
484
485
|
locale?: string | undefined;
|
485
486
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
486
487
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
487
488
|
componentWillUnmount?(): void;
|
488
489
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
489
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
|
490
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
|
490
491
|
locale?: string | undefined;
|
491
492
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
492
493
|
}>, prevState: Readonly<{}>): any;
|
493
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
|
494
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
|
494
495
|
locale?: string | undefined;
|
495
496
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
496
497
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
497
498
|
componentWillMount?(): void;
|
498
499
|
UNSAFE_componentWillMount?(): void;
|
499
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
|
500
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
|
500
501
|
locale?: string | undefined;
|
501
502
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
502
503
|
}>, nextContext: any): void;
|
503
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
|
504
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
|
504
505
|
locale?: string | undefined;
|
505
506
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
506
507
|
}>, nextContext: any): void;
|
507
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
|
508
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
|
508
509
|
locale?: string | undefined;
|
509
510
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
510
511
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
511
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton">, never>> & {
|
512
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "showIcon"> & Partial<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "position" | "timeout" | "closeButton" | "errorTimeout">> & Partial<Pick<Pick<ToastComponentProps, "position" | "timeout" | "closeButton" | "errorTimeout">, never>> & {
|
512
513
|
locale?: string | undefined;
|
513
514
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
514
515
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|