UNPKG

@c8y/ngx-components

Version:

Angular modules for Cumulocity IoT applications

38 lines 1.95 kB
import { OnDestroy, OnInit } from '@angular/core'; import { ActivatedRoute } from '@angular/router'; import { IManagedObject, IOperation, IResultList, OperationService } from '@c8y/client'; import { AlertService, ManagedObjectRealtimeService, OperationRealtimeService } from '@c8y/ngx-components'; import { BsModalService } from 'ngx-bootstrap/modal'; import { BehaviorSubject, Observable } from 'rxjs'; import { Command, DeliveryType, DeviceShellService } from '../shared'; import * as i0 from "@angular/core"; export declare class DeviceShellComponent implements OnInit, OnDestroy { service: DeviceShellService; operationRealtime: OperationRealtimeService; private moRealtime; private operationService; private route; private modalService; private alertService; device: IManagedObject; device$: Observable<IManagedObject>; deliveryTypes: Array<DeliveryType & { isSupportedByCommand?: boolean; }>; command: Command; smsEnabled: boolean; sendingCommand$: BehaviorSubject<boolean>; operations: IResultList<IOperation>; filterPipe: import("rxjs").UnaryFunction<Observable<IOperation[]>, Observable<IOperation[]>>; executeViaLabel: "Execute via ({{deliveryType}})"; private destroyed$; constructor(service: DeviceShellService, operationRealtime: OperationRealtimeService, moRealtime: ManagedObjectRealtimeService, operationService: OperationService, route: ActivatedRoute, modalService: BsModalService, alertService: AlertService); ngOnInit(): Promise<void>; getPredefinedCommand(): void; resetSupportedDeliveryTypes(): void; execute(commandDeliveryType: any): Promise<void>; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration<DeviceShellComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<DeviceShellComponent, "c8y-device-shell", never, {}, {}, never, never, false, never>; } //# sourceMappingURL=shell.component.d.ts.map