@igo2/integration 1.11.1 → 1.12.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 (118) hide show
  1. package/bundles/igo2-integration.umd.js +670 -166
  2. package/bundles/igo2-integration.umd.js.map +1 -1
  3. package/esm2015/lib/about/about-tool/about-tool.component.js +1 -1
  4. package/esm2015/lib/about/about-tool/index.js +1 -1
  5. package/esm2015/lib/about/about.module.js +1 -1
  6. package/esm2015/lib/about/index.js +1 -1
  7. package/esm2015/lib/analytics/analytics-listener.service.js +1 -1
  8. package/esm2015/lib/analytics/analytics.module.js +1 -1
  9. package/esm2015/lib/analytics/index.js +1 -1
  10. package/esm2015/lib/catalog/catalog-browser-tool/catalog-browser-tool.component.js +1 -1
  11. package/esm2015/lib/catalog/catalog-browser-tool/catalog-browser-tool.module.js +1 -1
  12. package/esm2015/lib/catalog/catalog-library-tool/catalog-library-tool.component.js +1 -1
  13. package/esm2015/lib/catalog/catalog-library-tool/catalog-library-tool.module.js +1 -1
  14. package/esm2015/lib/catalog/catalog.module.js +1 -1
  15. package/esm2015/lib/catalog/catalog.state.js +1 -1
  16. package/esm2015/lib/catalog/index.js +1 -1
  17. package/esm2015/lib/context/context-editor-tool/context-editor-tool.component.js +1 -1
  18. package/esm2015/lib/context/context-manager-tool/context-manager-tool.component.js +1 -1
  19. package/esm2015/lib/context/context-permission-manager-tool/context-permission-manager-tool.component.js +1 -1
  20. package/esm2015/lib/context/context-share-tool/context-share-tool.component.js +1 -1
  21. package/esm2015/lib/context/context.module.js +1 -1
  22. package/esm2015/lib/context/context.state.js +1 -1
  23. package/esm2015/lib/context/index.js +1 -1
  24. package/esm2015/lib/directions/directions-tool/directions-tool.component.js +1 -1
  25. package/esm2015/lib/directions/directions-tool/index.js +1 -1
  26. package/esm2015/lib/directions/directions.module.js +1 -1
  27. package/esm2015/lib/directions/directions.state.js +1 -1
  28. package/esm2015/lib/directions/index.js +1 -1
  29. package/esm2015/lib/draw/draw.module.js +1 -1
  30. package/esm2015/lib/draw/draw.state.js +1 -1
  31. package/esm2015/lib/draw/drawing-tool/drawing-tool.component.js +1 -1
  32. package/esm2015/lib/draw/index.js +1 -1
  33. package/esm2015/lib/filter/active-ogc-filter-tool/active-ogc-filter-tool.animation.js +1 -1
  34. package/esm2015/lib/filter/active-ogc-filter-tool/active-ogc-filter-tool.component.js +1 -1
  35. package/esm2015/lib/filter/active-ogc-filter-tool/index.js +1 -1
  36. package/esm2015/lib/filter/active-time-filter-tool/active-time-filter-tool.animation.js +1 -1
  37. package/esm2015/lib/filter/active-time-filter-tool/active-time-filter-tool.component.js +1 -1
  38. package/esm2015/lib/filter/active-time-filter-tool/index.js +1 -1
  39. package/esm2015/lib/filter/filter.module.js +1 -1
  40. package/esm2015/lib/filter/index.js +1 -1
  41. package/esm2015/lib/filter/ogc-filter-tool/index.js +1 -1
  42. package/esm2015/lib/filter/ogc-filter-tool/ogc-filter-tool.component.js +1 -1
  43. package/esm2015/lib/filter/spatial-filter-tool/index.js +1 -1
  44. package/esm2015/lib/filter/spatial-filter-tool/spatial-filter-tool.component.js +1 -1
  45. package/esm2015/lib/filter/time-filter-tool/index.js +1 -1
  46. package/esm2015/lib/filter/time-filter-tool/time-filter-tool.component.js +1 -1
  47. package/esm2015/lib/import-export/import-export-tool/import-export-tool.component.js +1 -1
  48. package/esm2015/lib/import-export/import-export-tool/index.js +1 -1
  49. package/esm2015/lib/import-export/import-export.module.js +1 -1
  50. package/esm2015/lib/import-export/import-export.state.js +1 -1
  51. package/esm2015/lib/import-export/index.js +1 -1
  52. package/esm2015/lib/integration.module.js +1 -1
  53. package/esm2015/lib/map/advanced-map-tool/advanced-coordinates/advanced-coordinates.component.js +1 -1
  54. package/esm2015/lib/map/advanced-map-tool/advanced-map-tool.component.js +60 -11
  55. package/esm2015/lib/map/advanced-map-tool/advanced-swipe/advanced-swipe.component.js +1 -1
  56. package/esm2015/lib/map/advanced-map-tool/index.js +1 -1
  57. package/esm2015/lib/map/index.js +3 -1
  58. package/esm2015/lib/map/layer-list-tool.state.js +1 -1
  59. package/esm2015/lib/map/map-details-tool/index.js +1 -1
  60. package/esm2015/lib/map/map-details-tool/map-details-tool.component.js +1 -1
  61. package/esm2015/lib/map/map-legend/index.js +1 -1
  62. package/esm2015/lib/map/map-legend/map-legend-tool.component.js +1 -1
  63. package/esm2015/lib/map/map-proximity-tool/index.js +2 -0
  64. package/esm2015/lib/map/map-proximity-tool/map-proximity-tool.component.js +221 -0
  65. package/esm2015/lib/map/map-proximity.state.js +164 -0
  66. package/esm2015/lib/map/map-tool/index.js +1 -1
  67. package/esm2015/lib/map/map-tool/map-tool.component.js +1 -1
  68. package/esm2015/lib/map/map-tools/index.js +1 -1
  69. package/esm2015/lib/map/map-tools/map-tools.component.js +2 -2
  70. package/esm2015/lib/map/map.module.js +18 -8
  71. package/esm2015/lib/map/map.state.js +8 -6
  72. package/esm2015/lib/measure/index.js +1 -1
  73. package/esm2015/lib/measure/measure.module.js +1 -1
  74. package/esm2015/lib/measure/measure.state.js +1 -1
  75. package/esm2015/lib/measure/measurer-tool/measurer-tool.component.js +1 -1
  76. package/esm2015/lib/measure/measurer-tool/measurer-tool.module.js +1 -1
  77. package/esm2015/lib/print/index.js +1 -1
  78. package/esm2015/lib/print/print-tool/index.js +1 -1
  79. package/esm2015/lib/print/print-tool/print-tool.component.js +1 -1
  80. package/esm2015/lib/print/print.module.js +1 -1
  81. package/esm2015/lib/search/index.js +1 -1
  82. package/esm2015/lib/search/query.state.js +1 -1
  83. package/esm2015/lib/search/search-bar/search-bar-binding.directive.js +1 -1
  84. package/esm2015/lib/search/search-bar/search-bar.module.js +1 -1
  85. package/esm2015/lib/search/search-results-tool/search-results-tool.component.js +52 -28
  86. package/esm2015/lib/search/search-results-tool/search-results-tool.module.js +1 -1
  87. package/esm2015/lib/search/search.module.js +1 -1
  88. package/esm2015/lib/search/search.state.js +1 -1
  89. package/esm2015/lib/storage/index.js +1 -1
  90. package/esm2015/lib/storage/storage.module.js +1 -1
  91. package/esm2015/lib/storage/storage.state.js +1 -1
  92. package/esm2015/lib/tool/index.js +1 -1
  93. package/esm2015/lib/tool/tool.module.js +1 -1
  94. package/esm2015/lib/tool/tool.state.js +1 -1
  95. package/esm2015/lib/workspace/index.js +1 -1
  96. package/esm2015/lib/workspace/shared/edition-actions.service.js +1 -1
  97. package/esm2015/lib/workspace/shared/feature-actions.service.js +1 -1
  98. package/esm2015/lib/workspace/shared/index.js +1 -1
  99. package/esm2015/lib/workspace/shared/wfs-actions.service.js +1 -1
  100. package/esm2015/lib/workspace/shared/workspace.utils.js +1 -1
  101. package/esm2015/lib/workspace/workspace-button/index.js +1 -1
  102. package/esm2015/lib/workspace/workspace-button/workspace-button.component.js +1 -1
  103. package/esm2015/lib/workspace/workspace.module.js +1 -1
  104. package/esm2015/lib/workspace/workspace.state.js +20 -2
  105. package/esm2015/public_api.js +1 -1
  106. package/fesm2015/igo2-integration.js +562 -106
  107. package/fesm2015/igo2-integration.js.map +1 -1
  108. package/lib/map/advanced-map-tool/advanced-map-tool.component.d.ts +7 -0
  109. package/lib/map/index.d.ts +2 -0
  110. package/lib/map/map-proximity-tool/index.d.ts +1 -0
  111. package/lib/map/map-proximity-tool/map-proximity-tool.component.d.ts +36 -0
  112. package/lib/map/map-proximity.state.d.ts +28 -0
  113. package/lib/map/map.module.d.ts +30 -28
  114. package/lib/map/map.state.d.ts +4 -1
  115. package/lib/search/search-results-tool/search-results-tool.component.d.ts +7 -1
  116. package/lib/workspace/workspace.state.d.ts +4 -2
  117. package/ngcc.config.js +3 -3
  118. package/package.json +3 -3
@@ -1,8 +1,8 @@
1
1
  (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@igo2/context'), require('@igo2/common'), require('rxjs'), require('@igo2/geo'), require('@angular/common'), require('rxjs/operators'), require('@igo2/auth'), require('@igo2/core'), require('@angular/material/button'), require('@angular/material/tooltip'), require('@angular/material/icon'), require('@ngx-translate/core'), require('@angular/material/tabs'), require('@angular/material/button-toggle'), require('@angular/material/list'), require('@angular/material/slide-toggle'), require('@angular/material/menu'), require('@angular/material/core'), require('@angular/forms'), require('@angular/material/form-field'), require('@angular/material/select'), require('@angular/material/divider'), require('@igo2/utils'), require('ol/proj'), require('@angular/material/input'), require('@angular/material/checkbox'), require('@angular/material/badge'), require('ol/format/GeoJSON'), require('ol/Feature'), require('ol/geom/Point'), require('@turf/point-on-feature'), require('ol/style'), require('@angular/animations'), require('@angular/common/http')) :
3
- typeof define === 'function' && define.amd ? define('@igo2/integration', ['exports', '@angular/core', '@igo2/context', '@igo2/common', 'rxjs', '@igo2/geo', '@angular/common', 'rxjs/operators', '@igo2/auth', '@igo2/core', '@angular/material/button', '@angular/material/tooltip', '@angular/material/icon', '@ngx-translate/core', '@angular/material/tabs', '@angular/material/button-toggle', '@angular/material/list', '@angular/material/slide-toggle', '@angular/material/menu', '@angular/material/core', '@angular/forms', '@angular/material/form-field', '@angular/material/select', '@angular/material/divider', '@igo2/utils', 'ol/proj', '@angular/material/input', '@angular/material/checkbox', '@angular/material/badge', 'ol/format/GeoJSON', 'ol/Feature', 'ol/geom/Point', '@turf/point-on-feature', 'ol/style', '@angular/animations', '@angular/common/http'], factory) :
4
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.igo2 = global.igo2 || {}, global.igo2.integration = {}), global.ng.core, global.igoContext, global.igoCommon, global.rxjs, global.igoGeo, global.ng.common, global.rxjs.operators, global.igoAuth, global.igoCore, global.ng.material.button, global.ng.material.tooltip, global.ng.material.icon, global["ngxt-core"], global.ng.material.tabs, global.ng.material.buttonToggle, global.ng.material.list, global.ng.material.slideToggle, global.ng.material.menu, global.ng.material.core, global.ng.forms, global.ng.material.formField, global.ng.material.select, global.ng.material.divider, global.igoUtils, global.olProj, global.ng.material.input, global.ng.material.checkbox, global.ng.material.badge, global.olFormatGeoJSON, global.olFeature, global.olPoint, global.pointOnFeature, global.olstyle, global.ng.animations, global.ng.common.http));
5
- })(this, (function (exports, i0, i1, i4, rxjs, i1$1, i4$1, operators, i2, i2$1, i3, i4$2, i6, i8, i5, buttonToggle, i7, i10, i6$2, i8$1, i3$1, i6$1, i7$1, i9, utils, olproj, i10$1, checkbox, i12, olFormatGeoJSON, olFeature, olPoint, pointOnFeature, olstyle, animations, i3$2) { 'use strict';
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@igo2/context'), require('@igo2/common'), require('rxjs'), require('@igo2/geo'), require('@igo2/core'), require('@angular/common'), require('rxjs/operators'), require('@igo2/auth'), require('@angular/material/button'), require('@angular/material/tooltip'), require('@angular/material/icon'), require('@ngx-translate/core'), require('@angular/material/tabs'), require('@angular/material/button-toggle'), require('@angular/material/list'), require('@angular/material/slide-toggle'), require('@angular/material/menu'), require('@angular/material/core'), require('@angular/forms'), require('@angular/material/form-field'), require('@angular/material/select'), require('@angular/material/divider'), require('@igo2/utils'), require('ol/proj'), require('@angular/material/input'), require('@angular/material/checkbox'), require('@angular/material/radio'), require('ol/format/GeoJSON'), require('ol/layer/Vector'), require('ol/geom/LineString'), require('@angular/material/badge'), require('ol/Feature'), require('ol/geom/Point'), require('@turf/point-on-feature'), require('ol/style'), require('@angular/animations'), require('@angular/common/http')) :
3
+ typeof define === 'function' && define.amd ? define('@igo2/integration', ['exports', '@angular/core', '@igo2/context', '@igo2/common', 'rxjs', '@igo2/geo', '@igo2/core', '@angular/common', 'rxjs/operators', '@igo2/auth', '@angular/material/button', '@angular/material/tooltip', '@angular/material/icon', '@ngx-translate/core', '@angular/material/tabs', '@angular/material/button-toggle', '@angular/material/list', '@angular/material/slide-toggle', '@angular/material/menu', '@angular/material/core', '@angular/forms', '@angular/material/form-field', '@angular/material/select', '@angular/material/divider', '@igo2/utils', 'ol/proj', '@angular/material/input', '@angular/material/checkbox', '@angular/material/radio', 'ol/format/GeoJSON', 'ol/layer/Vector', 'ol/geom/LineString', '@angular/material/badge', 'ol/Feature', 'ol/geom/Point', '@turf/point-on-feature', 'ol/style', '@angular/animations', '@angular/common/http'], factory) :
4
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.igo2 = global.igo2 || {}, global.igo2.integration = {}), global.ng.core, global.igoContext, global.igoCommon, global.rxjs, global.igoGeo, global.igoCore, global.ng.common, global.rxjs.operators, global.igoAuth, global.ng.material.button, global.ng.material.tooltip, global.ng.material.icon, global["ngxt-core"], global.ng.material.tabs, global.ng.material.buttonToggle, global.ng.material.list, global.ng.material.slideToggle, global.ng.material.menu, global.ng.material.core, global.ng.forms, global.ng.material.formField, global.ng.material.select, global.ng.material.divider, global.igoUtils, global.olProj, global.ng.material.input, global.ng.material.checkbox, global.ng.material.radio, global.olFormatGeoJSON, global.olLayerVector, global.olGeomLineString, global.ng.material.badge, global.olFeature, global.olPoint, global.pointOnFeature, global.olstyle, global.ng.animations, global.ng.common.http));
5
+ })(this, (function (exports, i0, i1, i4, rxjs, i1$1, i2, i5, operators, i2$1, i3, i4$1, i6, i8, i5$1, buttonToggle, i7, i10, i6$2, i8$1, i3$1, i6$1, i7$1, i9, utils, olProj, i10$1, checkbox, i7$2, olFormatGeoJSON, olLayerVector, olLineString, i12, olFeature, olPoint, pointOnFeature, olstyle, animations, i3$2) { 'use strict';
6
6
 
7
7
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
8
8
 
@@ -28,14 +28,14 @@
28
28
  var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
29
29
  var i4__namespace = /*#__PURE__*/_interopNamespace(i4);
30
30
  var i1__namespace$1 = /*#__PURE__*/_interopNamespace(i1$1);
31
- var i4__namespace$1 = /*#__PURE__*/_interopNamespace(i4$1);
32
31
  var i2__namespace = /*#__PURE__*/_interopNamespace(i2);
32
+ var i5__namespace = /*#__PURE__*/_interopNamespace(i5);
33
33
  var i2__namespace$1 = /*#__PURE__*/_interopNamespace(i2$1);
34
34
  var i3__namespace = /*#__PURE__*/_interopNamespace(i3);
35
- var i4__namespace$2 = /*#__PURE__*/_interopNamespace(i4$2);
35
+ var i4__namespace$1 = /*#__PURE__*/_interopNamespace(i4$1);
36
36
  var i6__namespace = /*#__PURE__*/_interopNamespace(i6);
37
37
  var i8__namespace = /*#__PURE__*/_interopNamespace(i8);
38
- var i5__namespace = /*#__PURE__*/_interopNamespace(i5);
38
+ var i5__namespace$1 = /*#__PURE__*/_interopNamespace(i5$1);
39
39
  var i7__namespace = /*#__PURE__*/_interopNamespace(i7);
40
40
  var i10__namespace = /*#__PURE__*/_interopNamespace(i10);
41
41
  var i6__namespace$2 = /*#__PURE__*/_interopNamespace(i6$2);
@@ -44,10 +44,13 @@
44
44
  var i6__namespace$1 = /*#__PURE__*/_interopNamespace(i6$1);
45
45
  var i7__namespace$1 = /*#__PURE__*/_interopNamespace(i7$1);
46
46
  var i9__namespace = /*#__PURE__*/_interopNamespace(i9);
47
- var olproj__namespace = /*#__PURE__*/_interopNamespace(olproj);
47
+ var olProj__namespace = /*#__PURE__*/_interopNamespace(olProj);
48
48
  var i10__namespace$1 = /*#__PURE__*/_interopNamespace(i10$1);
49
- var i12__namespace = /*#__PURE__*/_interopNamespace(i12);
49
+ var i7__namespace$2 = /*#__PURE__*/_interopNamespace(i7$2);
50
50
  var olFormatGeoJSON__default = /*#__PURE__*/_interopDefaultLegacy(olFormatGeoJSON);
51
+ var olLayerVector__default = /*#__PURE__*/_interopDefaultLegacy(olLayerVector);
52
+ var olLineString__default = /*#__PURE__*/_interopDefaultLegacy(olLineString);
53
+ var i12__namespace = /*#__PURE__*/_interopNamespace(i12);
51
54
  var olFeature__default = /*#__PURE__*/_interopDefaultLegacy(olFeature);
52
55
  var olPoint__default = /*#__PURE__*/_interopDefaultLegacy(olPoint);
53
56
  var pointOnFeature__default = /*#__PURE__*/_interopDefaultLegacy(pointOnFeature);
@@ -525,10 +528,11 @@
525
528
  * Service that holds the state of the map module
526
529
  */
527
530
  var MapState = /** @class */ (function () {
528
- function MapState(mapService, projectionService // Don't remove this or it'll never be injected
529
- ) {
531
+ function MapState(mapService, projectionService, // Don't remove this or it'll never be injected,
532
+ storageService) {
530
533
  this.mapService = mapService;
531
534
  this.projectionService = projectionService;
535
+ this.storageService = storageService;
532
536
  this._map = new i1$1.IgoMap({
533
537
  controls: {
534
538
  scaleLine: true,
@@ -536,7 +540,7 @@
536
540
  collapsed: true
537
541
  }
538
542
  }
539
- });
543
+ }, this.storageService);
540
544
  this.mapService.setMap(this.map);
541
545
  }
542
546
  Object.defineProperty(MapState.prototype, "showAllLegendsValue", {
@@ -560,7 +564,7 @@
560
564
  });
561
565
  return MapState;
562
566
  }());
563
- MapState.ɵfac = function MapState_Factory(t) { return new (t || MapState)(i0__namespace.ɵɵinject(i1__namespace$1.MapService), i0__namespace.ɵɵinject(i1__namespace$1.ProjectionService)); };
567
+ MapState.ɵfac = function MapState_Factory(t) { return new (t || MapState)(i0__namespace.ɵɵinject(i1__namespace$1.MapService), i0__namespace.ɵɵinject(i1__namespace$1.ProjectionService), i0__namespace.ɵɵinject(i2__namespace.StorageService)); };
564
568
  MapState.ɵprov = /*@__PURE__*/ i0__namespace.ɵɵdefineInjectable({ token: MapState, factory: MapState.ɵfac, providedIn: 'root' });
565
569
  (function () {
566
570
  (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(MapState, [{
@@ -568,7 +572,7 @@
568
572
  args: [{
569
573
  providedIn: 'root'
570
574
  }]
571
- }], function () { return [{ type: i1__namespace$1.MapService }, { type: i1__namespace$1.ProjectionService }]; }, null);
575
+ }], function () { return [{ type: i1__namespace$1.MapService }, { type: i1__namespace$1.ProjectionService }, { type: i2__namespace.StorageService }]; }, null);
572
576
  })();
573
577
 
574
578
  exports.ContextManagerToolComponent = /** @class */ (function () {
@@ -820,7 +824,7 @@
820
824
  };
821
825
  return CatalogState;
822
826
  }());
823
- CatalogState.ɵfac = function CatalogState_Factory(t) { return new (t || CatalogState)(i0__namespace.ɵɵinject(i2__namespace.AuthService)); };
827
+ CatalogState.ɵfac = function CatalogState_Factory(t) { return new (t || CatalogState)(i0__namespace.ɵɵinject(i2__namespace$1.AuthService)); };
824
828
  CatalogState.ɵprov = /*@__PURE__*/ i0__namespace.ɵɵdefineInjectable({ token: CatalogState, factory: CatalogState.ɵfac, providedIn: 'root' });
825
829
  (function () {
826
830
  (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(CatalogState, [{
@@ -828,7 +832,7 @@
828
832
  args: [{
829
833
  providedIn: 'root'
830
834
  }]
831
- }], function () { return [{ type: i2__namespace.AuthService }]; }, null);
835
+ }], function () { return [{ type: i2__namespace$1.AuthService }]; }, null);
832
836
  })();
