@seniorsistemas/angular-components 19.1.0 → 19.2.0

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.
Files changed (42) hide show
  1. package/bignumber-input/lib/bignumber-input/bignumber-input.directive.d.ts +58 -25
  2. package/dynamic-form/dynamic-form/components/lookup/lookup.component.d.ts +8 -8
  3. package/esm2022/bignumber-input/lib/bignumber-input/bignumber-input.directive.mjs +140 -99
  4. package/esm2022/dynamic-form/dynamic-form/components/lookup/lookup.component.mjs +12 -12
  5. package/esm2022/dynamic-form/dynamic-form/form-field/fields/bignumber/bignumber-field.component.mjs +3 -3
  6. package/esm2022/dynamic-form/dynamic-form/form-field/fields/currency/currency-field.component.mjs +3 -3
  7. package/esm2022/dynamic-form/dynamic-form/form-field/fields/number/number-field.component.mjs +3 -3
  8. package/esm2022/inline-edit/lib/inline-edit/components/fields/inline-edit-number/inline-edit-number.component.mjs +1 -1
  9. package/esm2022/inline-edit/lib/inline-edit/fields/inline-edit-number-field.mjs +2 -3
  10. package/esm2022/locale/lib/locale/apply-localized-mask.mjs +19 -0
  11. package/esm2022/locale/lib/locale/pipes/localized-bignumber-impure.pipe.mjs +1 -1
  12. package/esm2022/locale/lib/locale/pipes/localized-bignumber.pipe.mjs +5 -4
  13. package/esm2022/locale/public-api.mjs +2 -1
  14. package/esm2022/number-input/lib/number-input/number-input.directive.mjs +12 -148
  15. package/esm2022/number-input/lib/number-input/number-input.module.mjs +5 -5
  16. package/esm2022/numeric-mask/lib/numeric-mask/numeric-mask.directive.mjs +32 -35
  17. package/esm2022/table/lib/table/table-column/table-columns.component.mjs +20 -4
  18. package/esm2022/table/public-api.mjs +2 -1
  19. package/fesm2022/seniorsistemas-angular-components-bignumber-input.mjs +139 -98
  20. package/fesm2022/seniorsistemas-angular-components-bignumber-input.mjs.map +1 -1
  21. package/fesm2022/seniorsistemas-angular-components-dynamic-form.mjs +19 -19
  22. package/fesm2022/seniorsistemas-angular-components-dynamic-form.mjs.map +1 -1
  23. package/fesm2022/seniorsistemas-angular-components-inline-edit.mjs +2 -3
  24. package/fesm2022/seniorsistemas-angular-components-inline-edit.mjs.map +1 -1
  25. package/fesm2022/seniorsistemas-angular-components-locale.mjs +22 -4
  26. package/fesm2022/seniorsistemas-angular-components-locale.mjs.map +1 -1
  27. package/fesm2022/seniorsistemas-angular-components-number-input.mjs +14 -151
  28. package/fesm2022/seniorsistemas-angular-components-number-input.mjs.map +1 -1
  29. package/fesm2022/seniorsistemas-angular-components-numeric-mask.mjs +31 -34
  30. package/fesm2022/seniorsistemas-angular-components-numeric-mask.mjs.map +1 -1
  31. package/fesm2022/seniorsistemas-angular-components-table.mjs +21 -6
  32. package/fesm2022/seniorsistemas-angular-components-table.mjs.map +1 -1
  33. package/inline-edit/lib/inline-edit/fields/inline-edit-number-field.d.ts +2 -3
  34. package/locale/lib/locale/apply-localized-mask.d.ts +9 -0
  35. package/locale/lib/locale/pipes/localized-bignumber-impure.pipe.d.ts +2 -3
  36. package/locale/lib/locale/pipes/localized-bignumber.pipe.d.ts +3 -2
  37. package/locale/public-api.d.ts +1 -0
  38. package/number-input/lib/number-input/number-input.directive.d.ts +7 -47
  39. package/number-input/lib/number-input/number-input.module.d.ts +2 -2
  40. package/numeric-mask/lib/numeric-mask/numeric-mask.directive.d.ts +8 -9
  41. package/package.json +1 -1
  42. package/table/public-api.d.ts +1 -0
@@ -1,4 +1,4 @@
1
- import { OnInit } from '@angular/core';
1
+ import { OnChanges, OnInit, SimpleChanges } from '@angular/core';
2
2
  import { AbstractControl, ControlValueAccessor, ValidationErrors, Validator } from '@angular/forms';
