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