833
837
 
834
838
  /**
@@ -892,7 +896,7 @@
892
896
  };
893
897
  return CatalogLibraryToolComponent;
894
898
  }());
895
- exports.CatalogLibraryToolComponent.ɵfac = function CatalogLibraryToolComponent_Factory(t) { return new (t || exports.CatalogLibraryToolComponent)(i0__namespace.ɵɵdirectiveInject(i1__namespace$1.CatalogService), i0__namespace.ɵɵdirectiveInject(CatalogState), i0__namespace.ɵɵdirectiveInject(ToolState), i0__namespace.ɵɵdirectiveInject(i2__namespace$1.StorageService)); };
899
+ exports.CatalogLibraryToolComponent.ɵfac = function CatalogLibraryToolComponent_Factory(t) { return new (t || exports.CatalogLibraryToolComponent)(i0__namespace.ɵɵdirectiveInject(i1__namespace$1.CatalogService), i0__namespace.ɵɵdirectiveInject(CatalogState), i0__namespace.ɵɵdirectiveInject(ToolState), i0__namespace.ɵɵdirectiveInject(i2__namespace.StorageService)); };
896
900
  exports.CatalogLibraryToolComponent.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: exports.CatalogLibraryToolComponent, selectors: [["igo-catalog-library-tool"]], inputs: { addCatalogAllowed: "addCatalogAllowed", predefinedCatalogs: "predefinedCatalogs" }, decls: 1, vars: 3, consts: [[3, "predefinedCatalogs", "addCatalogAllowed", "store", "catalogSelectChange"]], template: function CatalogLibraryToolComponent_Template(rf, ctx) {
897
901
  if (rf & 1) {
898
902
  i0__namespace.ɵɵelementStart(0, "igo-catalog-library", 0);
@@ -918,7 +922,7 @@
918
922
  templateUrl: './catalog-library-tool.component.html',
919
923
  changeDetection: i0.ChangeDetectionStrategy.OnPush
920
924
  }]
921
- }], function () { return [{ type: i1__namespace$1.CatalogService }, { type: CatalogState }, { type: ToolState }, { type: i2__namespace$1.StorageService }]; }, { addCatalogAllowed: [{
925
+ }], function () { return [{ type: i1__namespace$1.CatalogService }, { type: CatalogState }, { type: ToolState }, { type: i2__namespace.StorageService }]; }, { addCatalogAllowed: [{
922
926
  type: i0.Input
923
927
  }], predefinedCatalogs: [{
924
928
  type: i0.Input
@@ -936,7 +940,7 @@
936
940
  IgoAppCatalogLibraryToolModule.ɵfac = function IgoAppCatalogLibraryToolModule_Factory(t) { return new (t || IgoAppCatalogLibraryToolModule)(); };
937
941
  IgoAppCatalogLibraryToolModule.ɵmod = /*@__PURE__*/ i0__namespace.ɵɵdefineNgModule({ type: IgoAppCatalogLibraryToolModule });
938
942
  IgoAppCatalogLibraryToolModule.ɵinj = /*@__PURE__*/ i0__namespace.ɵɵdefineInjector({ imports: [[
939
- i4$1.CommonModule,
943
+ i5.CommonModule,
940
944
  i1$1.IgoCatalogLibraryModule
941
945
  ]] });
942
946
  (function () {
@@ -944,7 +948,7 @@
944
948
  type: i0.NgModule,
945
949
  args: [{
946
950
  imports: [
947
- i4$1.CommonModule,
951
+ i5.CommonModule,
948
952
  i1$1.IgoCatalogLibraryModule
949
953
  ],
950
954
  declarations: [exports.CatalogLibraryToolComponent],
@@ -954,7 +958,7 @@
954
958
  }], null, null);
955
959
  })();
956
960
  (function () {
957
- (typeof ngJitMode === "undefined" || ngJitMode) && i0__namespace.ɵɵsetNgModuleScope(IgoAppCatalogLibraryToolModule, { declarations: [exports.CatalogLibraryToolComponent], imports: [i4$1.CommonModule,
961
+ (typeof ngJitMode === "undefined" || ngJitMode) && i0__namespace.ɵɵsetNgModuleScope(IgoAppCatalogLibraryToolModule, { declarations: [exports.CatalogLibraryToolComponent], imports: [i5.CommonModule,
958
962
  i1$1.IgoCatalogLibraryModule], exports: [exports.CatalogLibraryToolComponent] });
959
963
  })();
960
964
 
@@ -1047,7 +1051,7 @@
1047
1051
  };
1048
1052
  return CatalogBrowserToolComponent;
1049
1053
  }());
1050
- exports.CatalogBrowserToolComponent.ɵfac = function CatalogBrowserToolComponent_Factory(t) { return new (t || exports.CatalogBrowserToolComponent)(i0__namespace.ɵɵdirectiveInject(i1__namespace$1.CatalogService), i0__namespace.ɵɵdirectiveInject(CatalogState), i0__namespace.ɵɵdirectiveInject(MapState), i0__namespace.ɵɵdirectiveInject(i2__namespace.AuthService)); };
1054
+ exports.CatalogBrowserToolComponent.ɵfac = function CatalogBrowserToolComponent_Factory(t) { return new (t || exports.CatalogBrowserToolComponent)(i0__namespace.ɵɵdirectiveInject(i1__namespace$1.CatalogService), i0__namespace.ɵɵdirectiveInject(CatalogState), i0__namespace.ɵɵdirectiveInject(MapState), i0__namespace.ɵɵdirectiveInject(i2__namespace$1.AuthService)); };
1051
1055
  exports.CatalogBrowserToolComponent.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: exports.CatalogBrowserToolComponent, selectors: [["igo-catalog-browser-tool"]], inputs: { toggleCollapsedGroup: "toggleCollapsedGroup" }, decls: 2, vars: 3, consts: [[3, "catalog", "store", "map", "toggleCollapsedGroup", 4, "ngIf"], [3, "catalog", "store", "map", "toggleCollapsedGroup"]], template: function CatalogBrowserToolComponent_Template(rf, ctx) {
1052
1056
  if (rf & 1) {
1053
1057
  i0__namespace.ɵɵtemplate(0, CatalogBrowserToolComponent_igo_catalog_browser_0_Template, 1, 4, "igo-catalog-browser", 0);
@@ -1056,7 +1060,7 @@
1056
1060
  if (rf & 2) {
1057
1061
  i0__namespace.ɵɵproperty("ngIf", i0__namespace.ɵɵpipeBind1(1, 1, ctx.store$));
1058
1062
  }
1059
- }, directives: [i4__namespace$1.NgIf, i1__namespace$1.CatalogBrowserComponent], pipes: [i4__namespace$1.AsyncPipe], encapsulation: 2, changeDetection: 0 });
1063
+ }, directives: [i5__namespace.NgIf, i1__namespace$1.CatalogBrowserComponent], pipes: [i5__namespace.AsyncPipe], encapsulation: 2, changeDetection: 0 });
1060
1064
  exports.CatalogBrowserToolComponent = __decorate([
1061
1065
  i4.ToolComponent({
1062
1066
  name: 'catalogBrowser',
@@ -1073,7 +1077,7 @@
1073
1077
  templateUrl: './catalog-browser-tool.component.html',
1074
1078
  changeDetection: i0.ChangeDetectionStrategy.OnPush
1075
1079
  }]
1076
- }], function () { return [{ type: i1__namespace$1.CatalogService }, { type: CatalogState }, { type: MapState }, { type: i2__namespace.AuthService }]; }, { toggleCollapsedGroup: [{
1080
+ }], function () { return [{ type: i1__namespace$1.CatalogService }, { type: CatalogState }, { type: MapState }, { type: i2__namespace$1.AuthService }]; }, { toggleCollapsedGroup: [{
1077
1081
  type: i0.Input
1078
1082
  }] });
1079
1083
  })();
@@ -1089,7 +1093,7 @@
1089
1093
  IgoAppCatalogBrowserToolModule.ɵfac = function IgoAppCatalogBrowserToolModule_Factory(t) { return new (t || IgoAppCatalogBrowserToolModule)(); };
1090
1094
  IgoAppCatalogBrowserToolModule.ɵmod = /*@__PURE__*/ i0__namespace.ɵɵdefineNgModule({ type: IgoAppCatalogBrowserToolModule });
1091
1095
  IgoAppCatalogBrowserToolModule.ɵinj = /*@__PURE__*/ i0__namespace.ɵɵdefineInjector({ imports: [[
1092
- i4$1.CommonModule,
1096
+ i5.CommonModule,
1093
1097
  i1$1.IgoCatalogBrowserModule
1094
1098
  ]] });
1095
1099
  (function () {
@@ -1097,7 +1101,7 @@
1097
1101
  type: i0.NgModule,
1098
1102
  args: [{
1099
1103
  imports: [
1100
- i4$1.CommonModule,
1104
+ i5.CommonModule,
1101
1105
  i1$1.IgoCatalogBrowserModule
1102
1106
  ],
1103
1107
  declarations: [exports.CatalogBrowserToolComponent],
@@ -1107,7 +1111,7 @@
1107
1111
  }], null, null);
1108
1112
  })();
1109
1113
  (function () {
1110
- (typeof ngJitMode === "undefined" || ngJitMode) && i0__namespace.ɵɵsetNgModuleScope(IgoAppCatalogBrowserToolModule, { declarations: [exports.CatalogBrowserToolComponent], imports: [i4$1.CommonModule,
1114
+ (typeof ngJitMode === "undefined" || ngJitMode) && i0__namespace.ɵɵsetNgModuleScope(IgoAppCatalogBrowserToolModule, { declarations: [exports.CatalogBrowserToolComponent], imports: [i5.CommonModule,
1111
1115
  i1$1.IgoCatalogBrowserModule], exports: [exports.CatalogBrowserToolComponent] });
1112
1116
  })();
1113
1117
 
@@ -1278,7 +1282,7 @@
1278
1282
  };
1279
1283
  return ContextState;
1280
1284
  }());
1281
- ContextState.ɵfac = function ContextState_Factory(t) { return new (t || ContextState)(i0__namespace.ɵɵinject(i1__namespace.ContextService), i0__namespace.ɵɵinject(i4__namespace.ToolService), i0__namespace.ɵɵinject(ToolState), i0__namespace.ɵɵinject(i2__namespace$1.LanguageService)); };
1285
+ ContextState.ɵfac = function ContextState_Factory(t) { return new (t || ContextState)(i0__namespace.ɵɵinject(i1__namespace.ContextService), i0__namespace.ɵɵinject(i4__namespace.ToolService), i0__namespace.ɵɵinject(ToolState), i0__namespace.ɵɵinject(i2__namespace.LanguageService)); };
1282
1286
  ContextState.ɵprov = /*@__PURE__*/ i0__namespace.ɵɵdefineInjectable({ token: ContextState, factory: ContextState.ɵfac, providedIn: 'root' });
1283
1287
  (function () {
1284
1288
  (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(ContextState, [{
@@ -1286,7 +1290,7 @@
1286
1290
  args: [{
1287
1291
  providedIn: 'root'
1288
1292
  }]
1289
- }], function () { return [{ type: i1__namespace.ContextService }, { type: i4__namespace.ToolService }, { type: ToolState }, { type: i2__namespace$1.LanguageService }]; }, null);
1293
+ }], function () { return [{ type: i1__namespace.ContextService }, { type: i4__namespace.ToolService }, { type: ToolState }, { type: i2__namespace.LanguageService }]; }, null);
1290
1294
  })();
1291
1295
 
1292
1296
  exports.DirectionsToolComponent = /** @class */ (function () {
@@ -1366,7 +1370,7 @@
1366
1370
  var title = translate.instant('igo.integration.directions.warning.title');
1367
1371
  var msg = translate.instant('igo.integration.directions.warning.message');
1368
1372
  this.messageService.info(msg, title, { timeOut: 20000 });
1369
- this.storageService.set('direction.warning.shown', true, i2$1.StorageScope.SESSION);
1373
+ this.storageService.set('direction.warning.shown', true, i2.StorageScope.SESSION);
1370
1374
  }
1371
1375
  this.contextState.context$.subscribe(function (c) {
1372
1376
  if (!_this.authService.authenticated) {
@@ -1376,7 +1380,7 @@
1376
1380
  };
1377
1381
  return DirectionsToolComponent;
1378
1382
  }());
1379
- exports.DirectionsToolComponent.ɵfac = function DirectionsToolComponent_Factory(t) { return new (t || exports.DirectionsToolComponent)(i0__namespace.ɵɵdirectiveInject(DirectionState), i0__namespace.ɵɵdirectiveInject(MapState), i0__namespace.ɵɵdirectiveInject(i2__namespace$1.LanguageService), i0__namespace.ɵɵdirectiveInject(i2__namespace$1.MessageService), i0__namespace.ɵɵdirectiveInject(i2__namespace$1.StorageService), i0__namespace.ɵɵdirectiveInject(ContextState), i0__namespace.ɵɵdirectiveInject(i2__namespace.AuthService)); };
1383
+ exports.DirectionsToolComponent.ɵfac = function DirectionsToolComponent_Factory(t) { return new (t || exports.DirectionsToolComponent)(i0__namespace.ɵɵdirectiveInject(DirectionState), i0__namespace.ɵɵdirectiveInject(MapState), i0__namespace.ɵɵdirectiveInject(i2__namespace.LanguageService), i0__namespace.ɵɵdirectiveInject(i2__namespace.MessageService), i0__namespace.ɵɵdirectiveInject(i2__namespace.StorageService), i0__namespace.ɵɵdirectiveInject(ContextState), i0__namespace.ɵɵdirectiveInject(i2__namespace$1.AuthService)); };
1380
1384
  exports.DirectionsToolComponent.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: exports.DirectionsToolComponent, selectors: [["igo-directions-tool"]], decls: 1, vars: 7, consts: [[3, "contextUri", "debounceTime", "stopsStore", "stopsFeatureStore", "stepFeatureStore", "routesFeatureStore", "zoomToActiveRoute$"]], template: function DirectionsToolComponent_Template(rf, ctx) {
1381
1385
  if (rf & 1) {
1382
1386
  i0__namespace.ɵɵelement(0, "igo-directions", 0);
@@ -1399,7 +1403,7 @@
1399
1403
  selector: 'igo-directions-tool',
1400
1404
  templateUrl: './directions-tool.component.html'
1401
1405
  }]
1402
- }], function () { return [{ type: DirectionState }, { type: MapState }, { type: i2__namespace$1.LanguageService }, { type: i2__namespace$1.MessageService }, { type: i2__namespace$1.StorageService }, { type: ContextState }, { type: i2__namespace.AuthService }]; }, null);
1406
+ }], function () { return [{ type: DirectionState }, { type: MapState }, { type: i2__namespace.LanguageService }, { type: i2__namespace.MessageService }, { type: i2__namespace.StorageService }, { type: ContextState }, { type: i2__namespace$1.AuthService }]; }, null);
1403
1407
  })();
1404
1408
 
1405
1409
  var IgoAppDirectionsModule = /** @class */ (function () {
@@ -1560,7 +1564,7 @@
1560
1564
  });
1561
1565
  return StorageState;
1562
1566
  }());
1563
- StorageState.ɵfac = function StorageState_Factory(t) { return new (t || StorageState)(i0__namespace.ɵɵinject(i2__namespace$1.StorageService)); };
1567
+ StorageState.ɵfac = function StorageState_Factory(t) { return new (t || StorageState)(i0__namespace.ɵɵinject(i2__namespace.StorageService)); };
1564
1568
  StorageState.ɵprov = /*@__PURE__*/ i0__namespace.ɵɵdefineInjectable({ token: StorageState, factory: StorageState.ɵfac, providedIn: 'root' });
1565
1569
  (function () {
1566
1570
  (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(StorageState, [{
@@ -1568,7 +1572,7 @@
1568
1572
  args: [{
1569
1573
  providedIn: 'root'
1570
1574
  }]
1571
- }], function () { return [{ type: i2__namespace$1.StorageService }]; }, null);
1575
+ }], function () { return [{ type: i2__namespace.StorageService }]; }, null);
1572
1576
  })();
1573
1577
 
1574
1578
  var FeatureActionsService = /** @class */ (function () {
@@ -1607,7 +1611,7 @@
1607
1611
  var _this = this;
1608
1612
  this.zoomAuto$.next(this.zoomAuto);
1609
1613
  this.storageChange$$ = this.storageService.storageChange$
1610
- .pipe(operators.skipWhile(function (storageChange) { return storageChange.key !== 'zoomAuto' || storageChange.event === i2$1.StorageServiceEventEnum.CLEARED; }))
1614
+ .pipe(operators.skipWhile(function (storageChange) { return storageChange.key !== 'zoomAuto' || storageChange.event === i2.StorageServiceEventEnum.CLEARED; }))
1611
1615
  .subscribe(function () {
1612
1616
  _this.zoomAuto$.next(_this.zoomAuto);
1613
1617
  handleZoomAuto(workspace, _this.storageService);
@@ -1705,7 +1709,7 @@
1705
1709
  };
1706
1710
  return FeatureActionsService;
1707
1711
  }());
1708
- FeatureActionsService.ɵfac = function FeatureActionsService_Factory(t) { return new (t || FeatureActionsService)(i0__namespace.ɵɵinject(StorageState), i0__namespace.ɵɵinject(i2__namespace$1.LanguageService), i0__namespace.ɵɵinject(ToolState), i0__namespace.ɵɵinject(i2__namespace$1.MediaService)); };
1712
+ FeatureActionsService.ɵfac = function FeatureActionsService_Factory(t) { return new (t || FeatureActionsService)(i0__namespace.ɵɵinject(StorageState), i0__namespace.ɵɵinject(i2__namespace.LanguageService), i0__namespace.ɵɵinject(ToolState), i0__namespace.ɵɵinject(i2__namespace.MediaService)); };
1709
1713
  FeatureActionsService.ɵprov = /*@__PURE__*/ i0__namespace.ɵɵdefineInjectable({ token: FeatureActionsService, factory: FeatureActionsService.ɵfac, providedIn: 'root' });
1710
1714
  (function () {
1711
1715
  (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(FeatureActionsService, [{
@@ -1713,7 +1717,7 @@
1713
1717
  args: [{
1714
1718
  providedIn: 'root'
1715
1719
  }]
1716
- }], function () { return [{ type: StorageState }, { type: i2__namespace$1.LanguageService }, { type: ToolState }, { type: i2__namespace$1.MediaService }]; }, null);
1720
+ }], function () { return [{ type: StorageState }, { type: i2__namespace.LanguageService }, { type: ToolState }, { type: i2__namespace.MediaService }]; }, null);
1717
1721
  })();
1718
1722
 
1719
1723
  var WfsActionsService = /** @class */ (function () {
@@ -1756,7 +1760,7 @@
1756
1760
  var _a, _b;
1757
1761
  this.zoomAuto$.next(this.zoomAuto);
1758
1762
  this.storageChange$$ = this.storageService.storageChange$
1759
- .pipe(operators.skipWhile(function (storageChange) { return (storageChange === null || storageChange === void 0 ? void 0 : storageChange.key) !== 'zoomAuto' || (storageChange === null || storageChange === void 0 ? void 0 : storageChange.event) === i2$1.StorageServiceEventEnum.CLEARED; }))
1763
+ .pipe(operators.skipWhile(function (storageChange) { return (storageChange === null || storageChange === void 0 ? void 0 : storageChange.key) !== 'zoomAuto' || (storageChange === null || storageChange === void 0 ? void 0 : storageChange.event) === i2.StorageServiceEventEnum.CLEARED; }))
1760
1764
  .subscribe(function () {
1761
1765
  _this.zoomAuto$.next(_this.zoomAuto);
1762
1766
  handleZoomAuto(workspace, _this.storageService);
@@ -1861,7 +1865,7 @@
1861
1865
  };
1862
1866
  return WfsActionsService;
1863
1867
  }());
1864
- WfsActionsService.ɵfac = function WfsActionsService_Factory(t) { return new (t || WfsActionsService)(i0__namespace.ɵɵinject(i1$1.OgcFilterWidget), i0__namespace.ɵɵinject(StorageState), i0__namespace.ɵɵinject(i2__namespace$1.LanguageService), i0__namespace.ɵɵinject(i2__namespace$1.MediaService), i0__namespace.ɵɵinject(ToolState)); };
1868
+ WfsActionsService.ɵfac = function WfsActionsService_Factory(t) { return new (t || WfsActionsService)(i0__namespace.ɵɵinject(i1$1.OgcFilterWidget), i0__namespace.ɵɵinject(StorageState), i0__namespace.ɵɵinject(i2__namespace.LanguageService), i0__namespace.ɵɵinject(i2__namespace.MediaService), i0__namespace.ɵɵinject(ToolState)); };
1865
1869
  WfsActionsService.ɵprov = /*@__PURE__*/ i0__namespace.ɵɵdefineInjectable({ token: WfsActionsService, factory: WfsActionsService.ɵfac, providedIn: 'root' });
1866
1870
  (function () {
1867
1871
  (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(WfsActionsService, [{
@@ -1873,7 +1877,7 @@
1873
1877
  return [{ type: i4__namespace.Widget, decorators: [{
1874
1878
  type: i0.Inject,
1875
1879
  args: [i1$1.OgcFilterWidget]
1876
- }] }, { type: StorageState }, { type: i2__namespace$1.LanguageService }, { type: i2__namespace$1.MediaService }, { type: ToolState }];
1880
+ }] }, { type: StorageState }, { type: i2__namespace.LanguageService }, { type: i2__namespace.MediaService }, { type: ToolState }];
1877
1881
  }, null);
1878
1882
  })();
1879
1883
 
@@ -1915,7 +1919,7 @@
1915
1919
  var _a, _b;
1916
1920
  this.zoomAuto$.next(this.zoomAuto);
1917
1921
  this.storageChange$$ = this.storageService.storageChange$
