minimal-piral 0.15.0-beta.4725 → 0.15.0-beta.4751
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.e80eb6.js → index.a2c779.js} +19 -15
- package/app/index.a2c779.js.map +1 -0
- 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 +5 -5
- package/app/index.e80eb6.js.map +0 -1
package/app/index.d.ts
CHANGED
|
@@ -463,7 +463,18 @@ export interface ExtensionRegistration extends BaseRegistration {
|
|
|
463
463
|
* The context to be transported into the generic components.
|
|
464
464
|
*/
|
|
465
465
|
export interface ComponentContext {
|
|
466
|
+
/**
|
|
467
|
+
* The router-independent navigation API.
|
|
468
|
+
*/
|
|
466
469
|
navigation: NavigationApi;
|
|
470
|
+
/**
|
|
471
|
+
* The internal router object.
|
|
472
|
+
* @deprecated Exposes internals that can change at any time.
|
|
473
|
+
*/
|
|
474
|
+
router: any;
|
|
475
|
+
/**
|
|
476
|
+
* The public path of the application.
|
|
477
|
+
*/
|
|
467
478
|
publicPath: string;
|
|
468
479
|
}
|
|
469
480
|
|
|
@@ -509,11 +520,12 @@ export interface NavigationApi {
|
|
|
509
520
|
*/
|
|
510
521
|
listen(listener: NavigationListener): Disposable;
|
|
511
522
|
/**
|
|
512
|
-
* Gets the current path.
|
|
523
|
+
* Gets the current navigation / application path.
|
|
513
524
|
*/
|
|
514
525
|
path: string;
|
|
515
526
|
/**
|
|
516
|
-
* The original router behind the navigation.
|
|
527
|
+
* The original router behind the navigation. Don't depend on this
|
|
528
|
+
* as the implementation is router specific and may change over time.
|
|
517
529
|
*/
|
|
518
530
|
router: any;
|
|
519
531
|
}
|
package/app/index.html
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
4
4
|
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
|
5
5
|
<title>Minimal Piral Sample</title>
|
|
6
|
-
<script defer src="/index.
|
|
6
|
+
<script defer src="/index.a2c779.js"></script></head>
|
|
7
7
|
<body>
|
|
8
8
|
<div id="app"></div>
|
|
9
9
|
|
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.a2c779.js');
|
|
6
6
|
const ctx = window['dbg:piral'];
|
|
7
7
|
const dependencies = (ctx && ctx.pilets && ctx.pilets.getDependencies({})) || {};
|
|
8
8
|
module.exports = dependencies['minimal-piral'] || {};
|
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": "minimal-piral",
|
|
3
3
|
"description": "Example project illustrating the exposure of a minimal Pilet API.",
|
|
4
|
-
"version": "0.15.0-beta.
|
|
4
|
+
"version": "0.15.0-beta.4751",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://piral.io",
|
|
7
7
|
"keywords": [
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"files": []
|
|
29
29
|
},
|
|
30
30
|
"piralCLI": {
|
|
31
|
-
"version": "0.
|
|
31
|
+
"version": "0.15.0-beta.4751",
|
|
32
32
|
"generated": true
|
|
33
33
|
},
|
|
34
34
|
"main": "./app/index.js",
|
|
@@ -40,9 +40,9 @@
|
|
|
40
40
|
"@types/react-dom": "^18.0.0",
|
|
41
41
|
"@types/react-router": "^5.1.8",
|
|
42
42
|
"@types/react-router-dom": "^5.1.6",
|
|
43
|
-
"piral-cli": "^0.
|
|
44
|
-
"piral-cli-webpack5": "^0.
|
|
45
|
-
"piral-core": "^0.
|
|
43
|
+
"piral-cli": "^0.15.0-beta.4751",
|
|
44
|
+
"piral-cli-webpack5": "^0.15.0-beta.4751",
|
|
45
|
+
"piral-core": "^0.15.0-beta.4751",
|
|
46
46
|
"react": "18.2.0",
|
|
47
47
|
"react-dom": "18.2.0",
|
|
48
48
|
"react-router": "5.3.3",
|