@c8y/ngx-components 1018.503.23 → 1018.503.37
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/api/services.d.ts +1 -1
- package/core/forms/validation-pattern.d.ts +4 -0
- package/device-grid/device-grid.component.d.ts +7 -2
- package/esm2020/api/services.mjs +2 -2
- package/esm2020/child-devices/child-devices.component.mjs +1 -1
- package/esm2020/core/bootstrap/bootstrap.component.mjs +3 -3
- package/esm2020/core/dynamic-forms/json-schema/c8y-json-schema.service.mjs +8 -2
- package/esm2020/core/forms/validation-pattern.mjs +5 -1
- package/esm2020/device-grid/device-grid-extension.service.mjs +13 -8
- package/esm2020/device-grid/device-grid.component.mjs +30 -15
- package/esm2020/device-list/device-list.component.mjs +1 -1
- package/esm2020/operations/device-selector/device-selector.component.mjs +1 -1
- package/esm2020/replace-device-wizard/replace-device-wizard.component.mjs +2 -2
- package/esm2020/sub-assets/add-group/add-group.component.mjs +4 -3
- package/esm2020/sub-assets/asset-properties-item.component.mjs +7 -3
- package/esm2020/sub-assets/asset-properties.component.mjs +25 -10
- package/esm2020/sub-assets/assign-devices/assign-devices.component.mjs +4 -3
- package/esm2020/sub-assets/location/asset-location.component.mjs +5 -3
- package/esm2020/trusted-certificates/crl/crl-check-settings.component.mjs +39 -0
- package/esm2020/trusted-certificates/crl/crl-settings.component.mjs +109 -0
- package/esm2020/trusted-certificates/crl/crl-settings.module.mjs +46 -0
- package/esm2020/trusted-certificates/factories/tabs.factory.mjs +36 -0
- package/esm2020/trusted-certificates/factories/trusted-certificates-navigation.factory.mjs +26 -0
- package/esm2020/trusted-certificates/index.mjs +4 -4
- package/esm2020/trusted-certificates/{add-trusted-certificate.component.mjs → list/add-trusted-certificate.component.mjs} +1 -1
- package/esm2020/trusted-certificates/list/trusted-certificate-list.component.mjs +184 -0
- package/esm2020/trusted-certificates/list/trusted-certificate-list.module.mjs +54 -0
- package/esm2020/trusted-certificates/list/trusted-certificate.model.mjs +36 -0
- package/esm2020/trusted-certificates/trusted-certificates.module.mjs +24 -35
- package/fesm2015/c8y-ngx-components-api.mjs +3 -2
- package/fesm2015/c8y-ngx-components-api.mjs.map +1 -1
- package/fesm2015/c8y-ngx-components-child-devices.mjs +1 -1
- package/fesm2015/c8y-ngx-components-child-devices.mjs.map +1 -1
- package/fesm2015/c8y-ngx-components-device-grid.mjs +41 -21
- package/fesm2015/c8y-ngx-components-device-grid.mjs.map +1 -1
- package/fesm2015/c8y-ngx-components-device-list.mjs +1 -1
- package/fesm2015/c8y-ngx-components-device-list.mjs.map +1 -1
- package/fesm2015/c8y-ngx-components-operations-device-selector.mjs +1 -1
- package/fesm2015/c8y-ngx-components-operations-device-selector.mjs.map +1 -1
- package/fesm2015/c8y-ngx-components-replace-device-wizard.mjs +1 -1
- package/fesm2015/c8y-ngx-components-replace-device-wizard.mjs.map +1 -1
- package/fesm2015/c8y-ngx-components-sub-assets.mjs +39 -18
- package/fesm2015/c8y-ngx-components-sub-assets.mjs.map +1 -1
- package/fesm2015/c8y-ngx-components-trusted-certificates.mjs +329 -86
- package/fesm2015/c8y-ngx-components-trusted-certificates.mjs.map +1 -1
- package/fesm2015/c8y-ngx-components.mjs +10 -3
- package/fesm2015/c8y-ngx-components.mjs.map +1 -1
- package/fesm2020/c8y-ngx-components-api.mjs +3 -2
- package/fesm2020/c8y-ngx-components-api.mjs.map +1 -1
- package/fesm2020/c8y-ngx-components-child-devices.mjs +1 -1
- package/fesm2020/c8y-ngx-components-child-devices.mjs.map +1 -1
- package/fesm2020/c8y-ngx-components-device-grid.mjs +41 -21
- package/fesm2020/c8y-ngx-components-device-grid.mjs.map +1 -1
- package/fesm2020/c8y-ngx-components-device-list.mjs +1 -1
- package/fesm2020/c8y-ngx-components-device-list.mjs.map +1 -1
- package/fesm2020/c8y-ngx-components-operations-device-selector.mjs +1 -1
- package/fesm2020/c8y-ngx-components-operations-device-selector.mjs.map +1 -1
- package/fesm2020/c8y-ngx-components-replace-device-wizard.mjs +1 -1
- package/fesm2020/c8y-ngx-components-replace-device-wizard.mjs.map +1 -1
- package/fesm2020/c8y-ngx-components-sub-assets.mjs +38 -17
- package/fesm2020/c8y-ngx-components-sub-assets.mjs.map +1 -1
- package/fesm2020/c8y-ngx-components-trusted-certificates.mjs +314 -85
- package/fesm2020/c8y-ngx-components-trusted-certificates.mjs.map +1 -1
- package/fesm2020/c8y-ngx-components.mjs +13 -3
- package/fesm2020/c8y-ngx-components.mjs.map +1 -1
- package/locales/locales.pot +48 -0
- package/package.json +1 -1
- package/sub-assets/add-group/add-group.component.d.ts +2 -1
- package/sub-assets/asset-properties.component.d.ts +6 -0
- package/sub-assets/assign-devices/assign-devices.component.d.ts +2 -1
- package/trusted-certificates/crl/crl-check-settings.component.d.ts +18 -0
- package/trusted-certificates/crl/crl-settings.component.d.ts +28 -0
- package/trusted-certificates/crl/crl-settings.module.d.ts +13 -0
- package/trusted-certificates/factories/tabs.factory.d.ts +10 -0
- package/trusted-certificates/index.d.ts +3 -3
- package/trusted-certificates/{trusted-certificates.component.d.ts → list/trusted-certificate-list.component.d.ts} +4 -4
- package/trusted-certificates/list/trusted-certificate-list.module.d.ts +15 -0
- package/trusted-certificates/trusted-certificates.module.d.ts +4 -10
- package/esm2020/trusted-certificates/trusted-certificate.model.mjs +0 -36
- package/esm2020/trusted-certificates/trusted-certificates-navigation.factory.mjs +0 -26
- package/esm2020/trusted-certificates/trusted-certificates.component.mjs +0 -184
- /package/trusted-certificates/{trusted-certificates-navigation.factory.d.ts → factories/trusted-certificates-navigation.factory.d.ts} +0 -0
- /package/trusted-certificates/{add-trusted-certificate.component.d.ts → list/add-trusted-certificate.component.d.ts} +0 -0
- /package/trusted-certificates/{trusted-certificate.model.d.ts → list/trusted-certificate.model.d.ts} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ElementRef, EventEmitter } from '@angular/core';
|
|
2
2
|
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
3
|
-
import { AlertService, C8yStepper, GainsightService, Pagination, Permissions } from '@c8y/ngx-components';
|
|
3
|
+
import { AlertService, BuiltInActionType, C8yStepper, GainsightService, 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';
|
|
@@ -89,6 +89,7 @@ export declare class AddGroupComponent {
|
|
|
89
89
|
};
|
|
90
90
|
};
|
|
91
91
|
};
|
|
92
|
+
builtInActionsToHide: BuiltInActionType[];
|
|
92
93
|
readonly ITEMS_SELECT_LIMIT: number;
|
|
93
94
|
readonly btnLabels: {
|
|
94
95
|
next: "Next";
|
|
@@ -20,10 +20,16 @@ export declare class AssetPropertiesComponent implements OnChanges {
|
|
|
20
20
|
loadAsset(): Promise<void>;
|
|
21
21
|
resolveCustomProperties(managedObjects: IManagedObject[]): Promise<any[]>;
|
|
22
22
|
deleteTitleFromMOJsonSchema(mo: IManagedObject): void;
|
|
23
|
+
/**
|
|
24
|
+
* This method is used to order the complex properties in the order specified by the user in asset properties screen.
|
|
25
|
+
* @param mo - Managed object of the complex property associated with the asset.
|
|
26
|
+
*/
|
|
27
|
+
orderComplexProperties(mo: IManagedObject): void;
|
|
23
28
|
parseItem(mo: IManagedObject, properties: any, asset: any): Promise<AssetPropertiesItem[]>;
|
|
24
29
|
toggleEdit(prop: AssetPropertiesItem): void;
|
|
25
30
|
getFileManagedObject(id: string): Promise<IManagedObject>;
|
|
26
31
|
save(propertyValue: any, prop: AssetPropertiesItem): Promise<void>;
|
|
32
|
+
private updateUndefinedToNull;
|
|
27
33
|
private keepOrder;
|
|
28
34
|
private uploadFiles;
|
|
29
35
|
private setItemRequired;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EventEmitter, TemplateRef } from '@angular/core';
|
|
2
2
|
import { IManagedObject, InventoryService } from '@c8y/client';
|
|
3
|
-
import { ActionControl, AlertService, GainsightService, HeaderActionControl, Pagination, UserPreferencesGridConfigContext } from '@c8y/ngx-components';
|
|
3
|
+
import { ActionControl, AlertService, BuiltInActionType, GainsightService, HeaderActionControl, Pagination, UserPreferencesGridConfigContext } from '@c8y/ngx-components';
|
|
4
4
|
import { SubAssetsService } from '../sub-assets.service';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class AssignDevicesComponent {
|
|
@@ -88,6 +88,7 @@ export declare class AssignDevicesComponent {
|
|
|
88
88
|
actionControls: ActionControl[];
|
|
89
89
|
headerActionControls: HeaderActionControl[];
|
|
90
90
|
showChildren: boolean;
|
|
91
|
+
builtInActionsToHide: BuiltInActionType[];
|
|
91
92
|
readonly isSelectable = true;
|
|
92
93
|
constructor(alert: AlertService, subAssetsService: SubAssetsService, inventoryService: InventoryService, gainsightService: GainsightService);
|
|
93
94
|
onEnterKeyDown(_event: KeyboardEvent): void;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { ITenantOption, TenantOptionsService } from '@c8y/client';
|
|
3
|
+
import { AlertService, OptionsService } from '@c8y/ngx-components';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class CrlCheckSettingsComponent implements OnInit {
|
|
6
|
+
private optionsService;
|
|
7
|
+
private tenantOptionsService;
|
|
8
|
+
private alertService;
|
|
9
|
+
crlCheck: {
|
|
10
|
+
online: boolean;
|
|
11
|
+
offline: boolean;
|
|
12
|
+
};
|
|
13
|
+
constructor(optionsService: OptionsService, tenantOptionsService: TenantOptionsService, alertService: AlertService);
|
|
14
|
+
ngOnInit(): Promise<void>;
|
|
15
|
+
updateTenantOption(tenantOption: ITenantOption): Promise<void>;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CrlCheckSettingsComponent, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CrlCheckSettingsComponent, "c8y-crl-check-settings", never, {}, {}, never, never, false, never>;
|
|
18
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { CrlService, ICertificateRevocation } from '@c8y/client';
|
|
2
|
+
import { AlertService, DroppedFile, ModalService } from '@c8y/ngx-components';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class CrlSettingsComponent {
|
|
5
|
+
private crlService;
|
|
6
|
+
private alertService;
|
|
7
|
+
private modalService;
|
|
8
|
+
crls: ICertificateRevocation[];
|
|
9
|
+
droppedFiles: DroppedFile[];
|
|
10
|
+
today: Date;
|
|
11
|
+
MANUAL_ENTRY_POPOVER: "In this section, you can override or add individual entries to the Certificate Revocation List. Providing the serial number is mandatory. In case the revocation date is not set, it will be configured to the current date.";
|
|
12
|
+
FILE_UPLOAD_POPOVER: "In this section, you can upload a file containing a revocation list for certificates. The file must be in CSV format, and it should include the serial number and revocation date. If the revocation date is empty, it will be set to the current date.";
|
|
13
|
+
constructor(crlService: CrlService, alertService: AlertService, modalService: ModalService);
|
|
14
|
+
downloadCrl(): Promise<void>;
|
|
15
|
+
downloadCrlTemplate(): void;
|
|
16
|
+
addCertificateRevocation(): void;
|
|
17
|
+
removeCertificateRevocation(certificateRevocation: any): void;
|
|
18
|
+
save(): Promise<void>;
|
|
19
|
+
get isListEmpty(): any;
|
|
20
|
+
get isFileDropped(): boolean;
|
|
21
|
+
private confirm;
|
|
22
|
+
private clearSavedData;
|
|
23
|
+
private saveCrls;
|
|
24
|
+
private uploadCrlFile;
|
|
25
|
+
private getEmptyCertificateRevocation;
|
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CrlSettingsComponent, never>;
|
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CrlSettingsComponent, "c8y-crl-settings", never, {}, {}, never, never, false, never>;
|
|
28
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./crl-settings.component";
|
|
3
|
+
import * as i2 from "./crl-check-settings.component";
|
|
4
|
+
import * as i3 from "@c8y/ngx-components";
|
|
5
|
+
import * as i4 from "@angular/router";
|
|
6
|
+
import * as i5 from "ngx-bootstrap/dropdown";
|
|
7
|
+
import * as i6 from "ngx-bootstrap/datepicker";
|
|
8
|
+
import * as i7 from "ngx-bootstrap/popover";
|
|
9
|
+
export declare class CrlSettingsModule {
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CrlSettingsModule, never>;
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CrlSettingsModule, [typeof i1.CrlSettingsComponent, typeof i2.CrlCheckSettingsComponent], [typeof i3.CoreModule, typeof i3.CommonModule, typeof i4.RouterModule, typeof i5.BsDropdownModule, typeof i6.BsDatepickerModule, typeof i7.PopoverModule], never>;
|
|
12
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<CrlSettingsModule>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Router } from '@angular/router';
|
|
2
|
+
import { Tab, TabFactory } from '@c8y/ngx-components';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class TabsFactory implements TabFactory {
|
|
5
|
+
router: Router;
|
|
6
|
+
constructor(router: Router);
|
|
7
|
+
get(): Tab[];
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TabsFactory, never>;
|
|
9
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TabsFactory>;
|
|
10
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export * from './trusted-certificates.module';
|
|
2
|
-
export * from './trusted-
|
|
3
|
-
export * from './add-trusted-certificate.component';
|
|
4
|
-
export * from './trusted-certificates-navigation.factory';
|
|
2
|
+
export * from './list/trusted-certificate-list.component';
|
|
3
|
+
export * from './list/add-trusted-certificate.component';
|
|
4
|
+
export * from './factories/trusted-certificates-navigation.factory';
|
|
@@ -6,7 +6,7 @@ import { BsModalService } from 'ngx-bootstrap/modal';
|
|
|
6
6
|
import { BehaviorSubject, Observable } from 'rxjs';
|
|
7
7
|
import { TrustedCertificate } from './trusted-certificate.model';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
|
-
export declare class
|
|
9
|
+
export declare class TrustedCertificateListComponent implements OnInit {
|
|
10
10
|
private bsModal;
|
|
11
11
|
private alertService;
|
|
12
12
|
private trustedCertificateService;
|
|
@@ -64,12 +64,12 @@ export declare class TrustedCertificatesComponent implements OnInit {
|
|
|
64
64
|
addTrustedCertificate(): Promise<void>;
|
|
65
65
|
deleteTrustedCertificate(certificate: any): Promise<void>;
|
|
66
66
|
updateCertificate(trustedCertificate: ITrustedCertificate, updatingPart: Partial<ITrustedCertificate>): Promise<void>;
|
|
67
|
-
highlightDependingOnExpirationStatus(item: ITrustedCertificate): "
|
|
67
|
+
highlightDependingOnExpirationStatus(item: ITrustedCertificate): "" | "text-danger" | "text-warning";
|
|
68
68
|
regenerateUnsignedVerificationCode(trustedCertificate: ITrustedCertificate): void;
|
|
69
69
|
verifySignedVerificationCode(trustedCertificate: TrustedCertificate): void;
|
|
70
70
|
downloadUnsignedVerificationCode(trustedCertificate: ITrustedCertificate): void;
|
|
71
71
|
copyUnsignedVerificationCodeToClipboard(trustedCertificate: ITrustedCertificate): void;
|
|
72
72
|
onFileInput(event: any, trustedCertificate: TrustedCertificate): void;
|
|
73
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
74
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
73
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TrustedCertificateListComponent, never>;
|
|
74
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TrustedCertificateListComponent, "c8y-trusted-certificates", never, {}, {}, never, never, false, never>;
|
|
75
75
|
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./trusted-certificate-list.component";
|
|
3
|
+
import * as i2 from "./add-trusted-certificate.component";
|
|
4
|
+
import * as i3 from "@c8y/ngx-components";
|
|
5
|
+
import * as i4 from "@angular/router";
|
|
6
|
+
import * as i5 from "ngx-bootstrap/dropdown";
|
|
7
|
+
import * as i6 from "ngx-bootstrap/tooltip";
|
|
8
|
+
import * as i7 from "@angular/forms";
|
|
9
|
+
import * as i8 from "ngx-bootstrap/buttons";
|
|
10
|
+
import * as i9 from "ngx-bootstrap/popover";
|
|
11
|
+
export declare class TrustedCertificateListModule {
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TrustedCertificateListModule, never>;
|
|
13
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TrustedCertificateListModule, [typeof i1.TrustedCertificateListComponent, typeof i2.AddTrustedCertificateComponent], [typeof i3.CoreModule, typeof i3.CommonModule, typeof i4.RouterModule, typeof i5.BsDropdownModule, typeof i6.TooltipModule, typeof i7.ReactiveFormsModule, typeof i8.ButtonsModule, typeof i9.PopoverModule], never>;
|
|
14
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<TrustedCertificateListModule>;
|
|
15
|
+
}
|
|
@@ -1,15 +1,9 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "
|
|
3
|
-
import * as i2 from "./
|
|
4
|
-
import * as i3 from "
|
|
5
|
-
import * as i4 from "@angular/router";
|
|
6
|
-
import * as i5 from "ngx-bootstrap/dropdown";
|
|
7
|
-
import * as i6 from "ngx-bootstrap/tooltip";
|
|
8
|
-
import * as i7 from "@angular/forms";
|
|
9
|
-
import * as i8 from "ngx-bootstrap/buttons";
|
|
10
|
-
import * as i9 from "ngx-bootstrap/popover";
|
|
2
|
+
import * as i1 from "@angular/router";
|
|
3
|
+
import * as i2 from "./crl/crl-settings.module";
|
|
4
|
+
import * as i3 from "./list/trusted-certificate-list.module";
|
|
11
5
|
export declare class TrustedCertificatesModule {
|
|
12
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<TrustedCertificatesModule, never>;
|
|
13
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<TrustedCertificatesModule, [typeof i1.
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TrustedCertificatesModule, never, [typeof i1.RouterModule, typeof i2.CrlSettingsModule, typeof i3.TrustedCertificateListModule], never>;
|
|
14
8
|
static ɵinj: i0.ɵɵInjectorDeclaration<TrustedCertificatesModule>;
|
|
15
9
|
}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
export const PRODUCT_EXPERIENCE = {
|
|
2
|
-
EVENT: 'trustedCertificate',
|
|
3
|
-
CERTIFICATES: {
|
|
4
|
-
COMPONENTS: {
|
|
5
|
-
TRUSTED_CERTIFICATE: 'trusted-certificate'
|
|
6
|
-
},
|
|
7
|
-
ACTIONS: {
|
|
8
|
-
ADD: 'add',
|
|
9
|
-
UPDATE: 'update',
|
|
10
|
-
DELETE: 'delete'
|
|
11
|
-
},
|
|
12
|
-
RESULTS: {
|
|
13
|
-
ADD_SUCCESS: 'certificateAdded',
|
|
14
|
-
UPDATE_SUCCESS: 'certificateUpdated',
|
|
15
|
-
DELETE_SUCCESS: 'certificateDeleted'
|
|
16
|
-
}
|
|
17
|
-
},
|
|
18
|
-
VERIFICATION_CODE: {
|
|
19
|
-
COMPONENTS: {
|
|
20
|
-
REGENERATE_CODE: 'regenerate-unsigned-verification-code',
|
|
21
|
-
VERIFY_CODE: 'verify-signed-verification-code',
|
|
22
|
-
DOWNLOAD_CODE: 'download-unsigned-verification-code'
|
|
23
|
-
},
|
|
24
|
-
ACTIONS: {
|
|
25
|
-
REGENERATE: 'regenerate',
|
|
26
|
-
VERIFY: 'verify',
|
|
27
|
-
DOWNLOAD: 'download'
|
|
28
|
-
},
|
|
29
|
-
RESULTS: {
|
|
30
|
-
REGENERATE_SUCCESS: 'unsignedVerificationCodeRegenerated',
|
|
31
|
-
VERIFY_SUCCESS: 'signedCodeVerified',
|
|
32
|
-
VERIFY_FAILED: 'signedCodeVerificationFailed'
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
};
|
|
36
|
-
//# sourceMappingURL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gICAgfSxcbiAgICBBQ1RJT05TOiB7XG4gICAgICBSRUdFTkVSQVRFOiAncmVnZW5lcmF0ZScsXG4gICAgICBWRVJJRlk6ICd2ZXJpZnknLFxuICAgICAgRE9XTkxPQUQ6ICdkb3dubG9hZCdcbiAgICB9LFxuICAgIFJFU1VMVFM6IHtcbiAgICAgIFJFR0VORVJBVEVfU1VDQ0VTUzogJ3Vuc2lnbmVkVmVyaWZpY2F0aW9uQ29kZVJlZ2VuZXJhdGVkJyxcbiAgICAgIFZFUklGWV9TVUNDRVNTOiAnc2lnbmVkQ29kZVZlcmlmaWVkJyxcbiAgICAgIFZFUklGWV9GQUlMRUQ6ICdzaWduZWRDb2RlVmVyaWZpY2F0aW9uRmFpbGVkJ1xuICAgIH1cbiAgfVxufTtcbiJdfQ==
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { Injectable } from '@angular/core';
|
|
2
|
-
import { gettext, NavigatorNode } from '@c8y/ngx-components';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export class TrustedCertificatesNavigationFactory {
|
|
5
|
-
constructor() {
|
|
6
|
-
this.navs = [];
|
|
7
|
-
}
|
|
8
|
-
async get() {
|
|
9
|
-
if (this.navs.length === 0) {
|
|
10
|
-
this.navs.push(new NavigatorNode({
|
|
11
|
-
label: gettext('Trusted certificates'),
|
|
12
|
-
icon: 'certificate',
|
|
13
|
-
path: '/trusted-certificates',
|
|
14
|
-
parent: gettext('Management'),
|
|
15
|
-
priority: 100
|
|
16
|
-
}));
|
|
17
|
-
}
|
|
18
|
-
return this.navs;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
TrustedCertificatesNavigationFactory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: TrustedCertificatesNavigationFactory, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
22
|
-
TrustedCertificatesNavigationFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: TrustedCertificatesNavigationFactory });
|
|
23
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: TrustedCertificatesNavigationFactory, decorators: [{
|
|
24
|
-
type: Injectable
|
|
25
|
-
}] });
|
|
26
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJ1c3RlZC1jZXJ0aWZpY2F0ZXMtbmF2aWdhdGlvbi5mYWN0b3J5LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vdHJ1c3RlZC1jZXJ0aWZpY2F0ZXMvdHJ1c3RlZC1jZXJ0aWZpY2F0ZXMtbmF2aWdhdGlvbi5mYWN0b3J5LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDM0MsT0FBTyxFQUFFLE9BQU8sRUFBRSxhQUFhLEVBQXdCLE1BQU0scUJBQXFCLENBQUM7O0FBR25GLE1BQU0sT0FBTyxvQ0FBb0M7SUFEakQ7UUFFRSxTQUFJLEdBQW9CLEVBQUUsQ0FBQztLQWdCNUI7SUFkQyxLQUFLLENBQUMsR0FBRztRQUNQLElBQUksSUFBSSxDQUFDLElBQUksQ0FBQyxNQUFNLEtBQUssQ0FBQyxFQUFFO1lBQzFCLElBQUksQ0FBQyxJQUFJLENBQUMsSUFBSSxDQUNaLElBQUksYUFBYSxDQUFDO2dCQUNoQixLQUFLLEVBQUUsT0FBTyxDQUFDLHNCQUFzQixDQUFDO2dCQUN0QyxJQUFJLEVBQUUsYUFBYTtnQkFDbkIsSUFBSSxFQUFFLHVCQUF1QjtnQkFDN0IsTUFBTSxFQUFFLE9BQU8sQ0FBQyxZQUFZLENBQUM7Z0JBQzdCLFFBQVEsRUFBRSxHQUFHO2FBQ2QsQ0FBQyxDQUNILENBQUM7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