@igo2/geo 16.0.1 → 16.0.2

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.
@@ -17157,7 +17157,7 @@ const PrintPaperFormat = strEnum([
17157
17157
  'Legal'
17158
17158
  ]);
17159
17159
  const PrintOrientation = strEnum(['landscape', 'portrait']);
17160
- const PrintResolution = strEnum(['72', '96', '150', '300']);
17160
+ const PrintResolution = strEnum(['72', '96', '150']); // For now, we remove the 300 dpi because there is too much instability on iOS and slow device.
17161
17161
  const PrintSaveImageFormat = strEnum([
17162
17162
  'Bmp',
17163
17163
  'Gif',
@@ -18350,7 +18350,7 @@ function PrintFormComponent_mat_option_70_Template(rf, ctx) { if (rf & 1) {
18350
18350
  i0.ɵɵadvance(1);
18351
18351
  i0.ɵɵtextInterpolate1(" ", imageFormat_r15.value, " ");
18352
18352
  } }
18353
- function PrintFormComponent_mat_option_79_Template(rf, ctx) { if (rf & 1) {
18353
+ function PrintFormComponent_mat_option_80_Template(rf, ctx) { if (rf & 1) {
18354
18354
  i0.ɵɵelementStart(0, "mat-option", 20);
18355
18355
  i0.ɵɵtext(1);
18356
18356
  i0.ɵɵelementEnd();
@@ -18358,9 +18358,9 @@ function PrintFormComponent_mat_option_79_Template(rf, ctx) { if (rf & 1) {
18358
18358
  const resolution_r16 = ctx.$implicit;
18359
18359
  i0.ɵɵproperty("value", resolution_r16.key);
18360
18360
  i0.ɵɵadvance(1);
18361
- i0.ɵɵtextInterpolate1(" ", resolution_r16.value + " PPI", " ");
18361
+ i0.ɵɵtextInterpolate1(" ", resolution_r16.value, " ");
18362
18362
  } }
18363
- function PrintFormComponent_mat_option_88_Template(rf, ctx) { if (rf & 1) {
18363
+ function PrintFormComponent_mat_option_89_Template(rf, ctx) { if (rf & 1) {
18364
18364
  i0.ɵɵelementStart(0, "mat-option", 20);
18365
18365
  i0.ɵɵtext(1);
18366
18366
  i0.ɵɵpipe(2, "translate");
@@ -18600,7 +18600,7 @@ class PrintFormComponent {
18600
18600
  this.commentField.updateValueAndValidity();
18601
18601
  }
18602
18602
  static ɵfac = function PrintFormComponent_Factory(t) { return new (t || PrintFormComponent)(i0.ɵɵdirectiveInject(i2$1.UntypedFormBuilder)); };
18603
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PrintFormComponent, selectors: [["igo-print-form"]], inputs: { disabled$: "disabled$", imageFormat: "imageFormat", outputFormat: "outputFormat", paperFormat: "paperFormat", orientation: "orientation", resolution: "resolution", legendPosition: "legendPosition", title: "title", subtitle: "subtitle", comment: "comment", showProjection: "showProjection", showScale: "showScale", showLegend: "showLegend", doZipFile: "doZipFile" }, outputs: { submit: "submit" }, decls: 95, vars: 102, consts: [[1, "igo-form", 3, "formGroup"], [1, "igo-input-container"], ["matInput", "", "formControlName", "title", 3, "placeholder"], [4, "ngIf"], ["matInput", "", "formControlName", "subtitle", 3, "placeholder"], ["matInput", "", "formControlName", "comment", 3, "placeholder"], [1, "igo-input-container", "slide-toggle-container"], [1, "print-slide-toggle-container"], ["formControlName", "showProjection", 1, "print-option", 3, "labelPosition"], ["formControlName", "showScale", 1, "print-option", 3, "labelPosition"], ["formControlName", "doZipFile", 1, "print-option", 3, "labelPosition"], ["formControlName", "legendPosition", 3, "placeholder"], [3, "value", 4, "ngFor", "ngForOf"], ["formControlName", "outputFormat", 3, "placeholder", "selectionChange"], ["formControlName", "paperFormat", 3, "placeholder", "selectionChange"], ["formControlName", "imageFormat", 3, "placeholder"], ["formControlName", "resolution", 3, "placeholder"], ["formControlName", "orientation", 3, "placeholder", "selectionChange"], [1, "igo-form-button-group", "print-button-top-padding"], ["mat-raised-button", "", "type", "button", 3, "disabled", "click"], [3, "value"]], template: function PrintFormComponent_Template(rf, ctx) { if (rf & 1) {
18603
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PrintFormComponent, selectors: [["igo-print-form"]], inputs: { disabled$: "disabled$", imageFormat: "imageFormat", outputFormat: "outputFormat", paperFormat: "paperFormat", orientation: "orientation", resolution: "resolution", legendPosition: "legendPosition", title: "title", subtitle: "subtitle", comment: "comment", showProjection: "showProjection", showScale: "showScale", showLegend: "showLegend", doZipFile: "doZipFile" }, outputs: { submit: "submit" }, decls: 96, vars: 105, consts: [[1, "igo-form", 3, "formGroup"], [1, "igo-input-container"], ["matInput", "", "formControlName", "title", 3, "placeholder"], [4, "ngIf"], ["matInput", "", "formControlName", "subtitle", 3, "placeholder"], ["matInput", "", "formControlName", "comment", 3, "placeholder"], [1, "igo-input-container", "slide-toggle-container"], [1, "print-slide-toggle-container"], ["formControlName", "showProjection", 1, "print-option", 3, "labelPosition"], ["formControlName", "showScale", 1, "print-option", 3, "labelPosition"], ["formControlName", "doZipFile", 1, "print-option", 3, "labelPosition"], ["formControlName", "legendPosition", 3, "placeholder"], [3, "value", 4, "ngFor", "ngForOf"], ["formControlName", "outputFormat", 3, "placeholder", "selectionChange"], ["formControlName", "paperFormat", 3, "placeholder", "selectionChange"], ["formControlName", "imageFormat", 3, "placeholder"], ["formControlName", "resolution", 3, "placeholder"], ["formControlName", "orientation", 3, "placeholder", "selectionChange"], [1, "igo-form-button-group", "print-button-top-padding"], ["mat-raised-button", "", "type", "button", 3, "disabled", "click"], [3, "value"]], template: function PrintFormComponent_Template(rf, ctx) { if (rf & 1) {
18604
18604
  i0.ɵɵelementStart(0, "form", 0)(1, "div", 1)(2, "mat-form-field")(3, "mat-label");
18605
18605
  i0.ɵɵtext(4);
18606
18606
  i0.ɵɵpipe(5, "translate");
@@ -18678,112 +18678,113 @@ class PrintFormComponent {
18678
18678
  i0.ɵɵelementStart(72, "div", 1)(73, "mat-form-field")(74, "mat-label");
18679
18679
  i0.ɵɵtext(75);
18680
18680
  i0.ɵɵpipe(76, "translate");
18681
+ i0.ɵɵpipe(77, "translate");
18681
18682
  i0.ɵɵelementEnd();
18682
- i0.ɵɵelementStart(77, "mat-select", 16);
18683
- i0.ɵɵpipe(78, "translate");
18684
- i0.ɵɵtemplate(79, PrintFormComponent_mat_option_79_Template, 2, 2, "mat-option", 12);
18685
- i0.ɵɵpipe(80, "keyvalue");
18683
+ i0.ɵɵelementStart(78, "mat-select", 16);
18684
+ i0.ɵɵpipe(79, "translate");
18685
+ i0.ɵɵtemplate(80, PrintFormComponent_mat_option_80_Template, 2, 2, "mat-option", 12);
18686
+ i0.ɵɵpipe(81, "keyvalue");
18686
18687
  i0.ɵɵelementEnd()()();
18687
- i0.ɵɵelementStart(81, "div", 1)(82, "mat-form-field")(83, "mat-label");
18688
- i0.ɵɵtext(84);
18689
- i0.ɵɵpipe(85, "translate");
18688
+ i0.ɵɵelementStart(82, "div", 1)(83, "mat-form-field")(84, "mat-label");
18689
+ i0.ɵɵtext(85);
18690
+ i0.ɵɵpipe(86, "translate");
18690
18691
  i0.ɵɵelementEnd();
18691
- i0.ɵɵelementStart(86, "mat-select", 17);
18692
- i0.ɵɵlistener("selectionChange", function PrintFormComponent_Template_mat_select_selectionChange_86_listener() { return ctx.changeCommentLength(); });
18693
- i0.ɵɵpipe(87, "translate");
18694
- i0.ɵɵtemplate(88, PrintFormComponent_mat_option_88_Template, 3, 4, "mat-option", 12);
18695
- i0.ɵɵpipe(89, "keyvalue");
18692
+ i0.ɵɵelementStart(87, "mat-select", 17);
18693
+ i0.ɵɵlistener("selectionChange", function PrintFormComponent_Template_mat_select_selectionChange_87_listener() { return ctx.changeCommentLength(); });
18694
+ i0.ɵɵpipe(88, "translate");
18695
+ i0.ɵɵtemplate(89, PrintFormComponent_mat_option_89_Template, 3, 4, "mat-option", 12);
18696
+ i0.ɵɵpipe(90, "keyvalue");
18696
18697
  i0.ɵɵelementEnd()()();
18697
- i0.ɵɵelementStart(90, "div", 18)(91, "button", 19);
18698
- i0.ɵɵlistener("click", function PrintFormComponent_Template_button_click_91_listener() { return ctx.handleFormSubmit(ctx.form.value, ctx.form.valid); });
18699
- i0.ɵɵpipe(92, "async");
18700
- i0.ɵɵtext(93);
18701
- i0.ɵɵpipe(94, "translate");
18698
+ i0.ɵɵelementStart(91, "div", 18)(92, "button", 19);
18699
+ i0.ɵɵlistener("click", function PrintFormComponent_Template_button_click_92_listener() { return ctx.handleFormSubmit(ctx.form.value, ctx.form.valid); });
18700
+ i0.ɵɵpipe(93, "async");
18701
+ i0.ɵɵtext(94);
18702
+ i0.ɵɵpipe(95, "translate");
18702
18703
  i0.ɵɵelementEnd()()();
18703
18704
  } if (rf & 2) {
18704
18705
  i0.ɵɵproperty("formGroup", ctx.form);
18705
18706
  i0.ɵɵadvance(4);
18706
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(5, 44, "igo.geo.printForm.title"));
18707
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(5, 45, "igo.geo.printForm.title"));
18707
18708
  i0.ɵɵadvance(2);
18708
- i0.ɵɵpropertyInterpolate("placeholder", i0.ɵɵpipeBind1(7, 46, "igo.geo.printForm.title"));
18709
+ i0.ɵɵpropertyInterpolate("placeholder", i0.ɵɵpipeBind1(7, 47, "igo.geo.printForm.title"));
18709
18710
  i0.ɵɵadvance(2);
18710
18711
  i0.ɵɵproperty("ngIf", ctx.titleField.errors == null ? null : ctx.titleField.errors.maxlength);
18711
18712
  i0.ɵɵadvance(4);
18712
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(13, 48, "igo.geo.printForm.subtitle"));
18713
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(13, 49, "igo.geo.printForm.subtitle"));
18713
18714
  i0.ɵɵadvance(2);
18714
- i0.ɵɵpropertyInterpolate("placeholder", i0.ɵɵpipeBind1(15, 50, "igo.geo.printForm.subtitle"));
18715
+ i0.ɵɵpropertyInterpolate("placeholder", i0.ɵɵpipeBind1(15, 51, "igo.geo.printForm.subtitle"));
18715
18716
  i0.ɵɵadvance(2);
18716
18717
  i0.ɵɵproperty("ngIf", ctx.subtitleField.errors == null ? null : ctx.subtitleField.errors.maxlength);
18717
18718
  i0.ɵɵadvance(4);
18718
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(21, 52, "igo.geo.printForm.comment"));
18719
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(21, 53, "igo.geo.printForm.comment"));
18719
18720
  i0.ɵɵadvance(2);
18720
- i0.ɵɵpropertyInterpolate("placeholder", i0.ɵɵpipeBind1(23, 54, "igo.geo.printForm.comment"));
18721
+ i0.ɵɵpropertyInterpolate("placeholder", i0.ɵɵpipeBind1(23, 55, "igo.geo.printForm.comment"));
18721
18722
  i0.ɵɵadvance(2);
18722
18723
  i0.ɵɵproperty("ngIf", ctx.commentField.errors == null ? null : ctx.commentField.errors.maxlength);
18723
18724
  i0.ɵɵadvance(3);
18724
18725
  i0.ɵɵproperty("labelPosition", "before");
18725
18726
  i0.ɵɵadvance(1);
18726
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(29, 56, "igo.geo.printForm.showProjection"), " ");
18727
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(29, 57, "igo.geo.printForm.showProjection"), " ");
18727
18728
  i0.ɵɵadvance(2);
18728
18729
  i0.ɵɵproperty("labelPosition", "before");
18729
18730
  i0.ɵɵadvance(1);
18730
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(32, 58, "igo.geo.printForm.showScale"), " ");
18731
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(32, 59, "igo.geo.printForm.showScale"), " ");
18731
18732
  i0.ɵɵadvance(2);
18732
18733
  i0.ɵɵstyleProp("display", ctx.isPrintService ? "none" : "");
18733
18734
  i0.ɵɵproperty("labelPosition", "before");
18734
18735
  i0.ɵɵadvance(1);
18735
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(35, 60, "igo.geo.printForm.doZipFile"), " ");
18736
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(35, 61, "igo.geo.printForm.doZipFile"), " ");
18736
18737
  i0.ɵɵadvance(5);
18737
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(40, 62, "igo.geo.printForm.legendPosition"));
18738
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(40, 63, "igo.geo.printForm.legendPosition"));
18738
18739
  i0.ɵɵadvance(2);
18739
- i0.ɵɵpropertyInterpolate("placeholder", i0.ɵɵpipeBind1(42, 64, "igo.geo.printForm.legendPosition"));
18740
+ i0.ɵɵpropertyInterpolate("placeholder", i0.ɵɵpipeBind1(42, 65, "igo.geo.printForm.legendPosition"));
18740
18741
  i0.ɵɵadvance(2);
18741
- i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind1(44, 66, ctx.legendPositions));
18742
+ i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind1(44, 67, ctx.legendPositions));
18742
18743
  i0.ɵɵadvance(5);
