@netgrif/components
Version:
Netgrif Application Engine frontend Angular components
25 lines (24 loc) • 1.3 kB
TypeScript
import { ProcessRole, UserListInjectedData, UserValue } from '@netgrif/components-core';
import { FormControl } from '@angular/forms';
import { MatDialogRef } from '@angular/material/dialog';
import * as i0 from "@angular/core";
export declare class MultiUserAssignDialogComponent {
protected _dialogRef: MatDialogRef<MultiUserAssignDialogComponent>;
protected _data: UserListInjectedData;
searchUserControl: FormControl<any>;
injectedData: UserListInjectedData;
protected _currentUsers: Array<UserValue>;
constructor(_dialogRef: MatDialogRef<MultiUserAssignDialogComponent>, _data: UserListInjectedData);
get initiallySelectedUsers(): Array<UserValue> | undefined;
get roles(): Array<string> | Array<ProcessRole>;
get negativeRoles(): Array<string> | Array<ProcessRole>;
get currentUsers(): Array<UserValue>;
userWasUnselected(user: UserValue): void;
userWasSelected(user: UserValue): void;
/**
* On save button close side menu with selected user as data and message about confirm.
*/
save(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<MultiUserAssignDialogComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<MultiUserAssignDialogComponent, "nc-multi-user-assign-dialog", never, {}, {}, never, never, false, never>;
}