@c8y/ngx-components
Version:
Angular modules for Cumulocity IoT applications
35 lines (32 loc) • 1.65 kB
TypeScript
import * as rxjs from 'rxjs';
import { BehaviorSubject, Observable } from 'rxjs';
import { Router } from '@angular/router';
import { IResultList, IManagedObject, InventoryService } from '@c8y/client';
import { ModalService, AlertService } from '@c8y/ngx-components';
import { TranslateService } from '@ngx-translate/core';
import { DatapointParserService } from '@c8y/ngx-components/datapoint-library/services';
import * as i0 from '@angular/core';
declare class DatapointLibraryListComponent {
private inventory;
private router;
private modalService;
private translateService;
private alertService;
private parser;
readonly title: "Data point library";
listClass: string;
isLoading: boolean;
reload$: BehaviorSubject<void>;
datapoints$: Observable<IResultList<IManagedObject>>;
parsePipe: rxjs.UnaryFunction<Observable<IManagedObject[]>, Observable<IManagedObject[]>>;
constructor(inventory: InventoryService, router: Router, modalService: ModalService, translateService: TranslateService, alertService: AlertService, parser: DatapointParserService);
getDatapoints(): Promise<IResultList<IManagedObject>>;
addDatapointEntry(): void;
editDatapointEntry(entry: IManagedObject): void;
removeDatapointEntry(entry: IManagedObject): Promise<void>;
reload(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<DatapointLibraryListComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<DatapointLibraryListComponent, "c8y-datapoint-library-list", never, {}, {}, never, never, true, never>;
}
export { DatapointLibraryListComponent };
//# sourceMappingURL=index.d.ts.map