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
@@ -3,41 +3,41 @@ import React from 'react';
3
3
  import { FormControlProps, FormBaseControl } from './Item';
4
4
  import type { PresetColor } from '../../components/ColorPicker';
5
5
  export declare const ColorPicker: React.LazyExoticComponent<{
6
- new (props: (Omit<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & Partial<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
7
- format: string;
8
- clearable: boolean;
9
- placeholder: string;
10
- allowCustomColor: boolean;
11
- }, never>> & {
6
+ new (props: (Omit<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
7
+ placeholder?: string | undefined;
8
+ clearable?: boolean | undefined;
9
+ format?: string | undefined;
10
+ allowCustomColor?: boolean | undefined;
11
+ } & {} & {
12
12
  locale?: string | undefined;
13
13
  translate?: ((str: string, ...args: any[]) => string) | undefined;
14
- }, keyof import("../../theme").ThemeProps> & import("../../theme").ThemeOutterProps) | Readonly<Omit<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & Partial<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
15
- format: string;
16
- clearable: boolean;
17
- placeholder: string;
18
- allowCustomColor: boolean;
19
- }, never>> & {
14
+ }, keyof import("../../theme").ThemeProps> & import("../../theme").ThemeOutterProps) | Readonly<Omit<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
15
+ placeholder?: string | undefined;
16
+ clearable?: boolean | undefined;
17
+ format?: string | undefined;
18
+ allowCustomColor?: boolean | undefined;
19
+ } & {} & {
20
20
  locale?: string | undefined;
21
21
  translate?: ((str: string, ...args: any[]) => string) | undefined;
22
22
  }, keyof import("../../theme").ThemeProps> & import("../../theme").ThemeOutterProps>): {
23
23
  render(): JSX.Element;
24
24
  context: any;
25
- setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & Partial<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
26
- format: string;
27
- clearable: boolean;
28
- placeholder: string;
29
- allowCustomColor: boolean;
30
- }, never>> & {
25
+ setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
26
+ placeholder?: string | undefined;
27
+ clearable?: boolean | undefined;
28
+ format?: string | undefined;
29
+ allowCustomColor?: boolean | undefined;
30
+ } & {} & {
31
31
  locale?: string | undefined;
32
32
  translate?: ((str: string, ...args: any[]) => string) | undefined;
33
33
  }, keyof import("../../theme").ThemeProps> & import("../../theme").ThemeOutterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
34
34
  forceUpdate(callback?: (() => void) | undefined): void;
35
- readonly props: Readonly<Omit<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & Partial<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
36
- format: string;
37
- clearable: boolean;
38
- placeholder: string;
39
- allowCustomColor: boolean;
40
- }, never>> & {
35
+ readonly props: Readonly<Omit<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
36
+ placeholder?: string | undefined;
37
+ clearable?: boolean | undefined;
38
+ format?: string | undefined;
39
+ allowCustomColor?: boolean | undefined;
40
+ } & {} & {
41
41
  locale?: string | undefined;
42
42
  translate?: ((str: string, ...args: any[]) => string) | undefined;
43
43
  }, keyof import("../../theme").ThemeProps> & import("../../theme").ThemeOutterProps> & Readonly<{
@@ -48,101 +48,101 @@ export declare const ColorPicker: React.LazyExoticComponent<{
48
48
  [key: string]: React.ReactInstance;
49
49
  };
50
50
  componentDidMount?(): void;
51
- shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & Partial<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
52
- format: string;
53
- clearable: boolean;
54
- placeholder: string;
55
- allowCustomColor: boolean;
56
- }, never>> & {
51
+ shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
52
+ placeholder?: string | undefined;
53
+ clearable?: boolean | undefined;
54
+ format?: string | undefined;
55
+ allowCustomColor?: boolean | undefined;
56
+ } & {} & {
57
57
  locale?: string | undefined;
58
58
  translate?: ((str: string, ...args: any[]) => string) | undefined;
59
59
  }, keyof import("../../theme").ThemeProps> & import("../../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
60
60
  componentWillUnmount?(): void;
61
61
  componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
62
- getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & Partial<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
63
- format: string;
64
- clearable: boolean;
65
- placeholder: string;
66
- allowCustomColor: boolean;
67
- }, never>> & {
62
+ getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
63
+ placeholder?: string | undefined;
64
+ clearable?: boolean | undefined;
65
+ format?: string | undefined;
66
+ allowCustomColor?: boolean | undefined;
67
+ } & {} & {
68
68
  locale?: string | undefined;
69
69
  translate?: ((str: string, ...args: any[]) => string) | undefined;
70
70
  }, keyof import("../../theme").ThemeProps> & import("../../theme").ThemeOutterProps>, prevState: Readonly<{}>): any;
71
- componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & Partial<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
72
- format: string;
73
- clearable: boolean;
74
- placeholder: string;
75
- allowCustomColor: boolean;
76
- }, never>> & {
71
+ componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
72
+ placeholder?: string | undefined;
73
+ clearable?: boolean | undefined;
74
+ format?: string | undefined;
75
+ allowCustomColor?: boolean | undefined;
76
+ } & {} & {
77
77
  locale?: string | undefined;
78
78
  translate?: ((str: string, ...args: any[]) => string) | undefined;
79
79
  }, keyof import("../../theme").ThemeProps> & import("../../theme").ThemeOutterProps>, prevState: Readonly<{}>, snapshot?: any): void;
80
80
  componentWillMount?(): void;
81
81
  UNSAFE_componentWillMount?(): void;
82
- componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & Partial<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
83
- format: string;
84
- clearable: boolean;
85
- placeholder: string;
86
- allowCustomColor: boolean;
87
- }, never>> & {
82
+ componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
83
+ placeholder?: string | undefined;
84
+ clearable?: boolean | undefined;
85
+ format?: string | undefined;
86
+ allowCustomColor?: boolean | undefined;
87
+ } & {} & {
88
88
  locale?: string | undefined;
89
89
  translate?: ((str: string, ...args: any[]) => string) | undefined;
90
90
  }, keyof import("../../theme").ThemeProps> & import("../../theme").ThemeOutterProps>, nextContext: any): void;
91
- UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & Partial<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
92
- format: string;
93
- clearable: boolean;
94
- placeholder: string;
95
- allowCustomColor: boolean;
96
- }, never>> & {
91
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
92
+ placeholder?: string | undefined;
93
+ clearable?: boolean | undefined;
94
+ format?: string | undefined;
95
+ allowCustomColor?: boolean | undefined;
96
+ } & {} & {
97
97
  locale?: string | undefined;
98
98
  translate?: ((str: string, ...args: any[]) => string) | undefined;
99
99
  }, keyof import("../../theme").ThemeProps> & import("../../theme").ThemeOutterProps>, nextContext: any): void;