18743
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(49, 68, "igo.geo.printForm.outputFormat"));
18744
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(49, 69, "igo.geo.printForm.outputFormat"));
18744
18745
  i0.ɵɵadvance(2);
18745
- i0.ɵɵpropertyInterpolate("placeholder", i0.ɵɵpipeBind1(51, 70, "igo.geo.printForm.outputFormat"));
18746
+ i0.ɵɵpropertyInterpolate("placeholder", i0.ɵɵpipeBind1(51, 71, "igo.geo.printForm.outputFormat"));
18746
18747
  i0.ɵɵadvance(2);
18747
- i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind1(53, 72, ctx.outputFormats));
18748
+ i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind1(53, 73, ctx.outputFormats));
18748
18749
  i0.ɵɵadvance(2);
18749
18750
  i0.ɵɵstyleProp("display", ctx.isPrintService ? "block" : "none");
18750
18751
  i0.ɵɵadvance(3);
18751
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(58, 74, "igo.geo.printForm.paperFormat"));
18752
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(58, 75, "igo.geo.printForm.paperFormat"));
18752
18753
  i0.ɵɵadvance(2);
18753
- i0.ɵɵpropertyInterpolate("placeholder", i0.ɵɵpipeBind1(60, 76, "igo.geo.printForm.paperFormat"));
18754
+ i0.ɵɵpropertyInterpolate("placeholder", i0.ɵɵpipeBind1(60, 77, "igo.geo.printForm.paperFormat"));
18754
18755
  i0.ɵɵadvance(2);
