1
0
Fork 0

Added Statistics calculation

Statistics now show calculated values
This commit is contained in:
Techognito 2025-09-04 17:30:00 +02:00
parent fe87374e47
commit fc0f69dacb
2147 changed files with 141321 additions and 39 deletions

View file

@ -0,0 +1,29 @@
import { UseFieldStateReturnValue } from "./useFieldState.js";
import { PickerValidValue } from "../../models/index.js";
/**
* Update the active section value when the user pressed a key that is not a navigation key (arrow key for example).
* This hook has two main editing behaviors
*
* 1. The numeric editing when the user presses a digit
* 2. The letter editing when the user presses another key
*/
export declare const useFieldCharacterEditing: <TValue extends PickerValidValue>({
stateResponse: {
localizedDigits,
sectionsValueBoundaries,
state,
timezone,
setCharacterQuery,
setTempAndroidValueStr,
updateSectionValue
}
}: UseFieldCharacterEditingParameters<TValue>) => UseFieldCharacterEditingReturnValue;
export interface ApplyCharacterEditingParameters {
keyPressed: string;
sectionIndex: number;
}
interface UseFieldCharacterEditingParameters<TValue extends PickerValidValue> {
stateResponse: UseFieldStateReturnValue<TValue>;
}
export type UseFieldCharacterEditingReturnValue = (params: ApplyCharacterEditingParameters) => void;
export {};