pjc-fields 0.0.60 → 0.0.62

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.60",
3
+ "version": "0.0.62",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^21.2.0",
6
6
  "@angular/core": "^21.2.0",
@@ -340,6 +340,15 @@ declare class PjcDataHoraFieldComponent implements ControlValueAccessor, Validat
340
340
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<PjcDataHoraFieldComponent, "pjc-data-hora-field", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; "minDate": { "alias": "minDate"; "required": false; "isSignal": true; }; "maxDate": { "alias": "maxDate"; "required": false; "isSignal": true; }; "labelVariant": { "alias": "labelVariant"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "erros": { "alias": "erros"; "required": false; "isSignal": true; }; "hint": { "alias": "hint"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
341
341
  }
342
342
 
343
+ declare class PjcDetalhesComponent {
344
+ label: _angular_core.InputSignal<string>;
345
+ value: _angular_core.InputSignal<string | number | null | undefined>;
346
+ layout: _angular_core.InputSignal<"column" | "row">;
347
+ displayValue: _angular_core.Signal<string>;
348
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<PjcDetalhesComponent, never>;
349
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<PjcDetalhesComponent, "pjc-detalhes", never, { "label": { "alias": "label"; "required": true; "isSignal": true; }; "value": { "alias": "value"; "required": true; "isSignal": true; }; "layout": { "alias": "layout"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
350
+ }
351
+
343
352
  declare class PjcEmailFieldComponent implements ControlValueAccessor, Validator, OnInit {
344
353
  label: _angular_core.InputSignal<string>;
345
354
  placeholder: _angular_core.InputSignal<string>;
@@ -882,5 +891,23 @@ declare class PjcValidators {
882
891
  static dataHora(minDate?: Date, maxDate?: Date): ValidatorFn;
883
892
  }
884
893
 
885
- export { ESTADOS, PJC_CIDADE_SERVICE, PJC_ENUM_SERVICE, PjcCepFieldComponent, PjcChassiFieldComponent, PjcChassiInputDirective, PjcCidadeFieldComponent, PjcCidadeService, PjcCnhFieldComponent, PjcCnpjFieldComponent, PjcCpfCnpjFieldComponent, PjcCpfFieldComponent, PjcDataFieldComponent, PjcDataHoraFieldComponent, PjcEmailFieldComponent, PjcEnumFieldComponent, PjcEnumService, PjcErroValidacaoComponent, PjcFields, PjcHoraFieldComponent, PjcImeiFieldComponent, PjcIntegerFieldComponent, PjcMoedaFieldComponent, PjcNumeroCartaoFieldComponent, PjcPasswordFieldComponent, PjcPlacaFieldComponent, PjcRenavamFieldComponent, PjcTelefoneFieldComponent, PjcTipoPessoaFieldComponent, PjcUfFieldComponent, PjcUppercaseFieldComponent, PjcValidators, TIPOS_PESSOA };
886
- export type { PjcCidadeServiceContract, PjcEnumItem, PjcEnumServiceContract, PjcMunicipio, PjcTipoPessoa, PjcUf };
894
+ type PjcUnidadeMedida = 'grama' | 'kilo' | 'unidade' | 'miligrama' | 'litro' | 'mililitro' | 'centigrama';
895
+ declare class PjcUtils {
896
+ /**
897
+ * Converte um número inteiro para extenso.
898
+ */
899
+ static numeroPorExtenso(numero: number, isFeminino?: boolean): string;
900
+ private static traduzirGrupo;
901
+ private static traduzirDezenaUnidade;
902
+ /**
903
+ * Converte valor monetário para extenso.
904
+ */
905
+ static valorMonetarioPorExtenso(valor: number, currencyName?: string, currencyNamePlural?: string, centavoSingular?: string, centavoPlural?: string): string;
906
+ /**
907
+ * Converte unidade de medida para extenso, respeitando gênero.
908
+ */
909
+ static unidadeMedidaPorExtenso(valor: number, unidade: PjcUnidadeMedida): string;
910
+ }
911
+
912
+ 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 };
913
+ export type { PjcCidadeServiceContract, PjcEnumItem, PjcEnumServiceContract, PjcMunicipio, PjcTipoPessoa, PjcUf, PjcUnidadeMedida };