@worktile/planet 18.0.1 → 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.
Files changed (42) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/fesm2022/worktile-planet.mjs +32 -32
  3. package/fesm2022/worktile-planet.mjs.map +1 -1
  4. package/package.json +3 -5
  5. package/esm2022/application/ng-planet-application-ref.mjs +0 -116
  6. package/esm2022/application/planet-application-loader.mjs +0 -459
  7. package/esm2022/application/planet-application-ref.mjs +0 -2
  8. package/esm2022/application/planet-application.service.mjs +0 -86
  9. package/esm2022/application/portal-application.mjs +0 -25
  10. package/esm2022/assets-loader.mjs +0 -304
  11. package/esm2022/component/planet-component-loader.mjs +0 -213
  12. package/esm2022/component/planet-component-outlet.mjs +0 -72
  13. package/esm2022/component/planet-component-types.mjs +0 -3
  14. package/esm2022/component/plant-component.config.mjs +0 -7
  15. package/esm2022/debug.mjs +0 -33
  16. package/esm2022/empty/empty.component.mjs +0 -17
  17. package/esm2022/global-event-dispatcher.mjs +0 -70
  18. package/esm2022/global-planet.mjs +0 -63
  19. package/esm2022/helpers.mjs +0 -185
  20. package/esm2022/inner-types.mjs +0 -2
  21. package/esm2022/module.mjs +0 -33
  22. package/esm2022/planet.class.mjs +0 -9
  23. package/esm2022/planet.mjs +0 -97
  24. package/esm2022/public-api.mjs +0 -19
  25. package/esm2022/router/route-redirect.mjs +0 -63
  26. package/esm2022/sandbox/constants.mjs +0 -7
  27. package/esm2022/sandbox/exec.mjs +0 -15
  28. package/esm2022/sandbox/index.mjs +0 -20
  29. package/esm2022/sandbox/proxy/patches/document.mjs +0 -12
  30. package/esm2022/sandbox/proxy/patches/eventListener.mjs +0 -41
  31. package/esm2022/sandbox/proxy/patches/index.mjs +0 -11
  32. package/esm2022/sandbox/proxy/patches/storage.mjs +0 -40
  33. package/esm2022/sandbox/proxy/patches/timer.mjs +0 -43
  34. package/esm2022/sandbox/proxy/proxies/common.mjs +0 -132
  35. package/esm2022/sandbox/proxy/proxies/document.mjs +0 -126
  36. package/esm2022/sandbox/proxy/proxies/window.mjs +0 -158
  37. package/esm2022/sandbox/proxy/proxy-sandbox.mjs +0 -49
  38. package/esm2022/sandbox/proxy/types.mjs +0 -2
  39. package/esm2022/sandbox/sandbox.mjs +0 -7
  40. package/esm2022/sandbox/snapshot/snapshot-sandbox.mjs +0 -12
  41. package/esm2022/sandbox/types.mjs +0 -2
  42. package/esm2022/worktile-planet.mjs +0 -5
package/CHANGELOG.md CHANGED
@@ -2,6 +2,21 @@
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
+
5
20
  ## [18.0.1](https://github.com/worktile/ngx-planet/compare/18.0.0...18.0.1) (2024-09-05)
6
21
 
