amis 1.9.1-beta.28 → 1.9.1-beta.30

Sign up to get free protection for your applications and to get access to all the features.
Files changed (139) hide show
  1. package/lib/components/AnchorNav.d.ts +9 -2
  2. package/lib/components/AnchorNav.js +32 -5
  3. package/lib/components/AnchorNav.js.map +2 -2
  4. package/lib/components/DatePicker.d.ts +41 -40
  5. package/lib/components/DatePicker.js +3 -5
  6. package/lib/components/DatePicker.js.map +2 -2
  7. package/lib/components/DateRangePicker.d.ts +45 -42
  8. package/lib/components/DateRangePicker.js +43 -11
  9. package/lib/components/DateRangePicker.js.map +2 -2
  10. package/lib/components/MonthRangePicker.d.ts +41 -40
  11. package/lib/components/MonthRangePicker.js +2 -2
  12. package/lib/components/MonthRangePicker.js.map +2 -2
  13. package/lib/components/SearchBox.d.ts +124 -42
  14. package/lib/components/SearchBox.js +181 -19
  15. package/lib/components/SearchBox.js.map +2 -2
  16. package/lib/components/Tag.d.ts +12 -10
  17. package/lib/components/Tag.js +18 -7
  18. package/lib/components/Tag.js.map +2 -2
  19. package/lib/components/calendar/Calendar.d.ts +1 -0
  20. package/lib/components/calendar/Calendar.js +8 -8
  21. package/lib/components/calendar/Calendar.js.map +2 -2
  22. package/lib/components/calendar/DaysView.d.ts +2 -1
  23. package/lib/components/calendar/DaysView.js +5 -4
  24. package/lib/components/calendar/DaysView.js.map +2 -2
  25. package/lib/index.js +1 -1
  26. package/lib/locale/de-DE.js +1 -0
  27. package/lib/locale/de-DE.js.map +2 -2
  28. package/lib/locale/en-US.js +1 -0
  29. package/lib/locale/en-US.js.map +2 -2
  30. package/lib/locale/zh-CN.js +1 -0
  31. package/lib/locale/zh-CN.js.map +2 -2
  32. package/lib/renderers/CRUD.d.ts +2 -0
  33. package/lib/renderers/CRUD.js +8 -2
  34. package/lib/renderers/CRUD.js.map +2 -2
  35. package/lib/renderers/Card.d.ts +7 -2
  36. package/lib/renderers/Card.js +11 -7
  37. package/lib/renderers/Card.js.map +2 -2
  38. package/lib/renderers/Form/InputColor.d.ts +0 -458
  39. package/lib/renderers/Form/InputColor.js +8 -9
  40. package/lib/renderers/Form/InputColor.js.map +2 -2
  41. package/lib/renderers/Form/InputExcel.d.ts +1 -0
  42. package/lib/renderers/Form/InputExcel.js +5 -0
  43. package/lib/renderers/Form/InputExcel.js.map +2 -2
  44. package/lib/renderers/Form/InputFile.d.ts +2 -2
  45. package/lib/renderers/Form/InputFile.js +6 -5
  46. package/lib/renderers/Form/InputFile.js.map +2 -2
  47. package/lib/renderers/Form/InputTable.js +16 -2
  48. package/lib/renderers/Form/InputTable.js.map +2 -2
  49. package/lib/renderers/Form/InputText.d.ts +8 -0
  50. package/lib/renderers/Form/InputText.js +8 -8
  51. package/lib/renderers/Form/InputText.js.map +2 -2
  52. package/lib/renderers/IFrame.d.ts +4 -0
  53. package/lib/renderers/IFrame.js +2 -2
  54. package/lib/renderers/IFrame.js.map +2 -2
  55. package/lib/renderers/Table/index.js +2 -2
  56. package/lib/renderers/Table/index.js.map +2 -2
  57. package/lib/renderers/Tag.js +2 -2
  58. package/lib/renderers/Tag.js.map +2 -2
  59. package/lib/renderers/Wizard.d.ts +1 -1
  60. package/lib/renderers/Wizard.js +72 -75
  61. package/lib/renderers/Wizard.js.map +2 -2
  62. package/lib/store/formItem.js +2 -1
  63. package/lib/store/formItem.js.map +2 -2
  64. package/lib/themes/ang-ie11.css +134 -21
  65. package/lib/themes/ang.css +138 -21
  66. package/lib/themes/ang.css.map +1 -1
  67. package/lib/themes/antd-ie11.css +134 -21
  68. package/lib/themes/antd.css +138 -21
  69. package/lib/themes/antd.css.map +1 -1
  70. package/lib/themes/cxd-ie11.css +134 -21
  71. package/lib/themes/cxd.css +138 -21
  72. package/lib/themes/cxd.css.map +1 -1
  73. package/lib/themes/dark-ie11.css +134 -21
  74. package/lib/themes/dark.css +138 -21
  75. package/lib/themes/dark.css.map +1 -1
  76. package/lib/themes/default-ie11.css +134 -21
  77. package/lib/themes/default.css +138 -21
  78. package/lib/themes/default.css.map +1 -1
  79. package/lib/utils/dom.js +3 -2
  80. package/lib/utils/dom.js.map +2 -2
  81. package/package.json +3 -3
  82. package/schema.json +35 -14
  83. package/scss/_properties.scss +5 -0
  84. package/scss/components/_anchor-nav.scss +1 -0
  85. package/scss/components/_calendar.scss +32 -14
  86. package/scss/components/_search-box.scss +116 -10
  87. package/scss/components/_tag.scss +12 -3
  88. package/scss/components/form/_date-range.scss +1 -1
  89. package/scss/components/form/_date.scss +28 -24
  90. package/sdk/ang-ie11.css +146 -20
  91. package/sdk/ang.css +150 -20
  92. package/sdk/antd-ie11.css +146 -20
  93. package/sdk/antd.css +150 -20
  94. package/sdk/barcode.js +51 -51
  95. package/sdk/charts.js +14 -14
  96. package/sdk/codemirror.js +7 -7
  97. package/sdk/cropperjs.js +2 -2
  98. package/sdk/cxd-ie11.css +146 -20
  99. package/sdk/cxd.css +150 -20
  100. package/sdk/dark-ie11.css +146 -20
  101. package/sdk/dark.css +150 -20
  102. package/sdk/exceljs.js +1 -1
  103. package/sdk/locale/de-DE.js +1 -0
  104. package/sdk/markdown.js +69 -69
  105. package/sdk/papaparse.js +1 -1
  106. package/sdk/renderers/Form/CityDB.js +1 -1
  107. package/sdk/rest.js +9 -23
  108. package/sdk/rich-text.js +62 -62
  109. package/sdk/sdk-ie11.css +146 -20
  110. package/sdk/sdk.css +150 -20
  111. package/sdk/sdk.js +1480 -1336
  112. package/sdk/thirds/hls.js/hls.js +1 -1
  113. package/sdk/thirds/mpegts.js/mpegts.js +1 -1
  114. package/sdk/tinymce.js +57 -57
  115. package/src/components/AnchorNav.tsx +48 -7
  116. package/src/components/DatePicker.tsx +9 -8
  117. package/src/components/DateRangePicker.tsx +62 -11
  118. package/src/components/MonthRangePicker.tsx +4 -2
  119. package/src/components/SearchBox.tsx +262 -29
  120. package/src/components/Tag.tsx +14 -3
  121. package/src/components/calendar/Calendar.tsx +30 -14
  122. package/src/components/calendar/DaysView.tsx +17 -5
  123. package/src/locale/de-DE.ts +1 -0
  124. package/src/locale/en-US.ts +1 -0
  125. package/src/locale/zh-CN.ts +1 -0
  126. package/src/renderers/CRUD.tsx +10 -0
  127. package/src/renderers/Card.tsx +24 -12
  128. package/src/renderers/Form/InputColor.tsx +14 -19
  129. package/src/renderers/Form/InputExcel.tsx +6 -0
  130. package/src/renderers/Form/InputFile.tsx +19 -18
  131. package/src/renderers/Form/InputTable.tsx +25 -4
  132. package/src/renderers/Form/InputText.tsx +20 -5
  133. package/src/renderers/IFrame.tsx +30 -1
  134. package/src/renderers/Table/index.tsx +2 -1
  135. package/src/renderers/Tag.tsx +2 -0
  136. package/src/renderers/Wizard.tsx +2 -1
  137. package/src/store/formItem.ts +4 -1
  138. package/src/utils/dom.tsx +3 -2
  139. package/sdk/color-picker.js +0 -130
