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