@bixi/label
Version:
43 lines (42 loc) • 1.26 kB
TypeScript
import { CdkConnectedOverlay } from '@angular/cdk/overlay';
import { ChangeDetectorRef, EventEmitter, TemplateRef } from '@angular/core';
import { ILabelingEvent, ISafeAny } from './label.type';
export declare class BixiLabelModalComponent {
private cdr;
overlayWidth: number;
overlayHeight: number;
placement: string;
isOpen: boolean;
_labeling: ILabelingEvent | null;
overlay: CdkConnectedOverlay;
content: TemplateRef<ISafeAny> | undefined;
title: string;
dragBoundary: string;
set labeling(val: ILabelingEvent | null);
get labeling(): ILabelingEvent | null;
close: EventEmitter<any>;
constructor(cdr: ChangeDetectorRef);
get labels(): import("./label.type").ILabel[];
onShow(): void;
onHide(): void;
onClose: () => void;
onDetach(): void;
get overlayStyle(): {
width: string;
height: string;
};
get positions(): import("@angular/cdk/overlay").ConnectionPositionPair[];
get originStyle(): {
width: string;
height: string;
position?: undefined;
top?: undefined;
left?: undefined;
} | {
position: string;
width: string;
height: string;
top: string;
left: string;
};
}