@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.
Files changed (275) hide show
  1. package/README.md +2 -2
  2. package/es/ActionBar/index.d.ts +19 -20
  3. package/es/ActionBar/index.less +70 -70
  4. package/es/AdapterDateFns/index.d.ts +1 -1
  5. package/es/AdapterDateFnsJalali/index.d.ts +1 -1
  6. package/es/AdapterDayjs/index.d.ts +1 -1
  7. package/es/AdapterLuxon/index.d.ts +1 -1
  8. package/es/AdapterMoment/index.d.ts +1 -1
  9. package/es/AdapterMomentHijri/index.d.ts +1 -1
  10. package/es/AdapterMomentJalaali/index.d.ts +1 -1
  11. package/es/CustomCalendarHeader/index.d.ts +2 -3
  12. package/es/DatePickerLocales/index.d.ts +1 -1
  13. package/es/DateRangeCalendar/DateRangeCalendar.d.ts +7 -7
  14. package/es/DateRangeCalendar/DateRangeCalendar.js +122 -122
  15. package/es/DateRangeCalendar/DateRangeCalendar.types.d.ts +123 -123
  16. package/es/DateRangeCalendar/dateRangeCalendarClasses.d.ts +11 -11
  17. package/es/DateRangeCalendar/index.d.ts +4 -4
  18. package/es/DateRangeCalendar/useDragRange.d.ts +33 -33
  19. package/es/DateRangePicker/DateRangePicker.d.ts +7 -7
  20. package/es/DateRangePicker/DateRangePicker.js +184 -184
  21. package/es/DateRangePicker/DateRangePicker.types.d.ts +37 -37
  22. package/es/DateRangePicker/DateRangePickerToolbar.d.ts +12 -12
  23. package/es/DateRangePicker/DateRangePickerToolbar.js +10 -10
  24. package/es/DateRangePicker/dateRangePickerToolbarClasses.d.ts +9 -9
  25. package/es/DateRangePicker/index.d.ts +6 -6
  26. package/es/DateRangePicker/shared.d.ts +51 -51
  27. package/es/DateRangePickerDay/DateRangePickerDay.js +96 -96
  28. package/es/DateRangePickerDay/dateRangePickerDayClasses.d.ts +41 -41
  29. package/es/DateRangePickerDay/index.d.ts +4 -4
  30. package/es/DesktopDateRangePicker/DesktopDateRangePicker.d.ts +7 -7
  31. package/es/DesktopDateRangePicker/DesktopDateRangePicker.js +180 -180
  32. package/es/DesktopDateRangePicker/DesktopDateRangePicker.types.d.ts +36 -36
  33. package/es/DesktopDateRangePicker/index.d.ts +2 -2
  34. package/es/Dialog/index.d.ts +2 -3
  35. package/es/Drawer/index.d.ts +11 -11
  36. package/es/Drawer/index.less +39 -39
  37. package/es/MobileDateRangePicker/MobileDateRangePicker.d.ts +7 -7
  38. package/es/MobileDateRangePicker/MobileDateRangePicker.js +180 -180
  39. package/es/MobileDateRangePicker/MobileDateRangePicker.types.d.ts +36 -36
  40. package/es/MobileDateRangePicker/index.d.ts +2 -2
  41. package/es/MultiInputDateRangeField/MultiInputDateRangeField.d.ts +7 -7
  42. package/es/MultiInputDateRangeField/MultiInputDateRangeField.js +113 -113
  43. package/es/MultiInputDateRangeField/MultiInputDateRangeField.types.d.ts +69 -69
  44. package/es/MultiInputDateRangeField/index.d.ts +3 -3
  45. package/es/MultiInputDateTimeRangeField/MultiInputDateTimeRangeField.d.ts +7 -7
  46. package/es/MultiInputDateTimeRangeField/MultiInputDateTimeRangeField.js +144 -144
  47. package/es/MultiInputDateTimeRangeField/MultiInputDateTimeRangeField.types.d.ts +70 -70
  48. package/es/MultiInputDateTimeRangeField/index.d.ts +3 -3
  49. package/es/MultiInputTimeRangeField/MultiInputTimeRangeField.d.ts +7 -7
  50. package/es/MultiInputTimeRangeField/MultiInputTimeRangeField.js +130 -130
  51. package/es/MultiInputTimeRangeField/MultiInputTimeRangeField.types.d.ts +70 -70
  52. package/es/MultiInputTimeRangeField/index.d.ts +3 -3
  53. package/es/OldActionBar/index.d.ts +18 -19
  54. package/es/OldActionBar/index.less +17 -17
  55. package/es/OldPisellDateRangePicker/index.d.ts +79 -79
  56. package/es/OldPisellDateRangePicker/index.less +102 -102
  57. package/es/PisellDateRangePicker/LocaleContext.d.ts +7 -7
  58. package/es/PisellDateRangePicker/index.less +183 -183
  59. package/es/PisellDateRangePicker/useCssVariables.d.ts +8 -8
  60. package/es/Shortcuts/index.d.ts +15 -16
  61. package/es/Shortcuts/index.less +17 -17
  62. package/es/SingleInputDateRangeField/SingleInputDateRangeField.d.ts +8 -8
  63. package/es/SingleInputDateRangeField/SingleInputDateRangeField.js +152 -152
  64. package/es/SingleInputDateRangeField/SingleInputDateRangeField.types.d.ts +49 -49
  65. package/es/SingleInputDateRangeField/index.d.ts +3 -3
  66. package/es/SingleInputDateRangeField/useSingleInputDateRangeField.d.ts +3 -3
  67. package/es/SingleInputDateTimeRangeField/SingleInputDateTimeRangeField.d.ts +8 -8
  68. package/es/SingleInputDateTimeRangeField/SingleInputDateTimeRangeField.js +183 -183
  69. package/es/SingleInputDateTimeRangeField/SingleInputDateTimeRangeField.types.d.ts +50 -50
  70. package/es/SingleInputDateTimeRangeField/index.d.ts +3 -3
  71. package/es/SingleInputDateTimeRangeField/useSingleInputDateTimeRangeField.d.ts +3 -3
  72. package/es/SingleInputTimeRangeField/SingleInputTimeRangeField.d.ts +8 -8
  73. package/es/SingleInputTimeRangeField/SingleInputTimeRangeField.js +169 -169
  74. package/es/SingleInputTimeRangeField/SingleInputTimeRangeField.types.d.ts +50 -50
  75. package/es/SingleInputTimeRangeField/index.d.ts +3 -3
  76. package/es/SingleInputTimeRangeField/useSingleInputTimeRangeField.d.ts +3 -3
  77. package/es/StaticDateRangePicker/StaticDateRangePicker.d.ts +7 -7
  78. package/es/StaticDateRangePicker/StaticDateRangePicker.js +148 -148
  79. package/es/StaticDateRangePicker/StaticDateRangePicker.types.d.ts +31 -31
  80. package/es/StaticDateRangePicker/index.d.ts +2 -2
  81. package/es/Toolbar/index.d.ts +3 -4
  82. package/es/Toolbar/index.less +34 -34
  83. package/es/browserSelect/index.d.ts +15 -15
  84. package/es/browserSelect/index.js +7 -7
  85. package/es/browserSelect/index.less +17 -17
  86. package/es/constants.d.ts +58 -58
  87. package/es/dateRangeViewRenderers/dateRangeViewRenderers.d.ts +12 -13
  88. package/es/dateRangeViewRenderers/dateRangeViewRenderers.js +3 -3
  89. package/es/dateRangeViewRenderers/index.d.ts +2 -2
  90. package/es/hooks/useDocumentVisibility.d.ts +2 -2
  91. package/es/hooks/useNextDay.d.ts +2 -2
  92. package/es/hooks/useUpdateEffect.d.ts +2 -2
  93. package/es/icon/ChevronLeft.d.ts +5 -6
  94. package/es/icon/ChevronLeftDouble.d.ts +5 -6
  95. package/es/icon/ChevronRight.d.ts +5 -6
  96. package/es/icon/ChevronRightDouble.d.ts +5 -6
  97. package/es/icon/CloseCircle.d.ts +5 -6
  98. package/es/index.d.ts +26 -26
  99. package/es/internals/hooks/useDesktopRangePicker/index.d.ts +2 -2
  100. package/es/internals/hooks/useDesktopRangePicker/useDesktopRangePicker.types.d.ts +34 -34
  101. package/es/internals/hooks/useEnrichedRangePickerFieldProps.d.ts +54 -54
  102. package/es/internals/hooks/useMobileRangePicker/index.d.ts +2 -2
  103. package/es/internals/hooks/useMobileRangePicker/useMobileRangePicker.types.d.ts +30 -30
  104. package/es/internals/hooks/useMultiInputRangeField/useMultiInputDateRangeField.d.ts +3 -3
  105. package/es/internals/hooks/useMultiInputRangeField/useMultiInputDateTimeRangeField.d.ts +4 -4
  106. package/es/internals/hooks/useMultiInputRangeField/useMultiInputRangeField.types.d.ts +17 -17
  107. package/es/internals/hooks/useMultiInputRangeField/useMultiInputTimeRangeField.d.ts +4 -4
  108. package/es/internals/hooks/useRangePosition.d.ts +28 -28
  109. package/es/internals/hooks/useStaticRangePicker/index.d.ts +2 -2
  110. package/es/internals/hooks/useStaticRangePicker/useStaticRangePicker.d.ts +9 -10
  111. package/es/internals/hooks/useStaticRangePicker/useStaticRangePicker.js +3 -3
  112. package/es/internals/hooks/useStaticRangePicker/useStaticRangePicker.types.d.ts +33 -33
  113. package/es/internals/models/dateRange.d.ts +30 -30
  114. package/es/internals/models/dateTimeRange.d.ts +13 -13
  115. package/es/internals/models/fields.d.ts +43 -43
  116. package/es/internals/models/index.d.ts +6 -6
  117. package/es/internals/models/range.d.ts +3 -3
  118. package/es/internals/models/rangePickerProps.d.ts +17 -17
  119. package/es/internals/models/timeRange.d.ts +13 -13
  120. package/es/internals/utils/date-fields-utils.d.ts +25 -25
  121. package/es/internals/utils/date-range-manager.d.ts +21 -21
  122. package/es/internals/utils/date-utils.d.ts +6 -6
  123. package/es/internals/utils/releaseInfo.d.ts +1 -1
  124. package/es/internals/utils/validation/validateDateRange.d.ts +7 -7
  125. package/es/internals/utils/validation/validateDateTimeRange.d.ts +8 -8
  126. package/es/internals/utils/validation/validateTimeRange.d.ts +7 -7
  127. package/es/internals/utils/valueManagers.d.ts +7 -7
  128. package/es/locales/en-US.d.ts +26 -26
  129. package/es/locales/index.d.ts +2 -2
  130. package/es/locales/ja.d.ts +26 -26
  131. package/es/locales/pt.d.ts +26 -26
  132. package/es/locales/zh-CN.d.ts +26 -26
  133. package/es/locales/zh-TW.d.ts +26 -26
  134. package/es/models/index.d.ts +1 -1
  135. package/es/models/validation.d.ts +9 -9
  136. package/es/themeAugmentation/components.d.ts +66 -66
  137. package/es/themeAugmentation/overrides.d.ts +33 -33
  138. package/es/themeAugmentation/props.d.ts +42 -42
  139. package/es/typings.d.ts +4 -4
  140. package/es/utils/index.d.ts +42 -42
  141. package/es/utils/index.js +19 -19
  142. package/lib/ActionBar/index.d.ts +19 -20
  143. package/lib/ActionBar/index.less +70 -70
  144. package/lib/AdapterDateFns/index.d.ts +1 -1
  145. package/lib/AdapterDateFnsJalali/index.d.ts +1 -1
  146. package/lib/AdapterDayjs/index.d.ts +1 -1
  147. package/lib/AdapterLuxon/index.d.ts +1 -1
  148. package/lib/AdapterMoment/index.d.ts +1 -1
  149. package/lib/AdapterMomentHijri/index.d.ts +1 -1
  150. package/lib/AdapterMomentJalaali/index.d.ts +1 -1
  151. package/lib/CustomCalendarHeader/index.d.ts +2 -3
  152. package/lib/DatePickerLocales/index.d.ts +1 -1
  153. package/lib/DateRangeCalendar/DateRangeCalendar.d.ts +7 -7
  154. package/lib/DateRangeCalendar/DateRangeCalendar.types.d.ts +123 -123
  155. package/lib/DateRangeCalendar/dateRangeCalendarClasses.d.ts +11 -11
  156. package/lib/DateRangeCalendar/index.d.ts +4 -4
  157. package/lib/DateRangeCalendar/useDragRange.d.ts +33 -33
  158. package/lib/DateRangePicker/DateRangePicker.d.ts +7 -7
  159. package/lib/DateRangePicker/DateRangePicker.types.d.ts +37 -37
  160. package/lib/DateRangePicker/DateRangePickerToolbar.d.ts +12 -12
  161. package/lib/DateRangePicker/dateRangePickerToolbarClasses.d.ts +9 -9
  162. package/lib/DateRangePicker/index.d.ts +6 -6
  163. package/lib/DateRangePicker/shared.d.ts +51 -51
  164. package/lib/DateRangePickerDay/dateRangePickerDayClasses.d.ts +41 -41
  165. package/lib/DateRangePickerDay/index.d.ts +4 -4
  166. package/lib/DesktopDateRangePicker/DesktopDateRangePicker.d.ts +7 -7
  167. package/lib/DesktopDateRangePicker/DesktopDateRangePicker.types.d.ts +36 -36
  168. package/lib/DesktopDateRangePicker/index.d.ts +2 -2
  169. package/lib/Dialog/index.d.ts +2 -3
  170. package/lib/Drawer/index.d.ts +11 -11
  171. package/lib/Drawer/index.less +39 -39
  172. package/lib/MobileDateRangePicker/MobileDateRangePicker.d.ts +7 -7
  173. package/lib/MobileDateRangePicker/MobileDateRangePicker.types.d.ts +36 -36
  174. package/lib/MobileDateRangePicker/index.d.ts +2 -2
  175. package/lib/MultiInputDateRangeField/MultiInputDateRangeField.d.ts +7 -7
  176. package/lib/MultiInputDateRangeField/MultiInputDateRangeField.types.d.ts +69 -69
  177. package/lib/MultiInputDateRangeField/index.d.ts +3 -3
  178. package/lib/MultiInputDateTimeRangeField/MultiInputDateTimeRangeField.d.ts +7 -7
  179. package/lib/MultiInputDateTimeRangeField/MultiInputDateTimeRangeField.types.d.ts +70 -70
  180. package/lib/MultiInputDateTimeRangeField/index.d.ts +3 -3
  181. package/lib/MultiInputTimeRangeField/MultiInputTimeRangeField.d.ts +7 -7
  182. package/lib/MultiInputTimeRangeField/MultiInputTimeRangeField.types.d.ts +70 -70
  183. package/lib/MultiInputTimeRangeField/index.d.ts +3 -3
  184. package/lib/OldActionBar/index.d.ts +18 -19
  185. package/lib/OldActionBar/index.less +17 -17
  186. package/lib/OldPisellDateRangePicker/index.d.ts +79 -79
  187. package/lib/OldPisellDateRangePicker/index.less +102 -102
  188. package/lib/PisellDateRangePicker/LocaleContext.d.ts +7 -7
  189. package/lib/PisellDateRangePicker/index.less +183 -183
  190. package/lib/PisellDateRangePicker/useCssVariables.d.ts +8 -8
  191. package/lib/Shortcuts/index.d.ts +15 -16
  192. package/lib/Shortcuts/index.less +17 -17
  193. package/lib/SingleInputDateRangeField/SingleInputDateRangeField.d.ts +8 -8
  194. package/lib/SingleInputDateRangeField/SingleInputDateRangeField.types.d.ts +49 -49
  195. package/lib/SingleInputDateRangeField/index.d.ts +3 -3
  196. package/lib/SingleInputDateRangeField/useSingleInputDateRangeField.d.ts +3 -3
  197. package/lib/SingleInputDateTimeRangeField/SingleInputDateTimeRangeField.d.ts +8 -8
  198. package/lib/SingleInputDateTimeRangeField/SingleInputDateTimeRangeField.types.d.ts +50 -50
  199. package/lib/SingleInputDateTimeRangeField/index.d.ts +3 -3
  200. package/lib/SingleInputDateTimeRangeField/useSingleInputDateTimeRangeField.d.ts +3 -3
  201. package/lib/SingleInputTimeRangeField/SingleInputTimeRangeField.d.ts +8 -8
  202. package/lib/SingleInputTimeRangeField/SingleInputTimeRangeField.types.d.ts +50 -50
  203. package/lib/SingleInputTimeRangeField/index.d.ts +3 -3
  204. package/lib/SingleInputTimeRangeField/useSingleInputTimeRangeField.d.ts +3 -3
  205. package/lib/StaticDateRangePicker/StaticDateRangePicker.d.ts +7 -7
  206. package/lib/StaticDateRangePicker/StaticDateRangePicker.types.d.ts +31 -31
  207. package/lib/StaticDateRangePicker/index.d.ts +2 -2
  208. package/lib/Toolbar/index.d.ts +3 -4
  209. package/lib/Toolbar/index.less +34 -34
  210. package/lib/browserSelect/index.d.ts +15 -15
  211. package/lib/browserSelect/index.less +17 -17
  212. package/lib/constants.d.ts +58 -58
  213. package/lib/dateRangeViewRenderers/dateRangeViewRenderers.d.ts +12 -13
  214. package/lib/dateRangeViewRenderers/index.d.ts +2 -2
  215. package/lib/hooks/useDocumentVisibility.d.ts +2 -2
  216. package/lib/hooks/useNextDay.d.ts +2 -2
  217. package/lib/hooks/useUpdateEffect.d.ts +2 -2
  218. package/lib/icon/ChevronLeft.d.ts +5 -6
  219. package/lib/icon/ChevronLeftDouble.d.ts +5 -6
  220. package/lib/icon/ChevronRight.d.ts +5 -6
  221. package/lib/icon/ChevronRightDouble.d.ts +5 -6
  222. package/lib/icon/CloseCircle.d.ts +5 -6
  223. package/lib/index.d.ts +26 -26
  224. package/lib/internals/hooks/useDesktopRangePicker/index.d.ts +2 -2
  225. package/lib/internals/hooks/useDesktopRangePicker/useDesktopRangePicker.types.d.ts +34 -34
  226. package/lib/internals/hooks/useEnrichedRangePickerFieldProps.d.ts +54 -54
  227. package/lib/internals/hooks/useMobileRangePicker/index.d.ts +2 -2
  228. package/lib/internals/hooks/useMobileRangePicker/useMobileRangePicker.types.d.ts +30 -30
  229. package/lib/internals/hooks/useMultiInputRangeField/useMultiInputDateRangeField.d.ts +3 -3
  230. package/lib/internals/hooks/useMultiInputRangeField/useMultiInputDateTimeRangeField.d.ts +4 -4
  231. package/lib/internals/hooks/useMultiInputRangeField/useMultiInputRangeField.types.d.ts +17 -17
  232. package/lib/internals/hooks/useMultiInputRangeField/useMultiInputTimeRangeField.d.ts +4 -4
  233. package/lib/internals/hooks/useRangePosition.d.ts +28 -28
  234. package/lib/internals/hooks/useStaticRangePicker/index.d.ts +2 -2
  235. package/lib/internals/hooks/useStaticRangePicker/useStaticRangePicker.d.ts +9 -10
  236. package/lib/internals/hooks/useStaticRangePicker/useStaticRangePicker.types.d.ts +33 -33
  237. package/lib/internals/models/dateRange.d.ts +30 -30
  238. package/lib/internals/models/dateTimeRange.d.ts +13 -13
  239. package/lib/internals/models/fields.d.ts +43 -43
  240. package/lib/internals/models/index.d.ts +6 -6
  241. package/lib/internals/models/range.d.ts +3 -3
  242. package/lib/internals/models/rangePickerProps.d.ts +17 -17
  243. package/lib/internals/models/timeRange.d.ts +13 -13
  244. package/lib/internals/utils/date-fields-utils.d.ts +25 -25
  245. package/lib/internals/utils/date-range-manager.d.ts +21 -21
  246. package/lib/internals/utils/date-utils.d.ts +6 -6
  247. package/lib/internals/utils/releaseInfo.d.ts +1 -1
  248. package/lib/internals/utils/validation/validateDateRange.d.ts +7 -7
  249. package/lib/internals/utils/validation/validateDateTimeRange.d.ts +8 -8
  250. package/lib/internals/utils/validation/validateTimeRange.d.ts +7 -7
  251. package/lib/internals/utils/valueManagers.d.ts +7 -7
  252. package/lib/locales/en-US.d.ts +26 -26
  253. package/lib/locales/index.d.ts +2 -2
  254. package/lib/locales/ja.d.ts +26 -26
  255. package/lib/locales/pt.d.ts +26 -26
  256. package/lib/locales/zh-CN.d.ts +26 -26
  257. package/lib/locales/zh-TW.d.ts +26 -26
  258. package/lib/models/index.d.ts +1 -1
  259. package/lib/models/validation.d.ts +9 -9
  260. package/lib/themeAugmentation/components.d.ts +66 -66
  261. package/lib/themeAugmentation/overrides.d.ts +33 -33
  262. package/lib/themeAugmentation/props.d.ts +42 -42
  263. package/lib/typings.d.ts +4 -4
  264. package/lib/utils/index.d.ts +42 -42
  265. package/package.json +2 -2
  266. package/es/DateRangePickerDay/DateRangePickerDay.d.ts +0 -50
  267. package/es/PisellDateRangePicker/index.d.ts +0 -83
  268. package/es/internals/hooks/useDesktopRangePicker/useDesktopRangePicker.d.ts +0 -6
  269. package/es/internals/hooks/useMobileRangePicker/useMobileRangePicker.d.ts +0 -6
  270. package/es/themeAugmentation/index.d.ts +0 -3
  271. package/lib/DateRangePickerDay/DateRangePickerDay.d.ts +0 -50
  272. package/lib/PisellDateRangePicker/index.d.ts +0 -83
  273. package/lib/internals/hooks/useDesktopRangePicker/useDesktopRangePicker.d.ts +0 -6
  274. package/lib/internals/hooks/useMobileRangePicker/useMobileRangePicker.d.ts +0 -6
  275. package/lib/themeAugmentation/index.d.ts +0 -3