1918
- .pipe(operators.skipWhile(function (storageChange) { return (storageChange === null || storageChange === void 0 ? void 0 : storageChange.key) !== 'zoomAuto' || (storageChange === null || storageChange === void 0 ? void 0 : storageChange.event) === i2$1.StorageServiceEventEnum.CLEARED; }))
1922
+ .pipe(operators.skipWhile(function (storageChange) { return (storageChange === null || storageChange === void 0 ? void 0 : storageChange.key) !== 'zoomAuto' || (storageChange === null || storageChange === void 0 ? void 0 : storageChange.event) === i2.StorageServiceEventEnum.CLEARED; }))
1919
1923
  .subscribe(function () {
1920
1924
  _this.zoomAuto$.next(_this.zoomAuto);
1921
1925
  handleZoomAuto(workspace, _this.storageService);
@@ -2020,7 +2024,7 @@
2020
2024
  };
2021
2025
  return EditionActionsService;
2022
2026
  }());
2023
- EditionActionsService.ɵfac = function EditionActionsService_Factory(t) { return new (t || EditionActionsService)(i0__namespace.ɵɵinject(i1$1.OgcFilterWidget), i0__namespace.ɵɵinject(StorageState), i0__namespace.ɵɵinject(i2__namespace$1.LanguageService), i0__namespace.ɵɵinject(i2__namespace$1.MediaService), i0__namespace.ɵɵinject(ToolState)); };
2027
+ EditionActionsService.ɵfac = function EditionActionsService_Factory(t) { return new (t || EditionActionsService)(i0__namespace.ɵɵinject(i1$1.OgcFilterWidget), i0__namespace.ɵɵinject(StorageState), i0__namespace.ɵɵinject(i2__namespace.LanguageService), i0__namespace.ɵɵinject(i2__namespace.MediaService), i0__namespace.ɵɵinject(ToolState)); };
2024
2028
  EditionActionsService.ɵprov = /*@__PURE__*/ i0__namespace.ɵɵdefineInjectable({ token: EditionActionsService, factory: EditionActionsService.ɵfac, providedIn: 'root' });
2025
2029
  (function () {
2026
2030
  (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(EditionActionsService, [{
@@ -2032,7 +2036,7 @@
2032
2036
  return [{ type: i4__namespace.Widget, decorators: [{
2033
2037
  type: i0.Inject,
2034
2038
  args: [i1$1.OgcFilterWidget]
2035
- }] }, { type: StorageState }, { type: i2__namespace$1.LanguageService }, { type: i2__namespace$1.MediaService }, { type: ToolState }];
2039
+ }] }, { type: StorageState }, { type: i2__namespace.LanguageService }, { type: i2__namespace.MediaService }, { type: ToolState }];
2036
2040
  }, null);
2037
2041
  })();
2038
2042
 
@@ -2067,6 +2071,32 @@
2067
2071
  enumerable: false,
2068
2072
  configurable: true
2069
2073
  });
2074
+ Object.defineProperty(WorkspaceState.prototype, "workspaceSelection", {
2075
+ get: function () {
2076
+ var _a;
2077
+ if (this.workspace$.value) {
2078
+ return (_a = this.workspace$.value) === null || _a === void 0 ? void 0 : _a.entityStore.stateView.manyBy(function (r) { return r.state.selected === true; });
2079
+ }
2080
+ else {
2081
+ return [];
2082
+ }
2083
+ },
2084
+ enumerable: false,
2085
+ configurable: true
2086
+ });
2087
+ Object.defineProperty(WorkspaceState.prototype, "workspaceSelection$", {
2088
+ get: function () {
2089
+ var _a, _b;
2090
+ if (this.workspace$.value) {
2091
+ return (_b = (_a = this.workspace$.value) === null || _a === void 0 ? void 0 : _a.entityStore) === null || _b === void 0 ? void 0 : _b.stateView.manyBy$(function (r) { return r.state.selected === true; });
2092
+ }
2093
+ else {
2094
+ return rxjs.of([]);
2095
+ }
2096
+ },
2097
+ enumerable: false,
2098
+ configurable: true
2099
+ });
2070
2100
  /**
2071
2101
  * Initialize the workspace store. Each time a workspace is activated,
2072
2102
  * subscribe to it's active widget. Tracking the active widget is useful
@@ -2196,7 +2226,7 @@
2196
2226
  };
2197
2227
  return WorkspaceState;
2198
2228
  }());
2199
- WorkspaceState.ɵfac = function WorkspaceState_Factory(t) { return new (t || WorkspaceState)(i0__namespace.ɵɵinject(FeatureActionsService), i0__namespace.ɵɵinject(WfsActionsService), i0__namespace.ɵɵinject(EditionActionsService), i0__namespace.ɵɵinject(i2__namespace$1.StorageService)); };
2229
+ WorkspaceState.ɵfac = function WorkspaceState_Factory(t) { return new (t || WorkspaceState)(i0__namespace.ɵɵinject(FeatureActionsService), i0__namespace.ɵɵinject(WfsActionsService), i0__namespace.ɵɵinject(EditionActionsService), i0__namespace.ɵɵinject(i2__namespace.StorageService)); };
2200
2230
  WorkspaceState.ɵprov = /*@__PURE__*/ i0__namespace.ɵɵdefineInjectable({ token: WorkspaceState, factory: WorkspaceState.ɵfac, providedIn: 'root' });
2201
2231
  (function () {
2202
2232
  (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(WorkspaceState, [{
@@ -2204,7 +2234,7 @@
2204
2234
  args: [{
2205
2235
  providedIn: 'root'
2206
2236
  }]
2207
- }], function () { return [{ type: FeatureActionsService }, { type: WfsActionsService }, { type: EditionActionsService }, { type: i2__namespace$1.StorageService }]; }, null);
2237
+ }], function () { return [{ type: FeatureActionsService }, { type: WfsActionsService }, { type: EditionActionsService }, { type: i2__namespace.StorageService }]; }, null);
2208
2238
  })();
2209
2239
 
2210
2240
  function WorkspaceButtonComponent_button_0_Template(rf, ctx) {
@@ -2269,7 +2299,7 @@
2269
2299
  if (rf & 2) {
2270
2300
  i0__namespace.ɵɵproperty("ngIf", i0__namespace.ɵɵpipeBind1(1, 1, ctx.hasWorkspace$));
2271
2301
  }
2272
- }, directives: [i4__namespace$1.NgIf, i3__namespace.MatButton, i4__namespace$2.MatTooltip, i6__namespace.MatIcon], pipes: [i4__namespace$1.AsyncPipe, i8__namespace.TranslatePipe], styles: [""], changeDetection: 0 });
2302
+ }, directives: [i5__namespace.NgIf, i3__namespace.MatButton, i4__namespace$1.MatTooltip, i6__namespace.MatIcon], pipes: [i5__namespace.AsyncPipe, i8__namespace.TranslatePipe], styles: [""], changeDetection: 0 });
2273
2303
  (function () {
2274
2304
  (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(WorkspaceButtonComponent, [{
2275
2305
  type: i0.Component,
@@ -2294,22 +2324,22 @@
2294
2324
  IgoAppWorkspaceModule.ɵfac = function IgoAppWorkspaceModule_Factory(t) { return new (t || IgoAppWorkspaceModule)(); };
2295
2325
  IgoAppWorkspaceModule.ɵmod = /*@__PURE__*/ i0__namespace.ɵɵdefineNgModule({ type: IgoAppWorkspaceModule });
2296
2326
  IgoAppWorkspaceModule.ɵinj = /*@__PURE__*/ i0__namespace.ɵɵdefineInjector({ imports: [[
2297
- i4$1.CommonModule,
2327
+ i5.CommonModule,
2298
2328
  i6.MatIconModule,
2299
2329
  i3.MatButtonModule,
2300
- i4$2.MatTooltipModule,
2301
- i2$1.IgoLanguageModule
2330
+ i4$1.MatTooltipModule,
2331
+ i2.IgoLanguageModule
2302
2332
  ]] });
2303
2333
  (function () {
2304
2334
  (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(IgoAppWorkspaceModule, [{
2305
2335
  type: i0.NgModule,
2306
2336
  args: [{
2307
2337
  imports: [
2308
- i4$1.CommonModule,
2338
+ i5.CommonModule,
2309
2339
  i6.MatIconModule,
2310
2340
  i3.MatButtonModule,
2311
- i4$2.MatTooltipModule,
2312
- i2$1.IgoLanguageModule
2341
+ i4$1.MatTooltipModule,
2342
+ i2.IgoLanguageModule
2313
2343
  ],
2314
2344
  declarations: [WorkspaceButtonComponent],
2315
2345
  exports: [WorkspaceButtonComponent]
@@ -2317,11 +2347,11 @@
2317
2347
  }], null, null);
2318
2348
  })();
2319
2349
  (function () {
2320
- (typeof ngJitMode === "undefined" || ngJitMode) && i0__namespace.ɵɵsetNgModuleScope(IgoAppWorkspaceModule, { declarations: [WorkspaceButtonComponent], imports: [i4$1.CommonModule,
2350
+ (typeof ngJitMode === "undefined" || ngJitMode) && i0__namespace.ɵɵsetNgModuleScope(IgoAppWorkspaceModule, { declarations: [WorkspaceButtonComponent], imports: [i5.CommonModule,
2321
2351
  i6.MatIconModule,
2322
2352
  i3.MatButtonModule,
2323
- i4$2.MatTooltipModule,
2324
- i2$1.IgoLanguageModule], exports: [WorkspaceButtonComponent] });
2353
+ i4$1.MatTooltipModule,
2354
+ i2.IgoLanguageModule], exports: [WorkspaceButtonComponent] });
2325
2355
  })();
2326
2356
 
2327
2357
  function ImportExportToolComponent_mat_tab_group_0_Template(rf, ctx) {
@@ -2450,7 +2480,7 @@
2450
2480
  i0__namespace.ɵɵadvance(1);
2451
2481
  i0__namespace.ɵɵproperty("ngIf", !ctx.importExportShowBothType && ctx.importExportType === "context");
2452
2482
  }
2453
- }, directives: [i4__namespace$1.NgIf, i5__namespace.MatTabGroup, i5__namespace.MatTab, i1__namespace$1.ImportExportComponent, i1__namespace.ContextImportExportComponent], pipes: [i8__namespace.TranslatePipe, i4__namespace$1.AsyncPipe], styles: ["mat-form-field[_ngcontent-%COMP%]{width:100%}"], changeDetection: 0 });
2483
+ }, directives: [i5__namespace.NgIf, i5__namespace$1.MatTabGroup, i5__namespace$1.MatTab, i1__namespace$1.ImportExportComponent, i1__namespace.ContextImportExportComponent], pipes: [i8__namespace.TranslatePipe, i5__namespace.AsyncPipe], styles: ["mat-form-field[_ngcontent-%COMP%]{width:100%}"], changeDetection: 0 });
2454
2484
  exports.ImportExportToolComponent = __decorate([
2455
2485
  i4.ToolComponent({
2456
2486
  name: 'importExport',
@@ -2494,10 +2524,10 @@
2494
2524
  IgoAppImportExportModule.ɵinj = /*@__PURE__*/ i0__namespace.ɵɵdefineInjector({ imports: [[
2495
2525
  i1$1.IgoImportExportModule,
2496
2526
  i1.IgoContextImportExportModule,
2497
- i4$1.CommonModule,
2498
- i2$1.IgoLanguageModule,
2527
+ i5.CommonModule,
2528
+ i2.IgoLanguageModule,
2499
2529
  buttonToggle.MatButtonToggleModule,
2500
- i5.MatTabsModule
2530
+ i5$1.MatTabsModule
2501
2531
  ]] });
2502
2532
  (function () {
2503
2533
  (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(IgoAppImportExportModule, [{
@@ -2506,10 +2536,10 @@
2506
2536
  imports: [
2507
2537
  i1$1.IgoImportExportModule,
2508
2538
  i1.IgoContextImportExportModule,
2509
- i4$1.CommonModule,
2510
- i2$1.IgoLanguageModule,
2539
+ i5.CommonModule,
2540
+ i2.IgoLanguageModule,
2511
2541
  buttonToggle.MatButtonToggleModule,
2512
- i5.MatTabsModule
2542
+ i5$1.MatTabsModule
2513
2543
  ],
2514
2544
  declarations: [exports.ImportExportToolComponent],
2515
2545
  exports: [exports.ImportExportToolComponent],
@@ -2520,10 +2550,10 @@
2520
2550
  (function () {
2521
2551
  (typeof ngJitMode === "undefined" || ngJitMode) && i0__namespace.ɵɵsetNgModuleScope(IgoAppImportExportModule, { declarations: [exports.ImportExportToolComponent], imports: [i1$1.IgoImportExportModule,
2522
2552
  i1.IgoContextImportExportModule,
2523
- i4$1.CommonModule,
2524
- i2$1.IgoLanguageModule,
2553
+ i5.CommonModule,
2554
+ i2.IgoLanguageModule,
2525
2555
  buttonToggle.MatButtonToggleModule,
2526
- i5.MatTabsModule], exports: [exports.ImportExportToolComponent] });
2556
+ i5$1.MatTabsModule], exports: [exports.ImportExportToolComponent] });
2527
2557
  })();
2528
2558
 
2529
2559
  function MapDetailsToolComponent_igo_layer_list_0_ng_template_1_Template(rf, ctx) {
@@ -2807,7 +2837,7 @@
2807
2837
  var _r1 = i0__namespace.ɵɵreference(3);
2808
2838
  i0__namespace.ɵɵproperty("ngIf", i0__namespace.ɵɵpipeBind1(1, 2, ctx.layers$).length)("ngIfElse", _r1);
2809
2839
  }
2810
- }, directives: [i4__namespace$1.NgIf, i1__namespace$1.LayerListComponent, i1__namespace$1.LayerListBindingDirective, WorkspaceButtonComponent, i1__namespace$1.ExportButtonComponent, i1__namespace$1.OgcFilterButtonComponent, i1__namespace$1.TimeFilterButtonComponent, i1__namespace$1.TrackFeatureButtonComponent, i1__namespace$1.MetadataButtonComponent, i7__namespace.MatList, i7__namespace.MatListItem, i6__namespace.MatIcon, i7__namespace.MatListIconCssMatStyler, i8__namespace$1.MatLine], pipes: [i4__namespace$1.AsyncPipe, i8__namespace.TranslatePipe], styles: [".map-empty[_ngcontent-%COMP%], .search-tool[_ngcontent-%COMP%], .catalog-tool[_ngcontent-%COMP%], .context-tool[_ngcontent-%COMP%]{margin:10px}.map-empty[_ngcontent-%COMP%]{text-align:justify}.search-tool[_ngcontent-%COMP%], .catalog-tool[_ngcontent-%COMP%], .context-tool[_ngcontent-%COMP%]{cursor:pointer}mat-list[_ngcontent-%COMP%] mat-list-item[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{font-weight:bold}mat-list-item[_ngcontent-%COMP%] .mat-list-text{font-size:smaller}mat-list.mat-list-base[_ngcontent-%COMP%] mat-list-item.mat-list-item[_ngcontent-%COMP%] div.mat-list-item-content div.mat-list-text{padding-left:5px}.mapDetailsList[_ngcontent-%COMP%]{overflow:hidden}"] });
2840
+ }, directives: [i5__namespace.NgIf, i1__namespace$1.LayerListComponent, i1__namespace$1.LayerListBindingDirective, WorkspaceButtonComponent, i1__namespace$1.ExportButtonComponent, i1__namespace$1.OgcFilterButtonComponent, i1__namespace$1.TimeFilterButtonComponent, i1__namespace$1.TrackFeatureButtonComponent, i1__namespace$1.MetadataButtonComponent, i7__namespace.MatList, i7__namespace.MatListItem, i6__namespace.MatIcon, i7__namespace.MatListIconCssMatStyler, i8__namespace$1.MatLine], pipes: [i5__namespace.AsyncPipe, i8__namespace.TranslatePipe], styles: [".map-empty[_ngcontent-%COMP%], .search-tool[_ngcontent-%COMP%], .catalog-tool[_ngcontent-%COMP%], .context-tool[_ngcontent-%COMP%]{margin:10px}.map-empty[_ngcontent-%COMP%]{text-align:justify}.search-tool[_ngcontent-%COMP%], .catalog-tool[_ngcontent-%COMP%], .context-tool[_ngcontent-%COMP%]{cursor:pointer}mat-list[_ngcontent-%COMP%] mat-list-item[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{font-weight:bold}mat-list-item[_ngcontent-%COMP%] .mat-list-text{font-size:smaller}mat-list.mat-list-base[_ngcontent-%COMP%] mat-list-item.mat-list-item[_ngcontent-%COMP%] div.mat-list-item-content div.mat-list-text{padding-left:5px}.mapDetailsList[_ngcontent-%COMP%]{overflow:hidden}"] });
2811
2841
  exports.MapDetailsToolComponent = __decorate([
2812
2842
  i4.ToolComponent({
2813
2843
  name: 'mapDetails',
@@ -2956,7 +2986,7 @@
2956
2986
  i0__namespace.ɵɵadvance(3);
2957
2987
  i0__namespace.ɵɵproperty("label", i0__namespace.ɵɵpipeBind1(7, 12, "igo.integration.tools.contexts"));
2958
2988
  }
2959
- }, directives: [i5__namespace.MatTabGroup, i5__namespace.MatTab, i1__namespace$1.LayerListComponent, i1__namespace$1.LayerListBindingDirective, i1__namespace.ContextListComponent, i1__namespace.ContextListBindingDirective, WorkspaceButtonComponent, i1__namespace$1.ExportButtonComponent, i1__namespace$1.OgcFilterButtonComponent, i1__namespace$1.TimeFilterButtonComponent, i1__namespace$1.TrackFeatureButtonComponent, i1__namespace$1.MetadataButtonComponent], pipes: [i8__namespace.TranslatePipe], styles: ["mat-tab-group[_ngcontent-%COMP%], mat-tab-group[_ngcontent-%COMP%] .mat-tab-body-wrapper{height:100%;overflow:hidden}[_nghost-%COMP%] .mat-tab-body-content{overflow:hidden}"], changeDetection: 0 });
2989
+ }, directives: [i5__namespace$1.MatTabGroup, i5__namespace$1.MatTab, i1__namespace$1.LayerListComponent, i1__namespace$1.LayerListBindingDirective, i1__namespace.ContextListComponent, i1__namespace.ContextListBindingDirective, WorkspaceButtonComponent, i1__namespace$1.ExportButtonComponent, i1__namespace$1.OgcFilterButtonComponent, i1__namespace$1.TimeFilterButtonComponent, i1__namespace$1.TrackFeatureButtonComponent, i1__namespace$1.MetadataButtonComponent], pipes: [i8__namespace.TranslatePipe], styles: ["mat-tab-group[_ngcontent-%COMP%], mat-tab-group[_ngcontent-%COMP%] .mat-tab-body-wrapper{height:100%;overflow:hidden}[_nghost-%COMP%] .mat-tab-body-content{overflow:hidden}"], changeDetection: 0 });
2960
2990
  exports.MapToolComponent = __decorate([
2961
2991
  i4.ToolComponent({
2962
2992
  name: 'map',
@@ -2990,7 +3020,7 @@
2990
3020
  }] });
2991
3021
  })();
2992
3022
 
2993
- var _c0$1 = ["tabGroup"];
3023
+ var _c0$2 = ["tabGroup"];
2994
3024
  function MapToolsComponent_igo_layer_list_5_ng_template_1_igo_time_filter_button_2_Template(rf, ctx) {
2995
3025
  if (rf & 1) {
2996
3026
  var _r14_1 = i0__namespace.ɵɵgetCurrentView();
@@ -3448,7 +3478,7 @@
3448
3478
  var options = layer.dataSource.options;
3449
3479
  return this.ogcButton && options.ogcFilters && options.ogcFilters.enabled &&
3450
3480
  (options.ogcFilters.pushButtons || options.ogcFilters.checkboxes || options.ogcFilters.radioButtons
3451
- || options.ogcFilters.select || options.ogcFilters.editable);
3481
+ || options.ogcFilters.select || options.ogcFilters.autocomplete || options.ogcFilters.editable);
3452
3482
  };
