1 | import { ApplicationRef, ComponentFactoryResolver, Injectable, Injector, NgZone } from '@angular/core';
|
2 | import { ComponentLoader } from './component-loader.class';
|
3 | import { PositioningService } from 'ngx-bootstrap/positioning';
|
4 | import * as i0 from "@angular/core";
|
5 | import * as i1 from "ngx-bootstrap/positioning";
|
6 | export class ComponentLoaderFactory {
|
7 | constructor(_componentFactoryResolver, _ngZone, _injector, _posService, _applicationRef) {
|
8 | this._componentFactoryResolver = _componentFactoryResolver;
|
9 | this._ngZone = _ngZone;
|
10 | this._injector = _injector;
|
11 | this._posService = _posService;
|
12 | this._applicationRef = _applicationRef;
|
13 | }
|
14 | |
15 |
|
16 |
|
17 |
|
18 |
|
19 |
|
20 | createLoader(_elementRef, _viewContainerRef, _renderer) {
|
21 | return new ComponentLoader(_viewContainerRef, _renderer, _elementRef, this._injector, this._componentFactoryResolver, this._ngZone, this._applicationRef, this._posService);
|
22 | }
|
23 | }
|
24 | ComponentLoaderFactory.ɵprov = i0.ɵɵdefineInjectable({ factory: function ComponentLoaderFactory_Factory() { return new ComponentLoaderFactory(i0.ɵɵinject(i0.ComponentFactoryResolver), i0.ɵɵinject(i0.NgZone), i0.ɵɵinject(i0.INJECTOR), i0.ɵɵinject(i1.PositioningService), i0.ɵɵinject(i0.ApplicationRef)); }, token: ComponentLoaderFactory, providedIn: "root" });
|
25 | ComponentLoaderFactory.decorators = [
|
26 | { type: Injectable, args: [{ providedIn: 'root' },] }
|
27 | ];
|
28 | ComponentLoaderFactory.ctorParameters = () => [
|
29 | { type: ComponentFactoryResolver },
|
30 | { type: NgZone },
|
31 | { type: Injector },
|
32 | { type: PositioningService },
|
33 | { type: ApplicationRef }
|
34 | ];
|
35 |
|
\ | No newline at end of file |