@worktile/planet 18.0.0 → 19.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 +25 -0
- package/application/ng-planet-application-ref.d.ts +2 -2
- package/application/ng-planet-application-ref.d.ts.map +1 -1
- package/application/planet-application.service.d.ts.map +1 -1
- package/fesm2022/worktile-planet.mjs +45 -36
- package/fesm2022/worktile-planet.mjs.map +1 -1
- package/package.json +3 -5
- package/esm2022/application/ng-planet-application-ref.mjs +0 -108
- package/esm2022/application/planet-application-loader.mjs +0 -459
- package/esm2022/application/planet-application-ref.mjs +0 -2
- package/esm2022/application/planet-application.service.mjs +0 -85
- package/esm2022/application/portal-application.mjs +0 -25
- package/esm2022/assets-loader.mjs +0 -304
- package/esm2022/component/planet-component-loader.mjs +0 -213
- package/esm2022/component/planet-component-outlet.mjs +0 -72
- package/esm2022/component/planet-component-types.mjs +0 -3
- package/esm2022/component/plant-component.config.mjs +0 -7
- package/esm2022/debug.mjs +0 -33
- package/esm2022/empty/empty.component.mjs +0 -17
- package/esm2022/global-event-dispatcher.mjs +0 -70
- package/esm2022/global-planet.mjs +0 -63
- package/esm2022/helpers.mjs +0 -185
- package/esm2022/inner-types.mjs +0 -2
- package/esm2022/module.mjs +0 -33
- package/esm2022/planet.class.mjs +0 -9
- package/esm2022/planet.mjs +0 -97
- package/esm2022/public-api.mjs +0 -19
- package/esm2022/router/route-redirect.mjs +0 -63
- package/esm2022/sandbox/constants.mjs +0 -7
- package/esm2022/sandbox/exec.mjs +0 -15
- package/esm2022/sandbox/index.mjs +0 -20
- package/esm2022/sandbox/proxy/patches/document.mjs +0 -12
- package/esm2022/sandbox/proxy/patches/eventListener.mjs +0 -41
- package/esm2022/sandbox/proxy/patches/index.mjs +0 -11
- package/esm2022/sandbox/proxy/patches/storage.mjs +0 -40
- package/esm2022/sandbox/proxy/patches/timer.mjs +0 -43
- package/esm2022/sandbox/proxy/proxies/common.mjs +0 -132
- package/esm2022/sandbox/proxy/proxies/document.mjs +0 -126
- package/esm2022/sandbox/proxy/proxies/window.mjs +0 -158
- package/esm2022/sandbox/proxy/proxy-sandbox.mjs +0 -49
- package/esm2022/sandbox/proxy/types.mjs +0 -2
- package/esm2022/sandbox/sandbox.mjs +0 -7
- package/esm2022/sandbox/snapshot/snapshot-sandbox.mjs +0 -12
- package/esm2022/sandbox/types.mjs +0 -2
- package/esm2022/worktile-planet.mjs +0 -5
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,31 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
# [19.0.0-next.0](https://github.com/worktile/ngx-planet/compare/18.0.1...19.0.0-next.0) (2025-03-26)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* fix lint error ([862007e](https://github.com/worktile/ngx-planet/commit/862007eab216d9b2868c2667c4439fb0c9f43619))
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
|
|
15
|
+
* upgrade ng to 19 #TINFR-1631 ([a76cb7f](https://github.com/worktile/ngx-planet/commit/a76cb7f8a2b6ddb54178e28f1b06eacac21facf8)), closes [#TINFR-1631](https://github.com/worktile/ngx-planet/issues/TINFR-1631)
|
|
16
|
+
* upgrade ng to 19 #TINFR-1631 ([73d5996](https://github.com/worktile/ngx-planet/commit/73d5996765d8db83a1e5c942582ccd59519ea01e)), closes [#TINFR-1631](https://github.com/worktile/ngx-planet/issues/TINFR-1631)
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
## [18.0.1](https://github.com/worktile/ngx-planet/compare/18.0.0...18.0.1) (2024-09-05)
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
### Bug Fixes
|
|
24
|
+
|
|
25
|
+
* should filter app for getAppsByMatchedUrl when routerPathPrefix is prefix of other app ([#341](https://github.com/worktile/ngx-planet/issues/341)) ([50e090a](https://github.com/worktile/ngx-planet/commit/50e090a31ae6a5386cbf3429a90fa06bccc0bbe1))
|
|
26
|
+
* sync router of portal support browserUrl ([#340](https://github.com/worktile/ngx-planet/issues/340)) ([ebfa6c3](https://github.com/worktile/ngx-planet/commit/ebfa6c358c34a7b075ef208534e06f56235b141d))
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
5
30
|
# [18.0.0](https://github.com/worktile/ngx-planet/compare/18.0.0-next.0...18.0.0) (2024-08-19)
|
|
6
31
|
|
|
7
32
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ApplicationRef, NgModuleRef, NgZone } from '@angular/core';
|
|
2
|
-
import { Router } from '@angular/router';
|
|
2
|
+
import { Router, NavigationBehaviorOptions } from '@angular/router';
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
4
|
import { PlanetPortalApplication } from './portal-application';
|
|
5
5
|
import { PlantComponentFactory } from '../component/planet-component-types';
|
|
@@ -38,7 +38,7 @@ export declare class NgPlanetApplicationRef implements PlanetApplicationRef {
|
|
|
38
38
|
bootstrap(app: PlanetPortalApplication): Observable<this>;
|
|
39
39
|
getRouter(): Router;
|
|
40
40
|
getCurrentRouterStateUrl(): string;
|
|
41
|
-
navigateByUrl(url: string): void;
|
|
41
|
+
navigateByUrl(url: string, extras?: NavigationBehaviorOptions): void;
|
|
42
42
|
getComponentFactory(): PlantComponentFactory;
|
|
43
43
|
registerComponentFactory(componentFactory: PlantComponentFactory): void;
|
|
44
44
|
destroy(): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-planet-application-ref.d.ts","sourceRoot":"","sources":["../../../packages/planet/src/application/ng-planet-application-ref.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,EAAuB,MAAM,eAAe,CAAC;AACzF,OAAO,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"ng-planet-application-ref.d.ts","sourceRoot":"","sources":["../../../packages/planet/src/application/ng-planet-application-ref.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,EAAuB,MAAM,eAAe,CAAC;AACzF,OAAO,EAAE,MAAM,EAAkC,yBAAyB,EAAE,MAAM,iBAAiB,CAAC;AAEpG,OAAO,EAAE,UAAU,EAAQ,MAAM,MAAM,CAAC;AACxC,OAAO,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AAC/D,OAAO,EAAE,qBAAqB,EAAE,MAAM,qCAAqC,CAAC;AAE5E,OAAO,EAAsB,OAAO,EAAE,MAAM,aAAa,CAAC;AAC1D,OAAO,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAEhE,MAAM,MAAM,oBAAoB,GAAG,CAC/B,SAAS,EAAE,uBAAuB,KACjC,OAAO,CAAC,WAAW,CAAC,GAAG,CAAC,GAAG,IAAI,GAAG,cAAc,GAAG,SAAS,GAAG,IAAI,CAAC,CAAC;AAE1E,MAAM,WAAW,kBAAkB;IAC/B,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,oBAAoB,CAAC;CACnC;AAED;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG,oBAAoB,CAAC;AACtD;;GAEG;AACH,MAAM,WAAW,gBAAiB,SAAQ,kBAAkB;CAAG;AAE/D,qBAAa,sBAAuB,YAAW,oBAAoB;IAC/D,OAAO,CAAC,QAAQ,CAAC,CAAsB;IACvC,OAAO,CAAC,MAAM,CAAC,CAAiB;IACzB,YAAY,CAAC,EAAE,WAAW,CAAC,GAAG,CAAC,CAAC;IAChC,QAAQ,CAAC,EAAE,MAAM,CAAC;IACzB,OAAO,CAAC,aAAa,CAAC,CAAS;IAC/B,OAAO,CAAC,IAAI,CAAS;IACrB,OAAO,CAAC,SAAS,CAA2B;IAC5C,OAAO,CAAC,kBAAkB,CAAC,CAAuB;IAClD,OAAO,CAAC,gBAAgB,CAAC,CAAwB;IAEjD,IAAW,QAAQ,WAElB;IAED,IAAW,MAAM,IAAI,MAAM,GAAG,SAAS,CAEtC;IAED,IAAW,OAAO,IAAI,OAAO,CAE5B;IAED,IAAW,YAAY,IAAI,OAAO,CAEjC;gBAEW,IAAI,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,gBAAgB;IAgBpD,OAAO,CAAC,gCAAgC;IAyBxC,SAAS,CAAC,GAAG,EAAE,uBAAuB,GAAG,UAAU,CAAC,IAAI,CAAC;IAuBzD,SAAS;IAIT,wBAAwB;IAIxB,aAAa,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,yBAAyB,GAAG,IAAI;IAOpE,mBAAmB;IAInB,wBAAwB,CAAC,gBAAgB,EAAE,qBAAqB;IAIhE,OAAO,IAAI,IAAI;CAgBlB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"planet-application.service.d.ts","sourceRoot":"","sources":["../../../packages/planet/src/application/planet-application.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAEpD,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAGlD,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAClC,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;;AAGhD,qBAGa,wBAAwB;
|
|
1
|
+
{"version":3,"file":"planet-application.service.d.ts","sourceRoot":"","sources":["../../../packages/planet/src/application/planet-application.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAEpD,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAGlD,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAClC,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;;AAGhD,qBAGa,wBAAwB;IAM7B,OAAO,CAAC,IAAI;IACZ,OAAO,CAAC,YAAY;IANxB,OAAO,CAAC,IAAI,CAA2B;IAEvC,OAAO,CAAC,OAAO,CAA4C;gBAG/C,IAAI,EAAE,UAAU,EAChB,YAAY,EAAE,YAAY;IAOtC,QAAQ,CAAC,MAAM,EAAE,SAAS,EAAE,iBAAiB,CAAC,MAAM,CAAC,GAAG,iBAAiB,CAAC,MAAM,CAAC,EAAE;IAWnF,aAAa,CAAC,GAAG,EAAE,MAAM,GAAG,UAAU,CAAC,IAAI,CAAC;IAe5C,UAAU,CAAC,IAAI,EAAE,MAAM;IASvB,mBAAmB,CAAC,MAAM,GAAG,OAAO,EAAE,GAAG,EAAE,MAAM,GAAG,iBAAiB,CAAC,MAAM,CAAC,EAAE;IAa/E,YAAY,CAAC,IAAI,EAAE,MAAM;IAIzB,gBAAgB,CAAC,eAAe,CAAC,EAAE,MAAM,EAAE;IAU3C,OAAO;yCA5EE,wBAAwB;6CAAxB,wBAAwB;CA+EpC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { InjectionToken, Injectable, NgZone, NgModuleRef, signal, Inject, Optional,
|
|
2
|
+
import { InjectionToken, Injectable, NgZone, NgModuleRef, signal, Inject, Optional, ChangeDetectionStrategy, Component, Injector, createComponent, reflectComponentType, TemplateRef, EventEmitter, Output, Input, Directive, inject, NgModule } from '@angular/core';
|
|
3
3
|
import * as i3 from '@angular/router';
|
|
4
4
|
import { Router, NavigationEnd, ActivatedRoute } from '@angular/router';
|
|
5
5
|
import * as i1 from '@angular/common/http';
|
|
@@ -1136,10 +1136,10 @@ class AssetsLoader {
|
|
|
1136
1136
|
}
|
|
1137
1137
|
}));
|
|
1138
1138
|
}
|
|
1139
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1140
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1139
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: AssetsLoader, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1140
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: AssetsLoader, providedIn: 'root' }); }
|
|
1141
1141
|
}
|
|
1142
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1142
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: AssetsLoader, decorators: [{
|
|
1143
1143
|
type: Injectable,
|
|
1144
1144
|
args: [{
|
|
1145
1145
|
providedIn: 'root'
|
|
@@ -1179,12 +1179,20 @@ class NgPlanetApplicationRef {
|
|
|
1179
1179
|
if (router) {
|
|
1180
1180
|
router.events.subscribe(event => {
|
|
1181
1181
|
if (event instanceof NavigationEnd) {
|
|
1182
|
+
const currentNavigation = router.getCurrentNavigation();
|
|
1182
1183
|
this.ngZone?.onStable
|
|
1183
1184
|
.asObservable()
|
|
1184
1185
|
.pipe(take(1))
|
|
1185
1186
|
.subscribe(() => {
|
|
1186
1187
|
this.portalApp.ngZone.run(() => {
|
|
1187
|
-
|
|
1188
|
+
if (currentNavigation?.extras?.browserUrl) {
|
|
1189
|
+
this.portalApp.router.navigateByUrl(event.url, {
|
|
1190
|
+
browserUrl: currentNavigation.extras.browserUrl
|
|
1191
|
+
});
|
|
1192
|
+
}
|
|
1193
|
+
else {
|
|
1194
|
+
this.portalApp.router.navigateByUrl(event.url);
|
|
1195
|
+
}
|
|
1188
1196
|
});
|
|
1189
1197
|
});
|
|
1190
1198
|
}
|
|
@@ -1218,10 +1226,10 @@ class NgPlanetApplicationRef {
|
|
|
1218
1226
|
getCurrentRouterStateUrl() {
|
|
1219
1227
|
return this.getRouter()?.routerState.snapshot.url;
|
|
1220
1228
|
}
|
|
1221
|
-
navigateByUrl(url) {
|
|
1229
|
+
navigateByUrl(url, extras) {
|
|
1222
1230
|
const router = this.getRouter();
|
|
1223
1231
|
this.ngZone?.run(() => {
|
|
1224
|
-
router?.navigateByUrl(url);
|
|
1232
|
+
router?.navigateByUrl(url, extras);
|
|
1225
1233
|
});
|
|
1226
1234
|
}
|
|
1227
1235
|
getComponentFactory() {
|
|
@@ -1355,7 +1363,8 @@ class PlanetApplicationService {
|
|
|
1355
1363
|
return app.routerPathPrefix.test(url);
|
|
1356
1364
|
}
|
|
1357
1365
|
else {
|
|
1358
|
-
return url
|
|
1366
|
+
return (url === app.routerPathPrefix ||
|
|
1367
|
+
(url.startsWith(app.routerPathPrefix) && ['/', '?'].includes(url[app.routerPathPrefix.length])));
|
|
1359
1368
|
}
|
|
1360
1369
|
});
|
|
1361
1370
|
}
|
|
@@ -1375,10 +1384,10 @@ class PlanetApplicationService {
|
|
|
1375
1384
|
getApps() {
|
|
1376
1385
|
return this.apps;
|
|
1377
1386
|
}
|
|
1378
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1379
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1387
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: PlanetApplicationService, deps: [{ token: i1.HttpClient }, { token: AssetsLoader }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1388
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: PlanetApplicationService, providedIn: 'root' }); }
|
|
1380
1389
|
}
|
|
1381
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1390
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: PlanetApplicationService, decorators: [{
|
|
1382
1391
|
type: Injectable,
|
|
1383
1392
|
args: [{
|
|
1384
1393
|
providedIn: 'root'
|
|
@@ -1466,10 +1475,10 @@ class GlobalEventDispatcher {
|
|
|
1466
1475
|
getSubscriptionCount() {
|
|
1467
1476
|
return this.subscriptionCount;
|
|
1468
1477
|
}
|
|
1469
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1470
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1478
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: GlobalEventDispatcher, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1479
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: GlobalEventDispatcher, providedIn: 'root' }); }
|
|
1471
1480
|
}
|
|
1472
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1481
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: GlobalEventDispatcher, decorators: [{
|
|
1473
1482
|
type: Injectable,
|
|
1474
1483
|
args: [{
|
|
1475
1484
|
providedIn: 'root'
|
|
@@ -1941,10 +1950,10 @@ class PlanetApplicationLoader {
|
|
|
1941
1950
|
preload(app, immediate) {
|
|
1942
1951
|
return this.preloadInternal(app, immediate);
|
|
1943
1952
|
}
|
|
1944
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1945
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1953
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", 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 }); }
|
|
1954
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: PlanetApplicationLoader, providedIn: 'root' }); }
|
|
1946
1955
|
}
|
|
1947
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1956
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: PlanetApplicationLoader, decorators: [{
|
|
1948
1957
|
type: Injectable,
|
|
1949
1958
|
args: [{
|
|
1950
1959
|
providedIn: 'root'
|
|
@@ -2023,10 +2032,10 @@ class Planet {
|
|
|
2023
2032
|
stop() {
|
|
2024
2033
|
this.subscription?.unsubscribe();
|
|
2025
2034
|
}
|
|
2026
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2027
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2035
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: Planet, deps: [{ token: i0.Injector }, { token: i3.Router }, { token: PLANET_APPLICATIONS, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2036
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: Planet, providedIn: 'root' }); }
|
|
2028
2037
|
}
|
|
2029
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2038
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: Planet, decorators: [{
|
|
2030
2039
|
type: Injectable,
|
|
2031
2040
|
args: [{
|
|
2032
2041
|
providedIn: 'root'
|
|
@@ -2039,10 +2048,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.4", ngImpor
|
|
|
2039
2048
|
}] }] });
|
|
2040
2049
|
|
|
2041
2050
|
class EmptyComponent {
|
|
2042
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2043
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
2051
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: EmptyComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2052
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.3", type: EmptyComponent, isStandalone: true, selector: "empty-component", ngImport: i0, template: ``, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
2044
2053
|
}
|
|
2045
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2054
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: EmptyComponent, decorators: [{
|
|
2046
2055
|
type: Component,
|
|
2047
2056
|
args: [{
|
|
2048
2057
|
// eslint-disable-next-line @angular-eslint/component-selector
|
|
@@ -2247,10 +2256,10 @@ class PlanetComponentLoader {
|
|
|
2247
2256
|
result.subscribe();
|
|
2248
2257
|
return result;
|
|
2249
2258
|
}
|
|
2250
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2251
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2259
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: PlanetComponentLoader, deps: [{ token: i0.ApplicationRef }, { token: i0.NgModuleRef }, { token: i0.NgZone }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2260
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: PlanetComponentLoader, providedIn: 'root' }); }
|
|
2252
2261
|
}
|
|
2253
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2262
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: PlanetComponentLoader, decorators: [{
|
|
2254
2263
|
type: Injectable,
|
|
2255
2264
|
args: [{
|
|
2256
2265
|
providedIn: 'root'
|
|
@@ -2305,10 +2314,10 @@ class PlanetComponentOutlet {
|
|
|
2305
2314
|
this.componentRef?.dispose();
|
|
2306
2315
|
this.destroyed$.next();
|
|
2307
2316
|
}
|
|
2308
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2309
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
2317
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: PlanetComponentOutlet, deps: [{ token: i0.ElementRef }, { token: PlanetComponentLoader }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2318
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.3", type: PlanetComponentOutlet, isStandalone: true, selector: "[planetComponentOutlet]", inputs: { planetComponentOutlet: "planetComponentOutlet", planetComponentOutletApp: "planetComponentOutletApp", planetComponentOutletProjectableNodes: "planetComponentOutletProjectableNodes", planetComponentOutletInitialState: "planetComponentOutletInitialState" }, outputs: { planetComponentLoaded: "planetComponentLoaded" }, usesOnChanges: true, ngImport: i0 }); }
|
|
2310
2319
|
}
|
|
2311
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2320
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: PlanetComponentOutlet, decorators: [{
|
|
2312
2321
|
type: Directive,
|
|
2313
2322
|
args: [{
|
|
2314
2323
|
selector: '[planetComponentOutlet]',
|
|
@@ -2365,10 +2374,10 @@ class RedirectToRouteComponent {
|
|
|
2365
2374
|
constructor() {
|
|
2366
2375
|
this.routeRedirect = routeRedirect();
|
|
2367
2376
|
}
|
|
2368
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2369
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
2377
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: RedirectToRouteComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2378
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.3", type: RedirectToRouteComponent, isStandalone: true, selector: "planet-redirect-to-route", ngImport: i0, template: '', isInline: true }); }
|
|
2370
2379
|
}
|
|
2371
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2380
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: RedirectToRouteComponent, decorators: [{
|
|
2372
2381
|
type: Component,
|
|
2373
2382
|
args: [{
|
|
2374
2383
|
selector: 'planet-redirect-to-route',
|
|
@@ -2398,11 +2407,11 @@ class NgxPlanetModule {
|
|
|
2398
2407
|
]
|
|
2399
2408
|
};
|
|
2400
2409
|
}
|
|
2401
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2402
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
2403
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
2410
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: NgxPlanetModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
2411
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.3", ngImport: i0, type: NgxPlanetModule, imports: [PlanetComponentOutlet, EmptyComponent, RedirectToRouteComponent], exports: [EmptyComponent, PlanetComponentOutlet] }); }
|
|
2412
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: NgxPlanetModule, providers: [provideHttpClient(withInterceptorsFromDi())] }); }
|
|
2404
2413
|
}
|
|
2405
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2414
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: NgxPlanetModule, decorators: [{
|
|
2406
2415
|
type: NgModule,
|
|
2407
2416
|
args: [{
|
|
2408
2417
|
declarations: [],
|