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.
Files changed (81) hide show
  1. package/lib/components/Alert.d.ts +588 -588
  2. package/lib/components/Alert2.d.ts +125 -20
  3. package/lib/components/AnchorNav.d.ts +104 -20
  4. package/lib/components/ArrayInput.d.ts +420 -420
  5. package/lib/components/AsideNav.d.ts +125 -125
  6. package/lib/components/AssociatedSelection.d.ts +504 -504
  7. package/lib/components/Avatar.d.ts +461 -20
  8. package/lib/components/Button.d.ts +167 -20
  9. package/lib/components/CalendarMobile.d.ts +420 -84
  10. package/lib/components/Card.d.ts +671 -20
  11. package/lib/components/ChainedSelection.d.ts +504 -504
  12. package/lib/components/Checkbox.d.ts +104 -20
  13. package/lib/components/Collapse.d.ts +587 -20
  14. package/lib/components/CollapseGroup.d.ts +230 -20
  15. package/lib/components/ColorPicker.d.ts +504 -504
  16. package/lib/components/DatePicker.d.ts +588 -588
  17. package/lib/components/DateRangePicker.d.ts +1008 -1008
  18. package/lib/components/Drawer.d.ts +125 -20
  19. package/lib/components/Editor.d.ts +840 -672
  20. package/lib/components/GroupedSelection.d.ts +504 -504
  21. package/lib/components/Html.d.ts +62 -62
  22. package/lib/components/InputBox.d.ts +83 -83
  23. package/lib/components/Layout.d.ts +146 -146
  24. package/lib/components/ListGroup.d.ts +62 -62
  25. package/lib/components/ListMenu.d.ts +504 -504
  26. package/lib/components/LocationPicker.d.ts +336 -336
  27. package/lib/components/Modal.d.ts +420 -420
  28. package/lib/components/MonthRangePicker.d.ts +924 -924
  29. package/lib/components/NumberInput.d.ts +104 -20
  30. package/lib/components/PopUp.d.ts +672 -672
  31. package/lib/components/Progress.d.ts +440 -20
  32. package/lib/components/Radios.d.ts +167 -167
  33. package/lib/components/Rating.d.ts +272 -314
  34. package/lib/components/ResultBox.d.ts +504 -84
  35. package/lib/components/ResultList.d.ts +336 -84
  36. package/lib/components/SearchBox.d.ts +336 -336
  37. package/lib/components/Select.d.ts +4977 -4977
  38. package/lib/components/Selection.d.ts +504 -504
  39. package/lib/components/SparkLine.d.ts +336 -336
  40. package/lib/components/Spinner.d.ts +146 -146
  41. package/lib/components/Switch.d.ts +83 -83
  42. package/lib/components/TableSelection.d.ts +672 -672
  43. package/lib/components/Tabs.d.ts +83 -20
  44. package/lib/components/TitleBar.d.ts +146 -125
  45. package/lib/components/Toast.d.ts +504 -84
  46. package/lib/components/TooltipWrapper.d.ts +125 -20
  47. package/lib/components/Transfer.d.ts +252 -84
  48. package/lib/components/TransferDropDown.d.ts +252 -84
  49. package/lib/components/Tree.d.ts +2688 -2688
  50. package/lib/components/TreeSelection.d.ts +588 -588
  51. package/lib/components/formula/Editor.d.ts +420 -84
  52. package/lib/index.js +1 -1
  53. package/lib/renderers/Dialog.d.ts +420 -420
  54. package/lib/renderers/Form/InputCity.d.ts +672 -672
  55. package/lib/renderers/Form/InputColor.d.ts +504 -504
  56. package/lib/renderers/Nav.d.ts +62 -62
  57. package/package.json +1 -1
  58. package/sdk/ang-ie11.css +1 -0
  59. package/sdk/ang.css +1 -0
  60. package/sdk/antd-ie11.css +1 -0
  61. package/sdk/antd.css +1 -0
  62. package/sdk/charts.js +14 -14
  63. package/sdk/codemirror.js +7 -7
  64. package/sdk/color-picker.js +65 -65
  65. package/sdk/cropperjs.js +2 -2
  66. package/sdk/cxd-ie11.css +1 -0
  67. package/sdk/cxd.css +1 -0
  68. package/sdk/dark-ie11.css +1 -0
  69. package/sdk/dark.css +1 -0
  70. package/sdk/exceljs.js +1 -1
  71. package/sdk/markdown.js +69 -69
  72. package/sdk/papaparse.js +3 -3
  73. package/sdk/renderers/Form/CityDB.js +1 -1
  74. package/sdk/rest.js +18 -18
  75. package/sdk/rich-text.js +62 -62
  76. package/sdk/sdk-ie11.css +1 -0
  77. package/sdk/sdk.css +1 -0
  78. package/sdk/sdk.js +1318 -1253
  79. package/sdk/thirds/hls.js/hls.js +1 -1
  80. package/sdk/thirds/mpegts.js/mpegts.js +1 -1
  81. 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"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
