@igo2/integration 1.12.0 → 1.13.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (160) hide show
  1. package/{esm2015/igo2-integration.js → esm2020/igo2-integration.mjs} +0 -0
  2. package/esm2020/lib/about/about-tool/about-tool.component.mjs +185 -0
  3. package/{esm2015/lib/about/about-tool/index.js → esm2020/lib/about/about-tool/index.mjs} +0 -0
  4. package/{esm2015/lib/about/about.module.js → esm2020/lib/about/about.module.mjs} +9 -11
  5. package/{esm2015/lib/about/index.js → esm2020/lib/about/index.mjs} +0 -0
  6. package/{esm2015/lib/analytics/analytics-listener.service.js → esm2020/lib/analytics/analytics-listener.service.mjs} +0 -0
  7. package/{esm2015/lib/analytics/analytics.module.js → esm2020/lib/analytics/analytics.module.mjs} +2 -2
  8. package/{esm2015/lib/analytics/index.js → esm2020/lib/analytics/index.mjs} +0 -0
  9. package/{esm2015/lib/catalog/catalog-browser-tool/catalog-browser-tool.component.js → esm2020/lib/catalog/catalog-browser-tool/catalog-browser-tool.component.mjs} +3 -7
  10. package/{esm2015/lib/catalog/catalog-browser-tool/catalog-browser-tool.module.js → esm2020/lib/catalog/catalog-browser-tool/catalog-browser-tool.module.mjs} +3 -5
  11. package/{esm2015/lib/catalog/catalog-library-tool/catalog-library-tool.component.js → esm2020/lib/catalog/catalog-library-tool/catalog-library-tool.component.mjs} +3 -7
  12. package/{esm2015/lib/catalog/catalog-library-tool/catalog-library-tool.module.js → esm2020/lib/catalog/catalog-library-tool/catalog-library-tool.module.mjs} +3 -5
  13. package/{esm2015/lib/catalog/catalog.module.js → esm2020/lib/catalog/catalog.module.mjs} +2 -2
  14. package/{esm2015/lib/catalog/catalog.state.js → esm2020/lib/catalog/catalog.state.mjs} +0 -0
  15. package/{esm2015/lib/catalog/index.js → esm2020/lib/catalog/index.mjs} +0 -0
  16. package/{esm2015/lib/context/context-editor-tool/context-editor-tool.component.js → esm2020/lib/context/context-editor-tool/context-editor-tool.component.mjs} +3 -6
  17. package/{esm2015/lib/context/context-manager-tool/context-manager-tool.component.js → esm2020/lib/context/context-manager-tool/context-manager-tool.component.mjs} +3 -6
  18. package/{esm2015/lib/context/context-permission-manager-tool/context-permission-manager-tool.component.js → esm2020/lib/context/context-permission-manager-tool/context-permission-manager-tool.component.mjs} +3 -6
  19. package/{esm2015/lib/context/context-share-tool/context-share-tool.component.js → esm2020/lib/context/context-share-tool/context-share-tool.component.mjs} +3 -6
  20. package/{esm2015/lib/context/context.module.js → esm2020/lib/context/context.module.mjs} +2 -2
  21. package/{esm2015/lib/context/context.state.js → esm2020/lib/context/context.state.mjs} +0 -0
  22. package/{esm2015/lib/context/index.js → esm2020/lib/context/index.mjs} +0 -0
  23. package/{esm2015/lib/directions/directions-tool/directions-tool.component.js → esm2020/lib/directions/directions-tool/directions-tool.component.mjs} +3 -6
  24. package/{esm2015/lib/directions/directions-tool/index.js → esm2020/lib/directions/directions-tool/index.mjs} +0 -0
  25. package/{esm2015/lib/directions/directions.module.js → esm2020/lib/directions/directions.module.mjs} +2 -2
  26. package/esm2020/lib/directions/directions.state.mjs +64 -0
  27. package/{esm2015/lib/directions/index.js → esm2020/lib/directions/index.mjs} +0 -0
  28. package/{esm2015/lib/draw/draw.module.js → esm2020/lib/draw/draw.module.mjs} +2 -2
  29. package/{esm2015/lib/draw/draw.state.js → esm2020/lib/draw/draw.state.mjs} +0 -0
  30. package/{esm2015/lib/draw/drawing-tool/drawing-tool.component.js → esm2020/lib/draw/drawing-tool/drawing-tool.component.mjs} +3 -7
  31. package/{esm2015/lib/draw/index.js → esm2020/lib/draw/index.mjs} +0 -0
  32. package/{esm2015/lib/filter/active-ogc-filter-tool/active-ogc-filter-tool.animation.js → esm2020/lib/filter/active-ogc-filter-tool/active-ogc-filter-tool.animation.mjs} +0 -0
  33. package/{esm2015/lib/filter/active-ogc-filter-tool/active-ogc-filter-tool.component.js → esm2020/lib/filter/active-ogc-filter-tool/active-ogc-filter-tool.component.mjs} +3 -7
  34. package/{esm2015/lib/filter/active-ogc-filter-tool/index.js → esm2020/lib/filter/active-ogc-filter-tool/index.mjs} +0 -0
  35. package/{esm2015/lib/filter/active-time-filter-tool/active-time-filter-tool.animation.js → esm2020/lib/filter/active-time-filter-tool/active-time-filter-tool.animation.mjs} +0 -0
  36. package/{esm2015/lib/filter/active-time-filter-tool/active-time-filter-tool.component.js → esm2020/lib/filter/active-time-filter-tool/active-time-filter-tool.component.mjs} +3 -7
  37. package/{esm2015/lib/filter/active-time-filter-tool/index.js → esm2020/lib/filter/active-time-filter-tool/index.mjs} +0 -0
  38. package/{esm2015/lib/filter/filter.module.js → esm2020/lib/filter/filter.module.mjs} +2 -2
  39. package/{esm2015/lib/filter/index.js → esm2020/lib/filter/index.mjs} +0 -0
  40. package/{esm2015/lib/filter/ogc-filter-tool/index.js → esm2020/lib/filter/ogc-filter-tool/index.mjs} +0 -0
  41. package/{esm2015/lib/filter/ogc-filter-tool/ogc-filter-tool.component.js → esm2020/lib/filter/ogc-filter-tool/ogc-filter-tool.component.mjs} +3 -6
  42. package/{esm2015/lib/filter/spatial-filter-tool/index.js → esm2020/lib/filter/spatial-filter-tool/index.mjs} +0 -0
  43. package/esm2020/lib/filter/spatial-filter-tool/spatial-filter-tool.component.mjs +535 -0
  44. package/{esm2015/lib/filter/time-filter-tool/index.js → esm2020/lib/filter/time-filter-tool/index.mjs} +0 -0
  45. package/{esm2015/lib/filter/time-filter-tool/time-filter-tool.component.js → esm2020/lib/filter/time-filter-tool/time-filter-tool.component.mjs} +3 -6
  46. package/esm2020/lib/import-export/import-export-tool/import-export-tool.component.mjs +137 -0
  47. package/{esm2015/lib/import-export/import-export-tool/index.js → esm2020/lib/import-export/import-export-tool/index.mjs} +0 -0
  48. package/{esm2015/lib/import-export/import-export.module.js → esm2020/lib/import-export/import-export.module.mjs} +7 -9
  49. package/{esm2015/lib/import-export/import-export.state.js → esm2020/lib/import-export/import-export.state.mjs} +0 -0
  50. package/{esm2015/lib/import-export/index.js → esm2020/lib/import-export/index.mjs} +0 -0
  51. package/{esm2015/lib/integration.module.js → esm2020/lib/integration.module.mjs} +2 -2
  52. package/{esm2015/lib/map/advanced-map-tool/advanced-coordinates/advanced-coordinates.component.js → esm2020/lib/map/advanced-map-tool/advanced-coordinates/advanced-coordinates.component.mjs} +14 -22
  53. package/esm2020/lib/map/advanced-map-tool/advanced-map-tool.component.mjs +89 -0
  54. package/esm2020/lib/map/advanced-map-tool/advanced-swipe/advanced-swipe.component.mjs +218 -0
  55. package/{esm2015/lib/map/advanced-map-tool/index.js → esm2020/lib/map/advanced-map-tool/index.mjs} +0 -0
  56. package/{esm2015/lib/map/index.js → esm2020/lib/map/index.mjs} +0 -0
  57. package/{esm2015/lib/map/layer-list-tool.state.js → esm2020/lib/map/layer-list-tool.state.mjs} +0 -0
  58. package/{esm2015/lib/map/map-details-tool/index.js → esm2020/lib/map/map-details-tool/index.mjs} +0 -0
  59. package/esm2020/lib/map/map-details-tool/map-details-tool.component.mjs +256 -0
  60. package/{esm2015/lib/map/map-legend/index.js → esm2020/lib/map/map-legend/index.mjs} +0 -0
  61. package/esm2020/lib/map/map-legend/map-legend-tool.component.mjs +275 -0
  62. package/{esm2015/lib/map/map-proximity-tool/index.js → esm2020/lib/map/map-proximity-tool/index.mjs} +0 -0
  63. package/esm2020/lib/map/map-proximity-tool/map-proximity-tool.component.mjs +206 -0
  64. package/{esm2015/lib/map/map-proximity.state.js → esm2020/lib/map/map-proximity.state.mjs} +10 -11
  65. package/{esm2015/lib/map/map-tool/index.js → esm2020/lib/map/map-tool/index.mjs} +0 -0
  66. package/esm2020/lib/map/map-tool/map-tool.component.mjs +130 -0
  67. package/{esm2015/lib/map/map-tools/index.js → esm2020/lib/map/map-tools/index.mjs} +0 -0
  68. package/esm2020/lib/map/map-tools/map-tools.component.mjs +478 -0
  69. package/esm2020/lib/map/map.module.mjs +141 -0
  70. package/esm2020/lib/map/map.state.mjs +47 -0
  71. package/{esm2015/lib/measure/index.js → esm2020/lib/measure/index.mjs} +0 -0
  72. package/{esm2015/lib/measure/measure.module.js → esm2020/lib/measure/measure.module.mjs} +2 -2
  73. package/{esm2015/lib/measure/measure.state.js → esm2020/lib/measure/measure.state.mjs} +0 -0
  74. package/{esm2015/lib/measure/measurer-tool/measurer-tool.component.js → esm2020/lib/measure/measurer-tool/measurer-tool.component.mjs} +3 -7
  75. package/{esm2015/lib/measure/measurer-tool/measurer-tool.module.js → esm2020/lib/measure/measurer-tool/measurer-tool.module.mjs} +2 -4
  76. package/{esm2015/lib/print/index.js → esm2020/lib/print/index.mjs} +0 -0
  77. package/{esm2015/lib/print/print-tool/index.js → esm2020/lib/print/print-tool/index.mjs} +0 -0
  78. package/{esm2015/lib/print/print-tool/print-tool.component.js → esm2020/lib/print/print-tool/print-tool.component.mjs} +3 -6
  79. package/{esm2015/lib/print/print.module.js → esm2020/lib/print/print.module.mjs} +2 -2
  80. package/{esm2015/lib/search/index.js → esm2020/lib/search/index.mjs} +0 -0
  81. package/{esm2015/lib/search/query.state.js → esm2020/lib/search/query.state.mjs} +0 -0
  82. package/{esm2015/lib/search/search-bar/search-bar-binding.directive.js → esm2020/lib/search/search-bar/search-bar-binding.directive.mjs} +0 -0
  83. package/{esm2015/lib/search/search-bar/search-bar.module.js → esm2020/lib/search/search-bar/search-bar.module.mjs} +2 -2
  84. package/esm2020/lib/search/search-results-tool/search-results-tool.component.mjs +577 -0
  85. package/{esm2015/lib/search/search-results-tool/search-results-tool.module.js → esm2020/lib/search/search-results-tool/search-results-tool.module.mjs} +13 -15
  86. package/{esm2015/lib/search/search.module.js → esm2020/lib/search/search.module.mjs} +2 -2
  87. package/{esm2015/lib/search/search.state.js → esm2020/lib/search/search.state.mjs} +0 -0
  88. package/{esm2015/lib/storage/index.js → esm2020/lib/storage/index.mjs} +0 -0
  89. package/{esm2015/lib/storage/storage.module.js → esm2020/lib/storage/storage.module.mjs} +2 -2
  90. package/{esm2015/lib/storage/storage.state.js → esm2020/lib/storage/storage.state.mjs} +0 -0
  91. package/{esm2015/lib/tool/index.js → esm2020/lib/tool/index.mjs} +0 -0
  92. package/{esm2015/lib/tool/tool.module.js → esm2020/lib/tool/tool.module.mjs} +2 -2
  93. package/{esm2015/lib/tool/tool.state.js → esm2020/lib/tool/tool.state.mjs} +0 -0
  94. package/{esm2015/lib/workspace/index.js → esm2020/lib/workspace/index.mjs} +0 -0
  95. package/esm2020/lib/workspace/shared/edition-actions.service.mjs +156 -0
  96. package/{esm2015/lib/workspace/shared/feature-actions.service.js → esm2020/lib/workspace/shared/feature-actions.service.mjs} +0 -0
  97. package/{esm2015/lib/workspace/shared/index.js → esm2020/lib/workspace/shared/index.mjs} +0 -0
  98. package/esm2020/lib/workspace/shared/wfs-actions.service.mjs +158 -0
  99. package/{esm2015/lib/workspace/shared/workspace.utils.js → esm2020/lib/workspace/shared/workspace.utils.mjs} +0 -0
  100. package/{esm2015/lib/workspace/workspace-button/index.js → esm2020/lib/workspace/workspace-button/index.mjs} +0 -0
  101. package/esm2020/lib/workspace/workspace-button/workspace-button.component.mjs +69 -0
  102. package/{esm2015/lib/workspace/workspace.module.js → esm2020/lib/workspace/workspace.module.mjs} +6 -8
  103. package/esm2020/lib/workspace/workspace.state.mjs +188 -0
  104. package/{esm2015/public_api.js → esm2020/public_api.mjs} +0 -0
  105. package/fesm2015/igo2-integration.mjs +6606 -0
  106. package/fesm2015/igo2-integration.mjs.map +1 -0
  107. package/{fesm2015/igo2-integration.js → fesm2020/igo2-integration.mjs} +336 -565
  108. package/fesm2020/igo2-integration.mjs.map +1 -0
  109. package/{igo2-integration.d.ts → index.d.ts} +0 -0
  110. package/lib/about/about-tool/about-tool.component.d.ts +1 -1
  111. package/lib/catalog/catalog-browser-tool/catalog-browser-tool.component.d.ts +1 -1
  112. package/lib/catalog/catalog-library-tool/catalog-library-tool.component.d.ts +1 -1
  113. package/lib/context/context-editor-tool/context-editor-tool.component.d.ts +1 -1
  114. package/lib/context/context-manager-tool/context-manager-tool.component.d.ts +1 -1
  115. package/lib/context/context-permission-manager-tool/context-permission-manager-tool.component.d.ts +1 -1
  116. package/lib/context/context-share-tool/context-share-tool.component.d.ts +1 -1
  117. package/lib/directions/directions-tool/directions-tool.component.d.ts +1 -1
  118. package/lib/draw/drawing-tool/drawing-tool.component.d.ts +1 -1
  119. package/lib/filter/active-ogc-filter-tool/active-ogc-filter-tool.component.d.ts +1 -1
  120. package/lib/filter/active-time-filter-tool/active-time-filter-tool.component.d.ts +1 -1
  121. package/lib/filter/ogc-filter-tool/ogc-filter-tool.component.d.ts +1 -1
  122. package/lib/filter/spatial-filter-tool/spatial-filter-tool.component.d.ts +3 -1
  123. package/lib/filter/time-filter-tool/time-filter-tool.component.d.ts +1 -1
  124. package/lib/import-export/import-export-tool/import-export-tool.component.d.ts +1 -1
  125. package/lib/map/advanced-map-tool/advanced-coordinates/advanced-coordinates.component.d.ts +1 -1
  126. package/lib/map/advanced-map-tool/advanced-map-tool.component.d.ts +1 -1
  127. package/lib/map/advanced-map-tool/advanced-swipe/advanced-swipe.component.d.ts +1 -1
  128. package/lib/map/map-details-tool/map-details-tool.component.d.ts +1 -1
  129. package/lib/map/map-legend/map-legend-tool.component.d.ts +1 -1
  130. package/lib/map/map-proximity-tool/map-proximity-tool.component.d.ts +1 -1
  131. package/lib/map/map-tool/map-tool.component.d.ts +1 -1
  132. package/lib/map/map-tools/map-tools.component.d.ts +1 -1
  133. package/lib/map/map.state.d.ts +3 -2
  134. package/lib/measure/measurer-tool/measurer-tool.component.d.ts +1 -1
  135. package/lib/print/print-tool/print-tool.component.d.ts +1 -1
  136. package/lib/search/search-bar/search-bar-binding.directive.d.ts +1 -1
  137. package/lib/search/search-results-tool/search-results-tool.component.d.ts +1 -1
  138. package/lib/workspace/workspace-button/workspace-button.component.d.ts +1 -1
  139. package/package.json +24 -11
  140. package/bundles/igo2-integration.umd.js +0 -7861
  141. package/bundles/igo2-integration.umd.js.map +0 -1
  142. package/esm2015/lib/about/about-tool/about-tool.component.js +0 -190
  143. package/esm2015/lib/directions/directions.state.js +0 -66
  144. package/esm2015/lib/filter/spatial-filter-tool/spatial-filter-tool.component.js +0 -544
  145. package/esm2015/lib/import-export/import-export-tool/import-export-tool.component.js +0 -145
  146. package/esm2015/lib/map/advanced-map-tool/advanced-map-tool.component.js +0 -99
  147. package/esm2015/lib/map/advanced-map-tool/advanced-swipe/advanced-swipe.component.js +0 -234
  148. package/esm2015/lib/map/map-details-tool/map-details-tool.component.js +0 -274
  149. package/esm2015/lib/map/map-legend/map-legend-tool.component.js +0 -289
  150. package/esm2015/lib/map/map-proximity-tool/map-proximity-tool.component.js +0 -221
  151. package/esm2015/lib/map/map-tool/map-tool.component.js +0 -142
  152. package/esm2015/lib/map/map-tools/map-tools.component.js +0 -496
  153. package/esm2015/lib/map/map.module.js +0 -143
  154. package/esm2015/lib/map/map.state.js +0 -46
  155. package/esm2015/lib/search/search-results-tool/search-results-tool.component.js +0 -598
  156. package/esm2015/lib/workspace/shared/edition-actions.service.js +0 -157
  157. package/esm2015/lib/workspace/shared/wfs-actions.service.js +0 -159
  158. package/esm2015/lib/workspace/workspace-button/workspace-button.component.js +0 -74
  159. package/esm2015/lib/workspace/workspace.state.js +0 -190
  160. package/fesm2015/igo2-integration.js.map +0 -1
@@ -10,60 +10,60 @@ import * as i1$1 from '@igo2/geo';
10
10
  import { IgoMap, IgoCatalogLibraryModule, IgoCatalogBrowserModule, StopsStore, StopsFeatureStore, RoutesFeatureStore, StepFeatureStore, IgoDirectionsModule, FeatureStore, IgoDrawingToolModule, FeatureStoreSelectionStrategy, FeatureMotion, mapExtentStrategyActiveToolTip, noElementSelected, OgcFilterWidget, WfsWorkspace, FeatureWorkspace, EditionWorkspace, IgoImportExportModule, LayerListControlsEnum, sourceCanSearch, VectorLayer, zoneMtm, zoneUtm, formatScale, computeProjectionsConstraints, roundCoordTo, featureFromOl, measureOlGeometryLength, FEATURE, IgoLayerModule, IgoMetadataModule, IgoDownloadModule, IgoFilterModule, IgoMeasurerModule, IgoPrintModule, IgoSearchModule, getCommonVectorStyle, featureToOl, computeOlFeaturesExtent, featuresAreOutOfView, featuresAreTooDeepInView, getCommonVectorSelectedStyle, moveToOlFeatures, IgoFeatureModule, IgoFeatureDetailsModule, SpatialFilterItemType, MeasureLengthUnit, SpatialFilterType, createOverlayMarkerStyle, IgoQueryModule } from '@igo2/geo';
11
11
  import * as i2 from '@igo2/core';
12
12
  import { StorageScope, StorageServiceEventEnum, IgoLanguageModule } from '@igo2/core';
13
- import * as i5 from '@angular/common';
13
+ import * as i6 from '@angular/common';
14
14
  import { CommonModule } from '@angular/common';
15
15
  import { take, skipWhile, map, debounceTime, takeUntil, tap, skip } from 'rxjs/operators';
16
16
  import * as i2$1 from '@igo2/auth';
17
- import * as i3 from '@angular/material/button';
17
+ import * as i7 from '@angular/material/icon';
18
+ import { MatIconModule } from '@angular/material/icon';
19
+ import * as i10 from '@angular/material/button';
18
20
  import { MatButtonModule } from '@angular/material/button';
19
- import * as i4$1 from '@angular/material/tooltip';
21
+ import * as i5 from '@angular/material/tooltip';
20
22
  import { MatTooltipModule } from '@angular/material/tooltip';
21
- import * as i6 from '@angular/material/icon';
22
- import { MatIconModule } from '@angular/material/icon';
23
23
  import * as i8 from '@ngx-translate/core';
24
- import * as i5$1 from '@angular/material/tabs';
24
+ import * as i7$1 from '@angular/material/tabs';
25
25
  import { MatTabsModule } from '@angular/material/tabs';
26
26
  import { MatButtonToggleModule } from '@angular/material/button-toggle';
27
- import * as i7 from '@angular/material/list';
27
+ import * as i6$1 from '@angular/material/list';
28
28
  import { MatListModule } from '@angular/material/list';
29
- import * as i10 from '@angular/material/slide-toggle';
29
+ import * as i12 from '@angular/material/slide-toggle';
30
30
  import { MatSlideToggleModule } from '@angular/material/slide-toggle';
31
- import * as i6$2 from '@angular/material/menu';
31
+ import * as i8$3 from '@angular/material/menu';
32
32
  import { MatMenuModule } from '@angular/material/menu';
33
33
  import * as i8$1 from '@angular/material/core';
34
34
  import { MatOptionModule } from '@angular/material/core';
35
- import * as i3$1 from '@angular/forms';
35
+ import * as i5$1 from '@angular/material/divider';
36
+ import { MatDividerModule } from '@angular/material/divider';
37
+ import * as i3 from '@angular/forms';
36
38
  import { Validators, FormsModule, ReactiveFormsModule } from '@angular/forms';
37
- import * as i6$1 from '@angular/material/form-field';
39
+ import * as i6$2 from '@angular/material/form-field';
38
40
  import { MatFormFieldModule } from '@angular/material/form-field';
39
- import * as i7$1 from '@angular/material/select';
41
+ import * as i7$2 from '@angular/material/select';
40
42
  import { MatSelectModule } from '@angular/material/select';
41
- import * as i9 from '@angular/material/divider';
42
- import { MatDividerModule } from '@angular/material/divider';
43
43
  import { Clipboard, uuid, NumberUtils } from '@igo2/utils';
44
44
  import * as olProj from 'ol/proj';
45
- import * as i10$1 from '@angular/material/input';
45
+ import * as i7$3 from '@angular/material/input';
46
46
  import { MatInputModule } from '@angular/material/input';
47
47
  import { MatCheckboxModule } from '@angular/material/checkbox';
48
- import * as i7$2 from '@angular/material/radio';
48
+ import * as i9 from '@angular/material/radio';
49
49
  import { MatRadioModule } from '@angular/material/radio';
50
50
  import olFormatGeoJSON from 'ol/format/GeoJSON';
51
51
  import olLayerVector from 'ol/layer/Vector';
52
52
  import olLineString from 'ol/geom/LineString';
53
- import * as i12 from '@angular/material/badge';
53
+ import * as i8$2 from '@angular/material/badge';
54
54
  import { MatBadgeModule } from '@angular/material/badge';
55
55
  import olFeature from 'ol/Feature';
56
56
  import olPoint from 'ol/geom/Point';
57
57
  import pointOnFeature from '@turf/point-on-feature';
58
58
  import * as olstyle from 'ol/style';
59
59
  import { trigger, state, style, transition, animate } from '@angular/animations';
60
- import * as i3$2 from '@angular/common/http';
60
+ import * as i3$1 from '@angular/common/http';
61
61
 
62
62
  class IgoAppAnalyticsModule {
63
63
  }
64
64
  IgoAppAnalyticsModule.ɵfac = function IgoAppAnalyticsModule_Factory(t) { return new (t || IgoAppAnalyticsModule)(); };
65
65
  IgoAppAnalyticsModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: IgoAppAnalyticsModule });
66
- IgoAppAnalyticsModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [[]] });
66
+ IgoAppAnalyticsModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({});
67
67
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IgoAppAnalyticsModule, [{
68
68
  type: NgModule,
69
69
  args: [{
@@ -170,7 +170,7 @@ ContextEditorToolComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type:
170
170
  i0.ɵɵelementStart(0, "igo-context-edit", 0);
171
171
  i0.ɵɵlistener("submitSuccessed", function ContextEditorToolComponent_Template_igo_context_edit_submitSuccessed_0_listener() { return ctx.submitSuccessed(); });
172
172
  i0.ɵɵelementEnd();
173
- } }, directives: [i1.ContextEditComponent, i1.ContextEditBindingDirective], encapsulation: 2 });
173
+ } }, dependencies: [i1.ContextEditComponent, i1.ContextEditBindingDirective], encapsulation: 2 });
174
174
  ContextEditorToolComponent = __decorate([
175
175
  ToolComponent({
176
176
  name: 'contextEditor',
@@ -181,10 +181,7 @@ ContextEditorToolComponent = __decorate([
181
181
  ], ContextEditorToolComponent);
182
182
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ContextEditorToolComponent, [{
183
183
  type: Component,
184
- args: [{
185
- selector: 'igo-context-editor-tool',
186
- templateUrl: './context-editor-tool.component.html'
187
- }]
184
+ args: [{ selector: 'igo-context-editor-tool', template: "<igo-context-edit\r\n igoContextEditBinding\r\n (submitSuccessed)=\"submitSuccessed()\"\r\n></igo-context-edit>\r\n" }]
188
185
  }], function () { return [{ type: ToolState }]; }, null); })();
189
186
 
190
187
  // import { BehaviorSubject } from 'rxjs';
@@ -193,10 +190,11 @@ ContextEditorToolComponent = __decorate([
193
190
  */
194
191
  class MapState {
195
192
  constructor(mapService, projectionService, // Don't remove this or it'll never be injected,
196
- storageService) {
193
+ storageService, configService) {
197
194
  this.mapService = mapService;
198
195
  this.projectionService = projectionService;
199
196
  this.storageService = storageService;
197
+ this.configService = configService;
200
198
  this._map = new IgoMap({
201
199
  controls: {
202
200
  scaleLine: true,
@@ -204,7 +202,7 @@ class MapState {
204
202
  collapsed: true
205
203
  }
206
204
  }
207
- }, this.storageService);
205
+ }, this.storageService, this.configService);
208
206
  this.mapService.setMap(this.map);
209
207
  }
210
208
  // public mapCenter$ = new BehaviorSubject<boolean>(false);
@@ -219,14 +217,14 @@ class MapState {
219
217
  */
220
218
  get map() { return this._map; }
221
219
  }
222
- MapState.ɵfac = function MapState_Factory(t) { return new (t || MapState)(i0.ɵɵinject(i1$1.MapService), i0.ɵɵinject(i1$1.ProjectionService), i0.ɵɵinject(i2.StorageService)); };
220
+ MapState.ɵfac = function MapState_Factory(t) { return new (t || MapState)(i0.ɵɵinject(i1$1.MapService), i0.ɵɵinject(i1$1.ProjectionService), i0.ɵɵinject(i2.StorageService), i0.ɵɵinject(i2.ConfigService)); };
223
221
  MapState.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: MapState, factory: MapState.ɵfac, providedIn: 'root' });
224
222
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MapState, [{
225
223
  type: Injectable,
226
224
  args: [{
227
225
  providedIn: 'root'
228
226
  }]
229
- }], function () { return [{ type: i1$1.MapService }, { type: i1$1.ProjectionService }, { type: i2.StorageService }]; }, null); })();
227
+ }], function () { return [{ type: i1$1.MapService }, { type: i1$1.ProjectionService }, { type: i2.StorageService }, { type: i2.ConfigService }]; }, null); })();
230
228
 
