@loxia/mst-viewer 8.1.3-202511121625 → 8.1.3-202511121907
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/generated/openapi/api/api.mjs +23 -0
- package/esm2022/generated/openapi/api/appConfigController.service.mjs +140 -0
- package/esm2022/generated/openapi/api/appConfigController.serviceInterface.mjs +2 -0
- package/esm2022/generated/openapi/api/bewegingController.service.mjs +155 -0
- package/esm2022/generated/openapi/api/bewegingController.serviceInterface.mjs +2 -0
- package/esm2022/generated/openapi/api/class0BuildProperties.service.mjs +140 -0
- package/esm2022/generated/openapi/api/class0BuildProperties.serviceInterface.mjs +2 -0
- package/esm2022/generated/openapi/api/connectorController.service.mjs +146 -0
- package/esm2022/generated/openapi/api/connectorController.serviceInterface.mjs +2 -0
- package/esm2022/generated/openapi/api/logController.service.mjs +150 -0
- package/esm2022/generated/openapi/api/logController.serviceInterface.mjs +2 -0
- package/esm2022/generated/openapi/api/p21Controller.service.mjs +236 -0
- package/esm2022/generated/openapi/api/p21Controller.serviceInterface.mjs +2 -0
- package/esm2022/generated/openapi/api/sbController.service.mjs +202 -0
- package/esm2022/generated/openapi/api/sbController.serviceInterface.mjs +2 -0
- package/esm2022/generated/openapi/api.module.mjs +40 -0
- package/esm2022/generated/openapi/configuration.mjs +99 -0
- package/esm2022/generated/openapi/encoder.mjs +19 -0
- package/esm2022/generated/openapi/index.mjs +7 -0
- package/esm2022/generated/openapi/model/actieDto.mjs +13 -0
- package/esm2022/generated/openapi/model/algemeneRitDto.mjs +13 -0
- package/esm2022/generated/openapi/model/bewegingDto.mjs +2 -0
- package/esm2022/generated/openapi/model/frontendKeycloakConfig.mjs +13 -0
- package/esm2022/generated/openapi/model/frontendProperties.mjs +2 -0
- package/esm2022/generated/openapi/model/logDto.mjs +2 -0
- package/esm2022/generated/openapi/model/models.mjs +10 -0
- package/esm2022/generated/openapi/model/ritRequestDto.mjs +2 -0
- package/esm2022/generated/openapi/model/signaleringsbeeldDto.mjs +13 -0
- package/esm2022/generated/openapi/model/signaleringsbeeldRequestDto.mjs +13 -0
- package/esm2022/generated/openapi/param.mjs +2 -0
- package/esm2022/generated/openapi/variables.mjs +9 -0
- package/esm2022/lib/atomic-components/message/message.component.mjs +3 -3
- package/esm2022/lib/model/ritdeel.mjs +4 -4
- package/esm2022/lib/mst-viewer.module.mjs +3 -1
- package/esm2022/lib/resources/mstlogging.resource.mjs +12 -145
- package/esm2022/lib/services/viewer-control.service.mjs +3 -4
- package/esm2022/lib/state/actions/actions.mjs +1 -1
- package/esm2022/lib/state/effect/bepaal-ongeplande-acties.effect.mjs +2 -2
- package/esm2022/lib/state/effect/bepaal-sb-infos.effect.mjs +2 -2
- package/esm2022/lib/state/effect/laad-signaleringsbeelden.effect.mjs +5 -5
- package/esm2022/lib/state/effect/ritdelen.effect.mjs +22 -22
- package/esm2022/lib/state/mst-editor-state.mjs +2 -3
- package/esm2022/lib/util/actie-helper.mjs +5 -5
- package/esm2022/lib/util/logging-helper.mjs +9 -12
- package/esm2022/lib/util/zone-util.mjs +2 -1
- package/esm2022/src/generated/openapi/api/api.mjs +23 -0
- package/esm2022/src/generated/openapi/api/appConfigController.service.mjs +140 -0
- package/esm2022/src/generated/openapi/api/appConfigController.serviceInterface.mjs +2 -0
- package/esm2022/src/generated/openapi/api/bewegingController.service.mjs +155 -0
- package/esm2022/src/generated/openapi/api/bewegingController.serviceInterface.mjs +2 -0
- package/esm2022/src/generated/openapi/api/class0BuildProperties.service.mjs +140 -0
- package/esm2022/src/generated/openapi/api/class0BuildProperties.serviceInterface.mjs +2 -0
- package/esm2022/src/generated/openapi/api/connectorController.service.mjs +146 -0
- package/esm2022/src/generated/openapi/api/connectorController.serviceInterface.mjs +2 -0
- package/esm2022/src/generated/openapi/api/logController.service.mjs +150 -0
- package/esm2022/src/generated/openapi/api/logController.serviceInterface.mjs +2 -0
- package/esm2022/src/generated/openapi/api/p21Controller.service.mjs +236 -0
- package/esm2022/src/generated/openapi/api/p21Controller.serviceInterface.mjs +2 -0
- package/esm2022/src/generated/openapi/api/sbController.service.mjs +202 -0
- package/esm2022/src/generated/openapi/api/sbController.serviceInterface.mjs +2 -0
- package/esm2022/src/generated/openapi/api.module.mjs +40 -0
- package/esm2022/src/generated/openapi/configuration.mjs +99 -0
- package/esm2022/src/generated/openapi/encoder.mjs +19 -0
- package/esm2022/src/generated/openapi/index.mjs +7 -0
- package/esm2022/src/generated/openapi/loxia-mst-viewer-src-generated-openapi.mjs +5 -0
- package/esm2022/src/generated/openapi/model/actieDto.mjs +13 -0
- package/esm2022/src/generated/openapi/model/algemeneRitDto.mjs +13 -0
- package/esm2022/src/generated/openapi/model/bewegingDto.mjs +2 -0
- package/esm2022/src/generated/openapi/model/frontendKeycloakConfig.mjs +13 -0
- package/esm2022/src/generated/openapi/model/frontendProperties.mjs +2 -0
- package/esm2022/src/generated/openapi/model/logDto.mjs +2 -0
- package/esm2022/src/generated/openapi/model/models.mjs +10 -0
- package/esm2022/src/generated/openapi/model/ritRequestDto.mjs +2 -0
- package/esm2022/src/generated/openapi/model/signaleringsbeeldDto.mjs +13 -0
- package/esm2022/src/generated/openapi/model/signaleringsbeeldRequestDto.mjs +13 -0
- package/esm2022/src/generated/openapi/param.mjs +2 -0
- package/esm2022/src/generated/openapi/variables.mjs +9 -0
- package/fesm2022/loxia-mst-viewer-src-generated-openapi.mjs +1341 -0
- package/fesm2022/loxia-mst-viewer-src-generated-openapi.mjs.map +1 -0
- package/fesm2022/loxia-mst-viewer.mjs +1410 -208
- package/fesm2022/loxia-mst-viewer.mjs.map +1 -1
- package/generated/openapi/api/api.d.ts +22 -0
- package/generated/openapi/api/appConfigController.service.d.ts +38 -0
- package/generated/openapi/api/appConfigController.serviceInterface.d.ts +24 -0
- package/generated/openapi/api/bewegingController.service.d.ts +40 -0
- package/generated/openapi/api/bewegingController.serviceInterface.d.ts +27 -0
- package/generated/openapi/api/class0BuildProperties.service.d.ts +36 -0
- package/generated/openapi/api/class0BuildProperties.serviceInterface.d.ts +23 -0
- package/generated/openapi/api/connectorController.service.d.ts +38 -0
- package/generated/openapi/api/connectorController.serviceInterface.d.ts +25 -0
- package/generated/openapi/api/logController.service.d.ts +38 -0
- package/generated/openapi/api/logController.serviceInterface.d.ts +25 -0
- package/generated/openapi/api/p21Controller.service.d.ts +62 -0
- package/generated/openapi/api/p21Controller.serviceInterface.d.ts +30 -0
- package/generated/openapi/api/sbController.service.d.ts +60 -0
- package/generated/openapi/api/sbController.serviceInterface.d.ts +32 -0
- package/generated/openapi/api.module.d.ts +11 -0
- package/generated/openapi/configuration.d.ts +104 -0
- package/generated/openapi/encoder.d.ts +11 -0
- package/generated/openapi/index.d.ts +6 -0
- package/generated/openapi/model/actieDto.d.ts +35 -0
- package/generated/openapi/model/algemeneRitDto.d.ts +28 -0
- package/generated/openapi/model/bewegingDto.d.ts +37 -0
- package/generated/openapi/model/frontendKeycloakConfig.d.ts +16 -0
- package/generated/openapi/model/frontendProperties.d.ts +15 -0
- package/generated/openapi/model/logDto.d.ts +22 -0
- package/generated/openapi/model/models.d.ts +9 -0
- package/generated/openapi/model/ritRequestDto.d.ts +17 -0
- package/generated/openapi/model/signaleringsbeeldDto.d.ts +16 -0
- package/generated/openapi/model/signaleringsbeeldRequestDto.d.ts +16 -0
- package/generated/openapi/param.d.ts +37 -0
- package/generated/openapi/variables.d.ts +8 -0
- package/lib/atomic-components/message/message.component.d.ts +2 -2
- package/lib/model/ritdeel.d.ts +6 -5
- package/lib/resources/mstlogging.resource.d.ts +6 -95
- package/lib/state/actions/actions.d.ts +4 -4
- package/lib/state/effect/laad-signaleringsbeelden.effect.d.ts +1 -1
- package/lib/state/effect/ritdelen.effect.d.ts +7 -6
- package/lib/state/mst-editor-state.d.ts +4 -4
- package/lib/util/logging-helper.d.ts +4 -6
- package/package.json +7 -1
- package/src/generated/openapi/README.md +226 -0
- package/src/generated/openapi/api/api.d.ts +22 -0
- package/src/generated/openapi/api/appConfigController.service.d.ts +38 -0
- package/src/generated/openapi/api/appConfigController.serviceInterface.d.ts +24 -0
- package/src/generated/openapi/api/bewegingController.service.d.ts +40 -0
- package/src/generated/openapi/api/bewegingController.serviceInterface.d.ts +27 -0
- package/src/generated/openapi/api/class0BuildProperties.service.d.ts +36 -0
- package/src/generated/openapi/api/class0BuildProperties.serviceInterface.d.ts +23 -0
- package/src/generated/openapi/api/connectorController.service.d.ts +38 -0
- package/src/generated/openapi/api/connectorController.serviceInterface.d.ts +25 -0
- package/src/generated/openapi/api/logController.service.d.ts +38 -0
- package/src/generated/openapi/api/logController.serviceInterface.d.ts +25 -0
- package/src/generated/openapi/api/p21Controller.service.d.ts +62 -0
- package/src/generated/openapi/api/p21Controller.serviceInterface.d.ts +30 -0
- package/src/generated/openapi/api/sbController.service.d.ts +60 -0
- package/src/generated/openapi/api/sbController.serviceInterface.d.ts +32 -0
- package/src/generated/openapi/api.module.d.ts +11 -0
- package/src/generated/openapi/configuration.d.ts +104 -0
- package/src/generated/openapi/encoder.d.ts +11 -0
- package/src/generated/openapi/index.d.ts +6 -0
- package/src/generated/openapi/model/actieDto.d.ts +35 -0
- package/src/generated/openapi/model/algemeneRitDto.d.ts +28 -0
- package/src/generated/openapi/model/bewegingDto.d.ts +37 -0
- package/src/generated/openapi/model/frontendKeycloakConfig.d.ts +16 -0
- package/src/generated/openapi/model/frontendProperties.d.ts +15 -0
- package/src/generated/openapi/model/logDto.d.ts +22 -0
- package/src/generated/openapi/model/models.d.ts +9 -0
- package/src/generated/openapi/model/ritRequestDto.d.ts +17 -0
- package/src/generated/openapi/model/signaleringsbeeldDto.d.ts +16 -0
- package/src/generated/openapi/model/signaleringsbeeldRequestDto.d.ts +16 -0
- package/src/generated/openapi/param.d.ts +37 -0
- package/src/generated/openapi/variables.d.ts +8 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as i2 from '@angular/common';
|
|
2
2
|
import { CommonModule } from '@angular/common';
|
|
3
3
|
import * as i0 from '@angular/core';
|
|
4
|
-
import { EventEmitter, Output, Input, Component, Injectable, ChangeDetectionStrategy, ViewChild,
|
|
4
|
+
import { EventEmitter, Output, Input, Component, Injectable, ChangeDetectionStrategy, ViewChild, InjectionToken, Optional, Inject, SkipSelf, NgModule, HostListener } from '@angular/core';
|
|
5
5
|
import * as i7 from '@loxia/imx-viewer';
|
|
6
6
|
import { SelectieInfo, PopoverInfo, Point, SvgInfo, ImxViewerComponent, ImxViewerModule } from '@loxia/imx-viewer';
|
|
7
7
|
import * as i4 from '@loxia/rijwegen';
|
|
@@ -11,13 +11,13 @@ import { createEffect, ofType, EffectsModule } from '@ngrx/effects';
|
|
|
11
11
|
import * as i2$1 from '@ngrx/store';
|
|
12
12
|
import { createAction, union, select, createReducer, on, StoreModule } from '@ngrx/store';
|
|
13
13
|
import { ResourceModule } from '@ngx-resource/handler-ngx-http';
|
|
14
|
-
import { BehaviorSubject,
|
|
14
|
+
import { BehaviorSubject, from, Subscription, combineLatest, of, throwError } from 'rxjs';
|
|
15
|
+
import { take, filter, map, catchError, withLatestFrom, switchMap, tap } from 'rxjs/operators';
|
|
16
|
+
import * as i1 from '@angular/common/http';
|
|
17
|
+
import { HttpHeaders, HttpContext, HttpParams } from '@angular/common/http';
|
|
15
18
|
import { __decorate } from 'tslib';
|
|
16
|
-
import * as i1 from '@ngx-resource/core';
|
|
19
|
+
import * as i1$1 from '@ngx-resource/core';
|
|
17
20
|
import { Resource, ResourceAction, ResourceRequestMethod, ResourceParams, ResourceModel } from '@ngx-resource/core';
|
|
18
|
-
import { take, filter, map, catchError, withLatestFrom, switchMap, tap } from 'rxjs/operators';
|
|
19
|
-
import * as i1$1 from '@angular/common/http';
|
|
20
|
-
import { HttpHeaders } from '@angular/common/http';
|
|
21
21
|
|
|
22
22
|
class Message {
|
|
23
23
|
constructor(severity, text, timeout = 0) {
|
|
@@ -41,7 +41,7 @@ class MessageComponent {
|
|
|
41
41
|
this.onClearMessage = new EventEmitter();
|
|
42
42
|
}
|
|
43
43
|
ngOnInit() {
|
|
44
|
-
if (this.message.timeout > 0) {
|
|
44
|
+
if (this.message && this.message.timeout > 0) {
|
|
45
45
|
setTimeout(() => {
|
|
46
46
|
this.closeMessage({ stopPropagation: () => null });
|
|
47
47
|
}, this.message.timeout);
|
|
@@ -53,7 +53,7 @@ class MessageComponent {
|
|
|
53
53
|
this.message = undefined;
|
|
54
54
|
}
|
|
55
55
|
get severity() {
|
|
56
|
-
return this.message
|
|
56
|
+
return this.message?.severity ?? '?';
|
|
57
57
|
}
|
|
58
58
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: MessageComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
59
59
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.7", type: MessageComponent, selector: "loxia-message", inputs: { message: "message" }, outputs: { onClearMessage: "onClearMessage" }, ngImport: i0, template: "<div id=\"alert-1\" *ngIf=\"message\"\n [ngClass]=\"severity\"\n class=\" loxia-message flex items-center p-4 text-white\" role=\"alert\">\n <svg class=\"flex-shrink-0 size-4 mt-0.5\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <path d=\"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3Z\"></path>\n <path d=\"M12 9v4\"></path>\n <path d=\"M12 17h.01\"></path>\n </svg>\n <span class=\"sr-only\">Info</span>\n <div class=\"ms-3 text-sm font-medium\">\n {{message.text}}\n </div>\n <button type=\"button\"\n (click)=\"closeMessage($event)\"\n class=\"ms-auto -mx-1.5 -my-1.5 rounded-lg inline-flex items-center justify-center h-8 w-8\" data-dismiss-target=\"#alert-1\" aria-label=\"Close\">\n <span class=\"sr-only\">Close</span>\n <svg class=\"w-3 h-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 14\">\n <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6\"/>\n </svg>\n </button>\n</div>\n", styles: ["svg{background-color:transparent;stroke-width:unset}.loxia-message.information{background-color:#0288d1}.loxia-message.warning{background-color:#ff6a00}.loxia-message.notification{background-color:#f3ed38}.loxia-message.error{background-color:#b5061b}.loxia-message.success{background-color:#297d03}\n"], dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
|
|
@@ -299,156 +299,6 @@ const ritdeelActions = union({
|
|
|
299
299
|
ritdeelInvoegen
|
|
300
300
|
});
|
|
301
301
|
|
|
302
|
-
let MstLoggingResource = class MstLoggingResource extends Resource {
|
|
303
|
-
constructor(restHandler, store) {
|
|
304
|
-
super(restHandler);
|
|
305
|
-
this.store = store;
|
|
306
|
-
this.subscriptions = new Subscription();
|
|
307
|
-
this.subscriptions.add(this.store.select('baseUrl').subscribe(baseUrl => this.$setUrl(baseUrl)));
|
|
308
|
-
}
|
|
309
|
-
ngOnDestroy() {
|
|
310
|
-
this.subscriptions.unsubscribe();
|
|
311
|
-
}
|
|
312
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: MstLoggingResource, deps: [{ token: i1.ResourceHandler }, { token: i2$1.Store }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
313
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: MstLoggingResource }); }
|
|
314
|
-
};
|
|
315
|
-
__decorate([
|
|
316
|
-
ResourceAction({
|
|
317
|
-
path: '/',
|
|
318
|
-
method: ResourceRequestMethod.Post
|
|
319
|
-
})
|
|
320
|
-
], MstLoggingResource.prototype, "logErrorMessages", void 0);
|
|
321
|
-
MstLoggingResource = __decorate([
|
|
322
|
-
ResourceParams({
|
|
323
|
-
pathPrefix: '/mst/services/rest/logging'
|
|
324
|
-
})
|
|
325
|
-
], MstLoggingResource);
|
|
326
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: MstLoggingResource, decorators: [{
|
|
327
|
-
type: Injectable
|
|
328
|
-
}], ctorParameters: () => [{ type: i1.ResourceHandler }, { type: i2$1.Store }], propDecorators: { logErrorMessages: [] } });
|
|
329
|
-
class MstLoggingDto extends ResourceModel {
|
|
330
|
-
constructor(data) {
|
|
331
|
-
super();
|
|
332
|
-
this.$resource = MstLoggingResource;
|
|
333
|
-
this.$setData(data);
|
|
334
|
-
}
|
|
335
|
-
toJSON() {
|
|
336
|
-
return {
|
|
337
|
-
iaVersie: this.iaVersie,
|
|
338
|
-
meldingLevel: this.meldingLevel,
|
|
339
|
-
meldingMessage: this.meldingMessage,
|
|
340
|
-
algemeneRitInfoDto: this.algemeneRitInfoDto,
|
|
341
|
-
actieDto: this.actieDto,
|
|
342
|
-
sbinfoDtos: this.sbinfoDtos
|
|
343
|
-
};
|
|
344
|
-
}
|
|
345
|
-
toString() {
|
|
346
|
-
return `${this.iaVersie},${this.meldingLevel},${this.meldingMessage},${this.algemeneRitInfoDto},
|
|
347
|
-
${this.actieDto},${this.sbinfoDtos}`;
|
|
348
|
-
}
|
|
349
|
-
$setData(data) {
|
|
350
|
-
if (data) {
|
|
351
|
-
this.iaVersie = data.iaVersie;
|
|
352
|
-
this.meldingLevel = data.meldingLevel;
|
|
353
|
-
this.meldingMessage = data.meldingMessage;
|
|
354
|
-
this.algemeneRitInfoDto = data.algemeneRitInfoDto;
|
|
355
|
-
this.actieDto = data.actieDto;
|
|
356
|
-
this.sbinfoDtos = data.sbinfoDtos;
|
|
357
|
-
}
|
|
358
|
-
return this;
|
|
359
|
-
}
|
|
360
|
-
}
|
|
361
|
-
class ActieDto {
|
|
362
|
-
constructor(data) {
|
|
363
|
-
this.$setData(data);
|
|
364
|
-
}
|
|
365
|
-
toJSON() {
|
|
366
|
-
return {
|
|
367
|
-
pplgNaam: this.pplgNaam,
|
|
368
|
-
ritActieTypeOmschrijving: this.ritActieTypeOmschrijving,
|
|
369
|
-
ritActieStatus: this.ritActieStatus,
|
|
370
|
-
bewegingId: this.bewegingId,
|
|
371
|
-
wisselType: this.wisselType,
|
|
372
|
-
wisselNaam: this.wisselNaam,
|
|
373
|
-
wisselKantCode: this.wisselKantCode,
|
|
374
|
-
vanKilometerlint: this.vanKilometerlint,
|
|
375
|
-
vanKilometrering: this.vanKilometrering,
|
|
376
|
-
totKilometerlint: this.totKilometerlint,
|
|
377
|
-
totKilometrering: this.totKilometrering
|
|
378
|
-
};
|
|
379
|
-
}
|
|
380
|
-
toString() {
|
|
381
|
-
return `${this.pplgNaam},${this.ritActieTypeOmschrijving},${this.ritActieStatus},
|
|
382
|
-
${this.bewegingId},${this.wisselType},${this.wisselNaam},${this.wisselKantCode},
|
|
383
|
-
${this.vanKilometerlint},${this.vanKilometrering},${this.totKilometerlint},${this.totKilometrering}`;
|
|
384
|
-
}
|
|
385
|
-
$setData(data) {
|
|
386
|
-
if (data) {
|
|
387
|
-
this.pplgNaam = data.pplgNaam;
|
|
388
|
-
this.ritActieTypeOmschrijving = data.ritActieTypeOmschrijving;
|
|
389
|
-
this.ritActieStatus = data.ritActieStatus;
|
|
390
|
-
this.bewegingId = data.bewegingId;
|
|
391
|
-
this.wisselType = data.wisselType;
|
|
392
|
-
this.wisselNaam = data.wisselNaam;
|
|
393
|
-
this.wisselKantCode = data.wisselKantCode;
|
|
394
|
-
this.vanKilometerlint = data.vanKilometerlint;
|
|
395
|
-
this.vanKilometrering = data.vanKilometrering;
|
|
396
|
-
this.totKilometerlint = data.totKilometerlint;
|
|
397
|
-
this.totKilometrering = data.totKilometrering;
|
|
398
|
-
}
|
|
399
|
-
return this;
|
|
400
|
-
}
|
|
401
|
-
}
|
|
402
|
-
class AlgemeneRitInfoDto {
|
|
403
|
-
constructor(data) {
|
|
404
|
-
this.$setData(data);
|
|
405
|
-
}
|
|
406
|
-
toJSON() {
|
|
407
|
-
return {
|
|
408
|
-
id: this.id,
|
|
409
|
-
jaarplanId: this.jaarplanId,
|
|
410
|
-
volgnummer: this.volgnummer,
|
|
411
|
-
machineTypeId: this.machineTypeId,
|
|
412
|
-
machineTypeOmschrijving: this.machineTypeOmschrijving,
|
|
413
|
-
ritDatum: this.ritDatum,
|
|
414
|
-
startDatum: this.startDatum,
|
|
415
|
-
eindDatum: this.eindDatum,
|
|
416
|
-
ritNaam: this.ritNaam,
|
|
417
|
-
startLocatie: this.startLocatie,
|
|
418
|
-
eindLocatie: this.eindLocatie,
|
|
419
|
-
ritStatus: this.ritStatus,
|
|
420
|
-
modified: this.modified,
|
|
421
|
-
modifiedBy: this.modifiedBy,
|
|
422
|
-
planJobId: this.planJobId
|
|
423
|
-
};
|
|
424
|
-
}
|
|
425
|
-
toString() {
|
|
426
|
-
return `${this.id},${this.jaarplanId},${this.volgnummer},${this.machineTypeId},${this.machineTypeOmschrijving}
|
|
427
|
-
,${this.ritDatum},${this.startDatum},${this.eindDatum},${this.ritNaam},${this.startLocatie}
|
|
428
|
-
,${this.eindLocatie},${this.ritStatus},${this.modified},${this.modifiedBy},${this.planJobId}`;
|
|
429
|
-
}
|
|
430
|
-
$setData(data) {
|
|
431
|
-
if (data) {
|
|
432
|
-
this.id = data.id;
|
|
433
|
-
this.jaarplanId = data.jaarplanId;
|
|
434
|
-
this.volgnummer = data.volgnummer;
|
|
435
|
-
this.machineTypeId = data.machineTypeId;
|
|
436
|
-
this.machineTypeOmschrijving = data.machineTypeOmschrijving;
|
|
437
|
-
this.ritDatum = data.ritDatum;
|
|
438
|
-
this.startDatum = data.startDatum;
|
|
439
|
-
this.eindDatum = data.eindDatum;
|
|
440
|
-
this.ritNaam = data.ritNaam;
|
|
441
|
-
this.startLocatie = data.startLocatie;
|
|
442
|
-
this.eindLocatie = data.eindLocatie;
|
|
443
|
-
this.ritStatus = data.ritStatus;
|
|
444
|
-
this.modified = data.modified;
|
|
445
|
-
this.modifiedBy = data.modifiedBy;
|
|
446
|
-
this.planJobId = data.planJobId;
|
|
447
|
-
}
|
|
448
|
-
return this;
|
|
449
|
-
}
|
|
450
|
-
}
|
|
451
|
-
|
|
452
302
|
class Utils {
|
|
453
303
|
static flatMap(xs, f) {
|
|
454
304
|
return xs.reduce((acc, x) => acc.concat(f(x)), []);
|
|
@@ -889,7 +739,7 @@ class ViewerControlService {
|
|
|
889
739
|
}
|
|
890
740
|
setOrigineelTreinPad(treinpad) {
|
|
891
741
|
const rit = JSON.parse(JSON.stringify(treinpad));
|
|
892
|
-
this.store.dispatch(SetAlgemeneRitInfo(
|
|
742
|
+
this.store.dispatch(SetAlgemeneRitInfo({
|
|
893
743
|
id: rit.id,
|
|
894
744
|
jaarplanId: rit.jaarplanId,
|
|
895
745
|
volgnummer: rit.volgnummer,
|
|
@@ -905,7 +755,7 @@ class ViewerControlService {
|
|
|
905
755
|
modified: rit.modified,
|
|
906
756
|
modifiedBy: rit.modifiedBy,
|
|
907
757
|
planJobId: rit.planJobId
|
|
908
|
-
}))
|
|
758
|
+
}));
|
|
909
759
|
this.origineelTreinPad = rit;
|
|
910
760
|
}
|
|
911
761
|
isValideRit$() {
|
|
@@ -1167,9 +1017,1358 @@ class MessageBuilder {
|
|
|
1167
1017
|
}
|
|
1168
1018
|
}
|
|
1169
1019
|
|
|
1020
|
+
/**
|
|
1021
|
+
* Custom HttpParameterCodec
|
|
1022
|
+
* Workaround for https://github.com/angular/angular/issues/18261
|
|
1023
|
+
*/
|
|
1024
|
+
class CustomHttpParameterCodec {
|
|
1025
|
+
encodeKey(k) {
|
|
1026
|
+
return encodeURIComponent(k);
|
|
1027
|
+
}
|
|
1028
|
+
encodeValue(v) {
|
|
1029
|
+
return encodeURIComponent(v);
|
|
1030
|
+
}
|
|
1031
|
+
decodeKey(k) {
|
|
1032
|
+
return decodeURIComponent(k);
|
|
1033
|
+
}
|
|
1034
|
+
decodeValue(v) {
|
|
1035
|
+
return decodeURIComponent(v);
|
|
1036
|
+
}
|
|
1037
|
+
}
|
|
1038
|
+
|
|
1039
|
+
const BASE_PATH = new InjectionToken('basePath');
|
|
1040
|
+
const COLLECTION_FORMATS = {
|
|
1041
|
+
'csv': ',',
|
|
1042
|
+
'tsv': ' ',
|
|
1043
|
+
'ssv': ' ',
|
|
1044
|
+
'pipes': '|'
|
|
1045
|
+
};
|
|
1046
|
+
|
|
1047
|
+
class Configuration {
|
|
1048
|
+
constructor(configurationParameters = {}) {
|
|
1049
|
+
this.apiKeys = configurationParameters.apiKeys;
|
|
1050
|
+
this.username = configurationParameters.username;
|
|
1051
|
+
this.password = configurationParameters.password;
|
|
1052
|
+
this.accessToken = configurationParameters.accessToken;
|
|
1053
|
+
this.basePath = configurationParameters.basePath;
|
|
1054
|
+
this.withCredentials = configurationParameters.withCredentials;
|
|
1055
|
+
this.encoder = configurationParameters.encoder;
|
|
1056
|
+
if (configurationParameters.encodeParam) {
|
|
1057
|
+
this.encodeParam = configurationParameters.encodeParam;
|
|
1058
|
+
}
|
|
1059
|
+
else {
|
|
1060
|
+
this.encodeParam = param => this.defaultEncodeParam(param);
|
|
1061
|
+
}
|
|
1062
|
+
if (configurationParameters.credentials) {
|
|
1063
|
+
this.credentials = configurationParameters.credentials;
|
|
1064
|
+
}
|
|
1065
|
+
else {
|
|
1066
|
+
this.credentials = {};
|
|
1067
|
+
}
|
|
1068
|
+
// init default keycloak_auth credential
|
|
1069
|
+
if (!this.credentials['keycloak_auth']) {
|
|
1070
|
+
this.credentials['keycloak_auth'] = () => {
|
|
1071
|
+
return typeof this.accessToken === 'function'
|
|
1072
|
+
? this.accessToken()
|
|
1073
|
+
: this.accessToken;
|
|
1074
|
+
};
|
|
1075
|
+
}
|
|
1076
|
+
}
|
|
1077
|
+
/**
|
|
1078
|
+
* Select the correct content-type to use for a request.
|
|
1079
|
+
* Uses {@link Configuration#isJsonMime} to determine the correct content-type.
|
|
1080
|
+
* If no content type is found return the first found type if the contentTypes is not empty
|
|
1081
|
+
* @param contentTypes - the array of content types that are available for selection
|
|
1082
|
+
* @returns the selected content-type or <code>undefined</code> if no selection could be made.
|
|
1083
|
+
*/
|
|
1084
|
+
selectHeaderContentType(contentTypes) {
|
|
1085
|
+
if (contentTypes.length === 0) {
|
|
1086
|
+
return undefined;
|
|
1087
|
+
}
|
|
1088
|
+
const type = contentTypes.find((x) => this.isJsonMime(x));
|
|
1089
|
+
if (type === undefined) {
|
|
1090
|
+
return contentTypes[0];
|
|
1091
|
+
}
|
|
1092
|
+
return type;
|
|
1093
|
+
}
|
|
1094
|
+
/**
|
|
1095
|
+
* Select the correct accept content-type to use for a request.
|
|
1096
|
+
* Uses {@link Configuration#isJsonMime} to determine the correct accept content-type.
|
|
1097
|
+
* If no content type is found return the first found type if the contentTypes is not empty
|
|
1098
|
+
* @param accepts - the array of content types that are available for selection.
|
|
1099
|
+
* @returns the selected content-type or <code>undefined</code> if no selection could be made.
|
|
1100
|
+
*/
|
|
1101
|
+
selectHeaderAccept(accepts) {
|
|
1102
|
+
if (accepts.length === 0) {
|
|
1103
|
+
return undefined;
|
|
1104
|
+
}
|
|
1105
|
+
const type = accepts.find((x) => this.isJsonMime(x));
|
|
1106
|
+
if (type === undefined) {
|
|
1107
|
+
return accepts[0];
|
|
1108
|
+
}
|
|
1109
|
+
return type;
|
|
1110
|
+
}
|
|
1111
|
+
/**
|
|
1112
|
+
* Check if the given MIME is a JSON MIME.
|
|
1113
|
+
* JSON MIME examples:
|
|
1114
|
+
* application/json
|
|
1115
|
+
* application/json; charset=UTF8
|
|
1116
|
+
* APPLICATION/JSON
|
|
1117
|
+
* application/vnd.company+json
|
|
1118
|
+
* @param mime - MIME (Multipurpose Internet Mail Extensions)
|
|
1119
|
+
* @return True if the given MIME is JSON, false otherwise.
|
|
1120
|
+
*/
|
|
1121
|
+
isJsonMime(mime) {
|
|
1122
|
+
const jsonMime = new RegExp('^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$', 'i');
|
|
1123
|
+
return mime !== null && (jsonMime.test(mime) || mime.toLowerCase() === 'application/json-patch+json');
|
|
1124
|
+
}
|
|
1125
|
+
lookupCredential(key) {
|
|
1126
|
+
const value = this.credentials[key];
|
|
1127
|
+
return typeof value === 'function'
|
|
1128
|
+
? value()
|
|
1129
|
+
: value;
|
|
1130
|
+
}
|
|
1131
|
+
defaultEncodeParam(param) {
|
|
1132
|
+
// This implementation exists as fallback for missing configuration
|
|
1133
|
+
// and for backwards compatibility to older typescript-angular generator versions.
|
|
1134
|
+
// It only works for the 'simple' parameter style.
|
|
1135
|
+
// Date-handling only works for the 'date-time' format.
|
|
1136
|
+
// All other styles and Date-formats are probably handled incorrectly.
|
|
1137
|
+
//
|
|
1138
|
+
// But: if that's all you need (i.e.: the most common use-case): no need for customization!
|
|
1139
|
+
const value = param.dataFormat === 'date-time' && param.value instanceof Date
|
|
1140
|
+
? param.value.toISOString()
|
|
1141
|
+
: param.value;
|
|
1142
|
+
return encodeURIComponent(String(value));
|
|
1143
|
+
}
|
|
1144
|
+
}
|
|
1145
|
+
|
|
1146
|
+
/**
|
|
1147
|
+
* MST
|
|
1148
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
1149
|
+
*
|
|
1150
|
+
* The version of the OpenAPI document: 1
|
|
1151
|
+
*
|
|
1152
|
+
*
|
|
1153
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1154
|
+
* https://openapi-generator.tech
|
|
1155
|
+
* Do not edit the class manually.
|
|
1156
|
+
*/
|
|
1157
|
+
/* tslint:disable:no-unused-variable member-ordering */
|
|
1158
|
+
class AppConfigControllerService {
|
|
1159
|
+
constructor(httpClient, basePath, configuration) {
|
|
1160
|
+
this.httpClient = httpClient;
|
|
1161
|
+
this.basePath = 'http://localhost:8080/mst';
|
|
1162
|
+
this.defaultHeaders = new HttpHeaders();
|
|
1163
|
+
this.configuration = new Configuration();
|
|
1164
|
+
if (configuration) {
|
|
1165
|
+
this.configuration = configuration;
|
|
1166
|
+
}
|
|
1167
|
+
if (typeof this.configuration.basePath !== 'string') {
|
|
1168
|
+
if (Array.isArray(basePath) && basePath.length > 0) {
|
|
1169
|
+
basePath = basePath[0];
|
|
1170
|
+
}
|
|
1171
|
+
if (typeof basePath !== 'string') {
|
|
1172
|
+
basePath = this.basePath;
|
|
1173
|
+
}
|
|
1174
|
+
this.configuration.basePath = basePath;
|
|
1175
|
+
}
|
|
1176
|
+
this.encoder = this.configuration.encoder || new CustomHttpParameterCodec();
|
|
1177
|
+
}
|
|
1178
|
+
// @ts-ignore
|
|
1179
|
+
addToHttpParams(httpParams, value, key) {
|
|
1180
|
+
if (typeof value === "object" && value instanceof Date === false) {
|
|
1181
|
+
httpParams = this.addToHttpParamsRecursive(httpParams, value);
|
|
1182
|
+
}
|
|
1183
|
+
else {
|
|
1184
|
+
httpParams = this.addToHttpParamsRecursive(httpParams, value, key);
|
|
1185
|
+
}
|
|
1186
|
+
return httpParams;
|
|
1187
|
+
}
|
|
1188
|
+
addToHttpParamsRecursive(httpParams, value, key) {
|
|
1189
|
+
if (value == null) {
|
|
1190
|
+
return httpParams;
|
|
1191
|
+
}
|
|
1192
|
+
if (typeof value === "object") {
|
|
1193
|
+
if (Array.isArray(value)) {
|
|
1194
|
+
value.forEach(elem => httpParams = this.addToHttpParamsRecursive(httpParams, elem, key));
|
|
1195
|
+
}
|
|
1196
|
+
else if (value instanceof Date) {
|
|
1197
|
+
if (key != null) {
|
|
1198
|
+
httpParams = httpParams.append(key, value.toISOString().substring(0, 10));
|
|
1199
|
+
}
|
|
1200
|
+
else {
|
|
1201
|
+
throw Error("key may not be null if value is Date");
|
|
1202
|
+
}
|
|
1203
|
+
}
|
|
1204
|
+
else {
|
|
1205
|
+
Object.keys(value).forEach(k => httpParams = this.addToHttpParamsRecursive(httpParams, value[k], key != null ? `${key}.${k}` : k));
|
|
1206
|
+
}
|
|
1207
|
+
}
|
|
1208
|
+
else if (key != null) {
|
|
1209
|
+
httpParams = httpParams.append(key, value);
|
|
1210
|
+
}
|
|
1211
|
+
else {
|
|
1212
|
+
throw Error("key may not be null if value is not object or array");
|
|
1213
|
+
}
|
|
1214
|
+
return httpParams;
|
|
1215
|
+
}
|
|
1216
|
+
getAppConfig(observe = 'body', reportProgress = false, options) {
|
|
1217
|
+
let localVarHeaders = this.defaultHeaders;
|
|
1218
|
+
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
1219
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
1220
|
+
// to determine the Accept header
|
|
1221
|
+
const httpHeaderAccepts = [
|
|
1222
|
+
'*/*'
|
|
1223
|
+
];
|
|
1224
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
1225
|
+
}
|
|
1226
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1227
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
1228
|
+
}
|
|
1229
|
+
let localVarHttpContext = options && options.context;
|
|
1230
|
+
if (localVarHttpContext === undefined) {
|
|
1231
|
+
localVarHttpContext = new HttpContext();
|
|
1232
|
+
}
|
|
1233
|
+
let localVarTransferCache = options && options.transferCache;
|
|
1234
|
+
if (localVarTransferCache === undefined) {
|
|
1235
|
+
localVarTransferCache = true;
|
|
1236
|
+
}
|
|
1237
|
+
let responseType_ = 'json';
|
|
1238
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
1239
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
1240
|
+
responseType_ = 'text';
|
|
1241
|
+
}
|
|
1242
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1243
|
+
responseType_ = 'json';
|
|
1244
|
+
}
|
|
1245
|
+
else {
|
|
1246
|
+
responseType_ = 'blob';
|
|
1247
|
+
}
|
|
1248
|
+
}
|
|
1249
|
+
let localVarPath = `/rest/appconfig`;
|
|
1250
|
+
return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
1251
|
+
context: localVarHttpContext,
|
|
1252
|
+
responseType: responseType_,
|
|
1253
|
+
withCredentials: this.configuration.withCredentials,
|
|
1254
|
+
headers: localVarHeaders,
|
|
1255
|
+
observe: observe,
|
|
1256
|
+
transferCache: localVarTransferCache,
|
|
1257
|
+
reportProgress: reportProgress
|
|
1258
|
+
});
|
|
1259
|
+
}
|
|
1260
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: AppConfigControllerService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1261
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: AppConfigControllerService, providedIn: 'root' }); }
|
|
1262
|
+
}
|
|
1263
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: AppConfigControllerService, decorators: [{
|
|
1264
|
+
type: Injectable,
|
|
1265
|
+
args: [{
|
|
1266
|
+
providedIn: 'root'
|
|
1267
|
+
}]
|
|
1268
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
1269
|
+
type: Optional
|
|
1270
|
+
}, {
|
|
1271
|
+
type: Inject,
|
|
1272
|
+
args: [BASE_PATH]
|
|
1273
|
+
}] }, { type: Configuration, decorators: [{
|
|
1274
|
+
type: Optional
|
|
1275
|
+
}] }] });
|
|
1276
|
+
|
|
1277
|
+
/**
|
|
1278
|
+
* MST
|
|
1279
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
1280
|
+
*
|
|
1281
|
+
* The version of the OpenAPI document: 1
|
|
1282
|
+
*
|
|
1283
|
+
*
|
|
1284
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1285
|
+
* https://openapi-generator.tech
|
|
1286
|
+
* Do not edit the class manually.
|
|
1287
|
+
*/
|
|
1288
|
+
/* tslint:disable:no-unused-variable member-ordering */
|
|
1289
|
+
class BewegingControllerService {
|
|
1290
|
+
constructor(httpClient, basePath, configuration) {
|
|
1291
|
+
this.httpClient = httpClient;
|
|
1292
|
+
this.basePath = 'http://localhost:8080/mst';
|
|
1293
|
+
this.defaultHeaders = new HttpHeaders();
|
|
1294
|
+
this.configuration = new Configuration();
|
|
1295
|
+
if (configuration) {
|
|
1296
|
+
this.configuration = configuration;
|
|
1297
|
+
}
|
|
1298
|
+
if (typeof this.configuration.basePath !== 'string') {
|
|
1299
|
+
if (Array.isArray(basePath) && basePath.length > 0) {
|
|
1300
|
+
basePath = basePath[0];
|
|
1301
|
+
}
|
|
1302
|
+
if (typeof basePath !== 'string') {
|
|
1303
|
+
basePath = this.basePath;
|
|
1304
|
+
}
|
|
1305
|
+
this.configuration.basePath = basePath;
|
|
1306
|
+
}
|
|
1307
|
+
this.encoder = this.configuration.encoder || new CustomHttpParameterCodec();
|
|
1308
|
+
}
|
|
1309
|
+
// @ts-ignore
|
|
1310
|
+
addToHttpParams(httpParams, value, key) {
|
|
1311
|
+
if (typeof value === "object" && value instanceof Date === false) {
|
|
1312
|
+
httpParams = this.addToHttpParamsRecursive(httpParams, value);
|
|
1313
|
+
}
|
|
1314
|
+
else {
|
|
1315
|
+
httpParams = this.addToHttpParamsRecursive(httpParams, value, key);
|
|
1316
|
+
}
|
|
1317
|
+
return httpParams;
|
|
1318
|
+
}
|
|
1319
|
+
addToHttpParamsRecursive(httpParams, value, key) {
|
|
1320
|
+
if (value == null) {
|
|
1321
|
+
return httpParams;
|
|
1322
|
+
}
|
|
1323
|
+
if (typeof value === "object") {
|
|
1324
|
+
if (Array.isArray(value)) {
|
|
1325
|
+
value.forEach(elem => httpParams = this.addToHttpParamsRecursive(httpParams, elem, key));
|
|
1326
|
+
}
|
|
1327
|
+
else if (value instanceof Date) {
|
|
1328
|
+
if (key != null) {
|
|
1329
|
+
httpParams = httpParams.append(key, value.toISOString().substring(0, 10));
|
|
1330
|
+
}
|
|
1331
|
+
else {
|
|
1332
|
+
throw Error("key may not be null if value is Date");
|
|
1333
|
+
}
|
|
1334
|
+
}
|
|
1335
|
+
else {
|
|
1336
|
+
Object.keys(value).forEach(k => httpParams = this.addToHttpParamsRecursive(httpParams, value[k], key != null ? `${key}.${k}` : k));
|
|
1337
|
+
}
|
|
1338
|
+
}
|
|
1339
|
+
else if (key != null) {
|
|
1340
|
+
httpParams = httpParams.append(key, value);
|
|
1341
|
+
}
|
|
1342
|
+
else {
|
|
1343
|
+
throw Error("key may not be null if value is not object or array");
|
|
1344
|
+
}
|
|
1345
|
+
return httpParams;
|
|
1346
|
+
}
|
|
1347
|
+
verrijkBewegingenMetOngeplandeActies(iaVersie, ritRequestDto, observe = 'body', reportProgress = false, options) {
|
|
1348
|
+
if (iaVersie === null || iaVersie === undefined) {
|
|
1349
|
+
throw new Error('Required parameter iaVersie was null or undefined when calling verrijkBewegingenMetOngeplandeActies.');
|
|
1350
|
+
}
|
|
1351
|
+
if (ritRequestDto === null || ritRequestDto === undefined) {
|
|
1352
|
+
throw new Error('Required parameter ritRequestDto was null or undefined when calling verrijkBewegingenMetOngeplandeActies.');
|
|
1353
|
+
}
|
|
1354
|
+
let localVarHeaders = this.defaultHeaders;
|
|
1355
|
+
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
1356
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
1357
|
+
// to determine the Accept header
|
|
1358
|
+
const httpHeaderAccepts = [
|
|
1359
|
+
'*/*'
|
|
1360
|
+
];
|
|
1361
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
1362
|
+
}
|
|
1363
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1364
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
1365
|
+
}
|
|
1366
|
+
let localVarHttpContext = options && options.context;
|
|
1367
|
+
if (localVarHttpContext === undefined) {
|
|
1368
|
+
localVarHttpContext = new HttpContext();
|
|
1369
|
+
}
|
|
1370
|
+
let localVarTransferCache = options && options.transferCache;
|
|
1371
|
+
if (localVarTransferCache === undefined) {
|
|
1372
|
+
localVarTransferCache = true;
|
|
1373
|
+
}
|
|
1374
|
+
// to determine the Content-Type header
|
|
1375
|
+
const consumes = [
|
|
1376
|
+
'application/json'
|
|
1377
|
+
];
|
|
1378
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
1379
|
+
if (httpContentTypeSelected !== undefined) {
|
|
1380
|
+
localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
|
|
1381
|
+
}
|
|
1382
|
+
let responseType_ = 'json';
|
|
1383
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
1384
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
1385
|
+
responseType_ = 'text';
|
|
1386
|
+
}
|
|
1387
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1388
|
+
responseType_ = 'json';
|
|
1389
|
+
}
|
|
1390
|
+
else {
|
|
1391
|
+
responseType_ = 'blob';
|
|
1392
|
+
}
|
|
1393
|
+
}
|
|
1394
|
+
let localVarPath = `/rest/beweging/${this.configuration.encodeParam({ name: "iaVersie", value: iaVersie, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}`;
|
|
1395
|
+
return this.httpClient.request('put', `${this.configuration.basePath}${localVarPath}`, {
|
|
1396
|
+
context: localVarHttpContext,
|
|
1397
|
+
body: ritRequestDto,
|
|
1398
|
+
responseType: responseType_,
|
|
1399
|
+
withCredentials: this.configuration.withCredentials,
|
|
1400
|
+
headers: localVarHeaders,
|
|
1401
|
+
observe: observe,
|
|
1402
|
+
transferCache: localVarTransferCache,
|
|
1403
|
+
reportProgress: reportProgress
|
|
1404
|
+
});
|
|
1405
|
+
}
|
|
1406
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: BewegingControllerService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1407
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: BewegingControllerService, providedIn: 'root' }); }
|
|
1408
|
+
}
|
|
1409
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: BewegingControllerService, decorators: [{
|
|
1410
|
+
type: Injectable,
|
|
1411
|
+
args: [{
|
|
1412
|
+
providedIn: 'root'
|
|
1413
|
+
}]
|
|
1414
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
1415
|
+
type: Optional
|
|
1416
|
+
}, {
|
|
1417
|
+
type: Inject,
|
|
1418
|
+
args: [BASE_PATH]
|
|
1419
|
+
}] }, { type: Configuration, decorators: [{
|
|
1420
|
+
type: Optional
|
|
1421
|
+
}] }] });
|
|
1422
|
+
|
|
1423
|
+
/**
|
|
1424
|
+
* MST
|
|
1425
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
1426
|
+
*
|
|
1427
|
+
* The version of the OpenAPI document: 1
|
|
1428
|
+
*
|
|
1429
|
+
*
|
|
1430
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1431
|
+
* https://openapi-generator.tech
|
|
1432
|
+
* Do not edit the class manually.
|
|
1433
|
+
*/
|
|
1434
|
+
/* tslint:disable:no-unused-variable member-ordering */
|
|
1435
|
+
class Class0BuildPropertiesService {
|
|
1436
|
+
constructor(httpClient, basePath, configuration) {
|
|
1437
|
+
this.httpClient = httpClient;
|
|
1438
|
+
this.basePath = 'http://localhost:8080/mst';
|
|
1439
|
+
this.defaultHeaders = new HttpHeaders();
|
|
1440
|
+
this.configuration = new Configuration();
|
|
1441
|
+
if (configuration) {
|
|
1442
|
+
this.configuration = configuration;
|
|
1443
|
+
}
|
|
1444
|
+
if (typeof this.configuration.basePath !== 'string') {
|
|
1445
|
+
if (Array.isArray(basePath) && basePath.length > 0) {
|
|
1446
|
+
basePath = basePath[0];
|
|
1447
|
+
}
|
|
1448
|
+
if (typeof basePath !== 'string') {
|
|
1449
|
+
basePath = this.basePath;
|
|
1450
|
+
}
|
|
1451
|
+
this.configuration.basePath = basePath;
|
|
1452
|
+
}
|
|
1453
|
+
this.encoder = this.configuration.encoder || new CustomHttpParameterCodec();
|
|
1454
|
+
}
|
|
1455
|
+
// @ts-ignore
|
|
1456
|
+
addToHttpParams(httpParams, value, key) {
|
|
1457
|
+
if (typeof value === "object" && value instanceof Date === false) {
|
|
1458
|
+
httpParams = this.addToHttpParamsRecursive(httpParams, value);
|
|
1459
|
+
}
|
|
1460
|
+
else {
|
|
1461
|
+
httpParams = this.addToHttpParamsRecursive(httpParams, value, key);
|
|
1462
|
+
}
|
|
1463
|
+
return httpParams;
|
|
1464
|
+
}
|
|
1465
|
+
addToHttpParamsRecursive(httpParams, value, key) {
|
|
1466
|
+
if (value == null) {
|
|
1467
|
+
return httpParams;
|
|
1468
|
+
}
|
|
1469
|
+
if (typeof value === "object") {
|
|
1470
|
+
if (Array.isArray(value)) {
|
|
1471
|
+
value.forEach(elem => httpParams = this.addToHttpParamsRecursive(httpParams, elem, key));
|
|
1472
|
+
}
|
|
1473
|
+
else if (value instanceof Date) {
|
|
1474
|
+
if (key != null) {
|
|
1475
|
+
httpParams = httpParams.append(key, value.toISOString().substring(0, 10));
|
|
1476
|
+
}
|
|
1477
|
+
else {
|
|
1478
|
+
throw Error("key may not be null if value is Date");
|
|
1479
|
+
}
|
|
1480
|
+
}
|
|
1481
|
+
else {
|
|
1482
|
+
Object.keys(value).forEach(k => httpParams = this.addToHttpParamsRecursive(httpParams, value[k], key != null ? `${key}.${k}` : k));
|
|
1483
|
+
}
|
|
1484
|
+
}
|
|
1485
|
+
else if (key != null) {
|
|
1486
|
+
httpParams = httpParams.append(key, value);
|
|
1487
|
+
}
|
|
1488
|
+
else {
|
|
1489
|
+
throw Error("key may not be null if value is not object or array");
|
|
1490
|
+
}
|
|
1491
|
+
return httpParams;
|
|
1492
|
+
}
|
|
1493
|
+
getBuildProperties(observe = 'body', reportProgress = false, options) {
|
|
1494
|
+
let localVarHeaders = this.defaultHeaders;
|
|
1495
|
+
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
1496
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
1497
|
+
// to determine the Accept header
|
|
1498
|
+
const httpHeaderAccepts = [
|
|
1499
|
+
'application/json'
|
|
1500
|
+
];
|
|
1501
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
1502
|
+
}
|
|
1503
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1504
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
1505
|
+
}
|
|
1506
|
+
let localVarHttpContext = options && options.context;
|
|
1507
|
+
if (localVarHttpContext === undefined) {
|
|
1508
|
+
localVarHttpContext = new HttpContext();
|
|
1509
|
+
}
|
|
1510
|
+
let localVarTransferCache = options && options.transferCache;
|
|
1511
|
+
if (localVarTransferCache === undefined) {
|
|
1512
|
+
localVarTransferCache = true;
|
|
1513
|
+
}
|
|
1514
|
+
let responseType_ = 'json';
|
|
1515
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
1516
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
1517
|
+
responseType_ = 'text';
|
|
1518
|
+
}
|
|
1519
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1520
|
+
responseType_ = 'json';
|
|
1521
|
+
}
|
|
1522
|
+
else {
|
|
1523
|
+
responseType_ = 'blob';
|
|
1524
|
+
}
|
|
1525
|
+
}
|
|
1526
|
+
let localVarPath = `/build.properties`;
|
|
1527
|
+
return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
1528
|
+
context: localVarHttpContext,
|
|
1529
|
+
responseType: responseType_,
|
|
1530
|
+
withCredentials: this.configuration.withCredentials,
|
|
1531
|
+
headers: localVarHeaders,
|
|
1532
|
+
observe: observe,
|
|
1533
|
+
transferCache: localVarTransferCache,
|
|
1534
|
+
reportProgress: reportProgress
|
|
1535
|
+
});
|
|
1536
|
+
}
|
|
1537
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: Class0BuildPropertiesService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1538
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: Class0BuildPropertiesService, providedIn: 'root' }); }
|
|
1539
|
+
}
|
|
1540
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: Class0BuildPropertiesService, decorators: [{
|
|
1541
|
+
type: Injectable,
|
|
1542
|
+
args: [{
|
|
1543
|
+
providedIn: 'root'
|
|
1544
|
+
}]
|
|
1545
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
1546
|
+
type: Optional
|
|
1547
|
+
}, {
|
|
1548
|
+
type: Inject,
|
|
1549
|
+
args: [BASE_PATH]
|
|
1550
|
+
}] }, { type: Configuration, decorators: [{
|
|
1551
|
+
type: Optional
|
|
1552
|
+
}] }] });
|
|
1553
|
+
|
|
1554
|
+
/**
|
|
1555
|
+
* MST
|
|
1556
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
1557
|
+
*
|
|
1558
|
+
* The version of the OpenAPI document: 1
|
|
1559
|
+
*
|
|
1560
|
+
*
|
|
1561
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1562
|
+
* https://openapi-generator.tech
|
|
1563
|
+
* Do not edit the class manually.
|
|
1564
|
+
*/
|
|
1565
|
+
/* tslint:disable:no-unused-variable member-ordering */
|
|
1566
|
+
class ConnectorControllerService {
|
|
1567
|
+
constructor(httpClient, basePath, configuration) {
|
|
1568
|
+
this.httpClient = httpClient;
|
|
1569
|
+
this.basePath = 'http://localhost:8080/mst';
|
|
1570
|
+
this.defaultHeaders = new HttpHeaders();
|
|
1571
|
+
this.configuration = new Configuration();
|
|
1572
|
+
if (configuration) {
|
|
1573
|
+
this.configuration = configuration;
|
|
1574
|
+
}
|
|
1575
|
+
if (typeof this.configuration.basePath !== 'string') {
|
|
1576
|
+
if (Array.isArray(basePath) && basePath.length > 0) {
|
|
1577
|
+
basePath = basePath[0];
|
|
1578
|
+
}
|
|
1579
|
+
if (typeof basePath !== 'string') {
|
|
1580
|
+
basePath = this.basePath;
|
|
1581
|
+
}
|
|
1582
|
+
this.configuration.basePath = basePath;
|
|
1583
|
+
}
|
|
1584
|
+
this.encoder = this.configuration.encoder || new CustomHttpParameterCodec();
|
|
1585
|
+
}
|
|
1586
|
+
// @ts-ignore
|
|
1587
|
+
addToHttpParams(httpParams, value, key) {
|
|
1588
|
+
if (typeof value === "object" && value instanceof Date === false) {
|
|
1589
|
+
httpParams = this.addToHttpParamsRecursive(httpParams, value);
|
|
1590
|
+
}
|
|
1591
|
+
else {
|
|
1592
|
+
httpParams = this.addToHttpParamsRecursive(httpParams, value, key);
|
|
1593
|
+
}
|
|
1594
|
+
return httpParams;
|
|
1595
|
+
}
|
|
1596
|
+
addToHttpParamsRecursive(httpParams, value, key) {
|
|
1597
|
+
if (value == null) {
|
|
1598
|
+
return httpParams;
|
|
1599
|
+
}
|
|
1600
|
+
if (typeof value === "object") {
|
|
1601
|
+
if (Array.isArray(value)) {
|
|
1602
|
+
value.forEach(elem => httpParams = this.addToHttpParamsRecursive(httpParams, elem, key));
|
|
1603
|
+
}
|
|
1604
|
+
else if (value instanceof Date) {
|
|
1605
|
+
if (key != null) {
|
|
1606
|
+
httpParams = httpParams.append(key, value.toISOString().substring(0, 10));
|
|
1607
|
+
}
|
|
1608
|
+
else {
|
|
1609
|
+
throw Error("key may not be null if value is Date");
|
|
1610
|
+
}
|
|
1611
|
+
}
|
|
1612
|
+
else {
|
|
1613
|
+
Object.keys(value).forEach(k => httpParams = this.addToHttpParamsRecursive(httpParams, value[k], key != null ? `${key}.${k}` : k));
|
|
1614
|
+
}
|
|
1615
|
+
}
|
|
1616
|
+
else if (key != null) {
|
|
1617
|
+
httpParams = httpParams.append(key, value);
|
|
1618
|
+
}
|
|
1619
|
+
else {
|
|
1620
|
+
throw Error("key may not be null if value is not object or array");
|
|
1621
|
+
}
|
|
1622
|
+
return httpParams;
|
|
1623
|
+
}
|
|
1624
|
+
getOtherConnector(iaVersie, connectorPuic, observe = 'body', reportProgress = false, options) {
|
|
1625
|
+
if (iaVersie === null || iaVersie === undefined) {
|
|
1626
|
+
throw new Error('Required parameter iaVersie was null or undefined when calling getOtherConnector.');
|
|
1627
|
+
}
|
|
1628
|
+
if (connectorPuic === null || connectorPuic === undefined) {
|
|
1629
|
+
throw new Error('Required parameter connectorPuic was null or undefined when calling getOtherConnector.');
|
|
1630
|
+
}
|
|
1631
|
+
let localVarHeaders = this.defaultHeaders;
|
|
1632
|
+
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
1633
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
1634
|
+
// to determine the Accept header
|
|
1635
|
+
const httpHeaderAccepts = [
|
|
1636
|
+
'*/*'
|
|
1637
|
+
];
|
|
1638
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
1639
|
+
}
|
|
1640
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1641
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
1642
|
+
}
|
|
1643
|
+
let localVarHttpContext = options && options.context;
|
|
1644
|
+
if (localVarHttpContext === undefined) {
|
|
1645
|
+
localVarHttpContext = new HttpContext();
|
|
1646
|
+
}
|
|
1647
|
+
let localVarTransferCache = options && options.transferCache;
|
|
1648
|
+
if (localVarTransferCache === undefined) {
|
|
1649
|
+
localVarTransferCache = true;
|
|
1650
|
+
}
|
|
1651
|
+
let responseType_ = 'json';
|
|
1652
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
1653
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
1654
|
+
responseType_ = 'text';
|
|
1655
|
+
}
|
|
1656
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1657
|
+
responseType_ = 'json';
|
|
1658
|
+
}
|
|
1659
|
+
else {
|
|
1660
|
+
responseType_ = 'blob';
|
|
1661
|
+
}
|
|
1662
|
+
}
|
|
1663
|
+
let localVarPath = `/rest/connector/${this.configuration.encodeParam({ name: "iaVersie", value: iaVersie, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/${this.configuration.encodeParam({ name: "connectorPuic", value: connectorPuic, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}`;
|
|
1664
|
+
return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
1665
|
+
context: localVarHttpContext,
|
|
1666
|
+
responseType: responseType_,
|
|
1667
|
+
withCredentials: this.configuration.withCredentials,
|
|
1668
|
+
headers: localVarHeaders,
|
|
1669
|
+
observe: observe,
|
|
1670
|
+
transferCache: localVarTransferCache,
|
|
1671
|
+
reportProgress: reportProgress
|
|
1672
|
+
});
|
|
1673
|
+
}
|
|
1674
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: ConnectorControllerService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1675
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: ConnectorControllerService, providedIn: 'root' }); }
|
|
1676
|
+
}
|
|
1677
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: ConnectorControllerService, decorators: [{
|
|
1678
|
+
type: Injectable,
|
|
1679
|
+
args: [{
|
|
1680
|
+
providedIn: 'root'
|
|
1681
|
+
}]
|
|
1682
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
1683
|
+
type: Optional
|
|
1684
|
+
}, {
|
|
1685
|
+
type: Inject,
|
|
1686
|
+
args: [BASE_PATH]
|
|
1687
|
+
}] }, { type: Configuration, decorators: [{
|
|
1688
|
+
type: Optional
|
|
1689
|
+
}] }] });
|
|
1690
|
+
|
|
1691
|
+
/**
|
|
1692
|
+
* MST
|
|
1693
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
1694
|
+
*
|
|
1695
|
+
* The version of the OpenAPI document: 1
|
|
1696
|
+
*
|
|
1697
|
+
*
|
|
1698
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1699
|
+
* https://openapi-generator.tech
|
|
1700
|
+
* Do not edit the class manually.
|
|
1701
|
+
*/
|
|
1702
|
+
/* tslint:disable:no-unused-variable member-ordering */
|
|
1703
|
+
class LogControllerService {
|
|
1704
|
+
constructor(httpClient, basePath, configuration) {
|
|
1705
|
+
this.httpClient = httpClient;
|
|
1706
|
+
this.basePath = 'http://localhost:8080/mst';
|
|
1707
|
+
this.defaultHeaders = new HttpHeaders();
|
|
1708
|
+
this.configuration = new Configuration();
|
|
1709
|
+
if (configuration) {
|
|
1710
|
+
this.configuration = configuration;
|
|
1711
|
+
}
|
|
1712
|
+
if (typeof this.configuration.basePath !== 'string') {
|
|
1713
|
+
if (Array.isArray(basePath) && basePath.length > 0) {
|
|
1714
|
+
basePath = basePath[0];
|
|
1715
|
+
}
|
|
1716
|
+
if (typeof basePath !== 'string') {
|
|
1717
|
+
basePath = this.basePath;
|
|
1718
|
+
}
|
|
1719
|
+
this.configuration.basePath = basePath;
|
|
1720
|
+
}
|
|
1721
|
+
this.encoder = this.configuration.encoder || new CustomHttpParameterCodec();
|
|
1722
|
+
}
|
|
1723
|
+
// @ts-ignore
|
|
1724
|
+
addToHttpParams(httpParams, value, key) {
|
|
1725
|
+
if (typeof value === "object" && value instanceof Date === false) {
|
|
1726
|
+
httpParams = this.addToHttpParamsRecursive(httpParams, value);
|
|
1727
|
+
}
|
|
1728
|
+
else {
|
|
1729
|
+
httpParams = this.addToHttpParamsRecursive(httpParams, value, key);
|
|
1730
|
+
}
|
|
1731
|
+
return httpParams;
|
|
1732
|
+
}
|
|
1733
|
+
addToHttpParamsRecursive(httpParams, value, key) {
|
|
1734
|
+
if (value == null) {
|
|
1735
|
+
return httpParams;
|
|
1736
|
+
}
|
|
1737
|
+
if (typeof value === "object") {
|
|
1738
|
+
if (Array.isArray(value)) {
|
|
1739
|
+
value.forEach(elem => httpParams = this.addToHttpParamsRecursive(httpParams, elem, key));
|
|
1740
|
+
}
|
|
1741
|
+
else if (value instanceof Date) {
|
|
1742
|
+
if (key != null) {
|
|
1743
|
+
httpParams = httpParams.append(key, value.toISOString().substring(0, 10));
|
|
1744
|
+
}
|
|
1745
|
+
else {
|
|
1746
|
+
throw Error("key may not be null if value is Date");
|
|
1747
|
+
}
|
|
1748
|
+
}
|
|
1749
|
+
else {
|
|
1750
|
+
Object.keys(value).forEach(k => httpParams = this.addToHttpParamsRecursive(httpParams, value[k], key != null ? `${key}.${k}` : k));
|
|
1751
|
+
}
|
|
1752
|
+
}
|
|
1753
|
+
else if (key != null) {
|
|
1754
|
+
httpParams = httpParams.append(key, value);
|
|
1755
|
+
}
|
|
1756
|
+
else {
|
|
1757
|
+
throw Error("key may not be null if value is not object or array");
|
|
1758
|
+
}
|
|
1759
|
+
return httpParams;
|
|
1760
|
+
}
|
|
1761
|
+
log(logDto, observe = 'body', reportProgress = false, options) {
|
|
1762
|
+
if (logDto === null || logDto === undefined) {
|
|
1763
|
+
throw new Error('Required parameter logDto was null or undefined when calling log.');
|
|
1764
|
+
}
|
|
1765
|
+
let localVarHeaders = this.defaultHeaders;
|
|
1766
|
+
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
1767
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
1768
|
+
// to determine the Accept header
|
|
1769
|
+
const httpHeaderAccepts = [];
|
|
1770
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
1771
|
+
}
|
|
1772
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1773
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
1774
|
+
}
|
|
1775
|
+
let localVarHttpContext = options && options.context;
|
|
1776
|
+
if (localVarHttpContext === undefined) {
|
|
1777
|
+
localVarHttpContext = new HttpContext();
|
|
1778
|
+
}
|
|
1779
|
+
let localVarTransferCache = options && options.transferCache;
|
|
1780
|
+
if (localVarTransferCache === undefined) {
|
|
1781
|
+
localVarTransferCache = true;
|
|
1782
|
+
}
|
|
1783
|
+
// to determine the Content-Type header
|
|
1784
|
+
const consumes = [
|
|
1785
|
+
'application/json'
|
|
1786
|
+
];
|
|
1787
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
1788
|
+
if (httpContentTypeSelected !== undefined) {
|
|
1789
|
+
localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
|
|
1790
|
+
}
|
|
1791
|
+
let responseType_ = 'json';
|
|
1792
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
1793
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
1794
|
+
responseType_ = 'text';
|
|
1795
|
+
}
|
|
1796
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1797
|
+
responseType_ = 'json';
|
|
1798
|
+
}
|
|
1799
|
+
else {
|
|
1800
|
+
responseType_ = 'blob';
|
|
1801
|
+
}
|
|
1802
|
+
}
|
|
1803
|
+
let localVarPath = `/rest/logging/`;
|
|
1804
|
+
return this.httpClient.request('post', `${this.configuration.basePath}${localVarPath}`, {
|
|
1805
|
+
context: localVarHttpContext,
|
|
1806
|
+
body: logDto,
|
|
1807
|
+
responseType: responseType_,
|
|
1808
|
+
withCredentials: this.configuration.withCredentials,
|
|
1809
|
+
headers: localVarHeaders,
|
|
1810
|
+
observe: observe,
|
|
1811
|
+
transferCache: localVarTransferCache,
|
|
1812
|
+
reportProgress: reportProgress
|
|
1813
|
+
});
|
|
1814
|
+
}
|
|
1815
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: LogControllerService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1816
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: LogControllerService, providedIn: 'root' }); }
|
|
1817
|
+
}
|
|
1818
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: LogControllerService, decorators: [{
|
|
1819
|
+
type: Injectable,
|
|
1820
|
+
args: [{
|
|
1821
|
+
providedIn: 'root'
|
|
1822
|
+
}]
|
|
1823
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
1824
|
+
type: Optional
|
|
1825
|
+
}, {
|
|
1826
|
+
type: Inject,
|
|
1827
|
+
args: [BASE_PATH]
|
|
1828
|
+
}] }, { type: Configuration, decorators: [{
|
|
1829
|
+
type: Optional
|
|
1830
|
+
}] }] });
|
|
1831
|
+
|
|
1832
|
+
/**
|
|
1833
|
+
* MST
|
|
1834
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
1835
|
+
*
|
|
1836
|
+
* The version of the OpenAPI document: 1
|
|
1837
|
+
*
|
|
1838
|
+
*
|
|
1839
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1840
|
+
* https://openapi-generator.tech
|
|
1841
|
+
* Do not edit the class manually.
|
|
1842
|
+
*/
|
|
1843
|
+
/* tslint:disable:no-unused-variable member-ordering */
|
|
1844
|
+
class P21ControllerService {
|
|
1845
|
+
constructor(httpClient, basePath, configuration) {
|
|
1846
|
+
this.httpClient = httpClient;
|
|
1847
|
+
this.basePath = 'http://localhost:8080/mst';
|
|
1848
|
+
this.defaultHeaders = new HttpHeaders();
|
|
1849
|
+
this.configuration = new Configuration();
|
|
1850
|
+
if (configuration) {
|
|
1851
|
+
this.configuration = configuration;
|
|
1852
|
+
}
|
|
1853
|
+
if (typeof this.configuration.basePath !== 'string') {
|
|
1854
|
+
if (Array.isArray(basePath) && basePath.length > 0) {
|
|
1855
|
+
basePath = basePath[0];
|
|
1856
|
+
}
|
|
1857
|
+
if (typeof basePath !== 'string') {
|
|
1858
|
+
basePath = this.basePath;
|
|
1859
|
+
}
|
|
1860
|
+
this.configuration.basePath = basePath;
|
|
1861
|
+
}
|
|
1862
|
+
this.encoder = this.configuration.encoder || new CustomHttpParameterCodec();
|
|
1863
|
+
}
|
|
1864
|
+
/**
|
|
1865
|
+
* @param consumes string[] mime-types
|
|
1866
|
+
* @return true: consumes contains 'multipart/form-data', false: otherwise
|
|
1867
|
+
*/
|
|
1868
|
+
canConsumeForm(consumes) {
|
|
1869
|
+
const form = 'multipart/form-data';
|
|
1870
|
+
for (const consume of consumes) {
|
|
1871
|
+
if (form === consume) {
|
|
1872
|
+
return true;
|
|
1873
|
+
}
|
|
1874
|
+
}
|
|
1875
|
+
return false;
|
|
1876
|
+
}
|
|
1877
|
+
// @ts-ignore
|
|
1878
|
+
addToHttpParams(httpParams, value, key) {
|
|
1879
|
+
if (typeof value === "object" && value instanceof Date === false) {
|
|
1880
|
+
httpParams = this.addToHttpParamsRecursive(httpParams, value);
|
|
1881
|
+
}
|
|
1882
|
+
else {
|
|
1883
|
+
httpParams = this.addToHttpParamsRecursive(httpParams, value, key);
|
|
1884
|
+
}
|
|
1885
|
+
return httpParams;
|
|
1886
|
+
}
|
|
1887
|
+
addToHttpParamsRecursive(httpParams, value, key) {
|
|
1888
|
+
if (value == null) {
|
|
1889
|
+
return httpParams;
|
|
1890
|
+
}
|
|
1891
|
+
if (typeof value === "object") {
|
|
1892
|
+
if (Array.isArray(value)) {
|
|
1893
|
+
value.forEach(elem => httpParams = this.addToHttpParamsRecursive(httpParams, elem, key));
|
|
1894
|
+
}
|
|
1895
|
+
else if (value instanceof Date) {
|
|
1896
|
+
if (key != null) {
|
|
1897
|
+
httpParams = httpParams.append(key, value.toISOString().substring(0, 10));
|
|
1898
|
+
}
|
|
1899
|
+
else {
|
|
1900
|
+
throw Error("key may not be null if value is Date");
|
|
1901
|
+
}
|
|
1902
|
+
}
|
|
1903
|
+
else {
|
|
1904
|
+
Object.keys(value).forEach(k => httpParams = this.addToHttpParamsRecursive(httpParams, value[k], key != null ? `${key}.${k}` : k));
|
|
1905
|
+
}
|
|
1906
|
+
}
|
|
1907
|
+
else if (key != null) {
|
|
1908
|
+
httpParams = httpParams.append(key, value);
|
|
1909
|
+
}
|
|
1910
|
+
else {
|
|
1911
|
+
throw Error("key may not be null if value is not object or array");
|
|
1912
|
+
}
|
|
1913
|
+
return httpParams;
|
|
1914
|
+
}
|
|
1915
|
+
createP21Levering(p21Levering, update, observe = 'body', reportProgress = false, options) {
|
|
1916
|
+
if (p21Levering === null || p21Levering === undefined) {
|
|
1917
|
+
throw new Error('Required parameter p21Levering was null or undefined when calling createP21Levering.');
|
|
1918
|
+
}
|
|
1919
|
+
let localVarHeaders = this.defaultHeaders;
|
|
1920
|
+
let localVarCredential;
|
|
1921
|
+
// authentication (keycloak_auth) required
|
|
1922
|
+
localVarCredential = this.configuration.lookupCredential('keycloak_auth');
|
|
1923
|
+
if (localVarCredential) {
|
|
1924
|
+
localVarHeaders = localVarHeaders.set('Authorization', 'Bearer ' + localVarCredential);
|
|
1925
|
+
}
|
|
1926
|
+
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
1927
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
1928
|
+
// to determine the Accept header
|
|
1929
|
+
const httpHeaderAccepts = [
|
|
1930
|
+
'*/*'
|
|
1931
|
+
];
|
|
1932
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
1933
|
+
}
|
|
1934
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1935
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
1936
|
+
}
|
|
1937
|
+
let localVarHttpContext = options && options.context;
|
|
1938
|
+
if (localVarHttpContext === undefined) {
|
|
1939
|
+
localVarHttpContext = new HttpContext();
|
|
1940
|
+
}
|
|
1941
|
+
let localVarTransferCache = options && options.transferCache;
|
|
1942
|
+
if (localVarTransferCache === undefined) {
|
|
1943
|
+
localVarTransferCache = true;
|
|
1944
|
+
}
|
|
1945
|
+
// to determine the Content-Type header
|
|
1946
|
+
const consumes = [
|
|
1947
|
+
'multipart/form-data'
|
|
1948
|
+
];
|
|
1949
|
+
const canConsumeForm = this.canConsumeForm(consumes);
|
|
1950
|
+
let localVarFormParams;
|
|
1951
|
+
let localVarUseForm = false;
|
|
1952
|
+
let localVarConvertFormParamsToString = false;
|
|
1953
|
+
// use FormData to transmit files using content-type "multipart/form-data"
|
|
1954
|
+
// see https://stackoverflow.com/questions/4007969/application-x-www-form-urlencoded-or-multipart-form-data
|
|
1955
|
+
localVarUseForm = canConsumeForm;
|
|
1956
|
+
if (localVarUseForm) {
|
|
1957
|
+
localVarFormParams = new FormData();
|
|
1958
|
+
}
|
|
1959
|
+
else {
|
|
1960
|
+
localVarFormParams = new HttpParams({ encoder: this.encoder });
|
|
1961
|
+
}
|
|
1962
|
+
if (update !== undefined) {
|
|
1963
|
+
localVarFormParams = localVarFormParams.append('update', update) || localVarFormParams;
|
|
1964
|
+
}
|
|
1965
|
+
if (p21Levering !== undefined) {
|
|
1966
|
+
localVarFormParams = localVarFormParams.append('p21Levering', p21Levering) || localVarFormParams;
|
|
1967
|
+
}
|
|
1968
|
+
let responseType_ = 'json';
|
|
1969
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
1970
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
1971
|
+
responseType_ = 'text';
|
|
1972
|
+
}
|
|
1973
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1974
|
+
responseType_ = 'json';
|
|
1975
|
+
}
|
|
1976
|
+
else {
|
|
1977
|
+
responseType_ = 'blob';
|
|
1978
|
+
}
|
|
1979
|
+
}
|
|
1980
|
+
let localVarPath = `/services/secure/rest/backend/uploadversie`;
|
|
1981
|
+
return this.httpClient.request('post', `${this.configuration.basePath}${localVarPath}`, {
|
|
1982
|
+
context: localVarHttpContext,
|
|
1983
|
+
body: localVarConvertFormParamsToString ? localVarFormParams.toString() : localVarFormParams,
|
|
1984
|
+
responseType: responseType_,
|
|
1985
|
+
withCredentials: this.configuration.withCredentials,
|
|
1986
|
+
headers: localVarHeaders,
|
|
1987
|
+
observe: observe,
|
|
1988
|
+
transferCache: localVarTransferCache,
|
|
1989
|
+
reportProgress: reportProgress
|
|
1990
|
+
});
|
|
1991
|
+
}
|
|
1992
|
+
getVersies(observe = 'body', reportProgress = false, options) {
|
|
1993
|
+
let localVarHeaders = this.defaultHeaders;
|
|
1994
|
+
let localVarCredential;
|
|
1995
|
+
// authentication (keycloak_auth) required
|
|
1996
|
+
localVarCredential = this.configuration.lookupCredential('keycloak_auth');
|
|
1997
|
+
if (localVarCredential) {
|
|
1998
|
+
localVarHeaders = localVarHeaders.set('Authorization', 'Bearer ' + localVarCredential);
|
|
1999
|
+
}
|
|
2000
|
+
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
2001
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
2002
|
+
// to determine the Accept header
|
|
2003
|
+
const httpHeaderAccepts = [
|
|
2004
|
+
'application/json'
|
|
2005
|
+
];
|
|
2006
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
2007
|
+
}
|
|
2008
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
2009
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
2010
|
+
}
|
|
2011
|
+
let localVarHttpContext = options && options.context;
|
|
2012
|
+
if (localVarHttpContext === undefined) {
|
|
2013
|
+
localVarHttpContext = new HttpContext();
|
|
2014
|
+
}
|
|
2015
|
+
let localVarTransferCache = options && options.transferCache;
|
|
2016
|
+
if (localVarTransferCache === undefined) {
|
|
2017
|
+
localVarTransferCache = true;
|
|
2018
|
+
}
|
|
2019
|
+
let responseType_ = 'json';
|
|
2020
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
2021
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
2022
|
+
responseType_ = 'text';
|
|
2023
|
+
}
|
|
2024
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
2025
|
+
responseType_ = 'json';
|
|
2026
|
+
}
|
|
2027
|
+
else {
|
|
2028
|
+
responseType_ = 'blob';
|
|
2029
|
+
}
|
|
2030
|
+
}
|
|
2031
|
+
let localVarPath = `/services/secure/rest/backend/versies`;
|
|
2032
|
+
return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
2033
|
+
context: localVarHttpContext,
|
|
2034
|
+
responseType: responseType_,
|
|
2035
|
+
withCredentials: this.configuration.withCredentials,
|
|
2036
|
+
headers: localVarHeaders,
|
|
2037
|
+
observe: observe,
|
|
2038
|
+
transferCache: localVarTransferCache,
|
|
2039
|
+
reportProgress: reportProgress
|
|
2040
|
+
});
|
|
2041
|
+
}
|
|
2042
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: P21ControllerService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2043
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: P21ControllerService, providedIn: 'root' }); }
|
|
2044
|
+
}
|
|
2045
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: P21ControllerService, decorators: [{
|
|
2046
|
+
type: Injectable,
|
|
2047
|
+
args: [{
|
|
2048
|
+
providedIn: 'root'
|
|
2049
|
+
}]
|
|
2050
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
2051
|
+
type: Optional
|
|
2052
|
+
}, {
|
|
2053
|
+
type: Inject,
|
|
2054
|
+
args: [BASE_PATH]
|
|
2055
|
+
}] }, { type: Configuration, decorators: [{
|
|
2056
|
+
type: Optional
|
|
2057
|
+
}] }] });
|
|
2058
|
+
|
|
2059
|
+
/**
|
|
2060
|
+
* MST
|
|
2061
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
2062
|
+
*
|
|
2063
|
+
* The version of the OpenAPI document: 1
|
|
2064
|
+
*
|
|
2065
|
+
*
|
|
2066
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2067
|
+
* https://openapi-generator.tech
|
|
2068
|
+
* Do not edit the class manually.
|
|
2069
|
+
*/
|
|
2070
|
+
/* tslint:disable:no-unused-variable member-ordering */
|
|
2071
|
+
class SbControllerService {
|
|
2072
|
+
constructor(httpClient, basePath, configuration) {
|
|
2073
|
+
this.httpClient = httpClient;
|
|
2074
|
+
this.basePath = 'http://localhost:8080/mst';
|
|
2075
|
+
this.defaultHeaders = new HttpHeaders();
|
|
2076
|
+
this.configuration = new Configuration();
|
|
2077
|
+
if (configuration) {
|
|
2078
|
+
this.configuration = configuration;
|
|
2079
|
+
}
|
|
2080
|
+
if (typeof this.configuration.basePath !== 'string') {
|
|
2081
|
+
if (Array.isArray(basePath) && basePath.length > 0) {
|
|
2082
|
+
basePath = basePath[0];
|
|
2083
|
+
}
|
|
2084
|
+
if (typeof basePath !== 'string') {
|
|
2085
|
+
basePath = this.basePath;
|
|
2086
|
+
}
|
|
2087
|
+
this.configuration.basePath = basePath;
|
|
2088
|
+
}
|
|
2089
|
+
this.encoder = this.configuration.encoder || new CustomHttpParameterCodec();
|
|
2090
|
+
}
|
|
2091
|
+
// @ts-ignore
|
|
2092
|
+
addToHttpParams(httpParams, value, key) {
|
|
2093
|
+
if (typeof value === "object" && value instanceof Date === false) {
|
|
2094
|
+
httpParams = this.addToHttpParamsRecursive(httpParams, value);
|
|
2095
|
+
}
|
|
2096
|
+
else {
|
|
2097
|
+
httpParams = this.addToHttpParamsRecursive(httpParams, value, key);
|
|
2098
|
+
}
|
|
2099
|
+
return httpParams;
|
|
2100
|
+
}
|
|
2101
|
+
addToHttpParamsRecursive(httpParams, value, key) {
|
|
2102
|
+
if (value == null) {
|
|
2103
|
+
return httpParams;
|
|
2104
|
+
}
|
|
2105
|
+
if (typeof value === "object") {
|
|
2106
|
+
if (Array.isArray(value)) {
|
|
2107
|
+
value.forEach(elem => httpParams = this.addToHttpParamsRecursive(httpParams, elem, key));
|
|
2108
|
+
}
|
|
2109
|
+
else if (value instanceof Date) {
|
|
2110
|
+
if (key != null) {
|
|
2111
|
+
httpParams = httpParams.append(key, value.toISOString().substring(0, 10));
|
|
2112
|
+
}
|
|
2113
|
+
else {
|
|
2114
|
+
throw Error("key may not be null if value is Date");
|
|
2115
|
+
}
|
|
2116
|
+
}
|
|
2117
|
+
else {
|
|
2118
|
+
Object.keys(value).forEach(k => httpParams = this.addToHttpParamsRecursive(httpParams, value[k], key != null ? `${key}.${k}` : k));
|
|
2119
|
+
}
|
|
2120
|
+
}
|
|
2121
|
+
else if (key != null) {
|
|
2122
|
+
httpParams = httpParams.append(key, value);
|
|
2123
|
+
}
|
|
2124
|
+
else {
|
|
2125
|
+
throw Error("key may not be null if value is not object or array");
|
|
2126
|
+
}
|
|
2127
|
+
return httpParams;
|
|
2128
|
+
}
|
|
2129
|
+
getSignaleringsbeelden(signaleringsbeeldRequestDto, observe = 'body', reportProgress = false, options) {
|
|
2130
|
+
if (signaleringsbeeldRequestDto === null || signaleringsbeeldRequestDto === undefined) {
|
|
2131
|
+
throw new Error('Required parameter signaleringsbeeldRequestDto was null or undefined when calling getSignaleringsbeelden.');
|
|
2132
|
+
}
|
|
2133
|
+
let localVarHeaders = this.defaultHeaders;
|
|
2134
|
+
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
2135
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
2136
|
+
// to determine the Accept header
|
|
2137
|
+
const httpHeaderAccepts = [
|
|
2138
|
+
'*/*'
|
|
2139
|
+
];
|
|
2140
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
2141
|
+
}
|
|
2142
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
2143
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
2144
|
+
}
|
|
2145
|
+
let localVarHttpContext = options && options.context;
|
|
2146
|
+
if (localVarHttpContext === undefined) {
|
|
2147
|
+
localVarHttpContext = new HttpContext();
|
|
2148
|
+
}
|
|
2149
|
+
let localVarTransferCache = options && options.transferCache;
|
|
2150
|
+
if (localVarTransferCache === undefined) {
|
|
2151
|
+
localVarTransferCache = true;
|
|
2152
|
+
}
|
|
2153
|
+
// to determine the Content-Type header
|
|
2154
|
+
const consumes = [
|
|
2155
|
+
'application/json'
|
|
2156
|
+
];
|
|
2157
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
2158
|
+
if (httpContentTypeSelected !== undefined) {
|
|
2159
|
+
localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
|
|
2160
|
+
}
|
|
2161
|
+
let responseType_ = 'json';
|
|
2162
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
2163
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
2164
|
+
responseType_ = 'text';
|
|
2165
|
+
}
|
|
2166
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
2167
|
+
responseType_ = 'json';
|
|
2168
|
+
}
|
|
2169
|
+
else {
|
|
2170
|
+
responseType_ = 'blob';
|
|
2171
|
+
}
|
|
2172
|
+
}
|
|
2173
|
+
let localVarPath = `/rest/signaleringsbeeldeninfo`;
|
|
2174
|
+
return this.httpClient.request('post', `${this.configuration.basePath}${localVarPath}`, {
|
|
2175
|
+
context: localVarHttpContext,
|
|
2176
|
+
body: signaleringsbeeldRequestDto,
|
|
2177
|
+
responseType: responseType_,
|
|
2178
|
+
withCredentials: this.configuration.withCredentials,
|
|
2179
|
+
headers: localVarHeaders,
|
|
2180
|
+
observe: observe,
|
|
2181
|
+
transferCache: localVarTransferCache,
|
|
2182
|
+
reportProgress: reportProgress
|
|
2183
|
+
});
|
|
2184
|
+
}
|
|
2185
|
+
valideerIaVersie(versie, observe = 'body', reportProgress = false, options) {
|
|
2186
|
+
if (versie === null || versie === undefined) {
|
|
2187
|
+
throw new Error('Required parameter versie was null or undefined when calling valideerIaVersie.');
|
|
2188
|
+
}
|
|
2189
|
+
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
2190
|
+
if (versie !== undefined && versie !== null) {
|
|
2191
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, versie, 'versie');
|
|
2192
|
+
}
|
|
2193
|
+
let localVarHeaders = this.defaultHeaders;
|
|
2194
|
+
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
2195
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
2196
|
+
// to determine the Accept header
|
|
2197
|
+
const httpHeaderAccepts = [];
|
|
2198
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
2199
|
+
}
|
|
2200
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
2201
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
2202
|
+
}
|
|
2203
|
+
let localVarHttpContext = options && options.context;
|
|
2204
|
+
if (localVarHttpContext === undefined) {
|
|
2205
|
+
localVarHttpContext = new HttpContext();
|
|
2206
|
+
}
|
|
2207
|
+
let localVarTransferCache = options && options.transferCache;
|
|
2208
|
+
if (localVarTransferCache === undefined) {
|
|
2209
|
+
localVarTransferCache = true;
|
|
2210
|
+
}
|
|
2211
|
+
let responseType_ = 'json';
|
|
2212
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
2213
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
2214
|
+
responseType_ = 'text';
|
|
2215
|
+
}
|
|
2216
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
2217
|
+
responseType_ = 'json';
|
|
2218
|
+
}
|
|
2219
|
+
else {
|
|
2220
|
+
responseType_ = 'blob';
|
|
2221
|
+
}
|
|
2222
|
+
}
|
|
2223
|
+
let localVarPath = `/rest/signaleringsbeeldeninfo/valideeriaversie`;
|
|
2224
|
+
return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
2225
|
+
context: localVarHttpContext,
|
|
2226
|
+
params: localVarQueryParameters,
|
|
2227
|
+
responseType: responseType_,
|
|
2228
|
+
withCredentials: this.configuration.withCredentials,
|
|
2229
|
+
headers: localVarHeaders,
|
|
2230
|
+
observe: observe,
|
|
2231
|
+
transferCache: localVarTransferCache,
|
|
2232
|
+
reportProgress: reportProgress
|
|
2233
|
+
});
|
|
2234
|
+
}
|
|
2235
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: SbControllerService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2236
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: SbControllerService, providedIn: 'root' }); }
|
|
2237
|
+
}
|
|
2238
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: SbControllerService, decorators: [{
|
|
2239
|
+
type: Injectable,
|
|
2240
|
+
args: [{
|
|
2241
|
+
providedIn: 'root'
|
|
2242
|
+
}]
|
|
2243
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
2244
|
+
type: Optional
|
|
2245
|
+
}, {
|
|
2246
|
+
type: Inject,
|
|
2247
|
+
args: [BASE_PATH]
|
|
2248
|
+
}] }, { type: Configuration, decorators: [{
|
|
2249
|
+
type: Optional
|
|
2250
|
+
}] }] });
|
|
2251
|
+
|
|
2252
|
+
const APIS = [AppConfigControllerService, BewegingControllerService, Class0BuildPropertiesService, ConnectorControllerService, LogControllerService, P21ControllerService, SbControllerService];
|
|
2253
|
+
|
|
2254
|
+
/**
|
|
2255
|
+
* MST
|
|
2256
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
2257
|
+
*
|
|
2258
|
+
* The version of the OpenAPI document: 1
|
|
2259
|
+
*
|
|
2260
|
+
*
|
|
2261
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2262
|
+
* https://openapi-generator.tech
|
|
2263
|
+
* Do not edit the class manually.
|
|
2264
|
+
*/
|
|
2265
|
+
|
|
2266
|
+
/**
|
|
2267
|
+
* MST
|
|
2268
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
2269
|
+
*
|
|
2270
|
+
* The version of the OpenAPI document: 1
|
|
2271
|
+
*
|
|
2272
|
+
*
|
|
2273
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2274
|
+
* https://openapi-generator.tech
|
|
2275
|
+
* Do not edit the class manually.
|
|
2276
|
+
*/
|
|
2277
|
+
|
|
2278
|
+
/**
|
|
2279
|
+
* MST
|
|
2280
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
2281
|
+
*
|
|
2282
|
+
* The version of the OpenAPI document: 1
|
|
2283
|
+
*
|
|
2284
|
+
*
|
|
2285
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2286
|
+
* https://openapi-generator.tech
|
|
2287
|
+
* Do not edit the class manually.
|
|
2288
|
+
*/
|
|
2289
|
+
|
|
2290
|
+
/**
|
|
2291
|
+
* MST
|
|
2292
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
2293
|
+
*
|
|
2294
|
+
* The version of the OpenAPI document: 1
|
|
2295
|
+
*
|
|
2296
|
+
*
|
|
2297
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2298
|
+
* https://openapi-generator.tech
|
|
2299
|
+
* Do not edit the class manually.
|
|
2300
|
+
*/
|
|
2301
|
+
|
|
2302
|
+
/**
|
|
2303
|
+
* MST
|
|
2304
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
2305
|
+
*
|
|
2306
|
+
* The version of the OpenAPI document: 1
|
|
2307
|
+
*
|
|
2308
|
+
*
|
|
2309
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2310
|
+
* https://openapi-generator.tech
|
|
2311
|
+
* Do not edit the class manually.
|
|
2312
|
+
*/
|
|
2313
|
+
|
|
2314
|
+
class ApiModule {
|
|
2315
|
+
static forRoot(configurationFactory) {
|
|
2316
|
+
return {
|
|
2317
|
+
ngModule: ApiModule,
|
|
2318
|
+
providers: [{ provide: Configuration, useFactory: configurationFactory }]
|
|
2319
|
+
};
|
|
2320
|
+
}
|
|
2321
|
+
constructor(parentModule, http) {
|
|
2322
|
+
if (parentModule) {
|
|
2323
|
+
throw new Error('ApiModule is already loaded. Import in your base AppModule only.');
|
|
2324
|
+
}
|
|
2325
|
+
if (!http) {
|
|
2326
|
+
throw new Error('You need to import the HttpClientModule in your AppModule! \n' +
|
|
2327
|
+
'See also https://github.com/angular/angular/issues/20575');
|
|
2328
|
+
}
|
|
2329
|
+
}
|
|
2330
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: ApiModule, deps: [{ token: ApiModule, optional: true, skipSelf: true }, { token: i1.HttpClient, optional: true }], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
2331
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.7", ngImport: i0, type: ApiModule }); }
|
|
2332
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: ApiModule }); }
|
|
2333
|
+
}
|
|
2334
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: ApiModule, decorators: [{
|
|
2335
|
+
type: NgModule,
|
|
2336
|
+
args: [{
|
|
2337
|
+
imports: [],
|
|
2338
|
+
declarations: [],
|
|
2339
|
+
exports: [],
|
|
2340
|
+
providers: []
|
|
2341
|
+
}]
|
|
2342
|
+
}], ctorParameters: () => [{ type: ApiModule, decorators: [{
|
|
2343
|
+
type: Optional
|
|
2344
|
+
}, {
|
|
2345
|
+
type: SkipSelf
|
|
2346
|
+
}] }, { type: i1.HttpClient, decorators: [{
|
|
2347
|
+
type: Optional
|
|
2348
|
+
}] }] });
|
|
2349
|
+
|
|
2350
|
+
class MstLoggingResource {
|
|
2351
|
+
constructor(controller, store) {
|
|
2352
|
+
this.controller = controller;
|
|
2353
|
+
this.store = store;
|
|
2354
|
+
this.subscriptions = new Subscription();
|
|
2355
|
+
this.subscriptions.add(this.store.select('baseUrl').subscribe(baseUrl => controller.configuration.basePath = baseUrl + '/mst'));
|
|
2356
|
+
}
|
|
2357
|
+
ngOnDestroy() {
|
|
2358
|
+
this.subscriptions.unsubscribe();
|
|
2359
|
+
}
|
|
2360
|
+
logMessages(logDto) {
|
|
2361
|
+
this.controller.log(logDto).subscribe();
|
|
2362
|
+
}
|
|
2363
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: MstLoggingResource, deps: [{ token: LogControllerService }, { token: i2$1.Store }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2364
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: MstLoggingResource }); }
|
|
2365
|
+
}
|
|
2366
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: MstLoggingResource, decorators: [{
|
|
2367
|
+
type: Injectable
|
|
2368
|
+
}], ctorParameters: () => [{ type: LogControllerService }, { type: i2$1.Store }] });
|
|
2369
|
+
|
|
1170
2370
|
class LoggingHelper {
|
|
1171
|
-
constructor(
|
|
1172
|
-
this.sbmService = sbmService;
|
|
2371
|
+
constructor(store) {
|
|
1173
2372
|
this.store = store;
|
|
1174
2373
|
}
|
|
1175
2374
|
maakLogDTO(melding, actie) {
|
|
@@ -1183,7 +2382,7 @@ class LoggingHelper {
|
|
|
1183
2382
|
iaVersie = ia.versie;
|
|
1184
2383
|
});
|
|
1185
2384
|
if (actie) {
|
|
1186
|
-
actieDto =
|
|
2385
|
+
actieDto = {
|
|
1187
2386
|
pplgNaam: actie.pplgNaam,
|
|
1188
2387
|
ritActieTypeOmschrijving: actie.ritActieTypeOmschrijving,
|
|
1189
2388
|
ritActieStatus: actie.ritActieStatus,
|
|
@@ -1195,16 +2394,16 @@ class LoggingHelper {
|
|
|
1195
2394
|
vanKilometrering: actie.vanKilometrering,
|
|
1196
2395
|
totKilometerlint: actie.totKilometerlint,
|
|
1197
2396
|
totKilometrering: actie.totKilometrering
|
|
1198
|
-
}
|
|
2397
|
+
};
|
|
1199
2398
|
}
|
|
1200
|
-
return
|
|
2399
|
+
return {
|
|
1201
2400
|
iaVersie,
|
|
1202
2401
|
meldingLevel: melding.meldingLevel,
|
|
1203
2402
|
meldingMessage: melding.meldingMessage,
|
|
1204
2403
|
actieDto,
|
|
1205
2404
|
algemeneRitInfoDto,
|
|
1206
2405
|
sbinfoDtos: this.getSbInfoDtos()
|
|
1207
|
-
}
|
|
2406
|
+
};
|
|
1208
2407
|
}
|
|
1209
2408
|
getSbInfoDtos() {
|
|
1210
2409
|
const sbInfoDtos = [];
|
|
@@ -1215,12 +2414,12 @@ class LoggingHelper {
|
|
|
1215
2414
|
});
|
|
1216
2415
|
return sbInfoDtos;
|
|
1217
2416
|
}
|
|
1218
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: LoggingHelper, deps: [{ token:
|
|
2417
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: LoggingHelper, deps: [{ token: i2$1.Store }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1219
2418
|
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: LoggingHelper }); }
|
|
1220
2419
|
}
|
|
1221
2420
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: LoggingHelper, decorators: [{
|
|
1222
2421
|
type: Injectable
|
|
1223
|
-
}], ctorParameters: () => [{ type:
|
|
2422
|
+
}], ctorParameters: () => [{ type: i2$1.Store }] });
|
|
1224
2423
|
|
|
1225
2424
|
/**
|
|
1226
2425
|
* export const RIT_ACTIE_1 = 1;
|
|
@@ -1543,9 +2742,9 @@ class ActieHelper {
|
|
|
1543
2742
|
this.logLegeMeldingDto(logMeldingDTOs);
|
|
1544
2743
|
return retval;
|
|
1545
2744
|
}
|
|
1546
|
-
logLegeMeldingDto(
|
|
1547
|
-
if (
|
|
1548
|
-
this.mstLogResource.
|
|
2745
|
+
logLegeMeldingDto(logDto) {
|
|
2746
|
+
if (logDto.length > 0) {
|
|
2747
|
+
return this.mstLogResource.logMessages(logDto);
|
|
1549
2748
|
}
|
|
1550
2749
|
}
|
|
1551
2750
|
verwerkTopoElementen(topoElementen) {
|
|
@@ -1635,7 +2834,7 @@ class ActieHelper {
|
|
|
1635
2834
|
if (!storingsSymboolPuic && this.debug) {
|
|
1636
2835
|
const melding = MeldingBuilder.actieHighlightError([actie.id]);
|
|
1637
2836
|
this.messagesService.showMessage(MessageBuilder.actieHighlightError([actie.id]));
|
|
1638
|
-
this.mstLogResource.
|
|
2837
|
+
this.mstLogResource.logMessages([this.loggingHelper.maakLogDTO(melding, actie)]);
|
|
1639
2838
|
}
|
|
1640
2839
|
return storingsSymboolPuic ? [storingsSymboolPuic] : [];
|
|
1641
2840
|
}
|
|
@@ -2532,7 +3731,7 @@ let SignaleringsbeeldInfoResource = class SignaleringsbeeldInfoResource extends
|
|
|
2532
3731
|
ngOnDestroy() {
|
|
2533
3732
|
this.subscriptions.unsubscribe();
|
|
2534
3733
|
}
|
|
2535
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: SignaleringsbeeldInfoResource, deps: [{ token: i1.ResourceHandler }, { token: i2$1.Store }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3734
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: SignaleringsbeeldInfoResource, deps: [{ token: i1$1.ResourceHandler }, { token: i2$1.Store }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2536
3735
|
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: SignaleringsbeeldInfoResource }); }
|
|
2537
3736
|
};
|
|
2538
3737
|
__decorate([
|
|
@@ -2553,7 +3752,7 @@ SignaleringsbeeldInfoResource = __decorate([
|
|
|
2553
3752
|
], SignaleringsbeeldInfoResource);
|
|
2554
3753
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: SignaleringsbeeldInfoResource, decorators: [{
|
|
2555
3754
|
type: Injectable
|
|
2556
|
-
}], ctorParameters: () => [{ type: i1.ResourceHandler }, { type: i2$1.Store }], propDecorators: { laadSignaleringsbeeldInfo: [], getBestaatIALevering: [] } });
|
|
3755
|
+
}], ctorParameters: () => [{ type: i1$1.ResourceHandler }, { type: i2$1.Store }], propDecorators: { laadSignaleringsbeeldInfo: [], getBestaatIALevering: [] } });
|
|
2557
3756
|
class SignaleringsbeeldInfoDto extends ResourceModel {
|
|
2558
3757
|
constructor(data) {
|
|
2559
3758
|
super();
|
|
@@ -2587,7 +3786,7 @@ class BaseRestService {
|
|
|
2587
3786
|
ngOnDestroy() {
|
|
2588
3787
|
this.subscriptions.unsubscribe();
|
|
2589
3788
|
}
|
|
2590
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: BaseRestService, deps: [{ token: i1
|
|
3789
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: BaseRestService, deps: [{ token: i1.HttpClient }, { token: i2$1.Store }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2591
3790
|
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: BaseRestService, providedIn: 'root' }); }
|
|
2592
3791
|
}
|
|
2593
3792
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: BaseRestService, decorators: [{
|
|
@@ -2595,7 +3794,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImpor
|
|
|
2595
3794
|
args: [{
|
|
2596
3795
|
providedIn: 'root'
|
|
2597
3796
|
}]
|
|
2598
|
-
}], ctorParameters: () => [{ type: i1
|
|
3797
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: i2$1.Store }] });
|
|
2599
3798
|
|
|
2600
3799
|
class BewegingVerrijkerService extends BaseRestService {
|
|
2601
3800
|
getBewegingen(bewegingen, ongeplandeActies) {
|
|
@@ -2837,10 +4036,10 @@ class Ritdeel {
|
|
|
2837
4036
|
getZichtbaarheidBuitenPaginatie() {
|
|
2838
4037
|
return this.zichtbaarBuitenPaginatie;
|
|
2839
4038
|
}
|
|
2840
|
-
bepaalTopologieElementen(
|
|
2841
|
-
const topoElementen =
|
|
4039
|
+
bepaalTopologieElementen(sbmService) {
|
|
4040
|
+
const topoElementen = sbmService.bepaalRouteElementen(this.getRoute());
|
|
2842
4041
|
if (this.heeftVrijebaanInfo()) {
|
|
2843
|
-
const vrijebaanTopoElementen =
|
|
4042
|
+
const vrijebaanTopoElementen = sbmService.bepaalRouteElementen(this.getVrijebaanPrlRoute());
|
|
2844
4043
|
topoElementen.push(...vrijebaanTopoElementen);
|
|
2845
4044
|
}
|
|
2846
4045
|
this.topoElementen = topoElementen;
|
|
@@ -2985,7 +4184,7 @@ class BepaalOngeplandeActiesEffect {
|
|
|
2985
4184
|
this.messagesService.showMessage(MessageBuilder.nietGevondenTakkenOngeplandeActies(nietGevondenTakken));
|
|
2986
4185
|
}
|
|
2987
4186
|
if (logMeldingDTOs.length > 0) {
|
|
2988
|
-
this.mstLogResource.
|
|
4187
|
+
this.mstLogResource.logMessages(logMeldingDTOs);
|
|
2989
4188
|
}
|
|
2990
4189
|
this.store.dispatch(SetOngeplandeActies(puicActieMap));
|
|
2991
4190
|
this.store.dispatch(SetOngeplandeActieSelectieIds(Array.from(puicActieMap.keys())));
|
|
@@ -3055,7 +4254,7 @@ class BepaalSbInfosEffect {
|
|
|
3055
4254
|
next: _res => this.store.dispatch(laadEnVerwerkSignaleringsbeeldInfo(treinpad, paginationSize, pplgs, ritGewijzigdToegestaan)),
|
|
3056
4255
|
error: err => {
|
|
3057
4256
|
this.messagesService.showMessage(new Message(Severity.INFORMATION, Utils.getValidErorrMessage(err)));
|
|
3058
|
-
const iaVersieInfo = { versie: '
|
|
4257
|
+
const iaVersieInfo = { versie: 'DONNA_97207_VER_1', ingangsDatum: this.dateService.getCurrentDate() };
|
|
3059
4258
|
this.store.dispatch(SetIaVersie(iaVersieInfo));
|
|
3060
4259
|
this.store.dispatch(laadEnVerwerkSignaleringsbeeldInfo(treinpad, paginationSize, pplgs, ritGewijzigdToegestaan));
|
|
3061
4260
|
}
|
|
@@ -3386,8 +4585,8 @@ class LaadSignaleringsbeeldenEffect {
|
|
|
3386
4585
|
dtos.filter(d => !visibleDtos.includes(d)).forEach(d => d.metVisualisatie = false);
|
|
3387
4586
|
return visibleDtos;
|
|
3388
4587
|
}
|
|
3389
|
-
distinct(value, index,
|
|
3390
|
-
return
|
|
4588
|
+
distinct(value, index, values) {
|
|
4589
|
+
return values.indexOf(value) === index;
|
|
3391
4590
|
}
|
|
3392
4591
|
addPrevNonVisibleDto(firstIdx, ritdelen, loadingDtos, visibleRitPplgs, allDtos) {
|
|
3393
4592
|
if (firstIdx >= 0) {
|
|
@@ -3476,7 +4675,7 @@ class LaadSignaleringsbeeldenEffect {
|
|
|
3476
4675
|
}
|
|
3477
4676
|
}
|
|
3478
4677
|
}
|
|
3479
|
-
this.
|
|
4678
|
+
this.updateZichtbaarheidAangrenzendeRitdelen(min, max, ritdelen, visibleDtos);
|
|
3480
4679
|
return this.updateZichtbaarheidBuitenWindow(ritdelen, visibleDtos);
|
|
3481
4680
|
}
|
|
3482
4681
|
updateZichtbaarheidBuitenWindow(nieuweRitdelen, visibleDtos) {
|
|
@@ -3492,7 +4691,7 @@ class LaadSignaleringsbeeldenEffect {
|
|
|
3492
4691
|
}
|
|
3493
4692
|
return nieuweRitdelen;
|
|
3494
4693
|
}
|
|
3495
|
-
|
|
4694
|
+
updateZichtbaarheidAangrenzendeRitdelen(min, max, nieuweRitdelen, visibleDtos) {
|
|
3496
4695
|
let i = min - 1;
|
|
3497
4696
|
while (i >= 0) {
|
|
3498
4697
|
i = this.updateZichtbaarHeid(i, 0, visibleDtos, nieuweRitdelen) - 1;
|
|
@@ -3627,11 +4826,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImpor
|
|
|
3627
4826
|
}], ctorParameters: () => [{ type: i1$2.Actions }, { type: i2$1.Store }, { type: BewegingVerrijkerService }] });
|
|
3628
4827
|
|
|
3629
4828
|
class RitdelenEffect {
|
|
3630
|
-
constructor(actions$, store, sbmService,
|
|
4829
|
+
constructor(actions$, store, sbmService, editorService) {
|
|
3631
4830
|
this.actions$ = actions$;
|
|
3632
4831
|
this.store = store;
|
|
3633
4832
|
this.sbmService = sbmService;
|
|
3634
|
-
this.
|
|
4833
|
+
this.editorService = editorService;
|
|
3635
4834
|
this.updateRitDelen$ = createEffect(() => this.actions$.pipe(ofType(updateRitDelen), withLatestFrom(this.store), map(([actie, _storeState]) => {
|
|
3636
4835
|
const nieuweRitDelen = actie.ritDelen.map(ritDeel => ritDeel.isZichtbaar() ?
|
|
3637
4836
|
ritDeel.copyMetAlternatieveRoutes(this.sbmService.bepaalAlternativeRoutes(ritDeel.getRijweg())) : ritDeel);
|
|
@@ -3649,25 +4848,25 @@ class RitdelenEffect {
|
|
|
3649
4848
|
return setRitdelenAfterUpdate(ritDelen);
|
|
3650
4849
|
})));
|
|
3651
4850
|
this.ritdeelInvoegen$ = createEffect(() => this.actions$.pipe(ofType(ritdeelInvoegen), withLatestFrom(this.store), map(([actie, storeState]) => {
|
|
3652
|
-
const ritDelen = this.ritdeelInvoegenFunc(storeState.ritDelen, actie.nieuweRoute
|
|
4851
|
+
const ritDelen = this.ritdeelInvoegenFunc(storeState.ritDelen, actie.nieuweRoute);
|
|
3653
4852
|
return setRitdelenAfterUpdate(ritDelen);
|
|
3654
4853
|
})));
|
|
3655
4854
|
}
|
|
3656
|
-
ritdeelInvoegenFunc(ritDelen, nieuweRoute
|
|
4855
|
+
ritdeelInvoegenFunc(ritDelen, nieuweRoute) {
|
|
3657
4856
|
const origineelRitdeel = nieuweRoute.beginSeinOpRitdeel.ritdeel;
|
|
3658
4857
|
const beginSein = nieuweRoute.beginSeinOpRitdeel.sein;
|
|
3659
|
-
const rijwegplan =
|
|
4858
|
+
const rijwegplan = this.editorService.getRijwegplan(beginSein.getPPLG());
|
|
3660
4859
|
const dwangen = JsJavaUtil.listToArray(rijwegplan.getOnderliggendeDwangenTotEnVanSein(origineelRitdeel.getDwang(), beginSein));
|
|
3661
4860
|
const isSamengesteldeRoute = dwangen[0] && dwangen[1];
|
|
3662
4861
|
let newRitdeel1 = origineelRitdeel;
|
|
3663
4862
|
if (isSamengesteldeRoute) {
|
|
3664
|
-
newRitdeel1 = this.verwerkSamengesteldeRoute(origineelRitdeel, rijwegplan, dwangen,
|
|
4863
|
+
newRitdeel1 = this.verwerkSamengesteldeRoute(origineelRitdeel, rijwegplan, dwangen, ritDelen);
|
|
3665
4864
|
}
|
|
3666
4865
|
if (nieuweRoute.combinatieVoorEindsein.isVrijeBaanRijweg()) {
|
|
3667
|
-
this.extendRitdeelMetVrijebaanInfo(newRitdeel1, nieuweRoute
|
|
4866
|
+
this.extendRitdeelMetVrijebaanInfo(newRitdeel1, nieuweRoute);
|
|
3668
4867
|
}
|
|
3669
4868
|
else {
|
|
3670
|
-
this.maakNieuwRitdeel(newRitdeel1, nieuweRoute,
|
|
4869
|
+
this.maakNieuwRitdeel(newRitdeel1, nieuweRoute, ritDelen);
|
|
3671
4870
|
}
|
|
3672
4871
|
if (isSamengesteldeRoute) {
|
|
3673
4872
|
ritDelen.splice(ritDelen.indexOf(origineelRitdeel), 1);
|
|
@@ -3682,38 +4881,38 @@ class RitdelenEffect {
|
|
|
3682
4881
|
}
|
|
3683
4882
|
}
|
|
3684
4883
|
}
|
|
3685
|
-
verwerkSamengesteldeRoute(origineelRitdeel, rijwegplan, dwangen,
|
|
4884
|
+
verwerkSamengesteldeRoute(origineelRitdeel, rijwegplan, dwangen, ritDelen) {
|
|
3686
4885
|
// dwangen in 2 nieuwe ritdelen verwerken voor de knip
|
|
3687
4886
|
const nieuweRijweg1 = rijwegplan.getRijwegVoorSeinen(dwangen[0].getRoute().getBeginSein(), dwangen[0].getRoute().getEindSein());
|
|
3688
4887
|
const dwangInfo1 = new RijwegplanRijwegDwangCombinatie(rijwegplan, nieuweRijweg1, dwangen[0]);
|
|
3689
|
-
const newRitdeel1 = new Ritdeel(dwangInfo1, [],
|
|
4888
|
+
const newRitdeel1 = new Ritdeel(dwangInfo1, [], undefined, undefined, undefined, []);
|
|
3690
4889
|
// remove vrijbaan info uit ritdeel
|
|
3691
|
-
newRitdeel1.vrijebaanRijwegplanRijwegDwangCombi =
|
|
3692
|
-
newRitdeel1.vervolgSpoor =
|
|
3693
|
-
newRitdeel1.bepaalTopologieElementen(sbmService);
|
|
4890
|
+
newRitdeel1.vrijebaanRijwegplanRijwegDwangCombi = undefined;
|
|
4891
|
+
newRitdeel1.vervolgSpoor = undefined;
|
|
4892
|
+
newRitdeel1.bepaalTopologieElementen(this.sbmService);
|
|
3694
4893
|
this.insertRitdeel(ritDelen, origineelRitdeel, newRitdeel1);
|
|
3695
4894
|
const nieuweRijweg2 = rijwegplan.getRijwegVoorSeinen(dwangen[1].getRoute().getBeginSein(), dwangen[1].getRoute().getEindSein());
|
|
3696
4895
|
const dwangInfo2 = new RijwegplanRijwegDwangCombinatie(rijwegplan, nieuweRijweg2, dwangen[1]);
|
|
3697
|
-
const newRitdeel2 = new Ritdeel(dwangInfo2, [],
|
|
3698
|
-
newRitdeel2.bepaalTopologieElementen(sbmService);
|
|
4896
|
+
const newRitdeel2 = new Ritdeel(dwangInfo2, [], undefined, undefined, undefined, []);
|
|
4897
|
+
newRitdeel2.bepaalTopologieElementen(this.sbmService);
|
|
3699
4898
|
this.insertRitdeel(ritDelen, newRitdeel1, newRitdeel2);
|
|
3700
4899
|
return newRitdeel1;
|
|
3701
4900
|
}
|
|
3702
|
-
extendRitdeelMetVrijebaanInfo(newRitdeel1, nieuweRoute
|
|
4901
|
+
extendRitdeelMetVrijebaanInfo(newRitdeel1, nieuweRoute) {
|
|
3703
4902
|
newRitdeel1.vrijebaanRijwegplanRijwegDwangCombi = nieuweRoute.combinatieVoorEindsein;
|
|
3704
4903
|
const vbrwp = nieuweRoute.combinatieVoorEindsein.rijwegplan;
|
|
3705
4904
|
newRitdeel1.vervolgSpoor = vbrwp.getVervolgSpoor(nieuweRoute.combinatieVoorEindsein.rijweg);
|
|
3706
|
-
newRitdeel1.bepaalTopologieElementen(sbmService);
|
|
4905
|
+
newRitdeel1.bepaalTopologieElementen(this.sbmService);
|
|
3707
4906
|
}
|
|
3708
|
-
maakNieuwRitdeel(newRitdeel1, nieuweRoute,
|
|
4907
|
+
maakNieuwRitdeel(newRitdeel1, nieuweRoute, ritDelen) {
|
|
3709
4908
|
let newRitdeel = this.createRitdeel(nieuweRoute);
|
|
3710
|
-
const altRoutes = sbmService.bepaalAlternativeRoutes(newRitdeel.getRijweg());
|
|
4909
|
+
const altRoutes = this.sbmService.bepaalAlternativeRoutes(newRitdeel.getRijweg());
|
|
3711
4910
|
newRitdeel = newRitdeel.copyMetAlternatieveRoutes(altRoutes);
|
|
3712
|
-
newRitdeel.bepaalTopologieElementen(sbmService);
|
|
4911
|
+
newRitdeel.bepaalTopologieElementen(this.sbmService);
|
|
3713
4912
|
this.insertRitdeel(ritDelen, newRitdeel1, newRitdeel);
|
|
3714
4913
|
}
|
|
3715
4914
|
createRitdeel(nieuweRoute) {
|
|
3716
|
-
return new Ritdeel(nieuweRoute.combinatieVoorEindsein, [],
|
|
4915
|
+
return new Ritdeel(nieuweRoute.combinatieVoorEindsein, [], undefined, undefined, undefined, []);
|
|
3717
4916
|
}
|
|
3718
4917
|
insertRitdeel(ritdelen, naRitdeelPositie, newRitdeel) {
|
|
3719
4918
|
const idx = ritdelen.indexOf(naRitdeelPositie);
|
|
@@ -3880,7 +5079,7 @@ const nieuweRouteReducer = createReducer(new NieuweRoute(null, null), on(SetNieu
|
|
|
3880
5079
|
const signaleringsbeeldInfoDtosReducer = createReducer([], on(SetSignaleringsbeeldInfoDtos, (_, { dtos }) => dtos), on(UpdateSignaleringsbeeldInfoDtos, (_, { dtos }) => [...dtos]));
|
|
3881
5080
|
const visibleSbInfoDtosReducer = createReducer([], on(SetVisibleSignaleringsbeeldInfoDtos, (_, { dtos }) => dtos), on(UpdateVisibleSignaleringsbeeldInfoDtos, (_, { dtos }) => [...dtos]));
|
|
3882
5081
|
const iaVersieReducer = createReducer({}, on(SetIaVersie, (_, { iaVersie }) => Object.assign({}, iaVersie, { versie: iaVersie.versie.toUpperCase() })));
|
|
3883
|
-
const algemeneRitInfoDtoReducer = createReducer(
|
|
5082
|
+
const algemeneRitInfoDtoReducer = createReducer({}, on(SetAlgemeneRitInfo, (_, { algemeneRitInfoDto }) => algemeneRitInfoDto));
|
|
3884
5083
|
const ongeplandeActiesBepaaldReducer = createReducer(false, on(SetOngeplandeActiesBepaald, (_, { bepaald }) => bepaald));
|
|
3885
5084
|
const nieuweBewegingReducer = createReducer({}, on(UpdateRit, (_, { bewegingen }) => bewegingen));
|
|
3886
5085
|
const baseUrlReducer = createReducer(undefined, on(SetBaseUrl, (_, { baseUrl }) => baseUrl));
|
|
@@ -3917,6 +5116,7 @@ const storeReducers = {
|
|
|
3917
5116
|
selectedRitdeelId: selectedRitdeelIdReducer
|
|
3918
5117
|
};
|
|
3919
5118
|
|
|
5119
|
+
// @ts-nocheck
|
|
3920
5120
|
class ZoneUtil {
|
|
3921
5121
|
constructor(ngZone) {
|
|
3922
5122
|
this.ngZone = ngZone;
|
|
@@ -3961,6 +5161,7 @@ const imports = [
|
|
|
3961
5161
|
ImxViewerModule,
|
|
3962
5162
|
RijwegenModule,
|
|
3963
5163
|
ResourceModule.forRoot(),
|
|
5164
|
+
//@ts-ignore TODO: remove this ignore and fix it
|
|
3964
5165
|
StoreModule.forRoot(storeReducers, STORE_CONFIG),
|
|
3965
5166
|
EffectsModule.forRoot([
|
|
3966
5167
|
DeleteOngeplandeActieEffect,
|
|
@@ -3979,6 +5180,7 @@ class MstViewerModule {
|
|
|
3979
5180
|
constructor(service, zoneUtil) {
|
|
3980
5181
|
this.service = service;
|
|
3981
5182
|
// maak de EditorService toegankelijk voor GWT code
|
|
5183
|
+
// @ts-ignore
|
|
3982
5184
|
window['rpe'] = {
|
|
3983
5185
|
EditorService: zoneUtil.proxy(service)
|
|
3984
5186
|
};
|
|
@@ -3996,7 +5198,7 @@ class MstViewerModule {
|
|
|
3996
5198
|
SvgVisualisatieComponent,
|
|
3997
5199
|
MessagesComponent], imports: [CommonModule,
|
|
3998
5200
|
ImxViewerModule,
|
|
3999
|
-
RijwegenModule, i1.ResourceModule, i2$1.StoreRootModule, i1$2.EffectsRootModule], exports: [MstviewerComponent] }); }
|
|
5201
|
+
RijwegenModule, i1$1.ResourceModule, i2$1.StoreRootModule, i1$2.EffectsRootModule], exports: [MstviewerComponent] }); }
|
|
4000
5202
|
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: MstViewerModule, providers: [
|
|
4001
5203
|
ZoneUtil,
|
|
4002
5204
|
SignaleringsbeeldInfoResource,
|