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
24
node_modules/@mui/x-date-pickers/esm/internals/utils/createNonRangePickerStepNavigation.js
generated
vendored
Normal file
24
node_modules/@mui/x-date-pickers/esm/internals/utils/createNonRangePickerStepNavigation.js
generated
vendored
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
import { createStepNavigation } from "./createStepNavigation.js";
|
||||
export function createNonRangePickerStepNavigation(parameters) {
|
||||
const {
|
||||
steps
|
||||
} = parameters;
|
||||
return createStepNavigation({
|
||||
steps,
|
||||
isViewMatchingStep: (view, step) => {
|
||||
return step.views == null || step.views.includes(view);
|
||||
},
|
||||
onStepChange: ({
|
||||
step,
|
||||
defaultView,
|
||||
setView,
|
||||
view,
|
||||
views
|
||||
}) => {
|
||||
const targetView = step.views == null ? defaultView : step.views.find(viewBis => views.includes(viewBis));
|
||||
if (targetView !== view) {
|
||||
setView(targetView);
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue