@igo2/integration 1.14.1 → 1.14.3
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 +184 -184
- package/esm2020/lib/about/about-tool/index.mjs +1 -1
- package/esm2020/lib/about/about.module.mjs +54 -54
- package/esm2020/lib/about/index.mjs +1 -1
- package/esm2020/lib/analytics/analytics-listener.service.mjs +71 -71
- package/esm2020/lib/analytics/analytics.module.mjs +15 -15
- package/esm2020/lib/analytics/index.mjs +1 -1
- package/esm2020/lib/catalog/catalog-browser-tool/catalog-browser-tool.component.mjs +112 -112
- package/esm2020/lib/catalog/catalog-browser-tool/catalog-browser-tool.module.mjs +28 -28
- package/esm2020/lib/catalog/catalog-library-tool/catalog-library-tool.component.mjs +88 -88
- package/esm2020/lib/catalog/catalog-library-tool/catalog-library-tool.module.mjs +28 -28
- package/esm2020/lib/catalog/catalog.module.mjs +23 -23
- package/esm2020/lib/catalog/catalog.state.mjs +53 -53
- package/esm2020/lib/catalog/index.mjs +5 -5
- package/esm2020/lib/context/context-editor-tool/context-editor-tool.component.mjs +33 -33
- package/esm2020/lib/context/context-manager-tool/context-manager-tool.component.mjs +43 -43
- package/esm2020/lib/context/context-permission-manager-tool/context-permission-manager-tool.component.mjs +24 -24
- package/esm2020/lib/context/context-share-tool/context-share-tool.component.mjs +33 -33
- package/esm2020/lib/context/context.module.mjs +38 -38
- package/esm2020/lib/context/context.state.mjs +87 -87
- package/esm2020/lib/context/index.mjs +5 -5
- package/esm2020/lib/directions/directions-tool/directions-tool.component.mjs +86 -86
- package/esm2020/lib/directions/directions-tool/index.mjs +1 -1
- package/esm2020/lib/directions/directions.module.mjs +25 -25
- package/esm2020/lib/directions/directions.state.mjs +63 -63
- package/esm2020/lib/directions/index.mjs +2 -2
- package/esm2020/lib/draw/draw.module.mjs +20 -20
- package/esm2020/lib/draw/draw.state.mjs +40 -39
- package/esm2020/lib/draw/drawing-tool/drawing-tool.component.mjs +71 -71
- package/esm2020/lib/draw/index.mjs +2 -2
- package/esm2020/lib/filter/active-ogc-filter-tool/active-ogc-filter-tool.animation.mjs +9 -9
- package/esm2020/lib/filter/active-ogc-filter-tool/active-ogc-filter-tool.component.mjs +43 -43
- package/esm2020/lib/filter/active-ogc-filter-tool/index.mjs +1 -1
- package/esm2020/lib/filter/active-time-filter-tool/active-time-filter-tool.animation.mjs +9 -9
- package/esm2020/lib/filter/active-time-filter-tool/active-time-filter-tool.component.mjs +43 -43
- package/esm2020/lib/filter/active-time-filter-tool/index.mjs +1 -1
- package/esm2020/lib/filter/filter.module.mjs +50 -50
- package/esm2020/lib/filter/index.mjs +5 -5
- package/esm2020/lib/filter/ogc-filter-tool/index.mjs +1 -1
- package/esm2020/lib/filter/ogc-filter-tool/ogc-filter-tool.component.mjs +24 -24
- package/esm2020/lib/filter/spatial-filter-tool/index.mjs +1 -1
- package/esm2020/lib/filter/spatial-filter-tool/spatial-filter-tool.component.mjs +534 -534
- package/esm2020/lib/filter/time-filter-tool/index.mjs +1 -1
- package/esm2020/lib/filter/time-filter-tool/time-filter-tool.component.mjs +24 -24
- package/esm2020/lib/import-export/import-export-tool/import-export-tool.component.mjs +136 -136
- package/esm2020/lib/import-export/import-export-tool/index.mjs +1 -1
- package/esm2020/lib/import-export/import-export.module.mjs +47 -47
- package/esm2020/lib/import-export/import-export.state.mjs +40 -40
- package/esm2020/lib/import-export/index.mjs +2 -2
- package/esm2020/lib/integration.module.mjs +71 -71
- 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 +88 -88
- package/esm2020/lib/map/advanced-map-tool/advanced-swipe/advanced-swipe.component.mjs +217 -217
- package/esm2020/lib/map/advanced-map-tool/index.mjs +1 -1
- package/esm2020/lib/map/index.mjs +8 -8
- package/esm2020/lib/map/layer-list-tool.state.mjs +41 -41
- package/esm2020/lib/map/map-details-tool/index.mjs +1 -1
- package/esm2020/lib/map/map-details-tool/map-details-tool.component.mjs +255 -255
- package/esm2020/lib/map/map-legend/index.mjs +1 -1
- package/esm2020/lib/map/map-legend/map-legend-tool.component.mjs +274 -274
- package/esm2020/lib/map/map-proximity-tool/index.mjs +1 -1
- package/esm2020/lib/map/map-proximity-tool/map-proximity-tool.component.mjs +205 -205
- package/esm2020/lib/map/map-proximity.state.mjs +162 -162
- package/esm2020/lib/map/map-tool/index.mjs +1 -1
- package/esm2020/lib/map/map-tool/map-tool.component.mjs +129 -129
- package/esm2020/lib/map/map-tools/index.mjs +1 -1
- package/esm2020/lib/map/map-tools/map-tools.component.mjs +477 -477
- package/esm2020/lib/map/map.module.mjs +140 -140
- package/esm2020/lib/map/map.state.mjs +46 -46
- package/esm2020/lib/measure/index.mjs +3 -3
- package/esm2020/lib/measure/measure.module.mjs +19 -19
- package/esm2020/lib/measure/measure.state.mjs +34 -34
- package/esm2020/lib/measure/measurer-tool/measurer-tool.component.mjs +44 -44
- package/esm2020/lib/measure/measurer-tool/measurer-tool.module.mjs +24 -24
- package/esm2020/lib/print/index.mjs +1 -1
- package/esm2020/lib/print/print-tool/index.mjs +1 -1
- package/esm2020/lib/print/print-tool/print-tool.component.mjs +32 -32
- package/esm2020/lib/print/print.module.mjs +25 -25
- package/esm2020/lib/search/index.mjs +6 -6
- package/esm2020/lib/search/query.state.mjs +33 -33
- package/esm2020/lib/search/search-bar/search-bar-binding.directive.mjs +60 -60
- package/esm2020/lib/search/search-bar/search-bar.module.mjs +21 -21
- package/esm2020/lib/search/search-results-tool/search-results-tool.component.mjs +593 -588
- package/esm2020/lib/search/search-results-tool/search-results-tool.module.mjs +64 -64
- package/esm2020/lib/search/search.module.mjs +23 -23
- package/esm2020/lib/search/search.state.mjs +106 -106
- package/esm2020/lib/storage/index.mjs +1 -1
- package/esm2020/lib/storage/storage.module.mjs +15 -15
- package/esm2020/lib/storage/storage.state.mjs +22 -22
- package/esm2020/lib/tool/index.mjs +1 -1
- package/esm2020/lib/tool/tool.module.mjs +15 -15
- package/esm2020/lib/tool/tool.state.mjs +51 -51
- package/esm2020/lib/workspace/index.mjs +3 -3
- package/esm2020/lib/workspace/shared/edition-actions.service.mjs +155 -155
- package/esm2020/lib/workspace/shared/feature-actions.service.mjs +143 -143
- package/esm2020/lib/workspace/shared/index.mjs +2 -2
- package/esm2020/lib/workspace/shared/wfs-actions.service.mjs +157 -157
- package/esm2020/lib/workspace/shared/workspace.utils.mjs +6 -6
- package/esm2020/lib/workspace/workspace-button/index.mjs +1 -1
- package/esm2020/lib/workspace/workspace-button/workspace-button.component.mjs +68 -68
- package/esm2020/lib/workspace/workspace.module.mjs +36 -36
- package/esm2020/lib/workspace/workspace.state.mjs +187 -187
- package/esm2020/public_api.mjs +34 -34
- package/fesm2015/igo2-integration.mjs +6462 -6457
- package/fesm2015/igo2-integration.mjs.map +1 -1
- package/fesm2020/igo2-integration.mjs +6021 -6016
- 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 +27 -27
- 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 +17 -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 +31 -31
- 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 +28 -28
- 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 +65 -65
- 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 +20 -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 +101 -98
- 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 +54 -54
- 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/package.json +3 -3
- package/public_api.d.ts +31 -31
|
@@ -1,256 +1,256 @@
|
|
|
1
|
-
import { __decorate } from "tslib";
|
|
2
|
-
import { Component, Input } from '@angular/core';
|
|
3
|
-
import { map } from 'rxjs/operators';
|
|
4
|
-
import { ToolComponent } from '@igo2/common';
|
|
5
|
-
import { LayerListControlsEnum, sourceCanSearch } from '@igo2/geo';
|
|
6
|
-
import { ImportExportMode } from '../../import-export/import-export.state';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
import * as i1 from "./../map.state";
|
|
9
|
-
import * as i2 from "./../../tool/tool.state";
|
|
10
|
-
import * as i3 from "@igo2/geo";
|
|
11
|
-
import * as i4 from "../../import-export/import-export.state";
|
|
12
|
-
import * as i5 from "@angular/common";
|
|
13
|
-
import * as i6 from "@angular/material/list";
|
|
14
|
-
import * as i7 from "@angular/material/core";
|
|
15
|
-
import * as i8 from "@angular/material/icon";
|
|
16
|
-
import * as i9 from "../../workspace/workspace-button/workspace-button.component";
|
|
17
|
-
import * as i10 from "@ngx-translate/core";
|
|
18
|
-
function MapDetailsToolComponent_igo_layer_list_0_ng_template_1_Template(rf, ctx) { if (rf & 1) {
|
|
19
|
-
const _r7 = i0.ɵɵgetCurrentView();
|
|
20
|
-
i0.ɵɵelement(0, "igo-workspace-button", 4);
|
|
21
|
-
i0.ɵɵelementStart(1, "igo-export-button", 5);
|
|
22
|
-
i0.ɵɵlistener("click", function MapDetailsToolComponent_igo_layer_list_0_ng_template_1_Template_igo_export_button_click_1_listener() { const restoredCtx = i0.ɵɵrestoreView(_r7); const layer_r5 = restoredCtx.layer; const ctx_r6 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r6.activateExport(layer_r5)); });
|
|
23
|
-
i0.ɵɵelementEnd();
|
|
24
|
-
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);
|
|
25
|
-
} if (rf & 2) {
|
|
26
|
-
const layer_r5 = ctx.layer;
|
|
27
|
-
const ctx_r4 = i0.ɵɵnextContext(2);
|
|
28
|
-
i0.ɵɵproperty("layer", layer_r5);
|
|
29
|
-
i0.ɵɵadvance(1);
|
|
30
|
-
i0.ɵɵproperty("layer", layer_r5);
|
|
31
|
-
i0.ɵɵadvance(1);
|
|
32
|
-
i0.ɵɵproperty("header", ctx_r4.ogcButton)("layer", layer_r5);
|
|
33
|
-
i0.ɵɵadvance(1);
|
|
34
|
-
i0.ɵɵproperty("header", ctx_r4.timeButton)("layer", layer_r5);
|
|
35
|
-
i0.ɵɵadvance(1);
|
|
36
|
-
i0.ɵɵproperty("trackFeature", true)("layer", layer_r5);
|
|
37
|
-
i0.ɵɵadvance(1);
|
|
38
|
-
i0.ɵɵproperty("layer", layer_r5);
|
|
39
|
-
} }
|
|
40
|
-
function MapDetailsToolComponent_igo_layer_list_0_Template(rf, ctx) { if (rf & 1) {
|
|
41
|
-
i0.ɵɵelementStart(0, "igo-layer-list", 2);
|
|
42
|
-
i0.ɵɵtemplate(1, MapDetailsToolComponent_igo_layer_list_0_ng_template_1_Template, 6, 9, "ng-template", null, 3, i0.ɵɵtemplateRefExtractor);
|
|
43
|
-
i0.ɵɵelementEnd();
|
|
44
|
-
} if (rf & 2) {
|
|
45
|
-
const ctx_r0 = i0.ɵɵnextContext();
|
|
46
|
-
i0.ɵɵproperty("map", ctx_r0.map)("excludeBaseLayers", ctx_r0.excludeBaseLayers)("layerFilterAndSortOptions", ctx_r0.layerFilterAndSortOptions)("expandLegendOfVisibleLayers", ctx_r0.expandLegendOfVisibleLayers)("toggleLegendOnVisibilityChange", ctx_r0.toggleLegendOnVisibilityChange)("updateLegendOnResolutionChange", ctx_r0.updateLegendOnResolutionChange)("queryBadge", ctx_r0.queryBadge);
|
|
47
|
-
} }
|
|
48
|
-
function MapDetailsToolComponent_ng_template_2_mat_list_0_p_4_Template(rf, ctx) { if (rf & 1) {
|
|
49
|
-
i0.ɵɵelementStart(0, "p", 9);
|
|
50
|
-
i0.ɵɵtext(1);
|
|
51
|
-
i0.ɵɵpipe(2, "translate");
|
|
52
|
-
i0.ɵɵelementEnd();
|
|
53
|
-
} if (rf & 2) {
|
|
54
|
-
i0.ɵɵadvance(1);
|
|
55
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 1, "igo.integration.mapTool.customize"), "");
|
|
56
|
-
} }
|
|
57
|
-
function MapDetailsToolComponent_ng_template_2_mat_list_0_mat_list_item_5_Template(rf, ctx) { if (rf & 1) {
|
|
58
|
-
const _r14 = i0.ɵɵgetCurrentView();
|
|
59
|
-
i0.ɵɵelementStart(0, "mat-list-item")(1, "mat-icon", 11);
|
|
60
|
-
i0.ɵɵnamespaceSVG();
|
|
61
|
-
i0.ɵɵelementStart(2, "svg", 12);
|
|
62
|
-
i0.ɵɵelement(3, "path", 13);
|
|
63
|
-
i0.ɵɵelementEnd()();
|
|
64
|
-
i0.ɵɵnamespaceHTML();
|
|
65
|
-
i0.ɵɵelementStart(4, "h4", 14);
|
|
66
|
-
i0.ɵɵlistener("click", function MapDetailsToolComponent_ng_template_2_mat_list_0_mat_list_item_5_Template_h4_click_4_listener() { i0.ɵɵrestoreView(_r14); const ctx_r13 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r13.searchEmit()); });
|
|
67
|
-
i0.ɵɵtext(5);
|
|
68
|
-
i0.ɵɵpipe(6, "translate");
|
|
69
|
-
i0.ɵɵelementEnd()();
|
|
70
|
-
} if (rf & 2) {
|
|
71
|
-
i0.ɵɵadvance(5);
|
|
72
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 1, "igo.integration.mapTool.search-tool"), " ");
|
|
73
|
-
} }
|
|
74
|
-
function MapDetailsToolComponent_ng_template_2_mat_list_0_mat_list_item_6_Template(rf, ctx) { if (rf & 1) {
|
|
75
|
-
const _r16 = i0.ɵɵgetCurrentView();
|
|
76
|
-
i0.ɵɵelementStart(0, "mat-list-item")(1, "mat-icon", 11);
|
|
77
|
-
i0.ɵɵnamespaceSVG();
|
|
78
|
-
i0.ɵɵelementStart(2, "svg", 12);
|
|
79
|
-
i0.ɵɵelement(3, "path", 15);
|
|
80
|
-
i0.ɵɵelementEnd()();
|
|
81
|
-
i0.ɵɵnamespaceHTML();
|
|
82
|
-
i0.ɵɵelementStart(4, "h4", 16);
|
|
83
|
-
i0.ɵɵlistener("click", function MapDetailsToolComponent_ng_template_2_mat_list_0_mat_list_item_6_Template_h4_click_4_listener() { i0.ɵɵrestoreView(_r16); const ctx_r15 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r15.catalogEmit()); });
|
|
84
|
-
i0.ɵɵtext(5);
|
|
85
|
-
i0.ɵɵpipe(6, "translate");
|
|
86
|
-
i0.ɵɵelementEnd()();
|
|
87
|
-
} if (rf & 2) {
|
|
88
|
-
i0.ɵɵadvance(5);
|
|
89
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 1, "igo.integration.mapTool.catalog-tool"), " ");
|
|
90
|
-
} }
|
|
91
|
-
function MapDetailsToolComponent_ng_template_2_mat_list_0_mat_list_item_7_Template(rf, ctx) { if (rf & 1) {
|
|
92
|
-
const _r18 = i0.ɵɵgetCurrentView();
|
|
93
|
-
i0.ɵɵelementStart(0, "mat-list-item")(1, "mat-icon", 11);
|
|
94
|
-
i0.ɵɵnamespaceSVG();
|
|
95
|
-
i0.ɵɵelementStart(2, "svg", 12);
|
|
96
|
-
i0.ɵɵelement(3, "path", 17);
|
|
97
|
-
i0.ɵɵelementEnd()();
|
|
98
|
-
i0.ɵɵnamespaceHTML();
|
|
99
|
-
i0.ɵɵelementStart(4, "h4", 18);
|
|
100
|
-
i0.ɵɵlistener("click", function MapDetailsToolComponent_ng_template_2_mat_list_0_mat_list_item_7_Template_h4_click_4_listener() { i0.ɵɵrestoreView(_r18); const ctx_r17 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r17.contextEmit()); });
|
|
101
|
-
i0.ɵɵtext(5);
|
|
102
|
-
i0.ɵɵpipe(6, "translate");
|
|
103
|
-
i0.ɵɵelementEnd()();
|
|
104
|
-
} if (rf & 2) {
|
|
105
|
-
i0.ɵɵadvance(5);
|
|
106
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 1, "igo.integration.mapTool.context-tool"), " ");
|
|
107
|
-
} }
|
|
108
|
-
function MapDetailsToolComponent_ng_template_2_mat_list_0_Template(rf, ctx) { if (rf & 1) {
|
|
109
|
-
i0.ɵɵelementStart(0, "mat-list")(1, "p", 9);
|
|
110
|
-
i0.ɵɵtext(2);
|
|
111
|
-
i0.ɵɵpipe(3, "translate");
|
|
112
|
-
i0.ɵɵelementEnd();
|
|
113
|
-
i0.ɵɵtemplate(4, MapDetailsToolComponent_ng_template_2_mat_list_0_p_4_Template, 3, 3, "p", 10);
|
|
114
|
-
i0.ɵɵtemplate(5, MapDetailsToolComponent_ng_template_2_mat_list_0_mat_list_item_5_Template, 7, 3, "mat-list-item", 8);
|
|
115
|
-
i0.ɵɵtemplate(6, MapDetailsToolComponent_ng_template_2_mat_list_0_mat_list_item_6_Template, 7, 3, "mat-list-item", 8);
|
|
116
|
-
i0.ɵɵtemplate(7, MapDetailsToolComponent_ng_template_2_mat_list_0_mat_list_item_7_Template, 7, 3, "mat-list-item", 8);
|
|
117
|
-
i0.ɵɵelementEnd();
|
|
118
|
-
} if (rf & 2) {
|
|
119
|
-
const ctx_r8 = i0.ɵɵnextContext(2);
|
|
120
|
-
i0.ɵɵadvance(2);
|
|
121
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 5, "igo.integration.mapTool.empty"), "");
|
|
122
|
-
i0.ɵɵadvance(2);
|
|
123
|
-
i0.ɵɵproperty("ngIf", ctx_r8.layerAdditionAllowed && (ctx_r8.searchToolInToolbar || ctx_r8.catalogToolInToolbar || ctx_r8.contextToolInToolbar));
|
|
124
|
-
i0.ɵɵadvance(1);
|
|
125
|
-
i0.ɵɵproperty("ngIf", ctx_r8.layerAdditionAllowed && ctx_r8.searchToolInToolbar);
|
|
126
|
-
i0.ɵɵadvance(1);
|
|
127
|
-
i0.ɵɵproperty("ngIf", ctx_r8.layerAdditionAllowed && ctx_r8.catalogToolInToolbar);
|
|
128
|
-
i0.ɵɵadvance(1);
|
|
129
|
-
i0.ɵɵproperty("ngIf", ctx_r8.layerAdditionAllowed && ctx_r8.contextToolInToolbar);
|
|
130
|
-
} }
|
|
131
|
-
function MapDetailsToolComponent_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
|
132
|
-
i0.ɵɵtemplate(0, MapDetailsToolComponent_ng_template_2_mat_list_0_Template, 8, 7, "mat-list", 8);
|
|
133
|
-
} if (rf & 2) {
|
|
134
|
-
const ctx_r2 = i0.ɵɵnextContext();
|
|
135
|
-
i0.ɵɵproperty("ngIf", ctx_r2.delayedShowEmptyMapContent);
|
|
136
|
-
} }
|
|
137
|
-
let MapDetailsToolComponent = class MapDetailsToolComponent {
|
|
138
|
-
constructor(mapState, toolState, searchSourceService, cdRef, importExportState) {
|
|
139
|
-
this.mapState = mapState;
|
|
140
|
-
this.toolState = toolState;
|
|
141
|
-
this.searchSourceService = searchSourceService;
|
|
142
|
-
this.cdRef = cdRef;
|
|
143
|
-
this.importExportState = importExportState;
|
|
144
|
-
this.delayedShowEmptyMapContent = false;
|
|
145
|
-
this.toggleLegendOnVisibilityChange = false;
|
|
146
|
-
this.expandLegendOfVisibleLayers = false;
|
|
147
|
-
this.updateLegendOnResolutionChange = false;
|
|
148
|
-
this.ogcButton = true;
|
|
149
|
-
this.timeButton = true;
|
|
150
|
-
this.layerListControls = {};
|
|
151
|
-
this.queryBadge = false;
|
|
152
|
-
this.layerAdditionAllowed = true;
|
|
153
|
-
}
|
|
154
|
-
get map() {
|
|
155
|
-
return this.mapState.map;
|
|
156
|
-
}
|
|
157
|
-
get layers$() {
|
|
158
|
-
return this.map.layers$.pipe(map((layers) => layers.filter((layer) => layer.showInLayerList !== false &&
|
|
159
|
-
(!this.excludeBaseLayers || !layer.baseLayer))));
|
|
160
|
-
}
|
|
161
|
-
get excludeBaseLayers() {
|
|
162
|
-
return this.layerListControls.excludeBaseLayers || false;
|
|
163
|
-
}
|
|
164
|
-
get layerFilterAndSortOptions() {
|
|
165
|
-
const filterSortOptions = Object.assign({
|
|
166
|
-
showToolbar: LayerListControlsEnum.default
|
|
167
|
-
}, this.layerListControls);
|
|
168
|
-
switch (this.layerListControls.showToolbar) {
|
|
169
|
-
case LayerListControlsEnum.always:
|
|
170
|
-
filterSortOptions.showToolbar = LayerListControlsEnum.always;
|
|
171
|
-
break;
|
|
172
|
-
case LayerListControlsEnum.never:
|
|
173
|
-
filterSortOptions.showToolbar = LayerListControlsEnum.never;
|
|
174
|
-
break;
|
|
175
|
-
default:
|
|
176
|
-
break;
|
|
177
|
-
}
|
|
178
|
-
return filterSortOptions;
|
|
179
|
-
}
|
|
180
|
-
get searchToolInToolbar() {
|
|
181
|
-
return (this.toolState.toolbox.getToolbar().indexOf('searchResults') !== -1 &&
|
|
182
|
-
this.searchSourceService
|
|
183
|
-
.getSources()
|
|
184
|
-
.filter(sourceCanSearch)
|
|
185
|
-
.filter((s) => s.available && s.getType() === 'Layer').length > 0);
|
|
186
|
-
}
|
|
187
|
-
get catalogToolInToolbar() {
|
|
188
|
-
return this.toolState.toolbox.getToolbar().indexOf('catalog') !== -1;
|
|
189
|
-
}
|
|
190
|
-
get contextToolInToolbar() {
|
|
191
|
-
return this.toolState.toolbox.getToolbar().indexOf('contextManager') !== -1;
|
|
192
|
-
}
|
|
193
|
-
ngOnInit() {
|
|
194
|
-
// prevent message to be shown too quickly. Waiting for layers
|
|
195
|
-
setTimeout(() => {
|
|
196
|
-
this.delayedShowEmptyMapContent = true;
|
|
197
|
-
this.cdRef.detectChanges();
|
|
198
|
-
}, 250);
|
|
199
|
-
}
|
|
200
|
-
searchEmit() {
|
|
201
|
-
this.toolState.toolbox.activateTool('searchResults');
|
|
202
|
-
}
|
|
203
|
-
catalogEmit() {
|
|
204
|
-
this.toolState.toolbox.activateTool('catalog');
|
|
205
|
-
}
|
|
206
|
-
contextEmit() {
|
|
207
|
-
this.toolState.toolbox.activateTool('contextManager');
|
|
208
|
-
}
|
|
209
|
-
activateExport(layer) {
|
|
210
|
-
let id = layer.id;
|
|
211
|
-
if (layer.options.workspace?.workspaceId) {
|
|
212
|
-
id = layer.options.workspace.workspaceId !== layer.id ? layer.options.workspace.workspaceId : layer.id;
|
|
213
|
-
}
|
|
214
|
-
this.importExportState.setsExportOptions({ layers: [id] });
|
|
215
|
-
this.importExportState.setMode(ImportExportMode.export);
|
|
216
|
-
this.toolState.toolbox.activateTool('importExport');
|
|
217
|
-
}
|
|
218
|
-
};
|
|
219
|
-
MapDetailsToolComponent.ɵfac = function MapDetailsToolComponent_Factory(t) { return new (t || MapDetailsToolComponent)(i0.ɵɵdirectiveInject(i1.MapState), i0.ɵɵdirectiveInject(i2.ToolState), i0.ɵɵdirectiveInject(i3.SearchSourceService), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i4.ImportExportState)); };
|
|
220
|
-
MapDetailsToolComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: 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) { if (rf & 1) {
|
|
221
|
-
i0.ɵɵtemplate(0, MapDetailsToolComponent_igo_layer_list_0_Template, 3, 7, "igo-layer-list", 0);
|
|
222
|
-
i0.ɵɵpipe(1, "async");
|
|
223
|
-
i0.ɵɵtemplate(2, MapDetailsToolComponent_ng_template_2_Template, 1, 1, "ng-template", null, 1, i0.ɵɵtemplateRefExtractor);
|
|
224
|
-
} if (rf & 2) {
|
|
225
|
-
const _r1 = i0.ɵɵreference(3);
|
|
226
|
-
i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(1, 2, ctx.layers$).length)("ngIfElse", _r1);
|
|
227
|
-
} }, dependencies: [i5.NgIf, i6.MatList, i6.MatListItem, i7.MatLine, i6.MatListIconCssMatStyler, i8.MatIcon, i3.LayerListComponent, i3.LayerListBindingDirective, i3.TrackFeatureButtonComponent, i3.MetadataButtonComponent, i3.ExportButtonComponent, i3.TimeFilterButtonComponent, i3.OgcFilterButtonComponent, i9.WorkspaceButtonComponent, i5.AsyncPipe, i10.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:700}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}"] });
|
|
228
|
-
MapDetailsToolComponent = __decorate([
|
|
229
|
-
ToolComponent({
|
|
230
|
-
name: 'mapDetails',
|
|
231
|
-
title: 'igo.integration.tools.map',
|
|
232
|
-
icon: 'map'
|
|
233
|
-
})
|
|
234
|
-
], MapDetailsToolComponent);
|
|
235
|
-
export { MapDetailsToolComponent };
|
|
236
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MapDetailsToolComponent, [{
|
|
237
|
-
type: Component,
|
|
238
|
-
args: [{ selector: 'igo-map-details-tool', template: "<igo-layer-list class=\"mapDetailsList\" *ngIf=\"(layers$ | async).length; else empty\"\n [map]=\"map\"\n igoLayerListBinding\n [excludeBaseLayers]=\"excludeBaseLayers\"\n [layerFilterAndSortOptions]=\"layerFilterAndSortOptions\"\n [expandLegendOfVisibleLayers]=\"expandLegendOfVisibleLayers\"\n [toggleLegendOnVisibilityChange]=\"toggleLegendOnVisibilityChange\"\n [updateLegendOnResolutionChange]=\"updateLegendOnResolutionChange\"\n floatLabel=\"never\"\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\n<ng-template #empty>\n <mat-list *ngIf=\"delayedShowEmptyMapContent\">\n <p class=\"map-empty mat-typography\">\n {{'igo.integration.mapTool.empty' | translate}}</p>\n <p *ngIf=\"layerAdditionAllowed && (searchToolInToolbar || catalogToolInToolbar || contextToolInToolbar)\" class=\"map-empty mat-typography\">\n {{'igo.integration.mapTool.customize' | translate}}</p>\n <mat-list-item *ngIf=\"layerAdditionAllowed && searchToolInToolbar\">\n <mat-icon mat-list-icon> <svg viewBox='0 0 24 24' fit='' height='100%' width='100%' preserveAspectRatio='xMidYMid meet' focusable='false'> <path 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'> </path> </svg></mat-icon>\n <h4 matLine class=\"search-tool mat-typography\" (click)=\"searchEmit()\">\n {{'igo.integration.mapTool.search-tool' | translate}}\n </h4>\n </mat-list-item>\n <mat-list-item *ngIf=\"layerAdditionAllowed && catalogToolInToolbar\">\n <mat-icon mat-list-icon> <svg viewBox='0 0 24 24' fit='' height='100%' width='100%' preserveAspectRatio='xMidYMid meet' focusable='false'> <path 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'></path> </svg></mat-icon>\n <h4 matLine class=\"catalog-tool mat-typography\" (click)=\"catalogEmit()\">\n {{'igo.integration.mapTool.catalog-tool' | translate}}\n </h4>\n </mat-list-item>\n <mat-list-item *ngIf=\"layerAdditionAllowed && contextToolInToolbar\">\n <mat-icon mat-list-icon> <svg viewBox='0 0 24 24' fit='' height='100%' width='100%' preserveAspectRatio='xMidYMid meet' focusable='false'> <path 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'></path> </svg></mat-icon>\n <h4 matLine class=\"context-tool mat-typography\" (click)=\"contextEmit()\">\n {{'igo.integration.mapTool.context-tool' | translate}}\n </h4>\n </mat-list-item>\n </mat-list>\n</ng-template>\n", styles: [".map-empty,.search-tool,.catalog-tool,.context-tool{margin:10px}.map-empty{text-align:justify}.search-tool,.catalog-tool,.context-tool{cursor:pointer}mat-list mat-list-item h4{font-weight:700}mat-list-item ::ng-deep .mat-list-text{font-size:smaller}mat-list.mat-list-base mat-list-item.mat-list-item ::ng-deep div.mat-list-item-content div.mat-list-text{padding-left:5px}.mapDetailsList{overflow:hidden}\n"] }]
|
|
239
|
-
}], function () { return [{ type: i1.MapState }, { type: i2.ToolState }, { type: i3.SearchSourceService }, { type: i0.ChangeDetectorRef }, { type: i4.ImportExportState }]; }, { toggleLegendOnVisibilityChange: [{
|
|
240
|
-
type: Input
|
|
241
|
-
}], expandLegendOfVisibleLayers: [{
|
|
242
|
-
type: Input
|
|
243
|
-
}], updateLegendOnResolutionChange: [{
|
|
244
|
-
type: Input
|
|
245
|
-
}], ogcButton: [{
|
|
246
|
-
type: Input
|
|
247
|
-
}], timeButton: [{
|
|
248
|
-
type: Input
|
|
249
|
-
}], layerListControls: [{
|
|
250
|
-
type: Input
|
|
251
|
-
}], queryBadge: [{
|
|
252
|
-
type: Input
|
|
253
|
-
}], layerAdditionAllowed: [{
|
|
254
|
-
type: Input
|
|
255
|
-
}] }); })();
|
|
1
|
+
import { __decorate } from "tslib";
|
|
2
|
+
import { Component, Input } from '@angular/core';
|
|
3
|
+
import { map } from 'rxjs/operators';
|
|
4
|
+
import { ToolComponent } from '@igo2/common';
|
|
5
|
+
import { LayerListControlsEnum, sourceCanSearch } from '@igo2/geo';
|
|
6
|
+
import { ImportExportMode } from '../../import-export/import-export.state';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
import * as i1 from "./../map.state";
|
|
9
|
+
import * as i2 from "./../../tool/tool.state";
|
|
10
|
+
import * as i3 from "@igo2/geo";
|
|
11
|
+
import * as i4 from "../../import-export/import-export.state";
|
|
12
|
+
import * as i5 from "@angular/common";
|
|
13
|
+
import * as i6 from "@angular/material/list";
|
|
14
|
+
import * as i7 from "@angular/material/core";
|
|
15
|
+
import * as i8 from "@angular/material/icon";
|
|
16
|
+
import * as i9 from "../../workspace/workspace-button/workspace-button.component";
|
|
17
|
+
import * as i10 from "@ngx-translate/core";
|
|
18
|
+
function MapDetailsToolComponent_igo_layer_list_0_ng_template_1_Template(rf, ctx) { if (rf & 1) {
|
|
19
|
+
const _r7 = i0.ɵɵgetCurrentView();
|
|
20
|
+
i0.ɵɵelement(0, "igo-workspace-button", 4);
|
|
21
|
+
i0.ɵɵelementStart(1, "igo-export-button", 5);
|
|
22
|
+
i0.ɵɵlistener("click", function MapDetailsToolComponent_igo_layer_list_0_ng_template_1_Template_igo_export_button_click_1_listener() { const restoredCtx = i0.ɵɵrestoreView(_r7); const layer_r5 = restoredCtx.layer; const ctx_r6 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r6.activateExport(layer_r5)); });
|
|
23
|
+
i0.ɵɵelementEnd();
|
|
24
|
+
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);
|
|
25
|
+
} if (rf & 2) {
|
|
26
|
+
const layer_r5 = ctx.layer;
|
|
27
|
+
const ctx_r4 = i0.ɵɵnextContext(2);
|
|
28
|
+
i0.ɵɵproperty("layer", layer_r5);
|
|
29
|
+
i0.ɵɵadvance(1);
|
|
30
|
+
i0.ɵɵproperty("layer", layer_r5);
|
|
31
|
+
i0.ɵɵadvance(1);
|
|
32
|
+
i0.ɵɵproperty("header", ctx_r4.ogcButton)("layer", layer_r5);
|
|
33
|
+
i0.ɵɵadvance(1);
|
|
34
|
+
i0.ɵɵproperty("header", ctx_r4.timeButton)("layer", layer_r5);
|
|
35
|
+
i0.ɵɵadvance(1);
|
|
36
|
+
i0.ɵɵproperty("trackFeature", true)("layer", layer_r5);
|
|
37
|
+
i0.ɵɵadvance(1);
|
|
38
|
+
i0.ɵɵproperty("layer", layer_r5);
|
|
39
|
+
} }
|
|
40
|
+
function MapDetailsToolComponent_igo_layer_list_0_Template(rf, ctx) { if (rf & 1) {
|
|
41
|
+
i0.ɵɵelementStart(0, "igo-layer-list", 2);
|
|
42
|
+
i0.ɵɵtemplate(1, MapDetailsToolComponent_igo_layer_list_0_ng_template_1_Template, 6, 9, "ng-template", null, 3, i0.ɵɵtemplateRefExtractor);
|
|
43
|
+
i0.ɵɵelementEnd();
|
|
44
|
+
} if (rf & 2) {
|
|
45
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
46
|
+
i0.ɵɵproperty("map", ctx_r0.map)("excludeBaseLayers", ctx_r0.excludeBaseLayers)("layerFilterAndSortOptions", ctx_r0.layerFilterAndSortOptions)("expandLegendOfVisibleLayers", ctx_r0.expandLegendOfVisibleLayers)("toggleLegendOnVisibilityChange", ctx_r0.toggleLegendOnVisibilityChange)("updateLegendOnResolutionChange", ctx_r0.updateLegendOnResolutionChange)("queryBadge", ctx_r0.queryBadge);
|
|
47
|
+
} }
|
|
48
|
+
function MapDetailsToolComponent_ng_template_2_mat_list_0_p_4_Template(rf, ctx) { if (rf & 1) {
|
|
49
|
+
i0.ɵɵelementStart(0, "p", 9);
|
|
50
|
+
i0.ɵɵtext(1);
|
|
51
|
+
i0.ɵɵpipe(2, "translate");
|
|
52
|
+
i0.ɵɵelementEnd();
|
|
53
|
+
} if (rf & 2) {
|
|
54
|
+
i0.ɵɵadvance(1);
|
|
55
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 1, "igo.integration.mapTool.customize"), "");
|
|
56
|
+
} }
|
|
57
|
+
function MapDetailsToolComponent_ng_template_2_mat_list_0_mat_list_item_5_Template(rf, ctx) { if (rf & 1) {
|
|
58
|
+
const _r14 = i0.ɵɵgetCurrentView();
|
|
59
|
+
i0.ɵɵelementStart(0, "mat-list-item")(1, "mat-icon", 11);
|
|
60
|
+
i0.ɵɵnamespaceSVG();
|
|
61
|
+
i0.ɵɵelementStart(2, "svg", 12);
|
|
62
|
+
i0.ɵɵelement(3, "path", 13);
|
|
63
|
+
i0.ɵɵelementEnd()();
|
|
64
|
+
i0.ɵɵnamespaceHTML();
|
|
65
|
+
i0.ɵɵelementStart(4, "h4", 14);
|
|
66
|
+
i0.ɵɵlistener("click", function MapDetailsToolComponent_ng_template_2_mat_list_0_mat_list_item_5_Template_h4_click_4_listener() { i0.ɵɵrestoreView(_r14); const ctx_r13 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r13.searchEmit()); });
|
|
67
|
+
i0.ɵɵtext(5);
|
|
68
|
+
i0.ɵɵpipe(6, "translate");
|
|
69
|
+
i0.ɵɵelementEnd()();
|
|
70
|
+
} if (rf & 2) {
|
|
71
|
+
i0.ɵɵadvance(5);
|
|
72
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 1, "igo.integration.mapTool.search-tool"), " ");
|
|
73
|
+
} }
|
|
74
|
+
function MapDetailsToolComponent_ng_template_2_mat_list_0_mat_list_item_6_Template(rf, ctx) { if (rf & 1) {
|
|
75
|
+
const _r16 = i0.ɵɵgetCurrentView();
|
|
76
|
+
i0.ɵɵelementStart(0, "mat-list-item")(1, "mat-icon", 11);
|
|
77
|
+
i0.ɵɵnamespaceSVG();
|
|
78
|
+
i0.ɵɵelementStart(2, "svg", 12);
|
|
79
|
+
i0.ɵɵelement(3, "path", 15);
|
|
80
|
+
i0.ɵɵelementEnd()();
|
|
81
|
+
i0.ɵɵnamespaceHTML();
|
|
82
|
+
i0.ɵɵelementStart(4, "h4", 16);
|
|
83
|
+
i0.ɵɵlistener("click", function MapDetailsToolComponent_ng_template_2_mat_list_0_mat_list_item_6_Template_h4_click_4_listener() { i0.ɵɵrestoreView(_r16); const ctx_r15 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r15.catalogEmit()); });
|
|
84
|
+
i0.ɵɵtext(5);
|
|
85
|
+
i0.ɵɵpipe(6, "translate");
|
|
86
|
+
i0.ɵɵelementEnd()();
|
|
87
|
+
} if (rf & 2) {
|
|
88
|
+
i0.ɵɵadvance(5);
|
|
89
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 1, "igo.integration.mapTool.catalog-tool"), " ");
|
|
90
|
+
} }
|
|
91
|
+
function MapDetailsToolComponent_ng_template_2_mat_list_0_mat_list_item_7_Template(rf, ctx) { if (rf & 1) {
|
|
92
|
+
const _r18 = i0.ɵɵgetCurrentView();
|
|
93
|
+
i0.ɵɵelementStart(0, "mat-list-item")(1, "mat-icon", 11);
|
|
94
|
+
i0.ɵɵnamespaceSVG();
|
|
95
|
+
i0.ɵɵelementStart(2, "svg", 12);
|
|
96
|
+
i0.ɵɵelement(3, "path", 17);
|
|
97
|
+
i0.ɵɵelementEnd()();
|
|
98
|
+
i0.ɵɵnamespaceHTML();
|
|
99
|
+
i0.ɵɵelementStart(4, "h4", 18);
|
|
100
|
+
i0.ɵɵlistener("click", function MapDetailsToolComponent_ng_template_2_mat_list_0_mat_list_item_7_Template_h4_click_4_listener() { i0.ɵɵrestoreView(_r18); const ctx_r17 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r17.contextEmit()); });
|
|
101
|
+
i0.ɵɵtext(5);
|
|
102
|
+
i0.ɵɵpipe(6, "translate");
|
|
103
|
+
i0.ɵɵelementEnd()();
|
|
104
|
+
} if (rf & 2) {
|
|
105
|
+
i0.ɵɵadvance(5);
|
|
106
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 1, "igo.integration.mapTool.context-tool"), " ");
|
|
107
|
+
} }
|
|
108
|
+
function MapDetailsToolComponent_ng_template_2_mat_list_0_Template(rf, ctx) { if (rf & 1) {
|
|
109
|
+
i0.ɵɵelementStart(0, "mat-list")(1, "p", 9);
|
|
110
|
+
i0.ɵɵtext(2);
|
|
111
|
+
i0.ɵɵpipe(3, "translate");
|
|
112
|
+
i0.ɵɵelementEnd();
|
|
113
|
+
i0.ɵɵtemplate(4, MapDetailsToolComponent_ng_template_2_mat_list_0_p_4_Template, 3, 3, "p", 10);
|
|
114
|
+
i0.ɵɵtemplate(5, MapDetailsToolComponent_ng_template_2_mat_list_0_mat_list_item_5_Template, 7, 3, "mat-list-item", 8);
|
|
115
|
+
i0.ɵɵtemplate(6, MapDetailsToolComponent_ng_template_2_mat_list_0_mat_list_item_6_Template, 7, 3, "mat-list-item", 8);
|
|
116
|
+
i0.ɵɵtemplate(7, MapDetailsToolComponent_ng_template_2_mat_list_0_mat_list_item_7_Template, 7, 3, "mat-list-item", 8);
|
|
117
|
+
i0.ɵɵelementEnd();
|
|
118
|
+
} if (rf & 2) {
|
|
119
|
+
const ctx_r8 = i0.ɵɵnextContext(2);
|
|
120
|
+
i0.ɵɵadvance(2);
|
|
121
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 5, "igo.integration.mapTool.empty"), "");
|
|
122
|
+
i0.ɵɵadvance(2);
|
|
123
|
+
i0.ɵɵproperty("ngIf", ctx_r8.layerAdditionAllowed && (ctx_r8.searchToolInToolbar || ctx_r8.catalogToolInToolbar || ctx_r8.contextToolInToolbar));
|
|
124
|
+
i0.ɵɵadvance(1);
|
|
125
|
+
i0.ɵɵproperty("ngIf", ctx_r8.layerAdditionAllowed && ctx_r8.searchToolInToolbar);
|
|
126
|
+
i0.ɵɵadvance(1);
|
|
127
|
+
i0.ɵɵproperty("ngIf", ctx_r8.layerAdditionAllowed && ctx_r8.catalogToolInToolbar);
|
|
128
|
+
i0.ɵɵadvance(1);
|
|
129
|
+
i0.ɵɵproperty("ngIf", ctx_r8.layerAdditionAllowed && ctx_r8.contextToolInToolbar);
|
|
130
|
+
} }
|
|
131
|
+
function MapDetailsToolComponent_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
|
132
|
+
i0.ɵɵtemplate(0, MapDetailsToolComponent_ng_template_2_mat_list_0_Template, 8, 7, "mat-list", 8);
|
|
133
|
+
} if (rf & 2) {
|
|
134
|
+
const ctx_r2 = i0.ɵɵnextContext();
|
|
135
|
+
i0.ɵɵproperty("ngIf", ctx_r2.delayedShowEmptyMapContent);
|
|
136
|
+
} }
|
|
137
|
+
let MapDetailsToolComponent = class MapDetailsToolComponent {
|
|
138
|
+
constructor(mapState, toolState, searchSourceService, cdRef, importExportState) {
|
|
139
|
+
this.mapState = mapState;
|
|
140
|
+
this.toolState = toolState;
|
|
141
|
+
this.searchSourceService = searchSourceService;
|
|
142
|
+
this.cdRef = cdRef;
|
|
143
|
+
this.importExportState = importExportState;
|
|
144
|
+
this.delayedShowEmptyMapContent = false;
|
|
145
|
+
this.toggleLegendOnVisibilityChange = false;
|
|
146
|
+
this.expandLegendOfVisibleLayers = false;
|
|
147
|
+
this.updateLegendOnResolutionChange = false;
|
|
148
|
+
this.ogcButton = true;
|
|
149
|
+
this.timeButton = true;
|
|
150
|
+
this.layerListControls = {};
|
|
151
|
+
this.queryBadge = false;
|
|
152
|
+
this.layerAdditionAllowed = true;
|
|
153
|
+
}
|
|
154
|
+
get map() {
|
|
155
|
+
return this.mapState.map;
|
|
156
|
+
}
|
|
157
|
+
get layers$() {
|
|
158
|
+
return this.map.layers$.pipe(map((layers) => layers.filter((layer) => layer.showInLayerList !== false &&
|
|
159
|
+
(!this.excludeBaseLayers || !layer.baseLayer))));
|
|
160
|
+
}
|
|
161
|
+
get excludeBaseLayers() {
|
|
162
|
+
return this.layerListControls.excludeBaseLayers || false;
|
|
163
|
+
}
|
|
164
|
+
get layerFilterAndSortOptions() {
|
|
165
|
+
const filterSortOptions = Object.assign({
|
|
166
|
+
showToolbar: LayerListControlsEnum.default
|
|
167
|
+
}, this.layerListControls);
|
|
168
|
+
switch (this.layerListControls.showToolbar) {
|
|
169
|
+
case LayerListControlsEnum.always:
|
|
170
|
+
filterSortOptions.showToolbar = LayerListControlsEnum.always;
|
|
171
|
+
break;
|
|
172
|
+
case LayerListControlsEnum.never:
|
|
173
|
+
filterSortOptions.showToolbar = LayerListControlsEnum.never;
|
|
174
|
+
break;
|
|
175
|
+
default:
|
|
176
|
+
break;
|
|
177
|
+
}
|
|
178
|
+
return filterSortOptions;
|
|
179
|
+
}
|
|
180
|
+
get searchToolInToolbar() {
|
|
181
|
+
return (this.toolState.toolbox.getToolbar().indexOf('searchResults') !== -1 &&
|
|
182
|
+
this.searchSourceService
|
|
183
|
+
.getSources()
|
|
184
|
+
.filter(sourceCanSearch)
|
|
185
|
+
.filter((s) => s.available && s.getType() === 'Layer').length > 0);
|
|
186
|
+
}
|
|
187
|
+
get catalogToolInToolbar() {
|
|
188
|
+
return this.toolState.toolbox.getToolbar().indexOf('catalog') !== -1;
|
|
189
|
+
}
|
|
190
|
+
get contextToolInToolbar() {
|
|
191
|
+
return this.toolState.toolbox.getToolbar().indexOf('contextManager') !== -1;
|
|
192
|
+
}
|
|
193
|
+
ngOnInit() {
|
|
194
|
+
// prevent message to be shown too quickly. Waiting for layers
|
|
195
|
+
setTimeout(() => {
|
|
196
|
+
this.delayedShowEmptyMapContent = true;
|
|
197
|
+
this.cdRef.detectChanges();
|
|
198
|
+
}, 250);
|
|
199
|
+
}
|
|
200
|
+
searchEmit() {
|
|
201
|
+
this.toolState.toolbox.activateTool('searchResults');
|
|
202
|
+
}
|
|
203
|
+
catalogEmit() {
|
|
204
|
+
this.toolState.toolbox.activateTool('catalog');
|
|
205
|
+
}
|
|
206
|
+
contextEmit() {
|
|
207
|
+
this.toolState.toolbox.activateTool('contextManager');
|
|
208
|
+
}
|
|
209
|
+
activateExport(layer) {
|
|
210
|
+
let id = layer.id;
|
|
211
|
+
if (layer.options.workspace?.workspaceId) {
|
|
212
|
+
id = layer.options.workspace.workspaceId !== layer.id ? layer.options.workspace.workspaceId : layer.id;
|
|
213
|
+
}
|
|
214
|
+
this.importExportState.setsExportOptions({ layers: [id] });
|
|
215
|
+
this.importExportState.setMode(ImportExportMode.export);
|
|
216
|
+
this.toolState.toolbox.activateTool('importExport');
|
|
217
|
+
}
|
|
218
|
+
};
|
|
219
|
+
MapDetailsToolComponent.ɵfac = function MapDetailsToolComponent_Factory(t) { return new (t || MapDetailsToolComponent)(i0.ɵɵdirectiveInject(i1.MapState), i0.ɵɵdirectiveInject(i2.ToolState), i0.ɵɵdirectiveInject(i3.SearchSourceService), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i4.ImportExportState)); };
|
|
220
|
+
MapDetailsToolComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: 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) { if (rf & 1) {
|
|
221
|
+
i0.ɵɵtemplate(0, MapDetailsToolComponent_igo_layer_list_0_Template, 3, 7, "igo-layer-list", 0);
|
|
222
|
+
i0.ɵɵpipe(1, "async");
|
|
223
|
+
i0.ɵɵtemplate(2, MapDetailsToolComponent_ng_template_2_Template, 1, 1, "ng-template", null, 1, i0.ɵɵtemplateRefExtractor);
|
|
224
|
+
} if (rf & 2) {
|
|
225
|
+
const _r1 = i0.ɵɵreference(3);
|
|
226
|
+
i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(1, 2, ctx.layers$).length)("ngIfElse", _r1);
|
|
227
|
+
} }, dependencies: [i5.NgIf, i6.MatList, i6.MatListItem, i7.MatLine, i6.MatListIconCssMatStyler, i8.MatIcon, i3.LayerListComponent, i3.LayerListBindingDirective, i3.TrackFeatureButtonComponent, i3.MetadataButtonComponent, i3.ExportButtonComponent, i3.TimeFilterButtonComponent, i3.OgcFilterButtonComponent, i9.WorkspaceButtonComponent, i5.AsyncPipe, i10.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:700}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}"] });
|
|
228
|
+
MapDetailsToolComponent = __decorate([
|
|
229
|
+
ToolComponent({
|
|
230
|
+
name: 'mapDetails',
|
|
231
|
+
title: 'igo.integration.tools.map',
|
|
232
|
+
icon: 'map'
|
|
233
|
+
})
|
|
234
|
+
], MapDetailsToolComponent);
|
|
235
|
+
export { MapDetailsToolComponent };
|
|
236
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MapDetailsToolComponent, [{
|
|
237
|
+
type: Component,
|
|
238
|
+
args: [{ selector: 'igo-map-details-tool', template: "<igo-layer-list class=\"mapDetailsList\" *ngIf=\"(layers$ | async).length; else empty\"\n [map]=\"map\"\n igoLayerListBinding\n [excludeBaseLayers]=\"excludeBaseLayers\"\n [layerFilterAndSortOptions]=\"layerFilterAndSortOptions\"\n [expandLegendOfVisibleLayers]=\"expandLegendOfVisibleLayers\"\n [toggleLegendOnVisibilityChange]=\"toggleLegendOnVisibilityChange\"\n [updateLegendOnResolutionChange]=\"updateLegendOnResolutionChange\"\n floatLabel=\"never\"\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\n<ng-template #empty>\n <mat-list *ngIf=\"delayedShowEmptyMapContent\">\n <p class=\"map-empty mat-typography\">\n {{'igo.integration.mapTool.empty' | translate}}</p>\n <p *ngIf=\"layerAdditionAllowed && (searchToolInToolbar || catalogToolInToolbar || contextToolInToolbar)\" class=\"map-empty mat-typography\">\n {{'igo.integration.mapTool.customize' | translate}}</p>\n <mat-list-item *ngIf=\"layerAdditionAllowed && searchToolInToolbar\">\n <mat-icon mat-list-icon> <svg viewBox='0 0 24 24' fit='' height='100%' width='100%' preserveAspectRatio='xMidYMid meet' focusable='false'> <path 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'> </path> </svg></mat-icon>\n <h4 matLine class=\"search-tool mat-typography\" (click)=\"searchEmit()\">\n {{'igo.integration.mapTool.search-tool' | translate}}\n </h4>\n </mat-list-item>\n <mat-list-item *ngIf=\"layerAdditionAllowed && catalogToolInToolbar\">\n <mat-icon mat-list-icon> <svg viewBox='0 0 24 24' fit='' height='100%' width='100%' preserveAspectRatio='xMidYMid meet' focusable='false'> <path 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'></path> </svg></mat-icon>\n <h4 matLine class=\"catalog-tool mat-typography\" (click)=\"catalogEmit()\">\n {{'igo.integration.mapTool.catalog-tool' | translate}}\n </h4>\n </mat-list-item>\n <mat-list-item *ngIf=\"layerAdditionAllowed && contextToolInToolbar\">\n <mat-icon mat-list-icon> <svg viewBox='0 0 24 24' fit='' height='100%' width='100%' preserveAspectRatio='xMidYMid meet' focusable='false'> <path 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'></path> </svg></mat-icon>\n <h4 matLine class=\"context-tool mat-typography\" (click)=\"contextEmit()\">\n {{'igo.integration.mapTool.context-tool' | translate}}\n </h4>\n </mat-list-item>\n </mat-list>\n</ng-template>\n", styles: [".map-empty,.search-tool,.catalog-tool,.context-tool{margin:10px}.map-empty{text-align:justify}.search-tool,.catalog-tool,.context-tool{cursor:pointer}mat-list mat-list-item h4{font-weight:700}mat-list-item ::ng-deep .mat-list-text{font-size:smaller}mat-list.mat-list-base mat-list-item.mat-list-item ::ng-deep div.mat-list-item-content div.mat-list-text{padding-left:5px}.mapDetailsList{overflow:hidden}\n"] }]
|
|
239
|
+
}], function () { return [{ type: i1.MapState }, { type: i2.ToolState }, { type: i3.SearchSourceService }, { type: i0.ChangeDetectorRef }, { type: i4.ImportExportState }]; }, { toggleLegendOnVisibilityChange: [{
|
|
240
|
+
type: Input
|
|
241
|
+
}], expandLegendOfVisibleLayers: [{
|
|
242
|
+
type: Input
|
|
243
|
+
}], updateLegendOnResolutionChange: [{
|
|
244
|
+
type: Input
|
|
245
|
+
}], ogcButton: [{
|
|
246
|
+
type: Input
|
|
247
|
+
}], timeButton: [{
|
|
248
|
+
type: Input
|
|
249
|
+
}], layerListControls: [{
|
|
250
|
+
type: Input
|
|
251
|
+
}], queryBadge: [{
|
|
252
|
+
type: Input
|
|
253
|
+
}], layerAdditionAllowed: [{
|
|
254
|
+
type: Input
|
|
255
|
+
}] }); })();
|
|
256
256
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWFwLWRldGFpbHMtdG9vbC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9pbnRlZ3JhdGlvbi9zcmMvbGliL21hcC9tYXAtZGV0YWlscy10b29sL21hcC1kZXRhaWxzLXRvb2wuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvaW50ZWdyYXRpb24vc3JjL2xpYi9tYXAvbWFwLWRldGFpbHMtdG9vbC9tYXAtZGV0YWlscy10b29sLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLEtBQUssRUFBNkIsTUFBTSxlQUFlLENBQUM7QUFFNUUsT0FBTyxFQUFFLEdBQUcsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBRXJDLE9BQU8sRUFBRSxhQUFhLEVBQUUsTUFBTSxjQUFjLENBQUM7QUFDN0MsT0FBTyxFQUNMLHFCQUFxQixFQUtyQixlQUFlLEVBRWhCLE1BQU0sV0FBVyxDQUFDO0FBSW5CLE9BQU8sRUFBRSxnQkFBZ0IsRUFBcUIsTUFBTSx5Q0FBeUMsQ0FBQzs7Ozs7Ozs7Ozs7Ozs7SUNKekYsMENBQTZEO0lBQzlELDRDQUFtRTtJQUFoQ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ID0gZmFsc2U7XG5cbiAgQElucHV0KCkgdXBkYXRlTGVnZW5kT25SZXNvbHV0aW9uQ2hhbmdlOiBib29sZWFuID0gZmFsc2U7XG5cbiAgQElucHV0KCkgb2djQnV0dG9uOiBib29sZWFuID0gdHJ1ZTtcblxuICBASW5wdXQoKSB0aW1lQnV0dG9uOiBib29sZWFuID0gdHJ1ZTtcblxuICBASW5wdXQoKSBsYXllckxpc3RDb250cm9sczogTGF5ZXJMaXN0Q29udHJvbHNPcHRpb25zID0ge307XG5cbiAgQElucHV0KCkgcXVlcnlCYWRnZTogYm9vbGVhbiA9IGZhbHNlO1xuXG4gIEBJbnB1dCgpIGxheWVyQWRkaXRpb25BbGxvd2VkOiBib29sZWFuID0gdHJ1ZTtcblxuICBnZXQgbWFwKCk6IElnb01hcCB7XG4gICAgcmV0dXJuIHRoaXMubWFwU3RhdGUubWFwO1xuICB9XG5cbiAgZ2V0IGxheWVycyQoKTogT2JzZXJ2YWJsZTxMYXllcltdPiB7XG4gICAgcmV0dXJuIHRoaXMubWFwLmxheWVycyQucGlwZShcbiAgICAgIG1hcCgobGF5ZXJzKSA9PlxuICAgICAgICBsYXllcnMuZmlsdGVyKFxuICAgICAgICAgIChsYXllcikgPT5cbiAgICAgICAgICAgIGxheWVyLnNob3dJbkxheWVyTGlzdCAhPT0gZmFsc2UgJiZcbiAgICAgICAgICAgICghdGhpcy5leGNsdWRlQmFzZUxheWVycyB8fCAhbGF5ZXIuYmFzZUxheWVyKVxuICAgICAgICApXG4gICAgICApXG4gICAgKTtcbiAgfVxuXG4gIGdldCBleGNsdWRlQmFzZUxheWVycygpOiBib29sZWFuIHtcbiAgICByZXR1cm4gdGhpcy5sYXllckxpc3RDb250cm9scy5leGNsdWRlQmFzZUxheWVycyB8fCBmYWxzZTtcbiAgfVxuXG4gIGdldCBsYXllckZpbHRlckFuZFNvcnRPcHRpb25zKCk6IGFueSB7XG4gICAgY29uc3QgZmlsdGVyU29ydE9wdGlvbnMgPSBPYmplY3QuYXNzaWduKFxuICAgICAge1xuICAgICAgICBzaG93VG9vbGJhcjogTGF5ZXJMaXN0Q29udHJvbHNFbnVtLmRlZmF1bHRcbiAgICAgIH0sXG4gICAgICB0aGlzLmxheWVyTGlzdENvbnRyb2xzXG4gICAgKTtcblxuICAgIHN3aXRjaCAodGhpcy5sYXllckxpc3RDb250cm9scy5zaG93VG9vbGJhcikge1xuICAgICAgY2FzZSBMYXllckxpc3RDb250cm9sc0VudW0uYWx3YXlzOlxuICAgICAgICBmaWx0ZXJTb3J0T3B0aW9ucy5zaG93VG9vbGJhciA9IExheWVyTGlzdENvbnRyb2xzRW51bS5hbHdheXM7XG4gICAgICAgIGJyZWFrO1xuICAgICAgY2FzZSBMYXllckxpc3RDb250cm9sc0VudW0ubmV2ZXI6XG4gICAgICAgIGZpbHRlclNvcnRPcHRpb25zLnNob3dUb29sYmFyID0gTGF5ZXJMaXN0Q29udHJvbHNFbnVtLm5ldmVyO1xuICAgICAgICBicmVhaztcbiAgICAgIGRlZmF1bHQ6XG4gICAgICAgIGJyZWFrO1xuICAgIH1cbiAgICByZXR1cm4gZmlsdGVyU29ydE9wdGlvbnM7XG4gIH1cblxuICBnZXQgc2VhcmNoVG9vbEluVG9vbGJhcigpOiBib29sZWFuIHtcbiAgICByZXR1cm4gKFxuICAgICAgdGhpcy50b29sU3RhdGUudG9vbGJveC5nZXRUb29sYmFyKCkuaW5kZXhPZignc2VhcmNoUmVzdWx0cycpICE9PSAtMSAmJlxuICAgICAgdGhpcy5zZWFyY2hTb3VyY2VTZXJ2aWNlXG4gICAgICAgIC5nZXRTb3VyY2VzKClcbiAgICAgICAgLmZpbHRlcihzb3VyY2VDYW5TZWFyY2gpXG4gICAgICAgIC5maWx0ZXIoKHMpID0+IHMuYXZhaWxhYmxlICYmIHMuZ2V0VHlwZSgpID09PSAnTGF5ZXInKS5sZW5ndGggPiAwXG4gICAgKTtcbiAgfVxuXG4gIGdldCBjYXRhbG9nVG9vbEluVG9vbGJhcigpOi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ICA8aDQgbWF0TGluZSBjbGFzcz1cImNhdGFsb2ctdG9vbCBtYXQtdHlwb2dyYXBoeVwiIChjbGljayk9XCJjYXRhbG9nRW1pdCgpXCI+XG4gICAgICAgIHt7J2lnby5pbnRlZ3JhdGlvbi5tYXBUb29sLmNhdGFsb2ctdG9vbCcgfCB0cmFuc2xhdGV9fVxuICAgICAgPC9oND5cbiAgICA8L21hdC1saXN0LWl0ZW0+XG4gICAgPG1hdC1saXN0LWl0ZW0gKm5nSWY9XCJsYXllckFkZGl0aW9uQWxsb3dlZCAmJiBjb250ZXh0VG9vbEluVG9vbGJhclwiPlxuICAgICAgPG1hdC1pY29uIG1hdC1saXN0LWljb24+IDxzdmcgdmlld0JveD0nMCAwIDI0IDI0JyBmaXQ9JycgaGVpZ2h0PScxMDAlJyB3aWR0aD0nMTAwJScgcHJlc2VydmVBc3BlY3RSYXRpbz0neE1pZFlNaWQgbWVldCcgZm9jdXNhYmxlPSdmYWxzZSc+IDxwYXRoIGQ9J00xMiwxNy4yN0wxOC4xOCwyMUwxNi41NCwxMy45N0wyMiw5LjI0TDE0LjgxLDguNjJMMTIsMkw5LjE5LDguNjJMMiw5LjI0TDcuNDUsMTMuOTdMNS44MiwyMUwxMiwxNy4yN1onPjwvcGF0aD4gPC9zdmc+PC9tYXQtaWNvbj5cbiAgICAgIDxoNCBtYXRMaW5lIGNsYXNzPVwiY29udGV4dC10b29sIG1hdC10eXBvZ3JhcGh5XCIgKGNsaWNrKT1cImNvbnRleHRFbWl0KClcIj5cbiAgICAgICAge3snaWdvLmludGVncmF0aW9uLm1hcFRvb2wuY29udGV4dC10b29sJyB8IHRyYW5zbGF0ZX19XG4gICAgICA8L2g0PlxuICAgIDwvbWF0LWxpc3QtaXRlbT5cbiAgPC9tYXQtbGlzdD5cbjwvbmctdGVtcGxhdGU+XG4iXX0=
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './map-legend-tool.component';
|
|
1
|
+
export * from './map-legend-tool.component';
|
|
2
2
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9pbnRlZ3JhdGlvbi9zcmMvbGliL21hcC9tYXAtbGVnZW5kL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsNkJBQTZCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL21hcC1sZWdlbmQtdG9vbC5jb21wb25lbnQnO1xuIl19
|