lightning-tec-br-angular-components 3.2.0 → 3.2.1
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.
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { ElementRef, OnInit } from '@angular/core';
|
|
1
|
+
import { ElementRef, OnInit, OnDestroy } from '@angular/core';
|
|
2
2
|
import { FormFieldTxtInputTypesEnum, FormFieldCountryDataFormat, FormFieldTypes } from './form-field.enum';
|
|
3
3
|
import { FormFieldService } from './form-field.service';
|
|
4
4
|
import { AlertTypesEnum } from '../alert/alert.enum';
|
|
5
5
|
import { AlertService } from '../alert/alert.service';
|
|
6
|
-
import { ChangeDetectorRef } from '@angular/core';
|
|
7
6
|
import { IconsEnum } from '../icons.enum.ts';
|
|
8
7
|
import { FontWeights } from '../fontWeights.enum';
|
|
9
8
|
import * as i0 from "@angular/core";
|
|
@@ -11,9 +10,8 @@ export type ComboObjects = {
|
|
|
11
10
|
value: string;
|
|
12
11
|
id: number;
|
|
13
12
|
};
|
|
14
|
-
export declare class FormFieldComponent implements OnInit {
|
|
15
|
-
|
|
16
|
-
private cd;
|
|
13
|
+
export declare class FormFieldComponent implements OnInit, OnDestroy {
|
|
14
|
+
comboHeader?: ElementRef<HTMLElement>;
|
|
17
15
|
_Icon: IconsEnum;
|
|
18
16
|
Name: import("@angular/core").InputSignal<string>;
|
|
19
17
|
cypressTestId: import("@angular/core").InputSignal<string | undefined>;
|
|
@@ -46,6 +44,8 @@ export declare class FormFieldComponent implements OnInit {
|
|
|
46
44
|
FieldType: FormFieldTypes;
|
|
47
45
|
valueFromService: string;
|
|
48
46
|
Value?: string;
|
|
47
|
+
private updatingInternally;
|
|
48
|
+
private destroy$;
|
|
49
49
|
Mask: string;
|
|
50
50
|
NumberMaskPrefix: string;
|
|
51
51
|
Sufixo: string;
|
|
@@ -60,12 +60,17 @@ export declare class FormFieldComponent implements OnInit {
|
|
|
60
60
|
readonly FormFieldTypes: typeof FormFieldTypes;
|
|
61
61
|
FormFieldService: FormFieldService;
|
|
62
62
|
AlertService: AlertService;
|
|
63
|
-
constructor(
|
|
63
|
+
constructor();
|
|
64
64
|
ngOnInit(): void;
|
|
65
|
+
ngOnDestroy(): void;
|
|
66
|
+
onInputChange(value: string): void;
|
|
67
|
+
private emitValueChanged;
|
|
68
|
+
private setValueSilently;
|
|
65
69
|
onValueChanged(): void;
|
|
66
70
|
startListenToExternalValueChanged(): void;
|
|
67
71
|
startListenToStateChanged(): void;
|
|
68
72
|
startListenToComboboxOpen(): void;
|
|
73
|
+
private updateHeaderPosition;
|
|
69
74
|
buildOptions(values: string[], ids: number[]): ComboObjects[];
|
|
70
75
|
togglePasswordView(): void;
|
|
71
76
|
configMask(): void;
|