sample-cross-fx 0.14.16 → 0.14.17-beta.3882
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.ce240f.js → index.4b132c.js} +232 -244
- package/app/{index.ce240f.js.map → index.4b132c.js.map} +1 -1
- package/app/index.d.ts +6 -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 +4 -4
package/app/index.d.ts
CHANGED
|
@@ -1159,20 +1159,23 @@ declare module "sample-cross-fx" {
|
|
|
1159
1159
|
* @param element The container hosting the element.
|
|
1160
1160
|
* @param props The props to transport.
|
|
1161
1161
|
* @param ctx The associated context.
|
|
1162
|
+
* @param locals The local state of this component instance.
|
|
1162
1163
|
*/
|
|
1163
|
-
mount(element: HTMLElement, props: TProps, ctx: ComponentContext): void;
|
|
1164
|
+
mount(element: HTMLElement, props: TProps, ctx: ComponentContext, locals: Record<string, any>): void;
|
|
1164
1165
|
/**
|
|
1165
1166
|
* Called when the component should be updated.
|
|
1166
1167
|
* @param element The container hosting the element.
|
|
1167
1168
|
* @param props The props to transport.
|
|
1168
1169
|
* @param ctx The associated context.
|
|
1170
|
+
* @param locals The local state of this component instance.
|
|
1169
1171
|
*/
|
|
1170
|
-
update?(element: HTMLElement, props: TProps, ctx: ComponentContext): void;
|
|
1172
|
+
update?(element: HTMLElement, props: TProps, ctx: ComponentContext, locals: Record<string, any>): void;
|
|
1171
1173
|
/**
|
|
1172
1174
|
* Called when a component is unmounted.
|
|
1173
1175
|
* @param element The container that was hosting the element.
|
|
1176
|
+
* @param locals The local state of this component instance.
|
|
1174
1177
|
*/
|
|
1175
|
-
unmount?(element: HTMLElement): void;
|
|
1178
|
+
unmount?(element: HTMLElement, locals: Record<string, any>): void;
|
|
1176
1179
|
}
|
|
1177
1180
|
|
|
1178
1181
|
/**
|
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.4b132c.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.4b132c.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.14.
|
|
4
|
+
"version": "0.14.17-beta.3882",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://piral.io",
|
|
7
7
|
"keywords": [
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
}
|
|
45
45
|
},
|
|
46
46
|
"piralCLI": {
|
|
47
|
-
"version": "0.14.
|
|
47
|
+
"version": "0.14.16",
|
|
48
48
|
"generated": true
|
|
49
49
|
},
|
|
50
50
|
"main": "./app/index.js",
|
|
@@ -58,8 +58,8 @@
|
|
|
58
58
|
"@types/react-router": "^5.1.8",
|
|
59
59
|
"@types/react-router-dom": "^5.1.6",
|
|
60
60
|
"@vue/component-compiler-utils": "^3.0.0",
|
|
61
|
-
"piral-cli": "^0.14.
|
|
62
|
-
"piral-cli-webpack5": "^0.14.
|
|
61
|
+
"piral-cli": "^0.14.16",
|
|
62
|
+
"piral-cli-webpack5": "^0.14.16",
|
|
63
63
|
"sass": "^1.17.0",
|
|
64
64
|
"vue-template-compiler": "^2.6.10",
|
|
65
65
|
"@angular/common": "8.2.14",
|