@mui/x-date-pickers-pro 6.18.1 → 7.0.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +149 -0
- package/DateRangeCalendar/DateRangeCalendar.js +4 -20
- package/DateRangeCalendar/DateRangeCalendar.types.d.ts +4 -16
- package/DateRangePicker/DateRangePicker.js +0 -12
- package/DateRangePicker/DateRangePicker.types.d.ts +1 -14
- package/DateRangePicker/shared.d.ts +3 -15
- package/DateRangePicker/shared.js +7 -15
- package/DesktopDateRangePicker/DesktopDateRangePicker.js +0 -12
- package/DesktopDateRangePicker/DesktopDateRangePicker.types.d.ts +3 -15
- package/MobileDateRangePicker/MobileDateRangePicker.js +0 -12
- package/MobileDateRangePicker/MobileDateRangePicker.types.d.ts +3 -15
- package/MultiInputDateRangeField/MultiInputDateRangeField.js +6 -22
- package/MultiInputDateRangeField/MultiInputDateRangeField.types.d.ts +4 -17
- package/MultiInputDateTimeRangeField/MultiInputDateTimeRangeField.js +4 -20
- package/MultiInputDateTimeRangeField/MultiInputDateTimeRangeField.types.d.ts +4 -17
- package/MultiInputTimeRangeField/MultiInputTimeRangeField.js +4 -20
- package/MultiInputTimeRangeField/MultiInputTimeRangeField.types.d.ts +4 -17
- package/SingleInputDateRangeField/SingleInputDateRangeField.js +5 -21
- package/SingleInputDateRangeField/SingleInputDateRangeField.types.d.ts +3 -15
- package/SingleInputDateTimeRangeField/SingleInputDateTimeRangeField.js +5 -21
- package/SingleInputDateTimeRangeField/SingleInputDateTimeRangeField.types.d.ts +3 -15
- package/SingleInputTimeRangeField/SingleInputTimeRangeField.js +5 -21
- package/SingleInputTimeRangeField/SingleInputTimeRangeField.types.d.ts +3 -15
- package/StaticDateRangePicker/StaticDateRangePicker.js +0 -12
- package/StaticDateRangePicker/StaticDateRangePicker.types.d.ts +2 -14
- package/dateRangeViewRenderers/dateRangeViewRenderers.d.ts +1 -1
- package/dateRangeViewRenderers/dateRangeViewRenderers.js +0 -4
- package/index.js +1 -1
- package/internals/hooks/useDesktopRangePicker/useDesktopRangePicker.types.d.ts +2 -2
- package/internals/hooks/useEnrichedRangePickerFieldProps.d.ts +6 -6
- package/internals/hooks/useMobileRangePicker/useMobileRangePicker.types.d.ts +2 -2
- package/internals/hooks/useMultiInputRangeField/useMultiInputTimeRangeField.js +9 -3
- package/internals/hooks/useStaticRangePicker/useStaticRangePicker.types.d.ts +2 -2
- package/internals/utils/releaseInfo.js +1 -1
- package/legacy/DateRangeCalendar/DateRangeCalendar.js +4 -20
- package/legacy/DateRangePicker/DateRangePicker.js +0 -12
- package/legacy/DateRangePicker/shared.js +7 -13
- package/legacy/DesktopDateRangePicker/DesktopDateRangePicker.js +0 -12
- package/legacy/MobileDateRangePicker/MobileDateRangePicker.js +0 -12
- package/legacy/MultiInputDateRangeField/MultiInputDateRangeField.js +6 -22
- package/legacy/MultiInputDateTimeRangeField/MultiInputDateTimeRangeField.js +4 -20
- package/legacy/MultiInputTimeRangeField/MultiInputTimeRangeField.js +4 -20
- package/legacy/SingleInputDateRangeField/SingleInputDateRangeField.js +5 -21
- package/legacy/SingleInputDateTimeRangeField/SingleInputDateTimeRangeField.js +5 -21
- package/legacy/SingleInputTimeRangeField/SingleInputTimeRangeField.js +5 -21
- package/legacy/StaticDateRangePicker/StaticDateRangePicker.js +0 -12
- package/legacy/dateRangeViewRenderers/dateRangeViewRenderers.js +0 -4
- package/legacy/index.js +1 -1
- package/legacy/internals/hooks/useMultiInputRangeField/useMultiInputTimeRangeField.js +9 -3
- package/legacy/internals/utils/releaseInfo.js +1 -1
- package/modern/DateRangeCalendar/DateRangeCalendar.js +4 -20
- package/modern/DateRangePicker/DateRangePicker.js +0 -12
- package/modern/DateRangePicker/shared.js +6 -14
- package/modern/DesktopDateRangePicker/DesktopDateRangePicker.js +0 -12
- package/modern/MobileDateRangePicker/MobileDateRangePicker.js +0 -12
- package/modern/MultiInputDateRangeField/MultiInputDateRangeField.js +5 -21
- package/modern/MultiInputDateTimeRangeField/MultiInputDateTimeRangeField.js +4 -20
- package/modern/MultiInputTimeRangeField/MultiInputTimeRangeField.js +4 -20
- package/modern/SingleInputDateRangeField/SingleInputDateRangeField.js +4 -20
- package/modern/SingleInputDateTimeRangeField/SingleInputDateTimeRangeField.js +4 -20
- package/modern/SingleInputTimeRangeField/SingleInputTimeRangeField.js +4 -20
- package/modern/StaticDateRangePicker/StaticDateRangePicker.js +0 -12
- package/modern/dateRangeViewRenderers/dateRangeViewRenderers.js +0 -4
- package/modern/index.js +1 -1
- package/modern/internals/hooks/useMultiInputRangeField/useMultiInputTimeRangeField.js +9 -3
- package/modern/internals/utils/releaseInfo.js +1 -1
- package/node/DateRangeCalendar/DateRangeCalendar.js +3 -19
- package/node/DateRangePicker/DateRangePicker.js +0 -12
- package/node/DateRangePicker/shared.js +5 -13
- package/node/DesktopDateRangePicker/DesktopDateRangePicker.js +0 -12
- package/node/MobileDateRangePicker/MobileDateRangePicker.js +0 -12
- package/node/MultiInputDateRangeField/MultiInputDateRangeField.js +4 -20
- package/node/MultiInputDateTimeRangeField/MultiInputDateTimeRangeField.js +3 -19
- package/node/MultiInputTimeRangeField/MultiInputTimeRangeField.js +3 -19
- package/node/SingleInputDateRangeField/SingleInputDateRangeField.js +4 -20
- package/node/SingleInputDateTimeRangeField/SingleInputDateTimeRangeField.js +4 -20
- package/node/SingleInputTimeRangeField/SingleInputTimeRangeField.js +4 -20
- package/node/StaticDateRangePicker/StaticDateRangePicker.js +0 -12
- package/node/dateRangeViewRenderers/dateRangeViewRenderers.js +0 -4
- package/node/index.js +1 -1
- package/node/internals/hooks/useMultiInputRangeField/useMultiInputTimeRangeField.js +9 -3
- package/node/internals/utils/releaseInfo.js +1 -1
- package/package.json +3 -3
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
2
2
|
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
|
|
3
|
-
const _excluded = ["slots", "slotProps", "
|
|
3
|
+
const _excluded = ["slots", "slotProps", "InputProps", "inputProps"],
|
|
4
4
|
_excluded2 = ["inputRef"],
|
|
5
5
|
_excluded3 = ["ref", "onPaste", "onKeyDown", "inputMode", "readOnly", "clearable", "onClear"];
|
|
6
6
|
import * as React from 'react';
|
|
@@ -30,17 +30,15 @@ const SingleInputTimeRangeField = /*#__PURE__*/React.forwardRef(function SingleI
|
|
|
30
30
|
const {
|
|
31
31
|
slots,
|
|
32
32
|
slotProps,
|
|
33
|
-
components,
|
|
34
|
-
componentsProps,
|
|
35
33
|
InputProps,
|
|
36
34
|
inputProps
|
|
37
35
|
} = themeProps,
|
|
38
36
|
other = _objectWithoutPropertiesLoose(themeProps, _excluded);
|
|
39
37
|
const ownerState = themeProps;
|
|
40
|
-
const TextField = slots?.textField ??
|
|
38
|
+
const TextField = slots?.textField ?? MuiTextField;
|
|
41
39
|
const _useSlotProps = useSlotProps({
|
|
42
40
|
elementType: TextField,
|
|
43
|
-
externalSlotProps: slotProps?.textField
|
|
41
|
+
externalSlotProps: slotProps?.textField,
|
|
44
42
|
externalForwardedProps: other,
|
|
45
43
|
ownerState
|
|
46
44
|
}),
|
|
@@ -75,9 +73,7 @@ const SingleInputTimeRangeField = /*#__PURE__*/React.forwardRef(function SingleI
|
|
|
75
73
|
fieldProps,
|
|
76
74
|
InputProps: fieldProps.InputProps,
|
|
77
75
|
slots,
|
|
78
|
-
slotProps
|
|
79
|
-
components,
|
|
80
|
-
componentsProps
|
|
76
|
+
slotProps
|
|
81
77
|
});
|
|
82
78
|
return /*#__PURE__*/_jsx(TextField, _extends({
|
|
83
79
|
ref: ref
|
|
@@ -123,18 +119,6 @@ process.env.NODE_ENV !== "production" ? SingleInputTimeRangeField.propTypes = {
|
|
|
123
119
|
*/
|
|
124
120
|
color: PropTypes.oneOf(['error', 'info', 'primary', 'secondary', 'success', 'warning']),
|
|
125
121
|
component: PropTypes.elementType,
|
|
126
|
-
/**
|
|
127
|
-
* Overridable components.
|
|
128
|
-
* @default {}
|
|
129
|
-
* @deprecated Please use `slots`.
|
|
130
|
-
*/
|
|
131
|
-
components: PropTypes.object,
|
|
132
|
-
/**
|
|
133
|
-
* The props used for each component slot.
|
|
134
|
-
* @default {}
|
|
135
|
-
* @deprecated Please use `slotProps`.
|
|
136
|
-
*/
|
|
137
|
-
componentsProps: PropTypes.object,
|
|
138
122
|
/**
|
|
139
123
|
* The default value. Use when the component is not controlled.
|
|
140
124
|
*/
|
|
@@ -68,18 +68,6 @@ StaticDateRangePicker.propTypes = {
|
|
|
68
68
|
* Class name applied to the root element.
|
|
69
69
|
*/
|
|
70
70
|
className: PropTypes.string,
|
|
71
|
-
/**
|
|
72
|
-
* Overridable components.
|
|
73
|
-
* @default {}
|
|
74
|
-
* @deprecated Please use `slots`.
|
|
75
|
-
*/
|
|
76
|
-
components: PropTypes.object,
|
|
77
|
-
/**
|
|
78
|
-
* The props used for each component slot.
|
|
79
|
-
* @default {}
|
|
80
|
-
* @deprecated Please use `slotProps`.
|
|
81
|
-
*/
|
|
82
|
-
componentsProps: PropTypes.object,
|
|
83
71
|
/**
|
|
84
72
|
* Position the current month is rendered in.
|
|
85
73
|
* @default 1
|
|
@@ -25,8 +25,6 @@ export const renderDateRangeViewCalendar = ({
|
|
|
25
25
|
onRangePositionChange,
|
|
26
26
|
calendars,
|
|
27
27
|
currentMonthCalendarPosition,
|
|
28
|
-
components,
|
|
29
|
-
componentsProps,
|
|
30
28
|
slots,
|
|
31
29
|
slotProps,
|
|
32
30
|
loading,
|
|
@@ -63,8 +61,6 @@ export const renderDateRangeViewCalendar = ({
|
|
|
63
61
|
onRangePositionChange: onRangePositionChange,
|
|
64
62
|
calendars: calendars,
|
|
65
63
|
currentMonthCalendarPosition: currentMonthCalendarPosition,
|
|
66
|
-
components: components,
|
|
67
|
-
componentsProps: componentsProps,
|
|
68
64
|
slots: slots,
|
|
69
65
|
slotProps: slotProps,
|
|
70
66
|
loading: loading,
|
package/modern/index.js
CHANGED
|
@@ -34,7 +34,9 @@ export const useMultiInputTimeRangeField = ({
|
|
|
34
34
|
timezone: timezoneProp,
|
|
35
35
|
onChange,
|
|
36
36
|
disabled,
|
|
37
|
-
readOnly
|
|
37
|
+
readOnly,
|
|
38
|
+
selectedSections,
|
|
39
|
+
onSelectedSectionsChange
|
|
38
40
|
} = sharedProps;
|
|
39
41
|
const {
|
|
40
42
|
value,
|
|
@@ -82,7 +84,9 @@ export const useMultiInputTimeRangeField = ({
|
|
|
82
84
|
unstableFieldRef: unstableStartFieldRef,
|
|
83
85
|
value: valueProp === undefined ? undefined : valueProp[0],
|
|
84
86
|
defaultValue: defaultValue === undefined ? undefined : defaultValue[0],
|
|
85
|
-
onChange: handleStartDateChange
|
|
87
|
+
onChange: handleStartDateChange,
|
|
88
|
+
selectedSections,
|
|
89
|
+
onSelectedSectionsChange
|
|
86
90
|
});
|
|
87
91
|
const endFieldProps = _extends({
|
|
88
92
|
error: !!validationError[1]
|
|
@@ -95,7 +99,9 @@ export const useMultiInputTimeRangeField = ({
|
|
|
95
99
|
unstableFieldRef: unstableEndFieldRef,
|
|
96
100
|
value: valueProp === undefined ? undefined : valueProp[1],
|
|
97
101
|
defaultValue: defaultValue === undefined ? undefined : defaultValue[1],
|
|
98
|
-
onChange: handleEndDateChange
|
|
102
|
+
onChange: handleEndDateChange,
|
|
103
|
+
selectedSections,
|
|
104
|
+
onSelectedSectionsChange
|
|
99
105
|
});
|
|
100
106
|
const startDateResponse = useTimeField({
|
|
101
107
|
props: startFieldProps,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ponyfillGlobal } from '@mui/utils';
|
|
2
2
|
export const getReleaseInfo = () => {
|
|
3
|
-
const releaseInfo = "
|
|
3
|
+
const releaseInfo = "MTY5OTU3MDgwMDAwMA==";
|
|
4
4
|
if (process.env.NODE_ENV !== 'production') {
|
|
5
5
|
// A simple hack to set the value in the test environment (has no build step).
|
|
6
6
|
// eslint-disable-next-line no-useless-concat
|
|
@@ -27,7 +27,7 @@ var _valueManagers = require("../internals/utils/valueManagers");
|
|
|
27
27
|
var _useDragRange2 = require("./useDragRange");
|
|
28
28
|
var _useRangePosition = require("../internals/hooks/useRangePosition");
|
|
29
29
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
30
|
-
const _excluded = ["value", "defaultValue", "referenceDate", "onChange", "className", "disableFuture", "disablePast", "minDate", "maxDate", "shouldDisableDate", "reduceAnimations", "onMonthChange", "defaultCalendarMonth", "rangePosition", "defaultRangePosition", "onRangePositionChange", "calendars", "currentMonthCalendarPosition", "
|
|
30
|
+
const _excluded = ["value", "defaultValue", "referenceDate", "onChange", "className", "disableFuture", "disablePast", "minDate", "maxDate", "shouldDisableDate", "reduceAnimations", "onMonthChange", "defaultCalendarMonth", "rangePosition", "defaultRangePosition", "onRangePositionChange", "calendars", "currentMonthCalendarPosition", "slots", "slotProps", "loading", "renderLoading", "disableHighlightToday", "readOnly", "disabled", "showDaysOutsideCurrentMonth", "dayOfWeekFormatter", "disableAutoMonthSwitching", "autoFocus", "fixedWeekNumber", "disableDragEditing", "displayWeekNumber", "timezone"],
|
|
31
31
|
_excluded2 = ["isDragging", "rangeDragDay", "draggingDatePosition"];
|
|
32
32
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
33
33
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
@@ -150,10 +150,8 @@ const DateRangeCalendar = exports.DateRangeCalendar = /*#__PURE__*/React.forward
|
|
|
150
150
|
onRangePositionChange: inOnRangePositionChange,
|
|
151
151
|
calendars,
|
|
152
152
|
currentMonthCalendarPosition = 1,
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
slots: innerSlots,
|
|
156
|
-
slotProps: innerSlotProps,
|
|
153
|
+
slots,
|
|
154
|
+
slotProps,
|
|
157
155
|
loading,
|
|
158
156
|
renderLoading,
|
|
159
157
|
disableHighlightToday,
|
|
@@ -184,8 +182,6 @@ const DateRangeCalendar = exports.DateRangeCalendar = /*#__PURE__*/React.forward
|
|
|
184
182
|
const utils = (0, _internals.useUtils)();
|
|
185
183
|
const localeText = (0, _internals.useLocaleText)();
|
|
186
184
|
const now = (0, _internals.useNow)(timezone);
|
|
187
|
-
const slots = innerSlots ?? (0, _internals.uncapitalizeObjectKeys)(components);
|
|
188
|
-
const slotProps = innerSlotProps ?? componentsProps;
|
|
189
185
|
const {
|
|
190
186
|
rangePosition,
|
|
191
187
|
onRangePositionChange
|
|
@@ -504,18 +500,6 @@ process.env.NODE_ENV !== "production" ? DateRangeCalendar.propTypes = {
|
|
|
504
500
|
calendars: _propTypes.default.oneOf([1, 2, 3]),
|
|
505
501
|
classes: _propTypes.default.object,
|
|
506
502
|
className: _propTypes.default.string,
|
|
507
|
-
/**
|
|
508
|
-
* Overridable components.
|
|
509
|
-
* @default {}
|
|
510
|
-
* @deprecated Please use `slots`.
|
|
511
|
-
*/
|
|
512
|
-
components: _propTypes.default.object,
|
|
513
|
-
/**
|
|
514
|
-
* The props used for each component slot.
|
|
515
|
-
* @default {}
|
|
516
|
-
* @deprecated Please use `slotProps`.
|
|
517
|
-
*/
|
|
518
|
-
componentsProps: _propTypes.default.object,
|
|
519
503
|
/**
|
|
520
504
|
* Position the current month is rendered in.
|
|
521
505
|
* @default 1
|
|
@@ -77,18 +77,6 @@ process.env.NODE_ENV !== "production" ? DateRangePicker.propTypes = {
|
|
|
77
77
|
* @default `true` for desktop, `false` for mobile (based on the chosen wrapper and `desktopModeMediaQuery` prop).
|
|
78
78
|
*/
|
|
79
79
|
closeOnSelect: _propTypes.default.bool,
|
|
80
|
-
/**
|
|
81
|
-
* Overridable components.
|
|
82
|
-
* @default {}
|
|
83
|
-
* @deprecated Please use `slots`.
|
|
84
|
-
*/
|
|
85
|
-
components: _propTypes.default.object,
|
|
86
|
-
/**
|
|
87
|
-
* The props used for each component slot.
|
|
88
|
-
* @default {}
|
|
89
|
-
* @deprecated Please use `slotProps`.
|
|
90
|
-
*/
|
|
91
|
-
componentsProps: _propTypes.default.object,
|
|
92
80
|
/**
|
|
93
81
|
* Position the current month is rendered in.
|
|
94
82
|
* @default 1
|
|
@@ -6,26 +6,19 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.useDateRangePickerDefaultizedProps = useDateRangePickerDefaultizedProps;
|
|
8
8
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
9
|
-
var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose"));
|
|
10
9
|
var React = _interopRequireWildcard(require("react"));
|
|
11
10
|
var _styles = require("@mui/material/styles");
|
|
12
11
|
var _internals = require("@mui/x-date-pickers/internals");
|
|
13
12
|
var _DateRangePickerToolbar = require("./DateRangePickerToolbar");
|
|
14
|
-
const _excluded = ["components", "componentsProps"];
|
|
15
13
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
16
14
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
17
15
|
function useDateRangePickerDefaultizedProps(props, name) {
|
|
18
16
|
const utils = (0, _internals.useUtils)();
|
|
19
17
|
const defaultDates = (0, _internals.useDefaultDates)();
|
|
20
|
-
const
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
{
|
|
25
|
-
components,
|
|
26
|
-
componentsProps
|
|
27
|
-
} = _useThemeProps,
|
|
28
|
-
themeProps = (0, _objectWithoutPropertiesLoose2.default)(_useThemeProps, _excluded);
|
|
18
|
+
const themeProps = (0, _styles.useThemeProps)({
|
|
19
|
+
props,
|
|
20
|
+
name
|
|
21
|
+
});
|
|
29
22
|
const localeText = React.useMemo(() => {
|
|
30
23
|
if (themeProps.localeText?.toolbarTitle == null) {
|
|
31
24
|
return themeProps.localeText;
|
|
@@ -42,7 +35,6 @@ function useDateRangePickerDefaultizedProps(props, name) {
|
|
|
42
35
|
maxDate: (0, _internals.applyDefaultDate)(utils, themeProps.maxDate, defaultDates.maxDate),
|
|
43
36
|
slots: (0, _extends2.default)({
|
|
44
37
|
toolbar: _DateRangePickerToolbar.DateRangePickerToolbar
|
|
45
|
-
}, themeProps.slots
|
|
46
|
-
slotProps: themeProps.slotProps ?? componentsProps
|
|
38
|
+
}, themeProps.slots)
|
|
47
39
|
});
|
|
48
40
|
}
|
|
@@ -88,18 +88,6 @@ DesktopDateRangePicker.propTypes = {
|
|
|
88
88
|
* @default `true` for desktop, `false` for mobile (based on the chosen wrapper and `desktopModeMediaQuery` prop).
|
|
89
89
|
*/
|
|
90
90
|
closeOnSelect: _propTypes.default.bool,
|
|
91
|
-
/**
|
|
92
|
-
* Overridable components.
|
|
93
|
-
* @default {}
|
|
94
|
-
* @deprecated Please use `slots`.
|
|
95
|
-
*/
|
|
96
|
-
components: _propTypes.default.object,
|
|
97
|
-
/**
|
|
98
|
-
* The props used for each component slot.
|
|
99
|
-
* @default {}
|
|
100
|
-
* @deprecated Please use `slotProps`.
|
|
101
|
-
*/
|
|
102
|
-
componentsProps: _propTypes.default.object,
|
|
103
91
|
/**
|
|
104
92
|
* Position the current month is rendered in.
|
|
105
93
|
* @default 1
|
|
@@ -88,18 +88,6 @@ MobileDateRangePicker.propTypes = {
|
|
|
88
88
|
* @default `true` for desktop, `false` for mobile (based on the chosen wrapper and `desktopModeMediaQuery` prop).
|
|
89
89
|
*/
|
|
90
90
|
closeOnSelect: _propTypes.default.bool,
|
|
91
|
-
/**
|
|
92
|
-
* Overridable components.
|
|
93
|
-
* @default {}
|
|
94
|
-
* @deprecated Please use `slots`.
|
|
95
|
-
*/
|
|
96
|
-
components: _propTypes.default.object,
|
|
97
|
-
/**
|
|
98
|
-
* The props used for each component slot.
|
|
99
|
-
* @default {}
|
|
100
|
-
* @deprecated Please use `slotProps`.
|
|
101
|
-
*/
|
|
102
|
-
componentsProps: _propTypes.default.object,
|
|
103
91
|
/**
|
|
104
92
|
* Position the current month is rendered in.
|
|
105
93
|
* @default 1
|
|
@@ -19,7 +19,7 @@ var _utils2 = require("@mui/utils");
|
|
|
19
19
|
var _internals = require("@mui/x-date-pickers/internals");
|
|
20
20
|
var _useMultiInputDateRangeField = require("../internals/hooks/useMultiInputRangeField/useMultiInputDateRangeField");
|
|
21
21
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
22
|
-
const _excluded = ["slots", "slotProps", "
|
|
22
|
+
const _excluded = ["slots", "slotProps", "disabled", "autoFocus", "unstableStartFieldRef", "unstableEndFieldRef", "className"],
|
|
23
23
|
_excluded2 = ["onKeyDown", "ref", "readOnly", "inputMode"],
|
|
24
24
|
_excluded3 = ["onKeyDown", "ref", "readOnly", "inputMode"];
|
|
25
25
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
@@ -74,10 +74,8 @@ const MultiInputDateRangeField = exports.MultiInputDateRangeField = /*#__PURE__*
|
|
|
74
74
|
forwardedProps
|
|
75
75
|
} = (0, _internals.splitFieldInternalAndForwardedProps)(themeProps, 'date');
|
|
76
76
|
const {
|
|
77
|
-
slots
|
|
78
|
-
slotProps
|
|
79
|
-
components,
|
|
80
|
-
componentsProps,
|
|
77
|
+
slots,
|
|
78
|
+
slotProps,
|
|
81
79
|
disabled,
|
|
82
80
|
autoFocus,
|
|
83
81
|
unstableStartFieldRef,
|
|
@@ -85,8 +83,6 @@ const MultiInputDateRangeField = exports.MultiInputDateRangeField = /*#__PURE__*
|
|
|
85
83
|
className
|
|
86
84
|
} = forwardedProps,
|
|
87
85
|
otherForwardedProps = (0, _objectWithoutPropertiesLoose2.default)(forwardedProps, _excluded);
|
|
88
|
-
const slots = innerSlots ?? (0, _internals.uncapitalizeObjectKeys)(components);
|
|
89
|
-
const slotProps = innerSlotProps ?? componentsProps;
|
|
90
86
|
const ownerState = themeProps;
|
|
91
87
|
const classes = useUtilityClasses(ownerState);
|
|
92
88
|
const Root = slots?.root ?? MultiInputDateRangeFieldRoot;
|
|
@@ -121,7 +117,7 @@ const MultiInputDateRangeField = exports.MultiInputDateRangeField = /*#__PURE__*
|
|
|
121
117
|
const Separator = slots?.separator ?? MultiInputDateRangeFieldSeparator;
|
|
122
118
|
const separatorProps = (0, _utils.useSlotProps)({
|
|
123
119
|
elementType: Separator,
|
|
124
|
-
externalSlotProps: slotProps?.separator
|
|
120
|
+
externalSlotProps: slotProps?.separator,
|
|
125
121
|
ownerState,
|
|
126
122
|
className: classes.separator
|
|
127
123
|
});
|
|
@@ -191,18 +187,6 @@ process.env.NODE_ENV !== "production" ? MultiInputDateRangeField.propTypes = {
|
|
|
191
187
|
classes: _propTypes.default.object,
|
|
192
188
|
className: _propTypes.default.string,
|
|
193
189
|
component: _propTypes.default.elementType,
|
|
194
|
-
/**
|
|
195
|
-
* Overridable components.
|
|
196
|
-
* @default {}
|
|
197
|
-
* @deprecated Please use `slots`.
|
|
198
|
-
*/
|
|
199
|
-
components: _propTypes.default.object,
|
|
200
|
-
/**
|
|
201
|
-
* The props used for each component slot.
|
|
202
|
-
* @default {}
|
|
203
|
-
* @deprecated Please use `slotProps`.
|
|
204
|
-
*/
|
|
205
|
-
componentsProps: _propTypes.default.object,
|
|
206
190
|
/**
|
|
207
191
|
* The default value. Use when the component is not controlled.
|
|
208
192
|
*/
|
|
@@ -19,7 +19,7 @@ var _utils2 = require("@mui/utils");
|
|
|
19
19
|
var _internals = require("@mui/x-date-pickers/internals");
|
|
20
20
|
var _useMultiInputDateTimeRangeField = require("../internals/hooks/useMultiInputRangeField/useMultiInputDateTimeRangeField");
|
|
21
21
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
22
|
-
const _excluded = ["slots", "slotProps", "
|
|
22
|
+
const _excluded = ["slots", "slotProps", "disabled", "autoFocus", "unstableStartFieldRef", "unstableEndFieldRef", "className"],
|
|
23
23
|
_excluded2 = ["onKeyDown", "ref", "readOnly", "inputMode"],
|
|
24
24
|
_excluded3 = ["onKeyDown", "ref", "readOnly", "inputMode"];
|
|
25
25
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
@@ -74,10 +74,8 @@ const MultiInputDateTimeRangeField = exports.MultiInputDateTimeRangeField = /*#_
|
|
|
74
74
|
forwardedProps
|
|
75
75
|
} = (0, _internals.splitFieldInternalAndForwardedProps)(themeProps, 'date-time');
|
|
76
76
|
const {
|
|
77
|
-
slots
|
|
78
|
-
slotProps
|
|
79
|
-
components,
|
|
80
|
-
componentsProps,
|
|
77
|
+
slots,
|
|
78
|
+
slotProps,
|
|
81
79
|
disabled,
|
|
82
80
|
autoFocus,
|
|
83
81
|
unstableStartFieldRef,
|
|
@@ -85,8 +83,6 @@ const MultiInputDateTimeRangeField = exports.MultiInputDateTimeRangeField = /*#_
|
|
|
85
83
|
className
|
|
86
84
|
} = forwardedProps,
|
|
87
85
|
otherForwardedProps = (0, _objectWithoutPropertiesLoose2.default)(forwardedProps, _excluded);
|
|
88
|
-
const slots = innerSlots ?? (0, _internals.uncapitalizeObjectKeys)(components);
|
|
89
|
-
const slotProps = innerSlotProps ?? componentsProps;
|
|
90
86
|
const ownerState = themeProps;
|
|
91
87
|
const classes = useUtilityClasses(ownerState);
|
|
92
88
|
const Root = slots?.root ?? MultiInputDateTimeRangeFieldRoot;
|
|
@@ -196,18 +192,6 @@ process.env.NODE_ENV !== "production" ? MultiInputDateTimeRangeField.propTypes =
|
|
|
196
192
|
classes: _propTypes.default.object,
|
|
197
193
|
className: _propTypes.default.string,
|
|
198
194
|
component: _propTypes.default.elementType,
|
|
199
|
-
/**
|
|
200
|
-
* Overridable components.
|
|
201
|
-
* @default {}
|
|
202
|
-
* @deprecated Please use `slots`.
|
|
203
|
-
*/
|
|
204
|
-
components: _propTypes.default.object,
|
|
205
|
-
/**
|
|
206
|
-
* The props used for each component slot.
|
|
207
|
-
* @default {}
|
|
208
|
-
* @deprecated Please use `slotProps`.
|
|
209
|
-
*/
|
|
210
|
-
componentsProps: _propTypes.default.object,
|
|
211
195
|
/**
|
|
212
196
|
* The default value. Use when the component is not controlled.
|
|
213
197
|
*/
|
|
@@ -19,7 +19,7 @@ var _utils2 = require("@mui/utils");
|
|
|
19
19
|
var _internals = require("@mui/x-date-pickers/internals");
|
|
20
20
|
var _useMultiInputTimeRangeField = require("../internals/hooks/useMultiInputRangeField/useMultiInputTimeRangeField");
|
|
21
21
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
22
|
-
const _excluded = ["slots", "slotProps", "
|
|
22
|
+
const _excluded = ["slots", "slotProps", "disabled", "autoFocus", "unstableStartFieldRef", "unstableEndFieldRef", "className"],
|
|
23
23
|
_excluded2 = ["onKeyDown", "ref", "readOnly", "inputMode"],
|
|
24
24
|
_excluded3 = ["onKeyDown", "ref", "readOnly", "inputMode"];
|
|
25
25
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
@@ -74,10 +74,8 @@ const MultiInputTimeRangeField = exports.MultiInputTimeRangeField = /*#__PURE__*
|
|
|
74
74
|
forwardedProps
|
|
75
75
|
} = (0, _internals.splitFieldInternalAndForwardedProps)(themeProps, 'time');
|
|
76
76
|
const {
|
|
77
|
-
slots
|
|
78
|
-
slotProps
|
|
79
|
-
components,
|
|
80
|
-
componentsProps,
|
|
77
|
+
slots,
|
|
78
|
+
slotProps,
|
|
81
79
|
disabled,
|
|
82
80
|
autoFocus,
|
|
83
81
|
unstableStartFieldRef,
|
|
@@ -85,8 +83,6 @@ const MultiInputTimeRangeField = exports.MultiInputTimeRangeField = /*#__PURE__*
|
|
|
85
83
|
className
|
|
86
84
|
} = forwardedProps,
|
|
87
85
|
otherForwardedProps = (0, _objectWithoutPropertiesLoose2.default)(forwardedProps, _excluded);
|
|
88
|
-
const slots = innerSlots ?? (0, _internals.uncapitalizeObjectKeys)(components);
|
|
89
|
-
const slotProps = innerSlotProps ?? componentsProps;
|
|
90
86
|
const ownerState = themeProps;
|
|
91
87
|
const classes = useUtilityClasses(ownerState);
|
|
92
88
|
const Root = slots?.root ?? MultiInputTimeRangeFieldRoot;
|
|
@@ -196,18 +192,6 @@ process.env.NODE_ENV !== "production" ? MultiInputTimeRangeField.propTypes = {
|
|
|
196
192
|
classes: _propTypes.default.object,
|
|
197
193
|
className: _propTypes.default.string,
|
|
198
194
|
component: _propTypes.default.elementType,
|
|
199
|
-
/**
|
|
200
|
-
* Overridable components.
|
|
201
|
-
* @default {}
|
|
202
|
-
* @deprecated Please use `slots`.
|
|
203
|
-
*/
|
|
204
|
-
components: _propTypes.default.object,
|
|
205
|
-
/**
|
|
206
|
-
* The props used for each component slot.
|
|
207
|
-
* @default {}
|
|
208
|
-
* @deprecated Please use `slotProps`.
|
|
209
|
-
*/
|
|
210
|
-
componentsProps: _propTypes.default.object,
|
|
211
195
|
/**
|
|
212
196
|
* The default value. Use when the component is not controlled.
|
|
213
197
|
*/
|
|
@@ -16,7 +16,7 @@ var _hooks = require("@mui/x-date-pickers/hooks");
|
|
|
16
16
|
var _utils2 = require("@mui/utils");
|
|
17
17
|
var _useSingleInputDateRangeField = require("./useSingleInputDateRangeField");
|
|
18
18
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
19
|
-
const _excluded = ["slots", "slotProps", "
|
|
19
|
+
const _excluded = ["slots", "slotProps", "InputProps", "inputProps"],
|
|
20
20
|
_excluded2 = ["inputRef"],
|
|
21
21
|
_excluded3 = ["ref", "onPaste", "onKeyDown", "inputMode", "readOnly", "clearable", "onClear"];
|
|
22
22
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
@@ -39,17 +39,15 @@ const SingleInputDateRangeField = exports.SingleInputDateRangeField = /*#__PURE_
|
|
|
39
39
|
const {
|
|
40
40
|
slots,
|
|
41
41
|
slotProps,
|
|
42
|
-
components,
|
|
43
|
-
componentsProps,
|
|
44
42
|
InputProps,
|
|
45
43
|
inputProps
|
|
46
44
|
} = themeProps,
|
|
47
45
|
other = (0, _objectWithoutPropertiesLoose2.default)(themeProps, _excluded);
|
|
48
46
|
const ownerState = themeProps;
|
|
49
|
-
const TextField = slots?.textField ??
|
|
47
|
+
const TextField = slots?.textField ?? _TextField.default;
|
|
50
48
|
const _useSlotProps = (0, _utils.useSlotProps)({
|
|
51
49
|
elementType: TextField,
|
|
52
|
-
externalSlotProps: slotProps?.textField
|
|
50
|
+
externalSlotProps: slotProps?.textField,
|
|
53
51
|
externalForwardedProps: other,
|
|
54
52
|
ownerState
|
|
55
53
|
}),
|
|
@@ -84,9 +82,7 @@ const SingleInputDateRangeField = exports.SingleInputDateRangeField = /*#__PURE_
|
|
|
84
82
|
fieldProps,
|
|
85
83
|
InputProps: fieldProps.InputProps,
|
|
86
84
|
slots,
|
|
87
|
-
slotProps
|
|
88
|
-
components,
|
|
89
|
-
componentsProps
|
|
85
|
+
slotProps
|
|
90
86
|
});
|
|
91
87
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(TextField, (0, _extends2.default)({
|
|
92
88
|
ref: ref
|
|
@@ -127,18 +123,6 @@ process.env.NODE_ENV !== "production" ? SingleInputDateRangeField.propTypes = {
|
|
|
127
123
|
*/
|
|
128
124
|
color: _propTypes.default.oneOf(['error', 'info', 'primary', 'secondary', 'success', 'warning']),
|
|
129
125
|
component: _propTypes.default.elementType,
|
|
130
|
-
/**
|
|
131
|
-
* Overridable components.
|
|
132
|
-
* @default {}
|
|
133
|
-
* @deprecated Please use `slots`.
|
|
134
|
-
*/
|
|
135
|
-
components: _propTypes.default.object,
|
|
136
|
-
/**
|
|
137
|
-
* The props used for each component slot.
|
|
138
|
-
* @default {}
|
|
139
|
-
* @deprecated Please use `slotProps`.
|
|
140
|
-
*/
|
|
141
|
-
componentsProps: _propTypes.default.object,
|
|
142
126
|
/**
|
|
143
127
|
* The default value. Use when the component is not controlled.
|
|
144
128
|
*/
|
|
@@ -16,7 +16,7 @@ var _hooks = require("@mui/x-date-pickers/hooks");
|
|
|
16
16
|
var _utils2 = require("@mui/utils");
|
|
17
17
|
var _useSingleInputDateTimeRangeField = require("./useSingleInputDateTimeRangeField");
|
|
18
18
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
19
|
-
const _excluded = ["slots", "slotProps", "
|
|
19
|
+
const _excluded = ["slots", "slotProps", "InputProps", "inputProps"],
|
|
20
20
|
_excluded2 = ["inputRef"],
|
|
21
21
|
_excluded3 = ["ref", "onPaste", "onKeyDown", "inputMode", "readOnly", "clearable", "onClear"];
|
|
22
22
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
@@ -39,17 +39,15 @@ const SingleInputDateTimeRangeField = exports.SingleInputDateTimeRangeField = /*
|
|
|
39
39
|
const {
|
|
40
40
|
slots,
|
|
41
41
|
slotProps,
|
|
42
|
-
components,
|
|
43
|
-
componentsProps,
|
|
44
42
|
InputProps,
|
|
45
43
|
inputProps
|
|
46
44
|
} = themeProps,
|
|
47
45
|
other = (0, _objectWithoutPropertiesLoose2.default)(themeProps, _excluded);
|
|
48
46
|
const ownerState = themeProps;
|
|
49
|
-
const TextField = slots?.textField ??
|
|
47
|
+
const TextField = slots?.textField ?? _TextField.default;
|
|
50
48
|
const _useSlotProps = (0, _utils.useSlotProps)({
|
|
51
49
|
elementType: TextField,
|
|
52
|
-
externalSlotProps: slotProps?.textField
|
|
50
|
+
externalSlotProps: slotProps?.textField,
|
|
53
51
|
externalForwardedProps: other,
|
|
54
52
|
ownerState
|
|
55
53
|
}),
|
|
@@ -84,9 +82,7 @@ const SingleInputDateTimeRangeField = exports.SingleInputDateTimeRangeField = /*
|
|
|
84
82
|
fieldProps,
|
|
85
83
|
InputProps: fieldProps.InputProps,
|
|
86
84
|
slots,
|
|
87
|
-
slotProps
|
|
88
|
-
components,
|
|
89
|
-
componentsProps
|
|
85
|
+
slotProps
|
|
90
86
|
});
|
|
91
87
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(TextField, (0, _extends2.default)({
|
|
92
88
|
ref: ref
|
|
@@ -132,18 +128,6 @@ process.env.NODE_ENV !== "production" ? SingleInputDateTimeRangeField.propTypes
|
|
|
132
128
|
*/
|
|
133
129
|
color: _propTypes.default.oneOf(['error', 'info', 'primary', 'secondary', 'success', 'warning']),
|
|
134
130
|
component: _propTypes.default.elementType,
|
|
135
|
-
/**
|
|
136
|
-
* Overridable components.
|
|
137
|
-
* @default {}
|
|
138
|
-
* @deprecated Please use `slots`.
|
|
139
|
-
*/
|
|
140
|
-
components: _propTypes.default.object,
|
|
141
|
-
/**
|
|
142
|
-
* The props used for each component slot.
|
|
143
|
-
* @default {}
|
|
144
|
-
* @deprecated Please use `slotProps`.
|
|
145
|
-
*/
|
|
146
|
-
componentsProps: _propTypes.default.object,
|
|
147
131
|
/**
|
|
148
132
|
* The default value. Use when the component is not controlled.
|
|
149
133
|
*/
|
|
@@ -16,7 +16,7 @@ var _utils = require("@mui/base/utils");
|
|
|
16
16
|
var _utils2 = require("@mui/utils");
|
|
17
17
|
var _useSingleInputTimeRangeField = require("./useSingleInputTimeRangeField");
|
|
18
18
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
19
|
-
const _excluded = ["slots", "slotProps", "
|
|
19
|
+
const _excluded = ["slots", "slotProps", "InputProps", "inputProps"],
|
|
20
20
|
_excluded2 = ["inputRef"],
|
|
21
21
|
_excluded3 = ["ref", "onPaste", "onKeyDown", "inputMode", "readOnly", "clearable", "onClear"];
|
|
22
22
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
@@ -39,17 +39,15 @@ const SingleInputTimeRangeField = exports.SingleInputTimeRangeField = /*#__PURE_
|
|
|
39
39
|
const {
|
|
40
40
|
slots,
|
|
41
41
|
slotProps,
|
|
42
|
-
components,
|
|
43
|
-
componentsProps,
|
|
44
42
|
InputProps,
|
|
45
43
|
inputProps
|
|
46
44
|
} = themeProps,
|
|
47
45
|
other = (0, _objectWithoutPropertiesLoose2.default)(themeProps, _excluded);
|
|
48
46
|
const ownerState = themeProps;
|
|
49
|
-
const TextField = slots?.textField ??
|
|
47
|
+
const TextField = slots?.textField ?? _TextField.default;
|
|
50
48
|
const _useSlotProps = (0, _utils.useSlotProps)({
|
|
51
49
|
elementType: TextField,
|
|
52
|
-
externalSlotProps: slotProps?.textField
|
|
50
|
+
externalSlotProps: slotProps?.textField,
|
|
53
51
|
externalForwardedProps: other,
|
|
54
52
|
ownerState
|
|
55
53
|
}),
|
|
@@ -84,9 +82,7 @@ const SingleInputTimeRangeField = exports.SingleInputTimeRangeField = /*#__PURE_
|
|
|
84
82
|
fieldProps,
|
|
85
83
|
InputProps: fieldProps.InputProps,
|
|
86
84
|
slots,
|
|
87
|
-
slotProps
|
|
88
|
-
components,
|
|
89
|
-
componentsProps
|
|
85
|
+
slotProps
|
|
90
86
|
});
|
|
91
87
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(TextField, (0, _extends2.default)({
|
|
92
88
|
ref: ref
|
|
@@ -132,18 +128,6 @@ process.env.NODE_ENV !== "production" ? SingleInputTimeRangeField.propTypes = {
|
|
|
132
128
|
*/
|
|
133
129
|
color: _propTypes.default.oneOf(['error', 'info', 'primary', 'secondary', 'success', 'warning']),
|
|
134
130
|
component: _propTypes.default.elementType,
|
|
135
|
-
/**
|
|
136
|
-
* Overridable components.
|
|
137
|
-
* @default {}
|
|
138
|
-
* @deprecated Please use `slots`.
|
|
139
|
-
*/
|
|
140
|
-
components: _propTypes.default.object,
|
|
141
|
-
/**
|
|
142
|
-
* The props used for each component slot.
|
|
143
|
-
* @default {}
|
|
144
|
-
* @deprecated Please use `slotProps`.
|
|
145
|
-
*/
|
|
146
|
-
componentsProps: _propTypes.default.object,
|
|
147
131
|
/**
|
|
148
132
|
* The default value. Use when the component is not controlled.
|
|
149
133
|
*/
|
|
@@ -77,18 +77,6 @@ StaticDateRangePicker.propTypes = {
|
|
|
77
77
|
* Class name applied to the root element.
|
|
78
78
|
*/
|
|
79
79
|
className: _propTypes.default.string,
|
|
80
|
-
/**
|
|
81
|
-
* Overridable components.
|
|
82
|
-
* @default {}
|
|
83
|
-
* @deprecated Please use `slots`.
|
|
84
|
-
*/
|
|
85
|
-
components: _propTypes.default.object,
|
|
86
|
-
/**
|
|
87
|
-
* The props used for each component slot.
|
|
88
|
-
* @default {}
|
|
89
|
-
* @deprecated Please use `slotProps`.
|
|
90
|
-
*/
|
|
91
|
-
componentsProps: _propTypes.default.object,
|
|
92
80
|
/**
|
|
93
81
|
* Position the current month is rendered in.
|
|
94
82
|
* @default 1
|