pjc-fields 0.0.62 → 0.0.64

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pjc-fields",
3
- "version": "0.0.62",
3
+ "version": "0.0.64",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^21.2.0",
6
6
  "@angular/core": "^21.2.0",
@@ -891,7 +891,7 @@ declare class PjcValidators {
891
891
  static dataHora(minDate?: Date, maxDate?: Date): ValidatorFn;
892
892
  }
893
893
 
894
- type PjcUnidadeMedida = 'grama' | 'kilo' | 'unidade' | 'miligrama' | 'litro' | 'mililitro' | 'centigrama';
894
+ type PjcUnidadeMedida = 'grama' | 'quilograma' | 'unidade' | 'miligrama' | 'litro' | 'mililitro' | 'centigrama' | 'metrocubico';
895
895
  declare class PjcUtils {
896
896
  /**
897
897
  * Converte um número inteiro para extenso.
@@ -905,8 +905,11 @@ declare class PjcUtils {
905
905
  static valorMonetarioPorExtenso(valor: number, currencyName?: string, currencyNamePlural?: string, centavoSingular?: string, centavoPlural?: string): string;
906
906
  /**
907
907
  * Converte unidade de medida para extenso, respeitando gênero.
908
+ * Para quilograma e litro, a parte decimal é convertida para a subunidade
909
+ * correspondente (grama e mililitro, respectivamente).
908
910
  */
909
911
  static unidadeMedidaPorExtenso(valor: number, unidade: PjcUnidadeMedida): string;
912
+ private static unidadeComSubunidade;
910
913
  }
911
914
 
912
915
  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 };