amis 1.6.0 → 1.6.1-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/components/Alert.d.ts +588 -588
- package/lib/components/Alert2.d.ts +125 -20
- package/lib/components/AnchorNav.d.ts +104 -20
- package/lib/components/ArrayInput.d.ts +420 -420
- package/lib/components/AsideNav.d.ts +125 -125
- package/lib/components/AssociatedSelection.d.ts +504 -504
- package/lib/components/Avatar.d.ts +461 -20
- package/lib/components/Button.d.ts +167 -20
- package/lib/components/CalendarMobile.d.ts +420 -84
- package/lib/components/Card.d.ts +671 -20
- package/lib/components/ChainedSelection.d.ts +504 -504
- package/lib/components/Checkbox.d.ts +104 -20
- package/lib/components/Collapse.d.ts +587 -20
- package/lib/components/CollapseGroup.d.ts +230 -20
- package/lib/components/ColorPicker.d.ts +504 -504
- package/lib/components/DatePicker.d.ts +588 -588
- package/lib/components/DateRangePicker.d.ts +1008 -1008
- package/lib/components/Drawer.d.ts +125 -20
- package/lib/components/Editor.d.ts +840 -672
- package/lib/components/GroupedSelection.d.ts +504 -504
- package/lib/components/Html.d.ts +62 -62
- package/lib/components/InputBox.d.ts +83 -83
- package/lib/components/Layout.d.ts +146 -146
- package/lib/components/ListGroup.d.ts +62 -62
- package/lib/components/ListMenu.d.ts +504 -504
- package/lib/components/LocationPicker.d.ts +336 -336
- package/lib/components/Modal.d.ts +420 -420
- package/lib/components/MonthRangePicker.d.ts +924 -924
- package/lib/components/NumberInput.d.ts +104 -20
- package/lib/components/PopUp.d.ts +672 -672
- package/lib/components/Progress.d.ts +440 -20
- package/lib/components/Radios.d.ts +167 -167
- package/lib/components/Rating.d.ts +272 -314
- package/lib/components/ResultBox.d.ts +504 -84
- package/lib/components/ResultList.d.ts +336 -84
- package/lib/components/SearchBox.d.ts +336 -336
- package/lib/components/Select.d.ts +4977 -4977
- package/lib/components/Selection.d.ts +504 -504
- package/lib/components/SparkLine.d.ts +336 -336
- package/lib/components/Spinner.d.ts +146 -146
- package/lib/components/Switch.d.ts +83 -83
- package/lib/components/TableSelection.d.ts +672 -672
- package/lib/components/Tabs.d.ts +83 -20
- package/lib/components/TitleBar.d.ts +146 -125
- package/lib/components/Toast.d.ts +504 -84
- package/lib/components/TooltipWrapper.d.ts +125 -20
- package/lib/components/Transfer.d.ts +252 -84
- package/lib/components/TransferDropDown.d.ts +252 -84
- package/lib/components/Tree.d.ts +2688 -2688
- package/lib/components/TreeSelection.d.ts +588 -588
- package/lib/components/formula/Editor.d.ts +420 -84
- package/lib/index.js +1 -1
- package/lib/renderers/Dialog.d.ts +420 -420
- package/lib/renderers/Form/InputCity.d.ts +672 -672
- package/lib/renderers/Form/InputColor.d.ts +504 -504
- package/lib/renderers/Nav.d.ts +62 -62
- package/package.json +1 -1
- package/sdk/ang-ie11.css +1 -0
- package/sdk/ang.css +1 -0
- package/sdk/antd-ie11.css +1 -0
- package/sdk/antd.css +1 -0
- package/sdk/charts.js +14 -14
- package/sdk/codemirror.js +7 -7
- package/sdk/color-picker.js +65 -65
- package/sdk/cropperjs.js +2 -2
- package/sdk/cxd-ie11.css +1 -0
- package/sdk/cxd.css +1 -0
- package/sdk/dark-ie11.css +1 -0
- package/sdk/dark.css +1 -0
- package/sdk/exceljs.js +1 -1
- package/sdk/markdown.js +69 -69
- package/sdk/papaparse.js +3 -3
- package/sdk/renderers/Form/CityDB.js +1 -1
- package/sdk/rest.js +18 -18
- package/sdk/rich-text.js +62 -62
- package/sdk/sdk-ie11.css +1 -0
- package/sdk/sdk.css +1 -0
- package/sdk/sdk.js +1318 -1253
- package/sdk/thirds/hls.js/hls.js +1 -1
- package/sdk/thirds/mpegts.js/mpegts.js +1 -1
- package/sdk/tinymce.js +57 -57
@@ -65,41 +65,41 @@ export declare class ColorControl extends React.PureComponent<ColorProps, ColorC
|
|
65
65
|
render(): JSX.Element;
|
66
66
|
}
|
67
67
|
declare const _default: {
|
68
|
-
new (props: (Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> &
|
69
|
-
|
70
|
-
clearable
|
71
|
-
|
72
|
-
allowCustomColor
|
73
|
-
}
|
68
|
+
new (props: (Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
|
69
|
+
placeholder?: string | undefined;
|
70
|
+
clearable?: boolean | undefined;
|
71
|
+
format?: string | undefined;
|
72
|
+
allowCustomColor?: boolean | undefined;
|
73
|
+
} & {} & {
|
74
74
|
locale?: string | undefined;
|
75
75
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
76
|
-
}, keyof ThemeProps> & import("../theme").ThemeOutterProps) | Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> &
|
77
|
-
|
78
|
-
clearable
|
79
|
-
|
80
|
-
allowCustomColor
|
81
|
-
}
|
76
|
+
}, keyof ThemeProps> & import("../theme").ThemeOutterProps) | Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
|
77
|
+
placeholder?: string | undefined;
|
78
|
+
clearable?: boolean | undefined;
|
79
|
+
format?: string | undefined;
|
80
|
+
allowCustomColor?: boolean | undefined;
|
81
|
+
} & {} & {
|
82
82
|
locale?: string | undefined;
|
83
83
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
84
84
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>): {
|
85
85
|
render(): JSX.Element;
|
86
86
|
context: any;
|
87
|
-
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> &
|
88
|
-
|
89
|
-
clearable
|
90
|
-
|
91
|
-
allowCustomColor
|
92
|
-
}
|
87
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
|
88
|
+
placeholder?: string | undefined;
|
89
|
+
clearable?: boolean | undefined;
|
90
|
+
format?: string | undefined;
|
91
|
+
allowCustomColor?: boolean | undefined;
|
92
|
+
} & {} & {
|
93
93
|
locale?: string | undefined;
|
94
94
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
95
95
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
96
96
|
forceUpdate(callback?: (() => void) | undefined): void;
|
97
|
-
readonly props: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> &
|
98
|
-
|
99
|
-
clearable
|
100
|
-
|
101
|
-
allowCustomColor
|
102
|
-
}
|
97
|
+
readonly props: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
|
98
|
+
placeholder?: string | undefined;
|
99
|
+
clearable?: boolean | undefined;
|
100
|
+
format?: string | undefined;
|
101
|
+
allowCustomColor?: boolean | undefined;
|
102
|
+
} & {} & {
|
103
103
|
locale?: string | undefined;
|
104
104
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
105
105
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps> & Readonly<{
|
@@ -110,101 +110,101 @@ declare const _default: {
|
|
110
110
|
[key: string]: React.ReactInstance;
|
111
111
|
};
|
112
112
|
componentDidMount?(): void;
|
113
|
-
shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> &
|
114
|
-
|
115
|
-
clearable
|
116
|
-
|
117
|
-
allowCustomColor
|
118
|
-
}
|
113
|
+
shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
|
114
|
+
placeholder?: string | undefined;
|
115
|
+
clearable?: boolean | undefined;
|
116
|
+
format?: string | undefined;
|
117
|
+
allowCustomColor?: boolean | undefined;
|
118
|
+
} & {} & {
|
119
119
|
locale?: string | undefined;
|
120
120
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
121
121
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
122
122
|
componentWillUnmount?(): void;
|
123
123
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
124
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> &
|
125
|
-
|
126
|
-
clearable
|
127
|
-
|
128
|
-
allowCustomColor
|
129
|
-
}
|
124
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
|
125
|
+
placeholder?: string | undefined;
|
126
|
+
clearable?: boolean | undefined;
|
127
|
+
format?: string | undefined;
|
128
|
+
allowCustomColor?: boolean | undefined;
|
129
|
+
} & {} & {
|
130
130
|
locale?: string | undefined;
|
131
131
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
132
132
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, prevState: Readonly<{}>): any;
|
133
|
-
componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> &
|
134
|
-
|
135
|
-
clearable
|
136
|
-
|
137
|
-
allowCustomColor
|
138
|
-
}
|
133
|
+
componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
|
134
|
+
placeholder?: string | undefined;
|
135
|
+
clearable?: boolean | undefined;
|
136
|
+
format?: string | undefined;
|
137
|
+
allowCustomColor?: boolean | undefined;
|
138
|
+
} & {} & {
|
139
139
|
locale?: string | undefined;
|
140
140
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
141
141
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
142
142
|
componentWillMount?(): void;
|
143
143
|
UNSAFE_componentWillMount?(): void;
|
144
|
-
componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> &
|
145
|
-
|
146
|
-
clearable
|
147
|
-
|
148
|
-
allowCustomColor
|
149
|
-
}
|
144
|
+
componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
|
145
|
+
placeholder?: string | undefined;
|
146
|
+
clearable?: boolean | undefined;
|
147
|
+
format?: string | undefined;
|
148
|
+
allowCustomColor?: boolean | undefined;
|
149
|
+
} & {} & {
|
150
150
|
locale?: string | undefined;
|
151
151
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
152
152
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextContext: any): void;
|
153
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> &
|
154
|
-
|
155
|
-
clearable
|
156
|
-
|
157
|
-
allowCustomColor
|
158
|
-
}
|
153
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
|
154
|
+
placeholder?: string | undefined;
|
155
|
+
clearable?: boolean | undefined;
|
156
|
+
format?: string | undefined;
|
157
|
+
allowCustomColor?: boolean | undefined;
|
158
|
+
} & {} & {
|
159
159
|
locale?: string | undefined;
|
160
160
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
161
161
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextContext: any): void;
|
162
|
-
componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> &
|
163
|
-
|
164
|
-
clearable
|
165
|
-
|
166
|
-
allowCustomColor
|
167
|
-
}
|
162
|
+
componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
|
163
|
+
placeholder?: string | undefined;
|
164
|
+
clearable?: boolean | undefined;
|
165
|
+
format?: string | undefined;
|
166
|
+
allowCustomColor?: boolean | undefined;
|
167
|
+
} & {} & {
|
168
168
|
locale?: string | undefined;
|
169
169
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
170
170
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
171
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> &
|
172
|
-
|
173
|
-
clearable
|
174
|
-
|
175
|
-
allowCustomColor
|
176
|
-
}
|
171
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
|
172
|
+
placeholder?: string | undefined;
|
173
|
+
clearable?: boolean | undefined;
|
174
|
+
format?: string | undefined;
|
175
|
+
allowCustomColor?: boolean | undefined;
|
176
|
+
} & {} & {
|
177
177
|
locale?: string | undefined;
|
178
178
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
179
179
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
180
180
|
};
|
181
|
-
new (props: Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> &
|
182
|
-
|
183
|
-
clearable
|
184
|
-
|
185
|
-
allowCustomColor
|
186
|
-
}
|
181
|
+
new (props: Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
|
182
|
+
placeholder?: string | undefined;
|
183
|
+
clearable?: boolean | undefined;
|
184
|
+
format?: string | undefined;
|
185
|
+
allowCustomColor?: boolean | undefined;
|
186
|
+
} & {} & {
|
187
187
|
locale?: string | undefined;
|
188
188
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
189
189
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps, context: any): {
|
190
190
|
render(): JSX.Element;
|
191
191
|
context: any;
|
192
|
-
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> &
|
193
|
-
|
194
|
-
clearable
|
195
|
-
|
196
|
-
allowCustomColor
|
197
|
-
}
|
192
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
|
193
|
+
placeholder?: string | undefined;
|
194
|
+
clearable?: boolean | undefined;
|
195
|
+
format?: string | undefined;
|
196
|
+
allowCustomColor?: boolean | undefined;
|
197
|
+
} & {} & {
|
198
198
|
locale?: string | undefined;
|
199
199
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
200
200
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
201
201
|
forceUpdate(callback?: (() => void) | undefined): void;
|
202
|
-
readonly props: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> &
|
203
|
-
|
204
|
-
clearable
|
205
|
-
|
206
|
-
allowCustomColor
|
207
|
-
}
|
202
|
+
readonly props: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
|
203
|
+
placeholder?: string | undefined;
|
204
|
+
clearable?: boolean | undefined;
|
205
|
+
format?: string | undefined;
|
206
|
+
allowCustomColor?: boolean | undefined;
|
207
|
+
} & {} & {
|
208
208
|
locale?: string | undefined;
|
209
209
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
210
210
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps> & Readonly<{
|
@@ -215,70 +215,70 @@ declare const _default: {
|
|
215
215
|
[key: string]: React.ReactInstance;
|
216
216
|
};
|
217
217
|
componentDidMount?(): void;
|
218
|
-
shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> &
|
219
|
-
|
220
|
-
clearable
|
221
|
-
|
222
|
-
allowCustomColor
|
223
|
-
}
|
218
|
+
shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
|
219
|
+
placeholder?: string | undefined;
|
220
|
+
clearable?: boolean | undefined;
|
221
|
+
format?: string | undefined;
|
222
|
+
allowCustomColor?: boolean | undefined;
|
223
|
+
} & {} & {
|
224
224
|
locale?: string | undefined;
|
225
225
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
226
226
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
227
227
|
componentWillUnmount?(): void;
|
228
228
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
229
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> &
|
230
|
-
|
231
|
-
clearable
|
232
|
-
|
233
|
-
allowCustomColor
|
234
|
-
}
|
229
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
|
230
|
+
placeholder?: string | undefined;
|
231
|
+
clearable?: boolean | undefined;
|
232
|
+
format?: string | undefined;
|
233
|
+
allowCustomColor?: boolean | undefined;
|
234
|
+
} & {} & {
|
235
235
|
locale?: string | undefined;
|
236
236
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
237
237
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, prevState: Readonly<{}>): any;
|
238
|
-
componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> &
|
239
|
-
|
240
|
-
clearable
|
241
|
-
|
242
|
-
allowCustomColor
|
243
|
-
}
|
238
|
+
componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
|
239
|
+
placeholder?: string | undefined;
|
240
|
+
clearable?: boolean | undefined;
|
241
|
+
format?: string | undefined;
|
242
|
+
allowCustomColor?: boolean | undefined;
|
243
|
+
} & {} & {
|
244
244
|
locale?: string | undefined;
|
245
245
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
246
246
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
247
247
|
componentWillMount?(): void;
|
248
248
|
UNSAFE_componentWillMount?(): void;
|
249
|
-
componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> &
|
250
|
-
|
251
|
-
clearable
|
252
|
-
|
253
|
-
allowCustomColor
|
254
|
-
}
|
249
|
+
componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
|
250
|
+
placeholder?: string | undefined;
|
251
|
+
clearable?: boolean | undefined;
|
252
|
+
format?: string | undefined;
|
253
|
+
allowCustomColor?: boolean | undefined;
|
254
|
+
} & {} & {
|
255
255
|
locale?: string | undefined;
|
256
256
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
257
257
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextContext: any): void;
|
258
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> &
|
259
|
-
|
260
|
-
clearable
|
261
|
-
|
262
|
-
allowCustomColor
|
263
|
-
}
|
258
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
|
259
|
+
placeholder?: string | undefined;
|
260
|
+
clearable?: boolean | undefined;
|
261
|
+
format?: string | undefined;
|
262
|
+
allowCustomColor?: boolean | undefined;
|
263
|
+
} & {} & {
|
264
264
|
locale?: string | undefined;
|
265
265
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
266
266
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextContext: any): void;
|
267
|
-
componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> &
|
268
|
-
|
269
|
-
clearable
|
270
|
-
|
271
|
-
allowCustomColor
|
272
|
-
}
|
267
|
+
componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
|
268
|
+
placeholder?: string | undefined;
|
269
|
+
clearable?: boolean | undefined;
|
270
|
+
format?: string | undefined;
|
271
|
+
allowCustomColor?: boolean | undefined;
|
272
|
+
} & {} & {
|
273
273
|
locale?: string | undefined;
|
274
274
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
275
275
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
276
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> &
|
277
|
-
|
278
|
-
clearable
|
279
|
-
|
280
|
-
allowCustomColor
|
281
|
-
}
|
276
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
|
277
|
+
placeholder?: string | undefined;
|
278
|
+
clearable?: boolean | undefined;
|
279
|
+
format?: string | undefined;
|
280
|
+
allowCustomColor?: boolean | undefined;
|
281
|
+
} & {} & {
|
282
282
|
locale?: string | undefined;
|
283
283
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
284
284
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
@@ -286,41 +286,41 @@ declare const _default: {
|
|
286
286
|
displayName: string;
|
287
287
|
contextType: React.Context<string>;
|
288
288
|
ComposedComponent: React.ComponentType<{
|
289
|
-
new (props: (Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> &
|
290
|
-
|
291
|
-
clearable
|
292
|
-
|
293
|
-
allowCustomColor
|
294
|
-
}
|
289
|
+
new (props: (Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
|
290
|
+
placeholder?: string | undefined;
|
291
|
+
clearable?: boolean | undefined;
|
292
|
+
format?: string | undefined;
|
293
|
+
allowCustomColor?: boolean | undefined;
|
294
|
+
} & {} & {
|
295
295
|
locale?: string | undefined;
|
296
296
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
297
|
-
}) | Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> &
|
298
|
-
|
299
|
-
clearable
|
300
|
-
|
301
|
-
allowCustomColor
|
302
|
-
}
|
297
|
+
}) | Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
|
298
|
+
placeholder?: string | undefined;
|
299
|
+
clearable?: boolean | undefined;
|
300
|
+
format?: string | undefined;
|
301
|
+
allowCustomColor?: boolean | undefined;
|
302
|
+
} & {} & {
|
303
303
|
locale?: string | undefined;
|
304
304
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
305
305
|
}>): {
|
306
306
|
render(): JSX.Element;
|
307
307
|
context: any;
|
308
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> &
|
309
|
-
|
310
|
-
clearable
|
311
|
-
|
312
|
-
allowCustomColor
|
313
|
-
}
|
308
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
|
309
|
+
placeholder?: string | undefined;
|
310
|
+
clearable?: boolean | undefined;
|
311
|
+
format?: string | undefined;
|
312
|
+
allowCustomColor?: boolean | undefined;
|
313
|
+
} & {} & {
|
314
314
|
locale?: string | undefined;
|
315
315
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
316
316
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
317
317
|
forceUpdate(callback?: (() => void) | undefined): void;
|
318
|
-
readonly props: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> &
|
319
|
-
|
320
|
-
clearable
|
321
|
-
|
322
|
-
allowCustomColor
|
323
|
-
}
|
318
|
+
readonly props: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
|
319
|
+
placeholder?: string | undefined;
|
320
|
+
clearable?: boolean | undefined;
|
321
|
+
format?: string | undefined;
|
322
|
+
allowCustomColor?: boolean | undefined;
|
323
|
+
} & {} & {
|
324
324
|
locale?: string | undefined;
|
325
325
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
326
326
|
}> & Readonly<{
|
@@ -331,101 +331,101 @@ declare const _default: {
|
|
331
331
|
[key: string]: React.ReactInstance;
|
332
332
|
};
|
333
333
|
componentDidMount?(): void;
|
334
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> &
|
335
|
-
|
336
|
-
clearable
|
337
|
-
|
338
|
-
allowCustomColor
|
339
|
-
}
|
334
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
|
335
|
+
placeholder?: string | undefined;
|
336
|
+
clearable?: boolean | undefined;
|
337
|
+
format?: string | undefined;
|
338
|
+
allowCustomColor?: boolean | undefined;
|
339
|
+
} & {} & {
|
340
340
|
locale?: string | undefined;
|
341
341
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
342
342
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
343
343
|
componentWillUnmount?(): void;
|
344
344
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
345
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> &
|
346
|
-
|
347
|
-
clearable
|
348
|
-
|
349
|
-
allowCustomColor
|
350
|
-
}
|
345
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
|
346
|
+
placeholder?: string | undefined;
|
347
|
+
clearable?: boolean | undefined;
|
348
|
+
format?: string | undefined;
|
349
|
+
allowCustomColor?: boolean | undefined;
|
350
|
+
} & {} & {
|
351
351
|
locale?: string | undefined;
|
352
352
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
353
353
|
}>, prevState: Readonly<{}>): any;
|
354
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> &
|
355
|
-
|
356
|
-
clearable
|
357
|
-
|
358
|
-
allowCustomColor
|
359
|
-
}
|
354
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
|
355
|
+
placeholder?: string | undefined;
|
356
|
+
clearable?: boolean | undefined;
|
357
|
+
format?: string | undefined;
|
358
|
+
allowCustomColor?: boolean | undefined;
|
359
|
+
} & {} & {
|
360
360
|
locale?: string | undefined;
|
361
361
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
362
362
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
363
363
|
componentWillMount?(): void;
|
364
364
|
UNSAFE_componentWillMount?(): void;
|
365
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> &
|
366
|
-
|
367
|
-
clearable
|
368
|
-
|
369
|
-
allowCustomColor
|
370
|
-
}
|
365
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
|
366
|
+
placeholder?: string | undefined;
|
367
|
+
clearable?: boolean | undefined;
|
368
|
+
format?: string | undefined;
|
369
|
+
allowCustomColor?: boolean | undefined;
|
370
|
+
} & {} & {
|
371
371
|
locale?: string | undefined;
|
372
372
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
373
373
|
}>, nextContext: any): void;
|
374
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> &
|
375
|
-
|
376
|
-
clearable
|
377
|
-
|
378
|
-
allowCustomColor
|
379
|
-
}
|
374
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
|
375
|
+
placeholder?: string | undefined;
|
376
|
+
clearable?: boolean | undefined;
|
377
|
+
format?: string | undefined;
|
378
|
+
allowCustomColor?: boolean | undefined;
|
379
|
+
} & {} & {
|
380
380
|
locale?: string | undefined;
|
381
381
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
382
382
|
}>, nextContext: any): void;
|
383
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> &
|
384
|
-
|
385
|
-
clearable
|
386
|
-
|
387
|
-
allowCustomColor
|
388
|
-
}
|
383
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
|
384
|
+
placeholder?: string | undefined;
|
385
|
+
clearable?: boolean | undefined;
|
386
|
+
format?: string | undefined;
|
387
|
+
allowCustomColor?: boolean | undefined;
|
388
|
+
} & {} & {
|
389
389
|
locale?: string | undefined;
|
390
390
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
391
391
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
392
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> &
|
393
|
-
|
394
|
-
clearable
|
395
|
-
|
396
|
-
allowCustomColor
|
397
|
-
}
|
392
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
|
393
|
+
placeholder?: string | undefined;
|
394
|
+
clearable?: boolean | undefined;
|
395
|
+
format?: string | undefined;
|
396
|
+
allowCustomColor?: boolean | undefined;
|
397
|
+
} & {} & {
|
398
398
|
locale?: string | undefined;
|
399
399
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
400
400
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
401
401
|
};
|
402
|
-
new (props: Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> &
|
403
|
-
|
404
|
-
clearable
|
405
|
-
|
406
|
-
allowCustomColor
|
407
|
-
}
|
402
|
+
new (props: Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
|
403
|
+
placeholder?: string | undefined;
|
404
|
+
clearable?: boolean | undefined;
|
405
|
+
format?: string | undefined;
|
406
|
+
allowCustomColor?: boolean | undefined;
|
407
|
+
} & {} & {
|
408
408
|
locale?: string | undefined;
|
409
409
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
410
410
|
}, context: any): {
|
411
411
|
render(): JSX.Element;
|
412
412
|
context: any;
|
413
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> &
|
414
|
-
|
415
|
-
clearable
|
416
|
-
|
417
|
-
allowCustomColor
|
418
|
-
}
|
413
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
|
414
|
+
placeholder?: string | undefined;
|
415
|
+
clearable?: boolean | undefined;
|
416
|
+
format?: string | undefined;
|
417
|
+
allowCustomColor?: boolean | undefined;
|
418
|
+
} & {} & {
|
419
419
|
locale?: string | undefined;
|
420
420
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
421
421
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
422
422
|
forceUpdate(callback?: (() => void) | undefined): void;
|
423
|
-
readonly props: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> &
|
424
|
-
|
425
|
-
clearable
|
426
|
-
|
427
|
-
allowCustomColor
|
428
|
-
}
|
423
|
+
readonly props: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
|
424
|
+
placeholder?: string | undefined;
|
425
|
+
clearable?: boolean | undefined;
|
426
|
+
format?: string | undefined;
|
427
|
+
allowCustomColor?: boolean | undefined;
|
428
|
+
} & {} & {
|
429
429
|
locale?: string | undefined;
|
430
430
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
431
431
|
}> & Readonly<{
|
@@ -436,70 +436,70 @@ declare const _default: {
|
|
436
436
|
[key: string]: React.ReactInstance;
|
437
437
|
};
|
438
438
|
componentDidMount?(): void;
|
439
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> &
|
440
|
-
|
441
|
-
clearable
|
442
|
-
|
443
|
-
allowCustomColor
|
444
|
-
}
|
439
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
|
440
|
+
placeholder?: string | undefined;
|
441
|
+
clearable?: boolean | undefined;
|
442
|
+
format?: string | undefined;
|
443
|
+
allowCustomColor?: boolean | undefined;
|
444
|
+
} & {} & {
|
445
445
|
locale?: string | undefined;
|
446
446
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
447
447
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
448
448
|
componentWillUnmount?(): void;
|
449
449
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
450
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> &
|
451
|
-
|
452
|
-
clearable
|
453
|
-
|
454
|
-
allowCustomColor
|
455
|
-
}
|
450
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
|
451
|
+
placeholder?: string | undefined;
|
452
|
+
clearable?: boolean | undefined;
|
453
|
+
format?: string | undefined;
|
454
|
+
allowCustomColor?: boolean | undefined;
|
455
|
+
} & {} & {
|
456
456
|
locale?: string | undefined;
|
457
457
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
458
458
|
}>, prevState: Readonly<{}>): any;
|
459
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> &
|
460
|
-
|
461
|
-
clearable
|
462
|
-
|
463
|
-
allowCustomColor
|
464
|
-
}
|
459
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
|
460
|
+
placeholder?: string | undefined;
|
461
|
+
clearable?: boolean | undefined;
|
462
|
+
format?: string | undefined;
|
463
|
+
allowCustomColor?: boolean | undefined;
|
464
|
+
} & {} & {
|
465
465
|
locale?: string | undefined;
|
466
466
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
467
467
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
468
468
|
componentWillMount?(): void;
|
469
469
|
UNSAFE_componentWillMount?(): void;
|
470
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> &
|
471
|
-
|
472
|
-
clearable
|
473
|
-
|
474
|
-
allowCustomColor
|
475
|
-
}
|
470
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
|
471
|
+
placeholder?: string | undefined;
|
472
|
+
clearable?: boolean | undefined;
|
473
|
+
format?: string | undefined;
|
474
|
+
allowCustomColor?: boolean | undefined;
|
475
|
+
} & {} & {
|
476
476
|
locale?: string | undefined;
|
477
477
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
478
478
|
}>, nextContext: any): void;
|
479
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> &
|
480
|
-
|
481
|
-
clearable
|
482
|
-
|
483
|
-
allowCustomColor
|
484
|
-
}
|
479
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
|
480
|
+
placeholder?: string | undefined;
|
481
|
+
clearable?: boolean | undefined;
|
482
|
+
format?: string | undefined;
|
483
|
+
allowCustomColor?: boolean | undefined;
|
484
|
+
} & {} & {
|
485
485
|
locale?: string | undefined;
|
486
486
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
487
487
|
}>, nextContext: any): void;
|
488
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> &
|
489
|
-
|
490
|
-
clearable
|
491
|
-
|
492
|
-
allowCustomColor
|
493
|
-
}
|
488
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
|
489
|
+
placeholder?: string | undefined;
|
490
|
+
clearable?: boolean | undefined;
|
491
|
+
format?: string | undefined;
|
492
|
+
allowCustomColor?: boolean | undefined;
|
493
|
+
} & {} & {
|
494
494
|
locale?: string | undefined;
|
495
495
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
496
496
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
497
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> &
|
498
|
-
|
499
|
-
clearable
|
500
|
-
|
501
|
-
allowCustomColor
|
502
|
-
}
|
497
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof 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): void;
|
@@ -511,41 +511,41 @@ declare const _default: {
|
|
511
511
|
ComposedComponent: typeof ColorControl;
|
512
512
|
}>;
|
513
513
|
} & import("hoist-non-react-statics").NonReactStatics<{
|
514
|
-
new (props: (Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> &
|
515
|
-
|
516
|
-
clearable
|
517
|
-
|
518
|
-
allowCustomColor
|
519
|
-
}
|
514
|
+
new (props: (Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
|
515
|
+
placeholder?: string | undefined;
|
516
|
+
clearable?: boolean | undefined;
|
517
|
+
format?: string | undefined;
|
518
|
+
allowCustomColor?: boolean | undefined;
|
519
|
+
} & {} & {
|
520
520
|
locale?: string | undefined;
|
521
521
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
522
|
-
}) | Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> &
|
523
|
-
|
524
|
-
clearable
|
525
|
-
|
526
|
-
allowCustomColor
|
527
|
-
}
|
522
|
+
}) | Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
|
523
|
+
placeholder?: string | undefined;
|
524
|
+
clearable?: boolean | undefined;
|
525
|
+
format?: string | undefined;
|
526
|
+
allowCustomColor?: boolean | undefined;
|
527
|
+
} & {} & {
|
528
528
|
locale?: string | undefined;
|
529
529
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
530
530
|
}>): {
|
531
531
|
render(): JSX.Element;
|
532
532
|
context: any;
|
533
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> &
|
534
|
-
|
535
|
-
clearable
|
536
|
-
|
537
|
-
allowCustomColor
|
538
|
-
}
|
533
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
|
534
|
+
placeholder?: string | undefined;
|
535
|
+
clearable?: boolean | undefined;
|
536
|
+
format?: string | undefined;
|
537
|
+
allowCustomColor?: boolean | undefined;
|
538
|
+
} & {} & {
|
539
539
|
locale?: string | undefined;
|
540
540
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
541
541
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
542
542
|
forceUpdate(callback?: (() => void) | undefined): void;
|
543
|
-
readonly props: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> &
|
544
|
-
|
545
|
-
clearable
|
546
|
-
|
547
|
-
allowCustomColor
|
548
|
-
}
|
543
|
+
readonly props: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
|
544
|
+
placeholder?: string | undefined;
|
545
|
+
clearable?: boolean | undefined;
|
546
|
+
format?: string | undefined;
|
547
|
+
allowCustomColor?: boolean | undefined;
|
548
|
+
} & {} & {
|
549
549
|
locale?: string | undefined;
|
550
550
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
551
551
|
}> & Readonly<{
|
@@ -556,101 +556,101 @@ declare const _default: {
|
|
556
556
|
[key: string]: React.ReactInstance;
|
557
557
|
};
|
558
558
|
componentDidMount?(): void;
|
559
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> &
|
560
|
-
|
561
|
-
clearable
|
562
|
-
|
563
|
-
allowCustomColor
|
564
|
-
}
|
559
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
|
560
|
+
placeholder?: string | undefined;
|
561
|
+
clearable?: boolean | undefined;
|
562
|
+
format?: string | undefined;
|
563
|
+
allowCustomColor?: boolean | undefined;
|
564
|
+
} & {} & {
|
565
565
|
locale?: string | undefined;
|
566
566
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
567
567
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
568
568
|
componentWillUnmount?(): void;
|
569
569
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
570
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> &
|
571
|
-
|
572
|
-
clearable
|
573
|
-
|
574
|
-
allowCustomColor
|
575
|
-
}
|
570
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
|
571
|
+
placeholder?: string | undefined;
|
572
|
+
clearable?: boolean | undefined;
|
573
|
+
format?: string | undefined;
|
574
|
+
allowCustomColor?: boolean | undefined;
|
575
|
+
} & {} & {
|
576
576
|
locale?: string | undefined;
|
577
577
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
578
578
|
}>, prevState: Readonly<{}>): any;
|
579
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> &
|
580
|
-
|
581
|
-
clearable
|
582
|
-
|
583
|
-
allowCustomColor
|
584
|
-
}
|
579
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
|
580
|
+
placeholder?: string | undefined;
|
581
|
+
clearable?: boolean | undefined;
|
582
|
+
format?: string | undefined;
|
583
|
+
allowCustomColor?: boolean | undefined;
|
584
|
+
} & {} & {
|
585
585
|
locale?: string | undefined;
|
586
586
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
587
587
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
588
588
|
componentWillMount?(): void;
|
589
589
|
UNSAFE_componentWillMount?(): void;
|
590
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> &
|
591
|
-
|
592
|
-
clearable
|
593
|
-
|
594
|
-
allowCustomColor
|
595
|
-
}
|
590
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
|
591
|
+
placeholder?: string | undefined;
|
592
|
+
clearable?: boolean | undefined;
|
593
|
+
format?: string | undefined;
|
594
|
+
allowCustomColor?: boolean | undefined;
|
595
|
+
} & {} & {
|
596
596
|
locale?: string | undefined;
|
597
597
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
598
598
|
}>, nextContext: any): void;
|
599
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> &
|
600
|
-
|
601
|
-
clearable
|
602
|
-
|
603
|
-
allowCustomColor
|
604
|
-
}
|
599
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
|
600
|
+
placeholder?: string | undefined;
|
601
|
+
clearable?: boolean | undefined;
|
602
|
+
format?: string | undefined;
|
603
|
+
allowCustomColor?: boolean | undefined;
|
604
|
+
} & {} & {
|
605
605
|
locale?: string | undefined;
|
606
606
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
607
607
|
}>, nextContext: any): void;
|
608
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> &
|
609
|
-
|
610
|
-
clearable
|
611
|
-
|
612
|
-
allowCustomColor
|
613
|
-
}
|
608
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
|
609
|
+
placeholder?: string | undefined;
|
610
|
+
clearable?: boolean | undefined;
|
611
|
+
format?: string | undefined;
|
612
|
+
allowCustomColor?: boolean | undefined;
|
613
|
+
} & {} & {
|
614
614
|
locale?: string | undefined;
|
615
615
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
616
616
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
617
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> &
|
618
|
-
|
619
|
-
clearable
|
620
|
-
|
621
|
-
allowCustomColor
|
622
|
-
}
|
617
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
|
618
|
+
placeholder?: string | undefined;
|
619
|
+
clearable?: boolean | undefined;
|
620
|
+
format?: string | undefined;
|
621
|
+
allowCustomColor?: boolean | undefined;
|
622
|
+
} & {} & {
|
623
623
|
locale?: string | undefined;
|
624
624
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
625
625
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
626
626
|
};
|
627
|
-
new (props: Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> &
|
628
|
-
|
629
|
-
clearable
|
630
|
-
|
631
|
-
allowCustomColor
|
632
|
-
}
|
627
|
+
new (props: Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
|
628
|
+
placeholder?: string | undefined;
|
629
|
+
clearable?: boolean | undefined;
|
630
|
+
format?: string | undefined;
|
631
|
+
allowCustomColor?: boolean | undefined;
|
632
|
+
} & {} & {
|
633
633
|
locale?: string | undefined;
|
634
634
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
635
635
|
}, context: any): {
|
636
636
|
render(): JSX.Element;
|
637
637
|
context: any;
|
638
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> &
|
639
|
-
|
640
|
-
clearable
|
641
|
-
|
642
|
-
allowCustomColor
|
643
|
-
}
|
638
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
|
639
|
+
placeholder?: string | undefined;
|
640
|
+
clearable?: boolean | undefined;
|
641
|
+
format?: string | undefined;
|
642
|
+
allowCustomColor?: boolean | undefined;
|
643
|
+
} & {} & {
|
644
644
|
locale?: string | undefined;
|
645
645
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
646
646
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
647
647
|
forceUpdate(callback?: (() => void) | undefined): void;
|
648
|
-
readonly props: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> &
|
649
|
-
|
650
|
-
clearable
|
651
|
-
|
652
|
-
allowCustomColor
|
653
|
-
}
|
648
|
+
readonly props: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
|
649
|
+
placeholder?: string | undefined;
|
650
|
+
clearable?: boolean | undefined;
|
651
|
+
format?: string | undefined;
|
652
|
+
allowCustomColor?: boolean | undefined;
|
653
|
+
} & {} & {
|
654
654
|
locale?: string | undefined;
|
655
655
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
656
656
|
}> & Readonly<{
|
@@ -661,70 +661,70 @@ declare const _default: {
|
|
661
661
|
[key: string]: React.ReactInstance;
|
662
662
|
};
|
663
663
|
componentDidMount?(): void;
|
664
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> &
|
665
|
-
|
666
|
-
clearable
|
667
|
-
|
668
|
-
allowCustomColor
|
669
|
-
}
|
664
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
|
665
|
+
placeholder?: string | undefined;
|
666
|
+
clearable?: boolean | undefined;
|
667
|
+
format?: string | undefined;
|
668
|
+
allowCustomColor?: boolean | undefined;
|
669
|
+
} & {} & {
|
670
670
|
locale?: string | undefined;
|
671
671
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
672
672
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
673
673
|
componentWillUnmount?(): void;
|
674
674
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
675
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> &
|
676
|
-
|
677
|
-
clearable
|
678
|
-
|
679
|
-
allowCustomColor
|
680
|
-
}
|
675
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
|
676
|
+
placeholder?: string | undefined;
|
677
|
+
clearable?: boolean | undefined;
|
678
|
+
format?: string | undefined;
|
679
|
+
allowCustomColor?: boolean | undefined;
|
680
|
+
} & {} & {
|
681
681
|
locale?: string | undefined;
|
682
682
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
683
683
|
}>, prevState: Readonly<{}>): any;
|
684
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> &
|
685
|
-
|
686
|
-
clearable
|
687
|
-
|
688
|
-
allowCustomColor
|
689
|
-
}
|
684
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
|
685
|
+
placeholder?: string | undefined;
|
686
|
+
clearable?: boolean | undefined;
|
687
|
+
format?: string | undefined;
|
688
|
+
allowCustomColor?: boolean | undefined;
|
689
|
+
} & {} & {
|
690
690
|
locale?: string | undefined;
|
691
691
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
692
692
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
693
693
|
componentWillMount?(): void;
|
694
694
|
UNSAFE_componentWillMount?(): void;
|
695
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> &
|
696
|
-
|
697
|
-
clearable
|
698
|
-
|
699
|
-
allowCustomColor
|
700
|
-
}
|
695
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
|
696
|
+
placeholder?: string | undefined;
|
697
|
+
clearable?: boolean | undefined;
|
698
|
+
format?: string | undefined;
|
699
|
+
allowCustomColor?: boolean | undefined;
|
700
|
+
} & {} & {
|
701
701
|
locale?: string | undefined;
|
702
702
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
703
703
|
}>, nextContext: any): void;
|
704
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> &
|
705
|
-
|
706
|
-
clearable
|
707
|
-
|
708
|
-
allowCustomColor
|
709
|
-
}
|
704
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
|
705
|
+
placeholder?: string | undefined;
|
706
|
+
clearable?: boolean | undefined;
|
707
|
+
format?: string | undefined;
|
708
|
+
allowCustomColor?: boolean | undefined;
|
709
|
+
} & {} & {
|
710
710
|
locale?: string | undefined;
|
711
711
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
712
712
|
}>, nextContext: any): void;
|
713
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> &
|
714
|
-
|
715
|
-
clearable
|
716
|
-
|
717
|
-
allowCustomColor
|
718
|
-
}
|
713
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
|
714
|
+
placeholder?: string | undefined;
|
715
|
+
clearable?: boolean | undefined;
|
716
|
+
format?: string | undefined;
|
717
|
+
allowCustomColor?: boolean | undefined;
|
718
|
+
} & {} & {
|
719
719
|
locale?: string | undefined;
|
720
720
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
721
721
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
722
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> &
|
723
|
-
|
724
|
-
clearable
|
725
|
-
|
726
|
-
allowCustomColor
|
727
|
-
}
|
722
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof 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): void;
|
@@ -736,41 +736,41 @@ declare const _default: {
|
|
736
736
|
ComposedComponent: typeof ColorControl;
|
737
737
|
}, {}> & {
|
738
738
|
ComposedComponent: {
|
739
|
-
new (props: (Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> &
|
740
|
-
|
741
|
-
clearable
|
742
|
-
|
743
|
-
allowCustomColor
|
744
|
-
}
|
739
|
+
new (props: (Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
|
740
|
+
placeholder?: string | undefined;
|
741
|
+
clearable?: boolean | undefined;
|
742
|
+
format?: string | undefined;
|
743
|
+
allowCustomColor?: boolean | undefined;
|
744
|
+
} & {} & {
|
745
745
|
locale?: string | undefined;
|
746
746
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
747
|
-
}) | Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> &
|
748
|
-
|
749
|
-
clearable
|
750
|
-
|
751
|
-
allowCustomColor
|
752
|
-
}
|
747
|
+
}) | Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
|
748
|
+
placeholder?: string | undefined;
|
749
|
+
clearable?: boolean | undefined;
|
750
|
+
format?: string | undefined;
|
751
|
+
allowCustomColor?: boolean | undefined;
|
752
|
+
} & {} & {
|
753
753
|
locale?: string | undefined;
|
754
754
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
755
755
|
}>): {
|
756
756
|
render(): JSX.Element;
|
757
757
|
context: any;
|
758
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> &
|
759
|
-
|
760
|
-
clearable
|
761
|
-
|
762
|
-
allowCustomColor
|
763
|
-
}
|
758
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
|
759
|
+
placeholder?: string | undefined;
|
760
|
+
clearable?: boolean | undefined;
|
761
|
+
format?: string | undefined;
|
762
|
+
allowCustomColor?: boolean | undefined;
|
763
|
+
} & {} & {
|
764
764
|
locale?: string | undefined;
|
765
765
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
766
766
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
767
767
|
forceUpdate(callback?: (() => void) | undefined): void;
|
768
|
-
readonly props: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> &
|
769
|
-
|
770
|
-
clearable
|
771
|
-
|
772
|
-
allowCustomColor
|
773
|
-
}
|
768
|
+
readonly props: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
|
769
|
+
placeholder?: string | undefined;
|
770
|
+
clearable?: boolean | undefined;
|
771
|
+
format?: string | undefined;
|
772
|
+
allowCustomColor?: boolean | undefined;
|
773
|
+
} & {} & {
|
774
774
|
locale?: string | undefined;
|
775
775
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
776
776
|
}> & Readonly<{
|
@@ -781,101 +781,101 @@ declare const _default: {
|
|
781
781
|
[key: string]: React.ReactInstance;
|
782
782
|
};
|
783
783
|
componentDidMount?(): void;
|
784
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> &
|
785
|
-
|
786
|
-
clearable
|
787
|
-
|
788
|
-
allowCustomColor
|
789
|
-
}
|
784
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
|
785
|
+
placeholder?: string | undefined;
|
786
|
+
clearable?: boolean | undefined;
|
787
|
+
format?: string | undefined;
|
788
|
+
allowCustomColor?: boolean | undefined;
|
789
|
+
} & {} & {
|
790
790
|
locale?: string | undefined;
|
791
791
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
792
792
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
793
793
|
componentWillUnmount?(): void;
|
794
794
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
795
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> &
|
796
|
-
|
797
|
-
clearable
|
798
|
-
|
799
|
-
allowCustomColor
|
800
|
-
}
|
795
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
|
796
|
+
placeholder?: string | undefined;
|
797
|
+
clearable?: boolean | undefined;
|
798
|
+
format?: string | undefined;
|
799
|
+
allowCustomColor?: boolean | undefined;
|
800
|
+
} & {} & {
|
801
801
|
locale?: string | undefined;
|
802
802
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
803
803
|
}>, prevState: Readonly<{}>): any;
|
804
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> &
|
805
|
-
|
806
|
-
clearable
|
807
|
-
|
808
|
-
allowCustomColor
|
809
|
-
}
|
804
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
|
805
|
+
placeholder?: string | undefined;
|
806
|
+
clearable?: boolean | undefined;
|
807
|
+
format?: string | undefined;
|
808
|
+
allowCustomColor?: boolean | undefined;
|
809
|
+
} & {} & {
|
810
810
|
locale?: string | undefined;
|
811
811
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
812
812
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
813
813
|
componentWillMount?(): void;
|
814
814
|
UNSAFE_componentWillMount?(): void;
|
815
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> &
|
816
|
-
|
817
|
-
clearable
|
818
|
-
|
819
|
-
allowCustomColor
|
820
|
-
}
|
815
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
|
816
|
+
placeholder?: string | undefined;
|
817
|
+
clearable?: boolean | undefined;
|
818
|
+
format?: string | undefined;
|
819
|
+
allowCustomColor?: boolean | undefined;
|
820
|
+
} & {} & {
|
821
821
|
locale?: string | undefined;
|
822
822
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
823
823
|
}>, nextContext: any): void;
|
824
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> &
|
825
|
-
|
826
|
-
clearable
|
827
|
-
|
828
|
-
allowCustomColor
|
829
|
-
}
|
824
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
|
825
|
+
placeholder?: string | undefined;
|
826
|
+
clearable?: boolean | undefined;
|
827
|
+
format?: string | undefined;
|
828
|
+
allowCustomColor?: boolean | undefined;
|
829
|
+
} & {} & {
|
830
830
|
locale?: string | undefined;
|
831
831
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
832
832
|
}>, nextContext: any): void;
|
833
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> &
|
834
|
-
|
835
|
-
clearable
|
836
|
-
|
837
|
-
allowCustomColor
|
838
|
-
}
|
833
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
|
834
|
+
placeholder?: string | undefined;
|
835
|
+
clearable?: boolean | undefined;
|
836
|
+
format?: string | undefined;
|
837
|
+
allowCustomColor?: boolean | undefined;
|
838
|
+
} & {} & {
|
839
839
|
locale?: string | undefined;
|
840
840
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
841
841
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
842
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> &
|
843
|
-
|
844
|
-
clearable
|
845
|
-
|
846
|
-
allowCustomColor
|
847
|
-
}
|
842
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
|
843
|
+
placeholder?: string | undefined;
|
844
|
+
clearable?: boolean | undefined;
|
845
|
+
format?: string | undefined;
|
846
|
+
allowCustomColor?: boolean | undefined;
|
847
|
+
} & {} & {
|
848
848
|
locale?: string | undefined;
|
849
849
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
850
850
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
851
851
|
};
|
852
|
-
new (props: Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> &
|
853
|
-
|
854
|
-
clearable
|
855
|
-
|
856
|
-
allowCustomColor
|
857
|
-
}
|
852
|
+
new (props: Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
|
853
|
+
placeholder?: string | undefined;
|
854
|
+
clearable?: boolean | undefined;
|
855
|
+
format?: string | undefined;
|
856
|
+
allowCustomColor?: boolean | undefined;
|
857
|
+
} & {} & {
|
858
858
|
locale?: string | undefined;
|
859
859
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
860
860
|
}, context: any): {
|
861
861
|
render(): JSX.Element;
|
862
862
|
context: any;
|
863
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> &
|
864
|
-
|
865
|
-
clearable
|
866
|
-
|
867
|
-
allowCustomColor
|
868
|
-
}
|
863
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
|
864
|
+
placeholder?: string | undefined;
|
865
|
+
clearable?: boolean | undefined;
|
866
|
+
format?: string | undefined;
|
867
|
+
allowCustomColor?: boolean | undefined;
|
868
|
+
} & {} & {
|
869
869
|
locale?: string | undefined;
|
870
870
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
871
871
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
872
872
|
forceUpdate(callback?: (() => void) | undefined): void;
|
873
|
-
readonly props: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> &
|
874
|
-
|
875
|
-
clearable
|
876
|
-
|
877
|
-
allowCustomColor
|
878
|
-
}
|
873
|
+
readonly props: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
|
874
|
+
placeholder?: string | undefined;
|
875
|
+
clearable?: boolean | undefined;
|
876
|
+
format?: string | undefined;
|
877
|
+
allowCustomColor?: boolean | undefined;
|
878
|
+
} & {} & {
|
879
879
|
locale?: string | undefined;
|
880
880
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
881
881
|
}> & Readonly<{
|
@@ -886,70 +886,70 @@ declare const _default: {
|
|
886
886
|
[key: string]: React.ReactInstance;
|
887
887
|
};
|
888
888
|
componentDidMount?(): void;
|
889
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> &
|
890
|
-
|
891
|
-
clearable
|
892
|
-
|
893
|
-
allowCustomColor
|
894
|
-
}
|
889
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
|
890
|
+
placeholder?: string | undefined;
|
891
|
+
clearable?: boolean | undefined;
|
892
|
+
format?: string | undefined;
|
893
|
+
allowCustomColor?: boolean | undefined;
|
894
|
+
} & {} & {
|
895
895
|
locale?: string | undefined;
|
896
896
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
897
897
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
898
898
|
componentWillUnmount?(): void;
|
899
899
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
900
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> &
|
901
|
-
|
902
|
-
clearable
|
903
|
-
|
904
|
-
allowCustomColor
|
905
|
-
}
|
900
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
|
901
|
+
placeholder?: string | undefined;
|
902
|
+
clearable?: boolean | undefined;
|
903
|
+
format?: string | undefined;
|
904
|
+
allowCustomColor?: boolean | undefined;
|
905
|
+
} & {} & {
|
906
906
|
locale?: string | undefined;
|
907
907
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
908
908
|
}>, prevState: Readonly<{}>): any;
|
909
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> &
|
910
|
-
|
911
|
-
clearable
|
912
|
-
|
913
|
-
allowCustomColor
|
914
|
-
}
|
909
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
|
910
|
+
placeholder?: string | undefined;
|
911
|
+
clearable?: boolean | undefined;
|
912
|
+
format?: string | undefined;
|
913
|
+
allowCustomColor?: boolean | undefined;
|
914
|
+
} & {} & {
|
915
915
|
locale?: string | undefined;
|
916
916
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
917
917
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
918
918
|
componentWillMount?(): void;
|
919
919
|
UNSAFE_componentWillMount?(): void;
|
920
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> &
|
921
|
-
|
922
|
-
clearable
|
923
|
-
|
924
|
-
allowCustomColor
|
925
|
-
}
|
920
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
|
921
|
+
placeholder?: string | undefined;
|
922
|
+
clearable?: boolean | undefined;
|
923
|
+
format?: string | undefined;
|
924
|
+
allowCustomColor?: boolean | undefined;
|
925
|
+
} & {} & {
|
926
926
|
locale?: string | undefined;
|
927
927
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
928
928
|
}>, nextContext: any): void;
|
929
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> &
|
930
|
-
|
931
|
-
clearable
|
932
|
-
|
933
|
-
allowCustomColor
|
934
|
-
}
|
929
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
|
930
|
+
placeholder?: string | undefined;
|
931
|
+
clearable?: boolean | undefined;
|
932
|
+
format?: string | undefined;
|
933
|
+
allowCustomColor?: boolean | undefined;
|
934
|
+
} & {} & {
|
935
935
|
locale?: string | undefined;
|
936
936
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
937
937
|
}>, nextContext: any): void;
|
938
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> &
|
939
|
-
|
940
|
-
clearable
|
941
|
-
|
942
|
-
allowCustomColor
|
943
|
-
}
|
938
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
|
939
|
+
placeholder?: string | undefined;
|
940
|
+
clearable?: boolean | undefined;
|
941
|
+
format?: string | undefined;
|
942
|
+
allowCustomColor?: boolean | undefined;
|
943
|
+
} & {} & {
|
944
944
|
locale?: string | undefined;
|
945
945
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
946
946
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
947
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> &
|
948
|
-
|
949
|
-
clearable
|
950
|
-
|
951
|
-
allowCustomColor
|
952
|
-
}
|
947
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "useMobileUI" | "popOverContainer" | "presetColors" | "popoverClassName"> & {
|
948
|
+
placeholder?: string | undefined;
|
949
|
+
clearable?: boolean | undefined;
|
950
|
+
format?: string | undefined;
|
951
|
+
allowCustomColor?: boolean | undefined;
|
952
|
+
} & {} & {
|
953
953
|
locale?: string | undefined;
|
954
954
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
955
955
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|