65
- confirmText: string;
66
- cancelText: string;
67
- title: string;
68
- alertBtnLevel: string;
69
- confirmBtnLevel: string;
70
- }, never>> & {
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"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
74
- confirmText: string;
75
- cancelText: string;
76
- title: string;
77
- alertBtnLevel: string;
78
- confirmBtnLevel: string;
79
- }, never>> & {
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"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
86
- confirmText: string;
87
- cancelText: string;
88
- title: string;
89
- alertBtnLevel: string;
90
- confirmBtnLevel: string;
91
- }, never>> & {
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"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
97
- confirmText: string;
98
- cancelText: string;
99
- title: string;
100
- alertBtnLevel: string;
101
- confirmBtnLevel: string;
102
- }, never>> & {
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"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
114
- confirmText: string;
115
- cancelText: string;
116
- title: string;
117
- alertBtnLevel: string;
118
- confirmBtnLevel: string;
119
- }, never>> & {
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"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
126
- confirmText: string;
127
- cancelText: string;
128
- title: string;
129
- alertBtnLevel: string;
130
- confirmBtnLevel: string;
131
- }, never>> & {
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"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
136
- confirmText: string;
137
- cancelText: string;
138
- title: string;
139
- alertBtnLevel: string;
140
- confirmBtnLevel: string;
141
- }, never>> & {
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"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
148
- confirmText: string;
149
- cancelText: string;
150
- title: string;
151
- alertBtnLevel: string;
152
- confirmBtnLevel: string;
153
- }, never>> & {
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"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
158
- confirmText: string;
159
- cancelText: string;
160
- title: string;
161
- alertBtnLevel: string;
162
- confirmBtnLevel: string;
163
- }, never>> & {
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"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
168
- confirmText: string;
169
- cancelText: string;
170
- title: string;
171
- alertBtnLevel: string;
172
- confirmBtnLevel: string;
173
- }, never>> & {
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"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
178
- confirmText: string;
179
- cancelText: string;
180
- title: string;
181
- alertBtnLevel: string;
182
- confirmBtnLevel: string;
183
- }, never>> & {
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"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
189
- confirmText: string;
190
- cancelText: string;
191
- title: string;
192
- alertBtnLevel: string;
193
- confirmBtnLevel: string;
194
- }, never>> & {
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"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
201
- confirmText: string;
202
- cancelText: string;
203
- title: string;
204
- alertBtnLevel: string;
205
- confirmBtnLevel: string;
206
- }, never>> & {
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"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
212
- confirmText: string;
213
- cancelText: string;
214
- title: string;
215
- alertBtnLevel: string;
216
- confirmBtnLevel: string;
217
- }, never>> & {
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"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
229
- confirmText: string;
230
- cancelText: string;
231
- title: string;
232
- alertBtnLevel: string;
233
- confirmBtnLevel: string;
234
- }, never>> & {
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"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
241
- confirmText: string;
242
- cancelText: string;
243
- title: string;
244
- alertBtnLevel: string;
245
- confirmBtnLevel: string;
246
- }, never>> & {
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"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
251
- confirmText: string;
252
- cancelText: string;
253
- title: string;
254
- alertBtnLevel: string;
255
- confirmBtnLevel: string;
256
- }, never>> & {
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"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
263
- confirmText: string;
264
- cancelText: string;
265
- title: string;
266
- alertBtnLevel: string;
267
- confirmBtnLevel: string;
268
- }, never>> & {
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"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
273
- confirmText: string;
274
- cancelText: string;
275
- title: string;
276
- alertBtnLevel: string;
277
- confirmBtnLevel: string;
278
- }, never>> & {
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"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
283
- confirmText: string;
284
- cancelText: string;
285
- title: string;
286
- alertBtnLevel: string;
287
- confirmBtnLevel: string;
288
- }, never>> & {
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"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
293
- confirmText: string;
294
- cancelText: string;
295
- title: string;
296
- alertBtnLevel: string;
297
- confirmBtnLevel: string;
298
- }, never>> & {
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"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
307
- confirmText: string;
308
- cancelText: string;
309
- title: string;
310
- alertBtnLevel: string;
311
- confirmBtnLevel: string;
312
- }, never>> & {
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"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
316
- confirmText: string;
317
- cancelText: string;
318
- title: string;
319
- alertBtnLevel: string;
320
- confirmBtnLevel: string;
321
- }, never>> & {
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"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
328
- confirmText: string;
329
- cancelText: string;
330
- title: string;
331
- alertBtnLevel: string;
332
- confirmBtnLevel: string;
333
- }, never>> & {
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"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
339
- confirmText: string;
340
- cancelText: string;
341
- title: string;
342
- alertBtnLevel: string;
343
- confirmBtnLevel: string;
344
- }, never>> & {
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"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
356
- confirmText: string;
357
- cancelText: string;
358
- title: string;
359
- alertBtnLevel: string;
360
- confirmBtnLevel: string;
361
- }, never>> & {
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"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
368
- confirmText: string;
369
- cancelText: string;
370
- title: string;
371
- alertBtnLevel: string;
372
- confirmBtnLevel: string;
373
- }, never>> & {
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"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
378
- confirmText: string;
379
- cancelText: string;
380
- title: string;
381
- alertBtnLevel: string;
382
- confirmBtnLevel: string;
383
- }, never>> & {
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"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
390
- confirmText: string;
391
- cancelText: string;
392
- title: string;
393
- alertBtnLevel: string;
394
- confirmBtnLevel: string;
395
- }, never>> & {
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"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
400
- confirmText: string;
401
- cancelText: string;
402
- title: string;
403
- alertBtnLevel: string;
404
- confirmBtnLevel: string;
405
- }, never>> & {
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"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
410
- confirmText: string;
411
- cancelText: string;
412
- title: string;
413
- alertBtnLevel: string;
414
- confirmBtnLevel: string;
415
- }, never>> & {
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"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
420
- confirmText: string;
421
- cancelText: string;
422
- title: string;
423
- alertBtnLevel: string;
424
- confirmBtnLevel: string;
425
- }, never>> & {
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"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
431
- confirmText: string;
432
- cancelText: string;
433
- title: string;
434
- alertBtnLevel: string;
435
- confirmBtnLevel: string;
436
- }, never>> & {
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"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
443
- confirmText: string;
444
- cancelText: string;
445
- title: string;
446
- alertBtnLevel: string;
447
- confirmBtnLevel: string;
448
- }, never>> & {
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"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
454
- confirmText: string;
455
- cancelText: string;
456
- title: string;
457
- alertBtnLevel: string;
458
- confirmBtnLevel: string;
459
- }, never>> & {
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"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
471
- confirmText: string;
472
- cancelText: string;
473
- title: string;
474
- alertBtnLevel: string;
475
- confirmBtnLevel: string;
476
- }, never>> & {
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"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
483
- confirmText: string;
484
- cancelText: string;
485
- title: string;
486
- alertBtnLevel: string;
487
- confirmBtnLevel: string;
488
- }, never>> & {
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"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
493
- confirmText: string;
494
- cancelText: string;
495
- title: string;
496
- alertBtnLevel: string;
497
- confirmBtnLevel: string;
498
- }, never>> & {
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"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
505
- confirmText: string;
506
- cancelText: string;
507
- title: string;
508
- alertBtnLevel: string;
509
- confirmBtnLevel: string;
510
- }, never>> & {
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"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
515
- confirmText: string;
516
- cancelText: string;
517
- title: string;
518
- alertBtnLevel: string;
519
- confirmBtnLevel: string;
520
- }, never>> & {
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"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
525
- confirmText: string;
526
- cancelText: string;
527
- title: string;
528
- alertBtnLevel: string;
529
- confirmBtnLevel: string;
530
- }, never>> & {
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"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
535
- confirmText: string;
536
- cancelText: string;
537
- title: string;
538
- alertBtnLevel: string;
539
- confirmBtnLevel: string;
540
- }, never>> & {
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"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
553
- confirmText: string;
554
- cancelText: string;
555
- title: string;
556
- alertBtnLevel: string;
557
- confirmBtnLevel: string;
558
- }, never>> & {
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"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
562
- confirmText: string;
563
- cancelText: string;
564
- title: string;
565
- alertBtnLevel: string;
566
- confirmBtnLevel: string;
567
- }, never>> & {
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"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
574
- confirmText: string;
575
- cancelText: string;
576
- title: string;
577
- alertBtnLevel: string;
578
- confirmBtnLevel: string;
579
- }, never>> & {
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"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
585
- confirmText: string;
586
- cancelText: string;
587
- title: string;
588
- alertBtnLevel: string;
589
- confirmBtnLevel: string;
590
- }, never>> & {
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"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
602
- confirmText: string;
603
- cancelText: string;
604
- title: string;
605
- alertBtnLevel: string;
606
- confirmBtnLevel: string;
607
- }, never>> & {
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"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
614
- confirmText: string;
615
- cancelText: string;
616
- title: string;
617
- alertBtnLevel: string;
618
- confirmBtnLevel: string;
619
- }, never>> & {
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"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
624
- confirmText: string;
625
- cancelText: string;
626
- title: string;
627
- alertBtnLevel: string;
628
- confirmBtnLevel: string;
629
- }, never>> & {
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"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
636
- confirmText: string;
637
- cancelText: string;
638
- title: string;
639
- alertBtnLevel: string;
640
- confirmBtnLevel: string;
641
- }, never>> & {
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"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
646
- confirmText: string;
647
- cancelText: string;
648
- title: string;
649
- alertBtnLevel: string;
650
- confirmBtnLevel: string;
651
- }, never>> & {
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"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
656
- confirmText: string;
657
- cancelText: string;
658
- title: string;
659
- alertBtnLevel: string;
660
- confirmBtnLevel: string;
661
- }, never>> & {
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"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
666
- confirmText: string;
667
- cancelText: string;
668
- title: string;
669
- alertBtnLevel: string;
670
- confirmBtnLevel: string;
671
- }, never>> & {
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"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
677
- confirmText: string;
678
- cancelText: string;
679
- title: string;
680
- alertBtnLevel: string;
681
- confirmBtnLevel: string;
682
- }, never>> & {
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"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
689
- confirmText: string;
690
- cancelText: string;
691
- title: string;
692
- alertBtnLevel: string;
693
- confirmBtnLevel: string;
694
- }, never>> & {
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"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
700
- confirmText: string;
701
- cancelText: string;
702
- title: string;
703
- alertBtnLevel: string;
704
- confirmBtnLevel: string;
705
- }, never>> & {
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"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
717
- confirmText: string;
718
- cancelText: string;
719
- title: string;
720
- alertBtnLevel: string;
721
- confirmBtnLevel: string;
722
- }, never>> & {
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"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
729
- confirmText: string;
730
- cancelText: string;
731
- title: string;
732
- alertBtnLevel: string;
733
- confirmBtnLevel: string;
734
- }, never>> & {
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"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
739
- confirmText: string;
740
- cancelText: string;
741
- title: string;
742
- alertBtnLevel: string;
743
- confirmBtnLevel: string;
744
- }, never>> & {
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"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
751
- confirmText: string;
752
- cancelText: string;
753
- title: string;
754
- alertBtnLevel: string;
755
- confirmBtnLevel: string;
756
- }, never>> & {
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"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
761
- confirmText: string;
762
- cancelText: string;
763
- title: string;
764
- alertBtnLevel: string;
765
- confirmBtnLevel: string;
766
- }, never>> & {
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"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
771
- confirmText: string;
772
- cancelText: string;
773
- title: string;
774
- alertBtnLevel: string;
775
- confirmBtnLevel: string;
776
- }, never>> & {
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"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
781
- confirmText: string;
782
- cancelText: string;
783
- title: string;
784
- alertBtnLevel: string;
785
- confirmBtnLevel: string;
786
- }, never>> & {
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"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
799
- confirmText: string;
800
- cancelText: string;
801
- title: string;
802
- alertBtnLevel: string;
803
- confirmBtnLevel: string;
804
- }, never>> & {
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"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
808
- confirmText: string;
809
- cancelText: string;
810
- title: string;
811
- alertBtnLevel: string;
812
- confirmBtnLevel: string;
813
- }, never>> & {
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"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
820
- confirmText: string;
821
- cancelText: string;
822
- title: string;
823
- alertBtnLevel: string;
824
- confirmBtnLevel: string;
825
- }, never>> & {
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"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
831
- confirmText: string;
832
- cancelText: string;
833
- title: string;
834
- alertBtnLevel: string;
835
- confirmBtnLevel: string;
836
- }, never>> & {
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"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
848
- confirmText: string;
849
- cancelText: string;
850
- title: string;
851
- alertBtnLevel: string;
852
- confirmBtnLevel: string;
853
- }, never>> & {
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"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
860
- confirmText: string;
861
- cancelText: string;
862
- title: string;
863
- alertBtnLevel: string;
864
- confirmBtnLevel: string;
865
- }, never>> & {
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"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
870
- confirmText: string;
871
- cancelText: string;
872
- title: string;
873
- alertBtnLevel: string;
874
- confirmBtnLevel: string;
875
- }, never>> & {
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"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
882
- confirmText: string;
883
- cancelText: string;
884
- title: string;
885
- alertBtnLevel: string;
886
- confirmBtnLevel: string;
887
- }, never>> & {
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"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
892
- confirmText: string;
893
- cancelText: string;
894
- title: string;
895
- alertBtnLevel: string;
896
- confirmBtnLevel: string;
897
- }, never>> & {
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"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
902
- confirmText: string;
903
- cancelText: string;
904
- title: string;
905
- alertBtnLevel: string;
906
- confirmBtnLevel: string;
907
- }, never>> & {
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"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
912
- confirmText: string;
913
- cancelText: string;
914
- title: string;
915
- alertBtnLevel: string;
916
- confirmBtnLevel: string;
917
- }, never>> & {
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"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
923
- confirmText: string;
924
- cancelText: string;
925
- title: string;
926
- alertBtnLevel: string;
927
- confirmBtnLevel: string;
928
- }, never>> & {
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"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
935
- confirmText: string;
936
- cancelText: string;
937
- title: string;
938
- alertBtnLevel: string;
939
- confirmBtnLevel: string;
940
- }, never>> & {
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"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
946
- confirmText: string;
947
- cancelText: string;
948
- title: string;
949
- alertBtnLevel: string;
950
- confirmBtnLevel: string;
951
- }, never>> & {
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"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
963
- confirmText: string;
964
- cancelText: string;
965
- title: string;
966
- alertBtnLevel: string;
967
- confirmBtnLevel: string;
968
- }, never>> & {
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"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
975
- confirmText: string;
976
- cancelText: string;
977
- title: string;
978
- alertBtnLevel: string;
979
- confirmBtnLevel: string;
980
- }, never>> & {
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"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
985
- confirmText: string;
986
- cancelText: string;
987
- title: string;
988
- alertBtnLevel: string;
989
- confirmBtnLevel: string;
990
- }, never>> & {
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"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
997
- confirmText: string;
998
- cancelText: string;
999
- title: string;
1000
- alertBtnLevel: string;
1001
- confirmBtnLevel: string;
1002
- }, never>> & {
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"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
1007
- confirmText: string;
1008
- cancelText: string;
1009
- title: string;
1010
- alertBtnLevel: string;
1011
- confirmBtnLevel: string;
1012
- }, never>> & {
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"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
1017
- confirmText: string;
1018
- cancelText: string;
1019
- title: string;
1020
- alertBtnLevel: string;
1021
- confirmBtnLevel: string;
1022
- }, never>> & {
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"> & Partial<Pick<Omit<AlertProps, keyof LocaleProps>, "title" | "confirmText" | "cancelText" | "confirmBtnLevel" | "alertBtnLevel">> & Partial<Pick<{
1027
- confirmText: string;
1028
- cancelText: string;
1029
- title: string;
1030
- alertBtnLevel: string;
1031
- confirmBtnLevel: string;
1032
- }, never>> & {
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;