@c8y/ngx-components 1017.0.146 → 1017.0.147
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/esm2020/sub-assets/add-group/add-group.component.mjs +12 -6
- package/esm2020/sub-assets/sub-assets.component.mjs +10 -6
- package/fesm2015/c8y-ngx-components-sub-assets.mjs +18 -8
- package/fesm2015/c8y-ngx-components-sub-assets.mjs.map +1 -1
- package/fesm2020/c8y-ngx-components-sub-assets.mjs +18 -8
- package/fesm2020/c8y-ngx-components-sub-assets.mjs.map +1 -1
- package/package.json +2 -2
- package/sub-assets/add-group/add-group.component.d.ts +3 -2
- package/sub-assets/sub-assets.component.d.ts +3 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@c8y/ngx-components",
|
|
3
|
-
"version": "1017.0.
|
|
3
|
+
"version": "1017.0.147",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"author": "Cumulocity",
|
|
6
6
|
"description": "Angular modules for Cumulocity IoT applications",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"rxjs": "~6.6.3"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@c8y/client": "1017.0.
|
|
25
|
+
"@c8y/client": "1017.0.147",
|
|
26
26
|
"@ngx-translate/core": "14.0.0",
|
|
27
27
|
"@ngx-translate/http-loader": "7.0.0",
|
|
28
28
|
"@ngx-formly/core": "5.10.13",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ElementRef, EventEmitter } from '@angular/core';
|
|
2
2
|
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
3
|
-
import { AlertService, C8yStepper, Pagination } from '@c8y/ngx-components';
|
|
3
|
+
import { AlertService, C8yStepper, Pagination, Permissions } from '@c8y/ngx-components';
|
|
4
4
|
import { Subscription } from 'rxjs';
|
|
5
5
|
import { SubAssetsService } from '../sub-assets.service';
|
|
6
6
|
import { AddGroupService } from './add-group.service';
|
|
@@ -10,6 +10,7 @@ export declare class AddGroupComponent {
|
|
|
10
10
|
private addGroupService;
|
|
11
11
|
private alert;
|
|
12
12
|
private subAssetsService;
|
|
13
|
+
private permissionsService;
|
|
13
14
|
currentGroupId: string;
|
|
14
15
|
refresh: EventEmitter<any>;
|
|
15
16
|
onDeviceQueryStringChange: EventEmitter<string>;
|
|
@@ -31,7 +32,7 @@ export declare class AddGroupComponent {
|
|
|
31
32
|
create: any;
|
|
32
33
|
};
|
|
33
34
|
private nameInput;
|
|
34
|
-
constructor(fb: FormBuilder, addGroupService: AddGroupService, alert: AlertService, subAssetsService: SubAssetsService);
|
|
35
|
+
constructor(fb: FormBuilder, addGroupService: AddGroupService, alert: AlertService, subAssetsService: SubAssetsService, permissionsService: Permissions);
|
|
35
36
|
onEnterKeyDown(_event: KeyboardEvent): void;
|
|
36
37
|
onEscapeKeyDown(_event: KeyboardEvent): void;
|
|
37
38
|
ngOnInit(): Promise<void>;
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { ActivatedRoute } from '@angular/router';
|
|
3
3
|
import { IManagedObject } from '@c8y/client';
|
|
4
|
-
import { ContextRouteService, DisplayOptions } from '@c8y/ngx-components';
|
|
4
|
+
import { ContextRouteService, DisplayOptions, Permissions } from '@c8y/ngx-components';
|
|
5
5
|
import { SubAssetsService } from './sub-assets.service';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class SubAssetsComponent implements OnInit, OnDestroy {
|
|
8
8
|
private route;
|
|
9
9
|
private subAssetsService;
|
|
10
10
|
private contextRouteService;
|
|
11
|
+
private permissionsService;
|
|
11
12
|
group: IManagedObject;
|
|
12
13
|
currentGroupId: string;
|
|
13
14
|
showChildrenForDevice: IManagedObject;
|
|
@@ -25,7 +26,7 @@ export declare class SubAssetsComponent implements OnInit, OnDestroy {
|
|
|
25
26
|
displayOptions: DisplayOptions;
|
|
26
27
|
customProperties: IManagedObject[];
|
|
27
28
|
private dataSub;
|
|
28
|
-
constructor(route: ActivatedRoute, subAssetsService: SubAssetsService, contextRouteService: ContextRouteService);
|
|
29
|
+
constructor(route: ActivatedRoute, subAssetsService: SubAssetsService, contextRouteService: ContextRouteService, permissionsService: Permissions);
|
|
29
30
|
ngOnInit(): Promise<void>;
|
|
30
31
|
init(contextData: any): Promise<void>;
|
|
31
32
|
groupChange(group: IManagedObject): void;
|