3
3
  import * as i0 from "@angular/core";
4
4
  /**
@@ -22,7 +22,7 @@ import * as i0 from "@angular/core";
22
22
  * ```
23
23
  * @category Numeric
24
24
  */
25
- export declare class NumericMaskDirective implements OnInit, ControlValueAccessor, Validator {
25
+ export declare class NumericMaskDirective implements OnInit, OnChanges, ControlValueAccessor, Validator {
26
26
  /**
27
27
  * Locale for formatting (e.g. 'pt-BR', 'en-US', 'de-DE')
28
28
  * If not provided, uses the locale from LocaleService
@@ -61,11 +61,11 @@ export declare class NumericMaskDirective implements OnInit, ControlValueAccesso
61
61
  private readonly localeService;
62
62
  private onChange;
63
63
  private onTouched;
64
- private decimalSeparator;
65
- private thousandSeparator;
66
- private currentLocale;
64
+ decimalSeparator: import("@angular/core").ModelSignal<string>;
65
+ thousandSeparator: import("@angular/core").ModelSignal<string>;
66
+ protected currentLocale: string;
67
67
  private lastModelValue;
68
- constructor();
68
+ ngOnChanges(changes: SimpleChanges): void;
69
69
  ngOnInit(): void;
70
70
  /**
71
71
  * Listener for input events (typing)
@@ -93,9 +93,8 @@ export declare class NumericMaskDirective implements OnInit, ControlValueAccesso
93
93
  onKeyPress(event: KeyboardEvent): void;
94
94
  /**
95
95
  * Updates separators according to the locale
96
- * @private
97
96
  */
98
- private updateSeparators;
97
+ protected updateSeparators(): void;
99
98
  /**
100
99
  * Processes input value and updates the input and model
101
100
  * @private
@@ -172,5 +171,5 @@ export declare class NumericMaskDirective implements OnInit, ControlValueAccesso
172
171
  setDisabledState(isDisabled: boolean): void;
173
172
  validate(control: AbstractControl): ValidationErrors | null;
174
173
  static ɵfac: i0.ɵɵFactoryDeclaration<NumericMaskDirective, never>;
175
- static ɵdir: i0.ɵɵDirectiveDeclaration<NumericMaskDirective, "[sNumericMask]", never, { "locale": { "alias": "locale"; "required": false; "isSignal": true; }; "minDecimalPlaces": { "alias": "minDecimalPlaces"; "required": false; "isSignal": true; }; "maxDecimalPlaces": { "alias": "maxDecimalPlaces"; "required": false; "isSignal": true; }; "allowNegative": { "alias": "allowNegative"; "required": false; "isSignal": true; }; "allowScientificNotation": { "alias": "allowScientificNotation"; "required": false; "isSignal": true; }; "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
174
+ static ɵdir: i0.ɵɵDirectiveDeclaration<NumericMaskDirective, "[sNumericMask]", never, { "locale": { "alias": "locale"; "required": false; "isSignal": true; }; "minDecimalPlaces": { "alias": "minDecimalPlaces"; "required": false; "isSignal": true; }; "maxDecimalPlaces": { "alias": "maxDecimalPlaces"; "required": false; "isSignal": true; }; "allowNegative": { "alias": "allowNegative"; "required": false; "isSignal": true; }; "allowScientificNotation": { "alias": "allowScientificNotation"; "required": false; "isSignal": true; }; "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "decimalSeparator": { "alias": "decimalSeparator"; "required": false; "isSignal": true; }; "thousandSeparator": { "alias": "thousandSeparator"; "required": false; "isSignal": true; }; }, { "decimalSeparator": "decimalSeparatorChange"; "thousandSeparator": "thousandSeparatorChange"; }, never, never, true, never>;
176
175
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seniorsistemas/angular-components",
3
- "version": "19.1.0",
3
+ "version": "19.2.0",
4
4
  "peerDependencies": {
5
5
  "@angular/cdk": "^18.2.14",
6
6
  "@angular/common": "^18.2.0",
@@ -3,3 +3,4 @@ export * from './lib/table/row-toggler/row-toggler.directive';
3
3
  export * from './lib/table/table-column/index';
4
4
  export * from './lib/table/table-paging/index';
5
5
  export * from './lib/table/table.module';
6
+ export { ExportUtils } from './lib/table/export-utils';