231
229
  let ContextManagerToolComponent = class ContextManagerToolComponent {
232
230
  constructor(toolState, mapState) {
@@ -249,7 +247,7 @@ ContextManagerToolComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type:
249
247
  i0.ɵɵelementEnd();
250
248
  } if (rf & 2) {
251
249
  i0.ɵɵproperty("map", ctx.map);
252
- } }, directives: [i1.ContextListComponent, i1.ContextListBindingDirective], encapsulation: 2 });
250
+ } }, dependencies: [i1.ContextListComponent, i1.ContextListBindingDirective], encapsulation: 2 });
253
251
  ContextManagerToolComponent = __decorate([
254
252
  ToolComponent({
255
253
  name: 'contextManager',
@@ -259,10 +257,7 @@ ContextManagerToolComponent = __decorate([
259
257
  ], ContextManagerToolComponent);
260
258
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ContextManagerToolComponent, [{
261
259
  type: Component,
262
- args: [{
263
- selector: 'igo-context-manager-tool',
264
- templateUrl: './context-manager-tool.component.html'
265
- }]
260
+ args: [{ selector: 'igo-context-manager-tool', template: "<igo-context-list\r\n igoContextListBinding\r\n [map]=\"map\"\r\n (edit)=\"editContext()\"\r\n (managePermissions)=\"managePermissions()\">\r\n</igo-context-list>\r\n" }]
266
261
  }], function () { return [{ type: ToolState }, { type: MapState }]; }, { toolToOpenOnContextChange: [{
267
262
  type: Input
268
263
  }] }); })();
@@ -272,7 +267,7 @@ let ContextPermissionManagerToolComponent = class ContextPermissionManagerToolCo
272
267
  ContextPermissionManagerToolComponent.ɵfac = function ContextPermissionManagerToolComponent_Factory(t) { return new (t || ContextPermissionManagerToolComponent)(); };
273
268
  ContextPermissionManagerToolComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ContextPermissionManagerToolComponent, selectors: [["igo-context-permission-manager-tool"]], decls: 1, vars: 0, consts: [["igoContextPermissionsBinding", ""]], template: function ContextPermissionManagerToolComponent_Template(rf, ctx) { if (rf & 1) {
274
269
  i0.ɵɵelement(0, "igo-context-permissions", 0);
275
- } }, directives: [i1.ContextPermissionsComponent, i1.ContextPermissionsBindingDirective], encapsulation: 2 });
270
+ } }, dependencies: [i1.ContextPermissionsComponent, i1.ContextPermissionsBindingDirective], encapsulation: 2 });
276
271
  ContextPermissionManagerToolComponent = __decorate([
277
272
  ToolComponent({
278
273
  name: 'contextPermissionManager',
@@ -283,10 +278,7 @@ ContextPermissionManagerToolComponent = __decorate([
283
278
  ], ContextPermissionManagerToolComponent);
284
279
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ContextPermissionManagerToolComponent, [{
285
280
  type: Component,
286
- args: [{
287
- selector: 'igo-context-permission-manager-tool',
288
- templateUrl: './context-permission-manager-tool.component.html'
289
- }]
281
+ args: [{ selector: 'igo-context-permission-manager-tool', template: "<igo-context-permissions igoContextPermissionsBinding></igo-context-permissions>\r\n" }]
290
282
  }], null, null); })();
291
283
 
292
284
  /**
@@ -341,7 +333,7 @@ ContextShareToolComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: C
341
333
  i0.ɵɵelement(0, "igo-share-map", 0);
342
334
  } if (rf & 2) {
343
335
  i0.ɵɵproperty("map", ctx.map);
344
- } }, directives: [i1.ShareMapComponent], encapsulation: 2 });
336
+ } }, dependencies: [i1.ShareMapComponent], encapsulation: 2 });
345
337
  ContextShareToolComponent = __decorate([
346
338
  ToolComponent({
347
339
  name: 'shareMap',
@@ -351,17 +343,14 @@ ContextShareToolComponent = __decorate([
351
343
  ], ContextShareToolComponent);
352
344
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ContextShareToolComponent, [{
353
345
  type: Component,
354
- args: [{
355
- selector: 'igo-context-share-tool',
356
- templateUrl: './context-share-tool.component.html'
357
- }]
346
+ args: [{ selector: 'igo-context-share-tool', template: "<igo-share-map\r\n [map]=\"map\"></igo-share-map>\r\n" }]
358
347
  }], function () { return [{ type: MapState }, { type: LayerListToolState }]; }, null); })();
359
348
 
360
349
  class IgoAppContextModule {
361
350
  }
362
351
  IgoAppContextModule.ɵfac = function IgoAppContextModule_Factory(t) { return new (t || IgoAppContextModule)(); };
363
352
  IgoAppContextModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: IgoAppContextModule });
364
- IgoAppContextModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [[IgoContextModule]] });
353
+ IgoAppContextModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [IgoContextModule] });
365
354
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IgoAppContextModule, [{
366
355
  type: NgModule,
367
356
  args: [{
@@ -501,7 +490,7 @@ CatalogLibraryToolComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type:
501
490
  i0.ɵɵelementEnd();
502
491
  } if (rf & 2) {
503
492
  i0.ɵɵproperty("predefinedCatalogs", ctx.predefinedCatalogs)("addCatalogAllowed", ctx.addCatalogAllowed)("store", ctx.store);
504
- } }, directives: [i1$1.CatalogLibaryComponent], encapsulation: 2, changeDetection: 0 });
493
+ } }, dependencies: [i1$1.CatalogLibaryComponent], encapsulation: 2, changeDetection: 0 });
505
494
  CatalogLibraryToolComponent = __decorate([
506
495
  ToolComponent({
507
496
  name: 'catalog',
@@ -511,11 +500,7 @@ CatalogLibraryToolComponent = __decorate([
511
500
  ], CatalogLibraryToolComponent);
512
501
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CatalogLibraryToolComponent, [{
513
502
  type: Component,
514
- args: [{
515
- selector: 'igo-catalog-library-tool',
516
- templateUrl: './catalog-library-tool.component.html',
517
- changeDetection: ChangeDetectionStrategy.OnPush
518
- }]
503
+ args: [{ selector: 'igo-catalog-library-tool', changeDetection: ChangeDetectionStrategy.OnPush, template: "<igo-catalog-library\r\n [predefinedCatalogs]=\"predefinedCatalogs\"\r\n [addCatalogAllowed]=\"addCatalogAllowed\"\r\n [store]=\"store\"\r\n (catalogSelectChange)=\"onCatalogSelectChange($event)\">\r\n</igo-catalog-library>\r\n" }]
519
504
  }], function () { return [{ type: i1$1.CatalogService }, { type: CatalogState }, { type: ToolState }, { type: i2.StorageService }]; }, { addCatalogAllowed: [{
520
505
  type: Input
521
506
  }], predefinedCatalogs: [{
@@ -529,10 +514,8 @@ class IgoAppCatalogLibraryToolModule {
529
514
  }
530
515
  IgoAppCatalogLibraryToolModule.ɵfac = function IgoAppCatalogLibraryToolModule_Factory(t) { return new (t || IgoAppCatalogLibraryToolModule)(); };
531
516
  IgoAppCatalogLibraryToolModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: IgoAppCatalogLibraryToolModule });
532
- IgoAppCatalogLibraryToolModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [[
533
- CommonModule,
534
- IgoCatalogLibraryModule
535
- ]] });
517
+ IgoAppCatalogLibraryToolModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule,
518
+ IgoCatalogLibraryModule] });
536
519
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IgoAppCatalogLibraryToolModule, [{
537
520
  type: NgModule,
538
521
  args: [{
@@ -633,7 +616,7 @@ CatalogBrowserToolComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type:
633
616
  i0.ɵɵpipe(1, "async");
634
617
  } if (rf & 2) {
635
618
  i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(1, 1, ctx.store$));
636
- } }, directives: [i5.NgIf, i1$1.CatalogBrowserComponent], pipes: [i5.AsyncPipe], encapsulation: 2, changeDetection: 0 });
619
+ } }, dependencies: [i6.NgIf, i1$1.CatalogBrowserComponent, i6.AsyncPipe], encapsulation: 2, changeDetection: 0 });
637
620
  CatalogBrowserToolComponent = __decorate([
638
621
  ToolComponent({
639
622
  name: 'catalogBrowser',
@@ -644,11 +627,7 @@ CatalogBrowserToolComponent = __decorate([
644
627
  ], CatalogBrowserToolComponent);
645
628
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CatalogBrowserToolComponent, [{
646
629
  type: Component,
647
- args: [{
648
- selector: 'igo-catalog-browser-tool',
649
- templateUrl: './catalog-browser-tool.component.html',
650
- changeDetection: ChangeDetectionStrategy.OnPush
651
- }]
630
+ args: [{ selector: 'igo-catalog-browser-tool', changeDetection: ChangeDetectionStrategy.OnPush, template: "<igo-catalog-browser\r\n *ngIf=\"store$ | async as store\"\r\n [catalog]=\"catalog\"\r\n [store]=\"store\"\r\n [map]=\"map\"\r\n [toggleCollapsedGroup]=\"toggleCollapsedGroup\">\r\n</igo-catalog-browser>\r\n" }]
652
631
  }], function () { return [{ type: i1$1.CatalogService }, { type: CatalogState }, { type: MapState }, { type: i2$1.AuthService }]; }, { toggleCollapsedGroup: [{
653
632
  type: Input
654
633
  }] }); })();
@@ -660,10 +639,8 @@ class IgoAppCatalogBrowserToolModule {
660
639
  }
661
640
  IgoAppCatalogBrowserToolModule.ɵfac = function IgoAppCatalogBrowserToolModule_Factory(t) { return new (t || IgoAppCatalogBrowserToolModule)(); };
662
641
  IgoAppCatalogBrowserToolModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: IgoAppCatalogBrowserToolModule });
663
- IgoAppCatalogBrowserToolModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [[
664
- CommonModule,
665
- IgoCatalogBrowserModule
666
- ]] });
642
+ IgoAppCatalogBrowserToolModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule,
643
+ IgoCatalogBrowserModule] });
667
644
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IgoAppCatalogBrowserToolModule, [{
668
645
  type: NgModule,
669
646
  args: [{
@@ -683,7 +660,7 @@ class IgoAppCatalogModule {
683
660
  }
684
661
  IgoAppCatalogModule.ɵfac = function IgoAppCatalogModule_Factory(t) { return new (t || IgoAppCatalogModule)(); };
685
662
  IgoAppCatalogModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: IgoAppCatalogModule });
686
- IgoAppCatalogModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [[], IgoAppCatalogLibraryToolModule,
663
+ IgoAppCatalogModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [IgoAppCatalogLibraryToolModule,
687
664
  IgoAppCatalogBrowserToolModule] });
688
665
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IgoAppCatalogModule, [{
689
666
  type: NgModule,
@@ -728,14 +705,12 @@ class DirectionState {
728
705
  this.debounceTime = 200;
729
706
  this.mapState.map.ol.once('rendercomplete', () => {
730
707
  this.stopsFeatureStore.empty$.subscribe((empty) => {
731
- var _a;
732
- if ((_a = this.stopsFeatureStore.layer) === null || _a === void 0 ? void 0 : _a.options) {
708
+ if (this.stopsFeatureStore.layer?.options) {
733
709
  this.stopsFeatureStore.layer.options.showInLayerList = !empty;
734
710
  }
735
711
  });
736
712
  this.routesFeatureStore.empty$.subscribe((empty) => {
737
- var _a;
738
- if ((_a = this.routesFeatureStore.layer) === null || _a === void 0 ? void 0 : _a.options) {
713
+ if (this.routesFeatureStore.layer?.options) {
739
714
  this.routesFeatureStore.layer.options.showInLayerList = !empty;
740
715
  }
741
716
  });
@@ -903,7 +878,7 @@ DirectionsToolComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Dir
903
878
  i0.ɵɵelement(0, "igo-directions", 0);
904
879
  } if (rf & 2) {
905
880
  i0.ɵɵproperty("contextUri", ctx.currentContextUri)("debounceTime", ctx.debounceTime)("stopsStore", ctx.stopsStore)("stopsFeatureStore", ctx.stopsFeatureStore)("stepFeatureStore", ctx.stepFeatureStore)("routesFeatureStore", ctx.routesFeatureStore)("zoomToActiveRoute$", ctx.zoomToActiveRoute$);
906
- } }, directives: [i1$1.DirectionsComponent], encapsulation: 2 });
881
+ } }, dependencies: [i1$1.DirectionsComponent], encapsulation: 2 });
907
882
  DirectionsToolComponent = __decorate([
908
883
  ToolComponent({
909
884
  name: 'directions',
@@ -913,10 +888,7 @@ DirectionsToolComponent = __decorate([
913
888
  ], DirectionsToolComponent);
914
889
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DirectionsToolComponent, [{
915
890
  type: Component,
916
- args: [{
917
- selector: 'igo-directions-tool',
918
- templateUrl: './directions-tool.component.html'
919
- }]
891
+ args: [{ selector: 'igo-directions-tool', template: "<igo-directions\r\n [contextUri]=\"currentContextUri\"\r\n [debounceTime]=\"debounceTime\"\r\n [stopsStore]=\"stopsStore\"\r\n [stopsFeatureStore]=\"stopsFeatureStore\"\r\n [stepFeatureStore]=\"stepFeatureStore\"\r\n [routesFeatureStore]=\"routesFeatureStore\"\r\n [zoomToActiveRoute$]=\"zoomToActiveRoute$\"> \r\n</igo-directions>" }]
920
892
  }], function () { return [{ type: DirectionState }, { type: MapState }, { type: i2.LanguageService }, { type: i2.MessageService }, { type: i2.StorageService }, { type: ContextState }, { type: i2$1.AuthService }]; }, null); })();
921
893
 
922
894
  class IgoAppDirectionsModule {
@@ -929,7 +901,7 @@ class IgoAppDirectionsModule {
929
901
  }
930
902
  IgoAppDirectionsModule.ɵfac = function IgoAppDirectionsModule_Factory(t) { return new (t || IgoAppDirectionsModule)(); };
931
903
  IgoAppDirectionsModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: IgoAppDirectionsModule });
932
- IgoAppDirectionsModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [[IgoDirectionsModule]] });
904
+ IgoAppDirectionsModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [IgoDirectionsModule] });
933
905
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IgoAppDirectionsModule, [{
934
906
  type: NgModule,
935
907
  args: [{
@@ -993,7 +965,7 @@ DrawingToolComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Drawin
993
965
  i0.ɵɵelement(0, "igo-draw", 0);
994
966
  } if (rf & 2) {
995
967
  i0.ɵɵproperty("store", ctx.store)("map", ctx.map);
996
- } }, directives: [i1$1.DrawComponent], encapsulation: 2, changeDetection: 0 });
968
+ } }, dependencies: [i1$1.DrawComponent], encapsulation: 2, changeDetection: 0 });
997
969
  DrawingToolComponent = __decorate([
998
970
  ToolComponent({
999
971
  name: 'draw',
@@ -1003,18 +975,14 @@ DrawingToolComponent = __decorate([
1003
975
  ], DrawingToolComponent);
1004
976
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DrawingToolComponent, [{
1005
977
  type: Component,
1006
- args: [{
1007
- selector: 'igo-drawing-tool',
1008
- templateUrl: './drawing-tool.component.html',
1009
- changeDetection: ChangeDetectionStrategy.OnPush
1010
- }]
978
+ args: [{ selector: 'igo-drawing-tool', changeDetection: ChangeDetectionStrategy.OnPush, template: "<igo-draw [store]=\"store\" [map]=\"map\"></igo-draw>\r\n" }]
1011
979
  }], function () { return [{ type: DrawState }, { type: MapState }]; }, null); })();
1012
980
 
1013
981
  class IgoAppDrawModule {
1014
982
  }
1015
983
  IgoAppDrawModule.ɵfac = function IgoAppDrawModule_Factory(t) { return new (t || IgoAppDrawModule)(); };
1016
984
  IgoAppDrawModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: IgoAppDrawModule });
1017
- IgoAppDrawModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [[IgoDrawingToolModule]] });
985
+ IgoAppDrawModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [IgoDrawingToolModule] });
1018
986
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IgoAppDrawModule, [{
1019
987
  type: NgModule,
1020
988
  args: [{
@@ -1214,10 +1182,9 @@ class WfsActionsService {
1214
1182
  workspace.actionStore.load(actions);
1215
1183
  }
1216
1184
  buildActions(workspace, rowsInMapExtentCheckCondition$, selectOnlyCheckCondition$) {
1217
- var _a, _b;
1218
1185
  this.zoomAuto$.next(this.zoomAuto);
1219
1186
  this.storageChange$$ = this.storageService.storageChange$
1220
- .pipe(skipWhile((storageChange) => (storageChange === null || storageChange === void 0 ? void 0 : storageChange.key) !== 'zoomAuto' || (storageChange === null || storageChange === void 0 ? void 0 : storageChange.event) === StorageServiceEventEnum.CLEARED))
1187
+ .pipe(skipWhile((storageChange) => storageChange?.key !== 'zoomAuto' || storageChange?.event === StorageServiceEventEnum.CLEARED))
1221
1188
  .subscribe(() => {
1222
1189
  this.zoomAuto$.next(this.zoomAuto);
1223
1190
  handleZoomAuto(workspace, this.storageService);
@@ -1317,7 +1284,7 @@ class WfsActionsService {
1317
1284
  }
1318
1285
  }
1319
1286
  ];
1320
- return ((_b = (_a = workspace.layer.dataSource.ogcFilters$) === null || _a === void 0 ? void 0 : _a.value) === null || _b === void 0 ? void 0 : _b.enabled) ?
1287
+ return workspace.layer.dataSource.ogcFilters$?.value?.enabled ?
1321
1288
  actions : actions.filter(action => action.id !== 'ogcFilter');
1322
1289
  }
1323
1290
  }
@@ -1359,10 +1326,9 @@ class EditionActionsService {
1359
1326
  workspace.actionStore.load(actions);
1360
1327
  }
1361
1328
  buildActions(workspace, rowsInMapExtentCheckCondition$, selectOnlyCheckCondition$) {
1362
- var _a, _b;
1363
1329
  this.zoomAuto$.next(this.zoomAuto);
1364
1330
  this.storageChange$$ = this.storageService.storageChange$
1365
- .pipe(skipWhile((storageChange) => (storageChange === null || storageChange === void 0 ? void 0 : storageChange.key) !== 'zoomAuto' || (storageChange === null || storageChange === void 0 ? void 0 : storageChange.event) === StorageServiceEventEnum.CLEARED))
1331
+ .pipe(skipWhile((storageChange) => storageChange?.key !== 'zoomAuto' || storageChange?.event === StorageServiceEventEnum.CLEARED))
1366
1332
  .subscribe(() => {
1367
1333
  this.zoomAuto$.next(this.zoomAuto);
1368
1334
  handleZoomAuto(workspace, this.storageService);
@@ -1462,7 +1428,7 @@ class EditionActionsService {
1462
1428
  }
1463
1429
  }
1464
1430
  ];
1465
- return ((_b = (_a = workspace.layer.dataSource.ogcFilters$) === null || _a === void 0 ? void 0 : _a.value) === null || _b === void 0 ? void 0 : _b.enabled) ?
1431
+ return workspace.layer.dataSource.ogcFilters$?.value?.enabled ?
1466
1432
  actions : actions.filter(action => action.id !== 'ogcFilter');
1467
1433
  }
1468
1434
  }
@@ -1506,18 +1472,16 @@ class WorkspaceState {
1506
1472
  */
1507
1473
  get store() { return this._store; }
1508
1474
  get workspaceSelection() {
1509
- var _a;
1510
1475
  if (this.workspace$.value) {
1511
- return (_a = this.workspace$.value) === null || _a === void 0 ? void 0 : _a.entityStore.stateView.manyBy((r) => r.state.selected === true);
1476
+ return this.workspace$.value?.entityStore.stateView.manyBy((r) => r.state.selected === true);
1512
1477
  }
1513
1478
  else {
1514
1479
  return [];
1515
1480
  }
1516
1481
  }
1517
1482
  get workspaceSelection$() {
1518
- var _a, _b;
1519
1483
  if (this.workspace$.value) {
1520
- return (_b = (_a = this.workspace$.value) === null || _a === void 0 ? void 0 : _a.entityStore) === null || _b === void 0 ? void 0 : _b.stateView.manyBy$((r) => r.state.selected === true);
1484
+ return this.workspace$.value?.entityStore?.stateView.manyBy$((r) => r.state.selected === true);
1521
1485
  }
1522
1486
  else {
1523
1487
  return of([]);
@@ -1662,7 +1626,7 @@ WorkspaceState.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: Workspace
1662
1626
  function WorkspaceButtonComponent_button_0_Template(rf, ctx) { if (rf & 1) {
1663
1627
  const _r2 = i0.ɵɵgetCurrentView();
1664
1628
  i0.ɵɵelementStart(0, "button", 1);
1665
- i0.ɵɵlistener("click", function WorkspaceButtonComponent_button_0_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r2); const ctx_r1 = i0.ɵɵnextContext(); return ctx_r1.activateWorkspace(); });
1629
+ i0.ɵɵlistener("click", function WorkspaceButtonComponent_button_0_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r2); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.activateWorkspace()); });
1666
1630
  i0.ɵɵpipe(1, "translate");
1667
1631
  i0.ɵɵelement(2, "mat-icon", 2);
1668
1632
  i0.ɵɵelementEnd();
@@ -1686,7 +1650,7 @@ class WorkspaceButtonComponent {
1686
1650
  }
1687
1651
  ngOnInit() {
1688
1652
  this.hasWorkspace$$ = combineLatest([this.workspaceState.workspaceEnabled$, this.layer$])
1689
- .subscribe(bunch => { var _a, _b; return this.hasWorkspace$.next(bunch[0] && ((_b = (_a = bunch[1]) === null || _a === void 0 ? void 0 : _a.options.workspace) === null || _b === void 0 ? void 0 : _b.enabled)); });
1653
+ .subscribe(bunch => this.hasWorkspace$.next(bunch[0] && bunch[1]?.options.workspace?.enabled));
1690
1654
  }
1691
1655
  ngOnDestroy() {
1692
1656
  this.hasWorkspace$$.unsubscribe();
@@ -1709,15 +1673,10 @@ WorkspaceButtonComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Wo
1709
1673
  i0.ɵɵpipe(1, "async");
1710
1674
  } if (rf & 2) {
1711
1675
  i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(1, 1, ctx.hasWorkspace$));
1712
- } }, directives: [i5.NgIf, i3.MatButton, i4$1.MatTooltip, i6.MatIcon], pipes: [i5.AsyncPipe, i8.TranslatePipe], styles: [""], changeDetection: 0 });
1676
+ } }, dependencies: [i6.NgIf, i7.MatIcon, i10.MatButton, i5.MatTooltip, i6.AsyncPipe, i8.TranslatePipe], changeDetection: 0 });
1713
1677
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WorkspaceButtonComponent, [{
1714
1678
  type: Component,
1715
- args: [{
1716
- selector: 'igo-workspace-button',
1717
- templateUrl: './workspace-button.component.html',
1718
- styleUrls: ['./workspace-button.component.scss'],
1719
- changeDetection: ChangeDetectionStrategy.OnPush
1720
- }]
1679
+ args: [{ selector: 'igo-workspace-button', changeDetection: ChangeDetectionStrategy.OnPush, template: "<button\r\n *ngIf=\"hasWorkspace$ | async\"\r\n mat-icon-button\r\n tooltip-position=\"below\"\r\n matTooltipShowDelay=\"500\"\r\n [matTooltip]=\"'igo.integration.workspace.toggleWorkspace' | translate\"\r\n [color]=\"color\"\r\n (click)=\"activateWorkspace()\"\r\n >\r\n <mat-icon svgIcon=\"table\"></mat-icon>\r\n</button>\r\n" }]
1721
1680
  }], function () { return [{ type: WorkspaceState }]; }, { layer: [{
1722
1681
  type: Input
1723
1682
  }], color: [{
@@ -1728,13 +1687,11 @@ class IgoAppWorkspaceModule {
1728
1687
  }
1729
1688
  IgoAppWorkspaceModule.ɵfac = function IgoAppWorkspaceModule_Factory(t) { return new (t || IgoAppWorkspaceModule)(); };
1730
1689
  IgoAppWorkspaceModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: IgoAppWorkspaceModule });
1731
- IgoAppWorkspaceModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [[
1732
- CommonModule,
1733
- MatIconModule,
1734
- MatButtonModule,
1735
- MatTooltipModule,
1736
- IgoLanguageModule
1737
- ]] });
1690
+ IgoAppWorkspaceModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule,
1691
+ MatIconModule,
1692
+ MatButtonModule,
1693
+ MatTooltipModule,
1694
+ IgoLanguageModule] });
1738
1695
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IgoAppWorkspaceModule, [{
1739
1696
  type: NgModule,
1740
1697
  args: [{
@@ -1757,19 +1714,16 @@ IgoAppWorkspaceModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [[
1757
1714
 
1758
1715
  function ImportExportToolComponent_mat_tab_group_0_Template(rf, ctx) { if (rf & 1) {
1759
1716
  const _r4 = i0.ɵɵgetCurrentView();
1760
- i0.ɵɵelementStart(0, "mat-tab-group");
1761
- i0.ɵɵelementStart(1, "mat-tab", 3);
1717
+ i0.ɵɵelementStart(0, "mat-tab-group")(1, "mat-tab", 3);
1762
1718
  i0.ɵɵpipe(2, "translate");
1763
1719
  i0.ɵɵelementStart(3, "igo-import-export", 4);
1764
- i0.ɵɵlistener("selectMode", function ImportExportToolComponent_mat_tab_group_0_Template_igo_import_export_selectMode_3_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r3 = i0.ɵɵnextContext(); return ctx_r3.modeChanged($event); })("exportOptionsChange", function ImportExportToolComponent_mat_tab_group_0_Template_igo_import_export_exportOptionsChange_3_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r5 = i0.ɵɵnextContext(); return ctx_r5.exportOptionsChange($event); });
1720
+ i0.ɵɵlistener("selectMode", function ImportExportToolComponent_mat_tab_group_0_Template_igo_import_export_selectMode_3_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r3 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r3.modeChanged($event)); })("exportOptionsChange", function ImportExportToolComponent_mat_tab_group_0_Template_igo_import_export_exportOptionsChange_3_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r5 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r5.exportOptionsChange($event)); });
1765
1721
  i0.ɵɵpipe(4, "async");
1766
- i0.ɵɵelementEnd();
1767
- i0.ɵɵelementEnd();
1722
+ i0.ɵɵelementEnd()();
1768
1723
  i0.ɵɵelementStart(5, "mat-tab", 3);
1769
1724
  i0.ɵɵpipe(6, "translate");
1770
1725
  i0.ɵɵelement(7, "igo-context-import-export", 5);
1771
- i0.ɵɵelementEnd();
1772
- i0.ɵɵelementEnd();
1726
+ i0.ɵɵelementEnd()();
1773
1727
  } if (rf & 2) {
1774
1728
  const ctx_r0 = i0.ɵɵnextContext();
1775
1729
  i0.ɵɵadvance(1);
@@ -1784,7 +1738,7 @@ function ImportExportToolComponent_mat_tab_group_0_Template(rf, ctx) { if (rf &
1784
1738
  function ImportExportToolComponent_igo_import_export_1_Template(rf, ctx) { if (rf & 1) {
1785
1739
  const _r7 = i0.ɵɵgetCurrentView();
1786
1740
  i0.ɵɵelementStart(0, "igo-import-export", 6);
1787
- i0.ɵɵlistener("selectMode", function ImportExportToolComponent_igo_import_export_1_Template_igo_import_export_selectMode_0_listener($event) { i0.ɵɵrestoreView(_r7); const ctx_r6 = i0.ɵɵnextContext(); return ctx_r6.modeChanged($event); })("exportOptionsChange", function ImportExportToolComponent_igo_import_export_1_Template_igo_import_export_exportOptionsChange_0_listener($event) { i0.ɵɵrestoreView(_r7); const ctx_r8 = i0.ɵɵnextContext(); return ctx_r8.exportOptionsChange($event); });
1741
+ i0.ɵɵlistener("selectMode", function ImportExportToolComponent_igo_import_export_1_Template_igo_import_export_selectMode_0_listener($event) { i0.ɵɵrestoreView(_r7); const ctx_r6 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r6.modeChanged($event)); })("exportOptionsChange", function ImportExportToolComponent_igo_import_export_1_Template_igo_import_export_exportOptionsChange_0_listener($event) { i0.ɵɵrestoreView(_r7); const ctx_r8 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r8.exportOptionsChange($event)); });
1788
1742
  i0.ɵɵpipe(1, "async");
1789
1743
  i0.ɵɵelementEnd();
1790
1744
  } if (rf & 2) {
@@ -1860,7 +1814,7 @@ ImportExportToolComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: I
1860
1814
  i0.ɵɵproperty("ngIf", !ctx.importExportShowBothType && ctx.importExportType === "layer");
1861
1815
  i0.ɵɵadvance(1);
1862
1816
  i0.ɵɵproperty("ngIf", !ctx.importExportShowBothType && ctx.importExportType === "context");
1863
- } }, directives: [i5.NgIf, i5$1.MatTabGroup, i5$1.MatTab, i1$1.ImportExportComponent, i1.ContextImportExportComponent], pipes: [i8.TranslatePipe, i5.AsyncPipe], styles: ["mat-form-field[_ngcontent-%COMP%]{width:100%}"], changeDetection: 0 });
1817
+ } }, dependencies: [i1$1.ImportExportComponent, i1.ContextImportExportComponent, i6.NgIf, i7$1.MatTabGroup, i7$1.MatTab, i6.AsyncPipe, i8.TranslatePipe], styles: ["mat-form-field[_ngcontent-%COMP%]{width:100%}"], changeDetection: 0 });
1864
1818
  ImportExportToolComponent = __decorate([
1865
1819
  ToolComponent({
1866
1820
  name: 'importExport',
@@ -1870,12 +1824,7 @@ ImportExportToolComponent = __decorate([
1870
1824
  ], ImportExportToolComponent);
1871
1825
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ImportExportToolComponent, [{
1872
1826
  type: Component,
1873
- args: [{
1874
- selector: 'igo-import-export-tool',
1875
- templateUrl: './import-export-tool.component.html',
1876
- styleUrls: ['./import-export-tool.component.scss'],
1877
- changeDetection: ChangeDetectionStrategy.OnPush
1878
- }]
1827
+ args: [{ selector: 'igo-import-export-tool', changeDetection: ChangeDetectionStrategy.OnPush, template: "<mat-tab-group *ngIf=\"importExportShowBothType\" >\r\n <mat-tab [label]=\"'igo.integration.importExportTool.importExportData' | translate\">\r\n <igo-import-export \r\n [map]=\"map\"\r\n [selectFirstProj]=\"selectFirstProj\"\r\n [projectionsLimitations]=\"projectionsLimitations\"\r\n [store]=\"workspaceStore\"\r\n [selectedMode]=\"importExportState.selectedMode$ | async\"\r\n (selectMode)=\"modeChanged($event)\"\r\n [exportOptions$]=\"importExportState.exportOptions$\"\r\n (exportOptionsChange)=\"exportOptionsChange($event)\">\r\n </igo-import-export>\r\n </mat-tab>\r\n <mat-tab [label]=\"'igo.integration.importExportTool.importExportContext' | translate\">\r\n <igo-context-import-export [map]=\"map\"></igo-context-import-export>\r\n </mat-tab>\r\n</mat-tab-group>\r\n\r\n<igo-import-export \r\n *ngIf=\"!importExportShowBothType && importExportType === 'layer'\"\r\n [map]=\"map\"\r\n [store]=\"workspaceStore\"\r\n [selectedMode]=\"importExportState.selectedMode$ | async\"\r\n (selectMode)=\"modeChanged($event)\"\r\n [exportOptions$]=\"importExportState.exportOptions$\"\r\n (exportOptionsChange)=\"exportOptionsChange($event)\">\r\n</igo-import-export>\r\n\r\n<igo-context-import-export \r\n *ngIf=\"!importExportShowBothType && importExportType === 'context'\"\r\n [map]=\"map\">\r\n</igo-context-import-export>", styles: ["mat-form-field{width:100%}\n"] }]
1879
1828
  }], function () { return [{ type: MapState }, { type: ImportExportState }, { type: WorkspaceState }]; }, { projectionsLimitations: [{
1880
1829
  type: Input
1881
1830
  }], selectFirstProj: [{
@@ -1896,14 +1845,12 @@ class IgoAppImportExportModule {
1896
1845
  }
1897
1846
  IgoAppImportExportModule.ɵfac = function IgoAppImportExportModule_Factory(t) { return new (t || IgoAppImportExportModule)(); };
1898
1847
  IgoAppImportExportModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: IgoAppImportExportModule });
1899
- IgoAppImportExportModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [[
1900
- IgoImportExportModule,
1901
- IgoContextImportExportModule,
1902
- CommonModule,
1903
- IgoLanguageModule,
1904
- MatButtonToggleModule,
1905
- MatTabsModule
1906
- ]] });
1848
+ IgoAppImportExportModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [IgoImportExportModule,
1849
+ IgoContextImportExportModule,
1850
+ CommonModule,
1851
+ IgoLanguageModule,
1852
+ MatButtonToggleModule,
1853
+ MatTabsModule] });
1907
1854
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IgoAppImportExportModule, [{
1908
1855
  type: NgModule,
1909
1856
  args: [{
@@ -1931,12 +1878,9 @@ function MapDetailsToolComponent_igo_layer_list_0_ng_template_1_Template(rf, ctx
1931
1878
  const _r7 = i0.ɵɵgetCurrentView();
1932
1879
  i0.ɵɵelement(0, "igo-workspace-button", 4);
1933
1880
  i0.ɵɵelementStart(1, "igo-export-button", 5);
1934
- i0.ɵɵlistener("click", function MapDetailsToolComponent_igo_layer_list_0_ng_template_1_Template_igo_export_button_click_1_listener() { const restoredCtx = i0.ɵɵrestoreView(_r7); const layer_r5 = restoredCtx.layer; const ctx_r6 = i0.ɵɵnextContext(2); return ctx_r6.activateExport(layer_r5); });
1881
+ i0.ɵɵlistener("click", function MapDetailsToolComponent_igo_layer_list_0_ng_template_1_Template_igo_export_button_click_1_listener() { const restoredCtx = i0.ɵɵrestoreView(_r7); const layer_r5 = restoredCtx.layer; const ctx_r6 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r6.activateExport(layer_r5)); });
1935
1882
  i0.ɵɵelementEnd();
1936
- i0.ɵɵelement(2, "igo-ogc-filter-button", 6);
1937
- i0.ɵɵelement(3, "igo-time-filter-button", 6);
1938
- i0.ɵɵelement(4, "igo-track-feature-button", 7);
1939
- i0.ɵɵelement(5, "igo-metadata-button", 4);
1883
+ i0.ɵɵelement(2, "igo-ogc-filter-button", 6)(3, "igo-time-filter-button", 6)(4, "igo-track-feature-button", 7)(5, "igo-metadata-button", 4);
1940
1884
  } if (rf & 2) {
1941
1885
  const layer_r5 = ctx.layer;
1942
1886
  const ctx_r4 = i0.ɵɵnextContext(2);
@@ -1971,67 +1915,57 @@ function MapDetailsToolComponent_ng_template_2_mat_list_0_p_4_Template(rf, ctx)
1971
1915
  } }
1972
1916
  function MapDetailsToolComponent_ng_template_2_mat_list_0_mat_list_item_5_Template(rf, ctx) { if (rf & 1) {
1973
1917
  const _r14 = i0.ɵɵgetCurrentView();
1974
- i0.ɵɵelementStart(0, "mat-list-item");
1975
- i0.ɵɵelementStart(1, "mat-icon", 11);
1918
+ i0.ɵɵelementStart(0, "mat-list-item")(1, "mat-icon", 11);
1976
1919
  i0.ɵɵnamespaceSVG();
1977
1920
  i0.ɵɵelementStart(2, "svg", 12);
1978
1921
  i0.ɵɵelement(3, "path", 13);
1979
- i0.ɵɵelementEnd();
1980
- i0.ɵɵelementEnd();
1922
+ i0.ɵɵelementEnd()();
1981
1923
  i0.ɵɵnamespaceHTML();
1982
1924
  i0.ɵɵelementStart(4, "h4", 14);
1983
- i0.ɵɵlistener("click", function MapDetailsToolComponent_ng_template_2_mat_list_0_mat_list_item_5_Template_h4_click_4_listener() { i0.ɵɵrestoreView(_r14); const ctx_r13 = i0.ɵɵnextContext(3); return ctx_r13.searchEmit(); });
1925
+ i0.ɵɵlistener("click", function MapDetailsToolComponent_ng_template_2_mat_list_0_mat_list_item_5_Template_h4_click_4_listener() { i0.ɵɵrestoreView(_r14); const ctx_r13 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r13.searchEmit()); });
1984
1926
  i0.ɵɵtext(5);
1985
1927
  i0.ɵɵpipe(6, "translate");
1986
- i0.ɵɵelementEnd();
1987
- i0.ɵɵelementEnd();
1928
+ i0.ɵɵelementEnd()();
1988
1929
  } if (rf & 2) {
1989
1930
  i0.ɵɵadvance(5);
1990
1931
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 1, "igo.integration.mapTool.search-tool"), " ");
1991
1932
  } }
