adiconado imput de porcentagem
This commit is contained in:
parent
5bfde6ee66
commit
8bb5aea15e
15 changed files with 260 additions and 184 deletions
|
|
@ -59,7 +59,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|||
value: import("vue").WritableComputedRef<CampoValor | CampoValorMultiplo, CampoValor | CampoValorMultiplo>;
|
||||
isTextLike: import("vue").ComputedRef<boolean>;
|
||||
inputHtmlType: import("vue").ComputedRef<"text" | "password">;
|
||||
inputMode: import("vue").ComputedRef<"tel" | "numeric" | undefined>;
|
||||
inputMode: import("vue").ComputedRef<"tel" | "decimal" | "numeric" | undefined>;
|
||||
internalColor: import("vue").ComputedRef<string | undefined>;
|
||||
showPassword: import("vue").Ref<boolean, boolean>;
|
||||
togglePassword: () => void;
|
||||
|
|
|
|||
|
|
@ -1,3 +1,9 @@
|
|||
export declare function somenteNumeros(valor: string): string;
|
||||
export declare function formatarDecimal(valor: string): string;
|
||||
/**
|
||||
* Formatação para percentual:
|
||||
* - remove '%' caso venha junto (ex: colar "10%")
|
||||
* - mantém apenas dígitos e vírgula (no máximo uma)
|
||||
*/
|
||||
export declare function formatarPorcentagem(valor: string): string;
|
||||
export declare function formatarMoeda(valor: string): string;
|
||||
|
|
|
|||
|
|
@ -195,7 +195,7 @@ declare const __VLS_export: import("vue").DefineComponent<{}, {
|
|||
value: import("vue").WritableComputedRef<import("../../tipos/campo.js").CampoValor | import("../../tipos/campo.js").CampoValorMultiplo, import("../../tipos/campo.js").CampoValor | import("../../tipos/campo.js").CampoValorMultiplo>;
|
||||
isTextLike: import("vue").ComputedRef<boolean>;
|
||||
inputHtmlType: import("vue").ComputedRef<"text" | "password">;
|
||||
inputMode: import("vue").ComputedRef<"tel" | "numeric" | undefined>;
|
||||
inputMode: import("vue").ComputedRef<"tel" | "decimal" | "numeric" | undefined>;
|
||||
internalColor: import("vue").ComputedRef<string | undefined>;
|
||||
showPassword: import("vue").Ref<boolean, boolean>;
|
||||
togglePassword: () => void;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue