@igo2/integration 1.15.3 → 1.15.5
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/esm2020/igo2-integration.mjs +4 -4
- package/esm2020/lib/about/about-tool/about-tool.component.mjs +185 -185
- package/esm2020/lib/about/about-tool/index.mjs +2 -2
- package/esm2020/lib/about/about.module.mjs +55 -55
- package/esm2020/lib/about/index.mjs +2 -2
- package/esm2020/lib/analytics/analytics-listener.service.mjs +127 -127
- package/esm2020/lib/analytics/analytics.module.mjs +16 -16
- package/esm2020/lib/analytics/index.mjs +2 -2
- package/esm2020/lib/catalog/catalog-browser-tool/catalog-browser-tool.component.mjs +113 -113
- package/esm2020/lib/catalog/catalog-browser-tool/catalog-browser-tool.module.mjs +29 -29
- package/esm2020/lib/catalog/catalog-library-tool/catalog-library-tool.component.mjs +89 -89
- package/esm2020/lib/catalog/catalog-library-tool/catalog-library-tool.module.mjs +29 -29
- package/esm2020/lib/catalog/catalog.module.mjs +24 -24
- package/esm2020/lib/catalog/catalog.state.mjs +54 -54
- package/esm2020/lib/catalog/index.mjs +6 -6
- package/esm2020/lib/context/context-editor-tool/context-editor-tool.component.mjs +34 -34
- package/esm2020/lib/context/context-manager-tool/context-manager-tool.component.mjs +44 -44
- package/esm2020/lib/context/context-permission-manager-tool/context-permission-manager-tool.component.mjs +25 -25
- package/esm2020/lib/context/context-share-tool/context-share-tool.component.mjs +34 -34
- package/esm2020/lib/context/context.module.mjs +39 -39
- package/esm2020/lib/context/context.state.mjs +88 -88
- package/esm2020/lib/context/index.mjs +6 -6
- package/esm2020/lib/directions/directions-tool/directions-tool.component.mjs +84 -84
- package/esm2020/lib/directions/directions-tool/index.mjs +2 -2
- package/esm2020/lib/directions/directions.module.mjs +26 -26
- package/esm2020/lib/directions/directions.state.mjs +64 -64
- package/esm2020/lib/directions/index.mjs +3 -3
- package/esm2020/lib/draw/draw.module.mjs +21 -21
- package/esm2020/lib/draw/draw.state.mjs +39 -39
- package/esm2020/lib/draw/drawing-tool/drawing-tool.component.mjs +72 -72
- package/esm2020/lib/draw/index.mjs +3 -3
- package/esm2020/lib/filter/active-ogc-filter-tool/active-ogc-filter-tool.animation.mjs +10 -10
- package/esm2020/lib/filter/active-ogc-filter-tool/active-ogc-filter-tool.component.mjs +44 -44
- package/esm2020/lib/filter/active-ogc-filter-tool/index.mjs +2 -2
- package/esm2020/lib/filter/active-time-filter-tool/active-time-filter-tool.animation.mjs +10 -10
- package/esm2020/lib/filter/active-time-filter-tool/active-time-filter-tool.component.mjs +44 -44
- package/esm2020/lib/filter/active-time-filter-tool/index.mjs +2 -2
- package/esm2020/lib/filter/filter.module.mjs +51 -51
- package/esm2020/lib/filter/index.mjs +6 -6
- package/esm2020/lib/filter/ogc-filter-tool/index.mjs +2 -2
- package/esm2020/lib/filter/ogc-filter-tool/ogc-filter-tool.component.mjs +25 -25
- package/esm2020/lib/filter/spatial-filter-tool/index.mjs +2 -2
- package/esm2020/lib/filter/spatial-filter-tool/spatial-filter-tool.component.mjs +535 -535
- package/esm2020/lib/filter/time-filter-tool/index.mjs +2 -2
- package/esm2020/lib/filter/time-filter-tool/time-filter-tool.component.mjs +25 -25
- package/esm2020/lib/import-export/import-export-tool/import-export-tool.component.mjs +141 -141
- package/esm2020/lib/import-export/import-export-tool/index.mjs +2 -2
- package/esm2020/lib/import-export/import-export.module.mjs +51 -51
- package/esm2020/lib/import-export/import-export.state.mjs +41 -41
- package/esm2020/lib/import-export/index.mjs +3 -3
- package/esm2020/lib/integration.module.mjs +72 -72
- package/esm2020/lib/map/advanced-map-tool/advanced-coordinates/advanced-coordinates.component.mjs +472 -472
- package/esm2020/lib/map/advanced-map-tool/advanced-map-tool.component.mjs +89 -89
- package/esm2020/lib/map/advanced-map-tool/advanced-swipe/advanced-swipe.component.mjs +218 -218
- package/esm2020/lib/map/advanced-map-tool/index.mjs +2 -2
- package/esm2020/lib/map/index.mjs +9 -9
- package/esm2020/lib/map/layer-list-tool.state.mjs +42 -42
- package/esm2020/lib/map/map-details-tool/index.mjs +2 -2
- package/esm2020/lib/map/map-details-tool/map-details-tool.component.mjs +256 -256
- package/esm2020/lib/map/map-legend/index.mjs +2 -2
- package/esm2020/lib/map/map-legend/map-legend-tool.component.mjs +275 -275
- package/esm2020/lib/map/map-proximity-tool/index.mjs +2 -2
- package/esm2020/lib/map/map-proximity-tool/map-proximity-tool.component.mjs +203 -203
- package/esm2020/lib/map/map-proximity.state.mjs +167 -167
- package/esm2020/lib/map/map-tool/index.mjs +2 -2
- package/esm2020/lib/map/map-tool/map-tool.component.mjs +130 -130
- package/esm2020/lib/map/map-tools/index.mjs +2 -2
- package/esm2020/lib/map/map-tools/map-tools.component.mjs +495 -495
- package/esm2020/lib/map/map.module.mjs +144 -144
- package/esm2020/lib/map/map.state.mjs +47 -47
- package/esm2020/lib/measure/index.mjs +4 -4
- package/esm2020/lib/measure/measure.module.mjs +20 -20
- package/esm2020/lib/measure/measure.state.mjs +35 -35
- package/esm2020/lib/measure/measurer-tool/measurer-tool.component.mjs +45 -45
- package/esm2020/lib/measure/measurer-tool/measurer-tool.module.mjs +25 -25
- package/esm2020/lib/print/index.mjs +2 -2
- package/esm2020/lib/print/print-tool/index.mjs +2 -2
- package/esm2020/lib/print/print-tool/print-tool.component.mjs +33 -33
- package/esm2020/lib/print/print.module.mjs +26 -26
- package/esm2020/lib/search/index.mjs +7 -7
- package/esm2020/lib/search/query.state.mjs +42 -34
- package/esm2020/lib/search/search-bar/search-bar-binding.directive.mjs +61 -61
- package/esm2020/lib/search/search-bar/search-bar.module.mjs +22 -22
- package/esm2020/lib/search/search-results-tool/search-results-tool.component.mjs +593 -593
- package/esm2020/lib/search/search-results-tool/search-results-tool.module.mjs +65 -65
- package/esm2020/lib/search/search.module.mjs +24 -24
- package/esm2020/lib/search/search.state.mjs +132 -132
- package/esm2020/lib/storage/index.mjs +2 -2
- package/esm2020/lib/storage/storage.module.mjs +16 -16
- package/esm2020/lib/storage/storage.state.mjs +23 -23
- package/esm2020/lib/tool/index.mjs +2 -2
- package/esm2020/lib/tool/tool.module.mjs +16 -16
- package/esm2020/lib/tool/tool.state.mjs +52 -52
- package/esm2020/lib/workspace/index.mjs +4 -4
- package/esm2020/lib/workspace/shared/edition-actions.service.mjs +156 -156
- package/esm2020/lib/workspace/shared/feature-actions.service.mjs +144 -144
- package/esm2020/lib/workspace/shared/index.mjs +3 -3
- package/esm2020/lib/workspace/shared/wfs-actions.service.mjs +158 -158
- package/esm2020/lib/workspace/shared/workspace.utils.mjs +7 -7
- package/esm2020/lib/workspace/workspace-button/index.mjs +2 -2
- package/esm2020/lib/workspace/workspace-button/workspace-button.component.mjs +69 -69
- package/esm2020/lib/workspace/workspace.module.mjs +37 -37
- package/esm2020/lib/workspace/workspace.state.mjs +188 -188
- package/esm2020/public_api.mjs +35 -35
- package/fesm2015/igo2-integration.mjs +6558 -6553
- package/fesm2015/igo2-integration.mjs.map +1 -1
- package/fesm2020/igo2-integration.mjs +6114 -6109
- package/fesm2020/igo2-integration.mjs.map +1 -1
- package/index.d.ts +5 -5
- package/lib/about/about-tool/about-tool.component.d.ts +34 -34
- package/lib/about/about-tool/index.d.ts +1 -1
- package/lib/about/about.module.d.ts +16 -16
- package/lib/about/index.d.ts +1 -1
- package/lib/analytics/analytics-listener.service.d.ts +33 -33
- package/lib/analytics/analytics.module.d.ts +6 -6
- package/lib/analytics/index.d.ts +1 -1
- package/lib/catalog/catalog-browser-tool/catalog-browser-tool.component.d.ts +57 -57
- package/lib/catalog/catalog-browser-tool/catalog-browser-tool.module.d.ts +12 -12
- package/lib/catalog/catalog-library-tool/catalog-library-tool.component.d.ts +50 -50
- package/lib/catalog/catalog-library-tool/catalog-library-tool.module.d.ts +12 -12
- package/lib/catalog/catalog.module.d.ts +8 -8
- package/lib/catalog/catalog.state.d.ts +37 -37
- package/lib/catalog/index.d.ts +5 -5
- package/lib/context/context-editor-tool/context-editor-tool.component.d.ts +9 -9
- package/lib/context/context-manager-tool/context-manager-tool.component.d.ts +15 -15
- package/lib/context/context-permission-manager-tool/context-permission-manager-tool.component.d.ts +5 -5
- package/lib/context/context-share-tool/context-share-tool.component.d.ts +13 -13
- package/lib/context/context.module.d.ts +11 -11
- package/lib/context/context.state.d.ts +37 -37
- package/lib/context/index.d.ts +5 -5
- package/lib/directions/directions-tool/directions-tool.component.d.ts +54 -54
- package/lib/directions/directions-tool/index.d.ts +1 -1
- package/lib/directions/directions.module.d.ts +10 -10
- package/lib/directions/directions.state.d.ts +28 -28
- package/lib/directions/index.d.ts +2 -2
- package/lib/draw/draw.module.d.ts +8 -8
- package/lib/draw/draw.state.d.ts +16 -16
- package/lib/draw/drawing-tool/drawing-tool.component.d.ts +31 -31
- package/lib/draw/index.d.ts +2 -2
- package/lib/filter/active-ogc-filter-tool/active-ogc-filter-tool.animation.d.ts +2 -2
- package/lib/filter/active-ogc-filter-tool/active-ogc-filter-tool.component.d.ts +12 -12
- package/lib/filter/active-ogc-filter-tool/index.d.ts +1 -1
- package/lib/filter/active-time-filter-tool/active-time-filter-tool.animation.d.ts +2 -2
- package/lib/filter/active-time-filter-tool/active-time-filter-tool.component.d.ts +12 -12
- package/lib/filter/active-time-filter-tool/index.d.ts +1 -1
- package/lib/filter/filter.module.d.ts +15 -15
- package/lib/filter/index.d.ts +5 -5
- package/lib/filter/ogc-filter-tool/index.d.ts +1 -1
- package/lib/filter/ogc-filter-tool/ogc-filter-tool.component.d.ts +6 -6
- package/lib/filter/spatial-filter-tool/index.d.ts +1 -1
- package/lib/filter/spatial-filter-tool/spatial-filter-tool.component.d.ts +82 -82
- package/lib/filter/time-filter-tool/index.d.ts +1 -1
- package/lib/filter/time-filter-tool/time-filter-tool.component.d.ts +6 -6
- package/lib/import-export/import-export-tool/import-export-tool.component.d.ts +33 -33
- package/lib/import-export/import-export-tool/index.d.ts +1 -1
- package/lib/import-export/import-export.module.d.ts +15 -15
- package/lib/import-export/import-export.state.d.ts +24 -24
- package/lib/import-export/index.d.ts +2 -2
- package/lib/integration.module.d.ts +20 -20
- package/lib/map/advanced-map-tool/advanced-coordinates/advanced-coordinates.component.d.ts +97 -97
- package/lib/map/advanced-map-tool/advanced-map-tool.component.d.ts +12 -12
- package/lib/map/advanced-map-tool/advanced-swipe/advanced-swipe.component.d.ts +65 -65
- package/lib/map/advanced-map-tool/index.d.ts +1 -1
- package/lib/map/index.d.ts +8 -8
- package/lib/map/layer-list-tool.state.d.ts +19 -19
- package/lib/map/map-details-tool/index.d.ts +1 -1
- package/lib/map/map-details-tool/map-details-tool.component.d.ts +38 -38
- package/lib/map/map-legend/index.d.ts +1 -1
- package/lib/map/map-legend/map-legend-tool.component.d.ts +40 -40
- package/lib/map/map-proximity-tool/index.d.ts +1 -1
- package/lib/map/map-proximity-tool/map-proximity-tool.component.d.ts +36 -36
- package/lib/map/map-proximity.state.d.ts +31 -31
- package/lib/map/map-tool/index.d.ts +1 -1
- package/lib/map/map-tool/map-tool.component.d.ts +27 -27
- package/lib/map/map-tools/index.d.ts +1 -1
- package/lib/map/map-tools/map-tools.component.d.ts +66 -66
- package/lib/map/map.module.d.ts +38 -38
- package/lib/map/map.state.d.ts +24 -24
- package/lib/measure/index.d.ts +3 -3
- package/lib/measure/measure.module.d.ts +7 -7
- package/lib/measure/measure.state.d.ts +16 -16
- package/lib/measure/measurer-tool/measurer-tool.component.d.ts +24 -24
- package/lib/measure/measurer-tool/measurer-tool.module.d.ts +11 -11
- package/lib/print/index.d.ts +1 -1
- package/lib/print/print-tool/index.d.ts +1 -1
- package/lib/print/print-tool/print-tool.component.d.ts +10 -10
- package/lib/print/print.module.d.ts +10 -10
- package/lib/search/index.d.ts +6 -6
- package/lib/search/query.state.d.ts +24 -20
- package/lib/search/search-bar/search-bar-binding.directive.d.ts +20 -20
- package/lib/search/search-bar/search-bar.module.d.ts +11 -11
- package/lib/search/search-results-tool/search-results-tool.component.d.ts +100 -100
- package/lib/search/search-results-tool/search-results-tool.module.d.ts +18 -18
- package/lib/search/search.module.d.ts +8 -8
- package/lib/search/search.state.d.ts +60 -60
- package/lib/storage/index.d.ts +1 -1
- package/lib/storage/storage.module.d.ts +6 -6
- package/lib/storage/storage.state.d.ts +12 -12
- package/lib/tool/index.d.ts +1 -1
- package/lib/tool/tool.module.d.ts +6 -6
- package/lib/tool/tool.state.d.ts +22 -22
- package/lib/workspace/index.d.ts +3 -3
- package/lib/workspace/shared/edition-actions.service.d.ts +26 -26
- package/lib/workspace/shared/feature-actions.service.d.ts +25 -25
- package/lib/workspace/shared/index.d.ts +2 -2
- package/lib/workspace/shared/wfs-actions.service.d.ts +27 -27
- package/lib/workspace/shared/workspace.utils.d.ts +2 -2
- package/lib/workspace/workspace-button/index.d.ts +1 -1
- package/lib/workspace/workspace-button/workspace-button.component.d.ts +21 -21
- package/lib/workspace/workspace.module.d.ts +12 -12
- package/lib/workspace/workspace.state.d.ts +63 -63
- package/ngcc.config.js +3 -3
- package/package.json +3 -3
- package/public_api.d.ts +31 -31
|
@@ -1,130 +1,130 @@
|
|
|
1
|
-
import { __decorate } from "tslib";
|
|
2
|
-
import { Component, ChangeDetectionStrategy, Input } from '@angular/core';
|
|
3
|
-
import { ToolComponent } from '@igo2/common';
|
|
4
|
-
import { LayerListControlsEnum } from '@igo2/geo';
|
|
5
|
-
import { ImportExportMode } from '../../import-export/import-export.state';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
import * as i1 from "./../map.state";
|
|
8
|
-
import * as i2 from "../../tool/tool.state";
|
|
9
|
-
import * as i3 from "../../import-export/import-export.state";
|
|
10
|
-
import * as i4 from "@angular/material/tabs";
|
|
11
|
-
import * as i5 from "@igo2/geo";
|
|
12
|
-
import * as i6 from "@igo2/context";
|
|
13
|
-
import * as i7 from "../../workspace/workspace-button/workspace-button.component";
|
|
14
|
-
import * as i8 from "@ngx-translate/core";
|
|
15
|
-
function MapToolComponent_ng_template_4_Template(rf, ctx) { if (rf & 1) {
|
|
16
|
-
const _r4 = i0.ɵɵgetCurrentView();
|
|
17
|
-
i0.ɵɵelement(0, "igo-workspace-button", 4);
|
|
18
|
-
i0.ɵɵelementStart(1, "igo-export-button", 5);
|
|
19
|
-
i0.ɵɵlistener("click", function MapToolComponent_ng_template_4_Template_igo_export_button_click_1_listener() { const restoredCtx = i0.ɵɵrestoreView(_r4); const layer_r2 = restoredCtx.layer; const ctx_r3 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r3.activateExport(layer_r2)); });
|
|
20
|
-
i0.ɵɵelementEnd();
|
|
21
|
-
i0.ɵɵelement(2, "igo-ogc-filter-button", 6)(3, "igo-time-filter-button", 6)(4, "igo-track-feature-button", 7)(5, "igo-metadata-button", 4);
|
|
22
|
-
} if (rf & 2) {
|
|
23
|
-
const layer_r2 = ctx.layer;
|
|
24
|
-
const ctx_r1 = i0.ɵɵnextContext();
|
|
25
|
-
i0.ɵɵproperty("layer", layer_r2);
|
|
26
|
-
i0.ɵɵadvance(1);
|
|
27
|
-
i0.ɵɵproperty("layer", layer_r2);
|
|
28
|
-
i0.ɵɵadvance(1);
|
|
29
|
-
i0.ɵɵproperty("header", ctx_r1.ogcButton)("layer", layer_r2);
|
|
30
|
-
i0.ɵɵadvance(1);
|
|
31
|
-
i0.ɵɵproperty("header", ctx_r1.timeButton)("layer", layer_r2);
|
|
32
|
-
i0.ɵɵadvance(1);
|
|
33
|
-
i0.ɵɵproperty("trackFeature", true)("layer", layer_r2);
|
|
34
|
-
i0.ɵɵadvance(1);
|
|
35
|
-
i0.ɵɵproperty("layer", layer_r2);
|
|
36
|
-
} }
|
|
37
|
-
/**
|
|
38
|
-
* Tool to browse a map's layers or to choose a different map
|
|
39
|
-
*/
|
|
40
|
-
let MapToolComponent = class MapToolComponent {
|
|
41
|
-
constructor(mapState, toolState, importExportState) {
|
|
42
|
-
this.mapState = mapState;
|
|
43
|
-
this.toolState = toolState;
|
|
44
|
-
this.importExportState = importExportState;
|
|
45
|
-
this.toggleLegendOnVisibilityChange = false;
|
|
46
|
-
this.expandLegendOfVisibleLayers = false;
|
|
47
|
-
this.updateLegendOnResolutionChange = false;
|
|
48
|
-
this.ogcButton = true;
|
|
49
|
-
this.timeButton = true;
|
|
50
|
-
this.layerListControls = {};
|
|
51
|
-
this.queryBadge = false;
|
|
52
|
-
}
|
|
53
|
-
get map() {
|
|
54
|
-
return this.mapState.map;
|
|
55
|
-
}
|
|
56
|
-
get excludeBaseLayers() {
|
|
57
|
-
return this.layerListControls.excludeBaseLayers || false;
|
|
58
|
-
}
|
|
59
|
-
get layerFilterAndSortOptions() {
|
|
60
|
-
const filterSortOptions = Object.assign({
|
|
61
|
-
showToolbar: LayerListControlsEnum.default
|
|
62
|
-
}, this.layerListControls);
|
|
63
|
-
switch (this.layerListControls.showToolbar) {
|
|
64
|
-
case LayerListControlsEnum.always:
|
|
65
|
-
filterSortOptions.showToolbar = LayerListControlsEnum.always;
|
|
66
|
-
break;
|
|
67
|
-
case LayerListControlsEnum.never:
|
|
68
|
-
filterSortOptions.showToolbar = LayerListControlsEnum.never;
|
|
69
|
-
break;
|
|
70
|
-
default:
|
|
71
|
-
break;
|
|
72
|
-
}
|
|
73
|
-
return filterSortOptions;
|
|
74
|
-
}
|
|
75
|
-
activateExport(layer) {
|
|
76
|
-
let id = layer.id;
|
|
77
|
-
if (layer.options.workspace?.workspaceId) {
|
|
78
|
-
id = layer.options.workspace.workspaceId !== layer.id ? layer.options.workspace.workspaceId : layer.id;
|
|
79
|
-
}
|
|
80
|
-
this.importExportState.setsExportOptions({ layers: [id] });
|
|
81
|
-
this.importExportState.setMode(ImportExportMode.export);
|
|
82
|
-
this.toolState.toolbox.activateTool('importExport');
|
|
83
|
-
}
|
|
84
|
-
};
|
|
85
|
-
MapToolComponent.ɵfac = function MapToolComponent_Factory(t) { return new (t || MapToolComponent)(i0.ɵɵdirectiveInject(i1.MapState), i0.ɵɵdirectiveInject(i2.ToolState), i0.ɵɵdirectiveInject(i3.ImportExportState)); };
|
|
86
|
-
MapToolComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MapToolComponent, selectors: [["igo-map-tool"]], inputs: { toggleLegendOnVisibilityChange: "toggleLegendOnVisibilityChange", expandLegendOfVisibleLayers: "expandLegendOfVisibleLayers", updateLegendOnResolutionChange: "updateLegendOnResolutionChange", ogcButton: "ogcButton", timeButton: "timeButton", layerListControls: "layerListControls", queryBadge: "queryBadge" }, decls: 9, vars: 14, consts: [[3, "label"], ["igoLayerListBinding", "", 3, "map", "excludeBaseLayers", "layerFilterAndSortOptions", "expandLegendOfVisibleLayers", "toggleLegendOnVisibilityChange", "updateLegendOnResolutionChange", "floatLabel", "queryBadge"], ["igoLayerItemToolbar", ""], ["igoContextListBinding", ""], [3, "layer"], [3, "layer", "click"], [3, "header", "layer"], [3, "trackFeature", "layer"]], template: function MapToolComponent_Template(rf, ctx) { if (rf & 1) {
|
|
87
|
-
i0.ɵɵelementStart(0, "mat-tab-group")(1, "mat-tab", 0);
|
|
88
|
-
i0.ɵɵpipe(2, "translate");
|
|
89
|
-
i0.ɵɵelementStart(3, "igo-layer-list", 1);
|
|
90
|
-
i0.ɵɵtemplate(4, MapToolComponent_ng_template_4_Template, 6, 9, "ng-template", null, 2, i0.ɵɵtemplateRefExtractor);
|
|
91
|
-
i0.ɵɵelementEnd()();
|
|
92
|
-
i0.ɵɵelementStart(6, "mat-tab", 0);
|
|
93
|
-
i0.ɵɵpipe(7, "translate");
|
|
94
|
-
i0.ɵɵelement(8, "igo-context-list", 3);
|
|
95
|
-
i0.ɵɵelementEnd()();
|
|
96
|
-
} if (rf & 2) {
|
|
97
|
-
i0.ɵɵadvance(1);
|
|
98
|
-
i0.ɵɵproperty("label", i0.ɵɵpipeBind1(2, 10, "igo.integration.tools.map"));
|
|
99
|
-
i0.ɵɵadvance(2);
|
|
100
|
-
i0.ɵɵproperty("map", ctx.map)("excludeBaseLayers", ctx.excludeBaseLayers)("layerFilterAndSortOptions", ctx.layerFilterAndSortOptions)("expandLegendOfVisibleLayers", ctx.expandLegendOfVisibleLayers)("toggleLegendOnVisibilityChange", ctx.toggleLegendOnVisibilityChange)("updateLegendOnResolutionChange", ctx.updateLegendOnResolutionChange)("floatLabel", false)("queryBadge", ctx.queryBadge);
|
|
101
|
-
i0.ɵɵadvance(3);
|
|
102
|
-
i0.ɵɵproperty("label", i0.ɵɵpipeBind1(7, 12, "igo.integration.tools.contexts"));
|
|
103
|
-
} }, dependencies: [i4.MatTabGroup, i4.MatTab, i5.LayerListComponent, i5.LayerListBindingDirective, i5.TrackFeatureButtonComponent, i5.MetadataButtonComponent, i5.ExportButtonComponent, i5.TimeFilterButtonComponent, i5.OgcFilterButtonComponent, i6.ContextListComponent, i6.ContextListBindingDirective, i7.WorkspaceButtonComponent, i8.TranslatePipe], styles: ["mat-tab-group[_ngcontent-%COMP%], mat-tab-group[_ngcontent-%COMP%] .mat-tab-body-wrapper{height:100%;overflow:hidden}[_nghost-%COMP%] .mat-tab-body-content{overflow:hidden}"], changeDetection: 0 });
|
|
104
|
-
MapToolComponent = __decorate([
|
|
105
|
-
ToolComponent({
|
|
106
|
-
name: 'map',
|
|
107
|
-
title: 'igo.integration.tools.map',
|
|
108
|
-
icon: 'map'
|
|
109
|
-
})
|
|
110
|
-
], MapToolComponent);
|
|
111
|
-
export { MapToolComponent };
|
|
112
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MapToolComponent, [{
|
|
113
|
-
type: Component,
|
|
114
|
-
args: [{ selector: 'igo-map-tool', changeDetection: ChangeDetectionStrategy.OnPush, template: "<mat-tab-group>\
|
|
115
|
-
}], function () { return [{ type: i1.MapState }, { type: i2.ToolState }, { type: i3.ImportExportState }]; }, { toggleLegendOnVisibilityChange: [{
|
|
116
|
-
type: Input
|
|
117
|
-
}], expandLegendOfVisibleLayers: [{
|
|
118
|
-
type: Input
|
|
119
|
-
}], updateLegendOnResolutionChange: [{
|
|
120
|
-
type: Input
|
|
121
|
-
}], ogcButton: [{
|
|
122
|
-
type: Input
|
|
123
|
-
}], timeButton: [{
|
|
124
|
-
type: Input
|
|
125
|
-
}], layerListControls: [{
|
|
126
|
-
type: Input
|
|
127
|
-
}], queryBadge: [{
|
|
128
|
-
type: Input
|
|
129
|
-
}] }); })();
|
|
130
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { __decorate } from "tslib";
|
|
2
|
+
import { Component, ChangeDetectionStrategy, Input } from '@angular/core';
|
|
3
|
+
import { ToolComponent } from '@igo2/common';
|
|
4
|
+
import { LayerListControlsEnum } from '@igo2/geo';
|
|
5
|
+
import { ImportExportMode } from '../../import-export/import-export.state';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
import * as i1 from "./../map.state";
|
|
8
|
+
import * as i2 from "../../tool/tool.state";
|
|
9
|
+
import * as i3 from "../../import-export/import-export.state";
|
|
10
|
+
import * as i4 from "@angular/material/tabs";
|
|
11
|
+
import * as i5 from "@igo2/geo";
|
|
12
|
+
import * as i6 from "@igo2/context";
|
|
13
|
+
import * as i7 from "../../workspace/workspace-button/workspace-button.component";
|
|
14
|
+
import * as i8 from "@ngx-translate/core";
|
|
15
|
+
function MapToolComponent_ng_template_4_Template(rf, ctx) { if (rf & 1) {
|
|
16
|
+
const _r4 = i0.ɵɵgetCurrentView();
|
|
17
|
+
i0.ɵɵelement(0, "igo-workspace-button", 4);
|
|
18
|
+
i0.ɵɵelementStart(1, "igo-export-button", 5);
|
|
19
|
+
i0.ɵɵlistener("click", function MapToolComponent_ng_template_4_Template_igo_export_button_click_1_listener() { const restoredCtx = i0.ɵɵrestoreView(_r4); const layer_r2 = restoredCtx.layer; const ctx_r3 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r3.activateExport(layer_r2)); });
|
|
20
|
+
i0.ɵɵelementEnd();
|
|
21
|
+
i0.ɵɵelement(2, "igo-ogc-filter-button", 6)(3, "igo-time-filter-button", 6)(4, "igo-track-feature-button", 7)(5, "igo-metadata-button", 4);
|
|
22
|
+
} if (rf & 2) {
|
|
23
|
+
const layer_r2 = ctx.layer;
|
|
24
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
25
|
+
i0.ɵɵproperty("layer", layer_r2);
|
|
26
|
+
i0.ɵɵadvance(1);
|
|
27
|
+
i0.ɵɵproperty("layer", layer_r2);
|
|
28
|
+
i0.ɵɵadvance(1);
|
|
29
|
+
i0.ɵɵproperty("header", ctx_r1.ogcButton)("layer", layer_r2);
|
|
30
|
+
i0.ɵɵadvance(1);
|
|
31
|
+
i0.ɵɵproperty("header", ctx_r1.timeButton)("layer", layer_r2);
|
|
32
|
+
i0.ɵɵadvance(1);
|
|
33
|
+
i0.ɵɵproperty("trackFeature", true)("layer", layer_r2);
|
|
34
|
+
i0.ɵɵadvance(1);
|
|
35
|
+
i0.ɵɵproperty("layer", layer_r2);
|
|
36
|
+
} }
|
|
37
|
+
/**
|
|
38
|
+
* Tool to browse a map's layers or to choose a different map
|
|
39
|
+
*/
|
|
40
|
+
let MapToolComponent = class MapToolComponent {
|
|
41
|
+
constructor(mapState, toolState, importExportState) {
|
|
42
|
+
this.mapState = mapState;
|
|
43
|
+
this.toolState = toolState;
|
|
44
|
+
this.importExportState = importExportState;
|
|
45
|
+
this.toggleLegendOnVisibilityChange = false;
|
|
46
|
+
this.expandLegendOfVisibleLayers = false;
|
|
47
|
+
this.updateLegendOnResolutionChange = false;
|
|
48
|
+
this.ogcButton = true;
|
|
49
|
+
this.timeButton = true;
|
|
50
|
+
this.layerListControls = {};
|
|
51
|
+
this.queryBadge = false;
|
|
52
|
+
}
|
|
53
|
+
get map() {
|
|
54
|
+
return this.mapState.map;
|
|
55
|
+
}
|
|
56
|
+
get excludeBaseLayers() {
|
|
57
|
+
return this.layerListControls.excludeBaseLayers || false;
|
|
58
|
+
}
|
|
59
|
+
get layerFilterAndSortOptions() {
|
|
60
|
+
const filterSortOptions = Object.assign({
|
|
61
|
+
showToolbar: LayerListControlsEnum.default
|
|
62
|
+
}, this.layerListControls);
|
|
63
|
+
switch (this.layerListControls.showToolbar) {
|
|
64
|
+
case LayerListControlsEnum.always:
|
|
65
|
+
filterSortOptions.showToolbar = LayerListControlsEnum.always;
|
|
66
|
+
break;
|
|
67
|
+
case LayerListControlsEnum.never:
|
|
68
|
+
filterSortOptions.showToolbar = LayerListControlsEnum.never;
|
|
69
|
+
break;
|
|
70
|
+
default:
|
|
71
|
+
break;
|
|
72
|
+
}
|
|
73
|
+
return filterSortOptions;
|
|
74
|
+
}
|
|
75
|
+
activateExport(layer) {
|
|
76
|
+
let id = layer.id;
|
|
77
|
+
if (layer.options.workspace?.workspaceId) {
|
|
78
|
+
id = layer.options.workspace.workspaceId !== layer.id ? layer.options.workspace.workspaceId : layer.id;
|
|
79
|
+
}
|
|
80
|
+
this.importExportState.setsExportOptions({ layers: [id] });
|
|
81
|
+
this.importExportState.setMode(ImportExportMode.export);
|
|
82
|
+
this.toolState.toolbox.activateTool('importExport');
|
|
83
|
+
}
|
|
84
|
+
};
|
|
85
|
+
MapToolComponent.ɵfac = function MapToolComponent_Factory(t) { return new (t || MapToolComponent)(i0.ɵɵdirectiveInject(i1.MapState), i0.ɵɵdirectiveInject(i2.ToolState), i0.ɵɵdirectiveInject(i3.ImportExportState)); };
|
|
86
|
+
MapToolComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MapToolComponent, selectors: [["igo-map-tool"]], inputs: { toggleLegendOnVisibilityChange: "toggleLegendOnVisibilityChange", expandLegendOfVisibleLayers: "expandLegendOfVisibleLayers", updateLegendOnResolutionChange: "updateLegendOnResolutionChange", ogcButton: "ogcButton", timeButton: "timeButton", layerListControls: "layerListControls", queryBadge: "queryBadge" }, decls: 9, vars: 14, consts: [[3, "label"], ["igoLayerListBinding", "", 3, "map", "excludeBaseLayers", "layerFilterAndSortOptions", "expandLegendOfVisibleLayers", "toggleLegendOnVisibilityChange", "updateLegendOnResolutionChange", "floatLabel", "queryBadge"], ["igoLayerItemToolbar", ""], ["igoContextListBinding", ""], [3, "layer"], [3, "layer", "click"], [3, "header", "layer"], [3, "trackFeature", "layer"]], template: function MapToolComponent_Template(rf, ctx) { if (rf & 1) {
|
|
87
|
+
i0.ɵɵelementStart(0, "mat-tab-group")(1, "mat-tab", 0);
|
|
88
|
+
i0.ɵɵpipe(2, "translate");
|
|
89
|
+
i0.ɵɵelementStart(3, "igo-layer-list", 1);
|
|
90
|
+
i0.ɵɵtemplate(4, MapToolComponent_ng_template_4_Template, 6, 9, "ng-template", null, 2, i0.ɵɵtemplateRefExtractor);
|
|
91
|
+
i0.ɵɵelementEnd()();
|
|
92
|
+
i0.ɵɵelementStart(6, "mat-tab", 0);
|
|
93
|
+
i0.ɵɵpipe(7, "translate");
|
|
94
|
+
i0.ɵɵelement(8, "igo-context-list", 3);
|
|
95
|
+
i0.ɵɵelementEnd()();
|
|
96
|
+
} if (rf & 2) {
|
|
97
|
+
i0.ɵɵadvance(1);
|
|
98
|
+
i0.ɵɵproperty("label", i0.ɵɵpipeBind1(2, 10, "igo.integration.tools.map"));
|
|
99
|
+
i0.ɵɵadvance(2);
|
|
100
|
+
i0.ɵɵproperty("map", ctx.map)("excludeBaseLayers", ctx.excludeBaseLayers)("layerFilterAndSortOptions", ctx.layerFilterAndSortOptions)("expandLegendOfVisibleLayers", ctx.expandLegendOfVisibleLayers)("toggleLegendOnVisibilityChange", ctx.toggleLegendOnVisibilityChange)("updateLegendOnResolutionChange", ctx.updateLegendOnResolutionChange)("floatLabel", false)("queryBadge", ctx.queryBadge);
|
|
101
|
+
i0.ɵɵadvance(3);
|
|
102
|
+
i0.ɵɵproperty("label", i0.ɵɵpipeBind1(7, 12, "igo.integration.tools.contexts"));
|
|
103
|
+
} }, dependencies: [i4.MatTabGroup, i4.MatTab, i5.LayerListComponent, i5.LayerListBindingDirective, i5.TrackFeatureButtonComponent, i5.MetadataButtonComponent, i5.ExportButtonComponent, i5.TimeFilterButtonComponent, i5.OgcFilterButtonComponent, i6.ContextListComponent, i6.ContextListBindingDirective, i7.WorkspaceButtonComponent, i8.TranslatePipe], styles: ["mat-tab-group[_ngcontent-%COMP%], mat-tab-group[_ngcontent-%COMP%] .mat-tab-body-wrapper{height:100%;overflow:hidden}[_nghost-%COMP%] .mat-tab-body-content{overflow:hidden}"], changeDetection: 0 });
|
|
104
|
+
MapToolComponent = __decorate([
|
|
105
|
+
ToolComponent({
|
|
106
|
+
name: 'map',
|
|
107
|
+
title: 'igo.integration.tools.map',
|
|
108
|
+
icon: 'map'
|
|
109
|
+
})
|
|
110
|
+
], MapToolComponent);
|
|
111
|
+
export { MapToolComponent };
|
|
112
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MapToolComponent, [{
|
|
113
|
+
type: Component,
|
|
114
|
+
args: [{ selector: 'igo-map-tool', changeDetection: ChangeDetectionStrategy.OnPush, template: "<mat-tab-group>\n\n <mat-tab [label]=\"'igo.integration.tools.map' |\u00A0translate\">\n <igo-layer-list\n [map]=\"map\"\n igoLayerListBinding\n [excludeBaseLayers]=\"excludeBaseLayers\"\n [layerFilterAndSortOptions]=\"layerFilterAndSortOptions\"\n [expandLegendOfVisibleLayers]=\"expandLegendOfVisibleLayers\"\n [toggleLegendOnVisibilityChange]=\"toggleLegendOnVisibilityChange\"\n [updateLegendOnResolutionChange]=\"updateLegendOnResolutionChange\"\n [floatLabel]=\"false\"\n [queryBadge]=\"queryBadge\">\n\n <ng-template #igoLayerItemToolbar let-layer=\"layer\">\n <!-- <igo-download-button [layer]=\"layer\"></igo-download-button> -->\n <igo-workspace-button [layer]=\"layer\"></igo-workspace-button>\n <igo-export-button [layer]=\"layer\" (click)=\"activateExport(layer)\"></igo-export-button>\n <igo-ogc-filter-button [header]=\"ogcButton\" [layer]=\"layer\"></igo-ogc-filter-button>\n <igo-time-filter-button [header]=\"timeButton\" [layer]=\"layer\"></igo-time-filter-button>\n <igo-track-feature-button [trackFeature]=\"true\" [layer]=\"layer\"></igo-track-feature-button>\n <igo-metadata-button [layer]=\"layer\"></igo-metadata-button>\n </ng-template>\n\n </igo-layer-list>\n </mat-tab>\n\n <mat-tab [label]=\"'igo.integration.tools.contexts' |\u00A0translate\">\n <igo-context-list igoContextListBinding></igo-context-list>\n </mat-tab>\n\n</mat-tab-group>\n", styles: ["mat-tab-group,mat-tab-group ::ng-deep .mat-tab-body-wrapper{height:100%;overflow:hidden}:host ::ng-deep .mat-tab-body-content{overflow:hidden}\n"] }]
|
|
115
|
+
}], function () { return [{ type: i1.MapState }, { type: i2.ToolState }, { type: i3.ImportExportState }]; }, { toggleLegendOnVisibilityChange: [{
|
|
116
|
+
type: Input
|
|
117
|
+
}], expandLegendOfVisibleLayers: [{
|
|
118
|
+
type: Input
|
|
119
|
+
}], updateLegendOnResolutionChange: [{
|
|
120
|
+
type: Input
|
|
121
|
+
}], ogcButton: [{
|
|
122
|
+
type: Input
|
|
123
|
+
}], timeButton: [{
|
|
124
|
+
type: Input
|
|
125
|
+
}], layerListControls: [{
|
|
126
|
+
type: Input
|
|
127
|
+
}], queryBadge: [{
|
|
128
|
+
type: Input
|
|
129
|
+
}] }); })();
|
|
130
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWFwLXRvb2wuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvaW50ZWdyYXRpb24vc3JjL2xpYi9tYXAvbWFwLXRvb2wvbWFwLXRvb2wuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvaW50ZWdyYXRpb24vc3JjL2xpYi9tYXAvbWFwLXRvb2wvbWFwLXRvb2wuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsdUJBQXVCLEVBQUUsS0FBSyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBRTFFLE9BQU8sRUFBRSxhQUFhLEVBQUU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gPC9tYXQtdGFiPlxuXG48L21hdC10YWItZ3JvdXA+XG4iXX0=
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './map-tools.component';
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
export * from './map-tools.component';
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9pbnRlZ3JhdGlvbi9zcmMvbGliL21hcC9tYXAtdG9vbHMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyx1QkFBdUIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vbWFwLXRvb2xzLmNvbXBvbmVudCc7XG4iXX0=
|