1992
1933
  function MapDetailsToolComponent_ng_template_2_mat_list_0_mat_list_item_6_Template(rf, ctx) { if (rf & 1) {
1993
1934
  const _r16 = i0.ɵɵgetCurrentView();
1994
- i0.ɵɵelementStart(0, "mat-list-item");
1995
- i0.ɵɵelementStart(1, "mat-icon", 11);
1935
+ i0.ɵɵelementStart(0, "mat-list-item")(1, "mat-icon", 11);
1996
1936
  i0.ɵɵnamespaceSVG();
1997
1937
  i0.ɵɵelementStart(2, "svg", 12);
1998
1938
  i0.ɵɵelement(3, "path", 15);
1999
- i0.ɵɵelementEnd();
2000
- i0.ɵɵelementEnd();
1939
+ i0.ɵɵelementEnd()();
2001
1940
  i0.ɵɵnamespaceHTML();
2002
1941
  i0.ɵɵelementStart(4, "h4", 16);
2003
- i0.ɵɵlistener("click", function MapDetailsToolComponent_ng_template_2_mat_list_0_mat_list_item_6_Template_h4_click_4_listener() { i0.ɵɵrestoreView(_r16); const ctx_r15 = i0.ɵɵnextContext(3); return ctx_r15.catalogEmit(); });
1942
+ i0.ɵɵlistener("click", function MapDetailsToolComponent_ng_template_2_mat_list_0_mat_list_item_6_Template_h4_click_4_listener() { i0.ɵɵrestoreView(_r16); const ctx_r15 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r15.catalogEmit()); });
2004
1943
  i0.ɵɵtext(5);
2005
1944
  i0.ɵɵpipe(6, "translate");
2006
- i0.ɵɵelementEnd();
2007
- i0.ɵɵelementEnd();
1945
+ i0.ɵɵelementEnd()();
2008
1946
  } if (rf & 2) {
2009
1947
  i0.ɵɵadvance(5);
2010
1948
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 1, "igo.integration.mapTool.catalog-tool"), " ");
2011
1949
  } }
2012
1950
  function MapDetailsToolComponent_ng_template_2_mat_list_0_mat_list_item_7_Template(rf, ctx) { if (rf & 1) {
2013
1951
  const _r18 = i0.ɵɵgetCurrentView();
2014
- i0.ɵɵelementStart(0, "mat-list-item");
2015
- i0.ɵɵelementStart(1, "mat-icon", 11);
1952
+ i0.ɵɵelementStart(0, "mat-list-item")(1, "mat-icon", 11);
2016
1953
  i0.ɵɵnamespaceSVG();
2017
1954
  i0.ɵɵelementStart(2, "svg", 12);
2018
1955
  i0.ɵɵelement(3, "path", 17);
2019
- i0.ɵɵelementEnd();
2020
- i0.ɵɵelementEnd();
1956
+ i0.ɵɵelementEnd()();
2021
1957
  i0.ɵɵnamespaceHTML();
2022
1958
  i0.ɵɵelementStart(4, "h4", 18);
2023
- i0.ɵɵlistener("click", function MapDetailsToolComponent_ng_template_2_mat_list_0_mat_list_item_7_Template_h4_click_4_listener() { i0.ɵɵrestoreView(_r18); const ctx_r17 = i0.ɵɵnextContext(3); return ctx_r17.contextEmit(); });
1959
+ i0.ɵɵlistener("click", function MapDetailsToolComponent_ng_template_2_mat_list_0_mat_list_item_7_Template_h4_click_4_listener() { i0.ɵɵrestoreView(_r18); const ctx_r17 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r17.contextEmit()); });
2024
1960
  i0.ɵɵtext(5);
2025
1961
  i0.ɵɵpipe(6, "translate");
2026
- i0.ɵɵelementEnd();
2027
- i0.ɵɵelementEnd();
1962
+ i0.ɵɵelementEnd()();
2028
1963
  } if (rf & 2) {
2029
1964
  i0.ɵɵadvance(5);
2030
1965
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 1, "igo.integration.mapTool.context-tool"), " ");
2031
1966
  } }
