@c8y/ngx-components 1017.0.170 → 1017.0.171

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@c8y/ngx-components",
3
- "version": "1017.0.170",
3
+ "version": "1017.0.171",
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.170",
25
+ "@c8y/client": "1017.0.171",
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",
@@ -0,0 +1,4 @@
1
+ import { ITrustedCertificate } from '@c8y/client';
2
+ export interface TrustedCertificate extends ITrustedCertificate {
3
+ signedVerificationCode?: string;
4
+ }
@@ -1,9 +1,10 @@
1
1
  import { OnInit } from '@angular/core';
2
2
  import { AlertService, ClipboardService, ModalService } from '@c8y/ngx-components';
3
3
  import { BsModalService } from 'ngx-bootstrap/modal';
4
- import { ITrustedCertificate, TrustedCertificateService, IResultList } from '@c8y/client';
4
+ import { IResultList, ITrustedCertificate, TrustedCertificateService } from '@c8y/client';
5
5
  import { TranslateService } from '@ngx-translate/core';
6
6
  import { BehaviorSubject, Observable } from 'rxjs';
7
+ import { TrustedCertificate } from './trusted-certificate.model';
7
8
  import * as i0 from "@angular/core";
8
9
  export declare class TrustedCertificatesComponent implements OnInit {
9
10
  private bsModal;
@@ -28,10 +29,10 @@ export declare class TrustedCertificatesComponent implements OnInit {
28
29
  updateCertificate(trustedCertificate: ITrustedCertificate, updatingPart: Partial<ITrustedCertificate>): Promise<void>;
29
30
  highlightDependingOnExpirationStatus(item: ITrustedCertificate): "text-danger" | "text-warning" | "";
30
31
  regenerateUnsignedVerificationCode(trustedCertificate: ITrustedCertificate): void;
31
- verifySignedVerificationCode(trustedCertificate: ITrustedCertificate, signedVerificationCode: string): void;
32
+ verifySignedVerificationCode(trustedCertificate: TrustedCertificate): void;
32
33
  downloadUnsignedVerificationCode(trustedCertificate: ITrustedCertificate): void;
33
34
  copyUnsignedVerificationCodeToClipboard(trustedCertificate: ITrustedCertificate): void;
34
- onFileInput(event: any): void;
35
+ onFileInput(event: any, trustedCertificate: TrustedCertificate): void;
35
36
  static ɵfac: i0.ɵɵFactoryDeclaration<TrustedCertificatesComponent, never>;
36
37
  static ɵcmp: i0.ɵɵComponentDeclaration<TrustedCertificatesComponent, "c8y-trusted-certificates", never, {}, {}, never, never, false>;
37
38
  }