3453
3483
  MapToolsComponent.prototype.isExportButton = function (layer) {
3454
3484
  var _a, _b;
@@ -3464,7 +3494,7 @@
3464
3494
  exports.MapToolsComponent.ɵfac = function MapToolsComponent_Factory(t) { return new (t || exports.MapToolsComponent)(i0__namespace.ɵɵdirectiveInject(LayerListToolState), i0__namespace.ɵɵdirectiveInject(ToolState), i0__namespace.ɵɵdirectiveInject(MapState), i0__namespace.ɵɵdirectiveInject(i1__namespace$1.SearchSourceService), i0__namespace.ɵɵdirectiveInject(ImportExportState)); };
3465
3495
  exports.MapToolsComponent.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: exports.MapToolsComponent, selectors: [["igo-map-tools"]], viewQuery: function MapToolsComponent_Query(rf, ctx) {
3466
3496
  if (rf & 1) {
3467
- i0__namespace.ɵɵviewQuery(_c0$1, 7);
3497
+ i0__namespace.ɵɵviewQuery(_c0$2, 7);
3468
3498
  }
3469
3499
  if (rf & 2) {
3470
3500
  var _t = void 0;
@@ -3508,7 +3538,7 @@
3508
3538
  i0__namespace.ɵɵadvance(2);
3509
3539
  i0__namespace.ɵɵproperty("ngIf", !ctx.allowShowAllLegends && i0__namespace.ɵɵpipeBind1(13, 19, ctx.layers$).length !== 0 && i0__namespace.ɵɵpipeBind1(14, 21, ctx.visibleOrInRangeLayers$).length === 0);
3510
3540
  }
3511
- }, directives: [i5__namespace.MatTabGroup, i5__namespace.MatTab, i4__namespace$1.NgIf, i1__namespace$1.LayerListComponent, i1__namespace$1.LayerListBindingDirective, i1__namespace$1.MetadataButtonComponent, i1__namespace$1.TrackFeatureButtonComponent, WorkspaceButtonComponent, i1__namespace$1.TimeFilterButtonComponent, i1__namespace$1.OgcFilterButtonComponent, i1__namespace$1.ExportButtonComponent, i1__namespace$1.LayerLegendListComponent, i1__namespace$1.LayerLegendListBindingDirective, i7__namespace.MatList, i7__namespace.MatListItem, i6__namespace.MatIcon, i7__namespace.MatListIconCssMatStyler, i8__namespace$1.MatLine], pipes: [i4__namespace$1.AsyncPipe, i8__namespace.TranslatePipe], styles: [".map-empty[_ngcontent-%COMP%], .search-tool[_ngcontent-%COMP%], .catalog-tool[_ngcontent-%COMP%], .context-tool[_ngcontent-%COMP%]{margin:10px}.map-empty[_ngcontent-%COMP%]{text-align:justify}.search-tool[_ngcontent-%COMP%], .catalog-tool[_ngcontent-%COMP%], .context-tool[_ngcontent-%COMP%]{cursor:pointer}mat-list[_ngcontent-%COMP%] mat-list-item[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{font-weight:bold}mat-list-item[_ngcontent-%COMP%] .mat-list-text{font-size:smaller}mat-list.mat-list-base[_ngcontent-%COMP%] mat-list-item.mat-list-item[_ngcontent-%COMP%] div.mat-list-item-content div.mat-list-text{padding-left:5px}mat-tab-group[_ngcontent-%COMP%], mat-tab-group[_ngcontent-%COMP%] .mat-tab-body-wrapper{height:100%;overflow:hidden}[_nghost-%COMP%] .mat-tab-body-content{overflow:hidden}"], changeDetection: 0 });
3541
+ }, directives: [i5__namespace$1.MatTabGroup, i5__namespace$1.MatTab, i5__namespace.NgIf, i1__namespace$1.LayerListComponent, i1__namespace$1.LayerListBindingDirective, i1__namespace$1.MetadataButtonComponent, i1__namespace$1.TrackFeatureButtonComponent, WorkspaceButtonComponent, i1__namespace$1.TimeFilterButtonComponent, i1__namespace$1.OgcFilterButtonComponent, i1__namespace$1.ExportButtonComponent, i1__namespace$1.LayerLegendListComponent, i1__namespace$1.LayerLegendListBindingDirective, i7__namespace.MatList, i7__namespace.MatListItem, i6__namespace.MatIcon, i7__namespace.MatListIconCssMatStyler, i8__namespace$1.MatLine], pipes: [i5__namespace.AsyncPipe, i8__namespace.TranslatePipe], styles: [".map-empty[_ngcontent-%COMP%], .search-tool[_ngcontent-%COMP%], .catalog-tool[_ngcontent-%COMP%], .context-tool[_ngcontent-%COMP%]{margin:10px}.map-empty[_ngcontent-%COMP%]{text-align:justify}.search-tool[_ngcontent-%COMP%], .catalog-tool[_ngcontent-%COMP%], .context-tool[_ngcontent-%COMP%]{cursor:pointer}mat-list[_ngcontent-%COMP%] mat-list-item[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{font-weight:bold}mat-list-item[_ngcontent-%COMP%] .mat-list-text{font-size:smaller}mat-list.mat-list-base[_ngcontent-%COMP%] mat-list-item.mat-list-item[_ngcontent-%COMP%] div.mat-list-item-content div.mat-list-text{padding-left:5px}mat-tab-group[_ngcontent-%COMP%], mat-tab-group[_ngcontent-%COMP%] .mat-tab-body-wrapper{height:100%;overflow:hidden}[_nghost-%COMP%] .mat-tab-body-content{overflow:hidden}"], changeDetection: 0 });
3512
3542
  exports.MapToolsComponent = __decorate([
3513
3543
  i4.ToolComponent({
3514
3544
  name: 'mapTools',
@@ -3858,7 +3888,7 @@
3858
3888
  i0__namespace.ɵɵadvance(2);
3859
3889
  i0__namespace.ɵɵproperty("ngIf", !ctx.allowShowAllLegends && i0__namespace.ɵɵpipeBind1(4, 6, ctx.layers$).length !== 0 && i0__namespace.ɵɵpipeBind1(5, 8, ctx.visibleOrInRangeLayers$).length === 0);
3860
3890
  }
3861
- }, directives: [i4__namespace$1.NgIf, i1__namespace$1.LayerLegendListComponent, i1__namespace$1.LayerLegendListBindingDirective, i7__namespace.MatList, i7__namespace.MatListItem, i6__namespace.MatIcon, i7__namespace.MatListIconCssMatStyler, i8__namespace$1.MatLine], pipes: [i4__namespace$1.AsyncPipe, i8__namespace.TranslatePipe], styles: [".map-empty[_ngcontent-%COMP%], .search-tool[_ngcontent-%COMP%], .catalog-tool[_ngcontent-%COMP%], .context-tool[_ngcontent-%COMP%]{margin:10px}.map-empty[_ngcontent-%COMP%]{text-align:justify}.search-tool[_ngcontent-%COMP%], .catalog-tool[_ngcontent-%COMP%], .context-tool[_ngcontent-%COMP%]{cursor:pointer}mat-list[_ngcontent-%COMP%] mat-list-item[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{font-weight:bold}mat-list-item[_ngcontent-%COMP%] .mat-list-text{font-size:smaller}mat-list.mat-list-base[_ngcontent-%COMP%] mat-list-item.mat-list-item[_ngcontent-%COMP%] div.mat-list-item-content div.mat-list-text{padding-left:5px}"] });
3891
+ }, directives: [i5__namespace.NgIf, i1__namespace$1.LayerLegendListComponent, i1__namespace$1.LayerLegendListBindingDirective, i7__namespace.MatList, i7__namespace.MatListItem, i6__namespace.MatIcon, i7__namespace.MatListIconCssMatStyler, i8__namespace$1.MatLine], pipes: [i5__namespace.AsyncPipe, i8__namespace.TranslatePipe], styles: [".map-empty[_ngcontent-%COMP%], .search-tool[_ngcontent-%COMP%], .catalog-tool[_ngcontent-%COMP%], .context-tool[_ngcontent-%COMP%]{margin:10px}.map-empty[_ngcontent-%COMP%]{text-align:justify}.search-tool[_ngcontent-%COMP%], .catalog-tool[_ngcontent-%COMP%], .context-tool[_ngcontent-%COMP%]{cursor:pointer}mat-list[_ngcontent-%COMP%] mat-list-item[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{font-weight:bold}mat-list-item[_ngcontent-%COMP%] .mat-list-text{font-size:smaller}mat-list.mat-list-base[_ngcontent-%COMP%] mat-list-item.mat-list-item[_ngcontent-%COMP%] div.mat-list-item-content div.mat-list-text{padding-left:5px}"] });
3862
3892
  exports.MapLegendToolComponent = __decorate([
3863
3893
  i4.ToolComponent({
3864
3894
  name: 'mapLegend',
@@ -4124,7 +4154,7 @@
4124
4154
  var _r1 = i0__namespace.ɵɵreference(2);
4125
4155
  i0__namespace.ɵɵproperty("ngIf", ctx.userControlledLayerList.length)("ngIfElse", _r1);
4126
4156
  }
4127
- }, directives: [i4__namespace$1.NgIf, i3__namespace$1.ɵNgNoValidate, i3__namespace$1.NgControlStatusGroup, i3__namespace$1.FormGroupDirective, i6__namespace$1.MatFormField, i6__namespace$1.MatLabel, i7__namespace$1.MatSelect, i3__namespace$1.NgControlStatus, i3__namespace$1.FormControlName, i8__namespace$1.MatOption, i9__namespace.MatDivider, i4__namespace$1.NgForOf, i10__namespace.MatSlideToggle, i7__namespace.MatList, i7__namespace.MatListItem, i6__namespace.MatIcon, i7__namespace.MatListIconCssMatStyler, i8__namespace$1.MatLine], pipes: [i8__namespace.TranslatePipe], styles: [".nameOfTool[_ngcontent-%COMP%]{text-align:center;font-weight:bold;font-size:small;margin:15px 10px 0}.igo-swipe-select-container[_ngcontent-%COMP%]{padding:10px}.igo-swipe-select-container[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%]{width:100%}.igo-form[_ngcontent-%COMP%]{padding:1px 5px;width:100%}.swipe-toggle[_ngcontent-%COMP%]{padding:10px 5px 35px}.map-empty[_ngcontent-%COMP%], .search-tool[_ngcontent-%COMP%], .catalog-tool[_ngcontent-%COMP%], .context-tool[_ngcontent-%COMP%]{margin:5px}.map-empty[_ngcontent-%COMP%]{padding:10px;text-align:justify}.search-tool[_ngcontent-%COMP%], .catalog-tool[_ngcontent-%COMP%], .context-tool[_ngcontent-%COMP%]{cursor:pointer}mat-list[_ngcontent-%COMP%] mat-list-item[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{font-weight:bold}mat-list-item[_ngcontent-%COMP%] .mat-list-text{font-size:smaller}mat-list.mat-list-base[_ngcontent-%COMP%] mat-list-item.mat-list-item[_ngcontent-%COMP%] div.mat-list-item-content div.mat-list-text{padding-left:15px}.advanced-tool-line[_ngcontent-%COMP%]{height:2px;background-color:gray}"] });
4157
+ }, directives: [i5__namespace.NgIf, i3__namespace$1.ɵNgNoValidate, i3__namespace$1.NgControlStatusGroup, i3__namespace$1.FormGroupDirective, i6__namespace$1.MatFormField, i6__namespace$1.MatLabel, i7__namespace$1.MatSelect, i3__namespace$1.NgControlStatus, i3__namespace$1.FormControlName, i8__namespace$1.MatOption, i9__namespace.MatDivider, i5__namespace.NgForOf, i10__namespace.MatSlideToggle, i7__namespace.MatList, i7__namespace.MatListItem, i6__namespace.MatIcon, i7__namespace.MatListIconCssMatStyler, i8__namespace$1.MatLine], pipes: [i8__namespace.TranslatePipe], styles: [".nameOfTool[_ngcontent-%COMP%]{text-align:center;font-weight:bold;font-size:small;margin:15px 10px 0}.igo-swipe-select-container[_ngcontent-%COMP%]{padding:10px}.igo-swipe-select-container[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%]{width:100%}.igo-form[_ngcontent-%COMP%]{padding:1px 5px;width:100%}.swipe-toggle[_ngcontent-%COMP%]{padding:10px 5px 35px}.map-empty[_ngcontent-%COMP%], .search-tool[_ngcontent-%COMP%], .catalog-tool[_ngcontent-%COMP%], .context-tool[_ngcontent-%COMP%]{margin:5px}.map-empty[_ngcontent-%COMP%]{padding:10px;text-align:justify}.search-tool[_ngcontent-%COMP%], .catalog-tool[_ngcontent-%COMP%], .context-tool[_ngcontent-%COMP%]{cursor:pointer}mat-list[_ngcontent-%COMP%] mat-list-item[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{font-weight:bold}mat-list-item[_ngcontent-%COMP%] .mat-list-text{font-size:smaller}mat-list.mat-list-base[_ngcontent-%COMP%] mat-list-item.mat-list-item[_ngcontent-%COMP%] div.mat-list-item-content div.mat-list-text{padding-left:15px}.advanced-tool-line[_ngcontent-%COMP%]{height:2px;background-color:gray}"] });
4128
4158
  (function () {
4129
4159
  (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(AdvancedSwipeComponent, [{
4130
4160
  type: i0.Component,
@@ -4285,7 +4315,7 @@
4285
4315
  _this.checkLambert(_this.currentCenterDefaultProj);
4286
4316
  _this.coordinates = _this.getCoordinates();
4287
4317
  _this.cdRef.detectChanges();
4288
- _this.storageService.set('currentProjection', _this.inputProj, i2$1.StorageScope.SESSION);
4318
+ _this.storageService.set('currentProjection', _this.inputProj, i2.StorageScope.SESSION);
4289
4319
  });
4290
4320
  var tempInputProj = this.storageService.get('currentProjection');
4291
4321
  this.inputProj = this.projections$.value[0];
@@ -4340,7 +4370,7 @@
4340
4370
  AdvancedCoordinatesComponent.prototype.displayCenter = function (toggle) {
4341
4371
  this.center = toggle;
4342
4372
  this.map.mapCenter$.next(toggle);
4343
- this.storageService.set('centerToggle', toggle, i2$1.StorageScope.SESSION);
4373
+ this.storageService.set('centerToggle', toggle, i2.StorageScope.SESSION);
4344
4374
  };
4345
4375
  /**
4346
4376
  * Builder of the form
@@ -4530,7 +4560,7 @@
4530
4560
  var modifiedProj = _this.projections$.value;
4531
4561
  var extent = projection.extent;
4532
4562
  var code = projection.code.match(/\d+/);
4533
- var currentExtentWGS = olproj__namespace.transformExtent(extent, projection.code, _this.defaultProj.code);
4563
+ var currentExtentWGS = olProj__namespace.transformExtent(extent, projection.code, _this.defaultProj.code);
4534
4564
  if (coordinates[0] < currentExtentWGS[0] || coordinates[0] > currentExtentWGS[2] ||
4535
4565
  coordinates[1] < currentExtentWGS[1] || coordinates[1] > currentExtentWGS[3]) {
4536
4566
  _this.inLambert2[code] = false;
@@ -4550,7 +4580,7 @@
4550
4580
  };
4551
4581
  return AdvancedCoordinatesComponent;
4552
4582
  }());
4553
- AdvancedCoordinatesComponent.ɵfac = function AdvancedCoordinatesComponent_Factory(t) { return new (t || AdvancedCoordinatesComponent)(i0__namespace.ɵɵdirectiveInject(MapState), i0__namespace.ɵɵdirectiveInject(i2__namespace$1.LanguageService), i0__namespace.ɵɵdirectiveInject(i2__namespace$1.MessageService), i0__namespace.ɵɵdirectiveInject(i0__namespace.ChangeDetectorRef), i0__namespace.ɵɵdirectiveInject(i2__namespace$1.StorageService), i0__namespace.ɵɵdirectiveInject(i2__namespace$1.ConfigService), i0__namespace.ɵɵdirectiveInject(i3__namespace$1.FormBuilder)); };
4583
+ AdvancedCoordinatesComponent.ɵfac = function AdvancedCoordinatesComponent_Factory(t) { return new (t || AdvancedCoordinatesComponent)(i0__namespace.ɵɵdirectiveInject(MapState), i0__namespace.ɵɵdirectiveInject(i2__namespace.LanguageService), i0__namespace.ɵɵdirectiveInject(i2__namespace.MessageService), i0__namespace.ɵɵdirectiveInject(i0__namespace.ChangeDetectorRef), i0__namespace.ɵɵdirectiveInject(i2__namespace.StorageService), i0__namespace.ɵɵdirectiveInject(i2__namespace.ConfigService), i0__namespace.ɵɵdirectiveInject(i3__namespace$1.FormBuilder)); };
4554
4584
  AdvancedCoordinatesComponent.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: AdvancedCoordinatesComponent, selectors: [["igo-advanced-coordinates"]], inputs: { projectionsLimitations: "projectionsLimitations" }, decls: 32, vars: 37, consts: [["class", "coordinates", 4, "ngIf", "ngIfElse"], ["elseBlock", ""], ["class", "coordinates2", 4, "ngIf", "ngIfElse"], ["elseBlock2", ""], ["mat-raised-button", "", 1, "igo-form-button-group", 3, "click"], ["svgIcon", "content-copy"], [1, "igo-form", 3, "formGroup"], [1, "igo-input-container"], [3, "value", "valueChange"], ["matTooltipShowDelay", "500", 3, "value", "click", 4, "ngFor", "ngForOf"], [1, "center-toggle", "mat-typography", 3, "checked", "labelPosition", "change"], [1, "igo-zoom", "mat-typography"], [1, "coordinates"], ["matInput", "", "readonly", "", "rows", "1", 3, "placeholder", "value"], ["textArea", ""], [1, "coordinates2"], ["matTooltipShowDelay", "500", 3, "value", "click"]], template: function AdvancedCoordinatesComponent_Template(rf, ctx) {
4555
4585
  if (rf & 1) {
4556
4586
  i0__namespace.ɵɵtemplate(0, AdvancedCoordinatesComponent_mat_form_field_0_Template, 4, 4, "mat-form-field", 0);
@@ -4623,7 +4653,7 @@
4623
4653
  i0__namespace.ɵɵadvance(4);
4624
4654
  i0__namespace.ɵɵtextInterpolate2("", i0__namespace.ɵɵpipeBind1(30, 32, "igo.integration.advanced-map-tool.advanced-coordinates.resolution"), " ", i0__namespace.ɵɵpipeBind2(31, 34, ctx.map.viewController.getResolution(), "1.0-0"), "");
4625
4655
  }
4626
- }, directives: [i4__namespace$1.NgIf, i3__namespace.MatButton, i6__namespace.MatIcon, i3__namespace$1.ɵNgNoValidate, i3__namespace$1.NgControlStatusGroup, i3__namespace$1.FormGroupDirective, i6__namespace$1.MatFormField, i6__namespace$1.MatLabel, i7__namespace$1.MatSelect, i4__namespace$1.NgForOf, i10__namespace.MatSlideToggle, i10__namespace$1.MatInput, i8__namespace$1.MatOption], pipes: [i8__namespace.TranslatePipe, i4__namespace$1.AsyncPipe, i4__namespace$1.DecimalPipe], styles: ["textarea[_ngcontent-%COMP%]{resize:none}mat-form-field[_ngcontent-%COMP%]{padding:10px 15px}mat-form-field.coordinates[_ngcontent-%COMP%]{width:120px}mat-form-field.coordinates2[_ngcontent-%COMP%]{width:120px;padding:0 10px 0 3px}mat-form-field.igo-input-container[_ngcontent-%COMP%]{width:60%;padding:0 15px}.igo-form-button-group[_ngcontent-%COMP%]{padding:0 10px;margin:0 10px}.center-toggle[_ngcontent-%COMP%]{padding:10px 15px 35px}mat-slide-toggle[_ngcontent-%COMP%]{font-size:small}.igo-zoom[_ngcontent-%COMP%]{padding:0 15px}"] });
4656
+ }, directives: [i5__namespace.NgIf, i3__namespace.MatButton, i6__namespace.MatIcon, i3__namespace$1.ɵNgNoValidate, i3__namespace$1.NgControlStatusGroup, i3__namespace$1.FormGroupDirective, i6__namespace$1.MatFormField, i6__namespace$1.MatLabel, i7__namespace$1.MatSelect, i5__namespace.NgForOf, i10__namespace.MatSlideToggle, i10__namespace$1.MatInput, i8__namespace$1.MatOption], pipes: [i8__namespace.TranslatePipe, i5__namespace.AsyncPipe, i5__namespace.DecimalPipe], styles: ["textarea[_ngcontent-%COMP%]{resize:none}mat-form-field[_ngcontent-%COMP%]{padding:10px 15px}mat-form-field.coordinates[_ngcontent-%COMP%]{width:120px}mat-form-field.coordinates2[_ngcontent-%COMP%]{width:120px;padding:0 10px 0 3px}mat-form-field.igo-input-container[_ngcontent-%COMP%]{width:60%;padding:0 15px}.igo-form-button-group[_ngcontent-%COMP%]{padding:0 10px;margin:0 10px}.center-toggle[_ngcontent-%COMP%]{padding:10px 15px 35px}mat-slide-toggle[_ngcontent-%COMP%]{font-size:small}.igo-zoom[_ngcontent-%COMP%]{padding:0 15px}"] });
4627
4657
  (function () {
4628
4658
  (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(AdvancedCoordinatesComponent, [{
4629
4659
  type: i0.Component,
@@ -4632,18 +4662,39 @@
4632
4662
  templateUrl: './advanced-coordinates.component.html',
4633
4663
  styleUrls: ['./advanced-coordinates.component.scss']
4634
4664
  }]
4635
- }], function () { return [{ type: MapState }, { type: i2__namespace$1.LanguageService }, { type: i2__namespace$1.MessageService }, { type: i0__namespace.ChangeDetectorRef }, { type: i2__namespace$1.StorageService }, { type: i2__namespace$1.ConfigService }, { type: i3__namespace$1.FormBuilder }]; }, { projectionsLimitations: [{
4665
+ }], function () { return [{ type: MapState }, { type: i2__namespace.LanguageService }, { type: i2__namespace.MessageService }, { type: i0__namespace.ChangeDetectorRef }, { type: i2__namespace.StorageService }, { type: i2__namespace.ConfigService }, { type: i3__namespace$1.FormBuilder }]; }, { projectionsLimitations: [{
4636
4666
  type: i0.Input
4637
4667
  }] });
4638
4668
  })();
4639
4669
 
4640
4670
  exports.AdvancedMapToolComponent = /** @class */ (function () {
4641
- function AdvancedMapToolComponent() {
4671
+ function AdvancedMapToolComponent(mapState) {
4672
+ this.mapState = mapState;
4642
4673
  }
4674
+ Object.defineProperty(AdvancedMapToolComponent.prototype, "tracking$", {
4675
+ get: function () {
4676
+ return this.mapState.map.geolocationController.tracking$;
4677
+ },
4678
+ enumerable: false,
4679
+ configurable: true
4680
+ });
4681
+ Object.defineProperty(AdvancedMapToolComponent.prototype, "followPosition$", {
4682
+ get: function () {
4683
+ return this.mapState.map.geolocationController.followPosition$;
4684
+ },
4685
+ enumerable: false,
4686
+ configurable: true
4687
+ });
4688
+ AdvancedMapToolComponent.prototype.toggleTracking = function (value) {
4689
+ this.mapState.map.geolocationController.tracking = value;
4690
+ };
4691
+ AdvancedMapToolComponent.prototype.toggleFollow = function (value) {
4692
+ this.mapState.map.geolocationController.followPosition = value;
4693
+ };
4643
4694
  return AdvancedMapToolComponent;
4644
4695
  }());
4645
- exports.AdvancedMapToolComponent.ɵfac = function AdvancedMapToolComponent_Factory(t) { return new (t || exports.AdvancedMapToolComponent)(); };
4646
- exports.AdvancedMapToolComponent.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: exports.AdvancedMapToolComponent, selectors: [["igo-advanced-map-tool"]], decls: 10, vars: 6, consts: [[1, "nameOfTool"], [1, "advanced-tool-line"]], template: function AdvancedMapToolComponent_Template(rf, ctx) {
4696
+ exports.AdvancedMapToolComponent.ɵfac = function AdvancedMapToolComponent_Factory(t) { return new (t || exports.AdvancedMapToolComponent)(i0__namespace.ɵɵdirectiveInject(MapState)); };
4697
+ exports.AdvancedMapToolComponent.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: exports.AdvancedMapToolComponent, selectors: [["igo-advanced-map-tool"]], decls: 24, vars: 26, consts: [[1, "nameOfTool"], [1, "advanced-tool-line"], [1, "igo-input-container"], [1, "geolocation-slide-toggle-container", "mat-typography"], [1, "geolocation-option", "mat-typography", 3, "checked", "labelPosition", "change"], [1, "geolocation-option", "mat-typography", 3, "disabled", "checked", "labelPosition", "change"]], template: function AdvancedMapToolComponent_Template(rf, ctx) {
4647
4698
  if (rf & 1) {
4648
4699
  i0__namespace.ɵɵelementStart(0, "h4", 0);
4649
4700
  i0__namespace.ɵɵtext(1);
@@ -4657,14 +4708,45 @@
4657
4708
  i0__namespace.ɵɵelementEnd();
4658
4709
  i0__namespace.ɵɵelement(8, "igo-advanced-coordinates");
4659
4710
  i0__namespace.ɵɵelement(9, "mat-divider", 1);
4711
+ i0__namespace.ɵɵelementStart(10, "h4", 0);
4712
+ i0__namespace.ɵɵtext(11);
4713
+ i0__namespace.ɵɵpipe(12, "translate");
4714
+ i0__namespace.ɵɵelementEnd();
4715
+ i0__namespace.ɵɵelementStart(13, "div", 2);
4716
+ i0__namespace.ɵɵelementStart(14, "div", 3);
4717
+ i0__namespace.ɵɵelementStart(15, "mat-slide-toggle", 4);
4718
+ i0__namespace.ɵɵlistener("change", function AdvancedMapToolComponent_Template_mat_slide_toggle_change_15_listener($event) { return ctx.toggleTracking($event.checked); });
4719
+ i0__namespace.ɵɵpipe(16, "async");
4720
+ i0__namespace.ɵɵtext(17);
4721
+ i0__namespace.ɵɵpipe(18, "translate");
4722
+ i0__namespace.ɵɵelementEnd();
4723
+ i0__namespace.ɵɵelementStart(19, "mat-slide-toggle", 5);
4724
+ i0__namespace.ɵɵlistener("change", function AdvancedMapToolComponent_Template_mat_slide_toggle_change_19_listener($event) { return ctx.toggleFollow($event.checked); });
4725
+ i0__namespace.ɵɵpipe(20, "async");
4726
+ i0__namespace.ɵɵpipe(21, "async");
4727
+ i0__namespace.ɵɵtext(22);
4728
+ i0__namespace.ɵɵpipe(23, "translate");
4729
+ i0__namespace.ɵɵelementEnd();
4730
+ i0__namespace.ɵɵelementEnd();
4731
+ i0__namespace.ɵɵelementEnd();
4660
4732
  }
4661
4733
  if (rf & 2) {
4662
4734
  i0__namespace.ɵɵadvance(1);
4663
- i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(2, 2, "igo.integration.advanced-map-tool.advanced-swipe.swipe-tool"));
4735
+ i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(2, 10, "igo.integration.advanced-map-tool.advanced-swipe.swipe-tool"));
4664
4736
  i0__namespace.ɵɵadvance(5);
4665
- i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(7, 4, "igo.integration.advanced-map-tool.advanced-coordinates.coordinates"));
4737
+ i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(7, 12, "igo.integration.advanced-map-tool.advanced-coordinates.coordinates"));
4738
+ i0__namespace.ɵɵadvance(5);
4739
+ i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(12, 14, "igo.integration.advanced-map-tool.geolocation.title"));
4740
+ i0__namespace.ɵɵadvance(4);
4741
+ i0__namespace.ɵɵproperty("checked", i0__namespace.ɵɵpipeBind1(16, 16, ctx.tracking$))("labelPosition", "before");
4742
+ i0__namespace.ɵɵadvance(2);
4743
+ i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(18, 18, "igo.integration.advanced-map-tool.geolocation.tracking"), " ");
4744
+ i0__namespace.ɵɵadvance(2);
4745
+ i0__namespace.ɵɵproperty("disabled", i0__namespace.ɵɵpipeBind1(20, 20, ctx.tracking$) !== true)("checked", i0__namespace.ɵɵpipeBind1(21, 22, ctx.followPosition$))("labelPosition", "before");
4746
+ i0__namespace.ɵɵadvance(3);
4747
+ i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(23, 24, "igo.integration.advanced-map-tool.geolocation.follow"), " ");
4666
4748
  }
