@c8y/cockpit 1020.40.1 → 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 +13 -13
- package/src/i18n.ts +1 -1
- package/src/main.ts +5 -5
- package/src/ng1.ts +1 -0
- /package/{src → public}/favicon.ico +0 -0
package/package.json
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@c8y/cockpit",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "1021.0.4",
|
|
4
4
|
"description": "This package is used to scaffold a cockpit application for Cumulocity IoT.",
|
|
5
5
|
"dependencies": {
|
|
6
|
-
"@c8y/style": "
|
|
7
|
-
"@c8y/ng1-modules": "
|
|
8
|
-
"@c8y/ngx-components": "
|
|
9
|
-
"@c8y/client": "
|
|
10
|
-
"@c8y/bootstrap": "
|
|
11
|
-
"@angular/cdk": "^
|
|
12
|
-
"@angular/upgrade": "^
|
|
6
|
+
"@c8y/style": "1021.0.4",
|
|
7
|
+
"@c8y/ng1-modules": "1021.0.4",
|
|
8
|
+
"@c8y/ngx-components": "1021.0.4",
|
|
9
|
+
"@c8y/client": "1021.0.4",
|
|
10
|
+
"@c8y/bootstrap": "1021.0.4",
|
|
11
|
+
"@angular/cdk": "^18.2.10",
|
|
12
|
+
"@angular/upgrade": "^18.2.9",
|
|
13
13
|
"angular": "1.8.3",
|
|
14
|
-
"ngx-bootstrap": "
|
|
15
|
-
"rxjs": "^7.
|
|
14
|
+
"ngx-bootstrap": "18.0.0",
|
|
15
|
+
"rxjs": "^7.8.1"
|
|
16
16
|
},
|
|
17
17
|
"devDependencies": {
|
|
18
|
-
"@c8y/options": "
|
|
19
|
-
"@c8y/devkit": "
|
|
18
|
+
"@c8y/options": "1021.0.4",
|
|
19
|
+
"@c8y/devkit": "1021.0.4"
|
|
20
20
|
},
|
|
21
21
|
"peerDependencies": {
|
|
22
|
-
"@angular/common": ">=
|
|
22
|
+
"@angular/common": ">=18 <19"
|
|
23
23
|
},
|
|
24
24
|
"author": "Cumulocity GmbH"
|
|
25
25
|
}
|
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,6 +15,6 @@ async function applicationSetup() {
|
|
|
15
15
|
/* webpackPreload: true */
|
|
16
16
|
'./bootstrap'
|
|
17
17
|
);
|
|
18
|
-
const bootstrapApp = mod.bootstrap
|
|
19
|
-
return
|
|
18
|
+
const bootstrapApp = mod.bootstrap;
|
|
19
|
+
return bootstrapApp().then(removeProgress);
|
|
20
20
|
}
|
package/src/ng1.ts
CHANGED
|
@@ -15,6 +15,7 @@ import '@c8y/ng1-modules/cockpit-smartRulesUI/cumulocity.json';
|
|
|
15
15
|
import '@c8y/ng1-modules/cockpit-dataPointExplorerUI/cumulocity.json';
|
|
16
16
|
import '@c8y/ng1-modules/alarmsEventsExplorer/cumulocity.json';
|
|
17
17
|
import '@c8y/ng1-modules/deviceDatabase4/cumulocity.json';
|
|
18
|
+
import '@c8y/ng1-modules/deviceTitle/cumulocity.json';
|
|
18
19
|
import '@c8y/ng1-modules/modbusWidget4/cumulocity.json';
|
|
19
20
|
import '@c8y/ng1-modules/scada/cumulocity.json';
|
|
20
21
|
import '@c8y/ng1-modules/htmlWidget/cumulocity.json';
|
|
File without changes
|