@seniorsistemas/angular-components 19.1.1 → 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.
- package/bignumber-input/lib/bignumber-input/bignumber-input.directive.d.ts +58 -25
- package/dynamic-form/dynamic-form/components/lookup/lookup.component.d.ts +8 -8
- package/esm2022/bignumber-input/lib/bignumber-input/bignumber-input.directive.mjs +140 -99
- package/esm2022/dynamic-form/dynamic-form/components/lookup/lookup.component.mjs +12 -12
- package/esm2022/dynamic-form/dynamic-form/form-field/fields/bignumber/bignumber-field.component.mjs +3 -3
- package/esm2022/dynamic-form/dynamic-form/form-field/fields/currency/currency-field.component.mjs +3 -3
- package/esm2022/dynamic-form/dynamic-form/form-field/fields/number/number-field.component.mjs +3 -3
- package/esm2022/inline-edit/lib/inline-edit/components/fields/inline-edit-number/inline-edit-number.component.mjs +1 -1
- package/esm2022/inline-edit/lib/inline-edit/fields/inline-edit-number-field.mjs +2 -3
- package/esm2022/locale/lib/locale/apply-localized-mask.mjs +19 -0
- package/esm2022/locale/lib/locale/pipes/localized-bignumber-impure.pipe.mjs +1 -1
- package/esm2022/locale/lib/locale/pipes/localized-bignumber.pipe.mjs +5 -4
- package/esm2022/locale/public-api.mjs +2 -1
- package/esm2022/number-input/lib/number-input/number-input.directive.mjs +12 -148
- package/esm2022/number-input/lib/number-input/number-input.module.mjs +5 -5
- package/esm2022/numeric-mask/lib/numeric-mask/numeric-mask.directive.mjs +32 -35
- package/esm2022/table/lib/table/table-column/table-columns.component.mjs +20 -4
- package/fesm2022/seniorsistemas-angular-components-bignumber-input.mjs +139 -98
- package/fesm2022/seniorsistemas-angular-components-bignumber-input.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-dynamic-form.mjs +19 -19
- package/fesm2022/seniorsistemas-angular-components-dynamic-form.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-inline-edit.mjs +2 -3
- package/fesm2022/seniorsistemas-angular-components-inline-edit.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-locale.mjs +22 -4
- package/fesm2022/seniorsistemas-angular-components-locale.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-number-input.mjs +14 -151
- package/fesm2022/seniorsistemas-angular-components-number-input.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-numeric-mask.mjs +31 -34
- package/fesm2022/seniorsistemas-angular-components-numeric-mask.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-table.mjs +20 -5
- package/fesm2022/seniorsistemas-angular-components-table.mjs.map +1 -1
- package/inline-edit/lib/inline-edit/fields/inline-edit-number-field.d.ts +2 -3
- package/locale/lib/locale/apply-localized-mask.d.ts +9 -0
- package/locale/lib/locale/pipes/localized-bignumber-impure.pipe.d.ts +2 -3
- package/locale/lib/locale/pipes/localized-bignumber.pipe.d.ts +3 -2
- package/locale/public-api.d.ts +1 -0
- package/number-input/lib/number-input/number-input.directive.d.ts +7 -47
- package/number-input/lib/number-input/number-input.module.d.ts +2 -2
- package/numeric-mask/lib/numeric-mask/numeric-mask.directive.d.ts +8 -9
- package/package.json +1 -1
|
@@ -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
|
-
|
|
65
|
-
|
|
66
|
-
|
|
64
|
+
decimalSeparator: import("@angular/core").ModelSignal<string>;
|
|
65
|
+
thousandSeparator: import("@angular/core").ModelSignal<string>;
|
|
66
|
+
protected currentLocale: string;
|
|
67
67
|
private lastModelValue;
|
|
68
|
-
|
|
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
|
-
|
|
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
|
}
|