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/internals/models/props/basePickerProps.d.ts
generated
vendored
Normal file
27
node_modules/@mui/x-date-pickers/internals/models/props/basePickerProps.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
import { Theme } from '@mui/material/styles';
|
||||
import { SxProps } from '@mui/system';
|
||||
import { MakeOptional } from '@mui/x-internals/types';
|
||||
import { UsePickerBaseProps } from "../../hooks/usePicker/index.js";
|
||||
import { PickersInputComponentLocaleText } from "../../../locales/utils/pickersLocaleTextApi.js";
|
||||
import type { UsePickerProps } from "../../hooks/usePicker/index.js";
|
||||
import { DateOrTimeViewWithMeridiem } from "../common.js";
|
||||
import { PickerValidValue } from "../value.js";
|
||||
/**
|
||||
* Props common to all pickers after applying the default props on each Picker.
|
||||
*/
|
||||
export interface BasePickerProps<TValue extends PickerValidValue, TView extends DateOrTimeViewWithMeridiem, TError, TExternalProps extends UsePickerProps<TValue, TView, TError, any>> extends UsePickerBaseProps<TValue, TView, TError, TExternalProps> {
|
||||
className?: string;
|
||||
/**
|
||||
* The system prop that allows defining system overrides as well as additional CSS styles.
|
||||
*/
|
||||
sx?: SxProps<Theme>;
|
||||
/**
|
||||
* Locale for components texts.
|
||||
* Allows overriding texts coming from `LocalizationProvider` and `theme`.
|
||||
*/
|
||||
localeText?: PickersInputComponentLocaleText;
|
||||
}
|
||||
/**
|
||||
* Props common to all pickers before applying the default props on each Picker.
|
||||
*/
|
||||
export interface BasePickerInputProps<TValue extends PickerValidValue, TView extends DateOrTimeViewWithMeridiem, TError> extends Omit<MakeOptional<BasePickerProps<TValue, TView, TError, any>, 'openTo' | 'views'>, 'viewRenderers'> {}
|
||||
5
node_modules/@mui/x-date-pickers/internals/models/props/basePickerProps.js
generated
vendored
Normal file
5
node_modules/@mui/x-date-pickers/internals/models/props/basePickerProps.js
generated
vendored
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
9
node_modules/@mui/x-date-pickers/internals/models/props/tabs.d.ts
generated
vendored
Normal file
9
node_modules/@mui/x-date-pickers/internals/models/props/tabs.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
import { SxProps } from '@mui/system';
|
||||
import { Theme } from '@mui/material/styles';
|
||||
export interface ExportedBaseTabsProps {
|
||||
className?: string;
|
||||
/**
|
||||
* The system prop that allows defining system overrides as well as additional CSS styles.
|
||||
*/
|
||||
sx?: SxProps<Theme>;
|
||||
}
|
||||
5
node_modules/@mui/x-date-pickers/internals/models/props/tabs.js
generated
vendored
Normal file
5
node_modules/@mui/x-date-pickers/internals/models/props/tabs.js
generated
vendored
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
77
node_modules/@mui/x-date-pickers/internals/models/props/time.d.ts
generated
vendored
Normal file
77
node_modules/@mui/x-date-pickers/internals/models/props/time.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,77 @@
|
|||
import { SxProps, Theme } from '@mui/material/styles';
|
||||
import { PickerValidDate, TimeStepOptions, TimezoneProps } from "../../../models/index.js";
|
||||
import type { ExportedDigitalClockProps } from "../../../DigitalClock/DigitalClock.types.js";
|
||||
import type { ExportedMultiSectionDigitalClockProps } from "../../../MultiSectionDigitalClock/MultiSectionDigitalClock.types.js";
|
||||
import type { ExportedUseViewsOptions } from "../../hooks/useViews.js";
|
||||
import { TimeViewWithMeridiem } from "../common.js";
|
||||
import { ExportedValidateTimeProps } from "../../../validation/validateTime.js";
|
||||
import { FormProps } from "../formProps.js";
|
||||
import { PickerValue } from "../value.js";
|
||||
export interface AmPmProps {
|
||||
/**
|
||||
* 12h/24h view for hour selection clock.
|
||||
* @default adapter.is12HourCycleInCurrentLocale()
|
||||
*/
|
||||
ampm?: boolean;
|
||||
}
|
||||
export interface ExportedBaseClockProps extends ExportedValidateTimeProps, TimezoneProps, AmPmProps {}
|
||||
export interface BaseClockProps<TView extends TimeViewWithMeridiem> extends ExportedUseViewsOptions<PickerValue, TView>, ExportedBaseClockProps, FormProps {
|
||||
className?: string;
|
||||
/**
|
||||
* The system prop that allows defining system overrides as well as additional CSS styles.
|
||||
*/
|
||||
sx?: SxProps<Theme>;
|
||||
/**
|
||||
* The selected value.
|
||||
* Used when the component is controlled.
|
||||
*/
|
||||
value?: PickerValidDate | null;
|
||||
/**
|
||||
* The default selected value.
|
||||
* Used when the component is not controlled.
|
||||
*/
|
||||
defaultValue?: PickerValidDate | null;
|
||||
/**
|
||||
* The date used to generate the new value when both `value` and `defaultValue` are empty.
|
||||
* @default The closest valid time using the validation props, except callbacks such as `shouldDisableTime`.
|
||||
*/
|
||||
referenceDate?: PickerValidDate;
|
||||
}
|
||||
export interface DigitalTimePickerProps extends Omit<ExportedDigitalClockProps, 'timeStep'>, Omit<ExportedMultiSectionDigitalClockProps, 'timeSteps'> {
|
||||
/**
|
||||
* Amount of time options below or at which the single column time renderer is used.
|
||||
* @default 24
|
||||
*/
|
||||
thresholdToRenderTimeInASingleColumn?: number;
|
||||
/**
|
||||
* The time steps between two time unit options.
|
||||
* For example, if `timeSteps.minutes = 8`, then the available minute options will be `[0, 8, 16, 24, 32, 40, 48, 56]`.
|
||||
* When single column time renderer is used, only `timeSteps.minutes` will be used.
|
||||
* @default{ hours: 1, minutes: 5, seconds: 5 }
|
||||
*/
|
||||
timeSteps?: TimeStepOptions;
|
||||
}
|
||||
interface DigitalClockOnlyBaseProps {
|
||||
/**
|
||||
* If `true`, disabled digital clock items will not be rendered.
|
||||
* @default false
|
||||
*/
|
||||
skipDisabled?: boolean;
|
||||
}
|
||||
export interface DigitalClockOnlyProps extends DigitalClockOnlyBaseProps {
|
||||
/**
|
||||
* The time steps between two time options.
|
||||
* For example, if `timeStep = 45`, then the available time options will be `[00:00, 00:45, 01:30, 02:15, 03:00, etc.]`.
|
||||
* @default 30
|
||||
*/
|
||||
timeStep?: number;
|
||||
}
|
||||
export interface MultiSectionDigitalClockOnlyProps extends DigitalClockOnlyBaseProps {
|
||||
/**
|
||||
* The time steps between two time unit options.
|
||||
* For example, if `timeSteps.minutes = 8`, then the available minute options will be `[0, 8, 16, 24, 32, 40, 48, 56]`.
|
||||
* @default{ hours: 1, minutes: 5, seconds: 5 }
|
||||
*/
|
||||
timeSteps?: TimeStepOptions;
|
||||
}
|
||||
export {};
|
||||
5
node_modules/@mui/x-date-pickers/internals/models/props/time.js
generated
vendored
Normal file
5
node_modules/@mui/x-date-pickers/internals/models/props/time.js
generated
vendored
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
27
node_modules/@mui/x-date-pickers/internals/models/props/toolbar.d.ts
generated
vendored
Normal file
27
node_modules/@mui/x-date-pickers/internals/models/props/toolbar.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
import * as React from 'react';
|
||||
import { SxProps } from '@mui/system';
|
||||
import { Theme } from '@mui/material/styles';
|
||||
export interface BaseToolbarProps extends ExportedBaseToolbarProps {
|
||||
titleId?: string;
|
||||
}
|
||||
export interface ExportedBaseToolbarProps {
|
||||
/**
|
||||
* Toolbar date format.
|
||||
*/
|
||||
toolbarFormat?: string;
|
||||
/**
|
||||
* Toolbar value placeholder—it is displayed when the value is empty.
|
||||
* @default "––"
|
||||
*/
|
||||
toolbarPlaceholder?: React.ReactNode;
|
||||
className?: string;
|
||||
/**
|
||||
* If `true`, show the toolbar even in desktop mode.
|
||||
* @default `true` for Desktop, `false` for Mobile.
|
||||
*/
|
||||
hidden?: boolean;
|
||||
/**
|
||||
* The system prop that allows defining system overrides as well as additional CSS styles.
|
||||
*/
|
||||
sx?: SxProps<Theme>;
|
||||
}
|
||||
5
node_modules/@mui/x-date-pickers/internals/models/props/toolbar.js
generated
vendored
Normal file
5
node_modules/@mui/x-date-pickers/internals/models/props/toolbar.js
generated
vendored
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue