@igo2/context 16.0.1 → 16.1.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 (39) hide show
  1. package/esm2022/lib/context-import-export/context-import-export/context-import-export.component.mjs +9 -133
  2. package/esm2022/lib/context-import-export/context-import-export.module.mjs +42 -43
  3. package/esm2022/lib/context-import-export/shared/context-export.service.mjs +9 -9
  4. package/esm2022/lib/context-import-export/shared/context-import.service.mjs +9 -9
  5. package/esm2022/lib/context-manager/context-edit/context-edit-binding.directive.mjs +16 -18
  6. package/esm2022/lib/context-manager/context-edit/context-edit.component.mjs +11 -25
  7. package/esm2022/lib/context-manager/context-form/context-form.component.mjs +19 -69
  8. package/esm2022/lib/context-manager/context-item/context-item.component.mjs +33 -204
  9. package/esm2022/lib/context-manager/context-list/context-list-binding.directive.mjs +50 -52
  10. package/esm2022/lib/context-manager/context-list/context-list.component.mjs +45 -276
  11. package/esm2022/lib/context-manager/context-manager.module.mjs +94 -95
  12. package/esm2022/lib/context-manager/context-permissions/context-permissions-binding.directive.mjs +20 -22
  13. package/esm2022/lib/context-manager/context-permissions/context-permissions.component.mjs +17 -209
  14. package/esm2022/lib/context-manager/shared/context.service.mjs +11 -11
  15. package/esm2022/lib/context-manager/shared/layer-context.directive.mjs +13 -13
  16. package/esm2022/lib/context-manager/shared/map-context.directive.mjs +9 -9
  17. package/esm2022/lib/context-map-button/bookmark-button/bookmark-button.component.mjs +11 -20
  18. package/esm2022/lib/context-map-button/bookmark-button/bookmark-dialog.component.mjs +7 -37
  19. package/esm2022/lib/context-map-button/context-map-button.module.mjs +63 -64
  20. package/esm2022/lib/context-map-button/poi-button/poi-button.component.mjs +11 -50
  21. package/esm2022/lib/context-map-button/poi-button/poi-dialog.component.mjs +7 -37
  22. package/esm2022/lib/context-map-button/poi-button/shared/poi.service.mjs +6 -6
  23. package/esm2022/lib/context-map-button/user-button/user-button.component.mjs +11 -52
  24. package/esm2022/lib/context-map-button/user-button/user-dialog.component.mjs +8 -47
  25. package/esm2022/lib/context.module.mjs +22 -23
  26. package/esm2022/lib/share-map/share-map/share-map-api.component.mjs +10 -103
  27. package/esm2022/lib/share-map/share-map/share-map-url.component.mjs +9 -195
  28. package/esm2022/lib/share-map/share-map/share-map.component.mjs +9 -42
  29. package/esm2022/lib/share-map/share-map.module.mjs +34 -35
  30. package/esm2022/lib/share-map/shared/share-map.service.mjs +11 -11
  31. package/esm2022/lib/sidenav/sidenav.component.mjs +19 -90
  32. package/esm2022/lib/sidenav/sidenav.module.mjs +32 -33
  33. package/fesm2022/igo2-context.mjs +645 -2010
  34. package/fesm2022/igo2-context.mjs.map +1 -1
  35. package/package.json +22 -22
  36. /package/{context-theme.scss → src/context-theme.scss} +0 -0
  37. /package/{lib → src/lib}/context-manager/context-item/context-item.theming.scss +0 -0
  38. /package/{lib → src/lib}/context-manager/context-list/context-list.theming.scss +0 -0
  39. /package/{lib → src/lib}/context-manager/context-manager.theming.scss +0 -0
@@ -709,17 +709,17 @@ class ContextService {
709
709
  }
710
710
  return found;
711
711
  }
712
- static ɵfac = function ContextService_Factory(t) { return new (t || ContextService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(i2.AuthService), i0.ɵɵinject(i3.LanguageService), i0.ɵɵinject(i3.ConfigService), i0.ɵɵinject(i3.MessageService), i0.ɵɵinject(i3.StorageService), i0.ɵɵinject(i1$1.ExportService), i0.ɵɵinject(i3.RouteService, 8)); };
713
- static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: ContextService, factory: ContextService.ɵfac, providedIn: 'root' });
712
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ContextService, deps: [{ token: i1.HttpClient }, { token: i2.AuthService }, { token: i3.LanguageService }, { token: i3.ConfigService }, { token: i3.MessageService }, { token: i3.StorageService }, { token: i1$1.ExportService }, { token: i3.RouteService, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
713
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ContextService, providedIn: 'root' });
714
714
  }
715
- (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ContextService, [{
716
- type: Injectable,
717
- args: [{
718
- providedIn: 'root'
719
- }]
720
- }], function () { return [{ type: i1.HttpClient }, { type: i2.AuthService }, { type: i3.LanguageService }, { type: i3.ConfigService }, { type: i3.MessageService }, { type: i3.StorageService }, { type: i1$1.ExportService }, { type: i3.RouteService, decorators: [{
721
- type: Optional
722
- }] }]; }, null); })();
715
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ContextService, decorators: [{
716
+ type: Injectable,
717
+ args: [{
718
+ providedIn: 'root'
719
+ }]
720
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: i2.AuthService }, { type: i3.LanguageService }, { type: i3.ConfigService }, { type: i3.MessageService }, { type: i3.StorageService }, { type: i1$1.ExportService }, { type: i3.RouteService, decorators: [{
721
+ type: Optional
722
+ }] }]; } });
723
723
 
724
724
  class ExportError extends Error {
725
725
  }
@@ -759,15 +759,15 @@ class ContextExportService {
759
759
  }
760
760
  return false;
761
761
  }
762
- static ɵfac = function ContextExportService_Factory(t) { return new (t || ContextExportService)(); };
763
- static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: ContextExportService, factory: ContextExportService.ɵfac, providedIn: 'root' });
762
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ContextExportService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
763
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ContextExportService, providedIn: 'root' });
764
764
  }
765
- (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ContextExportService, [{
766
- type: Injectable,
767
- args: [{
768
- providedIn: 'root'
769
- }]
770
- }], null, null); })();
765
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ContextExportService, decorators: [{
766
+ type: Injectable,
767
+ args: [{
768
+ providedIn: 'root'
769
+ }]
770
+ }] });
771
771
 
772
772
  function handleFileExportError(error, messageService) {
773
773
  if (error instanceof ExportNothingToExportError) {
@@ -1027,112 +1027,16 @@ class ContextImportService {
1027
1027
  const context = JSON.parse(data);
1028
1028
  return context;
1029
1029
  }
1030
- static ɵfac = function ContextImportService_Factory(t) { return new (t || ContextImportService)(i0.ɵɵinject(i3.ConfigService)); };
1031
- static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: ContextImportService, factory: ContextImportService.ɵfac, providedIn: 'root' });
1030
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ContextImportService, deps: [{ token: i3.ConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
1031
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ContextImportService, providedIn: 'root' });
1032
1032
  }
1033
- (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ContextImportService, [{
1034
- type: Injectable,
1035
- args: [{
1036
- providedIn: 'root'
1037
- }]
1038
- }], function () { return [{ type: i3.ConfigService }]; }, null); })();
1033
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ContextImportService, decorators: [{
1034
+ type: Injectable,
1035
+ args: [{
1036
+ providedIn: 'root'
1037
+ }]
1038
+ }], ctorParameters: function () { return [{ type: i3.ConfigService }]; } });
1039
1039
 
1040
- const _c0$2 = function (a0) { return { size: a0 }; };
1041
- function ContextImportExportComponent_div_8_Template(rf, ctx) { if (rf & 1) {
1042
- const _r4 = i0.ɵɵgetCurrentView();
1043
- i0.ɵɵelementStart(0, "div")(1, "form", 5)(2, "div", 6)(3, "button", 7);
1044
- i0.ɵɵlistener("click", function ContextImportExportComponent_div_8_Template_button_click_3_listener() { i0.ɵɵrestoreView(_r4); const _r2 = i0.ɵɵreference(10); return i0.ɵɵresetView(_r2.click()); });
1045
- i0.ɵɵpipe(4, "async");
1046
- i0.ɵɵtext(5);
1047
- i0.ɵɵpipe(6, "translate");
1048
- i0.ɵɵelementEnd();
1049
- i0.ɵɵelement(7, "igo-spinner", 8);
1050
- i0.ɵɵpipe(8, "async");
1051
- i0.ɵɵelementStart(9, "input", 9, 10);
1052
- i0.ɵɵlistener("click", function ContextImportExportComponent_div_8_Template_input_click_9_listener() { i0.ɵɵrestoreView(_r4); const _r2 = i0.ɵɵreference(10); return i0.ɵɵresetView(_r2.value = null); })("change", function ContextImportExportComponent_div_8_Template_input_change_9_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r6 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r6.importFiles($event.target.files)); });
1053
- i0.ɵɵelementEnd()()();
1054
- i0.ɵɵelementStart(11, "section", 11)(12, "h4");
1055
- i0.ɵɵtext(13);
1056
- i0.ɵɵpipe(14, "translate");
1057
- i0.ɵɵelementEnd();
1058
- i0.ɵɵelementStart(15, "ul")(16, "li");
1059
- i0.ɵɵtext(17);
1060
- i0.ɵɵpipe(18, "translate");
1061
- i0.ɵɵelementEnd()()()();
1062
- } if (rf & 2) {
1063
- const ctx_r0 = i0.ɵɵnextContext();
1064
- i0.ɵɵadvance(3);
1065
- i0.ɵɵproperty("disabled", i0.ɵɵpipeBind1(4, 7, ctx_r0.loading$));
1066
- i0.ɵɵadvance(2);
1067
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 9, "igo.geo.importExportForm.importButton"), " ");
1068
- i0.ɵɵadvance(2);
1069
- i0.ɵɵproperty("shown", i0.ɵɵpipeBind1(8, 11, ctx_r0.loading$));
1070
- i0.ɵɵadvance(2);
1071
- i0.ɵɵstyleProp("display", "none");
1072
- i0.ɵɵadvance(4);
1073
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(14, 13, "igo.geo.importExportForm.importClarifications"));
1074
- i0.ɵɵadvance(4);
1075
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind2(18, 15, "igo.geo.importExportForm.importSizeMax", i0.ɵɵpureFunction1(18, _c0$2, ctx_r0.fileSizeMb)), " ");
1076
- } }
1077
- function ContextImportExportComponent_form_9_mat_option_18_Template(rf, ctx) { if (rf & 1) {
1078
- i0.ɵɵelementStart(0, "mat-option", 2);
1079
- i0.ɵɵtext(1);
1080
- i0.ɵɵelementEnd();
1081
- } if (rf & 2) {
1082
- const layer_r9 = ctx.$implicit;
1083
- i0.ɵɵproperty("value", layer_r9);
1084
- i0.ɵɵadvance(1);
1085
- i0.ɵɵtextInterpolate(layer_r9.title);
1086
- } }
1087
- function ContextImportExportComponent_form_9_Template(rf, ctx) { if (rf & 1) {
1088
- const _r11 = i0.ɵɵgetCurrentView();
1089
- i0.ɵɵelementStart(0, "form", 12)(1, "div", 13)(2, "mat-form-field", 14)(3, "mat-label");
1090
- i0.ɵɵtext(4);
1091
- i0.ɵɵpipe(5, "translate");
1092
- i0.ɵɵelementEnd();
1093
- i0.ɵɵelement(6, "input", 15);
1094
- i0.ɵɵelementEnd()();
1095
- i0.ɵɵelementStart(7, "div", 13)(8, "mat-form-field")(9, "mat-label");
1096
- i0.ɵɵtext(10);
1097
- i0.ɵɵpipe(11, "translate");
1098
- i0.ɵɵelementEnd();
1099
- i0.ɵɵelementStart(12, "mat-select", 16)(13, "mat-option", 17, 18);
1100
- i0.ɵɵlistener("click", function ContextImportExportComponent_form_9_Template_mat_option_click_13_listener() { i0.ɵɵrestoreView(_r11); const _r7 = i0.ɵɵreference(14); const ctx_r10 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r10.selectAll(_r7)); });
1101
- i0.ɵɵtext(15);
1102
- i0.ɵɵpipe(16, "translate");
1103
- i0.ɵɵelementEnd();
1104
- i0.ɵɵelement(17, "mat-divider");
1105
- i0.ɵɵtemplate(18, ContextImportExportComponent_form_9_mat_option_18_Template, 2, 2, "mat-option", 19);
1106
- i0.ɵɵelementEnd()()();
1107
- i0.ɵɵelementStart(19, "div", 6)(20, "button", 7);
1108
- i0.ɵɵlistener("click", function ContextImportExportComponent_form_9_Template_button_click_20_listener() { i0.ɵɵrestoreView(_r11); const ctx_r12 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r12.handleExportFormSubmit(ctx_r12.form.value)); });
1109
- i0.ɵɵpipe(21, "async");
1110
- i0.ɵɵtext(22);
1111
- i0.ɵɵpipe(23, "translate");
1112
- i0.ɵɵelementEnd();
1113
- i0.ɵɵelement(24, "igo-spinner", 8);
1114
- i0.ɵɵpipe(25, "async");
1115
- i0.ɵɵelementEnd()();
1116
- } if (rf & 2) {
1117
- const ctx_r1 = i0.ɵɵnextContext();
1118
- i0.ɵɵproperty("formGroup", ctx_r1.form);
1119
- i0.ɵɵadvance(4);
1120
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(5, 9, "igo.context.contextImportExport.export.exportContextName"));
1121
- i0.ɵɵadvance(6);
1122
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(11, 11, "igo.context.contextImportExport.export.exportPlaceHolder"));
1123
- i0.ɵɵadvance(3);
1124
- i0.ɵɵproperty("value", 1);
1125
- i0.ɵɵadvance(2);
1126
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(16, 13, "igo.context.contextImportExport.export.exportSelectAll"), " ");
1127
- i0.ɵɵadvance(3);
1128
- i0.ɵɵproperty("ngForOf", ctx_r1.userControlledLayerList);
1129
- i0.ɵɵadvance(2);
1130
- i0.ɵɵproperty("disabled", !ctx_r1.form.valid || i0.ɵɵpipeBind1(21, 15, ctx_r1.loading$));
1131
- i0.ɵɵadvance(2);
1132
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(23, 17, "igo.geo.importExportForm.exportButton"), " ");
1133
- i0.ɵɵadvance(2);
1134
- i0.ɵɵproperty("shown", i0.ɵɵpipeBind1(25, 19, ctx_r1.loading$));
1135
- } }
1136
1040
  class ContextImportExportComponent {
1137
1041
  contextImportService;
1138
1042
  contextExportService;
@@ -1230,43 +1134,15 @@ class ContextImportExportComponent {
1230
1134
  ngOnDestroy() {
1231
1135
  this.layers$$.unsubscribe();
1232
1136
  }
1233
- static ɵfac = function ContextImportExportComponent_Factory(t) { return new (t || ContextImportExportComponent)(i0.ɵɵdirectiveInject(ContextImportService), i0.ɵɵdirectiveInject(ContextExportService), i0.ɵɵdirectiveInject(i3.MessageService), i0.ɵɵdirectiveInject(i1$2.UntypedFormBuilder), i0.ɵɵdirectiveInject(i3.ConfigService), i0.ɵɵdirectiveInject(ContextService)); };
1234
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ContextImportExportComponent, selectors: [["igo-context-import-export"]], inputs: { map: "map" }, decls: 10, vars: 11, consts: [[1, "import-export-toggle", "mat-typography"], [3, "value", "change"], [3, "value"], [4, "ngIf"], ["class", "igo-form", 3, "formGroup", 4, "ngIf"], [1, "igo-form"], [1, "igo-form-button-group"], ["mat-raised-button", "", "type", "button", 3, "disabled", "click"], [3, "shown"], ["type", "file", 3, "click", "change"], ["fileInput", ""], [1, "mat-typography"], [1, "igo-form", 3, "formGroup"], [1, "igo-input-container"], [1, "example-full-width"], ["formControlName", "name", "matInput", "", 3, "value"], ["formControlName", "layers", "multiple", ""], [3, "value", "click"], ["e", ""], [3, "value", 4, "ngFor", "ngForOf"]], template: function ContextImportExportComponent_Template(rf, ctx) { if (rf & 1) {
1235
- i0.ɵɵelementStart(0, "div", 0)(1, "mat-button-toggle-group", 1);
1236
- i0.ɵɵlistener("change", function ContextImportExportComponent_Template_mat_button_toggle_group_change_1_listener($event) { return ctx.onImportExportChange($event); });
1237
- i0.ɵɵelementStart(2, "mat-button-toggle", 2);
1238
- i0.ɵɵtext(3);
1239
- i0.ɵɵpipe(4, "translate");
1240
- i0.ɵɵelementEnd();
1241
- i0.ɵɵelementStart(5, "mat-button-toggle", 2);
1242
- i0.ɵɵtext(6);
1243
- i0.ɵɵpipe(7, "translate");
1244
- i0.ɵɵelementEnd()()();
1245
- i0.ɵɵtemplate(8, ContextImportExportComponent_div_8_Template, 19, 20, "div", 3);
1246
- i0.ɵɵtemplate(9, ContextImportExportComponent_form_9_Template, 26, 21, "form", 4);
1247
- } if (rf & 2) {
1248
- i0.ɵɵadvance(1);
1249
- i0.ɵɵproperty("value", ctx.activeImportExport);
1250
- i0.ɵɵadvance(1);
1251
- i0.ɵɵproperty("value", "import");
1252
- i0.ɵɵadvance(1);
1253
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(4, 7, "igo.geo.importExportForm.importTabTitle"), " ");
1254
- i0.ɵɵadvance(2);
1255
- i0.ɵɵproperty("value", "export");
1256
- i0.ɵɵadvance(1);
1257
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(7, 9, "igo.geo.importExportForm.exportTabTitle"), " ");
1258
- i0.ɵɵadvance(2);
1259
- i0.ɵɵproperty("ngIf", ctx.activeImportExport === "import");
1260
- i0.ɵɵadvance(1);
1261
- i0.ɵɵproperty("ngIf", ctx.activeImportExport === "export");
1262
- } }, dependencies: [i1$2.ɵNgNoValidate, i1$2.DefaultValueAccessor, i1$2.NgControlStatus, i1$2.NgControlStatusGroup, i1$2.NgForm, i1$2.FormGroupDirective, i1$2.FormControlName, i6.NgForOf, i6.NgIf, i7.MatButton, i8.MatButtonToggleGroup, i8.MatButtonToggle, i9.MatDivider, i6$1.MatFormField, i6$1.MatLabel, i11.MatSelect, i12.MatOption, i5.MatInput, i13.SpinnerComponent, i6.AsyncPipe, i9$1.TranslatePipe], styles: [".import-export-toggle[_ngcontent-%COMP%]{padding:10px;text-align:center}.import-export-toggle[_ngcontent-%COMP%] mat-button-toggle-group[_ngcontent-%COMP%]{width:100%}.import-export-toggle[_ngcontent-%COMP%] mat-button-toggle-group[_ngcontent-%COMP%] mat-button-toggle[_ngcontent-%COMP%]{width:50%}.igo-input-container[_ngcontent-%COMP%]{padding:10px}.igo-input-container[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%]{width:100%}h4[_ngcontent-%COMP%]{padding:0 5px}.igo-form[_ngcontent-%COMP%]{padding:15px 5px}.igo-form-button-group[_ngcontent-%COMP%]{text-align:center;padding-top:10px}igo-spinner[_ngcontent-%COMP%]{position:absolute;padding-left:10px}"] });
1137
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ContextImportExportComponent, deps: [{ token: ContextImportService }, { token: ContextExportService }, { token: i3.MessageService }, { token: i1$2.UntypedFormBuilder }, { token: i3.ConfigService }, { token: ContextService }], target: i0.ɵɵFactoryTarget.Component });
1138
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: ContextImportExportComponent, selector: "igo-context-import-export", inputs: { map: "map" }, ngImport: i0, template: "<div class=\"import-export-toggle mat-typography\">\r\n <mat-button-toggle-group\r\n [value]=\"activeImportExport\"\r\n (change)=\"onImportExportChange($event)\"\r\n >\r\n <mat-button-toggle [value]=\"'import'\">\r\n {{ 'igo.geo.importExportForm.importTabTitle' | translate }}\r\n </mat-button-toggle>\r\n <mat-button-toggle [value]=\"'export'\">\r\n {{ 'igo.geo.importExportForm.exportTabTitle' | translate }}\r\n </mat-button-toggle>\r\n </mat-button-toggle-group>\r\n</div>\r\n\r\n<div *ngIf=\"activeImportExport === 'import'\">\r\n <form class=\"igo-form\">\r\n <div class=\"igo-form-button-group\">\r\n <button\r\n mat-raised-button\r\n type=\"button\"\r\n (click)=\"fileInput.click()\"\r\n [disabled]=\"loading$ | async\"\r\n >\r\n {{ 'igo.geo.importExportForm.importButton' | translate }}\r\n </button>\r\n <igo-spinner [shown]=\"loading$ | async\"></igo-spinner>\r\n <input\r\n #fileInput\r\n type=\"file\"\r\n [style.display]=\"'none'\"\r\n (click)=\"fileInput.value = null\"\r\n (change)=\"importFiles($event.target.files)\"\r\n />\r\n </div>\r\n </form>\r\n <section class=\"mat-typography\">\r\n <h4>{{ 'igo.geo.importExportForm.importClarifications' | translate }}</h4>\r\n <ul>\r\n <li>\r\n {{\r\n 'igo.geo.importExportForm.importSizeMax'\r\n | translate: { size: fileSizeMb }\r\n }}\r\n </li>\r\n </ul>\r\n </section>\r\n</div>\r\n\r\n<form\r\n class=\"igo-form\"\r\n *ngIf=\"activeImportExport === 'export'\"\r\n [formGroup]=\"form\"\r\n>\r\n <div class=\"igo-input-container\">\r\n <mat-form-field class=\"example-full-width\">\r\n <mat-label>{{\r\n 'igo.context.contextImportExport.export.exportContextName' | translate\r\n }}</mat-label>\r\n <input formControlName=\"name\" matInput [value]=\"\" />\r\n </mat-form-field>\r\n </div>\r\n <div class=\"igo-input-container\">\r\n <mat-form-field>\r\n <mat-label>{{\r\n 'igo.context.contextImportExport.export.exportPlaceHolder' | translate\r\n }}</mat-label>\r\n <mat-select formControlName=\"layers\" multiple>\r\n <mat-option [value]=\"1\" (click)=\"selectAll(e)\" #e>\r\n {{\r\n 'igo.context.contextImportExport.export.exportSelectAll' | translate\r\n }}\r\n </mat-option>\r\n <mat-divider></mat-divider>\r\n <mat-option\r\n *ngFor=\"let layer of userControlledLayerList\"\r\n [value]=\"layer\"\r\n >{{ layer.title }}</mat-option\r\n >\r\n </mat-select>\r\n </mat-form-field>\r\n </div>\r\n <div class=\"igo-form-button-group\">\r\n <button\r\n mat-raised-button\r\n type=\"button\"\r\n [disabled]=\"!form.valid || (loading$ | async)\"\r\n (click)=\"handleExportFormSubmit(form.value)\"\r\n >\r\n {{ 'igo.geo.importExportForm.exportButton' | translate }}\r\n </button>\r\n <igo-spinner [shown]=\"loading$ | async\"></igo-spinner>\r\n </div>\r\n</form>\r\n", styles: [".import-export-toggle{padding:10px;text-align:center}.import-export-toggle mat-button-toggle-group{width:100%}.import-export-toggle mat-button-toggle-group mat-button-toggle{width:50%}.igo-input-container{padding:10px}.igo-input-container mat-form-field{width:100%}h4{padding:0 5px}.igo-form{padding:15px 5px}.igo-form-button-group{text-align:center;padding-top:10px}igo-spinner{position:absolute;padding-left:10px}\n"], dependencies: [{ kind: "directive", type: i1$2.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1$2.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$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1$2.NgForm, selector: "form:not([ngNoForm]):not([formGroup]),ng-form,[ngForm]", inputs: ["ngFormOptions"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: i6.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i7.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: i8.MatButtonToggleGroup, selector: "mat-button-toggle-group", inputs: ["appearance", "name", "vertical", "value", "multiple", "disabled"], outputs: ["valueChange", "change"], exportAs: ["matButtonToggleGroup"] }, { kind: "component", type: i8.MatButtonToggle, selector: "mat-button-toggle", inputs: ["disableRipple", "aria-label", "aria-labelledby", "id", "name", "value", "tabIndex", "appearance", "checked", "disabled"], outputs: ["change"], exportAs: ["matButtonToggle"] }, { kind: "component", type: i9.MatDivider, selector: "mat-divider", inputs: ["vertical", "inset"] }, { kind: "component", type: i6$1.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i6$1.MatLabel, selector: "mat-label" }, { kind: "component", type: i11.MatSelect, selector: "mat-select", inputs: ["disabled", "disableRipple", "tabIndex", "panelWidth", "hideSingleSelectionIndicator"], exportAs: ["matSelect"] }, { kind: "component", type: i12.MatOption, selector: "mat-option", exportAs: ["matOption"] }, { kind: "directive", type: i5.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { kind: "component", type: i13.SpinnerComponent, selector: "igo-spinner", inputs: ["shown"] }, { kind: "pipe", type: i6.AsyncPipe, name: "async" }, { kind: "pipe", type: i9$1.TranslatePipe, name: "translate" }] });
1263
1139
  }
1264
- (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ContextImportExportComponent, [{
1265
- type: Component,
1266
- args: [{ selector: 'igo-context-import-export', template: "<div class=\"import-export-toggle mat-typography\">\r\n <mat-button-toggle-group\r\n [value]=\"activeImportExport\"\r\n (change)=\"onImportExportChange($event)\"\r\n >\r\n <mat-button-toggle [value]=\"'import'\">\r\n {{ 'igo.geo.importExportForm.importTabTitle' | translate }}\r\n </mat-button-toggle>\r\n <mat-button-toggle [value]=\"'export'\">\r\n {{ 'igo.geo.importExportForm.exportTabTitle' | translate }}\r\n </mat-button-toggle>\r\n </mat-button-toggle-group>\r\n</div>\r\n\r\n<div *ngIf=\"activeImportExport === 'import'\">\r\n <form class=\"igo-form\">\r\n <div class=\"igo-form-button-group\">\r\n <button\r\n mat-raised-button\r\n type=\"button\"\r\n (click)=\"fileInput.click()\"\r\n [disabled]=\"loading$ | async\"\r\n >\r\n {{ 'igo.geo.importExportForm.importButton' | translate }}\r\n </button>\r\n <igo-spinner [shown]=\"loading$ | async\"></igo-spinner>\r\n <input\r\n #fileInput\r\n type=\"file\"\r\n [style.display]=\"'none'\"\r\n (click)=\"fileInput.value = null\"\r\n (change)=\"importFiles($event.target.files)\"\r\n />\r\n </div>\r\n </form>\r\n <section class=\"mat-typography\">\r\n <h4>{{ 'igo.geo.importExportForm.importClarifications' | translate }}</h4>\r\n <ul>\r\n <li>\r\n {{\r\n 'igo.geo.importExportForm.importSizeMax'\r\n | translate: { size: fileSizeMb }\r\n }}\r\n </li>\r\n </ul>\r\n </section>\r\n</div>\r\n\r\n<form\r\n class=\"igo-form\"\r\n *ngIf=\"activeImportExport === 'export'\"\r\n [formGroup]=\"form\"\r\n>\r\n <div class=\"igo-input-container\">\r\n <mat-form-field class=\"example-full-width\">\r\n <mat-label>{{\r\n 'igo.context.contextImportExport.export.exportContextName' | translate\r\n }}</mat-label>\r\n <input formControlName=\"name\" matInput [value]=\"\" />\r\n </mat-form-field>\r\n </div>\r\n <div class=\"igo-input-container\">\r\n <mat-form-field>\r\n <mat-label>{{\r\n 'igo.context.contextImportExport.export.exportPlaceHolder' | translate\r\n }}</mat-label>\r\n <mat-select formControlName=\"layers\" multiple>\r\n <mat-option [value]=\"1\" (click)=\"selectAll(e)\" #e>\r\n {{\r\n 'igo.context.contextImportExport.export.exportSelectAll' | translate\r\n }}\r\n </mat-option>\r\n <mat-divider></mat-divider>\r\n <mat-option\r\n *ngFor=\"let layer of userControlledLayerList\"\r\n [value]=\"layer\"\r\n >{{ layer.title }}</mat-option\r\n >\r\n </mat-select>\r\n </mat-form-field>\r\n </div>\r\n <div class=\"igo-form-button-group\">\r\n <button\r\n mat-raised-button\r\n type=\"button\"\r\n [disabled]=\"!form.valid || (loading$ | async)\"\r\n (click)=\"handleExportFormSubmit(form.value)\"\r\n >\r\n {{ 'igo.geo.importExportForm.exportButton' | translate }}\r\n </button>\r\n <igo-spinner [shown]=\"loading$ | async\"></igo-spinner>\r\n </div>\r\n</form>\r\n", styles: [".import-export-toggle{padding:10px;text-align:center}.import-export-toggle mat-button-toggle-group{width:100%}.import-export-toggle mat-button-toggle-group mat-button-toggle{width:50%}.igo-input-container{padding:10px}.igo-input-container mat-form-field{width:100%}h4{padding:0 5px}.igo-form{padding:15px 5px}.igo-form-button-group{text-align:center;padding-top:10px}igo-spinner{position:absolute;padding-left:10px}\n"] }]
1267
- }], function () { return [{ type: ContextImportService }, { type: ContextExportService }, { type: i3.MessageService }, { type: i1$2.UntypedFormBuilder }, { type: i3.ConfigService }, { type: ContextService }]; }, { map: [{
1268
- type: Input
1269
- }] }); })();
1140
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ContextImportExportComponent, decorators: [{
1141
+ type: Component,
1142
+ args: [{ selector: 'igo-context-import-export', template: "<div class=\"import-export-toggle mat-typography\">\r\n <mat-button-toggle-group\r\n [value]=\"activeImportExport\"\r\n (change)=\"onImportExportChange($event)\"\r\n >\r\n <mat-button-toggle [value]=\"'import'\">\r\n {{ 'igo.geo.importExportForm.importTabTitle' | translate }}\r\n </mat-button-toggle>\r\n <mat-button-toggle [value]=\"'export'\">\r\n {{ 'igo.geo.importExportForm.exportTabTitle' | translate }}\r\n </mat-button-toggle>\r\n </mat-button-toggle-group>\r\n</div>\r\n\r\n<div *ngIf=\"activeImportExport === 'import'\">\r\n <form class=\"igo-form\">\r\n <div class=\"igo-form-button-group\">\r\n <button\r\n mat-raised-button\r\n type=\"button\"\r\n (click)=\"fileInput.click()\"\r\n [disabled]=\"loading$ | async\"\r\n >\r\n {{ 'igo.geo.importExportForm.importButton' | translate }}\r\n </button>\r\n <igo-spinner [shown]=\"loading$ | async\"></igo-spinner>\r\n <input\r\n #fileInput\r\n type=\"file\"\r\n [style.display]=\"'none'\"\r\n (click)=\"fileInput.value = null\"\r\n (change)=\"importFiles($event.target.files)\"\r\n />\r\n </div>\r\n </form>\r\n <section class=\"mat-typography\">\r\n <h4>{{ 'igo.geo.importExportForm.importClarifications' | translate }}</h4>\r\n <ul>\r\n <li>\r\n {{\r\n 'igo.geo.importExportForm.importSizeMax'\r\n | translate: { size: fileSizeMb }\r\n }}\r\n </li>\r\n </ul>\r\n </section>\r\n</div>\r\n\r\n<form\r\n class=\"igo-form\"\r\n *ngIf=\"activeImportExport === 'export'\"\r\n [formGroup]=\"form\"\r\n>\r\n <div class=\"igo-input-container\">\r\n <mat-form-field class=\"example-full-width\">\r\n <mat-label>{{\r\n 'igo.context.contextImportExport.export.exportContextName' | translate\r\n }}</mat-label>\r\n <input formControlName=\"name\" matInput [value]=\"\" />\r\n </mat-form-field>\r\n </div>\r\n <div class=\"igo-input-container\">\r\n <mat-form-field>\r\n <mat-label>{{\r\n 'igo.context.contextImportExport.export.exportPlaceHolder' | translate\r\n }}</mat-label>\r\n <mat-select formControlName=\"layers\" multiple>\r\n <mat-option [value]=\"1\" (click)=\"selectAll(e)\" #e>\r\n {{\r\n 'igo.context.contextImportExport.export.exportSelectAll' | translate\r\n }}\r\n </mat-option>\r\n <mat-divider></mat-divider>\r\n <mat-option\r\n *ngFor=\"let layer of userControlledLayerList\"\r\n [value]=\"layer\"\r\n >{{ layer.title }}</mat-option\r\n >\r\n </mat-select>\r\n </mat-form-field>\r\n </div>\r\n <div class=\"igo-form-button-group\">\r\n <button\r\n mat-raised-button\r\n type=\"button\"\r\n [disabled]=\"!form.valid || (loading$ | async)\"\r\n (click)=\"handleExportFormSubmit(form.value)\"\r\n >\r\n {{ 'igo.geo.importExportForm.exportButton' | translate }}\r\n </button>\r\n <igo-spinner [shown]=\"loading$ | async\"></igo-spinner>\r\n </div>\r\n</form>\r\n", styles: [".import-export-toggle{padding:10px;text-align:center}.import-export-toggle mat-button-toggle-group{width:100%}.import-export-toggle mat-button-toggle-group mat-button-toggle{width:50%}.igo-input-container{padding:10px}.igo-input-container mat-form-field{width:100%}h4{padding:0 5px}.igo-form{padding:15px 5px}.igo-form-button-group{text-align:center;padding-top:10px}igo-spinner{position:absolute;padding-left:10px}\n"] }]
1143
+ }], ctorParameters: function () { return [{ type: ContextImportService }, { type: ContextExportService }, { type: i3.MessageService }, { type: i1$2.UntypedFormBuilder }, { type: i3.ConfigService }, { type: ContextService }]; }, propDecorators: { map: [{
1144
+ type: Input
1145
+ }] } });
1270
1146
 
1271
1147
  class IgoContextImportExportModule {
1272
1148
  static forRoot() {
@@ -1274,9 +1150,23 @@ class IgoContextImportExportModule {
1274
1150
  ngModule: IgoContextImportExportModule
1275
1151
  };
1276
1152
  }
1277
- static ɵfac = function IgoContextImportExportModule_Factory(t) { return new (t || IgoContextImportExportModule)(); };
1278
- static ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: IgoContextImportExportModule });
1279
- static ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [FormsModule,
1153
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IgoContextImportExportModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1154
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: IgoContextImportExportModule, declarations: [ContextImportExportComponent], imports: [FormsModule,
1155
+ ReactiveFormsModule,
1156
+ CommonModule,
1157
+ MatButtonModule,
1158
+ MatButtonToggleModule,
1159
+ MatDividerModule,
1160
+ MatTabsModule,
1161
+ MatSelectModule,
1162
+ MatOptionModule,
1163
+ MatFormFieldModule,
1164
+ MatInputModule,
1165
+ MatCheckboxModule,
1166
+ IgoLanguageModule,
1167
+ IgoSpinnerModule,
1168
+ MatTooltipModule], exports: [ContextImportExportComponent] });
1169
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IgoContextImportExportModule, imports: [FormsModule,
1280
1170
  ReactiveFormsModule,
1281
1171
  CommonModule,
1282
1172
  MatButtonModule,
@@ -1292,45 +1182,30 @@ class IgoContextImportExportModule {
1292
1182
  IgoSpinnerModule,
1293
1183
  MatTooltipModule] });
1294
1184
  }
1295
- (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IgoContextImportExportModule, [{
1296
- type: NgModule,
1297
- args: [{
1298
- imports: [
1299
- FormsModule,
1300
- ReactiveFormsModule,
1301
- CommonModule,
1302
- MatButtonModule,
1303
- MatButtonToggleModule,
1304
- MatDividerModule,
1305
- MatTabsModule,
1306
- MatSelectModule,
1307
- MatOptionModule,
1308
- MatFormFieldModule,
1309
- MatInputModule,
1310
- MatCheckboxModule,
1311
- IgoLanguageModule,
1312
- IgoSpinnerModule,
1313
- MatTooltipModule
1314
- ],
1315
- exports: [ContextImportExportComponent],
1316
- declarations: [ContextImportExportComponent]
1317
- }]
1318
- }], null, null); })();
1319
- (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(IgoContextImportExportModule, { declarations: [ContextImportExportComponent], imports: [FormsModule,
1320
- ReactiveFormsModule,
1321
- CommonModule,
1322
- MatButtonModule,
1323
- MatButtonToggleModule,
1324
- MatDividerModule,
1325
- MatTabsModule,
1326
- MatSelectModule,
1327
- MatOptionModule,
1328
- MatFormFieldModule,
1329
- MatInputModule,
1330
- MatCheckboxModule,
1331
- IgoLanguageModule,
1332
- IgoSpinnerModule,
1333
- MatTooltipModule], exports: [ContextImportExportComponent] }); })();
1185
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IgoContextImportExportModule, decorators: [{
1186
+ type: NgModule,
1187
+ args: [{
1188
+ imports: [
1189
+ FormsModule,
1190
+ ReactiveFormsModule,
1191
+ CommonModule,
1192
+ MatButtonModule,
1193
+ MatButtonToggleModule,
1194
+ MatDividerModule,
1195
+ MatTabsModule,
1196
+ MatSelectModule,
1197
+ MatOptionModule,
1198
+ MatFormFieldModule,
1199
+ MatInputModule,
1200
+ MatCheckboxModule,
1201
+ IgoLanguageModule,
1202
+ IgoSpinnerModule,
1203
+ MatTooltipModule
1204
+ ],
1205
+ exports: [ContextImportExportComponent],
1206
+ declarations: [ContextImportExportComponent]
1207
+ }]
1208
+ }] });
1334
1209
 
1335
1210
  class BookmarkDialogComponent {
1336
1211
  dialogRef;
@@ -1338,43 +1213,13 @@ class BookmarkDialogComponent {
1338
1213
  constructor(dialogRef) {
1339
1214
  this.dialogRef = dialogRef;
1340
1215
  }
1341
- static ɵfac = function BookmarkDialogComponent_Factory(t) { return new (t || BookmarkDialogComponent)(i0.ɵɵdirectiveInject(i1$3.MatDialogRef)); };
1342
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: BookmarkDialogComponent, selectors: [["igo-bookmark-dialog"]], decls: 14, vars: 14, consts: [["mat-dialog-title", "", 1, "mat-typography"], ["mat-dialog-content", "", 1, "mat-typography"], ["matInput", "", "required", "", "autocomplete", "off", "maxlength", "128", 3, "placeholder", "ngModel", "ngModelChange"], ["mat-dialog-actions", ""], ["mat-button", "", "color", "primary", 3, "disabled", "click"], ["mat-button", "", 3, "click"]], template: function BookmarkDialogComponent_Template(rf, ctx) { if (rf & 1) {
1343
- i0.ɵɵelementStart(0, "h1", 0);
1344
- i0.ɵɵtext(1);
1345
- i0.ɵɵpipe(2, "translate");
1346
- i0.ɵɵelementEnd();
1347
- i0.ɵɵelementStart(3, "div", 1)(4, "mat-form-field")(5, "input", 2);
1348
- i0.ɵɵlistener("ngModelChange", function BookmarkDialogComponent_Template_input_ngModelChange_5_listener($event) { return ctx.title = $event; });
1349
- i0.ɵɵpipe(6, "translate");
1350
- i0.ɵɵelementEnd()()();
1351
- i0.ɵɵelementStart(7, "div", 3)(8, "button", 4);
1352
- i0.ɵɵlistener("click", function BookmarkDialogComponent_Template_button_click_8_listener() { return ctx.dialogRef.close(ctx.title); });
1353
- i0.ɵɵtext(9);
1354
- i0.ɵɵpipe(10, "translate");
1355
- i0.ɵɵelementEnd();
1356
- i0.ɵɵelementStart(11, "button", 5);
1357
- i0.ɵɵlistener("click", function BookmarkDialogComponent_Template_button_click_11_listener() { return ctx.dialogRef.close(false); });
1358
- i0.ɵɵtext(12);
1359
- i0.ɵɵpipe(13, "translate");
1360
- i0.ɵɵelementEnd()();
1361
- } if (rf & 2) {
1362
- i0.ɵɵadvance(1);
1363
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 6, "igo.context.bookmarkButton.dialog.title"), "\n");
1364
- i0.ɵɵadvance(4);
1365
- i0.ɵɵproperty("placeholder", i0.ɵɵpipeBind1(6, 8, "igo.context.bookmarkButton.dialog.placeholder"))("ngModel", ctx.title);
1366
- i0.ɵɵadvance(3);
1367
- i0.ɵɵproperty("disabled", !ctx.title);
1368
- i0.ɵɵadvance(1);
1369
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(10, 10, "igo.common.confirmDialog.confirmBtn"), " ");
1370
- i0.ɵɵadvance(3);
1371
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(13, 12, "igo.common.confirmDialog.cancelBtn"), " ");
1372
- } }, dependencies: [i1$2.DefaultValueAccessor, i1$2.NgControlStatus, i1$2.RequiredValidator, i1$2.MaxLengthValidator, i1$2.NgModel, i7.MatButton, i1$3.MatDialogTitle, i1$3.MatDialogContent, i1$3.MatDialogActions, i6$1.MatFormField, i5.MatInput, i9$1.TranslatePipe], encapsulation: 2 });
1216
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BookmarkDialogComponent, deps: [{ token: i1$3.MatDialogRef }], target: i0.ɵɵFactoryTarget.Component });
1217
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: BookmarkDialogComponent, selector: "igo-bookmark-dialog", ngImport: i0, template: "<h1 mat-dialog-title class=\"mat-typography\">\r\n {{ 'igo.context.bookmarkButton.dialog.title' | translate }}\r\n</h1>\r\n<div mat-dialog-content class=\"mat-typography\">\r\n <mat-form-field>\r\n <input\r\n matInput\r\n required\r\n autocomplete=\"off\"\r\n maxlength=\"128\"\r\n [placeholder]=\"\r\n 'igo.context.bookmarkButton.dialog.placeholder' | translate\r\n \"\r\n [(ngModel)]=\"title\"\r\n />\r\n </mat-form-field>\r\n</div>\r\n<div mat-dialog-actions>\r\n <button\r\n mat-button\r\n color=\"primary\"\r\n [disabled]=\"!title\"\r\n (click)=\"dialogRef.close(title)\"\r\n >\r\n {{ 'igo.common.confirmDialog.confirmBtn' | translate }}\r\n </button>\r\n <button mat-button (click)=\"dialogRef.close(false)\">\r\n {{ 'igo.common.confirmDialog.cancelBtn' | translate }}\r\n </button>\r\n</div>\r\n", dependencies: [{ kind: "directive", type: i1$2.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$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$2.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i1$2.MaxLengthValidator, selector: "[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]", inputs: ["maxlength"] }, { kind: "directive", type: i1$2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i7.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$3.MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { kind: "directive", type: i1$3.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "directive", type: i1$3.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }, { kind: "component", type: i6$1.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i5.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { kind: "pipe", type: i9$1.TranslatePipe, name: "translate" }] });
1373
1218
  }
1374
- (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(BookmarkDialogComponent, [{
1375
- type: Component,
1376
- args: [{ selector: 'igo-bookmark-dialog', template: "<h1 mat-dialog-title class=\"mat-typography\">\r\n {{ 'igo.context.bookmarkButton.dialog.title' | translate }}\r\n</h1>\r\n<div mat-dialog-content class=\"mat-typography\">\r\n <mat-form-field>\r\n <input\r\n matInput\r\n required\r\n autocomplete=\"off\"\r\n maxlength=\"128\"\r\n [placeholder]=\"\r\n 'igo.context.bookmarkButton.dialog.placeholder' | translate\r\n \"\r\n [(ngModel)]=\"title\"\r\n />\r\n </mat-form-field>\r\n</div>\r\n<div mat-dialog-actions>\r\n <button\r\n mat-button\r\n color=\"primary\"\r\n [disabled]=\"!title\"\r\n (click)=\"dialogRef.close(title)\"\r\n >\r\n {{ 'igo.common.confirmDialog.confirmBtn' | translate }}\r\n </button>\r\n <button mat-button (click)=\"dialogRef.close(false)\">\r\n {{ 'igo.common.confirmDialog.cancelBtn' | translate }}\r\n </button>\r\n</div>\r\n" }]
1377
- }], function () { return [{ type: i1$3.MatDialogRef }]; }, null); })();
1219
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BookmarkDialogComponent, decorators: [{
1220
+ type: Component,
1221
+ args: [{ selector: 'igo-bookmark-dialog', template: "<h1 mat-dialog-title class=\"mat-typography\">\r\n {{ 'igo.context.bookmarkButton.dialog.title' | translate }}\r\n</h1>\r\n<div mat-dialog-content class=\"mat-typography\">\r\n <mat-form-field>\r\n <input\r\n matInput\r\n required\r\n autocomplete=\"off\"\r\n maxlength=\"128\"\r\n [placeholder]=\"\r\n 'igo.context.bookmarkButton.dialog.placeholder' | translate\r\n \"\r\n [(ngModel)]=\"title\"\r\n />\r\n </mat-form-field>\r\n</div>\r\n<div mat-dialog-actions>\r\n <button\r\n mat-button\r\n color=\"primary\"\r\n [disabled]=\"!title\"\r\n (click)=\"dialogRef.close(title)\"\r\n >\r\n {{ 'igo.common.confirmDialog.confirmBtn' | translate }}\r\n </button>\r\n <button mat-button (click)=\"dialogRef.close(false)\">\r\n {{ 'igo.common.confirmDialog.cancelBtn' | translate }}\r\n </button>\r\n</div>\r\n" }]
1222
+ }], ctorParameters: function () { return [{ type: i1$3.MatDialogRef }]; } });
1378
1223
 
1379
1224
  class BookmarkButtonComponent {
1380
1225
  dialog;
@@ -1415,26 +1260,17 @@ class BookmarkButtonComponent {
1415
1260
  }
1416
1261
  });
1417
1262
  }
1418
- static ɵfac = function BookmarkButtonComponent_Factory(t) { return new (t || BookmarkButtonComponent)(i0.ɵɵdirectiveInject(i1$3.MatDialog), i0.ɵɵdirectiveInject(ContextService), i0.ɵɵdirectiveInject(i3.MessageService)); };
1419
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: BookmarkButtonComponent, selectors: [["igo-bookmark-button"]], inputs: { map: "map", color: "color" }, decls: 4, vars: 4, consts: [[1, "igo-bookmark-button-container"], ["mat-icon-button", "", "matTooltipPosition", "above", 3, "matTooltip", "color", "click"], ["svgIcon", "star"]], template: function BookmarkButtonComponent_Template(rf, ctx) { if (rf & 1) {
1420
- i0.ɵɵelementStart(0, "div", 0)(1, "button", 1);
1421
- i0.ɵɵlistener("click", function BookmarkButtonComponent_Template_button_click_1_listener() { return ctx.createContext(); });
1422
- i0.ɵɵpipe(2, "translate");
1423
- i0.ɵɵelement(3, "mat-icon", 2);
1424
- i0.ɵɵelementEnd()();
1425
- } if (rf & 2) {
1426
- i0.ɵɵadvance(1);
1427
- i0.ɵɵproperty("matTooltip", i0.ɵɵpipeBind1(2, 2, "igo.context.bookmarkButton.create"))("color", ctx.color);
1428
- } }, dependencies: [i7.MatIconButton, i6$2.MatIcon, i6$3.MatTooltip, i9$1.TranslatePipe], styles: ["[_nghost-%COMP%] button[_ngcontent-%COMP%]{border-radius:0!important}[_nghost-%COMP%] button[_ngcontent-%COMP%] .mat-ripple[_ngcontent-%COMP%], [_nghost-%COMP%] button[_ngcontent-%COMP%] .mdc-icon-button__ripple[_ngcontent-%COMP%]{border-radius:0!important}[_nghost-%COMP%] .igo-bookmark-button-container[_ngcontent-%COMP%]{width:40px}[_nghost-%COMP%] .igo-bookmark-button-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{background-color:#fff}[_nghost-%COMP%] .igo-bookmark-button-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:hover{background-color:#efefef}"] });
1263
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BookmarkButtonComponent, deps: [{ token: i1$3.MatDialog }, { token: ContextService }, { token: i3.MessageService }], target: i0.ɵɵFactoryTarget.Component });
1264
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: BookmarkButtonComponent, selector: "igo-bookmark-button", inputs: { map: "map", color: "color" }, ngImport: i0, template: "<div class=\"igo-bookmark-button-container\">\r\n <button\r\n mat-icon-button\r\n [matTooltip]=\"'igo.context.bookmarkButton.create' | translate\"\r\n matTooltipPosition=\"above\"\r\n [color]=\"color\"\r\n (click)=\"createContext()\"\r\n >\r\n <mat-icon svgIcon=\"star\"></mat-icon>\r\n </button>\r\n</div>\r\n", styles: [":host button{border-radius:0!important}:host button .mat-ripple,:host button .mdc-icon-button__ripple{border-radius:0!important}:host .igo-bookmark-button-container{width:40px}:host .igo-bookmark-button-container button{background-color:#fff}:host .igo-bookmark-button-container button:hover{background-color:#efefef}\n"], dependencies: [{ kind: "component", type: i7.MatIconButton, selector: "button[mat-icon-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "component", type: i6$2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: i6$3.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }, { kind: "pipe", type: i9$1.TranslatePipe, name: "translate" }] });
1429
1265
  }
1430
- (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(BookmarkButtonComponent, [{
1431
- type: Component,
1432
- args: [{ selector: 'igo-bookmark-button', template: "<div class=\"igo-bookmark-button-container\">\r\n <button\r\n mat-icon-button\r\n [matTooltip]=\"'igo.context.bookmarkButton.create' | translate\"\r\n matTooltipPosition=\"above\"\r\n [color]=\"color\"\r\n (click)=\"createContext()\"\r\n >\r\n <mat-icon svgIcon=\"star\"></mat-icon>\r\n </button>\r\n</div>\r\n", styles: [":host button{border-radius:0!important}:host button .mat-ripple,:host button .mdc-icon-button__ripple{border-radius:0!important}:host .igo-bookmark-button-container{width:40px}:host .igo-bookmark-button-container button{background-color:#fff}:host .igo-bookmark-button-container button:hover{background-color:#efefef}\n"] }]
1433
- }], function () { return [{ type: i1$3.MatDialog }, { type: ContextService }, { type: i3.MessageService }]; }, { map: [{
1434
- type: Input
1435
- }], color: [{
1436
- type: Input
1437
- }] }); })();
1266
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BookmarkButtonComponent, decorators: [{
1267
+ type: Component,
1268
+ args: [{ selector: 'igo-bookmark-button', template: "<div class=\"igo-bookmark-button-container\">\r\n <button\r\n mat-icon-button\r\n [matTooltip]=\"'igo.context.bookmarkButton.create' | translate\"\r\n matTooltipPosition=\"above\"\r\n [color]=\"color\"\r\n (click)=\"createContext()\"\r\n >\r\n <mat-icon svgIcon=\"star\"></mat-icon>\r\n </button>\r\n</div>\r\n", styles: [":host button{border-radius:0!important}:host button .mat-ripple,:host button .mdc-icon-button__ripple{border-radius:0!important}:host .igo-bookmark-button-container{width:40px}:host .igo-bookmark-button-container button{background-color:#fff}:host .igo-bookmark-button-container button:hover{background-color:#efefef}\n"] }]
1269
+ }], ctorParameters: function () { return [{ type: i1$3.MatDialog }, { type: ContextService }, { type: i3.MessageService }]; }, propDecorators: { map: [{
1270
+ type: Input
1271
+ }], color: [{
1272
+ type: Input
1273
+ }] } });
1438
1274
 
1439
1275
  class PoiDialogComponent {
1440
1276
  dialogRef;
@@ -1442,43 +1278,13 @@ class PoiDialogComponent {
1442
1278
  constructor(dialogRef) {
1443
1279
  this.dialogRef = dialogRef;
1444
1280
  }
1445
- static ɵfac = function PoiDialogComponent_Factory(t) { return new (t || PoiDialogComponent)(i0.ɵɵdirectiveInject(i1$3.MatDialogRef)); };
1446
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoiDialogComponent, selectors: [["igo-poi-dialog"]], decls: 14, vars: 14, consts: [["mat-dialog-title", "", 1, "mat-typography"], ["mat-dialog-content", ""], ["matInput", "", "required", "", "autocomplete", "off", 3, "placeholder", "ngModel", "ngModelChange"], ["mat-dialog-actions", ""], ["mat-button", "", "color", "primary", 3, "disabled", "click"], ["mat-button", "", 3, "click"]], template: function PoiDialogComponent_Template(rf, ctx) { if (rf & 1) {
1447
- i0.ɵɵelementStart(0, "h1", 0);
1448
- i0.ɵɵtext(1);
1449
- i0.ɵɵpipe(2, "translate");
1450
- i0.ɵɵelementEnd();
1451
- i0.ɵɵelementStart(3, "div", 1)(4, "mat-form-field")(5, "input", 2);
1452
- i0.ɵɵlistener("ngModelChange", function PoiDialogComponent_Template_input_ngModelChange_5_listener($event) { return ctx.title = $event; });
1453
- i0.ɵɵpipe(6, "translate");
1454
- i0.ɵɵelementEnd()()();
1455
- i0.ɵɵelementStart(7, "div", 3)(8, "button", 4);
1456
- i0.ɵɵlistener("click", function PoiDialogComponent_Template_button_click_8_listener() { return ctx.dialogRef.close(ctx.title); });
1457
- i0.ɵɵtext(9);
1458
- i0.ɵɵpipe(10, "translate");
1459
- i0.ɵɵelementEnd();
1460
- i0.ɵɵelementStart(11, "button", 5);
1461
- i0.ɵɵlistener("click", function PoiDialogComponent_Template_button_click_11_listener() { return ctx.dialogRef.close(false); });
1462
- i0.ɵɵtext(12);
1463
- i0.ɵɵpipe(13, "translate");
1464
- i0.ɵɵelementEnd()();
1465
- } if (rf & 2) {
1466
- i0.ɵɵadvance(1);
1467
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 6, "igo.context.poiButton.dialog.title"), "\n");
1468
- i0.ɵɵadvance(4);
1469
- i0.ɵɵproperty("placeholder", i0.ɵɵpipeBind1(6, 8, "igo.context.poiButton.dialog.placeholder"))("ngModel", ctx.title);
1470
- i0.ɵɵadvance(3);
1471
- i0.ɵɵproperty("disabled", !ctx.title);
1472
- i0.ɵɵadvance(1);
1473
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(10, 10, "igo.common.confirmDialog.confirmBtn"), " ");
1474
- i0.ɵɵadvance(3);
1475
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(13, 12, "igo.common.confirmDialog.cancelBtn"), " ");
1476
- } }, dependencies: [i1$2.DefaultValueAccessor, i1$2.NgControlStatus, i1$2.RequiredValidator, i1$2.NgModel, i7.MatButton, i1$3.MatDialogTitle, i1$3.MatDialogContent, i1$3.MatDialogActions, i6$1.MatFormField, i5.MatInput, i9$1.TranslatePipe], encapsulation: 2 });
1281
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PoiDialogComponent, deps: [{ token: i1$3.MatDialogRef }], target: i0.ɵɵFactoryTarget.Component });
1282
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: PoiDialogComponent, selector: "igo-poi-dialog", ngImport: i0, template: "<h1 mat-dialog-title class=\"mat-typography\">\r\n {{ 'igo.context.poiButton.dialog.title' | translate }}\r\n</h1>\r\n<div mat-dialog-content>\r\n <mat-form-field>\r\n <input\r\n matInput\r\n required\r\n autocomplete=\"off\"\r\n [placeholder]=\"'igo.context.poiButton.dialog.placeholder' | translate\"\r\n [(ngModel)]=\"title\"\r\n />\r\n </mat-form-field>\r\n</div>\r\n<div mat-dialog-actions>\r\n <button\r\n mat-button\r\n color=\"primary\"\r\n [disabled]=\"!title\"\r\n (click)=\"dialogRef.close(title)\"\r\n >\r\n {{ 'igo.common.confirmDialog.confirmBtn' | translate }}\r\n </button>\r\n <button mat-button (click)=\"dialogRef.close(false)\">\r\n {{ 'igo.common.confirmDialog.cancelBtn' | translate }}\r\n </button>\r\n</div>\r\n", dependencies: [{ kind: "directive", type: i1$2.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$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$2.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i1$2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i7.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$3.MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { kind: "directive", type: i1$3.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "directive", type: i1$3.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }, { kind: "component", type: i6$1.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i5.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { kind: "pipe", type: i9$1.TranslatePipe, name: "translate" }] });
1477
1283
  }
1478
- (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoiDialogComponent, [{
1479
- type: Component,
1480
- args: [{ selector: 'igo-poi-dialog', template: "<h1 mat-dialog-title class=\"mat-typography\">\r\n {{ 'igo.context.poiButton.dialog.title' | translate }}\r\n</h1>\r\n<div mat-dialog-content>\r\n <mat-form-field>\r\n <input\r\n matInput\r\n required\r\n autocomplete=\"off\"\r\n [placeholder]=\"'igo.context.poiButton.dialog.placeholder' | translate\"\r\n [(ngModel)]=\"title\"\r\n />\r\n </mat-form-field>\r\n</div>\r\n<div mat-dialog-actions>\r\n <button\r\n mat-button\r\n color=\"primary\"\r\n [disabled]=\"!title\"\r\n (click)=\"dialogRef.close(title)\"\r\n >\r\n {{ 'igo.common.confirmDialog.confirmBtn' | translate }}\r\n </button>\r\n <button mat-button (click)=\"dialogRef.close(false)\">\r\n {{ 'igo.common.confirmDialog.cancelBtn' | translate }}\r\n </button>\r\n</div>\r\n" }]
1481
- }], function () { return [{ type: i1$3.MatDialogRef }]; }, null); })();
1284
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PoiDialogComponent, decorators: [{
1285
+ type: Component,
1286
+ args: [{ selector: 'igo-poi-dialog', template: "<h1 mat-dialog-title class=\"mat-typography\">\r\n {{ 'igo.context.poiButton.dialog.title' | translate }}\r\n</h1>\r\n<div mat-dialog-content>\r\n <mat-form-field>\r\n <input\r\n matInput\r\n required\r\n autocomplete=\"off\"\r\n [placeholder]=\"'igo.context.poiButton.dialog.placeholder' | translate\"\r\n [(ngModel)]=\"title\"\r\n />\r\n </mat-form-field>\r\n</div>\r\n<div mat-dialog-actions>\r\n <button\r\n mat-button\r\n color=\"primary\"\r\n [disabled]=\"!title\"\r\n (click)=\"dialogRef.close(title)\"\r\n >\r\n {{ 'igo.common.confirmDialog.confirmBtn' | translate }}\r\n </button>\r\n <button mat-button (click)=\"dialogRef.close(false)\">\r\n {{ 'igo.common.confirmDialog.cancelBtn' | translate }}\r\n </button>\r\n</div>\r\n" }]
1287
+ }], ctorParameters: function () { return [{ type: i1$3.MatDialogRef }]; } });
1482
1288
 
1483
1289
  class PoiService {
1484
1290
  http;
@@ -1504,30 +1310,13 @@ class PoiService {
1504
1310
  const url = this.baseUrl + '/pois';
1505
1311
  return this.http.post(url, context);
1506
1312
  }
1507
- static ɵfac = function PoiService_Factory(t) { return new (t || PoiService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(i3.ConfigService)); };
1508
- static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: PoiService, factory: PoiService.ɵfac });
1313
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PoiService, deps: [{ token: i1.HttpClient }, { token: i3.ConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
1314
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PoiService });
1509
1315
  }
1510
- (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoiService, [{
1511
- type: Injectable
1512
- }], function () { return [{ type: i1.HttpClient }, { type: i3.ConfigService }]; }, null); })();
1316
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PoiService, decorators: [{
1317
+ type: Injectable
1318
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: i3.ConfigService }]; } });
1513
1319
 
1514
- function PoiButtonComponent_mat_option_9_Template(rf, ctx) { if (rf & 1) {
1515
- const _r3 = i0.ɵɵgetCurrentView();
1516
- i0.ɵɵelementStart(0, "mat-option", 6);
1517
- i0.ɵɵlistener("click", function PoiButtonComponent_mat_option_9_Template_mat_option_click_0_listener() { const restoredCtx = i0.ɵɵrestoreView(_r3); const poi_r1 = restoredCtx.$implicit; const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.zoomOnPoi(poi_r1.id)); });
1518
- i0.ɵɵelementStart(1, "div", 2);
1519
- i0.ɵɵtext(2);
1520
- i0.ɵɵelementEnd();
1521
- i0.ɵɵelementStart(3, "button", 7);
1522
- i0.ɵɵlistener("click", function PoiButtonComponent_mat_option_9_Template_button_click_3_listener() { const restoredCtx = i0.ɵɵrestoreView(_r3); const poi_r1 = restoredCtx.$implicit; const ctx_r4 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r4.deletePoi(poi_r1)); });
1523
- i0.ɵɵelement(4, "mat-icon", 8);
1524
- i0.ɵɵelementEnd()();
1525
- } if (rf & 2) {
1526
- const poi_r1 = ctx.$implicit;
1527
- i0.ɵɵproperty("value", poi_r1.id);
1528
- i0.ɵɵadvance(2);
1529
- i0.ɵɵtextInterpolate(poi_r1.title);
1530
- } }
1531
1320
  class PoiButtonComponent {
1532
1321
  dialog;
1533
1322
  authService;
@@ -1634,39 +1423,17 @@ class PoiButtonComponent {
1634
1423
  easing: oleasing.easeOut
1635
1424
  });
1636
1425
  }
1637
- static ɵfac = function PoiButtonComponent_Factory(t) { return new (t || PoiButtonComponent)(i0.ɵɵdirectiveInject(i1$3.MatDialog), i0.ɵɵdirectiveInject(i2.AuthService), i0.ɵɵdirectiveInject(PoiService), i0.ɵɵdirectiveInject(i3.MessageService), i0.ɵɵdirectiveInject(i3.LanguageService), i0.ɵɵdirectiveInject(i13.ConfirmDialogService)); };
1638
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoiButtonComponent, selectors: [["igo-poi-button"]], inputs: { map: "map", color: "color" }, decls: 10, vars: 7, consts: [["floatPlaceholder", "never", 3, "placeholder"], [1, "poi-option", 3, "click"], [1, "titlePoi"], ["igoStopPropagation", "", "mat-icon-button", "", "color", "primary", 3, "click"], ["svgIcon", "plus-circle"], ["class", "poi-option", 3, "value", "click", 4, "ngFor", "ngForOf"], [1, "poi-option", 3, "value", "click"], ["mat-icon-button", "", "igoStopPropagation", "", "color", "warn", 3, "click"], ["svgIcon", "delete"]], template: function PoiButtonComponent_Template(rf, ctx) { if (rf & 1) {
1639
- i0.ɵɵelementStart(0, "mat-select", 0);
1640
- i0.ɵɵpipe(1, "translate");
1641
- i0.ɵɵelementStart(2, "mat-option", 1);
1642
- i0.ɵɵlistener("click", function PoiButtonComponent_Template_mat_option_click_2_listener() { return ctx.createPoi(); });
1643
- i0.ɵɵelementStart(3, "div", 2);
1644
- i0.ɵɵtext(4);
1645
- i0.ɵɵpipe(5, "translate");
1646
- i0.ɵɵelementEnd();
1647
- i0.ɵɵelementStart(6, "button", 3);
1648
- i0.ɵɵlistener("click", function PoiButtonComponent_Template_button_click_6_listener() { return ctx.createPoi(); });
1649
- i0.ɵɵelement(7, "mat-icon", 4);
1650
- i0.ɵɵelementEnd()();
1651
- i0.ɵɵelement(8, "mat-divider");
1652
- i0.ɵɵtemplate(9, PoiButtonComponent_mat_option_9_Template, 5, 2, "mat-option", 5);
1653
- i0.ɵɵelementEnd();
1654
- } if (rf & 2) {
1655
- i0.ɵɵproperty("placeholder", i0.ɵɵpipeBind1(1, 3, "igo.context.poiButton.placeholder"));
1656
- i0.ɵɵadvance(4);
1657
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(5, 5, "igo.context.poiButton.create"), " ");
1658
- i0.ɵɵadvance(5);
1659
- i0.ɵɵproperty("ngForOf", ctx.pois);
1660
- } }, dependencies: [i6.NgForOf, i13.StopPropagationDirective, i7.MatIconButton, i9.MatDivider, i6$2.MatIcon, i12.MatOption, i11.MatSelect, i9$1.TranslatePipe], styles: ["[_nghost-%COMP%]{background-color:#fff;padding:0 8px;height:100%}mat-select[_ngcontent-%COMP%]{width:150px;height:100%}mat-select[_ngcontent-%COMP%] .mat-mdc-select-trigger{height:100%} .poi-option .mdc-list-item__primary-text{display:flex;justify-content:space-between;align-items:center;flex:1;overflow:visible} .poi-option button{margin-right:-16px}"] });
1426
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PoiButtonComponent, deps: [{ token: i1$3.MatDialog }, { token: i2.AuthService }, { token: PoiService }, { token: i3.MessageService }, { token: i3.LanguageService }, { token: i13.ConfirmDialogService }], target: i0.ɵɵFactoryTarget.Component });
1427
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: PoiButtonComponent, selector: "igo-poi-button", inputs: { map: "map", color: "color" }, ngImport: i0, template: "<mat-select\r\n [placeholder]=\"'igo.context.poiButton.placeholder' | translate\"\r\n floatPlaceholder=\"never\"\r\n>\r\n <mat-option (click)=\"createPoi()\" class=\"poi-option\">\r\n <div class=\"titlePoi\">\r\n {{ 'igo.context.poiButton.create' | translate }}\r\n </div>\r\n <button\r\n igoStopPropagation\r\n mat-icon-button\r\n color=\"primary\"\r\n (click)=\"createPoi()\"\r\n >\r\n <mat-icon svgIcon=\"plus-circle\"></mat-icon>\r\n </button>\r\n </mat-option>\r\n <mat-divider></mat-divider>\r\n <mat-option\r\n *ngFor=\"let poi of pois\"\r\n class=\"poi-option\"\r\n [value]=\"poi.id\"\r\n (click)=\"zoomOnPoi(poi.id)\"\r\n >\r\n <div class=\"titlePoi\">{{ poi.title }}</div>\r\n <button\r\n mat-icon-button\r\n igoStopPropagation\r\n color=\"warn\"\r\n (click)=\"deletePoi(poi)\"\r\n >\r\n <mat-icon svgIcon=\"delete\"></mat-icon>\r\n </button>\r\n </mat-option>\r\n</mat-select>\r\n", styles: [":host{background-color:#fff;padding:0 8px;height:100%}mat-select{width:150px;height:100%}mat-select ::ng-deep .mat-mdc-select-trigger{height:100%}::ng-deep .poi-option .mdc-list-item__primary-text{display:flex;justify-content:space-between;align-items:center;flex:1;overflow:visible}::ng-deep .poi-option button{margin-right:-16px}\n"], dependencies: [{ kind: "directive", type: i6.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i13.StopPropagationDirective, selector: "[igoStopPropagation]" }, { kind: "component", type: i7.MatIconButton, selector: "button[mat-icon-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "component", type: i9.MatDivider, selector: "mat-divider", inputs: ["vertical", "inset"] }, { kind: "component", type: i6$2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i12.MatOption, selector: "mat-option", exportAs: ["matOption"] }, { kind: "component", type: i11.MatSelect, selector: "mat-select", inputs: ["disabled", "disableRipple", "tabIndex", "panelWidth", "hideSingleSelectionIndicator"], exportAs: ["matSelect"] }, { kind: "pipe", type: i9$1.TranslatePipe, name: "translate" }] });
1661
1428
  }
1662
- (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoiButtonComponent, [{
1663
- type: Component,
1664
- args: [{ selector: 'igo-poi-button', template: "<mat-select\r\n [placeholder]=\"'igo.context.poiButton.placeholder' | translate\"\r\n floatPlaceholder=\"never\"\r\n>\r\n <mat-option (click)=\"createPoi()\" class=\"poi-option\">\r\n <div class=\"titlePoi\">\r\n {{ 'igo.context.poiButton.create' | translate }}\r\n </div>\r\n <button\r\n igoStopPropagation\r\n mat-icon-button\r\n color=\"primary\"\r\n (click)=\"createPoi()\"\r\n >\r\n <mat-icon svgIcon=\"plus-circle\"></mat-icon>\r\n </button>\r\n </mat-option>\r\n <mat-divider></mat-divider>\r\n <mat-option\r\n *ngFor=\"let poi of pois\"\r\n class=\"poi-option\"\r\n [value]=\"poi.id\"\r\n (click)=\"zoomOnPoi(poi.id)\"\r\n >\r\n <div class=\"titlePoi\">{{ poi.title }}</div>\r\n <button\r\n mat-icon-button\r\n igoStopPropagation\r\n color=\"warn\"\r\n (click)=\"deletePoi(poi)\"\r\n >\r\n <mat-icon svgIcon=\"delete\"></mat-icon>\r\n </button>\r\n </mat-option>\r\n</mat-select>\r\n", styles: [":host{background-color:#fff;padding:0 8px;height:100%}mat-select{width:150px;height:100%}mat-select ::ng-deep .mat-mdc-select-trigger{height:100%}::ng-deep .poi-option .mdc-list-item__primary-text{display:flex;justify-content:space-between;align-items:center;flex:1;overflow:visible}::ng-deep .poi-option button{margin-right:-16px}\n"] }]
1665
- }], function () { return [{ type: i1$3.MatDialog }, { type: i2.AuthService }, { type: PoiService }, { type: i3.MessageService }, { type: i3.LanguageService }, { type: i13.ConfirmDialogService }]; }, { map: [{
1666
- type: Input
1667
- }], color: [{
1668
- type: Input
1669
- }] }); })();
1429
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PoiButtonComponent, decorators: [{
1430
+ type: Component,
1431
+ args: [{ selector: 'igo-poi-button', template: "<mat-select\r\n [placeholder]=\"'igo.context.poiButton.placeholder' | translate\"\r\n floatPlaceholder=\"never\"\r\n>\r\n <mat-option (click)=\"createPoi()\" class=\"poi-option\">\r\n <div class=\"titlePoi\">\r\n {{ 'igo.context.poiButton.create' | translate }}\r\n </div>\r\n <button\r\n igoStopPropagation\r\n mat-icon-button\r\n color=\"primary\"\r\n (click)=\"createPoi()\"\r\n >\r\n <mat-icon svgIcon=\"plus-circle\"></mat-icon>\r\n </button>\r\n </mat-option>\r\n <mat-divider></mat-divider>\r\n <mat-option\r\n *ngFor=\"let poi of pois\"\r\n class=\"poi-option\"\r\n [value]=\"poi.id\"\r\n (click)=\"zoomOnPoi(poi.id)\"\r\n >\r\n <div class=\"titlePoi\">{{ poi.title }}</div>\r\n <button\r\n mat-icon-button\r\n igoStopPropagation\r\n color=\"warn\"\r\n (click)=\"deletePoi(poi)\"\r\n >\r\n <mat-icon svgIcon=\"delete\"></mat-icon>\r\n </button>\r\n </mat-option>\r\n</mat-select>\r\n", styles: [":host{background-color:#fff;padding:0 8px;height:100%}mat-select{width:150px;height:100%}mat-select ::ng-deep .mat-mdc-select-trigger{height:100%}::ng-deep .poi-option .mdc-list-item__primary-text{display:flex;justify-content:space-between;align-items:center;flex:1;overflow:visible}::ng-deep .poi-option button{margin-right:-16px}\n"] }]
1432
+ }], ctorParameters: function () { return [{ type: i1$3.MatDialog }, { type: i2.AuthService }, { type: PoiService }, { type: i3.MessageService }, { type: i3.LanguageService }, { type: i13.ConfirmDialogService }]; }, propDecorators: { map: [{
1433
+ type: Input
1434
+ }], color: [{
1435
+ type: Input
1436
+ }] } });
1670
1437
 
1671
1438
  function userButtonSlideInOut() {
1672
1439
  return trigger('userButtonState', [
@@ -1695,96 +1462,20 @@ class UserDialogComponent {
1695
1462
  this.auth = auth;
1696
1463
  this.storageService = storageService;
1697
1464
  const decodeToken = this.auth.decodeToken();
1698
- this.user = decodeToken.user;
1465
+ this.user = decodeToken?.user;
1699
1466
  this.exp = new Date(decodeToken.exp * 1000).toLocaleString();
1700
1467
  }
1701
1468
  clearPreferences() {
1702
1469
  this.storageService.clear();
1703
1470
  }
1704
- static ɵfac = function UserDialogComponent_Factory(t) { return new (t || UserDialogComponent)(i0.ɵɵdirectiveInject(i1$3.MatDialogRef), i0.ɵɵdirectiveInject(i2.AuthService), i0.ɵɵdirectiveInject(i3.StorageService)); };
1705
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: UserDialogComponent, selectors: [["igo-user-dialog"]], decls: 20, vars: 18, consts: [["mat-dialog-title", "", 1, "mat-typography"], ["mat-dialog-content", "", 1, "mat-typography"], ["mat-stroked-button", "", "color", "primary", 3, "click"], ["mat-dialog-actions", "", 2, "justify-content", "center"], ["mat-raised-button", "", "color", "primary", 3, "click"]], template: function UserDialogComponent_Template(rf, ctx) { if (rf & 1) {
1706
- i0.ɵɵelementStart(0, "h1", 0);
1707
- i0.ɵɵtext(1);
1708
- i0.ɵɵpipe(2, "translate");
1709
- i0.ɵɵelementEnd();
1710
- i0.ɵɵelementStart(3, "div", 1)(4, "p");
1711
- i0.ɵɵtext(5);
1712
- i0.ɵɵpipe(6, "translate");
1713
- i0.ɵɵelementEnd();
1714
- i0.ɵɵelementStart(7, "p");
1715
- i0.ɵɵtext(8);
1716
- i0.ɵɵpipe(9, "translate");
1717
- i0.ɵɵelementEnd();
1718
- i0.ɵɵelementStart(10, "p");
1719
- i0.ɵɵtext(11);
1720
- i0.ɵɵpipe(12, "translate");
1721
- i0.ɵɵelementEnd();
1722
- i0.ɵɵelementStart(13, "button", 2);
1723
- i0.ɵɵlistener("click", function UserDialogComponent_Template_button_click_13_listener() { return ctx.clearPreferences(); });
1724
- i0.ɵɵtext(14);
1725
- i0.ɵɵpipe(15, "translate");
1726
- i0.ɵɵelementEnd();
1727
- i0.ɵɵelement(16, "br");
1728
- i0.ɵɵelementEnd();
1729
- i0.ɵɵelementStart(17, "div", 3)(18, "button", 4);
1730
- i0.ɵɵlistener("click", function UserDialogComponent_Template_button_click_18_listener() { return ctx.dialogRef.close(false); });
1731
- i0.ɵɵtext(19, " OK ");
1732
- i0.ɵɵelementEnd()();
1733
- } if (rf & 2) {
1734
- i0.ɵɵadvance(1);
1735
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 8, "igo.context.userButton.infoTitle"), "\n");
1736
- i0.ɵɵadvance(4);
1737
- i0.ɵɵtextInterpolate2(" ", i0.ɵɵpipeBind1(6, 10, "igo.context.userButton.dialog.user"), ": ", ctx.user.sourceId, " ");
1738
- i0.ɵɵadvance(3);
1739
- i0.ɵɵtextInterpolate2(" ", i0.ɵɵpipeBind1(9, 12, "igo.context.userButton.dialog.email"), ": ", ctx.user.email, " ");
1740
- i0.ɵɵadvance(3);
1741
- i0.ɵɵtextInterpolate2("", i0.ɵɵpipeBind1(12, 14, "igo.context.userButton.dialog.expiration"), ": ", ctx.exp, "");
1742
- i0.ɵɵadvance(3);
1743
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(15, 16, "igo.context.userButton.dialog.clearPreferences"), " ");
1744
- } }, dependencies: [i7.MatButton, i1$3.MatDialogTitle, i1$3.MatDialogContent, i1$3.MatDialogActions, i9$1.TranslatePipe], encapsulation: 2 });
1471
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: UserDialogComponent, deps: [{ token: i1$3.MatDialogRef }, { token: i2.AuthService }, { token: i3.StorageService }], target: i0.ɵɵFactoryTarget.Component });
1472
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: UserDialogComponent, selector: "igo-user-dialog", ngImport: i0, template: "<h1 mat-dialog-title class=\"mat-typography\">\r\n {{ 'igo.context.userButton.infoTitle' | translate }}\r\n</h1>\r\n<div mat-dialog-content class=\"mat-typography\">\r\n <p>\r\n {{ 'igo.context.userButton.dialog.user' | translate }}: {{ user.sourceId }}\r\n </p>\r\n <p>\r\n {{ 'igo.context.userButton.dialog.email' | translate }}: {{ user.email }}\r\n </p>\r\n <p>{{ 'igo.context.userButton.dialog.expiration' | translate }}: {{ exp }}</p>\r\n <button mat-stroked-button color=\"primary\" (click)=\"clearPreferences()\">\r\n {{ 'igo.context.userButton.dialog.clearPreferences' | translate }}\r\n </button>\r\n <br />\r\n</div>\r\n<div mat-dialog-actions style=\"justify-content: center\">\r\n <button mat-raised-button color=\"primary\" (click)=\"dialogRef.close(false)\">\r\n OK\r\n </button>\r\n</div>\r\n", dependencies: [{ kind: "component", type: i7.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$3.MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { kind: "directive", type: i1$3.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "directive", type: i1$3.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }, { kind: "pipe", type: i9$1.TranslatePipe, name: "translate" }] });
1745
1473
  }
1746
- (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(UserDialogComponent, [{
1747
- type: Component,
1748
- args: [{ selector: 'igo-user-dialog', template: "<h1 mat-dialog-title class=\"mat-typography\">\r\n {{ 'igo.context.userButton.infoTitle' | translate }}\r\n</h1>\r\n<div mat-dialog-content class=\"mat-typography\">\r\n <p>\r\n {{ 'igo.context.userButton.dialog.user' | translate }}: {{ user.sourceId }}\r\n </p>\r\n <p>\r\n {{ 'igo.context.userButton.dialog.email' | translate }}: {{ user.email }}\r\n </p>\r\n <p>{{ 'igo.context.userButton.dialog.expiration' | translate }}: {{ exp }}</p>\r\n <button mat-stroked-button color=\"primary\" (click)=\"clearPreferences()\">\r\n {{ 'igo.context.userButton.dialog.clearPreferences' | translate }}\r\n </button>\r\n <br />\r\n</div>\r\n<div mat-dialog-actions style=\"justify-content: center\">\r\n <button mat-raised-button color=\"primary\" (click)=\"dialogRef.close(false)\">\r\n OK\r\n </button>\r\n</div>\r\n" }]
1749
- }], function () { return [{ type: i1$3.MatDialogRef }, { type: i2.AuthService }, { type: i3.StorageService }]; }, null); })();
1474
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: UserDialogComponent, decorators: [{
1475
+ type: Component,
1476
+ args: [{ selector: 'igo-user-dialog', template: "<h1 mat-dialog-title class=\"mat-typography\">\r\n {{ 'igo.context.userButton.infoTitle' | translate }}\r\n</h1>\r\n<div mat-dialog-content class=\"mat-typography\">\r\n <p>\r\n {{ 'igo.context.userButton.dialog.user' | translate }}: {{ user.sourceId }}\r\n </p>\r\n <p>\r\n {{ 'igo.context.userButton.dialog.email' | translate }}: {{ user.email }}\r\n </p>\r\n <p>{{ 'igo.context.userButton.dialog.expiration' | translate }}: {{ exp }}</p>\r\n <button mat-stroked-button color=\"primary\" (click)=\"clearPreferences()\">\r\n {{ 'igo.context.userButton.dialog.clearPreferences' | translate }}\r\n </button>\r\n <br />\r\n</div>\r\n<div mat-dialog-actions style=\"justify-content: center\">\r\n <button mat-raised-button color=\"primary\" (click)=\"dialogRef.close(false)\">\r\n OK\r\n </button>\r\n</div>\r\n" }]
1477
+ }], ctorParameters: function () { return [{ type: i1$3.MatDialogRef }, { type: i2.AuthService }, { type: i3.StorageService }]; } });
1750
1478
 
1751
- function UserButtonComponent_div_0_igo_poi_button_2_Template(rf, ctx) { if (rf & 1) {
1752
- i0.ɵɵelement(0, "igo-poi-button", 9);
1753
- } if (rf & 2) {
1754
- const ctx_r1 = i0.ɵɵnextContext(2);
1755
- i0.ɵɵproperty("color", ctx_r1.color)("map", ctx_r1.map);
1756
- } }
1757
- function UserButtonComponent_div_0_Template(rf, ctx) { if (rf & 1) {
1758
- const _r3 = i0.ɵɵgetCurrentView();
1759
- i0.ɵɵelementStart(0, "div", 1)(1, "div", 2);
1760
- i0.ɵɵtemplate(2, UserButtonComponent_div_0_igo_poi_button_2_Template, 1, 2, "igo-poi-button", 3);
1761
- i0.ɵɵelementStart(3, "button", 4);
1762
- i0.ɵɵlistener("click", function UserButtonComponent_div_0_Template_button_click_3_listener() { i0.ɵɵrestoreView(_r3); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.infoUser()); });
1763
- i0.ɵɵpipe(4, "translate");
1764
- i0.ɵɵelement(5, "mat-icon", 5);
1765
- i0.ɵɵelementEnd();
1766
- i0.ɵɵelementStart(6, "button", 4);
1767
- i0.ɵɵlistener("click", function UserButtonComponent_div_0_Template_button_click_6_listener() { i0.ɵɵrestoreView(_r3); const ctx_r4 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r4.logout()); });
1768
- i0.ɵɵpipe(7, "translate");
1769
- i0.ɵɵelement(8, "mat-icon", 6);
1770
- i0.ɵɵelementEnd()();
1771
- i0.ɵɵelementStart(9, "button", 7);
1772
- i0.ɵɵlistener("click", function UserButtonComponent_div_0_Template_button_click_9_listener() { i0.ɵɵrestoreView(_r3); const ctx_r5 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r5.accountClick()); });
1773
- i0.ɵɵelement(10, "mat-icon", 8);
1774
- i0.ɵɵelementEnd()();
1775
- } if (rf & 2) {
1776
- const ctx_r0 = i0.ɵɵnextContext();
1777
- i0.ɵɵadvance(1);
1778
- i0.ɵɵproperty("@userButtonState", ctx_r0.expand ? "expand" : "collapse");
1779
- i0.ɵɵadvance(1);
1780
- i0.ɵɵproperty("ngIf", ctx_r0.hasApi);
1781
- i0.ɵɵadvance(1);
1782
- i0.ɵɵproperty("matTooltip", i0.ɵɵpipeBind1(4, 7, "igo.context.userButton.infoTitle"))("color", ctx_r0.color);
1783
- i0.ɵɵadvance(3);
1784
- i0.ɵɵproperty("matTooltip", i0.ɵɵpipeBind1(7, 9, "igo.context.userButton.logout"))("color", ctx_r0.color);
1785
- i0.ɵɵadvance(3);
1786
- i0.ɵɵproperty("color", ctx_r0.auth.authenticated ? ctx_r0.color : "warn");
1787
- } }
1788
1479
  class UserButtonComponent {
1789
1480
  dialog;
1790
1481
  config;
@@ -1828,21 +1519,17 @@ class UserButtonComponent {
1828
1519
  infoUser() {
1829
1520
  this.dialog.open(UserDialogComponent, { disableClose: false });
1830
1521
  }
1831
- static ɵfac = function UserButtonComponent_Factory(t) { return new (t || UserButtonComponent)(i0.ɵɵdirectiveInject(i1$3.MatDialog), i0.ɵɵdirectiveInject(i3.ConfigService), i0.ɵɵdirectiveInject(i2.AuthService)); };
1832
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: UserButtonComponent, selectors: [["igo-user-button"]], inputs: { map: "map", color: "color" }, decls: 1, vars: 1, consts: [["class", "igo-user-button-container", 4, "ngIf"], [1, "igo-user-button-container"], [1, "igo-user-button-more-container"], [3, "color", "map", 4, "ngIf"], ["mat-icon-button", "", "matTooltipPosition", "above", 3, "matTooltip", "color", "click"], ["svgIcon", "information-outline"], ["svgIcon", "power"], ["mat-icon-button", "", 3, "color", "click"], ["svgIcon", "account-box"], [3, "color", "map"]], template: function UserButtonComponent_Template(rf, ctx) { if (rf & 1) {
1833
- i0.ɵɵtemplate(0, UserButtonComponent_div_0_Template, 11, 11, "div", 0);
1834
- } if (rf & 2) {
1835
- i0.ɵɵproperty("ngIf", ctx.visible);
1836
- } }, dependencies: [i6.NgIf, i7.MatIconButton, i6$2.MatIcon, i6$3.MatTooltip, PoiButtonComponent, i9$1.TranslatePipe], styles: ["[_nghost-%COMP%] button[_ngcontent-%COMP%]{border-radius:0!important}[_nghost-%COMP%] button[_ngcontent-%COMP%] .mat-ripple[_ngcontent-%COMP%], [_nghost-%COMP%] button[_ngcontent-%COMP%] .mdc-icon-button__ripple[_ngcontent-%COMP%]{border-radius:0!important}[_nghost-%COMP%] .igo-user-button-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{background-color:#fff}[_nghost-%COMP%] .igo-user-button-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:hover{background-color:#efefef}@media only screen and (orientation:portrait) and (max-width: 599px),only screen and (orientation:landscape) and (max-width: 959px){[_nghost-%COMP%] .igo-user-button-container[_ngcontent-%COMP%] > button[_ngcontent-%COMP%]{position:absolute;bottom:0}}[_nghost-%COMP%] .igo-user-button-more-container[_ngcontent-%COMP%]{float:left;height:40px}[_nghost-%COMP%] .igo-user-button-more-container[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{margin-right:2px;float:left}@media only screen and (orientation:portrait) and (max-width: 599px),only screen and (orientation:landscape) and (max-width: 959px){[_nghost-%COMP%] .igo-user-button-more-container[_ngcontent-%COMP%]{height:80px;width:150px;position:relative;left:24px}}"], data: { animation: [userButtonSlideInOut()] } });
1522
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: UserButtonComponent, deps: [{ token: i1$3.MatDialog }, { token: i3.ConfigService }, { token: i2.AuthService }], target: i0.ɵɵFactoryTarget.Component });
1523
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: UserButtonComponent, selector: "igo-user-button", inputs: { map: "map", color: "color" }, ngImport: i0, template: "<div *ngIf=\"visible\" class=\"igo-user-button-container\">\r\n <div\r\n class=\"igo-user-button-more-container\"\r\n [@userButtonState]=\"expand ? 'expand' : 'collapse'\"\r\n >\r\n <igo-poi-button *ngIf=\"hasApi\" [color]=\"color\" [map]=\"map\"></igo-poi-button>\r\n\r\n <button\r\n mat-icon-button\r\n [matTooltip]=\"'igo.context.userButton.infoTitle' | translate\"\r\n matTooltipPosition=\"above\"\r\n [color]=\"color\"\r\n (click)=\"infoUser()\"\r\n >\r\n <mat-icon svgIcon=\"information-outline\"></mat-icon>\r\n </button>\r\n\r\n <button\r\n mat-icon-button\r\n [matTooltip]=\"'igo.context.userButton.logout' | translate\"\r\n matTooltipPosition=\"above\"\r\n [color]=\"color\"\r\n (click)=\"logout()\"\r\n >\r\n <mat-icon svgIcon=\"power\"></mat-icon>\r\n </button>\r\n </div>\r\n\r\n <button\r\n mat-icon-button\r\n [color]=\"auth.authenticated ? color : 'warn'\"\r\n (click)=\"accountClick()\"\r\n >\r\n <mat-icon svgIcon=\"account-box\"></mat-icon>\r\n </button>\r\n</div>\r\n", styles: [":host button{border-radius:0!important}:host button .mat-ripple,:host button .mdc-icon-button__ripple{border-radius:0!important}:host .igo-user-button-container{display:flex;gap:4px}:host .igo-user-button-container button{background-color:#fff}:host .igo-user-button-container button:hover{background-color:#efefef}:host .igo-user-button-more-container{display:flex;gap:4px}\n"], dependencies: [{ kind: "directive", type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i7.MatIconButton, selector: "button[mat-icon-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "component", type: i6$2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: i6$3.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }, { kind: "component", type: PoiButtonComponent, selector: "igo-poi-button", inputs: ["map", "color"] }, { kind: "pipe", type: i9$1.TranslatePipe, name: "translate" }], animations: [userButtonSlideInOut()] });
1837
1524
  }
1838
- (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(UserButtonComponent, [{
1839
- type: Component,
1840
- args: [{ selector: 'igo-user-button', animations: [userButtonSlideInOut()], template: "<div *ngIf=\"visible\" class=\"igo-user-button-container\">\r\n <div\r\n class=\"igo-user-button-more-container\"\r\n [@userButtonState]=\"expand ? 'expand' : 'collapse'\"\r\n >\r\n <igo-poi-button *ngIf=\"hasApi\" [color]=\"color\" [map]=\"map\"></igo-poi-button>\r\n\r\n <button\r\n mat-icon-button\r\n [matTooltip]=\"'igo.context.userButton.infoTitle' | translate\"\r\n matTooltipPosition=\"above\"\r\n [color]=\"color\"\r\n (click)=\"infoUser()\"\r\n >\r\n <mat-icon svgIcon=\"information-outline\"></mat-icon>\r\n </button>\r\n\r\n <button\r\n mat-icon-button\r\n [matTooltip]=\"'igo.context.userButton.logout' | translate\"\r\n matTooltipPosition=\"above\"\r\n [color]=\"color\"\r\n (click)=\"logout()\"\r\n >\r\n <mat-icon svgIcon=\"power\"></mat-icon>\r\n </button>\r\n </div>\r\n\r\n <button\r\n mat-icon-button\r\n [color]=\"auth.authenticated ? color : 'warn'\"\r\n (click)=\"accountClick()\"\r\n >\r\n <mat-icon svgIcon=\"account-box\"></mat-icon>\r\n </button>\r\n</div>\r\n", styles: [":host button{border-radius:0!important}:host button .mat-ripple,:host button .mdc-icon-button__ripple{border-radius:0!important}:host .igo-user-button-container button{background-color:#fff}:host .igo-user-button-container button:hover{background-color:#efefef}@media only screen and (orientation:portrait) and (max-width: 599px),only screen and (orientation:landscape) and (max-width: 959px){:host .igo-user-button-container>button{position:absolute;bottom:0}}:host .igo-user-button-more-container{float:left;height:40px}:host .igo-user-button-more-container>*{margin-right:2px;float:left}@media only screen and (orientation:portrait) and (max-width: 599px),only screen and (orientation:landscape) and (max-width: 959px){:host .igo-user-button-more-container{height:80px;width:150px;position:relative;left:24px}}\n"] }]
1841
- }], function () { return [{ type: i1$3.MatDialog }, { type: i3.ConfigService }, { type: i2.AuthService }]; }, { map: [{
1842
- type: Input
1843
- }], color: [{
1844
- type: Input
1845
- }] }); })();
1525
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: UserButtonComponent, decorators: [{
1526
+ type: Component,
1527
+ args: [{ selector: 'igo-user-button', animations: [userButtonSlideInOut()], template: "<div *ngIf=\"visible\" class=\"igo-user-button-container\">\r\n <div\r\n class=\"igo-user-button-more-container\"\r\n [@userButtonState]=\"expand ? 'expand' : 'collapse'\"\r\n >\r\n <igo-poi-button *ngIf=\"hasApi\" [color]=\"color\" [map]=\"map\"></igo-poi-button>\r\n\r\n <button\r\n mat-icon-button\r\n [matTooltip]=\"'igo.context.userButton.infoTitle' | translate\"\r\n matTooltipPosition=\"above\"\r\n [color]=\"color\"\r\n (click)=\"infoUser()\"\r\n >\r\n <mat-icon svgIcon=\"information-outline\"></mat-icon>\r\n </button>\r\n\r\n <button\r\n mat-icon-button\r\n [matTooltip]=\"'igo.context.userButton.logout' | translate\"\r\n matTooltipPosition=\"above\"\r\n [color]=\"color\"\r\n (click)=\"logout()\"\r\n >\r\n <mat-icon svgIcon=\"power\"></mat-icon>\r\n </button>\r\n </div>\r\n\r\n <button\r\n mat-icon-button\r\n [color]=\"auth.authenticated ? color : 'warn'\"\r\n (click)=\"accountClick()\"\r\n >\r\n <mat-icon svgIcon=\"account-box\"></mat-icon>\r\n </button>\r\n</div>\r\n", styles: [":host button{border-radius:0!important}:host button .mat-ripple,:host button .mdc-icon-button__ripple{border-radius:0!important}:host .igo-user-button-container{display:flex;gap:4px}:host .igo-user-button-container button{background-color:#fff}:host .igo-user-button-container button:hover{background-color:#efefef}:host .igo-user-button-more-container{display:flex;gap:4px}\n"] }]
1528
+ }], ctorParameters: function () { return [{ type: i1$3.MatDialog }, { type: i3.ConfigService }, { type: i2.AuthService }]; }, propDecorators: { map: [{
1529
+ type: Input
1530
+ }], color: [{
1531
+ type: Input
1532
+ }] } });
1846
1533
 
1847
1534
  class IgoContextMapButtonModule {
1848
1535
  static forRoot() {
@@ -1850,9 +1537,31 @@ class IgoContextMapButtonModule {
1850
1537
  ngModule: IgoContextMapButtonModule
1851
1538
  };
1852
1539
  }
1853
- static ɵfac = function IgoContextMapButtonModule_Factory(t) { return new (t || IgoContextMapButtonModule)(); };
1854
- static ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: IgoContextMapButtonModule });
1855
- static ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ providers: [PoiService], imports: [CommonModule,
1540
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IgoContextMapButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1541
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: IgoContextMapButtonModule, declarations: [BookmarkButtonComponent,
1542
+ BookmarkDialogComponent,
1543
+ PoiButtonComponent,
1544
+ PoiDialogComponent,
1545
+ UserButtonComponent,
1546
+ UserDialogComponent], imports: [CommonModule,
1547
+ FormsModule,
1548
+ IgoAuthModule,
1549
+ IgoConfirmDialogModule,
1550
+ IgoLanguageModule,
1551
+ IgoStopPropagationModule,
1552
+ MatButtonModule,
1553
+ MatDialogModule,
1554
+ MatDividerModule,
1555
+ MatFormFieldModule,
1556
+ MatIconModule,
1557
+ MatInputModule,
1558
+ MatOptionModule,
1559
+ MatSelectModule,
1560
+ MatTooltipModule], exports: [BookmarkButtonComponent,
1561
+ PoiButtonComponent,
1562
+ UserButtonComponent,
1563
+ BookmarkDialogComponent] });
1564
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IgoContextMapButtonModule, providers: [PoiService], imports: [CommonModule,
1856
1565
  FormsModule,
1857
1566
  IgoAuthModule,
1858
1567
  IgoConfirmDialogModule,
@@ -1868,76 +1577,44 @@ class IgoContextMapButtonModule {
1868
1577
  MatSelectModule,
1869
1578
  MatTooltipModule] });
1870
1579
  }
1871
- (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IgoContextMapButtonModule, [{
1872
- type: NgModule,
1873
- args: [{
1874
- imports: [
1875
- CommonModule,
1876
- FormsModule,
1877
- IgoAuthModule,
1878
- IgoConfirmDialogModule,
1879
- IgoLanguageModule,
1880
- IgoStopPropagationModule,
1881
- MatButtonModule,
1882
- MatDialogModule,
1883
- MatDividerModule,
1884
- MatFormFieldModule,
1885
- MatIconModule,
1886
- MatInputModule,
1887
- MatOptionModule,
1888
- MatSelectModule,
1889
- MatTooltipModule
1890
- ],
1891
- exports: [
1892
- BookmarkButtonComponent,
1893
- PoiButtonComponent,
1894
- UserButtonComponent,
1895
- BookmarkDialogComponent
1896
- ],
1897
- declarations: [
1898
- BookmarkButtonComponent,
1899
- BookmarkDialogComponent,
1900
- PoiButtonComponent,
1901
- PoiDialogComponent,
1902
- UserButtonComponent,
1903
- UserDialogComponent
1904
- ],
1905
- providers: [PoiService]
1906
- }]
1907
- }], null, null); })();
1908
- (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(IgoContextMapButtonModule, { declarations: [BookmarkButtonComponent,
1909
- BookmarkDialogComponent,
1910
- PoiButtonComponent,
1911
- PoiDialogComponent,
1912
- UserButtonComponent,
1913
- UserDialogComponent], imports: [CommonModule,
1914
- FormsModule,
1915
- IgoAuthModule,
1916
- IgoConfirmDialogModule,
1917
- IgoLanguageModule,
1918
- IgoStopPropagationModule,
1919
- MatButtonModule,
1920
- MatDialogModule,
1921
- MatDividerModule,
1922
- MatFormFieldModule,
1923
- MatIconModule,
1924
- MatInputModule,
1925
- MatOptionModule,
1926
- MatSelectModule,
1927
- MatTooltipModule], exports: [BookmarkButtonComponent,
1928
- PoiButtonComponent,
1929
- UserButtonComponent,
1930
- BookmarkDialogComponent] }); })();
1580
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IgoContextMapButtonModule, decorators: [{
1581
+ type: NgModule,
1582
+ args: [{
1583
+ imports: [
1584
+ CommonModule,
1585
+ FormsModule,
1586
+ IgoAuthModule,
1587
+ IgoConfirmDialogModule,
1588
+ IgoLanguageModule,
1589
+ IgoStopPropagationModule,
1590
+ MatButtonModule,
1591
+ MatDialogModule,
1592
+ MatDividerModule,
1593
+ MatFormFieldModule,
1594
+ MatIconModule,
1595
+ MatInputModule,
1596
+ MatOptionModule,
1597
+ MatSelectModule,
1598
+ MatTooltipModule
1599
+ ],
1600
+ exports: [
1601
+ BookmarkButtonComponent,
1602
+ PoiButtonComponent,
1603
+ UserButtonComponent,
1604
+ BookmarkDialogComponent
1605
+ ],
1606
+ declarations: [
1607
+ BookmarkButtonComponent,
1608
+ BookmarkDialogComponent,
1609
+ PoiButtonComponent,
1610
+ PoiDialogComponent,
1611
+ UserButtonComponent,
1612
+ UserDialogComponent
1613
+ ],
1614
+ providers: [PoiService]
1615
+ }]
1616
+ }] });
1931
1617
 
1932
- function ContextFormComponent_span_8_Template(rf, ctx) { if (rf & 1) {
1933
- i0.ɵɵelementStart(0, "span", 11);
1934
- i0.ɵɵtext(1);
1935
- i0.ɵɵelementEnd();
1936
- } if (rf & 2) {
1937
- const ctx_r0 = i0.ɵɵnextContext();
1938
- i0.ɵɵadvance(1);
1939
- i0.ɵɵtextInterpolate1("", ctx_r0.prefix, "-");
1940
- } }
1941
1618
  class ContextFormComponent {
1942
1619
  formBuilder;
1943
1620
  messageService;
@@ -2005,77 +1682,26 @@ class ContextFormComponent {
2005
1682
  uri: [uri || ' ']
2006
1683
  });
2007
1684
  }
2008
- static ɵfac = function ContextFormComponent_Factory(t) { return new (t || ContextFormComponent)(i0.ɵɵdirectiveInject(i1$2.UntypedFormBuilder), i0.ɵɵdirectiveInject(i3.MessageService)); };
2009
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ContextFormComponent, selectors: [["igo-context-form"]], inputs: { btnSubmitText: "btnSubmitText", context: "context", disabled: "disabled" }, outputs: { submitForm: "submitForm", clone: "clone", delete: "delete" }, decls: 19, vars: 18, consts: [[1, "igo-form", 3, "formGroup", "ngSubmit"], [1, "full-width"], ["matInput", "", "required", "", "maxlength", "128", "formControlName", "title", 3, "placeholder"], ["id", "uriInput", 1, "full-width"], ["class", "prefix", 4, "ngIf"], [1, "fieldWrapper"], ["matInput", "", "maxlength", "64", "floatLabel", "always", "formControlName", "uri", 3, "placeholder"], ["id", "copyButton", "type", "button", "mat-icon-button", "", "tooltip-position", "below", "matTooltipShowDelay", "500", "color", "primary", 3, "matTooltip", "click"], ["svgIcon", "content-copy"], [1, "igo-form-button-group"], ["mat-raised-button", "", "type", "submit", 3, "disabled"], [1, "prefix"]], template: function ContextFormComponent_Template(rf, ctx) { if (rf & 1) {
2010
- i0.ɵɵelementStart(0, "form", 0);
2011
- i0.ɵɵlistener("ngSubmit", function ContextFormComponent_Template_form_ngSubmit_0_listener() { return ctx.handleFormSubmit(ctx.form.value); });
2012
- i0.ɵɵelementStart(1, "mat-form-field", 1);
2013
- i0.ɵɵelement(2, "input", 2);
2014
- i0.ɵɵpipe(3, "translate");
2015
- i0.ɵɵelementStart(4, "mat-error");
2016
- i0.ɵɵtext(5);
2017
- i0.ɵɵpipe(6, "translate");
2018
- i0.ɵɵelementEnd()();
2019
- i0.ɵɵelementStart(7, "mat-form-field", 3);
2020
- i0.ɵɵtemplate(8, ContextFormComponent_span_8_Template, 2, 1, "span", 4);
2021
- i0.ɵɵelementStart(9, "span", 5);
2022
- i0.ɵɵelement(10, "input", 6);
2023
- i0.ɵɵpipe(11, "translate");
2024
- i0.ɵɵelementEnd()();
2025
- i0.ɵɵelementStart(12, "button", 7);
2026
- i0.ɵɵlistener("click", function ContextFormComponent_Template_button_click_12_listener() { return ctx.copyTextToClipboard(); });
2027
- i0.ɵɵpipe(13, "translate");
2028
- i0.ɵɵelement(14, "mat-icon", 8);
2029
- i0.ɵɵelementEnd();
2030
- i0.ɵɵelementStart(15, "div", 9)(16, "button", 10);
2031
- i0.ɵɵtext(17);
2032
- i0.ɵɵpipe(18, "translate");
2033
- i0.ɵɵelementEnd()()();
2034
- } if (rf & 2) {
2035
- i0.ɵɵproperty("formGroup", ctx.form);
2036
- i0.ɵɵadvance(2);
2037
- i0.ɵɵproperty("placeholder", i0.ɵɵpipeBind1(3, 8, "igo.context.contextManager.form.title"));
2038
- i0.ɵɵadvance(3);
2039
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 10, "igo.context.contextManager.form.titleRequired"), " ");
2040
- i0.ɵɵadvance(3);
2041
- i0.ɵɵproperty("ngIf", ctx.prefix);
2042
- i0.ɵɵadvance(2);
2043
- i0.ɵɵproperty("placeholder", i0.ɵɵpipeBind1(11, 12, "igo.context.contextManager.form.uri"));
2044
- i0.ɵɵadvance(2);
2045
- i0.ɵɵproperty("matTooltip", i0.ɵɵpipeBind1(13, 14, "igo.context.contextManager.form.copy"));
2046
- i0.ɵɵadvance(4);
2047
- i0.ɵɵproperty("disabled", !ctx.form.valid || ctx.disabled);
2048
- i0.ɵɵadvance(1);
2049
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(18, 16, "igo.context.contextManager.form.edit"), " ");
2050
- } }, dependencies: [i6.NgIf, i1$2.ɵNgNoValidate, i1$2.DefaultValueAccessor, i1$2.NgControlStatus, i1$2.NgControlStatusGroup, i1$2.RequiredValidator, i1$2.MaxLengthValidator, i1$2.FormGroupDirective, i1$2.FormControlName, i6$1.MatFormField, i6$1.MatError, i5.MatInput, i6$2.MatIcon, i7.MatButton, i7.MatIconButton, i6$3.MatTooltip, i9$1.TranslatePipe], styles: ["form[_ngcontent-%COMP%]{margin:10px}.full-width[_ngcontent-%COMP%]{width:100%}#uriInput[_ngcontent-%COMP%] .fieldWrapper[_ngcontent-%COMP%]{display:block;overflow:hidden}#uriInput[_ngcontent-%COMP%] .prefix[_ngcontent-%COMP%]{float:left}#copyButton[_ngcontent-%COMP%]{width:24px;float:right;position:relative;top:-58px;left:5px}"] });
1685
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ContextFormComponent, deps: [{ token: i1$2.UntypedFormBuilder }, { token: i3.MessageService }], target: i0.ɵɵFactoryTarget.Component });
1686
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: ContextFormComponent, selector: "igo-context-form", inputs: { btnSubmitText: "btnSubmitText", context: "context", disabled: "disabled" }, outputs: { submitForm: "submitForm", clone: "clone", delete: "delete" }, ngImport: i0, template: "<form\r\n class=\"igo-form\"\r\n [formGroup]=\"form\"\r\n (ngSubmit)=\"handleFormSubmit(form.value)\"\r\n>\r\n <mat-form-field class=\"full-width\">\r\n <input\r\n matInput\r\n required\r\n maxlength=\"128\"\r\n [placeholder]=\"'igo.context.contextManager.form.title' | translate\"\r\n formControlName=\"title\"\r\n />\r\n <mat-error>\r\n {{ 'igo.context.contextManager.form.titleRequired' | translate }}\r\n </mat-error>\r\n </mat-form-field>\r\n\r\n <mat-form-field id=\"uriInput\" class=\"full-width\">\r\n <span *ngIf=\"prefix\" class=\"prefix\">{{ prefix }}-</span>\r\n <span class=\"fieldWrapper\">\r\n <input\r\n matInput\r\n maxlength=\"64\"\r\n floatLabel=\"always\"\r\n [placeholder]=\"'igo.context.contextManager.form.uri' | translate\"\r\n formControlName=\"uri\"\r\n />\r\n </span>\r\n </mat-form-field>\r\n\r\n <button\r\n id=\"copyButton\"\r\n type=\"button\"\r\n mat-icon-button\r\n tooltip-position=\"below\"\r\n matTooltipShowDelay=\"500\"\r\n [matTooltip]=\"'igo.context.contextManager.form.copy' | translate\"\r\n color=\"primary\"\r\n (click)=\"copyTextToClipboard()\"\r\n >\r\n <mat-icon svgIcon=\"content-copy\"></mat-icon>\r\n </button>\r\n\r\n <div class=\"igo-form-button-group\">\r\n <button\r\n mat-raised-button\r\n type=\"submit\"\r\n [disabled]=\"!form.valid || disabled\"\r\n >\r\n {{ 'igo.context.contextManager.form.edit' | translate }}\r\n </button>\r\n </div>\r\n</form>\r\n", styles: ["form{margin:10px}.full-width{width:100%}#uriInput .fieldWrapper{display:block;overflow:hidden}#uriInput .prefix{float:left}#copyButton{width:24px;float:right;position:relative;top:-58px;left:5px}\n"], dependencies: [{ kind: "directive", type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$2.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1$2.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$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1$2.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i1$2.MaxLengthValidator, selector: "[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]", inputs: ["maxlength"] }, { kind: "directive", type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: i6$1.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i6$1.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "directive", type: i5.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { kind: "component", type: i6$2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i7.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "component", type: i7.MatIconButton, selector: "button[mat-icon-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "directive", type: i6$3.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }, { kind: "pipe", type: i9$1.TranslatePipe, name: "translate" }] });
2051
1687
  }
2052
- (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ContextFormComponent, [{
2053
- type: Component,
2054
- args: [{ selector: 'igo-context-form', template: "<form\r\n class=\"igo-form\"\r\n [formGroup]=\"form\"\r\n (ngSubmit)=\"handleFormSubmit(form.value)\"\r\n>\r\n <mat-form-field class=\"full-width\">\r\n <input\r\n matInput\r\n required\r\n maxlength=\"128\"\r\n [placeholder]=\"'igo.context.contextManager.form.title' | translate\"\r\n formControlName=\"title\"\r\n />\r\n <mat-error>\r\n {{ 'igo.context.contextManager.form.titleRequired' | translate }}\r\n </mat-error>\r\n </mat-form-field>\r\n\r\n <mat-form-field id=\"uriInput\" class=\"full-width\">\r\n <span *ngIf=\"prefix\" class=\"prefix\">{{ prefix }}-</span>\r\n <span class=\"fieldWrapper\">\r\n <input\r\n matInput\r\n maxlength=\"64\"\r\n floatLabel=\"always\"\r\n [placeholder]=\"'igo.context.contextManager.form.uri' | translate\"\r\n formControlName=\"uri\"\r\n />\r\n </span>\r\n </mat-form-field>\r\n\r\n <button\r\n id=\"copyButton\"\r\n type=\"button\"\r\n mat-icon-button\r\n tooltip-position=\"below\"\r\n matTooltipShowDelay=\"500\"\r\n [matTooltip]=\"'igo.context.contextManager.form.copy' | translate\"\r\n color=\"primary\"\r\n (click)=\"copyTextToClipboard()\"\r\n >\r\n <mat-icon svgIcon=\"content-copy\"></mat-icon>\r\n </button>\r\n\r\n <div class=\"igo-form-button-group\">\r\n <button\r\n mat-raised-button\r\n type=\"submit\"\r\n [disabled]=\"!form.valid || disabled\"\r\n >\r\n {{ 'igo.context.contextManager.form.edit' | translate }}\r\n </button>\r\n </div>\r\n</form>\r\n", styles: ["form{margin:10px}.full-width{width:100%}#uriInput .fieldWrapper{display:block;overflow:hidden}#uriInput .prefix{float:left}#copyButton{width:24px;float:right;position:relative;top:-58px;left:5px}\n"] }]
2055
- }], function () { return [{ type: i1$2.UntypedFormBuilder }, { type: i3.MessageService }]; }, { btnSubmitText: [{
2056
- type: Input
2057
- }], context: [{
2058
- type: Input
2059
- }], disabled: [{
2060
- type: Input
2061
- }], submitForm: [{
2062
- type: Output
2063
- }], clone: [{
2064
- type: Output
2065
- }], delete: [{
2066
- type: Output
2067
- }] }); })();
1688
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ContextFormComponent, decorators: [{
1689
+ type: Component,
1690
+ args: [{ selector: 'igo-context-form', template: "<form\r\n class=\"igo-form\"\r\n [formGroup]=\"form\"\r\n (ngSubmit)=\"handleFormSubmit(form.value)\"\r\n>\r\n <mat-form-field class=\"full-width\">\r\n <input\r\n matInput\r\n required\r\n maxlength=\"128\"\r\n [placeholder]=\"'igo.context.contextManager.form.title' | translate\"\r\n formControlName=\"title\"\r\n />\r\n <mat-error>\r\n {{ 'igo.context.contextManager.form.titleRequired' | translate }}\r\n </mat-error>\r\n </mat-form-field>\r\n\r\n <mat-form-field id=\"uriInput\" class=\"full-width\">\r\n <span *ngIf=\"prefix\" class=\"prefix\">{{ prefix }}-</span>\r\n <span class=\"fieldWrapper\">\r\n <input\r\n matInput\r\n maxlength=\"64\"\r\n floatLabel=\"always\"\r\n [placeholder]=\"'igo.context.contextManager.form.uri' | translate\"\r\n formControlName=\"uri\"\r\n />\r\n </span>\r\n </mat-form-field>\r\n\r\n <button\r\n id=\"copyButton\"\r\n type=\"button\"\r\n mat-icon-button\r\n tooltip-position=\"below\"\r\n matTooltipShowDelay=\"500\"\r\n [matTooltip]=\"'igo.context.contextManager.form.copy' | translate\"\r\n color=\"primary\"\r\n (click)=\"copyTextToClipboard()\"\r\n >\r\n <mat-icon svgIcon=\"content-copy\"></mat-icon>\r\n </button>\r\n\r\n <div class=\"igo-form-button-group\">\r\n <button\r\n mat-raised-button\r\n type=\"submit\"\r\n [disabled]=\"!form.valid || disabled\"\r\n >\r\n {{ 'igo.context.contextManager.form.edit' | translate }}\r\n </button>\r\n </div>\r\n</form>\r\n", styles: ["form{margin:10px}.full-width{width:100%}#uriInput .fieldWrapper{display:block;overflow:hidden}#uriInput .prefix{float:left}#copyButton{width:24px;float:right;position:relative;top:-58px;left:5px}\n"] }]
1691
+ }], ctorParameters: function () { return [{ type: i1$2.UntypedFormBuilder }, { type: i3.MessageService }]; }, propDecorators: { btnSubmitText: [{
1692
+ type: Input
1693
+ }], context: [{
1694
+ type: Input
1695
+ }], disabled: [{
1696
+ type: Input
1697
+ }], submitForm: [{
1698
+ type: Output
1699
+ }], clone: [{
1700
+ type: Output
1701
+ }], delete: [{
1702
+ type: Output
1703
+ }] } });
2068
1704
 
2069
- function ContextEditComponent_igo_context_form_0_Template(rf, ctx) { if (rf & 1) {
2070
- const _r2 = i0.ɵɵgetCurrentView();
2071
- i0.ɵɵelementStart(0, "igo-context-form", 1);
2072
- i0.ɵɵlistener("submitForm", function ContextEditComponent_igo_context_form_0_Template_igo_context_form_submitForm_0_listener($event) { i0.ɵɵrestoreView(_r2); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.submitForm.emit($event)); });
2073
- i0.ɵɵpipe(1, "translate");
2074
- i0.ɵɵelementEnd();
2075
- } if (rf & 2) {
2076
- const ctx_r0 = i0.ɵɵnextContext();
2077
- i0.ɵɵproperty("btnSubmitText", i0.ɵɵpipeBind1(1, 2, "igo.context.contextManager.save"))("context", ctx_r0.context);
2078
- } }
2079
1705
  class ContextEditComponent {
2080
1706
  cd;
2081
1707
  get context() {
@@ -2093,21 +1719,17 @@ class ContextEditComponent {
2093
1719
  refresh() {
2094
1720
  this.cd.detectChanges();
2095
1721
  }
2096
- static ɵfac = function ContextEditComponent_Factory(t) { return new (t || ContextEditComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
2097
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ContextEditComponent, selectors: [["igo-context-edit"]], inputs: { context: "context" }, outputs: { submitForm: "submitForm" }, decls: 1, vars: 1, consts: [[3, "btnSubmitText", "context", "submitForm", 4, "ngIf"], [3, "btnSubmitText", "context", "submitForm"]], template: function ContextEditComponent_Template(rf, ctx) { if (rf & 1) {
2098
- i0.ɵɵtemplate(0, ContextEditComponent_igo_context_form_0_Template, 2, 4, "igo-context-form", 0);
2099
- } if (rf & 2) {
2100
- i0.ɵɵproperty("ngIf", ctx.context);
2101
- } }, dependencies: [i6.NgIf, ContextFormComponent, i9$1.TranslatePipe], encapsulation: 2 });
1722
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ContextEditComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
1723
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: ContextEditComponent, selector: "igo-context-edit", inputs: { context: "context" }, outputs: { submitForm: "submitForm" }, ngImport: i0, template: "<igo-context-form\r\n *ngIf=\"context\"\r\n [btnSubmitText]=\"'igo.context.contextManager.save' | translate\"\r\n [context]=\"context\"\r\n (submitForm)=\"submitForm.emit($event)\"\r\n>\r\n</igo-context-form>\r\n", dependencies: [{ kind: "directive", type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: ContextFormComponent, selector: "igo-context-form", inputs: ["btnSubmitText", "context", "disabled"], outputs: ["submitForm", "clone", "delete"] }, { kind: "pipe", type: i9$1.TranslatePipe, name: "translate" }] });
2102
1724
  }
2103
- (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ContextEditComponent, [{
2104
- type: Component,
2105
- args: [{ selector: 'igo-context-edit', template: "<igo-context-form\r\n *ngIf=\"context\"\r\n [btnSubmitText]=\"'igo.context.contextManager.save' | translate\"\r\n [context]=\"context\"\r\n (submitForm)=\"submitForm.emit($event)\"\r\n>\r\n</igo-context-form>\r\n" }]
2106
- }], function () { return [{ type: i0.ChangeDetectorRef }]; }, { context: [{
2107
- type: Input
2108
- }], submitForm: [{
2109
- type: Output
2110
- }] }); })();
1725
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ContextEditComponent, decorators: [{
1726
+ type: Component,
1727
+ args: [{ selector: 'igo-context-edit', template: "<igo-context-form\r\n *ngIf=\"context\"\r\n [btnSubmitText]=\"'igo.context.contextManager.save' | translate\"\r\n [context]=\"context\"\r\n (submitForm)=\"submitForm.emit($event)\"\r\n>\r\n</igo-context-form>\r\n" }]
1728
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { context: [{
1729
+ type: Input
1730
+ }], submitForm: [{
1731
+ type: Output
1732
+ }] } });
2111
1733
 
2112
1734
  class ContextEditBindingDirective {
2113
1735
  contextService;
@@ -2139,177 +1761,23 @@ class ContextEditBindingDirective {
2139
1761
  handleEditedContextChange(context) {
2140
1762
  this.component.context = context;
2141
1763
  }
2142
- static ɵfac = function ContextEditBindingDirective_Factory(t) { return new (t || ContextEditBindingDirective)(i0.ɵɵdirectiveInject(ContextEditComponent, 2), i0.ɵɵdirectiveInject(ContextService), i0.ɵɵdirectiveInject(i3.MessageService)); };
2143
- static ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: ContextEditBindingDirective, selectors: [["", "igoContextEditBinding", ""]], hostBindings: function ContextEditBindingDirective_HostBindings(rf, ctx) { if (rf & 1) {
2144
- i0.ɵɵlistener("submitForm", function ContextEditBindingDirective_submitForm_HostBindingHandler($event) { return ctx.onEdit($event); });
2145
- } }, outputs: { submitSuccessed: "submitSuccessed" } });
1764
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ContextEditBindingDirective, deps: [{ token: ContextEditComponent, self: true }, { token: ContextService }, { token: i3.MessageService }], target: i0.ɵɵFactoryTarget.Directive });
1765
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: ContextEditBindingDirective, selector: "[igoContextEditBinding]", outputs: { submitSuccessed: "submitSuccessed" }, host: { listeners: { "submitForm": "onEdit($event)" } }, ngImport: i0 });
2146
1766
  }
2147
- (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ContextEditBindingDirective, [{
2148
- type: Directive,
2149
- args: [{
2150
- selector: '[igoContextEditBinding]'
2151
- }]
2152
- }], function () { return [{ type: ContextEditComponent, decorators: [{
2153
- type: Self
2154
- }] }, { type: ContextService }, { type: i3.MessageService }]; }, { submitSuccessed: [{
2155
- type: Output
2156
- }], onEdit: [{
2157
- type: HostListener,
2158
- args: ['submitForm', ['$event']]
2159
- }] }); })();
1767
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ContextEditBindingDirective, decorators: [{
1768
+ type: Directive,
1769
+ args: [{
1770
+ selector: '[igoContextEditBinding]'
1771
+ }]
1772
+ }], ctorParameters: function () { return [{ type: ContextEditComponent, decorators: [{
1773
+ type: Self
1774
+ }] }, { type: ContextService }, { type: i3.MessageService }]; }, propDecorators: { submitSuccessed: [{
1775
+ type: Output
1776
+ }], onEdit: [{
1777
+ type: HostListener,
1778
+ args: ['submitForm', ['$event']]
1779
+ }] } });
2160
1780
 
2161
- function ContextItemComponent_button_1_mat_icon_2_Template(rf, ctx) { if (rf & 1) {
2162
- i0.ɵɵelement(0, "mat-icon", 7);
2163
- } if (rf & 2) {
2164
- const ctx_r3 = i0.ɵɵnextContext(2);
2165
- i0.ɵɵpropertyInterpolate("svgIcon", ctx_r3.context.icon ? ctx_r3.context.icon : ctx_r3.context.scope === "public" ? "earth" : "star");
2166
- } }
2167
- function ContextItemComponent_button_1_img_3_Template(rf, ctx) { if (rf & 1) {
2168
- i0.ɵɵelement(0, "img", 8);
2169
- } if (rf & 2) {
2170
- const ctx_r4 = i0.ɵɵnextContext(2);
2171
- i0.ɵɵproperty("src", ctx_r4.context.iconImage, i0.ɵɵsanitizeUrl);
2172
- } }
2173
- function ContextItemComponent_button_1_Template(rf, ctx) { if (rf & 1) {
2174
- const _r6 = i0.ɵɵgetCurrentView();
2175
- i0.ɵɵelementStart(0, "button", 4);
2176
- i0.ɵɵlistener("click", function ContextItemComponent_button_1_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r6); const ctx_r5 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r5.favoriteClick(ctx_r5.context)); });
2177
- i0.ɵɵpipe(1, "translate");
2178
- i0.ɵɵtemplate(2, ContextItemComponent_button_1_mat_icon_2_Template, 1, 1, "mat-icon", 5);
2179
- i0.ɵɵtemplate(3, ContextItemComponent_button_1_img_3_Template, 1, 1, "img", 6);
2180
- i0.ɵɵelementEnd();
2181
- } if (rf & 2) {
2182
- const ctx_r0 = i0.ɵɵnextContext();
2183
- i0.ɵɵproperty("matTooltip", ctx_r0.auth.authenticated ? i0.ɵɵpipeBind1(1, 4, "igo.context.contextManager.favorite") : "")("color", ctx_r0.default ? "primary" : "default");
2184
- i0.ɵɵadvance(2);
2185
- i0.ɵɵproperty("ngIf", !ctx_r0.context.iconImage);
2186
- i0.ɵɵadvance(1);
2187
- i0.ɵɵproperty("ngIf", ctx_r0.context.iconImage);
2188
- } }
2189
- function ContextItemComponent_button_2_Template(rf, ctx) { if (rf & 1) {
2190
- const _r8 = i0.ɵɵgetCurrentView();
2191
- i0.ɵɵelementStart(0, "button", 4);
2192
- i0.ɵɵlistener("click", function ContextItemComponent_button_2_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r8); const ctx_r7 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r7.favoriteClick(ctx_r7.context)); });
2193
- i0.ɵɵpipe(1, "translate");
2194
- i0.ɵɵelement(2, "mat-icon", 9);
2195
- i0.ɵɵelementEnd();
2196
- } if (rf & 2) {
2197
- const ctx_r1 = i0.ɵɵnextContext();
2198
- i0.ɵɵproperty("matTooltip", i0.ɵɵpipeBind1(1, 2, "igo.context.contextManager.favorite"))("color", ctx_r1.default ? "primary" : "default");
2199
- } }
2200
- function ContextItemComponent_div_5_button_1_Template(rf, ctx) { if (rf & 1) {
2201
- const _r18 = i0.ɵɵgetCurrentView();
2202
- i0.ɵɵelementStart(0, "button", 21);
2203
- i0.ɵɵlistener("click", function ContextItemComponent_div_5_button_1_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r18); const ctx_r17 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r17.save.emit(ctx_r17.context)); });
2204
- i0.ɵɵpipe(1, "translate");
2205
- i0.ɵɵelement(2, "mat-icon", 22);
2206
- i0.ɵɵelementEnd();
2207
- } if (rf & 2) {
2208
- const ctx_r9 = i0.ɵɵnextContext(2);
2209
- i0.ɵɵproperty("matTooltip", i0.ɵɵpipeBind1(1, 2, "igo.context.contextManager.save"))("color", ctx_r9.color);
2210
- } }
2211
- function ContextItemComponent_div_5_button_4_Template(rf, ctx) { if (rf & 1) {
2212
- const _r20 = i0.ɵɵgetCurrentView();
2213
- i0.ɵɵelementStart(0, "button", 23);
2214
- i0.ɵɵlistener("click", function ContextItemComponent_div_5_button_4_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r20); const ctx_r19 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r19.managePermissions.emit(ctx_r19.context)); });
2215
- i0.ɵɵpipe(1, "translate");
2216
- i0.ɵɵelement(2, "mat-icon", 24);
2217
- i0.ɵɵelementEnd();
2218
- } if (rf & 2) {
2219
- const ctx_r11 = i0.ɵɵnextContext(2);
2220
- i0.ɵɵproperty("matTooltip", i0.ɵɵpipeBind1(1, 2, "igo.context.contextManager.managePermissions"))("color", ctx_r11.color);
2221
- } }
2222
- function ContextItemComponent_div_5_button_5_Template(rf, ctx) { if (rf & 1) {
2223
- const _r22 = i0.ɵɵgetCurrentView();
2224
- i0.ɵɵelementStart(0, "button", 25);
2225
- i0.ɵɵlistener("click", function ContextItemComponent_div_5_button_5_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r22); const ctx_r21 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r21.clone.emit(ctx_r21.context)); });
2226
- i0.ɵɵpipe(1, "translate");
2227
- i0.ɵɵelement(2, "mat-icon", 26);
2228
- i0.ɵɵelementEnd();
2229
- } if (rf & 2) {
2230
- const ctx_r12 = i0.ɵɵnextContext(2);
2231
- i0.ɵɵproperty("matTooltip", i0.ɵɵpipeBind1(1, 2, "igo.context.contextManager.clone"))("color", ctx_r12.color);
2232
- } }
2233
- function ContextItemComponent_div_5_button_6_Template(rf, ctx) { if (rf & 1) {
2234
- const _r24 = i0.ɵɵgetCurrentView();
2235
- i0.ɵɵelementStart(0, "button", 27);
2236
- i0.ɵɵlistener("click", function ContextItemComponent_div_5_button_6_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r24); const ctx_r23 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r23.edit.emit(ctx_r23.context)); });
2237
- i0.ɵɵpipe(1, "translate");
2238
- i0.ɵɵelement(2, "mat-icon", 28);
2239
- i0.ɵɵelementEnd();
2240
- } if (rf & 2) {
2241
- const ctx_r13 = i0.ɵɵnextContext(2);
2242
- i0.ɵɵproperty("color", ctx_r13.color)("matTooltip", i0.ɵɵpipeBind1(1, 2, "igo.context.contextManager.edit"));
2243
- } }
2244
- function ContextItemComponent_div_5_button_7_Template(rf, ctx) { if (rf & 1) {
2245
- const _r26 = i0.ɵɵgetCurrentView();
2246
- i0.ɵɵelementStart(0, "button", 29);
2247
- i0.ɵɵlistener("click", function ContextItemComponent_div_5_button_7_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r26); const ctx_r25 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r25.hide.emit(ctx_r25.context)); });
2248
- i0.ɵɵpipe(1, "translate");
2249
- i0.ɵɵelement(2, "mat-icon", 30);
2250
- i0.ɵɵelementEnd();
2251
- } if (rf & 2) {
2252
- const ctx_r14 = i0.ɵɵnextContext(2);
2253
- i0.ɵɵproperty("color", ctx_r14.color)("matTooltip", i0.ɵɵpipeBind1(1, 2, "igo.context.contextManager.hide"));
2254
- } }
2255
- function ContextItemComponent_div_5_button_8_Template(rf, ctx) { if (rf & 1) {
2256
- const _r28 = i0.ɵɵgetCurrentView();
2257
- i0.ɵɵelementStart(0, "button", 29);
2258
- i0.ɵɵlistener("click", function ContextItemComponent_div_5_button_8_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r28); const ctx_r27 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r27.show.emit(ctx_r27.context)); });
2259
- i0.ɵɵpipe(1, "translate");
2260
- i0.ɵɵelement(2, "mat-icon", 31);
2261
- i0.ɵɵelementEnd();
2262
- } if (rf & 2) {
2263
- const ctx_r15 = i0.ɵɵnextContext(2);
2264
- i0.ɵɵproperty("color", ctx_r15.color)("matTooltip", i0.ɵɵpipeBind1(1, 2, "igo.context.contextManager.show"));
2265
- } }
2266
- function ContextItemComponent_div_5_button_9_Template(rf, ctx) { if (rf & 1) {
2267
- const _r30 = i0.ɵɵgetCurrentView();
2268
- i0.ɵɵelementStart(0, "button", 32);
2269
- i0.ɵɵlistener("click", function ContextItemComponent_div_5_button_9_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r30); const ctx_r29 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r29.delete.emit(ctx_r29.context)); });
2270
- i0.ɵɵpipe(1, "translate");
2271
- i0.ɵɵelement(2, "mat-icon", 33);
2272
- i0.ɵɵelementEnd();
2273
- } if (rf & 2) {
2274
- i0.ɵɵproperty("matTooltip", i0.ɵɵpipeBind1(1, 1, "igo.context.contextManager.delete"));
2275
- } }
2276
- function ContextItemComponent_div_5_Template(rf, ctx) { if (rf & 1) {
2277
- const _r32 = i0.ɵɵgetCurrentView();
2278
- i0.ɵɵelementStart(0, "div", 10);
2279
- i0.ɵɵtemplate(1, ContextItemComponent_div_5_button_1_Template, 3, 4, "button", 11);
2280
- i0.ɵɵelementStart(2, "div", 12, 13);
2281
- i0.ɵɵtemplate(4, ContextItemComponent_div_5_button_4_Template, 3, 4, "button", 14);
2282
- i0.ɵɵtemplate(5, ContextItemComponent_div_5_button_5_Template, 3, 4, "button", 15);
2283
- i0.ɵɵtemplate(6, ContextItemComponent_div_5_button_6_Template, 3, 4, "button", 16);
2284
- i0.ɵɵtemplate(7, ContextItemComponent_div_5_button_7_Template, 3, 4, "button", 17);
2285
- i0.ɵɵtemplate(8, ContextItemComponent_div_5_button_8_Template, 3, 4, "button", 17);
2286
- i0.ɵɵtemplate(9, ContextItemComponent_div_5_button_9_Template, 3, 3, "button", 18);
2287
- i0.ɵɵelementEnd();
2288
- i0.ɵɵelementStart(10, "button", 19);
2289
- i0.ɵɵlistener("click", function ContextItemComponent_div_5_Template_button_click_10_listener() { i0.ɵɵrestoreView(_r32); const ctx_r31 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r31.collapsed = !ctx_r31.collapsed); });
2290
- i0.ɵɵelement(11, "mat-icon", 20);
2291
- i0.ɵɵelementEnd()();
2292
- } if (rf & 2) {
2293
- const _r10 = i0.ɵɵreference(3);
2294
- const ctx_r2 = i0.ɵɵnextContext();
2295
- i0.ɵɵadvance(1);
2296
- i0.ɵɵproperty("ngIf", ctx_r2.collapsed && ctx_r2.selected && (ctx_r2.context.permission === ctx_r2.typePermission[ctx_r2.typePermission.write] || ctx_r2.context.imported));
2297
- i0.ɵɵadvance(3);
2298
- i0.ɵɵproperty("ngIf", ctx_r2.canShare && !ctx_r2.context.imported);
2299
- i0.ɵɵadvance(1);
2300
- i0.ɵɵproperty("ngIf", !ctx_r2.context.imported);
2301
- i0.ɵɵadvance(1);
2302
- i0.ɵɵproperty("ngIf", ctx_r2.context.permission === ctx_r2.typePermission[ctx_r2.typePermission.write] && !ctx_r2.context.imported);
2303
- i0.ɵɵadvance(1);
2304
- i0.ɵɵproperty("ngIf", !ctx_r2.context.hidden && !ctx_r2.context.imported);
2305
- i0.ɵɵadvance(1);
2306
- i0.ɵɵproperty("ngIf", ctx_r2.context.hidden && !ctx_r2.context.imported);
2307
- i0.ɵɵadvance(1);
2308
- i0.ɵɵproperty("ngIf", ctx_r2.context.permission === ctx_r2.typePermission[ctx_r2.typePermission.write] || ctx_r2.context.imported);
2309
- i0.ɵɵadvance(1);
2310
- i0.ɵɵproperty("color", ctx_r2.color)("target", _r10)("collapsed", ctx_r2.collapsed);
2311
- } }
2312
- const _c0$1 = function (a0) { return { "mat-list-item-light": a0 }; };
2313
1781
  class ContextItemComponent {
2314
1782
  auth;
2315
1783
  storageService;
@@ -2342,58 +1810,39 @@ class ContextItemComponent {
2342
1810
  favoriteClick(context) {
2343
1811
  this.favorite.emit(context);
2344
1812
  }
2345
- static ɵfac = function ContextItemComponent_Factory(t) { return new (t || ContextItemComponent)(i0.ɵɵdirectiveInject(i2.AuthService), i0.ɵɵdirectiveInject(i3.StorageService)); };
2346
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ContextItemComponent, selectors: [["igo-context-item"]], inputs: { showFavorite: "showFavorite", context: "context", default: "default", selected: "selected" }, outputs: { edit: "edit", delete: "delete", save: "save", clone: "clone", hide: "hide", show: "show", favorite: "favorite", managePermissions: "managePermissions", manageTools: "manageTools" }, decls: 6, vars: 7, consts: [[1, "mat-list-item", 3, "ngClass"], ["matListItemAvatar", "", "mat-icon-button", "", "igoStopPropagation", "", "matTooltipShowDelay", "500", 3, "matTooltip", "color", "click", 4, "ngIf"], ["matListItemTitle", ""], ["matListItemMeta", "", "igoStopPropagation", "", "class", "igo-actions-container", 4, "ngIf"], ["matListItemAvatar", "", "mat-icon-button", "", "igoStopPropagation", "", "matTooltipShowDelay", "500", 3, "matTooltip", "color", "click"], [3, "svgIcon", 4, "ngIf"], [3, "src", 4, "ngIf"], [3, "svgIcon"], [3, "src"], ["svgIcon", "star"], ["matListItemMeta", "", "igoStopPropagation", "", 1, "igo-actions-container"], ["class", "save-button", "mat-icon-button", "", "matTooltipShowDelay", "500", 3, "matTooltip", "color", "click", 4, "ngIf"], [1, "igo-actions-expand-container"], ["actions", ""], ["mat-icon-button", "", "matTooltipShowDelay", "500", 3, "matTooltip", "color", "click", 4, "ngIf"], ["class", "clone-button", "mat-icon-button", "", "matTooltipShowDelay", "500", 3, "matTooltip", "color", "click", 4, "ngIf"], ["class", "edit-button", "mat-icon-button", "", "matTooltipShowDelay", "500", 3, "color", "matTooltip", "click", 4, "ngIf"], ["class", "hide-button", "mat-icon-button", "", "matTooltipShowDelay", "500", 3, "color", "matTooltip", "click", 4, "ngIf"], ["class", "delete-button", "mat-icon-button", "", "color", "warn", "matTooltipShowDelay", "500", 3, "matTooltip", "click", 4, "ngIf"], ["mat-icon-button", "", "igoCollapse", "", 1, "actions-button", 3, "color", "target", "collapsed", "click"], ["svgIcon", "dots-horizontal"], ["mat-icon-button", "", "matTooltipShowDelay", "500", 1, "save-button", 3, "matTooltip", "color", "click"], ["svgIcon", "content-save"], ["mat-icon-button", "", "matTooltipShowDelay", "500", 3, "matTooltip", "color", "click"], ["svgIcon", "account-arrow-right"], ["mat-icon-button", "", "matTooltipShowDelay", "500", 1, "clone-button", 3, "matTooltip", "color", "click"], ["svgIcon", "content-copy"], ["mat-icon-button", "", "matTooltipShowDelay", "500", 1, "edit-button", 3, "color", "matTooltip", "click"], ["svgIcon", "pencil"], ["mat-icon-button", "", "matTooltipShowDelay", "500", 1, "hide-button", 3, "color", "matTooltip", "click"], ["svgIcon", "eye"], ["svgIcon", "eye-off"], ["mat-icon-button", "", "color", "warn", "matTooltipShowDelay", "500", 1, "delete-button", 3, "matTooltip", "click"], ["svgIcon", "delete"]], template: function ContextItemComponent_Template(rf, ctx) { if (rf & 1) {
2347
- i0.ɵɵelementStart(0, "mat-list-item", 0);
2348
- i0.ɵɵtemplate(1, ContextItemComponent_button_1_Template, 4, 6, "button", 1);
2349
- i0.ɵɵtemplate(2, ContextItemComponent_button_2_Template, 3, 4, "button", 1);
2350
- i0.ɵɵelementStart(3, "span", 2);
2351
- i0.ɵɵtext(4);
2352
- i0.ɵɵelementEnd();
2353
- i0.ɵɵtemplate(5, ContextItemComponent_div_5_Template, 12, 10, "div", 3);
2354
- i0.ɵɵelementEnd();
2355
- } if (rf & 2) {
2356
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(5, _c0$1, ctx.hidden));
2357
- i0.ɵɵadvance(1);
2358
- i0.ɵɵproperty("ngIf", ctx.auth.authenticated);
2359
- i0.ɵɵadvance(1);
2360
- i0.ɵɵproperty("ngIf", !ctx.auth.authenticated && ctx.showFavorite);
2361
- i0.ɵɵadvance(2);
2362
- i0.ɵɵtextInterpolate(ctx.context.title);
2363
- i0.ɵɵadvance(1);
2364
- i0.ɵɵproperty("ngIf", ctx.auth.authenticated);
2365
- } }, dependencies: [i6.NgClass, i6.NgIf, i6$2.MatIcon, i7.MatIconButton, i6$3.MatTooltip, i7$1.MatListItem, i7$1.MatListItemAvatar, i7$1.MatListItemTitle, i7$1.MatListItemMeta, i13.CollapseDirective, i13.StopPropagationDirective, i9$1.TranslatePipe], styles: ["[_nghost-%COMP%]{overflow:hidden}[_nghost-%COMP%] .igo-actions-container[_ngcontent-%COMP%]{flex-shrink:0}[_nghost-%COMP%] .igo-actions-expand-container[_ngcontent-%COMP%]{display:inline-flex}[_nghost-%COMP%] mat-icon.disabled[_ngcontent-%COMP%]{color:#00000061}[_nghost-%COMP%] button[matlistitemavatar][_ngcontent-%COMP%]{margin-right:8px}"], changeDetection: 0 });
1813
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ContextItemComponent, deps: [{ token: i2.AuthService }, { token: i3.StorageService }], target: i0.ɵɵFactoryTarget.Component });
1814
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: ContextItemComponent, selector: "igo-context-item", inputs: { showFavorite: "showFavorite", context: "context", default: "default", selected: "selected" }, outputs: { edit: "edit", delete: "delete", save: "save", clone: "clone", hide: "hide", show: "show", favorite: "favorite", managePermissions: "managePermissions", manageTools: "manageTools" }, ngImport: i0, template: "<mat-list-item\r\n class=\"mat-list-item\"\r\n [ngClass]=\"{ 'mat-list-item-light': hidden }\"\r\n>\r\n <button\r\n *ngIf=\"auth.authenticated\"\r\n matListItemAvatar\r\n mat-icon-button\r\n igoStopPropagation\r\n [matTooltip]=\"\r\n auth.authenticated\r\n ? ('igo.context.contextManager.favorite' | translate)\r\n : ''\r\n \"\r\n matTooltipShowDelay=\"500\"\r\n [color]=\"default ? 'primary' : 'default'\"\r\n (click)=\"favoriteClick(context)\"\r\n >\r\n <mat-icon\r\n *ngIf=\"!context.iconImage\"\r\n svgIcon=\"{{\r\n context.icon\r\n ? context.icon\r\n : context.scope === 'public'\r\n ? 'earth'\r\n : 'star'\r\n }}\"\r\n ></mat-icon>\r\n <img *ngIf=\"context.iconImage\" [src]=\"context.iconImage\" />\r\n </button>\r\n <button\r\n matListItemAvatar\r\n *ngIf=\"!auth.authenticated && showFavorite\"\r\n mat-icon-button\r\n igoStopPropagation\r\n [matTooltip]=\"'igo.context.contextManager.favorite' | translate\"\r\n matTooltipShowDelay=\"500\"\r\n [color]=\"default ? 'primary' : 'default'\"\r\n (click)=\"favoriteClick(context)\"\r\n >\r\n <mat-icon svgIcon=\"star\"></mat-icon>\r\n </button>\r\n <span matListItemTitle>{{ context.title }}</span>\r\n\r\n <div\r\n *ngIf=\"auth.authenticated\"\r\n matListItemMeta\r\n igoStopPropagation\r\n class=\"igo-actions-container\"\r\n >\r\n <button\r\n *ngIf=\"\r\n collapsed &&\r\n selected &&\r\n (context.permission === typePermission[typePermission.write] ||\r\n context.imported)\r\n \"\r\n class=\"save-button\"\r\n mat-icon-button\r\n [matTooltip]=\"'igo.context.contextManager.save' | translate\"\r\n matTooltipShowDelay=\"500\"\r\n [color]=\"color\"\r\n (click)=\"save.emit(context)\"\r\n >\r\n <mat-icon svgIcon=\"content-save\"></mat-icon>\r\n </button>\r\n\r\n <div #actions class=\"igo-actions-expand-container\">\r\n <button\r\n *ngIf=\"canShare && !context.imported\"\r\n mat-icon-button\r\n [matTooltip]=\"\r\n 'igo.context.contextManager.managePermissions' | translate\r\n \"\r\n matTooltipShowDelay=\"500\"\r\n [color]=\"color\"\r\n (click)=\"managePermissions.emit(context)\"\r\n >\r\n <mat-icon svgIcon=\"account-arrow-right\"></mat-icon>\r\n </button>\r\n\r\n <!--button\r\n mat-icon-button\r\n [matTooltip]=\"'igo.context.contextManager.manageTools' | translate\"\r\n [color]=\"color\"\r\n (click)=\"manageTools.emit(context)\">\r\n <mat-icon svgIcon=\"widgets\"></mat-icon>\r\n </button-->\r\n\r\n <button\r\n *ngIf=\"!context.imported\"\r\n class=\"clone-button\"\r\n mat-icon-button\r\n [matTooltip]=\"'igo.context.contextManager.clone' | translate\"\r\n matTooltipShowDelay=\"500\"\r\n [color]=\"color\"\r\n (click)=\"clone.emit(context)\"\r\n >\r\n <mat-icon svgIcon=\"content-copy\"></mat-icon>\r\n </button>\r\n\r\n <button\r\n *ngIf=\"\r\n context.permission === typePermission[typePermission.write] &&\r\n !context.imported\r\n \"\r\n class=\"edit-button\"\r\n mat-icon-button\r\n [color]=\"color\"\r\n [matTooltip]=\"'igo.context.contextManager.edit' | translate\"\r\n matTooltipShowDelay=\"500\"\r\n (click)=\"edit.emit(context)\"\r\n >\r\n <mat-icon svgIcon=\"pencil\"></mat-icon>\r\n </button>\r\n\r\n <button\r\n *ngIf=\"!context.hidden && !context.imported\"\r\n class=\"hide-button\"\r\n mat-icon-button\r\n [color]=\"color\"\r\n [matTooltip]=\"'igo.context.contextManager.hide' | translate\"\r\n matTooltipShowDelay=\"500\"\r\n (click)=\"hide.emit(context)\"\r\n >\r\n <mat-icon svgIcon=\"eye\"></mat-icon>\r\n </button>\r\n\r\n <button\r\n *ngIf=\"context.hidden && !context.imported\"\r\n class=\"hide-button\"\r\n mat-icon-button\r\n [color]=\"color\"\r\n [matTooltip]=\"'igo.context.contextManager.show' | translate\"\r\n matTooltipShowDelay=\"500\"\r\n (click)=\"show.emit(context)\"\r\n >\r\n <mat-icon svgIcon=\"eye-off\"></mat-icon>\r\n </button>\r\n\r\n <button\r\n *ngIf=\"\r\n context.permission === typePermission[typePermission.write] ||\r\n context.imported\r\n \"\r\n class=\"delete-button\"\r\n mat-icon-button\r\n color=\"warn\"\r\n [matTooltip]=\"'igo.context.contextManager.delete' | translate\"\r\n matTooltipShowDelay=\"500\"\r\n (click)=\"delete.emit(context)\"\r\n >\r\n <mat-icon svgIcon=\"delete\"></mat-icon>\r\n </button>\r\n </div>\r\n\r\n <button\r\n class=\"actions-button\"\r\n mat-icon-button\r\n igoCollapse\r\n [color]=\"color\"\r\n [target]=\"actions\"\r\n [collapsed]=\"collapsed\"\r\n (click)=\"collapsed = !collapsed\"\r\n >\r\n <mat-icon svgIcon=\"dots-horizontal\"></mat-icon>\r\n </button>\r\n </div>\r\n</mat-list-item>\r\n", styles: [":host{overflow:hidden}:host .igo-actions-container{flex-shrink:0}:host .igo-actions-expand-container{display:inline-flex}:host mat-icon.disabled{color:#00000061}:host button[matlistitemavatar]{margin-right:8px}\n"], dependencies: [{ kind: "directive", type: i6.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i6$2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i7.MatIconButton, selector: "button[mat-icon-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "directive", type: i6$3.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }, { kind: "component", type: i7$1.MatListItem, selector: "mat-list-item, a[mat-list-item], button[mat-list-item]", inputs: ["activated"], exportAs: ["matListItem"] }, { kind: "directive", type: i7$1.MatListItemAvatar, selector: "[matListItemAvatar]" }, { kind: "directive", type: i7$1.MatListItemTitle, selector: "[matListItemTitle]" }, { kind: "directive", type: i7$1.MatListItemMeta, selector: "[matListItemMeta]" }, { kind: "directive", type: i13.CollapseDirective, selector: "[igoCollapse]", inputs: ["target", "collapsed"], outputs: ["toggle"] }, { kind: "directive", type: i13.StopPropagationDirective, selector: "[igoStopPropagation]" }, { kind: "pipe", type: i9$1.TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
2366
1815
  }
2367
- (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ContextItemComponent, [{
2368
- type: Component,
2369
- args: [{ selector: 'igo-context-item', changeDetection: ChangeDetectionStrategy.OnPush, template: "<mat-list-item\r\n class=\"mat-list-item\"\r\n [ngClass]=\"{ 'mat-list-item-light': hidden }\"\r\n>\r\n <button\r\n *ngIf=\"auth.authenticated\"\r\n matListItemAvatar\r\n mat-icon-button\r\n igoStopPropagation\r\n [matTooltip]=\"\r\n auth.authenticated\r\n ? ('igo.context.contextManager.favorite' | translate)\r\n : ''\r\n \"\r\n matTooltipShowDelay=\"500\"\r\n [color]=\"default ? 'primary' : 'default'\"\r\n (click)=\"favoriteClick(context)\"\r\n >\r\n <mat-icon\r\n *ngIf=\"!context.iconImage\"\r\n svgIcon=\"{{\r\n context.icon\r\n ? context.icon\r\n : context.scope === 'public'\r\n ? 'earth'\r\n : 'star'\r\n }}\"\r\n ></mat-icon>\r\n <img *ngIf=\"context.iconImage\" [src]=\"context.iconImage\" />\r\n </button>\r\n <button\r\n matListItemAvatar\r\n *ngIf=\"!auth.authenticated && showFavorite\"\r\n mat-icon-button\r\n igoStopPropagation\r\n [matTooltip]=\"'igo.context.contextManager.favorite' | translate\"\r\n matTooltipShowDelay=\"500\"\r\n [color]=\"default ? 'primary' : 'default'\"\r\n (click)=\"favoriteClick(context)\"\r\n >\r\n <mat-icon svgIcon=\"star\"></mat-icon>\r\n </button>\r\n <span matListItemTitle>{{ context.title }}</span>\r\n\r\n <div\r\n *ngIf=\"auth.authenticated\"\r\n matListItemMeta\r\n igoStopPropagation\r\n class=\"igo-actions-container\"\r\n >\r\n <button\r\n *ngIf=\"\r\n collapsed &&\r\n selected &&\r\n (context.permission === typePermission[typePermission.write] ||\r\n context.imported)\r\n \"\r\n class=\"save-button\"\r\n mat-icon-button\r\n [matTooltip]=\"'igo.context.contextManager.save' | translate\"\r\n matTooltipShowDelay=\"500\"\r\n [color]=\"color\"\r\n (click)=\"save.emit(context)\"\r\n >\r\n <mat-icon svgIcon=\"content-save\"></mat-icon>\r\n </button>\r\n\r\n <div #actions class=\"igo-actions-expand-container\">\r\n <button\r\n *ngIf=\"canShare && !context.imported\"\r\n mat-icon-button\r\n [matTooltip]=\"\r\n 'igo.context.contextManager.managePermissions' | translate\r\n \"\r\n matTooltipShowDelay=\"500\"\r\n [color]=\"color\"\r\n (click)=\"managePermissions.emit(context)\"\r\n >\r\n <mat-icon svgIcon=\"account-arrow-right\"></mat-icon>\r\n </button>\r\n\r\n <!--button\r\n mat-icon-button\r\n [matTooltip]=\"'igo.context.contextManager.manageTools' | translate\"\r\n [color]=\"color\"\r\n (click)=\"manageTools.emit(context)\">\r\n <mat-icon svgIcon=\"widgets\"></mat-icon>\r\n </button-->\r\n\r\n <button\r\n *ngIf=\"!context.imported\"\r\n class=\"clone-button\"\r\n mat-icon-button\r\n [matTooltip]=\"'igo.context.contextManager.clone' | translate\"\r\n matTooltipShowDelay=\"500\"\r\n [color]=\"color\"\r\n (click)=\"clone.emit(context)\"\r\n >\r\n <mat-icon svgIcon=\"content-copy\"></mat-icon>\r\n </button>\r\n\r\n <button\r\n *ngIf=\"\r\n context.permission === typePermission[typePermission.write] &&\r\n !context.imported\r\n \"\r\n class=\"edit-button\"\r\n mat-icon-button\r\n [color]=\"color\"\r\n [matTooltip]=\"'igo.context.contextManager.edit' | translate\"\r\n matTooltipShowDelay=\"500\"\r\n (click)=\"edit.emit(context)\"\r\n >\r\n <mat-icon svgIcon=\"pencil\"></mat-icon>\r\n </button>\r\n\r\n <button\r\n *ngIf=\"!context.hidden && !context.imported\"\r\n class=\"hide-button\"\r\n mat-icon-button\r\n [color]=\"color\"\r\n [matTooltip]=\"'igo.context.contextManager.hide' | translate\"\r\n matTooltipShowDelay=\"500\"\r\n (click)=\"hide.emit(context)\"\r\n >\r\n <mat-icon svgIcon=\"eye\"></mat-icon>\r\n </button>\r\n\r\n <button\r\n *ngIf=\"context.hidden && !context.imported\"\r\n class=\"hide-button\"\r\n mat-icon-button\r\n [color]=\"color\"\r\n [matTooltip]=\"'igo.context.contextManager.show' | translate\"\r\n matTooltipShowDelay=\"500\"\r\n (click)=\"show.emit(context)\"\r\n >\r\n <mat-icon svgIcon=\"eye-off\"></mat-icon>\r\n </button>\r\n\r\n <button\r\n *ngIf=\"\r\n context.permission === typePermission[typePermission.write] ||\r\n context.imported\r\n \"\r\n class=\"delete-button\"\r\n mat-icon-button\r\n color=\"warn\"\r\n [matTooltip]=\"'igo.context.contextManager.delete' | translate\"\r\n matTooltipShowDelay=\"500\"\r\n (click)=\"delete.emit(context)\"\r\n >\r\n <mat-icon svgIcon=\"delete\"></mat-icon>\r\n </button>\r\n </div>\r\n\r\n <button\r\n class=\"actions-button\"\r\n mat-icon-button\r\n igoCollapse\r\n [color]=\"color\"\r\n [target]=\"actions\"\r\n [collapsed]=\"collapsed\"\r\n (click)=\"collapsed = !collapsed\"\r\n >\r\n <mat-icon svgIcon=\"dots-horizontal\"></mat-icon>\r\n </button>\r\n </div>\r\n</mat-list-item>\r\n", styles: [":host{overflow:hidden}:host .igo-actions-container{flex-shrink:0}:host .igo-actions-expand-container{display:inline-flex}:host mat-icon.disabled{color:#00000061}:host button[matlistitemavatar]{margin-right:8px}\n"] }]
2370
- }], function () { return [{ type: i2.AuthService }, { type: i3.StorageService }]; }, { showFavorite: [{
2371
- type: Input
2372
- }], context: [{
2373
- type: Input
2374
- }], default: [{
2375
- type: Input
2376
- }], selected: [{
2377
- type: Input
2378
- }], edit: [{
2379
- type: Output
2380
- }], delete: [{
2381
- type: Output
2382
- }], save: [{
2383
- type: Output
2384
- }], clone: [{
2385
- type: Output
2386
- }], hide: [{
2387
- type: Output
2388
- }], show: [{
2389
- type: Output
2390
- }], favorite: [{
2391
- type: Output
2392
- }], managePermissions: [{
2393
- type: Output
2394
- }], manageTools: [{
2395
- type: Output
2396
- }] }); })();
1816
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ContextItemComponent, decorators: [{
1817
+ type: Component,
1818
+ args: [{ selector: 'igo-context-item', changeDetection: ChangeDetectionStrategy.OnPush, template: "<mat-list-item\r\n class=\"mat-list-item\"\r\n [ngClass]=\"{ 'mat-list-item-light': hidden }\"\r\n>\r\n <button\r\n *ngIf=\"auth.authenticated\"\r\n matListItemAvatar\r\n mat-icon-button\r\n igoStopPropagation\r\n [matTooltip]=\"\r\n auth.authenticated\r\n ? ('igo.context.contextManager.favorite' | translate)\r\n : ''\r\n \"\r\n matTooltipShowDelay=\"500\"\r\n [color]=\"default ? 'primary' : 'default'\"\r\n (click)=\"favoriteClick(context)\"\r\n >\r\n <mat-icon\r\n *ngIf=\"!context.iconImage\"\r\n svgIcon=\"{{\r\n context.icon\r\n ? context.icon\r\n : context.scope === 'public'\r\n ? 'earth'\r\n : 'star'\r\n }}\"\r\n ></mat-icon>\r\n <img *ngIf=\"context.iconImage\" [src]=\"context.iconImage\" />\r\n </button>\r\n <button\r\n matListItemAvatar\r\n *ngIf=\"!auth.authenticated && showFavorite\"\r\n mat-icon-button\r\n igoStopPropagation\r\n [matTooltip]=\"'igo.context.contextManager.favorite' | translate\"\r\n matTooltipShowDelay=\"500\"\r\n [color]=\"default ? 'primary' : 'default'\"\r\n (click)=\"favoriteClick(context)\"\r\n >\r\n <mat-icon svgIcon=\"star\"></mat-icon>\r\n </button>\r\n <span matListItemTitle>{{ context.title }}</span>\r\n\r\n <div\r\n *ngIf=\"auth.authenticated\"\r\n matListItemMeta\r\n igoStopPropagation\r\n class=\"igo-actions-container\"\r\n >\r\n <button\r\n *ngIf=\"\r\n collapsed &&\r\n selected &&\r\n (context.permission === typePermission[typePermission.write] ||\r\n context.imported)\r\n \"\r\n class=\"save-button\"\r\n mat-icon-button\r\n [matTooltip]=\"'igo.context.contextManager.save' | translate\"\r\n matTooltipShowDelay=\"500\"\r\n [color]=\"color\"\r\n (click)=\"save.emit(context)\"\r\n >\r\n <mat-icon svgIcon=\"content-save\"></mat-icon>\r\n </button>\r\n\r\n <div #actions class=\"igo-actions-expand-container\">\r\n <button\r\n *ngIf=\"canShare && !context.imported\"\r\n mat-icon-button\r\n [matTooltip]=\"\r\n 'igo.context.contextManager.managePermissions' | translate\r\n \"\r\n matTooltipShowDelay=\"500\"\r\n [color]=\"color\"\r\n (click)=\"managePermissions.emit(context)\"\r\n >\r\n <mat-icon svgIcon=\"account-arrow-right\"></mat-icon>\r\n </button>\r\n\r\n <!--button\r\n mat-icon-button\r\n [matTooltip]=\"'igo.context.contextManager.manageTools' | translate\"\r\n [color]=\"color\"\r\n (click)=\"manageTools.emit(context)\">\r\n <mat-icon svgIcon=\"widgets\"></mat-icon>\r\n </button-->\r\n\r\n <button\r\n *ngIf=\"!context.imported\"\r\n class=\"clone-button\"\r\n mat-icon-button\r\n [matTooltip]=\"'igo.context.contextManager.clone' | translate\"\r\n matTooltipShowDelay=\"500\"\r\n [color]=\"color\"\r\n (click)=\"clone.emit(context)\"\r\n >\r\n <mat-icon svgIcon=\"content-copy\"></mat-icon>\r\n </button>\r\n\r\n <button\r\n *ngIf=\"\r\n context.permission === typePermission[typePermission.write] &&\r\n !context.imported\r\n \"\r\n class=\"edit-button\"\r\n mat-icon-button\r\n [color]=\"color\"\r\n [matTooltip]=\"'igo.context.contextManager.edit' | translate\"\r\n matTooltipShowDelay=\"500\"\r\n (click)=\"edit.emit(context)\"\r\n >\r\n <mat-icon svgIcon=\"pencil\"></mat-icon>\r\n </button>\r\n\r\n <button\r\n *ngIf=\"!context.hidden && !context.imported\"\r\n class=\"hide-button\"\r\n mat-icon-button\r\n [color]=\"color\"\r\n [matTooltip]=\"'igo.context.contextManager.hide' | translate\"\r\n matTooltipShowDelay=\"500\"\r\n (click)=\"hide.emit(context)\"\r\n >\r\n <mat-icon svgIcon=\"eye\"></mat-icon>\r\n </button>\r\n\r\n <button\r\n *ngIf=\"context.hidden && !context.imported\"\r\n class=\"hide-button\"\r\n mat-icon-button\r\n [color]=\"color\"\r\n [matTooltip]=\"'igo.context.contextManager.show' | translate\"\r\n matTooltipShowDelay=\"500\"\r\n (click)=\"show.emit(context)\"\r\n >\r\n <mat-icon svgIcon=\"eye-off\"></mat-icon>\r\n </button>\r\n\r\n <button\r\n *ngIf=\"\r\n context.permission === typePermission[typePermission.write] ||\r\n context.imported\r\n \"\r\n class=\"delete-button\"\r\n mat-icon-button\r\n color=\"warn\"\r\n [matTooltip]=\"'igo.context.contextManager.delete' | translate\"\r\n matTooltipShowDelay=\"500\"\r\n (click)=\"delete.emit(context)\"\r\n >\r\n <mat-icon svgIcon=\"delete\"></mat-icon>\r\n </button>\r\n </div>\r\n\r\n <button\r\n class=\"actions-button\"\r\n mat-icon-button\r\n igoCollapse\r\n [color]=\"color\"\r\n [target]=\"actions\"\r\n [collapsed]=\"collapsed\"\r\n (click)=\"collapsed = !collapsed\"\r\n >\r\n <mat-icon svgIcon=\"dots-horizontal\"></mat-icon>\r\n </button>\r\n </div>\r\n</mat-list-item>\r\n", styles: [":host{overflow:hidden}:host .igo-actions-container{flex-shrink:0}:host .igo-actions-expand-container{display:inline-flex}:host mat-icon.disabled{color:#00000061}:host button[matlistitemavatar]{margin-right:8px}\n"] }]
1819
+ }], ctorParameters: function () { return [{ type: i2.AuthService }, { type: i3.StorageService }]; }, propDecorators: { showFavorite: [{
1820
+ type: Input
1821
+ }], context: [{
1822
+ type: Input
1823
+ }], default: [{
1824
+ type: Input
1825
+ }], selected: [{
1826
+ type: Input
1827
+ }], edit: [{
1828
+ type: Output
1829
+ }], delete: [{
1830
+ type: Output
1831
+ }], save: [{
1832
+ type: Output
1833
+ }], clone: [{
1834
+ type: Output
1835
+ }], hide: [{
1836
+ type: Output
1837
+ }], show: [{
1838
+ type: Output
1839
+ }], favorite: [{
1840
+ type: Output
1841
+ }], managePermissions: [{
1842
+ type: Output
1843
+ }], manageTools: [{
1844
+ type: Output
1845
+ }] } });
2397
1846
 
2398
1847
  var ContextListControlsEnum;
2399
1848
  (function (ContextListControlsEnum) {
@@ -2402,193 +1851,6 @@ var ContextListControlsEnum;
2402
1851
  ContextListControlsEnum["default"] = "default";
2403
1852
  })(ContextListControlsEnum || (ContextListControlsEnum = {}));
2404
1853
 
2405
- function ContextListComponent_mat_form_field_2_button_6_Template(rf, ctx) { if (rf & 1) {
2406
- const _r11 = i0.ɵɵgetCurrentView();
2407
- i0.ɵɵelementStart(0, "button", 16);
2408
- i0.ɵɵlistener("click", function ContextListComponent_mat_form_field_2_button_6_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r11); const ctx_r10 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r10.clearFilter()); });
2409
- i0.ɵɵelement(1, "mat-icon", 17);
2410
- i0.ɵɵelementEnd();
2411
- } }
2412
- function ContextListComponent_mat_form_field_2_Template(rf, ctx) { if (rf & 1) {
2413
- const _r13 = i0.ɵɵgetCurrentView();
2414
- i0.ɵɵelementStart(0, "mat-form-field", 13)(1, "mat-label");
2415
- i0.ɵɵtext(2);
2416
- i0.ɵɵpipe(3, "translate");
2417
- i0.ɵɵelementEnd();
2418
- i0.ɵɵelementStart(4, "input", 14);
2419
- i0.ɵɵlistener("ngModelChange", function ContextListComponent_mat_form_field_2_Template_input_ngModelChange_4_listener($event) { i0.ɵɵrestoreView(_r13); const ctx_r12 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r12.term = $event); });
2420
- i0.ɵɵpipe(5, "translate");
2421
- i0.ɵɵelementEnd();
2422
- i0.ɵɵtemplate(6, ContextListComponent_mat_form_field_2_button_6_Template, 2, 0, "button", 15);
2423
- i0.ɵɵelementEnd();
2424
- } if (rf & 2) {
2425
- const ctx_r0 = i0.ɵɵnextContext();
2426
- i0.ɵɵadvance(2);
2427
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 4, "igo.context.contextManager.filterPlaceHolder"));
2428
- i0.ɵɵadvance(2);
2429
- i0.ɵɵproperty("placeholder", i0.ɵɵpipeBind1(5, 6, "igo.context.contextManager.filterPlaceHolder"))("ngModel", ctx_r0.term);
2430
- i0.ɵɵadvance(2);
2431
- i0.ɵɵproperty("ngIf", ctx_r0.term.length);
2432
- } }
2433
- function ContextListComponent_button_4_Template(rf, ctx) { if (rf & 1) {
2434
- const _r15 = i0.ɵɵgetCurrentView();
2435
- i0.ɵɵelementStart(0, "button", 18);
2436
- i0.ɵɵlistener("click", function ContextListComponent_button_4_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r15); const ctx_r14 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r14.toggleSort(true)); });
2437
- i0.ɵɵpipe(1, "translate");
2438
- i0.ɵɵelement(2, "mat-icon", 19);
2439
- i0.ɵɵelementEnd();
2440
- } if (rf & 2) {
2441
- i0.ɵɵproperty("matTooltip", i0.ɵɵpipeBind1(1, 1, "igo.context.contextManager.sortAlphabetically"));
2442
- } }
2443
- function ContextListComponent_button_5_Template(rf, ctx) { if (rf & 1) {
2444
- const _r17 = i0.ɵɵgetCurrentView();
2445
- i0.ɵɵelementStart(0, "button", 18);
2446
- i0.ɵɵlistener("click", function ContextListComponent_button_5_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r17); const ctx_r16 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r16.toggleSort(false)); });
2447
- i0.ɵɵpipe(1, "translate");
2448
- i0.ɵɵelement(2, "mat-icon", 20);
2449
- i0.ɵɵelementEnd();
2450
- } if (rf & 2) {
2451
- i0.ɵɵproperty("matTooltip", i0.ɵɵpipeBind1(1, 1, "igo.context.contextManager.sortContextOrder"));
2452
- } }
2453
- function ContextListComponent_igo_actionbar_6_Template(rf, ctx) { if (rf & 1) {
2454
- i0.ɵɵelement(0, "igo-actionbar", 21);
2455
- } if (rf & 2) {
2456
- const ctx_r3 = i0.ɵɵnextContext();
2457
- i0.ɵɵproperty("iconColor", ctx_r3.color)("store", ctx_r3.actionStore)("withIcon", true)("withTitle", ctx_r3.actionbarMode === "overlay")("horizontal", false)("mode", ctx_r3.actionbarMode);
2458
- } }
2459
- function ContextListComponent_button_7_Template(rf, ctx) { if (rf & 1) {
2460
- i0.ɵɵelementStart(0, "button", 22);
2461
- i0.ɵɵpipe(1, "translate");
2462
- i0.ɵɵelement(2, "mat-icon", 23);
2463
- i0.ɵɵelementEnd();
2464
- } if (rf & 2) {
2465
- i0.ɵɵnextContext();
2466
- const _r5 = i0.ɵɵreference(9);
2467
- i0.ɵɵproperty("matTooltip", i0.ɵɵpipeBind1(1, 2, "igo.context.contextManager.filterUser"))("matMenuTriggerFor", _r5);
2468
- } }
2469
- function ContextListComponent_ng_container_10_button_1_Template(rf, ctx) { if (rf & 1) {
2470
- const _r25 = i0.ɵɵgetCurrentView();
2471
- i0.ɵɵelementStart(0, "button", 9)(1, "mat-checkbox", 26);
2472
- i0.ɵɵlistener("click", function ContextListComponent_ng_container_10_button_1_Template_mat_checkbox_click_1_listener($event) { return $event.stopPropagation(); })("change", function ContextListComponent_ng_container_10_button_1_Template_mat_checkbox_change_1_listener() { i0.ɵɵrestoreView(_r25); const user_r18 = i0.ɵɵnextContext().$implicit; const ctx_r23 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r23.handleToggleCategory(user_r18)); });
2473
- i0.ɵɵelementEnd();
2474
- i0.ɵɵelementStart(2, "span");
2475
- i0.ɵɵtext(3);
2476
- i0.ɵɵelementEnd()();
2477
- } if (rf & 2) {
2478
- const user_r18 = i0.ɵɵnextContext().$implicit;
2479
- const ctx_r19 = i0.ɵɵnextContext();
2480
- i0.ɵɵadvance(1);
2481
- i0.ɵɵproperty("checked", ctx_r19.getPermission(user_r18).checked)("indeterminate", ctx_r19.getPermission(user_r18).indeterminate);
2482
- i0.ɵɵadvance(2);
2483
- i0.ɵɵtextInterpolate(user_r18.title);
2484
- } }
2485
- function ContextListComponent_ng_container_10_ng_template_2_button_6_Template(rf, ctx) { if (rf & 1) {
2486
- const _r32 = i0.ɵɵgetCurrentView();
2487
- i0.ɵɵelementStart(0, "button", 9)(1, "mat-checkbox", 10);
2488
- i0.ɵɵlistener("click", function ContextListComponent_ng_container_10_ng_template_2_button_6_Template_mat_checkbox_click_1_listener($event) { return $event.stopPropagation(); })("change", function ContextListComponent_ng_container_10_ng_template_2_button_6_Template_mat_checkbox_change_1_listener() { const restoredCtx = i0.ɵɵrestoreView(_r32); const child_r29 = restoredCtx.$implicit; const user_r18 = i0.ɵɵnextContext(2).$implicit; const ctx_r31 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r31.handleToggleCategory(child_r29, user_r18)); });
2489
- i0.ɵɵtext(2);
2490
- i0.ɵɵelementEnd()();
2491
- } if (rf & 2) {
2492
- const child_r29 = ctx.$implicit;
2493
- const ctx_r28 = i0.ɵɵnextContext(3);
2494
- i0.ɵɵadvance(1);
2495
- i0.ɵɵproperty("checked", ctx_r28.getPermission(child_r29).checked);
2496
- i0.ɵɵadvance(1);
2497
- i0.ɵɵtextInterpolate1(" ", child_r29.title, " ");
2498
- } }
2499
- function ContextListComponent_ng_container_10_ng_template_2_Template(rf, ctx) { if (rf & 1) {
2500
- const _r37 = i0.ɵɵgetCurrentView();
2501
- i0.ɵɵelementStart(0, "button", 27)(1, "mat-checkbox", 26);
2502
- i0.ɵɵlistener("click", function ContextListComponent_ng_container_10_ng_template_2_Template_mat_checkbox_click_1_listener($event) { return $event.stopPropagation(); })("change", function ContextListComponent_ng_container_10_ng_template_2_Template_mat_checkbox_change_1_listener() { i0.ɵɵrestoreView(_r37); const user_r18 = i0.ɵɵnextContext().$implicit; const ctx_r35 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r35.handleToggleCategory(user_r18)); });
2503
- i0.ɵɵelementEnd();
2504
- i0.ɵɵelementStart(2, "span");
2505
- i0.ɵɵtext(3);
2506
- i0.ɵɵelementEnd()();
2507
- i0.ɵɵelementStart(4, "mat-menu", null, 28);
2508
- i0.ɵɵtemplate(6, ContextListComponent_ng_container_10_ng_template_2_button_6_Template, 3, 2, "button", 29);
2509
- i0.ɵɵelementEnd();
2510
- } if (rf & 2) {
2511
- const _r27 = i0.ɵɵreference(5);
2512
- const user_r18 = i0.ɵɵnextContext().$implicit;
2513
- const ctx_r21 = i0.ɵɵnextContext();
2514
- i0.ɵɵproperty("matMenuTriggerFor", _r27);
2515
- i0.ɵɵadvance(1);
2516
- i0.ɵɵproperty("checked", ctx_r21.getPermission(user_r18).checked)("indeterminate", ctx_r21.getPermission(user_r18).indeterminate);
2517
- i0.ɵɵadvance(2);
2518
- i0.ɵɵtextInterpolate(user_r18.title);
2519
- i0.ɵɵadvance(3);
2520
- i0.ɵɵproperty("ngForOf", user_r18.childs);
2521
- } }
2522
- function ContextListComponent_ng_container_10_Template(rf, ctx) { if (rf & 1) {
2523
- i0.ɵɵelementContainerStart(0);
2524
- i0.ɵɵtemplate(1, ContextListComponent_ng_container_10_button_1_Template, 4, 3, "button", 24);
2525
- i0.ɵɵtemplate(2, ContextListComponent_ng_container_10_ng_template_2_Template, 7, 5, "ng-template", null, 25, i0.ɵɵtemplateRefExtractor);
2526
- i0.ɵɵelementContainerEnd();
2527
- } if (rf & 2) {
2528
- const user_r18 = ctx.$implicit;
2529
- const _r20 = i0.ɵɵreference(3);
2530
- i0.ɵɵadvance(1);
2531
- i0.ɵɵproperty("ngIf", !user_r18.childs)("ngIfElse", _r20);
2532
- } }
2533
- function ContextListComponent_ng_template_16_igo_collapsible_0_ng_template_2_Template(rf, ctx) { if (rf & 1) {
2534
- const _r45 = i0.ɵɵgetCurrentView();
2535
- i0.ɵɵelementStart(0, "igo-context-item", 33);
2536
- i0.ɵɵlistener("edit", function ContextListComponent_ng_template_16_igo_collapsible_0_ng_template_2_Template_igo_context_item_edit_0_listener() { const restoredCtx = i0.ɵɵrestoreView(_r45); const context_r43 = restoredCtx.$implicit; const ctx_r44 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r44.edit.emit(context_r43)); })("delete", function ContextListComponent_ng_template_16_igo_collapsible_0_ng_template_2_Template_igo_context_item_delete_0_listener() { const restoredCtx = i0.ɵɵrestoreView(_r45); const context_r43 = restoredCtx.$implicit; const ctx_r46 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r46.delete.emit(context_r43)); })("clone", function ContextListComponent_ng_template_16_igo_collapsible_0_ng_template_2_Template_igo_context_item_clone_0_listener() { const restoredCtx = i0.ɵɵrestoreView(_r45); const context_r43 = restoredCtx.$implicit; const ctx_r47 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r47.clone.emit(context_r43)); })("save", function ContextListComponent_ng_template_16_igo_collapsible_0_ng_template_2_Template_igo_context_item_save_0_listener() { const restoredCtx = i0.ɵɵrestoreView(_r45); const context_r43 = restoredCtx.$implicit; const ctx_r48 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r48.save.emit(context_r43)); })("hide", function ContextListComponent_ng_template_16_igo_collapsible_0_ng_template_2_Template_igo_context_item_hide_0_listener() { const restoredCtx = i0.ɵɵrestoreView(_r45); const context_r43 = restoredCtx.$implicit; const ctx_r49 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r49.hideContext(context_r43)); })("show", function ContextListComponent_ng_template_16_igo_collapsible_0_ng_template_2_Template_igo_context_item_show_0_listener() { const restoredCtx = i0.ɵɵrestoreView(_r45); const context_r43 = restoredCtx.$implicit; const ctx_r50 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r50.showContext(context_r43)); })("favorite", function ContextListComponent_ng_template_16_igo_collapsible_0_ng_template_2_Template_igo_context_item_favorite_0_listener() { const restoredCtx = i0.ɵɵrestoreView(_r45); const context_r43 = restoredCtx.$implicit; const ctx_r51 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r51.favorite.emit(context_r43)); })("manageTools", function ContextListComponent_ng_template_16_igo_collapsible_0_ng_template_2_Template_igo_context_item_manageTools_0_listener() { const restoredCtx = i0.ɵɵrestoreView(_r45); const context_r43 = restoredCtx.$implicit; const ctx_r52 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r52.manageTools.emit(context_r43)); })("managePermissions", function ContextListComponent_ng_template_16_igo_collapsible_0_ng_template_2_Template_igo_context_item_managePermissions_0_listener() { const restoredCtx = i0.ɵɵrestoreView(_r45); const context_r43 = restoredCtx.$implicit; const ctx_r53 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r53.managePermissions.emit(context_r43)); })("select", function ContextListComponent_ng_template_16_igo_collapsible_0_ng_template_2_Template_igo_context_item_select_0_listener() { const restoredCtx = i0.ɵɵrestoreView(_r45); const context_r43 = restoredCtx.$implicit; const ctx_r54 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r54.select.emit(context_r43)); })("unselect", function ContextListComponent_ng_template_16_igo_collapsible_0_ng_template_2_Template_igo_context_item_unselect_0_listener() { const restoredCtx = i0.ɵɵrestoreView(_r45); const context_r43 = restoredCtx.$implicit; const ctx_r55 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r55.unselect.emit(context_r43)); });
2537
- i0.ɵɵelementEnd();
2538
- } if (rf & 2) {
2539
- const context_r43 = ctx.$implicit;
2540
- const ctx_r42 = i0.ɵɵnextContext(3);
2541
- i0.ɵɵproperty("selected", ctx_r42.selectedContext && ctx_r42.selectedContext.uri === context_r43.uri)("context", context_r43)("default", context_r43.id && ctx_r42.defaultContextId && ctx_r42.defaultContextId === context_r43.id);
2542
- } }
2543
- function ContextListComponent_ng_template_16_igo_collapsible_0_Template(rf, ctx) { if (rf & 1) {
2544
- const _r57 = i0.ɵɵgetCurrentView();
2545
- i0.ɵɵelementStart(0, "igo-collapsible", 32);
2546
- i0.ɵɵlistener("toggle", function ContextListComponent_ng_template_16_igo_collapsible_0_Template_igo_collapsible_toggle_0_listener($event) { i0.ɵɵrestoreView(_r57); const groupContexts_r39 = i0.ɵɵnextContext().$implicit; const ctx_r56 = i0.ɵɵnextContext(); return i0.ɵɵresetView((ctx_r56.collapsed[ctx_r56.titleMapping[groupContexts_r39.key]] = $event)); });
2547
- i0.ɵɵpipe(1, "translate");
2548
- i0.ɵɵtemplate(2, ContextListComponent_ng_template_16_igo_collapsible_0_ng_template_2_Template, 1, 3, "ng-template", 11);
2549
- i0.ɵɵelementEnd();
2550
- } if (rf & 2) {
2551
- const groupContexts_r39 = i0.ɵɵnextContext().$implicit;
2552
- const ctx_r40 = i0.ɵɵnextContext();
2553
- i0.ɵɵproperty("title", i0.ɵɵpipeBind1(1, 3, ctx_r40.titleMapping[groupContexts_r39.key]))("collapsed", ctx_r40.collapsed[ctx_r40.titleMapping[groupContexts_r39.key]]);
2554
- i0.ɵɵadvance(2);
2555
- i0.ɵɵproperty("ngForOf", groupContexts_r39.value);
2556
- } }
2557
- function ContextListComponent_ng_template_16_1_ng_template_0_Template(rf, ctx) { if (rf & 1) {
2558
- const _r63 = i0.ɵɵgetCurrentView();
2559
- i0.ɵɵelementStart(0, "igo-context-item", 34);
2560
- i0.ɵɵlistener("favorite", function ContextListComponent_ng_template_16_1_ng_template_0_Template_igo_context_item_favorite_0_listener() { const restoredCtx = i0.ɵɵrestoreView(_r63); const context_r61 = restoredCtx.$implicit; const ctx_r62 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r62.favorite.emit(context_r61)); })("select", function ContextListComponent_ng_template_16_1_ng_template_0_Template_igo_context_item_select_0_listener() { const restoredCtx = i0.ɵɵrestoreView(_r63); const context_r61 = restoredCtx.$implicit; const ctx_r64 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r64.select.emit(context_r61)); })("unselect", function ContextListComponent_ng_template_16_1_ng_template_0_Template_igo_context_item_unselect_0_listener() { const restoredCtx = i0.ɵɵrestoreView(_r63); const context_r61 = restoredCtx.$implicit; const ctx_r65 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r65.unselect.emit(context_r61)); });
2561
- i0.ɵɵelementEnd();
2562
- } if (rf & 2) {
2563
- const context_r61 = ctx.$implicit;
2564
- const ctx_r60 = i0.ɵɵnextContext(3);
2565
- i0.ɵɵproperty("showFavorite", ctx_r60.configService.getConfig("favoriteContext4NonAuthenticated"))("selected", ctx_r60.selectedContext && ctx_r60.selectedContext.uri === context_r61.uri)("context", context_r61)("default", ctx_r60.contextConfigs ? ctx_r60.defaultContextId === context_r61.id : ctx_r60.defaultContextId === context_r61.uri);
2566
- } }
2567
- function ContextListComponent_ng_template_16_1_Template(rf, ctx) { if (rf & 1) {
2568
- i0.ɵɵtemplate(0, ContextListComponent_ng_template_16_1_ng_template_0_Template, 1, 4, "ng-template", 11);
2569
- } if (rf & 2) {
2570
- const groupContexts_r39 = i0.ɵɵnextContext().$implicit;
2571
- i0.ɵɵproperty("ngForOf", groupContexts_r39.value);
2572
- } }
2573
- function ContextListComponent_ng_template_16_Template(rf, ctx) { if (rf & 1) {
2574
- i0.ɵɵtemplate(0, ContextListComponent_ng_template_16_igo_collapsible_0_Template, 3, 5, "igo-collapsible", 30);
2575
- i0.ɵɵtemplate(1, ContextListComponent_ng_template_16_1_Template, 1, 1, null, 31);
2576
- } if (rf & 2) {
2577
- const groupContexts_r39 = ctx.$implicit;
2578
- const ctx_r7 = i0.ɵɵnextContext();
2579
- i0.ɵɵproperty("ngIf", groupContexts_r39.value.length && ctx_r7.auth.authenticated);
2580
- i0.ɵɵadvance(1);
2581
- i0.ɵɵproperty("ngIf", groupContexts_r39.value.length && !ctx_r7.auth.authenticated);
2582
- } }
2583
- function ContextListComponent_div_19_Template(rf, ctx) { if (rf & 1) {
2584
- i0.ɵɵelementStart(0, "div", 35);
2585
- i0.ɵɵtext(1);
2586
- i0.ɵɵpipe(2, "translate");
2587
- i0.ɵɵelementEnd();
2588
- } if (rf & 2) {
2589
- i0.ɵɵadvance(1);
2590
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 1, "igo.context.contextManager.noResult"), " ");
2591
- } }
2592
1854
  class ContextListComponent {
2593
1855
  cdRef;
2594
1856
  configService;
@@ -2920,95 +2182,51 @@ class ContextListComponent {
2920
2182
  context.hidden = false;
2921
2183
  this.show.emit(context);
2922
2184
  }
2923
- static ɵfac = function ContextListComponent_Factory(t) { return new (t || ContextListComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i3.ConfigService), i0.ɵɵdirectiveInject(i2.AuthService), i0.ɵɵdirectiveInject(i1$3.MatDialog), i0.ɵɵdirectiveInject(i3.LanguageService), i0.ɵɵdirectiveInject(i3.StorageService)); };
2924
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ContextListComponent, selectors: [["igo-context-list"]], inputs: { contexts: "contexts", selectedContext: "selectedContext", map: "map", defaultContextId: "defaultContextId", term: "term" }, outputs: { select: "select", unselect: "unselect", edit: "edit", delete: "delete", save: "save", clone: "clone", create: "create", hide: "hide", show: "show", showHiddenContexts: "showHiddenContexts", favorite: "favorite", managePermissions: "managePermissions", manageTools: "manageTools", filterPermissionsChanged: "filterPermissionsChanged" }, decls: 20, vars: 17, consts: [[3, "navigation"], [1, "context-filter-container"], ["floatLabel", "always", 4, "ngIf"], [1, "actions-container"], ["class", "sort-alpha", "mat-icon-button", "", "matTooltipShowDelay", "500", 3, "matTooltip", "click", 4, "ngIf"], ["class", "add-context-button", "icon", "plus", 3, "iconColor", "store", "withIcon", "withTitle", "horizontal", "mode", 4, "ngIf"], ["class", "users-filter", "mat-icon-button", "", "matTooltipShowDelay", "500", 3, "matTooltip", "matMenuTriggerFor", 4, "ngIf"], ["accountMenu", "matMenu"], [4, "ngFor", "ngForOf"], ["mat-menu-item", "", 1, "profil-menu"], [3, "checked", "click", "change"], ["ngFor", "", 3, "ngForOf"], ["class", "no-result", 4, "ngIf"], ["floatLabel", "always"], ["matInput", "", "type", "text", 3, "placeholder", "ngModel", "ngModelChange"], ["mat-icon-button", "", "matSuffix", "", "class", "clear-button", "aria-label", "Clear", "color", "warn", 3, "click", 4, "ngIf"], ["mat-icon-button", "", "matSuffix", "", "aria-label", "Clear", "color", "warn", 1, "clear-button", 3, "click"], ["svgIcon", "close"], ["mat-icon-button", "", "matTooltipShowDelay", "500", 1, "sort-alpha", 3, "matTooltip", "click"], ["color", "primary", "svgIcon", "sort-alphabetical-variant"], ["color", "warn", "svgIcon", "sort-variant-remove"], ["icon", "plus", 1, "add-context-button", 3, "iconColor", "store", "withIcon", "withTitle", "horizontal", "mode"], ["mat-icon-button", "", "matTooltipShowDelay", "500", 1, "users-filter", 3, "matTooltip", "matMenuTriggerFor"], ["color", "primary", "svgIcon", "filter-menu"], ["mat-menu-item", "", "class", "profil-menu", 4, "ngIf", "ngIfElse"], ["withSubMenu", ""], [3, "checked", "indeterminate", "click", "change"], ["mat-menu-item", "", 1, "profil-menu", 3, "matMenuTriggerFor"], ["subAccountMenu", "matMenu"], ["mat-menu-item", "", "class", "profil-menu", 4, "ngFor", "ngForOf"], [3, "title", "collapsed", "toggle", 4, "ngIf"], [4, "ngIf"], [3, "title", "collapsed", "toggle"], ["igoListItem", "", "color", "accent", 3, "selected", "context", "default", "edit", "delete", "clone", "save", "hide", "show", "favorite", "manageTools", "managePermissions", "select", "unselect"], ["igoListItem", "", "color", "accent", 3, "showFavorite", "selected", "context", "default", "favorite", "select", "unselect"], [1, "no-result"]], template: function ContextListComponent_Template(rf, ctx) { if (rf & 1) {
2925
- i0.ɵɵelementStart(0, "igo-list", 0)(1, "div", 1);
2926
- i0.ɵɵtemplate(2, ContextListComponent_mat_form_field_2_Template, 7, 8, "mat-form-field", 2);
2927
- i0.ɵɵelementStart(3, "div", 3);
2928
- i0.ɵɵtemplate(4, ContextListComponent_button_4_Template, 3, 3, "button", 4);
2929
- i0.ɵɵtemplate(5, ContextListComponent_button_5_Template, 3, 3, "button", 4);
2930
- i0.ɵɵtemplate(6, ContextListComponent_igo_actionbar_6_Template, 1, 6, "igo-actionbar", 5);
2931
- i0.ɵɵtemplate(7, ContextListComponent_button_7_Template, 3, 4, "button", 6);
2932
- i0.ɵɵelementStart(8, "mat-menu", null, 7);
2933
- i0.ɵɵtemplate(10, ContextListComponent_ng_container_10_Template, 4, 2, "ng-container", 8);
2934
- i0.ɵɵelementStart(11, "button", 9)(12, "mat-checkbox", 10);
2935
- i0.ɵɵlistener("click", function ContextListComponent_Template_mat_checkbox_click_12_listener($event) { return $event.stopPropagation(); })("change", function ContextListComponent_Template_mat_checkbox_change_12_listener() { return ctx.showHiddenContexts.emit(); });
2936
- i0.ɵɵelementEnd();
2937
- i0.ɵɵelementStart(13, "span");
2938
- i0.ɵɵtext(14);
2939
- i0.ɵɵpipe(15, "translate");
2940
- i0.ɵɵelementEnd()()()()();
2941
- i0.ɵɵtemplate(16, ContextListComponent_ng_template_16_Template, 2, 2, "ng-template", 11);
2942
- i0.ɵɵpipe(17, "keyvalue");
2943
- i0.ɵɵpipe(18, "async");
2944
- i0.ɵɵtemplate(19, ContextListComponent_div_19_Template, 3, 3, "div", 12);
2945
- i0.ɵɵelementEnd();
2946
- } if (rf & 2) {
2947
- i0.ɵɵproperty("navigation", true);
2948
- i0.ɵɵadvance(2);
2949
- i0.ɵɵproperty("ngIf", ctx.showFilter());
2950
- i0.ɵɵadvance(2);
2951
- i0.ɵɵproperty("ngIf", !ctx.sortedAlpha);
2952
- i0.ɵɵadvance(1);
2953
- i0.ɵɵproperty("ngIf", ctx.sortedAlpha);
2954
- i0.ɵɵadvance(1);
2955
- i0.ɵɵproperty("ngIf", ctx.auth.authenticated && ctx.contextConfigs);
2956
- i0.ɵɵadvance(1);
2957
- i0.ɵɵproperty("ngIf", ctx.auth.authenticated && ctx.contextConfigs);
2958
- i0.ɵɵadvance(3);
2959
- i0.ɵɵproperty("ngForOf", ctx.users);
2960
- i0.ɵɵadvance(2);
2961
- i0.ɵɵproperty("checked", ctx.showHidden);
2962
- i0.ɵɵadvance(2);
2963
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(15, 11, "igo.context.contextManager.showHidden"), " ");
2964
- i0.ɵɵadvance(2);
2965
- i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind1(17, 13, i0.ɵɵpipeBind1(18, 15, ctx.contexts$)));
2966
- i0.ɵɵadvance(3);
2967
- i0.ɵɵproperty("ngIf", ctx.isEmpty);
2968
- } }, dependencies: [i6.NgForOf, i6.NgIf, i1$2.DefaultValueAccessor, i1$2.NgControlStatus, i1$2.NgModel, i6$1.MatFormField, i6$1.MatLabel, i6$1.MatSuffix, i5.MatInput, i6$2.MatIcon, i7.MatIconButton, i6$3.MatTooltip, i11$1.MatCheckbox, i12$1.MatMenu, i12$1.MatMenuItem, i12$1.MatMenuTrigger, i13.ListItemDirective, i13.ListComponent, i13.CollapsibleComponent, i13.ActionbarComponent, ContextItemComponent, i6.AsyncPipe, i13.KeyValuePipe, i9$1.TranslatePipe], styles: ["[_nghost-%COMP%] mat-form-field .mat-mdc-form-field-subscript-wrapper{display:none}.context-filter-container[_ngcontent-%COMP%]{display:flex;align-items:center;padding:8px 4px}.context-filter-container[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%]{flex:1}.context-filter-min-width[_ngcontent-%COMP%]{width:calc(100% - 135px);margin:5px;padding-left:6px}.profil-menu[_ngcontent-%COMP%]{padding-left:8px}.profil-menu[_ngcontent-%COMP%] mat-checkbox[_ngcontent-%COMP%]{margin-right:8px}.add-context-button[_ngcontent-%COMP%]{margin:0;width:40px;display:inline-flex;overflow:hidden}.actions-container[_ngcontent-%COMP%]{margin-left:4px}.no-result[_ngcontent-%COMP%]{padding:16px}"], changeDetection: 0 });
2185
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ContextListComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i3.ConfigService }, { token: i2.AuthService }, { token: i1$3.MatDialog }, { token: i3.LanguageService }, { token: i3.StorageService }], target: i0.ɵɵFactoryTarget.Component });
2186
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: ContextListComponent, selector: "igo-context-list", inputs: { contexts: "contexts", selectedContext: "selectedContext", map: "map", defaultContextId: "defaultContextId", term: "term" }, outputs: { select: "select", unselect: "unselect", edit: "edit", delete: "delete", save: "save", clone: "clone", create: "create", hide: "hide", show: "show", showHiddenContexts: "showHiddenContexts", favorite: "favorite", managePermissions: "managePermissions", manageTools: "manageTools", filterPermissionsChanged: "filterPermissionsChanged" }, ngImport: i0, template: "<igo-list [navigation]=\"true\">\r\n <div class=\"context-filter-container\">\r\n <mat-form-field *ngIf=\"showFilter()\" floatLabel=\"always\">\r\n <mat-label>{{\r\n 'igo.context.contextManager.filterPlaceHolder' | translate\r\n }}</mat-label>\r\n <input\r\n matInput\r\n type=\"text\"\r\n [placeholder]=\"\r\n 'igo.context.contextManager.filterPlaceHolder' | translate\r\n \"\r\n [(ngModel)]=\"term\"\r\n />\r\n <button\r\n mat-icon-button\r\n matSuffix\r\n class=\"clear-button\"\r\n *ngIf=\"term.length\"\r\n aria-label=\"Clear\"\r\n color=\"warn\"\r\n (click)=\"clearFilter()\"\r\n >\r\n <mat-icon svgIcon=\"close\"></mat-icon>\r\n </button>\r\n </mat-form-field>\r\n\r\n <div class=\"actions-container\">\r\n <button\r\n *ngIf=\"!sortedAlpha\"\r\n class=\"sort-alpha\"\r\n mat-icon-button\r\n [matTooltip]=\"\r\n 'igo.context.contextManager.sortAlphabetically' | translate\r\n \"\r\n matTooltipShowDelay=\"500\"\r\n (click)=\"toggleSort(true)\"\r\n >\r\n <mat-icon\r\n color=\"primary\"\r\n svgIcon=\"sort-alphabetical-variant\"\r\n ></mat-icon>\r\n </button>\r\n <button\r\n *ngIf=\"sortedAlpha\"\r\n class=\"sort-alpha\"\r\n mat-icon-button\r\n [matTooltip]=\"'igo.context.contextManager.sortContextOrder' | translate\"\r\n matTooltipShowDelay=\"500\"\r\n (click)=\"toggleSort(false)\"\r\n >\r\n <mat-icon color=\"warn\" svgIcon=\"sort-variant-remove\"></mat-icon>\r\n </button>\r\n\r\n <igo-actionbar\r\n *ngIf=\"auth.authenticated && contextConfigs\"\r\n class=\"add-context-button\"\r\n [iconColor]=\"color\"\r\n [store]=\"actionStore\"\r\n [withIcon]=\"true\"\r\n icon=\"plus\"\r\n [withTitle]=\"actionbarMode === 'overlay'\"\r\n [horizontal]=\"false\"\r\n [mode]=\"actionbarMode\"\r\n >\r\n </igo-actionbar>\r\n\r\n <button\r\n *ngIf=\"auth.authenticated && contextConfigs\"\r\n class=\"users-filter\"\r\n mat-icon-button\r\n [matTooltip]=\"'igo.context.contextManager.filterUser' | translate\"\r\n matTooltipShowDelay=\"500\"\r\n [matMenuTriggerFor]=\"accountMenu\"\r\n >\r\n <mat-icon color=\"primary\" svgIcon=\"filter-menu\"></mat-icon>\r\n </button>\r\n <mat-menu #accountMenu=\"matMenu\">\r\n <ng-container *ngFor=\"let user of users\">\r\n <button\r\n *ngIf=\"!user.childs; else withSubMenu\"\r\n mat-menu-item\r\n class=\"profil-menu\"\r\n >\r\n <mat-checkbox\r\n [checked]=\"getPermission(user).checked\"\r\n [indeterminate]=\"getPermission(user).indeterminate\"\r\n (click)=\"$event.stopPropagation()\"\r\n (change)=\"handleToggleCategory(user)\"\r\n >\r\n </mat-checkbox>\r\n <span>{{ user.title }}</span>\r\n </button>\r\n <ng-template #withSubMenu>\r\n <button\r\n mat-menu-item\r\n [matMenuTriggerFor]=\"subAccountMenu\"\r\n class=\"profil-menu\"\r\n >\r\n <mat-checkbox\r\n [checked]=\"getPermission(user).checked\"\r\n [indeterminate]=\"getPermission(user).indeterminate\"\r\n (click)=\"$event.stopPropagation()\"\r\n (change)=\"handleToggleCategory(user)\"\r\n >\r\n </mat-checkbox>\r\n <span>{{ user.title }}</span>\r\n </button>\r\n\r\n <mat-menu #subAccountMenu=\"matMenu\">\r\n <button\r\n mat-menu-item\r\n *ngFor=\"let child of user.childs\"\r\n class=\"profil-menu\"\r\n >\r\n <mat-checkbox\r\n [checked]=\"getPermission(child).checked\"\r\n (click)=\"$event.stopPropagation()\"\r\n (change)=\"handleToggleCategory(child, user)\"\r\n >\r\n {{ child.title }}\r\n </mat-checkbox>\r\n </button>\r\n </mat-menu>\r\n </ng-template>\r\n </ng-container>\r\n\r\n <button mat-menu-item class=\"profil-menu\">\r\n <mat-checkbox\r\n [checked]=\"showHidden\"\r\n (click)=\"$event.stopPropagation()\"\r\n (change)=\"showHiddenContexts.emit()\"\r\n >\r\n </mat-checkbox>\r\n <span>\r\n {{ 'igo.context.contextManager.showHidden' | translate }}\r\n </span>\r\n </button>\r\n </mat-menu>\r\n </div>\r\n </div>\r\n\r\n <ng-template ngFor let-groupContexts [ngForOf]=\"contexts$ | async | keyvalue\">\r\n <igo-collapsible\r\n *ngIf=\"groupContexts.value.length && auth.authenticated\"\r\n [title]=\"titleMapping[groupContexts.key] | translate\"\r\n [collapsed]=\"collapsed[titleMapping[groupContexts.key]]\"\r\n (toggle)=\"collapsed[titleMapping[groupContexts.key]] = $event\"\r\n >\r\n <ng-template ngFor let-context [ngForOf]=\"groupContexts.value\">\r\n <igo-context-item\r\n igoListItem\r\n color=\"accent\"\r\n [selected]=\"selectedContext && selectedContext.uri === context.uri\"\r\n [context]=\"context\"\r\n [default]=\"\r\n context.id &&\r\n this.defaultContextId &&\r\n this.defaultContextId === context.id\r\n \"\r\n (edit)=\"edit.emit(context)\"\r\n (delete)=\"delete.emit(context)\"\r\n (clone)=\"clone.emit(context)\"\r\n (save)=\"save.emit(context)\"\r\n (hide)=\"hideContext(context)\"\r\n (show)=\"showContext(context)\"\r\n (favorite)=\"favorite.emit(context)\"\r\n (manageTools)=\"manageTools.emit(context)\"\r\n (managePermissions)=\"managePermissions.emit(context)\"\r\n (select)=\"select.emit(context)\"\r\n (unselect)=\"unselect.emit(context)\"\r\n >\r\n </igo-context-item>\r\n </ng-template>\r\n </igo-collapsible>\r\n\r\n <ng-template\r\n *ngIf=\"groupContexts.value.length && !auth.authenticated\"\r\n ngFor\r\n let-context\r\n [ngForOf]=\"groupContexts.value\"\r\n >\r\n <igo-context-item\r\n igoListItem\r\n color=\"accent\"\r\n [showFavorite]=\"\r\n configService.getConfig('favoriteContext4NonAuthenticated')\r\n \"\r\n [selected]=\"selectedContext && selectedContext.uri === context.uri\"\r\n [context]=\"context\"\r\n [default]=\"\r\n contextConfigs\r\n ? defaultContextId === context.id\r\n : defaultContextId === context.uri\r\n \"\r\n (favorite)=\"favorite.emit(context)\"\r\n (select)=\"select.emit(context)\"\r\n (unselect)=\"unselect.emit(context)\"\r\n >\r\n </igo-context-item>\r\n </ng-template>\r\n </ng-template>\r\n\r\n <div *ngIf=\"isEmpty\" class=\"no-result\">\r\n {{ 'igo.context.contextManager.noResult' | translate }}\r\n </div>\r\n</igo-list>\r\n", styles: [":host ::ng-deep mat-form-field .mat-mdc-form-field-subscript-wrapper{display:none}.context-filter-container{display:flex;align-items:center;padding:8px 4px}.context-filter-container mat-form-field{flex:1}.context-filter-min-width{width:calc(100% - 135px);margin:5px;padding-left:6px}.profil-menu{padding-left:8px}.profil-menu mat-checkbox{margin-right:8px}.add-context-button{margin:0;width:40px;display:inline-flex;overflow:hidden}.actions-container{margin-left:4px}.no-result{padding:16px}\n"], dependencies: [{ kind: "directive", type: i6.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$2.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$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i6$1.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i6$1.MatLabel, selector: "mat-label" }, { kind: "directive", type: i6$1.MatSuffix, selector: "[matSuffix], [matIconSuffix], [matTextSuffix]", inputs: ["matTextSuffix"] }, { kind: "directive", type: i5.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { kind: "component", type: i6$2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i7.MatIconButton, selector: "button[mat-icon-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "directive", type: i6$3.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }, { kind: "component", type: i11$1.MatCheckbox, selector: "mat-checkbox", inputs: ["disableRipple", "color", "tabIndex"], exportAs: ["matCheckbox"] }, { kind: "component", type: i12$1.MatMenu, selector: "mat-menu", exportAs: ["matMenu"] }, { kind: "component", type: i12$1.MatMenuItem, selector: "[mat-menu-item]", inputs: ["disabled", "disableRipple", "role"], exportAs: ["matMenuItem"] }, { kind: "directive", type: i12$1.MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", exportAs: ["matMenuTrigger"] }, { kind: "directive", type: i13.ListItemDirective, selector: "[igoListItem]", inputs: ["color", "focused", "selected", "disabled"], outputs: ["beforeSelect", "beforeFocus", "beforeUnselect", "beforeUnfocus", "beforeDisable", "beforeEnable", "focus", "unfocus", "select", "unselect", "disable", "enable"] }, { kind: "component", type: i13.ListComponent, selector: "igo-list", inputs: ["navigation", "selection"] }, { kind: "component", type: i13.CollapsibleComponent, selector: "igo-collapsible", inputs: ["title", "collapsed"], outputs: ["toggle"] }, { kind: "component", type: i13.ActionbarComponent, selector: "igo-actionbar", inputs: ["store", "mode", "withToggleButton", "horizontal", "color", "iconColor", "withTitle", "withTooltip", "scrollActive", "withIcon", "icon", "xPosition", "yPosition", "overlayClass"] }, { kind: "component", type: ContextItemComponent, selector: "igo-context-item", inputs: ["showFavorite", "context", "default", "selected"], outputs: ["edit", "delete", "save", "clone", "hide", "show", "favorite", "managePermissions", "manageTools"] }, { kind: "pipe", type: i6.AsyncPipe, name: "async" }, { kind: "pipe", type: i13.KeyValuePipe, name: "keyvalue" }, { kind: "pipe", type: i9$1.TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
2969
2187
  }
2970
- (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ContextListComponent, [{
2971
- type: Component,
2972
- args: [{ selector: 'igo-context-list', changeDetection: ChangeDetectionStrategy.OnPush, template: "<igo-list [navigation]=\"true\">\r\n <div class=\"context-filter-container\">\r\n <mat-form-field *ngIf=\"showFilter()\" floatLabel=\"always\">\r\n <mat-label>{{\r\n 'igo.context.contextManager.filterPlaceHolder' | translate\r\n }}</mat-label>\r\n <input\r\n matInput\r\n type=\"text\"\r\n [placeholder]=\"\r\n 'igo.context.contextManager.filterPlaceHolder' | translate\r\n \"\r\n [(ngModel)]=\"term\"\r\n />\r\n <button\r\n mat-icon-button\r\n matSuffix\r\n class=\"clear-button\"\r\n *ngIf=\"term.length\"\r\n aria-label=\"Clear\"\r\n color=\"warn\"\r\n (click)=\"clearFilter()\"\r\n >\r\n <mat-icon svgIcon=\"close\"></mat-icon>\r\n </button>\r\n </mat-form-field>\r\n\r\n <div class=\"actions-container\">\r\n <button\r\n *ngIf=\"!sortedAlpha\"\r\n class=\"sort-alpha\"\r\n mat-icon-button\r\n [matTooltip]=\"\r\n 'igo.context.contextManager.sortAlphabetically' | translate\r\n \"\r\n matTooltipShowDelay=\"500\"\r\n (click)=\"toggleSort(true)\"\r\n >\r\n <mat-icon\r\n color=\"primary\"\r\n svgIcon=\"sort-alphabetical-variant\"\r\n ></mat-icon>\r\n </button>\r\n <button\r\n *ngIf=\"sortedAlpha\"\r\n class=\"sort-alpha\"\r\n mat-icon-button\r\n [matTooltip]=\"'igo.context.contextManager.sortContextOrder' | translate\"\r\n matTooltipShowDelay=\"500\"\r\n (click)=\"toggleSort(false)\"\r\n >\r\n <mat-icon color=\"warn\" svgIcon=\"sort-variant-remove\"></mat-icon>\r\n </button>\r\n\r\n <igo-actionbar\r\n *ngIf=\"auth.authenticated && contextConfigs\"\r\n class=\"add-context-button\"\r\n [iconColor]=\"color\"\r\n [store]=\"actionStore\"\r\n [withIcon]=\"true\"\r\n icon=\"plus\"\r\n [withTitle]=\"actionbarMode === 'overlay'\"\r\n [horizontal]=\"false\"\r\n [mode]=\"actionbarMode\"\r\n >\r\n </igo-actionbar>\r\n\r\n <button\r\n *ngIf=\"auth.authenticated && contextConfigs\"\r\n class=\"users-filter\"\r\n mat-icon-button\r\n [matTooltip]=\"'igo.context.contextManager.filterUser' | translate\"\r\n matTooltipShowDelay=\"500\"\r\n [matMenuTriggerFor]=\"accountMenu\"\r\n >\r\n <mat-icon color=\"primary\" svgIcon=\"filter-menu\"></mat-icon>\r\n </button>\r\n <mat-menu #accountMenu=\"matMenu\">\r\n <ng-container *ngFor=\"let user of users\">\r\n <button\r\n *ngIf=\"!user.childs; else withSubMenu\"\r\n mat-menu-item\r\n class=\"profil-menu\"\r\n >\r\n <mat-checkbox\r\n [checked]=\"getPermission(user).checked\"\r\n [indeterminate]=\"getPermission(user).indeterminate\"\r\n (click)=\"$event.stopPropagation()\"\r\n (change)=\"handleToggleCategory(user)\"\r\n >\r\n </mat-checkbox>\r\n <span>{{ user.title }}</span>\r\n </button>\r\n <ng-template #withSubMenu>\r\n <button\r\n mat-menu-item\r\n [matMenuTriggerFor]=\"subAccountMenu\"\r\n class=\"profil-menu\"\r\n >\r\n <mat-checkbox\r\n [checked]=\"getPermission(user).checked\"\r\n [indeterminate]=\"getPermission(user).indeterminate\"\r\n (click)=\"$event.stopPropagation()\"\r\n (change)=\"handleToggleCategory(user)\"\r\n >\r\n </mat-checkbox>\r\n <span>{{ user.title }}</span>\r\n </button>\r\n\r\n <mat-menu #subAccountMenu=\"matMenu\">\r\n <button\r\n mat-menu-item\r\n *ngFor=\"let child of user.childs\"\r\n class=\"profil-menu\"\r\n >\r\n <mat-checkbox\r\n [checked]=\"getPermission(child).checked\"\r\n (click)=\"$event.stopPropagation()\"\r\n (change)=\"handleToggleCategory(child, user)\"\r\n >\r\n {{ child.title }}\r\n </mat-checkbox>\r\n </button>\r\n </mat-menu>\r\n </ng-template>\r\n </ng-container>\r\n\r\n <button mat-menu-item class=\"profil-menu\">\r\n <mat-checkbox\r\n [checked]=\"showHidden\"\r\n (click)=\"$event.stopPropagation()\"\r\n (change)=\"showHiddenContexts.emit()\"\r\n >\r\n </mat-checkbox>\r\n <span>\r\n {{ 'igo.context.contextManager.showHidden' | translate }}\r\n </span>\r\n </button>\r\n </mat-menu>\r\n </div>\r\n </div>\r\n\r\n <ng-template ngFor let-groupContexts [ngForOf]=\"contexts$ | async | keyvalue\">\r\n <igo-collapsible\r\n *ngIf=\"groupContexts.value.length && auth.authenticated\"\r\n [title]=\"titleMapping[groupContexts.key] | translate\"\r\n [collapsed]=\"collapsed[titleMapping[groupContexts.key]]\"\r\n (toggle)=\"collapsed[titleMapping[groupContexts.key]] = $event\"\r\n >\r\n <ng-template ngFor let-context [ngForOf]=\"groupContexts.value\">\r\n <igo-context-item\r\n igoListItem\r\n color=\"accent\"\r\n [selected]=\"selectedContext && selectedContext.uri === context.uri\"\r\n [context]=\"context\"\r\n [default]=\"\r\n context.id &&\r\n this.defaultContextId &&\r\n this.defaultContextId === context.id\r\n \"\r\n (edit)=\"edit.emit(context)\"\r\n (delete)=\"delete.emit(context)\"\r\n (clone)=\"clone.emit(context)\"\r\n (save)=\"save.emit(context)\"\r\n (hide)=\"hideContext(context)\"\r\n (show)=\"showContext(context)\"\r\n (favorite)=\"favorite.emit(context)\"\r\n (manageTools)=\"manageTools.emit(context)\"\r\n (managePermissions)=\"managePermissions.emit(context)\"\r\n (select)=\"select.emit(context)\"\r\n (unselect)=\"unselect.emit(context)\"\r\n >\r\n </igo-context-item>\r\n </ng-template>\r\n </igo-collapsible>\r\n\r\n <ng-template\r\n *ngIf=\"groupContexts.value.length && !auth.authenticated\"\r\n ngFor\r\n let-context\r\n [ngForOf]=\"groupContexts.value\"\r\n >\r\n <igo-context-item\r\n igoListItem\r\n color=\"accent\"\r\n [showFavorite]=\"\r\n configService.getConfig('favoriteContext4NonAuthenticated')\r\n \"\r\n [selected]=\"selectedContext && selectedContext.uri === context.uri\"\r\n [context]=\"context\"\r\n [default]=\"\r\n contextConfigs\r\n ? defaultContextId === context.id\r\n : defaultContextId === context.uri\r\n \"\r\n (favorite)=\"favorite.emit(context)\"\r\n (select)=\"select.emit(context)\"\r\n (unselect)=\"unselect.emit(context)\"\r\n >\r\n </igo-context-item>\r\n </ng-template>\r\n </ng-template>\r\n\r\n <div *ngIf=\"isEmpty\" class=\"no-result\">\r\n {{ 'igo.context.contextManager.noResult' | translate }}\r\n </div>\r\n</igo-list>\r\n", styles: [":host ::ng-deep mat-form-field .mat-mdc-form-field-subscript-wrapper{display:none}.context-filter-container{display:flex;align-items:center;padding:8px 4px}.context-filter-container mat-form-field{flex:1}.context-filter-min-width{width:calc(100% - 135px);margin:5px;padding-left:6px}.profil-menu{padding-left:8px}.profil-menu mat-checkbox{margin-right:8px}.add-context-button{margin:0;width:40px;display:inline-flex;overflow:hidden}.actions-container{margin-left:4px}.no-result{padding:16px}\n"] }]
2973
- }], function () { return [{ type: i0.ChangeDetectorRef }, { type: i3.ConfigService }, { type: i2.AuthService }, { type: i1$3.MatDialog }, { type: i3.LanguageService }, { type: i3.StorageService }]; }, { contexts: [{
2974
- type: Input
2975
- }], selectedContext: [{
2976
- type: Input
2977
- }], map: [{
2978
- type: Input
2979
- }], defaultContextId: [{
2980
- type: Input
2981
- }], select: [{
2982
- type: Output
2983
- }], unselect: [{
2984
- type: Output
2985
- }], edit: [{
2986
- type: Output
2987
- }], delete: [{
2988
- type: Output
2989
- }], save: [{
2990
- type: Output
2991
- }], clone: [{
2992
- type: Output
2993
- }], create: [{
2994
- type: Output
2995
- }], hide: [{
2996
- type: Output
2997
- }], show: [{
2998
- type: Output
2999
- }], showHiddenContexts: [{
3000
- type: Output
3001
- }], favorite: [{
3002
- type: Output
3003
- }], managePermissions: [{
3004
- type: Output
3005
- }], manageTools: [{
3006
- type: Output
3007
- }], filterPermissionsChanged: [{
3008
- type: Output
3009
- }], term: [{
3010
- type: Input
3011
- }] }); })();
2188
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ContextListComponent, decorators: [{
2189
+ type: Component,
2190
+ args: [{ selector: 'igo-context-list', changeDetection: ChangeDetectionStrategy.OnPush, template: "<igo-list [navigation]=\"true\">\r\n <div class=\"context-filter-container\">\r\n <mat-form-field *ngIf=\"showFilter()\" floatLabel=\"always\">\r\n <mat-label>{{\r\n 'igo.context.contextManager.filterPlaceHolder' | translate\r\n }}</mat-label>\r\n <input\r\n matInput\r\n type=\"text\"\r\n [placeholder]=\"\r\n 'igo.context.contextManager.filterPlaceHolder' | translate\r\n \"\r\n [(ngModel)]=\"term\"\r\n />\r\n <button\r\n mat-icon-button\r\n matSuffix\r\n class=\"clear-button\"\r\n *ngIf=\"term.length\"\r\n aria-label=\"Clear\"\r\n color=\"warn\"\r\n (click)=\"clearFilter()\"\r\n >\r\n <mat-icon svgIcon=\"close\"></mat-icon>\r\n </button>\r\n </mat-form-field>\r\n\r\n <div class=\"actions-container\">\r\n <button\r\n *ngIf=\"!sortedAlpha\"\r\n class=\"sort-alpha\"\r\n mat-icon-button\r\n [matTooltip]=\"\r\n 'igo.context.contextManager.sortAlphabetically' | translate\r\n \"\r\n matTooltipShowDelay=\"500\"\r\n (click)=\"toggleSort(true)\"\r\n >\r\n <mat-icon\r\n color=\"primary\"\r\n svgIcon=\"sort-alphabetical-variant\"\r\n ></mat-icon>\r\n </button>\r\n <button\r\n *ngIf=\"sortedAlpha\"\r\n class=\"sort-alpha\"\r\n mat-icon-button\r\n [matTooltip]=\"'igo.context.contextManager.sortContextOrder' | translate\"\r\n matTooltipShowDelay=\"500\"\r\n (click)=\"toggleSort(false)\"\r\n >\r\n <mat-icon color=\"warn\" svgIcon=\"sort-variant-remove\"></mat-icon>\r\n </button>\r\n\r\n <igo-actionbar\r\n *ngIf=\"auth.authenticated && contextConfigs\"\r\n class=\"add-context-button\"\r\n [iconColor]=\"color\"\r\n [store]=\"actionStore\"\r\n [withIcon]=\"true\"\r\n icon=\"plus\"\r\n [withTitle]=\"actionbarMode === 'overlay'\"\r\n [horizontal]=\"false\"\r\n [mode]=\"actionbarMode\"\r\n >\r\n </igo-actionbar>\r\n\r\n <button\r\n *ngIf=\"auth.authenticated && contextConfigs\"\r\n class=\"users-filter\"\r\n mat-icon-button\r\n [matTooltip]=\"'igo.context.contextManager.filterUser' | translate\"\r\n matTooltipShowDelay=\"500\"\r\n [matMenuTriggerFor]=\"accountMenu\"\r\n >\r\n <mat-icon color=\"primary\" svgIcon=\"filter-menu\"></mat-icon>\r\n </button>\r\n <mat-menu #accountMenu=\"matMenu\">\r\n <ng-container *ngFor=\"let user of users\">\r\n <button\r\n *ngIf=\"!user.childs; else withSubMenu\"\r\n mat-menu-item\r\n class=\"profil-menu\"\r\n >\r\n <mat-checkbox\r\n [checked]=\"getPermission(user).checked\"\r\n [indeterminate]=\"getPermission(user).indeterminate\"\r\n (click)=\"$event.stopPropagation()\"\r\n (change)=\"handleToggleCategory(user)\"\r\n >\r\n </mat-checkbox>\r\n <span>{{ user.title }}</span>\r\n </button>\r\n <ng-template #withSubMenu>\r\n <button\r\n mat-menu-item\r\n [matMenuTriggerFor]=\"subAccountMenu\"\r\n class=\"profil-menu\"\r\n >\r\n <mat-checkbox\r\n [checked]=\"getPermission(user).checked\"\r\n [indeterminate]=\"getPermission(user).indeterminate\"\r\n (click)=\"$event.stopPropagation()\"\r\n (change)=\"handleToggleCategory(user)\"\r\n >\r\n </mat-checkbox>\r\n <span>{{ user.title }}</span>\r\n </button>\r\n\r\n <mat-menu #subAccountMenu=\"matMenu\">\r\n <button\r\n mat-menu-item\r\n *ngFor=\"let child of user.childs\"\r\n class=\"profil-menu\"\r\n >\r\n <mat-checkbox\r\n [checked]=\"getPermission(child).checked\"\r\n (click)=\"$event.stopPropagation()\"\r\n (change)=\"handleToggleCategory(child, user)\"\r\n >\r\n {{ child.title }}\r\n </mat-checkbox>\r\n </button>\r\n </mat-menu>\r\n </ng-template>\r\n </ng-container>\r\n\r\n <button mat-menu-item class=\"profil-menu\">\r\n <mat-checkbox\r\n [checked]=\"showHidden\"\r\n (click)=\"$event.stopPropagation()\"\r\n (change)=\"showHiddenContexts.emit()\"\r\n >\r\n </mat-checkbox>\r\n <span>\r\n {{ 'igo.context.contextManager.showHidden' | translate }}\r\n </span>\r\n </button>\r\n </mat-menu>\r\n </div>\r\n </div>\r\n\r\n <ng-template ngFor let-groupContexts [ngForOf]=\"contexts$ | async | keyvalue\">\r\n <igo-collapsible\r\n *ngIf=\"groupContexts.value.length && auth.authenticated\"\r\n [title]=\"titleMapping[groupContexts.key] | translate\"\r\n [collapsed]=\"collapsed[titleMapping[groupContexts.key]]\"\r\n (toggle)=\"collapsed[titleMapping[groupContexts.key]] = $event\"\r\n >\r\n <ng-template ngFor let-context [ngForOf]=\"groupContexts.value\">\r\n <igo-context-item\r\n igoListItem\r\n color=\"accent\"\r\n [selected]=\"selectedContext && selectedContext.uri === context.uri\"\r\n [context]=\"context\"\r\n [default]=\"\r\n context.id &&\r\n this.defaultContextId &&\r\n this.defaultContextId === context.id\r\n \"\r\n (edit)=\"edit.emit(context)\"\r\n (delete)=\"delete.emit(context)\"\r\n (clone)=\"clone.emit(context)\"\r\n (save)=\"save.emit(context)\"\r\n (hide)=\"hideContext(context)\"\r\n (show)=\"showContext(context)\"\r\n (favorite)=\"favorite.emit(context)\"\r\n (manageTools)=\"manageTools.emit(context)\"\r\n (managePermissions)=\"managePermissions.emit(context)\"\r\n (select)=\"select.emit(context)\"\r\n (unselect)=\"unselect.emit(context)\"\r\n >\r\n </igo-context-item>\r\n </ng-template>\r\n </igo-collapsible>\r\n\r\n <ng-template\r\n *ngIf=\"groupContexts.value.length && !auth.authenticated\"\r\n ngFor\r\n let-context\r\n [ngForOf]=\"groupContexts.value\"\r\n >\r\n <igo-context-item\r\n igoListItem\r\n color=\"accent\"\r\n [showFavorite]=\"\r\n configService.getConfig('favoriteContext4NonAuthenticated')\r\n \"\r\n [selected]=\"selectedContext && selectedContext.uri === context.uri\"\r\n [context]=\"context\"\r\n [default]=\"\r\n contextConfigs\r\n ? defaultContextId === context.id\r\n : defaultContextId === context.uri\r\n \"\r\n (favorite)=\"favorite.emit(context)\"\r\n (select)=\"select.emit(context)\"\r\n (unselect)=\"unselect.emit(context)\"\r\n >\r\n </igo-context-item>\r\n </ng-template>\r\n </ng-template>\r\n\r\n <div *ngIf=\"isEmpty\" class=\"no-result\">\r\n {{ 'igo.context.contextManager.noResult' | translate }}\r\n </div>\r\n</igo-list>\r\n", styles: [":host ::ng-deep mat-form-field .mat-mdc-form-field-subscript-wrapper{display:none}.context-filter-container{display:flex;align-items:center;padding:8px 4px}.context-filter-container mat-form-field{flex:1}.context-filter-min-width{width:calc(100% - 135px);margin:5px;padding-left:6px}.profil-menu{padding-left:8px}.profil-menu mat-checkbox{margin-right:8px}.add-context-button{margin:0;width:40px;display:inline-flex;overflow:hidden}.actions-container{margin-left:4px}.no-result{padding:16px}\n"] }]
2191
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i3.ConfigService }, { type: i2.AuthService }, { type: i1$3.MatDialog }, { type: i3.LanguageService }, { type: i3.StorageService }]; }, propDecorators: { contexts: [{
2192
+ type: Input
2193
+ }], selectedContext: [{
2194
+ type: Input
2195
+ }], map: [{
2196
+ type: Input
2197
+ }], defaultContextId: [{
2198
+ type: Input
2199
+ }], select: [{
2200
+ type: Output
2201
+ }], unselect: [{
2202
+ type: Output
2203
+ }], edit: [{
2204
+ type: Output
2205
+ }], delete: [{
2206
+ type: Output
2207
+ }], save: [{
2208
+ type: Output
2209
+ }], clone: [{
2210
+ type: Output
2211
+ }], create: [{
2212
+ type: Output
2213
+ }], hide: [{
2214
+ type: Output
2215
+ }], show: [{
2216
+ type: Output
2217
+ }], showHiddenContexts: [{
2218
+ type: Output
2219
+ }], favorite: [{
2220
+ type: Output
2221
+ }], managePermissions: [{
2222
+ type: Output
2223
+ }], manageTools: [{
2224
+ type: Output
2225
+ }], filterPermissionsChanged: [{
2226
+ type: Output
2227
+ }], term: [{
2228
+ type: Input
2229
+ }] } });
3012
2230
 
3013
2231
  class ContextListBindingDirective {
3014
2232
  contextService;
@@ -3201,247 +2419,57 @@ class ContextListBindingDirective {
3201
2419
  handleContextsChange(contexts) {
3202
2420
  this.component.contexts = contexts;
3203
2421
  }
3204
- static ɵfac = function ContextListBindingDirective_Factory(t) { return new (t || ContextListBindingDirective)(i0.ɵɵdirectiveInject(ContextListComponent, 2), i0.ɵɵdirectiveInject(ContextService), i0.ɵɵdirectiveInject(i1$1.MapService), i0.ɵɵdirectiveInject(i3.LanguageService), i0.ɵɵdirectiveInject(i13.ConfirmDialogService), i0.ɵɵdirectiveInject(i3.MessageService), i0.ɵɵdirectiveInject(i2.AuthService), i0.ɵɵdirectiveInject(i3.StorageService), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
3205
- static ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: ContextListBindingDirective, selectors: [["", "igoContextListBinding", ""]], hostBindings: function ContextListBindingDirective_HostBindings(rf, ctx) { if (rf & 1) {
3206
- i0.ɵɵlistener("select", function ContextListBindingDirective_select_HostBindingHandler($event) { return ctx.onSelect($event); })("edit", function ContextListBindingDirective_edit_HostBindingHandler($event) { return ctx.onEdit($event); })("save", function ContextListBindingDirective_save_HostBindingHandler($event) { return ctx.onSave($event); })("favorite", function ContextListBindingDirective_favorite_HostBindingHandler($event) { return ctx.onFavorite($event); })("manageTools", function ContextListBindingDirective_manageTools_HostBindingHandler($event) { return ctx.onManageTools($event); })("managePermissions", function ContextListBindingDirective_managePermissions_HostBindingHandler($event) { return ctx.onManagePermissions($event); })("delete", function ContextListBindingDirective_delete_HostBindingHandler($event) { return ctx.onDelete($event); })("clone", function ContextListBindingDirective_clone_HostBindingHandler($event) { return ctx.onClone($event); })("create", function ContextListBindingDirective_create_HostBindingHandler($event) { return ctx.onCreate($event); })("filterPermissionsChanged", function ContextListBindingDirective_filterPermissionsChanged_HostBindingHandler() { return ctx.loadContexts(); })("showHiddenContexts", function ContextListBindingDirective_showHiddenContexts_HostBindingHandler() { return ctx.showHiddenContexts(); })("show", function ContextListBindingDirective_show_HostBindingHandler($event) { return ctx.onShowContext($event); })("hide", function ContextListBindingDirective_hide_HostBindingHandler($event) { return ctx.onHideContext($event); });
3207
- } } });
2422
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ContextListBindingDirective, deps: [{ token: ContextListComponent, self: true }, { token: ContextService }, { token: i1$1.MapService }, { token: i3.LanguageService }, { token: i13.ConfirmDialogService }, { token: i3.MessageService }, { token: i2.AuthService }, { token: i3.StorageService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
2423
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: ContextListBindingDirective, selector: "[igoContextListBinding]", host: { listeners: { "select": "onSelect($event)", "edit": "onEdit($event)", "save": "onSave($event)", "favorite": "onFavorite($event)", "manageTools": "onManageTools($event)", "managePermissions": "onManagePermissions($event)", "delete": "onDelete($event)", "clone": "onClone($event)", "create": "onCreate($event)", "filterPermissionsChanged": "loadContexts()", "showHiddenContexts": "showHiddenContexts()", "show": "onShowContext($event)", "hide": "onHideContext($event)" } }, ngImport: i0 });
3208
2424
  }
3209
- (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ContextListBindingDirective, [{
3210
- type: Directive,
3211
- args: [{
3212
- selector: '[igoContextListBinding]'
3213
- }]
3214
- }], function () { return [{ type: ContextListComponent, decorators: [{
3215
- type: Self
3216
- }] }, { type: ContextService }, { type: i1$1.MapService }, { type: i3.LanguageService }, { type: i13.ConfirmDialogService }, { type: i3.MessageService }, { type: i2.AuthService }, { type: i3.StorageService }, { type: i0.ChangeDetectorRef }]; }, { onSelect: [{
3217
- type: HostListener,
3218
- args: ['select', ['$event']]
3219
- }], onEdit: [{
3220
- type: HostListener,
3221
- args: ['edit', ['$event']]
3222
- }], onSave: [{
3223
- type: HostListener,
3224
- args: ['save', ['$event']]
3225
- }], onFavorite: [{
3226
- type: HostListener,
3227
- args: ['favorite', ['$event']]
3228
- }], onManageTools: [{
3229
- type: HostListener,
3230
- args: ['manageTools', ['$event']]
3231
- }], onManagePermissions: [{
3232
- type: HostListener,
3233
- args: ['managePermissions', ['$event']]
3234
- }], onDelete: [{
3235
- type: HostListener,
3236
- args: ['delete', ['$event']]
3237
- }], onClone: [{
3238
- type: HostListener,
3239
- args: ['clone', ['$event']]
3240
- }], onCreate: [{
3241
- type: HostListener,
3242
- args: ['create', ['$event']]
3243
- }], loadContexts: [{
3244
- type: HostListener,
3245
- args: ['filterPermissionsChanged']
3246
- }], showHiddenContexts: [{
3247
- type: HostListener,
3248
- args: ['showHiddenContexts']
3249
- }], onShowContext: [{
3250
- type: HostListener,
3251
- args: ['show', ['$event']]
3252
- }], onHideContext: [{
3253
- type: HostListener,
3254
- args: ['hide', ['$event']]
3255
- }] }); })();
2425
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ContextListBindingDirective, decorators: [{
2426
+ type: Directive,
2427
+ args: [{
2428
+ selector: '[igoContextListBinding]'
2429
+ }]
2430
+ }], ctorParameters: function () { return [{ type: ContextListComponent, decorators: [{
2431
+ type: Self
2432
+ }] }, { type: ContextService }, { type: i1$1.MapService }, { type: i3.LanguageService }, { type: i13.ConfirmDialogService }, { type: i3.MessageService }, { type: i2.AuthService }, { type: i3.StorageService }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { onSelect: [{
2433
+ type: HostListener,
2434
+ args: ['select', ['$event']]
2435
+ }], onEdit: [{
2436
+ type: HostListener,
2437
+ args: ['edit', ['$event']]
2438
+ }], onSave: [{
2439
+ type: HostListener,
2440
+ args: ['save', ['$event']]
2441
+ }], onFavorite: [{
2442
+ type: HostListener,
2443
+ args: ['favorite', ['$event']]
2444
+ }], onManageTools: [{
2445
+ type: HostListener,
2446
+ args: ['manageTools', ['$event']]
2447
+ }], onManagePermissions: [{
2448
+ type: HostListener,
2449
+ args: ['managePermissions', ['$event']]
2450
+ }], onDelete: [{
2451
+ type: HostListener,
2452
+ args: ['delete', ['$event']]
2453
+ }], onClone: [{
2454
+ type: HostListener,
2455
+ args: ['clone', ['$event']]
2456
+ }], onCreate: [{
2457
+ type: HostListener,
2458
+ args: ['create', ['$event']]
2459
+ }], loadContexts: [{
2460
+ type: HostListener,
2461
+ args: ['filterPermissionsChanged']
2462
+ }], showHiddenContexts: [{
2463
+ type: HostListener,
2464
+ args: ['showHiddenContexts']
2465
+ }], onShowContext: [{
2466
+ type: HostListener,
2467
+ args: ['show', ['$event']]
2468
+ }], onHideContext: [{
2469
+ type: HostListener,
2470
+ args: ['hide', ['$event']]
2471
+ }] } });
3256
2472
 
3257
- function ContextPermissionsComponent_div_0_div_1_Template(rf, ctx) { if (rf & 1) {
3258
- i0.ɵɵelementStart(0, "div", 3)(1, "h4");
3259
- i0.ɵɵtext(2);
3260
- i0.ɵɵpipe(3, "translate");
3261
- i0.ɵɵelementEnd();
3262
- i0.ɵɵelementStart(4, "p");
3263
- i0.ɵɵtext(5);
3264
- i0.ɵɵpipe(6, "translate");
3265
- i0.ɵɵelementEnd()();
3266
- } if (rf & 2) {
3267
- i0.ɵɵadvance(2);
3268
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 2, "igo.context.permission.readOnlyTitle"));
3269
- i0.ɵɵadvance(3);
3270
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(6, 4, "igo.context.permission.readOnlyMsg"));
3271
- } }
3272
- function ContextPermissionsComponent_div_0_div_2_mat_radio_button_8_Template(rf, ctx) { if (rf & 1) {
3273
- i0.ɵɵelementStart(0, "mat-radio-button", 8);
3274
- i0.ɵɵtext(1);
3275
- i0.ɵɵpipe(2, "translate");
3276
- i0.ɵɵelementEnd();
3277
- } if (rf & 2) {
3278
- i0.ɵɵadvance(1);
3279
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 1, "igo.context.permission.scope.public"), " ");
3280
- } }
3281
- function ContextPermissionsComponent_div_0_div_2_Template(rf, ctx) { if (rf & 1) {
3282
- const _r7 = i0.ɵɵgetCurrentView();
3283
- i0.ɵɵelementStart(0, "div", 3)(1, "mat-radio-group", 4);
3284
- i0.ɵɵlistener("ngModelChange", function ContextPermissionsComponent_div_0_div_2_Template_mat_radio_group_ngModelChange_1_listener($event) { i0.ɵɵrestoreView(_r7); const ctx_r6 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r6.context.scope = $event); })("change", function ContextPermissionsComponent_div_0_div_2_Template_mat_radio_group_change_1_listener() { i0.ɵɵrestoreView(_r7); const ctx_r8 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r8.scopeChanged.emit(ctx_r8.context)); });
3285
- i0.ɵɵelementStart(2, "mat-radio-button", 5);
3286
- i0.ɵɵtext(3);
3287
- i0.ɵɵpipe(4, "translate");
3288
- i0.ɵɵelementEnd();
3289
- i0.ɵɵelementStart(5, "mat-radio-button", 6);
3290
- i0.ɵɵtext(6);
3291
- i0.ɵɵpipe(7, "translate");
3292
- i0.ɵɵelementEnd();
3293
- i0.ɵɵtemplate(8, ContextPermissionsComponent_div_0_div_2_mat_radio_button_8_Template, 3, 3, "mat-radio-button", 7);
3294
- i0.ɵɵelementEnd()();
3295
- } if (rf & 2) {
3296
- const ctx_r2 = i0.ɵɵnextContext(2);
3297
- i0.ɵɵadvance(1);
3298
- i0.ɵɵproperty("ngModel", ctx_r2.context.scope);
3299
- i0.ɵɵadvance(2);
3300
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(4, 4, "igo.context.permission.scope.private"), " ");
3301
- i0.ɵɵadvance(3);
3302
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(7, 6, "igo.context.permission.scope.shared"), " ");
3303
- i0.ɵɵadvance(2);
3304
- i0.ɵɵproperty("ngIf", ctx_r2.authService.isAdmin);
3305
- } }
3306
- function ContextPermissionsComponent_div_0_form_3_mat_option_6_Template(rf, ctx) { if (rf & 1) {
3307
- i0.ɵɵelementStart(0, "mat-option", 20);
3308
- i0.ɵɵtext(1);
3309
- i0.ɵɵelement(2, "br");
3310
- i0.ɵɵelementStart(3, "small", 21);
3311
- i0.ɵɵtext(4);
3312
- i0.ɵɵelementEnd()();
3313
- } if (rf & 2) {
3314
- const profil_r11 = ctx.$implicit;
3315
- i0.ɵɵproperty("value", profil_r11);
3316
- i0.ɵɵadvance(1);
3317
- i0.ɵɵtextInterpolate1(" ", profil_r11.title, "");
3318
- i0.ɵɵadvance(3);
3319
- i0.ɵɵtextInterpolate(profil_r11.name);
3320
- } }
3321
- function ContextPermissionsComponent_div_0_form_3_Template(rf, ctx) { if (rf & 1) {
3322
- const _r13 = i0.ɵɵgetCurrentView();
3323
- i0.ɵɵelementStart(0, "form", 9);
3324
- i0.ɵɵlistener("ngSubmit", function ContextPermissionsComponent_div_0_form_3_Template_form_ngSubmit_0_listener() { i0.ɵɵrestoreView(_r13); const ctx_r12 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r12.handleFormSubmit(ctx_r12.form.value)); });
3325
- i0.ɵɵelementStart(1, "mat-form-field", 10);
3326
- i0.ɵɵelement(2, "input", 11);
3327
- i0.ɵɵpipe(3, "translate");
3328
- i0.ɵɵelementStart(4, "mat-autocomplete", 12, 13);
3329
- i0.ɵɵlistener("optionSelected", function ContextPermissionsComponent_div_0_form_3_Template_mat_autocomplete_optionSelected_4_listener($event) { i0.ɵɵrestoreView(_r13); const ctx_r14 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r14.onProfilSelected($event.option.value)); });
3330
- i0.ɵɵtemplate(6, ContextPermissionsComponent_div_0_form_3_mat_option_6_Template, 5, 3, "mat-option", 14);
3331
- i0.ɵɵelementEnd();
3332
- i0.ɵɵelementStart(7, "mat-error");
3333
- i0.ɵɵtext(8);
3334
- i0.ɵɵpipe(9, "translate");
3335
- i0.ɵɵelementEnd()();
3336
- i0.ɵɵelementStart(10, "mat-radio-group", 15)(11, "mat-radio-button", 16);
3337
- i0.ɵɵtext(12);
3338
- i0.ɵɵpipe(13, "translate");
3339
- i0.ɵɵelementEnd();
3340
- i0.ɵɵelementStart(14, "mat-radio-button", 17);
3341
- i0.ɵɵtext(15);
3342
- i0.ɵɵpipe(16, "translate");
3343
- i0.ɵɵelementEnd()();
3344
- i0.ɵɵelementStart(17, "div", 18)(18, "button", 19);
3345
- i0.ɵɵtext(19);
3346
- i0.ɵɵpipe(20, "translate");
3347
- i0.ɵɵelementEnd()()();
3348
- } if (rf & 2) {
3349
- const _r9 = i0.ɵɵreference(5);
3350
- const ctx_r3 = i0.ɵɵnextContext(2);
3351
- i0.ɵɵproperty("formGroup", ctx_r3.form);
3352
- i0.ɵɵadvance(2);
3353
- i0.ɵɵproperty("placeholder", i0.ɵɵpipeBind1(3, 11, "igo.context.permission.user"))("formControl", ctx_r3.formControl)("matAutocomplete", _r9);
3354
- i0.ɵɵadvance(2);
3355
- i0.ɵɵproperty("displayWith", ctx_r3.displayFn);
3356
- i0.ɵɵadvance(2);
3357
- i0.ɵɵproperty("ngForOf", ctx_r3.profils);
3358
- i0.ɵɵadvance(2);
3359
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(9, 13, "igo.context.permission.profilRequired"), " ");
3360
- i0.ɵɵadvance(4);
3361
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(13, 15, "igo.context.permission.read"), " ");
3362
- i0.ɵɵadvance(3);
3363
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(16, 17, "igo.context.permission.write"), " ");
3364
- i0.ɵɵadvance(3);
3365
- i0.ɵɵproperty("disabled", !ctx_r3.form.valid);
3366
- i0.ɵɵadvance(1);
3367
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(20, 19, "igo.context.permission.addBtn"), " ");
3368
- } }
3369
- function ContextPermissionsComponent_div_0_igo_list_4_ng_template_1_igo_collapsible_0_ng_template_2_button_7_Template(rf, ctx) { if (rf & 1) {
3370
- const _r23 = i0.ɵɵgetCurrentView();
3371
- i0.ɵɵelementStart(0, "button", 29);
3372
- i0.ɵɵlistener("click", function ContextPermissionsComponent_div_0_igo_list_4_ng_template_1_igo_collapsible_0_ng_template_2_button_7_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r23); const permission_r19 = i0.ɵɵnextContext().$implicit; const ctx_r21 = i0.ɵɵnextContext(5); return i0.ɵɵresetView(ctx_r21.removePermission.emit(permission_r19)); });
3373
- i0.ɵɵpipe(1, "translate");
3374
- i0.ɵɵelement(2, "mat-icon", 30);
3375
- i0.ɵɵelementEnd();
3376
- } if (rf & 2) {
3377
- i0.ɵɵproperty("matTooltip", i0.ɵɵpipeBind1(1, 1, "igo.context.permission.delete"));
3378
- } }
3379
- function ContextPermissionsComponent_div_0_igo_list_4_ng_template_1_igo_collapsible_0_ng_template_2_Template(rf, ctx) { if (rf & 1) {
3380
- i0.ɵɵelementStart(0, "mat-list-item");
3381
- i0.ɵɵelement(1, "mat-icon", 25);
3382
- i0.ɵɵelementStart(2, "h4", 26);
3383
- i0.ɵɵtext(3);
3384
- i0.ɵɵelementStart(4, "small", 21);
3385
- i0.ɵɵtext(5);
3386
- i0.ɵɵelementEnd()();
3387
- i0.ɵɵelementStart(6, "div", 27);
3388
- i0.ɵɵtemplate(7, ContextPermissionsComponent_div_0_igo_list_4_ng_template_1_igo_collapsible_0_ng_template_2_button_7_Template, 3, 3, "button", 28);
3389
- i0.ɵɵelementEnd()();
3390
- } if (rf & 2) {
3391
- const permission_r19 = ctx.$implicit;
3392
- const ctx_r18 = i0.ɵɵnextContext(5);
3393
- i0.ɵɵadvance(3);
3394
- i0.ɵɵtextInterpolate1(" ", permission_r19.profilTitle, " ");
3395
- i0.ɵɵadvance(2);
3396
- i0.ɵɵtextInterpolate(permission_r19.profil);
3397
- i0.ɵɵadvance(2);
3398
- i0.ɵɵproperty("ngIf", ctx_r18.canWrite || permission_r19.profil === ctx_r18.authService.decodeToken().user.sourceId);
3399
- } }
3400
- function ContextPermissionsComponent_div_0_igo_list_4_ng_template_1_igo_collapsible_0_Template(rf, ctx) { if (rf & 1) {
3401
- i0.ɵɵelementStart(0, "igo-collapsible", 24);
3402
- i0.ɵɵpipe(1, "translate");
3403
- i0.ɵɵtemplate(2, ContextPermissionsComponent_div_0_igo_list_4_ng_template_1_igo_collapsible_0_ng_template_2_Template, 8, 3, "ng-template", 22);
3404
- i0.ɵɵelementEnd();
3405
- } if (rf & 2) {
3406
- const groupPermissions_r16 = i0.ɵɵnextContext().$implicit;
3407
- i0.ɵɵproperty("title", i0.ɵɵpipeBind1(1, 2, "igo.context.permission." + groupPermissions_r16.key));
3408
- i0.ɵɵadvance(2);
3409
- i0.ɵɵproperty("ngForOf", groupPermissions_r16.value);
3410
- } }
3411
- function ContextPermissionsComponent_div_0_igo_list_4_ng_template_1_Template(rf, ctx) { if (rf & 1) {
3412
- i0.ɵɵtemplate(0, ContextPermissionsComponent_div_0_igo_list_4_ng_template_1_igo_collapsible_0_Template, 3, 4, "igo-collapsible", 23);
3413
- } if (rf & 2) {
3414
- const groupPermissions_r16 = ctx.$implicit;
3415
- i0.ɵɵproperty("ngIf", groupPermissions_r16.value.length);
3416
- } }
3417
- function ContextPermissionsComponent_div_0_igo_list_4_Template(rf, ctx) { if (rf & 1) {
3418
- i0.ɵɵelementStart(0, "igo-list");
3419
- i0.ɵɵtemplate(1, ContextPermissionsComponent_div_0_igo_list_4_ng_template_1_Template, 1, 1, "ng-template", 22);
3420
- i0.ɵɵpipe(2, "keyvalue");
3421
- i0.ɵɵelementEnd();
3422
- } if (rf & 2) {
3423
- const ctx_r4 = i0.ɵɵnextContext(2);
3424
- i0.ɵɵadvance(1);
3425
- i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind1(2, 1, ctx_r4.permissions));
3426
- } }
3427
- function ContextPermissionsComponent_div_0_Template(rf, ctx) { if (rf & 1) {
3428
- i0.ɵɵelementStart(0, "div");
3429
- i0.ɵɵtemplate(1, ContextPermissionsComponent_div_0_div_1_Template, 7, 6, "div", 1);
3430
- i0.ɵɵtemplate(2, ContextPermissionsComponent_div_0_div_2_Template, 9, 8, "div", 1);
3431
- i0.ɵɵtemplate(3, ContextPermissionsComponent_div_0_form_3_Template, 21, 21, "form", 2);
3432
- i0.ɵɵtemplate(4, ContextPermissionsComponent_div_0_igo_list_4_Template, 3, 3, "igo-list", 0);
3433
- i0.ɵɵelementEnd();
3434
- } if (rf & 2) {
3435
- const ctx_r0 = i0.ɵɵnextContext();
3436
- i0.ɵɵadvance(1);
3437
- i0.ɵɵproperty("ngIf", !ctx_r0.canWrite);
3438
- i0.ɵɵadvance(1);
3439
- i0.ɵɵproperty("ngIf", ctx_r0.canWrite);
3440
- i0.ɵɵadvance(1);
3441
- i0.ɵɵproperty("ngIf", ctx_r0.context.scope !== "private" && ctx_r0.canWrite);
3442
- i0.ɵɵadvance(1);
3443
- i0.ɵɵproperty("ngIf", ctx_r0.permissions && ctx_r0.context.scope !== "private");
3444
- } }
3445
2473
  class ContextPermissionsComponent {
3446
2474
  formBuilder;
3447
2475
  cd;
@@ -3540,27 +2568,23 @@ class ContextPermissionsComponent {
3540
2568
  typePermission: this.form.value.typePermission
3541
2569
  });
3542
2570
  }
3543
- static ɵfac = function ContextPermissionsComponent_Factory(t) { return new (t || ContextPermissionsComponent)(i0.ɵɵdirectiveInject(i1$2.UntypedFormBuilder), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i1.HttpClient), i0.ɵɵdirectiveInject(i2.AuthService), i0.ɵɵdirectiveInject(i3.ConfigService)); };
3544
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ContextPermissionsComponent, selectors: [["igo-context-permissions"]], inputs: { context: "context", permissions: "permissions" }, outputs: { addPermission: "addPermission", removePermission: "removePermission", scopeChanged: "scopeChanged" }, decls: 1, vars: 1, consts: [[4, "ngIf"], ["class", "scopeForm", 4, "ngIf"], [3, "formGroup", "ngSubmit", 4, "ngIf"], [1, "scopeForm"], [3, "ngModel", "ngModelChange", "change"], ["value", "private"], ["value", "protected"], ["value", "public", 4, "ngIf"], ["value", "public"], [3, "formGroup", "ngSubmit"], [1, "full-width"], ["matInput", "", "required", "", 3, "placeholder", "formControl", "matAutocomplete"], [3, "displayWith", "optionSelected"], ["auto", "matAutocomplete"], [3, "value", 4, "ngFor", "ngForOf"], ["formControlName", "typePermission"], ["value", "read"], ["value", "write"], [1, "igo-form-button-group"], ["mat-raised-button", "", "type", "submit", 3, "disabled"], [3, "value"], [1, "mat-typography"], ["ngFor", "", 3, "ngForOf"], [3, "title", 4, "ngIf"], [3, "title"], ["matListItemIcon", "", "svgIcon", "account-outline"], ["matListItemTitle", ""], ["matListItemMeta", "", "igoStopPropagation", "", 1, "igo-actions-container"], ["mat-icon-button", "", "matTooltipShowDelay", "500", "color", "warn", 3, "matTooltip", "click", 4, "ngIf"], ["mat-icon-button", "", "matTooltipShowDelay", "500", "color", "warn", 3, "matTooltip", "click"], ["svgIcon", "delete"]], template: function ContextPermissionsComponent_Template(rf, ctx) { if (rf & 1) {
3545
- i0.ɵɵtemplate(0, ContextPermissionsComponent_div_0_Template, 5, 4, "div", 0);
3546
- } if (rf & 2) {
3547
- i0.ɵɵproperty("ngIf", ctx.context);
3548
- } }, dependencies: [i6.NgForOf, i6.NgIf, i1$2.ɵNgNoValidate, i1$2.DefaultValueAccessor, i1$2.NgControlStatus, i1$2.NgControlStatusGroup, i1$2.RequiredValidator, i1$2.NgModel, i1$2.FormControlDirective, i1$2.FormGroupDirective, i1$2.FormControlName, i6$1.MatFormField, i6$1.MatError, i5.MatInput, i6$2.MatIcon, i7.MatButton, i7.MatIconButton, i6$3.MatTooltip, i7$1.MatListItem, i7$1.MatListItemIcon, i7$1.MatListItemTitle, i7$1.MatListItemMeta, i12$2.MatRadioGroup, i12$2.MatRadioButton, i12.MatOption, i14.MatAutocomplete, i14.MatAutocompleteTrigger, i13.ListComponent, i13.CollapsibleComponent, i13.StopPropagationDirective, i13.KeyValuePipe, i9$1.TranslatePipe], styles: ["[_nghost-%COMP%]{margin:10px}.full-width[_ngcontent-%COMP%]{width:100%}mat-radio-button[_ngcontent-%COMP%]{padding:14px 14px 14px 0}.scopeForm[_ngcontent-%COMP%], form[_ngcontent-%COMP%]{padding:5px}"] });
2571
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ContextPermissionsComponent, deps: [{ token: i1$2.UntypedFormBuilder }, { token: i0.ChangeDetectorRef }, { token: i1.HttpClient }, { token: i2.AuthService }, { token: i3.ConfigService }], target: i0.ɵɵFactoryTarget.Component });
2572
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: ContextPermissionsComponent, selector: "igo-context-permissions", inputs: { context: "context", permissions: "permissions" }, outputs: { addPermission: "addPermission", removePermission: "removePermission", scopeChanged: "scopeChanged" }, ngImport: i0, template: "<div *ngIf=\"context\">\r\n <div *ngIf=\"!canWrite\" class=\"scopeForm\">\r\n <h4>{{ 'igo.context.permission.readOnlyTitle' | translate }}</h4>\r\n <p>{{ 'igo.context.permission.readOnlyMsg' | translate }}</p>\r\n </div>\r\n\r\n <div *ngIf=\"canWrite\" class=\"scopeForm\">\r\n <mat-radio-group\r\n [(ngModel)]=\"context.scope\"\r\n (change)=\"scopeChanged.emit(context)\"\r\n >\r\n <mat-radio-button value=\"private\">\r\n {{ 'igo.context.permission.scope.private' | translate }}\r\n </mat-radio-button>\r\n <mat-radio-button value=\"protected\">\r\n {{ 'igo.context.permission.scope.shared' | translate }}\r\n </mat-radio-button>\r\n <mat-radio-button *ngIf=\"authService.isAdmin\" value=\"public\">\r\n {{ 'igo.context.permission.scope.public' | translate }}\r\n </mat-radio-button>\r\n </mat-radio-group>\r\n </div>\r\n\r\n <form\r\n *ngIf=\"context.scope !== 'private' && canWrite\"\r\n [formGroup]=\"form\"\r\n (ngSubmit)=\"handleFormSubmit(form.value)\"\r\n >\r\n <mat-form-field class=\"full-width\">\r\n <input\r\n matInput\r\n required\r\n [placeholder]=\"'igo.context.permission.user' | translate\"\r\n [formControl]=\"formControl\"\r\n [matAutocomplete]=\"auto\"\r\n />\r\n <mat-autocomplete\r\n #auto=\"matAutocomplete\"\r\n (optionSelected)=\"onProfilSelected($event.option.value)\"\r\n [displayWith]=\"displayFn\"\r\n >\r\n <mat-option *ngFor=\"let profil of this.profils\" [value]=\"profil\">\r\n {{ profil.title }}<br />\r\n <small class=\"mat-typography\">{{ profil.name }}</small>\r\n </mat-option>\r\n </mat-autocomplete>\r\n <mat-error>\r\n {{ 'igo.context.permission.profilRequired' | translate }}\r\n </mat-error>\r\n </mat-form-field>\r\n\r\n <mat-radio-group formControlName=\"typePermission\">\r\n <mat-radio-button value=\"read\">\r\n {{ 'igo.context.permission.read' | translate }}\r\n </mat-radio-button>\r\n <mat-radio-button value=\"write\">\r\n {{ 'igo.context.permission.write' | translate }}\r\n </mat-radio-button>\r\n </mat-radio-group>\r\n\r\n <div class=\"igo-form-button-group\">\r\n <button mat-raised-button type=\"submit\" [disabled]=\"!form.valid\">\r\n {{ 'igo.context.permission.addBtn' | translate }}\r\n </button>\r\n </div>\r\n </form>\r\n\r\n <igo-list *ngIf=\"permissions && context.scope !== 'private'\">\r\n <ng-template ngFor let-groupPermissions [ngForOf]=\"permissions | keyvalue\">\r\n <igo-collapsible\r\n *ngIf=\"groupPermissions.value.length\"\r\n [title]=\"'igo.context.permission.' + groupPermissions.key | translate\"\r\n >\r\n <ng-template ngFor let-permission [ngForOf]=\"groupPermissions.value\">\r\n <mat-list-item>\r\n <mat-icon matListItemIcon svgIcon=\"account-outline\"></mat-icon>\r\n <h4 matListItemTitle>\r\n {{ permission.profilTitle }}\r\n <small class=\"mat-typography\">{{ permission.profil }}</small>\r\n </h4>\r\n\r\n <div\r\n matListItemMeta\r\n igoStopPropagation\r\n class=\"igo-actions-container\"\r\n >\r\n <button\r\n *ngIf=\"\r\n canWrite ||\r\n permission.profil === authService.decodeToken().user.sourceId\r\n \"\r\n mat-icon-button\r\n [matTooltip]=\"'igo.context.permission.delete' | translate\"\r\n matTooltipShowDelay=\"500\"\r\n color=\"warn\"\r\n (click)=\"removePermission.emit(permission)\"\r\n >\r\n <mat-icon svgIcon=\"delete\"></mat-icon>\r\n </button>\r\n </div>\r\n </mat-list-item>\r\n </ng-template>\r\n </igo-collapsible>\r\n </ng-template>\r\n </igo-list>\r\n</div>\r\n", styles: [":host{margin:10px}.full-width{width:100%}mat-radio-button{padding:14px 14px 14px 0}.scopeForm,form{padding:5px}\n"], dependencies: [{ kind: "directive", type: i6.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$2.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1$2.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$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1$2.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i1$2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i1$2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: i6$1.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i6$1.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "directive", type: i5.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { kind: "component", type: i6$2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i7.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "component", type: i7.MatIconButton, selector: "button[mat-icon-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "directive", type: i6$3.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }, { kind: "component", type: i7$1.MatListItem, selector: "mat-list-item, a[mat-list-item], button[mat-list-item]", inputs: ["activated"], exportAs: ["matListItem"] }, { kind: "directive", type: i7$1.MatListItemIcon, selector: "[matListItemIcon]" }, { kind: "directive", type: i7$1.MatListItemTitle, selector: "[matListItemTitle]" }, { kind: "directive", type: i7$1.MatListItemMeta, selector: "[matListItemMeta]" }, { kind: "directive", type: i12$2.MatRadioGroup, selector: "mat-radio-group", exportAs: ["matRadioGroup"] }, { kind: "component", type: i12$2.MatRadioButton, selector: "mat-radio-button", inputs: ["disableRipple", "tabIndex"], exportAs: ["matRadioButton"] }, { kind: "component", type: i12.MatOption, selector: "mat-option", exportAs: ["matOption"] }, { kind: "component", type: i14.MatAutocomplete, selector: "mat-autocomplete", inputs: ["disableRipple", "hideSingleSelectionIndicator"], exportAs: ["matAutocomplete"] }, { kind: "directive", type: i14.MatAutocompleteTrigger, selector: "input[matAutocomplete], textarea[matAutocomplete]", exportAs: ["matAutocompleteTrigger"] }, { kind: "component", type: i13.ListComponent, selector: "igo-list", inputs: ["navigation", "selection"] }, { kind: "component", type: i13.CollapsibleComponent, selector: "igo-collapsible", inputs: ["title", "collapsed"], outputs: ["toggle"] }, { kind: "directive", type: i13.StopPropagationDirective, selector: "[igoStopPropagation]" }, { kind: "pipe", type: i13.KeyValuePipe, name: "keyvalue" }, { kind: "pipe", type: i9$1.TranslatePipe, name: "translate" }] });
3549
2573
  }
3550
- (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ContextPermissionsComponent, [{
3551
- type: Component,
3552
- args: [{ selector: 'igo-context-permissions', template: "<div *ngIf=\"context\">\r\n <div *ngIf=\"!canWrite\" class=\"scopeForm\">\r\n <h4>{{ 'igo.context.permission.readOnlyTitle' | translate }}</h4>\r\n <p>{{ 'igo.context.permission.readOnlyMsg' | translate }}</p>\r\n </div>\r\n\r\n <div *ngIf=\"canWrite\" class=\"scopeForm\">\r\n <mat-radio-group\r\n [(ngModel)]=\"context.scope\"\r\n (change)=\"scopeChanged.emit(context)\"\r\n >\r\n <mat-radio-button value=\"private\">\r\n {{ 'igo.context.permission.scope.private' | translate }}\r\n </mat-radio-button>\r\n <mat-radio-button value=\"protected\">\r\n {{ 'igo.context.permission.scope.shared' | translate }}\r\n </mat-radio-button>\r\n <mat-radio-button *ngIf=\"authService.isAdmin\" value=\"public\">\r\n {{ 'igo.context.permission.scope.public' | translate }}\r\n </mat-radio-button>\r\n </mat-radio-group>\r\n </div>\r\n\r\n <form\r\n *ngIf=\"context.scope !== 'private' && canWrite\"\r\n [formGroup]=\"form\"\r\n (ngSubmit)=\"handleFormSubmit(form.value)\"\r\n >\r\n <mat-form-field class=\"full-width\">\r\n <input\r\n matInput\r\n required\r\n [placeholder]=\"'igo.context.permission.user' | translate\"\r\n [formControl]=\"formControl\"\r\n [matAutocomplete]=\"auto\"\r\n />\r\n <mat-autocomplete\r\n #auto=\"matAutocomplete\"\r\n (optionSelected)=\"onProfilSelected($event.option.value)\"\r\n [displayWith]=\"displayFn\"\r\n >\r\n <mat-option *ngFor=\"let profil of this.profils\" [value]=\"profil\">\r\n {{ profil.title }}<br />\r\n <small class=\"mat-typography\">{{ profil.name }}</small>\r\n </mat-option>\r\n </mat-autocomplete>\r\n <mat-error>\r\n {{ 'igo.context.permission.profilRequired' | translate }}\r\n </mat-error>\r\n </mat-form-field>\r\n\r\n <mat-radio-group formControlName=\"typePermission\">\r\n <mat-radio-button value=\"read\">\r\n {{ 'igo.context.permission.read' | translate }}\r\n </mat-radio-button>\r\n <mat-radio-button value=\"write\">\r\n {{ 'igo.context.permission.write' | translate }}\r\n </mat-radio-button>\r\n </mat-radio-group>\r\n\r\n <div class=\"igo-form-button-group\">\r\n <button mat-raised-button type=\"submit\" [disabled]=\"!form.valid\">\r\n {{ 'igo.context.permission.addBtn' | translate }}\r\n </button>\r\n </div>\r\n </form>\r\n\r\n <igo-list *ngIf=\"permissions && context.scope !== 'private'\">\r\n <ng-template ngFor let-groupPermissions [ngForOf]=\"permissions | keyvalue\">\r\n <igo-collapsible\r\n *ngIf=\"groupPermissions.value.length\"\r\n [title]=\"'igo.context.permission.' + groupPermissions.key | translate\"\r\n >\r\n <ng-template ngFor let-permission [ngForOf]=\"groupPermissions.value\">\r\n <mat-list-item>\r\n <mat-icon matListItemIcon svgIcon=\"account-outline\"></mat-icon>\r\n <h4 matListItemTitle>\r\n {{ permission.profilTitle }}\r\n <small class=\"mat-typography\">{{ permission.profil }}</small>\r\n </h4>\r\n\r\n <div\r\n matListItemMeta\r\n igoStopPropagation\r\n class=\"igo-actions-container\"\r\n >\r\n <button\r\n *ngIf=\"\r\n canWrite ||\r\n permission.profil === authService.decodeToken().user.sourceId\r\n \"\r\n mat-icon-button\r\n [matTooltip]=\"'igo.context.permission.delete' | translate\"\r\n matTooltipShowDelay=\"500\"\r\n color=\"warn\"\r\n (click)=\"removePermission.emit(permission)\"\r\n >\r\n <mat-icon svgIcon=\"delete\"></mat-icon>\r\n </button>\r\n </div>\r\n </mat-list-item>\r\n </ng-template>\r\n </igo-collapsible>\r\n </ng-template>\r\n </igo-list>\r\n</div>\r\n", styles: [":host{margin:10px}.full-width{width:100%}mat-radio-button{padding:14px 14px 14px 0}.scopeForm,form{padding:5px}\n"] }]
3553
- }], function () { return [{ type: i1$2.UntypedFormBuilder }, { type: i0.ChangeDetectorRef }, { type: i1.HttpClient }, { type: i2.AuthService }, { type: i3.ConfigService }]; }, { context: [{
3554
- type: Input
3555
- }], permissions: [{
3556
- type: Input
3557
- }], addPermission: [{
3558
- type: Output
3559
- }], removePermission: [{
3560
- type: Output
3561
- }], scopeChanged: [{
3562
- type: Output
3563
- }] }); })();
2574
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ContextPermissionsComponent, decorators: [{
2575
+ type: Component,
2576
+ args: [{ selector: 'igo-context-permissions', template: "<div *ngIf=\"context\">\r\n <div *ngIf=\"!canWrite\" class=\"scopeForm\">\r\n <h4>{{ 'igo.context.permission.readOnlyTitle' | translate }}</h4>\r\n <p>{{ 'igo.context.permission.readOnlyMsg' | translate }}</p>\r\n </div>\r\n\r\n <div *ngIf=\"canWrite\" class=\"scopeForm\">\r\n <mat-radio-group\r\n [(ngModel)]=\"context.scope\"\r\n (change)=\"scopeChanged.emit(context)\"\r\n >\r\n <mat-radio-button value=\"private\">\r\n {{ 'igo.context.permission.scope.private' | translate }}\r\n </mat-radio-button>\r\n <mat-radio-button value=\"protected\">\r\n {{ 'igo.context.permission.scope.shared' | translate }}\r\n </mat-radio-button>\r\n <mat-radio-button *ngIf=\"authService.isAdmin\" value=\"public\">\r\n {{ 'igo.context.permission.scope.public' | translate }}\r\n </mat-radio-button>\r\n </mat-radio-group>\r\n </div>\r\n\r\n <form\r\n *ngIf=\"context.scope !== 'private' && canWrite\"\r\n [formGroup]=\"form\"\r\n (ngSubmit)=\"handleFormSubmit(form.value)\"\r\n >\r\n <mat-form-field class=\"full-width\">\r\n <input\r\n matInput\r\n required\r\n [placeholder]=\"'igo.context.permission.user' | translate\"\r\n [formControl]=\"formControl\"\r\n [matAutocomplete]=\"auto\"\r\n />\r\n <mat-autocomplete\r\n #auto=\"matAutocomplete\"\r\n (optionSelected)=\"onProfilSelected($event.option.value)\"\r\n [displayWith]=\"displayFn\"\r\n >\r\n <mat-option *ngFor=\"let profil of this.profils\" [value]=\"profil\">\r\n {{ profil.title }}<br />\r\n <small class=\"mat-typography\">{{ profil.name }}</small>\r\n </mat-option>\r\n </mat-autocomplete>\r\n <mat-error>\r\n {{ 'igo.context.permission.profilRequired' | translate }}\r\n </mat-error>\r\n </mat-form-field>\r\n\r\n <mat-radio-group formControlName=\"typePermission\">\r\n <mat-radio-button value=\"read\">\r\n {{ 'igo.context.permission.read' | translate }}\r\n </mat-radio-button>\r\n <mat-radio-button value=\"write\">\r\n {{ 'igo.context.permission.write' | translate }}\r\n </mat-radio-button>\r\n </mat-radio-group>\r\n\r\n <div class=\"igo-form-button-group\">\r\n <button mat-raised-button type=\"submit\" [disabled]=\"!form.valid\">\r\n {{ 'igo.context.permission.addBtn' | translate }}\r\n </button>\r\n </div>\r\n </form>\r\n\r\n <igo-list *ngIf=\"permissions && context.scope !== 'private'\">\r\n <ng-template ngFor let-groupPermissions [ngForOf]=\"permissions | keyvalue\">\r\n <igo-collapsible\r\n *ngIf=\"groupPermissions.value.length\"\r\n [title]=\"'igo.context.permission.' + groupPermissions.key | translate\"\r\n >\r\n <ng-template ngFor let-permission [ngForOf]=\"groupPermissions.value\">\r\n <mat-list-item>\r\n <mat-icon matListItemIcon svgIcon=\"account-outline\"></mat-icon>\r\n <h4 matListItemTitle>\r\n {{ permission.profilTitle }}\r\n <small class=\"mat-typography\">{{ permission.profil }}</small>\r\n </h4>\r\n\r\n <div\r\n matListItemMeta\r\n igoStopPropagation\r\n class=\"igo-actions-container\"\r\n >\r\n <button\r\n *ngIf=\"\r\n canWrite ||\r\n permission.profil === authService.decodeToken().user.sourceId\r\n \"\r\n mat-icon-button\r\n [matTooltip]=\"'igo.context.permission.delete' | translate\"\r\n matTooltipShowDelay=\"500\"\r\n color=\"warn\"\r\n (click)=\"removePermission.emit(permission)\"\r\n >\r\n <mat-icon svgIcon=\"delete\"></mat-icon>\r\n </button>\r\n </div>\r\n </mat-list-item>\r\n </ng-template>\r\n </igo-collapsible>\r\n </ng-template>\r\n </igo-list>\r\n</div>\r\n", styles: [":host{margin:10px}.full-width{width:100%}mat-radio-button{padding:14px 14px 14px 0}.scopeForm,form{padding:5px}\n"] }]
2577
+ }], ctorParameters: function () { return [{ type: i1$2.UntypedFormBuilder }, { type: i0.ChangeDetectorRef }, { type: i1.HttpClient }, { type: i2.AuthService }, { type: i3.ConfigService }]; }, propDecorators: { context: [{
2578
+ type: Input
2579
+ }], permissions: [{
2580
+ type: Input
2581
+ }], addPermission: [{
2582
+ type: Output
2583
+ }], removePermission: [{
2584
+ type: Output
2585
+ }], scopeChanged: [{
2586
+ type: Output
2587
+ }] } });
3564
2588
 
3565
2589
  class ContextPermissionsBindingDirective {
3566
2590
  contextService;
@@ -3639,28 +2663,26 @@ class ContextPermissionsBindingDirective {
3639
2663
  });
3640
2664
  }
3641
2665
  }
3642
- static ɵfac = function ContextPermissionsBindingDirective_Factory(t) { return new (t || ContextPermissionsBindingDirective)(i0.ɵɵdirectiveInject(ContextPermissionsComponent, 2), i0.ɵɵdirectiveInject(ContextService), i0.ɵɵdirectiveInject(i3.LanguageService), i0.ɵɵdirectiveInject(i3.MessageService), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
3643
- static ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: ContextPermissionsBindingDirective, selectors: [["", "igoContextPermissionsBinding", ""]], hostBindings: function ContextPermissionsBindingDirective_HostBindings(rf, ctx) { if (rf & 1) {
3644
- i0.ɵɵlistener("addPermission", function ContextPermissionsBindingDirective_addPermission_HostBindingHandler($event) { return ctx.onAddPermission($event); })("removePermission", function ContextPermissionsBindingDirective_removePermission_HostBindingHandler($event) { return ctx.onRemovePermission($event); })("scopeChanged", function ContextPermissionsBindingDirective_scopeChanged_HostBindingHandler($event) { return ctx.onScopeChanged($event); });
3645
- } } });
2666
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ContextPermissionsBindingDirective, deps: [{ token: ContextPermissionsComponent, self: true }, { token: ContextService }, { token: i3.LanguageService }, { token: i3.MessageService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
2667
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: ContextPermissionsBindingDirective, selector: "[igoContextPermissionsBinding]", host: { listeners: { "addPermission": "onAddPermission($event)", "removePermission": "onRemovePermission($event)", "scopeChanged": "onScopeChanged($event)" } }, ngImport: i0 });
3646
2668
  }
3647
- (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ContextPermissionsBindingDirective, [{
3648
- type: Directive,
3649
- args: [{
3650
- selector: '[igoContextPermissionsBinding]'
3651
- }]
3652
- }], function () { return [{ type: ContextPermissionsComponent, decorators: [{
3653
- type: Self
3654
- }] }, { type: ContextService }, { type: i3.LanguageService }, { type: i3.MessageService }, { type: i0.ChangeDetectorRef }]; }, { onAddPermission: [{
3655
- type: HostListener,
3656
- args: ['addPermission', ['$event']]
3657
- }], onRemovePermission: [{
3658
- type: HostListener,
3659
- args: ['removePermission', ['$event']]
3660
- }], onScopeChanged: [{
3661
- type: HostListener,
3662
- args: ['scopeChanged', ['$event']]
3663
- }] }); })();
2669
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ContextPermissionsBindingDirective, decorators: [{
2670
+ type: Directive,
2671
+ args: [{
2672
+ selector: '[igoContextPermissionsBinding]'
2673
+ }]
2674
+ }], ctorParameters: function () { return [{ type: ContextPermissionsComponent, decorators: [{
2675
+ type: Self
2676
+ }] }, { type: ContextService }, { type: i3.LanguageService }, { type: i3.MessageService }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { onAddPermission: [{
2677
+ type: HostListener,
2678
+ args: ['addPermission', ['$event']]
2679
+ }], onRemovePermission: [{
2680
+ type: HostListener,
2681
+ args: ['removePermission', ['$event']]
2682
+ }], onScopeChanged: [{
2683
+ type: HostListener,
2684
+ args: ['scopeChanged', ['$event']]
2685
+ }] } });
3664
2686
 
3665
2687
  class LayerContextDirective {
3666
2688
  component;
@@ -3796,19 +2818,19 @@ class LayerContextDirective {
3796
2818
  }
3797
2819
  return visible;
3798
2820
  }
3799
- static ɵfac = function LayerContextDirective_Factory(t) { return new (t || LayerContextDirective)(i0.ɵɵdirectiveInject(i1$1.MapBrowserComponent), i0.ɵɵdirectiveInject(ContextService), i0.ɵɵdirectiveInject(i1$1.LayerService), i0.ɵɵdirectiveInject(i3.ConfigService), i0.ɵɵdirectiveInject(i1$1.StyleListService), i0.ɵɵdirectiveInject(i1$1.StyleService), i0.ɵɵdirectiveInject(i3.RouteService, 8)); };
3800
- static ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: LayerContextDirective, selectors: [["", "igoLayerContext", ""]], inputs: { removeLayersOnContextChange: "removeLayersOnContextChange" } });
2821
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: LayerContextDirective, deps: [{ token: i1$1.MapBrowserComponent }, { token: ContextService }, { token: i1$1.LayerService }, { token: i3.ConfigService }, { token: i1$1.StyleListService }, { token: i1$1.StyleService }, { token: i3.RouteService, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
2822
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: LayerContextDirective, selector: "[igoLayerContext]", inputs: { removeLayersOnContextChange: "removeLayersOnContextChange" }, ngImport: i0 });
3801
2823
  }
3802
- (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LayerContextDirective, [{
3803
- type: Directive,
3804
- args: [{
3805
- selector: '[igoLayerContext]'
3806
- }]
3807
- }], function () { return [{ type: i1$1.MapBrowserComponent }, { type: ContextService }, { type: i1$1.LayerService }, { type: i3.ConfigService }, { type: i1$1.StyleListService }, { type: i1$1.StyleService }, { type: i3.RouteService, decorators: [{
3808
- type: Optional
3809
- }] }]; }, { removeLayersOnContextChange: [{
3810
- type: Input
3811
- }] }); })();
2824
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: LayerContextDirective, decorators: [{
2825
+ type: Directive,
2826
+ args: [{
2827
+ selector: '[igoLayerContext]'
2828
+ }]
2829
+ }], ctorParameters: function () { return [{ type: i1$1.MapBrowserComponent }, { type: ContextService }, { type: i1$1.LayerService }, { type: i3.ConfigService }, { type: i1$1.StyleListService }, { type: i1$1.StyleService }, { type: i3.RouteService, decorators: [{
2830
+ type: Optional
2831
+ }] }]; }, propDecorators: { removeLayersOnContextChange: [{
2832
+ type: Input
2833
+ }] } });
3812
2834
 
3813
2835
  class MapContextDirective {
3814
2836
  contextService;
@@ -3870,15 +2892,15 @@ class MapContextDirective {
3870
2892
  this.component.controls = controlsContext;
3871
2893
  }
3872
2894
  }
3873
- static ɵfac = function MapContextDirective_Factory(t) { return new (t || MapContextDirective)(i0.ɵɵdirectiveInject(i1$1.MapBrowserComponent), i0.ɵɵdirectiveInject(ContextService), i0.ɵɵdirectiveInject(i3.MediaService)); };
3874
- static ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: MapContextDirective, selectors: [["", "igoMapContext", ""]] });
2895
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MapContextDirective, deps: [{ token: i1$1.MapBrowserComponent }, { token: ContextService }, { token: i3.MediaService }], target: i0.ɵɵFactoryTarget.Directive });
2896
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: MapContextDirective, selector: "[igoMapContext]", ngImport: i0 });
3875
2897
  }
3876
- (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MapContextDirective, [{
3877
- type: Directive,
3878
- args: [{
3879
- selector: '[igoMapContext]'
3880
- }]
3881
- }], function () { return [{ type: i1$1.MapBrowserComponent }, { type: ContextService }, { type: i3.MediaService }]; }, null); })();
2898
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MapContextDirective, decorators: [{
2899
+ type: Directive,
2900
+ args: [{
2901
+ selector: '[igoMapContext]'
2902
+ }]
2903
+ }], ctorParameters: function () { return [{ type: i1$1.MapBrowserComponent }, { type: ContextService }, { type: i3.MediaService }]; } });
3882
2904
 
3883
2905
  const CONTEXT_DIRECTIVES = [MapContextDirective, LayerContextDirective];
3884
2906
  class IgoContextManagerModule {
@@ -3887,9 +2909,46 @@ class IgoContextManagerModule {
3887
2909
  ngModule: IgoContextManagerModule
3888
2910
  };
3889
2911
  }
3890
- static ɵfac = function IgoContextManagerModule_Factory(t) { return new (t || IgoContextManagerModule)(); };
3891
- static ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: IgoContextManagerModule });
3892
- static ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule,
2912
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IgoContextManagerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2913
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: IgoContextManagerModule, declarations: [ContextListComponent,
2914
+ ContextListBindingDirective,
2915
+ ContextItemComponent,
2916
+ ContextFormComponent,
2917
+ ContextEditComponent,
2918
+ ContextEditBindingDirective,
2919
+ ContextPermissionsComponent,
2920
+ ContextPermissionsBindingDirective, MapContextDirective, LayerContextDirective], imports: [CommonModule,
2921
+ FormsModule,
2922
+ ReactiveFormsModule,
2923
+ MatFormFieldModule,
2924
+ MatInputModule,
2925
+ MatIconModule,
2926
+ MatButtonModule,
2927
+ MatTooltipModule,
2928
+ MatListModule,
2929
+ MatCheckboxModule,
2930
+ MatRadioModule,
2931
+ MatDialogModule,
2932
+ MatMenuModule,
2933
+ MatOptionModule,
2934
+ MatAutocompleteModule,
2935
+ IgoAuthModule,
2936
+ IgoListModule,
2937
+ IgoKeyValueModule,
2938
+ IgoCollapsibleModule,
2939
+ IgoStopPropagationModule,
2940
+ IgoLanguageModule,
2941
+ IgoContextImportExportModule,
2942
+ IgoContextMapButtonModule,
2943
+ IgoActionbarModule], exports: [ContextListComponent,
2944
+ ContextListBindingDirective,
2945
+ ContextItemComponent,
2946
+ ContextFormComponent,
2947
+ ContextEditComponent,
2948
+ ContextEditBindingDirective,
2949
+ ContextPermissionsComponent,
2950
+ ContextPermissionsBindingDirective, MapContextDirective, LayerContextDirective] });
2951
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IgoContextManagerModule, imports: [CommonModule,
3893
2952
  FormsModule,
3894
2953
  ReactiveFormsModule,
3895
2954
  MatFormFieldModule,
@@ -3914,97 +2973,59 @@ class IgoContextManagerModule {
3914
2973
  IgoContextMapButtonModule,
3915
2974
  IgoActionbarModule] });
3916
2975
  }
3917
- (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IgoContextManagerModule, [{
3918
- type: NgModule,
3919
- args: [{
3920
- imports: [
3921
- CommonModule,
3922
- FormsModule,
3923
- ReactiveFormsModule,
3924
- MatFormFieldModule,
3925
- MatInputModule,
3926
- MatIconModule,
3927
- MatButtonModule,
3928
- MatTooltipModule,
3929
- MatListModule,
3930
- MatCheckboxModule,
3931
- MatRadioModule,
3932
- MatDialogModule,
3933
- MatMenuModule,
3934
- MatOptionModule,
3935
- MatAutocompleteModule,
3936
- IgoAuthModule,
3937
- IgoListModule,
3938
- IgoKeyValueModule,
3939
- IgoCollapsibleModule,
3940
- IgoStopPropagationModule,
3941
- IgoLanguageModule,
3942
- IgoContextImportExportModule,
3943
- IgoContextMapButtonModule,
3944
- IgoActionbarModule
3945
- ],
3946
- exports: [
3947
- ContextListComponent,
3948
- ContextListBindingDirective,
3949
- ContextItemComponent,
3950
- ContextFormComponent,
3951
- ContextEditComponent,
3952
- ContextEditBindingDirective,
3953
- ContextPermissionsComponent,
3954
- ContextPermissionsBindingDirective,
3955
- ...CONTEXT_DIRECTIVES
3956
- ],
3957
- declarations: [
3958
- ContextListComponent,
3959
- ContextListBindingDirective,
3960
- ContextItemComponent,
3961
- ContextFormComponent,
3962
- ContextEditComponent,
3963
- ContextEditBindingDirective,
3964
- ContextPermissionsComponent,
3965
- ContextPermissionsBindingDirective,
3966
- ...CONTEXT_DIRECTIVES
3967
- ]
3968
- }]
3969
- }], null, null); })();
3970
- (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(IgoContextManagerModule, { declarations: [ContextListComponent,
3971
- ContextListBindingDirective,
3972
- ContextItemComponent,
3973
- ContextFormComponent,
3974
- ContextEditComponent,
3975
- ContextEditBindingDirective,
3976
- ContextPermissionsComponent,
3977
- ContextPermissionsBindingDirective, MapContextDirective, LayerContextDirective], imports: [CommonModule,
3978
- FormsModule,
3979
- ReactiveFormsModule,
3980
- MatFormFieldModule,
3981
- MatInputModule,
3982
- MatIconModule,
3983
- MatButtonModule,
3984
- MatTooltipModule,
3985
- MatListModule,
3986
- MatCheckboxModule,
3987
- MatRadioModule,
3988
- MatDialogModule,
3989
- MatMenuModule,
3990
- MatOptionModule,
3991
- MatAutocompleteModule,
3992
- IgoAuthModule,
3993
- IgoListModule,
3994
- IgoKeyValueModule,
3995
- IgoCollapsibleModule,
3996
- IgoStopPropagationModule,
3997
- IgoLanguageModule,
3998
- IgoContextImportExportModule,
3999
- IgoContextMapButtonModule,
4000
- IgoActionbarModule], exports: [ContextListComponent,
4001
- ContextListBindingDirective,
4002
- ContextItemComponent,
4003
- ContextFormComponent,
4004
- ContextEditComponent,
4005
- ContextEditBindingDirective,
4006
- ContextPermissionsComponent,
4007
- ContextPermissionsBindingDirective, MapContextDirective, LayerContextDirective] }); })();
2976
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IgoContextManagerModule, decorators: [{
2977
+ type: NgModule,
2978
+ args: [{
2979
+ imports: [
2980
+ CommonModule,
2981
+ FormsModule,
2982
+ ReactiveFormsModule,
2983
+ MatFormFieldModule,
2984
+ MatInputModule,
2985
+ MatIconModule,
2986
+ MatButtonModule,
2987
+ MatTooltipModule,
2988
+ MatListModule,
2989
+ MatCheckboxModule,
2990
+ MatRadioModule,
2991
+ MatDialogModule,
2992
+ MatMenuModule,
2993
+ MatOptionModule,
2994
+ MatAutocompleteModule,
2995
+ IgoAuthModule,
2996
+ IgoListModule,
2997
+ IgoKeyValueModule,
2998
+ IgoCollapsibleModule,
2999
+ IgoStopPropagationModule,
3000
+ IgoLanguageModule,
3001
+ IgoContextImportExportModule,
3002
+ IgoContextMapButtonModule,
3003
+ IgoActionbarModule
3004
+ ],
3005
+ exports: [
3006
+ ContextListComponent,
3007
+ ContextListBindingDirective,
3008
+ ContextItemComponent,
3009
+ ContextFormComponent,
3010
+ ContextEditComponent,
3011
+ ContextEditBindingDirective,
3012
+ ContextPermissionsComponent,
3013
+ ContextPermissionsBindingDirective,
3014
+ ...CONTEXT_DIRECTIVES
3015
+ ],
3016
+ declarations: [
3017
+ ContextListComponent,
3018
+ ContextListBindingDirective,
3019
+ ContextItemComponent,
3020
+ ContextFormComponent,
3021
+ ContextEditComponent,
3022
+ ContextEditBindingDirective,
3023
+ ContextPermissionsComponent,
3024
+ ContextPermissionsBindingDirective,
3025
+ ...CONTEXT_DIRECTIVES
3026
+ ]
3027
+ }]
3028
+ }] });
4008
3029
 
4009
3030
  class ShareMapService {
4010
3031
  contextService;
@@ -4209,68 +3230,18 @@ class ShareMapService {
4209
3230
  }
4210
3231
  return addedLayersQueryParams;
4211
3232
  }
4212
- static ɵfac = function ShareMapService_Factory(t) { return new (t || ShareMapService)(i0.ɵɵinject(ContextService), i0.ɵɵinject(i3.RouteService, 8)); };
4213
- static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: ShareMapService, factory: ShareMapService.ɵfac, providedIn: 'root' });
3233
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ShareMapService, deps: [{ token: ContextService }, { token: i3.RouteService, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
3234
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ShareMapService, providedIn: 'root' });
4214
3235
  }
4215
- (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ShareMapService, [{
4216
- type: Injectable,
4217
- args: [{
4218
- providedIn: 'root'
4219
- }]
4220
- }], function () { return [{ type: ContextService }, { type: i3.RouteService, decorators: [{
4221
- type: Optional
4222
- }] }]; }, null); })();
3236
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ShareMapService, decorators: [{
3237
+ type: Injectable,
3238
+ args: [{
3239
+ providedIn: 'root'
3240
+ }]
3241
+ }], ctorParameters: function () { return [{ type: ContextService }, { type: i3.RouteService, decorators: [{
3242
+ type: Optional
3243
+ }] }]; } });
4223
3244
 
4224
- function ShareMapApiComponent_span_10_Template(rf, ctx) { if (rf & 1) {
4225
- i0.ɵɵelementStart(0, "span", 11);
4226
- i0.ɵɵtext(1);
4227
- i0.ɵɵelementEnd();
4228
- } if (rf & 2) {
4229
- const ctx_r0 = i0.ɵɵnextContext();
4230
- i0.ɵɵadvance(1);
4231
- i0.ɵɵtextInterpolate1("", ctx_r0.userId, "-");
4232
- } }
4233
- function ShareMapApiComponent_button_18_Template(rf, ctx) { if (rf & 1) {
4234
- i0.ɵɵelementStart(0, "button", 12);
4235
- i0.ɵɵtext(1);
4236
- i0.ɵɵpipe(2, "translate");
4237
- i0.ɵɵelementEnd();
4238
- } if (rf & 2) {
4239
- const ctx_r1 = i0.ɵɵnextContext();
4240
- i0.ɵɵproperty("disabled", !ctx_r1.form.valid);
4241
- i0.ɵɵadvance(1);
4242
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 2, "igo.context.shareMap.button"), " ");
4243
- } }
4244
- function ShareMapApiComponent_button_19_Template(rf, ctx) { if (rf & 1) {
4245
- const _r5 = i0.ɵɵgetCurrentView();
4246
- i0.ɵɵelementStart(0, "button", 13);
4247
- i0.ɵɵlistener("click", function ShareMapApiComponent_button_19_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r5); const ctx_r4 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r4.updateContextShared(ctx_r4.form.value)); });
4248
- i0.ɵɵtext(1);
4249
- i0.ɵɵpipe(2, "translate");
4250
- i0.ɵɵelementEnd();
4251
- } if (rf & 2) {
4252
- i0.ɵɵadvance(1);
4253
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 1, "igo.context.shareMap.refreshBtn"), " ");
4254
- } }
4255
- function ShareMapApiComponent_div_20_Template(rf, ctx) { if (rf & 1) {
4256
- const _r8 = i0.ɵɵgetCurrentView();
4257
- i0.ɵɵelementStart(0, "div", 14)(1, "mat-form-field");
4258
- i0.ɵɵelement(2, "textarea", 15, 16);
4259
- i0.ɵɵpipe(4, "translate");
4260
- i0.ɵɵelementStart(5, "button", 17);
4261
- i0.ɵɵlistener("click", function ShareMapApiComponent_div_20_Template_button_click_5_listener() { i0.ɵɵrestoreView(_r8); const _r6 = i0.ɵɵreference(3); const ctx_r7 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r7.copyTextToClipboard(_r6)); });
4262
- i0.ɵɵpipe(6, "translate");
4263
- i0.ɵɵelement(7, "mat-icon", 18);
4264
- i0.ɵɵelementEnd()();
4265
- i0.ɵɵelement(8, "div");
4266
- i0.ɵɵelementEnd();
4267
- } if (rf & 2) {
4268
- const ctx_r3 = i0.ɵɵnextContext();
4269
- i0.ɵɵadvance(2);
4270
- i0.ɵɵproperty("placeholder", i0.ɵɵpipeBind1(4, 3, "igo.context.shareMap.placeholderLink"))("value", ctx_r3.url);
4271
- i0.ɵɵadvance(3);
4272
- i0.ɵɵproperty("matTooltip", i0.ɵɵpipeBind1(6, 5, "igo.context.shareMap.copy"));
4273
- } }
4274
3245
  class ShareMapApiComponent {
4275
3246
  languageService;
4276
3247
  messageService;
@@ -4292,7 +3263,7 @@ class ShareMapApiComponent {
4292
3263
  ngOnInit() {
4293
3264
  this.auth.authenticate$.subscribe((auth) => {
4294
3265
  const decodeToken = this.auth.decodeToken();
4295
- this.userId = decodeToken.user ? decodeToken.user.id : undefined;
3266
+ this.userId = decodeToken?.user?.id.toString();
4296
3267
  this.buildForm();
4297
3268
  });
4298
3269
  }
@@ -4336,216 +3307,16 @@ class ShareMapApiComponent {
4336
3307
  uri: [id]
4337
3308
  });
4338
3309
  }
4339
- static ɵfac = function ShareMapApiComponent_Factory(t) { return new (t || ShareMapApiComponent)(i0.ɵɵdirectiveInject(i3.LanguageService), i0.ɵɵdirectiveInject(i3.MessageService), i0.ɵɵdirectiveInject(i2.AuthService), i0.ɵɵdirectiveInject(ShareMapService), i0.ɵɵdirectiveInject(i1$2.UntypedFormBuilder)); };
4340
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ShareMapApiComponent, selectors: [["igo-share-map-api"]], inputs: { map: "map" }, decls: 21, vars: 18, consts: [[1, "igo-form", 3, "formGroup", "ngSubmit"], [1, "igo-input-container"], ["matInput", "", "required", "", "formControlName", "title", 3, "placeholder"], ["id", "uriInput", 1, "igo-input-container"], ["class", "prefix", 4, "ngIf"], [1, "fieldWrapper"], ["matInput", "", "required", "", "formControlName", "uri", 3, "readonly", "placeholder"], [1, "igo-form-button-group"], ["mat-raised-button", "", "type", "submit", 3, "disabled", 4, "ngIf"], ["mat-raised-button", "", "type", "button", 3, "click", 4, "ngIf"], ["class", "igo-input-container linkToShare", 4, "ngIf"], [1, "prefix"], ["mat-raised-button", "", "type", "submit", 3, "disabled"], ["mat-raised-button", "", "type", "button", 3, "click"], [1, "igo-input-container", "linkToShare"], ["matInput", "", "readonly", "", "rows", "3", 1, "textAreaWithButton", 3, "placeholder", "value"], ["textArea", ""], ["mat-icon-button", "", "tooltip-position", "below", "matTooltipShowDelay", "500", "color", "primary", 3, "matTooltip", "click"], ["svgIcon", "content-copy"]], template: function ShareMapApiComponent_Template(rf, ctx) { if (rf & 1) {
4341
- i0.ɵɵelementStart(0, "form", 0);
4342
- i0.ɵɵlistener("ngSubmit", function ShareMapApiComponent_Template_form_ngSubmit_0_listener() { return ctx.createUrl(ctx.form.value); });
4343
- i0.ɵɵelementStart(1, "div", 1)(2, "mat-form-field");
4344
- i0.ɵɵelement(3, "input", 2);
4345
- i0.ɵɵpipe(4, "translate");
4346
- i0.ɵɵelementStart(5, "mat-error");
4347
- i0.ɵɵtext(6);
4348
- i0.ɵɵpipe(7, "translate");
4349
- i0.ɵɵelementEnd()()();
4350
- i0.ɵɵelementStart(8, "div", 3)(9, "mat-form-field");
4351
- i0.ɵɵtemplate(10, ShareMapApiComponent_span_10_Template, 2, 1, "span", 4);
4352
- i0.ɵɵelementStart(11, "span", 5);
4353
- i0.ɵɵelement(12, "input", 6);
4354
- i0.ɵɵpipe(13, "translate");
4355
- i0.ɵɵelementEnd();
4356
- i0.ɵɵelementStart(14, "mat-error");
4357
- i0.ɵɵtext(15);
4358
- i0.ɵɵpipe(16, "translate");
4359
- i0.ɵɵelementEnd()()();
4360
- i0.ɵɵelementStart(17, "div", 7);
4361
- i0.ɵɵtemplate(18, ShareMapApiComponent_button_18_Template, 3, 4, "button", 8);
4362
- i0.ɵɵtemplate(19, ShareMapApiComponent_button_19_Template, 3, 3, "button", 9);
4363
- i0.ɵɵelementEnd()();
4364
- i0.ɵɵtemplate(20, ShareMapApiComponent_div_20_Template, 9, 7, "div", 10);
4365
- } if (rf & 2) {
4366
- i0.ɵɵproperty("formGroup", ctx.form);
4367
- i0.ɵɵadvance(3);
4368
- i0.ɵɵproperty("placeholder", i0.ɵɵpipeBind1(4, 10, "igo.context.contextManager.form.title"));
4369
- i0.ɵɵadvance(3);
4370
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(7, 12, "igo.context.contextManager.form.titleRequired"), " ");
4371
- i0.ɵɵadvance(4);
4372
- i0.ɵɵproperty("ngIf", ctx.userId);
4373
- i0.ɵɵadvance(2);
4374
- i0.ɵɵproperty("readonly", !ctx.userId)("placeholder", i0.ɵɵpipeBind1(13, 14, "igo.context.contextManager.form.uri"));
4375
- i0.ɵɵadvance(3);
4376
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(16, 16, "igo.context.contextManager.form.uriRequired"), " ");
4377
- i0.ɵɵadvance(3);
4378
- i0.ɵɵproperty("ngIf", !ctx.url);
4379
- i0.ɵɵadvance(1);
4380
- i0.ɵɵproperty("ngIf", ctx.url);
4381
- i0.ɵɵadvance(1);
4382
- i0.ɵɵproperty("ngIf", ctx.url);
4383
- } }, dependencies: [i6.NgIf, i1$2.ɵNgNoValidate, i1$2.DefaultValueAccessor, i1$2.NgControlStatus, i1$2.NgControlStatusGroup, i1$2.RequiredValidator, i1$2.FormGroupDirective, i1$2.FormControlName, i6$2.MatIcon, i6$3.MatTooltip, i6$1.MatFormField, i6$1.MatError, i5.MatInput, i7.MatButton, i7.MatIconButton, i9$1.TranslatePipe], styles: ["@charset \"UTF-8\";mat-form-field[_ngcontent-%COMP%]{width:100%}#uriInput[_ngcontent-%COMP%] .fieldWrapper[_ngcontent-%COMP%]{display:block;overflow:hidden}#uriInput[_ngcontent-%COMP%] .prefix[_ngcontent-%COMP%]{float:left}.linkToShare\\a0[_ngcontent-%COMP%] {padding:25px 5px 5px}.linkToShare\\a0[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]{resize:none;width:100%;line-height:1.3;height:40px;overflow-y:hidden;word-wrap:normal;word-break:break-all}.linkToShare\\a0[_ngcontent-%COMP%] textarea.textAreaWithButton[_ngcontent-%COMP%]{width:calc(100% - 60px)}.linkToShare\\a0[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%] > button[_ngcontent-%COMP%]{float:right;margin:-10px 0}.igo-form[_ngcontent-%COMP%]{padding:20px 5px 5px}.igo-form-button-group[_ngcontent-%COMP%]{text-align:center;padding-top:10px}"] });
3310
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ShareMapApiComponent, deps: [{ token: i3.LanguageService }, { token: i3.MessageService }, { token: i2.AuthService }, { token: ShareMapService }, { token: i1$2.UntypedFormBuilder }], target: i0.ɵɵFactoryTarget.Component });
3311
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: ShareMapApiComponent, selector: "igo-share-map-api", inputs: { map: "map" }, ngImport: i0, template: "<form class=\"igo-form\" [formGroup]=\"form\" (ngSubmit)=\"createUrl(form.value)\">\r\n <div class=\"igo-input-container\">\r\n <mat-form-field>\r\n <input\r\n matInput\r\n required\r\n [placeholder]=\"'igo.context.contextManager.form.title' | translate\"\r\n formControlName=\"title\"\r\n />\r\n <mat-error>\r\n {{ 'igo.context.contextManager.form.titleRequired' | translate }}\r\n </mat-error>\r\n </mat-form-field>\r\n </div>\r\n\r\n <div id=\"uriInput\" class=\"igo-input-container\">\r\n <mat-form-field>\r\n <span *ngIf=\"userId\" class=\"prefix\">{{ userId }}-</span>\r\n <span class=\"fieldWrapper\">\r\n <input\r\n matInput\r\n required\r\n [readonly]=\"!userId\"\r\n [placeholder]=\"'igo.context.contextManager.form.uri' | translate\"\r\n formControlName=\"uri\"\r\n />\r\n </span>\r\n <mat-error>\r\n {{ 'igo.context.contextManager.form.uriRequired' | translate }}\r\n </mat-error>\r\n </mat-form-field>\r\n </div>\r\n\r\n <div class=\"igo-form-button-group\">\r\n <button\r\n *ngIf=\"!url\"\r\n mat-raised-button\r\n type=\"submit\"\r\n [disabled]=\"!form.valid\"\r\n >\r\n {{ 'igo.context.shareMap.button' | translate }}\r\n </button>\r\n <button\r\n *ngIf=\"url\"\r\n mat-raised-button\r\n type=\"button\"\r\n (click)=\"updateContextShared(form.value)\"\r\n >\r\n {{ 'igo.context.shareMap.refreshBtn' | translate }}\r\n </button>\r\n </div>\r\n</form>\r\n\r\n<div *ngIf=\"url\" class=\"igo-input-container linkToShare\">\r\n <mat-form-field>\r\n <textarea\r\n #textArea\r\n matInput\r\n readonly\r\n rows=\"3\"\r\n class=\"textAreaWithButton\"\r\n [placeholder]=\"'igo.context.shareMap.placeholderLink' | translate\"\r\n [value]=\"url\"\r\n ></textarea>\r\n <button\r\n mat-icon-button\r\n tooltip-position=\"below\"\r\n matTooltipShowDelay=\"500\"\r\n [matTooltip]=\"'igo.context.shareMap.copy' | translate\"\r\n color=\"primary\"\r\n (click)=\"copyTextToClipboard(textArea)\"\r\n >\r\n <mat-icon svgIcon=\"content-copy\"></mat-icon>\r\n </button>\r\n </mat-form-field>\r\n <div></div>\r\n</div>\r\n", styles: ["@charset \"UTF-8\";mat-form-field{width:100%}#uriInput .fieldWrapper{display:block;overflow:hidden}#uriInput .prefix{float:left}.linkToShare\\a0 {padding:25px 5px 5px}.linkToShare\\a0 textarea{resize:none;width:100%;line-height:1.3;height:40px;overflow-y:hidden;word-wrap:normal;word-break:break-all}.linkToShare\\a0 textarea.textAreaWithButton{width:calc(100% - 60px)}.linkToShare\\a0 mat-form-field>button{float:right;margin:-10px 0}.igo-form{padding:20px 5px 5px}.igo-form-button-group{text-align:center;padding-top:10px}\n"], dependencies: [{ kind: "directive", type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$2.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1$2.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$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1$2.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: i6$2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: i6$3.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }, { kind: "component", type: i6$1.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i6$1.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "directive", type: i5.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { kind: "component", type: i7.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "component", type: i7.MatIconButton, selector: "button[mat-icon-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "pipe", type: i9$1.TranslatePipe, name: "translate" }] });
4384
3312
  }
4385
- (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ShareMapApiComponent, [{
4386
- type: Component,
4387
- args: [{ selector: 'igo-share-map-api', template: "<form class=\"igo-form\" [formGroup]=\"form\" (ngSubmit)=\"createUrl(form.value)\">\r\n <div class=\"igo-input-container\">\r\n <mat-form-field>\r\n <input\r\n matInput\r\n required\r\n [placeholder]=\"'igo.context.contextManager.form.title' | translate\"\r\n formControlName=\"title\"\r\n />\r\n <mat-error>\r\n {{ 'igo.context.contextManager.form.titleRequired' | translate }}\r\n </mat-error>\r\n </mat-form-field>\r\n </div>\r\n\r\n <div id=\"uriInput\" class=\"igo-input-container\">\r\n <mat-form-field>\r\n <span *ngIf=\"userId\" class=\"prefix\">{{ userId }}-</span>\r\n <span class=\"fieldWrapper\">\r\n <input\r\n matInput\r\n required\r\n [readonly]=\"!userId\"\r\n [placeholder]=\"'igo.context.contextManager.form.uri' | translate\"\r\n formControlName=\"uri\"\r\n />\r\n </span>\r\n <mat-error>\r\n {{ 'igo.context.contextManager.form.uriRequired' | translate }}\r\n </mat-error>\r\n </mat-form-field>\r\n </div>\r\n\r\n <div class=\"igo-form-button-group\">\r\n <button\r\n *ngIf=\"!url\"\r\n mat-raised-button\r\n type=\"submit\"\r\n [disabled]=\"!form.valid\"\r\n >\r\n {{ 'igo.context.shareMap.button' | translate }}\r\n </button>\r\n <button\r\n *ngIf=\"url\"\r\n mat-raised-button\r\n type=\"button\"\r\n (click)=\"updateContextShared(form.value)\"\r\n >\r\n {{ 'igo.context.shareMap.refreshBtn' | translate }}\r\n </button>\r\n </div>\r\n</form>\r\n\r\n<div *ngIf=\"url\" class=\"igo-input-container linkToShare\">\r\n <mat-form-field>\r\n <textarea\r\n #textArea\r\n matInput\r\n readonly\r\n rows=\"3\"\r\n class=\"textAreaWithButton\"\r\n [placeholder]=\"'igo.context.shareMap.placeholderLink' | translate\"\r\n [value]=\"url\"\r\n ></textarea>\r\n <button\r\n mat-icon-button\r\n tooltip-position=\"below\"\r\n matTooltipShowDelay=\"500\"\r\n [matTooltip]=\"'igo.context.shareMap.copy' | translate\"\r\n color=\"primary\"\r\n (click)=\"copyTextToClipboard(textArea)\"\r\n >\r\n <mat-icon svgIcon=\"content-copy\"></mat-icon>\r\n </button>\r\n </mat-form-field>\r\n <div></div>\r\n</div>\r\n", styles: ["@charset \"UTF-8\";mat-form-field{width:100%}#uriInput .fieldWrapper{display:block;overflow:hidden}#uriInput .prefix{float:left}.linkToShare\\a0 {padding:25px 5px 5px}.linkToShare\\a0 textarea{resize:none;width:100%;line-height:1.3;height:40px;overflow-y:hidden;word-wrap:normal;word-break:break-all}.linkToShare\\a0 textarea.textAreaWithButton{width:calc(100% - 60px)}.linkToShare\\a0 mat-form-field>button{float:right;margin:-10px 0}.igo-form{padding:20px 5px 5px}.igo-form-button-group{text-align:center;padding-top:10px}\n"] }]
4388
- }], function () { return [{ type: i3.LanguageService }, { type: i3.MessageService }, { type: i2.AuthService }, { type: ShareMapService }, { type: i1$2.UntypedFormBuilder }]; }, { map: [{
4389
- type: Input
4390
- }] }); })();
3313
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ShareMapApiComponent, decorators: [{
3314
+ type: Component,
3315
+ args: [{ selector: 'igo-share-map-api', template: "<form class=\"igo-form\" [formGroup]=\"form\" (ngSubmit)=\"createUrl(form.value)\">\r\n <div class=\"igo-input-container\">\r\n <mat-form-field>\r\n <input\r\n matInput\r\n required\r\n [placeholder]=\"'igo.context.contextManager.form.title' | translate\"\r\n formControlName=\"title\"\r\n />\r\n <mat-error>\r\n {{ 'igo.context.contextManager.form.titleRequired' | translate }}\r\n </mat-error>\r\n </mat-form-field>\r\n </div>\r\n\r\n <div id=\"uriInput\" class=\"igo-input-container\">\r\n <mat-form-field>\r\n <span *ngIf=\"userId\" class=\"prefix\">{{ userId }}-</span>\r\n <span class=\"fieldWrapper\">\r\n <input\r\n matInput\r\n required\r\n [readonly]=\"!userId\"\r\n [placeholder]=\"'igo.context.contextManager.form.uri' | translate\"\r\n formControlName=\"uri\"\r\n />\r\n </span>\r\n <mat-error>\r\n {{ 'igo.context.contextManager.form.uriRequired' | translate }}\r\n </mat-error>\r\n </mat-form-field>\r\n </div>\r\n\r\n <div class=\"igo-form-button-group\">\r\n <button\r\n *ngIf=\"!url\"\r\n mat-raised-button\r\n type=\"submit\"\r\n [disabled]=\"!form.valid\"\r\n >\r\n {{ 'igo.context.shareMap.button' | translate }}\r\n </button>\r\n <button\r\n *ngIf=\"url\"\r\n mat-raised-button\r\n type=\"button\"\r\n (click)=\"updateContextShared(form.value)\"\r\n >\r\n {{ 'igo.context.shareMap.refreshBtn' | translate }}\r\n </button>\r\n </div>\r\n</form>\r\n\r\n<div *ngIf=\"url\" class=\"igo-input-container linkToShare\">\r\n <mat-form-field>\r\n <textarea\r\n #textArea\r\n matInput\r\n readonly\r\n rows=\"3\"\r\n class=\"textAreaWithButton\"\r\n [placeholder]=\"'igo.context.shareMap.placeholderLink' | translate\"\r\n [value]=\"url\"\r\n ></textarea>\r\n <button\r\n mat-icon-button\r\n tooltip-position=\"below\"\r\n matTooltipShowDelay=\"500\"\r\n [matTooltip]=\"'igo.context.shareMap.copy' | translate\"\r\n color=\"primary\"\r\n (click)=\"copyTextToClipboard(textArea)\"\r\n >\r\n <mat-icon svgIcon=\"content-copy\"></mat-icon>\r\n </button>\r\n </mat-form-field>\r\n <div></div>\r\n</div>\r\n", styles: ["@charset \"UTF-8\";mat-form-field{width:100%}#uriInput .fieldWrapper{display:block;overflow:hidden}#uriInput .prefix{float:left}.linkToShare\\a0 {padding:25px 5px 5px}.linkToShare\\a0 textarea{resize:none;width:100%;line-height:1.3;height:40px;overflow-y:hidden;word-wrap:normal;word-break:break-all}.linkToShare\\a0 textarea.textAreaWithButton{width:calc(100% - 60px)}.linkToShare\\a0 mat-form-field>button{float:right;margin:-10px 0}.igo-form{padding:20px 5px 5px}.igo-form-button-group{text-align:center;padding-top:10px}\n"] }]
3316
+ }], ctorParameters: function () { return [{ type: i3.LanguageService }, { type: i3.MessageService }, { type: i2.AuthService }, { type: ShareMapService }, { type: i1$2.UntypedFormBuilder }]; }, propDecorators: { map: [{
3317
+ type: Input
3318
+ }] } });
4391
3319
 
4392
- function ShareMapUrlComponent_div_13_h4_1_Template(rf, ctx) { if (rf & 1) {
4393
- i0.ɵɵelementStart(0, "h4");
4394
- i0.ɵɵtext(1);
4395
- i0.ɵɵpipe(2, "translate");
4396
- i0.ɵɵelementEnd();
4397
- } if (rf & 2) {
4398
- i0.ɵɵadvance(1);
4399
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 1, "igo.context.shareMap.included"), " ");
4400
- } }
4401
- function ShareMapUrlComponent_div_13_li_4_Template(rf, ctx) { if (rf & 1) {
4402
- i0.ɵɵelementStart(0, "li");
4403
- i0.ɵɵtext(1);
4404
- i0.ɵɵpipe(2, "translate");
4405
- i0.ɵɵelementEnd();
4406
- } if (rf & 2) {
4407
- i0.ɵɵadvance(1);
4408
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 1, "igo.context.shareMap.context"), " ");
4409
- } }
4410
- function ShareMapUrlComponent_div_13_li_6_Template(rf, ctx) { if (rf & 1) {
4411
- i0.ɵɵelementStart(0, "li");
4412
- i0.ɵɵtext(1);
4413
- i0.ɵɵpipe(2, "translate");
4414
- i0.ɵɵelementEnd();
4415
- } if (rf & 2) {
4416
- i0.ɵɵadvance(1);
4417
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 1, "igo.context.shareMap.center"), " ");
4418
- } }
4419
- function ShareMapUrlComponent_div_13_li_8_Template(rf, ctx) { if (rf & 1) {
4420
- i0.ɵɵelementStart(0, "li");
4421
- i0.ɵɵtext(1);
4422
- i0.ɵɵpipe(2, "translate");
4423
- i0.ɵɵelementEnd();
4424
- } if (rf & 2) {
4425
- i0.ɵɵadvance(1);
4426
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 1, "igo.context.shareMap.zoom"), " ");
4427
- } }
4428
- function ShareMapUrlComponent_div_13_li_10_Template(rf, ctx) { if (rf & 1) {
4429
- i0.ɵɵelementStart(0, "li");
4430
- i0.ɵɵtext(1);
4431
- i0.ɵɵpipe(2, "translate");
4432
- i0.ɵɵelementEnd();
4433
- } if (rf & 2) {
4434
- i0.ɵɵadvance(1);
4435
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 1, "igo.context.shareMap.addedLayers"), " ");
4436
- } }
4437
- function ShareMapUrlComponent_div_13_li_12_Template(rf, ctx) { if (rf & 1) {
4438
- i0.ɵɵelementStart(0, "li");
4439
- i0.ɵɵtext(1);
4440
- i0.ɵɵpipe(2, "translate");
4441
- i0.ɵɵelementEnd();
4442
- } if (rf & 2) {
4443
- i0.ɵɵadvance(1);
4444
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 1, "igo.context.shareMap.visibleInvisible"), " ");
4445
- } }
4446
- function ShareMapUrlComponent_div_13_h4_14_Template(rf, ctx) { if (rf & 1) {
4447
- i0.ɵɵelementStart(0, "h4");
4448
- i0.ɵɵtext(1);
4449
- i0.ɵɵpipe(2, "translate");
4450
- i0.ɵɵelementEnd();
4451
- } if (rf & 2) {
4452
- i0.ɵɵadvance(1);
4453
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 1, "igo.context.shareMap.excluded"), " ");
4454
- } }
4455
- function ShareMapUrlComponent_div_13_li_17_Template(rf, ctx) { if (rf & 1) {
4456
- i0.ɵɵelementStart(0, "li");
4457
- i0.ɵɵtext(1);
4458
- i0.ɵɵpipe(2, "translate");
4459
- i0.ɵɵelementEnd();
4460
- } if (rf & 2) {
4461
- i0.ɵɵadvance(1);
4462
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 1, "igo.context.shareMap.order"), " ");
4463
- } }
4464
- function ShareMapUrlComponent_div_13_li_19_Template(rf, ctx) { if (rf & 1) {
4465
- i0.ɵɵelementStart(0, "li");
4466
- i0.ɵɵtext(1);
4467
- i0.ɵɵpipe(2, "translate");
4468
- i0.ɵɵelementEnd();
4469
- } if (rf & 2) {
4470
- i0.ɵɵadvance(1);
4471
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 1, "igo.context.shareMap.opacity"), " ");
4472
- } }
4473
- function ShareMapUrlComponent_div_13_li_21_Template(rf, ctx) { if (rf & 1) {
4474
- i0.ɵɵelementStart(0, "li");
4475
- i0.ɵɵtext(1);
4476
- i0.ɵɵpipe(2, "translate");
4477
- i0.ɵɵelementEnd();
4478
- } if (rf & 2) {
4479
- i0.ɵɵadvance(1);
4480
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 1, "igo.context.shareMap.filterOgc"), " ");
4481
- } }
4482
- function ShareMapUrlComponent_div_13_li_23_Template(rf, ctx) { if (rf & 1) {
4483
- i0.ɵɵelementStart(0, "li");
4484
- i0.ɵɵtext(1);
4485
- i0.ɵɵpipe(2, "translate");
4486
- i0.ɵɵelementEnd();
4487
- } if (rf & 2) {
4488
- i0.ɵɵadvance(1);
4489
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 1, "igo.context.shareMap.filterTime"), " ");
4490
- } }
4491
- function ShareMapUrlComponent_div_13_Template(rf, ctx) { if (rf & 1) {
4492
- i0.ɵɵelementStart(0, "div");
4493
- i0.ɵɵtemplate(1, ShareMapUrlComponent_div_13_h4_1_Template, 3, 3, "h4", 7);
4494
- i0.ɵɵpipe(2, "translate");
4495
- i0.ɵɵelementStart(3, "ul");
4496
- i0.ɵɵtemplate(4, ShareMapUrlComponent_div_13_li_4_Template, 3, 3, "li", 7);
4497
- i0.ɵɵpipe(5, "translate");
4498
- i0.ɵɵtemplate(6, ShareMapUrlComponent_div_13_li_6_Template, 3, 3, "li", 7);
4499
- i0.ɵɵpipe(7, "translate");
4500
- i0.ɵɵtemplate(8, ShareMapUrlComponent_div_13_li_8_Template, 3, 3, "li", 7);
4501
- i0.ɵɵpipe(9, "translate");
4502
- i0.ɵɵtemplate(10, ShareMapUrlComponent_div_13_li_10_Template, 3, 3, "li", 7);
4503
- i0.ɵɵpipe(11, "translate");
4504
- i0.ɵɵtemplate(12, ShareMapUrlComponent_div_13_li_12_Template, 3, 3, "li", 7);
4505
- i0.ɵɵpipe(13, "translate");
4506
- i0.ɵɵelementEnd();
4507
- i0.ɵɵtemplate(14, ShareMapUrlComponent_div_13_h4_14_Template, 3, 3, "h4", 7);
4508
- i0.ɵɵpipe(15, "translate");
4509
- i0.ɵɵelementStart(16, "ul");
4510
- i0.ɵɵtemplate(17, ShareMapUrlComponent_div_13_li_17_Template, 3, 3, "li", 7);
4511
- i0.ɵɵpipe(18, "translate");
4512
- i0.ɵɵtemplate(19, ShareMapUrlComponent_div_13_li_19_Template, 3, 3, "li", 7);
4513
- i0.ɵɵpipe(20, "translate");
4514
- i0.ɵɵtemplate(21, ShareMapUrlComponent_div_13_li_21_Template, 3, 3, "li", 7);
4515
- i0.ɵɵpipe(22, "translate");
4516
- i0.ɵɵtemplate(23, ShareMapUrlComponent_div_13_li_23_Template, 3, 3, "li", 7);
4517
- i0.ɵɵpipe(24, "translate");
4518
- i0.ɵɵelementEnd()();
4519
- } if (rf & 2) {
4520
- i0.ɵɵadvance(1);
4521
- i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(2, 11, "igo.context.shareMap.included") !== "");
4522
- i0.ɵɵadvance(3);
4523
- i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(5, 13, "igo.context.shareMap.context") !== "");
4524
- i0.ɵɵadvance(2);
4525
- i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(7, 15, "igo.context.shareMap.center") !== "");
4526
- i0.ɵɵadvance(2);
4527
- i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(9, 17, "igo.context.shareMap.zoom") !== "");
4528
- i0.ɵɵadvance(2);
4529
- i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(11, 19, "igo.context.shareMap.addedLayers") !== "");
4530
- i0.ɵɵadvance(2);
4531
- i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(13, 21, "igo.context.shareMap.visibleInvisible") !== "");
4532
- i0.ɵɵadvance(2);
4533
- i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(15, 23, "igo.context.shareMap.excluded") !== "");
4534
- i0.ɵɵadvance(3);
4535
- i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(18, 25, "igo.context.shareMap.order") !== "");
4536
- i0.ɵɵadvance(2);
4537
- i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(20, 27, "igo.context.shareMap.opacity") !== "");
4538
- i0.ɵɵadvance(2);
4539
- i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(22, 29, "igo.context.shareMap.filterOgc") !== "");
4540
- i0.ɵɵadvance(2);
4541
- i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(24, 31, "igo.context.shareMap.filterTime") !== "");
4542
- } }
4543
- function ShareMapUrlComponent_igo_custom_html_15_Template(rf, ctx) { if (rf & 1) {
4544
- i0.ɵɵelement(0, "igo-custom-html", 9);
4545
- i0.ɵɵpipe(1, "translate");
4546
- } if (rf & 2) {
4547
- i0.ɵɵproperty("html", i0.ɵɵpipeBind1(1, 1, "igo.context.shareMap.htmlClarifications"));
4548
- } }
4549
3320
  class ShareMapUrlComponent {
4550
3321
  messageService;
4551
3322
  shareMapService;
@@ -4586,71 +3357,16 @@ class ShareMapUrlComponent {
4586
3357
  this.messageService.success('igo.context.shareMap.dialog.copyMsg', 'igo.context.shareMap.dialog.copyTitle');
4587
3358
  }
4588
3359
  }
4589
- static ɵfac = function ShareMapUrlComponent_Factory(t) { return new (t || ShareMapUrlComponent)(i0.ɵɵdirectiveInject(i3.MessageService), i0.ɵɵdirectiveInject(ShareMapService), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
4590
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ShareMapUrlComponent, selectors: [["igo-share-map-url"]], inputs: { map: "map" }, decls: 17, vars: 13, consts: [[1, "igo-input-container", "linkToShare"], ["matInput", "", "readonly", "", "rows", "3", 3, "placeholder", "value"], ["textArea", ""], [1, "igo-form-button-group"], ["mat-raised-button", "", 3, "click"], ["svgIcon", "content-copy"], [1, "mat-typography"], [4, "ngIf"], ["class", "shareCustomPadding", "class", "mat-typography", 3, "html", 4, "ngIf"], [1, "mat-typography", 3, "html"]], template: function ShareMapUrlComponent_Template(rf, ctx) { if (rf & 1) {
4591
- const _r14 = i0.ɵɵgetCurrentView();
4592
- i0.ɵɵelementStart(0, "div", 0)(1, "mat-form-field");
4593
- i0.ɵɵelement(2, "textarea", 1, 2);
4594
- i0.ɵɵpipe(4, "translate");
4595
- i0.ɵɵelementEnd();
4596
- i0.ɵɵelementStart(5, "div", 3)(6, "button", 4);
4597
- i0.ɵɵlistener("click", function ShareMapUrlComponent_Template_button_click_6_listener() { i0.ɵɵrestoreView(_r14); const _r0 = i0.ɵɵreference(3); return i0.ɵɵresetView(ctx.copyTextToClipboard(_r0)); });
4598
- i0.ɵɵelement(7, "mat-icon", 5);
4599
- i0.ɵɵtext(8);
4600
- i0.ɵɵpipe(9, "translate");
4601
- i0.ɵɵelementEnd()();
4602
- i0.ɵɵelementStart(10, "div");
4603
- i0.ɵɵelement(11, "br");
4604
- i0.ɵɵelementStart(12, "section", 6);
4605
- i0.ɵɵtemplate(13, ShareMapUrlComponent_div_13_Template, 25, 33, "div", 7);
4606
- i0.ɵɵpipe(14, "translate");
4607
- i0.ɵɵtemplate(15, ShareMapUrlComponent_igo_custom_html_15_Template, 2, 3, "igo-custom-html", 8);
4608
- i0.ɵɵpipe(16, "translate");
4609
- i0.ɵɵelementEnd()()();
4610
- } if (rf & 2) {
4611
- i0.ɵɵadvance(2);
4612
- i0.ɵɵproperty("placeholder", i0.ɵɵpipeBind1(4, 5, "igo.context.shareMap.placeholderLink"))("value", ctx.url);
4613
- i0.ɵɵadvance(6);
4614
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(9, 7, "igo.context.shareMap.copy"), " ");
4615
- i0.ɵɵadvance(5);
4616
- i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(14, 9, "igo.context.shareMap.htmlClarifications") === "");
4617
- i0.ɵɵadvance(2);
4618
- i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(16, 11, "igo.context.shareMap.htmlClarifications") !== "");
4619
- } }, dependencies: [i6.NgIf, i6$2.MatIcon, i6$1.MatFormField, i5.MatInput, i7.MatButton, i13.CustomHtmlComponent, i9$1.TranslatePipe], styles: ["@charset \"UTF-8\";mat-form-field[_ngcontent-%COMP%]{width:100%}.linkToShare\\a0[_ngcontent-%COMP%] {padding:25px 5px 5px}.linkToShare\\a0[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]{resize:none;width:100%;line-height:1.3;height:40px;overflow-y:hidden;word-wrap:normal;word-break:break-all}.linkToShare\\a0[_ngcontent-%COMP%] textarea.textAreaWithButton[_ngcontent-%COMP%]{width:calc(100% - 60px)}.linkToShare\\a0[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%] > button[_ngcontent-%COMP%]{float:right;margin:-10px 0}.igo-form-button-group[_ngcontent-%COMP%]{text-align:center;padding-top:10px}igo-custom-html.shareCustomPadding[_ngcontent-%COMP%]{padding:0}"] });
3360
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ShareMapUrlComponent, deps: [{ token: i3.MessageService }, { token: ShareMapService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
3361
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: ShareMapUrlComponent, selector: "igo-share-map-url", inputs: { map: "map" }, ngImport: i0, template: "<div class=\"igo-input-container linkToShare\">\r\n <mat-form-field>\r\n <textarea\r\n #textArea\r\n matInput\r\n readonly\r\n rows=\"3\"\r\n [placeholder]=\"'igo.context.shareMap.placeholderLink' | translate\"\r\n [value]=\"url\"\r\n ></textarea>\r\n </mat-form-field>\r\n\r\n <div class=\"igo-form-button-group\">\r\n <button mat-raised-button (click)=\"copyTextToClipboard(textArea)\">\r\n <mat-icon svgIcon=\"content-copy\"></mat-icon>\r\n {{ 'igo.context.shareMap.copy' | translate }}\r\n </button>\r\n </div>\r\n <div>\r\n <br />\r\n <section class=\"mat-typography\">\r\n <div\r\n *ngIf=\"('igo.context.shareMap.htmlClarifications' | translate) === ''\"\r\n >\r\n <h4 *ngIf=\"('igo.context.shareMap.included' | translate) !== ''\">\r\n {{ 'igo.context.shareMap.included' | translate }}\r\n </h4>\r\n <ul>\r\n <li *ngIf=\"('igo.context.shareMap.context' | translate) !== ''\">\r\n {{ 'igo.context.shareMap.context' | translate }}\r\n </li>\r\n <li *ngIf=\"('igo.context.shareMap.center' | translate) !== ''\">\r\n {{ 'igo.context.shareMap.center' | translate }}\r\n </li>\r\n <li *ngIf=\"('igo.context.shareMap.zoom' | translate) !== ''\">\r\n {{ 'igo.context.shareMap.zoom' | translate }}\r\n </li>\r\n <li *ngIf=\"('igo.context.shareMap.addedLayers' | translate) !== ''\">\r\n {{ 'igo.context.shareMap.addedLayers' | translate }}\r\n </li>\r\n <li\r\n *ngIf=\"('igo.context.shareMap.visibleInvisible' | translate) !== ''\"\r\n >\r\n {{ 'igo.context.shareMap.visibleInvisible' | translate }}\r\n </li>\r\n </ul>\r\n\r\n <h4 *ngIf=\"('igo.context.shareMap.excluded' | translate) !== ''\">\r\n {{ 'igo.context.shareMap.excluded' | translate }}\r\n </h4>\r\n <ul>\r\n <li *ngIf=\"('igo.context.shareMap.order' | translate) !== ''\">\r\n {{ 'igo.context.shareMap.order' | translate }}\r\n </li>\r\n <li *ngIf=\"('igo.context.shareMap.opacity' | translate) !== ''\">\r\n {{ 'igo.context.shareMap.opacity' | translate }}\r\n </li>\r\n <li *ngIf=\"('igo.context.shareMap.filterOgc' | translate) !== ''\">\r\n {{ 'igo.context.shareMap.filterOgc' | translate }}\r\n </li>\r\n <li *ngIf=\"('igo.context.shareMap.filterTime' | translate) !== ''\">\r\n {{ 'igo.context.shareMap.filterTime' | translate }}\r\n </li>\r\n </ul>\r\n </div>\r\n <igo-custom-html\r\n class=\"shareCustomPadding\"\r\n *ngIf=\"('igo.context.shareMap.htmlClarifications' | translate) !== ''\"\r\n class=\"mat-typography\"\r\n [html]=\"'igo.context.shareMap.htmlClarifications' | translate\"\r\n >\r\n </igo-custom-html>\r\n </section>\r\n </div>\r\n</div>\r\n", styles: ["@charset \"UTF-8\";mat-form-field{width:100%}.linkToShare\\a0 {padding:25px 5px 5px}.linkToShare\\a0 textarea{resize:none;width:100%;line-height:1.3;height:40px;overflow-y:hidden;word-wrap:normal;word-break:break-all}.linkToShare\\a0 textarea.textAreaWithButton{width:calc(100% - 60px)}.linkToShare\\a0 mat-form-field>button{float:right;margin:-10px 0}.igo-form-button-group{text-align:center;padding-top:10px}igo-custom-html.shareCustomPadding{padding:0}\n"], dependencies: [{ kind: "directive", type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i6$2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i6$1.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i5.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { kind: "component", type: i7.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "component", type: i13.CustomHtmlComponent, selector: "igo-custom-html", inputs: ["html"] }, { kind: "pipe", type: i9$1.TranslatePipe, name: "translate" }] });
4620
3362
  }
4621
- (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ShareMapUrlComponent, [{
4622
- type: Component,
4623
- args: [{ selector: 'igo-share-map-url', template: "<div class=\"igo-input-container linkToShare\">\r\n <mat-form-field>\r\n <textarea\r\n #textArea\r\n matInput\r\n readonly\r\n rows=\"3\"\r\n [placeholder]=\"'igo.context.shareMap.placeholderLink' | translate\"\r\n [value]=\"url\"\r\n ></textarea>\r\n </mat-form-field>\r\n\r\n <div class=\"igo-form-button-group\">\r\n <button mat-raised-button (click)=\"copyTextToClipboard(textArea)\">\r\n <mat-icon svgIcon=\"content-copy\"></mat-icon>\r\n {{ 'igo.context.shareMap.copy' | translate }}\r\n </button>\r\n </div>\r\n <div>\r\n <br />\r\n <section class=\"mat-typography\">\r\n <div\r\n *ngIf=\"('igo.context.shareMap.htmlClarifications' | translate) === ''\"\r\n >\r\n <h4 *ngIf=\"('igo.context.shareMap.included' | translate) !== ''\">\r\n {{ 'igo.context.shareMap.included' | translate }}\r\n </h4>\r\n <ul>\r\n <li *ngIf=\"('igo.context.shareMap.context' | translate) !== ''\">\r\n {{ 'igo.context.shareMap.context' | translate }}\r\n </li>\r\n <li *ngIf=\"('igo.context.shareMap.center' | translate) !== ''\">\r\n {{ 'igo.context.shareMap.center' | translate }}\r\n </li>\r\n <li *ngIf=\"('igo.context.shareMap.zoom' | translate) !== ''\">\r\n {{ 'igo.context.shareMap.zoom' | translate }}\r\n </li>\r\n <li *ngIf=\"('igo.context.shareMap.addedLayers' | translate) !== ''\">\r\n {{ 'igo.context.shareMap.addedLayers' | translate }}\r\n </li>\r\n <li\r\n *ngIf=\"('igo.context.shareMap.visibleInvisible' | translate) !== ''\"\r\n >\r\n {{ 'igo.context.shareMap.visibleInvisible' | translate }}\r\n </li>\r\n </ul>\r\n\r\n <h4 *ngIf=\"('igo.context.shareMap.excluded' | translate) !== ''\">\r\n {{ 'igo.context.shareMap.excluded' | translate }}\r\n </h4>\r\n <ul>\r\n <li *ngIf=\"('igo.context.shareMap.order' | translate) !== ''\">\r\n {{ 'igo.context.shareMap.order' | translate }}\r\n </li>\r\n <li *ngIf=\"('igo.context.shareMap.opacity' | translate) !== ''\">\r\n {{ 'igo.context.shareMap.opacity' | translate }}\r\n </li>\r\n <li *ngIf=\"('igo.context.shareMap.filterOgc' | translate) !== ''\">\r\n {{ 'igo.context.shareMap.filterOgc' | translate }}\r\n </li>\r\n <li *ngIf=\"('igo.context.shareMap.filterTime' | translate) !== ''\">\r\n {{ 'igo.context.shareMap.filterTime' | translate }}\r\n </li>\r\n </ul>\r\n </div>\r\n <igo-custom-html\r\n class=\"shareCustomPadding\"\r\n *ngIf=\"('igo.context.shareMap.htmlClarifications' | translate) !== ''\"\r\n class=\"mat-typography\"\r\n [html]=\"'igo.context.shareMap.htmlClarifications' | translate\"\r\n >\r\n </igo-custom-html>\r\n </section>\r\n </div>\r\n</div>\r\n", styles: ["@charset \"UTF-8\";mat-form-field{width:100%}.linkToShare\\a0 {padding:25px 5px 5px}.linkToShare\\a0 textarea{resize:none;width:100%;line-height:1.3;height:40px;overflow-y:hidden;word-wrap:normal;word-break:break-all}.linkToShare\\a0 textarea.textAreaWithButton{width:calc(100% - 60px)}.linkToShare\\a0 mat-form-field>button{float:right;margin:-10px 0}.igo-form-button-group{text-align:center;padding-top:10px}igo-custom-html.shareCustomPadding{padding:0}\n"] }]
4624
- }], function () { return [{ type: i3.MessageService }, { type: ShareMapService }, { type: i0.ChangeDetectorRef }]; }, { map: [{
4625
- type: Input
4626
- }] }); })();
3363
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ShareMapUrlComponent, decorators: [{
3364
+ type: Component,
3365
+ args: [{ selector: 'igo-share-map-url', template: "<div class=\"igo-input-container linkToShare\">\r\n <mat-form-field>\r\n <textarea\r\n #textArea\r\n matInput\r\n readonly\r\n rows=\"3\"\r\n [placeholder]=\"'igo.context.shareMap.placeholderLink' | translate\"\r\n [value]=\"url\"\r\n ></textarea>\r\n </mat-form-field>\r\n\r\n <div class=\"igo-form-button-group\">\r\n <button mat-raised-button (click)=\"copyTextToClipboard(textArea)\">\r\n <mat-icon svgIcon=\"content-copy\"></mat-icon>\r\n {{ 'igo.context.shareMap.copy' | translate }}\r\n </button>\r\n </div>\r\n <div>\r\n <br />\r\n <section class=\"mat-typography\">\r\n <div\r\n *ngIf=\"('igo.context.shareMap.htmlClarifications' | translate) === ''\"\r\n >\r\n <h4 *ngIf=\"('igo.context.shareMap.included' | translate) !== ''\">\r\n {{ 'igo.context.shareMap.included' | translate }}\r\n </h4>\r\n <ul>\r\n <li *ngIf=\"('igo.context.shareMap.context' | translate) !== ''\">\r\n {{ 'igo.context.shareMap.context' | translate }}\r\n </li>\r\n <li *ngIf=\"('igo.context.shareMap.center' | translate) !== ''\">\r\n {{ 'igo.context.shareMap.center' | translate }}\r\n </li>\r\n <li *ngIf=\"('igo.context.shareMap.zoom' | translate) !== ''\">\r\n {{ 'igo.context.shareMap.zoom' | translate }}\r\n </li>\r\n <li *ngIf=\"('igo.context.shareMap.addedLayers' | translate) !== ''\">\r\n {{ 'igo.context.shareMap.addedLayers' | translate }}\r\n </li>\r\n <li\r\n *ngIf=\"('igo.context.shareMap.visibleInvisible' | translate) !== ''\"\r\n >\r\n {{ 'igo.context.shareMap.visibleInvisible' | translate }}\r\n </li>\r\n </ul>\r\n\r\n <h4 *ngIf=\"('igo.context.shareMap.excluded' | translate) !== ''\">\r\n {{ 'igo.context.shareMap.excluded' | translate }}\r\n </h4>\r\n <ul>\r\n <li *ngIf=\"('igo.context.shareMap.order' | translate) !== ''\">\r\n {{ 'igo.context.shareMap.order' | translate }}\r\n </li>\r\n <li *ngIf=\"('igo.context.shareMap.opacity' | translate) !== ''\">\r\n {{ 'igo.context.shareMap.opacity' | translate }}\r\n </li>\r\n <li *ngIf=\"('igo.context.shareMap.filterOgc' | translate) !== ''\">\r\n {{ 'igo.context.shareMap.filterOgc' | translate }}\r\n </li>\r\n <li *ngIf=\"('igo.context.shareMap.filterTime' | translate) !== ''\">\r\n {{ 'igo.context.shareMap.filterTime' | translate }}\r\n </li>\r\n </ul>\r\n </div>\r\n <igo-custom-html\r\n class=\"shareCustomPadding\"\r\n *ngIf=\"('igo.context.shareMap.htmlClarifications' | translate) !== ''\"\r\n class=\"mat-typography\"\r\n [html]=\"'igo.context.shareMap.htmlClarifications' | translate\"\r\n >\r\n </igo-custom-html>\r\n </section>\r\n </div>\r\n</div>\r\n", styles: ["@charset \"UTF-8\";mat-form-field{width:100%}.linkToShare\\a0 {padding:25px 5px 5px}.linkToShare\\a0 textarea{resize:none;width:100%;line-height:1.3;height:40px;overflow-y:hidden;word-wrap:normal;word-break:break-all}.linkToShare\\a0 textarea.textAreaWithButton{width:calc(100% - 60px)}.linkToShare\\a0 mat-form-field>button{float:right;margin:-10px 0}.igo-form-button-group{text-align:center;padding-top:10px}igo-custom-html.shareCustomPadding{padding:0}\n"] }]
3366
+ }], ctorParameters: function () { return [{ type: i3.MessageService }, { type: ShareMapService }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { map: [{
3367
+ type: Input
3368
+ }] } });
4627
3369
 
4628
- function ShareMapComponent_mat_tab_group_0_Template(rf, ctx) { if (rf & 1) {
4629
- i0.ɵɵelementStart(0, "mat-tab-group")(1, "mat-tab", 2);
4630
- i0.ɵɵpipe(2, "translate");
4631
- i0.ɵɵelement(3, "igo-share-map-api", 3);
4632
- i0.ɵɵelementEnd();
4633
- i0.ɵɵelementStart(4, "mat-tab", 2);
4634
- i0.ɵɵpipe(5, "translate");
4635
- i0.ɵɵelement(6, "igo-share-map-url", 3);
4636
- i0.ɵɵelementEnd()();
4637
- } if (rf & 2) {
4638
- const ctx_r0 = i0.ɵɵnextContext();
4639
- i0.ɵɵadvance(1);
4640
- i0.ɵɵproperty("label", i0.ɵɵpipeBind1(2, 4, "igo.context.shareMap.shareWithApi"));
4641
- i0.ɵɵadvance(2);
4642
- i0.ɵɵproperty("map", ctx_r0.map);
4643
- i0.ɵɵadvance(1);
4644
- i0.ɵɵproperty("label", i0.ɵɵpipeBind1(5, 6, "igo.context.shareMap.shareWithUrl"));
4645
- i0.ɵɵadvance(2);
4646
- i0.ɵɵproperty("map", ctx_r0.map);
4647
- } }
4648
- function ShareMapComponent_igo_share_map_url_1_Template(rf, ctx) { if (rf & 1) {
4649
- i0.ɵɵelement(0, "igo-share-map-url", 3);
4650
- } if (rf & 2) {
4651
- const ctx_r1 = i0.ɵɵnextContext();
4652
- i0.ɵɵproperty("map", ctx_r1.map);
4653
- } }
4654
3370
  class ShareMapComponent {
4655
3371
  config;
4656
3372
  map;
@@ -4659,22 +3375,15 @@ class ShareMapComponent {
4659
3375
  this.config = config;
4660
3376
  this.hasApi = this.config.getConfig('context.url') ? true : false;
4661
3377
  }
4662
- static ɵfac = function ShareMapComponent_Factory(t) { return new (t || ShareMapComponent)(i0.ɵɵdirectiveInject(i3.ConfigService)); };
4663
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ShareMapComponent, selectors: [["igo-share-map"]], inputs: { map: "map" }, decls: 2, vars: 2, consts: [[4, "ngIf"], [3, "map", 4, "ngIf"], [3, "label"], [3, "map"]], template: function ShareMapComponent_Template(rf, ctx) { if (rf & 1) {
4664
- i0.ɵɵtemplate(0, ShareMapComponent_mat_tab_group_0_Template, 7, 8, "mat-tab-group", 0);
4665
- i0.ɵɵtemplate(1, ShareMapComponent_igo_share_map_url_1_Template, 1, 1, "igo-share-map-url", 1);
4666
- } if (rf & 2) {
4667
- i0.ɵɵproperty("ngIf", ctx.hasApi);
4668
- i0.ɵɵadvance(1);
4669
- i0.ɵɵproperty("ngIf", !ctx.hasApi);
4670
- } }, dependencies: [i6.NgIf, i3$1.MatTab, i3$1.MatTabGroup, ShareMapUrlComponent, ShareMapApiComponent, i9$1.TranslatePipe] });
3378
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ShareMapComponent, deps: [{ token: i3.ConfigService }], target: i0.ɵɵFactoryTarget.Component });
3379
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: ShareMapComponent, selector: "igo-share-map", inputs: { map: "map" }, ngImport: i0, template: "<mat-tab-group *ngIf=\"hasApi\">\r\n <mat-tab [label]=\"'igo.context.shareMap.shareWithApi' | translate\">\r\n <igo-share-map-api [map]=\"map\"></igo-share-map-api>\r\n </mat-tab>\r\n <mat-tab [label]=\"'igo.context.shareMap.shareWithUrl' | translate\">\r\n <igo-share-map-url [map]=\"map\"></igo-share-map-url>\r\n </mat-tab>\r\n</mat-tab-group>\r\n\r\n<igo-share-map-url *ngIf=\"!hasApi\" [map]=\"map\"></igo-share-map-url>\r\n", styles: [""], dependencies: [{ kind: "directive", type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i3$1.MatTab, selector: "mat-tab", inputs: ["disabled"], exportAs: ["matTab"] }, { kind: "component", type: i3$1.MatTabGroup, selector: "mat-tab-group", inputs: ["color", "disableRipple", "fitInkBarToContent", "mat-stretch-tabs"], exportAs: ["matTabGroup"] }, { kind: "component", type: ShareMapUrlComponent, selector: "igo-share-map-url", inputs: ["map"] }, { kind: "component", type: ShareMapApiComponent, selector: "igo-share-map-api", inputs: ["map"] }, { kind: "pipe", type: i9$1.TranslatePipe, name: "translate" }] });
4671
3380
  }
4672
- (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ShareMapComponent, [{
4673
- type: Component,
4674
- args: [{ selector: 'igo-share-map', template: "<mat-tab-group *ngIf=\"hasApi\">\r\n <mat-tab [label]=\"'igo.context.shareMap.shareWithApi' | translate\">\r\n <igo-share-map-api [map]=\"map\"></igo-share-map-api>\r\n </mat-tab>\r\n <mat-tab [label]=\"'igo.context.shareMap.shareWithUrl' | translate\">\r\n <igo-share-map-url [map]=\"map\"></igo-share-map-url>\r\n </mat-tab>\r\n</mat-tab-group>\r\n\r\n<igo-share-map-url *ngIf=\"!hasApi\" [map]=\"map\"></igo-share-map-url>\r\n" }]
4675
- }], function () { return [{ type: i3.ConfigService }]; }, { map: [{
4676
- type: Input
4677
- }] }); })();
3381
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ShareMapComponent, decorators: [{
3382
+ type: Component,
3383
+ args: [{ selector: 'igo-share-map', template: "<mat-tab-group *ngIf=\"hasApi\">\r\n <mat-tab [label]=\"'igo.context.shareMap.shareWithApi' | translate\">\r\n <igo-share-map-api [map]=\"map\"></igo-share-map-api>\r\n </mat-tab>\r\n <mat-tab [label]=\"'igo.context.shareMap.shareWithUrl' | translate\">\r\n <igo-share-map-url [map]=\"map\"></igo-share-map-url>\r\n </mat-tab>\r\n</mat-tab-group>\r\n\r\n<igo-share-map-url *ngIf=\"!hasApi\" [map]=\"map\"></igo-share-map-url>\r\n" }]
3384
+ }], ctorParameters: function () { return [{ type: i3.ConfigService }]; }, propDecorators: { map: [{
3385
+ type: Input
3386
+ }] } });
4678
3387
 
4679
3388
  class IgoShareMapModule {
4680
3389
  static forRoot() {
@@ -4682,9 +3391,19 @@ class IgoShareMapModule {
4682
3391
  ngModule: IgoShareMapModule
4683
3392
  };
4684
3393
  }
4685
- static ɵfac = function IgoShareMapModule_Factory(t) { return new (t || IgoShareMapModule)(); };
4686
- static ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: IgoShareMapModule });
4687
- static ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule,
3394
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IgoShareMapModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
3395
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: IgoShareMapModule, declarations: [ShareMapComponent, ShareMapUrlComponent, ShareMapApiComponent], imports: [CommonModule,
3396
+ FormsModule,
3397
+ ReactiveFormsModule,
3398
+ MatIconModule,
3399
+ MatTooltipModule,
3400
+ MatTabsModule,
3401
+ MatFormFieldModule,
3402
+ MatInputModule,
3403
+ MatButtonModule,
3404
+ IgoLanguageModule,
3405
+ IgoCustomHtmlModule], exports: [ShareMapComponent, ShareMapUrlComponent, ShareMapApiComponent] });
3406
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IgoShareMapModule, imports: [CommonModule,
4688
3407
  FormsModule,
4689
3408
  ReactiveFormsModule,
4690
3409
  MatIconModule,
@@ -4696,88 +3415,27 @@ class IgoShareMapModule {
4696
3415
  IgoLanguageModule,
4697
3416
  IgoCustomHtmlModule] });
4698
3417
  }
4699
- (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IgoShareMapModule, [{
4700
- type: NgModule,
4701
- args: [{
4702
- imports: [
4703
- CommonModule,
4704
- FormsModule,
4705
- ReactiveFormsModule,
4706
- MatIconModule,
4707
- MatTooltipModule,
4708
- MatTabsModule,
4709
- MatFormFieldModule,
4710
- MatInputModule,
4711
- MatButtonModule,
4712
- IgoLanguageModule,
4713
- IgoCustomHtmlModule
4714
- ],
4715
- exports: [ShareMapComponent, ShareMapUrlComponent, ShareMapApiComponent],
4716
- declarations: [ShareMapComponent, ShareMapUrlComponent, ShareMapApiComponent]
4717
- }]
4718
- }], null, null); })();
4719
- (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(IgoShareMapModule, { declarations: [ShareMapComponent, ShareMapUrlComponent, ShareMapApiComponent], imports: [CommonModule,
4720
- FormsModule,
4721
- ReactiveFormsModule,
4722
- MatIconModule,
4723
- MatTooltipModule,
4724
- MatTabsModule,
4725
- MatFormFieldModule,
4726
- MatInputModule,
4727
- MatButtonModule,
4728
- IgoLanguageModule,
4729
- IgoCustomHtmlModule], exports: [ShareMapComponent, ShareMapUrlComponent, ShareMapApiComponent] }); })();
3418
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IgoShareMapModule, decorators: [{
3419
+ type: NgModule,
3420
+ args: [{
3421
+ imports: [
3422
+ CommonModule,
3423
+ FormsModule,
3424
+ ReactiveFormsModule,
3425
+ MatIconModule,
3426
+ MatTooltipModule,
3427
+ MatTabsModule,
3428
+ MatFormFieldModule,
3429
+ MatInputModule,
3430
+ MatButtonModule,
3431
+ IgoLanguageModule,
3432
+ IgoCustomHtmlModule
3433
+ ],
3434
+ exports: [ShareMapComponent, ShareMapUrlComponent, ShareMapApiComponent],
3435
+ declarations: [ShareMapComponent, ShareMapUrlComponent, ShareMapApiComponent]
3436
+ }]
3437
+ }] });
4730
3438
 
4731
- function SidenavComponent_button_8_Template(rf, ctx) { if (rf & 1) {
4732
- i0.ɵɵelementStart(0, "button", 11);
4733
- i0.ɵɵpipe(1, "translate");
4734
- i0.ɵɵelement(2, "mat-icon", 12);
4735
- i0.ɵɵelementEnd();
4736
- } if (rf & 2) {
4737
- i0.ɵɵproperty("matTooltip", i0.ɵɵpipeBind1(1, 1, "igo.context.sidenav.goBack"));
4738
- } }
4739
- function SidenavComponent_button_9_Template(rf, ctx) { if (rf & 1) {
4740
- i0.ɵɵelementStart(0, "button", 13);
4741
- i0.ɵɵpipe(1, "translate");
4742
- i0.ɵɵelement(2, "mat-icon", 14);
4743
- i0.ɵɵelementEnd();
4744
- } if (rf & 2) {
4745
- i0.ɵɵproperty("matTooltip", i0.ɵɵpipeBind1(1, 1, "igo.context.sidenav.mainMenu"));
4746
- } }
4747
- function SidenavComponent_igo_panel_11_button_3_Template(rf, ctx) { if (rf & 1) {
4748
- const _r8 = i0.ɵɵgetCurrentView();
4749
- i0.ɵɵelementStart(0, "button", 19);
4750
- i0.ɵɵlistener("click", function SidenavComponent_igo_panel_11_button_3_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r8); const ctx_r7 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r7.zoomToFeatureExtent()); });
4751
- i0.ɵɵelement(1, "mat-icon", 20);
4752
- i0.ɵɵelementEnd();
4753
- } }
4754
- function SidenavComponent_igo_panel_11_igo_feature_details_4_Template(rf, ctx) { if (rf & 1) {
4755
- i0.ɵɵelement(0, "igo-feature-details", 21);
4756
- } if (rf & 2) {
4757
- const ctx_r6 = i0.ɵɵnextContext(2);
4758
- i0.ɵɵproperty("feature", ctx_r6.feature);
4759
- } }
4760
- const _c0 = function () { return ["collapsed", "initial"]; };
4761
- function SidenavComponent_igo_panel_11_Template(rf, ctx) { if (rf & 1) {
4762
- const _r10 = i0.ɵɵgetCurrentView();
4763
- i0.ɵɵelementStart(0, "igo-panel", 6)(1, "button", 15);
4764
- i0.ɵɵlistener("click", function SidenavComponent_igo_panel_11_Template_button_click_1_listener() { i0.ɵɵrestoreView(_r10); const ctx_r9 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r9.toggleTopPanel()); });
4765
- i0.ɵɵelement(2, "mat-icon", 16);
4766
- i0.ɵɵelementEnd();
4767
- i0.ɵɵtemplate(3, SidenavComponent_igo_panel_11_button_3_Template, 2, 0, "button", 17);
4768
- i0.ɵɵtemplate(4, SidenavComponent_igo_panel_11_igo_feature_details_4_Template, 1, 1, "igo-feature-details", 18);
4769
- i0.ɵɵelementEnd();
4770
- } if (rf & 2) {
4771
- const ctx_r4 = i0.ɵɵnextContext();
4772
- const _r1 = i0.ɵɵreference(4);
4773
- i0.ɵɵproperty("title", ctx_r4.featureTitle);
4774
- i0.ɵɵadvance(2);
4775
- i0.ɵɵproperty("svgIcon", i0.ɵɵpureFunction0(4, _c0).indexOf(_r1.state) >= 0 ? "arrow_downward" : "arrow_upward");
4776
- i0.ɵɵadvance(1);
4777
- i0.ɵɵproperty("ngIf", ctx_r4.feature.geometry);
4778
- i0.ɵɵadvance(1);
4779
- i0.ɵɵproperty("ngIf", i0.ɵɵpureFunction0(5, _c0).indexOf(_r1.state) >= 0);
4780
- } }
4781
3439
  class SidenavComponent {
4782
3440
  titleService;
4783
3441
  format = new GeoJSON();
@@ -4850,46 +3508,25 @@ class SidenavComponent {
4850
3508
  this.topPanelState = 'initial';
4851
3509
  }
4852
3510
  }
4853
- static ɵfac = function SidenavComponent_Factory(t) { return new (t || SidenavComponent)(i0.ɵɵdirectiveInject(i1$4.Title)); };
4854
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SidenavComponent, selectors: [["igo-sidenav"]], inputs: { map: "map", opened: "opened", feature: "feature", tool: "tool", media: "media", title: "title" }, decls: 12, vars: 8, consts: [["igoSidenavShim", "", "mode", "side", 3, "opened"], ["sidenav", ""], [1, "igo-sidenav-content"], ["initial", "50%", "initialMobile", "100%", "expanded", "calc(100% - 58px)", 3, "state"], ["topPanel", ""], [1, "igo-content"], [3, "title"], ["mat-icon-button", "", "panelLeftButton", "", "tooltip-position", "below", "matTooltipShowDelay", "500", 3, "matTooltip", 4, "ngIf"], ["mat-icon-button", "", "panelRightButton", "", "tooltip-position", "below", "matTooltipShowDelay", "500", 3, "matTooltip", 4, "ngIf"], ["igoFlexibleFill", "", 1, "igo-content"], [3, "title", 4, "ngIf"], ["mat-icon-button", "", "panelLeftButton", "", "tooltip-position", "below", "matTooltipShowDelay", "500", 3, "matTooltip"], ["svgIcon", "arrow-back"], ["mat-icon-button", "", "panelRightButton", "", "tooltip-position", "below", "matTooltipShowDelay", "500", 3, "matTooltip"], ["svgIcon", "menu"], ["mat-icon-button", "", "panelLeftButton", "", 1, "igo-icon-button", 3, "click"], [3, "svgIcon"], ["mat-icon-button", "", "panelRightButton", "", "class", "igo-icon-button", 3, "click", 4, "ngIf"], [3, "feature", 4, "ngIf"], ["mat-icon-button", "", "panelRightButton", "", 1, "igo-icon-button", 3, "click"], ["svgIcon", "zoom-in"], [3, "feature"]], template: function SidenavComponent_Template(rf, ctx) { if (rf & 1) {
4855
- i0.ɵɵelementStart(0, "mat-sidenav", 0, 1)(2, "div", 2)(3, "igo-flexible", 3, 4)(5, "div", 5)(6, "igo-panel", 6);
4856
- i0.ɵɵpipe(7, "translate");
4857
- i0.ɵɵtemplate(8, SidenavComponent_button_8_Template, 3, 3, "button", 7);
4858
- i0.ɵɵtemplate(9, SidenavComponent_button_9_Template, 3, 3, "button", 8);
4859
- i0.ɵɵelementEnd()();
4860
- i0.ɵɵelementStart(10, "div", 9);
4861
- i0.ɵɵtemplate(11, SidenavComponent_igo_panel_11_Template, 5, 6, "igo-panel", 10);
4862
- i0.ɵɵelementEnd()()()();
4863
- } if (rf & 2) {
4864
- i0.ɵɵproperty("opened", ctx.opened);
4865
- i0.ɵɵadvance(3);
4866
- i0.ɵɵproperty("state", ctx.topPanelState);
4867
- i0.ɵɵadvance(3);
4868
- i0.ɵɵproperty("title", ctx.tool ? i0.ɵɵpipeBind1(7, 6, ctx.tool.title) : ctx.title);
4869
- i0.ɵɵadvance(2);
4870
- i0.ɵɵproperty("ngIf", ctx.tool);
4871
- i0.ɵɵadvance(1);
4872
- i0.ɵɵproperty("ngIf", ctx.tool);
4873
- i0.ɵɵadvance(2);
4874
- i0.ɵɵproperty("ngIf", ctx.feature && ctx.media !== "mobile");
4875
- } }, dependencies: [i6.NgIf, i6$2.MatIcon, i7.MatIconButton, i5$1.MatSidenav, i6$3.MatTooltip, i13.PanelComponent, i13.FlexibleComponent, i1$1.FeatureDetailsComponent, i9$1.TranslatePipe], styles: ["[_nghost-%COMP%] .igo-flexible-fill .igo-container, .igo-sidenav-content[_ngcontent-%COMP%] .igo-flexible-fill[_ngcontent-%COMP%] .igo-container[_ngcontent-%COMP%]{box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box}[_nghost-%COMP%] .igo-flexible-fill .igo-container, .igo-sidenav-content[_ngcontent-%COMP%] .igo-flexible-fill[_ngcontent-%COMP%] .igo-container[_ngcontent-%COMP%]{border-top-width:1px;border-top-style:solid;border-top-color:#0003}mat-sidenav[_ngcontent-%COMP%]{-o-box-shadow:2px 0px 2px 0px #dddddd;box-shadow:2px 0 2px #ddd}[_nghost-%COMP%]{background-color:#fff}[_nghost-%COMP%] mat-sidenav{z-index:3!important}mat-sidenav[_ngcontent-%COMP%]{width:400px}@media only screen and (orientation:portrait) and (max-width: 599px),only screen and (orientation:landscape) and (max-width: 959px){mat-sidenav[_ngcontent-%COMP%]{width:calc(100% - 45px)}}.igo-sidenav-content[_ngcontent-%COMP%]{margin-top:50px;height:calc(100% - 50px)}igo-feature-details[_ngcontent-%COMP%] table{width:100%}"] });
3511
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SidenavComponent, deps: [{ token: i1$4.Title }], target: i0.ɵɵFactoryTarget.Component });
3512
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SidenavComponent, selector: "igo-sidenav", inputs: { map: "map", opened: "opened", feature: "feature", tool: "tool", media: "media", title: "title" }, ngImport: i0, template: "<mat-sidenav #sidenav igoSidenavShim mode=\"side\" [opened]=\"opened\">\r\n <div class=\"igo-sidenav-content\">\r\n <igo-flexible\r\n #topPanel\r\n initial=\"50%\"\r\n initialMobile=\"100%\"\r\n expanded=\"calc(100% - 58px)\"\r\n [state]=\"topPanelState\"\r\n >\r\n <div class=\"igo-content\">\r\n <igo-panel [title]=\"tool ? (tool.title | translate) : title\">\r\n <button\r\n mat-icon-button\r\n panelLeftButton\r\n tooltip-position=\"below\"\r\n matTooltipShowDelay=\"500\"\r\n [matTooltip]=\"'igo.context.sidenav.goBack' | translate\"\r\n *ngIf=\"tool\"\r\n >\r\n <mat-icon svgIcon=\"arrow-back\"></mat-icon>\r\n </button>\r\n\r\n <button\r\n mat-icon-button\r\n panelRightButton\r\n tooltip-position=\"below\"\r\n matTooltipShowDelay=\"500\"\r\n [matTooltip]=\"'igo.context.sidenav.mainMenu' | translate\"\r\n *ngIf=\"tool\"\r\n >\r\n <mat-icon svgIcon=\"menu\"></mat-icon>\r\n </button>\r\n </igo-panel>\r\n </div>\r\n\r\n <div igoFlexibleFill class=\"igo-content\">\r\n <igo-panel [title]=\"featureTitle\" *ngIf=\"feature && media !== 'mobile'\">\r\n <button\r\n mat-icon-button\r\n panelLeftButton\r\n class=\"igo-icon-button\"\r\n (click)=\"toggleTopPanel()\"\r\n >\r\n <mat-icon\r\n [svgIcon]=\"\r\n ['collapsed', 'initial'].indexOf(topPanel.state) >= 0\r\n ? 'arrow_downward'\r\n : 'arrow_upward'\r\n \"\r\n ></mat-icon>\r\n </button>\r\n\r\n <button\r\n mat-icon-button\r\n panelRightButton\r\n class=\"igo-icon-button\"\r\n (click)=\"zoomToFeatureExtent()\"\r\n *ngIf=\"feature.geometry\"\r\n >\r\n <mat-icon svgIcon=\"zoom-in\"></mat-icon>\r\n </button>\r\n\r\n <igo-feature-details\r\n [feature]=\"feature\"\r\n *ngIf=\"['collapsed', 'initial'].indexOf(topPanel.state) >= 0\"\r\n >\r\n </igo-feature-details>\r\n </igo-panel>\r\n </div>\r\n </igo-flexible>\r\n </div>\r\n</mat-sidenav>\r\n", styles: [":host ::ng-deep .igo-flexible-fill .igo-container,.igo-sidenav-content .igo-flexible-fill .igo-container{box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box}:host ::ng-deep .igo-flexible-fill .igo-container,.igo-sidenav-content .igo-flexible-fill .igo-container{border-top-width:1px;border-top-style:solid;border-top-color:#0003}mat-sidenav{-o-box-shadow:2px 0px 2px 0px #dddddd;box-shadow:2px 0 2px #ddd}:host{background-color:#fff}:host ::ng-deep mat-sidenav{z-index:3!important}mat-sidenav{width:400px}@media only screen and (orientation:portrait) and (max-width: 599px),only screen and (orientation:landscape) and (max-width: 959px){mat-sidenav{width:calc(100% - 45px)}}.igo-sidenav-content{margin-top:50px;height:calc(100% - 50px)}igo-feature-details ::ng-deep table{width:100%}\n"], dependencies: [{ kind: "directive", type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i6$2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i7.MatIconButton, selector: "button[mat-icon-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "component", type: i5$1.MatSidenav, selector: "mat-sidenav", inputs: ["fixedInViewport", "fixedTopGap", "fixedBottomGap"], exportAs: ["matSidenav"] }, { kind: "directive", type: i6$3.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }, { kind: "component", type: i13.PanelComponent, selector: "igo-panel", inputs: ["title", "withHeader", "cursorPointer"] }, { kind: "component", type: i13.FlexibleComponent, selector: "igo-flexible", inputs: ["initial", "collapsed", "expanded", "initialMobile", "collapsedMobile", "expandedMobile", "direction", "state"] }, { kind: "component", type: i1$1.FeatureDetailsComponent, selector: "igo-feature-details", inputs: ["source", "map", "toolbox", "feature"], outputs: ["routeEvent", "selectFeature", "htmlDisplayEvent"] }, { kind: "pipe", type: i9$1.TranslatePipe, name: "translate" }] });
4876
3513
  }
4877
- (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SidenavComponent, [{
4878
- type: Component,
4879
- args: [{ selector: 'igo-sidenav', template: "<mat-sidenav #sidenav igoSidenavShim mode=\"side\" [opened]=\"opened\">\r\n <div class=\"igo-sidenav-content\">\r\n <igo-flexible\r\n #topPanel\r\n initial=\"50%\"\r\n initialMobile=\"100%\"\r\n expanded=\"calc(100% - 58px)\"\r\n [state]=\"topPanelState\"\r\n >\r\n <div class=\"igo-content\">\r\n <igo-panel [title]=\"tool ? (tool.title | translate) : title\">\r\n <button\r\n mat-icon-button\r\n panelLeftButton\r\n tooltip-position=\"below\"\r\n matTooltipShowDelay=\"500\"\r\n [matTooltip]=\"'igo.context.sidenav.goBack' | translate\"\r\n *ngIf=\"tool\"\r\n >\r\n <mat-icon svgIcon=\"arrow-back\"></mat-icon>\r\n </button>\r\n\r\n <button\r\n mat-icon-button\r\n panelRightButton\r\n tooltip-position=\"below\"\r\n matTooltipShowDelay=\"500\"\r\n [matTooltip]=\"'igo.context.sidenav.mainMenu' | translate\"\r\n *ngIf=\"tool\"\r\n >\r\n <mat-icon svgIcon=\"menu\"></mat-icon>\r\n </button>\r\n </igo-panel>\r\n </div>\r\n\r\n <div igoFlexibleFill class=\"igo-content\">\r\n <igo-panel [title]=\"featureTitle\" *ngIf=\"feature && media !== 'mobile'\">\r\n <button\r\n mat-icon-button\r\n panelLeftButton\r\n class=\"igo-icon-button\"\r\n (click)=\"toggleTopPanel()\"\r\n >\r\n <mat-icon\r\n [svgIcon]=\"\r\n ['collapsed', 'initial'].indexOf(topPanel.state) >= 0\r\n ? 'arrow_downward'\r\n : 'arrow_upward'\r\n \"\r\n ></mat-icon>\r\n </button>\r\n\r\n <button\r\n mat-icon-button\r\n panelRightButton\r\n class=\"igo-icon-button\"\r\n (click)=\"zoomToFeatureExtent()\"\r\n *ngIf=\"feature.geometry\"\r\n >\r\n <mat-icon svgIcon=\"zoom-in\"></mat-icon>\r\n </button>\r\n\r\n <igo-feature-details\r\n [feature]=\"feature\"\r\n *ngIf=\"['collapsed', 'initial'].indexOf(topPanel.state) >= 0\"\r\n >\r\n </igo-feature-details>\r\n </igo-panel>\r\n </div>\r\n </igo-flexible>\r\n </div>\r\n</mat-sidenav>\r\n", styles: [":host ::ng-deep .igo-flexible-fill .igo-container,.igo-sidenav-content .igo-flexible-fill .igo-container{box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box}:host ::ng-deep .igo-flexible-fill .igo-container,.igo-sidenav-content .igo-flexible-fill .igo-container{border-top-width:1px;border-top-style:solid;border-top-color:#0003}mat-sidenav{-o-box-shadow:2px 0px 2px 0px #dddddd;box-shadow:2px 0 2px #ddd}:host{background-color:#fff}:host ::ng-deep mat-sidenav{z-index:3!important}mat-sidenav{width:400px}@media only screen and (orientation:portrait) and (max-width: 599px),only screen and (orientation:landscape) and (max-width: 959px){mat-sidenav{width:calc(100% - 45px)}}.igo-sidenav-content{margin-top:50px;height:calc(100% - 50px)}igo-feature-details ::ng-deep table{width:100%}\n"] }]
4880
- }], function () { return [{ type: i1$4.Title }]; }, { map: [{
4881
- type: Input
4882
- }], opened: [{
4883
- type: Input
4884
- }], feature: [{
4885
- type: Input
4886
- }], tool: [{
4887
- type: Input
4888
- }], media: [{
4889
- type: Input
4890
- }], title: [{
4891
- type: Input
4892
- }] }); })();
3514
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SidenavComponent, decorators: [{
3515
+ type: Component,
3516
+ args: [{ selector: 'igo-sidenav', template: "<mat-sidenav #sidenav igoSidenavShim mode=\"side\" [opened]=\"opened\">\r\n <div class=\"igo-sidenav-content\">\r\n <igo-flexible\r\n #topPanel\r\n initial=\"50%\"\r\n initialMobile=\"100%\"\r\n expanded=\"calc(100% - 58px)\"\r\n [state]=\"topPanelState\"\r\n >\r\n <div class=\"igo-content\">\r\n <igo-panel [title]=\"tool ? (tool.title | translate) : title\">\r\n <button\r\n mat-icon-button\r\n panelLeftButton\r\n tooltip-position=\"below\"\r\n matTooltipShowDelay=\"500\"\r\n [matTooltip]=\"'igo.context.sidenav.goBack' | translate\"\r\n *ngIf=\"tool\"\r\n >\r\n <mat-icon svgIcon=\"arrow-back\"></mat-icon>\r\n </button>\r\n\r\n <button\r\n mat-icon-button\r\n panelRightButton\r\n tooltip-position=\"below\"\r\n matTooltipShowDelay=\"500\"\r\n [matTooltip]=\"'igo.context.sidenav.mainMenu' | translate\"\r\n *ngIf=\"tool\"\r\n >\r\n <mat-icon svgIcon=\"menu\"></mat-icon>\r\n </button>\r\n </igo-panel>\r\n </div>\r\n\r\n <div igoFlexibleFill class=\"igo-content\">\r\n <igo-panel [title]=\"featureTitle\" *ngIf=\"feature && media !== 'mobile'\">\r\n <button\r\n mat-icon-button\r\n panelLeftButton\r\n class=\"igo-icon-button\"\r\n (click)=\"toggleTopPanel()\"\r\n >\r\n <mat-icon\r\n [svgIcon]=\"\r\n ['collapsed', 'initial'].indexOf(topPanel.state) >= 0\r\n ? 'arrow_downward'\r\n : 'arrow_upward'\r\n \"\r\n ></mat-icon>\r\n </button>\r\n\r\n <button\r\n mat-icon-button\r\n panelRightButton\r\n class=\"igo-icon-button\"\r\n (click)=\"zoomToFeatureExtent()\"\r\n *ngIf=\"feature.geometry\"\r\n >\r\n <mat-icon svgIcon=\"zoom-in\"></mat-icon>\r\n </button>\r\n\r\n <igo-feature-details\r\n [feature]=\"feature\"\r\n *ngIf=\"['collapsed', 'initial'].indexOf(topPanel.state) >= 0\"\r\n >\r\n </igo-feature-details>\r\n </igo-panel>\r\n </div>\r\n </igo-flexible>\r\n </div>\r\n</mat-sidenav>\r\n", styles: [":host ::ng-deep .igo-flexible-fill .igo-container,.igo-sidenav-content .igo-flexible-fill .igo-container{box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box}:host ::ng-deep .igo-flexible-fill .igo-container,.igo-sidenav-content .igo-flexible-fill .igo-container{border-top-width:1px;border-top-style:solid;border-top-color:#0003}mat-sidenav{-o-box-shadow:2px 0px 2px 0px #dddddd;box-shadow:2px 0 2px #ddd}:host{background-color:#fff}:host ::ng-deep mat-sidenav{z-index:3!important}mat-sidenav{width:400px}@media only screen and (orientation:portrait) and (max-width: 599px),only screen and (orientation:landscape) and (max-width: 959px){mat-sidenav{width:calc(100% - 45px)}}.igo-sidenav-content{margin-top:50px;height:calc(100% - 50px)}igo-feature-details ::ng-deep table{width:100%}\n"] }]
3517
+ }], ctorParameters: function () { return [{ type: i1$4.Title }]; }, propDecorators: { map: [{
3518
+ type: Input
3519
+ }], opened: [{
3520
+ type: Input
3521
+ }], feature: [{
3522
+ type: Input
3523
+ }], tool: [{
3524
+ type: Input
3525
+ }], media: [{
3526
+ type: Input
3527
+ }], title: [{
3528
+ type: Input
3529
+ }] } });
4893
3530
 
4894
3531
  class IgoSidenavModule {
4895
3532
  static forRoot() {
@@ -4897,9 +3534,18 @@ class IgoSidenavModule {
4897
3534
  ngModule: IgoSidenavModule
4898
3535
  };
4899
3536
  }
4900
- static ɵfac = function IgoSidenavModule_Factory(t) { return new (t || IgoSidenavModule)(); };
4901
- static ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: IgoSidenavModule });
4902
- static ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule,
3537
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IgoSidenavModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
3538
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: IgoSidenavModule, declarations: [SidenavComponent], imports: [CommonModule,
3539
+ MatIconModule,
3540
+ MatButtonModule,
3541
+ MatSidenavModule,
3542
+ MatTooltipModule,
3543
+ IgoLanguageModule,
3544
+ IgoPanelModule,
3545
+ IgoFlexibleModule,
3546
+ IgoFeatureModule,
3547
+ IgoContextManagerModule], exports: [SidenavComponent] });
3548
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IgoSidenavModule, imports: [CommonModule,
4903
3549
  MatIconModule,
4904
3550
  MatButtonModule,
4905
3551
  MatSidenavModule,
@@ -4910,35 +3556,25 @@ class IgoSidenavModule {
4910
3556
  IgoFeatureModule,
4911
3557
  IgoContextManagerModule] });
4912
3558
  }
4913
- (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IgoSidenavModule, [{
4914
- type: NgModule,
4915
- args: [{
4916
- imports: [
4917
- CommonModule,
4918
- MatIconModule,
4919
- MatButtonModule,
4920
- MatSidenavModule,
4921
- MatTooltipModule,
4922
- IgoLanguageModule,
4923
- IgoPanelModule,
4924
- IgoFlexibleModule,
4925
- IgoFeatureModule,
4926
- IgoContextManagerModule
4927
- ],
4928
- exports: [SidenavComponent],
4929
- declarations: [SidenavComponent]
4930
- }]
4931
- }], null, null); })();
4932
- (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(IgoSidenavModule, { declarations: [SidenavComponent], imports: [CommonModule,
4933
- MatIconModule,
4934
- MatButtonModule,
4935
- MatSidenavModule,
4936
- MatTooltipModule,
4937
- IgoLanguageModule,
4938
- IgoPanelModule,
4939
- IgoFlexibleModule,
4940
- IgoFeatureModule,
4941
- IgoContextManagerModule], exports: [SidenavComponent] }); })();
3559
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IgoSidenavModule, decorators: [{
3560
+ type: NgModule,
3561
+ args: [{
3562
+ imports: [
3563
+ CommonModule,
3564
+ MatIconModule,
3565
+ MatButtonModule,
3566
+ MatSidenavModule,
3567
+ MatTooltipModule,
3568
+ IgoLanguageModule,
3569
+ IgoPanelModule,
3570
+ IgoFlexibleModule,
3571
+ IgoFeatureModule,
3572
+ IgoContextManagerModule
3573
+ ],
3574
+ exports: [SidenavComponent],
3575
+ declarations: [SidenavComponent]
3576
+ }]
3577
+ }] });
4942
3578
 
4943
3579
  class IgoContextModule {
4944
3580
  static forRoot() {
@@ -4947,33 +3583,32 @@ class IgoContextModule {
4947
3583
  providers: []
4948
3584
  };
4949
3585
  }
4950
- static ɵfac = function IgoContextModule_Factory(t) { return new (t || IgoContextModule)(); };
4951
- static ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: IgoContextModule });
4952
- static ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [MatInputModule, MatFormFieldModule, MatMenuModule, IgoContextImportExportModule,
3586
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IgoContextModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
3587
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: IgoContextModule, imports: [MatInputModule, MatFormFieldModule, MatMenuModule], exports: [IgoContextImportExportModule,
3588
+ IgoContextManagerModule,
3589
+ IgoContextMapButtonModule,
3590
+ IgoShareMapModule,
3591
+ IgoSidenavModule] });
3592
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IgoContextModule, imports: [MatInputModule, MatFormFieldModule, MatMenuModule, IgoContextImportExportModule,
4953
3593
  IgoContextManagerModule,
4954
3594
  IgoContextMapButtonModule,
4955
3595
  IgoShareMapModule,
4956
3596
  IgoSidenavModule] });
4957
3597
  }
4958
- (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IgoContextModule, [{
4959
- type: NgModule,
4960
- args: [{
4961
- imports: [MatInputModule, MatFormFieldModule, MatMenuModule],
4962
- declarations: [],
4963
- exports: [
4964
- IgoContextImportExportModule,
4965
- IgoContextManagerModule,
4966
- IgoContextMapButtonModule,
4967
- IgoShareMapModule,
4968
- IgoSidenavModule
4969
- ]
4970
- }]
4971
- }], null, null); })();
4972
- (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(IgoContextModule, { imports: [MatInputModule, MatFormFieldModule, MatMenuModule], exports: [IgoContextImportExportModule,
4973
- IgoContextManagerModule,
4974
- IgoContextMapButtonModule,
4975
- IgoShareMapModule,
4976
- IgoSidenavModule] }); })();
3598
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IgoContextModule, decorators: [{
3599
+ type: NgModule,
3600
+ args: [{
3601
+ imports: [MatInputModule, MatFormFieldModule, MatMenuModule],
3602
+ declarations: [],
3603
+ exports: [
3604
+ IgoContextImportExportModule,
3605
+ IgoContextManagerModule,
3606
+ IgoContextMapButtonModule,
3607
+ IgoShareMapModule,
3608
+ IgoSidenavModule
3609
+ ]
3610
+ }]
3611
+ }] });
4977
3612
 
4978
3613
  /*
4979
3614
  * Public API Surface of context