@c8y/administration 1019.24.6 → 1020.0.8
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/NOTICES +8357 -6666
- package/cumulocity.config.ts +10 -7
- package/package.json +14 -11
- package/src/main.ts +6 -4
- package/src/polyfills.ts +1 -1
package/cumulocity.config.ts
CHANGED
|
@@ -1,18 +1,21 @@
|
|
|
1
|
-
import { ConfigurationOptions } from '@c8y/devkit
|
|
2
|
-
import { author, description, version } from './package.json';
|
|
1
|
+
import type { ConfigurationOptions } from '@c8y/devkit';
|
|
2
|
+
import { author, description, version, name } from './package.json';
|
|
3
|
+
import { gettext } from '@c8y/ngx-components/gettext';
|
|
4
|
+
|
|
5
|
+
const defaultDescription = gettext(
|
|
6
|
+
'The Administration application enables account administrators to manage their users, roles, tenants, applications and business rules and lets them configure a number of settings for their account.'
|
|
7
|
+
);
|
|
3
8
|
|
|
4
9
|
export default {
|
|
5
10
|
runTime: {
|
|
6
11
|
author,
|
|
7
|
-
description,
|
|
12
|
+
description: description || defaultDescription,
|
|
8
13
|
version,
|
|
9
|
-
name
|
|
10
|
-
contextPath: 'administration',
|
|
11
|
-
key: 'administration-application-key',
|
|
14
|
+
name,
|
|
12
15
|
globalTitle: 'Cumulocity',
|
|
13
16
|
rightDrawer: true,
|
|
14
17
|
tabsHorizontal: true,
|
|
15
|
-
dynamicOptionsUrl:
|
|
18
|
+
dynamicOptionsUrl: true,
|
|
16
19
|
contextHelp: true,
|
|
17
20
|
contentSecurityPolicy:
|
|
18
21
|
"base-uri 'none'; default-src 'self' 'unsafe-inline' http: https: ws: wss:; connect-src 'self' http: https: ws: wss:; script-src 'self' *.bugherd.com *.twitter.com *.twimg.com *.aptrinsic.com 'unsafe-inline' 'unsafe-eval' data:; style-src * 'unsafe-inline' blob:; media-src 'self' blob:; img-src * data: blob:; font-src * data:; frame-src *; worker-src 'self' blob:;",
|
package/package.json
CHANGED
|
@@ -1,22 +1,25 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@c8y/administration",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "1020.0.8",
|
|
4
4
|
"description": "",
|
|
5
5
|
"dependencies": {
|
|
6
|
-
"@c8y/style": "
|
|
7
|
-
"@c8y/ng1-modules": "
|
|
8
|
-
"@c8y/ngx-components": "
|
|
9
|
-
"@c8y/client": "
|
|
10
|
-
"@c8y/bootstrap": "
|
|
11
|
-
"@
|
|
12
|
-
"@angular/
|
|
13
|
-
"@angular/upgrade": "^16.2.11",
|
|
6
|
+
"@c8y/style": "1020.0.8",
|
|
7
|
+
"@c8y/ng1-modules": "1020.0.8",
|
|
8
|
+
"@c8y/ngx-components": "1020.0.8",
|
|
9
|
+
"@c8y/client": "1020.0.8",
|
|
10
|
+
"@c8y/bootstrap": "1020.0.8",
|
|
11
|
+
"@angular/cdk": "^17.3.9",
|
|
12
|
+
"@angular/upgrade": "^17.3.9",
|
|
14
13
|
"angular": "1.6.9",
|
|
15
|
-
"ngx-bootstrap": "
|
|
14
|
+
"ngx-bootstrap": "12.0.0",
|
|
16
15
|
"rxjs": "^7.4.0"
|
|
17
16
|
},
|
|
17
|
+
"devDependencies": {
|
|
18
|
+
"@c8y/options": "1020.0.8",
|
|
19
|
+
"@c8y/devkit": "1020.0.8"
|
|
20
|
+
},
|
|
18
21
|
"peerDependencies": {
|
|
19
|
-
"@angular/common": ">=
|
|
22
|
+
"@angular/common": ">=16 <18"
|
|
20
23
|
},
|
|
21
24
|
"author": "Cumulocity GmbH"
|
|
22
25
|
}
|
package/src/main.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import './i18n';
|
|
2
|
-
import { applyOptions, loadOptions
|
|
2
|
+
import { applyOptions, loadOptions } from '@c8y/bootstrap';
|
|
3
3
|
|
|
4
4
|
const barHolder: HTMLElement = document.querySelector('body > .init-load');
|
|
5
5
|
export const removeProgress = () => barHolder && barHolder.parentNode.removeChild(barHolder);
|
|
@@ -8,11 +8,13 @@ applicationSetup();
|
|
|
8
8
|
|
|
9
9
|
async function applicationSetup() {
|
|
10
10
|
const options = await applyOptions({
|
|
11
|
-
...(await loadOptions())
|
|
12
|
-
...((await loginOptions()) as object)
|
|
11
|
+
...(await loadOptions())
|
|
13
12
|
});
|
|
14
13
|
|
|
15
|
-
const mod = await import(
|
|
14
|
+
const mod = await import(
|
|
15
|
+
/* webpackPreload: true */
|
|
16
|
+
'./bootstrap'
|
|
17
|
+
);
|
|
16
18
|
const bootstrapApp = mod.bootstrap || (window as any).bootstrap || (() => null);
|
|
17
19
|
|
|
18
20
|
return Promise.resolve(bootstrapApp(options)).then(removeProgress);
|
package/src/polyfills.ts
CHANGED
|
@@ -37,4 +37,4 @@
|
|
|
37
37
|
/***************************************************************************************************
|
|
38
38
|
* Zone JS is required by default for Angular itself.
|
|
39
39
|
*/
|
|
40
|
-
import 'zone.js
|
|
40
|
+
import 'zone.js'; // Included with Angular CLI.
|