@worktile/planet 14.1.1 → 15.0.0-next.1

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.
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { InjectionToken, NgZone, Injectable, Inject, Optional, Component, Injector, createComponent, EventEmitter, Directive, Input, Output, NgModule } from '@angular/core';
2
+ import { InjectionToken, NgZone, Injectable, Inject, Optional, Component, ChangeDetectionStrategy, 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: "14.1.2", ngImport: i0, type: AssetsLoader, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable });
1127
- AssetsLoader.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: AssetsLoader, providedIn: 'root' });
1128
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: AssetsLoader, decorators: [{
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: "14.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: "14.1.2", ngImport: i0, type: PlanetApplicationService, providedIn: 'root' });
1204
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: PlanetApplicationService, decorators: [{
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: "14.1.2", ngImport: i0, type: GlobalEventDispatcher, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
1285
- GlobalEventDispatcher.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: GlobalEventDispatcher, providedIn: 'root' });
1286
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: GlobalEventDispatcher, decorators: [{
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: "14.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: "14.1.2", ngImport: i0, type: PlanetApplicationLoader, providedIn: 'root' });
1753
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: PlanetApplicationLoader, decorators: [{
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: "14.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: "14.1.2", ngImport: i0, type: Planet, providedIn: 'root' });
1830
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: Planet, decorators: [{
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,14 +1843,16 @@ 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: "14.1.2", ngImport: i0, type: EmptyComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1847
- EmptyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.2", type: EmptyComponent, selector: "empty-component", ngImport: i0, template: ``, isInline: true });
1848
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: EmptyComponent, decorators: [{
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, isStandalone: true, selector: "empty-component", ngImport: i0, template: ``, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
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
1852
1852
  selector: 'empty-component',
1853
- template: ``
1853
+ template: ``,
1854
+ changeDetection: ChangeDetectionStrategy.OnPush,
1855
+ standalone: true
1854
1856
  }]
1855
1857
  }] });
1856
1858
 
@@ -1859,18 +1861,18 @@ class PlanetComponentRef {
1859
1861
 
1860
1862
  const componentWrapperClass = 'planet-component-wrapper';
1861
1863
  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
1864
  get applicationLoader() {
1869
1865
  return getApplicationLoader();
1870
1866
  }
1871
1867
  get applicationService() {
1872
1868
  return getApplicationService();
1873
1869
  }
1870
+ constructor(applicationRef, ngModuleRef, ngZone, document) {
1871
+ this.applicationRef = applicationRef;
1872
+ this.ngModuleRef = ngModuleRef;
1873
+ this.ngZone = ngZone;
1874
+ this.document = document;
1875
+ }
1874
1876
  getPlantAppRef(name) {
1875
1877
  if (globalPlanet.apps[name] && globalPlanet.apps[name].appModuleRef) {
1876
1878
  return of(globalPlanet.apps[name]);
@@ -2000,9 +2002,9 @@ class PlanetComponentLoader {
2000
2002
  return result;
2001
2003
  }
2002
2004
  }
2003
- PlanetComponentLoader.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.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: "14.1.2", ngImport: i0, type: PlanetComponentLoader, providedIn: 'root' });
2005
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: PlanetComponentLoader, decorators: [{
2005
+ 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 });
2006
+ PlanetComponentLoader.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: PlanetComponentLoader, providedIn: 'root' });
2007
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: PlanetComponentLoader, decorators: [{
2006
2008
  type: Injectable,
2007
2009
  args: [{
2008
2010
  providedIn: 'root'
@@ -2060,12 +2062,13 @@ class PlanetComponentOutlet {
2060
2062
  this.destroyed$.next();
2061
2063
  }
2062
2064
  }
2063
- PlanetComponentOutlet.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.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: "14.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: "14.1.2", ngImport: i0, type: PlanetComponentOutlet, decorators: [{
2065
+ 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 });
2066
+ PlanetComponentOutlet.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.2", type: PlanetComponentOutlet, isStandalone: true, selector: "[planetComponentOutlet]", inputs: { planetComponentOutlet: "planetComponentOutlet", planetComponentOutletApp: "planetComponentOutletApp", planetComponentOutletInitialState: "planetComponentOutletInitialState" }, outputs: { planetComponentLoaded: "planetComponentLoaded" }, usesOnChanges: true, ngImport: i0 });
2067
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: PlanetComponentOutlet, decorators: [{
2066
2068
  type: Directive,
2067
2069
  args: [{
2068
- selector: '[planetComponentOutlet]'
2070
+ selector: '[planetComponentOutlet]',
2071
+ standalone: true
2069
2072
  }]
2070
2073
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: PlanetComponentLoader }, { type: i0.NgZone }]; }, propDecorators: { planetComponentOutlet: [{
2071
2074
  type: Input
@@ -2090,14 +2093,14 @@ class NgxPlanetModule {
2090
2093
  };
2091
2094
  }
2092
2095
  }
2093
- NgxPlanetModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: NgxPlanetModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2094
- NgxPlanetModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.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: "14.1.2", ngImport: i0, type: NgxPlanetModule, imports: [HttpClientModule, HttpClientModule] });
2096
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: NgxPlanetModule, decorators: [{
2096
+ NgxPlanetModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: NgxPlanetModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2097
+ NgxPlanetModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.2", ngImport: i0, type: NgxPlanetModule, imports: [HttpClientModule, PlanetComponentOutlet, EmptyComponent], exports: [HttpClientModule, EmptyComponent, PlanetComponentOutlet] });
2098
+ NgxPlanetModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: NgxPlanetModule, imports: [HttpClientModule, EmptyComponent, HttpClientModule] });
2099
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: NgxPlanetModule, decorators: [{
2097
2100
  type: NgModule,
2098
2101
  args: [{
2099
- declarations: [EmptyComponent, PlanetComponentOutlet],
2100
- imports: [HttpClientModule],
2102
+ declarations: [],
2103
+ imports: [HttpClientModule, PlanetComponentOutlet, EmptyComponent],
2101
2104
  providers: [],
2102
2105
  exports: [HttpClientModule, EmptyComponent, PlanetComponentOutlet]
2103
2106
  }]