@kms-ngx-ui/presentational 16.3.5 → 16.5.0

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.
Files changed (54) hide show
  1. package/esm2022/lib/directives/sum-of-height.directive.mjs +4 -4
  2. package/esm2022/lib/directives/swipe.directive.mjs +21 -10
  3. package/esm2022/lib/directives/swipe.model.mjs +3 -3
  4. package/esm2022/lib/kms-ngx-ui-presentational.module.mjs +10 -20
  5. package/esm2022/lib/models/iconSize.enum.mjs +3 -3
  6. package/esm2022/lib/models/types/nullable.type.mjs +3 -3
  7. package/esm2022/lib/parent-components/form.component.mjs +3 -3
  8. package/esm2022/lib/pipes/safe-html.pipe.mjs +3 -3
  9. package/esm2022/lib/ui/checkbox/checkbox.component.mjs +18 -14
  10. package/esm2022/lib/ui/confirmation-dialog/confirmation-dialog.component.mjs +49 -0
  11. package/esm2022/lib/ui/confirmation-dialog/dialog-data.enum.mjs +6 -0
  12. package/esm2022/lib/ui/confirmation-dialog/dialog-data.model.mjs +2 -0
  13. package/esm2022/lib/ui/flyout/flyout.component.mjs +4 -4
  14. package/esm2022/lib/ui/icon/iconSize.enum.mjs +3 -3
  15. package/esm2022/lib/ui/image-slider/image-slider.component.mjs +3 -3
  16. package/esm2022/lib/ui/kms-accordion-item/kms-accordion-item.component.mjs +3 -3
  17. package/esm2022/lib/ui/map/map.component.mjs +4 -4
  18. package/esm2022/lib/ui/radiobutton/radiobutton.component.mjs +33 -43
  19. package/esm2022/public-api.mjs +2 -4
  20. package/fesm2022/kms-ngx-ui-presentational.mjs +141 -245
  21. package/fesm2022/kms-ngx-ui-presentational.mjs.map +1 -1
  22. package/lib/directives/sum-of-height.directive.d.ts +2 -2
  23. package/lib/directives/swipe.directive.d.ts +2 -2
  24. package/lib/directives/swipe.model.d.ts +2 -2
  25. package/lib/kms-ngx-ui-presentational.module.d.ts +39 -41
  26. package/lib/models/iconSize.enum.d.ts +2 -2
  27. package/lib/models/types/nullable.type.d.ts +2 -2
  28. package/lib/parent-components/form.component.d.ts +2 -2
  29. package/lib/pipes/safe-html.pipe.d.ts +2 -2
  30. package/lib/ui/checkbox/checkbox.component.d.ts +6 -6
  31. package/lib/ui/confirmation-dialog/confirmation-dialog.component.d.ts +25 -0
  32. package/lib/ui/{button-with-confirm-dialog/button-response-types.enum.d.ts → confirmation-dialog/dialog-data.enum.d.ts} +1 -1
  33. package/lib/ui/confirmation-dialog/dialog-data.model.d.ts +9 -0
  34. package/lib/ui/icon/iconSize.enum.d.ts +2 -2
  35. package/lib/ui/image-slider/image-slider.component.d.ts +2 -2
  36. package/lib/ui/kms-accordion-item/kms-accordion-item.component.d.ts +2 -2
  37. package/lib/ui/map/map.component.d.ts +2 -2
  38. package/lib/ui/radiobutton/radiobutton.component.d.ts +15 -20
  39. package/package.json +2 -2
  40. package/public-api.d.ts +1 -3
  41. package/src/lib/ui/confirmation-dialog/confirmation-dialog.component.scss +47 -0
  42. package/src/lib/ui/radiobutton/radiobutton.component.scss +29 -23
  43. package/src/styles/styles.scss +18 -20
  44. package/esm2022/lib/parent-components/actions.component.mjs +0 -56
  45. package/esm2022/lib/ui/button-with-confirm-dialog/button-response-types.enum.mjs +0 -6
  46. package/esm2022/lib/ui/button-with-confirm-dialog/button-with-confirm-dialog.component.mjs +0 -51
  47. package/esm2022/lib/ui/button-with-confirm-dialog/dialog-data.model.mjs +0 -2
  48. package/esm2022/lib/ui/generic-dialog/generic-dialog.component.mjs +0 -54
  49. package/lib/parent-components/actions.component.d.ts +0 -31
  50. package/lib/ui/button-with-confirm-dialog/button-with-confirm-dialog.component.d.ts +0 -18
  51. package/lib/ui/button-with-confirm-dialog/dialog-data.model.d.ts +0 -9
  52. package/lib/ui/generic-dialog/generic-dialog.component.d.ts +0 -26
  53. package/src/lib/ui/button-with-confirm-dialog/button-with-confirm-dialog.component.scss +0 -3
  54. package/src/lib/ui/generic-dialog/generic-dialog.component.scss +0 -59
@@ -15,29 +15,28 @@ import * as i4 from '@angular/material/input';
15
15
  import { MatInputModule } from '@angular/material/input';
16
16
  import * as i4$1 from '@ngx-translate/core';
17
17
  import { TranslateModule } from '@ngx-translate/core';
18
- import * as i2$3 from '@angular/material/button';
18
+ import * as i3$1 from '@angular/material/button';
19
19
  import { MatButtonModule } from '@angular/material/button';
20
20
  import { trigger, state, style } from '@angular/animations';
21
- import * as i3$1 from '@angular/material/expansion';
21
+ import * as i3$2 from '@angular/material/expansion';
22
22
  import { MatExpansionModule } from '@angular/material/expansion';
23
- import * as i2$4 from '@angular/material/progress-spinner';
23
+ import * as i2$3 from '@angular/material/progress-spinner';
24
24
  import { MatProgressSpinnerModule } from '@angular/material/progress-spinner';
25
25
  import { Subject } from 'rxjs';
26
- import * as i3$2 from '@angular/google-maps';
26
+ import * as i3$3 from '@angular/google-maps';
27
27
  import { GoogleMapsModule } from '@angular/google-maps';
28
- import * as i3$3 from '@angular/material/select';
28
+ import * as i3$4 from '@angular/material/select';
29
29
  import { MatSelectModule } from '@angular/material/select';
30
30
  import * as i4$2 from '@angular/material/core';
31
31
  import { DragDropModule } from '@angular/cdk/drag-drop';
32
32
  import * as i1$2 from '@angular/material/dialog';
33
33
  import { MAT_DIALOG_DATA, MatDialogModule } from '@angular/material/dialog';
34
34
  import { MatMenuModule } from '@angular/material/menu';
35
- import { SubSink } from 'subsink';
36
35
  import { EnumValues } from 'enum-values/src/enumValues';
37
36
  import { register } from 'swiper/element/bundle';
38
37
 
39
- /*!
40
- * @copyright FLYACTS GmbH 2019
38
+ /**
39
+ * @copyright KMS GmbH
41
40
  */
42
41
  // ng
43
42
  /**
@@ -108,8 +107,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
108
107
  type: Output
109
108
  }] } });
110
109
 
111
- /*!
112
- * @copyright FLYACTS GmbH 2019
110
+ /**
111
+ * @copyright KMS GmbH
113
112
  */
