amis 1.5.5 → 1.5.6
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/Root.js +1 -1
- package/lib/Root.js.map +2 -2
- package/lib/Schema.d.ts +1 -1
- package/lib/Schema.js.map +1 -1
- package/lib/SchemaRenderer.js +4 -4
- package/lib/SchemaRenderer.js.map +2 -2
- package/lib/components/AsideNav.d.ts +1 -1
- package/lib/components/AsideNav.js.map +1 -1
- package/lib/components/Card.d.ts +20 -20
- package/lib/components/Card.js +1 -1
- package/lib/components/Card.js.map +2 -2
- package/lib/components/CodeMirror.d.ts +26 -0
- package/lib/components/CodeMirror.js +104 -0
- package/lib/components/CodeMirror.js.map +13 -0
- package/lib/components/Collapse.d.ts +22 -21
- package/lib/components/Collapse.js +5 -7
- package/lib/components/Collapse.js.map +2 -2
- package/lib/components/CollapseGroup.d.ts +20 -20
- package/lib/components/CollapseGroup.js +5 -3
- package/lib/components/CollapseGroup.js.map +2 -2
- package/lib/components/ColorPicker.d.ts +85 -84
- package/lib/components/ColorPicker.js +15 -3
- package/lib/components/ColorPicker.js.map +2 -2
- package/lib/components/DatePicker.d.ts +84 -84
- package/lib/components/DatePicker.js +7 -3
- package/lib/components/DatePicker.js.map +2 -2
- package/lib/components/DateRangePicker.d.ts +85 -84
- package/lib/components/DateRangePicker.js +5 -3
- package/lib/components/DateRangePicker.js.map +2 -2
- package/lib/components/LocationPicker.d.ts +84 -84
- package/lib/components/MonthRangePicker.d.ts +85 -84
- package/lib/components/MonthRangePicker.js +5 -3
- package/lib/components/MonthRangePicker.js.map +2 -2
- package/lib/components/PickerContainer.d.ts +2 -1
- package/lib/components/PickerContainer.js +3 -3
- package/lib/components/PickerContainer.js.map +2 -2
- package/lib/components/PopUp.d.ts +93 -0
- package/lib/components/PopUp.js +58 -0
- package/lib/components/PopUp.js.map +13 -0
- package/lib/components/Rating.d.ts +203 -73
- package/lib/components/Rating.js +147 -31
- package/lib/components/Rating.js.map +2 -2
- package/lib/components/Select.d.ts +237 -237
- package/lib/components/Steps.d.ts +1 -0
- package/lib/components/Steps.js +5 -3
- package/lib/components/Steps.js.map +2 -2
- package/lib/components/Tabs.d.ts +20 -20
- package/lib/components/TabsTransferPicker.js +1 -1
- package/lib/components/TabsTransferPicker.js.map +2 -2
- package/lib/components/TransferPicker.d.ts +0 -1
- package/lib/components/TransferPicker.js +2 -15
- package/lib/components/TransferPicker.js.map +2 -2
- package/lib/components/formula/Editor.d.ts +560 -0
- package/lib/components/formula/Editor.js +186 -0
- package/lib/components/formula/Editor.js.map +13 -0
- package/lib/components/formula/FuncList.d.ts +67 -0
- package/lib/components/formula/FuncList.js +35 -0
- package/lib/components/formula/FuncList.js.map +13 -0
- package/lib/components/formula/Picker.d.ts +493 -0
- package/lib/components/formula/Picker.js +48 -0
- package/lib/components/formula/Picker.js.map +13 -0
- package/lib/components/formula/VariableList.d.ts +9 -0
- package/lib/components/formula/VariableList.js +15 -0
- package/lib/components/formula/VariableList.js.map +13 -0
- package/lib/components/formula/plugin.d.ts +18 -0
- package/lib/components/formula/plugin.js +136 -0
- package/lib/components/formula/plugin.js.map +13 -0
- package/lib/components/icons.js +2 -0
- package/lib/components/icons.js.map +2 -2
- package/lib/components/index.d.ts +2 -1
- package/lib/components/index.js +4 -2
- package/lib/components/index.js.map +2 -2
- package/lib/helper.css +57 -57
- package/lib/helper.css.map +1 -1
- package/lib/icons/star.js +12 -0
- package/lib/index.d.ts +1 -0
- package/lib/index.js +2 -1
- package/lib/index.js.map +2 -2
- package/lib/renderers/Collapse.js +8 -2
- package/lib/renderers/Collapse.js.map +2 -2
- package/lib/renderers/CollapseGroup.js.map +2 -2
- package/lib/renderers/Form/InputCity.d.ts +84 -84
- package/lib/renderers/Form/InputColor.d.ts +84 -84
- package/lib/renderers/Form/InputColor.js +2 -2
- package/lib/renderers/Form/InputColor.js.map +2 -2
- package/lib/renderers/Form/InputDate.js +2 -2
- package/lib/renderers/Form/InputDate.js.map +2 -2
- package/lib/renderers/Form/InputDateRange.js +2 -2
- package/lib/renderers/Form/InputDateRange.js.map +2 -2
- package/lib/renderers/Form/InputFile.js +1 -1
- package/lib/renderers/Form/InputFile.js.map +2 -2
- package/lib/renderers/Form/InputFormula.d.ts +35 -0
- package/lib/renderers/Form/InputFormula.js +25 -0
- package/lib/renderers/Form/InputFormula.js.map +13 -0
- package/lib/renderers/Form/InputImage.js +1 -1
- package/lib/renderers/Form/InputImage.js.map +2 -2
- package/lib/renderers/Form/InputMonthRange.js +2 -2
- package/lib/renderers/Form/InputMonthRange.js.map +2 -2
- package/lib/renderers/Form/InputQuarterRange.js +2 -2
- package/lib/renderers/Form/InputQuarterRange.js.map +2 -2
- package/lib/renderers/Form/InputRating.d.ts +37 -0
- package/lib/renderers/Form/InputRating.js +6 -2
- package/lib/renderers/Form/InputRating.js.map +2 -2
- package/lib/renderers/Form/InputYearRange.js +2 -2
- package/lib/renderers/Form/InputYearRange.js.map +2 -2
- package/lib/renderers/Form/TreeSelect.d.ts +1 -0
- package/lib/renderers/Form/TreeSelect.js +11 -8
- package/lib/renderers/Form/TreeSelect.js.map +2 -2
- package/lib/renderers/Json.js +7 -0
- package/lib/renderers/Json.js.map +2 -2
- package/lib/renderers/Steps.js +2 -2
- package/lib/renderers/Steps.js.map +2 -2
- package/lib/store/formItem.js +11 -1
- package/lib/store/formItem.js.map +2 -2
- package/lib/themes/ang-ie11.css +305 -10
- package/lib/themes/ang.css +305 -10
- package/lib/themes/ang.css.map +1 -1
- package/lib/themes/antd-ie11.css +305 -10
- package/lib/themes/antd.css +305 -10
- package/lib/themes/antd.css.map +1 -1
- package/lib/themes/cxd-ie11.css +306 -10
- package/lib/themes/cxd.css +306 -10
- package/lib/themes/cxd.css.map +1 -1
- package/lib/themes/dark-ie11.css +305 -10
- package/lib/themes/dark.css +305 -10
- package/lib/themes/dark.css.map +1 -1
- package/lib/themes/default.css +306 -10
- package/lib/themes/default.css.map +1 -1
- package/lib/utils/api.js +2 -2
- package/lib/utils/api.js.map +2 -2
- package/lib/utils/helper.js +2 -7
- package/lib/utils/helper.js.map +2 -2
- package/package.json +5 -3
- package/schema.json +59 -7
- package/scss/_properties.scss +3 -1
- package/scss/_variables.scss +1 -1
- package/scss/components/_formula.scss +122 -0
- package/scss/components/_popup.scss +123 -0
- package/scss/components/_steps.scss +60 -0
- package/scss/components/form/_color.scss +4 -0
- package/scss/components/form/_date-range.scss +4 -0
- package/scss/components/form/_date.scss +3 -0
- package/scss/components/form/_rating.scss +60 -21
- package/scss/components/form/_tree-select.scss +4 -0
- package/scss/helper/background/_background-color.scss +1 -1
- package/scss/helper/border/_border-color.scss +1 -1
- package/scss/helper/typography/_text-color.scss +1 -1
- package/scss/themes/_common.scss +2 -0
- package/scss/themes/_cxd-variables.scss +2 -0
- package/sdk/ang-ie11.css +922 -8
- package/sdk/ang.css +926 -10
- package/sdk/antd-ie11.css +922 -8
- package/sdk/antd.css +926 -10
- package/sdk/charts.js +17 -17
- package/sdk/codemirror.js +14 -0
- package/sdk/color-picker.js +65 -69
- package/sdk/cropperjs.js +3 -3
- package/sdk/cxd-ie11.css +922 -8
- package/sdk/cxd.css +927 -10
- package/sdk/dark-ie11.css +922 -8
- package/sdk/dark.css +926 -10
- package/sdk/exceljs.js +1 -1
- package/sdk/helper.css +57 -57
- package/sdk/helper.css.map +1 -1
- package/sdk/markdown.js +69 -69
- package/sdk/papaparse.js +1 -1
- package/sdk/renderers/Form/CityDB.js +1 -1
- package/sdk/rest.js +20 -16
- package/sdk/rich-text.js +62 -62
- package/sdk/sdk-ie11.css +922 -8
- package/sdk/sdk.css +927 -10
- package/sdk/sdk.js +1345 -1235
- package/sdk/thirds/hls.js/hls.js +18 -18
- package/sdk/thirds/mpegts.js/mpegts.js +2 -2
- package/sdk/tinymce.js +57 -57
- package/src/Root.tsx +1 -0
- package/src/Schema.ts +1 -0
- package/src/SchemaRenderer.tsx +4 -0
- package/src/components/AsideNav.tsx +1 -1
- package/src/components/Card.tsx +2 -2
- package/src/components/CodeMirror.tsx +99 -0
- package/src/components/Collapse.tsx +22 -14
- package/src/components/CollapseGroup.tsx +9 -11
- package/src/components/ColorPicker.tsx +45 -3
- package/src/components/DatePicker.tsx +33 -3
- package/src/components/DateRangePicker.tsx +17 -3
- package/src/components/MonthRangePicker.tsx +18 -4
- package/src/components/PickerContainer.tsx +10 -6
- package/src/components/PopUp.tsx +133 -0
- package/src/components/Rating.tsx +235 -47
- package/src/components/Steps.tsx +8 -3
- package/src/components/TabsTransferPicker.tsx +1 -1
- package/src/components/TransferPicker.tsx +1 -11
- package/src/components/formula/Editor.tsx +261 -0
- package/src/components/formula/FuncList.tsx +82 -0
- package/src/components/formula/Picker.tsx +86 -0
- package/src/components/formula/VariableList.tsx +49 -0
- package/src/components/formula/plugin.ts +177 -0
- package/src/components/icons.tsx +2 -0
- package/src/components/index.tsx +2 -0
- package/src/icons/star.svg +12 -0
- package/src/index.tsx +1 -0
- package/src/renderers/Collapse.tsx +27 -27
- package/src/renderers/CollapseGroup.tsx +13 -12
- package/src/renderers/Form/InputColor.tsx +2 -3
- package/src/renderers/Form/InputDate.tsx +2 -0
- package/src/renderers/Form/InputDateRange.tsx +2 -0
- package/src/renderers/Form/InputFile.tsx +1 -1
- package/src/renderers/Form/InputFormula.tsx +75 -0
- package/src/renderers/Form/InputImage.tsx +1 -1
- package/src/renderers/Form/InputMonthRange.tsx +2 -0
- package/src/renderers/Form/InputQuarterRange.tsx +2 -0
- package/src/renderers/Form/InputRating.tsx +66 -3
- package/src/renderers/Form/InputYearRange.tsx +2 -0
- package/src/renderers/Form/TreeSelect.tsx +82 -63
- package/src/renderers/Json.tsx +5 -0
- package/src/renderers/Steps.tsx +4 -2
- package/src/store/formItem.ts +15 -0
- package/src/utils/api.ts +5 -2
- package/src/utils/helper.ts +5 -14
@@ -26,6 +26,7 @@ export interface ColorProps extends LocaleProps, ThemeProps {
|
|
26
26
|
presetColors?: PresetColor[];
|
27
27
|
resetValue?: string;
|
28
28
|
allowCustomColor?: boolean;
|
29
|
+
useMobileUI?: boolean;
|
29
30
|
}
|
30
31
|
export interface ColorControlState {
|
31
32
|
isOpened: boolean;
|
@@ -64,7 +65,7 @@ export declare class ColorControl extends React.PureComponent<ColorProps, ColorC
|
|
64
65
|
render(): JSX.Element;
|
65
66
|
}
|
66
67
|
declare const _default: {
|
67
|
-
new (props: (Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "
|
68
|
+
new (props: (Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popOverContainer" | "presetColors" | "popoverClassName" | "useMobileUI"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
68
69
|
format: string;
|
69
70
|
clearable: boolean;
|
70
71
|
placeholder: string;
|
@@ -72,7 +73,7 @@ declare const _default: {
|
|
72
73
|
}, never>> & {
|
73
74
|
locale?: string | undefined;
|
74
75
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
75
|
-
}, keyof ThemeProps> & import("../theme").ThemeOutterProps) | Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "
|
76
|
+
}, keyof ThemeProps> & import("../theme").ThemeOutterProps) | Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popOverContainer" | "presetColors" | "popoverClassName" | "useMobileUI"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
76
77
|
format: string;
|
77
78
|
clearable: boolean;
|
78
79
|
placeholder: string;
|
@@ -83,7 +84,7 @@ declare const _default: {
|
|
83
84
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>): {
|
84
85
|
render(): JSX.Element;
|
85
86
|
context: any;
|
86
|
-
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "
|
87
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popOverContainer" | "presetColors" | "popoverClassName" | "useMobileUI"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
87
88
|
format: string;
|
88
89
|
clearable: boolean;
|
89
90
|
placeholder: string;
|
@@ -93,7 +94,7 @@ declare const _default: {
|
|
93
94
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
94
95
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
95
96
|
forceUpdate(callback?: (() => void) | undefined): void;
|
96
|
-
readonly props: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "
|
97
|
+
readonly props: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popOverContainer" | "presetColors" | "popoverClassName" | "useMobileUI"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
97
98
|
format: string;
|
98
99
|
clearable: boolean;
|
99
100
|
placeholder: string;
|
@@ -109,7 +110,7 @@ declare const _default: {
|
|
109
110
|
[key: string]: React.ReactInstance;
|
110
111
|
};
|
111
112
|
componentDidMount?(): void;
|
112
|
-
shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "
|
113
|
+
shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popOverContainer" | "presetColors" | "popoverClassName" | "useMobileUI"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
113
114
|
format: string;
|
114
115
|
clearable: boolean;
|
115
116
|
placeholder: string;
|
@@ -120,7 +121,7 @@ declare const _default: {
|
|
120
121
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
121
122
|
componentWillUnmount?(): void;
|
122
123
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
123
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "
|
124
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popOverContainer" | "presetColors" | "popoverClassName" | "useMobileUI"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
124
125
|
format: string;
|
125
126
|
clearable: boolean;
|
126
127
|
placeholder: string;
|
@@ -129,7 +130,7 @@ declare const _default: {
|
|
129
130
|
locale?: string | undefined;
|
130
131
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
131
132
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, prevState: Readonly<{}>): any;
|
132
|
-
componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "
|
133
|
+
componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popOverContainer" | "presetColors" | "popoverClassName" | "useMobileUI"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
133
134
|
format: string;
|
134
135
|
clearable: boolean;
|
135
136
|
placeholder: string;
|
@@ -140,7 +141,7 @@ declare const _default: {
|
|
140
141
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
141
142
|
componentWillMount?(): void;
|
142
143
|
UNSAFE_componentWillMount?(): void;
|
143
|
-
componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "
|
144
|
+
componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popOverContainer" | "presetColors" | "popoverClassName" | "useMobileUI"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
144
145
|
format: string;
|
145
146
|
clearable: boolean;
|
146
147
|
placeholder: string;
|
@@ -149,7 +150,7 @@ declare const _default: {
|
|
149
150
|
locale?: string | undefined;
|
150
151
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
151
152
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextContext: any): void;
|
152
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "
|
153
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popOverContainer" | "presetColors" | "popoverClassName" | "useMobileUI"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
153
154
|
format: string;
|
154
155
|
clearable: boolean;
|
155
156
|
placeholder: string;
|
@@ -158,7 +159,7 @@ declare const _default: {
|
|
158
159
|
locale?: string | undefined;
|
159
160
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
160
161
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextContext: any): void;
|
161
|
-
componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "
|
162
|
+
componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popOverContainer" | "presetColors" | "popoverClassName" | "useMobileUI"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
162
163
|
format: string;
|
163
164
|
clearable: boolean;
|
164
165
|
placeholder: string;
|
@@ -167,7 +168,7 @@ declare const _default: {
|
|
167
168
|
locale?: string | undefined;
|
168
169
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
169
170
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
170
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "
|
171
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popOverContainer" | "presetColors" | "popoverClassName" | "useMobileUI"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
171
172
|
format: string;
|
172
173
|
clearable: boolean;
|
173
174
|
placeholder: string;
|
@@ -177,7 +178,7 @@ declare const _default: {
|
|
177
178
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
178
179
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
179
180
|
};
|
180
|
-
new (props: Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "
|
181
|
+
new (props: Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popOverContainer" | "presetColors" | "popoverClassName" | "useMobileUI"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
181
182
|
format: string;
|
182
183
|
clearable: boolean;
|
183
184
|
placeholder: string;
|
@@ -188,7 +189,7 @@ declare const _default: {
|
|
188
189
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps, context: any): {
|
189
190
|
render(): JSX.Element;
|
190
191
|
context: any;
|
191
|
-
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "
|
192
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popOverContainer" | "presetColors" | "popoverClassName" | "useMobileUI"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
192
193
|
format: string;
|
193
194
|
clearable: boolean;
|
194
195
|
placeholder: string;
|
@@ -198,7 +199,7 @@ declare const _default: {
|
|
198
199
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
199
200
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
200
201
|
forceUpdate(callback?: (() => void) | undefined): void;
|
201
|
-
readonly props: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "
|
202
|
+
readonly props: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popOverContainer" | "presetColors" | "popoverClassName" | "useMobileUI"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
202
203
|
format: string;
|
203
204
|
clearable: boolean;
|
204
205
|
placeholder: string;
|
@@ -214,7 +215,7 @@ declare const _default: {
|
|
214
215
|
[key: string]: React.ReactInstance;
|
215
216
|
};
|
216
217
|
componentDidMount?(): void;
|
217
|
-
shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "
|
218
|
+
shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popOverContainer" | "presetColors" | "popoverClassName" | "useMobileUI"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
218
219
|
format: string;
|
219
220
|
clearable: boolean;
|
220
221
|
placeholder: string;
|
@@ -225,7 +226,7 @@ declare const _default: {
|
|
225
226
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
226
227
|
componentWillUnmount?(): void;
|
227
228
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
228
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "
|
229
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popOverContainer" | "presetColors" | "popoverClassName" | "useMobileUI"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
229
230
|
format: string;
|
230
231
|
clearable: boolean;
|
231
232
|
placeholder: string;
|
@@ -234,7 +235,7 @@ declare const _default: {
|
|
234
235
|
locale?: string | undefined;
|
235
236
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
236
237
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, prevState: Readonly<{}>): any;
|
237
|
-
componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "
|
238
|
+
componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popOverContainer" | "presetColors" | "popoverClassName" | "useMobileUI"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
238
239
|
format: string;
|
239
240
|
clearable: boolean;
|
240
241
|
placeholder: string;
|
@@ -245,7 +246,7 @@ declare const _default: {
|
|
245
246
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
246
247
|
componentWillMount?(): void;
|
247
248
|
UNSAFE_componentWillMount?(): void;
|
248
|
-
componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "
|
249
|
+
componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popOverContainer" | "presetColors" | "popoverClassName" | "useMobileUI"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
249
250
|
format: string;
|
250
251
|
clearable: boolean;
|
251
252
|
placeholder: string;
|
@@ -254,7 +255,7 @@ declare const _default: {
|
|
254
255
|
locale?: string | undefined;
|
255
256
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
256
257
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextContext: any): void;
|
257
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "
|
258
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popOverContainer" | "presetColors" | "popoverClassName" | "useMobileUI"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
258
259
|
format: string;
|
259
260
|
clearable: boolean;
|
260
261
|
placeholder: string;
|
@@ -263,7 +264,7 @@ declare const _default: {
|
|
263
264
|
locale?: string | undefined;
|
264
265
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
265
266
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextContext: any): void;
|
266
|
-
componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "
|
267
|
+
componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popOverContainer" | "presetColors" | "popoverClassName" | "useMobileUI"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
267
268
|
format: string;
|
268
269
|
clearable: boolean;
|
269
270
|
placeholder: string;
|
@@ -272,7 +273,7 @@ declare const _default: {
|
|
272
273
|
locale?: string | undefined;
|
273
274
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
274
275
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
275
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "
|
276
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popOverContainer" | "presetColors" | "popoverClassName" | "useMobileUI"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
276
277
|
format: string;
|
277
278
|
clearable: boolean;
|
278
279
|
placeholder: string;
|
@@ -285,7 +286,7 @@ declare const _default: {
|
|
285
286
|
displayName: string;
|
286
287
|
contextType: React.Context<string>;
|
287
288
|
ComposedComponent: React.ComponentType<{
|
288
|
-
new (props: (Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "
|
289
|
+
new (props: (Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popOverContainer" | "presetColors" | "popoverClassName" | "useMobileUI"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
289
290
|
format: string;
|
290
291
|
clearable: boolean;
|
291
292
|
placeholder: string;
|
@@ -293,7 +294,7 @@ declare const _default: {
|
|
293
294
|
}, never>> & {
|
294
295
|
locale?: string | undefined;
|
295
296
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
296
|
-
}) | Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "
|
297
|
+
}) | Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popOverContainer" | "presetColors" | "popoverClassName" | "useMobileUI"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
297
298
|
format: string;
|
298
299
|
clearable: boolean;
|
299
300
|
placeholder: string;
|
@@ -304,7 +305,7 @@ declare const _default: {
|
|
304
305
|
}>): {
|
305
306
|
render(): JSX.Element;
|
306
307
|
context: any;
|
307
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "
|
308
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popOverContainer" | "presetColors" | "popoverClassName" | "useMobileUI"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
308
309
|
format: string;
|
309
310
|
clearable: boolean;
|
310
311
|
placeholder: string;
|
@@ -314,7 +315,7 @@ declare const _default: {
|
|
314
315
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
315
316
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
316
317
|
forceUpdate(callback?: (() => void) | undefined): void;
|
317
|
-
readonly props: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "
|
318
|
+
readonly props: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popOverContainer" | "presetColors" | "popoverClassName" | "useMobileUI"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
318
319
|
format: string;
|
319
320
|
clearable: boolean;
|
320
321
|
placeholder: string;
|
@@ -330,7 +331,7 @@ declare const _default: {
|
|
330
331
|
[key: string]: React.ReactInstance;
|
331
332
|
};
|
332
333
|
componentDidMount?(): void;
|
333
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "
|
334
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popOverContainer" | "presetColors" | "popoverClassName" | "useMobileUI"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
334
335
|
format: string;
|
335
336
|
clearable: boolean;
|
336
337
|
placeholder: string;
|
@@ -341,7 +342,7 @@ declare const _default: {
|
|
341
342
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
342
343
|
componentWillUnmount?(): void;
|
343
344
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
344
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "
|
345
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popOverContainer" | "presetColors" | "popoverClassName" | "useMobileUI"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
345
346
|
format: string;
|
346
347
|
clearable: boolean;
|
347
348
|
placeholder: string;
|
@@ -350,7 +351,7 @@ declare const _default: {
|
|
350
351
|
locale?: string | undefined;
|
351
352
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
352
353
|
}>, prevState: Readonly<{}>): any;
|
353
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "
|
354
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popOverContainer" | "presetColors" | "popoverClassName" | "useMobileUI"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
354
355
|
format: string;
|
355
356
|
clearable: boolean;
|
356
357
|
placeholder: string;
|
@@ -361,7 +362,7 @@ declare const _default: {
|
|
361
362
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
362
363
|
componentWillMount?(): void;
|
363
364
|
UNSAFE_componentWillMount?(): void;
|
364
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "
|
365
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popOverContainer" | "presetColors" | "popoverClassName" | "useMobileUI"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
365
366
|
format: string;
|
366
367
|
clearable: boolean;
|
367
368
|
placeholder: string;
|
@@ -370,7 +371,7 @@ declare const _default: {
|
|
370
371
|
locale?: string | undefined;
|
371
372
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
372
373
|
}>, nextContext: any): void;
|
373
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "
|
374
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popOverContainer" | "presetColors" | "popoverClassName" | "useMobileUI"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
374
375
|
format: string;
|
375
376
|
clearable: boolean;
|
376
377
|
placeholder: string;
|
@@ -379,7 +380,7 @@ declare const _default: {
|
|
379
380
|
locale?: string | undefined;
|
380
381
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
381
382
|
}>, nextContext: any): void;
|
382
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "
|
383
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popOverContainer" | "presetColors" | "popoverClassName" | "useMobileUI"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
383
384
|
format: string;
|
384
385
|
clearable: boolean;
|
385
386
|
placeholder: string;
|
@@ -388,7 +389,7 @@ declare const _default: {
|
|
388
389
|
locale?: string | undefined;
|
389
390
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
390
391
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
391
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "
|
392
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popOverContainer" | "presetColors" | "popoverClassName" | "useMobileUI"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
392
393
|
format: string;
|
393
394
|
clearable: boolean;
|
394
395
|
placeholder: string;
|
@@ -398,7 +399,7 @@ declare const _default: {
|
|
398
399
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
399
400
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
400
401
|
};
|
401
|
-
new (props: Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "
|
402
|
+
new (props: Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popOverContainer" | "presetColors" | "popoverClassName" | "useMobileUI"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
402
403
|
format: string;
|
403
404
|
clearable: boolean;
|
404
405
|
placeholder: string;
|
@@ -409,7 +410,7 @@ declare const _default: {
|
|
409
410
|
}, context: any): {
|
410
411
|
render(): JSX.Element;
|
411
412
|
context: any;
|
412
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "
|
413
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popOverContainer" | "presetColors" | "popoverClassName" | "useMobileUI"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
413
414
|
format: string;
|
414
415
|
clearable: boolean;
|
415
416
|
placeholder: string;
|
@@ -419,7 +420,7 @@ declare const _default: {
|
|
419
420
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
420
421
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
421
422
|
forceUpdate(callback?: (() => void) | undefined): void;
|
422
|
-
readonly props: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "
|
423
|
+
readonly props: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popOverContainer" | "presetColors" | "popoverClassName" | "useMobileUI"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
423
424
|
format: string;
|
424
425
|
clearable: boolean;
|
425
426
|
placeholder: string;
|
@@ -435,7 +436,7 @@ declare const _default: {
|
|
435
436
|
[key: string]: React.ReactInstance;
|
436
437
|
};
|
437
438
|
componentDidMount?(): void;
|
438
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "
|
439
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popOverContainer" | "presetColors" | "popoverClassName" | "useMobileUI"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
439
440
|
format: string;
|
440
441
|
clearable: boolean;
|
441
442
|
placeholder: string;
|
@@ -446,7 +447,7 @@ declare const _default: {
|
|
446
447
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
447
448
|
componentWillUnmount?(): void;
|
448
449
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
449
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "
|
450
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popOverContainer" | "presetColors" | "popoverClassName" | "useMobileUI"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
450
451
|
format: string;
|
451
452
|
clearable: boolean;
|
452
453
|
placeholder: string;
|
@@ -455,7 +456,7 @@ declare const _default: {
|
|
455
456
|
locale?: string | undefined;
|
456
457
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
457
458
|
}>, prevState: Readonly<{}>): any;
|
458
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "
|
459
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popOverContainer" | "presetColors" | "popoverClassName" | "useMobileUI"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
459
460
|
format: string;
|
460
461
|
clearable: boolean;
|
461
462
|
placeholder: string;
|
@@ -466,7 +467,7 @@ declare const _default: {
|
|
466
467
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
467
468
|
componentWillMount?(): void;
|
468
469
|
UNSAFE_componentWillMount?(): void;
|
469
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "
|
470
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popOverContainer" | "presetColors" | "popoverClassName" | "useMobileUI"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
470
471
|
format: string;
|
471
472
|
clearable: boolean;
|
472
473
|
placeholder: string;
|
@@ -475,7 +476,7 @@ declare const _default: {
|
|
475
476
|
locale?: string | undefined;
|
476
477
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
477
478
|
}>, nextContext: any): void;
|
478
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "
|
479
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popOverContainer" | "presetColors" | "popoverClassName" | "useMobileUI"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
479
480
|
format: string;
|
480
481
|
clearable: boolean;
|
481
482
|
placeholder: string;
|
@@ -484,7 +485,7 @@ declare const _default: {
|
|
484
485
|
locale?: string | undefined;
|
485
486
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
486
487
|
}>, nextContext: any): void;
|
487
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "
|
488
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popOverContainer" | "presetColors" | "popoverClassName" | "useMobileUI"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
488
489
|
format: string;
|
489
490
|
clearable: boolean;
|
490
491
|
placeholder: string;
|
@@ -493,7 +494,7 @@ declare const _default: {
|
|
493
494
|
locale?: string | undefined;
|
494
495
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
495
496
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
496
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "
|
497
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popOverContainer" | "presetColors" | "popoverClassName" | "useMobileUI"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
497
498
|
format: string;
|
498
499
|
clearable: boolean;
|
499
500
|
placeholder: string;
|
@@ -510,7 +511,7 @@ declare const _default: {
|
|
510
511
|
ComposedComponent: typeof ColorControl;
|
511
512
|
}>;
|
512
513
|
} & import("hoist-non-react-statics").NonReactStatics<{
|
513
|
-
new (props: (Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "
|
514
|
+
new (props: (Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popOverContainer" | "presetColors" | "popoverClassName" | "useMobileUI"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
514
515
|
format: string;
|
515
516
|
clearable: boolean;
|
516
517
|
placeholder: string;
|
@@ -518,7 +519,7 @@ declare const _default: {
|
|
518
519
|
}, never>> & {
|
519
520
|
locale?: string | undefined;
|
520
521
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
521
|
-
}) | Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "
|
522
|
+
}) | Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popOverContainer" | "presetColors" | "popoverClassName" | "useMobileUI"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
522
523
|
format: string;
|
523
524
|
clearable: boolean;
|
524
525
|
placeholder: string;
|
@@ -529,7 +530,7 @@ declare const _default: {
|
|
529
530
|
}>): {
|
530
531
|
render(): JSX.Element;
|
531
532
|
context: any;
|
532
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "
|
533
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popOverContainer" | "presetColors" | "popoverClassName" | "useMobileUI"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
533
534
|
format: string;
|
534
535
|
clearable: boolean;
|
535
536
|
placeholder: string;
|
@@ -539,7 +540,7 @@ declare const _default: {
|
|
539
540
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
540
541
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
541
542
|
forceUpdate(callback?: (() => void) | undefined): void;
|
542
|
-
readonly props: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "
|
543
|
+
readonly props: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popOverContainer" | "presetColors" | "popoverClassName" | "useMobileUI"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
543
544
|
format: string;
|
544
545
|
clearable: boolean;
|
545
546
|
placeholder: string;
|
@@ -555,7 +556,7 @@ declare const _default: {
|
|
555
556
|
[key: string]: React.ReactInstance;
|
556
557
|
};
|
557
558
|
componentDidMount?(): void;
|
558
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "
|
559
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popOverContainer" | "presetColors" | "popoverClassName" | "useMobileUI"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
559
560
|
format: string;
|
560
561
|
clearable: boolean;
|
561
562
|
placeholder: string;
|
@@ -566,7 +567,7 @@ declare const _default: {
|
|
566
567
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
567
568
|
componentWillUnmount?(): void;
|
568
569
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
569
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "
|
570
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popOverContainer" | "presetColors" | "popoverClassName" | "useMobileUI"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
570
571
|
format: string;
|
571
572
|
clearable: boolean;
|
572
573
|
placeholder: string;
|
@@ -575,7 +576,7 @@ declare const _default: {
|
|
575
576
|
locale?: string | undefined;
|
576
577
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
577
578
|
}>, prevState: Readonly<{}>): any;
|
578
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "
|
579
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popOverContainer" | "presetColors" | "popoverClassName" | "useMobileUI"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
579
580
|
format: string;
|
580
581
|
clearable: boolean;
|
581
582
|
placeholder: string;
|
@@ -586,7 +587,7 @@ declare const _default: {
|
|
586
587
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
587
588
|
componentWillMount?(): void;
|
588
589
|
UNSAFE_componentWillMount?(): void;
|
589
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "
|
590
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popOverContainer" | "presetColors" | "popoverClassName" | "useMobileUI"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
590
591
|
format: string;
|
591
592
|
clearable: boolean;
|
592
593
|
placeholder: string;
|
@@ -595,7 +596,7 @@ declare const _default: {
|
|
595
596
|
locale?: string | undefined;
|
596
597
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
597
598
|
}>, nextContext: any): void;
|
598
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "
|
599
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popOverContainer" | "presetColors" | "popoverClassName" | "useMobileUI"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
599
600
|
format: string;
|
600
601
|
clearable: boolean;
|
601
602
|
placeholder: string;
|
@@ -604,7 +605,7 @@ declare const _default: {
|
|
604
605
|
locale?: string | undefined;
|
605
606
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
606
607
|
}>, nextContext: any): void;
|
607
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "
|
608
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popOverContainer" | "presetColors" | "popoverClassName" | "useMobileUI"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
608
609
|
format: string;
|
609
610
|
clearable: boolean;
|
610
611
|
placeholder: string;
|
@@ -613,7 +614,7 @@ declare const _default: {
|
|
613
614
|
locale?: string | undefined;
|
614
615
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
615
616
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
616
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "
|
617
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popOverContainer" | "presetColors" | "popoverClassName" | "useMobileUI"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
617
618
|
format: string;
|
618
619
|
clearable: boolean;
|
619
620
|
placeholder: string;
|
@@ -623,7 +624,7 @@ declare const _default: {
|
|
623
624
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
624
625
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
625
626
|
};
|
626
|
-
new (props: Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "
|
627
|
+
new (props: Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popOverContainer" | "presetColors" | "popoverClassName" | "useMobileUI"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
627
628
|
format: string;
|
628
629
|
clearable: boolean;
|
629
630
|
placeholder: string;
|
@@ -634,7 +635,7 @@ declare const _default: {
|
|
634
635
|
}, context: any): {
|
635
636
|
render(): JSX.Element;
|
636
637
|
context: any;
|
637
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "
|
638
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popOverContainer" | "presetColors" | "popoverClassName" | "useMobileUI"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
638
639
|
format: string;
|
639
640
|
clearable: boolean;
|
640
641
|
placeholder: string;
|
@@ -644,7 +645,7 @@ declare const _default: {
|
|
644
645
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
645
646
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
646
647
|
forceUpdate(callback?: (() => void) | undefined): void;
|
647
|
-
readonly props: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "
|
648
|
+
readonly props: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popOverContainer" | "presetColors" | "popoverClassName" | "useMobileUI"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
648
649
|
format: string;
|
649
650
|
clearable: boolean;
|
650
651
|
placeholder: string;
|
@@ -660,7 +661,7 @@ declare const _default: {
|
|
660
661
|
[key: string]: React.ReactInstance;
|
661
662
|
};
|
662
663
|
componentDidMount?(): void;
|
663
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "
|
664
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popOverContainer" | "presetColors" | "popoverClassName" | "useMobileUI"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
664
665
|
format: string;
|
665
666
|
clearable: boolean;
|
666
667
|
placeholder: string;
|
@@ -671,7 +672,7 @@ declare const _default: {
|
|
671
672
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
672
673
|
componentWillUnmount?(): void;
|
673
674
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
674
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "
|
675
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popOverContainer" | "presetColors" | "popoverClassName" | "useMobileUI"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
675
676
|
format: string;
|
676
677
|
clearable: boolean;
|
677
678
|
placeholder: string;
|
@@ -680,7 +681,7 @@ declare const _default: {
|
|
680
681
|
locale?: string | undefined;
|
681
682
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
682
683
|
}>, prevState: Readonly<{}>): any;
|
683
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "
|
684
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popOverContainer" | "presetColors" | "popoverClassName" | "useMobileUI"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
684
685
|
format: string;
|
685
686
|
clearable: boolean;
|
686
687
|
placeholder: string;
|
@@ -691,7 +692,7 @@ declare const _default: {
|
|
691
692
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
692
693
|
componentWillMount?(): void;
|
693
694
|
UNSAFE_componentWillMount?(): void;
|
694
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "
|
695
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popOverContainer" | "presetColors" | "popoverClassName" | "useMobileUI"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
695
696
|
format: string;
|
696
697
|
clearable: boolean;
|
697
698
|
placeholder: string;
|
@@ -700,7 +701,7 @@ declare const _default: {
|
|
700
701
|
locale?: string | undefined;
|
701
702
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
702
703
|
}>, nextContext: any): void;
|
703
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "
|
704
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popOverContainer" | "presetColors" | "popoverClassName" | "useMobileUI"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
704
705
|
format: string;
|
705
706
|
clearable: boolean;
|
706
707
|
placeholder: string;
|
@@ -709,7 +710,7 @@ declare const _default: {
|
|
709
710
|
locale?: string | undefined;
|
710
711
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
711
712
|
}>, nextContext: any): void;
|
712
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "
|
713
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popOverContainer" | "presetColors" | "popoverClassName" | "useMobileUI"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
713
714
|
format: string;
|
714
715
|
clearable: boolean;
|
715
716
|
placeholder: string;
|
@@ -718,7 +719,7 @@ declare const _default: {
|
|
718
719
|
locale?: string | undefined;
|
719
720
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
720
721
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
721
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "
|
722
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popOverContainer" | "presetColors" | "popoverClassName" | "useMobileUI"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
722
723
|
format: string;
|
723
724
|
clearable: boolean;
|
724
725
|
placeholder: string;
|
@@ -735,7 +736,7 @@ declare const _default: {
|
|
735
736
|
ComposedComponent: typeof ColorControl;
|
736
737
|
}, {}> & {
|
737
738
|
ComposedComponent: {
|
738
|
-
new (props: (Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "
|
739
|
+
new (props: (Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popOverContainer" | "presetColors" | "popoverClassName" | "useMobileUI"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
739
740
|
format: string;
|
740
741
|
clearable: boolean;
|
741
742
|
placeholder: string;
|
@@ -743,7 +744,7 @@ declare const _default: {
|
|
743
744
|
}, never>> & {
|
744
745
|
locale?: string | undefined;
|
745
746
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
746
|
-
}) | Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "
|
747
|
+
}) | Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popOverContainer" | "presetColors" | "popoverClassName" | "useMobileUI"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
747
748
|
format: string;
|
748
749
|
clearable: boolean;
|
749
750
|
placeholder: string;
|
@@ -754,7 +755,7 @@ declare const _default: {
|
|
754
755
|
}>): {
|
755
756
|
render(): JSX.Element;
|
756
757
|
context: any;
|
757
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "
|
758
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popOverContainer" | "presetColors" | "popoverClassName" | "useMobileUI"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
758
759
|
format: string;
|
759
760
|
clearable: boolean;
|
760
761
|
placeholder: string;
|
@@ -764,7 +765,7 @@ declare const _default: {
|
|
764
765
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
765
766
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
766
767
|
forceUpdate(callback?: (() => void) | undefined): void;
|
767
|
-
readonly props: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "
|
768
|
+
readonly props: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popOverContainer" | "presetColors" | "popoverClassName" | "useMobileUI"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
768
769
|
format: string;
|
769
770
|
clearable: boolean;
|
770
771
|
placeholder: string;
|
@@ -780,7 +781,7 @@ declare const _default: {
|
|
780
781
|
[key: string]: React.ReactInstance;
|
781
782
|
};
|
782
783
|
componentDidMount?(): void;
|
783
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "
|
784
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popOverContainer" | "presetColors" | "popoverClassName" | "useMobileUI"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
784
785
|
format: string;
|
785
786
|
clearable: boolean;
|
786
787
|
placeholder: string;
|
@@ -791,7 +792,7 @@ declare const _default: {
|
|
791
792
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
792
793
|
componentWillUnmount?(): void;
|
793
794
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
794
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "
|
795
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popOverContainer" | "presetColors" | "popoverClassName" | "useMobileUI"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
795
796
|
format: string;
|
796
797
|
clearable: boolean;
|
797
798
|
placeholder: string;
|
@@ -800,7 +801,7 @@ declare const _default: {
|
|
800
801
|
locale?: string | undefined;
|
801
802
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
802
803
|
}>, prevState: Readonly<{}>): any;
|
803
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "
|
804
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popOverContainer" | "presetColors" | "popoverClassName" | "useMobileUI"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
804
805
|
format: string;
|
805
806
|
clearable: boolean;
|
806
807
|
placeholder: string;
|
@@ -811,7 +812,7 @@ declare const _default: {
|
|
811
812
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
812
813
|
componentWillMount?(): void;
|
813
814
|
UNSAFE_componentWillMount?(): void;
|
814
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "
|
815
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popOverContainer" | "presetColors" | "popoverClassName" | "useMobileUI"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
815
816
|
format: string;
|
816
817
|
clearable: boolean;
|
817
818
|
placeholder: string;
|
@@ -820,7 +821,7 @@ declare const _default: {
|
|
820
821
|
locale?: string | undefined;
|
821
822
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
822
823
|
}>, nextContext: any): void;
|
823
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "
|
824
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popOverContainer" | "presetColors" | "popoverClassName" | "useMobileUI"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
824
825
|
format: string;
|
825
826
|
clearable: boolean;
|
826
827
|
placeholder: string;
|
@@ -829,7 +830,7 @@ declare const _default: {
|
|
829
830
|
locale?: string | undefined;
|
830
831
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
831
832
|
}>, nextContext: any): void;
|
832
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "
|
833
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popOverContainer" | "presetColors" | "popoverClassName" | "useMobileUI"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
833
834
|
format: string;
|
834
835
|
clearable: boolean;
|
835
836
|
placeholder: string;
|
@@ -838,7 +839,7 @@ declare const _default: {
|
|
838
839
|
locale?: string | undefined;
|
839
840
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
840
841
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
841
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "
|
842
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popOverContainer" | "presetColors" | "popoverClassName" | "useMobileUI"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
842
843
|
format: string;
|
843
844
|
clearable: boolean;
|
844
845
|
placeholder: string;
|
@@ -848,7 +849,7 @@ declare const _default: {
|
|
848
849
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
849
850
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
850
851
|
};
|
851
|
-
new (props: Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "
|
852
|
+
new (props: Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popOverContainer" | "presetColors" | "popoverClassName" | "useMobileUI"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
852
853
|
format: string;
|
853
854
|
clearable: boolean;
|
854
855
|
placeholder: string;
|
@@ -859,7 +860,7 @@ declare const _default: {
|
|
859
860
|
}, context: any): {
|
860
861
|
render(): JSX.Element;
|
861
862
|
context: any;
|
862
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "
|
863
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popOverContainer" | "presetColors" | "popoverClassName" | "useMobileUI"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
863
864
|
format: string;
|
864
865
|
clearable: boolean;
|
865
866
|
placeholder: string;
|
@@ -869,7 +870,7 @@ declare const _default: {
|
|
869
870
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
870
871
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
871
872
|
forceUpdate(callback?: (() => void) | undefined): void;
|
872
|
-
readonly props: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "
|
873
|
+
readonly props: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popOverContainer" | "presetColors" | "popoverClassName" | "useMobileUI"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
873
874
|
format: string;
|
874
875
|
clearable: boolean;
|
875
876
|
placeholder: string;
|
@@ -885,7 +886,7 @@ declare const _default: {
|
|
885
886
|
[key: string]: React.ReactInstance;
|
886
887
|
};
|
887
888
|
componentDidMount?(): void;
|
888
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "
|
889
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popOverContainer" | "presetColors" | "popoverClassName" | "useMobileUI"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
889
890
|
format: string;
|
890
891
|
clearable: boolean;
|
891
892
|
placeholder: string;
|
@@ -896,7 +897,7 @@ declare const _default: {
|
|
896
897
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
897
898
|
componentWillUnmount?(): void;
|
898
899
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
899
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "
|
900
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popOverContainer" | "presetColors" | "popoverClassName" | "useMobileUI"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
900
901
|
format: string;
|
901
902
|
clearable: boolean;
|
902
903
|
placeholder: string;
|
@@ -905,7 +906,7 @@ declare const _default: {
|
|
905
906
|
locale?: string | undefined;
|
906
907
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
907
908
|
}>, prevState: Readonly<{}>): any;
|
908
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "
|
909
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popOverContainer" | "presetColors" | "popoverClassName" | "useMobileUI"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
909
910
|
format: string;
|
910
911
|
clearable: boolean;
|
911
912
|
placeholder: string;
|
@@ -916,7 +917,7 @@ declare const _default: {
|
|
916
917
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
917
918
|
componentWillMount?(): void;
|
918
919
|
UNSAFE_componentWillMount?(): void;
|
919
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "
|
920
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popOverContainer" | "presetColors" | "popoverClassName" | "useMobileUI"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
920
921
|
format: string;
|
921
922
|
clearable: boolean;
|
922
923
|
placeholder: string;
|
@@ -925,7 +926,7 @@ declare const _default: {
|
|
925
926
|
locale?: string | undefined;
|
926
927
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
927
928
|
}>, nextContext: any): void;
|
928
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "
|
929
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popOverContainer" | "presetColors" | "popoverClassName" | "useMobileUI"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
929
930
|
format: string;
|
930
931
|
clearable: boolean;
|
931
932
|
placeholder: string;
|
@@ -934,7 +935,7 @@ declare const _default: {
|
|
934
935
|
locale?: string | undefined;
|
935
936
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
936
937
|
}>, nextContext: any): void;
|
937
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "
|
938
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popOverContainer" | "presetColors" | "popoverClassName" | "useMobileUI"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
938
939
|
format: string;
|
939
940
|
clearable: boolean;
|
940
941
|
placeholder: string;
|
@@ -943,7 +944,7 @@ declare const _default: {
|
|
943
944
|
locale?: string | undefined;
|
944
945
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
945
946
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
946
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "
|
947
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popOverContainer" | "presetColors" | "popoverClassName" | "useMobileUI"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
947
948
|
format: string;
|
948
949
|
clearable: boolean;
|
949
950
|
placeholder: string;
|