7
22
 
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { InjectionToken, Injectable, NgZone, NgModuleRef, signal, Inject, Optional, Component, ChangeDetectionStrategy, Injector, createComponent, reflectComponentType, TemplateRef, EventEmitter, Directive, Input, Output, inject, NgModule } from '@angular/core';
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: "18.1.4", ngImport: i0, type: AssetsLoader, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
1140
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: AssetsLoader, providedIn: 'root' }); }
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: "18.1.4", ngImport: i0, type: AssetsLoader, decorators: [{
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'
@@ -1384,10 +1384,10 @@ class PlanetApplicationService {
1384
1384
  getApps() {
1385
1385
  return this.apps;
1386
1386
  }
1387
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.4", 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: "18.1.4", ngImport: i0, type: PlanetApplicationService, providedIn: 'root' }); }
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' }); }
1389
1389
  }
1390
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: PlanetApplicationService, decorators: [{
1390
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: PlanetApplicationService, decorators: [{
1391
1391
  type: Injectable,
1392
1392
  args: [{
1393
1393
  providedIn: 'root'
@@ -1475,10 +1475,10 @@ class GlobalEventDispatcher {
1475
1475
  getSubscriptionCount() {
1476
1476
  return this.subscriptionCount;
1477
1477
  }
1478
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: GlobalEventDispatcher, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable }); }
1479
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: GlobalEventDispatcher, providedIn: 'root' }); }
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' }); }
1480
1480
  }
1481
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: GlobalEventDispatcher, decorators: [{
1481
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: GlobalEventDispatcher, decorators: [{
1482
1482
  type: Injectable,
1483
1483
  args: [{
1484
1484
  providedIn: 'root'
@@ -1950,10 +1950,10 @@ class PlanetApplicationLoader {
1950
1950
  preload(app, immediate) {
1951
1951
  return this.preloadInternal(app, immediate);
1952
1952
  }
1953
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.4", 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: "18.1.4", ngImport: i0, type: PlanetApplicationLoader, providedIn: 'root' }); }
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' }); }
1955
1955
  }
1956
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: PlanetApplicationLoader, decorators: [{
1956
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: PlanetApplicationLoader, decorators: [{
1957
1957
  type: Injectable,
1958
1958
  args: [{
1959
1959
  providedIn: 'root'
@@ -2032,10 +2032,10 @@ class Planet {
2032
2032
  stop() {
2033
2033
  this.subscription?.unsubscribe();
2034
2034
  }
2035
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.4", 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: "18.1.4", ngImport: i0, type: Planet, providedIn: 'root' }); }
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' }); }
2037
2037
  }
2038
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: Planet, decorators: [{
2038
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: Planet, decorators: [{
2039
2039
  type: Injectable,
2040
2040
  args: [{
2041
2041
  providedIn: 'root'
@@ -2048,10 +2048,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.4", ngImpor
2048
2048
  }] }] });
2049
2049
 
2050
2050
  class EmptyComponent {
2051
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: EmptyComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
2052
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.1.4", type: EmptyComponent, isStandalone: true, selector: "empty-component", ngImport: i0, template: ``, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
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 }); }
2053
2053
  }
2054
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: EmptyComponent, decorators: [{
2054
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: EmptyComponent, decorators: [{
2055
2055
  type: Component,
2056
2056
  args: [{
2057
2057
  // eslint-disable-next-line @angular-eslint/component-selector
@@ -2256,10 +2256,10 @@ class PlanetComponentLoader {
2256
2256
  result.subscribe();
2257
2257
  return result;
2258
2258
  }
2259
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.4", 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: "18.1.4", ngImport: i0, type: PlanetComponentLoader, providedIn: 'root' }); }
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' }); }
2261
2261
  }
2262
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: PlanetComponentLoader, decorators: [{
2262
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: PlanetComponentLoader, decorators: [{
2263
2263
  type: Injectable,
2264
2264
  args: [{
2265
2265
  providedIn: 'root'
@@ -2314,10 +2314,10 @@ class PlanetComponentOutlet {
2314
2314
  this.componentRef?.dispose();
2315
2315
  this.destroyed$.next();
2316
2316
  }
2317
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.4", 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: "18.1.4", type: PlanetComponentOutlet, isStandalone: true, selector: "[planetComponentOutlet]", inputs: { planetComponentOutlet: "planetComponentOutlet", planetComponentOutletApp: "planetComponentOutletApp", planetComponentOutletProjectableNodes: "planetComponentOutletProjectableNodes", planetComponentOutletInitialState: "planetComponentOutletInitialState" }, outputs: { planetComponentLoaded: "planetComponentLoaded" }, usesOnChanges: true, ngImport: i0 }); }
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 }); }
2319
2319
  }
2320
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: PlanetComponentOutlet, decorators: [{
2320
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: PlanetComponentOutlet, decorators: [{
2321
2321
  type: Directive,
2322
2322
  args: [{
2323
2323
  selector: '[planetComponentOutlet]',
@@ -2374,10 +2374,10 @@ class RedirectToRouteComponent {
2374
2374
  constructor() {
2375
2375
  this.routeRedirect = routeRedirect();
2376
2376
  }
2377
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: RedirectToRouteComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
2378
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.1.4", type: RedirectToRouteComponent, isStandalone: true, selector: "planet-redirect-to-route", ngImport: i0, template: '', isInline: true }); }
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 }); }
2379
2379
  }
2380
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: RedirectToRouteComponent, decorators: [{
2380
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: RedirectToRouteComponent, decorators: [{
2381
2381
  type: Component,
2382
2382
  args: [{
2383
2383
  selector: 'planet-redirect-to-route',
@@ -2407,11 +2407,11 @@ class NgxPlanetModule {
2407
2407
  ]
2408
2408
  };
2409
2409
  }
2410
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: NgxPlanetModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
2411
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.1.4", ngImport: i0, type: NgxPlanetModule, imports: [PlanetComponentOutlet, EmptyComponent, RedirectToRouteComponent], exports: [EmptyComponent, PlanetComponentOutlet] }); }
2412
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: NgxPlanetModule, providers: [provideHttpClient(withInterceptorsFromDi())] }); }
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())] }); }
2413
2413
  }
2414
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: NgxPlanetModule, decorators: [{
2414
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: NgxPlanetModule, decorators: [{
2415
2415
  type: NgModule,
2416
2416
  args: [{
2417
2417
  declarations: [],