@alauda-fe/common
Version:
Alauda frontend team common codes.
22 lines (21 loc) • 839 B
TypeScript
import { Overlay } from '@angular/cdk/overlay';
import { ElementRef, TemplateRef } from '@angular/core';
import { Subscription } from 'rxjs';
import { ResourceSelectorPopupRef } from './ref';
import * as i0 from "@angular/core";
export interface ResourceSelectorPopupConfig {
origin: ElementRef;
content: TemplateRef<any>;
popupLite?: boolean;
}
export declare class ResourceSelectorPopupService {
private readonly overlay;
subs: Subscription[];
constructor(overlay: Overlay);
open(config: ResourceSelectorPopupConfig): ResourceSelectorPopupRef;
private createOverlay;
private getOverlayConfig;
private readonly isEventTargetInTooltip;
static ɵfac: i0.ɵɵFactoryDeclaration<ResourceSelectorPopupService, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<ResourceSelectorPopupService>;
}