@worktile/planet 13.0.0 → 14.0.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 +427 -0
- package/LICENSE +21 -0
- package/README.md +348 -0
- package/empty/empty.component.d.ts +1 -1
- package/esm2020/application/planet-application-loader.mjs +3 -3
- package/esm2020/application/planet-application.service.mjs +3 -3
- package/esm2020/assets-loader.mjs +3 -3
- package/esm2020/component/planet-component-loader.mjs +3 -3
- package/esm2020/empty/empty.component.mjs +3 -3
- package/esm2020/global-event-dispatcher.mjs +3 -3
- package/esm2020/module.mjs +5 -5
- package/esm2020/planet.mjs +3 -3
- package/fesm2015/worktile-planet.mjs +25 -25
- package/fesm2015/worktile-planet.mjs.map +1 -1
- package/fesm2020/worktile-planet.mjs +25 -25
- package/fesm2020/worktile-planet.mjs.map +1 -1
- package/{worktile-planet.d.ts → index.d.ts} +0 -0
- package/package.json +7 -11
package/README.md
ADDED
|
@@ -0,0 +1,348 @@
|
|
|
1
|
+
# ngx-planet
|
|
2
|
+
|
|
3
|
+
[](https://circleci.com/gh/worktile/ngx-planet)
|
|
4
|
+
[![Coverage Status][coveralls-image]][coveralls-url]
|
|
5
|
+
[](https://www.npmjs.com/package/@worktile/planet)
|
|
6
|
+
[](https://www.npmjs.com/package/@worktile/planet)
|
|
7
|
+
 [](#contributors-)
|
|
8
|
+
|
|
9
|
+
[coveralls-image]: https://coveralls.io/repos/github/worktile/ngx-planet/badge.svg?branch=master
|
|
10
|
+
[coveralls-url]: https://coveralls.io/github/worktile/ngx-planet
|
|
11
|
+
|
|
12
|
+
A powerful, reliable, fully-featured and production ready Micro Frontend library for Angular.
|
|
13
|
+
|
|
14
|
+
APIs consistent with angular style, currently only supports Angular, other frameworks are not supported.
|
|
15
|
+
|
|
16
|
+
English | [中文文档](https://github.com/worktile/ngx-planet/blob/master/README.zh-CN.md)
|
|
17
|
+
|
|
18
|
+
## Features
|
|
19
|
+
|
|
20
|
+
- Rendering multiple applications at the same time
|
|
21
|
+
- Support two mode, coexist and default that switch to another app and destroy active apps
|
|
22
|
+
- Support application preload
|
|
23
|
+
- Support style isolation
|
|
24
|
+
- Built-in communication between multiple applications
|
|
25
|
+
- Cross application component rendering
|
|
26
|
+
- Comprehensive examples include routing configuration, lazy loading and all features
|
|
27
|
+
|
|
28
|
+
## Alternatives
|
|
29
|
+
|
|
30
|
+
- [single-spa](https://github.com/CanopyTax/single-spa): A javascript front-end framework supports any frameworks.
|
|
31
|
+
- [mooa](https://github.com/phodal/mooa): A independent-deployment micro-frontend Framework for Angular from single-spa, `planet` is very similar to it, but `planet` is more powerful, reliable, productively and more angular.
|
|
32
|
+
|
|
33
|
+
## Installation
|
|
34
|
+
|
|
35
|
+
```bash
|
|
36
|
+
$ npm i @worktile/planet --save
|
|
37
|
+
// or
|
|
38
|
+
$ yarn add @worktile/planet
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
## Dependencies
|
|
42
|
+
|
|
43
|
+
- `@angular/cdk`, you should install `@angular/cdk`
|
|
44
|
+
|
|
45
|
+
## Demo
|
|
46
|
+
|
|
47
|
+
[Try out our live demo](http://planet.ngnice.com)
|
|
48
|
+
|
|
49
|
+

|
|
50
|
+
|
|
51
|
+
## Usage
|
|
52
|
+
|
|
53
|
+
### 1. Loading NgxPlanetModule in the portal's AppModule
|
|
54
|
+
|
|
55
|
+
```
|
|
56
|
+
import { NgxPlanetModule } from '@worktile/planet';
|
|
57
|
+
|
|
58
|
+
@NgModule({
|
|
59
|
+
imports: [
|
|
60
|
+
CommonModule,
|
|
61
|
+
NgxPlanetModule
|
|
62
|
+
]
|
|
63
|
+
})
|
|
64
|
+
class AppModule {}
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
### 2. Register applications to planet use PlanetService in portal app
|
|
68
|
+
|
|
69
|
+
```
|
|
70
|
+
@Component({
|
|
71
|
+
selector: 'app-portal-root',
|
|
72
|
+
template: `
|
|
73
|
+
<nav>
|
|
74
|
+
<a [routerLink]="['/app1']" routerLinkActive="active">应用1</a>
|
|
75
|
+
<a [routerLink]="['/app2']" routerLinkActive="active">应用2</a>
|
|
76
|
+
</nav>
|
|
77
|
+
<router-outlet></router-outlet>
|
|
78
|
+
<div id="app-host-container"></div>
|
|
79
|
+
<div *ngIf="!loadingDone">加载中...</div>
|
|
80
|
+
`
|
|
81
|
+
})
|
|
82
|
+
export class AppComponent implements OnInit {
|
|
83
|
+
title = 'ngx-planet';
|
|
84
|
+
|
|
85
|
+
get loadingDone() {
|
|
86
|
+
return this.planet.loadingDone;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
constructor(
|
|
90
|
+
private planet: Planet
|
|
91
|
+
) {}
|
|
92
|
+
|
|
93
|
+
ngOnInit() {
|
|
94
|
+
this.planet.setOptions({
|
|
95
|
+
switchMode: SwitchModes.coexist,
|
|
96
|
+
errorHandler: error => {
|
|
97
|
+
console.error(`Failed to load resource, error:`, error);
|
|
98
|
+
}
|
|
99
|
+
});
|
|
100
|
+
|
|
101
|
+
this.planet.registerApps([
|
|
102
|
+
{
|
|
103
|
+
name: 'app1',
|
|
104
|
+
hostParent: '#app-host-container',
|
|
105
|
+
hostClass: 'thy-layout',
|
|
106
|
+
routerPathPrefix: '/app1',
|
|
107
|
+
resourcePathPrefix: '/static/app1',
|
|
108
|
+
preload: true,
|
|
109
|
+
scripts: [
|
|
110
|
+
'main.js'
|
|
111
|
+
],
|
|
112
|
+
styles: [
|
|
113
|
+
'styles.css'
|
|
114
|
+
]
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
name: 'app2',
|
|
118
|
+
hostParent: '#app-host-container',
|
|
119
|
+
hostClass: 'thy-layout',
|
|
120
|
+
routerPathPrefix: '/app2',
|
|
121
|
+
preload: true,
|
|
122
|
+
scripts: [
|
|
123
|
+
'/static/app2/main.js'
|
|
124
|
+
],
|
|
125
|
+
styles: [
|
|
126
|
+
'/static/app2/styles.css'
|
|
127
|
+
]
|
|
128
|
+
}
|
|
129
|
+
]);
|
|
130
|
+
|
|
131
|
+
// start monitor route changes
|
|
132
|
+
// get apps to active by current path
|
|
133
|
+
// load static resources which contains javascript and css
|
|
134
|
+
// bootstrap angular sub app module and show it
|
|
135
|
+
this.planet.start();
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
```
|
|
139
|
+
|
|
140
|
+
### 3. Sub App define how to bootstrap AppModule
|
|
141
|
+
|
|
142
|
+
```
|
|
143
|
+
defineApplication('app1', {
|
|
144
|
+
template: `<app1-root class="app1-root"></app1-root>`,
|
|
145
|
+
bootstrap: (portalApp: PlanetPortalApplication) => {
|
|
146
|
+
return platformBrowserDynamic([
|
|
147
|
+
{
|
|
148
|
+
provide: PlanetPortalApplication,
|
|
149
|
+
useValue: portalApp
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
provide: AppRootContext,
|
|
153
|
+
useValue: portalApp.data.appRootContext
|
|
154
|
+
}
|
|
155
|
+
])
|
|
156
|
+
.bootstrapModule(AppModule)
|
|
157
|
+
.then(appModule => {
|
|
158
|
+
return appModule;
|
|
159
|
+
})
|
|
160
|
+
.catch(error => {
|
|
161
|
+
console.error(error);
|
|
162
|
+
return null;
|
|
163
|
+
});
|
|
164
|
+
}
|
|
165
|
+
});
|
|
166
|
+
```
|
|
167
|
+
|
|
168
|
+
## Documents
|
|
169
|
+
|
|
170
|
+
### Sub app configurations
|
|
171
|
+
|
|
172
|
+
| Name | Type | Description | 中文描述 |
|
|
173
|
+
| ------------------ | --------------------- | ------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
174
|
+
| name | string | Application's name | 子应用的名字 |
|
|
175
|
+
| routerPathPrefix | string | Application route path prefix | 子应用路由路径前缀,根据这个匹配应用 |
|
|
176
|
+
| selector | string | selector of app root component | 子应用的启动组件选择器,因为子应用是主应用动态加载的,所以主应用需要先创建这个选择器节点,再启动 AppModule |
|
|
177
|
+
| scripts | string[] | javascript static resource paths | JS 静态资源文件访问地址 |
|
|
178
|
+
| styles | string[] | style static resource paths | 样式静态资源文件访问地址 |
|
|
179
|
+
| resourcePathPrefix | string | path prefix of scripts and styles | 脚本和样式文件路径前缀,多个脚本可以避免重复写同样的前缀 |
|
|
180
|
+
| hostParent | string or HTMLElement | parent element for render | 应用渲染的容器元素, 指定子应用显示在哪个元素内部 |
|
|
181
|
+
| hostClass | string | added class for host which is selector | 宿主元素的 Class,也就是在子应用启动组件上追加的样式 |
|
|
182
|
+
| switchMode | default or coexist | it will be destroyed when set to default, it only hide app when set to coexist | 切换子应用的模式,默认切换会销毁,设置 coexist 后只会隐藏 |
|
|
183
|
+
| preload | boolean | start preload or not | 是否启用预加载,启动后刷新页面等当前页面的应用渲染完毕后预加载子应用 |
|
|
184
|
+
| loadSerial | boolean | serial load scripts | 是否串行加载脚本静态资源 |
|
|
185
|
+
| manifest | string | manifest json file path | manifest.json 文件路径地址,当设置了路径后会先加载这个文件,然后根据 scripts 和 styles 文件名去找到匹配的文件,因为生产环境的静态资文件是 hash 之后的命名,需要动态获取 |
|
|
186
|
+
|
|
187
|
+
### Communication between applications use GlobalEventDispatcher
|
|
188
|
+
|
|
189
|
+
```
|
|
190
|
+
import { GlobalEventDispatcher } from "@worktile/planet";
|
|
191
|
+
|
|
192
|
+
// app1 root module
|
|
193
|
+
export class AppModule {
|
|
194
|
+
constructor(private globalEventDispatcher: GlobalEventDispatcher) {
|
|
195
|
+
this.globalEventDispatcher.register('open-a-detail').subscribe(event => {
|
|
196
|
+
// dialog.open(App1DetailComponent);
|
|
197
|
+
});
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
// in other apps
|
|
202
|
+
export class OneComponent {
|
|
203
|
+
constructor(private globalEventDispatcher: GlobalEventDispatcher) {
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
openDetail() {
|
|
207
|
+
this.globalEventDispatcher.dispatch('open-a-detail', payload);
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
```
|
|
211
|
+
|
|
212
|
+
### Cross application component rendering
|
|
213
|
+
|
|
214
|
+
```
|
|
215
|
+
import { PlanetComponentLoader } from "@worktile/planet";
|
|
216
|
+
|
|
217
|
+
// in app1
|
|
218
|
+
export class AppModule {
|
|
219
|
+
constructor(private planetComponentLoader: PlanetComponentLoader) {
|
|
220
|
+
this.planetComponentLoader.register([{ name: 'app1-project-list', component: App1ProjectListComponent }]);
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
// in other apps
|
|
225
|
+
export class OneComponent {
|
|
226
|
+
constructor(private planetComponentLoader: PlanetComponentLoader) {
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
openDetail() {
|
|
230
|
+
this.planetComponentLoader.load('app1', 'app1-project-list', {
|
|
231
|
+
container: this.containerElementRef,
|
|
232
|
+
initialState: {}
|
|
233
|
+
});
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
```
|
|
238
|
+
|
|
239
|
+
## FAQ
|
|
240
|
+
|
|
241
|
+
### infinite loop load portal app's js
|
|
242
|
+
Because the portal app and sub app are packaged through webpack, there will be conflicts in module dependent files, we should set up additional config `runtimeChunk` through `@angular-builders/custom-webpack`, we expect webpack 5 to support micro frontend better.
|
|
243
|
+
```
|
|
244
|
+
// extra-webpack.config.js
|
|
245
|
+
{
|
|
246
|
+
optimization: {
|
|
247
|
+
runtimeChunk: false
|
|
248
|
+
}
|
|
249
|
+
};
|
|
250
|
+
```
|
|
251
|
+
|
|
252
|
+
### throw error `Cannot read property 'call' of undefined at __webpack_require__ (bootstrap:79)`
|
|
253
|
+
Similar to the reasons above, we should set `vendorChunk` as `false` for `build` and `serve` in `angular.json`
|
|
254
|
+
|
|
255
|
+
```
|
|
256
|
+
...
|
|
257
|
+
"build": {
|
|
258
|
+
"builder": "@angular-builders/custom-webpack:browser",
|
|
259
|
+
"options": {
|
|
260
|
+
"customWebpackConfig": {
|
|
261
|
+
"path": "./examples/app2/extra-webpack.config.js",
|
|
262
|
+
"mergeStrategies": {
|
|
263
|
+
"module.rules": "prepend"
|
|
264
|
+
},
|
|
265
|
+
"replaceDuplicatePlugins": true
|
|
266
|
+
},
|
|
267
|
+
...
|
|
268
|
+
"vendorChunk": false,
|
|
269
|
+
...
|
|
270
|
+
},
|
|
271
|
+
},
|
|
272
|
+
"serve": {
|
|
273
|
+
"builder": "@angular-builders/custom-webpack:dev-server",
|
|
274
|
+
"options": {
|
|
275
|
+
...
|
|
276
|
+
"vendorChunk": false
|
|
277
|
+
...
|
|
278
|
+
}
|
|
279
|
+
}
|
|
280
|
+
...
|
|
281
|
+
```
|
|
282
|
+
|
|
283
|
+
### throw error `An accessor cannot be declared in an ambient context.`
|
|
284
|
+
this is TypeScript's issue, details see [an-accessor-cannot-be-declared](https://stackoverflow.com/questions/61248058/error-ngx-daterangepicker-material-an-accessor-cannot-be-declared-in-an-ambient
|
|
285
|
+
)
|
|
286
|
+
should setting `skipLibCheck` as true
|
|
287
|
+
```
|
|
288
|
+
"compilerOptions": {
|
|
289
|
+
"skipLibCheck": true
|
|
290
|
+
}
|
|
291
|
+
```
|
|
292
|
+
|
|
293
|
+
### Production env throw error `Cannot read property 'call' of undefined` use router lazy load
|
|
294
|
+
|
|
295
|
+
In webpack 4 multiple webpack runtimes could conflict on the same HTML page, because they use the same global variable for chunk loading. To fix that it was needed to provide a custom name to the output.jsonpFunction configuration, details see [Automatic unique naming](https://webpack.js.org/blog/2020-10-10-webpack-5-release/#automatic-unique-naming).
|
|
296
|
+
|
|
297
|
+
you should set a unique name for each sub application in `extra-webpack.config.js`
|
|
298
|
+
```
|
|
299
|
+
output: { jsonpFunction: "app1" }
|
|
300
|
+
```
|
|
301
|
+
|
|
302
|
+
## Development
|
|
303
|
+
|
|
304
|
+
```
|
|
305
|
+
npm run start // open http://localhost:3000
|
|
306
|
+
|
|
307
|
+
or
|
|
308
|
+
|
|
309
|
+
npm run serve:portal // 3000
|
|
310
|
+
npm run serve:app1 // 3001
|
|
311
|
+
npm run serve:app2 // 3002
|
|
312
|
+
|
|
313
|
+
// test
|
|
314
|
+
npm run test
|
|
315
|
+
```
|
|
316
|
+
|
|
317
|
+
## Roadmap
|
|
318
|
+
|
|
319
|
+
- [ ] Ivy render engine
|
|
320
|
+
- [ ] Supports Other frameworks as React and Vue
|
|
321
|
+
|
|
322
|
+
## Contributors ✨
|
|
323
|
+
|
|
324
|
+
Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
|
|
325
|
+
|
|
326
|
+
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
|
|
327
|
+
<!-- prettier-ignore-start -->
|
|
328
|
+
<!-- markdownlint-disable -->
|
|
329
|
+
<table>
|
|
330
|
+
<tr>
|
|
331
|
+
<td align="center"><a href="https://www.zhihu.com/people/why520crazy/activities"><img src="https://avatars2.githubusercontent.com/u/3959960?v=4" width="100px;" alt=""/><br /><sub><b>why520crazy</b></sub></a><br /><a href="#question-why520crazy" title="Answering Questions">💬</a> <a href="#business-why520crazy" title="Business development">💼</a> <a href="https://github.com/worktile/ngx-planet/commits?author=why520crazy" title="Code">💻</a> <a href="#design-why520crazy" title="Design">🎨</a> <a href="https://github.com/worktile/ngx-planet/commits?author=why520crazy" title="Documentation">📖</a> <a href="#eventOrganizing-why520crazy" title="Event Organizing">📋</a> <a href="#infra-why520crazy" title="Infrastructure (Hosting, Build-Tools, etc)">🚇</a> <a href="#maintenance-why520crazy" title="Maintenance">🚧</a> <a href="#projectManagement-why520crazy" title="Project Management">📆</a> <a href="https://github.com/worktile/ngx-planet/pulls?q=is%3Apr+reviewed-by%3Awhy520crazy" title="Reviewed Pull Requests">👀</a></td>
|
|
332
|
+
<td align="center"><a href="https://github.com/walkerkay"><img src="https://avatars1.githubusercontent.com/u/15701592?v=4" width="100px;" alt=""/><br /><sub><b>Walker</b></sub></a><br /><a href="https://github.com/worktile/ngx-planet/commits?author=walkerkay" title="Code">💻</a> <a href="#example-walkerkay" title="Examples">💡</a> <a href="#maintenance-walkerkay" title="Maintenance">🚧</a> <a href="https://github.com/worktile/ngx-planet/pulls?q=is%3Apr+reviewed-by%3Awalkerkay" title="Reviewed Pull Requests">👀</a></td>
|
|
333
|
+
<td align="center"><a href="https://whyour.cn"><img src="https://avatars3.githubusercontent.com/u/22700758?v=4" width="100px;" alt=""/><br /><sub><b>whyour</b></sub></a><br /><a href="https://github.com/worktile/ngx-planet/commits?author=whyour" title="Code">💻</a></td>
|
|
334
|
+
<td align="center"><a href="http://www.231jx.cn"><img src="https://avatars0.githubusercontent.com/u/19969080?v=4" width="100px;" alt=""/><br /><sub><b>张威</b></sub></a><br /><a href="https://github.com/worktile/ngx-planet/commits?author=aoilti" title="Code">💻</a></td>
|
|
335
|
+
<td align="center"><a href="https://github.com/luxiaobei"><img src="https://avatars1.githubusercontent.com/u/13583957?v=4" width="100px;" alt=""/><br /><sub><b>luxiaobei</b></sub></a><br /><a href="#infra-luxiaobei" title="Infrastructure (Hosting, Build-Tools, etc)">🚇</a> <a href="https://github.com/worktile/ngx-planet/commits?author=luxiaobei" title="Tests">⚠️</a> <a href="https://github.com/worktile/ngx-planet/commits?author=luxiaobei" title="Code">💻</a></td>
|
|
336
|
+
<td align="center"><a href="https://github.com/mario56"><img src="https://avatars2.githubusercontent.com/u/7720722?v=4" width="100px;" alt=""/><br /><sub><b>mario_ma</b></sub></a><br /><a href="https://github.com/worktile/ngx-planet/commits?author=mario56" title="Code">💻</a></td>
|
|
337
|
+
</tr>
|
|
338
|
+
</table>
|
|
339
|
+
|
|
340
|
+
<!-- markdownlint-enable -->
|
|
341
|
+
<!-- prettier-ignore-end -->
|
|
342
|
+
<!-- ALL-CONTRIBUTORS-LIST:END -->
|
|
343
|
+
|
|
344
|
+
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!
|
|
345
|
+
|
|
346
|
+
## LICENSE
|
|
347
|
+
|
|
348
|
+
[MIT License](https://github.com/worktile/ngx-planet/blob/master/LICENSE)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
export declare class EmptyComponent {
|
|
3
3
|
static ɵfac: i0.ɵɵFactoryDeclaration<EmptyComponent, never>;
|
|
4
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<EmptyComponent, "empty-component", never, {}, {}, never, never>;
|
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EmptyComponent, "empty-component", never, {}, {}, never, never, false>;
|
|
5
5
|
}
|
|
6
6
|
//# sourceMappingURL=empty.component.d.ts.map
|
|
@@ -443,9 +443,9 @@ export class PlanetApplicationLoader {
|
|
|
443
443
|
return this.preloadInternal(app, immediate);
|
|
444
444
|
}
|
|
445
445
|
}
|
|
446
|
-
PlanetApplicationLoader.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
447
|
-
PlanetApplicationLoader.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
448
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
446
|
+
PlanetApplicationLoader.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: PlanetApplicationLoader, deps: [{ token: i1.AssetsLoader }, { token: i2.PlanetApplicationService }, { token: i0.NgZone }, { token: i3.Router }, { token: i0.Injector }, { token: i0.ApplicationRef }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
447
|
+
PlanetApplicationLoader.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: PlanetApplicationLoader, providedIn: 'root' });
|
|
448
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: PlanetApplicationLoader, decorators: [{
|
|
449
449
|
type: Injectable,
|
|
450
450
|
args: [{
|
|
451
451
|
providedIn: 'root'
|
|
@@ -74,9 +74,9 @@ export class PlanetApplicationService {
|
|
|
74
74
|
return this.apps;
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
|
-
PlanetApplicationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
78
|
-
PlanetApplicationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
79
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
77
|
+
PlanetApplicationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: PlanetApplicationService, deps: [{ token: i1.HttpClient }, { token: i2.AssetsLoader }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
78
|
+
PlanetApplicationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: PlanetApplicationService, providedIn: 'root' });
|
|
79
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: PlanetApplicationService, decorators: [{
|
|
80
80
|
type: Injectable,
|
|
81
81
|
args: [{
|
|
82
82
|
providedIn: 'root'
|
|
@@ -205,9 +205,9 @@ export class AssetsLoader {
|
|
|
205
205
|
}));
|
|
206
206
|
}
|
|
207
207
|
}
|
|
208
|
-
AssetsLoader.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
209
|
-
AssetsLoader.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
210
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
208
|
+
AssetsLoader.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: AssetsLoader, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
209
|
+
AssetsLoader.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: AssetsLoader, providedIn: 'root' });
|
|
210
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: AssetsLoader, decorators: [{
|
|
211
211
|
type: Injectable,
|
|
212
212
|
args: [{
|
|
213
213
|
providedIn: 'root'
|
|
@@ -139,9 +139,9 @@ export class PlanetComponentLoader {
|
|
|
139
139
|
return result;
|
|
140
140
|
}
|
|
141
141
|
}
|
|
142
|
-
PlanetComponentLoader.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
143
|
-
PlanetComponentLoader.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
144
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
142
|
+
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 });
|
|
143
|
+
PlanetComponentLoader.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: PlanetComponentLoader, providedIn: 'root' });
|
|
144
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: PlanetComponentLoader, decorators: [{
|
|
145
145
|
type: Injectable,
|
|
146
146
|
args: [{
|
|
147
147
|
providedIn: 'root'
|
|
@@ -2,9 +2,9 @@ import { Component } from '@angular/core';
|
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export class EmptyComponent {
|
|
4
4
|
}
|
|
5
|
-
EmptyComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6
|
-
EmptyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
7
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5
|
+
EmptyComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: EmptyComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
6
|
+
EmptyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.2", type: EmptyComponent, selector: "empty-component", ngImport: i0, template: ``, isInline: true });
|
|
7
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: EmptyComponent, decorators: [{
|
|
8
8
|
type: Component,
|
|
9
9
|
args: [{
|
|
10
10
|
// eslint-disable-next-line @angular-eslint/component-selector
|
|
@@ -59,9 +59,9 @@ export class GlobalEventDispatcher {
|
|
|
59
59
|
return this.subscriptionCount;
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
|
-
GlobalEventDispatcher.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
63
|
-
GlobalEventDispatcher.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
64
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
62
|
+
GlobalEventDispatcher.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: GlobalEventDispatcher, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
63
|
+
GlobalEventDispatcher.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: GlobalEventDispatcher, providedIn: 'root' });
|
|
64
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: GlobalEventDispatcher, decorators: [{
|
|
65
65
|
type: Injectable,
|
|
66
66
|
args: [{
|
|
67
67
|
providedIn: 'root'
|
package/esm2020/module.mjs
CHANGED
|
@@ -16,10 +16,10 @@ export class NgxPlanetModule {
|
|
|
16
16
|
};
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
|
-
NgxPlanetModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
20
|
-
NgxPlanetModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
21
|
-
NgxPlanetModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
22
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
19
|
+
NgxPlanetModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: NgxPlanetModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
20
|
+
NgxPlanetModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.1.2", ngImport: i0, type: NgxPlanetModule, declarations: [EmptyComponent], imports: [HttpClientModule], exports: [HttpClientModule, EmptyComponent] });
|
|
21
|
+
NgxPlanetModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: NgxPlanetModule, imports: [HttpClientModule, HttpClientModule] });
|
|
22
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: NgxPlanetModule, decorators: [{
|
|
23
23
|
type: NgModule,
|
|
24
24
|
args: [{
|
|
25
25
|
declarations: [EmptyComponent],
|
|
@@ -28,4 +28,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImpor
|
|
|
28
28
|
exports: [HttpClientModule, EmptyComponent]
|
|
29
29
|
}]
|
|
30
30
|
}] });
|
|
31
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
31
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vcGFja2FnZXMvcGxhbmV0L3NyYy9tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFFBQVEsRUFBdUIsTUFBTSxlQUFlLENBQUM7QUFDOUQsT0FBTyxFQUFxQixtQkFBbUIsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBQ3hFLE9BQU8sRUFBRSxnQkFBZ0IsRUFBRSxNQUFNLHNCQUFzQixDQUFDO0FBQ3hELE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSx5QkFBeUIsQ0FBQzs7QUFRekQsTUFBTSxPQUFPLGVBQWU7SUFDeEIsTUFBTSxDQUFDLE9BQU8sQ0FBQyxJQUF5QjtRQUNwQyxPQUFPO1lBQ0gsUUFBUSxFQUFFLGVBQWU7WUFDekIsU0FBUyxFQUFFO2dCQUNQO29CQUNJLE9BQU8sRUFBRSxtQkFBbUI7b0JBQzVCLFFBQVEsRUFBRSxJQUFJO2lCQUNqQjthQUNKO1NBQ0osQ0FBQztJQUNOLENBQUM7OzRHQVhRLGVBQWU7NkdBQWYsZUFBZSxpQkFMVCxjQUFjLGFBQ25CLGdCQUFnQixhQUVoQixnQkFBZ0IsRUFBRSxjQUFjOzZHQUVqQyxlQUFlLFlBSmQsZ0JBQWdCLEVBRWhCLGdCQUFnQjsyRkFFakIsZUFBZTtrQkFOM0IsUUFBUTttQkFBQztvQkFDTixZQUFZLEVBQUUsQ0FBQyxjQUFjLENBQUM7b0JBQzlCLE9BQU8sRUFBRSxDQUFDLGdCQUFnQixDQUFDO29CQUMzQixTQUFTLEVBQUUsRUFBRTtvQkFDYixPQUFPLEVBQUUsQ0FBQyxnQkFBZ0IsRUFBRSxjQUFjLENBQUM7aUJBQzlDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgTmdNb2R1bGUsIE1vZHVsZVdpdGhQcm92aWRlcnMgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcbmltcG9ydCB7IFBsYW5ldEFwcGxpY2F0aW9uLCBQTEFORVRfQVBQTElDQVRJT05TIH0gZnJvbSAnLi9wbGFuZXQuY2xhc3MnO1xuaW1wb3J0IHsgSHR0cENsaWVudE1vZHVsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvbW1vbi9odHRwJztcbmltcG9ydCB7IEVtcHR5Q29tcG9uZW50IH0gZnJvbSAnLi9lbXB0eS9lbXB0eS5jb21wb25lbnQnO1xuXG5ATmdNb2R1bGUoe1xuICAgIGRlY2xhcmF0aW9uczogW0VtcHR5Q29tcG9uZW50XSxcbiAgICBpbXBvcnRzOiBbSHR0cENsaWVudE1vZHVsZV0sXG4gICAgcHJvdmlkZXJzOiBbXSxcbiAgICBleHBvcnRzOiBbSHR0cENsaWVudE1vZHVsZSwgRW1wdHlDb21wb25lbnRdXG59KVxuZXhwb3J0IGNsYXNzIE5neFBsYW5ldE1vZHVsZSB7XG4gICAgc3RhdGljIGZvclJvb3QoYXBwczogUGxhbmV0QXBwbGljYXRpb25bXSk6IE1vZHVsZVdpdGhQcm92aWRlcnM8Tmd4UGxhbmV0TW9kdWxlPiB7XG4gICAgICAgIHJldHVybiB7XG4gICAgICAgICAgICBuZ01vZHVsZTogTmd4UGxhbmV0TW9kdWxlLFxuICAgICAgICAgICAgcHJvdmlkZXJzOiBbXG4gICAgICAgICAgICAgICAge1xuICAgICAgICAgICAgICAgICAgICBwcm92aWRlOiBQTEFORVRfQVBQTElDQVRJT05TLFxuICAgICAgICAgICAgICAgICAgICB1c2VWYWx1ZTogYXBwc1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIF1cbiAgICAgICAgfTtcbiAgICB9XG59XG4iXX0=
|
package/esm2020/planet.mjs
CHANGED
|
@@ -75,9 +75,9 @@ export class Planet {
|
|
|
75
75
|
this.subscription?.unsubscribe();
|
|
76
76
|
}
|
|
77
77
|
}
|
|
78
|
-
Planet.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
79
|
-
Planet.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
80
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
78
|
+
Planet.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: Planet, deps: [{ token: i0.Injector }, { token: i1.Router }, { token: PLANET_APPLICATIONS, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
79
|
+
Planet.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: Planet, providedIn: 'root' });
|
|
80
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: Planet, decorators: [{
|
|
81
81
|
type: Injectable,
|
|
82
82
|
args: [{
|
|
83
83
|
providedIn: 'root'
|
|
@@ -1124,9 +1124,9 @@ class AssetsLoader {
|
|
|
1124
1124
|
}));
|
|
1125
1125
|
}
|
|
1126
1126
|
}
|
|
1127
|
-
AssetsLoader.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1128
|
-
AssetsLoader.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1129
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1127
|
+
AssetsLoader.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: AssetsLoader, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1128
|
+
AssetsLoader.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: AssetsLoader, providedIn: 'root' });
|
|
1129
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: AssetsLoader, decorators: [{
|
|
1130
1130
|
type: Injectable,
|
|
1131
1131
|
args: [{
|
|
1132
1132
|
providedIn: 'root'
|
|
@@ -1200,9 +1200,9 @@ class PlanetApplicationService {
|
|
|
1200
1200
|
return this.apps;
|
|
1201
1201
|
}
|
|
1202
1202
|
}
|
|
1203
|
-
PlanetApplicationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1204
|
-
PlanetApplicationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1205
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1203
|
+
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 });
|
|
1204
|
+
PlanetApplicationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: PlanetApplicationService, providedIn: 'root' });
|
|
1205
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: PlanetApplicationService, decorators: [{
|
|
1206
1206
|
type: Injectable,
|
|
1207
1207
|
args: [{
|
|
1208
1208
|
providedIn: 'root'
|
|
@@ -1282,9 +1282,9 @@ class GlobalEventDispatcher {
|
|
|
1282
1282
|
return this.subscriptionCount;
|
|
1283
1283
|
}
|
|
1284
1284
|
}
|
|
1285
|
-
GlobalEventDispatcher.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1286
|
-
GlobalEventDispatcher.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1287
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1285
|
+
GlobalEventDispatcher.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: GlobalEventDispatcher, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1286
|
+
GlobalEventDispatcher.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: GlobalEventDispatcher, providedIn: 'root' });
|
|
1287
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: GlobalEventDispatcher, decorators: [{
|
|
1288
1288
|
type: Injectable,
|
|
1289
1289
|
args: [{
|
|
1290
1290
|
providedIn: 'root'
|
|
@@ -1749,9 +1749,9 @@ class PlanetApplicationLoader {
|
|
|
1749
1749
|
return this.preloadInternal(app, immediate);
|
|
1750
1750
|
}
|
|
1751
1751
|
}
|
|
1752
|
-
PlanetApplicationLoader.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1753
|
-
PlanetApplicationLoader.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1754
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1752
|
+
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 });
|
|
1753
|
+
PlanetApplicationLoader.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: PlanetApplicationLoader, providedIn: 'root' });
|
|
1754
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: PlanetApplicationLoader, decorators: [{
|
|
1755
1755
|
type: Injectable,
|
|
1756
1756
|
args: [{
|
|
1757
1757
|
providedIn: 'root'
|
|
@@ -1826,9 +1826,9 @@ class Planet {
|
|
|
1826
1826
|
(_a = this.subscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();
|
|
1827
1827
|
}
|
|
1828
1828
|
}
|
|
1829
|
-
Planet.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1830
|
-
Planet.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1831
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1829
|
+
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 });
|
|
1830
|
+
Planet.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: Planet, providedIn: 'root' });
|
|
1831
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: Planet, decorators: [{
|
|
1832
1832
|
type: Injectable,
|
|
1833
1833
|
args: [{
|
|
1834
1834
|
providedIn: 'root'
|
|
@@ -1844,9 +1844,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImpor
|
|
|
1844
1844
|
|
|
1845
1845
|
class EmptyComponent {
|
|
1846
1846
|
}
|
|
1847
|
-
EmptyComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1848
|
-
EmptyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
1849
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1847
|
+
EmptyComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: EmptyComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1848
|
+
EmptyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.2", type: EmptyComponent, selector: "empty-component", ngImport: i0, template: ``, isInline: true });
|
|
1849
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: EmptyComponent, decorators: [{
|
|
1850
1850
|
type: Component,
|
|
1851
1851
|
args: [{
|
|
1852
1852
|
// eslint-disable-next-line @angular-eslint/component-selector
|
|
@@ -1868,10 +1868,10 @@ class NgxPlanetModule {
|
|
|
1868
1868
|
};
|
|
1869
1869
|
}
|
|
1870
1870
|
}
|
|
1871
|
-
NgxPlanetModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1872
|
-
NgxPlanetModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
1873
|
-
NgxPlanetModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
1874
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1871
|
+
NgxPlanetModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: NgxPlanetModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1872
|
+
NgxPlanetModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.1.2", ngImport: i0, type: NgxPlanetModule, declarations: [EmptyComponent], imports: [HttpClientModule], exports: [HttpClientModule, EmptyComponent] });
|
|
1873
|
+
NgxPlanetModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: NgxPlanetModule, imports: [HttpClientModule, HttpClientModule] });
|
|
1874
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: NgxPlanetModule, decorators: [{
|
|
1875
1875
|
type: NgModule,
|
|
1876
1876
|
args: [{
|
|
1877
1877
|
declarations: [EmptyComponent],
|
|
@@ -2016,9 +2016,9 @@ class PlanetComponentLoader {
|
|
|
2016
2016
|
return result;
|
|
2017
2017
|
}
|
|
2018
2018
|
}
|
|
2019
|
-
PlanetComponentLoader.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2020
|
-
PlanetComponentLoader.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2021
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2019
|
+
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 });
|
|
2020
|
+
PlanetComponentLoader.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: PlanetComponentLoader, providedIn: 'root' });
|
|
2021
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: PlanetComponentLoader, decorators: [{
|
|
2022
2022
|
type: Injectable,
|
|
2023
2023
|
args: [{
|
|
2024
2024
|
providedIn: 'root'
|