Added Statistics calculation
Statistics now show calculated values
This commit is contained in:
parent
fe87374e47
commit
fc0f69dacb
2147 changed files with 141321 additions and 39 deletions
27
node_modules/@mui/x-date-pickers/DateCalendar/useCalendarState.d.ts
generated
vendored
Normal file
27
node_modules/@mui/x-date-pickers/DateCalendar/useCalendarState.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
import { SlideDirection } from "./PickersSlideTransition.js";
|
||||
import { PickersTimezone, PickerValidDate } from "../models/index.js";
|
||||
import { DateCalendarDefaultizedProps } from "./DateCalendar.types.js";
|
||||
interface CalendarState {
|
||||
currentMonth: PickerValidDate;
|
||||
focusedDay: PickerValidDate | null;
|
||||
isMonthSwitchingAnimating: boolean;
|
||||
slideDirection: SlideDirection;
|
||||
}
|
||||
interface UseCalendarStateParameters extends Pick<DateCalendarDefaultizedProps, 'referenceDate' | 'disableFuture' | 'disablePast' | 'minDate' | 'maxDate' | 'onMonthChange' | 'onYearChange' | 'reduceAnimations' | 'shouldDisableDate'> {
|
||||
value: PickerValidDate | null;
|
||||
timezone: PickersTimezone;
|
||||
getCurrentMonthFromVisibleDate: (focusedDay: PickerValidDate, prevMonth: PickerValidDate) => PickerValidDate;
|
||||
}
|
||||
interface UseCalendarStateReturnValue {
|
||||
referenceDate: PickerValidDate;
|
||||
calendarState: CalendarState;
|
||||
setVisibleDate: (parameters: SetVisibleDateParameters) => void;
|
||||
isDateDisabled: (day: PickerValidDate | null) => boolean;
|
||||
onMonthSwitchingAnimationEnd: () => void;
|
||||
}
|
||||
export declare const useCalendarState: (params: UseCalendarStateParameters) => UseCalendarStateReturnValue;
|
||||
interface SetVisibleDateParameters {
|
||||
target: PickerValidDate;
|
||||
reason: 'header-navigation' | 'cell-interaction' | 'controlled-value-change';
|
||||
}
|
||||
export {};
|
||||
Loading…
Add table
Add a link
Reference in a new issue