100
- componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & Partial<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
101
- format: string;
102
- clearable: boolean;
103
- placeholder: string;
104
- allowCustomColor: boolean;
105
- }, never>> & {
100
+ componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
101
+ placeholder?: string | undefined;
102
+ clearable?: boolean | undefined;
103
+ format?: string | undefined;
104
+ allowCustomColor?: boolean | undefined;
105
+ } & {} & {
106
106
  locale?: string | undefined;
107
107
  translate?: ((str: string, ...args: any[]) => string) | undefined;
108
108
  }, keyof import("../../theme").ThemeProps> & import("../../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
109
- UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & Partial<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
110
- format: string;
111
- clearable: boolean;
112
- placeholder: string;
113
- allowCustomColor: boolean;
114
- }, never>> & {
109
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
110
+ placeholder?: string | undefined;
111
+ clearable?: boolean | undefined;
112
+ format?: string | undefined;
113
+ allowCustomColor?: boolean | undefined;
114
+ } & {} & {
115
115
  locale?: string | undefined;
116
116
  translate?: ((str: string, ...args: any[]) => string) | undefined;
117
117
  }, keyof import("../../theme").ThemeProps> & import("../../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
118
118
  };
119
- new (props: Omit<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & Partial<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
120
- format: string;
121
- clearable: boolean;
122
- placeholder: string;
123
- allowCustomColor: boolean;
124
- }, never>> & {
119
+ new (props: Omit<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
120
+ placeholder?: string | undefined;
121
+ clearable?: boolean | undefined;
122
+ format?: string | undefined;
123
+ allowCustomColor?: boolean | undefined;
124
+ } & {} & {
125
125
  locale?: string | undefined;
126
126
  translate?: ((str: string, ...args: any[]) => string) | undefined;
127
127
  }, keyof import("../../theme").ThemeProps> & import("../../theme").ThemeOutterProps, context: any): {
128
128
  render(): JSX.Element;
129
129
  context: any;
130
- setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & Partial<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
131
- format: string;
132
- clearable: boolean;
133
- placeholder: string;
134
- allowCustomColor: boolean;
135
- }, never>> & {
130
+ setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
131
+ placeholder?: string | undefined;
132
+ clearable?: boolean | undefined;
133
+ format?: string | undefined;
134
+ allowCustomColor?: boolean | undefined;
135
+ } & {} & {
136
136
  locale?: string | undefined;
137
137
  translate?: ((str: string, ...args: any[]) => string) | undefined;
138
138
  }, keyof import("../../theme").ThemeProps> & import("../../theme").ThemeOutterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
139
139
  forceUpdate(callback?: (() => void) | undefined): void;
140
- readonly props: Readonly<Omit<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & Partial<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
141
- format: string;
142
- clearable: boolean;
143
- placeholder: string;
144
- allowCustomColor: boolean;
145
- }, never>> & {
140
+ readonly props: Readonly<Omit<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
141
+ placeholder?: string | undefined;
142
+ clearable?: boolean | undefined;
143
+ format?: string | undefined;
144
+ allowCustomColor?: boolean | undefined;
145
+ } & {} & {
146
146
  locale?: string | undefined;
147
147
  translate?: ((str: string, ...args: any[]) => string) | undefined;
148
148
  }, keyof import("../../theme").ThemeProps> & import("../../theme").ThemeOutterProps> & Readonly<{
@@ -153,70 +153,70 @@ export declare const ColorPicker: React.LazyExoticComponent<{
153
153
  [key: string]: React.ReactInstance;
154
154
  };
155
155
  componentDidMount?(): void;
156
- shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & Partial<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
157
- format: string;
158
- clearable: boolean;
159
- placeholder: string;
160
- allowCustomColor: boolean;
161
- }, never>> & {
156
+ shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
157
+ placeholder?: string | undefined;
158
+ clearable?: boolean | undefined;
159
+ format?: string | undefined;
160
+ allowCustomColor?: boolean | undefined;
161
+ } & {} & {
162
162
  locale?: string | undefined;
163
163
  translate?: ((str: string, ...args: any[]) => string) | undefined;
164
164
  }, keyof import("../../theme").ThemeProps> & import("../../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
165
165
  componentWillUnmount?(): void;
166
166
  componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
167
- getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & Partial<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
168
- format: string;
169
- clearable: boolean;
170
- placeholder: string;
171
- allowCustomColor: boolean;
172
- }, never>> & {
167
+ getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
168
+ placeholder?: string | undefined;
169
+ clearable?: boolean | undefined;
170
+ format?: string | undefined;
171
+ allowCustomColor?: boolean | undefined;
172
+ } & {} & {
173
173
  locale?: string | undefined;
174
174
  translate?: ((str: string, ...args: any[]) => string) | undefined;
175
175
  }, keyof import("../../theme").ThemeProps> & import("../../theme").ThemeOutterProps>, prevState: Readonly<{}>): any;
176
- componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & Partial<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
177
- format: string;
178
- clearable: boolean;
179
- placeholder: string;
180
- allowCustomColor: boolean;
181
- }, never>> & {
176
+ componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
177
+ placeholder?: string | undefined;
178
+ clearable?: boolean | undefined;
179
+ format?: string | undefined;
180
+ allowCustomColor?: boolean | undefined;
181
+ } & {} & {
182
182
  locale?: string | undefined;
183
183
  translate?: ((str: string, ...args: any[]) => string) | undefined;
184
184
  }, keyof import("../../theme").ThemeProps> & import("../../theme").ThemeOutterProps>, prevState: Readonly<{}>, snapshot?: any): void;
185
185
  componentWillMount?(): void;
186
186
  UNSAFE_componentWillMount?(): void;
187
- componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & Partial<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
188
- format: string;
189
- clearable: boolean;
190
- placeholder: string;
191
- allowCustomColor: boolean;
192
- }, never>> & {
187
+ componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
188
+ placeholder?: string | undefined;
189
+ clearable?: boolean | undefined;
190
+ format?: string | undefined;
191
+ allowCustomColor?: boolean | undefined;
192
+ } & {} & {
193
193
  locale?: string | undefined;
194
194
  translate?: ((str: string, ...args: any[]) => string) | undefined;
195
195
  }, keyof import("../../theme").ThemeProps> & import("../../theme").ThemeOutterProps>, nextContext: any): void;
196
- UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & Partial<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
197
- format: string;
198
- clearable: boolean;
199
- placeholder: string;
200
- allowCustomColor: boolean;
201
- }, never>> & {
196
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
197
+ placeholder?: string | undefined;
198
+ clearable?: boolean | undefined;
199
+ format?: string | undefined;
200
+ allowCustomColor?: boolean | undefined;
201
+ } & {} & {
202
202
  locale?: string | undefined;
203
203
  translate?: ((str: string, ...args: any[]) => string) | undefined;
204
204
  }, keyof import("../../theme").ThemeProps> & import("../../theme").ThemeOutterProps>, nextContext: any): void;
