Repository URL to install this package:
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 {};