amis 1.6.0 → 1.6.1-beta.0
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/README.md +1 -0
- package/lib/RootRenderer.d.ts +2 -0
- package/lib/RootRenderer.js +19 -1
- package/lib/RootRenderer.js.map +2 -2
- package/lib/SchemaRenderer.js +52 -1
- package/lib/SchemaRenderer.js.map +2 -2
- package/lib/Scoped.d.ts +2 -0
- package/lib/Scoped.js +27 -1
- package/lib/Scoped.js.map +2 -2
- package/lib/actions/Action.d.ts +33 -0
- package/lib/actions/Action.js +100 -0
- package/lib/actions/Action.js.map +13 -0
- package/lib/actions/AjaxAction.d.ts +14 -0
- package/lib/actions/AjaxAction.js +68 -0
- package/lib/actions/AjaxAction.js.map +13 -0
- package/lib/actions/BreakAction.d.ts +12 -0
- package/lib/actions/BreakAction.js +28 -0
- package/lib/actions/BreakAction.js.map +13 -0
- package/lib/actions/BroadcastAction.d.ts +12 -0
- package/lib/actions/BroadcastAction.js +40 -0
- package/lib/actions/BroadcastAction.js.map +13 -0
- package/lib/actions/CmptAction.d.ts +12 -0
- package/lib/actions/CmptAction.js +40 -0
- package/lib/actions/CmptAction.js.map +13 -0
- package/lib/actions/ContinueAction.d.ts +12 -0
- package/lib/actions/ContinueAction.js +28 -0
- package/lib/actions/ContinueAction.js.map +13 -0
- package/lib/actions/CopyAction.d.ts +12 -0
- package/lib/actions/CopyAction.js +35 -0
- package/lib/actions/CopyAction.js.map +13 -0
- package/lib/actions/CustomAction.d.ts +12 -0
- package/lib/actions/CustomAction.js +43 -0
- package/lib/actions/CustomAction.js.map +13 -0
- package/lib/actions/DialogAction.d.ts +12 -0
- package/lib/actions/DialogAction.js +31 -0
- package/lib/actions/DialogAction.js.map +13 -0
- package/lib/actions/DrawerAction.d.ts +12 -0
- package/lib/actions/DrawerAction.js +31 -0
- package/lib/actions/DrawerAction.js.map +13 -0
- package/lib/actions/EmailAction.d.ts +12 -0
- package/lib/actions/EmailAction.js +37 -0
- package/lib/actions/EmailAction.js.map +13 -0
- package/lib/actions/LoopAction.d.ts +12 -0
- package/lib/actions/LoopAction.js +93 -0
- package/lib/actions/LoopAction.js.map +13 -0
- package/lib/actions/OpenPageAction.d.ts +12 -0
- package/lib/actions/OpenPageAction.js +33 -0
- package/lib/actions/OpenPageAction.js.map +13 -0
- package/lib/actions/ParallelAction.d.ts +5 -0
- package/lib/actions/ParallelAction.js +33 -0
- package/lib/actions/ParallelAction.js.map +13 -0
- package/lib/actions/SwitchAction.d.ts +8 -0
- package/lib/actions/SwitchAction.js +45 -0
- package/lib/actions/SwitchAction.js.map +13 -0
- package/lib/actions/index.d.ts +18 -0
- package/lib/actions/index.js +22 -0
- package/lib/actions/index.js.map +13 -0
- package/lib/components/AnchorNav.d.ts +20 -20
- package/lib/components/Button.d.ts +20 -20
- package/lib/components/CalendarMobile.d.ts +112 -86
- package/lib/components/CalendarMobile.js +85 -31
- package/lib/components/CalendarMobile.js.map +2 -2
- package/lib/components/Collapse.d.ts +20 -20
- package/lib/components/DatePicker.js +9 -3
- package/lib/components/DatePicker.js.map +2 -2
- package/lib/components/DateRangePicker.js +1 -0
- package/lib/components/DateRangePicker.js.map +2 -2
- package/lib/components/InputBox.d.ts +21 -21
- package/lib/components/ListGroup.d.ts +21 -21
- package/lib/components/ListMenu.d.ts +84 -84
- package/lib/components/MonthRangePicker.js +2 -1
- package/lib/components/MonthRangePicker.js.map +2 -2
- package/lib/components/Radios.d.ts +21 -21
- package/lib/components/Rating.d.ts +21 -21
- package/lib/components/ResultBox.d.ts +84 -84
- package/lib/components/Select.d.ts +238 -238
- package/lib/components/Select.js +4 -3
- package/lib/components/Select.js.map +2 -2
- package/lib/components/Timeline.js +1 -1
- package/lib/components/Timeline.js.map +2 -2
- package/lib/components/TimelineItem.d.ts +3 -2
- package/lib/components/TimelineItem.js +8 -9
- package/lib/components/TimelineItem.js.map +2 -2
- package/lib/components/Tree.d.ts +84 -84
- package/lib/components/formula/plugin.js +0 -1
- package/lib/components/formula/plugin.js.map +2 -2
- package/lib/env.d.ts +4 -0
- package/lib/env.js.map +2 -2
- package/lib/factory.d.ts +2 -1
- package/lib/factory.js +78 -0
- package/lib/factory.js.map +2 -2
- package/lib/helper.css.map +1 -1
- package/lib/index.d.ts +2 -0
- package/lib/index.js +3 -1
- package/lib/index.js.map +2 -2
- package/lib/renderers/Action.d.ts +1 -1
- package/lib/renderers/Action.js +26 -10
- package/lib/renderers/Action.js.map +2 -2
- package/lib/renderers/Custom.d.ts +1 -1
- package/lib/renderers/Custom.js +1 -1
- package/lib/renderers/Custom.js.map +1 -1
- package/lib/renderers/Form/DiffEditor.d.ts +6 -0
- package/lib/renderers/Form/Editor.d.ts +6 -0
- package/lib/renderers/Form/Options.js +9 -7
- package/lib/renderers/Form/Options.js.map +2 -2
- package/lib/renderers/Form/Select.js +3 -3
- package/lib/renderers/Form/Select.js.map +2 -2
- package/lib/renderers/Form/index.js +8 -1
- package/lib/renderers/Form/index.js.map +2 -2
- package/lib/renderers/Link.d.ts +1 -1
- package/lib/renderers/Link.js +27 -6
- package/lib/renderers/Link.js.map +2 -2
- package/lib/renderers/Nav.d.ts +21 -21
- package/lib/renderers/Remark.d.ts +1 -1
- package/lib/store/formItem.js +1 -1
- package/lib/store/formItem.js.map +2 -2
- package/lib/themes/ang-ie11.css +180 -1
- package/lib/themes/ang.css +180 -1
- package/lib/themes/ang.css.map +1 -1
- package/lib/themes/antd-ie11.css +184 -2
- package/lib/themes/antd.css +184 -2
- package/lib/themes/antd.css.map +1 -1
- package/lib/themes/cxd-ie11.css +182 -8
- package/lib/themes/cxd.css +182 -8
- package/lib/themes/cxd.css.map +1 -1
- package/lib/themes/dark-ie11.css +182 -1
- package/lib/themes/dark.css +182 -1
- package/lib/themes/dark.css.map +1 -1
- package/lib/themes/default.css +182 -8
- package/lib/themes/default.css.map +1 -1
- package/lib/utils/api.js +14 -3
- package/lib/utils/api.js.map +2 -2
- package/lib/utils/debug.d.ts +26 -0
- package/lib/utils/debug.js +351 -0
- package/lib/utils/debug.js.map +13 -0
- package/lib/utils/renderer-event.d.ts +38 -0
- package/lib/utils/renderer-event.js +28 -0
- package/lib/utils/renderer-event.js.map +13 -0
- package/package.json +1 -1
- package/scss/_properties.scss +2 -0
- package/scss/_variables.scss +1 -0
- package/scss/components/_calendar.scss +4 -0
- package/scss/components/_debug.scss +167 -0
- package/scss/components/_popup.scss +1 -1
- package/scss/components/form/_date-range.scss +33 -0
- package/scss/components/form/_form.scss +2 -0
- package/scss/themes/_antd-variables.scss +4 -1
- package/scss/themes/_common.scss +2 -0
- package/scss/themes/_cxd-variables.scss +2 -0
- package/scss/themes/_dark-variables.scss +3 -0
- package/scss/themes/cxd.scss +0 -7
- package/sdk/ang-ie11.css +211 -1
- package/sdk/ang.css +213 -1
- package/sdk/antd-ie11.css +213 -2
- package/sdk/antd.css +217 -2
- package/sdk/charts.js +16 -16
- package/sdk/codemirror.js +7 -7
- package/sdk/color-picker.js +65 -65
- package/sdk/cropperjs.js +2 -2
- package/sdk/cxd-ie11.css +211 -8
- package/sdk/cxd.css +215 -8
- package/sdk/dark-ie11.css +211 -1
- package/sdk/dark.css +215 -1
- package/sdk/exceljs.js +1 -1
- 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 +18 -18
- package/sdk/rich-text.js +62 -62
- package/sdk/sdk-ie11.css +211 -8
- package/sdk/sdk.css +215 -8
- package/sdk/sdk.js +1293 -1257
- 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/RootRenderer.tsx +27 -1
- package/src/SchemaRenderer.tsx +70 -4
- package/src/Scoped.tsx +46 -4
- package/src/actions/Action.ts +138 -0
- package/src/actions/AjaxAction.ts +58 -0
- package/src/actions/BreakAction.ts +27 -0
- package/src/actions/BroadcastAction.ts +41 -0
- package/src/actions/CmptAction.ts +36 -0
- package/src/actions/ContinueAction.ts +27 -0
- package/src/actions/CopyAction.ts +41 -0
- package/src/actions/CustomAction.ts +46 -0
- package/src/actions/DialogAction.ts +28 -0
- package/src/actions/DrawerAction.ts +28 -0
- package/src/actions/EmailAction.ts +38 -0
- package/src/actions/LoopAction.ts +77 -0
- package/src/actions/OpenPageAction.ts +39 -0
- package/src/actions/ParallelAction.ts +26 -0
- package/src/actions/SwitchAction.ts +35 -0
- package/src/actions/index.ts +20 -0
- package/src/components/CalendarMobile.tsx +127 -32
- package/src/components/DatePicker.tsx +32 -2
- package/src/components/DateRangePicker.tsx +2 -1
- package/src/components/MonthRangePicker.tsx +2 -1
- package/src/components/Select.tsx +4 -3
- package/src/components/Timeline.tsx +9 -4
- package/src/components/TimelineItem.tsx +62 -29
- package/src/components/formula/plugin.ts +0 -2
- package/src/env.tsx +22 -0
- package/src/factory.tsx +87 -1
- package/src/index.tsx +4 -0
- package/src/renderers/Action.tsx +11 -2
- package/src/renderers/Custom.tsx +1 -1
- package/src/renderers/Form/Options.tsx +15 -7
- package/src/renderers/Form/Select.tsx +7 -3
- package/src/renderers/Form/index.tsx +7 -1
- package/src/renderers/Link.tsx +18 -3
- package/src/store/formItem.ts +1 -1
- package/src/utils/api.ts +15 -2
- package/src/utils/debug.tsx +438 -0
- package/src/utils/renderer-event.ts +75 -0
@@ -22,10 +22,29 @@ export interface CalendarMobileProps extends ThemeProps, LocaleProps {
|
|
22
22
|
embed?: boolean;
|
23
23
|
viewMode?: 'days' | 'months' | 'years' | 'time' | 'quarters';
|
24
24
|
close?: () => void;
|
25
|
-
confirm?: () => void;
|
25
|
+
confirm?: (startDate?: any, endTime?: any) => void;
|
26
26
|
onChange?: (data: any, callback?: () => void) => void;
|
27
27
|
footerExtra?: JSX.Element | null;
|
28
28
|
showViewMode?: 'years' | 'months';
|
29
|
+
isDatePicker?: boolean;
|
30
|
+
timeConstraints?: {
|
31
|
+
hours?: {
|
32
|
+
min: number;
|
33
|
+
max: number;
|
34
|
+
step: number;
|
35
|
+
};
|
36
|
+
minutes?: {
|
37
|
+
min: number;
|
38
|
+
max: number;
|
39
|
+
step: number;
|
40
|
+
};
|
41
|
+
seconds: {
|
42
|
+
min: number;
|
43
|
+
max: number;
|
44
|
+
step: number;
|
45
|
+
};
|
46
|
+
};
|
47
|
+
defaultDate?: moment.Moment;
|
29
48
|
}
|
30
49
|
export interface CalendarMobileState {
|
31
50
|
startDate?: moment.Moment;
|
@@ -35,13 +54,20 @@ export interface CalendarMobileState {
|
|
35
54
|
showToast: boolean;
|
36
55
|
isScrollToBottom: boolean;
|
37
56
|
dateTime: any;
|
57
|
+
minDate?: moment.Moment;
|
58
|
+
maxDate?: moment.Moment;
|
38
59
|
}
|
39
60
|
export declare class CalendarMobile extends React.Component<CalendarMobileProps, CalendarMobileState> {
|
40
61
|
mobileBody: any;
|
41
62
|
mobileHeader: any;
|
42
63
|
timer: any;
|
43
|
-
static defaultProps: Pick<CalendarMobileProps, 'showViewMode'
|
64
|
+
static defaultProps: Pick<CalendarMobileProps, 'showViewMode'>;
|
44
65
|
constructor(props: CalendarMobileProps);
|
66
|
+
getDateRange(minDate?: moment.Moment, maxDate?: moment.Moment, defaultDate?: moment.Moment): {
|
67
|
+
currentDate: moment.Moment;
|
68
|
+
minDate: moment.Moment;
|
69
|
+
maxDate: moment.Moment;
|
70
|
+
};
|
45
71
|
componentDidMount(): void;
|
46
72
|
componentDidUpdate(prevProps: CalendarMobileProps): void;
|
47
73
|
componentWillUnmount(): void;
|
@@ -68,21 +94,21 @@ export declare class CalendarMobile extends React.Component<CalendarMobileProps,
|
|
68
94
|
render(): JSX.Element;
|
69
95
|
}
|
70
96
|
declare const _default: {
|
71
|
-
new (props: (Omit<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDuration" | "minDuration" | "timeFormat" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "
|
97
|
+
new (props: (Omit<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "timeFormat" | "timeConstraints" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra" | "isDatePicker" | "defaultDate"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "showViewMode">> & Partial<Pick<Pick<CalendarMobileProps, "showViewMode">, never>> & {
|
72
98
|
locale?: string | undefined;
|
73
99
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
74
|
-
}, keyof ThemeProps> & import("../theme").ThemeOutterProps) | Readonly<Omit<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDuration" | "minDuration" | "timeFormat" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "
|
100
|
+
}, keyof ThemeProps> & import("../theme").ThemeOutterProps) | Readonly<Omit<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "timeFormat" | "timeConstraints" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra" | "isDatePicker" | "defaultDate"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "showViewMode">> & Partial<Pick<Pick<CalendarMobileProps, "showViewMode">, never>> & {
|
75
101
|
locale?: string | undefined;
|
76
102
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
77
103
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>): {
|
78
104
|
render(): JSX.Element;
|
79
105
|
context: any;
|
80
|
-
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDuration" | "minDuration" | "timeFormat" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "
|
106
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "timeFormat" | "timeConstraints" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra" | "isDatePicker" | "defaultDate"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "showViewMode">> & Partial<Pick<Pick<CalendarMobileProps, "showViewMode">, never>> & {
|
81
107
|
locale?: string | undefined;
|
82
108
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
83
109
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
84
110
|
forceUpdate(callback?: (() => void) | undefined): void;
|
85
|
-
readonly props: Readonly<Omit<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDuration" | "minDuration" | "timeFormat" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "
|
111
|
+
readonly props: Readonly<Omit<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "timeFormat" | "timeConstraints" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra" | "isDatePicker" | "defaultDate"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "showViewMode">> & Partial<Pick<Pick<CalendarMobileProps, "showViewMode">, never>> & {
|
86
112
|
locale?: string | undefined;
|
87
113
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
88
114
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps> & Readonly<{
|
@@ -93,51 +119,51 @@ declare const _default: {
|
|
93
119
|
[key: string]: React.ReactInstance;
|
94
120
|
};
|
95
121
|
componentDidMount?(): void;
|
96
|
-
shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDuration" | "minDuration" | "timeFormat" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "
|
122
|
+
shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "timeFormat" | "timeConstraints" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra" | "isDatePicker" | "defaultDate"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "showViewMode">> & Partial<Pick<Pick<CalendarMobileProps, "showViewMode">, never>> & {
|
97
123
|
locale?: string | undefined;
|
98
124
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
99
125
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
100
126
|
componentWillUnmount?(): void;
|
101
127
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
102
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDuration" | "minDuration" | "timeFormat" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "
|
128
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "timeFormat" | "timeConstraints" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra" | "isDatePicker" | "defaultDate"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "showViewMode">> & Partial<Pick<Pick<CalendarMobileProps, "showViewMode">, never>> & {
|
103
129
|
locale?: string | undefined;
|
104
130
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
105
131
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, prevState: Readonly<{}>): any;
|
106
|
-
componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDuration" | "minDuration" | "timeFormat" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "
|
132
|
+
componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "timeFormat" | "timeConstraints" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra" | "isDatePicker" | "defaultDate"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "showViewMode">> & Partial<Pick<Pick<CalendarMobileProps, "showViewMode">, never>> & {
|
107
133
|
locale?: string | undefined;
|
108
134
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
109
135
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
110
136
|
componentWillMount?(): void;
|
111
137
|
UNSAFE_componentWillMount?(): void;
|
112
|
-
componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDuration" | "minDuration" | "timeFormat" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "
|
138
|
+
componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "timeFormat" | "timeConstraints" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra" | "isDatePicker" | "defaultDate"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "showViewMode">> & Partial<Pick<Pick<CalendarMobileProps, "showViewMode">, never>> & {
|
113
139
|
locale?: string | undefined;
|
114
140
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
115
141
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextContext: any): void;
|
116
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDuration" | "minDuration" | "timeFormat" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "
|
142
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "timeFormat" | "timeConstraints" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra" | "isDatePicker" | "defaultDate"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "showViewMode">> & Partial<Pick<Pick<CalendarMobileProps, "showViewMode">, never>> & {
|
117
143
|
locale?: string | undefined;
|
118
144
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
119
145
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextContext: any): void;
|
120
|
-
componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDuration" | "minDuration" | "timeFormat" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "
|
146
|
+
componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "timeFormat" | "timeConstraints" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra" | "isDatePicker" | "defaultDate"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "showViewMode">> & Partial<Pick<Pick<CalendarMobileProps, "showViewMode">, never>> & {
|
121
147
|
locale?: string | undefined;
|
122
148
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
123
149
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
124
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDuration" | "minDuration" | "timeFormat" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "
|
150
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "timeFormat" | "timeConstraints" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra" | "isDatePicker" | "defaultDate"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "showViewMode">> & Partial<Pick<Pick<CalendarMobileProps, "showViewMode">, never>> & {
|
125
151
|
locale?: string | undefined;
|
126
152
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
127
153
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
128
154
|
};
|
129
|
-
new (props: Omit<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDuration" | "minDuration" | "timeFormat" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "
|
155
|
+
new (props: Omit<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "timeFormat" | "timeConstraints" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra" | "isDatePicker" | "defaultDate"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "showViewMode">> & Partial<Pick<Pick<CalendarMobileProps, "showViewMode">, never>> & {
|
130
156
|
locale?: string | undefined;
|
131
157
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
132
158
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps, context: any): {
|
133
159
|
render(): JSX.Element;
|
134
160
|
context: any;
|
135
|
-
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDuration" | "minDuration" | "timeFormat" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "
|
161
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "timeFormat" | "timeConstraints" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra" | "isDatePicker" | "defaultDate"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "showViewMode">> & Partial<Pick<Pick<CalendarMobileProps, "showViewMode">, never>> & {
|
136
162
|
locale?: string | undefined;
|
137
163
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
138
164
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
139
165
|
forceUpdate(callback?: (() => void) | undefined): void;
|
140
|
-
readonly props: Readonly<Omit<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDuration" | "minDuration" | "timeFormat" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "
|
166
|
+
readonly props: Readonly<Omit<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "timeFormat" | "timeConstraints" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra" | "isDatePicker" | "defaultDate"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "showViewMode">> & Partial<Pick<Pick<CalendarMobileProps, "showViewMode">, never>> & {
|
141
167
|
locale?: string | undefined;
|
142
168
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
143
169
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps> & Readonly<{
|
@@ -148,35 +174,35 @@ declare const _default: {
|
|
148
174
|
[key: string]: React.ReactInstance;
|
149
175
|
};
|
150
176
|
componentDidMount?(): void;
|
151
|
-
shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDuration" | "minDuration" | "timeFormat" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "
|
177
|
+
shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "timeFormat" | "timeConstraints" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra" | "isDatePicker" | "defaultDate"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "showViewMode">> & Partial<Pick<Pick<CalendarMobileProps, "showViewMode">, never>> & {
|
152
178
|
locale?: string | undefined;
|
153
179
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
154
180
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
155
181
|
componentWillUnmount?(): void;
|
156
182
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
157
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDuration" | "minDuration" | "timeFormat" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "
|
183
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "timeFormat" | "timeConstraints" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra" | "isDatePicker" | "defaultDate"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "showViewMode">> & Partial<Pick<Pick<CalendarMobileProps, "showViewMode">, never>> & {
|
158
184
|
locale?: string | undefined;
|
159
185
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
160
186
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, prevState: Readonly<{}>): any;
|
161
|
-
componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDuration" | "minDuration" | "timeFormat" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "
|
187
|
+
componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "timeFormat" | "timeConstraints" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra" | "isDatePicker" | "defaultDate"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "showViewMode">> & Partial<Pick<Pick<CalendarMobileProps, "showViewMode">, never>> & {
|
162
188
|
locale?: string | undefined;
|
163
189
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
164
190
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
165
191
|
componentWillMount?(): void;
|
166
192
|
UNSAFE_componentWillMount?(): void;
|
167
|
-
componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDuration" | "minDuration" | "timeFormat" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "
|
193
|
+
componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "timeFormat" | "timeConstraints" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra" | "isDatePicker" | "defaultDate"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "showViewMode">> & Partial<Pick<Pick<CalendarMobileProps, "showViewMode">, never>> & {
|
168
194
|
locale?: string | undefined;
|
169
195
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
170
196
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextContext: any): void;
|
171
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDuration" | "minDuration" | "timeFormat" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "
|
197
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "timeFormat" | "timeConstraints" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra" | "isDatePicker" | "defaultDate"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "showViewMode">> & Partial<Pick<Pick<CalendarMobileProps, "showViewMode">, never>> & {
|
172
198
|
locale?: string | undefined;
|
173
199
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
174
200
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextContext: any): void;
|
175
|
-
componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDuration" | "minDuration" | "timeFormat" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "
|
201
|
+
componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "timeFormat" | "timeConstraints" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra" | "isDatePicker" | "defaultDate"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "showViewMode">> & Partial<Pick<Pick<CalendarMobileProps, "showViewMode">, never>> & {
|
176
202
|
locale?: string | undefined;
|
177
203
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
178
204
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
179
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDuration" | "minDuration" | "timeFormat" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "
|
205
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "timeFormat" | "timeConstraints" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra" | "isDatePicker" | "defaultDate"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "showViewMode">> & Partial<Pick<Pick<CalendarMobileProps, "showViewMode">, never>> & {
|
180
206
|
locale?: string | undefined;
|
181
207
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
182
208
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
@@ -184,21 +210,21 @@ declare const _default: {
|
|
184
210
|
displayName: string;
|
185
211
|
contextType: React.Context<string>;
|
186
212
|
ComposedComponent: React.ComponentType<{
|
187
|
-
new (props: (Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDuration" | "minDuration" | "timeFormat" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "
|
213
|
+
new (props: (Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "timeFormat" | "timeConstraints" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra" | "isDatePicker" | "defaultDate"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "showViewMode">> & Partial<Pick<Pick<CalendarMobileProps, "showViewMode">, never>> & {
|
188
214
|
locale?: string | undefined;
|
189
215
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
190
|
-
}) | Readonly<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDuration" | "minDuration" | "timeFormat" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "
|
216
|
+
}) | Readonly<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "timeFormat" | "timeConstraints" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra" | "isDatePicker" | "defaultDate"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "showViewMode">> & Partial<Pick<Pick<CalendarMobileProps, "showViewMode">, never>> & {
|
191
217
|
locale?: string | undefined;
|
192
218
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
193
219
|
}>): {
|
194
220
|
render(): JSX.Element;
|
195
221
|
context: any;
|
196
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDuration" | "minDuration" | "timeFormat" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "
|
222
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "timeFormat" | "timeConstraints" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra" | "isDatePicker" | "defaultDate"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "showViewMode">> & Partial<Pick<Pick<CalendarMobileProps, "showViewMode">, never>> & {
|
197
223
|
locale?: string | undefined;
|
198
224
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
199
225
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
200
226
|
forceUpdate(callback?: (() => void) | undefined): void;
|
201
|
-
readonly props: Readonly<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDuration" | "minDuration" | "timeFormat" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "
|
227
|
+
readonly props: Readonly<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "timeFormat" | "timeConstraints" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra" | "isDatePicker" | "defaultDate"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "showViewMode">> & Partial<Pick<Pick<CalendarMobileProps, "showViewMode">, never>> & {
|
202
228
|
locale?: string | undefined;
|
203
229
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
204
230
|
}> & Readonly<{
|
@@ -209,51 +235,51 @@ declare const _default: {
|
|
209
235
|
[key: string]: React.ReactInstance;
|
210
236
|
};
|
211
237
|
componentDidMount?(): void;
|
212
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDuration" | "minDuration" | "timeFormat" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "
|
238
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "timeFormat" | "timeConstraints" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra" | "isDatePicker" | "defaultDate"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "showViewMode">> & Partial<Pick<Pick<CalendarMobileProps, "showViewMode">, never>> & {
|
213
239
|
locale?: string | undefined;
|
214
240
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
215
241
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
216
242
|
componentWillUnmount?(): void;
|
217
243
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
218
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDuration" | "minDuration" | "timeFormat" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "
|
244
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "timeFormat" | "timeConstraints" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra" | "isDatePicker" | "defaultDate"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "showViewMode">> & Partial<Pick<Pick<CalendarMobileProps, "showViewMode">, never>> & {
|
219
245
|
locale?: string | undefined;
|
220
246
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
221
247
|
}>, prevState: Readonly<{}>): any;
|
222
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDuration" | "minDuration" | "timeFormat" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "
|
248
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "timeFormat" | "timeConstraints" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra" | "isDatePicker" | "defaultDate"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "showViewMode">> & Partial<Pick<Pick<CalendarMobileProps, "showViewMode">, never>> & {
|
223
249
|
locale?: string | undefined;
|
224
250
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
225
251
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
226
252
|
componentWillMount?(): void;
|
227
253
|
UNSAFE_componentWillMount?(): void;
|
228
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDuration" | "minDuration" | "timeFormat" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "
|
254
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "timeFormat" | "timeConstraints" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra" | "isDatePicker" | "defaultDate"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "showViewMode">> & Partial<Pick<Pick<CalendarMobileProps, "showViewMode">, never>> & {
|
229
255
|
locale?: string | undefined;
|
230
256
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
231
257
|
}>, nextContext: any): void;
|
232
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDuration" | "minDuration" | "timeFormat" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "
|
258
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "timeFormat" | "timeConstraints" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra" | "isDatePicker" | "defaultDate"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "showViewMode">> & Partial<Pick<Pick<CalendarMobileProps, "showViewMode">, never>> & {
|
233
259
|
locale?: string | undefined;
|
234
260
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
235
261
|
}>, nextContext: any): void;
|
236
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDuration" | "minDuration" | "timeFormat" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "
|
262
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "timeFormat" | "timeConstraints" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra" | "isDatePicker" | "defaultDate"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "showViewMode">> & Partial<Pick<Pick<CalendarMobileProps, "showViewMode">, never>> & {
|
237
263
|
locale?: string | undefined;
|
238
264
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
239
265
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
240
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDuration" | "minDuration" | "timeFormat" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "
|
266
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "timeFormat" | "timeConstraints" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra" | "isDatePicker" | "defaultDate"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "showViewMode">> & Partial<Pick<Pick<CalendarMobileProps, "showViewMode">, never>> & {
|
241
267
|
locale?: string | undefined;
|
242
268
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
243
269
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
244
270
|
};
|
245
|
-
new (props: Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDuration" | "minDuration" | "timeFormat" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "
|
271
|
+
new (props: Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "timeFormat" | "timeConstraints" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra" | "isDatePicker" | "defaultDate"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "showViewMode">> & Partial<Pick<Pick<CalendarMobileProps, "showViewMode">, never>> & {
|
246
272
|
locale?: string | undefined;
|
247
273
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
248
274
|
}, context: any): {
|
249
275
|
render(): JSX.Element;
|
250
276
|
context: any;
|
251
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDuration" | "minDuration" | "timeFormat" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "
|
277
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "timeFormat" | "timeConstraints" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra" | "isDatePicker" | "defaultDate"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "showViewMode">> & Partial<Pick<Pick<CalendarMobileProps, "showViewMode">, never>> & {
|
252
278
|
locale?: string | undefined;
|
253
279
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
254
280
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
255
281
|
forceUpdate(callback?: (() => void) | undefined): void;
|
256
|
-
readonly props: Readonly<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDuration" | "minDuration" | "timeFormat" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "
|
282
|
+
readonly props: Readonly<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "timeFormat" | "timeConstraints" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra" | "isDatePicker" | "defaultDate"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "showViewMode">> & Partial<Pick<Pick<CalendarMobileProps, "showViewMode">, never>> & {
|
257
283
|
locale?: string | undefined;
|
258
284
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
259
285
|
}> & Readonly<{
|
@@ -264,35 +290,35 @@ declare const _default: {
|
|
264
290
|
[key: string]: React.ReactInstance;
|
265
291
|
};
|
266
292
|
componentDidMount?(): void;
|
267
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDuration" | "minDuration" | "timeFormat" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "
|
293
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "timeFormat" | "timeConstraints" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra" | "isDatePicker" | "defaultDate"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "showViewMode">> & Partial<Pick<Pick<CalendarMobileProps, "showViewMode">, never>> & {
|
268
294
|
locale?: string | undefined;
|
269
295
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
270
296
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
271
297
|
componentWillUnmount?(): void;
|
272
298
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
273
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDuration" | "minDuration" | "timeFormat" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "
|
299
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "timeFormat" | "timeConstraints" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra" | "isDatePicker" | "defaultDate"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "showViewMode">> & Partial<Pick<Pick<CalendarMobileProps, "showViewMode">, never>> & {
|
274
300
|
locale?: string | undefined;
|
275
301
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
276
302
|
}>, prevState: Readonly<{}>): any;
|
277
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDuration" | "minDuration" | "timeFormat" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "
|
303
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "timeFormat" | "timeConstraints" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra" | "isDatePicker" | "defaultDate"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "showViewMode">> & Partial<Pick<Pick<CalendarMobileProps, "showViewMode">, never>> & {
|
278
304
|
locale?: string | undefined;
|
279
305
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
280
306
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
281
307
|
componentWillMount?(): void;
|
282
308
|
UNSAFE_componentWillMount?(): void;
|
283
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDuration" | "minDuration" | "timeFormat" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "
|
309
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "timeFormat" | "timeConstraints" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra" | "isDatePicker" | "defaultDate"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "showViewMode">> & Partial<Pick<Pick<CalendarMobileProps, "showViewMode">, never>> & {
|
284
310
|
locale?: string | undefined;
|
285
311
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
286
312
|
}>, nextContext: any): void;
|
287
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDuration" | "minDuration" | "timeFormat" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "
|
313
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "timeFormat" | "timeConstraints" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra" | "isDatePicker" | "defaultDate"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "showViewMode">> & Partial<Pick<Pick<CalendarMobileProps, "showViewMode">, never>> & {
|
288
314
|
locale?: string | undefined;
|
289
315
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
290
316
|
}>, nextContext: any): void;
|
291
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDuration" | "minDuration" | "timeFormat" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "
|
317
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "timeFormat" | "timeConstraints" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra" | "isDatePicker" | "defaultDate"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "showViewMode">> & Partial<Pick<Pick<CalendarMobileProps, "showViewMode">, never>> & {
|
292
318
|
locale?: string | undefined;
|
293
319
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
294
320
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
295
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDuration" | "minDuration" | "timeFormat" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "
|
321
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "timeFormat" | "timeConstraints" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra" | "isDatePicker" | "defaultDate"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "showViewMode">> & Partial<Pick<Pick<CalendarMobileProps, "showViewMode">, never>> & {
|
296
322
|
locale?: string | undefined;
|
297
323
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
298
324
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
@@ -304,21 +330,21 @@ declare const _default: {
|
|
304
330
|
ComposedComponent: typeof CalendarMobile;
|
305
331
|
}>;
|
306
332
|
} & import("hoist-non-react-statics").NonReactStatics<{
|
307
|
-
new (props: (Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDuration" | "minDuration" | "timeFormat" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "
|
333
|
+
new (props: (Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "timeFormat" | "timeConstraints" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra" | "isDatePicker" | "defaultDate"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "showViewMode">> & Partial<Pick<Pick<CalendarMobileProps, "showViewMode">, never>> & {
|
308
334
|
locale?: string | undefined;
|
309
335
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
310
|
-
}) | Readonly<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDuration" | "minDuration" | "timeFormat" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "
|
336
|
+
}) | Readonly<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "timeFormat" | "timeConstraints" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra" | "isDatePicker" | "defaultDate"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "showViewMode">> & Partial<Pick<Pick<CalendarMobileProps, "showViewMode">, never>> & {
|
311
337
|
locale?: string | undefined;
|
312
338
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
313
339
|
}>): {
|
314
340
|
render(): JSX.Element;
|
315
341
|
context: any;
|
316
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDuration" | "minDuration" | "timeFormat" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "
|
342
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "timeFormat" | "timeConstraints" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra" | "isDatePicker" | "defaultDate"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "showViewMode">> & Partial<Pick<Pick<CalendarMobileProps, "showViewMode">, never>> & {
|
317
343
|
locale?: string | undefined;
|
318
344
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
319
345
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
320
346
|
forceUpdate(callback?: (() => void) | undefined): void;
|
321
|
-
readonly props: Readonly<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDuration" | "minDuration" | "timeFormat" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "
|
347
|
+
readonly props: Readonly<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "timeFormat" | "timeConstraints" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra" | "isDatePicker" | "defaultDate"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "showViewMode">> & Partial<Pick<Pick<CalendarMobileProps, "showViewMode">, never>> & {
|
322
348
|
locale?: string | undefined;
|
323
349
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
324
350
|
}> & Readonly<{
|
@@ -329,51 +355,51 @@ declare const _default: {
|
|
329
355
|
[key: string]: React.ReactInstance;
|
330
356
|
};
|
331
357
|
componentDidMount?(): void;
|
332
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDuration" | "minDuration" | "timeFormat" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "
|
358
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "timeFormat" | "timeConstraints" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra" | "isDatePicker" | "defaultDate"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "showViewMode">> & Partial<Pick<Pick<CalendarMobileProps, "showViewMode">, never>> & {
|
333
359
|
locale?: string | undefined;
|
334
360
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
335
361
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
336
362
|
componentWillUnmount?(): void;
|
337
363
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
338
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDuration" | "minDuration" | "timeFormat" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "
|
364
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "timeFormat" | "timeConstraints" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra" | "isDatePicker" | "defaultDate"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "showViewMode">> & Partial<Pick<Pick<CalendarMobileProps, "showViewMode">, never>> & {
|
339
365
|
locale?: string | undefined;
|
340
366
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
341
367
|
}>, prevState: Readonly<{}>): any;
|
342
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDuration" | "minDuration" | "timeFormat" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "
|
368
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "timeFormat" | "timeConstraints" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra" | "isDatePicker" | "defaultDate"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "showViewMode">> & Partial<Pick<Pick<CalendarMobileProps, "showViewMode">, never>> & {
|
343
369
|
locale?: string | undefined;
|
344
370
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
345
371
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
346
372
|
componentWillMount?(): void;
|
347
373
|
UNSAFE_componentWillMount?(): void;
|
348
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDuration" | "minDuration" | "timeFormat" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "
|
374
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "timeFormat" | "timeConstraints" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra" | "isDatePicker" | "defaultDate"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "showViewMode">> & Partial<Pick<Pick<CalendarMobileProps, "showViewMode">, never>> & {
|
349
375
|
locale?: string | undefined;
|
350
376
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
351
377
|
}>, nextContext: any): void;
|
352
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDuration" | "minDuration" | "timeFormat" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "
|
378
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "timeFormat" | "timeConstraints" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra" | "isDatePicker" | "defaultDate"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "showViewMode">> & Partial<Pick<Pick<CalendarMobileProps, "showViewMode">, never>> & {
|
353
379
|
locale?: string | undefined;
|
354
380
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
355
381
|
}>, nextContext: any): void;
|
356
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDuration" | "minDuration" | "timeFormat" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "
|
382
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "timeFormat" | "timeConstraints" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra" | "isDatePicker" | "defaultDate"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "showViewMode">> & Partial<Pick<Pick<CalendarMobileProps, "showViewMode">, never>> & {
|
357
383
|
locale?: string | undefined;
|
358
384
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
359
385
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
360
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDuration" | "minDuration" | "timeFormat" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "
|
386
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "timeFormat" | "timeConstraints" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra" | "isDatePicker" | "defaultDate"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "showViewMode">> & Partial<Pick<Pick<CalendarMobileProps, "showViewMode">, never>> & {
|
361
387
|
locale?: string | undefined;
|
362
388
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
363
389
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
364
390
|
};
|
365
|
-
new (props: Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDuration" | "minDuration" | "timeFormat" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "
|
391
|
+
new (props: Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "timeFormat" | "timeConstraints" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra" | "isDatePicker" | "defaultDate"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "showViewMode">> & Partial<Pick<Pick<CalendarMobileProps, "showViewMode">, never>> & {
|
366
392
|
locale?: string | undefined;
|
367
393
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
368
394
|
}, context: any): {
|
369
395
|
render(): JSX.Element;
|
370
396
|
context: any;
|
371
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDuration" | "minDuration" | "timeFormat" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "
|
397
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "timeFormat" | "timeConstraints" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra" | "isDatePicker" | "defaultDate"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "showViewMode">> & Partial<Pick<Pick<CalendarMobileProps, "showViewMode">, never>> & {
|
372
398
|
locale?: string | undefined;
|
373
399
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
374
400
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
375
401
|
forceUpdate(callback?: (() => void) | undefined): void;
|
376
|
-
readonly props: Readonly<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDuration" | "minDuration" | "timeFormat" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "
|
402
|
+
readonly props: Readonly<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "timeFormat" | "timeConstraints" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra" | "isDatePicker" | "defaultDate"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "showViewMode">> & Partial<Pick<Pick<CalendarMobileProps, "showViewMode">, never>> & {
|
377
403
|
locale?: string | undefined;
|
378
404
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
379
405
|
}> & Readonly<{
|
@@ -384,35 +410,35 @@ declare const _default: {
|
|
384
410
|
[key: string]: React.ReactInstance;
|
385
411
|
};
|
386
412
|
componentDidMount?(): void;
|
387
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDuration" | "minDuration" | "timeFormat" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "
|
413
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "timeFormat" | "timeConstraints" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra" | "isDatePicker" | "defaultDate"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "showViewMode">> & Partial<Pick<Pick<CalendarMobileProps, "showViewMode">, never>> & {
|
388
414
|
locale?: string | undefined;
|
389
415
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
390
416
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
391
417
|
componentWillUnmount?(): void;
|
392
418
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
393
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDuration" | "minDuration" | "timeFormat" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "
|
419
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "timeFormat" | "timeConstraints" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra" | "isDatePicker" | "defaultDate"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "showViewMode">> & Partial<Pick<Pick<CalendarMobileProps, "showViewMode">, never>> & {
|
394
420
|
locale?: string | undefined;
|
395
421
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
396
422
|
}>, prevState: Readonly<{}>): any;
|
397
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDuration" | "minDuration" | "timeFormat" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "
|
423
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "timeFormat" | "timeConstraints" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra" | "isDatePicker" | "defaultDate"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "showViewMode">> & Partial<Pick<Pick<CalendarMobileProps, "showViewMode">, never>> & {
|
398
424
|
locale?: string | undefined;
|
399
425
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
400
426
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
401
427
|
componentWillMount?(): void;
|
402
428
|
UNSAFE_componentWillMount?(): void;
|
403
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDuration" | "minDuration" | "timeFormat" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "
|
429
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "timeFormat" | "timeConstraints" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra" | "isDatePicker" | "defaultDate"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "showViewMode">> & Partial<Pick<Pick<CalendarMobileProps, "showViewMode">, never>> & {
|
404
430
|
locale?: string | undefined;
|
405
431
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
406
432
|
}>, nextContext: any): void;
|
407
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDuration" | "minDuration" | "timeFormat" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "
|
433
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "timeFormat" | "timeConstraints" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra" | "isDatePicker" | "defaultDate"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "showViewMode">> & Partial<Pick<Pick<CalendarMobileProps, "showViewMode">, never>> & {
|
408
434
|
locale?: string | undefined;
|
409
435
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
410
436
|
}>, nextContext: any): void;
|
411
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDuration" | "minDuration" | "timeFormat" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "
|
437
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "timeFormat" | "timeConstraints" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra" | "isDatePicker" | "defaultDate"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "showViewMode">> & Partial<Pick<Pick<CalendarMobileProps, "showViewMode">, never>> & {
|
412
438
|
locale?: string | undefined;
|
413
439
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
414
440
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
415
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDuration" | "minDuration" | "timeFormat" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "
|
441
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "timeFormat" | "timeConstraints" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra" | "isDatePicker" | "defaultDate"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "showViewMode">> & Partial<Pick<Pick<CalendarMobileProps, "showViewMode">, never>> & {
|
416
442
|
locale?: string | undefined;
|
417
443
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
418
444
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
@@ -424,21 +450,21 @@ declare const _default: {
|
|
424
450
|
ComposedComponent: typeof CalendarMobile;
|
425
451
|
}, {}> & {
|
426
452
|
ComposedComponent: {
|
427
|
-
new (props: (Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDuration" | "minDuration" | "timeFormat" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "
|
453
|
+
new (props: (Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "timeFormat" | "timeConstraints" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra" | "isDatePicker" | "defaultDate"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "showViewMode">> & Partial<Pick<Pick<CalendarMobileProps, "showViewMode">, never>> & {
|
428
454
|
locale?: string | undefined;
|
429
455
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
430
|
-
}) | Readonly<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDuration" | "minDuration" | "timeFormat" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "
|
456
|
+
}) | Readonly<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "timeFormat" | "timeConstraints" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra" | "isDatePicker" | "defaultDate"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "showViewMode">> & Partial<Pick<Pick<CalendarMobileProps, "showViewMode">, never>> & {
|
431
457
|
locale?: string | undefined;
|
432
458
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
433
459
|
}>): {
|
434
460
|
render(): JSX.Element;
|
435
461
|
context: any;
|
436
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDuration" | "minDuration" | "timeFormat" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "
|
462
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "timeFormat" | "timeConstraints" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra" | "isDatePicker" | "defaultDate"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "showViewMode">> & Partial<Pick<Pick<CalendarMobileProps, "showViewMode">, never>> & {
|
437
463
|
locale?: string | undefined;
|
438
464
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
439
465
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
440
466
|
forceUpdate(callback?: (() => void) | undefined): void;
|
441
|
-
readonly props: Readonly<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDuration" | "minDuration" | "timeFormat" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "
|
467
|
+
readonly props: Readonly<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "timeFormat" | "timeConstraints" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra" | "isDatePicker" | "defaultDate"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "showViewMode">> & Partial<Pick<Pick<CalendarMobileProps, "showViewMode">, never>> & {
|
442
468
|
locale?: string | undefined;
|
443
469
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
444
470
|
}> & Readonly<{
|
@@ -449,51 +475,51 @@ declare const _default: {
|
|
449
475
|
[key: string]: React.ReactInstance;
|
450
476
|
};
|
451
477
|
componentDidMount?(): void;
|
452
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDuration" | "minDuration" | "timeFormat" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "
|
478
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "timeFormat" | "timeConstraints" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra" | "isDatePicker" | "defaultDate"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "showViewMode">> & Partial<Pick<Pick<CalendarMobileProps, "showViewMode">, never>> & {
|
453
479
|
locale?: string | undefined;
|
454
480
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
455
481
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
456
482
|
componentWillUnmount?(): void;
|
457
483
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
458
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDuration" | "minDuration" | "timeFormat" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "
|
484
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "timeFormat" | "timeConstraints" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra" | "isDatePicker" | "defaultDate"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "showViewMode">> & Partial<Pick<Pick<CalendarMobileProps, "showViewMode">, never>> & {
|
459
485
|
locale?: string | undefined;
|
460
486
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
461
487
|
}>, prevState: Readonly<{}>): any;
|
462
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDuration" | "minDuration" | "timeFormat" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "
|
488
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "timeFormat" | "timeConstraints" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra" | "isDatePicker" | "defaultDate"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "showViewMode">> & Partial<Pick<Pick<CalendarMobileProps, "showViewMode">, never>> & {
|
463
489
|
locale?: string | undefined;
|
464
490
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
465
491
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
466
492
|
componentWillMount?(): void;
|
467
493
|
UNSAFE_componentWillMount?(): void;
|
468
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDuration" | "minDuration" | "timeFormat" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "
|
494
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "timeFormat" | "timeConstraints" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra" | "isDatePicker" | "defaultDate"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "showViewMode">> & Partial<Pick<Pick<CalendarMobileProps, "showViewMode">, never>> & {
|
469
495
|
locale?: string | undefined;
|
470
496
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
471
497
|
}>, nextContext: any): void;
|
472
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDuration" | "minDuration" | "timeFormat" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "
|
498
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "timeFormat" | "timeConstraints" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra" | "isDatePicker" | "defaultDate"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "showViewMode">> & Partial<Pick<Pick<CalendarMobileProps, "showViewMode">, never>> & {
|
473
499
|
locale?: string | undefined;
|
474
500
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
475
501
|
}>, nextContext: any): void;
|
476
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDuration" | "minDuration" | "timeFormat" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "
|
502
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "timeFormat" | "timeConstraints" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra" | "isDatePicker" | "defaultDate"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "showViewMode">> & Partial<Pick<Pick<CalendarMobileProps, "showViewMode">, never>> & {
|
477
503
|
locale?: string | undefined;
|
478
504
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
479
505
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
480
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDuration" | "minDuration" | "timeFormat" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "
|
506
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "timeFormat" | "timeConstraints" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra" | "isDatePicker" | "defaultDate"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "showViewMode">> & Partial<Pick<Pick<CalendarMobileProps, "showViewMode">, never>> & {
|
481
507
|
locale?: string | undefined;
|
482
508
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
483
509
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
484
510
|
};
|
485
|
-
new (props: Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDuration" | "minDuration" | "timeFormat" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "
|
511
|
+
new (props: Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "timeFormat" | "timeConstraints" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra" | "isDatePicker" | "defaultDate"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "showViewMode">> & Partial<Pick<Pick<CalendarMobileProps, "showViewMode">, never>> & {
|
486
512
|
locale?: string | undefined;
|
487
513
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
488
514
|
}, context: any): {
|
489
515
|
render(): JSX.Element;
|
490
516
|
context: any;
|
491
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDuration" | "minDuration" | "timeFormat" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "
|
517
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "timeFormat" | "timeConstraints" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra" | "isDatePicker" | "defaultDate"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "showViewMode">> & Partial<Pick<Pick<CalendarMobileProps, "showViewMode">, never>> & {
|
492
518
|
locale?: string | undefined;
|
493
519
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
494
520
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
495
521
|
forceUpdate(callback?: (() => void) | undefined): void;
|
496
|
-
readonly props: Readonly<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDuration" | "minDuration" | "timeFormat" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "
|
522
|
+
readonly props: Readonly<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "timeFormat" | "timeConstraints" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra" | "isDatePicker" | "defaultDate"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "showViewMode">> & Partial<Pick<Pick<CalendarMobileProps, "showViewMode">, never>> & {
|
497
523
|
locale?: string | undefined;
|
498
524
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
499
525
|
}> & Readonly<{
|
@@ -504,35 +530,35 @@ declare const _default: {
|
|
504
530
|
[key: string]: React.ReactInstance;
|
505
531
|
};
|
506
532
|
componentDidMount?(): void;
|
507
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDuration" | "minDuration" | "timeFormat" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "
|
533
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "timeFormat" | "timeConstraints" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra" | "isDatePicker" | "defaultDate"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "showViewMode">> & Partial<Pick<Pick<CalendarMobileProps, "showViewMode">, never>> & {
|
508
534
|
locale?: string | undefined;
|
509
535
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
510
536
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
511
537
|
componentWillUnmount?(): void;
|
512
538
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
513
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDuration" | "minDuration" | "timeFormat" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "
|
539
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "timeFormat" | "timeConstraints" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra" | "isDatePicker" | "defaultDate"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "showViewMode">> & Partial<Pick<Pick<CalendarMobileProps, "showViewMode">, never>> & {
|
514
540
|
locale?: string | undefined;
|
515
541
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
516
542
|
}>, prevState: Readonly<{}>): any;
|
517
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDuration" | "minDuration" | "timeFormat" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "
|
543
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "timeFormat" | "timeConstraints" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra" | "isDatePicker" | "defaultDate"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "showViewMode">> & Partial<Pick<Pick<CalendarMobileProps, "showViewMode">, never>> & {
|
518
544
|
locale?: string | undefined;
|
519
545
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
520
546
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
521
547
|
componentWillMount?(): void;
|
522
548
|
UNSAFE_componentWillMount?(): void;
|
523
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDuration" | "minDuration" | "timeFormat" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "
|
549
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "timeFormat" | "timeConstraints" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra" | "isDatePicker" | "defaultDate"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "showViewMode">> & Partial<Pick<Pick<CalendarMobileProps, "showViewMode">, never>> & {
|
524
550
|
locale?: string | undefined;
|
525
551
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
526
552
|
}>, nextContext: any): void;
|
527
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDuration" | "minDuration" | "timeFormat" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "
|
553
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "timeFormat" | "timeConstraints" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra" | "isDatePicker" | "defaultDate"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "showViewMode">> & Partial<Pick<Pick<CalendarMobileProps, "showViewMode">, never>> & {
|
528
554
|
locale?: string | undefined;
|
529
555
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
530
556
|
}>, nextContext: any): void;
|
531
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDuration" | "minDuration" | "timeFormat" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "
|
557
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "timeFormat" | "timeConstraints" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra" | "isDatePicker" | "defaultDate"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "showViewMode">> & Partial<Pick<Pick<CalendarMobileProps, "showViewMode">, never>> & {
|
532
558
|
locale?: string | undefined;
|
533
559
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
534
560
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
535
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDuration" | "minDuration" | "timeFormat" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "
|
561
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "close" | "confirm" | "onChange" | "inputFormat" | "maxDate" | "minDate" | "maxDuration" | "minDuration" | "timeFormat" | "timeConstraints" | "viewMode" | "dateFormat" | "startDate" | "endDate" | "footerExtra" | "isDatePicker" | "defaultDate"> & Partial<Pick<Omit<CalendarMobileProps, keyof LocaleProps>, "showViewMode">> & Partial<Pick<Pick<CalendarMobileProps, "showViewMode">, never>> & {
|
536
562
|
locale?: string | undefined;
|
537
563
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
538
564
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|