2032
1967
  function MapDetailsToolComponent_ng_template_2_mat_list_0_Template(rf, ctx) { if (rf & 1) {
2033
- i0.ɵɵelementStart(0, "mat-list");
2034
- i0.ɵɵelementStart(1, "p", 9);
1968
+ i0.ɵɵelementStart(0, "mat-list")(1, "p", 9);
2035
1969
  i0.ɵɵtext(2);
2036
1970
  i0.ɵɵpipe(3, "translate");
2037
1971
  i0.ɵɵelementEnd();
@@ -2132,9 +2066,8 @@ let MapDetailsToolComponent = class MapDetailsToolComponent {
2132
2066
  this.toolState.toolbox.activateTool('contextManager');
2133
2067
  }
2134
2068
  activateExport(layer) {
2135
- var _a;
2136
2069
  let id = layer.id;
2137
- if ((_a = layer.options.workspace) === null || _a === void 0 ? void 0 : _a.workspaceId) {
2070
+ if (layer.options.workspace?.workspaceId) {
2138
2071
  id = layer.options.workspace.workspaceId !== layer.id ? layer.options.workspace.workspaceId : layer.id;
2139
2072
  }
2140
2073
  this.importExportState.setsExportOptions({ layers: [id] });
@@ -2150,7 +2083,7 @@ MapDetailsToolComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Map
2150
2083
  } if (rf & 2) {
2151
2084
  const _r1 = i0.ɵɵreference(3);
2152
2085
  i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(1, 2, ctx.layers$).length)("ngIfElse", _r1);
2153
- } }, directives: [i5.NgIf, i1$1.LayerListComponent, i1$1.LayerListBindingDirective, WorkspaceButtonComponent, i1$1.ExportButtonComponent, i1$1.OgcFilterButtonComponent, i1$1.TimeFilterButtonComponent, i1$1.TrackFeatureButtonComponent, i1$1.MetadataButtonComponent, i7.MatList, i7.MatListItem, i6.MatIcon, i7.MatListIconCssMatStyler, i8$1.MatLine], pipes: [i5.AsyncPipe, i8.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}"] });
2086
+ } }, dependencies: [i6.NgIf, i6$1.MatList, i6$1.MatListItem, i8$1.MatLine, i6$1.MatListIconCssMatStyler, i7.MatIcon, i1$1.LayerListComponent, i1$1.LayerListBindingDirective, i1$1.TrackFeatureButtonComponent, i1$1.MetadataButtonComponent, i1$1.ExportButtonComponent, i1$1.TimeFilterButtonComponent, i1$1.OgcFilterButtonComponent, WorkspaceButtonComponent, i6.AsyncPipe, i8.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:700}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}"] });
2154
2087
  MapDetailsToolComponent = __decorate([
2155
2088
  ToolComponent({
2156
2089
  name: 'mapDetails',
@@ -2160,11 +2093,7 @@ MapDetailsToolComponent = __decorate([
2160
2093
  ], MapDetailsToolComponent);
2161
2094
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MapDetailsToolComponent, [{
2162
2095
  type: Component,
2163
- args: [{
2164
- selector: 'igo-map-details-tool',
2165
- templateUrl: './map-details-tool.component.html',
2166
- styleUrls: ['./map-details-tool.component.scss']
2167
- }]
2096
+ args: [{ selector: 'igo-map-details-tool', template: "<igo-layer-list class=\"mapDetailsList\" *ngIf=\"(layers$ | async).length; else empty\"\r\n [map]=\"map\"\r\n igoLayerListBinding\r\n [excludeBaseLayers]=\"excludeBaseLayers\"\r\n [layerFilterAndSortOptions]=\"layerFilterAndSortOptions\"\r\n [expandLegendOfVisibleLayers]=\"expandLegendOfVisibleLayers\"\r\n [toggleLegendOnVisibilityChange]=\"toggleLegendOnVisibilityChange\"\r\n [updateLegendOnResolutionChange]=\"updateLegendOnResolutionChange\"\r\n floatLabel=\"never\"\r\n [queryBadge]=\"queryBadge\">\r\n\r\n <ng-template #igoLayerItemToolbar let-layer=\"layer\">\r\n <!-- <igo-download-button [layer]=\"layer\"></igo-download-button> -->\r\n <igo-workspace-button [layer]=\"layer\"></igo-workspace-button>\r\n <igo-export-button [layer]=\"layer\" (click)=\"activateExport(layer)\"></igo-export-button>\r\n <igo-ogc-filter-button [header]=\"ogcButton\" [layer]=\"layer\"></igo-ogc-filter-button>\r\n <igo-time-filter-button [header]=\"timeButton\" [layer]=\"layer\"></igo-time-filter-button>\r\n <igo-track-feature-button [trackFeature]=\"true\" [layer]=\"layer\"></igo-track-feature-button>\r\n <igo-metadata-button [layer]=\"layer\"></igo-metadata-button>\r\n </ng-template>\r\n\r\n</igo-layer-list>\r\n\r\n<ng-template #empty>\r\n <mat-list *ngIf=\"delayedShowEmptyMapContent\">\r\n <p class=\"map-empty mat-typography\">\r\n {{'igo.integration.mapTool.empty' | translate}}</p>\r\n <p *ngIf=\"layerAdditionAllowed && (searchToolInToolbar || catalogToolInToolbar || contextToolInToolbar)\" class=\"map-empty mat-typography\">\r\n {{'igo.integration.mapTool.customize' | translate}}</p>\r\n <mat-list-item *ngIf=\"layerAdditionAllowed && searchToolInToolbar\">\r\n <mat-icon mat-list-icon> <svg viewBox='0 0 24 24' fit='' height='100%' width='100%' preserveAspectRatio='xMidYMid meet' focusable='false'> <path d='M9.5,3A6.5,6.5 0 0,1 16,9.5C16,11.11 15.41,12.59 14.44,13.73L14.71,14H15.5L20.5,19L19,20.5L14,15.5V14.71L13.73,14.44C12.59,15.41 11.11,16 9.5,16A6.5,6.5 0 0,1 3,9.5A6.5,6.5 0 0,1 9.5,3M9.5,5C7,5 5,7 5,9.5C5,12 7,14 9.5,14C12,14 14,12 14,9.5C14,7 12,5 9.5,5Z'> </path> </svg></mat-icon>\r\n <h4 matLine class=\"search-tool mat-typography\" (click)=\"searchEmit()\">\r\n {{'igo.integration.mapTool.search-tool' | translate}}\r\n </h4>\r\n </mat-list-item>\r\n <mat-list-item *ngIf=\"layerAdditionAllowed && catalogToolInToolbar\">\r\n <mat-icon mat-list-icon> <svg viewBox='0 0 24 24' fit='' height='100%' width='100%' preserveAspectRatio='xMidYMid meet' focusable='false'> <path d='M17,14H19V17H22V19H19V22H17V19H14V17H17V14M11,16L2,9L11,2L20,9L11,16M11,18.54L12,17.75V18C12,18.71 12.12,19.39 12.35,20L11,21.07L2,14.07L3.62,12.81L11,18.54Z'></path> </svg></mat-icon>\r\n <h4 matLine class=\"catalog-tool mat-typography\" (click)=\"catalogEmit()\">\r\n {{'igo.integration.mapTool.catalog-tool' | translate}}\r\n </h4>\r\n </mat-list-item>\r\n <mat-list-item *ngIf=\"layerAdditionAllowed && contextToolInToolbar\">\r\n <mat-icon mat-list-icon> <svg viewBox='0 0 24 24' fit='' height='100%' width='100%' preserveAspectRatio='xMidYMid meet' focusable='false'> <path d='M12,17.27L18.18,21L16.54,13.97L22,9.24L14.81,8.62L12,2L9.19,8.62L2,9.24L7.45,13.97L5.82,21L12,17.27Z'></path> </svg></mat-icon>\r\n <h4 matLine class=\"context-tool mat-typography\" (click)=\"contextEmit()\">\r\n {{'igo.integration.mapTool.context-tool' | translate}}\r\n </h4>\r\n </mat-list-item>\r\n </mat-list>\r\n</ng-template>\r\n", styles: [".map-empty,.search-tool,.catalog-tool,.context-tool{margin:10px}.map-empty{text-align:justify}.search-tool,.catalog-tool,.context-tool{cursor:pointer}mat-list mat-list-item h4{font-weight:700}mat-list-item ::ng-deep .mat-list-text{font-size:smaller}mat-list.mat-list-base mat-list-item.mat-list-item ::ng-deep div.mat-list-item-content div.mat-list-text{padding-left:5px}.mapDetailsList{overflow:hidden}\n"] }]
2168
2097
  }], function () { return [{ type: MapState }, { type: ToolState }, { type: i1$1.SearchSourceService }, { type: i0.ChangeDetectorRef }, { type: ImportExportState }]; }, { toggleLegendOnVisibilityChange: [{
2169
2098
  type: Input
2170
2099
  }], expandLegendOfVisibleLayers: [{
@@ -2187,12 +2116,9 @@ function MapToolComponent_ng_template_4_Template(rf, ctx) { if (rf & 1) {
2187
2116
  const _r4 = i0.ɵɵgetCurrentView();
2188
2117
  i0.ɵɵelement(0, "igo-workspace-button", 4);
2189
2118
  i0.ɵɵelementStart(1, "igo-export-button", 5);
2190
- i0.ɵɵlistener("click", function MapToolComponent_ng_template_4_Template_igo_export_button_click_1_listener() { const restoredCtx = i0.ɵɵrestoreView(_r4); const layer_r2 = restoredCtx.layer; const ctx_r3 = i0.ɵɵnextContext(); return ctx_r3.activateExport(layer_r2); });
2119
+ i0.ɵɵlistener("click", function MapToolComponent_ng_template_4_Template_igo_export_button_click_1_listener() { const restoredCtx = i0.ɵɵrestoreView(_r4); const layer_r2 = restoredCtx.layer; const ctx_r3 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r3.activateExport(layer_r2)); });
2191
2120
  i0.ɵɵelementEnd();
2192
- i0.ɵɵelement(2, "igo-ogc-filter-button", 6);
2193
- i0.ɵɵelement(3, "igo-time-filter-button", 6);
2194
- i0.ɵɵelement(4, "igo-track-feature-button", 7);
2195
- i0.ɵɵelement(5, "igo-metadata-button", 4);
2121
+ i0.ɵɵelement(2, "igo-ogc-filter-button", 6)(3, "igo-time-filter-button", 6)(4, "igo-track-feature-button", 7)(5, "igo-metadata-button", 4);
2196
2122
  } if (rf & 2) {
2197
2123
  const layer_r2 = ctx.layer;
2198
2124
  const ctx_r1 = i0.ɵɵnextContext();
@@ -2247,9 +2173,8 @@ let MapToolComponent = class MapToolComponent {
2247
2173
  return filterSortOptions;
2248
2174
  }
2249
2175
  activateExport(layer) {
2250
- var _a;
2251
2176
  let id = layer.id;
2252
- if ((_a = layer.options.workspace) === null || _a === void 0 ? void 0 : _a.workspaceId) {
2177
+ if (layer.options.workspace?.workspaceId) {
2253
2178
  id = layer.options.workspace.workspaceId !== layer.id ? layer.options.workspace.workspaceId : layer.id;
2254
2179
  }
2255
2180
  this.importExportState.setsExportOptions({ layers: [id] });
@@ -2259,18 +2184,15 @@ let MapToolComponent = class MapToolComponent {
2259
2184
  };
2260
2185
  MapToolComponent.ɵfac = function MapToolComponent_Factory(t) { return new (t || MapToolComponent)(i0.ɵɵdirectiveInject(MapState), i0.ɵɵdirectiveInject(ToolState), i0.ɵɵdirectiveInject(ImportExportState)); };
2261
2186
  MapToolComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MapToolComponent, selectors: [["igo-map-tool"]], inputs: { toggleLegendOnVisibilityChange: "toggleLegendOnVisibilityChange", expandLegendOfVisibleLayers: "expandLegendOfVisibleLayers", updateLegendOnResolutionChange: "updateLegendOnResolutionChange", ogcButton: "ogcButton", timeButton: "timeButton", layerListControls: "layerListControls", queryBadge: "queryBadge" }, decls: 9, vars: 14, consts: [[3, "label"], ["igoLayerListBinding", "", 3, "map", "excludeBaseLayers", "layerFilterAndSortOptions", "expandLegendOfVisibleLayers", "toggleLegendOnVisibilityChange", "updateLegendOnResolutionChange", "floatLabel", "queryBadge"], ["igoLayerItemToolbar", ""], ["igoContextListBinding", ""], [3, "layer"], [3, "layer", "click"], [3, "header", "layer"], [3, "trackFeature", "layer"]], template: function MapToolComponent_Template(rf, ctx) { if (rf & 1) {
2262
- i0.ɵɵelementStart(0, "mat-tab-group");
2263
- i0.ɵɵelementStart(1, "mat-tab", 0);
2187
+ i0.ɵɵelementStart(0, "mat-tab-group")(1, "mat-tab", 0);
2264
2188
  i0.ɵɵpipe(2, "translate");
2265
2189
  i0.ɵɵelementStart(3, "igo-layer-list", 1);
2266
2190
  i0.ɵɵtemplate(4, MapToolComponent_ng_template_4_Template, 6, 9, "ng-template", null, 2, i0.ɵɵtemplateRefExtractor);
2267
- i0.ɵɵelementEnd();
2268
- i0.ɵɵelementEnd();
2191
+ i0.ɵɵelementEnd()();
2269
2192
  i0.ɵɵelementStart(6, "mat-tab", 0);
2270
2193
  i0.ɵɵpipe(7, "translate");
2271
2194
  i0.ɵɵelement(8, "igo-context-list", 3);
2272
- i0.ɵɵelementEnd();
2273
- i0.ɵɵelementEnd();
2195
+ i0.ɵɵelementEnd()();
2274
2196
  } if (rf & 2) {
2275
2197
  i0.ɵɵadvance(1);
2276
2198
  i0.ɵɵproperty("label", i0.ɵɵpipeBind1(2, 10, "igo.integration.tools.map"));
@@ -2278,7 +2200,7 @@ MapToolComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MapToolCom
2278
2200
  i0.ɵɵproperty("map", ctx.map)("excludeBaseLayers", ctx.excludeBaseLayers)("layerFilterAndSortOptions", ctx.layerFilterAndSortOptions)("expandLegendOfVisibleLayers", ctx.expandLegendOfVisibleLayers)("toggleLegendOnVisibilityChange", ctx.toggleLegendOnVisibilityChange)("updateLegendOnResolutionChange", ctx.updateLegendOnResolutionChange)("floatLabel", false)("queryBadge", ctx.queryBadge);
2279
2201
  i0.ɵɵadvance(3);
2280
2202
  i0.ɵɵproperty("label", i0.ɵɵpipeBind1(7, 12, "igo.integration.tools.contexts"));
2281
- } }, directives: [i5$1.MatTabGroup, i5$1.MatTab, i1$1.LayerListComponent, i1$1.LayerListBindingDirective, i1.ContextListComponent, i1.ContextListBindingDirective, WorkspaceButtonComponent, i1$1.ExportButtonComponent, i1$1.OgcFilterButtonComponent, i1$1.TimeFilterButtonComponent, i1$1.TrackFeatureButtonComponent, i1$1.MetadataButtonComponent], pipes: [i8.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 });
2203
+ } }, dependencies: [i7$1.MatTabGroup, i7$1.MatTab, i1$1.LayerListComponent, i1$1.LayerListBindingDirective, i1$1.TrackFeatureButtonComponent, i1$1.MetadataButtonComponent, i1$1.ExportButtonComponent, i1$1.TimeFilterButtonComponent, i1$1.OgcFilterButtonComponent, i1.ContextListComponent, i1.ContextListBindingDirective, WorkspaceButtonComponent, i8.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 });
2282
2204
  MapToolComponent = __decorate([
2283
2205
  ToolComponent({
2284
2206
  name: 'map',
@@ -2288,12 +2210,7 @@ MapToolComponent = __decorate([
2288
2210
  ], MapToolComponent);
2289
2211
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MapToolComponent, [{
2290
2212
  type: Component,
2291
- args: [{
2292
- selector: 'igo-map-tool',
2293
- templateUrl: './map-tool.component.html',
2294
- styleUrls: ['./map-tool.component.scss'],
2295
- changeDetection: ChangeDetectionStrategy.OnPush
2296
- }]
2213
+ args: [{ selector: 'igo-map-tool', changeDetection: ChangeDetectionStrategy.OnPush, template: "<mat-tab-group>\r\n\r\n <mat-tab [label]=\"'igo.integration.tools.map' |\u00A0translate\">\r\n <igo-layer-list\r\n [map]=\"map\"\r\n igoLayerListBinding\r\n [excludeBaseLayers]=\"excludeBaseLayers\"\r\n [layerFilterAndSortOptions]=\"layerFilterAndSortOptions\"\r\n [expandLegendOfVisibleLayers]=\"expandLegendOfVisibleLayers\"\r\n [toggleLegendOnVisibilityChange]=\"toggleLegendOnVisibilityChange\"\r\n [updateLegendOnResolutionChange]=\"updateLegendOnResolutionChange\"\r\n [floatLabel]=\"false\"\r\n [queryBadge]=\"queryBadge\">\r\n\r\n <ng-template #igoLayerItemToolbar let-layer=\"layer\">\r\n <!-- <igo-download-button [layer]=\"layer\"></igo-download-button> -->\r\n <igo-workspace-button [layer]=\"layer\"></igo-workspace-button>\r\n <igo-export-button [layer]=\"layer\" (click)=\"activateExport(layer)\"></igo-export-button>\r\n <igo-ogc-filter-button [header]=\"ogcButton\" [layer]=\"layer\"></igo-ogc-filter-button>\r\n <igo-time-filter-button [header]=\"timeButton\" [layer]=\"layer\"></igo-time-filter-button>\r\n <igo-track-feature-button [trackFeature]=\"true\" [layer]=\"layer\"></igo-track-feature-button>\r\n <igo-metadata-button [layer]=\"layer\"></igo-metadata-button>\r\n </ng-template>\r\n\r\n </igo-layer-list>\r\n </mat-tab>\r\n\r\n <mat-tab [label]=\"'igo.integration.tools.contexts' |\u00A0translate\">\r\n <igo-context-list igoContextListBinding></igo-context-list>\r\n </mat-tab>\r\n\r\n</mat-tab-group>\r\n", styles: ["mat-tab-group,mat-tab-group ::ng-deep .mat-tab-body-wrapper{height:100%;overflow:hidden}:host ::ng-deep .mat-tab-body-content{overflow:hidden}\n"] }]
2297
2214
  }], function () { return [{ type: MapState }, { type: ToolState }, { type: ImportExportState }]; }, { toggleLegendOnVisibilityChange: [{
2298
2215
  type: Input
2299
2216
  }], expandLegendOfVisibleLayers: [{
@@ -2314,7 +2231,7 @@ const _c0$2 = ["tabGroup"];
2314
2231
  function MapToolsComponent_igo_layer_list_5_ng_template_1_igo_time_filter_button_2_Template(rf, ctx) { if (rf & 1) {
2315
2232
  const _r14 = i0.ɵɵgetCurrentView();
2316
2233
  i0.ɵɵelementStart(0, "igo-time-filter-button", 14);
2317
- i0.ɵɵlistener("click", function MapToolsComponent_igo_layer_list_5_ng_template_1_igo_time_filter_button_2_Template_igo_time_filter_button_click_0_listener() { i0.ɵɵrestoreView(_r14); const ctx_r13 = i0.ɵɵnextContext(3); return ctx_r13.activateTimeFilter(); });
2234
+ i0.ɵɵlistener("click", function MapToolsComponent_igo_layer_list_5_ng_template_1_igo_time_filter_button_2_Template_igo_time_filter_button_click_0_listener() { i0.ɵɵrestoreView(_r14); const ctx_r13 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r13.activateTimeFilter()); });
2318
2235
  i0.ɵɵelementEnd();
2319
2236
  } if (rf & 2) {
2320
2237
  const layer_r9 = i0.ɵɵnextContext().layer;
@@ -2324,7 +2241,7 @@ function MapToolsComponent_igo_layer_list_5_ng_template_1_igo_time_filter_button
2324
2241
  function MapToolsComponent_igo_layer_list_5_ng_template_1_igo_ogc_filter_button_3_Template(rf, ctx) { if (rf & 1) {
2325
2242
  const _r17 = i0.ɵɵgetCurrentView();
2326
2243
  i0.ɵɵelementStart(0, "igo-ogc-filter-button", 14);
2327
- i0.ɵɵlistener("click", function MapToolsComponent_igo_layer_list_5_ng_template_1_igo_ogc_filter_button_3_Template_igo_ogc_filter_button_click_0_listener() { i0.ɵɵrestoreView(_r17); const ctx_r16 = i0.ɵɵnextContext(3); return ctx_r16.activateOgcFilter(); });
2244
+ i0.ɵɵlistener("click", function MapToolsComponent_igo_layer_list_5_ng_template_1_igo_ogc_filter_button_3_Template_igo_ogc_filter_button_click_0_listener() { i0.ɵɵrestoreView(_r17); const ctx_r16 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r16.activateOgcFilter()); });
2328
2245
  i0.ɵɵelementEnd();
2329
2246
  } if (rf & 2) {
2330
2247
  const layer_r9 = i0.ɵɵnextContext().layer;
@@ -2334,15 +2251,14 @@ function MapToolsComponent_igo_layer_list_5_ng_template_1_igo_ogc_filter_button_
2334
2251
  function MapToolsComponent_igo_layer_list_5_ng_template_1_igo_export_button_4_Template(rf, ctx) { if (rf & 1) {
2335
2252
  const _r21 = i0.ɵɵgetCurrentView();
2336
2253
  i0.ɵɵelementStart(0, "igo-export-button", 15);
2337
- i0.ɵɵlistener("click", function MapToolsComponent_igo_layer_list_5_ng_template_1_igo_export_button_4_Template_igo_export_button_click_0_listener() { i0.ɵɵrestoreView(_r21); const layer_r9 = i0.ɵɵnextContext().layer; const ctx_r19 = i0.ɵɵnextContext(2); return ctx_r19.activateExport(layer_r9); });
2254
+ i0.ɵɵlistener("click", function MapToolsComponent_igo_layer_list_5_ng_template_1_igo_export_button_4_Template_igo_export_button_click_0_listener() { i0.ɵɵrestoreView(_r21); const layer_r9 = i0.ɵɵnextContext().layer; const ctx_r19 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r19.activateExport(layer_r9)); });
2338
2255
  i0.ɵɵelementEnd();
2339
2256
  } if (rf & 2) {
2340
2257
  const layer_r9 = i0.ɵɵnextContext().layer;
2341
2258
  i0.ɵɵproperty("layer", layer_r9);
2342
2259
  } }
2343
2260
  function MapToolsComponent_igo_layer_list_5_ng_template_1_Template(rf, ctx) { if (rf & 1) {
2344
- i0.ɵɵelement(0, "igo-metadata-button", 10);
2345
- i0.ɵɵelement(1, "igo-track-feature-button", 11);
2261
+ i0.ɵɵelement(0, "igo-metadata-button", 10)(1, "igo-track-feature-button", 11);
2346
2262
  i0.ɵɵtemplate(2, MapToolsComponent_igo_layer_list_5_ng_template_1_igo_time_filter_button_2_Template, 1, 2, "igo-time-filter-button", 12);
2347
2263
  i0.ɵɵtemplate(3, MapToolsComponent_igo_layer_list_5_ng_template_1_igo_ogc_filter_button_3_Template, 1, 2, "igo-ogc-filter-button", 12);
2348
2264
  i0.ɵɵtemplate(4, MapToolsComponent_igo_layer_list_5_ng_template_1_igo_export_button_4_Template, 1, 1, "igo-export-button", 13);
@@ -2365,7 +2281,7 @@ function MapToolsComponent_igo_layer_list_5_ng_template_1_Template(rf, ctx) { if
2365
2281
  function MapToolsComponent_igo_layer_list_5_Template(rf, ctx) { if (rf & 1) {
2366
2282
  const _r24 = i0.ɵɵgetCurrentView();
2367
2283
  i0.ɵɵelementStart(0, "igo-layer-list", 8);
2368
- i0.ɵɵlistener("appliedFilterAndSort", function MapToolsComponent_igo_layer_list_5_Template_igo_layer_list_appliedFilterAndSort_0_listener($event) { i0.ɵɵrestoreView(_r24); const ctx_r23 = i0.ɵɵnextContext(); return ctx_r23.onLayerListChange($event); });
2284
+ i0.ɵɵlistener("appliedFilterAndSort", function MapToolsComponent_igo_layer_list_5_Template_igo_layer_list_appliedFilterAndSort_0_listener($event) { i0.ɵɵrestoreView(_r24); const ctx_r23 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r23.onLayerListChange($event)); });
2369
2285
  i0.ɵɵtemplate(1, MapToolsComponent_igo_layer_list_5_ng_template_1_Template, 6, 7, "ng-template", null, 9, i0.ɵɵtemplateRefExtractor);
2370
2286
  i0.ɵɵelementEnd();
2371
2287
  } if (rf & 2) {
@@ -2375,7 +2291,7 @@ function MapToolsComponent_igo_layer_list_5_Template(rf, ctx) { if (rf & 1) {
2375
2291
  function MapToolsComponent_igo_layer_legend_list_9_Template(rf, ctx) { if (rf & 1) {
2376
2292
  const _r26 = i0.ɵɵgetCurrentView();
2377
2293
  i0.ɵɵelementStart(0, "igo-layer-legend-list", 16);
2378
- i0.ɵɵlistener("allLegendsShown", function MapToolsComponent_igo_layer_legend_list_9_Template_igo_layer_legend_list_allLegendsShown_0_listener($event) { i0.ɵɵrestoreView(_r26); const ctx_r25 = i0.ɵɵnextContext(); return ctx_r25.onShowAllLegends($event); });
2294
+ i0.ɵɵlistener("allLegendsShown", function MapToolsComponent_igo_layer_legend_list_9_Template_igo_layer_legend_list_allLegendsShown_0_listener($event) { i0.ɵɵrestoreView(_r26); const ctx_r25 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r25.onShowAllLegends($event)); });
2379
2295
  i0.ɵɵpipe(1, "async");
2380
2296
  i0.ɵɵelementEnd();
2381
2297
  } if (rf & 2) {
@@ -2409,67 +2325,57 @@ function MapToolsComponent_ng_template_15_mat_list_0_p_4_Template(rf, ctx) { if
2409
2325
  } }
2410
2326
  function MapToolsComponent_ng_template_15_mat_list_0_mat_list_item_5_Template(rf, ctx) { if (rf & 1) {
2411
2327
  const _r34 = i0.ɵɵgetCurrentView();
2412
- i0.ɵɵelementStart(0, "mat-list-item");
2413
- i0.ɵɵelementStart(1, "mat-icon", 19);
2328
+ i0.ɵɵelementStart(0, "mat-list-item")(1, "mat-icon", 19);
2414
2329
  i0.ɵɵnamespaceSVG();
2415
2330
  i0.ɵɵelementStart(2, "svg", 20);
2416
2331
  i0.ɵɵelement(3, "path", 21);
2417
- i0.ɵɵelementEnd();
2418
- i0.ɵɵelementEnd();
2332
+ i0.ɵɵelementEnd()();
2419
2333
  i0.ɵɵnamespaceHTML();
2420
2334
  i0.ɵɵelementStart(4, "h4", 22);
2421
- i0.ɵɵlistener("click", function MapToolsComponent_ng_template_15_mat_list_0_mat_list_item_5_Template_h4_click_4_listener() { i0.ɵɵrestoreView(_r34); const ctx_r33 = i0.ɵɵnextContext(3); return ctx_r33.searchEmit(); });
2335
+ i0.ɵɵlistener("click", function MapToolsComponent_ng_template_15_mat_list_0_mat_list_item_5_Template_h4_click_4_listener() { i0.ɵɵrestoreView(_r34); const ctx_r33 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r33.searchEmit()); });
2422
2336
  i0.ɵɵtext(5);
2423
2337
  i0.ɵɵpipe(6, "translate");
2424
- i0.ɵɵelementEnd();
2425
- i0.ɵɵelementEnd();
2338
+ i0.ɵɵelementEnd()();
2426
2339
  } if (rf & 2) {
2427
2340
  i0.ɵɵadvance(5);
2428
2341
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 1, "igo.integration.mapTool.search-tool"), " ");
2429
2342
  } }
2430
2343
  function MapToolsComponent_ng_template_15_mat_list_0_mat_list_item_6_Template(rf, ctx) { if (rf & 1) {
2431
2344
  const _r36 = i0.ɵɵgetCurrentView();
2432
- i0.ɵɵelementStart(0, "mat-list-item");
2433
- i0.ɵɵelementStart(1, "mat-icon", 19);
2345
+ i0.ɵɵelementStart(0, "mat-list-item")(1, "mat-icon", 19);
2434
2346
  i0.ɵɵnamespaceSVG();
2435
2347
  i0.ɵɵelementStart(2, "svg", 20);
2436
2348
  i0.ɵɵelement(3, "path", 23);
2437
- i0.ɵɵelementEnd();
2438
- i0.ɵɵelementEnd();
2349
+ i0.ɵɵelementEnd()();
2439
2350
  i0.ɵɵnamespaceHTML();
2440
2351
  i0.ɵɵelementStart(4, "h4", 24);
2441
- i0.ɵɵlistener("click", function MapToolsComponent_ng_template_15_mat_list_0_mat_list_item_6_Template_h4_click_4_listener() { i0.ɵɵrestoreView(_r36); const ctx_r35 = i0.ɵɵnextContext(3); return ctx_r35.catalogEmit(); });
2352
+ i0.ɵɵlistener("click", function MapToolsComponent_ng_template_15_mat_list_0_mat_list_item_6_Template_h4_click_4_listener() { i0.ɵɵrestoreView(_r36); const ctx_r35 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r35.catalogEmit()); });
2442
2353
  i0.ɵɵtext(5);
2443
2354
  i0.ɵɵpipe(6, "translate");
2444
- i0.ɵɵelementEnd();
2445
- i0.ɵɵelementEnd();
2355
+ i0.ɵɵelementEnd()();
2446
2356
  } if (rf & 2) {
2447
2357
  i0.ɵɵadvance(5);
2448
2358
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 1, "igo.integration.mapTool.catalog-tool"), " ");
2449
2359
  } }
2450
2360
  function MapToolsComponent_ng_template_15_mat_list_0_mat_list_item_7_Template(rf, ctx) { if (rf & 1) {
2451
2361
  const _r38 = i0.ɵɵgetCurrentView();
2452
- i0.ɵɵelementStart(0, "mat-list-item");
2453
- i0.ɵɵelementStart(1, "mat-icon", 19);
2362
+ i0.ɵɵelementStart(0, "mat-list-item")(1, "mat-icon", 19);
2454
2363
  i0.ɵɵnamespaceSVG();
2455
2364
  i0.ɵɵelementStart(2, "svg", 20);
2456
2365
  i0.ɵɵelement(3, "path", 25);
2457
- i0.ɵɵelementEnd();
2458
- i0.ɵɵelementEnd();
2366
+ i0.ɵɵelementEnd()();
2459
2367
  i0.ɵɵnamespaceHTML();
2460
2368
  i0.ɵɵelementStart(4, "h4", 26);
2461
- i0.ɵɵlistener("click", function MapToolsComponent_ng_template_15_mat_list_0_mat_list_item_7_Template_h4_click_4_listener() { i0.ɵɵrestoreView(_r38); const ctx_r37 = i0.ɵɵnextContext(3); return ctx_r37.contextEmit(); });
2369
+ i0.ɵɵlistener("click", function MapToolsComponent_ng_template_15_mat_list_0_mat_list_item_7_Template_h4_click_4_listener() { i0.ɵɵrestoreView(_r38); const ctx_r37 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r37.contextEmit()); });
2462
2370
  i0.ɵɵtext(5);
2463
2371
  i0.ɵɵpipe(6, "translate");
2464
- i0.ɵɵelementEnd();
2465
- i0.ɵɵelementEnd();
2372
+ i0.ɵɵelementEnd()();
2466
2373
  } if (rf & 2) {
2467
2374
  i0.ɵɵadvance(5);
2468
2375
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 1, "igo.integration.mapTool.context-tool"), " ");
2469
2376
  } }
2470
2377
  function MapToolsComponent_ng_template_15_mat_list_0_Template(rf, ctx) { if (rf & 1) {
2471
- i0.ɵɵelementStart(0, "mat-list");
2472
- i0.ɵɵelementStart(1, "p", 17);
2378
+ i0.ɵɵelementStart(0, "mat-list")(1, "p", 17);
2473
2379
  i0.ɵɵtext(2);
2474
2380
  i0.ɵɵpipe(3, "translate");
2475
2381
  i0.ɵɵelementEnd();
@@ -2657,9 +2563,8 @@ let MapToolsComponent = class MapToolsComponent {
2657
2563
  return true;
2658
2564
  }
2659
2565
  activateExport(layer) {
2660
- var _a;
2661
2566
  let id = layer.id;
2662
- if ((_a = layer.options.workspace) === null || _a === void 0 ? void 0 : _a.workspaceId) {
2567
+ if (layer.options.workspace?.workspaceId) {
2663
2568
  id = layer.options.workspace.workspaceId !== layer.id ? layer.options.workspace.workspaceId : layer.id;
2664
2569
  }
2665
2570
  this.importExportState.setsExportOptions({ layers: [id] });
@@ -2692,10 +2597,9 @@ let MapToolsComponent = class MapToolsComponent {
2692
2597
  || options.ogcFilters.select || options.ogcFilters.autocomplete || options.ogcFilters.editable);
2693
2598
  }
2694
2599
  isExportButton(layer) {
2695
- var _a, _b;
2696
2600
  if ((layer instanceof VectorLayer && layer.exportable === true) ||
2697
2601
  (layer.dataSource.options.download && layer.dataSource.options.download.url) ||
2698
- (((_a = layer.options.workspace) === null || _a === void 0 ? void 0 : _a.enabled) && ((_b = layer.options.workspace) === null || _b === void 0 ? void 0 : _b.workspaceId) !== layer.id)) {
2602
+ (layer.options.workspace?.enabled && layer.options.workspace?.workspaceId !== layer.id)) {
2699
2603
  return true;
2700
2604
  }
2701
2605
  return false;
@@ -2719,7 +2623,7 @@ MapToolsComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MapToolsC
2719
2623
  i0.ɵɵelementStart(7, "mat-tab", 2);
2720
2624
  i0.ɵɵpipe(8, "translate");
2721
2625
  i0.ɵɵtemplate(9, MapToolsComponent_igo_layer_legend_list_9_Template, 2, 6, "igo-layer-legend-list", 4);
2722
- i0.ɵɵtemplate(10, MapToolsComponent_10_Template, 1, 0, undefined, 5);
2626
+ i0.ɵɵtemplate(10, MapToolsComponent_10_Template, 1, 0, null, 5);
2723
2627
  i0.ɵɵpipe(11, "async");
2724
2628
  i0.ɵɵtemplate(12, MapToolsComponent_p_12_Template, 5, 7, "p", 6);
2725
2629
  i0.ɵɵpipe(13, "async");
@@ -2742,7 +2646,7 @@ MapToolsComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MapToolsC
2742
2646
  i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(11, 17, ctx.layers$).length !== 0)("ngIfElse", _r5);
2743
2647
  i0.ɵɵadvance(2);
2744
2648
  i0.ɵɵproperty("ngIf", !ctx.allowShowAllLegends && i0.ɵɵpipeBind1(13, 19, ctx.layers$).length !== 0 && i0.ɵɵpipeBind1(14, 21, ctx.visibleOrInRangeLayers$).length === 0);
2745
- } }, directives: [i5$1.MatTabGroup, i5$1.MatTab, i5.NgIf, i1$1.LayerListComponent, i1$1.LayerListBindingDirective, i1$1.MetadataButtonComponent, i1$1.TrackFeatureButtonComponent, WorkspaceButtonComponent, i1$1.TimeFilterButtonComponent, i1$1.OgcFilterButtonComponent, i1$1.ExportButtonComponent, i1$1.LayerLegendListComponent, i1$1.LayerLegendListBindingDirective, i7.MatList, i7.MatListItem, i6.MatIcon, i7.MatListIconCssMatStyler, i8$1.MatLine], pipes: [i5.AsyncPipe, i8.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 });
2649
+ } }, dependencies: [i6.NgIf, i7$1.MatTabGroup, i7$1.MatTab, i6$1.MatList, i6$1.MatListItem, i8$1.MatLine, i6$1.MatListIconCssMatStyler, i7.MatIcon, i1$1.LayerListComponent, i1$1.LayerLegendListComponent, i1$1.LayerListBindingDirective, i1$1.LayerLegendListBindingDirective, i1$1.TrackFeatureButtonComponent, i1$1.MetadataButtonComponent, i1$1.ExportButtonComponent, i1$1.TimeFilterButtonComponent, i1$1.OgcFilterButtonComponent, WorkspaceButtonComponent, i6.AsyncPipe, i8.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:700}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 });
2746
2650
  MapToolsComponent = __decorate([
2747
2651
  ToolComponent({
2748
2652
  name: 'mapTools',
@@ -2752,12 +2656,7 @@ MapToolsComponent = __decorate([
2752
2656
  ], MapToolsComponent);
2753
2657
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MapToolsComponent, [{
2754
2658
  type: Component,
2755
- args: [{
2756
- selector: 'igo-map-tools',
2757
- templateUrl: './map-tools.component.html',
2758
- styleUrls: ['./map-tools.component.scss'],
2759
- changeDetection: ChangeDetectionStrategy.OnPush
2760
- }]
2659
+ args: [{ selector: 'igo-map-tools', changeDetection: ChangeDetectionStrategy.OnPush, template: "<mat-tab-group\r\n #tabGroup\r\n [selectedIndex]=\"layerListToolState.selectedTab$ | async\"\r\n (selectedTabChange)=\"tabChanged($event)\">\r\n\r\n <mat-tab [label]=\"'igo.integration.tools.layers' |\u00A0translate\">\r\n <igo-layer-list *ngIf=\"(layers$ | async).length !== 0; else emptyLayers\"\r\n igoLayerListBinding\r\n [excludeBaseLayers]=\"excludeBaseLayers\"\r\n [layerFilterAndSortOptions]=\"layerFilterAndSortOptions\"\r\n [expandLegendOfVisibleLayers]=\"expandLegendOfVisibleLayers\"\r\n [toggleLegendOnVisibilityChange]=\"toggleLegendOnVisibilityChange\"\r\n [updateLegendOnResolutionChange]=\"updateLegendOnResolutionChange\"\r\n [floatLabel]=\"false\"\r\n [queryBadge]=\"queryBadge\"\r\n [map]=\"map\"\r\n (appliedFilterAndSort)= onLayerListChange($event)>\r\n\r\n <ng-template #igoLayerItemToolbar let-layer=\"layer\">\r\n <igo-metadata-button [layer]=\"layer\"></igo-metadata-button>\r\n <igo-track-feature-button [trackFeature]=\"true\" [layer]=\"layer\"></igo-track-feature-button>\r\n <igo-time-filter-button *ngIf=\"isTimeFilterButton(layer)\" [header]=\"timeButton\" [layer]=\"layer\"\r\n (click)=\"activateTimeFilter()\"></igo-time-filter-button>\r\n <igo-ogc-filter-button *ngIf=\"isOGCFilterButton(layer)\" [header]=\"ogcButton\" [layer]=\"layer\"\r\n (click)=\"activateOgcFilter()\"></igo-ogc-filter-button>\r\n <igo-export-button *ngIf=\"isExportButton(layer)\" [layer]=\"layer\" (click)=\"activateExport(layer)\"></igo-export-button>\r\n <igo-workspace-button [layer]=\"layer\"></igo-workspace-button>\r\n </ng-template>\r\n </igo-layer-list>\r\n </mat-tab>\r\n\r\n <mat-tab [label]=\"'igo.integration.tools.legend' |\u00A0translate\">\r\n <igo-layer-legend-list *ngIf=\"showAllLegend()\"\r\n igoLayerLegendListBinding\r\n [allowShowAllLegends]=\"allowShowAllLegends\"\r\n [showAllLegendsValue]=\"(showAllLegendsValue$ | async)\"\r\n (allLegendsShown)=\"onShowAllLegends($event)\"\r\n [excludeBaseLayers]=\"excludeBaseLayers\"\r\n [updateLegendOnResolutionChange]=\"updateLegendOnResolutionChange\">\r\n </igo-layer-legend-list>\r\n <ng-template *ngIf=\"(layers$ | async).length !== 0; else emptyLayers\"></ng-template>\r\n\r\n <p class=\"map-empty mat-typography\"\r\n *ngIf=\"!allowShowAllLegends && (layers$ | async).length !== 0 && (visibleOrInRangeLayers$ | async).length === 0\">\r\n {{ ((visibleLayers$ | async).length) ? ('igo.integration.mapTool.noLayersInRange' | translate) : ('igo.integration.mapTool.noLayersVisible' | translate) }}\r\n </p>\r\n </mat-tab>\r\n\r\n <ng-template #emptyLayers>\r\n <mat-list *ngIf=\"delayedShowEmptyMapContent\">\r\n <p class=\"map-empty mat-typography\">\r\n {{'igo.integration.mapTool.empty' | translate}}</p>\r\n <p *ngIf=\"layerAdditionAllowed && (searchToolInToolbar || catalogToolInToolbar || contextToolInToolbar)\"\r\n class=\"map-empty mat-typography\">\r\n {{'igo.integration.mapTool.customize' | translate}}</p>\r\n\r\n <mat-list-item *ngIf=\"layerAdditionAllowed && searchToolInToolbar\">\r\n <mat-icon mat-list-icon> <svg viewBox='0 0 24 24' fit='' height='100%' width='100%'\r\n preserveAspectRatio='xMidYMid meet' focusable='false'>\r\n <path\r\n d='M9.5,3A6.5,6.5 0 0,1 16,9.5C16,11.11 15.41,12.59 14.44,13.73L14.71,14H15.5L20.5,19L19,20.5L14,15.5V14.71L13.73,14.44C12.59,15.41 11.11,16 9.5,16A6.5,6.5 0 0,1 3,9.5A6.5,6.5 0 0,1 9.5,3M9.5,5C7,5 5,7 5,9.5C5,12 7,14 9.5,14C12,14 14,12 14,9.5C14,7 12,5 9.5,5Z'>\r\n </path>\r\n </svg></mat-icon>\r\n <h4 matLine class=\"search-tool mat-typography\" (click)=\"searchEmit()\">\r\n {{'igo.integration.mapTool.search-tool' | translate}}\r\n </h4>\r\n </mat-list-item>\r\n <mat-list-item *ngIf=\"layerAdditionAllowed && catalogToolInToolbar\">\r\n <mat-icon mat-list-icon> <svg viewBox='0 0 24 24' fit='' height='100%' width='100%'\r\n preserveAspectRatio='xMidYMid meet' focusable='false'>\r\n <path\r\n d='M17,14H19V17H22V19H19V22H17V19H14V17H17V14M11,16L2,9L11,2L20,9L11,16M11,18.54L12,17.75V18C12,18.71 12.12,19.39 12.35,20L11,21.07L2,14.07L3.62,12.81L11,18.54Z'>\r\n </path>\r\n </svg></mat-icon>\r\n <h4 matLine class=\"catalog-tool mat-typography\" (click)=\"catalogEmit()\">\r\n {{'igo.integration.mapTool.catalog-tool' | translate}}\r\n </h4>\r\n </mat-list-item>\r\n <mat-list-item *ngIf=\"layerAdditionAllowed && contextToolInToolbar\">\r\n <mat-icon mat-list-icon> <svg viewBox='0 0 24 24' fit='' height='100%' width='100%'\r\n preserveAspectRatio='xMidYMid meet' focusable='false'>\r\n <path\r\n d='M12,17.27L18.18,21L16.54,13.97L22,9.24L14.81,8.62L12,2L9.19,8.62L2,9.24L7.45,13.97L5.82,21L12,17.27Z'>\r\n </path>\r\n </svg></mat-icon>\r\n <h4 matLine class=\"context-tool mat-typography\" (click)=\"contextEmit()\">\r\n {{'igo.integration.mapTool.context-tool' | translate}}\r\n </h4>\r\n </mat-list-item>\r\n </mat-list>\r\n </ng-template>\r\n</mat-tab-group>\r\n", styles: [".map-empty,.search-tool,.catalog-tool,.context-tool{margin:10px}.map-empty{text-align:justify}.search-tool,.catalog-tool,.context-tool{cursor:pointer}mat-list mat-list-item h4{font-weight:700}mat-list-item ::ng-deep .mat-list-text{font-size:smaller}mat-list.mat-list-base mat-list-item.mat-list-item ::ng-deep div.mat-list-item-content div.mat-list-text{padding-left:5px}mat-tab-group,mat-tab-group ::ng-deep .mat-tab-body-wrapper{height:100%;overflow:hidden}:host ::ng-deep .mat-tab-body-content{overflow:hidden}\n"] }]
2761
2660
  }], function () { return [{ type: LayerListToolState }, { type: ToolState }, { type: MapState }, { type: i1$1.SearchSourceService }, { type: ImportExportState }]; }, { allowShowAllLegends: [{
2762
2661
  type: Input
2763
2662
  }], showAllLegendsValue: [{
@@ -2788,7 +2687,7 @@ MapToolsComponent = __decorate([
2788
2687
  function MapLegendToolComponent_igo_layer_legend_list_0_Template(rf, ctx) { if (rf & 1) {
2789
2688
  const _r6 = i0.ɵɵgetCurrentView();
2790
2689
  i0.ɵɵelementStart(0, "igo-layer-legend-list", 4);
2791
- i0.ɵɵlistener("allLegendsShown", function MapLegendToolComponent_igo_layer_legend_list_0_Template_igo_layer_legend_list_allLegendsShown_0_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r5 = i0.ɵɵnextContext(); return ctx_r5.onShowAllLegends($event); });
2690
+ i0.ɵɵlistener("allLegendsShown", function MapLegendToolComponent_igo_layer_legend_list_0_Template_igo_layer_legend_list_allLegendsShown_0_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r5 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r5.onShowAllLegends($event)); });
2792
2691
  i0.ɵɵpipe(1, "async");
2793
2692
  i0.ɵɵelementEnd();
2794
2693
  } if (rf & 2) {
@@ -2822,67 +2721,57 @@ function MapLegendToolComponent_ng_template_6_mat_list_0_p_4_Template(rf, ctx) {
2822
2721
  } }
2823
2722
  function MapLegendToolComponent_ng_template_6_mat_list_0_mat_list_item_5_Template(rf, ctx) { if (rf & 1) {
2824
2723
  const _r14 = i0.ɵɵgetCurrentView();
2825
- i0.ɵɵelementStart(0, "mat-list-item");
2826
- i0.ɵɵelementStart(1, "mat-icon", 7);
2724
+ i0.ɵɵelementStart(0, "mat-list-item")(1, "mat-icon", 7);
2827
2725
  i0.ɵɵnamespaceSVG();
2828
2726
  i0.ɵɵelementStart(2, "svg", 8);
2829
2727
  i0.ɵɵelement(3, "path", 9);
2830
- i0.ɵɵelementEnd();
2831
- i0.ɵɵelementEnd();
2728
+ i0.ɵɵelementEnd()();
2832
2729
  i0.ɵɵnamespaceHTML();
2833
2730
  i0.ɵɵelementStart(4, "h4", 10);
2834
- i0.ɵɵlistener("click", function MapLegendToolComponent_ng_template_6_mat_list_0_mat_list_item_5_Template_h4_click_4_listener() { i0.ɵɵrestoreView(_r14); const ctx_r13 = i0.ɵɵnextContext(3); return ctx_r13.searchEmit(); });
2731
+ i0.ɵɵlistener("click", function MapLegendToolComponent_ng_template_6_mat_list_0_mat_list_item_5_Template_h4_click_4_listener() { i0.ɵɵrestoreView(_r14); const ctx_r13 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r13.searchEmit()); });
2835
2732
  i0.ɵɵtext(5);
2836
2733
  i0.ɵɵpipe(6, "translate");
2837
- i0.ɵɵelementEnd();
2838
- i0.ɵɵelementEnd();
2734
+ i0.ɵɵelementEnd()();
2839
2735
  } if (rf & 2) {
2840
2736
  i0.ɵɵadvance(5);
2841
2737
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 1, "igo.integration.mapTool.search-tool"), " ");
2842
2738
  } }
2843
2739
  function MapLegendToolComponent_ng_template_6_mat_list_0_mat_list_item_6_Template(rf, ctx) { if (rf & 1) {
2844
2740
  const _r16 = i0.ɵɵgetCurrentView();
2845
- i0.ɵɵelementStart(0, "mat-list-item");
2846
- i0.ɵɵelementStart(1, "mat-icon", 7);
2741
+ i0.ɵɵelementStart(0, "mat-list-item")(1, "mat-icon", 7);
2847
2742
  i0.ɵɵnamespaceSVG();
2848
2743
  i0.ɵɵelementStart(2, "svg", 8);
2849
2744
  i0.ɵɵelement(3, "path", 11);
2850
- i0.ɵɵelementEnd();
2851
- i0.ɵɵelementEnd();
2745
+ i0.ɵɵelementEnd()();
2852
2746
  i0.ɵɵnamespaceHTML();
2853
2747
  i0.ɵɵelementStart(4, "h4", 12);
2854
- i0.ɵɵlistener("click", function MapLegendToolComponent_ng_template_6_mat_list_0_mat_list_item_6_Template_h4_click_4_listener() { i0.ɵɵrestoreView(_r16); const ctx_r15 = i0.ɵɵnextContext(3); return ctx_r15.catalogEmit(); });
2748
+ i0.ɵɵlistener("click", function MapLegendToolComponent_ng_template_6_mat_list_0_mat_list_item_6_Template_h4_click_4_listener() { i0.ɵɵrestoreView(_r16); const ctx_r15 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r15.catalogEmit()); });
2855
2749
  i0.ɵɵtext(5);
2856
2750
  i0.ɵɵpipe(6, "translate");
2857
- i0.ɵɵelementEnd();
2858
- i0.ɵɵelementEnd();
2751
+ i0.ɵɵelementEnd()();
2859
2752
  } if (rf & 2) {
2860
2753
  i0.ɵɵadvance(5);
2861
2754
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 1, "igo.integration.mapTool.catalog-tool"), " ");
2862
2755
  } }
2863
2756
  function MapLegendToolComponent_ng_template_6_mat_list_0_mat_list_item_7_Template(rf, ctx) { if (rf & 1) {
2864
2757
  const _r18 = i0.ɵɵgetCurrentView();
2865
- i0.ɵɵelementStart(0, "mat-list-item");
2866
- i0.ɵɵelementStart(1, "mat-icon", 7);
2758
+ i0.ɵɵelementStart(0, "mat-list-item")(1, "mat-icon", 7);
2867
2759
  i0.ɵɵnamespaceSVG();
2868
2760
  i0.ɵɵelementStart(2, "svg", 8);
2869
2761
  i0.ɵɵelement(3, "path", 13);
2870
- i0.ɵɵelementEnd();
2871
- i0.ɵɵelementEnd();
2762
+ i0.ɵɵelementEnd()();
2872
2763
  i0.ɵɵnamespaceHTML();
2873
2764
  i0.ɵɵelementStart(4, "h4", 14);
2874
- i0.ɵɵlistener("click", function MapLegendToolComponent_ng_template_6_mat_list_0_mat_list_item_7_Template_h4_click_4_listener() { i0.ɵɵrestoreView(_r18); const ctx_r17 = i0.ɵɵnextContext(3); return ctx_r17.contextEmit(); });
2765
+ i0.ɵɵlistener("click", function MapLegendToolComponent_ng_template_6_mat_list_0_mat_list_item_7_Template_h4_click_4_listener() { i0.ɵɵrestoreView(_r18); const ctx_r17 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r17.contextEmit()); });
2875
2766
  i0.ɵɵtext(5);
2876
2767
  i0.ɵɵpipe(6, "translate");
2877
- i0.ɵɵelementEnd();
2878
- i0.ɵɵelementEnd();
2768
+ i0.ɵɵelementEnd()();
2879
2769
  } if (rf & 2) {
2880
2770
  i0.ɵɵadvance(5);
2881
2771
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 1, "igo.integration.mapTool.context-tool"), " ");
2882
2772
  } }
2883
2773
  function MapLegendToolComponent_ng_template_6_mat_list_0_Template(rf, ctx) { if (rf & 1) {
2884
- i0.ɵɵelementStart(0, "mat-list");
2885
- i0.ɵɵelementStart(1, "p", 5);
2774
+ i0.ɵɵelementStart(0, "mat-list")(1, "p", 5);
2886
2775
  i0.ɵɵtext(2);
2887
2776
  i0.ɵɵpipe(3, "translate");
2888
2777
  i0.ɵɵelementEnd();
@@ -3018,7 +2907,7 @@ let MapLegendToolComponent = class MapLegendToolComponent {
3018
2907
  MapLegendToolComponent.ɵfac = function MapLegendToolComponent_Factory(t) { return new (t || MapLegendToolComponent)(i0.ɵɵdirectiveInject(MapState), i0.ɵɵdirectiveInject(ToolState), i0.ɵɵdirectiveInject(i1$1.SearchSourceService), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
3019
2908
  MapLegendToolComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MapLegendToolComponent, selectors: [["igo-map-legend-tool"]], inputs: { updateLegendOnResolutionChange: "updateLegendOnResolutionChange", layerAdditionAllowed: "layerAdditionAllowed", allowShowAllLegends: "allowShowAllLegends", showAllLegendsValue: "showAllLegendsValue", layerListControls: "layerListControls" }, decls: 8, vars: 10, consts: [["igoLayerLegendListBinding", "", 3, "excludeBaseLayers", "allowShowAllLegends", "updateLegendOnResolutionChange", "showAllLegendsValue", "allLegendsShown", 4, "ngIf"], [4, "ngIf", "ngIfElse"], ["class", "map-empty mat-typography", 4, "ngIf"], ["emptyLayers", ""], ["igoLayerLegendListBinding", "", 3, "excludeBaseLayers", "allowShowAllLegends", "updateLegendOnResolutionChange", "showAllLegendsValue", "allLegendsShown"], [1, "map-empty", "mat-typography"], [4, "ngIf"], ["mat-list-icon", ""], ["viewBox", "0 0 24 24", "fit", "", "height", "100%", "width", "100%", "preserveAspectRatio", "xMidYMid meet", "focusable", "false"], ["d", "M9.5,3A6.5,6.5 0 0,1 16,9.5C16,11.11 15.41,12.59 14.44,13.73L14.71,14H15.5L20.5,19L19,20.5L14,15.5V14.71L13.73,14.44C12.59,15.41 11.11,16 9.5,16A6.5,6.5 0 0,1 3,9.5A6.5,6.5 0 0,1 9.5,3M9.5,5C7,5 5,7 5,9.5C5,12 7,14 9.5,14C12,14 14,12 14,9.5C14,7 12,5 9.5,5Z"], ["matLine", "", 1, "search-tool", "mat-typography", 3, "click"], ["d", "M17,14H19V17H22V19H19V22H17V19H14V17H17V14M11,16L2,9L11,2L20,9L11,16M11,18.54L12,17.75V18C12,18.71 12.12,19.39 12.35,20L11,21.07L2,14.07L3.62,12.81L11,18.54Z"], ["matLine", "", 1, "catalog-tool", "mat-typography", 3, "click"], ["d", "M12,17.27L18.18,21L16.54,13.97L22,9.24L14.81,8.62L12,2L9.19,8.62L2,9.24L7.45,13.97L5.82,21L12,17.27Z"], ["matLine", "", 1, "context-tool", "mat-typography", 3, "click"]], template: function MapLegendToolComponent_Template(rf, ctx) { if (rf & 1) {
3020
2909
  i0.ɵɵtemplate(0, MapLegendToolComponent_igo_layer_legend_list_0_Template, 2, 6, "igo-layer-legend-list", 0);
3021
- i0.ɵɵtemplate(1, MapLegendToolComponent_1_Template, 1, 0, undefined, 1);
2910
+ i0.ɵɵtemplate(1, MapLegendToolComponent_1_Template, 1, 0, null, 1);
3022
2911
  i0.ɵɵpipe(2, "async");
3023
2912
  i0.ɵɵtemplate(3, MapLegendToolComponent_p_3_Template, 5, 7, "p", 2);
3024
2913
  i0.ɵɵpipe(4, "async");
@@ -3031,7 +2920,7 @@ MapLegendToolComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MapL
3031
2920
  i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(2, 4, ctx.layers$).length !== 0)("ngIfElse", _r3);
3032
2921
  i0.ɵɵadvance(2);
3033
2922
  i0.ɵɵproperty("ngIf", !ctx.allowShowAllLegends && i0.ɵɵpipeBind1(4, 6, ctx.layers$).length !== 0 && i0.ɵɵpipeBind1(5, 8, ctx.visibleOrInRangeLayers$).length === 0);
3034
- } }, directives: [i5.NgIf, i1$1.LayerLegendListComponent, i1$1.LayerLegendListBindingDirective, i7.MatList, i7.MatListItem, i6.MatIcon, i7.MatListIconCssMatStyler, i8$1.MatLine], pipes: [i5.AsyncPipe, i8.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}"] });
2923
+ } }, dependencies: [i6.NgIf, i6$1.MatList, i6$1.MatListItem, i8$1.MatLine, i6$1.MatListIconCssMatStyler, i7.MatIcon, i1$1.LayerLegendListComponent, i1$1.LayerLegendListBindingDirective, i6.AsyncPipe, i8.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:700}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}"] });
3035
2924
  MapLegendToolComponent = __decorate([
3036
2925
  ToolComponent({
3037
2926
  name: 'mapLegend',
@@ -3041,11 +2930,7 @@ MapLegendToolComponent = __decorate([
3041
2930
  ], MapLegendToolComponent);
3042
2931
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MapLegendToolComponent, [{
3043
2932
  type: Component,
3044
- args: [{
3045
- selector: 'igo-map-legend-tool',
3046
- templateUrl: './map-legend-tool.component.html',
3047
- styleUrls: ['./map-legend-tool.component.scss']
3048
- }]
2933
+ args: [{ selector: 'igo-map-legend-tool', template: "<igo-layer-legend-list *ngIf=\"showAllLegend()\"\r\n igoLayerLegendListBinding\r\n [excludeBaseLayers]=\"excludeBaseLayers\"\r\n [allowShowAllLegends]=\"allowShowAllLegends\"\r\n [updateLegendOnResolutionChange]=\"updateLegendOnResolutionChange\"\r\n [showAllLegendsValue]=\"(showAllLegendsValue$ | async)\"\r\n (allLegendsShown)=\"onShowAllLegends($event)\">\r\n</igo-layer-legend-list>\r\n<ng-template *ngIf=\"(layers$ | async).length !== 0; else emptyLayers\"></ng-template>\r\n\r\n<p class=\"map-empty mat-typography\"\r\n *ngIf=\"!allowShowAllLegends && (layers$ | async).length !== 0 && (visibleOrInRangeLayers$ | async).length === 0\">\r\n {{ ((visibleLayers$ | async).length) ? ('igo.integration.mapTool.noLayersInRange' | translate) : ('igo.integration.mapTool.noLayersVisible' | translate) }}\r\n</p>\r\n\r\n\r\n<ng-template #emptyLayers>\r\n <mat-list *ngIf=\"delayedShowEmptyMapContent\">\r\n <p class=\"map-empty mat-typography\">\r\n {{'igo.integration.mapTool.empty' | translate}}</p>\r\n <p *ngIf=\"layerAdditionAllowed && (searchToolInToolbar || catalogToolInToolbar || contextToolInToolbar)\" class=\"map-empty mat-typography\">\r\n {{'igo.integration.mapTool.customize' | translate}}</p>\r\n\r\n <mat-list-item *ngIf=\"layerAdditionAllowed && searchToolInToolbar\">\r\n <mat-icon mat-list-icon> <svg viewBox='0 0 24 24' fit='' height='100%' width='100%' preserveAspectRatio='xMidYMid meet' focusable='false'> <path d='M9.5,3A6.5,6.5 0 0,1 16,9.5C16,11.11 15.41,12.59 14.44,13.73L14.71,14H15.5L20.5,19L19,20.5L14,15.5V14.71L13.73,14.44C12.59,15.41 11.11,16 9.5,16A6.5,6.5 0 0,1 3,9.5A6.5,6.5 0 0,1 9.5,3M9.5,5C7,5 5,7 5,9.5C5,12 7,14 9.5,14C12,14 14,12 14,9.5C14,7 12,5 9.5,5Z'> </path> </svg></mat-icon>\r\n <h4 matLine class=\"search-tool mat-typography\" (click)=\"searchEmit()\">\r\n {{'igo.integration.mapTool.search-tool' | translate}}\r\n </h4>\r\n </mat-list-item>\r\n <mat-list-item *ngIf=\"layerAdditionAllowed && catalogToolInToolbar\">\r\n <mat-icon mat-list-icon> <svg viewBox='0 0 24 24' fit='' height='100%' width='100%' preserveAspectRatio='xMidYMid meet' focusable='false'> <path d='M17,14H19V17H22V19H19V22H17V19H14V17H17V14M11,16L2,9L11,2L20,9L11,16M11,18.54L12,17.75V18C12,18.71 12.12,19.39 12.35,20L11,21.07L2,14.07L3.62,12.81L11,18.54Z'></path> </svg></mat-icon>\r\n <h4 matLine class=\"catalog-tool mat-typography\" (click)=\"catalogEmit()\">\r\n {{'igo.integration.mapTool.catalog-tool' | translate}}\r\n </h4>\r\n </mat-list-item>\r\n <mat-list-item *ngIf=\"layerAdditionAllowed && contextToolInToolbar\">\r\n <mat-icon mat-list-icon> <svg viewBox='0 0 24 24' fit='' height='100%' width='100%' preserveAspectRatio='xMidYMid meet' focusable='false'> <path d='M12,17.27L18.18,21L16.54,13.97L22,9.24L14.81,8.62L12,2L9.19,8.62L2,9.24L7.45,13.97L5.82,21L12,17.27Z'></path> </svg></mat-icon>\r\n <h4 matLine class=\"context-tool mat-typography\" (click)=\"contextEmit()\">\r\n {{'igo.integration.mapTool.context-tool' | translate}}\r\n </h4>\r\n </mat-list-item>\r\n </mat-list>\r\n</ng-template>\r\n", styles: [".map-empty,.search-tool,.catalog-tool,.context-tool{margin:10px}.map-empty{text-align:justify}.search-tool,.catalog-tool,.context-tool{cursor:pointer}mat-list mat-list-item h4{font-weight:700}mat-list-item ::ng-deep .mat-list-text{font-size:smaller}mat-list.mat-list-base mat-list-item.mat-list-item ::ng-deep div.mat-list-item-content div.mat-list-text{padding-left:5px}\n"] }]
3049
2934
  }], function () { return [{ type: MapState }, { type: ToolState }, { type: i1$1.SearchSourceService }, { type: i0.ChangeDetectorRef }]; }, { updateLegendOnResolutionChange: [{
3050
2935
  type: Input
3051
2936
  }], layerAdditionAllowed: [{
@@ -3061,7 +2946,7 @@ MapLegendToolComponent = __decorate([
3061
2946
  function AdvancedSwipeComponent_div_0_mat_option_12_Template(rf, ctx) { if (rf & 1) {
3062
2947
  const _r7 = i0.ɵɵgetCurrentView();
3063
2948
  i0.ɵɵelementStart(0, "mat-option", 5);
3064
- i0.ɵɵlistener("click", function AdvancedSwipeComponent_div_0_mat_option_12_Template_mat_option_click_0_listener() { i0.ɵɵrestoreView(_r7); i0.ɵɵnextContext(); const _r3 = i0.ɵɵreference(8); const ctx_r6 = i0.ɵɵnextContext(); return ctx_r6.applyNewLayers(_r3); });
2949
+ i0.ɵɵlistener("click", function AdvancedSwipeComponent_div_0_mat_option_12_Template_mat_option_click_0_listener() { i0.ɵɵrestoreView(_r7); i0.ɵɵnextContext(); const _r3 = i0.ɵɵreference(8); const ctx_r6 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r6.applyNewLayers(_r3)); });
3065
2950
  i0.ɵɵtext(1);
3066
2951
  i0.ɵɵelementEnd();
3067
2952
  } if (rf & 2) {
@@ -3072,30 +2957,23 @@ function AdvancedSwipeComponent_div_0_mat_option_12_Template(rf, ctx) { if (rf &
3072
2957
  } }
3073
2958
  function AdvancedSwipeComponent_div_0_Template(rf, ctx) { if (rf & 1) {
3074
2959
  const _r9 = i0.ɵɵgetCurrentView();
3075
- i0.ɵɵelementStart(0, "div", 2);
3076
- i0.ɵɵelementStart(1, "form", 3);
3077
- i0.ɵɵelementStart(2, "mat-form-field");
3078
- i0.ɵɵelementStart(3, "mat-label");
2960
+ i0.ɵɵelementStart(0, "div", 2)(1, "form", 3)(2, "mat-form-field")(3, "mat-label");
3079
2961
  i0.ɵɵtext(4);
3080
2962
  i0.ɵɵpipe(5, "translate");
3081
2963
  i0.ɵɵelementEnd();
3082
- i0.ɵɵelementStart(6, "mat-select", 4);
3083
- i0.ɵɵelementStart(7, "mat-option", 5, 6);
3084
- i0.ɵɵlistener("click", function AdvancedSwipeComponent_div_0_Template_mat_option_click_7_listener() { i0.ɵɵrestoreView(_r9); const _r3 = i0.ɵɵreference(8); const ctx_r8 = i0.ɵɵnextContext(); return ctx_r8.selectAll(_r3); });
2964
+ i0.ɵɵelementStart(6, "mat-select", 4)(7, "mat-option", 5, 6);
2965
+ i0.ɵɵlistener("click", function AdvancedSwipeComponent_div_0_Template_mat_option_click_7_listener() { i0.ɵɵrestoreView(_r9); const _r3 = i0.ɵɵreference(8); const ctx_r8 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r8.selectAll(_r3)); });
3085
2966
  i0.ɵɵtext(9);
3086
2967
  i0.ɵɵpipe(10, "translate");
3087
2968
  i0.ɵɵelementEnd();
3088
2969
  i0.ɵɵelement(11, "mat-divider");
3089
2970
  i0.ɵɵtemplate(12, AdvancedSwipeComponent_div_0_mat_option_12_Template, 2, 2, "mat-option", 7);
3090
- i0.ɵɵelementEnd();
3091
- i0.ɵɵelementEnd();
3092
- i0.ɵɵelementEnd();
2971
+ i0.ɵɵelementEnd()()();
3093
2972
  i0.ɵɵelementStart(13, "mat-slide-toggle", 8);
3094
- i0.ɵɵlistener("change", function AdvancedSwipeComponent_div_0_Template_mat_slide_toggle_change_13_listener($event) { i0.ɵɵrestoreView(_r9); const ctx_r10 = i0.ɵɵnextContext(); return ctx_r10.startSwipe($event.checked); });
2973
+ i0.ɵɵlistener("change", function AdvancedSwipeComponent_div_0_Template_mat_slide_toggle_change_13_listener($event) { i0.ɵɵrestoreView(_r9); const ctx_r10 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r10.startSwipe($event.checked)); });
3095
2974
  i0.ɵɵtext(14);
3096
2975
  i0.ɵɵpipe(15, "translate");
3097
- i0.ɵɵelementEnd();
3098
- i0.ɵɵelementEnd();
2976
+ i0.ɵɵelementEnd()();
3099
2977
  } if (rf & 2) {
3100
2978
  const ctx_r0 = i0.ɵɵnextContext();
3101
2979
  i0.ɵɵadvance(1);
@@ -3115,8 +2993,7 @@ function AdvancedSwipeComponent_div_0_Template(rf, ctx) { if (rf & 1) {
3115
2993
  } }
3116
2994
  function AdvancedSwipeComponent_ng_template_1_Template(rf, ctx) { if (rf & 1) {
3117
2995
  const _r12 = i0.ɵɵgetCurrentView();
3118
- i0.ɵɵelementStart(0, "mat-list");
3119
- i0.ɵɵelementStart(1, "p", 9);
2996
+ i0.ɵɵelementStart(0, "mat-list")(1, "p", 9);
3120
2997
  i0.ɵɵtext(2);
3121
2998
  i0.ɵɵpipe(3, "translate");
3122
2999
  i0.ɵɵelementEnd();
@@ -3127,28 +3004,24 @@ function AdvancedSwipeComponent_ng_template_1_Template(rf, ctx) { if (rf & 1) {
3127
3004
  i0.ɵɵelementStart(7, "mat-list-item");
3128
3005
  i0.ɵɵelement(8, "mat-icon", 10);
3129
3006
  i0.ɵɵelementStart(9, "h4", 11);
3130
- i0.ɵɵlistener("click", function AdvancedSwipeComponent_ng_template_1_Template_h4_click_9_listener() { i0.ɵɵrestoreView(_r12); const ctx_r11 = i0.ɵɵnextContext(); return ctx_r11.searchEmit(); });
3007
+ i0.ɵɵlistener("click", function AdvancedSwipeComponent_ng_template_1_Template_h4_click_9_listener() { i0.ɵɵrestoreView(_r12); const ctx_r11 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r11.searchEmit()); });
3131
3008
  i0.ɵɵtext(10);
3132
3009
  i0.ɵɵpipe(11, "translate");
3133
- i0.ɵɵelementEnd();
3134
- i0.ɵɵelementEnd();
3010
+ i0.ɵɵelementEnd()();
3135
3011
  i0.ɵɵelementStart(12, "mat-list-item");
3136
3012
  i0.ɵɵelement(13, "mat-icon", 12);
3137
3013
  i0.ɵɵelementStart(14, "h4", 13);
3138
- i0.ɵɵlistener("click", function AdvancedSwipeComponent_ng_template_1_Template_h4_click_14_listener() { i0.ɵɵrestoreView(_r12); const ctx_r13 = i0.ɵɵnextContext(); return ctx_r13.catalogEmit(); });
3014
+ i0.ɵɵlistener("click", function AdvancedSwipeComponent_ng_template_1_Template_h4_click_14_listener() { i0.ɵɵrestoreView(_r12); const ctx_r13 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r13.catalogEmit()); });
3139
3015
  i0.ɵɵtext(15);
3140
3016
  i0.ɵɵpipe(16, "translate");
3141
- i0.ɵɵelementEnd();
3142
- i0.ɵɵelementEnd();
3017
+ i0.ɵɵelementEnd()();
3143
3018
  i0.ɵɵelementStart(17, "mat-list-item");
3144
3019
  i0.ɵɵelement(18, "mat-icon", 14);
3145
3020
  i0.ɵɵelementStart(19, "h4", 15);
3146
- i0.ɵɵlistener("click", function AdvancedSwipeComponent_ng_template_1_Template_h4_click_19_listener() { i0.ɵɵrestoreView(_r12); const ctx_r14 = i0.ɵɵnextContext(); return ctx_r14.contextEmit(); });
3021
+ i0.ɵɵlistener("click", function AdvancedSwipeComponent_ng_template_1_Template_h4_click_19_listener() { i0.ɵɵrestoreView(_r12); const ctx_r14 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r14.contextEmit()); });
3147
3022
  i0.ɵɵtext(20);
3148
3023
  i0.ɵɵpipe(21, "translate");
3149
- i0.ɵɵelementEnd();
3150
- i0.ɵɵelementEnd();
3151
- i0.ɵɵelementEnd();
3024
+ i0.ɵɵelementEnd()()();
3152
3025
  } if (rf & 2) {
3153
3026
  i0.ɵɵadvance(2);
3154
3027
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 5, "igo.integration.advanced-map-tool.advanced-swipe.empty"), "");
@@ -3259,22 +3132,18 @@ class AdvancedSwipeComponent {
3259
3132
  this.toolState.toolbox.activateTool('contextManager');
3260
3133
  }
3261
3134
  }
3262
- AdvancedSwipeComponent.ɵfac = function AdvancedSwipeComponent_Factory(t) { return new (t || AdvancedSwipeComponent)(i0.ɵɵdirectiveInject(MapState), i0.ɵɵdirectiveInject(i1.ContextService), i0.ɵɵdirectiveInject(i3$1.FormBuilder), i0.ɵɵdirectiveInject(ToolState)); };
3135
+ AdvancedSwipeComponent.ɵfac = function AdvancedSwipeComponent_Factory(t) { return new (t || AdvancedSwipeComponent)(i0.ɵɵdirectiveInject(MapState), i0.ɵɵdirectiveInject(i1.ContextService), i0.ɵɵdirectiveInject(i3.FormBuilder), i0.ɵɵdirectiveInject(ToolState)); };
3263
3136
  AdvancedSwipeComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AdvancedSwipeComponent, selectors: [["igo-advanced-swipe"]], decls: 3, vars: 2, consts: [["class", "igo-swipe-select-container", 4, "ngIf", "ngIfElse"], ["noLayersBlock", ""], [1, "igo-swipe-select-container"], [1, "igo-form", 3, "formGroup"], ["formControlName", "layers", "multiple", ""], [3, "value", "click"], ["e", ""], [3, "value", "click", 4, "ngFor", "ngForOf"], [1, "swipe-toggle", "mat-typography", 3, "checked", "labelPosition", "change"], [1, "map-empty", "mat-typography"], ["mat-list-icon", "", "svgIcon", "magnify"], ["matLine", "", 1, "search-tool", "mat-typography", 3, "click"], ["mat-list-icon", "", "svgIcon", "layers-plus"], ["matLine", "", 1, "catalog-tool", "mat-typography", 3, "click"], ["mat-list-icon", "", "svgIcon", "star"], ["matLine", "", 1, "context-tool", "mat-typography", 3, "click"]], template: function AdvancedSwipeComponent_Template(rf, ctx) { if (rf & 1) {
3264
3137
  i0.ɵɵtemplate(0, AdvancedSwipeComponent_div_0_Template, 16, 14, "div", 0);
3265
3138
  i0.ɵɵtemplate(1, AdvancedSwipeComponent_ng_template_1_Template, 22, 15, "ng-template", null, 1, i0.ɵɵtemplateRefExtractor);
3266
3139
  } if (rf & 2) {
3267
3140
  const _r1 = i0.ɵɵreference(2);
3268
3141
  i0.ɵɵproperty("ngIf", ctx.userControlledLayerList.length)("ngIfElse", _r1);
3269
- } }, directives: [i5.NgIf, i3$1.ɵNgNoValidate, i3$1.NgControlStatusGroup, i3$1.FormGroupDirective, i6$1.MatFormField, i6$1.MatLabel, i7$1.MatSelect, i3$1.NgControlStatus, i3$1.FormControlName, i8$1.MatOption, i9.MatDivider, i5.NgForOf, i10.MatSlideToggle, i7.MatList, i7.MatListItem, i6.MatIcon, i7.MatListIconCssMatStyler, i8$1.MatLine], pipes: [i8.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}"] });
3142
+ } }, dependencies: [i3.ɵNgNoValidate, i3.NgControlStatus, i3.NgControlStatusGroup, i3.FormGroupDirective, i3.FormControlName, i5$1.MatDivider, i6$2.MatFormField, i6$2.MatLabel, i7$2.MatSelect, i8$1.MatOption, i6.NgForOf, i6.NgIf, i6$1.MatList, i6$1.MatListItem, i8$1.MatLine, i6$1.MatListIconCssMatStyler, i7.MatIcon, i12.MatSlideToggle, i8.TranslatePipe], styles: [".nameOfTool[_ngcontent-%COMP%]{text-align:center;font-weight:700;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:700}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}"] });
3270
3143
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AdvancedSwipeComponent, [{
3271
3144
  type: Component,
3272
- args: [{
3273
- selector: 'igo-advanced-swipe',
3274
- templateUrl: './advanced-swipe.component.html',
3275
- styleUrls: ['./advanced-swipe.component.scss']
3276
- }]
3277
- }], function () { return [{ type: MapState }, { type: i1.ContextService }, { type: i3$1.FormBuilder }, { type: ToolState }]; }, null); })();
3145
+ args: [{ selector: 'igo-advanced-swipe', template: "<div *ngIf=\"userControlledLayerList.length; else noLayersBlock\" class=\"igo-swipe-select-container\">\r\n <form class=\"igo-form\" [formGroup]=\"form\">\r\n <mat-form-field>\r\n <mat-label>{{'igo.integration.advanced-map-tool.advanced-swipe.swipe-select' | translate}}</mat-label>\r\n <mat-select formControlName=\"layers\" multiple>\r\n <mat-option [value]=\"1\" (click)=\"selectAll(e)\" #e>\r\n {{'igo.integration.advanced-map-tool.advanced-swipe.selectAll' | translate}}\r\n </mat-option>\r\n <mat-divider></mat-divider>\r\n <mat-option *ngFor=\"let layer of userControlledLayerList\" [value]=\"layer\" (click)=\"applyNewLayers(e)\">{{layer.title}}</mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n </form>\r\n\r\n <mat-slide-toggle class=\"swipe-toggle mat-typography\"\r\n [checked]=\"swipe\"\r\n [labelPosition]=\"'before'\"\r\n (change)=\"startSwipe($event.checked)\">\r\n {{'igo.integration.advanced-map-tool.advanced-swipe.swipe' | translate}}\r\n </mat-slide-toggle> \r\n</div>\r\n\r\n<ng-template #noLayersBlock>\r\n <mat-list>\r\n <p class=\"map-empty mat-typography\">\r\n {{'igo.integration.advanced-map-tool.advanced-swipe.empty' | translate}}</p>\r\n <p class=\"map-empty mat-typography\">\r\n {{'igo.integration.advanced-map-tool.advanced-swipe.customize' | translate}}</p>\r\n <mat-list-item>\r\n <mat-icon mat-list-icon svgIcon=\"magnify\"></mat-icon>\r\n <h4 matLine class=\"search-tool mat-typography\" (click)=\"searchEmit()\">\r\n {{'igo.integration.advanced-map-tool.advanced-swipe.search-tool' | translate}}\r\n </h4>\r\n </mat-list-item>\r\n <mat-list-item>\r\n <mat-icon mat-list-icon svgIcon=\"layers-plus\"></mat-icon>\r\n <h4 matLine class=\"catalog-tool mat-typography\" (click)=\"catalogEmit()\">\r\n {{'igo.integration.advanced-map-tool.advanced-swipe.catalog-tool' | translate}}\r\n </h4>\r\n </mat-list-item>\r\n <mat-list-item>\r\n <mat-icon mat-list-icon svgIcon=\"star\"></mat-icon>\r\n <h4 matLine class=\"context-tool mat-typography\" (click)=\"contextEmit()\">\r\n {{'igo.integration.advanced-map-tool.advanced-swipe.context-tool' | translate}}\r\n </h4>\r\n </mat-list-item>\r\n </mat-list>\r\n</ng-template>\r\n", styles: [".nameOfTool{text-align:center;font-weight:700;font-size:small;margin:15px 10px 0}.igo-swipe-select-container{padding:10px}.igo-swipe-select-container mat-form-field{width:100%}.igo-form{padding:1px 5px;width:100%}.swipe-toggle{padding:10px 5px 35px}.map-empty,.search-tool,.catalog-tool,.context-tool{margin:5px}.map-empty{padding:10px;text-align:justify}.search-tool,.catalog-tool,.context-tool{cursor:pointer}mat-list mat-list-item h4{font-weight:700}mat-list-item ::ng-deep .mat-list-text{font-size:smaller}mat-list.mat-list-base mat-list-item.mat-list-item ::ng-deep div.mat-list-item-content div.mat-list-text{padding-left:15px}.advanced-tool-line{height:2px;background-color:gray}\n"] }]
3146
+ }], function () { return [{ type: MapState }, { type: i1.ContextService }, { type: i3.FormBuilder }, { type: ToolState }]; }, null); })();
3278
3147
 
3279
3148
  function AdvancedCoordinatesComponent_mat_form_field_0_Template(rf, ctx) { if (rf & 1) {
3280
3149
  i0.ɵɵelementStart(0, "mat-form-field", 12);
@@ -3653,7 +3522,7 @@ class AdvancedCoordinatesComponent {
3653
3522
  });
3654
3523
  }
3655
3524
  }
3656
- AdvancedCoordinatesComponent.ɵfac = function AdvancedCoordinatesComponent_Factory(t) { return new (t || AdvancedCoordinatesComponent)(i0.ɵɵdirectiveInject(MapState), i0.ɵɵdirectiveInject(i2.LanguageService), i0.ɵɵdirectiveInject(i2.MessageService), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i2.StorageService), i0.ɵɵdirectiveInject(i2.ConfigService), i0.ɵɵdirectiveInject(i3$1.FormBuilder)); };
3525
+ AdvancedCoordinatesComponent.ɵfac = function AdvancedCoordinatesComponent_Factory(t) { return new (t || AdvancedCoordinatesComponent)(i0.ɵɵdirectiveInject(MapState), i0.ɵɵdirectiveInject(i2.LanguageService), i0.ɵɵdirectiveInject(i2.MessageService), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i2.StorageService), i0.ɵɵdirectiveInject(i2.ConfigService), i0.ɵɵdirectiveInject(i3.FormBuilder)); };
3657
3526
  AdvancedCoordinatesComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵ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) { if (rf & 1) {
3658
3527
  i0.ɵɵtemplate(0, AdvancedCoordinatesComponent_mat_form_field_0_Template, 4, 4, "mat-form-field", 0);
3659
3528
  i0.ɵɵtemplate(1, AdvancedCoordinatesComponent_ng_template_1_Template, 4, 4, "ng-template", null, 1, i0.ɵɵtemplateRefExtractor);
@@ -3665,9 +3534,7 @@ AdvancedCoordinatesComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type
3665
3534
  i0.ɵɵtext(8);
3666
3535
  i0.ɵɵpipe(9, "translate");
3667
3536
  i0.ɵɵelementEnd();
3668
- i0.ɵɵelementStart(10, "form", 6);
3669
- i0.ɵɵelementStart(11, "mat-form-field", 7);
3670
- i0.ɵɵelementStart(12, "mat-label");
3537
+ i0.ɵɵelementStart(10, "form", 6)(11, "mat-form-field", 7)(12, "mat-label");
3671
3538
  i0.ɵɵtext(13);
3672
3539
  i0.ɵɵpipe(14, "translate");
3673
3540
  i0.ɵɵelementEnd();
@@ -3675,14 +3542,12 @@ AdvancedCoordinatesComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type
3675
3542
  i0.ɵɵlistener("valueChange", function AdvancedCoordinatesComponent_Template_mat_select_valueChange_15_listener($event) { return ctx.inputProj = $event; });
3676
3543
  i0.ɵɵtemplate(16, AdvancedCoordinatesComponent_mat_option_16_Template, 2, 2, "mat-option", 9);
3677
3544
  i0.ɵɵpipe(17, "async");
3678
- i0.ɵɵelementEnd();
3679
- i0.ɵɵelementEnd();
3545
+ i0.ɵɵelementEnd()();
3680
3546
  i0.ɵɵelementStart(18, "mat-slide-toggle", 10);
3681
3547
  i0.ɵɵlistener("change", function AdvancedCoordinatesComponent_Template_mat_slide_toggle_change_18_listener($event) { return ctx.displayCenter($event.checked); });
3682
3548
  i0.ɵɵtext(19);
3683
3549
  i0.ɵɵpipe(20, "translate");
3684
- i0.ɵɵelementEnd();
3685
- i0.ɵɵelementEnd();
3550
+ i0.ɵɵelementEnd()();
3686
3551
  i0.ɵɵelementStart(21, "p", 11);
3687
3552
  i0.ɵɵtext(22);
3688
3553
  i0.ɵɵpipe(23, "translate");
@@ -3723,15 +3588,11 @@ AdvancedCoordinatesComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type
3723
3588
  i0.ɵɵtextInterpolate2("", i0.ɵɵpipeBind1(26, 28, "igo.integration.advanced-map-tool.advanced-coordinates.scale"), " ", i0.ɵɵpipeBind1(27, 30, ctx.formattedScale$), "");
3724
3589
  i0.ɵɵadvance(4);
3725
3590
  i0.ɵɵtextInterpolate2("", i0.ɵɵpipeBind1(30, 32, "igo.integration.advanced-map-tool.advanced-coordinates.resolution"), " ", i0.ɵɵpipeBind2(31, 34, ctx.map.viewController.getResolution(), "1.0-0"), "");
3726
- } }, directives: [i5.NgIf, i3.MatButton, i6.MatIcon, i3$1.ɵNgNoValidate, i3$1.NgControlStatusGroup, i3$1.FormGroupDirective, i6$1.MatFormField, i6$1.MatLabel, i7$1.MatSelect, i5.NgForOf, i10.MatSlideToggle, i10$1.MatInput, i8$1.MatOption], pipes: [i8.TranslatePipe, i5.AsyncPipe, i5.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}"] });
3591
+ } }, dependencies: [i3.ɵNgNoValidate, i3.NgControlStatusGroup, i3.FormGroupDirective, i6$2.MatFormField, i6$2.MatLabel, i7$2.MatSelect, i8$1.MatOption, i7$3.MatInput, i6.NgForOf, i6.NgIf, i7.MatIcon, i12.MatSlideToggle, i10.MatButton, i6.AsyncPipe, i6.DecimalPipe, i8.TranslatePipe], 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}"] });
3727
3592
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AdvancedCoordinatesComponent, [{
3728
3593
  type: Component,
3729
- args: [{
3730
- selector: 'igo-advanced-coordinates',
3731
- templateUrl: './advanced-coordinates.component.html',
3732
- styleUrls: ['./advanced-coordinates.component.scss']
3733
- }]
3734
- }], function () { return [{ type: MapState }, { type: i2.LanguageService }, { type: i2.MessageService }, { type: i0.ChangeDetectorRef }, { type: i2.StorageService }, { type: i2.ConfigService }, { type: i3$1.FormBuilder }]; }, { projectionsLimitations: [{
3594
+ args: [{ selector: 'igo-advanced-coordinates', template: "<mat-form-field *ngIf=\"units; else elseBlock\" class=\"coordinates\">\r\n <textarea #textArea matInput readonly rows=\"1\"\r\n [placeholder]=\"'igo.integration.advanced-map-tool.advanced-coordinates.lon' | translate\"\r\n [value]=\"coordinates[0]\"></textarea>\r\n</mat-form-field>\r\n<ng-template #elseBlock >\r\n <mat-form-field class=\"coordinates\">\r\n <textarea #textArea matInput readonly rows=\"1\"\r\n [placeholder]=\"'igo.integration.advanced-map-tool.advanced-coordinates.est' | translate\"\r\n [value]=\"coordinates[0]\"></textarea></mat-form-field>\r\n</ng-template>\r\n\r\n<mat-form-field *ngIf=\"units; else elseBlock2\" class=\"coordinates2\">\r\n <textarea #textArea matInput readonly rows=\"1\"\r\n [placeholder]=\"'igo.integration.advanced-map-tool.advanced-coordinates.lat' | translate\"\r\n [value]=\"coordinates[1]\"></textarea>\r\n</mat-form-field>\r\n<ng-template #elseBlock2 >\r\n <mat-form-field class=\"coordinates2\"> <textarea #textArea matInput readonly rows=\"1\"\r\n [placeholder]=\"'igo.integration.advanced-map-tool.advanced-coordinates.nord' | translate\"\r\n [value]=\"coordinates[1]\"></textarea></mat-form-field>\r\n</ng-template>\r\n\r\n<button class=\"igo-form-button-group\"\r\n mat-raised-button\r\n (click)=\"copyTextToClipboard()\">\r\n <mat-icon svgIcon=\"content-copy\"></mat-icon>\r\n {{ 'igo.integration.advanced-map-tool.advanced-coordinates.copy' | translate }}\r\n</button>\r\n\r\n<form class=\"igo-form\" [formGroup]=\"form\">\r\n <mat-form-field class=\"igo-input-container\">\r\n <mat-label>{{'igo.integration.advanced-map-tool.advanced-coordinates.coordSystem' | translate}}</mat-label>\r\n <mat-select [(value)]=\"inputProj\">\r\n <mat-option matTooltipShowDelay=\"500\"\r\n *ngFor=\"let projection of (projections$ | async)\"\r\n [value]=\"projection\"\r\n (click)=\"$event.stopPropagation()\">\r\n {{projection.translatedValue || projection.alias }}\r\n </mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n <mat-slide-toggle class=\"center-toggle mat-typography\"\r\n [checked]=\"center\"\r\n [labelPosition]=\"'before'\"\r\n (change)=\"displayCenter($event.checked)\">\r\n {{'igo.integration.advanced-map-tool.advanced-coordinates.center' | translate}}\r\n </mat-slide-toggle> \r\n</form>\r\n\r\n<p class=\"igo-zoom mat-typography\">{{'igo.integration.advanced-map-tool.advanced-coordinates.zoom' | translate}} {{map.viewController.getZoom() }}</p>\r\n<p class=\"igo-zoom mat-typography\">{{'igo.integration.advanced-map-tool.advanced-coordinates.scale' | translate}} {{ formattedScale$ | async }}</p>\r\n<p class=\"igo-zoom mat-typography\">{{'igo.integration.advanced-map-tool.advanced-coordinates.resolution' | translate}} {{map.viewController.getResolution() | number: '1.0-0' }}</p>", styles: ["textarea{resize:none}mat-form-field{padding:10px 15px}mat-form-field.coordinates{width:120px}mat-form-field.coordinates2{width:120px;padding:0 10px 0 3px}mat-form-field.igo-input-container{width:60%;padding:0 15px}.igo-form-button-group{padding:0 10px;margin:0 10px}.center-toggle{padding:10px 15px 35px}mat-slide-toggle{font-size:small}.igo-zoom{padding:0 15px}\n"] }]
3595
+ }], function () { return [{ type: MapState }, { type: i2.LanguageService }, { type: i2.MessageService }, { type: i0.ChangeDetectorRef }, { type: i2.StorageService }, { type: i2.ConfigService }, { type: i3.FormBuilder }]; }, { projectionsLimitations: [{
3735
3596
  type: Input
3736
3597
  }] }); })();
