sample-cross-fx 0.15.0-beta.4815 → 0.15.0-beta.4816
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/app/{index.2f5618.js → index.0da069.js} +4 -4
- package/app/{index.2f5618.js.map → index.0da069.js.map} +1 -1
- package/app/index.d.ts +13 -3
- package/app/index.html +1 -1
- package/app/index.js +1 -1
- package/files.tar +0 -0
- package/files_once.tar +0 -0
- package/package.json +20 -20
package/app/index.d.ts
CHANGED
|
@@ -610,9 +610,7 @@ export interface NgModuleDefiner {
|
|
|
610
610
|
* @param opts The options to pass when bootstrapping.
|
|
611
611
|
* @returns The module ID to be used to reference components.
|
|
612
612
|
*/
|
|
613
|
-
<T>(getModule:
|
|
614
|
-
default: AngularCore.Type<T>;
|
|
615
|
-
}>, opts?: NgOptions): NgComponentLoader;
|
|
613
|
+
<T>(getModule: LazyType<T>, opts?: NgOptions): NgComponentLoader;
|
|
616
614
|
}
|
|
617
615
|
|
|
618
616
|
export interface NgComponent {
|
|
@@ -993,6 +991,18 @@ export interface BaseExtensionSlotProps<TName, TParams> {
|
|
|
993
991
|
*/
|
|
994
992
|
export type NgOptions = Parameters<AngularCore.PlatformRef["bootstrapModule"]>[1];
|
|
995
993
|
|
|
994
|
+
/**
|
|
995
|
+
* The lazy loading interface for retrieving Angular components.
|
|
996
|
+
*/
|
|
997
|
+
export interface LazyType<T> {
|
|
998
|
+
/**
|
|
999
|
+
* Callback to be invoked for lazy loading an Angular module or component.
|
|
1000
|
+
*/
|
|
1001
|
+
(): Promise<{
|
|
1002
|
+
default: AngularCore.Type<T>;
|
|
1003
|
+
}>;
|
|
1004
|
+
}
|
|
1005
|
+
|
|
996
1006
|
/**
|
|
997
1007
|
* Gives you the ability to use a component from a lazy loaded module.
|
|
998
1008
|
*/
|
package/app/index.html
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
<title>Sample - Cross Framework with Piral</title>
|
|
6
6
|
<link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet">
|
|
7
7
|
|
|
8
|
-
<script defer src="/index.
|
|
8
|
+
<script defer src="/index.0da069.js"></script></head>
|
|
9
9
|
<body>
|
|
10
10
|
<div id="app"></div>
|
|
11
11
|
|
package/app/index.js
CHANGED
|
@@ -2,7 +2,7 @@ if (process.env.NODE_ENV === 'test') {
|
|
|
2
2
|
// behavior for the test environment, we'll try to make it work
|
|
3
3
|
|
|
4
4
|
if (typeof window !== 'undefined') {
|
|
5
|
-
require('.//index.
|
|
5
|
+
require('.//index.0da069.js');
|
|
6
6
|
const ctx = window['dbg:piral'];
|
|
7
7
|
const dependencies = (ctx && ctx.pilets && ctx.pilets.getDependencies({})) || {};
|
|
8
8
|
module.exports = dependencies['sample-cross-fx'] || {};
|
package/files.tar
CHANGED
|
Binary file
|
package/files_once.tar
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sample-cross-fx",
|
|
3
3
|
"description": "Example project illustrating the mixing of different (opt-in) frameworks via plugins.",
|
|
4
|
-
"version": "0.15.0-beta.
|
|
4
|
+
"version": "0.15.0-beta.4816",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://piral.io",
|
|
7
7
|
"keywords": [
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"files": []
|
|
51
51
|
},
|
|
52
52
|
"piralCLI": {
|
|
53
|
-
"version": "0.15.0-beta.
|
|
53
|
+
"version": "0.15.0-beta.4816",
|
|
54
54
|
"generated": true
|
|
55
55
|
},
|
|
56
56
|
"main": "./app/index.js",
|
|
@@ -64,8 +64,8 @@
|
|
|
64
64
|
"@types/react-router": "^5.1.8",
|
|
65
65
|
"@types/react-router-dom": "^5.1.6",
|
|
66
66
|
"@vue/component-compiler-utils": "^3.0.0",
|
|
67
|
-
"piral-cli": "^0.15.0-beta.
|
|
68
|
-
"piral-cli-webpack5": "^0.15.0-beta.
|
|
67
|
+
"piral-cli": "^0.15.0-beta.4816",
|
|
68
|
+
"piral-cli-webpack5": "^0.15.0-beta.4816",
|
|
69
69
|
"sass": "^1.17.0",
|
|
70
70
|
"vue-template-compiler": "^2.6.10",
|
|
71
71
|
"@angular/common": "14.1.3",
|
|
@@ -88,22 +88,22 @@
|
|
|
88
88
|
"inferno-create-element": "7.4.11",
|
|
89
89
|
"lit-element": "2.5.1",
|
|
90
90
|
"mithril": "2.2.2",
|
|
91
|
-
"piral-aurelia": "^0.15.0-beta.
|
|
92
|
-
"piral-blazor": "^0.15.0-beta.
|
|
93
|
-
"piral-core": "^0.15.0-beta.
|
|
94
|
-
"piral-elm": "^0.15.0-beta.
|
|
95
|
-
"piral-hyperapp": "^0.15.0-beta.
|
|
96
|
-
"piral-inferno": "^0.15.0-beta.
|
|
97
|
-
"piral-lazy": "^0.15.0-beta.
|
|
98
|
-
"piral-litel": "^0.15.0-beta.
|
|
99
|
-
"piral-mithril": "^0.15.0-beta.
|
|
100
|
-
"piral-ng": "^0.15.0-beta.
|
|
101
|
-
"piral-ngjs": "^0.15.0-beta.
|
|
102
|
-
"piral-preact": "^0.15.0-beta.
|
|
103
|
-
"piral-riot": "^0.15.0-beta.
|
|
104
|
-
"piral-solid": "^0.15.0-beta.
|
|
105
|
-
"piral-svelte": "^0.15.0-beta.
|
|
106
|
-
"piral-vue": "^0.15.0-beta.
|
|
91
|
+
"piral-aurelia": "^0.15.0-beta.4816",
|
|
92
|
+
"piral-blazor": "^0.15.0-beta.4816",
|
|
93
|
+
"piral-core": "^0.15.0-beta.4816",
|
|
94
|
+
"piral-elm": "^0.15.0-beta.4816",
|
|
95
|
+
"piral-hyperapp": "^0.15.0-beta.4816",
|
|
96
|
+
"piral-inferno": "^0.15.0-beta.4816",
|
|
97
|
+
"piral-lazy": "^0.15.0-beta.4816",
|
|
98
|
+
"piral-litel": "^0.15.0-beta.4816",
|
|
99
|
+
"piral-mithril": "^0.15.0-beta.4816",
|
|
100
|
+
"piral-ng": "^0.15.0-beta.4816",
|
|
101
|
+
"piral-ngjs": "^0.15.0-beta.4816",
|
|
102
|
+
"piral-preact": "^0.15.0-beta.4816",
|
|
103
|
+
"piral-riot": "^0.15.0-beta.4816",
|
|
104
|
+
"piral-solid": "^0.15.0-beta.4816",
|
|
105
|
+
"piral-svelte": "^0.15.0-beta.4816",
|
|
106
|
+
"piral-vue": "^0.15.0-beta.4816",
|
|
107
107
|
"preact": "10.8.2",
|
|
108
108
|
"react": "18.2.0",
|
|
109
109
|
"react-dom": "18.2.0",
|