@worktile/planet 14.1.0 → 15.0.0-next.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +18 -0
- package/README.md +28 -2
- package/application/planet-application-ref.d.ts +2 -2
- package/application/planet-application-ref.d.ts.map +1 -1
- package/component/planet-component-loader.d.ts.map +1 -1
- package/component/planet-component-outlet.d.ts +1 -1
- package/empty/empty.component.d.ts +1 -1
- package/esm2020/application/planet-application-loader.mjs +10 -10
- package/esm2020/application/planet-application-ref.mjs +13 -13
- package/esm2020/application/planet-application.service.mjs +3 -3
- package/esm2020/assets-loader.mjs +3 -3
- package/esm2020/component/planet-component-loader.mjs +16 -14
- package/esm2020/component/planet-component-outlet.mjs +3 -3
- package/esm2020/empty/empty.component.mjs +3 -3
- package/esm2020/global-event-dispatcher.mjs +12 -12
- package/esm2020/module.mjs +4 -4
- package/esm2020/planet.mjs +17 -17
- package/fesm2015/worktile-planet.mjs +80 -78
- package/fesm2015/worktile-planet.mjs.map +1 -1
- package/fesm2020/worktile-planet.mjs +79 -77
- package/fesm2020/worktile-planet.mjs.map +1 -1
- package/package.json +4 -4
- package/sandbox/proxy/types.d.ts +1 -1
- package/sandbox/proxy/types.d.ts.map +1 -1
- package/sandbox/types.d.ts +1 -1
- package/sandbox/types.d.ts.map +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { InjectionToken, NgZone, Injectable, Inject, Optional, Component, Injector, EventEmitter, Directive, Input, Output, NgModule } from '@angular/core';
|
|
2
|
+
import { InjectionToken, NgZone, Injectable, Inject, Optional, Component, Injector, createComponent, EventEmitter, Directive, Input, Output, NgModule } from '@angular/core';
|
|
3
3
|
import * as i3 from '@angular/router';
|
|
4
4
|
import { Router, NavigationEnd } from '@angular/router';
|
|
5
5
|
import { take, map, concatAll, switchMap, shareReplay, filter, distinctUntilChanged, catchError, tap, share, startWith, delayWhen, takeUntil } from 'rxjs/operators';
|
|
@@ -782,6 +782,19 @@ function getSandboxInstance() {
|
|
|
782
782
|
}
|
|
783
783
|
|
|
784
784
|
class PlanetApplicationRef {
|
|
785
|
+
get selector() {
|
|
786
|
+
return this.innerSelector;
|
|
787
|
+
}
|
|
788
|
+
get bootstrapped() {
|
|
789
|
+
return !!this.appModuleRef;
|
|
790
|
+
}
|
|
791
|
+
get ngZone() {
|
|
792
|
+
var _a;
|
|
793
|
+
return (_a = this.appModuleRef) === null || _a === void 0 ? void 0 : _a.injector.get(NgZone);
|
|
794
|
+
}
|
|
795
|
+
get sandbox() {
|
|
796
|
+
return getSandboxInstance();
|
|
797
|
+
}
|
|
785
798
|
constructor(name, options) {
|
|
786
799
|
this.name = name;
|
|
787
800
|
if (options) {
|
|
@@ -796,19 +809,6 @@ class PlanetApplicationRef {
|
|
|
796
809
|
return window.Zone.current._properties[`ngx-planet-${name}`] === true;
|
|
797
810
|
};
|
|
798
811
|
}
|
|
799
|
-
get selector() {
|
|
800
|
-
return this.innerSelector;
|
|
801
|
-
}
|
|
802
|
-
get bootstrapped() {
|
|
803
|
-
return !!this.appModuleRef;
|
|
804
|
-
}
|
|
805
|
-
get ngZone() {
|
|
806
|
-
var _a;
|
|
807
|
-
return (_a = this.appModuleRef) === null || _a === void 0 ? void 0 : _a.injector.get(NgZone);
|
|
808
|
-
}
|
|
809
|
-
get sandbox() {
|
|
810
|
-
return getSandboxInstance();
|
|
811
|
-
}
|
|
812
812
|
// 子应用路由变化后同步修改 portal 的 Route
|
|
813
813
|
syncPortalRouteWhenNavigationEnd() {
|
|
814
814
|
var _a;
|
|
@@ -1123,9 +1123,9 @@ class AssetsLoader {
|
|
|
1123
1123
|
}));
|
|
1124
1124
|
}
|
|
1125
1125
|
}
|
|
1126
|
-
AssetsLoader.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1127
|
-
AssetsLoader.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1128
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1126
|
+
AssetsLoader.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: AssetsLoader, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1127
|
+
AssetsLoader.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: AssetsLoader, providedIn: 'root' });
|
|
1128
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: AssetsLoader, decorators: [{
|
|
1129
1129
|
type: Injectable,
|
|
1130
1130
|
args: [{
|
|
1131
1131
|
providedIn: 'root'
|
|
@@ -1199,9 +1199,9 @@ class PlanetApplicationService {
|
|
|
1199
1199
|
return this.apps;
|
|
1200
1200
|
}
|
|
1201
1201
|
}
|
|
1202
|
-
PlanetApplicationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1203
|
-
PlanetApplicationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1204
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1202
|
+
PlanetApplicationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: PlanetApplicationService, deps: [{ token: i1.HttpClient }, { token: AssetsLoader }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1203
|
+
PlanetApplicationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: PlanetApplicationService, providedIn: 'root' });
|
|
1204
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: PlanetApplicationService, decorators: [{
|
|
1205
1205
|
type: Injectable,
|
|
1206
1206
|
args: [{
|
|
1207
1207
|
providedIn: 'root'
|
|
@@ -1226,6 +1226,14 @@ class PlanetPortalApplication {
|
|
|
1226
1226
|
|
|
1227
1227
|
const CUSTOM_EVENT_NAME = 'PLANET_GLOBAL_EVENT_DISPATCHER';
|
|
1228
1228
|
class GlobalEventDispatcher {
|
|
1229
|
+
addGlobalEventListener() {
|
|
1230
|
+
this.hasAddGlobalEventListener = true;
|
|
1231
|
+
window.addEventListener(CUSTOM_EVENT_NAME, this.globalEventListener);
|
|
1232
|
+
}
|
|
1233
|
+
removeGlobalEventListener() {
|
|
1234
|
+
this.hasAddGlobalEventListener = false;
|
|
1235
|
+
window.removeEventListener(CUSTOM_EVENT_NAME, this.globalEventListener);
|
|
1236
|
+
}
|
|
1229
1237
|
constructor(ngZone) {
|
|
1230
1238
|
this.ngZone = ngZone;
|
|
1231
1239
|
this.subject$ = new Subject();
|
|
@@ -1235,14 +1243,6 @@ class GlobalEventDispatcher {
|
|
|
1235
1243
|
this.subject$.next(event.detail);
|
|
1236
1244
|
};
|
|
1237
1245
|
}
|
|
1238
|
-
addGlobalEventListener() {
|
|
1239
|
-
this.hasAddGlobalEventListener = true;
|
|
1240
|
-
window.addEventListener(CUSTOM_EVENT_NAME, this.globalEventListener);
|
|
1241
|
-
}
|
|
1242
|
-
removeGlobalEventListener() {
|
|
1243
|
-
this.hasAddGlobalEventListener = false;
|
|
1244
|
-
window.removeEventListener(CUSTOM_EVENT_NAME, this.globalEventListener);
|
|
1245
|
-
}
|
|
1246
1246
|
dispatch(name, payload) {
|
|
1247
1247
|
window.dispatchEvent(new CustomEvent(CUSTOM_EVENT_NAME, {
|
|
1248
1248
|
detail: {
|
|
@@ -1281,9 +1281,9 @@ class GlobalEventDispatcher {
|
|
|
1281
1281
|
return this.subscriptionCount;
|
|
1282
1282
|
}
|
|
1283
1283
|
}
|
|
1284
|
-
GlobalEventDispatcher.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1285
|
-
GlobalEventDispatcher.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1286
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1284
|
+
GlobalEventDispatcher.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: GlobalEventDispatcher, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1285
|
+
GlobalEventDispatcher.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: GlobalEventDispatcher, providedIn: 'root' });
|
|
1286
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: GlobalEventDispatcher, decorators: [{
|
|
1287
1287
|
type: Injectable,
|
|
1288
1288
|
args: [{
|
|
1289
1289
|
providedIn: 'root'
|
|
@@ -1333,6 +1333,12 @@ var ApplicationStatus;
|
|
|
1333
1333
|
ApplicationStatus[ApplicationStatus["loadError"] = 10] = "loadError";
|
|
1334
1334
|
})(ApplicationStatus || (ApplicationStatus = {}));
|
|
1335
1335
|
class PlanetApplicationLoader {
|
|
1336
|
+
get appStatusChange() {
|
|
1337
|
+
return this.appStatusChange$.asObservable();
|
|
1338
|
+
}
|
|
1339
|
+
get appsLoadingStart() {
|
|
1340
|
+
return this.appsLoadingStart$.asObservable();
|
|
1341
|
+
}
|
|
1336
1342
|
constructor(assetsLoader, planetApplicationService, ngZone, router, injector, applicationRef) {
|
|
1337
1343
|
this.assetsLoader = assetsLoader;
|
|
1338
1344
|
this.planetApplicationService = planetApplicationService;
|
|
@@ -1362,12 +1368,6 @@ class PlanetApplicationLoader {
|
|
|
1362
1368
|
globalPlanet.portalApplication = this.portalApp;
|
|
1363
1369
|
this.setupRouteChange();
|
|
1364
1370
|
}
|
|
1365
|
-
get appStatusChange() {
|
|
1366
|
-
return this.appStatusChange$.asObservable();
|
|
1367
|
-
}
|
|
1368
|
-
get appsLoadingStart() {
|
|
1369
|
-
return this.appsLoadingStart$.asObservable();
|
|
1370
|
-
}
|
|
1371
1371
|
setAppStatus(app, status) {
|
|
1372
1372
|
this.ngZone.run(() => {
|
|
1373
1373
|
const fromStatus = this.appsStatus.get(app);
|
|
@@ -1748,9 +1748,9 @@ class PlanetApplicationLoader {
|
|
|
1748
1748
|
return this.preloadInternal(app, immediate);
|
|
1749
1749
|
}
|
|
1750
1750
|
}
|
|
1751
|
-
PlanetApplicationLoader.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1752
|
-
PlanetApplicationLoader.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1753
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1751
|
+
PlanetApplicationLoader.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: PlanetApplicationLoader, deps: [{ token: AssetsLoader }, { token: PlanetApplicationService }, { token: i0.NgZone }, { token: i3.Router }, { token: i0.Injector }, { token: i0.ApplicationRef }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1752
|
+
PlanetApplicationLoader.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: PlanetApplicationLoader, providedIn: 'root' });
|
|
1753
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: PlanetApplicationLoader, decorators: [{
|
|
1754
1754
|
type: Injectable,
|
|
1755
1755
|
args: [{
|
|
1756
1756
|
providedIn: 'root'
|
|
@@ -1758,19 +1758,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.2", ngImpor
|
|
|
1758
1758
|
}], ctorParameters: function () { return [{ type: AssetsLoader }, { type: PlanetApplicationService }, { type: i0.NgZone }, { type: i3.Router }, { type: i0.Injector }, { type: i0.ApplicationRef }]; } });
|
|
1759
1759
|
|
|
1760
1760
|
class Planet {
|
|
1761
|
-
constructor(injector, router, planetApplications) {
|
|
1762
|
-
this.injector = injector;
|
|
1763
|
-
this.router = router;
|
|
1764
|
-
if (!this.planetApplicationLoader) {
|
|
1765
|
-
setApplicationLoader(this.injector.get(PlanetApplicationLoader));
|
|
1766
|
-
}
|
|
1767
|
-
if (!this.planetApplicationService) {
|
|
1768
|
-
setApplicationService(this.injector.get(PlanetApplicationService));
|
|
1769
|
-
}
|
|
1770
|
-
if (planetApplications) {
|
|
1771
|
-
this.registerApps(planetApplications);
|
|
1772
|
-
}
|
|
1773
|
-
}
|
|
1774
1761
|
get planetApplicationLoader() {
|
|
1775
1762
|
return getApplicationLoader();
|
|
1776
1763
|
}
|
|
@@ -1786,6 +1773,19 @@ class Planet {
|
|
|
1786
1773
|
get appsLoadingStart() {
|
|
1787
1774
|
return this.planetApplicationLoader.appsLoadingStart;
|
|
1788
1775
|
}
|
|
1776
|
+
constructor(injector, router, planetApplications) {
|
|
1777
|
+
this.injector = injector;
|
|
1778
|
+
this.router = router;
|
|
1779
|
+
if (!this.planetApplicationLoader) {
|
|
1780
|
+
setApplicationLoader(this.injector.get(PlanetApplicationLoader));
|
|
1781
|
+
}
|
|
1782
|
+
if (!this.planetApplicationService) {
|
|
1783
|
+
setApplicationService(this.injector.get(PlanetApplicationService));
|
|
1784
|
+
}
|
|
1785
|
+
if (planetApplications) {
|
|
1786
|
+
this.registerApps(planetApplications);
|
|
1787
|
+
}
|
|
1788
|
+
}
|
|
1789
1789
|
setOptions(options) {
|
|
1790
1790
|
this.planetApplicationLoader.setOptions(options);
|
|
1791
1791
|
if (options.debugFactory) {
|
|
@@ -1825,9 +1825,9 @@ class Planet {
|
|
|
1825
1825
|
(_a = this.subscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();
|
|
1826
1826
|
}
|
|
1827
1827
|
}
|
|
1828
|
-
Planet.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1829
|
-
Planet.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1830
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1828
|
+
Planet.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: Planet, deps: [{ token: i0.Injector }, { token: i3.Router }, { token: PLANET_APPLICATIONS, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1829
|
+
Planet.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: Planet, providedIn: 'root' });
|
|
1830
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: Planet, decorators: [{
|
|
1831
1831
|
type: Injectable,
|
|
1832
1832
|
args: [{
|
|
1833
1833
|
providedIn: 'root'
|
|
@@ -1843,9 +1843,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.2", ngImpor
|
|
|
1843
1843
|
|
|
1844
1844
|
class EmptyComponent {
|
|
1845
1845
|
}
|
|
1846
|
-
EmptyComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1847
|
-
EmptyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
1848
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1846
|
+
EmptyComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: EmptyComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1847
|
+
EmptyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.2", type: EmptyComponent, selector: "empty-component", ngImport: i0, template: ``, isInline: true });
|
|
1848
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: EmptyComponent, decorators: [{
|
|
1849
1849
|
type: Component,
|
|
1850
1850
|
args: [{
|
|
1851
1851
|
// eslint-disable-next-line @angular-eslint/component-selector
|
|
@@ -1859,18 +1859,18 @@ class PlanetComponentRef {
|
|
|
1859
1859
|
|
|
1860
1860
|
const componentWrapperClass = 'planet-component-wrapper';
|
|
1861
1861
|
class PlanetComponentLoader {
|
|
1862
|
-
constructor(applicationRef, ngModuleRef, ngZone, document) {
|
|
1863
|
-
this.applicationRef = applicationRef;
|
|
1864
|
-
this.ngModuleRef = ngModuleRef;
|
|
1865
|
-
this.ngZone = ngZone;
|
|
1866
|
-
this.document = document;
|
|
1867
|
-
}
|
|
1868
1862
|
get applicationLoader() {
|
|
1869
1863
|
return getApplicationLoader();
|
|
1870
1864
|
}
|
|
1871
1865
|
get applicationService() {
|
|
1872
1866
|
return getApplicationService();
|
|
1873
1867
|
}
|
|
1868
|
+
constructor(applicationRef, ngModuleRef, ngZone, document) {
|
|
1869
|
+
this.applicationRef = applicationRef;
|
|
1870
|
+
this.ngModuleRef = ngModuleRef;
|
|
1871
|
+
this.ngZone = ngZone;
|
|
1872
|
+
this.document = document;
|
|
1873
|
+
}
|
|
1874
1874
|
getPlantAppRef(name) {
|
|
1875
1875
|
if (globalPlanet.apps[name] && globalPlanet.apps[name].appModuleRef) {
|
|
1876
1876
|
return of(globalPlanet.apps[name]);
|
|
@@ -1926,12 +1926,13 @@ class PlanetComponentLoader {
|
|
|
1926
1926
|
}
|
|
1927
1927
|
attachComponent(plantComponent, appModuleRef, config) {
|
|
1928
1928
|
const plantComponentRef = new PlanetComponentRef();
|
|
1929
|
-
const componentFactoryResolver = appModuleRef.componentFactoryResolver;
|
|
1930
1929
|
const appRef = this.applicationRef;
|
|
1931
1930
|
const injector = this.createInjector(appModuleRef, plantComponentRef);
|
|
1932
1931
|
const container = this.getContainerElement(config);
|
|
1933
|
-
const
|
|
1934
|
-
|
|
1932
|
+
const componentRef = createComponent(plantComponent.component, {
|
|
1933
|
+
environmentInjector: appModuleRef.injector,
|
|
1934
|
+
elementInjector: injector
|
|
1935
|
+
});
|
|
1935
1936
|
appRef.attachView(componentRef.hostView);
|
|
1936
1937
|
const componentRootNode = this.getComponentRootNode(componentRef);
|
|
1937
1938
|
this.insertComponentRootNodeToContainer(container, componentRootNode, config.hostClass || config.wrapperClass);
|
|
@@ -1945,6 +1946,7 @@ class PlanetComponentLoader {
|
|
|
1945
1946
|
if (appRef.viewCount > 0) {
|
|
1946
1947
|
appRef.detachView(componentRef.hostView);
|
|
1947
1948
|
}
|
|
1949
|
+
componentRef === null || componentRef === void 0 ? void 0 : componentRef.destroy();
|
|
1948
1950
|
componentRootNode.remove();
|
|
1949
1951
|
};
|
|
1950
1952
|
return plantComponentRef;
|
|
@@ -1998,9 +2000,9 @@ class PlanetComponentLoader {
|
|
|
1998
2000
|
return result;
|
|
1999
2001
|
}
|
|
2000
2002
|
}
|
|
2001
|
-
PlanetComponentLoader.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2002
|
-
PlanetComponentLoader.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2003
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2003
|
+
PlanetComponentLoader.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: PlanetComponentLoader, deps: [{ token: i0.ApplicationRef }, { token: i0.NgModuleRef }, { token: i0.NgZone }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2004
|
+
PlanetComponentLoader.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: PlanetComponentLoader, providedIn: 'root' });
|
|
2005
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: PlanetComponentLoader, decorators: [{
|
|
2004
2006
|
type: Injectable,
|
|
2005
2007
|
args: [{
|
|
2006
2008
|
providedIn: 'root'
|
|
@@ -2058,9 +2060,9 @@ class PlanetComponentOutlet {
|
|
|
2058
2060
|
this.destroyed$.next();
|
|
2059
2061
|
}
|
|
2060
2062
|
}
|
|
2061
|
-
PlanetComponentOutlet.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2062
|
-
PlanetComponentOutlet.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
2063
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2063
|
+
PlanetComponentOutlet.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: PlanetComponentOutlet, deps: [{ token: i0.ElementRef }, { token: PlanetComponentLoader }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2064
|
+
PlanetComponentOutlet.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.2", type: PlanetComponentOutlet, selector: "[planetComponentOutlet]", inputs: { planetComponentOutlet: "planetComponentOutlet", planetComponentOutletApp: "planetComponentOutletApp", planetComponentOutletInitialState: "planetComponentOutletInitialState" }, outputs: { planetComponentLoaded: "planetComponentLoaded" }, usesOnChanges: true, ngImport: i0 });
|
|
2065
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: PlanetComponentOutlet, decorators: [{
|
|
2064
2066
|
type: Directive,
|
|
2065
2067
|
args: [{
|
|
2066
2068
|
selector: '[planetComponentOutlet]'
|
|
@@ -2088,10 +2090,10 @@ class NgxPlanetModule {
|
|
|
2088
2090
|
};
|
|
2089
2091
|
}
|
|
2090
2092
|
}
|
|
2091
|
-
NgxPlanetModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2092
|
-
NgxPlanetModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
2093
|
-
NgxPlanetModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
2094
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2093
|
+
NgxPlanetModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: NgxPlanetModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2094
|
+
NgxPlanetModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.2", ngImport: i0, type: NgxPlanetModule, declarations: [EmptyComponent, PlanetComponentOutlet], imports: [HttpClientModule], exports: [HttpClientModule, EmptyComponent, PlanetComponentOutlet] });
|
|
2095
|
+
NgxPlanetModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: NgxPlanetModule, imports: [HttpClientModule, HttpClientModule] });
|
|
2096
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: NgxPlanetModule, decorators: [{
|
|
2095
2097
|
type: NgModule,
|
|
2096
2098
|
args: [{
|
|
2097
2099
|
declarations: [EmptyComponent, PlanetComponentOutlet],
|