@c8y/ngx-components
Version:
Angular modules for Cumulocity IoT applications
29 lines • 1.46 kB
TypeScript
import { EventEmitter } from '@angular/core';
import { Observable, BehaviorSubject } from 'rxjs';
import { IResultList, IManagedObject } from '@c8y/client';
import { TranslateService } from '@ngx-translate/core';
import { DeviceProfileService } from '@c8y/ngx-components/device-profile';
import * as i0 from "@angular/core";
export declare class SelectDeviceProfileStepComponent {
private deviceProfileService;
private translate;
deviceProfile: EventEmitter<IManagedObject>;
textFilter$: BehaviorSubject<string>;
deviceType$: BehaviorSubject<string>;
readonly DEVICE_TYPE_NOT_DEFINED: "Device type not defined";
deviceTypes: any[];
selectedDeviceType: {
name: string;
};
deviceProfile$: Observable<IResultList<IManagedObject>>;
private deviceTypeSubscription;
constructor(deviceProfileService: DeviceProfileService, translate: TranslateService);
loadDeviceTypes(): void;
ngOnDestroy(): void;
selectDeviceProfile(deviceProfile: IManagedObject): void;
getDeviceTypeTitle(deviceProfile: IManagedObject): string;
private getDeviceProfiles;
static ɵfac: i0.ɵɵFactoryDeclaration<SelectDeviceProfileStepComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<SelectDeviceProfileStepComponent, "c8y-select-device-profile-step", never, {}, { "deviceProfile": "deviceProfile"; }, never, never, false, never>;
}
//# sourceMappingURL=select-device-profile-step.component.d.ts.map