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