205
- componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & Partial<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
206
- format: string;
207
- clearable: boolean;
208
- placeholder: string;
209
- allowCustomColor: boolean;
210
- }, never>> & {
205
+ componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
206
+ placeholder?: string | undefined;
207
+ clearable?: boolean | undefined;
208
+ format?: string | undefined;
209
+ allowCustomColor?: boolean | undefined;
210
+ } & {} & {
211
211
  locale?: string | undefined;
212
212
  translate?: ((str: string, ...args: any[]) => string) | undefined;
213
213
  }, keyof import("../../theme").ThemeProps> & import("../../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
214
- UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & Partial<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
215
- format: string;
216
- clearable: boolean;
217
- placeholder: string;
218
- allowCustomColor: boolean;
219
- }, never>> & {
214
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
215
+ placeholder?: string | undefined;
216
+ clearable?: boolean | undefined;
217
+ format?: string | undefined;
218
+ allowCustomColor?: boolean | undefined;
219
+ } & {} & {
220
220
  locale?: string | undefined;
221
221
  translate?: ((str: string, ...args: any[]) => string) | undefined;
222
222
  }, keyof import("../../theme").ThemeProps> & import("../../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
@@ -224,41 +224,41 @@ export declare const ColorPicker: React.LazyExoticComponent<{
224
224
  displayName: string;
225
225
  contextType: React.Context<string>;
226
226
  ComposedComponent: React.ComponentType<{
227
- new (props: (Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & Partial<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
228
- format: string;
229
- clearable: boolean;
230
- placeholder: string;
231
- allowCustomColor: boolean;
232
- }, never>> & {
227
+ new (props: (Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
228
+ placeholder?: string | undefined;
229
+ clearable?: boolean | undefined;
230
+ format?: string | undefined;
231
+ allowCustomColor?: boolean | undefined;
232
+ } & {} & {
233
233
  locale?: string | undefined;
234
234
  translate?: ((str: string, ...args: any[]) => string) | undefined;
235
- }) | Readonly<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & Partial<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
236
- format: string;
237
- clearable: boolean;
238
- placeholder: string;
239
- allowCustomColor: boolean;
240
- }, never>> & {
235
+ }) | Readonly<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
236
+ placeholder?: string | undefined;
237
+ clearable?: boolean | undefined;
238
+ format?: string | undefined;
239
+ allowCustomColor?: boolean | undefined;
240
+ } & {} & {
241
241
  locale?: string | undefined;
242
242
  translate?: ((str: string, ...args: any[]) => string) | undefined;
243
243
  }>): {
244
244
  render(): JSX.Element;
245
245
  context: any;
246
- setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & Partial<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
247
- format: string;
248
- clearable: boolean;
249
- placeholder: string;
250
- allowCustomColor: boolean;
251
- }, never>> & {
246
+ setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
247
+ placeholder?: string | undefined;
248
+ clearable?: boolean | undefined;
249
+ format?: string | undefined;
250
+ allowCustomColor?: boolean | undefined;
251
+ } & {} & {
252
252
  locale?: string | undefined;
253
253
  translate?: ((str: string, ...args: any[]) => string) | undefined;
254
254
  }>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
255
255
  forceUpdate(callback?: (() => void) | undefined): void;
256
- readonly props: Readonly<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & Partial<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
257
- format: string;
258
- clearable: boolean;
259
- placeholder: string;
260
- allowCustomColor: boolean;
261
- }, never>> & {
256
+ readonly props: Readonly<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
257
+ placeholder?: string | undefined;
258
+ clearable?: boolean | undefined;
259
+ format?: string | undefined;
260
+ allowCustomColor?: boolean | undefined;
261
+ } & {} & {
262
262
  locale?: string | undefined;
263
263
  translate?: ((str: string, ...args: any[]) => string) | undefined;
264
264
  }> & Readonly<{
@@ -269,101 +269,101 @@ export declare const ColorPicker: React.LazyExoticComponent<{
269
269
  [key: string]: React.ReactInstance;
270
270
  };
271
271
  componentDidMount?(): void;
272
- shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & Partial<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
273
- format: string;
274
- clearable: boolean;
275
- placeholder: string;
276
- allowCustomColor: boolean;
277
- }, never>> & {
272
+ shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
273
+ placeholder?: string | undefined;
274
+ clearable?: boolean | undefined;
275
+ format?: string | undefined;
276
+ allowCustomColor?: boolean | undefined;
277
+ } & {} & {
278
278
  locale?: string | undefined;
279
279
  translate?: ((str: string, ...args: any[]) => string) | undefined;
280
280
  }>, nextState: Readonly<{}>, nextContext: any): boolean;
281
281
  componentWillUnmount?(): void;
282
282
  componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
283
- getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & Partial<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
284
- format: string;
285
- clearable: boolean;
286
- placeholder: string;
287
- allowCustomColor: boolean;
288
- }, never>> & {
283
+ getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
284
+ placeholder?: string | undefined;
285
+ clearable?: boolean | undefined;
286
+ format?: string | undefined;
287
+ allowCustomColor?: boolean | undefined;
288
+ } & {} & {
289
289
  locale?: string | undefined;
290
290
  translate?: ((str: string, ...args: any[]) => string) | undefined;
291
291
  }>, prevState: Readonly<{}>): any;
292
- componentDidUpdate?(prevProps: Readonly<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & Partial<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
293
- format: string;
294
- clearable: boolean;
295
- placeholder: string;
296
- allowCustomColor: boolean;
297
- }, never>> & {
292
+ componentDidUpdate?(prevProps: Readonly<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
293
+ placeholder?: string | undefined;
294
+ clearable?: boolean | undefined;
295
+ format?: string | undefined;
296
+ allowCustomColor?: boolean | undefined;
297
+ } & {} & {
298
298
  locale?: string | undefined;
299
299
  translate?: ((str: string, ...args: any[]) => string) | undefined;
300
300
  }>, prevState: Readonly<{}>, snapshot?: any): void;
301
301
  componentWillMount?(): void;
302
302
  UNSAFE_componentWillMount?(): void;
303
- componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & Partial<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
304
- format: string;
305
- clearable: boolean;
306
- placeholder: string;
307
- allowCustomColor: boolean;
308
- }, never>> & {
303
+ componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
304
+ placeholder?: string | undefined;
305
+ clearable?: boolean | undefined;
306
+ format?: string | undefined;
307
+ allowCustomColor?: boolean | undefined;
308
+ } & {} & {
309
309
  locale?: string | undefined;
310
310
  translate?: ((str: string, ...args: any[]) => string) | undefined;
311
311
  }>, nextContext: any): void;
312
- UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & Partial<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
313
- format: string;
314
- clearable: boolean;
315
- placeholder: string;
316
- allowCustomColor: boolean;
317
- }, never>> & {
312
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
313
+ placeholder?: string | undefined;
314
+ clearable?: boolean | undefined;
315
+ format?: string | undefined;
316
+ allowCustomColor?: boolean | undefined;
317
+ } & {} & {
318
318
  locale?: string | undefined;
319
319
  translate?: ((str: string, ...args: any[]) => string) | undefined;
320
320
  }>, nextContext: any): void;
