UNPKG

@lcsf/acl

Version:

权限控制模块

24 lines (23 loc) 905 B
import { OnDestroy, TemplateRef, ViewContainerRef } from '@angular/core'; import { LcAClService } from './lc-acl.service'; import { LcACLCanType } from './lc-acl.type'; export declare class LcACLIfDirective implements OnDestroy { private srv; private _viewContainer; static ngAcceptInputType_except: boolean | string | undefined | null; private _value; private _change$; private _thenTemplateRef; private _elseTemplateRef; private _thenViewRef; private _elseViewRef; private _except; constructor(templateRef: TemplateRef<void>, srv: LcAClService, _viewContainer: ViewContainerRef); set lcAclIf(value: LcACLCanType); set lcAclIfThen(templateRef: TemplateRef<void> | null); set lcAclIfElse(templateRef: TemplateRef<void> | null); set except(value: boolean); get except(): boolean; protected _updateView(): void; ngOnDestroy(): void; }