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
@@ -61,45 +61,45 @@ export declare const alert: (content: string, title?: string) => void;
|
|
61
61
|
export declare const confirm: (content: string, title?: string, confirmText?: string) => Promise<any>;
|
62
62
|
export declare const prompt: (controls: any, defaultvalue?: any, title?: string, confirmText?: string) => Promise<any>;
|
63
63
|
export declare const FinnalAlert: {
|
64
|
-
new (props: (Omit<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> &
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
}
|
64
|
+
new (props: (Omit<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & {
|
65
|
+
title?: string | undefined;
|
66
|
+
confirmText?: string | undefined;
|
67
|
+
cancelText?: string | undefined;
|
68
|
+
confirmBtnLevel?: string | undefined;
|
69
|
+
alertBtnLevel?: string | undefined;
|
70
|
+
} & {} & {
|
71
71
|
locale?: string | undefined;
|
72
72
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
73
|
-
}, keyof ThemeProps> & import("../theme").ThemeOutterProps) | Readonly<Omit<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> &
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
}
|
73
|
+
}, keyof ThemeProps> & import("../theme").ThemeOutterProps) | Readonly<Omit<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & {
|
74
|
+
title?: string | undefined;
|
75
|
+
confirmText?: string | undefined;
|
76
|
+
cancelText?: string | undefined;
|
77
|
+
confirmBtnLevel?: string | undefined;
|
78
|
+
alertBtnLevel?: string | undefined;
|
79
|
+
} & {} & {
|
80
80
|
locale?: string | undefined;
|
81
81
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
82
82
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>): {
|
83
83
|
render(): JSX.Element;
|
84
84
|
context: any;
|
85
|
-
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> &
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
}
|
85
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & {
|
86
|
+
title?: string | undefined;
|
87
|
+
confirmText?: string | undefined;
|
88
|
+
cancelText?: string | undefined;
|
89
|
+
confirmBtnLevel?: string | undefined;
|
90
|
+
alertBtnLevel?: string | undefined;
|
91
|
+
} & {} & {
|
92
92
|
locale?: string | undefined;
|
93
93
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
94
94
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
95
95
|
forceUpdate(callback?: (() => void) | undefined): void;
|
96
|
-
readonly props: Readonly<Omit<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> &
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
}
|
96
|
+
readonly props: Readonly<Omit<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & {
|
97
|
+
title?: string | undefined;
|
98
|
+
confirmText?: string | undefined;
|
99
|
+
cancelText?: string | undefined;
|
100
|
+
confirmBtnLevel?: string | undefined;
|
101
|
+
alertBtnLevel?: string | undefined;
|
102
|
+
} & {} & {
|
103
103
|
locale?: string | undefined;
|
104
104
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
105
105
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps> & Readonly<{
|
@@ -110,111 +110,111 @@ export declare const FinnalAlert: {
|
|
110
110
|
[key: string]: React.ReactInstance;
|
111
111
|
};
|
112
112
|
componentDidMount?(): void;
|
113
|
-
shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> &
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
}
|
113
|
+
shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & {
|
114
|
+
title?: string | undefined;
|
115
|
+
confirmText?: string | undefined;
|
116
|
+
cancelText?: string | undefined;
|
117
|
+
confirmBtnLevel?: string | undefined;
|
118
|
+
alertBtnLevel?: string | undefined;
|
119
|
+
} & {} & {
|
120
120
|
locale?: string | undefined;
|
121
121
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
122
122
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
123
123
|
componentWillUnmount?(): void;
|
124
124
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
125
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> &
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
}
|
125
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & {
|
126
|
+
title?: string | undefined;
|
127
|
+
confirmText?: string | undefined;
|
128
|
+
cancelText?: string | undefined;
|
129
|
+
confirmBtnLevel?: string | undefined;
|
130
|
+
alertBtnLevel?: string | undefined;
|
131
|
+
} & {} & {
|
132
132
|
locale?: string | undefined;
|
133
133
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
134
134
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, prevState: Readonly<{}>): any;
|
135
|
-
componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> &
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
}
|
135
|
+
componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & {
|
136
|
+
title?: string | undefined;
|
137
|
+
confirmText?: string | undefined;
|
138
|
+
cancelText?: string | undefined;
|
139
|
+
confirmBtnLevel?: string | undefined;
|
140
|
+
alertBtnLevel?: string | undefined;
|
141
|
+
} & {} & {
|
142
142
|
locale?: string | undefined;
|
143
143
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
144
144
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
145
145
|
componentWillMount?(): void;
|
146
146
|
UNSAFE_componentWillMount?(): void;
|
147
|
-
componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> &
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
}
|
147
|
+
componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & {
|
148
|
+
title?: string | undefined;
|
149
|
+
confirmText?: string | undefined;
|
150
|
+
cancelText?: string | undefined;
|
151
|
+
confirmBtnLevel?: string | undefined;
|
152
|
+
alertBtnLevel?: string | undefined;
|
153
|
+
} & {} & {
|
154
154
|
locale?: string | undefined;
|
155
155
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
156
156
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextContext: any): void;
|
157
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> &
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
}
|
157
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & {
|
158
|
+
title?: string | undefined;
|
159
|
+
confirmText?: string | undefined;
|
160
|
+
cancelText?: string | undefined;
|
161
|
+
confirmBtnLevel?: string | undefined;
|
162
|
+
alertBtnLevel?: string | undefined;
|
163
|
+
} & {} & {
|
164
164
|
locale?: string | undefined;
|
165
165
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
166
166
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextContext: any): void;
|
167
|
-
componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> &
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
}
|
167
|
+
componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & {
|
168
|
+
title?: string | undefined;
|
169
|
+
confirmText?: string | undefined;
|
170
|
+
cancelText?: string | undefined;
|
171
|
+
confirmBtnLevel?: string | undefined;
|
172
|
+
alertBtnLevel?: string | undefined;
|
173
|
+
} & {} & {
|
174
174
|
locale?: string | undefined;
|
175
175
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
176
176
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
177
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> &
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
}
|
177
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & {
|
178
|
+
title?: string | undefined;
|
179
|
+
confirmText?: string | undefined;
|
180
|
+
cancelText?: string | undefined;
|
181
|
+
confirmBtnLevel?: string | undefined;
|
182
|
+
alertBtnLevel?: string | undefined;
|
183
|
+
} & {} & {
|
184
184
|
locale?: string | undefined;
|
185
185
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
186
186
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
187
187
|
};
|
188
|
-
new (props: Omit<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> &
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
}
|
188
|
+
new (props: Omit<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & {
|
189
|
+
title?: string | undefined;
|
190
|
+
confirmText?: string | undefined;
|
191
|
+
cancelText?: string | undefined;
|
192
|
+
confirmBtnLevel?: string | undefined;
|
193
|
+
alertBtnLevel?: string | undefined;
|
194
|
+
} & {} & {
|
195
195
|
locale?: string | undefined;
|
196
196
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
197
197
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps, context: any): {
|
198
198
|
render(): JSX.Element;
|
199
199
|
context: any;
|
200
|
-
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> &
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
}
|
200
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & {
|
201
|
+
title?: string | undefined;
|
202
|
+
confirmText?: string | undefined;
|
203
|
+
cancelText?: string | undefined;
|
204
|
+
confirmBtnLevel?: string | undefined;
|
205
|
+
alertBtnLevel?: string | undefined;
|
206
|
+
} & {} & {
|
207
207
|
locale?: string | undefined;
|
208
208
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
209
209
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
210
210
|
forceUpdate(callback?: (() => void) | undefined): void;
|
211
|
-
readonly props: Readonly<Omit<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> &
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
}
|
211
|
+
readonly props: Readonly<Omit<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & {
|
212
|
+
title?: string | undefined;
|
213
|
+
confirmText?: string | undefined;
|
214
|
+
cancelText?: string | undefined;
|
215
|
+
confirmBtnLevel?: string | undefined;
|
216
|
+
alertBtnLevel?: string | undefined;
|
217
|
+
} & {} & {
|
218
218
|
locale?: string | undefined;
|
219
219
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
220
220
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps> & Readonly<{
|
@@ -225,77 +225,77 @@ export declare const FinnalAlert: {
|
|
225
225
|
[key: string]: React.ReactInstance;
|
226
226
|
};
|
227
227
|
componentDidMount?(): void;
|
228
|
-
shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> &
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
}
|
228
|
+
shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & {
|
229
|
+
title?: string | undefined;
|
230
|
+
confirmText?: string | undefined;
|
231
|
+
cancelText?: string | undefined;
|
232
|
+
confirmBtnLevel?: string | undefined;
|
233
|
+
alertBtnLevel?: string | undefined;
|
234
|
+
} & {} & {
|
235
235
|
locale?: string | undefined;
|
236
236
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
237
237
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
238
238
|
componentWillUnmount?(): void;
|
239
239
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
240
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> &
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
}
|
240
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & {
|
241
|
+
title?: string | undefined;
|
242
|
+
confirmText?: string | undefined;
|
243
|
+
cancelText?: string | undefined;
|
244
|
+
confirmBtnLevel?: string | undefined;
|
245
|
+
alertBtnLevel?: string | undefined;
|
246
|
+
} & {} & {
|
247
247
|
locale?: string | undefined;
|
248
248
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
249
249
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, prevState: Readonly<{}>): any;
|
250
|
-
componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> &
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
}
|
250
|
+
componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & {
|
251
|
+
title?: string | undefined;
|
252
|
+
confirmText?: string | undefined;
|
253
|
+
cancelText?: string | undefined;
|
254
|
+
confirmBtnLevel?: string | undefined;
|
255
|
+
alertBtnLevel?: string | undefined;
|
256
|
+
} & {} & {
|
257
257
|
locale?: string | undefined;
|
258
258
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
259
259
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
260
260
|
componentWillMount?(): void;
|
261
261
|
UNSAFE_componentWillMount?(): void;
|
262
|
-
componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> &
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
}
|
262
|
+
componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & {
|
263
|
+
title?: string | undefined;
|
264
|
+
confirmText?: string | undefined;
|
265
|
+
cancelText?: string | undefined;
|
266
|
+
confirmBtnLevel?: string | undefined;
|
267
|
+
alertBtnLevel?: string | undefined;
|
268
|
+
} & {} & {
|
269
269
|
locale?: string | undefined;
|
270
270
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
271
271
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextContext: any): void;
|
272
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> &
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
}
|
272
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & {
|
273
|
+
title?: string | undefined;
|
274
|
+
confirmText?: string | undefined;
|
275
|
+
cancelText?: string | undefined;
|
276
|
+
confirmBtnLevel?: string | undefined;
|
277
|
+
alertBtnLevel?: string | undefined;
|
278
|
+
} & {} & {
|
279
279
|
locale?: string | undefined;
|
280
280
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
281
281
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextContext: any): void;
|
282
|
-
componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> &
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
}
|
282
|
+
componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & {
|
283
|
+
title?: string | undefined;
|
284
|
+
confirmText?: string | undefined;
|
285
|
+
cancelText?: string | undefined;
|
286
|
+
confirmBtnLevel?: string | undefined;
|
287
|
+
alertBtnLevel?: string | undefined;
|
288
|
+
} & {} & {
|
289
289
|
locale?: string | undefined;
|
290
290
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
291
291
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
292
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> &
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
}
|
292
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & {
|
293
|
+
title?: string | undefined;
|
294
|
+
confirmText?: string | undefined;
|
295
|
+
cancelText?: string | undefined;
|
296
|
+
confirmBtnLevel?: string | undefined;
|
297
|
+
alertBtnLevel?: string | undefined;
|
298
|
+
} & {} & {
|
299
299
|
locale?: string | undefined;
|
300
300
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
301
301
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
@@ -303,45 +303,45 @@ export declare const FinnalAlert: {
|
|
303
303
|
displayName: string;
|
304
304
|
contextType: React.Context<string>;
|
305
305
|
ComposedComponent: React.ComponentType<{
|
306
|
-
new (props: (Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> &
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
}
|
306
|
+
new (props: (Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & {
|
307
|
+
title?: string | undefined;
|
308
|
+
confirmText?: string | undefined;
|
309
|
+
cancelText?: string | undefined;
|
310
|
+
confirmBtnLevel?: string | undefined;
|
311
|
+
alertBtnLevel?: string | undefined;
|
312
|
+
} & {} & {
|
313
313
|
locale?: string | undefined;
|
314
314
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
315
|
-
}) | Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> &
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
}
|
315
|
+
}) | Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & {
|
316
|
+
title?: string | undefined;
|
317
|
+
confirmText?: string | undefined;
|
318
|
+
cancelText?: string | undefined;
|
319
|
+
confirmBtnLevel?: string | undefined;
|
320
|
+
alertBtnLevel?: string | undefined;
|
321
|
+
} & {} & {
|
322
322
|
locale?: string | undefined;
|
323
323
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
324
324
|
}>): {
|
325
325
|
render(): JSX.Element;
|
326
326
|
context: any;
|
327
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> &
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
|
332
|
-
|
333
|
-
}
|
327
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & {
|
328
|
+
title?: string | undefined;
|
329
|
+
confirmText?: string | undefined;
|
330
|
+
cancelText?: string | undefined;
|
331
|
+
confirmBtnLevel?: string | undefined;
|
332
|
+
alertBtnLevel?: string | undefined;
|
333
|
+
} & {} & {
|
334
334
|
locale?: string | undefined;
|
335
335
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
336
336
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
337
337
|
forceUpdate(callback?: (() => void) | undefined): void;
|
338
|
-
readonly props: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> &
|
339
|
-
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
}
|
338
|
+
readonly props: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & {
|
339
|
+
title?: string | undefined;
|
340
|
+
confirmText?: string | undefined;
|
341
|
+
cancelText?: string | undefined;
|
342
|
+
confirmBtnLevel?: string | undefined;
|
343
|
+
alertBtnLevel?: string | undefined;
|
344
|
+
} & {} & {
|
345
345
|
locale?: string | undefined;
|
346
346
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
347
347
|
}> & Readonly<{
|
@@ -352,111 +352,111 @@ export declare const FinnalAlert: {
|
|
352
352
|
[key: string]: React.ReactInstance;
|
353
353
|
};
|
354
354
|
componentDidMount?(): void;
|
355
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> &
|
356
|
-
|
357
|
-
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
}
|
355
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & {
|
356
|
+
title?: string | undefined;
|
357
|
+
confirmText?: string | undefined;
|
358
|
+
cancelText?: string | undefined;
|
359
|
+
confirmBtnLevel?: string | undefined;
|
360
|
+
alertBtnLevel?: string | undefined;
|
361
|
+
} & {} & {
|
362
362
|
locale?: string | undefined;
|
363
363
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
364
364
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
365
365
|
componentWillUnmount?(): void;
|
366
366
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
367
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> &
|
368
|
-
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
}
|
367
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & {
|
368
|
+
title?: string | undefined;
|
369
|
+
confirmText?: string | undefined;
|
370
|
+
cancelText?: string | undefined;
|
371
|
+
confirmBtnLevel?: string | undefined;
|
372
|
+
alertBtnLevel?: string | undefined;
|
373
|
+
} & {} & {
|
374
374
|
locale?: string | undefined;
|
375
375
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
376
376
|
}>, prevState: Readonly<{}>): any;
|
377
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> &
|
378
|
-
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
}
|
377
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & {
|
378
|
+
title?: string | undefined;
|
379
|
+
confirmText?: string | undefined;
|
380
|
+
cancelText?: string | undefined;
|
381
|
+
confirmBtnLevel?: string | undefined;
|
382
|
+
alertBtnLevel?: string | undefined;
|
383
|
+
} & {} & {
|
384
384
|
locale?: string | undefined;
|
385
385
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
386
386
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
387
387
|
componentWillMount?(): void;
|
388
388
|
UNSAFE_componentWillMount?(): void;
|
389
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> &
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
}
|
389
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & {
|
390
|
+
title?: string | undefined;
|
391
|
+
confirmText?: string | undefined;
|
392
|
+
cancelText?: string | undefined;
|
393
|
+
confirmBtnLevel?: string | undefined;
|
394
|
+
alertBtnLevel?: string | undefined;
|
395
|
+
} & {} & {
|
396
396
|
locale?: string | undefined;
|
397
397
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
398
398
|
}>, nextContext: any): void;
|
399
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> &
|
400
|
-
|
401
|
-
|
402
|
-
|
403
|
-
|
404
|
-
|
405
|
-
}
|
399
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & {
|
400
|
+
title?: string | undefined;
|
401
|
+
confirmText?: string | undefined;
|
402
|
+
cancelText?: string | undefined;
|
403
|
+
confirmBtnLevel?: string | undefined;
|
404
|
+
alertBtnLevel?: string | undefined;
|
405
|
+
} & {} & {
|
406
406
|
locale?: string | undefined;
|
407
407
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
408
408
|
}>, nextContext: any): void;
|
409
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> &
|
410
|
-
|
411
|
-
|
412
|
-
|
413
|
-
|
414
|
-
|
415
|
-
}
|
409
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & {
|
410
|
+
title?: string | undefined;
|
411
|
+
confirmText?: string | undefined;
|
412
|
+
cancelText?: string | undefined;
|
413
|
+
confirmBtnLevel?: string | undefined;
|
414
|
+
alertBtnLevel?: string | undefined;
|
415
|
+
} & {} & {
|
416
416
|
locale?: string | undefined;
|
417
417
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
418
418
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
419
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> &
|
420
|
-
|
421
|
-
|
422
|
-
|
423
|
-
|
424
|
-
|
425
|
-
}
|
419
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & {
|
420
|
+
title?: string | undefined;
|
421
|
+
confirmText?: string | undefined;
|
422
|
+
cancelText?: string | undefined;
|
423
|
+
confirmBtnLevel?: string | undefined;
|
424
|
+
alertBtnLevel?: string | undefined;
|
425
|
+
} & {} & {
|
426
426
|
locale?: string | undefined;
|
427
427
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
428
428
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
429
429
|
};
|
430
|
-
new (props: Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> &
|
431
|
-
|
432
|
-
|
433
|
-
|
434
|
-
|
435
|
-
|
436
|
-
}
|
430
|
+
new (props: Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & {
|
431
|
+
title?: string | undefined;
|
432
|
+
confirmText?: string | undefined;
|
433
|
+
cancelText?: string | undefined;
|
434
|
+
confirmBtnLevel?: string | undefined;
|
435
|
+
alertBtnLevel?: string | undefined;
|
436
|
+
} & {} & {
|
437
437
|
locale?: string | undefined;
|
438
438
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
439
439
|
}, context: any): {
|
440
440
|
render(): JSX.Element;
|
441
441
|
context: any;
|
442
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> &
|
443
|
-
|
444
|
-
|
445
|
-
|
446
|
-
|
447
|
-
|
448
|
-
}
|
442
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & {
|
443
|
+
title?: string | undefined;
|
444
|
+
confirmText?: string | undefined;
|
445
|
+
cancelText?: string | undefined;
|
446
|
+
confirmBtnLevel?: string | undefined;
|
447
|
+
alertBtnLevel?: string | undefined;
|
448
|
+
} & {} & {
|
449
449
|
locale?: string | undefined;
|
450
450
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
451
451
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
452
452
|
forceUpdate(callback?: (() => void) | undefined): void;
|
453
|
-
readonly props: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> &
|
454
|
-
|
455
|
-
|
456
|
-
|
457
|
-
|
458
|
-
|
459
|
-
}
|
453
|
+
readonly props: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & {
|
454
|
+
title?: string | undefined;
|
455
|
+
confirmText?: string | undefined;
|
456
|
+
cancelText?: string | undefined;
|
457
|
+
confirmBtnLevel?: string | undefined;
|
458
|
+
alertBtnLevel?: string | undefined;
|
459
|
+
} & {} & {
|
460
460
|
locale?: string | undefined;
|
461
461
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
462
462
|
}> & Readonly<{
|
@@ -467,77 +467,77 @@ export declare const FinnalAlert: {
|
|
467
467
|
[key: string]: React.ReactInstance;
|
468
468
|
};
|
469
469
|
componentDidMount?(): void;
|
470
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> &
|
471
|
-
|
472
|
-
|
473
|
-
|
474
|
-
|
475
|
-
|
476
|
-
}
|
470
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & {
|
471
|
+
title?: string | undefined;
|
472
|
+
confirmText?: string | undefined;
|
473
|
+
cancelText?: string | undefined;
|
474
|
+
confirmBtnLevel?: string | undefined;
|
475
|
+
alertBtnLevel?: string | undefined;
|
476
|
+
} & {} & {
|
477
477
|
locale?: string | undefined;
|
478
478
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
479
479
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
480
480
|
componentWillUnmount?(): void;
|
481
481
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
482
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> &
|
483
|
-
|
484
|
-
|
485
|
-
|
486
|
-
|
487
|
-
|
488
|
-
}
|
482
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & {
|
483
|
+
title?: string | undefined;
|
484
|
+
confirmText?: string | undefined;
|
485
|
+
cancelText?: string | undefined;
|
486
|
+
confirmBtnLevel?: string | undefined;
|
487
|
+
alertBtnLevel?: string | undefined;
|
488
|
+
} & {} & {
|
489
489
|
locale?: string | undefined;
|
490
490
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
491
491
|
}>, prevState: Readonly<{}>): any;
|
492
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> &
|
493
|
-
|
494
|
-
|
495
|
-
|
496
|
-
|
497
|
-
|
498
|
-
}
|
492
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & {
|
493
|
+
title?: string | undefined;
|
494
|
+
confirmText?: string | undefined;
|
495
|
+
cancelText?: string | undefined;
|
496
|
+
confirmBtnLevel?: string | undefined;
|
497
|
+
alertBtnLevel?: string | undefined;
|
498
|
+
} & {} & {
|
499
499
|
locale?: string | undefined;
|
500
500
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
501
501
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
502
502
|
componentWillMount?(): void;
|
503
503
|
UNSAFE_componentWillMount?(): void;
|
504
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> &
|
505
|
-
|
506
|
-
|
507
|
-
|
508
|
-
|
509
|
-
|
510
|
-
}
|
504
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & {
|
505
|
+
title?: string | undefined;
|
506
|
+
confirmText?: string | undefined;
|
507
|
+
cancelText?: string | undefined;
|
508
|
+
confirmBtnLevel?: string | undefined;
|
509
|
+
alertBtnLevel?: string | undefined;
|
510
|
+
} & {} & {
|
511
511
|
locale?: string | undefined;
|
512
512
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
513
513
|
}>, nextContext: any): void;
|
514
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> &
|
515
|
-
|
516
|
-
|
517
|
-
|
518
|
-
|
519
|
-
|
520
|
-
}
|
514
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & {
|
515
|
+
title?: string | undefined;
|
516
|
+
confirmText?: string | undefined;
|
517
|
+
cancelText?: string | undefined;
|
518
|
+
confirmBtnLevel?: string | undefined;
|
519
|
+
alertBtnLevel?: string | undefined;
|
520
|
+
} & {} & {
|
521
521
|
locale?: string | undefined;
|
522
522
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
523
523
|
}>, nextContext: any): void;
|
524
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> &
|
525
|
-
|
526
|
-
|
527
|
-
|
528
|
-
|
529
|
-
|
530
|
-
}
|
524
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & {
|
525
|
+
title?: string | undefined;
|
526
|
+
confirmText?: string | undefined;
|
527
|
+
cancelText?: string | undefined;
|
528
|
+
confirmBtnLevel?: string | undefined;
|
529
|
+
alertBtnLevel?: string | undefined;
|
530
|
+
} & {} & {
|
531
531
|
locale?: string | undefined;
|
532
532
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
533
533
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
534
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> &
|
535
|
-
|
536
|
-
|
537
|
-
|
538
|
-
|
539
|
-
|
540
|
-
}
|
534
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & {
|
535
|
+
title?: string | undefined;
|
536
|
+
confirmText?: string | undefined;
|
537
|
+
cancelText?: string | undefined;
|
538
|
+
confirmBtnLevel?: string | undefined;
|
539
|
+
alertBtnLevel?: string | undefined;
|
540
|
+
} & {} & {
|
541
541
|
locale?: string | undefined;
|
542
542
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
543
543
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
@@ -549,45 +549,45 @@ export declare const FinnalAlert: {
|
|
549
549
|
ComposedComponent: typeof Alert;
|
550
550
|
}>;
|
551
551
|
} & import("hoist-non-react-statics").NonReactStatics<{
|
552
|
-
new (props: (Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> &
|
553
|
-
|
554
|
-
|
555
|
-
|
556
|
-
|
557
|
-
|
558
|
-
}
|
552
|
+
new (props: (Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & {
|
553
|
+
title?: string | undefined;
|
554
|
+
confirmText?: string | undefined;
|
555
|
+
cancelText?: string | undefined;
|
556
|
+
confirmBtnLevel?: string | undefined;
|
557
|
+
alertBtnLevel?: string | undefined;
|
558
|
+
} & {} & {
|
559
559
|
locale?: string | undefined;
|
560
560
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
561
|
-
}) | Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> &
|
562
|
-
|
563
|
-
|
564
|
-
|
565
|
-
|
566
|
-
|
567
|
-
}
|
561
|
+
}) | Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & {
|
562
|
+
title?: string | undefined;
|
563
|
+
confirmText?: string | undefined;
|
564
|
+
cancelText?: string | undefined;
|
565
|
+
confirmBtnLevel?: string | undefined;
|
566
|
+
alertBtnLevel?: string | undefined;
|
567
|
+
} & {} & {
|
568
568
|
locale?: string | undefined;
|
569
569
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
570
570
|
}>): {
|
571
571
|
render(): JSX.Element;
|
572
572
|
context: any;
|
573
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> &
|
574
|
-
|
575
|
-
|
576
|
-
|
577
|
-
|
578
|
-
|
579
|
-
}
|
573
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & {
|
574
|
+
title?: string | undefined;
|
575
|
+
confirmText?: string | undefined;
|
576
|
+
cancelText?: string | undefined;
|
577
|
+
confirmBtnLevel?: string | undefined;
|
578
|
+
alertBtnLevel?: string | undefined;
|
579
|
+
} & {} & {
|
580
580
|
locale?: string | undefined;
|
581
581
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
582
582
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
583
583
|
forceUpdate(callback?: (() => void) | undefined): void;
|
584
|
-
readonly props: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> &
|
585
|
-
|
586
|
-
|
587
|
-
|
588
|
-
|
589
|
-
|
590
|
-
}
|
584
|
+
readonly props: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & {
|
585
|
+
title?: string | undefined;
|
586
|
+
confirmText?: string | undefined;
|
587
|
+
cancelText?: string | undefined;
|
588
|
+
confirmBtnLevel?: string | undefined;
|
589
|
+
alertBtnLevel?: string | undefined;
|
590
|
+
} & {} & {
|
591
591
|
locale?: string | undefined;
|
592
592
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
593
593
|
}> & Readonly<{
|
@@ -598,111 +598,111 @@ export declare const FinnalAlert: {
|
|
598
598
|
[key: string]: React.ReactInstance;
|
599
599
|
};
|
600
600
|
componentDidMount?(): void;
|
601
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> &
|
602
|
-
|
603
|
-
|
604
|
-
|
605
|
-
|
606
|
-
|
607
|
-
}
|
601
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & {
|
602
|
+
title?: string | undefined;
|
603
|
+
confirmText?: string | undefined;
|
604
|
+
cancelText?: string | undefined;
|
605
|
+
confirmBtnLevel?: string | undefined;
|
606
|
+
alertBtnLevel?: string | undefined;
|
607
|
+
} & {} & {
|
608
608
|
locale?: string | undefined;
|
609
609
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
610
610
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
611
611
|
componentWillUnmount?(): void;
|
612
612
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
613
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> &
|
614
|
-
|
615
|
-
|
616
|
-
|
617
|
-
|
618
|
-
|
619
|
-
}
|
613
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & {
|
614
|
+
title?: string | undefined;
|
615
|
+
confirmText?: string | undefined;
|
616
|
+
cancelText?: string | undefined;
|
617
|
+
confirmBtnLevel?: string | undefined;
|
618
|
+
alertBtnLevel?: string | undefined;
|
619
|
+
} & {} & {
|
620
620
|
locale?: string | undefined;
|
621
621
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
622
622
|
}>, prevState: Readonly<{}>): any;
|
623
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> &
|
624
|
-
|
625
|
-
|
626
|
-
|
627
|
-
|
628
|
-
|
629
|
-
}
|
623
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & {
|
624
|
+
title?: string | undefined;
|
625
|
+
confirmText?: string | undefined;
|
626
|
+
cancelText?: string | undefined;
|
627
|
+
confirmBtnLevel?: string | undefined;
|
628
|
+
alertBtnLevel?: string | undefined;
|
629
|
+
} & {} & {
|
630
630
|
locale?: string | undefined;
|
631
631
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
632
632
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
633
633
|
componentWillMount?(): void;
|
634
634
|
UNSAFE_componentWillMount?(): void;
|
635
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> &
|
636
|
-
|
637
|
-
|
638
|
-
|
639
|
-
|
640
|
-
|
641
|
-
}
|
635
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & {
|
636
|
+
title?: string | undefined;
|
637
|
+
confirmText?: string | undefined;
|
638
|
+
cancelText?: string | undefined;
|
639
|
+
confirmBtnLevel?: string | undefined;
|
640
|
+
alertBtnLevel?: string | undefined;
|
641
|
+
} & {} & {
|
642
642
|
locale?: string | undefined;
|
643
643
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
644
644
|
}>, nextContext: any): void;
|
645
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> &
|
646
|
-
|
647
|
-
|
648
|
-
|
649
|
-
|
650
|
-
|
651
|
-
}
|
645
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & {
|
646
|
+
title?: string | undefined;
|
647
|
+
confirmText?: string | undefined;
|
648
|
+
cancelText?: string | undefined;
|
649
|
+
confirmBtnLevel?: string | undefined;
|
650
|
+
alertBtnLevel?: string | undefined;
|
651
|
+
} & {} & {
|
652
652
|
locale?: string | undefined;
|
653
653
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
654
654
|
}>, nextContext: any): void;
|
655
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> &
|
656
|
-
|
657
|
-
|
658
|
-
|
659
|
-
|
660
|
-
|
661
|
-
}
|
655
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & {
|
656
|
+
title?: string | undefined;
|
657
|
+
confirmText?: string | undefined;
|
658
|
+
cancelText?: string | undefined;
|
659
|
+
confirmBtnLevel?: string | undefined;
|
660
|
+
alertBtnLevel?: string | undefined;
|
661
|
+
} & {} & {
|
662
662
|
locale?: string | undefined;
|
663
663
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
664
664
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
665
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> &
|
666
|
-
|
667
|
-
|
668
|
-
|
669
|
-
|
670
|
-
|
671
|
-
}
|
665
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & {
|
666
|
+
title?: string | undefined;
|
667
|
+
confirmText?: string | undefined;
|
668
|
+
cancelText?: string | undefined;
|
669
|
+
confirmBtnLevel?: string | undefined;
|
670
|
+
alertBtnLevel?: string | undefined;
|
671
|
+
} & {} & {
|
672
672
|
locale?: string | undefined;
|
673
673
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
674
674
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
675
675
|
};
|
676
|
-
new (props: Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> &
|
677
|
-
|
678
|
-
|
679
|
-
|
680
|
-
|
681
|
-
|
682
|
-
}
|
676
|
+
new (props: Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & {
|
677
|
+
title?: string | undefined;
|
678
|
+
confirmText?: string | undefined;
|
679
|
+
cancelText?: string | undefined;
|
680
|
+
confirmBtnLevel?: string | undefined;
|
681
|
+
alertBtnLevel?: string | undefined;
|
682
|
+
} & {} & {
|
683
683
|
locale?: string | undefined;
|
684
684
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
685
685
|
}, context: any): {
|
686
686
|
render(): JSX.Element;
|
687
687
|
context: any;
|
688
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> &
|
689
|
-
|
690
|
-
|
691
|
-
|
692
|
-
|
693
|
-
|
694
|
-
}
|
688
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & {
|
689
|
+
title?: string | undefined;
|
690
|
+
confirmText?: string | undefined;
|
691
|
+
cancelText?: string | undefined;
|
692
|
+
confirmBtnLevel?: string | undefined;
|
693
|
+
alertBtnLevel?: string | undefined;
|
694
|
+
} & {} & {
|
695
695
|
locale?: string | undefined;
|
696
696
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
697
697
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
698
698
|
forceUpdate(callback?: (() => void) | undefined): void;
|
699
|
-
readonly props: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> &
|
700
|
-
|
701
|
-
|
702
|
-
|
703
|
-
|
704
|
-
|
705
|
-
}
|
699
|
+
readonly props: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & {
|
700
|
+
title?: string | undefined;
|
701
|
+
confirmText?: string | undefined;
|
702
|
+
cancelText?: string | undefined;
|
703
|
+
confirmBtnLevel?: string | undefined;
|
704
|
+
alertBtnLevel?: string | undefined;
|
705
|
+
} & {} & {
|
706
706
|
locale?: string | undefined;
|
707
707
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
708
708
|
}> & Readonly<{
|
@@ -713,77 +713,77 @@ export declare const FinnalAlert: {
|
|
713
713
|
[key: string]: React.ReactInstance;
|
714
714
|
};
|
715
715
|
componentDidMount?(): void;
|
716
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> &
|
717
|
-
|
718
|
-
|
719
|
-
|
720
|
-
|
721
|
-
|
722
|
-
}
|
716
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & {
|
717
|
+
title?: string | undefined;
|
718
|
+
confirmText?: string | undefined;
|
719
|
+
cancelText?: string | undefined;
|
720
|
+
confirmBtnLevel?: string | undefined;
|
721
|
+
alertBtnLevel?: string | undefined;
|
722
|
+
} & {} & {
|
723
723
|
locale?: string | undefined;
|
724
724
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
725
725
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
726
726
|
componentWillUnmount?(): void;
|
727
727
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
728
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> &
|
729
|
-
|
730
|
-
|
731
|
-
|
732
|
-
|
733
|
-
|
734
|
-
}
|
728
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & {
|
729
|
+
title?: string | undefined;
|
730
|
+
confirmText?: string | undefined;
|
731
|
+
cancelText?: string | undefined;
|
732
|
+
confirmBtnLevel?: string | undefined;
|
733
|
+
alertBtnLevel?: string | undefined;
|
734
|
+
} & {} & {
|
735
735
|
locale?: string | undefined;
|
736
736
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
737
737
|
}>, prevState: Readonly<{}>): any;
|
738
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> &
|
739
|
-
|
740
|
-
|
741
|
-
|
742
|
-
|
743
|
-
|
744
|
-
}
|
738
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & {
|
739
|
+
title?: string | undefined;
|
740
|
+
confirmText?: string | undefined;
|
741
|
+
cancelText?: string | undefined;
|
742
|
+
confirmBtnLevel?: string | undefined;
|
743
|
+
alertBtnLevel?: string | undefined;
|
744
|
+
} & {} & {
|
745
745
|
locale?: string | undefined;
|
746
746
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
747
747
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
748
748
|
componentWillMount?(): void;
|
749
749
|
UNSAFE_componentWillMount?(): void;
|
750
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> &
|
751
|
-
|
752
|
-
|
753
|
-
|
754
|
-
|
755
|
-
|
756
|
-
}
|
750
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & {
|
751
|
+
title?: string | undefined;
|
752
|
+
confirmText?: string | undefined;
|
753
|
+
cancelText?: string | undefined;
|
754
|
+
confirmBtnLevel?: string | undefined;
|
755
|
+
alertBtnLevel?: string | undefined;
|
756
|
+
} & {} & {
|
757
757
|
locale?: string | undefined;
|
758
758
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
759
759
|
}>, nextContext: any): void;
|
760
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> &
|
761
|
-
|
762
|
-
|
763
|
-
|
764
|
-
|
765
|
-
|
766
|
-
}
|
760
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & {
|
761
|
+
title?: string | undefined;
|
762
|
+
confirmText?: string | undefined;
|
763
|
+
cancelText?: string | undefined;
|
764
|
+
confirmBtnLevel?: string | undefined;
|
765
|
+
alertBtnLevel?: string | undefined;
|
766
|
+
} & {} & {
|
767
767
|
locale?: string | undefined;
|
768
768
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
769
769
|
}>, nextContext: any): void;
|
770
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> &
|
771
|
-
|
772
|
-
|
773
|
-
|
774
|
-
|
775
|
-
|
776
|
-
}
|
770
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & {
|
771
|
+
title?: string | undefined;
|
772
|
+
confirmText?: string | undefined;
|
773
|
+
cancelText?: string | undefined;
|
774
|
+
confirmBtnLevel?: string | undefined;
|
775
|
+
alertBtnLevel?: string | undefined;
|
776
|
+
} & {} & {
|
777
777
|
locale?: string | undefined;
|
778
778
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
779
779
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
780
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> &
|
781
|
-
|
782
|
-
|
783
|
-
|
784
|
-
|
785
|
-
|
786
|
-
}
|
780
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & {
|
781
|
+
title?: string | undefined;
|
782
|
+
confirmText?: string | undefined;
|
783
|
+
cancelText?: string | undefined;
|
784
|
+
confirmBtnLevel?: string | undefined;
|
785
|
+
alertBtnLevel?: string | undefined;
|
786
|
+
} & {} & {
|
787
787
|
locale?: string | undefined;
|
788
788
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
789
789
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
@@ -795,45 +795,45 @@ export declare const FinnalAlert: {
|
|
795
795
|
ComposedComponent: typeof Alert;
|
796
796
|
}, {}> & {
|
797
797
|
ComposedComponent: {
|
798
|
-
new (props: (Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> &
|
799
|
-
|
800
|
-
|
801
|
-
|
802
|
-
|
803
|
-
|
804
|
-
}
|
798
|
+
new (props: (Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & {
|
799
|
+
title?: string | undefined;
|
800
|
+
confirmText?: string | undefined;
|
801
|
+
cancelText?: string | undefined;
|
802
|
+
confirmBtnLevel?: string | undefined;
|
803
|
+
alertBtnLevel?: string | undefined;
|
804
|
+
} & {} & {
|
805
805
|
locale?: string | undefined;
|
806
806
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
807
|
-
}) | Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> &
|
808
|
-
|
809
|
-
|
810
|
-
|
811
|
-
|
812
|
-
|
813
|
-
}
|
807
|
+
}) | Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & {
|
808
|
+
title?: string | undefined;
|
809
|
+
confirmText?: string | undefined;
|
810
|
+
cancelText?: string | undefined;
|
811
|
+
confirmBtnLevel?: string | undefined;
|
812
|
+
alertBtnLevel?: string | undefined;
|
813
|
+
} & {} & {
|
814
814
|
locale?: string | undefined;
|
815
815
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
816
816
|
}>): {
|
817
817
|
render(): JSX.Element;
|
818
818
|
context: any;
|
819
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> &
|
820
|
-
|
821
|
-
|
822
|
-
|
823
|
-
|
824
|
-
|
825
|
-
}
|
819
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & {
|
820
|
+
title?: string | undefined;
|
821
|
+
confirmText?: string | undefined;
|
822
|
+
cancelText?: string | undefined;
|
823
|
+
confirmBtnLevel?: string | undefined;
|
824
|
+
alertBtnLevel?: string | undefined;
|
825
|
+
} & {} & {
|
826
826
|
locale?: string | undefined;
|
827
827
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
828
828
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
829
829
|
forceUpdate(callback?: (() => void) | undefined): void;
|
830
|
-
readonly props: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> &
|
831
|
-
|
832
|
-
|
833
|
-
|
834
|
-
|
835
|
-
|
836
|
-
}
|
830
|
+
readonly props: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & {
|
831
|
+
title?: string | undefined;
|
832
|
+
confirmText?: string | undefined;
|
833
|
+
cancelText?: string | undefined;
|
834
|
+
confirmBtnLevel?: string | undefined;
|
835
|
+
alertBtnLevel?: string | undefined;
|
836
|
+
} & {} & {
|
837
837
|
locale?: string | undefined;
|
838
838
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
839
839
|
}> & Readonly<{
|
@@ -844,111 +844,111 @@ export declare const FinnalAlert: {
|
|
844
844
|
[key: string]: React.ReactInstance;
|
845
845
|
};
|
846
846
|
componentDidMount?(): void;
|
847
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> &
|
848
|
-
|
849
|
-
|
850
|
-
|
851
|
-
|
852
|
-
|
853
|
-
}
|
847
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & {
|
848
|
+
title?: string | undefined;
|
849
|
+
confirmText?: string | undefined;
|
850
|
+
cancelText?: string | undefined;
|
851
|
+
confirmBtnLevel?: string | undefined;
|
852
|
+
alertBtnLevel?: string | undefined;
|
853
|
+
} & {} & {
|
854
854
|
locale?: string | undefined;
|
855
855
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
856
856
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
857
857
|
componentWillUnmount?(): void;
|
858
858
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
859
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> &
|
860
|
-
|
861
|
-
|
862
|
-
|
863
|
-
|
864
|
-
|
865
|
-
}
|
859
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & {
|
860
|
+
title?: string | undefined;
|
861
|
+
confirmText?: string | undefined;
|
862
|
+
cancelText?: string | undefined;
|
863
|
+
confirmBtnLevel?: string | undefined;
|
864
|
+
alertBtnLevel?: string | undefined;
|
865
|
+
} & {} & {
|
866
866
|
locale?: string | undefined;
|
867
867
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
868
868
|
}>, prevState: Readonly<{}>): any;
|
869
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> &
|
870
|
-
|
871
|
-
|
872
|
-
|
873
|
-
|
874
|
-
|
875
|
-
}
|
869
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & {
|
870
|
+
title?: string | undefined;
|
871
|
+
confirmText?: string | undefined;
|
872
|
+
cancelText?: string | undefined;
|
873
|
+
confirmBtnLevel?: string | undefined;
|
874
|
+
alertBtnLevel?: string | undefined;
|
875
|
+
} & {} & {
|
876
876
|
locale?: string | undefined;
|
877
877
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
878
878
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
879
879
|
componentWillMount?(): void;
|
880
880
|
UNSAFE_componentWillMount?(): void;
|
881
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> &
|
882
|
-
|
883
|
-
|
884
|
-
|
885
|
-
|
886
|
-
|
887
|
-
}
|
881
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & {
|
882
|
+
title?: string | undefined;
|
883
|
+
confirmText?: string | undefined;
|
884
|
+
cancelText?: string | undefined;
|
885
|
+
confirmBtnLevel?: string | undefined;
|
886
|
+
alertBtnLevel?: string | undefined;
|
887
|
+
} & {} & {
|
888
888
|
locale?: string | undefined;
|
889
889
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
890
890
|
}>, nextContext: any): void;
|
891
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> &
|
892
|
-
|
893
|
-
|
894
|
-
|
895
|
-
|
896
|
-
|
897
|
-
}
|
891
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & {
|
892
|
+
title?: string | undefined;
|
893
|
+
confirmText?: string | undefined;
|
894
|
+
cancelText?: string | undefined;
|
895
|
+
confirmBtnLevel?: string | undefined;
|
896
|
+
alertBtnLevel?: string | undefined;
|
897
|
+
} & {} & {
|
898
898
|
locale?: string | undefined;
|
899
899
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
900
900
|
}>, nextContext: any): void;
|
901
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> &
|
902
|
-
|
903
|
-
|
904
|
-
|
905
|
-
|
906
|
-
|
907
|
-
}
|
901
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & {
|
902
|
+
title?: string | undefined;
|
903
|
+
confirmText?: string | undefined;
|
904
|
+
cancelText?: string | undefined;
|
905
|
+
confirmBtnLevel?: string | undefined;
|
906
|
+
alertBtnLevel?: string | undefined;
|
907
|
+
} & {} & {
|
908
908
|
locale?: string | undefined;
|
909
909
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
910
910
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
911
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> &
|
912
|
-
|
913
|
-
|
914
|
-
|
915
|
-
|
916
|
-
|
917
|
-
}
|
911
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & {
|
912
|
+
title?: string | undefined;
|
913
|
+
confirmText?: string | undefined;
|
914
|
+
cancelText?: string | undefined;
|
915
|
+
confirmBtnLevel?: string | undefined;
|
916
|
+
alertBtnLevel?: string | undefined;
|
917
|
+
} & {} & {
|
918
918
|
locale?: string | undefined;
|
919
919
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
920
920
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
921
921
|
};
|
922
|
-
new (props: Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> &
|
923
|
-
|
924
|
-
|
925
|
-
|
926
|
-
|
927
|
-
|
928
|
-
}
|
922
|
+
new (props: Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & {
|
923
|
+
title?: string | undefined;
|
924
|
+
confirmText?: string | undefined;
|
925
|
+
cancelText?: string | undefined;
|
926
|
+
confirmBtnLevel?: string | undefined;
|
927
|
+
alertBtnLevel?: string | undefined;
|
928
|
+
} & {} & {
|
929
929
|
locale?: string | undefined;
|
930
930
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
931
931
|
}, context: any): {
|
932
932
|
render(): JSX.Element;
|
933
933
|
context: any;
|
934
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> &
|
935
|
-
|
936
|
-
|
937
|
-
|
938
|
-
|
939
|
-
|
940
|
-
}
|
934
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & {
|
935
|
+
title?: string | undefined;
|
936
|
+
confirmText?: string | undefined;
|
937
|
+
cancelText?: string | undefined;
|
938
|
+
confirmBtnLevel?: string | undefined;
|
939
|
+
alertBtnLevel?: string | undefined;
|
940
|
+
} & {} & {
|
941
941
|
locale?: string | undefined;
|
942
942
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
943
943
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
944
944
|
forceUpdate(callback?: (() => void) | undefined): void;
|
945
|
-
readonly props: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> &
|
946
|
-
|
947
|
-
|
948
|
-
|
949
|
-
|
950
|
-
|
951
|
-
}
|
945
|
+
readonly props: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & {
|
946
|
+
title?: string | undefined;
|
947
|
+
confirmText?: string | undefined;
|
948
|
+
cancelText?: string | undefined;
|
949
|
+
confirmBtnLevel?: string | undefined;
|
950
|
+
alertBtnLevel?: string | undefined;
|
951
|
+
} & {} & {
|
952
952
|
locale?: string | undefined;
|
953
953
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
954
954
|
}> & Readonly<{
|
@@ -959,77 +959,77 @@ export declare const FinnalAlert: {
|
|
959
959
|
[key: string]: React.ReactInstance;
|
960
960
|
};
|
961
961
|
componentDidMount?(): void;
|
962
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> &
|
963
|
-
|
964
|
-
|
965
|
-
|
966
|
-
|
967
|
-
|
968
|
-
}
|
962
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & {
|
963
|
+
title?: string | undefined;
|
964
|
+
confirmText?: string | undefined;
|
965
|
+
cancelText?: string | undefined;
|
966
|
+
confirmBtnLevel?: string | undefined;
|
967
|
+
alertBtnLevel?: string | undefined;
|
968
|
+
} & {} & {
|
969
969
|
locale?: string | undefined;
|
970
970
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
971
971
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
972
972
|
componentWillUnmount?(): void;
|
973
973
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
974
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> &
|
975
|
-
|
976
|
-
|
977
|
-
|
978
|
-
|
979
|
-
|
980
|
-
}
|
974
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & {
|
975
|
+
title?: string | undefined;
|
976
|
+
confirmText?: string | undefined;
|
977
|
+
cancelText?: string | undefined;
|
978
|
+
confirmBtnLevel?: string | undefined;
|
979
|
+
alertBtnLevel?: string | undefined;
|
980
|
+
} & {} & {
|
981
981
|
locale?: string | undefined;
|
982
982
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
983
983
|
}>, prevState: Readonly<{}>): any;
|
984
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> &
|
985
|
-
|
986
|
-
|
987
|
-
|
988
|
-
|
989
|
-
|
990
|
-
}
|
984
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & {
|
985
|
+
title?: string | undefined;
|
986
|
+
confirmText?: string | undefined;
|
987
|
+
cancelText?: string | undefined;
|
988
|
+
confirmBtnLevel?: string | undefined;
|
989
|
+
alertBtnLevel?: string | undefined;
|
990
|
+
} & {} & {
|
991
991
|
locale?: string | undefined;
|
992
992
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
993
993
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
994
994
|
componentWillMount?(): void;
|
995
995
|
UNSAFE_componentWillMount?(): void;
|
996
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> &
|
997
|
-
|
998
|
-
|
999
|
-
|
1000
|
-
|
1001
|
-
|
1002
|
-
}
|
996
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & {
|
997
|
+
title?: string | undefined;
|
998
|
+
confirmText?: string | undefined;
|
999
|
+
cancelText?: string | undefined;
|
1000
|
+
confirmBtnLevel?: string | undefined;
|
1001
|
+
alertBtnLevel?: string | undefined;
|
1002
|
+
} & {} & {
|
1003
1003
|
locale?: string | undefined;
|
1004
1004
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
1005
1005
|
}>, nextContext: any): void;
|
1006
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> &
|
1007
|
-
|
1008
|
-
|
1009
|
-
|
1010
|
-
|
1011
|
-
|
1012
|
-
}
|
1006
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & {
|
1007
|
+
title?: string | undefined;
|
1008
|
+
confirmText?: string | undefined;
|
1009
|
+
cancelText?: string | undefined;
|
1010
|
+
confirmBtnLevel?: string | undefined;
|
1011
|
+
alertBtnLevel?: string | undefined;
|
1012
|
+
} & {} & {
|
1013
1013
|
locale?: string | undefined;
|
1014
1014
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
1015
1015
|
}>, nextContext: any): void;
|
1016
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> &
|
1017
|
-
|
1018
|
-
|
1019
|
-
|
1020
|
-
|
1021
|
-
|
1022
|
-
}
|
1016
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & {
|
1017
|
+
title?: string | undefined;
|
1018
|
+
confirmText?: string | undefined;
|
1019
|
+
cancelText?: string | undefined;
|
1020
|
+
confirmBtnLevel?: string | undefined;
|
1021
|
+
alertBtnLevel?: string | undefined;
|
1022
|
+
} & {} & {
|
1023
1023
|
locale?: string | undefined;
|
1024
1024
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
1025
1025
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
1026
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> &
|
1027
|
-
|
1028
|
-
|
1029
|
-
|
1030
|
-
|
1031
|
-
|
1032
|
-
}
|
1026
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<AlertProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "container"> & {
|
1027
|
+
title?: string | undefined;
|
1028
|
+
confirmText?: string | undefined;
|
1029
|
+
cancelText?: string | undefined;
|
1030
|
+
confirmBtnLevel?: string | undefined;
|
1031
|
+
alertBtnLevel?: string | undefined;
|
1032
|
+
} & {} & {
|
1033
1033
|
locale?: string | undefined;
|
1034
1034
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
1035
1035
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|