@igo2/integration 16.3.0 → 17.0.0-next.10
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/esm2022/lib/about/about-tool/about-tool.component.mjs +33 -14
- package/esm2022/lib/about/about.module.mjs +9 -37
- package/esm2022/lib/analytics/analytics-listener.service.mjs +10 -24
- package/esm2022/lib/catalog/catalog-browser-tool/catalog-browser-tool.component.mjs +12 -11
- package/esm2022/lib/catalog/catalog-browser-tool/catalog-browser-tool.module.mjs +9 -13
- package/esm2022/lib/catalog/catalog-library-tool/catalog-library-tool.component.mjs +25 -12
- package/esm2022/lib/catalog/catalog-library-tool/catalog-library-tool.module.mjs +9 -13
- package/esm2022/lib/catalog/catalog.module.mjs +9 -8
- package/esm2022/lib/catalog/catalog.state.mjs +6 -6
- package/esm2022/lib/context/context-editor-tool/context-editor-tool.component.mjs +10 -9
- package/esm2022/lib/context/context-manager-tool/context-manager-tool.component.mjs +10 -9
- package/esm2022/lib/context/context-permission-manager-tool/context-permission-manager-tool.component.mjs +9 -8
- package/esm2022/lib/context/context-share-tool/context-share-tool.component.mjs +11 -10
- package/esm2022/lib/context/context.directive.mjs +11 -0
- package/esm2022/lib/context/context.module.mjs +16 -31
- package/esm2022/lib/context/context.state.mjs +9 -9
- package/esm2022/lib/context/index.mjs +2 -1
- package/esm2022/lib/directions/directions-tool/directions-tool.component.mjs +22 -13
- package/esm2022/lib/directions/directions.module.mjs +11 -11
- package/esm2022/lib/directions/directions.state.mjs +5 -5
- package/esm2022/lib/draw/draw.module.mjs +8 -7
- package/esm2022/lib/draw/draw.state.mjs +5 -5
- package/esm2022/lib/draw/drawing-tool/drawing-tool.component.mjs +11 -10
- package/esm2022/lib/draw/drawing-tool/drawing-tool.module.mjs +9 -12
- package/esm2022/lib/draw/index.mjs +1 -1
- package/esm2022/lib/environment/environment.interface.mjs +1 -1
- package/esm2022/lib/environment/index.mjs +1 -1
- package/esm2022/lib/filter/active-ogc-filter-tool/active-ogc-filter-tool.animation.mjs +1 -1
- package/esm2022/lib/filter/active-ogc-filter-tool/active-ogc-filter-tool.component.mjs +10 -9
- package/esm2022/lib/filter/active-time-filter-tool/active-time-filter-tool.animation.mjs +1 -1
- package/esm2022/lib/filter/active-time-filter-tool/active-time-filter-tool.component.mjs +10 -9
- package/esm2022/lib/filter/filter.module.mjs +16 -13
- package/esm2022/lib/filter/index.mjs +13 -1
- package/esm2022/lib/filter/ogc-filter-tool/ogc-filter-tool.component.mjs +10 -9
- package/esm2022/lib/filter/spatial-filter-tool/spatial-filter-tool.component.mjs +29 -16
- package/esm2022/lib/filter/time-filter-tool/time-filter-tool.component.mjs +10 -9
- package/esm2022/lib/geometry-form/data-issue-reporter-tool/data-issue-reporter-tool.component.mjs +20 -16
- package/esm2022/lib/geometry-form/data-issue-reporter-tool/index.mjs +1 -1
- package/esm2022/lib/geometry-form/geometry-form.module.mjs +8 -7
- package/esm2022/lib/geometry-form/index.mjs +1 -1
- package/esm2022/lib/import-export/import-export-tool/import-export-tool.component.mjs +24 -14
- package/esm2022/lib/import-export/import-export.module.mjs +11 -36
- package/esm2022/lib/import-export/import-export.state.mjs +4 -4
- package/esm2022/lib/integration.module.mjs +8 -13
- package/esm2022/lib/map/advanced-map-tool/advanced-coordinates/advanced-coordinates.component.mjs +83 -47
- package/esm2022/lib/map/advanced-map-tool/advanced-map-tool.component.mjs +24 -13
- package/esm2022/lib/map/advanced-map-tool/advanced-swipe/advanced-swipe.component.mjs +37 -14
- package/esm2022/lib/map/index.mjs +2 -1
- package/esm2022/lib/map/layer-list-tool.state.mjs +4 -4
- package/esm2022/lib/map/map-details-tool/map-details-tool.component.mjs +32 -14
- package/esm2022/lib/map/map-legend/map-legend-tool.component.mjs +26 -14
- package/esm2022/lib/map/map-proximity-tool/map-proximity-tool.component.mjs +37 -16
- package/esm2022/lib/map/map-proximity.state.mjs +7 -7
- package/esm2022/lib/map/map-tool/map-tool.component.mjs +28 -13
- package/esm2022/lib/map/map-tools/map-tools.component.mjs +38 -15
- package/esm2022/lib/map/map.directive.mjs +15 -0
- package/esm2022/lib/map/map.module.mjs +17 -125
- package/esm2022/lib/map/map.state.mjs +9 -7
- package/esm2022/lib/measure/measure.module.mjs +8 -7
- package/esm2022/lib/measure/measure.state.mjs +5 -5
- package/esm2022/lib/measure/measurer-tool/measurer-tool.component.mjs +11 -10
- package/esm2022/lib/measure/measurer-tool/measurer-tool.module.mjs +9 -12
- package/esm2022/lib/print/print-tool/print-tool.component.mjs +11 -10
- package/esm2022/lib/print/print.module.mjs +11 -11
- package/esm2022/lib/search/index.mjs +1 -1
- package/esm2022/lib/search/query.state.mjs +8 -8
- package/esm2022/lib/search/search-bar/search-bar-binding.directive.mjs +8 -7
- package/esm2022/lib/search/search-bar/search-bar.module.mjs +7 -9
- package/esm2022/lib/search/search-results-tool/search-results-tool.component.mjs +41 -19
- package/esm2022/lib/search/search-results-tool/search-results-tool.module.mjs +9 -54
- package/esm2022/lib/search/search.module.mjs +12 -10
- package/esm2022/lib/search/search.state.mjs +19 -18
- package/esm2022/lib/storage/storage.state.mjs +7 -7
- package/esm2022/lib/tool/tool.state.mjs +7 -7
- package/esm2022/lib/workspace/shared/edition-actions.service.mjs +19 -18
- package/esm2022/lib/workspace/shared/feature-actions.service.mjs +12 -13
- package/esm2022/lib/workspace/shared/index.mjs +1 -1
- package/esm2022/lib/workspace/shared/wfs-actions.service.mjs +19 -18
- package/esm2022/lib/workspace/shared/workspace.utils.mjs +12 -8
- package/esm2022/lib/workspace/workspace-button/workspace-button.component.mjs +22 -11
- package/esm2022/lib/workspace/workspace.module.mjs +10 -28
- package/esm2022/lib/workspace/workspace.state.mjs +9 -8
- package/esm2022/public_api.mjs +1 -4
- package/fesm2022/igo2-integration.mjs +758 -792
- package/fesm2022/igo2-integration.mjs.map +1 -1
- package/lib/about/about-tool/about-tool.component.d.ts +3 -2
- package/lib/about/about.module.d.ts +4 -8
- package/lib/analytics/analytics-listener.service.d.ts +2 -5
- package/lib/catalog/catalog-browser-tool/catalog-browser-tool.component.d.ts +2 -2
- package/lib/catalog/catalog-browser-tool/catalog-browser-tool.module.d.ts +2 -4
- package/lib/catalog/catalog-library-tool/catalog-library-tool.component.d.ts +6 -3
- package/lib/catalog/catalog-library-tool/catalog-library-tool.module.d.ts +2 -4
- package/lib/catalog/catalog.module.d.ts +3 -0
- package/lib/catalog/catalog.state.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/context/context.directive.d.ts +5 -0
- package/lib/context/context.module.d.ts +4 -2
- package/lib/context/context.state.d.ts +2 -2
- package/lib/context/index.d.ts +1 -0
- package/lib/directions/directions-tool/directions-tool.component.d.ts +6 -3
- package/lib/directions/directions.module.d.ts +4 -2
- package/lib/draw/draw.module.d.ts +5 -3
- package/lib/draw/drawing-tool/drawing-tool.component.d.ts +1 -1
- package/lib/draw/drawing-tool/drawing-tool.module.d.ts +2 -3
- package/lib/environment/environment.interface.d.ts +3 -3
- 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/filter.module.d.ts +4 -3
- package/lib/filter/index.d.ts +4 -0
- 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 +4 -3
- package/lib/filter/time-filter-tool/time-filter-tool.component.d.ts +1 -1
- package/lib/geometry-form/data-issue-reporter-tool/data-issue-reporter-tool.component.d.ts +3 -2
- package/lib/geometry-form/geometry-form.module.d.ts +4 -3
- package/lib/import-export/import-export-tool/import-export-tool.component.d.ts +2 -2
- package/lib/import-export/import-export.module.d.ts +4 -7
- package/lib/integration.module.d.ts +17 -16
- package/lib/map/advanced-map-tool/advanced-coordinates/advanced-coordinates.component.d.ts +7 -2
- 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 +1 -1
- package/lib/map/index.d.ts +1 -0
- 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 +4 -3
- package/lib/map/map-proximity.state.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/map/map.directive.d.ts +7 -0
- package/lib/map/map.module.d.ts +4 -25
- package/lib/map/map.state.d.ts +2 -1
- package/lib/measure/measure.module.d.ts +3 -0
- package/lib/measure/measurer-tool/measurer-tool.component.d.ts +1 -1
- package/lib/measure/measurer-tool/measurer-tool.module.d.ts +2 -3
- package/lib/print/print-tool/print-tool.component.d.ts +1 -1
- package/lib/print/print.module.d.ts +4 -2
- package/lib/search/query.state.d.ts +3 -3
- package/lib/search/search-bar/search-bar-binding.directive.d.ts +1 -1
- package/lib/search/search-bar/search-bar.module.d.ts +2 -3
- package/lib/search/search-results-tool/search-results-tool.component.d.ts +4 -3
- package/lib/search/search-results-tool/search-results-tool.module.d.ts +2 -10
- package/lib/search/search.module.d.ts +6 -3
- package/lib/search/search.state.d.ts +4 -3
- package/lib/storage/storage.state.d.ts +1 -1
- package/lib/tool/tool.state.d.ts +1 -1
- package/lib/workspace/shared/edition-actions.service.d.ts +7 -6
- package/lib/workspace/shared/feature-actions.service.d.ts +5 -5
- package/lib/workspace/shared/wfs-actions.service.d.ts +7 -6
- package/lib/workspace/shared/workspace.utils.d.ts +6 -4
- package/lib/workspace/workspace-button/workspace-button.component.d.ts +1 -1
- package/lib/workspace/workspace.module.d.ts +4 -6
- package/lib/workspace/workspace.state.d.ts +4 -2
- package/locale/en.integration.json +143 -143
- package/locale/fr.integration.json +143 -143
- package/package.json +6 -5
- package/public_api.d.ts +0 -3
- package/esm2022/lib/analytics/analytics.module.mjs +0 -16
- package/esm2022/lib/storage/storage.module.mjs +0 -16
- package/esm2022/lib/tool/tool.module.mjs +0 -16
- package/lib/analytics/analytics.module.d.ts +0 -6
- package/lib/storage/storage.module.d.ts +0 -6
- package/lib/tool/tool.module.d.ts +0 -6
|
@@ -1,67 +1,84 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { ChangeDetectorRef, Component, Input, NgModule, CUSTOM_ELEMENTS_SCHEMA, Injectable, ChangeDetectionStrategy, Inject, ViewChild, Directive, Self, HostListener, ElementRef } from '@angular/core';
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
2
|
+
import { ChangeDetectorRef, Component, Input, NgModule, CUSTOM_ELEMENTS_SCHEMA, Injectable, ChangeDetectionStrategy, Optional, Inject, ViewChild, Directive, Self, HostListener, ElementRef } from '@angular/core';
|
|
3
|
+
import { __decorate, __metadata } from 'tslib';
|
|
4
|
+
import * as i6$2 from '@angular/common';
|
|
5
|
+
import { NgIf, NgFor, AsyncPipe, CommonModule, DecimalPipe } from '@angular/common';
|
|
6
|
+
import * as i3 from '@angular/common/http';
|
|
7
|
+
import { HttpClient } from '@angular/common/http';
|
|
8
|
+
import * as i7 from '@angular/material/button';
|
|
6
9
|
import { MatButtonModule } from '@angular/material/button';
|
|
7
|
-
import * as
|
|
10
|
+
import * as i1 from '@angular/material/icon';
|
|
8
11
|
import { MatIconModule, MatIconRegistry } from '@angular/material/icon';
|
|
9
12
|
import * as i8 from '@angular/material/menu';
|
|
10
13
|
import { MatMenuModule } from '@angular/material/menu';
|
|
11
14
|
import * as i6 from '@angular/material/tooltip';
|
|
12
15
|
import { MatTooltipModule } from '@angular/material/tooltip';
|
|
13
|
-
import * as i2
|
|
14
|
-
import { ToolComponent, IgoCustomHtmlModule, IgoInteractiveTourModule, EntityStore, EntityStoreFilterCustomFuncStrategy, EntityStoreFilterSelectionStrategy, WorkspaceStore, FormService, IgoFormModule, IgoSpinnerModule, IgoEntityTableModule, getEntityTitle, FlexibleComponent, IgoFlexibleModule, IgoPanelModule } from '@igo2/common';
|
|
15
|
-
import * as i2 from '@igo2/core';
|
|
16
|
-
import { version, ConfigService, LanguageService, IgoLanguageModule, StorageService, StorageScope, MessageService, StorageServiceEventEnum, IgoMessageModule } from '@igo2/core';
|
|
17
|
-
import { __decorate, __metadata } from 'tslib';
|
|
18
|
-
import * as i3 from '@angular/common/http';
|
|
19
|
-
import { HttpClient } from '@angular/common/http';
|
|
20
|
-
import * as i2$1 from '@igo2/auth';
|
|
16
|
+
import * as i2 from '@igo2/auth';
|
|
21
17
|
import { AuthService } from '@igo2/auth';
|
|
18
|
+
import { CustomHtmlComponent, SanitizeHtmlPipe } from '@igo2/common/custom-html';
|
|
19
|
+
import { InteractiveTourComponent } from '@igo2/common/interactive-tour';
|
|
20
|
+
import * as i1$2 from '@igo2/common/tool';
|
|
21
|
+
import { ToolComponent } from '@igo2/common/tool';
|
|
22
|
+
import * as i5 from '@igo2/core/config';
|
|
23
|
+
import { version, ConfigService } from '@igo2/core/config';
|
|
24
|
+
import * as i2$1 from '@igo2/core/language';
|
|
25
|
+
import { IgoLanguageModule, LanguageService } from '@igo2/core/language';
|
|
22
26
|
import { of, BehaviorSubject, combineLatest, Subject, map, forkJoin, ReplaySubject, interval } from 'rxjs';
|
|
23
|
-
import * as
|
|
24
|
-
import
|
|
25
|
-
import
|
|
27
|
+
import * as i6$1 from '@ngx-translate/core';
|
|
28
|
+
import { EntityStore, EntityStoreFilterCustomFuncStrategy, EntityStoreFilterSelectionStrategy, EntityTableComponent, getEntityTitle } from '@igo2/common/entity';
|
|
29
|
+
import * as i1$1 from '@igo2/geo';
|
|
30
|
+
import { IgoMap, CatalogBrowserComponent, CatalogService, CatalogLibaryComponent, StopsStore, StopsFeatureStore, RoutesFeatureStore, StepFeatureStore, IgoDirectionsModule, FeatureStore, DrawComponent, OgcFilterableItemComponent, TimeFilterItemComponent, OgcFilterableListComponent, OgcFilterableListBindingDirective, FeatureStoreSelectionStrategy, FeatureMotion, mapExtentStrategyActiveToolTip, noElementSelected, OgcFilterWidget, WfsWorkspace, FeatureWorkspace, EditionWorkspace, SpatialFilterItemType, MeasureLengthUnit, SpatialFilterType, featureToOl, createOverlayMarkerStyle, moveToOlFeatures, SpatialFilterTypeComponent, SpatialFilterItemComponent, FeatureDetailsComponent, SpatialFilterService, DataSourceService, LayerService, TimeFilterListComponent, TimeFilterListBindingDirective, ImportExportComponent, formatScale, zoneMtm, zoneUtm, computeProjectionsConstraints, LayerListControlsEnum, sourceCanSearch, LayerListComponent, LayerListBindingDirective, ExportButtonComponent, OgcFilterButtonComponent, TimeFilterButtonComponent, TrackFeatureButtonComponent, MetadataButtonComponent, SearchSourceService, LayerLegendListComponent, LayerLegendListBindingDirective, roundCoordTo, featureFromOl, measureOlGeometryLength, FEATURE, VectorLayer, StyleModalLayerButtonComponent, MeasurerComponent, PrintComponent, getCommonVectorStyle, computeOlFeaturesExtent, featuresAreOutOfView, featuresAreTooDeepInView, getCommonVectorSelectedStyle, SearchResultsComponent, SearchResultAddButtonComponent, GeoPropertiesStrategy } from '@igo2/geo';
|
|
26
31
|
import { take, skipWhile, takeUntil, tap, debounceTime, map as map$1, skip } from 'rxjs/operators';
|
|
27
|
-
import * as
|
|
28
|
-
import {
|
|
32
|
+
import * as i4 from '@igo2/core/storage';
|
|
33
|
+
import { StorageScope, StorageService, StorageServiceEventEnum } from '@igo2/core/storage';
|
|
34
|
+
import * as i1$3 from '@igo2/context';
|
|
35
|
+
import { ContextEditComponent, ContextEditBindingDirective, ContextListComponent, ContextListBindingDirective, ContextPermissionsComponent, ContextPermissionsBindingDirective, ShareMapComponent, ContextImportExportComponent } from '@igo2/context';
|
|
36
|
+
import * as i4$1 from '@igo2/core/message';
|
|
37
|
+
import { MessageService, IgoMessageModule } from '@igo2/core/message';
|
|
29
38
|
import { trigger, state, style, transition, animate } from '@angular/animations';
|
|
39
|
+
import { SELECTION_MARKER_ICON, IgoIconComponent } from '@igo2/common/icon';
|
|
40
|
+
import { PanelComponent } from '@igo2/common/panel';
|
|
30
41
|
import olFormatGeoJSON from 'ol/format/GeoJSON';
|
|
31
42
|
import * as olstyle from 'ol/style';
|
|
43
|
+
import { WorkspaceStore } from '@igo2/common/workspace';
|
|
44
|
+
import * as i5$1 from '@igo2/common/widget';
|
|
45
|
+
import * as i3$1 from '@igo2/core/media';
|
|
32
46
|
import * as jsPDF from 'jspdf';
|
|
33
47
|
import 'jspdf-autotable';
|
|
34
|
-
import
|
|
48
|
+
import moment from 'moment';
|
|
49
|
+
import * as i2$2 from '@igo2/common/form';
|
|
50
|
+
import { FormService, IgoFormModule } from '@igo2/common/form';
|
|
51
|
+
import * as i3$2 from '@angular/forms';
|
|
35
52
|
import { Validators, FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
36
|
-
import
|
|
37
|
-
import * as i8$1 from '@angular/material/tabs';
|
|
53
|
+
import * as i5$2 from '@angular/material/tabs';
|
|
38
54
|
import { MatTabsModule } from '@angular/material/tabs';
|
|
39
|
-
import
|
|
40
|
-
import * as i6$1 from '@angular/material/core';
|
|
41
|
-
import { MatOptionModule } from '@angular/material/core';
|
|
42
|
-
import * as i5$1 from '@angular/material/divider';
|
|
55
|
+
import * as i8$2 from '@angular/material/divider';
|
|
43
56
|
import { MatDividerModule } from '@angular/material/divider';
|
|
44
|
-
import * as
|
|
57
|
+
import * as i13 from '@angular/material/slide-toggle';
|
|
58
|
+
import { MatSlideToggleModule } from '@angular/material/slide-toggle';
|
|
59
|
+
import * as i12 from '@angular/material/core';
|
|
60
|
+
import { MatOptionModule } from '@angular/material/core';
|
|
61
|
+
import * as i5$3 from '@angular/material/form-field';
|
|
45
62
|
import { MatFormFieldModule } from '@angular/material/form-field';
|
|
46
|
-
import * as
|
|
63
|
+
import * as i8$1 from '@angular/material/input';
|
|
47
64
|
import { MatInputModule } from '@angular/material/input';
|
|
48
|
-
import * as
|
|
49
|
-
import { MatListModule } from '@angular/material/list';
|
|
50
|
-
import * as i9 from '@angular/material/radio';
|
|
51
|
-
import { MatRadioModule } from '@angular/material/radio';
|
|
52
|
-
import * as i5 from '@angular/material/select';
|
|
65
|
+
import * as i11 from '@angular/material/select';
|
|
53
66
|
import { MatSelectModule } from '@angular/material/select';
|
|
54
|
-
import * as i10$1 from '@angular/material/slide-toggle';
|
|
55
|
-
import { MatSlideToggleModule } from '@angular/material/slide-toggle';
|
|
56
67
|
import { Clipboard, uuid, NumberUtils } from '@igo2/utils';
|
|
57
68
|
import * as olProj from 'ol/proj';
|
|
69
|
+
import * as i10 from '@angular/material/list';
|
|
70
|
+
import { MatListModule } from '@angular/material/list';
|
|
71
|
+
import * as i9 from '@angular/material/radio';
|
|
72
|
+
import { MatRadioModule } from '@angular/material/radio';
|
|
58
73
|
import olLineString from 'ol/geom/LineString';
|
|
59
74
|
import olLayerVector from 'ol/layer/Vector';
|
|
60
|
-
import * as
|
|
75
|
+
import * as i9$1 from '@angular/material/badge';
|
|
61
76
|
import { MatBadgeModule } from '@angular/material/badge';
|
|
77
|
+
import { FlexibleComponent } from '@igo2/common/flexible';
|
|
62
78
|
import olFeature from 'ol/Feature';
|
|
63
79
|
import olPoint from 'ol/geom/Point';
|
|
64
80
|
import pointOnFeature from '@turf/point-on-feature';
|
|
81
|
+
import * as i1$4 from '@igo2/core/analytics';
|
|
65
82
|
|
|
66
83
|
let AboutToolComponent = class AboutToolComponent {
|
|
67
84
|
configService;
|
|
@@ -150,14 +167,14 @@ let AboutToolComponent = class AboutToolComponent {
|
|
|
150
167
|
name = name.slice(0, index);
|
|
151
168
|
return name;
|
|
152
169
|
}
|
|
153
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
154
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
170
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: AboutToolComponent, deps: [{ token: i5.ConfigService }, { token: i2.AuthService }, { token: i3.HttpClient }, { token: i0.ChangeDetectorRef }, { token: i2$1.LanguageService }], target: i0.ɵɵFactoryTarget.Component });
|
|
171
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.9", type: AboutToolComponent, isStandalone: true, selector: "igo-about-tool", inputs: { headerHtml: "headerHtml", html: "html", discoverTitleInLocale: "discoverTitleInLocale", trainingGuideURLs: "trainingGuideURLs" }, ngImport: i0, template: "<p></p>\n<igo-interactive-tour\n mat-raised-button\n tourToStart=\"global\"\n menuIsOpen=\"true\"\n styleButton=\"raised\"\n [discoverTitleInLocale$]=\"discoverTitleInLocale$\"\n>\n</igo-interactive-tour>\n\n<button\n *ngIf=\"\n auth.authenticated && trainingGuideURLs && trainingGuideURLs.length === 1\n \"\n class=\"training-guide-button\"\n mat-raised-button\n tooltip-position=\"below\"\n matTooltipShowDelay=\"500\"\n [disabled]=\"loading\"\n [matTooltip]=\"'igo.integration.aboutTool.trainingGuideTooltip' | translate\"\n (click)=\"openGuide()\"\n>\n <span>{{ 'igo.integration.aboutTool.trainingGuide' | translate }}</span>\n <mat-icon>description</mat-icon>\n</button>\n\n<button\n *ngIf=\"\n auth.authenticated && trainingGuideURLs && trainingGuideURLs.length > 1\n \"\n class=\"training-guide-button\"\n mat-raised-button\n tooltip-position=\"below\"\n matTooltipShowDelay=\"500\"\n [disabled]=\"loading\"\n [matTooltip]=\"'igo.integration.aboutTool.trainingGuideTooltip' | translate\"\n [matMenuTriggerFor]=\"menu\"\n>\n <span>{{ 'igo.integration.aboutTool.trainingGuide' | translate }}</span>\n <mat-icon>description</mat-icon>\n</button>\n\n<mat-menu #menu=\"matMenu\">\n <button\n *ngFor=\"let guide of trainingGuideURLs\"\n mat-menu-item\n (click)=\"openGuide(guide)\"\n >\n {{ formatFileName(guide) }}\n </button>\n</mat-menu>\n\n<igo-custom-html\n *ngIf=\"headerHtml !== ''\"\n class=\"mat-typography\"\n [html]=\"headerHtml | translate\"\n>\n</igo-custom-html>\n\n<igo-custom-html\n class=\"mat-typography\"\n [html]=\"html | translate: { version: effectiveVersion }\"\n>\n</igo-custom-html>\n", styles: ["igo-interactive-tour button{margin-left:20px}.training-guide-button{margin-left:5px;background-color:#1976d2;color:#fff;padding:0 12px}\n"], dependencies: [{ kind: "component", type: InteractiveTourComponent, selector: "igo-interactive-tour", inputs: ["tourToStart", "styleButton", "discoverTitleInLocale$"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i7.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "ngmodule", type: MatTooltipModule }, { kind: "directive", type: i6.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatMenuModule }, { kind: "component", type: i8.MatMenu, selector: "mat-menu", inputs: ["backdropClass", "aria-label", "aria-labelledby", "aria-describedby", "xPosition", "yPosition", "overlapTrigger", "hasBackdrop", "class", "classList"], outputs: ["closed", "close"], exportAs: ["matMenu"] }, { kind: "component", type: i8.MatMenuItem, selector: "[mat-menu-item]", inputs: ["role", "disabled", "disableRipple"], exportAs: ["matMenuItem"] }, { kind: "directive", type: i8.MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", inputs: ["mat-menu-trigger-for", "matMenuTriggerFor", "matMenuTriggerData", "matMenuTriggerRestoreFocus"], outputs: ["menuOpened", "onMenuOpen", "menuClosed", "onMenuClose"], exportAs: ["matMenuTrigger"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: CustomHtmlComponent, selector: "igo-custom-html", inputs: ["html"] }, { kind: "ngmodule", type: IgoLanguageModule }, { kind: "pipe", type: i6$1.TranslatePipe, name: "translate" }] });
|
|
155
172
|
};
|
|
156
173
|
AboutToolComponent = __decorate([
|
|
157
174
|
ToolComponent({
|
|
158
175
|
name: 'about',
|
|
159
176
|
title: 'igo.integration.tools.about',
|
|
160
|
-
icon: 'help
|
|
177
|
+
icon: 'help'
|
|
161
178
|
}),
|
|
162
179
|
__metadata("design:paramtypes", [ConfigService,
|
|
163
180
|
AuthService,
|
|
@@ -165,10 +182,20 @@ AboutToolComponent = __decorate([
|
|
|
165
182
|
ChangeDetectorRef,
|
|
166
183
|
LanguageService])
|
|
167
184
|
], AboutToolComponent);
|
|
168
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
185
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: AboutToolComponent, decorators: [{
|
|
169
186
|
type: Component,
|
|
170
|
-
args: [{ selector: 'igo-about-tool',
|
|
171
|
-
|
|
187
|
+
args: [{ selector: 'igo-about-tool', standalone: true, imports: [
|
|
188
|
+
InteractiveTourComponent,
|
|
189
|
+
NgIf,
|
|
190
|
+
MatButtonModule,
|
|
191
|
+
MatTooltipModule,
|
|
192
|
+
MatIconModule,
|
|
193
|
+
MatMenuModule,
|
|
194
|
+
NgFor,
|
|
195
|
+
CustomHtmlComponent,
|
|
196
|
+
IgoLanguageModule
|
|
197
|
+
], template: "<p></p>\n<igo-interactive-tour\n mat-raised-button\n tourToStart=\"global\"\n menuIsOpen=\"true\"\n styleButton=\"raised\"\n [discoverTitleInLocale$]=\"discoverTitleInLocale$\"\n>\n</igo-interactive-tour>\n\n<button\n *ngIf=\"\n auth.authenticated && trainingGuideURLs && trainingGuideURLs.length === 1\n \"\n class=\"training-guide-button\"\n mat-raised-button\n tooltip-position=\"below\"\n matTooltipShowDelay=\"500\"\n [disabled]=\"loading\"\n [matTooltip]=\"'igo.integration.aboutTool.trainingGuideTooltip' | translate\"\n (click)=\"openGuide()\"\n>\n <span>{{ 'igo.integration.aboutTool.trainingGuide' | translate }}</span>\n <mat-icon>description</mat-icon>\n</button>\n\n<button\n *ngIf=\"\n auth.authenticated && trainingGuideURLs && trainingGuideURLs.length > 1\n \"\n class=\"training-guide-button\"\n mat-raised-button\n tooltip-position=\"below\"\n matTooltipShowDelay=\"500\"\n [disabled]=\"loading\"\n [matTooltip]=\"'igo.integration.aboutTool.trainingGuideTooltip' | translate\"\n [matMenuTriggerFor]=\"menu\"\n>\n <span>{{ 'igo.integration.aboutTool.trainingGuide' | translate }}</span>\n <mat-icon>description</mat-icon>\n</button>\n\n<mat-menu #menu=\"matMenu\">\n <button\n *ngFor=\"let guide of trainingGuideURLs\"\n mat-menu-item\n (click)=\"openGuide(guide)\"\n >\n {{ formatFileName(guide) }}\n </button>\n</mat-menu>\n\n<igo-custom-html\n *ngIf=\"headerHtml !== ''\"\n class=\"mat-typography\"\n [html]=\"headerHtml | translate\"\n>\n</igo-custom-html>\n\n<igo-custom-html\n class=\"mat-typography\"\n [html]=\"html | translate: { version: effectiveVersion }\"\n>\n</igo-custom-html>\n", styles: ["igo-interactive-tour button{margin-left:20px}.training-guide-button{margin-left:5px;background-color:#1976d2;color:#fff;padding:0 12px}\n"] }]
|
|
198
|
+
}], ctorParameters: () => [{ type: i5.ConfigService }, { type: i2.AuthService }, { type: i3.HttpClient }, { type: i0.ChangeDetectorRef }, { type: i2$1.LanguageService }], propDecorators: { headerHtml: [{
|
|
172
199
|
type: Input
|
|
173
200
|
}], html: [{
|
|
174
201
|
type: Input
|
|
@@ -178,6 +205,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
178
205
|
type: Input
|
|
179
206
|
}] } });
|
|
180
207
|
|
|
208
|
+
/**
|
|
209
|
+
* @deprecated import the AboutToolComponent directly
|
|
210
|
+
*/
|
|
181
211
|
class IgoAppAboutModule {
|
|
182
212
|
static forRoot() {
|
|
183
213
|
return {
|
|
@@ -185,57 +215,19 @@ class IgoAppAboutModule {
|
|
|
185
215
|
providers: []
|
|
186
216
|
};
|
|
187
217
|
}
|
|
188
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
189
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
190
|
-
|
|
191
|
-
MatButtonModule,
|
|
192
|
-
MatTooltipModule,
|
|
193
|
-
MatIconModule,
|
|
194
|
-
MatMenuModule,
|
|
195
|
-
IgoInteractiveTourModule,
|
|
196
|
-
CommonModule], exports: [AboutToolComponent] });
|
|
197
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IgoAppAboutModule, imports: [IgoLanguageModule,
|
|
198
|
-
IgoCustomHtmlModule,
|
|
199
|
-
MatButtonModule,
|
|
200
|
-
MatTooltipModule,
|
|
201
|
-
MatIconModule,
|
|
202
|
-
MatMenuModule,
|
|
203
|
-
IgoInteractiveTourModule,
|
|
204
|
-
CommonModule] });
|
|
218
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: IgoAppAboutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
219
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.9", ngImport: i0, type: IgoAppAboutModule, imports: [AboutToolComponent], exports: [AboutToolComponent] });
|
|
220
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: IgoAppAboutModule, imports: [AboutToolComponent] });
|
|
205
221
|
}
|
|
206
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
222
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: IgoAppAboutModule, decorators: [{
|
|
207
223
|
type: NgModule,
|
|
208
224
|
args: [{
|
|
209
|
-
imports: [
|
|
210
|
-
IgoLanguageModule,
|
|
211
|
-
IgoCustomHtmlModule,
|
|
212
|
-
MatButtonModule,
|
|
213
|
-
MatTooltipModule,
|
|
214
|
-
MatIconModule,
|
|
215
|
-
MatMenuModule,
|
|
216
|
-
IgoInteractiveTourModule,
|
|
217
|
-
CommonModule
|
|
218
|
-
],
|
|
219
|
-
declarations: [AboutToolComponent],
|
|
225
|
+
imports: [AboutToolComponent],
|
|
220
226
|
exports: [AboutToolComponent],
|
|
221
227
|
schemas: [CUSTOM_ELEMENTS_SCHEMA]
|
|
222
228
|
}]
|
|
223
229
|
}] });
|
|
224
230
|
|
|
225
|
-
class IgoAppAnalyticsModule {
|
|
226
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IgoAppAnalyticsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
227
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: IgoAppAnalyticsModule });
|
|
228
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IgoAppAnalyticsModule });
|
|
229
|
-
}
|
|
230
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IgoAppAnalyticsModule, decorators: [{
|
|
231
|
-
type: NgModule,
|
|
232
|
-
args: [{
|
|
233
|
-
imports: [],
|
|
234
|
-
declarations: [],
|
|
235
|
-
exports: []
|
|
236
|
-
}]
|
|
237
|
-
}] });
|
|
238
|
-
|
|
239
231
|
// import { BehaviorSubject } from 'rxjs';
|
|
240
232
|
/**
|
|
241
233
|
* Service that holds the state of the map module
|
|
@@ -276,15 +268,15 @@ class MapState {
|
|
|
276
268
|
}, this.storageService, this.configService);
|
|
277
269
|
this.mapService.setMap(this.map);
|
|
278
270
|
}
|
|
279
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
280
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
271
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: MapState, deps: [{ token: i1$1.MapService }, { token: i1$1.ProjectionService }, { token: i4.StorageService }, { token: i5.ConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
272
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: MapState, providedIn: 'root' });
|
|
281
273
|
}
|
|
282
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
274
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: MapState, decorators: [{
|
|
283
275
|
type: Injectable,
|
|
284
276
|
args: [{
|
|
285
277
|
providedIn: 'root'
|
|
286
278
|
}]
|
|
287
|
-
}], ctorParameters:
|
|
279
|
+
}], ctorParameters: () => [{ type: i1$1.MapService }, { type: i1$1.ProjectionService }, { type: i4.StorageService }, { type: i5.ConfigService }] });
|
|
288
280
|
|
|
289
281
|
/**
|
|
290
282
|
* Service that holds the state of the catalog module
|
|
@@ -329,15 +321,15 @@ class CatalogState {
|
|
|
329
321
|
clearCatalogItemsStores() {
|
|
330
322
|
this.catalogItemsStores.clear();
|
|
331
323
|
}
|
|
332
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
333
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
324
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: CatalogState, deps: [{ token: i2.AuthService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
325
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: CatalogState, providedIn: 'root' });
|
|
334
326
|
}
|
|
335
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
327
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: CatalogState, decorators: [{
|
|
336
328
|
type: Injectable,
|
|
337
329
|
args: [{
|
|
338
330
|
providedIn: 'root'
|
|
339
331
|
}]
|
|
340
|
-
}], ctorParameters:
|
|
332
|
+
}], ctorParameters: () => [{ type: i2.AuthService }] });
|
|
341
333
|
|
|
342
334
|
/**
|
|
343
335
|
* Tool to browse a catalog's groups and layers and display them to a map.
|
|
@@ -414,14 +406,13 @@ let CatalogBrowserToolComponent = class CatalogBrowserToolComponent {
|
|
|
414
406
|
this.store$.next(store);
|
|
415
407
|
});
|
|
416
408
|
}
|
|
417
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
418
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
409
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: CatalogBrowserToolComponent, deps: [{ token: i1$1.CatalogService }, { token: CatalogState }, { token: MapState }, { token: i2.AuthService }], target: i0.ɵɵFactoryTarget.Component });
|
|
410
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.9", type: CatalogBrowserToolComponent, isStandalone: true, selector: "igo-catalog-browser-tool", inputs: { toggleCollapsedGroup: "toggleCollapsedGroup" }, ngImport: i0, template: "<igo-catalog-browser\n *ngIf=\"store$ | async as store\"\n [catalog]=\"catalog\"\n [store]=\"store\"\n [map]=\"map\"\n [toggleCollapsedGroup]=\"toggleCollapsedGroup\"\n>\n</igo-catalog-browser>\n", dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: CatalogBrowserComponent, selector: "igo-catalog-browser", inputs: ["catalogAllowLegend", "catalog", "store", "map", "toggleCollapsedGroup"] }, { kind: "pipe", type: AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
419
411
|
};
|
|
420
412
|
CatalogBrowserToolComponent = __decorate([
|
|
421
413
|
ToolComponent({
|
|
422
414
|
name: 'catalogBrowser',
|
|
423
415
|
title: 'igo.integration.tools.catalog',
|
|
424
|
-
icon: 'photo-browser',
|
|
425
416
|
parent: 'catalog'
|
|
426
417
|
}),
|
|
427
418
|
__metadata("design:paramtypes", [CatalogService,
|
|
@@ -429,28 +420,26 @@ CatalogBrowserToolComponent = __decorate([
|
|
|
429
420
|
MapState,
|
|
430
421
|
AuthService])
|
|
431
422
|
], CatalogBrowserToolComponent);
|
|
432
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
423
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: CatalogBrowserToolComponent, decorators: [{
|
|
433
424
|
type: Component,
|
|
434
|
-
args: [{ selector: 'igo-catalog-browser-tool', changeDetection: ChangeDetectionStrategy.OnPush, template: "<igo-catalog-browser\
|
|
435
|
-
}], ctorParameters:
|
|
425
|
+
args: [{ selector: 'igo-catalog-browser-tool', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [NgIf, CatalogBrowserComponent, AsyncPipe], template: "<igo-catalog-browser\n *ngIf=\"store$ | async as store\"\n [catalog]=\"catalog\"\n [store]=\"store\"\n [map]=\"map\"\n [toggleCollapsedGroup]=\"toggleCollapsedGroup\"\n>\n</igo-catalog-browser>\n" }]
|
|
426
|
+
}], ctorParameters: () => [{ type: i1$1.CatalogService }, { type: CatalogState }, { type: MapState }, { type: i2.AuthService }], propDecorators: { toggleCollapsedGroup: [{
|
|
436
427
|
type: Input
|
|
437
428
|
}] } });
|
|
438
429
|
|
|
439
430
|
/**
|
|
440
|
-
* @
|
|
431
|
+
* @deprecated import the CatalogBrowserToolComponent directly
|
|
441
432
|
*/
|
|
442
433
|
class IgoAppCatalogBrowserToolModule {
|
|
443
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
444
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
445
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
434
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: IgoAppCatalogBrowserToolModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
435
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.9", ngImport: i0, type: IgoAppCatalogBrowserToolModule, imports: [CatalogBrowserToolComponent], exports: [CatalogBrowserToolComponent] });
|
|
436
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: IgoAppCatalogBrowserToolModule, imports: [CatalogBrowserToolComponent] });
|
|
446
437
|
}
|
|
447
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
438
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: IgoAppCatalogBrowserToolModule, decorators: [{
|
|
448
439
|
type: NgModule,
|
|
449
440
|
args: [{
|
|
450
|
-
imports: [
|
|
451
|
-
|
|
452
|
-
exports: [CatalogBrowserToolComponent],
|
|
453
|
-
schemas: [CUSTOM_ELEMENTS_SCHEMA]
|
|
441
|
+
imports: [CatalogBrowserToolComponent],
|
|
442
|
+
exports: [CatalogBrowserToolComponent]
|
|
454
443
|
}]
|
|
455
444
|
}] });
|
|
456
445
|
|
|
@@ -480,10 +469,10 @@ class ImportExportState {
|
|
|
480
469
|
setsExportOptions(exportOptions) {
|
|
481
470
|
this.exportOptions$.next(exportOptions);
|
|
482
471
|
}
|
|
483
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
484
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
472
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: ImportExportState, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
473
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: ImportExportState, providedIn: 'root' });
|
|
485
474
|
}
|
|
486
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
475
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: ImportExportState, decorators: [{
|
|
487
476
|
type: Injectable,
|
|
488
477
|
args: [{
|
|
489
478
|
providedIn: 'root'
|
|
@@ -529,15 +518,15 @@ class ToolState {
|
|
|
529
518
|
this.openSidenav$.next(true);
|
|
530
519
|
}
|
|
531
520
|
}
|
|
532
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
533
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
521
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: ToolState, deps: [{ token: i1$2.ToolService }, { token: ImportExportState }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
522
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: ToolState, providedIn: 'root' });
|
|
534
523
|
}
|
|
535
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
524
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: ToolState, decorators: [{
|
|
536
525
|
type: Injectable,
|
|
537
526
|
args: [{
|
|
538
527
|
providedIn: 'root'
|
|
539
528
|
}]
|
|
540
|
-
}], ctorParameters:
|
|
529
|
+
}], ctorParameters: () => [{ type: i1$2.ToolService }, { type: ImportExportState }] });
|
|
541
530
|
|
|
542
531
|
/**
|
|
543
532
|
* Tool to browse the list of available catalogs.
|
|
@@ -562,6 +551,15 @@ let CatalogLibraryToolComponent = class CatalogLibraryToolComponent {
|
|
|
562
551
|
* List of predefined catalogs
|
|
563
552
|
*/
|
|
564
553
|
predefinedCatalogs = [];
|
|
554
|
+
set selectedCatalogId(id) {
|
|
555
|
+
this.storageService.set('selectedCatalogId', id, StorageScope.SESSION);
|
|
556
|
+
}
|
|
557
|
+
get currentTool() {
|
|
558
|
+
return this.toolState.toolbox.getCurrentPreviousToolName()[1];
|
|
559
|
+
}
|
|
560
|
+
get lastTool() {
|
|
561
|
+
return this.toolState.toolbox.getCurrentPreviousToolName()[0];
|
|
562
|
+
}
|
|
565
563
|
constructor(catalogService, catalogState, toolState, storageService) {
|
|
566
564
|
this.catalogService = catalogService;
|
|
567
565
|
this.catalogState = catalogState;
|
|
@@ -572,6 +570,9 @@ let CatalogLibraryToolComponent = class CatalogLibraryToolComponent {
|
|
|
572
570
|
* @internal
|
|
573
571
|
*/
|
|
574
572
|
ngOnInit() {
|
|
573
|
+
if (this.lastTool === 'catalogBrowser' && this.currentTool === 'catalog') {
|
|
574
|
+
this.selectedCatalogId = null;
|
|
575
|
+
}
|
|
575
576
|
if (this.store.count === 0) {
|
|
576
577
|
this.loadCatalogs();
|
|
577
578
|
}
|
|
@@ -600,58 +601,57 @@ let CatalogLibraryToolComponent = class CatalogLibraryToolComponent {
|
|
|
600
601
|
this.store.load(catalogs.concat((this.storageService.get('addedCatalogs') || [])));
|
|
601
602
|
});
|
|
602
603
|
}
|
|
603
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
604
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
604
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: CatalogLibraryToolComponent, deps: [{ token: i1$1.CatalogService }, { token: CatalogState }, { token: ToolState }, { token: i4.StorageService }], target: i0.ɵɵFactoryTarget.Component });
|
|
605
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.9", type: CatalogLibraryToolComponent, isStandalone: true, selector: "igo-catalog-library-tool", inputs: { addCatalogAllowed: "addCatalogAllowed", predefinedCatalogs: "predefinedCatalogs" }, ngImport: i0, template: "<igo-catalog-library\n [predefinedCatalogs]=\"predefinedCatalogs\"\n [addCatalogAllowed]=\"addCatalogAllowed\"\n [store]=\"store\"\n (catalogSelectChange)=\"onCatalogSelectChange($event)\"\n>\n</igo-catalog-library>\n", dependencies: [{ kind: "component", type: CatalogLibaryComponent, selector: "igo-catalog-library", inputs: ["store", "map", "addCatalogAllowed", "predefinedCatalogs"], outputs: ["catalogSelectChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
605
606
|
};
|
|
606
607
|
CatalogLibraryToolComponent = __decorate([
|
|
607
608
|
ToolComponent({
|
|
608
609
|
name: 'catalog',
|
|
609
610
|
title: 'igo.integration.tools.catalog',
|
|
610
|
-
icon: '
|
|
611
|
+
icon: 'library_add'
|
|
611
612
|
}),
|
|
612
613
|
__metadata("design:paramtypes", [CatalogService,
|
|
613
614
|
CatalogState,
|
|
614
615
|
ToolState,
|
|
615
616
|
StorageService])
|
|
616
617
|
], CatalogLibraryToolComponent);
|
|
617
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
618
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: CatalogLibraryToolComponent, decorators: [{
|
|
618
619
|
type: Component,
|
|
619
|
-
args: [{ selector: 'igo-catalog-library-tool', changeDetection: ChangeDetectionStrategy.OnPush, template: "<igo-catalog-library\
|
|
620
|
-
}], ctorParameters:
|
|
620
|
+
args: [{ selector: 'igo-catalog-library-tool', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [CatalogLibaryComponent], template: "<igo-catalog-library\n [predefinedCatalogs]=\"predefinedCatalogs\"\n [addCatalogAllowed]=\"addCatalogAllowed\"\n [store]=\"store\"\n (catalogSelectChange)=\"onCatalogSelectChange($event)\"\n>\n</igo-catalog-library>\n" }]
|
|
621
|
+
}], ctorParameters: () => [{ type: i1$1.CatalogService }, { type: CatalogState }, { type: ToolState }, { type: i4.StorageService }], propDecorators: { addCatalogAllowed: [{
|
|
621
622
|
type: Input
|
|
622
623
|
}], predefinedCatalogs: [{
|
|
623
624
|
type: Input
|
|
624
625
|
}] } });
|
|
625
626
|
|
|
626
627
|
/**
|
|
627
|
-
* @
|
|
628
|
+
* @deprecated import the CatalogLibraryToolComponent directly
|
|
628
629
|
*/
|
|
629
630
|
class IgoAppCatalogLibraryToolModule {
|
|
630
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
631
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
632
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
631
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: IgoAppCatalogLibraryToolModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
632
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.9", ngImport: i0, type: IgoAppCatalogLibraryToolModule, imports: [CatalogLibraryToolComponent], exports: [CatalogLibraryToolComponent] });
|
|
633
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: IgoAppCatalogLibraryToolModule, imports: [CatalogLibraryToolComponent] });
|
|
633
634
|
}
|
|
634
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
635
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: IgoAppCatalogLibraryToolModule, decorators: [{
|
|
635
636
|
type: NgModule,
|
|
636
637
|
args: [{
|
|
637
|
-
imports: [
|
|
638
|
-
|
|
639
|
-
exports: [CatalogLibraryToolComponent],
|
|
640
|
-
schemas: [CUSTOM_ELEMENTS_SCHEMA]
|
|
638
|
+
imports: [CatalogLibraryToolComponent],
|
|
639
|
+
exports: [CatalogLibraryToolComponent]
|
|
641
640
|
}]
|
|
642
641
|
}] });
|
|
643
642
|
|
|
643
|
+
/**
|
|
644
|
+
* @deprecated import the components directly
|
|
645
|
+
*/
|
|
644
646
|
class IgoAppCatalogModule {
|
|
645
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
646
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
647
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
647
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: IgoAppCatalogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
648
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.9", ngImport: i0, type: IgoAppCatalogModule, exports: [IgoAppCatalogLibraryToolModule, IgoAppCatalogBrowserToolModule] });
|
|
649
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: IgoAppCatalogModule, imports: [IgoAppCatalogLibraryToolModule, IgoAppCatalogBrowserToolModule] });
|
|
648
650
|
}
|
|
649
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
651
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: IgoAppCatalogModule, decorators: [{
|
|
650
652
|
type: NgModule,
|
|
651
653
|
args: [{
|
|
652
|
-
|
|
653
|
-
exports: [IgoAppCatalogLibraryToolModule, IgoAppCatalogBrowserToolModule],
|
|
654
|
-
declarations: []
|
|
654
|
+
exports: [IgoAppCatalogLibraryToolModule, IgoAppCatalogBrowserToolModule]
|
|
655
655
|
}]
|
|
656
656
|
}] });
|
|
657
657
|
|
|
@@ -663,8 +663,8 @@ let ContextEditorToolComponent = class ContextEditorToolComponent {
|
|
|
663
663
|
submitSuccessed() {
|
|
664
664
|
this.toolState.toolbox.activatePreviousTool();
|
|
665
665
|
}
|
|
666
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
667
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
666
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: ContextEditorToolComponent, deps: [{ token: ToolState }], target: i0.ɵɵFactoryTarget.Component });
|
|
667
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.9", type: ContextEditorToolComponent, isStandalone: true, selector: "igo-context-editor-tool", ngImport: i0, template: "<igo-context-edit\n igoContextEditBinding\n (submitSuccessed)=\"submitSuccessed()\"\n></igo-context-edit>\n", dependencies: [{ kind: "component", type: ContextEditComponent, selector: "igo-context-edit", inputs: ["context"], outputs: ["submitForm"] }, { kind: "directive", type: ContextEditBindingDirective, selector: "[igoContextEditBinding]", outputs: ["submitSuccessed"] }] });
|
|
668
668
|
};
|
|
669
669
|
ContextEditorToolComponent = __decorate([
|
|
670
670
|
ToolComponent({
|
|
@@ -675,10 +675,10 @@ ContextEditorToolComponent = __decorate([
|
|
|
675
675
|
}),
|
|
676
676
|
__metadata("design:paramtypes", [ToolState])
|
|
677
677
|
], ContextEditorToolComponent);
|
|
678
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
678
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: ContextEditorToolComponent, decorators: [{
|
|
679
679
|
type: Component,
|
|
680
|
-
args: [{ selector: 'igo-context-editor-tool', template: "<igo-context-edit\n igoContextEditBinding\n (submitSuccessed)=\"submitSuccessed()\"\n></igo-context-edit>\n" }]
|
|
681
|
-
}], ctorParameters:
|
|
680
|
+
args: [{ selector: 'igo-context-editor-tool', standalone: true, imports: [ContextEditComponent, ContextEditBindingDirective], template: "<igo-context-edit\n igoContextEditBinding\n (submitSuccessed)=\"submitSuccessed()\"\n></igo-context-edit>\n" }]
|
|
681
|
+
}], ctorParameters: () => [{ type: ToolState }] });
|
|
682
682
|
|
|
683
683
|
let ContextManagerToolComponent = class ContextManagerToolComponent {
|
|
684
684
|
toolState;
|
|
@@ -697,8 +697,8 @@ let ContextManagerToolComponent = class ContextManagerToolComponent {
|
|
|
697
697
|
managePermissions() {
|
|
698
698
|
this.toolState.toolbox.activateTool('contextPermissionManager');
|
|
699
699
|
}
|
|
700
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
701
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
700
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: ContextManagerToolComponent, deps: [{ token: ToolState }, { token: MapState }], target: i0.ɵɵFactoryTarget.Component });
|
|
701
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.9", type: ContextManagerToolComponent, isStandalone: true, selector: "igo-context-manager-tool", inputs: { toolToOpenOnContextChange: "toolToOpenOnContextChange" }, ngImport: i0, template: "<igo-context-list\n igoContextListBinding\n [map]=\"map\"\n (edit)=\"editContext()\"\n (managePermissions)=\"managePermissions()\"\n>\n</igo-context-list>\n", dependencies: [{ kind: "component", type: ContextListComponent, selector: "igo-context-list", inputs: ["contexts", "selectedContext", "map", "defaultContextId", "term"], outputs: ["select", "unselect", "edit", "delete", "save", "clone", "create", "hide", "show", "showHiddenContexts", "favorite", "managePermissions", "manageTools", "filterPermissionsChanged"] }, { kind: "directive", type: ContextListBindingDirective, selector: "[igoContextListBinding]" }] });
|
|
702
702
|
};
|
|
703
703
|
ContextManagerToolComponent = __decorate([
|
|
704
704
|
ToolComponent({
|
|
@@ -709,16 +709,16 @@ ContextManagerToolComponent = __decorate([
|
|
|
709
709
|
__metadata("design:paramtypes", [ToolState,
|
|
710
710
|
MapState])
|
|
711
711
|
], ContextManagerToolComponent);
|
|
712
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
712
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: ContextManagerToolComponent, decorators: [{
|
|
713
713
|
type: Component,
|
|
714
|
-
args: [{ selector: 'igo-context-manager-tool', template: "<igo-context-list\
|
|
715
|
-
}], ctorParameters:
|
|
714
|
+
args: [{ selector: 'igo-context-manager-tool', standalone: true, imports: [ContextListComponent, ContextListBindingDirective], template: "<igo-context-list\n igoContextListBinding\n [map]=\"map\"\n (edit)=\"editContext()\"\n (managePermissions)=\"managePermissions()\"\n>\n</igo-context-list>\n" }]
|
|
715
|
+
}], ctorParameters: () => [{ type: ToolState }, { type: MapState }], propDecorators: { toolToOpenOnContextChange: [{
|
|
716
716
|
type: Input
|
|
717
717
|
}] } });
|
|
718
718
|
|
|
719
719
|
let ContextPermissionManagerToolComponent = class ContextPermissionManagerToolComponent {
|
|
720
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
721
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
720
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: ContextPermissionManagerToolComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
721
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.9", type: ContextPermissionManagerToolComponent, isStandalone: true, selector: "igo-context-permission-manager-tool", ngImport: i0, template: "<igo-context-permissions igoContextPermissionsBinding></igo-context-permissions>\n", dependencies: [{ kind: "component", type: ContextPermissionsComponent, selector: "igo-context-permissions", inputs: ["context", "permissions"], outputs: ["addPermission", "removePermission", "scopeChanged"] }, { kind: "directive", type: ContextPermissionsBindingDirective, selector: "[igoContextPermissionsBinding]" }] });
|
|
722
722
|
};
|
|
723
723
|
ContextPermissionManagerToolComponent = __decorate([
|
|
724
724
|
ToolComponent({
|
|
@@ -728,9 +728,9 @@ ContextPermissionManagerToolComponent = __decorate([
|
|
|
728
728
|
parent: 'contextManager'
|
|
729
729
|
})
|
|
730
730
|
], ContextPermissionManagerToolComponent);
|
|
731
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
731
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: ContextPermissionManagerToolComponent, decorators: [{
|
|
732
732
|
type: Component,
|
|
733
|
-
args: [{ selector: 'igo-context-permission-manager-tool', template: "<igo-context-permissions igoContextPermissionsBinding></igo-context-permissions>\n" }]
|
|
733
|
+
args: [{ selector: 'igo-context-permission-manager-tool', standalone: true, imports: [ContextPermissionsComponent, ContextPermissionsBindingDirective], template: "<igo-context-permissions igoContextPermissionsBinding></igo-context-permissions>\n" }]
|
|
734
734
|
}] });
|
|
735
735
|
|
|
736
736
|
/**
|
|
@@ -760,10 +760,10 @@ class LayerListToolState {
|
|
|
760
760
|
sortAlpha: this.sortAlpha$.value
|
|
761
761
|
};
|
|
762
762
|
}
|
|
763
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
764
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
763
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: LayerListToolState, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
764
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: LayerListToolState, providedIn: 'root' });
|
|
765
765
|
}
|
|
766
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
766
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: LayerListToolState, decorators: [{
|
|
767
767
|
type: Injectable,
|
|
768
768
|
args: [{
|
|
769
769
|
providedIn: 'root'
|
|
@@ -783,51 +783,43 @@ let ContextShareToolComponent = class ContextShareToolComponent {
|
|
|
783
783
|
this.mapState = mapState;
|
|
784
784
|
this.layerListToolState = layerListToolState;
|
|
785
785
|
}
|
|
786
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
787
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
786
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: ContextShareToolComponent, deps: [{ token: MapState }, { token: LayerListToolState }], target: i0.ɵɵFactoryTarget.Component });
|
|
787
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.9", type: ContextShareToolComponent, isStandalone: true, selector: "igo-context-share-tool", ngImport: i0, template: "<igo-share-map [map]=\"map\"></igo-share-map>\n", dependencies: [{ kind: "component", type: ShareMapComponent, selector: "igo-share-map", inputs: ["map"] }] });
|
|
788
788
|
};
|
|
789
789
|
ContextShareToolComponent = __decorate([
|
|
790
790
|
ToolComponent({
|
|
791
791
|
name: 'shareMap',
|
|
792
792
|
title: 'igo.integration.tools.shareMap',
|
|
793
|
-
icon: 'share
|
|
793
|
+
icon: 'share'
|
|
794
794
|
}),
|
|
795
795
|
__metadata("design:paramtypes", [MapState,
|
|
796
796
|
LayerListToolState])
|
|
797
797
|
], ContextShareToolComponent);
|
|
798
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
798
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: ContextShareToolComponent, decorators: [{
|
|
799
799
|
type: Component,
|
|
800
|
-
args: [{ selector: 'igo-context-share-tool', template: "<igo-share-map [map]=\"map\"></igo-share-map>\
|
|
801
|
-
}], ctorParameters:
|
|
800
|
+
args: [{ selector: 'igo-context-share-tool', standalone: true, imports: [ShareMapComponent], template: "<igo-share-map [map]=\"map\"></igo-share-map>\n" }]
|
|
801
|
+
}], ctorParameters: () => [{ type: MapState }, { type: LayerListToolState }] });
|
|
802
802
|
|
|
803
|
+
const INTEGRATION_CONTEXT_DIRECTIVES = [
|
|
804
|
+
ContextEditorToolComponent,
|
|
805
|
+
ContextManagerToolComponent,
|
|
806
|
+
ContextPermissionManagerToolComponent,
|
|
807
|
+
ContextShareToolComponent
|
|
808
|
+
];
|
|
809
|
+
|
|
810
|
+
/**
|
|
811
|
+
* @deprecated import the components/directive directly or INTEGRATION_CONTEXT_DIRECTIVES for the set
|
|
812
|
+
*/
|
|
803
813
|
class IgoAppContextModule {
|
|
804
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
805
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
806
|
-
|
|
807
|
-
ContextPermissionManagerToolComponent,
|
|
808
|
-
ContextShareToolComponent], imports: [IgoContextModule], exports: [ContextEditorToolComponent,
|
|
809
|
-
ContextManagerToolComponent,
|
|
810
|
-
ContextPermissionManagerToolComponent,
|
|
811
|
-
ContextShareToolComponent] });
|
|
812
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IgoAppContextModule, imports: [IgoContextModule] });
|
|
814
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: IgoAppContextModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
815
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.9", ngImport: i0, type: IgoAppContextModule, imports: [ContextEditorToolComponent, ContextManagerToolComponent, ContextPermissionManagerToolComponent, ContextShareToolComponent], exports: [ContextEditorToolComponent, ContextManagerToolComponent, ContextPermissionManagerToolComponent, ContextShareToolComponent] });
|
|
816
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: IgoAppContextModule, imports: [INTEGRATION_CONTEXT_DIRECTIVES] });
|
|
813
817
|
}
|
|
814
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
818
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: IgoAppContextModule, decorators: [{
|
|
815
819
|
type: NgModule,
|
|
816
820
|
args: [{
|
|
817
|
-
imports: [
|
|
818
|
-
|
|
819
|
-
ContextEditorToolComponent,
|
|
820
|
-
ContextManagerToolComponent,
|
|
821
|
-
ContextPermissionManagerToolComponent,
|
|
822
|
-
ContextShareToolComponent
|
|
823
|
-
],
|
|
824
|
-
exports: [
|
|
825
|
-
ContextEditorToolComponent,
|
|
826
|
-
ContextManagerToolComponent,
|
|
827
|
-
ContextPermissionManagerToolComponent,
|
|
828
|
-
ContextShareToolComponent
|
|
829
|
-
],
|
|
830
|
-
schemas: [CUSTOM_ELEMENTS_SCHEMA]
|
|
821
|
+
imports: [...INTEGRATION_CONTEXT_DIRECTIVES],
|
|
822
|
+
exports: [...INTEGRATION_CONTEXT_DIRECTIVES]
|
|
831
823
|
}]
|
|
832
824
|
}] });
|
|
833
825
|
|
|
@@ -906,15 +898,15 @@ class ContextState {
|
|
|
906
898
|
}
|
|
907
899
|
this.setContext(context);
|
|
908
900
|
}
|
|
909
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
910
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
901
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: ContextState, deps: [{ token: i1$3.ContextService }, { token: i1$2.ToolService }, { token: ToolState }, { token: i2$1.LanguageService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
902
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: ContextState, providedIn: 'root' });
|
|
911
903
|
}
|
|
912
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
904
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: ContextState, decorators: [{
|
|
913
905
|
type: Injectable,
|
|
914
906
|
args: [{
|
|
915
907
|
providedIn: 'root'
|
|
916
908
|
}]
|
|
917
|
-
}], ctorParameters:
|
|
909
|
+
}], ctorParameters: () => [{ type: i1$3.ContextService }, { type: i1$2.ToolService }, { type: ToolState }, { type: i2$1.LanguageService }] });
|
|
918
910
|
|
|
919
911
|
/**
|
|
920
912
|
* Service that holds the state of the direction module
|
|
@@ -969,15 +961,15 @@ class DirectionState {
|
|
|
969
961
|
}
|
|
970
962
|
});
|
|
971
963
|
}
|
|
972
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
973
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
964
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: DirectionState, deps: [{ token: MapState }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
965
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: DirectionState, providedIn: 'root' });
|
|
974
966
|
}
|
|
975
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
967
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: DirectionState, decorators: [{
|
|
976
968
|
type: Injectable,
|
|
977
969
|
args: [{
|
|
978
970
|
providedIn: 'root'
|
|
979
971
|
}]
|
|
980
|
-
}], ctorParameters:
|
|
972
|
+
}], ctorParameters: () => [{ type: MapState }] });
|
|
981
973
|
|
|
982
974
|
let DirectionsToolComponent = class DirectionsToolComponent {
|
|
983
975
|
directionState;
|
|
@@ -1026,6 +1018,9 @@ let DirectionsToolComponent = class DirectionsToolComponent {
|
|
|
1026
1018
|
get zoomToActiveRoute$() {
|
|
1027
1019
|
return this.directionState.zoomToActiveRoute$;
|
|
1028
1020
|
}
|
|
1021
|
+
get authenticated$() {
|
|
1022
|
+
return this.authService.authenticate$;
|
|
1023
|
+
}
|
|
1029
1024
|
/**
|
|
1030
1025
|
* Map to measure on
|
|
1031
1026
|
* @internal
|
|
@@ -1054,8 +1049,8 @@ let DirectionsToolComponent = class DirectionsToolComponent {
|
|
|
1054
1049
|
}
|
|
1055
1050
|
});
|
|
1056
1051
|
}
|
|
1057
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1058
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
1052
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: DirectionsToolComponent, deps: [{ token: DirectionState }, { token: MapState }, { token: i2$1.LanguageService }, { token: i4$1.MessageService }, { token: i4.StorageService }, { token: ContextState }, { token: i2.AuthService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1053
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.9", type: DirectionsToolComponent, isStandalone: true, selector: "igo-directions-tool", ngImport: i0, template: "<igo-directions\n [contextUri]=\"currentContextUri\"\n [debounce]=\"debounceTime\"\n [stopsStore]=\"stopsStore\"\n [stopsFeatureStore]=\"stopsFeatureStore\"\n [stepFeatureStore]=\"stepFeatureStore\"\n [routesFeatureStore]=\"routesFeatureStore\"\n [zoomToActiveRoute$]=\"zoomToActiveRoute$\"\n [authenticated$]=\"authenticated$\"\n>\n</igo-directions>\n", dependencies: [{ kind: "ngmodule", type: IgoDirectionsModule }, { kind: "component", type: i1$1.DirectionsComponent, selector: "igo-directions", inputs: ["contextUri", "stopsStore", "stopsFeatureStore", "routesFeatureStore", "stepFeatureStore", "debounce", "length", "coordRoundedDecimals", "zoomToActiveRoute$", "authenticated$"] }] });
|
|
1059
1054
|
};
|
|
1060
1055
|
DirectionsToolComponent = __decorate([
|
|
1061
1056
|
ToolComponent({
|
|
@@ -1071,11 +1066,14 @@ DirectionsToolComponent = __decorate([
|
|
|
1071
1066
|
ContextState,
|
|
1072
1067
|
AuthService])
|
|
1073
1068
|
], DirectionsToolComponent);
|
|
1074
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1069
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: DirectionsToolComponent, decorators: [{
|
|
1075
1070
|
type: Component,
|
|
1076
|
-
args: [{ selector: 'igo-directions-tool', template: "<igo-directions\
|
|
1077
|
-
}], ctorParameters:
|
|
1071
|
+
args: [{ selector: 'igo-directions-tool', standalone: true, imports: [IgoDirectionsModule], template: "<igo-directions\n [contextUri]=\"currentContextUri\"\n [debounce]=\"debounceTime\"\n [stopsStore]=\"stopsStore\"\n [stopsFeatureStore]=\"stopsFeatureStore\"\n [stepFeatureStore]=\"stepFeatureStore\"\n [routesFeatureStore]=\"routesFeatureStore\"\n [zoomToActiveRoute$]=\"zoomToActiveRoute$\"\n [authenticated$]=\"authenticated$\"\n>\n</igo-directions>\n" }]
|
|
1072
|
+
}], ctorParameters: () => [{ type: DirectionState }, { type: MapState }, { type: i2$1.LanguageService }, { type: i4$1.MessageService }, { type: i4.StorageService }, { type: ContextState }, { type: i2.AuthService }] });
|
|
1078
1073
|
|
|
1074
|
+
/**
|
|
1075
|
+
* @deprecated import the DirectionsToolComponent directly
|
|
1076
|
+
*/
|
|
1079
1077
|
class IgoAppDirectionsModule {
|
|
1080
1078
|
static forRoot() {
|
|
1081
1079
|
return {
|
|
@@ -1083,17 +1081,15 @@ class IgoAppDirectionsModule {
|
|
|
1083
1081
|
providers: []
|
|
1084
1082
|
};
|
|
1085
1083
|
}
|
|
1086
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1087
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
1088
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
1084
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: IgoAppDirectionsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1085
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.9", ngImport: i0, type: IgoAppDirectionsModule, imports: [DirectionsToolComponent], exports: [DirectionsToolComponent] });
|
|
1086
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: IgoAppDirectionsModule, imports: [DirectionsToolComponent] });
|
|
1089
1087
|
}
|
|
1090
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1088
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: IgoAppDirectionsModule, decorators: [{
|
|
1091
1089
|
type: NgModule,
|
|
1092
1090
|
args: [{
|
|
1093
|
-
imports: [
|
|
1094
|
-
|
|
1095
|
-
exports: [DirectionsToolComponent],
|
|
1096
|
-
schemas: [CUSTOM_ELEMENTS_SCHEMA]
|
|
1091
|
+
imports: [DirectionsToolComponent],
|
|
1092
|
+
exports: [DirectionsToolComponent]
|
|
1097
1093
|
}]
|
|
1098
1094
|
}] });
|
|
1099
1095
|
|
|
@@ -1124,15 +1120,15 @@ class DrawState {
|
|
|
1124
1120
|
store = new FeatureStore([], { map: this.mapState.map });
|
|
1125
1121
|
}
|
|
1126
1122
|
}
|
|
1127
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1128
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1123
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: DrawState, deps: [{ token: MapState }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1124
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: DrawState, providedIn: 'root' });
|
|
1129
1125
|
}
|
|
1130
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1126
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: DrawState, decorators: [{
|
|
1131
1127
|
type: Injectable,
|
|
1132
1128
|
args: [{
|
|
1133
1129
|
providedIn: 'root'
|
|
1134
1130
|
}]
|
|
1135
|
-
}], ctorParameters:
|
|
1131
|
+
}], ctorParameters: () => [{ type: MapState }] });
|
|
1136
1132
|
|
|
1137
1133
|
/**
|
|
1138
1134
|
* Tool to measure lengths and areas
|
|
@@ -1179,50 +1175,50 @@ let DrawingToolComponent = class DrawingToolComponent {
|
|
|
1179
1175
|
this.drawState = drawState;
|
|
1180
1176
|
this.mapState = mapState;
|
|
1181
1177
|
}
|
|
1182
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1183
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
1178
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: DrawingToolComponent, deps: [{ token: DrawState }, { token: MapState }], target: i0.ɵɵFactoryTarget.Component });
|
|
1179
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.9", type: DrawingToolComponent, isStandalone: true, selector: "igo-drawing-tool", ngImport: i0, template: "<igo-draw\n [stores]=\"stores\"\n [map]=\"map\"\n (layersIDEvent)=\"addLayersID($event)\"\n [activeDrawingLayer]=\"activeDrawingLayer\"\n [drawControls]=\"drawControls\"\n (drawControlsEvent)=\"addDrawControls($event)\"\n (activeLayerChange)=\"activeDrawingLayer = $event\"\n>\n</igo-draw>\n", dependencies: [{ kind: "component", type: DrawComponent, selector: "igo-draw", inputs: ["map", "stores", "drawControls", "activeDrawingLayer"], outputs: ["activeLayerChange", "drawControlsEvent", "layersIDEvent", "fillColor", "strokeColor", "strokeWidth", "fontSize", "fontStyle"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1184
1180
|
};
|
|
1185
1181
|
DrawingToolComponent = __decorate([
|
|
1186
1182
|
ToolComponent({
|
|
1187
1183
|
name: 'draw',
|
|
1188
1184
|
title: 'igo.integration.tools.draw',
|
|
1189
|
-
icon: '
|
|
1185
|
+
icon: 'stylus_note'
|
|
1190
1186
|
}),
|
|
1191
1187
|
__metadata("design:paramtypes", [DrawState,
|
|
1192
1188
|
MapState])
|
|
1193
1189
|
], DrawingToolComponent);
|
|
1194
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1190
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: DrawingToolComponent, decorators: [{
|
|
1195
1191
|
type: Component,
|
|
1196
|
-
args: [{ selector: 'igo-drawing-tool', changeDetection: ChangeDetectionStrategy.OnPush, template: "<igo-draw\
|
|
1197
|
-
}], ctorParameters:
|
|
1192
|
+
args: [{ selector: 'igo-drawing-tool', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [DrawComponent], template: "<igo-draw\n [stores]=\"stores\"\n [map]=\"map\"\n (layersIDEvent)=\"addLayersID($event)\"\n [activeDrawingLayer]=\"activeDrawingLayer\"\n [drawControls]=\"drawControls\"\n (drawControlsEvent)=\"addDrawControls($event)\"\n (activeLayerChange)=\"activeDrawingLayer = $event\"\n>\n</igo-draw>\n" }]
|
|
1193
|
+
}], ctorParameters: () => [{ type: DrawState }, { type: MapState }] });
|
|
1198
1194
|
|
|
1199
1195
|
/**
|
|
1200
|
-
* @
|
|
1196
|
+
* @deprecated import the DrawingToolComponent directly
|
|
1201
1197
|
*/
|
|
1202
1198
|
class IgoAppDrawingToolModule {
|
|
1203
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1204
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
1205
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
1199
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: IgoAppDrawingToolModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1200
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.9", ngImport: i0, type: IgoAppDrawingToolModule, imports: [DrawingToolComponent], exports: [DrawingToolComponent] });
|
|
1201
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: IgoAppDrawingToolModule, imports: [DrawingToolComponent] });
|
|
1206
1202
|
}
|
|
1207
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1203
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: IgoAppDrawingToolModule, decorators: [{
|
|
1208
1204
|
type: NgModule,
|
|
1209
1205
|
args: [{
|
|
1210
|
-
imports: [
|
|
1211
|
-
|
|
1212
|
-
exports: [DrawingToolComponent],
|
|
1213
|
-
schemas: [CUSTOM_ELEMENTS_SCHEMA]
|
|
1206
|
+
imports: [DrawingToolComponent],
|
|
1207
|
+
exports: [DrawingToolComponent]
|
|
1214
1208
|
}]
|
|
1215
1209
|
}] });
|
|
1216
1210
|
|
|
1211
|
+
/**
|
|
1212
|
+
* @deprecated import the DrawingToolComponent directly
|
|
1213
|
+
*/
|
|
1217
1214
|
class IgoAppDrawModule {
|
|
1218
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1219
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
1220
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
1215
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: IgoAppDrawModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1216
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.9", ngImport: i0, type: IgoAppDrawModule, exports: [IgoAppDrawingToolModule] });
|
|
1217
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: IgoAppDrawModule, imports: [IgoAppDrawingToolModule] });
|
|
1221
1218
|
}
|
|
1222
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1219
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: IgoAppDrawModule, decorators: [{
|
|
1223
1220
|
type: NgModule,
|
|
1224
1221
|
args: [{
|
|
1225
|
-
imports: [IgoDrawingToolModule],
|
|
1226
1222
|
exports: [IgoAppDrawingToolModule]
|
|
1227
1223
|
}]
|
|
1228
1224
|
}] });
|
|
@@ -1253,8 +1249,8 @@ let ActiveOgcFilterToolComponent = class ActiveOgcFilterToolComponent {
|
|
|
1253
1249
|
constructor(mapState) {
|
|
1254
1250
|
this.mapState = mapState;
|
|
1255
1251
|
}
|
|
1256
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1257
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
1252
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: ActiveOgcFilterToolComponent, deps: [{ token: MapState }], target: i0.ɵɵFactoryTarget.Component });
|
|
1253
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.9", type: ActiveOgcFilterToolComponent, isStandalone: true, selector: "igo-active-ogc-filter-tool", ngImport: i0, template: "<igo-ogc-filterable-item\n [map]=\"map\"\n [layer]=\"layer\"\n [header]=\"false\"\n [@toolSlideInOut]=\"animate\"\n>\n</igo-ogc-filterable-item>\n", dependencies: [{ kind: "component", type: OgcFilterableItemComponent, selector: "igo-ogc-filterable-item", inputs: ["layer", "map", "header"] }], animations: [toolSlideInOut$1()] });
|
|
1258
1254
|
};
|
|
1259
1255
|
ActiveOgcFilterToolComponent = __decorate([
|
|
1260
1256
|
ToolComponent({
|
|
@@ -1265,10 +1261,10 @@ ActiveOgcFilterToolComponent = __decorate([
|
|
|
1265
1261
|
}),
|
|
1266
1262
|
__metadata("design:paramtypes", [MapState])
|
|
1267
1263
|
], ActiveOgcFilterToolComponent);
|
|
1268
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1264
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: ActiveOgcFilterToolComponent, decorators: [{
|
|
1269
1265
|
type: Component,
|
|
1270
|
-
args: [{ selector: 'igo-active-ogc-filter-tool', animations: [toolSlideInOut$1()], template: "<igo-ogc-filterable-item\
|
|
1271
|
-
}], ctorParameters:
|
|
1266
|
+
args: [{ selector: 'igo-active-ogc-filter-tool', animations: [toolSlideInOut$1()], standalone: true, imports: [OgcFilterableItemComponent], template: "<igo-ogc-filterable-item\n [map]=\"map\"\n [layer]=\"layer\"\n [header]=\"false\"\n [@toolSlideInOut]=\"animate\"\n>\n</igo-ogc-filterable-item>\n" }]
|
|
1267
|
+
}], ctorParameters: () => [{ type: MapState }] });
|
|
1272
1268
|
|
|
1273
1269
|
function toolSlideInOut(speed = '300ms', type = 'ease-in-out') {
|
|
1274
1270
|
return trigger('toolSlideInOut', [
|
|
@@ -1296,8 +1292,8 @@ let ActiveTimeFilterToolComponent = class ActiveTimeFilterToolComponent {
|
|
|
1296
1292
|
constructor(mapState) {
|
|
1297
1293
|
this.mapState = mapState;
|
|
1298
1294
|
}
|
|
1299
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1300
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
1295
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: ActiveTimeFilterToolComponent, deps: [{ token: MapState }], target: i0.ɵɵFactoryTarget.Component });
|
|
1296
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.9", type: ActiveTimeFilterToolComponent, isStandalone: true, selector: "igo-active-time-filter-tool", ngImport: i0, template: "<igo-time-filter-item\n [layer]=\"layer\"\n [header]=\"false\"\n [@toolSlideInOut]=\"animate\"\n>\n</igo-time-filter-item>\n", dependencies: [{ kind: "component", type: TimeFilterItemComponent, selector: "igo-time-filter-item", inputs: ["header", "layer"] }], animations: [toolSlideInOut()] });
|
|
1301
1297
|
};
|
|
1302
1298
|
ActiveTimeFilterToolComponent = __decorate([
|
|
1303
1299
|
ToolComponent({
|
|
@@ -1308,15 +1304,15 @@ ActiveTimeFilterToolComponent = __decorate([
|
|
|
1308
1304
|
}),
|
|
1309
1305
|
__metadata("design:paramtypes", [MapState])
|
|
1310
1306
|
], ActiveTimeFilterToolComponent);
|
|
1311
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1307
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: ActiveTimeFilterToolComponent, decorators: [{
|
|
1312
1308
|
type: Component,
|
|
1313
|
-
args: [{ selector: 'igo-active-time-filter-tool', animations: [toolSlideInOut()], template: "<igo-time-filter-item\
|
|
1314
|
-
}], ctorParameters:
|
|
1309
|
+
args: [{ selector: 'igo-active-time-filter-tool', animations: [toolSlideInOut()], standalone: true, imports: [TimeFilterItemComponent], template: "<igo-time-filter-item\n [layer]=\"layer\"\n [header]=\"false\"\n [@toolSlideInOut]=\"animate\"\n>\n</igo-time-filter-item>\n" }]
|
|
1310
|
+
}], ctorParameters: () => [{ type: MapState }] });
|
|
1315
1311
|
|
|
1316
1312
|
let OgcFilterToolComponent = class OgcFilterToolComponent {
|
|
1317
1313
|
constructor() { }
|
|
1318
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1319
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
1314
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: OgcFilterToolComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1315
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.9", type: OgcFilterToolComponent, isStandalone: true, selector: "igo-ogc-filter-tool", ngImport: i0, template: "<igo-ogc-filterable-list igoOgcFilterableListBinding></igo-ogc-filterable-list>\n", dependencies: [{ kind: "component", type: OgcFilterableListComponent, selector: "igo-ogc-filterable-list", inputs: ["layers", "map"] }, { kind: "directive", type: OgcFilterableListBindingDirective, selector: "[igoOgcFilterableListBinding]" }] });
|
|
1320
1316
|
};
|
|
1321
1317
|
OgcFilterToolComponent = __decorate([
|
|
1322
1318
|
ToolComponent({
|
|
@@ -1326,10 +1322,10 @@ OgcFilterToolComponent = __decorate([
|
|
|
1326
1322
|
}),
|
|
1327
1323
|
__metadata("design:paramtypes", [])
|
|
1328
1324
|
], OgcFilterToolComponent);
|
|
1329
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1325
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: OgcFilterToolComponent, decorators: [{
|
|
1330
1326
|
type: Component,
|
|
1331
|
-
args: [{ selector: 'igo-ogc-filter-tool', template: "<igo-ogc-filterable-list igoOgcFilterableListBinding></igo-ogc-filterable-list>\
|
|
1332
|
-
}], ctorParameters:
|
|
1327
|
+
args: [{ selector: 'igo-ogc-filter-tool', standalone: true, imports: [OgcFilterableListComponent, OgcFilterableListBindingDirective], template: "<igo-ogc-filterable-list igoOgcFilterableListBinding></igo-ogc-filterable-list>\n" }]
|
|
1328
|
+
}], ctorParameters: () => [] });
|
|
1333
1329
|
|
|
1334
1330
|
/**
|
|
1335
1331
|
* Service that holds the state of storage service
|
|
@@ -1342,15 +1338,15 @@ class StorageState {
|
|
|
1342
1338
|
constructor(igoStorageService) {
|
|
1343
1339
|
this.igoStorageService = igoStorageService;
|
|
1344
1340
|
}
|
|
1345
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1346
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1341
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: StorageState, deps: [{ token: i4.StorageService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1342
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: StorageState, providedIn: 'root' });
|
|
1347
1343
|
}
|
|
1348
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1344
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: StorageState, decorators: [{
|
|
1349
1345
|
type: Injectable,
|
|
1350
1346
|
args: [{
|
|
1351
1347
|
providedIn: 'root'
|
|
1352
1348
|
}]
|
|
1353
|
-
}], ctorParameters:
|
|
1349
|
+
}], ctorParameters: () => [{ type: i4.StorageService }] });
|
|
1354
1350
|
|
|
1355
1351
|
function handleZoomAuto(workspace, storageService) {
|
|
1356
1352
|
const zoomStrategy = workspace.entityStore.getStrategyOfType(FeatureStoreSelectionStrategy);
|
|
@@ -1358,7 +1354,7 @@ function handleZoomAuto(workspace, storageService) {
|
|
|
1358
1354
|
? FeatureMotion.Default
|
|
1359
1355
|
: FeatureMotion.None);
|
|
1360
1356
|
}
|
|
1361
|
-
function getWorkspaceActions(workspace, rowsInMapExtentCheckCondition$, selectOnlyCheckCondition$, ogcFilterWidget, zoomAuto$, maximize$, storageService, languageService, mediaService, toolState
|
|
1357
|
+
function getWorkspaceActions(workspace, rowsInMapExtentCheckCondition$, selectOnlyCheckCondition$, ogcFilterWidget, zoomAuto$, maximize$, storageService, languageService, mediaService, toolState) {
|
|
1362
1358
|
const actions = [
|
|
1363
1359
|
{
|
|
1364
1360
|
id: 'zoomAuto',
|
|
@@ -1389,7 +1385,7 @@ function getWorkspaceActions(workspace, rowsInMapExtentCheckCondition$, selectOn
|
|
|
1389
1385
|
},
|
|
1390
1386
|
{
|
|
1391
1387
|
id: 'clearselection',
|
|
1392
|
-
icon: '
|
|
1388
|
+
icon: 'deselect',
|
|
1393
1389
|
title: 'igo.integration.workspace.clearSelection.title',
|
|
1394
1390
|
tooltip: 'igo.integration.workspace.clearSelection.tooltip',
|
|
1395
1391
|
handler: (ws) => {
|
|
@@ -1402,7 +1398,7 @@ function getWorkspaceActions(workspace, rowsInMapExtentCheckCondition$, selectOn
|
|
|
1402
1398
|
},
|
|
1403
1399
|
{
|
|
1404
1400
|
id: 'featureDownload',
|
|
1405
|
-
icon: '
|
|
1401
|
+
icon: 'file_save',
|
|
1406
1402
|
title: 'igo.integration.workspace.download.title',
|
|
1407
1403
|
tooltip: 'igo.integration.workspace.download.tooltip',
|
|
1408
1404
|
handler: (ws) => {
|
|
@@ -1424,7 +1420,7 @@ function getWorkspaceActions(workspace, rowsInMapExtentCheckCondition$, selectOn
|
|
|
1424
1420
|
},
|
|
1425
1421
|
{
|
|
1426
1422
|
id: 'ogcFilter',
|
|
1427
|
-
icon: '
|
|
1423
|
+
icon: 'filter_alt',
|
|
1428
1424
|
title: 'igo.integration.workspace.ogcFilter.title',
|
|
1429
1425
|
tooltip: 'igo.integration.workspace.ogcFilter.tooltip',
|
|
1430
1426
|
handler: (widget, ws) => {
|
|
@@ -1463,11 +1459,11 @@ function getWorkspaceActions(workspace, rowsInMapExtentCheckCondition$, selectOn
|
|
|
1463
1459
|
},
|
|
1464
1460
|
{
|
|
1465
1461
|
id: 'print',
|
|
1466
|
-
icon: '
|
|
1462
|
+
icon: 'print',
|
|
1467
1463
|
title: 'igo.integration.workspace.print.title',
|
|
1468
1464
|
tooltip: 'igo.integration.workspace.print.tooltip',
|
|
1469
1465
|
handler: (ws) => {
|
|
1470
|
-
const title = `${ws.layer.title} (${
|
|
1466
|
+
const title = `${ws.layer.title} (${dateTransform(new Date(), 'YYYY-MM-DD-HH_mm')})`;
|
|
1471
1467
|
const doc = new jsPDF.default('landscape');
|
|
1472
1468
|
const totalPagesExp = '{total_pages_count_string}';
|
|
1473
1469
|
doc.text(title, 14, 20);
|
|
@@ -1508,6 +1504,9 @@ function getWorkspaceActions(workspace, rowsInMapExtentCheckCondition$, selectOn
|
|
|
1508
1504
|
: actions.filter((action) => action.id !== 'print');
|
|
1509
1505
|
return returnActions;
|
|
1510
1506
|
}
|
|
1507
|
+
function dateTransform(date, format) {
|
|
1508
|
+
return moment(date).format(format);
|
|
1509
|
+
}
|
|
1511
1510
|
|
|
1512
1511
|
class EditionActionsService {
|
|
1513
1512
|
ogcFilterWidget;
|
|
@@ -1515,7 +1514,6 @@ class EditionActionsService {
|
|
|
1515
1514
|
languageService;
|
|
1516
1515
|
mediaService;
|
|
1517
1516
|
toolState;
|
|
1518
|
-
datePipe;
|
|
1519
1517
|
maximize$;
|
|
1520
1518
|
zoomAuto$ = new BehaviorSubject(false);
|
|
1521
1519
|
storageChange$$;
|
|
@@ -1525,13 +1523,12 @@ class EditionActionsService {
|
|
|
1525
1523
|
get zoomAuto() {
|
|
1526
1524
|
return this.storageService.get('zoomAuto');
|
|
1527
1525
|
}
|
|
1528
|
-
constructor(ogcFilterWidget, storageState, languageService, mediaService, toolState
|
|
1526
|
+
constructor(ogcFilterWidget, storageState, languageService, mediaService, toolState) {
|
|
1529
1527
|
this.ogcFilterWidget = ogcFilterWidget;
|
|
1530
1528
|
this.storageState = storageState;
|
|
1531
1529
|
this.languageService = languageService;
|
|
1532
1530
|
this.mediaService = mediaService;
|
|
1533
1531
|
this.toolState = toolState;
|
|
1534
|
-
this.datePipe = datePipe;
|
|
1535
1532
|
this.maximize$ = new BehaviorSubject(this.storageService.get('workspaceMaximize'));
|
|
1536
1533
|
}
|
|
1537
1534
|
ngOnDestroy() {
|
|
@@ -1552,27 +1549,28 @@ class EditionActionsService {
|
|
|
1552
1549
|
this.zoomAuto$.next(this.zoomAuto);
|
|
1553
1550
|
handleZoomAuto(workspace, this.storageService);
|
|
1554
1551
|
});
|
|
1555
|
-
return getWorkspaceActions(workspace, rowsInMapExtentCheckCondition$, selectOnlyCheckCondition$, this.ogcFilterWidget, this.zoomAuto$, this.maximize$, this.storageService, this.languageService, this.mediaService, this.toolState
|
|
1552
|
+
return getWorkspaceActions(workspace, rowsInMapExtentCheckCondition$, selectOnlyCheckCondition$, this.ogcFilterWidget, this.zoomAuto$, this.maximize$, this.storageService, this.languageService, this.mediaService, this.toolState);
|
|
1556
1553
|
}
|
|
1557
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1558
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1554
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: EditionActionsService, deps: [{ token: OgcFilterWidget, optional: true }, { token: StorageState }, { token: i2$1.LanguageService }, { token: i3$1.MediaService }, { token: ToolState }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1555
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: EditionActionsService, providedIn: 'root' });
|
|
1559
1556
|
}
|
|
1560
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1557
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: EditionActionsService, decorators: [{
|
|
1561
1558
|
type: Injectable,
|
|
1562
1559
|
args: [{
|
|
1563
1560
|
providedIn: 'root'
|
|
1564
1561
|
}]
|
|
1565
|
-
}], ctorParameters:
|
|
1562
|
+
}], ctorParameters: () => [{ type: i5$1.Widget, decorators: [{
|
|
1563
|
+
type: Optional
|
|
1564
|
+
}, {
|
|
1566
1565
|
type: Inject,
|
|
1567
1566
|
args: [OgcFilterWidget]
|
|
1568
|
-
}] }, { type: StorageState }, { type: i2.LanguageService }, { type:
|
|
1567
|
+
}] }, { type: StorageState }, { type: i2$1.LanguageService }, { type: i3$1.MediaService }, { type: ToolState }] });
|
|
1569
1568
|
|
|
1570
1569
|
class FeatureActionsService {
|
|
1571
1570
|
storageState;
|
|
1572
1571
|
languageService;
|
|
1573
1572
|
toolState;
|
|
1574
1573
|
mediaService;
|
|
1575
|
-
datePipe;
|
|
1576
1574
|
maximize$;
|
|
1577
1575
|
zoomAuto$ = new BehaviorSubject(false);
|
|
1578
1576
|
storageChange$$;
|
|
@@ -1582,12 +1580,11 @@ class FeatureActionsService {
|
|
|
1582
1580
|
get zoomAuto() {
|
|
1583
1581
|
return this.storageService.get('zoomAuto');
|
|
1584
1582
|
}
|
|
1585
|
-
constructor(storageState, languageService, toolState, mediaService
|
|
1583
|
+
constructor(storageState, languageService, toolState, mediaService) {
|
|
1586
1584
|
this.storageState = storageState;
|
|
1587
1585
|
this.languageService = languageService;
|
|
1588
1586
|
this.toolState = toolState;
|
|
1589
1587
|
this.mediaService = mediaService;
|
|
1590
|
-
this.datePipe = datePipe;
|
|
1591
1588
|
this.maximize$ = new BehaviorSubject(this.storageService.get('workspaceMaximize'));
|
|
1592
1589
|
}
|
|
1593
1590
|
ngOnDestroy() {
|
|
@@ -1608,17 +1605,17 @@ class FeatureActionsService {
|
|
|
1608
1605
|
this.zoomAuto$.next(this.zoomAuto);
|
|
1609
1606
|
handleZoomAuto(workspace, this.storageService);
|
|
1610
1607
|
});
|
|
1611
|
-
return getWorkspaceActions(workspace, rowsInMapExtentCheckCondition$, selectOnlyCheckCondition$, undefined, this.zoomAuto$, this.maximize$, this.storageService, this.languageService, this.mediaService, this.toolState
|
|
1608
|
+
return getWorkspaceActions(workspace, rowsInMapExtentCheckCondition$, selectOnlyCheckCondition$, undefined, this.zoomAuto$, this.maximize$, this.storageService, this.languageService, this.mediaService, this.toolState);
|
|
1612
1609
|
}
|
|
1613
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1614
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1610
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: FeatureActionsService, deps: [{ token: StorageState }, { token: i2$1.LanguageService }, { token: ToolState }, { token: i3$1.MediaService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1611
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: FeatureActionsService, providedIn: 'root' });
|
|
1615
1612
|
}
|
|
1616
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1613
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: FeatureActionsService, decorators: [{
|
|
1617
1614
|
type: Injectable,
|
|
1618
1615
|
args: [{
|
|
1619
1616
|
providedIn: 'root'
|
|
1620
1617
|
}]
|
|
1621
|
-
}], ctorParameters:
|
|
1618
|
+
}], ctorParameters: () => [{ type: StorageState }, { type: i2$1.LanguageService }, { type: ToolState }, { type: i3$1.MediaService }] });
|
|
1622
1619
|
|
|
1623
1620
|
class WfsActionsService {
|
|
1624
1621
|
ogcFilterWidget;
|
|
@@ -1626,7 +1623,6 @@ class WfsActionsService {
|
|
|
1626
1623
|
languageService;
|
|
1627
1624
|
mediaService;
|
|
1628
1625
|
toolState;
|
|
1629
|
-
datePipe;
|
|
1630
1626
|
maximize$;
|
|
1631
1627
|
selectOnlyCheckCondition$ = new BehaviorSubject(false);
|
|
1632
1628
|
// rowsInMapExtentCheckCondition$: BehaviorSubject<boolean> = new BehaviorSubject(true);
|
|
@@ -1638,13 +1634,12 @@ class WfsActionsService {
|
|
|
1638
1634
|
get zoomAuto() {
|
|
1639
1635
|
return this.storageService.get('zoomAuto');
|
|
1640
1636
|
}
|
|
1641
|
-
constructor(ogcFilterWidget, storageState, languageService, mediaService, toolState
|
|
1637
|
+
constructor(ogcFilterWidget, storageState, languageService, mediaService, toolState) {
|
|
1642
1638
|
this.ogcFilterWidget = ogcFilterWidget;
|
|
1643
1639
|
this.storageState = storageState;
|
|
1644
1640
|
this.languageService = languageService;
|
|
1645
1641
|
this.mediaService = mediaService;
|
|
1646
1642
|
this.toolState = toolState;
|
|
1647
|
-
this.datePipe = datePipe;
|
|
1648
1643
|
this.maximize$ = new BehaviorSubject(this.storageService.get('workspaceMaximize'));
|
|
1649
1644
|
}
|
|
1650
1645
|
ngOnDestroy() {
|
|
@@ -1665,20 +1660,22 @@ class WfsActionsService {
|
|
|
1665
1660
|
this.zoomAuto$.next(this.zoomAuto);
|
|
1666
1661
|
handleZoomAuto(workspace, this.storageService);
|
|
1667
1662
|
});
|
|
1668
|
-
return getWorkspaceActions(workspace, rowsInMapExtentCheckCondition$, selectOnlyCheckCondition$, this.ogcFilterWidget, this.zoomAuto$, this.maximize$, this.storageService, this.languageService, this.mediaService, this.toolState
|
|
1663
|
+
return getWorkspaceActions(workspace, rowsInMapExtentCheckCondition$, selectOnlyCheckCondition$, this.ogcFilterWidget, this.zoomAuto$, this.maximize$, this.storageService, this.languageService, this.mediaService, this.toolState);
|
|
1669
1664
|
}
|
|
1670
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1671
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1665
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: WfsActionsService, deps: [{ token: OgcFilterWidget, optional: true }, { token: StorageState }, { token: i2$1.LanguageService }, { token: i3$1.MediaService }, { token: ToolState }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1666
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: WfsActionsService, providedIn: 'root' });
|
|
1672
1667
|
}
|
|
1673
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1668
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: WfsActionsService, decorators: [{
|
|
1674
1669
|
type: Injectable,
|
|
1675
1670
|
args: [{
|
|
1676
1671
|
providedIn: 'root'
|
|
1677
1672
|
}]
|
|
1678
|
-
}], ctorParameters:
|
|
1673
|
+
}], ctorParameters: () => [{ type: i5$1.Widget, decorators: [{
|
|
1674
|
+
type: Optional
|
|
1675
|
+
}, {
|
|
1679
1676
|
type: Inject,
|
|
1680
1677
|
args: [OgcFilterWidget]
|
|
1681
|
-
}] }, { type: StorageState }, { type: i2.LanguageService }, { type:
|
|
1678
|
+
}] }, { type: StorageState }, { type: i2$1.LanguageService }, { type: i3$1.MediaService }, { type: ToolState }] });
|
|
1682
1679
|
|
|
1683
1680
|
/**
|
|
1684
1681
|
* Service that holds the state of the workspace module
|
|
@@ -1861,15 +1858,15 @@ class WorkspaceState {
|
|
|
1861
1858
|
this.activeWorkspace$$.unsubscribe();
|
|
1862
1859
|
}
|
|
1863
1860
|
}
|
|
1864
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1865
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1861
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: WorkspaceState, deps: [{ token: FeatureActionsService }, { token: WfsActionsService }, { token: EditionActionsService }, { token: i4.StorageService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1862
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: WorkspaceState, providedIn: 'root' });
|
|
1866
1863
|
}
|
|
1867
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1864
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: WorkspaceState, decorators: [{
|
|
1868
1865
|
type: Injectable,
|
|
1869
1866
|
args: [{
|
|
1870
1867
|
providedIn: 'root'
|
|
1871
1868
|
}]
|
|
1872
|
-
}], ctorParameters:
|
|
1869
|
+
}], ctorParameters: () => [{ type: FeatureActionsService }, { type: WfsActionsService }, { type: EditionActionsService }, { type: i4.StorageService }] });
|
|
1873
1870
|
|
|
1874
1871
|
/**
|
|
1875
1872
|
* Tool to apply spatial filter
|
|
@@ -2389,14 +2386,14 @@ let SpatialFilterToolComponent = class SpatialFilterToolComponent {
|
|
|
2389
2386
|
}
|
|
2390
2387
|
this.activeLayers.push(layer);
|
|
2391
2388
|
}
|
|
2392
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2393
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
2389
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: SpatialFilterToolComponent, deps: [{ token: i1.MatIconRegistry }, { token: i1$1.SpatialFilterService }, { token: i1$1.DataSourceService }, { token: i1$1.LayerService }, { token: MapState }, { token: i4$1.MessageService }, { token: i2$1.LanguageService }, { token: ImportExportState }, { token: ToolState }, { token: WorkspaceState }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
2390
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.9", type: SpatialFilterToolComponent, isStandalone: true, selector: "igo-spatial-filter-tool", inputs: { type: "type", itemType: "itemType", freehandDrawIsActive: "freehandDrawIsActive" }, ngImport: i0, template: "<igo-spatial-filter-type\n [store]=\"spatialListStore\"\n [selectedQueryType]=\"queryType\"\n [zone]=\"zone\"\n [layers]=\"activeLayers\"\n (eventType)=\"getOutputType($event)\"\n (eventQueryType)=\"getOutputQueryType($event)\"\n (zoneChange)=\"onZoneChange($event)\"\n (zoneWithBufferChange)=\"onZoneChange($event, true)\"\n (bufferChange)=\"buffer = $event\"\n (measureUnitChange)=\"measureUnit = $event\"\n>\n</igo-spatial-filter-type>\n\n<igo-spatial-filter-item\n [type]=\"type\"\n [queryType]=\"queryType\"\n [map]=\"map\"\n [zone]=\"zone\"\n [loading]=\"loading\"\n [store]=\"store\"\n [layers]=\"activeLayers\"\n [allLayers]=\"layers\"\n [thematicLength]=\"thematicLength\"\n (radiusEvent)=\"buffer = $event\"\n (bufferEvent)=\"buffer = $event\"\n (measureUnitChange)=\"measureUnit = $event\"\n (freehandControl)=\"freehandDrawIsActive = $event\"\n (drawZoneEvent)=\"zone = $event\"\n (zoneWithBufferChange)=\"onZoneChange($event, true)\"\n (itemTypeChange)=\"itemType = $event\"\n (thematicChange)=\"thematics = $event\"\n (toggleSearch)=\"getOutputToggleSearch()\"\n (clearButtonEvent)=\"clearMap()\"\n (clearSearchEvent)=\"getOutputClearSearch()\"\n (export)=\"activateExportTool()\"\n (openWorkspace)=\"activateWorkspace()\"\n (entityChange)=\"activateWorkspace($event)\"\n>\n</igo-spatial-filter-item>\n<ng-container *ngIf=\"selectedFeature$ | async as feature\">\n <igo-feature-details [feature]=\"feature\"></igo-feature-details>\n</ng-container>\n", styles: [":host igo-spatial-filter-item{display:block;padding:0 12px}:host ::ng-deep .mat-mdc-tab-body-wrapper{margin-top:12px;padding:0 12px}\n"], dependencies: [{ kind: "component", type: SpatialFilterTypeComponent, selector: "igo-spatial-filter-type", inputs: ["store", "selectedQueryType", "zone", "layers"], outputs: ["eventType", "eventQueryType", "zoneChange", "zoneWithBufferChange", "bufferChange", "measureUnitChange"] }, { kind: "component", type: SpatialFilterItemComponent, selector: "igo-spatial-filter-item", inputs: ["map", "type", "queryType", "zone", "loading", "store", "layers", "allLayers", "thematicLength"], outputs: ["toggleSearch", "itemTypeChange", "thematicChange", "drawZoneEvent", "bufferEvent", "zoneWithBufferChange", "measureUnitChange", "radiusEvent", "freehandControl", "predefinedRadius", "clearButtonEvent", "clearSearchEvent", "export", "openWorkspace", "entityChange"] }, { kind: "component", type: FeatureDetailsComponent, selector: "igo-feature-details", inputs: ["source", "map", "toolbox", "feature"], outputs: ["routeEvent", "selectFeature", "htmlDisplayEvent"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2394
2391
|
};
|
|
2395
2392
|
SpatialFilterToolComponent = __decorate([
|
|
2396
2393
|
ToolComponent({
|
|
2397
2394
|
name: 'spatialFilter',
|
|
2398
2395
|
title: 'igo.integration.tools.spatialFilter',
|
|
2399
|
-
icon:
|
|
2396
|
+
icon: SELECTION_MARKER_ICON
|
|
2400
2397
|
})
|
|
2401
2398
|
/**
|
|
2402
2399
|
* Spatial Filter Type
|
|
@@ -2414,10 +2411,17 @@ SpatialFilterToolComponent = __decorate([
|
|
|
2414
2411
|
WorkspaceState,
|
|
2415
2412
|
ChangeDetectorRef])
|
|
2416
2413
|
], SpatialFilterToolComponent);
|
|
2417
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2414
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: SpatialFilterToolComponent, decorators: [{
|
|
2418
2415
|
type: Component,
|
|
2419
|
-
args: [{ selector: 'igo-spatial-filter-tool', changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2420
|
-
|
|
2416
|
+
args: [{ selector: 'igo-spatial-filter-tool', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [
|
|
2417
|
+
SpatialFilterTypeComponent,
|
|
2418
|
+
SpatialFilterItemComponent,
|
|
2419
|
+
PanelComponent,
|
|
2420
|
+
FeatureDetailsComponent,
|
|
2421
|
+
NgIf,
|
|
2422
|
+
AsyncPipe
|
|
2423
|
+
], template: "<igo-spatial-filter-type\n [store]=\"spatialListStore\"\n [selectedQueryType]=\"queryType\"\n [zone]=\"zone\"\n [layers]=\"activeLayers\"\n (eventType)=\"getOutputType($event)\"\n (eventQueryType)=\"getOutputQueryType($event)\"\n (zoneChange)=\"onZoneChange($event)\"\n (zoneWithBufferChange)=\"onZoneChange($event, true)\"\n (bufferChange)=\"buffer = $event\"\n (measureUnitChange)=\"measureUnit = $event\"\n>\n</igo-spatial-filter-type>\n\n<igo-spatial-filter-item\n [type]=\"type\"\n [queryType]=\"queryType\"\n [map]=\"map\"\n [zone]=\"zone\"\n [loading]=\"loading\"\n [store]=\"store\"\n [layers]=\"activeLayers\"\n [allLayers]=\"layers\"\n [thematicLength]=\"thematicLength\"\n (radiusEvent)=\"buffer = $event\"\n (bufferEvent)=\"buffer = $event\"\n (measureUnitChange)=\"measureUnit = $event\"\n (freehandControl)=\"freehandDrawIsActive = $event\"\n (drawZoneEvent)=\"zone = $event\"\n (zoneWithBufferChange)=\"onZoneChange($event, true)\"\n (itemTypeChange)=\"itemType = $event\"\n (thematicChange)=\"thematics = $event\"\n (toggleSearch)=\"getOutputToggleSearch()\"\n (clearButtonEvent)=\"clearMap()\"\n (clearSearchEvent)=\"getOutputClearSearch()\"\n (export)=\"activateExportTool()\"\n (openWorkspace)=\"activateWorkspace()\"\n (entityChange)=\"activateWorkspace($event)\"\n>\n</igo-spatial-filter-item>\n<ng-container *ngIf=\"selectedFeature$ | async as feature\">\n <igo-feature-details [feature]=\"feature\"></igo-feature-details>\n</ng-container>\n", styles: [":host igo-spatial-filter-item{display:block;padding:0 12px}:host ::ng-deep .mat-mdc-tab-body-wrapper{margin-top:12px;padding:0 12px}\n"] }]
|
|
2424
|
+
}], ctorParameters: () => [{ type: i1.MatIconRegistry }, { type: i1$1.SpatialFilterService }, { type: i1$1.DataSourceService }, { type: i1$1.LayerService }, { type: MapState }, { type: i4$1.MessageService }, { type: i2$1.LanguageService }, { type: ImportExportState }, { type: ToolState }, { type: WorkspaceState }, { type: i0.ChangeDetectorRef }], propDecorators: { type: [{
|
|
2421
2425
|
type: Input
|
|
2422
2426
|
}], itemType: [{
|
|
2423
2427
|
type: Input
|
|
@@ -2427,8 +2431,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
2427
2431
|
|
|
2428
2432
|
let TimeFilterToolComponent = class TimeFilterToolComponent {
|
|
2429
2433
|
constructor() { }
|
|
2430
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2431
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
2434
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: TimeFilterToolComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2435
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.9", type: TimeFilterToolComponent, isStandalone: true, selector: "igo-time-filter-tool", ngImport: i0, template: "<igo-time-filter-list igoTimeFilterListBinding></igo-time-filter-list>\n", dependencies: [{ kind: "component", type: TimeFilterListComponent, selector: "igo-time-filter-list", inputs: ["layers"] }, { kind: "directive", type: TimeFilterListBindingDirective, selector: "[igoTimeFilterListBinding]" }] });
|
|
2432
2436
|
};
|
|
2433
2437
|
TimeFilterToolComponent = __decorate([
|
|
2434
2438
|
ToolComponent({
|
|
@@ -2438,11 +2442,14 @@ TimeFilterToolComponent = __decorate([
|
|
|
2438
2442
|
}),
|
|
2439
2443
|
__metadata("design:paramtypes", [])
|
|
2440
2444
|
], TimeFilterToolComponent);
|
|
2441
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2445
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: TimeFilterToolComponent, decorators: [{
|
|
2442
2446
|
type: Component,
|
|
2443
|
-
args: [{ selector: 'igo-time-filter-tool', template: "<igo-time-filter-list igoTimeFilterListBinding></igo-time-filter-list>\n" }]
|
|
2444
|
-
}], ctorParameters:
|
|
2447
|
+
args: [{ selector: 'igo-time-filter-tool', standalone: true, imports: [TimeFilterListComponent, TimeFilterListBindingDirective], template: "<igo-time-filter-list igoTimeFilterListBinding></igo-time-filter-list>\n" }]
|
|
2448
|
+
}], ctorParameters: () => [] });
|
|
2445
2449
|
|
|
2450
|
+
/**
|
|
2451
|
+
* @deprecated import the components directly or INTEGRATION_FILTER_DIRECTIVES for the set
|
|
2452
|
+
*/
|
|
2446
2453
|
class IgoAppFilterModule {
|
|
2447
2454
|
static forRoot() {
|
|
2448
2455
|
return {
|
|
@@ -2450,23 +2457,26 @@ class IgoAppFilterModule {
|
|
|
2450
2457
|
providers: []
|
|
2451
2458
|
};
|
|
2452
2459
|
}
|
|
2453
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2454
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
2460
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: IgoAppFilterModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2461
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.9", ngImport: i0, type: IgoAppFilterModule, imports: [OgcFilterToolComponent,
|
|
2462
|
+
ActiveOgcFilterToolComponent,
|
|
2463
|
+
TimeFilterToolComponent,
|
|
2464
|
+
ActiveTimeFilterToolComponent,
|
|
2465
|
+
SpatialFilterToolComponent], exports: [OgcFilterToolComponent,
|
|
2455
2466
|
ActiveOgcFilterToolComponent,
|
|
2456
2467
|
TimeFilterToolComponent,
|
|
2457
2468
|
ActiveTimeFilterToolComponent,
|
|
2458
|
-
SpatialFilterToolComponent]
|
|
2469
|
+
SpatialFilterToolComponent] });
|
|
2470
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: IgoAppFilterModule, imports: [OgcFilterToolComponent,
|
|
2459
2471
|
ActiveOgcFilterToolComponent,
|
|
2460
2472
|
TimeFilterToolComponent,
|
|
2461
2473
|
ActiveTimeFilterToolComponent,
|
|
2462
2474
|
SpatialFilterToolComponent] });
|
|
2463
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IgoAppFilterModule, imports: [IgoFilterModule, IgoQueryModule, CommonModule] });
|
|
2464
2475
|
}
|
|
2465
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2476
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: IgoAppFilterModule, decorators: [{
|
|
2466
2477
|
type: NgModule,
|
|
2467
2478
|
args: [{
|
|
2468
|
-
imports: [
|
|
2469
|
-
declarations: [
|
|
2479
|
+
imports: [
|
|
2470
2480
|
OgcFilterToolComponent,
|
|
2471
2481
|
ActiveOgcFilterToolComponent,
|
|
2472
2482
|
TimeFilterToolComponent,
|
|
@@ -2479,8 +2489,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
2479
2489
|
TimeFilterToolComponent,
|
|
2480
2490
|
ActiveTimeFilterToolComponent,
|
|
2481
2491
|
SpatialFilterToolComponent
|
|
2482
|
-
]
|
|
2483
|
-
schemas: [CUSTOM_ELEMENTS_SCHEMA]
|
|
2492
|
+
]
|
|
2484
2493
|
}]
|
|
2485
2494
|
}] });
|
|
2486
2495
|
|
|
@@ -2625,14 +2634,14 @@ let DataIssueReporterToolComponent = class DataIssueReporterToolComponent {
|
|
|
2625
2634
|
this.clearForm();
|
|
2626
2635
|
}
|
|
2627
2636
|
}
|
|
2628
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2629
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
2637
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: DataIssueReporterToolComponent, deps: [{ token: MapState }, { token: i2$2.FormService }, { token: i2$1.LanguageService }, { token: i4$1.MessageService }, { token: i3.HttpClient }], target: i0.ɵɵFactoryTarget.Component });
|
|
2638
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.9", type: DataIssueReporterToolComponent, selector: "igo-issue-reporter-tool", inputs: { url: "url" }, ngImport: i0, template: "<igo-form\n *ngIf=\"form$ | async as form\"\n [form]=\"form\"\n [formData]=\"data$ | async\"\n (submitForm)=\"onSubmit($any($event))\"\n>\n <div *ngIf=\"form.fields.length\" class=\"form-container\">\n <igo-form-field\n *ngFor=\"let field of form.fields\"\n [field]=\"field\"\n ></igo-form-field>\n </div>\n\n <div formButtons class=\"actions-container\">\n <button\n mat-stroked-button\n type=\"button\"\n color=\"primary\"\n (click)=\"clearForm()\"\n >\n {{ 'igo.integration.dataIssueReporterTool.reset.button' | translate }}\n </button>\n <button\n mat-flat-button\n type=\"submit\"\n color=\"primary\"\n [disabled]=\"submitDisabled\"\n >\n {{ 'igo.integration.dataIssueReporterTool.submit.button' | translate }}\n </button>\n </div>\n</igo-form>\n", styles: [":host .actions-container button:not(:last-child){margin-right:8px}:host .form-container{width:100%;padding:10px}:host .form-container igo-form-field{display:block;height:auto}\n"], dependencies: [{ kind: "directive", type: i6$2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i6$2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i7.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "component", type: i2$2.FormFieldComponent, selector: "igo-form-field", inputs: ["field"] }, { kind: "component", type: i2$2.FormComponent, selector: "igo-form", inputs: ["form", "formData", "autocomplete"], outputs: ["submitForm"] }, { kind: "pipe", type: i6$2.AsyncPipe, name: "async" }, { kind: "pipe", type: i6$1.TranslatePipe, name: "translate" }] });
|
|
2630
2639
|
};
|
|
2631
2640
|
DataIssueReporterToolComponent = __decorate([
|
|
2632
2641
|
ToolComponent({
|
|
2633
2642
|
name: 'dataIssueReporter',
|
|
2634
2643
|
title: 'igo.integration.tools.dataIssueReporter',
|
|
2635
|
-
icon: '
|
|
2644
|
+
icon: 'feedback'
|
|
2636
2645
|
}),
|
|
2637
2646
|
__metadata("design:paramtypes", [MapState,
|
|
2638
2647
|
FormService,
|
|
@@ -2640,27 +2649,27 @@ DataIssueReporterToolComponent = __decorate([
|
|
|
2640
2649
|
MessageService,
|
|
2641
2650
|
HttpClient])
|
|
2642
2651
|
], DataIssueReporterToolComponent);
|
|
2643
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2652
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: DataIssueReporterToolComponent, decorators: [{
|
|
2644
2653
|
type: Component,
|
|
2645
|
-
args: [{ selector: 'igo-issue-reporter-tool', template: "<igo-form\
|
|
2646
|
-
}], ctorParameters:
|
|
2654
|
+
args: [{ selector: 'igo-issue-reporter-tool', template: "<igo-form\n *ngIf=\"form$ | async as form\"\n [form]=\"form\"\n [formData]=\"data$ | async\"\n (submitForm)=\"onSubmit($any($event))\"\n>\n <div *ngIf=\"form.fields.length\" class=\"form-container\">\n <igo-form-field\n *ngFor=\"let field of form.fields\"\n [field]=\"field\"\n ></igo-form-field>\n </div>\n\n <div formButtons class=\"actions-container\">\n <button\n mat-stroked-button\n type=\"button\"\n color=\"primary\"\n (click)=\"clearForm()\"\n >\n {{ 'igo.integration.dataIssueReporterTool.reset.button' | translate }}\n </button>\n <button\n mat-flat-button\n type=\"submit\"\n color=\"primary\"\n [disabled]=\"submitDisabled\"\n >\n {{ 'igo.integration.dataIssueReporterTool.submit.button' | translate }}\n </button>\n </div>\n</igo-form>\n", styles: [":host .actions-container button:not(:last-child){margin-right:8px}:host .form-container{width:100%;padding:10px}:host .form-container igo-form-field{display:block;height:auto}\n"] }]
|
|
2655
|
+
}], ctorParameters: () => [{ type: MapState }, { type: i2$2.FormService }, { type: i2$1.LanguageService }, { type: i4$1.MessageService }, { type: i3.HttpClient }], propDecorators: { url: [{
|
|
2647
2656
|
type: Input
|
|
2648
2657
|
}] } });
|
|
2649
2658
|
|
|
2650
2659
|
class IgoAppGeometryFormModule {
|
|
2651
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2652
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
2660
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: IgoAppGeometryFormModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2661
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.9", ngImport: i0, type: IgoAppGeometryFormModule, declarations: [DataIssueReporterToolComponent], imports: [CommonModule,
|
|
2653
2662
|
MatButtonModule,
|
|
2654
2663
|
IgoLanguageModule,
|
|
2655
2664
|
IgoFormModule,
|
|
2656
2665
|
IgoMessageModule], exports: [DataIssueReporterToolComponent] });
|
|
2657
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
2666
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: IgoAppGeometryFormModule, imports: [CommonModule,
|
|
2658
2667
|
MatButtonModule,
|
|
2659
2668
|
IgoLanguageModule,
|
|
2660
2669
|
IgoFormModule,
|
|
2661
2670
|
IgoMessageModule] });
|
|
2662
2671
|
}
|
|
2663
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2672
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: IgoAppGeometryFormModule, decorators: [{
|
|
2664
2673
|
type: NgModule,
|
|
2665
2674
|
args: [{
|
|
2666
2675
|
imports: [
|
|
@@ -2735,24 +2744,31 @@ let ImportExportToolComponent = class ImportExportToolComponent {
|
|
|
2735
2744
|
importExportTypeChange(event) {
|
|
2736
2745
|
this.importExportType = event.value;
|
|
2737
2746
|
}
|
|
2738
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2739
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
2747
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: ImportExportToolComponent, deps: [{ token: MapState }, { token: ImportExportState }, { token: WorkspaceState }, { token: ContextState }], target: i0.ɵɵFactoryTarget.Component });
|
|
2748
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.9", type: ImportExportToolComponent, isStandalone: true, selector: "igo-import-export-tool", inputs: { projectionsLimitations: "projectionsLimitations", selectFirstProj: "selectFirstProj", importExportType: "importExportType", importExportShowBothType: "importExportShowBothType" }, ngImport: i0, template: "<mat-tab-group *ngIf=\"importExportShowBothType\">\n <mat-tab\n [label]=\"'igo.integration.importExportTool.importExportData' | translate\"\n >\n <igo-import-export\n [contextUri]=\"(contextState.context$ | async).uri\"\n [map]=\"map\"\n [selectFirstProj]=\"selectFirstProj\"\n [projectionsLimitations]=\"projectionsLimitations\"\n [store]=\"workspaceStore\"\n [selectedMode]=\"importExportState.selectedMode$ | async\"\n (selectMode)=\"modeChanged($any($event))\"\n [exportOptions$]=\"importExportState.exportOptions$\"\n (exportOptionsChange)=\"exportOptionsChange($event)\"\n >\n </igo-import-export>\n </mat-tab>\n <mat-tab\n [label]=\"'igo.integration.importExportTool.importExportContext' | translate\"\n >\n <igo-context-import-export [map]=\"map\"></igo-context-import-export>\n </mat-tab>\n</mat-tab-group>\n\n<igo-import-export\n *ngIf=\"!importExportShowBothType && importExportType === 'layer'\"\n [contextUri]=\"(contextState.context$ | async).uri\"\n [map]=\"map\"\n [store]=\"workspaceStore\"\n [selectedMode]=\"importExportState.selectedMode$ | async\"\n (selectMode)=\"modeChanged($any($event))\"\n [exportOptions$]=\"importExportState.exportOptions$\"\n (exportOptionsChange)=\"exportOptionsChange($event)\"\n>\n</igo-import-export>\n\n<igo-context-import-export\n *ngIf=\"!importExportShowBothType && importExportType === 'context'\"\n [map]=\"map\"\n>\n</igo-context-import-export>\n", styles: ["mat-form-field{width:100%}\n"], dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: MatTabsModule }, { kind: "component", type: i5$2.MatTab, selector: "mat-tab", inputs: ["disabled", "label", "aria-label", "aria-labelledby", "labelClass", "bodyClass"], exportAs: ["matTab"] }, { kind: "component", type: i5$2.MatTabGroup, selector: "mat-tab-group", inputs: ["color", "fitInkBarToContent", "mat-stretch-tabs", "dynamicHeight", "selectedIndex", "headerPosition", "animationDuration", "contentTabIndex", "disablePagination", "disableRipple", "preserveContent", "backgroundColor"], outputs: ["selectedIndexChange", "focusChange", "animationDone", "selectedTabChange"], exportAs: ["matTabGroup"] }, { kind: "component", type: ImportExportComponent, selector: "igo-import-export", inputs: ["selectFirstProj", "map", "contextUri", "projectionsLimitations", "store", "selectedMode", "exportOptions$"], outputs: ["selectMode", "exportOptionsChange"] }, { kind: "component", type: ContextImportExportComponent, selector: "igo-context-import-export", inputs: ["map"] }, { kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "ngmodule", type: IgoLanguageModule }, { kind: "pipe", type: i6$1.TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2740
2749
|
};
|
|
2741
2750
|
ImportExportToolComponent = __decorate([
|
|
2742
2751
|
ToolComponent({
|
|
2743
2752
|
name: 'importExport',
|
|
2744
2753
|
title: 'igo.integration.tools.importExport',
|
|
2745
|
-
icon: '
|
|
2754
|
+
icon: 'file_save'
|
|
2746
2755
|
}),
|
|
2747
2756
|
__metadata("design:paramtypes", [MapState,
|
|
2748
2757
|
ImportExportState,
|
|
2749
2758
|
WorkspaceState,
|
|
2750
2759
|
ContextState])
|
|
2751
2760
|
], ImportExportToolComponent);
|
|
2752
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2761
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: ImportExportToolComponent, decorators: [{
|
|
2753
2762
|
type: Component,
|
|
2754
|
-
args: [{ selector: 'igo-import-export-tool', changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2755
|
-
|
|
2763
|
+
args: [{ selector: 'igo-import-export-tool', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [
|
|
2764
|
+
NgIf,
|
|
2765
|
+
MatTabsModule,
|
|
2766
|
+
ImportExportComponent,
|
|
2767
|
+
ContextImportExportComponent,
|
|
2768
|
+
AsyncPipe,
|
|
2769
|
+
IgoLanguageModule
|
|
2770
|
+
], template: "<mat-tab-group *ngIf=\"importExportShowBothType\">\n <mat-tab\n [label]=\"'igo.integration.importExportTool.importExportData' | translate\"\n >\n <igo-import-export\n [contextUri]=\"(contextState.context$ | async).uri\"\n [map]=\"map\"\n [selectFirstProj]=\"selectFirstProj\"\n [projectionsLimitations]=\"projectionsLimitations\"\n [store]=\"workspaceStore\"\n [selectedMode]=\"importExportState.selectedMode$ | async\"\n (selectMode)=\"modeChanged($any($event))\"\n [exportOptions$]=\"importExportState.exportOptions$\"\n (exportOptionsChange)=\"exportOptionsChange($event)\"\n >\n </igo-import-export>\n </mat-tab>\n <mat-tab\n [label]=\"'igo.integration.importExportTool.importExportContext' | translate\"\n >\n <igo-context-import-export [map]=\"map\"></igo-context-import-export>\n </mat-tab>\n</mat-tab-group>\n\n<igo-import-export\n *ngIf=\"!importExportShowBothType && importExportType === 'layer'\"\n [contextUri]=\"(contextState.context$ | async).uri\"\n [map]=\"map\"\n [store]=\"workspaceStore\"\n [selectedMode]=\"importExportState.selectedMode$ | async\"\n (selectMode)=\"modeChanged($any($event))\"\n [exportOptions$]=\"importExportState.exportOptions$\"\n (exportOptionsChange)=\"exportOptionsChange($event)\"\n>\n</igo-import-export>\n\n<igo-context-import-export\n *ngIf=\"!importExportShowBothType && importExportType === 'context'\"\n [map]=\"map\"\n>\n</igo-context-import-export>\n", styles: ["mat-form-field{width:100%}\n"] }]
|
|
2771
|
+
}], ctorParameters: () => [{ type: MapState }, { type: ImportExportState }, { type: WorkspaceState }, { type: ContextState }], propDecorators: { projectionsLimitations: [{
|
|
2756
2772
|
type: Input
|
|
2757
2773
|
}], selectFirstProj: [{
|
|
2758
2774
|
type: Input
|
|
@@ -2762,6 +2778,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
2762
2778
|
type: Input
|
|
2763
2779
|
}] } });
|
|
2764
2780
|
|
|
2781
|
+
/**
|
|
2782
|
+
* @deprecated import the ImportExportToolComponent directly
|
|
2783
|
+
*/
|
|
2765
2784
|
class IgoAppImportExportModule {
|
|
2766
2785
|
static forRoot() {
|
|
2767
2786
|
return {
|
|
@@ -2769,116 +2788,15 @@ class IgoAppImportExportModule {
|
|
|
2769
2788
|
providers: []
|
|
2770
2789
|
};
|
|
2771
2790
|
}
|
|
2772
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2773
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
2774
|
-
|
|
2775
|
-
CommonModule,
|
|
2776
|
-
IgoLanguageModule,
|
|
2777
|
-
MatButtonToggleModule,
|
|
2778
|
-
MatTabsModule,
|
|
2779
|
-
IgoStyleModule], exports: [ImportExportToolComponent] });
|
|
2780
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IgoAppImportExportModule, imports: [IgoImportExportModule,
|
|
2781
|
-
IgoContextImportExportModule,
|
|
2782
|
-
CommonModule,
|
|
2783
|
-
IgoLanguageModule,
|
|
2784
|
-
MatButtonToggleModule,
|
|
2785
|
-
MatTabsModule,
|
|
2786
|
-
IgoStyleModule] });
|
|
2791
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: IgoAppImportExportModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2792
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.9", ngImport: i0, type: IgoAppImportExportModule, imports: [ImportExportToolComponent], exports: [ImportExportToolComponent] });
|
|
2793
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: IgoAppImportExportModule, imports: [ImportExportToolComponent] });
|
|
2787
2794
|
}
|
|
2788
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2795
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: IgoAppImportExportModule, decorators: [{
|
|
2789
2796
|
type: NgModule,
|
|
2790
2797
|
args: [{
|
|
2791
|
-
imports: [
|
|
2792
|
-
|
|
2793
|
-
IgoContextImportExportModule,
|
|
2794
|
-
CommonModule,
|
|
2795
|
-
IgoLanguageModule,
|
|
2796
|
-
MatButtonToggleModule,
|
|
2797
|
-
MatTabsModule,
|
|
2798
|
-
IgoStyleModule
|
|
2799
|
-
],
|
|
2800
|
-
declarations: [ImportExportToolComponent],
|
|
2801
|
-
exports: [ImportExportToolComponent],
|
|
2802
|
-
schemas: [CUSTOM_ELEMENTS_SCHEMA]
|
|
2803
|
-
}]
|
|
2804
|
-
}] });
|
|
2805
|
-
|
|
2806
|
-
class WorkspaceButtonComponent {
|
|
2807
|
-
workspaceState;
|
|
2808
|
-
hasWorkspace$ = new BehaviorSubject(false);
|
|
2809
|
-
hasWorkspace$$;
|
|
2810
|
-
_layer;
|
|
2811
|
-
layer$ = new BehaviorSubject(undefined);
|
|
2812
|
-
set layer(value) {
|
|
2813
|
-
this._layer = value;
|
|
2814
|
-
this.layer$.next(this._layer);
|
|
2815
|
-
}
|
|
2816
|
-
get layer() {
|
|
2817
|
-
return this._layer;
|
|
2818
|
-
}
|
|
2819
|
-
color = 'primary';
|
|
2820
|
-
constructor(workspaceState) {
|
|
2821
|
-
this.workspaceState = workspaceState;
|
|
2822
|
-
}
|
|
2823
|
-
ngOnInit() {
|
|
2824
|
-
this.hasWorkspace$$ = combineLatest([
|
|
2825
|
-
this.workspaceState.workspaceEnabled$,
|
|
2826
|
-
this.layer$
|
|
2827
|
-
]).subscribe((bunch) => this.hasWorkspace$.next(bunch[0] && bunch[1]?.options.workspace?.enabled));
|
|
2828
|
-
}
|
|
2829
|
-
ngOnDestroy() {
|
|
2830
|
-
this.hasWorkspace$$.unsubscribe();
|
|
2831
|
-
}
|
|
2832
|
-
activateWorkspace() {
|
|
2833
|
-
if (this.workspaceState.workspace$.value &&
|
|
2834
|
-
this.workspaceState.workspace$.value.layer.id ===
|
|
2835
|
-
this.layer.id &&
|
|
2836
|
-
this.workspaceState.workspacePanelExpanded) {
|
|
2837
|
-
this.workspaceState.workspacePanelExpanded = false;
|
|
2838
|
-
}
|
|
2839
|
-
else {
|
|
2840
|
-
this.workspaceState.workspacePanelExpanded = true;
|
|
2841
|
-
this.workspaceState.setActiveWorkspaceById(this.layer.id);
|
|
2842
|
-
}
|
|
2843
|
-
}
|
|
2844
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: WorkspaceButtonComponent, deps: [{ token: WorkspaceState }], target: i0.ɵɵFactoryTarget.Component });
|
|
2845
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: WorkspaceButtonComponent, selector: "igo-workspace-button", inputs: { layer: "layer", color: "color" }, ngImport: i0, 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", styles: [""], dependencies: [{ kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i7.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i10.MatIconButton, selector: "button[mat-icon-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "directive", type: i6.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }, { kind: "pipe", type: i4.AsyncPipe, name: "async" }, { kind: "pipe", type: i7$1.TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2846
|
-
}
|
|
2847
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: WorkspaceButtonComponent, decorators: [{
|
|
2848
|
-
type: Component,
|
|
2849
|
-
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" }]
|
|
2850
|
-
}], ctorParameters: function () { return [{ type: WorkspaceState }]; }, propDecorators: { layer: [{
|
|
2851
|
-
type: Input
|
|
2852
|
-
}], color: [{
|
|
2853
|
-
type: Input
|
|
2854
|
-
}] } });
|
|
2855
|
-
|
|
2856
|
-
class IgoAppWorkspaceModule {
|
|
2857
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IgoAppWorkspaceModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2858
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: IgoAppWorkspaceModule, declarations: [WorkspaceButtonComponent], imports: [CommonModule,
|
|
2859
|
-
MatIconModule,
|
|
2860
|
-
MatButtonModule,
|
|
2861
|
-
MatTooltipModule,
|
|
2862
|
-
IgoLanguageModule], exports: [WorkspaceButtonComponent] });
|
|
2863
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IgoAppWorkspaceModule, providers: [DatePipe], imports: [CommonModule,
|
|
2864
|
-
MatIconModule,
|
|
2865
|
-
MatButtonModule,
|
|
2866
|
-
MatTooltipModule,
|
|
2867
|
-
IgoLanguageModule] });
|
|
2868
|
-
}
|
|
2869
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IgoAppWorkspaceModule, decorators: [{
|
|
2870
|
-
type: NgModule,
|
|
2871
|
-
args: [{
|
|
2872
|
-
imports: [
|
|
2873
|
-
CommonModule,
|
|
2874
|
-
MatIconModule,
|
|
2875
|
-
MatButtonModule,
|
|
2876
|
-
MatTooltipModule,
|
|
2877
|
-
IgoLanguageModule
|
|
2878
|
-
],
|
|
2879
|
-
declarations: [WorkspaceButtonComponent],
|
|
2880
|
-
exports: [WorkspaceButtonComponent],
|
|
2881
|
-
providers: [DatePipe]
|
|
2798
|
+
imports: [ImportExportToolComponent],
|
|
2799
|
+
exports: [ImportExportToolComponent]
|
|
2882
2800
|
}]
|
|
2883
2801
|
}] });
|
|
2884
2802
|
|
|
@@ -2902,6 +2820,7 @@ class AdvancedCoordinatesComponent {
|
|
|
2902
2820
|
inMtmZone = true;
|
|
2903
2821
|
inLambert2 = { 32198: true, 3798: true };
|
|
2904
2822
|
mapState$$;
|
|
2823
|
+
formStatus$$;
|
|
2905
2824
|
_projectionsLimitations = {};
|
|
2906
2825
|
projectionsConstraints;
|
|
2907
2826
|
defaultProj;
|
|
@@ -2947,36 +2866,18 @@ class AdvancedCoordinatesComponent {
|
|
|
2947
2866
|
* Listen a state of the map, a state of a form, update the coordinates
|
|
2948
2867
|
*/
|
|
2949
2868
|
ngOnInit() {
|
|
2950
|
-
this.mapState$$ =
|
|
2951
|
-
|
|
2952
|
-
|
|
2953
|
-
]).subscribe(() => {
|
|
2869
|
+
this.mapState$$ = this.map.viewController.state$
|
|
2870
|
+
.pipe(debounceTime(50))
|
|
2871
|
+
.subscribe(() => {
|
|
2954
2872
|
this.setScaleValue(this.map);
|
|
2955
|
-
this.
|
|
2956
|
-
|
|
2957
|
-
|
|
2958
|
-
|
|
2959
|
-
this.back2quebec();
|
|
2960
|
-
}
|
|
2961
|
-
let zoneChange = false;
|
|
2962
|
-
if (currentMtmZone !== this.currentZones.mtm) {
|
|
2963
|
-
this.currentZones.mtm = currentMtmZone;
|
|
2964
|
-
zoneChange = true;
|
|
2965
|
-
}
|
|
2966
|
-
if (currentUtmZone !== this.currentZones.utm) {
|
|
2967
|
-
this.currentZones.utm = currentUtmZone;
|
|
2968
|
-
zoneChange = true;
|
|
2969
|
-
}
|
|
2970
|
-
if (zoneChange) {
|
|
2971
|
-
this.updateProjectionsZoneChange();
|
|
2972
|
-
}
|
|
2973
|
-
this.checkLambert(this.currentCenterDefaultProj);
|
|
2974
|
-
this.coordinates = this.getCoordinates();
|
|
2975
|
-
this.cdRef.detectChanges();
|
|
2976
|
-
this.storageService.set('currentProjection', this.inputProj, StorageScope.SESSION);
|
|
2873
|
+
this.updateCoordinates();
|
|
2874
|
+
});
|
|
2875
|
+
this.formStatus$$ = this.form.valueChanges.subscribe(() => {
|
|
2876
|
+
this.updateCoordinates();
|
|
2977
2877
|
});
|
|
2978
2878
|
const tempInputProj = this.storageService.get('currentProjection');
|
|
2979
|
-
this.inputProj =
|
|
2879
|
+
this.inputProj =
|
|
2880
|
+
this.projections$.value.find((val) => val.code === this.defaultProj.code) ?? this.projections$.value[0];
|
|
2980
2881
|
if (tempInputProj !== null) {
|
|
2981
2882
|
const pos = this.positionInList(tempInputProj);
|
|
2982
2883
|
this.inputProj = this.projections$.value[pos];
|
|
@@ -2989,6 +2890,7 @@ class AdvancedCoordinatesComponent {
|
|
|
2989
2890
|
ngOnDestroy() {
|
|
2990
2891
|
this.map.mapCenter$.next(false);
|
|
2991
2892
|
this.mapState$$.unsubscribe();
|
|
2893
|
+
this.formStatus$$.unsubscribe();
|
|
2992
2894
|
}
|
|
2993
2895
|
setScaleValue(map) {
|
|
2994
2896
|
this.formattedScale$.next(': ~ 1 / ' + formatScale(map.viewController.getScale()));
|
|
@@ -3012,6 +2914,29 @@ class AdvancedCoordinatesComponent {
|
|
|
3012
2914
|
.map((c) => c.toFixed(decimal));
|
|
3013
2915
|
return coord;
|
|
3014
2916
|
}
|
|
2917
|
+
updateCoordinates() {
|
|
2918
|
+
this.currentCenterDefaultProj = this.map.viewController.getCenter(this.defaultProj.code);
|
|
2919
|
+
const currentMtmZone = zoneMtm(this.currentCenterDefaultProj[0]);
|
|
2920
|
+
const currentUtmZone = zoneUtm(this.currentCenterDefaultProj[0]);
|
|
2921
|
+
if (!this.inMtmZone && currentMtmZone !== this.currentZones.mtm) {
|
|
2922
|
+
this.back2quebec();
|
|
2923
|
+
}
|
|
2924
|
+
let zoneChange = false;
|
|
2925
|
+
if (currentMtmZone !== this.currentZones.mtm) {
|
|
2926
|
+
this.currentZones.mtm = currentMtmZone;
|
|
2927
|
+
zoneChange = true;
|
|
2928
|
+
}
|
|
2929
|
+
if (currentUtmZone !== this.currentZones.utm) {
|
|
2930
|
+
this.currentZones.utm = currentUtmZone;
|
|
2931
|
+
zoneChange = true;
|
|
2932
|
+
}
|
|
2933
|
+
if (zoneChange) {
|
|
2934
|
+
this.updateProjectionsZoneChange();
|
|
2935
|
+
}
|
|
2936
|
+
this.checkLambert(this.currentCenterDefaultProj);
|
|
2937
|
+
this.coordinates = this.getCoordinates();
|
|
2938
|
+
this.storageService.set('currentProjection', this.inputProj, StorageScope.SESSION);
|
|
2939
|
+
}
|
|
3015
2940
|
/**
|
|
3016
2941
|
* Copy the coordinates to a clipboard
|
|
3017
2942
|
*/
|
|
@@ -3260,13 +3185,28 @@ class AdvancedCoordinatesComponent {
|
|
|
3260
3185
|
}
|
|
3261
3186
|
});
|
|
3262
3187
|
}
|
|
3263
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3264
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
3188
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: AdvancedCoordinatesComponent, deps: [{ token: MapState }, { token: i2$1.LanguageService }, { token: i4$1.MessageService }, { token: i0.ChangeDetectorRef }, { token: i4.StorageService }, { token: i5.ConfigService }, { token: i3$2.UntypedFormBuilder }], target: i0.ɵɵFactoryTarget.Component });
|
|
3189
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.9", type: AdvancedCoordinatesComponent, isStandalone: true, selector: "igo-advanced-coordinates", inputs: { projectionsLimitations: "projectionsLimitations" }, ngImport: i0, template: "<div class=\"advanced-coordinates__coordinates-container\">\n <div class=\"advanced-coordinates__coordinates-container__inner\">\n <mat-form-field *ngIf=\"units; else elseBlock\" subscriptSizing=\"dynamic\">\n <mat-label>{{\n 'igo.integration.advanced-map-tool.advanced-coordinates.lon' | translate\n }}</mat-label>\n <textarea\n #textArea\n matInput\n readonly\n rows=\"1\"\n [placeholder]=\"\n 'igo.integration.advanced-map-tool.advanced-coordinates.lon'\n | translate\n \"\n [value]=\"coordinates[0]\"\n ></textarea>\n </mat-form-field>\n <ng-template #elseBlock>\n <mat-form-field subscriptSizing=\"dynamic\">\n <textarea\n #textArea\n matInput\n readonly\n rows=\"1\"\n [placeholder]=\"\n 'igo.integration.advanced-map-tool.advanced-coordinates.est'\n | translate\n \"\n [value]=\"coordinates[0]\"\n ></textarea>\n </mat-form-field>\n </ng-template>\n\n <mat-form-field *ngIf=\"units; else elseBlock2\" subscriptSizing=\"dynamic\">\n <mat-label>{{\n 'igo.integration.advanced-map-tool.advanced-coordinates.lat' | translate\n }}</mat-label>\n <textarea\n #textArea\n matInput\n readonly\n rows=\"1\"\n [placeholder]=\"\n 'igo.integration.advanced-map-tool.advanced-coordinates.lat'\n | translate\n \"\n [value]=\"coordinates[1]\"\n ></textarea>\n </mat-form-field>\n <ng-template #elseBlock2>\n <mat-form-field subscriptSizing=\"dynamic\">\n <textarea\n #textArea\n matInput\n readonly\n rows=\"1\"\n [placeholder]=\"\n 'igo.integration.advanced-map-tool.advanced-coordinates.nord'\n | translate\n \"\n [value]=\"coordinates[1]\"\n ></textarea>\n </mat-form-field>\n </ng-template>\n <button\n mat-icon-button\n [attr.aria-label]=\"\n 'igo.integration.advanced-map-tool.advanced-coordinates.copy'\n | translate\n \"\n class=\"igo-form-button-group advanced-coordinates__copy-coordinates\"\n (click)=\"copyTextToClipboard()\"\n >\n <mat-icon>content_copy</mat-icon>\n </button>\n </div>\n\n <form class=\"igo-form advanced-coordinates__form\" [formGroup]=\"form\">\n <div class=\"advanced-coordinates__coordinates-container__inner\">\n <mat-form-field class=\"igo-input-container\" subscriptSizing=\"dynamic\">\n <mat-label>{{\n 'igo.integration.advanced-map-tool.advanced-coordinates.coordSystem'\n | translate\n }}</mat-label>\n <mat-select [(value)]=\"inputProj\">\n <mat-option\n matTooltipShowDelay=\"500\"\n *ngFor=\"let projection of projections$ | async\"\n [value]=\"projection\"\n (click)=\"$event.stopPropagation()\"\n >\n {{ projection.translatedValue || projection.alias }}\n </mat-option>\n </mat-select>\n </mat-form-field>\n </div>\n <div class=\"advanced-coordinates__coordinates-container__inner\">\n <mat-slide-toggle\n class=\"center-toggle mat-typography\"\n [checked]=\"center\"\n [labelPosition]=\"'before'\"\n (change)=\"displayCenter($event.checked)\"\n >\n {{\n 'igo.integration.advanced-map-tool.advanced-coordinates.center'\n | translate\n }}\n </mat-slide-toggle>\n </div>\n </form>\n\n <p class=\"igo-zoom mat-typography\">\n {{\n 'igo.integration.advanced-map-tool.advanced-coordinates.zoom' | translate\n }}\n {{ map.viewController.getZoom() }}\n </p>\n <p class=\"igo-zoom mat-typography\">\n {{\n 'igo.integration.advanced-map-tool.advanced-coordinates.scale' | translate\n }}\n {{ formattedScale$ | async }}\n </p>\n <p class=\"igo-zoom mat-typography\">\n {{\n 'igo.integration.advanced-map-tool.advanced-coordinates.resolution'\n | translate\n }}\n {{ map.viewController.getResolution() | number: '1.0-0' }}\n </p>\n</div>\n", styles: [":host{padding:12px 0}textarea{resize:none}.advanced-coordinates__coordinates-container{width:100%;display:flex;flex-direction:column;padding:12px 0}.advanced-coordinates__coordinates-container__inner{display:flex;align-items:center;margin-bottom:16px}.advanced-coordinates__coordinates-container__inner mat-form-field{flex:1}.advanced-coordinates__coordinates-container__inner mat-form-field:not(:first-child),.advanced-coordinates__coordinates-container__inner button:not(:first-child){margin-left:8px}.advanced-coordinates__form{display:flex;flex-direction:column}.advanced-coordinates__form mat-slide-toggle{flex:1}.advanced-coordinates__form mat-slide-toggle ::ng-deep .mdc-form-field{display:flex;justify-content:space-between}.advanced-coordinates__form mat-slide-toggle ::ng-deep .mdc-label{flex:1}\n"], dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: MatFormFieldModule }, { kind: "component", type: i5$3.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i5$3.MatLabel, selector: "mat-label" }, { kind: "ngmodule", type: MatInputModule }, { kind: "directive", type: i8$1.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i7.MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i3$2.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i3$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i3$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: MatSelectModule }, { kind: "component", type: i11.MatSelect, selector: "mat-select", inputs: ["aria-describedby", "panelClass", "disabled", "disableRipple", "tabIndex", "hideSingleSelectionIndicator", "placeholder", "required", "multiple", "disableOptionCentering", "compareWith", "value", "aria-label", "aria-labelledby", "errorStateMatcher", "typeaheadDebounceInterval", "sortComparator", "id", "panelWidth"], outputs: ["openedChange", "opened", "closed", "selectionChange", "valueChange"], exportAs: ["matSelect"] }, { kind: "component", type: i12.MatOption, selector: "mat-option", inputs: ["value", "id", "disabled"], outputs: ["onSelectionChange"], exportAs: ["matOption"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "ngmodule", type: MatOptionModule }, { kind: "ngmodule", type: MatSlideToggleModule }, { kind: "component", type: i13.MatSlideToggle, selector: "mat-slide-toggle", inputs: ["name", "id", "labelPosition", "aria-label", "aria-labelledby", "aria-describedby", "required", "color", "disabled", "disableRipple", "tabIndex", "checked", "hideIcon"], outputs: ["change", "toggleChange"], exportAs: ["matSlideToggle"] }, { kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "pipe", type: DecimalPipe, name: "number" }, { kind: "ngmodule", type: IgoLanguageModule }, { kind: "pipe", type: i6$1.TranslatePipe, name: "translate" }] });
|
|
3265
3190
|
}
|
|
3266
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3191
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: AdvancedCoordinatesComponent, decorators: [{
|
|
3267
3192
|
type: Component,
|
|
3268
|
-
args: [{ selector: 'igo-advanced-coordinates',
|
|
3269
|
-
|
|
3193
|
+
args: [{ selector: 'igo-advanced-coordinates', standalone: true, imports: [
|
|
3194
|
+
NgIf,
|
|
3195
|
+
MatFormFieldModule,
|
|
3196
|
+
MatInputModule,
|
|
3197
|
+
MatButtonModule,
|
|
3198
|
+
MatIconModule,
|
|
3199
|
+
FormsModule,
|
|
3200
|
+
ReactiveFormsModule,
|
|
3201
|
+
MatSelectModule,
|
|
3202
|
+
NgFor,
|
|
3203
|
+
MatOptionModule,
|
|
3204
|
+
MatSlideToggleModule,
|
|
3205
|
+
AsyncPipe,
|
|
3206
|
+
DecimalPipe,
|
|
3207
|
+
IgoLanguageModule
|
|
3208
|
+
], template: "<div class=\"advanced-coordinates__coordinates-container\">\n <div class=\"advanced-coordinates__coordinates-container__inner\">\n <mat-form-field *ngIf=\"units; else elseBlock\" subscriptSizing=\"dynamic\">\n <mat-label>{{\n 'igo.integration.advanced-map-tool.advanced-coordinates.lon' | translate\n }}</mat-label>\n <textarea\n #textArea\n matInput\n readonly\n rows=\"1\"\n [placeholder]=\"\n 'igo.integration.advanced-map-tool.advanced-coordinates.lon'\n | translate\n \"\n [value]=\"coordinates[0]\"\n ></textarea>\n </mat-form-field>\n <ng-template #elseBlock>\n <mat-form-field subscriptSizing=\"dynamic\">\n <textarea\n #textArea\n matInput\n readonly\n rows=\"1\"\n [placeholder]=\"\n 'igo.integration.advanced-map-tool.advanced-coordinates.est'\n | translate\n \"\n [value]=\"coordinates[0]\"\n ></textarea>\n </mat-form-field>\n </ng-template>\n\n <mat-form-field *ngIf=\"units; else elseBlock2\" subscriptSizing=\"dynamic\">\n <mat-label>{{\n 'igo.integration.advanced-map-tool.advanced-coordinates.lat' | translate\n }}</mat-label>\n <textarea\n #textArea\n matInput\n readonly\n rows=\"1\"\n [placeholder]=\"\n 'igo.integration.advanced-map-tool.advanced-coordinates.lat'\n | translate\n \"\n [value]=\"coordinates[1]\"\n ></textarea>\n </mat-form-field>\n <ng-template #elseBlock2>\n <mat-form-field subscriptSizing=\"dynamic\">\n <textarea\n #textArea\n matInput\n readonly\n rows=\"1\"\n [placeholder]=\"\n 'igo.integration.advanced-map-tool.advanced-coordinates.nord'\n | translate\n \"\n [value]=\"coordinates[1]\"\n ></textarea>\n </mat-form-field>\n </ng-template>\n <button\n mat-icon-button\n [attr.aria-label]=\"\n 'igo.integration.advanced-map-tool.advanced-coordinates.copy'\n | translate\n \"\n class=\"igo-form-button-group advanced-coordinates__copy-coordinates\"\n (click)=\"copyTextToClipboard()\"\n >\n <mat-icon>content_copy</mat-icon>\n </button>\n </div>\n\n <form class=\"igo-form advanced-coordinates__form\" [formGroup]=\"form\">\n <div class=\"advanced-coordinates__coordinates-container__inner\">\n <mat-form-field class=\"igo-input-container\" subscriptSizing=\"dynamic\">\n <mat-label>{{\n 'igo.integration.advanced-map-tool.advanced-coordinates.coordSystem'\n | translate\n }}</mat-label>\n <mat-select [(value)]=\"inputProj\">\n <mat-option\n matTooltipShowDelay=\"500\"\n *ngFor=\"let projection of projections$ | async\"\n [value]=\"projection\"\n (click)=\"$event.stopPropagation()\"\n >\n {{ projection.translatedValue || projection.alias }}\n </mat-option>\n </mat-select>\n </mat-form-field>\n </div>\n <div class=\"advanced-coordinates__coordinates-container__inner\">\n <mat-slide-toggle\n class=\"center-toggle mat-typography\"\n [checked]=\"center\"\n [labelPosition]=\"'before'\"\n (change)=\"displayCenter($event.checked)\"\n >\n {{\n 'igo.integration.advanced-map-tool.advanced-coordinates.center'\n | translate\n }}\n </mat-slide-toggle>\n </div>\n </form>\n\n <p class=\"igo-zoom mat-typography\">\n {{\n 'igo.integration.advanced-map-tool.advanced-coordinates.zoom' | translate\n }}\n {{ map.viewController.getZoom() }}\n </p>\n <p class=\"igo-zoom mat-typography\">\n {{\n 'igo.integration.advanced-map-tool.advanced-coordinates.scale' | translate\n }}\n {{ formattedScale$ | async }}\n </p>\n <p class=\"igo-zoom mat-typography\">\n {{\n 'igo.integration.advanced-map-tool.advanced-coordinates.resolution'\n | translate\n }}\n {{ map.viewController.getResolution() | number: '1.0-0' }}\n </p>\n</div>\n", styles: [":host{padding:12px 0}textarea{resize:none}.advanced-coordinates__coordinates-container{width:100%;display:flex;flex-direction:column;padding:12px 0}.advanced-coordinates__coordinates-container__inner{display:flex;align-items:center;margin-bottom:16px}.advanced-coordinates__coordinates-container__inner mat-form-field{flex:1}.advanced-coordinates__coordinates-container__inner mat-form-field:not(:first-child),.advanced-coordinates__coordinates-container__inner button:not(:first-child){margin-left:8px}.advanced-coordinates__form{display:flex;flex-direction:column}.advanced-coordinates__form mat-slide-toggle{flex:1}.advanced-coordinates__form mat-slide-toggle ::ng-deep .mdc-form-field{display:flex;justify-content:space-between}.advanced-coordinates__form mat-slide-toggle ::ng-deep .mdc-label{flex:1}\n"] }]
|
|
3209
|
+
}], ctorParameters: () => [{ type: MapState }, { type: i2$1.LanguageService }, { type: i4$1.MessageService }, { type: i0.ChangeDetectorRef }, { type: i4.StorageService }, { type: i5.ConfigService }, { type: i3$2.UntypedFormBuilder }], propDecorators: { projectionsLimitations: [{
|
|
3270
3210
|
type: Input
|
|
3271
3211
|
}] } });
|
|
3272
3212
|
|
|
@@ -3377,13 +3317,27 @@ class AdvancedSwipeComponent {
|
|
|
3377
3317
|
contextEmit() {
|
|
3378
3318
|
this.toolState.toolbox.activateTool('contextManager');
|
|
3379
3319
|
}
|
|
3380
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3381
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
3320
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: AdvancedSwipeComponent, deps: [{ token: MapState }, { token: i1$3.ContextService }, { token: i3$2.UntypedFormBuilder }, { token: ToolState }], target: i0.ɵɵFactoryTarget.Component });
|
|
3321
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.9", type: AdvancedSwipeComponent, isStandalone: true, selector: "igo-advanced-swipe", ngImport: i0, template: "<div\n *ngIf=\"userControlledLayerList.length; else noLayersBlock\"\n class=\"igo-swipe-select-container\"\n>\n <form class=\"igo-form\" [formGroup]=\"form\">\n <mat-form-field>\n <mat-label>{{\n 'igo.integration.advanced-map-tool.advanced-swipe.swipe-select'\n | translate\n }}</mat-label>\n <mat-select formControlName=\"layers\" multiple>\n <mat-option [value]=\"1\" (click)=\"selectAll(e)\" #e>\n {{\n 'igo.integration.advanced-map-tool.advanced-swipe.selectAll'\n | translate\n }}\n </mat-option>\n <mat-divider></mat-divider>\n <mat-option\n *ngFor=\"let layer of userControlledLayerList\"\n [value]=\"layer\"\n (click)=\"applyNewLayers(e)\"\n >{{ layer.title }}</mat-option\n >\n </mat-select>\n </mat-form-field>\n <mat-slide-toggle\n class=\"swipe-toggle mat-typography\"\n [checked]=\"swipe\"\n [labelPosition]=\"'before'\"\n (change)=\"startSwipe($event.checked)\"\n >\n {{ 'igo.integration.advanced-map-tool.advanced-swipe.swipe' | translate }}\n </mat-slide-toggle>\n </form>\n</div>\n\n<ng-template #noLayersBlock>\n <mat-list>\n <p class=\"map-empty mat-typography\">\n {{ 'igo.integration.advanced-map-tool.advanced-swipe.empty' | translate }}\n </p>\n <p class=\"map-empty mat-typography\">\n {{\n 'igo.integration.advanced-map-tool.advanced-swipe.customize' | translate\n }}\n </p>\n <mat-list-item>\n <mat-icon matListItemIcon>search</mat-icon>\n <span\n matListItemTitle\n class=\"search-tool mat-typography\"\n (click)=\"searchEmit()\"\n >\n {{\n 'igo.integration.advanced-map-tool.advanced-swipe.search-tool'\n | translate\n }}\n </span>\n </mat-list-item>\n <mat-list-item>\n <mat-icon matListItemIcon>library_add</mat-icon>\n <span\n matListItemTitle\n class=\"catalog-tool mat-typography\"\n (click)=\"catalogEmit()\"\n >\n {{\n 'igo.integration.advanced-map-tool.advanced-swipe.catalog-tool'\n | translate\n }}\n </span>\n </mat-list-item>\n <mat-list-item>\n <mat-icon matListItemIcon>star</mat-icon>\n <span\n matListItemTitle\n class=\"context-tool mat-typography\"\n (click)=\"contextEmit()\"\n >\n {{\n 'igo.integration.advanced-map-tool.advanced-swipe.context-tool'\n | translate\n }}\n </span>\n </mat-list-item>\n </mat-list>\n</ng-template>\n", styles: [":host{padding:12px 0}:host .igo-swipe-select-container{padding:12px 0}:host .igo-swipe-select-container mat-form-field{width:100%}:host .igo-form{display:flex;flex-direction:column;width:100%}:host mat-slide-toggle{flex:1}:host mat-slide-toggle ::ng-deep .mdc-form-field{display:flex;justify-content:space-between}:host mat-slide-toggle ::ng-deep .mdc-label{flex:1}:host .map-empty,:host .search-tool,:host .catalog-tool,:host .context-tool{margin:4px}:host .map-empty{padding:12px 0;text-align:justify}:host .search-tool,:host .catalog-tool,:host .context-tool{cursor:pointer}:host mat-list mat-list-item h4{font-weight:700}:host mat-list-item ::ng-deep .mdc-list-item__primary-text{font-size:smaller}:host .advanced-tool-line{height:2px;background-color:gray}\n"], dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i3$2.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i3$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i3$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i3$2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "ngmodule", type: MatFormFieldModule }, { kind: "component", type: i5$3.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i5$3.MatLabel, selector: "mat-label" }, { kind: "ngmodule", type: MatSelectModule }, { kind: "component", type: i11.MatSelect, selector: "mat-select", inputs: ["aria-describedby", "panelClass", "disabled", "disableRipple", "tabIndex", "hideSingleSelectionIndicator", "placeholder", "required", "multiple", "disableOptionCentering", "compareWith", "value", "aria-label", "aria-labelledby", "errorStateMatcher", "typeaheadDebounceInterval", "sortComparator", "id", "panelWidth"], outputs: ["openedChange", "opened", "closed", "selectionChange", "valueChange"], exportAs: ["matSelect"] }, { kind: "component", type: i12.MatOption, selector: "mat-option", inputs: ["value", "id", "disabled"], outputs: ["onSelectionChange"], exportAs: ["matOption"] }, { kind: "ngmodule", type: MatOptionModule }, { kind: "ngmodule", type: MatDividerModule }, { kind: "component", type: i8$2.MatDivider, selector: "mat-divider", inputs: ["vertical", "inset"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "ngmodule", type: MatSlideToggleModule }, { kind: "component", type: i13.MatSlideToggle, selector: "mat-slide-toggle", inputs: ["name", "id", "labelPosition", "aria-label", "aria-labelledby", "aria-describedby", "required", "color", "disabled", "disableRipple", "tabIndex", "checked", "hideIcon"], outputs: ["change", "toggleChange"], exportAs: ["matSlideToggle"] }, { kind: "ngmodule", type: MatListModule }, { kind: "component", type: i10.MatList, selector: "mat-list", exportAs: ["matList"] }, { kind: "component", type: i10.MatListItem, selector: "mat-list-item, a[mat-list-item], button[mat-list-item]", inputs: ["activated"], exportAs: ["matListItem"] }, { kind: "directive", type: i10.MatListItemIcon, selector: "[matListItemIcon]" }, { kind: "directive", type: i10.MatListItemTitle, selector: "[matListItemTitle]" }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: IgoLanguageModule }, { kind: "pipe", type: i6$1.TranslatePipe, name: "translate" }] });
|
|
3382
3322
|
}
|
|
3383
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3323
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: AdvancedSwipeComponent, decorators: [{
|
|
3384
3324
|
type: Component,
|
|
3385
|
-
args: [{ selector: 'igo-advanced-swipe',
|
|
3386
|
-
|
|
3325
|
+
args: [{ selector: 'igo-advanced-swipe', standalone: true, imports: [
|
|
3326
|
+
NgIf,
|
|
3327
|
+
FormsModule,
|
|
3328
|
+
ReactiveFormsModule,
|
|
3329
|
+
MatFormFieldModule,
|
|
3330
|
+
MatSelectModule,
|
|
3331
|
+
MatOptionModule,
|
|
3332
|
+
MatDividerModule,
|
|
3333
|
+
NgFor,
|
|
3334
|
+
MatSlideToggleModule,
|
|
3335
|
+
MatListModule,
|
|
3336
|
+
MatIconModule,
|
|
3337
|
+
IgoLanguageModule,
|
|
3338
|
+
IgoIconComponent
|
|
3339
|
+
], template: "<div\n *ngIf=\"userControlledLayerList.length; else noLayersBlock\"\n class=\"igo-swipe-select-container\"\n>\n <form class=\"igo-form\" [formGroup]=\"form\">\n <mat-form-field>\n <mat-label>{{\n 'igo.integration.advanced-map-tool.advanced-swipe.swipe-select'\n | translate\n }}</mat-label>\n <mat-select formControlName=\"layers\" multiple>\n <mat-option [value]=\"1\" (click)=\"selectAll(e)\" #e>\n {{\n 'igo.integration.advanced-map-tool.advanced-swipe.selectAll'\n | translate\n }}\n </mat-option>\n <mat-divider></mat-divider>\n <mat-option\n *ngFor=\"let layer of userControlledLayerList\"\n [value]=\"layer\"\n (click)=\"applyNewLayers(e)\"\n >{{ layer.title }}</mat-option\n >\n </mat-select>\n </mat-form-field>\n <mat-slide-toggle\n class=\"swipe-toggle mat-typography\"\n [checked]=\"swipe\"\n [labelPosition]=\"'before'\"\n (change)=\"startSwipe($event.checked)\"\n >\n {{ 'igo.integration.advanced-map-tool.advanced-swipe.swipe' | translate }}\n </mat-slide-toggle>\n </form>\n</div>\n\n<ng-template #noLayersBlock>\n <mat-list>\n <p class=\"map-empty mat-typography\">\n {{ 'igo.integration.advanced-map-tool.advanced-swipe.empty' | translate }}\n </p>\n <p class=\"map-empty mat-typography\">\n {{\n 'igo.integration.advanced-map-tool.advanced-swipe.customize' | translate\n }}\n </p>\n <mat-list-item>\n <mat-icon matListItemIcon>search</mat-icon>\n <span\n matListItemTitle\n class=\"search-tool mat-typography\"\n (click)=\"searchEmit()\"\n >\n {{\n 'igo.integration.advanced-map-tool.advanced-swipe.search-tool'\n | translate\n }}\n </span>\n </mat-list-item>\n <mat-list-item>\n <mat-icon matListItemIcon>library_add</mat-icon>\n <span\n matListItemTitle\n class=\"catalog-tool mat-typography\"\n (click)=\"catalogEmit()\"\n >\n {{\n 'igo.integration.advanced-map-tool.advanced-swipe.catalog-tool'\n | translate\n }}\n </span>\n </mat-list-item>\n <mat-list-item>\n <mat-icon matListItemIcon>star</mat-icon>\n <span\n matListItemTitle\n class=\"context-tool mat-typography\"\n (click)=\"contextEmit()\"\n >\n {{\n 'igo.integration.advanced-map-tool.advanced-swipe.context-tool'\n | translate\n }}\n </span>\n </mat-list-item>\n </mat-list>\n</ng-template>\n", styles: [":host{padding:12px 0}:host .igo-swipe-select-container{padding:12px 0}:host .igo-swipe-select-container mat-form-field{width:100%}:host .igo-form{display:flex;flex-direction:column;width:100%}:host mat-slide-toggle{flex:1}:host mat-slide-toggle ::ng-deep .mdc-form-field{display:flex;justify-content:space-between}:host mat-slide-toggle ::ng-deep .mdc-label{flex:1}:host .map-empty,:host .search-tool,:host .catalog-tool,:host .context-tool{margin:4px}:host .map-empty{padding:12px 0;text-align:justify}:host .search-tool,:host .catalog-tool,:host .context-tool{cursor:pointer}:host mat-list mat-list-item h4{font-weight:700}:host mat-list-item ::ng-deep .mdc-list-item__primary-text{font-size:smaller}:host .advanced-tool-line{height:2px;background-color:gray}\n"] }]
|
|
3340
|
+
}], ctorParameters: () => [{ type: MapState }, { type: i1$3.ContextService }, { type: i3$2.UntypedFormBuilder }, { type: ToolState }] });
|
|
3387
3341
|
|
|
3388
3342
|
let AdvancedMapToolComponent = class AdvancedMapToolComponent {
|
|
3389
3343
|
mapState;
|
|
@@ -3402,14 +3356,14 @@ let AdvancedMapToolComponent = class AdvancedMapToolComponent {
|
|
|
3402
3356
|
toggleFollow(value) {
|
|
3403
3357
|
this.mapState.map.geolocationController.followPosition = value;
|
|
3404
3358
|
}
|
|
3405
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3406
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
3359
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: AdvancedMapToolComponent, deps: [{ token: MapState }], target: i0.ɵɵFactoryTarget.Component });
|
|
3360
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.9", type: AdvancedMapToolComponent, isStandalone: true, selector: "igo-advanced-map-tool", ngImport: i0, template: "<h4 class=\"nameOfTool\">\n {{\n 'igo.integration.advanced-map-tool.advanced-swipe.swipe-tool' | translate\n }}\n</h4>\n<igo-advanced-swipe></igo-advanced-swipe>\n<mat-divider class=\"advanced-tool-line\"></mat-divider>\n<h4 class=\"nameOfTool\">\n {{\n 'igo.integration.advanced-map-tool.advanced-coordinates.coordinates'\n | translate\n }}\n</h4>\n<igo-advanced-coordinates></igo-advanced-coordinates>\n<mat-divider class=\"advanced-tool-line\"></mat-divider>\n\n<h4 class=\"nameOfTool\">\n {{ 'igo.integration.advanced-map-tool.geolocation.title' | translate }}\n</h4>\n\n<div class=\"igo-input-container\">\n <div class=\"geolocation-slide-toggle-container\">\n <mat-slide-toggle\n class=\"geolocation-option\"\n [checked]=\"tracking$ | async\"\n [labelPosition]=\"'before'\"\n (change)=\"toggleTracking($event.checked)\"\n >\n {{ 'igo.integration.advanced-map-tool.geolocation.tracking' | translate }}\n </mat-slide-toggle>\n\n <mat-slide-toggle\n class=\"geolocation-option\"\n [disabled]=\"(tracking$ | async) !== true\"\n [labelPosition]=\"'before'\"\n [checked]=\"followPosition$ | async\"\n (change)=\"toggleFollow($event.checked)\"\n >\n {{ 'igo.integration.advanced-map-tool.geolocation.follow' | translate }}\n </mat-slide-toggle>\n </div>\n</div>\n", styles: [":host{display:block;padding:0 16px 12px}.nameOfTool{text-align:center;font-weight:700;font-size:small;margin:12px 0 8px}.advanced-tool-line{height:2px;background-color:gray}.geolocation-slide-toggle-container{display:flex;flex-direction:column;padding:12px 0}.geolocation-slide-toggle-container mat-slide-toggle{flex:1}.geolocation-slide-toggle-container mat-slide-toggle:not(:last-child){margin-bottom:16px}.geolocation-slide-toggle-container mat-slide-toggle ::ng-deep .mdc-form-field{display:flex;justify-content:space-between}.geolocation-slide-toggle-container mat-slide-toggle ::ng-deep .mdc-label{flex:1}mat-divider{margin:0 -16px}\n"], dependencies: [{ kind: "component", type: AdvancedSwipeComponent, selector: "igo-advanced-swipe" }, { kind: "ngmodule", type: MatDividerModule }, { kind: "component", type: i8$2.MatDivider, selector: "mat-divider", inputs: ["vertical", "inset"] }, { kind: "component", type: AdvancedCoordinatesComponent, selector: "igo-advanced-coordinates", inputs: ["projectionsLimitations"] }, { kind: "ngmodule", type: MatSlideToggleModule }, { kind: "component", type: i13.MatSlideToggle, selector: "mat-slide-toggle", inputs: ["name", "id", "labelPosition", "aria-label", "aria-labelledby", "aria-describedby", "required", "color", "disabled", "disableRipple", "tabIndex", "checked", "hideIcon"], outputs: ["change", "toggleChange"], exportAs: ["matSlideToggle"] }, { kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "ngmodule", type: IgoLanguageModule }, { kind: "pipe", type: i6$1.TranslatePipe, name: "translate" }] });
|
|
3407
3361
|
};
|
|
3408
3362
|
AdvancedMapToolComponent = __decorate([
|
|
3409
3363
|
ToolComponent({
|
|
3410
3364
|
name: 'advancedMap',
|
|
3411
3365
|
title: 'igo.integration.tools.advancedMap',
|
|
3412
|
-
icon: '
|
|
3366
|
+
icon: 'home_repair_service'
|
|
3413
3367
|
})
|
|
3414
3368
|
/**
|
|
3415
3369
|
* Tool to handle the advanced map tools
|
|
@@ -3417,10 +3371,74 @@ AdvancedMapToolComponent = __decorate([
|
|
|
3417
3371
|
,
|
|
3418
3372
|
__metadata("design:paramtypes", [MapState])
|
|
3419
3373
|
], AdvancedMapToolComponent);
|
|
3420
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3374
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: AdvancedMapToolComponent, decorators: [{
|
|
3421
3375
|
type: Component,
|
|
3422
|
-
args: [{ selector: 'igo-advanced-map-tool',
|
|
3423
|
-
|
|
3376
|
+
args: [{ selector: 'igo-advanced-map-tool', standalone: true, imports: [
|
|
3377
|
+
AdvancedSwipeComponent,
|
|
3378
|
+
MatDividerModule,
|
|
3379
|
+
AdvancedCoordinatesComponent,
|
|
3380
|
+
MatSlideToggleModule,
|
|
3381
|
+
AsyncPipe,
|
|
3382
|
+
IgoLanguageModule
|
|
3383
|
+
], template: "<h4 class=\"nameOfTool\">\n {{\n 'igo.integration.advanced-map-tool.advanced-swipe.swipe-tool' | translate\n }}\n</h4>\n<igo-advanced-swipe></igo-advanced-swipe>\n<mat-divider class=\"advanced-tool-line\"></mat-divider>\n<h4 class=\"nameOfTool\">\n {{\n 'igo.integration.advanced-map-tool.advanced-coordinates.coordinates'\n | translate\n }}\n</h4>\n<igo-advanced-coordinates></igo-advanced-coordinates>\n<mat-divider class=\"advanced-tool-line\"></mat-divider>\n\n<h4 class=\"nameOfTool\">\n {{ 'igo.integration.advanced-map-tool.geolocation.title' | translate }}\n</h4>\n\n<div class=\"igo-input-container\">\n <div class=\"geolocation-slide-toggle-container\">\n <mat-slide-toggle\n class=\"geolocation-option\"\n [checked]=\"tracking$ | async\"\n [labelPosition]=\"'before'\"\n (change)=\"toggleTracking($event.checked)\"\n >\n {{ 'igo.integration.advanced-map-tool.geolocation.tracking' | translate }}\n </mat-slide-toggle>\n\n <mat-slide-toggle\n class=\"geolocation-option\"\n [disabled]=\"(tracking$ | async) !== true\"\n [labelPosition]=\"'before'\"\n [checked]=\"followPosition$ | async\"\n (change)=\"toggleFollow($event.checked)\"\n >\n {{ 'igo.integration.advanced-map-tool.geolocation.follow' | translate }}\n </mat-slide-toggle>\n </div>\n</div>\n", styles: [":host{display:block;padding:0 16px 12px}.nameOfTool{text-align:center;font-weight:700;font-size:small;margin:12px 0 8px}.advanced-tool-line{height:2px;background-color:gray}.geolocation-slide-toggle-container{display:flex;flex-direction:column;padding:12px 0}.geolocation-slide-toggle-container mat-slide-toggle{flex:1}.geolocation-slide-toggle-container mat-slide-toggle:not(:last-child){margin-bottom:16px}.geolocation-slide-toggle-container mat-slide-toggle ::ng-deep .mdc-form-field{display:flex;justify-content:space-between}.geolocation-slide-toggle-container mat-slide-toggle ::ng-deep .mdc-label{flex:1}mat-divider{margin:0 -16px}\n"] }]
|
|
3384
|
+
}], ctorParameters: () => [{ type: MapState }] });
|
|
3385
|
+
|
|
3386
|
+
class WorkspaceButtonComponent {
|
|
3387
|
+
workspaceState;
|
|
3388
|
+
hasWorkspace$ = new BehaviorSubject(false);
|
|
3389
|
+
hasWorkspace$$;
|
|
3390
|
+
_layer;
|
|
3391
|
+
layer$ = new BehaviorSubject(undefined);
|
|
3392
|
+
set layer(value) {
|
|
3393
|
+
this._layer = value;
|
|
3394
|
+
this.layer$.next(this._layer);
|
|
3395
|
+
}
|
|
3396
|
+
get layer() {
|
|
3397
|
+
return this._layer;
|
|
3398
|
+
}
|
|
3399
|
+
color = 'primary';
|
|
3400
|
+
constructor(workspaceState) {
|
|
3401
|
+
this.workspaceState = workspaceState;
|
|
3402
|
+
}
|
|
3403
|
+
ngOnInit() {
|
|
3404
|
+
this.hasWorkspace$$ = combineLatest([
|
|
3405
|
+
this.workspaceState.workspaceEnabled$,
|
|
3406
|
+
this.layer$
|
|
3407
|
+
]).subscribe((bunch) => this.hasWorkspace$.next(bunch[0] && bunch[1]?.options.workspace?.enabled));
|
|
3408
|
+
}
|
|
3409
|
+
ngOnDestroy() {
|
|
3410
|
+
this.hasWorkspace$$.unsubscribe();
|
|
3411
|
+
}
|
|
3412
|
+
activateWorkspace() {
|
|
3413
|
+
if (this.workspaceState.workspace$.value &&
|
|
3414
|
+
this.workspaceState.workspace$.value.layer.id ===
|
|
3415
|
+
this.layer.id &&
|
|
3416
|
+
this.workspaceState.workspacePanelExpanded) {
|
|
3417
|
+
this.workspaceState.workspacePanelExpanded = false;
|
|
3418
|
+
}
|
|
3419
|
+
else {
|
|
3420
|
+
this.workspaceState.workspacePanelExpanded = true;
|
|
3421
|
+
this.workspaceState.setActiveWorkspaceById(this.layer.id);
|
|
3422
|
+
}
|
|
3423
|
+
}
|
|
3424
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: WorkspaceButtonComponent, deps: [{ token: WorkspaceState }], target: i0.ɵɵFactoryTarget.Component });
|
|
3425
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.9", type: WorkspaceButtonComponent, isStandalone: true, selector: "igo-workspace-button", inputs: { layer: "layer", color: "color" }, ngImport: i0, template: "<button\n *ngIf=\"hasWorkspace$ | async\"\n mat-icon-button\n tooltip-position=\"below\"\n matTooltipShowDelay=\"500\"\n [matTooltip]=\"'igo.integration.workspace.toggleWorkspace' | translate\"\n [color]=\"color\"\n (click)=\"activateWorkspace()\"\n>\n <mat-icon>table</mat-icon>\n</button>\n", styles: [""], dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i7.MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { kind: "ngmodule", type: MatTooltipModule }, { kind: "directive", type: i6.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "ngmodule", type: IgoLanguageModule }, { kind: "pipe", type: i6$1.TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
3426
|
+
}
|
|
3427
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: WorkspaceButtonComponent, decorators: [{
|
|
3428
|
+
type: Component,
|
|
3429
|
+
args: [{ selector: 'igo-workspace-button', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [
|
|
3430
|
+
NgIf,
|
|
3431
|
+
MatButtonModule,
|
|
3432
|
+
MatTooltipModule,
|
|
3433
|
+
MatIconModule,
|
|
3434
|
+
AsyncPipe,
|
|
3435
|
+
IgoLanguageModule
|
|
3436
|
+
], template: "<button\n *ngIf=\"hasWorkspace$ | async\"\n mat-icon-button\n tooltip-position=\"below\"\n matTooltipShowDelay=\"500\"\n [matTooltip]=\"'igo.integration.workspace.toggleWorkspace' | translate\"\n [color]=\"color\"\n (click)=\"activateWorkspace()\"\n>\n <mat-icon>table</mat-icon>\n</button>\n" }]
|
|
3437
|
+
}], ctorParameters: () => [{ type: WorkspaceState }], propDecorators: { layer: [{
|
|
3438
|
+
type: Input
|
|
3439
|
+
}], color: [{
|
|
3440
|
+
type: Input
|
|
3441
|
+
}] } });
|
|
3424
3442
|
|
|
3425
3443
|
let MapDetailsToolComponent = class MapDetailsToolComponent {
|
|
3426
3444
|
mapState;
|
|
@@ -3511,8 +3529,8 @@ let MapDetailsToolComponent = class MapDetailsToolComponent {
|
|
|
3511
3529
|
this.importExportState.setMode(ImportExportMode.export);
|
|
3512
3530
|
this.toolState.toolbox.activateTool('importExport');
|
|
3513
3531
|
}
|
|
3514
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3515
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
3532
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: MapDetailsToolComponent, deps: [{ token: MapState }, { token: ToolState }, { token: i1$1.SearchSourceService }, { token: i0.ChangeDetectorRef }, { token: ImportExportState }], target: i0.ɵɵFactoryTarget.Component });
|
|
3533
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.9", type: MapDetailsToolComponent, isStandalone: true, selector: "igo-map-details-tool", inputs: { toggleLegendOnVisibilityChange: "toggleLegendOnVisibilityChange", expandLegendOfVisibleLayers: "expandLegendOfVisibleLayers", updateLegendOnResolutionChange: "updateLegendOnResolutionChange", ogcButton: "ogcButton", timeButton: "timeButton", layerListControls: "layerListControls", queryBadge: "queryBadge", layerAdditionAllowed: "layerAdditionAllowed" }, ngImport: i0, template: "<igo-layer-list\n class=\"mapDetailsList\"\n *ngIf=\"(layers$ | async).length; else empty\"\n [map]=\"map\"\n igoLayerListBinding\n [excludeBaseLayers]=\"excludeBaseLayers\"\n [layerFilterAndSortOptions]=\"layerFilterAndSortOptions\"\n [expandLegendOfVisibleLayers]=\"expandLegendOfVisibleLayers\"\n [toggleLegendOnVisibilityChange]=\"toggleLegendOnVisibilityChange\"\n [updateLegendOnResolutionChange]=\"updateLegendOnResolutionChange\"\n [queryBadge]=\"queryBadge\"\n>\n <ng-template #igoLayerItemToolbar let-layer=\"layer\">\n <!-- <igo-download-button [layer]=\"layer\"></igo-download-button> -->\n <igo-workspace-button [layer]=\"layer\"></igo-workspace-button>\n <igo-export-button\n [layer]=\"layer\"\n (click)=\"activateExport(layer)\"\n ></igo-export-button>\n <igo-ogc-filter-button\n [header]=\"ogcButton\"\n [layer]=\"layer\"\n ></igo-ogc-filter-button>\n <igo-time-filter-button\n [header]=\"timeButton\"\n [layer]=\"layer\"\n ></igo-time-filter-button>\n <igo-track-feature-button\n [trackFeature]=\"true\"\n [layer]=\"layer\"\n ></igo-track-feature-button>\n <igo-metadata-button [layer]=\"layer\"></igo-metadata-button>\n </ng-template>\n</igo-layer-list>\n\n<ng-template #empty>\n <mat-list *ngIf=\"delayedShowEmptyMapContent\">\n <p class=\"map-empty mat-typography\">\n {{ 'igo.integration.mapTool.empty' | translate }}\n </p>\n <p\n *ngIf=\"\n layerAdditionAllowed &&\n (searchToolInToolbar || catalogToolInToolbar || contextToolInToolbar)\n \"\n class=\"map-empty mat-typography\"\n >\n {{ 'igo.integration.mapTool.customize' | translate }}\n </p>\n <mat-list-item *ngIf=\"layerAdditionAllowed && searchToolInToolbar\">\n <mat-icon matListItemIcon>search</mat-icon>\n <span\n matListItemTitle\n class=\"search-tool mat-typography\"\n (click)=\"searchEmit()\"\n >\n {{ 'igo.integration.mapTool.search-tool' | translate }}\n </span>\n </mat-list-item>\n <mat-list-item *ngIf=\"layerAdditionAllowed && catalogToolInToolbar\">\n <mat-icon matListItemIcon>library_add</mat-icon>\n <span\n matListItemTitle\n class=\"catalog-tool mat-typography\"\n (click)=\"catalogEmit()\"\n >\n {{ 'igo.integration.mapTool.catalog-tool' | translate }}\n </span>\n </mat-list-item>\n <mat-list-item *ngIf=\"layerAdditionAllowed && contextToolInToolbar\">\n <mat-icon matListItemIcon>star</mat-icon>\n <span\n matListItemTitle\n class=\"context-tool mat-typography\"\n (click)=\"contextEmit()\"\n >\n {{ 'igo.integration.mapTool.context-tool' | translate }}\n </span>\n </mat-list-item>\n </mat-list>\n</ng-template>\n", styles: [":host .map-empty,:host .search-tool,:host .catalog-tool,:host .context-tool{margin:10px}:host .map-empty{text-align:justify}:host .search-tool,:host .catalog-tool,:host .context-tool{cursor:pointer}:host mat-list mat-list-item h4{font-weight:700}:host mat-list-item ::ng-deep .mdc-list-item__primary-text{font-size:smaller}:host mat-list.mat-mdc-list-base mat-list-item.mat-mdc-list-item ::ng-deep div.mdc-list-item__content div.mdc-list-item__primary-text{padding-left:5px}:host .mapDetailsList{overflow:hidden}\n"], dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: LayerListComponent, selector: "igo-layer-list", inputs: ["layersAreAllVisible", "ogcButton", "timeButton", "map", "layers", "floatLabel", "layerFilterAndSortOptions", "excludeBaseLayers", "toggleLegendOnVisibilityChange", "expandLegendOfVisibleLayers", "updateLegendOnResolutionChange", "queryBadge"], outputs: ["appliedFilterAndSort"] }, { kind: "directive", type: LayerListBindingDirective, selector: "[igoLayerListBinding]" }, { kind: "component", type: WorkspaceButtonComponent, selector: "igo-workspace-button", inputs: ["layer", "color"] }, { kind: "component", type: ExportButtonComponent, selector: "igo-export-button", inputs: ["layer", "color"] }, { kind: "component", type: OgcFilterButtonComponent, selector: "igo-ogc-filter-button", inputs: ["layer", "map", "color", "header"] }, { kind: "component", type: TimeFilterButtonComponent, selector: "igo-time-filter-button", inputs: ["layer", "map", "color", "header"] }, { kind: "component", type: TrackFeatureButtonComponent, selector: "igo-track-feature-button", inputs: ["layer", "trackFeature"] }, { kind: "component", type: MetadataButtonComponent, selector: "igo-metadata-button", inputs: ["layer", "color"] }, { kind: "ngmodule", type: MatListModule }, { kind: "component", type: i10.MatList, selector: "mat-list", exportAs: ["matList"] }, { kind: "component", type: i10.MatListItem, selector: "mat-list-item, a[mat-list-item], button[mat-list-item]", inputs: ["activated"], exportAs: ["matListItem"] }, { kind: "directive", type: i10.MatListItemIcon, selector: "[matListItemIcon]" }, { kind: "directive", type: i10.MatListItemTitle, selector: "[matListItemTitle]" }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "ngmodule", type: IgoLanguageModule }, { kind: "pipe", type: i6$1.TranslatePipe, name: "translate" }] });
|
|
3516
3534
|
};
|
|
3517
3535
|
MapDetailsToolComponent = __decorate([
|
|
3518
3536
|
ToolComponent({
|
|
@@ -3526,10 +3544,24 @@ MapDetailsToolComponent = __decorate([
|
|
|
3526
3544
|
ChangeDetectorRef,
|
|
3527
3545
|
ImportExportState])
|
|
3528
3546
|
], MapDetailsToolComponent);
|
|
3529
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3547
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: MapDetailsToolComponent, decorators: [{
|
|
3530
3548
|
type: Component,
|
|
3531
|
-
args: [{ selector: 'igo-map-details-tool',
|
|
3532
|
-
|
|
3549
|
+
args: [{ selector: 'igo-map-details-tool', standalone: true, imports: [
|
|
3550
|
+
NgIf,
|
|
3551
|
+
LayerListComponent,
|
|
3552
|
+
LayerListBindingDirective,
|
|
3553
|
+
WorkspaceButtonComponent,
|
|
3554
|
+
ExportButtonComponent,
|
|
3555
|
+
OgcFilterButtonComponent,
|
|
3556
|
+
TimeFilterButtonComponent,
|
|
3557
|
+
TrackFeatureButtonComponent,
|
|
3558
|
+
MetadataButtonComponent,
|
|
3559
|
+
MatListModule,
|
|
3560
|
+
MatIconModule,
|
|
3561
|
+
AsyncPipe,
|
|
3562
|
+
IgoLanguageModule
|
|
3563
|
+
], template: "<igo-layer-list\n class=\"mapDetailsList\"\n *ngIf=\"(layers$ | async).length; else empty\"\n [map]=\"map\"\n igoLayerListBinding\n [excludeBaseLayers]=\"excludeBaseLayers\"\n [layerFilterAndSortOptions]=\"layerFilterAndSortOptions\"\n [expandLegendOfVisibleLayers]=\"expandLegendOfVisibleLayers\"\n [toggleLegendOnVisibilityChange]=\"toggleLegendOnVisibilityChange\"\n [updateLegendOnResolutionChange]=\"updateLegendOnResolutionChange\"\n [queryBadge]=\"queryBadge\"\n>\n <ng-template #igoLayerItemToolbar let-layer=\"layer\">\n <!-- <igo-download-button [layer]=\"layer\"></igo-download-button> -->\n <igo-workspace-button [layer]=\"layer\"></igo-workspace-button>\n <igo-export-button\n [layer]=\"layer\"\n (click)=\"activateExport(layer)\"\n ></igo-export-button>\n <igo-ogc-filter-button\n [header]=\"ogcButton\"\n [layer]=\"layer\"\n ></igo-ogc-filter-button>\n <igo-time-filter-button\n [header]=\"timeButton\"\n [layer]=\"layer\"\n ></igo-time-filter-button>\n <igo-track-feature-button\n [trackFeature]=\"true\"\n [layer]=\"layer\"\n ></igo-track-feature-button>\n <igo-metadata-button [layer]=\"layer\"></igo-metadata-button>\n </ng-template>\n</igo-layer-list>\n\n<ng-template #empty>\n <mat-list *ngIf=\"delayedShowEmptyMapContent\">\n <p class=\"map-empty mat-typography\">\n {{ 'igo.integration.mapTool.empty' | translate }}\n </p>\n <p\n *ngIf=\"\n layerAdditionAllowed &&\n (searchToolInToolbar || catalogToolInToolbar || contextToolInToolbar)\n \"\n class=\"map-empty mat-typography\"\n >\n {{ 'igo.integration.mapTool.customize' | translate }}\n </p>\n <mat-list-item *ngIf=\"layerAdditionAllowed && searchToolInToolbar\">\n <mat-icon matListItemIcon>search</mat-icon>\n <span\n matListItemTitle\n class=\"search-tool mat-typography\"\n (click)=\"searchEmit()\"\n >\n {{ 'igo.integration.mapTool.search-tool' | translate }}\n </span>\n </mat-list-item>\n <mat-list-item *ngIf=\"layerAdditionAllowed && catalogToolInToolbar\">\n <mat-icon matListItemIcon>library_add</mat-icon>\n <span\n matListItemTitle\n class=\"catalog-tool mat-typography\"\n (click)=\"catalogEmit()\"\n >\n {{ 'igo.integration.mapTool.catalog-tool' | translate }}\n </span>\n </mat-list-item>\n <mat-list-item *ngIf=\"layerAdditionAllowed && contextToolInToolbar\">\n <mat-icon matListItemIcon>star</mat-icon>\n <span\n matListItemTitle\n class=\"context-tool mat-typography\"\n (click)=\"contextEmit()\"\n >\n {{ 'igo.integration.mapTool.context-tool' | translate }}\n </span>\n </mat-list-item>\n </mat-list>\n</ng-template>\n", styles: [":host .map-empty,:host .search-tool,:host .catalog-tool,:host .context-tool{margin:10px}:host .map-empty{text-align:justify}:host .search-tool,:host .catalog-tool,:host .context-tool{cursor:pointer}:host mat-list mat-list-item h4{font-weight:700}:host mat-list-item ::ng-deep .mdc-list-item__primary-text{font-size:smaller}:host mat-list.mat-mdc-list-base mat-list-item.mat-mdc-list-item ::ng-deep div.mdc-list-item__content div.mdc-list-item__primary-text{padding-left:5px}:host .mapDetailsList{overflow:hidden}\n"] }]
|
|
3564
|
+
}], ctorParameters: () => [{ type: MapState }, { type: ToolState }, { type: i1$1.SearchSourceService }, { type: i0.ChangeDetectorRef }, { type: ImportExportState }], propDecorators: { toggleLegendOnVisibilityChange: [{
|
|
3533
3565
|
type: Input
|
|
3534
3566
|
}], expandLegendOfVisibleLayers: [{
|
|
3535
3567
|
type: Input
|
|
@@ -3657,24 +3689,32 @@ let MapLegendToolComponent = class MapLegendToolComponent {
|
|
|
3657
3689
|
contextEmit() {
|
|
3658
3690
|
this.toolState.toolbox.activateTool('contextManager');
|
|
3659
3691
|
}
|
|
3660
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3661
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
3692
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: MapLegendToolComponent, deps: [{ token: MapState }, { token: ToolState }, { token: i1$1.SearchSourceService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
3693
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.9", type: MapLegendToolComponent, isStandalone: true, selector: "igo-map-legend-tool", inputs: { updateLegendOnResolutionChange: "updateLegendOnResolutionChange", layerAdditionAllowed: "layerAdditionAllowed", allowShowAllLegends: "allowShowAllLegends", showAllLegendsValue: "showAllLegendsValue", layerListControls: "layerListControls" }, ngImport: i0, template: "<igo-layer-legend-list\n *ngIf=\"showAllLegend()\"\n igoLayerLegendListBinding\n [excludeBaseLayers]=\"excludeBaseLayers\"\n [allowShowAllLegends]=\"allowShowAllLegends\"\n [updateLegendOnResolutionChange]=\"updateLegendOnResolutionChange\"\n [showAllLegendsValue]=\"showAllLegendsValue$ | async\"\n (allLegendsShown)=\"onShowAllLegends($event)\"\n>\n</igo-layer-legend-list>\n<ng-template\n *ngIf=\"(layers$ | async).length !== 0; else emptyLayers\"\n></ng-template>\n\n<p\n class=\"map-empty mat-typography\"\n *ngIf=\"\n !allowShowAllLegends &&\n (layers$ | async).length !== 0 &&\n (visibleOrInRangeLayers$ | async).length === 0\n \"\n>\n {{\n (visibleLayers$ | async).length\n ? ('igo.integration.mapTool.noLayersInRange' | translate)\n : ('igo.integration.mapTool.noLayersVisible' | translate)\n }}\n</p>\n\n<ng-template #emptyLayers>\n <mat-list *ngIf=\"delayedShowEmptyMapContent\">\n <p class=\"map-empty mat-typography\">\n {{ 'igo.integration.mapTool.empty' | translate }}\n </p>\n <p\n *ngIf=\"\n layerAdditionAllowed &&\n (searchToolInToolbar || catalogToolInToolbar || contextToolInToolbar)\n \"\n class=\"map-empty mat-typography\"\n >\n {{ 'igo.integration.mapTool.customize' | translate }}\n </p>\n\n <mat-list-item *ngIf=\"layerAdditionAllowed && searchToolInToolbar\">\n <mat-icon matListItemIcon>search</mat-icon>\n <span\n matListItemTitle\n class=\"search-tool mat-typography\"\n (click)=\"searchEmit()\"\n >\n {{ 'igo.integration.mapTool.search-tool' | translate }}\n </span>\n </mat-list-item>\n <mat-list-item *ngIf=\"layerAdditionAllowed && catalogToolInToolbar\">\n <mat-icon matListItemIcon>library_add</mat-icon>\n <span\n matListItemTitle\n class=\"catalog-tool mat-typography\"\n (click)=\"catalogEmit()\"\n >\n {{ 'igo.integration.mapTool.catalog-tool' | translate }}\n </span>\n </mat-list-item>\n <mat-list-item *ngIf=\"layerAdditionAllowed && contextToolInToolbar\">\n <mat-icon matListItemIcon>star</mat-icon>\n <span\n matListItemTitle\n class=\"context-tool mat-typography\"\n (click)=\"contextEmit()\"\n >\n {{ 'igo.integration.mapTool.context-tool' | translate }}\n </span>\n </mat-list-item>\n </mat-list>\n</ng-template>\n", styles: [":host .map-empty,:host .search-tool,:host .catalog-tool,:host .context-tool{margin:10px}:host .map-empty{text-align:justify}:host .search-tool,:host .catalog-tool,:host .context-tool{cursor:pointer}:host mat-list mat-list-item h4{font-weight:700}:host mat-list-item ::ng-deep .mdc-list-item__primary-text{font-size:smaller}:host mat-list.mat-mdc-list-base mat-list-item.mat-mdc-list-item ::ng-deep div.mdc-list-item__content div.mdc-list-item__primary-text{padding-left:5px}\n"], dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: LayerLegendListComponent, selector: "igo-layer-legend-list", inputs: ["layers", "excludeBaseLayers", "updateLegendOnResolutionChange", "allowShowAllLegends", "showAllLegendsValue"], outputs: ["allLegendsShown"] }, { kind: "directive", type: LayerLegendListBindingDirective, selector: "[igoLayerLegendListBinding]" }, { kind: "ngmodule", type: MatListModule }, { kind: "component", type: i10.MatList, selector: "mat-list", exportAs: ["matList"] }, { kind: "component", type: i10.MatListItem, selector: "mat-list-item, a[mat-list-item], button[mat-list-item]", inputs: ["activated"], exportAs: ["matListItem"] }, { kind: "directive", type: i10.MatListItemIcon, selector: "[matListItemIcon]" }, { kind: "directive", type: i10.MatListItemTitle, selector: "[matListItemTitle]" }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "ngmodule", type: IgoLanguageModule }, { kind: "pipe", type: i6$1.TranslatePipe, name: "translate" }] });
|
|
3662
3694
|
};
|
|
3663
3695
|
MapLegendToolComponent = __decorate([
|
|
3664
3696
|
ToolComponent({
|
|
3665
3697
|
name: 'mapLegend',
|
|
3666
3698
|
title: 'igo.integration.tools.legend',
|
|
3667
|
-
icon: '
|
|
3699
|
+
icon: 'format_list_bulleted'
|
|
3668
3700
|
}),
|
|
3669
3701
|
__metadata("design:paramtypes", [MapState,
|
|
3670
3702
|
ToolState,
|
|
3671
3703
|
SearchSourceService,
|
|
3672
3704
|
ChangeDetectorRef])
|
|
3673
3705
|
], MapLegendToolComponent);
|
|
3674
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3706
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: MapLegendToolComponent, decorators: [{
|
|
3675
3707
|
type: Component,
|
|
3676
|
-
args: [{ selector: 'igo-map-legend-tool',
|
|
3677
|
-
|
|
3708
|
+
args: [{ selector: 'igo-map-legend-tool', standalone: true, imports: [
|
|
3709
|
+
NgIf,
|
|
3710
|
+
LayerLegendListComponent,
|
|
3711
|
+
LayerLegendListBindingDirective,
|
|
3712
|
+
MatListModule,
|
|
3713
|
+
MatIconModule,
|
|
3714
|
+
AsyncPipe,
|
|
3715
|
+
IgoLanguageModule
|
|
3716
|
+
], template: "<igo-layer-legend-list\n *ngIf=\"showAllLegend()\"\n igoLayerLegendListBinding\n [excludeBaseLayers]=\"excludeBaseLayers\"\n [allowShowAllLegends]=\"allowShowAllLegends\"\n [updateLegendOnResolutionChange]=\"updateLegendOnResolutionChange\"\n [showAllLegendsValue]=\"showAllLegendsValue$ | async\"\n (allLegendsShown)=\"onShowAllLegends($event)\"\n>\n</igo-layer-legend-list>\n<ng-template\n *ngIf=\"(layers$ | async).length !== 0; else emptyLayers\"\n></ng-template>\n\n<p\n class=\"map-empty mat-typography\"\n *ngIf=\"\n !allowShowAllLegends &&\n (layers$ | async).length !== 0 &&\n (visibleOrInRangeLayers$ | async).length === 0\n \"\n>\n {{\n (visibleLayers$ | async).length\n ? ('igo.integration.mapTool.noLayersInRange' | translate)\n : ('igo.integration.mapTool.noLayersVisible' | translate)\n }}\n</p>\n\n<ng-template #emptyLayers>\n <mat-list *ngIf=\"delayedShowEmptyMapContent\">\n <p class=\"map-empty mat-typography\">\n {{ 'igo.integration.mapTool.empty' | translate }}\n </p>\n <p\n *ngIf=\"\n layerAdditionAllowed &&\n (searchToolInToolbar || catalogToolInToolbar || contextToolInToolbar)\n \"\n class=\"map-empty mat-typography\"\n >\n {{ 'igo.integration.mapTool.customize' | translate }}\n </p>\n\n <mat-list-item *ngIf=\"layerAdditionAllowed && searchToolInToolbar\">\n <mat-icon matListItemIcon>search</mat-icon>\n <span\n matListItemTitle\n class=\"search-tool mat-typography\"\n (click)=\"searchEmit()\"\n >\n {{ 'igo.integration.mapTool.search-tool' | translate }}\n </span>\n </mat-list-item>\n <mat-list-item *ngIf=\"layerAdditionAllowed && catalogToolInToolbar\">\n <mat-icon matListItemIcon>library_add</mat-icon>\n <span\n matListItemTitle\n class=\"catalog-tool mat-typography\"\n (click)=\"catalogEmit()\"\n >\n {{ 'igo.integration.mapTool.catalog-tool' | translate }}\n </span>\n </mat-list-item>\n <mat-list-item *ngIf=\"layerAdditionAllowed && contextToolInToolbar\">\n <mat-icon matListItemIcon>star</mat-icon>\n <span\n matListItemTitle\n class=\"context-tool mat-typography\"\n (click)=\"contextEmit()\"\n >\n {{ 'igo.integration.mapTool.context-tool' | translate }}\n </span>\n </mat-list-item>\n </mat-list>\n</ng-template>\n", styles: [":host .map-empty,:host .search-tool,:host .catalog-tool,:host .context-tool{margin:10px}:host .map-empty{text-align:justify}:host .search-tool,:host .catalog-tool,:host .context-tool{cursor:pointer}:host mat-list mat-list-item h4{font-weight:700}:host mat-list-item ::ng-deep .mdc-list-item__primary-text{font-size:smaller}:host mat-list.mat-mdc-list-base mat-list-item.mat-mdc-list-item ::ng-deep div.mdc-list-item__content div.mdc-list-item__primary-text{padding-left:5px}\n"] }]
|
|
3717
|
+
}], ctorParameters: () => [{ type: MapState }, { type: ToolState }, { type: i1$1.SearchSourceService }, { type: i0.ChangeDetectorRef }], propDecorators: { updateLegendOnResolutionChange: [{
|
|
3678
3718
|
type: Input
|
|
3679
3719
|
}], layerAdditionAllowed: [{
|
|
3680
3720
|
type: Input
|
|
@@ -3842,15 +3882,15 @@ class MapProximityState {
|
|
|
3842
3882
|
}
|
|
3843
3883
|
return label;
|
|
3844
3884
|
}
|
|
3845
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3846
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3885
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: MapProximityState, deps: [{ token: MapState }, { token: i4.StorageService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3886
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: MapProximityState, providedIn: 'root' });
|
|
3847
3887
|
}
|
|
3848
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3888
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: MapProximityState, decorators: [{
|
|
3849
3889
|
type: Injectable,
|
|
3850
3890
|
args: [{
|
|
3851
3891
|
providedIn: 'root'
|
|
3852
3892
|
}]
|
|
3853
|
-
}], ctorParameters:
|
|
3893
|
+
}], ctorParameters: () => [{ type: MapState }, { type: i4.StorageService }] });
|
|
3854
3894
|
|
|
3855
3895
|
let MapProximityToolComponent = class MapProximityToolComponent {
|
|
3856
3896
|
mapState;
|
|
@@ -3937,14 +3977,14 @@ let MapProximityToolComponent = class MapProximityToolComponent {
|
|
|
3937
3977
|
this.messageService.success('igo.integration.map-proximity-tool.copyMsg', 'igo.integration.map-proximity-tool.copyTitle');
|
|
3938
3978
|
}
|
|
3939
3979
|
}
|
|
3940
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3941
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
3980
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: MapProximityToolComponent, deps: [{ token: MapState }, { token: MapProximityState }, { token: i2$1.LanguageService }, { token: i4$1.MessageService }], target: i0.ɵɵFactoryTarget.Component });
|
|
3981
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.9", type: MapProximityToolComponent, isStandalone: true, selector: "igo-map-proximity-tool", viewQueries: [{ propertyName: "table", first: true, predicate: ["table"], descendants: true, static: true }], ngImport: i0, template: "<igo-entity-table\n #table\n class=\"table-compact\"\n [store]=\"mapProximityState.proximityFeatureStore\"\n [template]=\"tableTemplate\"\n></igo-entity-table>\n<br />\n<mat-form-field\n *ngIf=\"mapProximityState.currentPositionCoordinate$ | async as coord\"\n class=\"coordinates\"\n>\n <textarea\n #textArea\n matInput\n readonly\n rows=\"1\"\n [placeholder]=\"'igo.integration.map-proximity-tool.lon' | translate\"\n [value]=\"coord[0]\"\n ></textarea>\n</mat-form-field>\n<mat-form-field\n *ngIf=\"mapProximityState.currentPositionCoordinate$ | async as coord2\"\n class=\"coordinates2\"\n>\n <textarea\n #textArea\n matInput\n readonly\n rows=\"1\"\n [placeholder]=\"'igo.integration.map-proximity-tool.lat' | translate\"\n [value]=\"coord2[1]\"\n ></textarea>\n</mat-form-field>\n\n<button\n *ngIf=\"\n (mapProximityState.currentPositionCoordinate$ | async) &&\n (mapProximityState.currentPositionCoordinate$ | async).length\n \"\n mat-icon-button\n (click)=\"copyTextToClipboard()\"\n>\n <mat-icon>content_copy</mat-icon>\n</button>\n<div class=\"title-container\">\n <mat-label class=\"title mat-typography\">{{\n 'igo.integration.map-proximity-tool.method' | translate\n }}</mat-label>\n</div>\n<div class=\"igo-input-container mat-typography\">\n <mat-radio-group (change)=\"onLocationTypeChange($event)\">\n <mat-radio-button\n [checked]=\"\n (mapProximityState.proximitylocationType$ | async) === 'geolocation'\n \"\n value=\"geolocation\"\n >{{\n 'igo.integration.map-proximity-tool.geolocation' | translate\n }}</mat-radio-button\n >\n <mat-radio-button\n [checked]=\"\n (mapProximityState.proximitylocationType$ | async) === 'mapCenter'\n \"\n value=\"mapCenter\"\n >{{\n 'igo.integration.map-proximity-tool.mapCenter' | translate\n }}</mat-radio-button\n >\n </mat-radio-group>\n</div>\n\n<div class=\"radius-unit\">\n <mat-form-field class=\"radius-field\" floatLabel=\"always\">\n <mat-label>{{\n 'igo.integration.map-proximity-tool.radiusM' | translate\n }}</mat-label>\n <input\n type=\"number\"\n pattern=\"[0-9]*\"\n [(ngModel)]=\"maxDistance\"\n matInput\n placeholder=\"{{\n 'igo.integration.map-proximity-tool.radiusM' | translate\n }}\"\n />\n </mat-form-field>\n</div>\n", styles: [":host .table-compact{height:auto}:host .table-compact ::ng-deep .mat-mdc-header-cell.mat-column-selectionCheckbox{width:52px}:host textarea{resize:none}:host mat-form-field{padding:10px 15px}:host mat-form-field.coordinates{width:110px}:host mat-form-field.coordinates2{width:100px;padding:0 10px 0 3px}:host mat-form-field.igo-input-container{width:60%;padding:0 15px}:host .radius-unit{display:flex;width:90%;margin-left:2px;padding:5px}:host .radius-unit mat-form-field.radius-field{display:flex;flex-flow:column nowrap;width:100%}:host .title-container{padding:10px}:host .title{margin-left:5px;font-size:initial}:host .mat-mdc-radio-group{display:flex;flex-direction:column}:host .mat-mdc-radio-button{display:inline-flex;position:relative;margin-left:12px}\n"], dependencies: [{ kind: "component", type: EntityTableComponent, selector: "igo-entity-table", inputs: ["store", "paginator", "template", "scrollBehavior", "sortNullsFirst", "withPaginator", "paginatorOptions"], outputs: ["entityClick", "entitySelectChange", "entitySortChange"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: MatFormFieldModule }, { kind: "component", type: i5$3.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i5$3.MatLabel, selector: "mat-label" }, { kind: "ngmodule", type: MatInputModule }, { kind: "directive", type: i8$1.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i7.MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatRadioModule }, { kind: "directive", type: i9.MatRadioGroup, selector: "mat-radio-group", inputs: ["color", "name", "labelPosition", "value", "selected", "disabled", "required"], outputs: ["change"], exportAs: ["matRadioGroup"] }, { kind: "component", type: i9.MatRadioButton, selector: "mat-radio-button", inputs: ["id", "name", "aria-label", "aria-labelledby", "aria-describedby", "disableRipple", "tabIndex", "checked", "value", "labelPosition", "disabled", "required", "color"], outputs: ["change"], exportAs: ["matRadioButton"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i3$2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i3$2.NumberValueAccessor, selector: "input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]" }, { kind: "directive", type: i3$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3$2.PatternValidator, selector: "[pattern][formControlName],[pattern][formControl],[pattern][ngModel]", inputs: ["pattern"] }, { kind: "directive", type: i3$2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "ngmodule", type: IgoLanguageModule }, { kind: "pipe", type: i6$1.TranslatePipe, name: "translate" }] });
|
|
3942
3982
|
};
|
|
3943
3983
|
MapProximityToolComponent = __decorate([
|
|
3944
3984
|
ToolComponent({
|
|
3945
3985
|
name: 'map-proximity',
|
|
3946
3986
|
title: 'igo.integration.tools.closestFeature',
|
|
3947
|
-
icon: '
|
|
3987
|
+
icon: 'radar'
|
|
3948
3988
|
})
|
|
3949
3989
|
/**
|
|
3950
3990
|
* Tool to handle the advanced map tools
|
|
@@ -3955,10 +3995,21 @@ MapProximityToolComponent = __decorate([
|
|
|
3955
3995
|
LanguageService,
|
|
3956
3996
|
MessageService])
|
|
3957
3997
|
], MapProximityToolComponent);
|
|
3958
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3998
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: MapProximityToolComponent, decorators: [{
|
|
3959
3999
|
type: Component,
|
|
3960
|
-
args: [{ selector: 'igo-map-proximity-tool',
|
|
3961
|
-
|
|
4000
|
+
args: [{ selector: 'igo-map-proximity-tool', standalone: true, imports: [
|
|
4001
|
+
EntityTableComponent,
|
|
4002
|
+
NgIf,
|
|
4003
|
+
MatFormFieldModule,
|
|
4004
|
+
MatInputModule,
|
|
4005
|
+
MatButtonModule,
|
|
4006
|
+
MatIconModule,
|
|
4007
|
+
MatRadioModule,
|
|
4008
|
+
FormsModule,
|
|
4009
|
+
AsyncPipe,
|
|
4010
|
+
IgoLanguageModule
|
|
4011
|
+
], template: "<igo-entity-table\n #table\n class=\"table-compact\"\n [store]=\"mapProximityState.proximityFeatureStore\"\n [template]=\"tableTemplate\"\n></igo-entity-table>\n<br />\n<mat-form-field\n *ngIf=\"mapProximityState.currentPositionCoordinate$ | async as coord\"\n class=\"coordinates\"\n>\n <textarea\n #textArea\n matInput\n readonly\n rows=\"1\"\n [placeholder]=\"'igo.integration.map-proximity-tool.lon' | translate\"\n [value]=\"coord[0]\"\n ></textarea>\n</mat-form-field>\n<mat-form-field\n *ngIf=\"mapProximityState.currentPositionCoordinate$ | async as coord2\"\n class=\"coordinates2\"\n>\n <textarea\n #textArea\n matInput\n readonly\n rows=\"1\"\n [placeholder]=\"'igo.integration.map-proximity-tool.lat' | translate\"\n [value]=\"coord2[1]\"\n ></textarea>\n</mat-form-field>\n\n<button\n *ngIf=\"\n (mapProximityState.currentPositionCoordinate$ | async) &&\n (mapProximityState.currentPositionCoordinate$ | async).length\n \"\n mat-icon-button\n (click)=\"copyTextToClipboard()\"\n>\n <mat-icon>content_copy</mat-icon>\n</button>\n<div class=\"title-container\">\n <mat-label class=\"title mat-typography\">{{\n 'igo.integration.map-proximity-tool.method' | translate\n }}</mat-label>\n</div>\n<div class=\"igo-input-container mat-typography\">\n <mat-radio-group (change)=\"onLocationTypeChange($event)\">\n <mat-radio-button\n [checked]=\"\n (mapProximityState.proximitylocationType$ | async) === 'geolocation'\n \"\n value=\"geolocation\"\n >{{\n 'igo.integration.map-proximity-tool.geolocation' | translate\n }}</mat-radio-button\n >\n <mat-radio-button\n [checked]=\"\n (mapProximityState.proximitylocationType$ | async) === 'mapCenter'\n \"\n value=\"mapCenter\"\n >{{\n 'igo.integration.map-proximity-tool.mapCenter' | translate\n }}</mat-radio-button\n >\n </mat-radio-group>\n</div>\n\n<div class=\"radius-unit\">\n <mat-form-field class=\"radius-field\" floatLabel=\"always\">\n <mat-label>{{\n 'igo.integration.map-proximity-tool.radiusM' | translate\n }}</mat-label>\n <input\n type=\"number\"\n pattern=\"[0-9]*\"\n [(ngModel)]=\"maxDistance\"\n matInput\n placeholder=\"{{\n 'igo.integration.map-proximity-tool.radiusM' | translate\n }}\"\n />\n </mat-form-field>\n</div>\n", styles: [":host .table-compact{height:auto}:host .table-compact ::ng-deep .mat-mdc-header-cell.mat-column-selectionCheckbox{width:52px}:host textarea{resize:none}:host mat-form-field{padding:10px 15px}:host mat-form-field.coordinates{width:110px}:host mat-form-field.coordinates2{width:100px;padding:0 10px 0 3px}:host mat-form-field.igo-input-container{width:60%;padding:0 15px}:host .radius-unit{display:flex;width:90%;margin-left:2px;padding:5px}:host .radius-unit mat-form-field.radius-field{display:flex;flex-flow:column nowrap;width:100%}:host .title-container{padding:10px}:host .title{margin-left:5px;font-size:initial}:host .mat-mdc-radio-group{display:flex;flex-direction:column}:host .mat-mdc-radio-button{display:inline-flex;position:relative;margin-left:12px}\n"] }]
|
|
4012
|
+
}], ctorParameters: () => [{ type: MapState }, { type: MapProximityState }, { type: i2$1.LanguageService }, { type: i4$1.MessageService }], propDecorators: { table: [{
|
|
3962
4013
|
type: ViewChild,
|
|
3963
4014
|
args: ['table', { static: true }]
|
|
3964
4015
|
}] } });
|
|
@@ -4016,8 +4067,8 @@ let MapToolComponent = class MapToolComponent {
|
|
|
4016
4067
|
this.importExportState.setMode(ImportExportMode.export);
|
|
4017
4068
|
this.toolState.toolbox.activateTool('importExport');
|
|
4018
4069
|
}
|
|
4019
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4020
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
4070
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: MapToolComponent, deps: [{ token: MapState }, { token: ToolState }, { token: ImportExportState }], target: i0.ɵɵFactoryTarget.Component });
|
|
4071
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.9", type: MapToolComponent, isStandalone: true, selector: "igo-map-tool", inputs: { toggleLegendOnVisibilityChange: "toggleLegendOnVisibilityChange", expandLegendOfVisibleLayers: "expandLegendOfVisibleLayers", updateLegendOnResolutionChange: "updateLegendOnResolutionChange", ogcButton: "ogcButton", timeButton: "timeButton", layerListControls: "layerListControls", queryBadge: "queryBadge" }, ngImport: i0, template: "<mat-tab-group>\n <mat-tab [label]=\"'igo.integration.tools.map' | translate\">\n <igo-layer-list\n [map]=\"map\"\n igoLayerListBinding\n [excludeBaseLayers]=\"excludeBaseLayers\"\n [layerFilterAndSortOptions]=\"layerFilterAndSortOptions\"\n [expandLegendOfVisibleLayers]=\"expandLegendOfVisibleLayers\"\n [toggleLegendOnVisibilityChange]=\"toggleLegendOnVisibilityChange\"\n [updateLegendOnResolutionChange]=\"updateLegendOnResolutionChange\"\n [queryBadge]=\"queryBadge\"\n >\n <ng-template #igoLayerItemToolbar let-layer=\"layer\">\n <!-- <igo-download-button [layer]=\"layer\"></igo-download-button> -->\n <igo-workspace-button [layer]=\"layer\"></igo-workspace-button>\n <igo-export-button\n [layer]=\"layer\"\n (click)=\"activateExport(layer)\"\n ></igo-export-button>\n <igo-ogc-filter-button\n [header]=\"ogcButton\"\n [layer]=\"layer\"\n ></igo-ogc-filter-button>\n <igo-time-filter-button\n [header]=\"timeButton\"\n [layer]=\"layer\"\n ></igo-time-filter-button>\n <igo-track-feature-button\n [trackFeature]=\"true\"\n [layer]=\"layer\"\n ></igo-track-feature-button>\n <igo-metadata-button [layer]=\"layer\"></igo-metadata-button>\n </ng-template>\n </igo-layer-list>\n </mat-tab>\n\n <mat-tab [label]=\"'igo.integration.tools.contexts' | translate\">\n <igo-context-list igoContextListBinding></igo-context-list>\n </mat-tab>\n</mat-tab-group>\n", styles: [":host ::ng-deep .mat-mdc-tab-body-content{overflow:hidden}\n"], dependencies: [{ kind: "ngmodule", type: MatTabsModule }, { kind: "component", type: i5$2.MatTab, selector: "mat-tab", inputs: ["disabled", "label", "aria-label", "aria-labelledby", "labelClass", "bodyClass"], exportAs: ["matTab"] }, { kind: "component", type: i5$2.MatTabGroup, selector: "mat-tab-group", inputs: ["color", "fitInkBarToContent", "mat-stretch-tabs", "dynamicHeight", "selectedIndex", "headerPosition", "animationDuration", "contentTabIndex", "disablePagination", "disableRipple", "preserveContent", "backgroundColor"], outputs: ["selectedIndexChange", "focusChange", "animationDone", "selectedTabChange"], exportAs: ["matTabGroup"] }, { kind: "component", type: LayerListComponent, selector: "igo-layer-list", inputs: ["layersAreAllVisible", "ogcButton", "timeButton", "map", "layers", "floatLabel", "layerFilterAndSortOptions", "excludeBaseLayers", "toggleLegendOnVisibilityChange", "expandLegendOfVisibleLayers", "updateLegendOnResolutionChange", "queryBadge"], outputs: ["appliedFilterAndSort"] }, { kind: "directive", type: LayerListBindingDirective, selector: "[igoLayerListBinding]" }, { kind: "component", type: WorkspaceButtonComponent, selector: "igo-workspace-button", inputs: ["layer", "color"] }, { kind: "component", type: ExportButtonComponent, selector: "igo-export-button", inputs: ["layer", "color"] }, { kind: "component", type: OgcFilterButtonComponent, selector: "igo-ogc-filter-button", inputs: ["layer", "map", "color", "header"] }, { kind: "component", type: TimeFilterButtonComponent, selector: "igo-time-filter-button", inputs: ["layer", "map", "color", "header"] }, { kind: "component", type: TrackFeatureButtonComponent, selector: "igo-track-feature-button", inputs: ["layer", "trackFeature"] }, { kind: "component", type: MetadataButtonComponent, selector: "igo-metadata-button", inputs: ["layer", "color"] }, { kind: "component", type: ContextListComponent, selector: "igo-context-list", inputs: ["contexts", "selectedContext", "map", "defaultContextId", "term"], outputs: ["select", "unselect", "edit", "delete", "save", "clone", "create", "hide", "show", "showHiddenContexts", "favorite", "managePermissions", "manageTools", "filterPermissionsChanged"] }, { kind: "directive", type: ContextListBindingDirective, selector: "[igoContextListBinding]" }, { kind: "ngmodule", type: IgoLanguageModule }, { kind: "pipe", type: i6$1.TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
4021
4072
|
};
|
|
4022
4073
|
MapToolComponent = __decorate([
|
|
4023
4074
|
ToolComponent({
|
|
@@ -4029,10 +4080,23 @@ MapToolComponent = __decorate([
|
|
|
4029
4080
|
ToolState,
|
|
4030
4081
|
ImportExportState])
|
|
4031
4082
|
], MapToolComponent);
|
|
4032
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4083
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: MapToolComponent, decorators: [{
|
|
4033
4084
|
type: Component,
|
|
4034
|
-
args: [{ selector: 'igo-map-tool', changeDetection: ChangeDetectionStrategy.OnPush,
|
|
4035
|
-
|
|
4085
|
+
args: [{ selector: 'igo-map-tool', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [
|
|
4086
|
+
MatTabsModule,
|
|
4087
|
+
LayerListComponent,
|
|
4088
|
+
LayerListBindingDirective,
|
|
4089
|
+
WorkspaceButtonComponent,
|
|
4090
|
+
ExportButtonComponent,
|
|
4091
|
+
OgcFilterButtonComponent,
|
|
4092
|
+
TimeFilterButtonComponent,
|
|
4093
|
+
TrackFeatureButtonComponent,
|
|
4094
|
+
MetadataButtonComponent,
|
|
4095
|
+
ContextListComponent,
|
|
4096
|
+
ContextListBindingDirective,
|
|
4097
|
+
IgoLanguageModule
|
|
4098
|
+
], template: "<mat-tab-group>\n <mat-tab [label]=\"'igo.integration.tools.map' | translate\">\n <igo-layer-list\n [map]=\"map\"\n igoLayerListBinding\n [excludeBaseLayers]=\"excludeBaseLayers\"\n [layerFilterAndSortOptions]=\"layerFilterAndSortOptions\"\n [expandLegendOfVisibleLayers]=\"expandLegendOfVisibleLayers\"\n [toggleLegendOnVisibilityChange]=\"toggleLegendOnVisibilityChange\"\n [updateLegendOnResolutionChange]=\"updateLegendOnResolutionChange\"\n [queryBadge]=\"queryBadge\"\n >\n <ng-template #igoLayerItemToolbar let-layer=\"layer\">\n <!-- <igo-download-button [layer]=\"layer\"></igo-download-button> -->\n <igo-workspace-button [layer]=\"layer\"></igo-workspace-button>\n <igo-export-button\n [layer]=\"layer\"\n (click)=\"activateExport(layer)\"\n ></igo-export-button>\n <igo-ogc-filter-button\n [header]=\"ogcButton\"\n [layer]=\"layer\"\n ></igo-ogc-filter-button>\n <igo-time-filter-button\n [header]=\"timeButton\"\n [layer]=\"layer\"\n ></igo-time-filter-button>\n <igo-track-feature-button\n [trackFeature]=\"true\"\n [layer]=\"layer\"\n ></igo-track-feature-button>\n <igo-metadata-button [layer]=\"layer\"></igo-metadata-button>\n </ng-template>\n </igo-layer-list>\n </mat-tab>\n\n <mat-tab [label]=\"'igo.integration.tools.contexts' | translate\">\n <igo-context-list igoContextListBinding></igo-context-list>\n </mat-tab>\n</mat-tab-group>\n", styles: [":host ::ng-deep .mat-mdc-tab-body-content{overflow:hidden}\n"] }]
|
|
4099
|
+
}], ctorParameters: () => [{ type: MapState }, { type: ToolState }, { type: ImportExportState }], propDecorators: { toggleLegendOnVisibilityChange: [{
|
|
4036
4100
|
type: Input
|
|
4037
4101
|
}], expandLegendOfVisibleLayers: [{
|
|
4038
4102
|
type: Input
|
|
@@ -4277,8 +4341,8 @@ let MapToolsComponent = class MapToolsComponent {
|
|
|
4277
4341
|
}
|
|
4278
4342
|
return false;
|
|
4279
4343
|
}
|
|
4280
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4281
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: MapToolsComponent, selector: "igo-map-tools", inputs: { allowShowAllLegends: "allowShowAllLegends", showAllLegendsValue: "showAllLegendsValue", toggleLegendOnVisibilityChange: "toggleLegendOnVisibilityChange", expandLegendOfVisibleLayers: "expandLegendOfVisibleLayers", updateLegendOnResolutionChange: "updateLegendOnResolutionChange", selectedTabAtOpening: "selectedTabAtOpening", ogcButton: "ogcButton", timeButton: "timeButton", layerAdditionAllowed: "layerAdditionAllowed", layerListControls: "layerListControls", queryBadge: "queryBadge" }, viewQueries: [{ propertyName: "tabGroup", first: true, predicate: ["tabGroup"], descendants: true, static: true }], ngImport: i0, 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' | translate\">\r\n <igo-layer-list\r\n *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-style-modal-layer-button\r\n *ngIf=\"isStyleEditButton(layer)\"\r\n [layer]=\"layer\"\r\n ></igo-style-modal-layer-button>\r\n <igo-metadata-button [layer]=\"layer\"></igo-metadata-button>\r\n <igo-track-feature-button\r\n [trackFeature]=\"true\"\r\n [layer]=\"layer\"\r\n ></igo-track-feature-button>\r\n <igo-time-filter-button\r\n *ngIf=\"isTimeFilterButton(layer)\"\r\n [header]=\"timeButton\"\r\n [layer]=\"layer\"\r\n (click)=\"activateTimeFilter()\"\r\n ></igo-time-filter-button>\r\n <igo-ogc-filter-button\r\n *ngIf=\"isOGCFilterButton(layer)\"\r\n [header]=\"ogcButton\"\r\n [layer]=\"layer\"\r\n (click)=\"activateOgcFilter()\"\r\n ></igo-ogc-filter-button>\r\n <igo-export-button\r\n *ngIf=\"isExportButton(layer)\"\r\n [layer]=\"layer\"\r\n (click)=\"activateExport(layer)\"\r\n ></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' | translate\">\r\n <igo-layer-legend-list\r\n *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 >\r\n </igo-layer-legend-list>\r\n <ng-template\r\n *ngIf=\"(layers$ | async).length !== 0; else emptyLayers\"\r\n ></ng-template>\r\n\r\n <p\r\n class=\"map-empty mat-typography\"\r\n *ngIf=\"\r\n !allowShowAllLegends &&\r\n (layers$ | async).length !== 0 &&\r\n (visibleOrInRangeLayers$ | async).length === 0\r\n \"\r\n >\r\n {{\r\n (visibleLayers$ | async).length\r\n ? ('igo.integration.mapTool.noLayersInRange' | translate)\r\n : ('igo.integration.mapTool.noLayersVisible' | translate)\r\n }}\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 }}\r\n </p>\r\n <p\r\n *ngIf=\"\r\n layerAdditionAllowed &&\r\n (searchToolInToolbar || catalogToolInToolbar || contextToolInToolbar)\r\n \"\r\n class=\"map-empty mat-typography\"\r\n >\r\n {{ 'igo.integration.mapTool.customize' | translate }}\r\n </p>\r\n\r\n <mat-list-item *ngIf=\"layerAdditionAllowed && searchToolInToolbar\">\r\n <mat-icon matListItemIcon>\r\n <svg\r\n viewBox=\"0 0 24 24\"\r\n fit=\"\"\r\n height=\"100%\"\r\n width=\"100%\"\r\n preserveAspectRatio=\"xMidYMid meet\"\r\n focusable=\"false\"\r\n >\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></svg\r\n ></mat-icon>\r\n <span\r\n matListItemTitle\r\n class=\"search-tool mat-typography\"\r\n (click)=\"searchEmit()\"\r\n >\r\n {{ 'igo.integration.mapTool.search-tool' | translate }}\r\n </span>\r\n </mat-list-item>\r\n <mat-list-item *ngIf=\"layerAdditionAllowed && catalogToolInToolbar\">\r\n <mat-icon matListItemIcon>\r\n <svg\r\n viewBox=\"0 0 24 24\"\r\n fit=\"\"\r\n height=\"100%\"\r\n width=\"100%\"\r\n preserveAspectRatio=\"xMidYMid meet\"\r\n focusable=\"false\"\r\n >\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></svg\r\n ></mat-icon>\r\n <span\r\n matListItemTitle\r\n class=\"catalog-tool mat-typography\"\r\n (click)=\"catalogEmit()\"\r\n >\r\n {{ 'igo.integration.mapTool.catalog-tool' | translate }}\r\n </span>\r\n </mat-list-item>\r\n <mat-list-item *ngIf=\"layerAdditionAllowed && contextToolInToolbar\">\r\n <mat-icon matListItemIcon>\r\n <svg\r\n viewBox=\"0 0 24 24\"\r\n fit=\"\"\r\n height=\"100%\"\r\n width=\"100%\"\r\n preserveAspectRatio=\"xMidYMid meet\"\r\n focusable=\"false\"\r\n >\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></svg\r\n ></mat-icon>\r\n <span\r\n matListItemTitle\r\n class=\"context-tool mat-typography\"\r\n (click)=\"contextEmit()\"\r\n >\r\n {{ 'igo.integration.mapTool.context-tool' | translate }}\r\n </span>\r\n </mat-list-item>\r\n </mat-list>\r\n </ng-template>\r\n</mat-tab-group>\r\n", styles: [":host mat-tab-group{height:100%}:host ::ng-deep .mat-mdc-tab-body-wrapper{flex:1}:host ::ng-deep .mat-tab-body{margin-top:8px}:host ::ng-deep .mat-mdc-tab-body-content{overflow:hidden}:host .map-empty,:host .search-tool,:host .catalog-tool,:host .context-tool{margin:10px}:host .map-empty{text-align:justify}:host .search-tool,:host .catalog-tool,:host .context-tool{cursor:pointer}:host mat-list mat-list-item h4{font-weight:700}:host mat-list-item ::ng-deep .mdc-list-item__primary-text{font-size:smaller}:host mat-list.mat-mdc-list-base mat-list-item.mat-mdc-list-item ::ng-deep div.mdc-list-item__content div.mdc-list-item__primary-text{padding-left:5px}\n"], dependencies: [{ kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i8$1.MatTab, selector: "mat-tab", inputs: ["disabled"], exportAs: ["matTab"] }, { kind: "component", type: i8$1.MatTabGroup, selector: "mat-tab-group", inputs: ["color", "disableRipple", "fitInkBarToContent", "mat-stretch-tabs"], exportAs: ["matTabGroup"] }, { kind: "component", type: i10$2.MatList, selector: "mat-list", exportAs: ["matList"] }, { kind: "component", type: i10$2.MatListItem, selector: "mat-list-item, a[mat-list-item], button[mat-list-item]", inputs: ["activated"], exportAs: ["matListItem"] }, { kind: "directive", type: i10$2.MatListItemIcon, selector: "[matListItemIcon]" }, { kind: "directive", type: i10$2.MatListItemTitle, selector: "[matListItemTitle]" }, { kind: "component", type: i7.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i1.LayerListComponent, selector: "igo-layer-list", inputs: ["layersAreAllVisible", "ogcButton", "timeButton", "map", "layers", "floatLabel", "layerFilterAndSortOptions", "excludeBaseLayers", "toggleLegendOnVisibilityChange", "expandLegendOfVisibleLayers", "updateLegendOnResolutionChange", "queryBadge"], outputs: ["appliedFilterAndSort"] }, { kind: "component", type: i1.LayerLegendListComponent, selector: "igo-layer-legend-list", inputs: ["layers", "excludeBaseLayers", "updateLegendOnResolutionChange", "allowShowAllLegends", "showAllLegendsValue"], outputs: ["allLegendsShown"] }, { kind: "directive", type: i1.LayerListBindingDirective, selector: "[igoLayerListBinding]" }, { kind: "directive", type: i1.LayerLegendListBindingDirective, selector: "[igoLayerLegendListBinding]" }, { kind: "component", type: i1.TrackFeatureButtonComponent, selector: "igo-track-feature-button", inputs: ["layer", "trackFeature"] }, { kind: "component", type: i1.MetadataButtonComponent, selector: "igo-metadata-button", inputs: ["layer", "color"] }, { kind: "component", type: i1.ExportButtonComponent, selector: "igo-export-button", inputs: ["layer", "color"] }, { kind: "component", type: i1.StyleModalLayerButtonComponent, selector: "igo-style-modal-layer-button", inputs: ["layer"] }, { kind: "component", type: i1.TimeFilterButtonComponent, selector: "igo-time-filter-button", inputs: ["layer", "map", "color", "header"] }, { kind: "component", type: i1.OgcFilterButtonComponent, selector: "igo-ogc-filter-button", inputs: ["layer", "map", "color", "header"] }, { kind: "component", type: WorkspaceButtonComponent, selector: "igo-workspace-button", inputs: ["layer", "color"] }, { kind: "pipe", type: i4.AsyncPipe, name: "async" }, { kind: "pipe", type: i7$1.TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
4344
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: MapToolsComponent, deps: [{ token: LayerListToolState }, { token: ToolState }, { token: MapState }, { token: i1$1.SearchSourceService }, { token: ImportExportState }], target: i0.ɵɵFactoryTarget.Component });
|
|
4345
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.9", type: MapToolsComponent, isStandalone: true, selector: "igo-map-tools", inputs: { allowShowAllLegends: "allowShowAllLegends", showAllLegendsValue: "showAllLegendsValue", toggleLegendOnVisibilityChange: "toggleLegendOnVisibilityChange", expandLegendOfVisibleLayers: "expandLegendOfVisibleLayers", updateLegendOnResolutionChange: "updateLegendOnResolutionChange", selectedTabAtOpening: "selectedTabAtOpening", ogcButton: "ogcButton", timeButton: "timeButton", layerAdditionAllowed: "layerAdditionAllowed", layerListControls: "layerListControls", queryBadge: "queryBadge" }, viewQueries: [{ propertyName: "tabGroup", first: true, predicate: ["tabGroup"], descendants: true, static: true }], ngImport: i0, template: "<mat-tab-group\n #tabGroup\n [selectedIndex]=\"layerListToolState.selectedTab$ | async\"\n (selectedTabChange)=\"tabChanged($event)\"\n>\n <mat-tab [label]=\"'igo.integration.tools.layers' | translate\">\n <igo-layer-list\n *ngIf=\"(layers$ | async).length !== 0; else emptyLayers\"\n igoLayerListBinding\n [excludeBaseLayers]=\"excludeBaseLayers\"\n [layerFilterAndSortOptions]=\"layerFilterAndSortOptions\"\n [expandLegendOfVisibleLayers]=\"expandLegendOfVisibleLayers\"\n [toggleLegendOnVisibilityChange]=\"toggleLegendOnVisibilityChange\"\n [updateLegendOnResolutionChange]=\"updateLegendOnResolutionChange\"\n [queryBadge]=\"queryBadge\"\n [map]=\"map\"\n (appliedFilterAndSort)=\"onLayerListChange($event)\"\n >\n <ng-template #igoLayerItemToolbar let-layer=\"layer\">\n <igo-style-modal-layer-button\n *ngIf=\"isStyleEditButton(layer)\"\n [layer]=\"layer\"\n ></igo-style-modal-layer-button>\n <igo-metadata-button [layer]=\"layer\"></igo-metadata-button>\n <igo-track-feature-button\n [trackFeature]=\"true\"\n [layer]=\"layer\"\n ></igo-track-feature-button>\n <igo-time-filter-button\n *ngIf=\"isTimeFilterButton(layer)\"\n [header]=\"timeButton\"\n [layer]=\"layer\"\n (click)=\"activateTimeFilter()\"\n ></igo-time-filter-button>\n <igo-ogc-filter-button\n *ngIf=\"isOGCFilterButton(layer)\"\n [header]=\"ogcButton\"\n [layer]=\"layer\"\n (click)=\"activateOgcFilter()\"\n ></igo-ogc-filter-button>\n <igo-export-button\n *ngIf=\"isExportButton(layer)\"\n [layer]=\"layer\"\n (click)=\"activateExport(layer)\"\n ></igo-export-button>\n <igo-workspace-button [layer]=\"layer\"></igo-workspace-button>\n </ng-template>\n </igo-layer-list>\n </mat-tab>\n\n <mat-tab [label]=\"'igo.integration.tools.legend' | translate\">\n <igo-layer-legend-list\n *ngIf=\"showAllLegend()\"\n igoLayerLegendListBinding\n [allowShowAllLegends]=\"allowShowAllLegends\"\n [showAllLegendsValue]=\"showAllLegendsValue$ | async\"\n (allLegendsShown)=\"onShowAllLegends($event)\"\n [excludeBaseLayers]=\"excludeBaseLayers\"\n [updateLegendOnResolutionChange]=\"updateLegendOnResolutionChange\"\n >\n </igo-layer-legend-list>\n <ng-template\n *ngIf=\"(layers$ | async).length !== 0; else emptyLayers\"\n ></ng-template>\n\n <p\n class=\"map-empty mat-typography\"\n *ngIf=\"\n !allowShowAllLegends &&\n (layers$ | async).length !== 0 &&\n (visibleOrInRangeLayers$ | async).length === 0\n \"\n >\n {{\n (visibleLayers$ | async).length\n ? ('igo.integration.mapTool.noLayersInRange' | translate)\n : ('igo.integration.mapTool.noLayersVisible' | translate)\n }}\n </p>\n </mat-tab>\n\n <ng-template #emptyLayers>\n <mat-list *ngIf=\"delayedShowEmptyMapContent\">\n <p class=\"map-empty mat-typography\">\n {{ 'igo.integration.mapTool.empty' | translate }}\n </p>\n <p\n *ngIf=\"\n layerAdditionAllowed &&\n (searchToolInToolbar || catalogToolInToolbar || contextToolInToolbar)\n \"\n class=\"map-empty mat-typography\"\n >\n {{ 'igo.integration.mapTool.customize' | translate }}\n </p>\n\n <mat-list-item *ngIf=\"layerAdditionAllowed && searchToolInToolbar\">\n <mat-icon matListItemIcon>search</mat-icon>\n <span\n matListItemTitle\n class=\"search-tool mat-typography\"\n (click)=\"searchEmit()\"\n >\n {{ 'igo.integration.mapTool.search-tool' | translate }}\n </span>\n </mat-list-item>\n <mat-list-item *ngIf=\"layerAdditionAllowed && catalogToolInToolbar\">\n <mat-icon matListItemIcon>library_add</mat-icon>\n <span\n matListItemTitle\n class=\"catalog-tool mat-typography\"\n (click)=\"catalogEmit()\"\n >\n {{ 'igo.integration.mapTool.catalog-tool' | translate }}\n </span>\n </mat-list-item>\n <mat-list-item *ngIf=\"layerAdditionAllowed && contextToolInToolbar\">\n <mat-icon matListItemIcon>star</mat-icon>\n <span\n matListItemTitle\n class=\"context-tool mat-typography\"\n (click)=\"contextEmit()\"\n >\n {{ 'igo.integration.mapTool.context-tool' | translate }}\n </span>\n </mat-list-item>\n </mat-list>\n </ng-template>\n</mat-tab-group>\n", styles: [":host mat-tab-group{height:100%}:host ::ng-deep .mat-mdc-tab-body-wrapper{flex:1}:host ::ng-deep .mat-tab-body{margin-top:8px}:host ::ng-deep .mat-mdc-tab-body-content{overflow:hidden}:host .map-empty,:host .search-tool,:host .catalog-tool,:host .context-tool{margin:10px}:host .map-empty{text-align:justify}:host .search-tool,:host .catalog-tool,:host .context-tool{cursor:pointer}:host mat-list mat-list-item h4{font-weight:700}:host mat-list-item ::ng-deep .mdc-list-item__primary-text{font-size:smaller}:host mat-list.mat-mdc-list-base mat-list-item.mat-mdc-list-item ::ng-deep div.mdc-list-item__content div.mdc-list-item__primary-text{padding-left:5px}\n"], dependencies: [{ kind: "ngmodule", type: MatTabsModule }, { kind: "component", type: i5$2.MatTab, selector: "mat-tab", inputs: ["disabled", "label", "aria-label", "aria-labelledby", "labelClass", "bodyClass"], exportAs: ["matTab"] }, { kind: "component", type: i5$2.MatTabGroup, selector: "mat-tab-group", inputs: ["color", "fitInkBarToContent", "mat-stretch-tabs", "dynamicHeight", "selectedIndex", "headerPosition", "animationDuration", "contentTabIndex", "disablePagination", "disableRipple", "preserveContent", "backgroundColor"], outputs: ["selectedIndexChange", "focusChange", "animationDone", "selectedTabChange"], exportAs: ["matTabGroup"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: LayerListComponent, selector: "igo-layer-list", inputs: ["layersAreAllVisible", "ogcButton", "timeButton", "map", "layers", "floatLabel", "layerFilterAndSortOptions", "excludeBaseLayers", "toggleLegendOnVisibilityChange", "expandLegendOfVisibleLayers", "updateLegendOnResolutionChange", "queryBadge"], outputs: ["appliedFilterAndSort"] }, { kind: "directive", type: LayerListBindingDirective, selector: "[igoLayerListBinding]" }, { kind: "component", type: StyleModalLayerButtonComponent, selector: "igo-style-modal-layer-button", inputs: ["layer"] }, { kind: "component", type: MetadataButtonComponent, selector: "igo-metadata-button", inputs: ["layer", "color"] }, { kind: "component", type: TrackFeatureButtonComponent, selector: "igo-track-feature-button", inputs: ["layer", "trackFeature"] }, { kind: "component", type: TimeFilterButtonComponent, selector: "igo-time-filter-button", inputs: ["layer", "map", "color", "header"] }, { kind: "component", type: OgcFilterButtonComponent, selector: "igo-ogc-filter-button", inputs: ["layer", "map", "color", "header"] }, { kind: "component", type: ExportButtonComponent, selector: "igo-export-button", inputs: ["layer", "color"] }, { kind: "component", type: WorkspaceButtonComponent, selector: "igo-workspace-button", inputs: ["layer", "color"] }, { kind: "component", type: LayerLegendListComponent, selector: "igo-layer-legend-list", inputs: ["layers", "excludeBaseLayers", "updateLegendOnResolutionChange", "allowShowAllLegends", "showAllLegendsValue"], outputs: ["allLegendsShown"] }, { kind: "directive", type: LayerLegendListBindingDirective, selector: "[igoLayerLegendListBinding]" }, { kind: "ngmodule", type: MatListModule }, { kind: "component", type: i10.MatList, selector: "mat-list", exportAs: ["matList"] }, { kind: "component", type: i10.MatListItem, selector: "mat-list-item, a[mat-list-item], button[mat-list-item]", inputs: ["activated"], exportAs: ["matListItem"] }, { kind: "directive", type: i10.MatListItemIcon, selector: "[matListItemIcon]" }, { kind: "directive", type: i10.MatListItemTitle, selector: "[matListItemTitle]" }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "ngmodule", type: IgoLanguageModule }, { kind: "pipe", type: i6$1.TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
4282
4346
|
};
|
|
4283
4347
|
MapToolsComponent = __decorate([
|
|
4284
4348
|
ToolComponent({
|
|
@@ -4292,10 +4356,28 @@ MapToolsComponent = __decorate([
|
|
|
4292
4356
|
SearchSourceService,
|
|
4293
4357
|
ImportExportState])
|
|
4294
4358
|
], MapToolsComponent);
|
|
4295
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4359
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: MapToolsComponent, decorators: [{
|
|
4296
4360
|
type: Component,
|
|
4297
|
-
args: [{ selector: 'igo-map-tools', changeDetection: ChangeDetectionStrategy.OnPush,
|
|
4298
|
-
|
|
4361
|
+
args: [{ selector: 'igo-map-tools', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [
|
|
4362
|
+
MatTabsModule,
|
|
4363
|
+
NgIf,
|
|
4364
|
+
LayerListComponent,
|
|
4365
|
+
LayerListBindingDirective,
|
|
4366
|
+
StyleModalLayerButtonComponent,
|
|
4367
|
+
MetadataButtonComponent,
|
|
4368
|
+
TrackFeatureButtonComponent,
|
|
4369
|
+
TimeFilterButtonComponent,
|
|
4370
|
+
OgcFilterButtonComponent,
|
|
4371
|
+
ExportButtonComponent,
|
|
4372
|
+
WorkspaceButtonComponent,
|
|
4373
|
+
LayerLegendListComponent,
|
|
4374
|
+
LayerLegendListBindingDirective,
|
|
4375
|
+
MatListModule,
|
|
4376
|
+
MatIconModule,
|
|
4377
|
+
AsyncPipe,
|
|
4378
|
+
IgoLanguageModule
|
|
4379
|
+
], template: "<mat-tab-group\n #tabGroup\n [selectedIndex]=\"layerListToolState.selectedTab$ | async\"\n (selectedTabChange)=\"tabChanged($event)\"\n>\n <mat-tab [label]=\"'igo.integration.tools.layers' | translate\">\n <igo-layer-list\n *ngIf=\"(layers$ | async).length !== 0; else emptyLayers\"\n igoLayerListBinding\n [excludeBaseLayers]=\"excludeBaseLayers\"\n [layerFilterAndSortOptions]=\"layerFilterAndSortOptions\"\n [expandLegendOfVisibleLayers]=\"expandLegendOfVisibleLayers\"\n [toggleLegendOnVisibilityChange]=\"toggleLegendOnVisibilityChange\"\n [updateLegendOnResolutionChange]=\"updateLegendOnResolutionChange\"\n [queryBadge]=\"queryBadge\"\n [map]=\"map\"\n (appliedFilterAndSort)=\"onLayerListChange($event)\"\n >\n <ng-template #igoLayerItemToolbar let-layer=\"layer\">\n <igo-style-modal-layer-button\n *ngIf=\"isStyleEditButton(layer)\"\n [layer]=\"layer\"\n ></igo-style-modal-layer-button>\n <igo-metadata-button [layer]=\"layer\"></igo-metadata-button>\n <igo-track-feature-button\n [trackFeature]=\"true\"\n [layer]=\"layer\"\n ></igo-track-feature-button>\n <igo-time-filter-button\n *ngIf=\"isTimeFilterButton(layer)\"\n [header]=\"timeButton\"\n [layer]=\"layer\"\n (click)=\"activateTimeFilter()\"\n ></igo-time-filter-button>\n <igo-ogc-filter-button\n *ngIf=\"isOGCFilterButton(layer)\"\n [header]=\"ogcButton\"\n [layer]=\"layer\"\n (click)=\"activateOgcFilter()\"\n ></igo-ogc-filter-button>\n <igo-export-button\n *ngIf=\"isExportButton(layer)\"\n [layer]=\"layer\"\n (click)=\"activateExport(layer)\"\n ></igo-export-button>\n <igo-workspace-button [layer]=\"layer\"></igo-workspace-button>\n </ng-template>\n </igo-layer-list>\n </mat-tab>\n\n <mat-tab [label]=\"'igo.integration.tools.legend' | translate\">\n <igo-layer-legend-list\n *ngIf=\"showAllLegend()\"\n igoLayerLegendListBinding\n [allowShowAllLegends]=\"allowShowAllLegends\"\n [showAllLegendsValue]=\"showAllLegendsValue$ | async\"\n (allLegendsShown)=\"onShowAllLegends($event)\"\n [excludeBaseLayers]=\"excludeBaseLayers\"\n [updateLegendOnResolutionChange]=\"updateLegendOnResolutionChange\"\n >\n </igo-layer-legend-list>\n <ng-template\n *ngIf=\"(layers$ | async).length !== 0; else emptyLayers\"\n ></ng-template>\n\n <p\n class=\"map-empty mat-typography\"\n *ngIf=\"\n !allowShowAllLegends &&\n (layers$ | async).length !== 0 &&\n (visibleOrInRangeLayers$ | async).length === 0\n \"\n >\n {{\n (visibleLayers$ | async).length\n ? ('igo.integration.mapTool.noLayersInRange' | translate)\n : ('igo.integration.mapTool.noLayersVisible' | translate)\n }}\n </p>\n </mat-tab>\n\n <ng-template #emptyLayers>\n <mat-list *ngIf=\"delayedShowEmptyMapContent\">\n <p class=\"map-empty mat-typography\">\n {{ 'igo.integration.mapTool.empty' | translate }}\n </p>\n <p\n *ngIf=\"\n layerAdditionAllowed &&\n (searchToolInToolbar || catalogToolInToolbar || contextToolInToolbar)\n \"\n class=\"map-empty mat-typography\"\n >\n {{ 'igo.integration.mapTool.customize' | translate }}\n </p>\n\n <mat-list-item *ngIf=\"layerAdditionAllowed && searchToolInToolbar\">\n <mat-icon matListItemIcon>search</mat-icon>\n <span\n matListItemTitle\n class=\"search-tool mat-typography\"\n (click)=\"searchEmit()\"\n >\n {{ 'igo.integration.mapTool.search-tool' | translate }}\n </span>\n </mat-list-item>\n <mat-list-item *ngIf=\"layerAdditionAllowed && catalogToolInToolbar\">\n <mat-icon matListItemIcon>library_add</mat-icon>\n <span\n matListItemTitle\n class=\"catalog-tool mat-typography\"\n (click)=\"catalogEmit()\"\n >\n {{ 'igo.integration.mapTool.catalog-tool' | translate }}\n </span>\n </mat-list-item>\n <mat-list-item *ngIf=\"layerAdditionAllowed && contextToolInToolbar\">\n <mat-icon matListItemIcon>star</mat-icon>\n <span\n matListItemTitle\n class=\"context-tool mat-typography\"\n (click)=\"contextEmit()\"\n >\n {{ 'igo.integration.mapTool.context-tool' | translate }}\n </span>\n </mat-list-item>\n </mat-list>\n </ng-template>\n</mat-tab-group>\n", styles: [":host mat-tab-group{height:100%}:host ::ng-deep .mat-mdc-tab-body-wrapper{flex:1}:host ::ng-deep .mat-tab-body{margin-top:8px}:host ::ng-deep .mat-mdc-tab-body-content{overflow:hidden}:host .map-empty,:host .search-tool,:host .catalog-tool,:host .context-tool{margin:10px}:host .map-empty{text-align:justify}:host .search-tool,:host .catalog-tool,:host .context-tool{cursor:pointer}:host mat-list mat-list-item h4{font-weight:700}:host mat-list-item ::ng-deep .mdc-list-item__primary-text{font-size:smaller}:host mat-list.mat-mdc-list-base mat-list-item.mat-mdc-list-item ::ng-deep div.mdc-list-item__content div.mdc-list-item__primary-text{padding-left:5px}\n"] }]
|
|
4380
|
+
}], ctorParameters: () => [{ type: LayerListToolState }, { type: ToolState }, { type: MapState }, { type: i1$1.SearchSourceService }, { type: ImportExportState }], propDecorators: { allowShowAllLegends: [{
|
|
4299
4381
|
type: Input
|
|
4300
4382
|
}], showAllLegendsValue: [{
|
|
4301
4383
|
type: Input
|
|
@@ -4322,6 +4404,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
4322
4404
|
args: ['tabGroup', { static: true }]
|
|
4323
4405
|
}] } });
|
|
4324
4406
|
|
|
4407
|
+
/**
|
|
4408
|
+
* @deprecated import the ImportExportToolComponent directly or INTEGRATION_MAP_DIRECTIVES for the set
|
|
4409
|
+
*/
|
|
4325
4410
|
class IgoAppMapModule {
|
|
4326
4411
|
static forRoot() {
|
|
4327
4412
|
return {
|
|
@@ -4329,121 +4414,35 @@ class IgoAppMapModule {
|
|
|
4329
4414
|
providers: []
|
|
4330
4415
|
};
|
|
4331
4416
|
}
|
|
4332
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4333
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
4417
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: IgoAppMapModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4418
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.9", ngImport: i0, type: IgoAppMapModule, imports: [AdvancedMapToolComponent,
|
|
4334
4419
|
MapProximityToolComponent,
|
|
4335
4420
|
MapToolComponent,
|
|
4336
4421
|
MapToolsComponent,
|
|
4337
4422
|
MapDetailsToolComponent,
|
|
4338
|
-
MapLegendToolComponent,
|
|
4339
|
-
|
|
4340
|
-
|
|
4341
|
-
|
|
4342
|
-
|
|
4343
|
-
|
|
4344
|
-
|
|
4345
|
-
MatOptionModule,
|
|
4346
|
-
MatFormFieldModule,
|
|
4347
|
-
MatInputModule,
|
|
4348
|
-
MatCheckboxModule,
|
|
4349
|
-
IgoSpinnerModule,
|
|
4350
|
-
CommonModule,
|
|
4351
|
-
MatTabsModule,
|
|
4352
|
-
MatListModule,
|
|
4353
|
-
MatIconModule,
|
|
4354
|
-
IgoLanguageModule,
|
|
4355
|
-
IgoLayerModule,
|
|
4356
|
-
IgoMetadataModule,
|
|
4357
|
-
IgoDownloadModule,
|
|
4358
|
-
IgoImportExportModule,
|
|
4359
|
-
IgoStyleModule,
|
|
4360
|
-
IgoFilterModule,
|
|
4361
|
-
MatRadioModule,
|
|
4362
|
-
IgoContextModule,
|
|
4363
|
-
IgoAppWorkspaceModule,
|
|
4364
|
-
MatSlideToggleModule,
|
|
4365
|
-
MatMenuModule,
|
|
4366
|
-
MatButtonModule,
|
|
4367
|
-
MatTooltipModule,
|
|
4368
|
-
IgoEntityTableModule], exports: [AdvancedMapToolComponent,
|
|
4423
|
+
MapLegendToolComponent], exports: [AdvancedMapToolComponent,
|
|
4424
|
+
MapProximityToolComponent,
|
|
4425
|
+
MapToolComponent,
|
|
4426
|
+
MapToolsComponent,
|
|
4427
|
+
MapDetailsToolComponent,
|
|
4428
|
+
MapLegendToolComponent] });
|
|
4429
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: IgoAppMapModule, imports: [AdvancedMapToolComponent,
|
|
4369
4430
|
MapProximityToolComponent,
|
|
4370
4431
|
MapToolComponent,
|
|
4371
4432
|
MapToolsComponent,
|
|
4372
4433
|
MapDetailsToolComponent,
|
|
4373
4434
|
MapLegendToolComponent] });
|
|
4374
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IgoAppMapModule, imports: [FormsModule,
|
|
4375
|
-
ReactiveFormsModule,
|
|
4376
|
-
MatButtonToggleModule,
|
|
4377
|
-
MatDividerModule,
|
|
4378
|
-
MatSelectModule,
|
|
4379
|
-
MatOptionModule,
|
|
4380
|
-
MatFormFieldModule,
|
|
4381
|
-
MatInputModule,
|
|
4382
|
-
MatCheckboxModule,
|
|
4383
|
-
IgoSpinnerModule,
|
|
4384
|
-
CommonModule,
|
|
4385
|
-
MatTabsModule,
|
|
4386
|
-
MatListModule,
|
|
4387
|
-
MatIconModule,
|
|
4388
|
-
IgoLanguageModule,
|
|
4389
|
-
IgoLayerModule,
|
|
4390
|
-
IgoMetadataModule,
|
|
4391
|
-
IgoDownloadModule,
|
|
4392
|
-
IgoImportExportModule,
|
|
4393
|
-
IgoStyleModule,
|
|
4394
|
-
IgoFilterModule,
|
|
4395
|
-
MatRadioModule,
|
|
4396
|
-
IgoContextModule,
|
|
4397
|
-
IgoAppWorkspaceModule,
|
|
4398
|
-
MatSlideToggleModule,
|
|
4399
|
-
MatMenuModule,
|
|
4400
|
-
MatButtonModule,
|
|
4401
|
-
MatTooltipModule,
|
|
4402
|
-
IgoEntityTableModule] });
|
|
4403
4435
|
}
|
|
4404
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4436
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: IgoAppMapModule, decorators: [{
|
|
4405
4437
|
type: NgModule,
|
|
4406
4438
|
args: [{
|
|
4407
4439
|
imports: [
|
|
4408
|
-
FormsModule,
|
|
4409
|
-
ReactiveFormsModule,
|
|
4410
|
-
MatButtonToggleModule,
|
|
4411
|
-
MatDividerModule,
|
|
4412
|
-
MatSelectModule,
|
|
4413
|
-
MatOptionModule,
|
|
4414
|
-
MatFormFieldModule,
|
|
4415
|
-
MatInputModule,
|
|
4416
|
-
MatCheckboxModule,
|
|
4417
|
-
IgoSpinnerModule,
|
|
4418
|
-
CommonModule,
|
|
4419
|
-
MatTabsModule,
|
|
4420
|
-
MatListModule,
|
|
4421
|
-
MatIconModule,
|
|
4422
|
-
IgoLanguageModule,
|
|
4423
|
-
IgoLayerModule,
|
|
4424
|
-
IgoMetadataModule,
|
|
4425
|
-
IgoDownloadModule,
|
|
4426
|
-
IgoImportExportModule,
|
|
4427
|
-
IgoStyleModule,
|
|
4428
|
-
IgoFilterModule,
|
|
4429
|
-
MatRadioModule,
|
|
4430
|
-
IgoContextModule,
|
|
4431
|
-
IgoAppWorkspaceModule,
|
|
4432
|
-
MatSlideToggleModule,
|
|
4433
|
-
MatMenuModule,
|
|
4434
|
-
MatButtonModule,
|
|
4435
|
-
MatTooltipModule,
|
|
4436
|
-
IgoEntityTableModule
|
|
4437
|
-
],
|
|
4438
|
-
declarations: [
|
|
4439
4440
|
AdvancedMapToolComponent,
|
|
4440
4441
|
MapProximityToolComponent,
|
|
4441
4442
|
MapToolComponent,
|
|
4442
4443
|
MapToolsComponent,
|
|
4443
4444
|
MapDetailsToolComponent,
|
|
4444
|
-
MapLegendToolComponent
|
|
4445
|
-
AdvancedSwipeComponent,
|
|
4446
|
-
AdvancedCoordinatesComponent
|
|
4445
|
+
MapLegendToolComponent
|
|
4447
4446
|
],
|
|
4448
4447
|
exports: [
|
|
4449
4448
|
AdvancedMapToolComponent,
|
|
@@ -4452,8 +4451,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
4452
4451
|
MapToolsComponent,
|
|
4453
4452
|
MapDetailsToolComponent,
|
|
4454
4453
|
MapLegendToolComponent
|
|
4455
|
-
]
|
|
4456
|
-
schemas: [CUSTOM_ELEMENTS_SCHEMA]
|
|
4454
|
+
]
|
|
4457
4455
|
}]
|
|
4458
4456
|
}] });
|
|
4459
4457
|
|
|
@@ -4482,15 +4480,15 @@ class MeasureState {
|
|
|
4482
4480
|
}
|
|
4483
4481
|
});
|
|
4484
4482
|
}
|
|
4485
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4486
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4483
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: MeasureState, deps: [{ token: MapState }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4484
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: MeasureState, providedIn: 'root' });
|
|
4487
4485
|
}
|
|
4488
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4486
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: MeasureState, decorators: [{
|
|
4489
4487
|
type: Injectable,
|
|
4490
4488
|
args: [{
|
|
4491
4489
|
providedIn: 'root'
|
|
4492
4490
|
}]
|
|
4493
|
-
}], ctorParameters:
|
|
4491
|
+
}], ctorParameters: () => [{ type: MapState }] });
|
|
4494
4492
|
|
|
4495
4493
|
/**
|
|
4496
4494
|
* Tool to measure lengths and areas
|
|
@@ -4516,51 +4514,50 @@ let MeasurerToolComponent = class MeasurerToolComponent {
|
|
|
4516
4514
|
this.measureState = measureState;
|
|
4517
4515
|
this.mapState = mapState;
|
|
4518
4516
|
}
|
|
4519
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4520
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
4517
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: MeasurerToolComponent, deps: [{ token: MeasureState }, { token: MapState }], target: i0.ɵɵFactoryTarget.Component });
|
|
4518
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.9", type: MeasurerToolComponent, isStandalone: true, selector: "igo-measurer-tool", ngImport: i0, template: "<igo-measurer [store]=\"store\" [map]=\"map\"></igo-measurer>\n", dependencies: [{ kind: "component", type: MeasurerComponent, selector: "igo-measurer", inputs: ["map", "store", "activeMeasureType", "minSegmentLength"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
4521
4519
|
};
|
|
4522
4520
|
MeasurerToolComponent = __decorate([
|
|
4523
4521
|
ToolComponent({
|
|
4524
4522
|
name: 'measurer',
|
|
4525
4523
|
title: 'igo.integration.tools.measurer',
|
|
4526
|
-
icon: '
|
|
4524
|
+
icon: 'square_foot'
|
|
4527
4525
|
}),
|
|
4528
4526
|
__metadata("design:paramtypes", [MeasureState,
|
|
4529
4527
|
MapState])
|
|
4530
4528
|
], MeasurerToolComponent);
|
|
4531
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4529
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: MeasurerToolComponent, decorators: [{
|
|
4532
4530
|
type: Component,
|
|
4533
|
-
args: [{ selector: 'igo-measurer-tool', changeDetection: ChangeDetectionStrategy.OnPush, template: "<igo-measurer [store]=\"store\" [map]=\"map\"></igo-measurer>\n" }]
|
|
4534
|
-
}], ctorParameters:
|
|
4531
|
+
args: [{ selector: 'igo-measurer-tool', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [MeasurerComponent], template: "<igo-measurer [store]=\"store\" [map]=\"map\"></igo-measurer>\n" }]
|
|
4532
|
+
}], ctorParameters: () => [{ type: MeasureState }, { type: MapState }] });
|
|
4535
4533
|
|
|
4536
4534
|
/**
|
|
4537
|
-
* @
|
|
4535
|
+
* @deprecated import the MeasurerToolComponent directly
|
|
4538
4536
|
*/
|
|
4539
4537
|
class IgoAppMeasurerToolModule {
|
|
4540
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4541
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
4542
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
4538
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: IgoAppMeasurerToolModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4539
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.9", ngImport: i0, type: IgoAppMeasurerToolModule, imports: [MeasurerToolComponent], exports: [MeasurerToolComponent] });
|
|
4540
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: IgoAppMeasurerToolModule, imports: [MeasurerToolComponent] });
|
|
4543
4541
|
}
|
|
4544
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4542
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: IgoAppMeasurerToolModule, decorators: [{
|
|
4545
4543
|
type: NgModule,
|
|
4546
4544
|
args: [{
|
|
4547
|
-
imports: [
|
|
4548
|
-
|
|
4549
|
-
exports: [MeasurerToolComponent],
|
|
4550
|
-
schemas: [CUSTOM_ELEMENTS_SCHEMA]
|
|
4545
|
+
imports: [MeasurerToolComponent],
|
|
4546
|
+
exports: [MeasurerToolComponent]
|
|
4551
4547
|
}]
|
|
4552
4548
|
}] });
|
|
4553
4549
|
|
|
4550
|
+
/**
|
|
4551
|
+
* @deprecated import the MeasurerToolComponent directly
|
|
4552
|
+
*/
|
|
4554
4553
|
class IgoAppMeasureModule {
|
|
4555
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4556
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
4557
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
4554
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: IgoAppMeasureModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4555
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.9", ngImport: i0, type: IgoAppMeasureModule, exports: [IgoAppMeasurerToolModule] });
|
|
4556
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: IgoAppMeasureModule, imports: [IgoAppMeasurerToolModule] });
|
|
4558
4557
|
}
|
|
4559
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4558
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: IgoAppMeasureModule, decorators: [{
|
|
4560
4559
|
type: NgModule,
|
|
4561
4560
|
args: [{
|
|
4562
|
-
imports: [],
|
|
4563
|
-
declarations: [],
|
|
4564
4561
|
exports: [IgoAppMeasurerToolModule]
|
|
4565
4562
|
}]
|
|
4566
4563
|
}] });
|
|
@@ -4573,22 +4570,25 @@ let PrintToolComponent = class PrintToolComponent {
|
|
|
4573
4570
|
constructor(mapState) {
|
|
4574
4571
|
this.mapState = mapState;
|
|
4575
4572
|
}
|
|
4576
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4577
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
4573
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: PrintToolComponent, deps: [{ token: MapState }], target: i0.ɵɵFactoryTarget.Component });
|
|
4574
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.9", type: PrintToolComponent, isStandalone: true, selector: "igo-print-tool", ngImport: i0, template: "<igo-print [map]=\"map\"></igo-print>\n", dependencies: [{ kind: "component", type: PrintComponent, selector: "igo-print", inputs: ["map", "outputFormat", "paperFormat", "orientation", "imageFormat", "legendPosition", "resolution"] }] });
|
|
4578
4575
|
};
|
|
4579
4576
|
PrintToolComponent = __decorate([
|
|
4580
4577
|
ToolComponent({
|
|
4581
4578
|
name: 'print',
|
|
4582
4579
|
title: 'igo.integration.tools.print',
|
|
4583
|
-
icon: '
|
|
4580
|
+
icon: 'print'
|
|
4584
4581
|
}),
|
|
4585
4582
|
__metadata("design:paramtypes", [MapState])
|
|
4586
4583
|
], PrintToolComponent);
|
|
4587
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4584
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: PrintToolComponent, decorators: [{
|
|
4588
4585
|
type: Component,
|
|
4589
|
-
args: [{ selector: 'igo-print-tool', template: "<igo-print [map]=\"map\"></igo-print>\n" }]
|
|
4590
|
-
}], ctorParameters:
|
|
4586
|
+
args: [{ selector: 'igo-print-tool', standalone: true, imports: [PrintComponent], template: "<igo-print [map]=\"map\"></igo-print>\n" }]
|
|
4587
|
+
}], ctorParameters: () => [{ type: MapState }] });
|
|
4591
4588
|
|
|
4589
|
+
/**
|
|
4590
|
+
* @deprecated import the PrintToolComponent directly
|
|
4591
|
+
*/
|
|
4592
4592
|
class IgoAppPrintModule {
|
|
4593
4593
|
static forRoot() {
|
|
4594
4594
|
return {
|
|
@@ -4596,20 +4596,27 @@ class IgoAppPrintModule {
|
|
|
4596
4596
|
providers: []
|
|
4597
4597
|
};
|
|
4598
4598
|
}
|
|
4599
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4600
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
4601
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
4599
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: IgoAppPrintModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4600
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.9", ngImport: i0, type: IgoAppPrintModule, imports: [PrintToolComponent], exports: [PrintToolComponent] });
|
|
4601
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: IgoAppPrintModule, imports: [PrintToolComponent] });
|
|
4602
4602
|
}
|
|
4603
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4603
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: IgoAppPrintModule, decorators: [{
|
|
4604
4604
|
type: NgModule,
|
|
4605
4605
|
args: [{
|
|
4606
|
-
imports: [
|
|
4607
|
-
|
|
4608
|
-
exports: [PrintToolComponent],
|
|
4609
|
-
schemas: [CUSTOM_ELEMENTS_SCHEMA]
|
|
4606
|
+
imports: [PrintToolComponent],
|
|
4607
|
+
exports: [PrintToolComponent]
|
|
4610
4608
|
}]
|
|
4611
4609
|
}] });
|
|
4612
4610
|
|
|
4611
|
+
const INTEGRATION_MAP_DIRECTIVES = [
|
|
4612
|
+
AdvancedMapToolComponent,
|
|
4613
|
+
MapProximityToolComponent,
|
|
4614
|
+
MapToolComponent,
|
|
4615
|
+
MapToolsComponent,
|
|
4616
|
+
MapDetailsToolComponent,
|
|
4617
|
+
MapLegendToolComponent
|
|
4618
|
+
];
|
|
4619
|
+
|
|
4613
4620
|
/**
|
|
4614
4621
|
* Service that holds the state of the search module
|
|
4615
4622
|
*/
|
|
@@ -4673,11 +4680,13 @@ class SearchState {
|
|
|
4673
4680
|
const wksSource = this.searchSourceService
|
|
4674
4681
|
.getSources()
|
|
4675
4682
|
.find((source) => source.getId() === 'workspace');
|
|
4676
|
-
|
|
4677
|
-
|
|
4678
|
-
fw
|
|
4679
|
-
|
|
4680
|
-
|
|
4683
|
+
if (wksSource) {
|
|
4684
|
+
this.workspaceState.store.entities$.subscribe((e) => {
|
|
4685
|
+
const searchableWks = e.filter((fw) => fw instanceof FeatureWorkspace &&
|
|
4686
|
+
fw.layer.options.workspace.searchIndexEnabled);
|
|
4687
|
+
this.searchSourceService.setWorkspaces(wksSource, searchableWks);
|
|
4688
|
+
});
|
|
4689
|
+
}
|
|
4681
4690
|
this.monitorLayerDeletion();
|
|
4682
4691
|
}
|
|
4683
4692
|
monitorLayerDeletion() {
|
|
@@ -4742,15 +4751,12 @@ class SearchState {
|
|
|
4742
4751
|
this.storageService.set('searchResultsGeometryEnabled', value);
|
|
4743
4752
|
this.searchResultsGeometryEnabled$.next(value);
|
|
4744
4753
|
}
|
|
4745
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4746
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4754
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: SearchState, deps: [{ token: i1$1.SearchSourceService }, { token: i4.StorageService }, { token: WorkspaceState }, { token: i5.ConfigService }, { token: MapState }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4755
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: SearchState });
|
|
4747
4756
|
}
|
|
4748
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4749
|
-
type: Injectable
|
|
4750
|
-
|
|
4751
|
-
providedIn: 'root'
|
|
4752
|
-
}]
|
|
4753
|
-
}], ctorParameters: function () { return [{ type: i1.SearchSourceService }, { type: i2.StorageService }, { type: WorkspaceState }, { type: i2.ConfigService }, { type: MapState }]; } });
|
|
4757
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: SearchState, decorators: [{
|
|
4758
|
+
type: Injectable
|
|
4759
|
+
}], ctorParameters: () => [{ type: i1$1.SearchSourceService }, { type: i4.StorageService }, { type: WorkspaceState }, { type: i5.ConfigService }, { type: MapState }] });
|
|
4754
4760
|
|
|
4755
4761
|
class SearchBarBindingDirective {
|
|
4756
4762
|
component;
|
|
@@ -4798,17 +4804,18 @@ class SearchBarBindingDirective {
|
|
|
4798
4804
|
this.searchState.setSearchType(searchType);
|
|
4799
4805
|
}
|
|
4800
4806
|
}
|
|
4801
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4802
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
4807
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: SearchBarBindingDirective, deps: [{ token: i1$1.SearchBarComponent, self: true }, { token: SearchState }], target: i0.ɵɵFactoryTarget.Directive });
|
|
4808
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.9", type: SearchBarBindingDirective, isStandalone: true, selector: "[igoSearchBarBinding]", host: { listeners: { "searchTermChange": "onSearchTermChange($event)", "searchTypeChange": "onSearchTypeChange($event)" } }, ngImport: i0 });
|
|
4803
4809
|
}
|
|
4804
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4810
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: SearchBarBindingDirective, decorators: [{
|
|
4805
4811
|
type: Directive,
|
|
4806
4812
|
args: [{
|
|
4807
|
-
selector: '[igoSearchBarBinding]'
|
|
4813
|
+
selector: '[igoSearchBarBinding]',
|
|
4814
|
+
standalone: true
|
|
4808
4815
|
}]
|
|
4809
|
-
}], ctorParameters:
|
|
4816
|
+
}], ctorParameters: () => [{ type: i1$1.SearchBarComponent, decorators: [{
|
|
4810
4817
|
type: Self
|
|
4811
|
-
}] }, { type: SearchState }]
|
|
4818
|
+
}] }, { type: SearchState }], propDecorators: { onSearchTermChange: [{
|
|
4812
4819
|
type: HostListener,
|
|
4813
4820
|
args: ['searchTermChange', ['$event']]
|
|
4814
4821
|
}], onSearchTypeChange: [{
|
|
@@ -4816,23 +4823,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
4816
4823
|
args: ['searchTypeChange', ['$event']]
|
|
4817
4824
|
}] } });
|
|
4818
4825
|
|
|
4819
|
-
/**
|
|
4820
|
-
* @ignore
|
|
4821
|
-
*/
|
|
4822
|
-
class IgoAppSearchBarModule {
|
|
4823
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IgoAppSearchBarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4824
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: IgoAppSearchBarModule, declarations: [SearchBarBindingDirective], imports: [IgoSearchModule], exports: [SearchBarBindingDirective] });
|
|
4825
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IgoAppSearchBarModule, imports: [IgoSearchModule] });
|
|
4826
|
-
}
|
|
4827
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IgoAppSearchBarModule, decorators: [{
|
|
4828
|
-
type: NgModule,
|
|
4829
|
-
args: [{
|
|
4830
|
-
imports: [IgoSearchModule],
|
|
4831
|
-
declarations: [SearchBarBindingDirective],
|
|
4832
|
-
exports: [SearchBarBindingDirective]
|
|
4833
|
-
}]
|
|
4834
|
-
}] });
|
|
4835
|
-
|
|
4836
4826
|
/**
|
|
4837
4827
|
* Tool to browse the search results
|
|
4838
4828
|
*/
|
|
@@ -5311,14 +5301,14 @@ let SearchResultsToolComponent = class SearchResultsToolComponent {
|
|
|
5311
5301
|
});
|
|
5312
5302
|
}, 250);
|
|
5313
5303
|
}
|
|
5314
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5315
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
5304
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: SearchResultsToolComponent, deps: [{ token: MapState }, { token: SearchState }, { token: i0.ElementRef }, { token: ToolState }, { token: DirectionState }, { token: i5.ConfigService }], target: i0.ɵɵFactoryTarget.Component });
|
|
5305
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.9", type: SearchResultsToolComponent, isStandalone: true, selector: "igo-search-results-tool", inputs: { showIcons: "showIcons", topPanelStateDefault: "topPanelStateDefault", topPanelState: "topPanelState" }, ngImport: i0, template: "<div\n *ngIf=\"(!store || store.stateView.empty) && (debouncedEmpty$ | async)\"\n style=\"margin: 10px\"\n>\n <section class=\"mat-typography\">\n <h4>\n <strong>{{\n 'igo.integration.searchResultsTool.noResults' | translate\n }}</strong>\n </h4>\n <p>\n <strong>{{\n 'igo.integration.searchResultsTool.doSearch' | translate\n }}</strong>\n </p>\n <div\n [innerHTML]=\"\n 'igo.integration.searchResultsTool.examples' | translate | sanitizeHtml\n \"\n ></div>\n </section>\n</div>\n\n<igo-flexible\n *ngIf=\"(debouncedEmpty$ | async) === false\"\n #topPanel\n initial=\"100%\"\n initialMobile=\"100%\"\n collapsed=\"calc(100% - 58px)\"\n collapsedMobile=\"calc(100% - 58px)\"\n expanded=\"60%\"\n expandedMobile=\"60%\"\n [state]=\"(feature$ | async) ? topPanelState : 'initial'\"\n>\n <div class=\"igo-content\">\n <igo-search-results\n [store]=\"store\"\n [showIcons]=\"showIcons\"\n [term]=\"term\"\n [termSplitter]=\"termSplitter\"\n [settingsChange$]=\"settingsChange$\"\n placeholder=\"false\"\n (resultFocus)=\"onResultFocus($event)\"\n (resultSelect)=\"onResultSelect($event)\"\n (resultUnfocus)=\"onResultUnfocus($event)\"\n (resultMouseenter)=\"onResultFocus($event)\"\n (resultMouseleave)=\"onResultUnfocus($event)\"\n (moreResults)=\"onSearch($event)\"\n [map]=\"map\"\n >\n <ng-template #igoSearchItemToolbar let-result=\"result\">\n <igo-search-add-button\n [map]=\"map\"\n [store]=\"store\"\n [stores]=\"stores\"\n [layer]=\"result\"\n [saveSearchResultInLayer]=\"saveSearchResultInLayer\"\n >\n </igo-search-add-button>\n </ng-template>\n </igo-search-results>\n </div>\n\n <div igoFlexibleFill class=\"igo-content\">\n <igo-panel\n [title]=\"featureTitle\"\n *ngIf=\"feature$ | async\"\n (click)=\"toggleTopPanel($event)\"\n [cursorPointer]=\"true\"\n >\n <button\n mat-icon-button\n panelLeftButton\n class=\"igo-icon-button\"\n (click)=\"toggleTopPanel()\"\n >\n <mat-icon>{{\n (topPanelState$ | async) === 'collapsed'\n ? 'arrow_upward'\n : 'arrow_downward'\n }}</mat-icon>\n </button>\n\n <button\n *ngIf=\"feature.geometry\"\n mat-icon-button\n panelRightButton\n class=\"igo-icon-button\"\n [matTooltip]=\"\n ((isSelectedResultOutOfView$ | async)\n ? 'igo.integration.searchResultsTool.zoomOnFeatureTooltipOutOfView'\n : 'igo.integration.searchResultsTool.zoomOnFeatureTooltip'\n ) | translate\n \"\n matTooltipShowDelay=\"500\"\n (click)=\"zoomToFeatureExtent()\"\n >\n <mat-icon\n aria-hidden=\"false\"\n [matBadge]=\"(isSelectedResultOutOfView$ | async) ? '!' : ''\"\n matBadgeColor=\"accent\"\n matBadgeSize=\"small\"\n [matBadgeHidden]=\"(isSelectedResultOutOfView$ | async) === false\"\n >zoom_in</mat-icon\n >\n </button>\n\n <igo-feature-details\n igoFeatureDetailsDirective\n [feature]=\"feature$ | async\"\n [map]=\"map\"\n [toolbox]=\"toolState.toolbox\"\n (routingEvent)=\"getRoute()\"\n >\n </igo-feature-details>\n </igo-panel>\n </div>\n</igo-flexible>\n", dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: FlexibleComponent, selector: "igo-flexible", inputs: ["initial", "collapsed", "expanded", "initialMobile", "collapsedMobile", "expandedMobile", "direction", "state"] }, { kind: "component", type: SearchResultsComponent, selector: "igo-search-results", inputs: ["map", "store", "showIcons", "mode", "withZoomButton", "tabsMode", "term", "settingsChange$", "termSplitter"], outputs: ["resultFocus", "resultUnfocus", "resultSelect", "moreResults", "resultMouseenter", "resultMouseleave"] }, { kind: "component", type: SearchResultAddButtonComponent, selector: "igo-search-add-button", inputs: ["layer", "store", "added", "map", "saveSearchResultInLayer", "color", "stores"] }, { kind: "component", type: PanelComponent, selector: "igo-panel", inputs: ["title", "withHeader", "cursorPointer"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i7.MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatTooltipModule }, { kind: "directive", type: i6.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "ngmodule", type: MatBadgeModule }, { kind: "directive", type: i9$1.MatBadge, selector: "[matBadge]", inputs: ["matBadgeColor", "matBadgeOverlap", "matBadgeDisabled", "matBadgePosition", "matBadge", "matBadgeDescription", "matBadgeSize", "matBadgeHidden"] }, { kind: "component", type: FeatureDetailsComponent, selector: "igo-feature-details", inputs: ["source", "map", "toolbox", "feature"], outputs: ["routeEvent", "selectFeature", "htmlDisplayEvent"] }, { kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "ngmodule", type: IgoLanguageModule }, { kind: "pipe", type: i6$1.TranslatePipe, name: "translate" }, { kind: "pipe", type: SanitizeHtmlPipe, name: "sanitizeHtml" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
5316
5306
|
};
|
|
5317
5307
|
SearchResultsToolComponent = __decorate([
|
|
5318
5308
|
ToolComponent({
|
|
5319
5309
|
name: 'searchResults',
|
|
5320
5310
|
title: 'igo.integration.tools.searchResults',
|
|
5321
|
-
icon: '
|
|
5311
|
+
icon: 'search'
|
|
5322
5312
|
}),
|
|
5323
5313
|
__metadata("design:paramtypes", [MapState,
|
|
5324
5314
|
SearchState,
|
|
@@ -5327,10 +5317,24 @@ SearchResultsToolComponent = __decorate([
|
|
|
5327
5317
|
DirectionState,
|
|
5328
5318
|
ConfigService])
|
|
5329
5319
|
], SearchResultsToolComponent);
|
|
5330
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5320
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: SearchResultsToolComponent, decorators: [{
|
|
5331
5321
|
type: Component,
|
|
5332
|
-
args: [{ selector: 'igo-search-results-tool', changeDetection: ChangeDetectionStrategy.OnPush,
|
|
5333
|
-
|
|
5322
|
+
args: [{ selector: 'igo-search-results-tool', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [
|
|
5323
|
+
NgIf,
|
|
5324
|
+
FlexibleComponent,
|
|
5325
|
+
SearchResultsComponent,
|
|
5326
|
+
SearchResultAddButtonComponent,
|
|
5327
|
+
PanelComponent,
|
|
5328
|
+
MatButtonModule,
|
|
5329
|
+
MatIconModule,
|
|
5330
|
+
MatTooltipModule,
|
|
5331
|
+
MatBadgeModule,
|
|
5332
|
+
FeatureDetailsComponent,
|
|
5333
|
+
AsyncPipe,
|
|
5334
|
+
IgoLanguageModule,
|
|
5335
|
+
SanitizeHtmlPipe
|
|
5336
|
+
], template: "<div\n *ngIf=\"(!store || store.stateView.empty) && (debouncedEmpty$ | async)\"\n style=\"margin: 10px\"\n>\n <section class=\"mat-typography\">\n <h4>\n <strong>{{\n 'igo.integration.searchResultsTool.noResults' | translate\n }}</strong>\n </h4>\n <p>\n <strong>{{\n 'igo.integration.searchResultsTool.doSearch' | translate\n }}</strong>\n </p>\n <div\n [innerHTML]=\"\n 'igo.integration.searchResultsTool.examples' | translate | sanitizeHtml\n \"\n ></div>\n </section>\n</div>\n\n<igo-flexible\n *ngIf=\"(debouncedEmpty$ | async) === false\"\n #topPanel\n initial=\"100%\"\n initialMobile=\"100%\"\n collapsed=\"calc(100% - 58px)\"\n collapsedMobile=\"calc(100% - 58px)\"\n expanded=\"60%\"\n expandedMobile=\"60%\"\n [state]=\"(feature$ | async) ? topPanelState : 'initial'\"\n>\n <div class=\"igo-content\">\n <igo-search-results\n [store]=\"store\"\n [showIcons]=\"showIcons\"\n [term]=\"term\"\n [termSplitter]=\"termSplitter\"\n [settingsChange$]=\"settingsChange$\"\n placeholder=\"false\"\n (resultFocus)=\"onResultFocus($event)\"\n (resultSelect)=\"onResultSelect($event)\"\n (resultUnfocus)=\"onResultUnfocus($event)\"\n (resultMouseenter)=\"onResultFocus($event)\"\n (resultMouseleave)=\"onResultUnfocus($event)\"\n (moreResults)=\"onSearch($event)\"\n [map]=\"map\"\n >\n <ng-template #igoSearchItemToolbar let-result=\"result\">\n <igo-search-add-button\n [map]=\"map\"\n [store]=\"store\"\n [stores]=\"stores\"\n [layer]=\"result\"\n [saveSearchResultInLayer]=\"saveSearchResultInLayer\"\n >\n </igo-search-add-button>\n </ng-template>\n </igo-search-results>\n </div>\n\n <div igoFlexibleFill class=\"igo-content\">\n <igo-panel\n [title]=\"featureTitle\"\n *ngIf=\"feature$ | async\"\n (click)=\"toggleTopPanel($event)\"\n [cursorPointer]=\"true\"\n >\n <button\n mat-icon-button\n panelLeftButton\n class=\"igo-icon-button\"\n (click)=\"toggleTopPanel()\"\n >\n <mat-icon>{{\n (topPanelState$ | async) === 'collapsed'\n ? 'arrow_upward'\n : 'arrow_downward'\n }}</mat-icon>\n </button>\n\n <button\n *ngIf=\"feature.geometry\"\n mat-icon-button\n panelRightButton\n class=\"igo-icon-button\"\n [matTooltip]=\"\n ((isSelectedResultOutOfView$ | async)\n ? 'igo.integration.searchResultsTool.zoomOnFeatureTooltipOutOfView'\n : 'igo.integration.searchResultsTool.zoomOnFeatureTooltip'\n ) | translate\n \"\n matTooltipShowDelay=\"500\"\n (click)=\"zoomToFeatureExtent()\"\n >\n <mat-icon\n aria-hidden=\"false\"\n [matBadge]=\"(isSelectedResultOutOfView$ | async) ? '!' : ''\"\n matBadgeColor=\"accent\"\n matBadgeSize=\"small\"\n [matBadgeHidden]=\"(isSelectedResultOutOfView$ | async) === false\"\n >zoom_in</mat-icon\n >\n </button>\n\n <igo-feature-details\n igoFeatureDetailsDirective\n [feature]=\"feature$ | async\"\n [map]=\"map\"\n [toolbox]=\"toolState.toolbox\"\n (routingEvent)=\"getRoute()\"\n >\n </igo-feature-details>\n </igo-panel>\n </div>\n</igo-flexible>\n" }]
|
|
5337
|
+
}], ctorParameters: () => [{ type: MapState }, { type: SearchState }, { type: i0.ElementRef }, { type: ToolState }, { type: DirectionState }, { type: i5.ConfigService }], propDecorators: { showIcons: [{
|
|
5334
5338
|
type: Input
|
|
5335
5339
|
}], topPanelStateDefault: [{
|
|
5336
5340
|
type: Input
|
|
@@ -5339,91 +5343,43 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
5339
5343
|
}] } });
|
|
5340
5344
|
|
|
5341
5345
|
/**
|
|
5342
|
-
* @
|
|
5346
|
+
* @deprecated import the components/directive directly or INTEGRATION_SEARCH_DIRECTIVES for the set
|
|
5343
5347
|
*/
|
|
5344
|
-
class IgoAppSearchResultsToolModule {
|
|
5345
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IgoAppSearchResultsToolModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5346
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: IgoAppSearchResultsToolModule, declarations: [SearchResultsToolComponent], imports: [CommonModule,
|
|
5347
|
-
MatIconModule,
|
|
5348
|
-
MatBadgeModule,
|
|
5349
|
-
MatTooltipModule,
|
|
5350
|
-
MatButtonModule,
|
|
5351
|
-
IgoLanguageModule,
|
|
5352
|
-
IgoFeatureModule,
|
|
5353
|
-
IgoSearchModule,
|
|
5354
|
-
IgoFlexibleModule,
|
|
5355
|
-
IgoPanelModule,
|
|
5356
|
-
IgoFeatureDetailsModule,
|
|
5357
|
-
IgoCustomHtmlModule], exports: [SearchResultsToolComponent] });
|
|
5358
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IgoAppSearchResultsToolModule, imports: [CommonModule,
|
|
5359
|
-
MatIconModule,
|
|
5360
|
-
MatBadgeModule,
|
|
5361
|
-
MatTooltipModule,
|
|
5362
|
-
MatButtonModule,
|
|
5363
|
-
IgoLanguageModule,
|
|
5364
|
-
IgoFeatureModule,
|
|
5365
|
-
IgoSearchModule,
|
|
5366
|
-
IgoFlexibleModule,
|
|
5367
|
-
IgoPanelModule,
|
|
5368
|
-
IgoFeatureDetailsModule,
|
|
5369
|
-
IgoCustomHtmlModule] });
|
|
5370
|
-
}
|
|
5371
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IgoAppSearchResultsToolModule, decorators: [{
|
|
5372
|
-
type: NgModule,
|
|
5373
|
-
args: [{
|
|
5374
|
-
imports: [
|
|
5375
|
-
CommonModule,
|
|
5376
|
-
MatIconModule,
|
|
5377
|
-
MatBadgeModule,
|
|
5378
|
-
MatTooltipModule,
|
|
5379
|
-
MatButtonModule,
|
|
5380
|
-
IgoLanguageModule,
|
|
5381
|
-
IgoFeatureModule,
|
|
5382
|
-
IgoSearchModule,
|
|
5383
|
-
IgoFlexibleModule,
|
|
5384
|
-
IgoPanelModule,
|
|
5385
|
-
IgoFeatureDetailsModule,
|
|
5386
|
-
IgoCustomHtmlModule
|
|
5387
|
-
],
|
|
5388
|
-
declarations: [SearchResultsToolComponent],
|
|
5389
|
-
exports: [SearchResultsToolComponent],
|
|
5390
|
-
schemas: [CUSTOM_ELEMENTS_SCHEMA]
|
|
5391
|
-
}]
|
|
5392
|
-
}] });
|
|
5393
|
-
|
|
5394
5348
|
class IgoAppSearchModule {
|
|
5395
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5396
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
5397
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
5349
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: IgoAppSearchModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5350
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.9", ngImport: i0, type: IgoAppSearchModule, imports: [SearchBarBindingDirective, SearchResultsToolComponent], exports: [SearchBarBindingDirective, SearchResultsToolComponent] });
|
|
5351
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: IgoAppSearchModule, imports: [SearchResultsToolComponent] });
|
|
5398
5352
|
}
|
|
5399
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5353
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: IgoAppSearchModule, decorators: [{
|
|
5400
5354
|
type: NgModule,
|
|
5401
5355
|
args: [{
|
|
5402
|
-
imports: [],
|
|
5403
|
-
|
|
5404
|
-
exports: [IgoAppSearchBarModule, IgoAppSearchResultsToolModule]
|
|
5356
|
+
imports: [SearchBarBindingDirective, SearchResultsToolComponent],
|
|
5357
|
+
exports: [SearchBarBindingDirective, SearchResultsToolComponent]
|
|
5405
5358
|
}]
|
|
5406
5359
|
}] });
|
|
5407
5360
|
|
|
5408
|
-
|
|
5409
|
-
|
|
5410
|
-
|
|
5411
|
-
|
|
5361
|
+
/**
|
|
5362
|
+
* @deprecated import the WorkspaceButtonComponent directly
|
|
5363
|
+
*/
|
|
5364
|
+
class IgoAppWorkspaceModule {
|
|
5365
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: IgoAppWorkspaceModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5366
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.9", ngImport: i0, type: IgoAppWorkspaceModule, imports: [WorkspaceButtonComponent], exports: [WorkspaceButtonComponent] });
|
|
5367
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: IgoAppWorkspaceModule, imports: [WorkspaceButtonComponent] });
|
|
5412
5368
|
}
|
|
5413
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5369
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: IgoAppWorkspaceModule, decorators: [{
|
|
5414
5370
|
type: NgModule,
|
|
5415
5371
|
args: [{
|
|
5416
|
-
imports: [],
|
|
5417
|
-
|
|
5418
|
-
exports: []
|
|
5372
|
+
imports: [WorkspaceButtonComponent],
|
|
5373
|
+
exports: [WorkspaceButtonComponent]
|
|
5419
5374
|
}]
|
|
5420
5375
|
}] });
|
|
5421
5376
|
|
|
5377
|
+
/**
|
|
5378
|
+
* @deprecated import the components directly
|
|
5379
|
+
*/
|
|
5422
5380
|
class IgoIntegrationModule {
|
|
5423
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5424
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
5425
|
-
IgoAppAnalyticsModule,
|
|
5426
|
-
IgoAppContextModule,
|
|
5381
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: IgoIntegrationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5382
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.9", ngImport: i0, type: IgoIntegrationModule, exports: [IgoAppContextModule,
|
|
5427
5383
|
IgoAppCatalogModule,
|
|
5428
5384
|
IgoAppDirectionsModule,
|
|
5429
5385
|
IgoAppDrawModule,
|
|
@@ -5436,9 +5392,7 @@ class IgoIntegrationModule {
|
|
|
5436
5392
|
IgoAppFilterModule,
|
|
5437
5393
|
IgoAppAboutModule,
|
|
5438
5394
|
IgoAppGeometryFormModule] });
|
|
5439
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
5440
|
-
IgoAppAnalyticsModule,
|
|
5441
|
-
IgoAppContextModule,
|
|
5395
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: IgoIntegrationModule, imports: [IgoAppContextModule,
|
|
5442
5396
|
IgoAppCatalogModule,
|
|
5443
5397
|
IgoAppDirectionsModule,
|
|
5444
5398
|
IgoAppDrawModule,
|
|
@@ -5452,14 +5406,12 @@ class IgoIntegrationModule {
|
|
|
5452
5406
|
IgoAppAboutModule,
|
|
5453
5407
|
IgoAppGeometryFormModule] });
|
|
5454
5408
|
}
|
|
5455
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5409
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: IgoIntegrationModule, decorators: [{
|
|
5456
5410
|
type: NgModule,
|
|
5457
5411
|
args: [{
|
|
5458
5412
|
imports: [],
|
|
5459
5413
|
declarations: [],
|
|
5460
5414
|
exports: [
|
|
5461
|
-
IgoAppStorageModule,
|
|
5462
|
-
IgoAppAnalyticsModule,
|
|
5463
5415
|
IgoAppContextModule,
|
|
5464
5416
|
IgoAppCatalogModule,
|
|
5465
5417
|
IgoAppDirectionsModule,
|
|
@@ -5477,20 +5429,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
5477
5429
|
}]
|
|
5478
5430
|
}] });
|
|
5479
5431
|
|
|
5480
|
-
class IgoAppToolModule {
|
|
5481
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IgoAppToolModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5482
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: IgoAppToolModule });
|
|
5483
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IgoAppToolModule });
|
|
5484
|
-
}
|
|
5485
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IgoAppToolModule, decorators: [{
|
|
5486
|
-
type: NgModule,
|
|
5487
|
-
args: [{
|
|
5488
|
-
imports: [],
|
|
5489
|
-
declarations: [],
|
|
5490
|
-
exports: []
|
|
5491
|
-
}]
|
|
5492
|
-
}] });
|
|
5493
|
-
|
|
5494
5432
|
/**
|
|
5495
5433
|
* Service that holds the state of the search module
|
|
5496
5434
|
*/
|
|
@@ -5498,17 +5436,15 @@ class AnalyticsListenerService {
|
|
|
5498
5436
|
analyticsService;
|
|
5499
5437
|
authService;
|
|
5500
5438
|
contextState;
|
|
5501
|
-
searchState;
|
|
5502
5439
|
toolState;
|
|
5503
5440
|
mapState;
|
|
5504
5441
|
/**
|
|
5505
5442
|
* Toolbox that holds main tools
|
|
5506
5443
|
*/
|
|
5507
|
-
constructor(analyticsService, authService, contextState,
|
|
5444
|
+
constructor(analyticsService, authService, contextState, toolState, mapState) {
|
|
5508
5445
|
this.analyticsService = analyticsService;
|
|
5509
5446
|
this.authService = authService;
|
|
5510
5447
|
this.contextState = contextState;
|
|
5511
|
-
this.searchState = searchState;
|
|
5512
5448
|
this.toolState = toolState;
|
|
5513
5449
|
this.mapState = mapState;
|
|
5514
5450
|
}
|
|
@@ -5516,7 +5452,6 @@ class AnalyticsListenerService {
|
|
|
5516
5452
|
this.listenUser();
|
|
5517
5453
|
this.listenContext();
|
|
5518
5454
|
this.listenTool();
|
|
5519
|
-
this.listenSearch();
|
|
5520
5455
|
this.listenLayer();
|
|
5521
5456
|
}
|
|
5522
5457
|
listenUser() {
|
|
@@ -5546,15 +5481,6 @@ class AnalyticsListenerService {
|
|
|
5546
5481
|
}
|
|
5547
5482
|
});
|
|
5548
5483
|
}
|
|
5549
|
-
listenSearch() {
|
|
5550
|
-
this.searchState.searchTerm$
|
|
5551
|
-
.pipe(skip(1))
|
|
5552
|
-
.subscribe((searchTerm) => {
|
|
5553
|
-
if (searchTerm !== undefined && searchTerm !== null) {
|
|
5554
|
-
this.analyticsService.trackSearch(searchTerm, this.searchState.store.count);
|
|
5555
|
-
}
|
|
5556
|
-
});
|
|
5557
|
-
}
|
|
5558
5484
|
/**
|
|
5559
5485
|
* Listener for adding layers to the map
|
|
5560
5486
|
*/
|
|
@@ -5622,15 +5548,23 @@ class AnalyticsListenerService {
|
|
|
5622
5548
|
});
|
|
5623
5549
|
});
|
|
5624
5550
|
}
|
|
5625
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5626
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5551
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: AnalyticsListenerService, deps: [{ token: i1$4.AnalyticsService }, { token: i2.AuthService }, { token: ContextState }, { token: ToolState }, { token: MapState }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5552
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: AnalyticsListenerService, providedIn: 'root' });
|
|
5627
5553
|
}
|
|
5628
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5554
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: AnalyticsListenerService, decorators: [{
|
|
5629
5555
|
type: Injectable,
|
|
5630
5556
|
args: [{
|
|
5631
5557
|
providedIn: 'root'
|
|
5632
5558
|
}]
|
|
5633
|
-
}], ctorParameters:
|
|
5559
|
+
}], ctorParameters: () => [{ type: i1$4.AnalyticsService }, { type: i2.AuthService }, { type: ContextState }, { type: ToolState }, { type: MapState }] });
|
|
5560
|
+
|
|
5561
|
+
const INTEGRATION_FILTER_DIRECTIVES = [
|
|
5562
|
+
OgcFilterToolComponent,
|
|
5563
|
+
ActiveOgcFilterToolComponent,
|
|
5564
|
+
TimeFilterToolComponent,
|
|
5565
|
+
ActiveTimeFilterToolComponent,
|
|
5566
|
+
SpatialFilterToolComponent
|
|
5567
|
+
];
|
|
5634
5568
|
|
|
5635
5569
|
/**
|
|
5636
5570
|
* Service that holds the state of the query module
|
|
@@ -5661,15 +5595,47 @@ class QueryState {
|
|
|
5661
5595
|
const geoPropertiesStrategy = new GeoPropertiesStrategy({ map: this.mapState.map }, this.propertyTypeDetectorService, this.capabilitiesService);
|
|
5662
5596
|
this.store.addStrategy(geoPropertiesStrategy, true);
|
|
5663
5597
|
}
|
|
5664
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5665
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5598
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: QueryState, deps: [{ token: i5.ConfigService }, { token: i1$1.PropertyTypeDetectorService }, { token: i1$1.CapabilitiesService }, { token: MapState }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5599
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: QueryState, providedIn: 'root' });
|
|
5666
5600
|
}
|
|
5667
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5601
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: QueryState, decorators: [{
|
|
5668
5602
|
type: Injectable,
|
|
5669
5603
|
args: [{
|
|
5670
5604
|
providedIn: 'root'
|
|
5671
5605
|
}]
|
|
5672
|
-
}], ctorParameters:
|
|
5606
|
+
}], ctorParameters: () => [{ type: i5.ConfigService }, { type: i1$1.PropertyTypeDetectorService }, { type: i1$1.CapabilitiesService }, { type: MapState }] });
|
|
5607
|
+
|
|
5608
|
+
/**
|
|
5609
|
+
* @deprecated import the SearchResultsToolComponent directly
|
|
5610
|
+
*/
|
|
5611
|
+
class IgoAppSearchResultsToolModule {
|
|
5612
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: IgoAppSearchResultsToolModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5613
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.9", ngImport: i0, type: IgoAppSearchResultsToolModule, imports: [SearchResultsToolComponent], exports: [SearchResultsToolComponent] });
|
|
5614
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: IgoAppSearchResultsToolModule, imports: [SearchResultsToolComponent] });
|
|
5615
|
+
}
|
|
5616
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: IgoAppSearchResultsToolModule, decorators: [{
|
|
5617
|
+
type: NgModule,
|
|
5618
|
+
args: [{
|
|
5619
|
+
imports: [SearchResultsToolComponent],
|
|
5620
|
+
exports: [SearchResultsToolComponent]
|
|
5621
|
+
}]
|
|
5622
|
+
}] });
|
|
5623
|
+
|
|
5624
|
+
/**
|
|
5625
|
+
* @deprecated import the SearchBarBindingDirective directly
|
|
5626
|
+
*/
|
|
5627
|
+
class IgoAppSearchBarModule {
|
|
5628
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: IgoAppSearchBarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5629
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.9", ngImport: i0, type: IgoAppSearchBarModule, imports: [SearchBarBindingDirective], exports: [SearchBarBindingDirective] });
|
|
5630
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: IgoAppSearchBarModule });
|
|
5631
|
+
}
|
|
5632
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: IgoAppSearchBarModule, decorators: [{
|
|
5633
|
+
type: NgModule,
|
|
5634
|
+
args: [{
|
|
5635
|
+
imports: [SearchBarBindingDirective],
|
|
5636
|
+
exports: [SearchBarBindingDirective]
|
|
5637
|
+
}]
|
|
5638
|
+
}] });
|
|
5673
5639
|
|
|
5674
5640
|
/*
|
|
5675
5641
|
* Public API Surface of tools
|
|
@@ -5679,5 +5645,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
5679
5645
|
* Generated bundle index. Do not edit.
|
|
5680
5646
|
*/
|
|
5681
5647
|
|
|
5682
|
-
export { AboutToolComponent, ActiveOgcFilterToolComponent, ActiveTimeFilterToolComponent, AdvancedMapToolComponent, AnalyticsListenerService, CatalogBrowserToolComponent, CatalogLibraryToolComponent, CatalogState, ContextEditorToolComponent, ContextManagerToolComponent, ContextPermissionManagerToolComponent, ContextShareToolComponent, ContextState, DataIssueReporterToolComponent, DirectionState, DirectionsToolComponent, DrawState, DrawingToolComponent, FeatureActionsService,
|
|
5648
|
+
export { AboutToolComponent, ActiveOgcFilterToolComponent, ActiveTimeFilterToolComponent, AdvancedMapToolComponent, AnalyticsListenerService, CatalogBrowserToolComponent, CatalogLibraryToolComponent, CatalogState, ContextEditorToolComponent, ContextManagerToolComponent, ContextPermissionManagerToolComponent, ContextShareToolComponent, ContextState, DataIssueReporterToolComponent, DirectionState, DirectionsToolComponent, DrawState, DrawingToolComponent, FeatureActionsService, INTEGRATION_CONTEXT_DIRECTIVES, INTEGRATION_FILTER_DIRECTIVES, INTEGRATION_MAP_DIRECTIVES, IgoAppAboutModule, IgoAppCatalogBrowserToolModule, IgoAppCatalogLibraryToolModule, IgoAppCatalogModule, IgoAppContextModule, IgoAppDirectionsModule, IgoAppDrawModule, IgoAppDrawingToolModule, IgoAppFilterModule, IgoAppGeometryFormModule, IgoAppImportExportModule, IgoAppMapModule, IgoAppMeasureModule, IgoAppMeasurerToolModule, IgoAppPrintModule, IgoAppSearchBarModule, IgoAppSearchModule, IgoAppSearchResultsToolModule, 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 };
|
|
5683
5649
|
//# sourceMappingURL=igo2-integration.mjs.map
|