sample-piral 1.6.0-beta.7193 → 1.6.0-beta.7199
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.ba318a.js → index.5bae88.js} +255 -20
- package/app/index.5bae88.js.map +1 -0
- package/app/index.d.ts +23 -0
- package/app/index.html +1 -1
- package/files.tar +0 -0
- package/files_once.tar +0 -0
- package/package.json +8 -8
- package/app/index.ba318a.js.map +0 -1
package/app/index.d.ts
CHANGED
|
@@ -169,6 +169,7 @@ export interface PiralEventMap extends PiralCustomEventMap {
|
|
|
169
169
|
"unload-pilet": PiralUnloadPiletEvent;
|
|
170
170
|
[custom: string]: any;
|
|
171
171
|
"store-data": PiralStoreDataEvent;
|
|
172
|
+
"unhandled-error": PiralUnhandledErrorEvent;
|
|
172
173
|
}
|
|
173
174
|
|
|
174
175
|
export interface PiletLocaleApi {
|
|
@@ -450,6 +451,28 @@ export interface PiralStoreDataEvent<TValue = any> {
|
|
|
450
451
|
expires: number;
|
|
451
452
|
}
|
|
452
453
|
|
|
454
|
+
/**
|
|
455
|
+
* Gets fired when an unhandled error in a component has been prevented.
|
|
456
|
+
*/
|
|
457
|
+
export interface PiralUnhandledErrorEvent {
|
|
458
|
+
/**
|
|
459
|
+
* The container showing the error / containing the component.
|
|
460
|
+
*/
|
|
461
|
+
container: any;
|
|
462
|
+
/**
|
|
463
|
+
* The type of the error, i.e., the type of component that crashed.
|
|
464
|
+
*/
|
|
465
|
+
errorType: string;
|
|
466
|
+
/**
|
|
467
|
+
* The actual error that was emitted.
|
|
468
|
+
*/
|
|
469
|
+
error: Error;
|
|
470
|
+
/**
|
|
471
|
+
* The name of the pilet containing the problematic component.
|
|
472
|
+
*/
|
|
473
|
+
pilet: string;
|
|
474
|
+
}
|
|
475
|
+
|
|
453
476
|
export type AnyLocalizationMessages = LocalizationMessages | NestedLocalizationMessages;
|
|
454
477
|
|
|
455
478
|
export interface LocalizationMessages {
|
package/app/index.html
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
<title>Piral Sample</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.5bae88.js"></script></head>
|
|
9
9
|
<body>
|
|
10
10
|
<div id="app">
|
|
11
11
|
<div class="pi-center">
|
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-piral",
|
|
3
3
|
"description": "Example project illustrating the use of the piral and piral-cli packages.",
|
|
4
|
-
"version": "1.6.0-beta.
|
|
4
|
+
"version": "1.6.0-beta.7199",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://piral.io",
|
|
7
7
|
"keywords": [
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"files": []
|
|
32
32
|
},
|
|
33
33
|
"piralCLI": {
|
|
34
|
-
"version": "1.6.0-beta.
|
|
34
|
+
"version": "1.6.0-beta.7199",
|
|
35
35
|
"generated": true
|
|
36
36
|
},
|
|
37
37
|
"main": "./app/index.js",
|
|
@@ -44,14 +44,14 @@
|
|
|
44
44
|
"@types/react-dom": "^18.0.0",
|
|
45
45
|
"@types/react-router": "^5.1.8",
|
|
46
46
|
"@types/react-router-dom": "^5.1.6",
|
|
47
|
-
"piral-cli": "^1.6.0-beta.
|
|
48
|
-
"piral-cli-webpack5": "^1.6.0-beta.
|
|
47
|
+
"piral-cli": "^1.6.0-beta.7199",
|
|
48
|
+
"piral-cli-webpack5": "^1.6.0-beta.7199",
|
|
49
49
|
"sass": "^1.17.0",
|
|
50
50
|
"bootstrap": "^4.3.1",
|
|
51
|
-
"piral": "^1.6.0-beta.
|
|
52
|
-
"piral-auth": "^1.6.0-beta.
|
|
53
|
-
"piral-hooks-utils": "^1.6.0-beta.
|
|
54
|
-
"piral-search": "^1.6.0-beta.
|
|
51
|
+
"piral": "^1.6.0-beta.7199",
|
|
52
|
+
"piral-auth": "^1.6.0-beta.7199",
|
|
53
|
+
"piral-hooks-utils": "^1.6.0-beta.7199",
|
|
54
|
+
"piral-search": "^1.6.0-beta.7199",
|
|
55
55
|
"reactstrap": "8.10.1",
|
|
56
56
|
"tslib": "2.5.2",
|
|
57
57
|
"react": "18.2.0",
|