321
- componentWillUpdate?(nextProps: Readonly<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & Partial<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
322
- format: string;
323
- clearable: boolean;
324
- placeholder: string;
325
- allowCustomColor: boolean;
326
- }, never>> & {
321
+ componentWillUpdate?(nextProps: Readonly<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
322
+ placeholder?: string | undefined;
323
+ clearable?: boolean | undefined;
324
+ format?: string | undefined;
325
+ allowCustomColor?: boolean | undefined;
326
+ } & {} & {
327
327
  locale?: string | undefined;
328
328
  translate?: ((str: string, ...args: any[]) => string) | undefined;
329
329
  }>, nextState: Readonly<{}>, nextContext: any): void;
330
- UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & Partial<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
331
- format: string;
332
- clearable: boolean;
333
- placeholder: string;
334
- allowCustomColor: boolean;
335
- }, never>> & {
330
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
331
+ placeholder?: string | undefined;
332
+ clearable?: boolean | undefined;
333
+ format?: string | undefined;
334
+ allowCustomColor?: boolean | undefined;
335
+ } & {} & {
336
336
  locale?: string | undefined;
337
337
  translate?: ((str: string, ...args: any[]) => string) | undefined;
338
338
  }>, nextState: Readonly<{}>, nextContext: any): void;
339
339
  };
340
- new (props: Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & Partial<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
341
- format: string;
342
- clearable: boolean;
343
- placeholder: string;
344
- allowCustomColor: boolean;
345
- }, never>> & {
340
+ new (props: Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
341
+ placeholder?: string | undefined;
342
+ clearable?: boolean | undefined;
343
+ format?: string | undefined;
344
+ allowCustomColor?: boolean | undefined;
345
+ } & {} & {
346
346
  locale?: string | undefined;
347
347
  translate?: ((str: string, ...args: any[]) => string) | undefined;
348
348
  }, context: any): {
349
349
  render(): JSX.Element;
350
350
  context: any;
351
- setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & Partial<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
352
- format: string;
353
- clearable: boolean;
354
- placeholder: string;
355
- allowCustomColor: boolean;
356
- }, never>> & {
351
+ setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
352
+ placeholder?: string | undefined;
353
+ clearable?: boolean | undefined;
354
+ format?: string | undefined;
355
+ allowCustomColor?: boolean | undefined;
356
+ } & {} & {
357
357
  locale?: string | undefined;
358
358
  translate?: ((str: string, ...args: any[]) => string) | undefined;
359
359
  }>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
360
360
  forceUpdate(callback?: (() => void) | undefined): void;
361
- readonly props: Readonly<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & Partial<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
362
- format: string;
363
- clearable: boolean;
364
- placeholder: string;
365
- allowCustomColor: boolean;
366
- }, never>> & {
361
+ readonly props: Readonly<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
362
+ placeholder?: string | undefined;
363
+ clearable?: boolean | undefined;
364
+ format?: string | undefined;
365
+ allowCustomColor?: boolean | undefined;
366
+ } & {} & {
367
367
  locale?: string | undefined;
368
368
  translate?: ((str: string, ...args: any[]) => string) | undefined;
369
369
  }> & Readonly<{
@@ -374,70 +374,70 @@ export declare const ColorPicker: React.LazyExoticComponent<{
374
374
  [key: string]: React.ReactInstance;
375
375
  };
376
376
  componentDidMount?(): void;
377
- shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & Partial<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
378
- format: string;
379
- clearable: boolean;
380
- placeholder: string;
381
- allowCustomColor: boolean;
382
- }, never>> & {
377
+ shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
378
+ placeholder?: string | undefined;
379
+ clearable?: boolean | undefined;
380
+ format?: string | undefined;
381
+ allowCustomColor?: boolean | undefined;
382
+ } & {} & {
383
383
  locale?: string | undefined;
384
384
  translate?: ((str: string, ...args: any[]) => string) | undefined;
385
385
  }>, nextState: Readonly<{}>, nextContext: any): boolean;
386
386
  componentWillUnmount?(): void;
387
387
  componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
388
- getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & Partial<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
389
- format: string;
390
- clearable: boolean;
391
- placeholder: string;
392
- allowCustomColor: boolean;
393
- }, never>> & {
388
+ getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
389
+ placeholder?: string | undefined;
390
+ clearable?: boolean | undefined;
391
+ format?: string | undefined;
392
+ allowCustomColor?: boolean | undefined;
393
+ } & {} & {
394
394
  locale?: string | undefined;
395
395
  translate?: ((str: string, ...args: any[]) => string) | undefined;
396
396
  }>, prevState: Readonly<{}>): any;
397
- componentDidUpdate?(prevProps: Readonly<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & Partial<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
398
- format: string;
399
- clearable: boolean;
400
- placeholder: string;
401
- allowCustomColor: boolean;
402
- }, never>> & {
397
+ componentDidUpdate?(prevProps: Readonly<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
398
+ placeholder?: string | undefined;
399
+ clearable?: boolean | undefined;
400
+ format?: string | undefined;
401
+ allowCustomColor?: boolean | undefined;
402
+ } & {} & {
403
403
  locale?: string | undefined;
404
404
  translate?: ((str: string, ...args: any[]) => string) | undefined;
405
405
  }>, prevState: Readonly<{}>, snapshot?: any): void;
406
406
  componentWillMount?(): void;
407
407
  UNSAFE_componentWillMount?(): void;
408
- componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & Partial<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
409
- format: string;
410
- clearable: boolean;
411
- placeholder: string;
412
- allowCustomColor: boolean;
413
- }, never>> & {
408
+ componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
409
+ placeholder?: string | undefined;
410
+ clearable?: boolean | undefined;
411
+ format?: string | undefined;
412
+ allowCustomColor?: boolean | undefined;
413
+ } & {} & {
414
414
  locale?: string | undefined;
415
415
  translate?: ((str: string, ...args: any[]) => string) | undefined;
416
416
  }>, nextContext: any): void;
417
- UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & Partial<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
418
- format: string;
419
- clearable: boolean;
420
- placeholder: string;
421
- allowCustomColor: boolean;
422
- }, never>> & {
417
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
418
+ placeholder?: string | undefined;
419
+ clearable?: boolean | undefined;
420
+ format?: string | undefined;
421
+ allowCustomColor?: boolean | undefined;
422
+ } & {} & {
423
423
  locale?: string | undefined;
424
424
  translate?: ((str: string, ...args: any[]) => string) | undefined;
425
425
  }>, nextContext: any): void;
426
- componentWillUpdate?(nextProps: Readonly<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & Partial<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
427
- format: string;
428
- clearable: boolean;
429
- placeholder: string;
430
- allowCustomColor: boolean;
431
- }, never>> & {
426
+ componentWillUpdate?(nextProps: Readonly<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
427
+ placeholder?: string | undefined;
428
+ clearable?: boolean | undefined;
429
+ format?: string | undefined;
430
+ allowCustomColor?: boolean | undefined;
431
+ } & {} & {
432
432
  locale?: string | undefined;
433
433
  translate?: ((str: string, ...args: any[]) => string) | undefined;
434
434
  }>, nextState: Readonly<{}>, nextContext: any): void;