@@ -60,6 +60,7 @@ export interface DateProps extends LocaleProps, ThemeProps {
60
60
  };
61
61
  };
62
62
  popOverContainer?: any;
63
+ label?: string | false;
63
64
  borderMode?: 'full' | 'half' | 'none';
64
65
  embed?: boolean;
65
66
  schedules?: Array<{
@@ -120,7 +121,7 @@ export declare class DatePicker extends React.Component<DateProps, DatePickerSta
120
121
  render(): JSX.Element;
121
122
  }
122
123
  declare const _default: {
123
- new (props: Omit<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "clearable" | "format" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "dateFormat" | "timeFormat" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "utc" | "popoverClassName" | "mobileCalendarMode" | "onRef"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
124
+ new (props: Omit<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "label" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "clearable" | "format" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "dateFormat" | "timeFormat" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "utc" | "popoverClassName" | "mobileCalendarMode" | "onRef"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
124
125
  viewMode: "time" | "years" | "months" | "days";
125
126
  shortcuts: string;
126
127
  closeOnSelect: boolean;
@@ -135,7 +136,7 @@ declare const _default: {
135
136
  getWrappedInstance(): any;
136
137
  render(): JSX.Element;
137
138
  context: any;
138
- setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "clearable" | "format" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "dateFormat" | "timeFormat" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "utc" | "popoverClassName" | "mobileCalendarMode" | "onRef"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
139
+ setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "label" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "clearable" | "format" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "dateFormat" | "timeFormat" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "utc" | "popoverClassName" | "mobileCalendarMode" | "onRef"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
139
140
  viewMode: "time" | "years" | "months" | "days";
140
141
  shortcuts: string;
141
142
  closeOnSelect: boolean;
@@ -146,7 +147,7 @@ declare const _default: {
146
147
  translate?: ((str: string, ...args: any[]) => string) | undefined;
147
148
  }, keyof ThemeProps> & import("../theme").ThemeOutterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
148
149
  forceUpdate(callback?: (() => void) | undefined): void;
149
- readonly props: Readonly<Omit<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "clearable" | "format" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "dateFormat" | "timeFormat" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "utc" | "popoverClassName" | "mobileCalendarMode" | "onRef"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
150
+ readonly props: Readonly<Omit<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "label" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "clearable" | "format" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "dateFormat" | "timeFormat" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "utc" | "popoverClassName" | "mobileCalendarMode" | "onRef"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
150
151
  viewMode: "time" | "years" | "months" | "days";
151
152
  shortcuts: string;
152
153
  closeOnSelect: boolean;
@@ -163,7 +164,7 @@ declare const _default: {
163
164
  [key: string]: React.ReactInstance;
164
165
  };
165
166
  componentDidMount?(): void;
166
- shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "clearable" | "format" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "dateFormat" | "timeFormat" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "utc" | "popoverClassName" | "mobileCalendarMode" | "onRef"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
167
+ shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "label" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "clearable" | "format" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "dateFormat" | "timeFormat" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "utc" | "popoverClassName" | "mobileCalendarMode" | "onRef"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
167
168
  viewMode: "time" | "years" | "months" | "days";
168
169
  shortcuts: string;
169
170
  closeOnSelect: boolean;
@@ -175,7 +176,7 @@ declare const _default: {
175
176
  }, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
176
177
  componentWillUnmount?(): void;
177
178
  componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
178
- getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "clearable" | "format" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "dateFormat" | "timeFormat" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "utc" | "popoverClassName" | "mobileCalendarMode" | "onRef"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
179
+ getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "label" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "clearable" | "format" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "dateFormat" | "timeFormat" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "utc" | "popoverClassName" | "mobileCalendarMode" | "onRef"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
179
180
  viewMode: "time" | "years" | "months" | "days";
180
181
  shortcuts: string;
181
182
  closeOnSelect: boolean;
@@ -185,7 +186,7 @@ declare const _default: {
185
186
  locale?: string | undefined;
186
187
  translate?: ((str: string, ...args: any[]) => string) | undefined;
187
188
  }, keyof ThemeProps> & import("../theme").ThemeOutterProps>, prevState: Readonly<{}>): any;
188
- componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "clearable" | "format" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "dateFormat" | "timeFormat" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "utc" | "popoverClassName" | "mobileCalendarMode" | "onRef"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
189
+ componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "label" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "clearable" | "format" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "dateFormat" | "timeFormat" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "utc" | "popoverClassName" | "mobileCalendarMode" | "onRef"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
189
190
  viewMode: "time" | "years" | "months" | "days";
190
191
  shortcuts: string;
191
192
  closeOnSelect: boolean;
@@ -197,7 +198,7 @@ declare const _default: {
197
198
  }, keyof ThemeProps> & import("../theme").ThemeOutterProps>, prevState: Readonly<{}>, snapshot?: any): void;
198
199
  componentWillMount?(): void;
199
200
  UNSAFE_componentWillMount?(): void;
200
- componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "clearable" | "format" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "dateFormat" | "timeFormat" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "utc" | "popoverClassName" | "mobileCalendarMode" | "onRef"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
201
+ componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "label" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "clearable" | "format" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "dateFormat" | "timeFormat" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "utc" | "popoverClassName" | "mobileCalendarMode" | "onRef"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
201
202
  viewMode: "time" | "years" | "months" | "days";
202
203
  shortcuts: string;
203
204
  closeOnSelect: boolean;
@@ -207,7 +208,7 @@ declare const _default: {
207
208
  locale?: string | undefined;
208
209
  translate?: ((str: string, ...args: any[]) => string) | undefined;
209
210
  }, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextContext: any): void;
210
- UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "clearable" | "format" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "dateFormat" | "timeFormat" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "utc" | "popoverClassName" | "mobileCalendarMode" | "onRef"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
211
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "label" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "clearable" | "format" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "dateFormat" | "timeFormat" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "utc" | "popoverClassName" | "mobileCalendarMode" | "onRef"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
211
212
  viewMode: "time" | "years" | "months" | "days";
212
213
  shortcuts: string;
213
214
  closeOnSelect: boolean;
@@ -217,7 +218,7 @@ declare const _default: {
217
218
  locale?: string | undefined;
218
219
  translate?: ((str: string, ...args: any[]) => string) | undefined;
219
220
  }, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextContext: any): void;