3737
3598
 
@@ -3758,21 +3619,17 @@ AdvancedMapToolComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Ad
3758
3619
  i0.ɵɵtext(1);
3759
3620
  i0.ɵɵpipe(2, "translate");
3760
3621
  i0.ɵɵelementEnd();
3761
- i0.ɵɵelement(3, "igo-advanced-swipe");
3762
- i0.ɵɵelement(4, "mat-divider", 1);
3622
+ i0.ɵɵelement(3, "igo-advanced-swipe")(4, "mat-divider", 1);
3763
3623
  i0.ɵɵelementStart(5, "h4", 0);
3764
3624
  i0.ɵɵtext(6);
3765
3625
  i0.ɵɵpipe(7, "translate");
3766
3626
  i0.ɵɵelementEnd();
3767
- i0.ɵɵelement(8, "igo-advanced-coordinates");
3768
- i0.ɵɵelement(9, "mat-divider", 1);
3627
+ i0.ɵɵelement(8, "igo-advanced-coordinates")(9, "mat-divider", 1);
3769
3628
  i0.ɵɵelementStart(10, "h4", 0);
3770
3629
  i0.ɵɵtext(11);
3771
3630
  i0.ɵɵpipe(12, "translate");
3772
3631
  i0.ɵɵelementEnd();