18755
- i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind1(62, 78, ctx.paperFormats));
18756
+ i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind1(62, 79, ctx.paperFormats));
18756
18757
  i0.ɵɵadvance(2);
18757
18758
  i0.ɵɵstyleProp("display", ctx.isPrintService ? "none" : "block");
18758
18759
  i0.ɵɵadvance(3);
18759
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(67, 80, "igo.geo.printForm.imageFormat"));
18760
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(67, 81, "igo.geo.printForm.imageFormat"));
18760
18761
  i0.ɵɵadvance(2);
18761
- i0.ɵɵpropertyInterpolate("placeholder", i0.ɵɵpipeBind1(69, 82, "igo.geo.printForm.imageFormat"));
18762
+ i0.ɵɵpropertyInterpolate("placeholder", i0.ɵɵpipeBind1(69, 83, "igo.geo.printForm.imageFormat"));
18762
18763
  i0.ɵɵadvance(2);
18763
- i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind1(71, 84, ctx.imageFormats));
18764
+ i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind1(71, 85, ctx.imageFormats));
18764
18765
  i0.ɵɵadvance(5);
18765
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(76, 86, "igo.geo.printForm.resolution"));
18766
- i0.ɵɵadvance(2);
18767
- i0.ɵɵpropertyInterpolate("placeholder", i0.ɵɵpipeBind1(78, 88, "igo.geo.printForm.resolution"));
18766
+ i0.ɵɵtextInterpolate2("", i0.ɵɵpipeBind1(76, 87, "igo.geo.printForm.resolution"), " (", i0.ɵɵpipeBind1(77, 89, "igo.geo.printForm.resolutionUnit"), ")");
18767
+ i0.ɵɵadvance(3);
18768
+ i0.ɵɵpropertyInterpolate("placeholder", i0.ɵɵpipeBind1(79, 91, "igo.geo.printForm.resolution"));
18768
18769
  i0.ɵɵadvance(2);
