sample-cross-fx 0.15.2-beta.4923 → 0.15.2-beta.4938
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.208565.js → index.284377.js} +85 -37
- package/app/{index.208565.js.map → index.284377.js.map} +1 -1
- package/app/index.d.ts +7 -1
- 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 +6 -6
package/app/index.d.ts
CHANGED
|
@@ -820,7 +820,7 @@ export interface BlazorComponent {
|
|
|
820
820
|
* An optional dependency that needs to load before
|
|
821
821
|
* the component can be properly displayed.
|
|
822
822
|
*/
|
|
823
|
-
dependency
|
|
823
|
+
dependency?: BlazorDependencyLoader;
|
|
824
824
|
/**
|
|
825
825
|
* The type of the Blazor component.
|
|
826
826
|
*/
|
|
@@ -1060,6 +1060,10 @@ export type SvelteComponentInstance<TProps> = TProps & {
|
|
|
1060
1060
|
$destroy(): void;
|
|
1061
1061
|
};
|
|
1062
1062
|
|
|
1063
|
+
export interface BlazorDependencyLoader {
|
|
1064
|
+
(config: BlazorRootConfig): Promise<void>;
|
|
1065
|
+
}
|
|
1066
|
+
|
|
1063
1067
|
export interface BareTileComponentProps {
|
|
1064
1068
|
/**
|
|
1065
1069
|
* The currently used number of columns.
|
|
@@ -1160,6 +1164,8 @@ export interface ExtensionRegistration extends BaseRegistration {
|
|
|
1160
1164
|
defaults: any;
|
|
1161
1165
|
}
|
|
1162
1166
|
|
|
1167
|
+
export type BlazorRootConfig = [root: HTMLDivElement, capabilities: Array<string>];
|
|
1168
|
+
|
|
1163
1169
|
/**
|
|
1164
1170
|
* The context to be transported into the generic components.
|
|
1165
1171
|
*/
|
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.284377.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.284377.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.2-beta.
|
|
4
|
+
"version": "0.15.2-beta.4938",
|
|
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.2-beta.
|
|
53
|
+
"version": "0.15.2-beta.4938",
|
|
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.2-beta.
|
|
68
|
-
"piral-cli-webpack5": "^0.15.2-beta.
|
|
67
|
+
"piral-cli": "^0.15.2-beta.4938",
|
|
68
|
+
"piral-cli-webpack5": "^0.15.2-beta.4938",
|
|
69
69
|
"sass": "^1.17.0",
|
|
70
70
|
"vue-template-compiler": "^2.6.10",
|
|
71
71
|
"@angular/common": "14.1.3",
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
"lit-element": "2.5.1",
|
|
90
90
|
"mithril": "2.2.2",
|
|
91
91
|
"piral-aurelia": "^0.15.1",
|
|
92
|
-
"piral-blazor": "^0.15.2-beta.
|
|
92
|
+
"piral-blazor": "^0.15.2-beta.4938",
|
|
93
93
|
"piral-core": "^0.15.1",
|
|
94
94
|
"piral-elm": "^0.15.1",
|
|
95
95
|
"piral-hyperapp": "^0.15.1",
|
|
@@ -97,7 +97,7 @@
|
|
|
97
97
|
"piral-lazy": "^0.15.1",
|
|
98
98
|
"piral-litel": "^0.15.1",
|
|
99
99
|
"piral-mithril": "^0.15.1",
|
|
100
|
-
"piral-ng": "^0.15.2-beta.
|
|
100
|
+
"piral-ng": "^0.15.2-beta.4938",
|
|
101
101
|
"piral-ngjs": "^0.15.1",
|
|
102
102
|
"piral-preact": "^0.15.1",
|
|
103
103
|
"piral-riot": "^0.15.1",
|