@tangential/admin-console
Version:
A basic administration console
30 lines (29 loc) • 1.16 kB
TypeScript
import { EventEmitter, OnChanges, SimpleChange } from '@angular/core';
import { AuthPermission } from '@tangential/authorization-service';
import { Observable } from 'rxjs';
import * as i0 from "@angular/core";
export declare class PermissionComponent implements OnChanges {
permission: AuthPermission | undefined;
change: Observable<{
current: AuthPermission;
previous: AuthPermission;
}>;
remove: EventEmitter<AuthPermission>;
private _focusDebouncer;
focus: Observable<Event>;
blur: Observable<Event>;
submitted: boolean;
private _changed;
private _previous;
constructor();
ngOnChanges(changes: {
permission: SimpleChange;
}): void;
fireRemove(): void;
onChange(event: Event): void;
onBlur(event: Event): void;
onFocus(event: Event): void;
onSubmit(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<PermissionComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<PermissionComponent, "tanj-permission", never, { "permission": "permission"; }, { "change": "change"; "remove": "remove"; "focus": "focus"; "blur": "blur"; }, never, never, false>;
}