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 / Services / components / dialogs / generic / new-item-dialog.d.ts

import { OnInit, EventEmitter } from '@angular/core';
import { NGXLogger } from 'web-console-core';
import { EditingType } from '../../editors/service-catalog-editor-context';
export interface DialogResult {
    name: string;
    editType: EditingType;
    channel?: string;
}
interface Channel {
    name: string;
    code: string;
}
export declare class NewItemDialogComponent implements OnInit {
    private logger;
    _currentEditType: EditingType;
    dialogTitle: string;
    display: boolean;
    name: string;
    floatingLabel: string;
    defaultChannelItem: Channel;
    channels: Channel[];
    selectedChannel: Channel;
    private _channelEditingWarningDisplay;
    private _nameEditingWarningDisplay;
    confirm: EventEmitter<DialogResult>;
    cancel: EventEmitter<void>;
    constructor(logger: NGXLogger);
    ngOnInit(): void;
    show(editType: EditingType): void;
    hide(): void;
    readonly currentEditType: EditingType;
    private prepare;
    onCancel(): void;
    onConfirm(): void;
    readonly isServiceEditing: boolean;
    readonly channelEditingWarningDisplay: boolean;
    readonly nameEditingWarningDisplay: boolean;
    private validate;
}
export {};