@igo2/integration 1.9.4 → 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 +107 -69
- package/bundles/igo2-integration.umd.js.map +1 -1
- package/esm2015/lib/filter/spatial-filter-tool/spatial-filter-tool.component.js +24 -6
- package/esm2015/lib/map/advanced-map-tool/advanced-coordinates/advanced-coordinates.component.js +28 -8
- package/fesm2015/igo2-integration.js +64 -27
- package/fesm2015/igo2-integration.js.map +1 -1
- 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/package.json +3 -3
|
@@ -2,7 +2,7 @@
|
|
|
2
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
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
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,
|
|
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
|
|
|
@@ -28,14 +28,14 @@
|
|
|
28
28
|
var i2__namespace = /*#__PURE__*/_interopNamespace(i2);
|
|
29
29
|
var i7__namespace = /*#__PURE__*/_interopNamespace(i7);
|
|
30
30
|
var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
|
|
31
|
-
var
|
|
31
|
+
var i4__namespace = /*#__PURE__*/_interopNamespace(i4);
|
|
32
32
|
var i2__namespace$1 = /*#__PURE__*/_interopNamespace(i2$1);
|
|
33
33
|
var i2__namespace$2 = /*#__PURE__*/_interopNamespace(i2$2);
|
|
34
34
|
var i3__namespace = /*#__PURE__*/_interopNamespace(i3);
|
|
35
|
-
var i4__namespace = /*#__PURE__*/_interopNamespace(i4);
|
|
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
|
|
38
|
+
var i5__namespace = /*#__PURE__*/_interopNamespace(i5);
|
|
39
39
|
var i7__namespace$1 = /*#__PURE__*/_interopNamespace(i7$1);
|
|
40
40
|
var i10__namespace = /*#__PURE__*/_interopNamespace(i10);
|
|
41
41
|
var i6__namespace$2 = /*#__PURE__*/_interopNamespace(i6$2);
|
|
@@ -936,7 +936,7 @@
|
|
|
936
936
|
IgoAppCatalogLibraryToolModule.ɵfac = function IgoAppCatalogLibraryToolModule_Factory(t) { return new (t || IgoAppCatalogLibraryToolModule)(); };
|
|
937
937
|
IgoAppCatalogLibraryToolModule.ɵmod = /*@__PURE__*/ i0__namespace.ɵɵdefineNgModule({ type: IgoAppCatalogLibraryToolModule });
|
|
938
938
|
IgoAppCatalogLibraryToolModule.ɵinj = /*@__PURE__*/ i0__namespace.ɵɵdefineInjector({ imports: [[
|
|
939
|
-
|
|
939
|
+
i4.CommonModule,
|
|
940
940
|
i1.IgoCatalogLibraryModule
|
|
941
941
|
]] });
|
|
942
942
|
(function () {
|
|
@@ -944,7 +944,7 @@
|
|
|
944
944
|
type: i0.NgModule,
|
|
945
945
|
args: [{
|
|
946
946
|
imports: [
|
|
947
|
-
|
|
947
|
+
i4.CommonModule,
|
|
948
948
|
i1.IgoCatalogLibraryModule
|
|
949
949
|
],
|
|
950
950
|
declarations: [exports.CatalogLibraryToolComponent],
|
|
@@ -954,7 +954,7 @@
|
|
|
954
954
|
}], null, null);
|
|
955
955
|
})();
|
|
956
956
|
(function () {
|
|
957
|
-
(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,
|
|
958
958
|
i1.IgoCatalogLibraryModule], exports: [exports.CatalogLibraryToolComponent] });
|
|
959
959
|
})();
|
|
960
960
|
|
|
@@ -1056,7 +1056,7 @@
|
|
|
1056
1056
|
if (rf & 2) {
|
|
1057
1057
|
i0__namespace.ɵɵproperty("ngIf", i0__namespace.ɵɵpipeBind1(1, 1, ctx.store$));
|
|
1058
1058
|
}
|
|
1059
|
-
}, directives: [
|
|
1059
|
+
}, directives: [i4__namespace.NgIf, i1__namespace.CatalogBrowserComponent], pipes: [i4__namespace.AsyncPipe], encapsulation: 2, changeDetection: 0 });
|
|
1060
1060
|
exports.CatalogBrowserToolComponent = __decorate([
|
|
1061
1061
|
i7.ToolComponent({
|
|
1062
1062
|
name: 'catalogBrowser',
|
|
@@ -1089,7 +1089,7 @@
|
|
|
1089
1089
|
IgoAppCatalogBrowserToolModule.ɵfac = function IgoAppCatalogBrowserToolModule_Factory(t) { return new (t || IgoAppCatalogBrowserToolModule)(); };
|
|
1090
1090
|
IgoAppCatalogBrowserToolModule.ɵmod = /*@__PURE__*/ i0__namespace.ɵɵdefineNgModule({ type: IgoAppCatalogBrowserToolModule });
|
|
1091
1091
|
IgoAppCatalogBrowserToolModule.ɵinj = /*@__PURE__*/ i0__namespace.ɵɵdefineInjector({ imports: [[
|
|
1092
|
-
|
|
1092
|
+
i4.CommonModule,
|
|
1093
1093
|
i1.IgoCatalogBrowserModule
|
|
1094
1094
|
]] });
|
|
1095
1095
|
(function () {
|
|
@@ -1097,7 +1097,7 @@
|
|
|
1097
1097
|
type: i0.NgModule,
|
|
1098
1098
|
args: [{
|
|
1099
1099
|
imports: [
|
|
1100
|
-
|
|
1100
|
+
i4.CommonModule,
|
|
1101
1101
|
i1.IgoCatalogBrowserModule
|
|
1102
1102
|
],
|
|
1103
1103
|
declarations: [exports.CatalogBrowserToolComponent],
|
|
@@ -1107,7 +1107,7 @@
|
|
|
1107
1107
|
}], null, null);
|
|
1108
1108
|
})();
|
|
1109
1109
|
(function () {
|
|
1110
|
-
(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,
|
|
1111
1111
|
i1.IgoCatalogBrowserModule], exports: [exports.CatalogBrowserToolComponent] });
|
|
1112
1112
|
})();
|
|
1113
1113
|
|
|
@@ -2001,7 +2001,7 @@
|
|
|
2001
2001
|
if (rf & 2) {
|
|
2002
2002
|
i0__namespace.ɵɵproperty("ngIf", i0__namespace.ɵɵpipeBind1(1, 1, ctx.hasWorkspace$));
|
|
2003
2003
|
}
|
|
2004
|
-
}, 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 });
|
|
2005
2005
|
(function () {
|
|
2006
2006
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(WorkspaceButtonComponent, [{
|
|
2007
2007
|
type: i0.Component,
|
|
@@ -2026,10 +2026,10 @@
|
|
|
2026
2026
|
IgoAppWorkspaceModule.ɵfac = function IgoAppWorkspaceModule_Factory(t) { return new (t || IgoAppWorkspaceModule)(); };
|
|
2027
2027
|
IgoAppWorkspaceModule.ɵmod = /*@__PURE__*/ i0__namespace.ɵɵdefineNgModule({ type: IgoAppWorkspaceModule });
|
|
2028
2028
|
IgoAppWorkspaceModule.ɵinj = /*@__PURE__*/ i0__namespace.ɵɵdefineInjector({ imports: [[
|
|
2029
|
-
|
|
2029
|
+
i4.CommonModule,
|
|
2030
2030
|
i6.MatIconModule,
|
|
2031
2031
|
i3.MatButtonModule,
|
|
2032
|
-
i4.MatTooltipModule,
|
|
2032
|
+
i4$1.MatTooltipModule,
|
|
2033
2033
|
i2$2.IgoLanguageModule
|
|
2034
2034
|
]] });
|
|
2035
2035
|
(function () {
|
|
@@ -2037,10 +2037,10 @@
|
|
|
2037
2037
|
type: i0.NgModule,
|
|
2038
2038
|
args: [{
|
|
2039
2039
|
imports: [
|
|
2040
|
-
|
|
2040
|
+
i4.CommonModule,
|
|
2041
2041
|
i6.MatIconModule,
|
|
2042
2042
|
i3.MatButtonModule,
|
|
2043
|
-
i4.MatTooltipModule,
|
|
2043
|
+
i4$1.MatTooltipModule,
|
|
2044
2044
|
i2$2.IgoLanguageModule
|
|
2045
2045
|
],
|
|
2046
2046
|
declarations: [WorkspaceButtonComponent],
|
|
@@ -2049,10 +2049,10 @@
|
|
|
2049
2049
|
}], null, null);
|
|
2050
2050
|
})();
|
|
2051
2051
|
(function () {
|
|
2052
|
-
(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,
|
|
2053
2053
|
i6.MatIconModule,
|
|
2054
2054
|
i3.MatButtonModule,
|
|
2055
|
-
i4.MatTooltipModule,
|
|
2055
|
+
i4$1.MatTooltipModule,
|
|
2056
2056
|
i2$2.IgoLanguageModule], exports: [WorkspaceButtonComponent] });
|
|
2057
2057
|
})();
|
|
2058
2058
|
|
|
@@ -2182,7 +2182,7 @@
|
|
|
2182
2182
|
i0__namespace.ɵɵadvance(1);
|
|
2183
2183
|
i0__namespace.ɵɵproperty("ngIf", !ctx.importExportShowBothType && ctx.importExportType === "context");
|
|
2184
2184
|
}
|
|
2185
|
-
}, 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 });
|
|
2186
2186
|
exports.ImportExportToolComponent = __decorate([
|
|
2187
2187
|
i7.ToolComponent({
|
|
2188
2188
|
name: 'importExport',
|
|
@@ -2226,10 +2226,10 @@
|
|
|
2226
2226
|
IgoAppImportExportModule.ɵinj = /*@__PURE__*/ i0__namespace.ɵɵdefineInjector({ imports: [[
|
|
2227
2227
|
i1.IgoImportExportModule,
|
|
2228
2228
|
i2.IgoContextImportExportModule,
|
|
2229
|
-
|
|
2229
|
+
i4.CommonModule,
|
|
2230
2230
|
i2$2.IgoLanguageModule,
|
|
2231
2231
|
buttonToggle.MatButtonToggleModule,
|
|
2232
|
-
i5
|
|
2232
|
+
i5.MatTabsModule
|
|
2233
2233
|
]] });
|
|
2234
2234
|
(function () {
|
|
2235
2235
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(IgoAppImportExportModule, [{
|
|
@@ -2238,10 +2238,10 @@
|
|
|
2238
2238
|
imports: [
|
|
2239
2239
|
i1.IgoImportExportModule,
|
|
2240
2240
|
i2.IgoContextImportExportModule,
|
|
2241
|
-
|
|
2241
|
+
i4.CommonModule,
|
|
2242
2242
|
i2$2.IgoLanguageModule,
|
|
2243
2243
|
buttonToggle.MatButtonToggleModule,
|
|
2244
|
-
i5
|
|
2244
|
+
i5.MatTabsModule
|
|
2245
2245
|
],
|
|
2246
2246
|
declarations: [exports.ImportExportToolComponent],
|
|
2247
2247
|
exports: [exports.ImportExportToolComponent],
|
|
@@ -2252,10 +2252,10 @@
|
|
|
2252
2252
|
(function () {
|
|
2253
2253
|
(typeof ngJitMode === "undefined" || ngJitMode) && i0__namespace.ɵɵsetNgModuleScope(IgoAppImportExportModule, { declarations: [exports.ImportExportToolComponent], imports: [i1.IgoImportExportModule,
|
|
2254
2254
|
i2.IgoContextImportExportModule,
|
|
2255
|
-
|
|
2255
|
+
i4.CommonModule,
|
|
2256
2256
|
i2$2.IgoLanguageModule,
|
|
2257
2257
|
buttonToggle.MatButtonToggleModule,
|
|
2258
|
-
i5
|
|
2258
|
+
i5.MatTabsModule], exports: [exports.ImportExportToolComponent] });
|
|
2259
2259
|
})();
|
|
2260
2260
|
|
|
2261
2261
|
function MapDetailsToolComponent_igo_layer_list_0_ng_template_1_Template(rf, ctx) {
|
|
@@ -2539,7 +2539,7 @@
|
|
|
2539
2539
|
var _r1 = i0__namespace.ɵɵreference(3);
|
|
2540
2540
|
i0__namespace.ɵɵproperty("ngIf", i0__namespace.ɵɵpipeBind1(1, 2, ctx.layers$).length)("ngIfElse", _r1);
|
|
2541
2541
|
}
|
|
2542
|
-
}, 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}"] });
|
|
2543
2543
|
exports.MapDetailsToolComponent = __decorate([
|
|
2544
2544
|
i7.ToolComponent({
|
|
2545
2545
|
name: 'mapDetails',
|
|
@@ -2688,7 +2688,7 @@
|
|
|
2688
2688
|
i0__namespace.ɵɵadvance(3);
|
|
2689
2689
|
i0__namespace.ɵɵproperty("label", i0__namespace.ɵɵpipeBind1(7, 12, "igo.integration.tools.contexts"));
|
|
2690
2690
|
}
|
|
2691
|
-
}, 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 });
|
|
2692
2692
|
exports.MapToolComponent = __decorate([
|
|
2693
2693
|
i7.ToolComponent({
|
|
2694
2694
|
name: 'map',
|
|
@@ -3240,7 +3240,7 @@
|
|
|
3240
3240
|
i0__namespace.ɵɵadvance(2);
|
|
3241
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);
|
|
3242
3242
|
}
|
|
3243
|
-
}, 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 });
|
|
3244
3244
|
exports.MapToolsComponent = __decorate([
|
|
3245
3245
|
i7.ToolComponent({
|
|
3246
3246
|
name: 'mapTools',
|
|
@@ -3590,7 +3590,7 @@
|
|
|
3590
3590
|
i0__namespace.ɵɵadvance(2);
|
|
3591
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);
|
|
3592
3592
|
}
|
|
3593
|
-
}, 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}"] });
|
|
3594
3594
|
exports.MapLegendToolComponent = __decorate([
|
|
3595
3595
|
i7.ToolComponent({
|
|
3596
3596
|
name: 'mapLegend',
|
|
@@ -3856,7 +3856,7 @@
|
|
|
3856
3856
|
var _r1 = i0__namespace.ɵɵreference(2);
|
|
3857
3857
|
i0__namespace.ɵɵproperty("ngIf", ctx.userControlledLayerList.length)("ngIfElse", _r1);
|
|
3858
3858
|
}
|
|
3859
|
-
}, 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}"] });
|
|
3860
3860
|
(function () {
|
|
3861
3861
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(AdvancedSwipeComponent, [{
|
|
3862
3862
|
type: i0.Component,
|
|
@@ -3946,6 +3946,7 @@
|
|
|
3946
3946
|
this.storageService = storageService;
|
|
3947
3947
|
this.config = config;
|
|
3948
3948
|
this.formBuilder = formBuilder;
|
|
3949
|
+
this.formattedScale$ = new rxjs.BehaviorSubject('');
|
|
3949
3950
|
this.projections$ = new rxjs.BehaviorSubject([]);
|
|
3950
3951
|
this.center = this.storageService.get('centerToggle');
|
|
3951
3952
|
this.inMtmZone = true;
|
|
@@ -3994,6 +3995,7 @@
|
|
|
3994
3995
|
var _this = this;
|
|
3995
3996
|
this.mapState$$ = rxjs.combineLatest([this.map.viewController.state$.pipe(operators.debounceTime(50)), this.form.valueChanges])
|
|
3996
3997
|
.subscribe(function () {
|
|
3998
|
+
_this.setScaleValue(_this.map);
|
|
3997
3999
|
_this.currentCenterDefaultProj = _this.map.viewController.getCenter(_this.defaultProj.code);
|
|
3998
4000
|
var currentMtmZone = i1.zoneMtm(_this.currentCenterDefaultProj[0]);
|
|
3999
4001
|
var currentUtmZone = i1.zoneUtm(_this.currentCenterDefaultProj[0]);
|
|
@@ -4032,6 +4034,9 @@
|
|
|
4032
4034
|
this.map.mapCenter$.next(false);
|
|
4033
4035
|
this.mapState$$.unsubscribe();
|
|
4034
4036
|
};
|
|
4037
|
+
AdvancedCoordinatesComponent.prototype.setScaleValue = function (map) {
|
|
4038
|
+
this.formattedScale$.next(': ~ 1 / ' + i1.formatScale(map.viewController.getScale()));
|
|
4039
|
+
};
|
|
4035
4040
|
/**
|
|
4036
4041
|
* Coordinates of the center of the map on the appropriate systeme of coordinates
|
|
4037
4042
|
* @returns Array of two numbers
|
|
@@ -4278,7 +4283,7 @@
|
|
|
4278
4283
|
return AdvancedCoordinatesComponent;
|
|
4279
4284
|
}());
|
|
4280
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)); };
|
|
4281
|
-
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) {
|
|
4282
4287
|
if (rf & 1) {
|
|
4283
4288
|
i0__namespace.ɵɵtemplate(0, AdvancedCoordinatesComponent_mat_form_field_0_Template, 4, 4, "mat-form-field", 0);
|
|
4284
4289
|
i0__namespace.ɵɵtemplate(1, AdvancedCoordinatesComponent_ng_template_1_Template, 4, 4, "ng-template", null, 1, i0__namespace.ɵɵtemplateRefExtractor);
|
|
@@ -4312,6 +4317,16 @@
|
|
|
4312
4317
|
i0__namespace.ɵɵtext(22);
|
|
4313
4318
|
i0__namespace.ɵɵpipe(23, "translate");
|
|
4314
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();
|
|
4315
4330
|
}
|
|
4316
4331
|
if (rf & 2) {
|
|
4317
4332
|
var _r1 = i0__namespace.ɵɵreference(2);
|
|
@@ -4320,23 +4335,27 @@
|
|
|
4320
4335
|
i0__namespace.ɵɵadvance(3);
|
|
4321
4336
|
i0__namespace.ɵɵproperty("ngIf", ctx.units)("ngIfElse", _r4);
|
|
4322
4337
|
i0__namespace.ɵɵadvance(5);
|
|
4323
|
-
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");
|
|
4324
4339
|
i0__namespace.ɵɵadvance(2);
|
|
4325
4340
|
i0__namespace.ɵɵproperty("formGroup", ctx.form);
|
|
4326
4341
|
i0__namespace.ɵɵadvance(3);
|
|
4327
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(14,
|
|
4342
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(14, 20, "igo.integration.advanced-map-tool.advanced-coordinates.coordSystem"));
|
|
4328
4343
|
i0__namespace.ɵɵadvance(2);
|
|
4329
4344
|
i0__namespace.ɵɵproperty("value", ctx.inputProj);
|
|
4330
4345
|
i0__namespace.ɵɵadvance(1);
|
|
4331
|
-
i0__namespace.ɵɵproperty("ngForOf", i0__namespace.ɵɵpipeBind1(17,
|
|
4346
|
+
i0__namespace.ɵɵproperty("ngForOf", i0__namespace.ɵɵpipeBind1(17, 22, ctx.projections$));
|
|
4332
4347
|
i0__namespace.ɵɵadvance(2);
|
|
4333
4348
|
i0__namespace.ɵɵproperty("checked", ctx.center)("labelPosition", "before");
|
|
4334
4349
|
i0__namespace.ɵɵadvance(1);
|
|
4335
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(20,
|
|
4350
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(20, 24, "igo.integration.advanced-map-tool.advanced-coordinates.center"), " ");
|
|
4351
|
+
i0__namespace.ɵɵadvance(3);
|
|
4352
|
+
i0__namespace.ɵɵtextInterpolate2("", i0__namespace.ɵɵpipeBind1(23, 26, "igo.integration.advanced-map-tool.advanced-coordinates.zoom"), " ", ctx.map.viewController.getZoom(), "");
|
|
4336
4353
|
i0__namespace.ɵɵadvance(3);
|
|
4337
|
-
i0__namespace.ɵɵtextInterpolate2("", i0__namespace.ɵɵpipeBind1(
|
|
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"), "");
|
|
4338
4357
|
}
|
|
4339
|
-
}, 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}"] });
|
|
4340
4359
|
(function () {
|
|
4341
4360
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(AdvancedCoordinatesComponent, [{
|
|
4342
4361
|
type: i0.Component,
|
|
@@ -4423,8 +4442,8 @@
|
|
|
4423
4442
|
i10$1.MatInputModule,
|
|
4424
4443
|
checkbox.MatCheckboxModule,
|
|
4425
4444
|
i7.IgoSpinnerModule,
|
|
4426
|
-
|
|
4427
|
-
i5
|
|
4445
|
+
i4.CommonModule,
|
|
4446
|
+
i5.MatTabsModule,
|
|
4428
4447
|
i7$1.MatListModule,
|
|
4429
4448
|
i6.MatIconModule,
|
|
4430
4449
|
i2$2.IgoLanguageModule,
|
|
@@ -4438,7 +4457,7 @@
|
|
|
4438
4457
|
i10.MatSlideToggleModule,
|
|
4439
4458
|
i6$2.MatMenuModule,
|
|
4440
4459
|
i3.MatButtonModule,
|
|
4441
|
-
i4.MatTooltipModule
|
|
4460
|
+
i4$1.MatTooltipModule
|
|
4442
4461
|
]] });
|
|
4443
4462
|
(function () {
|
|
4444
4463
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(IgoAppMapModule, [{
|
|
@@ -4455,8 +4474,8 @@
|
|
|
4455
4474
|
i10$1.MatInputModule,
|
|
4456
4475
|
checkbox.MatCheckboxModule,
|
|
4457
4476
|
i7.IgoSpinnerModule,
|
|
4458
|
-
|
|
4459
|
-
i5
|
|
4477
|
+
i4.CommonModule,
|
|
4478
|
+
i5.MatTabsModule,
|
|
4460
4479
|
i7$1.MatListModule,
|
|
4461
4480
|
i6.MatIconModule,
|
|
4462
4481
|
i2$2.IgoLanguageModule,
|
|
@@ -4470,7 +4489,7 @@
|
|
|
4470
4489
|
i10.MatSlideToggleModule,
|
|
4471
4490
|
i6$2.MatMenuModule,
|
|
4472
4491
|
i3.MatButtonModule,
|
|
4473
|
-
i4.MatTooltipModule
|
|
4492
|
+
i4$1.MatTooltipModule
|
|
4474
4493
|
],
|
|
4475
4494
|
declarations: [exports.AdvancedMapToolComponent, exports.MapToolComponent,
|
|
4476
4495
|
exports.MapToolsComponent, exports.MapDetailsToolComponent, exports.MapLegendToolComponent, AdvancedSwipeComponent, AdvancedCoordinatesComponent],
|
|
@@ -4491,8 +4510,8 @@
|
|
|
4491
4510
|
i10$1.MatInputModule,
|
|
4492
4511
|
checkbox.MatCheckboxModule,
|
|
4493
4512
|
i7.IgoSpinnerModule,
|
|
4494
|
-
|
|
4495
|
-
i5
|
|
4513
|
+
i4.CommonModule,
|
|
4514
|
+
i5.MatTabsModule,
|
|
4496
4515
|
i7$1.MatListModule,
|
|
4497
4516
|
i6.MatIconModule,
|
|
4498
4517
|
i2$2.IgoLanguageModule,
|
|
@@ -4506,7 +4525,7 @@
|
|
|
4506
4525
|
i10.MatSlideToggleModule,
|
|
4507
4526
|
i6$2.MatMenuModule,
|
|
4508
4527
|
i3.MatButtonModule,
|
|
4509
|
-
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] });
|
|
4510
4529
|
})();
|
|
4511
4530
|
|
|
4512
4531
|
/**
|
|
@@ -5519,7 +5538,7 @@
|
|
|
5519
5538
|
i0__namespace.ɵɵadvance(1);
|
|
5520
5539
|
i0__namespace.ɵɵproperty("ngIf", ctx.store && i0__namespace.ɵɵpipeBind1(2, 2, ctx.store.stateView.empty$) === false);
|
|
5521
5540
|
}
|
|
5522
|
-
}, 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 });
|
|
5523
5542
|
exports.SearchResultsToolComponent = __decorate([
|
|
5524
5543
|
i7.ToolComponent({
|
|
5525
5544
|
name: 'searchResults',
|
|
@@ -5553,10 +5572,10 @@
|
|
|
5553
5572
|
IgoAppSearchResultsToolModule.ɵfac = function IgoAppSearchResultsToolModule_Factory(t) { return new (t || IgoAppSearchResultsToolModule)(); };
|
|
5554
5573
|
IgoAppSearchResultsToolModule.ɵmod = /*@__PURE__*/ i0__namespace.ɵɵdefineNgModule({ type: IgoAppSearchResultsToolModule });
|
|
5555
5574
|
IgoAppSearchResultsToolModule.ɵinj = /*@__PURE__*/ i0__namespace.ɵɵdefineInjector({ imports: [[
|
|
5556
|
-
|
|
5575
|
+
i4.CommonModule,
|
|
5557
5576
|
i6.MatIconModule,
|
|
5558
5577
|
i12.MatBadgeModule,
|
|
5559
|
-
i4.MatTooltipModule,
|
|
5578
|
+
i4$1.MatTooltipModule,
|
|
5560
5579
|
i3.MatButtonModule,
|
|
5561
5580
|
i2$2.IgoLanguageModule,
|
|
5562
5581
|
i1.IgoFeatureModule,
|
|
@@ -5571,10 +5590,10 @@
|
|
|
5571
5590
|
type: i0.NgModule,
|
|
5572
5591
|
args: [{
|
|
5573
5592
|
imports: [
|
|
5574
|
-
|
|
5593
|
+
i4.CommonModule,
|
|
5575
5594
|
i6.MatIconModule,
|
|
5576
5595
|
i12.MatBadgeModule,
|
|
5577
|
-
i4.MatTooltipModule,
|
|
5596
|
+
i4$1.MatTooltipModule,
|
|
5578
5597
|
i3.MatButtonModule,
|
|
5579
5598
|
i2$2.IgoLanguageModule,
|
|
5580
5599
|
i1.IgoFeatureModule,
|
|
@@ -5591,10 +5610,10 @@
|
|
|
5591
5610
|
}], null, null);
|
|
5592
5611
|
})();
|
|
5593
5612
|
(function () {
|
|
5594
|
-
(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,
|
|
5595
5614
|
i6.MatIconModule,
|
|
5596
5615
|
i12.MatBadgeModule,
|
|
5597
|
-
i4.MatTooltipModule,
|
|
5616
|
+
i4$1.MatTooltipModule,
|
|
5598
5617
|
i3.MatButtonModule,
|
|
5599
5618
|
i2$2.IgoLanguageModule,
|
|
5600
5619
|
i1.IgoFeatureModule,
|
|
@@ -5772,10 +5791,13 @@
|
|
|
5772
5791
|
SpatialFilterToolComponent.prototype.activateExportTool = function () {
|
|
5773
5792
|
var e_2, _e;
|
|
5774
5793
|
var ids = [];
|
|
5794
|
+
var re = new RegExp('^Zone \\d+');
|
|
5775
5795
|
try {
|
|
5776
5796
|
for (var _f = __values(this.layers), _g = _f.next(); !_g.done; _g = _f.next()) {
|
|
5777
5797
|
var layer = _g.value;
|
|
5778
|
-
|
|
5798
|
+
if (!layer.title.match(re)) {
|
|
5799
|
+
ids.push(layer.id);
|
|
5800
|
+
}
|
|
5779
5801
|
}
|
|
5780
5802
|
}
|
|
5781
5803
|
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
@@ -5789,12 +5811,12 @@
|
|
|
5789
5811
|
this.importExportState.setsExportOptions({ layers: ids });
|
|
5790
5812
|
this.toolState.toolbox.activateTool('importExport');
|
|
5791
5813
|
};
|
|
5792
|
-
SpatialFilterToolComponent.prototype.activateWorkspace = function () {
|
|
5814
|
+
SpatialFilterToolComponent.prototype.activateWorkspace = function (record) {
|
|
5793
5815
|
var _this = this;
|
|
5794
5816
|
var layerToOpenWks;
|
|
5795
5817
|
this.workspaceState.store.entities$.pipe(operators.takeUntil(this.unsubscribe$)).subscribe(function () {
|
|
5796
5818
|
var e_3, _e;
|
|
5797
|
-
if (_this.activeLayers.length && _this.workspaceState.store.all().length > 1) {
|
|
5819
|
+
if (!record && _this.activeLayers.length && _this.workspaceState.store.all().length > 1) {
|
|
5798
5820
|
if (_this.itemType === i1.SpatialFilterItemType.Thematics) {
|
|
5799
5821
|
var _loop_1 = function (thematic) {
|
|
5800
5822
|
if (!thematic.zeroResults) {
|
|
@@ -5831,6 +5853,22 @@
|
|
|
5831
5853
|
_this.workspaceState.setActiveWorkspaceById(layerToOpenWks.id);
|
|
5832
5854
|
}
|
|
5833
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
|
+
}
|
|
5834
5872
|
});
|
|
5835
5873
|
};
|
|
5836
5874
|
SpatialFilterToolComponent.prototype.loadFilterList = function () {
|
|
@@ -6277,14 +6315,14 @@
|
|
|
6277
6315
|
return SpatialFilterToolComponent;
|
|
6278
6316
|
}());
|
|
6279
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)); };
|
|
6280
|
-
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) {
|
|
6281
6319
|
if (rf & 1) {
|
|
6282
6320
|
i0__namespace.ɵɵelementStart(0, "igo-panel");
|
|
6283
6321
|
i0__namespace.ɵɵelementStart(1, "igo-spatial-filter-type", 0);
|
|
6284
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; });
|
|
6285
6323
|
i0__namespace.ɵɵelementEnd();
|
|
6286
6324
|
i0__namespace.ɵɵelementStart(2, "igo-spatial-filter-item", 1);
|
|
6287
|
-
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); });
|
|
6288
6326
|
i0__namespace.ɵɵelementEnd();
|
|
6289
6327
|
i0__namespace.ɵɵelementEnd();
|
|
6290
6328
|
i0__namespace.ɵɵelementStart(3, "igo-panel");
|
|
@@ -6300,7 +6338,7 @@
|
|
|
6300
6338
|
i0__namespace.ɵɵadvance(2);
|
|
6301
6339
|
i0__namespace.ɵɵproperty("ngIf", i0__namespace.ɵɵpipeBind1(5, 14, ctx.selectedFeature$));
|
|
6302
6340
|
}
|
|
6303
|
-
}, 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 });
|
|
6304
6342
|
exports.SpatialFilterToolComponent = __decorate([
|
|
6305
6343
|
i7.ToolComponent({
|
|
6306
6344
|
name: 'spatialFilter',
|
|
@@ -6494,12 +6532,12 @@
|
|
|
6494
6532
|
}());
|
|
6495
6533
|
IgoAppFilterModule.ɵfac = function IgoAppFilterModule_Factory(t) { return new (t || IgoAppFilterModule)(); };
|
|
6496
6534
|
IgoAppFilterModule.ɵmod = /*@__PURE__*/ i0__namespace.ɵɵdefineNgModule({ type: IgoAppFilterModule });
|
|
6497
|
-
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]] });
|
|
6498
6536
|
(function () {
|
|
6499
6537
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(IgoAppFilterModule, [{
|
|
6500
6538
|
type: i0.NgModule,
|
|
6501
6539
|
args: [{
|
|
6502
|
-
imports: [i1.IgoFilterModule, i1.IgoQueryModule,
|
|
6540
|
+
imports: [i1.IgoFilterModule, i1.IgoQueryModule, i4.CommonModule],
|
|
6503
6541
|
declarations: [
|
|
6504
6542
|
exports.OgcFilterToolComponent,
|
|
6505
6543
|
exports.ActiveOgcFilterToolComponent,
|
|
@@ -6523,7 +6561,7 @@
|
|
|
6523
6561
|
exports.ActiveOgcFilterToolComponent,
|
|
6524
6562
|
exports.TimeFilterToolComponent,
|
|
6525
6563
|
exports.ActiveTimeFilterToolComponent,
|
|
6526
|
-
exports.SpatialFilterToolComponent], imports: [i1.IgoFilterModule, i1.IgoQueryModule,
|
|
6564
|
+
exports.SpatialFilterToolComponent], imports: [i1.IgoFilterModule, i1.IgoQueryModule, i4.CommonModule], exports: [exports.OgcFilterToolComponent,
|
|
6527
6565
|
exports.ActiveOgcFilterToolComponent,
|
|
6528
6566
|
exports.TimeFilterToolComponent,
|
|
6529
6567
|
exports.ActiveTimeFilterToolComponent,
|
|
@@ -6709,7 +6747,7 @@
|
|
|
6709
6747
|
i0__namespace.ɵɵadvance(1);
|
|
6710
6748
|
i0__namespace.ɵɵproperty("html", i0__namespace.ɵɵpipeBind2(9, 6, ctx.html, i0__namespace.ɵɵpureFunction1(9, _c0, ctx.version)));
|
|
6711
6749
|
}
|
|
6712
|
-
}, 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}"] });
|
|
6713
6751
|
exports.AboutToolComponent = __decorate([
|
|
6714
6752
|
i7.ToolComponent({
|
|
6715
6753
|
name: 'about',
|
|
@@ -6753,11 +6791,11 @@
|
|
|
6753
6791
|
i2$2.IgoLanguageModule,
|
|
6754
6792
|
i7.IgoCustomHtmlModule,
|
|
6755
6793
|
i3.MatButtonModule,
|
|
6756
|
-
i4.MatTooltipModule,
|
|
6794
|
+
i4$1.MatTooltipModule,
|
|
6757
6795
|
i6.MatIconModule,
|
|
6758
6796
|
i6$2.MatMenuModule,
|
|
6759
6797
|
i7.IgoInteractiveTourModule,
|
|
6760
|
-
|
|
6798
|
+
i4.CommonModule
|
|
6761
6799
|
]] });
|
|
6762
6800
|
(function () {
|
|
6763
6801
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(IgoAppAboutModule, [{
|
|
@@ -6767,11 +6805,11 @@
|
|
|
6767
6805
|
i2$2.IgoLanguageModule,
|
|
6768
6806
|
i7.IgoCustomHtmlModule,
|
|
6769
6807
|
i3.MatButtonModule,
|
|
6770
|
-
i4.MatTooltipModule,
|
|
6808
|
+
i4$1.MatTooltipModule,
|
|
6771
6809
|
i6.MatIconModule,
|
|
6772
6810
|
i6$2.MatMenuModule,
|
|
6773
6811
|
i7.IgoInteractiveTourModule,
|
|
6774
|
-
|
|
6812
|
+
i4.CommonModule
|
|
6775
6813
|
],
|
|
6776
6814
|
declarations: [exports.AboutToolComponent],
|
|
6777
6815
|
exports: [exports.AboutToolComponent],
|
|
@@ -6783,11 +6821,11 @@
|
|
|
6783
6821
|
(typeof ngJitMode === "undefined" || ngJitMode) && i0__namespace.ɵɵsetNgModuleScope(IgoAppAboutModule, { declarations: [exports.AboutToolComponent], imports: [i2$2.IgoLanguageModule,
|
|
6784
6822
|
i7.IgoCustomHtmlModule,
|
|
6785
6823
|
i3.MatButtonModule,
|
|
6786
|
-
i4.MatTooltipModule,
|
|
6824
|
+
i4$1.MatTooltipModule,
|
|
6787
6825
|
i6.MatIconModule,
|
|
6788
6826
|
i6$2.MatMenuModule,
|
|
6789
6827
|
i7.IgoInteractiveTourModule,
|
|
6790
|
-
|
|
6828
|
+
i4.CommonModule], exports: [exports.AboutToolComponent] });
|
|
6791
6829
|
})();
|
|
6792
6830
|
|
|
6793
6831
|
var IgoAppStorageModule = /** @class */ (function () {
|