@worktile/planet 19.0.0-next.0 → 19.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.
Files changed (48) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/assets-loader.d.ts +9 -4
  3. package/assets-loader.d.ts.map +1 -1
  4. package/esm2022/application/ng-planet-application-ref.mjs +116 -0
  5. package/esm2022/application/planet-application-loader.mjs +459 -0
  6. package/esm2022/application/planet-application-ref.mjs +2 -0
  7. package/esm2022/application/planet-application.service.mjs +86 -0
  8. package/esm2022/application/portal-application.mjs +25 -0
  9. package/esm2022/assets-loader.mjs +332 -0
  10. package/esm2022/component/planet-component-loader.mjs +213 -0
  11. package/esm2022/component/planet-component-outlet.mjs +72 -0
  12. package/esm2022/component/planet-component-types.mjs +3 -0
  13. package/esm2022/component/plant-component.config.mjs +7 -0
  14. package/esm2022/debug.mjs +33 -0
  15. package/esm2022/empty/empty.component.mjs +17 -0
  16. package/esm2022/global-event-dispatcher.mjs +70 -0
  17. package/esm2022/global-planet.mjs +63 -0
  18. package/esm2022/helpers.mjs +187 -0
  19. package/esm2022/inner-types.mjs +2 -0
  20. package/esm2022/module.mjs +33 -0
  21. package/esm2022/planet.class.mjs +9 -0
  22. package/esm2022/planet.mjs +97 -0
  23. package/esm2022/public-api.mjs +19 -0
  24. package/esm2022/router/route-redirect.mjs +63 -0
  25. package/esm2022/sandbox/constants.mjs +7 -0
  26. package/esm2022/sandbox/exec.mjs +15 -0
  27. package/esm2022/sandbox/index.mjs +20 -0
  28. package/esm2022/sandbox/proxy/patches/document.mjs +12 -0
  29. package/esm2022/sandbox/proxy/patches/eventListener.mjs +41 -0
  30. package/esm2022/sandbox/proxy/patches/index.mjs +11 -0
  31. package/esm2022/sandbox/proxy/patches/storage.mjs +40 -0
  32. package/esm2022/sandbox/proxy/patches/timer.mjs +43 -0
  33. package/esm2022/sandbox/proxy/proxies/common.mjs +132 -0
  34. package/esm2022/sandbox/proxy/proxies/document.mjs +126 -0
  35. package/esm2022/sandbox/proxy/proxies/window.mjs +158 -0
  36. package/esm2022/sandbox/proxy/proxy-sandbox.mjs +49 -0
  37. package/esm2022/sandbox/proxy/types.mjs +2 -0
  38. package/esm2022/sandbox/sandbox.mjs +7 -0
  39. package/esm2022/sandbox/snapshot/snapshot-sandbox.mjs +12 -0
  40. package/esm2022/sandbox/types.mjs +2 -0
  41. package/esm2022/worktile-planet.mjs +5 -0
  42. package/fesm2022/worktile-planet.mjs +81 -51
  43. package/fesm2022/worktile-planet.mjs.map +1 -1
  44. package/helpers.d.ts +1 -1
  45. package/helpers.d.ts.map +1 -1
  46. package/inner-types.d.ts +6 -3
  47. package/inner-types.d.ts.map +1 -1
  48. package/package.json +3 -1
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHlwZXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9wbGFuZXQvc3JjL3NhbmRib3gvcHJveHkvdHlwZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEdsb2JhbCB9IGZyb20gJy4uL3R5cGVzJztcblxuLy8gU2FuZGJveEluc3RhbmNlICDkuLvopoHmmK/kuLrkuobop6PlhrPlvqrnjq/kvp3otZZcbmV4cG9ydCBpbnRlcmZhY2UgUHJveHlTYW5kYm94SW5zdGFuY2Uge1xuICAgIGFwcDogc3RyaW5nO1xuXG4gICAgcnVubmluZzogYm9vbGVhbjtcblxuICAgIGdsb2JhbDogR2xvYmFsO1xuXG4gICAgcmV3cml0ZVZhcmlhYmxlczogUHJvcGVydHlLZXlbXTtcbn1cblxuZXhwb3J0IGludGVyZmFjZSBTYW5kYm94UGF0Y2hIYW5kbGVyIHtcbiAgICByZXdyaXRlPzogUmVjb3JkPFByb3BlcnR5S2V5LCBhbnk+O1xuICAgIGluaXQ/OiAoKSA9PiB2b2lkO1xuICAgIGRlc3Ryb3k/OiAoKSA9PiB2b2lkO1xufVxuXG5leHBvcnQgdHlwZSBTYW5kYm94UGF0Y2ggPSAoc2FuZGJveD86IFByb3h5U2FuZGJveEluc3RhbmNlKSA9PiBTYW5kYm94UGF0Y2hIYW5kbGVyO1xuIl19
@@ -0,0 +1,7 @@
1
+ import { execScript } from './exec';
2
+ export class Sandbox {
3
+ execScript(code, url = '') {
4
+ execScript(code, url, this.global, !!this.options.strictGlobal);
5
+ }
6
+ }
7
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2FuZGJveC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3BhY2thZ2VzL3BsYW5ldC9zcmMvc2FuZGJveC9zYW5kYm94LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxRQUFRLENBQUM7QUFPcEMsTUFBTSxPQUFnQixPQUFPO0lBU3pCLFVBQVUsQ0FBQyxJQUFZLEVBQUUsR0FBRyxHQUFHLEVBQUU7UUFDN0IsVUFBVSxDQUFDLElBQUksRUFBRSxHQUFHLEVBQUUsSUFBSSxDQUFDLE1BQU0sRUFBRSxDQUFDLENBQUMsSUFBSSxDQUFDLE9BQU8sQ0FBQyxZQUFZLENBQUMsQ0FBQztJQUNwRSxDQUFDO0NBQ0oiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBleGVjU2NyaXB0IH0gZnJvbSAnLi9leGVjJztcbmltcG9ydCB7IEdsb2JhbCB9IGZyb20gJy4vdHlwZXMnO1xuXG5leHBvcnQgaW50ZXJmYWNlIFNhbmRib3hPcHRpb25zIHtcbiAgICBzdHJpY3RHbG9iYWw/OiBib29sZWFuO1xufVxuXG5leHBvcnQgYWJzdHJhY3QgY2xhc3MgU2FuZGJveCB7XG4gICAgb3B0aW9ucyE6IFNhbmRib3hPcHRpb25zO1xuXG4gICAgZ2xvYmFsITogR2xvYmFsO1xuXG4gICAgYWJzdHJhY3Qgc3RhcnQoKTogdm9pZDtcblxuICAgIGFic3RyYWN0IGRlc3Ryb3koKTogdm9pZDtcblxuICAgIGV4ZWNTY3JpcHQoY29kZTogc3RyaW5nLCB1cmwgPSAnJykge1xuICAgICAgICBleGVjU2NyaXB0KGNvZGUsIHVybCwgdGhpcy5nbG9iYWwsICEhdGhpcy5vcHRpb25zLnN0cmljdEdsb2JhbCk7XG4gICAgfVxufVxuIl19
@@ -0,0 +1,12 @@
1
+ import { Sandbox } from '../sandbox';
2
+ export class SnapshotSandbox extends Sandbox {
3
+ constructor(app, options) {
4
+ super();
5
+ this.app = app;
6
+ this.options = options;
7
+ this.start();
8
+ }
9
+ start() { }
10
+ destroy() { }
11
+ }
12
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic25hcHNob3Qtc2FuZGJveC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL3BsYW5ldC9zcmMvc2FuZGJveC9zbmFwc2hvdC9zbmFwc2hvdC1zYW5kYm94LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxPQUFPLEVBQWtCLE1BQU0sWUFBWSxDQUFDO0FBRXJELE1BQU0sT0FBTyxlQUFnQixTQUFRLE9BQU87SUFDeEMsWUFDVyxHQUFXLEVBQ0YsT0FBdUI7UUFFdkMsS0FBSyxFQUFFLENBQUM7UUFIRCxRQUFHLEdBQUgsR0FBRyxDQUFRO1FBQ0YsWUFBTyxHQUFQLE9BQU8sQ0FBZ0I7UUFHdkMsSUFBSSxDQUFDLEtBQUssRUFBRSxDQUFDO0lBQ2pCLENBQUM7SUFFRCxLQUFLLEtBQUksQ0FBQztJQUVWLE9BQU8sS0FBSSxDQUFDO0NBQ2YiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBTYW5kYm94LCBTYW5kYm94T3B0aW9ucyB9IGZyb20gJy4uL3NhbmRib3gnO1xuXG5leHBvcnQgY2xhc3MgU25hcHNob3RTYW5kYm94IGV4dGVuZHMgU2FuZGJveCB7XG4gICAgY29uc3RydWN0b3IoXG4gICAgICAgIHB1YmxpYyBhcHA6IHN0cmluZyxcbiAgICAgICAgcHVibGljIG92ZXJyaWRlIG9wdGlvbnM6IFNhbmRib3hPcHRpb25zXG4gICAgKSB7XG4gICAgICAgIHN1cGVyKCk7XG4gICAgICAgIHRoaXMuc3RhcnQoKTtcbiAgICB9XG5cbiAgICBzdGFydCgpIHt9XG5cbiAgICBkZXN0cm95KCkge31cbn1cbiJdfQ==
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHlwZXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wYWNrYWdlcy9wbGFuZXQvc3JjL3NhbmRib3gvdHlwZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCB0eXBlIEdsb2JhbCA9IFJlY29yZDxQcm9wZXJ0eUtleSwgYW55PjtcbiJdfQ==
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ export * from './public-api';
5
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid29ya3RpbGUtcGxhbmV0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vcGFja2FnZXMvcGxhbmV0L3NyYy93b3JrdGlsZS1wbGFuZXQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFFSCxjQUFjLGNBQWMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9wdWJsaWMtYXBpJztcbiJdfQ==
@@ -1,5 +1,5 @@
1
1
  import * as i0 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';