4667
- }, directives: [AdvancedSwipeComponent, i9__namespace.MatDivider, AdvancedCoordinatesComponent], pipes: [i8__namespace.TranslatePipe], styles: [".nameOfTool[_ngcontent-%COMP%]{text-align:center;font-weight:bold;font-size:small;margin:15px 10px 0}.advanced-tool-line[_ngcontent-%COMP%]{height:2px;background-color:gray}"] });
4749
+ }, directives: [AdvancedSwipeComponent, i9__namespace.MatDivider, AdvancedCoordinatesComponent, i10__namespace.MatSlideToggle], pipes: [i8__namespace.TranslatePipe, i5__namespace.AsyncPipe], styles: [".nameOfTool[_ngcontent-%COMP%]{text-align:center;font-weight:bold;font-size:small;margin:15px 10px 0}.advanced-tool-line[_ngcontent-%COMP%]{height:2px;background-color:gray}.geolocation-slide-toggle-container[_ngcontent-%COMP%]{overflow-x:hidden}.geolocation-slide-toggle-container[_ngcontent-%COMP%] mat-slide-toggle[_ngcontent-%COMP%]{width:100%;margin:10px}.geolocation-slide-toggle-container[_ngcontent-%COMP%] mat-slide-toggle[_ngcontent-%COMP%] .mat-slide-toggle-content{width:calc(100% - 60px)}.geolocation-option[_ngcontent-%COMP%]{display:block;margin-right:10px;margin-bottom:15px}"] });
4668
4750
  exports.AdvancedMapToolComponent = __decorate([
4669
4751
  i4.ToolComponent({
4670
4752
  name: 'advancedMap',
@@ -4683,7 +4765,398 @@
4683
4765
  templateUrl: './advanced-map-tool.component.html',
4684
4766
  styleUrls: ['./advanced-map-tool.component.scss']
4685
4767
  }]
4686
- }], null, null);
4768
+ }], function () { return [{ type: MapState }]; }, null);
4769
+ })();
4770
+
4771
+ /**
4772
+ * Service that holds the state of the direction module
4773
+ */
4774
+ var MapProximityState = /** @class */ (function () {
4775
+ function MapProximityState(mapState) {
4776
+ var _this = this;
4777
+ this.mapState = mapState;
4778
+ this.enabled$ = new rxjs.BehaviorSubject(false);
4779
+ this.proximityRadiusValue$ = new rxjs.BehaviorSubject(30);
4780
+ this.proximitylocationType$ = new rxjs.BehaviorSubject('geolocation');
4781
+ this.proximityFeatureStore = new i1$1.FeatureStore([], { map: this.mapState.map });
4782
+ this.subs$$ = [];
4783
+ this.currentPositionCoordinate$ = new rxjs.BehaviorSubject(undefined);
4784
+ this.mapState.map.ol.once('rendercomplete', function () {
4785
+ _this.subscribeProximityMonitor();
4786
+ });
4787
+ }
4788
+ Object.defineProperty(MapProximityState.prototype, "map", {
4789
+ get: function () {
4790
+ return this.mapState.map;
4791
+ },
4792
+ enumerable: false,
4793
+ configurable: true
4794
+ });
4795
+ MapProximityState.prototype.subscribeProximityMonitor = function () {
4796
+ var _this = this;
4797
+ this.subs$$.push(rxjs.combineLatest([
4798
+ this.enabled$,
4799
+ this.proximitylocationType$,
4800
+ this.proximityRadiusValue$,
4801
+ rxjs.interval(5000),
4802
+ this.map.geolocationController.position$
4803
+ ])
4804
+ .pipe(operators.debounceTime(750))
4805
+ .subscribe(function (bunch) {
4806
+ _this.proximityFeatureStore.clear();
4807
+ var enabled = bunch[0];
4808
+ var layers = _this.map.layers;
4809
+ var currentPos = _this.map.geolocationController.position$.value;
4810
+ var locationType = bunch[1];
4811
+ var proximityRadiusValue = bunch[2];
4812
+ if (!enabled) {
4813
+ return;
4814
+ }
4815
+ var coord;
4816
+ if (locationType === 'geolocation') {
4817
+ if (!currentPos || !currentPos.position) {
4818
+ return;
4819
+ }
4820
+ coord = olProj__namespace.transform(currentPos.position, currentPos.projection, _this.map.projection);
4821
+ _this.map.mapCenter$.next(false);
4822
+ }
4823
+ else {
4824
+ coord = _this.map.viewController.getCenter();
4825
+ ;
4826
+ _this.map.mapCenter$.next(true);
4827
+ }
4828
+ var coordLonLat = olProj__namespace.transform(coord, _this.map.projection, 'EPSG:4269');
4829
+ var roundedCoordLonLat = i1$1.roundCoordTo(coordLonLat, 6);
4830
+ _this.currentPositionCoordinate$.next(roundedCoordLonLat);
4831
+ var layersToMonitor = layers
4832
+ .filter(function (layer) { return layer.ol instanceof olLayerVector__default["default"] &&
4833
+ layer.dataSource.options.queryable &&
4834
+ layer.visible &&
4835
+ layer.isInResolutionsRange; });
4836
+ layersToMonitor.map(function (layerToMonitor) {
4837
+ var layerSource = layerToMonitor.ol.getSource();
4838
+ // Mostly for polygon features.
4839
+ var olFeaturesAtCoordinate = layerSource.getFeaturesAtCoordinate(coord);
4840
+ if (olFeaturesAtCoordinate && olFeaturesAtCoordinate.length) {
4841
+ olFeaturesAtCoordinate.map(function (olFeatureAtCoordinate) {
4842
+ var featureAtThisPosition = i1$1.featureFromOl(olFeatureAtCoordinate, _this.map.projection);
4843
+ var title = _this.getQueryTitle(featureAtThisPosition, layerToMonitor);
4844
+ // todo handle imported layers without querytitle? prompt title or detect first column?
4845
+ _this.addFeatureToStore(layerToMonitor, coord, featureAtThisPosition, title, 0);
4846
+ });
4847
+ }
4848
+ else {
4849
+ // compute proximity for remaining sources
4850
+ var closestOlFeature = layerSource.getClosestFeatureToCoordinate(coord);
4851
+ if (closestOlFeature) {
4852
+ var closestOlGeom = closestOlFeature.getGeometry();
4853
+ var closestFeature = i1$1.featureFromOl(closestOlFeature, _this.map.projection);
4854
+ var geometryClosestPoint = closestOlGeom.getClosestPoint(coord);
4855
+ var linebetween = new olLineString__default["default"]([coord, geometryClosestPoint]);
4856
+ var lineLength = i1$1.measureOlGeometryLength(linebetween, 'EPSG:3857');
4857
+ if (lineLength <= proximityRadiusValue) {
4858
+ var title = _this.getQueryTitle(closestFeature, layerToMonitor);
4859
+ // todo handle imported layers without querytitle? prompt title or detect first column?
4860
+ _this.addFeatureToStore(layerToMonitor, coord, closestFeature, title, lineLength);
4861
+ }
4862
+ }
4863
+ }
4864
+ });
4865
+ }));
4866
+ };
4867
+ /**
4868
+ * Add a feature with proximity properties to the store
4869
+ * @internal
4870
+ */
4871
+ MapProximityState.prototype.addFeatureToStore = function (layer, coordFromCalculatedDistance, feature, title, distance) {
4872
+ var featureId = utils.uuid();
4873
+ var projection = this.map.ol.getView().getProjection();
4874
+ var olGeometry = feature.ol.getGeometry();
4875
+ var geometry = new olFormatGeoJSON__default["default"]().writeGeometryObject(olGeometry, {
4876
+ featureProjection: projection,
4877
+ dataProjection: projection
4878
+ });
4879
+ this.proximityFeatureStore.update({
4880
+ type: i1$1.FEATURE,
4881
+ geometry: geometry,
4882
+ projection: projection.getCode(),
4883
+ properties: Object.assign(Object.assign({}, feature.properties), {
4884
+ id: featureId,
4885
+ element: title,
4886
+ distance: distance,
4887
+ coordFromCalculatedDistance: coordFromCalculatedDistance,
4888
+ layerSrcId: layer.id,
4889
+ layerSrcTitle: layer.title
4890
+ }),
4891
+ meta: {
4892
+ id: featureId
4893
+ }
4894
+ });
4895
+ };
4896
+ MapProximityState.prototype.getQueryTitle = function (feature, layer) {
4897
+ var _a, _b;
4898
+ var title;
4899
+ if ((_b = (_a = layer.options) === null || _a === void 0 ? void 0 : _a.source) === null || _b === void 0 ? void 0 : _b.options) {
4900
+ var dataSourceOptions = layer.options.source
4901
+ .options;
4902
+ if (dataSourceOptions.queryTitle) {
4903
+ title = this.getLabelMatch(feature, dataSourceOptions.queryTitle);
4904
+ }
4905
+ }
4906
+ return title;
4907
+ };
4908
+ MapProximityState.prototype.getLabelMatch = function (feature, labelMatch) {
4909
+ var label = labelMatch;
4910
+ var labelToGet = Array.from(labelMatch.matchAll(/\$\{([^\{\}]+)\}/g));
4911
+ labelToGet.forEach(function (v) {
4912
+ label = label.replace(v[0], feature.properties[v[1]]);
4913
+ });
4914
+ // Nothing done? check feature's attribute
4915
+ if (labelToGet.length === 0 && label === labelMatch) {
4916
+ label = feature.properties[labelMatch] || labelMatch;
4917
+ }
4918
+ return label;
4919
+ };
4920
+ return MapProximityState;
4921
+ }());
4922
+ MapProximityState.ɵfac = function MapProximityState_Factory(t) { return new (t || MapProximityState)(i0__namespace.ɵɵinject(MapState)); };
4923
+ MapProximityState.ɵprov = /*@__PURE__*/ i0__namespace.ɵɵdefineInjectable({ token: MapProximityState, factory: MapProximityState.ɵfac, providedIn: 'root' });
4924
+ (function () {
4925
+ (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(MapProximityState, [{
4926
+ type: i0.Injectable,
4927
+ args: [{
4928
+ providedIn: 'root'
4929
+ }]
4930
+ }], function () { return [{ type: MapState }]; }, null);
4931
+ })();
4932
+
4933
+ var _c0$1 = ["table"];
4934
+ function MapProximityToolComponent_mat_form_field_3_Template(rf, ctx) {
4935
+ if (rf & 1) {
4936
+ i0__namespace.ɵɵelementStart(0, "mat-form-field", 14);
4937
+ i0__namespace.ɵɵelement(1, "textarea", 15, 16);
4938
+ i0__namespace.ɵɵpipe(3, "translate");
4939
+ i0__namespace.ɵɵelementEnd();
4940
+ }
4941
+ if (rf & 2) {
4942
+ var coord_r4 = ctx.ngIf;
4943
+ i0__namespace.ɵɵadvance(1);
4944
+ i0__namespace.ɵɵproperty("placeholder", i0__namespace.ɵɵpipeBind1(3, 2, "igo.integration.map-proximity-tool.lon"))("value", coord_r4[0]);
4945
+ }
4946
+ }
4947
+ function MapProximityToolComponent_mat_form_field_5_Template(rf, ctx) {
4948
+ if (rf & 1) {
4949
+ i0__namespace.ɵɵelementStart(0, "mat-form-field", 17);
4950
+ i0__namespace.ɵɵelement(1, "textarea", 15, 16);
4951
+ i0__namespace.ɵɵpipe(3, "translate");
4952
+ i0__namespace.ɵɵelementEnd();
4953
+ }
4954
+ if (rf & 2) {
4955
+ var coord2_r6 = ctx.ngIf;
4956
+ i0__namespace.ɵɵadvance(1);
4957
+ i0__namespace.ɵɵproperty("placeholder", i0__namespace.ɵɵpipeBind1(3, 2, "igo.integration.map-proximity-tool.lat"))("value", coord2_r6[1]);
4958
+ }
4959
+ }
4960
+ function MapProximityToolComponent_button_7_Template(rf, ctx) {
4961
+ if (rf & 1) {
4962
+ var _r9_1 = i0__namespace.ɵɵgetCurrentView();
4963
+ i0__namespace.ɵɵelementStart(0, "button", 18);
4964
+ i0__namespace.ɵɵlistener("click", function MapProximityToolComponent_button_7_Template_button_click_0_listener() { i0__namespace.ɵɵrestoreView(_r9_1); var ctx_r8 = i0__namespace.ɵɵnextContext(); return ctx_r8.copyTextToClipboard(); });
4965
+ i0__namespace.ɵɵelement(1, "mat-icon", 19);
4966
+ i0__namespace.ɵɵelementEnd();
4967
+ }
4968
+ }
4969
+ exports.MapProximityToolComponent = /** @class */ (function () {
4970
+ function MapProximityToolComponent(mapState, mapProximityState, languageService, messageService) {
4971
+ this.mapState = mapState;
4972
+ this.mapProximityState = mapProximityState;
4973
+ this.languageService = languageService;
4974
+ this.messageService = messageService;
4975
+ this.subs$$ = [];
4976
+ /**
4977
+ * Table template
4978
+ * @internal
4979
+ */
4980
+ this.tableTemplate = {
4981
+ selection: true,
4982
+ selectMany: false,
4983
+ selectionCheckbox: false,
4984
+ sort: true,
4985
+ columns: [
4986
+ {
4987
+ name: 'element',
4988
+ title: this.languageService.translate.instant('igo.integration.map-proximity-tool.feature'),
4989
+ valueAccessor: function (localFeature) {
4990
+ return localFeature.properties.element;
4991
+ }
4992
+ },
4993
+ {
4994
+ name: 'distance',
4995
+ title: this.languageService.translate.instant('igo.integration.map-proximity-tool.distance'),
4996
+ valueAccessor: function (localFeature) {
4997
+ return utils.NumberUtils.roundToNDecimal(localFeature.properties.distance, 1) + "m";
4998
+ }
4999
+ }
5000
+ ]
5001
+ };
5002
+ }
5003
+ Object.defineProperty(MapProximityToolComponent.prototype, "maxDistance", {
5004
+ get: function () {
5005
+ return this.mapProximityState.proximityRadiusValue$.value;
5006
+ },
5007
+ set: function (value) {
5008
+ this.mapProximityState.proximityRadiusValue$.next(value);
5009
+ },
5010
+ enumerable: false,
5011
+ configurable: true
5012
+ });
5013
+ Object.defineProperty(MapProximityToolComponent.prototype, "map", {
5014
+ get: function () {
5015
+ return this.mapState.map;
5016
+ },
5017
+ enumerable: false,
5018
+ configurable: true
5019
+ });
5020
+ MapProximityToolComponent.prototype.ngOnInit = function () {
5021
+ var _this = this;
5022
+ this.mapProximityState.enabled$.next(true);
5023
+ this.userDefinedFollowPosition = this.map.geolocationController.followPosition === true;
5024
+ this.userDefinedMapCenter = this.map.mapCenter$.value === true;
5025
+ this.subs$$.push(this.mapProximityState.proximitylocationType$.subscribe(function (v) {
5026
+ _this.map.mapCenter$.next(v !== 'geolocation');
5027
+ if (v === 'geolocation') {
5028
+ _this.map.geolocationController.followPosition = true;
5029
+ }
5030
+ else {
5031
+ _this.map.geolocationController.followPosition = false;
5032
+ }
5033
+ }));
5034
+ };
5035
+ MapProximityToolComponent.prototype.ngOnDestroy = function () {
5036
+ this.mapProximityState.enabled$.next(false);
5037
+ this.map.mapCenter$.next(this.userDefinedMapCenter);
5038
+ this.subs$$.map(function (s) { return s.unsubscribe(); });
5039
+ this.map.geolocationController.followPosition = this.userDefinedFollowPosition;
5040
+ };
5041
+ MapProximityToolComponent.prototype.onLocationTypeChange = function (e) {
5042
+ this.mapProximityState.proximitylocationType$.next(e.value);
5043
+ };
5044
+ /**
5045
+ * Copy the coordinates to a clipboard
5046
+ */
5047
+ MapProximityToolComponent.prototype.copyTextToClipboard = function () {
5048
+ var _a;
5049
+ var successful = utils.Clipboard.copy((_a = this.mapProximityState.currentPositionCoordinate$) === null || _a === void 0 ? void 0 : _a.value.toString());
5050
+ if (successful) {
5051
+ var translate = this.languageService.translate;
5052
+ var title = translate.instant('igo.integration.map-proximity-tool.copyTitle');
5053
+ var msg = translate.instant('igo.integration.map-proximity-tool.copyMsg');
5054
+ this.messageService.success(msg, title);
5055
+ }
5056
+ };
5057
+ return MapProximityToolComponent;
5058
+ }());
5059
+ exports.MapProximityToolComponent.ɵfac = function MapProximityToolComponent_Factory(t) { return new (t || exports.MapProximityToolComponent)(i0__namespace.ɵɵdirectiveInject(MapState), i0__namespace.ɵɵdirectiveInject(MapProximityState), i0__namespace.ɵɵdirectiveInject(i2__namespace.LanguageService), i0__namespace.ɵɵdirectiveInject(i2__namespace.MessageService)); };
5060
+ exports.MapProximityToolComponent.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: exports.MapProximityToolComponent, selectors: [["igo-map-proximity-tool"]], viewQuery: function MapProximityToolComponent_Query(rf, ctx) {
5061
+ if (rf & 1) {
5062
+ i0__namespace.ɵɵviewQuery(_c0$1, 7);
5063
+ }
5064
+ if (rf & 2) {
5065
+ var _t = void 0;
5066
+ i0__namespace.ɵɵqueryRefresh(_t = i0__namespace.ɵɵloadQuery()) && (ctx.table = _t.first);
5067
+ }
5068
+ }, decls: 31, vars: 35, consts: [[1, "table-compact", 3, "store", "template"], ["table", ""], ["class", "coordinates", 4, "ngIf"], ["class", "coordinates2", 4, "ngIf"], ["mat-icon-button", "", 3, "click", 4, "ngIf"], [1, "title-container"], [1, "title", "mat-typography"], [1, "igo-input-container", "mat-typography"], [3, "change"], ["value", "geolocation", 3, "checked"], ["value", "mapCenter", 3, "checked"], [1, "radius-unit"], ["appearance", "outline", "floatLabel", "always", 1, "measure-field"], ["type", "number", "pattern", "[0-9]*", "matInput", "", 3, "ngModel", "placeholder", "ngModelChange"], [1, "coordinates"], ["matInput", "", "readonly", "", "rows", "1", 3, "placeholder", "value"], ["textArea", ""], [1, "coordinates2"], ["mat-icon-button", "", 3, "click"], ["svgIcon", "content-copy"]], template: function MapProximityToolComponent_Template(rf, ctx) {
5069
+ if (rf & 1) {
5070
+ i0__namespace.ɵɵelement(0, "igo-entity-table", 0, 1);
5071
+ i0__namespace.ɵɵelement(2, "br");
5072
+ i0__namespace.ɵɵtemplate(3, MapProximityToolComponent_mat_form_field_3_Template, 4, 4, "mat-form-field", 2);
5073
+ i0__namespace.ɵɵpipe(4, "async");
5074
+ i0__namespace.ɵɵtemplate(5, MapProximityToolComponent_mat_form_field_5_Template, 4, 4, "mat-form-field", 3);
5075
+ i0__namespace.ɵɵpipe(6, "async");
5076
+ i0__namespace.ɵɵtemplate(7, MapProximityToolComponent_button_7_Template, 2, 0, "button", 4);
5077
+ i0__namespace.ɵɵpipe(8, "async");
5078
+ i0__namespace.ɵɵpipe(9, "async");
5079
+ i0__namespace.ɵɵelementStart(10, "div", 5);
5080
+ i0__namespace.ɵɵelementStart(11, "mat-label", 6);
5081
+ i0__namespace.ɵɵtext(12);
5082
+ i0__namespace.ɵɵpipe(13, "translate");
5083
+ i0__namespace.ɵɵelementEnd();
5084
+ i0__namespace.ɵɵelementEnd();
5085
+ i0__namespace.ɵɵelementStart(14, "div", 7);
5086
+ i0__namespace.ɵɵelementStart(15, "mat-radio-group", 8);
5087
+ i0__namespace.ɵɵlistener("change", function MapProximityToolComponent_Template_mat_radio_group_change_15_listener($event) { return ctx.onLocationTypeChange($event); });
5088
+ i0__namespace.ɵɵelementStart(16, "mat-radio-button", 9);
5089
+ i0__namespace.ɵɵpipe(17, "async");
5090
+ i0__namespace.ɵɵtext(18);
5091
+ i0__namespace.ɵɵpipe(19, "translate");
5092
+ i0__namespace.ɵɵelementEnd();
5093
+ i0__namespace.ɵɵelementStart(20, "mat-radio-button", 10);
5094
+ i0__namespace.ɵɵpipe(21, "async");
5095
+ i0__namespace.ɵɵtext(22);
5096
+ i0__namespace.ɵɵpipe(23, "translate");
5097
+ i0__namespace.ɵɵelementEnd();
5098
+ i0__namespace.ɵɵelementEnd();
5099
+ i0__namespace.ɵɵelementEnd();
5100
+ i0__namespace.ɵɵelementStart(24, "div", 11);
5101
+ i0__namespace.ɵɵelementStart(25, "mat-form-field", 12);
5102
+ i0__namespace.ɵɵelementStart(26, "mat-label");
5103
+ i0__namespace.ɵɵtext(27);
5104
+ i0__namespace.ɵɵpipe(28, "translate");
5105
+ i0__namespace.ɵɵelementEnd();
5106
+ i0__namespace.ɵɵelementStart(29, "input", 13);
5107
+ i0__namespace.ɵɵlistener("ngModelChange", function MapProximityToolComponent_Template_input_ngModelChange_29_listener($event) { return ctx.maxDistance = $event; });
5108
+ i0__namespace.ɵɵpipe(30, "translate");
5109
+ i0__namespace.ɵɵelementEnd();
5110
+ i0__namespace.ɵɵelementEnd();
5111
+ i0__namespace.ɵɵelementEnd();
5112
+ }
5113
+ if (rf & 2) {
5114
+ i0__namespace.ɵɵproperty("store", ctx.mapProximityState.proximityFeatureStore)("template", ctx.tableTemplate);
5115
+ i0__namespace.ɵɵadvance(3);
5116
+ i0__namespace.ɵɵproperty("ngIf", i0__namespace.ɵɵpipeBind1(4, 13, ctx.mapProximityState.currentPositionCoordinate$));
5117
+ i0__namespace.ɵɵadvance(2);
5118
+ i0__namespace.ɵɵproperty("ngIf", i0__namespace.ɵɵpipeBind1(6, 15, ctx.mapProximityState.currentPositionCoordinate$));
5119
+ i0__namespace.ɵɵadvance(2);
5120
+ i0__namespace.ɵɵproperty("ngIf", i0__namespace.ɵɵpipeBind1(8, 17, ctx.mapProximityState.currentPositionCoordinate$) && i0__namespace.ɵɵpipeBind1(9, 19, ctx.mapProximityState.currentPositionCoordinate$).length);
5121
+ i0__namespace.ɵɵadvance(5);
5122
+ i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(13, 21, "igo.integration.map-proximity-tool.method"));
5123
+ i0__namespace.ɵɵadvance(4);
5124
+ i0__namespace.ɵɵproperty("checked", i0__namespace.ɵɵpipeBind1(17, 23, ctx.mapProximityState.proximitylocationType$) === "geolocation");
5125
+ i0__namespace.ɵɵadvance(2);
5126
+ i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(19, 25, "igo.integration.map-proximity-tool.geolocation"));
5127
+ i0__namespace.ɵɵadvance(2);
5128
+ i0__namespace.ɵɵproperty("checked", i0__namespace.ɵɵpipeBind1(21, 27, ctx.mapProximityState.proximitylocationType$) === "mapCenter");
5129
+ i0__namespace.ɵɵadvance(2);
5130
+ i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(23, 29, "igo.integration.map-proximity-tool.mapCenter"));
5131
+ i0__namespace.ɵɵadvance(5);
5132
+ i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(28, 31, "igo.integration.map-proximity-tool.radiusM"));
5133
+ i0__namespace.ɵɵadvance(2);
5134
+ i0__namespace.ɵɵpropertyInterpolate("placeholder", i0__namespace.ɵɵpipeBind1(30, 33, "igo.integration.map-proximity-tool.radiusM"));
5135
+ i0__namespace.ɵɵproperty("ngModel", ctx.maxDistance);
5136
+ }
5137
+ }, directives: [i4__namespace.EntityTableComponent, i5__namespace.NgIf, i6__namespace$1.MatLabel, i7__namespace$2.MatRadioGroup, i7__namespace$2.MatRadioButton, i6__namespace$1.MatFormField, i3__namespace$1.NumberValueAccessor, i10__namespace$1.MatInput, i3__namespace$1.DefaultValueAccessor, i3__namespace$1.PatternValidator, i3__namespace$1.NgControlStatus, i3__namespace$1.NgModel, i3__namespace.MatButton, i6__namespace.MatIcon], pipes: [i5__namespace.AsyncPipe, i8__namespace.TranslatePipe], styles: [".table-compact[_ngcontent-%COMP%]{height:auto}.table-compact[_ngcontent-%COMP%] .mat-header-cell.mat-column-selectionCheckbox{width:52px}textarea[_ngcontent-%COMP%]{resize:none}mat-form-field[_ngcontent-%COMP%]{padding:10px 15px}mat-form-field.coordinates[_ngcontent-%COMP%]{width:110px}mat-form-field.coordinates2[_ngcontent-%COMP%]{width:100px;padding:0 10px 0 3px}mat-form-field.igo-input-container[_ngcontent-%COMP%]{width:60%;padding:0 15px}.radius-unit[_ngcontent-%COMP%]{display:flex;width:90%;margin-left:2px;padding:5px}.radius-field[_ngcontent-%COMP%]{display:flex;flex-flow:column nowrap;width:60%}.title-container[_ngcontent-%COMP%]{padding:10px}.title[_ngcontent-%COMP%]{margin-left:5px;font-size:medium;font-size:initial}.mat-radio-group[_ngcontent-%COMP%]{display:flex;flex-direction:column;padding-top:10px}.mat-radio-button[_ngcontent-%COMP%]{display:inline-flex;position:relative;margin-left:16px;margin-top:10px}"] });
5138
+ exports.MapProximityToolComponent = __decorate([
5139
+ i4.ToolComponent({
5140
+ name: 'map-proximity',
5141
+ title: 'igo.integration.tools.closestFeature',
5142
+ icon: 'radius'
5143
+ })
5144
+ /**
5145
+ * Tool to handle the advanced map tools
5146
+ */
5147
+ ], exports.MapProximityToolComponent);
5148
+ (function () {
5149
+ (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(exports.MapProximityToolComponent, [{
5150
+ type: i0.Component,
5151
+ args: [{
5152
+ selector: 'igo-map-proximity-tool',
5153
+ templateUrl: './map-proximity-tool.component.html',
5154
+ styleUrls: ['./map-proximity-tool.component.scss']
5155
+ }]
5156
+ }], function () { return [{ type: MapState }, { type: MapProximityState }, { type: i2__namespace.LanguageService }, { type: i2__namespace.MessageService }]; }, { table: [{
5157
+ type: i0.ViewChild,
5158
+ args: ['table', { static: true }]
5159
+ }] });
4687
5160
  })();
4688
5161
 
4689
5162
  var IgoAppMapModule = /** @class */ (function () {
@@ -4710,22 +5183,24 @@
4710
5183
  i10$1.MatInputModule,
4711
5184
  checkbox.MatCheckboxModule,
4712
5185
  i4.IgoSpinnerModule,
4713
- i4$1.CommonModule,
4714
- i5.MatTabsModule,
5186
+ i5.CommonModule,
5187
+ i5$1.MatTabsModule,
4715
5188
  i7.MatListModule,
4716
5189
  i6.MatIconModule,
4717
- i2$1.IgoLanguageModule,
5190
+ i2.IgoLanguageModule,
4718
5191
  i1$1.IgoLayerModule,
4719
5192
  i1$1.IgoMetadataModule,
4720
5193
  i1$1.IgoDownloadModule,
4721
5194
  i1$1.IgoImportExportModule,
4722
5195
  i1$1.IgoFilterModule,
5196
+ i7$2.MatRadioModule,
4723
5197
  i1.IgoContextModule,
4724
5198
  IgoAppWorkspaceModule,
4725
5199
  i10.MatSlideToggleModule,
4726
5200
  i6$2.MatMenuModule,
4727
5201
  i3.MatButtonModule,
4728
- i4$2.MatTooltipModule
5202
+ i4$1.MatTooltipModule,
5203
+ i4.IgoEntityTableModule
4729
5204
  ]] });
