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