UNPKG

@taiga-ui/kit

Version:

Taiga UI Angular main components kit

15 lines (14 loc) 859 B
import type { SafeResourceUrl } from '@angular/platform-browser'; import type { TuiPopoverContext } from '@taiga-ui/cdk/services'; import { TuiPopoverService } from '@taiga-ui/cdk/services'; import type { PolymorpheusContent } from '@taiga-ui/polymorpheus'; import type { Observable } from 'rxjs'; import type { TuiPdfViewerOptions } from './pdf-viewer.options'; import * as i0 from "@angular/core"; type Content<G> = PolymorpheusContent<TuiPdfViewerOptions<unknown> & TuiPopoverContext<G>>; export declare class TuiPdfViewerService extends TuiPopoverService<TuiPdfViewerOptions<unknown>> { open<G>(content: Content<G> | SafeResourceUrl, options?: Partial<TuiPdfViewerOptions<any>>): Observable<G>; static ɵfac: i0.ɵɵFactoryDeclaration<TuiPdfViewerService, never>; static ɵprov: i0.ɵɵInjectableDeclaration<TuiPdfViewerService>; } export {};