Learn more  » Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Bower components Debian packages RPM packages NuGet packages

vipera-npm-registry / motif-web-admin-core   js

Repository URL to install this package:

Version: 0.3.1 

/ lib / sections / AccessControl / components / dialogs / user / new-user-dialog.d.ts

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 {};