435
- UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & Partial<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
436
- format: string;
437
- clearable: boolean;
438
- placeholder: string;
439
- allowCustomColor: boolean;
440
- }, never>> & {
435
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
436
+ placeholder?: string | undefined;
437
+ clearable?: boolean | undefined;
438
+ format?: string | undefined;
439
+ allowCustomColor?: boolean | undefined;
440
+ } & {} & {
441
441
  locale?: string | undefined;
442
442
  translate?: ((str: string, ...args: any[]) => string) | undefined;
443
443
  }>, nextState: Readonly<{}>, nextContext: any): void;
@@ -449,41 +449,41 @@ export declare const ColorPicker: React.LazyExoticComponent<{
449
449
  ComposedComponent: typeof import("../../components/ColorPicker").ColorControl;
450
450
  }>;
451
451
  } & import("hoist-non-react-statics").NonReactStatics<{
452
- new (props: (Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & Partial<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
453
- format: string;
454
- clearable: boolean;
455
- placeholder: string;
456
- allowCustomColor: boolean;
457
- }, never>> & {
452
+ new (props: (Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
453
+ placeholder?: string | undefined;
454
+ clearable?: boolean | undefined;
455
+ format?: string | undefined;
456
+ allowCustomColor?: boolean | undefined;
457
+ } & {} & {
458
458
  locale?: string | undefined;
459
459
  translate?: ((str: string, ...args: any[]) => string) | undefined;
460
- }) | Readonly<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & Partial<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
461
- format: string;
462
- clearable: boolean;
463
- placeholder: string;
464
- allowCustomColor: boolean;
465
- }, never>> & {
460
+ }) | Readonly<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
461
+ placeholder?: string | undefined;
462
+ clearable?: boolean | undefined;
463
+ format?: string | undefined;
464
+ allowCustomColor?: boolean | undefined;
465
+ } & {} & {
466
466
  locale?: string | undefined;
467
467
  translate?: ((str: string, ...args: any[]) => string) | undefined;
468
468
  }>): {
469
469
  render(): JSX.Element;
470
470
  context: any;
471
- setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & Partial<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
472
- format: string;
473
- clearable: boolean;
474
- placeholder: string;
475
- allowCustomColor: boolean;
476
- }, never>> & {
471
+ setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
472
+ placeholder?: string | undefined;
473
+ clearable?: boolean | undefined;
474
+ format?: string | undefined;
475
+ allowCustomColor?: boolean | undefined;
476
+ } & {} & {
477
477
  locale?: string | undefined;
478
478
  translate?: ((str: string, ...args: any[]) => string) | undefined;
479
479
  }>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
480
480
  forceUpdate(callback?: (() => void) | undefined): void;
481
- readonly props: Readonly<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & Partial<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
482
- format: string;
483
- clearable: boolean;
484
- placeholder: string;
485
- allowCustomColor: boolean;
486
- }, never>> & {
481
+ readonly props: Readonly<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
482
+ placeholder?: string | undefined;
483
+ clearable?: boolean | undefined;
484
+ format?: string | undefined;
485
+ allowCustomColor?: boolean | undefined;
486
+ } & {} & {
487
487
  locale?: string | undefined;
488
488
  translate?: ((str: string, ...args: any[]) => string) | undefined;
489
489
  }> & Readonly<{
@@ -494,101 +494,101 @@ export declare const ColorPicker: React.LazyExoticComponent<{
494
494
  [key: string]: React.ReactInstance;
495
495
  };
496
496
  componentDidMount?(): void;
497
- shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & Partial<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
498
- format: string;
499
- clearable: boolean;
500
- placeholder: string;
501
- allowCustomColor: boolean;
502
- }, never>> & {
497
+ shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
498
+ placeholder?: string | undefined;
499
+ clearable?: boolean | undefined;
500
+ format?: string | undefined;
501
+ allowCustomColor?: boolean | undefined;
502
+ } & {} & {
503
503
  locale?: string | undefined;
504
504
  translate?: ((str: string, ...args: any[]) => string) | undefined;
505
505
  }>, nextState: Readonly<{}>, nextContext: any): boolean;
506
506
  componentWillUnmount?(): void;
507
507
  componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
508
- getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & Partial<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
509
- format: string;
510
- clearable: boolean;
511
- placeholder: string;
512
- allowCustomColor: boolean;
513
- }, never>> & {
508
+ getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
509
+ placeholder?: string | undefined;
510
+ clearable?: boolean | undefined;
511
+ format?: string | undefined;
512
+ allowCustomColor?: boolean | undefined;
513
+ } & {} & {
514
514
  locale?: string | undefined;
515
515
  translate?: ((str: string, ...args: any[]) => string) | undefined;
516
516
  }>, prevState: Readonly<{}>): any;
517
- componentDidUpdate?(prevProps: Readonly<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & Partial<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
518
- format: string;
519
- clearable: boolean;
520
- placeholder: string;
521
- allowCustomColor: boolean;
522
- }, never>> & {
517
+ componentDidUpdate?(prevProps: Readonly<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
518
+ placeholder?: string | undefined;
519
+ clearable?: boolean | undefined;
520
+ format?: string | undefined;
521
+ allowCustomColor?: boolean | undefined;
522
+ } & {} & {
523
523
  locale?: string | undefined;
524
524
  translate?: ((str: string, ...args: any[]) => string) | undefined;
525
525
  }>, prevState: Readonly<{}>, snapshot?: any): void;
526
526
  componentWillMount?(): void;
527
527
  UNSAFE_componentWillMount?(): void;
528
- componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & Partial<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
529
- format: string;
530
- clearable: boolean;
531
- placeholder: string;
532
- allowCustomColor: boolean;
533
- }, never>> & {
528
+ componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
529
+ placeholder?: string | undefined;
530
+ clearable?: boolean | undefined;
531
+ format?: string | undefined;
532
+ allowCustomColor?: boolean | undefined;
533
+ } & {} & {
534
534
  locale?: string | undefined;
535
535
  translate?: ((str: string, ...args: any[]) => string) | undefined;
536
536
  }>, nextContext: any): void;
537
- UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & Partial<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
538
- format: string;
539
- clearable: boolean;
540
- placeholder: string;
541
- allowCustomColor: boolean;
542
- }, never>> & {
537
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
538
+ placeholder?: string | undefined;
539
+ clearable?: boolean | undefined;
540
+ format?: string | undefined;
541
+ allowCustomColor?: boolean | undefined;
542
+ } & {} & {
543
543
  locale?: string | undefined;
544
544
  translate?: ((str: string, ...args: any[]) => string) | undefined;
545
545
  }>, nextContext: any): void;
