@igo2/integration 1.11.0 → 1.12.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/igo2-integration.umd.js +699 -193
- package/bundles/igo2-integration.umd.js.map +1 -1
- package/esm2015/lib/about/about-tool/about-tool.component.js +1 -1
- package/esm2015/lib/about/about-tool/index.js +1 -1
- package/esm2015/lib/about/about.module.js +1 -1
- package/esm2015/lib/about/index.js +1 -1
- package/esm2015/lib/analytics/analytics-listener.service.js +1 -1
- package/esm2015/lib/analytics/analytics.module.js +1 -1
- package/esm2015/lib/analytics/index.js +1 -1
- package/esm2015/lib/catalog/catalog-browser-tool/catalog-browser-tool.component.js +1 -1
- package/esm2015/lib/catalog/catalog-browser-tool/catalog-browser-tool.module.js +1 -1
- package/esm2015/lib/catalog/catalog-library-tool/catalog-library-tool.component.js +1 -1
- package/esm2015/lib/catalog/catalog-library-tool/catalog-library-tool.module.js +1 -1
- package/esm2015/lib/catalog/catalog.module.js +1 -1
- package/esm2015/lib/catalog/catalog.state.js +1 -1
- package/esm2015/lib/catalog/index.js +1 -1
- package/esm2015/lib/context/context-editor-tool/context-editor-tool.component.js +1 -1
- package/esm2015/lib/context/context-manager-tool/context-manager-tool.component.js +1 -1
- package/esm2015/lib/context/context-permission-manager-tool/context-permission-manager-tool.component.js +1 -1
- package/esm2015/lib/context/context-share-tool/context-share-tool.component.js +1 -1
- package/esm2015/lib/context/context.module.js +1 -1
- package/esm2015/lib/context/context.state.js +1 -1
- package/esm2015/lib/context/index.js +1 -1
- package/esm2015/lib/directions/directions-tool/directions-tool.component.js +1 -1
- package/esm2015/lib/directions/directions-tool/index.js +1 -1
- package/esm2015/lib/directions/directions.module.js +1 -1
- package/esm2015/lib/directions/directions.state.js +1 -1
- package/esm2015/lib/directions/index.js +1 -1
- package/esm2015/lib/draw/draw.module.js +1 -1
- package/esm2015/lib/draw/draw.state.js +1 -1
- package/esm2015/lib/draw/drawing-tool/drawing-tool.component.js +1 -1
- package/esm2015/lib/draw/index.js +1 -1
- package/esm2015/lib/filter/active-ogc-filter-tool/active-ogc-filter-tool.animation.js +1 -1
- package/esm2015/lib/filter/active-ogc-filter-tool/active-ogc-filter-tool.component.js +1 -1
- package/esm2015/lib/filter/active-ogc-filter-tool/index.js +1 -1
- package/esm2015/lib/filter/active-time-filter-tool/active-time-filter-tool.animation.js +1 -1
- package/esm2015/lib/filter/active-time-filter-tool/active-time-filter-tool.component.js +1 -1
- package/esm2015/lib/filter/active-time-filter-tool/index.js +1 -1
- package/esm2015/lib/filter/filter.module.js +1 -1
- package/esm2015/lib/filter/index.js +1 -1
- package/esm2015/lib/filter/ogc-filter-tool/index.js +1 -1
- package/esm2015/lib/filter/ogc-filter-tool/ogc-filter-tool.component.js +1 -1
- package/esm2015/lib/filter/spatial-filter-tool/index.js +1 -1
- package/esm2015/lib/filter/spatial-filter-tool/spatial-filter-tool.component.js +29 -28
- package/esm2015/lib/filter/time-filter-tool/index.js +1 -1
- package/esm2015/lib/filter/time-filter-tool/time-filter-tool.component.js +1 -1
- package/esm2015/lib/import-export/import-export-tool/import-export-tool.component.js +1 -1
- package/esm2015/lib/import-export/import-export-tool/index.js +1 -1
- package/esm2015/lib/import-export/import-export.module.js +1 -1
- package/esm2015/lib/import-export/import-export.state.js +1 -1
- package/esm2015/lib/import-export/index.js +1 -1
- package/esm2015/lib/integration.module.js +1 -1
- package/esm2015/lib/map/advanced-map-tool/advanced-coordinates/advanced-coordinates.component.js +1 -1
- package/esm2015/lib/map/advanced-map-tool/advanced-map-tool.component.js +60 -11
- package/esm2015/lib/map/advanced-map-tool/advanced-swipe/advanced-swipe.component.js +1 -1
- package/esm2015/lib/map/advanced-map-tool/index.js +1 -1
- package/esm2015/lib/map/index.js +3 -1
- package/esm2015/lib/map/layer-list-tool.state.js +1 -1
- package/esm2015/lib/map/map-details-tool/index.js +1 -1
- package/esm2015/lib/map/map-details-tool/map-details-tool.component.js +1 -1
- package/esm2015/lib/map/map-legend/index.js +1 -1
- package/esm2015/lib/map/map-legend/map-legend-tool.component.js +1 -1
- package/esm2015/lib/map/map-proximity-tool/index.js +2 -0
- package/esm2015/lib/map/map-proximity-tool/map-proximity-tool.component.js +221 -0
- package/esm2015/lib/map/map-proximity.state.js +164 -0
- package/esm2015/lib/map/map-tool/index.js +1 -1
- package/esm2015/lib/map/map-tool/map-tool.component.js +1 -1
- package/esm2015/lib/map/map-tools/index.js +1 -1
- package/esm2015/lib/map/map-tools/map-tools.component.js +2 -2
- package/esm2015/lib/map/map.module.js +18 -8
- package/esm2015/lib/map/map.state.js +9 -6
- package/esm2015/lib/measure/index.js +1 -1
- package/esm2015/lib/measure/measure.module.js +1 -1
- package/esm2015/lib/measure/measure.state.js +1 -1
- package/esm2015/lib/measure/measurer-tool/measurer-tool.component.js +1 -1
- package/esm2015/lib/measure/measurer-tool/measurer-tool.module.js +1 -1
- package/esm2015/lib/print/index.js +1 -1
- package/esm2015/lib/print/print-tool/index.js +1 -1
- package/esm2015/lib/print/print-tool/print-tool.component.js +1 -1
- package/esm2015/lib/print/print.module.js +1 -1
- package/esm2015/lib/search/index.js +1 -1
- package/esm2015/lib/search/query.state.js +1 -1
- package/esm2015/lib/search/search-bar/search-bar-binding.directive.js +1 -1
- package/esm2015/lib/search/search-bar/search-bar.module.js +1 -1
- package/esm2015/lib/search/search-results-tool/search-results-tool.component.js +52 -28
- package/esm2015/lib/search/search-results-tool/search-results-tool.module.js +1 -1
- package/esm2015/lib/search/search.module.js +1 -1
- package/esm2015/lib/search/search.state.js +1 -1
- package/esm2015/lib/storage/index.js +1 -1
- package/esm2015/lib/storage/storage.module.js +1 -1
- package/esm2015/lib/storage/storage.state.js +1 -1
- package/esm2015/lib/tool/index.js +1 -1
- package/esm2015/lib/tool/tool.module.js +1 -1
- package/esm2015/lib/tool/tool.state.js +1 -1
- package/esm2015/lib/workspace/index.js +1 -1
- package/esm2015/lib/workspace/shared/edition-actions.service.js +2 -2
- package/esm2015/lib/workspace/shared/feature-actions.service.js +1 -1
- package/esm2015/lib/workspace/shared/index.js +1 -1
- package/esm2015/lib/workspace/shared/wfs-actions.service.js +2 -2
- package/esm2015/lib/workspace/shared/workspace.utils.js +1 -1
- package/esm2015/lib/workspace/workspace-button/index.js +1 -1
- package/esm2015/lib/workspace/workspace-button/workspace-button.component.js +1 -1
- package/esm2015/lib/workspace/workspace.module.js +1 -1
- package/esm2015/lib/workspace/workspace.state.js +20 -2
- package/esm2015/public_api.js +1 -1
- package/fesm2015/igo2-integration.js +593 -135
- package/fesm2015/igo2-integration.js.map +1 -1
- package/lib/filter/spatial-filter-tool/spatial-filter-tool.component.d.ts +2 -0
- package/lib/map/advanced-map-tool/advanced-map-tool.component.d.ts +7 -0
- package/lib/map/index.d.ts +2 -0
- package/lib/map/map-proximity-tool/index.d.ts +1 -0
- package/lib/map/map-proximity-tool/map-proximity-tool.component.d.ts +36 -0
- package/lib/map/map-proximity.state.d.ts +28 -0
- package/lib/map/map.module.d.ts +30 -28
- package/lib/map/map.state.d.ts +5 -1
- package/lib/search/search-results-tool/search-results-tool.component.d.ts +7 -1
- package/lib/workspace/workspace.state.d.ts +4 -2
- package/ngcc.config.js +3 -3
- package/package.json +3 -3
|
@@ -4,24 +4,24 @@ import * as i1 from '@igo2/context';
|
|
|
4
4
|
import { IgoContextModule, IgoContextImportExportModule } from '@igo2/context';
|
|
5
5
|
import { __decorate } from 'tslib';
|
|
6
6
|
import * as i4 from '@igo2/common';
|
|
7
|
-
import { ToolComponent, EntityStore, EntityStoreFilterCustomFuncStrategy, EntityStoreFilterSelectionStrategy, WorkspaceStore, IgoSpinnerModule, getEntityTitle, FlexibleComponent, IgoFlexibleModule, IgoPanelModule, IgoCustomHtmlModule, IgoInteractiveTourModule } from '@igo2/common';
|
|
8
|
-
import { BehaviorSubject, Subject, combineLatest, ReplaySubject,
|
|
7
|
+
import { ToolComponent, EntityStore, EntityStoreFilterCustomFuncStrategy, EntityStoreFilterSelectionStrategy, WorkspaceStore, IgoSpinnerModule, IgoEntityTableModule, getEntityTitle, FlexibleComponent, IgoFlexibleModule, IgoPanelModule, IgoCustomHtmlModule, IgoInteractiveTourModule } from '@igo2/common';
|
|
8
|
+
import { BehaviorSubject, Subject, of, combineLatest, ReplaySubject, interval, forkJoin } from 'rxjs';
|
|
9
9
|
import * as i1$1 from '@igo2/geo';
|
|
10
|
-
import { IgoMap, IgoCatalogLibraryModule, IgoCatalogBrowserModule, StopsStore, StopsFeatureStore, RoutesFeatureStore, StepFeatureStore, IgoDirectionsModule, FeatureStore, IgoDrawingToolModule, FeatureStoreSelectionStrategy, FeatureMotion, mapExtentStrategyActiveToolTip, noElementSelected, OgcFilterWidget, WfsWorkspace, FeatureWorkspace, EditionWorkspace, IgoImportExportModule, LayerListControlsEnum, sourceCanSearch, VectorLayer, zoneMtm, zoneUtm, formatScale, computeProjectionsConstraints, IgoLayerModule, IgoMetadataModule, IgoDownloadModule, IgoFilterModule, IgoMeasurerModule, IgoPrintModule, IgoSearchModule,
|
|
11
|
-
import * as
|
|
10
|
+
import { IgoMap, IgoCatalogLibraryModule, IgoCatalogBrowserModule, StopsStore, StopsFeatureStore, RoutesFeatureStore, StepFeatureStore, IgoDirectionsModule, FeatureStore, IgoDrawingToolModule, FeatureStoreSelectionStrategy, FeatureMotion, mapExtentStrategyActiveToolTip, noElementSelected, OgcFilterWidget, WfsWorkspace, FeatureWorkspace, EditionWorkspace, IgoImportExportModule, LayerListControlsEnum, sourceCanSearch, VectorLayer, zoneMtm, zoneUtm, formatScale, computeProjectionsConstraints, roundCoordTo, featureFromOl, measureOlGeometryLength, FEATURE, IgoLayerModule, IgoMetadataModule, IgoDownloadModule, IgoFilterModule, IgoMeasurerModule, IgoPrintModule, IgoSearchModule, getCommonVectorStyle, featureToOl, computeOlFeaturesExtent, featuresAreOutOfView, featuresAreTooDeepInView, getCommonVectorSelectedStyle, moveToOlFeatures, IgoFeatureModule, IgoFeatureDetailsModule, SpatialFilterItemType, MeasureLengthUnit, SpatialFilterType, createOverlayMarkerStyle, IgoQueryModule } from '@igo2/geo';
|
|
11
|
+
import * as i2 from '@igo2/core';
|
|
12
|
+
import { StorageScope, StorageServiceEventEnum, IgoLanguageModule } from '@igo2/core';
|
|
13
|
+
import * as i5 from '@angular/common';
|
|
12
14
|
import { CommonModule } from '@angular/common';
|
|
13
15
|
import { take, skipWhile, map, debounceTime, takeUntil, tap, skip } from 'rxjs/operators';
|
|
14
|
-
import * as i2 from '@igo2/auth';
|
|
15
|
-
import * as i2$1 from '@igo2/core';
|
|
16
|
-
import { StorageScope, StorageServiceEventEnum, IgoLanguageModule } from '@igo2/core';
|
|
16
|
+
import * as i2$1 from '@igo2/auth';
|
|
17
17
|
import * as i3 from '@angular/material/button';
|
|
18
18
|
import { MatButtonModule } from '@angular/material/button';
|
|
19
|
-
import * as i4$
|
|
19
|
+
import * as i4$1 from '@angular/material/tooltip';
|
|
20
20
|
import { MatTooltipModule } from '@angular/material/tooltip';
|
|
21
21
|
import * as i6 from '@angular/material/icon';
|
|
22
22
|
import { MatIconModule } from '@angular/material/icon';
|
|
23
23
|
import * as i8 from '@ngx-translate/core';
|
|
24
|
-
import * as i5 from '@angular/material/tabs';
|
|
24
|
+
import * as i5$1 from '@angular/material/tabs';
|
|
25
25
|
import { MatTabsModule } from '@angular/material/tabs';
|
|
26
26
|
import { MatButtonToggleModule } from '@angular/material/button-toggle';
|
|
27
27
|
import * as i7 from '@angular/material/list';
|
|
@@ -40,14 +40,18 @@ import * as i7$1 from '@angular/material/select';
|
|
|
40
40
|
import { MatSelectModule } from '@angular/material/select';
|
|
41
41
|
import * as i9 from '@angular/material/divider';
|
|
42
42
|
import { MatDividerModule } from '@angular/material/divider';
|
|
43
|
-
import { Clipboard } from '@igo2/utils';
|
|
44
|
-
import * as
|
|
43
|
+
import { Clipboard, uuid, NumberUtils } from '@igo2/utils';
|
|
44
|
+
import * as olProj from 'ol/proj';
|
|
45
45
|
import * as i10$1 from '@angular/material/input';
|
|
46
46
|
import { MatInputModule } from '@angular/material/input';
|
|
47
47
|
import { MatCheckboxModule } from '@angular/material/checkbox';
|
|
48
|
+
import * as i7$2 from '@angular/material/radio';
|
|
49
|
+
import { MatRadioModule } from '@angular/material/radio';
|
|
50
|
+
import olFormatGeoJSON from 'ol/format/GeoJSON';
|
|
51
|
+
import olLayerVector from 'ol/layer/Vector';
|
|
52
|
+
import olLineString from 'ol/geom/LineString';
|
|
48
53
|
import * as i12 from '@angular/material/badge';
|
|
49
54
|
import { MatBadgeModule } from '@angular/material/badge';
|
|
50
|
-
import olFormatGeoJSON from 'ol/format/GeoJSON';
|
|
51
55
|
import olFeature from 'ol/Feature';
|
|
52
56
|
import olPoint from 'ol/geom/Point';
|
|
53
57
|
import pointOnFeature from '@turf/point-on-feature';
|
|
@@ -188,10 +192,12 @@ ContextEditorToolComponent = __decorate([
|
|
|
188
192
|
* Service that holds the state of the map module
|
|
189
193
|
*/
|
|
190
194
|
class MapState {
|
|
191
|
-
constructor(mapService, projectionService // Don't remove this or it'll never be injected
|
|
192
|
-
) {
|
|
195
|
+
constructor(mapService, projectionService, // Don't remove this or it'll never be injected,
|
|
196
|
+
storageService, configService) {
|
|
193
197
|
this.mapService = mapService;
|
|
194
198
|
this.projectionService = projectionService;
|
|
199
|
+
this.storageService = storageService;
|
|
200
|
+
this.configService = configService;
|
|
195
201
|
this._map = new IgoMap({
|
|
196
202
|
controls: {
|
|
197
203
|
scaleLine: true,
|
|
@@ -199,7 +205,7 @@ class MapState {
|
|
|
199
205
|
collapsed: true
|
|
200
206
|
}
|
|
201
207
|
}
|
|
202
|
-
});
|
|
208
|
+
}, this.storageService, this.configService);
|
|
203
209
|
this.mapService.setMap(this.map);
|
|
204
210
|
}
|
|
205
211
|
// public mapCenter$ = new BehaviorSubject<boolean>(false);
|
|
@@ -214,14 +220,14 @@ class MapState {
|
|
|
214
220
|
*/
|
|
215
221
|
get map() { return this._map; }
|
|
216
222
|
}
|
|
217
|
-
MapState.ɵfac = function MapState_Factory(t) { return new (t || MapState)(i0.ɵɵinject(i1$1.MapService), i0.ɵɵinject(i1$1.ProjectionService)); };
|
|
223
|
+
MapState.ɵfac = function MapState_Factory(t) { return new (t || MapState)(i0.ɵɵinject(i1$1.MapService), i0.ɵɵinject(i1$1.ProjectionService), i0.ɵɵinject(i2.StorageService), i0.ɵɵinject(i2.ConfigService)); };
|
|
218
224
|
MapState.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: MapState, factory: MapState.ɵfac, providedIn: 'root' });
|
|
219
225
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MapState, [{
|
|
220
226
|
type: Injectable,
|
|
221
227
|
args: [{
|
|
222
228
|
providedIn: 'root'
|
|
223
229
|
}]
|
|
224
|
-
}], function () { return [{ type: i1$1.MapService }, { type: i1$1.ProjectionService }]; }, null); })();
|
|
230
|
+
}], function () { return [{ type: i1$1.MapService }, { type: i1$1.ProjectionService }, { type: i2.StorageService }, { type: i2.ConfigService }]; }, null); })();
|
|
225
231
|
|
|
226
232
|
let ContextManagerToolComponent = class ContextManagerToolComponent {
|
|
227
233
|
constructor(toolState, mapState) {
|
|
@@ -425,14 +431,14 @@ class CatalogState {
|
|
|
425
431
|
this.catalogItemsStores.clear();
|
|
426
432
|
}
|
|
427
433
|
}
|
|
428
|
-
CatalogState.ɵfac = function CatalogState_Factory(t) { return new (t || CatalogState)(i0.ɵɵinject(i2.AuthService)); };
|
|
434
|
+
CatalogState.ɵfac = function CatalogState_Factory(t) { return new (t || CatalogState)(i0.ɵɵinject(i2$1.AuthService)); };
|
|
429
435
|
CatalogState.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: CatalogState, factory: CatalogState.ɵfac, providedIn: 'root' });
|
|
430
436
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CatalogState, [{
|
|
431
437
|
type: Injectable,
|
|
432
438
|
args: [{
|
|
433
439
|
providedIn: 'root'
|
|
434
440
|
}]
|
|
435
|
-
}], function () { return [{ type: i2.AuthService }]; }, null); })();
|
|
441
|
+
}], function () { return [{ type: i2$1.AuthService }]; }, null); })();
|
|
436
442
|
|
|
437
443
|
/**
|
|
438
444
|
* Tool to browse the list of available catalogs.
|
|
@@ -489,7 +495,7 @@ let CatalogLibraryToolComponent = class CatalogLibraryToolComponent {
|
|
|
489
495
|
});
|
|
490
496
|
}
|
|
491
497
|
};
|
|
492
|
-
CatalogLibraryToolComponent.ɵfac = function CatalogLibraryToolComponent_Factory(t) { return new (t || CatalogLibraryToolComponent)(i0.ɵɵdirectiveInject(i1$1.CatalogService), i0.ɵɵdirectiveInject(CatalogState), i0.ɵɵdirectiveInject(ToolState), i0.ɵɵdirectiveInject(i2
|
|
498
|
+
CatalogLibraryToolComponent.ɵfac = function CatalogLibraryToolComponent_Factory(t) { return new (t || CatalogLibraryToolComponent)(i0.ɵɵdirectiveInject(i1$1.CatalogService), i0.ɵɵdirectiveInject(CatalogState), i0.ɵɵdirectiveInject(ToolState), i0.ɵɵdirectiveInject(i2.StorageService)); };
|
|
493
499
|
CatalogLibraryToolComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CatalogLibraryToolComponent, selectors: [["igo-catalog-library-tool"]], inputs: { addCatalogAllowed: "addCatalogAllowed", predefinedCatalogs: "predefinedCatalogs" }, decls: 1, vars: 3, consts: [[3, "predefinedCatalogs", "addCatalogAllowed", "store", "catalogSelectChange"]], template: function CatalogLibraryToolComponent_Template(rf, ctx) { if (rf & 1) {
|
|
494
500
|
i0.ɵɵelementStart(0, "igo-catalog-library", 0);
|
|
495
501
|
i0.ɵɵlistener("catalogSelectChange", function CatalogLibraryToolComponent_Template_igo_catalog_library_catalogSelectChange_0_listener($event) { return ctx.onCatalogSelectChange($event); });
|
|
@@ -511,7 +517,7 @@ CatalogLibraryToolComponent = __decorate([
|
|
|
511
517
|
templateUrl: './catalog-library-tool.component.html',
|
|
512
518
|
changeDetection: ChangeDetectionStrategy.OnPush
|
|
513
519
|
}]
|
|
514
|
-
}], function () { return [{ type: i1$1.CatalogService }, { type: CatalogState }, { type: ToolState }, { type: i2
|
|
520
|
+
}], function () { return [{ type: i1$1.CatalogService }, { type: CatalogState }, { type: ToolState }, { type: i2.StorageService }]; }, { addCatalogAllowed: [{
|
|
515
521
|
type: Input
|
|
516
522
|
}], predefinedCatalogs: [{
|
|
517
523
|
type: Input
|
|
@@ -622,13 +628,13 @@ let CatalogBrowserToolComponent = class CatalogBrowserToolComponent {
|
|
|
622
628
|
});
|
|
623
629
|
}
|
|
624
630
|
};
|
|
625
|
-
CatalogBrowserToolComponent.ɵfac = function CatalogBrowserToolComponent_Factory(t) { return new (t || CatalogBrowserToolComponent)(i0.ɵɵdirectiveInject(i1$1.CatalogService), i0.ɵɵdirectiveInject(CatalogState), i0.ɵɵdirectiveInject(MapState), i0.ɵɵdirectiveInject(i2.AuthService)); };
|
|
631
|
+
CatalogBrowserToolComponent.ɵfac = function CatalogBrowserToolComponent_Factory(t) { return new (t || CatalogBrowserToolComponent)(i0.ɵɵdirectiveInject(i1$1.CatalogService), i0.ɵɵdirectiveInject(CatalogState), i0.ɵɵdirectiveInject(MapState), i0.ɵɵdirectiveInject(i2$1.AuthService)); };
|
|
626
632
|
CatalogBrowserToolComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CatalogBrowserToolComponent, selectors: [["igo-catalog-browser-tool"]], inputs: { toggleCollapsedGroup: "toggleCollapsedGroup" }, decls: 2, vars: 3, consts: [[3, "catalog", "store", "map", "toggleCollapsedGroup", 4, "ngIf"], [3, "catalog", "store", "map", "toggleCollapsedGroup"]], template: function CatalogBrowserToolComponent_Template(rf, ctx) { if (rf & 1) {
|
|
627
633
|
i0.ɵɵtemplate(0, CatalogBrowserToolComponent_igo_catalog_browser_0_Template, 1, 4, "igo-catalog-browser", 0);
|
|
628
634
|
i0.ɵɵpipe(1, "async");
|
|
629
635
|
} if (rf & 2) {
|
|
630
636
|
i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(1, 1, ctx.store$));
|
|
631
|
-
} }, directives: [
|
|
637
|
+
} }, directives: [i5.NgIf, i1$1.CatalogBrowserComponent], pipes: [i5.AsyncPipe], encapsulation: 2, changeDetection: 0 });
|
|
632
638
|
CatalogBrowserToolComponent = __decorate([
|
|
633
639
|
ToolComponent({
|
|
634
640
|
name: 'catalogBrowser',
|
|
@@ -644,7 +650,7 @@ CatalogBrowserToolComponent = __decorate([
|
|
|
644
650
|
templateUrl: './catalog-browser-tool.component.html',
|
|
645
651
|
changeDetection: ChangeDetectionStrategy.OnPush
|
|
646
652
|
}]
|
|
647
|
-
}], function () { return [{ type: i1$1.CatalogService }, { type: CatalogState }, { type: MapState }, { type: i2.AuthService }]; }, { toggleCollapsedGroup: [{
|
|
653
|
+
}], function () { return [{ type: i1$1.CatalogService }, { type: CatalogState }, { type: MapState }, { type: i2$1.AuthService }]; }, { toggleCollapsedGroup: [{
|
|
648
654
|
type: Input
|
|
649
655
|
}] }); })();
|
|
650
656
|
|
|
@@ -827,14 +833,14 @@ class ContextState {
|
|
|
827
833
|
this.setContext(context);
|
|
828
834
|
}
|
|
829
835
|
}
|
|
830
|
-
ContextState.ɵfac = function ContextState_Factory(t) { return new (t || ContextState)(i0.ɵɵinject(i1.ContextService), i0.ɵɵinject(i4.ToolService), i0.ɵɵinject(ToolState), i0.ɵɵinject(i2
|
|
836
|
+
ContextState.ɵfac = function ContextState_Factory(t) { return new (t || ContextState)(i0.ɵɵinject(i1.ContextService), i0.ɵɵinject(i4.ToolService), i0.ɵɵinject(ToolState), i0.ɵɵinject(i2.LanguageService)); };
|
|
831
837
|
ContextState.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: ContextState, factory: ContextState.ɵfac, providedIn: 'root' });
|
|
832
838
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ContextState, [{
|
|
833
839
|
type: Injectable,
|
|
834
840
|
args: [{
|
|
835
841
|
providedIn: 'root'
|
|
836
842
|
}]
|
|
837
|
-
}], function () { return [{ type: i1.ContextService }, { type: i4.ToolService }, { type: ToolState }, { type: i2
|
|
843
|
+
}], function () { return [{ type: i1.ContextService }, { type: i4.ToolService }, { type: ToolState }, { type: i2.LanguageService }]; }, null); })();
|
|
838
844
|
|
|
839
845
|
let DirectionsToolComponent = class DirectionsToolComponent {
|
|
840
846
|
constructor(directionState, mapState, languageService, messageService, storageService, contextState, authService) {
|
|
@@ -893,7 +899,7 @@ let DirectionsToolComponent = class DirectionsToolComponent {
|
|
|
893
899
|
});
|
|
894
900
|
}
|
|
895
901
|
};
|
|
896
|
-
DirectionsToolComponent.ɵfac = function DirectionsToolComponent_Factory(t) { return new (t || DirectionsToolComponent)(i0.ɵɵdirectiveInject(DirectionState), i0.ɵɵdirectiveInject(MapState), i0.ɵɵdirectiveInject(i2
|
|
902
|
+
DirectionsToolComponent.ɵfac = function DirectionsToolComponent_Factory(t) { return new (t || DirectionsToolComponent)(i0.ɵɵdirectiveInject(DirectionState), i0.ɵɵdirectiveInject(MapState), i0.ɵɵdirectiveInject(i2.LanguageService), i0.ɵɵdirectiveInject(i2.MessageService), i0.ɵɵdirectiveInject(i2.StorageService), i0.ɵɵdirectiveInject(ContextState), i0.ɵɵdirectiveInject(i2$1.AuthService)); };
|
|
897
903
|
DirectionsToolComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: DirectionsToolComponent, selectors: [["igo-directions-tool"]], decls: 1, vars: 7, consts: [[3, "contextUri", "debounceTime", "stopsStore", "stopsFeatureStore", "stepFeatureStore", "routesFeatureStore", "zoomToActiveRoute$"]], template: function DirectionsToolComponent_Template(rf, ctx) { if (rf & 1) {
|
|
898
904
|
i0.ɵɵelement(0, "igo-directions", 0);
|
|
899
905
|
} if (rf & 2) {
|
|
@@ -912,7 +918,7 @@ DirectionsToolComponent = __decorate([
|
|
|
912
918
|
selector: 'igo-directions-tool',
|
|
913
919
|
templateUrl: './directions-tool.component.html'
|
|
914
920
|
}]
|
|
915
|
-
}], function () { return [{ type: DirectionState }, { type: MapState }, { type: i2
|
|
921
|
+
}], function () { return [{ type: DirectionState }, { type: MapState }, { type: i2.LanguageService }, { type: i2.MessageService }, { type: i2.StorageService }, { type: ContextState }, { type: i2$1.AuthService }]; }, null); })();
|
|
916
922
|
|
|
917
923
|
class IgoAppDirectionsModule {
|
|
918
924
|
static forRoot() {
|
|
@@ -1039,14 +1045,14 @@ class StorageState {
|
|
|
1039
1045
|
return this.igoStorageService;
|
|
1040
1046
|
}
|
|
1041
1047
|
}
|
|
1042
|
-
StorageState.ɵfac = function StorageState_Factory(t) { return new (t || StorageState)(i0.ɵɵinject(i2
|
|
1048
|
+
StorageState.ɵfac = function StorageState_Factory(t) { return new (t || StorageState)(i0.ɵɵinject(i2.StorageService)); };
|
|
1043
1049
|
StorageState.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: StorageState, factory: StorageState.ɵfac, providedIn: 'root' });
|
|
1044
1050
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(StorageState, [{
|
|
1045
1051
|
type: Injectable,
|
|
1046
1052
|
args: [{
|
|
1047
1053
|
providedIn: 'root'
|
|
1048
1054
|
}]
|
|
1049
|
-
}], function () { return [{ type: i2
|
|
1055
|
+
}], function () { return [{ type: i2.StorageService }]; }, null); })();
|
|
1050
1056
|
|
|
1051
1057
|
class FeatureActionsService {
|
|
1052
1058
|
constructor(storageState, languageService, toolState, mediaService) {
|
|
@@ -1172,14 +1178,14 @@ class FeatureActionsService {
|
|
|
1172
1178
|
];
|
|
1173
1179
|
}
|
|
1174
1180
|
}
|
|
1175
|
-
FeatureActionsService.ɵfac = function FeatureActionsService_Factory(t) { return new (t || FeatureActionsService)(i0.ɵɵinject(StorageState), i0.ɵɵinject(i2
|
|
1181
|
+
FeatureActionsService.ɵfac = function FeatureActionsService_Factory(t) { return new (t || FeatureActionsService)(i0.ɵɵinject(StorageState), i0.ɵɵinject(i2.LanguageService), i0.ɵɵinject(ToolState), i0.ɵɵinject(i2.MediaService)); };
|
|
1176
1182
|
FeatureActionsService.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: FeatureActionsService, factory: FeatureActionsService.ɵfac, providedIn: 'root' });
|
|
1177
1183
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FeatureActionsService, [{
|
|
1178
1184
|
type: Injectable,
|
|
1179
1185
|
args: [{
|
|
1180
1186
|
providedIn: 'root'
|
|
1181
1187
|
}]
|
|
1182
|
-
}], function () { return [{ type: StorageState }, { type: i2
|
|
1188
|
+
}], function () { return [{ type: StorageState }, { type: i2.LanguageService }, { type: ToolState }, { type: i2.MediaService }]; }, null); })();
|
|
1183
1189
|
|
|
1184
1190
|
class WfsActionsService {
|
|
1185
1191
|
constructor(ogcFilterWidget, storageState, languageService, mediaService, toolState) {
|
|
@@ -1212,7 +1218,7 @@ class WfsActionsService {
|
|
|
1212
1218
|
var _a, _b;
|
|
1213
1219
|
this.zoomAuto$.next(this.zoomAuto);
|
|
1214
1220
|
this.storageChange$$ = this.storageService.storageChange$
|
|
1215
|
-
.pipe(skipWhile((storageChange) => storageChange.key !== 'zoomAuto' || storageChange.event === StorageServiceEventEnum.CLEARED))
|
|
1221
|
+
.pipe(skipWhile((storageChange) => (storageChange === null || storageChange === void 0 ? void 0 : storageChange.key) !== 'zoomAuto' || (storageChange === null || storageChange === void 0 ? void 0 : storageChange.event) === StorageServiceEventEnum.CLEARED))
|
|
1216
1222
|
.subscribe(() => {
|
|
1217
1223
|
this.zoomAuto$.next(this.zoomAuto);
|
|
1218
1224
|
handleZoomAuto(workspace, this.storageService);
|
|
@@ -1316,7 +1322,7 @@ class WfsActionsService {
|
|
|
1316
1322
|
actions : actions.filter(action => action.id !== 'ogcFilter');
|
|
1317
1323
|
}
|
|
1318
1324
|
}
|
|
1319
|
-
WfsActionsService.ɵfac = function WfsActionsService_Factory(t) { return new (t || WfsActionsService)(i0.ɵɵinject(OgcFilterWidget), i0.ɵɵinject(StorageState), i0.ɵɵinject(i2
|
|
1325
|
+
WfsActionsService.ɵfac = function WfsActionsService_Factory(t) { return new (t || WfsActionsService)(i0.ɵɵinject(OgcFilterWidget), i0.ɵɵinject(StorageState), i0.ɵɵinject(i2.LanguageService), i0.ɵɵinject(i2.MediaService), i0.ɵɵinject(ToolState)); };
|
|
1320
1326
|
WfsActionsService.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: WfsActionsService, factory: WfsActionsService.ɵfac, providedIn: 'root' });
|
|
1321
1327
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WfsActionsService, [{
|
|
1322
1328
|
type: Injectable,
|
|
@@ -1326,7 +1332,7 @@ WfsActionsService.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: WfsAct
|
|
|
1326
1332
|
}], function () { return [{ type: i4.Widget, decorators: [{
|
|
1327
1333
|
type: Inject,
|
|
1328
1334
|
args: [OgcFilterWidget]
|
|
1329
|
-
}] }, { type: StorageState }, { type: i2
|
|
1335
|
+
}] }, { type: StorageState }, { type: i2.LanguageService }, { type: i2.MediaService }, { type: ToolState }]; }, null); })();
|
|
1330
1336
|
|
|
1331
1337
|
class EditionActionsService {
|
|
1332
1338
|
constructor(ogcFilterWidget, storageState, languageService, mediaService, toolState) {
|
|
@@ -1357,7 +1363,7 @@ class EditionActionsService {
|
|
|
1357
1363
|
var _a, _b;
|
|
1358
1364
|
this.zoomAuto$.next(this.zoomAuto);
|
|
1359
1365
|
this.storageChange$$ = this.storageService.storageChange$
|
|
1360
|
-
.pipe(skipWhile((storageChange) => storageChange.key !== 'zoomAuto' || storageChange.event === StorageServiceEventEnum.CLEARED))
|
|
1366
|
+
.pipe(skipWhile((storageChange) => (storageChange === null || storageChange === void 0 ? void 0 : storageChange.key) !== 'zoomAuto' || (storageChange === null || storageChange === void 0 ? void 0 : storageChange.event) === StorageServiceEventEnum.CLEARED))
|
|
1361
1367
|
.subscribe(() => {
|
|
1362
1368
|
this.zoomAuto$.next(this.zoomAuto);
|
|
1363
1369
|
handleZoomAuto(workspace, this.storageService);
|
|
@@ -1461,7 +1467,7 @@ class EditionActionsService {
|
|
|
1461
1467
|
actions : actions.filter(action => action.id !== 'ogcFilter');
|
|
1462
1468
|
}
|
|
1463
1469
|
}
|
|
1464
|
-
EditionActionsService.ɵfac = function EditionActionsService_Factory(t) { return new (t || EditionActionsService)(i0.ɵɵinject(OgcFilterWidget), i0.ɵɵinject(StorageState), i0.ɵɵinject(i2
|
|
1470
|
+
EditionActionsService.ɵfac = function EditionActionsService_Factory(t) { return new (t || EditionActionsService)(i0.ɵɵinject(OgcFilterWidget), i0.ɵɵinject(StorageState), i0.ɵɵinject(i2.LanguageService), i0.ɵɵinject(i2.MediaService), i0.ɵɵinject(ToolState)); };
|
|
1465
1471
|
EditionActionsService.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: EditionActionsService, factory: EditionActionsService.ɵfac, providedIn: 'root' });
|
|
1466
1472
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(EditionActionsService, [{
|
|
1467
1473
|
type: Injectable,
|
|
@@ -1471,7 +1477,7 @@ EditionActionsService.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: Ed
|
|
|
1471
1477
|
}], function () { return [{ type: i4.Widget, decorators: [{
|
|
1472
1478
|
type: Inject,
|
|
1473
1479
|
args: [OgcFilterWidget]
|
|
1474
|
-
}] }, { type: StorageState }, { type: i2
|
|
1480
|
+
}] }, { type: StorageState }, { type: i2.LanguageService }, { type: i2.MediaService }, { type: ToolState }]; }, null); })();
|
|
1475
1481
|
|
|
1476
1482
|
/**
|
|
1477
1483
|
* Service that holds the state of the workspace module
|
|
@@ -1500,6 +1506,24 @@ class WorkspaceState {
|
|
|
1500
1506
|
* Store that holds all the available workspaces
|
|
1501
1507
|
*/
|
|
1502
1508
|
get store() { return this._store; }
|
|
1509
|
+
get workspaceSelection() {
|
|
1510
|
+
var _a;
|
|
1511
|
+
if (this.workspace$.value) {
|
|
1512
|
+
return (_a = this.workspace$.value) === null || _a === void 0 ? void 0 : _a.entityStore.stateView.manyBy((r) => r.state.selected === true);
|
|
1513
|
+
}
|
|
1514
|
+
else {
|
|
1515
|
+
return [];
|
|
1516
|
+
}
|
|
1517
|
+
}
|
|
1518
|
+
get workspaceSelection$() {
|
|
1519
|
+
var _a, _b;
|
|
1520
|
+
if (this.workspace$.value) {
|
|
1521
|
+
return (_b = (_a = this.workspace$.value) === null || _a === void 0 ? void 0 : _a.entityStore) === null || _b === void 0 ? void 0 : _b.stateView.manyBy$((r) => r.state.selected === true);
|
|
1522
|
+
}
|
|
1523
|
+
else {
|
|
1524
|
+
return of([]);
|
|
1525
|
+
}
|
|
1526
|
+
}
|
|
1503
1527
|
/**
|
|
1504
1528
|
* Initialize the workspace store. Each time a workspace is activated,
|
|
1505
1529
|
* subscribe to it's active widget. Tracking the active widget is useful
|
|
@@ -1627,14 +1651,14 @@ class WorkspaceState {
|
|
|
1627
1651
|
}
|
|
1628
1652
|
}
|
|
1629
1653
|
}
|
|
1630
|
-
WorkspaceState.ɵfac = function WorkspaceState_Factory(t) { return new (t || WorkspaceState)(i0.ɵɵinject(FeatureActionsService), i0.ɵɵinject(WfsActionsService), i0.ɵɵinject(EditionActionsService), i0.ɵɵinject(i2
|
|
1654
|
+
WorkspaceState.ɵfac = function WorkspaceState_Factory(t) { return new (t || WorkspaceState)(i0.ɵɵinject(FeatureActionsService), i0.ɵɵinject(WfsActionsService), i0.ɵɵinject(EditionActionsService), i0.ɵɵinject(i2.StorageService)); };
|
|
1631
1655
|
WorkspaceState.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: WorkspaceState, factory: WorkspaceState.ɵfac, providedIn: 'root' });
|
|
1632
1656
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WorkspaceState, [{
|
|
1633
1657
|
type: Injectable,
|
|
1634
1658
|
args: [{
|
|
1635
1659
|
providedIn: 'root'
|
|
1636
1660
|
}]
|
|
1637
|
-
}], function () { return [{ type: FeatureActionsService }, { type: WfsActionsService }, { type: EditionActionsService }, { type: i2
|
|
1661
|
+
}], function () { return [{ type: FeatureActionsService }, { type: WfsActionsService }, { type: EditionActionsService }, { type: i2.StorageService }]; }, null); })();
|
|
1638
1662
|
|
|
1639
1663
|
function WorkspaceButtonComponent_button_0_Template(rf, ctx) { if (rf & 1) {
|
|
1640
1664
|
const _r2 = i0.ɵɵgetCurrentView();
|
|
@@ -1686,7 +1710,7 @@ WorkspaceButtonComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Wo
|
|
|
1686
1710
|
i0.ɵɵpipe(1, "async");
|
|
1687
1711
|
} if (rf & 2) {
|
|
1688
1712
|
i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(1, 1, ctx.hasWorkspace$));
|
|
1689
|
-
} }, directives: [
|
|
1713
|
+
} }, directives: [i5.NgIf, i3.MatButton, i4$1.MatTooltip, i6.MatIcon], pipes: [i5.AsyncPipe, i8.TranslatePipe], styles: [""], changeDetection: 0 });
|
|
1690
1714
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WorkspaceButtonComponent, [{
|
|
1691
1715
|
type: Component,
|
|
1692
1716
|
args: [{
|
|
@@ -1837,7 +1861,7 @@ ImportExportToolComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: I
|
|
|
1837
1861
|
i0.ɵɵproperty("ngIf", !ctx.importExportShowBothType && ctx.importExportType === "layer");
|
|
1838
1862
|
i0.ɵɵadvance(1);
|
|
1839
1863
|
i0.ɵɵproperty("ngIf", !ctx.importExportShowBothType && ctx.importExportType === "context");
|
|
1840
|
-
} }, directives: [
|
|
1864
|
+
} }, directives: [i5.NgIf, i5$1.MatTabGroup, i5$1.MatTab, i1$1.ImportExportComponent, i1.ContextImportExportComponent], pipes: [i8.TranslatePipe, i5.AsyncPipe], styles: ["mat-form-field[_ngcontent-%COMP%]{width:100%}"], changeDetection: 0 });
|
|
1841
1865
|
ImportExportToolComponent = __decorate([
|
|
1842
1866
|
ToolComponent({
|
|
1843
1867
|
name: 'importExport',
|
|
@@ -2127,7 +2151,7 @@ MapDetailsToolComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Map
|
|
|
2127
2151
|
} if (rf & 2) {
|
|
2128
2152
|
const _r1 = i0.ɵɵreference(3);
|
|
2129
2153
|
i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(1, 2, ctx.layers$).length)("ngIfElse", _r1);
|
|
2130
|
-
} }, directives: [
|
|
2154
|
+
} }, directives: [i5.NgIf, i1$1.LayerListComponent, i1$1.LayerListBindingDirective, WorkspaceButtonComponent, i1$1.ExportButtonComponent, i1$1.OgcFilterButtonComponent, i1$1.TimeFilterButtonComponent, i1$1.TrackFeatureButtonComponent, i1$1.MetadataButtonComponent, i7.MatList, i7.MatListItem, i6.MatIcon, i7.MatListIconCssMatStyler, i8$1.MatLine], pipes: [i5.AsyncPipe, i8.TranslatePipe], styles: [".map-empty[_ngcontent-%COMP%], .search-tool[_ngcontent-%COMP%], .catalog-tool[_ngcontent-%COMP%], .context-tool[_ngcontent-%COMP%]{margin:10px}.map-empty[_ngcontent-%COMP%]{text-align:justify}.search-tool[_ngcontent-%COMP%], .catalog-tool[_ngcontent-%COMP%], .context-tool[_ngcontent-%COMP%]{cursor:pointer}mat-list[_ngcontent-%COMP%] mat-list-item[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{font-weight:bold}mat-list-item[_ngcontent-%COMP%] .mat-list-text{font-size:smaller}mat-list.mat-list-base[_ngcontent-%COMP%] mat-list-item.mat-list-item[_ngcontent-%COMP%] div.mat-list-item-content div.mat-list-text{padding-left:5px}.mapDetailsList[_ngcontent-%COMP%]{overflow:hidden}"] });
|
|
2131
2155
|
MapDetailsToolComponent = __decorate([
|
|
2132
2156
|
ToolComponent({
|
|
2133
2157
|
name: 'mapDetails',
|
|
@@ -2255,7 +2279,7 @@ MapToolComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MapToolCom
|
|
|
2255
2279
|
i0.ɵɵproperty("map", ctx.map)("excludeBaseLayers", ctx.excludeBaseLayers)("layerFilterAndSortOptions", ctx.layerFilterAndSortOptions)("expandLegendOfVisibleLayers", ctx.expandLegendOfVisibleLayers)("toggleLegendOnVisibilityChange", ctx.toggleLegendOnVisibilityChange)("updateLegendOnResolutionChange", ctx.updateLegendOnResolutionChange)("floatLabel", false)("queryBadge", ctx.queryBadge);
|
|
2256
2280
|
i0.ɵɵadvance(3);
|
|
2257
2281
|
i0.ɵɵproperty("label", i0.ɵɵpipeBind1(7, 12, "igo.integration.tools.contexts"));
|
|
2258
|
-
} }, directives: [i5.MatTabGroup, i5.MatTab, i1$1.LayerListComponent, i1$1.LayerListBindingDirective, i1.ContextListComponent, i1.ContextListBindingDirective, WorkspaceButtonComponent, i1$1.ExportButtonComponent, i1$1.OgcFilterButtonComponent, i1$1.TimeFilterButtonComponent, i1$1.TrackFeatureButtonComponent, i1$1.MetadataButtonComponent], pipes: [i8.TranslatePipe], styles: ["mat-tab-group[_ngcontent-%COMP%], mat-tab-group[_ngcontent-%COMP%] .mat-tab-body-wrapper{height:100%;overflow:hidden}[_nghost-%COMP%] .mat-tab-body-content{overflow:hidden}"], changeDetection: 0 });
|
|
2282
|
+
} }, directives: [i5$1.MatTabGroup, i5$1.MatTab, i1$1.LayerListComponent, i1$1.LayerListBindingDirective, i1.ContextListComponent, i1.ContextListBindingDirective, WorkspaceButtonComponent, i1$1.ExportButtonComponent, i1$1.OgcFilterButtonComponent, i1$1.TimeFilterButtonComponent, i1$1.TrackFeatureButtonComponent, i1$1.MetadataButtonComponent], pipes: [i8.TranslatePipe], styles: ["mat-tab-group[_ngcontent-%COMP%], mat-tab-group[_ngcontent-%COMP%] .mat-tab-body-wrapper{height:100%;overflow:hidden}[_nghost-%COMP%] .mat-tab-body-content{overflow:hidden}"], changeDetection: 0 });
|
|
2259
2283
|
MapToolComponent = __decorate([
|
|
2260
2284
|
ToolComponent({
|
|
2261
2285
|
name: 'map',
|
|
@@ -2287,7 +2311,7 @@ MapToolComponent = __decorate([
|
|
|
2287
2311
|
type: Input
|
|
2288
2312
|
}] }); })();
|
|
2289
2313
|
|
|
2290
|
-
const _c0$
|
|
2314
|
+
const _c0$2 = ["tabGroup"];
|
|
2291
2315
|
function MapToolsComponent_igo_layer_list_5_ng_template_1_igo_time_filter_button_2_Template(rf, ctx) { if (rf & 1) {
|
|
2292
2316
|
const _r14 = i0.ɵɵgetCurrentView();
|
|
2293
2317
|
i0.ɵɵelementStart(0, "igo-time-filter-button", 14);
|
|
@@ -2666,7 +2690,7 @@ let MapToolsComponent = class MapToolsComponent {
|
|
|
2666
2690
|
const options = layer.dataSource.options;
|
|
2667
2691
|
return this.ogcButton && options.ogcFilters && options.ogcFilters.enabled &&
|
|
2668
2692
|
(options.ogcFilters.pushButtons || options.ogcFilters.checkboxes || options.ogcFilters.radioButtons
|
|
2669
|
-
|| options.ogcFilters.select || options.ogcFilters.editable);
|
|
2693
|
+
|| options.ogcFilters.select || options.ogcFilters.autocomplete || options.ogcFilters.editable);
|
|
2670
2694
|
}
|
|
2671
2695
|
isExportButton(layer) {
|
|
2672
2696
|
var _a, _b;
|
|
@@ -2680,7 +2704,7 @@ let MapToolsComponent = class MapToolsComponent {
|
|
|
2680
2704
|
};
|
|
2681
2705
|
MapToolsComponent.ɵfac = function MapToolsComponent_Factory(t) { return new (t || MapToolsComponent)(i0.ɵɵdirectiveInject(LayerListToolState), i0.ɵɵdirectiveInject(ToolState), i0.ɵɵdirectiveInject(MapState), i0.ɵɵdirectiveInject(i1$1.SearchSourceService), i0.ɵɵdirectiveInject(ImportExportState)); };
|
|
2682
2706
|
MapToolsComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MapToolsComponent, selectors: [["igo-map-tools"]], viewQuery: function MapToolsComponent_Query(rf, ctx) { if (rf & 1) {
|
|
2683
|
-
i0.ɵɵviewQuery(_c0$
|
|
2707
|
+
i0.ɵɵviewQuery(_c0$2, 7);
|
|
2684
2708
|
} if (rf & 2) {
|
|
2685
2709
|
let _t;
|
|
2686
2710
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.tabGroup = _t.first);
|
|
@@ -2719,7 +2743,7 @@ MapToolsComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MapToolsC
|
|
|
2719
2743
|
i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(11, 17, ctx.layers$).length !== 0)("ngIfElse", _r5);
|
|
2720
2744
|
i0.ɵɵadvance(2);
|
|
2721
2745
|
i0.ɵɵproperty("ngIf", !ctx.allowShowAllLegends && i0.ɵɵpipeBind1(13, 19, ctx.layers$).length !== 0 && i0.ɵɵpipeBind1(14, 21, ctx.visibleOrInRangeLayers$).length === 0);
|
|
2722
|
-
} }, directives: [i5.MatTabGroup, i5.MatTab,
|
|
2746
|
+
} }, directives: [i5$1.MatTabGroup, i5$1.MatTab, i5.NgIf, i1$1.LayerListComponent, i1$1.LayerListBindingDirective, i1$1.MetadataButtonComponent, i1$1.TrackFeatureButtonComponent, WorkspaceButtonComponent, i1$1.TimeFilterButtonComponent, i1$1.OgcFilterButtonComponent, i1$1.ExportButtonComponent, i1$1.LayerLegendListComponent, i1$1.LayerLegendListBindingDirective, i7.MatList, i7.MatListItem, i6.MatIcon, i7.MatListIconCssMatStyler, i8$1.MatLine], pipes: [i5.AsyncPipe, i8.TranslatePipe], styles: [".map-empty[_ngcontent-%COMP%], .search-tool[_ngcontent-%COMP%], .catalog-tool[_ngcontent-%COMP%], .context-tool[_ngcontent-%COMP%]{margin:10px}.map-empty[_ngcontent-%COMP%]{text-align:justify}.search-tool[_ngcontent-%COMP%], .catalog-tool[_ngcontent-%COMP%], .context-tool[_ngcontent-%COMP%]{cursor:pointer}mat-list[_ngcontent-%COMP%] mat-list-item[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{font-weight:bold}mat-list-item[_ngcontent-%COMP%] .mat-list-text{font-size:smaller}mat-list.mat-list-base[_ngcontent-%COMP%] mat-list-item.mat-list-item[_ngcontent-%COMP%] div.mat-list-item-content div.mat-list-text{padding-left:5px}mat-tab-group[_ngcontent-%COMP%], mat-tab-group[_ngcontent-%COMP%] .mat-tab-body-wrapper{height:100%;overflow:hidden}[_nghost-%COMP%] .mat-tab-body-content{overflow:hidden}"], changeDetection: 0 });
|
|
2723
2747
|
MapToolsComponent = __decorate([
|
|
2724
2748
|
ToolComponent({
|
|
2725
2749
|
name: 'mapTools',
|
|
@@ -3008,7 +3032,7 @@ MapLegendToolComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MapL
|
|
|
3008
3032
|
i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(2, 4, ctx.layers$).length !== 0)("ngIfElse", _r3);
|
|
3009
3033
|
i0.ɵɵadvance(2);
|
|
3010
3034
|
i0.ɵɵproperty("ngIf", !ctx.allowShowAllLegends && i0.ɵɵpipeBind1(4, 6, ctx.layers$).length !== 0 && i0.ɵɵpipeBind1(5, 8, ctx.visibleOrInRangeLayers$).length === 0);
|
|
3011
|
-
} }, directives: [
|
|
3035
|
+
} }, directives: [i5.NgIf, i1$1.LayerLegendListComponent, i1$1.LayerLegendListBindingDirective, i7.MatList, i7.MatListItem, i6.MatIcon, i7.MatListIconCssMatStyler, i8$1.MatLine], pipes: [i5.AsyncPipe, i8.TranslatePipe], styles: [".map-empty[_ngcontent-%COMP%], .search-tool[_ngcontent-%COMP%], .catalog-tool[_ngcontent-%COMP%], .context-tool[_ngcontent-%COMP%]{margin:10px}.map-empty[_ngcontent-%COMP%]{text-align:justify}.search-tool[_ngcontent-%COMP%], .catalog-tool[_ngcontent-%COMP%], .context-tool[_ngcontent-%COMP%]{cursor:pointer}mat-list[_ngcontent-%COMP%] mat-list-item[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{font-weight:bold}mat-list-item[_ngcontent-%COMP%] .mat-list-text{font-size:smaller}mat-list.mat-list-base[_ngcontent-%COMP%] mat-list-item.mat-list-item[_ngcontent-%COMP%] div.mat-list-item-content div.mat-list-text{padding-left:5px}"] });
|
|
3012
3036
|
MapLegendToolComponent = __decorate([
|
|
3013
3037
|
ToolComponent({
|
|
3014
3038
|
name: 'mapLegend',
|
|
@@ -3243,7 +3267,7 @@ AdvancedSwipeComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Adva
|
|
|
3243
3267
|
} if (rf & 2) {
|
|
3244
3268
|
const _r1 = i0.ɵɵreference(2);
|
|
3245
3269
|
i0.ɵɵproperty("ngIf", ctx.userControlledLayerList.length)("ngIfElse", _r1);
|
|
3246
|
-
} }, directives: [
|
|
3270
|
+
} }, directives: [i5.NgIf, i3$1.ɵNgNoValidate, i3$1.NgControlStatusGroup, i3$1.FormGroupDirective, i6$1.MatFormField, i6$1.MatLabel, i7$1.MatSelect, i3$1.NgControlStatus, i3$1.FormControlName, i8$1.MatOption, i9.MatDivider, i5.NgForOf, i10.MatSlideToggle, i7.MatList, i7.MatListItem, i6.MatIcon, i7.MatListIconCssMatStyler, i8$1.MatLine], pipes: [i8.TranslatePipe], styles: [".nameOfTool[_ngcontent-%COMP%]{text-align:center;font-weight:bold;font-size:small;margin:15px 10px 0}.igo-swipe-select-container[_ngcontent-%COMP%]{padding:10px}.igo-swipe-select-container[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%]{width:100%}.igo-form[_ngcontent-%COMP%]{padding:1px 5px;width:100%}.swipe-toggle[_ngcontent-%COMP%]{padding:10px 5px 35px}.map-empty[_ngcontent-%COMP%], .search-tool[_ngcontent-%COMP%], .catalog-tool[_ngcontent-%COMP%], .context-tool[_ngcontent-%COMP%]{margin:5px}.map-empty[_ngcontent-%COMP%]{padding:10px;text-align:justify}.search-tool[_ngcontent-%COMP%], .catalog-tool[_ngcontent-%COMP%], .context-tool[_ngcontent-%COMP%]{cursor:pointer}mat-list[_ngcontent-%COMP%] mat-list-item[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{font-weight:bold}mat-list-item[_ngcontent-%COMP%] .mat-list-text{font-size:smaller}mat-list.mat-list-base[_ngcontent-%COMP%] mat-list-item.mat-list-item[_ngcontent-%COMP%] div.mat-list-item-content div.mat-list-text{padding-left:15px}.advanced-tool-line[_ngcontent-%COMP%]{height:2px;background-color:gray}"] });
|
|
3247
3271
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AdvancedSwipeComponent, [{
|
|
3248
3272
|
type: Component,
|
|
3249
3273
|
args: [{
|
|
@@ -3611,7 +3635,7 @@ class AdvancedCoordinatesComponent {
|
|
|
3611
3635
|
let modifiedProj = this.projections$.value;
|
|
3612
3636
|
const extent = projection.extent;
|
|
3613
3637
|
const code = projection.code.match(/\d+/);
|
|
3614
|
-
const currentExtentWGS =
|
|
3638
|
+
const currentExtentWGS = olProj.transformExtent(extent, projection.code, this.defaultProj.code);
|
|
3615
3639
|
if (coordinates[0] < currentExtentWGS[0] || coordinates[0] > currentExtentWGS[2] ||
|
|
3616
3640
|
coordinates[1] < currentExtentWGS[1] || coordinates[1] > currentExtentWGS[3]) {
|
|
3617
3641
|
this.inLambert2[code] = false;
|
|
@@ -3630,7 +3654,7 @@ class AdvancedCoordinatesComponent {
|
|
|
3630
3654
|
});
|
|
3631
3655
|
}
|
|
3632
3656
|
}
|
|
3633
|
-
AdvancedCoordinatesComponent.ɵfac = function AdvancedCoordinatesComponent_Factory(t) { return new (t || AdvancedCoordinatesComponent)(i0.ɵɵdirectiveInject(MapState), i0.ɵɵdirectiveInject(i2
|
|
3657
|
+
AdvancedCoordinatesComponent.ɵfac = function AdvancedCoordinatesComponent_Factory(t) { return new (t || AdvancedCoordinatesComponent)(i0.ɵɵdirectiveInject(MapState), i0.ɵɵdirectiveInject(i2.LanguageService), i0.ɵɵdirectiveInject(i2.MessageService), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i2.StorageService), i0.ɵɵdirectiveInject(i2.ConfigService), i0.ɵɵdirectiveInject(i3$1.FormBuilder)); };
|
|
3634
3658
|
AdvancedCoordinatesComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AdvancedCoordinatesComponent, selectors: [["igo-advanced-coordinates"]], inputs: { projectionsLimitations: "projectionsLimitations" }, decls: 32, vars: 37, consts: [["class", "coordinates", 4, "ngIf", "ngIfElse"], ["elseBlock", ""], ["class", "coordinates2", 4, "ngIf", "ngIfElse"], ["elseBlock2", ""], ["mat-raised-button", "", 1, "igo-form-button-group", 3, "click"], ["svgIcon", "content-copy"], [1, "igo-form", 3, "formGroup"], [1, "igo-input-container"], [3, "value", "valueChange"], ["matTooltipShowDelay", "500", 3, "value", "click", 4, "ngFor", "ngForOf"], [1, "center-toggle", "mat-typography", 3, "checked", "labelPosition", "change"], [1, "igo-zoom", "mat-typography"], [1, "coordinates"], ["matInput", "", "readonly", "", "rows", "1", 3, "placeholder", "value"], ["textArea", ""], [1, "coordinates2"], ["matTooltipShowDelay", "500", 3, "value", "click"]], template: function AdvancedCoordinatesComponent_Template(rf, ctx) { if (rf & 1) {
|
|
3635
3659
|
i0.ɵɵtemplate(0, AdvancedCoordinatesComponent_mat_form_field_0_Template, 4, 4, "mat-form-field", 0);
|
|
3636
3660
|
i0.ɵɵtemplate(1, AdvancedCoordinatesComponent_ng_template_1_Template, 4, 4, "ng-template", null, 1, i0.ɵɵtemplateRefExtractor);
|
|
@@ -3700,7 +3724,7 @@ AdvancedCoordinatesComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type
|
|
|
3700
3724
|
i0.ɵɵtextInterpolate2("", i0.ɵɵpipeBind1(26, 28, "igo.integration.advanced-map-tool.advanced-coordinates.scale"), " ", i0.ɵɵpipeBind1(27, 30, ctx.formattedScale$), "");
|
|
3701
3725
|
i0.ɵɵadvance(4);
|
|
3702
3726
|
i0.ɵɵtextInterpolate2("", i0.ɵɵpipeBind1(30, 32, "igo.integration.advanced-map-tool.advanced-coordinates.resolution"), " ", i0.ɵɵpipeBind2(31, 34, ctx.map.viewController.getResolution(), "1.0-0"), "");
|
|
3703
|
-
} }, directives: [
|
|
3727
|
+
} }, directives: [i5.NgIf, i3.MatButton, i6.MatIcon, i3$1.ɵNgNoValidate, i3$1.NgControlStatusGroup, i3$1.FormGroupDirective, i6$1.MatFormField, i6$1.MatLabel, i7$1.MatSelect, i5.NgForOf, i10.MatSlideToggle, i10$1.MatInput, i8$1.MatOption], pipes: [i8.TranslatePipe, i5.AsyncPipe, i5.DecimalPipe], styles: ["textarea[_ngcontent-%COMP%]{resize:none}mat-form-field[_ngcontent-%COMP%]{padding:10px 15px}mat-form-field.coordinates[_ngcontent-%COMP%]{width:120px}mat-form-field.coordinates2[_ngcontent-%COMP%]{width:120px;padding:0 10px 0 3px}mat-form-field.igo-input-container[_ngcontent-%COMP%]{width:60%;padding:0 15px}.igo-form-button-group[_ngcontent-%COMP%]{padding:0 10px;margin:0 10px}.center-toggle[_ngcontent-%COMP%]{padding:10px 15px 35px}mat-slide-toggle[_ngcontent-%COMP%]{font-size:small}.igo-zoom[_ngcontent-%COMP%]{padding:0 15px}"] });
|
|
3704
3728
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AdvancedCoordinatesComponent, [{
|
|
3705
3729
|
type: Component,
|
|
3706
3730
|
args: [{
|
|
@@ -3708,14 +3732,29 @@ AdvancedCoordinatesComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type
|
|
|
3708
3732
|
templateUrl: './advanced-coordinates.component.html',
|
|
3709
3733
|
styleUrls: ['./advanced-coordinates.component.scss']
|
|
3710
3734
|
}]
|
|
3711
|
-
}], function () { return [{ type: MapState }, { type: i2
|
|
3735
|
+
}], function () { return [{ type: MapState }, { type: i2.LanguageService }, { type: i2.MessageService }, { type: i0.ChangeDetectorRef }, { type: i2.StorageService }, { type: i2.ConfigService }, { type: i3$1.FormBuilder }]; }, { projectionsLimitations: [{
|
|
3712
3736
|
type: Input
|
|
3713
3737
|
}] }); })();
|
|
3714
3738
|
|
|
3715
3739
|
let AdvancedMapToolComponent = class AdvancedMapToolComponent {
|
|
3740
|
+
constructor(mapState) {
|
|
3741
|
+
this.mapState = mapState;
|
|
3742
|
+
}
|
|
3743
|
+
get tracking$() {
|
|
3744
|
+
return this.mapState.map.geolocationController.tracking$;
|
|
3745
|
+
}
|
|
3746
|
+
get followPosition$() {
|
|
3747
|
+
return this.mapState.map.geolocationController.followPosition$;
|
|
3748
|
+
}
|
|
3749
|
+
toggleTracking(value) {
|
|
3750
|
+
this.mapState.map.geolocationController.tracking = value;
|
|
3751
|
+
}
|
|
3752
|
+
toggleFollow(value) {
|
|
3753
|
+
this.mapState.map.geolocationController.followPosition = value;
|
|
3754
|
+
}
|
|
3716
3755
|
};
|
|
3717
|
-
AdvancedMapToolComponent.ɵfac = function AdvancedMapToolComponent_Factory(t) { return new (t || AdvancedMapToolComponent)(); };
|
|
3718
|
-
AdvancedMapToolComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AdvancedMapToolComponent, selectors: [["igo-advanced-map-tool"]], decls:
|
|
3756
|
+
AdvancedMapToolComponent.ɵfac = function AdvancedMapToolComponent_Factory(t) { return new (t || AdvancedMapToolComponent)(i0.ɵɵdirectiveInject(MapState)); };
|
|
3757
|
+
AdvancedMapToolComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AdvancedMapToolComponent, selectors: [["igo-advanced-map-tool"]], decls: 24, vars: 26, consts: [[1, "nameOfTool"], [1, "advanced-tool-line"], [1, "igo-input-container"], [1, "geolocation-slide-toggle-container", "mat-typography"], [1, "geolocation-option", "mat-typography", 3, "checked", "labelPosition", "change"], [1, "geolocation-option", "mat-typography", 3, "disabled", "checked", "labelPosition", "change"]], template: function AdvancedMapToolComponent_Template(rf, ctx) { if (rf & 1) {
|
|
3719
3758
|
i0.ɵɵelementStart(0, "h4", 0);
|
|
3720
3759
|
i0.ɵɵtext(1);
|
|
3721
3760
|
i0.ɵɵpipe(2, "translate");
|
|
@@ -3728,12 +3767,43 @@ AdvancedMapToolComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Ad
|
|
|
3728
3767
|
i0.ɵɵelementEnd();
|
|
3729
3768
|
i0.ɵɵelement(8, "igo-advanced-coordinates");
|
|
3730
3769
|
i0.ɵɵelement(9, "mat-divider", 1);
|
|
3770
|
+
i0.ɵɵelementStart(10, "h4", 0);
|
|
3771
|
+
i0.ɵɵtext(11);
|
|
3772
|
+
i0.ɵɵpipe(12, "translate");
|
|
3773
|
+
i0.ɵɵelementEnd();
|
|
3774
|
+
i0.ɵɵelementStart(13, "div", 2);
|
|
3775
|
+
i0.ɵɵelementStart(14, "div", 3);
|
|
3776
|
+
i0.ɵɵelementStart(15, "mat-slide-toggle", 4);
|
|
3777
|
+
i0.ɵɵlistener("change", function AdvancedMapToolComponent_Template_mat_slide_toggle_change_15_listener($event) { return ctx.toggleTracking($event.checked); });
|
|
3778
|
+
i0.ɵɵpipe(16, "async");
|
|
3779
|
+
i0.ɵɵtext(17);
|
|
3780
|
+
i0.ɵɵpipe(18, "translate");
|
|
3781
|
+
i0.ɵɵelementEnd();
|
|
3782
|
+
i0.ɵɵelementStart(19, "mat-slide-toggle", 5);
|
|
3783
|
+
i0.ɵɵlistener("change", function AdvancedMapToolComponent_Template_mat_slide_toggle_change_19_listener($event) { return ctx.toggleFollow($event.checked); });
|
|
3784
|
+
i0.ɵɵpipe(20, "async");
|
|
3785
|
+
i0.ɵɵpipe(21, "async");
|
|
3786
|
+
i0.ɵɵtext(22);
|
|
3787
|
+
i0.ɵɵpipe(23, "translate");
|
|
3788
|
+
i0.ɵɵelementEnd();
|
|
3789
|
+
i0.ɵɵelementEnd();
|
|
3790
|
+
i0.ɵɵelementEnd();
|
|
3731
3791
|
} if (rf & 2) {
|
|
3732
3792
|
i0.ɵɵadvance(1);
|
|
3733
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2,
|
|
3793
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 10, "igo.integration.advanced-map-tool.advanced-swipe.swipe-tool"));
|
|
3794
|
+
i0.ɵɵadvance(5);
|
|
3795
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(7, 12, "igo.integration.advanced-map-tool.advanced-coordinates.coordinates"));
|
|
3734
3796
|
i0.ɵɵadvance(5);
|
|
3735
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(
|
|
3736
|
-
|
|
3797
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(12, 14, "igo.integration.advanced-map-tool.geolocation.title"));
|
|
3798
|
+
i0.ɵɵadvance(4);
|
|
3799
|
+
i0.ɵɵproperty("checked", i0.ɵɵpipeBind1(16, 16, ctx.tracking$))("labelPosition", "before");
|
|
3800
|
+
i0.ɵɵadvance(2);
|
|
3801
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(18, 18, "igo.integration.advanced-map-tool.geolocation.tracking"), " ");
|
|
3802
|
+
i0.ɵɵadvance(2);
|
|
3803
|
+
i0.ɵɵproperty("disabled", i0.ɵɵpipeBind1(20, 20, ctx.tracking$) !== true)("checked", i0.ɵɵpipeBind1(21, 22, ctx.followPosition$))("labelPosition", "before");
|
|
3804
|
+
i0.ɵɵadvance(3);
|
|
3805
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(23, 24, "igo.integration.advanced-map-tool.geolocation.follow"), " ");
|
|
3806
|
+
} }, directives: [AdvancedSwipeComponent, i9.MatDivider, AdvancedCoordinatesComponent, i10.MatSlideToggle], pipes: [i8.TranslatePipe, i5.AsyncPipe], styles: [".nameOfTool[_ngcontent-%COMP%]{text-align:center;font-weight:bold;font-size:small;margin:15px 10px 0}.advanced-tool-line[_ngcontent-%COMP%]{height:2px;background-color:gray}.geolocation-slide-toggle-container[_ngcontent-%COMP%]{overflow-x:hidden}.geolocation-slide-toggle-container[_ngcontent-%COMP%] mat-slide-toggle[_ngcontent-%COMP%]{width:100%;margin:10px}.geolocation-slide-toggle-container[_ngcontent-%COMP%] mat-slide-toggle[_ngcontent-%COMP%] .mat-slide-toggle-content{width:calc(100% - 60px)}.geolocation-option[_ngcontent-%COMP%]{display:block;margin-right:10px;margin-bottom:15px}"] });
|
|
3737
3807
|
AdvancedMapToolComponent = __decorate([
|
|
3738
3808
|
ToolComponent({
|
|
3739
3809
|
name: 'advancedMap',
|
|
@@ -3751,7 +3821,363 @@ AdvancedMapToolComponent = __decorate([
|
|
|
3751
3821
|
templateUrl: './advanced-map-tool.component.html',
|
|
3752
3822
|
styleUrls: ['./advanced-map-tool.component.scss']
|
|
3753
3823
|
}]
|
|
3754
|
-
}],
|
|
3824
|
+
}], function () { return [{ type: MapState }]; }, null); })();
|
|
3825
|
+
|
|
3826
|
+
/**
|
|
3827
|
+
* Service that holds the state of the direction module
|
|
3828
|
+
*/
|
|
3829
|
+
class MapProximityState {
|
|
3830
|
+
constructor(mapState) {
|
|
3831
|
+
this.mapState = mapState;
|
|
3832
|
+
this.enabled$ = new BehaviorSubject(false);
|
|
3833
|
+
this.proximityRadiusValue$ = new BehaviorSubject(30);
|
|
3834
|
+
this.proximitylocationType$ = new BehaviorSubject('geolocation');
|
|
3835
|
+
this.proximityFeatureStore = new FeatureStore([], { map: this.mapState.map });
|
|
3836
|
+
this.subs$$ = [];
|
|
3837
|
+
this.currentPositionCoordinate$ = new BehaviorSubject(undefined);
|
|
3838
|
+
this.mapState.map.ol.once('rendercomplete', () => {
|
|
3839
|
+
this.subscribeProximityMonitor();
|
|
3840
|
+
});
|
|
3841
|
+
}
|
|
3842
|
+
get map() {
|
|
3843
|
+
return this.mapState.map;
|
|
3844
|
+
}
|
|
3845
|
+
subscribeProximityMonitor() {
|
|
3846
|
+
this.subs$$.push(combineLatest([
|
|
3847
|
+
this.enabled$,
|
|
3848
|
+
this.proximitylocationType$,
|
|
3849
|
+
this.proximityRadiusValue$,
|
|
3850
|
+
interval(5000),
|
|
3851
|
+
this.map.geolocationController.position$
|
|
3852
|
+
])
|
|
3853
|
+
.pipe(debounceTime(750))
|
|
3854
|
+
.subscribe((bunch) => {
|
|
3855
|
+
this.proximityFeatureStore.clear();
|
|
3856
|
+
const enabled = bunch[0];
|
|
3857
|
+
const layers = this.map.layers;
|
|
3858
|
+
const currentPos = this.map.geolocationController.position$.value;
|
|
3859
|
+
const locationType = bunch[1];
|
|
3860
|
+
const proximityRadiusValue = bunch[2];
|
|
3861
|
+
if (!enabled) {
|
|
3862
|
+
return;
|
|
3863
|
+
}
|
|
3864
|
+
let coord;
|
|
3865
|
+
if (locationType === 'geolocation') {
|
|
3866
|
+
if (!currentPos || !currentPos.position) {
|
|
3867
|
+
return;
|
|
3868
|
+
}
|
|
3869
|
+
coord = olProj.transform(currentPos.position, currentPos.projection, this.map.projection);
|
|
3870
|
+
this.map.mapCenter$.next(false);
|
|
3871
|
+
}
|
|
3872
|
+
else {
|
|
3873
|
+
coord = this.map.viewController.getCenter();
|
|
3874
|
+
;
|
|
3875
|
+
this.map.mapCenter$.next(true);
|
|
3876
|
+
}
|
|
3877
|
+
const coordLonLat = olProj.transform(coord, this.map.projection, 'EPSG:4269');
|
|
3878
|
+
const roundedCoordLonLat = roundCoordTo(coordLonLat, 6);
|
|
3879
|
+
this.currentPositionCoordinate$.next(roundedCoordLonLat);
|
|
3880
|
+
const layersToMonitor = layers
|
|
3881
|
+
.filter(layer => layer.ol instanceof olLayerVector &&
|
|
3882
|
+
layer.dataSource.options.queryable &&
|
|
3883
|
+
layer.visible &&
|
|
3884
|
+
layer.isInResolutionsRange);
|
|
3885
|
+
layersToMonitor.map(layerToMonitor => {
|
|
3886
|
+
const layerSource = layerToMonitor.ol.getSource();
|
|
3887
|
+
// Mostly for polygon features.
|
|
3888
|
+
const olFeaturesAtCoordinate = layerSource.getFeaturesAtCoordinate(coord);
|
|
3889
|
+
if (olFeaturesAtCoordinate && olFeaturesAtCoordinate.length) {
|
|
3890
|
+
olFeaturesAtCoordinate.map(olFeatureAtCoordinate => {
|
|
3891
|
+
const featureAtThisPosition = featureFromOl(olFeatureAtCoordinate, this.map.projection);
|
|
3892
|
+
let title = this.getQueryTitle(featureAtThisPosition, layerToMonitor);
|
|
3893
|
+
// todo handle imported layers without querytitle? prompt title or detect first column?
|
|
3894
|
+
this.addFeatureToStore(layerToMonitor, coord, featureAtThisPosition, title, 0);
|
|
3895
|
+
});
|
|
3896
|
+
}
|
|
3897
|
+
else {
|
|
3898
|
+
// compute proximity for remaining sources
|
|
3899
|
+
const closestOlFeature = layerSource.getClosestFeatureToCoordinate(coord);
|
|
3900
|
+
if (closestOlFeature) {
|
|
3901
|
+
const closestOlGeom = closestOlFeature.getGeometry();
|
|
3902
|
+
const closestFeature = featureFromOl(closestOlFeature, this.map.projection);
|
|
3903
|
+
const geometryClosestPoint = closestOlGeom.getClosestPoint(coord);
|
|
3904
|
+
const linebetween = new olLineString([coord, geometryClosestPoint]);
|
|
3905
|
+
const lineLength = measureOlGeometryLength(linebetween, 'EPSG:3857');
|
|
3906
|
+
if (lineLength <= proximityRadiusValue) {
|
|
3907
|
+
let title = this.getQueryTitle(closestFeature, layerToMonitor);
|
|
3908
|
+
// todo handle imported layers without querytitle? prompt title or detect first column?
|
|
3909
|
+
this.addFeatureToStore(layerToMonitor, coord, closestFeature, title, lineLength);
|
|
3910
|
+
}
|
|
3911
|
+
}
|
|
3912
|
+
}
|
|
3913
|
+
});
|
|
3914
|
+
}));
|
|
3915
|
+
}
|
|
3916
|
+
/**
|
|
3917
|
+
* Add a feature with proximity properties to the store
|
|
3918
|
+
* @internal
|
|
3919
|
+
*/
|
|
3920
|
+
addFeatureToStore(layer, coordFromCalculatedDistance, feature, title, distance) {
|
|
3921
|
+
const featureId = uuid();
|
|
3922
|
+
const projection = this.map.ol.getView().getProjection();
|
|
3923
|
+
const olGeometry = feature.ol.getGeometry();
|
|
3924
|
+
const geometry = new olFormatGeoJSON().writeGeometryObject(olGeometry, {
|
|
3925
|
+
featureProjection: projection,
|
|
3926
|
+
dataProjection: projection
|
|
3927
|
+
});
|
|
3928
|
+
this.proximityFeatureStore.update({
|
|
3929
|
+
type: FEATURE,
|
|
3930
|
+
geometry,
|
|
3931
|
+
projection: projection.getCode(),
|
|
3932
|
+
properties: Object.assign(Object.assign({}, feature.properties), {
|
|
3933
|
+
id: featureId,
|
|
3934
|
+
element: title,
|
|
3935
|
+
distance,
|
|
3936
|
+
coordFromCalculatedDistance,
|
|
3937
|
+
layerSrcId: layer.id,
|
|
3938
|
+
layerSrcTitle: layer.title
|
|
3939
|
+
}),
|
|
3940
|
+
meta: {
|
|
3941
|
+
id: featureId
|
|
3942
|
+
}
|
|
3943
|
+
});
|
|
3944
|
+
}
|
|
3945
|
+
getQueryTitle(feature, layer) {
|
|
3946
|
+
var _a, _b;
|
|
3947
|
+
let title;
|
|
3948
|
+
if ((_b = (_a = layer.options) === null || _a === void 0 ? void 0 : _a.source) === null || _b === void 0 ? void 0 : _b.options) {
|
|
3949
|
+
const dataSourceOptions = layer.options.source
|
|
3950
|
+
.options;
|
|
3951
|
+
if (dataSourceOptions.queryTitle) {
|
|
3952
|
+
title = this.getLabelMatch(feature, dataSourceOptions.queryTitle);
|
|
3953
|
+
}
|
|
3954
|
+
}
|
|
3955
|
+
return title;
|
|
3956
|
+
}
|
|
3957
|
+
getLabelMatch(feature, labelMatch) {
|
|
3958
|
+
let label = labelMatch;
|
|
3959
|
+
const labelToGet = Array.from(labelMatch.matchAll(/\$\{([^\{\}]+)\}/g));
|
|
3960
|
+
labelToGet.forEach(v => {
|
|
3961
|
+
label = label.replace(v[0], feature.properties[v[1]]);
|
|
3962
|
+
});
|
|
3963
|
+
// Nothing done? check feature's attribute
|
|
3964
|
+
if (labelToGet.length === 0 && label === labelMatch) {
|
|
3965
|
+
label = feature.properties[labelMatch] || labelMatch;
|
|
3966
|
+
}
|
|
3967
|
+
return label;
|
|
3968
|
+
}
|
|
3969
|
+
}
|
|
3970
|
+
MapProximityState.ɵfac = function MapProximityState_Factory(t) { return new (t || MapProximityState)(i0.ɵɵinject(MapState)); };
|
|
3971
|
+
MapProximityState.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: MapProximityState, factory: MapProximityState.ɵfac, providedIn: 'root' });
|
|
3972
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MapProximityState, [{
|
|
3973
|
+
type: Injectable,
|
|
3974
|
+
args: [{
|
|
3975
|
+
providedIn: 'root'
|
|
3976
|
+
}]
|
|
3977
|
+
}], function () { return [{ type: MapState }]; }, null); })();
|
|
3978
|
+
|
|
3979
|
+
const _c0$1 = ["table"];
|
|
3980
|
+
function MapProximityToolComponent_mat_form_field_3_Template(rf, ctx) { if (rf & 1) {
|
|
3981
|
+
i0.ɵɵelementStart(0, "mat-form-field", 14);
|
|
3982
|
+
i0.ɵɵelement(1, "textarea", 15, 16);
|
|
3983
|
+
i0.ɵɵpipe(3, "translate");
|
|
3984
|
+
i0.ɵɵelementEnd();
|
|
3985
|
+
} if (rf & 2) {
|
|
3986
|
+
const coord_r4 = ctx.ngIf;
|
|
3987
|
+
i0.ɵɵadvance(1);
|
|
3988
|
+
i0.ɵɵproperty("placeholder", i0.ɵɵpipeBind1(3, 2, "igo.integration.map-proximity-tool.lon"))("value", coord_r4[0]);
|
|
3989
|
+
} }
|
|
3990
|
+
function MapProximityToolComponent_mat_form_field_5_Template(rf, ctx) { if (rf & 1) {
|
|
3991
|
+
i0.ɵɵelementStart(0, "mat-form-field", 17);
|
|
3992
|
+
i0.ɵɵelement(1, "textarea", 15, 16);
|
|
3993
|
+
i0.ɵɵpipe(3, "translate");
|
|
3994
|
+
i0.ɵɵelementEnd();
|
|
3995
|
+
} if (rf & 2) {
|
|
3996
|
+
const coord2_r6 = ctx.ngIf;
|
|
3997
|
+
i0.ɵɵadvance(1);
|
|
3998
|
+
i0.ɵɵproperty("placeholder", i0.ɵɵpipeBind1(3, 2, "igo.integration.map-proximity-tool.lat"))("value", coord2_r6[1]);
|
|
3999
|
+
} }
|
|
4000
|
+
function MapProximityToolComponent_button_7_Template(rf, ctx) { if (rf & 1) {
|
|
4001
|
+
const _r9 = i0.ɵɵgetCurrentView();
|
|
4002
|
+
i0.ɵɵelementStart(0, "button", 18);
|
|
4003
|
+
i0.ɵɵlistener("click", function MapProximityToolComponent_button_7_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r9); const ctx_r8 = i0.ɵɵnextContext(); return ctx_r8.copyTextToClipboard(); });
|
|
4004
|
+
i0.ɵɵelement(1, "mat-icon", 19);
|
|
4005
|
+
i0.ɵɵelementEnd();
|
|
4006
|
+
} }
|
|
4007
|
+
let MapProximityToolComponent = class MapProximityToolComponent {
|
|
4008
|
+
constructor(mapState, mapProximityState, languageService, messageService) {
|
|
4009
|
+
this.mapState = mapState;
|
|
4010
|
+
this.mapProximityState = mapProximityState;
|
|
4011
|
+
this.languageService = languageService;
|
|
4012
|
+
this.messageService = messageService;
|
|
4013
|
+
this.subs$$ = [];
|
|
4014
|
+
/**
|
|
4015
|
+
* Table template
|
|
4016
|
+
* @internal
|
|
4017
|
+
*/
|
|
4018
|
+
this.tableTemplate = {
|
|
4019
|
+
selection: true,
|
|
4020
|
+
selectMany: false,
|
|
4021
|
+
selectionCheckbox: false,
|
|
4022
|
+
sort: true,
|
|
4023
|
+
columns: [
|
|
4024
|
+
{
|
|
4025
|
+
name: 'element',
|
|
4026
|
+
title: this.languageService.translate.instant('igo.integration.map-proximity-tool.feature'),
|
|
4027
|
+
valueAccessor: (localFeature) => {
|
|
4028
|
+
return localFeature.properties.element;
|
|
4029
|
+
}
|
|
4030
|
+
},
|
|
4031
|
+
{
|
|
4032
|
+
name: 'distance',
|
|
4033
|
+
title: this.languageService.translate.instant('igo.integration.map-proximity-tool.distance'),
|
|
4034
|
+
valueAccessor: (localFeature) => {
|
|
4035
|
+
return `${NumberUtils.roundToNDecimal(localFeature.properties.distance, 1)}m`;
|
|
4036
|
+
}
|
|
4037
|
+
}
|
|
4038
|
+
]
|
|
4039
|
+
};
|
|
4040
|
+
}
|
|
4041
|
+
get maxDistance() {
|
|
4042
|
+
return this.mapProximityState.proximityRadiusValue$.value;
|
|
4043
|
+
}
|
|
4044
|
+
set maxDistance(value) {
|
|
4045
|
+
this.mapProximityState.proximityRadiusValue$.next(value);
|
|
4046
|
+
}
|
|
4047
|
+
get map() {
|
|
4048
|
+
return this.mapState.map;
|
|
4049
|
+
}
|
|
4050
|
+
ngOnInit() {
|
|
4051
|
+
this.mapProximityState.enabled$.next(true);
|
|
4052
|
+
this.userDefinedFollowPosition = this.map.geolocationController.followPosition === true;
|
|
4053
|
+
this.userDefinedMapCenter = this.map.mapCenter$.value === true;
|
|
4054
|
+
this.subs$$.push(this.mapProximityState.proximitylocationType$.subscribe(v => {
|
|
4055
|
+
this.map.mapCenter$.next(v !== 'geolocation');
|
|
4056
|
+
if (v === 'geolocation') {
|
|
4057
|
+
this.map.geolocationController.followPosition = true;
|
|
4058
|
+
}
|
|
4059
|
+
else {
|
|
4060
|
+
this.map.geolocationController.followPosition = false;
|
|
4061
|
+
}
|
|
4062
|
+
}));
|
|
4063
|
+
}
|
|
4064
|
+
ngOnDestroy() {
|
|
4065
|
+
this.mapProximityState.enabled$.next(false);
|
|
4066
|
+
this.map.mapCenter$.next(this.userDefinedMapCenter);
|
|
4067
|
+
this.subs$$.map(s => s.unsubscribe());
|
|
4068
|
+
this.map.geolocationController.followPosition = this.userDefinedFollowPosition;
|
|
4069
|
+
}
|
|
4070
|
+
onLocationTypeChange(e) {
|
|
4071
|
+
this.mapProximityState.proximitylocationType$.next(e.value);
|
|
4072
|
+
}
|
|
4073
|
+
/**
|
|
4074
|
+
* Copy the coordinates to a clipboard
|
|
4075
|
+
*/
|
|
4076
|
+
copyTextToClipboard() {
|
|
4077
|
+
var _a;
|
|
4078
|
+
const successful = Clipboard.copy((_a = this.mapProximityState.currentPositionCoordinate$) === null || _a === void 0 ? void 0 : _a.value.toString());
|
|
4079
|
+
if (successful) {
|
|
4080
|
+
const translate = this.languageService.translate;
|
|
4081
|
+
const title = translate.instant('igo.integration.map-proximity-tool.copyTitle');
|
|
4082
|
+
const msg = translate.instant('igo.integration.map-proximity-tool.copyMsg');
|
|
4083
|
+
this.messageService.success(msg, title);
|
|
4084
|
+
}
|
|
4085
|
+
}
|
|
4086
|
+
};
|
|
4087
|
+
MapProximityToolComponent.ɵfac = function MapProximityToolComponent_Factory(t) { return new (t || MapProximityToolComponent)(i0.ɵɵdirectiveInject(MapState), i0.ɵɵdirectiveInject(MapProximityState), i0.ɵɵdirectiveInject(i2.LanguageService), i0.ɵɵdirectiveInject(i2.MessageService)); };
|
|
4088
|
+
MapProximityToolComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MapProximityToolComponent, selectors: [["igo-map-proximity-tool"]], viewQuery: function MapProximityToolComponent_Query(rf, ctx) { if (rf & 1) {
|
|
4089
|
+
i0.ɵɵviewQuery(_c0$1, 7);
|
|
4090
|
+
} if (rf & 2) {
|
|
4091
|
+
let _t;
|
|
4092
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.table = _t.first);
|
|
4093
|
+
} }, decls: 31, vars: 35, consts: [[1, "table-compact", 3, "store", "template"], ["table", ""], ["class", "coordinates", 4, "ngIf"], ["class", "coordinates2", 4, "ngIf"], ["mat-icon-button", "", 3, "click", 4, "ngIf"], [1, "title-container"], [1, "title", "mat-typography"], [1, "igo-input-container", "mat-typography"], [3, "change"], ["value", "geolocation", 3, "checked"], ["value", "mapCenter", 3, "checked"], [1, "radius-unit"], ["appearance", "outline", "floatLabel", "always", 1, "measure-field"], ["type", "number", "pattern", "[0-9]*", "matInput", "", 3, "ngModel", "placeholder", "ngModelChange"], [1, "coordinates"], ["matInput", "", "readonly", "", "rows", "1", 3, "placeholder", "value"], ["textArea", ""], [1, "coordinates2"], ["mat-icon-button", "", 3, "click"], ["svgIcon", "content-copy"]], template: function MapProximityToolComponent_Template(rf, ctx) { if (rf & 1) {
|
|
4094
|
+
i0.ɵɵelement(0, "igo-entity-table", 0, 1);
|
|
4095
|
+
i0.ɵɵelement(2, "br");
|
|
4096
|
+
i0.ɵɵtemplate(3, MapProximityToolComponent_mat_form_field_3_Template, 4, 4, "mat-form-field", 2);
|
|
4097
|
+
i0.ɵɵpipe(4, "async");
|
|
4098
|
+
i0.ɵɵtemplate(5, MapProximityToolComponent_mat_form_field_5_Template, 4, 4, "mat-form-field", 3);
|
|
4099
|
+
i0.ɵɵpipe(6, "async");
|
|
4100
|
+
i0.ɵɵtemplate(7, MapProximityToolComponent_button_7_Template, 2, 0, "button", 4);
|
|
4101
|
+
i0.ɵɵpipe(8, "async");
|
|
4102
|
+
i0.ɵɵpipe(9, "async");
|
|
4103
|
+
i0.ɵɵelementStart(10, "div", 5);
|
|
4104
|
+
i0.ɵɵelementStart(11, "mat-label", 6);
|
|
4105
|
+
i0.ɵɵtext(12);
|
|
4106
|
+
i0.ɵɵpipe(13, "translate");
|
|
4107
|
+
i0.ɵɵelementEnd();
|
|
4108
|
+
i0.ɵɵelementEnd();
|
|
4109
|
+
i0.ɵɵelementStart(14, "div", 7);
|
|
4110
|
+
i0.ɵɵelementStart(15, "mat-radio-group", 8);
|
|
4111
|
+
i0.ɵɵlistener("change", function MapProximityToolComponent_Template_mat_radio_group_change_15_listener($event) { return ctx.onLocationTypeChange($event); });
|
|
4112
|
+
i0.ɵɵelementStart(16, "mat-radio-button", 9);
|
|
4113
|
+
i0.ɵɵpipe(17, "async");
|
|
4114
|
+
i0.ɵɵtext(18);
|
|
4115
|
+
i0.ɵɵpipe(19, "translate");
|
|
4116
|
+
i0.ɵɵelementEnd();
|
|
4117
|
+
i0.ɵɵelementStart(20, "mat-radio-button", 10);
|
|
4118
|
+
i0.ɵɵpipe(21, "async");
|
|
4119
|
+
i0.ɵɵtext(22);
|
|
4120
|
+
i0.ɵɵpipe(23, "translate");
|
|
4121
|
+
i0.ɵɵelementEnd();
|
|
4122
|
+
i0.ɵɵelementEnd();
|
|
4123
|
+
i0.ɵɵelementEnd();
|
|
4124
|
+
i0.ɵɵelementStart(24, "div", 11);
|
|
4125
|
+
i0.ɵɵelementStart(25, "mat-form-field", 12);
|
|
4126
|
+
i0.ɵɵelementStart(26, "mat-label");
|
|
4127
|
+
i0.ɵɵtext(27);
|
|
4128
|
+
i0.ɵɵpipe(28, "translate");
|
|
4129
|
+
i0.ɵɵelementEnd();
|
|
4130
|
+
i0.ɵɵelementStart(29, "input", 13);
|
|
4131
|
+
i0.ɵɵlistener("ngModelChange", function MapProximityToolComponent_Template_input_ngModelChange_29_listener($event) { return ctx.maxDistance = $event; });
|
|
4132
|
+
i0.ɵɵpipe(30, "translate");
|
|
4133
|
+
i0.ɵɵelementEnd();
|
|
4134
|
+
i0.ɵɵelementEnd();
|
|
4135
|
+
i0.ɵɵelementEnd();
|
|
4136
|
+
} if (rf & 2) {
|
|
4137
|
+
i0.ɵɵproperty("store", ctx.mapProximityState.proximityFeatureStore)("template", ctx.tableTemplate);
|
|
4138
|
+
i0.ɵɵadvance(3);
|
|
4139
|
+
i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(4, 13, ctx.mapProximityState.currentPositionCoordinate$));
|
|
4140
|
+
i0.ɵɵadvance(2);
|
|
4141
|
+
i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(6, 15, ctx.mapProximityState.currentPositionCoordinate$));
|
|
4142
|
+
i0.ɵɵadvance(2);
|
|
4143
|
+
i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(8, 17, ctx.mapProximityState.currentPositionCoordinate$) && i0.ɵɵpipeBind1(9, 19, ctx.mapProximityState.currentPositionCoordinate$).length);
|
|
4144
|
+
i0.ɵɵadvance(5);
|
|
4145
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(13, 21, "igo.integration.map-proximity-tool.method"));
|
|
4146
|
+
i0.ɵɵadvance(4);
|
|
4147
|
+
i0.ɵɵproperty("checked", i0.ɵɵpipeBind1(17, 23, ctx.mapProximityState.proximitylocationType$) === "geolocation");
|
|
4148
|
+
i0.ɵɵadvance(2);
|
|
4149
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(19, 25, "igo.integration.map-proximity-tool.geolocation"));
|
|
4150
|
+
i0.ɵɵadvance(2);
|
|
4151
|
+
i0.ɵɵproperty("checked", i0.ɵɵpipeBind1(21, 27, ctx.mapProximityState.proximitylocationType$) === "mapCenter");
|
|
4152
|
+
i0.ɵɵadvance(2);
|
|
4153
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(23, 29, "igo.integration.map-proximity-tool.mapCenter"));
|
|
4154
|
+
i0.ɵɵadvance(5);
|
|
4155
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(28, 31, "igo.integration.map-proximity-tool.radiusM"));
|
|
4156
|
+
i0.ɵɵadvance(2);
|
|
4157
|
+
i0.ɵɵpropertyInterpolate("placeholder", i0.ɵɵpipeBind1(30, 33, "igo.integration.map-proximity-tool.radiusM"));
|
|
4158
|
+
i0.ɵɵproperty("ngModel", ctx.maxDistance);
|
|
4159
|
+
} }, directives: [i4.EntityTableComponent, i5.NgIf, i6$1.MatLabel, i7$2.MatRadioGroup, i7$2.MatRadioButton, i6$1.MatFormField, i3$1.NumberValueAccessor, i10$1.MatInput, i3$1.DefaultValueAccessor, i3$1.PatternValidator, i3$1.NgControlStatus, i3$1.NgModel, i3.MatButton, i6.MatIcon], pipes: [i5.AsyncPipe, i8.TranslatePipe], styles: [".table-compact[_ngcontent-%COMP%]{height:auto}.table-compact[_ngcontent-%COMP%] .mat-header-cell.mat-column-selectionCheckbox{width:52px}textarea[_ngcontent-%COMP%]{resize:none}mat-form-field[_ngcontent-%COMP%]{padding:10px 15px}mat-form-field.coordinates[_ngcontent-%COMP%]{width:110px}mat-form-field.coordinates2[_ngcontent-%COMP%]{width:100px;padding:0 10px 0 3px}mat-form-field.igo-input-container[_ngcontent-%COMP%]{width:60%;padding:0 15px}.radius-unit[_ngcontent-%COMP%]{display:flex;width:90%;margin-left:2px;padding:5px}.radius-field[_ngcontent-%COMP%]{display:flex;flex-flow:column nowrap;width:60%}.title-container[_ngcontent-%COMP%]{padding:10px}.title[_ngcontent-%COMP%]{margin-left:5px;font-size:medium;font-size:initial}.mat-radio-group[_ngcontent-%COMP%]{display:flex;flex-direction:column;padding-top:10px}.mat-radio-button[_ngcontent-%COMP%]{display:inline-flex;position:relative;margin-left:16px;margin-top:10px}"] });
|
|
4160
|
+
MapProximityToolComponent = __decorate([
|
|
4161
|
+
ToolComponent({
|
|
4162
|
+
name: 'map-proximity',
|
|
4163
|
+
title: 'igo.integration.tools.closestFeature',
|
|
4164
|
+
icon: 'radius'
|
|
4165
|
+
})
|
|
4166
|
+
/**
|
|
4167
|
+
* Tool to handle the advanced map tools
|
|
4168
|
+
*/
|
|
4169
|
+
], MapProximityToolComponent);
|
|
4170
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MapProximityToolComponent, [{
|
|
4171
|
+
type: Component,
|
|
4172
|
+
args: [{
|
|
4173
|
+
selector: 'igo-map-proximity-tool',
|
|
4174
|
+
templateUrl: './map-proximity-tool.component.html',
|
|
4175
|
+
styleUrls: ['./map-proximity-tool.component.scss']
|
|
4176
|
+
}]
|
|
4177
|
+
}], function () { return [{ type: MapState }, { type: MapProximityState }, { type: i2.LanguageService }, { type: i2.MessageService }]; }, { table: [{
|
|
4178
|
+
type: ViewChild,
|
|
4179
|
+
args: ['table', { static: true }]
|
|
4180
|
+
}] }); })();
|
|
3755
4181
|
|
|
3756
4182
|
class IgoAppMapModule {
|
|
3757
4183
|
static forRoot() {
|
|
@@ -3784,12 +4210,14 @@ IgoAppMapModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [[
|
|
|
3784
4210
|
IgoDownloadModule,
|
|
3785
4211
|
IgoImportExportModule,
|
|
3786
4212
|
IgoFilterModule,
|
|
4213
|
+
MatRadioModule,
|
|
3787
4214
|
IgoContextModule,
|
|
3788
4215
|
IgoAppWorkspaceModule,
|
|
3789
4216
|
MatSlideToggleModule,
|
|
3790
4217
|
MatMenuModule,
|
|
3791
4218
|
MatButtonModule,
|
|
3792
|
-
MatTooltipModule
|
|
4219
|
+
MatTooltipModule,
|
|
4220
|
+
IgoEntityTableModule
|
|
3793
4221
|
]] });
|
|
3794
4222
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IgoAppMapModule, [{
|
|
3795
4223
|
type: NgModule,
|
|
@@ -3815,20 +4243,23 @@ IgoAppMapModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [[
|
|
|
3815
4243
|
IgoDownloadModule,
|
|
3816
4244
|
IgoImportExportModule,
|
|
3817
4245
|
IgoFilterModule,
|
|
4246
|
+
MatRadioModule,
|
|
3818
4247
|
IgoContextModule,
|
|
3819
4248
|
IgoAppWorkspaceModule,
|
|
3820
4249
|
MatSlideToggleModule,
|
|
3821
4250
|
MatMenuModule,
|
|
3822
4251
|
MatButtonModule,
|
|
3823
|
-
MatTooltipModule
|
|
4252
|
+
MatTooltipModule,
|
|
4253
|
+
IgoEntityTableModule
|
|
3824
4254
|
],
|
|
3825
|
-
declarations: [AdvancedMapToolComponent, MapToolComponent,
|
|
4255
|
+
declarations: [AdvancedMapToolComponent, MapProximityToolComponent, MapToolComponent,
|
|
3826
4256
|
MapToolsComponent, MapDetailsToolComponent, MapLegendToolComponent, AdvancedSwipeComponent, AdvancedCoordinatesComponent],
|
|
3827
|
-
exports: [AdvancedMapToolComponent,
|
|
4257
|
+
exports: [AdvancedMapToolComponent, MapProximityToolComponent, MapToolComponent,
|
|
4258
|
+
MapToolsComponent, MapDetailsToolComponent, MapLegendToolComponent],
|
|
3828
4259
|
schemas: [CUSTOM_ELEMENTS_SCHEMA]
|
|
3829
4260
|
}]
|
|
3830
4261
|
}], null, null); })();
|
|
3831
|
-
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(IgoAppMapModule, { declarations: [AdvancedMapToolComponent, MapToolComponent,
|
|
4262
|
+
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(IgoAppMapModule, { declarations: [AdvancedMapToolComponent, MapProximityToolComponent, MapToolComponent,
|
|
3832
4263
|
MapToolsComponent, MapDetailsToolComponent, MapLegendToolComponent, AdvancedSwipeComponent, AdvancedCoordinatesComponent], imports: [FormsModule,
|
|
3833
4264
|
ReactiveFormsModule,
|
|
3834
4265
|
MatButtonToggleModule,
|
|
@@ -3849,12 +4280,15 @@ IgoAppMapModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [[
|
|
|
3849
4280
|
IgoDownloadModule,
|
|
3850
4281
|
IgoImportExportModule,
|
|
3851
4282
|
IgoFilterModule,
|
|
4283
|
+
MatRadioModule,
|
|
3852
4284
|
IgoContextModule,
|
|
3853
4285
|
IgoAppWorkspaceModule,
|
|
3854
4286
|
MatSlideToggleModule,
|
|
3855
4287
|
MatMenuModule,
|
|
3856
4288
|
MatButtonModule,
|
|
3857
|
-
MatTooltipModule
|
|
4289
|
+
MatTooltipModule,
|
|
4290
|
+
IgoEntityTableModule], exports: [AdvancedMapToolComponent, MapProximityToolComponent, MapToolComponent,
|
|
4291
|
+
MapToolsComponent, MapDetailsToolComponent, MapLegendToolComponent] }); })();
|
|
3858
4292
|
|
|
3859
4293
|
/**
|
|
3860
4294
|
* Service that holds the state of the measure module
|
|
@@ -4111,14 +4545,14 @@ class SearchState {
|
|
|
4111
4545
|
this.searchResultsGeometryEnabled$.next(value);
|
|
4112
4546
|
}
|
|
4113
4547
|
}
|
|
4114
|
-
SearchState.ɵfac = function SearchState_Factory(t) { return new (t || SearchState)(i0.ɵɵinject(i1$1.SearchSourceService), i0.ɵɵinject(i2
|
|
4548
|
+
SearchState.ɵfac = function SearchState_Factory(t) { return new (t || SearchState)(i0.ɵɵinject(i1$1.SearchSourceService), i0.ɵɵinject(i2.StorageService), i0.ɵɵinject(i2.ConfigService)); };
|
|
4115
4549
|
SearchState.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: SearchState, factory: SearchState.ɵfac, providedIn: 'root' });
|
|
4116
4550
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SearchState, [{
|
|
4117
4551
|
type: Injectable,
|
|
4118
4552
|
args: [{
|
|
4119
4553
|
providedIn: 'root'
|
|
4120
4554
|
}]
|
|
4121
|
-
}], function () { return [{ type: i1$1.SearchSourceService }, { type: i2
|
|
4555
|
+
}], function () { return [{ type: i1$1.SearchSourceService }, { type: i2.StorageService }, { type: i2.ConfigService }]; }, null); })();
|
|
4122
4556
|
|
|
4123
4557
|
class SearchBarBindingDirective {
|
|
4124
4558
|
constructor(component, searchState) {
|
|
@@ -4223,17 +4657,17 @@ function SearchResultsToolComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
4223
4657
|
i0.ɵɵadvance(2);
|
|
4224
4658
|
i0.ɵɵproperty("innerHTML", i0.ɵɵpipeBind1(11, 7, i0.ɵɵpipeBind1(12, 9, "igo.integration.searchResultsTool.examples")), i0.ɵɵsanitizeHtml);
|
|
4225
4659
|
} }
|
|
4226
|
-
function
|
|
4660
|
+
function SearchResultsToolComponent_igo_flexible_2_ng_template_5_Template(rf, ctx) { if (rf & 1) {
|
|
4227
4661
|
i0.ɵɵelement(0, "igo-search-add-button", 12);
|
|
4228
4662
|
} if (rf & 2) {
|
|
4229
4663
|
const result_r6 = ctx.result;
|
|
4230
4664
|
const ctx_r4 = i0.ɵɵnextContext(2);
|
|
4231
4665
|
i0.ɵɵproperty("map", ctx_r4.map)("layer", result_r6);
|
|
4232
4666
|
} }
|
|
4233
|
-
function
|
|
4667
|
+
function SearchResultsToolComponent_igo_flexible_2_igo_panel_8_button_4_Template(rf, ctx) { if (rf & 1) {
|
|
4234
4668
|
const _r9 = i0.ɵɵgetCurrentView();
|
|
4235
4669
|
i0.ɵɵelementStart(0, "button", 18);
|
|
4236
|
-
i0.ɵɵlistener("click", function
|
|
4670
|
+
i0.ɵɵlistener("click", function SearchResultsToolComponent_igo_flexible_2_igo_panel_8_button_4_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r9); const ctx_r8 = i0.ɵɵnextContext(3); return ctx_r8.zoomToFeatureExtent(); });
|
|
4237
4671
|
i0.ɵɵpipe(1, "translate");
|
|
4238
4672
|
i0.ɵɵpipe(2, "async");
|
|
4239
4673
|
i0.ɵɵelement(3, "mat-icon", 19);
|
|
@@ -4246,17 +4680,17 @@ function SearchResultsToolComponent_igo_flexible_1_igo_panel_8_button_4_Template
|
|
|
4246
4680
|
i0.ɵɵadvance(3);
|
|
4247
4681
|
i0.ɵɵproperty("matBadge", i0.ɵɵpipeBind1(4, 7, ctx_r7.isSelectedResultOutOfView$) ? "!" : "")("matBadgeHidden", i0.ɵɵpipeBind1(5, 9, ctx_r7.isSelectedResultOutOfView$) === false);
|
|
4248
4682
|
} }
|
|
4249
|
-
function
|
|
4683
|
+
function SearchResultsToolComponent_igo_flexible_2_igo_panel_8_Template(rf, ctx) { if (rf & 1) {
|
|
4250
4684
|
const _r11 = i0.ɵɵgetCurrentView();
|
|
4251
4685
|
i0.ɵɵelementStart(0, "igo-panel", 13);
|
|
4252
4686
|
i0.ɵɵelementStart(1, "button", 14);
|
|
4253
|
-
i0.ɵɵlistener("click", function
|
|
4687
|
+
i0.ɵɵlistener("click", function SearchResultsToolComponent_igo_flexible_2_igo_panel_8_Template_button_click_1_listener() { i0.ɵɵrestoreView(_r11); const ctx_r10 = i0.ɵɵnextContext(2); return ctx_r10.toggleTopPanel(); });
|
|
4254
4688
|
i0.ɵɵelement(2, "mat-icon", 15);
|
|
4255
4689
|
i0.ɵɵpipe(3, "async");
|
|
4256
4690
|
i0.ɵɵelementEnd();
|
|
4257
|
-
i0.ɵɵtemplate(4,
|
|
4691
|
+
i0.ɵɵtemplate(4, SearchResultsToolComponent_igo_flexible_2_igo_panel_8_button_4_Template, 6, 11, "button", 16);
|
|
4258
4692
|
i0.ɵɵelementStart(5, "igo-feature-details", 17);
|
|
4259
|
-
i0.ɵɵlistener("routingEvent", function
|
|
4693
|
+
i0.ɵɵlistener("routingEvent", function SearchResultsToolComponent_igo_flexible_2_igo_panel_8_Template_igo_feature_details_routingEvent_5_listener() { i0.ɵɵrestoreView(_r11); const ctx_r12 = i0.ɵɵnextContext(2); return ctx_r12.getRoute(); });
|
|
4260
4694
|
i0.ɵɵpipe(6, "async");
|
|
4261
4695
|
i0.ɵɵelementEnd();
|
|
4262
4696
|
i0.ɵɵelementEnd();
|
|
@@ -4270,18 +4704,18 @@ function SearchResultsToolComponent_igo_flexible_1_igo_panel_8_Template(rf, ctx)
|
|
|
4270
4704
|
i0.ɵɵadvance(1);
|
|
4271
4705
|
i0.ɵɵproperty("feature", i0.ɵɵpipeBind1(6, 8, ctx_r5.feature$))("map", ctx_r5.map)("toolbox", ctx_r5.toolState.toolbox);
|
|
4272
4706
|
} }
|
|
4273
|
-
function
|
|
4707
|
+
function SearchResultsToolComponent_igo_flexible_2_Template(rf, ctx) { if (rf & 1) {
|
|
4274
4708
|
const _r14 = i0.ɵɵgetCurrentView();
|
|
4275
4709
|
i0.ɵɵelementStart(0, "igo-flexible", 5, 6);
|
|
4276
4710
|
i0.ɵɵpipe(2, "async");
|
|
4277
4711
|
i0.ɵɵelementStart(3, "div", 7);
|
|
4278
4712
|
i0.ɵɵelementStart(4, "igo-search-results", 8);
|
|
4279
|
-
i0.ɵɵlistener("resultFocus", function
|
|
4280
|
-
i0.ɵɵtemplate(5,
|
|
4713
|
+
i0.ɵɵlistener("resultFocus", function SearchResultsToolComponent_igo_flexible_2_Template_igo_search_results_resultFocus_4_listener($event) { i0.ɵɵrestoreView(_r14); const ctx_r13 = i0.ɵɵnextContext(); return ctx_r13.onResultFocus($event); })("resultSelect", function SearchResultsToolComponent_igo_flexible_2_Template_igo_search_results_resultSelect_4_listener($event) { i0.ɵɵrestoreView(_r14); const ctx_r15 = i0.ɵɵnextContext(); return ctx_r15.onResultSelect($event); })("resultUnfocus", function SearchResultsToolComponent_igo_flexible_2_Template_igo_search_results_resultUnfocus_4_listener($event) { i0.ɵɵrestoreView(_r14); const ctx_r16 = i0.ɵɵnextContext(); return ctx_r16.onResultUnfocus($event); })("resultMouseenter", function SearchResultsToolComponent_igo_flexible_2_Template_igo_search_results_resultMouseenter_4_listener($event) { i0.ɵɵrestoreView(_r14); const ctx_r17 = i0.ɵɵnextContext(); return ctx_r17.onResultFocus($event); })("resultMouseleave", function SearchResultsToolComponent_igo_flexible_2_Template_igo_search_results_resultMouseleave_4_listener($event) { i0.ɵɵrestoreView(_r14); const ctx_r18 = i0.ɵɵnextContext(); return ctx_r18.onResultUnfocus($event); })("moreResults", function SearchResultsToolComponent_igo_flexible_2_Template_igo_search_results_moreResults_4_listener($event) { i0.ɵɵrestoreView(_r14); const ctx_r19 = i0.ɵɵnextContext(); return ctx_r19.onSearch($event); });
|
|
4714
|
+
i0.ɵɵtemplate(5, SearchResultsToolComponent_igo_flexible_2_ng_template_5_Template, 1, 2, "ng-template", null, 9, i0.ɵɵtemplateRefExtractor);
|
|
4281
4715
|
i0.ɵɵelementEnd();
|
|
4282
4716
|
i0.ɵɵelementEnd();
|
|
4283
4717
|
i0.ɵɵelementStart(7, "div", 10);
|
|
4284
|
-
i0.ɵɵtemplate(8,
|
|
4718
|
+
i0.ɵɵtemplate(8, SearchResultsToolComponent_igo_flexible_2_igo_panel_8_Template, 7, 10, "igo-panel", 11);
|
|
4285
4719
|
i0.ɵɵpipe(9, "async");
|
|
4286
4720
|
i0.ɵɵelementEnd();
|
|
4287
4721
|
i0.ɵɵelementEnd();
|
|
@@ -4307,11 +4741,16 @@ let SearchResultsToolComponent = class SearchResultsToolComponent {
|
|
|
4307
4741
|
* to show hide results icons
|
|
4308
4742
|
*/
|
|
4309
4743
|
this.showIcons = true;
|
|
4744
|
+
/**
|
|
4745
|
+
* Determine the top panel default state
|
|
4746
|
+
*/
|
|
4747
|
+
this.topPanelStateDefault = 'expanded';
|
|
4310
4748
|
this.hasFeatureEmphasisOnSelection = false;
|
|
4311
4749
|
this.shownResultsGeometries = [];
|
|
4312
4750
|
this.shownResultsEmphasisGeometries = [];
|
|
4313
4751
|
this.focusedResult$ = new BehaviorSubject(undefined);
|
|
4314
4752
|
this.isSelectedResultOutOfView$ = new BehaviorSubject(false);
|
|
4753
|
+
this.debouncedEmpty$ = new BehaviorSubject(true);
|
|
4315
4754
|
this.term = '';
|
|
4316
4755
|
this.settingsChange$ = new BehaviorSubject(undefined);
|
|
4317
4756
|
this.topPanelState$ = new BehaviorSubject('initial');
|
|
@@ -4424,6 +4863,7 @@ let SearchResultsToolComponent = class SearchResultsToolComponent {
|
|
|
4424
4863
|
}
|
|
4425
4864
|
});
|
|
4426
4865
|
});
|
|
4866
|
+
this.debouncedEmpty$$ = this.store.stateView.empty$.pipe(debounceTime(1500)).subscribe(empty => this.debouncedEmpty$.next(empty));
|
|
4427
4867
|
}
|
|
4428
4868
|
monitorResultOutOfView() {
|
|
4429
4869
|
this.isSelectedResultOutOfView$$ = combineLatest([
|
|
@@ -4523,6 +4963,9 @@ let SearchResultsToolComponent = class SearchResultsToolComponent {
|
|
|
4523
4963
|
if (this.getRoute$$) {
|
|
4524
4964
|
this.getRoute$$.unsubscribe();
|
|
4525
4965
|
}
|
|
4966
|
+
if (this.debouncedEmpty$$) {
|
|
4967
|
+
this.debouncedEmpty$$.unsubscribe();
|
|
4968
|
+
}
|
|
4526
4969
|
}
|
|
4527
4970
|
/**
|
|
4528
4971
|
* Try to add a feature to the map when it's being focused
|
|
@@ -4567,18 +5010,20 @@ let SearchResultsToolComponent = class SearchResultsToolComponent {
|
|
|
4567
5010
|
this.map.searchResultsOverlay.dataSource.ol.clear();
|
|
4568
5011
|
this.tryAddFeatureToMap(result);
|
|
4569
5012
|
this.searchState.setSelectedResult(result);
|
|
5013
|
+
if (this.topPanelState === 'initial') {
|
|
5014
|
+
if (this.topPanelStateDefault !== 'collapsed') {
|
|
5015
|
+
this.topPanelState = 'expanded';
|
|
5016
|
+
}
|
|
5017
|
+
else {
|
|
5018
|
+
this.topPanelState = 'collapsed';
|
|
5019
|
+
}
|
|
5020
|
+
}
|
|
4570
5021
|
if (this.topPanelState === 'expanded') {
|
|
4571
5022
|
const igoList = this.computeElementRef()[0];
|
|
4572
5023
|
const selected = this.computeElementRef()[1];
|
|
4573
|
-
|
|
4574
|
-
|
|
4575
|
-
|
|
4576
|
-
this.adjustTopPanel(igoList, selected);
|
|
4577
|
-
}
|
|
4578
|
-
}, FlexibleComponent.transitionTime + 50);
|
|
4579
|
-
}
|
|
4580
|
-
if (this.topPanelState === 'initial') {
|
|
4581
|
-
this.topPanelState = 'expanded';
|
|
5024
|
+
if (!this.isScrolledIntoView(igoList, selected)) {
|
|
5025
|
+
this.adjustTopPanel(igoList, selected);
|
|
5026
|
+
}
|
|
4582
5027
|
}
|
|
4583
5028
|
}
|
|
4584
5029
|
onSearch(event) {
|
|
@@ -4709,21 +5154,31 @@ let SearchResultsToolComponent = class SearchResultsToolComponent {
|
|
|
4709
5154
|
stop.text = this.featureTitle;
|
|
4710
5155
|
stop.coordinates = coord;
|
|
4711
5156
|
this.directionState.stopsStore.update(stop);
|
|
5157
|
+
if (this.map.geolocationController.position$.value) {
|
|
5158
|
+
const currentPos = this.map.geolocationController.position$.value;
|
|
5159
|
+
const stop = this.directionState.stopsStore.all().find((e) => e.position === 0);
|
|
5160
|
+
const currentCoord = olProj.transform(currentPos.position, currentPos.projection, 'EPSG:4326');
|
|
5161
|
+
const coord = roundCoordTo([currentCoord[0], currentCoord[1]], 6);
|
|
5162
|
+
stop.text = coord.join(',');
|
|
5163
|
+
stop.coordinates = coord;
|
|
5164
|
+
this.directionState.stopsStore.update(stop);
|
|
5165
|
+
}
|
|
4712
5166
|
}
|
|
4713
5167
|
});
|
|
4714
5168
|
}, 250);
|
|
4715
5169
|
}
|
|
4716
5170
|
};
|
|
4717
|
-
SearchResultsToolComponent.ɵfac = function SearchResultsToolComponent_Factory(t) { return new (t || SearchResultsToolComponent)(i0.ɵɵdirectiveInject(MapState), i0.ɵɵdirectiveInject(SearchState), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(ToolState), i0.ɵɵdirectiveInject(DirectionState), i0.ɵɵdirectiveInject(i2
|
|
4718
|
-
SearchResultsToolComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SearchResultsToolComponent, selectors: [["igo-search-results-tool"]], inputs: { showIcons: "showIcons", topPanelState: "topPanelState" }, decls:
|
|
5171
|
+
SearchResultsToolComponent.ɵfac = function SearchResultsToolComponent_Factory(t) { return new (t || SearchResultsToolComponent)(i0.ɵɵdirectiveInject(MapState), i0.ɵɵdirectiveInject(SearchState), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(ToolState), i0.ɵɵdirectiveInject(DirectionState), i0.ɵɵdirectiveInject(i2.ConfigService)); };
|
|
5172
|
+
SearchResultsToolComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SearchResultsToolComponent, selectors: [["igo-search-results-tool"]], inputs: { showIcons: "showIcons", topPanelStateDefault: "topPanelStateDefault", topPanelState: "topPanelState" }, decls: 4, vars: 6, consts: [["style", "margin: 10px;", 4, "ngIf"], ["initial", "100%", "initialMobile", "100%", "collapsed", "calc(100% - 58px)", "collapsedMobile", "calc(100% - 58px)", "expanded", "60%", "expandedMobile", "60%", 3, "state", 4, "ngIf"], [2, "margin", "10px"], [1, "mat-typography"], [3, "innerHTML"], ["initial", "100%", "initialMobile", "100%", "collapsed", "calc(100% - 58px)", "collapsedMobile", "calc(100% - 58px)", "expanded", "60%", "expandedMobile", "60%", 3, "state"], ["topPanel", ""], [1, "igo-content"], ["placeholder", "false", 3, "store", "showIcons", "term", "termSplitter", "settingsChange$", "resultFocus", "resultSelect", "resultUnfocus", "resultMouseenter", "resultMouseleave", "moreResults"], ["igoSearchItemToolbar", ""], ["igoFlexibleFill", "", 1, "igo-content"], [3, "title", 4, "ngIf"], [3, "map", "layer"], [3, "title"], ["mat-icon-button", "", "panelLeftButton", "", 1, "igo-icon-button", 3, "click"], [3, "svgIcon"], ["mat-icon-button", "", "panelRightButton", "", "class", "igo-icon-button", "matTooltipShowDelay", "500", 3, "matTooltip", "click", 4, "ngIf"], ["igoFeatureDetailsDirective", "", 3, "feature", "map", "toolbox", "routingEvent"], ["mat-icon-button", "", "panelRightButton", "", "matTooltipShowDelay", "500", 1, "igo-icon-button", 3, "matTooltip", "click"], ["matBadgeColor", "accent", "matBadgeSize", "small", "svgIcon", "magnify-plus-outline", 3, "matBadge", "matBadgeHidden"]], template: function SearchResultsToolComponent_Template(rf, ctx) { if (rf & 1) {
|
|
4719
5173
|
i0.ɵɵtemplate(0, SearchResultsToolComponent_div_0_Template, 13, 11, "div", 0);
|
|
4720
|
-
i0.ɵɵ
|
|
4721
|
-
i0.ɵɵ
|
|
5174
|
+
i0.ɵɵpipe(1, "async");
|
|
5175
|
+
i0.ɵɵtemplate(2, SearchResultsToolComponent_igo_flexible_2_Template, 10, 11, "igo-flexible", 1);
|
|
5176
|
+
i0.ɵɵpipe(3, "async");
|
|
4722
5177
|
} if (rf & 2) {
|
|
4723
|
-
i0.ɵɵproperty("ngIf", !ctx.store || ctx.store.stateView.empty);
|
|
4724
|
-
i0.ɵɵadvance(
|
|
4725
|
-
i0.ɵɵproperty("ngIf", ctx.store && i0.ɵɵpipeBind1(
|
|
4726
|
-
} }, directives: [
|
|
5178
|
+
i0.ɵɵproperty("ngIf", (!ctx.store || ctx.store.stateView.empty) && i0.ɵɵpipeBind1(1, 2, ctx.debouncedEmpty$));
|
|
5179
|
+
i0.ɵɵadvance(2);
|
|
5180
|
+
i0.ɵɵproperty("ngIf", ctx.store && i0.ɵɵpipeBind1(3, 4, ctx.store.stateView.empty$) === false);
|
|
5181
|
+
} }, directives: [i5.NgIf, i4.FlexibleComponent, i1$1.SearchResultsComponent, i1$1.SearchResultAddButtonComponent, i4.PanelComponent, i3.MatButton, i6.MatIcon, i1$1.FeatureDetailsComponent, i1$1.FeatureDetailsDirective, i4$1.MatTooltip, i12.MatBadge], pipes: [i5.AsyncPipe, i8.TranslatePipe, i4.SanitizeHtmlPipe], encapsulation: 2, changeDetection: 0 });
|
|
4727
5182
|
SearchResultsToolComponent = __decorate([
|
|
4728
5183
|
ToolComponent({
|
|
4729
5184
|
name: 'searchResults',
|
|
@@ -4738,7 +5193,9 @@ SearchResultsToolComponent = __decorate([
|
|
|
4738
5193
|
templateUrl: './search-results-tool.component.html',
|
|
4739
5194
|
changeDetection: ChangeDetectionStrategy.OnPush
|
|
4740
5195
|
}]
|
|
4741
|
-
}], function () { return [{ type: MapState }, { type: SearchState }, { type: i0.ElementRef }, { type: ToolState }, { type: DirectionState }, { type: i2
|
|
5196
|
+
}], function () { return [{ type: MapState }, { type: SearchState }, { type: i0.ElementRef }, { type: ToolState }, { type: DirectionState }, { type: i2.ConfigService }]; }, { showIcons: [{
|
|
5197
|
+
type: Input
|
|
5198
|
+
}], topPanelStateDefault: [{
|
|
4742
5199
|
type: Input
|
|
4743
5200
|
}], topPanelState: [{
|
|
4744
5201
|
type: Input
|
|
@@ -5134,6 +5591,32 @@ let SpatialFilterToolComponent = class SpatialFilterToolComponent {
|
|
|
5134
5591
|
i++;
|
|
5135
5592
|
}
|
|
5136
5593
|
}
|
|
5594
|
+
this.defaultStyle = (_feature, resolution) => {
|
|
5595
|
+
const coordinates = features[0].coordinates;
|
|
5596
|
+
return new olstyle.Style({
|
|
5597
|
+
image: new olstyle.Circle({
|
|
5598
|
+
radius: coordinates
|
|
5599
|
+
? this.buffer /
|
|
5600
|
+
Math.cos((Math.PI / 180) * coordinates[1]) /
|
|
5601
|
+
resolution
|
|
5602
|
+
: undefined,
|
|
5603
|
+
fill: new olstyle.Fill({
|
|
5604
|
+
color: 'rgba(200, 200, 20, 0.2)'
|
|
5605
|
+
}),
|
|
5606
|
+
stroke: new olstyle.Stroke({
|
|
5607
|
+
width: 1,
|
|
5608
|
+
color: 'orange'
|
|
5609
|
+
})
|
|
5610
|
+
}),
|
|
5611
|
+
stroke: new olstyle.Stroke({
|
|
5612
|
+
width: 1,
|
|
5613
|
+
color: 'orange'
|
|
5614
|
+
}),
|
|
5615
|
+
fill: new olstyle.Fill({
|
|
5616
|
+
color: 'rgba(200, 200, 20, 0.2)'
|
|
5617
|
+
})
|
|
5618
|
+
});
|
|
5619
|
+
};
|
|
5137
5620
|
this.dataSourceService
|
|
5138
5621
|
.createAsyncDataSource({
|
|
5139
5622
|
type: 'vector',
|
|
@@ -5151,33 +5634,7 @@ let SpatialFilterToolComponent = class SpatialFilterToolComponent {
|
|
|
5151
5634
|
: undefined
|
|
5152
5635
|
},
|
|
5153
5636
|
source: dataSource,
|
|
5154
|
-
visible: true
|
|
5155
|
-
style: (_feature, resolution) => {
|
|
5156
|
-
const coordinates = features[0].coordinates;
|
|
5157
|
-
return new olstyle.Style({
|
|
5158
|
-
image: new olstyle.Circle({
|
|
5159
|
-
radius: coordinates
|
|
5160
|
-
? this.buffer /
|
|
5161
|
-
Math.cos((Math.PI / 180) * coordinates[1]) /
|
|
5162
|
-
resolution
|
|
5163
|
-
: undefined,
|
|
5164
|
-
fill: new olstyle.Fill({
|
|
5165
|
-
color: 'rgba(200, 200, 20, 0.2)'
|
|
5166
|
-
}),
|
|
5167
|
-
stroke: new olstyle.Stroke({
|
|
5168
|
-
width: 1,
|
|
5169
|
-
color: 'orange'
|
|
5170
|
-
})
|
|
5171
|
-
}),
|
|
5172
|
-
stroke: new olstyle.Stroke({
|
|
5173
|
-
width: 1,
|
|
5174
|
-
color: 'orange'
|
|
5175
|
-
}),
|
|
5176
|
-
fill: new olstyle.Fill({
|
|
5177
|
-
color: 'rgba(200, 200, 20, 0.2)'
|
|
5178
|
-
})
|
|
5179
|
-
});
|
|
5180
|
-
}
|
|
5637
|
+
visible: true
|
|
5181
5638
|
});
|
|
5182
5639
|
const featuresOl = features.map(f => {
|
|
5183
5640
|
return featureToOl(f, this.map.projection);
|
|
@@ -5189,6 +5646,7 @@ let SpatialFilterToolComponent = class SpatialFilterToolComponent {
|
|
|
5189
5646
|
}
|
|
5190
5647
|
const ol = dataSource.ol;
|
|
5191
5648
|
ol.addFeatures(featuresOl);
|
|
5649
|
+
olLayer.ol.setStyle(this.defaultStyle);
|
|
5192
5650
|
this.map.addLayer(olLayer);
|
|
5193
5651
|
this.layers.push(olLayer);
|
|
5194
5652
|
this.activeLayers.push(olLayer);
|
|
@@ -5340,7 +5798,7 @@ let SpatialFilterToolComponent = class SpatialFilterToolComponent {
|
|
|
5340
5798
|
this.activeLayers.push(layer);
|
|
5341
5799
|
}
|
|
5342
5800
|
};
|
|
5343
|
-
SpatialFilterToolComponent.ɵfac = function SpatialFilterToolComponent_Factory(t) { return new (t || SpatialFilterToolComponent)(i0.ɵɵdirectiveInject(i6.MatIconRegistry), i0.ɵɵdirectiveInject(i1$1.SpatialFilterService), i0.ɵɵdirectiveInject(i1$1.DataSourceService), i0.ɵɵdirectiveInject(i1$1.LayerService), i0.ɵɵdirectiveInject(MapState), i0.ɵɵdirectiveInject(i2
|
|
5801
|
+
SpatialFilterToolComponent.ɵfac = function SpatialFilterToolComponent_Factory(t) { return new (t || SpatialFilterToolComponent)(i0.ɵɵdirectiveInject(i6.MatIconRegistry), i0.ɵɵdirectiveInject(i1$1.SpatialFilterService), i0.ɵɵdirectiveInject(i1$1.DataSourceService), i0.ɵɵdirectiveInject(i1$1.LayerService), i0.ɵɵdirectiveInject(MapState), i0.ɵɵdirectiveInject(i2.MessageService), i0.ɵɵdirectiveInject(i2.LanguageService), i0.ɵɵdirectiveInject(ImportExportState), i0.ɵɵdirectiveInject(ToolState), i0.ɵɵdirectiveInject(WorkspaceState), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
|
|
5344
5802
|
SpatialFilterToolComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SpatialFilterToolComponent, selectors: [["igo-spatial-filter-tool"]], inputs: { type: "type", itemType: "itemType", freehandDrawIsActive: "freehandDrawIsActive" }, decls: 6, vars: 16, consts: [[3, "store", "selectedQueryType", "zone", "layers", "eventType", "eventQueryType", "zoneChange", "zoneWithBufferChange", "bufferChange", "measureUnitChange"], [3, "type", "queryType", "map", "zone", "loading", "store", "layers", "allLayers", "thematicLength", "radiusEvent", "bufferEvent", "measureUnitChange", "freehandControl", "drawZoneEvent", "zoneWithBufferChange", "itemTypeChange", "thematicChange", "toggleSearch", "clearButtonEvent", "clearSearchEvent", "export", "openWorkspace", "entityChange"], [4, "ngIf"], [3, "feature"]], template: function SpatialFilterToolComponent_Template(rf, ctx) { if (rf & 1) {
|
|
5345
5803
|
i0.ɵɵelementStart(0, "igo-panel");
|
|
5346
5804
|
i0.ɵɵelementStart(1, "igo-spatial-filter-type", 0);
|
|
@@ -5361,7 +5819,7 @@ SpatialFilterToolComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type:
|
|
|
5361
5819
|
i0.ɵɵproperty("type", ctx.type)("queryType", ctx.queryType)("map", ctx.map)("zone", ctx.zone)("loading", ctx.loading)("store", ctx.store)("layers", ctx.activeLayers)("allLayers", ctx.layers)("thematicLength", ctx.thematicLength);
|
|
5362
5820
|
i0.ɵɵadvance(2);
|
|
5363
5821
|
i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(5, 14, ctx.selectedFeature$));
|
|
5364
|
-
} }, directives: [i1$1.SpatialFilterTypeComponent, i1$1.SpatialFilterItemComponent,
|
|
5822
|
+
} }, directives: [i1$1.SpatialFilterTypeComponent, i1$1.SpatialFilterItemComponent, i5.NgIf], pipes: [i5.AsyncPipe], styles: [""], changeDetection: 0 });
|
|
5365
5823
|
SpatialFilterToolComponent = __decorate([
|
|
5366
5824
|
ToolComponent({
|
|
5367
5825
|
name: 'spatialFilter',
|
|
@@ -5380,7 +5838,7 @@ SpatialFilterToolComponent = __decorate([
|
|
|
5380
5838
|
styleUrls: ['./spatial-filter-tool.component.scss'],
|
|
5381
5839
|
changeDetection: ChangeDetectionStrategy.OnPush
|
|
5382
5840
|
}]
|
|
5383
|
-
}], function () { return [{ type: i6.MatIconRegistry }, { type: i1$1.SpatialFilterService }, { type: i1$1.DataSourceService }, { type: i1$1.LayerService }, { type: MapState }, { type: i2
|
|
5841
|
+
}], function () { return [{ type: i6.MatIconRegistry }, { type: i1$1.SpatialFilterService }, { type: i1$1.DataSourceService }, { type: i1$1.LayerService }, { type: MapState }, { type: i2.MessageService }, { type: i2.LanguageService }, { type: ImportExportState }, { type: ToolState }, { type: WorkspaceState }, { type: i0.ChangeDetectorRef }]; }, { type: [{
|
|
5384
5842
|
type: Input
|
|
5385
5843
|
}], itemType: [{
|
|
5386
5844
|
type: Input
|
|
@@ -5652,7 +6110,7 @@ let AboutToolComponent = class AboutToolComponent {
|
|
|
5652
6110
|
return name;
|
|
5653
6111
|
}
|
|
5654
6112
|
};
|
|
5655
|
-
AboutToolComponent.ɵfac = function AboutToolComponent_Factory(t) { return new (t || AboutToolComponent)(i0.ɵɵdirectiveInject(i2
|
|
6113
|
+
AboutToolComponent.ɵfac = function AboutToolComponent_Factory(t) { return new (t || AboutToolComponent)(i0.ɵɵdirectiveInject(i2.ConfigService), i0.ɵɵdirectiveInject(i2$1.AuthService), i0.ɵɵdirectiveInject(i3$2.HttpClient), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i2.LanguageService)); };
|
|
5656
6114
|
AboutToolComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AboutToolComponent, selectors: [["igo-about-tool"]], inputs: { headerHtml: "headerHtml", html: "html", discoverTitleInLocale: "discoverTitleInLocale", trainingGuideURLs: "trainingGuideURLs" }, decls: 10, vars: 11, consts: [["mat-raised-button", "", "tourToStart", "global", "menuIsOpen", "true", "styleButton", "raised", 3, "discoverTitleInLocale$"], ["class", "training-guide-button", "mat-raised-button", "", "tooltip-position", "below", "matTooltipShowDelay", "500", 3, "disabled", "matTooltip", "click", 4, "ngIf"], ["class", "training-guide-button", "mat-raised-button", "", "tooltip-position", "below", "matTooltipShowDelay", "500", 3, "disabled", "matTooltip", "matMenuTriggerFor", 4, "ngIf"], ["menu", "matMenu"], ["mat-menu-item", "", 3, "click", 4, "ngFor", "ngForOf"], ["class", "mat-typography", 3, "html", 4, "ngIf"], [1, "mat-typography", 3, "html"], ["mat-raised-button", "", "tooltip-position", "below", "matTooltipShowDelay", "500", 1, "training-guide-button", 3, "disabled", "matTooltip", "click"], ["svgIcon", "file-document"], ["mat-raised-button", "", "tooltip-position", "below", "matTooltipShowDelay", "500", 1, "training-guide-button", 3, "disabled", "matTooltip", "matMenuTriggerFor"], ["mat-menu-item", "", 3, "click"]], template: function AboutToolComponent_Template(rf, ctx) { if (rf & 1) {
|
|
5657
6115
|
i0.ɵɵelement(0, "p");
|
|
5658
6116
|
i0.ɵɵelement(1, "igo-interactive-tour", 0);
|
|
@@ -5677,7 +6135,7 @@ AboutToolComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AboutToo
|
|
|
5677
6135
|
i0.ɵɵproperty("ngIf", ctx.headerHtml !== "");
|
|
5678
6136
|
i0.ɵɵadvance(1);
|
|
5679
6137
|
i0.ɵɵproperty("html", i0.ɵɵpipeBind2(9, 6, ctx.html, i0.ɵɵpureFunction1(9, _c0, ctx.version)));
|
|
5680
|
-
} }, directives: [i4.InteractiveTourComponent,
|
|
6138
|
+
} }, directives: [i4.InteractiveTourComponent, i5.NgIf, i6$2.MatMenu, i5.NgForOf, i4.CustomHtmlComponent, i3.MatButton, i4$1.MatTooltip, i6.MatIcon, i6$2.MatMenuTrigger, i6$2.MatMenuItem], pipes: [i8.TranslatePipe], styles: ["igo-interactive-tour[_ngcontent-%COMP%]{margin-left:20px}.training-guide-button[_ngcontent-%COMP%]{margin-left:5px;background-color:#1976d2;color:#fff;padding:0 12px}"] });
|
|
5681
6139
|
AboutToolComponent = __decorate([
|
|
5682
6140
|
ToolComponent({
|
|
5683
6141
|
name: 'about',
|
|
@@ -5692,7 +6150,7 @@ AboutToolComponent = __decorate([
|
|
|
5692
6150
|
templateUrl: './about-tool.component.html',
|
|
5693
6151
|
styleUrls: ['./about-tool.component.scss']
|
|
5694
6152
|
}]
|
|
5695
|
-
}], function () { return [{ type: i2
|
|
6153
|
+
}], function () { return [{ type: i2.ConfigService }, { type: i2$1.AuthService }, { type: i3$2.HttpClient }, { type: i0.ChangeDetectorRef }, { type: i2.LanguageService }]; }, { headerHtml: [{
|
|
5696
6154
|
type: Input
|
|
5697
6155
|
}], html: [{
|
|
5698
6156
|
type: Input
|
|
@@ -5888,14 +6346,14 @@ class AnalyticsListenerService {
|
|
|
5888
6346
|
});
|
|
5889
6347
|
}
|
|
5890
6348
|
}
|
|
5891
|
-
AnalyticsListenerService.ɵfac = function AnalyticsListenerService_Factory(t) { return new (t || AnalyticsListenerService)(i0.ɵɵinject(i2
|
|
6349
|
+
AnalyticsListenerService.ɵfac = function AnalyticsListenerService_Factory(t) { return new (t || AnalyticsListenerService)(i0.ɵɵinject(i2.AnalyticsService), i0.ɵɵinject(i2$1.AuthService), i0.ɵɵinject(ContextState), i0.ɵɵinject(SearchState), i0.ɵɵinject(ToolState)); };
|
|
5892
6350
|
AnalyticsListenerService.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: AnalyticsListenerService, factory: AnalyticsListenerService.ɵfac, providedIn: 'root' });
|
|
5893
6351
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AnalyticsListenerService, [{
|
|
5894
6352
|
type: Injectable,
|
|
5895
6353
|
args: [{
|
|
5896
6354
|
providedIn: 'root'
|
|
5897
6355
|
}]
|
|
5898
|
-
}], function () { return [{ type: i2
|
|
6356
|
+
}], function () { return [{ type: i2.AnalyticsService }, { type: i2$1.AuthService }, { type: ContextState }, { type: SearchState }, { type: ToolState }]; }, null); })();
|
|
5899
6357
|
|
|
5900
6358
|
/**
|
|
5901
6359
|
* Service that holds the state of the query module
|
|
@@ -5918,14 +6376,14 @@ class QueryState {
|
|
|
5918
6376
|
}
|
|
5919
6377
|
}
|
|
5920
6378
|
}
|
|
5921
|
-
QueryState.ɵfac = function QueryState_Factory(t) { return new (t || QueryState)(i0.ɵɵinject(i2
|
|
6379
|
+
QueryState.ɵfac = function QueryState_Factory(t) { return new (t || QueryState)(i0.ɵɵinject(i2.ConfigService)); };
|
|
5922
6380
|
QueryState.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: QueryState, factory: QueryState.ɵfac, providedIn: 'root' });
|
|
5923
6381
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(QueryState, [{
|
|
5924
6382
|
type: Injectable,
|
|
5925
6383
|
args: [{
|
|
5926
6384
|
providedIn: 'root'
|
|
5927
6385
|
}]
|
|
5928
|
-
}], function () { return [{ type: i2
|
|
6386
|
+
}], function () { return [{ type: i2.ConfigService }]; }, null); })();
|
|
5929
6387
|
|
|
5930
6388
|
/*
|
|
5931
6389
|
* Public API Surface of tools
|
|
@@ -5935,5 +6393,5 @@ QueryState.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: QueryState, f
|
|
|
5935
6393
|
* Generated bundle index. Do not edit.
|
|
5936
6394
|
*/
|
|
5937
6395
|
|
|
5938
|
-
export { AboutToolComponent, ActiveOgcFilterToolComponent, ActiveTimeFilterToolComponent, AdvancedMapToolComponent, AnalyticsListenerService, CatalogBrowserToolComponent, CatalogLibraryToolComponent, CatalogState, ContextEditorToolComponent, ContextManagerToolComponent, ContextPermissionManagerToolComponent, ContextShareToolComponent, ContextState, DirectionState, DirectionsToolComponent, DrawState, DrawingToolComponent, FeatureActionsService, IgoAppAboutModule, IgoAppAnalyticsModule, IgoAppCatalogBrowserToolModule, IgoAppCatalogLibraryToolModule, IgoAppCatalogModule, IgoAppContextModule, IgoAppDirectionsModule, IgoAppDrawModule, IgoAppFilterModule, IgoAppImportExportModule, IgoAppMapModule, IgoAppMeasureModule, IgoAppMeasurerToolModule, IgoAppPrintModule, IgoAppSearchBarModule, IgoAppSearchModule, IgoAppSearchResultsToolModule, IgoAppStorageModule, IgoAppToolModule, IgoAppWorkspaceModule, IgoIntegrationModule, ImportExportMode, ImportExportState, ImportExportToolComponent, ImportExportType, MapDetailsToolComponent, MapLegendToolComponent, MapState, MapToolComponent, MapToolsComponent, MeasureState, MeasurerToolComponent, OgcFilterToolComponent, PrintToolComponent, QueryState, SearchBarBindingDirective, SearchResultsToolComponent, SearchState, SpatialFilterToolComponent, StorageState, TimeFilterToolComponent, ToolState, WfsActionsService, WorkspaceButtonComponent, WorkspaceState };
|
|
6396
|
+
export { AboutToolComponent, ActiveOgcFilterToolComponent, ActiveTimeFilterToolComponent, AdvancedMapToolComponent, AnalyticsListenerService, CatalogBrowserToolComponent, CatalogLibraryToolComponent, CatalogState, ContextEditorToolComponent, ContextManagerToolComponent, ContextPermissionManagerToolComponent, ContextShareToolComponent, ContextState, DirectionState, DirectionsToolComponent, DrawState, DrawingToolComponent, FeatureActionsService, IgoAppAboutModule, IgoAppAnalyticsModule, IgoAppCatalogBrowserToolModule, IgoAppCatalogLibraryToolModule, IgoAppCatalogModule, IgoAppContextModule, IgoAppDirectionsModule, IgoAppDrawModule, IgoAppFilterModule, IgoAppImportExportModule, IgoAppMapModule, IgoAppMeasureModule, IgoAppMeasurerToolModule, IgoAppPrintModule, IgoAppSearchBarModule, IgoAppSearchModule, IgoAppSearchResultsToolModule, IgoAppStorageModule, IgoAppToolModule, IgoAppWorkspaceModule, IgoIntegrationModule, ImportExportMode, ImportExportState, ImportExportToolComponent, ImportExportType, MapDetailsToolComponent, MapLegendToolComponent, MapProximityState, MapProximityToolComponent, MapState, MapToolComponent, MapToolsComponent, MeasureState, MeasurerToolComponent, OgcFilterToolComponent, PrintToolComponent, QueryState, SearchBarBindingDirective, SearchResultsToolComponent, SearchState, SpatialFilterToolComponent, StorageState, TimeFilterToolComponent, ToolState, WfsActionsService, WorkspaceButtonComponent, WorkspaceState };
|
|
5939
6397
|
//# sourceMappingURL=igo2-integration.js.map
|