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 / RESTManager / components / dialogs / new-context-dialog / rest-context-dialog-component.d.ts

import { OnInit, EventEmitter } from '@angular/core';
import { NGXLogger } from 'web-console-core';
export interface RESTContextDialogResult {
    name: string;
    url: string;
    domain: string;
    application: string;
    dialogMode: DialogMode;
}
export declare enum DialogMode {
    Edit = 0,
    New = 1
}
export declare class RESTContextDialogComponent implements OnInit {
    private logger;
    dialogMode: DialogMode;
    display: boolean;
    dialogTitle: string;
    createButtonCaption: string;
    domain: string;
    application: string;
    name: string;
    url: string;
    private _nameEditingWarningDisplay;
    private _urlEditingWarningDisplay;
    private _applicationEditingWarningDisplay;
    private _domainEditingWarningDisplay;
    confirm: EventEmitter<RESTContextDialogResult>;
    cancel: EventEmitter<void>;
    constructor(logger: NGXLogger);
    ngOnInit(): void;
    showForEdit(domain: string, application: string, contextName: string, url: string, enabled: boolean): void;
    showForNew(domain: string, application: string): void;
    hide(): void;
    private prepareForEdit;
    private prepareForNew;
    onCancel(): void;
    onConfirm(): void;
    readonly urlEditingWarningDisplay: boolean;
    readonly nameEditingWarningDisplay: boolean;
    readonly domainEditingWarningDisplay: boolean;
    readonly applicationEditingWarningDisplay: boolean;
    private validate;
    onTypeValueChange(event: any): void;
    readonly editMode: boolean;
    readonly newMode: boolean;
}