Repository URL to install this package:
import { OnInit, EventEmitter } from '@angular/core';
import { NGXLogger } from 'web-console-core';
import { DialogType, EntityType } from '../../editors/acl-editor-context';
export interface UserDialogResult {
userId: string;
userIdInt: string;
state: string;
email: string;
firstName: string;
lastName: string;
dialogType: DialogType;
entityType: EntityType;
}
interface State {
name: string;
}
export declare class NewUserDialogComponent implements OnInit {
private logger;
_currentDialogType: DialogType;
_currentEntityType: EntityType;
dialogTitle: string;
confirmButtonLabel: string;
display: boolean;
userId: string;
userIdInt: string;
email: string;
firstName: string;
lastName: string;
defaultStateItem: State;
states: State[];
selectedState: State;
private _stateEditingWarningDisplay;
private _userIdEditingWarningDisplay;
confirm: EventEmitter<UserDialogResult>;
cancel: EventEmitter<void>;
constructor(logger: NGXLogger);
ngOnInit(): void;
ngOnDestroy(): void;
show(dialogType: DialogType, entityType: EntityType, dataItem?: any): void;
hide(): void;
readonly isEdit: Boolean;
readonly currentEntityType: EntityType;
readonly isCreatingUser: Boolean;
private prepare;
onCancel(): void;
onConfirm(): void;
readonly stateEditingWarningDisplay: boolean;
readonly userIdEditingWarningDisplay: boolean;
private validate;
}
export {};