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
11
node_modules/@mui/x-date-pickers/validation/extractValidationProps.d.ts
generated
vendored
Normal file
11
node_modules/@mui/x-date-pickers/validation/extractValidationProps.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
import { BaseDateValidationProps, BaseTimeValidationProps, DateTimeValidationProps, DayValidationProps, MonthValidationProps, TimeValidationProps, YearValidationProps } from "../internals/models/validation.js";
|
||||
export declare const DATE_VALIDATION_PROP_NAMES: (keyof BaseDateValidationProps | keyof YearValidationProps | keyof MonthValidationProps | keyof DayValidationProps)[];
|
||||
export declare const TIME_VALIDATION_PROP_NAMES: (keyof BaseTimeValidationProps | keyof TimeValidationProps | 'ampm')[];
|
||||
export declare const DATE_TIME_VALIDATION_PROP_NAMES: (keyof DateTimeValidationProps)[];
|
||||
/**
|
||||
* Extract the validation props for the props received by a component.
|
||||
* Limit the risk of forgetting some of them and reduce the bundle size.
|
||||
*/
|
||||
export declare const extractValidationProps: <Props extends {
|
||||
[key: string]: any;
|
||||
}>(props: Props) => Pick<Props, "maxDate" | "minDate" | "disablePast" | "disableFuture" | "shouldDisableYear" | "shouldDisableMonth" | "shouldDisableDate" | "minTime" | "maxTime" | "minutesStep" | "shouldDisableTime" | "disableIgnoringDatePartForTimeValidation" | "ampm" | "minDateTime" | "maxDateTime">;
|
||||
Loading…
Add table
Add a link
Reference in a new issue