@c8y/package-blueprint 1020.40.0 → 1021.0.4
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/package.json +11 -11
- package/src/i18n.ts +1 -1
- package/src/main.ts +5 -6
- /package/{src → public}/favicon.ico +0 -0
package/package.json
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@c8y/package-blueprint",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "1021.0.4",
|
|
4
4
|
"description": "This package is used to scaffold a blueprint package for Cumulocity IoT.",
|
|
5
5
|
"dependencies": {
|
|
6
|
-
"@c8y/style": "
|
|
7
|
-
"@c8y/ngx-components": "
|
|
8
|
-
"@c8y/client": "
|
|
9
|
-
"@c8y/bootstrap": "
|
|
10
|
-
"@angular/cdk": "^
|
|
11
|
-
"ngx-bootstrap": "
|
|
12
|
-
"rxjs": "^7.
|
|
6
|
+
"@c8y/style": "1021.0.4",
|
|
7
|
+
"@c8y/ngx-components": "1021.0.4",
|
|
8
|
+
"@c8y/client": "1021.0.4",
|
|
9
|
+
"@c8y/bootstrap": "1021.0.4",
|
|
10
|
+
"@angular/cdk": "^18.2.10",
|
|
11
|
+
"ngx-bootstrap": "18.0.0",
|
|
12
|
+
"rxjs": "^7.8.1"
|
|
13
13
|
},
|
|
14
14
|
"devDependencies": {
|
|
15
|
-
"@c8y/options": "
|
|
16
|
-
"@c8y/devkit": "
|
|
15
|
+
"@c8y/options": "1021.0.4",
|
|
16
|
+
"@c8y/devkit": "1021.0.4"
|
|
17
17
|
},
|
|
18
18
|
"peerDependencies": {
|
|
19
|
-
"@angular/common": ">=
|
|
19
|
+
"@angular/common": ">=18 <19"
|
|
20
20
|
},
|
|
21
21
|
"author": "Cumulocity GmbH"
|
|
22
22
|
}
|
package/src/i18n.ts
CHANGED
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
*/
|
|
6
6
|
import '@c8y/ngx-components/locales/de.po';
|
|
7
7
|
import '@c8y/ngx-components/locales/en.po';
|
|
8
|
+
import '@c8y/ngx-components/locales/en_US.po';
|
|
8
9
|
import '@c8y/ngx-components/locales/es.po';
|
|
9
10
|
import '@c8y/ngx-components/locales/fr.po';
|
|
10
11
|
import '@c8y/ngx-components/locales/ja_JP.po';
|
|
@@ -12,7 +13,6 @@ import '@c8y/ngx-components/locales/ko.po';
|
|
|
12
13
|
import '@c8y/ngx-components/locales/nl.po';
|
|
13
14
|
import '@c8y/ngx-components/locales/pl.po';
|
|
14
15
|
import '@c8y/ngx-components/locales/pt_BR.po';
|
|
15
|
-
import '@c8y/ngx-components/locales/ru.po';
|
|
16
16
|
import '@c8y/ngx-components/locales/zh_CN.po';
|
|
17
17
|
import '@c8y/ngx-components/locales/zh_TW.po';
|
|
18
18
|
// import './locales/de.po'; // <- adding additional strings to the german translation.
|
package/src/main.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import './i18n';
|
|
2
2
|
import { applyOptions, loadOptions } from '@c8y/bootstrap';
|
|
3
3
|
|
|
4
|
-
const barHolder: HTMLElement = document.querySelector('body > .init-load');
|
|
5
|
-
export const removeProgress = () => barHolder
|
|
4
|
+
const barHolder: HTMLElement | null = document.querySelector('body > .init-load');
|
|
5
|
+
export const removeProgress = () => barHolder?.parentNode?.removeChild(barHolder);
|
|
6
6
|
|
|
7
7
|
applicationSetup();
|
|
8
8
|
|
|
9
9
|
async function applicationSetup() {
|
|
10
|
-
|
|
10
|
+
await applyOptions({
|
|
11
11
|
...(await loadOptions())
|
|
12
12
|
});
|
|
13
13
|
|
|
@@ -15,7 +15,6 @@ async function applicationSetup() {
|
|
|
15
15
|
/* webpackPreload: true */
|
|
16
16
|
'./bootstrap'
|
|
17
17
|
);
|
|
18
|
-
const bootstrapApp = mod.bootstrap
|
|
19
|
-
|
|
20
|
-
return Promise.resolve(bootstrapApp(options)).then(removeProgress);
|
|
18
|
+
const bootstrapApp = mod.bootstrap;
|
|
19
|
+
return bootstrapApp().then(removeProgress);
|
|
21
20
|
}
|
|
File without changes
|