import * as i0 from '@angular/core'; import { OnInit, EventEmitter, OnChanges, OnDestroy, SimpleChanges } from '@angular/core'; import * as _ngrx_store from '@ngrx/store'; import { Store } from '@ngrx/store'; import * as rxjs from 'rxjs'; import { Observable, BehaviorSubject, Subscription } from 'rxjs'; import * as _loxia_imx_viewer from '@loxia/imx-viewer'; import { SelectieInfo, SvgInfo, ImxViewerComponent, PopoverInfo, SelectieEvent } from '@loxia/imx-viewer'; import { HttpParameterCodec, HttpHeaders, HttpClient, HttpContext, HttpResponse, HttpEvent } from '@angular/common/http'; import * as i11 from '@angular/common'; import * as i13 from '@loxia/rijwegen'; import * as i15 from '@ngrx/effects'; declare enum Severity { ERROR = "error", WARNING = "warning", NOTIFICATION = "notification", INFORMATION = "information", SUCCESS = "success" } declare class Message { readonly severity: Severity; readonly text: string; readonly timeout: number; constructor(severity: Severity, text: string, timeout?: number); } declare class MessageComponent implements OnInit { message: Message; onClearMessage: EventEmitter; ngOnInit(): void; closeMessage(event: MouseEvent): void; get severity(): string; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class ProgressIndicator { lowerText: string; upperText: string; iconClass: string; constructor(lowerText?: string, upperText?: string, iconClass?: string); } /** * Standard parameter styles defined by OpenAPI spec */ type StandardParamStyle = 'matrix' | 'label' | 'form' | 'simple' | 'spaceDelimited' | 'pipeDelimited' | 'deepObject'; /** * The OpenAPI standard {@link StandardParamStyle}s may be extended by custom styles by the user. */ type ParamStyle = StandardParamStyle | string; /** * Standard parameter locations defined by OpenAPI spec */ type ParamLocation = 'query' | 'header' | 'path' | 'cookie'; /** * Standard types as defined in OpenAPI Specification: Data Types */ type StandardDataType = "integer" | "number" | "boolean" | "string" | "object" | "array"; /** * Standard {@link DataType}s plus your own types/classes. */ type DataType = StandardDataType | string; /** * Standard formats as defined in OpenAPI Specification: Data Types */ type StandardDataFormat = "int32" | "int64" | "float" | "double" | "byte" | "binary" | "date" | "date-time" | "password"; type DataFormat = StandardDataFormat | string; /** * The parameter to encode. */ interface Param { name: string; value: unknown; in: ParamLocation; style: ParamStyle; explode: boolean; dataType: DataType; dataFormat: DataFormat | undefined; } interface ConfigurationParameters { /** * @deprecated Since 5.0. Use credentials instead */ apiKeys?: { [key: string]: string; }; username?: string; password?: string; /** * @deprecated Since 5.0. Use credentials instead */ accessToken?: string | (() => string); basePath?: string; withCredentials?: boolean; /** * Takes care of encoding query- and form-parameters. */ encoder?: HttpParameterCodec; /** * Override the default method for encoding path parameters in various * styles. *

* See {@link README.md} for more details *

*/ encodeParam?: (param: Param) => string; /** * The keys are the names in the securitySchemes section of the OpenAPI * document. They should map to the value used for authentication * minus any standard prefixes such as 'Basic' or 'Bearer'. */ credentials?: { [key: string]: string | (() => string | undefined); }; } declare class Configuration { /** * @deprecated Since 5.0. Use credentials instead */ apiKeys?: { [key: string]: string; }; username?: string; password?: string; /** * @deprecated Since 5.0. Use credentials instead */ accessToken?: string | (() => string); basePath?: string; withCredentials?: boolean; /** * Takes care of encoding query- and form-parameters. */ encoder?: HttpParameterCodec; /** * Encoding of various path parameter * styles. *

* See {@link README.md} for more details *

*/ encodeParam: (param: Param) => string; /** * The keys are the names in the securitySchemes section of the OpenAPI * document. They should map to the value used for authentication * minus any standard prefixes such as 'Basic' or 'Bearer'. */ credentials: { [key: string]: string | (() => string | undefined); }; constructor(configurationParameters?: ConfigurationParameters); /** * Select the correct content-type to use for a request. * Uses {@link Configuration#isJsonMime} to determine the correct content-type. * If no content type is found return the first found type if the contentTypes is not empty * @param contentTypes - the array of content types that are available for selection * @returns the selected content-type or undefined if no selection could be made. */ selectHeaderContentType(contentTypes: string[]): string | undefined; /** * Select the correct accept content-type to use for a request. * Uses {@link Configuration#isJsonMime} to determine the correct accept content-type. * If no content type is found return the first found type if the contentTypes is not empty * @param accepts - the array of content types that are available for selection. * @returns the selected content-type or undefined if no selection could be made. */ selectHeaderAccept(accepts: string[]): string | undefined; /** * Check if the given MIME is a JSON MIME. * JSON MIME examples: * application/json * application/json; charset=UTF8 * APPLICATION/JSON * application/vnd.company+json * @param mime - MIME (Multipurpose Internet Mail Extensions) * @return True if the given MIME is JSON, false otherwise. */ isJsonMime(mime: string): boolean; lookupCredential(key: string): string | undefined; private defaultEncodeParam; } /** * MST * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 1 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ interface ActieDto { id: number; bewegingId: number; volgnummerBinnenBeweging: number; volgnummerBinnenPlanningsRegel: number; ritActieTypeId: number; ritActieTypeOmschrijving: string; planningsRegelId: number; infraObjectType: string; iaGebiedType: string; iaGebiedNaam: string; pplgNaam: string; wisselType: string; wisselNaam: string; wisselKantCode: string; vanKilometerlint: string; vanKilometrering: number; totKilometerlint: string; totKilometrering: number; werkorderId: string; infraBron: string; opmerking: string; ritActieStatus: string; } /** * MST * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 1 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ interface AlgemeneRitDto { id: string; jaarplanId: string; volgnummer: string; ritDatum: string; ritNaam: string; ritStatus: string; modifiedBy: string; } /** * MST * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 1 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ interface KilometreringDto { kmLint: string; kmWaarde: number; } /** * MST * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 1 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ interface TopologyElementDto { puic: string; name?: string; type: string; pplg: string; kilometreringen: Array; } /** * MST * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 1 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ interface AlternativeRouteHighlightsDto { dwangNummer: number; topologyElements: Array; } /** * MST * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 1 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ interface WisselInRouteDto { name: string; pplg: string; stand: string; } /** * MST * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 1 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ interface TechnischAlternatiefSeinDto { name: string; pplg: string; puic: string; } /** * MST * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 1 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ interface DwangKeyDto { vanPplg: string; vanSpoor: string; naarSpoor: string; dwangNummer: number; } /** * MST * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 1 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ interface EindSeinDto { puic: string; name: string; dwangKey: DwangKeyDto; onderliggendeDwangKeys: Array; } /** * MST * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 1 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ interface SeinInRouteDto { name: string; pplg: string; type: string; puic: string; bediend: boolean; technischAlternatiefSein: TechnischAlternatiefSeinDto; mogelijkeEindSeinen: Array; } /** * MST * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 1 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ interface DwangDto { dwangNummer: number; topologyElements: Array; alternatieveRouteHighlights: Array; seinenInBeideRichtingen: Array; startSeinInAndereRichting: SeinInRouteDto; wisselInRoutes: Array; seinenInRoute: Array; } /** * MST * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 1 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ interface SignaleringsbeeldDto { bladNaam: string; pplgs: Array; metVisualisatie: boolean; } /** * MST * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 1 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ interface LogDto { iaVersie: string; meldingLevel: string; meldingMessage: string; actieDto?: ActieDto; algemeneRitInfoDto: AlgemeneRitDto; sbinfoDtos: Array; } /** * MST * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 1 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ interface RandDto { puic: string; pplg: string; otherPplg: string; } /** * MST * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 1 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ interface RijwegResponseDto { type: string; } /** * MST * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 1 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ interface RijwegErrorDto extends RijwegResponseDto { dwangKey: DwangKeyDto; errorMessage: string; type: RijwegErrorDto.TypeEnum; } declare namespace RijwegErrorDto { type TypeEnum = 'ERROR'; const TypeEnum: { Error: TypeEnum; }; } /** * MST * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 1 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ interface SeinDto { name: string; pplg: string; type: string; puic: string; bediend: boolean; } /** * MST * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 1 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ interface RijwegSuccessDto extends RijwegResponseDto { dwangKey: DwangKeyDto; naarPrlSpoor: string; beginSein?: SeinDto; eindSein?: SeinDto; vrijeBaanRoute: boolean; vervolgSpoor?: string; puicVanVoorSectieVanBeginSein?: string; dwangen?: Array; type: RijwegSuccessDto.TypeEnum; } declare namespace RijwegSuccessDto { type TypeEnum = 'SUCCESS'; const TypeEnum: { Success: TypeEnum; }; } /** * MST * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 1 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ interface SpoortakDto { spoortakId: string; topologyElements: Array; beginKnoop: TopologyElementDto; beginKantcode: string; eindKnoop: TopologyElementDto; eindKantcode: string; } /** * MST * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 1 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ interface WisselDto { kilometreringen: Array; componentName: string; pplg: string; puic: string; left: TopologyElementDto; right: TopologyElementDto; storingSymboolPuic: string; name: string; eersteVerbindingsRechts: string; eersteVerbindingsLinks: string; } /** * MST * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 1 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ interface SvgTopologyDto { signaleringElementPuics: Array; seinen: Array; alleSoortenWissels: Array; puicVoorSpoorNummers: Array; randen: Array; spoorTakken: Array; } /** * MST * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 1 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ interface LogControllerServiceInterface { defaultHeaders: HttpHeaders; configuration: Configuration; /** * * * @param logDto */ log(logDto: Array, extraHttpRequestParams?: any): Observable<{}>; } declare class LogControllerService implements LogControllerServiceInterface { protected httpClient: HttpClient; protected basePath: string; defaultHeaders: HttpHeaders; configuration: Configuration; encoder: HttpParameterCodec; constructor(httpClient: HttpClient, basePath: string | string[], configuration: Configuration); private addToHttpParams; private addToHttpParamsRecursive; /** * @param logDto * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ log(logDto: Array, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: undefined; context?: HttpContext; transferCache?: boolean; }): Observable; log(logDto: Array, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: undefined; context?: HttpContext; transferCache?: boolean; }): Observable>; log(logDto: Array, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: undefined; context?: HttpContext; transferCache?: boolean; }): Observable>; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } interface Rit { id: number; jaarplanId: number; volgnummer: number; machineTypeId: number; machineTypeOmschrijving?: number; ritDatum?: Date; totaleTijd: number; omschrijving?: string; wijzigStatus: string; ritStatus: string; aantalRitActies?: number; startLocatie?: string; eindLocatie?: string; bewegingen: Beweging[]; } interface Beweging { id: number; ritId: number; volgnummerBinnenRit: number; vanSeinType: string; vanSeinNaam: string; vanSeinPplg: string; vanGebiedType?: string; vanGebiedNaam?: string; naarSeinType: string; naarSeinNaam: string; naarSeinPplg: string; naarGebiedType?: string; naarGebiedNaam?: string; dwangNummer: number; vanPplg: string; vanSpoor: string; naarPplg: string; naarSpoor: string; treinNummer?: number; tijdstip?: Date; opmerking?: string; wijzigStatus: string; ritActies: Actie[]; } interface Actie { id: number; bewegingId: number; volgnummerBinnenBeweging: number; volgnummerBinnenPlanningsRegel: number; ritActieTypeId: number; ritActieTypeOmschrijving?: string; planningsRegelId?: number; infraObjectType: string; iaGebiedType: string; iaGebiedNaam: number; pplgNaam: string; wisselType: string; wisselNaam: string; wisselKantCode: string; vanKilometerlint?: string; vanKilometrering?: number; totKilometerlint?: string; totKilometrering?: number; werkorderId: string; infraBron: string; opmerking: string; ritActieStatus: string; } interface InfraModel { versie: string; ingangsDatum: Date; } declare class ObjectCopier { copyWith(modifyObject: Record): this; } interface SeinMetMogelijkeEindSeinen { puic: string; mogelijkeEindSeinen?: EindSeinDto[]; } declare enum RitdeelZichtbaarheid { ZICHTBAAR = 1, ONZICHTBAAR_DOOR_GEBRUIKER = 2, ONZICHTBAAR_DOOR_SYSTEEM = 3 } declare class Ritdeel extends ObjectCopier { acties: Actie[]; readonly beweging: Beweging | undefined; private readonly rijwegDto; private readonly currentDwangNummer; private readonly zichtbaarheid; private readonly zichtbaarBuitenPaginatie; constructor(acties: Actie[], beweging: Beweging | undefined, rijwegDto: RijwegSuccessDto | RijwegErrorDto, currentDwangNummer: number); getAlternatieveRoutes(): AlternativeRouteHighlightsDto[]; private getCurrentDwang; copyMetDwangNummer(dwangNummer: number): this; copyMetRijwegDto(rijwegDto: RijwegResponseDto): this; getRijwegDto(): RijwegResponseDto; copyMetZichtbaarheid(zichtbaarheid: RitdeelZichtbaarheid): Ritdeel; copyMetZichtbaarheidEnPaginatie(zichtbaarheid: RitdeelZichtbaarheid, zichtbaarBuitenPaginatie: boolean): Ritdeel; copyMetZichtbaarheidBuitenPaginatie(zichtbaarBuitenPaginatie: boolean): Ritdeel; getWisselObjectenInDeRoute(): WisselInRouteDto[]; getSeinenInRoute(): string[]; getSeinenInBeideRichtingen(): SeinInRouteDto[]; getVanPrlSpoor(): string; getVoorSectieVanBeginSein(): string | undefined; getVisueelNaarPrlSpoor(): string; getVervolgSpoor(): string; getNaarSpoor(): string; getNaarPrlSpoor(): string; getNaarSpoorText(): string; getDwangNummer(): number; getDwangNummerPresentation(): number; getZichtbaarheid(): RitdeelZichtbaarheid; isZichtbaar(): boolean; isZichtbaarBinnenWindow(): boolean; isBinnenWindow(): boolean; isNietBeschikbaar(): boolean; isOnzichtbaarDoorGebruiker(): boolean; isOnzichtbaarDoorSysteem(): boolean; isNieuw(): boolean; getPplg(): string; getPplgString(): string; heeftVrijebaanInfo(): boolean; getTopologieElementen(): TopologyElementDto[]; getBewegingId(): string; getTreinNummer(): string; getVanSeinPplg(): string; getMogelijkeEindSeinen(sein: SeinMetMogelijkeEindSeinen): EindSeinDto[]; getNaarSeinPplg(): string; getVanSeinName(): string; getNaarSeinName(): string; getZichtbaarheidBuitenPaginatie(): boolean; toDwangKeyDto(): DwangKeyDto; getOnderliggendeDwangKeys(beginSeinPuic: string, eindSeinPuic: string): DwangKeyDto[]; private findSein; getStartSeinInAndereRichting(): SeinInRouteDto; getEindSein(): SeinDto; } declare class OngeplandeActie { actie: Actie; puics: string[]; constructor(actie: Actie, puics: string[]); } type SeinOpRitdeelDto = SeinInRouteDto | TechnischAlternatiefSeinDto; declare class SeinOpRitdeel { sein: SeinOpRitdeelDto; ritdeel: Ritdeel; constructor(sein: SeinOpRitdeelDto, ritdeel: Ritdeel); get puic(): string; get bediend(): boolean; } /** * https://gist.github.com/jordanluyke/609a4fffb69d1ebafdadd313ee2ee804 * * @author Jordan Luyke */ declare class MultimapEntry { readonly key: K; readonly value: V; constructor(key: K, value: V); } interface Multimap { entries: MultimapEntry[]; clear(): void; containsKey(key: K): boolean; containsValue(value: V): boolean; containsEntry(key: K, value: V): boolean; delete(key: K, value?: V): boolean; get(key: K): V[]; keys(): K[]; values(): V[]; put(key: K, value: V): MultimapEntry[]; size(): number; } declare class ArrayMultimap implements Multimap { private _entries; constructor(map?: Multimap); size(): number; clear(): void; containsKey(key: K): boolean; containsValue(value: V): boolean; containsEntry(key: K, value: V): boolean; delete(key: K, value?: V): boolean; get entries(): MultimapEntry[]; get(key: K): V[]; keys(): K[]; values(): V[]; put(key: K, value: V): MultimapEntry[]; putAll(key: K, values: V[]): MultimapEntry[]; } interface MstEditorState { ritDelen: Ritdeel[]; ritSelectieIds: string[]; actieOpRitSelectieIds: string[]; gebrokenRitSelectieIds: string[]; alternatievenSelectieIds: string[]; beginSeinSelectieIds: string[]; eindSeinSelectieIds: string[]; ongeplandeActieSelectieIds: string[]; selectieInfos: SelectieInfo[]; ongeplandeActies: ArrayMultimap; geplandeActies: ArrayMultimap; alternatievenClickableIds: string[]; eindSeinenClickableIds: string[]; connectorClickableIds: string[]; beginSeinRightClickableIds: string[]; bewegingInvoegenStartSeinOpRitdeel?: SeinOpRitdeel; bewegingInvoegenEindSeinenByPuic: Record; signaleringsbeeldInfoDtos: SignaleringsbeeldDto[]; visibleSbInfoDtos: SignaleringsbeeldDto[]; algemeneRitInfoDto: AlgemeneRitDto; iaVersie: InfraModel; svgInfos: SvgInfo[]; svgTopology?: SvgTopologyDto; debug: boolean; editable: boolean; ongeplandeActiesBepaald: boolean; progressState: ProgressState; nieuweBewegingen: Beweging[]; baseUrl: string; focusIds: string[]; focusRitdeelNaLaden?: Ritdeel; } interface ProgressState { progressIndicator?: ProgressIndicator; } declare class BewegingUtils { static readonly GEWIJZIGD = "Gewijzigd"; static readonly TOEGEVOEGD = "Toegevoegd"; static readonly NORMAAL = "Normaal"; private static readonly SPOOR_NAAR_VRIJEBAAN_POSTFIX; extractBewegingenUitRitdelen(ritDelen: Ritdeel[], origineleBewegingen: Beweging[]): Beweging[]; private static bewegingenZijnGewijzigd; private static removeKerenExtensie; static containsExtensie(match: string, stringToCheck: string): boolean; private static isGewijzigd; private bepaalOrigineleBewegingMap; private static createSortedActieIdList; maakBeweging(newRitdeel: Ritdeel): Beweging; private static vulBeweging; private static toRouteFileDwangNummer; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class ViewerControlService { private readonly store; private readonly bewegingUtils; private readonly valideRit$; private readonly printing$; private sideNavOpen; sideNavOpen$: BehaviorSubject; origineelTreinPad: Rit; constructor(store: Store, bewegingUtils: BewegingUtils); toggleSideNavVisible(): void; keurAlleActiesGoed(ongeplandeActies: Actie[]): void; setValideRit(valideRit: boolean): void; setPrinting(printing: boolean): void; private getBewegingenZonderActies; private verzamelAlleActies; setOrigineelTreinPad(treinpad: Rit): void; isValideRit$(): Observable; isPrinting$(): Observable; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class PrintBewegingService { private readonly store; private readonly viewerControlService; constructor(store: Store, viewerControlService: ViewerControlService); printBeweging(bewegingId: number, paginationSize: number): Promise; private focusOpBeweging; private getPuics; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class MstviewerComponent implements OnChanges, OnInit, OnDestroy { private readonly store; readonly viewerControlsService: ViewerControlService; private readonly printBewegingService; iaversieinfo: InfraModel; treinpad: Rit; ongeplandeActies: Actie[]; paginationSize: number; baseurl: string; debug: boolean; viewer: boolean; useClickArea: boolean; goedgekeurd: EventEmitter; progressIndicator$: Observable; private subscriptions; constructor(store: Store, viewerControlsService: ViewerControlService, printBewegingService: PrintBewegingService); ngOnInit(): void; ngOnChanges({ debug, baseurl, treinpad, ongeplandeActies, iaversieinfo }: SimpleChanges): void; ngOnDestroy(): void; focusRitdeel(ritdeel: Ritdeel): void; focusPuic(puics: string[]): void; bepaalSbInfos(ritGewijzigdToegestaan?: boolean): void; private kopieerRitMetBewegingen; printFocusBeweging(bewegingId: number): Promise; keurAlleActiesGoed(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class OverlayComponent { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class ProgressIndicatorComponent { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class RitdelenLijstComponent implements OnDestroy { private readonly store; nietGeplandeActies: Actie[]; focusEmitter: EventEmitter; keurAlleActiesGoed: EventEmitter; ritdeelViewModels: RitdeelViewModel$1[]; selectedRitdeel: Ritdeel | undefined; selectedRitdeelActies: Actie[]; selectedRitdeelOngeplandeActies: OngeplandeActie[]; disableActieKnoppenVanRitdeel: boolean; editable: boolean; private ongeplandeActiesMap; private geplandeActies; private readonly NG_ACTIE_PREFIX; private readonly subscriptions; private selectedRitdeelIndex; constructor(store: Store); ngOnDestroy(): void; private updateSelectedRitdeel; private createRitdeelViewModels; private refreshRitdeelViewModels; isRitdeelZichtbaar(ritdeel: Ritdeel): boolean; toggleRitdeelZichtbaarheid(ritdeel: Ritdeel): void; toggleZichtbaarheidAlleRitdelen(checked: boolean): void; isRitdeelNieuw(ritdeel: Ritdeel): string; getTitle(ritdeel: Ritdeel): string; getTreinNummer(ritdeel: Ritdeel): string; deleteRitdeel(ritdeel: Ritdeel): void; deleteActiesUitRit(): void; deleteActieUitRit(actie: Actie): void; private verhuisActieNaarOngepland; voegActiesToeAanRit(): void; voegActieToeAanRit(ongeplandeActie: OngeplandeActie): void; updateOngeplandeActiesList(): void; matchedWisselMetKantCodeInVSTActie(ongeplandeActie: OngeplandeActie, wissels: WisselInRouteDto[]): boolean; private isWisselStandVoorKantCode; private findWisselOpNaamEnPplg; private selectedRitdeelClass; selectRitdeel(event: MouseEvent, ritdeel: Ritdeel): void; actieOmschrijvingTekst(actie: Actie): string; private maakVstActieOmschrijving; bepaalPrefixVoorActieOmschrijving(actie: Actie): string; actieVanKmTekst(actie: Actie): string; actieTotKmTekst(actie: Actie): string; deselectRitdeel(): void; planAlleRitActies(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class RitdeelViewModel$1 { readonly ritdeel: Ritdeel; readonly selectedRitdeelClass: string; readonly isZichtbaar: boolean; readonly title: string; readonly isNietBeschikbaar: boolean; readonly isNieuw: string; readonly vanSpoor: string; readonly naarSpoor: string; readonly dwangNummer: number; readonly pplgString: string; readonly treinNummer: string; constructor(ritdeel: Ritdeel, selectedRitdeelClass: string, isZichtbaar: boolean, title: string, isNietBeschikbaar: boolean, isNieuw: string, vanSpoor: string, naarSpoor: string, dwangNummer: number, pplgString: string, treinNummer: string); } declare class RitdelenViewComponent implements OnDestroy { private readonly store; focusEmitter: EventEmitter; paginationSize: number; keyEvent(event: KeyboardEvent): void; ritdeelViewModels: RitdeelViewModel[]; selectedRitdeelIndex: number; private readonly subscriptions; constructor(store: Store); ngOnDestroy(): void; selectedRitdeelClass(ritdeel: Ritdeel): string; selectRitdeel(index: number): void; private handleRitDelenUpdate; private ritdelenBeschikbaarMaarZonderSelectie; private meerdereRitDelenZichtbaar; private getPplgs; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class RitdeelViewModel { readonly ritdeel: Ritdeel; readonly vanPrlSpoor: string; readonly naarSpoor: string; readonly dwangNummer: number; readonly vanSeinName: string; readonly naarSeinName: string; readonly treinNummer: string; constructor(ritdeel: Ritdeel, vanPrlSpoor: string, naarSpoor: string, dwangNummer: number, vanSeinName: string, naarSeinName: string, treinNummer: string); } declare class CarouselControlsComponent { private store; paginationSize: number; sideNavOpen: boolean; ritdelen$: rxjs.Observable; kanLinks$: rxjs.Observable; kanRechts$: rxjs.Observable; constructor(store: Store); private kanLinksNavigeren; private kanRechtsNavigeren; navigeerNaarLinks(event: MouseEvent): void; navigeerNaarRechts(event: MouseEvent): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class ViewerControlsComponent implements OnChanges, OnDestroy { private readonly store; viewerControlsService: ViewerControlService; private readonly bewegingUtils; paginationSize: number; treinpad: Rit | undefined; goedgekeurd: EventEmitter; printing$: rxjs.Observable; valideRit$: rxjs.Observable; subscriptions: Subscription; editable: boolean; constructor(store: Store, viewerControlsService: ViewerControlService, bewegingUtils: BewegingUtils); ngOnChanges({ treinpad }: SimpleChanges): void; showGoedkeuren(): boolean; goedkeurenClick(): void; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class MessagesService { private messages; private _messages$; showMessage(message: Message): void; clearMessage(message: Message): void; get messages$(): Observable; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class WisselKantCode { naam: string; kantCode: string; constructor(naam: string, kantCode: string); } declare class MstLoggingResource { private readonly controller; constructor(controller: LogControllerService); logMessages(logDto: LogDto[]): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class MeldingEvent { meldingMessage: string; meldingLevel: string; constructor(meldingMessage: string, meldingLevel: string); } declare class LoggingHelper { private readonly store; constructor(store: Store); maakLogDTO(melding: MeldingEvent, actie: Actie): Observable; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class ActieHelper implements OnDestroy { private readonly mstLogResource; private readonly messagesService; private readonly store; private readonly loggingHelper; static readonly HALF_ENGELS_WISSEL = "HalveEngelseWissel"; static readonly ENGELS_WISSEL = "EngelseWissel"; static readonly SLIJPEN_WISSEL_ACTIES: number[]; private debug; private readonly svgTopology$; private readonly subscriptions; constructor(mstLogResource: MstLoggingResource, messagesService: MessagesService, store: Store, loggingHelper: LoggingHelper); ngOnDestroy(): void; static getActieTopoElements(ritDeel: Ritdeel): string[]; static isVSTActie(actie: Actie): boolean; static isWisselSlijpenActie(actie: Actie): boolean; static bepaalTakId(actie: Actie): string; static bepaalTakIds(actie: Actie): string[]; static isHeelOfHalfEngelsWisselActie(actie: Actie): boolean; static getVSTActieOmschrijving(actie: Actie): string; static actieComparator(actie1: Actie, actie2: Actie): number; static getWisselKantCodes(actie: Actie): WisselKantCode[]; static getWisselDelen(wisselNaam: string): string[]; static getKantCodes(kantCodes: string): string[]; private static sorteerTopoElementen; private static corrigeerTopoElementenZonderKms; private static addKm; private static kanActiesBepalen; private static isKilometreringAanwezig; private static bepaalSpoortakFragmenten; private static bepaalSpoortakFragmentenPuics; private static isEngelseWissel; private static getKantcodeTekst; private static isKantCodeRechts; private static isKantCodeLinks; bepaalPuicsVoorActie$(actie: Actie): Observable; bepaalActiePuicsUitRitdeel$(ritDeel: Ritdeel): Observable>; bepaalActiesPuics(acties: Actie[], topoElem: TopologyElementDto[]): ArrayMultimap; private verwerkActies; private logLegeMeldingDto; private verwerkTopoElementen; private bepaalActiePuicsVoorSpoortak$; private bepaalActiePuicsVoorSpoortak; private bepaalPuicsVoorVSTActie$; private zoekWissel$; private bepaalWisselPuics$; private bepaalKantElementPuic; private bepaalPuicVoorWisselSlijpenActie$; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class SvgVisualisatieComponent implements OnInit, OnDestroy { private readonly store; private readonly viewerControlsService; private readonly actieHelper; nietGeplandeActies: Actie[]; useClickArea: boolean; imxviewer?: ImxViewerComponent; svgInfos$: Observable; popoverInfos: PopoverInfo[]; clickableIds: string[]; selectieInfos$: Observable<_loxia_imx_viewer.SelectieInfo[]>; rightClickableIds: string[]; contextMenuActions: any; contextMenuStyle: any; editable: boolean; private puicNaarBeginSeinRitdeel; private puicNaarAlternatieveRoute; private ongeplandeActiesBepaald; private subscriptions; constructor(store: Store, viewerControlsService: ViewerControlService, actieHelper: ActieHelper); ngOnInit(): void; ngOnDestroy(): void; handleImxviewClick(evt: SelectieEvent): void; handleImxviewRightClick(evt: SelectieEvent): void; highlightMogelijkeEindseinen(startSeinOpRitdeel: SeinOpRitdeel): void; hideContextMenu(): void; private onRitdelenUpdate; private triggerClickableIdBepaling; private triggerRightClickableIdBepaling; private setupTriggerPopoverBepaling; bepaalOngeplandeActies(): void; private bepaalContextMenuVoorBeginSeinen; private verzamelBeginSeinInformatie; private bepaalRouteHighlights; private bepaalAlternatieven; private isGebrokenRitdeel; private getPuics; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class MessagesComponent { messagesService: MessagesService; constructor(messagesService: MessagesService); trackbyIndex(index: number): number; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare const STORE_CONFIG: { runtimeChecks: { strictStateImmutability: boolean; strictActionImmutability: boolean; strictActionTypeUniqueness: boolean; }; }; declare class MstViewerModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } export { MeldingEvent, MstViewerModule, MstviewerComponent, STORE_CONFIG }; export type { Actie, Beweging, InfraModel, Rit };