@@ -1,8 +1,8 @@
1
- import { TimezoneProps } from '@mui/x-date-pickers/models';
2
- import { Validator, BaseDateValidationProps, TimeValidationProps, DefaultizedProps } from '@mui/x-date-pickers/internals';
3
- import { DayRangeValidationProps } from '../../models/dateRange';
4
- import { DateRange } from '../../models/range';
5
- import { DateTimeRangeValidationError } from '../../../models';
6
- export interface DateTimeRangeComponentValidationProps<TDate> extends DayRangeValidationProps<TDate>, TimeValidationProps<TDate>, Required<BaseDateValidationProps<TDate>>, DefaultizedProps<TimezoneProps, 'timezone'> {
7
- }
8
- export declare const validateDateTimeRange: Validator<DateRange<any>, any, DateTimeRangeValidationError, DateTimeRangeComponentValidationProps<any>>;
1
+ import { TimezoneProps } from '@mui/x-date-pickers/models';
2
+ import { Validator, BaseDateValidationProps, TimeValidationProps, DefaultizedProps } from '@mui/x-date-pickers/internals';
3
+ import { DayRangeValidationProps } from '../../models/dateRange';
4
+ import { DateRange } from '../../models/range';
5
+ import { DateTimeRangeValidationError } from '../../../models';
6
+ export interface DateTimeRangeComponentValidationProps<TDate> extends DayRangeValidationProps<TDate>, TimeValidationProps<TDate>, Required<BaseDateValidationProps<TDate>>, DefaultizedProps<TimezoneProps, 'timezone'> {
7
+ }
8
+ export declare const validateDateTimeRange: Validator<DateRange<any>, any, DateTimeRangeValidationError, DateTimeRangeComponentValidationProps<any>>;
@@ -1,7 +1,7 @@
1
- import { TimezoneProps } from '@mui/x-date-pickers/models';
2
- import { Validator, BaseTimeValidationProps, DefaultizedProps } from '@mui/x-date-pickers/internals';
3
- import { DateRange } from '../../models/range';
4
- import { TimeRangeValidationError } from '../../../models';
5
- export interface TimeRangeComponentValidationProps extends Required<BaseTimeValidationProps>, DefaultizedProps<TimezoneProps, 'timezone'> {
6
- }
7
- export declare const validateTimeRange: Validator<DateRange<any>, any, TimeRangeValidationError, TimeRangeComponentValidationProps>;
1
+ import { TimezoneProps } from '@mui/x-date-pickers/models';
2
+ import { Validator, BaseTimeValidationProps, DefaultizedProps } from '@mui/x-date-pickers/internals';
3
+ import { DateRange } from '../../models/range';
4
+ import { TimeRangeValidationError } from '../../../models';
5
+ export interface TimeRangeComponentValidationProps extends Required<BaseTimeValidationProps>, DefaultizedProps<TimezoneProps, 'timezone'> {
6
+ }
7
+ export declare const validateTimeRange: Validator<DateRange<any>, any, TimeRangeValidationError, TimeRangeComponentValidationProps>;
@@ -1,7 +1,7 @@
1
- import { PickerValueManager, FieldValueManager } from '@mui/x-date-pickers/internals';
2
- import { DateRange } from '../models/range';
3
- import type { DateRangeValidationError, DateTimeRangeValidationError, TimeRangeValidationError } from '../../models';
4
- import { RangeFieldSection } from '../models/fields';
5
- export declare type RangePickerValueManager<TValue = [any, any], TDate = any, TError extends DateRangeValidationError | TimeRangeValidationError | DateTimeRangeValidationError = any> = PickerValueManager<TValue, TDate, TError>;
6
- export declare const rangeValueManager: RangePickerValueManager;
7
- export declare const rangeFieldValueManager: FieldValueManager<DateRange<any>, any, RangeFieldSection>;
1
+ import { PickerValueManager, FieldValueManager } from '@mui/x-date-pickers/internals';
2
+ import { DateRange } from '../models/range';
3
+ import type { DateRangeValidationError, DateTimeRangeValidationError, TimeRangeValidationError } from '../../models';
4
+ import { RangeFieldSection } from '../models/fields';
5
+ export declare type RangePickerValueManager<TValue = [any, any], TDate = any, TError extends DateRangeValidationError | TimeRangeValidationError | DateTimeRangeValidationError = any> = PickerValueManager<TValue, TDate, TError>;
6
+ export declare const rangeValueManager: RangePickerValueManager;
7
+ export declare const rangeFieldValueManager: FieldValueManager<DateRange<any>, any, RangeFieldSection>;
@@ -1,26 +1,26 @@
1
- declare const _default: {
2
- 'action-bar-cancel': string;
3
- 'action-bar-apply': string;
4
- 'action-bar-start.time': string;
5
- 'action-bar-end.time': string;
6
- 'toolbar-date-range-shortcut-custom': string;
7
- "toolbar-date-range-shortcut-date-range": string;
8
- "toolbar-date-range-shortcut-starting": string;
9
- "toolbar-date-range-shortcut-ending": string;
10
- "toolbar-date-range-shortcut-today": string;
11
- "toolbar-date-range-shortcut-yesterday": string;
12
- "toolbar-date-range-shortcut-tomorrow": string;
13
- "toolbar-date-range-shortcut-last-3-days": string;
14
- "toolbar-date-range-shortcut-last-7-days": string;
15
- "toolbar-date-range-shortcut-last-30-days": string;
16
- "toolbar-date-range-shortcut-last-90-days": string;
17
- "toolbar-date-range-shortcut-last-180-days": string;
18
- "toolbar-date-range-shortcut-next-3-days": string;
19
- "toolbar-date-range-shortcut-next-7-days": string;
20
- "toolbar-date-range-shortcut-next-30-days": string;
21
- "toolbar-date-range-shortcut-next-90-days": string;
22
- "toolbar-date-range-shortcut-next-180-days": string;
23
- "toolbar-date-range-invalid-start-date": string;
24
- "toolbar-date-range-invalid-end-date": string;
25
- };
26
- export default _default;
1
+ declare const _default: {
2
+ 'action-bar-cancel': string;
3
+ 'action-bar-apply': string;
4
+ 'action-bar-start.time': string;
5
+ 'action-bar-end.time': string;
6
+ 'toolbar-date-range-shortcut-custom': string;
7
+ "toolbar-date-range-shortcut-date-range": string;
8
+ "toolbar-date-range-shortcut-starting": string;
9
+ "toolbar-date-range-shortcut-ending": string;
10
+ "toolbar-date-range-shortcut-today": string;
11
+ "toolbar-date-range-shortcut-yesterday": string;
12
+ "toolbar-date-range-shortcut-tomorrow": string;
13
+ "toolbar-date-range-shortcut-last-3-days": string;
14
+ "toolbar-date-range-shortcut-last-7-days": string;
15
+ "toolbar-date-range-shortcut-last-30-days": string;
16
+ "toolbar-date-range-shortcut-last-90-days": string;
17
+ "toolbar-date-range-shortcut-last-180-days": string;
18
+ "toolbar-date-range-shortcut-next-3-days": string;
19
+ "toolbar-date-range-shortcut-next-7-days": string;
20
+ "toolbar-date-range-shortcut-next-30-days": string;
21
+ "toolbar-date-range-shortcut-next-90-days": string;
22
+ "toolbar-date-range-shortcut-next-180-days": string;
23
+ "toolbar-date-range-invalid-start-date": string;
24
+ "toolbar-date-range-invalid-end-date": string;
25
+ };
26
+ export default _default;
@@ -1,2 +1,2 @@
1
- export declare const pLocaleMap: Record<string, any>;
2
- export declare const getText: (id: string, pLocale?: string) => any;
1
+ export declare const pLocaleMap: Record<string, any>;
2
+ export declare const getText: (id: string, pLocale?: string) => any;
@@ -1,26 +1,26 @@
1
- declare const _default: {
2
- 'action-bar-cancel': string;
3
- 'action-bar-apply': string;
4
- 'action-bar-start.time': string;
5
- 'action-bar-end.time': string;
6
- 'toolbar-date-range-shortcut-custom': string;
7
- "toolbar-date-range-shortcut-date-range": string;
8
- "toolbar-date-range-shortcut-starting": string;
9
- "toolbar-date-range-shortcut-ending": string;
10
- "toolbar-date-range-shortcut-today": string;
11
- "toolbar-date-range-shortcut-yesterday": string;
12
- "toolbar-date-range-shortcut-tomorrow": string;
13
- "toolbar-date-range-shortcut-last-3-days": string;
14
- "toolbar-date-range-shortcut-last-7-days": string;
15
- "toolbar-date-range-shortcut-last-30-days": string;
16
- "toolbar-date-range-shortcut-last-90-days": string;
17
- "toolbar-date-range-shortcut-last-180-days": string;
18
- "toolbar-date-range-shortcut-next-3-days": string;
19
- "toolbar-date-range-shortcut-next-7-days": string;
20
- "toolbar-date-range-shortcut-next-30-days": string;
21
- "toolbar-date-range-shortcut-next-90-days": string;
22
- "toolbar-date-range-shortcut-next-180-days": string;
23
- "toolbar-date-range-invalid-start-date": string;
24
- "toolbar-date-range-invalid-end-date": string;
25
- };
26
- export default _default;
1
+ declare const _default: {
2
+ 'action-bar-cancel': string;
3
+ 'action-bar-apply': string;
4
+ 'action-bar-start.time': string;
5
+ 'action-bar-end.time': string;
6
+ 'toolbar-date-range-shortcut-custom': string;
7
+ "toolbar-date-range-shortcut-date-range": string;
8
+ "toolbar-date-range-shortcut-starting": string;
9
+ "toolbar-date-range-shortcut-ending": string;
10
+ "toolbar-date-range-shortcut-today": string;
11
+ "toolbar-date-range-shortcut-yesterday": string;
12
+ "toolbar-date-range-shortcut-tomorrow": string;
13
+ "toolbar-date-range-shortcut-last-3-days": string;
14
+ "toolbar-date-range-shortcut-last-7-days": string;
15
+ "toolbar-date-range-shortcut-last-30-days": string;
16
+ "toolbar-date-range-shortcut-last-90-days": string;
17
+ "toolbar-date-range-shortcut-last-180-days": string;
18
+ "toolbar-date-range-shortcut-next-3-days": string;
19
+ "toolbar-date-range-shortcut-next-7-days": string;
20
+ "toolbar-date-range-shortcut-next-30-days": string;
21
+ "toolbar-date-range-shortcut-next-90-days": string;
22
+ "toolbar-date-range-shortcut-next-180-days": string;
23
+ "toolbar-date-range-invalid-start-date": string;
24
+ "toolbar-date-range-invalid-end-date": string;
25
+ };
26
+ export default _default;
@@ -1,26 +1,26 @@
1
- declare const _default: {
2
- 'action-bar-cancel': string;
3
- 'action-bar-apply': string;
4
- 'action-bar-start.time': string;
5
- 'action-bar-end.time': string;
6
- 'toolbar-date-range-shortcut-custom': string;
7
- "toolbar-date-range-shortcut-date-range": string;
8
- "toolbar-date-range-shortcut-starting": string;
9
- "toolbar-date-range-shortcut-ending": string;
10
- "toolbar-date-range-shortcut-today": string;
11
- "toolbar-date-range-shortcut-yesterday": string;
12
- "toolbar-date-range-shortcut-tomorrow": string;
13
- "toolbar-date-range-shortcut-last-3-days": string;
14
- "toolbar-date-range-shortcut-last-7-days": string;
15
- "toolbar-date-range-shortcut-last-30-days": string;
16
- "toolbar-date-range-shortcut-last-90-days": string;
17
- "toolbar-date-range-shortcut-last-180-days": string;
18
- "toolbar-date-range-shortcut-next-3-days": string;
19
- "toolbar-date-range-shortcut-next-7-days": string;
20
- "toolbar-date-range-shortcut-next-30-days": string;
21
- "toolbar-date-range-shortcut-next-90-days": string;
22
- "toolbar-date-range-shortcut-next-180-days": string;
23
- "toolbar-date-range-invalid-start-date": string;
24
- "toolbar-date-range-invalid-end-date": string;
25
- };
26
- export default _default;
1
+ declare const _default: {
2
+ 'action-bar-cancel': string;
3
+ 'action-bar-apply': string;
4
+ 'action-bar-start.time': string;
5
+ 'action-bar-end.time': string;
6
+ 'toolbar-date-range-shortcut-custom': string;
7
+ "toolbar-date-range-shortcut-date-range": string;
8
+ "toolbar-date-range-shortcut-starting": string;
9
+ "toolbar-date-range-shortcut-ending": string;
10
+ "toolbar-date-range-shortcut-today": string;
11
+ "toolbar-date-range-shortcut-yesterday": string;
12
+ "toolbar-date-range-shortcut-tomorrow": string;
13
+ "toolbar-date-range-shortcut-last-3-days": string;
14
+ "toolbar-date-range-shortcut-last-7-days": string;
15
+ "toolbar-date-range-shortcut-last-30-days": string;
16
+ "toolbar-date-range-shortcut-last-90-days": string;
17
+ "toolbar-date-range-shortcut-last-180-days": string;
18
+ "toolbar-date-range-shortcut-next-3-days": string;
19
+ "toolbar-date-range-shortcut-next-7-days": string;
20
+ "toolbar-date-range-shortcut-next-30-days": string;
21
+ "toolbar-date-range-shortcut-next-90-days": string;
22
+ "toolbar-date-range-shortcut-next-180-days": string;
23
+ "toolbar-date-range-invalid-start-date": string;
24
+ "toolbar-date-range-invalid-end-date": string;
25
+ };
26
+ export default _default;
@@ -1,26 +1,26 @@
1
- declare const _default: {
2
- "action-bar-cancel": string;
3
- "action-bar-apply": string;
4
- "action-bar-start.time": string;
5
- "action-bar-end.time": string;
6
- "toolbar-date-range-shortcut-date-range": string;
7
- "toolbar-date-range-shortcut-starting": string;
8
- "toolbar-date-range-shortcut-ending": string;
9
- "toolbar-date-range-shortcut-custom": string;
10
- "toolbar-date-range-shortcut-today": string;
11
- "toolbar-date-range-shortcut-yesterday": string;
12
- "toolbar-date-range-shortcut-tomorrow": string;
13
- "toolbar-date-range-shortcut-last-3-days": string;
14
- "toolbar-date-range-shortcut-last-7-days": string;
15
- "toolbar-date-range-shortcut-last-30-days": string;
16
- "toolbar-date-range-shortcut-last-90-days": string;
17
- "toolbar-date-range-shortcut-last-180-days": string;
18
- "toolbar-date-range-shortcut-next-3-days": string;
19
- "toolbar-date-range-shortcut-next-7-days": string;
20
- "toolbar-date-range-shortcut-next-30-days": string;
21
- "toolbar-date-range-shortcut-next-90-days": string;
22
- "toolbar-date-range-shortcut-next-180-days": string;
23
- "toolbar-date-range-invalid-start-date": string;
24
- "toolbar-date-range-invalid-end-date": string;
25
- };
26
- export default _default;
1
+ declare const _default: {
2
+ "action-bar-cancel": string;
3
+ "action-bar-apply": string;
4
+ "action-bar-start.time": string;
5
+ "action-bar-end.time": string;
6
+ "toolbar-date-range-shortcut-date-range": string;
7
+ "toolbar-date-range-shortcut-starting": string;
8
+ "toolbar-date-range-shortcut-ending": string;
9
+ "toolbar-date-range-shortcut-custom": string;
10
+ "toolbar-date-range-shortcut-today": string;
11
+ "toolbar-date-range-shortcut-yesterday": string;
12
+ "toolbar-date-range-shortcut-tomorrow": string;
13
+ "toolbar-date-range-shortcut-last-3-days": string;
14
+ "toolbar-date-range-shortcut-last-7-days": string;
15
+ "toolbar-date-range-shortcut-last-30-days": string;
16
+ "toolbar-date-range-shortcut-last-90-days": string;
17
+ "toolbar-date-range-shortcut-last-180-days": string;
18
+ "toolbar-date-range-shortcut-next-3-days": string;
19
+ "toolbar-date-range-shortcut-next-7-days": string;
20
+ "toolbar-date-range-shortcut-next-30-days": string;
21
+ "toolbar-date-range-shortcut-next-90-days": string;
22
+ "toolbar-date-range-shortcut-next-180-days": string;
23
+ "toolbar-date-range-invalid-start-date": string;
24
+ "toolbar-date-range-invalid-end-date": string;
25
+ };
26
+ export default _default;
@@ -1,26 +1,26 @@
1
- declare const _default: {
2
- 'action-bar-cancel': string;
3
- 'action-bar-apply': string;
4
- 'action-bar-start.time': string;
5
- 'action-bar-end.time': string;
6
- 'toolbar-date-range-shortcut-custom': string;
7
- "toolbar-date-range-shortcut-date-range": string;
8
- "toolbar-date-range-shortcut-starting": string;
9
- "toolbar-date-range-shortcut-ending": string;
10
- "toolbar-date-range-shortcut-today": string;
11
- "toolbar-date-range-shortcut-yesterday": string;
12
- "toolbar-date-range-shortcut-tomorrow": string;
13
- "toolbar-date-range-shortcut-last-3-days": string;
14
- "toolbar-date-range-shortcut-last-7-days": string;
15
- "toolbar-date-range-shortcut-last-30-days": string;
16
- "toolbar-date-range-shortcut-last-90-days": string;
17
- "toolbar-date-range-shortcut-last-180-days": string;
18
- "toolbar-date-range-shortcut-next-3-days": string;
19
- "toolbar-date-range-shortcut-next-7-days": string;
20
- "toolbar-date-range-shortcut-next-30-days": string;
21
- "toolbar-date-range-shortcut-next-90-days": string;
22
- "toolbar-date-range-shortcut-next-180-days": string;
23
- "toolbar-date-range-invalid-start-date": string;
24
- "toolbar-date-range-invalid-end-date": string;
25
- };
26
- export default _default;
1
+ declare const _default: {
2
+ 'action-bar-cancel': string;
3
+ 'action-bar-apply': string;
4
+ 'action-bar-start.time': string;
5
+ 'action-bar-end.time': string;
6
+ 'toolbar-date-range-shortcut-custom': string;
7
+ "toolbar-date-range-shortcut-date-range": string;
8
+ "toolbar-date-range-shortcut-starting": string;
9
+ "toolbar-date-range-shortcut-ending": string;
10
+ "toolbar-date-range-shortcut-today": string;
11
+ "toolbar-date-range-shortcut-yesterday": string;
12
+ "toolbar-date-range-shortcut-tomorrow": string;
13
+ "toolbar-date-range-shortcut-last-3-days": string;
14
+ "toolbar-date-range-shortcut-last-7-days": string;
15
+ "toolbar-date-range-shortcut-last-30-days": string;
16
+ "toolbar-date-range-shortcut-last-90-days": string;
17
+ "toolbar-date-range-shortcut-last-180-days": string;
18
+ "toolbar-date-range-shortcut-next-3-days": string;
19
+ "toolbar-date-range-shortcut-next-7-days": string;
20
+ "toolbar-date-range-shortcut-next-30-days": string;
21
+ "toolbar-date-range-shortcut-next-90-days": string;
22
+ "toolbar-date-range-shortcut-next-180-days": string;
23
+ "toolbar-date-range-invalid-start-date": string;
24
+ "toolbar-date-range-invalid-end-date": string;
25
+ };
26
+ export default _default;
@@ -1 +1 @@
1
- export * from './validation';
1
+ export * from './validation';
@@ -1,9 +1,9 @@
1
- import { DateTimeValidationError, DateValidationError, TimeValidationError } from '@mui/x-date-pickers/models';
2
- declare type RangeValidation<ItemError extends string | null> = [
3
- ItemError | 'invalidRange',
4
- ItemError | 'invalidRange'
5
- ];
6
- export declare type DateRangeValidationError = RangeValidation<DateValidationError>;
7
- export declare type TimeRangeValidationError = RangeValidation<TimeValidationError>;
8
- export declare type DateTimeRangeValidationError = RangeValidation<DateTimeValidationError>;
9
- export {};
1
+ import { DateTimeValidationError, DateValidationError, TimeValidationError } from '@mui/x-date-pickers/models';
2
+ declare type RangeValidation<ItemError extends string | null> = [
3
+ ItemError | 'invalidRange',
4
+ ItemError | 'invalidRange'
5
+ ];
6
+ export declare type DateRangeValidationError = RangeValidation<DateValidationError>;
7
+ export declare type TimeRangeValidationError = RangeValidation<TimeValidationError>;
8
+ export declare type DateTimeRangeValidationError = RangeValidation<DateTimeValidationError>;
9
+ export {};
@@ -1,66 +1,66 @@
1
- import { ComponentsProps, ComponentsOverrides } from '@mui/material/styles';
2
-
3
- export interface PickersProComponents<Theme = unknown> {
4
- MuiDateRangeCalendar?: {
5
- defaultProps?: ComponentsProps['MuiDateRangeCalendar'];
6
- styleOverrides?: ComponentsOverrides<Theme>['MuiDateRangeCalendar'];
7
- };
8
- MuiDateRangePickerDay?: {
9
- defaultProps?: ComponentsProps['MuiDateRangePickerDay'];
10
- styleOverrides?: ComponentsOverrides<Theme>['MuiDateRangePickerDay'];
11
- };
12
- MuiDateRangePickerToolbar?: {
13
- defaultProps?: ComponentsProps['MuiDateRangePickerToolbar'];
14
- styleOverrides?: ComponentsOverrides<Theme>['MuiDateRangePickerToolbar'];
15
- };
16
-
17
- // Multi input range fields
18
- MuiMultiInputDateRangeField?: {
19
- defaultProps?: ComponentsProps['MuiMultiInputDateRangeField'];
20
- styleOverrides?: ComponentsOverrides['MuiMultiInputDateRangeField'];
21
- };
22
- MuiMultiInputDateTimeRangeField?: {
23
- defaultProps?: ComponentsProps['MuiMultiInputDateTimeRangeField'];
24
- styleOverrides?: ComponentsOverrides['MuiMultiInputDateTimeRangeField'];
25
- };
26
- MuiMultiInputTimeRangeField?: {
27
- defaultProps?: ComponentsProps['MuiMultiInputTimeRangeField'];
28
- styleOverrides?: ComponentsOverrides['MuiMultiInputTimeRangeField'];
29
- };
30
-
31
- // Single input range fields
32
- MuiSingleInputDateRangeField?: {
33
- defaultProps?: ComponentsProps['MuiSingleInputDateRangeField'];
34
- styleOverrides?: ComponentsOverrides['MuiSingleInputDateRangeField'];
35
- };
36
- MuiSingleInputDateTimeRangeField?: {
37
- defaultProps?: ComponentsProps['MuiSingleInputDateTimeRangeField'];
38
- styleOverrides?: ComponentsOverrides['MuiSingleInputDateTimeRangeField'];
39
- };
40
- MuiSingleInputTimeRangeField?: {
41
- defaultProps?: ComponentsProps['MuiSingleInputTimeRangeField'];
42
- styleOverrides?: ComponentsOverrides['MuiSingleInputTimeRangeField'];
43
- };
44
-
45
- // Date Range Pickers
46
- MuiDateRangePicker?: {
47
- defaultProps?: ComponentsProps['MuiDateRangePicker'];
48
- styleOverrides?: ComponentsOverrides<Theme>['MuiDateRangePicker'];
49
- };
50
- MuiDesktopDateRangePicker?: {
51
- defaultProps?: ComponentsProps['MuiDesktopDateRangePicker'];
52
- styleOverrides?: ComponentsOverrides<Theme>['MuiDesktopDateRangePicker'];
53
- };
54
- MuiMobileDateRangePicker?: {
55
- defaultProps?: ComponentsProps['MuiMobileDateRangePicker'];
56
- styleOverrides?: ComponentsOverrides<Theme>['MuiMobileDateRangePicker'];
57
- };
58
- MuiStaticDateRangePicker?: {
59
- defaultProps?: ComponentsProps['MuiStaticDateRangePicker'];
60
- styleOverrides?: ComponentsOverrides<Theme>['MuiStaticDateRangePicker'];
61
- };
62
- }
63
-
64
- declare module '@mui/material/styles' {
65
- interface Components<Theme = unknown> extends PickersProComponents<Theme> {}
66
- }
1
+ import { ComponentsProps, ComponentsOverrides } from '@mui/material/styles';
2
+
3
+ export interface PickersProComponents<Theme = unknown> {
4
+ MuiDateRangeCalendar?: {
5
+ defaultProps?: ComponentsProps['MuiDateRangeCalendar'];
6
+ styleOverrides?: ComponentsOverrides<Theme>['MuiDateRangeCalendar'];
7
+ };
8
+ MuiDateRangePickerDay?: {
9
+ defaultProps?: ComponentsProps['MuiDateRangePickerDay'];
10
+ styleOverrides?: ComponentsOverrides<Theme>['MuiDateRangePickerDay'];
11
+ };
12
+ MuiDateRangePickerToolbar?: {
13
+ defaultProps?: ComponentsProps['MuiDateRangePickerToolbar'];
14
+ styleOverrides?: ComponentsOverrides<Theme>['MuiDateRangePickerToolbar'];
15
+ };
16
+
17
+ // Multi input range fields
18
+ MuiMultiInputDateRangeField?: {
19
+ defaultProps?: ComponentsProps['MuiMultiInputDateRangeField'];
20
+ styleOverrides?: ComponentsOverrides['MuiMultiInputDateRangeField'];
21
+ };
22
+ MuiMultiInputDateTimeRangeField?: {
23
+ defaultProps?: ComponentsProps['MuiMultiInputDateTimeRangeField'];
24
+ styleOverrides?: ComponentsOverrides['MuiMultiInputDateTimeRangeField'];
25
+ };
26
+ MuiMultiInputTimeRangeField?: {
27
+ defaultProps?: ComponentsProps['MuiMultiInputTimeRangeField'];
28
+ styleOverrides?: ComponentsOverrides['MuiMultiInputTimeRangeField'];
29
+ };
30
+
31
+ // Single input range fields
32
+ MuiSingleInputDateRangeField?: {
33
+ defaultProps?: ComponentsProps['MuiSingleInputDateRangeField'];
34
+ styleOverrides?: ComponentsOverrides['MuiSingleInputDateRangeField'];
35
+ };
36
+ MuiSingleInputDateTimeRangeField?: {
37
+ defaultProps?: ComponentsProps['MuiSingleInputDateTimeRangeField'];
38
+ styleOverrides?: ComponentsOverrides['MuiSingleInputDateTimeRangeField'];
39
+ };
40
+ MuiSingleInputTimeRangeField?: {
41
+ defaultProps?: ComponentsProps['MuiSingleInputTimeRangeField'];
42
+ styleOverrides?: ComponentsOverrides['MuiSingleInputTimeRangeField'];
43
+ };
44
+
45
+ // Date Range Pickers
46
+ MuiDateRangePicker?: {
47
+ defaultProps?: ComponentsProps['MuiDateRangePicker'];
48
+ styleOverrides?: ComponentsOverrides<Theme>['MuiDateRangePicker'];
49
+ };
50
+ MuiDesktopDateRangePicker?: {
51
+ defaultProps?: ComponentsProps['MuiDesktopDateRangePicker'];
52
+ styleOverrides?: ComponentsOverrides<Theme>['MuiDesktopDateRangePicker'];
53
+ };
54
+ MuiMobileDateRangePicker?: {
55
+ defaultProps?: ComponentsProps['MuiMobileDateRangePicker'];
56
+ styleOverrides?: ComponentsOverrides<Theme>['MuiMobileDateRangePicker'];
57
+ };
58
+ MuiStaticDateRangePicker?: {
59
+ defaultProps?: ComponentsProps['MuiStaticDateRangePicker'];
60
+ styleOverrides?: ComponentsOverrides<Theme>['MuiStaticDateRangePicker'];
61
+ };
62
+ }
63
+
64
+ declare module '@mui/material/styles' {
65
+ interface Components<Theme = unknown> extends PickersProComponents<Theme> {}
66
+ }
@@ -1,33 +1,33 @@
1
- import { DateRangePickerDayClassKey } from '../DateRangePickerDay';
2
- import { DateRangeCalendarClassKey } from '../DateRangeCalendar';
3
- import { DateRangePickerToolbarClassKey } from '../DateRangePicker';
4
-
5
- // prettier-ignore
6
- export interface PickersProComponentNameToClassKey {
7
- MuiDateRangeCalendar: DateRangeCalendarClassKey;
8
- MuiDateRangePickerDay: DateRangePickerDayClassKey;
9
- MuiDateRangePickerToolbar: DateRangePickerToolbarClassKey;
10
-
11
- // Multi input range fields
12
- MuiMultiInputDateRangeField: never;
13
- MuiMultiInputDateTimeRangeField: never;
14
- MuiMultiInputTimeRangeField: never;
15
-
16
- // Single input range fields
17
- MuiSingleInputDateRangeField: never;
18
- MuiSingleInputDateTimeRangeField: never;
19
- MuiSingleInputTimeRangeField: never;
20
-
21
- // Date Range Pickers
22
- MuiDateRangePicker: never;
23
- MuiDesktopDateRangePicker: never;
24
- MuiMobileDateRangePicker: never;
25
- MuiStaticDateRangePicker: never;
26
- }
27
-
28
- declare module '@mui/material/styles' {
29
- interface ComponentNameToClassKey extends PickersProComponentNameToClassKey {}
30
- }
31
-
32
- // disable automatic export
33
- export {};
1
+ import { DateRangePickerDayClassKey } from '../DateRangePickerDay';
2
+ import { DateRangeCalendarClassKey } from '../DateRangeCalendar';
3
+ import { DateRangePickerToolbarClassKey } from '../DateRangePicker';
4
+
5
+ // prettier-ignore
6
+ export interface PickersProComponentNameToClassKey {
7
+ MuiDateRangeCalendar: DateRangeCalendarClassKey;
8
+ MuiDateRangePickerDay: DateRangePickerDayClassKey;
9
+ MuiDateRangePickerToolbar: DateRangePickerToolbarClassKey;
10
+
11
+ // Multi input range fields
12
+ MuiMultiInputDateRangeField: never;
13
+ MuiMultiInputDateTimeRangeField: never;
14
+ MuiMultiInputTimeRangeField: never;
15
+
16
+ // Single input range fields
17
+ MuiSingleInputDateRangeField: never;
18
+ MuiSingleInputDateTimeRangeField: never;
19
+ MuiSingleInputTimeRangeField: never;
20
+
21
+ // Date Range Pickers
22
+ MuiDateRangePicker: never;
23
+ MuiDesktopDateRangePicker: never;
24
+ MuiMobileDateRangePicker: never;
25
+ MuiStaticDateRangePicker: never;
26
+ }
27
+
28
+ declare module '@mui/material/styles' {
29
+ interface ComponentNameToClassKey extends PickersProComponentNameToClassKey {}
30
+ }
31
+
32
+ // disable automatic export
33
+ export {};