@controladad/ng-base
Version:
Everything you need for Angular
31 lines (30 loc) • 1.56 kB
TypeScript
import { ElementRef, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
import { Subscription } from 'rxjs';
import { FormControlExtended } from '@al00x/forms';
import * as i0 from "@angular/core";
export declare class CacLicensePlateComponent implements OnChanges, OnDestroy, OnInit {
inputEl?: ElementRef<HTMLInputElement>;
control: FormControlExtended;
label?: string;
hideError: boolean;
mini: boolean;
readonly: boolean;
value?: string;
inputMask: import("../../../directives").InputmaskOptions<string>;
firstSection?: string;
letterSection?: string;
secondSection?: string;
stateSection?: string;
sub: Subscription;
isFocused: import("@angular/core").WritableSignal<boolean>;
ngOnInit(): void;
ngOnChanges(changes: SimpleChanges): void;
ngOnDestroy(): void;
onFocusChanged(focus: boolean): void;
onInputChange(): void;
private parsePlateSections;
private updateInputActualValue;
private extractValueFromMask;
static ɵfac: i0.ɵɵFactoryDeclaration<CacLicensePlateComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<CacLicensePlateComponent, "cac-license-plate", never, { "control": { "alias": "control"; "required": false; }; "label": { "alias": "label"; "required": false; }; "hideError": { "alias": "hideError"; "required": false; }; "mini": { "alias": "mini"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, {}, never, never, true, never>;
}