sample-piral 0.15.11 → 0.15.12-beta.5528
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.f91206.js → index.888a56.js} +816 -1638
- package/app/index.888a56.js.map +1 -0
- package/app/index.d.ts +1 -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 +8 -8
- package/app/index.f91206.js.map +0 -1
package/app/index.d.ts
CHANGED
|
@@ -190,7 +190,7 @@ export interface PiletLocaleApi {
|
|
|
190
190
|
* @param tag The tag to translate.
|
|
191
191
|
* @param variables The optional variables to fill into the temnplate.
|
|
192
192
|
*/
|
|
193
|
-
translate<T = Record<string, string>>(tag: string, variables?: T): string;
|
|
193
|
+
translate<T extends object = Record<string, string>>(tag: string, variables?: T): string;
|
|
194
194
|
/**
|
|
195
195
|
* Provides translations to the application.
|
|
196
196
|
* The translations will be exclusively used for retrieving translations for the pilet.
|
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.888a56.js"></script></head>
|
|
9
9
|
<body>
|
|
10
10
|
<div id="app">
|
|
11
11
|
<div class="pi-center">
|
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.888a56.js');
|
|
6
6
|
const ctx = window['dbg:piral'];
|
|
7
7
|
const dependencies = (ctx && ctx.pilets && ctx.pilets.getDependencies({})) || {};
|
|
8
8
|
module.exports = dependencies['sample-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": "sample-piral",
|
|
3
3
|
"description": "Example project illustrating the use of the piral and piral-cli packages.",
|
|
4
|
-
"version": "0.15.
|
|
4
|
+
"version": "0.15.12-beta.5528",
|
|
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": "0.15.
|
|
34
|
+
"version": "0.15.12-beta.5528",
|
|
35
35
|
"generated": true
|
|
36
36
|
},
|
|
37
37
|
"main": "./app/index.js",
|
|
@@ -43,14 +43,14 @@
|
|
|
43
43
|
"@types/react-dom": "^18.0.0",
|
|
44
44
|
"@types/react-router": "^5.1.8",
|
|
45
45
|
"@types/react-router-dom": "^5.1.6",
|
|
46
|
-
"piral-cli": "^0.15.
|
|
47
|
-
"piral-cli-webpack5": "^0.15.
|
|
46
|
+
"piral-cli": "^0.15.12-beta.5528",
|
|
47
|
+
"piral-cli-webpack5": "^0.15.12-beta.5528",
|
|
48
48
|
"sass": "^1.17.0",
|
|
49
49
|
"bootstrap": "^4.3.1",
|
|
50
|
-
"piral": "^0.15.
|
|
51
|
-
"piral-auth": "^0.15.
|
|
52
|
-
"piral-hooks-utils": "^0.15.
|
|
53
|
-
"piral-search": "^0.15.
|
|
50
|
+
"piral": "^0.15.12-beta.5528",
|
|
51
|
+
"piral-auth": "^0.15.12-beta.5528",
|
|
52
|
+
"piral-hooks-utils": "^0.15.11",
|
|
53
|
+
"piral-search": "^0.15.12-beta.5528",
|
|
54
54
|
"reactstrap": "8.10.1",
|
|
55
55
|
"tslib": "2.3.1",
|
|
56
56
|
"react": "18.2.0",
|