import * as i0 from '@angular/core'; import { OnInit, ViewContainerRef, OnDestroy, ModuleWithProviders } from '@angular/core'; import { InventoryService } from '@c8y/client'; import * as i2 from '@c8y/ngx-components'; import { ContextRouteService, AlertService, ActionBarFactory, ActionBarItem, ExtensionFactory, Tab, Permissions, OptionsService } from '@c8y/ngx-components'; import { MapDefaultConfig } from '@c8y/options'; import * as i3 from '@angular/router'; import { Router, ActivatedRoute } from '@angular/router'; import { Observable } from 'rxjs'; import * as i1 from '@c8y/ngx-components/map'; import { PositionManagedObject, MapConfig, MapComponent } from '@c8y/ngx-components/map'; declare class AddLocationComponent implements OnInit { private inventoryService; private contextRouteService; private defaultConfig$; private router; private alertService; private vcRef; templateCopy: any; constructor(inventoryService: InventoryService, contextRouteService: ContextRouteService, defaultConfig$: Observable, router: Router, alertService: AlertService, vcRef: ViewContainerRef); ngOnInit(): void; onClick(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class AddLocationFactory implements ActionBarFactory { private contextRouteService; private action; constructor(contextRouteService: ContextRouteService); get(activatedRoute?: ActivatedRoute): ActionBarItem; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class LocationTabFactory implements ExtensionFactory { private contextRouteService; constructor(contextRouteService: ContextRouteService); get(activatedRoute: ActivatedRoute): Tab[]; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class LocationComponent implements OnInit, OnDestroy { private contextRouteService; private activatedRoute; private inventoryService; private permissions; private optionsService; private alertService; position: PositionManagedObject; originalPosition: PositionManagedObject; isEdit: boolean; canEdit: boolean; config: MapConfig; addressSearchTerm: string; hideAddressSearchFeature: boolean; private destroy$; private mapNominatimUrl; map: MapComponent; constructor(contextRouteService: ContextRouteService, activatedRoute: ActivatedRoute, inventoryService: InventoryService, permissions: Permissions, optionsService: OptionsService, alertService: AlertService); ngOnInit(): void; updateMap(): Promise; toggleRealtime(): void; disableRealtime(): void; centerMap(): void; edit(): void; cancel(): void; save(): Promise; positionChanged(position: PositionManagedObject): void; searchAddress(searchTerm: string): Promise; updateMarkerPosition(): void; ngOnDestroy(): void; private enableMarkerDragging; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } interface LocationConfiguration { /** * If set to true, the user has the possibility to add a location to a device. */ addLocation: boolean; } declare class LocationRouteModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } declare class LocationTabModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } /** * @deprecated has been splitted into `LocationTabModule` and `AddLocationModule`. */ declare class LocationModule { /** * * @deprecated use the `LocationTabModule` and optionally `AddLocationModule` instead. */ static config(config?: LocationConfiguration): ModuleWithProviders; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } declare class AddLocationModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } export { AddLocationComponent, AddLocationFactory, AddLocationModule, LocationComponent, LocationModule, LocationRouteModule, LocationTabFactory, LocationTabModule }; //# sourceMappingURL=index.d.ts.map