114
113
  class SwipeDirective {
115
114
  constructor() {
@@ -154,12 +153,15 @@ class SwipeDirective {
154
153
  */
155
154
  checkThreshold(moveEvent) {
156
155
  const percentage = this._swipeOptions && this._swipeOptions.swipeThresholdType === '%';
157
- if (!percentage && this._swipeOptions && moveEvent.swipeDistanceTotal < this._swipeOptions.swipeThreshold) {
156
+ if (!percentage &&
157
+ this._swipeOptions &&
158
+ moveEvent.swipeDistanceTotal < this._swipeOptions.swipeThreshold) {
158
159
  return;
159
160
  }
160
161
  else if (percentage &&
161
162
  this._swipeOptions &&
162
- moveEvent.swipeDistancePercentage < this._swipeOptions.swipeThreshold / 100) {
163
+ moveEvent.swipeDistancePercentage <
164
+ this._swipeOptions.swipeThreshold / 100) {
163
165
  return;
164
166
  }
165
167
  else {
@@ -173,10 +175,14 @@ class SwipeDirective {
173
175
  if (this._swipeOptions && this._swipeOptions.swipeLocalPosition) {
174
176
  if (this._isMobile) {
175
177
  const touch = event.touches[0];
176
- this._startPosition = this._swipeOptions.swipeLocalPosition ? touch.clientX : touch.pageX;
178
+ this._startPosition = this._swipeOptions.swipeLocalPosition
179
+ ? touch.clientX
180
+ : touch.pageX;
177
181
  }
178
182
  else {
179
- this._startPosition = this._swipeOptions.swipeLocalPosition ? event.offsetX : event.pageX;
183
+ this._startPosition = this._swipeOptions.swipeLocalPosition
184
+ ? event.offsetX
185
+ : event.pageX;
180
186
  }
181
187
  }
182
188
  this._lastPosX = this._startPosition;
@@ -192,10 +198,14 @@ class SwipeDirective {
192
198
  if (this._swipeOptions) {
193
199
  if (this._isMobile && event.type === 'touchmove') {
194
200
  const touch = event.touches[0];
195
- posX = this._swipeOptions.swipeLocalPosition ? touch.clientX : touch.pageX;
201
+ posX = this._swipeOptions.swipeLocalPosition
202
+ ? touch.clientX
203
+ : touch.pageX;
196
204
  }
197
205
  else {
198
- posX = this._swipeOptions.swipeLocalPosition ? event.offsetX : event.pageX;
206
+ posX = this._swipeOptions.swipeLocalPosition
207
+ ? event.offsetX
208
+ : event.pageX;
199
209
  }
200
210
  }
201
211
  const offsetPerFrame = posX - this._lastPosX;
@@ -502,70 +512,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
502
512
  ` }]
503
513
  }], ctorParameters: function () { return []; } });
504
514
 
505
- /*!
506
- * @copyright FLYACTS GmbH 2019
515
+ /**
516
+ * @copyright KMS GmbH
507
517
  */
508
- class ActionsParentComponent {
518
+ class CheckboxComponent {
509
519
  constructor() {
510
- /**
511
- * Defines the disabled property
512
- */
513
- this.disabled = false;
514
- /**
515
- * Set button as selected. F.e. in multiselect component
516
- */
517
520
  this.checked = false;
518
- /**
519
- * Displayed label.
520
- */
521
- this.label = '';
522
- /**
523
- * Link
524
- */
525
- this.link = '';
526
- /**
527
- * Internal value that will be send if a form is submitted.
528
- */
529
- this.initialValue = '';
530
- this.select = new EventEmitter();
531
- }
532
- selectAction(id) {
533
- this.checked = !this.checked;
534
- this.select.emit(id);
535
- }
536
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ActionsParentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
537
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: ActionsParentComponent, selector: "kms-actions", inputs: { disabled: "disabled", checked: "checked", label: "label", link: "link", initialValue: "initialValue" }, outputs: { select: "select" }, ngImport: i0, template: '', isInline: true }); }
538
- }
539
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ActionsParentComponent, decorators: [{
540
- type: Component,
541
- args: [{
542
- selector: 'kms-actions',
543
- template: '',
544
- }]
545
- }], propDecorators: { disabled: [{
546
- type: Input
547
- }], checked: [{
548
- type: Input
549
- }], label: [{
550
- type: Input
551
- }], link: [{
552
- type: Input
553
- }], initialValue: [{
554
- type: Input
555
- }], select: [{
556
- type: Output
557
- }] } });
558
-
559
- /*!
560
- * @copyright FLYACTS GmbH 2019
561
- */
562
- class CheckboxComponent extends ActionsParentComponent {
563
- selectAction(id) {
564
- this.select.emit(id);
565
- this.checked = !this.checked;
566
- }
567
- constructor() {
568
- super();
521
+ this.disabled = false;
569
522
  /**
570
523
  * Internal description name. All checkboxes with the same name belong to the same group.
571
524
  * User can select none, one or all checkboxes with the same name.
@@ -577,6 +530,10 @@ class CheckboxComponent extends ActionsParentComponent {
577
530
  // eslint-disable-next-line @typescript-eslint/no-empty-function
578
531
  this.onTouch = () => { };
579
532
  }
533
+ selectAction(id) {
534
+ this.select.emit(id);
535
+ this.checked = !this.checked;
536
+ }
580
537
  get value() {
581
538
  return this.checked;
582
539
  }
@@ -595,13 +552,13 @@ class CheckboxComponent extends ActionsParentComponent {
595
552
  this.onTouch = fn;
596
553
  }
597
554
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CheckboxComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
598
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: CheckboxComponent, selector: "kms-checkbox", inputs: { infoText: "infoText", name: "name" }, outputs: { select: "select" }, providers: [
555
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: CheckboxComponent, selector: "kms-checkbox", inputs: { infoText: "infoText", checked: "checked", disabled: "disabled", name: "name" }, outputs: { select: "select" }, providers: [
599
556
  {
600
557
  provide: NG_VALUE_ACCESSOR,
601
558
  useExisting: forwardRef(() => CheckboxComponent),
602
559
  multi: true,
603
560
  },
604
- ], usesInheritance: true, ngImport: i0, template: "<!-- <label class=\"wrapper ui-copy-text\"\n [ngClass]=\"{'disabled' : disabled}\">{{label}}\n <input type=\"checkbox\" \n [checked]=\"checked\"\n [value]=\"value\"\n [name]=\"name\"\n [disabled]=\"disabled\"\n (change)=\"selectAction($event)\">\n\n</label> -->\n<mat-checkbox class=\"example-margin\" [disabled]=\"disabled\" [name]=\"name\" [(ngModel)]=\"checked\"></mat-checkbox>\n<span *ngIf=\"infoText && infoText.length > 0\" \n class=\"\"\n [ngClass]=\"{'disabled' : disabled}\">{{infoText}}\n</span>", styles: [""], dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2$1.MatCheckbox, selector: "mat-checkbox", inputs: ["disableRipple", "color", "tabIndex"], exportAs: ["matCheckbox"] }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }] }); }
561
+ ], ngImport: i0, template: "<!-- <label class=\"wrapper ui-copy-text\"\n [ngClass]=\"{'disabled' : disabled}\">{{label}}\n <input type=\"checkbox\" \n [checked]=\"checked\"\n [value]=\"value\"\n [name]=\"name\"\n [disabled]=\"disabled\"\n (change)=\"selectAction($event)\">\n\n</label> -->\n<mat-checkbox class=\"example-margin\" [disabled]=\"disabled\" [name]=\"name\" [(ngModel)]=\"checked\"></mat-checkbox>\n<span *ngIf=\"infoText && infoText.length > 0\" \n class=\"\"\n [ngClass]=\"{'disabled' : disabled}\">{{infoText}}\n</span>", styles: [""], dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2$1.MatCheckbox, selector: "mat-checkbox", inputs: ["disableRipple", "color", "tabIndex"], exportAs: ["matCheckbox"] }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }] }); }
605
562
  }
606
563
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CheckboxComponent, decorators: [{
607
564
  type: Component,
@@ -612,7 +569,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
612
569
  multi: true,
613
570
  },
614
571
  ], template: "<!-- <label class=\"wrapper ui-copy-text\"\n [ngClass]=\"{'disabled' : disabled}\">{{label}}\n <input type=\"checkbox\" \n [checked]=\"checked\"\n [value]=\"value\"\n [name]=\"name\"\n [disabled]=\"disabled\"\n (change)=\"selectAction($event)\">\n\n</label> -->\n<mat-checkbox class=\"example-margin\" [disabled]=\"disabled\" [name]=\"name\" [(ngModel)]=\"checked\"></mat-checkbox>\n<span *ngIf=\"infoText && infoText.length > 0\" \n class=\"\"\n [ngClass]=\"{'disabled' : disabled}\">{{infoText}}\n</span>" }]
615
- }], ctorParameters: function () { return []; }, propDecorators: { infoText: [{
572
+ }], propDecorators: { infoText: [{
573
+ type: Input
574
+ }], checked: [{
575
+ type: Input
576
+ }], disabled: [{
616
577
  type: Input
617
578
  }], name: [{
618
579
  type: Input
@@ -644,8 +605,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
644
605
  }]
645
606
  }], ctorParameters: function () { return [{ type: i2.CurrencyPipe }]; } });
646
607
 
647
- /*!
648
- * @copyright FLYACTS GmbH 2019
608
+ /**
609
+ * @copyright KMS GmbH
649
610
  */
650
611
  class SafeHtmlPipe {
651
612
  constructor(sanitizer) {
@@ -778,8 +739,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
778
739
  }]
779
740
  }] });
780
741
 
781
- /*!
782
- * @copyright FLYACTS GmbH 2019
742
+ /**
743
+ * @copyright KMS GmbH
783
744
  */
784
745
  class FormParentComponent {
785
746
  constructor(formBuilder) {
@@ -930,8 +891,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
930
891
  args: ['child']
931
892
  }] } });
932
893
 
933
- /*!
934
- * @copyright FLYACTS GmbH 2019
894
+ /**
895
+ * @copyright KMS GmbH
935
896
  */
936
897
  var IconSize$1;
937
898
  (function (IconSize) {
@@ -1347,7 +1308,7 @@ class FileInputComponent {
1347
1308
  useExisting: forwardRef(() => FileInputComponent),
1348
1309
  multi: true,
1349
1310
  },
1350
- ], viewQueries: [{ propertyName: "fileInput", first: true, predicate: ["fileInput"], descendants: true }], ngImport: i0, template: "<form [formGroup]=\"form\" (change)=\"newImageLoading=true\" class=\"fileInput\"> \n\n <div *ngIf=\"form.value.Filename && previewImage\">\n <div *ngIf=\"newImageLoading\">\n {{ 'file-input.loading' | translate }}\n </div>\n <div *ngIf=\"!newImageLoading\">\n <div class=\"\">\n <div class=\"\">\n <img *ngIf=\"form.value.ImageLink && form.value.ImageLink !== '' && !(form.value.ImageAsDataURL && form.value.ImageAsDataURL !== '')\" [src]=\"form.value.ImageAsDataURL\" [src]=\"form.value.ImageLink\" style=\"height: 40px; width: fit-content;\" />\n <img *ngIf=\"form.value.ImageAsDataURL && form.value.ImageAsDataURL !== ''\" [src]=\"form.value.ImageAsDataURL\" style=\"height: 40px; width: fit-content;\" />\n </div>\n <div class=\"\">{{form.value.Filename}}</div>\n <div class=\"\">\n <div (click)=\"removeFromList()\" *ngIf=\"allowRemove\">\n <kms-icon icon=\"trash\" [size]=\"IconSizePx.TINY\" iconClass=\"color-black\"></kms-icon> \n {{ 'file-input.remove' }}\n </div>\n </div>\n </div>\n </div>\n </div>\n <div *ngIf=\"!previewImage\">\n <div class=\"\">{{form.value.Filename}}</div>\n </div>\n\n <button (click)=\"selectImageOverlay()\" class=\"button-primary-font-color\" mat-stroked-button>\n <span>{{ label }}</span>\n </button>\n <input\n type=\"file\"\n [accept]=\"acceptedFileMimetypes\"\n style=\"display: none\"\n #fileInput\n (click)=\"clearInputValue($event)\"\n (change)=\"selectImage($event)\"\n />\n\n <input type=\"hidden\" [formControl]=\"form.controls['ImageIdent']\" />\n <input type=\"hidden\" [formControl]=\"form.controls['ImageLink']\" />\n <input type=\"hidden\" [formControl]=\"form.controls['Filename']\" />\n <input type=\"hidden\" [formControl]=\"form.controls['ImageAsDataURL']\" />\n <input type=\"hidden\" [formControl]=\"form.controls['Text']\" />\n\n</form>", styles: [""], dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2$3.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.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.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: SizeDirective, selector: "[size]", inputs: ["size"] }, { kind: "component", type: IconComponent, selector: "kms-icon", inputs: ["icon", "iconClass", "iconStyle", "iconSize", "size", "dontUseSprite"] }, { kind: "pipe", type: i4$1.TranslatePipe, name: "translate" }] }); }
1311
+ ], viewQueries: [{ propertyName: "fileInput", first: true, predicate: ["fileInput"], descendants: true }], ngImport: i0, template: "<form [formGroup]=\"form\" (change)=\"newImageLoading=true\" class=\"fileInput\"> \n\n <div *ngIf=\"form.value.Filename && previewImage\">\n <div *ngIf=\"newImageLoading\">\n {{ 'file-input.loading' | translate }}\n </div>\n <div *ngIf=\"!newImageLoading\">\n <div class=\"\">\n <div class=\"\">\n <img *ngIf=\"form.value.ImageLink && form.value.ImageLink !== '' && !(form.value.ImageAsDataURL && form.value.ImageAsDataURL !== '')\" [src]=\"form.value.ImageAsDataURL\" [src]=\"form.value.ImageLink\" style=\"height: 40px; width: fit-content;\" />\n <img *ngIf=\"form.value.ImageAsDataURL && form.value.ImageAsDataURL !== ''\" [src]=\"form.value.ImageAsDataURL\" style=\"height: 40px; width: fit-content;\" />\n </div>\n <div class=\"\">{{form.value.Filename}}</div>\n <div class=\"\">\n <div (click)=\"removeFromList()\" *ngIf=\"allowRemove\">\n <kms-icon icon=\"trash\" [size]=\"IconSizePx.TINY\" iconClass=\"color-black\"></kms-icon> \n {{ 'file-input.remove' }}\n </div>\n </div>\n </div>\n </div>\n </div>\n <div *ngIf=\"!previewImage\">\n <div class=\"\">{{form.value.Filename}}</div>\n </div>\n\n <button (click)=\"selectImageOverlay()\" class=\"button-primary-font-color\" mat-stroked-button>\n <span>{{ label }}</span>\n </button>\n <input\n type=\"file\"\n [accept]=\"acceptedFileMimetypes\"\n style=\"display: none\"\n #fileInput\n (click)=\"clearInputValue($event)\"\n (change)=\"selectImage($event)\"\n />\n\n <input type=\"hidden\" [formControl]=\"form.controls['ImageIdent']\" />\n <input type=\"hidden\" [formControl]=\"form.controls['ImageLink']\" />\n <input type=\"hidden\" [formControl]=\"form.controls['Filename']\" />\n <input type=\"hidden\" [formControl]=\"form.controls['ImageAsDataURL']\" />\n <input type=\"hidden\" [formControl]=\"form.controls['Text']\" />\n\n</form>", styles: [""], dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i3$1.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.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.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: SizeDirective, selector: "[size]", inputs: ["size"] }, { kind: "component", type: IconComponent, selector: "kms-icon", inputs: ["icon", "iconClass", "iconStyle", "iconSize", "size", "dontUseSprite"] }, { kind: "pipe", type: i4$1.TranslatePipe, name: "translate" }] }); }
1351
1312
  }
1352
1313
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FileInputComponent, decorators: [{
1353
1314
  type: Component,
@@ -1384,8 +1345,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
1384
1345
  type: Output
1385
1346
  }] } });
1386
1347
 
1387
- /*!
1388
- * @copyright FLYACTS GmbH 2019
1348
+ /**
1349
+ * @copyright KMS GmbH
1389
1350
  */
1390
1351
  class FlyoutComponent {
1391
1352
  constructor() {
@@ -1496,8 +1457,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
1496
1457
  args: ['flyoutHeader']
1497
1458
  }] } });
1498
1459
 
1499
- /*!
1500
- * @copyright FLYACTS GmbH 2019
1460
+ /**
1461
+ * @copyright KMS GmbH
1501
1462
  */
1502
1463
  /**
1503
1464
  * A generic dialog component
@@ -1515,7 +1476,7 @@ class KMSAccordionItemComponent {
1515
1476
  }
1516
1477
  ngOnInit() { }
1517
1478
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: KMSAccordionItemComponent, deps: [{ token: i1$1.DomSanitizer }], target: i0.ɵɵFactoryTarget.Component }); }
1518
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: KMSAccordionItemComponent, selector: "kms-accordion-item", inputs: { showAsCard: "showAsCard", isSmall: "isSmall", expanded: "expanded", itemTitle: "itemTitle" }, ngImport: i0, template: "<mat-expansion-panel\n class=\"accordion-item\"\n [ngClass]=\"{showAsCard: showAsCard, showFlat: !showAsCard, isSmall: isSmall}\"\n (opened)=\"panelOpenState = true\"\n (closed)=\"panelOpenState = false\"\n [expanded] = \"expanded\"\n hideToggle=\"true\">\n <mat-expansion-panel-header class=\"accordion-item-header\">\n <mat-panel-title class=\"mat-subheading-2 accordion-item-title\">\n <div [innerHtml]=\"itemTitleTrustHtml\"></div>\n <ng-content select=\"[itemTitleElement]\"></ng-content>\n </mat-panel-title>\n <div class=\"accordion-item-header-icon-wrapper\">\n <kms-icon *ngIf=\"!panelOpenState\" icon=\"ic_plus\" iconClass=\"color-red\" class=\"accordion-item-header-icon-wrapper-desktop\"></kms-icon>\n <kms-icon *ngIf=\"panelOpenState\" icon=\"ic_minus\" iconClass=\"color-red\" class=\"accordion-item-header-icon-wrapper-desktop\"></kms-icon>\n\n <kms-icon *ngIf=\"!panelOpenState\" icon=\"chevron-down\" iconClass=\"color-red\" class=\"accordion-item-header-icon-wrapper-mobile\"></kms-icon>\n <kms-icon *ngIf=\"panelOpenState\" icon=\"chevron-top\" iconClass=\"color-red\" class=\"accordion-item-header-icon-wrapper-mobile\"></kms-icon>\n </div>\n </mat-expansion-panel-header>\n <ng-content></ng-content>\n</mat-expansion-panel>\n", styles: [""], dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i3$1.MatExpansionPanel, selector: "mat-expansion-panel", inputs: ["disabled", "expanded", "hideToggle", "togglePosition"], outputs: ["opened", "closed", "expandedChange", "afterExpand", "afterCollapse"], exportAs: ["matExpansionPanel"] }, { kind: "component", type: i3$1.MatExpansionPanelHeader, selector: "mat-expansion-panel-header", inputs: ["tabIndex", "expandedHeight", "collapsedHeight"] }, { kind: "directive", type: i3$1.MatExpansionPanelTitle, selector: "mat-panel-title" }, { kind: "component", type: IconComponent, selector: "kms-icon", inputs: ["icon", "iconClass", "iconStyle", "iconSize", "size", "dontUseSprite"] }] }); }
1479
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: KMSAccordionItemComponent, selector: "kms-accordion-item", inputs: { showAsCard: "showAsCard", isSmall: "isSmall", expanded: "expanded", itemTitle: "itemTitle" }, ngImport: i0, template: "<mat-expansion-panel\n class=\"accordion-item\"\n [ngClass]=\"{showAsCard: showAsCard, showFlat: !showAsCard, isSmall: isSmall}\"\n (opened)=\"panelOpenState = true\"\n (closed)=\"panelOpenState = false\"\n [expanded] = \"expanded\"\n hideToggle=\"true\">\n <mat-expansion-panel-header class=\"accordion-item-header\">\n <mat-panel-title class=\"mat-subheading-2 accordion-item-title\">\n <div [innerHtml]=\"itemTitleTrustHtml\"></div>\n <ng-content select=\"[itemTitleElement]\"></ng-content>\n </mat-panel-title>\n <div class=\"accordion-item-header-icon-wrapper\">\n <kms-icon *ngIf=\"!panelOpenState\" icon=\"ic_plus\" iconClass=\"color-red\" class=\"accordion-item-header-icon-wrapper-desktop\"></kms-icon>\n <kms-icon *ngIf=\"panelOpenState\" icon=\"ic_minus\" iconClass=\"color-red\" class=\"accordion-item-header-icon-wrapper-desktop\"></kms-icon>\n\n <kms-icon *ngIf=\"!panelOpenState\" icon=\"chevron-down\" iconClass=\"color-red\" class=\"accordion-item-header-icon-wrapper-mobile\"></kms-icon>\n <kms-icon *ngIf=\"panelOpenState\" icon=\"chevron-top\" iconClass=\"color-red\" class=\"accordion-item-header-icon-wrapper-mobile\"></kms-icon>\n </div>\n </mat-expansion-panel-header>\n <ng-content></ng-content>\n</mat-expansion-panel>\n", styles: [""], dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i3$2.MatExpansionPanel, selector: "mat-expansion-panel", inputs: ["disabled", "expanded", "hideToggle", "togglePosition"], outputs: ["opened", "closed", "expandedChange", "afterExpand", "afterCollapse"], exportAs: ["matExpansionPanel"] }, { kind: "component", type: i3$2.MatExpansionPanelHeader, selector: "mat-expansion-panel-header", inputs: ["tabIndex", "expandedHeight", "collapsedHeight"] }, { kind: "directive", type: i3$2.MatExpansionPanelTitle, selector: "mat-panel-title" }, { kind: "component", type: IconComponent, selector: "kms-icon", inputs: ["icon", "iconClass", "iconStyle", "iconSize", "size", "dontUseSprite"] }] }); }
1519
1480
  }
1520
1481
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: KMSAccordionItemComponent, decorators: [{
1521
1482
  type: Component,
@@ -1538,7 +1499,7 @@ class LoaderComponent {
1538
1499
  // eslint-disable-next-line @typescript-eslint/no-empty-function
1539
1500
  ngOnInit() { }
1540
1501
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: LoaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1541
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: LoaderComponent, selector: "kms-loader", inputs: { loading: "loading" }, ngImport: i0, template: "<div class=\"loading-spinner-shade\" *ngIf=\"loading\">\n <mat-spinner class=\"spinnerMargin\" color=\"accent\" diameter=\"44\"></mat-spinner>\n</div>\n", styles: [""], dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2$4.MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "mode", "value", "diameter", "strokeWidth"], exportAs: ["matProgressSpinner"] }] }); }
1502
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: LoaderComponent, selector: "kms-loader", inputs: { loading: "loading" }, ngImport: i0, template: "<div class=\"loading-spinner-shade\" *ngIf=\"loading\">\n <mat-spinner class=\"spinnerMargin\" color=\"accent\" diameter=\"44\"></mat-spinner>\n</div>\n", styles: [""], dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2$3.MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "mode", "value", "diameter", "strokeWidth"], exportAs: ["matProgressSpinner"] }] }); }
1542
1503
  }
1543
1504
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: LoaderComponent, decorators: [{
1544
1505
  type: Component,
@@ -1898,8 +1859,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
1898
1859
  args: [DOCUMENT]
1899
1860
  }] }]; } });
1900
1861
 
1901
- /*!
1902
- * @copyright FLYACTS GmbH 2019
1862
+ /**
1863
+ * @copyright KMS GmbH
1903
1864
  */
1904
1865
  /**
1905
1866
  * MarkerOptions class for Marker
@@ -1953,7 +1914,7 @@ class MapComponent {
1953
1914
  this.geocoder = new google.maps.Geocoder();
1954
1915
  }
1955
1916
  this.geocoder.geocode({
1956
- 'address': address,
1917
+ address: address,
1957
1918
  }, (results, status) => {
1958
1919
  if (status === google.maps.GeocoderStatus.OK) {
1959
1920
  this.center.lat = results[0].geometry.location.lat();
@@ -2000,7 +1961,7 @@ class MapComponent {
2000
1961
  }
2001
1962
  }
2002
1963
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MapComponent, deps: [{ token: ViewportService }], target: i0.ɵɵFactoryTarget.Component }); }
2003
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: MapComponent, selector: "kms-map", inputs: { data: "data" }, ngImport: i0, template: "<div *ngIf=\"geoDataFoundForAddress\">\n <google-map\n height=\"415px\"\n [width]=\"width\"\n [zoom]=\"zoom\"\n [center]=\"center\"\n [options]=\"options\"\n >\n <map-marker\n *ngFor=\"let marker of markers\"\n [position]=\"marker.position\"\n [label]=\"marker.label\"\n [title]=\"marker.title\"\n [options]=\"marker.options\"\n >\n </map-marker>\n </google-map>\n</div>", styles: [""], dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i3$2.GoogleMap, selector: "google-map", inputs: ["height", "width", "mapTypeId", "center", "zoom", "options"], outputs: ["mapInitialized", "authFailure", "boundsChanged", "centerChanged", "mapClick", "mapDblclick", "mapDrag", "mapDragend", "mapDragstart", "headingChanged", "idle", "maptypeidChanged", "mapMousemove", "mapMouseout", "mapMouseover", "projectionChanged", "mapRightclick", "tilesloaded", "tiltChanged", "zoomChanged"], exportAs: ["googleMap"] }, { kind: "directive", type: i3$2.MapMarker, selector: "map-marker", inputs: ["title", "position", "label", "clickable", "options", "icon", "visible"], outputs: ["animationChanged", "mapClick", "clickableChanged", "cursorChanged", "mapDblclick", "mapDrag", "mapDragend", "draggableChanged", "mapDragstart", "flatChanged", "iconChanged", "mapMousedown", "mapMouseout", "mapMouseover", "mapMouseup", "positionChanged", "mapRightclick", "shapeChanged", "titleChanged", "visibleChanged", "zindexChanged"], exportAs: ["mapMarker"] }] }); }
1964
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: MapComponent, selector: "kms-map", inputs: { data: "data" }, ngImport: i0, template: "<div *ngIf=\"geoDataFoundForAddress\">\n <google-map\n height=\"415px\"\n [width]=\"width\"\n [zoom]=\"zoom\"\n [center]=\"center\"\n [options]=\"options\"\n >\n <map-marker\n *ngFor=\"let marker of markers\"\n [position]=\"marker.position\"\n [label]=\"marker.label\"\n [title]=\"marker.title\"\n [options]=\"marker.options\"\n >\n </map-marker>\n </google-map>\n</div>", styles: [""], dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i3$3.GoogleMap, selector: "google-map", inputs: ["height", "width", "mapTypeId", "center", "zoom", "options"], outputs: ["mapInitialized", "authFailure", "boundsChanged", "centerChanged", "mapClick", "mapDblclick", "mapDrag", "mapDragend", "mapDragstart", "headingChanged", "idle", "maptypeidChanged", "mapMousemove", "mapMouseout", "mapMouseover", "projectionChanged", "mapRightclick", "tilesloaded", "tiltChanged", "zoomChanged"], exportAs: ["googleMap"] }, { kind: "directive", type: i3$3.MapMarker, selector: "map-marker", inputs: ["title", "position", "label", "clickable", "options", "icon", "visible"], outputs: ["animationChanged", "mapClick", "clickableChanged", "cursorChanged", "mapDblclick", "mapDrag", "mapDragend", "draggableChanged", "mapDragstart", "flatChanged", "iconChanged", "mapMousedown", "mapMouseout", "mapMouseover", "mapMouseup", "positionChanged", "mapRightclick", "shapeChanged", "titleChanged", "visibleChanged", "zindexChanged"], exportAs: ["mapMarker"] }] }); }
2004
1965
  }
2005
1966
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MapComponent, decorators: [{
2006
1967
  type: Component,
@@ -2009,56 +1970,41 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
2009
1970
  type: Input
2010
1971
  }] } });
2011
1972
 
2012
- /*!
2013
- * @copyright FLYACTS GmbH 2019
1973
+ /**
1974
+ * @copyright KMS GmbH
2014
1975
  */
2015
- class RadioButtonComponent extends ActionsParentComponent {
2016
- selectAction(id) {
2017
- this.select.emit(id);
2018
- this.checked = !this.checked;
2019
- }
1976
+ class RadioButtonComponent {
2020
1977
  constructor() {
2021
- super();
2022
- /**
2023
- * Internal description name. All radio buttons with the same name belong to the same group.
2024
- * User can select exactly one of the radio buttons from the same group.
2025
- */
2026
- this.name = '';
2027
- /**
2028
- * Internal description id. Will be send in the output event when the radio button is selected.
2029
- */
2030
- this.id = '';
2031
- this.radioButtonSize = 16;
2032
- // eslint-disable-next-line @typescript-eslint/no-empty-function
2033
- this.onChange = () => { };
2034
- // eslint-disable-next-line @typescript-eslint/no-empty-function
2035
- this.onTouch = () => { };
2036
- }
2037
- get value() {
2038
- return this.checked;
1978
+ this.label = '';
1979
+ this.checked = false;
1980
+ this.disabled = false;
1981
+ this.size = 'medium';
1982
+ this.color = 'primary';
1983
+ this.onChange = new EventEmitter();
2039
1984
  }
2040
- set value(value) {
2041
- this.checked = value;
2042
- this.onChange(value);
2043
- this.onTouch(value);
1985
+ onRadioChange(event) {
1986
+ this.onChange.emit(event);
2044
1987
  }
2045
1988
  writeValue(value) {
2046
- this.value = value;
1989
+ this.checked = value === this.value;
2047
1990
  }
2048
1991
  registerOnChange(fn) {
2049
1992
  this.onChange = fn;
2050
1993
  }
2051
1994
  registerOnTouched(fn) {
2052
- this.onTouch = fn;
1995
+ this.onChange = fn;
1996
+ }
1997
+ setDisabledState(isDisabled) {
1998
+ this.disabled = isDisabled;
2053
1999
  }
2054
2000
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RadioButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
2055
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: RadioButtonComponent, selector: "kms-radiobutton", inputs: { name: "name", id: "id", radioButtonSize: "radioButtonSize", formControl: "formControl" }, providers: [
2001
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: RadioButtonComponent, selector: "kms-radiobutton", inputs: { label: "label", checked: "checked", disabled: "disabled", value: "value", size: "size", color: "color" }, outputs: { onChange: "onChange" }, providers: [
2056
2002
  {
2057
2003
  provide: NG_VALUE_ACCESSOR,
2058
2004
  useExisting: forwardRef(() => RadioButtonComponent),
2059
2005
  multi: true,
2060
2006
  },
2061
- ], usesInheritance: true, ngImport: i0, template: "<label class=\"wrapper ui-small-text\"\n [ngClass]=\"{'disabled' : disabled}\">\n <input type=\"radio\"\n [name]=\"name\"\n [value]=\"value\"\n [checked]=\"checked\"\n [disabled]=\"disabled\"\n [id]=\"id\"\n (change)=\"selectAction($event)\">{{label}}\n\n <kms-icon\n class=\"checkmark\" \n aria-hidden=\"true\"\n *ngIf=\"checked\"\n [ngClass]=\"{\n 'disabled' : disabled\n }\"\n [iconClass]=\"{\n 'disabled' : disabled, \n 'color-primary': true\n }\"\n [icon]=\"'ic_radiobutton_active'\"\n [size]=\"radioButtonSize\"\n >\n </kms-icon>\n <kms-icon\n class=\"checkmark\" \n aria-hidden=\"true\"\n *ngIf=\"!checked\"\n [ngClass]=\"{\n 'disabled' : disabled\n }\"\n [iconClass]=\"{\n 'disabled' : disabled, \n 'color-primary': true\n }\"\n [icon]=\"'ic_radiobutton_inactive'\"\n [size]=\"radioButtonSize\"\n >\n </kms-icon>\n <ng-content></ng-content>\n</label>\n", styles: [""], dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: SizeDirective, selector: "[size]", inputs: ["size"] }, { kind: "component", type: IconComponent, selector: "kms-icon", inputs: ["icon", "iconClass", "iconStyle", "iconSize", "size", "dontUseSprite"] }] }); }
2007
+ ], ngImport: i0, template: "<mat-radio-button\n [disabled]=\"disabled\"\n [checked]=\"checked\"\n [ngClass]=\"size\"\n [color]=\"color\"\n [value]=\"value\"\n (change)=\"onChange.emit($event)\"\n ngDefaultControl\n>\n {{ label }}\n</mat-radio-button>\n", styles: [""], dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: i2$2.MatRadioButton, selector: "mat-radio-button", inputs: ["disableRipple", "tabIndex"], exportAs: ["matRadioButton"] }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }] }); }
2062
2008
  }
2063
2009
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RadioButtonComponent, decorators: [{
2064
2010
  type: Component,
@@ -2068,15 +2014,21 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
2068
2014
  useExisting: forwardRef(() => RadioButtonComponent),
2069
2015
  multi: true,
2070
2016
  },
2071
- ], template: "<label class=\"wrapper ui-small-text\"\n [ngClass]=\"{'disabled' : disabled}\">\n <input type=\"radio\"\n [name]=\"name\"\n [value]=\"value\"\n [checked]=\"checked\"\n [disabled]=\"disabled\"\n [id]=\"id\"\n (change)=\"selectAction($event)\">{{label}}\n\n <kms-icon\n class=\"checkmark\" \n aria-hidden=\"true\"\n *ngIf=\"checked\"\n [ngClass]=\"{\n 'disabled' : disabled\n }\"\n [iconClass]=\"{\n 'disabled' : disabled, \n 'color-primary': true\n }\"\n [icon]=\"'ic_radiobutton_active'\"\n [size]=\"radioButtonSize\"\n >\n </kms-icon>\n <kms-icon\n class=\"checkmark\" \n aria-hidden=\"true\"\n *ngIf=\"!checked\"\n [ngClass]=\"{\n 'disabled' : disabled\n }\"\n [iconClass]=\"{\n 'disabled' : disabled, \n 'color-primary': true\n }\"\n [icon]=\"'ic_radiobutton_inactive'\"\n [size]=\"radioButtonSize\"\n >\n </kms-icon>\n <ng-content></ng-content>\n</label>\n" }]
2072
- }], ctorParameters: function () { return []; }, propDecorators: { name: [{
2017
+ ], template: "<mat-radio-button\n [disabled]=\"disabled\"\n [checked]=\"checked\"\n [ngClass]=\"size\"\n [color]=\"color\"\n [value]=\"value\"\n (change)=\"onChange.emit($event)\"\n ngDefaultControl\n>\n {{ label }}\n</mat-radio-button>\n" }]
2018
+ }], propDecorators: { label: [{
2019
+ type: Input
2020
+ }], checked: [{
2021
+ type: Input
2022
+ }], disabled: [{
2073
2023
  type: Input
2074
- }], id: [{
2024
+ }], value: [{
2075
2025
  type: Input
2076
- }], radioButtonSize: [{
2026
+ }], size: [{
2077
2027
  type: Input
2078
- }], formControl: [{
2028
+ }], color: [{
2079
2029
  type: Input
2030
+ }], onChange: [{
2031
+ type: Output
2080
2032
  }] } });
2081
2033
 
2082
2034
  // TODO change values after cleaned up database
@@ -2117,7 +2069,7 @@ class SalutationDropdownComponent extends FormControlParentComponent {
2117
2069
  useExisting: forwardRef(() => SalutationDropdownComponent),
2118
2070
  multi: true,
2119
2071
  },
2120
- ], usesInheritance: true, ngImport: i0, template: "<form [formGroup]=\"form\" class=\"row\">\n <mat-form-field class=\"col\">\n <mat-select disableOptionCentering [formControl]=\"form.controls['salut']\" [placeholder]=\"placeholder\" [value]=\"value\" #child>\n <mat-option [value]=\"SalutationEnum.NOT_SPECIFIED\">{{ 'general.salutation.' + Object.keys(SalutationEnum)[0]?.toLowerCase() | translate }}</mat-option>\n <mat-option [value]=\"SalutationEnum.MALE\">{{ 'general.salutation.' + Object.keys(SalutationEnum)[1]?.toLowerCase() | translate }}</mat-option>\n <mat-option [value]=\"SalutationEnum.FEMALE\">{{ 'general.salutation.' + Object.keys(SalutationEnum)[2]?.toLowerCase() | translate }}</mat-option>\n </mat-select>\n </mat-form-field>\n</form>", dependencies: [{ kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "component", type: i3.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "component", type: i3$3.MatSelect, selector: "mat-select", inputs: ["disabled", "disableRipple", "tabIndex", "panelWidth", "hideSingleSelectionIndicator"], exportAs: ["matSelect"] }, { kind: "component", type: i4$2.MatOption, selector: "mat-option", exportAs: ["matOption"] }, { kind: "pipe", type: i4$1.TranslatePipe, name: "translate" }] }); }
2072
+ ], usesInheritance: true, ngImport: i0, template: "<form [formGroup]=\"form\" class=\"row\">\n <mat-form-field class=\"col\">\n <mat-select disableOptionCentering [formControl]=\"form.controls['salut']\" [placeholder]=\"placeholder\" [value]=\"value\" #child>\n <mat-option [value]=\"SalutationEnum.NOT_SPECIFIED\">{{ 'general.salutation.' + Object.keys(SalutationEnum)[0]?.toLowerCase() | translate }}</mat-option>\n <mat-option [value]=\"SalutationEnum.MALE\">{{ 'general.salutation.' + Object.keys(SalutationEnum)[1]?.toLowerCase() | translate }}</mat-option>\n <mat-option [value]=\"SalutationEnum.FEMALE\">{{ 'general.salutation.' + Object.keys(SalutationEnum)[2]?.toLowerCase() | translate }}</mat-option>\n </mat-select>\n </mat-form-field>\n</form>", dependencies: [{ kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "component", type: i3.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "component", type: i3$4.MatSelect, selector: "mat-select", inputs: ["disabled", "disableRipple", "tabIndex", "panelWidth", "hideSingleSelectionIndicator"], exportAs: ["matSelect"] }, { kind: "component", type: i4$2.MatOption, selector: "mat-option", exportAs: ["matOption"] }, { kind: "pipe", type: i4$1.TranslatePipe, name: "translate" }] }); }
2121
2073
  }
2122
2074
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SalutationDropdownComponent, decorators: [{
2123
2075
  type: Component,
@@ -2332,57 +2284,26 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
2332
2284
  args: ['window:scroll', []]
2333
2285
  }] } });
2334
2286
 
2335
- /*!
2336
- * @copyright FLYACTS GmbH 2019
2337
- */
2338
-
2339
- /**
2340
- * Attached File DTO
2341
- */
2342
- class AttachedFileDTO {
2343
- }
2344
-
2345
- /*!
2346
- * @copyright FLYACTS GmbH 2019
2347
- */
2348
- var IconSize;
2349
- (function (IconSize) {
2350
- IconSize["FULLSIZE"] = "size-full";
2351
- IconSize["TINY"] = "size-16";
2352
- IconSize["SMALLER"] = "size-20";
2353
- IconSize["SMALL"] = "size-32";
2354
- IconSize["MEDIUM"] = "size-64";
2355
- IconSize["LARGE"] = "size-128";
2356
- IconSize["XL"] = "size-256";
2357
- IconSize["XXL"] = "size-512";
2358
- IconSize["XXXL"] = "size-1024";
2359
- IconSize["NONE"] = "NONE";
2360
- })(IconSize || (IconSize = {}));
2361
-
2362
- var ButtonResponseType;
2363
- (function (ButtonResponseType) {
2364
- ButtonResponseType["primary"] = "primary";
2365
- ButtonResponseType["secondary"] = "secondary";
2366
- })(ButtonResponseType || (ButtonResponseType = {}));
2287
+ var ButtonDialogType;
2288
+ (function (ButtonDialogType) {
2289
+ ButtonDialogType["primary"] = "primary";
2290
+ ButtonDialogType["secondary"] = "secondary";
2291
+ })(ButtonDialogType || (ButtonDialogType = {}));
2367
2292
 
2368
2293
  /**
2369
2294
  * @copyright KMS GmbH
2370
2295
  */
2371
2296
  /**
2372
- * A generic dialog component
2297
+ * A confirmation dialog component
2373
2298
  */
2374
- class GenericDialogComponent {
2299
+ class ConfirmationDialogComponent {
2375
2300
  constructor(dialogRef, zone, data) {
2376
2301
  this.dialogRef = dialogRef;
2377
2302
  this.zone = zone;
2378
2303
  this.data = data;
2379
- this.ButtonResponseType = ButtonResponseType;
2380
- if (isValue(data.buttons)) {
2381
- this.buttons = data.buttons;
2382
- }
2383
- else {
2384
- this.buttons = { primary: 'Yes', secondary: 'No' };
2385
- }
2304
+ this.ButtonDialogType = ButtonDialogType;
2305
+ data.buttons ?? { primary: 'Yes', secondary: 'No' };
2306
+ data.pannelClass ||= 'confirmation-dialog';
2386
2307
  }
2387
2308
  /**
2388
2309
  * Action called when clicked
@@ -2401,61 +2322,17 @@ class GenericDialogComponent {
2401
2322
  });
2402
2323
  });
2403
2324
  }
2404
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GenericDialogComponent, deps: [{ token: i1$2.MatDialogRef }, { token: i0.NgZone }, { token: MAT_DIALOG_DATA }], target: i0.ɵɵFactoryTarget.Component }); }
2405
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: GenericDialogComponent, selector: "kms-generic-dialog", ngImport: i0, template: "<div mat-dialog-title class=\"mat-dialog-title\">\n <h3>{{ data.title }}</h3>\n</div>\n<div mat-dialog-content class=\"mat-dialog-content\">\n {{ data.message }}\n</div>\n<div mat-dialog-actions class=\"custom-dialog-actions\">\n <button\n mat-flat-button\n class=\"test_secondary_button\"\n color=\"accent\"\n (click)=\"onClickAction(ButtonResponseType.secondary)\"\n >\n {{ buttons.secondary }}\n </button>\n <button\n mat-flat-button\n class=\"test_primary_button\"\n color=\"primary\"\n (click)=\"onClickAction(ButtonResponseType.primary)\"\n >\n {{ buttons.primary }}\n </button>\n</div>\n", styles: [""], dependencies: [{ kind: "component", type: i2$3.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "directive", type: i1$2.MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { kind: "directive", type: i1$2.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "directive", type: i1$2.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }] }); }
2325
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ConfirmationDialogComponent, deps: [{ token: i1$2.MatDialogRef }, { token: i0.NgZone }, { token: MAT_DIALOG_DATA }], target: i0.ɵɵFactoryTarget.Component }); }
2326
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: ConfirmationDialogComponent, selector: "kms-confirmation-dialog", ngImport: i0, template: "<div class=\"dialog-container\">\n <div class=\"dialog-header\">\n <h4>{{ data.title }}</h4>\n </div>\n <div class=\"dialog-content\">\n {{ data.message }}\n </div>\n <div class=\"dialog-footer\">\n <button\n mat-flat-button\n color=\"accent\"\n (click)=\"onClickAction(ButtonDialogType.secondary)\"\n >\n {{ data.buttons.secondary }}\n </button>\n <button\n mat-flat-button\n color=\"primary\"\n (click)=\"onClickAction(ButtonDialogType.primary)\"\n >\n {{ data.buttons.primary }}\n </button>\n </div>\n</div>\n", styles: [""], dependencies: [{ kind: "component", type: i3$1.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }] }); }
2406
2327
  }
2407
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GenericDialogComponent, decorators: [{
2328
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ConfirmationDialogComponent, decorators: [{
2408
2329
  type: Component,
2409
- args: [{ selector: 'kms-generic-dialog', template: "<div mat-dialog-title class=\"mat-dialog-title\">\n <h3>{{ data.title }}</h3>\n</div>\n<div mat-dialog-content class=\"mat-dialog-content\">\n {{ data.message }}\n</div>\n<div mat-dialog-actions class=\"custom-dialog-actions\">\n <button\n mat-flat-button\n class=\"test_secondary_button\"\n color=\"accent\"\n (click)=\"onClickAction(ButtonResponseType.secondary)\"\n >\n {{ buttons.secondary }}\n </button>\n <button\n mat-flat-button\n class=\"test_primary_button\"\n color=\"primary\"\n (click)=\"onClickAction(ButtonResponseType.primary)\"\n >\n {{ buttons.primary }}\n </button>\n</div>\n" }]
2330
+ args: [{ selector: 'kms-confirmation-dialog', template: "<div class=\"dialog-container\">\n <div class=\"dialog-header\">\n <h4>{{ data.title }}</h4>\n </div>\n <div class=\"dialog-content\">\n {{ data.message }}\n </div>\n <div class=\"dialog-footer\">\n <button\n mat-flat-button\n color=\"accent\"\n (click)=\"onClickAction(ButtonDialogType.secondary)\"\n >\n {{ data.buttons.secondary }}\n </button>\n <button\n mat-flat-button\n color=\"primary\"\n (click)=\"onClickAction(ButtonDialogType.primary)\"\n >\n {{ data.buttons.primary }}\n </button>\n </div>\n</div>\n" }]
2410
2331
  }], ctorParameters: function () { return [{ type: i1$2.MatDialogRef }, { type: i0.NgZone }, { type: undefined, decorators: [{
2411
2332
  type: Inject,
2412
2333
  args: [MAT_DIALOG_DATA]
2413
2334
  }] }]; } });
2414
2335
 
2415
- class ButtonWithConfirmDialogComponent {
2416
- // eslint-disable-next-line @typescript-eslint/no-empty-function
2417
- constructor(dialog) {
2418
- this.dialog = dialog;
2419
- // Outputs when dialogue was closed. Returns true, if yes was clicked, false otherwise
2420
- this.onConfirmClosed = new EventEmitter();
2421
- this.subs = new SubSink();
2422
- }
2423
- start() {
2424
- const data = {
2425
- title: this.confirmTitle,
2426
- buttons: {
2427
- primary: this.confirmTextYes,
2428
- secondary: this.confirmTextNo,
2429
- }
2430
- };
2431
- const dialogRef = this.dialog.open(GenericDialogComponent, {
2432
- data: data,
2433
- });
2434
- this.subs.sink = dialogRef.afterClosed().subscribe(result => {
2435
- this.onConfirmClosed.emit(result === ButtonResponseType.primary);
2436
- dialogRef.close();
2437
- });
2438
- }
2439
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ButtonWithConfirmDialogComponent, deps: [{ token: i1$2.MatDialog }], target: i0.ɵɵFactoryTarget.Component }); }
2440
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: ButtonWithConfirmDialogComponent, selector: "kms-button-with-confirm-dialog", inputs: { disabled: "disabled", buttonText: "buttonText", confirmTitle: "confirmTitle", confirmTextYes: "confirmTextYes", confirmTextNo: "confirmTextNo" }, outputs: { onConfirmClosed: "onConfirmClosed" }, ngImport: i0, template: "<button\n type=\"button\"\n (click)=\"start()\"\n mat-stroked-button\n [disabled]=\"disabled\"\n>\n {{ buttonText }}\n</button>\n", styles: [""], dependencies: [{ kind: "component", type: i2$3.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }] }); }
2441
- }
2442
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ButtonWithConfirmDialogComponent, decorators: [{
2443
- type: Component,
2444
- args: [{ selector: 'kms-button-with-confirm-dialog', template: "<button\n type=\"button\"\n (click)=\"start()\"\n mat-stroked-button\n [disabled]=\"disabled\"\n>\n {{ buttonText }}\n</button>\n" }]
2445
- }], ctorParameters: function () { return [{ type: i1$2.MatDialog }]; }, propDecorators: { disabled: [{
2446
- type: Input
2447
- }], buttonText: [{
2448
- type: Input
2449
- }], confirmTitle: [{
2450
- type: Input
2451
- }], confirmTextYes: [{
2452
- type: Input
2453
- }], confirmTextNo: [{
2454
- type: Input
2455
- }], onConfirmClosed: [{
2456
- type: Output
2457
- }] } });
2458
-
2459
2336
  /**
2460
2337
  * Dropdown from data component {@link https://leaseplan-dev.rentoffice.de/styleguide#ui-elements}
2461
2338
  */
@@ -2569,7 +2446,7 @@ class DropdownFromDataComponent extends FormControlParentComponent {
2569
2446
  useExisting: forwardRef(() => DropdownFromDataComponent),
2570
2447
  multi: true,
2571
2448
  },
2572
- ], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "<form [formGroup]=\"form\">\n <mat-form-field\n [attr.required]=\"required\"\n [floatLabel]=\"placeholder ? 'always' : 'auto'\"\n >\n <mat-label>{{ label }}</mat-label>\n <mat-select\n placeholder=\"{{ placeholder }}\"\n disableOptionCentering\n [(value)]=\"control?.value ? control.value : value\"\n (selectionChange)=\"valueChanged($event?.value)\"\n #child\n [disabled]=\"disabled\"\n [multiple]=\"multiple\"\n >\n <mat-option *ngFor=\"let key of keys; let i = index\" [value]=\"values[i]\">\n <span *ngIf=\"(hasNullOption && i != 0) || !hasNullOption\">{{\n setDisplayKey(key)\n }}</span>\n </mat-option>\n </mat-select>\n </mat-form-field>\n</form>\n", dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "component", type: i3.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i3.MatLabel, selector: "mat-label" }, { kind: "component", type: i3$3.MatSelect, selector: "mat-select", inputs: ["disabled", "disableRipple", "tabIndex", "panelWidth", "hideSingleSelectionIndicator"], exportAs: ["matSelect"] }, { kind: "component", type: i4$2.MatOption, selector: "mat-option", exportAs: ["matOption"] }] }); }
2449
+ ], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "<form [formGroup]=\"form\">\n <mat-form-field\n [attr.required]=\"required\"\n [floatLabel]=\"placeholder ? 'always' : 'auto'\"\n >\n <mat-label>{{ label }}</mat-label>\n <mat-select\n placeholder=\"{{ placeholder }}\"\n disableOptionCentering\n [(value)]=\"control?.value ? control.value : value\"\n (selectionChange)=\"valueChanged($event?.value)\"\n #child\n [disabled]=\"disabled\"\n [multiple]=\"multiple\"\n >\n <mat-option *ngFor=\"let key of keys; let i = index\" [value]=\"values[i]\">\n <span *ngIf=\"(hasNullOption && i != 0) || !hasNullOption\">{{\n setDisplayKey(key)\n }}</span>\n </mat-option>\n </mat-select>\n </mat-form-field>\n</form>\n", dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "component", type: i3.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i3.MatLabel, selector: "mat-label" }, { kind: "component", type: i3$4.MatSelect, selector: "mat-select", inputs: ["disabled", "disableRipple", "tabIndex", "panelWidth", "hideSingleSelectionIndicator"], exportAs: ["matSelect"] }, { kind: "component", type: i4$2.MatOption, selector: "mat-option", exportAs: ["matOption"] }] }); }
2573
2450
  }
2574
2451
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DropdownFromDataComponent, decorators: [{
2575
2452
  type: Component,
@@ -2608,8 +2485,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
2608
2485
  type: Input
2609
2486
  }] } });
2610
2487
 
2611
- /*!
2612
- * @copyright FLYACTS GmbH 2019
2488
+ /**
2489
+ * @copyright KMS GmbH
2613
2490
  */
2614
2491
  register();
2615
2492
  class ImageSliderComponent {
@@ -2636,6 +2513,33 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
2636
2513
  type: Output
2637
2514
  }] } });
2638
2515
 
2516
+ /**
2517
+ * @copyright KMS GmbH
2518
+ */
2519
+
2520
+ /**
2521
+ * Attached File DTO
2522
+ */
2523
+ class AttachedFileDTO {
2524
+ }
2525
+
2526
+ /**
2527
+ * @copyright KMS GmbH
2528
+ */
2529
+ var IconSize;
2530
+ (function (IconSize) {
2531
+ IconSize["FULLSIZE"] = "size-full";
2532
+ IconSize["TINY"] = "size-16";
2533
+ IconSize["SMALLER"] = "size-20";
2534
+ IconSize["SMALL"] = "size-32";
2535
+ IconSize["MEDIUM"] = "size-64";
2536
+ IconSize["LARGE"] = "size-128";
2537
+ IconSize["XL"] = "size-256";
2538
+ IconSize["XXL"] = "size-512";
2539
+ IconSize["XXXL"] = "size-1024";
2540
+ IconSize["NONE"] = "NONE";
2541
+ })(IconSize || (IconSize = {}));
2542
+
2639
2543
  class SalutationRadiogroupComponent extends FormControlParentComponent {
2640
2544
  constructor(formBuilder, renderer) {
2641
2545
  super(formBuilder, renderer);
@@ -2692,9 +2596,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
2692
2596
 
2693
2597
  class KmsUiPresentationalModule {
2694
2598
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: KmsUiPresentationalModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
2695
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: KmsUiPresentationalModule, declarations: [ActionsParentComponent,
2696
- BackToTopComponent,
2697
- ButtonWithConfirmDialogComponent,
2599
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: KmsUiPresentationalModule, declarations: [BackToTopComponent,
2698
2600
  CheckboxComponent,
2699
2601
  ColorInputComponent,
2700
2602
  DropdownFromDataComponent,
@@ -2702,7 +2604,7 @@ class KmsUiPresentationalModule {
2702
2604
  EnumRadiogroupComponent,
2703
2605
  FileInputComponent,
2704
2606
  FlyoutComponent,
2705
- GenericDialogComponent,
2607
+ ConfirmationDialogComponent,
2706
2608
  IconComponent,
2707
2609
  ImageSliderComponent,
2708
2610
  KMSAccordionItemComponent,
@@ -2732,9 +2634,7 @@ class KmsUiPresentationalModule {
2732
2634
  MatSelectModule,
2733
2635
  MatProgressSpinnerModule,
2734
2636
  DirectivesModule,
2735
- TranslateModule], exports: [ActionsParentComponent,
2736
- BackToTopComponent,
2737
- ButtonWithConfirmDialogComponent,
2637
+ TranslateModule], exports: [BackToTopComponent,
2738
2638
  CheckboxComponent,
2739
2639
  ColorInputComponent,
2740
2640
  DropdownFromDataComponent,
@@ -2742,7 +2642,7 @@ class KmsUiPresentationalModule {
2742
2642
  EnumRadiogroupComponent,
2743
2643
  FileInputComponent,
2744
2644
  FlyoutComponent,
2745
- GenericDialogComponent,
2645
+ ConfirmationDialogComponent,
2746
2646
  IconComponent,
2747
2647
  ImageSliderComponent,
2748
2648
  KMSAccordionItemComponent,
@@ -2779,9 +2679,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
2779
2679
  type: NgModule,
2780
2680
  args: [{
2781
2681
  declarations: [
2782
- ActionsParentComponent,
2783
2682
  BackToTopComponent,
2784
- ButtonWithConfirmDialogComponent,
2785
2683
  CheckboxComponent,
2786
2684
  ColorInputComponent,
2787
2685
  DropdownFromDataComponent,
@@ -2789,7 +2687,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
2789
2687
  EnumRadiogroupComponent,
2790
2688
  FileInputComponent,
2791
2689
  FlyoutComponent,
2792
- GenericDialogComponent,
2690
+ ConfirmationDialogComponent,
2793
2691
  IconComponent,
2794
2692
  ImageSliderComponent,
2795
2693
  KMSAccordionItemComponent,
@@ -2802,7 +2700,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
2802
2700
  TimeInputComponent,
2803
2701
  TooltipIconComponent,
2804
2702
  YesNoRadiogroupComponent,
2805
- TooltipComponent
2703
+ TooltipComponent,
2806
2704
  ],
2807
2705
  imports: [
2808
2706
  CommonModule,
@@ -2825,9 +2723,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
2825
2723
  TranslateModule,
2826
2724
  ],
2827
2725
  exports: [
2828
- ActionsParentComponent,
2829
2726
  BackToTopComponent,
2830
- ButtonWithConfirmDialogComponent,
2831
2727
  CheckboxComponent,
2832
2728
  ColorInputComponent,
2833
2729
  DropdownFromDataComponent,
@@ -2835,7 +2731,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
2835
2731
  EnumRadiogroupComponent,
2836
2732
  FileInputComponent,
2837
2733
  FlyoutComponent,
2838
- GenericDialogComponent,
2734
+ ConfirmationDialogComponent,
2839
2735
  IconComponent,
2840
2736
  ImageSliderComponent,
2841
2737
  KMSAccordionItemComponent,
@@ -2848,7 +2744,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
2848
2744
  TimeInputComponent,
2849
2745
  TooltipIconComponent,
2850
2746
  YesNoRadiogroupComponent,
2851
- TooltipComponent
2747
+ TooltipComponent,
2852
2748
  ],
2853
2749
  providers: [ViewportService],
2854
2750
  schemas: [CUSTOM_ELEMENTS_SCHEMA],
@@ -2875,5 +2771,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
2875
2771
  * Generated bundle index. Do not edit.
2876
2772
  */
2877
2773
 
2878
- export { ActionsParentComponent, BackToTopComponent, Breakpoint, ButtonWithConfirmDialogComponent, CheckboxComponent, ColorInputComponent, CustomPipesModule, DirectivesModule, DropdownFromDataComponent, EnumRadiogroupComponent, FileInputComponent, FlyoutComponent, FormParentComponent, GenericDialogComponent, GetMaxHeightDirective, IconComponent, IconSize, ImageSliderComponent, IntegerCurrency, KMSAccordionItemComponent, KmsUiPresentationalComponent, KmsUiPresentationalModule, KmsUiPresentationalService, LoaderComponent, MapComponent, Marker, MarkerLabel, MarkerOptions, RadioButtonComponent, SafeHtmlPipe, SafeResourceUrlPipe, SafeUrlPipe, SalutationDropdownComponent, SalutationEnum, SalutationRadiogroupComponent, SimpleBreakpoint, SizeDirective, SwipeDirective, TimeInputComponent, TooltipComponent, TooltipDirective, TooltipIconComponent, TrimPipe, TypeofPipe, ViewportService, WindowDimensions, YesNoRadiogroupComponent };
2774
+ export { BackToTopComponent, Breakpoint, CheckboxComponent, ColorInputComponent, ConfirmationDialogComponent, CustomPipesModule, DirectivesModule, DropdownFromDataComponent, EnumRadiogroupComponent, FileInputComponent, FlyoutComponent, FormParentComponent, GetMaxHeightDirective, IconComponent, IconSize, ImageSliderComponent, IntegerCurrency, KMSAccordionItemComponent, KmsUiPresentationalComponent, KmsUiPresentationalModule, KmsUiPresentationalService, LoaderComponent, MapComponent, Marker, MarkerLabel, MarkerOptions, RadioButtonComponent, SafeHtmlPipe, SafeResourceUrlPipe, SafeUrlPipe, SalutationDropdownComponent, SalutationEnum, SalutationRadiogroupComponent, SimpleBreakpoint, SizeDirective, SwipeDirective, TimeInputComponent, TooltipComponent, TooltipDirective, TooltipIconComponent, TrimPipe, TypeofPipe, ViewportService, WindowDimensions, YesNoRadiogroupComponent };
2879
2775
  //# sourceMappingURL=kms-ngx-ui-presentational.mjs.map