18769
- i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind1(80, 90, ctx.resolutions));
18770
+ i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind1(81, 93, ctx.resolutions));
18770
18771
  i0.ɵɵadvance(2);
18771
18772
  i0.ɵɵstyleProp("display", ctx.isPrintService ? "block" : "none");
18772
18773
  i0.ɵɵadvance(3);
18773
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(85, 92, "igo.geo.printForm.orientation"));
18774
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(86, 95, "igo.geo.printForm.orientation"));
18774
18775
  i0.ɵɵadvance(2);
18775
- i0.ɵɵpropertyInterpolate("placeholder", i0.ɵɵpipeBind1(87, 94, "igo.geo.printForm.orientation"));
18776
+ i0.ɵɵpropertyInterpolate("placeholder", i0.ɵɵpipeBind1(88, 97, "igo.geo.printForm.orientation"));
18776
18777
  i0.ɵɵadvance(2);
18777
- i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind1(89, 96, ctx.orientations));
18778
+ i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind1(90, 99, ctx.orientations));
18778
18779
  i0.ɵɵadvance(3);
18779
- i0.ɵɵproperty("disabled", !ctx.form.valid || i0.ɵɵpipeBind1(92, 98, ctx.disabled$));
18780
+ i0.ɵɵproperty("disabled", !ctx.form.valid || i0.ɵɵpipeBind1(93, 101, ctx.disabled$));
18780
18781
  i0.ɵɵadvance(2);
