sample-cross-fx 0.15.0-beta.4725 → 0.15.0-beta.4739
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.ddf0b1.js → index.b073ef.js} +5307 -43
- package/app/{index.ddf0b1.js.map → index.b073ef.js.map} +1 -1
- package/app/index.d.ts +14 -2
- 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 +1 -1
package/app/index.d.ts
CHANGED
|
@@ -1107,7 +1107,18 @@ export interface ExtensionRegistration extends BaseRegistration {
|
|
|
1107
1107
|
* The context to be transported into the generic components.
|
|
1108
1108
|
*/
|
|
1109
1109
|
export interface ComponentContext {
|
|
1110
|
+
/**
|
|
1111
|
+
* The router-independent navigation API.
|
|
1112
|
+
*/
|
|
1110
1113
|
navigation: NavigationApi;
|
|
1114
|
+
/**
|
|
1115
|
+
* The internal router object.
|
|
1116
|
+
* @deprecated Exposes internals that can change at any time.
|
|
1117
|
+
*/
|
|
1118
|
+
router: any;
|
|
1119
|
+
/**
|
|
1120
|
+
* The public path of the application.
|
|
1121
|
+
*/
|
|
1111
1122
|
publicPath: string;
|
|
1112
1123
|
}
|
|
1113
1124
|
|
|
@@ -1153,11 +1164,12 @@ export interface NavigationApi {
|
|
|
1153
1164
|
*/
|
|
1154
1165
|
listen(listener: NavigationListener): Disposable;
|
|
1155
1166
|
/**
|
|
1156
|
-
* Gets the current path.
|
|
1167
|
+
* Gets the current navigation / application path.
|
|
1157
1168
|
*/
|
|
1158
1169
|
path: string;
|
|
1159
1170
|
/**
|
|
1160
|
-
* The original router behind the navigation.
|
|
1171
|
+
* The original router behind the navigation. Don't depend on this
|
|
1172
|
+
* as the implementation is router specific and may change over time.
|
|
1161
1173
|
*/
|
|
1162
1174
|
router: any;
|
|
1163
1175
|
}
|
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.b073ef.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.b073ef.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.4739",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://piral.io",
|
|
7
7
|
"keywords": [
|