4730
5205
  (function () {
4731
5206
  (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(IgoAppMapModule, [{
@@ -4742,32 +5217,35 @@
4742
5217
  i10$1.MatInputModule,
4743
5218
  checkbox.MatCheckboxModule,
4744
5219
  i4.IgoSpinnerModule,
4745
- i4$1.CommonModule,
4746
- i5.MatTabsModule,
5220
+ i5.CommonModule,
5221
+ i5$1.MatTabsModule,
4747
5222
  i7.MatListModule,
4748
5223
  i6.MatIconModule,
4749
- i2$1.IgoLanguageModule,
5224
+ i2.IgoLanguageModule,
4750
5225
  i1$1.IgoLayerModule,
4751
5226
  i1$1.IgoMetadataModule,
4752
5227
  i1$1.IgoDownloadModule,
4753
5228
  i1$1.IgoImportExportModule,
4754
5229
  i1$1.IgoFilterModule,
5230
+ i7$2.MatRadioModule,
4755
5231
  i1.IgoContextModule,
4756
5232
  IgoAppWorkspaceModule,
4757
5233
  i10.MatSlideToggleModule,
4758
5234
  i6$2.MatMenuModule,
4759
5235
  i3.MatButtonModule,
4760
- i4$2.MatTooltipModule
5236
+ i4$1.MatTooltipModule,
5237
+ i4.IgoEntityTableModule
4761
5238
  ],
4762
- declarations: [exports.AdvancedMapToolComponent, exports.MapToolComponent,
5239
+ declarations: [exports.AdvancedMapToolComponent, exports.MapProximityToolComponent, exports.MapToolComponent,
4763
5240
  exports.MapToolsComponent, exports.MapDetailsToolComponent, exports.MapLegendToolComponent, AdvancedSwipeComponent, AdvancedCoordinatesComponent],
4764
- exports: [exports.AdvancedMapToolComponent, exports.MapToolComponent, exports.MapToolsComponent, exports.MapDetailsToolComponent, exports.MapLegendToolComponent],
5241
+ exports: [exports.AdvancedMapToolComponent, exports.MapProximityToolComponent, exports.MapToolComponent,
5242
+ exports.MapToolsComponent, exports.MapDetailsToolComponent, exports.MapLegendToolComponent],
4765
5243
  schemas: [i0.CUSTOM_ELEMENTS_SCHEMA]
4766
5244
  }]
4767
5245
  }], null, null);
4768
5246
  })();
4769
5247
  (function () {
4770
- (typeof ngJitMode === "undefined" || ngJitMode) && i0__namespace.ɵɵsetNgModuleScope(IgoAppMapModule, { declarations: [exports.AdvancedMapToolComponent, exports.MapToolComponent,
5248
+ (typeof ngJitMode === "undefined" || ngJitMode) && i0__namespace.ɵɵsetNgModuleScope(IgoAppMapModule, { declarations: [exports.AdvancedMapToolComponent, exports.MapProximityToolComponent, exports.MapToolComponent,
4771
5249
  exports.MapToolsComponent, exports.MapDetailsToolComponent, exports.MapLegendToolComponent, AdvancedSwipeComponent, AdvancedCoordinatesComponent], imports: [i3$1.FormsModule,
4772
5250
  i3$1.ReactiveFormsModule,
4773
5251
  buttonToggle.MatButtonToggleModule,
@@ -4778,22 +5256,25 @@
4778
5256
  i10$1.MatInputModule,
4779
5257
  checkbox.MatCheckboxModule,
4780
5258
  i4.IgoSpinnerModule,
4781
- i4$1.CommonModule,
4782
- i5.MatTabsModule,
5259
+ i5.CommonModule,
5260
+ i5$1.MatTabsModule,
4783
5261
  i7.MatListModule,
4784
5262
  i6.MatIconModule,
4785
- i2$1.IgoLanguageModule,
5263
+ i2.IgoLanguageModule,
4786
5264
  i1$1.IgoLayerModule,
4787
5265
  i1$1.IgoMetadataModule,
4788
5266
  i1$1.IgoDownloadModule,
4789
5267
  i1$1.IgoImportExportModule,
4790
5268
  i1$1.IgoFilterModule,
5269
+ i7$2.MatRadioModule,
4791
5270
  i1.IgoContextModule,
4792
5271
  IgoAppWorkspaceModule,
4793
5272
  i10.MatSlideToggleModule,
4794
5273
  i6$2.MatMenuModule,
4795
5274
  i3.MatButtonModule,
4796
- i4$2.MatTooltipModule], exports: [exports.AdvancedMapToolComponent, exports.MapToolComponent, exports.MapToolsComponent, exports.MapDetailsToolComponent, exports.MapLegendToolComponent] });
5275
+ i4$1.MatTooltipModule,
5276
+ i4.IgoEntityTableModule], exports: [exports.AdvancedMapToolComponent, exports.MapProximityToolComponent, exports.MapToolComponent,
5277
+ exports.MapToolsComponent, exports.MapDetailsToolComponent, exports.MapLegendToolComponent] });
4797
5278
  })();
4798
5279
 
4799
5280
  /**
@@ -5099,7 +5580,7 @@
5099
5580
  };
5100
5581
  return SearchState;
5101
5582
  }());
5102
- SearchState.ɵfac = function SearchState_Factory(t) { return new (t || SearchState)(i0__namespace.ɵɵinject(i1__namespace$1.SearchSourceService), i0__namespace.ɵɵinject(i2__namespace$1.StorageService), i0__namespace.ɵɵinject(i2__namespace$1.ConfigService)); };
5583
+ SearchState.ɵfac = function SearchState_Factory(t) { return new (t || SearchState)(i0__namespace.ɵɵinject(i1__namespace$1.SearchSourceService), i0__namespace.ɵɵinject(i2__namespace.StorageService), i0__namespace.ɵɵinject(i2__namespace.ConfigService)); };
5103
5584
  SearchState.ɵprov = /*@__PURE__*/ i0__namespace.ɵɵdefineInjectable({ token: SearchState, factory: SearchState.ɵfac, providedIn: 'root' });
5104
5585
  (function () {
5105
5586
  (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(SearchState, [{
@@ -5107,7 +5588,7 @@
5107
5588
  args: [{
5108
5589
  providedIn: 'root'
5109
5590
  }]
5110
- }], function () { return [{ type: i1__namespace$1.SearchSourceService }, { type: i2__namespace$1.StorageService }, { type: i2__namespace$1.ConfigService }]; }, null);
5591
+ }], function () { return [{ type: i1__namespace$1.SearchSourceService }, { type: i2__namespace.StorageService }, { type: i2__namespace.ConfigService }]; }, null);
5111
5592
  })();
5112
5593
 
5113
5594
  var SearchBarBindingDirective = /** @class */ (function () {
@@ -5237,7 +5718,7 @@
5237
5718
  i0__namespace.ɵɵproperty("innerHTML", i0__namespace.ɵɵpipeBind1(11, 7, i0__namespace.ɵɵpipeBind1(12, 9, "igo.integration.searchResultsTool.examples")), i0__namespace.ɵɵsanitizeHtml);
5238
5719
  }
5239
5720
  }
5240
- function SearchResultsToolComponent_igo_flexible_1_ng_template_5_Template(rf, ctx) {
5721
+ function SearchResultsToolComponent_igo_flexible_2_ng_template_5_Template(rf, ctx) {
5241
5722
  if (rf & 1) {
5242
5723
  i0__namespace.ɵɵelement(0, "igo-search-add-button", 12);
5243
5724
  }
@@ -5247,11 +5728,11 @@
5247
5728
  i0__namespace.ɵɵproperty("map", ctx_r4.map)("layer", result_r6);
5248
5729
  }
5249
5730
  }
