UNPKG

nice-numeric-input

Version:

A Vue input component for numbers with realtime formating and currency support.

73 lines (72 loc) 2.09 kB
import Vue from "vue"; declare const _default: import("vue/types/vue").ExtendedVue<Vue, { internalValue: number; ctrlActive: boolean; shiftActive: boolean; internalLocale: string; }, { getDefaultValue(): number; handlePaste(e: ClipboardEvent): void; handleInput(e: InputEvent): void; handleChange(e: Event): void; valueChanged(newValue: string, newInput: string, strictValidation?: boolean, possibleRecurse?: boolean): void; normaliseInput(value: string, locale: string): string; isStartingSignedInput(input: string): boolean; isEmptyInput(input: string): boolean; isAddingDecimalPlaces(input: string): boolean; increase(): void; decrease(): void; setToDefaultValue(): void; setInternalValue(val: number): void; keychange(e: KeyboardEvent): void; }, { labelId: string; canIncrease: boolean; canDecrease: boolean; displayString: string; internalValueIsNotDefined: boolean; isValidComputed: boolean; isError: boolean; isUltraChangeActive: boolean; isSuperChangeActive: boolean; internalIncreaseText: string; internalDecreaseText: string; changeButtonClass: string; internalStep: number; }, { value: number; id: string; name: string; label: string; placeholder: string; step: number; min: number; max: number; isValid: boolean; disabled: boolean; locale: string; currency: string; minDecimalPlaces: number; maxDecimalPlaces: number; integerOnly: boolean; noControls: boolean; hideLabel: boolean; decreaseTitle: string; increaseTitle: string; increaseText: string; decreaseText: string; superIncreaseText: string; superDecreaseText: string; ultraIncreaseText: string; ultraDecreaseText: string; superStep: number; ultraStep: number; labelClass: string; inputClass: string; decreaseButtonClass: string; increaseButtonClass: string; wrapperClass: string; superStepClass: string; ultraStepClass: string; }>; export default _default;