@alauda-fe/common
Version:
Alauda frontend team common codes.
22 lines (21 loc) • 1.29 kB
TypeScript
import { AfterViewInit, ElementRef, OnDestroy, TemplateRef } from '@angular/core';
import { Observable } from 'rxjs';
import * as i0 from "@angular/core";
export declare class DisabledContainerComponent implements AfterViewInit, OnDestroy {
private readonly elementRef;
tooltip: string | TemplateRef<unknown>;
tooltipPosition: string;
tooltipType: string;
isAllowed: boolean;
isDisabled: boolean;
readonly isAllowed$: Observable<boolean>;
readonly isDisabled$: Observable<boolean>;
readonly tooltip$: Observable<string | TemplateRef<unknown>>;
private disabledSubscription;
constructor(elementRef: ElementRef<HTMLElement>);
ngAfterViewInit(): void;
ngOnDestroy(): void;
private setButtonStatus;
static ɵfac: i0.ɵɵFactoryDeclaration<DisabledContainerComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<DisabledContainerComponent, "acl-disabled-container", never, { "tooltip": { "alias": "tooltip"; "required": false; }; "tooltipPosition": { "alias": "tooltipPosition"; "required": false; }; "tooltipType": { "alias": "tooltipType"; "required": false; }; "isAllowed": { "alias": "isAllowed"; "required": false; }; "isDisabled": { "alias": "isDisabled"; "required": false; }; }, {}, never, ["*"], true, never>;
}