220
- componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "clearable" | "format" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "dateFormat" | "timeFormat" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "utc" | "popoverClassName" | "mobileCalendarMode" | "onRef"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
221
+ componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "label" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "clearable" | "format" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "dateFormat" | "timeFormat" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "utc" | "popoverClassName" | "mobileCalendarMode" | "onRef"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
221
222
  viewMode: "time" | "years" | "months" | "days";
222
223
  shortcuts: string;
223
224
  closeOnSelect: boolean;
@@ -227,7 +228,7 @@ declare const _default: {
227
228
  locale?: string | undefined;
228
229
  translate?: ((str: string, ...args: any[]) => string) | undefined;
229
230
  }, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
230
- UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "clearable" | "format" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "dateFormat" | "timeFormat" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "utc" | "popoverClassName" | "mobileCalendarMode" | "onRef"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
231
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "label" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "clearable" | "format" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "dateFormat" | "timeFormat" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "utc" | "popoverClassName" | "mobileCalendarMode" | "onRef"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
231
232
  viewMode: "time" | "years" | "months" | "days";
232
233
  shortcuts: string;
233
234
  closeOnSelect: boolean;
@@ -241,7 +242,7 @@ declare const _default: {
241
242
  displayName: string;
242
243
  contextType: React.Context<string>;
243
244
  ComposedComponent: React.ComponentType<{
244
- new (props: Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "clearable" | "format" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "dateFormat" | "timeFormat" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "utc" | "popoverClassName" | "mobileCalendarMode" | "onRef"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
245
+ new (props: Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "label" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "clearable" | "format" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "dateFormat" | "timeFormat" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "utc" | "popoverClassName" | "mobileCalendarMode" | "onRef"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
245
246
  viewMode: "time" | "years" | "months" | "days";
246
247
  shortcuts: string;
247
248
  closeOnSelect: boolean;
@@ -256,7 +257,7 @@ declare const _default: {
256
257
  getWrappedInstance(): any;
257
258
  render(): JSX.Element;
258
259
  context: any;
259
- setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "clearable" | "format" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "dateFormat" | "timeFormat" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "utc" | "popoverClassName" | "mobileCalendarMode" | "onRef"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
260
+ setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "label" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "clearable" | "format" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "dateFormat" | "timeFormat" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "utc" | "popoverClassName" | "mobileCalendarMode" | "onRef"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
260
261
  viewMode: "time" | "years" | "months" | "days";
261
262
  shortcuts: string;
262
263
  closeOnSelect: boolean;
@@ -267,7 +268,7 @@ declare const _default: {
267
268
  translate?: ((str: string, ...args: any[]) => string) | undefined;
268
269
  }>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
269
270
  forceUpdate(callback?: (() => void) | undefined): void;
270
- readonly props: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "clearable" | "format" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "dateFormat" | "timeFormat" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "utc" | "popoverClassName" | "mobileCalendarMode" | "onRef"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
271
+ readonly props: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "label" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "clearable" | "format" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "dateFormat" | "timeFormat" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "utc" | "popoverClassName" | "mobileCalendarMode" | "onRef"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
271
272
  viewMode: "time" | "years" | "months" | "days";
272
273
  shortcuts: string;
273
274
  closeOnSelect: boolean;
@@ -284,7 +285,7 @@ declare const _default: {
284
285
  [key: string]: React.ReactInstance;
285
286
  };
286
287
  componentDidMount?(): void;
287
- shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "clearable" | "format" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "dateFormat" | "timeFormat" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "utc" | "popoverClassName" | "mobileCalendarMode" | "onRef"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
288
+ shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "label" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "clearable" | "format" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "dateFormat" | "timeFormat" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "utc" | "popoverClassName" | "mobileCalendarMode" | "onRef"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
288
289
  viewMode: "time" | "years" | "months" | "days";
289
290
  shortcuts: string;
290
291
  closeOnSelect: boolean;
@@ -296,7 +297,7 @@ declare const _default: {
296
297
  }>, nextState: Readonly<{}>, nextContext: any): boolean;
297
298
  componentWillUnmount?(): void;
298
299
  componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
299
- getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "clearable" | "format" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "dateFormat" | "timeFormat" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "utc" | "popoverClassName" | "mobileCalendarMode" | "onRef"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
300
+ getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "label" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "clearable" | "format" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "dateFormat" | "timeFormat" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "utc" | "popoverClassName" | "mobileCalendarMode" | "onRef"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
300
301
  viewMode: "time" | "years" | "months" | "days";
301
302
  shortcuts: string;
302
303
  closeOnSelect: boolean;
@@ -306,7 +307,7 @@ declare const _default: {
306
307
  locale?: string | undefined;
307
308
  translate?: ((str: string, ...args: any[]) => string) | undefined;
308
309
  }>, prevState: Readonly<{}>): any;
309
- componentDidUpdate?(prevProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "clearable" | "format" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "dateFormat" | "timeFormat" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "utc" | "popoverClassName" | "mobileCalendarMode" | "onRef"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
310
+ componentDidUpdate?(prevProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "label" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "clearable" | "format" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "dateFormat" | "timeFormat" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "utc" | "popoverClassName" | "mobileCalendarMode" | "onRef"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
310
311
  viewMode: "time" | "years" | "months" | "days";
311
312
  shortcuts: string;
312
313
  closeOnSelect: boolean;
@@ -318,7 +319,7 @@ declare const _default: {
318
319
  }>, prevState: Readonly<{}>, snapshot?: any): void;
319
320
  componentWillMount?(): void;
320
321
  UNSAFE_componentWillMount?(): void;
321
- componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "clearable" | "format" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "dateFormat" | "timeFormat" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "utc" | "popoverClassName" | "mobileCalendarMode" | "onRef"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
322
+ componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "label" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "clearable" | "format" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "dateFormat" | "timeFormat" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "utc" | "popoverClassName" | "mobileCalendarMode" | "onRef"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
322
323
  viewMode: "time" | "years" | "months" | "days";
323
324
  shortcuts: string;
324
325
  closeOnSelect: boolean;
@@ -328,7 +329,7 @@ declare const _default: {
328
329
  locale?: string | undefined;
329
330
  translate?: ((str: string, ...args: any[]) => string) | undefined;
330
331
  }>, nextContext: any): void;
331
- UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "clearable" | "format" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "dateFormat" | "timeFormat" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "utc" | "popoverClassName" | "mobileCalendarMode" | "onRef"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
332
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "label" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "clearable" | "format" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "dateFormat" | "timeFormat" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "utc" | "popoverClassName" | "mobileCalendarMode" | "onRef"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
332
333
  viewMode: "time" | "years" | "months" | "days";
333
334
  shortcuts: string;
334
335
  closeOnSelect: boolean;
@@ -338,7 +339,7 @@ declare const _default: {
338
339
  locale?: string | undefined;
339
340
  translate?: ((str: string, ...args: any[]) => string) | undefined;
340
341
  }>, nextContext: any): void;
341
- componentWillUpdate?(nextProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "clearable" | "format" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "dateFormat" | "timeFormat" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "utc" | "popoverClassName" | "mobileCalendarMode" | "onRef"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
342
+ componentWillUpdate?(nextProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "label" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "clearable" | "format" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "dateFormat" | "timeFormat" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "utc" | "popoverClassName" | "mobileCalendarMode" | "onRef"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
342
343
  viewMode: "time" | "years" | "months" | "days";
343
344
  shortcuts: string;
344
345
  closeOnSelect: boolean;
@@ -348,7 +349,7 @@ declare const _default: {
348
349
  locale?: string | undefined;
349
350
  translate?: ((str: string, ...args: any[]) => string) | undefined;
350
351
  }>, nextState: Readonly<{}>, nextContext: any): void;
351
- UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "clearable" | "format" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "dateFormat" | "timeFormat" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "utc" | "popoverClassName" | "mobileCalendarMode" | "onRef"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
352
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "label" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "clearable" | "format" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "dateFormat" | "timeFormat" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "utc" | "popoverClassName" | "mobileCalendarMode" | "onRef"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
352
353
  viewMode: "time" | "years" | "months" | "days";
353
354
  shortcuts: string;
354
355
  closeOnSelect: boolean;
@@ -366,7 +367,7 @@ declare const _default: {
366
367
  ComposedComponent: typeof DatePicker;
367
368
  }>;
368
369
  } & import("hoist-non-react-statics").NonReactStatics<{
369
- new (props: Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "clearable" | "format" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "dateFormat" | "timeFormat" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "utc" | "popoverClassName" | "mobileCalendarMode" | "onRef"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
370
+ new (props: Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "label" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "clearable" | "format" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "dateFormat" | "timeFormat" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "utc" | "popoverClassName" | "mobileCalendarMode" | "onRef"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
370
371
  viewMode: "time" | "years" | "months" | "days";
371
372
  shortcuts: string;
372
373
  closeOnSelect: boolean;
@@ -381,7 +382,7 @@ declare const _default: {
381
382
  getWrappedInstance(): any;
382
383
  render(): JSX.Element;
383
384
  context: any;
384
- setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "clearable" | "format" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "dateFormat" | "timeFormat" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "utc" | "popoverClassName" | "mobileCalendarMode" | "onRef"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
385
+ setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "label" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "clearable" | "format" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "dateFormat" | "timeFormat" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "utc" | "popoverClassName" | "mobileCalendarMode" | "onRef"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
385
386
  viewMode: "time" | "years" | "months" | "days";
386
387
  shortcuts: string;
387
388
  closeOnSelect: boolean;
@@ -392,7 +393,7 @@ declare const _default: {
392
393
  translate?: ((str: string, ...args: any[]) => string) | undefined;
393
394
  }>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
394
395
  forceUpdate(callback?: (() => void) | undefined): void;
395
- readonly props: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "clearable" | "format" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "dateFormat" | "timeFormat" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "utc" | "popoverClassName" | "mobileCalendarMode" | "onRef"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
396
+ readonly props: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "label" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "clearable" | "format" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "dateFormat" | "timeFormat" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "utc" | "popoverClassName" | "mobileCalendarMode" | "onRef"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
396
397
  viewMode: "time" | "years" | "months" | "days";
397
398
  shortcuts: string;
398
399
  closeOnSelect: boolean;
@@ -409,7 +410,7 @@ declare const _default: {
409
410
  [key: string]: React.ReactInstance;
410
411
  };
411
412
  componentDidMount?(): void;
412
- shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "clearable" | "format" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "dateFormat" | "timeFormat" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "utc" | "popoverClassName" | "mobileCalendarMode" | "onRef"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
413
+ shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "label" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "clearable" | "format" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "dateFormat" | "timeFormat" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "utc" | "popoverClassName" | "mobileCalendarMode" | "onRef"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
413
414
  viewMode: "time" | "years" | "months" | "days";
414
415
  shortcuts: string;
415
416
  closeOnSelect: boolean;
@@ -421,7 +422,7 @@ declare const _default: {
421
422
  }>, nextState: Readonly<{}>, nextContext: any): boolean;
422
423
  componentWillUnmount?(): void;
423
424
  componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
424
- getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "clearable" | "format" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "dateFormat" | "timeFormat" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "utc" | "popoverClassName" | "mobileCalendarMode" | "onRef"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
425
+ getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "label" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "clearable" | "format" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "dateFormat" | "timeFormat" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "utc" | "popoverClassName" | "mobileCalendarMode" | "onRef"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
425
426
  viewMode: "time" | "years" | "months" | "days";
426
427
  shortcuts: string;
427
428
  closeOnSelect: boolean;
@@ -431,7 +432,7 @@ declare const _default: {
431
432
  locale?: string | undefined;
432
433
  translate?: ((str: string, ...args: any[]) => string) | undefined;
433
434
  }>, prevState: Readonly<{}>): any;
434
- componentDidUpdate?(prevProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "clearable" | "format" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "dateFormat" | "timeFormat" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "utc" | "popoverClassName" | "mobileCalendarMode" | "onRef"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
435
+ componentDidUpdate?(prevProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "label" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "clearable" | "format" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "dateFormat" | "timeFormat" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "utc" | "popoverClassName" | "mobileCalendarMode" | "onRef"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
435
436
  viewMode: "time" | "years" | "months" | "days";
436
437
  shortcuts: string;
437
438
  closeOnSelect: boolean;
@@ -443,7 +444,7 @@ declare const _default: {
443
444
  }>, prevState: Readonly<{}>, snapshot?: any): void;
444
445
  componentWillMount?(): void;
445
446
  UNSAFE_componentWillMount?(): void;
446
- componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "clearable" | "format" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "dateFormat" | "timeFormat" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "utc" | "popoverClassName" | "mobileCalendarMode" | "onRef"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
447
+ componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "label" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "clearable" | "format" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "dateFormat" | "timeFormat" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "utc" | "popoverClassName" | "mobileCalendarMode" | "onRef"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
447
448
  viewMode: "time" | "years" | "months" | "days";
448
449
  shortcuts: string;
449
450
  closeOnSelect: boolean;
@@ -453,7 +454,7 @@ declare const _default: {
453
454
  locale?: string | undefined;
454
455
  translate?: ((str: string, ...args: any[]) => string) | undefined;
455
456
  }>, nextContext: any): void;
456
- UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "clearable" | "format" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "dateFormat" | "timeFormat" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "utc" | "popoverClassName" | "mobileCalendarMode" | "onRef"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
457
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "label" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "clearable" | "format" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "dateFormat" | "timeFormat" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "utc" | "popoverClassName" | "mobileCalendarMode" | "onRef"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
457
458
  viewMode: "time" | "years" | "months" | "days";
458
459
  shortcuts: string;
459
460
  closeOnSelect: boolean;
@@ -463,7 +464,7 @@ declare const _default: {
463
464
  locale?: string | undefined;
464
465
  translate?: ((str: string, ...args: any[]) => string) | undefined;
465
466
  }>, nextContext: any): void;
466
- componentWillUpdate?(nextProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "clearable" | "format" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "dateFormat" | "timeFormat" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "utc" | "popoverClassName" | "mobileCalendarMode" | "onRef"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
467
+ componentWillUpdate?(nextProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "label" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "clearable" | "format" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "dateFormat" | "timeFormat" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "utc" | "popoverClassName" | "mobileCalendarMode" | "onRef"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
467
468
  viewMode: "time" | "years" | "months" | "days";
468
469
  shortcuts: string;
469
470
  closeOnSelect: boolean;
@@ -473,7 +474,7 @@ declare const _default: {
473
474
  locale?: string | undefined;
474
475
  translate?: ((str: string, ...args: any[]) => string) | undefined;
475
476
  }>, nextState: Readonly<{}>, nextContext: any): void;
476
- UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "clearable" | "format" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "dateFormat" | "timeFormat" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "utc" | "popoverClassName" | "mobileCalendarMode" | "onRef"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
477
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "label" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "clearable" | "format" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "dateFormat" | "timeFormat" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "utc" | "popoverClassName" | "mobileCalendarMode" | "onRef"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
477
478
  viewMode: "time" | "years" | "months" | "days";
478
479
  shortcuts: string;
479
480
  closeOnSelect: boolean;
@@ -491,7 +492,7 @@ declare const _default: {
491
492
  ComposedComponent: typeof DatePicker;
492
493
  }, {}> & {
493
494
  ComposedComponent: {
494
- new (props: Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "clearable" | "format" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "dateFormat" | "timeFormat" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "utc" | "popoverClassName" | "mobileCalendarMode" | "onRef"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
495
+ new (props: Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "label" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "clearable" | "format" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "dateFormat" | "timeFormat" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "utc" | "popoverClassName" | "mobileCalendarMode" | "onRef"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
495
496
  viewMode: "time" | "years" | "months" | "days";
496
497
  shortcuts: string;
497
498
  closeOnSelect: boolean;
@@ -506,7 +507,7 @@ declare const _default: {
506
507
  getWrappedInstance(): any;
507
508
  render(): JSX.Element;
508
509
  context: any;
509
- setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "clearable" | "format" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "dateFormat" | "timeFormat" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "utc" | "popoverClassName" | "mobileCalendarMode" | "onRef"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
510
+ setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "label" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "clearable" | "format" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "dateFormat" | "timeFormat" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "utc" | "popoverClassName" | "mobileCalendarMode" | "onRef"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
510
511
  viewMode: "time" | "years" | "months" | "days";
511
512
  shortcuts: string;
512
513
  closeOnSelect: boolean;
@@ -517,7 +518,7 @@ declare const _default: {
517
518
  translate?: ((str: string, ...args: any[]) => string) | undefined;
518
519
  }>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
519
520
  forceUpdate(callback?: (() => void) | undefined): void;
520
- readonly props: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "clearable" | "format" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "dateFormat" | "timeFormat" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "utc" | "popoverClassName" | "mobileCalendarMode" | "onRef"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
521
+ readonly props: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "label" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "clearable" | "format" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "dateFormat" | "timeFormat" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "utc" | "popoverClassName" | "mobileCalendarMode" | "onRef"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
521
522
  viewMode: "time" | "years" | "months" | "days";
522
523
  shortcuts: string;
523
524
  closeOnSelect: boolean;
@@ -534,7 +535,7 @@ declare const _default: {
534
535
  [key: string]: React.ReactInstance;
535
536
  };
536
537
  componentDidMount?(): void;
537
- shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "clearable" | "format" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "dateFormat" | "timeFormat" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "utc" | "popoverClassName" | "mobileCalendarMode" | "onRef"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
538
+ shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "label" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "clearable" | "format" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "dateFormat" | "timeFormat" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "utc" | "popoverClassName" | "mobileCalendarMode" | "onRef"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
538
539
  viewMode: "time" | "years" | "months" | "days";
539
540
  shortcuts: string;
540
541
  closeOnSelect: boolean;
@@ -546,7 +547,7 @@ declare const _default: {
546
547
  }>, nextState: Readonly<{}>, nextContext: any): boolean;
547
548
  componentWillUnmount?(): void;
548
549
  componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
549
- getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "clearable" | "format" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "dateFormat" | "timeFormat" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "utc" | "popoverClassName" | "mobileCalendarMode" | "onRef"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
550
+ getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "label" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "clearable" | "format" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "dateFormat" | "timeFormat" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "utc" | "popoverClassName" | "mobileCalendarMode" | "onRef"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
550
551
  viewMode: "time" | "years" | "months" | "days";
551
552
  shortcuts: string;
552
553
  closeOnSelect: boolean;
@@ -556,7 +557,7 @@ declare const _default: {
556
557
  locale?: string | undefined;
557
558
  translate?: ((str: string, ...args: any[]) => string) | undefined;
558
559
  }>, prevState: Readonly<{}>): any;
559
- componentDidUpdate?(prevProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "clearable" | "format" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "dateFormat" | "timeFormat" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "utc" | "popoverClassName" | "mobileCalendarMode" | "onRef"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
560
+ componentDidUpdate?(prevProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "label" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "clearable" | "format" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "dateFormat" | "timeFormat" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "utc" | "popoverClassName" | "mobileCalendarMode" | "onRef"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
560
561
  viewMode: "time" | "years" | "months" | "days";
561
562
  shortcuts: string;
562
563
  closeOnSelect: boolean;
@@ -568,7 +569,7 @@ declare const _default: {
568
569
  }>, prevState: Readonly<{}>, snapshot?: any): void;
569
570
  componentWillMount?(): void;
570
571
  UNSAFE_componentWillMount?(): void;
571
- componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "clearable" | "format" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "dateFormat" | "timeFormat" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "utc" | "popoverClassName" | "mobileCalendarMode" | "onRef"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
572
+ componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "label" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "clearable" | "format" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "dateFormat" | "timeFormat" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "utc" | "popoverClassName" | "mobileCalendarMode" | "onRef"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
572
573
  viewMode: "time" | "years" | "months" | "days";
573
574
  shortcuts: string;
574
575
  closeOnSelect: boolean;
@@ -578,7 +579,7 @@ declare const _default: {
578
579
  locale?: string | undefined;
579
580
  translate?: ((str: string, ...args: any[]) => string) | undefined;
580
581
  }>, nextContext: any): void;
581
- UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "clearable" | "format" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "dateFormat" | "timeFormat" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "utc" | "popoverClassName" | "mobileCalendarMode" | "onRef"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
582
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "label" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "clearable" | "format" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "dateFormat" | "timeFormat" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "utc" | "popoverClassName" | "mobileCalendarMode" | "onRef"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
582
583
  viewMode: "time" | "years" | "months" | "days";
583
584
  shortcuts: string;
584
585
  closeOnSelect: boolean;
@@ -588,7 +589,7 @@ declare const _default: {
588
589
  locale?: string | undefined;
589
590
  translate?: ((str: string, ...args: any[]) => string) | undefined;
590
591
  }>, nextContext: any): void;
591
- componentWillUpdate?(nextProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "clearable" | "format" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "dateFormat" | "timeFormat" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "utc" | "popoverClassName" | "mobileCalendarMode" | "onRef"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
592
+ componentWillUpdate?(nextProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "label" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "clearable" | "format" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "dateFormat" | "timeFormat" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "utc" | "popoverClassName" | "mobileCalendarMode" | "onRef"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
592
593
  viewMode: "time" | "years" | "months" | "days";
593
594
  shortcuts: string;
594
595
  closeOnSelect: boolean;
@@ -598,7 +599,7 @@ declare const _default: {
598
599
  locale?: string | undefined;
599
600
  translate?: ((str: string, ...args: any[]) => string) | undefined;
600
601
  }>, nextState: Readonly<{}>, nextContext: any): void;
601
- UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "clearable" | "format" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "dateFormat" | "timeFormat" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "utc" | "popoverClassName" | "mobileCalendarMode" | "onRef"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
602
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<DateProps, keyof LocaleProps>, "classPrefix" | "classnames" | "embed" | "label" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "useMobileUI" | "clearable" | "format" | "inputFormat" | "maxDate" | "minDate" | "borderMode" | "popOverContainer" | "dateFormat" | "timeFormat" | "timeConstraints" | "schedules" | "largeMode" | "onScheduleClick" | "utc" | "popoverClassName" | "mobileCalendarMode" | "onRef"> & Partial<Pick<Omit<DateProps, keyof LocaleProps>, "viewMode" | "closeOnSelect" | "shortcuts" | "overlayPlacement" | "scheduleClassNames">> & Partial<Pick<{
602
603
  viewMode: "time" | "years" | "months" | "days";
603
604
  shortcuts: string;
604
605
  closeOnSelect: boolean;
@@ -276,9 +276,7 @@ var DatePicker = /** @class */ (function (_super) {
276
276
  onFocus && onFocus(e);
277
277
  };
278
278
  DatePicker.prototype.handleBlur = function (e) {
279
- this.setState({
280
- isFocused: false
281
- });
279
+ this.setState({ isFocused: false });
282
280
  var onBlur = this.props.onBlur;
283
281
  onBlur && onBlur(e);
284
282
  };
@@ -448,12 +446,12 @@ var DatePicker = /** @class */ (function (_super) {
448
446
  };
449
447
  DatePicker.prototype.render = function () {
450
448
  var _a;
451
- var _b = this.props, ns = _b.classPrefix, cx = _b.classnames, className = _b.className, popoverClassName = _b.popoverClassName, value = _b.value, placeholder = _b.placeholder, disabled = _b.disabled, inputFormat = _b.inputFormat, dateFormat = _b.dateFormat, timeFormat = _b.timeFormat, viewMode = _b.viewMode, timeConstraints = _b.timeConstraints, popOverContainer = _b.popOverContainer, clearable = _b.clearable, shortcuts = _b.shortcuts, utc = _b.utc, overlayPlacement = _b.overlayPlacement, locale = _b.locale, format = _b.format, borderMode = _b.borderMode, embed = _b.embed, minDate = _b.minDate, useMobileUI = _b.useMobileUI, maxDate = _b.maxDate, schedules = _b.schedules, largeMode = _b.largeMode, scheduleClassNames = _b.scheduleClassNames, onScheduleClick = _b.onScheduleClick, mobileCalendarMode = _b.mobileCalendarMode;
449
+ var _b = this.props, ns = _b.classPrefix, cx = _b.classnames, className = _b.className, popoverClassName = _b.popoverClassName, value = _b.value, placeholder = _b.placeholder, disabled = _b.disabled, inputFormat = _b.inputFormat, dateFormat = _b.dateFormat, timeFormat = _b.timeFormat, viewMode = _b.viewMode, timeConstraints = _b.timeConstraints, popOverContainer = _b.popOverContainer, clearable = _b.clearable, shortcuts = _b.shortcuts, utc = _b.utc, overlayPlacement = _b.overlayPlacement, locale = _b.locale, format = _b.format, borderMode = _b.borderMode, embed = _b.embed, minDate = _b.minDate, useMobileUI = _b.useMobileUI, maxDate = _b.maxDate, schedules = _b.schedules, largeMode = _b.largeMode, scheduleClassNames = _b.scheduleClassNames, onScheduleClick = _b.onScheduleClick, mobileCalendarMode = _b.mobileCalendarMode, label = _b.label;
452
450
  var __ = this.props.translate;
453
451
  var isOpened = this.state.isOpened;
454
452
  var date = this.state.value;
455
453
  var calendarMobile = (react_1.default.createElement(CalendarMobile_1.default, { isDatePicker: true, timeFormat: timeFormat, inputFormat: inputFormat, startDate: date, defaultDate: date, minDate: minDate, maxDate: maxDate, dateFormat: dateFormat, embed: embed, viewMode: viewMode, close: this.close, confirm: this.handleChange, footerExtra: this.renderShortCuts(shortcuts), showViewMode: viewMode === 'quarters' || viewMode === 'months' ? 'years' : 'months', timeConstraints: timeConstraints }));
456
- var CalendarMobileTitle = (react_1.default.createElement("div", { className: "".concat(ns, "CalendarMobile-title") }, __('Calendar.datepicker')));
454
+ var CalendarMobileTitle = (react_1.default.createElement("div", { className: "".concat(ns, "CalendarMobile-title") }, label && typeof label === 'string' ? label : __('Calendar.datepicker')));
457
455
  var useCalendarMobile = useMobileUI &&
458
456
  (0, helper_1.isMobile)() &&
459
457
  ['days', 'months', 'quarters'].indexOf(viewMode) > -1;