2
+ import { InjectionToken, Injectable, NgZone, NgModuleRef, signal, Inject, Optional, Component, ChangeDetectionStrategy, Injector, createComponent, reflectComponentType, TemplateRef, EventEmitter, Directive, Input, Output, 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';
@@ -149,25 +149,27 @@ function getAssetsBasePath(app) {
149
149
  return basePath || app.resourcePathPrefix;
150
150
  }
151
151
  function getAssetsByDefined(definedPaths, manifest, ext) {
152
+ let assets = [];
152
153
  if (definedPaths) {
153
- return definedPaths.map(definedPath => {
154
+ definedPaths.forEach(definedPath => {
154
155
  const fileName = getResourceFileName(definedPath);
155
156
  const assetsTagItem = manifest[fileName];
156
- return {
157
- ...assetsTagItem,
158
- src: definedPath.replace(fileName, assetsTagItem.src)
159
- };
157
+ assets = assets.concat(assetsTagItem.map(item => ({
158
+ ...item,
159
+ src: definedPath.replace(fileName, item.src)
160
+ })));
160
161
  });
161
162
  }
162
163
  else {
163
- return Object.keys(manifest)
164
+ Object.keys(manifest)
164
165
  .filter(key => {
165
166
  return getExtName(key) === ext;
166
167
  })
167
- .map(key => {
168
- return manifest[key];
168
+ .forEach(key => {
169
+ assets = assets.concat(manifest[key]);
169
170
  });
170
171
  }
172
+ return assets;
171
173
  }
172
174
  function toAssetsTagItem(src) {
173
175
  return {
@@ -852,13 +854,14 @@ function getSandboxInstance() {
852
854
 
853
855
  const STYLE_LINK_OR_SCRIPT_REG = /<[script|link].*?>/gi;
854
856
  const LINK_OR_SRC_REG = /(src|href)=["'](.*?[\.js|\.css])["']/i;
855
- const TAG_ATTRS_REG = /(type|defer|async)((=["'].*?["'])|\s|\>)/gi;
857
+ const TAG_ATTRS_REG = /(type|defer|async|rel)((=["'].*?["'])|\s|\>)/gi;
856
858
  class AssetsLoader {
857
859
  constructor(http) {
858
860
  this.http = http;
859
861
  this.loadedSources = [];
860
862
  }
861
- loadScript(src, tagAttributes) {
863
+ loadScript(scriptAsset) {
864
+ const { src, tagName, attributes: tagAttributes } = scriptAsset;
862
865
  const id = hashCode(src);
863
866
  if (this.loadedSources.includes(id)) {
864
867
  return of({
@@ -868,14 +871,31 @@ class AssetsLoader {
868
871
  status: 'Loaded'
869
872
  });
870
873
  }
874
+ if (tagName === 'link') {
875
+ const LinkAttributes = tagAttributes;
876
+ const link = document.createElement('link');
877
+ link.href = src;
878
+ if (LinkAttributes.rel) {
879
+ link.rel = LinkAttributes.rel;
880
+ }
881
+ const head = document.getElementsByTagName('head')[0];
882
+ head.appendChild(link);
883
+ return of({
884
+ src: src,
885
+ hashCode: id,
886
+ loaded: false,
887
+ status: 'Preload'
888
+ });
889
+ }
871
890
  return new Observable((observer) => {
891
+ const scriptAttributes = tagAttributes;
872
892
  const script = document.createElement('script');
873
- script.type = tagAttributes?.type || 'text/javascript';
893
+ script.type = scriptAttributes?.type || 'text/javascript';
874
894
  script.src = src;
875
- if (!tagAttributes?.defer || tagAttributes?.defer !== 'false') {
895
+ if (!scriptAttributes?.defer || scriptAttributes?.defer !== 'false') {
876
896
  script.defer = true;
877
897
  }
878
- if (!tagAttributes?.async && tagAttributes?.async === 'false') {
898
+ if (!scriptAttributes?.async && scriptAttributes?.async !== 'false') {
879
899
  script.async = true;
880
900
  }
881
901
  if (script['readyState']) {
@@ -1007,7 +1027,7 @@ class AssetsLoader {
1007
1027
  return this.loadScriptWithSandbox(options.app, source.src);
1008
1028
  }
1009
1029
  else {
1010
- return this.loadScript(source.src, source.attributes);
1030
+ return this.loadScript(source);
1011
1031
  }
1012
1032
  });
1013
1033
  if (options.serial) {
@@ -1062,6 +1082,7 @@ class AssetsLoader {
1062
1082
  const result = {};
1063
1083
  const matchResult = html.match(STYLE_LINK_OR_SCRIPT_REG);
1064
1084
  matchResult.forEach(item => {
1085
+ const isLinkTag = item.trim().toLowerCase().slice(1, item.indexOf(' ')) === 'link';
1065
1086
  const linkOrSrcResult = item.match(LINK_OR_SRC_REG);
1066
1087
  if (linkOrSrcResult && linkOrSrcResult[2]) {
1067
1088
  const src = linkOrSrcResult[2];
@@ -1073,9 +1094,16 @@ class AssetsLoader {
1073
1094
  const name = hashName.slice(0, splitIndex);
1074
1095
  const ext = getExtName(hashName);
1075
1096
  const assetsTag = {
1076
- src: src
1097
+ src: src,
1098
+ tagName: isLinkTag ? 'link' : 'script'
1077
1099
  };
1078
- result[ext ? `${name}.${ext}` : name] = assetsTag;
1100
+ const assetName = ext ? `${name}.${ext}` : name;
1101
+ if (!result[assetName]) {
1102
+ result[assetName] = [assetsTag];
1103
+ }
1104
+ else {
1105
+ result[assetName] = result[assetName].concat(assetsTag);
1106
+ }
1079
1107
  const attributes = this.parseTagAttributes(item);
1080
1108
  if (attributes) {
1081
1109
  assetsTag.attributes = attributes;
@@ -1128,18 +1156,20 @@ class AssetsLoader {
1128
1156
  else {
1129
1157
  const result = {};
1130
1158
  Object.keys(response).forEach(key => {
1131
- result[key] = {
1132
- src: response[key]
1133
- };
1159
+ result[key] = [
1160
+ {
1161
+ src: response[key]
1162
+ }
1163
+ ];
1134
1164
  });
1135
1165
  return result;
1136
1166
  }
1137
1167
  }));
1138
1168
  }
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' }); }
1169
+ 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 }); }
1170
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: AssetsLoader, providedIn: 'root' }); }
1141
1171
  }
1142
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: AssetsLoader, decorators: [{
1172
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: AssetsLoader, decorators: [{
1143
1173
  type: Injectable,
1144
1174
  args: [{
1145
1175
  providedIn: 'root'
@@ -1384,10 +1414,10 @@ class PlanetApplicationService {
1384
1414
  getApps() {
1385
1415
  return this.apps;
1386
1416
  }
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' }); }
1417
+ 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 }); }
1418
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: PlanetApplicationService, providedIn: 'root' }); }
1389
1419
  }
1390
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: PlanetApplicationService, decorators: [{
1420
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: PlanetApplicationService, decorators: [{
1391
1421
  type: Injectable,
1392
1422
  args: [{
1393
1423
  providedIn: 'root'
@@ -1475,10 +1505,10 @@ class GlobalEventDispatcher {
1475
1505
  getSubscriptionCount() {
1476
1506
  return this.subscriptionCount;
1477
1507
  }
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' }); }
1508
+ 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 }); }
1509
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: GlobalEventDispatcher, providedIn: 'root' }); }
1480
1510
  }
1481
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: GlobalEventDispatcher, decorators: [{
1511
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: GlobalEventDispatcher, decorators: [{
1482
1512
  type: Injectable,
1483
1513
  args: [{
1484
1514
  providedIn: 'root'
@@ -1950,10 +1980,10 @@ class PlanetApplicationLoader {
1950
1980
  preload(app, immediate) {
1951
1981
  return this.preloadInternal(app, immediate);
1952
1982
  }
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' }); }
1983
+ 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 }); }
1984
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: PlanetApplicationLoader, providedIn: 'root' }); }
1955
1985
  }
1956
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: PlanetApplicationLoader, decorators: [{
1986
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: PlanetApplicationLoader, decorators: [{
1957
1987
  type: Injectable,
1958
1988
  args: [{
1959
1989
  providedIn: 'root'
@@ -2032,10 +2062,10 @@ class Planet {
2032
2062
  stop() {
2033
2063
  this.subscription?.unsubscribe();
2034
2064
  }
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' }); }
2065
+ 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 }); }
2066
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: Planet, providedIn: 'root' }); }
2037
2067
  }
2038
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: Planet, decorators: [{
2068
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: Planet, decorators: [{
2039
2069
  type: Injectable,
2040
2070
  args: [{
2041
2071
  providedIn: 'root'
@@ -2048,10 +2078,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImpor
2048
2078
  }] }] });
2049
2079
 
2050
2080
  class EmptyComponent {
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 }); }
2081
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: EmptyComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
2082
+ 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 }); }
2053
2083
  }
2054
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: EmptyComponent, decorators: [{
2084
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: EmptyComponent, decorators: [{
2055
2085
  type: Component,
2056
2086
  args: [{
2057
2087
  // eslint-disable-next-line @angular-eslint/component-selector
@@ -2256,10 +2286,10 @@ class PlanetComponentLoader {
2256
2286
  result.subscribe();
2257
2287
  return result;
2258
2288
  }
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' }); }
2289
+ 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 }); }
2290
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: PlanetComponentLoader, providedIn: 'root' }); }
2261
2291
  }
2262
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: PlanetComponentLoader, decorators: [{
2292
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: PlanetComponentLoader, decorators: [{
2263
2293
  type: Injectable,
2264
2294
  args: [{
2265
2295
  providedIn: 'root'
@@ -2314,10 +2344,10 @@ class PlanetComponentOutlet {
2314
2344
  this.componentRef?.dispose();
2315
2345
  this.destroyed$.next();
2316
2346
  }
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 }); }
2347
+ 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 }); }
2348
+ 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 }); }
2319
2349
  }
2320
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: PlanetComponentOutlet, decorators: [{
2350
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: PlanetComponentOutlet, decorators: [{
2321
2351
  type: Directive,
2322
2352
  args: [{
2323
2353
  selector: '[planetComponentOutlet]',
@@ -2374,10 +2404,10 @@ class RedirectToRouteComponent {
2374
2404
  constructor() {
2375
2405
  this.routeRedirect = routeRedirect();
2376
2406
  }
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 }); }
2407
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: RedirectToRouteComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
2408
+ 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 }); }
2379
2409
  }
2380
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: RedirectToRouteComponent, decorators: [{
2410
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: RedirectToRouteComponent, decorators: [{
2381
2411
  type: Component,
2382
2412
  args: [{
2383
2413
  selector: 'planet-redirect-to-route',
@@ -2407,11 +2437,11 @@ class NgxPlanetModule {
2407
2437
  ]
2408
2438
  };
2409
2439
  }
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())] }); }
2440
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: NgxPlanetModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
2441
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.1.4", ngImport: i0, type: NgxPlanetModule, imports: [PlanetComponentOutlet, EmptyComponent, RedirectToRouteComponent], exports: [EmptyComponent, PlanetComponentOutlet] }); }
2442
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: NgxPlanetModule, providers: [provideHttpClient(withInterceptorsFromDi())] }); }
2413
2443
  }
2414
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: NgxPlanetModule, decorators: [{
2444
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: NgxPlanetModule, decorators: [{
2415
2445
  type: NgModule,
2416
2446
  args: [{
2417
2447
  declarations: [],