@seniorsistemas/angular-components 17.9.5 → 17.9.7
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/bundles/seniorsistemas-angular-components.umd.js +385 -149
- package/bundles/seniorsistemas-angular-components.umd.js.map +1 -1
- package/bundles/seniorsistemas-angular-components.umd.min.js +2 -2
- package/bundles/seniorsistemas-angular-components.umd.min.js.map +1 -1
- package/components/custom-fields/custom-fields.component.d.ts +1 -0
- package/components/dynamic-form/components/dynamic-field/dynamic-field.component.d.ts +0 -1
- package/components/dynamic-form/components/field-label/field-label.component.d.ts +6 -0
- package/components/dynamic-form/components/field-label/field-label.module.d.ts +2 -0
- package/components/dynamic-form/components/fields/autocomplete/autocomplete-field.component.d.ts +7 -0
- package/components/dynamic-form/components/fields/bignumber/bignumber-field.component.d.ts +5 -2
- package/components/dynamic-form/components/fields/calendar/calendar-field.component.d.ts +9 -2
- package/components/dynamic-form/components/fields/chips/chips-field.component.d.ts +7 -1
- package/components/dynamic-form/components/fields/country-phone-picker/country-phone-picker-field.component.d.ts +7 -0
- package/components/dynamic-form/components/fields/currency/currency-field.component.d.ts +6 -3
- package/components/dynamic-form/components/fields/file-upload/file-upload.component.d.ts +10 -0
- package/components/dynamic-form/components/fields/number/number-field.component.d.ts +7 -2
- package/components/dynamic-form/components/fields/password/password-field.component.d.ts +6 -2
- package/components/dynamic-form/components/fields/text/text-field.component.d.ts +6 -2
- package/components/dynamic-form/components/fields/text-area/text-area-field.component.d.ts +5 -0
- package/components/dynamic-form/components/fields/text-area-ia/text-area-ia-field.component.d.ts +2 -1
- package/components/dynamic-form/configurations/fields/field.d.ts +2 -0
- package/components/dynamic-form/configurations/form-field.d.ts +1 -0
- package/components/dynamic-form/dynamic-form.component.d.ts +0 -1
- package/components/dynamic-form/dynamic-form.directive.d.ts +0 -1
- package/components/info-sign/info-sign.directive.d.ts +4 -2
- package/components/locale/index.d.ts +1 -0
- package/components/tooltip/tooltip.directive.d.ts +1 -0
- package/esm2015/components/custom-fields/custom-fields.component.js +8 -2
- package/esm2015/components/dynamic-form/components/dynamic-field/dynamic-field.component.js +2 -5
- package/esm2015/components/dynamic-form/components/field-label/field-label.component.js +24 -0
- package/esm2015/components/dynamic-form/components/field-label/field-label.module.js +19 -0
- package/esm2015/components/dynamic-form/components/fields/autocomplete/autocomplete-field.component.js +18 -3
- package/esm2015/components/dynamic-form/components/fields/bignumber/bignumber-field.component.js +13 -5
- package/esm2015/components/dynamic-form/components/fields/bignumber/bignumber-field.module.js +3 -1
- package/esm2015/components/dynamic-form/components/fields/boolean/boolean-field.component.js +2 -2
- package/esm2015/components/dynamic-form/components/fields/calendar/calendar-field.component.js +19 -5
- package/esm2015/components/dynamic-form/components/fields/chips/chips-field.component.js +16 -5
- package/esm2015/components/dynamic-form/components/fields/country-phone-picker/country-phone-picker-field.component.js +18 -3
- package/esm2015/components/dynamic-form/components/fields/currency/currency-field.component.js +14 -6
- package/esm2015/components/dynamic-form/components/fields/currency/currency-field.module.js +12 -2
- package/esm2015/components/dynamic-form/components/fields/file-upload/file-upload.component.js +36 -3
- package/esm2015/components/dynamic-form/components/fields/lookup/lookup-field.component.js +2 -2
- package/esm2015/components/dynamic-form/components/fields/number/number-field.component.js +17 -5
- package/esm2015/components/dynamic-form/components/fields/number/number-field.module.js +3 -1
- package/esm2015/components/dynamic-form/components/fields/password/password-field.component.js +14 -4
- package/esm2015/components/dynamic-form/components/fields/password/password-field.module.js +3 -1
- package/esm2015/components/dynamic-form/components/fields/profile-picture/profile-picture-field.component.js +2 -2
- package/esm2015/components/dynamic-form/components/fields/profile-picture/profile-picture-field.module.js +3 -1
- package/esm2015/components/dynamic-form/components/fields/radio-button/radio-button-field.component.js +2 -2
- package/esm2015/components/dynamic-form/components/fields/select/select-field.component.js +2 -2
- package/esm2015/components/dynamic-form/components/fields/slider/slider-field.component.js +2 -2
- package/esm2015/components/dynamic-form/components/fields/text/text-field.component.js +15 -5
- package/esm2015/components/dynamic-form/components/fields/text/text-field.module.js +3 -1
- package/esm2015/components/dynamic-form/components/fields/text-area/text-area-field.component.js +15 -3
- package/esm2015/components/dynamic-form/components/fields/text-area-ia/text-area-ia-field.component.js +6 -3
- package/esm2015/components/dynamic-form/components/grid/row/row.component.js +1 -9
- package/esm2015/components/dynamic-form/configurations/fields/field.js +2 -1
- package/esm2015/components/dynamic-form/configurations/form-field.js +1 -1
- package/esm2015/components/dynamic-form/dynamic-form.component.js +2 -5
- package/esm2015/components/dynamic-form/dynamic-form.directive.js +1 -4
- package/esm2015/components/dynamic-form/dynamic-form.module.js +3 -1
- package/esm2015/components/info-sign/info-sign.directive.js +14 -8
- package/esm2015/components/locale/index.js +2 -1
- package/esm2015/components/locale/services/numeric.service.js +4 -3
- package/esm2015/components/tooltip/tooltip.directive.js +33 -2
- package/esm2015/seniorsistemas-angular-components.js +86 -84
- package/esm5/components/custom-fields/custom-fields.component.js +9 -2
- package/esm5/components/dynamic-form/components/dynamic-field/dynamic-field.component.js +2 -5
- package/esm5/components/dynamic-form/components/field-label/field-label.component.js +25 -0
- package/esm5/components/dynamic-form/components/field-label/field-label.module.js +22 -0
- package/esm5/components/dynamic-form/components/fields/autocomplete/autocomplete-field.component.js +17 -4
- package/esm5/components/dynamic-form/components/fields/bignumber/bignumber-field.component.js +13 -5
- package/esm5/components/dynamic-form/components/fields/bignumber/bignumber-field.module.js +3 -1
- package/esm5/components/dynamic-form/components/fields/boolean/boolean-field.component.js +2 -2
- package/esm5/components/dynamic-form/components/fields/calendar/calendar-field.component.js +19 -5
- package/esm5/components/dynamic-form/components/fields/chips/chips-field.component.js +16 -5
- package/esm5/components/dynamic-form/components/fields/country-phone-picker/country-phone-picker-field.component.js +17 -4
- package/esm5/components/dynamic-form/components/fields/currency/currency-field.component.js +14 -6
- package/esm5/components/dynamic-form/components/fields/currency/currency-field.module.js +12 -2
- package/esm5/components/dynamic-form/components/fields/file-upload/file-upload.component.js +37 -5
- package/esm5/components/dynamic-form/components/fields/lookup/lookup-field.component.js +2 -2
- package/esm5/components/dynamic-form/components/fields/number/number-field.component.js +17 -5
- package/esm5/components/dynamic-form/components/fields/number/number-field.module.js +3 -1
- package/esm5/components/dynamic-form/components/fields/password/password-field.component.js +14 -4
- package/esm5/components/dynamic-form/components/fields/password/password-field.module.js +3 -1
- package/esm5/components/dynamic-form/components/fields/profile-picture/profile-picture-field.component.js +2 -2
- package/esm5/components/dynamic-form/components/fields/profile-picture/profile-picture-field.module.js +3 -1
- package/esm5/components/dynamic-form/components/fields/radio-button/radio-button-field.component.js +2 -2
- package/esm5/components/dynamic-form/components/fields/select/select-field.component.js +2 -2
- package/esm5/components/dynamic-form/components/fields/slider/slider-field.component.js +2 -2
- package/esm5/components/dynamic-form/components/fields/text/text-field.component.js +15 -5
- package/esm5/components/dynamic-form/components/fields/text/text-field.module.js +3 -1
- package/esm5/components/dynamic-form/components/fields/text-area/text-area-field.component.js +14 -4
- package/esm5/components/dynamic-form/components/fields/text-area-ia/text-area-ia-field.component.js +6 -3
- package/esm5/components/dynamic-form/components/grid/row/row.component.js +2 -2
- package/esm5/components/dynamic-form/configurations/fields/field.js +2 -1
- package/esm5/components/dynamic-form/configurations/form-field.js +1 -1
- package/esm5/components/dynamic-form/dynamic-form.component.js +2 -5
- package/esm5/components/dynamic-form/dynamic-form.directive.js +1 -4
- package/esm5/components/dynamic-form/dynamic-form.module.js +3 -1
- package/esm5/components/info-sign/info-sign.directive.js +14 -8
- package/esm5/components/locale/index.js +2 -1
- package/esm5/components/locale/services/numeric.service.js +4 -3
- package/esm5/components/tooltip/tooltip.directive.js +40 -8
- package/esm5/seniorsistemas-angular-components.js +86 -84
- package/fesm2015/seniorsistemas-angular-components.js +290 -64
- package/fesm2015/seniorsistemas-angular-components.js.map +1 -1
- package/fesm5/seniorsistemas-angular-components.js +301 -68
- package/fesm5/seniorsistemas-angular-components.js.map +1 -1
- package/package.json +1 -1
- package/seniorsistemas-angular-components.d.ts +85 -83
- package/seniorsistemas-angular-components.metadata.json +1 -1
package/components/dynamic-form/components/fields/autocomplete/autocomplete-field.component.d.ts
CHANGED
|
@@ -1,7 +1,14 @@
|
|
|
1
|
+
import { ChangeDetectorRef, ElementRef } from "@angular/core";
|
|
1
2
|
import { FormControl } from "@angular/forms";
|
|
2
3
|
import { AutocompleteField } from "../../../configurations/fields/autocomplete-field";
|
|
3
4
|
import { BaseFieldComponentConfig } from "../base-field-component";
|
|
4
5
|
export declare class AutocompleteFieldComponent implements BaseFieldComponentConfig {
|
|
6
|
+
private readonly changeDetectorRef;
|
|
7
|
+
private readonly elementRef;
|
|
5
8
|
field: AutocompleteField;
|
|
6
9
|
formControl: FormControl;
|
|
10
|
+
inputRef: ElementRef;
|
|
11
|
+
constructor(changeDetectorRef: ChangeDetectorRef, elementRef: ElementRef);
|
|
12
|
+
ngAfterViewInit(): void;
|
|
13
|
+
private setInputRef;
|
|
7
14
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EventEmitter, OnDestroy, OnInit } from "@angular/core";
|
|
1
|
+
import { ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy, OnInit } from "@angular/core";
|
|
2
2
|
import { FormControl } from "@angular/forms";
|
|
3
3
|
import { BaseFieldComponent, BaseFieldComponentConfig } from "../base-field-component";
|
|
4
4
|
import { FieldType } from "../../../configurations/field-type";
|
|
@@ -6,15 +6,18 @@ import { BignumberField } from "../../../configurations/fields/bignumber-field";
|
|
|
6
6
|
import { LocaleService } from "../../../../locale/locale.service";
|
|
7
7
|
export declare class BignumberFieldComponent extends BaseFieldComponent implements OnInit, OnDestroy, BaseFieldComponentConfig {
|
|
8
8
|
private readonly localeService;
|
|
9
|
+
private readonly changeDetectorRef;
|
|
9
10
|
field: BignumberField;
|
|
10
11
|
formControl: FormControl;
|
|
11
12
|
onInput: EventEmitter<any>;
|
|
12
13
|
onFocus: EventEmitter<any>;
|
|
13
14
|
onComplete: EventEmitter<any>;
|
|
15
|
+
inputRef: ElementRef;
|
|
14
16
|
private ngUnsubscribe;
|
|
15
|
-
constructor(localeService: LocaleService);
|
|
17
|
+
constructor(localeService: LocaleService, changeDetectorRef: ChangeDetectorRef);
|
|
16
18
|
ngOnInit(): void;
|
|
17
19
|
ngOnDestroy(): void;
|
|
18
20
|
get fieldType(): typeof FieldType;
|
|
19
21
|
private onLocaleService;
|
|
22
|
+
ngAfterViewInit(): void;
|
|
20
23
|
}
|
|
@@ -1,14 +1,19 @@
|
|
|
1
|
+
import { ChangeDetectorRef, ElementRef } from "@angular/core";
|
|
1
2
|
import { FormControl } from "@angular/forms";
|
|
3
|
+
import { TranslateService } from "@ngx-translate/core";
|
|
2
4
|
import { CalendarField } from "../../../configurations/fields/calendar-field";
|
|
3
5
|
import { BaseFieldComponentConfig } from "../base-field-component";
|
|
4
|
-
import { TranslateService } from "@ngx-translate/core";
|
|
5
6
|
export declare class CalendarFieldComponent implements BaseFieldComponentConfig {
|
|
6
7
|
private readonly translateService;
|
|
7
|
-
|
|
8
|
+
private readonly changeDetectorRef;
|
|
9
|
+
private readonly elementRef;
|
|
10
|
+
constructor(translateService: TranslateService, changeDetectorRef: ChangeDetectorRef, elementRef: ElementRef);
|
|
8
11
|
field: CalendarField;
|
|
9
12
|
formControl: FormControl;
|
|
10
13
|
showTime: boolean;
|
|
11
14
|
timeOnly: boolean;
|
|
15
|
+
calendar: ElementRef;
|
|
16
|
+
inputRef: ElementRef;
|
|
12
17
|
locale: {
|
|
13
18
|
firstDayOfWeek: number;
|
|
14
19
|
dayNames: any[];
|
|
@@ -21,4 +26,6 @@ export declare class CalendarFieldComponent implements BaseFieldComponentConfig
|
|
|
21
26
|
dateFormat: any;
|
|
22
27
|
hourFormat: any;
|
|
23
28
|
};
|
|
29
|
+
ngAfterViewInit(): void;
|
|
30
|
+
private setInputRef;
|
|
24
31
|
}
|
|
@@ -1,13 +1,19 @@
|
|
|
1
|
+
import { ChangeDetectorRef, ElementRef } from "@angular/core";
|
|
1
2
|
import { FormControl } from "@angular/forms";
|
|
2
3
|
import { Clipboard } from "@angular/cdk/clipboard";
|
|
3
4
|
import { ChipsField } from "../../../configurations/fields/chips-field";
|
|
4
5
|
import { BaseFieldComponentConfig } from "../base-field-component";
|
|
5
6
|
export declare class ChipsFieldComponent implements BaseFieldComponentConfig {
|
|
6
7
|
private readonly clipboard;
|
|
8
|
+
private readonly changeDetectorRef;
|
|
9
|
+
private readonly elementRef;
|
|
7
10
|
field: ChipsField;
|
|
8
11
|
formControl: FormControl;
|
|
9
12
|
feedbackMessageVisible: boolean;
|
|
10
13
|
copyButtonVisible: boolean;
|
|
11
|
-
|
|
14
|
+
inputRef: ElementRef;
|
|
15
|
+
constructor(clipboard: Clipboard, changeDetectorRef: ChangeDetectorRef, elementRef: ElementRef);
|
|
12
16
|
onCopyFieldContent(): void;
|
|
17
|
+
ngAfterViewInit(): void;
|
|
18
|
+
private setInputRef;
|
|
13
19
|
}
|
|
@@ -1,7 +1,14 @@
|
|
|
1
|
+
import { ChangeDetectorRef, ElementRef } from "@angular/core";
|
|
1
2
|
import { FormControl } from "@angular/forms";
|
|
2
3
|
import { BaseFieldComponentConfig } from "../base-field-component";
|
|
3
4
|
import { CountryPhonePickerField } from "../../../configurations/fields/country-phone-picker-field";
|
|
4
5
|
export declare class CountryPhonePickerFieldComponent implements BaseFieldComponentConfig {
|
|
6
|
+
private readonly changeDetectorRef;
|
|
7
|
+
private readonly elementRef;
|
|
5
8
|
field: CountryPhonePickerField;
|
|
6
9
|
formControl: FormControl;
|
|
10
|
+
inputRef: ElementRef;
|
|
11
|
+
constructor(changeDetectorRef: ChangeDetectorRef, elementRef: ElementRef);
|
|
12
|
+
ngAfterViewInit(): void;
|
|
13
|
+
private setInputRef;
|
|
7
14
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { OnInit } from "@angular/core";
|
|
1
|
+
import { ChangeDetectorRef, ElementRef, OnInit } from "@angular/core";
|
|
2
2
|
import { FormControl } from "@angular/forms";
|
|
3
3
|
import { LocaleService } from "../../../../locale/locale.service";
|
|
4
4
|
import { CurrencyField } from "../../../configurations/fields/currency-field";
|
|
@@ -8,11 +8,14 @@ import { CurrencyService } from "../../../../../utils/currency/currency.service"
|
|
|
8
8
|
* @deprecated Should use bignumber instead
|
|
9
9
|
*/
|
|
10
10
|
export declare class CurrencyFieldComponent extends BaseFieldComponent implements BaseFieldComponentConfig, OnInit {
|
|
11
|
-
private readonly localeService;
|
|
12
11
|
readonly currencyService: CurrencyService;
|
|
12
|
+
private readonly localeService;
|
|
13
|
+
private readonly changeDetectorRef;
|
|
13
14
|
field: CurrencyField;
|
|
14
15
|
formControl: FormControl;
|
|
15
|
-
|
|
16
|
+
inputRef: ElementRef;
|
|
17
|
+
constructor(currencyService: CurrencyService, localeService: LocaleService, changeDetectorRef: ChangeDetectorRef);
|
|
16
18
|
ngOnInit(): void;
|
|
17
19
|
private onLocaleService;
|
|
20
|
+
ngAfterViewInit(): void;
|
|
18
21
|
}
|
|
@@ -1,7 +1,17 @@
|
|
|
1
|
+
import { ChangeDetectorRef, ElementRef } from "@angular/core";
|
|
1
2
|
import { FormControl } from "@angular/forms";
|
|
2
3
|
import { BlobField } from "../../../configurations/fields/blob-field";
|
|
3
4
|
import { BaseFieldComponent, BaseFieldComponentConfig } from "../base-field-component";
|
|
4
5
|
export declare class FileUploadComponent extends BaseFieldComponent implements BaseFieldComponentConfig {
|
|
6
|
+
private readonly changeDetectorRef;
|
|
7
|
+
private readonly elementRef;
|
|
5
8
|
field: BlobField;
|
|
6
9
|
formControl: FormControl;
|
|
10
|
+
inputRef: HTMLInputElement;
|
|
11
|
+
constructor(changeDetectorRef: ChangeDetectorRef, elementRef: ElementRef);
|
|
12
|
+
onClick(): void;
|
|
13
|
+
ngAfterViewInit(): void;
|
|
14
|
+
private addEventOnBlur;
|
|
15
|
+
private setInputRef;
|
|
16
|
+
private dispatchFocusInputRef;
|
|
7
17
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EventEmitter, OnDestroy, OnInit } from "@angular/core";
|
|
1
|
+
import { ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy, OnInit } from "@angular/core";
|
|
2
2
|
import { FormControl } from "@angular/forms";
|
|
3
3
|
import { LocaleService } from "../../../../locale/locale.service";
|
|
4
4
|
import { NumberAlignmentOption } from "../../../../number-input/index";
|
|
@@ -7,16 +7,21 @@ import { BaseFieldComponent, BaseFieldComponentConfig } from "../base-field-comp
|
|
|
7
7
|
import { FieldType } from "./../../../configurations/field-type";
|
|
8
8
|
export declare class NumberFieldComponent extends BaseFieldComponent implements OnInit, OnDestroy, BaseFieldComponentConfig {
|
|
9
9
|
private readonly localeService;
|
|
10
|
+
private readonly elementRef;
|
|
11
|
+
private readonly changeDetectorRef;
|
|
10
12
|
field: DecimalField;
|
|
11
13
|
formControl: FormControl;
|
|
12
14
|
onInput: EventEmitter<any>;
|
|
13
15
|
onFocus: EventEmitter<any>;
|
|
14
16
|
onComplete: EventEmitter<any>;
|
|
17
|
+
inputRef: ElementRef;
|
|
15
18
|
private ngUnsubscribe;
|
|
16
|
-
constructor(localeService: LocaleService);
|
|
19
|
+
constructor(localeService: LocaleService, elementRef: ElementRef, changeDetectorRef: ChangeDetectorRef);
|
|
17
20
|
ngOnInit(): void;
|
|
21
|
+
ngAfterViewInit(): void;
|
|
18
22
|
ngOnDestroy(): void;
|
|
19
23
|
get numberAlignmentOption(): typeof NumberAlignmentOption;
|
|
20
24
|
get fieldType(): typeof FieldType;
|
|
21
25
|
private onLocaleService;
|
|
26
|
+
private setInputRef;
|
|
22
27
|
}
|
|
@@ -1,15 +1,19 @@
|
|
|
1
|
-
import { EventEmitter, OnDestroy, OnInit } from "@angular/core";
|
|
1
|
+
import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy, OnInit } from "@angular/core";
|
|
2
2
|
import { FormControl } from "@angular/forms";
|
|
3
3
|
import { PasswordField } from "../../../configurations/fields/password-field";
|
|
4
|
-
export declare class PasswordFieldComponent implements OnInit, OnDestroy {
|
|
4
|
+
export declare class PasswordFieldComponent implements OnInit, AfterViewInit, OnDestroy {
|
|
5
|
+
private readonly changeDetectorRef;
|
|
5
6
|
field: PasswordField;
|
|
6
7
|
formControl: FormControl;
|
|
7
8
|
onInput: EventEmitter<any>;
|
|
8
9
|
onFocus: EventEmitter<any>;
|
|
9
10
|
onComplete: EventEmitter<any>;
|
|
11
|
+
inputRef: ElementRef;
|
|
10
12
|
private ngUnsubscribe;
|
|
11
13
|
passwordVisible: boolean;
|
|
14
|
+
constructor(changeDetectorRef: ChangeDetectorRef);
|
|
12
15
|
ngOnInit(): void;
|
|
13
16
|
ngOnDestroy(): void;
|
|
14
17
|
onChangeVisible(): void;
|
|
18
|
+
ngAfterViewInit(): void;
|
|
15
19
|
}
|
|
@@ -1,14 +1,18 @@
|
|
|
1
|
-
import { EventEmitter, OnDestroy, OnInit } from "@angular/core";
|
|
1
|
+
import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy, OnInit } from "@angular/core";
|
|
2
2
|
import { FormControl } from "@angular/forms";
|
|
3
3
|
import { TextField } from "../../../configurations/fields/text-field";
|
|
4
4
|
import { BaseFieldComponent, BaseFieldComponentConfig } from "../base-field-component";
|
|
5
|
-
export declare class TextFieldComponent extends BaseFieldComponent implements OnInit, OnDestroy, BaseFieldComponentConfig {
|
|
5
|
+
export declare class TextFieldComponent extends BaseFieldComponent implements OnInit, AfterViewInit, OnDestroy, BaseFieldComponentConfig {
|
|
6
|
+
private readonly changeDetectorRef;
|
|
6
7
|
field: TextField;
|
|
7
8
|
formControl: FormControl;
|
|
8
9
|
onInput: EventEmitter<any>;
|
|
9
10
|
onFocus: EventEmitter<any>;
|
|
10
11
|
onComplete: EventEmitter<any>;
|
|
12
|
+
inputRef: ElementRef;
|
|
11
13
|
private ngUnsubscribe;
|
|
14
|
+
constructor(changeDetectorRef: ChangeDetectorRef);
|
|
12
15
|
ngOnInit(): void;
|
|
16
|
+
ngAfterViewInit(): void;
|
|
13
17
|
ngOnDestroy(): void;
|
|
14
18
|
}
|
|
@@ -1,7 +1,12 @@
|
|
|
1
|
+
import { ChangeDetectorRef, ElementRef } from "@angular/core";
|
|
1
2
|
import { FormControl } from "@angular/forms";
|
|
2
3
|
import { TextAreaField } from "../../../configurations/fields/text-area-field";
|
|
3
4
|
import { BaseFieldComponentConfig } from "../base-field-component";
|
|
4
5
|
export declare class TextAreaFieldComponent implements BaseFieldComponentConfig {
|
|
6
|
+
private readonly changeDetectorRef;
|
|
5
7
|
field: TextAreaField;
|
|
6
8
|
formControl: FormControl;
|
|
9
|
+
inputRef: ElementRef;
|
|
10
|
+
constructor(changeDetectorRef: ChangeDetectorRef);
|
|
11
|
+
ngAfterViewInit(): void;
|
|
7
12
|
}
|
package/components/dynamic-form/components/fields/text-area-ia/text-area-ia-field.component.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { OnInit } from "@angular/core";
|
|
1
|
+
import { ElementRef, OnInit } from "@angular/core";
|
|
2
2
|
import { FormBuilder, FormControl, FormGroup } from "@angular/forms";
|
|
3
3
|
import { IAssistService } from "../../../services/IAssist/iassist.service";
|
|
4
4
|
import { TextAreaIAField } from "../../../configurations/fields/text-area-ia-field";
|
|
@@ -11,6 +11,7 @@ export declare class TextAreaIAFieldComponent implements BaseFieldComponentConfi
|
|
|
11
11
|
private readonly _translateService;
|
|
12
12
|
field: TextAreaIAField;
|
|
13
13
|
formControl: FormControl;
|
|
14
|
+
inputRef: ElementRef;
|
|
14
15
|
fields: FormField[];
|
|
15
16
|
formGroup: FormGroup;
|
|
16
17
|
isVisible: boolean;
|
|
@@ -41,6 +41,7 @@ export interface FieldConfig {
|
|
|
41
41
|
};
|
|
42
42
|
CustomFieldClass?: unknown;
|
|
43
43
|
CustomFieldComponentClass?: unknown;
|
|
44
|
+
displayTimeInfoSign?: number;
|
|
44
45
|
}
|
|
45
46
|
export declare abstract class Field {
|
|
46
47
|
required?: () => boolean;
|
|
@@ -61,6 +62,7 @@ export declare abstract class Field {
|
|
|
61
62
|
bottomTemplate?: TemplateRef<Element>;
|
|
62
63
|
CustomFieldClass?: unknown;
|
|
63
64
|
CustomFieldComponentClass?: unknown;
|
|
65
|
+
displayTimeInfoSign?: number;
|
|
64
66
|
footer?: {
|
|
65
67
|
help?: {
|
|
66
68
|
text: string;
|
|
@@ -17,7 +17,6 @@ export declare class DynamicFormDirective implements OnInit, OnChanges, OnDestro
|
|
|
17
17
|
group: FormGroup;
|
|
18
18
|
errorMessages: any;
|
|
19
19
|
});
|
|
20
|
-
displayTimeInfoSign: number;
|
|
21
20
|
component: ComponentRef<any>;
|
|
22
21
|
constructor(resolver: ComponentFactoryResolver, container: ViewContainerRef);
|
|
23
22
|
ngOnInit(): void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ComponentFactoryResolver, OnDestroy, OnInit, TemplateRef, ViewContainerRef } from "@angular/core";
|
|
2
|
-
export declare class InfoSignDirective implements OnInit, OnDestroy {
|
|
1
|
+
import { ComponentFactoryResolver, OnChanges, OnDestroy, OnInit, TemplateRef, ViewContainerRef } from "@angular/core";
|
|
2
|
+
export declare class InfoSignDirective implements OnChanges, OnInit, OnDestroy {
|
|
3
3
|
private readonly templateRef;
|
|
4
4
|
private readonly viewContainer;
|
|
5
5
|
private readonly componentFactoryResolver;
|
|
@@ -8,6 +8,8 @@ export declare class InfoSignDirective implements OnInit, OnDestroy {
|
|
|
8
8
|
focusedInputRef: HTMLInputElement;
|
|
9
9
|
private componentRef;
|
|
10
10
|
constructor(templateRef: TemplateRef<any>, viewContainer: ViewContainerRef, componentFactoryResolver: ComponentFactoryResolver);
|
|
11
|
+
ngOnChanges(): void;
|
|
11
12
|
ngOnInit(): void;
|
|
12
13
|
ngOnDestroy(): void;
|
|
14
|
+
private createInfoSign;
|
|
13
15
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from "./options/index";
|
|
2
2
|
export * from "./locale.module";
|
|
3
3
|
export * from "./locale.service";
|
|
4
|
+
export * from "./services/numeric.service";
|
|
4
5
|
export * from "./pipes/localized-currency.pipe";
|
|
5
6
|
export * from "./pipes/localized-date.pipe";
|
|
6
7
|
export * from "./pipes/localized-date-impure.pipe";
|
|
@@ -65,6 +65,7 @@ export declare class TooltipDirective implements OnInit, OnDestroy {
|
|
|
65
65
|
* @param icon O ícone do input em focus.
|
|
66
66
|
*/
|
|
67
67
|
private createTootipByFocus;
|
|
68
|
+
private updateTooltipPosition;
|
|
68
69
|
private showTooltip;
|
|
69
70
|
private setTooltipComponentProperties;
|
|
70
71
|
private destroy;
|