18781
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(94, 100, "igo.geo.printForm.saveBtn"), " ");
18782
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(95, 103, "igo.geo.printForm.saveBtn"), " ");
18782
18783
  } }, dependencies: [i1$1.NgForOf, i1$1.NgIf, i2$1.ɵNgNoValidate, i2$1.DefaultValueAccessor, i2$1.NgControlStatus, i2$1.NgControlStatusGroup, i2$1.FormGroupDirective, i2$1.FormControlName, i3.MatButton, i13.MatFormField, i13.MatLabel, i13.MatError, i15.MatSelect, i11.MatOption, i14.MatInput, i23.MatSlideToggle, i1$1.AsyncPipe, i7.TranslatePipe, i5$1.KeyValuePipe], styles: ["[_nghost-%COMP%] mat-form-field[_ngcontent-%COMP%]{width:100%}[_nghost-%COMP%] .slide-toggle-container[_ngcontent-%COMP%]{margin-bottom:16px}[_nghost-%COMP%] .print-slide-toggle-container[_ngcontent-%COMP%] mat-slide-toggle[_ngcontent-%COMP%]{width:100%;padding:0 8px}[_nghost-%COMP%] .print-slide-toggle-container[_ngcontent-%COMP%] mat-slide-toggle[_ngcontent-%COMP%] .mdc-form-field{width:100%}[_nghost-%COMP%] .print-slide-toggle-container[_ngcontent-%COMP%] mat-slide-toggle[_ngcontent-%COMP%] .mdc-label{margin-left:0;width:calc(100% - 60px)}[_nghost-%COMP%] .print-option[_ngcontent-%COMP%]{display:block;margin-bottom:12px}[_nghost-%COMP%] .igo-form[_ngcontent-%COMP%]{padding:10px 5px 5px}[_nghost-%COMP%] .igo-form-button-group[_ngcontent-%COMP%]{text-align:center}"] });
18783
18784
  }
