amis 1.5.8-beta.2 → 1.6.0

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