5250
- function SearchResultsToolComponent_igo_flexible_1_igo_panel_8_button_4_Template(rf, ctx) {
5731
+ function SearchResultsToolComponent_igo_flexible_2_igo_panel_8_button_4_Template(rf, ctx) {
5251
5732
  if (rf & 1) {
5252
5733
  var _r9_1 = i0__namespace.ɵɵgetCurrentView();
5253
5734
  i0__namespace.ɵɵelementStart(0, "button", 18);
5254
- i0__namespace.ɵɵlistener("click", function SearchResultsToolComponent_igo_flexible_1_igo_panel_8_button_4_Template_button_click_0_listener() { i0__namespace.ɵɵrestoreView(_r9_1); var ctx_r8 = i0__namespace.ɵɵnextContext(3); return ctx_r8.zoomToFeatureExtent(); });
5735
+ i0__namespace.ɵɵlistener("click", function SearchResultsToolComponent_igo_flexible_2_igo_panel_8_button_4_Template_button_click_0_listener() { i0__namespace.ɵɵrestoreView(_r9_1); var ctx_r8 = i0__namespace.ɵɵnextContext(3); return ctx_r8.zoomToFeatureExtent(); });
5255
5736
  i0__namespace.ɵɵpipe(1, "translate");
5256
5737
  i0__namespace.ɵɵpipe(2, "async");
5257
5738
  i0__namespace.ɵɵelement(3, "mat-icon", 19);
@@ -5266,18 +5747,18 @@
5266
5747
  i0__namespace.ɵɵproperty("matBadge", i0__namespace.ɵɵpipeBind1(4, 7, ctx_r7.isSelectedResultOutOfView$) ? "!" : "")("matBadgeHidden", i0__namespace.ɵɵpipeBind1(5, 9, ctx_r7.isSelectedResultOutOfView$) === false);
5267
5748
  }
5268
5749
  }
5269
- function SearchResultsToolComponent_igo_flexible_1_igo_panel_8_Template(rf, ctx) {
5750
+ function SearchResultsToolComponent_igo_flexible_2_igo_panel_8_Template(rf, ctx) {
5270
5751
  if (rf & 1) {
5271
5752
  var _r11_1 = i0__namespace.ɵɵgetCurrentView();
5272
5753
  i0__namespace.ɵɵelementStart(0, "igo-panel", 13);
5273
5754
  i0__namespace.ɵɵelementStart(1, "button", 14);
5274
- i0__namespace.ɵɵlistener("click", function SearchResultsToolComponent_igo_flexible_1_igo_panel_8_Template_button_click_1_listener() { i0__namespace.ɵɵrestoreView(_r11_1); var ctx_r10 = i0__namespace.ɵɵnextContext(2); return ctx_r10.toggleTopPanel(); });
5755
+ i0__namespace.ɵɵlistener("click", function SearchResultsToolComponent_igo_flexible_2_igo_panel_8_Template_button_click_1_listener() { i0__namespace.ɵɵrestoreView(_r11_1); var ctx_r10 = i0__namespace.ɵɵnextContext(2); return ctx_r10.toggleTopPanel(); });
5275
5756
  i0__namespace.ɵɵelement(2, "mat-icon", 15);
5276
5757
  i0__namespace.ɵɵpipe(3, "async");
5277
5758
  i0__namespace.ɵɵelementEnd();
5278
- i0__namespace.ɵɵtemplate(4, SearchResultsToolComponent_igo_flexible_1_igo_panel_8_button_4_Template, 6, 11, "button", 16);
5759
+ i0__namespace.ɵɵtemplate(4, SearchResultsToolComponent_igo_flexible_2_igo_panel_8_button_4_Template, 6, 11, "button", 16);
5279
5760
  i0__namespace.ɵɵelementStart(5, "igo-feature-details", 17);
5280
- i0__namespace.ɵɵlistener("routingEvent", function SearchResultsToolComponent_igo_flexible_1_igo_panel_8_Template_igo_feature_details_routingEvent_5_listener() { i0__namespace.ɵɵrestoreView(_r11_1); var ctx_r12 = i0__namespace.ɵɵnextContext(2); return ctx_r12.getRoute(); });
5761
+ i0__namespace.ɵɵlistener("routingEvent", function SearchResultsToolComponent_igo_flexible_2_igo_panel_8_Template_igo_feature_details_routingEvent_5_listener() { i0__namespace.ɵɵrestoreView(_r11_1); var ctx_r12 = i0__namespace.ɵɵnextContext(2); return ctx_r12.getRoute(); });
5281
5762
  i0__namespace.ɵɵpipe(6, "async");
5282
5763
  i0__namespace.ɵɵelementEnd();
5283
5764
  i0__namespace.ɵɵelementEnd();
@@ -5293,19 +5774,19 @@
5293
5774
  i0__namespace.ɵɵproperty("feature", i0__namespace.ɵɵpipeBind1(6, 8, ctx_r5.feature$))("map", ctx_r5.map)("toolbox", ctx_r5.toolState.toolbox);
5294
5775
  }
5295
5776
  }
5296
- function SearchResultsToolComponent_igo_flexible_1_Template(rf, ctx) {
5777
+ function SearchResultsToolComponent_igo_flexible_2_Template(rf, ctx) {
5297
5778
  if (rf & 1) {
5298
5779
  var _r14_1 = i0__namespace.ɵɵgetCurrentView();
5299
5780
  i0__namespace.ɵɵelementStart(0, "igo-flexible", 5, 6);
5300
5781
  i0__namespace.ɵɵpipe(2, "async");
5301
5782
  i0__namespace.ɵɵelementStart(3, "div", 7);
5302
5783
  i0__namespace.ɵɵelementStart(4, "igo-search-results", 8);
5303
- i0__namespace.ɵɵlistener("resultFocus", function SearchResultsToolComponent_igo_flexible_1_Template_igo_search_results_resultFocus_4_listener($event) { i0__namespace.ɵɵrestoreView(_r14_1); var ctx_r13 = i0__namespace.ɵɵnextContext(); return ctx_r13.onResultFocus($event); })("resultSelect", function SearchResultsToolComponent_igo_flexible_1_Template_igo_search_results_resultSelect_4_listener($event) { i0__namespace.ɵɵrestoreView(_r14_1); var ctx_r15 = i0__namespace.ɵɵnextContext(); return ctx_r15.onResultSelect($event); })("resultUnfocus", function SearchResultsToolComponent_igo_flexible_1_Template_igo_search_results_resultUnfocus_4_listener($event) { i0__namespace.ɵɵrestoreView(_r14_1); var ctx_r16 = i0__namespace.ɵɵnextContext(); return ctx_r16.onResultUnfocus($event); })("resultMouseenter", function SearchResultsToolComponent_igo_flexible_1_Template_igo_search_results_resultMouseenter_4_listener($event) { i0__namespace.ɵɵrestoreView(_r14_1); var ctx_r17 = i0__namespace.ɵɵnextContext(); return ctx_r17.onResultFocus($event); })("resultMouseleave", function SearchResultsToolComponent_igo_flexible_1_Template_igo_search_results_resultMouseleave_4_listener($event) { i0__namespace.ɵɵrestoreView(_r14_1); var ctx_r18 = i0__namespace.ɵɵnextContext(); return ctx_r18.onResultUnfocus($event); })("moreResults", function SearchResultsToolComponent_igo_flexible_1_Template_igo_search_results_moreResults_4_listener($event) { i0__namespace.ɵɵrestoreView(_r14_1); var ctx_r19 = i0__namespace.ɵɵnextContext(); return ctx_r19.onSearch($event); });
5304
- i0__namespace.ɵɵtemplate(5, SearchResultsToolComponent_igo_flexible_1_ng_template_5_Template, 1, 2, "ng-template", null, 9, i0__namespace.ɵɵtemplateRefExtractor);
5784
+ i0__namespace.ɵɵlistener("resultFocus", function SearchResultsToolComponent_igo_flexible_2_Template_igo_search_results_resultFocus_4_listener($event) { i0__namespace.ɵɵrestoreView(_r14_1); var ctx_r13 = i0__namespace.ɵɵnextContext(); return ctx_r13.onResultFocus($event); })("resultSelect", function SearchResultsToolComponent_igo_flexible_2_Template_igo_search_results_resultSelect_4_listener($event) { i0__namespace.ɵɵrestoreView(_r14_1); var ctx_r15 = i0__namespace.ɵɵnextContext(); return ctx_r15.onResultSelect($event); })("resultUnfocus", function SearchResultsToolComponent_igo_flexible_2_Template_igo_search_results_resultUnfocus_4_listener($event) { i0__namespace.ɵɵrestoreView(_r14_1); var ctx_r16 = i0__namespace.ɵɵnextContext(); return ctx_r16.onResultUnfocus($event); })("resultMouseenter", function SearchResultsToolComponent_igo_flexible_2_Template_igo_search_results_resultMouseenter_4_listener($event) { i0__namespace.ɵɵrestoreView(_r14_1); var ctx_r17 = i0__namespace.ɵɵnextContext(); return ctx_r17.onResultFocus($event); })("resultMouseleave", function SearchResultsToolComponent_igo_flexible_2_Template_igo_search_results_resultMouseleave_4_listener($event) { i0__namespace.ɵɵrestoreView(_r14_1); var ctx_r18 = i0__namespace.ɵɵnextContext(); return ctx_r18.onResultUnfocus($event); })("moreResults", function SearchResultsToolComponent_igo_flexible_2_Template_igo_search_results_moreResults_4_listener($event) { i0__namespace.ɵɵrestoreView(_r14_1); var ctx_r19 = i0__namespace.ɵɵnextContext(); return ctx_r19.onSearch($event); });
5785
+ i0__namespace.ɵɵtemplate(5, SearchResultsToolComponent_igo_flexible_2_ng_template_5_Template, 1, 2, "ng-template", null, 9, i0__namespace.ɵɵtemplateRefExtractor);
5305
5786
  i0__namespace.ɵɵelementEnd();
5306
5787
  i0__namespace.ɵɵelementEnd();
5307
5788
  i0__namespace.ɵɵelementStart(7, "div", 10);
5308
- i0__namespace.ɵɵtemplate(8, SearchResultsToolComponent_igo_flexible_1_igo_panel_8_Template, 7, 10, "igo-panel", 11);
5789
+ i0__namespace.ɵɵtemplate(8, SearchResultsToolComponent_igo_flexible_2_igo_panel_8_Template, 7, 10, "igo-panel", 11);
5309
5790
  i0__namespace.ɵɵpipe(9, "async");
5310
5791
  i0__namespace.ɵɵelementEnd();
5311
5792
  i0__namespace.ɵɵelementEnd();
@@ -5333,11 +5814,16 @@
5333
5814
  * to show hide results icons
5334
5815
  */
5335
5816
  this.showIcons = true;
5817
+ /**
5818
+ * Determine the top panel default state
5819
+ */
5820
+ this.topPanelStateDefault = 'expanded';
5336
5821
  this.hasFeatureEmphasisOnSelection = false;
5337
5822
  this.shownResultsGeometries = [];
5338
5823
  this.shownResultsEmphasisGeometries = [];
5339
5824
  this.focusedResult$ = new rxjs.BehaviorSubject(undefined);
5340
5825
  this.isSelectedResultOutOfView$ = new rxjs.BehaviorSubject(false);
5826
+ this.debouncedEmpty$ = new rxjs.BehaviorSubject(true);
5341
5827
  this.term = '';
5342
5828
  this.settingsChange$ = new rxjs.BehaviorSubject(undefined);
5343
5829
  this.topPanelState$ = new rxjs.BehaviorSubject('initial');
@@ -5487,6 +5973,7 @@
5487
5973
  }
5488
5974
  });
5489
5975
  });
5976
+ this.debouncedEmpty$$ = this.store.stateView.empty$.pipe(operators.debounceTime(1500)).subscribe(function (empty) { return _this.debouncedEmpty$.next(empty); });
5490
5977
  };
5491
5978
  SearchResultsToolComponent.prototype.monitorResultOutOfView = function () {
5492
5979
  var _this = this;
@@ -5588,6 +6075,9 @@
5588
6075
  if (this.getRoute$$) {
5589
6076
  this.getRoute$$.unsubscribe();
5590
6077
  }
6078
+ if (this.debouncedEmpty$$) {
6079
+ this.debouncedEmpty$$.unsubscribe();
6080
+ }
5591
6081
  };
5592
6082
  /**
5593
6083
  * Try to add a feature to the map when it's being focused
@@ -5629,22 +6119,23 @@
5629
6119
  * @param result A search result that could be a feature or some layer options
5630
6120
  */
5631
6121
  SearchResultsToolComponent.prototype.onResultSelect = function (result) {
5632
- var _this = this;
5633
6122
  this.map.searchResultsOverlay.dataSource.ol.clear();
5634
6123
  this.tryAddFeatureToMap(result);
5635
6124
  this.searchState.setSelectedResult(result);
5636
- if (this.topPanelState === 'expanded') {
5637
- var igoList_1 = this.computeElementRef()[0];
5638
- var selected_1 = this.computeElementRef()[1];
5639
- setTimeout(function () {
5640
- // To be sure the flexible component has been displayed yet
5641
- if (!_this.isScrolledIntoView(igoList_1, selected_1)) {
5642
- _this.adjustTopPanel(igoList_1, selected_1);
5643
- }
5644
- }, i4.FlexibleComponent.transitionTime + 50);
5645
- }
5646
6125
  if (this.topPanelState === 'initial') {
5647
- this.topPanelState = 'expanded';
6126
+ if (this.topPanelStateDefault !== 'collapsed') {
6127
+ this.topPanelState = 'expanded';
6128
+ }
6129
+ else {
6130
+ this.topPanelState = 'collapsed';
6131
+ }
6132
+ }
6133
+ if (this.topPanelState === 'expanded') {
6134
+ var igoList = this.computeElementRef()[0];
6135
+ var selected = this.computeElementRef()[1];
6136
+ if (!this.isScrolledIntoView(igoList, selected)) {
6137
+ this.adjustTopPanel(igoList, selected);
6138
+ }
5648
6139
  }
5649
6140
  };
5650
6141
  SearchResultsToolComponent.prototype.onSearch = function (event) {
@@ -5788,25 +6279,35 @@
5788
6279
  stop.text = _this.featureTitle;
5789
6280
  stop.coordinates = coord;
5790
6281
  _this.directionState.stopsStore.update(stop);
6282
+ if (_this.map.geolocationController.position$.value) {
6283
+ var currentPos = _this.map.geolocationController.position$.value;
6284
+ var stop_1 = _this.directionState.stopsStore.all().find(function (e) { return e.position === 0; });
6285
+ var currentCoord = olProj__namespace.transform(currentPos.position, currentPos.projection, 'EPSG:4326');
6286
+ var coord_1 = i1$1.roundCoordTo([currentCoord[0], currentCoord[1]], 6);
6287
+ stop_1.text = coord_1.join(',');
6288
+ stop_1.coordinates = coord_1;
6289
+ _this.directionState.stopsStore.update(stop_1);
6290
+ }
5791
6291
  }
5792
6292
  });
5793
6293
  }, 250);
5794
6294
  };
5795
6295
  return SearchResultsToolComponent;
5796
6296
  }());