18784
18785
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PrintFormComponent, [{
18785
18786
  type: Component,
18786
- args: [{ selector: 'igo-print-form', template: "<form class=\"igo-form\" [formGroup]=\"form\">\r\n <div class=\"igo-input-container\">\r\n <mat-form-field>\r\n <mat-label>{{ 'igo.geo.printForm.title' | translate }}</mat-label>\r\n <input\r\n matInput\r\n formControlName=\"title\"\r\n placeholder=\"{{ 'igo.geo.printForm.title' | translate }}\"\r\n />\r\n <mat-error *ngIf=\"titleField.errors?.maxlength\">{{\r\n 'igo.geo.formValidation.maxLength'\r\n | translate\r\n : {\r\n column: 'igo.geo.printForm.title' | translate,\r\n value: 130\r\n }\r\n }}</mat-error>\r\n </mat-form-field>\r\n </div>\r\n <div class=\"igo-input-container\">\r\n <mat-form-field>\r\n <mat-label>{{ 'igo.geo.printForm.subtitle' | translate }}</mat-label>\r\n <input\r\n matInput\r\n formControlName=\"subtitle\"\r\n placeholder=\"{{ 'igo.geo.printForm.subtitle' | translate }}\"\r\n />\r\n <mat-error *ngIf=\"subtitleField.errors?.maxlength\">{{\r\n 'igo.geo.formValidation.maxLength'\r\n | translate\r\n : {\r\n column: 'igo.geo.printForm.subtitle' | translate,\r\n value: 120\r\n }\r\n }}</mat-error>\r\n </mat-form-field>\r\n </div>\r\n <div class=\"igo-input-container\">\r\n <mat-form-field>\r\n <mat-label>{{ 'igo.geo.printForm.comment' | translate }}</mat-label>\r\n <input\r\n matInput\r\n formControlName=\"comment\"\r\n placeholder=\"{{ 'igo.geo.printForm.comment' | translate }}\"\r\n />\r\n <mat-error *ngIf=\"commentField.errors?.maxlength\">{{\r\n 'igo.geo.formValidation.maxLength'\r\n | translate\r\n : {\r\n column: 'igo.geo.printForm.comment' | translate,\r\n value: maxLength\r\n }\r\n }}</mat-error>\r\n </mat-form-field>\r\n </div>\r\n\r\n <div class=\"igo-input-container slide-toggle-container\">\r\n <div class=\"print-slide-toggle-container\">\r\n <mat-slide-toggle\r\n class=\"print-option\"\r\n formControlName=\"showProjection\"\r\n [labelPosition]=\"'before'\"\r\n >\r\n {{ 'igo.geo.printForm.showProjection' | translate }}\r\n </mat-slide-toggle>\r\n <mat-slide-toggle\r\n class=\"print-option\"\r\n formControlName=\"showScale\"\r\n [labelPosition]=\"'before'\"\r\n >\r\n {{ 'igo.geo.printForm.showScale' | translate }}\r\n </mat-slide-toggle>\r\n <mat-slide-toggle\r\n class=\"print-option\"\r\n formControlName=\"doZipFile\"\r\n [labelPosition]=\"'before'\"\r\n [style.display]=\"isPrintService ? 'none' : ''\"\r\n >\r\n {{ 'igo.geo.printForm.doZipFile' | translate }}\r\n </mat-slide-toggle>\r\n </div>\r\n </div>\r\n\r\n <div class=\"igo-input-container\">\r\n <mat-form-field>\r\n <mat-label>{{\r\n 'igo.geo.printForm.legendPosition' | translate\r\n }}</mat-label>\r\n <mat-select\r\n formControlName=\"legendPosition\"\r\n placeholder=\"{{ 'igo.geo.printForm.legendPosition' | translate }}\"\r\n >\r\n <mat-option\r\n *ngFor=\"let legendPosition of legendPositions | keyvalue\"\r\n [value]=\"legendPosition.key\"\r\n >\r\n <ng-container\r\n *ngIf=\"!['newpage', 'newimage'].includes(legendPosition.value)\"\r\n >\r\n {{\r\n 'igo.geo.printForm.legendPositions.' + legendPosition.value\r\n | translate\r\n }}\r\n </ng-container>\r\n\r\n <ng-container\r\n *ngIf=\"['newpage', 'newimage'].includes(legendPosition.value)\"\r\n >\r\n {{\r\n (outputFormat === 'Pdf'\r\n ? 'igo.geo.printForm.legendPositions.newpage'\r\n : 'igo.geo.printForm.legendPositions.newimage'\r\n ) | translate\r\n }}\r\n </ng-container>\r\n </mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n </div>\r\n\r\n <div class=\"igo-input-container\">\r\n <mat-form-field>\r\n <mat-label>{{ 'igo.geo.printForm.outputFormat' | translate }}</mat-label>\r\n <mat-select\r\n (selectionChange)=\"toggleImageSaveProp()\"\r\n formControlName=\"outputFormat\"\r\n placeholder=\"{{ 'igo.geo.printForm.outputFormat' | translate }}\"\r\n >\r\n <mat-option\r\n *ngFor=\"let outputFormat of outputFormats | keyvalue\"\r\n [value]=\"outputFormat.key\"\r\n >\r\n {{ outputFormat.value }}\r\n </mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n </div>\r\n\r\n <div\r\n class=\"igo-input-container\"\r\n [style.display]=\"isPrintService ? 'block' : 'none'\"\r\n >\r\n <mat-form-field>\r\n <mat-label>{{ 'igo.geo.printForm.paperFormat' | translate }}</mat-label>\r\n <mat-select\r\n (selectionChange)=\"changeCommentLength()\"\r\n formControlName=\"paperFormat\"\r\n placeholder=\"{{ 'igo.geo.printForm.paperFormat' | translate }}\"\r\n >\r\n <mat-option\r\n *ngFor=\"let paperFormat of paperFormats | keyvalue\"\r\n [value]=\"paperFormat.key\"\r\n >\r\n {{\r\n 'igo.geo.printForm.paperFormats.' + paperFormat.value | translate\r\n }}\r\n </mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n </div>\r\n\r\n <div\r\n class=\"igo-input-container\"\r\n [style.display]=\"isPrintService ? 'none' : 'block'\"\r\n >\r\n <mat-form-field>\r\n <mat-label>{{ 'igo.geo.printForm.imageFormat' | translate }}</mat-label>\r\n <mat-select\r\n formControlName=\"imageFormat\"\r\n placeholder=\"{{ 'igo.geo.printForm.imageFormat' | translate }}\"\r\n >\r\n <mat-option\r\n *ngFor=\"let imageFormat of imageFormats | keyvalue\"\r\n [value]=\"imageFormat.key\"\r\n >\r\n {{ imageFormat.value }}\r\n </mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n </div>\r\n\r\n <div class=\"igo-input-container\">\r\n <mat-form-field>\r\n <mat-label>{{ 'igo.geo.printForm.resolution' | translate }}</mat-label>\r\n <mat-select\r\n formControlName=\"resolution\"\r\n placeholder=\"{{ 'igo.geo.printForm.resolution' | translate }}\"\r\n >\r\n <mat-option\r\n *ngFor=\"let resolution of resolutions | keyvalue\"\r\n [value]=\"resolution.key\"\r\n >\r\n {{ resolution.value + ' PPI' }}\r\n </mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n </div>\r\n\r\n <div\r\n class=\"igo-input-container\"\r\n [style.display]=\"isPrintService ? 'block' : 'none'\"\r\n >\r\n <mat-form-field>\r\n <mat-label>{{ 'igo.geo.printForm.orientation' | translate }}</mat-label>\r\n <mat-select\r\n (selectionChange)=\"changeCommentLength()\"\r\n formControlName=\"orientation\"\r\n placeholder=\"{{ 'igo.geo.printForm.orientation' | translate }}\"\r\n >\r\n <mat-option\r\n *ngFor=\"let orientation of orientations | keyvalue\"\r\n [value]=\"orientation.key\"\r\n >\r\n {{ 'igo.geo.printForm.' + orientation.value | translate }}\r\n </mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n </div>\r\n\r\n <div class=\"igo-form-button-group print-button-top-padding\">\r\n <button\r\n mat-raised-button\r\n type=\"button\"\r\n [disabled]=\"!form.valid || (disabled$ | async)\"\r\n (click)=\"handleFormSubmit(form.value, form.valid)\"\r\n >\r\n {{ 'igo.geo.printForm.saveBtn' | translate }}\r\n </button>\r\n </div>\r\n</form>\r\n", styles: [":host mat-form-field{width:100%}:host .slide-toggle-container{margin-bottom:16px}:host .print-slide-toggle-container mat-slide-toggle{width:100%;padding:0 8px}:host .print-slide-toggle-container mat-slide-toggle ::ng-deep .mdc-form-field{width:100%}:host .print-slide-toggle-container mat-slide-toggle ::ng-deep .mdc-label{margin-left:0;width:calc(100% - 60px)}:host .print-option{display:block;margin-bottom:12px}:host .igo-form{padding:10px 5px 5px}:host .igo-form-button-group{text-align:center}\n"] }]
18787
+ args: [{ selector: 'igo-print-form', template: "<form class=\"igo-form\" [formGroup]=\"form\">\r\n <div class=\"igo-input-container\">\r\n <mat-form-field>\r\n <mat-label>{{ 'igo.geo.printForm.title' | translate }}</mat-label>\r\n <input\r\n matInput\r\n formControlName=\"title\"\r\n placeholder=\"{{ 'igo.geo.printForm.title' | translate }}\"\r\n />\r\n <mat-error *ngIf=\"titleField.errors?.maxlength\">{{\r\n 'igo.geo.formValidation.maxLength'\r\n | translate\r\n : {\r\n column: 'igo.geo.printForm.title' | translate,\r\n value: 130\r\n }\r\n }}</mat-error>\r\n </mat-form-field>\r\n </div>\r\n <div class=\"igo-input-container\">\r\n <mat-form-field>\r\n <mat-label>{{ 'igo.geo.printForm.subtitle' | translate }}</mat-label>\r\n <input\r\n matInput\r\n formControlName=\"subtitle\"\r\n placeholder=\"{{ 'igo.geo.printForm.subtitle' | translate }}\"\r\n />\r\n <mat-error *ngIf=\"subtitleField.errors?.maxlength\">{{\r\n 'igo.geo.formValidation.maxLength'\r\n | translate\r\n : {\r\n column: 'igo.geo.printForm.subtitle' | translate,\r\n value: 120\r\n }\r\n }}</mat-error>\r\n </mat-form-field>\r\n </div>\r\n <div class=\"igo-input-container\">\r\n <mat-form-field>\r\n <mat-label>{{ 'igo.geo.printForm.comment' | translate }}</mat-label>\r\n <input\r\n matInput\r\n formControlName=\"comment\"\r\n placeholder=\"{{ 'igo.geo.printForm.comment' | translate }}\"\r\n />\r\n <mat-error *ngIf=\"commentField.errors?.maxlength\">{{\r\n 'igo.geo.formValidation.maxLength'\r\n | translate\r\n : {\r\n column: 'igo.geo.printForm.comment' | translate,\r\n value: maxLength\r\n }\r\n }}</mat-error>\r\n </mat-form-field>\r\n </div>\r\n\r\n <div class=\"igo-input-container slide-toggle-container\">\r\n <div class=\"print-slide-toggle-container\">\r\n <mat-slide-toggle\r\n class=\"print-option\"\r\n formControlName=\"showProjection\"\r\n [labelPosition]=\"'before'\"\r\n >\r\n {{ 'igo.geo.printForm.showProjection' | translate }}\r\n </mat-slide-toggle>\r\n <mat-slide-toggle\r\n class=\"print-option\"\r\n formControlName=\"showScale\"\r\n [labelPosition]=\"'before'\"\r\n >\r\n {{ 'igo.geo.printForm.showScale' | translate }}\r\n </mat-slide-toggle>\r\n <mat-slide-toggle\r\n class=\"print-option\"\r\n formControlName=\"doZipFile\"\r\n [labelPosition]=\"'before'\"\r\n [style.display]=\"isPrintService ? 'none' : ''\"\r\n >\r\n {{ 'igo.geo.printForm.doZipFile' | translate }}\r\n </mat-slide-toggle>\r\n </div>\r\n </div>\r\n\r\n <div class=\"igo-input-container\">\r\n <mat-form-field>\r\n <mat-label>{{\r\n 'igo.geo.printForm.legendPosition' | translate\r\n }}</mat-label>\r\n <mat-select\r\n formControlName=\"legendPosition\"\r\n placeholder=\"{{ 'igo.geo.printForm.legendPosition' | translate }}\"\r\n >\r\n <mat-option\r\n *ngFor=\"let legendPosition of legendPositions | keyvalue\"\r\n [value]=\"legendPosition.key\"\r\n >\r\n <ng-container\r\n *ngIf=\"!['newpage', 'newimage'].includes(legendPosition.value)\"\r\n >\r\n {{\r\n 'igo.geo.printForm.legendPositions.' + legendPosition.value\r\n | translate\r\n }}\r\n </ng-container>\r\n\r\n <ng-container\r\n *ngIf=\"['newpage', 'newimage'].includes(legendPosition.value)\"\r\n >\r\n {{\r\n (outputFormat === 'Pdf'\r\n ? 'igo.geo.printForm.legendPositions.newpage'\r\n : 'igo.geo.printForm.legendPositions.newimage'\r\n ) | translate\r\n }}\r\n </ng-container>\r\n </mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n </div>\r\n\r\n <div class=\"igo-input-container\">\r\n <mat-form-field>\r\n <mat-label>{{ 'igo.geo.printForm.outputFormat' | translate }}</mat-label>\r\n <mat-select\r\n (selectionChange)=\"toggleImageSaveProp()\"\r\n formControlName=\"outputFormat\"\r\n placeholder=\"{{ 'igo.geo.printForm.outputFormat' | translate }}\"\r\n >\r\n <mat-option\r\n *ngFor=\"let outputFormat of outputFormats | keyvalue\"\r\n [value]=\"outputFormat.key\"\r\n >\r\n {{ outputFormat.value }}\r\n </mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n </div>\r\n\r\n <div\r\n class=\"igo-input-container\"\r\n [style.display]=\"isPrintService ? 'block' : 'none'\"\r\n >\r\n <mat-form-field>\r\n <mat-label>{{ 'igo.geo.printForm.paperFormat' | translate }}</mat-label>\r\n <mat-select\r\n (selectionChange)=\"changeCommentLength()\"\r\n formControlName=\"paperFormat\"\r\n placeholder=\"{{ 'igo.geo.printForm.paperFormat' | translate }}\"\r\n >\r\n <mat-option\r\n *ngFor=\"let paperFormat of paperFormats | keyvalue\"\r\n [value]=\"paperFormat.key\"\r\n >\r\n {{\r\n 'igo.geo.printForm.paperFormats.' + paperFormat.value | translate\r\n }}\r\n </mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n </div>\r\n\r\n <div\r\n class=\"igo-input-container\"\r\n [style.display]=\"isPrintService ? 'none' : 'block'\"\r\n >\r\n <mat-form-field>\r\n <mat-label>{{ 'igo.geo.printForm.imageFormat' | translate }}</mat-label>\r\n <mat-select\r\n formControlName=\"imageFormat\"\r\n placeholder=\"{{ 'igo.geo.printForm.imageFormat' | translate }}\"\r\n >\r\n <mat-option\r\n *ngFor=\"let imageFormat of imageFormats | keyvalue\"\r\n [value]=\"imageFormat.key\"\r\n >\r\n {{ imageFormat.value }}\r\n </mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n </div>\r\n\r\n <div class=\"igo-input-container\">\r\n <mat-form-field>\r\n <mat-label\r\n >{{ 'igo.geo.printForm.resolution' | translate }} ({{\r\n 'igo.geo.printForm.resolutionUnit' | translate\r\n }})</mat-label\r\n >\r\n <mat-select\r\n formControlName=\"resolution\"\r\n placeholder=\"{{ 'igo.geo.printForm.resolution' | translate }}\"\r\n >\r\n <mat-option\r\n *ngFor=\"let resolution of resolutions | keyvalue\"\r\n [value]=\"resolution.key\"\r\n >\r\n {{ resolution.value }}\r\n </mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n </div>\r\n\r\n <div\r\n class=\"igo-input-container\"\r\n [style.display]=\"isPrintService ? 'block' : 'none'\"\r\n >\r\n <mat-form-field>\r\n <mat-label>{{ 'igo.geo.printForm.orientation' | translate }}</mat-label>\r\n <mat-select\r\n (selectionChange)=\"changeCommentLength()\"\r\n formControlName=\"orientation\"\r\n placeholder=\"{{ 'igo.geo.printForm.orientation' | translate }}\"\r\n >\r\n <mat-option\r\n *ngFor=\"let orientation of orientations | keyvalue\"\r\n [value]=\"orientation.key\"\r\n >\r\n {{ 'igo.geo.printForm.' + orientation.value | translate }}\r\n </mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n </div>\r\n\r\n <div class=\"igo-form-button-group print-button-top-padding\">\r\n <button\r\n mat-raised-button\r\n type=\"button\"\r\n [disabled]=\"!form.valid || (disabled$ | async)\"\r\n (click)=\"handleFormSubmit(form.value, form.valid)\"\r\n >\r\n {{ 'igo.geo.printForm.saveBtn' | translate }}\r\n </button>\r\n </div>\r\n</form>\r\n", styles: [":host mat-form-field{width:100%}:host .slide-toggle-container{margin-bottom:16px}:host .print-slide-toggle-container mat-slide-toggle{width:100%;padding:0 8px}:host .print-slide-toggle-container mat-slide-toggle ::ng-deep .mdc-form-field{width:100%}:host .print-slide-toggle-container mat-slide-toggle ::ng-deep .mdc-label{margin-left:0;width:calc(100% - 60px)}:host .print-option{display:block;margin-bottom:12px}:host .igo-form{padding:10px 5px 5px}:host .igo-form-button-group{text-align:center}\n"] }]
18787
18788
  }], function () { return [{ type: i2$1.UntypedFormBuilder }]; }, { disabled$: [{
18788
18789
  type: Input
18789
18790
  }], imageFormat: [{