3773
- i0.ɵɵelementStart(13, "div", 2);
3774
- i0.ɵɵelementStart(14, "div", 3);
3775
- i0.ɵɵelementStart(15, "mat-slide-toggle", 4);
3632
+ i0.ɵɵelementStart(13, "div", 2)(14, "div", 3)(15, "mat-slide-toggle", 4);
3776
3633
  i0.ɵɵlistener("change", function AdvancedMapToolComponent_Template_mat_slide_toggle_change_15_listener($event) { return ctx.toggleTracking($event.checked); });
3777
3634
  i0.ɵɵpipe(16, "async");
3778
3635
  i0.ɵɵtext(17);
@@ -3784,9 +3641,7 @@ AdvancedMapToolComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Ad
3784
3641
  i0.ɵɵpipe(21, "async");
3785
3642
  i0.ɵɵtext(22);
3786
3643
  i0.ɵɵpipe(23, "translate");
3787
- i0.ɵɵelementEnd();
3788
- i0.ɵɵelementEnd();
3789
- i0.ɵɵelementEnd();
3644
+ i0.ɵɵelementEnd()()();
3790
3645
  } if (rf & 2) {
3791
3646
  i0.ɵɵadvance(1);
3792
3647
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 10, "igo.integration.advanced-map-tool.advanced-swipe.swipe-tool"));
@@ -3802,7 +3657,7 @@ AdvancedMapToolComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Ad
3802
3657
  i0.ɵɵproperty("disabled", i0.ɵɵpipeBind1(20, 20, ctx.tracking$) !== true)("checked", i0.ɵɵpipeBind1(21, 22, ctx.followPosition$))("labelPosition", "before");
3803
3658
  i0.ɵɵadvance(3);
