@igo2/integration 1.12.1 → 1.13.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{esm2015/igo2-integration.js → esm2020/igo2-integration.mjs} +0 -0
- package/esm2020/lib/about/about-tool/about-tool.component.mjs +185 -0
- package/{esm2015/lib/about/about-tool/index.js → esm2020/lib/about/about-tool/index.mjs} +1 -1
- package/{esm2015/lib/about/about.module.js → esm2020/lib/about/about.module.mjs} +9 -11
- package/{esm2015/lib/about/index.js → esm2020/lib/about/index.mjs} +1 -1
- package/{esm2015/lib/analytics/analytics-listener.service.js → esm2020/lib/analytics/analytics-listener.service.mjs} +1 -1
- package/{esm2015/lib/analytics/analytics.module.js → esm2020/lib/analytics/analytics.module.mjs} +2 -2
- package/{esm2015/lib/analytics/index.js → esm2020/lib/analytics/index.mjs} +1 -1
- 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
- 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
- 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
- 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
- package/{esm2015/lib/catalog/catalog.module.js → esm2020/lib/catalog/catalog.module.mjs} +2 -2
- package/{esm2015/lib/catalog/catalog.state.js → esm2020/lib/catalog/catalog.state.mjs} +1 -1
- package/{esm2015/lib/catalog/index.js → esm2020/lib/catalog/index.mjs} +1 -1
- 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
- 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
- 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
- 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
- package/{esm2015/lib/context/context.module.js → esm2020/lib/context/context.module.mjs} +2 -2
- package/{esm2015/lib/context/context.state.js → esm2020/lib/context/context.state.mjs} +1 -1
- package/{esm2015/lib/context/index.js → esm2020/lib/context/index.mjs} +1 -1
- package/{esm2015/lib/directions/directions-tool/directions-tool.component.js → esm2020/lib/directions/directions-tool/directions-tool.component.mjs} +3 -6
- package/{esm2015/lib/directions/directions-tool/index.js → esm2020/lib/directions/directions-tool/index.mjs} +1 -1
- package/{esm2015/lib/directions/directions.module.js → esm2020/lib/directions/directions.module.mjs} +2 -2
- package/esm2020/lib/directions/directions.state.mjs +64 -0
- package/{esm2015/lib/directions/index.js → esm2020/lib/directions/index.mjs} +1 -1
- package/{esm2015/lib/draw/draw.module.js → esm2020/lib/draw/draw.module.mjs} +2 -2
- package/{esm2015/lib/draw/draw.state.js → esm2020/lib/draw/draw.state.mjs} +1 -1
- package/{esm2015/lib/draw/drawing-tool/drawing-tool.component.js → esm2020/lib/draw/drawing-tool/drawing-tool.component.mjs} +3 -7
- package/{esm2015/lib/draw/index.js → esm2020/lib/draw/index.mjs} +1 -1
- 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} +1 -1
- 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
- package/{esm2015/lib/filter/active-ogc-filter-tool/index.js → esm2020/lib/filter/active-ogc-filter-tool/index.mjs} +1 -1
- 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} +1 -1
- 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
- package/{esm2015/lib/filter/active-time-filter-tool/index.js → esm2020/lib/filter/active-time-filter-tool/index.mjs} +1 -1
- package/{esm2015/lib/filter/filter.module.js → esm2020/lib/filter/filter.module.mjs} +2 -2
- package/{esm2015/lib/filter/index.js → esm2020/lib/filter/index.mjs} +1 -1
- package/{esm2015/lib/filter/ogc-filter-tool/index.js → esm2020/lib/filter/ogc-filter-tool/index.mjs} +1 -1
- 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
- package/{esm2015/lib/filter/spatial-filter-tool/index.js → esm2020/lib/filter/spatial-filter-tool/index.mjs} +1 -1
- package/esm2020/lib/filter/spatial-filter-tool/spatial-filter-tool.component.mjs +535 -0
- package/{esm2015/lib/filter/time-filter-tool/index.js → esm2020/lib/filter/time-filter-tool/index.mjs} +1 -1
- 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
- package/esm2020/lib/import-export/import-export-tool/import-export-tool.component.mjs +137 -0
- package/{esm2015/lib/import-export/import-export-tool/index.js → esm2020/lib/import-export/import-export-tool/index.mjs} +1 -1
- package/{esm2015/lib/import-export/import-export.module.js → esm2020/lib/import-export/import-export.module.mjs} +7 -9
- package/{esm2015/lib/import-export/import-export.state.js → esm2020/lib/import-export/import-export.state.mjs} +1 -1
- package/{esm2015/lib/import-export/index.js → esm2020/lib/import-export/index.mjs} +1 -1
- package/{esm2015/lib/integration.module.js → esm2020/lib/integration.module.mjs} +2 -2
- package/esm2020/lib/map/advanced-map-tool/advanced-coordinates/advanced-coordinates.component.mjs +473 -0
- package/esm2020/lib/map/advanced-map-tool/advanced-map-tool.component.mjs +89 -0
- package/esm2020/lib/map/advanced-map-tool/advanced-swipe/advanced-swipe.component.mjs +218 -0
- package/{esm2015/lib/map/advanced-map-tool/index.js → esm2020/lib/map/advanced-map-tool/index.mjs} +1 -1
- package/{esm2015/lib/map/index.js → esm2020/lib/map/index.mjs} +1 -1
- package/{esm2015/lib/map/layer-list-tool.state.js → esm2020/lib/map/layer-list-tool.state.mjs} +1 -1
- package/{esm2015/lib/map/map-details-tool/index.js → esm2020/lib/map/map-details-tool/index.mjs} +1 -1
- package/esm2020/lib/map/map-details-tool/map-details-tool.component.mjs +256 -0
- package/{esm2015/lib/map/map-legend/index.js → esm2020/lib/map/map-legend/index.mjs} +1 -1
- package/esm2020/lib/map/map-legend/map-legend-tool.component.mjs +275 -0
- package/{esm2015/lib/map/map-proximity-tool/index.js → esm2020/lib/map/map-proximity-tool/index.mjs} +1 -1
- package/esm2020/lib/map/map-proximity-tool/map-proximity-tool.component.mjs +206 -0
- package/{esm2015/lib/map/map-proximity.state.js → esm2020/lib/map/map-proximity.state.mjs} +10 -11
- package/{esm2015/lib/map/map-tool/index.js → esm2020/lib/map/map-tool/index.mjs} +1 -1
- package/esm2020/lib/map/map-tool/map-tool.component.mjs +130 -0
- package/{esm2015/lib/map/map-tools/index.js → esm2020/lib/map/map-tools/index.mjs} +1 -1
- package/esm2020/lib/map/map-tools/map-tools.component.mjs +478 -0
- package/{esm2015/lib/map/map.module.js → esm2020/lib/map/map.module.mjs} +29 -31
- package/{esm2015/lib/map/map.state.js → esm2020/lib/map/map.state.mjs} +1 -1
- package/{esm2015/lib/measure/index.js → esm2020/lib/measure/index.mjs} +1 -1
- package/{esm2015/lib/measure/measure.module.js → esm2020/lib/measure/measure.module.mjs} +2 -2
- package/{esm2015/lib/measure/measure.state.js → esm2020/lib/measure/measure.state.mjs} +1 -1
- package/{esm2015/lib/measure/measurer-tool/measurer-tool.component.js → esm2020/lib/measure/measurer-tool/measurer-tool.component.mjs} +3 -7
- package/{esm2015/lib/measure/measurer-tool/measurer-tool.module.js → esm2020/lib/measure/measurer-tool/measurer-tool.module.mjs} +2 -4
- package/{esm2015/lib/print/index.js → esm2020/lib/print/index.mjs} +1 -1
- package/{esm2015/lib/print/print-tool/index.js → esm2020/lib/print/print-tool/index.mjs} +1 -1
- package/{esm2015/lib/print/print-tool/print-tool.component.js → esm2020/lib/print/print-tool/print-tool.component.mjs} +3 -6
- package/{esm2015/lib/print/print.module.js → esm2020/lib/print/print.module.mjs} +2 -2
- package/{esm2015/lib/search/index.js → esm2020/lib/search/index.mjs} +1 -1
- package/{esm2015/lib/search/query.state.js → esm2020/lib/search/query.state.mjs} +1 -1
- package/{esm2015/lib/search/search-bar/search-bar-binding.directive.js → esm2020/lib/search/search-bar/search-bar-binding.directive.mjs} +1 -1
- package/{esm2015/lib/search/search-bar/search-bar.module.js → esm2020/lib/search/search-bar/search-bar.module.mjs} +2 -2
- package/esm2020/lib/search/search-results-tool/search-results-tool.component.mjs +577 -0
- 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
- package/{esm2015/lib/search/search.module.js → esm2020/lib/search/search.module.mjs} +2 -2
- package/{esm2015/lib/search/search.state.js → esm2020/lib/search/search.state.mjs} +1 -1
- package/{esm2015/lib/storage/index.js → esm2020/lib/storage/index.mjs} +1 -1
- package/{esm2015/lib/storage/storage.module.js → esm2020/lib/storage/storage.module.mjs} +2 -2
- package/{esm2015/lib/storage/storage.state.js → esm2020/lib/storage/storage.state.mjs} +1 -1
- package/{esm2015/lib/tool/index.js → esm2020/lib/tool/index.mjs} +1 -1
- package/{esm2015/lib/tool/tool.module.js → esm2020/lib/tool/tool.module.mjs} +2 -2
- package/{esm2015/lib/tool/tool.state.js → esm2020/lib/tool/tool.state.mjs} +1 -1
- package/{esm2015/lib/workspace/index.js → esm2020/lib/workspace/index.mjs} +1 -1
- package/esm2020/lib/workspace/shared/edition-actions.service.mjs +156 -0
- package/{esm2015/lib/workspace/shared/feature-actions.service.js → esm2020/lib/workspace/shared/feature-actions.service.mjs} +1 -1
- package/{esm2015/lib/workspace/shared/index.js → esm2020/lib/workspace/shared/index.mjs} +1 -1
- package/esm2020/lib/workspace/shared/wfs-actions.service.mjs +158 -0
- package/{esm2015/lib/workspace/shared/workspace.utils.js → esm2020/lib/workspace/shared/workspace.utils.mjs} +1 -1
- package/{esm2015/lib/workspace/workspace-button/index.js → esm2020/lib/workspace/workspace-button/index.mjs} +1 -1
- package/esm2020/lib/workspace/workspace-button/workspace-button.component.mjs +69 -0
- package/{esm2015/lib/workspace/workspace.module.js → esm2020/lib/workspace/workspace.module.mjs} +6 -8
- package/esm2020/lib/workspace/workspace.state.mjs +188 -0
- package/{esm2015/public_api.js → esm2020/public_api.mjs} +1 -1
- package/fesm2015/igo2-integration.mjs +6606 -0
- package/fesm2015/igo2-integration.mjs.map +1 -0
- package/{fesm2015/igo2-integration.js → fesm2020/igo2-integration.mjs} +303 -534
- package/fesm2020/igo2-integration.mjs.map +1 -0
- package/{igo2-integration.d.ts → index.d.ts} +0 -0
- package/lib/about/about-tool/about-tool.component.d.ts +1 -1
- package/lib/catalog/catalog-browser-tool/catalog-browser-tool.component.d.ts +1 -1
- package/lib/catalog/catalog-library-tool/catalog-library-tool.component.d.ts +1 -1
- package/lib/context/context-editor-tool/context-editor-tool.component.d.ts +1 -1
- package/lib/context/context-manager-tool/context-manager-tool.component.d.ts +1 -1
- package/lib/context/context-permission-manager-tool/context-permission-manager-tool.component.d.ts +1 -1
- package/lib/context/context-share-tool/context-share-tool.component.d.ts +1 -1
- package/lib/directions/directions-tool/directions-tool.component.d.ts +1 -1
- package/lib/draw/drawing-tool/drawing-tool.component.d.ts +1 -1
- package/lib/filter/active-ogc-filter-tool/active-ogc-filter-tool.component.d.ts +1 -1
- package/lib/filter/active-time-filter-tool/active-time-filter-tool.component.d.ts +1 -1
- package/lib/filter/ogc-filter-tool/ogc-filter-tool.component.d.ts +1 -1
- package/lib/filter/spatial-filter-tool/spatial-filter-tool.component.d.ts +1 -1
- package/lib/filter/time-filter-tool/time-filter-tool.component.d.ts +1 -1
- package/lib/import-export/import-export-tool/import-export-tool.component.d.ts +1 -1
- package/lib/map/advanced-map-tool/advanced-coordinates/advanced-coordinates.component.d.ts +4 -4
- package/lib/map/advanced-map-tool/advanced-map-tool.component.d.ts +1 -1
- package/lib/map/advanced-map-tool/advanced-swipe/advanced-swipe.component.d.ts +4 -4
- package/lib/map/map-details-tool/map-details-tool.component.d.ts +1 -1
- package/lib/map/map-legend/map-legend-tool.component.d.ts +1 -1
- package/lib/map/map-proximity-tool/map-proximity-tool.component.d.ts +1 -1
- package/lib/map/map-tool/map-tool.component.d.ts +1 -1
- package/lib/map/map-tools/map-tools.component.d.ts +1 -1
- package/lib/measure/measurer-tool/measurer-tool.component.d.ts +1 -1
- package/lib/print/print-tool/print-tool.component.d.ts +1 -1
- package/lib/search/search-bar/search-bar-binding.directive.d.ts +1 -1
- package/lib/search/search-results-tool/search-results-tool.component.d.ts +1 -1
- package/lib/workspace/workspace-button/workspace-button.component.d.ts +1 -1
- package/ngcc.config.js +3 -3
- package/package.json +24 -11
- package/bundles/igo2-integration.umd.js +0 -7863
- package/bundles/igo2-integration.umd.js.map +0 -1
- package/esm2015/lib/about/about-tool/about-tool.component.js +0 -190
- package/esm2015/lib/directions/directions.state.js +0 -66
- package/esm2015/lib/filter/spatial-filter-tool/spatial-filter-tool.component.js +0 -545
- package/esm2015/lib/import-export/import-export-tool/import-export-tool.component.js +0 -145
- package/esm2015/lib/map/advanced-map-tool/advanced-coordinates/advanced-coordinates.component.js +0 -481
- package/esm2015/lib/map/advanced-map-tool/advanced-map-tool.component.js +0 -99
- package/esm2015/lib/map/advanced-map-tool/advanced-swipe/advanced-swipe.component.js +0 -234
- package/esm2015/lib/map/map-details-tool/map-details-tool.component.js +0 -274
- package/esm2015/lib/map/map-legend/map-legend-tool.component.js +0 -289
- package/esm2015/lib/map/map-proximity-tool/map-proximity-tool.component.js +0 -221
- package/esm2015/lib/map/map-tool/map-tool.component.js +0 -142
- package/esm2015/lib/map/map-tools/map-tools.component.js +0 -496
- package/esm2015/lib/search/search-results-tool/search-results-tool.component.js +0 -598
- package/esm2015/lib/workspace/shared/edition-actions.service.js +0 -157
- package/esm2015/lib/workspace/shared/wfs-actions.service.js +0 -159
- package/esm2015/lib/workspace/workspace-button/workspace-button.component.js +0 -74
- package/esm2015/lib/workspace/workspace.state.js +0 -190
- 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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
27
|
+
import * as i6$1 from '@angular/material/list';
|
|
28
28
|
import { MatListModule } from '@angular/material/list';
|
|
29
|
-
import * as
|
|
29
|
+
import * as i12 from '@angular/material/slide-toggle';
|
|
30
30
|
import { MatSlideToggleModule } from '@angular/material/slide-toggle';
|
|
31
|
-
import * as
|
|
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
|
|
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$
|
|
39
|
+
import * as i6$2 from '@angular/material/form-field';
|
|
38
40
|
import { MatFormFieldModule } from '@angular/material/form-field';
|
|
39
|
-
import * as i7$
|
|
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
|
|
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
|
|
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
|
|
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$
|
|
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({
|
|
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
|
-
} },
|
|
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';
|
|
@@ -250,7 +247,7 @@ ContextManagerToolComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type:
|
|
|
250
247
|
i0.ɵɵelementEnd();
|
|
251
248
|
} if (rf & 2) {
|
|
252
249
|
i0.ɵɵproperty("map", ctx.map);
|
|
253
|
-
} },
|
|
250
|
+
} }, dependencies: [i1.ContextListComponent, i1.ContextListBindingDirective], encapsulation: 2 });
|
|
254
251
|
ContextManagerToolComponent = __decorate([
|
|
255
252
|
ToolComponent({
|
|
256
253
|
name: 'contextManager',
|
|
@@ -260,10 +257,7 @@ ContextManagerToolComponent = __decorate([
|
|
|
260
257
|
], ContextManagerToolComponent);
|
|
261
258
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ContextManagerToolComponent, [{
|
|
262
259
|
type: Component,
|
|
263
|
-
args: [{
|
|
264
|
-
selector: 'igo-context-manager-tool',
|
|
265
|
-
templateUrl: './context-manager-tool.component.html'
|
|
266
|
-
}]
|
|
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" }]
|
|
267
261
|
}], function () { return [{ type: ToolState }, { type: MapState }]; }, { toolToOpenOnContextChange: [{
|
|
268
262
|
type: Input
|
|
269
263
|
}] }); })();
|
|
@@ -273,7 +267,7 @@ let ContextPermissionManagerToolComponent = class ContextPermissionManagerToolCo
|
|
|
273
267
|
ContextPermissionManagerToolComponent.ɵfac = function ContextPermissionManagerToolComponent_Factory(t) { return new (t || ContextPermissionManagerToolComponent)(); };
|
|
274
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) {
|
|
275
269
|
i0.ɵɵelement(0, "igo-context-permissions", 0);
|
|
276
|
-
} },
|
|
270
|
+
} }, dependencies: [i1.ContextPermissionsComponent, i1.ContextPermissionsBindingDirective], encapsulation: 2 });
|
|
277
271
|
ContextPermissionManagerToolComponent = __decorate([
|
|
278
272
|
ToolComponent({
|
|
279
273
|
name: 'contextPermissionManager',
|
|
@@ -284,10 +278,7 @@ ContextPermissionManagerToolComponent = __decorate([
|
|
|
284
278
|
], ContextPermissionManagerToolComponent);
|
|
285
279
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ContextPermissionManagerToolComponent, [{
|
|
286
280
|
type: Component,
|
|
287
|
-
args: [{
|
|
288
|
-
selector: 'igo-context-permission-manager-tool',
|
|
289
|
-
templateUrl: './context-permission-manager-tool.component.html'
|
|
290
|
-
}]
|
|
281
|
+
args: [{ selector: 'igo-context-permission-manager-tool', template: "<igo-context-permissions igoContextPermissionsBinding></igo-context-permissions>\r\n" }]
|
|
291
282
|
}], null, null); })();
|
|
292
283
|
|
|
293
284
|
/**
|
|
@@ -342,7 +333,7 @@ ContextShareToolComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: C
|
|
|
342
333
|
i0.ɵɵelement(0, "igo-share-map", 0);
|
|
343
334
|
} if (rf & 2) {
|
|
344
335
|
i0.ɵɵproperty("map", ctx.map);
|
|
345
|
-
} },
|
|
336
|
+
} }, dependencies: [i1.ShareMapComponent], encapsulation: 2 });
|
|
346
337
|
ContextShareToolComponent = __decorate([
|
|
347
338
|
ToolComponent({
|
|
348
339
|
name: 'shareMap',
|
|
@@ -352,17 +343,14 @@ ContextShareToolComponent = __decorate([
|
|
|
352
343
|
], ContextShareToolComponent);
|
|
353
344
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ContextShareToolComponent, [{
|
|
354
345
|
type: Component,
|
|
355
|
-
args: [{
|
|
356
|
-
selector: 'igo-context-share-tool',
|
|
357
|
-
templateUrl: './context-share-tool.component.html'
|
|
358
|
-
}]
|
|
346
|
+
args: [{ selector: 'igo-context-share-tool', template: "<igo-share-map\r\n [map]=\"map\"></igo-share-map>\r\n" }]
|
|
359
347
|
}], function () { return [{ type: MapState }, { type: LayerListToolState }]; }, null); })();
|
|
360
348
|
|
|
361
349
|
class IgoAppContextModule {
|
|
362
350
|
}
|
|
363
351
|
IgoAppContextModule.ɵfac = function IgoAppContextModule_Factory(t) { return new (t || IgoAppContextModule)(); };
|
|
364
352
|
IgoAppContextModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: IgoAppContextModule });
|
|
365
|
-
IgoAppContextModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [
|
|
353
|
+
IgoAppContextModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [IgoContextModule] });
|
|
366
354
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IgoAppContextModule, [{
|
|
367
355
|
type: NgModule,
|
|
368
356
|
args: [{
|
|
@@ -502,7 +490,7 @@ CatalogLibraryToolComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type:
|
|
|
502
490
|
i0.ɵɵelementEnd();
|
|
503
491
|
} if (rf & 2) {
|
|
504
492
|
i0.ɵɵproperty("predefinedCatalogs", ctx.predefinedCatalogs)("addCatalogAllowed", ctx.addCatalogAllowed)("store", ctx.store);
|
|
505
|
-
} },
|
|
493
|
+
} }, dependencies: [i1$1.CatalogLibaryComponent], encapsulation: 2, changeDetection: 0 });
|
|
506
494
|
CatalogLibraryToolComponent = __decorate([
|
|
507
495
|
ToolComponent({
|
|
508
496
|
name: 'catalog',
|
|
@@ -512,11 +500,7 @@ CatalogLibraryToolComponent = __decorate([
|
|
|
512
500
|
], CatalogLibraryToolComponent);
|
|
513
501
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CatalogLibraryToolComponent, [{
|
|
514
502
|
type: Component,
|
|
515
|
-
args: [{
|
|
516
|
-
selector: 'igo-catalog-library-tool',
|
|
517
|
-
templateUrl: './catalog-library-tool.component.html',
|
|
518
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
|
519
|
-
}]
|
|
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" }]
|
|
520
504
|
}], function () { return [{ type: i1$1.CatalogService }, { type: CatalogState }, { type: ToolState }, { type: i2.StorageService }]; }, { addCatalogAllowed: [{
|
|
521
505
|
type: Input
|
|
522
506
|
}], predefinedCatalogs: [{
|
|
@@ -530,10 +514,8 @@ class IgoAppCatalogLibraryToolModule {
|
|
|
530
514
|
}
|
|
531
515
|
IgoAppCatalogLibraryToolModule.ɵfac = function IgoAppCatalogLibraryToolModule_Factory(t) { return new (t || IgoAppCatalogLibraryToolModule)(); };
|
|
532
516
|
IgoAppCatalogLibraryToolModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: IgoAppCatalogLibraryToolModule });
|
|
533
|
-
IgoAppCatalogLibraryToolModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [
|
|
534
|
-
|
|
535
|
-
IgoCatalogLibraryModule
|
|
536
|
-
]] });
|
|
517
|
+
IgoAppCatalogLibraryToolModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule,
|
|
518
|
+
IgoCatalogLibraryModule] });
|
|
537
519
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IgoAppCatalogLibraryToolModule, [{
|
|
538
520
|
type: NgModule,
|
|
539
521
|
args: [{
|
|
@@ -634,7 +616,7 @@ CatalogBrowserToolComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type:
|
|
|
634
616
|
i0.ɵɵpipe(1, "async");
|
|
635
617
|
} if (rf & 2) {
|
|
636
618
|
i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(1, 1, ctx.store$));
|
|
637
|
-
} },
|
|
619
|
+
} }, dependencies: [i6.NgIf, i1$1.CatalogBrowserComponent, i6.AsyncPipe], encapsulation: 2, changeDetection: 0 });
|
|
638
620
|
CatalogBrowserToolComponent = __decorate([
|
|
639
621
|
ToolComponent({
|
|
640
622
|
name: 'catalogBrowser',
|
|
@@ -645,11 +627,7 @@ CatalogBrowserToolComponent = __decorate([
|
|
|
645
627
|
], CatalogBrowserToolComponent);
|
|
646
628
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CatalogBrowserToolComponent, [{
|
|
647
629
|
type: Component,
|
|
648
|
-
args: [{
|
|
649
|
-
selector: 'igo-catalog-browser-tool',
|
|
650
|
-
templateUrl: './catalog-browser-tool.component.html',
|
|
651
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
|
652
|
-
}]
|
|
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" }]
|
|
653
631
|
}], function () { return [{ type: i1$1.CatalogService }, { type: CatalogState }, { type: MapState }, { type: i2$1.AuthService }]; }, { toggleCollapsedGroup: [{
|
|
654
632
|
type: Input
|
|
655
633
|
}] }); })();
|
|
@@ -661,10 +639,8 @@ class IgoAppCatalogBrowserToolModule {
|
|
|
661
639
|
}
|
|
662
640
|
IgoAppCatalogBrowserToolModule.ɵfac = function IgoAppCatalogBrowserToolModule_Factory(t) { return new (t || IgoAppCatalogBrowserToolModule)(); };
|
|
663
641
|
IgoAppCatalogBrowserToolModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: IgoAppCatalogBrowserToolModule });
|
|
664
|
-
IgoAppCatalogBrowserToolModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [
|
|
665
|
-
|
|
666
|
-
IgoCatalogBrowserModule
|
|
667
|
-
]] });
|
|
642
|
+
IgoAppCatalogBrowserToolModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule,
|
|
643
|
+
IgoCatalogBrowserModule] });
|
|
668
644
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IgoAppCatalogBrowserToolModule, [{
|
|
669
645
|
type: NgModule,
|
|
670
646
|
args: [{
|
|
@@ -684,7 +660,7 @@ class IgoAppCatalogModule {
|
|
|
684
660
|
}
|
|
685
661
|
IgoAppCatalogModule.ɵfac = function IgoAppCatalogModule_Factory(t) { return new (t || IgoAppCatalogModule)(); };
|
|
686
662
|
IgoAppCatalogModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: IgoAppCatalogModule });
|
|
687
|
-
IgoAppCatalogModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [
|
|
663
|
+
IgoAppCatalogModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [IgoAppCatalogLibraryToolModule,
|
|
688
664
|
IgoAppCatalogBrowserToolModule] });
|
|
689
665
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IgoAppCatalogModule, [{
|
|
690
666
|
type: NgModule,
|
|
@@ -729,14 +705,12 @@ class DirectionState {
|
|
|
729
705
|
this.debounceTime = 200;
|
|
730
706
|
this.mapState.map.ol.once('rendercomplete', () => {
|
|
731
707
|
this.stopsFeatureStore.empty$.subscribe((empty) => {
|
|
732
|
-
|
|
733
|
-
if ((_a = this.stopsFeatureStore.layer) === null || _a === void 0 ? void 0 : _a.options) {
|
|
708
|
+
if (this.stopsFeatureStore.layer?.options) {
|
|
734
709
|
this.stopsFeatureStore.layer.options.showInLayerList = !empty;
|
|
735
710
|
}
|
|
736
711
|
});
|
|
737
712
|
this.routesFeatureStore.empty$.subscribe((empty) => {
|
|
738
|
-
|
|
739
|
-
if ((_a = this.routesFeatureStore.layer) === null || _a === void 0 ? void 0 : _a.options) {
|
|
713
|
+
if (this.routesFeatureStore.layer?.options) {
|
|
740
714
|
this.routesFeatureStore.layer.options.showInLayerList = !empty;
|
|
741
715
|
}
|
|
742
716
|
});
|
|
@@ -904,7 +878,7 @@ DirectionsToolComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Dir
|
|
|
904
878
|
i0.ɵɵelement(0, "igo-directions", 0);
|
|
905
879
|
} if (rf & 2) {
|
|
906
880
|
i0.ɵɵproperty("contextUri", ctx.currentContextUri)("debounceTime", ctx.debounceTime)("stopsStore", ctx.stopsStore)("stopsFeatureStore", ctx.stopsFeatureStore)("stepFeatureStore", ctx.stepFeatureStore)("routesFeatureStore", ctx.routesFeatureStore)("zoomToActiveRoute$", ctx.zoomToActiveRoute$);
|
|
907
|
-
} },
|
|
881
|
+
} }, dependencies: [i1$1.DirectionsComponent], encapsulation: 2 });
|
|
908
882
|
DirectionsToolComponent = __decorate([
|
|
909
883
|
ToolComponent({
|
|
910
884
|
name: 'directions',
|
|
@@ -914,10 +888,7 @@ DirectionsToolComponent = __decorate([
|
|
|
914
888
|
], DirectionsToolComponent);
|
|
915
889
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DirectionsToolComponent, [{
|
|
916
890
|
type: Component,
|
|
917
|
-
args: [{
|
|
918
|
-
selector: 'igo-directions-tool',
|
|
919
|
-
templateUrl: './directions-tool.component.html'
|
|
920
|
-
}]
|
|
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>" }]
|
|
921
892
|
}], function () { return [{ type: DirectionState }, { type: MapState }, { type: i2.LanguageService }, { type: i2.MessageService }, { type: i2.StorageService }, { type: ContextState }, { type: i2$1.AuthService }]; }, null); })();
|
|
922
893
|
|
|
923
894
|
class IgoAppDirectionsModule {
|
|
@@ -930,7 +901,7 @@ class IgoAppDirectionsModule {
|
|
|
930
901
|
}
|
|
931
902
|
IgoAppDirectionsModule.ɵfac = function IgoAppDirectionsModule_Factory(t) { return new (t || IgoAppDirectionsModule)(); };
|
|
932
903
|
IgoAppDirectionsModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: IgoAppDirectionsModule });
|
|
933
|
-
IgoAppDirectionsModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [
|
|
904
|
+
IgoAppDirectionsModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [IgoDirectionsModule] });
|
|
934
905
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IgoAppDirectionsModule, [{
|
|
935
906
|
type: NgModule,
|
|
936
907
|
args: [{
|
|
@@ -994,7 +965,7 @@ DrawingToolComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Drawin
|
|
|
994
965
|
i0.ɵɵelement(0, "igo-draw", 0);
|
|
995
966
|
} if (rf & 2) {
|
|
996
967
|
i0.ɵɵproperty("store", ctx.store)("map", ctx.map);
|
|
997
|
-
} },
|
|
968
|
+
} }, dependencies: [i1$1.DrawComponent], encapsulation: 2, changeDetection: 0 });
|
|
998
969
|
DrawingToolComponent = __decorate([
|
|
999
970
|
ToolComponent({
|
|
1000
971
|
name: 'draw',
|
|
@@ -1004,18 +975,14 @@ DrawingToolComponent = __decorate([
|
|
|
1004
975
|
], DrawingToolComponent);
|
|
1005
976
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DrawingToolComponent, [{
|
|
1006
977
|
type: Component,
|
|
1007
|
-
args: [{
|
|
1008
|
-
selector: 'igo-drawing-tool',
|
|
1009
|
-
templateUrl: './drawing-tool.component.html',
|
|
1010
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
|
1011
|
-
}]
|
|
978
|
+
args: [{ selector: 'igo-drawing-tool', changeDetection: ChangeDetectionStrategy.OnPush, template: "<igo-draw [store]=\"store\" [map]=\"map\"></igo-draw>\r\n" }]
|
|
1012
979
|
}], function () { return [{ type: DrawState }, { type: MapState }]; }, null); })();
|
|
1013
980
|
|
|
1014
981
|
class IgoAppDrawModule {
|
|
1015
982
|
}
|
|
1016
983
|
IgoAppDrawModule.ɵfac = function IgoAppDrawModule_Factory(t) { return new (t || IgoAppDrawModule)(); };
|
|
1017
984
|
IgoAppDrawModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: IgoAppDrawModule });
|
|
1018
|
-
IgoAppDrawModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [
|
|
985
|
+
IgoAppDrawModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [IgoDrawingToolModule] });
|
|
1019
986
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IgoAppDrawModule, [{
|
|
1020
987
|
type: NgModule,
|
|
1021
988
|
args: [{
|
|
@@ -1215,10 +1182,9 @@ class WfsActionsService {
|
|
|
1215
1182
|
workspace.actionStore.load(actions);
|
|
1216
1183
|
}
|
|
1217
1184
|
buildActions(workspace, rowsInMapExtentCheckCondition$, selectOnlyCheckCondition$) {
|
|
1218
|
-
var _a, _b;
|
|
1219
1185
|
this.zoomAuto$.next(this.zoomAuto);
|
|
1220
1186
|
this.storageChange$$ = this.storageService.storageChange$
|
|
1221
|
-
.pipe(skipWhile((storageChange) =>
|
|
1187
|
+
.pipe(skipWhile((storageChange) => storageChange?.key !== 'zoomAuto' || storageChange?.event === StorageServiceEventEnum.CLEARED))
|
|
1222
1188
|
.subscribe(() => {
|
|
1223
1189
|
this.zoomAuto$.next(this.zoomAuto);
|
|
1224
1190
|
handleZoomAuto(workspace, this.storageService);
|
|
@@ -1318,7 +1284,7 @@ class WfsActionsService {
|
|
|
1318
1284
|
}
|
|
1319
1285
|
}
|
|
1320
1286
|
];
|
|
1321
|
-
return
|
|
1287
|
+
return workspace.layer.dataSource.ogcFilters$?.value?.enabled ?
|
|
1322
1288
|
actions : actions.filter(action => action.id !== 'ogcFilter');
|
|
1323
1289
|
}
|
|
1324
1290
|
}
|
|
@@ -1360,10 +1326,9 @@ class EditionActionsService {
|
|
|
1360
1326
|
workspace.actionStore.load(actions);
|
|
1361
1327
|
}
|
|
1362
1328
|
buildActions(workspace, rowsInMapExtentCheckCondition$, selectOnlyCheckCondition$) {
|
|
1363
|
-
var _a, _b;
|
|
1364
1329
|
this.zoomAuto$.next(this.zoomAuto);
|
|
1365
1330
|
this.storageChange$$ = this.storageService.storageChange$
|
|
1366
|
-
.pipe(skipWhile((storageChange) =>
|
|
1331
|
+
.pipe(skipWhile((storageChange) => storageChange?.key !== 'zoomAuto' || storageChange?.event === StorageServiceEventEnum.CLEARED))
|
|
1367
1332
|
.subscribe(() => {
|
|
1368
1333
|
this.zoomAuto$.next(this.zoomAuto);
|
|
1369
1334
|
handleZoomAuto(workspace, this.storageService);
|
|
@@ -1463,7 +1428,7 @@ class EditionActionsService {
|
|
|
1463
1428
|
}
|
|
1464
1429
|
}
|
|
1465
1430
|
];
|
|
1466
|
-
return
|
|
1431
|
+
return workspace.layer.dataSource.ogcFilters$?.value?.enabled ?
|
|
1467
1432
|
actions : actions.filter(action => action.id !== 'ogcFilter');
|
|
1468
1433
|
}
|
|
1469
1434
|
}
|
|
@@ -1507,18 +1472,16 @@ class WorkspaceState {
|
|
|
1507
1472
|
*/
|
|
1508
1473
|
get store() { return this._store; }
|
|
1509
1474
|
get workspaceSelection() {
|
|
1510
|
-
var _a;
|
|
1511
1475
|
if (this.workspace$.value) {
|
|
1512
|
-
return
|
|
1476
|
+
return this.workspace$.value?.entityStore.stateView.manyBy((r) => r.state.selected === true);
|
|
1513
1477
|
}
|
|
1514
1478
|
else {
|
|
1515
1479
|
return [];
|
|
1516
1480
|
}
|
|
1517
1481
|
}
|
|
1518
1482
|
get workspaceSelection$() {
|
|
1519
|
-
var _a, _b;
|
|
1520
1483
|
if (this.workspace$.value) {
|
|
1521
|
-
return
|
|
1484
|
+
return this.workspace$.value?.entityStore?.stateView.manyBy$((r) => r.state.selected === true);
|
|
1522
1485
|
}
|
|
1523
1486
|
else {
|
|
1524
1487
|
return of([]);
|
|
@@ -1663,7 +1626,7 @@ WorkspaceState.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: Workspace
|
|
|
1663
1626
|
function WorkspaceButtonComponent_button_0_Template(rf, ctx) { if (rf & 1) {
|
|
1664
1627
|
const _r2 = i0.ɵɵgetCurrentView();
|
|
1665
1628
|
i0.ɵɵelementStart(0, "button", 1);
|
|
1666
|
-
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()); });
|
|
1667
1630
|
i0.ɵɵpipe(1, "translate");
|
|
1668
1631
|
i0.ɵɵelement(2, "mat-icon", 2);
|
|
1669
1632
|
i0.ɵɵelementEnd();
|
|
@@ -1687,7 +1650,7 @@ class WorkspaceButtonComponent {
|
|
|
1687
1650
|
}
|
|
1688
1651
|
ngOnInit() {
|
|
1689
1652
|
this.hasWorkspace$$ = combineLatest([this.workspaceState.workspaceEnabled$, this.layer$])
|
|
1690
|
-
.subscribe(bunch =>
|
|
1653
|
+
.subscribe(bunch => this.hasWorkspace$.next(bunch[0] && bunch[1]?.options.workspace?.enabled));
|
|
1691
1654
|
}
|
|
1692
1655
|
ngOnDestroy() {
|
|
1693
1656
|
this.hasWorkspace$$.unsubscribe();
|
|
@@ -1710,15 +1673,10 @@ WorkspaceButtonComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Wo
|
|
|
1710
1673
|
i0.ɵɵpipe(1, "async");
|
|
1711
1674
|
} if (rf & 2) {
|
|
1712
1675
|
i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(1, 1, ctx.hasWorkspace$));
|
|
1713
|
-
} },
|
|
1676
|
+
} }, dependencies: [i6.NgIf, i7.MatIcon, i10.MatButton, i5.MatTooltip, i6.AsyncPipe, i8.TranslatePipe], changeDetection: 0 });
|
|
1714
1677
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WorkspaceButtonComponent, [{
|
|
1715
1678
|
type: Component,
|
|
1716
|
-
args: [{
|
|
1717
|
-
selector: 'igo-workspace-button',
|
|
1718
|
-
templateUrl: './workspace-button.component.html',
|
|
1719
|
-
styleUrls: ['./workspace-button.component.scss'],
|
|
1720
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
|
1721
|
-
}]
|
|
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" }]
|
|
1722
1680
|
}], function () { return [{ type: WorkspaceState }]; }, { layer: [{
|
|
1723
1681
|
type: Input
|
|
1724
1682
|
}], color: [{
|
|
@@ -1729,13 +1687,11 @@ class IgoAppWorkspaceModule {
|
|
|
1729
1687
|
}
|
|
1730
1688
|
IgoAppWorkspaceModule.ɵfac = function IgoAppWorkspaceModule_Factory(t) { return new (t || IgoAppWorkspaceModule)(); };
|
|
1731
1689
|
IgoAppWorkspaceModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: IgoAppWorkspaceModule });
|
|
1732
|
-
IgoAppWorkspaceModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
IgoLanguageModule
|
|
1738
|
-
]] });
|
|
1690
|
+
IgoAppWorkspaceModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule,
|
|
1691
|
+
MatIconModule,
|
|
1692
|
+
MatButtonModule,
|
|
1693
|
+
MatTooltipModule,
|
|
1694
|
+
IgoLanguageModule] });
|
|
1739
1695
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IgoAppWorkspaceModule, [{
|
|
1740
1696
|
type: NgModule,
|
|
1741
1697
|
args: [{
|
|
@@ -1758,19 +1714,16 @@ IgoAppWorkspaceModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [[
|
|
|
1758
1714
|
|
|
1759
1715
|
function ImportExportToolComponent_mat_tab_group_0_Template(rf, ctx) { if (rf & 1) {
|
|
1760
1716
|
const _r4 = i0.ɵɵgetCurrentView();
|
|
1761
|
-
i0.ɵɵelementStart(0, "mat-tab-group");
|
|
1762
|
-
i0.ɵɵelementStart(1, "mat-tab", 3);
|
|
1717
|
+
i0.ɵɵelementStart(0, "mat-tab-group")(1, "mat-tab", 3);
|
|
1763
1718
|
i0.ɵɵpipe(2, "translate");
|
|
1764
1719
|
i0.ɵɵelementStart(3, "igo-import-export", 4);
|
|
1765
|
-
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)); });
|
|
1766
1721
|
i0.ɵɵpipe(4, "async");
|
|
1767
|
-
i0.ɵɵelementEnd();
|
|
1768
|
-
i0.ɵɵelementEnd();
|
|
1722
|
+
i0.ɵɵelementEnd()();
|
|
1769
1723
|
i0.ɵɵelementStart(5, "mat-tab", 3);
|
|
1770
1724
|
i0.ɵɵpipe(6, "translate");
|
|
1771
1725
|
i0.ɵɵelement(7, "igo-context-import-export", 5);
|
|
1772
|
-
i0.ɵɵelementEnd();
|
|
1773
|
-
i0.ɵɵelementEnd();
|
|
1726
|
+
i0.ɵɵelementEnd()();
|
|
1774
1727
|
} if (rf & 2) {
|
|
1775
1728
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
1776
1729
|
i0.ɵɵadvance(1);
|
|
@@ -1785,7 +1738,7 @@ function ImportExportToolComponent_mat_tab_group_0_Template(rf, ctx) { if (rf &
|
|
|
1785
1738
|
function ImportExportToolComponent_igo_import_export_1_Template(rf, ctx) { if (rf & 1) {
|
|
1786
1739
|
const _r7 = i0.ɵɵgetCurrentView();
|
|
1787
1740
|
i0.ɵɵelementStart(0, "igo-import-export", 6);
|
|
1788
|
-
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)); });
|
|
1789
1742
|
i0.ɵɵpipe(1, "async");
|
|
1790
1743
|
i0.ɵɵelementEnd();
|
|
1791
1744
|
} if (rf & 2) {
|
|
@@ -1861,7 +1814,7 @@ ImportExportToolComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: I
|
|
|
1861
1814
|
i0.ɵɵproperty("ngIf", !ctx.importExportShowBothType && ctx.importExportType === "layer");
|
|
1862
1815
|
i0.ɵɵadvance(1);
|
|
1863
1816
|
i0.ɵɵproperty("ngIf", !ctx.importExportShowBothType && ctx.importExportType === "context");
|
|
1864
|
-
} },
|
|
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 });
|
|
1865
1818
|
ImportExportToolComponent = __decorate([
|
|
1866
1819
|
ToolComponent({
|
|
1867
1820
|
name: 'importExport',
|
|
@@ -1871,12 +1824,7 @@ ImportExportToolComponent = __decorate([
|
|
|
1871
1824
|
], ImportExportToolComponent);
|
|
1872
1825
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ImportExportToolComponent, [{
|
|
1873
1826
|
type: Component,
|
|
1874
|
-
args: [{
|
|
1875
|
-
selector: 'igo-import-export-tool',
|
|
1876
|
-
templateUrl: './import-export-tool.component.html',
|
|
1877
|
-
styleUrls: ['./import-export-tool.component.scss'],
|
|
1878
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
|
1879
|
-
}]
|
|
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"] }]
|
|
1880
1828
|
}], function () { return [{ type: MapState }, { type: ImportExportState }, { type: WorkspaceState }]; }, { projectionsLimitations: [{
|
|
1881
1829
|
type: Input
|
|
1882
1830
|
}], selectFirstProj: [{
|
|
@@ -1897,14 +1845,12 @@ class IgoAppImportExportModule {
|
|
|
1897
1845
|
}
|
|
1898
1846
|
IgoAppImportExportModule.ɵfac = function IgoAppImportExportModule_Factory(t) { return new (t || IgoAppImportExportModule)(); };
|
|
1899
1847
|
IgoAppImportExportModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: IgoAppImportExportModule });
|
|
1900
|
-
IgoAppImportExportModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [
|
|
1901
|
-
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
|
|
1905
|
-
|
|
1906
|
-
MatTabsModule
|
|
1907
|
-
]] });
|
|
1848
|
+
IgoAppImportExportModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [IgoImportExportModule,
|
|
1849
|
+
IgoContextImportExportModule,
|
|
1850
|
+
CommonModule,
|
|
1851
|
+
IgoLanguageModule,
|
|
1852
|
+
MatButtonToggleModule,
|
|
1853
|
+
MatTabsModule] });
|
|
1908
1854
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IgoAppImportExportModule, [{
|
|
1909
1855
|
type: NgModule,
|
|
1910
1856
|
args: [{
|
|
@@ -1932,12 +1878,9 @@ function MapDetailsToolComponent_igo_layer_list_0_ng_template_1_Template(rf, ctx
|
|
|
1932
1878
|
const _r7 = i0.ɵɵgetCurrentView();
|
|
1933
1879
|
i0.ɵɵelement(0, "igo-workspace-button", 4);
|
|
1934
1880
|
i0.ɵɵelementStart(1, "igo-export-button", 5);
|
|
1935
|
-
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)); });
|
|
1936
1882
|
i0.ɵɵelementEnd();
|
|
1937
|
-
i0.ɵɵelement(2, "igo-ogc-filter-button", 6);
|
|
1938
|
-
i0.ɵɵelement(3, "igo-time-filter-button", 6);
|
|
1939
|
-
i0.ɵɵelement(4, "igo-track-feature-button", 7);
|
|
1940
|
-
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);
|
|
1941
1884
|
} if (rf & 2) {
|
|
1942
1885
|
const layer_r5 = ctx.layer;
|
|
1943
1886
|
const ctx_r4 = i0.ɵɵnextContext(2);
|
|
@@ -1972,67 +1915,57 @@ function MapDetailsToolComponent_ng_template_2_mat_list_0_p_4_Template(rf, ctx)
|
|
|
1972
1915
|
} }
|
|
1973
1916
|
function MapDetailsToolComponent_ng_template_2_mat_list_0_mat_list_item_5_Template(rf, ctx) { if (rf & 1) {
|
|
1974
1917
|
const _r14 = i0.ɵɵgetCurrentView();
|
|
1975
|
-
i0.ɵɵelementStart(0, "mat-list-item");
|
|
1976
|
-
i0.ɵɵelementStart(1, "mat-icon", 11);
|
|
1918
|
+
i0.ɵɵelementStart(0, "mat-list-item")(1, "mat-icon", 11);
|
|
1977
1919
|
i0.ɵɵnamespaceSVG();
|
|
1978
1920
|
i0.ɵɵelementStart(2, "svg", 12);
|
|
1979
1921
|
i0.ɵɵelement(3, "path", 13);
|
|
1980
|
-
i0.ɵɵelementEnd();
|
|
1981
|
-
i0.ɵɵelementEnd();
|
|
1922
|
+
i0.ɵɵelementEnd()();
|
|
1982
1923
|
i0.ɵɵnamespaceHTML();
|
|
1983
1924
|
i0.ɵɵelementStart(4, "h4", 14);
|
|
1984
|
-
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()); });
|
|
1985
1926
|
i0.ɵɵtext(5);
|
|
1986
1927
|
i0.ɵɵpipe(6, "translate");
|
|
1987
|
-
i0.ɵɵelementEnd();
|
|
1988
|
-
i0.ɵɵelementEnd();
|
|
1928
|
+
i0.ɵɵelementEnd()();
|
|
1989
1929
|
} if (rf & 2) {
|
|
1990
1930
|
i0.ɵɵadvance(5);
|
|
1991
1931
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 1, "igo.integration.mapTool.search-tool"), " ");
|
|
1992
1932
|
} }
|
|
1993
1933
|
function MapDetailsToolComponent_ng_template_2_mat_list_0_mat_list_item_6_Template(rf, ctx) { if (rf & 1) {
|
|
1994
1934
|
const _r16 = i0.ɵɵgetCurrentView();
|
|
1995
|
-
i0.ɵɵelementStart(0, "mat-list-item");
|
|
1996
|
-
i0.ɵɵelementStart(1, "mat-icon", 11);
|
|
1935
|
+
i0.ɵɵelementStart(0, "mat-list-item")(1, "mat-icon", 11);
|
|
1997
1936
|
i0.ɵɵnamespaceSVG();
|
|
1998
1937
|
i0.ɵɵelementStart(2, "svg", 12);
|
|
1999
1938
|
i0.ɵɵelement(3, "path", 15);
|
|
2000
|
-
i0.ɵɵelementEnd();
|
|
2001
|
-
i0.ɵɵelementEnd();
|
|
1939
|
+
i0.ɵɵelementEnd()();
|
|
2002
1940
|
i0.ɵɵnamespaceHTML();
|
|
2003
1941
|
i0.ɵɵelementStart(4, "h4", 16);
|
|
2004
|
-
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()); });
|
|
2005
1943
|
i0.ɵɵtext(5);
|
|
2006
1944
|
i0.ɵɵpipe(6, "translate");
|
|
2007
|
-
i0.ɵɵelementEnd();
|
|
2008
|
-
i0.ɵɵelementEnd();
|
|
1945
|
+
i0.ɵɵelementEnd()();
|
|
2009
1946
|
} if (rf & 2) {
|
|
2010
1947
|
i0.ɵɵadvance(5);
|
|
2011
1948
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 1, "igo.integration.mapTool.catalog-tool"), " ");
|
|
2012
1949
|
} }
|
|
2013
1950
|
function MapDetailsToolComponent_ng_template_2_mat_list_0_mat_list_item_7_Template(rf, ctx) { if (rf & 1) {
|
|
2014
1951
|
const _r18 = i0.ɵɵgetCurrentView();
|
|
2015
|
-
i0.ɵɵelementStart(0, "mat-list-item");
|
|
2016
|
-
i0.ɵɵelementStart(1, "mat-icon", 11);
|
|
1952
|
+
i0.ɵɵelementStart(0, "mat-list-item")(1, "mat-icon", 11);
|
|
2017
1953
|
i0.ɵɵnamespaceSVG();
|
|
2018
1954
|
i0.ɵɵelementStart(2, "svg", 12);
|
|
2019
1955
|
i0.ɵɵelement(3, "path", 17);
|
|
2020
|
-
i0.ɵɵelementEnd();
|
|
2021
|
-
i0.ɵɵelementEnd();
|
|
1956
|
+
i0.ɵɵelementEnd()();
|
|
2022
1957
|
i0.ɵɵnamespaceHTML();
|
|
2023
1958
|
i0.ɵɵelementStart(4, "h4", 18);
|
|
2024
|
-
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()); });
|
|
2025
1960
|
i0.ɵɵtext(5);
|
|
2026
1961
|
i0.ɵɵpipe(6, "translate");
|
|
2027
|
-
i0.ɵɵelementEnd();
|
|
2028
|
-
i0.ɵɵelementEnd();
|
|
1962
|
+
i0.ɵɵelementEnd()();
|
|
2029
1963
|
} if (rf & 2) {
|
|
2030
1964
|
i0.ɵɵadvance(5);
|
|
2031
1965
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 1, "igo.integration.mapTool.context-tool"), " ");
|
|
2032
1966
|
} }
|
|
2033
1967
|
function MapDetailsToolComponent_ng_template_2_mat_list_0_Template(rf, ctx) { if (rf & 1) {
|
|
2034
|
-
i0.ɵɵelementStart(0, "mat-list");
|
|
2035
|
-
i0.ɵɵelementStart(1, "p", 9);
|
|
1968
|
+
i0.ɵɵelementStart(0, "mat-list")(1, "p", 9);
|
|
2036
1969
|
i0.ɵɵtext(2);
|
|
2037
1970
|
i0.ɵɵpipe(3, "translate");
|
|
2038
1971
|
i0.ɵɵelementEnd();
|
|
@@ -2133,9 +2066,8 @@ let MapDetailsToolComponent = class MapDetailsToolComponent {
|
|
|
2133
2066
|
this.toolState.toolbox.activateTool('contextManager');
|
|
2134
2067
|
}
|
|
2135
2068
|
activateExport(layer) {
|
|
2136
|
-
var _a;
|
|
2137
2069
|
let id = layer.id;
|
|
2138
|
-
if (
|
|
2070
|
+
if (layer.options.workspace?.workspaceId) {
|
|
2139
2071
|
id = layer.options.workspace.workspaceId !== layer.id ? layer.options.workspace.workspaceId : layer.id;
|
|
2140
2072
|
}
|
|
2141
2073
|
this.importExportState.setsExportOptions({ layers: [id] });
|
|
@@ -2151,7 +2083,7 @@ MapDetailsToolComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Map
|
|
|
2151
2083
|
} if (rf & 2) {
|
|
2152
2084
|
const _r1 = i0.ɵɵreference(3);
|
|
2153
2085
|
i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(1, 2, ctx.layers$).length)("ngIfElse", _r1);
|
|
2154
|
-
} },
|
|
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}"] });
|
|
2155
2087
|
MapDetailsToolComponent = __decorate([
|
|
2156
2088
|
ToolComponent({
|
|
2157
2089
|
name: 'mapDetails',
|
|
@@ -2161,11 +2093,7 @@ MapDetailsToolComponent = __decorate([
|
|
|
2161
2093
|
], MapDetailsToolComponent);
|
|
2162
2094
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MapDetailsToolComponent, [{
|
|
2163
2095
|
type: Component,
|
|
2164
|
-
args: [{
|
|
2165
|
-
selector: 'igo-map-details-tool',
|
|
2166
|
-
templateUrl: './map-details-tool.component.html',
|
|
2167
|
-
styleUrls: ['./map-details-tool.component.scss']
|
|
2168
|
-
}]
|
|
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"] }]
|
|
2169
2097
|
}], function () { return [{ type: MapState }, { type: ToolState }, { type: i1$1.SearchSourceService }, { type: i0.ChangeDetectorRef }, { type: ImportExportState }]; }, { toggleLegendOnVisibilityChange: [{
|
|
2170
2098
|
type: Input
|
|
2171
2099
|
}], expandLegendOfVisibleLayers: [{
|
|
@@ -2188,12 +2116,9 @@ function MapToolComponent_ng_template_4_Template(rf, ctx) { if (rf & 1) {
|
|
|
2188
2116
|
const _r4 = i0.ɵɵgetCurrentView();
|
|
2189
2117
|
i0.ɵɵelement(0, "igo-workspace-button", 4);
|
|
2190
2118
|
i0.ɵɵelementStart(1, "igo-export-button", 5);
|
|
2191
|
-
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)); });
|
|
2192
2120
|
i0.ɵɵelementEnd();
|
|
2193
|
-
i0.ɵɵelement(2, "igo-ogc-filter-button", 6);
|
|
2194
|
-
i0.ɵɵelement(3, "igo-time-filter-button", 6);
|
|
2195
|
-
i0.ɵɵelement(4, "igo-track-feature-button", 7);
|
|
2196
|
-
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);
|
|
2197
2122
|
} if (rf & 2) {
|
|
2198
2123
|
const layer_r2 = ctx.layer;
|
|
2199
2124
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
@@ -2248,9 +2173,8 @@ let MapToolComponent = class MapToolComponent {
|
|
|
2248
2173
|
return filterSortOptions;
|
|
2249
2174
|
}
|
|
2250
2175
|
activateExport(layer) {
|
|
2251
|
-
var _a;
|
|
2252
2176
|
let id = layer.id;
|
|
2253
|
-
if (
|
|
2177
|
+
if (layer.options.workspace?.workspaceId) {
|
|
2254
2178
|
id = layer.options.workspace.workspaceId !== layer.id ? layer.options.workspace.workspaceId : layer.id;
|
|
2255
2179
|
}
|
|
2256
2180
|
this.importExportState.setsExportOptions({ layers: [id] });
|
|
@@ -2260,18 +2184,15 @@ let MapToolComponent = class MapToolComponent {
|
|
|
2260
2184
|
};
|
|
2261
2185
|
MapToolComponent.ɵfac = function MapToolComponent_Factory(t) { return new (t || MapToolComponent)(i0.ɵɵdirectiveInject(MapState), i0.ɵɵdirectiveInject(ToolState), i0.ɵɵdirectiveInject(ImportExportState)); };
|
|
2262
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) {
|
|
2263
|
-
i0.ɵɵelementStart(0, "mat-tab-group");
|
|
2264
|
-
i0.ɵɵelementStart(1, "mat-tab", 0);
|
|
2187
|
+
i0.ɵɵelementStart(0, "mat-tab-group")(1, "mat-tab", 0);
|
|
2265
2188
|
i0.ɵɵpipe(2, "translate");
|
|
2266
2189
|
i0.ɵɵelementStart(3, "igo-layer-list", 1);
|
|
2267
2190
|
i0.ɵɵtemplate(4, MapToolComponent_ng_template_4_Template, 6, 9, "ng-template", null, 2, i0.ɵɵtemplateRefExtractor);
|
|
2268
|
-
i0.ɵɵelementEnd();
|
|
2269
|
-
i0.ɵɵelementEnd();
|
|
2191
|
+
i0.ɵɵelementEnd()();
|
|
2270
2192
|
i0.ɵɵelementStart(6, "mat-tab", 0);
|
|
2271
2193
|
i0.ɵɵpipe(7, "translate");
|
|
2272
2194
|
i0.ɵɵelement(8, "igo-context-list", 3);
|
|
2273
|
-
i0.ɵɵelementEnd();
|
|
2274
|
-
i0.ɵɵelementEnd();
|
|
2195
|
+
i0.ɵɵelementEnd()();
|
|
2275
2196
|
} if (rf & 2) {
|
|
2276
2197
|
i0.ɵɵadvance(1);
|
|
2277
2198
|
i0.ɵɵproperty("label", i0.ɵɵpipeBind1(2, 10, "igo.integration.tools.map"));
|
|
@@ -2279,7 +2200,7 @@ MapToolComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MapToolCom
|
|
|
2279
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);
|
|
2280
2201
|
i0.ɵɵadvance(3);
|
|
2281
2202
|
i0.ɵɵproperty("label", i0.ɵɵpipeBind1(7, 12, "igo.integration.tools.contexts"));
|
|
2282
|
-
} },
|
|
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 });
|
|
2283
2204
|
MapToolComponent = __decorate([
|
|
2284
2205
|
ToolComponent({
|
|
2285
2206
|
name: 'map',
|
|
@@ -2289,12 +2210,7 @@ MapToolComponent = __decorate([
|
|
|
2289
2210
|
], MapToolComponent);
|
|
2290
2211
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MapToolComponent, [{
|
|
2291
2212
|
type: Component,
|
|
2292
|
-
args: [{
|
|
2293
|
-
selector: 'igo-map-tool',
|
|
2294
|
-
templateUrl: './map-tool.component.html',
|
|
2295
|
-
styleUrls: ['./map-tool.component.scss'],
|
|
2296
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
|
2297
|
-
}]
|
|
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"] }]
|
|
2298
2214
|
}], function () { return [{ type: MapState }, { type: ToolState }, { type: ImportExportState }]; }, { toggleLegendOnVisibilityChange: [{
|
|
2299
2215
|
type: Input
|
|
2300
2216
|
}], expandLegendOfVisibleLayers: [{
|
|
@@ -2315,7 +2231,7 @@ const _c0$2 = ["tabGroup"];
|
|
|
2315
2231
|
function MapToolsComponent_igo_layer_list_5_ng_template_1_igo_time_filter_button_2_Template(rf, ctx) { if (rf & 1) {
|
|
2316
2232
|
const _r14 = i0.ɵɵgetCurrentView();
|
|
2317
2233
|
i0.ɵɵelementStart(0, "igo-time-filter-button", 14);
|
|
2318
|
-
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()); });
|
|
2319
2235
|
i0.ɵɵelementEnd();
|
|
2320
2236
|
} if (rf & 2) {
|
|
2321
2237
|
const layer_r9 = i0.ɵɵnextContext().layer;
|
|
@@ -2325,7 +2241,7 @@ function MapToolsComponent_igo_layer_list_5_ng_template_1_igo_time_filter_button
|
|
|
2325
2241
|
function MapToolsComponent_igo_layer_list_5_ng_template_1_igo_ogc_filter_button_3_Template(rf, ctx) { if (rf & 1) {
|
|
2326
2242
|
const _r17 = i0.ɵɵgetCurrentView();
|
|
2327
2243
|
i0.ɵɵelementStart(0, "igo-ogc-filter-button", 14);
|
|
2328
|
-
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()); });
|
|
2329
2245
|
i0.ɵɵelementEnd();
|
|
2330
2246
|
} if (rf & 2) {
|
|
2331
2247
|
const layer_r9 = i0.ɵɵnextContext().layer;
|
|
@@ -2335,15 +2251,14 @@ function MapToolsComponent_igo_layer_list_5_ng_template_1_igo_ogc_filter_button_
|
|
|
2335
2251
|
function MapToolsComponent_igo_layer_list_5_ng_template_1_igo_export_button_4_Template(rf, ctx) { if (rf & 1) {
|
|
2336
2252
|
const _r21 = i0.ɵɵgetCurrentView();
|
|
2337
2253
|
i0.ɵɵelementStart(0, "igo-export-button", 15);
|
|
2338
|
-
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)); });
|
|
2339
2255
|
i0.ɵɵelementEnd();
|
|
2340
2256
|
} if (rf & 2) {
|
|
2341
2257
|
const layer_r9 = i0.ɵɵnextContext().layer;
|
|
2342
2258
|
i0.ɵɵproperty("layer", layer_r9);
|
|
2343
2259
|
} }
|
|
2344
2260
|
function MapToolsComponent_igo_layer_list_5_ng_template_1_Template(rf, ctx) { if (rf & 1) {
|
|
2345
|
-
i0.ɵɵelement(0, "igo-metadata-button", 10);
|
|
2346
|
-
i0.ɵɵelement(1, "igo-track-feature-button", 11);
|
|
2261
|
+
i0.ɵɵelement(0, "igo-metadata-button", 10)(1, "igo-track-feature-button", 11);
|
|
2347
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);
|
|
2348
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);
|
|
2349
2264
|
i0.ɵɵtemplate(4, MapToolsComponent_igo_layer_list_5_ng_template_1_igo_export_button_4_Template, 1, 1, "igo-export-button", 13);
|
|
@@ -2366,7 +2281,7 @@ function MapToolsComponent_igo_layer_list_5_ng_template_1_Template(rf, ctx) { if
|
|
|
2366
2281
|
function MapToolsComponent_igo_layer_list_5_Template(rf, ctx) { if (rf & 1) {
|
|
2367
2282
|
const _r24 = i0.ɵɵgetCurrentView();
|
|
2368
2283
|
i0.ɵɵelementStart(0, "igo-layer-list", 8);
|
|
2369
|
-
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)); });
|
|
2370
2285
|
i0.ɵɵtemplate(1, MapToolsComponent_igo_layer_list_5_ng_template_1_Template, 6, 7, "ng-template", null, 9, i0.ɵɵtemplateRefExtractor);
|
|
2371
2286
|
i0.ɵɵelementEnd();
|
|
2372
2287
|
} if (rf & 2) {
|
|
@@ -2376,7 +2291,7 @@ function MapToolsComponent_igo_layer_list_5_Template(rf, ctx) { if (rf & 1) {
|
|
|
2376
2291
|
function MapToolsComponent_igo_layer_legend_list_9_Template(rf, ctx) { if (rf & 1) {
|
|
2377
2292
|
const _r26 = i0.ɵɵgetCurrentView();
|
|
2378
2293
|
i0.ɵɵelementStart(0, "igo-layer-legend-list", 16);
|
|
2379
|
-
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)); });
|
|
2380
2295
|
i0.ɵɵpipe(1, "async");
|
|
2381
2296
|
i0.ɵɵelementEnd();
|
|
2382
2297
|
} if (rf & 2) {
|
|
@@ -2410,67 +2325,57 @@ function MapToolsComponent_ng_template_15_mat_list_0_p_4_Template(rf, ctx) { if
|
|
|
2410
2325
|
} }
|
|
2411
2326
|
function MapToolsComponent_ng_template_15_mat_list_0_mat_list_item_5_Template(rf, ctx) { if (rf & 1) {
|
|
2412
2327
|
const _r34 = i0.ɵɵgetCurrentView();
|
|
2413
|
-
i0.ɵɵelementStart(0, "mat-list-item");
|
|
2414
|
-
i0.ɵɵelementStart(1, "mat-icon", 19);
|
|
2328
|
+
i0.ɵɵelementStart(0, "mat-list-item")(1, "mat-icon", 19);
|
|
2415
2329
|
i0.ɵɵnamespaceSVG();
|
|
2416
2330
|
i0.ɵɵelementStart(2, "svg", 20);
|
|
2417
2331
|
i0.ɵɵelement(3, "path", 21);
|
|
2418
|
-
i0.ɵɵelementEnd();
|
|
2419
|
-
i0.ɵɵelementEnd();
|
|
2332
|
+
i0.ɵɵelementEnd()();
|
|
2420
2333
|
i0.ɵɵnamespaceHTML();
|
|
2421
2334
|
i0.ɵɵelementStart(4, "h4", 22);
|
|
2422
|
-
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()); });
|
|
2423
2336
|
i0.ɵɵtext(5);
|
|
2424
2337
|
i0.ɵɵpipe(6, "translate");
|
|
2425
|
-
i0.ɵɵelementEnd();
|
|
2426
|
-
i0.ɵɵelementEnd();
|
|
2338
|
+
i0.ɵɵelementEnd()();
|
|
2427
2339
|
} if (rf & 2) {
|
|
2428
2340
|
i0.ɵɵadvance(5);
|
|
2429
2341
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 1, "igo.integration.mapTool.search-tool"), " ");
|
|
2430
2342
|
} }
|
|
2431
2343
|
function MapToolsComponent_ng_template_15_mat_list_0_mat_list_item_6_Template(rf, ctx) { if (rf & 1) {
|
|
2432
2344
|
const _r36 = i0.ɵɵgetCurrentView();
|
|
2433
|
-
i0.ɵɵelementStart(0, "mat-list-item");
|
|
2434
|
-
i0.ɵɵelementStart(1, "mat-icon", 19);
|
|
2345
|
+
i0.ɵɵelementStart(0, "mat-list-item")(1, "mat-icon", 19);
|
|
2435
2346
|
i0.ɵɵnamespaceSVG();
|
|
2436
2347
|
i0.ɵɵelementStart(2, "svg", 20);
|
|
2437
2348
|
i0.ɵɵelement(3, "path", 23);
|
|
2438
|
-
i0.ɵɵelementEnd();
|
|
2439
|
-
i0.ɵɵelementEnd();
|
|
2349
|
+
i0.ɵɵelementEnd()();
|
|
2440
2350
|
i0.ɵɵnamespaceHTML();
|
|
2441
2351
|
i0.ɵɵelementStart(4, "h4", 24);
|
|
2442
|
-
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()); });
|
|
2443
2353
|
i0.ɵɵtext(5);
|
|
2444
2354
|
i0.ɵɵpipe(6, "translate");
|
|
2445
|
-
i0.ɵɵelementEnd();
|
|
2446
|
-
i0.ɵɵelementEnd();
|
|
2355
|
+
i0.ɵɵelementEnd()();
|
|
2447
2356
|
} if (rf & 2) {
|
|
2448
2357
|
i0.ɵɵadvance(5);
|
|
2449
2358
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 1, "igo.integration.mapTool.catalog-tool"), " ");
|
|
2450
2359
|
} }
|
|
2451
2360
|
function MapToolsComponent_ng_template_15_mat_list_0_mat_list_item_7_Template(rf, ctx) { if (rf & 1) {
|
|
2452
2361
|
const _r38 = i0.ɵɵgetCurrentView();
|
|
2453
|
-
i0.ɵɵelementStart(0, "mat-list-item");
|
|
2454
|
-
i0.ɵɵelementStart(1, "mat-icon", 19);
|
|
2362
|
+
i0.ɵɵelementStart(0, "mat-list-item")(1, "mat-icon", 19);
|
|
2455
2363
|
i0.ɵɵnamespaceSVG();
|
|
2456
2364
|
i0.ɵɵelementStart(2, "svg", 20);
|
|
2457
2365
|
i0.ɵɵelement(3, "path", 25);
|
|
2458
|
-
i0.ɵɵelementEnd();
|
|
2459
|
-
i0.ɵɵelementEnd();
|
|
2366
|
+
i0.ɵɵelementEnd()();
|
|
2460
2367
|
i0.ɵɵnamespaceHTML();
|
|
2461
2368
|
i0.ɵɵelementStart(4, "h4", 26);
|
|
2462
|
-
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()); });
|
|
2463
2370
|
i0.ɵɵtext(5);
|
|
2464
2371
|
i0.ɵɵpipe(6, "translate");
|
|
2465
|
-
i0.ɵɵelementEnd();
|
|
2466
|
-
i0.ɵɵelementEnd();
|
|
2372
|
+
i0.ɵɵelementEnd()();
|
|
2467
2373
|
} if (rf & 2) {
|
|
2468
2374
|
i0.ɵɵadvance(5);
|
|
2469
2375
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 1, "igo.integration.mapTool.context-tool"), " ");
|
|
2470
2376
|
} }
|
|
2471
2377
|
function MapToolsComponent_ng_template_15_mat_list_0_Template(rf, ctx) { if (rf & 1) {
|
|
2472
|
-
i0.ɵɵelementStart(0, "mat-list");
|
|
2473
|
-
i0.ɵɵelementStart(1, "p", 17);
|
|
2378
|
+
i0.ɵɵelementStart(0, "mat-list")(1, "p", 17);
|
|
2474
2379
|
i0.ɵɵtext(2);
|
|
2475
2380
|
i0.ɵɵpipe(3, "translate");
|
|
2476
2381
|
i0.ɵɵelementEnd();
|
|
@@ -2658,9 +2563,8 @@ let MapToolsComponent = class MapToolsComponent {
|
|
|
2658
2563
|
return true;
|
|
2659
2564
|
}
|
|
2660
2565
|
activateExport(layer) {
|
|
2661
|
-
var _a;
|
|
2662
2566
|
let id = layer.id;
|
|
2663
|
-
if (
|
|
2567
|
+
if (layer.options.workspace?.workspaceId) {
|
|
2664
2568
|
id = layer.options.workspace.workspaceId !== layer.id ? layer.options.workspace.workspaceId : layer.id;
|
|
2665
2569
|
}
|
|
2666
2570
|
this.importExportState.setsExportOptions({ layers: [id] });
|
|
@@ -2693,10 +2597,9 @@ let MapToolsComponent = class MapToolsComponent {
|
|
|
2693
2597
|
|| options.ogcFilters.select || options.ogcFilters.autocomplete || options.ogcFilters.editable);
|
|
2694
2598
|
}
|
|
2695
2599
|
isExportButton(layer) {
|
|
2696
|
-
var _a, _b;
|
|
2697
2600
|
if ((layer instanceof VectorLayer && layer.exportable === true) ||
|
|
2698
2601
|
(layer.dataSource.options.download && layer.dataSource.options.download.url) ||
|
|
2699
|
-
(
|
|
2602
|
+
(layer.options.workspace?.enabled && layer.options.workspace?.workspaceId !== layer.id)) {
|
|
2700
2603
|
return true;
|
|
2701
2604
|
}
|
|
2702
2605
|
return false;
|
|
@@ -2720,7 +2623,7 @@ MapToolsComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MapToolsC
|
|
|
2720
2623
|
i0.ɵɵelementStart(7, "mat-tab", 2);
|
|
2721
2624
|
i0.ɵɵpipe(8, "translate");
|
|
2722
2625
|
i0.ɵɵtemplate(9, MapToolsComponent_igo_layer_legend_list_9_Template, 2, 6, "igo-layer-legend-list", 4);
|
|
2723
|
-
i0.ɵɵtemplate(10, MapToolsComponent_10_Template, 1, 0,
|
|
2626
|
+
i0.ɵɵtemplate(10, MapToolsComponent_10_Template, 1, 0, null, 5);
|
|
2724
2627
|
i0.ɵɵpipe(11, "async");
|
|
2725
2628
|
i0.ɵɵtemplate(12, MapToolsComponent_p_12_Template, 5, 7, "p", 6);
|
|
2726
2629
|
i0.ɵɵpipe(13, "async");
|
|
@@ -2743,7 +2646,7 @@ MapToolsComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MapToolsC
|
|
|
2743
2646
|
i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(11, 17, ctx.layers$).length !== 0)("ngIfElse", _r5);
|
|
2744
2647
|
i0.ɵɵadvance(2);
|
|
2745
2648
|
i0.ɵɵproperty("ngIf", !ctx.allowShowAllLegends && i0.ɵɵpipeBind1(13, 19, ctx.layers$).length !== 0 && i0.ɵɵpipeBind1(14, 21, ctx.visibleOrInRangeLayers$).length === 0);
|
|
2746
|
-
} },
|
|
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 });
|
|
2747
2650
|
MapToolsComponent = __decorate([
|
|
2748
2651
|
ToolComponent({
|
|
2749
2652
|
name: 'mapTools',
|
|
@@ -2753,12 +2656,7 @@ MapToolsComponent = __decorate([
|
|
|
2753
2656
|
], MapToolsComponent);
|
|
2754
2657
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MapToolsComponent, [{
|
|
2755
2658
|
type: Component,
|
|
2756
|
-
args: [{
|
|
2757
|
-
selector: 'igo-map-tools',
|
|
2758
|
-
templateUrl: './map-tools.component.html',
|
|
2759
|
-
styleUrls: ['./map-tools.component.scss'],
|
|
2760
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
|
2761
|
-
}]
|
|
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"] }]
|
|
2762
2660
|
}], function () { return [{ type: LayerListToolState }, { type: ToolState }, { type: MapState }, { type: i1$1.SearchSourceService }, { type: ImportExportState }]; }, { allowShowAllLegends: [{
|
|
2763
2661
|
type: Input
|
|
2764
2662
|
}], showAllLegendsValue: [{
|
|
@@ -2789,7 +2687,7 @@ MapToolsComponent = __decorate([
|
|
|
2789
2687
|
function MapLegendToolComponent_igo_layer_legend_list_0_Template(rf, ctx) { if (rf & 1) {
|
|
2790
2688
|
const _r6 = i0.ɵɵgetCurrentView();
|
|
2791
2689
|
i0.ɵɵelementStart(0, "igo-layer-legend-list", 4);
|
|
2792
|
-
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)); });
|
|
2793
2691
|
i0.ɵɵpipe(1, "async");
|
|
2794
2692
|
i0.ɵɵelementEnd();
|
|
2795
2693
|
} if (rf & 2) {
|
|
@@ -2823,67 +2721,57 @@ function MapLegendToolComponent_ng_template_6_mat_list_0_p_4_Template(rf, ctx) {
|
|
|
2823
2721
|
} }
|
|
2824
2722
|
function MapLegendToolComponent_ng_template_6_mat_list_0_mat_list_item_5_Template(rf, ctx) { if (rf & 1) {
|
|
2825
2723
|
const _r14 = i0.ɵɵgetCurrentView();
|
|
2826
|
-
i0.ɵɵelementStart(0, "mat-list-item");
|
|
2827
|
-
i0.ɵɵelementStart(1, "mat-icon", 7);
|
|
2724
|
+
i0.ɵɵelementStart(0, "mat-list-item")(1, "mat-icon", 7);
|
|
2828
2725
|
i0.ɵɵnamespaceSVG();
|
|
2829
2726
|
i0.ɵɵelementStart(2, "svg", 8);
|
|
2830
2727
|
i0.ɵɵelement(3, "path", 9);
|
|
2831
|
-
i0.ɵɵelementEnd();
|
|
2832
|
-
i0.ɵɵelementEnd();
|
|
2728
|
+
i0.ɵɵelementEnd()();
|
|
2833
2729
|
i0.ɵɵnamespaceHTML();
|
|
2834
2730
|
i0.ɵɵelementStart(4, "h4", 10);
|
|
2835
|
-
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()); });
|
|
2836
2732
|
i0.ɵɵtext(5);
|
|
2837
2733
|
i0.ɵɵpipe(6, "translate");
|
|
2838
|
-
i0.ɵɵelementEnd();
|
|
2839
|
-
i0.ɵɵelementEnd();
|
|
2734
|
+
i0.ɵɵelementEnd()();
|
|
2840
2735
|
} if (rf & 2) {
|
|
2841
2736
|
i0.ɵɵadvance(5);
|
|
2842
2737
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 1, "igo.integration.mapTool.search-tool"), " ");
|
|
2843
2738
|
} }
|
|
2844
2739
|
function MapLegendToolComponent_ng_template_6_mat_list_0_mat_list_item_6_Template(rf, ctx) { if (rf & 1) {
|
|
2845
2740
|
const _r16 = i0.ɵɵgetCurrentView();
|
|
2846
|
-
i0.ɵɵelementStart(0, "mat-list-item");
|
|
2847
|
-
i0.ɵɵelementStart(1, "mat-icon", 7);
|
|
2741
|
+
i0.ɵɵelementStart(0, "mat-list-item")(1, "mat-icon", 7);
|
|
2848
2742
|
i0.ɵɵnamespaceSVG();
|
|
2849
2743
|
i0.ɵɵelementStart(2, "svg", 8);
|
|
2850
2744
|
i0.ɵɵelement(3, "path", 11);
|
|
2851
|
-
i0.ɵɵelementEnd();
|
|
2852
|
-
i0.ɵɵelementEnd();
|
|
2745
|
+
i0.ɵɵelementEnd()();
|
|
2853
2746
|
i0.ɵɵnamespaceHTML();
|
|
2854
2747
|
i0.ɵɵelementStart(4, "h4", 12);
|
|
2855
|
-
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()); });
|
|
2856
2749
|
i0.ɵɵtext(5);
|
|
2857
2750
|
i0.ɵɵpipe(6, "translate");
|
|
2858
|
-
i0.ɵɵelementEnd();
|
|
2859
|
-
i0.ɵɵelementEnd();
|
|
2751
|
+
i0.ɵɵelementEnd()();
|
|
2860
2752
|
} if (rf & 2) {
|
|
2861
2753
|
i0.ɵɵadvance(5);
|
|
2862
2754
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 1, "igo.integration.mapTool.catalog-tool"), " ");
|
|
2863
2755
|
} }
|
|
2864
2756
|
function MapLegendToolComponent_ng_template_6_mat_list_0_mat_list_item_7_Template(rf, ctx) { if (rf & 1) {
|
|
2865
2757
|
const _r18 = i0.ɵɵgetCurrentView();
|
|
2866
|
-
i0.ɵɵelementStart(0, "mat-list-item");
|
|
2867
|
-
i0.ɵɵelementStart(1, "mat-icon", 7);
|
|
2758
|
+
i0.ɵɵelementStart(0, "mat-list-item")(1, "mat-icon", 7);
|
|
2868
2759
|
i0.ɵɵnamespaceSVG();
|
|
2869
2760
|
i0.ɵɵelementStart(2, "svg", 8);
|
|
2870
2761
|
i0.ɵɵelement(3, "path", 13);
|
|
2871
|
-
i0.ɵɵelementEnd();
|
|
2872
|
-
i0.ɵɵelementEnd();
|
|
2762
|
+
i0.ɵɵelementEnd()();
|
|
2873
2763
|
i0.ɵɵnamespaceHTML();
|
|
2874
2764
|
i0.ɵɵelementStart(4, "h4", 14);
|
|
2875
|
-
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()); });
|
|
2876
2766
|
i0.ɵɵtext(5);
|
|
2877
2767
|
i0.ɵɵpipe(6, "translate");
|
|
2878
|
-
i0.ɵɵelementEnd();
|
|
2879
|
-
i0.ɵɵelementEnd();
|
|
2768
|
+
i0.ɵɵelementEnd()();
|
|
2880
2769
|
} if (rf & 2) {
|
|
2881
2770
|
i0.ɵɵadvance(5);
|
|
2882
2771
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 1, "igo.integration.mapTool.context-tool"), " ");
|
|
2883
2772
|
} }
|
|
2884
2773
|
function MapLegendToolComponent_ng_template_6_mat_list_0_Template(rf, ctx) { if (rf & 1) {
|
|
2885
|
-
i0.ɵɵelementStart(0, "mat-list");
|
|
2886
|
-
i0.ɵɵelementStart(1, "p", 5);
|
|
2774
|
+
i0.ɵɵelementStart(0, "mat-list")(1, "p", 5);
|
|
2887
2775
|
i0.ɵɵtext(2);
|
|
2888
2776
|
i0.ɵɵpipe(3, "translate");
|
|
2889
2777
|
i0.ɵɵelementEnd();
|
|
@@ -3019,7 +2907,7 @@ let MapLegendToolComponent = class MapLegendToolComponent {
|
|
|
3019
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)); };
|
|
3020
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) {
|
|
3021
2909
|
i0.ɵɵtemplate(0, MapLegendToolComponent_igo_layer_legend_list_0_Template, 2, 6, "igo-layer-legend-list", 0);
|
|
3022
|
-
i0.ɵɵtemplate(1, MapLegendToolComponent_1_Template, 1, 0,
|
|
2910
|
+
i0.ɵɵtemplate(1, MapLegendToolComponent_1_Template, 1, 0, null, 1);
|
|
3023
2911
|
i0.ɵɵpipe(2, "async");
|
|
3024
2912
|
i0.ɵɵtemplate(3, MapLegendToolComponent_p_3_Template, 5, 7, "p", 2);
|
|
3025
2913
|
i0.ɵɵpipe(4, "async");
|
|
@@ -3032,7 +2920,7 @@ MapLegendToolComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MapL
|
|
|
3032
2920
|
i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(2, 4, ctx.layers$).length !== 0)("ngIfElse", _r3);
|
|
3033
2921
|
i0.ɵɵadvance(2);
|
|
3034
2922
|
i0.ɵɵproperty("ngIf", !ctx.allowShowAllLegends && i0.ɵɵpipeBind1(4, 6, ctx.layers$).length !== 0 && i0.ɵɵpipeBind1(5, 8, ctx.visibleOrInRangeLayers$).length === 0);
|
|
3035
|
-
} },
|
|
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}"] });
|
|
3036
2924
|
MapLegendToolComponent = __decorate([
|
|
3037
2925
|
ToolComponent({
|
|
3038
2926
|
name: 'mapLegend',
|
|
@@ -3042,11 +2930,7 @@ MapLegendToolComponent = __decorate([
|
|
|
3042
2930
|
], MapLegendToolComponent);
|
|
3043
2931
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MapLegendToolComponent, [{
|
|
3044
2932
|
type: Component,
|
|
3045
|
-
args: [{
|
|
3046
|
-
selector: 'igo-map-legend-tool',
|
|
3047
|
-
templateUrl: './map-legend-tool.component.html',
|
|
3048
|
-
styleUrls: ['./map-legend-tool.component.scss']
|
|
3049
|
-
}]
|
|
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"] }]
|
|
3050
2934
|
}], function () { return [{ type: MapState }, { type: ToolState }, { type: i1$1.SearchSourceService }, { type: i0.ChangeDetectorRef }]; }, { updateLegendOnResolutionChange: [{
|
|
3051
2935
|
type: Input
|
|
3052
2936
|
}], layerAdditionAllowed: [{
|
|
@@ -3062,7 +2946,7 @@ MapLegendToolComponent = __decorate([
|
|
|
3062
2946
|
function AdvancedSwipeComponent_div_0_mat_option_12_Template(rf, ctx) { if (rf & 1) {
|
|
3063
2947
|
const _r7 = i0.ɵɵgetCurrentView();
|
|
3064
2948
|
i0.ɵɵelementStart(0, "mat-option", 5);
|
|
3065
|
-
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)); });
|
|
3066
2950
|
i0.ɵɵtext(1);
|
|
3067
2951
|
i0.ɵɵelementEnd();
|
|
3068
2952
|
} if (rf & 2) {
|
|
@@ -3073,30 +2957,23 @@ function AdvancedSwipeComponent_div_0_mat_option_12_Template(rf, ctx) { if (rf &
|
|
|
3073
2957
|
} }
|
|
3074
2958
|
function AdvancedSwipeComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
3075
2959
|
const _r9 = i0.ɵɵgetCurrentView();
|
|
3076
|
-
i0.ɵɵelementStart(0, "div", 2);
|
|
3077
|
-
i0.ɵɵelementStart(1, "form", 3);
|
|
3078
|
-
i0.ɵɵelementStart(2, "mat-form-field");
|
|
3079
|
-
i0.ɵɵelementStart(3, "mat-label");
|
|
2960
|
+
i0.ɵɵelementStart(0, "div", 2)(1, "form", 3)(2, "mat-form-field")(3, "mat-label");
|
|
3080
2961
|
i0.ɵɵtext(4);
|
|
3081
2962
|
i0.ɵɵpipe(5, "translate");
|
|
3082
2963
|
i0.ɵɵelementEnd();
|
|
3083
|
-
i0.ɵɵelementStart(6, "mat-select", 4);
|
|
3084
|
-
i0.ɵɵ
|
|
3085
|
-
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)); });
|
|
3086
2966
|
i0.ɵɵtext(9);
|
|
3087
2967
|
i0.ɵɵpipe(10, "translate");
|
|
3088
2968
|
i0.ɵɵelementEnd();
|
|
3089
2969
|
i0.ɵɵelement(11, "mat-divider");
|
|
3090
2970
|
i0.ɵɵtemplate(12, AdvancedSwipeComponent_div_0_mat_option_12_Template, 2, 2, "mat-option", 7);
|
|
3091
|
-
i0.ɵɵelementEnd();
|
|
3092
|
-
i0.ɵɵelementEnd();
|
|
3093
|
-
i0.ɵɵelementEnd();
|
|
2971
|
+
i0.ɵɵelementEnd()()();
|
|
3094
2972
|
i0.ɵɵelementStart(13, "mat-slide-toggle", 8);
|
|
3095
|
-
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)); });
|
|
3096
2974
|
i0.ɵɵtext(14);
|
|
3097
2975
|
i0.ɵɵpipe(15, "translate");
|
|
3098
|
-
i0.ɵɵelementEnd();
|
|
3099
|
-
i0.ɵɵelementEnd();
|
|
2976
|
+
i0.ɵɵelementEnd()();
|
|
3100
2977
|
} if (rf & 2) {
|
|
3101
2978
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
3102
2979
|
i0.ɵɵadvance(1);
|
|
@@ -3116,8 +2993,7 @@ function AdvancedSwipeComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
3116
2993
|
} }
|
|
3117
2994
|
function AdvancedSwipeComponent_ng_template_1_Template(rf, ctx) { if (rf & 1) {
|
|
3118
2995
|
const _r12 = i0.ɵɵgetCurrentView();
|
|
3119
|
-
i0.ɵɵelementStart(0, "mat-list");
|
|
3120
|
-
i0.ɵɵelementStart(1, "p", 9);
|
|
2996
|
+
i0.ɵɵelementStart(0, "mat-list")(1, "p", 9);
|
|
3121
2997
|
i0.ɵɵtext(2);
|
|
3122
2998
|
i0.ɵɵpipe(3, "translate");
|
|
3123
2999
|
i0.ɵɵelementEnd();
|
|
@@ -3128,28 +3004,24 @@ function AdvancedSwipeComponent_ng_template_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
3128
3004
|
i0.ɵɵelementStart(7, "mat-list-item");
|
|
3129
3005
|
i0.ɵɵelement(8, "mat-icon", 10);
|
|
3130
3006
|
i0.ɵɵelementStart(9, "h4", 11);
|
|
3131
|
-
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()); });
|
|
3132
3008
|
i0.ɵɵtext(10);
|
|
3133
3009
|
i0.ɵɵpipe(11, "translate");
|
|
3134
|
-
i0.ɵɵelementEnd();
|
|
3135
|
-
i0.ɵɵelementEnd();
|
|
3010
|
+
i0.ɵɵelementEnd()();
|
|
3136
3011
|
i0.ɵɵelementStart(12, "mat-list-item");
|
|
3137
3012
|
i0.ɵɵelement(13, "mat-icon", 12);
|
|
3138
3013
|
i0.ɵɵelementStart(14, "h4", 13);
|
|
3139
|
-
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()); });
|
|
3140
3015
|
i0.ɵɵtext(15);
|
|
3141
3016
|
i0.ɵɵpipe(16, "translate");
|
|
3142
|
-
i0.ɵɵelementEnd();
|
|
3143
|
-
i0.ɵɵelementEnd();
|
|
3017
|
+
i0.ɵɵelementEnd()();
|
|
3144
3018
|
i0.ɵɵelementStart(17, "mat-list-item");
|
|
3145
3019
|
i0.ɵɵelement(18, "mat-icon", 14);
|
|
3146
3020
|
i0.ɵɵelementStart(19, "h4", 15);
|
|
3147
|
-
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()); });
|
|
3148
3022
|
i0.ɵɵtext(20);
|
|
3149
3023
|
i0.ɵɵpipe(21, "translate");
|
|
3150
|
-
i0.ɵɵelementEnd();
|
|
3151
|
-
i0.ɵɵelementEnd();
|
|
3152
|
-
i0.ɵɵelementEnd();
|
|
3024
|
+
i0.ɵɵelementEnd()()();
|
|
3153
3025
|
} if (rf & 2) {
|
|
3154
3026
|
i0.ɵɵadvance(2);
|
|
3155
3027
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 5, "igo.integration.advanced-map-tool.advanced-swipe.empty"), "");
|
|
@@ -3260,22 +3132,18 @@ class AdvancedSwipeComponent {
|
|
|
3260
3132
|
this.toolState.toolbox.activateTool('contextManager');
|
|
3261
3133
|
}
|
|
3262
3134
|
}
|
|
3263
|
-
AdvancedSwipeComponent.ɵfac = function AdvancedSwipeComponent_Factory(t) { return new (t || AdvancedSwipeComponent)(i0.ɵɵdirectiveInject(MapState), i0.ɵɵdirectiveInject(i1.ContextService), i0.ɵɵdirectiveInject(i3
|
|
3135
|
+
AdvancedSwipeComponent.ɵfac = function AdvancedSwipeComponent_Factory(t) { return new (t || AdvancedSwipeComponent)(i0.ɵɵdirectiveInject(MapState), i0.ɵɵdirectiveInject(i1.ContextService), i0.ɵɵdirectiveInject(i3.UntypedFormBuilder), i0.ɵɵdirectiveInject(ToolState)); };
|
|
3264
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) {
|
|
3265
3137
|
i0.ɵɵtemplate(0, AdvancedSwipeComponent_div_0_Template, 16, 14, "div", 0);
|
|
3266
3138
|
i0.ɵɵtemplate(1, AdvancedSwipeComponent_ng_template_1_Template, 22, 15, "ng-template", null, 1, i0.ɵɵtemplateRefExtractor);
|
|
3267
3139
|
} if (rf & 2) {
|
|
3268
3140
|
const _r1 = i0.ɵɵreference(2);
|
|
3269
3141
|
i0.ɵɵproperty("ngIf", ctx.userControlledLayerList.length)("ngIfElse", _r1);
|
|
3270
|
-
} },
|
|
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}"] });
|
|
3271
3143
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AdvancedSwipeComponent, [{
|
|
3272
3144
|
type: Component,
|
|
3273
|
-
args: [{
|
|
3274
|
-
|
|
3275
|
-
templateUrl: './advanced-swipe.component.html',
|
|
3276
|
-
styleUrls: ['./advanced-swipe.component.scss']
|
|
3277
|
-
}]
|
|
3278
|
-
}], 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.UntypedFormBuilder }, { type: ToolState }]; }, null); })();
|
|
3279
3147
|
|
|
3280
3148
|
function AdvancedCoordinatesComponent_mat_form_field_0_Template(rf, ctx) { if (rf & 1) {
|
|
3281
3149
|
i0.ɵɵelementStart(0, "mat-form-field", 12);
|
|
@@ -3654,7 +3522,7 @@ class AdvancedCoordinatesComponent {
|
|
|
3654
3522
|
});
|
|
3655
3523
|
}
|
|
3656
3524
|
}
|
|
3657
|
-
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
|
|
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.UntypedFormBuilder)); };
|
|
3658
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) {
|
|
3659
3527
|
i0.ɵɵtemplate(0, AdvancedCoordinatesComponent_mat_form_field_0_Template, 4, 4, "mat-form-field", 0);
|
|
3660
3528
|
i0.ɵɵtemplate(1, AdvancedCoordinatesComponent_ng_template_1_Template, 4, 4, "ng-template", null, 1, i0.ɵɵtemplateRefExtractor);
|
|
@@ -3666,9 +3534,7 @@ AdvancedCoordinatesComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type
|
|
|
3666
3534
|
i0.ɵɵtext(8);
|
|
3667
3535
|
i0.ɵɵpipe(9, "translate");
|
|
3668
3536
|
i0.ɵɵelementEnd();
|
|
3669
|
-
i0.ɵɵelementStart(10, "form", 6);
|
|
3670
|
-
i0.ɵɵelementStart(11, "mat-form-field", 7);
|
|
3671
|
-
i0.ɵɵelementStart(12, "mat-label");
|
|
3537
|
+
i0.ɵɵelementStart(10, "form", 6)(11, "mat-form-field", 7)(12, "mat-label");
|
|
3672
3538
|
i0.ɵɵtext(13);
|
|
3673
3539
|
i0.ɵɵpipe(14, "translate");
|
|
3674
3540
|
i0.ɵɵelementEnd();
|
|
@@ -3676,14 +3542,12 @@ AdvancedCoordinatesComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type
|
|
|
3676
3542
|
i0.ɵɵlistener("valueChange", function AdvancedCoordinatesComponent_Template_mat_select_valueChange_15_listener($event) { return ctx.inputProj = $event; });
|
|
3677
3543
|
i0.ɵɵtemplate(16, AdvancedCoordinatesComponent_mat_option_16_Template, 2, 2, "mat-option", 9);
|
|
3678
3544
|
i0.ɵɵpipe(17, "async");
|
|
3679
|
-
i0.ɵɵelementEnd();
|
|
3680
|
-
i0.ɵɵelementEnd();
|
|
3545
|
+
i0.ɵɵelementEnd()();
|
|
3681
3546
|
i0.ɵɵelementStart(18, "mat-slide-toggle", 10);
|
|
3682
3547
|
i0.ɵɵlistener("change", function AdvancedCoordinatesComponent_Template_mat_slide_toggle_change_18_listener($event) { return ctx.displayCenter($event.checked); });
|
|
3683
3548
|
i0.ɵɵtext(19);
|
|
3684
3549
|
i0.ɵɵpipe(20, "translate");
|
|
3685
|
-
i0.ɵɵelementEnd();
|
|
3686
|
-
i0.ɵɵelementEnd();
|
|
3550
|
+
i0.ɵɵelementEnd()();
|
|
3687
3551
|
i0.ɵɵelementStart(21, "p", 11);
|
|
3688
3552
|
i0.ɵɵtext(22);
|
|
3689
3553
|
i0.ɵɵpipe(23, "translate");
|
|
@@ -3724,15 +3588,11 @@ AdvancedCoordinatesComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type
|
|
|
3724
3588
|
i0.ɵɵtextInterpolate2("", i0.ɵɵpipeBind1(26, 28, "igo.integration.advanced-map-tool.advanced-coordinates.scale"), " ", i0.ɵɵpipeBind1(27, 30, ctx.formattedScale$), "");
|
|
3725
3589
|
i0.ɵɵadvance(4);
|
|
3726
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"), "");
|
|
3727
|
-
} },
|
|
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}"] });
|
|
3728
3592
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AdvancedCoordinatesComponent, [{
|
|
3729
3593
|
type: Component,
|
|
3730
|
-
args: [{
|
|
3731
|
-
|
|
3732
|
-
templateUrl: './advanced-coordinates.component.html',
|
|
3733
|
-
styleUrls: ['./advanced-coordinates.component.scss']
|
|
3734
|
-
}]
|
|
3735
|
-
}], 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.UntypedFormBuilder }]; }, { projectionsLimitations: [{
|
|
3736
3596
|
type: Input
|
|
3737
3597
|
}] }); })();
|
|
3738
3598
|
|
|
@@ -3759,21 +3619,17 @@ AdvancedMapToolComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Ad
|
|
|
3759
3619
|
i0.ɵɵtext(1);
|
|
3760
3620
|
i0.ɵɵpipe(2, "translate");
|
|
3761
3621
|
i0.ɵɵelementEnd();
|
|
3762
|
-
i0.ɵɵelement(3, "igo-advanced-swipe");
|
|
3763
|
-
i0.ɵɵelement(4, "mat-divider", 1);
|
|
3622
|
+
i0.ɵɵelement(3, "igo-advanced-swipe")(4, "mat-divider", 1);
|
|
3764
3623
|
i0.ɵɵelementStart(5, "h4", 0);
|
|
3765
3624
|
i0.ɵɵtext(6);
|
|
3766
3625
|
i0.ɵɵpipe(7, "translate");
|
|
3767
3626
|
i0.ɵɵelementEnd();
|
|
3768
|
-
i0.ɵɵelement(8, "igo-advanced-coordinates");
|
|
3769
|
-
i0.ɵɵelement(9, "mat-divider", 1);
|
|
3627
|
+
i0.ɵɵelement(8, "igo-advanced-coordinates")(9, "mat-divider", 1);
|
|
3770
3628
|
i0.ɵɵelementStart(10, "h4", 0);
|
|
3771
3629
|
i0.ɵɵtext(11);
|
|
3772
3630
|
i0.ɵɵpipe(12, "translate");
|
|
3773
3631
|
i0.ɵɵelementEnd();
|
|
3774
|
-
i0.ɵɵelementStart(13, "div", 2);
|
|
3775
|
-
i0.ɵɵelementStart(14, "div", 3);
|
|
3776
|
-
i0.ɵɵelementStart(15, "mat-slide-toggle", 4);
|
|
3632
|
+
i0.ɵɵelementStart(13, "div", 2)(14, "div", 3)(15, "mat-slide-toggle", 4);
|
|
3777
3633
|
i0.ɵɵlistener("change", function AdvancedMapToolComponent_Template_mat_slide_toggle_change_15_listener($event) { return ctx.toggleTracking($event.checked); });
|
|
3778
3634
|
i0.ɵɵpipe(16, "async");
|
|
3779
3635
|
i0.ɵɵtext(17);
|
|
@@ -3785,9 +3641,7 @@ AdvancedMapToolComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Ad
|
|
|
3785
3641
|
i0.ɵɵpipe(21, "async");
|
|
3786
3642
|
i0.ɵɵtext(22);
|
|
3787
3643
|
i0.ɵɵpipe(23, "translate");
|
|
3788
|
-
i0.ɵɵelementEnd();
|
|
3789
|
-
i0.ɵɵelementEnd();
|
|
3790
|
-
i0.ɵɵelementEnd();
|
|
3644
|
+
i0.ɵɵelementEnd()()();
|
|
3791
3645
|
} if (rf & 2) {
|
|
3792
3646
|
i0.ɵɵadvance(1);
|
|
3793
3647
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 10, "igo.integration.advanced-map-tool.advanced-swipe.swipe-tool"));
|
|
@@ -3803,7 +3657,7 @@ AdvancedMapToolComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Ad
|
|
|
3803
3657
|
i0.ɵɵproperty("disabled", i0.ɵɵpipeBind1(20, 20, ctx.tracking$) !== true)("checked", i0.ɵɵpipeBind1(21, 22, ctx.followPosition$))("labelPosition", "before");
|
|
3804
3658
|
i0.ɵɵadvance(3);
|
|
3805
3659
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(23, 24, "igo.integration.advanced-map-tool.geolocation.follow"), " ");
|
|
3806
|
-
} },
|
|
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}"] });
|
|
3807
3661
|
AdvancedMapToolComponent = __decorate([
|
|
3808
3662
|
ToolComponent({
|
|
3809
3663
|
name: 'advancedMap',
|
|
@@ -3816,11 +3670,7 @@ AdvancedMapToolComponent = __decorate([
|
|
|
3816
3670
|
], AdvancedMapToolComponent);
|
|
3817
3671
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AdvancedMapToolComponent, [{
|
|
3818
3672
|
type: Component,
|
|
3819
|
-
args: [{
|
|
3820
|
-
selector: 'igo-advanced-map-tool',
|
|
3821
|
-
templateUrl: './advanced-map-tool.component.html',
|
|
3822
|
-
styleUrls: ['./advanced-map-tool.component.scss']
|
|
3823
|
-
}]
|
|
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"] }]
|
|
3824
3674
|
}], function () { return [{ type: MapState }]; }, null); })();
|
|
3825
3675
|
|
|
3826
3676
|
/**
|
|
@@ -3929,23 +3779,22 @@ class MapProximityState {
|
|
|
3929
3779
|
type: FEATURE,
|
|
3930
3780
|
geometry,
|
|
3931
3781
|
projection: projection.getCode(),
|
|
3932
|
-
properties:
|
|
3933
|
-
|
|
3934
|
-
|
|
3935
|
-
|
|
3936
|
-
|
|
3937
|
-
|
|
3938
|
-
|
|
3939
|
-
|
|
3782
|
+
properties: { ...feature.properties, ...{
|
|
3783
|
+
id: featureId,
|
|
3784
|
+
element: title,
|
|
3785
|
+
distance,
|
|
3786
|
+
coordFromCalculatedDistance,
|
|
3787
|
+
layerSrcId: layer.id,
|
|
3788
|
+
layerSrcTitle: layer.title
|
|
3789
|
+
} },
|
|
3940
3790
|
meta: {
|
|
3941
3791
|
id: featureId
|
|
3942
3792
|
}
|
|
3943
3793
|
});
|
|
3944
3794
|
}
|
|
3945
3795
|
getQueryTitle(feature, layer) {
|
|
3946
|
-
var _a, _b;
|
|
3947
3796
|
let title;
|
|
3948
|
-
if (
|
|
3797
|
+
if (layer.options?.source?.options) {
|
|
3949
3798
|
const dataSourceOptions = layer.options.source
|
|
3950
3799
|
.options;
|
|
3951
3800
|
if (dataSourceOptions.queryTitle) {
|
|
@@ -4000,7 +3849,7 @@ function MapProximityToolComponent_mat_form_field_5_Template(rf, ctx) { if (rf &
|
|
|
4000
3849
|
function MapProximityToolComponent_button_7_Template(rf, ctx) { if (rf & 1) {
|
|
4001
3850
|
const _r9 = i0.ɵɵgetCurrentView();
|
|
4002
3851
|
i0.ɵɵelementStart(0, "button", 18);
|
|
4003
|
-
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()); });
|
|
4004
3853
|
i0.ɵɵelement(1, "mat-icon", 19);
|
|
4005
3854
|
i0.ɵɵelementEnd();
|
|
4006
3855
|
} }
|
|
@@ -4074,8 +3923,7 @@ let MapProximityToolComponent = class MapProximityToolComponent {
|
|
|
4074
3923
|
* Copy the coordinates to a clipboard
|
|
4075
3924
|
*/
|
|
4076
3925
|
copyTextToClipboard() {
|
|
4077
|
-
|
|
4078
|
-
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());
|
|
4079
3927
|
if (successful) {
|
|
4080
3928
|
const translate = this.languageService.translate;
|
|
4081
3929
|
const title = translate.instant('igo.integration.map-proximity-tool.copyTitle');
|
|
@@ -4091,8 +3939,7 @@ MapProximityToolComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: M
|
|
|
4091
3939
|
let _t;
|
|
4092
3940
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.table = _t.first);
|
|
4093
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) {
|
|
4094
|
-
i0.ɵɵelement(0, "igo-entity-table", 0, 1);
|
|
4095
|
-
i0.ɵɵelement(2, "br");
|
|
3942
|
+
i0.ɵɵelement(0, "igo-entity-table", 0, 1)(2, "br");
|
|
4096
3943
|
i0.ɵɵtemplate(3, MapProximityToolComponent_mat_form_field_3_Template, 4, 4, "mat-form-field", 2);
|
|
4097
3944
|
i0.ɵɵpipe(4, "async");
|
|
4098
3945
|
i0.ɵɵtemplate(5, MapProximityToolComponent_mat_form_field_5_Template, 4, 4, "mat-form-field", 3);
|
|
@@ -4100,14 +3947,11 @@ MapProximityToolComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: M
|
|
|
4100
3947
|
i0.ɵɵtemplate(7, MapProximityToolComponent_button_7_Template, 2, 0, "button", 4);
|
|
4101
3948
|
i0.ɵɵpipe(8, "async");
|
|
4102
3949
|
i0.ɵɵpipe(9, "async");
|
|
4103
|
-
i0.ɵɵelementStart(10, "div", 5);
|
|
4104
|
-
i0.ɵɵelementStart(11, "mat-label", 6);
|
|
3950
|
+
i0.ɵɵelementStart(10, "div", 5)(11, "mat-label", 6);
|
|
4105
3951
|
i0.ɵɵtext(12);
|
|
4106
3952
|
i0.ɵɵpipe(13, "translate");
|
|
4107
|
-
i0.ɵɵelementEnd();
|
|
4108
|
-
i0.ɵɵ
|
|
4109
|
-
i0.ɵɵelementStart(14, "div", 7);
|
|
4110
|
-
i0.ɵɵelementStart(15, "mat-radio-group", 8);
|
|
3953
|
+
i0.ɵɵelementEnd()();
|
|
3954
|
+
i0.ɵɵelementStart(14, "div", 7)(15, "mat-radio-group", 8);
|
|
4111
3955
|
i0.ɵɵlistener("change", function MapProximityToolComponent_Template_mat_radio_group_change_15_listener($event) { return ctx.onLocationTypeChange($event); });
|
|
4112
3956
|
i0.ɵɵelementStart(16, "mat-radio-button", 9);
|
|
4113
3957
|
i0.ɵɵpipe(17, "async");
|
|
@@ -4118,21 +3962,15 @@ MapProximityToolComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: M
|
|
|
4118
3962
|
i0.ɵɵpipe(21, "async");
|
|
4119
3963
|
i0.ɵɵtext(22);
|
|
4120
3964
|
i0.ɵɵpipe(23, "translate");
|
|
4121
|
-
i0.ɵɵelementEnd();
|
|
4122
|
-
i0.ɵɵ
|
|
4123
|
-
i0.ɵɵelementEnd();
|
|
4124
|
-
i0.ɵɵelementStart(24, "div", 11);
|
|
4125
|
-
i0.ɵɵelementStart(25, "mat-form-field", 12);
|
|
4126
|
-
i0.ɵɵelementStart(26, "mat-label");
|
|
3965
|
+
i0.ɵɵelementEnd()()();
|
|
3966
|
+
i0.ɵɵelementStart(24, "div", 11)(25, "mat-form-field", 12)(26, "mat-label");
|
|
4127
3967
|
i0.ɵɵtext(27);
|
|
4128
3968
|
i0.ɵɵpipe(28, "translate");
|
|
4129
3969
|
i0.ɵɵelementEnd();
|
|
4130
3970
|
i0.ɵɵelementStart(29, "input", 13);
|
|
4131
3971
|
i0.ɵɵlistener("ngModelChange", function MapProximityToolComponent_Template_input_ngModelChange_29_listener($event) { return ctx.maxDistance = $event; });
|
|
4132
3972
|
i0.ɵɵpipe(30, "translate");
|
|
4133
|
-
i0.ɵɵelementEnd();
|
|
4134
|
-
i0.ɵɵelementEnd();
|
|
4135
|
-
i0.ɵɵelementEnd();
|
|
3973
|
+
i0.ɵɵelementEnd()()();
|
|
4136
3974
|
} if (rf & 2) {
|
|
4137
3975
|
i0.ɵɵproperty("store", ctx.mapProximityState.proximityFeatureStore)("template", ctx.tableTemplate);
|
|
4138
3976
|
i0.ɵɵadvance(3);
|
|
@@ -4156,7 +3994,7 @@ MapProximityToolComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: M
|
|
|
4156
3994
|
i0.ɵɵadvance(2);
|
|
4157
3995
|
i0.ɵɵpropertyInterpolate("placeholder", i0.ɵɵpipeBind1(30, 33, "igo.integration.map-proximity-tool.radiusM"));
|
|
4158
3996
|
i0.ɵɵproperty("ngModel", ctx.maxDistance);
|
|
4159
|
-
} },
|
|
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}"] });
|
|
4160
3998
|
MapProximityToolComponent = __decorate([
|
|
4161
3999
|
ToolComponent({
|
|
4162
4000
|
name: 'map-proximity',
|
|
@@ -4169,11 +4007,7 @@ MapProximityToolComponent = __decorate([
|
|
|
4169
4007
|
], MapProximityToolComponent);
|
|
4170
4008
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MapProximityToolComponent, [{
|
|
4171
4009
|
type: Component,
|
|
4172
|
-
args: [{
|
|
4173
|
-
selector: 'igo-map-proximity-tool',
|
|
4174
|
-
templateUrl: './map-proximity-tool.component.html',
|
|
4175
|
-
styleUrls: ['./map-proximity-tool.component.scss']
|
|
4176
|
-
}]
|
|
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"] }]
|
|
4177
4011
|
}], function () { return [{ type: MapState }, { type: MapProximityState }, { type: i2.LanguageService }, { type: i2.MessageService }]; }, { table: [{
|
|
4178
4012
|
type: ViewChild,
|
|
4179
4013
|
args: ['table', { static: true }]
|
|
@@ -4189,36 +4023,34 @@ class IgoAppMapModule {
|
|
|
4189
4023
|
}
|
|
4190
4024
|
IgoAppMapModule.ɵfac = function IgoAppMapModule_Factory(t) { return new (t || IgoAppMapModule)(); };
|
|
4191
4025
|
IgoAppMapModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: IgoAppMapModule });
|
|
4192
|
-
IgoAppMapModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [
|
|
4193
|
-
|
|
4194
|
-
|
|
4195
|
-
|
|
4196
|
-
|
|
4197
|
-
|
|
4198
|
-
|
|
4199
|
-
|
|
4200
|
-
|
|
4201
|
-
|
|
4202
|
-
|
|
4203
|
-
|
|
4204
|
-
|
|
4205
|
-
|
|
4206
|
-
|
|
4207
|
-
|
|
4208
|
-
|
|
4209
|
-
|
|
4210
|
-
|
|
4211
|
-
|
|
4212
|
-
|
|
4213
|
-
|
|
4214
|
-
|
|
4215
|
-
|
|
4216
|
-
|
|
4217
|
-
|
|
4218
|
-
|
|
4219
|
-
|
|
4220
|
-
IgoEntityTableModule
|
|
4221
|
-
]] });
|
|
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] });
|
|
4222
4054
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IgoAppMapModule, [{
|
|
4223
4055
|
type: NgModule,
|
|
4224
4056
|
args: [{
|
|
@@ -4345,7 +4177,7 @@ MeasurerToolComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Measu
|
|
|
4345
4177
|
i0.ɵɵelement(0, "igo-measurer", 0);
|
|
4346
4178
|
} if (rf & 2) {
|
|
4347
4179
|
i0.ɵɵproperty("store", ctx.store)("map", ctx.map);
|
|
4348
|
-
} },
|
|
4180
|
+
} }, dependencies: [i1$1.MeasurerComponent], encapsulation: 2, changeDetection: 0 });
|
|
4349
4181
|
MeasurerToolComponent = __decorate([
|
|
4350
4182
|
ToolComponent({
|
|
4351
4183
|
name: 'measurer',
|
|
@@ -4355,11 +4187,7 @@ MeasurerToolComponent = __decorate([
|
|
|
4355
4187
|
], MeasurerToolComponent);
|
|
4356
4188
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MeasurerToolComponent, [{
|
|
4357
4189
|
type: Component,
|
|
4358
|
-
args: [{
|
|
4359
|
-
selector: 'igo-measurer-tool',
|
|
4360
|
-
templateUrl: './measurer-tool.component.html',
|
|
4361
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
|
4362
|
-
}]
|
|
4190
|
+
args: [{ selector: 'igo-measurer-tool', changeDetection: ChangeDetectionStrategy.OnPush, template: "<igo-measurer [store]=\"store\" [map]=\"map\"></igo-measurer>\r\n" }]
|
|
4363
4191
|
}], function () { return [{ type: MeasureState }, { type: MapState }]; }, null); })();
|
|
4364
4192
|
|
|
4365
4193
|
/**
|
|
@@ -4369,9 +4197,7 @@ class IgoAppMeasurerToolModule {
|
|
|
4369
4197
|
}
|
|
4370
4198
|
IgoAppMeasurerToolModule.ɵfac = function IgoAppMeasurerToolModule_Factory(t) { return new (t || IgoAppMeasurerToolModule)(); };
|
|
4371
4199
|
IgoAppMeasurerToolModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: IgoAppMeasurerToolModule });
|
|
4372
|
-
IgoAppMeasurerToolModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [
|
|
4373
|
-
IgoMeasurerModule
|
|
4374
|
-
]] });
|
|
4200
|
+
IgoAppMeasurerToolModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [IgoMeasurerModule] });
|
|
4375
4201
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IgoAppMeasurerToolModule, [{
|
|
4376
4202
|
type: NgModule,
|
|
4377
4203
|
args: [{
|
|
@@ -4389,7 +4215,7 @@ class IgoAppMeasureModule {
|
|
|
4389
4215
|
}
|
|
4390
4216
|
IgoAppMeasureModule.ɵfac = function IgoAppMeasureModule_Factory(t) { return new (t || IgoAppMeasureModule)(); };
|
|
4391
4217
|
IgoAppMeasureModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: IgoAppMeasureModule });
|
|
4392
|
-
IgoAppMeasureModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [
|
|
4218
|
+
IgoAppMeasureModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [IgoAppMeasurerToolModule] });
|
|
4393
4219
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IgoAppMeasureModule, [{
|
|
4394
4220
|
type: NgModule,
|
|
4395
4221
|
args: [{
|
|
@@ -4415,7 +4241,7 @@ PrintToolComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PrintToo
|
|
|
4415
4241
|
i0.ɵɵelement(0, "igo-print", 0);
|
|
4416
4242
|
} if (rf & 2) {
|
|
4417
4243
|
i0.ɵɵproperty("map", ctx.map);
|
|
4418
|
-
} },
|
|
4244
|
+
} }, dependencies: [i1$1.PrintComponent], encapsulation: 2 });
|
|
4419
4245
|
PrintToolComponent = __decorate([
|
|
4420
4246
|
ToolComponent({
|
|
4421
4247
|
name: 'print',
|
|
@@ -4425,10 +4251,7 @@ PrintToolComponent = __decorate([
|
|
|
4425
4251
|
], PrintToolComponent);
|
|
4426
4252
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PrintToolComponent, [{
|
|
4427
4253
|
type: Component,
|
|
4428
|
-
args: [{
|
|
4429
|
-
selector: 'igo-print-tool',
|
|
4430
|
-
templateUrl: './print-tool.component.html'
|
|
4431
|
-
}]
|
|
4254
|
+
args: [{ selector: 'igo-print-tool', template: "<igo-print [map]=\"map\"></igo-print>\r\n" }]
|
|
4432
4255
|
}], function () { return [{ type: MapState }]; }, null); })();
|
|
4433
4256
|
|
|
4434
4257
|
class IgoAppPrintModule {
|
|
@@ -4441,7 +4264,7 @@ class IgoAppPrintModule {
|
|
|
4441
4264
|
}
|
|
4442
4265
|
IgoAppPrintModule.ɵfac = function IgoAppPrintModule_Factory(t) { return new (t || IgoAppPrintModule)(); };
|
|
4443
4266
|
IgoAppPrintModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: IgoAppPrintModule });
|
|
4444
|
-
IgoAppPrintModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [
|
|
4267
|
+
IgoAppPrintModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [IgoPrintModule] });
|
|
4445
4268
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IgoAppPrintModule, [{
|
|
4446
4269
|
type: NgModule,
|
|
4447
4270
|
args: [{
|
|
@@ -4618,7 +4441,7 @@ class IgoAppSearchBarModule {
|
|
|
4618
4441
|
}
|
|
4619
4442
|
IgoAppSearchBarModule.ɵfac = function IgoAppSearchBarModule_Factory(t) { return new (t || IgoAppSearchBarModule)(); };
|
|
4620
4443
|
IgoAppSearchBarModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: IgoAppSearchBarModule });
|
|
4621
|
-
IgoAppSearchBarModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [
|
|
4444
|
+
IgoAppSearchBarModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [IgoSearchModule] });
|
|
4622
4445
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IgoAppSearchBarModule, [{
|
|
4623
4446
|
type: NgModule,
|
|
4624
4447
|
args: [{
|
|
@@ -4630,25 +4453,18 @@ IgoAppSearchBarModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [[I
|
|
|
4630
4453
|
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(IgoAppSearchBarModule, { declarations: [SearchBarBindingDirective], imports: [IgoSearchModule], exports: [SearchBarBindingDirective] }); })();
|
|
4631
4454
|
|
|
4632
4455
|
function SearchResultsToolComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
4633
|
-
i0.ɵɵelementStart(0, "div", 2);
|
|
4634
|
-
i0.ɵɵelementStart(1, "section", 3);
|
|
4635
|
-
i0.ɵɵelementStart(2, "h4");
|
|
4636
|
-
i0.ɵɵelementStart(3, "strong");
|
|
4456
|
+
i0.ɵɵelementStart(0, "div", 2)(1, "section", 3)(2, "h4")(3, "strong");
|
|
4637
4457
|
i0.ɵɵtext(4);
|
|
4638
4458
|
i0.ɵɵpipe(5, "translate");
|
|
4639
|
-
i0.ɵɵelementEnd();
|
|
4640
|
-
i0.ɵɵ
|
|
4641
|
-
i0.ɵɵelementStart(6, "p");
|
|
4642
|
-
i0.ɵɵelementStart(7, "strong");
|
|
4459
|
+
i0.ɵɵelementEnd()();
|
|
4460
|
+
i0.ɵɵelementStart(6, "p")(7, "strong");
|
|
4643
4461
|
i0.ɵɵtext(8);
|
|
4644
4462
|
i0.ɵɵpipe(9, "translate");
|
|
4645
|
-
i0.ɵɵelementEnd();
|
|
4646
|
-
i0.ɵɵelementEnd();
|
|
4463
|
+
i0.ɵɵelementEnd()();
|
|
4647
4464
|
i0.ɵɵelement(10, "div", 4);
|
|
4648
4465
|
i0.ɵɵpipe(11, "sanitizeHtml");
|
|
4649
4466
|
i0.ɵɵpipe(12, "translate");
|
|
4650
|
-
i0.ɵɵelementEnd();
|
|
4651
|
-
i0.ɵɵelementEnd();
|
|
4467
|
+
i0.ɵɵelementEnd()();
|
|
4652
4468
|
} if (rf & 2) {
|
|
4653
4469
|
i0.ɵɵadvance(4);
|
|
4654
4470
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(5, 3, "igo.integration.searchResultsTool.noResults"));
|
|
@@ -4667,7 +4483,7 @@ function SearchResultsToolComponent_igo_flexible_2_ng_template_5_Template(rf, ct
|
|
|
4667
4483
|
function SearchResultsToolComponent_igo_flexible_2_igo_panel_8_button_4_Template(rf, ctx) { if (rf & 1) {
|
|
4668
4484
|
const _r9 = i0.ɵɵgetCurrentView();
|
|
4669
4485
|
i0.ɵɵelementStart(0, "button", 18);
|
|
4670
|
-
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()); });
|
|
4671
4487
|
i0.ɵɵpipe(1, "translate");
|
|
4672
4488
|
i0.ɵɵpipe(2, "async");
|
|
4673
4489
|
i0.ɵɵelement(3, "mat-icon", 19);
|
|
@@ -4682,18 +4498,16 @@ function SearchResultsToolComponent_igo_flexible_2_igo_panel_8_button_4_Template
|
|
|
4682
4498
|
} }
|
|
4683
4499
|
function SearchResultsToolComponent_igo_flexible_2_igo_panel_8_Template(rf, ctx) { if (rf & 1) {
|
|
4684
4500
|
const _r11 = i0.ɵɵgetCurrentView();
|
|
4685
|
-
i0.ɵɵelementStart(0, "igo-panel", 13);
|
|
4686
|
-
i0.ɵɵ
|
|
4687
|
-
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()); });
|
|
4688
4503
|
i0.ɵɵelement(2, "mat-icon", 15);
|
|
4689
4504
|
i0.ɵɵpipe(3, "async");
|
|
4690
4505
|
i0.ɵɵelementEnd();
|
|
4691
4506
|
i0.ɵɵtemplate(4, SearchResultsToolComponent_igo_flexible_2_igo_panel_8_button_4_Template, 6, 11, "button", 16);
|
|
4692
4507
|
i0.ɵɵelementStart(5, "igo-feature-details", 17);
|
|
4693
|
-
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()); });
|
|
4694
4509
|
i0.ɵɵpipe(6, "async");
|
|
4695
|
-
i0.ɵɵelementEnd();
|
|
4696
|
-
i0.ɵɵelementEnd();
|
|
4510
|
+
i0.ɵɵelementEnd()();
|
|
4697
4511
|
} if (rf & 2) {
|
|
4698
4512
|
const ctx_r5 = i0.ɵɵnextContext(2);
|
|
4699
4513
|
i0.ɵɵproperty("title", ctx_r5.featureTitle);
|
|
@@ -4708,17 +4522,14 @@ function SearchResultsToolComponent_igo_flexible_2_Template(rf, ctx) { if (rf &
|
|
|
4708
4522
|
const _r14 = i0.ɵɵgetCurrentView();
|
|
4709
4523
|
i0.ɵɵelementStart(0, "igo-flexible", 5, 6);
|
|
4710
4524
|
i0.ɵɵpipe(2, "async");
|
|
4711
|
-
i0.ɵɵelementStart(3, "div", 7);
|
|
4712
|
-
i0.ɵɵ
|
|
4713
|
-
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)); });
|
|
4714
4527
|
i0.ɵɵtemplate(5, SearchResultsToolComponent_igo_flexible_2_ng_template_5_Template, 1, 2, "ng-template", null, 9, i0.ɵɵtemplateRefExtractor);
|
|
4715
|
-
i0.ɵɵelementEnd();
|
|
4716
|
-
i0.ɵɵelementEnd();
|
|
4528
|
+
i0.ɵɵelementEnd()();
|
|
4717
4529
|
i0.ɵɵelementStart(7, "div", 10);
|
|
4718
4530
|
i0.ɵɵtemplate(8, SearchResultsToolComponent_igo_flexible_2_igo_panel_8_Template, 7, 10, "igo-panel", 11);
|
|
4719
4531
|
i0.ɵɵpipe(9, "async");
|
|
4720
|
-
i0.ɵɵelementEnd();
|
|
4721
|
-
i0.ɵɵelementEnd();
|
|
4532
|
+
i0.ɵɵelementEnd()();
|
|
4722
4533
|
} if (rf & 2) {
|
|
4723
4534
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
4724
4535
|
i0.ɵɵproperty("state", i0.ɵɵpipeBind1(2, 7, ctx_r1.feature$) ? ctx_r1.topPanelState : "initial");
|
|
@@ -4851,10 +4662,9 @@ let SearchResultsToolComponent = class SearchResultsToolComponent {
|
|
|
4851
4662
|
!result.state.selected &&
|
|
4852
4663
|
!result.state.focused);
|
|
4853
4664
|
featureToHandleGeom.map(result => {
|
|
4854
|
-
var _a;
|
|
4855
4665
|
if (searchResultsGeometryEnabled) {
|
|
4856
4666
|
result.entity.data.meta.style =
|
|
4857
|
-
getCommonVectorStyle(Object.assign({}, { feature: result.entity.data }, this.searchState.searchOverlayStyle,
|
|
4667
|
+
getCommonVectorStyle(Object.assign({}, { feature: result.entity.data }, this.searchState.searchOverlayStyle, result.entity.style?.base ? result.entity.style.base : {}));
|
|
4858
4668
|
this.shownResultsGeometries.push(result.entity.data);
|
|
4859
4669
|
this.map.queryResultsOverlay.addFeature(result.entity.data, FeatureMotion.None);
|
|
4860
4670
|
if (this.hasFeatureEmphasisOnSelection) {
|
|
@@ -4887,7 +4697,6 @@ let SearchResultsToolComponent = class SearchResultsToolComponent {
|
|
|
4887
4697
|
});
|
|
4888
4698
|
}
|
|
4889
4699
|
buildResultEmphasis(result, trigger) {
|
|
4890
|
-
var _a, _b, _c;
|
|
4891
4700
|
if (trigger !== 'shown') {
|
|
4892
4701
|
this.clearFeatureEmphasis(trigger);
|
|
4893
4702
|
}
|
|
@@ -4909,14 +4718,14 @@ let SearchResultsToolComponent = class SearchResultsToolComponent {
|
|
|
4909
4718
|
let zIndexOffset = 0;
|
|
4910
4719
|
switch (trigger) {
|
|
4911
4720
|
case 'focused':
|
|
4912
|
-
computedStyle = getCommonVectorSelectedStyle(Object.assign({}, { feature: abstractResult }, this.searchState.searchOverlayStyleFocus,
|
|
4721
|
+
computedStyle = getCommonVectorSelectedStyle(Object.assign({}, { feature: abstractResult }, this.searchState.searchOverlayStyleFocus, result.style?.focus ? result.style.focus : {}));
|
|
4913
4722
|
zIndexOffset = 2;
|
|
4914
4723
|
break;
|
|
4915
4724
|
case 'shown':
|
|
4916
|
-
computedStyle = getCommonVectorStyle(Object.assign({}, { feature: abstractResult }, this.searchState.searchOverlayStyle,
|
|
4725
|
+
computedStyle = getCommonVectorStyle(Object.assign({}, { feature: abstractResult }, this.searchState.searchOverlayStyle, result.style?.base ? result.style.base : {}));
|
|
4917
4726
|
break;
|
|
4918
4727
|
case 'selected':
|
|
4919
|
-
computedStyle = getCommonVectorSelectedStyle(Object.assign({}, { feature: abstractResult }, this.searchState.searchOverlayStyleSelection,
|
|
4728
|
+
computedStyle = getCommonVectorSelectedStyle(Object.assign({}, { feature: abstractResult }, this.searchState.searchOverlayStyleSelection, result.style?.selection ? result.style.selection : {}));
|
|
4920
4729
|
zIndexOffset = 1;
|
|
4921
4730
|
break;
|
|
4922
4731
|
}
|
|
@@ -4973,10 +4782,9 @@ let SearchResultsToolComponent = class SearchResultsToolComponent {
|
|
|
4973
4782
|
* @param result A search result that could be a feature
|
|
4974
4783
|
*/
|
|
4975
4784
|
onResultFocus(result) {
|
|
4976
|
-
var _a;
|
|
4977
4785
|
this.focusedResult$.next(result);
|
|
4978
4786
|
if (result.meta.dataType === FEATURE && result.data.geometry) {
|
|
4979
|
-
result.data.meta.style = getCommonVectorSelectedStyle(Object.assign({}, { feature: result.data }, this.searchState.searchOverlayStyleFocus,
|
|
4787
|
+
result.data.meta.style = getCommonVectorSelectedStyle(Object.assign({}, { feature: result.data }, this.searchState.searchOverlayStyleFocus, result.style?.focus ? result.style.focus : {}));
|
|
4980
4788
|
const feature = this.map.searchResultsOverlay.dataSource.ol.getFeatureById(result.meta.id);
|
|
4981
4789
|
if (feature) {
|
|
4982
4790
|
feature.setStyle(result.data.meta.style);
|
|
@@ -4986,7 +4794,6 @@ let SearchResultsToolComponent = class SearchResultsToolComponent {
|
|
|
4986
4794
|
}
|
|
4987
4795
|
}
|
|
4988
4796
|
onResultUnfocus(result) {
|
|
4989
|
-
var _a;
|
|
4990
4797
|
this.focusedResult$.next(undefined);
|
|
4991
4798
|
if (result.meta.dataType !== FEATURE) {
|
|
4992
4799
|
return;
|
|
@@ -4994,7 +4801,7 @@ let SearchResultsToolComponent = class SearchResultsToolComponent {
|
|
|
4994
4801
|
if (this.store.state.get(result).selected === true) {
|
|
4995
4802
|
const feature = this.map.searchResultsOverlay.dataSource.ol.getFeatureById(result.meta.id);
|
|
4996
4803
|
if (feature) {
|
|
4997
|
-
const style = getCommonVectorSelectedStyle(Object.assign({}, { feature: result.data }, this.searchState.searchOverlayStyleFocus,
|
|
4804
|
+
const style = getCommonVectorSelectedStyle(Object.assign({}, { feature: result.data }, this.searchState.searchOverlayStyleFocus, result.style?.focus ? result.style.focus : {}));
|
|
4998
4805
|
feature.setStyle(style);
|
|
4999
4806
|
}
|
|
5000
4807
|
return;
|
|
@@ -5109,7 +4916,6 @@ let SearchResultsToolComponent = class SearchResultsToolComponent {
|
|
|
5109
4916
|
* @param result A search result that could be a feature
|
|
5110
4917
|
*/
|
|
5111
4918
|
tryAddFeatureToMap(result) {
|
|
5112
|
-
var _a;
|
|
5113
4919
|
if (result.meta.dataType !== FEATURE) {
|
|
5114
4920
|
return undefined;
|
|
5115
4921
|
}
|
|
@@ -5118,7 +4924,7 @@ let SearchResultsToolComponent = class SearchResultsToolComponent {
|
|
|
5118
4924
|
if (!feature.geometry) {
|
|
5119
4925
|
return;
|
|
5120
4926
|
}
|
|
5121
|
-
feature.meta.style = getCommonVectorSelectedStyle(Object.assign({}, { feature }, this.searchState.searchOverlayStyleSelection,
|
|
4927
|
+
feature.meta.style = getCommonVectorSelectedStyle(Object.assign({}, { feature }, this.searchState.searchOverlayStyleSelection, result.style?.selection ? result.style.selection : {}));
|
|
5122
4928
|
this.map.searchResultsOverlay.addFeature(feature);
|
|
5123
4929
|
}
|
|
5124
4930
|
isScrolledIntoView(elemSource, elem) {
|
|
@@ -5178,7 +4984,7 @@ SearchResultsToolComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type:
|
|
|
5178
4984
|
i0.ɵɵproperty("ngIf", (!ctx.store || ctx.store.stateView.empty) && i0.ɵɵpipeBind1(1, 2, ctx.debouncedEmpty$));
|
|
5179
4985
|
i0.ɵɵadvance(2);
|
|
5180
4986
|
i0.ɵɵproperty("ngIf", ctx.store && i0.ɵɵpipeBind1(3, 4, ctx.store.stateView.empty$) === false);
|
|
5181
|
-
} },
|
|
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 });
|
|
5182
4988
|
SearchResultsToolComponent = __decorate([
|
|
5183
4989
|
ToolComponent({
|
|
5184
4990
|
name: 'searchResults',
|
|
@@ -5188,11 +4994,7 @@ SearchResultsToolComponent = __decorate([
|
|
|
5188
4994
|
], SearchResultsToolComponent);
|
|
5189
4995
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SearchResultsToolComponent, [{
|
|
5190
4996
|
type: Component,
|
|
5191
|
-
args: [{
|
|
5192
|
-
selector: 'igo-search-results-tool',
|
|
5193
|
-
templateUrl: './search-results-tool.component.html',
|
|
5194
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
|
5195
|
-
}]
|
|
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" }]
|
|
5196
4998
|
}], function () { return [{ type: MapState }, { type: SearchState }, { type: i0.ElementRef }, { type: ToolState }, { type: DirectionState }, { type: i2.ConfigService }]; }, { showIcons: [{
|
|
5197
4999
|
type: Input
|
|
5198
5000
|
}], topPanelStateDefault: [{
|
|
@@ -5208,20 +5010,18 @@ class IgoAppSearchResultsToolModule {
|
|
|
5208
5010
|
}
|
|
5209
5011
|
IgoAppSearchResultsToolModule.ɵfac = function IgoAppSearchResultsToolModule_Factory(t) { return new (t || IgoAppSearchResultsToolModule)(); };
|
|
5210
5012
|
IgoAppSearchResultsToolModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: IgoAppSearchResultsToolModule });
|
|
5211
|
-
IgoAppSearchResultsToolModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [
|
|
5212
|
-
|
|
5213
|
-
|
|
5214
|
-
|
|
5215
|
-
|
|
5216
|
-
|
|
5217
|
-
|
|
5218
|
-
|
|
5219
|
-
|
|
5220
|
-
|
|
5221
|
-
|
|
5222
|
-
|
|
5223
|
-
IgoCustomHtmlModule
|
|
5224
|
-
]] });
|
|
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] });
|
|
5225
5025
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IgoAppSearchResultsToolModule, [{
|
|
5226
5026
|
type: NgModule,
|
|
5227
5027
|
args: [{
|
|
@@ -5261,7 +5061,7 @@ class IgoAppSearchModule {
|
|
|
5261
5061
|
}
|
|
5262
5062
|
IgoAppSearchModule.ɵfac = function IgoAppSearchModule_Factory(t) { return new (t || IgoAppSearchModule)(); };
|
|
5263
5063
|
IgoAppSearchModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: IgoAppSearchModule });
|
|
5264
|
-
IgoAppSearchModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [
|
|
5064
|
+
IgoAppSearchModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [IgoAppSearchBarModule,
|
|
5265
5065
|
IgoAppSearchResultsToolModule] });
|
|
5266
5066
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IgoAppSearchModule, [{
|
|
5267
5067
|
type: NgModule,
|
|
@@ -5283,7 +5083,7 @@ let OgcFilterToolComponent = class OgcFilterToolComponent {
|
|
|
5283
5083
|
OgcFilterToolComponent.ɵfac = function OgcFilterToolComponent_Factory(t) { return new (t || OgcFilterToolComponent)(); };
|
|
5284
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) {
|
|
5285
5085
|
i0.ɵɵelement(0, "igo-ogc-filterable-list", 0);
|
|
5286
|
-
} },
|
|
5086
|
+
} }, dependencies: [i1$1.OgcFilterableListComponent, i1$1.OgcFilterableListBindingDirective], encapsulation: 2 });
|
|
5287
5087
|
OgcFilterToolComponent = __decorate([
|
|
5288
5088
|
ToolComponent({
|
|
5289
5089
|
name: 'ogcFilter',
|
|
@@ -5293,10 +5093,7 @@ OgcFilterToolComponent = __decorate([
|
|
|
5293
5093
|
], OgcFilterToolComponent);
|
|
5294
5094
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(OgcFilterToolComponent, [{
|
|
5295
5095
|
type: Component,
|
|
5296
|
-
args: [{
|
|
5297
|
-
selector: 'igo-ogc-filter-tool',
|
|
5298
|
-
templateUrl: './ogc-filter-tool.component.html'
|
|
5299
|
-
}]
|
|
5096
|
+
args: [{ selector: 'igo-ogc-filter-tool', template: "<igo-ogc-filterable-list igoOgcFilterableListBinding></igo-ogc-filterable-list>\r\n\r\n\r\n" }]
|
|
5300
5097
|
}], function () { return []; }, null); })();
|
|
5301
5098
|
|
|
5302
5099
|
let TimeFilterToolComponent = class TimeFilterToolComponent {
|
|
@@ -5305,7 +5102,7 @@ let TimeFilterToolComponent = class TimeFilterToolComponent {
|
|
|
5305
5102
|
TimeFilterToolComponent.ɵfac = function TimeFilterToolComponent_Factory(t) { return new (t || TimeFilterToolComponent)(); };
|
|
5306
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) {
|
|
5307
5104
|
i0.ɵɵelement(0, "igo-time-filter-list", 0);
|
|
5308
|
-
} },
|
|
5105
|
+
} }, dependencies: [i1$1.TimeFilterListComponent, i1$1.TimeFilterListBindingDirective], encapsulation: 2 });
|
|
5309
5106
|
TimeFilterToolComponent = __decorate([
|
|
5310
5107
|
ToolComponent({
|
|
5311
5108
|
name: 'timeFilter',
|
|
@@ -5315,10 +5112,7 @@ TimeFilterToolComponent = __decorate([
|
|
|
5315
5112
|
], TimeFilterToolComponent);
|
|
5316
5113
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TimeFilterToolComponent, [{
|
|
5317
5114
|
type: Component,
|
|
5318
|
-
args: [{
|
|
5319
|
-
selector: 'igo-time-filter-tool',
|
|
5320
|
-
templateUrl: './time-filter-tool.component.html'
|
|
5321
|
-
}]
|
|
5115
|
+
args: [{ selector: 'igo-time-filter-tool', template: "<igo-time-filter-list igoTimeFilterListBinding></igo-time-filter-list>\r\n" }]
|
|
5322
5116
|
}], function () { return []; }, null); })();
|
|
5323
5117
|
|
|
5324
5118
|
function SpatialFilterToolComponent_ng_container_4_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -5552,7 +5346,6 @@ let SpatialFilterToolComponent = class SpatialFilterToolComponent {
|
|
|
5552
5346
|
* Try to add zone feature to the map overlay
|
|
5553
5347
|
*/
|
|
5554
5348
|
tryAddFeaturesToMap(features, buffer) {
|
|
5555
|
-
var _a, _b, _c, _d;
|
|
5556
5349
|
let i = 1;
|
|
5557
5350
|
for (const feature of features) {
|
|
5558
5351
|
if (this.type === SpatialFilterType.Predefined) {
|
|
@@ -5560,13 +5353,13 @@ let SpatialFilterToolComponent = class SpatialFilterToolComponent {
|
|
|
5560
5353
|
if (layer.options._internal &&
|
|
5561
5354
|
layer.options._internal.code === feature.properties.code &&
|
|
5562
5355
|
!buffer) {
|
|
5563
|
-
if (!
|
|
5356
|
+
if (!layer.title?.startsWith('Zone')) {
|
|
5564
5357
|
const index = this.layers.indexOf(layer);
|
|
5565
5358
|
this.layers.splice(index, 1);
|
|
5566
5359
|
}
|
|
5567
5360
|
return;
|
|
5568
5361
|
}
|
|
5569
|
-
if (
|
|
5362
|
+
if (layer.title?.startsWith('Zone')) {
|
|
5570
5363
|
this.activeLayers = [];
|
|
5571
5364
|
const index = this.layers.indexOf(layer);
|
|
5572
5365
|
this.layers.splice(index, 1);
|
|
@@ -5577,7 +5370,7 @@ let SpatialFilterToolComponent = class SpatialFilterToolComponent {
|
|
|
5577
5370
|
else {
|
|
5578
5371
|
if (buffer) {
|
|
5579
5372
|
for (const layer of this.activeLayers) {
|
|
5580
|
-
if (this.activeLayers.length === 1 &&
|
|
5373
|
+
if (this.activeLayers.length === 1 && layer.title?.startsWith('Zone')) {
|
|
5581
5374
|
const index = this.layers.indexOf(layer);
|
|
5582
5375
|
this.layers.splice(index, 1);
|
|
5583
5376
|
this.map.removeLayer(layer);
|
|
@@ -5587,7 +5380,7 @@ let SpatialFilterToolComponent = class SpatialFilterToolComponent {
|
|
|
5587
5380
|
this.activeLayers = [];
|
|
5588
5381
|
}
|
|
5589
5382
|
for (const layer of this.layers) {
|
|
5590
|
-
if (
|
|
5383
|
+
if (layer.title?.startsWith('Zone')) {
|
|
5591
5384
|
i++;
|
|
5592
5385
|
}
|
|
5593
5386
|
}
|
|
@@ -5659,14 +5452,13 @@ let SpatialFilterToolComponent = class SpatialFilterToolComponent {
|
|
|
5659
5452
|
* Necessary to create clusters
|
|
5660
5453
|
*/
|
|
5661
5454
|
tryAddPointToMap(features, id) {
|
|
5662
|
-
var _a;
|
|
5663
5455
|
let i = 1;
|
|
5664
5456
|
if (features.length) {
|
|
5665
5457
|
if (this.map === undefined) {
|
|
5666
5458
|
return;
|
|
5667
5459
|
}
|
|
5668
5460
|
for (const layer of this.layers) {
|
|
5669
|
-
if (
|
|
5461
|
+
if (layer.title?.startsWith(features[0].meta.title)) {
|
|
5670
5462
|
i++;
|
|
5671
5463
|
}
|
|
5672
5464
|
}
|
|
@@ -5737,14 +5529,13 @@ let SpatialFilterToolComponent = class SpatialFilterToolComponent {
|
|
|
5737
5529
|
* Try to add line or polygon features to the map
|
|
5738
5530
|
*/
|
|
5739
5531
|
tryAddLayerToMap(features, id) {
|
|
5740
|
-
var _a;
|
|
5741
5532
|
let i = 1;
|
|
5742
5533
|
if (features.length) {
|
|
5743
5534
|
if (this.map === undefined) {
|
|
5744
5535
|
return;
|
|
5745
5536
|
}
|
|
5746
5537
|
for (const layer of this.layers) {
|
|
5747
|
-
if (
|
|
5538
|
+
if (layer.title?.startsWith(features[0].meta.title)) {
|
|
5748
5539
|
i++;
|
|
5749
5540
|
}
|
|
5750
5541
|
}
|
|
@@ -5798,16 +5589,14 @@ let SpatialFilterToolComponent = class SpatialFilterToolComponent {
|
|
|
5798
5589
|
this.activeLayers.push(layer);
|
|
5799
5590
|
}
|
|
5800
5591
|
};
|
|
5801
|
-
SpatialFilterToolComponent.ɵfac = function SpatialFilterToolComponent_Factory(t) { return new (t || SpatialFilterToolComponent)(i0.ɵɵdirectiveInject(
|
|
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)); };
|
|
5802
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) {
|
|
5803
|
-
i0.ɵɵelementStart(0, "igo-panel");
|
|
5804
|
-
i0.ɵɵelementStart(1, "igo-spatial-filter-type", 0);
|
|
5594
|
+
i0.ɵɵelementStart(0, "igo-panel")(1, "igo-spatial-filter-type", 0);
|
|
5805
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; });
|
|
5806
5596
|
i0.ɵɵelementEnd();
|
|
5807
5597
|
i0.ɵɵelementStart(2, "igo-spatial-filter-item", 1);
|
|
5808
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); });
|
|
5809
|
-
i0.ɵɵelementEnd();
|
|
5810
|
-
i0.ɵɵelementEnd();
|
|
5599
|
+
i0.ɵɵelementEnd()();
|
|
5811
5600
|
i0.ɵɵelementStart(3, "igo-panel");
|
|
5812
5601
|
i0.ɵɵtemplate(4, SpatialFilterToolComponent_ng_container_4_Template, 2, 1, "ng-container", 2);
|
|
5813
5602
|
i0.ɵɵpipe(5, "async");
|
|
@@ -5819,7 +5608,7 @@ SpatialFilterToolComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type:
|
|
|
5819
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);
|
|
5820
5609
|
i0.ɵɵadvance(2);
|
|
5821
5610
|
i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(5, 14, ctx.selectedFeature$));
|
|
5822
|
-
} },
|
|
5611
|
+
} }, dependencies: [i1$1.SpatialFilterTypeComponent, i1$1.SpatialFilterItemComponent, i6.NgIf, i6.AsyncPipe], changeDetection: 0 });
|
|
5823
5612
|
SpatialFilterToolComponent = __decorate([
|
|
5824
5613
|
ToolComponent({
|
|
5825
5614
|
name: 'spatialFilter',
|
|
@@ -5832,13 +5621,8 @@ SpatialFilterToolComponent = __decorate([
|
|
|
5832
5621
|
], SpatialFilterToolComponent);
|
|
5833
5622
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SpatialFilterToolComponent, [{
|
|
5834
5623
|
type: Component,
|
|
5835
|
-
args: [{
|
|
5836
|
-
|
|
5837
|
-
templateUrl: './spatial-filter-tool.component.html',
|
|
5838
|
-
styleUrls: ['./spatial-filter-tool.component.scss'],
|
|
5839
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
|
5840
|
-
}]
|
|
5841
|
-
}], 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: [{
|
|
5842
5626
|
type: Input
|
|
5843
5627
|
}], itemType: [{
|
|
5844
5628
|
type: Input
|
|
@@ -5877,7 +5661,7 @@ ActiveTimeFilterToolComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ typ
|
|
|
5877
5661
|
i0.ɵɵelement(0, "igo-time-filter-item", 0);
|
|
5878
5662
|
} if (rf & 2) {
|
|
5879
5663
|
i0.ɵɵproperty("map", ctx.map)("layer", ctx.layer)("header", false)("@toolSlideInOut", ctx.animate);
|
|
5880
|
-
} },
|
|
5664
|
+
} }, dependencies: [i1$1.TimeFilterItemComponent], encapsulation: 2, data: { animation: [toolSlideInOut$1()] } });
|
|
5881
5665
|
ActiveTimeFilterToolComponent = __decorate([
|
|
5882
5666
|
ToolComponent({
|
|
5883
5667
|
name: 'activeTimeFilter',
|
|
@@ -5888,11 +5672,7 @@ ActiveTimeFilterToolComponent = __decorate([
|
|
|
5888
5672
|
], ActiveTimeFilterToolComponent);
|
|
5889
5673
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ActiveTimeFilterToolComponent, [{
|
|
5890
5674
|
type: Component,
|
|
5891
|
-
args: [{
|
|
5892
|
-
selector: 'igo-active-time-filter-tool',
|
|
5893
|
-
templateUrl: './active-time-filter-tool.component.html',
|
|
5894
|
-
animations: [toolSlideInOut$1()]
|
|
5895
|
-
}]
|
|
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" }]
|
|
5896
5676
|
}], function () { return [{ type: MapState }]; }, null); })();
|
|
5897
5677
|
|
|
5898
5678
|
function toolSlideInOut(speed = '300ms', type = 'ease-in-out') {
|
|
@@ -5926,7 +5706,7 @@ ActiveOgcFilterToolComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type
|
|
|
5926
5706
|
i0.ɵɵelement(0, "igo-ogc-filterable-item", 0);
|
|
5927
5707
|
} if (rf & 2) {
|
|
5928
5708
|
i0.ɵɵproperty("map", ctx.map)("layer", ctx.layer)("header", false)("@toolSlideInOut", ctx.animate);
|
|
5929
|
-
} },
|
|
5709
|
+
} }, dependencies: [i1$1.OgcFilterableItemComponent], encapsulation: 2, data: { animation: [toolSlideInOut()] } });
|
|
5930
5710
|
ActiveOgcFilterToolComponent = __decorate([
|
|
5931
5711
|
ToolComponent({
|
|
5932
5712
|
name: 'activeOgcFilter',
|
|
@@ -5937,11 +5717,7 @@ ActiveOgcFilterToolComponent = __decorate([
|
|
|
5937
5717
|
], ActiveOgcFilterToolComponent);
|
|
5938
5718
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ActiveOgcFilterToolComponent, [{
|
|
5939
5719
|
type: Component,
|
|
5940
|
-
args: [{
|
|
5941
|
-
selector: 'igo-active-ogc-filter-tool',
|
|
5942
|
-
templateUrl: './active-ogc-filter-tool.component.html',
|
|
5943
|
-
animations: [toolSlideInOut()]
|
|
5944
|
-
}]
|
|
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" }]
|
|
5945
5721
|
}], function () { return [{ type: MapState }]; }, null); })();
|
|
5946
5722
|
|
|
5947
5723
|
class IgoAppFilterModule {
|
|
@@ -5954,7 +5730,7 @@ class IgoAppFilterModule {
|
|
|
5954
5730
|
}
|
|
5955
5731
|
IgoAppFilterModule.ɵfac = function IgoAppFilterModule_Factory(t) { return new (t || IgoAppFilterModule)(); };
|
|
5956
5732
|
IgoAppFilterModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: IgoAppFilterModule });
|
|
5957
|
-
IgoAppFilterModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [
|
|
5733
|
+
IgoAppFilterModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [IgoFilterModule, IgoQueryModule, CommonModule] });
|
|
5958
5734
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IgoAppFilterModule, [{
|
|
5959
5735
|
type: NgModule,
|
|
5960
5736
|
args: [{
|
|
@@ -5989,7 +5765,7 @@ IgoAppFilterModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [[IgoF
|
|
|
5989
5765
|
function AboutToolComponent_button_2_Template(rf, ctx) { if (rf & 1) {
|
|
5990
5766
|
const _r6 = i0.ɵɵgetCurrentView();
|
|
5991
5767
|
i0.ɵɵelementStart(0, "button", 7);
|
|
5992
|
-
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()); });
|
|
5993
5769
|
i0.ɵɵpipe(1, "translate");
|
|
5994
5770
|
i0.ɵɵelementStart(2, "span");
|
|
5995
5771
|
i0.ɵɵtext(3);
|
|
@@ -6022,7 +5798,7 @@ function AboutToolComponent_button_3_Template(rf, ctx) { if (rf & 1) {
|
|
|
6022
5798
|
function AboutToolComponent_button_6_Template(rf, ctx) { if (rf & 1) {
|
|
6023
5799
|
const _r9 = i0.ɵɵgetCurrentView();
|
|
6024
5800
|
i0.ɵɵelementStart(0, "button", 10);
|
|
6025
|
-
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)); });
|
|
6026
5802
|
i0.ɵɵtext(1);
|
|
6027
5803
|
i0.ɵɵelementEnd();
|
|
6028
5804
|
} if (rf & 2) {
|
|
@@ -6110,10 +5886,9 @@ let AboutToolComponent = class AboutToolComponent {
|
|
|
6110
5886
|
return name;
|
|
6111
5887
|
}
|
|
6112
5888
|
};
|
|
6113
|
-
AboutToolComponent.ɵfac = function AboutToolComponent_Factory(t) { return new (t || AboutToolComponent)(i0.ɵɵdirectiveInject(i2.ConfigService), i0.ɵɵdirectiveInject(i2$1.AuthService), i0.ɵɵdirectiveInject(i3$
|
|
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)); };
|
|
6114
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) {
|
|
6115
|
-
i0.ɵɵelement(0, "p");
|
|
6116
|
-
i0.ɵɵelement(1, "igo-interactive-tour", 0);
|
|
5891
|
+
i0.ɵɵelement(0, "p")(1, "igo-interactive-tour", 0);
|
|
6117
5892
|
i0.ɵɵtemplate(2, AboutToolComponent_button_2_Template, 6, 7, "button", 1);
|
|
6118
5893
|
i0.ɵɵtemplate(3, AboutToolComponent_button_3_Template, 6, 8, "button", 2);
|
|
6119
5894
|
i0.ɵɵelementStart(4, "mat-menu", null, 3);
|
|
@@ -6135,7 +5910,7 @@ AboutToolComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AboutToo
|
|
|
6135
5910
|
i0.ɵɵproperty("ngIf", ctx.headerHtml !== "");
|
|
6136
5911
|
i0.ɵɵadvance(1);
|
|
6137
5912
|
i0.ɵɵproperty("html", i0.ɵɵpipeBind2(9, 6, ctx.html, i0.ɵɵpureFunction1(9, _c0, ctx.version)));
|
|
6138
|
-
} },
|
|
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}"] });
|
|
6139
5914
|
AboutToolComponent = __decorate([
|
|
6140
5915
|
ToolComponent({
|
|
6141
5916
|
name: 'about',
|
|
@@ -6145,12 +5920,8 @@ AboutToolComponent = __decorate([
|
|
|
6145
5920
|
], AboutToolComponent);
|
|
6146
5921
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AboutToolComponent, [{
|
|
6147
5922
|
type: Component,
|
|
6148
|
-
args: [{
|
|
6149
|
-
|
|
6150
|
-
templateUrl: './about-tool.component.html',
|
|
6151
|
-
styleUrls: ['./about-tool.component.scss']
|
|
6152
|
-
}]
|
|
6153
|
-
}], 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: [{
|
|
6154
5925
|
type: Input
|
|
6155
5926
|
}], html: [{
|
|
6156
5927
|
type: Input
|
|
@@ -6170,16 +5941,14 @@ class IgoAppAboutModule {
|
|
|
6170
5941
|
}
|
|
6171
5942
|
IgoAppAboutModule.ɵfac = function IgoAppAboutModule_Factory(t) { return new (t || IgoAppAboutModule)(); };
|
|
6172
5943
|
IgoAppAboutModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: IgoAppAboutModule });
|
|
6173
|
-
IgoAppAboutModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [
|
|
6174
|
-
|
|
6175
|
-
|
|
6176
|
-
|
|
6177
|
-
|
|
6178
|
-
|
|
6179
|
-
|
|
6180
|
-
|
|
6181
|
-
CommonModule
|
|
6182
|
-
]] });
|
|
5944
|
+
IgoAppAboutModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [IgoLanguageModule,
|
|
5945
|
+
IgoCustomHtmlModule,
|
|
5946
|
+
MatButtonModule,
|
|
5947
|
+
MatTooltipModule,
|
|
5948
|
+
MatIconModule,
|
|
5949
|
+
MatMenuModule,
|
|
5950
|
+
IgoInteractiveTourModule,
|
|
5951
|
+
CommonModule] });
|
|
6183
5952
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IgoAppAboutModule, [{
|
|
6184
5953
|
type: NgModule,
|
|
6185
5954
|
args: [{
|
|
@@ -6211,7 +5980,7 @@ class IgoAppStorageModule {
|
|
|
6211
5980
|
}
|
|
6212
5981
|
IgoAppStorageModule.ɵfac = function IgoAppStorageModule_Factory(t) { return new (t || IgoAppStorageModule)(); };
|
|
6213
5982
|
IgoAppStorageModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: IgoAppStorageModule });
|
|
6214
|
-
IgoAppStorageModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({
|
|
5983
|
+
IgoAppStorageModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({});
|
|
6215
5984
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IgoAppStorageModule, [{
|
|
6216
5985
|
type: NgModule,
|
|
6217
5986
|
args: [{
|
|
@@ -6225,7 +5994,7 @@ class IgoIntegrationModule {
|
|
|
6225
5994
|
}
|
|
6226
5995
|
IgoIntegrationModule.ɵfac = function IgoIntegrationModule_Factory(t) { return new (t || IgoIntegrationModule)(); };
|
|
6227
5996
|
IgoIntegrationModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: IgoIntegrationModule });
|
|
6228
|
-
IgoIntegrationModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [
|
|
5997
|
+
IgoIntegrationModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [IgoAppStorageModule,
|
|
6229
5998
|
IgoAppAnalyticsModule,
|
|
6230
5999
|
IgoAppContextModule,
|
|
6231
6000
|
IgoAppCatalogModule,
|
|
@@ -6281,7 +6050,7 @@ class IgoAppToolModule {
|
|
|
6281
6050
|
}
|
|
6282
6051
|
IgoAppToolModule.ɵfac = function IgoAppToolModule_Factory(t) { return new (t || IgoAppToolModule)(); };
|
|
6283
6052
|
IgoAppToolModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: IgoAppToolModule });
|
|
6284
|
-
IgoAppToolModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({
|
|
6053
|
+
IgoAppToolModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({});
|
|
6285
6054
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IgoAppToolModule, [{
|
|
6286
6055
|
type: NgModule,
|
|
6287
6056
|
args: [{
|
|
@@ -6394,4 +6163,4 @@ QueryState.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: QueryState, f
|
|
|
6394
6163
|
*/
|
|
6395
6164
|
|
|
6396
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 };
|
|
6397
|
-
//# sourceMappingURL=igo2-integration.
|
|
6166
|
+
//# sourceMappingURL=igo2-integration.mjs.map
|