Repository URL to install this package:
import { OnInit, EventEmitter } from '@angular/core';
import { NGXLogger } from 'web-console-core';
import { ServiceCatalogSelectorDialogComponent, SelectionEvent } from '../../../../../components/UI/selectors/service-catalog-selector/service-catalog-selector-dialog';
export declare enum EditType {
New = 0,
Update = 1
}
export interface ThresholdDialogResult {
name: string;
description: string;
enabled: boolean;
fn: string;
fnParams: string;
deny: boolean;
action: string;
actionParams: string;
editType: EditType;
type: string;
}
export declare class ThresholdEditDialogComponent implements OnInit {
private logger;
EditType: typeof EditType;
_entitySelector: ServiceCatalogSelectorDialogComponent;
display: boolean;
private _currentEditType;
confirmButtonTitle: string;
name: string;
description: string;
enabled: boolean;
pattern: string;
fn: string;
fnParams: string;
action: string;
actionParams: string;
deny: boolean;
type: string;
types: string[];
private _nameEditingWarningDisplay;
confirm: EventEmitter<ThresholdDialogResult>;
cancel: EventEmitter<void>;
constructor(logger: NGXLogger);
ngOnInit(): void;
show(editType: EditType, name?: string, description?: string, enabled?: boolean, deny?: boolean, type?: string, fn?: string, fnParams?: string, action?: string, actionParams?: string): void;
hide(): void;
readonly currentEditType: EditType;
private prepare;
onCancel(): void;
onConfirm(): void;
private validate;
private validateJson;
onPatternSelec(): void;
onEntrySelected(event: SelectionEvent): void;
readonly titlePart: string;
readonly nameEditingWarningDisplay: boolean;
}