@c8y/tutorial 1020.29.0 → 1020.33.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.
package/package.json CHANGED
@@ -1,20 +1,20 @@
1
1
  {
2
2
  "name": "@c8y/tutorial",
3
- "version": "1020.29.0",
3
+ "version": "1020.33.1",
4
4
  "description": "This package is used to scaffold a tutorial for Cumulocity IoT Web SDK which explains a lot of concepts.",
5
5
  "dependencies": {
6
- "@c8y/style": "1020.29.0",
7
- "@c8y/ngx-components": "1020.29.0",
8
- "@c8y/client": "1020.29.0",
9
- "@c8y/bootstrap": "1020.29.0",
6
+ "@c8y/style": "1020.33.1",
7
+ "@c8y/ngx-components": "1020.33.1",
8
+ "@c8y/client": "1020.33.1",
9
+ "@c8y/bootstrap": "1020.33.1",
10
10
  "@angular/cdk": "^17.3.9",
11
11
  "ngx-bootstrap": "12.0.0",
12
12
  "leaflet": "1.9.4",
13
13
  "rxjs": "^7.4.0"
14
14
  },
15
15
  "devDependencies": {
16
- "@c8y/options": "1020.29.0",
17
- "@c8y/devkit": "1020.29.0"
16
+ "@c8y/options": "1020.33.1",
17
+ "@c8y/devkit": "1020.33.1"
18
18
  },
19
19
  "peerDependencies": {
20
20
  "@angular/common": ">=16 <18"
@@ -1,9 +1,9 @@
1
1
  import { CommonModule } from '@angular/common';
2
2
  import { Component } from '@angular/core';
3
3
  import { FormsModule } from '@angular/forms';
4
+ import { IApplication } from '@c8y/client';
4
5
  import { AppStateService, CoreModule, PackageType } from '@c8y/ngx-components';
5
6
  import { SharedEcosystemModule } from '@c8y/ngx-components/ecosystem/shared';
6
- import { IApplication } from '@c8y/client';
7
7
  import { Observable, of } from 'rxjs';
8
8
 
9
9
  @Component({
@@ -43,7 +43,7 @@ export class ApplicationCardExampleComponent {
43
43
  key: 'devicemanagement-application-key',
44
44
  label: PackageType.OFFICIAL,
45
45
  description:
46
- 'This package is used to scaffold a Device management application for Cumulocity IoT.',
46
+ 'This package is used to scaffold a Device Management application for Cumulocity IoT.',
47
47
  manifest: { version: '1.0.0', author: 'c8y_dev' }
48
48
  }
49
49
  ]);
@@ -104,6 +104,7 @@ export class ServerGridExampleService {
104
104
  icon: 'online',
105
105
  iconClasses: 'm-r-4',
106
106
  text: 'Custom action',
107
+ showIf: selectedItemIds => selectedItemIds?.every(id => Number.parseInt(id) % 2 === 0),
107
108
  callback: selectedItemIds => console.dir(selectedItemIds)
108
109
  }
109
110
  ];