@pisell/date-picker 1.0.143 → 1.0.145
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/es/ActionBar/index.d.ts +19 -20
- package/es/ActionBar/index.less +70 -70
- package/es/AdapterDateFns/index.d.ts +1 -1
- package/es/AdapterDateFnsJalali/index.d.ts +1 -1
- package/es/AdapterDayjs/index.d.ts +1 -1
- package/es/AdapterLuxon/index.d.ts +1 -1
- package/es/AdapterMoment/index.d.ts +1 -1
- package/es/AdapterMomentHijri/index.d.ts +1 -1
- package/es/AdapterMomentJalaali/index.d.ts +1 -1
- package/es/CustomCalendarHeader/index.d.ts +2 -3
- package/es/DatePickerLocales/index.d.ts +1 -1
- package/es/DateRangeCalendar/DateRangeCalendar.d.ts +7 -7
- package/es/DateRangeCalendar/DateRangeCalendar.js +122 -122
- package/es/DateRangeCalendar/DateRangeCalendar.types.d.ts +123 -123
- package/es/DateRangeCalendar/dateRangeCalendarClasses.d.ts +11 -11
- package/es/DateRangeCalendar/index.d.ts +4 -4
- package/es/DateRangeCalendar/useDragRange.d.ts +33 -33
- package/es/DateRangePicker/DateRangePicker.d.ts +7 -7
- package/es/DateRangePicker/DateRangePicker.js +184 -184
- package/es/DateRangePicker/DateRangePicker.types.d.ts +37 -37
- package/es/DateRangePicker/DateRangePickerToolbar.d.ts +12 -12
- package/es/DateRangePicker/DateRangePickerToolbar.js +10 -10
- package/es/DateRangePicker/dateRangePickerToolbarClasses.d.ts +9 -9
- package/es/DateRangePicker/index.d.ts +6 -6
- package/es/DateRangePicker/shared.d.ts +51 -51
- package/es/DateRangePickerDay/DateRangePickerDay.js +96 -96
- package/es/DateRangePickerDay/dateRangePickerDayClasses.d.ts +41 -41
- package/es/DateRangePickerDay/index.d.ts +4 -4
- package/es/DesktopDateRangePicker/DesktopDateRangePicker.d.ts +7 -7
- package/es/DesktopDateRangePicker/DesktopDateRangePicker.js +180 -180
- package/es/DesktopDateRangePicker/DesktopDateRangePicker.types.d.ts +36 -36
- package/es/DesktopDateRangePicker/index.d.ts +2 -2
- package/es/Dialog/index.d.ts +2 -3
- package/es/Drawer/index.d.ts +11 -11
- package/es/Drawer/index.less +39 -39
- package/es/MobileDateRangePicker/MobileDateRangePicker.d.ts +7 -7
- package/es/MobileDateRangePicker/MobileDateRangePicker.js +180 -180
- package/es/MobileDateRangePicker/MobileDateRangePicker.types.d.ts +36 -36
- package/es/MobileDateRangePicker/index.d.ts +2 -2
- package/es/MultiInputDateRangeField/MultiInputDateRangeField.d.ts +7 -7
- package/es/MultiInputDateRangeField/MultiInputDateRangeField.js +113 -113
- package/es/MultiInputDateRangeField/MultiInputDateRangeField.types.d.ts +69 -69
- package/es/MultiInputDateRangeField/index.d.ts +3 -3
- package/es/MultiInputDateTimeRangeField/MultiInputDateTimeRangeField.d.ts +7 -7
- package/es/MultiInputDateTimeRangeField/MultiInputDateTimeRangeField.js +144 -144
- package/es/MultiInputDateTimeRangeField/MultiInputDateTimeRangeField.types.d.ts +70 -70
- package/es/MultiInputDateTimeRangeField/index.d.ts +3 -3
- package/es/MultiInputTimeRangeField/MultiInputTimeRangeField.d.ts +7 -7
- package/es/MultiInputTimeRangeField/MultiInputTimeRangeField.js +130 -130
- package/es/MultiInputTimeRangeField/MultiInputTimeRangeField.types.d.ts +70 -70
- package/es/MultiInputTimeRangeField/index.d.ts +3 -3
- package/es/OldActionBar/index.d.ts +18 -19
- package/es/OldActionBar/index.less +17 -17
- package/es/OldPisellDateRangePicker/index.d.ts +79 -79
- package/es/OldPisellDateRangePicker/index.less +102 -102
- package/es/PisellDateRangePicker/LocaleContext.d.ts +7 -7
- package/es/PisellDateRangePicker/index.less +183 -183
- package/es/PisellDateRangePicker/useCssVariables.d.ts +8 -8
- package/es/Shortcuts/index.d.ts +15 -16
- package/es/Shortcuts/index.less +17 -17
- package/es/SingleInputDateRangeField/SingleInputDateRangeField.d.ts +8 -8
- package/es/SingleInputDateRangeField/SingleInputDateRangeField.js +152 -152
- package/es/SingleInputDateRangeField/SingleInputDateRangeField.types.d.ts +49 -49
- package/es/SingleInputDateRangeField/index.d.ts +3 -3
- package/es/SingleInputDateRangeField/useSingleInputDateRangeField.d.ts +3 -3
- package/es/SingleInputDateTimeRangeField/SingleInputDateTimeRangeField.d.ts +8 -8
- package/es/SingleInputDateTimeRangeField/SingleInputDateTimeRangeField.js +183 -183
- package/es/SingleInputDateTimeRangeField/SingleInputDateTimeRangeField.types.d.ts +50 -50
- package/es/SingleInputDateTimeRangeField/index.d.ts +3 -3
- package/es/SingleInputDateTimeRangeField/useSingleInputDateTimeRangeField.d.ts +3 -3
- package/es/SingleInputTimeRangeField/SingleInputTimeRangeField.d.ts +8 -8
- package/es/SingleInputTimeRangeField/SingleInputTimeRangeField.js +169 -169
- package/es/SingleInputTimeRangeField/SingleInputTimeRangeField.types.d.ts +50 -50
- package/es/SingleInputTimeRangeField/index.d.ts +3 -3
- package/es/SingleInputTimeRangeField/useSingleInputTimeRangeField.d.ts +3 -3
- package/es/StaticDateRangePicker/StaticDateRangePicker.d.ts +7 -7
- package/es/StaticDateRangePicker/StaticDateRangePicker.js +148 -148
- package/es/StaticDateRangePicker/StaticDateRangePicker.types.d.ts +31 -31
- package/es/StaticDateRangePicker/index.d.ts +2 -2
- package/es/Toolbar/index.d.ts +3 -4
- package/es/Toolbar/index.less +34 -34
- package/es/browserSelect/index.d.ts +15 -15
- package/es/browserSelect/index.js +7 -7
- package/es/browserSelect/index.less +17 -17
- package/es/constants.d.ts +58 -58
- package/es/dateRangeViewRenderers/dateRangeViewRenderers.d.ts +12 -13
- package/es/dateRangeViewRenderers/dateRangeViewRenderers.js +3 -3
- package/es/dateRangeViewRenderers/index.d.ts +2 -2
- package/es/hooks/useDocumentVisibility.d.ts +2 -2
- package/es/hooks/useNextDay.d.ts +2 -2
- package/es/hooks/useUpdateEffect.d.ts +2 -2
- package/es/icon/ChevronLeft.d.ts +5 -6
- package/es/icon/ChevronLeftDouble.d.ts +5 -6
- package/es/icon/ChevronRight.d.ts +5 -6
- package/es/icon/ChevronRightDouble.d.ts +5 -6
- package/es/icon/CloseCircle.d.ts +5 -6
- package/es/index.d.ts +26 -26
- package/es/internals/hooks/useDesktopRangePicker/index.d.ts +2 -2
- package/es/internals/hooks/useDesktopRangePicker/useDesktopRangePicker.types.d.ts +34 -34
- package/es/internals/hooks/useEnrichedRangePickerFieldProps.d.ts +54 -54
- package/es/internals/hooks/useMobileRangePicker/index.d.ts +2 -2
- package/es/internals/hooks/useMobileRangePicker/useMobileRangePicker.types.d.ts +30 -30
- package/es/internals/hooks/useMultiInputRangeField/useMultiInputDateRangeField.d.ts +3 -3
- package/es/internals/hooks/useMultiInputRangeField/useMultiInputDateTimeRangeField.d.ts +4 -4
- package/es/internals/hooks/useMultiInputRangeField/useMultiInputRangeField.types.d.ts +17 -17
- package/es/internals/hooks/useMultiInputRangeField/useMultiInputTimeRangeField.d.ts +4 -4
- package/es/internals/hooks/useRangePosition.d.ts +28 -28
- package/es/internals/hooks/useStaticRangePicker/index.d.ts +2 -2
- package/es/internals/hooks/useStaticRangePicker/useStaticRangePicker.d.ts +9 -10
- package/es/internals/hooks/useStaticRangePicker/useStaticRangePicker.js +3 -3
- package/es/internals/hooks/useStaticRangePicker/useStaticRangePicker.types.d.ts +33 -33
- package/es/internals/models/dateRange.d.ts +30 -30
- package/es/internals/models/dateTimeRange.d.ts +13 -13
- package/es/internals/models/fields.d.ts +43 -43
- package/es/internals/models/index.d.ts +6 -6
- package/es/internals/models/range.d.ts +3 -3
- package/es/internals/models/rangePickerProps.d.ts +17 -17
- package/es/internals/models/timeRange.d.ts +13 -13
- package/es/internals/utils/date-fields-utils.d.ts +25 -25
- package/es/internals/utils/date-range-manager.d.ts +21 -21
- package/es/internals/utils/date-utils.d.ts +6 -6
- package/es/internals/utils/releaseInfo.d.ts +1 -1
- package/es/internals/utils/validation/validateDateRange.d.ts +7 -7
- package/es/internals/utils/validation/validateDateTimeRange.d.ts +8 -8
- package/es/internals/utils/validation/validateTimeRange.d.ts +7 -7
- package/es/internals/utils/valueManagers.d.ts +7 -7
- package/es/locales/en-US.d.ts +26 -26
- package/es/locales/index.d.ts +2 -2
- package/es/locales/ja.d.ts +26 -26
- package/es/locales/pt.d.ts +26 -26
- package/es/locales/zh-CN.d.ts +26 -26
- package/es/locales/zh-TW.d.ts +26 -26
- package/es/models/index.d.ts +1 -1
- package/es/models/validation.d.ts +9 -9
- package/es/themeAugmentation/components.d.ts +66 -66
- package/es/themeAugmentation/overrides.d.ts +33 -33
- package/es/themeAugmentation/props.d.ts +42 -42
- package/es/typings.d.ts +4 -4
- package/es/utils/index.d.ts +42 -42
- package/es/utils/index.js +19 -19
- package/lib/ActionBar/index.d.ts +19 -20
- package/lib/ActionBar/index.less +70 -70
- package/lib/AdapterDateFns/index.d.ts +1 -1
- package/lib/AdapterDateFnsJalali/index.d.ts +1 -1
- package/lib/AdapterDayjs/index.d.ts +1 -1
- package/lib/AdapterLuxon/index.d.ts +1 -1
- package/lib/AdapterMoment/index.d.ts +1 -1
- package/lib/AdapterMomentHijri/index.d.ts +1 -1
- package/lib/AdapterMomentJalaali/index.d.ts +1 -1
- package/lib/CustomCalendarHeader/index.d.ts +2 -3
- package/lib/DatePickerLocales/index.d.ts +1 -1
- package/lib/DateRangeCalendar/DateRangeCalendar.d.ts +7 -7
- package/lib/DateRangeCalendar/DateRangeCalendar.types.d.ts +123 -123
- package/lib/DateRangeCalendar/dateRangeCalendarClasses.d.ts +11 -11
- package/lib/DateRangeCalendar/index.d.ts +4 -4
- package/lib/DateRangeCalendar/useDragRange.d.ts +33 -33
- package/lib/DateRangePicker/DateRangePicker.d.ts +7 -7
- package/lib/DateRangePicker/DateRangePicker.types.d.ts +37 -37
- package/lib/DateRangePicker/DateRangePickerToolbar.d.ts +12 -12
- package/lib/DateRangePicker/dateRangePickerToolbarClasses.d.ts +9 -9
- package/lib/DateRangePicker/index.d.ts +6 -6
- package/lib/DateRangePicker/shared.d.ts +51 -51
- package/lib/DateRangePickerDay/dateRangePickerDayClasses.d.ts +41 -41
- package/lib/DateRangePickerDay/index.d.ts +4 -4
- package/lib/DesktopDateRangePicker/DesktopDateRangePicker.d.ts +7 -7
- package/lib/DesktopDateRangePicker/DesktopDateRangePicker.types.d.ts +36 -36
- package/lib/DesktopDateRangePicker/index.d.ts +2 -2
- package/lib/Dialog/index.d.ts +2 -3
- package/lib/Drawer/index.d.ts +11 -11
- package/lib/Drawer/index.less +39 -39
- package/lib/MobileDateRangePicker/MobileDateRangePicker.d.ts +7 -7
- package/lib/MobileDateRangePicker/MobileDateRangePicker.types.d.ts +36 -36
- package/lib/MobileDateRangePicker/index.d.ts +2 -2
- package/lib/MultiInputDateRangeField/MultiInputDateRangeField.d.ts +7 -7
- package/lib/MultiInputDateRangeField/MultiInputDateRangeField.types.d.ts +69 -69
- package/lib/MultiInputDateRangeField/index.d.ts +3 -3
- package/lib/MultiInputDateTimeRangeField/MultiInputDateTimeRangeField.d.ts +7 -7
- package/lib/MultiInputDateTimeRangeField/MultiInputDateTimeRangeField.types.d.ts +70 -70
- package/lib/MultiInputDateTimeRangeField/index.d.ts +3 -3
- package/lib/MultiInputTimeRangeField/MultiInputTimeRangeField.d.ts +7 -7
- package/lib/MultiInputTimeRangeField/MultiInputTimeRangeField.types.d.ts +70 -70
- package/lib/MultiInputTimeRangeField/index.d.ts +3 -3
- package/lib/OldActionBar/index.d.ts +18 -19
- package/lib/OldActionBar/index.less +17 -17
- package/lib/OldPisellDateRangePicker/index.d.ts +79 -79
- package/lib/OldPisellDateRangePicker/index.less +102 -102
- package/lib/PisellDateRangePicker/LocaleContext.d.ts +7 -7
- package/lib/PisellDateRangePicker/index.less +183 -183
- package/lib/PisellDateRangePicker/useCssVariables.d.ts +8 -8
- package/lib/Shortcuts/index.d.ts +15 -16
- package/lib/Shortcuts/index.less +17 -17
- package/lib/SingleInputDateRangeField/SingleInputDateRangeField.d.ts +8 -8
- package/lib/SingleInputDateRangeField/SingleInputDateRangeField.types.d.ts +49 -49
- package/lib/SingleInputDateRangeField/index.d.ts +3 -3
- package/lib/SingleInputDateRangeField/useSingleInputDateRangeField.d.ts +3 -3
- package/lib/SingleInputDateTimeRangeField/SingleInputDateTimeRangeField.d.ts +8 -8
- package/lib/SingleInputDateTimeRangeField/SingleInputDateTimeRangeField.types.d.ts +50 -50
- package/lib/SingleInputDateTimeRangeField/index.d.ts +3 -3
- package/lib/SingleInputDateTimeRangeField/useSingleInputDateTimeRangeField.d.ts +3 -3
- package/lib/SingleInputTimeRangeField/SingleInputTimeRangeField.d.ts +8 -8
- package/lib/SingleInputTimeRangeField/SingleInputTimeRangeField.types.d.ts +50 -50
- package/lib/SingleInputTimeRangeField/index.d.ts +3 -3
- package/lib/SingleInputTimeRangeField/useSingleInputTimeRangeField.d.ts +3 -3
- package/lib/StaticDateRangePicker/StaticDateRangePicker.d.ts +7 -7
- package/lib/StaticDateRangePicker/StaticDateRangePicker.types.d.ts +31 -31
- package/lib/StaticDateRangePicker/index.d.ts +2 -2
- package/lib/Toolbar/index.d.ts +3 -4
- package/lib/Toolbar/index.less +34 -34
- package/lib/browserSelect/index.d.ts +15 -15
- package/lib/browserSelect/index.less +17 -17
- package/lib/constants.d.ts +58 -58
- package/lib/dateRangeViewRenderers/dateRangeViewRenderers.d.ts +12 -13
- package/lib/dateRangeViewRenderers/index.d.ts +2 -2
- package/lib/hooks/useDocumentVisibility.d.ts +2 -2
- package/lib/hooks/useNextDay.d.ts +2 -2
- package/lib/hooks/useUpdateEffect.d.ts +2 -2
- package/lib/icon/ChevronLeft.d.ts +5 -6
- package/lib/icon/ChevronLeftDouble.d.ts +5 -6
- package/lib/icon/ChevronRight.d.ts +5 -6
- package/lib/icon/ChevronRightDouble.d.ts +5 -6
- package/lib/icon/CloseCircle.d.ts +5 -6
- package/lib/index.d.ts +26 -26
- package/lib/internals/hooks/useDesktopRangePicker/index.d.ts +2 -2
- package/lib/internals/hooks/useDesktopRangePicker/useDesktopRangePicker.types.d.ts +34 -34
- package/lib/internals/hooks/useEnrichedRangePickerFieldProps.d.ts +54 -54
- package/lib/internals/hooks/useMobileRangePicker/index.d.ts +2 -2
- package/lib/internals/hooks/useMobileRangePicker/useMobileRangePicker.types.d.ts +30 -30
- package/lib/internals/hooks/useMultiInputRangeField/useMultiInputDateRangeField.d.ts +3 -3
- package/lib/internals/hooks/useMultiInputRangeField/useMultiInputDateTimeRangeField.d.ts +4 -4
- package/lib/internals/hooks/useMultiInputRangeField/useMultiInputRangeField.types.d.ts +17 -17
- package/lib/internals/hooks/useMultiInputRangeField/useMultiInputTimeRangeField.d.ts +4 -4
- package/lib/internals/hooks/useRangePosition.d.ts +28 -28
- package/lib/internals/hooks/useStaticRangePicker/index.d.ts +2 -2
- package/lib/internals/hooks/useStaticRangePicker/useStaticRangePicker.d.ts +9 -10
- package/lib/internals/hooks/useStaticRangePicker/useStaticRangePicker.types.d.ts +33 -33
- package/lib/internals/models/dateRange.d.ts +30 -30
- package/lib/internals/models/dateTimeRange.d.ts +13 -13
- package/lib/internals/models/fields.d.ts +43 -43
- package/lib/internals/models/index.d.ts +6 -6
- package/lib/internals/models/range.d.ts +3 -3
- package/lib/internals/models/rangePickerProps.d.ts +17 -17
- package/lib/internals/models/timeRange.d.ts +13 -13
- package/lib/internals/utils/date-fields-utils.d.ts +25 -25
- package/lib/internals/utils/date-range-manager.d.ts +21 -21
- package/lib/internals/utils/date-utils.d.ts +6 -6
- package/lib/internals/utils/releaseInfo.d.ts +1 -1
- package/lib/internals/utils/validation/validateDateRange.d.ts +7 -7
- package/lib/internals/utils/validation/validateDateTimeRange.d.ts +8 -8
- package/lib/internals/utils/validation/validateTimeRange.d.ts +7 -7
- package/lib/internals/utils/valueManagers.d.ts +7 -7
- package/lib/locales/en-US.d.ts +26 -26
- package/lib/locales/index.d.ts +2 -2
- package/lib/locales/ja.d.ts +26 -26
- package/lib/locales/pt.d.ts +26 -26
- package/lib/locales/zh-CN.d.ts +26 -26
- package/lib/locales/zh-TW.d.ts +26 -26
- package/lib/models/index.d.ts +1 -1
- package/lib/models/validation.d.ts +9 -9
- package/lib/themeAugmentation/components.d.ts +66 -66
- package/lib/themeAugmentation/overrides.d.ts +33 -33
- package/lib/themeAugmentation/props.d.ts +42 -42
- package/lib/typings.d.ts +4 -4
- package/lib/utils/index.d.ts +42 -42
- package/package.json +2 -2
- package/es/DateRangePickerDay/DateRangePickerDay.d.ts +0 -50
- package/es/PisellDateRangePicker/index.d.ts +0 -83
- package/es/internals/hooks/useDesktopRangePicker/useDesktopRangePicker.d.ts +0 -6
- package/es/internals/hooks/useMobileRangePicker/useMobileRangePicker.d.ts +0 -6
- package/es/themeAugmentation/index.d.ts +0 -3
- package/lib/DateRangePickerDay/DateRangePickerDay.d.ts +0 -50
- package/lib/PisellDateRangePicker/index.d.ts +0 -83
- package/lib/internals/hooks/useDesktopRangePicker/useDesktopRangePicker.d.ts +0 -6
- package/lib/internals/hooks/useMobileRangePicker/useMobileRangePicker.d.ts +0 -6
- package/lib/themeAugmentation/index.d.ts +0 -3
package/README.md
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
# @pisell/date-picker
|
|
2
|
-
|
|
1
|
+
# @pisell/date-picker
|
|
2
|
+
|
|
3
3
|
日期范围选择组件
|
package/es/ActionBar/index.d.ts
CHANGED
|
@@ -1,20 +1,19 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
export default ActionBar;
|
|
1
|
+
import { ButtonProps } from 'antd';
|
|
2
|
+
import { Dayjs } from 'dayjs';
|
|
3
|
+
import './index.less';
|
|
4
|
+
interface ActionBarProps {
|
|
5
|
+
ownerState: any;
|
|
6
|
+
onCancel: () => void;
|
|
7
|
+
onChange: (val: any[], type?: 'time') => void;
|
|
8
|
+
onOk: () => void;
|
|
9
|
+
value: any[];
|
|
10
|
+
showTime?: boolean | {
|
|
11
|
+
defaultValue: Dayjs;
|
|
12
|
+
[key: string]: any;
|
|
13
|
+
}[];
|
|
14
|
+
okButtonProps?: ButtonProps;
|
|
15
|
+
cancelButtonProps?: ButtonProps;
|
|
16
|
+
isDesktop: boolean;
|
|
17
|
+
}
|
|
18
|
+
declare const ActionBar: (props: ActionBarProps) => JSX.Element;
|
|
19
|
+
export default ActionBar;
|
package/es/ActionBar/index.less
CHANGED
|
@@ -1,71 +1,71 @@
|
|
|
1
|
-
.date-picker-action-bar {
|
|
2
|
-
display: flex;
|
|
3
|
-
.date-picker-action-bar-left {
|
|
4
|
-
width: 192px;
|
|
5
|
-
border-right: 1px solid rgba(0, 0, 0, 0.12);
|
|
6
|
-
}
|
|
7
|
-
.date-picker-action-bar-right {
|
|
8
|
-
flex: 1;
|
|
9
|
-
display: flex;
|
|
10
|
-
justify-content: end !important;
|
|
11
|
-
padding: 16px;
|
|
12
|
-
border-top: 1px solid rgba(0, 0, 0, 0.12);
|
|
13
|
-
gap: 16px;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.date-picker-action-bar-time-picker-popup {
|
|
18
|
-
z-index: 1400;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.date-picker-action-time {
|
|
22
|
-
display: flex;
|
|
23
|
-
gap: 24px;
|
|
24
|
-
padding: 16px;
|
|
25
|
-
.date-picker-action-time-item {
|
|
26
|
-
display: flex;
|
|
27
|
-
flex-direction: column;
|
|
28
|
-
gap: 8px;
|
|
29
|
-
flex: 1;
|
|
30
|
-
.date-picker-time-wrapper {
|
|
31
|
-
position: relative;
|
|
32
|
-
width: 100%;
|
|
33
|
-
min-width: 160px;
|
|
34
|
-
|
|
35
|
-
.date-picker-time-display {
|
|
36
|
-
display: flex;
|
|
37
|
-
align-items: center;
|
|
38
|
-
height: 40px;
|
|
39
|
-
padding: 0 11px;
|
|
40
|
-
background: #ffffff;
|
|
41
|
-
border: 1px solid #D0D5DD;
|
|
42
|
-
border-radius: 8px;
|
|
43
|
-
font-size: 16px;
|
|
44
|
-
color: rgba(0, 0, 0, 0.88);
|
|
45
|
-
pointer-events: none;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.date-picker-input-time-native {
|
|
49
|
-
position: absolute;
|
|
50
|
-
top: 0;
|
|
51
|
-
left: 0;
|
|
52
|
-
width: 100%;
|
|
53
|
-
height: 100%;
|
|
54
|
-
opacity: 0;
|
|
55
|
-
cursor: pointer;
|
|
56
|
-
-webkit-appearance: none;
|
|
57
|
-
appearance: none;
|
|
58
|
-
border: none;
|
|
59
|
-
padding: 0;
|
|
60
|
-
margin: 0;
|
|
61
|
-
font-size: 16px; // 防止 iOS focus 时页面缩放
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
.date-picker-action-time-item-label {
|
|
65
|
-
color: var(--Gray-700, #344054);
|
|
66
|
-
font-size: 14px;
|
|
67
|
-
font-weight: 600;
|
|
68
|
-
line-height: 20px; /* 142.857% */
|
|
69
|
-
}
|
|
70
|
-
}
|
|
1
|
+
.date-picker-action-bar {
|
|
2
|
+
display: flex;
|
|
3
|
+
.date-picker-action-bar-left {
|
|
4
|
+
width: 192px;
|
|
5
|
+
border-right: 1px solid rgba(0, 0, 0, 0.12);
|
|
6
|
+
}
|
|
7
|
+
.date-picker-action-bar-right {
|
|
8
|
+
flex: 1;
|
|
9
|
+
display: flex;
|
|
10
|
+
justify-content: end !important;
|
|
11
|
+
padding: 16px;
|
|
12
|
+
border-top: 1px solid rgba(0, 0, 0, 0.12);
|
|
13
|
+
gap: 16px;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.date-picker-action-bar-time-picker-popup {
|
|
18
|
+
z-index: 1400;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.date-picker-action-time {
|
|
22
|
+
display: flex;
|
|
23
|
+
gap: 24px;
|
|
24
|
+
padding: 16px;
|
|
25
|
+
.date-picker-action-time-item {
|
|
26
|
+
display: flex;
|
|
27
|
+
flex-direction: column;
|
|
28
|
+
gap: 8px;
|
|
29
|
+
flex: 1;
|
|
30
|
+
.date-picker-time-wrapper {
|
|
31
|
+
position: relative;
|
|
32
|
+
width: 100%;
|
|
33
|
+
min-width: 160px;
|
|
34
|
+
|
|
35
|
+
.date-picker-time-display {
|
|
36
|
+
display: flex;
|
|
37
|
+
align-items: center;
|
|
38
|
+
height: 40px;
|
|
39
|
+
padding: 0 11px;
|
|
40
|
+
background: #ffffff;
|
|
41
|
+
border: 1px solid #D0D5DD;
|
|
42
|
+
border-radius: 8px;
|
|
43
|
+
font-size: 16px;
|
|
44
|
+
color: rgba(0, 0, 0, 0.88);
|
|
45
|
+
pointer-events: none;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.date-picker-input-time-native {
|
|
49
|
+
position: absolute;
|
|
50
|
+
top: 0;
|
|
51
|
+
left: 0;
|
|
52
|
+
width: 100%;
|
|
53
|
+
height: 100%;
|
|
54
|
+
opacity: 0;
|
|
55
|
+
cursor: pointer;
|
|
56
|
+
-webkit-appearance: none;
|
|
57
|
+
appearance: none;
|
|
58
|
+
border: none;
|
|
59
|
+
padding: 0;
|
|
60
|
+
margin: 0;
|
|
61
|
+
font-size: 16px; // 防止 iOS focus 时页面缩放
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
.date-picker-action-time-item-label {
|
|
65
|
+
color: var(--Gray-700, #344054);
|
|
66
|
+
font-size: 14px;
|
|
67
|
+
font-weight: 600;
|
|
68
|
+
line-height: 20px; /* 142.857% */
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
71
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { AdapterDateFns } from '@mui/x-date-pickers/AdapterDateFns';
|
|
1
|
+
export { AdapterDateFns } from '@mui/x-date-pickers/AdapterDateFns';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { AdapterDateFnsJalali } from '@mui/x-date-pickers/AdapterDateFnsJalali';
|
|
1
|
+
export { AdapterDateFnsJalali } from '@mui/x-date-pickers/AdapterDateFnsJalali';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { AdapterDayjs } from '@mui/x-date-pickers/AdapterDayjs';
|
|
1
|
+
export { AdapterDayjs } from '@mui/x-date-pickers/AdapterDayjs';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { AdapterLuxon } from '@mui/x-date-pickers/AdapterLuxon';
|
|
1
|
+
export { AdapterLuxon } from '@mui/x-date-pickers/AdapterLuxon';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { AdapterMoment } from '@mui/x-date-pickers/AdapterMoment';
|
|
1
|
+
export { AdapterMoment } from '@mui/x-date-pickers/AdapterMoment';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { AdapterMomentHijri } from '@mui/x-date-pickers/AdapterMomentHijri';
|
|
1
|
+
export { AdapterMomentHijri } from '@mui/x-date-pickers/AdapterMomentHijri';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { AdapterMomentJalaali } from '@mui/x-date-pickers/AdapterMomentJalaali';
|
|
1
|
+
export { AdapterMomentJalaali } from '@mui/x-date-pickers/AdapterMomentJalaali';
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export default CustomCalendarHeader;
|
|
1
|
+
declare const CustomCalendarHeader: (props: any) => JSX.Element;
|
|
2
|
+
export default CustomCalendarHeader;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "@mui/x-date-pickers/locales";
|
|
1
|
+
export * from "@mui/x-date-pickers/locales";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { DateRangeCalendarProps } from './DateRangeCalendar.types';
|
|
3
|
-
declare type DateRangeCalendarComponent = (<TDate>(props: DateRangeCalendarProps<TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
|
|
4
|
-
propTypes?: any;
|
|
5
|
-
};
|
|
6
|
-
declare const DateRangeCalendar: DateRangeCalendarComponent;
|
|
7
|
-
export { DateRangeCalendar };
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { DateRangeCalendarProps } from './DateRangeCalendar.types';
|
|
3
|
+
declare type DateRangeCalendarComponent = (<TDate>(props: DateRangeCalendarProps<TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
|
|
4
|
+
propTypes?: any;
|
|
5
|
+
};
|
|
6
|
+
declare const DateRangeCalendar: DateRangeCalendarComponent;
|
|
7
|
+
export { DateRangeCalendar };
|
|
@@ -497,196 +497,196 @@ DateRangeCalendar.propTypes = {
|
|
|
497
497
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
498
498
|
// | To update them edit the TypeScript types and run "yarn proptypes" |
|
|
499
499
|
// ----------------------------------------------------------------------
|
|
500
|
-
/**
|
|
501
|
-
* If `true`, the main element is focused during the first mount.
|
|
502
|
-
* This main element is:
|
|
503
|
-
* - the element chosen by the visible view if any (i.e: the selected day on the `day` view).
|
|
504
|
-
* - the `input` element if there is a field rendered.
|
|
500
|
+
/**
|
|
501
|
+
* If `true`, the main element is focused during the first mount.
|
|
502
|
+
* This main element is:
|
|
503
|
+
* - the element chosen by the visible view if any (i.e: the selected day on the `day` view).
|
|
504
|
+
* - the `input` element if there is a field rendered.
|
|
505
505
|
*/
|
|
506
506
|
autoFocus: PropTypes.bool,
|
|
507
|
-
/**
|
|
508
|
-
* The number of calendars to render.
|
|
509
|
-
* @default 2
|
|
507
|
+
/**
|
|
508
|
+
* The number of calendars to render.
|
|
509
|
+
* @default 2
|
|
510
510
|
*/
|
|
511
511
|
calendars: PropTypes.oneOf([1, 2, 3]),
|
|
512
512
|
classes: PropTypes.object,
|
|
513
513
|
className: PropTypes.string,
|
|
514
|
-
/**
|
|
515
|
-
* Overridable components.
|
|
516
|
-
* @default {}
|
|
517
|
-
* @deprecated Please use `slots`.
|
|
514
|
+
/**
|
|
515
|
+
* Overridable components.
|
|
516
|
+
* @default {}
|
|
517
|
+
* @deprecated Please use `slots`.
|
|
518
518
|
*/
|
|
519
519
|
components: PropTypes.object,
|
|
520
|
-
/**
|
|
521
|
-
* The props used for each component slot.
|
|
522
|
-
* @default {}
|
|
523
|
-
* @deprecated Please use `slotProps`.
|
|
520
|
+
/**
|
|
521
|
+
* The props used for each component slot.
|
|
522
|
+
* @default {}
|
|
523
|
+
* @deprecated Please use `slotProps`.
|
|
524
524
|
*/
|
|
525
525
|
componentsProps: PropTypes.object,
|
|
526
|
-
/**
|
|
527
|
-
* Position the current month is rendered in.
|
|
528
|
-
* @default 1
|
|
526
|
+
/**
|
|
527
|
+
* Position the current month is rendered in.
|
|
528
|
+
* @default 1
|
|
529
529
|
*/
|
|
530
530
|
currentMonthCalendarPosition: PropTypes.oneOf([1, 2, 3]),
|
|
531
|
-
/**
|
|
532
|
-
* Formats the day of week displayed in the calendar header.
|
|
533
|
-
* @param {string} day The day of week provided by the adapter's method `getWeekdays`.
|
|
534
|
-
* @returns {string} The name to display.
|
|
535
|
-
* @default (day) => day.charAt(0).toUpperCase()
|
|
531
|
+
/**
|
|
532
|
+
* Formats the day of week displayed in the calendar header.
|
|
533
|
+
* @param {string} day The day of week provided by the adapter's method `getWeekdays`.
|
|
534
|
+
* @returns {string} The name to display.
|
|
535
|
+
* @default (day) => day.charAt(0).toUpperCase()
|
|
536
536
|
*/
|
|
537
537
|
dayOfWeekFormatter: PropTypes.func,
|
|
538
|
-
/**
|
|
539
|
-
* Default calendar month displayed when `value={[null, null]}`.
|
|
538
|
+
/**
|
|
539
|
+
* Default calendar month displayed when `value={[null, null]}`.
|
|
540
540
|
*/
|
|
541
541
|
defaultCalendarMonth: PropTypes.any,
|
|
542
|
-
/**
|
|
543
|
-
* The initial position in the edited date range.
|
|
544
|
-
* Used when the component is not controlled.
|
|
545
|
-
* @default 'start'
|
|
542
|
+
/**
|
|
543
|
+
* The initial position in the edited date range.
|
|
544
|
+
* Used when the component is not controlled.
|
|
545
|
+
* @default 'start'
|
|
546
546
|
*/
|
|
547
547
|
defaultRangePosition: PropTypes.oneOf(['end', 'start']),
|
|
548
|
-
/**
|
|
549
|
-
* The default selected value.
|
|
550
|
-
* Used when the component is not controlled.
|
|
548
|
+
/**
|
|
549
|
+
* The default selected value.
|
|
550
|
+
* Used when the component is not controlled.
|
|
551
551
|
*/
|
|
552
552
|
defaultValue: PropTypes.arrayOf(PropTypes.any),
|
|
553
|
-
/**
|
|
554
|
-
* If `true`, after selecting `start` date calendar will not automatically switch to the month of `end` date.
|
|
555
|
-
* @default false
|
|
553
|
+
/**
|
|
554
|
+
* If `true`, after selecting `start` date calendar will not automatically switch to the month of `end` date.
|
|
555
|
+
* @default false
|
|
556
556
|
*/
|
|
557
557
|
disableAutoMonthSwitching: PropTypes.bool,
|
|
558
|
-
/**
|
|
559
|
-
* If `true`, the picker and text field are disabled.
|
|
560
|
-
* @default false
|
|
558
|
+
/**
|
|
559
|
+
* If `true`, the picker and text field are disabled.
|
|
560
|
+
* @default false
|
|
561
561
|
*/
|
|
562
562
|
disabled: PropTypes.bool,
|
|
563
|
-
/**
|
|
564
|
-
* If `true`, editing dates by dragging is disabled.
|
|
565
|
-
* @default false
|
|
563
|
+
/**
|
|
564
|
+
* If `true`, editing dates by dragging is disabled.
|
|
565
|
+
* @default false
|
|
566
566
|
*/
|
|
567
567
|
disableDragEditing: PropTypes.bool,
|
|
568
|
-
/**
|
|
569
|
-
* If `true`, disable values after the current date for date components, time for time components and both for date time components.
|
|
570
|
-
* @default false
|
|
568
|
+
/**
|
|
569
|
+
* If `true`, disable values after the current date for date components, time for time components and both for date time components.
|
|
570
|
+
* @default false
|
|
571
571
|
*/
|
|
572
572
|
disableFuture: PropTypes.bool,
|
|
573
|
-
/**
|
|
574
|
-
* If `true`, today's date is rendering without highlighting with circle.
|
|
575
|
-
* @default false
|
|
573
|
+
/**
|
|
574
|
+
* If `true`, today's date is rendering without highlighting with circle.
|
|
575
|
+
* @default false
|
|
576
576
|
*/
|
|
577
577
|
disableHighlightToday: PropTypes.bool,
|
|
578
|
-
/**
|
|
579
|
-
* If `true`, disable values before the current date for date components, time for time components and both for date time components.
|
|
580
|
-
* @default false
|
|
578
|
+
/**
|
|
579
|
+
* If `true`, disable values before the current date for date components, time for time components and both for date time components.
|
|
580
|
+
* @default false
|
|
581
581
|
*/
|
|
582
582
|
disablePast: PropTypes.bool,
|
|
583
|
-
/**
|
|
584
|
-
* If `true`, the week number will be display in the calendar.
|
|
583
|
+
/**
|
|
584
|
+
* If `true`, the week number will be display in the calendar.
|
|
585
585
|
*/
|
|
586
586
|
displayWeekNumber: PropTypes.bool,
|
|
587
|
-
/**
|
|
588
|
-
* Calendar will show more weeks in order to match this value.
|
|
589
|
-
* Put it to 6 for having fix number of week in Gregorian calendars
|
|
590
|
-
* @default undefined
|
|
587
|
+
/**
|
|
588
|
+
* Calendar will show more weeks in order to match this value.
|
|
589
|
+
* Put it to 6 for having fix number of week in Gregorian calendars
|
|
590
|
+
* @default undefined
|
|
591
591
|
*/
|
|
592
592
|
fixedWeekNumber: PropTypes.number,
|
|
593
|
-
/**
|
|
594
|
-
* If `true`, calls `renderLoading` instead of rendering the day calendar.
|
|
595
|
-
* Can be used to preload information and show it in calendar.
|
|
596
|
-
* @default false
|
|
593
|
+
/**
|
|
594
|
+
* If `true`, calls `renderLoading` instead of rendering the day calendar.
|
|
595
|
+
* Can be used to preload information and show it in calendar.
|
|
596
|
+
* @default false
|
|
597
597
|
*/
|
|
598
598
|
loading: PropTypes.bool,
|
|
599
|
-
/**
|
|
600
|
-
* Maximal selectable date.
|
|
599
|
+
/**
|
|
600
|
+
* Maximal selectable date.
|
|
601
601
|
*/
|
|
602
602
|
maxDate: PropTypes.any,
|
|
603
|
-
/**
|
|
604
|
-
* Minimal selectable date.
|
|
603
|
+
/**
|
|
604
|
+
* Minimal selectable date.
|
|
605
605
|
*/
|
|
606
606
|
minDate: PropTypes.any,
|
|
607
|
-
/**
|
|
608
|
-
* Callback fired when the value changes.
|
|
609
|
-
* @template TDate
|
|
610
|
-
* @param {DateRange<TDate>} value The new value.
|
|
611
|
-
* @param {PickerSelectionState | undefined} selectionState Indicates if the date range selection is complete.
|
|
607
|
+
/**
|
|
608
|
+
* Callback fired when the value changes.
|
|
609
|
+
* @template TDate
|
|
610
|
+
* @param {DateRange<TDate>} value The new value.
|
|
611
|
+
* @param {PickerSelectionState | undefined} selectionState Indicates if the date range selection is complete.
|
|
612
612
|
*/
|
|
613
613
|
onChange: PropTypes.func,
|
|
614
|
-
/**
|
|
615
|
-
* Callback fired on month change.
|
|
616
|
-
* @template TDate
|
|
617
|
-
* @param {TDate} month The new month.
|
|
614
|
+
/**
|
|
615
|
+
* Callback fired on month change.
|
|
616
|
+
* @template TDate
|
|
617
|
+
* @param {TDate} month The new month.
|
|
618
618
|
*/
|
|
619
619
|
onMonthChange: PropTypes.func,
|
|
620
|
-
/**
|
|
621
|
-
* Callback fired when the range position changes.
|
|
622
|
-
* @param {RangePosition} rangePosition The new range position.
|
|
620
|
+
/**
|
|
621
|
+
* Callback fired when the range position changes.
|
|
622
|
+
* @param {RangePosition} rangePosition The new range position.
|
|
623
623
|
*/
|
|
624
624
|
onRangePositionChange: PropTypes.func,
|
|
625
|
-
/**
|
|
626
|
-
* The position in the currently edited date range.
|
|
627
|
-
* Used when the component position is controlled.
|
|
625
|
+
/**
|
|
626
|
+
* The position in the currently edited date range.
|
|
627
|
+
* Used when the component position is controlled.
|
|
628
628
|
*/
|
|
629
629
|
rangePosition: PropTypes.oneOf(['end', 'start']),
|
|
630
|
-
/**
|
|
631
|
-
* Make picker read only.
|
|
632
|
-
* @default false
|
|
630
|
+
/**
|
|
631
|
+
* Make picker read only.
|
|
632
|
+
* @default false
|
|
633
633
|
*/
|
|
634
634
|
readOnly: PropTypes.bool,
|
|
635
|
-
/**
|
|
636
|
-
* Disable heavy animations.
|
|
637
|
-
* @default typeof navigator !== 'undefined' && /(android)/i.test(navigator.userAgent)
|
|
635
|
+
/**
|
|
636
|
+
* Disable heavy animations.
|
|
637
|
+
* @default typeof navigator !== 'undefined' && /(android)/i.test(navigator.userAgent)
|
|
638
638
|
*/
|
|
639
639
|
reduceAnimations: PropTypes.bool,
|
|
640
|
-
/**
|
|
641
|
-
* Component displaying when passed `loading` true.
|
|
642
|
-
* @returns {React.ReactNode} The node to render when loading.
|
|
643
|
-
* @default () => "..."
|
|
640
|
+
/**
|
|
641
|
+
* Component displaying when passed `loading` true.
|
|
642
|
+
* @returns {React.ReactNode} The node to render when loading.
|
|
643
|
+
* @default () => "..."
|
|
644
644
|
*/
|
|
645
645
|
renderLoading: PropTypes.func,
|
|
646
|
-
/**
|
|
647
|
-
* Disable specific date.
|
|
648
|
-
* @template TDate
|
|
649
|
-
* @param {TDate} day The date to test.
|
|
650
|
-
* @param {string} position The date to test, 'start' or 'end'.
|
|
651
|
-
* @returns {boolean} Returns `true` if the date should be disabled.
|
|
646
|
+
/**
|
|
647
|
+
* Disable specific date.
|
|
648
|
+
* @template TDate
|
|
649
|
+
* @param {TDate} day The date to test.
|
|
650
|
+
* @param {string} position The date to test, 'start' or 'end'.
|
|
651
|
+
* @returns {boolean} Returns `true` if the date should be disabled.
|
|
652
652
|
*/
|
|
653
653
|
shouldDisableDate: PropTypes.func,
|
|
654
|
-
/**
|
|
655
|
-
* If `true`, days outside the current month are rendered:
|
|
656
|
-
*
|
|
657
|
-
* - if `fixedWeekNumber` is defined, renders days to have the weeks requested.
|
|
658
|
-
*
|
|
659
|
-
* - if `fixedWeekNumber` is not defined, renders day to fill the first and last week of the current month.
|
|
660
|
-
*
|
|
661
|
-
* - ignored if `calendars` equals more than `1` on range pickers.
|
|
662
|
-
* @default false
|
|
654
|
+
/**
|
|
655
|
+
* If `true`, days outside the current month are rendered:
|
|
656
|
+
*
|
|
657
|
+
* - if `fixedWeekNumber` is defined, renders days to have the weeks requested.
|
|
658
|
+
*
|
|
659
|
+
* - if `fixedWeekNumber` is not defined, renders day to fill the first and last week of the current month.
|
|
660
|
+
*
|
|
661
|
+
* - ignored if `calendars` equals more than `1` on range pickers.
|
|
662
|
+
* @default false
|
|
663
663
|
*/
|
|
664
664
|
showDaysOutsideCurrentMonth: PropTypes.bool,
|
|
665
|
-
/**
|
|
666
|
-
* The props used for each component slot.
|
|
667
|
-
* @default {}
|
|
665
|
+
/**
|
|
666
|
+
* The props used for each component slot.
|
|
667
|
+
* @default {}
|
|
668
668
|
*/
|
|
669
669
|
slotProps: PropTypes.object,
|
|
670
|
-
/**
|
|
671
|
-
* Overridable component slots.
|
|
672
|
-
* @default {}
|
|
670
|
+
/**
|
|
671
|
+
* Overridable component slots.
|
|
672
|
+
* @default {}
|
|
673
673
|
*/
|
|
674
674
|
slots: PropTypes.object,
|
|
675
|
-
/**
|
|
676
|
-
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
675
|
+
/**
|
|
676
|
+
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
677
677
|
*/
|
|
678
678
|
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
|
|
679
|
-
/**
|
|
680
|
-
* Choose which timezone to use for the value.
|
|
681
|
-
* Example: "default", "system", "UTC", "America/New_York".
|
|
682
|
-
* If you pass values from other timezones to some props, they will be converted to this timezone before being used.
|
|
683
|
-
* @see See the {@link https://mui.com/x/react-date-pickers/timezone/ timezones documention} for more details.
|
|
684
|
-
* @default The timezone of the `value` or `defaultValue` prop is defined, 'default' otherwise.
|
|
679
|
+
/**
|
|
680
|
+
* Choose which timezone to use for the value.
|
|
681
|
+
* Example: "default", "system", "UTC", "America/New_York".
|
|
682
|
+
* If you pass values from other timezones to some props, they will be converted to this timezone before being used.
|
|
683
|
+
* @see See the {@link https://mui.com/x/react-date-pickers/timezone/ timezones documention} for more details.
|
|
684
|
+
* @default The timezone of the `value` or `defaultValue` prop is defined, 'default' otherwise.
|
|
685
685
|
*/
|
|
686
686
|
timezone: PropTypes.string,
|
|
687
|
-
/**
|
|
688
|
-
* The selected value.
|
|
689
|
-
* Used when the component is controlled.
|
|
687
|
+
/**
|
|
688
|
+
* The selected value.
|
|
689
|
+
* Used when the component is controlled.
|
|
690
690
|
*/
|
|
691
691
|
value: PropTypes.arrayOf(PropTypes.any)
|
|
692
692
|
};
|