import { OnInit, OnDestroy } from '@angular/core'; import { NGXLogger } from 'ngx-logger'; import { Observable, Subscription } from 'rxjs'; import { MessageService } from 'primeng/api'; import { AcabimProject, AcabimSite, CapApiService, GenericPayloadModel, LandApiService, LandBuildingInfo, LandPropertyParcelInfo, LandTopoInfo, LocationInfo, MapConfig, ProjectApiService, ReportService, SiteApiService, SubdivisionCalculationService, SubDivisionCalculationZone } from '@cas-hub/acabim-common-client'; import { CapGetVariableResponse } from '@cas-hub/acabim-common-client/lib/_models/cap.model'; import { PostcodeService } from '../../_services/postcode.service'; import { RegionFromPostcode, AllRegions } from '../../_models/postcode.model'; import { Store } from '@ngrx/store'; import { SubdivisionCalculationModel } from '../../_models/subdivision-calculation.model'; import { SubdivisionUtilitiesClass } from '../../_store/subdivision/subdivision-utilities.class'; import { SiteCacheManager } from '../../_services/site-cache-manager.service'; import * as i0 from "@angular/core"; interface AuditResultData { readonly name: string; result: any; } export declare class LandDevelopmentComponent implements OnInit, OnDestroy { private readonly landApiService; private readonly messageService; private readonly postcodeService; private readonly reportApiService; private readonly subdivisionCalculationService; private readonly subdivisionUtilitiesService; private store; protected readonly capApiService: CapApiService; protected readonly logger: NGXLogger; protected readonly projectApiService: ProjectApiService; protected readonly siteApiService: SiteApiService; protected readonly siteCacheManager: SiteCacheManager; isZoningCardCollapsed: boolean; _designParams?: CapGetVariableResponse; _initiallySelectedSites: AcabimSite[]; _selectedSites: AcabimSite[]; _selectedZone: SubDivisionCalculationZone | null; calculationData$: Observable; calculationDataPayload: GenericPayloadModel[]; calculations: SubdivisionCalculationModel | null; changeZoneLookup: string; coords?: number[][]; currentBuildingData?: LandBuildingInfo; currentId?: string; currentLocation?: LocationInfo; currentParcel?: LandPropertyParcelInfo; currentSiteId?: string; currentTopoData?: LandTopoInfo; designParamLoading: boolean; designParamsData: AuditResultData[]; financeDataPayload: GenericPayloadModel[]; hideZone: boolean | undefined; isCollapsed: boolean; landForm: any; landscapedAreaRatio: number; loadingBuildingData: boolean; loadingParcel: boolean; loadingTopoData: boolean; lotNumberDataPayload: GenericPayloadModel[]; mapConfig?: MapConfig; maxParkingRate?: string; nzPlanningRegions: AllRegions[]; pendingReport: boolean; planningZones: { key: string; value: string; }[]; postcode: string | null; private postcodeServiceSub; private projectServiceSub; private regionsServiceSub; private siteServiceSub; private unsubscribe$; selectedProject?: AcabimProject | null; selectedRegion: any; selectedRegionFromPostcode: RegionFromPostcode | null; selectedSite?: AcabimSite | null; selectedZone?: any; siteAndProject?: { site: string; project: string; }; siteArea?: number; subCalculationData: Subscription; aupZones: { key: string; value: string; }[]; bayOfPlentyZones: { key: string; value: string; }[]; canterburyZones: { key: string; value: string; }[]; franklinZones: { key: string; value: string; }[]; gisborneZones: { key: string; value: string; }[]; hawkesBayZones: { key: string; value: string; }[]; marlboroughZones: { key: string; value: string; }[]; manawatuWanganuiZones: { key: string; value: string; }[]; northlandZones: { key: string; value: string; }[]; otagoZones: { key: string; value: string; }[]; ruapehuZones: { key: string; value: string; }[]; southWaikatoZones: { key: string; value: string; }[]; taranakiZones: { key: string; value: string; }[]; taurangaZones: { key: string; value: string; }[]; waikatoZones: { key: string; value: string; }[]; wellingtonZones: { key: string; value: string; }[]; westCoastZones: { key: string; value: string; }[]; constructor(landApiService: LandApiService, messageService: MessageService, postcodeService: PostcodeService, reportApiService: ReportService, subdivisionCalculationService: SubdivisionCalculationService, subdivisionUtilitiesService: SubdivisionUtilitiesClass, store: Store, capApiService: CapApiService, logger: NGXLogger, projectApiService: ProjectApiService, siteApiService: SiteApiService, siteCacheManager: SiteCacheManager); ngOnInit(): void; ngOnDestroy(): void; private refreshCap; protected get name(): string; protected onProjectChanged(project?: AcabimProject): void; protected onSiteChanged(site?: AcabimSite | null): void; getDevelopmentPlanningReport(): void; changeTabEvent($event: string): void; changeZone(): void; updateSelectedSites($event: AcabimSite[]): void; setZone($event: SubDivisionCalculationZone | undefined): void; setSites($event: AcabimSite[] | undefined): void; displayZonesSelection(value?: any | null): void; handleRegionDetails(regionKey: string): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } export {};