@controladad/ng-base
Version:
Everything you need for Angular
22 lines (21 loc) • 1.22 kB
TypeScript
import { OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
import { ItemRecord, ItemRecords$ } from '../../../../core';
import { Subscription } from 'rxjs';
import { FormControlExtended } from '@al00x/forms';
import * as i0 from "@angular/core";
export declare class CacFieldViewComponent implements OnChanges, OnDestroy {
control?: FormControlExtended;
value?: any;
items?: ItemRecords$<any, any>;
emptyValue?: string;
itemsUpdateSub: Subscription;
controlUpdateSub: Subscription;
currentItems: import("@angular/core").WritableSignal<ItemRecord<any, any>[] | undefined>;
displayValue: import("@angular/core").WritableSignal<string>;
ngOnChanges(changes: SimpleChanges): void;
ngOnDestroy(): void;
updateView(): void;
getLabel(): any;
static ɵfac: i0.ɵɵFactoryDeclaration<CacFieldViewComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<CacFieldViewComponent, "cac-field-view", never, { "control": { "alias": "control"; "required": false; }; "value": { "alias": "value"; "required": false; }; "items": { "alias": "items"; "required": false; }; "emptyValue": { "alias": "emptyValue"; "required": false; }; }, {}, never, never, true, never>;
}