546
- componentWillUpdate?(nextProps: Readonly<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & Partial<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
547
- format: string;
548
- clearable: boolean;
549
- placeholder: string;
550
- allowCustomColor: boolean;
551
- }, never>> & {
546
+ componentWillUpdate?(nextProps: Readonly<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
547
+ placeholder?: string | undefined;
548
+ clearable?: boolean | undefined;
549
+ format?: string | undefined;
550
+ allowCustomColor?: boolean | undefined;
551
+ } & {} & {
552
552
  locale?: string | undefined;
553
553
  translate?: ((str: string, ...args: any[]) => string) | undefined;
554
554
  }>, nextState: Readonly<{}>, nextContext: any): void;
555
- UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & Partial<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
556
- format: string;
557
- clearable: boolean;
558
- placeholder: string;
559
- allowCustomColor: boolean;
560
- }, never>> & {
555
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
556
+ placeholder?: string | undefined;
557
+ clearable?: boolean | undefined;
558
+ format?: string | undefined;
559
+ allowCustomColor?: boolean | undefined;
560
+ } & {} & {
561
561
  locale?: string | undefined;
562
562
  translate?: ((str: string, ...args: any[]) => string) | undefined;
563
563
  }>, nextState: Readonly<{}>, nextContext: any): void;
564
564
  };
565
- new (props: Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & Partial<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
566
- format: string;
567
- clearable: boolean;
568
- placeholder: string;
569
- allowCustomColor: boolean;
570
- }, never>> & {
565
+ new (props: Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
566
+ placeholder?: string | undefined;
567
+ clearable?: boolean | undefined;
568
+ format?: string | undefined;
569
+ allowCustomColor?: boolean | undefined;
570
+ } & {} & {
571
571
  locale?: string | undefined;
572
572
  translate?: ((str: string, ...args: any[]) => string) | undefined;
573
573
  }, context: any): {
574
574
  render(): JSX.Element;
575
575
  context: any;
576
- setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & Partial<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
577
- format: string;
578
- clearable: boolean;
579
- placeholder: string;
580
- allowCustomColor: boolean;
581
- }, never>> & {
576
+ setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
577
+ placeholder?: string | undefined;
578
+ clearable?: boolean | undefined;
579
+ format?: string | undefined;
580
+ allowCustomColor?: boolean | undefined;
581
+ } & {} & {
582
582
  locale?: string | undefined;
583
583
  translate?: ((str: string, ...args: any[]) => string) | undefined;
584
584
  }>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
585
585
  forceUpdate(callback?: (() => void) | undefined): void;
586
- readonly props: Readonly<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & Partial<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
587
- format: string;
588
- clearable: boolean;
589
- placeholder: string;
590
- allowCustomColor: boolean;
591
- }, never>> & {
586
+ readonly props: Readonly<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
587
+ placeholder?: string | undefined;
588
+ clearable?: boolean | undefined;
589
+ format?: string | undefined;
590
+ allowCustomColor?: boolean | undefined;
591
+ } & {} & {
592
592
  locale?: string | undefined;
593
593
  translate?: ((str: string, ...args: any[]) => string) | undefined;
594
594
  }> & Readonly<{
@@ -599,70 +599,70 @@ export declare const ColorPicker: React.LazyExoticComponent<{
599
599
  [key: string]: React.ReactInstance;
600
600
  };
601
601
  componentDidMount?(): void;
602
- shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & Partial<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
603
- format: string;
604
- clearable: boolean;
605
- placeholder: string;
606
- allowCustomColor: boolean;
607
- }, never>> & {
602
+ shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
603
+ placeholder?: string | undefined;
604
+ clearable?: boolean | undefined;
605
+ format?: string | undefined;
606
+ allowCustomColor?: boolean | 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<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & Partial<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
614
- format: string;
615
- clearable: boolean;
616
- placeholder: string;
617
- allowCustomColor: boolean;
618
- }, never>> & {
613
+ getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
614
+ placeholder?: string | undefined;
615
+ clearable?: boolean | undefined;
616
+ format?: string | undefined;
617
+ allowCustomColor?: boolean | undefined;
618
+ } & {} & {
619
619
  locale?: string | undefined;
620
620
  translate?: ((str: string, ...args: any[]) => string) | undefined;
621
621
  }>, prevState: Readonly<{}>): any;
622
- componentDidUpdate?(prevProps: Readonly<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & Partial<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
623
- format: string;
624
- clearable: boolean;
625
- placeholder: string;
626
- allowCustomColor: boolean;
627
- }, never>> & {
622
+ componentDidUpdate?(prevProps: Readonly<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
623
+ placeholder?: string | undefined;
624
+ clearable?: boolean | undefined;
625
+ format?: string | undefined;
626
+ allowCustomColor?: boolean | undefined;
627
+ } & {} & {
628
628
  locale?: string | undefined;
629
629
  translate?: ((str: string, ...args: any[]) => string) | undefined;
630
630
  }>, prevState: Readonly<{}>, snapshot?: any): void;
631
631
  componentWillMount?(): void;
632
632
  UNSAFE_componentWillMount?(): void;
633
- componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & Partial<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
634
- format: string;
635
- clearable: boolean;
636
- placeholder: string;
637
- allowCustomColor: boolean;
638
- }, never>> & {
633
+ componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
634
+ placeholder?: string | undefined;
635
+ clearable?: boolean | undefined;
636
+ format?: string | undefined;
637
+ allowCustomColor?: boolean | undefined;
638
+ } & {} & {
639
639
  locale?: string | undefined;
640
640
  translate?: ((str: string, ...args: any[]) => string) | undefined;
641
641
  }>, nextContext: any): void;
642
- UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & Partial<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
643
- format: string;
644
- clearable: boolean;
645
- placeholder: string;
646
- allowCustomColor: boolean;
647
- }, never>> & {
642
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
643
+ placeholder?: string | undefined;
644
+ clearable?: boolean | undefined;
645
+ format?: string | undefined;
646
+ allowCustomColor?: boolean | undefined;
647
+ } & {} & {
648
648
  locale?: string | undefined;
649
649
  translate?: ((str: string, ...args: any[]) => string) | undefined;
650
650
  }>, nextContext: any): void;
651
- componentWillUpdate?(nextProps: Readonly<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & Partial<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
652
- format: string;
653
- clearable: boolean;
654
- placeholder: string;
655
- allowCustomColor: boolean;
656
- }, never>> & {
651
+ componentWillUpdate?(nextProps: Readonly<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
652
+ placeholder?: string | undefined;
653
+ clearable?: boolean | undefined;
654
+ format?: string | undefined;
655
+ allowCustomColor?: boolean | undefined;
656
+ } & {} & {
657
657
  locale?: string | undefined;
658
658
  translate?: ((str: string, ...args: any[]) => string) | undefined;
659
659
  }>, nextState: Readonly<{}>, nextContext: any): void;
