ca-components 1.7.94 → 1.7.96
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/esm2022/lib/components/ca-input-test/input-test.component.mjs +20 -1
- package/esm2022/lib/components/ca-input-test/pipes/label-class.pipe.mjs +5 -3
- package/fesm2022/ca-components.mjs +22 -2
- package/fesm2022/ca-components.mjs.map +1 -1
- package/lib/components/ca-input-test/input-test.component.d.ts +4 -2
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter } from '@angular/core';
|
|
1
|
+
import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy } from '@angular/core';
|
|
2
2
|
import { AbstractControl, ControlValueAccessor, NgControl } from '@angular/forms';
|
|
3
3
|
import { ICaInput } from './config';
|
|
4
4
|
import { InputChangeValue, InputSvgRoutes } from './utils';
|
|
@@ -72,13 +72,14 @@ declare const InputTestComponent_base: {
|
|
|
72
72
|
setCommandEvent: EventInputManager<CommandsEvent>;
|
|
73
73
|
};
|
|
74
74
|
} & typeof InputBase;
|
|
75
|
-
export declare class InputTestComponent extends InputTestComponent_base implements ControlValueAccessor, AfterViewInit {
|
|
75
|
+
export declare class InputTestComponent extends InputTestComponent_base implements ControlValueAccessor, AfterViewInit, OnDestroy {
|
|
76
76
|
ngControl: NgControl;
|
|
77
77
|
chdet: ChangeDetectorRef;
|
|
78
78
|
maskApplier: NgxMaskService;
|
|
79
79
|
thousandSeparatorPipe: ThousandSeparatorPipe;
|
|
80
80
|
inputValue: InputChangeValue;
|
|
81
81
|
_inputConfig: ICaInput;
|
|
82
|
+
private destroy$;
|
|
82
83
|
inputSvgRoutes: typeof InputSvgRoutes;
|
|
83
84
|
inputElement: ElementRef;
|
|
84
85
|
parentControl: AbstractControl<any, any> | null;
|
|
@@ -124,6 +125,7 @@ export declare class InputTestComponent extends InputTestComponent_base implemen
|
|
|
124
125
|
handleCommandVisible(status: boolean): void;
|
|
125
126
|
identify(index: number): number;
|
|
126
127
|
handleKeyDown(event: KeyboardEvent): void;
|
|
128
|
+
ngOnDestroy(): void;
|
|
127
129
|
static ɵfac: i0.ɵɵFactoryDeclaration<InputTestComponent, [{ optional: true; self: true; }, null, null, null]>;
|
|
128
130
|
static ɵcmp: i0.ɵɵComponentDeclaration<InputTestComponent, "ca-input-test", never, { "parentControl": { "alias": "parentControl"; "required": false; }; "selectedDropdownLabelColor": { "alias": "selectedDropdownLabelColor"; "required": false; }; "template": { "alias": "template"; "required": false; }; "incorrectValue": { "alias": "incorrectValue"; "required": false; }; "inputConfig": { "alias": "inputConfig"; "required": false; }; "activeItem": { "alias": "activeItem"; "required": false; }; }, { "handleToggleDropdownOptions": "handleToggleDropdownOptions"; "incorrectInput": "incorrectEvent"; "blurInput": "blurInput"; "focusInputEvent": "focusInput"; "changeInput": "change"; "commandEvent": "commandEvent"; "clearInputEvent": "clear"; "showHideDropdownEvent": "showHideDropdown"; "dropDownKeyNavigationEvent": "dropDownKeyNavigation"; }, never, never, true, never>;
|
|
129
131
|
}
|