pjc-fields 0.0.65 → 0.0.66
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/pjc-fields.mjs +29 -0
- package/fesm2022/pjc-fields.mjs.map +1 -1
- package/package.json +1 -1
- package/types/pjc-fields.d.ts +13 -0
package/package.json
CHANGED
package/types/pjc-fields.d.ts
CHANGED
|
@@ -925,6 +925,19 @@ declare class PjcUtils {
|
|
|
925
925
|
miligrama?: number;
|
|
926
926
|
centigrama?: number;
|
|
927
927
|
}): string;
|
|
928
|
+
/**
|
|
929
|
+
* Converte múltiplas unidades de volume para extenso em uma única string.
|
|
930
|
+
* Todos os parâmetros são opcionais. Os valores informados são convertidos
|
|
931
|
+
* para extenso e concatenados com vírgulas e "e" antes do último item.
|
|
932
|
+
*
|
|
933
|
+
* Exemplo:
|
|
934
|
+
* PjcUtils.volumePorExtenso({ litro: 2, mililitro: 500 })
|
|
935
|
+
* // => "dois litros e quinhentos mililitros"
|
|
936
|
+
*/
|
|
937
|
+
static volumePorExtenso(params: {
|
|
938
|
+
litro?: number;
|
|
939
|
+
mililitro?: number;
|
|
940
|
+
}): string;
|
|
928
941
|
}
|
|
929
942
|
|
|
930
943
|
export { ESTADOS, PJC_CIDADE_SERVICE, PJC_ENUM_SERVICE, PjcCepFieldComponent, PjcChassiFieldComponent, PjcChassiInputDirective, PjcCidadeFieldComponent, PjcCidadeService, PjcCnhFieldComponent, PjcCnpjFieldComponent, PjcCpfCnpjFieldComponent, PjcCpfFieldComponent, PjcDataFieldComponent, PjcDataHoraFieldComponent, PjcDetalhesComponent, PjcEmailFieldComponent, PjcEnumFieldComponent, PjcEnumService, PjcErroValidacaoComponent, PjcFields, PjcHoraFieldComponent, PjcImeiFieldComponent, PjcIntegerFieldComponent, PjcMoedaFieldComponent, PjcNumeroCartaoFieldComponent, PjcPasswordFieldComponent, PjcPlacaFieldComponent, PjcRenavamFieldComponent, PjcTelefoneFieldComponent, PjcTipoPessoaFieldComponent, PjcUfFieldComponent, PjcUppercaseFieldComponent, PjcUtils, PjcValidators, TIPOS_PESSOA };
|