UNPKG

@ngx-easy-i18n-js/bootstrap

Version:
24 lines (23 loc) 1.24 kB
import { InjectionToken, Injector, OnDestroy, OnInit } from '@angular/core'; import { Observable } from 'rxjs'; import { CdkPortalOutlet, ComponentPortal } from '@angular/cdk/portal'; import { ComponentType } from '@angular/cdk/overlay'; import { EasyI18nService, LocaleStatus } from '@ngx-easy-i18n-js/core'; import * as i0 from "@angular/core"; export declare const BOOTSTRAP: InjectionToken<ComponentType<any>>; export declare const LOADING_COMPONENT: InjectionToken<ComponentType<any>>; export declare class EasyI18nBootstrapComponent implements OnInit, OnDestroy { private injector; private bootstrap; private loadingComponent; private easyI18nService; portalOutlet?: CdkPortalOutlet; localeStatus$?: Observable<LocaleStatus>; loadingPortal?: ComponentPortal<any> | null; private containerRef?; constructor(injector: Injector, bootstrap: ComponentType<any>, loadingComponent: ComponentType<any>, easyI18nService: EasyI18nService); ngOnInit(): void; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration<EasyI18nBootstrapComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<EasyI18nBootstrapComponent, "ngx-easy-i18n", never, {}, {}, never, never, false, never>; }