@igo2/integration 1.9.0 → 1.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/igo2-integration.umd.js +280 -155
- package/bundles/igo2-integration.umd.js.map +1 -1
- package/esm2015/lib/about/about-tool/about-tool.component.js +40 -33
- package/esm2015/lib/about/about-tool/index.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.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/index.js +1 -1
- package/esm2015/lib/directions/directions-tool/directions-tool.component.js +40 -17
- 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 +35 -17
- package/esm2015/lib/directions/index.js +2 -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 +24 -6
- 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/map/advanced-map-tool/advanced-coordinates/advanced-coordinates.component.js +28 -8
- package/esm2015/lib/map/advanced-map-tool/advanced-map-tool.component.js +1 -2
- package/esm2015/lib/map/advanced-map-tool/index.js +1 -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-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.state.js +1 -1
- package/esm2015/lib/measure/index.js +1 -1
- package/esm2015/lib/measure/measure.module.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 +36 -9
- 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/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/index.js +1 -1
- package/esm2015/lib/workspace/shared/wfs-actions.service.js +1 -1
- 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 +1 -1
- package/fesm2015/igo2-integration.js +208 -99
- package/fesm2015/igo2-integration.js.map +1 -1
- package/lib/about/about-tool/about-tool.component.d.ts +3 -2
- package/lib/directions/directions-tool/directions-tool.component.d.ts +28 -7
- package/lib/directions/directions.state.d.ts +14 -10
- package/lib/directions/index.d.ts +1 -0
- package/lib/filter/spatial-filter-tool/spatial-filter-tool.component.d.ts +3 -1
- package/lib/map/advanced-map-tool/advanced-coordinates/advanced-coordinates.component.d.ts +2 -0
- package/lib/map/advanced-map-tool/advanced-map-tool.component.d.ts +1 -3
- package/lib/search/search-results-tool/search-results-tool.component.d.ts +2 -1
- package/ngcc.config.js +3 -3
- package/package.json +6 -5
|
@@ -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('@angular/common'), require('rxjs/operators'), require('@igo2/auth'), require('@igo2/core'), 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/badge'), require('ol/format/GeoJSON'), require('ol/Feature'), require('ol/geom/Point'), 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', '@angular/common', 'rxjs/operators', '@igo2/auth', '@igo2/core', '@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/badge', 'ol/format/GeoJSON', 'ol/Feature', 'ol/geom/Point', '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.ng.common, global.rxjs.operators, global.igoAuth, global.igoCore, global.ng.material.button, global.ng.material.tooltip, global.ng.material.icon, global[
|
|
5
|
-
}(this, (function (exports, i0, i2, i7, rxjs, i1,
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@igo2/context'), require('@igo2/common'), require('rxjs'), require('@igo2/geo'), require('@angular/common'), require('rxjs/operators'), require('@igo2/auth'), require('@igo2/core'), 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/badge'), require('ol/format/GeoJSON'), 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', '@angular/common', 'rxjs/operators', '@igo2/auth', '@igo2/core', '@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/badge', 'ol/format/GeoJSON', '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.ng.common, global.rxjs.operators, global.igoAuth, global.igoCore, 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.badge, global.olFormatGeoJSON, global.olFeature, global.olPoint, global.pointOnFeature, global.olstyle, global.ng.animations, global.ng.common.http));
|
|
5
|
+
})(this, (function (exports, i0, i2, i7, rxjs, i1, i4, operators, i2$1, i2$2, i3, i4$1, i6, i8, i5, buttonToggle, i7$1, i10, i6$2, i8$1, i3$1, i6$1, i7$2, i9, utils, olproj, i10$1, checkbox, i12, olFormatGeoJSON, 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
|
|
|
@@ -15,14 +15,12 @@
|
|
|
15
15
|
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
16
16
|
Object.defineProperty(n, k, d.get ? d : {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () {
|
|
19
|
-
return e[k];
|
|
20
|
-
}
|
|
18
|
+
get: function () { return e[k]; }
|
|
21
19
|
});
|
|
22
20
|
}
|
|
23
21
|
});
|
|
24
22
|
}
|
|
25
|
-
n[
|
|
23
|
+
n["default"] = e;
|
|
26
24
|
return Object.freeze(n);
|
|
27
25
|
}
|
|
28
26
|
|
|
@@ -30,14 +28,14 @@
|
|
|
30
28
|
var i2__namespace = /*#__PURE__*/_interopNamespace(i2);
|
|
31
29
|
var i7__namespace = /*#__PURE__*/_interopNamespace(i7);
|
|
32
30
|
var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
|
|
33
|
-
var
|
|
31
|
+
var i4__namespace = /*#__PURE__*/_interopNamespace(i4);
|
|
34
32
|
var i2__namespace$1 = /*#__PURE__*/_interopNamespace(i2$1);
|
|
35
33
|
var i2__namespace$2 = /*#__PURE__*/_interopNamespace(i2$2);
|
|
36
34
|
var i3__namespace = /*#__PURE__*/_interopNamespace(i3);
|
|
37
|
-
var i4__namespace = /*#__PURE__*/_interopNamespace(i4);
|
|
35
|
+
var i4__namespace$1 = /*#__PURE__*/_interopNamespace(i4$1);
|
|
38
36
|
var i6__namespace = /*#__PURE__*/_interopNamespace(i6);
|
|
39
37
|
var i8__namespace = /*#__PURE__*/_interopNamespace(i8);
|
|
40
|
-
var i5__namespace
|
|
38
|
+
var i5__namespace = /*#__PURE__*/_interopNamespace(i5);
|
|
41
39
|
var i7__namespace$1 = /*#__PURE__*/_interopNamespace(i7$1);
|
|
42
40
|
var i10__namespace = /*#__PURE__*/_interopNamespace(i10);
|
|
43
41
|
var i6__namespace$2 = /*#__PURE__*/_interopNamespace(i6$2);
|
|
@@ -52,6 +50,7 @@
|
|
|
52
50
|
var olFormatGeoJSON__default = /*#__PURE__*/_interopDefaultLegacy(olFormatGeoJSON);
|
|
53
51
|
var olFeature__default = /*#__PURE__*/_interopDefaultLegacy(olFeature);
|
|
54
52
|
var olPoint__default = /*#__PURE__*/_interopDefaultLegacy(olPoint);
|
|
53
|
+
var pointOnFeature__default = /*#__PURE__*/_interopDefaultLegacy(pointOnFeature);
|
|
55
54
|
var olstyle__namespace = /*#__PURE__*/_interopNamespace(olstyle);
|
|
56
55
|
var i3__namespace$2 = /*#__PURE__*/_interopNamespace(i3$2);
|
|
57
56
|
|
|
@@ -937,7 +936,7 @@
|
|
|
937
936
|
IgoAppCatalogLibraryToolModule.ɵfac = function IgoAppCatalogLibraryToolModule_Factory(t) { return new (t || IgoAppCatalogLibraryToolModule)(); };
|
|
938
937
|
IgoAppCatalogLibraryToolModule.ɵmod = /*@__PURE__*/ i0__namespace.ɵɵdefineNgModule({ type: IgoAppCatalogLibraryToolModule });
|
|
939
938
|
IgoAppCatalogLibraryToolModule.ɵinj = /*@__PURE__*/ i0__namespace.ɵɵdefineInjector({ imports: [[
|
|
940
|
-
|
|
939
|
+
i4.CommonModule,
|
|
941
940
|
i1.IgoCatalogLibraryModule
|
|
942
941
|
]] });
|
|
943
942
|
(function () {
|
|
@@ -945,7 +944,7 @@
|
|
|
945
944
|
type: i0.NgModule,
|
|
946
945
|
args: [{
|
|
947
946
|
imports: [
|
|
948
|
-
|
|
947
|
+
i4.CommonModule,
|
|
949
948
|
i1.IgoCatalogLibraryModule
|
|
950
949
|
],
|
|
951
950
|
declarations: [exports.CatalogLibraryToolComponent],
|
|
@@ -955,7 +954,7 @@
|
|
|
955
954
|
}], null, null);
|
|
956
955
|
})();
|
|
957
956
|
(function () {
|
|
958
|
-
(typeof ngJitMode === "undefined" || ngJitMode) && i0__namespace.ɵɵsetNgModuleScope(IgoAppCatalogLibraryToolModule, { declarations: [exports.CatalogLibraryToolComponent], imports: [
|
|
957
|
+
(typeof ngJitMode === "undefined" || ngJitMode) && i0__namespace.ɵɵsetNgModuleScope(IgoAppCatalogLibraryToolModule, { declarations: [exports.CatalogLibraryToolComponent], imports: [i4.CommonModule,
|
|
959
958
|
i1.IgoCatalogLibraryModule], exports: [exports.CatalogLibraryToolComponent] });
|
|
960
959
|
})();
|
|
961
960
|
|
|
@@ -1057,7 +1056,7 @@
|
|
|
1057
1056
|
if (rf & 2) {
|
|
1058
1057
|
i0__namespace.ɵɵproperty("ngIf", i0__namespace.ɵɵpipeBind1(1, 1, ctx.store$));
|
|
1059
1058
|
}
|
|
1060
|
-
}, directives: [
|
|
1059
|
+
}, directives: [i4__namespace.NgIf, i1__namespace.CatalogBrowserComponent], pipes: [i4__namespace.AsyncPipe], encapsulation: 2, changeDetection: 0 });
|
|
1061
1060
|
exports.CatalogBrowserToolComponent = __decorate([
|
|
1062
1061
|
i7.ToolComponent({
|
|
1063
1062
|
name: 'catalogBrowser',
|
|
@@ -1090,7 +1089,7 @@
|
|
|
1090
1089
|
IgoAppCatalogBrowserToolModule.ɵfac = function IgoAppCatalogBrowserToolModule_Factory(t) { return new (t || IgoAppCatalogBrowserToolModule)(); };
|
|
1091
1090
|
IgoAppCatalogBrowserToolModule.ɵmod = /*@__PURE__*/ i0__namespace.ɵɵdefineNgModule({ type: IgoAppCatalogBrowserToolModule });
|
|
1092
1091
|
IgoAppCatalogBrowserToolModule.ɵinj = /*@__PURE__*/ i0__namespace.ɵɵdefineInjector({ imports: [[
|
|
1093
|
-
|
|
1092
|
+
i4.CommonModule,
|
|
1094
1093
|
i1.IgoCatalogBrowserModule
|
|
1095
1094
|
]] });
|
|
1096
1095
|
(function () {
|
|
@@ -1098,7 +1097,7 @@
|
|
|
1098
1097
|
type: i0.NgModule,
|
|
1099
1098
|
args: [{
|
|
1100
1099
|
imports: [
|
|
1101
|
-
|
|
1100
|
+
i4.CommonModule,
|
|
1102
1101
|
i1.IgoCatalogBrowserModule
|
|
1103
1102
|
],
|
|
1104
1103
|
declarations: [exports.CatalogBrowserToolComponent],
|
|
@@ -1108,7 +1107,7 @@
|
|
|
1108
1107
|
}], null, null);
|
|
1109
1108
|
})();
|
|
1110
1109
|
(function () {
|
|
1111
|
-
(typeof ngJitMode === "undefined" || ngJitMode) && i0__namespace.ɵɵsetNgModuleScope(IgoAppCatalogBrowserToolModule, { declarations: [exports.CatalogBrowserToolComponent], imports: [
|
|
1110
|
+
(typeof ngJitMode === "undefined" || ngJitMode) && i0__namespace.ɵɵsetNgModuleScope(IgoAppCatalogBrowserToolModule, { declarations: [exports.CatalogBrowserToolComponent], imports: [i4.CommonModule,
|
|
1112
1111
|
i1.IgoCatalogBrowserModule], exports: [exports.CatalogBrowserToolComponent] });
|
|
1113
1112
|
})();
|
|
1114
1113
|
|
|
@@ -1143,39 +1142,57 @@
|
|
|
1143
1142
|
* Service that holds the state of the direction module
|
|
1144
1143
|
*/
|
|
1145
1144
|
var DirectionState = /** @class */ (function () {
|
|
1146
|
-
function DirectionState(mapState
|
|
1145
|
+
function DirectionState(mapState) {
|
|
1147
1146
|
var _this = this;
|
|
1148
1147
|
this.mapState = mapState;
|
|
1149
|
-
this.
|
|
1148
|
+
this.zoomToActiveRoute$ = new rxjs.Subject();
|
|
1149
|
+
/**
|
|
1150
|
+
* Store that holds the stop
|
|
1151
|
+
*/
|
|
1152
|
+
this.stopsStore = new i1.StopsStore([]);
|
|
1150
1153
|
/**
|
|
1151
|
-
* Store that holds the
|
|
1154
|
+
* Store that holds the driving stops as feature
|
|
1152
1155
|
*/
|
|
1153
|
-
this.
|
|
1156
|
+
this.stopsFeatureStore = new i1.StopsFeatureStore([], {
|
|
1154
1157
|
map: this.mapState.map
|
|
1155
1158
|
});
|
|
1156
1159
|
/**
|
|
1157
|
-
* Store that holds the driving route
|
|
1160
|
+
* Store that holds the driving route as feature
|
|
1158
1161
|
*/
|
|
1159
|
-
this.
|
|
1162
|
+
this.routesFeatureStore = new i1.RoutesFeatureStore([], {
|
|
1160
1163
|
map: this.mapState.map
|
|
1161
1164
|
});
|
|
1162
|
-
this.
|
|
1165
|
+
this.stepFeatureStore = new i1.StepFeatureStore([], {
|
|
1166
|
+
map: this.mapState.map
|
|
1167
|
+
});
|
|
1168
|
+
this.debounceTime = 200;
|
|
1169
|
+
this.mapState.map.ol.once('rendercomplete', function () {
|
|
1170
|
+
_this.stopsFeatureStore.empty$.subscribe(function (empty) {
|
|
1171
|
+
var _a;
|
|
1172
|
+
if ((_a = _this.stopsFeatureStore.layer) === null || _a === void 0 ? void 0 : _a.options) {
|
|
1173
|
+
_this.stopsFeatureStore.layer.options.showInLayerList = !empty;
|
|
1174
|
+
}
|
|
1175
|
+
});
|
|
1176
|
+
_this.routesFeatureStore.empty$.subscribe(function (empty) {
|
|
1177
|
+
var _a;
|
|
1178
|
+
if ((_a = _this.routesFeatureStore.layer) === null || _a === void 0 ? void 0 : _a.options) {
|
|
1179
|
+
_this.routesFeatureStore.layer.options.showInLayerList = !empty;
|
|
1180
|
+
}
|
|
1181
|
+
});
|
|
1182
|
+
});
|
|
1163
1183
|
this.mapState.map.layers$.subscribe(function () {
|
|
1164
1184
|
if (!_this.mapState.map.getLayerById('igo-direction-stops-layer')) {
|
|
1165
1185
|
_this.stopsStore.deleteMany(_this.stopsStore.all());
|
|
1166
|
-
_this.
|
|
1186
|
+
_this.stopsFeatureStore.deleteMany(_this.stopsFeatureStore.all()); // not necessary
|
|
1167
1187
|
}
|
|
1168
1188
|
if (!_this.mapState.map.getLayerById('igo-direction-route-layer')) {
|
|
1169
|
-
_this.
|
|
1189
|
+
_this.routesFeatureStore.deleteMany(_this.routesFeatureStore.all());
|
|
1170
1190
|
}
|
|
1171
1191
|
});
|
|
1172
1192
|
}
|
|
1173
|
-
DirectionState.prototype.setRouteFromFeatureDetail = function (value) {
|
|
1174
|
-
this.routeFromFeatureDetail = value;
|
|
1175
|
-
};
|
|
1176
1193
|
return DirectionState;
|
|
1177
1194
|
}());
|
|
1178
|
-
DirectionState.ɵfac = function DirectionState_Factory(t) { return new (t || DirectionState)(i0__namespace.ɵɵinject(MapState)
|
|
1195
|
+
DirectionState.ɵfac = function DirectionState_Factory(t) { return new (t || DirectionState)(i0__namespace.ɵɵinject(MapState)); };
|
|
1179
1196
|
DirectionState.ɵprov = /*@__PURE__*/ i0__namespace.ɵɵdefineInjectable({ token: DirectionState, factory: DirectionState.ɵfac, providedIn: 'root' });
|
|
1180
1197
|
(function () {
|
|
1181
1198
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(DirectionState, [{
|
|
@@ -1183,13 +1200,16 @@
|
|
|
1183
1200
|
args: [{
|
|
1184
1201
|
providedIn: 'root'
|
|
1185
1202
|
}]
|
|
1186
|
-
}], function () { return [{ type: MapState }
|
|
1203
|
+
}], function () { return [{ type: MapState }]; }, null);
|
|
1187
1204
|
})();
|
|
1188
1205
|
|
|
1189
1206
|
exports.DirectionsToolComponent = /** @class */ (function () {
|
|
1190
|
-
function DirectionsToolComponent(directionState, mapState) {
|
|
1207
|
+
function DirectionsToolComponent(directionState, mapState, languageService, messageService, storageService) {
|
|
1191
1208
|
this.directionState = directionState;
|
|
1192
1209
|
this.mapState = mapState;
|
|
1210
|
+
this.languageService = languageService;
|
|
1211
|
+
this.messageService = messageService;
|
|
1212
|
+
this.storageService = storageService;
|
|
1193
1213
|
}
|
|
1194
1214
|
Object.defineProperty(DirectionsToolComponent.prototype, "stopsStore", {
|
|
1195
1215
|
/**
|
|
@@ -1200,47 +1220,77 @@
|
|
|
1200
1220
|
enumerable: false,
|
|
1201
1221
|
configurable: true
|
|
1202
1222
|
});
|
|
1203
|
-
Object.defineProperty(DirectionsToolComponent.prototype, "
|
|
1223
|
+
Object.defineProperty(DirectionsToolComponent.prototype, "debounceTime", {
|
|
1224
|
+
get: function () { return this.directionState.debounceTime; },
|
|
1225
|
+
enumerable: false,
|
|
1226
|
+
configurable: true
|
|
1227
|
+
});
|
|
1228
|
+
Object.defineProperty(DirectionsToolComponent.prototype, "stopsFeatureStore", {
|
|
1229
|
+
/**
|
|
1230
|
+
* stops
|
|
1231
|
+
* @internal
|
|
1232
|
+
*/
|
|
1233
|
+
get: function () { return this.directionState.stopsFeatureStore; },
|
|
1234
|
+
enumerable: false,
|
|
1235
|
+
configurable: true
|
|
1236
|
+
});
|
|
1237
|
+
Object.defineProperty(DirectionsToolComponent.prototype, "routesFeatureStore", {
|
|
1204
1238
|
/**
|
|
1205
1239
|
* routes
|
|
1206
1240
|
* @internal
|
|
1207
1241
|
*/
|
|
1208
|
-
get: function () { return this.directionState.
|
|
1242
|
+
get: function () { return this.directionState.routesFeatureStore; },
|
|
1209
1243
|
enumerable: false,
|
|
1210
1244
|
configurable: true
|
|
1211
1245
|
});
|
|
1212
|
-
Object.defineProperty(DirectionsToolComponent.prototype, "
|
|
1246
|
+
Object.defineProperty(DirectionsToolComponent.prototype, "stepFeatureStore", {
|
|
1213
1247
|
/**
|
|
1214
|
-
*
|
|
1248
|
+
* step store
|
|
1215
1249
|
* @internal
|
|
1216
1250
|
*/
|
|
1217
|
-
get: function () { return this.
|
|
1251
|
+
get: function () { return this.directionState.stepFeatureStore; },
|
|
1218
1252
|
enumerable: false,
|
|
1219
1253
|
configurable: true
|
|
1220
1254
|
});
|
|
1221
|
-
Object.defineProperty(DirectionsToolComponent.prototype, "
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1255
|
+
Object.defineProperty(DirectionsToolComponent.prototype, "zoomToActiveRoute$", {
|
|
1256
|
+
/**
|
|
1257
|
+
* step store
|
|
1258
|
+
* @internal
|
|
1259
|
+
*/
|
|
1260
|
+
get: function () { return this.directionState.zoomToActiveRoute$; },
|
|
1225
1261
|
enumerable: false,
|
|
1226
1262
|
configurable: true
|
|
1227
1263
|
});
|
|
1228
|
-
DirectionsToolComponent.prototype
|
|
1229
|
-
|
|
1264
|
+
Object.defineProperty(DirectionsToolComponent.prototype, "map", {
|
|
1265
|
+
/**
|
|
1266
|
+
* Map to measure on
|
|
1267
|
+
* @internal
|
|
1268
|
+
*/
|
|
1269
|
+
get: function () { return this.mapState.map; },
|
|
1270
|
+
enumerable: false,
|
|
1271
|
+
configurable: true
|
|
1272
|
+
});
|
|
1273
|
+
DirectionsToolComponent.prototype.ngOnInit = function () {
|
|
1274
|
+
var warningShown = this.storageService.get('direction.warning.shown');
|
|
1275
|
+
if (!warningShown) {
|
|
1276
|
+
var translate = this.languageService.translate;
|
|
1277
|
+
var title = translate.instant('igo.integration.directions.warning.title');
|
|
1278
|
+
var msg = translate.instant('igo.integration.directions.warning.message');
|
|
1279
|
+
this.messageService.info(msg, title, { timeOut: 20000 });
|
|
1280
|
+
this.storageService.set('direction.warning.shown', true, i2$2.StorageScope.SESSION);
|
|
1281
|
+
}
|
|
1230
1282
|
};
|
|
1231
1283
|
return DirectionsToolComponent;
|
|
1232
1284
|
}());
|
|
1233
|
-
exports.DirectionsToolComponent.ɵfac = function DirectionsToolComponent_Factory(t) { return new (t || exports.DirectionsToolComponent)(i0__namespace.ɵɵdirectiveInject(DirectionState), i0__namespace.ɵɵdirectiveInject(MapState)); };
|
|
1234
|
-
exports.DirectionsToolComponent.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: exports.DirectionsToolComponent, selectors: [["igo-directions-tool"]], decls: 1, vars:
|
|
1285
|
+
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$2.LanguageService), i0__namespace.ɵɵdirectiveInject(i2__namespace$2.MessageService), i0__namespace.ɵɵdirectiveInject(i2__namespace$2.StorageService)); };
|
|
1286
|
+
exports.DirectionsToolComponent.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: exports.DirectionsToolComponent, selectors: [["igo-directions-tool"]], decls: 1, vars: 6, consts: [[3, "debounceTime", "stopsStore", "stopsFeatureStore", "stepFeatureStore", "routesFeatureStore", "zoomToActiveRoute$"]], template: function DirectionsToolComponent_Template(rf, ctx) {
|
|
1235
1287
|
if (rf & 1) {
|
|
1236
|
-
i0__namespace.ɵɵ
|
|
1237
|
-
i0__namespace.ɵɵlistener("activeRouteDescription", function DirectionsToolComponent_Template_igo_directions_form_activeRouteDescription_0_listener($event) { return ctx.onActiveRouteDescriptionChange($event); });
|
|
1238
|
-
i0__namespace.ɵɵelementEnd();
|
|
1288
|
+
i0__namespace.ɵɵelement(0, "igo-directions", 0);
|
|
1239
1289
|
}
|
|
1240
1290
|
if (rf & 2) {
|
|
1241
|
-
i0__namespace.ɵɵproperty("stopsStore", ctx.stopsStore)("
|
|
1291
|
+
i0__namespace.ɵɵproperty("debounceTime", ctx.debounceTime)("stopsStore", ctx.stopsStore)("stopsFeatureStore", ctx.stopsFeatureStore)("stepFeatureStore", ctx.stepFeatureStore)("routesFeatureStore", ctx.routesFeatureStore)("zoomToActiveRoute$", ctx.zoomToActiveRoute$);
|
|
1242
1292
|
}
|
|
1243
|
-
}, directives: [i1__namespace.
|
|
1293
|
+
}, directives: [i1__namespace.DirectionsComponent], encapsulation: 2 });
|
|
1244
1294
|
exports.DirectionsToolComponent = __decorate([
|
|
1245
1295
|
i7.ToolComponent({
|
|
1246
1296
|
name: 'directions',
|
|
@@ -1255,7 +1305,7 @@
|
|
|
1255
1305
|
selector: 'igo-directions-tool',
|
|
1256
1306
|
templateUrl: './directions-tool.component.html'
|
|
1257
1307
|
}]
|
|
1258
|
-
}], function () { return [{ type: DirectionState }, { type: MapState }]; }, null);
|
|
1308
|
+
}], function () { return [{ type: DirectionState }, { type: MapState }, { type: i2__namespace$2.LanguageService }, { type: i2__namespace$2.MessageService }, { type: i2__namespace$2.StorageService }]; }, null);
|
|
1259
1309
|
})();
|
|
1260
1310
|
|
|
1261
1311
|
var IgoAppDirectionsModule = /** @class */ (function () {
|
|
@@ -1951,7 +2001,7 @@
|
|
|
1951
2001
|
if (rf & 2) {
|
|
1952
2002
|
i0__namespace.ɵɵproperty("ngIf", i0__namespace.ɵɵpipeBind1(1, 1, ctx.hasWorkspace$));
|
|
1953
2003
|
}
|
|
1954
|
-
}, directives: [
|
|
2004
|
+
}, directives: [i4__namespace.NgIf, i3__namespace.MatButton, i4__namespace$1.MatTooltip, i6__namespace.MatIcon], pipes: [i4__namespace.AsyncPipe, i8__namespace.TranslatePipe], styles: [""], changeDetection: 0 });
|
|
1955
2005
|
(function () {
|
|
1956
2006
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(WorkspaceButtonComponent, [{
|
|
1957
2007
|
type: i0.Component,
|
|
@@ -1976,10 +2026,10 @@
|
|
|
1976
2026
|
IgoAppWorkspaceModule.ɵfac = function IgoAppWorkspaceModule_Factory(t) { return new (t || IgoAppWorkspaceModule)(); };
|
|
1977
2027
|
IgoAppWorkspaceModule.ɵmod = /*@__PURE__*/ i0__namespace.ɵɵdefineNgModule({ type: IgoAppWorkspaceModule });
|
|
1978
2028
|
IgoAppWorkspaceModule.ɵinj = /*@__PURE__*/ i0__namespace.ɵɵdefineInjector({ imports: [[
|
|
1979
|
-
|
|
2029
|
+
i4.CommonModule,
|
|
1980
2030
|
i6.MatIconModule,
|
|
1981
2031
|
i3.MatButtonModule,
|
|
1982
|
-
i4.MatTooltipModule,
|
|
2032
|
+
i4$1.MatTooltipModule,
|
|
1983
2033
|
i2$2.IgoLanguageModule
|
|
1984
2034
|
]] });
|
|
1985
2035
|
(function () {
|
|
@@ -1987,10 +2037,10 @@
|
|
|
1987
2037
|
type: i0.NgModule,
|
|
1988
2038
|
args: [{
|
|
1989
2039
|
imports: [
|
|
1990
|
-
|
|
2040
|
+
i4.CommonModule,
|
|
1991
2041
|
i6.MatIconModule,
|
|
1992
2042
|
i3.MatButtonModule,
|
|
1993
|
-
i4.MatTooltipModule,
|
|
2043
|
+
i4$1.MatTooltipModule,
|
|
1994
2044
|
i2$2.IgoLanguageModule
|
|
1995
2045
|
],
|
|
1996
2046
|
declarations: [WorkspaceButtonComponent],
|
|
@@ -1999,10 +2049,10 @@
|
|
|
1999
2049
|
}], null, null);
|
|
2000
2050
|
})();
|
|
2001
2051
|
(function () {
|
|
2002
|
-
(typeof ngJitMode === "undefined" || ngJitMode) && i0__namespace.ɵɵsetNgModuleScope(IgoAppWorkspaceModule, { declarations: [WorkspaceButtonComponent], imports: [
|
|
2052
|
+
(typeof ngJitMode === "undefined" || ngJitMode) && i0__namespace.ɵɵsetNgModuleScope(IgoAppWorkspaceModule, { declarations: [WorkspaceButtonComponent], imports: [i4.CommonModule,
|
|
2003
2053
|
i6.MatIconModule,
|
|
2004
2054
|
i3.MatButtonModule,
|
|
2005
|
-
i4.MatTooltipModule,
|
|
2055
|
+
i4$1.MatTooltipModule,
|
|
2006
2056
|
i2$2.IgoLanguageModule], exports: [WorkspaceButtonComponent] });
|
|
2007
2057
|
})();
|
|
2008
2058
|
|
|
@@ -2132,7 +2182,7 @@
|
|
|
2132
2182
|
i0__namespace.ɵɵadvance(1);
|
|
2133
2183
|
i0__namespace.ɵɵproperty("ngIf", !ctx.importExportShowBothType && ctx.importExportType === "context");
|
|
2134
2184
|
}
|
|
2135
|
-
}, directives: [
|
|
2185
|
+
}, directives: [i4__namespace.NgIf, i5__namespace.MatTabGroup, i5__namespace.MatTab, i1__namespace.ImportExportComponent, i2__namespace.ContextImportExportComponent], pipes: [i8__namespace.TranslatePipe, i4__namespace.AsyncPipe], styles: ["mat-form-field[_ngcontent-%COMP%]{width:100%}"], changeDetection: 0 });
|
|
2136
2186
|
exports.ImportExportToolComponent = __decorate([
|
|
2137
2187
|
i7.ToolComponent({
|
|
2138
2188
|
name: 'importExport',
|
|
@@ -2176,10 +2226,10 @@
|
|
|
2176
2226
|
IgoAppImportExportModule.ɵinj = /*@__PURE__*/ i0__namespace.ɵɵdefineInjector({ imports: [[
|
|
2177
2227
|
i1.IgoImportExportModule,
|
|
2178
2228
|
i2.IgoContextImportExportModule,
|
|
2179
|
-
|
|
2229
|
+
i4.CommonModule,
|
|
2180
2230
|
i2$2.IgoLanguageModule,
|
|
2181
2231
|
buttonToggle.MatButtonToggleModule,
|
|
2182
|
-
i5
|
|
2232
|
+
i5.MatTabsModule
|
|
2183
2233
|
]] });
|
|
2184
2234
|
(function () {
|
|
2185
2235
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(IgoAppImportExportModule, [{
|
|
@@ -2188,10 +2238,10 @@
|
|
|
2188
2238
|
imports: [
|
|
2189
2239
|
i1.IgoImportExportModule,
|
|
2190
2240
|
i2.IgoContextImportExportModule,
|
|
2191
|
-
|
|
2241
|
+
i4.CommonModule,
|
|
2192
2242
|
i2$2.IgoLanguageModule,
|
|
2193
2243
|
buttonToggle.MatButtonToggleModule,
|
|
2194
|
-
i5
|
|
2244
|
+
i5.MatTabsModule
|
|
2195
2245
|
],
|
|
2196
2246
|
declarations: [exports.ImportExportToolComponent],
|
|
2197
2247
|
exports: [exports.ImportExportToolComponent],
|
|
@@ -2202,10 +2252,10 @@
|
|
|
2202
2252
|
(function () {
|
|
2203
2253
|
(typeof ngJitMode === "undefined" || ngJitMode) && i0__namespace.ɵɵsetNgModuleScope(IgoAppImportExportModule, { declarations: [exports.ImportExportToolComponent], imports: [i1.IgoImportExportModule,
|
|
2204
2254
|
i2.IgoContextImportExportModule,
|
|
2205
|
-
|
|
2255
|
+
i4.CommonModule,
|
|
2206
2256
|
i2$2.IgoLanguageModule,
|
|
2207
2257
|
buttonToggle.MatButtonToggleModule,
|
|
2208
|
-
i5
|
|
2258
|
+
i5.MatTabsModule], exports: [exports.ImportExportToolComponent] });
|
|
2209
2259
|
})();
|
|
2210
2260
|
|
|
2211
2261
|
function MapDetailsToolComponent_igo_layer_list_0_ng_template_1_Template(rf, ctx) {
|
|
@@ -2489,7 +2539,7 @@
|
|
|
2489
2539
|
var _r1 = i0__namespace.ɵɵreference(3);
|
|
2490
2540
|
i0__namespace.ɵɵproperty("ngIf", i0__namespace.ɵɵpipeBind1(1, 2, ctx.layers$).length)("ngIfElse", _r1);
|
|
2491
2541
|
}
|
|
2492
|
-
}, directives: [
|
|
2542
|
+
}, directives: [i4__namespace.NgIf, i1__namespace.LayerListComponent, i1__namespace.LayerListBindingDirective, WorkspaceButtonComponent, i1__namespace.ExportButtonComponent, i1__namespace.OgcFilterButtonComponent, i1__namespace.TimeFilterButtonComponent, i1__namespace.TrackFeatureButtonComponent, i1__namespace.MetadataButtonComponent, i7__namespace$1.MatList, i7__namespace$1.MatListItem, i6__namespace.MatIcon, i7__namespace$1.MatListIconCssMatStyler, i8__namespace$1.MatLine], pipes: [i4__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}"] });
|
|
2493
2543
|
exports.MapDetailsToolComponent = __decorate([
|
|
2494
2544
|
i7.ToolComponent({
|
|
2495
2545
|
name: 'mapDetails',
|
|
@@ -2638,7 +2688,7 @@
|
|
|
2638
2688
|
i0__namespace.ɵɵadvance(3);
|
|
2639
2689
|
i0__namespace.ɵɵproperty("label", i0__namespace.ɵɵpipeBind1(7, 12, "igo.integration.tools.contexts"));
|
|
2640
2690
|
}
|
|
2641
|
-
}, directives: [i5__namespace
|
|
2691
|
+
}, directives: [i5__namespace.MatTabGroup, i5__namespace.MatTab, i1__namespace.LayerListComponent, i1__namespace.LayerListBindingDirective, i2__namespace.ContextListComponent, i2__namespace.ContextListBindingDirective, WorkspaceButtonComponent, i1__namespace.ExportButtonComponent, i1__namespace.OgcFilterButtonComponent, i1__namespace.TimeFilterButtonComponent, i1__namespace.TrackFeatureButtonComponent, i1__namespace.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 });
|
|
2642
2692
|
exports.MapToolComponent = __decorate([
|
|
2643
2693
|
i7.ToolComponent({
|
|
2644
2694
|
name: 'map',
|
|
@@ -3190,7 +3240,7 @@
|
|
|
3190
3240
|
i0__namespace.ɵɵadvance(2);
|
|
3191
3241
|
i0__namespace.ɵɵproperty("ngIf", !ctx.allowShowAllLegends && i0__namespace.ɵɵpipeBind1(13, 19, ctx.layers$).length !== 0 && i0__namespace.ɵɵpipeBind1(14, 21, ctx.visibleOrInRangeLayers$).length === 0);
|
|
3192
3242
|
}
|
|
3193
|
-
}, directives: [i5__namespace
|
|
3243
|
+
}, directives: [i5__namespace.MatTabGroup, i5__namespace.MatTab, i4__namespace.NgIf, i1__namespace.LayerListComponent, i1__namespace.LayerListBindingDirective, i1__namespace.MetadataButtonComponent, i1__namespace.TrackFeatureButtonComponent, WorkspaceButtonComponent, i1__namespace.TimeFilterButtonComponent, i1__namespace.OgcFilterButtonComponent, i1__namespace.ExportButtonComponent, i1__namespace.LayerLegendListComponent, i1__namespace.LayerLegendListBindingDirective, i7__namespace$1.MatList, i7__namespace$1.MatListItem, i6__namespace.MatIcon, i7__namespace$1.MatListIconCssMatStyler, i8__namespace$1.MatLine], pipes: [i4__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 });
|
|
3194
3244
|
exports.MapToolsComponent = __decorate([
|
|
3195
3245
|
i7.ToolComponent({
|
|
3196
3246
|
name: 'mapTools',
|
|
@@ -3540,7 +3590,7 @@
|
|
|
3540
3590
|
i0__namespace.ɵɵadvance(2);
|
|
3541
3591
|
i0__namespace.ɵɵproperty("ngIf", !ctx.allowShowAllLegends && i0__namespace.ɵɵpipeBind1(4, 6, ctx.layers$).length !== 0 && i0__namespace.ɵɵpipeBind1(5, 8, ctx.visibleOrInRangeLayers$).length === 0);
|
|
3542
3592
|
}
|
|
3543
|
-
}, directives: [
|
|
3593
|
+
}, directives: [i4__namespace.NgIf, i1__namespace.LayerLegendListComponent, i1__namespace.LayerLegendListBindingDirective, i7__namespace$1.MatList, i7__namespace$1.MatListItem, i6__namespace.MatIcon, i7__namespace$1.MatListIconCssMatStyler, i8__namespace$1.MatLine], pipes: [i4__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}"] });
|
|
3544
3594
|
exports.MapLegendToolComponent = __decorate([
|
|
3545
3595
|
i7.ToolComponent({
|
|
3546
3596
|
name: 'mapLegend',
|
|
@@ -3806,7 +3856,7 @@
|
|
|
3806
3856
|
var _r1 = i0__namespace.ɵɵreference(2);
|
|
3807
3857
|
i0__namespace.ɵɵproperty("ngIf", ctx.userControlledLayerList.length)("ngIfElse", _r1);
|
|
3808
3858
|
}
|
|
3809
|
-
}, directives: [
|
|
3859
|
+
}, directives: [i4__namespace.NgIf, i3__namespace$1.ɵNgNoValidate, i3__namespace$1.NgControlStatusGroup, i3__namespace$1.FormGroupDirective, i6__namespace$1.MatFormField, i6__namespace$1.MatLabel, i7__namespace$2.MatSelect, i3__namespace$1.NgControlStatus, i3__namespace$1.FormControlName, i8__namespace$1.MatOption, i9__namespace.MatDivider, i4__namespace.NgForOf, i10__namespace.MatSlideToggle, i7__namespace$1.MatList, i7__namespace$1.MatListItem, i6__namespace.MatIcon, i7__namespace$1.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}"] });
|
|
3810
3860
|
(function () {
|
|
3811
3861
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(AdvancedSwipeComponent, [{
|
|
3812
3862
|
type: i0.Component,
|
|
@@ -3896,6 +3946,7 @@
|
|
|
3896
3946
|
this.storageService = storageService;
|
|
3897
3947
|
this.config = config;
|
|
3898
3948
|
this.formBuilder = formBuilder;
|
|
3949
|
+
this.formattedScale$ = new rxjs.BehaviorSubject('');
|
|
3899
3950
|
this.projections$ = new rxjs.BehaviorSubject([]);
|
|
3900
3951
|
this.center = this.storageService.get('centerToggle');
|
|
3901
3952
|
this.inMtmZone = true;
|
|
@@ -3944,6 +3995,7 @@
|
|
|
3944
3995
|
var _this = this;
|
|
3945
3996
|
this.mapState$$ = rxjs.combineLatest([this.map.viewController.state$.pipe(operators.debounceTime(50)), this.form.valueChanges])
|
|
3946
3997
|
.subscribe(function () {
|
|
3998
|
+
_this.setScaleValue(_this.map);
|
|
3947
3999
|
_this.currentCenterDefaultProj = _this.map.viewController.getCenter(_this.defaultProj.code);
|
|
3948
4000
|
var currentMtmZone = i1.zoneMtm(_this.currentCenterDefaultProj[0]);
|
|
3949
4001
|
var currentUtmZone = i1.zoneUtm(_this.currentCenterDefaultProj[0]);
|
|
@@ -3982,6 +4034,9 @@
|
|
|
3982
4034
|
this.map.mapCenter$.next(false);
|
|
3983
4035
|
this.mapState$$.unsubscribe();
|
|
3984
4036
|
};
|
|
4037
|
+
AdvancedCoordinatesComponent.prototype.setScaleValue = function (map) {
|
|
4038
|
+
this.formattedScale$.next(': ~ 1 / ' + i1.formatScale(map.viewController.getScale()));
|
|
4039
|
+
};
|
|
3985
4040
|
/**
|
|
3986
4041
|
* Coordinates of the center of the map on the appropriate systeme of coordinates
|
|
3987
4042
|
* @returns Array of two numbers
|
|
@@ -4228,7 +4283,7 @@
|
|
|
4228
4283
|
return AdvancedCoordinatesComponent;
|
|
4229
4284
|
}());
|
|
4230
4285
|
AdvancedCoordinatesComponent.ɵfac = function AdvancedCoordinatesComponent_Factory(t) { return new (t || AdvancedCoordinatesComponent)(i0__namespace.ɵɵdirectiveInject(MapState), i0__namespace.ɵɵdirectiveInject(i2__namespace$2.LanguageService), i0__namespace.ɵɵdirectiveInject(i2__namespace$2.MessageService), i0__namespace.ɵɵdirectiveInject(i0__namespace.ChangeDetectorRef), i0__namespace.ɵɵdirectiveInject(i2__namespace$2.StorageService), i0__namespace.ɵɵdirectiveInject(i2__namespace$2.ConfigService), i0__namespace.ɵɵdirectiveInject(i3__namespace$1.FormBuilder)); };
|
|
4231
|
-
AdvancedCoordinatesComponent.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: AdvancedCoordinatesComponent, selectors: [["igo-advanced-coordinates"]], inputs: { projectionsLimitations: "projectionsLimitations" }, decls:
|
|
4286
|
+
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) {
|
|
4232
4287
|
if (rf & 1) {
|
|
4233
4288
|
i0__namespace.ɵɵtemplate(0, AdvancedCoordinatesComponent_mat_form_field_0_Template, 4, 4, "mat-form-field", 0);
|
|
4234
4289
|
i0__namespace.ɵɵtemplate(1, AdvancedCoordinatesComponent_ng_template_1_Template, 4, 4, "ng-template", null, 1, i0__namespace.ɵɵtemplateRefExtractor);
|
|
@@ -4262,6 +4317,16 @@
|
|
|
4262
4317
|
i0__namespace.ɵɵtext(22);
|
|
4263
4318
|
i0__namespace.ɵɵpipe(23, "translate");
|
|
4264
4319
|
i0__namespace.ɵɵelementEnd();
|
|
4320
|
+
i0__namespace.ɵɵelementStart(24, "p", 11);
|
|
4321
|
+
i0__namespace.ɵɵtext(25);
|
|
4322
|
+
i0__namespace.ɵɵpipe(26, "translate");
|
|
4323
|
+
i0__namespace.ɵɵpipe(27, "async");
|
|
4324
|
+
i0__namespace.ɵɵelementEnd();
|
|
4325
|
+
i0__namespace.ɵɵelementStart(28, "p", 11);
|
|
4326
|
+
i0__namespace.ɵɵtext(29);
|
|
4327
|
+
i0__namespace.ɵɵpipe(30, "translate");
|
|
4328
|
+
i0__namespace.ɵɵpipe(31, "number");
|
|
4329
|
+
i0__namespace.ɵɵelementEnd();
|
|
4265
4330
|
}
|
|
4266
4331
|
if (rf & 2) {
|
|
4267
4332
|
var _r1 = i0__namespace.ɵɵreference(2);
|
|
@@ -4270,23 +4335,27 @@
|
|
|
4270
4335
|
i0__namespace.ɵɵadvance(3);
|
|
4271
4336
|
i0__namespace.ɵɵproperty("ngIf", ctx.units)("ngIfElse", _r4);
|
|
4272
4337
|
i0__namespace.ɵɵadvance(5);
|
|
4273
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(9,
|
|
4338
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(9, 18, "igo.integration.advanced-map-tool.advanced-coordinates.copy"), "\n");
|
|
4274
4339
|
i0__namespace.ɵɵadvance(2);
|
|
4275
4340
|
i0__namespace.ɵɵproperty("formGroup", ctx.form);
|
|
4276
4341
|
i0__namespace.ɵɵadvance(3);
|
|
4277
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(14,
|
|
4342
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(14, 20, "igo.integration.advanced-map-tool.advanced-coordinates.coordSystem"));
|
|
4278
4343
|
i0__namespace.ɵɵadvance(2);
|
|
4279
4344
|
i0__namespace.ɵɵproperty("value", ctx.inputProj);
|
|
4280
4345
|
i0__namespace.ɵɵadvance(1);
|
|
4281
|
-
i0__namespace.ɵɵproperty("ngForOf", i0__namespace.ɵɵpipeBind1(17,
|
|
4346
|
+
i0__namespace.ɵɵproperty("ngForOf", i0__namespace.ɵɵpipeBind1(17, 22, ctx.projections$));
|
|
4282
4347
|
i0__namespace.ɵɵadvance(2);
|
|
4283
4348
|
i0__namespace.ɵɵproperty("checked", ctx.center)("labelPosition", "before");
|
|
4284
4349
|
i0__namespace.ɵɵadvance(1);
|
|
4285
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(20,
|
|
4350
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(20, 24, "igo.integration.advanced-map-tool.advanced-coordinates.center"), " ");
|
|
4286
4351
|
i0__namespace.ɵɵadvance(3);
|
|
4287
|
-
i0__namespace.ɵɵtextInterpolate2("", i0__namespace.ɵɵpipeBind1(23,
|
|
4352
|
+
i0__namespace.ɵɵtextInterpolate2("", i0__namespace.ɵɵpipeBind1(23, 26, "igo.integration.advanced-map-tool.advanced-coordinates.zoom"), " ", ctx.map.viewController.getZoom(), "");
|
|
4353
|
+
i0__namespace.ɵɵadvance(3);
|
|
4354
|
+
i0__namespace.ɵɵtextInterpolate2("", i0__namespace.ɵɵpipeBind1(26, 28, "igo.integration.advanced-map-tool.advanced-coordinates.scale"), " ", i0__namespace.ɵɵpipeBind1(27, 30, ctx.formattedScale$), "");
|
|
4355
|
+
i0__namespace.ɵɵadvance(4);
|
|
4356
|
+
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"), "");
|
|
4288
4357
|
}
|
|
4289
|
-
}, directives: [
|
|
4358
|
+
}, directives: [i4__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$2.MatSelect, i4__namespace.NgForOf, i10__namespace.MatSlideToggle, i10__namespace$1.MatInput, i8__namespace$1.MatOption], pipes: [i8__namespace.TranslatePipe, i4__namespace.AsyncPipe, i4__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}"] });
|
|
4290
4359
|
(function () {
|
|
4291
4360
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(AdvancedCoordinatesComponent, [{
|
|
4292
4361
|
type: i0.Component,
|
|
@@ -4303,7 +4372,6 @@
|
|
|
4303
4372
|
exports.AdvancedMapToolComponent = /** @class */ (function () {
|
|
4304
4373
|
function AdvancedMapToolComponent() {
|
|
4305
4374
|
}
|
|
4306
|
-
AdvancedMapToolComponent.prototype.ngOnInit = function () { };
|
|
4307
4375
|
return AdvancedMapToolComponent;
|
|
4308
4376
|
}());
|
|
4309
4377
|
exports.AdvancedMapToolComponent.ɵfac = function AdvancedMapToolComponent_Factory(t) { return new (t || exports.AdvancedMapToolComponent)(); };
|
|
@@ -4374,8 +4442,8 @@
|
|
|
4374
4442
|
i10$1.MatInputModule,
|
|
4375
4443
|
checkbox.MatCheckboxModule,
|
|
4376
4444
|
i7.IgoSpinnerModule,
|
|
4377
|
-
|
|
4378
|
-
i5
|
|
4445
|
+
i4.CommonModule,
|
|
4446
|
+
i5.MatTabsModule,
|
|
4379
4447
|
i7$1.MatListModule,
|
|
4380
4448
|
i6.MatIconModule,
|
|
4381
4449
|
i2$2.IgoLanguageModule,
|
|
@@ -4389,7 +4457,7 @@
|
|
|
4389
4457
|
i10.MatSlideToggleModule,
|
|
4390
4458
|
i6$2.MatMenuModule,
|
|
4391
4459
|
i3.MatButtonModule,
|
|
4392
|
-
i4.MatTooltipModule
|
|
4460
|
+
i4$1.MatTooltipModule
|
|
4393
4461
|
]] });
|
|
4394
4462
|
(function () {
|
|
4395
4463
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(IgoAppMapModule, [{
|
|
@@ -4406,8 +4474,8 @@
|
|
|
4406
4474
|
i10$1.MatInputModule,
|
|
4407
4475
|
checkbox.MatCheckboxModule,
|
|
4408
4476
|
i7.IgoSpinnerModule,
|
|
4409
|
-
|
|
4410
|
-
i5
|
|
4477
|
+
i4.CommonModule,
|
|
4478
|
+
i5.MatTabsModule,
|
|
4411
4479
|
i7$1.MatListModule,
|
|
4412
4480
|
i6.MatIconModule,
|
|
4413
4481
|
i2$2.IgoLanguageModule,
|
|
@@ -4421,7 +4489,7 @@
|
|
|
4421
4489
|
i10.MatSlideToggleModule,
|
|
4422
4490
|
i6$2.MatMenuModule,
|
|
4423
4491
|
i3.MatButtonModule,
|
|
4424
|
-
i4.MatTooltipModule
|
|
4492
|
+
i4$1.MatTooltipModule
|
|
4425
4493
|
],
|
|
4426
4494
|
declarations: [exports.AdvancedMapToolComponent, exports.MapToolComponent,
|
|
4427
4495
|
exports.MapToolsComponent, exports.MapDetailsToolComponent, exports.MapLegendToolComponent, AdvancedSwipeComponent, AdvancedCoordinatesComponent],
|
|
@@ -4442,8 +4510,8 @@
|
|
|
4442
4510
|
i10$1.MatInputModule,
|
|
4443
4511
|
checkbox.MatCheckboxModule,
|
|
4444
4512
|
i7.IgoSpinnerModule,
|
|
4445
|
-
|
|
4446
|
-
i5
|
|
4513
|
+
i4.CommonModule,
|
|
4514
|
+
i5.MatTabsModule,
|
|
4447
4515
|
i7$1.MatListModule,
|
|
4448
4516
|
i6.MatIconModule,
|
|
4449
4517
|
i2$2.IgoLanguageModule,
|
|
@@ -4457,7 +4525,7 @@
|
|
|
4457
4525
|
i10.MatSlideToggleModule,
|
|
4458
4526
|
i6$2.MatMenuModule,
|
|
4459
4527
|
i3.MatButtonModule,
|
|
4460
|
-
i4.MatTooltipModule], exports: [exports.AdvancedMapToolComponent, exports.MapToolComponent, exports.MapToolsComponent, exports.MapDetailsToolComponent, exports.MapLegendToolComponent] });
|
|
4528
|
+
i4$1.MatTooltipModule], exports: [exports.AdvancedMapToolComponent, exports.MapToolComponent, exports.MapToolsComponent, exports.MapDetailsToolComponent, exports.MapLegendToolComponent] });
|
|
4461
4529
|
})();
|
|
4462
4530
|
|
|
4463
4531
|
/**
|
|
@@ -4927,7 +4995,7 @@
|
|
|
4927
4995
|
var ctx_r7 = i0__namespace.ɵɵnextContext(3);
|
|
4928
4996
|
i0__namespace.ɵɵproperty("matTooltip", i0__namespace.ɵɵpipeBind1(1, 3, i0__namespace.ɵɵpipeBind1(2, 5, ctx_r7.isSelectedResultOutOfView$) ? "igo.integration.searchResultsTool.zoomOnFeatureTooltipOutOfView" : "igo.integration.searchResultsTool.zoomOnFeatureTooltip"));
|
|
4929
4997
|
i0__namespace.ɵɵadvance(3);
|
|
4930
|
-
i0__namespace.ɵɵproperty("matBadge", i0__namespace.ɵɵpipeBind1(4, 7, ctx_r7.isSelectedResultOutOfView$) ? "!" : "")("matBadgeHidden",
|
|
4998
|
+
i0__namespace.ɵɵproperty("matBadge", i0__namespace.ɵɵpipeBind1(4, 7, ctx_r7.isSelectedResultOutOfView$) ? "!" : "")("matBadgeHidden", i0__namespace.ɵɵpipeBind1(5, 9, ctx_r7.isSelectedResultOutOfView$) === false);
|
|
4931
4999
|
}
|
|
4932
5000
|
}
|
|
4933
5001
|
function SearchResultsToolComponent_igo_flexible_1_igo_panel_8_Template(rf, ctx) {
|
|
@@ -4941,7 +5009,7 @@
|
|
|
4941
5009
|
i0__namespace.ɵɵelementEnd();
|
|
4942
5010
|
i0__namespace.ɵɵtemplate(4, SearchResultsToolComponent_igo_flexible_1_igo_panel_8_button_4_Template, 6, 11, "button", 16);
|
|
4943
5011
|
i0__namespace.ɵɵelementStart(5, "igo-feature-details", 17);
|
|
4944
|
-
i0__namespace.ɵɵlistener("routingEvent", function SearchResultsToolComponent_igo_flexible_1_igo_panel_8_Template_igo_feature_details_routingEvent_5_listener(
|
|
5012
|
+
i0__namespace.ɵɵlistener("routingEvent", function SearchResultsToolComponent_igo_flexible_1_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(); });
|
|
4945
5013
|
i0__namespace.ɵɵpipe(6, "async");
|
|
4946
5014
|
i0__namespace.ɵɵelementEnd();
|
|
4947
5015
|
i0__namespace.ɵɵelementEnd();
|
|
@@ -5005,7 +5073,7 @@
|
|
|
5005
5073
|
this.term = '';
|
|
5006
5074
|
this.settingsChange$ = new rxjs.BehaviorSubject(undefined);
|
|
5007
5075
|
this.topPanelState$ = new rxjs.BehaviorSubject('initial');
|
|
5008
|
-
this.format = new olFormatGeoJSON__default[
|
|
5076
|
+
this.format = new olFormatGeoJSON__default["default"]();
|
|
5009
5077
|
this.hasFeatureEmphasisOnSelection = configService.getConfig('hasFeatureEmphasisOnSelection');
|
|
5010
5078
|
}
|
|
5011
5079
|
Object.defineProperty(SearchResultsToolComponent.prototype, "store", {
|
|
@@ -5188,9 +5256,9 @@
|
|
|
5188
5256
|
var extent = olGeometry.getExtent();
|
|
5189
5257
|
var x = extent[0] + (extent[2] - extent[0]) / 2;
|
|
5190
5258
|
var y = extent[1] + (extent[3] - extent[1]) / 2;
|
|
5191
|
-
var feature1 = new olFeature__default[
|
|
5259
|
+
var feature1 = new olFeature__default["default"]({
|
|
5192
5260
|
name: trigger + "AbstractResult'",
|
|
5193
|
-
geometry: new olPoint__default[
|
|
5261
|
+
geometry: new olPoint__default["default"]([x, y])
|
|
5194
5262
|
});
|
|
5195
5263
|
var abstractResult = i1.featureFromOl(feature1, this.map.projection);
|
|
5196
5264
|
var computedStyle = void 0;
|
|
@@ -5249,6 +5317,9 @@
|
|
|
5249
5317
|
if (this.showResultsGeometries$$) {
|
|
5250
5318
|
this.showResultsGeometries$$.unsubscribe();
|
|
5251
5319
|
}
|
|
5320
|
+
if (this.getRoute$$) {
|
|
5321
|
+
this.getRoute$$.unsubscribe();
|
|
5322
|
+
}
|
|
5252
5323
|
};
|
|
5253
5324
|
/**
|
|
5254
5325
|
* Try to add a feature to the map when it's being focused
|
|
@@ -5365,7 +5436,7 @@
|
|
|
5365
5436
|
var items = document.getElementsByTagName('igo-search-results-item');
|
|
5366
5437
|
var igoList = this.elRef.nativeElement.getElementsByTagName('igo-list')[0];
|
|
5367
5438
|
var selectedItem;
|
|
5368
|
-
//
|
|
5439
|
+
// eslint-disable-next-line
|
|
5369
5440
|
for (var i = 0; i < items.length; i++) {
|
|
5370
5441
|
if (items[i].className.includes('igo-list-item-selected')) {
|
|
5371
5442
|
selectedItem = items[i];
|
|
@@ -5423,11 +5494,35 @@
|
|
|
5423
5494
|
var elemBottom = elemTop + elem.clientHeight + padding;
|
|
5424
5495
|
return elemBottom <= docViewBottom && elemTop >= docViewTop;
|
|
5425
5496
|
};
|
|
5426
|
-
SearchResultsToolComponent.prototype.getRoute = function (
|
|
5497
|
+
SearchResultsToolComponent.prototype.getRoute = function () {
|
|
5498
|
+
var _this = this;
|
|
5427
5499
|
this.toolState.toolbox.activateTool('directions');
|
|
5428
|
-
this.directionState.stopsStore.
|
|
5429
|
-
|
|
5430
|
-
|
|
5500
|
+
this.directionState.stopsStore.clearStops();
|
|
5501
|
+
setTimeout(function () {
|
|
5502
|
+
var routingCoordLoaded = false;
|
|
5503
|
+
if (_this.getRoute$$) {
|
|
5504
|
+
_this.getRoute$$.unsubscribe();
|
|
5505
|
+
}
|
|
5506
|
+
_this.getRoute$$ = _this.directionState.stopsStore.storeInitialized$.subscribe(function (init) {
|
|
5507
|
+
if (_this.directionState.stopsStore.storeInitialized$.value && !routingCoordLoaded) {
|
|
5508
|
+
routingCoordLoaded = true;
|
|
5509
|
+
var stop = _this.directionState.stopsStore.all().find(function (e) { return e.position === 1; });
|
|
5510
|
+
var coord = void 0;
|
|
5511
|
+
if (_this.feature.geometry) {
|
|
5512
|
+
if (_this.feature.geometry.type === 'Point') {
|
|
5513
|
+
coord = [_this.feature.geometry.coordinates[0], _this.feature.geometry.coordinates[1]];
|
|
5514
|
+
}
|
|
5515
|
+
else {
|
|
5516
|
+
var point = pointOnFeature__default["default"](_this.feature.geometry);
|
|
5517
|
+
coord = [point.geometry.coordinates[0], point.geometry.coordinates[1]];
|
|
5518
|
+
}
|
|
5519
|
+
}
|
|
5520
|
+
stop.text = _this.featureTitle;
|
|
5521
|
+
stop.coordinates = coord;
|
|
5522
|
+
_this.directionState.stopsStore.update(stop);
|
|
5523
|
+
}
|
|
5524
|
+
});
|
|
5525
|
+
}, 250);
|
|
5431
5526
|
};
|
|
5432
5527
|
return SearchResultsToolComponent;
|
|
5433
5528
|
}());
|
|
@@ -5441,9 +5536,9 @@
|
|
|
5441
5536
|
if (rf & 2) {
|
|
5442
5537
|
i0__namespace.ɵɵproperty("ngIf", !ctx.store || ctx.store.stateView.empty);
|
|
5443
5538
|
i0__namespace.ɵɵadvance(1);
|
|
5444
|
-
i0__namespace.ɵɵproperty("ngIf", ctx.store &&
|
|
5539
|
+
i0__namespace.ɵɵproperty("ngIf", ctx.store && i0__namespace.ɵɵpipeBind1(2, 2, ctx.store.stateView.empty$) === false);
|
|
5445
5540
|
}
|
|
5446
|
-
}, directives: [
|
|
5541
|
+
}, directives: [i4__namespace.NgIf, i7__namespace.FlexibleComponent, i1__namespace.SearchResultsComponent, i1__namespace.SearchResultAddButtonComponent, i7__namespace.PanelComponent, i3__namespace.MatButton, i6__namespace.MatIcon, i1__namespace.FeatureDetailsComponent, i1__namespace.FeatureDetailsDirective, i4__namespace$1.MatTooltip, i12__namespace.MatBadge], pipes: [i4__namespace.AsyncPipe, i8__namespace.TranslatePipe, i7__namespace.SanitizeHtmlPipe], encapsulation: 2, changeDetection: 0 });
|
|
5447
5542
|
exports.SearchResultsToolComponent = __decorate([
|
|
5448
5543
|
i7.ToolComponent({
|
|
5449
5544
|
name: 'searchResults',
|
|
@@ -5477,10 +5572,10 @@
|
|
|
5477
5572
|
IgoAppSearchResultsToolModule.ɵfac = function IgoAppSearchResultsToolModule_Factory(t) { return new (t || IgoAppSearchResultsToolModule)(); };
|
|
5478
5573
|
IgoAppSearchResultsToolModule.ɵmod = /*@__PURE__*/ i0__namespace.ɵɵdefineNgModule({ type: IgoAppSearchResultsToolModule });
|
|
5479
5574
|
IgoAppSearchResultsToolModule.ɵinj = /*@__PURE__*/ i0__namespace.ɵɵdefineInjector({ imports: [[
|
|
5480
|
-
|
|
5575
|
+
i4.CommonModule,
|
|
5481
5576
|
i6.MatIconModule,
|
|
5482
5577
|
i12.MatBadgeModule,
|
|
5483
|
-
i4.MatTooltipModule,
|
|
5578
|
+
i4$1.MatTooltipModule,
|
|
5484
5579
|
i3.MatButtonModule,
|
|
5485
5580
|
i2$2.IgoLanguageModule,
|
|
5486
5581
|
i1.IgoFeatureModule,
|
|
@@ -5495,10 +5590,10 @@
|
|
|
5495
5590
|
type: i0.NgModule,
|
|
5496
5591
|
args: [{
|
|
5497
5592
|
imports: [
|
|
5498
|
-
|
|
5593
|
+
i4.CommonModule,
|
|
5499
5594
|
i6.MatIconModule,
|
|
5500
5595
|
i12.MatBadgeModule,
|
|
5501
|
-
i4.MatTooltipModule,
|
|
5596
|
+
i4$1.MatTooltipModule,
|
|
5502
5597
|
i3.MatButtonModule,
|
|
5503
5598
|
i2$2.IgoLanguageModule,
|
|
5504
5599
|
i1.IgoFeatureModule,
|
|
@@ -5515,10 +5610,10 @@
|
|
|
5515
5610
|
}], null, null);
|
|
5516
5611
|
})();
|
|
5517
5612
|
(function () {
|
|
5518
|
-
(typeof ngJitMode === "undefined" || ngJitMode) && i0__namespace.ɵɵsetNgModuleScope(IgoAppSearchResultsToolModule, { declarations: [exports.SearchResultsToolComponent], imports: [
|
|
5613
|
+
(typeof ngJitMode === "undefined" || ngJitMode) && i0__namespace.ɵɵsetNgModuleScope(IgoAppSearchResultsToolModule, { declarations: [exports.SearchResultsToolComponent], imports: [i4.CommonModule,
|
|
5519
5614
|
i6.MatIconModule,
|
|
5520
5615
|
i12.MatBadgeModule,
|
|
5521
|
-
i4.MatTooltipModule,
|
|
5616
|
+
i4$1.MatTooltipModule,
|
|
5522
5617
|
i3.MatButtonModule,
|
|
5523
5618
|
i2$2.IgoLanguageModule,
|
|
5524
5619
|
i1.IgoFeatureModule,
|
|
@@ -5646,7 +5741,7 @@
|
|
|
5646
5741
|
this.buffer = 0;
|
|
5647
5742
|
this.iterator = 1;
|
|
5648
5743
|
this.selectedFeature$ = new rxjs.BehaviorSubject(undefined);
|
|
5649
|
-
this.format = new olFormatGeoJSON__default[
|
|
5744
|
+
this.format = new olFormatGeoJSON__default["default"]();
|
|
5650
5745
|
this.store = new i7.EntityStore([]); // Store to print results at the end
|
|
5651
5746
|
this.spatialListStore = new i7.EntityStore([]);
|
|
5652
5747
|
this.loading = false;
|
|
@@ -5696,10 +5791,13 @@
|
|
|
5696
5791
|
SpatialFilterToolComponent.prototype.activateExportTool = function () {
|
|
5697
5792
|
var e_2, _e;
|
|
5698
5793
|
var ids = [];
|
|
5794
|
+
var re = new RegExp('^Zone \\d+');
|
|
5699
5795
|
try {
|
|
5700
5796
|
for (var _f = __values(this.layers), _g = _f.next(); !_g.done; _g = _f.next()) {
|
|
5701
5797
|
var layer = _g.value;
|
|
5702
|
-
|
|
5798
|
+
if (!layer.title.match(re)) {
|
|
5799
|
+
ids.push(layer.id);
|
|
5800
|
+
}
|
|
5703
5801
|
}
|
|
5704
5802
|
}
|
|
5705
5803
|
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
@@ -5713,12 +5811,12 @@
|
|
|
5713
5811
|
this.importExportState.setsExportOptions({ layers: ids });
|
|
5714
5812
|
this.toolState.toolbox.activateTool('importExport');
|
|
5715
5813
|
};
|
|
5716
|
-
SpatialFilterToolComponent.prototype.activateWorkspace = function () {
|
|
5814
|
+
SpatialFilterToolComponent.prototype.activateWorkspace = function (record) {
|
|
5717
5815
|
var _this = this;
|
|
5718
5816
|
var layerToOpenWks;
|
|
5719
5817
|
this.workspaceState.store.entities$.pipe(operators.takeUntil(this.unsubscribe$)).subscribe(function () {
|
|
5720
5818
|
var e_3, _e;
|
|
5721
|
-
if (_this.activeLayers.length && _this.workspaceState.store.all().length > 1) {
|
|
5819
|
+
if (!record && _this.activeLayers.length && _this.workspaceState.store.all().length > 1) {
|
|
5722
5820
|
if (_this.itemType === i1.SpatialFilterItemType.Thematics) {
|
|
5723
5821
|
var _loop_1 = function (thematic) {
|
|
5724
5822
|
if (!thematic.zeroResults) {
|
|
@@ -5755,6 +5853,22 @@
|
|
|
5755
5853
|
_this.workspaceState.setActiveWorkspaceById(layerToOpenWks.id);
|
|
5756
5854
|
}
|
|
5757
5855
|
}
|
|
5856
|
+
else if (record && _this.activeLayers.length && _this.workspaceState.store.all().length > 1) {
|
|
5857
|
+
_this.selectWorkspaceEntity(record);
|
|
5858
|
+
_this.moveendKey = _this.map.ol.on('moveend', function () {
|
|
5859
|
+
_this.selectWorkspaceEntity(record);
|
|
5860
|
+
});
|
|
5861
|
+
}
|
|
5862
|
+
});
|
|
5863
|
+
};
|
|
5864
|
+
SpatialFilterToolComponent.prototype.selectWorkspaceEntity = function (record) {
|
|
5865
|
+
var _this = this;
|
|
5866
|
+
this.workspaceState.store.all().forEach(function (workspace) {
|
|
5867
|
+
workspace.entityStore.state.updateAll({ selected: false });
|
|
5868
|
+
if (workspace.title.includes(record.added[0].meta.title)) {
|
|
5869
|
+
_this.workspaceState.setActiveWorkspaceById(workspace.id);
|
|
5870
|
+
workspace.entityStore.state.updateMany(record.added, { selected: true });
|
|
5871
|
+
}
|
|
5758
5872
|
});
|
|
5759
5873
|
};
|
|
5760
5874
|
SpatialFilterToolComponent.prototype.loadFilterList = function () {
|
|
@@ -6201,14 +6315,14 @@
|
|
|
6201
6315
|
return SpatialFilterToolComponent;
|
|
6202
6316
|
}());
|
|
6203
6317
|
exports.SpatialFilterToolComponent.ɵfac = function SpatialFilterToolComponent_Factory(t) { return new (t || exports.SpatialFilterToolComponent)(i0__namespace.ɵɵdirectiveInject(i6__namespace.MatIconRegistry), i0__namespace.ɵɵdirectiveInject(i1__namespace.SpatialFilterService), i0__namespace.ɵɵdirectiveInject(i1__namespace.DataSourceService), i0__namespace.ɵɵdirectiveInject(i1__namespace.LayerService), i0__namespace.ɵɵdirectiveInject(MapState), i0__namespace.ɵɵdirectiveInject(i2__namespace$2.MessageService), i0__namespace.ɵɵdirectiveInject(i2__namespace$2.LanguageService), i0__namespace.ɵɵdirectiveInject(ImportExportState), i0__namespace.ɵɵdirectiveInject(ToolState), i0__namespace.ɵɵdirectiveInject(WorkspaceState), i0__namespace.ɵɵdirectiveInject(i0__namespace.ChangeDetectorRef)); };
|
|
6204
|
-
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"], [4, "ngIf"], [3, "feature"]], template: function SpatialFilterToolComponent_Template(rf, ctx) {
|
|
6318
|
+
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) {
|
|
6205
6319
|
if (rf & 1) {
|
|
6206
6320
|
i0__namespace.ɵɵelementStart(0, "igo-panel");
|
|
6207
6321
|
i0__namespace.ɵɵelementStart(1, "igo-spatial-filter-type", 0);
|
|
6208
6322
|
i0__namespace.ɵɵlistener("eventType", function SpatialFilterToolComponent_Template_igo_spatial_filter_type_eventType_1_listener($event) { return ctx.getOutputType($event); })("eventQueryType", function SpatialFilterToolComponent_Template_igo_spatial_filter_type_eventQueryType_1_listener($event) { return ctx.getOutputQueryType($event); })("zoneChange", function SpatialFilterToolComponent_Template_igo_spatial_filter_type_zoneChange_1_listener($event) { return ctx.onZoneChange($event); })("zoneWithBufferChange", function SpatialFilterToolComponent_Template_igo_spatial_filter_type_zoneWithBufferChange_1_listener($event) { return ctx.onZoneChange($event, true); })("bufferChange", function SpatialFilterToolComponent_Template_igo_spatial_filter_type_bufferChange_1_listener($event) { return ctx.buffer = $event; })("measureUnitChange", function SpatialFilterToolComponent_Template_igo_spatial_filter_type_measureUnitChange_1_listener($event) { return ctx.measureUnit = $event; });
|
|
6209
6323
|
i0__namespace.ɵɵelementEnd();
|
|
6210
6324
|
i0__namespace.ɵɵelementStart(2, "igo-spatial-filter-item", 1);
|
|
6211
|
-
i0__namespace.ɵɵlistener("radiusEvent", function SpatialFilterToolComponent_Template_igo_spatial_filter_item_radiusEvent_2_listener($event) { return ctx.buffer = $event; })("bufferEvent", function SpatialFilterToolComponent_Template_igo_spatial_filter_item_bufferEvent_2_listener($event) { return ctx.buffer = $event; })("measureUnitChange", function SpatialFilterToolComponent_Template_igo_spatial_filter_item_measureUnitChange_2_listener($event) { return ctx.measureUnit = $event; })("freehandControl", function SpatialFilterToolComponent_Template_igo_spatial_filter_item_freehandControl_2_listener($event) { return ctx.freehandDrawIsActive = $event; })("drawZoneEvent", function SpatialFilterToolComponent_Template_igo_spatial_filter_item_drawZoneEvent_2_listener($event) { return ctx.zone = $event; })("zoneWithBufferChange", function SpatialFilterToolComponent_Template_igo_spatial_filter_item_zoneWithBufferChange_2_listener($event) { return ctx.onZoneChange($event, true); })("itemTypeChange", function SpatialFilterToolComponent_Template_igo_spatial_filter_item_itemTypeChange_2_listener($event) { return ctx.itemType = $event; })("thematicChange", function SpatialFilterToolComponent_Template_igo_spatial_filter_item_thematicChange_2_listener($event) { return ctx.thematics = $event; })("toggleSearch", function SpatialFilterToolComponent_Template_igo_spatial_filter_item_toggleSearch_2_listener() { return ctx.getOutputToggleSearch(); })("clearButtonEvent", function SpatialFilterToolComponent_Template_igo_spatial_filter_item_clearButtonEvent_2_listener() { return ctx.clearMap(); })("clearSearchEvent", function SpatialFilterToolComponent_Template_igo_spatial_filter_item_clearSearchEvent_2_listener() { return ctx.getOutputClearSearch(); })("export", function SpatialFilterToolComponent_Template_igo_spatial_filter_item_export_2_listener() { return ctx.activateExportTool(); })("openWorkspace", function SpatialFilterToolComponent_Template_igo_spatial_filter_item_openWorkspace_2_listener() { return ctx.activateWorkspace(); });
|
|
6325
|
+
i0__namespace.ɵɵlistener("radiusEvent", function SpatialFilterToolComponent_Template_igo_spatial_filter_item_radiusEvent_2_listener($event) { return ctx.buffer = $event; })("bufferEvent", function SpatialFilterToolComponent_Template_igo_spatial_filter_item_bufferEvent_2_listener($event) { return ctx.buffer = $event; })("measureUnitChange", function SpatialFilterToolComponent_Template_igo_spatial_filter_item_measureUnitChange_2_listener($event) { return ctx.measureUnit = $event; })("freehandControl", function SpatialFilterToolComponent_Template_igo_spatial_filter_item_freehandControl_2_listener($event) { return ctx.freehandDrawIsActive = $event; })("drawZoneEvent", function SpatialFilterToolComponent_Template_igo_spatial_filter_item_drawZoneEvent_2_listener($event) { return ctx.zone = $event; })("zoneWithBufferChange", function SpatialFilterToolComponent_Template_igo_spatial_filter_item_zoneWithBufferChange_2_listener($event) { return ctx.onZoneChange($event, true); })("itemTypeChange", function SpatialFilterToolComponent_Template_igo_spatial_filter_item_itemTypeChange_2_listener($event) { return ctx.itemType = $event; })("thematicChange", function SpatialFilterToolComponent_Template_igo_spatial_filter_item_thematicChange_2_listener($event) { return ctx.thematics = $event; })("toggleSearch", function SpatialFilterToolComponent_Template_igo_spatial_filter_item_toggleSearch_2_listener() { return ctx.getOutputToggleSearch(); })("clearButtonEvent", function SpatialFilterToolComponent_Template_igo_spatial_filter_item_clearButtonEvent_2_listener() { return ctx.clearMap(); })("clearSearchEvent", function SpatialFilterToolComponent_Template_igo_spatial_filter_item_clearSearchEvent_2_listener() { return ctx.getOutputClearSearch(); })("export", function SpatialFilterToolComponent_Template_igo_spatial_filter_item_export_2_listener() { return ctx.activateExportTool(); })("openWorkspace", function SpatialFilterToolComponent_Template_igo_spatial_filter_item_openWorkspace_2_listener() { return ctx.activateWorkspace(); })("entityChange", function SpatialFilterToolComponent_Template_igo_spatial_filter_item_entityChange_2_listener($event) { return ctx.activateWorkspace($event); });
|
|
6212
6326
|
i0__namespace.ɵɵelementEnd();
|
|
6213
6327
|
i0__namespace.ɵɵelementEnd();
|
|
6214
6328
|
i0__namespace.ɵɵelementStart(3, "igo-panel");
|
|
@@ -6224,7 +6338,7 @@
|
|
|
6224
6338
|
i0__namespace.ɵɵadvance(2);
|
|
6225
6339
|
i0__namespace.ɵɵproperty("ngIf", i0__namespace.ɵɵpipeBind1(5, 14, ctx.selectedFeature$));
|
|
6226
6340
|
}
|
|
6227
|
-
}, directives: [i1__namespace.SpatialFilterTypeComponent, i1__namespace.SpatialFilterItemComponent,
|
|
6341
|
+
}, directives: [i1__namespace.SpatialFilterTypeComponent, i1__namespace.SpatialFilterItemComponent, i4__namespace.NgIf], pipes: [i4__namespace.AsyncPipe], styles: [""], changeDetection: 0 });
|
|
6228
6342
|
exports.SpatialFilterToolComponent = __decorate([
|
|
6229
6343
|
i7.ToolComponent({
|
|
6230
6344
|
name: 'spatialFilter',
|
|
@@ -6418,12 +6532,12 @@
|
|
|
6418
6532
|
}());
|
|
6419
6533
|
IgoAppFilterModule.ɵfac = function IgoAppFilterModule_Factory(t) { return new (t || IgoAppFilterModule)(); };
|
|
6420
6534
|
IgoAppFilterModule.ɵmod = /*@__PURE__*/ i0__namespace.ɵɵdefineNgModule({ type: IgoAppFilterModule });
|
|
6421
|
-
IgoAppFilterModule.ɵinj = /*@__PURE__*/ i0__namespace.ɵɵdefineInjector({ imports: [[i1.IgoFilterModule, i1.IgoQueryModule,
|
|
6535
|
+
IgoAppFilterModule.ɵinj = /*@__PURE__*/ i0__namespace.ɵɵdefineInjector({ imports: [[i1.IgoFilterModule, i1.IgoQueryModule, i4.CommonModule]] });
|
|
6422
6536
|
(function () {
|
|
6423
6537
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(IgoAppFilterModule, [{
|
|
6424
6538
|
type: i0.NgModule,
|
|
6425
6539
|
args: [{
|
|
6426
|
-
imports: [i1.IgoFilterModule, i1.IgoQueryModule,
|
|
6540
|
+
imports: [i1.IgoFilterModule, i1.IgoQueryModule, i4.CommonModule],
|
|
6427
6541
|
declarations: [
|
|
6428
6542
|
exports.OgcFilterToolComponent,
|
|
6429
6543
|
exports.ActiveOgcFilterToolComponent,
|
|
@@ -6447,24 +6561,24 @@
|
|
|
6447
6561
|
exports.ActiveOgcFilterToolComponent,
|
|
6448
6562
|
exports.TimeFilterToolComponent,
|
|
6449
6563
|
exports.ActiveTimeFilterToolComponent,
|
|
6450
|
-
exports.SpatialFilterToolComponent], imports: [i1.IgoFilterModule, i1.IgoQueryModule,
|
|
6564
|
+
exports.SpatialFilterToolComponent], imports: [i1.IgoFilterModule, i1.IgoQueryModule, i4.CommonModule], exports: [exports.OgcFilterToolComponent,
|
|
6451
6565
|
exports.ActiveOgcFilterToolComponent,
|
|
6452
6566
|
exports.TimeFilterToolComponent,
|
|
6453
6567
|
exports.ActiveTimeFilterToolComponent,
|
|
6454
6568
|
exports.SpatialFilterToolComponent] });
|
|
6455
6569
|
})();
|
|
6456
6570
|
|
|
6457
|
-
function
|
|
6571
|
+
function AboutToolComponent_button_2_Template(rf, ctx) {
|
|
6458
6572
|
if (rf & 1) {
|
|
6459
|
-
var
|
|
6460
|
-
i0__namespace.ɵɵelementStart(0, "button",
|
|
6461
|
-
i0__namespace.ɵɵlistener("click", function
|
|
6573
|
+
var _r6_1 = i0__namespace.ɵɵgetCurrentView();
|
|
6574
|
+
i0__namespace.ɵɵelementStart(0, "button", 7);
|
|
6575
|
+
i0__namespace.ɵɵlistener("click", function AboutToolComponent_button_2_Template_button_click_0_listener() { i0__namespace.ɵɵrestoreView(_r6_1); var ctx_r5 = i0__namespace.ɵɵnextContext(); return ctx_r5.openGuide(); });
|
|
6462
6576
|
i0__namespace.ɵɵpipe(1, "translate");
|
|
6463
6577
|
i0__namespace.ɵɵelementStart(2, "span");
|
|
6464
6578
|
i0__namespace.ɵɵtext(3);
|
|
6465
6579
|
i0__namespace.ɵɵpipe(4, "translate");
|
|
6466
6580
|
i0__namespace.ɵɵelementEnd();
|
|
6467
|
-
i0__namespace.ɵɵelement(5, "mat-icon",
|
|
6581
|
+
i0__namespace.ɵɵelement(5, "mat-icon", 8);
|
|
6468
6582
|
i0__namespace.ɵɵelementEnd();
|
|
6469
6583
|
}
|
|
6470
6584
|
if (rf & 2) {
|
|
@@ -6474,51 +6588,62 @@
|
|
|
6474
6588
|
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(4, 5, "igo.integration.aboutTool.trainingGuide"));
|
|
6475
6589
|
}
|
|
6476
6590
|
}
|
|
6477
|
-
function
|
|
6591
|
+
function AboutToolComponent_button_3_Template(rf, ctx) {
|
|
6478
6592
|
if (rf & 1) {
|
|
6479
|
-
i0__namespace.ɵɵelementStart(0, "button",
|
|
6593
|
+
i0__namespace.ɵɵelementStart(0, "button", 9);
|
|
6480
6594
|
i0__namespace.ɵɵpipe(1, "translate");
|
|
6481
6595
|
i0__namespace.ɵɵelementStart(2, "span");
|
|
6482
6596
|
i0__namespace.ɵɵtext(3);
|
|
6483
6597
|
i0__namespace.ɵɵpipe(4, "translate");
|
|
6484
6598
|
i0__namespace.ɵɵelementEnd();
|
|
6485
|
-
i0__namespace.ɵɵelement(5, "mat-icon",
|
|
6599
|
+
i0__namespace.ɵɵelement(5, "mat-icon", 8);
|
|
6486
6600
|
i0__namespace.ɵɵelementEnd();
|
|
6487
6601
|
}
|
|
6488
6602
|
if (rf & 2) {
|
|
6489
6603
|
var ctx_r1 = i0__namespace.ɵɵnextContext();
|
|
6490
|
-
var _r2 = i0__namespace.ɵɵreference(
|
|
6604
|
+
var _r2 = i0__namespace.ɵɵreference(5);
|
|
6491
6605
|
i0__namespace.ɵɵproperty("disabled", ctx_r1.loading)("matTooltip", i0__namespace.ɵɵpipeBind1(1, 4, "igo.integration.aboutTool.trainingGuideTooltip"))("matMenuTriggerFor", _r2);
|
|
6492
6606
|
i0__namespace.ɵɵadvance(3);
|
|
6493
6607
|
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(4, 6, "igo.integration.aboutTool.trainingGuide"));
|
|
6494
6608
|
}
|
|
6495
6609
|
}
|
|
6496
|
-
function
|
|
6610
|
+
function AboutToolComponent_button_6_Template(rf, ctx) {
|
|
6497
6611
|
if (rf & 1) {
|
|
6498
|
-
var
|
|
6499
|
-
i0__namespace.ɵɵelementStart(0, "button",
|
|
6500
|
-
i0__namespace.ɵɵlistener("click", function
|
|
6612
|
+
var _r9_1 = i0__namespace.ɵɵgetCurrentView();
|
|
6613
|
+
i0__namespace.ɵɵelementStart(0, "button", 10);
|
|
6614
|
+
i0__namespace.ɵɵlistener("click", function AboutToolComponent_button_6_Template_button_click_0_listener() { var restoredCtx = i0__namespace.ɵɵrestoreView(_r9_1); var guide_r7 = restoredCtx.$implicit; var ctx_r8 = i0__namespace.ɵɵnextContext(); return ctx_r8.openGuide(guide_r7); });
|
|
6501
6615
|
i0__namespace.ɵɵtext(1);
|
|
6502
6616
|
i0__namespace.ɵɵelementEnd();
|
|
6503
6617
|
}
|
|
6504
6618
|
if (rf & 2) {
|
|
6505
|
-
var
|
|
6619
|
+
var guide_r7 = ctx.$implicit;
|
|
6506
6620
|
var ctx_r3 = i0__namespace.ɵɵnextContext();
|
|
6507
6621
|
i0__namespace.ɵɵadvance(1);
|
|
6508
|
-
i0__namespace.ɵɵtextInterpolate(ctx_r3.formatFileName(
|
|
6622
|
+
i0__namespace.ɵɵtextInterpolate(ctx_r3.formatFileName(guide_r7));
|
|
6623
|
+
}
|
|
6624
|
+
}
|
|
6625
|
+
function AboutToolComponent_igo_custom_html_7_Template(rf, ctx) {
|
|
6626
|
+
if (rf & 1) {
|
|
6627
|
+
i0__namespace.ɵɵelement(0, "igo-custom-html", 6);
|
|
6628
|
+
i0__namespace.ɵɵpipe(1, "translate");
|
|
6629
|
+
}
|
|
6630
|
+
if (rf & 2) {
|
|
6631
|
+
var ctx_r4 = i0__namespace.ɵɵnextContext();
|
|
6632
|
+
i0__namespace.ɵɵproperty("html", i0__namespace.ɵɵpipeBind1(1, 1, ctx_r4.headerHtml));
|
|
6509
6633
|
}
|
|
6510
6634
|
}
|
|
6511
6635
|
var _c0 = function (a0) { return { version: a0 }; };
|
|
6512
6636
|
exports.AboutToolComponent = /** @class */ (function () {
|
|
6513
|
-
function AboutToolComponent(configService, auth, http, cdRef) {
|
|
6637
|
+
function AboutToolComponent(configService, auth, http, cdRef, languageService) {
|
|
6514
6638
|
this.configService = configService;
|
|
6515
6639
|
this.auth = auth;
|
|
6516
6640
|
this.http = http;
|
|
6517
6641
|
this.cdRef = cdRef;
|
|
6642
|
+
this.languageService = languageService;
|
|
6518
6643
|
this._discoverTitleInLocale = 'IGO';
|
|
6519
6644
|
this.discoverTitleInLocale$ = rxjs.of(this._discoverTitleInLocale);
|
|
6520
6645
|
this._html = 'igo.integration.aboutTool.html';
|
|
6521
|
-
this._headerHtml = 'igo.integration.aboutTool.headerHtml';
|
|
6646
|
+
this._headerHtml = this.languageService.translate.instant('igo.integration.aboutTool.headerHtml');
|
|
6522
6647
|
this.loading = false;
|
|
6523
6648
|
this.version = configService.getConfig('version');
|
|
6524
6649
|
this.baseUrlProfil = configService.getConfig('context.url') + '/user/igo?';
|
|
@@ -6594,36 +6719,35 @@
|
|
|
6594
6719
|
};
|
|
6595
6720
|
return AboutToolComponent;
|
|
6596
6721
|
}());
|
|
6597
|
-
exports.AboutToolComponent.ɵfac = function AboutToolComponent_Factory(t) { return new (t || exports.AboutToolComponent)(i0__namespace.ɵɵdirectiveInject(i2__namespace$2.ConfigService), i0__namespace.ɵɵdirectiveInject(i2__namespace$1.AuthService), i0__namespace.ɵɵdirectiveInject(i3__namespace$2.HttpClient), i0__namespace.ɵɵdirectiveInject(i0__namespace.ChangeDetectorRef)); };
|
|
6598
|
-
exports.AboutToolComponent.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: exports.AboutToolComponent, selectors: [["igo-about-tool"]], inputs: { headerHtml: "headerHtml", html: "html", discoverTitleInLocale: "discoverTitleInLocale", trainingGuideURLs: "trainingGuideURLs" }, decls:
|
|
6722
|
+
exports.AboutToolComponent.ɵfac = function AboutToolComponent_Factory(t) { return new (t || exports.AboutToolComponent)(i0__namespace.ɵɵdirectiveInject(i2__namespace$2.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$2.LanguageService)); };
|
|
6723
|
+
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) {
|
|
6599
6724
|
if (rf & 1) {
|
|
6600
6725
|
i0__namespace.ɵɵelement(0, "p");
|
|
6601
6726
|
i0__namespace.ɵɵelement(1, "igo-interactive-tour", 0);
|
|
6602
|
-
i0__namespace.ɵɵ
|
|
6603
|
-
i0__namespace.ɵɵ
|
|
6604
|
-
i0__namespace.ɵɵ
|
|
6605
|
-
i0__namespace.ɵɵtemplate(
|
|
6606
|
-
i0__namespace.ɵɵelementStart(6, "mat-menu", null, 4);
|
|
6607
|
-
i0__namespace.ɵɵtemplate(8, AboutToolComponent_button_8_Template, 2, 1, "button", 5);
|
|
6727
|
+
i0__namespace.ɵɵtemplate(2, AboutToolComponent_button_2_Template, 6, 7, "button", 1);
|
|
6728
|
+
i0__namespace.ɵɵtemplate(3, AboutToolComponent_button_3_Template, 6, 8, "button", 2);
|
|
6729
|
+
i0__namespace.ɵɵelementStart(4, "mat-menu", null, 3);
|
|
6730
|
+
i0__namespace.ɵɵtemplate(6, AboutToolComponent_button_6_Template, 2, 1, "button", 4);
|
|
6608
6731
|
i0__namespace.ɵɵelementEnd();
|
|
6609
|
-
i0__namespace.ɵɵ
|
|
6610
|
-
i0__namespace.ɵɵ
|
|
6732
|
+
i0__namespace.ɵɵtemplate(7, AboutToolComponent_igo_custom_html_7_Template, 2, 3, "igo-custom-html", 5);
|
|
6733
|
+
i0__namespace.ɵɵelement(8, "igo-custom-html", 6);
|
|
6734
|
+
i0__namespace.ɵɵpipe(9, "translate");
|
|
6611
6735
|
}
|
|
6612
6736
|
if (rf & 2) {
|
|
6613
6737
|
i0__namespace.ɵɵadvance(1);
|
|
6614
6738
|
i0__namespace.ɵɵproperty("discoverTitleInLocale$", ctx.discoverTitleInLocale$);
|
|
6615
6739
|
i0__namespace.ɵɵadvance(1);
|
|
6616
|
-
i0__namespace.ɵɵproperty("html", i0__namespace.ɵɵpipeBind1(3, 6, ctx.headerHtml));
|
|
6617
|
-
i0__namespace.ɵɵadvance(2);
|
|
6618
6740
|
i0__namespace.ɵɵproperty("ngIf", ctx.auth.authenticated && ctx.trainingGuideURLs && ctx.trainingGuideURLs.length === 1);
|
|
6619
6741
|
i0__namespace.ɵɵadvance(1);
|
|
6620
6742
|
i0__namespace.ɵɵproperty("ngIf", ctx.auth.authenticated && ctx.trainingGuideURLs && ctx.trainingGuideURLs.length > 1);
|
|
6621
6743
|
i0__namespace.ɵɵadvance(3);
|
|
6622
6744
|
i0__namespace.ɵɵproperty("ngForOf", ctx.trainingGuideURLs);
|
|
6623
6745
|
i0__namespace.ɵɵadvance(1);
|
|
6624
|
-
i0__namespace.ɵɵproperty("
|
|
6746
|
+
i0__namespace.ɵɵproperty("ngIf", ctx.headerHtml !== "");
|
|
6747
|
+
i0__namespace.ɵɵadvance(1);
|
|
6748
|
+
i0__namespace.ɵɵproperty("html", i0__namespace.ɵɵpipeBind2(9, 6, ctx.html, i0__namespace.ɵɵpureFunction1(9, _c0, ctx.version)));
|
|
6625
6749
|
}
|
|
6626
|
-
}, directives: [i7__namespace.InteractiveTourComponent,
|
|
6750
|
+
}, directives: [i7__namespace.InteractiveTourComponent, i4__namespace.NgIf, i6__namespace$2.MatMenu, i4__namespace.NgForOf, i7__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}"] });
|
|
6627
6751
|
exports.AboutToolComponent = __decorate([
|
|
6628
6752
|
i7.ToolComponent({
|
|
6629
6753
|
name: 'about',
|
|
@@ -6639,7 +6763,7 @@
|
|
|
6639
6763
|
templateUrl: './about-tool.component.html',
|
|
6640
6764
|
styleUrls: ['./about-tool.component.scss']
|
|
6641
6765
|
}]
|
|
6642
|
-
}], function () { return [{ type: i2__namespace$2.ConfigService }, { type: i2__namespace$1.AuthService }, { type: i3__namespace$2.HttpClient }, { type: i0__namespace.ChangeDetectorRef }]; }, { headerHtml: [{
|
|
6766
|
+
}], function () { return [{ type: i2__namespace$2.ConfigService }, { type: i2__namespace$1.AuthService }, { type: i3__namespace$2.HttpClient }, { type: i0__namespace.ChangeDetectorRef }, { type: i2__namespace$2.LanguageService }]; }, { headerHtml: [{
|
|
6643
6767
|
type: i0.Input
|
|
6644
6768
|
}], html: [{
|
|
6645
6769
|
type: i0.Input
|
|
@@ -6667,11 +6791,11 @@
|
|
|
6667
6791
|
i2$2.IgoLanguageModule,
|
|
6668
6792
|
i7.IgoCustomHtmlModule,
|
|
6669
6793
|
i3.MatButtonModule,
|
|
6670
|
-
i4.MatTooltipModule,
|
|
6794
|
+
i4$1.MatTooltipModule,
|
|
6671
6795
|
i6.MatIconModule,
|
|
6672
6796
|
i6$2.MatMenuModule,
|
|
6673
6797
|
i7.IgoInteractiveTourModule,
|
|
6674
|
-
|
|
6798
|
+
i4.CommonModule
|
|
6675
6799
|
]] });
|
|
6676
6800
|
(function () {
|
|
6677
6801
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(IgoAppAboutModule, [{
|
|
@@ -6681,11 +6805,11 @@
|
|
|
6681
6805
|
i2$2.IgoLanguageModule,
|
|
6682
6806
|
i7.IgoCustomHtmlModule,
|
|
6683
6807
|
i3.MatButtonModule,
|
|
6684
|
-
i4.MatTooltipModule,
|
|
6808
|
+
i4$1.MatTooltipModule,
|
|
6685
6809
|
i6.MatIconModule,
|
|
6686
6810
|
i6$2.MatMenuModule,
|
|
6687
6811
|
i7.IgoInteractiveTourModule,
|
|
6688
|
-
|
|
6812
|
+
i4.CommonModule
|
|
6689
6813
|
],
|
|
6690
6814
|
declarations: [exports.AboutToolComponent],
|
|
6691
6815
|
exports: [exports.AboutToolComponent],
|
|
@@ -6697,11 +6821,11 @@
|
|
|
6697
6821
|
(typeof ngJitMode === "undefined" || ngJitMode) && i0__namespace.ɵɵsetNgModuleScope(IgoAppAboutModule, { declarations: [exports.AboutToolComponent], imports: [i2$2.IgoLanguageModule,
|
|
6698
6822
|
i7.IgoCustomHtmlModule,
|
|
6699
6823
|
i3.MatButtonModule,
|
|
6700
|
-
i4.MatTooltipModule,
|
|
6824
|
+
i4$1.MatTooltipModule,
|
|
6701
6825
|
i6.MatIconModule,
|
|
6702
6826
|
i6$2.MatMenuModule,
|
|
6703
6827
|
i7.IgoInteractiveTourModule,
|
|
6704
|
-
|
|
6828
|
+
i4.CommonModule], exports: [exports.AboutToolComponent] });
|
|
6705
6829
|
})();
|
|
6706
6830
|
|
|
6707
6831
|
var IgoAppStorageModule = /** @class */ (function () {
|
|
@@ -7006,6 +7130,7 @@
|
|
|
7006
7130
|
exports.AnalyticsListenerService = AnalyticsListenerService;
|
|
7007
7131
|
exports.CatalogState = CatalogState;
|
|
7008
7132
|
exports.ContextState = ContextState;
|
|
7133
|
+
exports.DirectionState = DirectionState;
|
|
7009
7134
|
exports.DrawState = DrawState;
|
|
7010
7135
|
exports.FeatureActionsService = FeatureActionsService;
|
|
7011
7136
|
exports.IgoAppAboutModule = IgoAppAboutModule;
|
|
@@ -7043,5 +7168,5 @@
|
|
|
7043
7168
|
|
|
7044
7169
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7045
7170
|
|
|
7046
|
-
}))
|
|
7171
|
+
}));
|
|
7047
7172
|
//# sourceMappingURL=igo2-integration.umd.js.map
|