amis 1.9.1-beta.28 → 1.9.1-beta.30
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/components/AnchorNav.d.ts +9 -2
- package/lib/components/AnchorNav.js +32 -5
- package/lib/components/AnchorNav.js.map +2 -2
- package/lib/components/DatePicker.d.ts +41 -40
- package/lib/components/DatePicker.js +3 -5
- package/lib/components/DatePicker.js.map +2 -2
- package/lib/components/DateRangePicker.d.ts +45 -42
- package/lib/components/DateRangePicker.js +43 -11
- package/lib/components/DateRangePicker.js.map +2 -2
- package/lib/components/MonthRangePicker.d.ts +41 -40
- package/lib/components/MonthRangePicker.js +2 -2
- package/lib/components/MonthRangePicker.js.map +2 -2
- package/lib/components/SearchBox.d.ts +124 -42
- package/lib/components/SearchBox.js +181 -19
- package/lib/components/SearchBox.js.map +2 -2
- package/lib/components/Tag.d.ts +12 -10
- package/lib/components/Tag.js +18 -7
- package/lib/components/Tag.js.map +2 -2
- package/lib/components/calendar/Calendar.d.ts +1 -0
- package/lib/components/calendar/Calendar.js +8 -8
- package/lib/components/calendar/Calendar.js.map +2 -2
- package/lib/components/calendar/DaysView.d.ts +2 -1
- package/lib/components/calendar/DaysView.js +5 -4
- package/lib/components/calendar/DaysView.js.map +2 -2
- package/lib/index.js +1 -1
- package/lib/locale/de-DE.js +1 -0
- package/lib/locale/de-DE.js.map +2 -2
- package/lib/locale/en-US.js +1 -0
- package/lib/locale/en-US.js.map +2 -2
- package/lib/locale/zh-CN.js +1 -0
- package/lib/locale/zh-CN.js.map +2 -2
- package/lib/renderers/CRUD.d.ts +2 -0
- package/lib/renderers/CRUD.js +8 -2
- package/lib/renderers/CRUD.js.map +2 -2
- package/lib/renderers/Card.d.ts +7 -2
- package/lib/renderers/Card.js +11 -7
- package/lib/renderers/Card.js.map +2 -2
- package/lib/renderers/Form/InputColor.d.ts +0 -458
- package/lib/renderers/Form/InputColor.js +8 -9
- package/lib/renderers/Form/InputColor.js.map +2 -2
- package/lib/renderers/Form/InputExcel.d.ts +1 -0
- package/lib/renderers/Form/InputExcel.js +5 -0
- package/lib/renderers/Form/InputExcel.js.map +2 -2
- package/lib/renderers/Form/InputFile.d.ts +2 -2
- package/lib/renderers/Form/InputFile.js +6 -5
- package/lib/renderers/Form/InputFile.js.map +2 -2
- package/lib/renderers/Form/InputTable.js +16 -2
- package/lib/renderers/Form/InputTable.js.map +2 -2
- package/lib/renderers/Form/InputText.d.ts +8 -0
- package/lib/renderers/Form/InputText.js +8 -8
- package/lib/renderers/Form/InputText.js.map +2 -2
- package/lib/renderers/IFrame.d.ts +4 -0
- package/lib/renderers/IFrame.js +2 -2
- package/lib/renderers/IFrame.js.map +2 -2
- package/lib/renderers/Table/index.js +2 -2
- package/lib/renderers/Table/index.js.map +2 -2
- package/lib/renderers/Tag.js +2 -2
- package/lib/renderers/Tag.js.map +2 -2
- package/lib/renderers/Wizard.d.ts +1 -1
- package/lib/renderers/Wizard.js +72 -75
- package/lib/renderers/Wizard.js.map +2 -2
- package/lib/store/formItem.js +2 -1
- package/lib/store/formItem.js.map +2 -2
- package/lib/themes/ang-ie11.css +134 -21
- package/lib/themes/ang.css +138 -21
- package/lib/themes/ang.css.map +1 -1
- package/lib/themes/antd-ie11.css +134 -21
- package/lib/themes/antd.css +138 -21
- package/lib/themes/antd.css.map +1 -1
- package/lib/themes/cxd-ie11.css +134 -21
- package/lib/themes/cxd.css +138 -21
- package/lib/themes/cxd.css.map +1 -1
- package/lib/themes/dark-ie11.css +134 -21
- package/lib/themes/dark.css +138 -21
- package/lib/themes/dark.css.map +1 -1
- package/lib/themes/default-ie11.css +134 -21
- package/lib/themes/default.css +138 -21
- package/lib/themes/default.css.map +1 -1
- package/lib/utils/dom.js +3 -2
- package/lib/utils/dom.js.map +2 -2
- package/package.json +3 -3
- package/schema.json +35 -14
- package/scss/_properties.scss +5 -0
- package/scss/components/_anchor-nav.scss +1 -0
- package/scss/components/_calendar.scss +32 -14
- package/scss/components/_search-box.scss +116 -10
- package/scss/components/_tag.scss +12 -3
- package/scss/components/form/_date-range.scss +1 -1
- package/scss/components/form/_date.scss +28 -24
- package/sdk/ang-ie11.css +146 -20
- package/sdk/ang.css +150 -20
- package/sdk/antd-ie11.css +146 -20
- package/sdk/antd.css +150 -20
- package/sdk/barcode.js +51 -51
- package/sdk/charts.js +14 -14
- package/sdk/codemirror.js +7 -7
- package/sdk/cropperjs.js +2 -2
- package/sdk/cxd-ie11.css +146 -20
- package/sdk/cxd.css +150 -20
- package/sdk/dark-ie11.css +146 -20
- package/sdk/dark.css +150 -20
- package/sdk/exceljs.js +1 -1
- package/sdk/locale/de-DE.js +1 -0
- package/sdk/markdown.js +69 -69
- package/sdk/papaparse.js +1 -1
- package/sdk/renderers/Form/CityDB.js +1 -1
- package/sdk/rest.js +9 -23
- package/sdk/rich-text.js +62 -62
- package/sdk/sdk-ie11.css +146 -20
- package/sdk/sdk.css +150 -20
- package/sdk/sdk.js +1480 -1336
- package/sdk/thirds/hls.js/hls.js +1 -1
- package/sdk/thirds/mpegts.js/mpegts.js +1 -1
- package/sdk/tinymce.js +57 -57
- package/src/components/AnchorNav.tsx +48 -7
- package/src/components/DatePicker.tsx +9 -8
- package/src/components/DateRangePicker.tsx +62 -11
- package/src/components/MonthRangePicker.tsx +4 -2
- package/src/components/SearchBox.tsx +262 -29
- package/src/components/Tag.tsx +14 -3
- package/src/components/calendar/Calendar.tsx +30 -14
- package/src/components/calendar/DaysView.tsx +17 -5
- package/src/locale/de-DE.ts +1 -0
- package/src/locale/en-US.ts +1 -0
- package/src/locale/zh-CN.ts +1 -0
- package/src/renderers/CRUD.tsx +10 -0
- package/src/renderers/Card.tsx +24 -12
- package/src/renderers/Form/InputColor.tsx +14 -19
- package/src/renderers/Form/InputExcel.tsx +6 -0
- package/src/renderers/Form/InputFile.tsx +19 -18
- package/src/renderers/Form/InputTable.tsx +25 -4
- package/src/renderers/Form/InputText.tsx +20 -5
- package/src/renderers/IFrame.tsx +30 -1
- package/src/renderers/Table/index.tsx +2 -1
- package/src/renderers/Tag.tsx +2 -0
- package/src/renderers/Wizard.tsx +2 -1
- package/src/store/formItem.ts +4 -1
- package/src/utils/dom.tsx +3 -2
- package/sdk/color-picker.js +0 -130
@@ -39,6 +39,7 @@ export interface MonthRangePickerProps extends ThemeProps, LocaleProps {
|
|
39
39
|
useMobileUI?: boolean;
|
40
40
|
onFocus?: Function;
|
41
41
|
onBlur?: Function;
|
42
|
+
label?: string | false;
|
42
43
|
}
|
43
44
|
export interface MonthRangePickerState {
|
44
45
|
isOpened: boolean;
|
@@ -89,7 +90,7 @@ export declare class MonthRangePicker extends React.Component<MonthRangePickerPr
|
|
89
90
|
render(): JSX.Element;
|
90
91
|
}
|
91
92
|
declare const _default: {
|
92
|
-
new (props: Omit<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "classPrefix" | "classnames" | "data" | "embed" | "className" | "theme" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "ranges" | "popOverContainer" | "timeFormat" | "utc" | "popoverClassName"> & Partial<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "delimiter" | "joinValues" | "resetValue" | "placeholder" | "clearable" | "format" | "inputFormat" | "closeOnSelect" | "overlayPlacement">> & Partial<Pick<{
|
93
|
+
new (props: Omit<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "classPrefix" | "classnames" | "data" | "embed" | "label" | "className" | "theme" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "ranges" | "popOverContainer" | "timeFormat" | "utc" | "popoverClassName"> & Partial<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "delimiter" | "joinValues" | "resetValue" | "placeholder" | "clearable" | "format" | "inputFormat" | "closeOnSelect" | "overlayPlacement">> & Partial<Pick<{
|
93
94
|
placeholder: string;
|
94
95
|
format: string;
|
95
96
|
inputFormat: string;
|
@@ -108,7 +109,7 @@ declare const _default: {
|
|
108
109
|
getWrappedInstance(): any;
|
109
110
|
render(): JSX.Element;
|
110
111
|
context: any;
|
111
|
-
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "classPrefix" | "classnames" | "data" | "embed" | "className" | "theme" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "ranges" | "popOverContainer" | "timeFormat" | "utc" | "popoverClassName"> & Partial<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "delimiter" | "joinValues" | "resetValue" | "placeholder" | "clearable" | "format" | "inputFormat" | "closeOnSelect" | "overlayPlacement">> & Partial<Pick<{
|
112
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "classPrefix" | "classnames" | "data" | "embed" | "label" | "className" | "theme" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "ranges" | "popOverContainer" | "timeFormat" | "utc" | "popoverClassName"> & Partial<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "delimiter" | "joinValues" | "resetValue" | "placeholder" | "clearable" | "format" | "inputFormat" | "closeOnSelect" | "overlayPlacement">> & Partial<Pick<{
|
112
113
|
placeholder: string;
|
113
114
|
format: string;
|
114
115
|
inputFormat: string;
|
@@ -123,7 +124,7 @@ declare const _default: {
|
|
123
124
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
124
125
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
125
126
|
forceUpdate(callback?: (() => void) | undefined): void;
|
126
|
-
readonly props: Readonly<Omit<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "classPrefix" | "classnames" | "data" | "embed" | "className" | "theme" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "ranges" | "popOverContainer" | "timeFormat" | "utc" | "popoverClassName"> & Partial<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "delimiter" | "joinValues" | "resetValue" | "placeholder" | "clearable" | "format" | "inputFormat" | "closeOnSelect" | "overlayPlacement">> & Partial<Pick<{
|
127
|
+
readonly props: Readonly<Omit<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "classPrefix" | "classnames" | "data" | "embed" | "label" | "className" | "theme" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "ranges" | "popOverContainer" | "timeFormat" | "utc" | "popoverClassName"> & Partial<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "delimiter" | "joinValues" | "resetValue" | "placeholder" | "clearable" | "format" | "inputFormat" | "closeOnSelect" | "overlayPlacement">> & Partial<Pick<{
|
127
128
|
placeholder: string;
|
128
129
|
format: string;
|
129
130
|
inputFormat: string;
|
@@ -144,7 +145,7 @@ declare const _default: {
|
|
144
145
|
[key: string]: React.ReactInstance;
|
145
146
|
};
|
146
147
|
componentDidMount?(): void;
|
147
|
-
shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "classPrefix" | "classnames" | "data" | "embed" | "className" | "theme" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "ranges" | "popOverContainer" | "timeFormat" | "utc" | "popoverClassName"> & Partial<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "delimiter" | "joinValues" | "resetValue" | "placeholder" | "clearable" | "format" | "inputFormat" | "closeOnSelect" | "overlayPlacement">> & Partial<Pick<{
|
148
|
+
shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "classPrefix" | "classnames" | "data" | "embed" | "label" | "className" | "theme" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "ranges" | "popOverContainer" | "timeFormat" | "utc" | "popoverClassName"> & Partial<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "delimiter" | "joinValues" | "resetValue" | "placeholder" | "clearable" | "format" | "inputFormat" | "closeOnSelect" | "overlayPlacement">> & Partial<Pick<{
|
148
149
|
placeholder: string;
|
149
150
|
format: string;
|
150
151
|
inputFormat: string;
|
@@ -160,7 +161,7 @@ declare const _default: {
|
|
160
161
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
161
162
|
componentWillUnmount?(): void;
|
162
163
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
163
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "classPrefix" | "classnames" | "data" | "embed" | "className" | "theme" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "ranges" | "popOverContainer" | "timeFormat" | "utc" | "popoverClassName"> & Partial<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "delimiter" | "joinValues" | "resetValue" | "placeholder" | "clearable" | "format" | "inputFormat" | "closeOnSelect" | "overlayPlacement">> & Partial<Pick<{
|
164
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "classPrefix" | "classnames" | "data" | "embed" | "label" | "className" | "theme" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "ranges" | "popOverContainer" | "timeFormat" | "utc" | "popoverClassName"> & Partial<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "delimiter" | "joinValues" | "resetValue" | "placeholder" | "clearable" | "format" | "inputFormat" | "closeOnSelect" | "overlayPlacement">> & Partial<Pick<{
|
164
165
|
placeholder: string;
|
165
166
|
format: string;
|
166
167
|
inputFormat: string;
|
@@ -174,7 +175,7 @@ declare const _default: {
|
|
174
175
|
locale?: string | undefined;
|
175
176
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
176
177
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, prevState: Readonly<{}>): any;
|
177
|
-
componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "classPrefix" | "classnames" | "data" | "embed" | "className" | "theme" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "ranges" | "popOverContainer" | "timeFormat" | "utc" | "popoverClassName"> & Partial<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "delimiter" | "joinValues" | "resetValue" | "placeholder" | "clearable" | "format" | "inputFormat" | "closeOnSelect" | "overlayPlacement">> & Partial<Pick<{
|
178
|
+
componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "classPrefix" | "classnames" | "data" | "embed" | "label" | "className" | "theme" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "ranges" | "popOverContainer" | "timeFormat" | "utc" | "popoverClassName"> & Partial<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "delimiter" | "joinValues" | "resetValue" | "placeholder" | "clearable" | "format" | "inputFormat" | "closeOnSelect" | "overlayPlacement">> & Partial<Pick<{
|
178
179
|
placeholder: string;
|
179
180
|
format: string;
|
180
181
|
inputFormat: string;
|
@@ -190,7 +191,7 @@ declare const _default: {
|
|
190
191
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
191
192
|
componentWillMount?(): void;
|
192
193
|
UNSAFE_componentWillMount?(): void;
|
193
|
-
componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "classPrefix" | "classnames" | "data" | "embed" | "className" | "theme" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "ranges" | "popOverContainer" | "timeFormat" | "utc" | "popoverClassName"> & Partial<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "delimiter" | "joinValues" | "resetValue" | "placeholder" | "clearable" | "format" | "inputFormat" | "closeOnSelect" | "overlayPlacement">> & Partial<Pick<{
|
194
|
+
componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "classPrefix" | "classnames" | "data" | "embed" | "label" | "className" | "theme" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "ranges" | "popOverContainer" | "timeFormat" | "utc" | "popoverClassName"> & Partial<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "delimiter" | "joinValues" | "resetValue" | "placeholder" | "clearable" | "format" | "inputFormat" | "closeOnSelect" | "overlayPlacement">> & Partial<Pick<{
|
194
195
|
placeholder: string;
|
195
196
|
format: string;
|
196
197
|
inputFormat: string;
|
@@ -204,7 +205,7 @@ declare const _default: {
|
|
204
205
|
locale?: string | undefined;
|
205
206
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
206
207
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextContext: any): void;
|
207
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "classPrefix" | "classnames" | "data" | "embed" | "className" | "theme" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "ranges" | "popOverContainer" | "timeFormat" | "utc" | "popoverClassName"> & Partial<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "delimiter" | "joinValues" | "resetValue" | "placeholder" | "clearable" | "format" | "inputFormat" | "closeOnSelect" | "overlayPlacement">> & Partial<Pick<{
|
208
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "classPrefix" | "classnames" | "data" | "embed" | "label" | "className" | "theme" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "ranges" | "popOverContainer" | "timeFormat" | "utc" | "popoverClassName"> & Partial<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "delimiter" | "joinValues" | "resetValue" | "placeholder" | "clearable" | "format" | "inputFormat" | "closeOnSelect" | "overlayPlacement">> & Partial<Pick<{
|
208
209
|
placeholder: string;
|
209
210
|
format: string;
|
210
211
|
inputFormat: string;
|
@@ -218,7 +219,7 @@ declare const _default: {
|
|
218
219
|
locale?: string | undefined;
|
219
220
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
220
221
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextContext: any): void;
|
221
|
-
componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "classPrefix" | "classnames" | "data" | "embed" | "className" | "theme" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "ranges" | "popOverContainer" | "timeFormat" | "utc" | "popoverClassName"> & Partial<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "delimiter" | "joinValues" | "resetValue" | "placeholder" | "clearable" | "format" | "inputFormat" | "closeOnSelect" | "overlayPlacement">> & Partial<Pick<{
|
222
|
+
componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "classPrefix" | "classnames" | "data" | "embed" | "label" | "className" | "theme" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "ranges" | "popOverContainer" | "timeFormat" | "utc" | "popoverClassName"> & Partial<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "delimiter" | "joinValues" | "resetValue" | "placeholder" | "clearable" | "format" | "inputFormat" | "closeOnSelect" | "overlayPlacement">> & Partial<Pick<{
|
222
223
|
placeholder: string;
|
223
224
|
format: string;
|
224
225
|
inputFormat: string;
|
@@ -232,7 +233,7 @@ declare const _default: {
|
|
232
233
|
locale?: string | undefined;
|
233
234
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
234
235
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
235
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "classPrefix" | "classnames" | "data" | "embed" | "className" | "theme" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "ranges" | "popOverContainer" | "timeFormat" | "utc" | "popoverClassName"> & Partial<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "delimiter" | "joinValues" | "resetValue" | "placeholder" | "clearable" | "format" | "inputFormat" | "closeOnSelect" | "overlayPlacement">> & Partial<Pick<{
|
236
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "classPrefix" | "classnames" | "data" | "embed" | "label" | "className" | "theme" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "ranges" | "popOverContainer" | "timeFormat" | "utc" | "popoverClassName"> & Partial<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "delimiter" | "joinValues" | "resetValue" | "placeholder" | "clearable" | "format" | "inputFormat" | "closeOnSelect" | "overlayPlacement">> & Partial<Pick<{
|
236
237
|
placeholder: string;
|
237
238
|
format: string;
|
238
239
|
inputFormat: string;
|
@@ -250,7 +251,7 @@ declare const _default: {
|
|
250
251
|
displayName: string;
|
251
252
|
contextType: React.Context<string>;
|
252
253
|
ComposedComponent: React.ComponentType<{
|
253
|
-
new (props: Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "classPrefix" | "classnames" | "data" | "embed" | "className" | "theme" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "ranges" | "popOverContainer" | "timeFormat" | "utc" | "popoverClassName"> & Partial<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "delimiter" | "joinValues" | "resetValue" | "placeholder" | "clearable" | "format" | "inputFormat" | "closeOnSelect" | "overlayPlacement">> & Partial<Pick<{
|
254
|
+
new (props: Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "classPrefix" | "classnames" | "data" | "embed" | "label" | "className" | "theme" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "ranges" | "popOverContainer" | "timeFormat" | "utc" | "popoverClassName"> & Partial<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "delimiter" | "joinValues" | "resetValue" | "placeholder" | "clearable" | "format" | "inputFormat" | "closeOnSelect" | "overlayPlacement">> & Partial<Pick<{
|
254
255
|
placeholder: string;
|
255
256
|
format: string;
|
256
257
|
inputFormat: string;
|
@@ -269,7 +270,7 @@ declare const _default: {
|
|
269
270
|
getWrappedInstance(): any;
|
270
271
|
render(): JSX.Element;
|
271
272
|
context: any;
|
272
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "classPrefix" | "classnames" | "data" | "embed" | "className" | "theme" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "ranges" | "popOverContainer" | "timeFormat" | "utc" | "popoverClassName"> & Partial<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "delimiter" | "joinValues" | "resetValue" | "placeholder" | "clearable" | "format" | "inputFormat" | "closeOnSelect" | "overlayPlacement">> & Partial<Pick<{
|
273
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "classPrefix" | "classnames" | "data" | "embed" | "label" | "className" | "theme" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "ranges" | "popOverContainer" | "timeFormat" | "utc" | "popoverClassName"> & Partial<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "delimiter" | "joinValues" | "resetValue" | "placeholder" | "clearable" | "format" | "inputFormat" | "closeOnSelect" | "overlayPlacement">> & Partial<Pick<{
|
273
274
|
placeholder: string;
|
274
275
|
format: string;
|
275
276
|
inputFormat: string;
|
@@ -284,7 +285,7 @@ declare const _default: {
|
|
284
285
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
285
286
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
286
287
|
forceUpdate(callback?: (() => void) | undefined): void;
|
287
|
-
readonly props: Readonly<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "classPrefix" | "classnames" | "data" | "embed" | "className" | "theme" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "ranges" | "popOverContainer" | "timeFormat" | "utc" | "popoverClassName"> & Partial<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "delimiter" | "joinValues" | "resetValue" | "placeholder" | "clearable" | "format" | "inputFormat" | "closeOnSelect" | "overlayPlacement">> & Partial<Pick<{
|
288
|
+
readonly props: Readonly<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "classPrefix" | "classnames" | "data" | "embed" | "label" | "className" | "theme" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "ranges" | "popOverContainer" | "timeFormat" | "utc" | "popoverClassName"> & Partial<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "delimiter" | "joinValues" | "resetValue" | "placeholder" | "clearable" | "format" | "inputFormat" | "closeOnSelect" | "overlayPlacement">> & Partial<Pick<{
|
288
289
|
placeholder: string;
|
289
290
|
format: string;
|
290
291
|
inputFormat: string;
|
@@ -305,7 +306,7 @@ declare const _default: {
|
|
305
306
|
[key: string]: React.ReactInstance;
|
306
307
|
};
|
307
308
|
componentDidMount?(): void;
|
308
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "classPrefix" | "classnames" | "data" | "embed" | "className" | "theme" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "ranges" | "popOverContainer" | "timeFormat" | "utc" | "popoverClassName"> & Partial<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "delimiter" | "joinValues" | "resetValue" | "placeholder" | "clearable" | "format" | "inputFormat" | "closeOnSelect" | "overlayPlacement">> & Partial<Pick<{
|
309
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "classPrefix" | "classnames" | "data" | "embed" | "label" | "className" | "theme" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "ranges" | "popOverContainer" | "timeFormat" | "utc" | "popoverClassName"> & Partial<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "delimiter" | "joinValues" | "resetValue" | "placeholder" | "clearable" | "format" | "inputFormat" | "closeOnSelect" | "overlayPlacement">> & Partial<Pick<{
|
309
310
|
placeholder: string;
|
310
311
|
format: string;
|
311
312
|
inputFormat: string;
|
@@ -321,7 +322,7 @@ declare const _default: {
|
|
321
322
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
322
323
|
componentWillUnmount?(): void;
|
323
324
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
324
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "classPrefix" | "classnames" | "data" | "embed" | "className" | "theme" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "ranges" | "popOverContainer" | "timeFormat" | "utc" | "popoverClassName"> & Partial<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "delimiter" | "joinValues" | "resetValue" | "placeholder" | "clearable" | "format" | "inputFormat" | "closeOnSelect" | "overlayPlacement">> & Partial<Pick<{
|
325
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "classPrefix" | "classnames" | "data" | "embed" | "label" | "className" | "theme" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "ranges" | "popOverContainer" | "timeFormat" | "utc" | "popoverClassName"> & Partial<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "delimiter" | "joinValues" | "resetValue" | "placeholder" | "clearable" | "format" | "inputFormat" | "closeOnSelect" | "overlayPlacement">> & Partial<Pick<{
|
325
326
|
placeholder: string;
|
326
327
|
format: string;
|
327
328
|
inputFormat: string;
|
@@ -335,7 +336,7 @@ declare const _default: {
|
|
335
336
|
locale?: string | undefined;
|
336
337
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
337
338
|
}>, prevState: Readonly<{}>): any;
|
338
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "classPrefix" | "classnames" | "data" | "embed" | "className" | "theme" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "ranges" | "popOverContainer" | "timeFormat" | "utc" | "popoverClassName"> & Partial<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "delimiter" | "joinValues" | "resetValue" | "placeholder" | "clearable" | "format" | "inputFormat" | "closeOnSelect" | "overlayPlacement">> & Partial<Pick<{
|
339
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "classPrefix" | "classnames" | "data" | "embed" | "label" | "className" | "theme" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "ranges" | "popOverContainer" | "timeFormat" | "utc" | "popoverClassName"> & Partial<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "delimiter" | "joinValues" | "resetValue" | "placeholder" | "clearable" | "format" | "inputFormat" | "closeOnSelect" | "overlayPlacement">> & Partial<Pick<{
|
339
340
|
placeholder: string;
|
340
341
|
format: string;
|
341
342
|
inputFormat: string;
|
@@ -351,7 +352,7 @@ declare const _default: {
|
|
351
352
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
352
353
|
componentWillMount?(): void;
|
353
354
|
UNSAFE_componentWillMount?(): void;
|
354
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "classPrefix" | "classnames" | "data" | "embed" | "className" | "theme" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "ranges" | "popOverContainer" | "timeFormat" | "utc" | "popoverClassName"> & Partial<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "delimiter" | "joinValues" | "resetValue" | "placeholder" | "clearable" | "format" | "inputFormat" | "closeOnSelect" | "overlayPlacement">> & Partial<Pick<{
|
355
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "classPrefix" | "classnames" | "data" | "embed" | "label" | "className" | "theme" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "ranges" | "popOverContainer" | "timeFormat" | "utc" | "popoverClassName"> & Partial<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "delimiter" | "joinValues" | "resetValue" | "placeholder" | "clearable" | "format" | "inputFormat" | "closeOnSelect" | "overlayPlacement">> & Partial<Pick<{
|
355
356
|
placeholder: string;
|
356
357
|
format: string;
|
357
358
|
inputFormat: string;
|
@@ -365,7 +366,7 @@ declare const _default: {
|
|
365
366
|
locale?: string | undefined;
|
366
367
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
367
368
|
}>, nextContext: any): void;
|
368
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "classPrefix" | "classnames" | "data" | "embed" | "className" | "theme" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "ranges" | "popOverContainer" | "timeFormat" | "utc" | "popoverClassName"> & Partial<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "delimiter" | "joinValues" | "resetValue" | "placeholder" | "clearable" | "format" | "inputFormat" | "closeOnSelect" | "overlayPlacement">> & Partial<Pick<{
|
369
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "classPrefix" | "classnames" | "data" | "embed" | "label" | "className" | "theme" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "ranges" | "popOverContainer" | "timeFormat" | "utc" | "popoverClassName"> & Partial<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "delimiter" | "joinValues" | "resetValue" | "placeholder" | "clearable" | "format" | "inputFormat" | "closeOnSelect" | "overlayPlacement">> & Partial<Pick<{
|
369
370
|
placeholder: string;
|
370
371
|
format: string;
|
371
372
|
inputFormat: 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<MonthRangePickerProps, keyof LocaleProps>, "classPrefix" | "classnames" | "data" | "embed" | "className" | "theme" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "ranges" | "popOverContainer" | "timeFormat" | "utc" | "popoverClassName"> & Partial<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "delimiter" | "joinValues" | "resetValue" | "placeholder" | "clearable" | "format" | "inputFormat" | "closeOnSelect" | "overlayPlacement">> & Partial<Pick<{
|
383
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "classPrefix" | "classnames" | "data" | "embed" | "label" | "className" | "theme" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "ranges" | "popOverContainer" | "timeFormat" | "utc" | "popoverClassName"> & Partial<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "delimiter" | "joinValues" | "resetValue" | "placeholder" | "clearable" | "format" | "inputFormat" | "closeOnSelect" | "overlayPlacement">> & Partial<Pick<{
|
383
384
|
placeholder: string;
|
384
385
|
format: string;
|
385
386
|
inputFormat: string;
|
@@ -393,7 +394,7 @@ declare const _default: {
|
|
393
394
|
locale?: string | undefined;
|
394
395
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
395
396
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
396
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "classPrefix" | "classnames" | "data" | "embed" | "className" | "theme" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "ranges" | "popOverContainer" | "timeFormat" | "utc" | "popoverClassName"> & Partial<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "delimiter" | "joinValues" | "resetValue" | "placeholder" | "clearable" | "format" | "inputFormat" | "closeOnSelect" | "overlayPlacement">> & Partial<Pick<{
|
397
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "classPrefix" | "classnames" | "data" | "embed" | "label" | "className" | "theme" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "ranges" | "popOverContainer" | "timeFormat" | "utc" | "popoverClassName"> & Partial<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "delimiter" | "joinValues" | "resetValue" | "placeholder" | "clearable" | "format" | "inputFormat" | "closeOnSelect" | "overlayPlacement">> & Partial<Pick<{
|
397
398
|
placeholder: string;
|
398
399
|
format: string;
|
399
400
|
inputFormat: string;
|
@@ -415,7 +416,7 @@ declare const _default: {
|
|
415
416
|
ComposedComponent: typeof MonthRangePicker;
|
416
417
|
}>;
|
417
418
|
} & import("hoist-non-react-statics").NonReactStatics<{
|
418
|
-
new (props: Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "classPrefix" | "classnames" | "data" | "embed" | "className" | "theme" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "ranges" | "popOverContainer" | "timeFormat" | "utc" | "popoverClassName"> & Partial<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "delimiter" | "joinValues" | "resetValue" | "placeholder" | "clearable" | "format" | "inputFormat" | "closeOnSelect" | "overlayPlacement">> & Partial<Pick<{
|
419
|
+
new (props: Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "classPrefix" | "classnames" | "data" | "embed" | "label" | "className" | "theme" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "ranges" | "popOverContainer" | "timeFormat" | "utc" | "popoverClassName"> & Partial<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "delimiter" | "joinValues" | "resetValue" | "placeholder" | "clearable" | "format" | "inputFormat" | "closeOnSelect" | "overlayPlacement">> & Partial<Pick<{
|
419
420
|
placeholder: string;
|
420
421
|
format: string;
|
421
422
|
inputFormat: string;
|
@@ -434,7 +435,7 @@ declare const _default: {
|
|
434
435
|
getWrappedInstance(): any;
|
435
436
|
render(): JSX.Element;
|
436
437
|
context: any;
|
437
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "classPrefix" | "classnames" | "data" | "embed" | "className" | "theme" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "ranges" | "popOverContainer" | "timeFormat" | "utc" | "popoverClassName"> & Partial<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "delimiter" | "joinValues" | "resetValue" | "placeholder" | "clearable" | "format" | "inputFormat" | "closeOnSelect" | "overlayPlacement">> & Partial<Pick<{
|
438
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "classPrefix" | "classnames" | "data" | "embed" | "label" | "className" | "theme" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "ranges" | "popOverContainer" | "timeFormat" | "utc" | "popoverClassName"> & Partial<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "delimiter" | "joinValues" | "resetValue" | "placeholder" | "clearable" | "format" | "inputFormat" | "closeOnSelect" | "overlayPlacement">> & Partial<Pick<{
|
438
439
|
placeholder: string;
|
439
440
|
format: string;
|
440
441
|
inputFormat: string;
|
@@ -449,7 +450,7 @@ declare const _default: {
|
|
449
450
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
450
451
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
451
452
|
forceUpdate(callback?: (() => void) | undefined): void;
|
452
|
-
readonly props: Readonly<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "classPrefix" | "classnames" | "data" | "embed" | "className" | "theme" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "ranges" | "popOverContainer" | "timeFormat" | "utc" | "popoverClassName"> & Partial<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "delimiter" | "joinValues" | "resetValue" | "placeholder" | "clearable" | "format" | "inputFormat" | "closeOnSelect" | "overlayPlacement">> & Partial<Pick<{
|
453
|
+
readonly props: Readonly<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "classPrefix" | "classnames" | "data" | "embed" | "label" | "className" | "theme" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "ranges" | "popOverContainer" | "timeFormat" | "utc" | "popoverClassName"> & Partial<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "delimiter" | "joinValues" | "resetValue" | "placeholder" | "clearable" | "format" | "inputFormat" | "closeOnSelect" | "overlayPlacement">> & Partial<Pick<{
|
453
454
|
placeholder: string;
|
454
455
|
format: string;
|
455
456
|
inputFormat: string;
|
@@ -470,7 +471,7 @@ declare const _default: {
|
|
470
471
|
[key: string]: React.ReactInstance;
|
471
472
|
};
|
472
473
|
componentDidMount?(): void;
|
473
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "classPrefix" | "classnames" | "data" | "embed" | "className" | "theme" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "ranges" | "popOverContainer" | "timeFormat" | "utc" | "popoverClassName"> & Partial<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "delimiter" | "joinValues" | "resetValue" | "placeholder" | "clearable" | "format" | "inputFormat" | "closeOnSelect" | "overlayPlacement">> & Partial<Pick<{
|
474
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "classPrefix" | "classnames" | "data" | "embed" | "label" | "className" | "theme" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "ranges" | "popOverContainer" | "timeFormat" | "utc" | "popoverClassName"> & Partial<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "delimiter" | "joinValues" | "resetValue" | "placeholder" | "clearable" | "format" | "inputFormat" | "closeOnSelect" | "overlayPlacement">> & Partial<Pick<{
|
474
475
|
placeholder: string;
|
475
476
|
format: string;
|
476
477
|
inputFormat: string;
|
@@ -486,7 +487,7 @@ declare const _default: {
|
|
486
487
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
487
488
|
componentWillUnmount?(): void;
|
488
489
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
489
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "classPrefix" | "classnames" | "data" | "embed" | "className" | "theme" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "ranges" | "popOverContainer" | "timeFormat" | "utc" | "popoverClassName"> & Partial<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "delimiter" | "joinValues" | "resetValue" | "placeholder" | "clearable" | "format" | "inputFormat" | "closeOnSelect" | "overlayPlacement">> & Partial<Pick<{
|
490
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "classPrefix" | "classnames" | "data" | "embed" | "label" | "className" | "theme" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "ranges" | "popOverContainer" | "timeFormat" | "utc" | "popoverClassName"> & Partial<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "delimiter" | "joinValues" | "resetValue" | "placeholder" | "clearable" | "format" | "inputFormat" | "closeOnSelect" | "overlayPlacement">> & Partial<Pick<{
|
490
491
|
placeholder: string;
|
491
492
|
format: string;
|
492
493
|
inputFormat: string;
|
@@ -500,7 +501,7 @@ declare const _default: {
|
|
500
501
|
locale?: string | undefined;
|
501
502
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
502
503
|
}>, prevState: Readonly<{}>): any;
|
503
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "classPrefix" | "classnames" | "data" | "embed" | "className" | "theme" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "ranges" | "popOverContainer" | "timeFormat" | "utc" | "popoverClassName"> & Partial<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "delimiter" | "joinValues" | "resetValue" | "placeholder" | "clearable" | "format" | "inputFormat" | "closeOnSelect" | "overlayPlacement">> & Partial<Pick<{
|
504
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "classPrefix" | "classnames" | "data" | "embed" | "label" | "className" | "theme" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "ranges" | "popOverContainer" | "timeFormat" | "utc" | "popoverClassName"> & Partial<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "delimiter" | "joinValues" | "resetValue" | "placeholder" | "clearable" | "format" | "inputFormat" | "closeOnSelect" | "overlayPlacement">> & Partial<Pick<{
|
504
505
|
placeholder: string;
|
505
506
|
format: string;
|
506
507
|
inputFormat: string;
|
@@ -516,7 +517,7 @@ declare const _default: {
|
|
516
517
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
517
518
|
componentWillMount?(): void;
|
518
519
|
UNSAFE_componentWillMount?(): void;
|
519
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "classPrefix" | "classnames" | "data" | "embed" | "className" | "theme" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "ranges" | "popOverContainer" | "timeFormat" | "utc" | "popoverClassName"> & Partial<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "delimiter" | "joinValues" | "resetValue" | "placeholder" | "clearable" | "format" | "inputFormat" | "closeOnSelect" | "overlayPlacement">> & Partial<Pick<{
|
520
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "classPrefix" | "classnames" | "data" | "embed" | "label" | "className" | "theme" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "ranges" | "popOverContainer" | "timeFormat" | "utc" | "popoverClassName"> & Partial<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "delimiter" | "joinValues" | "resetValue" | "placeholder" | "clearable" | "format" | "inputFormat" | "closeOnSelect" | "overlayPlacement">> & Partial<Pick<{
|
520
521
|
placeholder: string;
|
521
522
|
format: string;
|
522
523
|
inputFormat: string;
|
@@ -530,7 +531,7 @@ declare const _default: {
|
|
530
531
|
locale?: string | undefined;
|
531
532
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
532
533
|
}>, nextContext: any): void;
|
533
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "classPrefix" | "classnames" | "data" | "embed" | "className" | "theme" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "ranges" | "popOverContainer" | "timeFormat" | "utc" | "popoverClassName"> & Partial<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "delimiter" | "joinValues" | "resetValue" | "placeholder" | "clearable" | "format" | "inputFormat" | "closeOnSelect" | "overlayPlacement">> & Partial<Pick<{
|
534
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "classPrefix" | "classnames" | "data" | "embed" | "label" | "className" | "theme" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "ranges" | "popOverContainer" | "timeFormat" | "utc" | "popoverClassName"> & Partial<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "delimiter" | "joinValues" | "resetValue" | "placeholder" | "clearable" | "format" | "inputFormat" | "closeOnSelect" | "overlayPlacement">> & Partial<Pick<{
|
534
535
|
placeholder: string;
|
535
536
|
format: string;
|
536
537
|
inputFormat: string;
|
@@ -544,7 +545,7 @@ declare const _default: {
|
|
544
545
|
locale?: string | undefined;
|
545
546
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
546
547
|
}>, nextContext: any): void;
|
547
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "classPrefix" | "classnames" | "data" | "embed" | "className" | "theme" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "ranges" | "popOverContainer" | "timeFormat" | "utc" | "popoverClassName"> & Partial<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "delimiter" | "joinValues" | "resetValue" | "placeholder" | "clearable" | "format" | "inputFormat" | "closeOnSelect" | "overlayPlacement">> & Partial<Pick<{
|
548
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "classPrefix" | "classnames" | "data" | "embed" | "label" | "className" | "theme" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "ranges" | "popOverContainer" | "timeFormat" | "utc" | "popoverClassName"> & Partial<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "delimiter" | "joinValues" | "resetValue" | "placeholder" | "clearable" | "format" | "inputFormat" | "closeOnSelect" | "overlayPlacement">> & Partial<Pick<{
|
548
549
|
placeholder: string;
|
549
550
|
format: string;
|
550
551
|
inputFormat: string;
|
@@ -558,7 +559,7 @@ declare const _default: {
|
|
558
559
|
locale?: string | undefined;
|
559
560
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
560
561
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
561
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "classPrefix" | "classnames" | "data" | "embed" | "className" | "theme" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "ranges" | "popOverContainer" | "timeFormat" | "utc" | "popoverClassName"> & Partial<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "delimiter" | "joinValues" | "resetValue" | "placeholder" | "clearable" | "format" | "inputFormat" | "closeOnSelect" | "overlayPlacement">> & Partial<Pick<{
|
562
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "classPrefix" | "classnames" | "data" | "embed" | "label" | "className" | "theme" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "ranges" | "popOverContainer" | "timeFormat" | "utc" | "popoverClassName"> & Partial<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "delimiter" | "joinValues" | "resetValue" | "placeholder" | "clearable" | "format" | "inputFormat" | "closeOnSelect" | "overlayPlacement">> & Partial<Pick<{
|
562
563
|
placeholder: string;
|
563
564
|
format: string;
|
564
565
|
inputFormat: string;
|
@@ -580,7 +581,7 @@ declare const _default: {
|
|
580
581
|
ComposedComponent: typeof MonthRangePicker;
|
581
582
|
}, {}> & {
|
582
583
|
ComposedComponent: {
|
583
|
-
new (props: Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "classPrefix" | "classnames" | "data" | "embed" | "className" | "theme" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "ranges" | "popOverContainer" | "timeFormat" | "utc" | "popoverClassName"> & Partial<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "delimiter" | "joinValues" | "resetValue" | "placeholder" | "clearable" | "format" | "inputFormat" | "closeOnSelect" | "overlayPlacement">> & Partial<Pick<{
|
584
|
+
new (props: Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "classPrefix" | "classnames" | "data" | "embed" | "label" | "className" | "theme" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "ranges" | "popOverContainer" | "timeFormat" | "utc" | "popoverClassName"> & Partial<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "delimiter" | "joinValues" | "resetValue" | "placeholder" | "clearable" | "format" | "inputFormat" | "closeOnSelect" | "overlayPlacement">> & Partial<Pick<{
|
584
585
|
placeholder: string;
|
585
586
|
format: string;
|
586
587
|
inputFormat: string;
|
@@ -599,7 +600,7 @@ declare const _default: {
|
|
599
600
|
getWrappedInstance(): any;
|
600
601
|
render(): JSX.Element;
|
601
602
|
context: any;
|
602
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "classPrefix" | "classnames" | "data" | "embed" | "className" | "theme" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "ranges" | "popOverContainer" | "timeFormat" | "utc" | "popoverClassName"> & Partial<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "delimiter" | "joinValues" | "resetValue" | "placeholder" | "clearable" | "format" | "inputFormat" | "closeOnSelect" | "overlayPlacement">> & Partial<Pick<{
|
603
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "classPrefix" | "classnames" | "data" | "embed" | "label" | "className" | "theme" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "ranges" | "popOverContainer" | "timeFormat" | "utc" | "popoverClassName"> & Partial<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "delimiter" | "joinValues" | "resetValue" | "placeholder" | "clearable" | "format" | "inputFormat" | "closeOnSelect" | "overlayPlacement">> & Partial<Pick<{
|
603
604
|
placeholder: string;
|
604
605
|
format: string;
|
605
606
|
inputFormat: string;
|
@@ -614,7 +615,7 @@ declare const _default: {
|
|
614
615
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
615
616
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
616
617
|
forceUpdate(callback?: (() => void) | undefined): void;
|
617
|
-
readonly props: Readonly<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "classPrefix" | "classnames" | "data" | "embed" | "className" | "theme" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "ranges" | "popOverContainer" | "timeFormat" | "utc" | "popoverClassName"> & Partial<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "delimiter" | "joinValues" | "resetValue" | "placeholder" | "clearable" | "format" | "inputFormat" | "closeOnSelect" | "overlayPlacement">> & Partial<Pick<{
|
618
|
+
readonly props: Readonly<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "classPrefix" | "classnames" | "data" | "embed" | "label" | "className" | "theme" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "ranges" | "popOverContainer" | "timeFormat" | "utc" | "popoverClassName"> & Partial<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "delimiter" | "joinValues" | "resetValue" | "placeholder" | "clearable" | "format" | "inputFormat" | "closeOnSelect" | "overlayPlacement">> & Partial<Pick<{
|
618
619
|
placeholder: string;
|
619
620
|
format: string;
|
620
621
|
inputFormat: string;
|
@@ -635,7 +636,7 @@ declare const _default: {
|
|
635
636
|
[key: string]: React.ReactInstance;
|
636
637
|
};
|
637
638
|
componentDidMount?(): void;
|
638
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "classPrefix" | "classnames" | "data" | "embed" | "className" | "theme" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "ranges" | "popOverContainer" | "timeFormat" | "utc" | "popoverClassName"> & Partial<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "delimiter" | "joinValues" | "resetValue" | "placeholder" | "clearable" | "format" | "inputFormat" | "closeOnSelect" | "overlayPlacement">> & Partial<Pick<{
|
639
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "classPrefix" | "classnames" | "data" | "embed" | "label" | "className" | "theme" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "ranges" | "popOverContainer" | "timeFormat" | "utc" | "popoverClassName"> & Partial<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "delimiter" | "joinValues" | "resetValue" | "placeholder" | "clearable" | "format" | "inputFormat" | "closeOnSelect" | "overlayPlacement">> & Partial<Pick<{
|
639
640
|
placeholder: string;
|
640
641
|
format: string;
|
641
642
|
inputFormat: string;
|
@@ -651,7 +652,7 @@ declare const _default: {
|
|
651
652
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
652
653
|
componentWillUnmount?(): void;
|
653
654
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
654
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "classPrefix" | "classnames" | "data" | "embed" | "className" | "theme" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "ranges" | "popOverContainer" | "timeFormat" | "utc" | "popoverClassName"> & Partial<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "delimiter" | "joinValues" | "resetValue" | "placeholder" | "clearable" | "format" | "inputFormat" | "closeOnSelect" | "overlayPlacement">> & Partial<Pick<{
|
655
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "classPrefix" | "classnames" | "data" | "embed" | "label" | "className" | "theme" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "ranges" | "popOverContainer" | "timeFormat" | "utc" | "popoverClassName"> & Partial<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "delimiter" | "joinValues" | "resetValue" | "placeholder" | "clearable" | "format" | "inputFormat" | "closeOnSelect" | "overlayPlacement">> & Partial<Pick<{
|
655
656
|
placeholder: string;
|
656
657
|
format: string;
|
657
658
|
inputFormat: string;
|
@@ -665,7 +666,7 @@ declare const _default: {
|
|
665
666
|
locale?: string | undefined;
|
666
667
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
667
668
|
}>, prevState: Readonly<{}>): any;
|
668
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "classPrefix" | "classnames" | "data" | "embed" | "className" | "theme" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "ranges" | "popOverContainer" | "timeFormat" | "utc" | "popoverClassName"> & Partial<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "delimiter" | "joinValues" | "resetValue" | "placeholder" | "clearable" | "format" | "inputFormat" | "closeOnSelect" | "overlayPlacement">> & Partial<Pick<{
|
669
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "classPrefix" | "classnames" | "data" | "embed" | "label" | "className" | "theme" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "ranges" | "popOverContainer" | "timeFormat" | "utc" | "popoverClassName"> & Partial<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "delimiter" | "joinValues" | "resetValue" | "placeholder" | "clearable" | "format" | "inputFormat" | "closeOnSelect" | "overlayPlacement">> & Partial<Pick<{
|
669
670
|
placeholder: string;
|
670
671
|
format: string;
|
671
672
|
inputFormat: string;
|
@@ -681,7 +682,7 @@ declare const _default: {
|
|
681
682
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
682
683
|
componentWillMount?(): void;
|
683
684
|
UNSAFE_componentWillMount?(): void;
|
684
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "classPrefix" | "classnames" | "data" | "embed" | "className" | "theme" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "ranges" | "popOverContainer" | "timeFormat" | "utc" | "popoverClassName"> & Partial<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "delimiter" | "joinValues" | "resetValue" | "placeholder" | "clearable" | "format" | "inputFormat" | "closeOnSelect" | "overlayPlacement">> & Partial<Pick<{
|
685
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "classPrefix" | "classnames" | "data" | "embed" | "label" | "className" | "theme" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "ranges" | "popOverContainer" | "timeFormat" | "utc" | "popoverClassName"> & Partial<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "delimiter" | "joinValues" | "resetValue" | "placeholder" | "clearable" | "format" | "inputFormat" | "closeOnSelect" | "overlayPlacement">> & Partial<Pick<{
|
685
686
|
placeholder: string;
|
686
687
|
format: string;
|
687
688
|
inputFormat: string;
|
@@ -695,7 +696,7 @@ declare const _default: {
|
|
695
696
|
locale?: string | undefined;
|
696
697
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
697
698
|
}>, nextContext: any): void;
|
698
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "classPrefix" | "classnames" | "data" | "embed" | "className" | "theme" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "ranges" | "popOverContainer" | "timeFormat" | "utc" | "popoverClassName"> & Partial<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "delimiter" | "joinValues" | "resetValue" | "placeholder" | "clearable" | "format" | "inputFormat" | "closeOnSelect" | "overlayPlacement">> & Partial<Pick<{
|
699
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "classPrefix" | "classnames" | "data" | "embed" | "label" | "className" | "theme" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "ranges" | "popOverContainer" | "timeFormat" | "utc" | "popoverClassName"> & Partial<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "delimiter" | "joinValues" | "resetValue" | "placeholder" | "clearable" | "format" | "inputFormat" | "closeOnSelect" | "overlayPlacement">> & Partial<Pick<{
|
699
700
|
placeholder: string;
|
700
701
|
format: string;
|
701
702
|
inputFormat: 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<MonthRangePickerProps, keyof LocaleProps>, "classPrefix" | "classnames" | "data" | "embed" | "className" | "theme" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "ranges" | "popOverContainer" | "timeFormat" | "utc" | "popoverClassName"> & Partial<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "delimiter" | "joinValues" | "resetValue" | "placeholder" | "clearable" | "format" | "inputFormat" | "closeOnSelect" | "overlayPlacement">> & Partial<Pick<{
|
713
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "classPrefix" | "classnames" | "data" | "embed" | "label" | "className" | "theme" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "ranges" | "popOverContainer" | "timeFormat" | "utc" | "popoverClassName"> & Partial<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "delimiter" | "joinValues" | "resetValue" | "placeholder" | "clearable" | "format" | "inputFormat" | "closeOnSelect" | "overlayPlacement">> & Partial<Pick<{
|
713
714
|
placeholder: string;
|
714
715
|
format: string;
|
715
716
|
inputFormat: string;
|
@@ -723,7 +724,7 @@ declare const _default: {
|
|
723
724
|
locale?: string | undefined;
|
724
725
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
725
726
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
726
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "classPrefix" | "classnames" | "data" | "embed" | "className" | "theme" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "ranges" | "popOverContainer" | "timeFormat" | "utc" | "popoverClassName"> & Partial<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "delimiter" | "joinValues" | "resetValue" | "placeholder" | "clearable" | "format" | "inputFormat" | "closeOnSelect" | "overlayPlacement">> & Partial<Pick<{
|
727
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "classPrefix" | "classnames" | "data" | "embed" | "label" | "className" | "theme" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "ranges" | "popOverContainer" | "timeFormat" | "utc" | "popoverClassName"> & Partial<Pick<Omit<MonthRangePickerProps, keyof LocaleProps>, "delimiter" | "joinValues" | "resetValue" | "placeholder" | "clearable" | "format" | "inputFormat" | "closeOnSelect" | "overlayPlacement">> & Partial<Pick<{
|
727
728
|
placeholder: string;
|
728
729
|
format: string;
|
729
730
|
inputFormat: string;
|
@@ -315,7 +315,7 @@ var MonthRangePicker = /** @class */ (function (_super) {
|
|
315
315
|
};
|
316
316
|
MonthRangePicker.prototype.render = function () {
|
317
317
|
var _this = this;
|
318
|
-
var _a = this.props, className = _a.className, popoverClassName = _a.popoverClassName, ns = _a.classPrefix, value = _a.value, placeholder = _a.placeholder, popOverContainer = _a.popOverContainer, inputFormat = _a.inputFormat, format = _a.format, joinValues = _a.joinValues, delimiter = _a.delimiter, clearable = _a.clearable, disabled = _a.disabled, embed = _a.embed, overlayPlacement = _a.overlayPlacement, useMobileUI = _a.useMobileUI, timeFormat = _a.timeFormat, minDate = _a.minDate, maxDate = _a.maxDate, minDuration = _a.minDuration, maxDuration = _a.maxDuration, ranges = _a.ranges;
|
318
|
+
var _a = this.props, className = _a.className, popoverClassName = _a.popoverClassName, ns = _a.classPrefix, value = _a.value, placeholder = _a.placeholder, popOverContainer = _a.popOverContainer, inputFormat = _a.inputFormat, format = _a.format, joinValues = _a.joinValues, delimiter = _a.delimiter, clearable = _a.clearable, disabled = _a.disabled, embed = _a.embed, overlayPlacement = _a.overlayPlacement, useMobileUI = _a.useMobileUI, timeFormat = _a.timeFormat, minDate = _a.minDate, maxDate = _a.maxDate, minDuration = _a.minDuration, maxDuration = _a.maxDuration, ranges = _a.ranges, label = _a.label;
|
319
319
|
var mobileUI = (0, helper_1.isMobile)() && useMobileUI;
|
320
320
|
var _b = this.state, isOpened = _b.isOpened, isFocused = _b.isFocused, startDate = _b.startDate, endDate = _b.endDate;
|
321
321
|
var selectedDate = DateRangePicker_1.DateRangePicker.unFormatValue(value, format, joinValues, delimiter);
|
@@ -335,7 +335,7 @@ var MonthRangePicker = /** @class */ (function (_super) {
|
|
335
335
|
'is-disabled': disabled
|
336
336
|
}, className) }, mobileUI ? calendarMobile : this.renderCalendar()));
|
337
337
|
}
|
338
|
-
var CalendarMobileTitle = (react_1.default.createElement("div", { className: "".concat(ns, "CalendarMobile-title") }, __('Calendar.datepicker')));
|
338
|
+
var CalendarMobileTitle = (react_1.default.createElement("div", { className: "".concat(ns, "CalendarMobile-title") }, label && typeof label === 'string' ? label : __('Calendar.datepicker')));
|
339
339
|
return (react_1.default.createElement("div", { tabIndex: 0, onKeyPress: this.handleKeyPress, onFocus: this.handleFocus, onBlur: this.handleBlur, className: (0, classnames_1.default)("".concat(ns, "DateRangePicker"), {
|
340
340
|
'is-disabled': disabled,
|
341
341
|
'is-focused': isFocused,
|