sendung-lib 1.0.1 → 1.0.2-0.1
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/lib/components/colli-ereignisse/colli-info-cell/colli-info-cell.component.mjs +3 -8
- package/esm2022/lib/components/sendung-ereignisse/sendung-ereignisse-info-cell/sendung-ereignisse-info-cell.component.mjs +3 -8
- package/esm2022/lib/components/sendung-information/info-cell/info-cell.component.mjs +6 -9
- package/esm2022/lib/components/sendung-information/radioaktiv-cell/radioaktiv-cell.component.mjs +2 -5
- package/esm2022/lib/components/sendung-information/sendung-information.component.mjs +3 -8
- package/esm2022/lib/components/sendung-information/sendung-korrektur/aktuelle-daten/aktuelle-daten.component.mjs +11 -16
- package/esm2022/lib/components/sendung-information/sendung-korrektur/korrektur-button-cell/korrektur-button-cell.component.mjs +3 -7
- package/esm2022/lib/components/sendung-information/sendung-korrektur/korrektur-daten/korrektur-daten.component.mjs +4 -14
- package/esm2022/lib/components/sendungskette/empfaenger-details/empfaenger-details.component.mjs +3 -8
- package/esm2022/lib/components/sendungskette/sendungskette.component.mjs +17 -12
- package/esm2022/lib/view/sendung-buttons/sendung-buttons.component.mjs +27 -0
- package/esm2022/public-api.mjs +2 -1
- package/fesm2022/sendung-lib.mjs +71 -72
- package/fesm2022/sendung-lib.mjs.map +1 -1
- package/lib/components/colli-ereignisse/colli-info-cell/colli-info-cell.component.d.ts +0 -1
- package/lib/components/sendung-ereignisse/sendung-ereignisse-info-cell/sendung-ereignisse-info-cell.component.d.ts +0 -1
- package/lib/components/sendung-information/info-cell/info-cell.component.d.ts +0 -2
- package/lib/components/sendung-information/sendung-information.component.d.ts +0 -2
- package/lib/components/sendung-information/sendung-korrektur/aktuelle-daten/aktuelle-daten.component.d.ts +2 -5
- package/lib/components/sendung-information/sendung-korrektur/korrektur-button-cell/korrektur-button-cell.component.d.ts +0 -1
- package/lib/components/sendung-information/sendung-korrektur/korrektur-daten/korrektur-daten.component.d.ts +0 -7
- package/lib/components/sendungskette/empfaenger-details/empfaenger-details.component.d.ts +0 -1
- package/lib/components/sendungskette/sendungskette.component.d.ts +4 -2
- package/lib/view/sendung-buttons/sendung-buttons.component.d.ts +13 -0
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
- package/sendung-lib-1.0.20.1.tgz +0 -0
- package/sendung-lib-1.0.1.tgz +0 -0
package/fesm2022/sendung-lib.mjs
CHANGED
|
@@ -5,12 +5,11 @@ import * as i2$1 from 'ngx-bootstrap/collapse';
|
|
|
5
5
|
import { CollapseModule } from 'ngx-bootstrap/collapse';
|
|
6
6
|
import * as i3 from 'ngx-bootstrap/tabs';
|
|
7
7
|
import { TabsModule } from 'ngx-bootstrap/tabs';
|
|
8
|
-
import { FaIconComponent } from '@fortawesome/angular-fontawesome';
|
|
9
|
-
import { faInfoCircle, faImage, faBoxOpen, faPallet, faCogs, faWeightHanging, faClock, faPencilAlt, faCaretUp, faCaretDown } from '@fortawesome/free-solid-svg-icons';
|
|
10
8
|
import * as i1 from 'ngx-bootstrap/modal';
|
|
11
9
|
import { ModalModule } from 'ngx-bootstrap/modal';
|
|
12
|
-
import { NgClass } from '@angular/common';
|
|
13
10
|
import * as i2 from 'ngx-lightbox';
|
|
11
|
+
import { LightboxModule } from 'ngx-lightbox';
|
|
12
|
+
import { NgClass } from '@angular/common';
|
|
14
13
|
import { BehaviorSubject } from 'rxjs';
|
|
15
14
|
import * as i1$1 from '@angular/forms';
|
|
16
15
|
import { FormsModule } from '@angular/forms';
|
|
@@ -259,8 +258,6 @@ class InfoCellComponent {
|
|
|
259
258
|
constructor(modalService, lightbox) {
|
|
260
259
|
this.modalService = modalService;
|
|
261
260
|
this.lightbox = lightbox;
|
|
262
|
-
this.faInfoCircle = faInfoCircle;
|
|
263
|
-
this.faImage = faImage;
|
|
264
261
|
this.highlight = false;
|
|
265
262
|
this._albums = [];
|
|
266
263
|
}
|
|
@@ -314,15 +311,15 @@ class InfoCellComponent {
|
|
|
314
311
|
this.lightbox.open(this._albums, 0);
|
|
315
312
|
}
|
|
316
313
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: InfoCellComponent, deps: [{ token: i1.BsModalService }, { token: i2.Lightbox }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
317
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: InfoCellComponent, isStandalone: true, selector: "lib-info-cell", ngImport: i0, template: "<div (click)=\"displayInfos(template)\" class=\"customCss\">\r\n <
|
|
314
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: InfoCellComponent, isStandalone: true, selector: "lib-info-cell", ngImport: i0, template: "<div (click)=\"displayInfos(template)\" class=\"customCss\">\r\n <i [ngClass]=\"highlight ? 'highlight' : 'notHighlighted'\" class=\"fa-solid fa-circle-info\"></i>\r\n</div>\r\n\r\n<ng-template #template>\r\n <div class=\"modal-header\">\r\n <h5 class=\"modal-title pull-left\">Hinweise</h5>\r\n <button type=\"button\" class=\"close pull-right\" aria-label=\"Close\" (click)=\"modalRef.hide()\">\r\n <span aria-hidden=\"true\">×</span>\r\n </button>\r\n </div>\r\n <div class=\"modal-body text-left\">\r\n <span style=\"font-weight: bold\">Empf\u00E4nger:</span><br>\r\n {{ this.showEmpfaengerName(params) }}<br>\r\n {{ params.data.empfaengerStrasse }} {{ params.data.empfaengerHausnr }}<br>\r\n {{ params.data.empfaengerPlz }} {{ params.data.empfaengerOrt }}<br>\r\n {{ params.data.empfaengerLand }}<br>\r\n <hr>\r\n </div>\r\n <div class=\"modal-body text-left\">\r\n <span style=\"font-weight: bold\">Operative Hinweise: </span>\r\n <p>{{ this.checkValues(params.data.hinweisEmpfaenger) }}</p>\r\n </div>\r\n <div class=\"modal-body text-left\">\r\n <span style=\"font-weight: bold\">Empf\u00E4nger Hinweise: </span>\r\n <p>{{ this.checkValues(params.data.hinweisOperativ) }}</p>\r\n </div>\r\n @if (alvImage?.length > 0) {\r\n <div class=\"modal-body text-left\">\r\n <span style=\"font-weight: bold; margin-right: 1rem\">ALV-Infos</span>\r\n <i (click)=\"zoomImg(alvImage)\" class=\"fa-solid fa-folder-image fa-lg\"></i>\r\n <p>{{ alvText }}</p>\r\n </div>\r\n }\r\n</ng-template>\r\n\r\n", styles: [".customCss{cursor:pointer}.highlight{color:#f27e00}.notHighlighted{color:gray}.image-size{display:block;margin-left:auto;margin-right:auto;max-width:275px;max-height:265px;min-width:230px}\n"], dependencies: [{ kind: "ngmodule", type: ModalModule }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "ngmodule", type: LightboxModule }] }); }
|
|
318
315
|
}
|
|
319
316
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: InfoCellComponent, decorators: [{
|
|
320
317
|
type: Component,
|
|
321
318
|
args: [{ selector: 'lib-info-cell', standalone: true, imports: [
|
|
322
|
-
FaIconComponent,
|
|
323
319
|
ModalModule,
|
|
324
|
-
NgClass
|
|
325
|
-
|
|
320
|
+
NgClass,
|
|
321
|
+
LightboxModule
|
|
322
|
+
], template: "<div (click)=\"displayInfos(template)\" class=\"customCss\">\r\n <i [ngClass]=\"highlight ? 'highlight' : 'notHighlighted'\" class=\"fa-solid fa-circle-info\"></i>\r\n</div>\r\n\r\n<ng-template #template>\r\n <div class=\"modal-header\">\r\n <h5 class=\"modal-title pull-left\">Hinweise</h5>\r\n <button type=\"button\" class=\"close pull-right\" aria-label=\"Close\" (click)=\"modalRef.hide()\">\r\n <span aria-hidden=\"true\">×</span>\r\n </button>\r\n </div>\r\n <div class=\"modal-body text-left\">\r\n <span style=\"font-weight: bold\">Empf\u00E4nger:</span><br>\r\n {{ this.showEmpfaengerName(params) }}<br>\r\n {{ params.data.empfaengerStrasse }} {{ params.data.empfaengerHausnr }}<br>\r\n {{ params.data.empfaengerPlz }} {{ params.data.empfaengerOrt }}<br>\r\n {{ params.data.empfaengerLand }}<br>\r\n <hr>\r\n </div>\r\n <div class=\"modal-body text-left\">\r\n <span style=\"font-weight: bold\">Operative Hinweise: </span>\r\n <p>{{ this.checkValues(params.data.hinweisEmpfaenger) }}</p>\r\n </div>\r\n <div class=\"modal-body text-left\">\r\n <span style=\"font-weight: bold\">Empf\u00E4nger Hinweise: </span>\r\n <p>{{ this.checkValues(params.data.hinweisOperativ) }}</p>\r\n </div>\r\n @if (alvImage?.length > 0) {\r\n <div class=\"modal-body text-left\">\r\n <span style=\"font-weight: bold; margin-right: 1rem\">ALV-Infos</span>\r\n <i (click)=\"zoomImg(alvImage)\" class=\"fa-solid fa-folder-image fa-lg\"></i>\r\n <p>{{ alvText }}</p>\r\n </div>\r\n }\r\n</ng-template>\r\n\r\n", styles: [".customCss{cursor:pointer}.highlight{color:#f27e00}.notHighlighted{color:gray}.image-size{display:block;margin-left:auto;margin-right:auto;max-width:275px;max-height:265px;min-width:230px}\n"] }]
|
|
326
323
|
}], ctorParameters: () => [{ type: i1.BsModalService }, { type: i2.Lightbox }] });
|
|
327
324
|
|
|
328
325
|
class FormService {
|
|
@@ -415,15 +412,12 @@ class RadioaktivCellComponent {
|
|
|
415
412
|
}
|
|
416
413
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: RadioaktivCellComponent, decorators: [{
|
|
417
414
|
type: Component,
|
|
418
|
-
args: [{ selector: 'lib-radioaktiv-cell', standalone: true, imports: [
|
|
419
|
-
FaIconComponent
|
|
420
|
-
], template: "@if (isRadioActive) {\r\n <img class=\"image-size\" src=\"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA3NS45NCA3NS45NyI+PGRlZnM+PHN0eWxlPi5jbHMtMXtmaWxsOiNmZWQwMWM7fS5jbHMtMntmaWxsOiMwMTAxMDE7fTwvc3R5bGU+PC9kZWZzPjxnIGlkPSJFYmVuZV8yIiBkYXRhLW5hbWU9IkViZW5lIDIiPjxnIGlkPSJFYmVuZV8xLTIiIGRhdGEtbmFtZT0iRWJlbmUgMSI+PGVsbGlwc2UgY2xhc3M9ImNscy0xIiBjeD0iMzcuOTciIGN5PSIzNy45OCIgcng9IjM3Ljk3IiByeT0iMzcuOTgiLz48cGF0aCBjbGFzcz0iY2xzLTIiIGQ9Ik0zOCw3Mi41N2EzNC41OCwzNC41OCwwLDAsMS0yNC40NC01OUEzNC41NywzNC41NywwLDAsMSw2Mi40MSw2Mi40NCwzNC4zNCwzNC4zNCwwLDAsMSwzOCw3Mi41N1pNMzgsNi4xMkEzMS44NywzMS44NywwLDEsMCw2OS44MywzOCwzMS44OSwzMS44OSwwLDAsMCwzOCw2LjEyWiIvPjxjaXJjbGUgY2xhc3M9ImNscy0yIiBjeD0iMzcuOTciIGN5PSIzNy45OCIgcj0iNS42Ii8+PHBhdGggY2xhc3M9ImNscy0yIiBkPSJNMzgsNDYuNTdhOC43Nyw4Ljc3LDAsMCwxLTQuNTktMS4zbC04LjY4LDE1YTI2LjA1LDI2LjA1LDAsMCwwLDI2LjUzLDBsLTguNjgtMTVBOC43MSw4LjcxLDAsMCwxLDM4LDQ2LjU3WiIvPjxwYXRoIGNsYXNzPSJjbHMtMiIgZD0iTTMzLjgyLDMwLjE0bC04LjY4LTE1QTI2LjEyLDI2LjEyLDAsMCwwLDExLjg4LDM3LjMySDI5LjI1QTguNzMsOC43MywwLDAsMSwzMy44MiwzMC4xNFoiLz48cGF0aCBjbGFzcz0iY2xzLTIiIGQ9Ik00Ni42OSwzNy4zMkg2NC4wNkEyNi4xNCwyNi4xNCwwLDAsMCw1MC44LDE1LjFsLTguNjgsMTVBOC43NSw4Ljc1LDAsMCwxLDQ2LjY5LDM3LjMyWiIvPjwvZz48L2c+PC9zdmc+\">\r\n}\r\n\r\n\r\n\r\n", styles: [".image-size{max-width:25px!important}\n"] }]
|
|
415
|
+
args: [{ selector: 'lib-radioaktiv-cell', standalone: true, imports: [], template: "@if (isRadioActive) {\r\n <img class=\"image-size\" src=\"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA3NS45NCA3NS45NyI+PGRlZnM+PHN0eWxlPi5jbHMtMXtmaWxsOiNmZWQwMWM7fS5jbHMtMntmaWxsOiMwMTAxMDE7fTwvc3R5bGU+PC9kZWZzPjxnIGlkPSJFYmVuZV8yIiBkYXRhLW5hbWU9IkViZW5lIDIiPjxnIGlkPSJFYmVuZV8xLTIiIGRhdGEtbmFtZT0iRWJlbmUgMSI+PGVsbGlwc2UgY2xhc3M9ImNscy0xIiBjeD0iMzcuOTciIGN5PSIzNy45OCIgcng9IjM3Ljk3IiByeT0iMzcuOTgiLz48cGF0aCBjbGFzcz0iY2xzLTIiIGQ9Ik0zOCw3Mi41N2EzNC41OCwzNC41OCwwLDAsMS0yNC40NC01OUEzNC41NywzNC41NywwLDAsMSw2Mi40MSw2Mi40NCwzNC4zNCwzNC4zNCwwLDAsMSwzOCw3Mi41N1pNMzgsNi4xMkEzMS44NywzMS44NywwLDEsMCw2OS44MywzOCwzMS44OSwzMS44OSwwLDAsMCwzOCw2LjEyWiIvPjxjaXJjbGUgY2xhc3M9ImNscy0yIiBjeD0iMzcuOTciIGN5PSIzNy45OCIgcj0iNS42Ii8+PHBhdGggY2xhc3M9ImNscy0yIiBkPSJNMzgsNDYuNTdhOC43Nyw4Ljc3LDAsMCwxLTQuNTktMS4zbC04LjY4LDE1YTI2LjA1LDI2LjA1LDAsMCwwLDI2LjUzLDBsLTguNjgtMTVBOC43MSw4LjcxLDAsMCwxLDM4LDQ2LjU3WiIvPjxwYXRoIGNsYXNzPSJjbHMtMiIgZD0iTTMzLjgyLDMwLjE0bC04LjY4LTE1QTI2LjEyLDI2LjEyLDAsMCwwLDExLjg4LDM3LjMySDI5LjI1QTguNzMsOC43MywwLDAsMSwzMy44MiwzMC4xNFoiLz48cGF0aCBjbGFzcz0iY2xzLTIiIGQ9Ik00Ni42OSwzNy4zMkg2NC4wNkEyNi4xNCwyNi4xNCwwLDAsMCw1MC44LDE1LjFsLTguNjgsMTVBOC43NSw4Ljc1LDAsMCwxLDQ2LjY5LDM3LjMyWiIvPjwvZz48L2c+PC9zdmc+\">\r\n}\r\n\r\n\r\n\r\n", styles: [".image-size{max-width:25px!important}\n"] }]
|
|
421
416
|
}], ctorParameters: () => [{ type: FormService }] });
|
|
422
417
|
|
|
423
418
|
class ColliInfoCellComponent {
|
|
424
419
|
constructor(modalService) {
|
|
425
420
|
this.modalService = modalService;
|
|
426
|
-
this.faInfoCircle = faInfoCircle;
|
|
427
421
|
}
|
|
428
422
|
afterGuiAttached(params) {
|
|
429
423
|
}
|
|
@@ -458,13 +452,11 @@ class ColliInfoCellComponent {
|
|
|
458
452
|
}
|
|
459
453
|
}
|
|
460
454
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ColliInfoCellComponent, deps: [{ token: i1.BsModalService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
461
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: ColliInfoCellComponent, isStandalone: true, selector: "lib-colli-info-cell", ngImport: i0, template: "<div (click)=\"displayInfos(template)\" class=\"customCss\">\r\n <fa-
|
|
455
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: ColliInfoCellComponent, isStandalone: true, selector: "lib-colli-info-cell", ngImport: i0, template: "<div (click)=\"displayInfos(template)\" class=\"customCss\">\r\n <i class=\"fa-solid fa-circle-info\"></i>\r\n</div>\r\n\r\n<ng-template #template>\r\n <div class=\"modal-header\">\r\n <h5 class=\"modal-title pull-left\">Hinweise</h5>\r\n <button type=\"button\" class=\"close pull-right\" aria-label=\"Close\" (click)=\"modalRef.hide()\">\r\n <span aria-hidden=\"true\">×</span>\r\n </button>\r\n </div>\r\n <div class=\"modal-body text-left\">\r\n <span style=\"font-weight: bold\">L\u00E4nge / Breite / H\u00F6he / m\u00B3: </span><br>\r\n {{ this.showDimensions(params.data) }}\r\n <hr>\r\n </div>\r\n <div class=\"modal-body text-left\">\r\n <span style=\"font-weight: bold\">Bearbeiter: </span><br>\r\n {{ this.checkValues(params.data.bearbeiter) }}\r\n <hr>\r\n </div>\r\n <div class=\"modal-body text-left\">\r\n <span style=\"font-weight: bold\">Text: </span><br>\r\n {{ this.checkValues(params.data.text) }}\r\n </div>\r\n</ng-template>\r\n", styles: [".customCss{cursor:pointer}\n"] }); }
|
|
462
456
|
}
|
|
463
457
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ColliInfoCellComponent, decorators: [{
|
|
464
458
|
type: Component,
|
|
465
|
-
args: [{ selector: 'lib-colli-info-cell', standalone: true, imports: [
|
|
466
|
-
FaIconComponent
|
|
467
|
-
], template: "<div (click)=\"displayInfos(template)\" class=\"customCss\">\r\n <fa-icon [icon]=\"faInfoCircle\"></fa-icon>\r\n</div>\r\n\r\n<ng-template #template>\r\n <div class=\"modal-header\">\r\n <h5 class=\"modal-title pull-left\">Hinweise</h5>\r\n <button type=\"button\" class=\"close pull-right\" aria-label=\"Close\" (click)=\"modalRef.hide()\">\r\n <span aria-hidden=\"true\">×</span>\r\n </button>\r\n </div>\r\n <div class=\"modal-body text-left\">\r\n <span style=\"font-weight: bold\">L\u00E4nge / Breite / H\u00F6he / m\u00B3: </span><br>\r\n {{ this.showDimensions(params.data) }}\r\n <hr>\r\n </div>\r\n <div class=\"modal-body text-left\">\r\n <span style=\"font-weight: bold\">Bearbeiter: </span><br>\r\n {{ this.checkValues(params.data.bearbeiter) }}\r\n <hr>\r\n </div>\r\n <div class=\"modal-body text-left\">\r\n <span style=\"font-weight: bold\">Text: </span><br>\r\n {{ this.checkValues(params.data.text) }}\r\n </div>\r\n</ng-template>\r\n", styles: [".customCss{cursor:pointer}\n"] }]
|
|
459
|
+
args: [{ selector: 'lib-colli-info-cell', standalone: true, imports: [], template: "<div (click)=\"displayInfos(template)\" class=\"customCss\">\r\n <i class=\"fa-solid fa-circle-info\"></i>\r\n</div>\r\n\r\n<ng-template #template>\r\n <div class=\"modal-header\">\r\n <h5 class=\"modal-title pull-left\">Hinweise</h5>\r\n <button type=\"button\" class=\"close pull-right\" aria-label=\"Close\" (click)=\"modalRef.hide()\">\r\n <span aria-hidden=\"true\">×</span>\r\n </button>\r\n </div>\r\n <div class=\"modal-body text-left\">\r\n <span style=\"font-weight: bold\">L\u00E4nge / Breite / H\u00F6he / m\u00B3: </span><br>\r\n {{ this.showDimensions(params.data) }}\r\n <hr>\r\n </div>\r\n <div class=\"modal-body text-left\">\r\n <span style=\"font-weight: bold\">Bearbeiter: </span><br>\r\n {{ this.checkValues(params.data.bearbeiter) }}\r\n <hr>\r\n </div>\r\n <div class=\"modal-body text-left\">\r\n <span style=\"font-weight: bold\">Text: </span><br>\r\n {{ this.checkValues(params.data.text) }}\r\n </div>\r\n</ng-template>\r\n", styles: [".customCss{cursor:pointer}\n"] }]
|
|
468
460
|
}], ctorParameters: () => [{ type: i1.BsModalService }] });
|
|
469
461
|
|
|
470
462
|
class ColliEreignisseComponent {
|
|
@@ -560,7 +552,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
|
|
|
560
552
|
class SendungEreignisseInfoCellComponent {
|
|
561
553
|
constructor(modalService) {
|
|
562
554
|
this.modalService = modalService;
|
|
563
|
-
this.faInfoCircle = faInfoCircle;
|
|
564
555
|
}
|
|
565
556
|
ngOnInit() {
|
|
566
557
|
this.sendungsereignis = this.params.data;
|
|
@@ -583,13 +574,11 @@ class SendungEreignisseInfoCellComponent {
|
|
|
583
574
|
this.modalRef = this.modalService.show(template, config);
|
|
584
575
|
}
|
|
585
576
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SendungEreignisseInfoCellComponent, deps: [{ token: i1.BsModalService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
586
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: SendungEreignisseInfoCellComponent, isStandalone: true, selector: "lib-sendung-ereignisse-info-cell", ngImport: i0, template: "<div (click)=\"displayInfos(template)\" class=\"customCss\">\r\n @if (sendungsereignis.statustypId === 12) {\r\n <fa-
|
|
577
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: SendungEreignisseInfoCellComponent, isStandalone: true, selector: "lib-sendung-ereignisse-info-cell", ngImport: i0, template: "<div (click)=\"displayInfos(template)\" class=\"customCss\">\r\n @if (sendungsereignis.statustypId === 12) {\r\n <i class=\"fa-solid fa-circle-info\"></i>\r\n }\r\n</div>\r\n\r\n<ng-template #template>\r\n <div class=\"modal-header\">\r\n <h5 class=\"modal-title pull-left\">Informationseintrag</h5>\r\n <button type=\"button\" class=\"close pull-right\" aria-label=\"Close\" (click)=\"modalRef.hide()\">\r\n <span aria-hidden=\"true\">×</span>\r\n </button>\r\n </div>\r\n\r\n <div class=\"modal-body text-left\">\r\n {{ sendungsereignis.text }}\r\n </div>\r\n</ng-template>\r\n", styles: [".customCss{cursor:pointer}\n"] }); }
|
|
587
578
|
}
|
|
588
579
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SendungEreignisseInfoCellComponent, decorators: [{
|
|
589
580
|
type: Component,
|
|
590
|
-
args: [{ selector: 'lib-sendung-ereignisse-info-cell', standalone: true, imports: [
|
|
591
|
-
FaIconComponent
|
|
592
|
-
], template: "<div (click)=\"displayInfos(template)\" class=\"customCss\">\r\n @if (sendungsereignis.statustypId === 12) {\r\n <fa-icon [icon]=\"faInfoCircle\"></fa-icon>\r\n }\r\n</div>\r\n\r\n<ng-template #template>\r\n <div class=\"modal-header\">\r\n <h5 class=\"modal-title pull-left\">Informationseintrag</h5>\r\n <button type=\"button\" class=\"close pull-right\" aria-label=\"Close\" (click)=\"modalRef.hide()\">\r\n <span aria-hidden=\"true\">×</span>\r\n </button>\r\n </div>\r\n\r\n <div class=\"modal-body text-left\">\r\n {{ sendungsereignis.text }}\r\n </div>\r\n</ng-template>\r\n", styles: [".customCss{cursor:pointer}\n"] }]
|
|
581
|
+
args: [{ selector: 'lib-sendung-ereignisse-info-cell', standalone: true, imports: [], template: "<div (click)=\"displayInfos(template)\" class=\"customCss\">\r\n @if (sendungsereignis.statustypId === 12) {\r\n <i class=\"fa-solid fa-circle-info\"></i>\r\n }\r\n</div>\r\n\r\n<ng-template #template>\r\n <div class=\"modal-header\">\r\n <h5 class=\"modal-title pull-left\">Informationseintrag</h5>\r\n <button type=\"button\" class=\"close pull-right\" aria-label=\"Close\" (click)=\"modalRef.hide()\">\r\n <span aria-hidden=\"true\">×</span>\r\n </button>\r\n </div>\r\n\r\n <div class=\"modal-body text-left\">\r\n {{ sendungsereignis.text }}\r\n </div>\r\n</ng-template>\r\n", styles: [".customCss{cursor:pointer}\n"] }]
|
|
593
582
|
}], ctorParameters: () => [{ type: i1.BsModalService }] });
|
|
594
583
|
|
|
595
584
|
class SendungEreignisseComponent {
|
|
@@ -721,7 +710,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
|
|
|
721
710
|
class EmpfaengerDetailsComponent {
|
|
722
711
|
constructor(modalService) {
|
|
723
712
|
this.modalService = modalService;
|
|
724
|
-
this.faInfoCircle = faInfoCircle;
|
|
725
713
|
}
|
|
726
714
|
agInit(params) {
|
|
727
715
|
this.params = params;
|
|
@@ -745,17 +733,28 @@ class EmpfaengerDetailsComponent {
|
|
|
745
733
|
return name1 + ' ' + name2 + ' ' + name3;
|
|
746
734
|
}
|
|
747
735
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: EmpfaengerDetailsComponent, deps: [{ token: i1.BsModalService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
748
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: EmpfaengerDetailsComponent, isStandalone: true, selector: "lib-empfaenger-details", ngImport: i0, template: "<div style=\"cursor: pointer\" (click)=\"displayInfos(template)\" class=\"customCss\">\r\n <fa-
|
|
736
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: EmpfaengerDetailsComponent, isStandalone: true, selector: "lib-empfaenger-details", ngImport: i0, template: "<div style=\"cursor: pointer\" (click)=\"displayInfos(template)\" class=\"customCss\">\r\n <i class=\"fa-solid fa-circle-info\"></i>\r\n</div>\r\n\r\n<ng-template #template>\r\n <div class=\"modal-header\">\r\n <h5 class=\"modal-title pull-left\">Empf\u00E4nger</h5>\r\n <button type=\"button\" class=\"close pull-right\" aria-label=\"Close\" (click)=\"modalRef.hide()\">\r\n <span aria-hidden=\"true\">×</span>\r\n </button>\r\n </div>\r\n <div class=\"modal-body text-left\">\r\n {{ this.showEmpfaengerName(params) }}<br>\r\n {{ params.data.empfaengerStrasse }} {{ params.data.empfaengerHausnr }}<br>\r\n {{ params.data.empfaengerPlz }} {{ params.data.empfaengerOrt }}<br>\r\n {{ params.data.empfaengerLand }}<br>\r\n </div>\r\n</ng-template>\r\n", styles: [""] }); }
|
|
749
737
|
}
|
|
750
738
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: EmpfaengerDetailsComponent, decorators: [{
|
|
751
739
|
type: Component,
|
|
752
|
-
args: [{ selector: 'lib-empfaenger-details', standalone: true, imports: [
|
|
753
|
-
FaIconComponent
|
|
754
|
-
], template: "<div style=\"cursor: pointer\" (click)=\"displayInfos(template)\" class=\"customCss\">\r\n <fa-icon [icon]=\"faInfoCircle\"></fa-icon>\r\n</div>\r\n\r\n<ng-template #template>\r\n <div class=\"modal-header\">\r\n <h5 class=\"modal-title pull-left\">Empf\u00E4nger</h5>\r\n <button type=\"button\" class=\"close pull-right\" aria-label=\"Close\" (click)=\"modalRef.hide()\">\r\n <span aria-hidden=\"true\">×</span>\r\n </button>\r\n </div>\r\n <div class=\"modal-body text-left\">\r\n {{ this.showEmpfaengerName(params) }}<br>\r\n {{ params.data.empfaengerStrasse }} {{ params.data.empfaengerHausnr }}<br>\r\n {{ params.data.empfaengerPlz }} {{ params.data.empfaengerOrt }}<br>\r\n {{ params.data.empfaengerLand }}<br>\r\n </div>\r\n</ng-template>\r\n" }]
|
|
740
|
+
args: [{ selector: 'lib-empfaenger-details', standalone: true, imports: [], template: "<div style=\"cursor: pointer\" (click)=\"displayInfos(template)\" class=\"customCss\">\r\n <i class=\"fa-solid fa-circle-info\"></i>\r\n</div>\r\n\r\n<ng-template #template>\r\n <div class=\"modal-header\">\r\n <h5 class=\"modal-title pull-left\">Empf\u00E4nger</h5>\r\n <button type=\"button\" class=\"close pull-right\" aria-label=\"Close\" (click)=\"modalRef.hide()\">\r\n <span aria-hidden=\"true\">×</span>\r\n </button>\r\n </div>\r\n <div class=\"modal-body text-left\">\r\n {{ this.showEmpfaengerName(params) }}<br>\r\n {{ params.data.empfaengerStrasse }} {{ params.data.empfaengerHausnr }}<br>\r\n {{ params.data.empfaengerPlz }} {{ params.data.empfaengerOrt }}<br>\r\n {{ params.data.empfaengerLand }}<br>\r\n </div>\r\n</ng-template>\r\n" }]
|
|
755
741
|
}], ctorParameters: () => [{ type: i1.BsModalService }] });
|
|
756
742
|
|
|
757
743
|
class SendungsketteComponent {
|
|
758
|
-
|
|
744
|
+
set sendungskette(data) {
|
|
745
|
+
let loadingInterval = setInterval(() => {
|
|
746
|
+
if (this.gridApi) {
|
|
747
|
+
if (data) {
|
|
748
|
+
data.subscribe((sendungskette) => {
|
|
749
|
+
this.gridApi.setGridOption("rowData", sendungskette);
|
|
750
|
+
});
|
|
751
|
+
}
|
|
752
|
+
clearInterval(loadingInterval);
|
|
753
|
+
}
|
|
754
|
+
}, 200);
|
|
755
|
+
}
|
|
756
|
+
constructor(cd) {
|
|
757
|
+
this.cd = cd;
|
|
759
758
|
this.locale = AG_GRID_LOCALE_DE;
|
|
760
759
|
this.defaultColDef = {
|
|
761
760
|
resizable: true,
|
|
@@ -812,14 +811,6 @@ class SendungsketteComponent {
|
|
|
812
811
|
}
|
|
813
812
|
gridReady(params) {
|
|
814
813
|
this.gridApi = params.api;
|
|
815
|
-
let loadingInterval = setInterval(() => {
|
|
816
|
-
if (this.sendungskette) {
|
|
817
|
-
this.sendungskette.subscribe((shipmentInfo) => {
|
|
818
|
-
this.gridApi.setGridOption('rowData', shipmentInfo);
|
|
819
|
-
});
|
|
820
|
-
}
|
|
821
|
-
clearInterval(loadingInterval);
|
|
822
|
-
}, 200);
|
|
823
814
|
}
|
|
824
815
|
getColAndPal(params) {
|
|
825
816
|
const colli = params.data.colli;
|
|
@@ -849,7 +840,7 @@ class SendungsketteComponent {
|
|
|
849
840
|
});
|
|
850
841
|
return tournr;
|
|
851
842
|
}
|
|
852
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SendungsketteComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
843
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SendungsketteComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
853
844
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: SendungsketteComponent, isStandalone: true, selector: "lib-sendungskette", inputs: { sendungskette: "sendungskette" }, ngImport: i0, template: "<div class=\"card\">\r\n <div class=\"card-body \">\r\n <div id=\"collapseBasic\">\r\n <ag-grid-angular\r\n style=\"width: 100%; height: 800px;\"\r\n class=\"ag-theme-alpine\"\r\n [columnDefs]=\"columnDef\"\r\n [localeText]=\"locale\"\r\n [defaultColDef]=\"defaultColDef\"\r\n (gridReady)=\"gridReady($event)\"\r\n [enableCellTextSelection]=\"true\"\r\n >\r\n </ag-grid-angular>\r\n </div>\r\n </div>\r\n</div>\r\n", styles: ["@media (min-width:1025px) and (max-width:1300px){#collapseBasic ag-grid-angular{height:400px}}\n"], dependencies: [{ kind: "component", type: AgGridAngular, selector: "ag-grid-angular", inputs: ["gridOptions", "modules", "statusBar", "sideBar", "suppressContextMenu", "preventDefaultOnContextMenu", "allowContextMenuWithControlKey", "columnMenu", "suppressMenuHide", "enableBrowserTooltips", "tooltipTrigger", "tooltipShowDelay", "tooltipHideDelay", "tooltipMouseTrack", "tooltipShowMode", "tooltipInteraction", "popupParent", "copyHeadersToClipboard", "copyGroupHeadersToClipboard", "clipboardDelimiter", "suppressCopyRowsToClipboard", "suppressCopySingleCellRanges", "suppressLastEmptyLineOnPaste", "suppressClipboardPaste", "suppressClipboardApi", "suppressCutToClipboard", "columnDefs", "defaultColDef", "defaultColGroupDef", "columnTypes", "dataTypeDefinitions", "maintainColumnOrder", "enableStrictPivotColumnOrder", "suppressFieldDotNotation", "headerHeight", "groupHeaderHeight", "floatingFiltersHeight", "pivotHeaderHeight", "pivotGroupHeaderHeight", "allowDragFromColumnsToolPanel", "suppressMovableColumns", "suppressColumnMoveAnimation", "suppressMoveWhenColumnDragging", "suppressDragLeaveHidesColumns", "suppressRowGroupHidesColumns", "colResizeDefault", "suppressAutoSize", "autoSizePadding", "skipHeaderOnAutoSize", "autoSizeStrategy", "components", "editType", "singleClickEdit", "suppressClickEdit", "readOnlyEdit", "stopEditingWhenCellsLoseFocus", "enterNavigatesVertically", "enterNavigatesVerticallyAfterEdit", "enableCellEditingOnBackspace", "undoRedoCellEditing", "undoRedoCellEditingLimit", "defaultCsvExportParams", "suppressCsvExport", "defaultExcelExportParams", "suppressExcelExport", "excelStyles", "quickFilterText", "cacheQuickFilter", "includeHiddenColumnsInQuickFilter", "quickFilterParser", "quickFilterMatcher", "applyQuickFilterBeforePivotOrAgg", "excludeChildrenWhenTreeDataFiltering", "enableAdvancedFilter", "advancedFilterModel", "includeHiddenColumnsInAdvancedFilter", "advancedFilterParent", "advancedFilterBuilderParams", "suppressAdvancedFilterEval", "suppressSetFilterByDefault", "enableCharts", "chartThemes", "customChartThemes", "chartThemeOverrides", "chartToolPanelsDef", "chartMenuItems", "loadingCellRenderer", "loadingCellRendererParams", "loadingCellRendererSelector", "localeText", "masterDetail", "keepDetailRows", "keepDetailRowsCount", "detailCellRenderer", "detailCellRendererParams", "detailRowHeight", "detailRowAutoHeight", "context", "dragAndDropImageComponent", "dragAndDropImageComponentParams", "alignedGrids", "tabIndex", "rowBuffer", "valueCache", "valueCacheNeverExpires", "enableCellExpressions", "suppressTouch", "suppressFocusAfterRefresh", "suppressAsyncEvents", "suppressBrowserResizeObserver", "suppressPropertyNamesCheck", "suppressChangeDetection", "debug", "loading", "overlayLoadingTemplate", "loadingOverlayComponent", "loadingOverlayComponentParams", "suppressLoadingOverlay", "overlayNoRowsTemplate", "noRowsOverlayComponent", "noRowsOverlayComponentParams", "suppressNoRowsOverlay", "pagination", "paginationPageSize", "paginationPageSizeSelector", "paginationAutoPageSize", "paginateChildRows", "suppressPaginationPanel", "pivotMode", "pivotPanelShow", "pivotMaxGeneratedColumns", "pivotDefaultExpanded", "pivotColumnGroupTotals", "pivotRowTotals", "pivotSuppressAutoColumn", "suppressExpandablePivotGroups", "functionsReadOnly", "aggFuncs", "suppressAggFuncInHeader", "alwaysAggregateAtRootLevel", "aggregateOnlyChangedColumns", "suppressAggFilteredOnly", "removePivotHeaderRowWhenSingleValueColumn", "animateRows", "enableCellChangeFlash", "cellFlashDuration", "cellFlashDelay", "cellFadeDuration", "cellFadeDelay", "allowShowChangeAfterFilter", "domLayout", "ensureDomOrder", "enableRtl", "suppressColumnVirtualisation", "suppressMaxRenderedRowRestriction", "suppressRowVirtualisation", "rowDragManaged", "suppressRowDrag", "suppressMoveWhenRowDragging", "rowDragEntireRow", "rowDragMultiRow", "rowDragText", "fullWidthCellRenderer", "fullWidthCellRendererParams", "embedFullWidthRows", "suppressGroupMaintainValueType", "groupDisplayType", "groupDefaultExpanded", "autoGroupColumnDef", "groupMaintainOrder", "groupSelectsChildren", "groupLockGroupColumns", "groupAggFiltering", "groupIncludeFooter", "groupIncludeTotalFooter", "groupTotalRow", "grandTotalRow", "suppressStickyTotalRow", "groupSuppressBlankHeader", "groupSelectsFiltered", "showOpenedGroup", "groupRemoveSingleChildren", "groupRemoveLowestSingleChildren", "groupHideOpenParents", "groupAllowUnbalanced", "rowGroupPanelShow", "groupRowRenderer", "groupRowRendererParams", "suppressMakeColumnVisibleAfterUnGroup", "treeData", "rowGroupPanelSuppressSort", "suppressGroupRowsSticky", "pinnedTopRowData", "pinnedBottomRowData", "rowModelType", "rowData", "asyncTransactionWaitMillis", "suppressModelUpdateAfterUpdateTransaction", "datasource", "cacheOverflowSize", "infiniteInitialRowCount", "serverSideInitialRowCount", "suppressServerSideInfiniteScroll", "suppressServerSideFullWidthLoadingRow", "cacheBlockSize", "maxBlocksInCache", "maxConcurrentDatasourceRequests", "blockLoadDebounceMillis", "purgeClosedRowNodes", "serverSideDatasource", "serverSideSortAllLevels", "serverSideEnableClientSideSort", "serverSideOnlyRefreshFilteredGroups", "serverSideSortOnServer", "serverSideFilterOnServer", "serverSidePivotResultFieldSeparator", "viewportDatasource", "viewportRowModelPageSize", "viewportRowModelBufferSize", "alwaysShowHorizontalScroll", "alwaysShowVerticalScroll", "debounceVerticalScrollbar", "suppressHorizontalScroll", "suppressScrollOnNewData", "suppressScrollWhenPopupsAreOpen", "suppressAnimationFrame", "suppressMiddleClickScrolls", "suppressPreventDefaultOnMouseWheel", "scrollbarWidth", "rowSelection", "cellSelection", "rowMultiSelectWithClick", "suppressRowDeselection", "suppressRowClickSelection", "suppressCellFocus", "suppressHeaderFocus", "selectionColumnDef", "suppressMultiRangeSelection", "enableCellTextSelection", "enableRangeSelection", "enableRangeHandle", "enableFillHandle", "fillHandleDirection", "suppressClearOnFillReduction", "sortingOrder", "accentedSort", "unSortIcon", "suppressMultiSort", "alwaysMultiSort", "multiSortKey", "suppressMaintainUnsortedOrder", "icons", "rowHeight", "rowStyle", "rowClass", "rowClassRules", "suppressRowHoverHighlight", "suppressRowTransform", "columnHoverHighlight", "gridId", "deltaSort", "treeDataDisplayType", "enableGroupEdit", "initialState", "theme", "loadThemeGoogleFonts", "getContextMenuItems", "getMainMenuItems", "postProcessPopup", "processUnpinnedColumns", "processCellForClipboard", "processHeaderForClipboard", "processGroupHeaderForClipboard", "processCellFromClipboard", "sendToClipboard", "processDataFromClipboard", "isExternalFilterPresent", "doesExternalFilterPass", "getChartToolbarItems", "createChartContainer", "focusGridInnerElement", "navigateToNextHeader", "tabToNextHeader", "navigateToNextCell", "tabToNextCell", "getLocaleText", "getDocument", "paginationNumberFormatter", "getGroupRowAgg", "isGroupOpenByDefault", "initialGroupOrderComparator", "processPivotResultColDef", "processPivotResultColGroupDef", "getDataPath", "getChildCount", "getServerSideGroupLevelParams", "isServerSideGroupOpenByDefault", "isApplyServerSideTransaction", "isServerSideGroup", "getServerSideGroupKey", "getBusinessKeyForNode", "getRowId", "resetRowDataOnUpdate", "processRowPostCreate", "isRowSelectable", "isRowMaster", "fillOperation", "postSortRows", "getRowStyle", "getRowClass", "getRowHeight", "isFullWidthRow"], outputs: ["toolPanelVisibleChanged", "toolPanelSizeChanged", "columnMenuVisibleChanged", "contextMenuVisibleChanged", "cutStart", "cutEnd", "pasteStart", "pasteEnd", "columnVisible", "columnPinned", "columnResized", "columnMoved", "columnValueChanged", "columnPivotModeChanged", "columnPivotChanged", "columnGroupOpened", "newColumnsLoaded", "gridColumnsChanged", "displayedColumnsChanged", "virtualColumnsChanged", "columnEverythingChanged", "columnHeaderMouseOver", "columnHeaderMouseLeave", "columnHeaderClicked", "columnHeaderContextMenu", "componentStateChanged", "cellValueChanged", "cellEditRequest", "rowValueChanged", "cellEditingStarted", "cellEditingStopped", "rowEditingStarted", "rowEditingStopped", "undoStarted", "undoEnded", "redoStarted", "redoEnded", "cellSelectionDeleteStart", "cellSelectionDeleteEnd", "rangeDeleteStart", "rangeDeleteEnd", "fillStart", "fillEnd", "filterOpened", "filterChanged", "filterModified", "advancedFilterBuilderVisibleChanged", "chartCreated", "chartRangeSelectionChanged", "chartOptionsChanged", "chartDestroyed", "cellKeyDown", "gridReady", "firstDataRendered", "gridSizeChanged", "modelUpdated", "virtualRowRemoved", "viewportChanged", "bodyScroll", "bodyScrollEnd", "dragStarted", "dragStopped", "dragCancelled", "stateUpdated", "paginationChanged", "rowDragEnter", "rowDragMove", "rowDragLeave", "rowDragEnd", "rowDragCancel", "columnRowGroupChanged", "rowGroupOpened", "expandOrCollapseAll", "pivotMaxColumnsExceeded", "pinnedRowDataChanged", "rowDataUpdated", "asyncTransactionsFlushed", "storeRefreshed", "headerFocused", "cellClicked", "cellDoubleClicked", "cellFocused", "cellMouseOver", "cellMouseOut", "cellMouseDown", "rowClicked", "rowDoubleClicked", "rowSelected", "selectionChanged", "cellContextMenu", "rangeSelectionChanged", "cellSelectionChanged", "tooltipShow", "tooltipHide", "sortChanged"] }] }); }
|
|
854
845
|
}
|
|
855
846
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SendungsketteComponent, decorators: [{
|
|
@@ -857,7 +848,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
|
|
|
857
848
|
args: [{ selector: 'lib-sendungskette', standalone: true, imports: [
|
|
858
849
|
AgGridAngular
|
|
859
850
|
], template: "<div class=\"card\">\r\n <div class=\"card-body \">\r\n <div id=\"collapseBasic\">\r\n <ag-grid-angular\r\n style=\"width: 100%; height: 800px;\"\r\n class=\"ag-theme-alpine\"\r\n [columnDefs]=\"columnDef\"\r\n [localeText]=\"locale\"\r\n [defaultColDef]=\"defaultColDef\"\r\n (gridReady)=\"gridReady($event)\"\r\n [enableCellTextSelection]=\"true\"\r\n >\r\n </ag-grid-angular>\r\n </div>\r\n </div>\r\n</div>\r\n", styles: ["@media (min-width:1025px) and (max-width:1300px){#collapseBasic ag-grid-angular{height:400px}}\n"] }]
|
|
860
|
-
}], ctorParameters: () => [], propDecorators: { sendungskette: [{
|
|
851
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { sendungskette: [{
|
|
861
852
|
type: Input
|
|
862
853
|
}] } });
|
|
863
854
|
|
|
@@ -1001,18 +992,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
|
|
|
1001
992
|
class AktuelleDatenComponent {
|
|
1002
993
|
constructor(formService) {
|
|
1003
994
|
this.formService = formService;
|
|
1004
|
-
this.faBoxOpen = faBoxOpen;
|
|
1005
|
-
this.faPallet = faPallet;
|
|
1006
|
-
this.faCogs = faCogs;
|
|
1007
|
-
this.faWeightHanging = faWeightHanging;
|
|
1008
995
|
this.dienste = [];
|
|
1009
996
|
}
|
|
1010
997
|
ngOnInit() {
|
|
1011
|
-
|
|
1012
|
-
this.shipmentInfoDetails.dienste
|
|
1013
|
-
this.dienste.
|
|
1014
|
-
|
|
1015
|
-
|
|
998
|
+
let loadingInterval = setInterval(() => {
|
|
999
|
+
if (this.shipmentInfoDetails.dienste !== null) {
|
|
1000
|
+
this.shipmentInfoDetails.dienste.forEach((dienste) => {
|
|
1001
|
+
this.dienste.push(dienste);
|
|
1002
|
+
});
|
|
1003
|
+
}
|
|
1004
|
+
clearInterval(loadingInterval);
|
|
1005
|
+
}, 200);
|
|
1016
1006
|
let filteredAllowed = this.allowedDienste.map((allowedDienst) => {
|
|
1017
1007
|
return allowedDienst.bezeichnung;
|
|
1018
1008
|
});
|
|
@@ -1033,13 +1023,11 @@ class AktuelleDatenComponent {
|
|
|
1033
1023
|
return dienste.join(', ');
|
|
1034
1024
|
}
|
|
1035
1025
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AktuelleDatenComponent, deps: [{ token: FormService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1036
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: AktuelleDatenComponent, isStandalone: true, selector: "lib-aktuelle-daten", inputs: { shipmentInfoDetails: "shipmentInfoDetails", allowedDienste: "allowedDienste" }, ngImport: i0, template: "<p>Aktuelle Werte</p>\r\n<div class=\"d-flex justify-content-between\">\r\n <div class=\"p-2\">\r\n <
|
|
1026
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: AktuelleDatenComponent, isStandalone: true, selector: "lib-aktuelle-daten", inputs: { shipmentInfoDetails: "shipmentInfoDetails", allowedDienste: "allowedDienste" }, ngImport: i0, template: "<p>Aktuelle Werte</p>\r\n<div class=\"d-flex justify-content-between\">\r\n <div class=\"p-2\">\r\n <i class=\"fa-regular fa-cube iconSize\"></i>\r\n {{ colli }}\r\n </div>\r\n <div class=\"p-2\">\r\n <i class=\"fa-regular fa-pallet-box iconSize\"></i>\r\n {{ palette }}\r\n </div>\r\n <div class=\"p-2\">\r\n <i class=\"fa-regular fa-weight-hanging iconSize\"></i>\r\n {{ gewicht }} Kg\r\n </div>\r\n <div class=\"p-2\">\r\n <i class=\"fa-regular fa-gears iconSize icon-stack mr-2\"></i>\r\n @if (displayDiensteToCorrect.length !== 0) {\r\n <span>{{ showDienste(dienste) }}</span>\r\n } @else {\r\n <span>{{ showDienste(dienste) }}</span>\r\n }\r\n </div>\r\n</div>\r\n", styles: [".iconSize{font-size:22px!important}.icon-stack{position:relative;display:inline-block;height:2em;vertical-align:middle}.icon-stack-1x,.icon-stack-2x,.icon-stack-3x{position:absolute;left:0;width:100%;text-align:right}.icon-stack-1x{line-height:inherit}.icon-stack-2x{font-size:1.5em}.icon-stack-3x{font-size:2em}\n"] }); }
|
|
1037
1027
|
}
|
|
1038
1028
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AktuelleDatenComponent, decorators: [{
|
|
1039
1029
|
type: Component,
|
|
1040
|
-
args: [{ selector: 'lib-aktuelle-daten', standalone: true, imports: [
|
|
1041
|
-
FaIconComponent
|
|
1042
|
-
], template: "<p>Aktuelle Werte</p>\r\n<div class=\"d-flex justify-content-between\">\r\n <div class=\"p-2\">\r\n <fa-icon [icon]=\"faBoxOpen\" class=\"iconSize\"></fa-icon>\r\n {{ colli }}\r\n </div>\r\n <div class=\"p-2\">\r\n <fa-icon [icon]=\"faPallet\" class=\"iconSize\"></fa-icon>\r\n {{ palette }}\r\n </div>\r\n <div class=\"p-2\">\r\n <fa-icon [icon]=\"faWeightHanging\" class=\"iconSize\"></fa-icon>\r\n {{ gewicht }} Kg\r\n </div>\r\n <div class=\"p-2\">\r\n <fa-icon [icon]=\"faCogs\" class=\"iconSize icon-stack mr-2\"></fa-icon>\r\n @if (displayDiensteToCorrect.length !== 0) {\r\n <span>{{ showDienste(dienste) }}</span>\r\n } @else {\r\n <span>{{ showDienste(dienste) }}</span>\r\n }\r\n </div>\r\n</div>\r\n", styles: [".iconSize{font-size:22px!important}.icon-stack{position:relative;display:inline-block;height:2em;vertical-align:middle}.icon-stack-1x,.icon-stack-2x,.icon-stack-3x{position:absolute;left:0;width:100%;text-align:right}.icon-stack-1x{line-height:inherit}.icon-stack-2x{font-size:1.5em}.icon-stack-3x{font-size:2em}\n"] }]
|
|
1030
|
+
args: [{ selector: 'lib-aktuelle-daten', standalone: true, imports: [], template: "<p>Aktuelle Werte</p>\r\n<div class=\"d-flex justify-content-between\">\r\n <div class=\"p-2\">\r\n <i class=\"fa-regular fa-cube iconSize\"></i>\r\n {{ colli }}\r\n </div>\r\n <div class=\"p-2\">\r\n <i class=\"fa-regular fa-pallet-box iconSize\"></i>\r\n {{ palette }}\r\n </div>\r\n <div class=\"p-2\">\r\n <i class=\"fa-regular fa-weight-hanging iconSize\"></i>\r\n {{ gewicht }} Kg\r\n </div>\r\n <div class=\"p-2\">\r\n <i class=\"fa-regular fa-gears iconSize icon-stack mr-2\"></i>\r\n @if (displayDiensteToCorrect.length !== 0) {\r\n <span>{{ showDienste(dienste) }}</span>\r\n } @else {\r\n <span>{{ showDienste(dienste) }}</span>\r\n }\r\n </div>\r\n</div>\r\n", styles: [".iconSize{font-size:22px!important}.icon-stack{position:relative;display:inline-block;height:2em;vertical-align:middle}.icon-stack-1x,.icon-stack-2x,.icon-stack-3x{position:absolute;left:0;width:100%;text-align:right}.icon-stack-1x{line-height:inherit}.icon-stack-2x{font-size:1.5em}.icon-stack-3x{font-size:2em}\n"] }]
|
|
1043
1031
|
}], ctorParameters: () => [{ type: FormService }], propDecorators: { shipmentInfoDetails: [{
|
|
1044
1032
|
type: Input
|
|
1045
1033
|
}], allowedDienste: [{
|
|
@@ -1051,13 +1039,6 @@ class KorrekturDatenComponent {
|
|
|
1051
1039
|
this.fb = fb;
|
|
1052
1040
|
this.cd = cd;
|
|
1053
1041
|
this.formService = formService;
|
|
1054
|
-
// Icons
|
|
1055
|
-
this.faBoxOpen = faBoxOpen;
|
|
1056
|
-
this.faPallet = faPallet;
|
|
1057
|
-
this.faCogs = faCogs;
|
|
1058
|
-
this.faClock = faClock;
|
|
1059
|
-
this.faWeightHanging = faWeightHanging;
|
|
1060
|
-
this.showTimePicker = true;
|
|
1061
1042
|
this.setDeliveryTime = false;
|
|
1062
1043
|
this.isColPalValid = true;
|
|
1063
1044
|
this.isGewichtValid = true;
|
|
@@ -1065,7 +1046,6 @@ class KorrekturDatenComponent {
|
|
|
1065
1046
|
this.colli = 0;
|
|
1066
1047
|
this.palette = 0;
|
|
1067
1048
|
this.totalColliAndPalette = 0;
|
|
1068
|
-
this.emptyString = '';
|
|
1069
1049
|
this.selbstabholer = false;
|
|
1070
1050
|
this.keepWeight = '';
|
|
1071
1051
|
this.submitCloseModalEvent = new EventEmitter();
|
|
@@ -1093,6 +1073,7 @@ class KorrekturDatenComponent {
|
|
|
1093
1073
|
this.dienste.forEach((allowedDienste) => {
|
|
1094
1074
|
if (allowedDienste.code === currentDienst.code) {
|
|
1095
1075
|
this.selectedDropdownDienst = currentDienst;
|
|
1076
|
+
this.dienste = this.dienste.filter((dienst) => dienst.bezeichnung !== this.selectedDropdownDienst.bezeichnung);
|
|
1096
1077
|
this.getDienstData(this.selectedDropdownDienst);
|
|
1097
1078
|
}
|
|
1098
1079
|
});
|
|
@@ -1211,15 +1192,14 @@ class KorrekturDatenComponent {
|
|
|
1211
1192
|
}
|
|
1212
1193
|
}
|
|
1213
1194
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: KorrekturDatenComponent, deps: [{ token: i1$1.FormBuilder }, { token: i0.ChangeDetectorRef }, { token: FormService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1214
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: KorrekturDatenComponent, isStandalone: true, selector: "lib-korrektur-daten", inputs: { shipmentInfoDetails: "shipmentInfoDetails", dienste: "dienste" }, outputs: { submitCloseModalEvent: "submitCloseModalEvent" }, ngImport: i0, template: "<p>Korrigierte Werte</p>\r\n<form class=\"text-left border border-light\" #addresForm=\"ngForm\">\r\n <div class=\"d-flex justify-content-between\">\r\n\r\n <
|
|
1195
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: KorrekturDatenComponent, isStandalone: true, selector: "lib-korrektur-daten", inputs: { shipmentInfoDetails: "shipmentInfoDetails", dienste: "dienste" }, outputs: { submitCloseModalEvent: "submitCloseModalEvent" }, ngImport: i0, template: "<p>Korrigierte Werte</p>\r\n<form class=\"text-left border border-light\" #addresForm=\"ngForm\">\r\n <div class=\"d-flex justify-content-between\">\r\n\r\n <i class=\"fa-regular fa-cube iconSizeBox mr-2\"></i>\r\n <input type=\"text\" id=\"colli\" class=\"form-control inputWidth mr-2\" placeholder=\"Anzahl Colli\" name=\"colli\"\r\n #colli='ngModel'\r\n [(ngModel)]=\"shipmentInfoDetails.colli\" (change)=\"checkTotalOfColliAndPalette('colli', colli)\">\r\n\r\n <i class=\"fa-regular fa-pallet-box iconSize mr-2\"></i>\r\n <input type=\"text\" id=\"palette\" class=\"form-control inputWidth mr-2\" placeholder=\"Anzahl Paletten\" name=\"paletten\"\r\n #paletten='ngModel'\r\n [(ngModel)]=\"shipmentInfoDetails.paletten\" (change)=\"checkTotalOfColliAndPalette('palette', paletten)\">\r\n </div>\r\n\r\n <div class=\"d-flex justify-content-between mt-2\">\r\n <i class=\"fa-regular fa-weight-hanging iconSize mr-2\"></i>\r\n <input type=\"text\" id=\"gewicht\" class=\"form-control inputWidth mr-2\" placeholder=\"Gewicht in Kg\" name=\"gewicht\"\r\n #gewicht='ngModel'\r\n (change)=\"checkChange($event)\"\r\n [ngClass]=\"{'displayErrorBorder': this.displayError === true}\"\r\n [ngModel]=\"shipmentInfoDetails.gesamtgewicht\">\r\n\r\n <i class=\"fa-regular fa-gears iconSize mr-2\"></i>\r\n <select class=\"form-control inputWidth mr-2\" id=\"dienste\" [attr.disabled]=\"selbstabholer? '': null\" name=\"dienstt\"\r\n #dienstt='ngModel' [(ngModel)]=\"selectedDropdownDienst\" (ngModelChange)=\"getDienstData($event)\">\r\n <option disabled [value]=\"selectedDropdownDienst\">Dienst ausw\u00E4hlen</option>\r\n @for (dienst of dienste; track dienst) {\r\n <option [ngValue]=\"dienst\">{{ dienst.bezeichnung }}</option>\r\n }\r\n </select>\r\n </div>\r\n\r\n @if (setDeliveryTime) {\r\n <div class=\"d-flex deliveryTime\">\r\n <i class=\"fa-regular fa-clock iconSize mr-2\"></i>\r\n <input type=\"time\" class=\"form-control\" id=\"datumUhrzeit\" name=\"uhrzeit\" #uhrzeit='ngModel'\r\n [(ngModel)]=\"timeToDisplay\">\r\n </div>\r\n }\r\n\r\n @if (!selectedDienst) {\r\n <div>\r\n <input class=\"selbstabholerCheckbox\" type=\"checkbox\" id=\"Selbstabholer\" name=\"Selbstabholer\"\r\n (change)=\"activateAbholer($event)\">\r\n <label for=\"Selbstabholer\">Selbstabholer</label>\r\n </div>\r\n }\r\n\r\n <div class=\"d-flex flex-row-reverse mt-5\">\r\n <div class=\"p-2\">\r\n <button class=\"btn btn-block btn-success\" [disabled]=\"!isColPalValid! || !isGewichtValid\"\r\n (click)=\"onSubmit(true)\">Speichern\r\n </button>\r\n </div>\r\n <div class=\"p-2\">\r\n <button class=\"btn btn-block btn-danger\" (click)=\"onSubmit(false)\">Abbrechen</button>\r\n </div>\r\n </div>\r\n @if (!isColPalValid || !isGewichtValid) {\r\n <span class=\"text-danger\">\r\n <p>Fehler! Bitte \u00FCberpr\u00FCfen Sie Ihre Eingaben. Colli und Paletten Stimmen nicht \u00FCberein oder das eingegebene Gewicht befindet sich nicht zwischen 0.1 und 25000 kg. </p>\r\n </span>\r\n }\r\n</form>\r\n", styles: [".myClass{background-color:red}.iconSize{font-size:22px!important}.iconSizeBox{font-size:19px!important}.icon-stack{position:relative;display:inline-block;height:2em;vertical-align:middle}.icon-stack-1x,.icon-stack-2x,.icon-stack-3x{position:absolute;left:0;width:100%;text-align:right}.icon-stack-1x{line-height:inherit}.icon-stack-2x{font-size:1.5em}.icon-stack-3x{font-size:2em}.selbstabholerCheckbox{margin:.4rem;margin-top:24px}.inputWidth{width:40%}.deliveryTime{width:30%;margin-top:.5rem}.displayErrorBorder{border:lightcoral 1px solid}\n"], dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1$1.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i1$1.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i1$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1$1.SelectControlValueAccessor, selector: "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]", inputs: ["compareWith"] }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i1$1.NgForm, selector: "form:not([ngNoForm]):not([formGroup]),ng-form,[ngForm]", inputs: ["ngFormOptions"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] }); }
|
|
1215
1196
|
}
|
|
1216
1197
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: KorrekturDatenComponent, decorators: [{
|
|
1217
1198
|
type: Component,
|
|
1218
1199
|
args: [{ selector: 'lib-korrektur-daten', standalone: true, imports: [
|
|
1219
|
-
FaIconComponent,
|
|
1220
1200
|
FormsModule,
|
|
1221
1201
|
NgClass
|
|
1222
|
-
], template: "<p>Korrigierte Werte</p>\r\n<form class=\"text-left border border-light\" #addresForm=\"ngForm\">\r\n <div class=\"d-flex justify-content-between\">\r\n\r\n <
|
|
1202
|
+
], template: "<p>Korrigierte Werte</p>\r\n<form class=\"text-left border border-light\" #addresForm=\"ngForm\">\r\n <div class=\"d-flex justify-content-between\">\r\n\r\n <i class=\"fa-regular fa-cube iconSizeBox mr-2\"></i>\r\n <input type=\"text\" id=\"colli\" class=\"form-control inputWidth mr-2\" placeholder=\"Anzahl Colli\" name=\"colli\"\r\n #colli='ngModel'\r\n [(ngModel)]=\"shipmentInfoDetails.colli\" (change)=\"checkTotalOfColliAndPalette('colli', colli)\">\r\n\r\n <i class=\"fa-regular fa-pallet-box iconSize mr-2\"></i>\r\n <input type=\"text\" id=\"palette\" class=\"form-control inputWidth mr-2\" placeholder=\"Anzahl Paletten\" name=\"paletten\"\r\n #paletten='ngModel'\r\n [(ngModel)]=\"shipmentInfoDetails.paletten\" (change)=\"checkTotalOfColliAndPalette('palette', paletten)\">\r\n </div>\r\n\r\n <div class=\"d-flex justify-content-between mt-2\">\r\n <i class=\"fa-regular fa-weight-hanging iconSize mr-2\"></i>\r\n <input type=\"text\" id=\"gewicht\" class=\"form-control inputWidth mr-2\" placeholder=\"Gewicht in Kg\" name=\"gewicht\"\r\n #gewicht='ngModel'\r\n (change)=\"checkChange($event)\"\r\n [ngClass]=\"{'displayErrorBorder': this.displayError === true}\"\r\n [ngModel]=\"shipmentInfoDetails.gesamtgewicht\">\r\n\r\n <i class=\"fa-regular fa-gears iconSize mr-2\"></i>\r\n <select class=\"form-control inputWidth mr-2\" id=\"dienste\" [attr.disabled]=\"selbstabholer? '': null\" name=\"dienstt\"\r\n #dienstt='ngModel' [(ngModel)]=\"selectedDropdownDienst\" (ngModelChange)=\"getDienstData($event)\">\r\n <option disabled [value]=\"selectedDropdownDienst\">Dienst ausw\u00E4hlen</option>\r\n @for (dienst of dienste; track dienst) {\r\n <option [ngValue]=\"dienst\">{{ dienst.bezeichnung }}</option>\r\n }\r\n </select>\r\n </div>\r\n\r\n @if (setDeliveryTime) {\r\n <div class=\"d-flex deliveryTime\">\r\n <i class=\"fa-regular fa-clock iconSize mr-2\"></i>\r\n <input type=\"time\" class=\"form-control\" id=\"datumUhrzeit\" name=\"uhrzeit\" #uhrzeit='ngModel'\r\n [(ngModel)]=\"timeToDisplay\">\r\n </div>\r\n }\r\n\r\n @if (!selectedDienst) {\r\n <div>\r\n <input class=\"selbstabholerCheckbox\" type=\"checkbox\" id=\"Selbstabholer\" name=\"Selbstabholer\"\r\n (change)=\"activateAbholer($event)\">\r\n <label for=\"Selbstabholer\">Selbstabholer</label>\r\n </div>\r\n }\r\n\r\n <div class=\"d-flex flex-row-reverse mt-5\">\r\n <div class=\"p-2\">\r\n <button class=\"btn btn-block btn-success\" [disabled]=\"!isColPalValid! || !isGewichtValid\"\r\n (click)=\"onSubmit(true)\">Speichern\r\n </button>\r\n </div>\r\n <div class=\"p-2\">\r\n <button class=\"btn btn-block btn-danger\" (click)=\"onSubmit(false)\">Abbrechen</button>\r\n </div>\r\n </div>\r\n @if (!isColPalValid || !isGewichtValid) {\r\n <span class=\"text-danger\">\r\n <p>Fehler! Bitte \u00FCberpr\u00FCfen Sie Ihre Eingaben. Colli und Paletten Stimmen nicht \u00FCberein oder das eingegebene Gewicht befindet sich nicht zwischen 0.1 und 25000 kg. </p>\r\n </span>\r\n }\r\n</form>\r\n", styles: [".myClass{background-color:red}.iconSize{font-size:22px!important}.iconSizeBox{font-size:19px!important}.icon-stack{position:relative;display:inline-block;height:2em;vertical-align:middle}.icon-stack-1x,.icon-stack-2x,.icon-stack-3x{position:absolute;left:0;width:100%;text-align:right}.icon-stack-1x{line-height:inherit}.icon-stack-2x{font-size:1.5em}.icon-stack-3x{font-size:2em}.selbstabholerCheckbox{margin:.4rem;margin-top:24px}.inputWidth{width:40%}.deliveryTime{width:30%;margin-top:.5rem}.displayErrorBorder{border:lightcoral 1px solid}\n"] }]
|
|
1223
1203
|
}], ctorParameters: () => [{ type: i1$1.FormBuilder }, { type: i0.ChangeDetectorRef }, { type: FormService }], propDecorators: { shipmentInfoDetails: [{
|
|
1224
1204
|
type: Input
|
|
1225
1205
|
}], dienste: [{
|
|
@@ -1232,7 +1212,6 @@ class KorrekturButtonCellComponent {
|
|
|
1232
1212
|
constructor(modalService, formService) {
|
|
1233
1213
|
this.modalService = modalService;
|
|
1234
1214
|
this.formService = formService;
|
|
1235
|
-
this.faPencilAlt = faPencilAlt;
|
|
1236
1215
|
this.formService.dienste$.subscribe((dienste) => {
|
|
1237
1216
|
if (dienste) {
|
|
1238
1217
|
this.dienste = dienste;
|
|
@@ -1264,15 +1243,14 @@ class KorrekturButtonCellComponent {
|
|
|
1264
1243
|
this.modalRef.hide();
|
|
1265
1244
|
}
|
|
1266
1245
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: KorrekturButtonCellComponent, deps: [{ token: i1.BsModalService }, { token: FormService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1267
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: KorrekturButtonCellComponent, isStandalone: true, selector: "lib-korrektur-button-cell", ngImport: i0, template: "<
|
|
1246
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: KorrekturButtonCellComponent, isStandalone: true, selector: "lib-korrektur-button-cell", ngImport: i0, template: "<i (click)=\"openModal(template)\" style=\"cursor: pointer\" class=\"fa-solid fa-pencil\"></i>\r\n\r\n<ng-template #template>\r\n <div class=\"modal-header\">\r\n <h4 class=\"modal-title pull-left\">Sendungskorrektur</h4>\r\n\r\n </div>\r\n <div class=\"modal-body text-left\">\r\n <div class=\"\">\r\n <lib-aktuelle-daten [shipmentInfoDetails]=\"params.data\" [allowedDienste]=\"dienste\"></lib-aktuelle-daten>\r\n </div>\r\n <hr>\r\n <div class=\"\">\r\n <lib-korrektur-daten\r\n (submitCloseModalEvent)=\"closeModal($event)\"\r\n [shipmentInfoDetails]=\"params.data\"\r\n [dienste]=\"dienste\">\r\n </lib-korrektur-daten>\r\n </div>\r\n </div>\r\n</ng-template>\r\n", styles: [""], dependencies: [{ kind: "component", type: AktuelleDatenComponent, selector: "lib-aktuelle-daten", inputs: ["shipmentInfoDetails", "allowedDienste"] }, { kind: "component", type: KorrekturDatenComponent, selector: "lib-korrektur-daten", inputs: ["shipmentInfoDetails", "dienste"], outputs: ["submitCloseModalEvent"] }] }); }
|
|
1268
1247
|
}
|
|
1269
1248
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: KorrekturButtonCellComponent, decorators: [{
|
|
1270
1249
|
type: Component,
|
|
1271
1250
|
args: [{ selector: 'lib-korrektur-button-cell', standalone: true, imports: [
|
|
1272
1251
|
AktuelleDatenComponent,
|
|
1273
1252
|
KorrekturDatenComponent,
|
|
1274
|
-
|
|
1275
|
-
], template: "<fa-icon (click)=\"openModal(template)\" style=\"cursor: pointer\" [icon]=\"faPencilAlt\"></fa-icon>\r\n\r\n<ng-template #template>\r\n <div class=\"modal-header\">\r\n <h4 class=\"modal-title pull-left\">Sendungskorrektur</h4>\r\n\r\n </div>\r\n <div class=\"modal-body text-left\">\r\n <div class=\"\">\r\n <lib-aktuelle-daten [shipmentInfoDetails]=\"params.data\" [allowedDienste]=\"dienste\"></lib-aktuelle-daten>\r\n </div>\r\n <hr>\r\n <div class=\"\">\r\n <lib-korrektur-daten\r\n (submitCloseModalEvent)=\"closeModal($event)\"\r\n [shipmentInfoDetails]=\"params.data\"\r\n [dienste]=\"dienste\">\r\n </lib-korrektur-daten>\r\n </div>\r\n </div>\r\n</ng-template>\r\n" }]
|
|
1253
|
+
], template: "<i (click)=\"openModal(template)\" style=\"cursor: pointer\" class=\"fa-solid fa-pencil\"></i>\r\n\r\n<ng-template #template>\r\n <div class=\"modal-header\">\r\n <h4 class=\"modal-title pull-left\">Sendungskorrektur</h4>\r\n\r\n </div>\r\n <div class=\"modal-body text-left\">\r\n <div class=\"\">\r\n <lib-aktuelle-daten [shipmentInfoDetails]=\"params.data\" [allowedDienste]=\"dienste\"></lib-aktuelle-daten>\r\n </div>\r\n <hr>\r\n <div class=\"\">\r\n <lib-korrektur-daten\r\n (submitCloseModalEvent)=\"closeModal($event)\"\r\n [shipmentInfoDetails]=\"params.data\"\r\n [dienste]=\"dienste\">\r\n </lib-korrektur-daten>\r\n </div>\r\n </div>\r\n</ng-template>\r\n" }]
|
|
1276
1254
|
}], ctorParameters: () => [{ type: i1.BsModalService }, { type: FormService }] });
|
|
1277
1255
|
|
|
1278
1256
|
class SendungInformationComponent {
|
|
@@ -1293,8 +1271,6 @@ class SendungInformationComponent {
|
|
|
1293
1271
|
this.formService = formService;
|
|
1294
1272
|
this.isCollapsed = true;
|
|
1295
1273
|
this.locale = AG_GRID_LOCALE_DE;
|
|
1296
|
-
this.carretUp = faCaretUp;
|
|
1297
|
-
this.carretDown = faCaretDown;
|
|
1298
1274
|
this.sendCorrectedValues = new EventEmitter();
|
|
1299
1275
|
this.overlayLoadingTemplate = '<span class="ag-overlay-loading-center">Sendungsdaten werden geladen...</span>';
|
|
1300
1276
|
this.defaultColDef = {
|
|
@@ -1397,7 +1373,7 @@ class SendungInformationComponent {
|
|
|
1397
1373
|
this.show = !this.show;
|
|
1398
1374
|
}
|
|
1399
1375
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SendungInformationComponent, deps: [{ token: FormService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1400
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: SendungInformationComponent, isStandalone: true, selector: "lib-sendung-information", inputs: { colliEvent$: "colliEvent$", sendungsereignisse$: "sendungsereignisse$", dangerousGoods$: "dangerousGoods$", sendungskette$: "sendungskette$", dispoDetails$: "dispoDetails$", colliUbersicht$: "colliUbersicht$", dienste: "dienste", shipmentInfoDetails: "shipmentInfoDetails" }, outputs: { sendCorrectedValues: "sendCorrectedValues" }, ngImport: i0, template: "<div class=\"card\">\r\n <div class=\"card-body\">\r\n <div style=\"cursor: pointer\" (click)=\"toggleCollapse()\">\r\n <h5 class=\"card-title\">Sendungsinformationen\r\n <fa-icon [hidden]=\"show\" [icon]=\"carretUp\"></fa-icon>\r\n <fa-icon [hidden]=\"!show\" [icon]=\"carretDown\"></fa-icon>\r\n </h5>\r\n </div>\r\n <div id=\"collapseBasic\" [collapse]=\"!isCollapsed\" [isAnimated]=\"true\">\r\n <ag-grid-angular\r\n style=\"width: 100%; height: 100px;\"\r\n class=\"ag-theme-alpine\"\r\n [columnDefs]=\"columnDef\"\r\n [localeText]=\"locale\"\r\n [defaultColDef]=\"defaultColDef\"\r\n [overlayLoadingTemplate]=\"overlayLoadingTemplate\"\r\n (gridReady)=\"gridReady($event)\"\r\n\r\n >\r\n </ag-grid-angular>\r\n </div>\r\n </div>\r\n</div>\r\n\r\n<div class=\"mt-3\">\r\n <tabset>\r\n <tab heading=\"Colliereignisse\">\r\n <lib-colli-ereignisse [colliEvent]=\"colliEvent$\"></lib-colli-ereignisse>\r\n </tab>\r\n <tab heading=\"Sendungsereignisse\">\r\n <lib-sendung-ereignisse [sendungsereignisse]=\"sendungsereignisse$\"></lib-sendung-ereignisse>\r\n </tab>\r\n <tab heading=\"Gefahrgut\">\r\n <lib-gefahrgut [dangerous_goods]=\"dangerousGoods$\"></lib-gefahrgut>\r\n </tab>\r\n <tab heading=\"Sendungskette\">\r\n <lib-sendungskette [sendungskette]=\"sendungskette$\"></lib-sendungskette>\r\n </tab>\r\n <tab heading=\"Dispositiondetails\">\r\n <lib-dispo-detail [dispoDetails]=\"dispoDetails$\"></lib-dispo-detail>\r\n </tab>\r\n <tab heading=\"Colli\u00FCbersicht\">\r\n <lib-colli-uebersicht [colliUbersicht]=\"colliUbersicht$\"></lib-colli-uebersicht>\r\n </tab>\r\n </tabset>\r\n</div>\r\n", styles: ["@media (min-width:1025px) and (max-width:1300px){#collapseBasic ag-grid-angular{height:400px}}\n"], dependencies: [{ kind: "component", type: AgGridAngular, selector: "ag-grid-angular", inputs: ["gridOptions", "modules", "statusBar", "sideBar", "suppressContextMenu", "preventDefaultOnContextMenu", "allowContextMenuWithControlKey", "columnMenu", "suppressMenuHide", "enableBrowserTooltips", "tooltipTrigger", "tooltipShowDelay", "tooltipHideDelay", "tooltipMouseTrack", "tooltipShowMode", "tooltipInteraction", "popupParent", "copyHeadersToClipboard", "copyGroupHeadersToClipboard", "clipboardDelimiter", "suppressCopyRowsToClipboard", "suppressCopySingleCellRanges", "suppressLastEmptyLineOnPaste", "suppressClipboardPaste", "suppressClipboardApi", "suppressCutToClipboard", "columnDefs", "defaultColDef", "defaultColGroupDef", "columnTypes", "dataTypeDefinitions", "maintainColumnOrder", "enableStrictPivotColumnOrder", "suppressFieldDotNotation", "headerHeight", "groupHeaderHeight", "floatingFiltersHeight", "pivotHeaderHeight", "pivotGroupHeaderHeight", "allowDragFromColumnsToolPanel", "suppressMovableColumns", "suppressColumnMoveAnimation", "suppressMoveWhenColumnDragging", "suppressDragLeaveHidesColumns", "suppressRowGroupHidesColumns", "colResizeDefault", "suppressAutoSize", "autoSizePadding", "skipHeaderOnAutoSize", "autoSizeStrategy", "components", "editType", "singleClickEdit", "suppressClickEdit", "readOnlyEdit", "stopEditingWhenCellsLoseFocus", "enterNavigatesVertically", "enterNavigatesVerticallyAfterEdit", "enableCellEditingOnBackspace", "undoRedoCellEditing", "undoRedoCellEditingLimit", "defaultCsvExportParams", "suppressCsvExport", "defaultExcelExportParams", "suppressExcelExport", "excelStyles", "quickFilterText", "cacheQuickFilter", "includeHiddenColumnsInQuickFilter", "quickFilterParser", "quickFilterMatcher", "applyQuickFilterBeforePivotOrAgg", "excludeChildrenWhenTreeDataFiltering", "enableAdvancedFilter", "advancedFilterModel", "includeHiddenColumnsInAdvancedFilter", "advancedFilterParent", "advancedFilterBuilderParams", "suppressAdvancedFilterEval", "suppressSetFilterByDefault", "enableCharts", "chartThemes", "customChartThemes", "chartThemeOverrides", "chartToolPanelsDef", "chartMenuItems", "loadingCellRenderer", "loadingCellRendererParams", "loadingCellRendererSelector", "localeText", "masterDetail", "keepDetailRows", "keepDetailRowsCount", "detailCellRenderer", "detailCellRendererParams", "detailRowHeight", "detailRowAutoHeight", "context", "dragAndDropImageComponent", "dragAndDropImageComponentParams", "alignedGrids", "tabIndex", "rowBuffer", "valueCache", "valueCacheNeverExpires", "enableCellExpressions", "suppressTouch", "suppressFocusAfterRefresh", "suppressAsyncEvents", "suppressBrowserResizeObserver", "suppressPropertyNamesCheck", "suppressChangeDetection", "debug", "loading", "overlayLoadingTemplate", "loadingOverlayComponent", "loadingOverlayComponentParams", "suppressLoadingOverlay", "overlayNoRowsTemplate", "noRowsOverlayComponent", "noRowsOverlayComponentParams", "suppressNoRowsOverlay", "pagination", "paginationPageSize", "paginationPageSizeSelector", "paginationAutoPageSize", "paginateChildRows", "suppressPaginationPanel", "pivotMode", "pivotPanelShow", "pivotMaxGeneratedColumns", "pivotDefaultExpanded", "pivotColumnGroupTotals", "pivotRowTotals", "pivotSuppressAutoColumn", "suppressExpandablePivotGroups", "functionsReadOnly", "aggFuncs", "suppressAggFuncInHeader", "alwaysAggregateAtRootLevel", "aggregateOnlyChangedColumns", "suppressAggFilteredOnly", "removePivotHeaderRowWhenSingleValueColumn", "animateRows", "enableCellChangeFlash", "cellFlashDuration", "cellFlashDelay", "cellFadeDuration", "cellFadeDelay", "allowShowChangeAfterFilter", "domLayout", "ensureDomOrder", "enableRtl", "suppressColumnVirtualisation", "suppressMaxRenderedRowRestriction", "suppressRowVirtualisation", "rowDragManaged", "suppressRowDrag", "suppressMoveWhenRowDragging", "rowDragEntireRow", "rowDragMultiRow", "rowDragText", "fullWidthCellRenderer", "fullWidthCellRendererParams", "embedFullWidthRows", "suppressGroupMaintainValueType", "groupDisplayType", "groupDefaultExpanded", "autoGroupColumnDef", "groupMaintainOrder", "groupSelectsChildren", "groupLockGroupColumns", "groupAggFiltering", "groupIncludeFooter", "groupIncludeTotalFooter", "groupTotalRow", "grandTotalRow", "suppressStickyTotalRow", "groupSuppressBlankHeader", "groupSelectsFiltered", "showOpenedGroup", "groupRemoveSingleChildren", "groupRemoveLowestSingleChildren", "groupHideOpenParents", "groupAllowUnbalanced", "rowGroupPanelShow", "groupRowRenderer", "groupRowRendererParams", "suppressMakeColumnVisibleAfterUnGroup", "treeData", "rowGroupPanelSuppressSort", "suppressGroupRowsSticky", "pinnedTopRowData", "pinnedBottomRowData", "rowModelType", "rowData", "asyncTransactionWaitMillis", "suppressModelUpdateAfterUpdateTransaction", "datasource", "cacheOverflowSize", "infiniteInitialRowCount", "serverSideInitialRowCount", "suppressServerSideInfiniteScroll", "suppressServerSideFullWidthLoadingRow", "cacheBlockSize", "maxBlocksInCache", "maxConcurrentDatasourceRequests", "blockLoadDebounceMillis", "purgeClosedRowNodes", "serverSideDatasource", "serverSideSortAllLevels", "serverSideEnableClientSideSort", "serverSideOnlyRefreshFilteredGroups", "serverSideSortOnServer", "serverSideFilterOnServer", "serverSidePivotResultFieldSeparator", "viewportDatasource", "viewportRowModelPageSize", "viewportRowModelBufferSize", "alwaysShowHorizontalScroll", "alwaysShowVerticalScroll", "debounceVerticalScrollbar", "suppressHorizontalScroll", "suppressScrollOnNewData", "suppressScrollWhenPopupsAreOpen", "suppressAnimationFrame", "suppressMiddleClickScrolls", "suppressPreventDefaultOnMouseWheel", "scrollbarWidth", "rowSelection", "cellSelection", "rowMultiSelectWithClick", "suppressRowDeselection", "suppressRowClickSelection", "suppressCellFocus", "suppressHeaderFocus", "selectionColumnDef", "suppressMultiRangeSelection", "enableCellTextSelection", "enableRangeSelection", "enableRangeHandle", "enableFillHandle", "fillHandleDirection", "suppressClearOnFillReduction", "sortingOrder", "accentedSort", "unSortIcon", "suppressMultiSort", "alwaysMultiSort", "multiSortKey", "suppressMaintainUnsortedOrder", "icons", "rowHeight", "rowStyle", "rowClass", "rowClassRules", "suppressRowHoverHighlight", "suppressRowTransform", "columnHoverHighlight", "gridId", "deltaSort", "treeDataDisplayType", "enableGroupEdit", "initialState", "theme", "loadThemeGoogleFonts", "getContextMenuItems", "getMainMenuItems", "postProcessPopup", "processUnpinnedColumns", "processCellForClipboard", "processHeaderForClipboard", "processGroupHeaderForClipboard", "processCellFromClipboard", "sendToClipboard", "processDataFromClipboard", "isExternalFilterPresent", "doesExternalFilterPass", "getChartToolbarItems", "createChartContainer", "focusGridInnerElement", "navigateToNextHeader", "tabToNextHeader", "navigateToNextCell", "tabToNextCell", "getLocaleText", "getDocument", "paginationNumberFormatter", "getGroupRowAgg", "isGroupOpenByDefault", "initialGroupOrderComparator", "processPivotResultColDef", "processPivotResultColGroupDef", "getDataPath", "getChildCount", "getServerSideGroupLevelParams", "isServerSideGroupOpenByDefault", "isApplyServerSideTransaction", "isServerSideGroup", "getServerSideGroupKey", "getBusinessKeyForNode", "getRowId", "resetRowDataOnUpdate", "processRowPostCreate", "isRowSelectable", "isRowMaster", "fillOperation", "postSortRows", "getRowStyle", "getRowClass", "getRowHeight", "isFullWidthRow"], outputs: ["toolPanelVisibleChanged", "toolPanelSizeChanged", "columnMenuVisibleChanged", "contextMenuVisibleChanged", "cutStart", "cutEnd", "pasteStart", "pasteEnd", "columnVisible", "columnPinned", "columnResized", "columnMoved", "columnValueChanged", "columnPivotModeChanged", "columnPivotChanged", "columnGroupOpened", "newColumnsLoaded", "gridColumnsChanged", "displayedColumnsChanged", "virtualColumnsChanged", "columnEverythingChanged", "columnHeaderMouseOver", "columnHeaderMouseLeave", "columnHeaderClicked", "columnHeaderContextMenu", "componentStateChanged", "cellValueChanged", "cellEditRequest", "rowValueChanged", "cellEditingStarted", "cellEditingStopped", "rowEditingStarted", "rowEditingStopped", "undoStarted", "undoEnded", "redoStarted", "redoEnded", "cellSelectionDeleteStart", "cellSelectionDeleteEnd", "rangeDeleteStart", "rangeDeleteEnd", "fillStart", "fillEnd", "filterOpened", "filterChanged", "filterModified", "advancedFilterBuilderVisibleChanged", "chartCreated", "chartRangeSelectionChanged", "chartOptionsChanged", "chartDestroyed", "cellKeyDown", "gridReady", "firstDataRendered", "gridSizeChanged", "modelUpdated", "virtualRowRemoved", "viewportChanged", "bodyScroll", "bodyScrollEnd", "dragStarted", "dragStopped", "dragCancelled", "stateUpdated", "paginationChanged", "rowDragEnter", "rowDragMove", "rowDragLeave", "rowDragEnd", "rowDragCancel", "columnRowGroupChanged", "rowGroupOpened", "expandOrCollapseAll", "pivotMaxColumnsExceeded", "pinnedRowDataChanged", "rowDataUpdated", "asyncTransactionsFlushed", "storeRefreshed", "headerFocused", "cellClicked", "cellDoubleClicked", "cellFocused", "cellMouseOver", "cellMouseOut", "cellMouseDown", "rowClicked", "rowDoubleClicked", "rowSelected", "selectionChanged", "cellContextMenu", "rangeSelectionChanged", "cellSelectionChanged", "tooltipShow", "tooltipHide", "sortChanged"] }, { kind: "ngmodule", type: CollapseModule }, { kind: "directive", type: i2$1.CollapseDirective, selector: "[collapse]", inputs: ["display", "isAnimated", "collapse"], outputs: ["collapsed", "collapses", "expanded", "expands"], exportAs: ["bs-collapse"] }, { kind: "ngmodule", type: TabsModule }, { kind: "directive", type: i3.TabDirective, selector: "tab, [tab]", inputs: ["heading", "id", "disabled", "removable", "customClass", "active"], outputs: ["selectTab", "deselect", "removed"], exportAs: ["tab"] }, { kind: "component", type: i3.TabsetComponent, selector: "tabset", inputs: ["vertical", "justified", "type"] }, { kind: "component", type: FaIconComponent, selector: "fa-icon", inputs: ["icon", "title", "animation", "spin", "pulse", "mask", "styles", "flip", "size", "pull", "border", "inverse", "symbol", "rotate", "fixedWidth", "classes", "transform", "a11yRole"] }, { kind: "component", type: ColliEreignisseComponent, selector: "lib-colli-ereignisse", inputs: ["colliEvent"] }, { kind: "component", type: SendungEreignisseComponent, selector: "lib-sendung-ereignisse", inputs: ["sendungsereignisse"] }, { kind: "component", type: GefahrgutComponent, selector: "lib-gefahrgut", inputs: ["dangerous_goods"] }, { kind: "component", type: SendungsketteComponent, selector: "lib-sendungskette", inputs: ["sendungskette"] }, { kind: "component", type: DispoDetailComponent, selector: "lib-dispo-detail", inputs: ["dispoDetails"] }, { kind: "component", type: ColliUebersichtComponent, selector: "lib-colli-uebersicht", inputs: ["colliUbersicht"] }] }); }
|
|
1376
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: SendungInformationComponent, isStandalone: true, selector: "lib-sendung-information", inputs: { colliEvent$: "colliEvent$", sendungsereignisse$: "sendungsereignisse$", dangerousGoods$: "dangerousGoods$", sendungskette$: "sendungskette$", dispoDetails$: "dispoDetails$", colliUbersicht$: "colliUbersicht$", dienste: "dienste", shipmentInfoDetails: "shipmentInfoDetails" }, outputs: { sendCorrectedValues: "sendCorrectedValues" }, ngImport: i0, template: "<div class=\"card\">\r\n <div class=\"card-body\">\r\n <div style=\"cursor: pointer\" (click)=\"toggleCollapse()\">\r\n <h5 class=\"card-title\">Sendungsinformationen\r\n <i [hidden]=\"show\" class=\"fa-solid fa-caret-up\"></i>\r\n <i [hidden]=\"!show\" class=\"fa-solid fa-caret-down\"></i>\r\n </h5>\r\n </div>\r\n <div id=\"collapseBasic\" [collapse]=\"!isCollapsed\" [isAnimated]=\"true\">\r\n <ag-grid-angular\r\n style=\"width: 100%; height: 100px;\"\r\n class=\"ag-theme-alpine\"\r\n [columnDefs]=\"columnDef\"\r\n [localeText]=\"locale\"\r\n [defaultColDef]=\"defaultColDef\"\r\n [overlayLoadingTemplate]=\"overlayLoadingTemplate\"\r\n (gridReady)=\"gridReady($event)\"\r\n\r\n >\r\n </ag-grid-angular>\r\n </div>\r\n </div>\r\n</div>\r\n\r\n<div class=\"mt-3\">\r\n <tabset>\r\n <tab heading=\"Colliereignisse\">\r\n <lib-colli-ereignisse [colliEvent]=\"colliEvent$\"></lib-colli-ereignisse>\r\n </tab>\r\n <tab heading=\"Sendungsereignisse\">\r\n <lib-sendung-ereignisse [sendungsereignisse]=\"sendungsereignisse$\"></lib-sendung-ereignisse>\r\n </tab>\r\n <tab heading=\"Gefahrgut\">\r\n <lib-gefahrgut [dangerous_goods]=\"dangerousGoods$\"></lib-gefahrgut>\r\n </tab>\r\n <tab heading=\"Sendungskette\">\r\n <lib-sendungskette [sendungskette]=\"sendungskette$\"></lib-sendungskette>\r\n </tab>\r\n <tab heading=\"Dispositiondetails\">\r\n <lib-dispo-detail [dispoDetails]=\"dispoDetails$\"></lib-dispo-detail>\r\n </tab>\r\n <tab heading=\"Colli\u00FCbersicht\">\r\n <lib-colli-uebersicht [colliUbersicht]=\"colliUbersicht$\"></lib-colli-uebersicht>\r\n </tab>\r\n </tabset>\r\n</div>\r\n", styles: ["@media (min-width:1025px) and (max-width:1300px){#collapseBasic ag-grid-angular{height:400px}}\n"], dependencies: [{ kind: "component", type: AgGridAngular, selector: "ag-grid-angular", inputs: ["gridOptions", "modules", "statusBar", "sideBar", "suppressContextMenu", "preventDefaultOnContextMenu", "allowContextMenuWithControlKey", "columnMenu", "suppressMenuHide", "enableBrowserTooltips", "tooltipTrigger", "tooltipShowDelay", "tooltipHideDelay", "tooltipMouseTrack", "tooltipShowMode", "tooltipInteraction", "popupParent", "copyHeadersToClipboard", "copyGroupHeadersToClipboard", "clipboardDelimiter", "suppressCopyRowsToClipboard", "suppressCopySingleCellRanges", "suppressLastEmptyLineOnPaste", "suppressClipboardPaste", "suppressClipboardApi", "suppressCutToClipboard", "columnDefs", "defaultColDef", "defaultColGroupDef", "columnTypes", "dataTypeDefinitions", "maintainColumnOrder", "enableStrictPivotColumnOrder", "suppressFieldDotNotation", "headerHeight", "groupHeaderHeight", "floatingFiltersHeight", "pivotHeaderHeight", "pivotGroupHeaderHeight", "allowDragFromColumnsToolPanel", "suppressMovableColumns", "suppressColumnMoveAnimation", "suppressMoveWhenColumnDragging", "suppressDragLeaveHidesColumns", "suppressRowGroupHidesColumns", "colResizeDefault", "suppressAutoSize", "autoSizePadding", "skipHeaderOnAutoSize", "autoSizeStrategy", "components", "editType", "singleClickEdit", "suppressClickEdit", "readOnlyEdit", "stopEditingWhenCellsLoseFocus", "enterNavigatesVertically", "enterNavigatesVerticallyAfterEdit", "enableCellEditingOnBackspace", "undoRedoCellEditing", "undoRedoCellEditingLimit", "defaultCsvExportParams", "suppressCsvExport", "defaultExcelExportParams", "suppressExcelExport", "excelStyles", "quickFilterText", "cacheQuickFilter", "includeHiddenColumnsInQuickFilter", "quickFilterParser", "quickFilterMatcher", "applyQuickFilterBeforePivotOrAgg", "excludeChildrenWhenTreeDataFiltering", "enableAdvancedFilter", "advancedFilterModel", "includeHiddenColumnsInAdvancedFilter", "advancedFilterParent", "advancedFilterBuilderParams", "suppressAdvancedFilterEval", "suppressSetFilterByDefault", "enableCharts", "chartThemes", "customChartThemes", "chartThemeOverrides", "chartToolPanelsDef", "chartMenuItems", "loadingCellRenderer", "loadingCellRendererParams", "loadingCellRendererSelector", "localeText", "masterDetail", "keepDetailRows", "keepDetailRowsCount", "detailCellRenderer", "detailCellRendererParams", "detailRowHeight", "detailRowAutoHeight", "context", "dragAndDropImageComponent", "dragAndDropImageComponentParams", "alignedGrids", "tabIndex", "rowBuffer", "valueCache", "valueCacheNeverExpires", "enableCellExpressions", "suppressTouch", "suppressFocusAfterRefresh", "suppressAsyncEvents", "suppressBrowserResizeObserver", "suppressPropertyNamesCheck", "suppressChangeDetection", "debug", "loading", "overlayLoadingTemplate", "loadingOverlayComponent", "loadingOverlayComponentParams", "suppressLoadingOverlay", "overlayNoRowsTemplate", "noRowsOverlayComponent", "noRowsOverlayComponentParams", "suppressNoRowsOverlay", "pagination", "paginationPageSize", "paginationPageSizeSelector", "paginationAutoPageSize", "paginateChildRows", "suppressPaginationPanel", "pivotMode", "pivotPanelShow", "pivotMaxGeneratedColumns", "pivotDefaultExpanded", "pivotColumnGroupTotals", "pivotRowTotals", "pivotSuppressAutoColumn", "suppressExpandablePivotGroups", "functionsReadOnly", "aggFuncs", "suppressAggFuncInHeader", "alwaysAggregateAtRootLevel", "aggregateOnlyChangedColumns", "suppressAggFilteredOnly", "removePivotHeaderRowWhenSingleValueColumn", "animateRows", "enableCellChangeFlash", "cellFlashDuration", "cellFlashDelay", "cellFadeDuration", "cellFadeDelay", "allowShowChangeAfterFilter", "domLayout", "ensureDomOrder", "enableRtl", "suppressColumnVirtualisation", "suppressMaxRenderedRowRestriction", "suppressRowVirtualisation", "rowDragManaged", "suppressRowDrag", "suppressMoveWhenRowDragging", "rowDragEntireRow", "rowDragMultiRow", "rowDragText", "fullWidthCellRenderer", "fullWidthCellRendererParams", "embedFullWidthRows", "suppressGroupMaintainValueType", "groupDisplayType", "groupDefaultExpanded", "autoGroupColumnDef", "groupMaintainOrder", "groupSelectsChildren", "groupLockGroupColumns", "groupAggFiltering", "groupIncludeFooter", "groupIncludeTotalFooter", "groupTotalRow", "grandTotalRow", "suppressStickyTotalRow", "groupSuppressBlankHeader", "groupSelectsFiltered", "showOpenedGroup", "groupRemoveSingleChildren", "groupRemoveLowestSingleChildren", "groupHideOpenParents", "groupAllowUnbalanced", "rowGroupPanelShow", "groupRowRenderer", "groupRowRendererParams", "suppressMakeColumnVisibleAfterUnGroup", "treeData", "rowGroupPanelSuppressSort", "suppressGroupRowsSticky", "pinnedTopRowData", "pinnedBottomRowData", "rowModelType", "rowData", "asyncTransactionWaitMillis", "suppressModelUpdateAfterUpdateTransaction", "datasource", "cacheOverflowSize", "infiniteInitialRowCount", "serverSideInitialRowCount", "suppressServerSideInfiniteScroll", "suppressServerSideFullWidthLoadingRow", "cacheBlockSize", "maxBlocksInCache", "maxConcurrentDatasourceRequests", "blockLoadDebounceMillis", "purgeClosedRowNodes", "serverSideDatasource", "serverSideSortAllLevels", "serverSideEnableClientSideSort", "serverSideOnlyRefreshFilteredGroups", "serverSideSortOnServer", "serverSideFilterOnServer", "serverSidePivotResultFieldSeparator", "viewportDatasource", "viewportRowModelPageSize", "viewportRowModelBufferSize", "alwaysShowHorizontalScroll", "alwaysShowVerticalScroll", "debounceVerticalScrollbar", "suppressHorizontalScroll", "suppressScrollOnNewData", "suppressScrollWhenPopupsAreOpen", "suppressAnimationFrame", "suppressMiddleClickScrolls", "suppressPreventDefaultOnMouseWheel", "scrollbarWidth", "rowSelection", "cellSelection", "rowMultiSelectWithClick", "suppressRowDeselection", "suppressRowClickSelection", "suppressCellFocus", "suppressHeaderFocus", "selectionColumnDef", "suppressMultiRangeSelection", "enableCellTextSelection", "enableRangeSelection", "enableRangeHandle", "enableFillHandle", "fillHandleDirection", "suppressClearOnFillReduction", "sortingOrder", "accentedSort", "unSortIcon", "suppressMultiSort", "alwaysMultiSort", "multiSortKey", "suppressMaintainUnsortedOrder", "icons", "rowHeight", "rowStyle", "rowClass", "rowClassRules", "suppressRowHoverHighlight", "suppressRowTransform", "columnHoverHighlight", "gridId", "deltaSort", "treeDataDisplayType", "enableGroupEdit", "initialState", "theme", "loadThemeGoogleFonts", "getContextMenuItems", "getMainMenuItems", "postProcessPopup", "processUnpinnedColumns", "processCellForClipboard", "processHeaderForClipboard", "processGroupHeaderForClipboard", "processCellFromClipboard", "sendToClipboard", "processDataFromClipboard", "isExternalFilterPresent", "doesExternalFilterPass", "getChartToolbarItems", "createChartContainer", "focusGridInnerElement", "navigateToNextHeader", "tabToNextHeader", "navigateToNextCell", "tabToNextCell", "getLocaleText", "getDocument", "paginationNumberFormatter", "getGroupRowAgg", "isGroupOpenByDefault", "initialGroupOrderComparator", "processPivotResultColDef", "processPivotResultColGroupDef", "getDataPath", "getChildCount", "getServerSideGroupLevelParams", "isServerSideGroupOpenByDefault", "isApplyServerSideTransaction", "isServerSideGroup", "getServerSideGroupKey", "getBusinessKeyForNode", "getRowId", "resetRowDataOnUpdate", "processRowPostCreate", "isRowSelectable", "isRowMaster", "fillOperation", "postSortRows", "getRowStyle", "getRowClass", "getRowHeight", "isFullWidthRow"], outputs: ["toolPanelVisibleChanged", "toolPanelSizeChanged", "columnMenuVisibleChanged", "contextMenuVisibleChanged", "cutStart", "cutEnd", "pasteStart", "pasteEnd", "columnVisible", "columnPinned", "columnResized", "columnMoved", "columnValueChanged", "columnPivotModeChanged", "columnPivotChanged", "columnGroupOpened", "newColumnsLoaded", "gridColumnsChanged", "displayedColumnsChanged", "virtualColumnsChanged", "columnEverythingChanged", "columnHeaderMouseOver", "columnHeaderMouseLeave", "columnHeaderClicked", "columnHeaderContextMenu", "componentStateChanged", "cellValueChanged", "cellEditRequest", "rowValueChanged", "cellEditingStarted", "cellEditingStopped", "rowEditingStarted", "rowEditingStopped", "undoStarted", "undoEnded", "redoStarted", "redoEnded", "cellSelectionDeleteStart", "cellSelectionDeleteEnd", "rangeDeleteStart", "rangeDeleteEnd", "fillStart", "fillEnd", "filterOpened", "filterChanged", "filterModified", "advancedFilterBuilderVisibleChanged", "chartCreated", "chartRangeSelectionChanged", "chartOptionsChanged", "chartDestroyed", "cellKeyDown", "gridReady", "firstDataRendered", "gridSizeChanged", "modelUpdated", "virtualRowRemoved", "viewportChanged", "bodyScroll", "bodyScrollEnd", "dragStarted", "dragStopped", "dragCancelled", "stateUpdated", "paginationChanged", "rowDragEnter", "rowDragMove", "rowDragLeave", "rowDragEnd", "rowDragCancel", "columnRowGroupChanged", "rowGroupOpened", "expandOrCollapseAll", "pivotMaxColumnsExceeded", "pinnedRowDataChanged", "rowDataUpdated", "asyncTransactionsFlushed", "storeRefreshed", "headerFocused", "cellClicked", "cellDoubleClicked", "cellFocused", "cellMouseOver", "cellMouseOut", "cellMouseDown", "rowClicked", "rowDoubleClicked", "rowSelected", "selectionChanged", "cellContextMenu", "rangeSelectionChanged", "cellSelectionChanged", "tooltipShow", "tooltipHide", "sortChanged"] }, { kind: "ngmodule", type: CollapseModule }, { kind: "directive", type: i2$1.CollapseDirective, selector: "[collapse]", inputs: ["display", "isAnimated", "collapse"], outputs: ["collapsed", "collapses", "expanded", "expands"], exportAs: ["bs-collapse"] }, { kind: "ngmodule", type: TabsModule }, { kind: "directive", type: i3.TabDirective, selector: "tab, [tab]", inputs: ["heading", "id", "disabled", "removable", "customClass", "active"], outputs: ["selectTab", "deselect", "removed"], exportAs: ["tab"] }, { kind: "component", type: i3.TabsetComponent, selector: "tabset", inputs: ["vertical", "justified", "type"] }, { kind: "component", type: ColliEreignisseComponent, selector: "lib-colli-ereignisse", inputs: ["colliEvent"] }, { kind: "component", type: SendungEreignisseComponent, selector: "lib-sendung-ereignisse", inputs: ["sendungsereignisse"] }, { kind: "component", type: GefahrgutComponent, selector: "lib-gefahrgut", inputs: ["dangerous_goods"] }, { kind: "component", type: SendungsketteComponent, selector: "lib-sendungskette", inputs: ["sendungskette"] }, { kind: "component", type: DispoDetailComponent, selector: "lib-dispo-detail", inputs: ["dispoDetails"] }, { kind: "component", type: ColliUebersichtComponent, selector: "lib-colli-uebersicht", inputs: ["colliUbersicht"] }] }); }
|
|
1401
1377
|
}
|
|
1402
1378
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SendungInformationComponent, decorators: [{
|
|
1403
1379
|
type: Component,
|
|
@@ -1405,14 +1381,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
|
|
|
1405
1381
|
AgGridAngular,
|
|
1406
1382
|
CollapseModule,
|
|
1407
1383
|
TabsModule,
|
|
1408
|
-
FaIconComponent,
|
|
1409
1384
|
ColliEreignisseComponent,
|
|
1410
1385
|
SendungEreignisseComponent,
|
|
1411
1386
|
GefahrgutComponent,
|
|
1412
1387
|
SendungsketteComponent,
|
|
1413
1388
|
DispoDetailComponent,
|
|
1414
1389
|
ColliUebersichtComponent
|
|
1415
|
-
], template: "<div class=\"card\">\r\n <div class=\"card-body\">\r\n <div style=\"cursor: pointer\" (click)=\"toggleCollapse()\">\r\n <h5 class=\"card-title\">Sendungsinformationen\r\n <
|
|
1390
|
+
], template: "<div class=\"card\">\r\n <div class=\"card-body\">\r\n <div style=\"cursor: pointer\" (click)=\"toggleCollapse()\">\r\n <h5 class=\"card-title\">Sendungsinformationen\r\n <i [hidden]=\"show\" class=\"fa-solid fa-caret-up\"></i>\r\n <i [hidden]=\"!show\" class=\"fa-solid fa-caret-down\"></i>\r\n </h5>\r\n </div>\r\n <div id=\"collapseBasic\" [collapse]=\"!isCollapsed\" [isAnimated]=\"true\">\r\n <ag-grid-angular\r\n style=\"width: 100%; height: 100px;\"\r\n class=\"ag-theme-alpine\"\r\n [columnDefs]=\"columnDef\"\r\n [localeText]=\"locale\"\r\n [defaultColDef]=\"defaultColDef\"\r\n [overlayLoadingTemplate]=\"overlayLoadingTemplate\"\r\n (gridReady)=\"gridReady($event)\"\r\n\r\n >\r\n </ag-grid-angular>\r\n </div>\r\n </div>\r\n</div>\r\n\r\n<div class=\"mt-3\">\r\n <tabset>\r\n <tab heading=\"Colliereignisse\">\r\n <lib-colli-ereignisse [colliEvent]=\"colliEvent$\"></lib-colli-ereignisse>\r\n </tab>\r\n <tab heading=\"Sendungsereignisse\">\r\n <lib-sendung-ereignisse [sendungsereignisse]=\"sendungsereignisse$\"></lib-sendung-ereignisse>\r\n </tab>\r\n <tab heading=\"Gefahrgut\">\r\n <lib-gefahrgut [dangerous_goods]=\"dangerousGoods$\"></lib-gefahrgut>\r\n </tab>\r\n <tab heading=\"Sendungskette\">\r\n <lib-sendungskette [sendungskette]=\"sendungskette$\"></lib-sendungskette>\r\n </tab>\r\n <tab heading=\"Dispositiondetails\">\r\n <lib-dispo-detail [dispoDetails]=\"dispoDetails$\"></lib-dispo-detail>\r\n </tab>\r\n <tab heading=\"Colli\u00FCbersicht\">\r\n <lib-colli-uebersicht [colliUbersicht]=\"colliUbersicht$\"></lib-colli-uebersicht>\r\n </tab>\r\n </tabset>\r\n</div>\r\n", styles: ["@media (min-width:1025px) and (max-width:1300px){#collapseBasic ag-grid-angular{height:400px}}\n"] }]
|
|
1416
1391
|
}], ctorParameters: () => [{ type: FormService }], propDecorators: { sendCorrectedValues: [{
|
|
1417
1392
|
type: Output
|
|
1418
1393
|
}], colliEvent$: [{
|
|
@@ -1475,6 +1450,30 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
|
|
|
1475
1450
|
type: Output
|
|
1476
1451
|
}] } });
|
|
1477
1452
|
|
|
1453
|
+
class SendungButtonsComponent {
|
|
1454
|
+
constructor(formService) {
|
|
1455
|
+
this.formService = formService;
|
|
1456
|
+
}
|
|
1457
|
+
ngOnInit() {
|
|
1458
|
+
this.formService.shipmentInfo.subscribe((shipmentInfo) => {
|
|
1459
|
+
if (shipmentInfo) {
|
|
1460
|
+
console.log('shipmentInfo: ', shipmentInfo);
|
|
1461
|
+
this.showButtons = true;
|
|
1462
|
+
}
|
|
1463
|
+
});
|
|
1464
|
+
}
|
|
1465
|
+
onSubmitSendungMerken() {
|
|
1466
|
+
}
|
|
1467
|
+
onSubmitInfoeintrag() {
|
|
1468
|
+
}
|
|
1469
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SendungButtonsComponent, deps: [{ token: FormService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1470
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: SendungButtonsComponent, isStandalone: true, selector: "lib-sendung-buttons", ngImport: i0, template: "<div class=\"d-flex flex-row\">\r\n<button class=\"btn btn-primary\" (click)=\"onSubmitSendungMerken()\">Sendung merken</button>\r\n<button class=\"btn btn-primary\" (click)=\"onSubmitInfoeintrag()\">Infoeintrag</button>\r\n</div>\r\n", styles: [""] }); }
|
|
1471
|
+
}
|
|
1472
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SendungButtonsComponent, decorators: [{
|
|
1473
|
+
type: Component,
|
|
1474
|
+
args: [{ selector: 'lib-sendung-buttons', standalone: true, imports: [], template: "<div class=\"d-flex flex-row\">\r\n<button class=\"btn btn-primary\" (click)=\"onSubmitSendungMerken()\">Sendung merken</button>\r\n<button class=\"btn btn-primary\" (click)=\"onSubmitInfoeintrag()\">Infoeintrag</button>\r\n</div>\r\n" }]
|
|
1475
|
+
}], ctorParameters: () => [{ type: FormService }] });
|
|
1476
|
+
|
|
1478
1477
|
/*
|
|
1479
1478
|
* Public API Surface of sendung-lib
|
|
1480
1479
|
*/
|
|
@@ -1483,5 +1482,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
|
|
|
1483
1482
|
* Generated bundle index. Do not edit.
|
|
1484
1483
|
*/
|
|
1485
1484
|
|
|
1486
|
-
export { DsSendungKorrekturComponent, SendungInformationComponent, SendungLibComponent, SendungLibService };
|
|
1485
|
+
export { DsSendungKorrekturComponent, SendungButtonsComponent, SendungInformationComponent, SendungLibComponent, SendungLibService };
|
|
1487
1486
|
//# sourceMappingURL=sendung-lib.mjs.map
|