@igo2/integration 1.9.3 → 1.11.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 +676 -453
- package/bundles/igo2-integration.umd.js.map +1 -1
- package/esm2015/lib/about/about-tool/about-tool.component.js +3 -3
- package/esm2015/lib/directions/directions-tool/directions-tool.component.js +17 -8
- package/esm2015/lib/filter/spatial-filter-tool/spatial-filter-tool.component.js +27 -6
- package/esm2015/lib/map/advanced-map-tool/advanced-coordinates/advanced-coordinates.component.js +28 -8
- package/esm2015/lib/workspace/shared/edition-actions.service.js +157 -0
- package/esm2015/lib/workspace/shared/workspace.utils.js +1 -1
- package/esm2015/lib/workspace/workspace.state.js +22 -6
- package/fesm2015/igo2-integration.js +386 -179
- package/fesm2015/igo2-integration.js.map +1 -1
- package/lib/directions/directions-tool/directions-tool.component.d.ts +6 -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/lib/workspace/shared/edition-actions.service.d.ts +26 -0
- package/lib/workspace/shared/workspace.utils.d.ts +2 -2
- package/lib/workspace/workspace.state.d.ts +4 -1
- 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,
|
|
5
|
+
})(this, (function (exports, i0, i1, i4, rxjs, i1$1, i4$1, operators, i2, i2$1, i3, i4$2, i6, i8, i5, buttonToggle, i7, i10, i6$2, i8$1, i3$1, i6$1, i7$1, 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
|
|
|
@@ -25,24 +25,24 @@
|
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
|
|
28
|
-
var i2__namespace = /*#__PURE__*/_interopNamespace(i2);
|
|
29
|
-
var i7__namespace = /*#__PURE__*/_interopNamespace(i7);
|
|
30
28
|
var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
|
|
31
|
-
var
|
|
29
|
+
var i4__namespace = /*#__PURE__*/_interopNamespace(i4);
|
|
30
|
+
var i1__namespace$1 = /*#__PURE__*/_interopNamespace(i1$1);
|
|
31
|
+
var i4__namespace$1 = /*#__PURE__*/_interopNamespace(i4$1);
|
|
32
|
+
var i2__namespace = /*#__PURE__*/_interopNamespace(i2);
|
|
32
33
|
var i2__namespace$1 = /*#__PURE__*/_interopNamespace(i2$1);
|
|
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$2 = /*#__PURE__*/_interopNamespace(i4$2);
|
|
36
36
|
var i6__namespace = /*#__PURE__*/_interopNamespace(i6);
|
|
37
37
|
var i8__namespace = /*#__PURE__*/_interopNamespace(i8);
|
|
38
|
-
var i5__namespace
|
|
39
|
-
var i7__namespace
|
|
38
|
+
var i5__namespace = /*#__PURE__*/_interopNamespace(i5);
|
|
39
|
+
var i7__namespace = /*#__PURE__*/_interopNamespace(i7);
|
|
40
40
|
var i10__namespace = /*#__PURE__*/_interopNamespace(i10);
|
|
41
41
|
var i6__namespace$2 = /*#__PURE__*/_interopNamespace(i6$2);
|
|
42
42
|
var i8__namespace$1 = /*#__PURE__*/_interopNamespace(i8$1);
|
|
43
43
|
var i3__namespace$1 = /*#__PURE__*/_interopNamespace(i3$1);
|
|
44
44
|
var i6__namespace$1 = /*#__PURE__*/_interopNamespace(i6$1);
|
|
45
|
-
var i7__namespace$
|
|
45
|
+
var i7__namespace$1 = /*#__PURE__*/_interopNamespace(i7$1);
|
|
46
46
|
var i9__namespace = /*#__PURE__*/_interopNamespace(i9);
|
|
47
47
|
var olproj__namespace = /*#__PURE__*/_interopNamespace(olproj);
|
|
48
48
|
var i10__namespace$1 = /*#__PURE__*/_interopNamespace(i10$1);
|
|
@@ -474,7 +474,7 @@
|
|
|
474
474
|
};
|
|
475
475
|
return ToolState;
|
|
476
476
|
}());
|
|
477
|
-
ToolState.ɵfac = function ToolState_Factory(t) { return new (t || ToolState)(i0__namespace.ɵɵinject(
|
|
477
|
+
ToolState.ɵfac = function ToolState_Factory(t) { return new (t || ToolState)(i0__namespace.ɵɵinject(i4__namespace.ToolService), i0__namespace.ɵɵinject(ImportExportState)); };
|
|
478
478
|
ToolState.ɵprov = /*@__PURE__*/ i0__namespace.ɵɵdefineInjectable({ token: ToolState, factory: ToolState.ɵfac, providedIn: 'root' });
|
|
479
479
|
(function () {
|
|
480
480
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(ToolState, [{
|
|
@@ -482,7 +482,7 @@
|
|
|
482
482
|
args: [{
|
|
483
483
|
providedIn: 'root'
|
|
484
484
|
}]
|
|
485
|
-
}], function () { return [{ type:
|
|
485
|
+
}], function () { return [{ type: i4__namespace.ToolService }, { type: ImportExportState }]; }, null);
|
|
486
486
|
})();
|
|
487
487
|
|
|
488
488
|
exports.ContextEditorToolComponent = /** @class */ (function () {
|
|
@@ -501,9 +501,9 @@
|
|
|
501
501
|
i0__namespace.ɵɵlistener("submitSuccessed", function ContextEditorToolComponent_Template_igo_context_edit_submitSuccessed_0_listener() { return ctx.submitSuccessed(); });
|
|
502
502
|
i0__namespace.ɵɵelementEnd();
|
|
503
503
|
}
|
|
504
|
-
}, directives: [
|
|
504
|
+
}, directives: [i1__namespace.ContextEditComponent, i1__namespace.ContextEditBindingDirective], encapsulation: 2 });
|
|
505
505
|
exports.ContextEditorToolComponent = __decorate([
|
|
506
|
-
|
|
506
|
+
i4.ToolComponent({
|
|
507
507
|
name: 'contextEditor',
|
|
508
508
|
title: 'igo.integration.tools.contexts',
|
|
509
509
|
icon: 'star',
|
|
@@ -529,7 +529,7 @@
|
|
|
529
529
|
) {
|
|
530
530
|
this.mapService = mapService;
|
|
531
531
|
this.projectionService = projectionService;
|
|
532
|
-
this._map = new i1.IgoMap({
|
|
532
|
+
this._map = new i1$1.IgoMap({
|
|
533
533
|
controls: {
|
|
534
534
|
scaleLine: true,
|
|
535
535
|
attribution: {
|
|
@@ -560,7 +560,7 @@
|
|
|
560
560
|
});
|
|
561
561
|
return MapState;
|
|
562
562
|
}());
|
|
563
|
-
MapState.ɵfac = function MapState_Factory(t) { return new (t || MapState)(i0__namespace.ɵɵinject(i1__namespace.MapService), i0__namespace.ɵɵinject(i1__namespace.ProjectionService)); };
|
|
563
|
+
MapState.ɵfac = function MapState_Factory(t) { return new (t || MapState)(i0__namespace.ɵɵinject(i1__namespace$1.MapService), i0__namespace.ɵɵinject(i1__namespace$1.ProjectionService)); };
|
|
564
564
|
MapState.ɵprov = /*@__PURE__*/ i0__namespace.ɵɵdefineInjectable({ token: MapState, factory: MapState.ɵfac, providedIn: 'root' });
|
|
565
565
|
(function () {
|
|
566
566
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(MapState, [{
|
|
@@ -568,7 +568,7 @@
|
|
|
568
568
|
args: [{
|
|
569
569
|
providedIn: 'root'
|
|
570
570
|
}]
|
|
571
|
-
}], function () { return [{ type: i1__namespace.MapService }, { type: i1__namespace.ProjectionService }]; }, null);
|
|
571
|
+
}], function () { return [{ type: i1__namespace$1.MapService }, { type: i1__namespace$1.ProjectionService }]; }, null);
|
|
572
572
|
})();
|
|
573
573
|
|
|
574
574
|
exports.ContextManagerToolComponent = /** @class */ (function () {
|
|
@@ -600,9 +600,9 @@
|
|
|
600
600
|
if (rf & 2) {
|
|
601
601
|
i0__namespace.ɵɵproperty("map", ctx.map);
|
|
602
602
|
}
|
|
603
|
-
}, directives: [
|
|
603
|
+
}, directives: [i1__namespace.ContextListComponent, i1__namespace.ContextListBindingDirective], encapsulation: 2 });
|
|
604
604
|
exports.ContextManagerToolComponent = __decorate([
|
|
605
|
-
|
|
605
|
+
i4.ToolComponent({
|
|
606
606
|
name: 'contextManager',
|
|
607
607
|
title: 'igo.integration.tools.contexts',
|
|
608
608
|
icon: 'star'
|
|
@@ -630,9 +630,9 @@
|
|
|
630
630
|
if (rf & 1) {
|
|
631
631
|
i0__namespace.ɵɵelement(0, "igo-context-permissions", 0);
|
|
632
632
|
}
|
|
633
|
-
}, directives: [
|
|
633
|
+
}, directives: [i1__namespace.ContextPermissionsComponent, i1__namespace.ContextPermissionsBindingDirective], encapsulation: 2 });
|
|
634
634
|
exports.ContextPermissionManagerToolComponent = __decorate([
|
|
635
|
-
|
|
635
|
+
i4.ToolComponent({
|
|
636
636
|
name: 'contextPermissionManager',
|
|
637
637
|
title: 'igo.integration.tools.contexts',
|
|
638
638
|
icon: 'star',
|
|
@@ -716,9 +716,9 @@
|
|
|
716
716
|
if (rf & 2) {
|
|
717
717
|
i0__namespace.ɵɵproperty("map", ctx.map);
|
|
718
718
|
}
|
|
719
|
-
}, directives: [
|
|
719
|
+
}, directives: [i1__namespace.ShareMapComponent], encapsulation: 2 });
|
|
720
720
|
exports.ContextShareToolComponent = __decorate([
|
|
721
|
-
|
|
721
|
+
i4.ToolComponent({
|
|
722
722
|
name: 'shareMap',
|
|
723
723
|
title: 'igo.integration.tools.shareMap',
|
|
724
724
|
icon: 'share-variant'
|
|
@@ -741,12 +741,12 @@
|
|
|
741
741
|
}());
|
|
742
742
|
IgoAppContextModule.ɵfac = function IgoAppContextModule_Factory(t) { return new (t || IgoAppContextModule)(); };
|
|
743
743
|
IgoAppContextModule.ɵmod = /*@__PURE__*/ i0__namespace.ɵɵdefineNgModule({ type: IgoAppContextModule });
|
|
744
|
-
IgoAppContextModule.ɵinj = /*@__PURE__*/ i0__namespace.ɵɵdefineInjector({ imports: [[
|
|
744
|
+
IgoAppContextModule.ɵinj = /*@__PURE__*/ i0__namespace.ɵɵdefineInjector({ imports: [[i1.IgoContextModule]] });
|
|
745
745
|
(function () {
|
|
746
746
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(IgoAppContextModule, [{
|
|
747
747
|
type: i0.NgModule,
|
|
748
748
|
args: [{
|
|
749
|
-
imports: [
|
|
749
|
+
imports: [i1.IgoContextModule],
|
|
750
750
|
declarations: [
|
|
751
751
|
exports.ContextEditorToolComponent,
|
|
752
752
|
exports.ContextManagerToolComponent,
|
|
@@ -767,7 +767,7 @@
|
|
|
767
767
|
(typeof ngJitMode === "undefined" || ngJitMode) && i0__namespace.ɵɵsetNgModuleScope(IgoAppContextModule, { declarations: [exports.ContextEditorToolComponent,
|
|
768
768
|
exports.ContextManagerToolComponent,
|
|
769
769
|
exports.ContextPermissionManagerToolComponent,
|
|
770
|
-
exports.ContextShareToolComponent], imports: [
|
|
770
|
+
exports.ContextShareToolComponent], imports: [i1.IgoContextModule], exports: [exports.ContextEditorToolComponent,
|
|
771
771
|
exports.ContextManagerToolComponent,
|
|
772
772
|
exports.ContextPermissionManagerToolComponent,
|
|
773
773
|
exports.ContextShareToolComponent] });
|
|
@@ -783,7 +783,7 @@
|
|
|
783
783
|
* Catalog -> Catalog items store mapping
|
|
784
784
|
*/
|
|
785
785
|
this.catalogItemsStores = new Map();
|
|
786
|
-
this._catalogStore = new
|
|
786
|
+
this._catalogStore = new i4.EntityStore([]);
|
|
787
787
|
authService.authenticate$.subscribe(function () {
|
|
788
788
|
_this.clearCatalogItemsStores();
|
|
789
789
|
});
|
|
@@ -820,7 +820,7 @@
|
|
|
820
820
|
};
|
|
821
821
|
return CatalogState;
|
|
822
822
|
}());
|
|
823
|
-
CatalogState.ɵfac = function CatalogState_Factory(t) { return new (t || CatalogState)(i0__namespace.ɵɵinject(i2__namespace
|
|
823
|
+
CatalogState.ɵfac = function CatalogState_Factory(t) { return new (t || CatalogState)(i0__namespace.ɵɵinject(i2__namespace.AuthService)); };
|
|
824
824
|
CatalogState.ɵprov = /*@__PURE__*/ i0__namespace.ɵɵdefineInjectable({ token: CatalogState, factory: CatalogState.ɵfac, providedIn: 'root' });
|
|
825
825
|
(function () {
|
|
826
826
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(CatalogState, [{
|
|
@@ -828,7 +828,7 @@
|
|
|
828
828
|
args: [{
|
|
829
829
|
providedIn: 'root'
|
|
830
830
|
}]
|
|
831
|
-
}], function () { return [{ type: i2__namespace
|
|
831
|
+
}], function () { return [{ type: i2__namespace.AuthService }]; }, null);
|
|
832
832
|
})();
|
|
833
833
|
|
|
834
834
|
/**
|
|
@@ -892,7 +892,7 @@
|
|
|
892
892
|
};
|
|
893
893
|
return CatalogLibraryToolComponent;
|
|
894
894
|
}());
|
|
895
|
-
exports.CatalogLibraryToolComponent.ɵfac = function CatalogLibraryToolComponent_Factory(t) { return new (t || exports.CatalogLibraryToolComponent)(i0__namespace.ɵɵdirectiveInject(i1__namespace.CatalogService), i0__namespace.ɵɵdirectiveInject(CatalogState), i0__namespace.ɵɵdirectiveInject(ToolState), i0__namespace.ɵɵdirectiveInject(i2__namespace$
|
|
895
|
+
exports.CatalogLibraryToolComponent.ɵfac = function CatalogLibraryToolComponent_Factory(t) { return new (t || exports.CatalogLibraryToolComponent)(i0__namespace.ɵɵdirectiveInject(i1__namespace$1.CatalogService), i0__namespace.ɵɵdirectiveInject(CatalogState), i0__namespace.ɵɵdirectiveInject(ToolState), i0__namespace.ɵɵdirectiveInject(i2__namespace$1.StorageService)); };
|
|
896
896
|
exports.CatalogLibraryToolComponent.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: exports.CatalogLibraryToolComponent, selectors: [["igo-catalog-library-tool"]], inputs: { addCatalogAllowed: "addCatalogAllowed", predefinedCatalogs: "predefinedCatalogs" }, decls: 1, vars: 3, consts: [[3, "predefinedCatalogs", "addCatalogAllowed", "store", "catalogSelectChange"]], template: function CatalogLibraryToolComponent_Template(rf, ctx) {
|
|
897
897
|
if (rf & 1) {
|
|
898
898
|
i0__namespace.ɵɵelementStart(0, "igo-catalog-library", 0);
|
|
@@ -902,9 +902,9 @@
|
|
|
902
902
|
if (rf & 2) {
|
|
903
903
|
i0__namespace.ɵɵproperty("predefinedCatalogs", ctx.predefinedCatalogs)("addCatalogAllowed", ctx.addCatalogAllowed)("store", ctx.store);
|
|
904
904
|
}
|
|
905
|
-
}, directives: [i1__namespace.CatalogLibaryComponent], encapsulation: 2, changeDetection: 0 });
|
|
905
|
+
}, directives: [i1__namespace$1.CatalogLibaryComponent], encapsulation: 2, changeDetection: 0 });
|
|
906
906
|
exports.CatalogLibraryToolComponent = __decorate([
|
|
907
|
-
|
|
907
|
+
i4.ToolComponent({
|
|
908
908
|
name: 'catalog',
|
|
909
909
|
title: 'igo.integration.tools.catalog',
|
|
910
910
|
icon: 'layers-plus'
|
|
@@ -918,7 +918,7 @@
|
|
|
918
918
|
templateUrl: './catalog-library-tool.component.html',
|
|
919
919
|
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
920
920
|
}]
|
|
921
|
-
}], function () { return [{ type: i1__namespace.CatalogService }, { type: CatalogState }, { type: ToolState }, { type: i2__namespace$
|
|
921
|
+
}], function () { return [{ type: i1__namespace$1.CatalogService }, { type: CatalogState }, { type: ToolState }, { type: i2__namespace$1.StorageService }]; }, { addCatalogAllowed: [{
|
|
922
922
|
type: i0.Input
|
|
923
923
|
}], predefinedCatalogs: [{
|
|
924
924
|
type: i0.Input
|
|
@@ -936,16 +936,16 @@
|
|
|
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
|
-
|
|
940
|
-
i1.IgoCatalogLibraryModule
|
|
939
|
+
i4$1.CommonModule,
|
|
940
|
+
i1$1.IgoCatalogLibraryModule
|
|
941
941
|
]] });
|
|
942
942
|
(function () {
|
|
943
943
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(IgoAppCatalogLibraryToolModule, [{
|
|
944
944
|
type: i0.NgModule,
|
|
945
945
|
args: [{
|
|
946
946
|
imports: [
|
|
947
|
-
|
|
948
|
-
i1.IgoCatalogLibraryModule
|
|
947
|
+
i4$1.CommonModule,
|
|
948
|
+
i1$1.IgoCatalogLibraryModule
|
|
949
949
|
],
|
|
950
950
|
declarations: [exports.CatalogLibraryToolComponent],
|
|
951
951
|
exports: [exports.CatalogLibraryToolComponent],
|
|
@@ -954,8 +954,8 @@
|
|
|
954
954
|
}], null, null);
|
|
955
955
|
})();
|
|
956
956
|
(function () {
|
|
957
|
-
(typeof ngJitMode === "undefined" || ngJitMode) && i0__namespace.ɵɵsetNgModuleScope(IgoAppCatalogLibraryToolModule, { declarations: [exports.CatalogLibraryToolComponent], imports: [
|
|
958
|
-
i1.IgoCatalogLibraryModule], exports: [exports.CatalogLibraryToolComponent] });
|
|
957
|
+
(typeof ngJitMode === "undefined" || ngJitMode) && i0__namespace.ɵɵsetNgModuleScope(IgoAppCatalogLibraryToolModule, { declarations: [exports.CatalogLibraryToolComponent], imports: [i4$1.CommonModule,
|
|
958
|
+
i1$1.IgoCatalogLibraryModule], exports: [exports.CatalogLibraryToolComponent] });
|
|
959
959
|
})();
|
|
960
960
|
|
|
961
961
|
function CatalogBrowserToolComponent_igo_catalog_browser_0_Template(rf, ctx) {
|
|
@@ -1035,7 +1035,7 @@
|
|
|
1035
1035
|
this.store$.next(store);
|
|
1036
1036
|
return;
|
|
1037
1037
|
}
|
|
1038
|
-
store = new
|
|
1038
|
+
store = new i4.EntityStore([]);
|
|
1039
1039
|
this.catalogState.setCatalogItemsStore(catalog, store);
|
|
1040
1040
|
this.catalogService
|
|
1041
1041
|
.loadCatalogItems(catalog)
|
|
@@ -1047,7 +1047,7 @@
|
|
|
1047
1047
|
};
|
|
1048
1048
|
return CatalogBrowserToolComponent;
|
|
1049
1049
|
}());
|
|
1050
|
-
exports.CatalogBrowserToolComponent.ɵfac = function CatalogBrowserToolComponent_Factory(t) { return new (t || exports.CatalogBrowserToolComponent)(i0__namespace.ɵɵdirectiveInject(i1__namespace.CatalogService), i0__namespace.ɵɵdirectiveInject(CatalogState), i0__namespace.ɵɵdirectiveInject(MapState), i0__namespace.ɵɵdirectiveInject(i2__namespace
|
|
1050
|
+
exports.CatalogBrowserToolComponent.ɵfac = function CatalogBrowserToolComponent_Factory(t) { return new (t || exports.CatalogBrowserToolComponent)(i0__namespace.ɵɵdirectiveInject(i1__namespace$1.CatalogService), i0__namespace.ɵɵdirectiveInject(CatalogState), i0__namespace.ɵɵdirectiveInject(MapState), i0__namespace.ɵɵdirectiveInject(i2__namespace.AuthService)); };
|
|
1051
1051
|
exports.CatalogBrowserToolComponent.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: exports.CatalogBrowserToolComponent, selectors: [["igo-catalog-browser-tool"]], inputs: { toggleCollapsedGroup: "toggleCollapsedGroup" }, decls: 2, vars: 3, consts: [[3, "catalog", "store", "map", "toggleCollapsedGroup", 4, "ngIf"], [3, "catalog", "store", "map", "toggleCollapsedGroup"]], template: function CatalogBrowserToolComponent_Template(rf, ctx) {
|
|
1052
1052
|
if (rf & 1) {
|
|
1053
1053
|
i0__namespace.ɵɵtemplate(0, CatalogBrowserToolComponent_igo_catalog_browser_0_Template, 1, 4, "igo-catalog-browser", 0);
|
|
@@ -1056,9 +1056,9 @@
|
|
|
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$1.NgIf, i1__namespace$1.CatalogBrowserComponent], pipes: [i4__namespace$1.AsyncPipe], encapsulation: 2, changeDetection: 0 });
|
|
1060
1060
|
exports.CatalogBrowserToolComponent = __decorate([
|
|
1061
|
-
|
|
1061
|
+
i4.ToolComponent({
|
|
1062
1062
|
name: 'catalogBrowser',
|
|
1063
1063
|
title: 'igo.integration.tools.catalog',
|
|
1064
1064
|
icon: 'photo-browser',
|
|
@@ -1073,7 +1073,7 @@
|
|
|
1073
1073
|
templateUrl: './catalog-browser-tool.component.html',
|
|
1074
1074
|
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
1075
1075
|
}]
|
|
1076
|
-
}], function () { return [{ type: i1__namespace.CatalogService }, { type: CatalogState }, { type: MapState }, { type: i2__namespace
|
|
1076
|
+
}], function () { return [{ type: i1__namespace$1.CatalogService }, { type: CatalogState }, { type: MapState }, { type: i2__namespace.AuthService }]; }, { toggleCollapsedGroup: [{
|
|
1077
1077
|
type: i0.Input
|
|
1078
1078
|
}] });
|
|
1079
1079
|
})();
|
|
@@ -1089,16 +1089,16 @@
|
|
|
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
|
-
|
|
1093
|
-
i1.IgoCatalogBrowserModule
|
|
1092
|
+
i4$1.CommonModule,
|
|
1093
|
+
i1$1.IgoCatalogBrowserModule
|
|
1094
1094
|
]] });
|
|
1095
1095
|
(function () {
|
|
1096
1096
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(IgoAppCatalogBrowserToolModule, [{
|
|
1097
1097
|
type: i0.NgModule,
|
|
1098
1098
|
args: [{
|
|
1099
1099
|
imports: [
|
|
1100
|
-
|
|
1101
|
-
i1.IgoCatalogBrowserModule
|
|
1100
|
+
i4$1.CommonModule,
|
|
1101
|
+
i1$1.IgoCatalogBrowserModule
|
|
1102
1102
|
],
|
|
1103
1103
|
declarations: [exports.CatalogBrowserToolComponent],
|
|
1104
1104
|
exports: [exports.CatalogBrowserToolComponent],
|
|
@@ -1107,8 +1107,8 @@
|
|
|
1107
1107
|
}], null, null);
|
|
1108
1108
|
})();
|
|
1109
1109
|
(function () {
|
|
1110
|
-
(typeof ngJitMode === "undefined" || ngJitMode) && i0__namespace.ɵɵsetNgModuleScope(IgoAppCatalogBrowserToolModule, { declarations: [exports.CatalogBrowserToolComponent], imports: [
|
|
1111
|
-
i1.IgoCatalogBrowserModule], exports: [exports.CatalogBrowserToolComponent] });
|
|
1110
|
+
(typeof ngJitMode === "undefined" || ngJitMode) && i0__namespace.ɵɵsetNgModuleScope(IgoAppCatalogBrowserToolModule, { declarations: [exports.CatalogBrowserToolComponent], imports: [i4$1.CommonModule,
|
|
1111
|
+
i1$1.IgoCatalogBrowserModule], exports: [exports.CatalogBrowserToolComponent] });
|
|
1112
1112
|
})();
|
|
1113
1113
|
|
|
1114
1114
|
var IgoAppCatalogModule = /** @class */ (function () {
|
|
@@ -1149,20 +1149,20 @@
|
|
|
1149
1149
|
/**
|
|
1150
1150
|
* Store that holds the stop
|
|
1151
1151
|
*/
|
|
1152
|
-
this.stopsStore = new i1.StopsStore([]);
|
|
1152
|
+
this.stopsStore = new i1$1.StopsStore([]);
|
|
1153
1153
|
/**
|
|
1154
1154
|
* Store that holds the driving stops as feature
|
|
1155
1155
|
*/
|
|
1156
|
-
this.stopsFeatureStore = new i1.StopsFeatureStore([], {
|
|
1156
|
+
this.stopsFeatureStore = new i1$1.StopsFeatureStore([], {
|
|
1157
1157
|
map: this.mapState.map
|
|
1158
1158
|
});
|
|
1159
1159
|
/**
|
|
1160
1160
|
* Store that holds the driving route as feature
|
|
1161
1161
|
*/
|
|
1162
|
-
this.routesFeatureStore = new i1.RoutesFeatureStore([], {
|
|
1162
|
+
this.routesFeatureStore = new i1$1.RoutesFeatureStore([], {
|
|
1163
1163
|
map: this.mapState.map
|
|
1164
1164
|
});
|
|
1165
|
-
this.stepFeatureStore = new i1.StepFeatureStore([], {
|
|
1165
|
+
this.stepFeatureStore = new i1$1.StepFeatureStore([], {
|
|
1166
1166
|
map: this.mapState.map
|
|
1167
1167
|
});
|
|
1168
1168
|
this.debounceTime = 200;
|
|
@@ -1203,13 +1203,101 @@
|
|
|
1203
1203
|
}], function () { return [{ type: MapState }]; }, null);
|
|
1204
1204
|
})();
|
|
1205
1205
|
|
|
1206
|
+
/**
|
|
1207
|
+
* Service that holds the state of the context module
|
|
1208
|
+
*/
|
|
1209
|
+
var ContextState = /** @class */ (function () {
|
|
1210
|
+
function ContextState(contextService, toolService, toolState, languageService) {
|
|
1211
|
+
var _this = this;
|
|
1212
|
+
this.contextService = contextService;
|
|
1213
|
+
this.toolService = toolService;
|
|
1214
|
+
this.toolState = toolState;
|
|
1215
|
+
this.languageService = languageService;
|
|
1216
|
+
/**
|
|
1217
|
+
* Observable of the active context
|
|
1218
|
+
*/
|
|
1219
|
+
this.context$ = new rxjs.BehaviorSubject(undefined);
|
|
1220
|
+
this.contextService.context$.subscribe(function (context) {
|
|
1221
|
+
_this.onContextChange(context);
|
|
1222
|
+
});
|
|
1223
|
+
this.contextService.toolsChanged$.subscribe(function (context) {
|
|
1224
|
+
_this.updateTools(context);
|
|
1225
|
+
});
|
|
1226
|
+
}
|
|
1227
|
+
/**
|
|
1228
|
+
* Set the active context
|
|
1229
|
+
* @param context Detailed context
|
|
1230
|
+
*/
|
|
1231
|
+
ContextState.prototype.setContext = function (context) {
|
|
1232
|
+
this.updateTools(context);
|
|
1233
|
+
this.context$.next(context);
|
|
1234
|
+
};
|
|
1235
|
+
/**
|
|
1236
|
+
* Update the tool state with the context's tools
|
|
1237
|
+
* @param context Detailed context
|
|
1238
|
+
*/
|
|
1239
|
+
ContextState.prototype.updateTools = function (context) {
|
|
1240
|
+
var _this = this;
|
|
1241
|
+
var toolbox = this.toolState.toolbox;
|
|
1242
|
+
var tools = [];
|
|
1243
|
+
var contextTools = context.tools || [];
|
|
1244
|
+
contextTools.forEach(function (contextTool) {
|
|
1245
|
+
var baseTool = _this.toolService.getTool(contextTool.name);
|
|
1246
|
+
if (baseTool === undefined) {
|
|
1247
|
+
return;
|
|
1248
|
+
}
|
|
1249
|
+
var options = Object.assign({}, baseTool.options || {}, contextTool.options || {});
|
|
1250
|
+
var tool = Object.assign({}, baseTool, contextTool, { options: options });
|
|
1251
|
+
tools.push(tool);
|
|
1252
|
+
});
|
|
1253
|
+
tools.forEach(function (tool) {
|
|
1254
|
+
if (tool.parent) {
|
|
1255
|
+
var parentIndex = tools.findIndex(function (el) { return el.name === tool.parent; });
|
|
1256
|
+
if (parentIndex !== -1) {
|
|
1257
|
+
tools[parentIndex].children = [];
|
|
1258
|
+
tools[parentIndex].children.push(tool.name);
|
|
1259
|
+
}
|
|
1260
|
+
}
|
|
1261
|
+
});
|
|
1262
|
+
toolbox.setTools(tools);
|
|
1263
|
+
toolbox.setToolbar(context.toolbar || []);
|
|
1264
|
+
// TODO: This is a patch so the context service can work without
|
|
1265
|
+
// injecting the ToolState or without being completely refactored
|
|
1266
|
+
this.contextService.setTools([].concat(tools));
|
|
1267
|
+
this.contextService.setToolbar(context.toolbar || []);
|
|
1268
|
+
};
|
|
1269
|
+
/**
|
|
1270
|
+
* Set a new context and update the tool state
|
|
1271
|
+
* @param context Detailed context
|
|
1272
|
+
*/
|
|
1273
|
+
ContextState.prototype.onContextChange = function (context) {
|
|
1274
|
+
if (context === undefined) {
|
|
1275
|
+
return;
|
|
1276
|
+
}
|
|
1277
|
+
this.setContext(context);
|
|
1278
|
+
};
|
|
1279
|
+
return ContextState;
|
|
1280
|
+
}());
|
|
1281
|
+
ContextState.ɵfac = function ContextState_Factory(t) { return new (t || ContextState)(i0__namespace.ɵɵinject(i1__namespace.ContextService), i0__namespace.ɵɵinject(i4__namespace.ToolService), i0__namespace.ɵɵinject(ToolState), i0__namespace.ɵɵinject(i2__namespace$1.LanguageService)); };
|
|
1282
|
+
ContextState.ɵprov = /*@__PURE__*/ i0__namespace.ɵɵdefineInjectable({ token: ContextState, factory: ContextState.ɵfac, providedIn: 'root' });
|
|
1283
|
+
(function () {
|
|
1284
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(ContextState, [{
|
|
1285
|
+
type: i0.Injectable,
|
|
1286
|
+
args: [{
|
|
1287
|
+
providedIn: 'root'
|
|
1288
|
+
}]
|
|
1289
|
+
}], function () { return [{ type: i1__namespace.ContextService }, { type: i4__namespace.ToolService }, { type: ToolState }, { type: i2__namespace$1.LanguageService }]; }, null);
|
|
1290
|
+
})();
|
|
1291
|
+
|
|
1206
1292
|
exports.DirectionsToolComponent = /** @class */ (function () {
|
|
1207
|
-
function DirectionsToolComponent(directionState, mapState, languageService, messageService, storageService) {
|
|
1293
|
+
function DirectionsToolComponent(directionState, mapState, languageService, messageService, storageService, contextState, authService) {
|
|
1208
1294
|
this.directionState = directionState;
|
|
1209
1295
|
this.mapState = mapState;
|
|
1210
1296
|
this.languageService = languageService;
|
|
1211
1297
|
this.messageService = messageService;
|
|
1212
1298
|
this.storageService = storageService;
|
|
1299
|
+
this.contextState = contextState;
|
|
1300
|
+
this.authService = authService;
|
|
1213
1301
|
}
|
|
1214
1302
|
Object.defineProperty(DirectionsToolComponent.prototype, "stopsStore", {
|
|
1215
1303
|
/**
|
|
@@ -1271,28 +1359,34 @@
|
|
|
1271
1359
|
configurable: true
|
|
1272
1360
|
});
|
|
1273
1361
|
DirectionsToolComponent.prototype.ngOnInit = function () {
|
|
1362
|
+
var _this = this;
|
|
1274
1363
|
var warningShown = this.storageService.get('direction.warning.shown');
|
|
1275
1364
|
if (!warningShown) {
|
|
1276
1365
|
var translate = this.languageService.translate;
|
|
1277
1366
|
var title = translate.instant('igo.integration.directions.warning.title');
|
|
1278
1367
|
var msg = translate.instant('igo.integration.directions.warning.message');
|
|
1279
1368
|
this.messageService.info(msg, title, { timeOut: 20000 });
|
|
1280
|
-
this.storageService.set('direction.warning.shown', true, i2$
|
|
1369
|
+
this.storageService.set('direction.warning.shown', true, i2$1.StorageScope.SESSION);
|
|
1281
1370
|
}
|
|
1371
|
+
this.contextState.context$.subscribe(function (c) {
|
|
1372
|
+
if (!_this.authService.authenticated) {
|
|
1373
|
+
_this.currentContextUri = c.uri;
|
|
1374
|
+
}
|
|
1375
|
+
});
|
|
1282
1376
|
};
|
|
1283
1377
|
return DirectionsToolComponent;
|
|
1284
1378
|
}());
|
|
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$
|
|
1286
|
-
exports.DirectionsToolComponent.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: exports.DirectionsToolComponent, selectors: [["igo-directions-tool"]], decls: 1, vars:
|
|
1379
|
+
exports.DirectionsToolComponent.ɵfac = function DirectionsToolComponent_Factory(t) { return new (t || exports.DirectionsToolComponent)(i0__namespace.ɵɵdirectiveInject(DirectionState), i0__namespace.ɵɵdirectiveInject(MapState), i0__namespace.ɵɵdirectiveInject(i2__namespace$1.LanguageService), i0__namespace.ɵɵdirectiveInject(i2__namespace$1.MessageService), i0__namespace.ɵɵdirectiveInject(i2__namespace$1.StorageService), i0__namespace.ɵɵdirectiveInject(ContextState), i0__namespace.ɵɵdirectiveInject(i2__namespace.AuthService)); };
|
|
1380
|
+
exports.DirectionsToolComponent.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: exports.DirectionsToolComponent, selectors: [["igo-directions-tool"]], decls: 1, vars: 7, consts: [[3, "contextUri", "debounceTime", "stopsStore", "stopsFeatureStore", "stepFeatureStore", "routesFeatureStore", "zoomToActiveRoute$"]], template: function DirectionsToolComponent_Template(rf, ctx) {
|
|
1287
1381
|
if (rf & 1) {
|
|
1288
1382
|
i0__namespace.ɵɵelement(0, "igo-directions", 0);
|
|
1289
1383
|
}
|
|
1290
1384
|
if (rf & 2) {
|
|
1291
|
-
i0__namespace.ɵɵproperty("debounceTime", ctx.debounceTime)("stopsStore", ctx.stopsStore)("stopsFeatureStore", ctx.stopsFeatureStore)("stepFeatureStore", ctx.stepFeatureStore)("routesFeatureStore", ctx.routesFeatureStore)("zoomToActiveRoute$", ctx.zoomToActiveRoute$);
|
|
1385
|
+
i0__namespace.ɵɵproperty("contextUri", ctx.currentContextUri)("debounceTime", ctx.debounceTime)("stopsStore", ctx.stopsStore)("stopsFeatureStore", ctx.stopsFeatureStore)("stepFeatureStore", ctx.stepFeatureStore)("routesFeatureStore", ctx.routesFeatureStore)("zoomToActiveRoute$", ctx.zoomToActiveRoute$);
|
|
1292
1386
|
}
|
|
1293
|
-
}, directives: [i1__namespace.DirectionsComponent], encapsulation: 2 });
|
|
1387
|
+
}, directives: [i1__namespace$1.DirectionsComponent], encapsulation: 2 });
|
|
1294
1388
|
exports.DirectionsToolComponent = __decorate([
|
|
1295
|
-
|
|
1389
|
+
i4.ToolComponent({
|
|
1296
1390
|
name: 'directions',
|
|
1297
1391
|
title: 'igo.integration.tools.directions',
|
|
1298
1392
|
icon: 'directions'
|
|
@@ -1305,7 +1399,7 @@
|
|
|
1305
1399
|
selector: 'igo-directions-tool',
|
|
1306
1400
|
templateUrl: './directions-tool.component.html'
|
|
1307
1401
|
}]
|
|
1308
|
-
}], function () { return [{ type: DirectionState }, { type: MapState }, { type: i2__namespace$
|
|
1402
|
+
}], function () { return [{ type: DirectionState }, { type: MapState }, { type: i2__namespace$1.LanguageService }, { type: i2__namespace$1.MessageService }, { type: i2__namespace$1.StorageService }, { type: ContextState }, { type: i2__namespace.AuthService }]; }, null);
|
|
1309
1403
|
})();
|
|
1310
1404
|
|
|
1311
1405
|
var IgoAppDirectionsModule = /** @class */ (function () {
|
|
@@ -1321,19 +1415,19 @@
|
|
|
1321
1415
|
}());
|
|
1322
1416
|
IgoAppDirectionsModule.ɵfac = function IgoAppDirectionsModule_Factory(t) { return new (t || IgoAppDirectionsModule)(); };
|
|
1323
1417
|
IgoAppDirectionsModule.ɵmod = /*@__PURE__*/ i0__namespace.ɵɵdefineNgModule({ type: IgoAppDirectionsModule });
|
|
1324
|
-
IgoAppDirectionsModule.ɵinj = /*@__PURE__*/ i0__namespace.ɵɵdefineInjector({ imports: [[i1.IgoDirectionsModule]] });
|
|
1418
|
+
IgoAppDirectionsModule.ɵinj = /*@__PURE__*/ i0__namespace.ɵɵdefineInjector({ imports: [[i1$1.IgoDirectionsModule]] });
|
|
1325
1419
|
(function () {
|
|
1326
1420
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(IgoAppDirectionsModule, [{
|
|
1327
1421
|
type: i0.NgModule,
|
|
1328
1422
|
args: [{
|
|
1329
|
-
imports: [i1.IgoDirectionsModule],
|
|
1423
|
+
imports: [i1$1.IgoDirectionsModule],
|
|
1330
1424
|
declarations: [exports.DirectionsToolComponent],
|
|
1331
1425
|
exports: [exports.DirectionsToolComponent],
|
|
1332
1426
|
schemas: [i0.CUSTOM_ELEMENTS_SCHEMA]
|
|
1333
1427
|
}]
|
|
1334
1428
|
}], null, null);
|
|
1335
1429
|
})();
|
|
1336
|
-
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0__namespace.ɵɵsetNgModuleScope(IgoAppDirectionsModule, { declarations: [exports.DirectionsToolComponent], imports: [i1.IgoDirectionsModule], exports: [exports.DirectionsToolComponent] }); })();
|
|
1430
|
+
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0__namespace.ɵɵsetNgModuleScope(IgoAppDirectionsModule, { declarations: [exports.DirectionsToolComponent], imports: [i1$1.IgoDirectionsModule], exports: [exports.DirectionsToolComponent] }); })();
|
|
1337
1431
|
|
|
1338
1432
|
/**
|
|
1339
1433
|
* Service that holds the state of the measure module
|
|
@@ -1345,7 +1439,7 @@
|
|
|
1345
1439
|
/**
|
|
1346
1440
|
* Store that holds the measures
|
|
1347
1441
|
*/
|
|
1348
|
-
this.store = new i1.FeatureStore([], {
|
|
1442
|
+
this.store = new i1$1.FeatureStore([], {
|
|
1349
1443
|
map: this.mapState.map
|
|
1350
1444
|
});
|
|
1351
1445
|
this.mapState.map.layers$.subscribe(function () {
|
|
@@ -1403,9 +1497,9 @@
|
|
|
1403
1497
|
if (rf & 2) {
|
|
1404
1498
|
i0__namespace.ɵɵproperty("store", ctx.store)("map", ctx.map);
|
|
1405
1499
|
}
|
|
1406
|
-
}, directives: [i1__namespace.DrawComponent], encapsulation: 2, changeDetection: 0 });
|
|
1500
|
+
}, directives: [i1__namespace$1.DrawComponent], encapsulation: 2, changeDetection: 0 });
|
|
1407
1501
|
exports.DrawingToolComponent = __decorate([
|
|
1408
|
-
|
|
1502
|
+
i4.ToolComponent({
|
|
1409
1503
|
name: 'draw',
|
|
1410
1504
|
title: 'igo.integration.tools.draw',
|
|
1411
1505
|
icon: 'draw'
|
|
@@ -1429,12 +1523,12 @@
|
|
|
1429
1523
|
}());
|
|
1430
1524
|
IgoAppDrawModule.ɵfac = function IgoAppDrawModule_Factory(t) { return new (t || IgoAppDrawModule)(); };
|
|
1431
1525
|
IgoAppDrawModule.ɵmod = /*@__PURE__*/ i0__namespace.ɵɵdefineNgModule({ type: IgoAppDrawModule });
|
|
1432
|
-
IgoAppDrawModule.ɵinj = /*@__PURE__*/ i0__namespace.ɵɵdefineInjector({ imports: [[i1.IgoDrawingToolModule]] });
|
|
1526
|
+
IgoAppDrawModule.ɵinj = /*@__PURE__*/ i0__namespace.ɵɵdefineInjector({ imports: [[i1$1.IgoDrawingToolModule]] });
|
|
1433
1527
|
(function () {
|
|
1434
1528
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(IgoAppDrawModule, [{
|
|
1435
1529
|
type: i0.NgModule,
|
|
1436
1530
|
args: [{
|
|
1437
|
-
imports: [i1.IgoDrawingToolModule],
|
|
1531
|
+
imports: [i1$1.IgoDrawingToolModule],
|
|
1438
1532
|
declarations: [exports.DrawingToolComponent],
|
|
1439
1533
|
exports: [
|
|
1440
1534
|
exports.DrawingToolComponent
|
|
@@ -1442,12 +1536,12 @@
|
|
|
1442
1536
|
}]
|
|
1443
1537
|
}], null, null);
|
|
1444
1538
|
})();
|
|
1445
|
-
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0__namespace.ɵɵsetNgModuleScope(IgoAppDrawModule, { declarations: [exports.DrawingToolComponent], imports: [i1.IgoDrawingToolModule], exports: [exports.DrawingToolComponent] }); })();
|
|
1539
|
+
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0__namespace.ɵɵsetNgModuleScope(IgoAppDrawModule, { declarations: [exports.DrawingToolComponent], imports: [i1$1.IgoDrawingToolModule], exports: [exports.DrawingToolComponent] }); })();
|
|
1446
1540
|
|
|
1447
1541
|
function handleZoomAuto(workspace, storageService) {
|
|
1448
1542
|
var zoomStrategy = workspace.entityStore
|
|
1449
|
-
.getStrategyOfType(i1.FeatureStoreSelectionStrategy);
|
|
1450
|
-
zoomStrategy.setMotion(storageService.get('zoomAuto') ? i1.FeatureMotion.Default : i1.FeatureMotion.None);
|
|
1543
|
+
.getStrategyOfType(i1$1.FeatureStoreSelectionStrategy);
|
|
1544
|
+
zoomStrategy.setMotion(storageService.get('zoomAuto') ? i1$1.FeatureMotion.Default : i1$1.FeatureMotion.None);
|
|
1451
1545
|
}
|
|
1452
1546
|
|
|
1453
1547
|
/**
|
|
@@ -1466,7 +1560,7 @@
|
|
|
1466
1560
|
});
|
|
1467
1561
|
return StorageState;
|
|
1468
1562
|
}());
|
|
1469
|
-
StorageState.ɵfac = function StorageState_Factory(t) { return new (t || StorageState)(i0__namespace.ɵɵinject(i2__namespace$
|
|
1563
|
+
StorageState.ɵfac = function StorageState_Factory(t) { return new (t || StorageState)(i0__namespace.ɵɵinject(i2__namespace$1.StorageService)); };
|
|
1470
1564
|
StorageState.ɵprov = /*@__PURE__*/ i0__namespace.ɵɵdefineInjectable({ token: StorageState, factory: StorageState.ɵfac, providedIn: 'root' });
|
|
1471
1565
|
(function () {
|
|
1472
1566
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(StorageState, [{
|
|
@@ -1474,7 +1568,7 @@
|
|
|
1474
1568
|
args: [{
|
|
1475
1569
|
providedIn: 'root'
|
|
1476
1570
|
}]
|
|
1477
|
-
}], function () { return [{ type: i2__namespace$
|
|
1571
|
+
}], function () { return [{ type: i2__namespace$1.StorageService }]; }, null);
|
|
1478
1572
|
})();
|
|
1479
1573
|
|
|
1480
1574
|
var FeatureActionsService = /** @class */ (function () {
|
|
@@ -1513,7 +1607,7 @@
|
|
|
1513
1607
|
var _this = this;
|
|
1514
1608
|
this.zoomAuto$.next(this.zoomAuto);
|
|
1515
1609
|
this.storageChange$$ = this.storageService.storageChange$
|
|
1516
|
-
.pipe(operators.skipWhile(function (storageChange) { return storageChange.key !== 'zoomAuto' || storageChange.event === i2$
|
|
1610
|
+
.pipe(operators.skipWhile(function (storageChange) { return storageChange.key !== 'zoomAuto' || storageChange.event === i2$1.StorageServiceEventEnum.CLEARED; }))
|
|
1517
1611
|
.subscribe(function () {
|
|
1518
1612
|
_this.zoomAuto$.next(_this.zoomAuto);
|
|
1519
1613
|
handleZoomAuto(workspace, _this.storageService);
|
|
@@ -1534,7 +1628,7 @@
|
|
|
1534
1628
|
id: 'filterInMapExtent',
|
|
1535
1629
|
checkbox: true,
|
|
1536
1630
|
title: 'igo.integration.workspace.inMapExtent.title',
|
|
1537
|
-
tooltip: i1.mapExtentStrategyActiveToolTip(workspace),
|
|
1631
|
+
tooltip: i1$1.mapExtentStrategyActiveToolTip(workspace),
|
|
1538
1632
|
checkCondition: rowsInMapExtentCheckCondition$,
|
|
1539
1633
|
handler: function () { return rowsInMapExtentCheckCondition$.next(!rowsInMapExtentCheckCondition$.value); }
|
|
1540
1634
|
},
|
|
@@ -1557,7 +1651,7 @@
|
|
|
1557
1651
|
});
|
|
1558
1652
|
},
|
|
1559
1653
|
args: [workspace],
|
|
1560
|
-
availability: function (ws) { return i1.noElementSelected(ws); }
|
|
1654
|
+
availability: function (ws) { return i1$1.noElementSelected(ws); }
|
|
1561
1655
|
},
|
|
1562
1656
|
{
|
|
1563
1657
|
id: 'featureDownload',
|
|
@@ -1565,8 +1659,8 @@
|
|
|
1565
1659
|
title: 'igo.integration.workspace.download.title',
|
|
1566
1660
|
tooltip: 'igo.integration.workspace.download.tooltip',
|
|
1567
1661
|
handler: function (ws) {
|
|
1568
|
-
var filterStrategy = ws.entityStore.getStrategyOfType(
|
|
1569
|
-
var filterSelectionStrategy = ws.entityStore.getStrategyOfType(
|
|
1662
|
+
var filterStrategy = ws.entityStore.getStrategyOfType(i4.EntityStoreFilterCustomFuncStrategy);
|
|
1663
|
+
var filterSelectionStrategy = ws.entityStore.getStrategyOfType(i4.EntityStoreFilterSelectionStrategy);
|
|
1570
1664
|
var layersWithSelection = filterSelectionStrategy.active
|
|
1571
1665
|
? [ws.layer.id]
|
|
1572
1666
|
: [];
|
|
@@ -1611,7 +1705,7 @@
|
|
|
1611
1705
|
};
|
|
1612
1706
|
return FeatureActionsService;
|
|
1613
1707
|
}());
|
|
1614
|
-
FeatureActionsService.ɵfac = function FeatureActionsService_Factory(t) { return new (t || FeatureActionsService)(i0__namespace.ɵɵinject(StorageState), i0__namespace.ɵɵinject(i2__namespace$
|
|
1708
|
+
FeatureActionsService.ɵfac = function FeatureActionsService_Factory(t) { return new (t || FeatureActionsService)(i0__namespace.ɵɵinject(StorageState), i0__namespace.ɵɵinject(i2__namespace$1.LanguageService), i0__namespace.ɵɵinject(ToolState), i0__namespace.ɵɵinject(i2__namespace$1.MediaService)); };
|
|
1615
1709
|
FeatureActionsService.ɵprov = /*@__PURE__*/ i0__namespace.ɵɵdefineInjectable({ token: FeatureActionsService, factory: FeatureActionsService.ɵfac, providedIn: 'root' });
|
|
1616
1710
|
(function () {
|
|
1617
1711
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(FeatureActionsService, [{
|
|
@@ -1619,7 +1713,7 @@
|
|
|
1619
1713
|
args: [{
|
|
1620
1714
|
providedIn: 'root'
|
|
1621
1715
|
}]
|
|
1622
|
-
}], function () { return [{ type: StorageState }, { type: i2__namespace$
|
|
1716
|
+
}], function () { return [{ type: StorageState }, { type: i2__namespace$1.LanguageService }, { type: ToolState }, { type: i2__namespace$1.MediaService }]; }, null);
|
|
1623
1717
|
})();
|
|
1624
1718
|
|
|
1625
1719
|
var WfsActionsService = /** @class */ (function () {
|
|
@@ -1662,7 +1756,7 @@
|
|
|
1662
1756
|
var _a, _b;
|
|
1663
1757
|
this.zoomAuto$.next(this.zoomAuto);
|
|
1664
1758
|
this.storageChange$$ = this.storageService.storageChange$
|
|
1665
|
-
.pipe(operators.skipWhile(function (storageChange) { return storageChange.key !== 'zoomAuto' || storageChange.event === i2$
|
|
1759
|
+
.pipe(operators.skipWhile(function (storageChange) { return storageChange.key !== 'zoomAuto' || storageChange.event === i2$1.StorageServiceEventEnum.CLEARED; }))
|
|
1666
1760
|
.subscribe(function () {
|
|
1667
1761
|
_this.zoomAuto$.next(_this.zoomAuto);
|
|
1668
1762
|
handleZoomAuto(workspace, _this.storageService);
|
|
@@ -1683,7 +1777,7 @@
|
|
|
1683
1777
|
id: 'filterInMapExtent',
|
|
1684
1778
|
checkbox: true,
|
|
1685
1779
|
title: 'igo.integration.workspace.inMapExtent.title',
|
|
1686
|
-
tooltip: i1.mapExtentStrategyActiveToolTip(workspace),
|
|
1780
|
+
tooltip: i1$1.mapExtentStrategyActiveToolTip(workspace),
|
|
1687
1781
|
checkCondition: rowsInMapExtentCheckCondition$,
|
|
1688
1782
|
handler: function () { return rowsInMapExtentCheckCondition$.next(!rowsInMapExtentCheckCondition$.value); }
|
|
1689
1783
|
},
|
|
@@ -1704,7 +1798,7 @@
|
|
|
1704
1798
|
ws.entityStore.state.updateMany(ws.entityStore.view.all(), { selected: false });
|
|
1705
1799
|
},
|
|
1706
1800
|
args: [workspace],
|
|
1707
|
-
availability: function (ws) { return i1.noElementSelected(ws); }
|
|
1801
|
+
availability: function (ws) { return i1$1.noElementSelected(ws); }
|
|
1708
1802
|
},
|
|
1709
1803
|
{
|
|
1710
1804
|
id: 'wfsDownload',
|
|
@@ -1712,8 +1806,8 @@
|
|
|
1712
1806
|
title: 'igo.integration.workspace.download.title',
|
|
1713
1807
|
tooltip: 'igo.integration.workspace.download.tooltip',
|
|
1714
1808
|
handler: function (ws) {
|
|
1715
|
-
var filterStrategy = ws.entityStore.getStrategyOfType(
|
|
1716
|
-
var filterSelectionStrategy = ws.entityStore.getStrategyOfType(
|
|
1809
|
+
var filterStrategy = ws.entityStore.getStrategyOfType(i4.EntityStoreFilterCustomFuncStrategy);
|
|
1810
|
+
var filterSelectionStrategy = ws.entityStore.getStrategyOfType(i4.EntityStoreFilterSelectionStrategy);
|
|
1717
1811
|
var layersWithSelection = filterSelectionStrategy.active ? [ws.layer.id] : [];
|
|
1718
1812
|
_this.toolState.toolToActivateFromOptions({
|
|
1719
1813
|
tool: 'importExport',
|
|
@@ -1767,7 +1861,7 @@
|
|
|
1767
1861
|
};
|
|
1768
1862
|
return WfsActionsService;
|
|
1769
1863
|
}());
|
|
1770
|
-
WfsActionsService.ɵfac = function WfsActionsService_Factory(t) { return new (t || WfsActionsService)(i0__namespace.ɵɵinject(i1.OgcFilterWidget), i0__namespace.ɵɵinject(StorageState), i0__namespace.ɵɵinject(i2__namespace$
|
|
1864
|
+
WfsActionsService.ɵfac = function WfsActionsService_Factory(t) { return new (t || WfsActionsService)(i0__namespace.ɵɵinject(i1$1.OgcFilterWidget), i0__namespace.ɵɵinject(StorageState), i0__namespace.ɵɵinject(i2__namespace$1.LanguageService), i0__namespace.ɵɵinject(i2__namespace$1.MediaService), i0__namespace.ɵɵinject(ToolState)); };
|
|
1771
1865
|
WfsActionsService.ɵprov = /*@__PURE__*/ i0__namespace.ɵɵdefineInjectable({ token: WfsActionsService, factory: WfsActionsService.ɵfac, providedIn: 'root' });
|
|
1772
1866
|
(function () {
|
|
1773
1867
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(WfsActionsService, [{
|
|
@@ -1776,10 +1870,169 @@
|
|
|
1776
1870
|
providedIn: 'root'
|
|
1777
1871
|
}]
|
|
1778
1872
|
}], function () {
|
|
1779
|
-
return [{ type:
|
|
1873
|
+
return [{ type: i4__namespace.Widget, decorators: [{
|
|
1874
|
+
type: i0.Inject,
|
|
1875
|
+
args: [i1$1.OgcFilterWidget]
|
|
1876
|
+
}] }, { type: StorageState }, { type: i2__namespace$1.LanguageService }, { type: i2__namespace$1.MediaService }, { type: ToolState }];
|
|
1877
|
+
}, null);
|
|
1878
|
+
})();
|
|
1879
|
+
|
|
1880
|
+
var EditionActionsService = /** @class */ (function () {
|
|
1881
|
+
function EditionActionsService(ogcFilterWidget, storageState, languageService, mediaService, toolState) {
|
|
1882
|
+
this.ogcFilterWidget = ogcFilterWidget;
|
|
1883
|
+
this.storageState = storageState;
|
|
1884
|
+
this.languageService = languageService;
|
|
1885
|
+
this.mediaService = mediaService;
|
|
1886
|
+
this.toolState = toolState;
|
|
1887
|
+
this.maximize$ = new rxjs.BehaviorSubject(this.storageService.get('workspaceMaximize'));
|
|
1888
|
+
this.zoomAuto$ = new rxjs.BehaviorSubject(false);
|
|
1889
|
+
}
|
|
1890
|
+
Object.defineProperty(EditionActionsService.prototype, "storageService", {
|
|
1891
|
+
get: function () {
|
|
1892
|
+
return this.storageState.storageService;
|
|
1893
|
+
},
|
|
1894
|
+
enumerable: false,
|
|
1895
|
+
configurable: true
|
|
1896
|
+
});
|
|
1897
|
+
Object.defineProperty(EditionActionsService.prototype, "zoomAuto", {
|
|
1898
|
+
get: function () {
|
|
1899
|
+
return this.storageService.get('zoomAuto');
|
|
1900
|
+
},
|
|
1901
|
+
enumerable: false,
|
|
1902
|
+
configurable: true
|
|
1903
|
+
});
|
|
1904
|
+
EditionActionsService.prototype.ngOnDestroy = function () {
|
|
1905
|
+
if (this.storageChange$$) {
|
|
1906
|
+
this.storageChange$$.unsubscribe();
|
|
1907
|
+
}
|
|
1908
|
+
};
|
|
1909
|
+
EditionActionsService.prototype.loadActions = function (workspace, rowsInMapExtentCheckCondition$, selectOnlyCheckCondition$) {
|
|
1910
|
+
var actions = this.buildActions(workspace, rowsInMapExtentCheckCondition$, selectOnlyCheckCondition$);
|
|
1911
|
+
workspace.actionStore.load(actions);
|
|
1912
|
+
};
|
|
1913
|
+
EditionActionsService.prototype.buildActions = function (workspace, rowsInMapExtentCheckCondition$, selectOnlyCheckCondition$) {
|
|
1914
|
+
var _this = this;
|
|
1915
|
+
var _a, _b;
|
|
1916
|
+
this.zoomAuto$.next(this.zoomAuto);
|
|
1917
|
+
this.storageChange$$ = this.storageService.storageChange$
|
|
1918
|
+
.pipe(operators.skipWhile(function (storageChange) { return storageChange.key !== 'zoomAuto' || storageChange.event === i2$1.StorageServiceEventEnum.CLEARED; }))
|
|
1919
|
+
.subscribe(function () {
|
|
1920
|
+
_this.zoomAuto$.next(_this.zoomAuto);
|
|
1921
|
+
handleZoomAuto(workspace, _this.storageService);
|
|
1922
|
+
});
|
|
1923
|
+
var actions = [
|
|
1924
|
+
{
|
|
1925
|
+
id: 'zoomAuto',
|
|
1926
|
+
checkbox: true,
|
|
1927
|
+
title: 'igo.integration.workspace.zoomAuto.title',
|
|
1928
|
+
tooltip: 'igo.integration.workspace.zoomAuto.tooltip',
|
|
1929
|
+
checkCondition: this.zoomAuto$,
|
|
1930
|
+
handler: function () {
|
|
1931
|
+
handleZoomAuto(workspace, _this.storageService);
|
|
1932
|
+
_this.storageService.set('zoomAuto', !_this.storageService.get('zoomAuto'));
|
|
1933
|
+
}
|
|
1934
|
+
},
|
|
1935
|
+
{
|
|
1936
|
+
id: 'filterInMapExtent',
|
|
1937
|
+
checkbox: true,
|
|
1938
|
+
title: 'igo.integration.workspace.inMapExtent.title',
|
|
1939
|
+
tooltip: i1$1.mapExtentStrategyActiveToolTip(workspace),
|
|
1940
|
+
checkCondition: rowsInMapExtentCheckCondition$,
|
|
1941
|
+
handler: function () { return rowsInMapExtentCheckCondition$.next(!rowsInMapExtentCheckCondition$.value); }
|
|
1942
|
+
},
|
|
1943
|
+
{
|
|
1944
|
+
id: 'selectedOnly',
|
|
1945
|
+
checkbox: true,
|
|
1946
|
+
title: 'igo.integration.workspace.selected.title',
|
|
1947
|
+
tooltip: 'igo.integration.workspace.selected.title',
|
|
1948
|
+
checkCondition: selectOnlyCheckCondition$,
|
|
1949
|
+
handler: function () { return selectOnlyCheckCondition$.next(!selectOnlyCheckCondition$.value); }
|
|
1950
|
+
},
|
|
1951
|
+
{
|
|
1952
|
+
id: 'clearselection',
|
|
1953
|
+
icon: 'select-off',
|
|
1954
|
+
title: 'igo.integration.workspace.clearSelection.title',
|
|
1955
|
+
tooltip: 'igo.integration.workspace.clearSelection.tooltip',
|
|
1956
|
+
handler: function (ws) {
|
|
1957
|
+
ws.entityStore.state.updateMany(ws.entityStore.view.all(), { selected: false });
|
|
1958
|
+
},
|
|
1959
|
+
args: [workspace],
|
|
1960
|
+
availability: function (ws) { return i1$1.noElementSelected(ws); }
|
|
1961
|
+
},
|
|
1962
|
+
{
|
|
1963
|
+
id: 'wfsDownload',
|
|
1964
|
+
icon: 'file-export',
|
|
1965
|
+
title: 'igo.integration.workspace.download.title',
|
|
1966
|
+
tooltip: 'igo.integration.workspace.download.tooltip',
|
|
1967
|
+
handler: function (ws) {
|
|
1968
|
+
var filterStrategy = ws.entityStore.getStrategyOfType(i4.EntityStoreFilterCustomFuncStrategy);
|
|
1969
|
+
var filterSelectionStrategy = ws.entityStore.getStrategyOfType(i4.EntityStoreFilterSelectionStrategy);
|
|
1970
|
+
var layersWithSelection = filterSelectionStrategy.active ? [ws.layer.id] : [];
|
|
1971
|
+
_this.toolState.toolToActivateFromOptions({
|
|
1972
|
+
tool: 'importExport',
|
|
1973
|
+
options: { layers: [ws.layer.id], featureInMapExtent: filterStrategy.active, layersWithSelection: layersWithSelection }
|
|
1974
|
+
});
|
|
1975
|
+
},
|
|
1976
|
+
args: [workspace]
|
|
1977
|
+
},
|
|
1978
|
+
{
|
|
1979
|
+
id: 'ogcFilter',
|
|
1980
|
+
icon: 'filter',
|
|
1981
|
+
title: 'igo.integration.workspace.ogcFilter.title',
|
|
1982
|
+
tooltip: 'igo.integration.workspace.ogcFilter.tooltip',
|
|
1983
|
+
handler: function (widget, ws) {
|
|
1984
|
+
ws.activateWidget(widget, {
|
|
1985
|
+
map: ws.map,
|
|
1986
|
+
layer: ws.layer
|
|
1987
|
+
});
|
|
1988
|
+
},
|
|
1989
|
+
args: [this.ogcFilterWidget, workspace]
|
|
1990
|
+
},
|
|
1991
|
+
{
|
|
1992
|
+
id: 'maximize',
|
|
1993
|
+
title: this.languageService.translate.instant('igo.integration.workspace.maximize'),
|
|
1994
|
+
tooltip: this.languageService.translate.instant('igo.integration.workspace.maximizeTooltip'),
|
|
1995
|
+
icon: 'resize',
|
|
1996
|
+
display: function () {
|
|
1997
|
+
return _this.maximize$.pipe(operators.map(function (v) { return !v && !_this.mediaService.isMobile(); }));
|
|
1998
|
+
},
|
|
1999
|
+
handler: function () {
|
|
2000
|
+
if (!_this.mediaService.isMobile()) {
|
|
2001
|
+
_this.maximize$.next(true);
|
|
2002
|
+
}
|
|
2003
|
+
},
|
|
2004
|
+
},
|
|
2005
|
+
{
|
|
2006
|
+
id: 'standardExtent',
|
|
2007
|
+
title: this.languageService.translate.instant('igo.integration.workspace.standardExtent'),
|
|
2008
|
+
tooltip: this.languageService.translate.instant('igo.integration.workspace.standardExtentTooltip'),
|
|
2009
|
+
icon: 'resize',
|
|
2010
|
+
display: function () {
|
|
2011
|
+
return _this.maximize$.pipe(operators.map(function (v) { return v && !_this.mediaService.isMobile(); }));
|
|
2012
|
+
},
|
|
2013
|
+
handler: function () {
|
|
2014
|
+
_this.maximize$.next(false);
|
|
2015
|
+
}
|
|
2016
|
+
}
|
|
2017
|
+
];
|
|
2018
|
+
return ((_b = (_a = workspace.layer.dataSource.ogcFilters$) === null || _a === void 0 ? void 0 : _a.value) === null || _b === void 0 ? void 0 : _b.enabled) ?
|
|
2019
|
+
actions : actions.filter(function (action) { return action.id !== 'ogcFilter'; });
|
|
2020
|
+
};
|
|
2021
|
+
return EditionActionsService;
|
|
2022
|
+
}());
|
|
2023
|
+
EditionActionsService.ɵfac = function EditionActionsService_Factory(t) { return new (t || EditionActionsService)(i0__namespace.ɵɵinject(i1$1.OgcFilterWidget), i0__namespace.ɵɵinject(StorageState), i0__namespace.ɵɵinject(i2__namespace$1.LanguageService), i0__namespace.ɵɵinject(i2__namespace$1.MediaService), i0__namespace.ɵɵinject(ToolState)); };
|
|
2024
|
+
EditionActionsService.ɵprov = /*@__PURE__*/ i0__namespace.ɵɵdefineInjectable({ token: EditionActionsService, factory: EditionActionsService.ɵfac, providedIn: 'root' });
|
|
2025
|
+
(function () {
|
|
2026
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(EditionActionsService, [{
|
|
2027
|
+
type: i0.Injectable,
|
|
2028
|
+
args: [{
|
|
2029
|
+
providedIn: 'root'
|
|
2030
|
+
}]
|
|
2031
|
+
}], function () {
|
|
2032
|
+
return [{ type: i4__namespace.Widget, decorators: [{
|
|
1780
2033
|
type: i0.Inject,
|
|
1781
|
-
args: [i1.OgcFilterWidget]
|
|
1782
|
-
}] }, { type: StorageState }, { type: i2__namespace$
|
|
2034
|
+
args: [i1$1.OgcFilterWidget]
|
|
2035
|
+
}] }, { type: StorageState }, { type: i2__namespace$1.LanguageService }, { type: i2__namespace$1.MediaService }, { type: ToolState }];
|
|
1783
2036
|
}, null);
|
|
1784
2037
|
})();
|
|
1785
2038
|
|
|
@@ -1787,9 +2040,10 @@
|
|
|
1787
2040
|
* Service that holds the state of the workspace module
|
|
1788
2041
|
*/
|
|
1789
2042
|
var WorkspaceState = /** @class */ (function () {
|
|
1790
|
-
function WorkspaceState(featureActionsService, wfsActionsService, storageService) {
|
|
2043
|
+
function WorkspaceState(featureActionsService, wfsActionsService, editionActionsService, storageService) {
|
|
1791
2044
|
this.featureActionsService = featureActionsService;
|
|
1792
2045
|
this.wfsActionsService = wfsActionsService;
|
|
2046
|
+
this.editionActionsService = editionActionsService;
|
|
1793
2047
|
this.storageService = storageService;
|
|
1794
2048
|
this.workspacePanelExpanded = false;
|
|
1795
2049
|
this.workspaceEnabled$ = new rxjs.BehaviorSubject(false);
|
|
@@ -1820,7 +2074,7 @@
|
|
|
1820
2074
|
*/
|
|
1821
2075
|
WorkspaceState.prototype.initWorkspaces = function () {
|
|
1822
2076
|
var _this = this;
|
|
1823
|
-
this._store = new
|
|
2077
|
+
this._store = new i4.WorkspaceStore([]);
|
|
1824
2078
|
this._store.stateView
|
|
1825
2079
|
.firstBy$(function (record) { return record.state.active === true; })
|
|
1826
2080
|
.subscribe(function (record) {
|
|
@@ -1831,12 +2085,15 @@
|
|
|
1831
2085
|
.subscribe(function (workspaces) {
|
|
1832
2086
|
workspaces.map(function (wks) {
|
|
1833
2087
|
if (wks.entity.actionStore.empty) {
|
|
1834
|
-
if (wks.entity instanceof i1.WfsWorkspace) {
|
|
2088
|
+
if (wks.entity instanceof i1$1.WfsWorkspace) {
|
|
1835
2089
|
_this.wfsActionsService.loadActions(wks.entity, _this.rowsInMapExtentCheckCondition$, _this.selectOnlyCheckCondition$);
|
|
1836
2090
|
}
|
|
1837
|
-
else if (wks.entity instanceof i1.FeatureWorkspace) {
|
|
2091
|
+
else if (wks.entity instanceof i1$1.FeatureWorkspace) {
|
|
1838
2092
|
_this.featureActionsService.loadActions(wks.entity, _this.rowsInMapExtentCheckCondition$, _this.selectOnlyCheckCondition$);
|
|
1839
2093
|
}
|
|
2094
|
+
else if (wks.entity instanceof i1$1.EditionWorkspace) {
|
|
2095
|
+
_this.editionActionsService.loadActions(wks.entity, _this.rowsInMapExtentCheckCondition$, _this.selectOnlyCheckCondition$);
|
|
2096
|
+
}
|
|
1840
2097
|
}
|
|
1841
2098
|
});
|
|
1842
2099
|
});
|
|
@@ -1846,6 +2103,9 @@
|
|
|
1846
2103
|
this.actionMaximize$$.push(this.wfsActionsService.maximize$.subscribe(function (maximized) {
|
|
1847
2104
|
_this.setWorkspaceIsMaximized(maximized);
|
|
1848
2105
|
}));
|
|
2106
|
+
this.actionMaximize$$.push(this.editionActionsService.maximize$.subscribe(function (maximized) {
|
|
2107
|
+
_this.setWorkspaceIsMaximized(maximized);
|
|
2108
|
+
}));
|
|
1849
2109
|
this.activeWorkspace$$ = this.workspace$
|
|
1850
2110
|
.subscribe(function (workspace) {
|
|
1851
2111
|
if (_this.activeWorkspaceWidget$$ !== undefined) {
|
|
@@ -1860,7 +2120,7 @@
|
|
|
1860
2120
|
this.rowsInMapExtentCheckCondition$$ = this.rowsInMapExtentCheckCondition$.subscribe(function (rowsInMapExtent) {
|
|
1861
2121
|
_this._store.stateView.all().map(function (wks) {
|
|
1862
2122
|
if (!wks.entity.actionStore.empty) {
|
|
1863
|
-
var filterStrategy = wks.entity.entityStore.getStrategyOfType(
|
|
2123
|
+
var filterStrategy = wks.entity.entityStore.getStrategyOfType(i4.EntityStoreFilterCustomFuncStrategy);
|
|
1864
2124
|
if (filterStrategy) {
|
|
1865
2125
|
if (rowsInMapExtent) {
|
|
1866
2126
|
filterStrategy.activate();
|
|
@@ -1875,7 +2135,7 @@
|
|
|
1875
2135
|
this.selectOnlyCheckCondition$$ = this.selectOnlyCheckCondition$.subscribe(function (selectOnly) {
|
|
1876
2136
|
_this._store.stateView.all().map(function (wks) {
|
|
1877
2137
|
if (!wks.entity.actionStore.empty) {
|
|
1878
|
-
var filterStrategy = wks.entity.entityStore.getStrategyOfType(
|
|
2138
|
+
var filterStrategy = wks.entity.entityStore.getStrategyOfType(i4.EntityStoreFilterSelectionStrategy);
|
|
1879
2139
|
if (filterStrategy) {
|
|
1880
2140
|
if (selectOnly) {
|
|
1881
2141
|
filterStrategy.activate();
|
|
@@ -1900,6 +2160,14 @@
|
|
|
1900
2160
|
this.store.activateWorkspace(wksFromId);
|
|
1901
2161
|
}
|
|
1902
2162
|
};
|
|
2163
|
+
WorkspaceState.prototype.setActiveWorkspaceByTitle = function (title) {
|
|
2164
|
+
var wksFromTitle = this.store
|
|
2165
|
+
.all()
|
|
2166
|
+
.find(function (workspace) { return workspace.title === title; });
|
|
2167
|
+
if (wksFromTitle) {
|
|
2168
|
+
this.store.activateWorkspace(wksFromTitle);
|
|
2169
|
+
}
|
|
2170
|
+
};
|
|
1903
2171
|
/**
|
|
1904
2172
|
* Teardown all the workspaces
|
|
1905
2173
|
* @internal
|
|
@@ -1928,7 +2196,7 @@
|
|
|
1928
2196
|
};
|
|
1929
2197
|
return WorkspaceState;
|
|
1930
2198
|
}());
|
|
1931
|
-
WorkspaceState.ɵfac = function WorkspaceState_Factory(t) { return new (t || WorkspaceState)(i0__namespace.ɵɵinject(FeatureActionsService), i0__namespace.ɵɵinject(WfsActionsService), i0__namespace.ɵɵinject(i2__namespace$
|
|
2199
|
+
WorkspaceState.ɵfac = function WorkspaceState_Factory(t) { return new (t || WorkspaceState)(i0__namespace.ɵɵinject(FeatureActionsService), i0__namespace.ɵɵinject(WfsActionsService), i0__namespace.ɵɵinject(EditionActionsService), i0__namespace.ɵɵinject(i2__namespace$1.StorageService)); };
|
|
1932
2200
|
WorkspaceState.ɵprov = /*@__PURE__*/ i0__namespace.ɵɵdefineInjectable({ token: WorkspaceState, factory: WorkspaceState.ɵfac, providedIn: 'root' });
|
|
1933
2201
|
(function () {
|
|
1934
2202
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(WorkspaceState, [{
|
|
@@ -1936,7 +2204,7 @@
|
|
|
1936
2204
|
args: [{
|
|
1937
2205
|
providedIn: 'root'
|
|
1938
2206
|
}]
|
|
1939
|
-
}], function () { return [{ type: FeatureActionsService }, { type: WfsActionsService }, { type: i2__namespace$
|
|
2207
|
+
}], function () { return [{ type: FeatureActionsService }, { type: WfsActionsService }, { type: EditionActionsService }, { type: i2__namespace$1.StorageService }]; }, null);
|
|
1940
2208
|
})();
|
|
1941
2209
|
|
|
1942
2210
|
function WorkspaceButtonComponent_button_0_Template(rf, ctx) {
|
|
@@ -2001,7 +2269,7 @@
|
|
|
2001
2269
|
if (rf & 2) {
|
|
2002
2270
|
i0__namespace.ɵɵproperty("ngIf", i0__namespace.ɵɵpipeBind1(1, 1, ctx.hasWorkspace$));
|
|
2003
2271
|
}
|
|
2004
|
-
}, directives: [
|
|
2272
|
+
}, directives: [i4__namespace$1.NgIf, i3__namespace.MatButton, i4__namespace$2.MatTooltip, i6__namespace.MatIcon], pipes: [i4__namespace$1.AsyncPipe, i8__namespace.TranslatePipe], styles: [""], changeDetection: 0 });
|
|
2005
2273
|
(function () {
|
|
2006
2274
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(WorkspaceButtonComponent, [{
|
|
2007
2275
|
type: i0.Component,
|
|
@@ -2026,22 +2294,22 @@
|
|
|
2026
2294
|
IgoAppWorkspaceModule.ɵfac = function IgoAppWorkspaceModule_Factory(t) { return new (t || IgoAppWorkspaceModule)(); };
|
|
2027
2295
|
IgoAppWorkspaceModule.ɵmod = /*@__PURE__*/ i0__namespace.ɵɵdefineNgModule({ type: IgoAppWorkspaceModule });
|
|
2028
2296
|
IgoAppWorkspaceModule.ɵinj = /*@__PURE__*/ i0__namespace.ɵɵdefineInjector({ imports: [[
|
|
2029
|
-
|
|
2297
|
+
i4$1.CommonModule,
|
|
2030
2298
|
i6.MatIconModule,
|
|
2031
2299
|
i3.MatButtonModule,
|
|
2032
|
-
i4.MatTooltipModule,
|
|
2033
|
-
i2$
|
|
2300
|
+
i4$2.MatTooltipModule,
|
|
2301
|
+
i2$1.IgoLanguageModule
|
|
2034
2302
|
]] });
|
|
2035
2303
|
(function () {
|
|
2036
2304
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(IgoAppWorkspaceModule, [{
|
|
2037
2305
|
type: i0.NgModule,
|
|
2038
2306
|
args: [{
|
|
2039
2307
|
imports: [
|
|
2040
|
-
|
|
2308
|
+
i4$1.CommonModule,
|
|
2041
2309
|
i6.MatIconModule,
|
|
2042
2310
|
i3.MatButtonModule,
|
|
2043
|
-
i4.MatTooltipModule,
|
|
2044
|
-
i2$
|
|
2311
|
+
i4$2.MatTooltipModule,
|
|
2312
|
+
i2$1.IgoLanguageModule
|
|
2045
2313
|
],
|
|
2046
2314
|
declarations: [WorkspaceButtonComponent],
|
|
2047
2315
|
exports: [WorkspaceButtonComponent]
|
|
@@ -2049,11 +2317,11 @@
|
|
|
2049
2317
|
}], null, null);
|
|
2050
2318
|
})();
|
|
2051
2319
|
(function () {
|
|
2052
|
-
(typeof ngJitMode === "undefined" || ngJitMode) && i0__namespace.ɵɵsetNgModuleScope(IgoAppWorkspaceModule, { declarations: [WorkspaceButtonComponent], imports: [
|
|
2320
|
+
(typeof ngJitMode === "undefined" || ngJitMode) && i0__namespace.ɵɵsetNgModuleScope(IgoAppWorkspaceModule, { declarations: [WorkspaceButtonComponent], imports: [i4$1.CommonModule,
|
|
2053
2321
|
i6.MatIconModule,
|
|
2054
2322
|
i3.MatButtonModule,
|
|
2055
|
-
i4.MatTooltipModule,
|
|
2056
|
-
i2$
|
|
2323
|
+
i4$2.MatTooltipModule,
|
|
2324
|
+
i2$1.IgoLanguageModule], exports: [WorkspaceButtonComponent] });
|
|
2057
2325
|
})();
|
|
2058
2326
|
|
|
2059
2327
|
function ImportExportToolComponent_mat_tab_group_0_Template(rf, ctx) {
|
|
@@ -2182,9 +2450,9 @@
|
|
|
2182
2450
|
i0__namespace.ɵɵadvance(1);
|
|
2183
2451
|
i0__namespace.ɵɵproperty("ngIf", !ctx.importExportShowBothType && ctx.importExportType === "context");
|
|
2184
2452
|
}
|
|
2185
|
-
}, directives: [
|
|
2453
|
+
}, directives: [i4__namespace$1.NgIf, i5__namespace.MatTabGroup, i5__namespace.MatTab, i1__namespace$1.ImportExportComponent, i1__namespace.ContextImportExportComponent], pipes: [i8__namespace.TranslatePipe, i4__namespace$1.AsyncPipe], styles: ["mat-form-field[_ngcontent-%COMP%]{width:100%}"], changeDetection: 0 });
|
|
2186
2454
|
exports.ImportExportToolComponent = __decorate([
|
|
2187
|
-
|
|
2455
|
+
i4.ToolComponent({
|
|
2188
2456
|
name: 'importExport',
|
|
2189
2457
|
title: 'igo.integration.tools.importExport',
|
|
2190
2458
|
icon: 'file-move'
|
|
@@ -2224,24 +2492,24 @@
|
|
|
2224
2492
|
IgoAppImportExportModule.ɵfac = function IgoAppImportExportModule_Factory(t) { return new (t || IgoAppImportExportModule)(); };
|
|
2225
2493
|
IgoAppImportExportModule.ɵmod = /*@__PURE__*/ i0__namespace.ɵɵdefineNgModule({ type: IgoAppImportExportModule });
|
|
2226
2494
|
IgoAppImportExportModule.ɵinj = /*@__PURE__*/ i0__namespace.ɵɵdefineInjector({ imports: [[
|
|
2227
|
-
i1.IgoImportExportModule,
|
|
2228
|
-
|
|
2229
|
-
|
|
2230
|
-
i2$
|
|
2495
|
+
i1$1.IgoImportExportModule,
|
|
2496
|
+
i1.IgoContextImportExportModule,
|
|
2497
|
+
i4$1.CommonModule,
|
|
2498
|
+
i2$1.IgoLanguageModule,
|
|
2231
2499
|
buttonToggle.MatButtonToggleModule,
|
|
2232
|
-
i5
|
|
2500
|
+
i5.MatTabsModule
|
|
2233
2501
|
]] });
|
|
2234
2502
|
(function () {
|
|
2235
2503
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(IgoAppImportExportModule, [{
|
|
2236
2504
|
type: i0.NgModule,
|
|
2237
2505
|
args: [{
|
|
2238
2506
|
imports: [
|
|
2239
|
-
i1.IgoImportExportModule,
|
|
2240
|
-
|
|
2241
|
-
|
|
2242
|
-
i2$
|
|
2507
|
+
i1$1.IgoImportExportModule,
|
|
2508
|
+
i1.IgoContextImportExportModule,
|
|
2509
|
+
i4$1.CommonModule,
|
|
2510
|
+
i2$1.IgoLanguageModule,
|
|
2243
2511
|
buttonToggle.MatButtonToggleModule,
|
|
2244
|
-
i5
|
|
2512
|
+
i5.MatTabsModule
|
|
2245
2513
|
],
|
|
2246
2514
|
declarations: [exports.ImportExportToolComponent],
|
|
2247
2515
|
exports: [exports.ImportExportToolComponent],
|
|
@@ -2250,12 +2518,12 @@
|
|
|
2250
2518
|
}], null, null);
|
|
2251
2519
|
})();
|
|
2252
2520
|
(function () {
|
|
2253
|
-
(typeof ngJitMode === "undefined" || ngJitMode) && i0__namespace.ɵɵsetNgModuleScope(IgoAppImportExportModule, { declarations: [exports.ImportExportToolComponent], imports: [i1.IgoImportExportModule,
|
|
2254
|
-
|
|
2255
|
-
|
|
2256
|
-
i2$
|
|
2521
|
+
(typeof ngJitMode === "undefined" || ngJitMode) && i0__namespace.ɵɵsetNgModuleScope(IgoAppImportExportModule, { declarations: [exports.ImportExportToolComponent], imports: [i1$1.IgoImportExportModule,
|
|
2522
|
+
i1.IgoContextImportExportModule,
|
|
2523
|
+
i4$1.CommonModule,
|
|
2524
|
+
i2$1.IgoLanguageModule,
|
|
2257
2525
|
buttonToggle.MatButtonToggleModule,
|
|
2258
|
-
i5
|
|
2526
|
+
i5.MatTabsModule], exports: [exports.ImportExportToolComponent] });
|
|
2259
2527
|
})();
|
|
2260
2528
|
|
|
2261
2529
|
function MapDetailsToolComponent_igo_layer_list_0_ng_template_1_Template(rf, ctx) {
|
|
@@ -2457,14 +2725,14 @@
|
|
|
2457
2725
|
Object.defineProperty(MapDetailsToolComponent.prototype, "layerFilterAndSortOptions", {
|
|
2458
2726
|
get: function () {
|
|
2459
2727
|
var filterSortOptions = Object.assign({
|
|
2460
|
-
showToolbar: i1.LayerListControlsEnum.default
|
|
2728
|
+
showToolbar: i1$1.LayerListControlsEnum.default
|
|
2461
2729
|
}, this.layerListControls);
|
|
2462
2730
|
switch (this.layerListControls.showToolbar) {
|
|
2463
|
-
case i1.LayerListControlsEnum.always:
|
|
2464
|
-
filterSortOptions.showToolbar = i1.LayerListControlsEnum.always;
|
|
2731
|
+
case i1$1.LayerListControlsEnum.always:
|
|
2732
|
+
filterSortOptions.showToolbar = i1$1.LayerListControlsEnum.always;
|
|
2465
2733
|
break;
|
|
2466
|
-
case i1.LayerListControlsEnum.never:
|
|
2467
|
-
filterSortOptions.showToolbar = i1.LayerListControlsEnum.never;
|
|
2734
|
+
case i1$1.LayerListControlsEnum.never:
|
|
2735
|
+
filterSortOptions.showToolbar = i1$1.LayerListControlsEnum.never;
|
|
2468
2736
|
break;
|
|
2469
2737
|
default:
|
|
2470
2738
|
break;
|
|
@@ -2479,7 +2747,7 @@
|
|
|
2479
2747
|
return (this.toolState.toolbox.getToolbar().indexOf('searchResults') !== -1 &&
|
|
2480
2748
|
this.searchSourceService
|
|
2481
2749
|
.getSources()
|
|
2482
|
-
.filter(i1.sourceCanSearch)
|
|
2750
|
+
.filter(i1$1.sourceCanSearch)
|
|
2483
2751
|
.filter(function (s) { return s.available && s.getType() === 'Layer'; }).length > 0);
|
|
2484
2752
|
},
|
|
2485
2753
|
enumerable: false,
|
|
@@ -2528,7 +2796,7 @@
|
|
|
2528
2796
|
};
|
|
2529
2797
|
return MapDetailsToolComponent;
|
|
2530
2798
|
}());
|
|
2531
|
-
exports.MapDetailsToolComponent.ɵfac = function MapDetailsToolComponent_Factory(t) { return new (t || exports.MapDetailsToolComponent)(i0__namespace.ɵɵdirectiveInject(MapState), i0__namespace.ɵɵdirectiveInject(ToolState), i0__namespace.ɵɵdirectiveInject(i1__namespace.SearchSourceService), i0__namespace.ɵɵdirectiveInject(i0__namespace.ChangeDetectorRef), i0__namespace.ɵɵdirectiveInject(ImportExportState)); };
|
|
2799
|
+
exports.MapDetailsToolComponent.ɵfac = function MapDetailsToolComponent_Factory(t) { return new (t || exports.MapDetailsToolComponent)(i0__namespace.ɵɵdirectiveInject(MapState), i0__namespace.ɵɵdirectiveInject(ToolState), i0__namespace.ɵɵdirectiveInject(i1__namespace$1.SearchSourceService), i0__namespace.ɵɵdirectiveInject(i0__namespace.ChangeDetectorRef), i0__namespace.ɵɵdirectiveInject(ImportExportState)); };
|
|
2532
2800
|
exports.MapDetailsToolComponent.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: exports.MapDetailsToolComponent, selectors: [["igo-map-details-tool"]], inputs: { toggleLegendOnVisibilityChange: "toggleLegendOnVisibilityChange", expandLegendOfVisibleLayers: "expandLegendOfVisibleLayers", updateLegendOnResolutionChange: "updateLegendOnResolutionChange", ogcButton: "ogcButton", timeButton: "timeButton", layerListControls: "layerListControls", queryBadge: "queryBadge", layerAdditionAllowed: "layerAdditionAllowed" }, decls: 4, vars: 4, consts: [["class", "mapDetailsList", "igoLayerListBinding", "", "floatLabel", "never", 3, "map", "excludeBaseLayers", "layerFilterAndSortOptions", "expandLegendOfVisibleLayers", "toggleLegendOnVisibilityChange", "updateLegendOnResolutionChange", "queryBadge", 4, "ngIf", "ngIfElse"], ["empty", ""], ["igoLayerListBinding", "", "floatLabel", "never", 1, "mapDetailsList", 3, "map", "excludeBaseLayers", "layerFilterAndSortOptions", "expandLegendOfVisibleLayers", "toggleLegendOnVisibilityChange", "updateLegendOnResolutionChange", "queryBadge"], ["igoLayerItemToolbar", ""], [3, "layer"], [3, "layer", "click"], [3, "header", "layer"], [3, "trackFeature", "layer"], [4, "ngIf"], [1, "map-empty", "mat-typography"], ["class", "map-empty mat-typography", 4, "ngIf"], ["mat-list-icon", ""], ["viewBox", "0 0 24 24", "fit", "", "height", "100%", "width", "100%", "preserveAspectRatio", "xMidYMid meet", "focusable", "false"], ["d", "M9.5,3A6.5,6.5 0 0,1 16,9.5C16,11.11 15.41,12.59 14.44,13.73L14.71,14H15.5L20.5,19L19,20.5L14,15.5V14.71L13.73,14.44C12.59,15.41 11.11,16 9.5,16A6.5,6.5 0 0,1 3,9.5A6.5,6.5 0 0,1 9.5,3M9.5,5C7,5 5,7 5,9.5C5,12 7,14 9.5,14C12,14 14,12 14,9.5C14,7 12,5 9.5,5Z"], ["matLine", "", 1, "search-tool", "mat-typography", 3, "click"], ["d", "M17,14H19V17H22V19H19V22H17V19H14V17H17V14M11,16L2,9L11,2L20,9L11,16M11,18.54L12,17.75V18C12,18.71 12.12,19.39 12.35,20L11,21.07L2,14.07L3.62,12.81L11,18.54Z"], ["matLine", "", 1, "catalog-tool", "mat-typography", 3, "click"], ["d", "M12,17.27L18.18,21L16.54,13.97L22,9.24L14.81,8.62L12,2L9.19,8.62L2,9.24L7.45,13.97L5.82,21L12,17.27Z"], ["matLine", "", 1, "context-tool", "mat-typography", 3, "click"]], template: function MapDetailsToolComponent_Template(rf, ctx) {
|
|
2533
2801
|
if (rf & 1) {
|
|
2534
2802
|
i0__namespace.ɵɵtemplate(0, MapDetailsToolComponent_igo_layer_list_0_Template, 3, 7, "igo-layer-list", 0);
|
|
@@ -2539,9 +2807,9 @@
|
|
|
2539
2807
|
var _r1 = i0__namespace.ɵɵreference(3);
|
|
2540
2808
|
i0__namespace.ɵɵproperty("ngIf", i0__namespace.ɵɵpipeBind1(1, 2, ctx.layers$).length)("ngIfElse", _r1);
|
|
2541
2809
|
}
|
|
2542
|
-
}, directives: [
|
|
2810
|
+
}, directives: [i4__namespace$1.NgIf, i1__namespace$1.LayerListComponent, i1__namespace$1.LayerListBindingDirective, WorkspaceButtonComponent, i1__namespace$1.ExportButtonComponent, i1__namespace$1.OgcFilterButtonComponent, i1__namespace$1.TimeFilterButtonComponent, i1__namespace$1.TrackFeatureButtonComponent, i1__namespace$1.MetadataButtonComponent, i7__namespace.MatList, i7__namespace.MatListItem, i6__namespace.MatIcon, i7__namespace.MatListIconCssMatStyler, i8__namespace$1.MatLine], pipes: [i4__namespace$1.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
2811
|
exports.MapDetailsToolComponent = __decorate([
|
|
2544
|
-
|
|
2812
|
+
i4.ToolComponent({
|
|
2545
2813
|
name: 'mapDetails',
|
|
2546
2814
|
title: 'igo.integration.tools.map',
|
|
2547
2815
|
icon: 'map'
|
|
@@ -2555,7 +2823,7 @@
|
|
|
2555
2823
|
templateUrl: './map-details-tool.component.html',
|
|
2556
2824
|
styleUrls: ['./map-details-tool.component.scss']
|
|
2557
2825
|
}]
|
|
2558
|
-
}], function () { return [{ type: MapState }, { type: ToolState }, { type: i1__namespace.SearchSourceService }, { type: i0__namespace.ChangeDetectorRef }, { type: ImportExportState }]; }, { toggleLegendOnVisibilityChange: [{
|
|
2826
|
+
}], function () { return [{ type: MapState }, { type: ToolState }, { type: i1__namespace$1.SearchSourceService }, { type: i0__namespace.ChangeDetectorRef }, { type: ImportExportState }]; }, { toggleLegendOnVisibilityChange: [{
|
|
2559
2827
|
type: i0.Input
|
|
2560
2828
|
}], expandLegendOfVisibleLayers: [{
|
|
2561
2829
|
type: i0.Input
|
|
@@ -2635,14 +2903,14 @@
|
|
|
2635
2903
|
Object.defineProperty(MapToolComponent.prototype, "layerFilterAndSortOptions", {
|
|
2636
2904
|
get: function () {
|
|
2637
2905
|
var filterSortOptions = Object.assign({
|
|
2638
|
-
showToolbar: i1.LayerListControlsEnum.default
|
|
2906
|
+
showToolbar: i1$1.LayerListControlsEnum.default
|
|
2639
2907
|
}, this.layerListControls);
|
|
2640
2908
|
switch (this.layerListControls.showToolbar) {
|
|
2641
|
-
case i1.LayerListControlsEnum.always:
|
|
2642
|
-
filterSortOptions.showToolbar = i1.LayerListControlsEnum.always;
|
|
2909
|
+
case i1$1.LayerListControlsEnum.always:
|
|
2910
|
+
filterSortOptions.showToolbar = i1$1.LayerListControlsEnum.always;
|
|
2643
2911
|
break;
|
|
2644
|
-
case i1.LayerListControlsEnum.never:
|
|
2645
|
-
filterSortOptions.showToolbar = i1.LayerListControlsEnum.never;
|
|
2912
|
+
case i1$1.LayerListControlsEnum.never:
|
|
2913
|
+
filterSortOptions.showToolbar = i1$1.LayerListControlsEnum.never;
|
|
2646
2914
|
break;
|
|
2647
2915
|
default:
|
|
2648
2916
|
break;
|
|
@@ -2688,9 +2956,9 @@
|
|
|
2688
2956
|
i0__namespace.ɵɵadvance(3);
|
|
2689
2957
|
i0__namespace.ɵɵproperty("label", i0__namespace.ɵɵpipeBind1(7, 12, "igo.integration.tools.contexts"));
|
|
2690
2958
|
}
|
|
2691
|
-
}, directives: [i5__namespace
|
|
2959
|
+
}, directives: [i5__namespace.MatTabGroup, i5__namespace.MatTab, i1__namespace$1.LayerListComponent, i1__namespace$1.LayerListBindingDirective, i1__namespace.ContextListComponent, i1__namespace.ContextListBindingDirective, WorkspaceButtonComponent, i1__namespace$1.ExportButtonComponent, i1__namespace$1.OgcFilterButtonComponent, i1__namespace$1.TimeFilterButtonComponent, i1__namespace$1.TrackFeatureButtonComponent, i1__namespace$1.MetadataButtonComponent], pipes: [i8__namespace.TranslatePipe], styles: ["mat-tab-group[_ngcontent-%COMP%], mat-tab-group[_ngcontent-%COMP%] .mat-tab-body-wrapper{height:100%;overflow:hidden}[_nghost-%COMP%] .mat-tab-body-content{overflow:hidden}"], changeDetection: 0 });
|
|
2692
2960
|
exports.MapToolComponent = __decorate([
|
|
2693
|
-
|
|
2961
|
+
i4.ToolComponent({
|
|
2694
2962
|
name: 'map',
|
|
2695
2963
|
title: 'igo.integration.tools.map',
|
|
2696
2964
|
icon: 'map'
|
|
@@ -3027,14 +3295,14 @@
|
|
|
3027
3295
|
Object.defineProperty(MapToolsComponent.prototype, "layerFilterAndSortOptions", {
|
|
3028
3296
|
get: function () {
|
|
3029
3297
|
var filterSortOptions = Object.assign({
|
|
3030
|
-
showToolbar: i1.LayerListControlsEnum.default
|
|
3298
|
+
showToolbar: i1$1.LayerListControlsEnum.default
|
|
3031
3299
|
}, this.layerListControls);
|
|
3032
3300
|
switch (this.layerListControls.showToolbar) {
|
|
3033
|
-
case i1.LayerListControlsEnum.always:
|
|
3034
|
-
filterSortOptions.showToolbar = i1.LayerListControlsEnum.always;
|
|
3301
|
+
case i1$1.LayerListControlsEnum.always:
|
|
3302
|
+
filterSortOptions.showToolbar = i1$1.LayerListControlsEnum.always;
|
|
3035
3303
|
break;
|
|
3036
|
-
case i1.LayerListControlsEnum.never:
|
|
3037
|
-
filterSortOptions.showToolbar = i1.LayerListControlsEnum.never;
|
|
3304
|
+
case i1$1.LayerListControlsEnum.never:
|
|
3305
|
+
filterSortOptions.showToolbar = i1$1.LayerListControlsEnum.never;
|
|
3038
3306
|
break;
|
|
3039
3307
|
default:
|
|
3040
3308
|
break;
|
|
@@ -3049,7 +3317,7 @@
|
|
|
3049
3317
|
return (this.toolState.toolbox.getToolbar().indexOf('searchResults') !== -1 &&
|
|
3050
3318
|
this.searchSourceService
|
|
3051
3319
|
.getSources()
|
|
3052
|
-
.filter(i1.sourceCanSearch)
|
|
3320
|
+
.filter(i1$1.sourceCanSearch)
|
|
3053
3321
|
.filter(function (s) { return s.available && s.getType() === 'Layer'; }).length > 0);
|
|
3054
3322
|
},
|
|
3055
3323
|
enumerable: false,
|
|
@@ -3184,7 +3452,7 @@
|
|
|
3184
3452
|
};
|
|
3185
3453
|
MapToolsComponent.prototype.isExportButton = function (layer) {
|
|
3186
3454
|
var _a, _b;
|
|
3187
|
-
if ((layer instanceof i1.VectorLayer && layer.exportable === true) ||
|
|
3455
|
+
if ((layer instanceof i1$1.VectorLayer && layer.exportable === true) ||
|
|
3188
3456
|
(layer.dataSource.options.download && layer.dataSource.options.download.url) ||
|
|
3189
3457
|
(((_a = layer.options.workspace) === null || _a === void 0 ? void 0 : _a.enabled) && ((_b = layer.options.workspace) === null || _b === void 0 ? void 0 : _b.workspaceId) !== layer.id)) {
|
|
3190
3458
|
return true;
|
|
@@ -3193,7 +3461,7 @@
|
|
|
3193
3461
|
};
|
|
3194
3462
|
return MapToolsComponent;
|
|
3195
3463
|
}());
|
|
3196
|
-
exports.MapToolsComponent.ɵfac = function MapToolsComponent_Factory(t) { return new (t || exports.MapToolsComponent)(i0__namespace.ɵɵdirectiveInject(LayerListToolState), i0__namespace.ɵɵdirectiveInject(ToolState), i0__namespace.ɵɵdirectiveInject(MapState), i0__namespace.ɵɵdirectiveInject(i1__namespace.SearchSourceService), i0__namespace.ɵɵdirectiveInject(ImportExportState)); };
|
|
3464
|
+
exports.MapToolsComponent.ɵfac = function MapToolsComponent_Factory(t) { return new (t || exports.MapToolsComponent)(i0__namespace.ɵɵdirectiveInject(LayerListToolState), i0__namespace.ɵɵdirectiveInject(ToolState), i0__namespace.ɵɵdirectiveInject(MapState), i0__namespace.ɵɵdirectiveInject(i1__namespace$1.SearchSourceService), i0__namespace.ɵɵdirectiveInject(ImportExportState)); };
|
|
3197
3465
|
exports.MapToolsComponent.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: exports.MapToolsComponent, selectors: [["igo-map-tools"]], viewQuery: function MapToolsComponent_Query(rf, ctx) {
|
|
3198
3466
|
if (rf & 1) {
|
|
3199
3467
|
i0__namespace.ɵɵviewQuery(_c0$1, 7);
|
|
@@ -3240,9 +3508,9 @@
|
|
|
3240
3508
|
i0__namespace.ɵɵadvance(2);
|
|
3241
3509
|
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
3510
|
}
|
|
3243
|
-
}, directives: [i5__namespace
|
|
3511
|
+
}, directives: [i5__namespace.MatTabGroup, i5__namespace.MatTab, i4__namespace$1.NgIf, i1__namespace$1.LayerListComponent, i1__namespace$1.LayerListBindingDirective, i1__namespace$1.MetadataButtonComponent, i1__namespace$1.TrackFeatureButtonComponent, WorkspaceButtonComponent, i1__namespace$1.TimeFilterButtonComponent, i1__namespace$1.OgcFilterButtonComponent, i1__namespace$1.ExportButtonComponent, i1__namespace$1.LayerLegendListComponent, i1__namespace$1.LayerLegendListBindingDirective, i7__namespace.MatList, i7__namespace.MatListItem, i6__namespace.MatIcon, i7__namespace.MatListIconCssMatStyler, i8__namespace$1.MatLine], pipes: [i4__namespace$1.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
3512
|
exports.MapToolsComponent = __decorate([
|
|
3245
|
-
|
|
3513
|
+
i4.ToolComponent({
|
|
3246
3514
|
name: 'mapTools',
|
|
3247
3515
|
title: 'igo.integration.tools.map',
|
|
3248
3516
|
icon: 'map'
|
|
@@ -3257,7 +3525,7 @@
|
|
|
3257
3525
|
styleUrls: ['./map-tools.component.scss'],
|
|
3258
3526
|
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
3259
3527
|
}]
|
|
3260
|
-
}], function () { return [{ type: LayerListToolState }, { type: ToolState }, { type: MapState }, { type: i1__namespace.SearchSourceService }, { type: ImportExportState }]; }, { allowShowAllLegends: [{
|
|
3528
|
+
}], function () { return [{ type: LayerListToolState }, { type: ToolState }, { type: MapState }, { type: i1__namespace$1.SearchSourceService }, { type: ImportExportState }]; }, { allowShowAllLegends: [{
|
|
3261
3529
|
type: i0.Input
|
|
3262
3530
|
}], showAllLegendsValue: [{
|
|
3263
3531
|
type: i0.Input
|
|
@@ -3485,7 +3753,7 @@
|
|
|
3485
3753
|
return (this.toolState.toolbox.getToolbar().indexOf('searchResults') !== -1 &&
|
|
3486
3754
|
this.searchSourceService
|
|
3487
3755
|
.getSources()
|
|
3488
|
-
.filter(i1.sourceCanSearch)
|
|
3756
|
+
.filter(i1$1.sourceCanSearch)
|
|
3489
3757
|
.filter(function (s) { return s.available && s.getType() === 'Layer'; }).length > 0);
|
|
3490
3758
|
},
|
|
3491
3759
|
enumerable: false,
|
|
@@ -3571,7 +3839,7 @@
|
|
|
3571
3839
|
};
|
|
3572
3840
|
return MapLegendToolComponent;
|
|
3573
3841
|
}());
|
|
3574
|
-
exports.MapLegendToolComponent.ɵfac = function MapLegendToolComponent_Factory(t) { return new (t || exports.MapLegendToolComponent)(i0__namespace.ɵɵdirectiveInject(MapState), i0__namespace.ɵɵdirectiveInject(ToolState), i0__namespace.ɵɵdirectiveInject(i1__namespace.SearchSourceService), i0__namespace.ɵɵdirectiveInject(i0__namespace.ChangeDetectorRef)); };
|
|
3842
|
+
exports.MapLegendToolComponent.ɵfac = function MapLegendToolComponent_Factory(t) { return new (t || exports.MapLegendToolComponent)(i0__namespace.ɵɵdirectiveInject(MapState), i0__namespace.ɵɵdirectiveInject(ToolState), i0__namespace.ɵɵdirectiveInject(i1__namespace$1.SearchSourceService), i0__namespace.ɵɵdirectiveInject(i0__namespace.ChangeDetectorRef)); };
|
|
3575
3843
|
exports.MapLegendToolComponent.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: exports.MapLegendToolComponent, selectors: [["igo-map-legend-tool"]], inputs: { updateLegendOnResolutionChange: "updateLegendOnResolutionChange", layerAdditionAllowed: "layerAdditionAllowed", allowShowAllLegends: "allowShowAllLegends", showAllLegendsValue: "showAllLegendsValue", layerListControls: "layerListControls" }, decls: 8, vars: 10, consts: [["igoLayerLegendListBinding", "", 3, "excludeBaseLayers", "allowShowAllLegends", "updateLegendOnResolutionChange", "showAllLegendsValue", "allLegendsShown", 4, "ngIf"], [4, "ngIf", "ngIfElse"], ["class", "map-empty mat-typography", 4, "ngIf"], ["emptyLayers", ""], ["igoLayerLegendListBinding", "", 3, "excludeBaseLayers", "allowShowAllLegends", "updateLegendOnResolutionChange", "showAllLegendsValue", "allLegendsShown"], [1, "map-empty", "mat-typography"], [4, "ngIf"], ["mat-list-icon", ""], ["viewBox", "0 0 24 24", "fit", "", "height", "100%", "width", "100%", "preserveAspectRatio", "xMidYMid meet", "focusable", "false"], ["d", "M9.5,3A6.5,6.5 0 0,1 16,9.5C16,11.11 15.41,12.59 14.44,13.73L14.71,14H15.5L20.5,19L19,20.5L14,15.5V14.71L13.73,14.44C12.59,15.41 11.11,16 9.5,16A6.5,6.5 0 0,1 3,9.5A6.5,6.5 0 0,1 9.5,3M9.5,5C7,5 5,7 5,9.5C5,12 7,14 9.5,14C12,14 14,12 14,9.5C14,7 12,5 9.5,5Z"], ["matLine", "", 1, "search-tool", "mat-typography", 3, "click"], ["d", "M17,14H19V17H22V19H19V22H17V19H14V17H17V14M11,16L2,9L11,2L20,9L11,16M11,18.54L12,17.75V18C12,18.71 12.12,19.39 12.35,20L11,21.07L2,14.07L3.62,12.81L11,18.54Z"], ["matLine", "", 1, "catalog-tool", "mat-typography", 3, "click"], ["d", "M12,17.27L18.18,21L16.54,13.97L22,9.24L14.81,8.62L12,2L9.19,8.62L2,9.24L7.45,13.97L5.82,21L12,17.27Z"], ["matLine", "", 1, "context-tool", "mat-typography", 3, "click"]], template: function MapLegendToolComponent_Template(rf, ctx) {
|
|
3576
3844
|
if (rf & 1) {
|
|
3577
3845
|
i0__namespace.ɵɵtemplate(0, MapLegendToolComponent_igo_layer_legend_list_0_Template, 2, 6, "igo-layer-legend-list", 0);
|
|
@@ -3590,9 +3858,9 @@
|
|
|
3590
3858
|
i0__namespace.ɵɵadvance(2);
|
|
3591
3859
|
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
3860
|
}
|
|
3593
|
-
}, directives: [
|
|
3861
|
+
}, directives: [i4__namespace$1.NgIf, i1__namespace$1.LayerLegendListComponent, i1__namespace$1.LayerLegendListBindingDirective, i7__namespace.MatList, i7__namespace.MatListItem, i6__namespace.MatIcon, i7__namespace.MatListIconCssMatStyler, i8__namespace$1.MatLine], pipes: [i4__namespace$1.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
3862
|
exports.MapLegendToolComponent = __decorate([
|
|
3595
|
-
|
|
3863
|
+
i4.ToolComponent({
|
|
3596
3864
|
name: 'mapLegend',
|
|
3597
3865
|
title: 'igo.integration.tools.legend',
|
|
3598
3866
|
icon: 'format-list-bulleted-type'
|
|
@@ -3606,7 +3874,7 @@
|
|
|
3606
3874
|
templateUrl: './map-legend-tool.component.html',
|
|
3607
3875
|
styleUrls: ['./map-legend-tool.component.scss']
|
|
3608
3876
|
}]
|
|
3609
|
-
}], function () { return [{ type: MapState }, { type: ToolState }, { type: i1__namespace.SearchSourceService }, { type: i0__namespace.ChangeDetectorRef }]; }, { updateLegendOnResolutionChange: [{
|
|
3877
|
+
}], function () { return [{ type: MapState }, { type: ToolState }, { type: i1__namespace$1.SearchSourceService }, { type: i0__namespace.ChangeDetectorRef }]; }, { updateLegendOnResolutionChange: [{
|
|
3610
3878
|
type: i0.Input
|
|
3611
3879
|
}], layerAdditionAllowed: [{
|
|
3612
3880
|
type: i0.Input
|
|
@@ -3846,7 +4114,7 @@
|
|
|
3846
4114
|
};
|
|
3847
4115
|
return AdvancedSwipeComponent;
|
|
3848
4116
|
}());
|
|
3849
|
-
AdvancedSwipeComponent.ɵfac = function AdvancedSwipeComponent_Factory(t) { return new (t || AdvancedSwipeComponent)(i0__namespace.ɵɵdirectiveInject(MapState), i0__namespace.ɵɵdirectiveInject(
|
|
4117
|
+
AdvancedSwipeComponent.ɵfac = function AdvancedSwipeComponent_Factory(t) { return new (t || AdvancedSwipeComponent)(i0__namespace.ɵɵdirectiveInject(MapState), i0__namespace.ɵɵdirectiveInject(i1__namespace.ContextService), i0__namespace.ɵɵdirectiveInject(i3__namespace$1.FormBuilder), i0__namespace.ɵɵdirectiveInject(ToolState)); };
|
|
3850
4118
|
AdvancedSwipeComponent.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: AdvancedSwipeComponent, selectors: [["igo-advanced-swipe"]], decls: 3, vars: 2, consts: [["class", "igo-swipe-select-container", 4, "ngIf", "ngIfElse"], ["noLayersBlock", ""], [1, "igo-swipe-select-container"], [1, "igo-form", 3, "formGroup"], ["formControlName", "layers", "multiple", ""], [3, "value", "click"], ["e", ""], [3, "value", "click", 4, "ngFor", "ngForOf"], [1, "swipe-toggle", "mat-typography", 3, "checked", "labelPosition", "change"], [1, "map-empty", "mat-typography"], ["mat-list-icon", "", "svgIcon", "magnify"], ["matLine", "", 1, "search-tool", "mat-typography", 3, "click"], ["mat-list-icon", "", "svgIcon", "layers-plus"], ["matLine", "", 1, "catalog-tool", "mat-typography", 3, "click"], ["mat-list-icon", "", "svgIcon", "star"], ["matLine", "", 1, "context-tool", "mat-typography", 3, "click"]], template: function AdvancedSwipeComponent_Template(rf, ctx) {
|
|
3851
4119
|
if (rf & 1) {
|
|
3852
4120
|
i0__namespace.ɵɵtemplate(0, AdvancedSwipeComponent_div_0_Template, 16, 14, "div", 0);
|
|
@@ -3856,7 +4124,7 @@
|
|
|
3856
4124
|
var _r1 = i0__namespace.ɵɵreference(2);
|
|
3857
4125
|
i0__namespace.ɵɵproperty("ngIf", ctx.userControlledLayerList.length)("ngIfElse", _r1);
|
|
3858
4126
|
}
|
|
3859
|
-
}, directives: [
|
|
4127
|
+
}, directives: [i4__namespace$1.NgIf, i3__namespace$1.ɵNgNoValidate, i3__namespace$1.NgControlStatusGroup, i3__namespace$1.FormGroupDirective, i6__namespace$1.MatFormField, i6__namespace$1.MatLabel, i7__namespace$1.MatSelect, i3__namespace$1.NgControlStatus, i3__namespace$1.FormControlName, i8__namespace$1.MatOption, i9__namespace.MatDivider, i4__namespace$1.NgForOf, i10__namespace.MatSlideToggle, i7__namespace.MatList, i7__namespace.MatListItem, i6__namespace.MatIcon, i7__namespace.MatListIconCssMatStyler, i8__namespace$1.MatLine], pipes: [i8__namespace.TranslatePipe], styles: [".nameOfTool[_ngcontent-%COMP%]{text-align:center;font-weight:bold;font-size:small;margin:15px 10px 0}.igo-swipe-select-container[_ngcontent-%COMP%]{padding:10px}.igo-swipe-select-container[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%]{width:100%}.igo-form[_ngcontent-%COMP%]{padding:1px 5px;width:100%}.swipe-toggle[_ngcontent-%COMP%]{padding:10px 5px 35px}.map-empty[_ngcontent-%COMP%], .search-tool[_ngcontent-%COMP%], .catalog-tool[_ngcontent-%COMP%], .context-tool[_ngcontent-%COMP%]{margin:5px}.map-empty[_ngcontent-%COMP%]{padding:10px;text-align:justify}.search-tool[_ngcontent-%COMP%], .catalog-tool[_ngcontent-%COMP%], .context-tool[_ngcontent-%COMP%]{cursor:pointer}mat-list[_ngcontent-%COMP%] mat-list-item[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{font-weight:bold}mat-list-item[_ngcontent-%COMP%] .mat-list-text{font-size:smaller}mat-list.mat-list-base[_ngcontent-%COMP%] mat-list-item.mat-list-item[_ngcontent-%COMP%] div.mat-list-item-content div.mat-list-text{padding-left:15px}.advanced-tool-line[_ngcontent-%COMP%]{height:2px;background-color:gray}"] });
|
|
3860
4128
|
(function () {
|
|
3861
4129
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(AdvancedSwipeComponent, [{
|
|
3862
4130
|
type: i0.Component,
|
|
@@ -3865,7 +4133,7 @@
|
|
|
3865
4133
|
templateUrl: './advanced-swipe.component.html',
|
|
3866
4134
|
styleUrls: ['./advanced-swipe.component.scss']
|
|
3867
4135
|
}]
|
|
3868
|
-
}], function () { return [{ type: MapState }, { type:
|
|
4136
|
+
}], function () { return [{ type: MapState }, { type: i1__namespace.ContextService }, { type: i3__namespace$1.FormBuilder }, { type: ToolState }]; }, null);
|
|
3869
4137
|
})();
|
|
3870
4138
|
|
|
3871
4139
|
function AdvancedCoordinatesComponent_mat_form_field_0_Template(rf, ctx) {
|
|
@@ -3946,6 +4214,7 @@
|
|
|
3946
4214
|
this.storageService = storageService;
|
|
3947
4215
|
this.config = config;
|
|
3948
4216
|
this.formBuilder = formBuilder;
|
|
4217
|
+
this.formattedScale$ = new rxjs.BehaviorSubject('');
|
|
3949
4218
|
this.projections$ = new rxjs.BehaviorSubject([]);
|
|
3950
4219
|
this.center = this.storageService.get('centerToggle');
|
|
3951
4220
|
this.inMtmZone = true;
|
|
@@ -3994,9 +4263,10 @@
|
|
|
3994
4263
|
var _this = this;
|
|
3995
4264
|
this.mapState$$ = rxjs.combineLatest([this.map.viewController.state$.pipe(operators.debounceTime(50)), this.form.valueChanges])
|
|
3996
4265
|
.subscribe(function () {
|
|
4266
|
+
_this.setScaleValue(_this.map);
|
|
3997
4267
|
_this.currentCenterDefaultProj = _this.map.viewController.getCenter(_this.defaultProj.code);
|
|
3998
|
-
var currentMtmZone = i1.zoneMtm(_this.currentCenterDefaultProj[0]);
|
|
3999
|
-
var currentUtmZone = i1.zoneUtm(_this.currentCenterDefaultProj[0]);
|
|
4268
|
+
var currentMtmZone = i1$1.zoneMtm(_this.currentCenterDefaultProj[0]);
|
|
4269
|
+
var currentUtmZone = i1$1.zoneUtm(_this.currentCenterDefaultProj[0]);
|
|
4000
4270
|
if (!_this.inMtmZone && currentMtmZone !== _this.currentZones.mtm) {
|
|
4001
4271
|
_this.back2quebec();
|
|
4002
4272
|
}
|
|
@@ -4015,7 +4285,7 @@
|
|
|
4015
4285
|
_this.checkLambert(_this.currentCenterDefaultProj);
|
|
4016
4286
|
_this.coordinates = _this.getCoordinates();
|
|
4017
4287
|
_this.cdRef.detectChanges();
|
|
4018
|
-
_this.storageService.set('currentProjection', _this.inputProj, i2$
|
|
4288
|
+
_this.storageService.set('currentProjection', _this.inputProj, i2$1.StorageScope.SESSION);
|
|
4019
4289
|
});
|
|
4020
4290
|
var tempInputProj = this.storageService.get('currentProjection');
|
|
4021
4291
|
this.inputProj = this.projections$.value[0];
|
|
@@ -4032,13 +4302,16 @@
|
|
|
4032
4302
|
this.map.mapCenter$.next(false);
|
|
4033
4303
|
this.mapState$$.unsubscribe();
|
|
4034
4304
|
};
|
|
4305
|
+
AdvancedCoordinatesComponent.prototype.setScaleValue = function (map) {
|
|
4306
|
+
this.formattedScale$.next(': ~ 1 / ' + i1$1.formatScale(map.viewController.getScale()));
|
|
4307
|
+
};
|
|
4035
4308
|
/**
|
|
4036
4309
|
* Coordinates of the center of the map on the appropriate systeme of coordinates
|
|
4037
4310
|
* @returns Array of two numbers
|
|
4038
4311
|
*/
|
|
4039
4312
|
AdvancedCoordinatesComponent.prototype.getCoordinates = function () {
|
|
4040
|
-
this.currentZones.mtm = i1.zoneMtm(this.currentCenterDefaultProj[0]);
|
|
4041
|
-
this.currentZones.utm = i1.zoneUtm(this.currentCenterDefaultProj[0]);
|
|
4313
|
+
this.currentZones.mtm = i1$1.zoneMtm(this.currentCenterDefaultProj[0]);
|
|
4314
|
+
this.currentZones.utm = i1$1.zoneUtm(this.currentCenterDefaultProj[0]);
|
|
4042
4315
|
var coord;
|
|
4043
4316
|
var code = this.inputProj.code;
|
|
4044
4317
|
var decimal = 2;
|
|
@@ -4067,7 +4340,7 @@
|
|
|
4067
4340
|
AdvancedCoordinatesComponent.prototype.displayCenter = function (toggle) {
|
|
4068
4341
|
this.center = toggle;
|
|
4069
4342
|
this.map.mapCenter$.next(toggle);
|
|
4070
|
-
this.storageService.set('centerToggle', toggle, i2$
|
|
4343
|
+
this.storageService.set('centerToggle', toggle, i2$1.StorageScope.SESSION);
|
|
4071
4344
|
};
|
|
4072
4345
|
/**
|
|
4073
4346
|
* Builder of the form
|
|
@@ -4086,7 +4359,7 @@
|
|
|
4086
4359
|
var translate = this.languageService.translate;
|
|
4087
4360
|
modifiedProj.map(function (p) {
|
|
4088
4361
|
if (p.translateKey === 'mtm') {
|
|
4089
|
-
var zone = i1.zoneMtm(_this.currentCenterDefaultProj[0]);
|
|
4362
|
+
var zone = i1$1.zoneMtm(_this.currentCenterDefaultProj[0]);
|
|
4090
4363
|
if (zone) {
|
|
4091
4364
|
var code = zone < 10 ? "EPSG:3218" + zone : "EPSG:321" + (80 + zone);
|
|
4092
4365
|
p.alias = "MTM " + zone;
|
|
@@ -4103,7 +4376,7 @@
|
|
|
4103
4376
|
}
|
|
4104
4377
|
}
|
|
4105
4378
|
if (p.translateKey === 'utm') {
|
|
4106
|
-
var zone = i1.zoneUtm(_this.currentCenterDefaultProj[0]);
|
|
4379
|
+
var zone = i1$1.zoneUtm(_this.currentCenterDefaultProj[0]);
|
|
4107
4380
|
var code = "EPSG:326" + zone;
|
|
4108
4381
|
p.alias = "UTM " + zone;
|
|
4109
4382
|
p.code = code;
|
|
@@ -4118,7 +4391,7 @@
|
|
|
4118
4391
|
* Create a list of currents projections
|
|
4119
4392
|
*/
|
|
4120
4393
|
AdvancedCoordinatesComponent.prototype.computeProjections = function () {
|
|
4121
|
-
this.projectionsConstraints = i1.computeProjectionsConstraints(this.projectionsLimitations);
|
|
4394
|
+
this.projectionsConstraints = i1$1.computeProjectionsConstraints(this.projectionsLimitations);
|
|
4122
4395
|
var projections = [];
|
|
4123
4396
|
if (!this.currentCenterDefaultProj) {
|
|
4124
4397
|
this.currentCenterDefaultProj = this.map.viewController.getCenter(this.defaultProj.code);
|
|
@@ -4144,7 +4417,7 @@
|
|
|
4144
4417
|
}
|
|
4145
4418
|
if (this.projectionsConstraints.mtm) {
|
|
4146
4419
|
// Quebec
|
|
4147
|
-
var zone = i1.zoneMtm(this.currentCenterDefaultProj[0]);
|
|
4420
|
+
var zone = i1$1.zoneMtm(this.currentCenterDefaultProj[0]);
|
|
4148
4421
|
if (zone) {
|
|
4149
4422
|
this.inMtmZone = true;
|
|
4150
4423
|
var code = zone < 10 ? "EPSG:3218" + zone : "EPSG:321" + (80 + zone);
|
|
@@ -4161,7 +4434,7 @@
|
|
|
4161
4434
|
}
|
|
4162
4435
|
if (this.projectionsConstraints.utm) {
|
|
4163
4436
|
var order = this.inMtmZone ? 4 : 3;
|
|
4164
|
-
var zone = i1.zoneUtm(this.currentCenterDefaultProj[0]);
|
|
4437
|
+
var zone = i1$1.zoneUtm(this.currentCenterDefaultProj[0]);
|
|
4165
4438
|
var code = zone < 10 ? "EPSG:3260" + zone : "EPSG:326" + zone;
|
|
4166
4439
|
projections.splice(order, 0, {
|
|
4167
4440
|
translatedValue: this.languageService.translate.instant('igo.geo.importExportForm.projections.utm', { code: code, zone: zone }),
|
|
@@ -4182,7 +4455,7 @@
|
|
|
4182
4455
|
*/
|
|
4183
4456
|
AdvancedCoordinatesComponent.prototype.pushMtm = function (projections) {
|
|
4184
4457
|
if (this.projectionsConstraints.mtm) {
|
|
4185
|
-
var zone = i1.zoneMtm(this.currentCenterDefaultProj[0]);
|
|
4458
|
+
var zone = i1$1.zoneMtm(this.currentCenterDefaultProj[0]);
|
|
4186
4459
|
var code = zone < 10 ? "EPSG:3218" + zone : "EPSG:321" + (80 + zone);
|
|
4187
4460
|
projections.splice(3, 0, {
|
|
4188
4461
|
translatedValue: this.languageService.translate.instant('igo.geo.importExportForm.projections.mtm', { code: code, zone: zone }),
|
|
@@ -4206,7 +4479,7 @@
|
|
|
4206
4479
|
*/
|
|
4207
4480
|
AdvancedCoordinatesComponent.prototype.updateZoneMtmUtm = function () {
|
|
4208
4481
|
if (this.inputProj.translateKey === 'mtm') {
|
|
4209
|
-
var zone = i1.zoneMtm(this.currentCenterDefaultProj[0]);
|
|
4482
|
+
var zone = i1$1.zoneMtm(this.currentCenterDefaultProj[0]);
|
|
4210
4483
|
this.inputProj.alias = "MTM " + zone;
|
|
4211
4484
|
var code = zone < 10 ? "EPSG:3218" + zone : "EPSG:321" + (80 + zone);
|
|
4212
4485
|
this.inputProj.code = code;
|
|
@@ -4214,7 +4487,7 @@
|
|
|
4214
4487
|
this.inputProj.translatedValue = this.languageService.translate.instant('igo.geo.importExportForm.projections.mtm', { code: code, zone: zone });
|
|
4215
4488
|
}
|
|
4216
4489
|
if (this.inputProj.translateKey === 'utm') {
|
|
4217
|
-
var zone = i1.zoneUtm(this.currentCenterDefaultProj[0]);
|
|
4490
|
+
var zone = i1$1.zoneUtm(this.currentCenterDefaultProj[0]);
|
|
4218
4491
|
this.inputProj.alias = "UTM " + zone;
|
|
4219
4492
|
var code = zone < 10 ? "EPSG:3260" + zone : "EPSG:326" + zone;
|
|
4220
4493
|
this.inputProj.code = code;
|
|
@@ -4277,8 +4550,8 @@
|
|
|
4277
4550
|
};
|
|
4278
4551
|
return AdvancedCoordinatesComponent;
|
|
4279
4552
|
}());
|
|
4280
|
-
AdvancedCoordinatesComponent.ɵfac = function AdvancedCoordinatesComponent_Factory(t) { return new (t || AdvancedCoordinatesComponent)(i0__namespace.ɵɵdirectiveInject(MapState), i0__namespace.ɵɵdirectiveInject(i2__namespace$
|
|
4281
|
-
AdvancedCoordinatesComponent.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: AdvancedCoordinatesComponent, selectors: [["igo-advanced-coordinates"]], inputs: { projectionsLimitations: "projectionsLimitations" }, decls:
|
|
4553
|
+
AdvancedCoordinatesComponent.ɵfac = function AdvancedCoordinatesComponent_Factory(t) { return new (t || AdvancedCoordinatesComponent)(i0__namespace.ɵɵdirectiveInject(MapState), i0__namespace.ɵɵdirectiveInject(i2__namespace$1.LanguageService), i0__namespace.ɵɵdirectiveInject(i2__namespace$1.MessageService), i0__namespace.ɵɵdirectiveInject(i0__namespace.ChangeDetectorRef), i0__namespace.ɵɵdirectiveInject(i2__namespace$1.StorageService), i0__namespace.ɵɵdirectiveInject(i2__namespace$1.ConfigService), i0__namespace.ɵɵdirectiveInject(i3__namespace$1.FormBuilder)); };
|
|
4554
|
+
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
4555
|
if (rf & 1) {
|
|
4283
4556
|
i0__namespace.ɵɵtemplate(0, AdvancedCoordinatesComponent_mat_form_field_0_Template, 4, 4, "mat-form-field", 0);
|
|
4284
4557
|
i0__namespace.ɵɵtemplate(1, AdvancedCoordinatesComponent_ng_template_1_Template, 4, 4, "ng-template", null, 1, i0__namespace.ɵɵtemplateRefExtractor);
|
|
@@ -4312,6 +4585,16 @@
|
|
|
4312
4585
|
i0__namespace.ɵɵtext(22);
|
|
4313
4586
|
i0__namespace.ɵɵpipe(23, "translate");
|
|
4314
4587
|
i0__namespace.ɵɵelementEnd();
|
|
4588
|
+
i0__namespace.ɵɵelementStart(24, "p", 11);
|
|
4589
|
+
i0__namespace.ɵɵtext(25);
|
|
4590
|
+
i0__namespace.ɵɵpipe(26, "translate");
|
|
4591
|
+
i0__namespace.ɵɵpipe(27, "async");
|
|
4592
|
+
i0__namespace.ɵɵelementEnd();
|
|
4593
|
+
i0__namespace.ɵɵelementStart(28, "p", 11);
|
|
4594
|
+
i0__namespace.ɵɵtext(29);
|
|
4595
|
+
i0__namespace.ɵɵpipe(30, "translate");
|
|
4596
|
+
i0__namespace.ɵɵpipe(31, "number");
|
|
4597
|
+
i0__namespace.ɵɵelementEnd();
|
|
4315
4598
|
}
|
|
4316
4599
|
if (rf & 2) {
|
|
4317
4600
|
var _r1 = i0__namespace.ɵɵreference(2);
|
|
@@ -4320,23 +4603,27 @@
|
|
|
4320
4603
|
i0__namespace.ɵɵadvance(3);
|
|
4321
4604
|
i0__namespace.ɵɵproperty("ngIf", ctx.units)("ngIfElse", _r4);
|
|
4322
4605
|
i0__namespace.ɵɵadvance(5);
|
|
4323
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(9,
|
|
4606
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(9, 18, "igo.integration.advanced-map-tool.advanced-coordinates.copy"), "\n");
|
|
4324
4607
|
i0__namespace.ɵɵadvance(2);
|
|
4325
4608
|
i0__namespace.ɵɵproperty("formGroup", ctx.form);
|
|
4326
4609
|
i0__namespace.ɵɵadvance(3);
|
|
4327
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(14,
|
|
4610
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(14, 20, "igo.integration.advanced-map-tool.advanced-coordinates.coordSystem"));
|
|
4328
4611
|
i0__namespace.ɵɵadvance(2);
|
|
4329
4612
|
i0__namespace.ɵɵproperty("value", ctx.inputProj);
|
|
4330
4613
|
i0__namespace.ɵɵadvance(1);
|
|
4331
|
-
i0__namespace.ɵɵproperty("ngForOf", i0__namespace.ɵɵpipeBind1(17,
|
|
4614
|
+
i0__namespace.ɵɵproperty("ngForOf", i0__namespace.ɵɵpipeBind1(17, 22, ctx.projections$));
|
|
4332
4615
|
i0__namespace.ɵɵadvance(2);
|
|
4333
4616
|
i0__namespace.ɵɵproperty("checked", ctx.center)("labelPosition", "before");
|
|
4334
4617
|
i0__namespace.ɵɵadvance(1);
|
|
4335
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(20,
|
|
4618
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(20, 24, "igo.integration.advanced-map-tool.advanced-coordinates.center"), " ");
|
|
4336
4619
|
i0__namespace.ɵɵadvance(3);
|
|
4337
|
-
i0__namespace.ɵɵtextInterpolate2("", i0__namespace.ɵɵpipeBind1(23,
|
|
4620
|
+
i0__namespace.ɵɵtextInterpolate2("", i0__namespace.ɵɵpipeBind1(23, 26, "igo.integration.advanced-map-tool.advanced-coordinates.zoom"), " ", ctx.map.viewController.getZoom(), "");
|
|
4621
|
+
i0__namespace.ɵɵadvance(3);
|
|
4622
|
+
i0__namespace.ɵɵtextInterpolate2("", i0__namespace.ɵɵpipeBind1(26, 28, "igo.integration.advanced-map-tool.advanced-coordinates.scale"), " ", i0__namespace.ɵɵpipeBind1(27, 30, ctx.formattedScale$), "");
|
|
4623
|
+
i0__namespace.ɵɵadvance(4);
|
|
4624
|
+
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
4625
|
}
|
|
4339
|
-
}, directives: [
|
|
4626
|
+
}, directives: [i4__namespace$1.NgIf, i3__namespace.MatButton, i6__namespace.MatIcon, i3__namespace$1.ɵNgNoValidate, i3__namespace$1.NgControlStatusGroup, i3__namespace$1.FormGroupDirective, i6__namespace$1.MatFormField, i6__namespace$1.MatLabel, i7__namespace$1.MatSelect, i4__namespace$1.NgForOf, i10__namespace.MatSlideToggle, i10__namespace$1.MatInput, i8__namespace$1.MatOption], pipes: [i8__namespace.TranslatePipe, i4__namespace$1.AsyncPipe, i4__namespace$1.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
4627
|
(function () {
|
|
4341
4628
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(AdvancedCoordinatesComponent, [{
|
|
4342
4629
|
type: i0.Component,
|
|
@@ -4345,7 +4632,7 @@
|
|
|
4345
4632
|
templateUrl: './advanced-coordinates.component.html',
|
|
4346
4633
|
styleUrls: ['./advanced-coordinates.component.scss']
|
|
4347
4634
|
}]
|
|
4348
|
-
}], function () { return [{ type: MapState }, { type: i2__namespace$
|
|
4635
|
+
}], function () { return [{ type: MapState }, { type: i2__namespace$1.LanguageService }, { type: i2__namespace$1.MessageService }, { type: i0__namespace.ChangeDetectorRef }, { type: i2__namespace$1.StorageService }, { type: i2__namespace$1.ConfigService }, { type: i3__namespace$1.FormBuilder }]; }, { projectionsLimitations: [{
|
|
4349
4636
|
type: i0.Input
|
|
4350
4637
|
}] });
|
|
4351
4638
|
})();
|
|
@@ -4379,7 +4666,7 @@
|
|
|
4379
4666
|
}
|
|
4380
4667
|
}, directives: [AdvancedSwipeComponent, i9__namespace.MatDivider, AdvancedCoordinatesComponent], pipes: [i8__namespace.TranslatePipe], styles: [".nameOfTool[_ngcontent-%COMP%]{text-align:center;font-weight:bold;font-size:small;margin:15px 10px 0}.advanced-tool-line[_ngcontent-%COMP%]{height:2px;background-color:gray}"] });
|
|
4381
4668
|
exports.AdvancedMapToolComponent = __decorate([
|
|
4382
|
-
|
|
4669
|
+
i4.ToolComponent({
|
|
4383
4670
|
name: 'advancedMap',
|
|
4384
4671
|
title: 'igo.integration.tools.advancedMap',
|
|
4385
4672
|
icon: 'toolbox'
|
|
@@ -4417,28 +4704,28 @@
|
|
|
4417
4704
|
i3$1.ReactiveFormsModule,
|
|
4418
4705
|
buttonToggle.MatButtonToggleModule,
|
|
4419
4706
|
i9.MatDividerModule,
|
|
4420
|
-
i7$
|
|
4707
|
+
i7$1.MatSelectModule,
|
|
4421
4708
|
i8$1.MatOptionModule,
|
|
4422
4709
|
i6$1.MatFormFieldModule,
|
|
4423
4710
|
i10$1.MatInputModule,
|
|
4424
4711
|
checkbox.MatCheckboxModule,
|
|
4425
|
-
|
|
4426
|
-
|
|
4427
|
-
i5
|
|
4428
|
-
i7
|
|
4712
|
+
i4.IgoSpinnerModule,
|
|
4713
|
+
i4$1.CommonModule,
|
|
4714
|
+
i5.MatTabsModule,
|
|
4715
|
+
i7.MatListModule,
|
|
4429
4716
|
i6.MatIconModule,
|
|
4430
|
-
i2$
|
|
4431
|
-
i1.IgoLayerModule,
|
|
4432
|
-
i1.IgoMetadataModule,
|
|
4433
|
-
i1.IgoDownloadModule,
|
|
4434
|
-
i1.IgoImportExportModule,
|
|
4435
|
-
i1.IgoFilterModule,
|
|
4436
|
-
|
|
4717
|
+
i2$1.IgoLanguageModule,
|
|
4718
|
+
i1$1.IgoLayerModule,
|
|
4719
|
+
i1$1.IgoMetadataModule,
|
|
4720
|
+
i1$1.IgoDownloadModule,
|
|
4721
|
+
i1$1.IgoImportExportModule,
|
|
4722
|
+
i1$1.IgoFilterModule,
|
|
4723
|
+
i1.IgoContextModule,
|
|
4437
4724
|
IgoAppWorkspaceModule,
|
|
4438
4725
|
i10.MatSlideToggleModule,
|
|
4439
4726
|
i6$2.MatMenuModule,
|
|
4440
4727
|
i3.MatButtonModule,
|
|
4441
|
-
i4.MatTooltipModule
|
|
4728
|
+
i4$2.MatTooltipModule
|
|
4442
4729
|
]] });
|
|
4443
4730
|
(function () {
|
|
4444
4731
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(IgoAppMapModule, [{
|
|
@@ -4449,28 +4736,28 @@
|
|
|
4449
4736
|
i3$1.ReactiveFormsModule,
|
|
4450
4737
|
buttonToggle.MatButtonToggleModule,
|
|
4451
4738
|
i9.MatDividerModule,
|
|
4452
|
-
i7$
|
|
4739
|
+
i7$1.MatSelectModule,
|
|
4453
4740
|
i8$1.MatOptionModule,
|
|
4454
4741
|
i6$1.MatFormFieldModule,
|
|
4455
4742
|
i10$1.MatInputModule,
|
|
4456
4743
|
checkbox.MatCheckboxModule,
|
|
4457
|
-
|
|
4458
|
-
|
|
4459
|
-
i5
|
|
4460
|
-
i7
|
|
4744
|
+
i4.IgoSpinnerModule,
|
|
4745
|
+
i4$1.CommonModule,
|
|
4746
|
+
i5.MatTabsModule,
|
|
4747
|
+
i7.MatListModule,
|
|
4461
4748
|
i6.MatIconModule,
|
|
4462
|
-
i2$
|
|
4463
|
-
i1.IgoLayerModule,
|
|
4464
|
-
i1.IgoMetadataModule,
|
|
4465
|
-
i1.IgoDownloadModule,
|
|
4466
|
-
i1.IgoImportExportModule,
|
|
4467
|
-
i1.IgoFilterModule,
|
|
4468
|
-
|
|
4749
|
+
i2$1.IgoLanguageModule,
|
|
4750
|
+
i1$1.IgoLayerModule,
|
|
4751
|
+
i1$1.IgoMetadataModule,
|
|
4752
|
+
i1$1.IgoDownloadModule,
|
|
4753
|
+
i1$1.IgoImportExportModule,
|
|
4754
|
+
i1$1.IgoFilterModule,
|
|
4755
|
+
i1.IgoContextModule,
|
|
4469
4756
|
IgoAppWorkspaceModule,
|
|
4470
4757
|
i10.MatSlideToggleModule,
|
|
4471
4758
|
i6$2.MatMenuModule,
|
|
4472
4759
|
i3.MatButtonModule,
|
|
4473
|
-
i4.MatTooltipModule
|
|
4760
|
+
i4$2.MatTooltipModule
|
|
4474
4761
|
],
|
|
4475
4762
|
declarations: [exports.AdvancedMapToolComponent, exports.MapToolComponent,
|
|
4476
4763
|
exports.MapToolsComponent, exports.MapDetailsToolComponent, exports.MapLegendToolComponent, AdvancedSwipeComponent, AdvancedCoordinatesComponent],
|
|
@@ -4485,28 +4772,28 @@
|
|
|
4485
4772
|
i3$1.ReactiveFormsModule,
|
|
4486
4773
|
buttonToggle.MatButtonToggleModule,
|
|
4487
4774
|
i9.MatDividerModule,
|
|
4488
|
-
i7$
|
|
4775
|
+
i7$1.MatSelectModule,
|
|
4489
4776
|
i8$1.MatOptionModule,
|
|
4490
4777
|
i6$1.MatFormFieldModule,
|
|
4491
4778
|
i10$1.MatInputModule,
|
|
4492
4779
|
checkbox.MatCheckboxModule,
|
|
4493
|
-
|
|
4494
|
-
|
|
4495
|
-
i5
|
|
4496
|
-
i7
|
|
4780
|
+
i4.IgoSpinnerModule,
|
|
4781
|
+
i4$1.CommonModule,
|
|
4782
|
+
i5.MatTabsModule,
|
|
4783
|
+
i7.MatListModule,
|
|
4497
4784
|
i6.MatIconModule,
|
|
4498
|
-
i2$
|
|
4499
|
-
i1.IgoLayerModule,
|
|
4500
|
-
i1.IgoMetadataModule,
|
|
4501
|
-
i1.IgoDownloadModule,
|
|
4502
|
-
i1.IgoImportExportModule,
|
|
4503
|
-
i1.IgoFilterModule,
|
|
4504
|
-
|
|
4785
|
+
i2$1.IgoLanguageModule,
|
|
4786
|
+
i1$1.IgoLayerModule,
|
|
4787
|
+
i1$1.IgoMetadataModule,
|
|
4788
|
+
i1$1.IgoDownloadModule,
|
|
4789
|
+
i1$1.IgoImportExportModule,
|
|
4790
|
+
i1$1.IgoFilterModule,
|
|
4791
|
+
i1.IgoContextModule,
|
|
4505
4792
|
IgoAppWorkspaceModule,
|
|
4506
4793
|
i10.MatSlideToggleModule,
|
|
4507
4794
|
i6$2.MatMenuModule,
|
|
4508
4795
|
i3.MatButtonModule,
|
|
4509
|
-
i4.MatTooltipModule], exports: [exports.AdvancedMapToolComponent, exports.MapToolComponent, exports.MapToolsComponent, exports.MapDetailsToolComponent, exports.MapLegendToolComponent] });
|
|
4796
|
+
i4$2.MatTooltipModule], exports: [exports.AdvancedMapToolComponent, exports.MapToolComponent, exports.MapToolsComponent, exports.MapDetailsToolComponent, exports.MapLegendToolComponent] });
|
|
4510
4797
|
})();
|
|
4511
4798
|
|
|
4512
4799
|
/**
|
|
@@ -4519,7 +4806,7 @@
|
|
|
4519
4806
|
/**
|
|
4520
4807
|
* Store that holds the measures
|
|
4521
4808
|
*/
|
|
4522
|
-
this.store = new i1.FeatureStore([], {
|
|
4809
|
+
this.store = new i1$1.FeatureStore([], {
|
|
4523
4810
|
map: this.mapState.map
|
|
4524
4811
|
});
|
|
4525
4812
|
this.mapState.map.layers$.subscribe(function (layers) {
|
|
@@ -4580,9 +4867,9 @@
|
|
|
4580
4867
|
if (rf & 2) {
|
|
4581
4868
|
i0__namespace.ɵɵproperty("store", ctx.store)("map", ctx.map);
|
|
4582
4869
|
}
|
|
4583
|
-
}, directives: [i1__namespace.MeasurerComponent], encapsulation: 2, changeDetection: 0 });
|
|
4870
|
+
}, directives: [i1__namespace$1.MeasurerComponent], encapsulation: 2, changeDetection: 0 });
|
|
4584
4871
|
exports.MeasurerToolComponent = __decorate([
|
|
4585
|
-
|
|
4872
|
+
i4.ToolComponent({
|
|
4586
4873
|
name: 'measurer',
|
|
4587
4874
|
title: 'igo.integration.tools.measurer',
|
|
4588
4875
|
icon: 'ruler'
|
|
@@ -4610,14 +4897,14 @@
|
|
|
4610
4897
|
IgoAppMeasurerToolModule.ɵfac = function IgoAppMeasurerToolModule_Factory(t) { return new (t || IgoAppMeasurerToolModule)(); };
|
|
4611
4898
|
IgoAppMeasurerToolModule.ɵmod = /*@__PURE__*/ i0__namespace.ɵɵdefineNgModule({ type: IgoAppMeasurerToolModule });
|
|
4612
4899
|
IgoAppMeasurerToolModule.ɵinj = /*@__PURE__*/ i0__namespace.ɵɵdefineInjector({ imports: [[
|
|
4613
|
-
i1.IgoMeasurerModule
|
|
4900
|
+
i1$1.IgoMeasurerModule
|
|
4614
4901
|
]] });
|
|
4615
4902
|
(function () {
|
|
4616
4903
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(IgoAppMeasurerToolModule, [{
|
|
4617
4904
|
type: i0.NgModule,
|
|
4618
4905
|
args: [{
|
|
4619
4906
|
imports: [
|
|
4620
|
-
i1.IgoMeasurerModule
|
|
4907
|
+
i1$1.IgoMeasurerModule
|
|
4621
4908
|
],
|
|
4622
4909
|
declarations: [exports.MeasurerToolComponent],
|
|
4623
4910
|
exports: [exports.MeasurerToolComponent],
|
|
@@ -4625,7 +4912,7 @@
|
|
|
4625
4912
|
}]
|
|
4626
4913
|
}], null, null);
|
|
4627
4914
|
})();
|
|
4628
|
-
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0__namespace.ɵɵsetNgModuleScope(IgoAppMeasurerToolModule, { declarations: [exports.MeasurerToolComponent], imports: [i1.IgoMeasurerModule], exports: [exports.MeasurerToolComponent] }); })();
|
|
4915
|
+
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0__namespace.ɵɵsetNgModuleScope(IgoAppMeasurerToolModule, { declarations: [exports.MeasurerToolComponent], imports: [i1$1.IgoMeasurerModule], exports: [exports.MeasurerToolComponent] }); })();
|
|
4629
4916
|
|
|
4630
4917
|
var IgoAppMeasureModule = /** @class */ (function () {
|
|
4631
4918
|
function IgoAppMeasureModule() {
|
|
@@ -4670,9 +4957,9 @@
|
|
|
4670
4957
|
if (rf & 2) {
|
|
4671
4958
|
i0__namespace.ɵɵproperty("map", ctx.map);
|
|
4672
4959
|
}
|
|
4673
|
-
}, directives: [i1__namespace.PrintComponent], encapsulation: 2 });
|
|
4960
|
+
}, directives: [i1__namespace$1.PrintComponent], encapsulation: 2 });
|
|
4674
4961
|
exports.PrintToolComponent = __decorate([
|
|
4675
|
-
|
|
4962
|
+
i4.ToolComponent({
|
|
4676
4963
|
name: 'print',
|
|
4677
4964
|
title: 'igo.integration.tools.print',
|
|
4678
4965
|
icon: 'printer'
|
|
@@ -4701,19 +4988,19 @@
|
|
|
4701
4988
|
}());
|
|
4702
4989
|
IgoAppPrintModule.ɵfac = function IgoAppPrintModule_Factory(t) { return new (t || IgoAppPrintModule)(); };
|
|
4703
4990
|
IgoAppPrintModule.ɵmod = /*@__PURE__*/ i0__namespace.ɵɵdefineNgModule({ type: IgoAppPrintModule });
|
|
4704
|
-
IgoAppPrintModule.ɵinj = /*@__PURE__*/ i0__namespace.ɵɵdefineInjector({ imports: [[i1.IgoPrintModule]] });
|
|
4991
|
+
IgoAppPrintModule.ɵinj = /*@__PURE__*/ i0__namespace.ɵɵdefineInjector({ imports: [[i1$1.IgoPrintModule]] });
|
|
4705
4992
|
(function () {
|
|
4706
4993
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(IgoAppPrintModule, [{
|
|
4707
4994
|
type: i0.NgModule,
|
|
4708
4995
|
args: [{
|
|
4709
|
-
imports: [i1.IgoPrintModule],
|
|
4996
|
+
imports: [i1$1.IgoPrintModule],
|
|
4710
4997
|
declarations: [exports.PrintToolComponent],
|
|
4711
4998
|
exports: [exports.PrintToolComponent],
|
|
4712
4999
|
schemas: [i0.CUSTOM_ELEMENTS_SCHEMA]
|
|
4713
5000
|
}]
|
|
4714
5001
|
}], null, null);
|
|
4715
5002
|
})();
|
|
4716
|
-
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0__namespace.ɵɵsetNgModuleScope(IgoAppPrintModule, { declarations: [exports.PrintToolComponent], imports: [i1.IgoPrintModule], exports: [exports.PrintToolComponent] }); })();
|
|
5003
|
+
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0__namespace.ɵɵsetNgModuleScope(IgoAppPrintModule, { declarations: [exports.PrintToolComponent], imports: [i1$1.IgoPrintModule], exports: [exports.PrintToolComponent] }); })();
|
|
4717
5004
|
|
|
4718
5005
|
/**
|
|
4719
5006
|
* Service that holds the state of the search module
|
|
@@ -4736,7 +5023,7 @@
|
|
|
4736
5023
|
/**
|
|
4737
5024
|
* Store that holds the search results
|
|
4738
5025
|
*/
|
|
4739
|
-
this.store = new
|
|
5026
|
+
this.store = new i4.EntityStore([]);
|
|
4740
5027
|
var searchOverlayStyle = this.configService.getConfig('searchOverlayStyle');
|
|
4741
5028
|
if (searchOverlayStyle) {
|
|
4742
5029
|
this.searchOverlayStyle = searchOverlayStyle.base;
|
|
@@ -4765,14 +5052,14 @@
|
|
|
4765
5052
|
var filterClauseFunc = function (record) {
|
|
4766
5053
|
return record.entity.meta.score === 100;
|
|
4767
5054
|
};
|
|
4768
|
-
return new
|
|
5055
|
+
return new i4.EntityStoreFilterCustomFuncStrategy({ filterClauseFunc: filterClauseFunc });
|
|
4769
5056
|
};
|
|
4770
5057
|
/**
|
|
4771
5058
|
* Activate custom strategy
|
|
4772
5059
|
*
|
|
4773
5060
|
*/
|
|
4774
5061
|
SearchState.prototype.activateCustomFilterTermStrategy = function () {
|
|
4775
|
-
var strategy = this.store.getStrategyOfType(
|
|
5062
|
+
var strategy = this.store.getStrategyOfType(i4.EntityStoreFilterCustomFuncStrategy);
|
|
4776
5063
|
if (strategy !== undefined) {
|
|
4777
5064
|
strategy.activate();
|
|
4778
5065
|
}
|
|
@@ -4782,7 +5069,7 @@
|
|
|
4782
5069
|
*
|
|
4783
5070
|
*/
|
|
4784
5071
|
SearchState.prototype.deactivateCustomFilterTermStrategy = function () {
|
|
4785
|
-
var strategy = this.store.getStrategyOfType(
|
|
5072
|
+
var strategy = this.store.getStrategyOfType(i4.EntityStoreFilterCustomFuncStrategy);
|
|
4786
5073
|
if (strategy !== undefined) {
|
|
4787
5074
|
strategy.deactivate();
|
|
4788
5075
|
}
|
|
@@ -4812,7 +5099,7 @@
|
|
|
4812
5099
|
};
|
|
4813
5100
|
return SearchState;
|
|
4814
5101
|
}());
|
|
4815
|
-
SearchState.ɵfac = function SearchState_Factory(t) { return new (t || SearchState)(i0__namespace.ɵɵinject(i1__namespace.SearchSourceService), i0__namespace.ɵɵinject(i2__namespace$
|
|
5102
|
+
SearchState.ɵfac = function SearchState_Factory(t) { return new (t || SearchState)(i0__namespace.ɵɵinject(i1__namespace$1.SearchSourceService), i0__namespace.ɵɵinject(i2__namespace$1.StorageService), i0__namespace.ɵɵinject(i2__namespace$1.ConfigService)); };
|
|
4816
5103
|
SearchState.ɵprov = /*@__PURE__*/ i0__namespace.ɵɵdefineInjectable({ token: SearchState, factory: SearchState.ɵfac, providedIn: 'root' });
|
|
4817
5104
|
(function () {
|
|
4818
5105
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(SearchState, [{
|
|
@@ -4820,7 +5107,7 @@
|
|
|
4820
5107
|
args: [{
|
|
4821
5108
|
providedIn: 'root'
|
|
4822
5109
|
}]
|
|
4823
|
-
}], function () { return [{ type: i1__namespace.SearchSourceService }, { type: i2__namespace$
|
|
5110
|
+
}], function () { return [{ type: i1__namespace$1.SearchSourceService }, { type: i2__namespace$1.StorageService }, { type: i2__namespace$1.ConfigService }]; }, null);
|
|
4824
5111
|
})();
|
|
4825
5112
|
|
|
4826
5113
|
var SearchBarBindingDirective = /** @class */ (function () {
|
|
@@ -4871,7 +5158,7 @@
|
|
|
4871
5158
|
};
|
|
4872
5159
|
return SearchBarBindingDirective;
|
|
4873
5160
|
}());
|
|
4874
|
-
SearchBarBindingDirective.ɵfac = function SearchBarBindingDirective_Factory(t) { return new (t || SearchBarBindingDirective)(i0__namespace.ɵɵdirectiveInject(i1__namespace.SearchBarComponent, 2), i0__namespace.ɵɵdirectiveInject(SearchState)); };
|
|
5161
|
+
SearchBarBindingDirective.ɵfac = function SearchBarBindingDirective_Factory(t) { return new (t || SearchBarBindingDirective)(i0__namespace.ɵɵdirectiveInject(i1__namespace$1.SearchBarComponent, 2), i0__namespace.ɵɵdirectiveInject(SearchState)); };
|
|
4875
5162
|
SearchBarBindingDirective.ɵdir = /*@__PURE__*/ i0__namespace.ɵɵdefineDirective({ type: SearchBarBindingDirective, selectors: [["", "igoSearchBarBinding", ""]], hostBindings: function SearchBarBindingDirective_HostBindings(rf, ctx) {
|
|
4876
5163
|
if (rf & 1) {
|
|
4877
5164
|
i0__namespace.ɵɵlistener("searchTermChange", function SearchBarBindingDirective_searchTermChange_HostBindingHandler($event) { return ctx.onSearchTermChange($event); })("searchTypeChange", function SearchBarBindingDirective_searchTypeChange_HostBindingHandler($event) { return ctx.onSearchTypeChange($event); });
|
|
@@ -4884,7 +5171,7 @@
|
|
|
4884
5171
|
selector: '[igoSearchBarBinding]'
|
|
4885
5172
|
}]
|
|
4886
5173
|
}], function () {
|
|
4887
|
-
return [{ type: i1__namespace.SearchBarComponent, decorators: [{
|
|
5174
|
+
return [{ type: i1__namespace$1.SearchBarComponent, decorators: [{
|
|
4888
5175
|
type: i0.Self
|
|
4889
5176
|
}] }, { type: SearchState }];
|
|
4890
5177
|
}, { onSearchTermChange: [{
|
|
@@ -4906,18 +5193,18 @@
|
|
|
4906
5193
|
}());
|
|
4907
5194
|
IgoAppSearchBarModule.ɵfac = function IgoAppSearchBarModule_Factory(t) { return new (t || IgoAppSearchBarModule)(); };
|
|
4908
5195
|
IgoAppSearchBarModule.ɵmod = /*@__PURE__*/ i0__namespace.ɵɵdefineNgModule({ type: IgoAppSearchBarModule });
|
|
4909
|
-
IgoAppSearchBarModule.ɵinj = /*@__PURE__*/ i0__namespace.ɵɵdefineInjector({ imports: [[i1.IgoSearchModule]] });
|
|
5196
|
+
IgoAppSearchBarModule.ɵinj = /*@__PURE__*/ i0__namespace.ɵɵdefineInjector({ imports: [[i1$1.IgoSearchModule]] });
|
|
4910
5197
|
(function () {
|
|
4911
5198
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(IgoAppSearchBarModule, [{
|
|
4912
5199
|
type: i0.NgModule,
|
|
4913
5200
|
args: [{
|
|
4914
|
-
imports: [i1.IgoSearchModule],
|
|
5201
|
+
imports: [i1$1.IgoSearchModule],
|
|
4915
5202
|
declarations: [SearchBarBindingDirective],
|
|
4916
5203
|
exports: [SearchBarBindingDirective],
|
|
4917
5204
|
}]
|
|
4918
5205
|
}], null, null);
|
|
4919
5206
|
})();
|
|
4920
|
-
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0__namespace.ɵɵsetNgModuleScope(IgoAppSearchBarModule, { declarations: [SearchBarBindingDirective], imports: [i1.IgoSearchModule], exports: [SearchBarBindingDirective] }); })();
|
|
5207
|
+
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0__namespace.ɵɵsetNgModuleScope(IgoAppSearchBarModule, { declarations: [SearchBarBindingDirective], imports: [i1$1.IgoSearchModule], exports: [SearchBarBindingDirective] }); })();
|
|
4921
5208
|
|
|
4922
5209
|
function SearchResultsToolComponent_div_0_Template(rf, ctx) {
|
|
4923
5210
|
if (rf & 1) {
|
|
@@ -5081,7 +5368,7 @@
|
|
|
5081
5368
|
});
|
|
5082
5369
|
Object.defineProperty(SearchResultsToolComponent.prototype, "featureTitle", {
|
|
5083
5370
|
get: function () {
|
|
5084
|
-
return this.feature ?
|
|
5371
|
+
return this.feature ? i4.getEntityTitle(this.feature) : undefined;
|
|
5085
5372
|
},
|
|
5086
5373
|
enumerable: false,
|
|
5087
5374
|
configurable: true
|
|
@@ -5150,7 +5437,7 @@
|
|
|
5150
5437
|
if (!_this.isScrolledIntoView(igoList, selected)) {
|
|
5151
5438
|
_this.adjustTopPanel(igoList, selected);
|
|
5152
5439
|
}
|
|
5153
|
-
},
|
|
5440
|
+
}, i4.FlexibleComponent.transitionTime + 50);
|
|
5154
5441
|
}
|
|
5155
5442
|
});
|
|
5156
5443
|
if (this.hasFeatureEmphasisOnSelection) {
|
|
@@ -5183,7 +5470,7 @@
|
|
|
5183
5470
|
}
|
|
5184
5471
|
_this.shownResultsGeometries.map(function (result) { return _this.map.queryResultsOverlay.removeFeature(result); });
|
|
5185
5472
|
var featureToHandleGeom = searchResults
|
|
5186
|
-
.filter(function (result) { return result.entity.meta.dataType === i1.FEATURE &&
|
|
5473
|
+
.filter(function (result) { return result.entity.meta.dataType === i1$1.FEATURE &&
|
|
5187
5474
|
result.entity.data.geometry &&
|
|
5188
5475
|
!result.state.selected &&
|
|
5189
5476
|
!result.state.focused; });
|
|
@@ -5191,9 +5478,9 @@
|
|
|
5191
5478
|
var _a;
|
|
5192
5479
|
if (searchResultsGeometryEnabled) {
|
|
5193
5480
|
result.entity.data.meta.style =
|
|
5194
|
-
i1.getCommonVectorStyle(Object.assign({}, { feature: result.entity.data }, _this.searchState.searchOverlayStyle, ((_a = result.entity.style) === null || _a === void 0 ? void 0 : _a.base) ? result.entity.style.base : {}));
|
|
5481
|
+
i1$1.getCommonVectorStyle(Object.assign({}, { feature: result.entity.data }, _this.searchState.searchOverlayStyle, ((_a = result.entity.style) === null || _a === void 0 ? void 0 : _a.base) ? result.entity.style.base : {}));
|
|
5195
5482
|
_this.shownResultsGeometries.push(result.entity.data);
|
|
5196
|
-
_this.map.queryResultsOverlay.addFeature(result.entity.data, i1.FeatureMotion.None);
|
|
5483
|
+
_this.map.queryResultsOverlay.addFeature(result.entity.data, i1$1.FeatureMotion.None);
|
|
5197
5484
|
if (_this.hasFeatureEmphasisOnSelection) {
|
|
5198
5485
|
_this.buildResultEmphasis(result.entity, 'shown');
|
|
5199
5486
|
}
|
|
@@ -5215,11 +5502,11 @@
|
|
|
5215
5502
|
return;
|
|
5216
5503
|
}
|
|
5217
5504
|
if (selectedResult.data.geometry) {
|
|
5218
|
-
var selectedOlFeature = i1.featureToOl(selectedResult.data, _this.map.projection);
|
|
5219
|
-
var selectedOlFeatureExtent = i1.computeOlFeaturesExtent(_this.map, [
|
|
5505
|
+
var selectedOlFeature = i1$1.featureToOl(selectedResult.data, _this.map.projection);
|
|
5506
|
+
var selectedOlFeatureExtent = i1$1.computeOlFeaturesExtent(_this.map, [
|
|
5220
5507
|
selectedOlFeature
|
|
5221
5508
|
]);
|
|
5222
|
-
_this.isSelectedResultOutOfView$.next(i1.featuresAreOutOfView(_this.map, selectedOlFeatureExtent));
|
|
5509
|
+
_this.isSelectedResultOutOfView$.next(i1$1.featuresAreOutOfView(_this.map, selectedOlFeatureExtent));
|
|
5223
5510
|
}
|
|
5224
5511
|
});
|
|
5225
5512
|
};
|
|
@@ -5231,9 +5518,9 @@
|
|
|
5231
5518
|
if (!result || !result.data.geometry) {
|
|
5232
5519
|
return;
|
|
5233
5520
|
}
|
|
5234
|
-
var myOlFeature = i1.featureToOl(result.data, this.map.projection);
|
|
5521
|
+
var myOlFeature = i1$1.featureToOl(result.data, this.map.projection);
|
|
5235
5522
|
var olGeometry = myOlFeature.getGeometry();
|
|
5236
|
-
if (i1.featuresAreTooDeepInView(this.map, olGeometry.getExtent(), 0.0025)) {
|
|
5523
|
+
if (i1$1.featuresAreTooDeepInView(this.map, olGeometry.getExtent(), 0.0025)) {
|
|
5237
5524
|
var extent = olGeometry.getExtent();
|
|
5238
5525
|
var x = extent[0] + (extent[2] - extent[0]) / 2;
|
|
5239
5526
|
var y = extent[1] + (extent[3] - extent[1]) / 2;
|
|
@@ -5241,25 +5528,25 @@
|
|
|
5241
5528
|
name: trigger + "AbstractResult'",
|
|
5242
5529
|
geometry: new olPoint__default["default"]([x, y])
|
|
5243
5530
|
});
|
|
5244
|
-
var abstractResult = i1.featureFromOl(feature1, this.map.projection);
|
|
5531
|
+
var abstractResult = i1$1.featureFromOl(feature1, this.map.projection);
|
|
5245
5532
|
var computedStyle = void 0;
|
|
5246
5533
|
var zIndexOffset = 0;
|
|
5247
5534
|
switch (trigger) {
|
|
5248
5535
|
case 'focused':
|
|
5249
|
-
computedStyle = i1.getCommonVectorSelectedStyle(Object.assign({}, { feature: abstractResult }, this.searchState.searchOverlayStyleFocus, ((_a = result.style) === null || _a === void 0 ? void 0 : _a.focus) ? result.style.focus : {}));
|
|
5536
|
+
computedStyle = i1$1.getCommonVectorSelectedStyle(Object.assign({}, { feature: abstractResult }, this.searchState.searchOverlayStyleFocus, ((_a = result.style) === null || _a === void 0 ? void 0 : _a.focus) ? result.style.focus : {}));
|
|
5250
5537
|
zIndexOffset = 2;
|
|
5251
5538
|
break;
|
|
5252
5539
|
case 'shown':
|
|
5253
|
-
computedStyle = i1.getCommonVectorStyle(Object.assign({}, { feature: abstractResult }, this.searchState.searchOverlayStyle, ((_b = result.style) === null || _b === void 0 ? void 0 : _b.base) ? result.style.base : {}));
|
|
5540
|
+
computedStyle = i1$1.getCommonVectorStyle(Object.assign({}, { feature: abstractResult }, this.searchState.searchOverlayStyle, ((_b = result.style) === null || _b === void 0 ? void 0 : _b.base) ? result.style.base : {}));
|
|
5254
5541
|
break;
|
|
5255
5542
|
case 'selected':
|
|
5256
|
-
computedStyle = i1.getCommonVectorSelectedStyle(Object.assign({}, { feature: abstractResult }, this.searchState.searchOverlayStyleSelection, ((_c = result.style) === null || _c === void 0 ? void 0 : _c.selection) ? result.style.selection : {}));
|
|
5543
|
+
computedStyle = i1$1.getCommonVectorSelectedStyle(Object.assign({}, { feature: abstractResult }, this.searchState.searchOverlayStyleSelection, ((_c = result.style) === null || _c === void 0 ? void 0 : _c.selection) ? result.style.selection : {}));
|
|
5257
5544
|
zIndexOffset = 1;
|
|
5258
5545
|
break;
|
|
5259
5546
|
}
|
|
5260
5547
|
abstractResult.meta.style = computedStyle;
|
|
5261
5548
|
abstractResult.meta.style.setZIndex(2000 + zIndexOffset);
|
|
5262
|
-
this.map.searchResultsOverlay.addFeature(abstractResult, i1.FeatureMotion.None);
|
|
5549
|
+
this.map.searchResultsOverlay.addFeature(abstractResult, i1$1.FeatureMotion.None);
|
|
5263
5550
|
if (trigger === 'focused') {
|
|
5264
5551
|
this.abstractFocusedResult = abstractResult;
|
|
5265
5552
|
}
|
|
@@ -5310,26 +5597,26 @@
|
|
|
5310
5597
|
SearchResultsToolComponent.prototype.onResultFocus = function (result) {
|
|
5311
5598
|
var _a;
|
|
5312
5599
|
this.focusedResult$.next(result);
|
|
5313
|
-
if (result.meta.dataType === i1.FEATURE && result.data.geometry) {
|
|
5314
|
-
result.data.meta.style = i1.getCommonVectorSelectedStyle(Object.assign({}, { feature: result.data }, this.searchState.searchOverlayStyleFocus, ((_a = result.style) === null || _a === void 0 ? void 0 : _a.focus) ? result.style.focus : {}));
|
|
5600
|
+
if (result.meta.dataType === i1$1.FEATURE && result.data.geometry) {
|
|
5601
|
+
result.data.meta.style = i1$1.getCommonVectorSelectedStyle(Object.assign({}, { feature: result.data }, this.searchState.searchOverlayStyleFocus, ((_a = result.style) === null || _a === void 0 ? void 0 : _a.focus) ? result.style.focus : {}));
|
|
5315
5602
|
var feature = this.map.searchResultsOverlay.dataSource.ol.getFeatureById(result.meta.id);
|
|
5316
5603
|
if (feature) {
|
|
5317
5604
|
feature.setStyle(result.data.meta.style);
|
|
5318
5605
|
return;
|
|
5319
5606
|
}
|
|
5320
|
-
this.map.searchResultsOverlay.addFeature(result.data, i1.FeatureMotion.None);
|
|
5607
|
+
this.map.searchResultsOverlay.addFeature(result.data, i1$1.FeatureMotion.None);
|
|
5321
5608
|
}
|
|
5322
5609
|
};
|
|
5323
5610
|
SearchResultsToolComponent.prototype.onResultUnfocus = function (result) {
|
|
5324
5611
|
var _a;
|
|
5325
5612
|
this.focusedResult$.next(undefined);
|
|
5326
|
-
if (result.meta.dataType !== i1.FEATURE) {
|
|
5613
|
+
if (result.meta.dataType !== i1$1.FEATURE) {
|
|
5327
5614
|
return;
|
|
5328
5615
|
}
|
|
5329
5616
|
if (this.store.state.get(result).selected === true) {
|
|
5330
5617
|
var feature = this.map.searchResultsOverlay.dataSource.ol.getFeatureById(result.meta.id);
|
|
5331
5618
|
if (feature) {
|
|
5332
|
-
var style = i1.getCommonVectorSelectedStyle(Object.assign({}, { feature: result.data }, this.searchState.searchOverlayStyleFocus, ((_a = result.style) === null || _a === void 0 ? void 0 : _a.focus) ? result.style.focus : {}));
|
|
5619
|
+
var style = i1$1.getCommonVectorSelectedStyle(Object.assign({}, { feature: result.data }, this.searchState.searchOverlayStyleFocus, ((_a = result.style) === null || _a === void 0 ? void 0 : _a.focus) ? result.style.focus : {}));
|
|
5333
5620
|
feature.setStyle(style);
|
|
5334
5621
|
}
|
|
5335
5622
|
return;
|
|
@@ -5354,7 +5641,7 @@
|
|
|
5354
5641
|
if (!_this.isScrolledIntoView(igoList_1, selected_1)) {
|
|
5355
5642
|
_this.adjustTopPanel(igoList_1, selected_1);
|
|
5356
5643
|
}
|
|
5357
|
-
},
|
|
5644
|
+
}, i4.FlexibleComponent.transitionTime + 50);
|
|
5358
5645
|
}
|
|
5359
5646
|
if (this.topPanelState === 'initial') {
|
|
5360
5647
|
this.topPanelState = 'expanded';
|
|
@@ -5447,7 +5734,7 @@
|
|
|
5447
5734
|
dataProjection: this.feature.projection,
|
|
5448
5735
|
featureProjection: this.map.projection
|
|
5449
5736
|
});
|
|
5450
|
-
i1.moveToOlFeatures(this.map, [localOlFeature], i1.FeatureMotion.Zoom);
|
|
5737
|
+
i1$1.moveToOlFeatures(this.map, [localOlFeature], i1$1.FeatureMotion.Zoom);
|
|
5451
5738
|
}
|
|
5452
5739
|
};
|
|
5453
5740
|
/**
|
|
@@ -5456,7 +5743,7 @@
|
|
|
5456
5743
|
*/
|
|
5457
5744
|
SearchResultsToolComponent.prototype.tryAddFeatureToMap = function (result) {
|
|
5458
5745
|
var _a;
|
|
5459
|
-
if (result.meta.dataType !== i1.FEATURE) {
|
|
5746
|
+
if (result.meta.dataType !== i1$1.FEATURE) {
|
|
5460
5747
|
return undefined;
|
|
5461
5748
|
}
|
|
5462
5749
|
var feature = result.data;
|
|
@@ -5464,7 +5751,7 @@
|
|
|
5464
5751
|
if (!feature.geometry) {
|
|
5465
5752
|
return;
|
|
5466
5753
|
}
|
|
5467
|
-
feature.meta.style = i1.getCommonVectorSelectedStyle(Object.assign({}, { feature: feature }, this.searchState.searchOverlayStyleSelection, ((_a = result.style) === null || _a === void 0 ? void 0 : _a.selection) ? result.style.selection : {}));
|
|
5754
|
+
feature.meta.style = i1$1.getCommonVectorSelectedStyle(Object.assign({}, { feature: feature }, this.searchState.searchOverlayStyleSelection, ((_a = result.style) === null || _a === void 0 ? void 0 : _a.selection) ? result.style.selection : {}));
|
|
5468
5755
|
this.map.searchResultsOverlay.addFeature(feature);
|
|
5469
5756
|
};
|
|
5470
5757
|
SearchResultsToolComponent.prototype.isScrolledIntoView = function (elemSource, elem) {
|
|
@@ -5507,7 +5794,7 @@
|
|
|
5507
5794
|
};
|
|
5508
5795
|
return SearchResultsToolComponent;
|
|
5509
5796
|
}());
|
|
5510
|
-
exports.SearchResultsToolComponent.ɵfac = function SearchResultsToolComponent_Factory(t) { return new (t || exports.SearchResultsToolComponent)(i0__namespace.ɵɵdirectiveInject(MapState), i0__namespace.ɵɵdirectiveInject(SearchState), i0__namespace.ɵɵdirectiveInject(i0__namespace.ElementRef), i0__namespace.ɵɵdirectiveInject(ToolState), i0__namespace.ɵɵdirectiveInject(DirectionState), i0__namespace.ɵɵdirectiveInject(i2__namespace$
|
|
5797
|
+
exports.SearchResultsToolComponent.ɵfac = function SearchResultsToolComponent_Factory(t) { return new (t || exports.SearchResultsToolComponent)(i0__namespace.ɵɵdirectiveInject(MapState), i0__namespace.ɵɵdirectiveInject(SearchState), i0__namespace.ɵɵdirectiveInject(i0__namespace.ElementRef), i0__namespace.ɵɵdirectiveInject(ToolState), i0__namespace.ɵɵdirectiveInject(DirectionState), i0__namespace.ɵɵdirectiveInject(i2__namespace$1.ConfigService)); };
|
|
5511
5798
|
exports.SearchResultsToolComponent.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: exports.SearchResultsToolComponent, selectors: [["igo-search-results-tool"]], inputs: { showIcons: "showIcons", topPanelState: "topPanelState" }, decls: 3, vars: 4, consts: [["style", "margin: 10px;", 4, "ngIf"], ["initial", "100%", "initialMobile", "100%", "collapsed", "calc(100% - 58px)", "collapsedMobile", "calc(100% - 58px)", "expanded", "60%", "expandedMobile", "60%", 3, "state", 4, "ngIf"], [2, "margin", "10px"], [1, "mat-typography"], [3, "innerHTML"], ["initial", "100%", "initialMobile", "100%", "collapsed", "calc(100% - 58px)", "collapsedMobile", "calc(100% - 58px)", "expanded", "60%", "expandedMobile", "60%", 3, "state"], ["topPanel", ""], [1, "igo-content"], ["placeholder", "false", 3, "store", "showIcons", "term", "termSplitter", "settingsChange$", "resultFocus", "resultSelect", "resultUnfocus", "resultMouseenter", "resultMouseleave", "moreResults"], ["igoSearchItemToolbar", ""], ["igoFlexibleFill", "", 1, "igo-content"], [3, "title", 4, "ngIf"], [3, "map", "layer"], [3, "title"], ["mat-icon-button", "", "panelLeftButton", "", 1, "igo-icon-button", 3, "click"], [3, "svgIcon"], ["mat-icon-button", "", "panelRightButton", "", "class", "igo-icon-button", "matTooltipShowDelay", "500", 3, "matTooltip", "click", 4, "ngIf"], ["igoFeatureDetailsDirective", "", 3, "feature", "map", "toolbox", "routingEvent"], ["mat-icon-button", "", "panelRightButton", "", "matTooltipShowDelay", "500", 1, "igo-icon-button", 3, "matTooltip", "click"], ["matBadgeColor", "accent", "matBadgeSize", "small", "svgIcon", "magnify-plus-outline", 3, "matBadge", "matBadgeHidden"]], template: function SearchResultsToolComponent_Template(rf, ctx) {
|
|
5512
5799
|
if (rf & 1) {
|
|
5513
5800
|
i0__namespace.ɵɵtemplate(0, SearchResultsToolComponent_div_0_Template, 13, 11, "div", 0);
|
|
@@ -5519,9 +5806,9 @@
|
|
|
5519
5806
|
i0__namespace.ɵɵadvance(1);
|
|
5520
5807
|
i0__namespace.ɵɵproperty("ngIf", ctx.store && i0__namespace.ɵɵpipeBind1(2, 2, ctx.store.stateView.empty$) === false);
|
|
5521
5808
|
}
|
|
5522
|
-
}, directives: [
|
|
5809
|
+
}, directives: [i4__namespace$1.NgIf, i4__namespace.FlexibleComponent, i1__namespace$1.SearchResultsComponent, i1__namespace$1.SearchResultAddButtonComponent, i4__namespace.PanelComponent, i3__namespace.MatButton, i6__namespace.MatIcon, i1__namespace$1.FeatureDetailsComponent, i1__namespace$1.FeatureDetailsDirective, i4__namespace$2.MatTooltip, i12__namespace.MatBadge], pipes: [i4__namespace$1.AsyncPipe, i8__namespace.TranslatePipe, i4__namespace.SanitizeHtmlPipe], encapsulation: 2, changeDetection: 0 });
|
|
5523
5810
|
exports.SearchResultsToolComponent = __decorate([
|
|
5524
|
-
|
|
5811
|
+
i4.ToolComponent({
|
|
5525
5812
|
name: 'searchResults',
|
|
5526
5813
|
title: 'igo.integration.tools.searchResults',
|
|
5527
5814
|
icon: 'magnify'
|
|
@@ -5535,7 +5822,7 @@
|
|
|
5535
5822
|
templateUrl: './search-results-tool.component.html',
|
|
5536
5823
|
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
5537
5824
|
}]
|
|
5538
|
-
}], function () { return [{ type: MapState }, { type: SearchState }, { type: i0__namespace.ElementRef }, { type: ToolState }, { type: DirectionState }, { type: i2__namespace$
|
|
5825
|
+
}], function () { return [{ type: MapState }, { type: SearchState }, { type: i0__namespace.ElementRef }, { type: ToolState }, { type: DirectionState }, { type: i2__namespace$1.ConfigService }]; }, { showIcons: [{
|
|
5539
5826
|
type: i0.Input
|
|
5540
5827
|
}], topPanelState: [{
|
|
5541
5828
|
type: i0.Input
|
|
@@ -5553,36 +5840,36 @@
|
|
|
5553
5840
|
IgoAppSearchResultsToolModule.ɵfac = function IgoAppSearchResultsToolModule_Factory(t) { return new (t || IgoAppSearchResultsToolModule)(); };
|
|
5554
5841
|
IgoAppSearchResultsToolModule.ɵmod = /*@__PURE__*/ i0__namespace.ɵɵdefineNgModule({ type: IgoAppSearchResultsToolModule });
|
|
5555
5842
|
IgoAppSearchResultsToolModule.ɵinj = /*@__PURE__*/ i0__namespace.ɵɵdefineInjector({ imports: [[
|
|
5556
|
-
|
|
5843
|
+
i4$1.CommonModule,
|
|
5557
5844
|
i6.MatIconModule,
|
|
5558
5845
|
i12.MatBadgeModule,
|
|
5559
|
-
i4.MatTooltipModule,
|
|
5846
|
+
i4$2.MatTooltipModule,
|
|
5560
5847
|
i3.MatButtonModule,
|
|
5561
|
-
i2$
|
|
5562
|
-
i1.IgoFeatureModule,
|
|
5563
|
-
i1.IgoSearchModule,
|
|
5564
|
-
|
|
5565
|
-
|
|
5566
|
-
i1.IgoFeatureDetailsModule,
|
|
5567
|
-
|
|
5848
|
+
i2$1.IgoLanguageModule,
|
|
5849
|
+
i1$1.IgoFeatureModule,
|
|
5850
|
+
i1$1.IgoSearchModule,
|
|
5851
|
+
i4.IgoFlexibleModule,
|
|
5852
|
+
i4.IgoPanelModule,
|
|
5853
|
+
i1$1.IgoFeatureDetailsModule,
|
|
5854
|
+
i4.IgoCustomHtmlModule
|
|
5568
5855
|
]] });
|
|
5569
5856
|
(function () {
|
|
5570
5857
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(IgoAppSearchResultsToolModule, [{
|
|
5571
5858
|
type: i0.NgModule,
|
|
5572
5859
|
args: [{
|
|
5573
5860
|
imports: [
|
|
5574
|
-
|
|
5861
|
+
i4$1.CommonModule,
|
|
5575
5862
|
i6.MatIconModule,
|
|
5576
5863
|
i12.MatBadgeModule,
|
|
5577
|
-
i4.MatTooltipModule,
|
|
5864
|
+
i4$2.MatTooltipModule,
|
|
5578
5865
|
i3.MatButtonModule,
|
|
5579
|
-
i2$
|
|
5580
|
-
i1.IgoFeatureModule,
|
|
5581
|
-
i1.IgoSearchModule,
|
|
5582
|
-
|
|
5583
|
-
|
|
5584
|
-
i1.IgoFeatureDetailsModule,
|
|
5585
|
-
|
|
5866
|
+
i2$1.IgoLanguageModule,
|
|
5867
|
+
i1$1.IgoFeatureModule,
|
|
5868
|
+
i1$1.IgoSearchModule,
|
|
5869
|
+
i4.IgoFlexibleModule,
|
|
5870
|
+
i4.IgoPanelModule,
|
|
5871
|
+
i1$1.IgoFeatureDetailsModule,
|
|
5872
|
+
i4.IgoCustomHtmlModule
|
|
5586
5873
|
],
|
|
5587
5874
|
declarations: [exports.SearchResultsToolComponent],
|
|
5588
5875
|
exports: [exports.SearchResultsToolComponent],
|
|
@@ -5591,18 +5878,18 @@
|
|
|
5591
5878
|
}], null, null);
|
|
5592
5879
|
})();
|
|
5593
5880
|
(function () {
|
|
5594
|
-
(typeof ngJitMode === "undefined" || ngJitMode) && i0__namespace.ɵɵsetNgModuleScope(IgoAppSearchResultsToolModule, { declarations: [exports.SearchResultsToolComponent], imports: [
|
|
5881
|
+
(typeof ngJitMode === "undefined" || ngJitMode) && i0__namespace.ɵɵsetNgModuleScope(IgoAppSearchResultsToolModule, { declarations: [exports.SearchResultsToolComponent], imports: [i4$1.CommonModule,
|
|
5595
5882
|
i6.MatIconModule,
|
|
5596
5883
|
i12.MatBadgeModule,
|
|
5597
|
-
i4.MatTooltipModule,
|
|
5884
|
+
i4$2.MatTooltipModule,
|
|
5598
5885
|
i3.MatButtonModule,
|
|
5599
|
-
i2$
|
|
5600
|
-
i1.IgoFeatureModule,
|
|
5601
|
-
i1.IgoSearchModule,
|
|
5602
|
-
|
|
5603
|
-
|
|
5604
|
-
i1.IgoFeatureDetailsModule,
|
|
5605
|
-
|
|
5886
|
+
i2$1.IgoLanguageModule,
|
|
5887
|
+
i1$1.IgoFeatureModule,
|
|
5888
|
+
i1$1.IgoSearchModule,
|
|
5889
|
+
i4.IgoFlexibleModule,
|
|
5890
|
+
i4.IgoPanelModule,
|
|
5891
|
+
i1$1.IgoFeatureDetailsModule,
|
|
5892
|
+
i4.IgoCustomHtmlModule], exports: [exports.SearchResultsToolComponent] });
|
|
5606
5893
|
})();
|
|
5607
5894
|
|
|
5608
5895
|
var IgoAppSearchModule = /** @class */ (function () {
|
|
@@ -5642,9 +5929,9 @@
|
|
|
5642
5929
|
if (rf & 1) {
|
|
5643
5930
|
i0__namespace.ɵɵelement(0, "igo-ogc-filterable-list", 0);
|
|
5644
5931
|
}
|
|
5645
|
-
}, directives: [i1__namespace.OgcFilterableListComponent, i1__namespace.OgcFilterableListBindingDirective], encapsulation: 2 });
|
|
5932
|
+
}, directives: [i1__namespace$1.OgcFilterableListComponent, i1__namespace$1.OgcFilterableListBindingDirective], encapsulation: 2 });
|
|
5646
5933
|
exports.OgcFilterToolComponent = __decorate([
|
|
5647
|
-
|
|
5934
|
+
i4.ToolComponent({
|
|
5648
5935
|
name: 'ogcFilter',
|
|
5649
5936
|
title: 'igo.integration.tools.ogcFilter',
|
|
5650
5937
|
icon: 'filter'
|
|
@@ -5670,9 +5957,9 @@
|
|
|
5670
5957
|
if (rf & 1) {
|
|
5671
5958
|
i0__namespace.ɵɵelement(0, "igo-time-filter-list", 0);
|
|
5672
5959
|
}
|
|
5673
|
-
}, directives: [i1__namespace.TimeFilterListComponent, i1__namespace.TimeFilterListBindingDirective], encapsulation: 2 });
|
|
5960
|
+
}, directives: [i1__namespace$1.TimeFilterListComponent, i1__namespace$1.TimeFilterListBindingDirective], encapsulation: 2 });
|
|
5674
5961
|
exports.TimeFilterToolComponent = __decorate([
|
|
5675
|
-
|
|
5962
|
+
i4.ToolComponent({
|
|
5676
5963
|
name: 'timeFilter',
|
|
5677
5964
|
title: 'igo.integration.tools.timeFilter',
|
|
5678
5965
|
icon: 'history'
|
|
@@ -5716,18 +6003,18 @@
|
|
|
5716
6003
|
this.toolState = toolState;
|
|
5717
6004
|
this.workspaceState = workspaceState;
|
|
5718
6005
|
this.cdRef = cdRef;
|
|
5719
|
-
this.itemType = i1.SpatialFilterItemType.Address;
|
|
6006
|
+
this.itemType = i1$1.SpatialFilterItemType.Address;
|
|
5720
6007
|
this.layers = [];
|
|
5721
6008
|
this.activeLayers = [];
|
|
5722
6009
|
this.buffer = 0;
|
|
5723
6010
|
this.iterator = 1;
|
|
5724
6011
|
this.selectedFeature$ = new rxjs.BehaviorSubject(undefined);
|
|
5725
6012
|
this.format = new olFormatGeoJSON__default["default"]();
|
|
5726
|
-
this.store = new
|
|
5727
|
-
this.spatialListStore = new
|
|
6013
|
+
this.store = new i4.EntityStore([]); // Store to print results at the end
|
|
6014
|
+
this.spatialListStore = new i4.EntityStore([]);
|
|
5728
6015
|
this.loading = false;
|
|
5729
6016
|
this.thematicLength = 0;
|
|
5730
|
-
this.measureUnit = i1.MeasureLengthUnit.Meters;
|
|
6017
|
+
this.measureUnit = i1$1.MeasureLengthUnit.Meters;
|
|
5731
6018
|
this.unsubscribe$ = new rxjs.Subject();
|
|
5732
6019
|
}
|
|
5733
6020
|
Object.defineProperty(SpatialFilterToolComponent.prototype, "map", {
|
|
@@ -5772,10 +6059,13 @@
|
|
|
5772
6059
|
SpatialFilterToolComponent.prototype.activateExportTool = function () {
|
|
5773
6060
|
var e_2, _e;
|
|
5774
6061
|
var ids = [];
|
|
6062
|
+
var re = new RegExp('^Zone \\d+');
|
|
5775
6063
|
try {
|
|
5776
6064
|
for (var _f = __values(this.layers), _g = _f.next(); !_g.done; _g = _f.next()) {
|
|
5777
6065
|
var layer = _g.value;
|
|
5778
|
-
|
|
6066
|
+
if (!layer.title.match(re)) {
|
|
6067
|
+
ids.push(layer.id);
|
|
6068
|
+
}
|
|
5779
6069
|
}
|
|
5780
6070
|
}
|
|
5781
6071
|
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
@@ -5789,13 +6079,13 @@
|
|
|
5789
6079
|
this.importExportState.setsExportOptions({ layers: ids });
|
|
5790
6080
|
this.toolState.toolbox.activateTool('importExport');
|
|
5791
6081
|
};
|
|
5792
|
-
SpatialFilterToolComponent.prototype.activateWorkspace = function () {
|
|
6082
|
+
SpatialFilterToolComponent.prototype.activateWorkspace = function (record) {
|
|
5793
6083
|
var _this = this;
|
|
5794
6084
|
var layerToOpenWks;
|
|
5795
6085
|
this.workspaceState.store.entities$.pipe(operators.takeUntil(this.unsubscribe$)).subscribe(function () {
|
|
5796
6086
|
var e_3, _e;
|
|
5797
|
-
if (_this.activeLayers.length && _this.workspaceState.store.all().length > 1) {
|
|
5798
|
-
if (_this.itemType === i1.SpatialFilterItemType.Thematics) {
|
|
6087
|
+
if (!record && _this.activeLayers.length && _this.workspaceState.store.all().length > 1) {
|
|
6088
|
+
if (_this.itemType === i1$1.SpatialFilterItemType.Thematics) {
|
|
5799
6089
|
var _loop_1 = function (thematic) {
|
|
5800
6090
|
if (!thematic.zeroResults) {
|
|
5801
6091
|
layerToOpenWks = _this.activeLayers.find(function (layer) { return layer.title.includes(thematic.name + ' ' + _this.iterator.toString()); });
|
|
@@ -5831,6 +6121,22 @@
|
|
|
5831
6121
|
_this.workspaceState.setActiveWorkspaceById(layerToOpenWks.id);
|
|
5832
6122
|
}
|
|
5833
6123
|
}
|
|
6124
|
+
else if (record && _this.activeLayers.length && _this.workspaceState.store.all().length > 1) {
|
|
6125
|
+
_this.selectWorkspaceEntity(record);
|
|
6126
|
+
_this.moveendKey = _this.map.ol.on('moveend', function () {
|
|
6127
|
+
_this.selectWorkspaceEntity(record);
|
|
6128
|
+
});
|
|
6129
|
+
}
|
|
6130
|
+
});
|
|
6131
|
+
};
|
|
6132
|
+
SpatialFilterToolComponent.prototype.selectWorkspaceEntity = function (record) {
|
|
6133
|
+
var _this = this;
|
|
6134
|
+
this.workspaceState.store.all().forEach(function (workspace) {
|
|
6135
|
+
workspace.entityStore.state.updateAll({ selected: false });
|
|
6136
|
+
if (workspace.title.includes(record.added[0].meta.title)) {
|
|
6137
|
+
_this.workspaceState.setActiveWorkspaceById(workspace.id);
|
|
6138
|
+
workspace.entityStore.state.updateMany(record.added, { selected: true });
|
|
6139
|
+
}
|
|
5834
6140
|
});
|
|
5835
6141
|
};
|
|
5836
6142
|
SpatialFilterToolComponent.prototype.loadFilterList = function () {
|
|
@@ -5865,7 +6171,7 @@
|
|
|
5865
6171
|
this.activeLayers = [];
|
|
5866
6172
|
this.thematicLength = 0;
|
|
5867
6173
|
this.iterator = 1;
|
|
5868
|
-
if (this.type === i1.SpatialFilterType.Predefined) {
|
|
6174
|
+
if (this.type === i1$1.SpatialFilterType.Predefined) {
|
|
5869
6175
|
this.zone = undefined;
|
|
5870
6176
|
this.queryType = undefined;
|
|
5871
6177
|
}
|
|
@@ -5875,10 +6181,10 @@
|
|
|
5875
6181
|
this.loading = true;
|
|
5876
6182
|
var zeroResults = true;
|
|
5877
6183
|
var thematics;
|
|
5878
|
-
if (this.buffer === 0 || this.type === i1.SpatialFilterType.Point) {
|
|
6184
|
+
if (this.buffer === 0 || this.type === i1$1.SpatialFilterType.Point) {
|
|
5879
6185
|
this.tryAddFeaturesToMap([this.zone]);
|
|
5880
6186
|
}
|
|
5881
|
-
if (this.itemType !== i1.SpatialFilterItemType.Thematics) {
|
|
6187
|
+
if (this.itemType !== i1$1.SpatialFilterItemType.Thematics) {
|
|
5882
6188
|
var theme = {
|
|
5883
6189
|
name: ''
|
|
5884
6190
|
};
|
|
@@ -5887,10 +6193,10 @@
|
|
|
5887
6193
|
else {
|
|
5888
6194
|
thematics = this.thematics;
|
|
5889
6195
|
}
|
|
5890
|
-
if (this.measureUnit === i1.MeasureLengthUnit.Kilometers && this.type !== i1.SpatialFilterType.Point) {
|
|
6196
|
+
if (this.measureUnit === i1$1.MeasureLengthUnit.Kilometers && this.type !== i1$1.SpatialFilterType.Point) {
|
|
5891
6197
|
this.buffer = this.buffer * 1000;
|
|
5892
6198
|
}
|
|
5893
|
-
if (this.type === i1.SpatialFilterType.Polygon) {
|
|
6199
|
+
if (this.type === i1$1.SpatialFilterType.Polygon) {
|
|
5894
6200
|
this.buffer = 0; // to avoid buffer enter a second time in terrAPI
|
|
5895
6201
|
}
|
|
5896
6202
|
var observables$ = [];
|
|
@@ -5955,7 +6261,7 @@
|
|
|
5955
6261
|
var i = 1;
|
|
5956
6262
|
var _loop_2 = function (feature) {
|
|
5957
6263
|
var e_5, _f, e_6, _g, e_7, _h;
|
|
5958
|
-
if (this_1.type === i1.SpatialFilterType.Predefined) {
|
|
6264
|
+
if (this_1.type === i1$1.SpatialFilterType.Predefined) {
|
|
5959
6265
|
try {
|
|
5960
6266
|
for (var _j = (e_5 = void 0, __values(this_1.layers)), _k = _j.next(); !_k.done; _k = _j.next()) {
|
|
5961
6267
|
var layer = _k.value;
|
|
@@ -6029,10 +6335,11 @@
|
|
|
6029
6335
|
.pipe(operators.take(1))
|
|
6030
6336
|
.subscribe(function (dataSource) {
|
|
6031
6337
|
var olLayer = _this.layerService.createLayer({
|
|
6338
|
+
isIgoInternalLayer: true,
|
|
6032
6339
|
title: ('Zone ' + i + ' - ' + _this.languageService.translate.instant('igo.geo.spatialFilter.spatialFilter')),
|
|
6033
6340
|
workspace: { enabled: true },
|
|
6034
6341
|
_internal: {
|
|
6035
|
-
code: _this.type === i1.SpatialFilterType.Predefined
|
|
6342
|
+
code: _this.type === i1$1.SpatialFilterType.Predefined
|
|
6036
6343
|
? feature.properties.code
|
|
6037
6344
|
: undefined
|
|
6038
6345
|
},
|
|
@@ -6066,10 +6373,10 @@
|
|
|
6066
6373
|
}
|
|
6067
6374
|
});
|
|
6068
6375
|
var featuresOl = features.map(function (f) {
|
|
6069
|
-
return i1.featureToOl(f, _this.map.projection);
|
|
6376
|
+
return i1$1.featureToOl(f, _this.map.projection);
|
|
6070
6377
|
});
|
|
6071
|
-
if (_this.type !== i1.SpatialFilterType.Predefined) {
|
|
6072
|
-
var type = _this.type === i1.SpatialFilterType.Point ? 'Cercle' : 'Polygone';
|
|
6378
|
+
if (_this.type !== i1$1.SpatialFilterType.Predefined) {
|
|
6379
|
+
var type = _this.type === i1$1.SpatialFilterType.Point ? 'Cercle' : 'Polygone';
|
|
6073
6380
|
featuresOl[0].set('nom', 'Zone', true);
|
|
6074
6381
|
featuresOl[0].set('type', type, true);
|
|
6075
6382
|
}
|
|
@@ -6141,19 +6448,20 @@
|
|
|
6141
6448
|
var icon = features[0].meta.icon;
|
|
6142
6449
|
var style;
|
|
6143
6450
|
if (!icon) {
|
|
6144
|
-
style = i1.createOverlayMarkerStyle();
|
|
6451
|
+
style = i1$1.createOverlayMarkerStyle();
|
|
6145
6452
|
}
|
|
6146
6453
|
else {
|
|
6147
|
-
style = _this.createSvgIcon(icon) || i1.createOverlayMarkerStyle();
|
|
6454
|
+
style = _this.createSvgIcon(icon) || i1$1.createOverlayMarkerStyle();
|
|
6148
6455
|
}
|
|
6149
6456
|
var olLayer = _this.layerService.createLayer({
|
|
6457
|
+
isIgoInternalLayer: true,
|
|
6150
6458
|
title: (features[0].meta.title + ' ' + i + ' - ' + _this.languageService.translate.instant('igo.geo.spatialFilter.spatialFilter')),
|
|
6151
6459
|
source: dataSource,
|
|
6152
6460
|
visible: true,
|
|
6153
6461
|
style: style
|
|
6154
6462
|
});
|
|
6155
6463
|
var featuresOl = features.map(function (feature) {
|
|
6156
|
-
return i1.featureToOl(feature, _this.map.projection);
|
|
6464
|
+
return i1$1.featureToOl(feature, _this.map.projection);
|
|
6157
6465
|
});
|
|
6158
6466
|
var ol = dataSource.ol;
|
|
6159
6467
|
ol.getSource().addFeatures(featuresOl);
|
|
@@ -6224,12 +6532,13 @@
|
|
|
6224
6532
|
.pipe(operators.take(1))
|
|
6225
6533
|
.subscribe(function (dataSource) {
|
|
6226
6534
|
var olLayer = _this.layerService.createLayer({
|
|
6535
|
+
isIgoInternalLayer: true,
|
|
6227
6536
|
title: (features[0].meta.title + ' ' + i + ' - ' + _this.languageService.translate.instant('igo.geo.spatialFilter.spatialFilter')),
|
|
6228
6537
|
source: dataSource,
|
|
6229
6538
|
visible: true
|
|
6230
6539
|
});
|
|
6231
6540
|
var featuresOl = features.map(function (feature) {
|
|
6232
|
-
return i1.featureToOl(feature, _this.map.projection);
|
|
6541
|
+
return i1$1.featureToOl(feature, _this.map.projection);
|
|
6233
6542
|
});
|
|
6234
6543
|
var ol = dataSource.ol;
|
|
6235
6544
|
ol.addFeatures(featuresOl);
|
|
@@ -6252,7 +6561,7 @@
|
|
|
6252
6561
|
dataProjection: feature.projection,
|
|
6253
6562
|
featureProjection: this.map.projection
|
|
6254
6563
|
});
|
|
6255
|
-
i1.moveToOlFeatures(this.map, [olFeature], i1.FeatureMotion.Zoom);
|
|
6564
|
+
i1$1.moveToOlFeatures(this.map, [olFeature], i1$1.FeatureMotion.Zoom);
|
|
6256
6565
|
}
|
|
6257
6566
|
};
|
|
6258
6567
|
SpatialFilterToolComponent.prototype.pushLayer = function (layer) {
|
|
@@ -6276,15 +6585,15 @@
|
|
|
6276
6585
|
};
|
|
6277
6586
|
return SpatialFilterToolComponent;
|
|
6278
6587
|
}());
|
|
6279
|
-
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$
|
|
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) {
|
|
6588
|
+
exports.SpatialFilterToolComponent.ɵfac = function SpatialFilterToolComponent_Factory(t) { return new (t || exports.SpatialFilterToolComponent)(i0__namespace.ɵɵdirectiveInject(i6__namespace.MatIconRegistry), i0__namespace.ɵɵdirectiveInject(i1__namespace$1.SpatialFilterService), i0__namespace.ɵɵdirectiveInject(i1__namespace$1.DataSourceService), i0__namespace.ɵɵdirectiveInject(i1__namespace$1.LayerService), i0__namespace.ɵɵdirectiveInject(MapState), i0__namespace.ɵɵdirectiveInject(i2__namespace$1.MessageService), i0__namespace.ɵɵdirectiveInject(i2__namespace$1.LanguageService), i0__namespace.ɵɵdirectiveInject(ImportExportState), i0__namespace.ɵɵdirectiveInject(ToolState), i0__namespace.ɵɵdirectiveInject(WorkspaceState), i0__namespace.ɵɵdirectiveInject(i0__namespace.ChangeDetectorRef)); };
|
|
6589
|
+
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
6590
|
if (rf & 1) {
|
|
6282
6591
|
i0__namespace.ɵɵelementStart(0, "igo-panel");
|
|
6283
6592
|
i0__namespace.ɵɵelementStart(1, "igo-spatial-filter-type", 0);
|
|
6284
6593
|
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
6594
|
i0__namespace.ɵɵelementEnd();
|
|
6286
6595
|
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(); });
|
|
6596
|
+
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
6597
|
i0__namespace.ɵɵelementEnd();
|
|
6289
6598
|
i0__namespace.ɵɵelementEnd();
|
|
6290
6599
|
i0__namespace.ɵɵelementStart(3, "igo-panel");
|
|
@@ -6300,9 +6609,9 @@
|
|
|
6300
6609
|
i0__namespace.ɵɵadvance(2);
|
|
6301
6610
|
i0__namespace.ɵɵproperty("ngIf", i0__namespace.ɵɵpipeBind1(5, 14, ctx.selectedFeature$));
|
|
6302
6611
|
}
|
|
6303
|
-
}, directives: [i1__namespace.SpatialFilterTypeComponent, i1__namespace.SpatialFilterItemComponent,
|
|
6612
|
+
}, directives: [i1__namespace$1.SpatialFilterTypeComponent, i1__namespace$1.SpatialFilterItemComponent, i4__namespace$1.NgIf], pipes: [i4__namespace$1.AsyncPipe], styles: [""], changeDetection: 0 });
|
|
6304
6613
|
exports.SpatialFilterToolComponent = __decorate([
|
|
6305
|
-
|
|
6614
|
+
i4.ToolComponent({
|
|
6306
6615
|
name: 'spatialFilter',
|
|
6307
6616
|
title: 'igo.integration.tools.spatialFilter',
|
|
6308
6617
|
icon: 'selection-marker'
|
|
@@ -6320,7 +6629,7 @@
|
|
|
6320
6629
|
styleUrls: ['./spatial-filter-tool.component.scss'],
|
|
6321
6630
|
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
6322
6631
|
}]
|
|
6323
|
-
}], function () { return [{ type: i6__namespace.MatIconRegistry }, { type: i1__namespace.SpatialFilterService }, { type: i1__namespace.DataSourceService }, { type: i1__namespace.LayerService }, { type: MapState }, { type: i2__namespace$
|
|
6632
|
+
}], function () { return [{ type: i6__namespace.MatIconRegistry }, { type: i1__namespace$1.SpatialFilterService }, { type: i1__namespace$1.DataSourceService }, { type: i1__namespace$1.LayerService }, { type: MapState }, { type: i2__namespace$1.MessageService }, { type: i2__namespace$1.LanguageService }, { type: ImportExportState }, { type: ToolState }, { type: WorkspaceState }, { type: i0__namespace.ChangeDetectorRef }]; }, { type: [{
|
|
6324
6633
|
type: i0.Input
|
|
6325
6634
|
}], itemType: [{
|
|
6326
6635
|
type: i0.Input
|
|
@@ -6385,9 +6694,9 @@
|
|
|
6385
6694
|
if (rf & 2) {
|
|
6386
6695
|
i0__namespace.ɵɵproperty("map", ctx.map)("layer", ctx.layer)("header", false)("@toolSlideInOut", ctx.animate);
|
|
6387
6696
|
}
|
|
6388
|
-
}, directives: [i1__namespace.TimeFilterItemComponent], encapsulation: 2, data: { animation: [toolSlideInOut$1()] } });
|
|
6697
|
+
}, directives: [i1__namespace$1.TimeFilterItemComponent], encapsulation: 2, data: { animation: [toolSlideInOut$1()] } });
|
|
6389
6698
|
exports.ActiveTimeFilterToolComponent = __decorate([
|
|
6390
|
-
|
|
6699
|
+
i4.ToolComponent({
|
|
6391
6700
|
name: 'activeTimeFilter',
|
|
6392
6701
|
title: 'igo.integration.tools.timeFilter',
|
|
6393
6702
|
icon: 'history',
|
|
@@ -6461,9 +6770,9 @@
|
|
|
6461
6770
|
if (rf & 2) {
|
|
6462
6771
|
i0__namespace.ɵɵproperty("map", ctx.map)("layer", ctx.layer)("header", false)("@toolSlideInOut", ctx.animate);
|
|
6463
6772
|
}
|
|
6464
|
-
}, directives: [i1__namespace.OgcFilterableItemComponent], encapsulation: 2, data: { animation: [toolSlideInOut()] } });
|
|
6773
|
+
}, directives: [i1__namespace$1.OgcFilterableItemComponent], encapsulation: 2, data: { animation: [toolSlideInOut()] } });
|
|
6465
6774
|
exports.ActiveOgcFilterToolComponent = __decorate([
|
|
6466
|
-
|
|
6775
|
+
i4.ToolComponent({
|
|
6467
6776
|
name: 'activeOgcFilter',
|
|
6468
6777
|
title: 'igo.integration.tools.ogcFilter',
|
|
6469
6778
|
icon: 'filter',
|
|
@@ -6494,12 +6803,12 @@
|
|
|
6494
6803
|
}());
|
|
6495
6804
|
IgoAppFilterModule.ɵfac = function IgoAppFilterModule_Factory(t) { return new (t || IgoAppFilterModule)(); };
|
|
6496
6805
|
IgoAppFilterModule.ɵmod = /*@__PURE__*/ i0__namespace.ɵɵdefineNgModule({ type: IgoAppFilterModule });
|
|
6497
|
-
IgoAppFilterModule.ɵinj = /*@__PURE__*/ i0__namespace.ɵɵdefineInjector({ imports: [[i1.IgoFilterModule, i1.IgoQueryModule,
|
|
6806
|
+
IgoAppFilterModule.ɵinj = /*@__PURE__*/ i0__namespace.ɵɵdefineInjector({ imports: [[i1$1.IgoFilterModule, i1$1.IgoQueryModule, i4$1.CommonModule]] });
|
|
6498
6807
|
(function () {
|
|
6499
6808
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(IgoAppFilterModule, [{
|
|
6500
6809
|
type: i0.NgModule,
|
|
6501
6810
|
args: [{
|
|
6502
|
-
imports: [i1.IgoFilterModule, i1.IgoQueryModule,
|
|
6811
|
+
imports: [i1$1.IgoFilterModule, i1$1.IgoQueryModule, i4$1.CommonModule],
|
|
6503
6812
|
declarations: [
|
|
6504
6813
|
exports.OgcFilterToolComponent,
|
|
6505
6814
|
exports.ActiveOgcFilterToolComponent,
|
|
@@ -6523,7 +6832,7 @@
|
|
|
6523
6832
|
exports.ActiveOgcFilterToolComponent,
|
|
6524
6833
|
exports.TimeFilterToolComponent,
|
|
6525
6834
|
exports.ActiveTimeFilterToolComponent,
|
|
6526
|
-
exports.SpatialFilterToolComponent], imports: [i1.IgoFilterModule, i1.IgoQueryModule,
|
|
6835
|
+
exports.SpatialFilterToolComponent], imports: [i1$1.IgoFilterModule, i1$1.IgoQueryModule, i4$1.CommonModule], exports: [exports.OgcFilterToolComponent,
|
|
6527
6836
|
exports.ActiveOgcFilterToolComponent,
|
|
6528
6837
|
exports.TimeFilterToolComponent,
|
|
6529
6838
|
exports.ActiveTimeFilterToolComponent,
|
|
@@ -6608,8 +6917,8 @@
|
|
|
6608
6917
|
this._headerHtml = this.languageService.translate.instant('igo.integration.aboutTool.headerHtml');
|
|
6609
6918
|
this.loading = false;
|
|
6610
6919
|
this.version = configService.getConfig('version');
|
|
6611
|
-
this.baseUrlProfil = configService.getConfig('
|
|
6612
|
-
this.baseUrlGuide = configService.getConfig('depot.url') + '
|
|
6920
|
+
this.baseUrlProfil = configService.getConfig('storage.url');
|
|
6921
|
+
this.baseUrlGuide = configService.getConfig('depot.url') + configService.getConfig('depot.guideUrl');
|
|
6613
6922
|
}
|
|
6614
6923
|
Object.defineProperty(AboutToolComponent.prototype, "headerHtml", {
|
|
6615
6924
|
get: function () {
|
|
@@ -6681,7 +6990,7 @@
|
|
|
6681
6990
|
};
|
|
6682
6991
|
return AboutToolComponent;
|
|
6683
6992
|
}());
|
|
6684
|
-
exports.AboutToolComponent.ɵfac = function AboutToolComponent_Factory(t) { return new (t || exports.AboutToolComponent)(i0__namespace.ɵɵdirectiveInject(i2__namespace$
|
|
6993
|
+
exports.AboutToolComponent.ɵfac = function AboutToolComponent_Factory(t) { return new (t || exports.AboutToolComponent)(i0__namespace.ɵɵdirectiveInject(i2__namespace$1.ConfigService), i0__namespace.ɵɵdirectiveInject(i2__namespace.AuthService), i0__namespace.ɵɵdirectiveInject(i3__namespace$2.HttpClient), i0__namespace.ɵɵdirectiveInject(i0__namespace.ChangeDetectorRef), i0__namespace.ɵɵdirectiveInject(i2__namespace$1.LanguageService)); };
|
|
6685
6994
|
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) {
|
|
6686
6995
|
if (rf & 1) {
|
|
6687
6996
|
i0__namespace.ɵɵelement(0, "p");
|
|
@@ -6709,9 +7018,9 @@
|
|
|
6709
7018
|
i0__namespace.ɵɵadvance(1);
|
|
6710
7019
|
i0__namespace.ɵɵproperty("html", i0__namespace.ɵɵpipeBind2(9, 6, ctx.html, i0__namespace.ɵɵpureFunction1(9, _c0, ctx.version)));
|
|
6711
7020
|
}
|
|
6712
|
-
}, directives: [
|
|
7021
|
+
}, directives: [i4__namespace.InteractiveTourComponent, i4__namespace$1.NgIf, i6__namespace$2.MatMenu, i4__namespace$1.NgForOf, i4__namespace.CustomHtmlComponent, i3__namespace.MatButton, i4__namespace$2.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
7022
|
exports.AboutToolComponent = __decorate([
|
|
6714
|
-
|
|
7023
|
+
i4.ToolComponent({
|
|
6715
7024
|
name: 'about',
|
|
6716
7025
|
title: 'igo.integration.tools.about',
|
|
6717
7026
|
icon: 'help-circle'
|
|
@@ -6725,7 +7034,7 @@
|
|
|
6725
7034
|
templateUrl: './about-tool.component.html',
|
|
6726
7035
|
styleUrls: ['./about-tool.component.scss']
|
|
6727
7036
|
}]
|
|
6728
|
-
}], function () { return [{ type: i2__namespace$
|
|
7037
|
+
}], function () { return [{ type: i2__namespace$1.ConfigService }, { type: i2__namespace.AuthService }, { type: i3__namespace$2.HttpClient }, { type: i0__namespace.ChangeDetectorRef }, { type: i2__namespace$1.LanguageService }]; }, { headerHtml: [{
|
|
6729
7038
|
type: i0.Input
|
|
6730
7039
|
}], html: [{
|
|
6731
7040
|
type: i0.Input
|
|
@@ -6750,28 +7059,28 @@
|
|
|
6750
7059
|
IgoAppAboutModule.ɵfac = function IgoAppAboutModule_Factory(t) { return new (t || IgoAppAboutModule)(); };
|
|
6751
7060
|
IgoAppAboutModule.ɵmod = /*@__PURE__*/ i0__namespace.ɵɵdefineNgModule({ type: IgoAppAboutModule });
|
|
6752
7061
|
IgoAppAboutModule.ɵinj = /*@__PURE__*/ i0__namespace.ɵɵdefineInjector({ imports: [[
|
|
6753
|
-
i2$
|
|
6754
|
-
|
|
7062
|
+
i2$1.IgoLanguageModule,
|
|
7063
|
+
i4.IgoCustomHtmlModule,
|
|
6755
7064
|
i3.MatButtonModule,
|
|
6756
|
-
i4.MatTooltipModule,
|
|
7065
|
+
i4$2.MatTooltipModule,
|
|
6757
7066
|
i6.MatIconModule,
|
|
6758
7067
|
i6$2.MatMenuModule,
|
|
6759
|
-
|
|
6760
|
-
|
|
7068
|
+
i4.IgoInteractiveTourModule,
|
|
7069
|
+
i4$1.CommonModule
|
|
6761
7070
|
]] });
|
|
6762
7071
|
(function () {
|
|
6763
7072
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(IgoAppAboutModule, [{
|
|
6764
7073
|
type: i0.NgModule,
|
|
6765
7074
|
args: [{
|
|
6766
7075
|
imports: [
|
|
6767
|
-
i2$
|
|
6768
|
-
|
|
7076
|
+
i2$1.IgoLanguageModule,
|
|
7077
|
+
i4.IgoCustomHtmlModule,
|
|
6769
7078
|
i3.MatButtonModule,
|
|
6770
|
-
i4.MatTooltipModule,
|
|
7079
|
+
i4$2.MatTooltipModule,
|
|
6771
7080
|
i6.MatIconModule,
|
|
6772
7081
|
i6$2.MatMenuModule,
|
|
6773
|
-
|
|
6774
|
-
|
|
7082
|
+
i4.IgoInteractiveTourModule,
|
|
7083
|
+
i4$1.CommonModule
|
|
6775
7084
|
],
|
|
6776
7085
|
declarations: [exports.AboutToolComponent],
|
|
6777
7086
|
exports: [exports.AboutToolComponent],
|
|
@@ -6780,14 +7089,14 @@
|
|
|
6780
7089
|
}], null, null);
|
|
6781
7090
|
})();
|
|
6782
7091
|
(function () {
|
|
6783
|
-
(typeof ngJitMode === "undefined" || ngJitMode) && i0__namespace.ɵɵsetNgModuleScope(IgoAppAboutModule, { declarations: [exports.AboutToolComponent], imports: [i2$
|
|
6784
|
-
|
|
7092
|
+
(typeof ngJitMode === "undefined" || ngJitMode) && i0__namespace.ɵɵsetNgModuleScope(IgoAppAboutModule, { declarations: [exports.AboutToolComponent], imports: [i2$1.IgoLanguageModule,
|
|
7093
|
+
i4.IgoCustomHtmlModule,
|
|
6785
7094
|
i3.MatButtonModule,
|
|
6786
|
-
i4.MatTooltipModule,
|
|
7095
|
+
i4$2.MatTooltipModule,
|
|
6787
7096
|
i6.MatIconModule,
|
|
6788
7097
|
i6$2.MatMenuModule,
|
|
6789
|
-
|
|
6790
|
-
|
|
7098
|
+
i4.IgoInteractiveTourModule,
|
|
7099
|
+
i4$1.CommonModule], exports: [exports.AboutToolComponent] });
|
|
6791
7100
|
})();
|
|
6792
7101
|
|
|
6793
7102
|
var IgoAppStorageModule = /** @class */ (function () {
|
|
@@ -6891,92 +7200,6 @@
|
|
|
6891
7200
|
}], null, null);
|
|
6892
7201
|
})();
|
|
6893
7202
|
|
|
6894
|
-
/**
|
|
6895
|
-
* Service that holds the state of the context module
|
|
6896
|
-
*/
|
|
6897
|
-
var ContextState = /** @class */ (function () {
|
|
6898
|
-
function ContextState(contextService, toolService, toolState, languageService) {
|
|
6899
|
-
var _this = this;
|
|
6900
|
-
this.contextService = contextService;
|
|
6901
|
-
this.toolService = toolService;
|
|
6902
|
-
this.toolState = toolState;
|
|
6903
|
-
this.languageService = languageService;
|
|
6904
|
-
/**
|
|
6905
|
-
* Observable of the active context
|
|
6906
|
-
*/
|
|
6907
|
-
this.context$ = new rxjs.BehaviorSubject(undefined);
|
|
6908
|
-
this.contextService.context$.subscribe(function (context) {
|
|
6909
|
-
_this.onContextChange(context);
|
|
6910
|
-
});
|
|
6911
|
-
this.contextService.toolsChanged$.subscribe(function (context) {
|
|
6912
|
-
_this.updateTools(context);
|
|
6913
|
-
});
|
|
6914
|
-
}
|
|
6915
|
-
/**
|
|
6916
|
-
* Set the active context
|
|
6917
|
-
* @param context Detailed context
|
|
6918
|
-
*/
|
|
6919
|
-
ContextState.prototype.setContext = function (context) {
|
|
6920
|
-
this.updateTools(context);
|
|
6921
|
-
this.context$.next(context);
|
|
6922
|
-
};
|
|
6923
|
-
/**
|
|
6924
|
-
* Update the tool state with the context's tools
|
|
6925
|
-
* @param context Detailed context
|
|
6926
|
-
*/
|
|
6927
|
-
ContextState.prototype.updateTools = function (context) {
|
|
6928
|
-
var _this = this;
|
|
6929
|
-
var toolbox = this.toolState.toolbox;
|
|
6930
|
-
var tools = [];
|
|
6931
|
-
var contextTools = context.tools || [];
|
|
6932
|
-
contextTools.forEach(function (contextTool) {
|
|
6933
|
-
var baseTool = _this.toolService.getTool(contextTool.name);
|
|
6934
|
-
if (baseTool === undefined) {
|
|
6935
|
-
return;
|
|
6936
|
-
}
|
|
6937
|
-
var options = Object.assign({}, baseTool.options || {}, contextTool.options || {});
|
|
6938
|
-
var tool = Object.assign({}, baseTool, contextTool, { options: options });
|
|
6939
|
-
tools.push(tool);
|
|
6940
|
-
});
|
|
6941
|
-
tools.forEach(function (tool) {
|
|
6942
|
-
if (tool.parent) {
|
|
6943
|
-
var parentIndex = tools.findIndex(function (el) { return el.name === tool.parent; });
|
|
6944
|
-
if (parentIndex !== -1) {
|
|
6945
|
-
tools[parentIndex].children = [];
|
|
6946
|
-
tools[parentIndex].children.push(tool.name);
|
|
6947
|
-
}
|
|
6948
|
-
}
|
|
6949
|
-
});
|
|
6950
|
-
toolbox.setTools(tools);
|
|
6951
|
-
toolbox.setToolbar(context.toolbar || []);
|
|
6952
|
-
// TODO: This is a patch so the context service can work without
|
|
6953
|
-
// injecting the ToolState or without being completely refactored
|
|
6954
|
-
this.contextService.setTools([].concat(tools));
|
|
6955
|
-
this.contextService.setToolbar(context.toolbar || []);
|
|
6956
|
-
};
|
|
6957
|
-
/**
|
|
6958
|
-
* Set a new context and update the tool state
|
|
6959
|
-
* @param context Detailed context
|
|
6960
|
-
*/
|
|
6961
|
-
ContextState.prototype.onContextChange = function (context) {
|
|
6962
|
-
if (context === undefined) {
|
|
6963
|
-
return;
|
|
6964
|
-
}
|
|
6965
|
-
this.setContext(context);
|
|
6966
|
-
};
|
|
6967
|
-
return ContextState;
|
|
6968
|
-
}());
|
|
6969
|
-
ContextState.ɵfac = function ContextState_Factory(t) { return new (t || ContextState)(i0__namespace.ɵɵinject(i2__namespace.ContextService), i0__namespace.ɵɵinject(i7__namespace.ToolService), i0__namespace.ɵɵinject(ToolState), i0__namespace.ɵɵinject(i2__namespace$2.LanguageService)); };
|
|
6970
|
-
ContextState.ɵprov = /*@__PURE__*/ i0__namespace.ɵɵdefineInjectable({ token: ContextState, factory: ContextState.ɵfac, providedIn: 'root' });
|
|
6971
|
-
(function () {
|
|
6972
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(ContextState, [{
|
|
6973
|
-
type: i0.Injectable,
|
|
6974
|
-
args: [{
|
|
6975
|
-
providedIn: 'root'
|
|
6976
|
-
}]
|
|
6977
|
-
}], function () { return [{ type: i2__namespace.ContextService }, { type: i7__namespace.ToolService }, { type: ToolState }, { type: i2__namespace$2.LanguageService }]; }, null);
|
|
6978
|
-
})();
|
|
6979
|
-
|
|
6980
7203
|
/**
|
|
6981
7204
|
* Service that holds the state of the search module
|
|
6982
7205
|
*/
|
|
@@ -7037,7 +7260,7 @@
|
|
|
7037
7260
|
};
|
|
7038
7261
|
return AnalyticsListenerService;
|
|
7039
7262
|
}());
|
|
7040
|
-
AnalyticsListenerService.ɵfac = function AnalyticsListenerService_Factory(t) { return new (t || AnalyticsListenerService)(i0__namespace.ɵɵinject(i2__namespace$
|
|
7263
|
+
AnalyticsListenerService.ɵfac = function AnalyticsListenerService_Factory(t) { return new (t || AnalyticsListenerService)(i0__namespace.ɵɵinject(i2__namespace$1.AnalyticsService), i0__namespace.ɵɵinject(i2__namespace.AuthService), i0__namespace.ɵɵinject(ContextState), i0__namespace.ɵɵinject(SearchState), i0__namespace.ɵɵinject(ToolState)); };
|
|
7041
7264
|
AnalyticsListenerService.ɵprov = /*@__PURE__*/ i0__namespace.ɵɵdefineInjectable({ token: AnalyticsListenerService, factory: AnalyticsListenerService.ɵfac, providedIn: 'root' });
|
|
7042
7265
|
(function () {
|
|
7043
7266
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(AnalyticsListenerService, [{
|
|
@@ -7045,7 +7268,7 @@
|
|
|
7045
7268
|
args: [{
|
|
7046
7269
|
providedIn: 'root'
|
|
7047
7270
|
}]
|
|
7048
|
-
}], function () { return [{ type: i2__namespace$
|
|
7271
|
+
}], function () { return [{ type: i2__namespace$1.AnalyticsService }, { type: i2__namespace.AuthService }, { type: ContextState }, { type: SearchState }, { type: ToolState }]; }, null);
|
|
7049
7272
|
})();
|
|
7050
7273
|
|
|
7051
7274
|
/**
|
|
@@ -7057,7 +7280,7 @@
|
|
|
7057
7280
|
/**
|
|
7058
7281
|
* Store that holds the query results
|
|
7059
7282
|
*/
|
|
7060
|
-
this.store = new
|
|
7283
|
+
this.store = new i4.EntityStore([]);
|
|
7061
7284
|
this.queryOverlayStyle = {};
|
|
7062
7285
|
this.queryOverlayStyleSelection = {};
|
|
7063
7286
|
this.queryOverlayStyleFocus = {};
|
|
@@ -7070,7 +7293,7 @@
|
|
|
7070
7293
|
}
|
|
7071
7294
|
return QueryState;
|
|
7072
7295
|
}());
|
|
7073
|
-
QueryState.ɵfac = function QueryState_Factory(t) { return new (t || QueryState)(i0__namespace.ɵɵinject(i2__namespace$
|
|
7296
|
+
QueryState.ɵfac = function QueryState_Factory(t) { return new (t || QueryState)(i0__namespace.ɵɵinject(i2__namespace$1.ConfigService)); };
|
|
7074
7297
|
QueryState.ɵprov = /*@__PURE__*/ i0__namespace.ɵɵdefineInjectable({ token: QueryState, factory: QueryState.ɵfac, providedIn: 'root' });
|
|
7075
7298
|
(function () {
|
|
7076
7299
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(QueryState, [{
|
|
@@ -7078,7 +7301,7 @@
|
|
|
7078
7301
|
args: [{
|
|
7079
7302
|
providedIn: 'root'
|
|
7080
7303
|
}]
|
|
7081
|
-
}], function () { return [{ type: i2__namespace$
|
|
7304
|
+
}], function () { return [{ type: i2__namespace$1.ConfigService }]; }, null);
|
|
7082
7305
|
})();
|
|
7083
7306
|
|
|
7084
7307
|
/*
|