@c8y/ngx-components 1017.0.78 → 1017.0.80
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/register-device/dropdown/register-device-dropdown.component.mjs +3 -3
- package/esm2020/register-device/extensible/base-extensible-device-registration.service.mjs +21 -13
- package/esm2020/register-device/extensible/bulk/extensible-bulk-device-registration-button.component.mjs +3 -3
- package/esm2020/register-device/extensible/bulk/extensible-bulk-device-registration.service.mjs +11 -10
- package/esm2020/register-device/extensible/single/extensible-device-registration-button.component.mjs +3 -3
- package/esm2020/register-device/extensible/single/extensible-device-registration.service.mjs +11 -10
- package/fesm2015/c8y-ngx-components-register-device.mjs +80 -62
- package/fesm2015/c8y-ngx-components-register-device.mjs.map +1 -1
- package/fesm2020/c8y-ngx-components-register-device.mjs +75 -62
- package/fesm2020/c8y-ngx-components-register-device.mjs.map +1 -1
- package/package.json +2 -2
- package/register-device/extensible/base-extensible-device-registration.service.d.ts +6 -8
- package/register-device/extensible/bulk/extensible-bulk-device-registration-button.component.d.ts +1 -1
- package/register-device/extensible/bulk/extensible-bulk-device-registration.service.d.ts +7 -5
- package/register-device/extensible/single/extensible-device-registration-button.component.d.ts +1 -1
- package/register-device/extensible/single/extensible-device-registration.service.d.ts +7 -5
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@c8y/ngx-components",
|
|
3
|
-
"version": "1017.0.
|
|
3
|
+
"version": "1017.0.80",
|
|
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.80",
|
|
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,16 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { AppStateService, TenantUiService } from '@c8y/ngx-components';
|
|
1
|
+
import { ApplicationService } from '@c8y/client';
|
|
2
|
+
import { AppStateService } from '@c8y/ngx-components';
|
|
4
3
|
import { ExtensibleDeviceRegistrationProvider } from './base-device-registration.model';
|
|
5
4
|
export declare class BaseExtensibleDeviceRegistrationService {
|
|
6
|
-
protected
|
|
5
|
+
protected applicationService: ApplicationService;
|
|
7
6
|
protected stateService: AppStateService;
|
|
8
|
-
|
|
9
|
-
protected tenantUiService: TenantUiService;
|
|
10
|
-
constructor(router: Router, stateService: AppStateService, client: FetchClient, tenantUiService: TenantUiService);
|
|
11
|
-
protected getDeviceRegistrationProviders(bulk: boolean): ExtensibleDeviceRegistrationProvider[];
|
|
7
|
+
constructor(applicationService: ApplicationService, stateService: AppStateService);
|
|
12
8
|
protected getMetadataUrl(contextPath: string): string;
|
|
13
9
|
protected getServiceBaseUrl(contextPath: string): string;
|
|
10
|
+
protected getDeviceRegistrationProviders(bulk: boolean): Promise<ExtensibleDeviceRegistrationProvider[]>;
|
|
11
|
+
private listMicroservicesByUser;
|
|
14
12
|
private getProvidersFromManifestExtensions;
|
|
15
13
|
private getProvidersFromExtensions;
|
|
16
14
|
private appSupportingExtensibleDeviceRegistrationForm;
|
package/register-device/extensible/bulk/extensible-bulk-device-registration-button.component.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ import * as i0 from "@angular/core";
|
|
|
6
6
|
export declare class ExtensibleBulkDeviceRegistrationButtonComponent implements OnInit {
|
|
7
7
|
private bulkExtensibleDeviceRegistrationService;
|
|
8
8
|
private modalService;
|
|
9
|
-
bulkProvidersMetaData: ExtensibleDeviceRegistrationProvider[]
|
|
9
|
+
bulkProvidersMetaData: Promise<ExtensibleDeviceRegistrationProvider[]>;
|
|
10
10
|
constructor(bulkExtensibleDeviceRegistrationService: BulkExtensibleDeviceRegistrationService, modalService: BsModalService);
|
|
11
11
|
ngOnInit(): void;
|
|
12
12
|
click(contextPath: any): void;
|
|
@@ -1,13 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { AppStateService, TenantUiService } from '@c8y/ngx-components';
|
|
1
|
+
import { ApplicationService, FetchClient, IResult } from '@c8y/client';
|
|
2
|
+
import { AppStateService } from '@c8y/ngx-components';
|
|
4
3
|
import { BulkDescription, BulkResult } from './extensible-bulk-device-registration.model';
|
|
5
4
|
import { BaseExtensibleDeviceRegistrationService } from '../base-extensible-device-registration.service';
|
|
6
5
|
import { ExtensibleDeviceRegistrationProvider } from '../base-device-registration.model';
|
|
7
6
|
import * as i0 from "@angular/core";
|
|
8
7
|
export declare class BulkExtensibleDeviceRegistrationService extends BaseExtensibleDeviceRegistrationService {
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
protected applicationService: ApplicationService;
|
|
9
|
+
protected stateService: AppStateService;
|
|
10
|
+
private client;
|
|
11
|
+
constructor(applicationService: ApplicationService, stateService: AppStateService, client: FetchClient);
|
|
12
|
+
getDeviceRegistrationProviders(): Promise<ExtensibleDeviceRegistrationProvider[]>;
|
|
11
13
|
getBulkDescription(contextPath: string): Promise<BulkDescription>;
|
|
12
14
|
upload(csv: File, contextPath: any): Promise<IResult<BulkResult>>;
|
|
13
15
|
getBulkUrl(contextPath: string): string;
|
package/register-device/extensible/single/extensible-device-registration-button.component.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ import * as i0 from "@angular/core";
|
|
|
6
6
|
export declare class ExtensibleDeviceRegistrationButtonComponent implements OnInit {
|
|
7
7
|
private deviceRegistrationService;
|
|
8
8
|
private modalService;
|
|
9
|
-
providersMetaData: ExtensibleDeviceRegistrationProvider[]
|
|
9
|
+
providersMetaData: Promise<ExtensibleDeviceRegistrationProvider[]>;
|
|
10
10
|
constructor(deviceRegistrationService: ExtensibleDeviceRegistrationService, modalService: BsModalService);
|
|
11
11
|
ngOnInit(): void;
|
|
12
12
|
click(providerMetaData: ExtensibleDeviceRegistrationProvider): void;
|
|
@@ -1,14 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { AppStateService, TenantUiService } from '@c8y/ngx-components';
|
|
1
|
+
import { ApplicationService, FetchClient, IResult } from '@c8y/client';
|
|
2
|
+
import { AppStateService } from '@c8y/ngx-components';
|
|
4
3
|
import { BaseExtensibleDeviceRegistrationService } from '../base-extensible-device-registration.service';
|
|
5
4
|
import { ExtensibleDeviceRegistrationSchema } from './extensible-device-registration.model';
|
|
6
5
|
import { ExtensibleDeviceRegistrationProvider } from '../base-device-registration.model';
|
|
7
6
|
import * as i0 from "@angular/core";
|
|
8
7
|
export declare class ExtensibleDeviceRegistrationService extends BaseExtensibleDeviceRegistrationService {
|
|
9
|
-
|
|
8
|
+
protected applicationService: ApplicationService;
|
|
9
|
+
protected stateService: AppStateService;
|
|
10
|
+
private client;
|
|
11
|
+
constructor(applicationService: ApplicationService, stateService: AppStateService, client: FetchClient);
|
|
10
12
|
getSchema(contextPath: string): Promise<ExtensibleDeviceRegistrationSchema>;
|
|
11
|
-
getDeviceRegistrationProviders(): ExtensibleDeviceRegistrationProvider[]
|
|
13
|
+
getDeviceRegistrationProviders(): Promise<ExtensibleDeviceRegistrationProvider[]>;
|
|
12
14
|
registerDevice(contextPath: string, model: any): Promise<IResult<any>>;
|
|
13
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<ExtensibleDeviceRegistrationService, never>;
|
|
14
16
|
static ɵprov: i0.ɵɵInjectableDeclaration<ExtensibleDeviceRegistrationService>;
|