3804
3659
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(23, 24, "igo.integration.advanced-map-tool.geolocation.follow"), " ");
3805
- } }, directives: [AdvancedSwipeComponent, i9.MatDivider, AdvancedCoordinatesComponent, i10.MatSlideToggle], pipes: [i8.TranslatePipe, i5.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}"] });
3660
+ } }, dependencies: [i5$1.MatDivider, i12.MatSlideToggle, AdvancedSwipeComponent, AdvancedCoordinatesComponent, i6.AsyncPipe, i8.TranslatePipe], styles: [".nameOfTool[_ngcontent-%COMP%]{text-align:center;font-weight:700;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}"] });
3806
3661
  AdvancedMapToolComponent = __decorate([
3807
3662
  ToolComponent({
3808
3663
  name: 'advancedMap',
@@ -3815,11 +3670,7 @@ AdvancedMapToolComponent = __decorate([
3815
3670
  ], AdvancedMapToolComponent);
3816
3671
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AdvancedMapToolComponent, [{
3817
3672
  type: Component,
3818
- args: [{
3819
- selector: 'igo-advanced-map-tool',
3820
- templateUrl: './advanced-map-tool.component.html',
3821
- styleUrls: ['./advanced-map-tool.component.scss']
3822
- }]
3673
+ args: [{ selector: 'igo-advanced-map-tool', template: "<h4 class=\"nameOfTool\">{{'igo.integration.advanced-map-tool.advanced-swipe.swipe-tool' | translate}}</h4>\r\n<igo-advanced-swipe></igo-advanced-swipe>\r\n<mat-divider class=\"advanced-tool-line\"></mat-divider>\r\n\r\n<h4 class=\"nameOfTool\">{{'igo.integration.advanced-map-tool.advanced-coordinates.coordinates' | translate}}</h4>\r\n<igo-advanced-coordinates></igo-advanced-coordinates>\r\n<mat-divider class=\"advanced-tool-line\"></mat-divider>\r\n\r\n<h4 class=\"nameOfTool\">{{'igo.integration.advanced-map-tool.geolocation.title' | translate}}</h4>\r\n\r\n<div class=\"igo-input-container\">\r\n <div class=\"geolocation-slide-toggle-container mat-typography\">\r\n <mat-slide-toggle \r\n class=\"geolocation-option mat-typography\"\r\n [checked]=\"tracking$ | async\"\r\n [labelPosition]=\"'before'\"\r\n (change)=\"toggleTracking($event.checked)\">\r\n {{'igo.integration.advanced-map-tool.geolocation.tracking' | translate}}\r\n </mat-slide-toggle>\r\n\r\n <mat-slide-toggle\r\n class=\"geolocation-option mat-typography\"\r\n [disabled]=\"(tracking$ | async) !== true\"\r\n [checked]=\"followPosition$ | async\"\r\n [labelPosition]=\"'before'\"\r\n (change)=\"toggleFollow($event.checked)\">\r\n {{'igo.integration.advanced-map-tool.geolocation.follow' | translate}}\r\n </mat-slide-toggle>\r\n </div>\r\n</div>", styles: [".nameOfTool{text-align:center;font-weight:700;font-size:small;margin:15px 10px 0}.advanced-tool-line{height:2px;background-color:gray}.geolocation-slide-toggle-container{overflow-x:hidden}.geolocation-slide-toggle-container mat-slide-toggle{width:100%;margin:10px}.geolocation-slide-toggle-container mat-slide-toggle ::ng-deep .mat-slide-toggle-content{width:calc(100% - 60px)}.geolocation-option{display:block;margin-right:10px;margin-bottom:15px}\n"] }]
3823
3674
  }], function () { return [{ type: MapState }]; }, null); })();
3824
3675
 
3825
3676
  /**
@@ -3928,23 +3779,22 @@ class MapProximityState {
3928
3779
  type: FEATURE,
3929
3780
  geometry,
3930
3781
  projection: projection.getCode(),
3931
- properties: Object.assign(Object.assign({}, feature.properties), {
3932
- id: featureId,
3933
- element: title,
3934
- distance,
3935
- coordFromCalculatedDistance,
3936
- layerSrcId: layer.id,
3937
- layerSrcTitle: layer.title
3938
- }),
3782
+ properties: { ...feature.properties, ...{
3783
+ id: featureId,
3784
+ element: title,
3785
+ distance,
3786
+ coordFromCalculatedDistance,
3787
+ layerSrcId: layer.id,
3788
+ layerSrcTitle: layer.title
3789
+ } },
3939
3790
  meta: {
3940
3791
  id: featureId
3941
3792
  }
3942
3793
  });
3943
3794
  }
3944
3795
  getQueryTitle(feature, layer) {
3945
- var _a, _b;
3946
3796
  let title;
3947
- if ((_b = (_a = layer.options) === null || _a === void 0 ? void 0 : _a.source) === null || _b === void 0 ? void 0 : _b.options) {
3797
+ if (layer.options?.source?.options) {
3948
3798
  const dataSourceOptions = layer.options.source
3949
3799
  .options;
3950
3800
  if (dataSourceOptions.queryTitle) {
@@ -3999,7 +3849,7 @@ function MapProximityToolComponent_mat_form_field_5_Template(rf, ctx) { if (rf &
3999
3849
  function MapProximityToolComponent_button_7_Template(rf, ctx) { if (rf & 1) {
4000
3850
  const _r9 = i0.ɵɵgetCurrentView();
4001
3851
  i0.ɵɵelementStart(0, "button", 18);
4002
- i0.ɵɵlistener("click", function MapProximityToolComponent_button_7_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r9); const ctx_r8 = i0.ɵɵnextContext(); return ctx_r8.copyTextToClipboard(); });
3852
+ i0.ɵɵlistener("click", function MapProximityToolComponent_button_7_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r9); const ctx_r8 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r8.copyTextToClipboard()); });
4003
3853
  i0.ɵɵelement(1, "mat-icon", 19);
4004
3854
  i0.ɵɵelementEnd();
4005
3855
  } }
@@ -4073,8 +3923,7 @@ let MapProximityToolComponent = class MapProximityToolComponent {
4073
3923
  * Copy the coordinates to a clipboard
4074
3924
  */
4075
3925
  copyTextToClipboard() {
4076
- var _a;
4077
- const successful = Clipboard.copy((_a = this.mapProximityState.currentPositionCoordinate$) === null || _a === void 0 ? void 0 : _a.value.toString());
3926
+ const successful = Clipboard.copy(this.mapProximityState.currentPositionCoordinate$?.value.toString());
4078
3927
  if (successful) {
4079
3928
  const translate = this.languageService.translate;
4080
3929
  const title = translate.instant('igo.integration.map-proximity-tool.copyTitle');
@@ -4090,8 +3939,7 @@ MapProximityToolComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: M
4090
3939
  let _t;
4091
3940
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.table = _t.first);
4092
3941
  } }, 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) { if (rf & 1) {
4093
- i0.ɵɵelement(0, "igo-entity-table", 0, 1);
4094
- i0.ɵɵelement(2, "br");
3942
+ i0.ɵɵelement(0, "igo-entity-table", 0, 1)(2, "br");
4095
3943
  i0.ɵɵtemplate(3, MapProximityToolComponent_mat_form_field_3_Template, 4, 4, "mat-form-field", 2);
4096
3944
  i0.ɵɵpipe(4, "async");
4097
3945
  i0.ɵɵtemplate(5, MapProximityToolComponent_mat_form_field_5_Template, 4, 4, "mat-form-field", 3);
@@ -4099,14 +3947,11 @@ MapProximityToolComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: M
4099
3947
  i0.ɵɵtemplate(7, MapProximityToolComponent_button_7_Template, 2, 0, "button", 4);
4100
3948
  i0.ɵɵpipe(8, "async");
4101
3949
  i0.ɵɵpipe(9, "async");
4102
- i0.ɵɵelementStart(10, "div", 5);
4103
- i0.ɵɵelementStart(11, "mat-label", 6);
3950
+ i0.ɵɵelementStart(10, "div", 5)(11, "mat-label", 6);
4104
3951
  i0.ɵɵtext(12);
4105
3952
  i0.ɵɵpipe(13, "translate");
4106
- i0.ɵɵelementEnd();
4107
- i0.ɵɵelementEnd();
4108
- i0.ɵɵelementStart(14, "div", 7);
4109
- i0.ɵɵelementStart(15, "mat-radio-group", 8);
3953
+ i0.ɵɵelementEnd()();
3954
+ i0.ɵɵelementStart(14, "div", 7)(15, "mat-radio-group", 8);
4110
3955
  i0.ɵɵlistener("change", function MapProximityToolComponent_Template_mat_radio_group_change_15_listener($event) { return ctx.onLocationTypeChange($event); });
4111
3956
  i0.ɵɵelementStart(16, "mat-radio-button", 9);
4112
3957
  i0.ɵɵpipe(17, "async");
@@ -4117,21 +3962,15 @@ MapProximityToolComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: M
4117
3962
  i0.ɵɵpipe(21, "async");
4118
3963
  i0.ɵɵtext(22);
4119
3964
  i0.ɵɵpipe(23, "translate");
4120
- i0.ɵɵelementEnd();
4121
- i0.ɵɵelementEnd();
4122
- i0.ɵɵelementEnd();
4123
- i0.ɵɵelementStart(24, "div", 11);
4124
- i0.ɵɵelementStart(25, "mat-form-field", 12);
4125
- i0.ɵɵelementStart(26, "mat-label");
3965
+ i0.ɵɵelementEnd()()();
3966
+ i0.ɵɵelementStart(24, "div", 11)(25, "mat-form-field", 12)(26, "mat-label");
4126
3967
  i0.ɵɵtext(27);
4127
3968
  i0.ɵɵpipe(28, "translate");
4128
3969
  i0.ɵɵelementEnd();
4129
3970
  i0.ɵɵelementStart(29, "input", 13);
4130
3971
  i0.ɵɵlistener("ngModelChange", function MapProximityToolComponent_Template_input_ngModelChange_29_listener($event) { return ctx.maxDistance = $event; });
4131
3972
  i0.ɵɵpipe(30, "translate");
4132
- i0.ɵɵelementEnd();
4133
- i0.ɵɵelementEnd();
4134
- i0.ɵɵelementEnd();
3973
+ i0.ɵɵelementEnd()()();
4135
3974
  } if (rf & 2) {
4136
3975
  i0.ɵɵproperty("store", ctx.mapProximityState.proximityFeatureStore)("template", ctx.tableTemplate);
4137
3976
  i0.ɵɵadvance(3);
@@ -4155,7 +3994,7 @@ MapProximityToolComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: M
4155
3994
  i0.ɵɵadvance(2);
4156
3995
  i0.ɵɵpropertyInterpolate("placeholder", i0.ɵɵpipeBind1(30, 33, "igo.integration.map-proximity-tool.radiusM"));
4157
3996
  i0.ɵɵproperty("ngModel", ctx.maxDistance);
4158
- } }, directives: [i4.EntityTableComponent, i5.NgIf, i6$1.MatLabel, i7$2.MatRadioGroup, i7$2.MatRadioButton, i6$1.MatFormField, i3$1.NumberValueAccessor, i10$1.MatInput, i3$1.DefaultValueAccessor, i3$1.PatternValidator, i3$1.NgControlStatus, i3$1.NgModel, i3.MatButton, i6.MatIcon], pipes: [i5.AsyncPipe, i8.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}"] });
3997
+ } }, dependencies: [i3.DefaultValueAccessor, i3.NumberValueAccessor, i3.NgControlStatus, i3.PatternValidator, i3.NgModel, i6$2.MatFormField, i6$2.MatLabel, i7$3.MatInput, i6.NgIf, i7.MatIcon, i9.MatRadioGroup, i9.MatRadioButton, i10.MatButton, i4.EntityTableComponent, i6.AsyncPipe, i8.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}"] });
4159
3998
  MapProximityToolComponent = __decorate([
4160
3999
  ToolComponent({
4161
4000
  name: 'map-proximity',
@@ -4168,11 +4007,7 @@ MapProximityToolComponent = __decorate([
4168
4007
  ], MapProximityToolComponent);
4169
4008
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MapProximityToolComponent, [{
4170
4009
  type: Component,
4171
- args: [{
4172
- selector: 'igo-map-proximity-tool',
4173
- templateUrl: './map-proximity-tool.component.html',
4174
- styleUrls: ['./map-proximity-tool.component.scss']
4175
- }]
4010
+ args: [{ selector: 'igo-map-proximity-tool', template: "<igo-entity-table #table class=\"table-compact\" [store]=\"mapProximityState.proximityFeatureStore\" [template]=\"tableTemplate\"></igo-entity-table>\r\n<br>\r\n<mat-form-field *ngIf=\"mapProximityState.currentPositionCoordinate$ | async as coord\" class=\"coordinates\">\r\n <textarea #textArea matInput readonly rows=\"1\"\r\n [placeholder]=\"'igo.integration.map-proximity-tool.lon' | translate\"\r\n [value]=\"coord[0]\"></textarea>\r\n</mat-form-field>\r\n<mat-form-field *ngIf=\"mapProximityState.currentPositionCoordinate$ | async as coord2\" class=\"coordinates2\">\r\n <textarea #textArea matInput readonly rows=\"1\"\r\n [placeholder]=\"'igo.integration.map-proximity-tool.lat' | translate\"\r\n [value]=\"coord2[1]\"></textarea>\r\n</mat-form-field>\r\n\r\n<button *ngIf=\"(mapProximityState.currentPositionCoordinate$ | async) && (mapProximityState.currentPositionCoordinate$ | async).length\" mat-icon-button\r\n (click)=\"copyTextToClipboard()\">\r\n <mat-icon svgIcon=\"content-copy\"></mat-icon>\r\n</button>\r\n<div class=\"title-container\">\r\n <mat-label class=\"title mat-typography\">{{'igo.integration.map-proximity-tool.method' | translate}}</mat-label>\r\n</div>\r\n<div class=\"igo-input-container mat-typography\">\r\n <mat-radio-group (change)=\"onLocationTypeChange($event)\">\r\n <mat-radio-button [checked]=\"(mapProximityState.proximitylocationType$|async)==='geolocation'\" value=\"geolocation\">{{'igo.integration.map-proximity-tool.geolocation' | translate}}</mat-radio-button>\r\n <mat-radio-button [checked]=\"(mapProximityState.proximitylocationType$|async)==='mapCenter'\" value=\"mapCenter\">{{'igo.integration.map-proximity-tool.mapCenter' | translate}}</mat-radio-button>\r\n </mat-radio-group>\r\n</div>\r\n\r\n<div class=\"radius-unit\"> \r\n \r\n <mat-form-field appearance=\"outline\" class=\"measure-field\" floatLabel=\"always\">\r\n <mat-label>{{'igo.integration.map-proximity-tool.radiusM' | translate}}</mat-label>\r\n <input type=\"number\" pattern=\"[0-9]*\" [(ngModel)]=\"maxDistance\" matInput placeholder=\"{{'igo.integration.map-proximity-tool.radiusM' | translate}}\">\r\n </mat-form-field>\r\n\r\n \r\n</div>", styles: [".table-compact{height:auto}.table-compact ::ng-deep .mat-header-cell.mat-column-selectionCheckbox{width:52px}textarea{resize:none}mat-form-field{padding:10px 15px}mat-form-field.coordinates{width:110px}mat-form-field.coordinates2{width:100px;padding:0 10px 0 3px}mat-form-field.igo-input-container{width:60%;padding:0 15px}.radius-unit{display:flex;width:90%;margin-left:2px;padding:5px}.radius-field{display:flex;flex-flow:column nowrap;width:60%}.title-container{padding:10px}.title{margin-left:5px;font-size:medium;font-size:initial}.mat-radio-group{display:flex;flex-direction:column;padding-top:10px}.mat-radio-button{display:inline-flex;position:relative;margin-left:16px;margin-top:10px}\n"] }]
4176
4011
  }], function () { return [{ type: MapState }, { type: MapProximityState }, { type: i2.LanguageService }, { type: i2.MessageService }]; }, { table: [{
4177
4012
  type: ViewChild,
4178
4013
  args: ['table', { static: true }]
@@ -4188,36 +4023,34 @@ class IgoAppMapModule {
4188
4023
  }
4189
4024
  IgoAppMapModule.ɵfac = function IgoAppMapModule_Factory(t) { return new (t || IgoAppMapModule)(); };
4190
4025
  IgoAppMapModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: IgoAppMapModule });
4191
- IgoAppMapModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [[
4192
- FormsModule,
4193
- ReactiveFormsModule,
4194
- MatButtonToggleModule,
4195
- MatDividerModule,
4196
- MatSelectModule,
4197
- MatOptionModule,
4198
- MatFormFieldModule,
4199
- MatInputModule,
4200
- MatCheckboxModule,
4201
- IgoSpinnerModule,
4202
- CommonModule,
4203
- MatTabsModule,
4204
- MatListModule,
4205
- MatIconModule,
4206
- IgoLanguageModule,
4207
- IgoLayerModule,
4208
- IgoMetadataModule,
4209
- IgoDownloadModule,
4210
- IgoImportExportModule,
4211
- IgoFilterModule,
4212
- MatRadioModule,
4213
- IgoContextModule,
4214
- IgoAppWorkspaceModule,
4215
- MatSlideToggleModule,
4216
- MatMenuModule,
4217
- MatButtonModule,
4218
- MatTooltipModule,
4219
- IgoEntityTableModule
4220
- ]] });
4026
+ IgoAppMapModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [FormsModule,
4027
+ ReactiveFormsModule,
4028
+ MatButtonToggleModule,
4029
+ MatDividerModule,
4030
+ MatSelectModule,
4031
+ MatOptionModule,
4032
+ MatFormFieldModule,
4033
+ MatInputModule,
4034
+ MatCheckboxModule,
4035
+ IgoSpinnerModule,
4036
+ CommonModule,
4037
+ MatTabsModule,
4038
+ MatListModule,
4039
+ MatIconModule,
4040
+ IgoLanguageModule,
4041
+ IgoLayerModule,
4042
+ IgoMetadataModule,
4043
+ IgoDownloadModule,
4044
+ IgoImportExportModule,
4045
+ IgoFilterModule,
4046
+ MatRadioModule,
4047
+ IgoContextModule,
4048
+ IgoAppWorkspaceModule,
4049
+ MatSlideToggleModule,
4050
+ MatMenuModule,
4051
+ MatButtonModule,
4052
+ MatTooltipModule,
4053
+ IgoEntityTableModule] });
4221
4054
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IgoAppMapModule, [{
4222
4055
  type: NgModule,
4223
4056
  args: [{
@@ -4344,7 +4177,7 @@ MeasurerToolComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Measu
4344
4177
  i0.ɵɵelement(0, "igo-measurer", 0);
4345
4178
  } if (rf & 2) {
4346
4179
  i0.ɵɵproperty("store", ctx.store)("map", ctx.map);
4347
- } }, directives: [i1$1.MeasurerComponent], encapsulation: 2, changeDetection: 0 });
4180
+ } }, dependencies: [i1$1.MeasurerComponent], encapsulation: 2, changeDetection: 0 });
4348
4181
  MeasurerToolComponent = __decorate([
4349
4182
  ToolComponent({
4350
4183
  name: 'measurer',
@@ -4354,11 +4187,7 @@ MeasurerToolComponent = __decorate([
4354
4187
  ], MeasurerToolComponent);
4355
4188
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MeasurerToolComponent, [{
4356
4189
  type: Component,
4357
- args: [{
4358
- selector: 'igo-measurer-tool',
4359
- templateUrl: './measurer-tool.component.html',
4360
- changeDetection: ChangeDetectionStrategy.OnPush
4361
- }]
4190
+ args: [{ selector: 'igo-measurer-tool', changeDetection: ChangeDetectionStrategy.OnPush, template: "<igo-measurer [store]=\"store\" [map]=\"map\"></igo-measurer>\r\n" }]
4362
4191
  }], function () { return [{ type: MeasureState }, { type: MapState }]; }, null); })();
4363
4192
 
4364
4193
  /**
@@ -4368,9 +4197,7 @@ class IgoAppMeasurerToolModule {
4368
4197
  }
4369
4198
  IgoAppMeasurerToolModule.ɵfac = function IgoAppMeasurerToolModule_Factory(t) { return new (t || IgoAppMeasurerToolModule)(); };
4370
4199
  IgoAppMeasurerToolModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: IgoAppMeasurerToolModule });
4371
- IgoAppMeasurerToolModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [[
4372
- IgoMeasurerModule
4373
- ]] });
4200
+ IgoAppMeasurerToolModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [IgoMeasurerModule] });
4374
4201
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IgoAppMeasurerToolModule, [{
4375
4202
  type: NgModule,
4376
4203
  args: [{
@@ -4388,7 +4215,7 @@ class IgoAppMeasureModule {
4388
4215
  }
4389
4216
  IgoAppMeasureModule.ɵfac = function IgoAppMeasureModule_Factory(t) { return new (t || IgoAppMeasureModule)(); };
4390
4217
  IgoAppMeasureModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: IgoAppMeasureModule });
4391
- IgoAppMeasureModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [[], IgoAppMeasurerToolModule] });
4218
+ IgoAppMeasureModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [IgoAppMeasurerToolModule] });
4392
4219
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IgoAppMeasureModule, [{
4393
4220
  type: NgModule,
4394
4221
  args: [{
@@ -4414,7 +4241,7 @@ PrintToolComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PrintToo
4414
4241
  i0.ɵɵelement(0, "igo-print", 0);
4415
4242
  } if (rf & 2) {
4416
4243
  i0.ɵɵproperty("map", ctx.map);
4417
- } }, directives: [i1$1.PrintComponent], encapsulation: 2 });
4244
+ } }, dependencies: [i1$1.PrintComponent], encapsulation: 2 });
4418
4245
  PrintToolComponent = __decorate([
4419
4246
  ToolComponent({
4420
4247
  name: 'print',
@@ -4424,10 +4251,7 @@ PrintToolComponent = __decorate([
4424
4251
  ], PrintToolComponent);
4425
4252
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PrintToolComponent, [{
4426
4253
  type: Component,
4427
- args: [{
4428
- selector: 'igo-print-tool',
4429
- templateUrl: './print-tool.component.html'
4430
- }]
4254
+ args: [{ selector: 'igo-print-tool', template: "<igo-print [map]=\"map\"></igo-print>\r\n" }]
4431
4255
  }], function () { return [{ type: MapState }]; }, null); })();
4432
4256
 
4433
4257
  class IgoAppPrintModule {
@@ -4440,7 +4264,7 @@ class IgoAppPrintModule {
4440
4264
  }
4441
4265
  IgoAppPrintModule.ɵfac = function IgoAppPrintModule_Factory(t) { return new (t || IgoAppPrintModule)(); };
4442
4266
  IgoAppPrintModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: IgoAppPrintModule });
4443
- IgoAppPrintModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [[IgoPrintModule]] });
4267
+ IgoAppPrintModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [IgoPrintModule] });
4444
4268
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IgoAppPrintModule, [{
4445
4269
  type: NgModule,
4446
4270
  args: [{
@@ -4617,7 +4441,7 @@ class IgoAppSearchBarModule {
4617
4441
  }
4618
4442
  IgoAppSearchBarModule.ɵfac = function IgoAppSearchBarModule_Factory(t) { return new (t || IgoAppSearchBarModule)(); };
4619
4443
  IgoAppSearchBarModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: IgoAppSearchBarModule });
4620
- IgoAppSearchBarModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [[IgoSearchModule]] });
4444
+ IgoAppSearchBarModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [IgoSearchModule] });
4621
4445
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IgoAppSearchBarModule, [{
4622
4446
  type: NgModule,
4623
4447
  args: [{
@@ -4629,25 +4453,18 @@ IgoAppSearchBarModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [[I
4629
4453
  (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(IgoAppSearchBarModule, { declarations: [SearchBarBindingDirective], imports: [IgoSearchModule], exports: [SearchBarBindingDirective] }); })();
4630
4454
 
4631
4455
  function SearchResultsToolComponent_div_0_Template(rf, ctx) { if (rf & 1) {
4632
- i0.ɵɵelementStart(0, "div", 2);
4633
- i0.ɵɵelementStart(1, "section", 3);
4634
- i0.ɵɵelementStart(2, "h4");
4635
- i0.ɵɵelementStart(3, "strong");
4456
+ i0.ɵɵelementStart(0, "div", 2)(1, "section", 3)(2, "h4")(3, "strong");
4636
4457
  i0.ɵɵtext(4);
4637
4458
  i0.ɵɵpipe(5, "translate");
4638
- i0.ɵɵelementEnd();
4639
- i0.ɵɵelementEnd();
4640
- i0.ɵɵelementStart(6, "p");
4641
- i0.ɵɵelementStart(7, "strong");
4459
+ i0.ɵɵelementEnd()();
4460
+ i0.ɵɵelementStart(6, "p")(7, "strong");
4642
4461
  i0.ɵɵtext(8);
4643
4462
  i0.ɵɵpipe(9, "translate");
4644
- i0.ɵɵelementEnd();
4645
- i0.ɵɵelementEnd();
4463
+ i0.ɵɵelementEnd()();
4646
4464
  i0.ɵɵelement(10, "div", 4);
4647
4465
  i0.ɵɵpipe(11, "sanitizeHtml");
4648
4466
  i0.ɵɵpipe(12, "translate");
4649
- i0.ɵɵelementEnd();
4650
- i0.ɵɵelementEnd();
4467
+ i0.ɵɵelementEnd()();
4651
4468
  } if (rf & 2) {
4652
4469
  i0.ɵɵadvance(4);
4653
4470
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(5, 3, "igo.integration.searchResultsTool.noResults"));
@@ -4666,7 +4483,7 @@ function SearchResultsToolComponent_igo_flexible_2_ng_template_5_Template(rf, ct
4666
4483
  function SearchResultsToolComponent_igo_flexible_2_igo_panel_8_button_4_Template(rf, ctx) { if (rf & 1) {
4667
4484
  const _r9 = i0.ɵɵgetCurrentView();
4668
4485
  i0.ɵɵelementStart(0, "button", 18);
4669
- i0.ɵɵlistener("click", function SearchResultsToolComponent_igo_flexible_2_igo_panel_8_button_4_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r9); const ctx_r8 = i0.ɵɵnextContext(3); return ctx_r8.zoomToFeatureExtent(); });
4486
+ i0.ɵɵlistener("click", function SearchResultsToolComponent_igo_flexible_2_igo_panel_8_button_4_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r9); const ctx_r8 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r8.zoomToFeatureExtent()); });
4670
4487
  i0.ɵɵpipe(1, "translate");
4671
4488
  i0.ɵɵpipe(2, "async");
4672
4489
  i0.ɵɵelement(3, "mat-icon", 19);
@@ -4681,18 +4498,16 @@ function SearchResultsToolComponent_igo_flexible_2_igo_panel_8_button_4_Template
4681
4498
  } }
4682
4499
  function SearchResultsToolComponent_igo_flexible_2_igo_panel_8_Template(rf, ctx) { if (rf & 1) {
4683
4500
  const _r11 = i0.ɵɵgetCurrentView();
4684
- i0.ɵɵelementStart(0, "igo-panel", 13);
4685
- i0.ɵɵelementStart(1, "button", 14);
4686
- i0.ɵɵlistener("click", function SearchResultsToolComponent_igo_flexible_2_igo_panel_8_Template_button_click_1_listener() { i0.ɵɵrestoreView(_r11); const ctx_r10 = i0.ɵɵnextContext(2); return ctx_r10.toggleTopPanel(); });
4501
+ i0.ɵɵelementStart(0, "igo-panel", 13)(1, "button", 14);
4502
+ i0.ɵɵlistener("click", function SearchResultsToolComponent_igo_flexible_2_igo_panel_8_Template_button_click_1_listener() { i0.ɵɵrestoreView(_r11); const ctx_r10 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r10.toggleTopPanel()); });
4687
4503
  i0.ɵɵelement(2, "mat-icon", 15);
4688
4504
  i0.ɵɵpipe(3, "async");
4689
4505
  i0.ɵɵelementEnd();
4690
4506
  i0.ɵɵtemplate(4, SearchResultsToolComponent_igo_flexible_2_igo_panel_8_button_4_Template, 6, 11, "button", 16);
4691
4507
  i0.ɵɵelementStart(5, "igo-feature-details", 17);
4692
- i0.ɵɵlistener("routingEvent", function SearchResultsToolComponent_igo_flexible_2_igo_panel_8_Template_igo_feature_details_routingEvent_5_listener() { i0.ɵɵrestoreView(_r11); const ctx_r12 = i0.ɵɵnextContext(2); return ctx_r12.getRoute(); });
4508
+ i0.ɵɵlistener("routingEvent", function SearchResultsToolComponent_igo_flexible_2_igo_panel_8_Template_igo_feature_details_routingEvent_5_listener() { i0.ɵɵrestoreView(_r11); const ctx_r12 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r12.getRoute()); });
4693
4509
  i0.ɵɵpipe(6, "async");
4694
- i0.ɵɵelementEnd();
4695
- i0.ɵɵelementEnd();
4510
+ i0.ɵɵelementEnd()();
4696
4511
  } if (rf & 2) {
4697
4512
  const ctx_r5 = i0.ɵɵnextContext(2);
4698
4513
  i0.ɵɵproperty("title", ctx_r5.featureTitle);
@@ -4707,17 +4522,14 @@ function SearchResultsToolComponent_igo_flexible_2_Template(rf, ctx) { if (rf &
4707
4522
  const _r14 = i0.ɵɵgetCurrentView();
4708
4523
  i0.ɵɵelementStart(0, "igo-flexible", 5, 6);
4709
4524
  i0.ɵɵpipe(2, "async");
4710
- i0.ɵɵelementStart(3, "div", 7);
4711
- i0.ɵɵelementStart(4, "igo-search-results", 8);
4712
- i0.ɵɵlistener("resultFocus", function SearchResultsToolComponent_igo_flexible_2_Template_igo_search_results_resultFocus_4_listener($event) { i0.ɵɵrestoreView(_r14); const ctx_r13 = i0.ɵɵnextContext(); return ctx_r13.onResultFocus($event); })("resultSelect", function SearchResultsToolComponent_igo_flexible_2_Template_igo_search_results_resultSelect_4_listener($event) { i0.ɵɵrestoreView(_r14); const ctx_r15 = i0.ɵɵnextContext(); return ctx_r15.onResultSelect($event); })("resultUnfocus", function SearchResultsToolComponent_igo_flexible_2_Template_igo_search_results_resultUnfocus_4_listener($event) { i0.ɵɵrestoreView(_r14); const ctx_r16 = i0.ɵɵnextContext(); return ctx_r16.onResultUnfocus($event); })("resultMouseenter", function SearchResultsToolComponent_igo_flexible_2_Template_igo_search_results_resultMouseenter_4_listener($event) { i0.ɵɵrestoreView(_r14); const ctx_r17 = i0.ɵɵnextContext(); return ctx_r17.onResultFocus($event); })("resultMouseleave", function SearchResultsToolComponent_igo_flexible_2_Template_igo_search_results_resultMouseleave_4_listener($event) { i0.ɵɵrestoreView(_r14); const ctx_r18 = i0.ɵɵnextContext(); return ctx_r18.onResultUnfocus($event); })("moreResults", function SearchResultsToolComponent_igo_flexible_2_Template_igo_search_results_moreResults_4_listener($event) { i0.ɵɵrestoreView(_r14); const ctx_r19 = i0.ɵɵnextContext(); return ctx_r19.onSearch($event); });
4525
+ i0.ɵɵelementStart(3, "div", 7)(4, "igo-search-results", 8);
4526
+ i0.ɵɵlistener("resultFocus", function SearchResultsToolComponent_igo_flexible_2_Template_igo_search_results_resultFocus_4_listener($event) { i0.ɵɵrestoreView(_r14); const ctx_r13 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r13.onResultFocus($event)); })("resultSelect", function SearchResultsToolComponent_igo_flexible_2_Template_igo_search_results_resultSelect_4_listener($event) { i0.ɵɵrestoreView(_r14); const ctx_r15 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r15.onResultSelect($event)); })("resultUnfocus", function SearchResultsToolComponent_igo_flexible_2_Template_igo_search_results_resultUnfocus_4_listener($event) { i0.ɵɵrestoreView(_r14); const ctx_r16 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r16.onResultUnfocus($event)); })("resultMouseenter", function SearchResultsToolComponent_igo_flexible_2_Template_igo_search_results_resultMouseenter_4_listener($event) { i0.ɵɵrestoreView(_r14); const ctx_r17 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r17.onResultFocus($event)); })("resultMouseleave", function SearchResultsToolComponent_igo_flexible_2_Template_igo_search_results_resultMouseleave_4_listener($event) { i0.ɵɵrestoreView(_r14); const ctx_r18 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r18.onResultUnfocus($event)); })("moreResults", function SearchResultsToolComponent_igo_flexible_2_Template_igo_search_results_moreResults_4_listener($event) { i0.ɵɵrestoreView(_r14); const ctx_r19 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r19.onSearch($event)); });
4713
4527
  i0.ɵɵtemplate(5, SearchResultsToolComponent_igo_flexible_2_ng_template_5_Template, 1, 2, "ng-template", null, 9, i0.ɵɵtemplateRefExtractor);
4714
- i0.ɵɵelementEnd();
4715
- i0.ɵɵelementEnd();
4528
+ i0.ɵɵelementEnd()();
4716
4529
  i0.ɵɵelementStart(7, "div", 10);
4717
4530
  i0.ɵɵtemplate(8, SearchResultsToolComponent_igo_flexible_2_igo_panel_8_Template, 7, 10, "igo-panel", 11);
4718
4531
  i0.ɵɵpipe(9, "async");
4719
- i0.ɵɵelementEnd();
4720
- i0.ɵɵelementEnd();
4532
+ i0.ɵɵelementEnd()();
4721
4533
  } if (rf & 2) {
4722
4534
  const ctx_r1 = i0.ɵɵnextContext();
4723
4535
  i0.ɵɵproperty("state", i0.ɵɵpipeBind1(2, 7, ctx_r1.feature$) ? ctx_r1.topPanelState : "initial");
@@ -4850,10 +4662,9 @@ let SearchResultsToolComponent = class SearchResultsToolComponent {
4850
4662
  !result.state.selected &&
4851
4663
  !result.state.focused);
4852
4664
  featureToHandleGeom.map(result => {
4853
- var _a;
4854
4665
  if (searchResultsGeometryEnabled) {
4855
4666
  result.entity.data.meta.style =
4856
- getCommonVectorStyle(Object.assign({}, { feature: result.entity.data }, this.searchState.searchOverlayStyle, ((_a = result.entity.style) === null || _a === void 0 ? void 0 : _a.base) ? result.entity.style.base : {}));
4667
+ getCommonVectorStyle(Object.assign({}, { feature: result.entity.data }, this.searchState.searchOverlayStyle, result.entity.style?.base ? result.entity.style.base : {}));
4857
4668
  this.shownResultsGeometries.push(result.entity.data);
4858
4669
  this.map.queryResultsOverlay.addFeature(result.entity.data, FeatureMotion.None);
4859
4670
  if (this.hasFeatureEmphasisOnSelection) {
@@ -4886,7 +4697,6 @@ let SearchResultsToolComponent = class SearchResultsToolComponent {
4886
4697
  });
4887
4698
  }
4888
4699
  buildResultEmphasis(result, trigger) {
4889
- var _a, _b, _c;
4890
4700
  if (trigger !== 'shown') {
4891
4701
  this.clearFeatureEmphasis(trigger);
4892
4702
  }
@@ -4908,14 +4718,14 @@ let SearchResultsToolComponent = class SearchResultsToolComponent {
4908
4718
  let zIndexOffset = 0;
4909
4719
  switch (trigger) {
4910
4720
  case 'focused':
4911
- computedStyle = getCommonVectorSelectedStyle(Object.assign({}, { feature: abstractResult }, this.searchState.searchOverlayStyleFocus, ((_a = result.style) === null || _a === void 0 ? void 0 : _a.focus) ? result.style.focus : {}));
4721
+ computedStyle = getCommonVectorSelectedStyle(Object.assign({}, { feature: abstractResult }, this.searchState.searchOverlayStyleFocus, result.style?.focus ? result.style.focus : {}));
4912
4722
  zIndexOffset = 2;
4913
4723
  break;
4914
4724
  case 'shown':
4915
- computedStyle = getCommonVectorStyle(Object.assign({}, { feature: abstractResult }, this.searchState.searchOverlayStyle, ((_b = result.style) === null || _b === void 0 ? void 0 : _b.base) ? result.style.base : {}));
4725
+ computedStyle = getCommonVectorStyle(Object.assign({}, { feature: abstractResult }, this.searchState.searchOverlayStyle, result.style?.base ? result.style.base : {}));
4916
4726
  break;
4917
4727
  case 'selected':
4918
- computedStyle = getCommonVectorSelectedStyle(Object.assign({}, { feature: abstractResult }, this.searchState.searchOverlayStyleSelection, ((_c = result.style) === null || _c === void 0 ? void 0 : _c.selection) ? result.style.selection : {}));
4728
+ computedStyle = getCommonVectorSelectedStyle(Object.assign({}, { feature: abstractResult }, this.searchState.searchOverlayStyleSelection, result.style?.selection ? result.style.selection : {}));
4919
4729
  zIndexOffset = 1;
4920
4730
  break;
4921
4731
  }
@@ -4972,10 +4782,9 @@ let SearchResultsToolComponent = class SearchResultsToolComponent {
4972
4782
  * @param result A search result that could be a feature
4973
4783
  */
4974
4784
  onResultFocus(result) {
4975
- var _a;
4976
4785
  this.focusedResult$.next(result);
4977
4786
  if (result.meta.dataType === FEATURE && result.data.geometry) {
4978
- result.data.meta.style = getCommonVectorSelectedStyle(Object.assign({}, { feature: result.data }, this.searchState.searchOverlayStyleFocus, ((_a = result.style) === null || _a === void 0 ? void 0 : _a.focus) ? result.style.focus : {}));
4787
+ result.data.meta.style = getCommonVectorSelectedStyle(Object.assign({}, { feature: result.data }, this.searchState.searchOverlayStyleFocus, result.style?.focus ? result.style.focus : {}));
4979
4788
  const feature = this.map.searchResultsOverlay.dataSource.ol.getFeatureById(result.meta.id);
4980
4789
  if (feature) {
4981
4790
  feature.setStyle(result.data.meta.style);
@@ -4985,7 +4794,6 @@ let SearchResultsToolComponent = class SearchResultsToolComponent {
4985
4794
  }
4986
4795
  }
4987
4796
  onResultUnfocus(result) {
4988
- var _a;
4989
4797
  this.focusedResult$.next(undefined);
4990
4798
  if (result.meta.dataType !== FEATURE) {
4991
4799
  return;
@@ -4993,7 +4801,7 @@ let SearchResultsToolComponent = class SearchResultsToolComponent {
4993
4801
  if (this.store.state.get(result).selected === true) {
4994
4802
  const feature = this.map.searchResultsOverlay.dataSource.ol.getFeatureById(result.meta.id);
4995
4803
  if (feature) {
4996
- const style = getCommonVectorSelectedStyle(Object.assign({}, { feature: result.data }, this.searchState.searchOverlayStyleFocus, ((_a = result.style) === null || _a === void 0 ? void 0 : _a.focus) ? result.style.focus : {}));
4804
+ const style = getCommonVectorSelectedStyle(Object.assign({}, { feature: result.data }, this.searchState.searchOverlayStyleFocus, result.style?.focus ? result.style.focus : {}));
4997
4805
  feature.setStyle(style);
4998
4806
  }
4999
4807
  return;
@@ -5108,7 +4916,6 @@ let SearchResultsToolComponent = class SearchResultsToolComponent {
5108
4916
  * @param result A search result that could be a feature
5109
4917
  */
5110
4918
  tryAddFeatureToMap(result) {
5111
- var _a;
5112
4919
  if (result.meta.dataType !== FEATURE) {
5113
4920
  return undefined;
5114
4921
  }
@@ -5117,7 +4924,7 @@ let SearchResultsToolComponent = class SearchResultsToolComponent {
5117
4924
  if (!feature.geometry) {
5118
4925
  return;
5119
4926
  }
5120
- feature.meta.style = getCommonVectorSelectedStyle(Object.assign({}, { feature }, this.searchState.searchOverlayStyleSelection, ((_a = result.style) === null || _a === void 0 ? void 0 : _a.selection) ? result.style.selection : {}));
4927
+ feature.meta.style = getCommonVectorSelectedStyle(Object.assign({}, { feature }, this.searchState.searchOverlayStyleSelection, result.style?.selection ? result.style.selection : {}));
5121
4928
  this.map.searchResultsOverlay.addFeature(feature);
5122
4929
  }
5123
4930
  isScrolledIntoView(elemSource, elem) {
@@ -5177,7 +4984,7 @@ SearchResultsToolComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type:
5177
4984
  i0.ɵɵproperty("ngIf", (!ctx.store || ctx.store.stateView.empty) && i0.ɵɵpipeBind1(1, 2, ctx.debouncedEmpty$));
5178
4985
  i0.ɵɵadvance(2);
5179
4986
  i0.ɵɵproperty("ngIf", ctx.store && i0.ɵɵpipeBind1(3, 4, ctx.store.stateView.empty$) === false);
5180
- } }, directives: [i5.NgIf, i4.FlexibleComponent, i1$1.SearchResultsComponent, i1$1.SearchResultAddButtonComponent, i4.PanelComponent, i3.MatButton, i6.MatIcon, i1$1.FeatureDetailsComponent, i1$1.FeatureDetailsDirective, i4$1.MatTooltip, i12.MatBadge], pipes: [i5.AsyncPipe, i8.TranslatePipe, i4.SanitizeHtmlPipe], encapsulation: 2, changeDetection: 0 });
4987
+ } }, dependencies: [i6.NgIf, i7.MatIcon, i8$2.MatBadge, i5.MatTooltip, i10.MatButton, i1$1.FeatureDetailsComponent, i1$1.FeatureDetailsDirective, i1$1.SearchResultsComponent, i1$1.SearchResultAddButtonComponent, i4.FlexibleComponent, i4.PanelComponent, i6.AsyncPipe, i8.TranslatePipe, i4.SanitizeHtmlPipe], encapsulation: 2, changeDetection: 0 });
5181
4988
  SearchResultsToolComponent = __decorate([
5182
4989
  ToolComponent({
5183
4990
  name: 'searchResults',
@@ -5187,11 +4994,7 @@ SearchResultsToolComponent = __decorate([
5187
4994
  ], SearchResultsToolComponent);
5188
4995
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SearchResultsToolComponent, [{
5189
4996
  type: Component,
5190
- args: [{
5191
- selector: 'igo-search-results-tool',
5192
- templateUrl: './search-results-tool.component.html',
5193
- changeDetection: ChangeDetectionStrategy.OnPush
5194
- }]
4997
+ args: [{ selector: 'igo-search-results-tool', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div *ngIf=\"(!store || store.stateView.empty) && (debouncedEmpty$ | async) \" style=\"margin: 10px;\">\r\n <section class=\"mat-typography\">\r\n <h4><strong>{{ 'igo.integration.searchResultsTool.noResults' | translate }}</strong></h4>\r\n <p><strong>{{ 'igo.integration.searchResultsTool.doSearch' | translate }}</strong></p>\r\n <div [innerHTML]=\"'igo.integration.searchResultsTool.examples' | translate | sanitizeHtml\"></div>\r\n</section>\r\n</div>\r\n\r\n<igo-flexible\r\n *ngIf=\"store && (store.stateView.empty$ | async)===false\"\r\n #topPanel\r\n initial=\"100%\"\r\n initialMobile=\"100%\"\r\n collapsed=\"calc(100% - 58px)\"\r\n collapsedMobile=\"calc(100% - 58px)\"\r\n expanded=\"60%\"\r\n expandedMobile=\"60%\"\r\n [state]=\"(feature$ |\u00A0async) ? topPanelState : 'initial'\">\r\n\r\n <div class=\"igo-content\">\r\n <igo-search-results\r\n [store]=\"store\"\r\n [showIcons]=\"showIcons\"\r\n [term]=\"term\"\r\n [termSplitter]=\"termSplitter\"\r\n [settingsChange$]=\"settingsChange$\"\r\n placeholder=\"false\"\r\n (resultFocus)=\"onResultFocus($event)\"\r\n (resultSelect)=\"onResultSelect($event)\"\r\n (resultUnfocus)=\"onResultUnfocus($event)\"\r\n (resultMouseenter)=\"onResultFocus($event)\"\r\n (resultMouseleave)=\"onResultUnfocus($event)\"\r\n (moreResults)=\"onSearch($event)\">\r\n <ng-template #igoSearchItemToolbar let-result=\"result\">\r\n <igo-search-add-button\r\n [map]=\"map\"\r\n [layer]=\"result\">\r\n </igo-search-add-button>\r\n </ng-template>\r\n </igo-search-results>\r\n </div>\r\n\r\n <div igoFlexibleFill class=\"igo-content\">\r\n <igo-panel [title]=\"featureTitle\" *ngIf=\"feature$ |\u00A0async\">\r\n\r\n <button\r\n mat-icon-button\r\n panelLeftButton\r\n class=\"igo-icon-button\"\r\n (click)=\"toggleTopPanel()\">\r\n <mat-icon [svgIcon]=\"(topPanelState$ | async) === 'collapsed' ? 'arrow-up' : 'arrow-down'\"></mat-icon>\r\n </button>\r\n\r\n <button\r\n *ngIf=\"feature.geometry\"\r\n mat-icon-button\r\n panelRightButton\r\n class=\"igo-icon-button\"\r\n [matTooltip]=\"((isSelectedResultOutOfView$ | async) ? 'igo.integration.searchResultsTool.zoomOnFeatureTooltipOutOfView' : 'igo.integration.searchResultsTool.zoomOnFeatureTooltip') | translate\"\r\n matTooltipShowDelay=\"500\"\r\n (click)=\"zoomToFeatureExtent()\">\r\n <mat-icon\r\n [matBadge]=\"(isSelectedResultOutOfView$ | async) ? '!' : ''\"\r\n matBadgeColor=\"accent\"\r\n matBadgeSize=\"small\"\r\n [matBadgeHidden]=\"(isSelectedResultOutOfView$ | async)===false\" \r\n svgIcon=\"magnify-plus-outline\"></mat-icon>\r\n </button>\r\n\r\n <igo-feature-details\r\n igoFeatureDetailsDirective\r\n [feature]=\"feature$ | async\"\r\n [map]=\"map\"\r\n [toolbox]=\"toolState.toolbox\"\r\n (routingEvent)=\"getRoute()\">\r\n </igo-feature-details>\r\n </igo-panel>\r\n </div>\r\n\r\n</igo-flexible>\r\n" }]
5195
4998
  }], function () { return [{ type: MapState }, { type: SearchState }, { type: i0.ElementRef }, { type: ToolState }, { type: DirectionState }, { type: i2.ConfigService }]; }, { showIcons: [{
5196
4999
  type: Input
5197
5000
  }], topPanelStateDefault: [{
@@ -5207,20 +5010,18 @@ class IgoAppSearchResultsToolModule {
5207
5010
  }
5208
5011
  IgoAppSearchResultsToolModule.ɵfac = function IgoAppSearchResultsToolModule_Factory(t) { return new (t || IgoAppSearchResultsToolModule)(); };
5209
5012
  IgoAppSearchResultsToolModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: IgoAppSearchResultsToolModule });
5210
- IgoAppSearchResultsToolModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [[
5211
- CommonModule,
5212
- MatIconModule,
5213
- MatBadgeModule,
5214
- MatTooltipModule,
5215
- MatButtonModule,
5216
- IgoLanguageModule,
5217
- IgoFeatureModule,
5218
- IgoSearchModule,
5219
- IgoFlexibleModule,
5220
- IgoPanelModule,
5221
- IgoFeatureDetailsModule,
5222
- IgoCustomHtmlModule
5223
- ]] });
5013
+ IgoAppSearchResultsToolModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule,
5014
+ MatIconModule,
5015
+ MatBadgeModule,
5016
+ MatTooltipModule,
5017
+ MatButtonModule,
5018
+ IgoLanguageModule,
5019
+ IgoFeatureModule,
5020
+ IgoSearchModule,
5021
+ IgoFlexibleModule,
5022
+ IgoPanelModule,
5023
+ IgoFeatureDetailsModule,
5024
+ IgoCustomHtmlModule] });
5224
5025
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IgoAppSearchResultsToolModule, [{
5225
5026
  type: NgModule,
5226
5027
  args: [{
@@ -5260,7 +5061,7 @@ class IgoAppSearchModule {
5260
5061
  }
5261
5062
  IgoAppSearchModule.ɵfac = function IgoAppSearchModule_Factory(t) { return new (t || IgoAppSearchModule)(); };
5262
5063
  IgoAppSearchModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: IgoAppSearchModule });
5263
- IgoAppSearchModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [[], IgoAppSearchBarModule,
5064
+ IgoAppSearchModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [IgoAppSearchBarModule,
5264
5065
  IgoAppSearchResultsToolModule] });
5265
5066
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IgoAppSearchModule, [{
5266
5067
  type: NgModule,
@@ -5282,7 +5083,7 @@ let OgcFilterToolComponent = class OgcFilterToolComponent {
5282
5083
  OgcFilterToolComponent.ɵfac = function OgcFilterToolComponent_Factory(t) { return new (t || OgcFilterToolComponent)(); };
5283
5084
  OgcFilterToolComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: OgcFilterToolComponent, selectors: [["igo-ogc-filter-tool"]], decls: 1, vars: 0, consts: [["igoOgcFilterableListBinding", ""]], template: function OgcFilterToolComponent_Template(rf, ctx) { if (rf & 1) {
5284
5085
  i0.ɵɵelement(0, "igo-ogc-filterable-list", 0);
5285
- } }, directives: [i1$1.OgcFilterableListComponent, i1$1.OgcFilterableListBindingDirective], encapsulation: 2 });
5086
+ } }, dependencies: [i1$1.OgcFilterableListComponent, i1$1.OgcFilterableListBindingDirective], encapsulation: 2 });
5286
5087
  OgcFilterToolComponent = __decorate([
5287
5088
  ToolComponent({
5288
5089
  name: 'ogcFilter',
@@ -5292,10 +5093,7 @@ OgcFilterToolComponent = __decorate([
5292
5093
  ], OgcFilterToolComponent);
5293
5094
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(OgcFilterToolComponent, [{
5294
5095
  type: Component,
5295
- args: [{
5296
- selector: 'igo-ogc-filter-tool',
5297
- templateUrl: './ogc-filter-tool.component.html'
5298
- }]
5096
+ args: [{ selector: 'igo-ogc-filter-tool', template: "<igo-ogc-filterable-list igoOgcFilterableListBinding></igo-ogc-filterable-list>\r\n\r\n\r\n" }]
5299
5097
  }], function () { return []; }, null); })();
5300
5098
 
5301
5099
  let TimeFilterToolComponent = class TimeFilterToolComponent {
@@ -5304,7 +5102,7 @@ let TimeFilterToolComponent = class TimeFilterToolComponent {
5304
5102
  TimeFilterToolComponent.ɵfac = function TimeFilterToolComponent_Factory(t) { return new (t || TimeFilterToolComponent)(); };
5305
5103
  TimeFilterToolComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TimeFilterToolComponent, selectors: [["igo-time-filter-tool"]], decls: 1, vars: 0, consts: [["igoTimeFilterListBinding", ""]], template: function TimeFilterToolComponent_Template(rf, ctx) { if (rf & 1) {
5306
5104
  i0.ɵɵelement(0, "igo-time-filter-list", 0);
5307
- } }, directives: [i1$1.TimeFilterListComponent, i1$1.TimeFilterListBindingDirective], encapsulation: 2 });
5105
+ } }, dependencies: [i1$1.TimeFilterListComponent, i1$1.TimeFilterListBindingDirective], encapsulation: 2 });
5308
5106
  TimeFilterToolComponent = __decorate([
5309
5107
  ToolComponent({
5310
5108
  name: 'timeFilter',
@@ -5314,10 +5112,7 @@ TimeFilterToolComponent = __decorate([
5314
5112
  ], TimeFilterToolComponent);
5315
5113
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TimeFilterToolComponent, [{
5316
5114
  type: Component,
5317
- args: [{
5318
- selector: 'igo-time-filter-tool',
5319
- templateUrl: './time-filter-tool.component.html'
5320
- }]
5115
+ args: [{ selector: 'igo-time-filter-tool', template: "<igo-time-filter-list igoTimeFilterListBinding></igo-time-filter-list>\r\n" }]
5321
5116
  }], function () { return []; }, null); })();
5322
5117
 
5323
5118
  function SpatialFilterToolComponent_ng_container_4_Template(rf, ctx) { if (rf & 1) {
@@ -5551,7 +5346,6 @@ let SpatialFilterToolComponent = class SpatialFilterToolComponent {
5551
5346
  * Try to add zone feature to the map overlay
5552
5347
  */
5553
5348
  tryAddFeaturesToMap(features, buffer) {
5554
- var _a, _b, _c, _d;
5555
5349
  let i = 1;
5556
5350
  for (const feature of features) {
5557
5351
  if (this.type === SpatialFilterType.Predefined) {
@@ -5559,13 +5353,13 @@ let SpatialFilterToolComponent = class SpatialFilterToolComponent {
5559
5353
  if (layer.options._internal &&
5560
5354
  layer.options._internal.code === feature.properties.code &&
5561
5355
  !buffer) {
5562
- if (!((_a = layer.title) === null || _a === void 0 ? void 0 : _a.startsWith('Zone'))) {
5356
+ if (!layer.title?.startsWith('Zone')) {
5563
5357
  const index = this.layers.indexOf(layer);
5564
5358
  this.layers.splice(index, 1);
5565
5359
  }
5566
5360
  return;
5567
5361
  }
5568
- if ((_b = layer.title) === null || _b === void 0 ? void 0 : _b.startsWith('Zone')) {
5362
+ if (layer.title?.startsWith('Zone')) {
5569
5363
  this.activeLayers = [];
5570
5364
  const index = this.layers.indexOf(layer);
5571
5365
  this.layers.splice(index, 1);
@@ -5576,7 +5370,7 @@ let SpatialFilterToolComponent = class SpatialFilterToolComponent {
5576
5370
  else {
5577
5371
  if (buffer) {
5578
5372
  for (const layer of this.activeLayers) {
5579
- if (this.activeLayers.length === 1 && ((_c = layer.title) === null || _c === void 0 ? void 0 : _c.startsWith('Zone'))) {
5373
+ if (this.activeLayers.length === 1 && layer.title?.startsWith('Zone')) {
5580
5374
  const index = this.layers.indexOf(layer);
5581
5375
  this.layers.splice(index, 1);
5582
5376
  this.map.removeLayer(layer);
@@ -5586,10 +5380,36 @@ let SpatialFilterToolComponent = class SpatialFilterToolComponent {
5586
5380
  this.activeLayers = [];
5587
5381
  }
5588
5382
  for (const layer of this.layers) {
5589
- if ((_d = layer.title) === null || _d === void 0 ? void 0 : _d.startsWith('Zone')) {
5383
+ if (layer.title?.startsWith('Zone')) {
5590
5384
  i++;
5591
5385
  }
5592
5386
  }
5387
+ this.defaultStyle = (_feature, resolution) => {
5388
+ const coordinates = features[0].coordinates;
5389
+ return new olstyle.Style({
5390
+ image: new olstyle.Circle({
5391
+ radius: coordinates
5392
+ ? this.buffer /
5393
+ Math.cos((Math.PI / 180) * coordinates[1]) /
5394
+ resolution
5395
+ : undefined,
5396
+ fill: new olstyle.Fill({
5397
+ color: 'rgba(200, 200, 20, 0.2)'
5398
+ }),
5399
+ stroke: new olstyle.Stroke({
5400
+ width: 1,
5401
+ color: 'orange'
5402
+ })
5403
+ }),
5404
+ stroke: new olstyle.Stroke({
5405
+ width: 1,
5406
+ color: 'orange'
5407
+ }),
5408
+ fill: new olstyle.Fill({
5409
+ color: 'rgba(200, 200, 20, 0.2)'
5410
+ })
5411
+ });
5412
+ };
5593
5413
  this.dataSourceService
5594
5414
  .createAsyncDataSource({
5595
5415
  type: 'vector',
@@ -5607,33 +5427,7 @@ let SpatialFilterToolComponent = class SpatialFilterToolComponent {
5607
5427
  : undefined
5608
5428
  },
5609
5429
  source: dataSource,
5610
- visible: true,
5611
- style: (_feature, resolution) => {
5612
- const coordinates = features[0].coordinates;
5613
- return new olstyle.Style({
5614
- image: new olstyle.Circle({
5615
- radius: coordinates
5616
- ? this.buffer /
5617
- Math.cos((Math.PI / 180) * coordinates[1]) /
5618
- resolution
5619
- : undefined,
5620
- fill: new olstyle.Fill({
5621
- color: 'rgba(200, 200, 20, 0.2)'
5622
- }),
5623
- stroke: new olstyle.Stroke({
5624
- width: 1,
5625
- color: 'orange'
5626
- })
5627
- }),
5628
- stroke: new olstyle.Stroke({
5629
- width: 1,
5630
- color: 'orange'
5631
- }),
5632
- fill: new olstyle.Fill({
5633
- color: 'rgba(200, 200, 20, 0.2)'
5634
- })
5635
- });
5636
- }
5430
+ visible: true
5637
5431
  });
5638
5432
  const featuresOl = features.map(f => {
5639
5433
  return featureToOl(f, this.map.projection);
@@ -5645,6 +5439,7 @@ let SpatialFilterToolComponent = class SpatialFilterToolComponent {
5645
5439
  }
5646
5440
  const ol = dataSource.ol;
5647
5441
  ol.addFeatures(featuresOl);
5442
+ olLayer.ol.setStyle(this.defaultStyle);
5648
5443
  this.map.addLayer(olLayer);
5649
5444
  this.layers.push(olLayer);
5650
5445
  this.activeLayers.push(olLayer);
@@ -5657,14 +5452,13 @@ let SpatialFilterToolComponent = class SpatialFilterToolComponent {
5657
5452
  * Necessary to create clusters
5658
5453
  */
5659
5454
  tryAddPointToMap(features, id) {
5660
- var _a;
5661
5455
  let i = 1;
5662
5456
  if (features.length) {
5663
5457
  if (this.map === undefined) {
5664
5458
  return;
5665
5459
  }
5666
5460
  for (const layer of this.layers) {
5667
- if ((_a = layer.title) === null || _a === void 0 ? void 0 : _a.startsWith(features[0].meta.title)) {
5461
+ if (layer.title?.startsWith(features[0].meta.title)) {
5668
5462
  i++;
5669
5463
  }
5670
5464
  }
@@ -5735,14 +5529,13 @@ let SpatialFilterToolComponent = class SpatialFilterToolComponent {
5735
5529
  * Try to add line or polygon features to the map
5736
5530
  */
5737
5531
  tryAddLayerToMap(features, id) {
5738
- var _a;
5739
5532
  let i = 1;
5740
5533
  if (features.length) {
5741
5534
  if (this.map === undefined) {
5742
5535
  return;
5743
5536
  }
5744
5537
  for (const layer of this.layers) {
5745
- if ((_a = layer.title) === null || _a === void 0 ? void 0 : _a.startsWith(features[0].meta.title)) {
5538
+ if (layer.title?.startsWith(features[0].meta.title)) {
5746
5539
  i++;
5747
5540
  }
5748
5541
  }
@@ -5796,16 +5589,14 @@ let SpatialFilterToolComponent = class SpatialFilterToolComponent {
5796
5589
  this.activeLayers.push(layer);
5797
5590
  }
5798
5591
  };
5799
- SpatialFilterToolComponent.ɵfac = function SpatialFilterToolComponent_Factory(t) { return new (t || SpatialFilterToolComponent)(i0.ɵɵdirectiveInject(i6.MatIconRegistry), i0.ɵɵdirectiveInject(i1$1.SpatialFilterService), i0.ɵɵdirectiveInject(i1$1.DataSourceService), i0.ɵɵdirectiveInject(i1$1.LayerService), i0.ɵɵdirectiveInject(MapState), i0.ɵɵdirectiveInject(i2.MessageService), i0.ɵɵdirectiveInject(i2.LanguageService), i0.ɵɵdirectiveInject(ImportExportState), i0.ɵɵdirectiveInject(ToolState), i0.ɵɵdirectiveInject(WorkspaceState), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
5592
+ SpatialFilterToolComponent.ɵfac = function SpatialFilterToolComponent_Factory(t) { return new (t || SpatialFilterToolComponent)(i0.ɵɵdirectiveInject(i7.MatIconRegistry), i0.ɵɵdirectiveInject(i1$1.SpatialFilterService), i0.ɵɵdirectiveInject(i1$1.DataSourceService), i0.ɵɵdirectiveInject(i1$1.LayerService), i0.ɵɵdirectiveInject(MapState), i0.ɵɵdirectiveInject(i2.MessageService), i0.ɵɵdirectiveInject(i2.LanguageService), i0.ɵɵdirectiveInject(ImportExportState), i0.ɵɵdirectiveInject(ToolState), i0.ɵɵdirectiveInject(WorkspaceState), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
5800
5593
  SpatialFilterToolComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: 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) { if (rf & 1) {
5801
- i0.ɵɵelementStart(0, "igo-panel");
5802
- i0.ɵɵelementStart(1, "igo-spatial-filter-type", 0);
5594
+ i0.ɵɵelementStart(0, "igo-panel")(1, "igo-spatial-filter-type", 0);
5803
5595
  i0.ɵɵlistener("eventType", function SpatialFilterToolComponent_Template_igo_spatial_filter_type_eventType_1_listener($event) { return ctx.getOutputType($event); })("eventQueryType", function SpatialFilterToolComponent_Template_igo_spatial_filter_type_eventQueryType_1_listener($event) { return ctx.getOutputQueryType($event); })("zoneChange", function SpatialFilterToolComponent_Template_igo_spatial_filter_type_zoneChange_1_listener($event) { return ctx.onZoneChange($event); })("zoneWithBufferChange", function SpatialFilterToolComponent_Template_igo_spatial_filter_type_zoneWithBufferChange_1_listener($event) { return ctx.onZoneChange($event, true); })("bufferChange", function SpatialFilterToolComponent_Template_igo_spatial_filter_type_bufferChange_1_listener($event) { return ctx.buffer = $event; })("measureUnitChange", function SpatialFilterToolComponent_Template_igo_spatial_filter_type_measureUnitChange_1_listener($event) { return ctx.measureUnit = $event; });
5804
5596
  i0.ɵɵelementEnd();
5805
5597
  i0.ɵɵelementStart(2, "igo-spatial-filter-item", 1);
5806
5598
  i0.ɵɵlistener("radiusEvent", function SpatialFilterToolComponent_Template_igo_spatial_filter_item_radiusEvent_2_listener($event) { return ctx.buffer = $event; })("bufferEvent", function SpatialFilterToolComponent_Template_igo_spatial_filter_item_bufferEvent_2_listener($event) { return ctx.buffer = $event; })("measureUnitChange", function SpatialFilterToolComponent_Template_igo_spatial_filter_item_measureUnitChange_2_listener($event) { return ctx.measureUnit = $event; })("freehandControl", function SpatialFilterToolComponent_Template_igo_spatial_filter_item_freehandControl_2_listener($event) { return ctx.freehandDrawIsActive = $event; })("drawZoneEvent", function SpatialFilterToolComponent_Template_igo_spatial_filter_item_drawZoneEvent_2_listener($event) { return ctx.zone = $event; })("zoneWithBufferChange", function SpatialFilterToolComponent_Template_igo_spatial_filter_item_zoneWithBufferChange_2_listener($event) { return ctx.onZoneChange($event, true); })("itemTypeChange", function SpatialFilterToolComponent_Template_igo_spatial_filter_item_itemTypeChange_2_listener($event) { return ctx.itemType = $event; })("thematicChange", function SpatialFilterToolComponent_Template_igo_spatial_filter_item_thematicChange_2_listener($event) { return ctx.thematics = $event; })("toggleSearch", function SpatialFilterToolComponent_Template_igo_spatial_filter_item_toggleSearch_2_listener() { return ctx.getOutputToggleSearch(); })("clearButtonEvent", function SpatialFilterToolComponent_Template_igo_spatial_filter_item_clearButtonEvent_2_listener() { return ctx.clearMap(); })("clearSearchEvent", function SpatialFilterToolComponent_Template_igo_spatial_filter_item_clearSearchEvent_2_listener() { return ctx.getOutputClearSearch(); })("export", function SpatialFilterToolComponent_Template_igo_spatial_filter_item_export_2_listener() { return ctx.activateExportTool(); })("openWorkspace", function SpatialFilterToolComponent_Template_igo_spatial_filter_item_openWorkspace_2_listener() { return ctx.activateWorkspace(); })("entityChange", function SpatialFilterToolComponent_Template_igo_spatial_filter_item_entityChange_2_listener($event) { return ctx.activateWorkspace($event); });
5807
- i0.ɵɵelementEnd();
5808
- i0.ɵɵelementEnd();
5599
+ i0.ɵɵelementEnd()();
5809
5600
  i0.ɵɵelementStart(3, "igo-panel");
5810
5601
  i0.ɵɵtemplate(4, SpatialFilterToolComponent_ng_container_4_Template, 2, 1, "ng-container", 2);
5811
5602
  i0.ɵɵpipe(5, "async");
@@ -5817,7 +5608,7 @@ SpatialFilterToolComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type:
5817
5608
  i0.ɵɵproperty("type", ctx.type)("queryType", ctx.queryType)("map", ctx.map)("zone", ctx.zone)("loading", ctx.loading)("store", ctx.store)("layers", ctx.activeLayers)("allLayers", ctx.layers)("thematicLength", ctx.thematicLength);
5818
5609
  i0.ɵɵadvance(2);
5819
5610
  i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(5, 14, ctx.selectedFeature$));
5820
- } }, directives: [i1$1.SpatialFilterTypeComponent, i1$1.SpatialFilterItemComponent, i5.NgIf], pipes: [i5.AsyncPipe], styles: [""], changeDetection: 0 });
5611
+ } }, dependencies: [i1$1.SpatialFilterTypeComponent, i1$1.SpatialFilterItemComponent, i6.NgIf, i6.AsyncPipe], changeDetection: 0 });
5821
5612
  SpatialFilterToolComponent = __decorate([
5822
5613
  ToolComponent({
5823
5614
  name: 'spatialFilter',
@@ -5830,13 +5621,8 @@ SpatialFilterToolComponent = __decorate([
5830
5621
  ], SpatialFilterToolComponent);
5831
5622
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SpatialFilterToolComponent, [{
5832
5623
  type: Component,
5833
- args: [{
5834
- selector: 'igo-spatial-filter-tool',
5835
- templateUrl: './spatial-filter-tool.component.html',
5836
- styleUrls: ['./spatial-filter-tool.component.scss'],
5837
- changeDetection: ChangeDetectionStrategy.OnPush
5838
- }]
5839
- }], function () { return [{ type: i6.MatIconRegistry }, { type: i1$1.SpatialFilterService }, { type: i1$1.DataSourceService }, { type: i1$1.LayerService }, { type: MapState }, { type: i2.MessageService }, { type: i2.LanguageService }, { type: ImportExportState }, { type: ToolState }, { type: WorkspaceState }, { type: i0.ChangeDetectorRef }]; }, { type: [{
5624
+ args: [{ selector: 'igo-spatial-filter-tool', changeDetection: ChangeDetectionStrategy.OnPush, template: "<igo-panel>\r\n <igo-spatial-filter-type\r\n [store]=\"spatialListStore\"\r\n [selectedQueryType]=\"queryType\"\r\n [zone]=\"zone\"\r\n [layers]=\"activeLayers\"\r\n (eventType)=\"getOutputType($event)\"\r\n (eventQueryType)=\"getOutputQueryType($event)\"\r\n (zoneChange)=\"onZoneChange($event)\"\r\n (zoneWithBufferChange)=\"onZoneChange($event, true)\"\r\n (bufferChange)=\"buffer = $event\"\r\n (measureUnitChange)=\"measureUnit = $event\">\r\n </igo-spatial-filter-type>\r\n\r\n <igo-spatial-filter-item\r\n [type]=\"type\"\r\n [queryType]=\"queryType\"\r\n [map]=\"map\"\r\n [zone]=\"zone\"\r\n [loading]=\"loading\"\r\n [store]=\"store\"\r\n [layers]=\"activeLayers\"\r\n [allLayers]=\"layers\"\r\n [thematicLength]=\"thematicLength\"\r\n (radiusEvent)=\"buffer = $event\"\r\n (bufferEvent)=\"buffer = $event\"\r\n (measureUnitChange)=\"measureUnit = $event\"\r\n (freehandControl)=\"freehandDrawIsActive = $event\"\r\n (drawZoneEvent)=\"zone = $event\"\r\n (zoneWithBufferChange)=\"onZoneChange($event, true)\"\r\n (itemTypeChange)=\"itemType = $event\"\r\n (thematicChange)=\"thematics = $event\"\r\n (toggleSearch)=\"getOutputToggleSearch()\"\r\n (clearButtonEvent)=\"clearMap()\"\r\n (clearSearchEvent)=\"getOutputClearSearch()\"\r\n (export)=\"activateExportTool()\"\r\n (openWorkspace)=\"activateWorkspace()\"\r\n (entityChange)=\"activateWorkspace($event)\">\r\n </igo-spatial-filter-item>\r\n</igo-panel>\r\n\r\n<igo-panel>\r\n <ng-container *ngIf=\"selectedFeature$ | async as feature\">\r\n <igo-feature-details [feature]=\"feature\"></igo-feature-details>\r\n </ng-container>\r\n</igo-panel>" }]
5625
+ }], function () { return [{ type: i7.MatIconRegistry }, { type: i1$1.SpatialFilterService }, { type: i1$1.DataSourceService }, { type: i1$1.LayerService }, { type: MapState }, { type: i2.MessageService }, { type: i2.LanguageService }, { type: ImportExportState }, { type: ToolState }, { type: WorkspaceState }, { type: i0.ChangeDetectorRef }]; }, { type: [{
5840
5626
  type: Input
5841
5627
  }], itemType: [{
5842
5628
  type: Input
@@ -5875,7 +5661,7 @@ ActiveTimeFilterToolComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ typ
5875
5661
  i0.ɵɵelement(0, "igo-time-filter-item", 0);
5876
5662
  } if (rf & 2) {
5877
5663
  i0.ɵɵproperty("map", ctx.map)("layer", ctx.layer)("header", false)("@toolSlideInOut", ctx.animate);
5878
- } }, directives: [i1$1.TimeFilterItemComponent], encapsulation: 2, data: { animation: [toolSlideInOut$1()] } });
5664
+ } }, dependencies: [i1$1.TimeFilterItemComponent], encapsulation: 2, data: { animation: [toolSlideInOut$1()] } });
5879
5665
  ActiveTimeFilterToolComponent = __decorate([
5880
5666
  ToolComponent({
5881
5667
  name: 'activeTimeFilter',
@@ -5886,11 +5672,7 @@ ActiveTimeFilterToolComponent = __decorate([
5886
5672
  ], ActiveTimeFilterToolComponent);
5887
5673
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ActiveTimeFilterToolComponent, [{
5888
5674
  type: Component,
5889
- args: [{
5890
- selector: 'igo-active-time-filter-tool',
5891
- templateUrl: './active-time-filter-tool.component.html',
5892
- animations: [toolSlideInOut$1()]
5893
- }]
5675
+ args: [{ selector: 'igo-active-time-filter-tool', animations: [toolSlideInOut$1()], template: "<igo-time-filter-item\r\n [map]=\"map\"\r\n [layer]=\"layer\"\r\n [header]=\"false\"\r\n [@toolSlideInOut]=\"animate\">\r\n</igo-time-filter-item>\r\n" }]
5894
5676
  }], function () { return [{ type: MapState }]; }, null); })();
5895
5677
 
5896
5678
  function toolSlideInOut(speed = '300ms', type = 'ease-in-out') {
@@ -5924,7 +5706,7 @@ ActiveOgcFilterToolComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type
5924
5706
  i0.ɵɵelement(0, "igo-ogc-filterable-item", 0);
5925
5707
  } if (rf & 2) {
5926
5708
  i0.ɵɵproperty("map", ctx.map)("layer", ctx.layer)("header", false)("@toolSlideInOut", ctx.animate);
5927
- } }, directives: [i1$1.OgcFilterableItemComponent], encapsulation: 2, data: { animation: [toolSlideInOut()] } });
5709
+ } }, dependencies: [i1$1.OgcFilterableItemComponent], encapsulation: 2, data: { animation: [toolSlideInOut()] } });
5928
5710
  ActiveOgcFilterToolComponent = __decorate([
5929
5711
  ToolComponent({
5930
5712
  name: 'activeOgcFilter',
@@ -5935,11 +5717,7 @@ ActiveOgcFilterToolComponent = __decorate([
5935
5717
  ], ActiveOgcFilterToolComponent);
5936
5718
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ActiveOgcFilterToolComponent, [{
5937
5719
  type: Component,
5938
- args: [{
5939
- selector: 'igo-active-ogc-filter-tool',
5940
- templateUrl: './active-ogc-filter-tool.component.html',
5941
- animations: [toolSlideInOut()]
5942
- }]
5720
+ args: [{ selector: 'igo-active-ogc-filter-tool', animations: [toolSlideInOut()], template: "<igo-ogc-filterable-item\r\n [map]=\"map\"\r\n [layer]=\"layer\"\r\n [header]=\"false\"\r\n [@toolSlideInOut]=\"animate\">\r\n</igo-ogc-filterable-item>\r\n\r\n\r\n" }]
5943
5721
  }], function () { return [{ type: MapState }]; }, null); })();
5944
5722
 
5945
5723
  class IgoAppFilterModule {
@@ -5952,7 +5730,7 @@ class IgoAppFilterModule {
5952
5730
  }
5953
5731
  IgoAppFilterModule.ɵfac = function IgoAppFilterModule_Factory(t) { return new (t || IgoAppFilterModule)(); };
5954
5732
  IgoAppFilterModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: IgoAppFilterModule });
5955
- IgoAppFilterModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [[IgoFilterModule, IgoQueryModule, CommonModule]] });
5733
+ IgoAppFilterModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [IgoFilterModule, IgoQueryModule, CommonModule] });
5956
5734
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IgoAppFilterModule, [{
5957
5735
  type: NgModule,
5958
5736
  args: [{
@@ -5987,7 +5765,7 @@ IgoAppFilterModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [[IgoF
5987
5765
  function AboutToolComponent_button_2_Template(rf, ctx) { if (rf & 1) {
5988
5766
  const _r6 = i0.ɵɵgetCurrentView();
5989
5767
  i0.ɵɵelementStart(0, "button", 7);
5990
- i0.ɵɵlistener("click", function AboutToolComponent_button_2_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r6); const ctx_r5 = i0.ɵɵnextContext(); return ctx_r5.openGuide(); });
5768
+ i0.ɵɵlistener("click", function AboutToolComponent_button_2_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r6); const ctx_r5 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r5.openGuide()); });
5991
5769
  i0.ɵɵpipe(1, "translate");
5992
5770
  i0.ɵɵelementStart(2, "span");
5993
5771
  i0.ɵɵtext(3);
@@ -6020,7 +5798,7 @@ function AboutToolComponent_button_3_Template(rf, ctx) { if (rf & 1) {
6020
5798
  function AboutToolComponent_button_6_Template(rf, ctx) { if (rf & 1) {
6021
5799
  const _r9 = i0.ɵɵgetCurrentView();
6022
5800
  i0.ɵɵelementStart(0, "button", 10);
6023
- i0.ɵɵlistener("click", function AboutToolComponent_button_6_Template_button_click_0_listener() { const restoredCtx = i0.ɵɵrestoreView(_r9); const guide_r7 = restoredCtx.$implicit; const ctx_r8 = i0.ɵɵnextContext(); return ctx_r8.openGuide(guide_r7); });
5801
+ i0.ɵɵlistener("click", function AboutToolComponent_button_6_Template_button_click_0_listener() { const restoredCtx = i0.ɵɵrestoreView(_r9); const guide_r7 = restoredCtx.$implicit; const ctx_r8 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r8.openGuide(guide_r7)); });
6024
5802
  i0.ɵɵtext(1);
6025
5803
  i0.ɵɵelementEnd();
6026
5804
  } if (rf & 2) {
@@ -6108,10 +5886,9 @@ let AboutToolComponent = class AboutToolComponent {
6108
5886
  return name;
6109
5887
  }
6110
5888
  };
6111
- AboutToolComponent.ɵfac = function AboutToolComponent_Factory(t) { return new (t || AboutToolComponent)(i0.ɵɵdirectiveInject(i2.ConfigService), i0.ɵɵdirectiveInject(i2$1.AuthService), i0.ɵɵdirectiveInject(i3$2.HttpClient), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i2.LanguageService)); };
5889
+ AboutToolComponent.ɵfac = function AboutToolComponent_Factory(t) { return new (t || AboutToolComponent)(i0.ɵɵdirectiveInject(i2.ConfigService), i0.ɵɵdirectiveInject(i2$1.AuthService), i0.ɵɵdirectiveInject(i3$1.HttpClient), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i2.LanguageService)); };
6112
5890
  AboutToolComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: 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) { if (rf & 1) {
6113
- i0.ɵɵelement(0, "p");
6114
- i0.ɵɵelement(1, "igo-interactive-tour", 0);
5891
+ i0.ɵɵelement(0, "p")(1, "igo-interactive-tour", 0);
6115
5892
  i0.ɵɵtemplate(2, AboutToolComponent_button_2_Template, 6, 7, "button", 1);
6116
5893
  i0.ɵɵtemplate(3, AboutToolComponent_button_3_Template, 6, 8, "button", 2);
6117
5894
  i0.ɵɵelementStart(4, "mat-menu", null, 3);
@@ -6133,7 +5910,7 @@ AboutToolComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AboutToo
6133
5910
  i0.ɵɵproperty("ngIf", ctx.headerHtml !== "");
6134
5911
  i0.ɵɵadvance(1);
6135
5912
  i0.ɵɵproperty("html", i0.ɵɵpipeBind2(9, 6, ctx.html, i0.ɵɵpureFunction1(9, _c0, ctx.version)));
6136
- } }, directives: [i4.InteractiveTourComponent, i5.NgIf, i6$2.MatMenu, i5.NgForOf, i4.CustomHtmlComponent, i3.MatButton, i4$1.MatTooltip, i6.MatIcon, i6$2.MatMenuTrigger, i6$2.MatMenuItem], pipes: [i8.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}"] });
5913
+ } }, dependencies: [i4.CustomHtmlComponent, i10.MatButton, i5.MatTooltip, i7.MatIcon, i8$3.MatMenu, i8$3.MatMenuItem, i8$3.MatMenuTrigger, i4.InteractiveTourComponent, i6.NgForOf, i6.NgIf, i8.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}"] });
6137
5914
  AboutToolComponent = __decorate([
6138
5915
  ToolComponent({
6139
5916
  name: 'about',
@@ -6143,12 +5920,8 @@ AboutToolComponent = __decorate([
6143
5920
  ], AboutToolComponent);
6144
5921
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AboutToolComponent, [{
6145
5922
  type: Component,
6146
- args: [{
6147
- selector: 'igo-about-tool',
6148
- templateUrl: './about-tool.component.html',
6149
- styleUrls: ['./about-tool.component.scss']
6150
- }]
6151
- }], function () { return [{ type: i2.ConfigService }, { type: i2$1.AuthService }, { type: i3$2.HttpClient }, { type: i0.ChangeDetectorRef }, { type: i2.LanguageService }]; }, { headerHtml: [{
5923
+ args: [{ selector: 'igo-about-tool', template: "<p></p>\r\n<igo-interactive-tour\r\n mat-raised-button\r\n tourToStart=\"global\"\r\n menuIsOpen=true\r\n styleButton=\"raised\"\r\n [discoverTitleInLocale$]=\"discoverTitleInLocale$\">\r\n</igo-interactive-tour>\r\n\r\n<button *ngIf=\"auth.authenticated && trainingGuideURLs && trainingGuideURLs.length === 1\"\r\n class=\"training-guide-button\"\r\n mat-raised-button\r\n tooltip-position=\"below\"\r\n matTooltipShowDelay=\"500\"\r\n [disabled]=\"loading\"\r\n [matTooltip]=\"'igo.integration.aboutTool.trainingGuideTooltip' | translate\"\r\n (click)=\"openGuide()\">\r\n <span>{{'igo.integration.aboutTool.trainingGuide' | translate}}</span>\r\n <mat-icon svgIcon=\"file-document\"></mat-icon>\r\n</button>\r\n\r\n<button *ngIf=\"auth.authenticated && trainingGuideURLs && trainingGuideURLs.length > 1\"\r\n class=\"training-guide-button\"\r\n mat-raised-button\r\n tooltip-position=\"below\"\r\n matTooltipShowDelay=\"500\"\r\n [disabled]=\"loading\"\r\n [matTooltip]=\"'igo.integration.aboutTool.trainingGuideTooltip' | translate\"\r\n [matMenuTriggerFor]=\"menu\">\r\n <span>{{'igo.integration.aboutTool.trainingGuide' | translate}}</span>\r\n <mat-icon svgIcon=\"file-document\"></mat-icon>\r\n</button>\r\n\r\n<mat-menu #menu=\"matMenu\">\r\n <button *ngFor=\"let guide of trainingGuideURLs\" mat-menu-item (click)=\"openGuide(guide)\">{{formatFileName(guide)}}</button>\r\n</mat-menu>\r\n\r\n<igo-custom-html *ngIf=\"headerHtml !== ''\" class=\"mat-typography\"\r\n [html]=\"headerHtml | translate\">\r\n</igo-custom-html>\r\n\r\n<igo-custom-html class=\"mat-typography\"\r\n [html]=\"html | translate: {version: version}\">\r\n</igo-custom-html>\r\n", styles: ["igo-interactive-tour{margin-left:20px}.training-guide-button{margin-left:5px;background-color:#1976d2;color:#fff;padding:0 12px}\n"] }]
5924
+ }], function () { return [{ type: i2.ConfigService }, { type: i2$1.AuthService }, { type: i3$1.HttpClient }, { type: i0.ChangeDetectorRef }, { type: i2.LanguageService }]; }, { headerHtml: [{
6152
5925
  type: Input
6153
5926
  }], html: [{
6154
5927
  type: Input
@@ -6168,16 +5941,14 @@ class IgoAppAboutModule {
6168
5941
  }
6169
5942
  IgoAppAboutModule.ɵfac = function IgoAppAboutModule_Factory(t) { return new (t || IgoAppAboutModule)(); };
6170
5943
  IgoAppAboutModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: IgoAppAboutModule });
6171
- IgoAppAboutModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [[
6172
- IgoLanguageModule,
6173
- IgoCustomHtmlModule,
6174
- MatButtonModule,
6175
- MatTooltipModule,
6176
- MatIconModule,
6177
- MatMenuModule,
6178
- IgoInteractiveTourModule,
6179
- CommonModule
6180
- ]] });
5944
+ IgoAppAboutModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [IgoLanguageModule,
5945
+ IgoCustomHtmlModule,
5946
+ MatButtonModule,
5947
+ MatTooltipModule,
5948
+ MatIconModule,
5949
+ MatMenuModule,
5950
+ IgoInteractiveTourModule,
5951
+ CommonModule] });
6181
5952
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IgoAppAboutModule, [{
6182
5953
  type: NgModule,
6183
5954
  args: [{
@@ -6209,7 +5980,7 @@ class IgoAppStorageModule {
6209
5980
  }
6210
5981
  IgoAppStorageModule.ɵfac = function IgoAppStorageModule_Factory(t) { return new (t || IgoAppStorageModule)(); };
6211
5982
  IgoAppStorageModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: IgoAppStorageModule });
6212
- IgoAppStorageModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [[]] });
5983
+ IgoAppStorageModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({});
6213
5984
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IgoAppStorageModule, [{
6214
5985
  type: NgModule,
6215
5986
  args: [{
@@ -6223,7 +5994,7 @@ class IgoIntegrationModule {
6223
5994
  }
6224
5995
  IgoIntegrationModule.ɵfac = function IgoIntegrationModule_Factory(t) { return new (t || IgoIntegrationModule)(); };
6225
5996
  IgoIntegrationModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: IgoIntegrationModule });
6226
- IgoIntegrationModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [[], IgoAppStorageModule,
5997
+ IgoIntegrationModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [IgoAppStorageModule,
6227
5998
  IgoAppAnalyticsModule,
6228
5999
  IgoAppContextModule,
6229
6000
  IgoAppCatalogModule,
@@ -6279,7 +6050,7 @@ class IgoAppToolModule {
6279
6050
  }
6280
6051
  IgoAppToolModule.ɵfac = function IgoAppToolModule_Factory(t) { return new (t || IgoAppToolModule)(); };
6281
6052
  IgoAppToolModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: IgoAppToolModule });
6282
- IgoAppToolModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [[]] });
6053
+ IgoAppToolModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({});
6283
6054
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IgoAppToolModule, [{
6284
6055
  type: NgModule,
6285
6056
  args: [{
@@ -6392,4 +6163,4 @@ QueryState.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: QueryState, f
6392
6163
  */
6393
6164
 
6394
6165
  export { AboutToolComponent, ActiveOgcFilterToolComponent, ActiveTimeFilterToolComponent, AdvancedMapToolComponent, AnalyticsListenerService, CatalogBrowserToolComponent, CatalogLibraryToolComponent, CatalogState, ContextEditorToolComponent, ContextManagerToolComponent, ContextPermissionManagerToolComponent, ContextShareToolComponent, ContextState, DirectionState, DirectionsToolComponent, DrawState, DrawingToolComponent, FeatureActionsService, IgoAppAboutModule, IgoAppAnalyticsModule, IgoAppCatalogBrowserToolModule, IgoAppCatalogLibraryToolModule, IgoAppCatalogModule, IgoAppContextModule, IgoAppDirectionsModule, IgoAppDrawModule, IgoAppFilterModule, IgoAppImportExportModule, IgoAppMapModule, IgoAppMeasureModule, IgoAppMeasurerToolModule, IgoAppPrintModule, IgoAppSearchBarModule, IgoAppSearchModule, IgoAppSearchResultsToolModule, IgoAppStorageModule, IgoAppToolModule, IgoAppWorkspaceModule, IgoIntegrationModule, ImportExportMode, ImportExportState, ImportExportToolComponent, ImportExportType, MapDetailsToolComponent, MapLegendToolComponent, MapProximityState, MapProximityToolComponent, MapState, MapToolComponent, MapToolsComponent, MeasureState, MeasurerToolComponent, OgcFilterToolComponent, PrintToolComponent, QueryState, SearchBarBindingDirective, SearchResultsToolComponent, SearchState, SpatialFilterToolComponent, StorageState, TimeFilterToolComponent, ToolState, WfsActionsService, WorkspaceButtonComponent, WorkspaceState };
6395
- //# sourceMappingURL=igo2-integration.js.map
6166
+ //# sourceMappingURL=igo2-integration.mjs.map