@c8y/devicemanagement 1022.45.2 → 1023.0.0
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/cumulocity.config.ts +2 -0
- package/package.json +13 -13
- package/src/app/app.module.ts +4 -7
package/cumulocity.config.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { ConfigurationOptions } from '@c8y/devkit';
|
|
2
2
|
import { gettext } from '@c8y/ngx-components/gettext';
|
|
3
3
|
import { author, description, license, name, version } from './package.json';
|
|
4
|
+
import { deviceManagementWidgetsExports } from '@c8y/ngx-components/widgets/device-management-exports';
|
|
4
5
|
|
|
5
6
|
const defaultDescription = gettext(
|
|
6
7
|
'The Device Management application provides functionalities for managing and monitoring devices and enables you to control and troubleshoot devices remotely.'
|
|
@@ -24,6 +25,7 @@ export default {
|
|
|
24
25
|
license,
|
|
25
26
|
upgrade: true,
|
|
26
27
|
exports: [
|
|
28
|
+
...deviceManagementWidgetsExports,
|
|
27
29
|
{
|
|
28
30
|
name: 'Replace device plugin',
|
|
29
31
|
module: 'ReplaceDeviceModule',
|
package/package.json
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@c8y/devicemanagement",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "1023.0.0",
|
|
4
4
|
"description": "This package is used to scaffold a Device Management 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": "1023.0.0",
|
|
7
|
+
"@c8y/ng1-modules": "1023.0.0",
|
|
8
|
+
"@c8y/ngx-components": "1023.0.0",
|
|
9
|
+
"@c8y/client": "1023.0.0",
|
|
10
|
+
"@c8y/bootstrap": "1023.0.0",
|
|
11
|
+
"@angular/cdk": "^20.2.7",
|
|
12
|
+
"@angular/upgrade": "^20.3.3",
|
|
13
13
|
"angular": "1.8.3",
|
|
14
14
|
"monaco-editor": "~0.53.0",
|
|
15
|
-
"ngx-bootstrap": "
|
|
16
|
-
"rxjs": "7.8.
|
|
15
|
+
"ngx-bootstrap": "20.0.2",
|
|
16
|
+
"rxjs": "7.8.2"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
|
-
"@c8y/options": "
|
|
20
|
-
"@c8y/devkit": "
|
|
19
|
+
"@c8y/options": "1023.0.0",
|
|
20
|
+
"@c8y/devkit": "1023.0.0"
|
|
21
21
|
},
|
|
22
22
|
"peerDependencies": {
|
|
23
|
-
"@angular/common": ">=
|
|
23
|
+
"@angular/common": ">=20 <21"
|
|
24
24
|
},
|
|
25
25
|
"author": "Cumulocity GmbH",
|
|
26
26
|
"license": "Apache-2.0"
|
package/src/app/app.module.ts
CHANGED
|
@@ -37,9 +37,7 @@ import {
|
|
|
37
37
|
UPGRADE_ROUTES,
|
|
38
38
|
UpgradeModule
|
|
39
39
|
} from '@c8y/ngx-components/upgrade';
|
|
40
|
-
import {
|
|
41
|
-
import { datapointGraphWidgetproviders } from '@c8y/ngx-components/widgets/definitions/datapoints-graph';
|
|
42
|
-
import { deviceManagementWidgets } from '@c8y/ngx-components/widgets/device-management';
|
|
40
|
+
import { GlobalContextModule } from '@c8y/ngx-components/global-context';
|
|
43
41
|
|
|
44
42
|
@NgModule({
|
|
45
43
|
imports: [
|
|
@@ -64,8 +62,6 @@ import { deviceManagementWidgets } from '@c8y/ngx-components/widgets/device-mana
|
|
|
64
62
|
SubAssetsModule,
|
|
65
63
|
ChildDevicesModule,
|
|
66
64
|
DeviceManagementHomeDashboardModule,
|
|
67
|
-
deviceManagementWidgets(),
|
|
68
|
-
cockpitWidgets(['cockpit.welcome.widget', 'Cockpit Welcome']),
|
|
69
65
|
DeviceInfoDashboardModule,
|
|
70
66
|
RegisterDeviceModule,
|
|
71
67
|
SigfoxDeviceRegistrationModule,
|
|
@@ -79,9 +75,10 @@ import { deviceManagementWidgets } from '@c8y/ngx-components/widgets/device-mana
|
|
|
79
75
|
LocationTabModule,
|
|
80
76
|
AddLocationModule,
|
|
81
77
|
DeviceProvisionedCertificatesModule,
|
|
82
|
-
alarmsDeviceManagementRouteAndNodeConfig()
|
|
78
|
+
alarmsDeviceManagementRouteAndNodeConfig(),
|
|
79
|
+
GlobalContextModule
|
|
83
80
|
],
|
|
84
|
-
providers: [deviceMapFeatureProvider, trackingFeatureProvider
|
|
81
|
+
providers: [deviceMapFeatureProvider, trackingFeatureProvider]
|
|
85
82
|
})
|
|
86
83
|
export class AppModule extends HybridAppModule {
|
|
87
84
|
constructor(protected override upgrade: NgUpgradeModule) {
|