660
- UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & Partial<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
661
- format: string;
662
- clearable: boolean;
663
- placeholder: string;
664
- allowCustomColor: boolean;
665
- }, never>> & {
660
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
661
+ placeholder?: string | undefined;
662
+ clearable?: boolean | undefined;
663
+ format?: string | undefined;
664
+ allowCustomColor?: boolean | undefined;
665
+ } & {} & {
666
666
  locale?: string | undefined;
667
667
  translate?: ((str: string, ...args: any[]) => string) | undefined;
668
668
  }>, nextState: Readonly<{}>, nextContext: any): void;
@@ -674,41 +674,41 @@ export declare const ColorPicker: React.LazyExoticComponent<{
674
674
  ComposedComponent: typeof import("../../components/ColorPicker").ColorControl;
675
675
  }, {}> & {
676
676
  ComposedComponent: {
677
- new (props: (Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & Partial<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
678
- format: string;
679
- clearable: boolean;
680
- placeholder: string;
681
- allowCustomColor: boolean;
682
- }, never>> & {
677
+ new (props: (Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
678
+ placeholder?: string | undefined;
679
+ clearable?: boolean | undefined;
680
+ format?: string | undefined;
681
+ allowCustomColor?: boolean | undefined;
682
+ } & {} & {
683
683
  locale?: string | undefined;
684
684
  translate?: ((str: string, ...args: any[]) => string) | undefined;
685
- }) | Readonly<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & Partial<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
686
- format: string;
687
- clearable: boolean;
688
- placeholder: string;
689
- allowCustomColor: boolean;
690
- }, never>> & {
685
+ }) | Readonly<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
686
+ placeholder?: string | undefined;
687
+ clearable?: boolean | undefined;
688
+ format?: string | undefined;
689
+ allowCustomColor?: boolean | undefined;
690
+ } & {} & {
691
691
  locale?: string | undefined;
692
692
  translate?: ((str: string, ...args: any[]) => string) | undefined;
693
693
  }>): {
694
694
  render(): JSX.Element;
695
695
  context: any;
696
- setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & Partial<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
697
- format: string;
698
- clearable: boolean;
699
- placeholder: string;
700
- allowCustomColor: boolean;
701
- }, never>> & {
696
+ setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
697
+ placeholder?: string | undefined;
698
+ clearable?: boolean | undefined;
699
+ format?: string | undefined;
700
+ allowCustomColor?: boolean | undefined;
701
+ } & {} & {
702
702
  locale?: string | undefined;
703
703
  translate?: ((str: string, ...args: any[]) => string) | undefined;
704
704
  }>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
705
705
  forceUpdate(callback?: (() => void) | undefined): void;
706
- readonly props: Readonly<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & Partial<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
707
- format: string;
708
- clearable: boolean;
709
- placeholder: string;
710
- allowCustomColor: boolean;
711
- }, never>> & {
706
+ readonly props: Readonly<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
707
+ placeholder?: string | undefined;
708
+ clearable?: boolean | undefined;
709
+ format?: string | undefined;
710
+ allowCustomColor?: boolean | undefined;
711
+ } & {} & {
712
712
  locale?: string | undefined;
713
713
  translate?: ((str: string, ...args: any[]) => string) | undefined;
714
714
  }> & Readonly<{
@@ -719,101 +719,101 @@ export declare const ColorPicker: React.LazyExoticComponent<{
719
719
  [key: string]: React.ReactInstance;
720
720
  };
721
721
  componentDidMount?(): void;
722
- shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & Partial<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
723
- format: string;
724
- clearable: boolean;
725
- placeholder: string;
726
- allowCustomColor: boolean;
727
- }, never>> & {
722
+ shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
723
+ placeholder?: string | undefined;
724
+ clearable?: boolean | undefined;
725
+ format?: string | undefined;
726
+ allowCustomColor?: boolean | undefined;
727
+ } & {} & {
728
728
  locale?: string | undefined;
729
729
  translate?: ((str: string, ...args: any[]) => string) | undefined;
730
730
  }>, nextState: Readonly<{}>, nextContext: any): boolean;
731
731
  componentWillUnmount?(): void;
732
732
  componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
733
- getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & Partial<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
734
- format: string;
735
- clearable: boolean;
736
- placeholder: string;
737
- allowCustomColor: boolean;
738
- }, never>> & {
733
+ getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
734
+ placeholder?: string | undefined;
735
+ clearable?: boolean | undefined;
736
+ format?: string | undefined;
737
+ allowCustomColor?: boolean | undefined;
738
+ } & {} & {
739
739
  locale?: string | undefined;
740
740
  translate?: ((str: string, ...args: any[]) => string) | undefined;
741
741
  }>, prevState: Readonly<{}>): any;
742
- componentDidUpdate?(prevProps: Readonly<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & Partial<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
743
- format: string;
744
- clearable: boolean;
745
- placeholder: string;
746
- allowCustomColor: boolean;
747
- }, never>> & {
742
+ componentDidUpdate?(prevProps: Readonly<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
743
+ placeholder?: string | undefined;
744
+ clearable?: boolean | undefined;
745
+ format?: string | undefined;
746
+ allowCustomColor?: boolean | undefined;
747
+ } & {} & {
748
748
  locale?: string | undefined;
749
749
  translate?: ((str: string, ...args: any[]) => string) | undefined;
750
750
  }>, prevState: Readonly<{}>, snapshot?: any): void;
751
751
  componentWillMount?(): void;
752
752
  UNSAFE_componentWillMount?(): void;
753
- componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & Partial<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
754
- format: string;
755
- clearable: boolean;
756
- placeholder: string;
757
- allowCustomColor: boolean;
758
- }, never>> & {
753
+ componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
754
+ placeholder?: string | undefined;
755
+ clearable?: boolean | undefined;
756
+ format?: string | undefined;
757
+ allowCustomColor?: boolean | undefined;
758
+ } & {} & {
759
759
  locale?: string | undefined;
760
760
  translate?: ((str: string, ...args: any[]) => string) | undefined;
761
761
  }>, nextContext: any): void;
762
- UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & Partial<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
763
- format: string;
764
- clearable: boolean;
765
- placeholder: string;
766
- allowCustomColor: boolean;
767
- }, never>> & {
762
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
763
+ placeholder?: string | undefined;
764
+ clearable?: boolean | undefined;
765
+ format?: string | undefined;
766
+ allowCustomColor?: boolean | undefined;
767
+ } & {} & {
768
768
  locale?: string | undefined;
769
769
  translate?: ((str: string, ...args: any[]) => string) | undefined;
770
770
  }>, nextContext: any): void;
771
- componentWillUpdate?(nextProps: Readonly<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & Partial<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
772
- format: string;
773
- clearable: boolean;
774
- placeholder: string;
775
- allowCustomColor: boolean;
776
- }, never>> & {
771
+ componentWillUpdate?(nextProps: Readonly<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
772
+ placeholder?: string | undefined;
773
+ clearable?: boolean | undefined;
774
+ format?: string | undefined;
775
+ allowCustomColor?: boolean | 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<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & Partial<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
781
- format: string;
782
- clearable: boolean;
783
- placeholder: string;
784
- allowCustomColor: boolean;
785
- }, never>> & {
780
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
781
+ placeholder?: string | undefined;
782
+ clearable?: boolean | undefined;
783
+ format?: string | undefined;
784
+ allowCustomColor?: boolean | undefined;
785
+ } & {} & {
786
786
  locale?: string | undefined;
787
787
  translate?: ((str: string, ...args: any[]) => string) | undefined;
788
788
  }>, nextState: Readonly<{}>, nextContext: any): void;
