@material-ui/pickers
Advanced tools
Comparing version 4.0.0-alpha.5 to 4.0.0-alpha.6
295
Calendar.js
@@ -1,19 +0,284 @@ | ||
import '@babel/runtime/helpers/esm/defineProperty'; | ||
import 'react'; | ||
import _defineProperty from '@babel/runtime/helpers/esm/defineProperty'; | ||
import _objectWithoutProperties from '@babel/runtime/helpers/esm/objectWithoutProperties'; | ||
import { createElement, cloneElement, useCallback, useEffect, Fragment } from 'react'; | ||
import 'prop-types'; | ||
import './dimensions-bd426990.js'; | ||
import 'clsx'; | ||
import '@babel/runtime/helpers/esm/extends'; | ||
import '@babel/runtime/helpers/esm/objectWithoutProperties'; | ||
import '@material-ui/core/Typography'; | ||
import '@material-ui/core/styles'; | ||
import { c as DAY_SIZE, d as DAY_MARGIN, b as useNow, u as useUtils } from './dimensions-47a2cb83.js'; | ||
import clsx from 'clsx'; | ||
import _extends from '@babel/runtime/helpers/esm/extends'; | ||
import Typography from '@material-ui/core/Typography'; | ||
import { makeStyles, useTheme } from '@material-ui/core/styles'; | ||
import '@babel/runtime/helpers/esm/slicedToArray'; | ||
import '@babel/runtime/helpers/esm/typeof'; | ||
import './utils-66277a98.js'; | ||
export { C as Calendar, a as default, u as useStyles } from './Calendar-afaf51ae.js'; | ||
import '@babel/runtime/helpers/esm/slicedToArray'; | ||
import './useKeyDown-e9a6112c.js'; | ||
import './usePickerState-71de5ec1.js'; | ||
import './utils-ef34bcd7.js'; | ||
import { f as findClosestEnabledDate } from './date-utils-2164e0cf.js'; | ||
import { u as useGlobalKeyDown, k as keycode } from './useKeyDown-e9a6112c.js'; | ||
import './usePickerState-7fd6a582.js'; | ||
import '@material-ui/core/ButtonBase'; | ||
import 'react-transition-group'; | ||
import './Day.js'; | ||
import { TransitionGroup, CSSTransition } from 'react-transition-group'; | ||
import { Day } from './Day.js'; | ||
var slideAnimationDuration = 350; | ||
var useStyles = makeStyles(function (theme) { | ||
var slideTransition = theme.transitions.create('transform', { | ||
duration: slideAnimationDuration, | ||
easing: 'cubic-bezier(0.35, 0.8, 0.4, 1)' | ||
}); | ||
return { | ||
transitionContainer: { | ||
display: 'block', | ||
position: 'relative', | ||
overflowX: 'hidden', | ||
'& > *': { | ||
position: 'absolute', | ||
top: 0, | ||
right: 0, | ||
left: 0 | ||
} | ||
}, | ||
'slideEnter-left': { | ||
willChange: 'transform', | ||
transform: 'translate(100%)', | ||
zIndex: 1 | ||
}, | ||
'slideEnter-right': { | ||
willChange: 'transform', | ||
transform: 'translate(-100%)', | ||
zIndex: 1 | ||
}, | ||
slideEnterActive: { | ||
transform: 'translate(0%)', | ||
transition: slideTransition | ||
}, | ||
slideExit: { | ||
transform: 'translate(0%)' | ||
}, | ||
'slideExitActiveLeft-left': { | ||
willChange: 'transform', | ||
transform: 'translate(-100%)', | ||
transition: slideTransition, | ||
zIndex: 0 | ||
}, | ||
'slideExitActiveLeft-right': { | ||
willChange: 'transform', | ||
transform: 'translate(100%)', | ||
transition: slideTransition, | ||
zIndex: 0 | ||
} | ||
}; | ||
}, { | ||
name: 'MuiPickersSlideTransition' | ||
}); | ||
var SlideTransition = function SlideTransition(_ref) { | ||
var children = _ref.children, | ||
transKey = _ref.transKey, | ||
reduceAnimations = _ref.reduceAnimations, | ||
slideDirection = _ref.slideDirection, | ||
_ref$className = _ref.className, | ||
className = _ref$className === void 0 ? undefined : _ref$className, | ||
other = _objectWithoutProperties(_ref, ["children", "transKey", "reduceAnimations", "slideDirection", "className"]); | ||
var classes = useStyles(); | ||
if (reduceAnimations) { | ||
return createElement("div", { | ||
className: className | ||
}, children); | ||
} | ||
var transitionClasses = { | ||
exit: classes.slideExit, | ||
enterActive: classes.slideEnterActive, | ||
// @ts-ignore | ||
enter: classes['slideEnter-' + slideDirection], | ||
// @ts-ignore | ||
exitActive: classes['slideExitActiveLeft-' + slideDirection] | ||
}; | ||
return createElement(TransitionGroup, { | ||
className: clsx(classes.transitionContainer, className), | ||
childFactory: function childFactory(element) { | ||
return cloneElement(element, { | ||
classNames: transitionClasses | ||
}); | ||
} | ||
}, createElement(CSSTransition, _extends({ | ||
mountOnEnter: true, | ||
unmountOnExit: true, | ||
key: transKey, | ||
timeout: slideAnimationDuration, | ||
classNames: transitionClasses, | ||
children: children | ||
}, other))); | ||
}; | ||
var useStyles$1 = makeStyles(function (theme) { | ||
return { | ||
transitionContainer: { | ||
minHeight: (DAY_SIZE + DAY_MARGIN * 4) * 6 | ||
}, | ||
transitionContainerOverflowAllowed: { | ||
overflowX: 'visible' | ||
}, | ||
progressContainer: { | ||
width: '100%', | ||
height: '100%', | ||
display: 'flex', | ||
justifyContent: 'center', | ||
alignItems: 'center' | ||
}, | ||
week: { | ||
margin: "".concat(DAY_MARGIN, "px 0"), | ||
display: 'flex', | ||
justifyContent: 'center' | ||
}, | ||
iconButton: { | ||
zIndex: 1, | ||
backgroundColor: theme.palette.background.paper | ||
}, | ||
previousMonthButton: { | ||
marginRight: 12 | ||
}, | ||
daysHeader: { | ||
display: 'flex', | ||
justifyContent: 'center', | ||
alignItems: 'center' | ||
}, | ||
dayLabel: { | ||
width: 36, | ||
height: 40, | ||
margin: '0 2px', | ||
textAlign: 'center', | ||
display: 'flex', | ||
justifyContent: 'center', | ||
alignItems: 'center', | ||
color: theme.palette.text.hint | ||
} | ||
}; | ||
}); | ||
var Calendar = function Calendar(_ref) { | ||
var _useGlobalKeyDown; | ||
var date = _ref.date, | ||
isMonthSwitchingAnimating = _ref.isMonthSwitchingAnimating, | ||
onMonthSwitchingAnimationEnd = _ref.onMonthSwitchingAnimationEnd, | ||
focusedDay = _ref.focusedDay, | ||
changeFocusedDay = _ref.changeFocusedDay, | ||
onChange = _ref.onChange, | ||
minDate = _ref.minDate, | ||
maxDate = _ref.maxDate, | ||
slideDirection = _ref.slideDirection, | ||
disableFuture = _ref.disableFuture, | ||
disablePast = _ref.disablePast, | ||
currentMonth = _ref.currentMonth, | ||
renderDay = _ref.renderDay, | ||
reduceAnimations = _ref.reduceAnimations, | ||
allowKeyboardControl = _ref.allowKeyboardControl, | ||
isDateDisabled = _ref.isDateDisabled, | ||
disableHighlightToday = _ref.disableHighlightToday, | ||
showDaysOutsideCurrentMonth = _ref.showDaysOutsideCurrentMonth, | ||
className = _ref.className, | ||
TransitionProps = _ref.TransitionProps; | ||
var now = useNow(); | ||
var utils = useUtils(); | ||
var theme = useTheme(); | ||
var classes = useStyles$1(); | ||
var handleDaySelect = useCallback(function (day) { | ||
var isFinish = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true; | ||
onChange(Array.isArray(date) ? day : utils.mergeDateAndTime(day, date), isFinish); | ||
}, [date, onChange, utils]); | ||
var initialDate = Array.isArray(date) ? date[0] : date; | ||
useEffect(function () { | ||
if (initialDate && isDateDisabled(initialDate)) { | ||
var closestEnabledDate = findClosestEnabledDate({ | ||
utils: utils, | ||
date: initialDate, | ||
minDate: utils.date(minDate), | ||
maxDate: utils.date(maxDate), | ||
disablePast: Boolean(disablePast), | ||
disableFuture: Boolean(disableFuture), | ||
shouldDisableDate: isDateDisabled | ||
}); | ||
handleDaySelect(closestEnabledDate, false); | ||
} | ||
}, []); // eslint-disable-line | ||
var nowFocusedDay = focusedDay || initialDate; | ||
useGlobalKeyDown(Boolean(allowKeyboardControl), (_useGlobalKeyDown = {}, _defineProperty(_useGlobalKeyDown, keycode.ArrowUp, function () { | ||
return changeFocusedDay(utils.addDays(nowFocusedDay, -7)); | ||
}), _defineProperty(_useGlobalKeyDown, keycode.ArrowDown, function () { | ||
return changeFocusedDay(utils.addDays(nowFocusedDay, 7)); | ||
}), _defineProperty(_useGlobalKeyDown, keycode.ArrowLeft, function () { | ||
return changeFocusedDay(utils.addDays(nowFocusedDay, theme.direction === 'ltr' ? -1 : 1)); | ||
}), _defineProperty(_useGlobalKeyDown, keycode.ArrowRight, function () { | ||
return changeFocusedDay(utils.addDays(nowFocusedDay, theme.direction === 'ltr' ? 1 : -1)); | ||
}), _defineProperty(_useGlobalKeyDown, keycode.Home, function () { | ||
return changeFocusedDay(utils.startOfWeek(nowFocusedDay)); | ||
}), _defineProperty(_useGlobalKeyDown, keycode.End, function () { | ||
return changeFocusedDay(utils.endOfWeek(nowFocusedDay)); | ||
}), _defineProperty(_useGlobalKeyDown, keycode.PageUp, function () { | ||
return changeFocusedDay(utils.getNextMonth(nowFocusedDay)); | ||
}), _defineProperty(_useGlobalKeyDown, keycode.PageDown, function () { | ||
return changeFocusedDay(utils.getPreviousMonth(nowFocusedDay)); | ||
}), _useGlobalKeyDown)); | ||
var currentMonthNumber = utils.getMonth(currentMonth); | ||
var selectedDates = (Array.isArray(date) ? date : [date]).filter(Boolean).map(function (selectedDateItem) { | ||
return utils.startOfDay(selectedDateItem); | ||
}); | ||
return createElement(Fragment, null, createElement("div", { | ||
className: classes.daysHeader | ||
}, utils.getWeekdays().map(function (day, i) { | ||
return createElement(Typography, { | ||
"aria-hidden": true, | ||
key: day + i.toString(), | ||
variant: "caption", | ||
className: classes.dayLabel, | ||
children: day.charAt(0).toUpperCase() | ||
}); | ||
})), createElement(SlideTransition, _extends({ | ||
transKey: currentMonthNumber, | ||
onExited: onMonthSwitchingAnimationEnd, | ||
reduceAnimations: reduceAnimations, | ||
slideDirection: slideDirection, | ||
className: clsx(classes.transitionContainer, className) | ||
}, TransitionProps), createElement("div", { | ||
role: "grid", | ||
style: { | ||
overflow: 'hidden' | ||
} | ||
}, utils.getWeekArray(currentMonth).map(function (week) { | ||
return createElement("div", { | ||
role: "row", | ||
key: "week-".concat(week[0].toString()), | ||
className: classes.week | ||
}, week.map(function (day) { | ||
var _ref2; | ||
var disabled = isDateDisabled(day); | ||
var isDayInCurrentMonth = utils.getMonth(day) === currentMonthNumber; | ||
var dayProps = { | ||
key: (_ref2 = day) === null || _ref2 === void 0 ? void 0 : _ref2.toString(), | ||
day: day, | ||
role: 'cell', | ||
isAnimating: isMonthSwitchingAnimating, | ||
disabled: disabled, | ||
allowKeyboardControl: allowKeyboardControl, | ||
focused: allowKeyboardControl && Boolean(focusedDay) && utils.isSameDay(day, focusedDay), | ||
today: utils.isSameDay(day, now), | ||
inCurrentMonth: isDayInCurrentMonth, | ||
selected: selectedDates.some(function (selectedDate) { | ||
return utils.isSameDay(selectedDate, day); | ||
}), | ||
disableHighlightToday: disableHighlightToday, | ||
showDaysOutsideCurrentMonth: showDaysOutsideCurrentMonth, | ||
focusable: allowKeyboardControl && Boolean(nowFocusedDay) && utils.toJsDate(nowFocusedDay).getDate() === utils.toJsDate(day).getDate(), | ||
onDayFocus: changeFocusedDay, | ||
onDaySelect: handleDaySelect | ||
}; | ||
return renderDay ? renderDay(day, selectedDates, dayProps) : createElement(Day, dayProps); | ||
})); | ||
})))); | ||
}; | ||
Calendar.displayName = 'Calendar'; | ||
export default Calendar; | ||
export { Calendar, useStyles$1 as useStyles }; | ||
//# sourceMappingURL=Calendar.js.map |
import '@babel/runtime/helpers/esm/defineProperty'; | ||
import '@babel/runtime/helpers/esm/objectWithoutProperties'; | ||
import 'react'; | ||
import 'prop-types'; | ||
import './dimensions-bd426990.js'; | ||
import './dimensions-47a2cb83.js'; | ||
import 'clsx'; | ||
import '@babel/runtime/helpers/esm/extends'; | ||
import '@babel/runtime/helpers/esm/objectWithoutProperties'; | ||
import '@material-ui/core/Typography'; | ||
import '@material-ui/core/IconButton'; | ||
import '@material-ui/core/styles'; | ||
import './WrapperVariantContext-747fba40.js'; | ||
import './WrapperVariantContext-a0f5915b.js'; | ||
import './useKeyDown-e9a6112c.js'; | ||
@@ -18,3 +18,3 @@ import '@babel/runtime/helpers/esm/classCallCheck'; | ||
import '@babel/runtime/helpers/esm/inherits'; | ||
export { d as Clock, C as default, u as useStyles } from './Clock-9baa7a72.js'; | ||
export { d as Clock, C as default, u as useStyles } from './Clock-fa87eff6.js'; | ||
//# sourceMappingURL=Clock.js.map |
import '@babel/runtime/helpers/esm/defineProperty'; | ||
import '@babel/runtime/helpers/esm/objectWithoutProperties'; | ||
import 'react'; | ||
import 'prop-types'; | ||
import './dimensions-bd426990.js'; | ||
import './dimensions-47a2cb83.js'; | ||
import 'clsx'; | ||
import '@babel/runtime/helpers/esm/extends'; | ||
import '@babel/runtime/helpers/esm/objectWithoutProperties'; | ||
import '@material-ui/core/Grid'; | ||
@@ -13,12 +13,12 @@ import '@material-ui/core/Typography'; | ||
import '@material-ui/core/utils'; | ||
export { C as ClockView, a as default, u as useStyles } from './ClockView-03c73477.js'; | ||
import './ArrowSwitcher-b0a281b3.js'; | ||
export { C as ClockView, a as default, u as useStyles } from './ClockView-025342dc.js'; | ||
import './ArrowSwitcher-81199363.js'; | ||
import '@material-ui/core/styles'; | ||
import '@babel/runtime/helpers/esm/slicedToArray'; | ||
import '@babel/runtime/helpers/esm/typeof'; | ||
import './utils-66277a98.js'; | ||
import './utils-ef34bcd7.js'; | ||
import '@material-ui/core/Button'; | ||
import './WrapperVariantContext-747fba40.js'; | ||
import '@babel/runtime/helpers/esm/slicedToArray'; | ||
import './WrapperVariantContext-a0f5915b.js'; | ||
import './useKeyDown-e9a6112c.js'; | ||
import './usePickerState-71de5ec1.js'; | ||
import './usePickerState-7fd6a582.js'; | ||
import '@babel/runtime/helpers/esm/classCallCheck'; | ||
@@ -29,4 +29,4 @@ import '@babel/runtime/helpers/esm/createClass'; | ||
import '@babel/runtime/helpers/esm/inherits'; | ||
import './Clock-9baa7a72.js'; | ||
import './Clock-fa87eff6.js'; | ||
import '@material-ui/core/ButtonBase'; | ||
//# sourceMappingURL=ClockView.js.map |
import _defineProperty from '@babel/runtime/helpers/esm/defineProperty'; | ||
import _objectWithoutProperties from '@babel/runtime/helpers/esm/objectWithoutProperties'; | ||
import { useMemo, createElement } from 'react'; | ||
import 'prop-types'; | ||
import { u as useUtils } from './dimensions-bd426990.js'; | ||
import { u as useUtils } from './dimensions-47a2cb83.js'; | ||
import clsx from 'clsx'; | ||
import '@babel/runtime/helpers/esm/extends'; | ||
import '@babel/runtime/helpers/esm/objectWithoutProperties'; | ||
import '@material-ui/core/Grid'; | ||
@@ -13,9 +13,9 @@ import Typography from '@material-ui/core/Typography'; | ||
import '@material-ui/core/utils'; | ||
import { P as PickerToolbar } from './ClockView-03c73477.js'; | ||
import './ArrowSwitcher-b0a281b3.js'; | ||
import { P as PickerToolbar } from './ClockView-025342dc.js'; | ||
import './ArrowSwitcher-81199363.js'; | ||
import { makeStyles } from '@material-ui/core/styles'; | ||
import '@babel/runtime/helpers/esm/slicedToArray'; | ||
import '@babel/runtime/helpers/esm/typeof'; | ||
import './utils-66277a98.js'; | ||
import { i as isYearOnlyView, b as isYearAndMonthViews, g as getFormatByViews } from './Calendar-afaf51ae.js'; | ||
import { m as makePickerWithStateAndWrapper, R as ResponsiveWrapper, M as MobileWrapper, D as DesktopWrapper, S as StaticWrapper, d as datePickerDefaultProps } from './Wrapper-4adf0bef.js'; | ||
import './utils-ef34bcd7.js'; | ||
import { i as isYearOnlyView, a as isYearAndMonthViews, g as getFormatByViews, v as validateDate } from './date-utils-2164e0cf.js'; | ||
import '@material-ui/core/useMediaQuery'; | ||
@@ -26,6 +26,5 @@ import '@material-ui/core/Button'; | ||
import '@material-ui/core/Dialog'; | ||
import '@material-ui/core/TextField'; | ||
import './Picker-2bbc7ba8.js'; | ||
import './WrapperVariantContext-747fba40.js'; | ||
import '@babel/runtime/helpers/esm/slicedToArray'; | ||
import { m as makeValidationHook, a as makePickerWithStateAndWrapper, R as ResponsiveWrapper, M as MobileWrapper, D as DesktopWrapper, S as StaticWrapper } from './makePickerWithState-42c3158e.js'; | ||
import { u as useParsedDate, d as defaultMaxDate, a as defaultMinDate } from './Picker-af396809.js'; | ||
import './WrapperVariantContext-a0f5915b.js'; | ||
import '@material-ui/core/InputAdornment'; | ||
@@ -39,3 +38,3 @@ import 'rifm'; | ||
import './useKeyDown-e9a6112c.js'; | ||
import './usePickerState-71de5ec1.js'; | ||
import './usePickerState-7fd6a582.js'; | ||
import '@babel/runtime/helpers/esm/classCallCheck'; | ||
@@ -46,3 +45,3 @@ import '@babel/runtime/helpers/esm/createClass'; | ||
import '@babel/runtime/helpers/esm/inherits'; | ||
import './Clock-9baa7a72.js'; | ||
import './Clock-fa87eff6.js'; | ||
import '@material-ui/core/ButtonBase'; | ||
@@ -52,2 +51,3 @@ import '@material-ui/core/CircularProgress'; | ||
import './Day.js'; | ||
import './Calendar.js'; | ||
import '@material-ui/core/Fade'; | ||
@@ -114,15 +114,26 @@ | ||
var datePickerConfig = { | ||
useValidation: makeValidationHook(validateDate), | ||
DefaultToolbarComponent: DatePickerToolbar, | ||
useDefaultProps: function useDefaultProps(_ref) { | ||
useInterceptProps: function useInterceptProps(_ref) { | ||
var _ref$openTo = _ref.openTo, | ||
openTo = _ref$openTo === void 0 ? 'date' : _ref$openTo, | ||
_ref$views = _ref.views, | ||
views = _ref$views === void 0 ? ['year', 'date'] : _ref$views; | ||
views = _ref$views === void 0 ? ['year', 'date'] : _ref$views, | ||
_ref$minDate = _ref.minDate, | ||
__minDate = _ref$minDate === void 0 ? defaultMinDate : _ref$minDate, | ||
_ref$maxDate = _ref.maxDate, | ||
__maxDate = _ref$maxDate === void 0 ? defaultMaxDate : _ref$maxDate, | ||
other = _objectWithoutProperties(_ref, ["openTo", "views", "minDate", "maxDate"]); | ||
var utils = useUtils(); | ||
return _objectSpread({}, datePickerDefaultProps, { | ||
var minDate = useParsedDate(__minDate); | ||
var maxDate = useParsedDate(__maxDate); | ||
return _objectSpread({ | ||
views: views, | ||
openTo: openTo, | ||
minDate: minDate, | ||
maxDate: maxDate, | ||
mask: '__/__/____', | ||
inputFormat: getFormatByViews(views, utils) | ||
}); | ||
}, other); | ||
} | ||
@@ -129,0 +140,0 @@ }; |
import _defineProperty from '@babel/runtime/helpers/esm/defineProperty'; | ||
import React__default, { createElement, Fragment } from 'react'; | ||
import _objectWithoutProperties from '@babel/runtime/helpers/esm/objectWithoutProperties'; | ||
import { createElement, Fragment } from 'react'; | ||
import 'prop-types'; | ||
import { u as useUtils } from './dimensions-bd426990.js'; | ||
import { u as useUtils } from './dimensions-47a2cb83.js'; | ||
import 'clsx'; | ||
import '@babel/runtime/helpers/esm/extends'; | ||
import '@babel/runtime/helpers/esm/objectWithoutProperties'; | ||
import '@material-ui/core/Grid'; | ||
@@ -13,9 +13,9 @@ import '@material-ui/core/Typography'; | ||
import { createSvgIcon } from '@material-ui/core/utils'; | ||
import { P as PickerToolbar, b as ToolbarButton, c as ToolbarText } from './ClockView-03c73477.js'; | ||
import './ArrowSwitcher-b0a281b3.js'; | ||
import { P as PickerToolbar, b as ToolbarButton, c as ToolbarText } from './ClockView-025342dc.js'; | ||
import './ArrowSwitcher-81199363.js'; | ||
import { makeStyles, useTheme } from '@material-ui/core/styles'; | ||
import '@babel/runtime/helpers/esm/slicedToArray'; | ||
import '@babel/runtime/helpers/esm/typeof'; | ||
import './utils-66277a98.js'; | ||
import './Calendar-afaf51ae.js'; | ||
import { m as makePickerWithStateAndWrapper, R as ResponsiveWrapper, D as DesktopWrapper, M as MobileWrapper, S as StaticWrapper, a as dateTimePickerDefaultProps } from './Wrapper-4adf0bef.js'; | ||
import './utils-ef34bcd7.js'; | ||
import { v as validateDate } from './date-utils-2164e0cf.js'; | ||
import '@material-ui/core/useMediaQuery'; | ||
@@ -26,6 +26,5 @@ import '@material-ui/core/Button'; | ||
import '@material-ui/core/Dialog'; | ||
import '@material-ui/core/TextField'; | ||
import { p as pick12hOr24hFormat } from './Picker-2bbc7ba8.js'; | ||
import './WrapperVariantContext-747fba40.js'; | ||
import '@babel/runtime/helpers/esm/slicedToArray'; | ||
import { m as makeValidationHook, a as makePickerWithStateAndWrapper, R as ResponsiveWrapper, D as DesktopWrapper, M as MobileWrapper, S as StaticWrapper } from './makePickerWithState-42c3158e.js'; | ||
import { u as useParsedDate, p as pick12hOr24hFormat, a as defaultMinDate, d as defaultMaxDate } from './Picker-af396809.js'; | ||
import './WrapperVariantContext-a0f5915b.js'; | ||
import '@material-ui/core/InputAdornment'; | ||
@@ -39,3 +38,3 @@ import 'rifm'; | ||
import './useKeyDown-e9a6112c.js'; | ||
import './usePickerState-71de5ec1.js'; | ||
import './usePickerState-7fd6a582.js'; | ||
import '@babel/runtime/helpers/esm/classCallCheck'; | ||
@@ -46,3 +45,3 @@ import '@babel/runtime/helpers/esm/createClass'; | ||
import '@babel/runtime/helpers/esm/inherits'; | ||
import './Clock-9baa7a72.js'; | ||
import { v as validateTime } from './Clock-fa87eff6.js'; | ||
import '@material-ui/core/ButtonBase'; | ||
@@ -52,2 +51,3 @@ import '@material-ui/core/CircularProgress'; | ||
import './Day.js'; | ||
import './Calendar.js'; | ||
import '@material-ui/core/Fade'; | ||
@@ -57,17 +57,19 @@ import Tab from '@material-ui/core/Tab'; | ||
var TimeIcon = createSvgIcon(React__default.createElement(React__default.Fragment, null, React__default.createElement("path", { | ||
/** | ||
* @ignore - internal component. | ||
*/ | ||
var TimeIcon = createSvgIcon(createElement(Fragment, null, createElement("path", { | ||
d: "M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z" | ||
}), React__default.createElement("path", { | ||
fill: "none", | ||
d: "M0 0h24v24H0z" | ||
}), React__default.createElement("path", { | ||
}), createElement("path", { | ||
d: "M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z" | ||
})), 'TimeIcon'); | ||
})), 'Time'); | ||
var DateRangeIcon = createSvgIcon(React__default.createElement(React__default.Fragment, null, React__default.createElement("path", { | ||
/** | ||
* @ignore - internal component. | ||
*/ | ||
var DateRangeIcon = createSvgIcon(createElement("path", { | ||
d: "M9 11H7v2h2v-2zm4 0h-2v2h2v-2zm4 0h-2v2h2v-2zm2-7h-1V2h-2v2H8V2H6v2H5c-1.11 0-1.99.9-1.99 2L3 20c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 16H5V9h14v11z" | ||
}), React__default.createElement("path", { | ||
fill: "none", | ||
d: "M0 0h24v24H0z" | ||
})), 'DateRangeIcon'); | ||
}), 'DateRange'); | ||
@@ -241,2 +243,25 @@ var viewToTabIndex = function viewToTabIndex(openView) { | ||
function validateDateAndTime(utils, value, _ref) { | ||
var minDate = _ref.minDate, | ||
maxDate = _ref.maxDate, | ||
disableFuture = _ref.disableFuture, | ||
shouldDisableDate = _ref.shouldDisableDate, | ||
disablePast = _ref.disablePast, | ||
timeValidationProps = _objectWithoutProperties(_ref, ["minDate", "maxDate", "disableFuture", "shouldDisableDate", "disablePast"]); | ||
var dateValidationResult = validateDate(utils, value, { | ||
minDate: minDate, | ||
maxDate: maxDate, | ||
disableFuture: disableFuture, | ||
shouldDisableDate: shouldDisableDate, | ||
disablePast: disablePast | ||
}); | ||
if (dateValidationResult !== null) { | ||
return dateValidationResult; | ||
} | ||
return validateTime(utils, value, timeValidationProps); | ||
} | ||
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } | ||
@@ -246,15 +271,29 @@ | ||
function useDefaultProps(_ref) { | ||
function useInterceptProps(_ref) { | ||
var ampm = _ref.ampm, | ||
mask = _ref.mask, | ||
inputFormat = _ref.inputFormat, | ||
maxDateTime = _ref.maxDateTime, | ||
minDateTime = _ref.minDateTime, | ||
_ref$orientation = _ref.orientation, | ||
orientation = _ref$orientation === void 0 ? 'portrait' : _ref$orientation, | ||
__minTime = _ref.minTime, | ||
__maxTime = _ref.maxTime, | ||
_ref$minDate = _ref.minDate, | ||
__minDate = _ref$minDate === void 0 ? defaultMinDate : _ref$minDate, | ||
_ref$maxDate = _ref.maxDate, | ||
__maxDate = _ref$maxDate === void 0 ? defaultMaxDate : _ref$maxDate, | ||
__maxDateTime = _ref.maxDateTime, | ||
__minDateTime = _ref.minDateTime, | ||
_ref$openTo = _ref.openTo, | ||
openTo = _ref$openTo === void 0 ? 'date' : _ref$openTo, | ||
_ref$views = _ref.views, | ||
views = _ref$views === void 0 ? ['year', 'date', 'hours', 'minutes'] : _ref$views; | ||
views = _ref$views === void 0 ? ['year', 'date', 'hours', 'minutes'] : _ref$views, | ||
other = _objectWithoutProperties(_ref, ["ampm", "mask", "inputFormat", "orientation", "minTime", "maxTime", "minDate", "maxDate", "maxDateTime", "minDateTime", "openTo", "views"]); | ||
var utils = useUtils(); | ||
var minTime = useParsedDate(__minTime); | ||
var maxTime = useParsedDate(__maxTime); | ||
var minDate = useParsedDate(__minDate); | ||
var maxDate = useParsedDate(__maxDate); | ||
var minDateTime = useParsedDate(__minDateTime); | ||
var maxDateTime = useParsedDate(__maxDateTime); | ||
var willUseAmPm = ampm !== null && ampm !== void 0 ? ampm : utils.is12HourCycleInCurrentLocale(); | ||
@@ -266,14 +305,14 @@ | ||
return _objectSpread({}, dateTimePickerDefaultProps, { | ||
return _objectSpread({ | ||
openTo: openTo, | ||
views: views, | ||
ampm: willUseAmPm, | ||
wider: true, | ||
ampmInClock: true, | ||
orientation: orientation, | ||
showToolbar: true, | ||
minDate: minDateTime, | ||
minTime: minDateTime, | ||
maxDate: maxDateTime, | ||
maxTime: maxDateTime, | ||
showTabs: true, | ||
minDate: minDateTime || minDate, | ||
minTime: minDateTime || minTime, | ||
maxDate: maxDateTime || maxDate, | ||
maxTime: maxDateTime || maxTime, | ||
disableTimeValidationIgnoreDatePart: Boolean(minDateTime || maxDateTime), | ||
@@ -287,23 +326,17 @@ acceptRegex: willUseAmPm ? /[\dap]/gi : /\d/gi, | ||
}) | ||
}); | ||
}, other); | ||
} | ||
var DateTimePicker = makePickerWithStateAndWrapper(ResponsiveWrapper, { | ||
useDefaultProps: useDefaultProps, | ||
var useValidation = makeValidationHook(validateDateAndTime); | ||
var dateTimePickerConfig = { | ||
useInterceptProps: useInterceptProps, | ||
useValidation: useValidation, | ||
DefaultToolbarComponent: DateTimePickerToolbar | ||
}); | ||
var DesktopDateTimePicker = makePickerWithStateAndWrapper(DesktopWrapper, { | ||
useDefaultProps: useDefaultProps, | ||
DefaultToolbarComponent: DateTimePickerToolbar | ||
}); | ||
var MobileDateTimePicker = makePickerWithStateAndWrapper(MobileWrapper, { | ||
useDefaultProps: useDefaultProps, | ||
DefaultToolbarComponent: DateTimePickerToolbar | ||
}); | ||
var StaticDateTimePicker = makePickerWithStateAndWrapper(StaticWrapper, { | ||
useDefaultProps: useDefaultProps, | ||
DefaultToolbarComponent: DateTimePickerToolbar | ||
}); | ||
}; | ||
var DateTimePicker = makePickerWithStateAndWrapper(ResponsiveWrapper, dateTimePickerConfig); | ||
var DesktopDateTimePicker = makePickerWithStateAndWrapper(DesktopWrapper, dateTimePickerConfig); | ||
var MobileDateTimePicker = makePickerWithStateAndWrapper(MobileWrapper, dateTimePickerConfig); | ||
var StaticDateTimePicker = makePickerWithStateAndWrapper(StaticWrapper, dateTimePickerConfig); | ||
export { DateTimePicker, DesktopDateTimePicker, MobileDateTimePicker, StaticDateTimePicker }; | ||
//# sourceMappingURL=DateTimePicker.js.map |
29
Day.js
@@ -0,12 +1,12 @@ | ||
import _objectWithoutProperties from '@babel/runtime/helpers/esm/objectWithoutProperties'; | ||
import { memo, useRef, useEffect, createElement } from 'react'; | ||
import { bool } from 'prop-types'; | ||
import { D as DAY_SIZE, a as DAY_MARGIN, u as useUtils } from './dimensions-bd426990.js'; | ||
import { c as DAY_SIZE, d as DAY_MARGIN, u as useUtils } from './dimensions-47a2cb83.js'; | ||
import clsx from 'clsx'; | ||
import _extends from '@babel/runtime/helpers/esm/extends'; | ||
import _objectWithoutProperties from '@babel/runtime/helpers/esm/objectWithoutProperties'; | ||
import { makeStyles, fade } from '@material-ui/core/styles'; | ||
import '@babel/runtime/helpers/esm/slicedToArray'; | ||
import '@babel/runtime/helpers/esm/typeof'; | ||
import { o as onSpaceOrEnter } from './utils-66277a98.js'; | ||
import '@babel/runtime/helpers/esm/slicedToArray'; | ||
import { F as FORCE_FINISH_PICKER } from './usePickerState-71de5ec1.js'; | ||
import { o as onSpaceOrEnter } from './utils-ef34bcd7.js'; | ||
import { F as FORCE_FINISH_PICKER } from './usePickerState-7fd6a582.js'; | ||
import ButtonBase from '@material-ui/core/ButtonBase'; | ||
@@ -43,5 +43,4 @@ | ||
}, | ||
hidden: { | ||
opacity: 0, | ||
pointerEvents: 'none' | ||
hiddenDaySpacingFiller: { | ||
visibility: 'hidden' | ||
}, | ||
@@ -137,5 +136,13 @@ today: { | ||
}, onKeyDown); | ||
var isHidden = !isInCurrentMonth && !showDaysOutsideCurrentMonth; | ||
var dayClassName = clsx(classes.day, className, selected && classes.daySelected, disabled && classes.dayDisabled, !disableMargin && classes.dayWithMargin, !disableHighlightToday && isToday && classes.today, !isInCurrentMonth && showDaysOutsideCurrentMonth && classes.dayOutsideMonth); | ||
if (!isInCurrentMonth && !showDaysOutsideCurrentMonth) { | ||
// Do not render button and not attach any listeners for empty days | ||
return createElement("div", { | ||
"aria-hidden": true, | ||
className: clsx(dayClassName, classes.hiddenDaySpacingFiller) | ||
}); | ||
} | ||
return createElement(ButtonBase, _extends({ | ||
"aria-hidden": isHidden, | ||
ref: ref, | ||
@@ -146,3 +153,3 @@ centerRipple: true, | ||
tabIndex: focused || focusable ? 0 : -1, | ||
className: clsx(classes.day, className, selected && classes.daySelected, disabled && classes.dayDisabled, !disableMargin && classes.dayWithMargin, !disableHighlightToday && isToday && classes.today, isHidden && classes.hidden, !isInCurrentMonth && showDaysOutsideCurrentMonth && classes.dayOutsideMonth) | ||
className: dayClassName | ||
}, other, { | ||
@@ -149,0 +156,0 @@ onFocus: handleFocus, |
445
index.js
import _defineProperty from '@babel/runtime/helpers/esm/defineProperty'; | ||
import { useRef, useEffect, createElement, memo, Fragment, useState, useCallback, useMemo, useContext, forwardRef } from 'react'; | ||
import _objectWithoutProperties from '@babel/runtime/helpers/esm/objectWithoutProperties'; | ||
import { createElement, memo, Fragment, useRef, useContext, useEffect, useCallback, useState, useMemo, forwardRef } from 'react'; | ||
import 'prop-types'; | ||
import { u as useUtils, a as DAY_MARGIN, b as useNow } from './dimensions-bd426990.js'; | ||
export { L as LocalizationProvider, M as MuiPickersContext, u as useUtils } from './dimensions-bd426990.js'; | ||
import { u as useUtils, d as DAY_MARGIN, b as useNow } from './dimensions-47a2cb83.js'; | ||
export { L as LocalizationProvider, M as MuiPickersContext, u as useUtils } from './dimensions-47a2cb83.js'; | ||
import clsx from 'clsx'; | ||
import _extends from '@babel/runtime/helpers/esm/extends'; | ||
import _objectWithoutProperties from '@babel/runtime/helpers/esm/objectWithoutProperties'; | ||
import '@material-ui/core/Grid'; | ||
@@ -14,13 +14,11 @@ import Typography from '@material-ui/core/Typography'; | ||
import '@material-ui/core/utils'; | ||
import { P as PickerToolbar, d as ToolbarButton } from './ClockView-03c73477.js'; | ||
export { C as ClockView, a as TimePickerView } from './ClockView-03c73477.js'; | ||
import { a as useNextMonthDisabled, b as usePreviousMonthDisabled, A as ArrowSwitcher, u as useParsedDate } from './ArrowSwitcher-b0a281b3.js'; | ||
import { makeStyles, fade } from '@material-ui/core/styles'; | ||
import { P as PickerToolbar, d as ToolbarButton } from './ClockView-025342dc.js'; | ||
export { C as ClockView, a as TimePickerView } from './ClockView-025342dc.js'; | ||
import { A as ArrowSwitcher } from './ArrowSwitcher-81199363.js'; | ||
import { makeStyles, fade, styled } from '@material-ui/core/styles'; | ||
import _slicedToArray from '@babel/runtime/helpers/esm/slicedToArray'; | ||
import '@babel/runtime/helpers/esm/typeof'; | ||
import { m as mergeRefs, d as doNothing, c as createDelegatedEventHandler } from './utils-66277a98.js'; | ||
import { C as Calendar, c as isWithinRange, d as isStartOfRange, e as isEndOfRange, f as isRangeValid, p as parsePickerInputValue } from './Calendar-afaf51ae.js'; | ||
export { C as Calendar } from './Calendar-afaf51ae.js'; | ||
import { e as executeInTheNextEventLoopTick, m as mergeRefs } from './utils-ef34bcd7.js'; | ||
import { b as isWithinRange, c as isStartOfRange, d as isEndOfRange, e as isRangeValid, h as validateDateRange, j as parseRangeInputValue } from './date-utils-2164e0cf.js'; | ||
export { DatePicker, DesktopDatePicker, MobileDatePicker, StaticDatePicker } from './DatePicker.js'; | ||
import { b as makeWrapperComponent, c as ResponsivePopperWrapper, e as DesktopPopperWrapper, M as MobileWrapper, S as StaticWrapper } from './Wrapper-4adf0bef.js'; | ||
export { m as makePickerWithState } from './Wrapper-4adf0bef.js'; | ||
import '@material-ui/core/useMediaQuery'; | ||
@@ -31,7 +29,7 @@ import '@material-ui/core/Button'; | ||
import '@material-ui/core/Dialog'; | ||
import '@material-ui/core/TextField'; | ||
import { K as KeyboardDateInput, C as CalendarHeader, c as useCalendarState, M as MobileKeyboardInputView, d as defaultReduceAnimations } from './Picker-2bbc7ba8.js'; | ||
export { f as CalendarView, P as Picker, d as defaultReduceAnimations, e as useStyles, v as validate } from './Picker-2bbc7ba8.js'; | ||
import { W as WrapperVariantContext } from './WrapperVariantContext-747fba40.js'; | ||
import _slicedToArray from '@babel/runtime/helpers/esm/slicedToArray'; | ||
import { m as makeValidationHook, b as makeWrapperComponent, c as ResponsivePopperWrapper, d as DesktopPopperWrapper, M as MobileWrapper, S as StaticWrapper } from './makePickerWithState-42c3158e.js'; | ||
export { a as makePickerWithState } from './makePickerWithState-42c3158e.js'; | ||
import { C as CalendarHeader, f as useMaskedInput, h as useNextMonthDisabled, i as usePreviousMonthDisabled, u as useParsedDate, j as useCalendarState, M as MobileKeyboardInputView, k as defaultReduceAnimations, a as defaultMinDate, d as defaultMaxDate } from './Picker-af396809.js'; | ||
export { m as CalendarView, P as Picker, k as defaultReduceAnimations, l as useStyles } from './Picker-af396809.js'; | ||
import { W as WrapperVariantContext } from './WrapperVariantContext-a0f5915b.js'; | ||
import '@material-ui/core/InputAdornment'; | ||
@@ -45,4 +43,4 @@ import 'rifm'; | ||
import './useKeyDown-e9a6112c.js'; | ||
import { F as FORCE_FINISH_PICKER, u as usePickerState } from './usePickerState-71de5ec1.js'; | ||
export { u as usePickerState } from './usePickerState-71de5ec1.js'; | ||
import { F as FORCE_FINISH_PICKER, u as usePickerState } from './usePickerState-7fd6a582.js'; | ||
export { u as usePickerState } from './usePickerState-7fd6a582.js'; | ||
import '@babel/runtime/helpers/esm/classCallCheck'; | ||
@@ -53,3 +51,3 @@ import '@babel/runtime/helpers/esm/createClass'; | ||
import '@babel/runtime/helpers/esm/inherits'; | ||
export { C as Clock } from './Clock-9baa7a72.js'; | ||
export { C as Clock } from './Clock-fa87eff6.js'; | ||
import '@material-ui/core/ButtonBase'; | ||
@@ -60,2 +58,4 @@ import '@material-ui/core/CircularProgress'; | ||
export { Day } from './Day.js'; | ||
import { Calendar } from './Calendar.js'; | ||
export { Calendar } from './Calendar.js'; | ||
import '@material-ui/core/Fade'; | ||
@@ -119,131 +119,3 @@ export { DesktopTimePicker, MobileTimePicker, StaticTimePicker, TimePicker, getTextFieldAriaText } from './TimePicker.js'; | ||
var useStyles = makeStyles(function (theme) { | ||
return { | ||
rangeInputsContainer: _defineProperty({ | ||
display: 'flex', | ||
alignItems: 'center' | ||
}, theme.breakpoints.down('xs'), { | ||
flexDirection: 'column' | ||
}), | ||
toLabelDelimiter: _defineProperty({ | ||
margin: '8px 0' | ||
}, theme.breakpoints.up('sm'), { | ||
margin: '0 16px' | ||
}) | ||
}; | ||
}, { | ||
name: 'MuiPickersDateRangePickerInput' | ||
}); | ||
var DateRangePickerInput = function DateRangePickerInput(_ref) { | ||
var _ref$toText = _ref.toText, | ||
toText = _ref$toText === void 0 ? 'to' : _ref$toText, | ||
rawValue = _ref.rawValue, | ||
onChange = _ref.onChange, | ||
onClick = _ref.onClick, | ||
_ref$parsedDateValue = _slicedToArray(_ref.parsedDateValue, 2), | ||
start = _ref$parsedDateValue[0], | ||
end = _ref$parsedDateValue[1], | ||
id = _ref.id, | ||
open = _ref.open, | ||
className = _ref.className, | ||
containerRef = _ref.containerRef, | ||
forwardedRef = _ref.forwardedRef, | ||
currentlySelectingRangeEnd = _ref.currentlySelectingRangeEnd, | ||
setCurrentlySelectingRangeEnd = _ref.setCurrentlySelectingRangeEnd, | ||
openPicker = _ref.openPicker, | ||
onFocus = _ref.onFocus, | ||
readOnly = _ref.readOnly, | ||
disableOpenPicker = _ref.disableOpenPicker, | ||
startText = _ref.startText, | ||
endText = _ref.endText, | ||
other = _objectWithoutProperties(_ref, ["toText", "rawValue", "onChange", "onClick", "parsedDateValue", "id", "open", "className", "containerRef", "forwardedRef", "currentlySelectingRangeEnd", "setCurrentlySelectingRangeEnd", "openPicker", "onFocus", "readOnly", "disableOpenPicker", "startText", "endText"]); | ||
var utils = useUtils(); | ||
var classes = useStyles(); | ||
var startRef = useRef(null); | ||
var endRef = useRef(null); | ||
useEffect(function () { | ||
if (!open) { | ||
return; | ||
} | ||
if (currentlySelectingRangeEnd === 'start') { | ||
var _startRef$current; | ||
(_startRef$current = startRef.current) === null || _startRef$current === void 0 ? void 0 : _startRef$current.focus(); | ||
} else if (currentlySelectingRangeEnd === 'end') { | ||
var _endRef$current; | ||
(_endRef$current = endRef.current) === null || _endRef$current === void 0 ? void 0 : _endRef$current.focus(); | ||
} | ||
}, [currentlySelectingRangeEnd, open]); | ||
var handleStartChange = function handleStartChange(date, inputString) { | ||
if (date === null || utils.isValid(date)) { | ||
onChange([date, end], inputString); | ||
} | ||
}; | ||
var handleEndChange = function handleEndChange(date, inputString) { | ||
if (date === null || utils.isValid(date)) { | ||
onChange([start, date], inputString); | ||
} | ||
}; | ||
var openRangeStartSelection = function openRangeStartSelection() { | ||
if (setCurrentlySelectingRangeEnd) { | ||
setCurrentlySelectingRangeEnd('start'); | ||
} | ||
if (!disableOpenPicker) { | ||
openPicker(); | ||
} | ||
}; | ||
var openRangeEndSelection = function openRangeEndSelection() { | ||
if (setCurrentlySelectingRangeEnd) { | ||
setCurrentlySelectingRangeEnd('end'); | ||
} | ||
if (!disableOpenPicker) { | ||
openPicker(); | ||
} | ||
}; | ||
return createElement("div", { | ||
id: id, | ||
className: clsx(classes.rangeInputsContainer, className), | ||
ref: mergeRefs([containerRef, forwardedRef]) | ||
}, createElement(KeyboardDateInput, _extends({}, other, { | ||
open: open, | ||
forwardedRef: startRef, | ||
rawValue: start, | ||
parsedDateValue: start, | ||
onChange: handleStartChange, | ||
disableOpenPicker: true, | ||
openPicker: doNothing, | ||
readOnly: readOnly, | ||
label: startText, | ||
focused: open && currentlySelectingRangeEnd === 'start', | ||
onClick: readOnly ? createDelegatedEventHandler(openRangeStartSelection, onClick) : undefined, | ||
onFocus: !readOnly ? createDelegatedEventHandler(openRangeStartSelection, onFocus) : undefined | ||
})), createElement(Typography, { | ||
className: classes.toLabelDelimiter | ||
}, toText), createElement(KeyboardDateInput, _extends({}, other, { | ||
open: open, | ||
forwardedRef: endRef, | ||
rawValue: end, | ||
parsedDateValue: end, | ||
onChange: handleEndChange, | ||
disableOpenPicker: true, | ||
openPicker: doNothing, | ||
readOnly: readOnly, | ||
label: endText, | ||
focused: open && currentlySelectingRangeEnd === 'end', | ||
onClick: readOnly ? createDelegatedEventHandler(openRangeEndSelection, onClick) : undefined, | ||
onFocus: !readOnly ? createDelegatedEventHandler(openRangeEndSelection, onFocus) : undefined | ||
}))); | ||
}; | ||
var useStyles$1 = makeStyles({ | ||
var useStyles = makeStyles({ | ||
penIcon: { | ||
@@ -274,3 +146,3 @@ position: 'relative', | ||
var utils = useUtils(); | ||
var classes = useStyles$1(); | ||
var classes = useStyles(); | ||
var startDateValue = start ? utils.formatByString(start, toolbarFormat || utils.formats.shortDate) : startText; | ||
@@ -316,3 +188,3 @@ var endDateValue = end ? utils.formatByString(end, toolbarFormat || utils.formats.shortDate) : endText; | ||
}; | ||
var useStyles$2 = makeStyles(function (theme) { | ||
var useStyles$1 = makeStyles(function (theme) { | ||
return { | ||
@@ -396,3 +268,3 @@ rangeIntervalDay: { | ||
var utils = useUtils(); | ||
var classes = useStyles$2(); | ||
var classes = useStyles$1(); | ||
var isEndOfMonth = utils.isSameDay(day, utils.endOfMonth(day)); | ||
@@ -467,2 +339,145 @@ var isStartOfMonth = utils.isSameDay(day, utils.startOfMonth(day)); | ||
function ownKeys$1(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } | ||
function _objectSpread$1(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$1(source, true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$1(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } | ||
var useStyles$2 = makeStyles(function (theme) { | ||
return { | ||
rangeInputsContainer: _defineProperty({ | ||
display: 'flex', | ||
alignItems: 'baseline' | ||
}, theme.breakpoints.down('xs'), { | ||
flexDirection: 'column', | ||
alignItems: 'center' | ||
}), | ||
toLabelDelimiter: _defineProperty({ | ||
margin: '8px 0' | ||
}, theme.breakpoints.up('sm'), { | ||
margin: '0 16px' | ||
}) | ||
}; | ||
}, { | ||
name: 'MuiPickersDateRangePickerInput' | ||
}); | ||
var DateRangePickerInput = function DateRangePickerInput(_ref) { | ||
var rawValue = _ref.rawValue, | ||
onChange = _ref.onChange, | ||
_ref$rawValue = _slicedToArray(_ref.rawValue, 2), | ||
start = _ref$rawValue[0], | ||
end = _ref$rawValue[1], | ||
_ref$parsedDateValue = _slicedToArray(_ref.parsedDateValue, 2), | ||
parsedStart = _ref$parsedDateValue[0], | ||
parsedEnd = _ref$parsedDateValue[1], | ||
open = _ref.open, | ||
containerRef = _ref.containerRef, | ||
forwardedRef = _ref.forwardedRef, | ||
currentlySelectingRangeEnd = _ref.currentlySelectingRangeEnd, | ||
setCurrentlySelectingRangeEnd = _ref.setCurrentlySelectingRangeEnd, | ||
openPicker = _ref.openPicker, | ||
disableOpenPicker = _ref.disableOpenPicker, | ||
startText = _ref.startText, | ||
endText = _ref.endText, | ||
readOnly = _ref.readOnly, | ||
renderInput = _ref.renderInput, | ||
TextFieldProps = _ref.TextFieldProps, | ||
onBlur = _ref.onBlur, | ||
_ref$validationError = _slicedToArray(_ref.validationError, 2), | ||
startValidationError = _ref$validationError[0], | ||
endValidationError = _ref$validationError[1], | ||
other = _objectWithoutProperties(_ref, ["rawValue", "onChange", "rawValue", "parsedDateValue", "open", "containerRef", "forwardedRef", "currentlySelectingRangeEnd", "setCurrentlySelectingRangeEnd", "openPicker", "disableOpenPicker", "startText", "endText", "readOnly", "renderInput", "TextFieldProps", "onBlur", "validationError"]); | ||
var classes = useStyles$2(); | ||
var startRef = useRef(null); | ||
var endRef = useRef(null); | ||
var wrapperVariant = useContext(WrapperVariantContext); | ||
useEffect(function () { | ||
if (!open) { | ||
return; | ||
} | ||
if (currentlySelectingRangeEnd === 'start') { | ||
var _startRef$current; | ||
(_startRef$current = startRef.current) === null || _startRef$current === void 0 ? void 0 : _startRef$current.focus(); | ||
} else if (currentlySelectingRangeEnd === 'end') { | ||
var _endRef$current; | ||
(_endRef$current = endRef.current) === null || _endRef$current === void 0 ? void 0 : _endRef$current.focus(); | ||
} | ||
}, [currentlySelectingRangeEnd, open]); // TODO: rethink this approach. We do not need to wait for calendar to be updated to rerender input (looks like freezing) | ||
// TODO: so simply break 1 react's commit phase in 2 (first for input and second for calendars) by executing onChange in the next tick | ||
var lazyHandleChangeCallback = useCallback(function () { | ||
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { | ||
args[_key] = arguments[_key]; | ||
} | ||
return executeInTheNextEventLoopTick(function () { | ||
return onChange.apply(void 0, args); | ||
}); | ||
}, [onChange]); | ||
var handleStartChange = function handleStartChange(date, inputString) { | ||
lazyHandleChangeCallback([date, parsedEnd], inputString); | ||
}; | ||
var handleEndChange = function handleEndChange(date, inputString) { | ||
lazyHandleChangeCallback([parsedStart, date], inputString); | ||
}; | ||
var openRangeStartSelection = function openRangeStartSelection() { | ||
if (setCurrentlySelectingRangeEnd) { | ||
setCurrentlySelectingRangeEnd('start'); | ||
} | ||
if (!disableOpenPicker) { | ||
openPicker(); | ||
} | ||
}; | ||
var openRangeEndSelection = function openRangeEndSelection() { | ||
if (setCurrentlySelectingRangeEnd) { | ||
setCurrentlySelectingRangeEnd('end'); | ||
} | ||
if (!disableOpenPicker) { | ||
openPicker(); | ||
} | ||
}; | ||
var openOnFocus = wrapperVariant === 'desktop'; | ||
var startInputProps = useMaskedInput(_objectSpread$1({}, other, { | ||
readOnly: readOnly, | ||
rawValue: start, | ||
onChange: handleStartChange, | ||
label: startText, | ||
validationError: startValidationError !== null, | ||
TextFieldProps: _objectSpread$1({}, TextFieldProps, { | ||
ref: startRef, | ||
variant: 'outlined', | ||
focused: open && currentlySelectingRangeEnd === 'start', | ||
onClick: !openOnFocus ? openRangeStartSelection : undefined, | ||
onFocus: openOnFocus ? openRangeStartSelection : undefined | ||
}) | ||
})); | ||
var endInputProps = useMaskedInput(_objectSpread$1({}, other, { | ||
readOnly: readOnly, | ||
label: endText, | ||
rawValue: end, | ||
onChange: handleEndChange, | ||
validationError: endValidationError !== null, | ||
TextFieldProps: _objectSpread$1({}, TextFieldProps, { | ||
ref: endRef, | ||
variant: 'outlined', | ||
focused: open && currentlySelectingRangeEnd === 'end', | ||
onClick: !openOnFocus ? openRangeEndSelection : undefined, | ||
onFocus: openOnFocus ? openRangeEndSelection : undefined | ||
}) | ||
})); | ||
return createElement("div", { | ||
onBlur: onBlur, | ||
className: classes.rangeInputsContainer, | ||
ref: mergeRefs([containerRef, forwardedRef]) | ||
}, renderInput(startInputProps, endInputProps)); | ||
}; | ||
var useStyles$3 = makeStyles(function (theme) { | ||
@@ -629,5 +644,5 @@ return { | ||
function ownKeys$1(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } | ||
function ownKeys$2(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } | ||
function _objectSpread$1(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$1(source, true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$1(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } | ||
function _objectSpread$2(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$2(source, true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$2(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } | ||
var DateRangePickerView = function DateRangePickerView(_ref) { | ||
@@ -659,4 +674,5 @@ var open = _ref.open, | ||
endText = _ref.endText, | ||
className = _ref.className, | ||
DateInputProps = _ref.DateInputProps, | ||
other = _objectWithoutProperties(_ref, ["open", "calendars", "currentlySelectingRangeEnd", "date", "disableAutoMonthSwitching", "disableFuture", "disableHighlightToday", "disablePast", "maxDate", "minDate", "onDateChange", "onMonthChange", "reduceAnimations", "setCurrentlySelectingRangeEnd", "shouldDisableDate", "toggleMobileKeyboardView", "isMobileKeyboardViewOpen", "showToolbar", "startText", "endText", "DateInputProps"]); | ||
other = _objectWithoutProperties(_ref, ["open", "calendars", "currentlySelectingRangeEnd", "date", "disableAutoMonthSwitching", "disableFuture", "disableHighlightToday", "disablePast", "maxDate", "minDate", "onDateChange", "onMonthChange", "reduceAnimations", "setCurrentlySelectingRangeEnd", "shouldDisableDate", "toggleMobileKeyboardView", "isMobileKeyboardViewOpen", "showToolbar", "startText", "endText", "className", "DateInputProps"]); | ||
@@ -693,2 +709,6 @@ var now = useNow(); | ||
var scrollToDayIfNeeded = function scrollToDayIfNeeded(day) { | ||
if (!utils.isValid(day) || isDateDisabled(day)) { | ||
return; | ||
} | ||
var displayingMonthRange = wrapperVariant === 'mobile' ? 0 : calendars - 1; | ||
@@ -698,3 +718,3 @@ var currentMonthNumber = utils.getMonth(calendarState.currentMonth); | ||
if (requestedMonthNumber < currentMonthNumber || requestedMonthNumber > currentMonthNumber + displayingMonthRange) { | ||
if (!utils.isSameYear(calendarState.currentMonth, day) || requestedMonthNumber < currentMonthNumber || requestedMonthNumber > currentMonthNumber + displayingMonthRange) { | ||
var newMonth = currentlySelectingRangeEnd === 'start' ? start : // If need to focus end, scroll to the state when "end" is displaying in the last calendar | ||
@@ -734,3 +754,3 @@ utils.addMonths(end, -displayingMonthRange); | ||
var renderView = function renderView() { | ||
var sharedCalendarProps = _objectSpread$1({ | ||
var sharedCalendarProps = _objectSpread$2({ | ||
date: date, | ||
@@ -766,3 +786,5 @@ isDateDisabled: isDateDisabled, | ||
return createElement(Fragment, null, toShowToolbar && createElement(DateRangePickerToolbar, { | ||
return createElement("div", { | ||
className: className | ||
}, toShowToolbar && createElement(DateRangePickerToolbar, { | ||
date: date, | ||
@@ -777,24 +799,19 @@ isMobileKeyboardViewOpen: isMobileKeyboardViewOpen, | ||
disableOpenPicker: true, | ||
ignoreInvalidInputs: true, | ||
startText: startText, | ||
endText: endText, | ||
currentlySelectingRangeEnd: currentlySelectingRangeEnd, | ||
setCurrentlySelectingRangeEnd: setCurrentlySelectingRangeEnd | ||
ignoreInvalidInputs: true | ||
}, DateInputProps))) : renderView()); | ||
}; | ||
function ownKeys$2(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } | ||
var DateRangeDelimiter = styled(Typography)({ | ||
margin: '0 16px' | ||
}); | ||
function _objectSpread$2(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$2(source, true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$2(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } | ||
function parseRangeInputValue(now, utils, _ref) { | ||
var _ref$value = _ref.value, | ||
value = _ref$value === void 0 ? [null, null] : _ref$value, | ||
defaultHighlight = _ref.defaultHighlight; | ||
return value.map(function (date) { | ||
return date === null ? null : utils.startOfDay(parsePickerInputValue(now, utils, { | ||
value: date, | ||
defaultHighlight: defaultHighlight | ||
})); | ||
}); | ||
} | ||
function ownKeys$3(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } | ||
function _objectSpread$3(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$3(source, true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$3(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } | ||
var useDateRangeValidation = makeValidationHook(validateDateRange, { | ||
defaultValidationError: [null, null], | ||
isSameError: function isSameError(a, b) { | ||
return a[1] === b[1] && a[0] === b[0]; | ||
} | ||
}); | ||
function makeRangePicker(Wrapper) { | ||
@@ -806,27 +823,22 @@ var WrapperComponent = makeWrapperComponent(Wrapper, { | ||
function RangePickerWithStateAndWrapper(_ref2) { | ||
var calendars = _ref2.calendars, | ||
minDate = _ref2.minDate, | ||
maxDate = _ref2.maxDate, | ||
disablePast = _ref2.disablePast, | ||
disableFuture = _ref2.disableFuture, | ||
shouldDisableDate = _ref2.shouldDisableDate, | ||
showDaysOutsideCurrentMonth = _ref2.showDaysOutsideCurrentMonth, | ||
onMonthChange = _ref2.onMonthChange, | ||
disableHighlightToday = _ref2.disableHighlightToday, | ||
reduceAnimations = _ref2.reduceAnimations, | ||
value = _ref2.value, | ||
onChange = _ref2.onChange, | ||
_ref2$mask = _ref2.mask, | ||
mask = _ref2$mask === void 0 ? '__/__/____' : _ref2$mask, | ||
_ref2$variant = _ref2.variant, | ||
variant = _ref2$variant === void 0 ? 'outlined' : _ref2$variant, | ||
_ref2$startText = _ref2.startText, | ||
startText = _ref2$startText === void 0 ? 'Start' : _ref2$startText, | ||
_ref2$endText = _ref2.endText, | ||
endText = _ref2$endText === void 0 ? 'End' : _ref2$endText, | ||
passedInputFormat = _ref2.inputFormat, | ||
restPropsForTextField = _objectWithoutProperties(_ref2, ["calendars", "minDate", "maxDate", "disablePast", "disableFuture", "shouldDisableDate", "showDaysOutsideCurrentMonth", "onMonthChange", "disableHighlightToday", "reduceAnimations", "value", "onChange", "mask", "variant", "startText", "endText", "inputFormat"]); | ||
function RangePickerWithStateAndWrapper(_ref) { | ||
var calendars = _ref.calendars, | ||
value = _ref.value, | ||
onChange = _ref.onChange, | ||
_ref$mask = _ref.mask, | ||
mask = _ref$mask === void 0 ? '__/__/____' : _ref$mask, | ||
_ref$startText = _ref.startText, | ||
startText = _ref$startText === void 0 ? 'Start' : _ref$startText, | ||
_ref$endText = _ref.endText, | ||
endText = _ref$endText === void 0 ? 'End' : _ref$endText, | ||
passedInputFormat = _ref.inputFormat, | ||
_ref$minDate = _ref.minDate, | ||
__minDate = _ref$minDate === void 0 ? defaultMinDate : _ref$minDate, | ||
_ref$maxDate = _ref.maxDate, | ||
__maxDate = _ref$maxDate === void 0 ? defaultMaxDate : _ref$maxDate, | ||
other = _objectWithoutProperties(_ref, ["calendars", "value", "onChange", "mask", "startText", "endText", "inputFormat", "minDate", "maxDate"]); | ||
var utils = useUtils(); | ||
var minDate = useParsedDate(__minDate); | ||
var maxDate = useParsedDate(__maxDate); | ||
@@ -838,3 +850,3 @@ var _React$useState = useState('start'), | ||
var pickerStateProps = _objectSpread$2({}, restPropsForTextField, { | ||
var pickerStateProps = _objectSpread$3({}, other, { | ||
value: value, | ||
@@ -845,2 +857,7 @@ onChange: onChange, | ||
var restProps = _objectSpread$3({}, other, { | ||
minDate: minDate, | ||
maxDate: maxDate | ||
}); | ||
var _usePickerState = usePickerState(pickerStateProps, { | ||
@@ -851,5 +868,2 @@ parseInput: parseRangeInputValue, | ||
}, | ||
validateInput: function validateInput() { | ||
return undefined; | ||
}, | ||
emptyValue: [null, null] | ||
@@ -861,3 +875,5 @@ }), | ||
var DateInputProps = _objectSpread$2({}, inputProps, {}, restPropsForTextField, { | ||
var validationError = useDateRangeValidation(value, restProps); | ||
var DateInputProps = _objectSpread$3({}, inputProps, {}, restProps, { | ||
currentlySelectingRangeEnd: currentlySelectingRangeEnd, | ||
@@ -868,3 +884,3 @@ setCurrentlySelectingRangeEnd: setCurrentlySelectingRangeEnd, | ||
mask: mask, | ||
variant: variant | ||
validationError: validationError | ||
}); | ||
@@ -874,16 +890,7 @@ | ||
wrapperProps: wrapperProps, | ||
inputProps: DateInputProps | ||
}, restPropsForTextField), createElement(DateRangePickerView, _extends({ | ||
DateInputProps: DateInputProps | ||
}, restProps), createElement(DateRangePickerView, _extends({ | ||
open: wrapperProps.open, | ||
DateInputProps: DateInputProps, | ||
calendars: calendars, | ||
minDate: minDate, | ||
maxDate: maxDate, | ||
disablePast: disablePast, | ||
disableFuture: disableFuture, | ||
shouldDisableDate: shouldDisableDate, | ||
showDaysOutsideCurrentMonth: showDaysOutsideCurrentMonth, | ||
onMonthChange: onMonthChange, | ||
disableHighlightToday: disableHighlightToday, | ||
reduceAnimations: reduceAnimations, | ||
currentlySelectingRangeEnd: currentlySelectingRangeEnd, | ||
@@ -893,3 +900,3 @@ setCurrentlySelectingRangeEnd: setCurrentlySelectingRangeEnd, | ||
endText: endText | ||
}, pickerProps))); | ||
}, pickerProps, restProps))); | ||
} | ||
@@ -909,3 +916,3 @@ | ||
export { DateRangePicker, DesktopDateRangePicker, MobileDateRangePicker, StaticDateRangePicker, makeRangePicker, parseRangeInputValue }; | ||
export { DateRangeDelimiter, DateRangePicker, DesktopDateRangePicker, MobileDateRangePicker, StaticDateRangePicker, makeRangePicker, useDateRangeValidation }; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@material-ui/pickers", | ||
"version": "4.0.0-alpha.5", | ||
"version": "4.0.0-alpha.6", | ||
"private": false, | ||
@@ -33,3 +33,3 @@ "description": "React components, that implements material design pickers for material-ui v4", | ||
"peerDependencies": { | ||
"@material-ui/core": "^4.9.9", | ||
"@material-ui/core": "^4.9.11", | ||
"@types/react": "^16.8.6", | ||
@@ -46,10 +46,10 @@ "react": "^16.8.4", | ||
"@babel/runtime": "^7.8.4", | ||
"@date-io/date-fns": "^2.1.0", | ||
"@date-io/dayjs": "^2.1.0", | ||
"@date-io/luxon": "^2.1.0", | ||
"@date-io/moment": "^2.1.0", | ||
"@date-io/date-fns": "^2.6.0", | ||
"@date-io/dayjs": "^2.6.0", | ||
"@date-io/luxon": "^2.6.0", | ||
"@date-io/moment": "^2.6.0", | ||
"clsx": "^1.0.2", | ||
"prop-types": "^15.7.2", | ||
"react-transition-group": "^4.0.0", | ||
"rifm": "^0.10.1" | ||
"rifm": "^0.11.0" | ||
}, | ||
@@ -63,6 +63,6 @@ "scripts": { | ||
"prebuild": "rimraf build", | ||
"build:copy": "node copy.js", | ||
"build:prepare-files": "node prepare-build-files.js", | ||
"build:bundle": "rollup --config", | ||
"build:typescript": "tsc --project tsconfig.json", | ||
"build": "yarn build:typescript && yarn build:bundle && yarn build:copy", | ||
"build": "yarn build:typescript && yarn build:bundle && yarn build:prepare-files", | ||
"build:analyze": "yarn build", | ||
@@ -69,0 +69,0 @@ "release": "yarn test && yarn version && yarn build && yarn publish --non-interactive --tag next build" |
import '@babel/runtime/helpers/esm/defineProperty'; | ||
import '@babel/runtime/helpers/esm/objectWithoutProperties'; | ||
import 'react'; | ||
import 'prop-types'; | ||
import './dimensions-bd426990.js'; | ||
import './dimensions-47a2cb83.js'; | ||
import 'clsx'; | ||
import '@babel/runtime/helpers/esm/extends'; | ||
import '@babel/runtime/helpers/esm/objectWithoutProperties'; | ||
import '@material-ui/core/Grid'; | ||
@@ -13,17 +13,16 @@ import '@material-ui/core/Typography'; | ||
import '@material-ui/core/utils'; | ||
import './ClockView-03c73477.js'; | ||
import './ArrowSwitcher-b0a281b3.js'; | ||
import './ClockView-025342dc.js'; | ||
import './ArrowSwitcher-81199363.js'; | ||
import '@material-ui/core/styles'; | ||
import '@babel/runtime/helpers/esm/slicedToArray'; | ||
import '@babel/runtime/helpers/esm/typeof'; | ||
import './utils-66277a98.js'; | ||
import './Calendar-afaf51ae.js'; | ||
import './utils-ef34bcd7.js'; | ||
import './date-utils-2164e0cf.js'; | ||
import '@material-ui/core/Button'; | ||
import '@material-ui/core/TextField'; | ||
export { P as Picker, u as useStyles } from './Picker-2bbc7ba8.js'; | ||
import './WrapperVariantContext-747fba40.js'; | ||
import '@babel/runtime/helpers/esm/slicedToArray'; | ||
export { P as Picker, e as useStyles } from './Picker-af396809.js'; | ||
import './WrapperVariantContext-a0f5915b.js'; | ||
import '@material-ui/core/InputAdornment'; | ||
import 'rifm'; | ||
import './useKeyDown-e9a6112c.js'; | ||
import './usePickerState-71de5ec1.js'; | ||
import './usePickerState-7fd6a582.js'; | ||
import '@babel/runtime/helpers/esm/classCallCheck'; | ||
@@ -34,3 +33,3 @@ import '@babel/runtime/helpers/esm/createClass'; | ||
import '@babel/runtime/helpers/esm/inherits'; | ||
import './Clock-9baa7a72.js'; | ||
import './Clock-fa87eff6.js'; | ||
import '@material-ui/core/ButtonBase'; | ||
@@ -40,3 +39,4 @@ import '@material-ui/core/CircularProgress'; | ||
import './Day.js'; | ||
import './Calendar.js'; | ||
import '@material-ui/core/Fade'; | ||
//# sourceMappingURL=Picker.js.map |
import { IUtils } from '@date-io/core/IUtils'; | ||
import { ParsableDate } from '../constants/prop-types'; | ||
import { MaterialUiPickersDate } from '../typings/date'; | ||
import { BasePickerProps } from '../typings/BasePicker'; | ||
import { DatePickerView } from '../DatePicker/DatePicker'; | ||
import { DateRange } from '../DateRangePicker/RangeTypes'; | ||
import { MuiPickersAdapter } from '../_shared/hooks/useUtils'; | ||
import { DateRange, RangeInput } from '../DateRangePicker/RangeTypes'; | ||
interface FindClosestDateParams { | ||
@@ -21,2 +22,3 @@ date: MaterialUiPickersDate; | ||
export declare function parsePickerInputValue(now: MaterialUiPickersDate, utils: MuiPickersAdapter, { value, defaultHighlight }: Pick<BasePickerProps, 'value' | 'defaultHighlight'>): MaterialUiPickersDate | null; | ||
export declare function parseRangeInputValue(now: MaterialUiPickersDate, utils: MuiPickersAdapter, { value }: BasePickerProps<RangeInput, DateRange>): DateRange; | ||
export declare const isRangeValid: (utils: MuiPickersAdapter, range: DateRange | null) => range is DateRange; | ||
@@ -26,2 +28,31 @@ export declare const isWithinRange: (utils: MuiPickersAdapter, day: MaterialUiPickersDate, range: DateRange | null) => boolean; | ||
export declare const isEndOfRange: (utils: MuiPickersAdapter, day: MaterialUiPickersDate, range: DateRange | null) => boolean; | ||
export interface DateValidationProps { | ||
/** | ||
* Min selectable date | ||
* @default Date(1900-01-01) | ||
*/ | ||
minDate?: MaterialUiPickersDate; | ||
/** | ||
* Max selectable date | ||
* @default Date(2100-01-01) | ||
*/ | ||
maxDate?: MaterialUiPickersDate; | ||
/** Disable specific date @DateIOType */ | ||
shouldDisableDate?: (day: MaterialUiPickersDate) => boolean; | ||
/** | ||
* Disable past dates | ||
* @default false | ||
*/ | ||
disablePast?: boolean; | ||
/** | ||
* Disable future dates | ||
* @default false | ||
*/ | ||
disableFuture?: boolean; | ||
} | ||
export declare const validateDate: (utils: MuiPickersAdapter, value: ParsableDate, { minDate, maxDate, disableFuture, shouldDisableDate, disablePast }: DateValidationProps) => "shouldDisableDate" | "invalidDate" | "disableFuture" | "maxDate" | "disablePast" | "minDate" | null; | ||
export declare type DateValidationError = ReturnType<typeof validateDate>; | ||
declare type DateRangeValidationErrorValue = DateValidationError | 'invalidRange' | null; | ||
export declare type DateRangeValidationError = [DateRangeValidationErrorValue, DateRangeValidationErrorValue]; | ||
export declare const validateDateRange: (utils: MuiPickersAdapter, value: RangeInput, dateValidationProps: DateValidationProps) => [DateRangeValidationErrorValue, DateRangeValidationErrorValue]; | ||
export {}; |
import { ParsableDate } from '../constants/prop-types'; | ||
import { MaterialUiPickersDate } from '../typings/date'; | ||
import { DateInputProps } from '../_shared/PureDateInput'; | ||
import { MuiPickersAdapter } from '../_shared/hooks/useUtils'; | ||
export declare function getTextFieldAriaText(rawValue: ParsableDate, utils: MuiPickersAdapter): string; | ||
export declare const getDisplayDate: (value: ParsableDate, utils: MuiPickersAdapter, { inputFormat, emptyInputText }: Pick<DateInputProps<ParsableDate, MaterialUiPickersDate>, "inputFormat" | "emptyInputText">) => string; | ||
export interface BaseValidationProps { | ||
/** | ||
* Message, appearing when date cannot be parsed | ||
* @default 'Invalid Date Format' | ||
*/ | ||
invalidDateMessage?: React.ReactNode; | ||
} | ||
export interface DateValidationProps extends BaseValidationProps { | ||
/** | ||
* Error message, shown if date is less then minimal date | ||
* @default 'Date should not be before minimal date' | ||
*/ | ||
minDateMessage?: React.ReactNode; | ||
/** | ||
* Error message, shown if date is more then maximal date | ||
* @default 'Date should not be after maximal date' | ||
*/ | ||
maxDateMessage?: React.ReactNode; | ||
/** | ||
* Compare dates by the exact timestamp, instead of start/end of date | ||
* @default false | ||
*/ | ||
strictCompareDates?: boolean; | ||
} | ||
export declare const validateDateValue: (value: ParsableDate, utils: MuiPickersAdapter, { maxDate, minDate, disablePast, disableFuture, maxDateMessage, minDateMessage, invalidDateMessage, strictCompareDates, }: any) => import("react").ReactNode; | ||
export declare const getDisplayDate: (utils: MuiPickersAdapter, value: ParsableDate, inputFormat: string) => string; | ||
export declare function pick12hOr24hFormat(userFormat: string | undefined, ampm: boolean | undefined, formats: { | ||
@@ -39,6 +12,3 @@ localized: string; | ||
export declare const staticDateWith1DigitTokens: Date; | ||
export declare function checkMaskIsValidForCurrentFormat(mask: string, maskChar: string, format: string, acceptRegex: RegExp, utils: MuiPickersAdapter): { | ||
isMaskValid: boolean; | ||
placeholder: string; | ||
}; | ||
export declare const maskedDateFormatter: (mask: string, numberMaskChar: string, accept: RegExp) => (value: string) => string; | ||
export declare function checkMaskIsValidForCurrentFormat(mask: string, format: string, acceptRegex: RegExp, utils: MuiPickersAdapter): boolean; | ||
export declare const maskedDateFormatter: (mask: string, acceptRegexp: RegExp) => (value: string) => string; |
import { IUtils } from '@date-io/core/IUtils'; | ||
import { ParsableDate } from '../constants/prop-types'; | ||
import { MaterialUiPickersDate } from '../typings/date'; | ||
@@ -10,2 +11,14 @@ import { MuiPickersAdapter } from '../_shared/hooks/useUtils'; | ||
export declare function getSecondsInDay(date: MaterialUiPickersDate, utils: MuiPickersAdapter): number; | ||
export declare const createIsAfterIgnoreDatePart: (utils: MuiPickersAdapter) => (dateLeft: MaterialUiPickersDate, dateRight: MaterialUiPickersDate) => boolean; | ||
export declare const createIsAfterIgnoreDatePart: (disableTimeValidationIgnoreDatePart: boolean, utils: MuiPickersAdapter) => (dateLeft: MaterialUiPickersDate, dateRight: MaterialUiPickersDate) => boolean | ((value: MaterialUiPickersDate, comparing: MaterialUiPickersDate) => boolean); | ||
export interface TimeValidationProps { | ||
/** Min time, date part by default, will be ignored */ | ||
minTime?: MaterialUiPickersDate; | ||
/** Max time, date part by default, will be ignored */ | ||
maxTime?: MaterialUiPickersDate; | ||
/** Dynamically check if time is disabled or not */ | ||
shouldDisableTime?: (timeValue: number, clockType: 'hours' | 'minutes' | 'seconds') => boolean; | ||
/** Do not ignore date part when validating min/max time */ | ||
disableTimeValidationIgnoreDatePart?: boolean; | ||
} | ||
export declare const validateTime: (utils: MuiPickersAdapter, value: ParsableDate, { minTime, maxTime, shouldDisableTime, disableTimeValidationIgnoreDatePart }: TimeValidationProps) => "invalidDate" | "minTime" | "maxTime" | "shouldDisableTime-hours" | "shouldDisableTime-minutes" | "shouldDisableTime-seconds" | null; | ||
export declare type TimeValidationError = ReturnType<typeof validateTime>; |
@@ -7,5 +7,5 @@ import * as React from 'react'; | ||
export declare const pipe: (...fns: ((...args: any[]) => any)[]) => (...args: any[]) => any; | ||
export declare const executeInTheNextEventLoopTick: (fn: () => void) => number; | ||
export declare const executeInTheNextEventLoopTick: (fn: () => void) => void; | ||
export declare function createDelegatedEventHandler<TEvent>(fn: (e: TEvent) => void, onEvent?: (e: TEvent) => void): (e: TEvent) => void; | ||
export declare function mergeRefs<T>(refs: (React.Ref<T | null> | undefined)[]): (value: T) => void; | ||
export declare const doNothing: () => void; |
import { MaterialUiPickersDate } from '../../typings/date'; | ||
export declare function useParsedDate(possiblyUnparsedValue: any): Date | undefined; | ||
export declare function useParsedDate(possiblyUnparsedValue: any): MaterialUiPickersDate | undefined; | ||
interface MonthValidationOptions { | ||
@@ -4,0 +4,0 @@ disablePast?: boolean; |
@@ -7,3 +7,2 @@ import { BasePickerProps } from '../../typings/BasePicker'; | ||
parseInput: (now: MaterialUiPickersDate, utils: MuiPickersAdapter, props: BasePickerProps<TInput, TDateValue>) => TDateValue; | ||
validateInput: (value: TInput, utils: MuiPickersAdapter, props: BasePickerProps<TInput, TDateValue>) => React.ReactNode | undefined; | ||
emptyValue: TDateValue; | ||
@@ -16,3 +15,3 @@ areValuesEqual: (valueLeft: TDateValue, valueRight: TDateValue) => boolean; | ||
toggleMobileKeyboardView: () => void; | ||
onDateChange: (newDate: TDateValue, currentVariant: "desktop" | "static" | "mobile" | null, isFinish?: boolean | symbol) => void; | ||
onDateChange: (newDate: TDateValue, currentVariant: "static" | "desktop" | "mobile" | null, isFinish?: boolean | symbol) => void; | ||
}; | ||
@@ -24,3 +23,2 @@ inputProps: { | ||
rawValue: TInput; | ||
validationError: import("react").ReactNode; | ||
parsedDateValue: TDateValue; | ||
@@ -27,0 +25,0 @@ openPicker: () => false | void; |
@@ -0,1 +1,4 @@ | ||
/** | ||
* @ignore - internal component. | ||
*/ | ||
export declare const ArrowDropDownIcon: import("@material-ui/core/OverridableComponent").OverridableComponent<import("@material-ui/core").SvgIconTypeMap<{}, "svg">>; |
@@ -0,1 +1,4 @@ | ||
/** | ||
* @ignore - internal component. | ||
*/ | ||
export declare const ArrowLeftIcon: import("@material-ui/core/OverridableComponent").OverridableComponent<import("@material-ui/core").SvgIconTypeMap<{}, "svg">>; |
@@ -0,1 +1,4 @@ | ||
/** | ||
* @ignore - internal component. | ||
*/ | ||
export declare const ArrowRightIcon: import("@material-ui/core/OverridableComponent").OverridableComponent<import("@material-ui/core").SvgIconTypeMap<{}, "svg">>; |
declare const _default: import("@material-ui/core/OverridableComponent").OverridableComponent<import("@material-ui/core").SvgIconTypeMap<{}, "svg">>; | ||
/** | ||
* @ignore - internal component. | ||
*/ | ||
export default _default; |
@@ -0,1 +1,4 @@ | ||
/** | ||
* @ignore - internal component. | ||
*/ | ||
export declare const DateRangeIcon: import("@material-ui/core/OverridableComponent").OverridableComponent<import("@material-ui/core").SvgIconTypeMap<{}, "svg">>; |
@@ -0,1 +1,4 @@ | ||
/** | ||
* @ignore - internal component. | ||
*/ | ||
export declare const PenIcon: import("@material-ui/core/OverridableComponent").OverridableComponent<import("@material-ui/core").SvgIconTypeMap<{}, "svg">>; |
@@ -0,1 +1,4 @@ | ||
/** | ||
* @ignore - internal component. | ||
*/ | ||
export declare const TimeIcon: import("@material-ui/core/OverridableComponent").OverridableComponent<import("@material-ui/core").SvgIconTypeMap<{}, "svg">>; |
import * as React from 'react'; | ||
import { TextFieldProps } from '@material-ui/core/TextField'; | ||
import { ExtendMui } from '../typings/helpers'; | ||
import { ParsableDate } from '../constants/prop-types'; | ||
import { MaterialUiPickersDate } from '../typings/date'; | ||
import { TextFieldProps } from '@material-ui/core/TextField'; | ||
import { IconButtonProps } from '@material-ui/core/IconButton'; | ||
import { MuiPickersAdapter } from './hooks/useUtils'; | ||
import { InputAdornmentProps } from '@material-ui/core/InputAdornment'; | ||
export interface DateInputProps<TInputValue = ParsableDate, TDateValue = MaterialUiPickersDate> extends ExtendMui<TextFieldProps, 'onError' | 'onChange' | 'value'> { | ||
export declare type MuiTextFieldProps = TextFieldProps | Omit<TextFieldProps, 'variant'>; | ||
export interface DateInputProps<TInputValue = ParsableDate, TDateValue = MaterialUiPickersDate> { | ||
open: boolean; | ||
rawValue: TInputValue; | ||
@@ -16,22 +17,23 @@ parsedDateValue: TDateValue; | ||
readOnly?: boolean; | ||
validationError?: React.ReactNode; | ||
/** Override input component */ | ||
TextFieldComponent?: React.ComponentType<TextFieldProps>; | ||
disabled?: boolean; | ||
validationError?: boolean; | ||
label?: TextFieldProps['label']; | ||
InputProps?: TextFieldProps['InputProps']; | ||
TextFieldProps?: Partial<MuiTextFieldProps>; | ||
onBlur?: () => void; | ||
ignoreInvalidInputs?: boolean; | ||
/** | ||
* Message displaying in read-only text field when null passed | ||
* @default ' ' | ||
* Render input component. Where `props` – [TextField](https://material-ui.com/api/text-field/#textfield-api) component props | ||
* @example ```jsx | ||
* renderInput={props => <TextField {...props} />} | ||
* ```` | ||
*/ | ||
emptyInputText?: string; | ||
renderInput: (props: MuiTextFieldProps) => React.ReactElement; | ||
/** Icon displaying for open picker button */ | ||
keyboardIcon?: React.ReactNode; | ||
openPickerIcon?: React.ReactNode; | ||
/** | ||
* Custom mask. Can be used to override generate from format. (e.g. __/__/____ __:__) | ||
* Custom mask. Can be used to override generate from format. (e.g. __/__/____ __:__ or __/__/____ __:__ _M) | ||
*/ | ||
mask?: string; | ||
/** | ||
* Char string that will be replaced with number (for "_" mask will be "__/__/____") | ||
* @default '_' | ||
*/ | ||
maskChar?: string; | ||
/** | ||
*Regular expression to detect "accepted" symbols | ||
@@ -50,3 +52,3 @@ * @default /\dap/gi | ||
*/ | ||
KeyboardButtonProps?: Partial<IconButtonProps>; | ||
OpenPickerButtonProps?: Partial<IconButtonProps>; | ||
/** Custom formatter to be passed into Rifm component */ | ||
@@ -64,8 +66,9 @@ rifmFormatter?: (str: string) => string; | ||
disableMaskedInput?: boolean; | ||
/** Get aria-label text for control that opens datepicker dialog. Aria-label have to include selected date. */ | ||
/** | ||
* Get aria-label text for control that opens picker dialog. Aria-label text must include selected date. | ||
* @default (value, utils) => `Choose date, selected date is ${utils.format(utils.date(value), 'fullDate')}` | ||
*/ | ||
getOpenDialogAriaText?: (value: ParsableDate, utils: MuiPickersAdapter) => string; | ||
ignoreInvalidInputs?: boolean; | ||
open: boolean; | ||
} | ||
export declare type ExportedDateInputProps<TInputValue, TDateValue> = Omit<DateInputProps<TInputValue, TDateValue>, 'openPicker' | 'inputValue' | 'onChange' | 'inputFormat' | 'validationError' | 'rawValue' | 'forwardedRef' | 'parsedDateValue' | 'open'>; | ||
export declare type ExportedDateInputProps<TInputValue, TDateValue> = Omit<DateInputProps<TInputValue, TDateValue>, 'openPicker' | 'inputValue' | 'onChange' | 'inputFormat' | 'validationError' | 'rawValue' | 'forwardedRef' | 'parsedDateValue' | 'open' | 'TextFieldProps' | 'onBlur'>; | ||
export interface DateInputRefs { | ||
@@ -72,0 +75,0 @@ containerRef?: React.Ref<HTMLDivElement>; |
@@ -6,1 +6,2 @@ export declare const DIALOG_WIDTH = 320; | ||
export declare const DAY_MARGIN = 2; | ||
export declare const IS_TOUCH_DEVICE_MEDIA = "@media (pointer: fine)"; |
import * as PropTypes from 'prop-types'; | ||
import { MaterialUiPickersDate } from '../typings/date'; | ||
import { DatePickerProps } from '../DatePicker/DatePicker'; | ||
import { ExportedClockViewProps } from '../views/Clock/ClockView'; | ||
export declare type ParsableDate = string | number | Date | null | undefined | MaterialUiPickersDate; | ||
@@ -10,4 +8,3 @@ export declare const DomainPropTypes: { | ||
}; | ||
export declare const timePickerDefaultProps: ExportedClockViewProps; | ||
export declare const datePickerDefaultProps: DatePickerProps; | ||
export declare const dateTimePickerDefaultProps: ExportedClockViewProps & DatePickerProps; | ||
export declare const defaultMinDate: Date; | ||
export declare const defaultMaxDate: Date; |
import { WithViewsProps } from '../Picker/SharedPickerProps'; | ||
import { ExportedCalendarViewProps } from '../views/Calendar/CalendarView'; | ||
import { ValidationProps } from '../_shared/hooks/useValidation'; | ||
import { ParsableDate } from '../constants/prop-types'; | ||
import { DateValidationError } from '../_helpers/date-utils'; | ||
export declare type DatePickerView = 'year' | 'date' | 'month'; | ||
export interface DatePickerProps extends WithViewsProps<'year' | 'date' | 'month'>, ExportedCalendarViewProps { | ||
export interface BaseDatePickerProps extends WithViewsProps<'year' | 'date' | 'month'>, ValidationProps<DateValidationError, ParsableDate>, ExportedCalendarViewProps { | ||
} | ||
export declare const DatePicker: import("react").ForwardRefExoticComponent<Pick<import("react").PropsWithChildren<DatePickerProps & import("../typings/BasePicker").BasePickerProps<import("../constants/prop-types").ParsableDate, import("../typings/date").MaterialUiPickersDate> & Pick<import("../_shared/PureDateInput").DateInputProps<import("../constants/prop-types").ParsableDate, import("../typings/date").MaterialUiPickersDate>, "children" | "ref" | "label" | "slot" | "select" | "style" | "title" | "mask" | "emptyInputText" | "className" | "innerRef" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "disabled" | "error" | "fullWidth" | "focused" | "hiddenLabel" | "margin" | "required" | "size" | "variant" | "InputProps" | "inputProps" | "autoComplete" | "autoFocus" | "FormHelperTextProps" | "helperText" | "InputLabelProps" | "inputRef" | "multiline" | "name" | "rows" | "rowsMax" | "SelectProps" | "type" | "readOnly" | "TextFieldComponent" | "keyboardIcon" | "maskChar" | "acceptRegex" | "InputAdornmentProps" | "KeyboardButtonProps" | "rifmFormatter" | "disableOpenPicker" | "disableMaskedInput" | "getOpenDialogAriaText" | "ignoreInvalidInputs"> & import("../_shared/withDateAdapterProp").WithDateAdapterProps & import("../_helpers/text-field-helper").DateValidationProps & Pick<import("../wrappers/ResponsiveWrapper").ResponsiveWrapperProps, "displayStaticWrapperAs" | "okLabel" | "cancelLabel" | "clearLabel" | "todayLabel" | "clearable" | "showTodayButton" | "showTabs" | "wider" | "TransitionComponent" | "DialogProps" | "PopoverProps" | "PopperProps" | "desktopModeBreakpoint">>, "value" | "children" | "dateAdapter" | "label" | "slot" | "select" | "style" | "title" | "mask" | "inputFormat" | "emptyInputText" | "onError" | "onChange" | "className" | "innerRef" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "disabled" | "error" | "fullWidth" | "focused" | "hiddenLabel" | "margin" | "required" | "size" | "variant" | "InputProps" | "inputProps" | "autoComplete" | "autoFocus" | "FormHelperTextProps" | "helperText" | "InputLabelProps" | "inputRef" | "multiline" | "name" | "rows" | "rowsMax" | "SelectProps" | "type" | "readOnly" | "TextFieldComponent" | "keyboardIcon" | "maskChar" | "acceptRegex" | "InputAdornmentProps" | "KeyboardButtonProps" | "rifmFormatter" | "disableOpenPicker" | "disableMaskedInput" | "getOpenDialogAriaText" | "ignoreInvalidInputs" | "open" | "maxDate" | "minDate" | "disablePast" | "disableFuture" | "maxDateMessage" | "minDateMessage" | "invalidDateMessage" | "strictCompareDates" | "onClose" | "onOpen" | "orientation" | "displayStaticWrapperAs" | "onAccept" | "okLabel" | "cancelLabel" | "clearLabel" | "todayLabel" | "clearable" | "showTodayButton" | "showTabs" | "wider" | "TransitionComponent" | "DialogProps" | "PopoverProps" | "PopperProps" | "desktopModeBreakpoint" | "views" | "disableHighlightToday" | "showDaysOutsideCurrentMonth" | "leftArrowIcon" | "rightArrowIcon" | "leftArrowButtonProps" | "rightArrowButtonProps" | "leftArrowButtonText" | "rightArrowButtonText" | "getViewSwitchingButtonText" | "reduceAnimations" | "onMonthChange" | "shouldDisableDate" | "onYearChange" | "renderDay" | "allowKeyboardControl" | "loadingIndicator" | "toolbarFormat" | "toolbarTitle" | "defaultHighlight" | "autoOk" | "showToolbar" | "ToolbarComponent" | "openTo"> & import("react").RefAttributes<HTMLInputElement>>; | ||
export declare const MobileDatePicker: import("react").ForwardRefExoticComponent<Pick<import("react").PropsWithChildren<DatePickerProps & import("../typings/BasePicker").BasePickerProps<import("../constants/prop-types").ParsableDate, import("../typings/date").MaterialUiPickersDate> & Pick<import("../_shared/PureDateInput").DateInputProps<import("../constants/prop-types").ParsableDate, import("../typings/date").MaterialUiPickersDate>, "children" | "ref" | "label" | "slot" | "select" | "style" | "title" | "mask" | "emptyInputText" | "className" | "innerRef" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "disabled" | "error" | "fullWidth" | "focused" | "hiddenLabel" | "margin" | "required" | "size" | "variant" | "InputProps" | "inputProps" | "autoComplete" | "autoFocus" | "FormHelperTextProps" | "helperText" | "InputLabelProps" | "inputRef" | "multiline" | "name" | "rows" | "rowsMax" | "SelectProps" | "type" | "readOnly" | "TextFieldComponent" | "keyboardIcon" | "maskChar" | "acceptRegex" | "InputAdornmentProps" | "KeyboardButtonProps" | "rifmFormatter" | "disableOpenPicker" | "disableMaskedInput" | "getOpenDialogAriaText" | "ignoreInvalidInputs"> & import("../_shared/withDateAdapterProp").WithDateAdapterProps & import("../_helpers/text-field-helper").DateValidationProps & Pick<import("../wrappers/ResponsiveWrapper").ResponsiveWrapperProps, "displayStaticWrapperAs" | "okLabel" | "cancelLabel" | "clearLabel" | "todayLabel" | "clearable" | "showTodayButton" | "showTabs" | "wider" | "TransitionComponent" | "DialogProps" | "PopoverProps" | "PopperProps" | "desktopModeBreakpoint">>, "value" | "children" | "dateAdapter" | "label" | "slot" | "select" | "style" | "title" | "mask" | "inputFormat" | "emptyInputText" | "onError" | "onChange" | "className" | "innerRef" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "disabled" | "error" | "fullWidth" | "focused" | "hiddenLabel" | "margin" | "required" | "size" | "variant" | "InputProps" | "inputProps" | "autoComplete" | "autoFocus" | "FormHelperTextProps" | "helperText" | "InputLabelProps" | "inputRef" | "multiline" | "name" | "rows" | "rowsMax" | "SelectProps" | "type" | "readOnly" | "TextFieldComponent" | "keyboardIcon" | "maskChar" | "acceptRegex" | "InputAdornmentProps" | "KeyboardButtonProps" | "rifmFormatter" | "disableOpenPicker" | "disableMaskedInput" | "getOpenDialogAriaText" | "ignoreInvalidInputs" | "open" | "maxDate" | "minDate" | "disablePast" | "disableFuture" | "maxDateMessage" | "minDateMessage" | "invalidDateMessage" | "strictCompareDates" | "onClose" | "onOpen" | "orientation" | "displayStaticWrapperAs" | "onAccept" | "okLabel" | "cancelLabel" | "clearLabel" | "todayLabel" | "clearable" | "showTodayButton" | "showTabs" | "wider" | "TransitionComponent" | "DialogProps" | "PopoverProps" | "PopperProps" | "desktopModeBreakpoint" | "views" | "disableHighlightToday" | "showDaysOutsideCurrentMonth" | "leftArrowIcon" | "rightArrowIcon" | "leftArrowButtonProps" | "rightArrowButtonProps" | "leftArrowButtonText" | "rightArrowButtonText" | "getViewSwitchingButtonText" | "reduceAnimations" | "onMonthChange" | "shouldDisableDate" | "onYearChange" | "renderDay" | "allowKeyboardControl" | "loadingIndicator" | "toolbarFormat" | "toolbarTitle" | "defaultHighlight" | "autoOk" | "showToolbar" | "ToolbarComponent" | "openTo"> & import("react").RefAttributes<HTMLInputElement>>; | ||
export declare const DesktopDatePicker: import("react").ForwardRefExoticComponent<Pick<import("react").PropsWithChildren<DatePickerProps & import("../typings/BasePicker").BasePickerProps<import("../constants/prop-types").ParsableDate, import("../typings/date").MaterialUiPickersDate> & Pick<import("../_shared/PureDateInput").DateInputProps<import("../constants/prop-types").ParsableDate, import("../typings/date").MaterialUiPickersDate>, "children" | "ref" | "label" | "slot" | "select" | "style" | "title" | "mask" | "emptyInputText" | "className" | "innerRef" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "disabled" | "error" | "fullWidth" | "focused" | "hiddenLabel" | "margin" | "required" | "size" | "variant" | "InputProps" | "inputProps" | "autoComplete" | "autoFocus" | "FormHelperTextProps" | "helperText" | "InputLabelProps" | "inputRef" | "multiline" | "name" | "rows" | "rowsMax" | "SelectProps" | "type" | "readOnly" | "TextFieldComponent" | "keyboardIcon" | "maskChar" | "acceptRegex" | "InputAdornmentProps" | "KeyboardButtonProps" | "rifmFormatter" | "disableOpenPicker" | "disableMaskedInput" | "getOpenDialogAriaText" | "ignoreInvalidInputs"> & import("../_shared/withDateAdapterProp").WithDateAdapterProps & import("../_helpers/text-field-helper").DateValidationProps & Pick<import("../wrappers/ResponsiveWrapper").ResponsiveWrapperProps, "displayStaticWrapperAs" | "okLabel" | "cancelLabel" | "clearLabel" | "todayLabel" | "clearable" | "showTodayButton" | "showTabs" | "wider" | "TransitionComponent" | "DialogProps" | "PopoverProps" | "PopperProps" | "desktopModeBreakpoint">>, "value" | "children" | "dateAdapter" | "label" | "slot" | "select" | "style" | "title" | "mask" | "inputFormat" | "emptyInputText" | "onError" | "onChange" | "className" | "innerRef" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "disabled" | "error" | "fullWidth" | "focused" | "hiddenLabel" | "margin" | "required" | "size" | "variant" | "InputProps" | "inputProps" | "autoComplete" | "autoFocus" | "FormHelperTextProps" | "helperText" | "InputLabelProps" | "inputRef" | "multiline" | "name" | "rows" | "rowsMax" | "SelectProps" | "type" | "readOnly" | "TextFieldComponent" | "keyboardIcon" | "maskChar" | "acceptRegex" | "InputAdornmentProps" | "KeyboardButtonProps" | "rifmFormatter" | "disableOpenPicker" | "disableMaskedInput" | "getOpenDialogAriaText" | "ignoreInvalidInputs" | "open" | "maxDate" | "minDate" | "disablePast" | "disableFuture" | "maxDateMessage" | "minDateMessage" | "invalidDateMessage" | "strictCompareDates" | "onClose" | "onOpen" | "orientation" | "displayStaticWrapperAs" | "onAccept" | "okLabel" | "cancelLabel" | "clearLabel" | "todayLabel" | "clearable" | "showTodayButton" | "showTabs" | "wider" | "TransitionComponent" | "DialogProps" | "PopoverProps" | "PopperProps" | "desktopModeBreakpoint" | "views" | "disableHighlightToday" | "showDaysOutsideCurrentMonth" | "leftArrowIcon" | "rightArrowIcon" | "leftArrowButtonProps" | "rightArrowButtonProps" | "leftArrowButtonText" | "rightArrowButtonText" | "getViewSwitchingButtonText" | "reduceAnimations" | "onMonthChange" | "shouldDisableDate" | "onYearChange" | "renderDay" | "allowKeyboardControl" | "loadingIndicator" | "toolbarFormat" | "toolbarTitle" | "defaultHighlight" | "autoOk" | "showToolbar" | "ToolbarComponent" | "openTo"> & import("react").RefAttributes<HTMLInputElement>>; | ||
export declare const StaticDatePicker: import("react").ForwardRefExoticComponent<Pick<import("react").PropsWithChildren<DatePickerProps & import("../typings/BasePicker").BasePickerProps<import("../constants/prop-types").ParsableDate, import("../typings/date").MaterialUiPickersDate> & Pick<import("../_shared/PureDateInput").DateInputProps<import("../constants/prop-types").ParsableDate, import("../typings/date").MaterialUiPickersDate>, "children" | "ref" | "label" | "slot" | "select" | "style" | "title" | "mask" | "emptyInputText" | "className" | "innerRef" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "disabled" | "error" | "fullWidth" | "focused" | "hiddenLabel" | "margin" | "required" | "size" | "variant" | "InputProps" | "inputProps" | "autoComplete" | "autoFocus" | "FormHelperTextProps" | "helperText" | "InputLabelProps" | "inputRef" | "multiline" | "name" | "rows" | "rowsMax" | "SelectProps" | "type" | "readOnly" | "TextFieldComponent" | "keyboardIcon" | "maskChar" | "acceptRegex" | "InputAdornmentProps" | "KeyboardButtonProps" | "rifmFormatter" | "disableOpenPicker" | "disableMaskedInput" | "getOpenDialogAriaText" | "ignoreInvalidInputs"> & import("../_shared/withDateAdapterProp").WithDateAdapterProps & import("../_helpers/text-field-helper").DateValidationProps & Pick<import("../wrappers/ResponsiveWrapper").ResponsiveWrapperProps, "displayStaticWrapperAs" | "okLabel" | "cancelLabel" | "clearLabel" | "todayLabel" | "clearable" | "showTodayButton" | "showTabs" | "wider" | "TransitionComponent" | "DialogProps" | "PopoverProps" | "PopperProps" | "desktopModeBreakpoint">>, "value" | "children" | "dateAdapter" | "label" | "slot" | "select" | "style" | "title" | "mask" | "inputFormat" | "emptyInputText" | "onError" | "onChange" | "className" | "innerRef" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "disabled" | "error" | "fullWidth" | "focused" | "hiddenLabel" | "margin" | "required" | "size" | "variant" | "InputProps" | "inputProps" | "autoComplete" | "autoFocus" | "FormHelperTextProps" | "helperText" | "InputLabelProps" | "inputRef" | "multiline" | "name" | "rows" | "rowsMax" | "SelectProps" | "type" | "readOnly" | "TextFieldComponent" | "keyboardIcon" | "maskChar" | "acceptRegex" | "InputAdornmentProps" | "KeyboardButtonProps" | "rifmFormatter" | "disableOpenPicker" | "disableMaskedInput" | "getOpenDialogAriaText" | "ignoreInvalidInputs" | "open" | "maxDate" | "minDate" | "disablePast" | "disableFuture" | "maxDateMessage" | "minDateMessage" | "invalidDateMessage" | "strictCompareDates" | "onClose" | "onOpen" | "orientation" | "displayStaticWrapperAs" | "onAccept" | "okLabel" | "cancelLabel" | "clearLabel" | "todayLabel" | "clearable" | "showTodayButton" | "showTabs" | "wider" | "TransitionComponent" | "DialogProps" | "PopoverProps" | "PopperProps" | "desktopModeBreakpoint" | "views" | "disableHighlightToday" | "showDaysOutsideCurrentMonth" | "leftArrowIcon" | "rightArrowIcon" | "leftArrowButtonProps" | "rightArrowButtonProps" | "leftArrowButtonText" | "rightArrowButtonText" | "getViewSwitchingButtonText" | "reduceAnimations" | "onMonthChange" | "shouldDisableDate" | "onYearChange" | "renderDay" | "allowKeyboardControl" | "loadingIndicator" | "toolbarFormat" | "toolbarTitle" | "defaultHighlight" | "autoOk" | "showToolbar" | "ToolbarComponent" | "openTo"> & import("react").RefAttributes<HTMLInputElement>>; | ||
export declare const DatePicker: import("react").ForwardRefExoticComponent<BaseDatePickerProps & import("../typings/BasePicker").BasePickerProps<ParsableDate, import("../typings/date").MaterialUiPickersDate> & Pick<import("../_shared/PureDateInput").DateInputProps<ParsableDate, import("../typings/date").MaterialUiPickersDate>, "label" | "mask" | "disabled" | "InputProps" | "readOnly" | "ignoreInvalidInputs" | "renderInput" | "openPickerIcon" | "acceptRegex" | "InputAdornmentProps" | "OpenPickerButtonProps" | "rifmFormatter" | "disableOpenPicker" | "disableMaskedInput" | "getOpenDialogAriaText"> & import("../_shared/withDateAdapterProp").WithDateAdapterProps & Pick<import("../wrappers/ResponsiveWrapper").ResponsiveWrapperProps, "displayStaticWrapperAs" | "okLabel" | "cancelLabel" | "clearLabel" | "todayLabel" | "clearable" | "showTodayButton" | "showTabs" | "wider" | "TransitionComponent" | "DialogProps" | "PopoverProps" | "PopperProps" | "desktopModeMediaQuery"> & { | ||
children?: import("react").ReactNode; | ||
} & import("react").RefAttributes<HTMLInputElement>>; | ||
export declare type DatePickerProps = React.ComponentProps<typeof DatePicker>; | ||
export declare const MobileDatePicker: import("react").ForwardRefExoticComponent<BaseDatePickerProps & import("../typings/BasePicker").BasePickerProps<ParsableDate, import("../typings/date").MaterialUiPickersDate> & Pick<import("../_shared/PureDateInput").DateInputProps<ParsableDate, import("../typings/date").MaterialUiPickersDate>, "label" | "mask" | "disabled" | "InputProps" | "readOnly" | "ignoreInvalidInputs" | "renderInput" | "openPickerIcon" | "acceptRegex" | "InputAdornmentProps" | "OpenPickerButtonProps" | "rifmFormatter" | "disableOpenPicker" | "disableMaskedInput" | "getOpenDialogAriaText"> & import("../_shared/withDateAdapterProp").WithDateAdapterProps & Pick<import("../wrappers/ResponsiveWrapper").ResponsiveWrapperProps, "displayStaticWrapperAs" | "okLabel" | "cancelLabel" | "clearLabel" | "todayLabel" | "clearable" | "showTodayButton" | "showTabs" | "wider" | "TransitionComponent" | "DialogProps" | "PopoverProps" | "PopperProps" | "desktopModeMediaQuery"> & { | ||
children?: import("react").ReactNode; | ||
} & import("react").RefAttributes<HTMLInputElement>>; | ||
export declare type MobileDatePickerProps = React.ComponentProps<typeof MobileDatePicker>; | ||
export declare const DesktopDatePicker: import("react").ForwardRefExoticComponent<BaseDatePickerProps & import("../typings/BasePicker").BasePickerProps<ParsableDate, import("../typings/date").MaterialUiPickersDate> & Pick<import("../_shared/PureDateInput").DateInputProps<ParsableDate, import("../typings/date").MaterialUiPickersDate>, "label" | "mask" | "disabled" | "InputProps" | "readOnly" | "ignoreInvalidInputs" | "renderInput" | "openPickerIcon" | "acceptRegex" | "InputAdornmentProps" | "OpenPickerButtonProps" | "rifmFormatter" | "disableOpenPicker" | "disableMaskedInput" | "getOpenDialogAriaText"> & import("../_shared/withDateAdapterProp").WithDateAdapterProps & Pick<import("../wrappers/ResponsiveWrapper").ResponsiveWrapperProps, "displayStaticWrapperAs" | "okLabel" | "cancelLabel" | "clearLabel" | "todayLabel" | "clearable" | "showTodayButton" | "showTabs" | "wider" | "TransitionComponent" | "DialogProps" | "PopoverProps" | "PopperProps" | "desktopModeMediaQuery"> & { | ||
children?: import("react").ReactNode; | ||
} & import("react").RefAttributes<HTMLInputElement>>; | ||
export declare type DesktopDatePickerProps = React.ComponentProps<typeof DesktopDatePicker>; | ||
export declare const StaticDatePicker: import("react").ForwardRefExoticComponent<BaseDatePickerProps & import("../typings/BasePicker").BasePickerProps<ParsableDate, import("../typings/date").MaterialUiPickersDate> & Pick<import("../_shared/PureDateInput").DateInputProps<ParsableDate, import("../typings/date").MaterialUiPickersDate>, "label" | "mask" | "disabled" | "InputProps" | "readOnly" | "ignoreInvalidInputs" | "renderInput" | "openPickerIcon" | "acceptRegex" | "InputAdornmentProps" | "OpenPickerButtonProps" | "rifmFormatter" | "disableOpenPicker" | "disableMaskedInput" | "getOpenDialogAriaText"> & import("../_shared/withDateAdapterProp").WithDateAdapterProps & Pick<import("../wrappers/ResponsiveWrapper").ResponsiveWrapperProps, "displayStaticWrapperAs" | "okLabel" | "cancelLabel" | "clearLabel" | "todayLabel" | "clearable" | "showTodayButton" | "showTabs" | "wider" | "TransitionComponent" | "DialogProps" | "PopoverProps" | "PopperProps" | "desktopModeMediaQuery"> & { | ||
children?: import("react").ReactNode; | ||
} & import("react").RefAttributes<HTMLInputElement>>; | ||
export declare type StaticDatePickerProps = React.ComponentProps<typeof StaticDatePicker>; |
import * as React from 'react'; | ||
import { MaterialUiPickersDate } from '../typings/date'; | ||
import { BasePickerProps } from '../typings/BasePicker'; | ||
import { DateRange as DateRangeType, RangeInput } from './RangeTypes'; | ||
import { MuiPickersAdapter } from '../_shared/hooks/useUtils'; | ||
import { SomeWrapper, ExtendWrapper } from '../wrappers/Wrapper'; | ||
import { ValidationProps } from '../_shared/hooks/useValidation'; | ||
import { ExportedDateRangePickerViewProps } from './DateRangePickerView'; | ||
import { ExportedDateRangePickerInputProps } from './DateRangePickerInput'; | ||
export declare function parseRangeInputValue(now: MaterialUiPickersDate, utils: MuiPickersAdapter, { value, defaultHighlight }: BasePickerProps<RangeInput, DateRange>): DateRangeType; | ||
interface DateRangePickerProps extends ExportedDateRangePickerViewProps, ExportedDateRangePickerInputProps { | ||
import { DateRange as DateRangeType, RangeInput } from './RangeTypes'; | ||
import { DateRangeValidationError } from '../_helpers/date-utils'; | ||
export interface DateRangePickerProps extends ExportedDateRangePickerViewProps, ValidationProps<DateRangeValidationError, RangeInput>, ExportedDateRangePickerInputProps { | ||
/** | ||
@@ -22,8 +20,9 @@ * Text for start input label and toolbar placeholder | ||
} | ||
export declare function makeRangePicker<TWrapper extends SomeWrapper>(Wrapper: TWrapper): React.ForwardRefExoticComponent<React.PropsWithoutRef<DateRangePickerProps & BasePickerProps<RangeInput, DateRangeType> & Pick<import("../_shared/PureDateInput").DateInputProps<RangeInput, DateRangeType>, "children" | "ref" | "label" | "slot" | "select" | "style" | "title" | "mask" | "emptyInputText" | "className" | "innerRef" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "disabled" | "error" | "fullWidth" | "focused" | "hiddenLabel" | "margin" | "required" | "size" | "variant" | "InputProps" | "inputProps" | "autoComplete" | "autoFocus" | "FormHelperTextProps" | "helperText" | "InputLabelProps" | "inputRef" | "multiline" | "name" | "rows" | "rowsMax" | "SelectProps" | "type" | "readOnly" | "TextFieldComponent" | "keyboardIcon" | "maskChar" | "acceptRegex" | "InputAdornmentProps" | "KeyboardButtonProps" | "rifmFormatter" | "disableOpenPicker" | "disableMaskedInput" | "getOpenDialogAriaText" | "ignoreInvalidInputs"> & import("../_shared/withDateAdapterProp").WithDateAdapterProps & import("../_helpers/text-field-helper").DateValidationProps & ExtendWrapper<TWrapper>> & React.RefAttributes<HTMLDivElement>>; | ||
export declare const useDateRangeValidation: (value: RangeInput, props: DateRangePickerProps) => DateRangeValidationError; | ||
export declare function makeRangePicker<TWrapper extends SomeWrapper>(Wrapper: TWrapper): React.ForwardRefExoticComponent<React.PropsWithoutRef<DateRangePickerProps & Pick<import("../Picker/SharedPickerProps").AllSharedPickerProps<RangeInput, DateRangeType>, "value" | "dateAdapter" | "label" | "mask" | "className" | "onChange" | "disabled" | "InputProps" | "inputFormat" | "open" | "readOnly" | "ignoreInvalidInputs" | "openPickerIcon" | "acceptRegex" | "InputAdornmentProps" | "OpenPickerButtonProps" | "rifmFormatter" | "disableOpenPicker" | "disableMaskedInput" | "getOpenDialogAriaText" | "orientation" | "toolbarTitle" | "toolbarFormat" | "onClose" | "onAccept" | "autoOk" | "defaultHighlight" | "onOpen" | "showToolbar" | "ToolbarComponent"> & ExportedDateRangePickerInputProps & ExtendWrapper<TWrapper>> & React.RefAttributes<HTMLDivElement>>; | ||
export declare type DateRange = DateRangeType; | ||
export declare const DateRangePicker: React.ForwardRefExoticComponent<Pick<DateRangePickerProps & BasePickerProps<RangeInput, DateRangeType> & Pick<import("../_shared/PureDateInput").DateInputProps<RangeInput, DateRangeType>, "children" | "ref" | "label" | "slot" | "select" | "style" | "title" | "mask" | "emptyInputText" | "className" | "innerRef" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "disabled" | "error" | "fullWidth" | "focused" | "hiddenLabel" | "margin" | "required" | "size" | "variant" | "InputProps" | "inputProps" | "autoComplete" | "autoFocus" | "FormHelperTextProps" | "helperText" | "InputLabelProps" | "inputRef" | "multiline" | "name" | "rows" | "rowsMax" | "SelectProps" | "type" | "readOnly" | "TextFieldComponent" | "keyboardIcon" | "maskChar" | "acceptRegex" | "InputAdornmentProps" | "KeyboardButtonProps" | "rifmFormatter" | "disableOpenPicker" | "disableMaskedInput" | "getOpenDialogAriaText" | "ignoreInvalidInputs"> & import("../_shared/withDateAdapterProp").WithDateAdapterProps & import("../_helpers/text-field-helper").DateValidationProps & Pick<import("../wrappers/ResponsiveWrapper").ResponsiveWrapperProps, "displayStaticWrapperAs" | "okLabel" | "cancelLabel" | "clearLabel" | "todayLabel" | "clearable" | "showTodayButton" | "showTabs" | "wider" | "TransitionComponent" | "DialogProps" | "PopoverProps" | "PopperProps" | "desktopModeBreakpoint">, "value" | "children" | "dateAdapter" | "label" | "slot" | "select" | "style" | "title" | "mask" | "inputFormat" | "emptyInputText" | "onError" | "onChange" | "className" | "innerRef" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "disabled" | "error" | "fullWidth" | "focused" | "hiddenLabel" | "margin" | "required" | "size" | "variant" | "InputProps" | "inputProps" | "autoComplete" | "autoFocus" | "FormHelperTextProps" | "helperText" | "InputLabelProps" | "inputRef" | "multiline" | "name" | "rows" | "rowsMax" | "SelectProps" | "type" | "readOnly" | "TextFieldComponent" | "keyboardIcon" | "maskChar" | "acceptRegex" | "InputAdornmentProps" | "KeyboardButtonProps" | "rifmFormatter" | "disableOpenPicker" | "disableMaskedInput" | "getOpenDialogAriaText" | "ignoreInvalidInputs" | "open" | "maxDate" | "minDate" | "disablePast" | "disableFuture" | "maxDateMessage" | "minDateMessage" | "invalidDateMessage" | "strictCompareDates" | "onClose" | "onOpen" | "orientation" | "displayStaticWrapperAs" | "onAccept" | "okLabel" | "cancelLabel" | "clearLabel" | "todayLabel" | "clearable" | "showTodayButton" | "showTabs" | "wider" | "TransitionComponent" | "DialogProps" | "PopoverProps" | "PopperProps" | "desktopModeBreakpoint" | "disableHighlightToday" | "showDaysOutsideCurrentMonth" | "leftArrowIcon" | "rightArrowIcon" | "leftArrowButtonProps" | "rightArrowButtonProps" | "leftArrowButtonText" | "rightArrowButtonText" | "getViewSwitchingButtonText" | "reduceAnimations" | "onMonthChange" | "shouldDisableDate" | "renderDay" | "allowKeyboardControl" | "loadingIndicator" | "toolbarFormat" | "toolbarTitle" | "defaultHighlight" | "autoOk" | "showToolbar" | "ToolbarComponent" | "toText" | "startText" | "endText" | "calendars" | "disableAutoMonthSwitching"> & React.RefAttributes<HTMLDivElement>>; | ||
export declare const DesktopDateRangePicker: React.ForwardRefExoticComponent<Pick<DateRangePickerProps & BasePickerProps<RangeInput, DateRangeType> & Pick<import("../_shared/PureDateInput").DateInputProps<RangeInput, DateRangeType>, "children" | "ref" | "label" | "slot" | "select" | "style" | "title" | "mask" | "emptyInputText" | "className" | "innerRef" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "disabled" | "error" | "fullWidth" | "focused" | "hiddenLabel" | "margin" | "required" | "size" | "variant" | "InputProps" | "inputProps" | "autoComplete" | "autoFocus" | "FormHelperTextProps" | "helperText" | "InputLabelProps" | "inputRef" | "multiline" | "name" | "rows" | "rowsMax" | "SelectProps" | "type" | "readOnly" | "TextFieldComponent" | "keyboardIcon" | "maskChar" | "acceptRegex" | "InputAdornmentProps" | "KeyboardButtonProps" | "rifmFormatter" | "disableOpenPicker" | "disableMaskedInput" | "getOpenDialogAriaText" | "ignoreInvalidInputs"> & import("../_shared/withDateAdapterProp").WithDateAdapterProps & import("../_helpers/text-field-helper").DateValidationProps & Pick<import("../wrappers/ResponsiveWrapper").ResponsiveWrapperProps, "displayStaticWrapperAs" | "okLabel" | "cancelLabel" | "clearLabel" | "todayLabel" | "clearable" | "showTodayButton" | "showTabs" | "wider" | "TransitionComponent" | "DialogProps" | "PopoverProps" | "PopperProps" | "desktopModeBreakpoint">, "value" | "children" | "dateAdapter" | "label" | "slot" | "select" | "style" | "title" | "mask" | "inputFormat" | "emptyInputText" | "onError" | "onChange" | "className" | "innerRef" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "disabled" | "error" | "fullWidth" | "focused" | "hiddenLabel" | "margin" | "required" | "size" | "variant" | "InputProps" | "inputProps" | "autoComplete" | "autoFocus" | "FormHelperTextProps" | "helperText" | "InputLabelProps" | "inputRef" | "multiline" | "name" | "rows" | "rowsMax" | "SelectProps" | "type" | "readOnly" | "TextFieldComponent" | "keyboardIcon" | "maskChar" | "acceptRegex" | "InputAdornmentProps" | "KeyboardButtonProps" | "rifmFormatter" | "disableOpenPicker" | "disableMaskedInput" | "getOpenDialogAriaText" | "ignoreInvalidInputs" | "open" | "maxDate" | "minDate" | "disablePast" | "disableFuture" | "maxDateMessage" | "minDateMessage" | "invalidDateMessage" | "strictCompareDates" | "onClose" | "onOpen" | "orientation" | "displayStaticWrapperAs" | "onAccept" | "okLabel" | "cancelLabel" | "clearLabel" | "todayLabel" | "clearable" | "showTodayButton" | "showTabs" | "wider" | "TransitionComponent" | "DialogProps" | "PopoverProps" | "PopperProps" | "desktopModeBreakpoint" | "disableHighlightToday" | "showDaysOutsideCurrentMonth" | "leftArrowIcon" | "rightArrowIcon" | "leftArrowButtonProps" | "rightArrowButtonProps" | "leftArrowButtonText" | "rightArrowButtonText" | "getViewSwitchingButtonText" | "reduceAnimations" | "onMonthChange" | "shouldDisableDate" | "renderDay" | "allowKeyboardControl" | "loadingIndicator" | "toolbarFormat" | "toolbarTitle" | "defaultHighlight" | "autoOk" | "showToolbar" | "ToolbarComponent" | "toText" | "startText" | "endText" | "calendars" | "disableAutoMonthSwitching"> & React.RefAttributes<HTMLDivElement>>; | ||
export declare const MobileDateRangePicker: React.ForwardRefExoticComponent<Pick<DateRangePickerProps & BasePickerProps<RangeInput, DateRangeType> & Pick<import("../_shared/PureDateInput").DateInputProps<RangeInput, DateRangeType>, "children" | "ref" | "label" | "slot" | "select" | "style" | "title" | "mask" | "emptyInputText" | "className" | "innerRef" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "disabled" | "error" | "fullWidth" | "focused" | "hiddenLabel" | "margin" | "required" | "size" | "variant" | "InputProps" | "inputProps" | "autoComplete" | "autoFocus" | "FormHelperTextProps" | "helperText" | "InputLabelProps" | "inputRef" | "multiline" | "name" | "rows" | "rowsMax" | "SelectProps" | "type" | "readOnly" | "TextFieldComponent" | "keyboardIcon" | "maskChar" | "acceptRegex" | "InputAdornmentProps" | "KeyboardButtonProps" | "rifmFormatter" | "disableOpenPicker" | "disableMaskedInput" | "getOpenDialogAriaText" | "ignoreInvalidInputs"> & import("../_shared/withDateAdapterProp").WithDateAdapterProps & import("../_helpers/text-field-helper").DateValidationProps & Pick<import("../wrappers/ResponsiveWrapper").ResponsiveWrapperProps, "displayStaticWrapperAs" | "okLabel" | "cancelLabel" | "clearLabel" | "todayLabel" | "clearable" | "showTodayButton" | "showTabs" | "wider" | "TransitionComponent" | "DialogProps" | "PopoverProps" | "PopperProps" | "desktopModeBreakpoint">, "value" | "children" | "dateAdapter" | "label" | "slot" | "select" | "style" | "title" | "mask" | "inputFormat" | "emptyInputText" | "onError" | "onChange" | "className" | "innerRef" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "disabled" | "error" | "fullWidth" | "focused" | "hiddenLabel" | "margin" | "required" | "size" | "variant" | "InputProps" | "inputProps" | "autoComplete" | "autoFocus" | "FormHelperTextProps" | "helperText" | "InputLabelProps" | "inputRef" | "multiline" | "name" | "rows" | "rowsMax" | "SelectProps" | "type" | "readOnly" | "TextFieldComponent" | "keyboardIcon" | "maskChar" | "acceptRegex" | "InputAdornmentProps" | "KeyboardButtonProps" | "rifmFormatter" | "disableOpenPicker" | "disableMaskedInput" | "getOpenDialogAriaText" | "ignoreInvalidInputs" | "open" | "maxDate" | "minDate" | "disablePast" | "disableFuture" | "maxDateMessage" | "minDateMessage" | "invalidDateMessage" | "strictCompareDates" | "onClose" | "onOpen" | "orientation" | "displayStaticWrapperAs" | "onAccept" | "okLabel" | "cancelLabel" | "clearLabel" | "todayLabel" | "clearable" | "showTodayButton" | "showTabs" | "wider" | "TransitionComponent" | "DialogProps" | "PopoverProps" | "PopperProps" | "desktopModeBreakpoint" | "disableHighlightToday" | "showDaysOutsideCurrentMonth" | "leftArrowIcon" | "rightArrowIcon" | "leftArrowButtonProps" | "rightArrowButtonProps" | "leftArrowButtonText" | "rightArrowButtonText" | "getViewSwitchingButtonText" | "reduceAnimations" | "onMonthChange" | "shouldDisableDate" | "renderDay" | "allowKeyboardControl" | "loadingIndicator" | "toolbarFormat" | "toolbarTitle" | "defaultHighlight" | "autoOk" | "showToolbar" | "ToolbarComponent" | "toText" | "startText" | "endText" | "calendars" | "disableAutoMonthSwitching"> & React.RefAttributes<HTMLDivElement>>; | ||
export declare const StaticDateRangePicker: React.ForwardRefExoticComponent<Pick<DateRangePickerProps & BasePickerProps<RangeInput, DateRangeType> & Pick<import("../_shared/PureDateInput").DateInputProps<RangeInput, DateRangeType>, "children" | "ref" | "label" | "slot" | "select" | "style" | "title" | "mask" | "emptyInputText" | "className" | "innerRef" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "disabled" | "error" | "fullWidth" | "focused" | "hiddenLabel" | "margin" | "required" | "size" | "variant" | "InputProps" | "inputProps" | "autoComplete" | "autoFocus" | "FormHelperTextProps" | "helperText" | "InputLabelProps" | "inputRef" | "multiline" | "name" | "rows" | "rowsMax" | "SelectProps" | "type" | "readOnly" | "TextFieldComponent" | "keyboardIcon" | "maskChar" | "acceptRegex" | "InputAdornmentProps" | "KeyboardButtonProps" | "rifmFormatter" | "disableOpenPicker" | "disableMaskedInput" | "getOpenDialogAriaText" | "ignoreInvalidInputs"> & import("../_shared/withDateAdapterProp").WithDateAdapterProps & import("../_helpers/text-field-helper").DateValidationProps & import("../wrappers/StaticWrapper").StaticWrapperProps, "value" | "children" | "dateAdapter" | "label" | "slot" | "select" | "style" | "title" | "mask" | "inputFormat" | "emptyInputText" | "onError" | "onChange" | "className" | "innerRef" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "disabled" | "error" | "fullWidth" | "focused" | "hiddenLabel" | "margin" | "required" | "size" | "variant" | "InputProps" | "inputProps" | "autoComplete" | "autoFocus" | "FormHelperTextProps" | "helperText" | "InputLabelProps" | "inputRef" | "multiline" | "name" | "rows" | "rowsMax" | "SelectProps" | "type" | "readOnly" | "TextFieldComponent" | "keyboardIcon" | "maskChar" | "acceptRegex" | "InputAdornmentProps" | "KeyboardButtonProps" | "rifmFormatter" | "disableOpenPicker" | "disableMaskedInput" | "getOpenDialogAriaText" | "ignoreInvalidInputs" | "open" | "maxDate" | "minDate" | "disablePast" | "disableFuture" | "maxDateMessage" | "minDateMessage" | "invalidDateMessage" | "strictCompareDates" | "onClose" | "onOpen" | "orientation" | "displayStaticWrapperAs" | "onAccept" | "disableHighlightToday" | "showDaysOutsideCurrentMonth" | "leftArrowIcon" | "rightArrowIcon" | "leftArrowButtonProps" | "rightArrowButtonProps" | "leftArrowButtonText" | "rightArrowButtonText" | "getViewSwitchingButtonText" | "reduceAnimations" | "onMonthChange" | "shouldDisableDate" | "renderDay" | "allowKeyboardControl" | "loadingIndicator" | "toolbarFormat" | "toolbarTitle" | "defaultHighlight" | "autoOk" | "showToolbar" | "ToolbarComponent" | "toText" | "startText" | "endText" | "calendars" | "disableAutoMonthSwitching"> & React.RefAttributes<HTMLDivElement>>; | ||
export {}; | ||
export declare const DateRangePicker: React.ForwardRefExoticComponent<DateRangePickerProps & Pick<import("../Picker/SharedPickerProps").AllSharedPickerProps<RangeInput, DateRangeType>, "value" | "dateAdapter" | "label" | "mask" | "className" | "onChange" | "disabled" | "InputProps" | "inputFormat" | "open" | "readOnly" | "ignoreInvalidInputs" | "openPickerIcon" | "acceptRegex" | "InputAdornmentProps" | "OpenPickerButtonProps" | "rifmFormatter" | "disableOpenPicker" | "disableMaskedInput" | "getOpenDialogAriaText" | "orientation" | "toolbarTitle" | "toolbarFormat" | "onClose" | "onAccept" | "autoOk" | "defaultHighlight" | "onOpen" | "showToolbar" | "ToolbarComponent"> & ExportedDateRangePickerInputProps & Pick<import("../wrappers/ResponsiveWrapper").ResponsiveWrapperProps, "displayStaticWrapperAs" | "okLabel" | "cancelLabel" | "clearLabel" | "todayLabel" | "clearable" | "showTodayButton" | "showTabs" | "wider" | "TransitionComponent" | "DialogProps" | "PopoverProps" | "PopperProps" | "desktopModeMediaQuery"> & React.RefAttributes<HTMLDivElement>>; | ||
export declare const DesktopDateRangePicker: React.ForwardRefExoticComponent<DateRangePickerProps & Pick<import("../Picker/SharedPickerProps").AllSharedPickerProps<RangeInput, DateRangeType>, "value" | "dateAdapter" | "label" | "mask" | "className" | "onChange" | "disabled" | "InputProps" | "inputFormat" | "open" | "readOnly" | "ignoreInvalidInputs" | "openPickerIcon" | "acceptRegex" | "InputAdornmentProps" | "OpenPickerButtonProps" | "rifmFormatter" | "disableOpenPicker" | "disableMaskedInput" | "getOpenDialogAriaText" | "orientation" | "toolbarTitle" | "toolbarFormat" | "onClose" | "onAccept" | "autoOk" | "defaultHighlight" | "onOpen" | "showToolbar" | "ToolbarComponent"> & ExportedDateRangePickerInputProps & Pick<import("../wrappers/ResponsiveWrapper").ResponsiveWrapperProps, "displayStaticWrapperAs" | "okLabel" | "cancelLabel" | "clearLabel" | "todayLabel" | "clearable" | "showTodayButton" | "showTabs" | "wider" | "TransitionComponent" | "DialogProps" | "PopoverProps" | "PopperProps" | "desktopModeMediaQuery"> & React.RefAttributes<HTMLDivElement>>; | ||
export declare const MobileDateRangePicker: React.ForwardRefExoticComponent<DateRangePickerProps & Pick<import("../Picker/SharedPickerProps").AllSharedPickerProps<RangeInput, DateRangeType>, "value" | "dateAdapter" | "label" | "mask" | "className" | "onChange" | "disabled" | "InputProps" | "inputFormat" | "open" | "readOnly" | "ignoreInvalidInputs" | "openPickerIcon" | "acceptRegex" | "InputAdornmentProps" | "OpenPickerButtonProps" | "rifmFormatter" | "disableOpenPicker" | "disableMaskedInput" | "getOpenDialogAriaText" | "orientation" | "toolbarTitle" | "toolbarFormat" | "onClose" | "onAccept" | "autoOk" | "defaultHighlight" | "onOpen" | "showToolbar" | "ToolbarComponent"> & ExportedDateRangePickerInputProps & Pick<import("../wrappers/ResponsiveWrapper").ResponsiveWrapperProps, "displayStaticWrapperAs" | "okLabel" | "cancelLabel" | "clearLabel" | "todayLabel" | "clearable" | "showTodayButton" | "showTabs" | "wider" | "TransitionComponent" | "DialogProps" | "PopoverProps" | "PopperProps" | "desktopModeMediaQuery"> & React.RefAttributes<HTMLDivElement>>; | ||
export declare const StaticDateRangePicker: React.ForwardRefExoticComponent<DateRangePickerProps & Pick<import("../Picker/SharedPickerProps").AllSharedPickerProps<RangeInput, DateRangeType>, "value" | "dateAdapter" | "label" | "mask" | "className" | "onChange" | "disabled" | "InputProps" | "inputFormat" | "open" | "readOnly" | "ignoreInvalidInputs" | "openPickerIcon" | "acceptRegex" | "InputAdornmentProps" | "OpenPickerButtonProps" | "rifmFormatter" | "disableOpenPicker" | "disableMaskedInput" | "getOpenDialogAriaText" | "orientation" | "toolbarTitle" | "toolbarFormat" | "onClose" | "onAccept" | "autoOk" | "defaultHighlight" | "onOpen" | "showToolbar" | "ToolbarComponent"> & ExportedDateRangePickerInputProps & import("../wrappers/StaticWrapper").StaticWrapperProps & React.RefAttributes<HTMLDivElement>>; | ||
export { DateRangeDelimiter } from './DateRangeDelimiter'; |
import * as React from 'react'; | ||
import { RangeInput, DateRange } from './RangeTypes'; | ||
import { DateInputProps } from '../_shared/PureDateInput'; | ||
import { CurrentlySelectingRangeEndProps } from './RangeTypes'; | ||
import { DateRangeValidationError } from '../_helpers/date-utils'; | ||
import { DateInputProps, MuiTextFieldProps } from '../_shared/PureDateInput'; | ||
export declare const useStyles: (props?: any) => Record<"rangeInputsContainer" | "toLabelDelimiter", string>; | ||
export interface ExportedDateRangePickerInputProps { | ||
toText?: React.ReactNode; | ||
/** | ||
* Render input component for date range. Where `props` – [TextField](https://material-ui.com/api/text-field/#textfield-api) component props | ||
* @example ```jsx | ||
* <DateRangePicker | ||
* renderInput={(startProps, endProps) => ( | ||
<> | ||
<TextField {...startProps} /> | ||
<Typography> to <Typography> | ||
<TextField {...endProps} /> | ||
</>; | ||
)} | ||
/> | ||
* ```` | ||
*/ | ||
renderInput: (startProps: MuiTextFieldProps, endProps: MuiTextFieldProps) => React.ReactElement; | ||
} | ||
export interface DateRangeInputProps extends ExportedDateRangePickerInputProps, CurrentlySelectingRangeEndProps, Omit<DateInputProps<RangeInput, DateRange>, 'forwardedRef'> { | ||
export interface DateRangeInputProps extends ExportedDateRangePickerInputProps, CurrentlySelectingRangeEndProps, Omit<DateInputProps<RangeInput, DateRange>, 'validationError' | 'renderInput' | 'forwardedRef'> { | ||
startText: React.ReactNode; | ||
@@ -14,3 +29,4 @@ endText: React.ReactNode; | ||
containerRef?: React.Ref<HTMLDivElement>; | ||
validationError: DateRangeValidationError; | ||
} | ||
export declare const DateRangePickerInput: React.FC<DateRangeInputProps>; |
import * as React from 'react'; | ||
import { BasePickerProps } from '../typings/BasePicker'; | ||
import { SharedPickerProps } from '../Picker/SharedPickerProps'; | ||
import { DateRangeInputProps } from './DateRangePickerInput'; | ||
import { RangeInput, DateRange, CurrentlySelectingRangeEndProps } from './RangeTypes'; | ||
@@ -15,3 +16,3 @@ import { ExportedCalendarViewProps } from '../views/Calendar/CalendarView'; | ||
} | ||
interface DateRangePickerViewProps extends ExportedDateRangePickerViewProps, CurrentlySelectingRangeEndProps, SharedPickerProps<RangeInput, DateRange> { | ||
interface DateRangePickerViewProps extends ExportedDateRangePickerViewProps, CurrentlySelectingRangeEndProps, SharedPickerProps<RangeInput, DateRange, DateRangeInputProps> { | ||
open: boolean; | ||
@@ -18,0 +19,0 @@ startText: React.ReactNode; |
import { ParsableDate } from '../constants/prop-types'; | ||
import { MaterialUiPickersDate } from '../typings/date'; | ||
import { AllSharedPickerProps } from '../Picker/SharedPickerProps'; | ||
import { ExportedDateRangePickerInputProps } from './DateRangePickerInput'; | ||
export declare type RangeInput = [ParsableDate, ParsableDate]; | ||
export declare type DateRange = [MaterialUiPickersDate, MaterialUiPickersDate]; | ||
export declare type AllSharedDateRangePickerProps = Omit<AllSharedPickerProps<RangeInput, DateRange>, 'renderInput'> & ExportedDateRangePickerInputProps; | ||
export interface CurrentlySelectingRangeEndProps { | ||
@@ -6,0 +9,0 @@ currentlySelectingRangeEnd: 'start' | 'end'; |
import { ExportedClockViewProps } from '../views/Clock/ClockView'; | ||
import { ExportedCalendarViewProps } from '../views/Calendar/CalendarView'; | ||
import { WithViewsProps } from '../Picker/SharedPickerProps'; | ||
import { DateAndTimeValidationError } from './date-time-utils'; | ||
import { ValidationProps } from '../_shared/hooks/useValidation'; | ||
import { ParsableDate } from '../constants/prop-types'; | ||
export declare type DateTimePickerView = 'year' | 'date' | 'month' | 'hours' | 'minutes' | 'seconds'; | ||
export interface DateTimePickerProps extends WithViewsProps<'year' | 'date' | 'month' | 'hours' | 'minutes'>, ExportedClockViewProps, ExportedCalendarViewProps { | ||
export interface DateTimePickerProps extends WithViewsProps<'year' | 'date' | 'month' | 'hours' | 'minutes'>, ValidationProps<DateAndTimeValidationError, ParsableDate>, ExportedClockViewProps, ExportedCalendarViewProps { | ||
/** To show tabs */ | ||
@@ -20,5 +22,13 @@ hideTabs?: boolean; | ||
} | ||
export declare const DateTimePicker: import("react").ForwardRefExoticComponent<Pick<import("react").PropsWithChildren<DateTimePickerProps & import("../typings/BasePicker").BasePickerProps<ParsableDate, import("../typings/date").MaterialUiPickersDate> & Pick<import("../_shared/PureDateInput").DateInputProps<ParsableDate, import("../typings/date").MaterialUiPickersDate>, "children" | "ref" | "label" | "slot" | "select" | "style" | "title" | "mask" | "emptyInputText" | "className" | "innerRef" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "disabled" | "error" | "fullWidth" | "focused" | "hiddenLabel" | "margin" | "required" | "size" | "variant" | "InputProps" | "inputProps" | "autoComplete" | "autoFocus" | "FormHelperTextProps" | "helperText" | "InputLabelProps" | "inputRef" | "multiline" | "name" | "rows" | "rowsMax" | "SelectProps" | "type" | "readOnly" | "TextFieldComponent" | "keyboardIcon" | "maskChar" | "acceptRegex" | "InputAdornmentProps" | "KeyboardButtonProps" | "rifmFormatter" | "disableOpenPicker" | "disableMaskedInput" | "getOpenDialogAriaText" | "ignoreInvalidInputs"> & import("../_shared/withDateAdapterProp").WithDateAdapterProps & import("../_helpers/text-field-helper").DateValidationProps & Pick<import("../wrappers/ResponsiveWrapper").ResponsiveWrapperProps, "displayStaticWrapperAs" | "okLabel" | "cancelLabel" | "clearLabel" | "todayLabel" | "clearable" | "showTodayButton" | "showTabs" | "wider" | "TransitionComponent" | "DialogProps" | "PopoverProps" | "PopperProps" | "desktopModeBreakpoint">>, "value" | "children" | "dateAdapter" | "label" | "slot" | "select" | "style" | "title" | "mask" | "inputFormat" | "emptyInputText" | "onError" | "onChange" | "className" | "innerRef" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "disabled" | "error" | "fullWidth" | "focused" | "hiddenLabel" | "margin" | "required" | "size" | "variant" | "InputProps" | "inputProps" | "autoComplete" | "autoFocus" | "FormHelperTextProps" | "helperText" | "InputLabelProps" | "inputRef" | "multiline" | "name" | "rows" | "rowsMax" | "SelectProps" | "type" | "readOnly" | "TextFieldComponent" | "keyboardIcon" | "maskChar" | "acceptRegex" | "InputAdornmentProps" | "KeyboardButtonProps" | "rifmFormatter" | "disableOpenPicker" | "disableMaskedInput" | "getOpenDialogAriaText" | "ignoreInvalidInputs" | "open" | "maxDate" | "minDate" | "disablePast" | "disableFuture" | "maxDateMessage" | "minDateMessage" | "invalidDateMessage" | "strictCompareDates" | "onClose" | "onOpen" | "orientation" | "displayStaticWrapperAs" | "onAccept" | "okLabel" | "cancelLabel" | "clearLabel" | "todayLabel" | "clearable" | "showTodayButton" | "showTabs" | "wider" | "TransitionComponent" | "DialogProps" | "PopoverProps" | "PopperProps" | "desktopModeBreakpoint" | "dateRangeIcon" | "timeIcon" | "views" | "disableHighlightToday" | "showDaysOutsideCurrentMonth" | "leftArrowIcon" | "rightArrowIcon" | "leftArrowButtonProps" | "rightArrowButtonProps" | "leftArrowButtonText" | "rightArrowButtonText" | "getViewSwitchingButtonText" | "reduceAnimations" | "onMonthChange" | "shouldDisableDate" | "onYearChange" | "renderDay" | "allowKeyboardControl" | "loadingIndicator" | "ampm" | "hideTabs" | "toolbarFormat" | "toolbarTitle" | "ampmInClock" | "minutesStep" | "minTime" | "maxTime" | "shouldDisableTime" | "disableTimeValidationIgnoreDatePart" | "defaultHighlight" | "autoOk" | "showToolbar" | "ToolbarComponent" | "openTo" | "minDateTime" | "maxDateTime"> & import("react").RefAttributes<HTMLInputElement>>; | ||
export declare const DesktopDateTimePicker: import("react").ForwardRefExoticComponent<Pick<import("react").PropsWithChildren<DateTimePickerProps & import("../typings/BasePicker").BasePickerProps<ParsableDate, import("../typings/date").MaterialUiPickersDate> & Pick<import("../_shared/PureDateInput").DateInputProps<ParsableDate, import("../typings/date").MaterialUiPickersDate>, "children" | "ref" | "label" | "slot" | "select" | "style" | "title" | "mask" | "emptyInputText" | "className" | "innerRef" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "disabled" | "error" | "fullWidth" | "focused" | "hiddenLabel" | "margin" | "required" | "size" | "variant" | "InputProps" | "inputProps" | "autoComplete" | "autoFocus" | "FormHelperTextProps" | "helperText" | "InputLabelProps" | "inputRef" | "multiline" | "name" | "rows" | "rowsMax" | "SelectProps" | "type" | "readOnly" | "TextFieldComponent" | "keyboardIcon" | "maskChar" | "acceptRegex" | "InputAdornmentProps" | "KeyboardButtonProps" | "rifmFormatter" | "disableOpenPicker" | "disableMaskedInput" | "getOpenDialogAriaText" | "ignoreInvalidInputs"> & import("../_shared/withDateAdapterProp").WithDateAdapterProps & import("../_helpers/text-field-helper").DateValidationProps & Pick<import("../wrappers/ResponsiveWrapper").ResponsiveWrapperProps, "displayStaticWrapperAs" | "okLabel" | "cancelLabel" | "clearLabel" | "todayLabel" | "clearable" | "showTodayButton" | "showTabs" | "wider" | "TransitionComponent" | "DialogProps" | "PopoverProps" | "PopperProps" | "desktopModeBreakpoint">>, "value" | "children" | "dateAdapter" | "label" | "slot" | "select" | "style" | "title" | "mask" | "inputFormat" | "emptyInputText" | "onError" | "onChange" | "className" | "innerRef" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "disabled" | "error" | "fullWidth" | "focused" | "hiddenLabel" | "margin" | "required" | "size" | "variant" | "InputProps" | "inputProps" | "autoComplete" | "autoFocus" | "FormHelperTextProps" | "helperText" | "InputLabelProps" | "inputRef" | "multiline" | "name" | "rows" | "rowsMax" | "SelectProps" | "type" | "readOnly" | "TextFieldComponent" | "keyboardIcon" | "maskChar" | "acceptRegex" | "InputAdornmentProps" | "KeyboardButtonProps" | "rifmFormatter" | "disableOpenPicker" | "disableMaskedInput" | "getOpenDialogAriaText" | "ignoreInvalidInputs" | "open" | "maxDate" | "minDate" | "disablePast" | "disableFuture" | "maxDateMessage" | "minDateMessage" | "invalidDateMessage" | "strictCompareDates" | "onClose" | "onOpen" | "orientation" | "displayStaticWrapperAs" | "onAccept" | "okLabel" | "cancelLabel" | "clearLabel" | "todayLabel" | "clearable" | "showTodayButton" | "showTabs" | "wider" | "TransitionComponent" | "DialogProps" | "PopoverProps" | "PopperProps" | "desktopModeBreakpoint" | "dateRangeIcon" | "timeIcon" | "views" | "disableHighlightToday" | "showDaysOutsideCurrentMonth" | "leftArrowIcon" | "rightArrowIcon" | "leftArrowButtonProps" | "rightArrowButtonProps" | "leftArrowButtonText" | "rightArrowButtonText" | "getViewSwitchingButtonText" | "reduceAnimations" | "onMonthChange" | "shouldDisableDate" | "onYearChange" | "renderDay" | "allowKeyboardControl" | "loadingIndicator" | "ampm" | "hideTabs" | "toolbarFormat" | "toolbarTitle" | "ampmInClock" | "minutesStep" | "minTime" | "maxTime" | "shouldDisableTime" | "disableTimeValidationIgnoreDatePart" | "defaultHighlight" | "autoOk" | "showToolbar" | "ToolbarComponent" | "openTo" | "minDateTime" | "maxDateTime"> & import("react").RefAttributes<HTMLInputElement>>; | ||
export declare const MobileDateTimePicker: import("react").ForwardRefExoticComponent<Pick<import("react").PropsWithChildren<DateTimePickerProps & import("../typings/BasePicker").BasePickerProps<ParsableDate, import("../typings/date").MaterialUiPickersDate> & Pick<import("../_shared/PureDateInput").DateInputProps<ParsableDate, import("../typings/date").MaterialUiPickersDate>, "children" | "ref" | "label" | "slot" | "select" | "style" | "title" | "mask" | "emptyInputText" | "className" | "innerRef" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "disabled" | "error" | "fullWidth" | "focused" | "hiddenLabel" | "margin" | "required" | "size" | "variant" | "InputProps" | "inputProps" | "autoComplete" | "autoFocus" | "FormHelperTextProps" | "helperText" | "InputLabelProps" | "inputRef" | "multiline" | "name" | "rows" | "rowsMax" | "SelectProps" | "type" | "readOnly" | "TextFieldComponent" | "keyboardIcon" | "maskChar" | "acceptRegex" | "InputAdornmentProps" | "KeyboardButtonProps" | "rifmFormatter" | "disableOpenPicker" | "disableMaskedInput" | "getOpenDialogAriaText" | "ignoreInvalidInputs"> & import("../_shared/withDateAdapterProp").WithDateAdapterProps & import("../_helpers/text-field-helper").DateValidationProps & Pick<import("../wrappers/ResponsiveWrapper").ResponsiveWrapperProps, "displayStaticWrapperAs" | "okLabel" | "cancelLabel" | "clearLabel" | "todayLabel" | "clearable" | "showTodayButton" | "showTabs" | "wider" | "TransitionComponent" | "DialogProps" | "PopoverProps" | "PopperProps" | "desktopModeBreakpoint">>, "value" | "children" | "dateAdapter" | "label" | "slot" | "select" | "style" | "title" | "mask" | "inputFormat" | "emptyInputText" | "onError" | "onChange" | "className" | "innerRef" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "disabled" | "error" | "fullWidth" | "focused" | "hiddenLabel" | "margin" | "required" | "size" | "variant" | "InputProps" | "inputProps" | "autoComplete" | "autoFocus" | "FormHelperTextProps" | "helperText" | "InputLabelProps" | "inputRef" | "multiline" | "name" | "rows" | "rowsMax" | "SelectProps" | "type" | "readOnly" | "TextFieldComponent" | "keyboardIcon" | "maskChar" | "acceptRegex" | "InputAdornmentProps" | "KeyboardButtonProps" | "rifmFormatter" | "disableOpenPicker" | "disableMaskedInput" | "getOpenDialogAriaText" | "ignoreInvalidInputs" | "open" | "maxDate" | "minDate" | "disablePast" | "disableFuture" | "maxDateMessage" | "minDateMessage" | "invalidDateMessage" | "strictCompareDates" | "onClose" | "onOpen" | "orientation" | "displayStaticWrapperAs" | "onAccept" | "okLabel" | "cancelLabel" | "clearLabel" | "todayLabel" | "clearable" | "showTodayButton" | "showTabs" | "wider" | "TransitionComponent" | "DialogProps" | "PopoverProps" | "PopperProps" | "desktopModeBreakpoint" | "dateRangeIcon" | "timeIcon" | "views" | "disableHighlightToday" | "showDaysOutsideCurrentMonth" | "leftArrowIcon" | "rightArrowIcon" | "leftArrowButtonProps" | "rightArrowButtonProps" | "leftArrowButtonText" | "rightArrowButtonText" | "getViewSwitchingButtonText" | "reduceAnimations" | "onMonthChange" | "shouldDisableDate" | "onYearChange" | "renderDay" | "allowKeyboardControl" | "loadingIndicator" | "ampm" | "hideTabs" | "toolbarFormat" | "toolbarTitle" | "ampmInClock" | "minutesStep" | "minTime" | "maxTime" | "shouldDisableTime" | "disableTimeValidationIgnoreDatePart" | "defaultHighlight" | "autoOk" | "showToolbar" | "ToolbarComponent" | "openTo" | "minDateTime" | "maxDateTime"> & import("react").RefAttributes<HTMLInputElement>>; | ||
export declare const StaticDateTimePicker: import("react").ForwardRefExoticComponent<Pick<import("react").PropsWithChildren<DateTimePickerProps & import("../typings/BasePicker").BasePickerProps<ParsableDate, import("../typings/date").MaterialUiPickersDate> & Pick<import("../_shared/PureDateInput").DateInputProps<ParsableDate, import("../typings/date").MaterialUiPickersDate>, "children" | "ref" | "label" | "slot" | "select" | "style" | "title" | "mask" | "emptyInputText" | "className" | "innerRef" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "disabled" | "error" | "fullWidth" | "focused" | "hiddenLabel" | "margin" | "required" | "size" | "variant" | "InputProps" | "inputProps" | "autoComplete" | "autoFocus" | "FormHelperTextProps" | "helperText" | "InputLabelProps" | "inputRef" | "multiline" | "name" | "rows" | "rowsMax" | "SelectProps" | "type" | "readOnly" | "TextFieldComponent" | "keyboardIcon" | "maskChar" | "acceptRegex" | "InputAdornmentProps" | "KeyboardButtonProps" | "rifmFormatter" | "disableOpenPicker" | "disableMaskedInput" | "getOpenDialogAriaText" | "ignoreInvalidInputs"> & import("../_shared/withDateAdapterProp").WithDateAdapterProps & import("../_helpers/text-field-helper").DateValidationProps & Pick<import("../wrappers/ResponsiveWrapper").ResponsiveWrapperProps, "displayStaticWrapperAs" | "okLabel" | "cancelLabel" | "clearLabel" | "todayLabel" | "clearable" | "showTodayButton" | "showTabs" | "wider" | "TransitionComponent" | "DialogProps" | "PopoverProps" | "PopperProps" | "desktopModeBreakpoint">>, "value" | "children" | "dateAdapter" | "label" | "slot" | "select" | "style" | "title" | "mask" | "inputFormat" | "emptyInputText" | "onError" | "onChange" | "className" | "innerRef" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "disabled" | "error" | "fullWidth" | "focused" | "hiddenLabel" | "margin" | "required" | "size" | "variant" | "InputProps" | "inputProps" | "autoComplete" | "autoFocus" | "FormHelperTextProps" | "helperText" | "InputLabelProps" | "inputRef" | "multiline" | "name" | "rows" | "rowsMax" | "SelectProps" | "type" | "readOnly" | "TextFieldComponent" | "keyboardIcon" | "maskChar" | "acceptRegex" | "InputAdornmentProps" | "KeyboardButtonProps" | "rifmFormatter" | "disableOpenPicker" | "disableMaskedInput" | "getOpenDialogAriaText" | "ignoreInvalidInputs" | "open" | "maxDate" | "minDate" | "disablePast" | "disableFuture" | "maxDateMessage" | "minDateMessage" | "invalidDateMessage" | "strictCompareDates" | "onClose" | "onOpen" | "orientation" | "displayStaticWrapperAs" | "onAccept" | "okLabel" | "cancelLabel" | "clearLabel" | "todayLabel" | "clearable" | "showTodayButton" | "showTabs" | "wider" | "TransitionComponent" | "DialogProps" | "PopoverProps" | "PopperProps" | "desktopModeBreakpoint" | "dateRangeIcon" | "timeIcon" | "views" | "disableHighlightToday" | "showDaysOutsideCurrentMonth" | "leftArrowIcon" | "rightArrowIcon" | "leftArrowButtonProps" | "rightArrowButtonProps" | "leftArrowButtonText" | "rightArrowButtonText" | "getViewSwitchingButtonText" | "reduceAnimations" | "onMonthChange" | "shouldDisableDate" | "onYearChange" | "renderDay" | "allowKeyboardControl" | "loadingIndicator" | "ampm" | "hideTabs" | "toolbarFormat" | "toolbarTitle" | "ampmInClock" | "minutesStep" | "minTime" | "maxTime" | "shouldDisableTime" | "disableTimeValidationIgnoreDatePart" | "defaultHighlight" | "autoOk" | "showToolbar" | "ToolbarComponent" | "openTo" | "minDateTime" | "maxDateTime"> & import("react").RefAttributes<HTMLInputElement>>; | ||
export declare const DateTimePicker: import("react").ForwardRefExoticComponent<DateTimePickerProps & import("../typings/BasePicker").BasePickerProps<ParsableDate, import("../typings/date").MaterialUiPickersDate> & Pick<import("../_shared/PureDateInput").DateInputProps<ParsableDate, import("../typings/date").MaterialUiPickersDate>, "label" | "mask" | "disabled" | "InputProps" | "readOnly" | "ignoreInvalidInputs" | "renderInput" | "openPickerIcon" | "acceptRegex" | "InputAdornmentProps" | "OpenPickerButtonProps" | "rifmFormatter" | "disableOpenPicker" | "disableMaskedInput" | "getOpenDialogAriaText"> & import("../_shared/withDateAdapterProp").WithDateAdapterProps & Pick<import("../wrappers/ResponsiveWrapper").ResponsiveWrapperProps, "displayStaticWrapperAs" | "okLabel" | "cancelLabel" | "clearLabel" | "todayLabel" | "clearable" | "showTodayButton" | "showTabs" | "wider" | "TransitionComponent" | "DialogProps" | "PopoverProps" | "PopperProps" | "desktopModeMediaQuery"> & { | ||
children?: import("react").ReactNode; | ||
} & import("react").RefAttributes<HTMLInputElement>>; | ||
export declare const DesktopDateTimePicker: import("react").ForwardRefExoticComponent<DateTimePickerProps & import("../typings/BasePicker").BasePickerProps<ParsableDate, import("../typings/date").MaterialUiPickersDate> & Pick<import("../_shared/PureDateInput").DateInputProps<ParsableDate, import("../typings/date").MaterialUiPickersDate>, "label" | "mask" | "disabled" | "InputProps" | "readOnly" | "ignoreInvalidInputs" | "renderInput" | "openPickerIcon" | "acceptRegex" | "InputAdornmentProps" | "OpenPickerButtonProps" | "rifmFormatter" | "disableOpenPicker" | "disableMaskedInput" | "getOpenDialogAriaText"> & import("../_shared/withDateAdapterProp").WithDateAdapterProps & Pick<import("../wrappers/ResponsiveWrapper").ResponsiveWrapperProps, "displayStaticWrapperAs" | "okLabel" | "cancelLabel" | "clearLabel" | "todayLabel" | "clearable" | "showTodayButton" | "showTabs" | "wider" | "TransitionComponent" | "DialogProps" | "PopoverProps" | "PopperProps" | "desktopModeMediaQuery"> & { | ||
children?: import("react").ReactNode; | ||
} & import("react").RefAttributes<HTMLInputElement>>; | ||
export declare const MobileDateTimePicker: import("react").ForwardRefExoticComponent<DateTimePickerProps & import("../typings/BasePicker").BasePickerProps<ParsableDate, import("../typings/date").MaterialUiPickersDate> & Pick<import("../_shared/PureDateInput").DateInputProps<ParsableDate, import("../typings/date").MaterialUiPickersDate>, "label" | "mask" | "disabled" | "InputProps" | "readOnly" | "ignoreInvalidInputs" | "renderInput" | "openPickerIcon" | "acceptRegex" | "InputAdornmentProps" | "OpenPickerButtonProps" | "rifmFormatter" | "disableOpenPicker" | "disableMaskedInput" | "getOpenDialogAriaText"> & import("../_shared/withDateAdapterProp").WithDateAdapterProps & Pick<import("../wrappers/ResponsiveWrapper").ResponsiveWrapperProps, "displayStaticWrapperAs" | "okLabel" | "cancelLabel" | "clearLabel" | "todayLabel" | "clearable" | "showTodayButton" | "showTabs" | "wider" | "TransitionComponent" | "DialogProps" | "PopoverProps" | "PopperProps" | "desktopModeMediaQuery"> & { | ||
children?: import("react").ReactNode; | ||
} & import("react").RefAttributes<HTMLInputElement>>; | ||
export declare const StaticDateTimePicker: import("react").ForwardRefExoticComponent<DateTimePickerProps & import("../typings/BasePicker").BasePickerProps<ParsableDate, import("../typings/date").MaterialUiPickersDate> & Pick<import("../_shared/PureDateInput").DateInputProps<ParsableDate, import("../typings/date").MaterialUiPickersDate>, "label" | "mask" | "disabled" | "InputProps" | "readOnly" | "ignoreInvalidInputs" | "renderInput" | "openPickerIcon" | "acceptRegex" | "InputAdornmentProps" | "OpenPickerButtonProps" | "rifmFormatter" | "disableOpenPicker" | "disableMaskedInput" | "getOpenDialogAriaText"> & import("../_shared/withDateAdapterProp").WithDateAdapterProps & Pick<import("../wrappers/ResponsiveWrapper").ResponsiveWrapperProps, "displayStaticWrapperAs" | "okLabel" | "cancelLabel" | "clearLabel" | "todayLabel" | "clearable" | "showTodayButton" | "showTabs" | "wider" | "TransitionComponent" | "DialogProps" | "PopoverProps" | "PopperProps" | "desktopModeMediaQuery"> & { | ||
children?: import("react").ReactNode; | ||
} & import("react").RefAttributes<HTMLInputElement>>; |
@@ -14,5 +14,4 @@ import { DayProps as DayPropsType } from './views/Calendar/Day'; | ||
export { makePickerWithStateAndWrapper as makePickerWithState } from './Picker/makePickerWithState'; | ||
export { validateDateValue as validate } from './_helpers/text-field-helper'; | ||
export { useUtils } from './_shared/hooks/useUtils'; | ||
export { usePickerState } from './_shared/hooks/usePickerState'; | ||
export { LocalizationProvider, MuiPickersAdapterContext as MuiPickersContext, } from './LocalizationProvider'; |
import * as React from 'react'; | ||
import { ParsableDate } from '../constants/prop-types'; | ||
import { MaterialUiPickersDate } from '../typings/date'; | ||
import { SomeWrapper, ExtendWrapper } from '../wrappers/Wrapper'; | ||
import { ResponsiveWrapper } from '../wrappers/ResponsiveWrapper'; | ||
import { DateInputProps } from '../_shared/PureDateInput'; | ||
import { AnyPickerView, AllSharedPickerProps } from './SharedPickerProps'; | ||
import { SomeWrapper, ExtendWrapper } from '../wrappers/Wrapper'; | ||
import { ToolbarComponentProps, ExportedPickerProps } from './Picker'; | ||
declare type AllAvailableForOverrideProps = ExportedPickerProps<AnyPickerView>; | ||
export declare type AllPickerProps<T, TWrapper extends SomeWrapper = SomeWrapper> = T & AllSharedPickerProps & ExtendWrapper<TWrapper>; | ||
export interface MakePickerOptions<T extends unknown> { | ||
useDefaultProps: (props: T & AllSharedPickerProps) => Partial<T> & { | ||
/** Hook that running validation for the `value` and input */ | ||
useValidation: (value: ParsableDate, props: T) => string | null; | ||
/** Intercept props to override or inject default props specifically for picker */ | ||
useInterceptProps: (props: AllPickerProps<T>) => AllPickerProps<T> & { | ||
inputFormat: string; | ||
@@ -16,3 +20,3 @@ }; | ||
} | ||
export declare function makePickerWithStateAndWrapper<T extends AllAvailableForOverrideProps, TWrapper extends SomeWrapper = typeof ResponsiveWrapper>(Wrapper: TWrapper, { useDefaultProps, DefaultToolbarComponent }: MakePickerOptions<T>): React.ForwardRefExoticComponent<React.PropsWithoutRef<React.PropsWithChildren<T & import("../typings/BasePicker").BasePickerProps<ParsableDate, MaterialUiPickersDate> & Pick<DateInputProps<ParsableDate, MaterialUiPickersDate>, "children" | "ref" | "label" | "slot" | "select" | "style" | "title" | "mask" | "emptyInputText" | "className" | "innerRef" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "disabled" | "error" | "fullWidth" | "focused" | "hiddenLabel" | "margin" | "required" | "size" | "variant" | "InputProps" | "inputProps" | "autoComplete" | "autoFocus" | "FormHelperTextProps" | "helperText" | "InputLabelProps" | "inputRef" | "multiline" | "name" | "rows" | "rowsMax" | "SelectProps" | "type" | "readOnly" | "TextFieldComponent" | "keyboardIcon" | "maskChar" | "acceptRegex" | "InputAdornmentProps" | "KeyboardButtonProps" | "rifmFormatter" | "disableOpenPicker" | "disableMaskedInput" | "getOpenDialogAriaText" | "ignoreInvalidInputs"> & import("../_shared/withDateAdapterProp").WithDateAdapterProps & import("../_helpers/text-field-helper").DateValidationProps & ExtendWrapper<TWrapper>>> & React.RefAttributes<HTMLInputElement>>; | ||
export declare function makePickerWithStateAndWrapper<T extends AllAvailableForOverrideProps, TWrapper extends SomeWrapper = typeof ResponsiveWrapper>(Wrapper: TWrapper, { useInterceptProps, useValidation, DefaultToolbarComponent }: MakePickerOptions<T>): React.ForwardRefExoticComponent<React.PropsWithoutRef<React.PropsWithChildren<T & import("../typings/BasePicker").BasePickerProps<ParsableDate, MaterialUiPickersDate> & Pick<DateInputProps<ParsableDate, MaterialUiPickersDate>, "label" | "mask" | "disabled" | "InputProps" | "readOnly" | "ignoreInvalidInputs" | "renderInput" | "openPickerIcon" | "acceptRegex" | "InputAdornmentProps" | "OpenPickerButtonProps" | "rifmFormatter" | "disableOpenPicker" | "disableMaskedInput" | "getOpenDialogAriaText"> & import("../_shared/withDateAdapterProp").WithDateAdapterProps & ExtendWrapper<TWrapper>>> & React.RefAttributes<HTMLInputElement>>; | ||
export {}; |
@@ -33,3 +33,3 @@ import * as React from 'react'; | ||
export declare const useStyles: (props?: any) => Record<"container" | "containerLandscape" | "pickerView" | "pickerViewLandscape", string>; | ||
export declare function Picker({ date, openTo, views, toolbarTitle, showToolbar, onDateChange, ToolbarComponent, orientation, DateInputProps, isMobileKeyboardViewOpen, toggleMobileKeyboardView, toolbarFormat, ...other }: PickerProps<AnyPickerView>): JSX.Element; | ||
export declare function Picker({ date, openTo, views, toolbarTitle, showToolbar, onDateChange, ToolbarComponent, orientation, DateInputProps, isMobileKeyboardViewOpen, toggleMobileKeyboardView, toolbarFormat, className, ...other }: PickerProps<AnyPickerView>): JSX.Element; | ||
export declare namespace Picker { | ||
@@ -36,0 +36,0 @@ var displayName: string; |
@@ -1,2 +0,1 @@ | ||
import { WrapperVariant } from '../wrappers/Wrapper'; | ||
import { DateTimePickerView } from '../DateTimePicker'; | ||
@@ -6,11 +5,11 @@ import { ParsableDate } from '../constants/prop-types'; | ||
import { MaterialUiPickersDate } from '../typings/date'; | ||
import { DateValidationProps } from '../_helpers/text-field-helper'; | ||
import { ExportedDateInputProps } from '../_shared/PureDateInput'; | ||
import { WithDateAdapterProps } from '../_shared/withDateAdapterProp'; | ||
import { ExportedDateInputProps, DateInputProps } from '../_shared/PureDateInput'; | ||
import { WrapperVariant, DateInputPropsLike } from '../wrappers/Wrapper'; | ||
export declare type AnyPickerView = DateTimePickerView; | ||
export declare type AllSharedPickerProps<TInputValue = ParsableDate, TDateValue = MaterialUiPickersDate> = BasePickerProps<TInputValue, TDateValue> & ExportedDateInputProps<TInputValue, TDateValue> & WithDateAdapterProps & DateValidationProps; | ||
export interface SharedPickerProps<TInputValue, TDateValue> { | ||
export declare type AllSharedPickerProps<TInputValue = ParsableDate, TDateValue = MaterialUiPickersDate> = BasePickerProps<TInputValue, TDateValue> & ExportedDateInputProps<TInputValue, TDateValue> & WithDateAdapterProps; | ||
export interface SharedPickerProps<TInputValue, TDateValue, TInputProps = DateInputPropsLike<TInputValue, TDateValue>> { | ||
isMobileKeyboardViewOpen: boolean; | ||
toggleMobileKeyboardView: () => void; | ||
DateInputProps: DateInputProps<TInputValue, TDateValue>; | ||
DateInputProps: TInputProps; | ||
date: TDateValue; | ||
@@ -17,0 +16,0 @@ onDateChange: (date: TDateValue, currentVariant: WrapperVariant, isFinish?: boolean | symbol) => void; |
import React from 'react'; | ||
import { ParsableDate } from '../constants/prop-types'; | ||
import { ExportedClockViewProps } from '../views/Clock/ClockView'; | ||
import { MuiPickersAdapter } from '../_shared/hooks/useUtils'; | ||
import { ParsableDate } from '../constants/prop-types'; | ||
import { TimeValidationError } from '../_helpers/time-utils'; | ||
import { WithViewsProps } from '../Picker/SharedPickerProps'; | ||
export interface TimePickerProps extends ExportedClockViewProps, WithViewsProps<'hours' | 'minutes' | 'seconds'> { | ||
import { ValidationProps } from '../_shared/hooks/useValidation'; | ||
export interface TimePickerProps extends ExportedClockViewProps, ValidationProps<TimeValidationError, ParsableDate>, WithViewsProps<'hours' | 'minutes' | 'seconds'> { | ||
} | ||
export declare function getTextFieldAriaText(value: ParsableDate, utils: MuiPickersAdapter): string; | ||
export declare const TimePicker: React.ForwardRefExoticComponent<Pick<React.PropsWithChildren<TimePickerProps & import("../typings/BasePicker").BasePickerProps<ParsableDate, import("../typings/date").MaterialUiPickersDate> & Pick<import("../_shared/PureDateInput").DateInputProps<ParsableDate, import("../typings/date").MaterialUiPickersDate>, "children" | "ref" | "label" | "slot" | "select" | "style" | "title" | "mask" | "emptyInputText" | "className" | "innerRef" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "disabled" | "error" | "fullWidth" | "focused" | "hiddenLabel" | "margin" | "required" | "size" | "variant" | "InputProps" | "inputProps" | "autoComplete" | "autoFocus" | "FormHelperTextProps" | "helperText" | "InputLabelProps" | "inputRef" | "multiline" | "name" | "rows" | "rowsMax" | "SelectProps" | "type" | "readOnly" | "TextFieldComponent" | "keyboardIcon" | "maskChar" | "acceptRegex" | "InputAdornmentProps" | "KeyboardButtonProps" | "rifmFormatter" | "disableOpenPicker" | "disableMaskedInput" | "getOpenDialogAriaText" | "ignoreInvalidInputs"> & import("../_shared/withDateAdapterProp").WithDateAdapterProps & import("../_helpers/text-field-helper").DateValidationProps & Pick<import("../wrappers/ResponsiveWrapper").ResponsiveWrapperProps, "displayStaticWrapperAs" | "okLabel" | "cancelLabel" | "clearLabel" | "todayLabel" | "clearable" | "showTodayButton" | "showTabs" | "wider" | "TransitionComponent" | "DialogProps" | "PopoverProps" | "PopperProps" | "desktopModeBreakpoint">>, "value" | "children" | "dateAdapter" | "label" | "slot" | "select" | "style" | "title" | "mask" | "inputFormat" | "emptyInputText" | "onError" | "onChange" | "className" | "innerRef" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "disabled" | "error" | "fullWidth" | "focused" | "hiddenLabel" | "margin" | "required" | "size" | "variant" | "InputProps" | "inputProps" | "autoComplete" | "autoFocus" | "FormHelperTextProps" | "helperText" | "InputLabelProps" | "inputRef" | "multiline" | "name" | "rows" | "rowsMax" | "SelectProps" | "type" | "readOnly" | "TextFieldComponent" | "keyboardIcon" | "maskChar" | "acceptRegex" | "InputAdornmentProps" | "KeyboardButtonProps" | "rifmFormatter" | "disableOpenPicker" | "disableMaskedInput" | "getOpenDialogAriaText" | "ignoreInvalidInputs" | "open" | "maxDateMessage" | "minDateMessage" | "invalidDateMessage" | "strictCompareDates" | "onClose" | "onOpen" | "orientation" | "displayStaticWrapperAs" | "onAccept" | "okLabel" | "cancelLabel" | "clearLabel" | "todayLabel" | "clearable" | "showTodayButton" | "showTabs" | "wider" | "TransitionComponent" | "DialogProps" | "PopoverProps" | "PopperProps" | "desktopModeBreakpoint" | "views" | "allowKeyboardControl" | "ampm" | "toolbarFormat" | "toolbarTitle" | "ampmInClock" | "minutesStep" | "minTime" | "maxTime" | "shouldDisableTime" | "disableTimeValidationIgnoreDatePart" | "defaultHighlight" | "autoOk" | "showToolbar" | "ToolbarComponent" | "openTo"> & React.RefAttributes<HTMLInputElement>>; | ||
export declare const DesktopTimePicker: React.ForwardRefExoticComponent<Pick<React.PropsWithChildren<TimePickerProps & import("../typings/BasePicker").BasePickerProps<ParsableDate, import("../typings/date").MaterialUiPickersDate> & Pick<import("../_shared/PureDateInput").DateInputProps<ParsableDate, import("../typings/date").MaterialUiPickersDate>, "children" | "ref" | "label" | "slot" | "select" | "style" | "title" | "mask" | "emptyInputText" | "className" | "innerRef" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "disabled" | "error" | "fullWidth" | "focused" | "hiddenLabel" | "margin" | "required" | "size" | "variant" | "InputProps" | "inputProps" | "autoComplete" | "autoFocus" | "FormHelperTextProps" | "helperText" | "InputLabelProps" | "inputRef" | "multiline" | "name" | "rows" | "rowsMax" | "SelectProps" | "type" | "readOnly" | "TextFieldComponent" | "keyboardIcon" | "maskChar" | "acceptRegex" | "InputAdornmentProps" | "KeyboardButtonProps" | "rifmFormatter" | "disableOpenPicker" | "disableMaskedInput" | "getOpenDialogAriaText" | "ignoreInvalidInputs"> & import("../_shared/withDateAdapterProp").WithDateAdapterProps & import("../_helpers/text-field-helper").DateValidationProps & Pick<import("../wrappers/ResponsiveWrapper").ResponsiveWrapperProps, "displayStaticWrapperAs" | "okLabel" | "cancelLabel" | "clearLabel" | "todayLabel" | "clearable" | "showTodayButton" | "showTabs" | "wider" | "TransitionComponent" | "DialogProps" | "PopoverProps" | "PopperProps" | "desktopModeBreakpoint">>, "value" | "children" | "dateAdapter" | "label" | "slot" | "select" | "style" | "title" | "mask" | "inputFormat" | "emptyInputText" | "onError" | "onChange" | "className" | "innerRef" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "disabled" | "error" | "fullWidth" | "focused" | "hiddenLabel" | "margin" | "required" | "size" | "variant" | "InputProps" | "inputProps" | "autoComplete" | "autoFocus" | "FormHelperTextProps" | "helperText" | "InputLabelProps" | "inputRef" | "multiline" | "name" | "rows" | "rowsMax" | "SelectProps" | "type" | "readOnly" | "TextFieldComponent" | "keyboardIcon" | "maskChar" | "acceptRegex" | "InputAdornmentProps" | "KeyboardButtonProps" | "rifmFormatter" | "disableOpenPicker" | "disableMaskedInput" | "getOpenDialogAriaText" | "ignoreInvalidInputs" | "open" | "maxDateMessage" | "minDateMessage" | "invalidDateMessage" | "strictCompareDates" | "onClose" | "onOpen" | "orientation" | "displayStaticWrapperAs" | "onAccept" | "okLabel" | "cancelLabel" | "clearLabel" | "todayLabel" | "clearable" | "showTodayButton" | "showTabs" | "wider" | "TransitionComponent" | "DialogProps" | "PopoverProps" | "PopperProps" | "desktopModeBreakpoint" | "views" | "allowKeyboardControl" | "ampm" | "toolbarFormat" | "toolbarTitle" | "ampmInClock" | "minutesStep" | "minTime" | "maxTime" | "shouldDisableTime" | "disableTimeValidationIgnoreDatePart" | "defaultHighlight" | "autoOk" | "showToolbar" | "ToolbarComponent" | "openTo"> & React.RefAttributes<HTMLInputElement>>; | ||
export declare const MobileTimePicker: React.ForwardRefExoticComponent<Pick<React.PropsWithChildren<TimePickerProps & import("../typings/BasePicker").BasePickerProps<ParsableDate, import("../typings/date").MaterialUiPickersDate> & Pick<import("../_shared/PureDateInput").DateInputProps<ParsableDate, import("../typings/date").MaterialUiPickersDate>, "children" | "ref" | "label" | "slot" | "select" | "style" | "title" | "mask" | "emptyInputText" | "className" | "innerRef" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "disabled" | "error" | "fullWidth" | "focused" | "hiddenLabel" | "margin" | "required" | "size" | "variant" | "InputProps" | "inputProps" | "autoComplete" | "autoFocus" | "FormHelperTextProps" | "helperText" | "InputLabelProps" | "inputRef" | "multiline" | "name" | "rows" | "rowsMax" | "SelectProps" | "type" | "readOnly" | "TextFieldComponent" | "keyboardIcon" | "maskChar" | "acceptRegex" | "InputAdornmentProps" | "KeyboardButtonProps" | "rifmFormatter" | "disableOpenPicker" | "disableMaskedInput" | "getOpenDialogAriaText" | "ignoreInvalidInputs"> & import("../_shared/withDateAdapterProp").WithDateAdapterProps & import("../_helpers/text-field-helper").DateValidationProps & Pick<import("../wrappers/ResponsiveWrapper").ResponsiveWrapperProps, "displayStaticWrapperAs" | "okLabel" | "cancelLabel" | "clearLabel" | "todayLabel" | "clearable" | "showTodayButton" | "showTabs" | "wider" | "TransitionComponent" | "DialogProps" | "PopoverProps" | "PopperProps" | "desktopModeBreakpoint">>, "value" | "children" | "dateAdapter" | "label" | "slot" | "select" | "style" | "title" | "mask" | "inputFormat" | "emptyInputText" | "onError" | "onChange" | "className" | "innerRef" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "disabled" | "error" | "fullWidth" | "focused" | "hiddenLabel" | "margin" | "required" | "size" | "variant" | "InputProps" | "inputProps" | "autoComplete" | "autoFocus" | "FormHelperTextProps" | "helperText" | "InputLabelProps" | "inputRef" | "multiline" | "name" | "rows" | "rowsMax" | "SelectProps" | "type" | "readOnly" | "TextFieldComponent" | "keyboardIcon" | "maskChar" | "acceptRegex" | "InputAdornmentProps" | "KeyboardButtonProps" | "rifmFormatter" | "disableOpenPicker" | "disableMaskedInput" | "getOpenDialogAriaText" | "ignoreInvalidInputs" | "open" | "maxDateMessage" | "minDateMessage" | "invalidDateMessage" | "strictCompareDates" | "onClose" | "onOpen" | "orientation" | "displayStaticWrapperAs" | "onAccept" | "okLabel" | "cancelLabel" | "clearLabel" | "todayLabel" | "clearable" | "showTodayButton" | "showTabs" | "wider" | "TransitionComponent" | "DialogProps" | "PopoverProps" | "PopperProps" | "desktopModeBreakpoint" | "views" | "allowKeyboardControl" | "ampm" | "toolbarFormat" | "toolbarTitle" | "ampmInClock" | "minutesStep" | "minTime" | "maxTime" | "shouldDisableTime" | "disableTimeValidationIgnoreDatePart" | "defaultHighlight" | "autoOk" | "showToolbar" | "ToolbarComponent" | "openTo"> & React.RefAttributes<HTMLInputElement>>; | ||
export declare const StaticTimePicker: React.ForwardRefExoticComponent<Pick<React.PropsWithChildren<TimePickerProps & import("../typings/BasePicker").BasePickerProps<ParsableDate, import("../typings/date").MaterialUiPickersDate> & Pick<import("../_shared/PureDateInput").DateInputProps<ParsableDate, import("../typings/date").MaterialUiPickersDate>, "children" | "ref" | "label" | "slot" | "select" | "style" | "title" | "mask" | "emptyInputText" | "className" | "innerRef" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "disabled" | "error" | "fullWidth" | "focused" | "hiddenLabel" | "margin" | "required" | "size" | "variant" | "InputProps" | "inputProps" | "autoComplete" | "autoFocus" | "FormHelperTextProps" | "helperText" | "InputLabelProps" | "inputRef" | "multiline" | "name" | "rows" | "rowsMax" | "SelectProps" | "type" | "readOnly" | "TextFieldComponent" | "keyboardIcon" | "maskChar" | "acceptRegex" | "InputAdornmentProps" | "KeyboardButtonProps" | "rifmFormatter" | "disableOpenPicker" | "disableMaskedInput" | "getOpenDialogAriaText" | "ignoreInvalidInputs"> & import("../_shared/withDateAdapterProp").WithDateAdapterProps & import("../_helpers/text-field-helper").DateValidationProps & Pick<import("../wrappers/ResponsiveWrapper").ResponsiveWrapperProps, "displayStaticWrapperAs" | "okLabel" | "cancelLabel" | "clearLabel" | "todayLabel" | "clearable" | "showTodayButton" | "showTabs" | "wider" | "TransitionComponent" | "DialogProps" | "PopoverProps" | "PopperProps" | "desktopModeBreakpoint">>, "value" | "children" | "dateAdapter" | "label" | "slot" | "select" | "style" | "title" | "mask" | "inputFormat" | "emptyInputText" | "onError" | "onChange" | "className" | "innerRef" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "disabled" | "error" | "fullWidth" | "focused" | "hiddenLabel" | "margin" | "required" | "size" | "variant" | "InputProps" | "inputProps" | "autoComplete" | "autoFocus" | "FormHelperTextProps" | "helperText" | "InputLabelProps" | "inputRef" | "multiline" | "name" | "rows" | "rowsMax" | "SelectProps" | "type" | "readOnly" | "TextFieldComponent" | "keyboardIcon" | "maskChar" | "acceptRegex" | "InputAdornmentProps" | "KeyboardButtonProps" | "rifmFormatter" | "disableOpenPicker" | "disableMaskedInput" | "getOpenDialogAriaText" | "ignoreInvalidInputs" | "open" | "maxDateMessage" | "minDateMessage" | "invalidDateMessage" | "strictCompareDates" | "onClose" | "onOpen" | "orientation" | "displayStaticWrapperAs" | "onAccept" | "okLabel" | "cancelLabel" | "clearLabel" | "todayLabel" | "clearable" | "showTodayButton" | "showTabs" | "wider" | "TransitionComponent" | "DialogProps" | "PopoverProps" | "PopperProps" | "desktopModeBreakpoint" | "views" | "allowKeyboardControl" | "ampm" | "toolbarFormat" | "toolbarTitle" | "ampmInClock" | "minutesStep" | "minTime" | "maxTime" | "shouldDisableTime" | "disableTimeValidationIgnoreDatePart" | "defaultHighlight" | "autoOk" | "showToolbar" | "ToolbarComponent" | "openTo"> & React.RefAttributes<HTMLInputElement>>; | ||
export declare const TimePicker: React.ForwardRefExoticComponent<TimePickerProps & import("../typings/BasePicker").BasePickerProps<ParsableDate, import("../typings/date").MaterialUiPickersDate> & Pick<import("../_shared/PureDateInput").DateInputProps<ParsableDate, import("../typings/date").MaterialUiPickersDate>, "label" | "mask" | "disabled" | "InputProps" | "readOnly" | "ignoreInvalidInputs" | "renderInput" | "openPickerIcon" | "acceptRegex" | "InputAdornmentProps" | "OpenPickerButtonProps" | "rifmFormatter" | "disableOpenPicker" | "disableMaskedInput" | "getOpenDialogAriaText"> & import("../_shared/withDateAdapterProp").WithDateAdapterProps & Pick<import("../wrappers/ResponsiveWrapper").ResponsiveWrapperProps, "displayStaticWrapperAs" | "okLabel" | "cancelLabel" | "clearLabel" | "todayLabel" | "clearable" | "showTodayButton" | "showTabs" | "wider" | "TransitionComponent" | "DialogProps" | "PopoverProps" | "PopperProps" | "desktopModeMediaQuery"> & { | ||
children?: React.ReactNode; | ||
} & React.RefAttributes<HTMLInputElement>>; | ||
export declare const DesktopTimePicker: React.ForwardRefExoticComponent<TimePickerProps & import("../typings/BasePicker").BasePickerProps<ParsableDate, import("../typings/date").MaterialUiPickersDate> & Pick<import("../_shared/PureDateInput").DateInputProps<ParsableDate, import("../typings/date").MaterialUiPickersDate>, "label" | "mask" | "disabled" | "InputProps" | "readOnly" | "ignoreInvalidInputs" | "renderInput" | "openPickerIcon" | "acceptRegex" | "InputAdornmentProps" | "OpenPickerButtonProps" | "rifmFormatter" | "disableOpenPicker" | "disableMaskedInput" | "getOpenDialogAriaText"> & import("../_shared/withDateAdapterProp").WithDateAdapterProps & Pick<import("../wrappers/ResponsiveWrapper").ResponsiveWrapperProps, "displayStaticWrapperAs" | "okLabel" | "cancelLabel" | "clearLabel" | "todayLabel" | "clearable" | "showTodayButton" | "showTabs" | "wider" | "TransitionComponent" | "DialogProps" | "PopoverProps" | "PopperProps" | "desktopModeMediaQuery"> & { | ||
children?: React.ReactNode; | ||
} & React.RefAttributes<HTMLInputElement>>; | ||
export declare const MobileTimePicker: React.ForwardRefExoticComponent<TimePickerProps & import("../typings/BasePicker").BasePickerProps<ParsableDate, import("../typings/date").MaterialUiPickersDate> & Pick<import("../_shared/PureDateInput").DateInputProps<ParsableDate, import("../typings/date").MaterialUiPickersDate>, "label" | "mask" | "disabled" | "InputProps" | "readOnly" | "ignoreInvalidInputs" | "renderInput" | "openPickerIcon" | "acceptRegex" | "InputAdornmentProps" | "OpenPickerButtonProps" | "rifmFormatter" | "disableOpenPicker" | "disableMaskedInput" | "getOpenDialogAriaText"> & import("../_shared/withDateAdapterProp").WithDateAdapterProps & Pick<import("../wrappers/ResponsiveWrapper").ResponsiveWrapperProps, "displayStaticWrapperAs" | "okLabel" | "cancelLabel" | "clearLabel" | "todayLabel" | "clearable" | "showTodayButton" | "showTabs" | "wider" | "TransitionComponent" | "DialogProps" | "PopoverProps" | "PopperProps" | "desktopModeMediaQuery"> & { | ||
children?: React.ReactNode; | ||
} & React.RefAttributes<HTMLInputElement>>; | ||
export declare const StaticTimePicker: React.ForwardRefExoticComponent<TimePickerProps & import("../typings/BasePicker").BasePickerProps<ParsableDate, import("../typings/date").MaterialUiPickersDate> & Pick<import("../_shared/PureDateInput").DateInputProps<ParsableDate, import("../typings/date").MaterialUiPickersDate>, "label" | "mask" | "disabled" | "InputProps" | "readOnly" | "ignoreInvalidInputs" | "renderInput" | "openPickerIcon" | "acceptRegex" | "InputAdornmentProps" | "OpenPickerButtonProps" | "rifmFormatter" | "disableOpenPicker" | "disableMaskedInput" | "getOpenDialogAriaText"> & import("../_shared/withDateAdapterProp").WithDateAdapterProps & Pick<import("../wrappers/ResponsiveWrapper").ResponsiveWrapperProps, "displayStaticWrapperAs" | "okLabel" | "cancelLabel" | "clearLabel" | "todayLabel" | "clearable" | "showTodayButton" | "showTabs" | "wider" | "TransitionComponent" | "DialogProps" | "PopoverProps" | "PopperProps" | "desktopModeMediaQuery"> & { | ||
children?: React.ReactNode; | ||
} & React.RefAttributes<HTMLInputElement>>; |
@@ -24,6 +24,2 @@ import { MaterialUiPickersDate } from './date'; | ||
onAccept?: (date: TDateValue) => void; | ||
/** Callback fired when new error should be displayed | ||
* (!! This is a side effect. Be careful if you want to rerender the component) @DateIOType | ||
*/ | ||
onError?: (error: React.ReactNode, value: TInputValue | TDateValue) => void; | ||
/** On open callback */ | ||
@@ -50,2 +46,4 @@ onOpen?: () => void; | ||
toolbarFormat?: string; | ||
/** className applied to the root component */ | ||
className?: string; | ||
} |
@@ -10,1 +10,6 @@ /** | ||
} & Omit<T, K>; | ||
export declare type MakeRequired<T, K extends keyof T> = { | ||
[X in Exclude<keyof T, K>]?: T[X]; | ||
} & { | ||
[P in K]-?: T[P]; | ||
}; |
@@ -5,2 +5,3 @@ import * as React from 'react'; | ||
import { PickerOnChangeFn } from '../../_shared/hooks/useViews'; | ||
import { DateValidationProps } from '../../_helpers/date-utils'; | ||
import { SlideDirection, SlideTransitionProps } from './SlideTransition'; | ||
@@ -10,12 +11,2 @@ export interface ExportedCalendarProps extends Pick<DayProps, 'disableHighlightToday' | 'showDaysOutsideCurrentMonth'> { | ||
onChange: PickerOnChangeFn; | ||
/** | ||
* Disable past dates | ||
* @default false | ||
*/ | ||
disablePast?: boolean; | ||
/** | ||
* Disable future dates | ||
* @default false | ||
*/ | ||
disableFuture?: boolean; | ||
/** Custom renderer for day. Check [DayComponentProps api](https://material-ui-pickers.dev/api/Day) @DateIOType */ | ||
@@ -31,3 +22,3 @@ renderDay?: (day: MaterialUiPickersDate, selectedDates: MaterialUiPickersDate[], DayComponentProps: DayProps) => JSX.Element; | ||
} | ||
export interface CalendarProps extends ExportedCalendarProps { | ||
export interface CalendarProps extends ExportedCalendarProps, DateValidationProps { | ||
date: MaterialUiPickersDate | MaterialUiPickersDate[]; | ||
@@ -34,0 +25,0 @@ minDate: MaterialUiPickersDate; |
import * as React from 'react'; | ||
import { CalendarProps } from './Calendar'; | ||
import { DatePickerView } from '../../DatePicker'; | ||
import { SlideDirection } from './SlideTransition'; | ||
import { MaterialUiPickersDate } from '../../typings/date'; | ||
import { DateValidationProps } from '../../_helpers/date-utils'; | ||
import { ExportedArrowSwitcherProps } from '../../_shared/ArrowSwitcher'; | ||
export interface CalendarHeaderProps extends ExportedArrowSwitcherProps, Pick<CalendarProps, 'minDate' | 'maxDate' | 'disablePast' | 'disableFuture'> { | ||
export interface CalendarHeaderProps extends ExportedArrowSwitcherProps, Omit<DateValidationProps, 'shouldDisableDate'> { | ||
view: DatePickerView; | ||
@@ -9,0 +9,0 @@ views: DatePickerView[]; |
import * as React from 'react'; | ||
import { DatePickerView } from '../../DatePicker'; | ||
import { ParsableDate } from '../../constants/prop-types'; | ||
import { MaterialUiPickersDate } from '../../typings/date'; | ||
import { ExportedCalendarProps } from './Calendar'; | ||
import { DateValidationProps } from '../../_helpers/date-utils'; | ||
import { PickerOnChangeFn } from '../../_shared/hooks/useViews'; | ||
import { CalendarHeaderProps } from './CalendarHeader'; | ||
import { ExportedYearSelectionProps } from './YearSelection'; | ||
declare type PublicCalendarHeaderProps = Pick<CalendarHeaderProps, 'leftArrowIcon' | 'rightArrowIcon' | 'leftArrowButtonProps' | 'rightArrowButtonProps' | 'leftArrowButtonText' | 'rightArrowButtonText' | 'getViewSwitchingButtonText'>; | ||
export interface CalendarViewProps extends ExportedCalendarProps, PublicCalendarHeaderProps { | ||
export interface CalendarViewProps extends DateValidationProps, ExportedCalendarProps, ExportedYearSelectionProps, PublicCalendarHeaderProps { | ||
date: MaterialUiPickersDate; | ||
@@ -19,16 +20,2 @@ view: DatePickerView; | ||
onMonthChange?: (date: MaterialUiPickersDate) => void | Promise<void>; | ||
/** | ||
* Min selectable date | ||
* @default Date(1900-01-01) | ||
*/ | ||
minDate?: ParsableDate; | ||
/** | ||
* Max selectable date | ||
* @default Date(2100-01-01) | ||
*/ | ||
maxDate?: ParsableDate; | ||
/** Disable specific date @DateIOType */ | ||
shouldDisableDate?: (day: MaterialUiPickersDate) => boolean; | ||
/** Callback firing on year change @DateIOType */ | ||
onYearChange?: (date: MaterialUiPickersDate) => void; | ||
} | ||
@@ -35,0 +22,0 @@ export declare type ExportedCalendarViewProps = Omit<CalendarViewProps, 'date' | 'view' | 'views' | 'onChange' | 'changeView' | 'slideDirection' | 'currentMonth'>; |
@@ -5,3 +5,3 @@ import * as React from 'react'; | ||
import { MaterialUiPickersDate } from '../../typings/date'; | ||
export declare const useStyles: (props?: any) => Record<"hidden" | "day" | "today" | "dayLabel" | "dayWithMargin" | "dayOutsideMonth" | "daySelected" | "dayDisabled", string>; | ||
export declare const useStyles: (props?: any) => Record<"day" | "today" | "dayLabel" | "dayWithMargin" | "dayOutsideMonth" | "hiddenDaySpacingFiller" | "daySelected" | "dayDisabled", string>; | ||
export interface DayProps extends ExtendMui<ButtonBaseProps> { | ||
@@ -8,0 +8,0 @@ /** The date to show */ |
@@ -10,7 +10,7 @@ import * as React from 'react'; | ||
allowKeyboardControl?: boolean; | ||
forwardedRef?: React.Ref<HTMLDivElement>; | ||
forwardedRef?: React.Ref<HTMLButtonElement>; | ||
} | ||
export declare const useStyles: (props?: any) => Record<"yearButtonContainer" | "yearButtonContainerDesktop" | "yearButton" | "yearSelected" | "yearDisabled", string>; | ||
export declare const Year: React.FC<YearProps>; | ||
declare const _default: React.ForwardRefExoticComponent<YearProps & React.RefAttributes<HTMLDivElement>>; | ||
declare const _default: React.ForwardRefExoticComponent<YearProps & React.RefAttributes<HTMLButtonElement>>; | ||
export default _default; |
import * as React from 'react'; | ||
import { DateType } from '@date-io/type'; | ||
import { MaterialUiPickersDate } from '../../typings/date'; | ||
export interface YearSelectionProps { | ||
export interface ExportedYearSelectionProps { | ||
/** Callback firing on year change @DateIOType */ | ||
onYearChange?: (date: MaterialUiPickersDate) => void; | ||
/** Disable specific years dynamically. Works like `shouldDisableDate` but for year selection view. @DateIOType */ | ||
shouldDisableYear?: (day: MaterialUiPickersDate) => boolean; | ||
} | ||
export interface YearSelectionProps extends ExportedYearSelectionProps { | ||
date: MaterialUiPickersDate; | ||
minDate: DateType; | ||
maxDate: DateType; | ||
minDate: MaterialUiPickersDate; | ||
maxDate: MaterialUiPickersDate; | ||
onChange: (date: MaterialUiPickersDate, isFinish: boolean) => void; | ||
@@ -13,5 +18,4 @@ disablePast?: boolean | null | undefined; | ||
isDateDisabled: (day: MaterialUiPickersDate) => boolean; | ||
onYearChange?: (date: MaterialUiPickersDate) => void; | ||
} | ||
export declare const useStyles: (props?: any) => Record<"container", string>; | ||
export declare const YearSelection: React.FC<YearSelectionProps>; |
import * as React from 'react'; | ||
import { ClockViewType } from '../../constants/ClockType'; | ||
import { Theme, WithStyles } from '@material-ui/core/styles'; | ||
import { ClockViewType } from '../../constants/ClockType'; | ||
export interface ClockPointerProps extends React.HTMLProps<HTMLDivElement>, WithStyles<typeof styles> { | ||
@@ -29,3 +29,3 @@ value: number; | ||
export declare const styles: (theme: Theme) => Record<"animateTransform" | "pointer" | "thumb" | "noPoint", import("@material-ui/styles").CSSProperties | import("@material-ui/styles").CreateCSSProperties<{}> | ((props: {}) => import("@material-ui/styles").CreateCSSProperties<{}>)>; | ||
declare const _default: React.ComponentType<(Pick<ClockPointerProps, "value" | "children" | "ref" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "onError" | "onChange" | "className" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "disabled" | "required" | "size" | "list" | "step" | "autoComplete" | "autoFocus" | "name" | "rows" | "type" | "readOnly" | "open" | "default" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "htmlFor" | "multiple" | "start" | "height" | "max" | "media" | "method" | "min" | "target" | "width" | "crossOrigin" | "href" | "classID" | "useMap" | "wmode" | "download" | "hrefLang" | "rel" | "alt" | "coords" | "shape" | "autoPlay" | "controls" | "loop" | "mediaGroup" | "muted" | "playsInline" | "preload" | "src" | "dateTime" | "acceptCharset" | "action" | "encType" | "noValidate" | "manifest" | "allowFullScreen" | "allowTransparency" | "frameBorder" | "marginHeight" | "marginWidth" | "sandbox" | "scrolling" | "seamless" | "srcDoc" | "sizes" | "srcSet" | "async" | "accept" | "capture" | "checked" | "maxLength" | "minLength" | "challenge" | "keyType" | "keyParams" | "as" | "integrity" | "charSet" | "content" | "httpEquiv" | "high" | "low" | "optimum" | "reversed" | "selected" | "defer" | "nonce" | "scoped" | "cellPadding" | "cellSpacing" | "colSpan" | "headers" | "rowSpan" | "scope" | "cols" | "wrap" | "kind" | "srcLang" | "poster" | "hasSelected" | "isInner"> & import("@material-ui/core/styles").StyledComponentProps<"animateTransform" | "pointer" | "thumb" | "noPoint">) | (Pick<React.PropsWithChildren<ClockPointerProps>, "value" | "children" | "ref" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "onError" | "onChange" | "className" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "disabled" | "required" | "size" | "list" | "step" | "autoComplete" | "autoFocus" | "name" | "rows" | "type" | "readOnly" | "open" | "default" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "htmlFor" | "multiple" | "start" | "height" | "max" | "media" | "method" | "min" | "target" | "width" | "crossOrigin" | "href" | "classID" | "useMap" | "wmode" | "download" | "hrefLang" | "rel" | "alt" | "coords" | "shape" | "autoPlay" | "controls" | "loop" | "mediaGroup" | "muted" | "playsInline" | "preload" | "src" | "dateTime" | "acceptCharset" | "action" | "encType" | "noValidate" | "manifest" | "allowFullScreen" | "allowTransparency" | "frameBorder" | "marginHeight" | "marginWidth" | "sandbox" | "scrolling" | "seamless" | "srcDoc" | "sizes" | "srcSet" | "async" | "accept" | "capture" | "checked" | "maxLength" | "minLength" | "challenge" | "keyType" | "keyParams" | "as" | "integrity" | "charSet" | "content" | "httpEquiv" | "high" | "low" | "optimum" | "reversed" | "selected" | "defer" | "nonce" | "scoped" | "cellPadding" | "cellSpacing" | "colSpan" | "headers" | "rowSpan" | "scope" | "cols" | "wrap" | "kind" | "srcLang" | "poster" | "hasSelected" | "isInner"> & import("@material-ui/core/styles").StyledComponentProps<"animateTransform" | "pointer" | "thumb" | "noPoint">)>; | ||
declare const _default: React.ComponentType<(Pick<ClockPointerProps, "value" | "children" | "ref" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "className" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "disabled" | "required" | "size" | "list" | "step" | "autoComplete" | "autoFocus" | "name" | "rows" | "type" | "default" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "open" | "readOnly" | "start" | "height" | "max" | "media" | "method" | "min" | "target" | "width" | "crossOrigin" | "href" | "classID" | "useMap" | "wmode" | "download" | "hrefLang" | "rel" | "alt" | "coords" | "shape" | "autoPlay" | "controls" | "loop" | "mediaGroup" | "muted" | "playsInline" | "preload" | "src" | "dateTime" | "acceptCharset" | "action" | "encType" | "noValidate" | "manifest" | "allowFullScreen" | "allowTransparency" | "frameBorder" | "marginHeight" | "marginWidth" | "sandbox" | "scrolling" | "seamless" | "srcDoc" | "sizes" | "srcSet" | "async" | "accept" | "capture" | "checked" | "maxLength" | "minLength" | "multiple" | "challenge" | "keyType" | "keyParams" | "htmlFor" | "as" | "integrity" | "charSet" | "content" | "httpEquiv" | "high" | "low" | "optimum" | "reversed" | "selected" | "defer" | "nonce" | "scoped" | "cellPadding" | "cellSpacing" | "colSpan" | "headers" | "rowSpan" | "scope" | "cols" | "wrap" | "kind" | "srcLang" | "poster" | "hasSelected" | "isInner"> & import("@material-ui/core/styles").StyledComponentProps<"animateTransform" | "pointer" | "thumb" | "noPoint">) | (Pick<React.PropsWithChildren<ClockPointerProps>, "value" | "children" | "ref" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "className" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "disabled" | "required" | "size" | "list" | "step" | "autoComplete" | "autoFocus" | "name" | "rows" | "type" | "default" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "open" | "readOnly" | "start" | "height" | "max" | "media" | "method" | "min" | "target" | "width" | "crossOrigin" | "href" | "classID" | "useMap" | "wmode" | "download" | "hrefLang" | "rel" | "alt" | "coords" | "shape" | "autoPlay" | "controls" | "loop" | "mediaGroup" | "muted" | "playsInline" | "preload" | "src" | "dateTime" | "acceptCharset" | "action" | "encType" | "noValidate" | "manifest" | "allowFullScreen" | "allowTransparency" | "frameBorder" | "marginHeight" | "marginWidth" | "sandbox" | "scrolling" | "seamless" | "srcDoc" | "sizes" | "srcSet" | "async" | "accept" | "capture" | "checked" | "maxLength" | "minLength" | "multiple" | "challenge" | "keyType" | "keyParams" | "htmlFor" | "as" | "integrity" | "charSet" | "content" | "httpEquiv" | "high" | "low" | "optimum" | "reversed" | "selected" | "defer" | "nonce" | "scoped" | "cellPadding" | "cellSpacing" | "colSpan" | "headers" | "rowSpan" | "scope" | "cols" | "wrap" | "kind" | "srcLang" | "poster" | "hasSelected" | "isInner"> & import("@material-ui/core/styles").StyledComponentProps<"animateTransform" | "pointer" | "thumb" | "noPoint">)>; | ||
export default _default; |
import * as React from 'react'; | ||
import { ParsableDate } from '../../constants/prop-types'; | ||
import { MaterialUiPickersDate } from '../../typings/date'; | ||
import { PickerOnChangeFn } from '../../_shared/hooks/useViews'; | ||
import { ExportedArrowSwitcherProps } from '../../_shared/ArrowSwitcher'; | ||
export interface ExportedClockViewProps { | ||
import { TimeValidationProps } from '../../_helpers/time-utils'; | ||
export interface ExportedClockViewProps extends TimeValidationProps { | ||
/** | ||
@@ -27,10 +27,2 @@ * 12h/24h view for hour selection clock | ||
allowKeyboardControl?: boolean; | ||
/** Min time, date part by default, will be ignored */ | ||
minTime?: ParsableDate; | ||
/** Max time, date part by default, will be ignored */ | ||
maxTime?: ParsableDate; | ||
/** Dynamically check if time is disabled or not */ | ||
shouldDisableTime?: (timeValue: number, clockType: 'hours' | 'minutes' | 'seconds') => boolean; | ||
/** Do not ignore date part when validating min/max time */ | ||
disableTimeValidationIgnoreDatePart?: boolean; | ||
} | ||
@@ -37,0 +29,0 @@ export interface ClockViewProps extends ExportedClockViewProps, ExportedArrowSwitcherProps { |
@@ -1,3 +0,3 @@ | ||
export declare const MobileKeyboardInputView: import("react").ComponentType<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "children" | "ref" | "slot" | "style" | "title" | "onError" | "onChange" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & import("@material-ui/core/styles").StyledComponentProps<"root"> & { | ||
export declare const MobileKeyboardInputView: import("react").ComponentType<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "children" | "ref" | "slot" | "style" | "title" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & import("@material-ui/core/styles").StyledComponentProps<"root"> & { | ||
className?: string | undefined; | ||
}>; |
@@ -6,4 +6,3 @@ import React from 'react'; | ||
import { ResponsiveWrapperProps } from './ResponsiveWrapper'; | ||
import { DateValidationProps } from '../_helpers/text-field-helper'; | ||
import { SomeWrapper, WrapperProps } from './Wrapper'; | ||
import { SomeWrapper, WrapperProps, DateInputPropsLike } from './Wrapper'; | ||
interface MakePickerOptions<TInputProps> { | ||
@@ -15,7 +14,7 @@ PureDateInputComponent?: React.FC<TInputProps>; | ||
children: React.ReactNode; | ||
inputProps: TInputProps; | ||
DateInputProps: TInputProps; | ||
wrapperProps: Omit<WrapperProps, 'DateInputProps'>; | ||
} | ||
/** Creates a component that rendering modal/popover/nothing and spreading props down to text field */ | ||
export declare function makeWrapperComponent<TInputProps extends DateInputProps<TInputValue, TDateValue>, TInputValue, TDateValue, TWrapper extends SomeWrapper = any>(Wrapper: TWrapper, { KeyboardDateInputComponent, PureDateInputComponent }: MakePickerOptions<TInputProps>): (props: Partial<BasePickerProps<TInputValue, TDateValue>> & DateValidationProps & WithWrapperProps<TInputProps> & Partial<Pick<ResponsiveWrapperProps, "displayStaticWrapperAs" | "okLabel" | "cancelLabel" | "clearLabel" | "todayLabel" | "clearable" | "showTodayButton" | "showTabs" | "wider" | "TransitionComponent" | "DialogProps" | "PopoverProps" | "PopperProps" | "desktopModeBreakpoint"> & StaticWrapperProps>) => JSX.Element; | ||
export declare function makeWrapperComponent<TInputProps extends DateInputPropsLike<TInputValue, TDateValue>, TInputValue, TDateValue, TWrapper extends SomeWrapper = any>(Wrapper: TWrapper, { KeyboardDateInputComponent, PureDateInputComponent }: MakePickerOptions<TInputProps>): (props: Partial<BasePickerProps<TInputValue, TDateValue>> & WithWrapperProps<TInputProps> & Partial<Pick<ResponsiveWrapperProps, "displayStaticWrapperAs" | "okLabel" | "cancelLabel" | "clearLabel" | "todayLabel" | "clearable" | "showTodayButton" | "showTabs" | "wider" | "TransitionComponent" | "DialogProps" | "PopoverProps" | "PopperProps" | "desktopModeMediaQuery"> & StaticWrapperProps>) => JSX.Element; | ||
export {}; |
import * as React from 'react'; | ||
import { MobileWrapperProps } from './MobileWrapper'; | ||
import { DesktopWrapperProps } from './DesktopWrapper'; | ||
import { Breakpoint } from '@material-ui/core/styles/createBreakpoints'; | ||
import { DesktopPopperWrapperProps } from './DesktopPopperWrapper'; | ||
export interface ResponsiveWrapperProps extends DesktopWrapperProps, DesktopPopperWrapperProps, MobileWrapperProps { | ||
/** Breakpoint when `Desktop` mode will be changed to `Mobile` | ||
* @default 'md' | ||
/** Css media query when `Mobile` mode will be changed to `Desktop` | ||
* @default "@media (pointer: fine)" | ||
* @example "@media (min-width: 720px)" or theme.breakpoints.up("sm") | ||
*/ | ||
desktopModeBreakpoint?: Breakpoint; | ||
desktopModeMediaQuery?: string; | ||
} | ||
@@ -12,0 +12,0 @@ export declare const makeResponsiveWrapper: (DesktopWrapperComponent: React.FC<DesktopWrapperProps | DesktopPopperWrapperProps>, MobileWrapperComponent: React.FC<MobileWrapperProps>) => React.FC<ResponsiveWrapperProps>; |
@@ -7,3 +7,7 @@ import { DateInputProps } from '../_shared/PureDateInput'; | ||
import { DesktopPopperWrapper, DesktopPopperWrapperProps } from './DesktopPopperWrapper'; | ||
export interface WrapperProps<TInputProps = DateInputProps<any, any>> { | ||
export declare type DateInputPropsLike<TInputValue, TDateValue> = Omit<DateInputProps<TInputValue, TDateValue>, 'renderInput' | 'validationError'> & { | ||
renderInput: (...args: any) => JSX.Element; | ||
validationError?: any; | ||
}; | ||
export interface WrapperProps<TInputProps = DateInputPropsLike<any, any>> { | ||
open: boolean; | ||
@@ -21,4 +25,4 @@ onAccept: () => void; | ||
export declare type ExtendWrapper<TWrapper extends SomeWrapper> = TWrapper extends typeof StaticWrapper ? StaticWrapperProps : TWrapper extends typeof ResponsiveWrapper ? OmitInnerWrapperProps<ResponsiveWrapperProps> : TWrapper extends typeof MobileWrapper ? OmitInnerWrapperProps<MobileWrapperProps> : TWrapper extends typeof DesktopWrapper ? OmitInnerWrapperProps<DesktopWrapperProps> : TWrapper extends typeof DesktopWrapper ? OmitInnerWrapperProps<DesktopWrapperProps> : TWrapper extends typeof DesktopPopperWrapper ? OmitInnerWrapperProps<DesktopPopperWrapperProps> : never; | ||
export declare function getWrapperVariant(wrapper: SomeWrapper): "desktop" | "static" | "mobile" | null; | ||
export declare function getWrapperVariant(wrapper: SomeWrapper): "static" | "desktop" | "mobile" | null; | ||
export declare type WrapperVariant = ReturnType<typeof getWrapperVariant>; | ||
export { StaticWrapper, MobileWrapper as ModalWrapper, DesktopWrapper as InlineWrapper }; |
@@ -1,1 +0,2 @@ | ||
export declare const WrapperVariantContext: import("react").Context<"desktop" | "static" | "mobile" | null>; | ||
export declare const WrapperVariantContext: import("react").Context<"static" | "desktop" | "mobile" | null>; | ||
export declare const IsStaticVariantContext: import("react").Context<boolean>; |
import _defineProperty from '@babel/runtime/helpers/esm/defineProperty'; | ||
import React__default from 'react'; | ||
import _objectWithoutProperties from '@babel/runtime/helpers/esm/objectWithoutProperties'; | ||
import React__default, { createElement, Fragment } from 'react'; | ||
import 'prop-types'; | ||
import { u as useUtils } from './dimensions-bd426990.js'; | ||
import { u as useUtils } from './dimensions-47a2cb83.js'; | ||
import 'clsx'; | ||
import '@babel/runtime/helpers/esm/extends'; | ||
import '@babel/runtime/helpers/esm/objectWithoutProperties'; | ||
import '@material-ui/core/Grid'; | ||
@@ -13,9 +13,9 @@ import '@material-ui/core/Typography'; | ||
import { createSvgIcon } from '@material-ui/core/utils'; | ||
import { T as TimePickerToolbar } from './ClockView-03c73477.js'; | ||
import './ArrowSwitcher-b0a281b3.js'; | ||
import { T as TimePickerToolbar } from './ClockView-025342dc.js'; | ||
import './ArrowSwitcher-81199363.js'; | ||
import '@material-ui/core/styles'; | ||
import '@babel/runtime/helpers/esm/slicedToArray'; | ||
import '@babel/runtime/helpers/esm/typeof'; | ||
import './utils-66277a98.js'; | ||
import './Calendar-afaf51ae.js'; | ||
import { m as makePickerWithStateAndWrapper, R as ResponsiveWrapper, D as DesktopWrapper, M as MobileWrapper, S as StaticWrapper, t as timePickerDefaultProps } from './Wrapper-4adf0bef.js'; | ||
import './utils-ef34bcd7.js'; | ||
import './date-utils-2164e0cf.js'; | ||
import '@material-ui/core/useMediaQuery'; | ||
@@ -26,6 +26,5 @@ import '@material-ui/core/Button'; | ||
import '@material-ui/core/Dialog'; | ||
import '@material-ui/core/TextField'; | ||
import { p as pick12hOr24hFormat } from './Picker-2bbc7ba8.js'; | ||
import './WrapperVariantContext-747fba40.js'; | ||
import '@babel/runtime/helpers/esm/slicedToArray'; | ||
import { m as makeValidationHook, a as makePickerWithStateAndWrapper, R as ResponsiveWrapper, D as DesktopWrapper, M as MobileWrapper, S as StaticWrapper } from './makePickerWithState-42c3158e.js'; | ||
import { u as useParsedDate, p as pick12hOr24hFormat } from './Picker-af396809.js'; | ||
import './WrapperVariantContext-a0f5915b.js'; | ||
import '@material-ui/core/InputAdornment'; | ||
@@ -39,3 +38,3 @@ import 'rifm'; | ||
import './useKeyDown-e9a6112c.js'; | ||
import './usePickerState-71de5ec1.js'; | ||
import './usePickerState-7fd6a582.js'; | ||
import '@babel/runtime/helpers/esm/classCallCheck'; | ||
@@ -46,3 +45,3 @@ import '@babel/runtime/helpers/esm/createClass'; | ||
import '@babel/runtime/helpers/esm/inherits'; | ||
import './Clock-9baa7a72.js'; | ||
import { v as validateTime } from './Clock-fa87eff6.js'; | ||
import '@material-ui/core/ButtonBase'; | ||
@@ -52,9 +51,14 @@ import '@material-ui/core/CircularProgress'; | ||
import './Day.js'; | ||
import './Calendar.js'; | ||
import '@material-ui/core/Fade'; | ||
var ClockIcon = createSvgIcon(React__default.createElement(React__default.Fragment, null, React__default.createElement("path", { | ||
/** | ||
* @ignore - internal component. | ||
*/ | ||
var ClockIcon = createSvgIcon(createElement(Fragment, null, createElement("path", { | ||
d: "M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z" | ||
}), React__default.createElement("path", { | ||
}), createElement("path", { | ||
d: "M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z" | ||
})), 'ClockIcon'); | ||
})), 'Clock'); | ||
@@ -68,15 +72,23 @@ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } | ||
function useDefaultProps(_ref) { | ||
function useInterceptProps(_ref) { | ||
var ampm = _ref.ampm, | ||
mask = _ref.mask, | ||
inputFormat = _ref.inputFormat, | ||
__minTime = _ref.minTime, | ||
__maxTime = _ref.maxTime, | ||
_ref$openTo = _ref.openTo, | ||
openTo = _ref$openTo === void 0 ? 'hours' : _ref$openTo, | ||
_ref$views = _ref.views, | ||
views = _ref$views === void 0 ? ['hours', 'minutes'] : _ref$views; | ||
views = _ref$views === void 0 ? ['hours', 'minutes'] : _ref$views, | ||
other = _objectWithoutProperties(_ref, ["ampm", "mask", "inputFormat", "minTime", "maxTime", "openTo", "views"]); | ||
var utils = useUtils(); | ||
var minTime = useParsedDate(__minTime); | ||
var maxTime = useParsedDate(__maxTime); | ||
var willUseAmPm = ampm !== null && ampm !== void 0 ? ampm : utils.is12HourCycleInCurrentLocale(); | ||
return _objectSpread({}, timePickerDefaultProps, { | ||
return _objectSpread({ | ||
views: views, | ||
openTo: openTo, | ||
minTime: minTime, | ||
maxTime: maxTime, | ||
ampm: willUseAmPm, | ||
@@ -86,3 +98,3 @@ acceptRegex: willUseAmPm ? /[\dapAP]/gi : /\d/gi, | ||
getOpenDialogAriaText: getTextFieldAriaText, | ||
keyboardIcon: React__default.createElement(ClockIcon, null), | ||
openPickerIcon: React__default.createElement(ClockIcon, null), | ||
inputFormat: pick12hOr24hFormat(inputFormat, ampm, { | ||
@@ -93,23 +105,16 @@ localized: utils.formats.fullTime, | ||
}) | ||
}); | ||
}, other); | ||
} | ||
var TimePicker = makePickerWithStateAndWrapper(ResponsiveWrapper, { | ||
useDefaultProps: useDefaultProps, | ||
var timePickerConfig = { | ||
useInterceptProps: useInterceptProps, | ||
useValidation: makeValidationHook(validateTime), | ||
DefaultToolbarComponent: TimePickerToolbar | ||
}); | ||
var DesktopTimePicker = makePickerWithStateAndWrapper(DesktopWrapper, { | ||
useDefaultProps: useDefaultProps, | ||
DefaultToolbarComponent: TimePickerToolbar | ||
}); | ||
var MobileTimePicker = makePickerWithStateAndWrapper(MobileWrapper, { | ||
useDefaultProps: useDefaultProps, | ||
DefaultToolbarComponent: TimePickerToolbar | ||
}); | ||
var StaticTimePicker = makePickerWithStateAndWrapper(StaticWrapper, { | ||
useDefaultProps: useDefaultProps, | ||
DefaultToolbarComponent: TimePickerToolbar | ||
}); | ||
}; | ||
var TimePicker = makePickerWithStateAndWrapper(ResponsiveWrapper, timePickerConfig); | ||
var DesktopTimePicker = makePickerWithStateAndWrapper(DesktopWrapper, timePickerConfig); | ||
var MobileTimePicker = makePickerWithStateAndWrapper(MobileWrapper, timePickerConfig); | ||
var StaticTimePicker = makePickerWithStateAndWrapper(StaticWrapper, timePickerConfig); | ||
export { DesktopTimePicker, MobileTimePicker, StaticTimePicker, TimePicker, getTextFieldAriaText }; | ||
//# sourceMappingURL=TimePicker.js.map |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
160
2252594
24065
+ Addedrifm@0.11.0(transitive)
- Removedrifm@0.10.1(transitive)
Updated@date-io/date-fns@^2.6.0
Updated@date-io/dayjs@^2.6.0
Updated@date-io/luxon@^2.6.0
Updated@date-io/moment@^2.6.0
Updatedrifm@^0.11.0