@c8y/widget-plugin 1020.40.1 → 1021.0.11
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/public/favicon.ico +0 -0
- package/src/main.ts +5 -6
- package/src/favicon.ico +0 -0
package/package.json
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@c8y/widget-plugin",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "1021.0.11",
|
|
4
4
|
"description": "",
|
|
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.11",
|
|
7
|
+
"@c8y/ngx-components": "1021.0.11",
|
|
8
|
+
"@c8y/client": "1021.0.11",
|
|
9
|
+
"@c8y/bootstrap": "1021.0.11",
|
|
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.11",
|
|
16
|
+
"@c8y/devkit": "1021.0.11"
|
|
17
17
|
},
|
|
18
18
|
"peerDependencies": {
|
|
19
|
-
"@angular/common": ">=
|
|
19
|
+
"@angular/common": ">=18 <19"
|
|
20
20
|
},
|
|
21
21
|
"author": "Cumulocity GmbH"
|
|
22
22
|
}
|
|
Binary file
|
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
|
}
|
package/src/favicon.ico
DELETED
|
Binary file
|