789
789
  };
790
- new (props: Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & Partial<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
791
- format: string;
792
- clearable: boolean;
793
- placeholder: string;
794
- allowCustomColor: boolean;
795
- }, never>> & {
790
+ new (props: Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
791
+ placeholder?: string | undefined;
792
+ clearable?: boolean | undefined;
793
+ format?: string | undefined;
794
+ allowCustomColor?: boolean | undefined;
795
+ } & {} & {
796
796
  locale?: string | undefined;
797
797
  translate?: ((str: string, ...args: any[]) => string) | undefined;
798
798
  }, context: any): {
799
799
  render(): JSX.Element;
800
800
  context: any;
801
- setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & Partial<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
802
- format: string;
803
- clearable: boolean;
804
- placeholder: string;
805
- allowCustomColor: boolean;
806
- }, never>> & {
801
+ setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
802
+ placeholder?: string | undefined;
803
+ clearable?: boolean | undefined;
804
+ format?: string | undefined;
805
+ allowCustomColor?: boolean | undefined;
806
+ } & {} & {
807
807
  locale?: string | undefined;
808
808
  translate?: ((str: string, ...args: any[]) => string) | undefined;
809
809
  }>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
810
810
  forceUpdate(callback?: (() => void) | undefined): void;
811
- readonly props: Readonly<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & Partial<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
812
- format: string;
813
- clearable: boolean;
814
- placeholder: string;
815
- allowCustomColor: boolean;
816
- }, never>> & {
811
+ readonly props: Readonly<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
812
+ placeholder?: string | undefined;
813
+ clearable?: boolean | undefined;
814
+ format?: string | undefined;
815
+ allowCustomColor?: boolean | undefined;
816
+ } & {} & {
817
817
  locale?: string | undefined;
818
818
  translate?: ((str: string, ...args: any[]) => string) | undefined;
819
819
  }> & Readonly<{
@@ -824,70 +824,70 @@ export declare const ColorPicker: React.LazyExoticComponent<{
824
824
  [key: string]: React.ReactInstance;
825
825
  };
826
826
  componentDidMount?(): void;
827
- shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & Partial<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
828
- format: string;
829
- clearable: boolean;
830
- placeholder: string;
831
- allowCustomColor: boolean;
832
- }, never>> & {
827
+ shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
828
+ placeholder?: string | undefined;
829
+ clearable?: boolean | undefined;
830
+ format?: string | undefined;
831
+ allowCustomColor?: boolean | undefined;
832
+ } & {} & {
833
833
  locale?: string | undefined;
834
834
  translate?: ((str: string, ...args: any[]) => string) | undefined;
835
835
  }>, nextState: Readonly<{}>, nextContext: any): boolean;
836
836
  componentWillUnmount?(): void;
837
837
  componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
838
- getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & Partial<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
839
- format: string;
840
- clearable: boolean;
841
- placeholder: string;
842
- allowCustomColor: boolean;
843
- }, never>> & {
838
+ getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
839
+ placeholder?: string | undefined;
840
+ clearable?: boolean | undefined;
841
+ format?: string | undefined;
842
+ allowCustomColor?: boolean | undefined;
843
+ } & {} & {
844
844
  locale?: string | undefined;
845
845
  translate?: ((str: string, ...args: any[]) => string) | undefined;
846
846
  }>, prevState: Readonly<{}>): any;
847
- componentDidUpdate?(prevProps: Readonly<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & Partial<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
848
- format: string;
849
- clearable: boolean;
850
- placeholder: string;
851
- allowCustomColor: boolean;
852
- }, never>> & {
847
+ componentDidUpdate?(prevProps: Readonly<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
848
+ placeholder?: string | undefined;
849
+ clearable?: boolean | undefined;
850
+ format?: string | undefined;
851
+ allowCustomColor?: boolean | undefined;
852
+ } & {} & {
853
853
  locale?: string | undefined;
854
854
  translate?: ((str: string, ...args: any[]) => string) | undefined;
855
855
  }>, prevState: Readonly<{}>, snapshot?: any): void;
856
856
  componentWillMount?(): void;
857
857
  UNSAFE_componentWillMount?(): void;
858
- componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & Partial<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
859
- format: string;
860
- clearable: boolean;
861
- placeholder: string;
862
- allowCustomColor: boolean;
863
- }, never>> & {
858
+ componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
859
+ placeholder?: string | undefined;
860
+ clearable?: boolean | undefined;
861
+ format?: string | undefined;
862
+ allowCustomColor?: boolean | undefined;
863
+ } & {} & {
864
864
  locale?: string | undefined;
865
865
  translate?: ((str: string, ...args: any[]) => string) | undefined;
866
866
  }>, nextContext: any): void;
867
- UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & Partial<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
868
- format: string;
869
- clearable: boolean;
870
- placeholder: string;
871
- allowCustomColor: boolean;
872
- }, never>> & {
867
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
868
+ placeholder?: string | undefined;
869
+ clearable?: boolean | undefined;
870
+ format?: string | undefined;
871
+ allowCustomColor?: boolean | undefined;
872
+ } & {} & {
873
873
  locale?: string | undefined;
874
874
  translate?: ((str: string, ...args: any[]) => string) | undefined;
875
875
  }>, nextContext: any): void;
876
- componentWillUpdate?(nextProps: Readonly<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & Partial<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
877
- format: string;
878
- clearable: boolean;
879
- placeholder: string;
880
- allowCustomColor: boolean;
881
- }, never>> & {
876
+ componentWillUpdate?(nextProps: Readonly<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
877
+ placeholder?: string | undefined;
878
+ clearable?: boolean | undefined;
879
+ format?: string | undefined;
880
+ allowCustomColor?: boolean | undefined;
881
+ } & {} & {
882
882
  locale?: string | undefined;
883
883
  translate?: ((str: string, ...args: any[]) => string) | undefined;
884
884
  }>, nextState: Readonly<{}>, nextContext: any): void;
885
- UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & Partial<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
886
- format: string;
887
- clearable: boolean;
888
- placeholder: string;
889
- allowCustomColor: boolean;
890
- }, never>> & {
885
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<import("../../components/ColorPicker").ColorProps, keyof import("../../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
886
+ placeholder?: string | undefined;
887
+ clearable?: boolean | undefined;
888
+ format?: string | undefined;
889
+ allowCustomColor?: boolean | undefined;
890
+ } & {} & {
891
891
  locale?: string | undefined;
892
892
  translate?: ((str: string, ...args: any[]) => string) | undefined;
893
893
  }>, nextState: Readonly<{}>, nextContext: any): void;