5797
- exports.SearchResultsToolComponent.ɵfac = function SearchResultsToolComponent_Factory(t) { return new (t || exports.SearchResultsToolComponent)(i0__namespace.ɵɵdirectiveInject(MapState), i0__namespace.ɵɵdirectiveInject(SearchState), i0__namespace.ɵɵdirectiveInject(i0__namespace.ElementRef), i0__namespace.ɵɵdirectiveInject(ToolState), i0__namespace.ɵɵdirectiveInject(DirectionState), i0__namespace.ɵɵdirectiveInject(i2__namespace$1.ConfigService)); };
5798
- exports.SearchResultsToolComponent.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: exports.SearchResultsToolComponent, selectors: [["igo-search-results-tool"]], inputs: { showIcons: "showIcons", topPanelState: "topPanelState" }, decls: 3, vars: 4, consts: [["style", "margin: 10px;", 4, "ngIf"], ["initial", "100%", "initialMobile", "100%", "collapsed", "calc(100% - 58px)", "collapsedMobile", "calc(100% - 58px)", "expanded", "60%", "expandedMobile", "60%", 3, "state", 4, "ngIf"], [2, "margin", "10px"], [1, "mat-typography"], [3, "innerHTML"], ["initial", "100%", "initialMobile", "100%", "collapsed", "calc(100% - 58px)", "collapsedMobile", "calc(100% - 58px)", "expanded", "60%", "expandedMobile", "60%", 3, "state"], ["topPanel", ""], [1, "igo-content"], ["placeholder", "false", 3, "store", "showIcons", "term", "termSplitter", "settingsChange$", "resultFocus", "resultSelect", "resultUnfocus", "resultMouseenter", "resultMouseleave", "moreResults"], ["igoSearchItemToolbar", ""], ["igoFlexibleFill", "", 1, "igo-content"], [3, "title", 4, "ngIf"], [3, "map", "layer"], [3, "title"], ["mat-icon-button", "", "panelLeftButton", "", 1, "igo-icon-button", 3, "click"], [3, "svgIcon"], ["mat-icon-button", "", "panelRightButton", "", "class", "igo-icon-button", "matTooltipShowDelay", "500", 3, "matTooltip", "click", 4, "ngIf"], ["igoFeatureDetailsDirective", "", 3, "feature", "map", "toolbox", "routingEvent"], ["mat-icon-button", "", "panelRightButton", "", "matTooltipShowDelay", "500", 1, "igo-icon-button", 3, "matTooltip", "click"], ["matBadgeColor", "accent", "matBadgeSize", "small", "svgIcon", "magnify-plus-outline", 3, "matBadge", "matBadgeHidden"]], template: function SearchResultsToolComponent_Template(rf, ctx) {
6297
+ exports.SearchResultsToolComponent.ɵfac = function SearchResultsToolComponent_Factory(t) { return new (t || exports.SearchResultsToolComponent)(i0__namespace.ɵɵdirectiveInject(MapState), i0__namespace.ɵɵdirectiveInject(SearchState), i0__namespace.ɵɵdirectiveInject(i0__namespace.ElementRef), i0__namespace.ɵɵdirectiveInject(ToolState), i0__namespace.ɵɵdirectiveInject(DirectionState), i0__namespace.ɵɵdirectiveInject(i2__namespace.ConfigService)); };
6298
+ exports.SearchResultsToolComponent.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: exports.SearchResultsToolComponent, selectors: [["igo-search-results-tool"]], inputs: { showIcons: "showIcons", topPanelStateDefault: "topPanelStateDefault", topPanelState: "topPanelState" }, decls: 4, vars: 6, consts: [["style", "margin: 10px;", 4, "ngIf"], ["initial", "100%", "initialMobile", "100%", "collapsed", "calc(100% - 58px)", "collapsedMobile", "calc(100% - 58px)", "expanded", "60%", "expandedMobile", "60%", 3, "state", 4, "ngIf"], [2, "margin", "10px"], [1, "mat-typography"], [3, "innerHTML"], ["initial", "100%", "initialMobile", "100%", "collapsed", "calc(100% - 58px)", "collapsedMobile", "calc(100% - 58px)", "expanded", "60%", "expandedMobile", "60%", 3, "state"], ["topPanel", ""], [1, "igo-content"], ["placeholder", "false", 3, "store", "showIcons", "term", "termSplitter", "settingsChange$", "resultFocus", "resultSelect", "resultUnfocus", "resultMouseenter", "resultMouseleave", "moreResults"], ["igoSearchItemToolbar", ""], ["igoFlexibleFill", "", 1, "igo-content"], [3, "title", 4, "ngIf"], [3, "map", "layer"], [3, "title"], ["mat-icon-button", "", "panelLeftButton", "", 1, "igo-icon-button", 3, "click"], [3, "svgIcon"], ["mat-icon-button", "", "panelRightButton", "", "class", "igo-icon-button", "matTooltipShowDelay", "500", 3, "matTooltip", "click", 4, "ngIf"], ["igoFeatureDetailsDirective", "", 3, "feature", "map", "toolbox", "routingEvent"], ["mat-icon-button", "", "panelRightButton", "", "matTooltipShowDelay", "500", 1, "igo-icon-button", 3, "matTooltip", "click"], ["matBadgeColor", "accent", "matBadgeSize", "small", "svgIcon", "magnify-plus-outline", 3, "matBadge", "matBadgeHidden"]], template: function SearchResultsToolComponent_Template(rf, ctx) {
5799
6299
  if (rf & 1) {
5800
6300
  i0__namespace.ɵɵtemplate(0, SearchResultsToolComponent_div_0_Template, 13, 11, "div", 0);
5801
- i0__namespace.ɵɵtemplate(1, SearchResultsToolComponent_igo_flexible_1_Template, 10, 11, "igo-flexible", 1);
5802
- i0__namespace.ɵɵpipe(2, "async");
6301
+ i0__namespace.ɵɵpipe(1, "async");
6302
+ i0__namespace.ɵɵtemplate(2, SearchResultsToolComponent_igo_flexible_2_Template, 10, 11, "igo-flexible", 1);
6303
+ i0__namespace.ɵɵpipe(3, "async");
5803
6304
  }
5804
6305
  if (rf & 2) {
5805
- i0__namespace.ɵɵproperty("ngIf", !ctx.store || ctx.store.stateView.empty);
5806
- i0__namespace.ɵɵadvance(1);
5807
- i0__namespace.ɵɵproperty("ngIf", ctx.store && i0__namespace.ɵɵpipeBind1(2, 2, ctx.store.stateView.empty$) === false);
6306
+ i0__namespace.ɵɵproperty("ngIf", (!ctx.store || ctx.store.stateView.empty) && i0__namespace.ɵɵpipeBind1(1, 2, ctx.debouncedEmpty$));
6307
+ i0__namespace.ɵɵadvance(2);
6308
+ i0__namespace.ɵɵproperty("ngIf", ctx.store && i0__namespace.ɵɵpipeBind1(3, 4, ctx.store.stateView.empty$) === false);
5808
6309
  }
5809
- }, directives: [i4__namespace$1.NgIf, i4__namespace.FlexibleComponent, i1__namespace$1.SearchResultsComponent, i1__namespace$1.SearchResultAddButtonComponent, i4__namespace.PanelComponent, i3__namespace.MatButton, i6__namespace.MatIcon, i1__namespace$1.FeatureDetailsComponent, i1__namespace$1.FeatureDetailsDirective, i4__namespace$2.MatTooltip, i12__namespace.MatBadge], pipes: [i4__namespace$1.AsyncPipe, i8__namespace.TranslatePipe, i4__namespace.SanitizeHtmlPipe], encapsulation: 2, changeDetection: 0 });
6310
+ }, directives: [i5__namespace.NgIf, i4__namespace.FlexibleComponent, i1__namespace$1.SearchResultsComponent, i1__namespace$1.SearchResultAddButtonComponent, i4__namespace.PanelComponent, i3__namespace.MatButton, i6__namespace.MatIcon, i1__namespace$1.FeatureDetailsComponent, i1__namespace$1.FeatureDetailsDirective, i4__namespace$1.MatTooltip, i12__namespace.MatBadge], pipes: [i5__namespace.AsyncPipe, i8__namespace.TranslatePipe, i4__namespace.SanitizeHtmlPipe], encapsulation: 2, changeDetection: 0 });
5810
6311
  exports.SearchResultsToolComponent = __decorate([
5811
6312
  i4.ToolComponent({
5812
6313
  name: 'searchResults',
@@ -5822,7 +6323,9 @@
5822
6323
  templateUrl: './search-results-tool.component.html',
5823
6324
  changeDetection: i0.ChangeDetectionStrategy.OnPush
5824
6325
  }]
5825
- }], function () { return [{ type: MapState }, { type: SearchState }, { type: i0__namespace.ElementRef }, { type: ToolState }, { type: DirectionState }, { type: i2__namespace$1.ConfigService }]; }, { showIcons: [{
6326
+ }], function () { return [{ type: MapState }, { type: SearchState }, { type: i0__namespace.ElementRef }, { type: ToolState }, { type: DirectionState }, { type: i2__namespace.ConfigService }]; }, { showIcons: [{
6327
+ type: i0.Input
6328
+ }], topPanelStateDefault: [{
5826
6329
  type: i0.Input
5827
6330
  }], topPanelState: [{
5828
6331
  type: i0.Input
@@ -5840,12 +6343,12 @@
5840
6343
  IgoAppSearchResultsToolModule.ɵfac = function IgoAppSearchResultsToolModule_Factory(t) { return new (t || IgoAppSearchResultsToolModule)(); };
5841
6344
  IgoAppSearchResultsToolModule.ɵmod = /*@__PURE__*/ i0__namespace.ɵɵdefineNgModule({ type: IgoAppSearchResultsToolModule });
5842
6345
  IgoAppSearchResultsToolModule.ɵinj = /*@__PURE__*/ i0__namespace.ɵɵdefineInjector({ imports: [[
5843
- i4$1.CommonModule,
6346
+ i5.CommonModule,
5844
6347
  i6.MatIconModule,
5845
6348
  i12.MatBadgeModule,
5846
- i4$2.MatTooltipModule,
6349
+ i4$1.MatTooltipModule,
5847
6350
  i3.MatButtonModule,
5848
- i2$1.IgoLanguageModule,
6351
+ i2.IgoLanguageModule,
5849
6352
  i1$1.IgoFeatureModule,
5850
6353
  i1$1.IgoSearchModule,
5851
6354
  i4.IgoFlexibleModule,
@@ -5858,12 +6361,12 @@
5858
6361
  type: i0.NgModule,
5859
6362
  args: [{
5860
6363
  imports: [
5861
- i4$1.CommonModule,
6364
+ i5.CommonModule,
5862
6365
  i6.MatIconModule,
5863
6366
  i12.MatBadgeModule,
5864
- i4$2.MatTooltipModule,
6367
+ i4$1.MatTooltipModule,
5865
6368
  i3.MatButtonModule,
5866
- i2$1.IgoLanguageModule,
6369
+ i2.IgoLanguageModule,
5867
6370
  i1$1.IgoFeatureModule,
5868
6371
  i1$1.IgoSearchModule,
5869
6372
  i4.IgoFlexibleModule,
@@ -5878,12 +6381,12 @@
5878
6381
  }], null, null);
5879
6382
  })();
5880
6383
  (function () {
5881
- (typeof ngJitMode === "undefined" || ngJitMode) && i0__namespace.ɵɵsetNgModuleScope(IgoAppSearchResultsToolModule, { declarations: [exports.SearchResultsToolComponent], imports: [i4$1.CommonModule,
6384
+ (typeof ngJitMode === "undefined" || ngJitMode) && i0__namespace.ɵɵsetNgModuleScope(IgoAppSearchResultsToolModule, { declarations: [exports.SearchResultsToolComponent], imports: [i5.CommonModule,
5882
6385
  i6.MatIconModule,
5883
6386
  i12.MatBadgeModule,
5884
- i4$2.MatTooltipModule,
6387
+ i4$1.MatTooltipModule,
5885
6388
  i3.MatButtonModule,
5886
- i2$1.IgoLanguageModule,
6389
+ i2.IgoLanguageModule,
5887
6390
  i1$1.IgoFeatureModule,
5888
6391
  i1$1.IgoSearchModule,
5889
6392
  i4.IgoFlexibleModule,
@@ -6585,7 +7088,7 @@
6585
7088
  };
6586
7089
  return SpatialFilterToolComponent;
6587
7090
  }());
6588
- exports.SpatialFilterToolComponent.ɵfac = function SpatialFilterToolComponent_Factory(t) { return new (t || exports.SpatialFilterToolComponent)(i0__namespace.ɵɵdirectiveInject(i6__namespace.MatIconRegistry), i0__namespace.ɵɵdirectiveInject(i1__namespace$1.SpatialFilterService), i0__namespace.ɵɵdirectiveInject(i1__namespace$1.DataSourceService), i0__namespace.ɵɵdirectiveInject(i1__namespace$1.LayerService), i0__namespace.ɵɵdirectiveInject(MapState), i0__namespace.ɵɵdirectiveInject(i2__namespace$1.MessageService), i0__namespace.ɵɵdirectiveInject(i2__namespace$1.LanguageService), i0__namespace.ɵɵdirectiveInject(ImportExportState), i0__namespace.ɵɵdirectiveInject(ToolState), i0__namespace.ɵɵdirectiveInject(WorkspaceState), i0__namespace.ɵɵdirectiveInject(i0__namespace.ChangeDetectorRef)); };
7091
+ exports.SpatialFilterToolComponent.ɵfac = function SpatialFilterToolComponent_Factory(t) { return new (t || exports.SpatialFilterToolComponent)(i0__namespace.ɵɵdirectiveInject(i6__namespace.MatIconRegistry), i0__namespace.ɵɵdirectiveInject(i1__namespace$1.SpatialFilterService), i0__namespace.ɵɵdirectiveInject(i1__namespace$1.DataSourceService), i0__namespace.ɵɵdirectiveInject(i1__namespace$1.LayerService), i0__namespace.ɵɵdirectiveInject(MapState), i0__namespace.ɵɵdirectiveInject(i2__namespace.MessageService), i0__namespace.ɵɵdirectiveInject(i2__namespace.LanguageService), i0__namespace.ɵɵdirectiveInject(ImportExportState), i0__namespace.ɵɵdirectiveInject(ToolState), i0__namespace.ɵɵdirectiveInject(WorkspaceState), i0__namespace.ɵɵdirectiveInject(i0__namespace.ChangeDetectorRef)); };
6589
7092
  exports.SpatialFilterToolComponent.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: exports.SpatialFilterToolComponent, selectors: [["igo-spatial-filter-tool"]], inputs: { type: "type", itemType: "itemType", freehandDrawIsActive: "freehandDrawIsActive" }, decls: 6, vars: 16, consts: [[3, "store", "selectedQueryType", "zone", "layers", "eventType", "eventQueryType", "zoneChange", "zoneWithBufferChange", "bufferChange", "measureUnitChange"], [3, "type", "queryType", "map", "zone", "loading", "store", "layers", "allLayers", "thematicLength", "radiusEvent", "bufferEvent", "measureUnitChange", "freehandControl", "drawZoneEvent", "zoneWithBufferChange", "itemTypeChange", "thematicChange", "toggleSearch", "clearButtonEvent", "clearSearchEvent", "export", "openWorkspace", "entityChange"], [4, "ngIf"], [3, "feature"]], template: function SpatialFilterToolComponent_Template(rf, ctx) {
6590
7093
  if (rf & 1) {
6591
7094
  i0__namespace.ɵɵelementStart(0, "igo-panel");
@@ -6609,7 +7112,7 @@
6609
7112
  i0__namespace.ɵɵadvance(2);
6610
7113
  i0__namespace.ɵɵproperty("ngIf", i0__namespace.ɵɵpipeBind1(5, 14, ctx.selectedFeature$));
6611
7114
  }
6612
- }, directives: [i1__namespace$1.SpatialFilterTypeComponent, i1__namespace$1.SpatialFilterItemComponent, i4__namespace$1.NgIf], pipes: [i4__namespace$1.AsyncPipe], styles: [""], changeDetection: 0 });
7115
+ }, directives: [i1__namespace$1.SpatialFilterTypeComponent, i1__namespace$1.SpatialFilterItemComponent, i5__namespace.NgIf], pipes: [i5__namespace.AsyncPipe], styles: [""], changeDetection: 0 });
6613
7116
  exports.SpatialFilterToolComponent = __decorate([
6614
7117
  i4.ToolComponent({
6615
7118
  name: 'spatialFilter',
@@ -6629,7 +7132,7 @@
6629
7132
  styleUrls: ['./spatial-filter-tool.component.scss'],
6630
7133
  changeDetection: i0.ChangeDetectionStrategy.OnPush
6631
7134
  }]
6632
- }], function () { return [{ type: i6__namespace.MatIconRegistry }, { type: i1__namespace$1.SpatialFilterService }, { type: i1__namespace$1.DataSourceService }, { type: i1__namespace$1.LayerService }, { type: MapState }, { type: i2__namespace$1.MessageService }, { type: i2__namespace$1.LanguageService }, { type: ImportExportState }, { type: ToolState }, { type: WorkspaceState }, { type: i0__namespace.ChangeDetectorRef }]; }, { type: [{
7135
+ }], function () { return [{ type: i6__namespace.MatIconRegistry }, { type: i1__namespace$1.SpatialFilterService }, { type: i1__namespace$1.DataSourceService }, { type: i1__namespace$1.LayerService }, { type: MapState }, { type: i2__namespace.MessageService }, { type: i2__namespace.LanguageService }, { type: ImportExportState }, { type: ToolState }, { type: WorkspaceState }, { type: i0__namespace.ChangeDetectorRef }]; }, { type: [{
6633
7136
  type: i0.Input
6634
7137
  }], itemType: [{
6635
7138
  type: i0.Input
@@ -6803,12 +7306,12 @@
6803
7306
  }());
6804
7307
  IgoAppFilterModule.ɵfac = function IgoAppFilterModule_Factory(t) { return new (t || IgoAppFilterModule)(); };
6805
7308
  IgoAppFilterModule.ɵmod = /*@__PURE__*/ i0__namespace.ɵɵdefineNgModule({ type: IgoAppFilterModule });
6806
- IgoAppFilterModule.ɵinj = /*@__PURE__*/ i0__namespace.ɵɵdefineInjector({ imports: [[i1$1.IgoFilterModule, i1$1.IgoQueryModule, i4$1.CommonModule]] });
7309
+ IgoAppFilterModule.ɵinj = /*@__PURE__*/ i0__namespace.ɵɵdefineInjector({ imports: [[i1$1.IgoFilterModule, i1$1.IgoQueryModule, i5.CommonModule]] });
6807
7310
  (function () {
6808
7311
  (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(IgoAppFilterModule, [{
6809
7312
  type: i0.NgModule,
6810
7313
  args: [{
6811
- imports: [i1$1.IgoFilterModule, i1$1.IgoQueryModule, i4$1.CommonModule],
7314
+ imports: [i1$1.IgoFilterModule, i1$1.IgoQueryModule, i5.CommonModule],
6812
7315
  declarations: [
6813
7316
  exports.OgcFilterToolComponent,
6814
7317
  exports.ActiveOgcFilterToolComponent,
@@ -6832,7 +7335,7 @@
6832
7335
  exports.ActiveOgcFilterToolComponent,
6833
7336
  exports.TimeFilterToolComponent,
6834
7337
  exports.ActiveTimeFilterToolComponent,
6835
- exports.SpatialFilterToolComponent], imports: [i1$1.IgoFilterModule, i1$1.IgoQueryModule, i4$1.CommonModule], exports: [exports.OgcFilterToolComponent,
7338
+ exports.SpatialFilterToolComponent], imports: [i1$1.IgoFilterModule, i1$1.IgoQueryModule, i5.CommonModule], exports: [exports.OgcFilterToolComponent,
6836
7339
  exports.ActiveOgcFilterToolComponent,
6837
7340
  exports.TimeFilterToolComponent,
6838
7341
  exports.ActiveTimeFilterToolComponent,
@@ -6990,7 +7493,7 @@
6990
7493
  };
6991
7494
  return AboutToolComponent;
6992
7495
  }());
6993
- exports.AboutToolComponent.ɵfac = function AboutToolComponent_Factory(t) { return new (t || exports.AboutToolComponent)(i0__namespace.ɵɵdirectiveInject(i2__namespace$1.ConfigService), i0__namespace.ɵɵdirectiveInject(i2__namespace.AuthService), i0__namespace.ɵɵdirectiveInject(i3__namespace$2.HttpClient), i0__namespace.ɵɵdirectiveInject(i0__namespace.ChangeDetectorRef), i0__namespace.ɵɵdirectiveInject(i2__namespace$1.LanguageService)); };
7496
+ exports.AboutToolComponent.ɵfac = function AboutToolComponent_Factory(t) { return new (t || exports.AboutToolComponent)(i0__namespace.ɵɵdirectiveInject(i2__namespace.ConfigService), i0__namespace.ɵɵdirectiveInject(i2__namespace$1.AuthService), i0__namespace.ɵɵdirectiveInject(i3__namespace$2.HttpClient), i0__namespace.ɵɵdirectiveInject(i0__namespace.ChangeDetectorRef), i0__namespace.ɵɵdirectiveInject(i2__namespace.LanguageService)); };
6994
7497
  exports.AboutToolComponent.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: exports.AboutToolComponent, selectors: [["igo-about-tool"]], inputs: { headerHtml: "headerHtml", html: "html", discoverTitleInLocale: "discoverTitleInLocale", trainingGuideURLs: "trainingGuideURLs" }, decls: 10, vars: 11, consts: [["mat-raised-button", "", "tourToStart", "global", "menuIsOpen", "true", "styleButton", "raised", 3, "discoverTitleInLocale$"], ["class", "training-guide-button", "mat-raised-button", "", "tooltip-position", "below", "matTooltipShowDelay", "500", 3, "disabled", "matTooltip", "click", 4, "ngIf"], ["class", "training-guide-button", "mat-raised-button", "", "tooltip-position", "below", "matTooltipShowDelay", "500", 3, "disabled", "matTooltip", "matMenuTriggerFor", 4, "ngIf"], ["menu", "matMenu"], ["mat-menu-item", "", 3, "click", 4, "ngFor", "ngForOf"], ["class", "mat-typography", 3, "html", 4, "ngIf"], [1, "mat-typography", 3, "html"], ["mat-raised-button", "", "tooltip-position", "below", "matTooltipShowDelay", "500", 1, "training-guide-button", 3, "disabled", "matTooltip", "click"], ["svgIcon", "file-document"], ["mat-raised-button", "", "tooltip-position", "below", "matTooltipShowDelay", "500", 1, "training-guide-button", 3, "disabled", "matTooltip", "matMenuTriggerFor"], ["mat-menu-item", "", 3, "click"]], template: function AboutToolComponent_Template(rf, ctx) {
6995
7498
  if (rf & 1) {
6996
7499
  i0__namespace.ɵɵelement(0, "p");
@@ -7018,7 +7521,7 @@
7018
7521
  i0__namespace.ɵɵadvance(1);
7019
7522
  i0__namespace.ɵɵproperty("html", i0__namespace.ɵɵpipeBind2(9, 6, ctx.html, i0__namespace.ɵɵpureFunction1(9, _c0, ctx.version)));
7020
7523
  }
7021
- }, directives: [i4__namespace.InteractiveTourComponent, i4__namespace$1.NgIf, i6__namespace$2.MatMenu, i4__namespace$1.NgForOf, i4__namespace.CustomHtmlComponent, i3__namespace.MatButton, i4__namespace$2.MatTooltip, i6__namespace.MatIcon, i6__namespace$2.MatMenuTrigger, i6__namespace$2.MatMenuItem], pipes: [i8__namespace.TranslatePipe], styles: ["igo-interactive-tour[_ngcontent-%COMP%]{margin-left:20px}.training-guide-button[_ngcontent-%COMP%]{margin-left:5px;background-color:#1976d2;color:#fff;padding:0 12px}"] });
7524
+ }, directives: [i4__namespace.InteractiveTourComponent, i5__namespace.NgIf, i6__namespace$2.MatMenu, i5__namespace.NgForOf, i4__namespace.CustomHtmlComponent, i3__namespace.MatButton, i4__namespace$1.MatTooltip, i6__namespace.MatIcon, i6__namespace$2.MatMenuTrigger, i6__namespace$2.MatMenuItem], pipes: [i8__namespace.TranslatePipe], styles: ["igo-interactive-tour[_ngcontent-%COMP%]{margin-left:20px}.training-guide-button[_ngcontent-%COMP%]{margin-left:5px;background-color:#1976d2;color:#fff;padding:0 12px}"] });
7022
7525
  exports.AboutToolComponent = __decorate([
7023
7526
  i4.ToolComponent({
7024
7527
  name: 'about',
@@ -7034,7 +7537,7 @@
7034
7537
  templateUrl: './about-tool.component.html',
7035
7538
  styleUrls: ['./about-tool.component.scss']
7036
7539
  }]
7037
- }], function () { return [{ type: i2__namespace$1.ConfigService }, { type: i2__namespace.AuthService }, { type: i3__namespace$2.HttpClient }, { type: i0__namespace.ChangeDetectorRef }, { type: i2__namespace$1.LanguageService }]; }, { headerHtml: [{
7540
+ }], function () { return [{ type: i2__namespace.ConfigService }, { type: i2__namespace$1.AuthService }, { type: i3__namespace$2.HttpClient }, { type: i0__namespace.ChangeDetectorRef }, { type: i2__namespace.LanguageService }]; }, { headerHtml: [{
7038
7541
  type: i0.Input
7039
7542
  }], html: [{
7040
7543
  type: i0.Input
@@ -7059,28 +7562,28 @@
7059
7562
  IgoAppAboutModule.ɵfac = function IgoAppAboutModule_Factory(t) { return new (t || IgoAppAboutModule)(); };
7060
7563
  IgoAppAboutModule.ɵmod = /*@__PURE__*/ i0__namespace.ɵɵdefineNgModule({ type: IgoAppAboutModule });
7061
7564
  IgoAppAboutModule.ɵinj = /*@__PURE__*/ i0__namespace.ɵɵdefineInjector({ imports: [[
7062
- i2$1.IgoLanguageModule,
7565
+ i2.IgoLanguageModule,
7063
7566
  i4.IgoCustomHtmlModule,
7064
7567
  i3.MatButtonModule,
7065
- i4$2.MatTooltipModule,
7568
+ i4$1.MatTooltipModule,
7066
7569
  i6.MatIconModule,
7067
7570
  i6$2.MatMenuModule,
7068
7571
  i4.IgoInteractiveTourModule,
7069
- i4$1.CommonModule
7572
+ i5.CommonModule
7070
7573
  ]] });
7071
7574
  (function () {
7072
7575
  (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(IgoAppAboutModule, [{
7073
7576
  type: i0.NgModule,
7074
7577
  args: [{
7075
7578
  imports: [
7076
- i2$1.IgoLanguageModule,
7579
+ i2.IgoLanguageModule,
7077
7580
  i4.IgoCustomHtmlModule,
7078
7581
  i3.MatButtonModule,
7079
- i4$2.MatTooltipModule,
7582
+ i4$1.MatTooltipModule,
7080
7583
  i6.MatIconModule,
7081
7584
  i6$2.MatMenuModule,
7082
7585
  i4.IgoInteractiveTourModule,
7083
- i4$1.CommonModule
7586
+ i5.CommonModule
7084
7587
  ],
7085
7588
  declarations: [exports.AboutToolComponent],
7086
7589
  exports: [exports.AboutToolComponent],
@@ -7089,14 +7592,14 @@
7089
7592
  }], null, null);
7090
7593
  })();
7091
7594
  (function () {
7092
- (typeof ngJitMode === "undefined" || ngJitMode) && i0__namespace.ɵɵsetNgModuleScope(IgoAppAboutModule, { declarations: [exports.AboutToolComponent], imports: [i2$1.IgoLanguageModule,
7595
+ (typeof ngJitMode === "undefined" || ngJitMode) && i0__namespace.ɵɵsetNgModuleScope(IgoAppAboutModule, { declarations: [exports.AboutToolComponent], imports: [i2.IgoLanguageModule,
7093
7596
  i4.IgoCustomHtmlModule,
7094
7597
  i3.MatButtonModule,
7095
- i4$2.MatTooltipModule,
7598
+ i4$1.MatTooltipModule,
7096
7599
  i6.MatIconModule,
7097
7600
  i6$2.MatMenuModule,
7098
7601
  i4.IgoInteractiveTourModule,
7099
- i4$1.CommonModule], exports: [exports.AboutToolComponent] });
7602
+ i5.CommonModule], exports: [exports.AboutToolComponent] });
7100
7603
  })();
7101
7604
 
7102
7605
  var IgoAppStorageModule = /** @class */ (function () {
@@ -7260,7 +7763,7 @@
7260
7763
  };
7261
7764
  return AnalyticsListenerService;
7262
7765
  }());
7263
- AnalyticsListenerService.ɵfac = function AnalyticsListenerService_Factory(t) { return new (t || AnalyticsListenerService)(i0__namespace.ɵɵinject(i2__namespace$1.AnalyticsService), i0__namespace.ɵɵinject(i2__namespace.AuthService), i0__namespace.ɵɵinject(ContextState), i0__namespace.ɵɵinject(SearchState), i0__namespace.ɵɵinject(ToolState)); };
7766
+ AnalyticsListenerService.ɵfac = function AnalyticsListenerService_Factory(t) { return new (t || AnalyticsListenerService)(i0__namespace.ɵɵinject(i2__namespace.AnalyticsService), i0__namespace.ɵɵinject(i2__namespace$1.AuthService), i0__namespace.ɵɵinject(ContextState), i0__namespace.ɵɵinject(SearchState), i0__namespace.ɵɵinject(ToolState)); };
7264
7767
  AnalyticsListenerService.ɵprov = /*@__PURE__*/ i0__namespace.ɵɵdefineInjectable({ token: AnalyticsListenerService, factory: AnalyticsListenerService.ɵfac, providedIn: 'root' });
7265
7768
  (function () {
7266
7769
  (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(AnalyticsListenerService, [{
@@ -7268,7 +7771,7 @@
7268
7771
  args: [{
7269
7772
  providedIn: 'root'
7270
7773
  }]
7271
- }], function () { return [{ type: i2__namespace$1.AnalyticsService }, { type: i2__namespace.AuthService }, { type: ContextState }, { type: SearchState }, { type: ToolState }]; }, null);
7774
+ }], function () { return [{ type: i2__namespace.AnalyticsService }, { type: i2__namespace$1.AuthService }, { type: ContextState }, { type: SearchState }, { type: ToolState }]; }, null);
7272
7775
  })();
7273
7776
 
7274
7777
  /**
@@ -7293,7 +7796,7 @@
7293
7796
  }
7294
7797
  return QueryState;
7295
7798
  }());
7296
- QueryState.ɵfac = function QueryState_Factory(t) { return new (t || QueryState)(i0__namespace.ɵɵinject(i2__namespace$1.ConfigService)); };
7799
+ QueryState.ɵfac = function QueryState_Factory(t) { return new (t || QueryState)(i0__namespace.ɵɵinject(i2__namespace.ConfigService)); };
7297
7800
  QueryState.ɵprov = /*@__PURE__*/ i0__namespace.ɵɵdefineInjectable({ token: QueryState, factory: QueryState.ɵfac, providedIn: 'root' });
7298
7801
  (function () {
7299
7802
  (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(QueryState, [{
@@ -7301,7 +7804,7 @@
7301
7804
  args: [{
7302
7805
  providedIn: 'root'
7303
7806
  }]
7304
- }], function () { return [{ type: i2__namespace$1.ConfigService }]; }, null);
7807
+ }], function () { return [{ type: i2__namespace.ConfigService }]; }, null);
7305
7808
  })();
7306
7809
 
7307
7810
  /*
@@ -7340,6 +7843,7 @@
7340
7843
  exports.IgoAppWorkspaceModule = IgoAppWorkspaceModule;
7341
7844
  exports.IgoIntegrationModule = IgoIntegrationModule;
7342
7845
  exports.ImportExportState = ImportExportState;
7846
+ exports.MapProximityState = MapProximityState;
7343
7847
  exports.MapState = MapState;
7344
7848
  exports.MeasureState = MeasureState;
7345
7849
  exports.QueryState = QueryState;