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