amis 1.5.2 → 1.5.3
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/Collapse.js +1 -1
- package/lib/components/Collapse.js.map +2 -2
- package/lib/components/DatePicker.d.ts +178 -84
- package/lib/components/DatePicker.js +25 -4
- package/lib/components/DatePicker.js.map +2 -2
- package/lib/components/calendar/Calendar.d.ts +8 -0
- package/lib/components/calendar/Calendar.js +4 -1
- package/lib/components/calendar/Calendar.js.map +2 -2
- package/lib/components/calendar/DaysView.d.ts +8 -0
- package/lib/components/calendar/DaysView.js +71 -0
- package/lib/components/calendar/DaysView.js.map +2 -2
- package/lib/index.js +1 -1
- package/lib/renderers/Form/InputDate.d.ts +25 -0
- package/lib/renderers/Form/InputDate.js +48 -3
- package/lib/renderers/Form/InputDate.js.map +2 -2
- package/lib/renderers/Status.js +1 -1
- package/lib/renderers/Status.js.map +2 -2
- package/lib/themes/ang-ie11.css +78 -1
- package/lib/themes/ang.css +78 -1
- package/lib/themes/ang.css.map +1 -1
- package/lib/themes/antd-ie11.css +78 -2
- package/lib/themes/antd.css +78 -2
- package/lib/themes/antd.css.map +1 -1
- package/lib/themes/cxd-ie11.css +86 -1
- package/lib/themes/cxd.css +86 -1
- package/lib/themes/cxd.css.map +1 -1
- package/lib/themes/dark-ie11.css +78 -1
- package/lib/themes/dark.css +78 -1
- package/lib/themes/dark.css.map +1 -1
- package/lib/themes/default.css +86 -1
- package/lib/themes/default.css.map +1 -1
- package/package.json +2 -2
- package/schema.json +52 -7
- package/scss/_properties.scss +1 -1
- package/scss/components/_calendar.scss +81 -0
- package/scss/components/_toast.scss +3 -0
- package/scss/themes/_antd-variables.scss +0 -2
- package/scss/themes/_common.scss +1 -0
- package/scss/themes/_cxd-variables.scss +9 -0
- package/sdk/ang-ie11.css +90 -1
- package/sdk/ang.css +90 -1
- package/sdk/antd-ie11.css +89 -0
- package/sdk/antd.css +90 -2
- package/sdk/charts.js +15 -15
- package/sdk/color-picker.js +65 -65
- package/sdk/cropperjs.js +2 -2
- package/sdk/cxd-ie11.css +90 -1
- package/sdk/cxd.css +98 -1
- package/sdk/dark-ie11.css +90 -1
- package/sdk/dark.css +90 -1
- package/sdk/exceljs.js +1 -1
- package/sdk/markdown.js +69 -69
- package/sdk/papaparse.js +1 -1
- package/sdk/renderers/Form/CityDB.js +1 -1
- package/sdk/rest.js +18 -18
- package/sdk/rich-text.js +62 -62
- package/sdk/sdk-ie11.css +90 -1
- package/sdk/sdk.css +98 -1
- package/sdk/sdk.js +1182 -1182
- package/sdk/thirds/hls.js/hls.js +1 -1
- package/sdk/thirds/mpegts.js/mpegts.js +1 -1
- package/sdk/tinymce.js +57 -57
- package/src/components/Collapse.tsx +1 -1
- package/src/components/DatePicker.tsx +41 -3
- package/src/components/calendar/Calendar.tsx +12 -1
- package/src/components/calendar/DaysView.tsx +89 -0
- package/src/renderers/Form/InputDate.tsx +83 -2
- package/src/renderers/Status.tsx +3 -1
@@ -63,6 +63,15 @@ export interface DateProps extends LocaleProps, ThemeProps {
|
|
63
63
|
popOverContainer?: any;
|
64
64
|
borderMode?: 'full' | 'half' | 'none';
|
65
65
|
embed?: boolean;
|
66
|
+
schedules?: Array<{
|
67
|
+
startTime: Date;
|
68
|
+
endTime: Date;
|
69
|
+
content: any;
|
70
|
+
className?: string;
|
71
|
+
}>;
|
72
|
+
scheduleClassNames?: Array<string>;
|
73
|
+
largeMode?: boolean;
|
74
|
+
onScheduleClick?: (scheduleData: any) => void;
|
66
75
|
}
|
67
76
|
export interface DatePickerState {
|
68
77
|
isOpened: boolean;
|
@@ -75,6 +84,7 @@ export declare class DatePicker extends React.Component<DateProps, DatePickerSta
|
|
75
84
|
shortcuts: string;
|
76
85
|
closeOnSelect: boolean;
|
77
86
|
overlayPlacement: string;
|
87
|
+
scheduleClassNames: string[];
|
78
88
|
};
|
79
89
|
state: DatePickerState;
|
80
90
|
constructor(props: DateProps);
|
@@ -100,40 +110,44 @@ export declare class DatePicker extends React.Component<DateProps, DatePickerSta
|
|
100
110
|
render(): JSX.Element;
|
101
111
|
}
|
102
112
|
declare const _default: {
|
103
|
-
new (props: (Omit<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement">> & Partial<Pick<{
|
113
|
+
new (props: (Omit<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
|
104
114
|
viewMode: "time" | "years" | "months" | "days";
|
105
115
|
shortcuts: string;
|
106
116
|
closeOnSelect: boolean;
|
107
117
|
overlayPlacement: string;
|
118
|
+
scheduleClassNames: string[];
|
108
119
|
}, never>> & {
|
109
120
|
locale?: string | undefined;
|
110
121
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
111
|
-
}, keyof ThemeProps> & import("../theme").ThemeOutterProps) | Readonly<Omit<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement">> & Partial<Pick<{
|
122
|
+
}, keyof ThemeProps> & import("../theme").ThemeOutterProps) | Readonly<Omit<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
|
112
123
|
viewMode: "time" | "years" | "months" | "days";
|
113
124
|
shortcuts: string;
|
114
125
|
closeOnSelect: boolean;
|
115
126
|
overlayPlacement: string;
|
127
|
+
scheduleClassNames: string[];
|
116
128
|
}, never>> & {
|
117
129
|
locale?: string | undefined;
|
118
130
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
119
131
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>): {
|
120
132
|
render(): JSX.Element;
|
121
133
|
context: any;
|
122
|
-
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement">> & Partial<Pick<{
|
134
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
|
123
135
|
viewMode: "time" | "years" | "months" | "days";
|
124
136
|
shortcuts: string;
|
125
137
|
closeOnSelect: boolean;
|
126
138
|
overlayPlacement: string;
|
139
|
+
scheduleClassNames: string[];
|
127
140
|
}, never>> & {
|
128
141
|
locale?: string | undefined;
|
129
142
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
130
143
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
131
144
|
forceUpdate(callback?: (() => void) | undefined): void;
|
132
|
-
readonly props: Readonly<Omit<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement">> & Partial<Pick<{
|
145
|
+
readonly props: Readonly<Omit<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
|
133
146
|
viewMode: "time" | "years" | "months" | "days";
|
134
147
|
shortcuts: string;
|
135
148
|
closeOnSelect: boolean;
|
136
149
|
overlayPlacement: string;
|
150
|
+
scheduleClassNames: string[];
|
137
151
|
}, never>> & {
|
138
152
|
locale?: string | undefined;
|
139
153
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
@@ -145,100 +159,110 @@ declare const _default: {
|
|
145
159
|
[key: string]: React.ReactInstance;
|
146
160
|
};
|
147
161
|
componentDidMount?(): void;
|
148
|
-
shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement">> & Partial<Pick<{
|
162
|
+
shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
|
149
163
|
viewMode: "time" | "years" | "months" | "days";
|
150
164
|
shortcuts: string;
|
151
165
|
closeOnSelect: boolean;
|
152
166
|
overlayPlacement: string;
|
167
|
+
scheduleClassNames: string[];
|
153
168
|
}, never>> & {
|
154
169
|
locale?: string | undefined;
|
155
170
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
156
171
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
157
172
|
componentWillUnmount?(): void;
|
158
173
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
159
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement">> & Partial<Pick<{
|
174
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
|
160
175
|
viewMode: "time" | "years" | "months" | "days";
|
161
176
|
shortcuts: string;
|
162
177
|
closeOnSelect: boolean;
|
163
178
|
overlayPlacement: string;
|
179
|
+
scheduleClassNames: string[];
|
164
180
|
}, never>> & {
|
165
181
|
locale?: string | undefined;
|
166
182
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
167
183
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, prevState: Readonly<{}>): any;
|
168
|
-
componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement">> & Partial<Pick<{
|
184
|
+
componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
|
169
185
|
viewMode: "time" | "years" | "months" | "days";
|
170
186
|
shortcuts: string;
|
171
187
|
closeOnSelect: boolean;
|
172
188
|
overlayPlacement: string;
|
189
|
+
scheduleClassNames: string[];
|
173
190
|
}, never>> & {
|
174
191
|
locale?: string | undefined;
|
175
192
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
176
193
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
177
194
|
componentWillMount?(): void;
|
178
195
|
UNSAFE_componentWillMount?(): void;
|
179
|
-
componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement">> & Partial<Pick<{
|
196
|
+
componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
|
180
197
|
viewMode: "time" | "years" | "months" | "days";
|
181
198
|
shortcuts: string;
|
182
199
|
closeOnSelect: boolean;
|
183
200
|
overlayPlacement: string;
|
201
|
+
scheduleClassNames: string[];
|
184
202
|
}, never>> & {
|
185
203
|
locale?: string | undefined;
|
186
204
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
187
205
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextContext: any): void;
|
188
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement">> & Partial<Pick<{
|
206
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
|
189
207
|
viewMode: "time" | "years" | "months" | "days";
|
190
208
|
shortcuts: string;
|
191
209
|
closeOnSelect: boolean;
|
192
210
|
overlayPlacement: string;
|
211
|
+
scheduleClassNames: string[];
|
193
212
|
}, never>> & {
|
194
213
|
locale?: string | undefined;
|
195
214
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
196
215
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextContext: any): void;
|
197
|
-
componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement">> & Partial<Pick<{
|
216
|
+
componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
|
198
217
|
viewMode: "time" | "years" | "months" | "days";
|
199
218
|
shortcuts: string;
|
200
219
|
closeOnSelect: boolean;
|
201
220
|
overlayPlacement: string;
|
221
|
+
scheduleClassNames: string[];
|
202
222
|
}, never>> & {
|
203
223
|
locale?: string | undefined;
|
204
224
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
205
225
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
206
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement">> & Partial<Pick<{
|
226
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
|
207
227
|
viewMode: "time" | "years" | "months" | "days";
|
208
228
|
shortcuts: string;
|
209
229
|
closeOnSelect: boolean;
|
210
230
|
overlayPlacement: string;
|
231
|
+
scheduleClassNames: string[];
|
211
232
|
}, never>> & {
|
212
233
|
locale?: string | undefined;
|
213
234
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
214
235
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
215
236
|
};
|
216
|
-
new (props: Omit<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement">> & Partial<Pick<{
|
237
|
+
new (props: Omit<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
|
217
238
|
viewMode: "time" | "years" | "months" | "days";
|
218
239
|
shortcuts: string;
|
219
240
|
closeOnSelect: boolean;
|
220
241
|
overlayPlacement: string;
|
242
|
+
scheduleClassNames: string[];
|
221
243
|
}, never>> & {
|
222
244
|
locale?: string | undefined;
|
223
245
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
224
246
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps, context: any): {
|
225
247
|
render(): JSX.Element;
|
226
248
|
context: any;
|
227
|
-
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement">> & Partial<Pick<{
|
249
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
|
228
250
|
viewMode: "time" | "years" | "months" | "days";
|
229
251
|
shortcuts: string;
|
230
252
|
closeOnSelect: boolean;
|
231
253
|
overlayPlacement: string;
|
254
|
+
scheduleClassNames: string[];
|
232
255
|
}, never>> & {
|
233
256
|
locale?: string | undefined;
|
234
257
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
235
258
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
236
259
|
forceUpdate(callback?: (() => void) | undefined): void;
|
237
|
-
readonly props: Readonly<Omit<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement">> & Partial<Pick<{
|
260
|
+
readonly props: Readonly<Omit<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
|
238
261
|
viewMode: "time" | "years" | "months" | "days";
|
239
262
|
shortcuts: string;
|
240
263
|
closeOnSelect: boolean;
|
241
264
|
overlayPlacement: string;
|
265
|
+
scheduleClassNames: string[];
|
242
266
|
}, never>> & {
|
243
267
|
locale?: string | undefined;
|
244
268
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
@@ -250,69 +274,76 @@ declare const _default: {
|
|
250
274
|
[key: string]: React.ReactInstance;
|
251
275
|
};
|
252
276
|
componentDidMount?(): void;
|
253
|
-
shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement">> & Partial<Pick<{
|
277
|
+
shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
|
254
278
|
viewMode: "time" | "years" | "months" | "days";
|
255
279
|
shortcuts: string;
|
256
280
|
closeOnSelect: boolean;
|
257
281
|
overlayPlacement: string;
|
282
|
+
scheduleClassNames: string[];
|
258
283
|
}, never>> & {
|
259
284
|
locale?: string | undefined;
|
260
285
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
261
286
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
262
287
|
componentWillUnmount?(): void;
|
263
288
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
264
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement">> & Partial<Pick<{
|
289
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
|
265
290
|
viewMode: "time" | "years" | "months" | "days";
|
266
291
|
shortcuts: string;
|
267
292
|
closeOnSelect: boolean;
|
268
293
|
overlayPlacement: string;
|
294
|
+
scheduleClassNames: string[];
|
269
295
|
}, never>> & {
|
270
296
|
locale?: string | undefined;
|
271
297
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
272
298
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, prevState: Readonly<{}>): any;
|
273
|
-
componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement">> & Partial<Pick<{
|
299
|
+
componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
|
274
300
|
viewMode: "time" | "years" | "months" | "days";
|
275
301
|
shortcuts: string;
|
276
302
|
closeOnSelect: boolean;
|
277
303
|
overlayPlacement: string;
|
304
|
+
scheduleClassNames: string[];
|
278
305
|
}, never>> & {
|
279
306
|
locale?: string | undefined;
|
280
307
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
281
308
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
282
309
|
componentWillMount?(): void;
|
283
310
|
UNSAFE_componentWillMount?(): void;
|
284
|
-
componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement">> & Partial<Pick<{
|
311
|
+
componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
|
285
312
|
viewMode: "time" | "years" | "months" | "days";
|
286
313
|
shortcuts: string;
|
287
314
|
closeOnSelect: boolean;
|
288
315
|
overlayPlacement: string;
|
316
|
+
scheduleClassNames: string[];
|
289
317
|
}, never>> & {
|
290
318
|
locale?: string | undefined;
|
291
319
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
292
320
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextContext: any): void;
|
293
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement">> & Partial<Pick<{
|
321
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
|
294
322
|
viewMode: "time" | "years" | "months" | "days";
|
295
323
|
shortcuts: string;
|
296
324
|
closeOnSelect: boolean;
|
297
325
|
overlayPlacement: string;
|
326
|
+
scheduleClassNames: string[];
|
298
327
|
}, never>> & {
|
299
328
|
locale?: string | undefined;
|
300
329
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
301
330
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextContext: any): void;
|
302
|
-
componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement">> & Partial<Pick<{
|
331
|
+
componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
|
303
332
|
viewMode: "time" | "years" | "months" | "days";
|
304
333
|
shortcuts: string;
|
305
334
|
closeOnSelect: boolean;
|
306
335
|
overlayPlacement: string;
|
336
|
+
scheduleClassNames: string[];
|
307
337
|
}, never>> & {
|
308
338
|
locale?: string | undefined;
|
309
339
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
310
340
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
311
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement">> & Partial<Pick<{
|
341
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
|
312
342
|
viewMode: "time" | "years" | "months" | "days";
|
313
343
|
shortcuts: string;
|
314
344
|
closeOnSelect: boolean;
|
315
345
|
overlayPlacement: string;
|
346
|
+
scheduleClassNames: string[];
|
316
347
|
}, never>> & {
|
317
348
|
locale?: string | undefined;
|
318
349
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
@@ -321,40 +352,44 @@ declare const _default: {
|
|
321
352
|
displayName: string;
|
322
353
|
contextType: React.Context<string>;
|
323
354
|
ComposedComponent: React.ComponentType<{
|
324
|
-
new (props: (Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement">> & Partial<Pick<{
|
355
|
+
new (props: (Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
|
325
356
|
viewMode: "time" | "years" | "months" | "days";
|
326
357
|
shortcuts: string;
|
327
358
|
closeOnSelect: boolean;
|
328
359
|
overlayPlacement: string;
|
360
|
+
scheduleClassNames: string[];
|
329
361
|
}, never>> & {
|
330
362
|
locale?: string | undefined;
|
331
363
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
332
|
-
}) | Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement">> & Partial<Pick<{
|
364
|
+
}) | Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
|
333
365
|
viewMode: "time" | "years" | "months" | "days";
|
334
366
|
shortcuts: string;
|
335
367
|
closeOnSelect: boolean;
|
336
368
|
overlayPlacement: string;
|
369
|
+
scheduleClassNames: string[];
|
337
370
|
}, never>> & {
|
338
371
|
locale?: string | undefined;
|
339
372
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
340
373
|
}>): {
|
341
374
|
render(): JSX.Element;
|
342
375
|
context: any;
|
343
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement">> & Partial<Pick<{
|
376
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
|
344
377
|
viewMode: "time" | "years" | "months" | "days";
|
345
378
|
shortcuts: string;
|
346
379
|
closeOnSelect: boolean;
|
347
380
|
overlayPlacement: string;
|
381
|
+
scheduleClassNames: string[];
|
348
382
|
}, never>> & {
|
349
383
|
locale?: string | undefined;
|
350
384
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
351
385
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
352
386
|
forceUpdate(callback?: (() => void) | undefined): void;
|
353
|
-
readonly props: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement">> & Partial<Pick<{
|
387
|
+
readonly props: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
|
354
388
|
viewMode: "time" | "years" | "months" | "days";
|
355
389
|
shortcuts: string;
|
356
390
|
closeOnSelect: boolean;
|
357
391
|
overlayPlacement: string;
|
392
|
+
scheduleClassNames: string[];
|
358
393
|
}, never>> & {
|
359
394
|
locale?: string | undefined;
|
360
395
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
@@ -366,100 +401,110 @@ declare const _default: {
|
|
366
401
|
[key: string]: React.ReactInstance;
|
367
402
|
};
|
368
403
|
componentDidMount?(): void;
|
369
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement">> & Partial<Pick<{
|
404
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
|
370
405
|
viewMode: "time" | "years" | "months" | "days";
|
371
406
|
shortcuts: string;
|
372
407
|
closeOnSelect: boolean;
|
373
408
|
overlayPlacement: string;
|
409
|
+
scheduleClassNames: string[];
|
374
410
|
}, never>> & {
|
375
411
|
locale?: string | undefined;
|
376
412
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
377
413
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
378
414
|
componentWillUnmount?(): void;
|
379
415
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
380
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement">> & Partial<Pick<{
|
416
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
|
381
417
|
viewMode: "time" | "years" | "months" | "days";
|
382
418
|
shortcuts: string;
|
383
419
|
closeOnSelect: boolean;
|
384
420
|
overlayPlacement: string;
|
421
|
+
scheduleClassNames: string[];
|
385
422
|
}, never>> & {
|
386
423
|
locale?: string | undefined;
|
387
424
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
388
425
|
}>, prevState: Readonly<{}>): any;
|
389
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement">> & Partial<Pick<{
|
426
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
|
390
427
|
viewMode: "time" | "years" | "months" | "days";
|
391
428
|
shortcuts: string;
|
392
429
|
closeOnSelect: boolean;
|
393
430
|
overlayPlacement: string;
|
431
|
+
scheduleClassNames: string[];
|
394
432
|
}, never>> & {
|
395
433
|
locale?: string | undefined;
|
396
434
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
397
435
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
398
436
|
componentWillMount?(): void;
|
399
437
|
UNSAFE_componentWillMount?(): void;
|
400
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement">> & Partial<Pick<{
|
438
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
|
401
439
|
viewMode: "time" | "years" | "months" | "days";
|
402
440
|
shortcuts: string;
|
403
441
|
closeOnSelect: boolean;
|
404
442
|
overlayPlacement: string;
|
443
|
+
scheduleClassNames: string[];
|
405
444
|
}, never>> & {
|
406
445
|
locale?: string | undefined;
|
407
446
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
408
447
|
}>, nextContext: any): void;
|
409
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement">> & Partial<Pick<{
|
448
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
|
410
449
|
viewMode: "time" | "years" | "months" | "days";
|
411
450
|
shortcuts: string;
|
412
451
|
closeOnSelect: boolean;
|
413
452
|
overlayPlacement: string;
|
453
|
+
scheduleClassNames: string[];
|
414
454
|
}, never>> & {
|
415
455
|
locale?: string | undefined;
|
416
456
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
417
457
|
}>, nextContext: any): void;
|
418
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement">> & Partial<Pick<{
|
458
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
|
419
459
|
viewMode: "time" | "years" | "months" | "days";
|
420
460
|
shortcuts: string;
|
421
461
|
closeOnSelect: boolean;
|
422
462
|
overlayPlacement: string;
|
463
|
+
scheduleClassNames: string[];
|
423
464
|
}, never>> & {
|
424
465
|
locale?: string | undefined;
|
425
466
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
426
467
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
427
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement">> & Partial<Pick<{
|
468
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
|
428
469
|
viewMode: "time" | "years" | "months" | "days";
|
429
470
|
shortcuts: string;
|
430
471
|
closeOnSelect: boolean;
|
431
472
|
overlayPlacement: string;
|
473
|
+
scheduleClassNames: string[];
|
432
474
|
}, never>> & {
|
433
475
|
locale?: string | undefined;
|
434
476
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
435
477
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
436
478
|
};
|
437
|
-
new (props: Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement">> & Partial<Pick<{
|
479
|
+
new (props: Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
|
438
480
|
viewMode: "time" | "years" | "months" | "days";
|
439
481
|
shortcuts: string;
|
440
482
|
closeOnSelect: boolean;
|
441
483
|
overlayPlacement: string;
|
484
|
+
scheduleClassNames: string[];
|
442
485
|
}, never>> & {
|
443
486
|
locale?: string | undefined;
|
444
487
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
445
488
|
}, context: any): {
|
446
489
|
render(): JSX.Element;
|
447
490
|
context: any;
|
448
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement">> & Partial<Pick<{
|
491
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
|
449
492
|
viewMode: "time" | "years" | "months" | "days";
|
450
493
|
shortcuts: string;
|
451
494
|
closeOnSelect: boolean;
|
452
495
|
overlayPlacement: string;
|
496
|
+
scheduleClassNames: string[];
|
453
497
|
}, never>> & {
|
454
498
|
locale?: string | undefined;
|
455
499
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
456
500
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
457
501
|
forceUpdate(callback?: (() => void) | undefined): void;
|
458
|
-
readonly props: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement">> & Partial<Pick<{
|
502
|
+
readonly props: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
|
459
503
|
viewMode: "time" | "years" | "months" | "days";
|
460
504
|
shortcuts: string;
|
461
505
|
closeOnSelect: boolean;
|
462
506
|
overlayPlacement: string;
|
507
|
+
scheduleClassNames: string[];
|
463
508
|
}, never>> & {
|
464
509
|
locale?: string | undefined;
|
465
510
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
@@ -471,69 +516,76 @@ declare const _default: {
|
|
471
516
|
[key: string]: React.ReactInstance;
|
472
517
|
};
|
473
518
|
componentDidMount?(): void;
|
474
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement">> & Partial<Pick<{
|
519
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
|
475
520
|
viewMode: "time" | "years" | "months" | "days";
|
476
521
|
shortcuts: string;
|
477
522
|
closeOnSelect: boolean;
|
478
523
|
overlayPlacement: string;
|
524
|
+
scheduleClassNames: string[];
|
479
525
|
}, never>> & {
|
480
526
|
locale?: string | undefined;
|
481
527
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
482
528
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
483
529
|
componentWillUnmount?(): void;
|
484
530
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
485
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement">> & Partial<Pick<{
|
531
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
|
486
532
|
viewMode: "time" | "years" | "months" | "days";
|
487
533
|
shortcuts: string;
|
488
534
|
closeOnSelect: boolean;
|
489
535
|
overlayPlacement: string;
|
536
|
+
scheduleClassNames: string[];
|
490
537
|
}, never>> & {
|
491
538
|
locale?: string | undefined;
|
492
539
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
493
540
|
}>, prevState: Readonly<{}>): any;
|
494
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement">> & Partial<Pick<{
|
541
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
|
495
542
|
viewMode: "time" | "years" | "months" | "days";
|
496
543
|
shortcuts: string;
|
497
544
|
closeOnSelect: boolean;
|
498
545
|
overlayPlacement: string;
|
546
|
+
scheduleClassNames: string[];
|
499
547
|
}, never>> & {
|
500
548
|
locale?: string | undefined;
|
501
549
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
502
550
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
503
551
|
componentWillMount?(): void;
|
504
552
|
UNSAFE_componentWillMount?(): void;
|
505
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement">> & Partial<Pick<{
|
553
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
|
506
554
|
viewMode: "time" | "years" | "months" | "days";
|
507
555
|
shortcuts: string;
|
508
556
|
closeOnSelect: boolean;
|
509
557
|
overlayPlacement: string;
|
558
|
+
scheduleClassNames: string[];
|
510
559
|
}, never>> & {
|
511
560
|
locale?: string | undefined;
|
512
561
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
513
562
|
}>, nextContext: any): void;
|
514
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement">> & Partial<Pick<{
|
563
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
|
515
564
|
viewMode: "time" | "years" | "months" | "days";
|
516
565
|
shortcuts: string;
|
517
566
|
closeOnSelect: boolean;
|
518
567
|
overlayPlacement: string;
|
568
|
+
scheduleClassNames: string[];
|
519
569
|
}, never>> & {
|
520
570
|
locale?: string | undefined;
|
521
571
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
522
572
|
}>, nextContext: any): void;
|
523
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement">> & Partial<Pick<{
|
573
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
|
524
574
|
viewMode: "time" | "years" | "months" | "days";
|
525
575
|
shortcuts: string;
|
526
576
|
closeOnSelect: boolean;
|
527
577
|
overlayPlacement: string;
|
578
|
+
scheduleClassNames: string[];
|
528
579
|
}, never>> & {
|
529
580
|
locale?: string | undefined;
|
530
581
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
531
582
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
532
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement">> & Partial<Pick<{
|
583
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
|
533
584
|
viewMode: "time" | "years" | "months" | "days";
|
534
585
|
shortcuts: string;
|
535
586
|
closeOnSelect: boolean;
|
536
587
|
overlayPlacement: string;
|
588
|
+
scheduleClassNames: string[];
|
537
589
|
}, never>> & {
|
538
590
|
locale?: string | undefined;
|
539
591
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
@@ -546,40 +598,44 @@ declare const _default: {
|
|
546
598
|
ComposedComponent: typeof DatePicker;
|
547
599
|
}>;
|
548
600
|
} & import("hoist-non-react-statics").NonReactStatics<{
|
549
|
-
new (props: (Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement">> & Partial<Pick<{
|
601
|
+
new (props: (Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
|
550
602
|
viewMode: "time" | "years" | "months" | "days";
|
551
603
|
shortcuts: string;
|
552
604
|
closeOnSelect: boolean;
|
553
605
|
overlayPlacement: string;
|
606
|
+
scheduleClassNames: string[];
|
554
607
|
}, never>> & {
|
555
608
|
locale?: string | undefined;
|
556
609
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
557
|
-
}) | Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement">> & Partial<Pick<{
|
610
|
+
}) | Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
|
558
611
|
viewMode: "time" | "years" | "months" | "days";
|
559
612
|
shortcuts: string;
|
560
613
|
closeOnSelect: boolean;
|
561
614
|
overlayPlacement: string;
|
615
|
+
scheduleClassNames: string[];
|
562
616
|
}, never>> & {
|
563
617
|
locale?: string | undefined;
|
564
618
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
565
619
|
}>): {
|
566
620
|
render(): JSX.Element;
|
567
621
|
context: any;
|
568
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement">> & Partial<Pick<{
|
622
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
|
569
623
|
viewMode: "time" | "years" | "months" | "days";
|
570
624
|
shortcuts: string;
|
571
625
|
closeOnSelect: boolean;
|
572
626
|
overlayPlacement: string;
|
627
|
+
scheduleClassNames: string[];
|
573
628
|
}, never>> & {
|
574
629
|
locale?: string | undefined;
|
575
630
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
576
631
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
577
632
|
forceUpdate(callback?: (() => void) | undefined): void;
|
578
|
-
readonly props: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement">> & Partial<Pick<{
|
633
|
+
readonly props: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
|
579
634
|
viewMode: "time" | "years" | "months" | "days";
|
580
635
|
shortcuts: string;
|
581
636
|
closeOnSelect: boolean;
|
582
637
|
overlayPlacement: string;
|
638
|
+
scheduleClassNames: string[];
|
583
639
|
}, never>> & {
|
584
640
|
locale?: string | undefined;
|
585
641
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
@@ -591,100 +647,110 @@ declare const _default: {
|
|
591
647
|
[key: string]: React.ReactInstance;
|
592
648
|
};
|
593
649
|
componentDidMount?(): void;
|
594
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement">> & Partial<Pick<{
|
650
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
|
595
651
|
viewMode: "time" | "years" | "months" | "days";
|
596
652
|
shortcuts: string;
|
597
653
|
closeOnSelect: boolean;
|
598
654
|
overlayPlacement: string;
|
655
|
+
scheduleClassNames: string[];
|
599
656
|
}, never>> & {
|
600
657
|
locale?: string | undefined;
|
601
658
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
602
659
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
603
660
|
componentWillUnmount?(): void;
|
604
661
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
605
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement">> & Partial<Pick<{
|
662
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
|
606
663
|
viewMode: "time" | "years" | "months" | "days";
|
607
664
|
shortcuts: string;
|
608
665
|
closeOnSelect: boolean;
|
609
666
|
overlayPlacement: string;
|
667
|
+
scheduleClassNames: string[];
|
610
668
|
}, never>> & {
|
611
669
|
locale?: string | undefined;
|
612
670
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
613
671
|
}>, prevState: Readonly<{}>): any;
|
614
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement">> & Partial<Pick<{
|
672
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
|
615
673
|
viewMode: "time" | "years" | "months" | "days";
|
616
674
|
shortcuts: string;
|
617
675
|
closeOnSelect: boolean;
|
618
676
|
overlayPlacement: string;
|
677
|
+
scheduleClassNames: string[];
|
619
678
|
}, never>> & {
|
620
679
|
locale?: string | undefined;
|
621
680
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
622
681
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
623
682
|
componentWillMount?(): void;
|
624
683
|
UNSAFE_componentWillMount?(): void;
|
625
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement">> & Partial<Pick<{
|
684
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
|
626
685
|
viewMode: "time" | "years" | "months" | "days";
|
627
686
|
shortcuts: string;
|
628
687
|
closeOnSelect: boolean;
|
629
688
|
overlayPlacement: string;
|
689
|
+
scheduleClassNames: string[];
|
630
690
|
}, never>> & {
|
631
691
|
locale?: string | undefined;
|
632
692
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
633
693
|
}>, nextContext: any): void;
|
634
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement">> & Partial<Pick<{
|
694
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
|
635
695
|
viewMode: "time" | "years" | "months" | "days";
|
636
696
|
shortcuts: string;
|
637
697
|
closeOnSelect: boolean;
|
638
698
|
overlayPlacement: string;
|
699
|
+
scheduleClassNames: string[];
|
639
700
|
}, never>> & {
|
640
701
|
locale?: string | undefined;
|
641
702
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
642
703
|
}>, nextContext: any): void;
|
643
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement">> & Partial<Pick<{
|
704
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
|
644
705
|
viewMode: "time" | "years" | "months" | "days";
|
645
706
|
shortcuts: string;
|
646
707
|
closeOnSelect: boolean;
|
647
708
|
overlayPlacement: string;
|
709
|
+
scheduleClassNames: string[];
|
648
710
|
}, never>> & {
|
649
711
|
locale?: string | undefined;
|
650
712
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
651
713
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
652
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement">> & Partial<Pick<{
|
714
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
|
653
715
|
viewMode: "time" | "years" | "months" | "days";
|
654
716
|
shortcuts: string;
|
655
717
|
closeOnSelect: boolean;
|
656
718
|
overlayPlacement: string;
|
719
|
+
scheduleClassNames: string[];
|
657
720
|
}, never>> & {
|
658
721
|
locale?: string | undefined;
|
659
722
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
660
723
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
661
724
|
};
|
662
|
-
new (props: Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement">> & Partial<Pick<{
|
725
|
+
new (props: Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
|
663
726
|
viewMode: "time" | "years" | "months" | "days";
|
664
727
|
shortcuts: string;
|
665
728
|
closeOnSelect: boolean;
|
666
729
|
overlayPlacement: string;
|
730
|
+
scheduleClassNames: string[];
|
667
731
|
}, never>> & {
|
668
732
|
locale?: string | undefined;
|
669
733
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
670
734
|
}, context: any): {
|
671
735
|
render(): JSX.Element;
|
672
736
|
context: any;
|
673
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement">> & Partial<Pick<{
|
737
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
|
674
738
|
viewMode: "time" | "years" | "months" | "days";
|
675
739
|
shortcuts: string;
|
676
740
|
closeOnSelect: boolean;
|
677
741
|
overlayPlacement: string;
|
742
|
+
scheduleClassNames: string[];
|
678
743
|
}, never>> & {
|
679
744
|
locale?: string | undefined;
|
680
745
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
681
746
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
682
747
|
forceUpdate(callback?: (() => void) | undefined): void;
|
683
|
-
readonly props: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement">> & Partial<Pick<{
|
748
|
+
readonly props: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
|
684
749
|
viewMode: "time" | "years" | "months" | "days";
|
685
750
|
shortcuts: string;
|
686
751
|
closeOnSelect: boolean;
|
687
752
|
overlayPlacement: string;
|
753
|
+
scheduleClassNames: string[];
|
688
754
|
}, never>> & {
|
689
755
|
locale?: string | undefined;
|
690
756
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
@@ -696,69 +762,76 @@ declare const _default: {
|
|
696
762
|
[key: string]: React.ReactInstance;
|
697
763
|
};
|
698
764
|
componentDidMount?(): void;
|
699
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement">> & Partial<Pick<{
|
765
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
|
700
766
|
viewMode: "time" | "years" | "months" | "days";
|
701
767
|
shortcuts: string;
|
702
768
|
closeOnSelect: boolean;
|
703
769
|
overlayPlacement: string;
|
770
|
+
scheduleClassNames: string[];
|
704
771
|
}, never>> & {
|
705
772
|
locale?: string | undefined;
|
706
773
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
707
774
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
708
775
|
componentWillUnmount?(): void;
|
709
776
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
710
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement">> & Partial<Pick<{
|
777
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
|
711
778
|
viewMode: "time" | "years" | "months" | "days";
|
712
779
|
shortcuts: string;
|
713
780
|
closeOnSelect: boolean;
|
714
781
|
overlayPlacement: string;
|
782
|
+
scheduleClassNames: string[];
|
715
783
|
}, never>> & {
|
716
784
|
locale?: string | undefined;
|
717
785
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
718
786
|
}>, prevState: Readonly<{}>): any;
|
719
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement">> & Partial<Pick<{
|
787
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
|
720
788
|
viewMode: "time" | "years" | "months" | "days";
|
721
789
|
shortcuts: string;
|
722
790
|
closeOnSelect: boolean;
|
723
791
|
overlayPlacement: string;
|
792
|
+
scheduleClassNames: string[];
|
724
793
|
}, never>> & {
|
725
794
|
locale?: string | undefined;
|
726
795
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
727
796
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
728
797
|
componentWillMount?(): void;
|
729
798
|
UNSAFE_componentWillMount?(): void;
|
730
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement">> & Partial<Pick<{
|
799
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
|
731
800
|
viewMode: "time" | "years" | "months" | "days";
|
732
801
|
shortcuts: string;
|
733
802
|
closeOnSelect: boolean;
|
734
803
|
overlayPlacement: string;
|
804
|
+
scheduleClassNames: string[];
|
735
805
|
}, never>> & {
|
736
806
|
locale?: string | undefined;
|
737
807
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
738
808
|
}>, nextContext: any): void;
|
739
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement">> & Partial<Pick<{
|
809
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
|
740
810
|
viewMode: "time" | "years" | "months" | "days";
|
741
811
|
shortcuts: string;
|
742
812
|
closeOnSelect: boolean;
|
743
813
|
overlayPlacement: string;
|
814
|
+
scheduleClassNames: string[];
|
744
815
|
}, never>> & {
|
745
816
|
locale?: string | undefined;
|
746
817
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
747
818
|
}>, nextContext: any): void;
|
748
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement">> & Partial<Pick<{
|
819
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
|
749
820
|
viewMode: "time" | "years" | "months" | "days";
|
750
821
|
shortcuts: string;
|
751
822
|
closeOnSelect: boolean;
|
752
823
|
overlayPlacement: string;
|
824
|
+
scheduleClassNames: string[];
|
753
825
|
}, never>> & {
|
754
826
|
locale?: string | undefined;
|
755
827
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
756
828
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
757
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement">> & Partial<Pick<{
|
829
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
|
758
830
|
viewMode: "time" | "years" | "months" | "days";
|
759
831
|
shortcuts: string;
|
760
832
|
closeOnSelect: boolean;
|
761
833
|
overlayPlacement: string;
|
834
|
+
scheduleClassNames: string[];
|
762
835
|
}, never>> & {
|
763
836
|
locale?: string | undefined;
|
764
837
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
@@ -771,40 +844,44 @@ declare const _default: {
|
|
771
844
|
ComposedComponent: typeof DatePicker;
|
772
845
|
}, {}> & {
|
773
846
|
ComposedComponent: {
|
774
|
-
new (props: (Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement">> & Partial<Pick<{
|
847
|
+
new (props: (Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
|
775
848
|
viewMode: "time" | "years" | "months" | "days";
|
776
849
|
shortcuts: string;
|
777
850
|
closeOnSelect: boolean;
|
778
851
|
overlayPlacement: string;
|
852
|
+
scheduleClassNames: string[];
|
779
853
|
}, never>> & {
|
780
854
|
locale?: string | undefined;
|
781
855
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
782
|
-
}) | Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement">> & Partial<Pick<{
|
856
|
+
}) | Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
|
783
857
|
viewMode: "time" | "years" | "months" | "days";
|
784
858
|
shortcuts: string;
|
785
859
|
closeOnSelect: boolean;
|
786
860
|
overlayPlacement: string;
|
861
|
+
scheduleClassNames: string[];
|
787
862
|
}, never>> & {
|
788
863
|
locale?: string | undefined;
|
789
864
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
790
865
|
}>): {
|
791
866
|
render(): JSX.Element;
|
792
867
|
context: any;
|
793
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement">> & Partial<Pick<{
|
868
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
|
794
869
|
viewMode: "time" | "years" | "months" | "days";
|
795
870
|
shortcuts: string;
|
796
871
|
closeOnSelect: boolean;
|
797
872
|
overlayPlacement: string;
|
873
|
+
scheduleClassNames: string[];
|
798
874
|
}, never>> & {
|
799
875
|
locale?: string | undefined;
|
800
876
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
801
877
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
802
878
|
forceUpdate(callback?: (() => void) | undefined): void;
|
803
|
-
readonly props: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement">> & Partial<Pick<{
|
879
|
+
readonly props: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
|
804
880
|
viewMode: "time" | "years" | "months" | "days";
|
805
881
|
shortcuts: string;
|
806
882
|
closeOnSelect: boolean;
|
807
883
|
overlayPlacement: string;
|
884
|
+
scheduleClassNames: string[];
|
808
885
|
}, never>> & {
|
809
886
|
locale?: string | undefined;
|
810
887
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
@@ -816,100 +893,110 @@ declare const _default: {
|
|
816
893
|
[key: string]: React.ReactInstance;
|
817
894
|
};
|
818
895
|
componentDidMount?(): void;
|
819
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement">> & Partial<Pick<{
|
896
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
|
820
897
|
viewMode: "time" | "years" | "months" | "days";
|
821
898
|
shortcuts: string;
|
822
899
|
closeOnSelect: boolean;
|
823
900
|
overlayPlacement: string;
|
901
|
+
scheduleClassNames: string[];
|
824
902
|
}, never>> & {
|
825
903
|
locale?: string | undefined;
|
826
904
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
827
905
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
828
906
|
componentWillUnmount?(): void;
|
829
907
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
830
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement">> & Partial<Pick<{
|
908
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
|
831
909
|
viewMode: "time" | "years" | "months" | "days";
|
832
910
|
shortcuts: string;
|
833
911
|
closeOnSelect: boolean;
|
834
912
|
overlayPlacement: string;
|
913
|
+
scheduleClassNames: string[];
|
835
914
|
}, never>> & {
|
836
915
|
locale?: string | undefined;
|
837
916
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
838
917
|
}>, prevState: Readonly<{}>): any;
|
839
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement">> & Partial<Pick<{
|
918
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
|
840
919
|
viewMode: "time" | "years" | "months" | "days";
|
841
920
|
shortcuts: string;
|
842
921
|
closeOnSelect: boolean;
|
843
922
|
overlayPlacement: string;
|
923
|
+
scheduleClassNames: string[];
|
844
924
|
}, never>> & {
|
845
925
|
locale?: string | undefined;
|
846
926
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
847
927
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
848
928
|
componentWillMount?(): void;
|
849
929
|
UNSAFE_componentWillMount?(): void;
|
850
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement">> & Partial<Pick<{
|
930
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
|
851
931
|
viewMode: "time" | "years" | "months" | "days";
|
852
932
|
shortcuts: string;
|
853
933
|
closeOnSelect: boolean;
|
854
934
|
overlayPlacement: string;
|
935
|
+
scheduleClassNames: string[];
|
855
936
|
}, never>> & {
|
856
937
|
locale?: string | undefined;
|
857
938
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
858
939
|
}>, nextContext: any): void;
|
859
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement">> & Partial<Pick<{
|
940
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
|
860
941
|
viewMode: "time" | "years" | "months" | "days";
|
861
942
|
shortcuts: string;
|
862
943
|
closeOnSelect: boolean;
|
863
944
|
overlayPlacement: string;
|
945
|
+
scheduleClassNames: string[];
|
864
946
|
}, never>> & {
|
865
947
|
locale?: string | undefined;
|
866
948
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
867
949
|
}>, nextContext: any): void;
|
868
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement">> & Partial<Pick<{
|
950
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
|
869
951
|
viewMode: "time" | "years" | "months" | "days";
|
870
952
|
shortcuts: string;
|
871
953
|
closeOnSelect: boolean;
|
872
954
|
overlayPlacement: string;
|
955
|
+
scheduleClassNames: string[];
|
873
956
|
}, never>> & {
|
874
957
|
locale?: string | undefined;
|
875
958
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
876
959
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
877
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement">> & Partial<Pick<{
|
960
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
|
878
961
|
viewMode: "time" | "years" | "months" | "days";
|
879
962
|
shortcuts: string;
|
880
963
|
closeOnSelect: boolean;
|
881
964
|
overlayPlacement: string;
|
965
|
+
scheduleClassNames: string[];
|
882
966
|
}, never>> & {
|
883
967
|
locale?: string | undefined;
|
884
968
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
885
969
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
886
970
|
};
|
887
|
-
new (props: Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement">> & Partial<Pick<{
|
971
|
+
new (props: Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
|
888
972
|
viewMode: "time" | "years" | "months" | "days";
|
889
973
|
shortcuts: string;
|
890
974
|
closeOnSelect: boolean;
|
891
975
|
overlayPlacement: string;
|
976
|
+
scheduleClassNames: string[];
|
892
977
|
}, never>> & {
|
893
978
|
locale?: string | undefined;
|
894
979
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
895
980
|
}, context: any): {
|
896
981
|
render(): JSX.Element;
|
897
982
|
context: any;
|
898
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement">> & Partial<Pick<{
|
983
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
|
899
984
|
viewMode: "time" | "years" | "months" | "days";
|
900
985
|
shortcuts: string;
|
901
986
|
closeOnSelect: boolean;
|
902
987
|
overlayPlacement: string;
|
988
|
+
scheduleClassNames: string[];
|
903
989
|
}, never>> & {
|
904
990
|
locale?: string | undefined;
|
905
991
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
906
992
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
907
993
|
forceUpdate(callback?: (() => void) | undefined): void;
|
908
|
-
readonly props: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement">> & Partial<Pick<{
|
994
|
+
readonly props: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
|
909
995
|
viewMode: "time" | "years" | "months" | "days";
|
910
996
|
shortcuts: string;
|
911
997
|
closeOnSelect: boolean;
|
912
998
|
overlayPlacement: string;
|
999
|
+
scheduleClassNames: string[];
|
913
1000
|
}, never>> & {
|
914
1001
|
locale?: string | undefined;
|
915
1002
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
@@ -921,69 +1008,76 @@ declare const _default: {
|
|
921
1008
|
[key: string]: React.ReactInstance;
|
922
1009
|
};
|
923
1010
|
componentDidMount?(): void;
|
924
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement">> & Partial<Pick<{
|
1011
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
|
925
1012
|
viewMode: "time" | "years" | "months" | "days";
|
926
1013
|
shortcuts: string;
|
927
1014
|
closeOnSelect: boolean;
|
928
1015
|
overlayPlacement: string;
|
1016
|
+
scheduleClassNames: string[];
|
929
1017
|
}, never>> & {
|
930
1018
|
locale?: string | undefined;
|
931
1019
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
932
1020
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
933
1021
|
componentWillUnmount?(): void;
|
934
1022
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
935
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement">> & Partial<Pick<{
|
1023
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
|
936
1024
|
viewMode: "time" | "years" | "months" | "days";
|
937
1025
|
shortcuts: string;
|
938
1026
|
closeOnSelect: boolean;
|
939
1027
|
overlayPlacement: string;
|
1028
|
+
scheduleClassNames: string[];
|
940
1029
|
}, never>> & {
|
941
1030
|
locale?: string | undefined;
|
942
1031
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
943
1032
|
}>, prevState: Readonly<{}>): any;
|
944
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement">> & Partial<Pick<{
|
1033
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
|
945
1034
|
viewMode: "time" | "years" | "months" | "days";
|
946
1035
|
shortcuts: string;
|
947
1036
|
closeOnSelect: boolean;
|
948
1037
|
overlayPlacement: string;
|
1038
|
+
scheduleClassNames: string[];
|
949
1039
|
}, never>> & {
|
950
1040
|
locale?: string | undefined;
|
951
1041
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
952
1042
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
953
1043
|
componentWillMount?(): void;
|
954
1044
|
UNSAFE_componentWillMount?(): void;
|
955
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement">> & Partial<Pick<{
|
1045
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
|
956
1046
|
viewMode: "time" | "years" | "months" | "days";
|
957
1047
|
shortcuts: string;
|
958
1048
|
closeOnSelect: boolean;
|
959
1049
|
overlayPlacement: string;
|
1050
|
+
scheduleClassNames: string[];
|
960
1051
|
}, never>> & {
|
961
1052
|
locale?: string | undefined;
|
962
1053
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
963
1054
|
}>, nextContext: any): void;
|
964
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement">> & Partial<Pick<{
|
1055
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
|
965
1056
|
viewMode: "time" | "years" | "months" | "days";
|
966
1057
|
shortcuts: string;
|
967
1058
|
closeOnSelect: boolean;
|
968
1059
|
overlayPlacement: string;
|
1060
|
+
scheduleClassNames: string[];
|
969
1061
|
}, never>> & {
|
970
1062
|
locale?: string | undefined;
|
971
1063
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
972
1064
|
}>, nextContext: any): void;
|
973
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement">> & Partial<Pick<{
|
1065
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
|
974
1066
|
viewMode: "time" | "years" | "months" | "days";
|
975
1067
|
shortcuts: string;
|
976
1068
|
closeOnSelect: boolean;
|
977
1069
|
overlayPlacement: string;
|
1070
|
+
scheduleClassNames: string[];
|
978
1071
|
}, never>> & {
|
979
1072
|
locale?: string | undefined;
|
980
1073
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
981
1074
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
982
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement">> & Partial<Pick<{
|
1075
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onChange" | "clearable" | "timeFormat" | "inputFormat" | "dateFormat" | "utc" | "timeConstraints" | "minDate" | "schedules" | "largeMode" | "onScheduleClick" | "popoverClassName" | "format" | "maxDate" | "popOverContainer" | "borderMode"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
|
983
1076
|
viewMode: "time" | "years" | "months" | "days";
|
984
1077
|
shortcuts: string;
|
985
1078
|
closeOnSelect: boolean;
|
986
1079
|
overlayPlacement: string;
|
1080
|
+
scheduleClassNames: string[];
|
987
1081
|
}, never>> & {
|
988
1082
|
locale?: string | undefined;
|
989
1083
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|