@c8y/cockpit 1023.75.1 → 1023.77.1

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.
@@ -6,6 +6,8 @@ import { cockpitWidgetsExports } from '@c8y/ngx-components/widgets/cockpit-expor
6
6
  const defaultDescription = gettext(
7
7
  'The Cockpit application provides you with options to manage and monitor Internet of Things (IoT) assets and data from a business perspective.'
8
8
  );
9
+ const majorWebSDKVersion = version.split('.')[0];
10
+ const stableTagBasedOnWebSDKVersion = `${majorWebSDKVersion}-stable`;
9
11
 
10
12
  export default {
11
13
  runTime: {
@@ -70,15 +72,6 @@ export default {
70
72
  description: gettext('View listing children of devices.'),
71
73
  scope: 'self'
72
74
  },
73
- {
74
- name: gettext('Assets navigator'),
75
- module: 'AssetsNavigatorModule',
76
- path: '@c8y/ngx-components/module-federation-exports/assets-navigator',
77
- description: gettext(
78
- '"Groups" navigation entry, allowing to navigate through asset hierarchy.'
79
- ),
80
- scope: 'self'
81
- },
82
75
  {
83
76
  name: gettext('Data point library'),
84
77
  module: 'DatapointLibraryModule',
@@ -197,7 +190,12 @@ export default {
197
190
  }
198
191
  ],
199
192
  remotes: {
200
- [`smart-rules@${version.split('.')[0]}-stable`]: ['AnalyticsInstanceModule']
193
+ [`smart-rules@${stableTagBasedOnWebSDKVersion}`]: ['AnalyticsInstanceModule'],
194
+ [`dtm-plugins@${stableTagBasedOnWebSDKVersion}`]: [
195
+ 'AddAssetModule',
196
+ 'AssetsNavigatorModule',
197
+ 'SubAssetsModule'
198
+ ]
201
199
  }
202
200
  },
203
201
  buildTime: {
package/package.json CHANGED
@@ -1,24 +1,24 @@
1
1
  {
2
2
  "name": "@c8y/cockpit",
3
- "version": "1023.75.1",
3
+ "version": "1023.77.1",
4
4
  "description": "This package is used to scaffold a cockpit application for Cumulocity IoT.",
5
5
  "dependencies": {
6
6
  "@angular/cdk": "^20.2.14",
7
- "@angular/upgrade": "^20.3.16",
8
- "@c8y/bootstrap": "1023.75.1",
9
- "@c8y/client": "1023.75.1",
10
- "@c8y/html-repo": "1023.75.1",
11
- "@c8y/ng1-modules": "1023.75.1",
12
- "@c8y/ngx-components": "1023.75.1",
13
- "@c8y/style": "1023.75.1",
7
+ "@angular/upgrade": "^20.3.19",
8
+ "@c8y/bootstrap": "1023.77.1",
9
+ "@c8y/client": "1023.77.1",
10
+ "@c8y/html-repo": "1023.77.1",
11
+ "@c8y/ng1-modules": "1023.77.1",
12
+ "@c8y/ngx-components": "1023.77.1",
13
+ "@c8y/style": "1023.77.1",
14
14
  "angular": "1.8.3",
15
15
  "monaco-editor": "~0.53.0",
16
16
  "ngx-bootstrap": "20.0.2",
17
17
  "rxjs": "7.8.2"
18
18
  },
19
19
  "devDependencies": {
20
- "@c8y/devkit": "1023.75.1",
21
- "@c8y/options": "1023.75.1"
20
+ "@c8y/devkit": "1023.77.1",
21
+ "@c8y/options": "1023.77.1"
22
22
  },
23
23
  "peerDependencies": {
24
24
  "@angular/common": ">=20 <21"
@@ -8,12 +8,12 @@ import {
8
8
  HybridAppModule,
9
9
  UPGRADE_ROUTES
10
10
  } from '@c8y/ngx-components/upgrade';
11
- import { SubAssetsModule } from '@c8y/ngx-components/sub-assets';
12
11
  import { ReportsModule } from '@c8y/ngx-components/reports';
13
12
  import { BinaryFileDownloadModule } from '@c8y/ngx-components/binary-file-download';
14
13
  import { CockpitConfigModule } from '@c8y/ngx-components/cockpit-config';
15
14
  import { PluginSetupStepperModule } from '@c8y/ngx-components/ecosystem/plugin-setup-stepper';
16
15
  import { PendingMoRequestModule } from '@c8y/ngx-components/pending-mo-request';
16
+ import { provideMapConfig } from '@c8y/ngx-components/map';
17
17
  import { GlobalContextModule } from '@c8y/ngx-components/global-context';
18
18
 
19
19
  @NgModule({
@@ -27,12 +27,12 @@ import { GlobalContextModule } from '@c8y/ngx-components/global-context';
27
27
  NgUpgradeModule,
28
28
  DashboardUpgradeModule,
29
29
  BinaryFileDownloadModule,
30
- SubAssetsModule.config(),
31
30
  CockpitConfigModule,
32
31
  PluginSetupStepperModule,
33
32
  PendingMoRequestModule,
34
33
  GlobalContextModule
35
- ]
34
+ ],
35
+ providers: [provideMapConfig()]
36
36
  })
37
37
  export class AppModule extends HybridAppModule {
38
38
  constructor(protected override upgrade: NgUpgradeModule) {