@c8y/ngx-components 1021.73.6 → 1021.74.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/branding/shared/data/store-branding.service.d.ts.map +1 -1
- package/core/date-time-picker/date-time-picker.component.d.ts +4 -1
- package/core/date-time-picker/date-time-picker.component.d.ts.map +1 -1
- package/esm2022/branding/shared/data/store-branding.service.mjs +13 -4
- package/esm2022/core/date-time-picker/date-time-picker.component.mjs +27 -14
- package/esm2022/remote-access/configurations/remote-access-configuration-list/remote-access-configuration-list.component.mjs +15 -10
- package/esm2022/remote-access/configurations/remote-access-pick-protocol-modal/remote-access-pick-protocol-modal.component.mjs +9 -12
- package/esm2022/remote-access/data/remote-access.service.mjs +12 -1
- package/fesm2022/c8y-ngx-components-branding-shared-data.mjs +12 -3
- package/fesm2022/c8y-ngx-components-branding-shared-data.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-remote-access-configurations.mjs +24 -20
- package/fesm2022/c8y-ngx-components-remote-access-configurations.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-remote-access-data.mjs +11 -0
- package/fesm2022/c8y-ngx-components-remote-access-data.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components.mjs +26 -13
- package/fesm2022/c8y-ngx-components.mjs.map +1 -1
- package/locales/de.po +1 -1
- package/locales/es.po +5 -5
- package/locales/fr.po +1 -1
- package/locales/ko.po +2 -1
- package/locales/pl.po +1 -1
- package/locales/pt_BR.po +1 -1
- package/package.json +1 -1
- package/remote-access/configurations/remote-access-configuration-list/remote-access-configuration-list.component.d.ts +4 -2
- package/remote-access/configurations/remote-access-configuration-list/remote-access-configuration-list.component.d.ts.map +1 -1
- package/remote-access/configurations/remote-access-pick-protocol-modal/remote-access-pick-protocol-modal.component.d.ts +2 -3
- package/remote-access/configurations/remote-access-pick-protocol-modal/remote-access-pick-protocol-modal.component.d.ts.map +1 -1
- package/remote-access/data/remote-access.service.d.ts +8 -2
- package/remote-access/data/remote-access.service.d.ts.map +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
2
|
import { ActivatedRoute } from '@angular/router';
|
|
3
|
-
import { ActionControl, AlertService, Column, DisplayOptions, ModalService, Pagination } from '@c8y/ngx-components';
|
|
3
|
+
import { ActionControl, AlertService, Column, ContextRouteService, DisplayOptions, ModalService, Pagination } from '@c8y/ngx-components';
|
|
4
4
|
import { RemoteAccessConfiguration, RemoteAccessProtocolProvider, RemoteAccessService } from '@c8y/ngx-components/remote-access/data';
|
|
5
5
|
import { BsModalService } from 'ngx-bootstrap/modal';
|
|
6
6
|
import { TranslateService } from '@ngx-translate/core';
|
|
@@ -12,6 +12,7 @@ export declare class RemoteAccessConfigurationListComponent implements OnInit {
|
|
|
12
12
|
private alert;
|
|
13
13
|
private bsModalService;
|
|
14
14
|
private translateService;
|
|
15
|
+
private ctx;
|
|
15
16
|
rows: RemoteAccessConfiguration[];
|
|
16
17
|
columns: Column[];
|
|
17
18
|
actionControls: ActionControl[];
|
|
@@ -20,7 +21,8 @@ export declare class RemoteAccessConfigurationListComponent implements OnInit {
|
|
|
20
21
|
displayOptions: DisplayOptions;
|
|
21
22
|
protocolProviders: RemoteAccessProtocolProvider[];
|
|
22
23
|
gridTitle: "Remote access endpoints";
|
|
23
|
-
|
|
24
|
+
private device;
|
|
25
|
+
constructor(remoteAccess: RemoteAccessService, activatedRoute: ActivatedRoute, modalService: ModalService, alert: AlertService, bsModalService: BsModalService, translateService: TranslateService, ctx: ContextRouteService);
|
|
24
26
|
ngOnInit(): void;
|
|
25
27
|
reload(): Promise<void>;
|
|
26
28
|
addEndpoint(): Promise<void>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"remote-access-configuration-list.component.d.ts","sourceRoot":"","sources":["../../../../remote-access/configurations/remote-access-configuration-list/remote-access-configuration-list.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,MAAM,EAAE,MAAM,eAAe,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,EAEL,aAAa,EACb,YAAY,EAIZ,MAAM,
|
|
1
|
+
{"version":3,"file":"remote-access-configuration-list.component.d.ts","sourceRoot":"","sources":["../../../../remote-access/configurations/remote-access-configuration-list/remote-access-configuration-list.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,MAAM,EAAE,MAAM,eAAe,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,EAEL,aAAa,EACb,YAAY,EAIZ,MAAM,EACN,mBAAmB,EAEnB,cAAc,EAKd,YAAY,EACZ,UAAU,EAGX,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,yBAAyB,EACzB,4BAA4B,EAC5B,mBAAmB,EACpB,MAAM,wCAAwC,CAAC;AAEhD,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAGrD,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;;AAGvD,qBAca,sCAAuC,YAAW,MAAM;IAiHjE,OAAO,CAAC,YAAY;IACpB,OAAO,CAAC,cAAc;IACtB,OAAO,CAAC,YAAY;IACpB,OAAO,CAAC,KAAK;IACb,OAAO,CAAC,cAAc;IACtB,OAAO,CAAC,gBAAgB;IACxB,OAAO,CAAC,GAAG;IAtHb,IAAI,EAAE,yBAAyB,EAAE,CAAM;IACvC,OAAO,EAAE,MAAM,EAAE,CAmCf;IACF,cAAc,EAAE,aAAa,EAAE,CAwD7B;IACF,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,UAAU,CAGpB;IACF,cAAc,EAAE,cAAc,CAM5B;IACF,iBAAiB,EAAE,4BAA4B,EAAE,CAAM;IACvD,SAAS,4BAAsC;IAE/C,OAAO,CAAC,MAAM,CAAiB;gBAGrB,YAAY,EAAE,mBAAmB,EACjC,cAAc,EAAE,cAAc,EAC9B,YAAY,EAAE,YAAY,EAC1B,KAAK,EAAE,YAAY,EACnB,cAAc,EAAE,cAAc,EAC9B,gBAAgB,EAAE,gBAAgB,EAClC,GAAG,EAAE,mBAAmB;IAWlC,QAAQ;IAIF,MAAM;IASN,WAAW;IAoCjB,mCAAmC,CAAC,aAAa,EAAE,yBAAyB;IAItE,mBAAmB,CAAC,QAAQ,EAAE,MAAM,EAAE,aAAa,EAAE,yBAAyB;IAS9E,kBAAkB,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,4BAA4B;IAc3E,sBAAsB,CAC1B,oBAAoB,EAAE,OAAO,CAAC,yBAAyB,CAAC,GACvD,OAAO,CAAC,yBAAyB,GAAG,IAAI,CAAC;yCAhNjC,sCAAsC;2CAAtC,sCAAsC;CA+NlD"}
|
|
@@ -1,15 +1,14 @@
|
|
|
1
|
-
import { RemoteAccessProtocolProvider
|
|
1
|
+
import { RemoteAccessProtocolProvider } from '@c8y/ngx-components/remote-access/data';
|
|
2
2
|
import { BsModalRef } from 'ngx-bootstrap/modal';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class RemoteAccessPickProtocolModalComponent {
|
|
5
|
-
private remoteAccess;
|
|
6
5
|
private bsModalRef;
|
|
7
6
|
title: "Select a protocol";
|
|
8
7
|
result: Promise<RemoteAccessProtocolProvider>;
|
|
9
8
|
protocolProviders: RemoteAccessProtocolProvider[];
|
|
10
9
|
private _resolve;
|
|
11
10
|
private _reject;
|
|
12
|
-
constructor(
|
|
11
|
+
constructor(bsModalRef: BsModalRef);
|
|
13
12
|
cancel(): void;
|
|
14
13
|
selectProtocol(protocol: RemoteAccessProtocolProvider): void;
|
|
15
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<RemoteAccessPickProtocolModalComponent, never>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"remote-access-pick-protocol-modal.component.d.ts","sourceRoot":"","sources":["../../../../remote-access/configurations/remote-access-pick-protocol-modal/remote-access-pick-protocol-modal.component.ts"],"names":[],"mappings":"AAEA,OAAO,
|
|
1
|
+
{"version":3,"file":"remote-access-pick-protocol-modal.component.d.ts","sourceRoot":"","sources":["../../../../remote-access/configurations/remote-access-pick-protocol-modal/remote-access-pick-protocol-modal.component.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,4BAA4B,EAAE,MAAM,wCAAwC,CAAC;AACtF,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;;AAEjD,qBAMa,sCAAsC;IAarC,OAAO,CAAC,UAAU;IAZ9B,KAAK,sBAAgC;IACrC,MAAM,wCAGH;IAGH,iBAAiB,EAAE,4BAA4B,EAAE,CAAM;IAEvD,OAAO,CAAC,QAAQ,CAAgD;IAChE,OAAO,CAAC,OAAO,CAAyB;gBAEpB,UAAU,EAAE,UAAU;IAE1C,MAAM;IAIN,cAAc,CAAC,QAAQ,EAAE,4BAA4B;yCAnB1C,sCAAsC;2CAAtC,sCAAsC;CAuBlD"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { CanActivateFn } from '@angular/router';
|
|
2
|
-
import { FetchClient } from '@c8y/client';
|
|
2
|
+
import { FetchClient, IManagedObject } from '@c8y/client';
|
|
3
3
|
import { ServiceRegistry } from '@c8y/ngx-components';
|
|
4
4
|
import { Observable } from 'rxjs';
|
|
5
|
+
import { RemoteAccessProtocolProvider } from './remote-access-protocol-provider';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
6
7
|
export interface RemoteAccessConfiguration {
|
|
7
8
|
id: string;
|
|
@@ -71,7 +72,12 @@ export declare class RemoteAccessService {
|
|
|
71
72
|
/**
|
|
72
73
|
* Retrieves all available remote access protocol providers.
|
|
73
74
|
*/
|
|
74
|
-
getProtocolProviders():
|
|
75
|
+
getProtocolProviders(): RemoteAccessProtocolProvider[];
|
|
76
|
+
/**
|
|
77
|
+
* Retrieves all supported protocol providers for a given device.
|
|
78
|
+
* Based on the declarations in the fragment c8y_RemoteAccessSupportedProtocols of the device managed object.
|
|
79
|
+
*/
|
|
80
|
+
getSupportedProtocolProvidersFor(device: IManagedObject): RemoteAccessProtocolProvider[];
|
|
75
81
|
/**
|
|
76
82
|
* Creates a new configuration for a given device.
|
|
77
83
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"remote-access.service.d.ts","sourceRoot":"","sources":["../../../remote-access/data/remote-access.service.ts"],"names":[],"mappings":"AACA,OAAO,EAA0B,aAAa,EAAE,MAAM,iBAAiB,CAAC;AACxE,OAAO,EAAE,WAAW,
|
|
1
|
+
{"version":3,"file":"remote-access.service.d.ts","sourceRoot":"","sources":["../../../remote-access/data/remote-access.service.ts"],"names":[],"mappings":"AACA,OAAO,EAA0B,aAAa,EAAE,MAAM,iBAAiB,CAAC;AACxE,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAC1D,OAAO,EAGL,eAAe,EAEhB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,UAAU,EAAsB,MAAM,MAAM,CAAC;AACtD,OAAO,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAC;;AAGjF,MAAM,WAAW,yBAAyB;IACxC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,GAAG,CAAC;IACZ,WAAW,CAAC,EAAE,GAAG,CAAC;IAClB,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;CA0BpB,CAAC;AAEX,eAAO,MAAM,uBAAuB,EAAE,aAsBrC,CAAC;AAEF,qBAGa,mBAAmB;IAI5B,OAAO,CAAC,WAAW;IACnB,OAAO,CAAC,eAAe;IAJzB,OAAO,CAAC,kBAAkB,CAAsB;IAChD,QAAQ,CAAC,OAAO,2BAA2B;gBAEjC,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