@igo2/integration 16.2.0 → 17.0.0-next.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/lib/about/about-tool/about-tool.component.mjs +30 -15
- package/esm2022/lib/about/about.module.mjs +9 -37
- package/esm2022/lib/analytics/analytics-listener.service.mjs +5 -5
- package/esm2022/lib/catalog/catalog-browser-tool/catalog-browser-tool.component.mjs +10 -9
- package/esm2022/lib/catalog/catalog-browser-tool/catalog-browser-tool.module.mjs +9 -13
- package/esm2022/lib/catalog/catalog-library-tool/catalog-library-tool.component.mjs +9 -8
- package/esm2022/lib/catalog/catalog-library-tool/catalog-library-tool.module.mjs +9 -13
- package/esm2022/lib/catalog/catalog.module.mjs +9 -8
- package/esm2022/lib/catalog/catalog.state.mjs +5 -5
- package/esm2022/lib/context/context-editor-tool/context-editor-tool.component.mjs +9 -8
- package/esm2022/lib/context/context-manager-tool/context-manager-tool.component.mjs +9 -8
- package/esm2022/lib/context/context-permission-manager-tool/context-permission-manager-tool.component.mjs +8 -7
- package/esm2022/lib/context/context-share-tool/context-share-tool.component.mjs +9 -8
- package/esm2022/lib/context/context.module.mjs +16 -31
- package/esm2022/lib/context/context.state.mjs +5 -5
- package/esm2022/lib/context/index.mjs +11 -1
- package/esm2022/lib/directions/directions-tool/directions-tool.component.mjs +9 -7
- package/esm2022/lib/directions/directions.module.mjs +11 -11
- package/esm2022/lib/directions/directions.state.mjs +5 -5
- package/esm2022/lib/draw/draw.module.mjs +8 -7
- package/esm2022/lib/draw/draw.state.mjs +5 -5
- package/esm2022/lib/draw/drawing-tool/drawing-tool.component.mjs +9 -8
- package/esm2022/lib/draw/drawing-tool/drawing-tool.module.mjs +9 -12
- package/esm2022/lib/environment/environment.interface.mjs +1 -1
- package/esm2022/lib/filter/active-ogc-filter-tool/active-ogc-filter-tool.component.mjs +9 -8
- package/esm2022/lib/filter/active-time-filter-tool/active-time-filter-tool.component.mjs +9 -8
- package/esm2022/lib/filter/filter.module.mjs +16 -13
- package/esm2022/lib/filter/index.mjs +13 -1
- package/esm2022/lib/filter/ogc-filter-tool/ogc-filter-tool.component.mjs +9 -8
- package/esm2022/lib/filter/spatial-filter-tool/spatial-filter-tool.component.mjs +18 -10
- package/esm2022/lib/filter/time-filter-tool/time-filter-tool.component.mjs +9 -8
- package/esm2022/lib/geometry-form/data-issue-reporter-tool/data-issue-reporter-tool.component.mjs +181 -0
- package/esm2022/lib/geometry-form/data-issue-reporter-tool/index.mjs +2 -0
- package/esm2022/lib/geometry-form/geometry-form.module.mjs +36 -0
- package/esm2022/lib/geometry-form/index.mjs +2 -0
- package/esm2022/lib/import-export/import-export-tool/import-export-tool.component.mjs +22 -12
- package/esm2022/lib/import-export/import-export.module.mjs +11 -36
- package/esm2022/lib/import-export/import-export.state.mjs +4 -4
- package/esm2022/lib/integration.module.mjs +15 -16
- package/esm2022/lib/map/advanced-map-tool/advanced-coordinates/advanced-coordinates.component.mjs +41 -19
- package/esm2022/lib/map/advanced-map-tool/advanced-map-tool.component.mjs +22 -11
- package/esm2022/lib/map/advanced-map-tool/advanced-swipe/advanced-swipe.component.mjs +35 -14
- package/esm2022/lib/map/index.mjs +15 -1
- package/esm2022/lib/map/layer-list-tool.state.mjs +4 -4
- package/esm2022/lib/map/map-details-tool/map-details-tool.component.mjs +31 -13
- package/esm2022/lib/map/map-legend/map-legend-tool.component.mjs +24 -12
- package/esm2022/lib/map/map-proximity-tool/map-proximity-tool.component.mjs +34 -16
- package/esm2022/lib/map/map-proximity.state.mjs +5 -5
- package/esm2022/lib/map/map-tool/map-tool.component.mjs +27 -12
- package/esm2022/lib/map/map-tools/map-tools.component.mjs +37 -14
- package/esm2022/lib/map/map.module.mjs +17 -125
- package/esm2022/lib/map/map.state.mjs +5 -5
- package/esm2022/lib/measure/measure.module.mjs +8 -7
- package/esm2022/lib/measure/measure.state.mjs +5 -5
- package/esm2022/lib/measure/measurer-tool/measurer-tool.component.mjs +9 -8
- package/esm2022/lib/measure/measurer-tool/measurer-tool.module.mjs +9 -12
- package/esm2022/lib/print/print-tool/print-tool.component.mjs +9 -8
- package/esm2022/lib/print/print.module.mjs +11 -11
- package/esm2022/lib/search/index.mjs +7 -1
- package/esm2022/lib/search/query.state.mjs +5 -5
- package/esm2022/lib/search/search-bar/search-bar-binding.directive.mjs +8 -7
- package/esm2022/lib/search/search-bar/search-bar.module.mjs +7 -9
- package/esm2022/lib/search/search-results-tool/search-results-tool.component.mjs +40 -21
- package/esm2022/lib/search/search-results-tool/search-results-tool.module.mjs +9 -54
- package/esm2022/lib/search/search.module.mjs +12 -10
- package/esm2022/lib/search/search.state.mjs +15 -6
- package/esm2022/lib/storage/storage.state.mjs +5 -5
- package/esm2022/lib/tool/tool.state.mjs +5 -5
- package/esm2022/lib/workspace/shared/edition-actions.service.mjs +9 -13
- package/esm2022/lib/workspace/shared/feature-actions.service.mjs +7 -11
- package/esm2022/lib/workspace/shared/wfs-actions.service.mjs +9 -13
- package/esm2022/lib/workspace/shared/workspace.utils.mjs +4 -3
- package/esm2022/lib/workspace/workspace-button/workspace-button.component.mjs +22 -11
- package/esm2022/lib/workspace/workspace.module.mjs +10 -28
- package/esm2022/lib/workspace/workspace.state.mjs +5 -5
- package/esm2022/public_api.mjs +3 -4
- package/fesm2022/igo2-integration.mjs +873 -732
- package/fesm2022/igo2-integration.mjs.map +1 -1
- package/lib/about/about-tool/about-tool.component.d.ts +1 -1
- package/lib/about/about.module.d.ts +4 -8
- package/lib/catalog/catalog-browser-tool/catalog-browser-tool.component.d.ts +1 -1
- package/lib/catalog/catalog-browser-tool/catalog-browser-tool.module.d.ts +2 -4
- package/lib/catalog/catalog-library-tool/catalog-library-tool.component.d.ts +1 -1
- package/lib/catalog/catalog-library-tool/catalog-library-tool.module.d.ts +2 -4
- package/lib/catalog/catalog.module.d.ts +3 -0
- package/lib/context/context-editor-tool/context-editor-tool.component.d.ts +1 -1
- package/lib/context/context-manager-tool/context-manager-tool.component.d.ts +1 -1
- package/lib/context/context-permission-manager-tool/context-permission-manager-tool.component.d.ts +1 -1
- package/lib/context/context-share-tool/context-share-tool.component.d.ts +1 -1
- package/lib/context/context.module.d.ts +4 -2
- package/lib/context/index.d.ts +5 -0
- package/lib/directions/directions-tool/directions-tool.component.d.ts +1 -1
- package/lib/directions/directions.module.d.ts +4 -2
- package/lib/draw/draw.module.d.ts +5 -3
- package/lib/draw/drawing-tool/drawing-tool.component.d.ts +1 -1
- package/lib/draw/drawing-tool/drawing-tool.module.d.ts +2 -3
- package/lib/filter/active-ogc-filter-tool/active-ogc-filter-tool.component.d.ts +1 -1
- package/lib/filter/active-time-filter-tool/active-time-filter-tool.component.d.ts +1 -1
- package/lib/filter/filter.module.d.ts +4 -3
- package/lib/filter/index.d.ts +4 -0
- package/lib/filter/ogc-filter-tool/ogc-filter-tool.component.d.ts +1 -1
- package/lib/filter/spatial-filter-tool/spatial-filter-tool.component.d.ts +1 -1
- package/lib/filter/time-filter-tool/time-filter-tool.component.d.ts +1 -1
- package/lib/geometry-form/data-issue-reporter-tool/data-issue-reporter-tool.component.d.ts +44 -0
- package/lib/geometry-form/data-issue-reporter-tool/index.d.ts +1 -0
- package/lib/geometry-form/geometry-form.module.d.ts +11 -0
- package/lib/geometry-form/index.d.ts +1 -0
- package/lib/import-export/import-export-tool/import-export-tool.component.d.ts +1 -1
- package/lib/import-export/import-export.module.d.ts +4 -7
- package/lib/integration.module.d.ts +17 -15
- package/lib/map/advanced-map-tool/advanced-coordinates/advanced-coordinates.component.d.ts +1 -1
- package/lib/map/advanced-map-tool/advanced-map-tool.component.d.ts +1 -1
- package/lib/map/advanced-map-tool/advanced-swipe/advanced-swipe.component.d.ts +1 -1
- package/lib/map/index.d.ts +7 -0
- package/lib/map/map-details-tool/map-details-tool.component.d.ts +1 -1
- package/lib/map/map-legend/map-legend-tool.component.d.ts +1 -1
- package/lib/map/map-proximity-tool/map-proximity-tool.component.d.ts +1 -1
- package/lib/map/map-tool/map-tool.component.d.ts +1 -1
- package/lib/map/map-tools/map-tools.component.d.ts +1 -1
- package/lib/map/map.module.d.ts +4 -25
- package/lib/measure/measure.module.d.ts +3 -0
- package/lib/measure/measurer-tool/measurer-tool.component.d.ts +1 -1
- package/lib/measure/measurer-tool/measurer-tool.module.d.ts +2 -3
- package/lib/print/print-tool/print-tool.component.d.ts +1 -1
- package/lib/print/print.module.d.ts +4 -2
- package/lib/search/index.d.ts +3 -0
- package/lib/search/search-bar/search-bar-binding.directive.d.ts +1 -1
- package/lib/search/search-bar/search-bar.module.d.ts +2 -3
- package/lib/search/search-results-tool/search-results-tool.component.d.ts +2 -1
- package/lib/search/search-results-tool/search-results-tool.module.d.ts +2 -10
- package/lib/search/search.module.d.ts +6 -3
- package/lib/search/search.state.d.ts +14 -1
- package/lib/workspace/shared/edition-actions.service.d.ts +1 -3
- package/lib/workspace/shared/feature-actions.service.d.ts +1 -3
- package/lib/workspace/shared/wfs-actions.service.d.ts +1 -3
- package/lib/workspace/shared/workspace.utils.d.ts +1 -2
- package/lib/workspace/workspace-button/workspace-button.component.d.ts +1 -1
- package/lib/workspace/workspace.module.d.ts +4 -6
- package/locale/en.integration.json +143 -126
- package/locale/fr.integration.json +143 -126
- package/package.json +6 -5
- package/public_api.d.ts +2 -3
- package/esm2022/lib/analytics/analytics.module.mjs +0 -16
- package/esm2022/lib/storage/storage.module.mjs +0 -16
- package/esm2022/lib/tool/tool.module.mjs +0 -16
- package/lib/analytics/analytics.module.d.ts +0 -6
- package/lib/storage/storage.module.d.ts +0 -6
- package/lib/tool/tool.module.d.ts +0 -6
|
@@ -1,63 +1,62 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { ChangeDetectorRef, Component, Input, NgModule, CUSTOM_ELEMENTS_SCHEMA, Injectable, ChangeDetectionStrategy, Inject, ViewChild, Directive, Self, HostListener, ElementRef } from '@angular/core';
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
3
|
+
import { __decorate, __metadata } from 'tslib';
|
|
4
|
+
import * as i5$1 from '@angular/common';
|
|
5
|
+
import { NgIf, NgFor, AsyncPipe, CommonModule, DecimalPipe } from '@angular/common';
|
|
6
|
+
import * as i3 from '@angular/common/http';
|
|
7
|
+
import { HttpClient } from '@angular/common/http';
|
|
8
|
+
import * as i6 from '@angular/material/button';
|
|
6
9
|
import { MatButtonModule } from '@angular/material/button';
|
|
7
10
|
import * as i7 from '@angular/material/icon';
|
|
8
11
|
import { MatIconModule, MatIconRegistry } from '@angular/material/icon';
|
|
9
|
-
import * as
|
|
12
|
+
import * as i7$1 from '@angular/material/menu';
|
|
10
13
|
import { MatMenuModule } from '@angular/material/menu';
|
|
11
|
-
import * as
|
|
14
|
+
import * as i5 from '@angular/material/tooltip';
|
|
12
15
|
import { MatTooltipModule } from '@angular/material/tooltip';
|
|
13
|
-
import * as i12 from '@igo2/common';
|
|
14
|
-
import { ToolComponent, IgoCustomHtmlModule, IgoInteractiveTourModule, EntityStore, EntityStoreFilterCustomFuncStrategy, EntityStoreFilterSelectionStrategy, WorkspaceStore, IgoSpinnerModule, IgoEntityTableModule, getEntityTitle, FlexibleComponent, IgoFlexibleModule, IgoPanelModule } from '@igo2/common';
|
|
15
|
-
import * as i2 from '@igo2/core';
|
|
16
|
-
import { version, ConfigService, LanguageService, IgoLanguageModule, StorageService, StorageScope, MessageService, StorageServiceEventEnum } from '@igo2/core';
|
|
17
|
-
import { __decorate, __metadata } from 'tslib';
|
|
18
|
-
import * as i3 from '@angular/common/http';
|
|
19
|
-
import { HttpClient } from '@angular/common/http';
|
|
20
16
|
import * as i2$1 from '@igo2/auth';
|
|
21
17
|
import { AuthService } from '@igo2/auth';
|
|
18
|
+
import * as i2$2 from '@igo2/common';
|
|
19
|
+
import { InteractiveTourComponent, CustomHtmlComponent, ToolComponent, EntityStore, EntityStoreFilterCustomFuncStrategy, EntityStoreFilterSelectionStrategy, WorkspaceStore, PanelComponent, FormService, IgoFormModule, EntityTableComponent, getEntityTitle, FlexibleComponent, SanitizeHtmlPipe } from '@igo2/common';
|
|
20
|
+
import * as i2 from '@igo2/core';
|
|
21
|
+
import { version, ConfigService, LanguageService, StorageService, StorageScope, MessageService, StorageServiceEventEnum, IgoLanguageModule, IgoMessageModule } from '@igo2/core';
|
|
22
|
+
import * as i7$2 from '@ngx-translate/core';
|
|
23
|
+
import { TranslateModule } from '@ngx-translate/core';
|
|
22
24
|
import { of, BehaviorSubject, combineLatest, Subject, map, forkJoin, ReplaySubject, interval } from 'rxjs';
|
|
23
|
-
import * as i9 from '@ngx-translate/core';
|
|
24
25
|
import * as i1 from '@igo2/geo';
|
|
25
|
-
import { IgoMap,
|
|
26
|
+
import { IgoMap, CatalogBrowserComponent, CatalogService, CatalogLibaryComponent, StopsStore, StopsFeatureStore, RoutesFeatureStore, StepFeatureStore, IgoDirectionsModule, FeatureStore, DrawComponent, OgcFilterableItemComponent, TimeFilterItemComponent, OgcFilterableListComponent, OgcFilterableListBindingDirective, FeatureStoreSelectionStrategy, FeatureMotion, mapExtentStrategyActiveToolTip, noElementSelected, OgcFilterWidget, WfsWorkspace, FeatureWorkspace, EditionWorkspace, SpatialFilterItemType, MeasureLengthUnit, SpatialFilterType, featureToOl, createOverlayMarkerStyle, moveToOlFeatures, SpatialFilterTypeComponent, SpatialFilterItemComponent, FeatureDetailsComponent, SpatialFilterService, DataSourceService, LayerService, TimeFilterListComponent, TimeFilterListBindingDirective, ImportExportComponent, zoneMtm, zoneUtm, formatScale, computeProjectionsConstraints, LayerListControlsEnum, sourceCanSearch, LayerListComponent, LayerListBindingDirective, ExportButtonComponent, OgcFilterButtonComponent, TimeFilterButtonComponent, TrackFeatureButtonComponent, MetadataButtonComponent, SearchSourceService, LayerLegendListComponent, LayerLegendListBindingDirective, roundCoordTo, featureFromOl, measureOlGeometryLength, FEATURE, VectorLayer, StyleModalLayerButtonComponent, MeasurerComponent, PrintComponent, getCommonVectorStyle, computeOlFeaturesExtent, featuresAreOutOfView, featuresAreTooDeepInView, getCommonVectorSelectedStyle, SearchResultsComponent, SearchResultAddButtonComponent, GeoPropertiesStrategy } from '@igo2/geo';
|
|
26
27
|
import { take, skipWhile, takeUntil, tap, debounceTime, map as map$1, skip } from 'rxjs/operators';
|
|
27
28
|
import * as i1$1 from '@igo2/context';
|
|
28
|
-
import {
|
|
29
|
+
import { ContextEditComponent, ContextEditBindingDirective, ContextListComponent, ContextListBindingDirective, ContextPermissionsComponent, ContextPermissionsBindingDirective, ShareMapComponent, ContextImportExportComponent } from '@igo2/context';
|
|
29
30
|
import { trigger, state, style, transition, animate } from '@angular/animations';
|
|
30
31
|
import olFormatGeoJSON from 'ol/format/GeoJSON';
|
|
31
32
|
import * as olstyle from 'ol/style';
|
|
33
|
+
import { dateTransform, Clipboard, uuid, NumberUtils } from '@igo2/utils';
|
|
32
34
|
import * as jsPDF from 'jspdf';
|
|
33
35
|
import 'jspdf-autotable';
|
|
34
|
-
import { MatButtonToggleModule } from '@angular/material/button-toggle';
|
|
35
|
-
import * as i8$1 from '@angular/material/tabs';
|
|
36
|
-
import { MatTabsModule } from '@angular/material/tabs';
|
|
37
36
|
import * as i3$1 from '@angular/forms';
|
|
38
37
|
import { Validators, FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
39
|
-
import
|
|
40
|
-
import
|
|
41
|
-
import
|
|
42
|
-
import * as i5$1 from '@angular/material/divider';
|
|
38
|
+
import * as i5$2 from '@angular/material/tabs';
|
|
39
|
+
import { MatTabsModule } from '@angular/material/tabs';
|
|
40
|
+
import * as i8$1 from '@angular/material/divider';
|
|
43
41
|
import { MatDividerModule } from '@angular/material/divider';
|
|
44
|
-
import * as
|
|
42
|
+
import * as i10 from '@angular/material/slide-toggle';
|
|
43
|
+
import { MatSlideToggleModule } from '@angular/material/slide-toggle';
|
|
44
|
+
import * as i9 from '@angular/material/core';
|
|
45
|
+
import { MatOptionModule } from '@angular/material/core';
|
|
46
|
+
import * as i4 from '@angular/material/form-field';
|
|
45
47
|
import { MatFormFieldModule } from '@angular/material/form-field';
|
|
46
|
-
import * as
|
|
48
|
+
import * as i5$3 from '@angular/material/input';
|
|
47
49
|
import { MatInputModule } from '@angular/material/input';
|
|
48
|
-
import * as
|
|
49
|
-
import { MatListModule } from '@angular/material/list';
|
|
50
|
-
import * as i9$1 from '@angular/material/radio';
|
|
51
|
-
import { MatRadioModule } from '@angular/material/radio';
|
|
52
|
-
import * as i5 from '@angular/material/select';
|
|
50
|
+
import * as i8 from '@angular/material/select';
|
|
53
51
|
import { MatSelectModule } from '@angular/material/select';
|
|
54
|
-
import * as i10$1 from '@angular/material/slide-toggle';
|
|
55
|
-
import { MatSlideToggleModule } from '@angular/material/slide-toggle';
|
|
56
|
-
import { Clipboard, uuid, NumberUtils } from '@igo2/utils';
|
|
57
52
|
import * as olProj from 'ol/proj';
|
|
53
|
+
import * as i10$1 from '@angular/material/list';
|
|
54
|
+
import { MatListModule } from '@angular/material/list';
|
|
55
|
+
import * as i8$2 from '@angular/material/radio';
|
|
56
|
+
import { MatRadioModule } from '@angular/material/radio';
|
|
58
57
|
import olLineString from 'ol/geom/LineString';
|
|
59
58
|
import olLayerVector from 'ol/layer/Vector';
|
|
60
|
-
import * as
|
|
59
|
+
import * as i9$1 from '@angular/material/badge';
|
|
61
60
|
import { MatBadgeModule } from '@angular/material/badge';
|
|
62
61
|
import olFeature from 'ol/Feature';
|
|
63
62
|
import olPoint from 'ol/geom/Point';
|
|
@@ -150,8 +149,8 @@ let AboutToolComponent = class AboutToolComponent {
|
|
|
150
149
|
name = name.slice(0, index);
|
|
151
150
|
return name;
|
|
152
151
|
}
|
|
153
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
154
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
152
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: AboutToolComponent, deps: [{ token: i2.ConfigService }, { token: i2$1.AuthService }, { token: i3.HttpClient }, { token: i0.ChangeDetectorRef }, { token: i2.LanguageService }], target: i0.ɵɵFactoryTarget.Component });
|
|
153
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.2.1", type: AboutToolComponent, isStandalone: true, selector: "igo-about-tool", inputs: { headerHtml: "headerHtml", html: "html", discoverTitleInLocale: "discoverTitleInLocale", trainingGuideURLs: "trainingGuideURLs" }, ngImport: i0, template: "<p></p>\n<igo-interactive-tour\n mat-raised-button\n tourToStart=\"global\"\n menuIsOpen=\"true\"\n styleButton=\"raised\"\n [discoverTitleInLocale$]=\"discoverTitleInLocale$\"\n>\n</igo-interactive-tour>\n\n<button\n *ngIf=\"\n auth.authenticated && trainingGuideURLs && trainingGuideURLs.length === 1\n \"\n class=\"training-guide-button\"\n mat-raised-button\n tooltip-position=\"below\"\n matTooltipShowDelay=\"500\"\n [disabled]=\"loading\"\n [matTooltip]=\"'igo.integration.aboutTool.trainingGuideTooltip' | translate\"\n (click)=\"openGuide()\"\n>\n <span>{{ 'igo.integration.aboutTool.trainingGuide' | translate }}</span>\n <mat-icon svgIcon=\"file-document\"></mat-icon>\n</button>\n\n<button\n *ngIf=\"\n auth.authenticated && trainingGuideURLs && trainingGuideURLs.length > 1\n \"\n class=\"training-guide-button\"\n mat-raised-button\n tooltip-position=\"below\"\n matTooltipShowDelay=\"500\"\n [disabled]=\"loading\"\n [matTooltip]=\"'igo.integration.aboutTool.trainingGuideTooltip' | translate\"\n [matMenuTriggerFor]=\"menu\"\n>\n <span>{{ 'igo.integration.aboutTool.trainingGuide' | translate }}</span>\n <mat-icon svgIcon=\"file-document\"></mat-icon>\n</button>\n\n<mat-menu #menu=\"matMenu\">\n <button\n *ngFor=\"let guide of trainingGuideURLs\"\n mat-menu-item\n (click)=\"openGuide(guide)\"\n >\n {{ formatFileName(guide) }}\n </button>\n</mat-menu>\n\n<igo-custom-html\n *ngIf=\"headerHtml !== ''\"\n class=\"mat-typography\"\n [html]=\"headerHtml | translate\"\n>\n</igo-custom-html>\n\n<igo-custom-html\n class=\"mat-typography\"\n [html]=\"html | translate: { version: effectiveVersion }\"\n>\n</igo-custom-html>\n", styles: ["igo-interactive-tour button{margin-left:20px}.training-guide-button{margin-left:5px;background-color:#1976d2;color:#fff;padding:0 12px}\n"], dependencies: [{ kind: "component", type: InteractiveTourComponent, selector: "igo-interactive-tour", inputs: ["tourToStart", "styleButton", "discoverTitleInLocale$"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i6.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "ngmodule", type: MatTooltipModule }, { kind: "directive", type: i5.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i7.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatMenuModule }, { kind: "component", type: i7$1.MatMenu, selector: "mat-menu", inputs: ["backdropClass", "aria-label", "aria-labelledby", "aria-describedby", "xPosition", "yPosition", "overlapTrigger", "hasBackdrop", "class", "classList"], outputs: ["closed", "close"], exportAs: ["matMenu"] }, { kind: "component", type: i7$1.MatMenuItem, selector: "[mat-menu-item]", inputs: ["role", "disabled", "disableRipple"], exportAs: ["matMenuItem"] }, { kind: "directive", type: i7$1.MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", inputs: ["mat-menu-trigger-for", "matMenuTriggerFor", "matMenuTriggerData", "matMenuTriggerRestoreFocus"], outputs: ["menuOpened", "onMenuOpen", "menuClosed", "onMenuClose"], exportAs: ["matMenuTrigger"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: CustomHtmlComponent, selector: "igo-custom-html", inputs: ["html"] }, { kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i7$2.TranslatePipe, name: "translate" }] });
|
|
155
154
|
};
|
|
156
155
|
AboutToolComponent = __decorate([
|
|
157
156
|
ToolComponent({
|
|
@@ -165,10 +164,20 @@ AboutToolComponent = __decorate([
|
|
|
165
164
|
ChangeDetectorRef,
|
|
166
165
|
LanguageService])
|
|
167
166
|
], AboutToolComponent);
|
|
168
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
167
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: AboutToolComponent, decorators: [{
|
|
169
168
|
type: Component,
|
|
170
|
-
args: [{ selector: 'igo-about-tool',
|
|
171
|
-
|
|
169
|
+
args: [{ selector: 'igo-about-tool', standalone: true, imports: [
|
|
170
|
+
InteractiveTourComponent,
|
|
171
|
+
NgIf,
|
|
172
|
+
MatButtonModule,
|
|
173
|
+
MatTooltipModule,
|
|
174
|
+
MatIconModule,
|
|
175
|
+
MatMenuModule,
|
|
176
|
+
NgFor,
|
|
177
|
+
CustomHtmlComponent,
|
|
178
|
+
TranslateModule
|
|
179
|
+
], template: "<p></p>\n<igo-interactive-tour\n mat-raised-button\n tourToStart=\"global\"\n menuIsOpen=\"true\"\n styleButton=\"raised\"\n [discoverTitleInLocale$]=\"discoverTitleInLocale$\"\n>\n</igo-interactive-tour>\n\n<button\n *ngIf=\"\n auth.authenticated && trainingGuideURLs && trainingGuideURLs.length === 1\n \"\n class=\"training-guide-button\"\n mat-raised-button\n tooltip-position=\"below\"\n matTooltipShowDelay=\"500\"\n [disabled]=\"loading\"\n [matTooltip]=\"'igo.integration.aboutTool.trainingGuideTooltip' | translate\"\n (click)=\"openGuide()\"\n>\n <span>{{ 'igo.integration.aboutTool.trainingGuide' | translate }}</span>\n <mat-icon svgIcon=\"file-document\"></mat-icon>\n</button>\n\n<button\n *ngIf=\"\n auth.authenticated && trainingGuideURLs && trainingGuideURLs.length > 1\n \"\n class=\"training-guide-button\"\n mat-raised-button\n tooltip-position=\"below\"\n matTooltipShowDelay=\"500\"\n [disabled]=\"loading\"\n [matTooltip]=\"'igo.integration.aboutTool.trainingGuideTooltip' | translate\"\n [matMenuTriggerFor]=\"menu\"\n>\n <span>{{ 'igo.integration.aboutTool.trainingGuide' | translate }}</span>\n <mat-icon svgIcon=\"file-document\"></mat-icon>\n</button>\n\n<mat-menu #menu=\"matMenu\">\n <button\n *ngFor=\"let guide of trainingGuideURLs\"\n mat-menu-item\n (click)=\"openGuide(guide)\"\n >\n {{ formatFileName(guide) }}\n </button>\n</mat-menu>\n\n<igo-custom-html\n *ngIf=\"headerHtml !== ''\"\n class=\"mat-typography\"\n [html]=\"headerHtml | translate\"\n>\n</igo-custom-html>\n\n<igo-custom-html\n class=\"mat-typography\"\n [html]=\"html | translate: { version: effectiveVersion }\"\n>\n</igo-custom-html>\n", styles: ["igo-interactive-tour button{margin-left:20px}.training-guide-button{margin-left:5px;background-color:#1976d2;color:#fff;padding:0 12px}\n"] }]
|
|
180
|
+
}], ctorParameters: () => [{ type: i2.ConfigService }, { type: i2$1.AuthService }, { type: i3.HttpClient }, { type: i0.ChangeDetectorRef }, { type: i2.LanguageService }], propDecorators: { headerHtml: [{
|
|
172
181
|
type: Input
|
|
173
182
|
}], html: [{
|
|
174
183
|
type: Input
|
|
@@ -178,6 +187,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
178
187
|
type: Input
|
|
179
188
|
}] } });
|
|
180
189
|
|
|
190
|
+
/**
|
|
191
|
+
* @deprecated import the AboutToolComponent directly
|
|
192
|
+
*/
|
|
181
193
|
class IgoAppAboutModule {
|
|
182
194
|
static forRoot() {
|
|
183
195
|
return {
|
|
@@ -185,57 +197,19 @@ class IgoAppAboutModule {
|
|
|
185
197
|
providers: []
|
|
186
198
|
};
|
|
187
199
|
}
|
|
188
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
189
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
190
|
-
|
|
191
|
-
MatButtonModule,
|
|
192
|
-
MatTooltipModule,
|
|
193
|
-
MatIconModule,
|
|
194
|
-
MatMenuModule,
|
|
195
|
-
IgoInteractiveTourModule,
|
|
196
|
-
CommonModule], exports: [AboutToolComponent] });
|
|
197
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IgoAppAboutModule, imports: [IgoLanguageModule,
|
|
198
|
-
IgoCustomHtmlModule,
|
|
199
|
-
MatButtonModule,
|
|
200
|
-
MatTooltipModule,
|
|
201
|
-
MatIconModule,
|
|
202
|
-
MatMenuModule,
|
|
203
|
-
IgoInteractiveTourModule,
|
|
204
|
-
CommonModule] });
|
|
200
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: IgoAppAboutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
201
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.2.1", ngImport: i0, type: IgoAppAboutModule, imports: [AboutToolComponent], exports: [AboutToolComponent] });
|
|
202
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: IgoAppAboutModule, imports: [AboutToolComponent] });
|
|
205
203
|
}
|
|
206
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
204
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: IgoAppAboutModule, decorators: [{
|
|
207
205
|
type: NgModule,
|
|
208
206
|
args: [{
|
|
209
|
-
imports: [
|
|
210
|
-
IgoLanguageModule,
|
|
211
|
-
IgoCustomHtmlModule,
|
|
212
|
-
MatButtonModule,
|
|
213
|
-
MatTooltipModule,
|
|
214
|
-
MatIconModule,
|
|
215
|
-
MatMenuModule,
|
|
216
|
-
IgoInteractiveTourModule,
|
|
217
|
-
CommonModule
|
|
218
|
-
],
|
|
219
|
-
declarations: [AboutToolComponent],
|
|
207
|
+
imports: [AboutToolComponent],
|
|
220
208
|
exports: [AboutToolComponent],
|
|
221
209
|
schemas: [CUSTOM_ELEMENTS_SCHEMA]
|
|
222
210
|
}]
|
|
223
211
|
}] });
|
|
224
212
|
|
|
225
|
-
class IgoAppAnalyticsModule {
|
|
226
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IgoAppAnalyticsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
227
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: IgoAppAnalyticsModule });
|
|
228
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IgoAppAnalyticsModule });
|
|
229
|
-
}
|
|
230
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IgoAppAnalyticsModule, decorators: [{
|
|
231
|
-
type: NgModule,
|
|
232
|
-
args: [{
|
|
233
|
-
imports: [],
|
|
234
|
-
declarations: [],
|
|
235
|
-
exports: []
|
|
236
|
-
}]
|
|
237
|
-
}] });
|
|
238
|
-
|
|
239
213
|
// import { BehaviorSubject } from 'rxjs';
|
|
240
214
|
/**
|
|
241
215
|
* Service that holds the state of the map module
|
|
@@ -276,15 +250,15 @@ class MapState {
|
|
|
276
250
|
}, this.storageService, this.configService);
|
|
277
251
|
this.mapService.setMap(this.map);
|
|
278
252
|
}
|
|
279
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
280
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
253
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: MapState, deps: [{ token: i1.MapService }, { token: i1.ProjectionService }, { token: i2.StorageService }, { token: i2.ConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
254
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: MapState, providedIn: 'root' });
|
|
281
255
|
}
|
|
282
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
256
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: MapState, decorators: [{
|
|
283
257
|
type: Injectable,
|
|
284
258
|
args: [{
|
|
285
259
|
providedIn: 'root'
|
|
286
260
|
}]
|
|
287
|
-
}], ctorParameters:
|
|
261
|
+
}], ctorParameters: () => [{ type: i1.MapService }, { type: i1.ProjectionService }, { type: i2.StorageService }, { type: i2.ConfigService }] });
|
|
288
262
|
|
|
289
263
|
/**
|
|
290
264
|
* Service that holds the state of the catalog module
|
|
@@ -329,15 +303,15 @@ class CatalogState {
|
|
|
329
303
|
clearCatalogItemsStores() {
|
|
330
304
|
this.catalogItemsStores.clear();
|
|
331
305
|
}
|
|
332
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
333
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
306
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: CatalogState, deps: [{ token: i2$1.AuthService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
307
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: CatalogState, providedIn: 'root' });
|
|
334
308
|
}
|
|
335
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
309
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: CatalogState, decorators: [{
|
|
336
310
|
type: Injectable,
|
|
337
311
|
args: [{
|
|
338
312
|
providedIn: 'root'
|
|
339
313
|
}]
|
|
340
|
-
}], ctorParameters:
|
|
314
|
+
}], ctorParameters: () => [{ type: i2$1.AuthService }] });
|
|
341
315
|
|
|
342
316
|
/**
|
|
343
317
|
* Tool to browse a catalog's groups and layers and display them to a map.
|
|
@@ -414,8 +388,8 @@ let CatalogBrowserToolComponent = class CatalogBrowserToolComponent {
|
|
|
414
388
|
this.store$.next(store);
|
|
415
389
|
});
|
|
416
390
|
}
|
|
417
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
418
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
391
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: CatalogBrowserToolComponent, deps: [{ token: i1.CatalogService }, { token: CatalogState }, { token: MapState }, { token: i2$1.AuthService }], target: i0.ɵɵFactoryTarget.Component });
|
|
392
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.2.1", type: CatalogBrowserToolComponent, isStandalone: true, selector: "igo-catalog-browser-tool", inputs: { toggleCollapsedGroup: "toggleCollapsedGroup" }, ngImport: i0, template: "<igo-catalog-browser\n *ngIf=\"store$ | async as store\"\n [catalog]=\"catalog\"\n [store]=\"store\"\n [map]=\"map\"\n [toggleCollapsedGroup]=\"toggleCollapsedGroup\"\n>\n</igo-catalog-browser>\n", dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: CatalogBrowserComponent, selector: "igo-catalog-browser", inputs: ["catalogAllowLegend", "catalog", "store", "map", "toggleCollapsedGroup"] }, { kind: "pipe", type: AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
419
393
|
};
|
|
420
394
|
CatalogBrowserToolComponent = __decorate([
|
|
421
395
|
ToolComponent({
|
|
@@ -429,28 +403,26 @@ CatalogBrowserToolComponent = __decorate([
|
|
|
429
403
|
MapState,
|
|
430
404
|
AuthService])
|
|
431
405
|
], CatalogBrowserToolComponent);
|
|
432
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
406
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: CatalogBrowserToolComponent, decorators: [{
|
|
433
407
|
type: Component,
|
|
434
|
-
args: [{ selector: 'igo-catalog-browser-tool', changeDetection: ChangeDetectionStrategy.OnPush, template: "<igo-catalog-browser\n *ngIf=\"store$ | async as store\"\n [catalog]=\"catalog\"\n [store]=\"store\"\n [map]=\"map\"\n [toggleCollapsedGroup]=\"toggleCollapsedGroup\"\n>\n</igo-catalog-browser>\n" }]
|
|
435
|
-
}], ctorParameters:
|
|
408
|
+
args: [{ selector: 'igo-catalog-browser-tool', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [NgIf, CatalogBrowserComponent, AsyncPipe], template: "<igo-catalog-browser\n *ngIf=\"store$ | async as store\"\n [catalog]=\"catalog\"\n [store]=\"store\"\n [map]=\"map\"\n [toggleCollapsedGroup]=\"toggleCollapsedGroup\"\n>\n</igo-catalog-browser>\n" }]
|
|
409
|
+
}], ctorParameters: () => [{ type: i1.CatalogService }, { type: CatalogState }, { type: MapState }, { type: i2$1.AuthService }], propDecorators: { toggleCollapsedGroup: [{
|
|
436
410
|
type: Input
|
|
437
411
|
}] } });
|
|
438
412
|
|
|
439
413
|
/**
|
|
440
|
-
* @
|
|
414
|
+
* @deprecated import the CatalogBrowserToolComponent directly
|
|
441
415
|
*/
|
|
442
416
|
class IgoAppCatalogBrowserToolModule {
|
|
443
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
444
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
445
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
417
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: IgoAppCatalogBrowserToolModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
418
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.2.1", ngImport: i0, type: IgoAppCatalogBrowserToolModule, imports: [CatalogBrowserToolComponent], exports: [CatalogBrowserToolComponent] });
|
|
419
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: IgoAppCatalogBrowserToolModule, imports: [CatalogBrowserToolComponent] });
|
|
446
420
|
}
|
|
447
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
421
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: IgoAppCatalogBrowserToolModule, decorators: [{
|
|
448
422
|
type: NgModule,
|
|
449
423
|
args: [{
|
|
450
|
-
imports: [
|
|
451
|
-
|
|
452
|
-
exports: [CatalogBrowserToolComponent],
|
|
453
|
-
schemas: [CUSTOM_ELEMENTS_SCHEMA]
|
|
424
|
+
imports: [CatalogBrowserToolComponent],
|
|
425
|
+
exports: [CatalogBrowserToolComponent]
|
|
454
426
|
}]
|
|
455
427
|
}] });
|
|
456
428
|
|
|
@@ -480,10 +452,10 @@ class ImportExportState {
|
|
|
480
452
|
setsExportOptions(exportOptions) {
|
|
481
453
|
this.exportOptions$.next(exportOptions);
|
|
482
454
|
}
|
|
483
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
484
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
455
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: ImportExportState, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
456
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: ImportExportState, providedIn: 'root' });
|
|
485
457
|
}
|
|
486
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
458
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: ImportExportState, decorators: [{
|
|
487
459
|
type: Injectable,
|
|
488
460
|
args: [{
|
|
489
461
|
providedIn: 'root'
|
|
@@ -529,15 +501,15 @@ class ToolState {
|
|
|
529
501
|
this.openSidenav$.next(true);
|
|
530
502
|
}
|
|
531
503
|
}
|
|
532
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
533
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
504
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: ToolState, deps: [{ token: i2$2.ToolService }, { token: ImportExportState }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
505
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: ToolState, providedIn: 'root' });
|
|
534
506
|
}
|
|
535
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
507
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: ToolState, decorators: [{
|
|
536
508
|
type: Injectable,
|
|
537
509
|
args: [{
|
|
538
510
|
providedIn: 'root'
|
|
539
511
|
}]
|
|
540
|
-
}], ctorParameters:
|
|
512
|
+
}], ctorParameters: () => [{ type: i2$2.ToolService }, { type: ImportExportState }] });
|
|
541
513
|
|
|
542
514
|
/**
|
|
543
515
|
* Tool to browse the list of available catalogs.
|
|
@@ -600,8 +572,8 @@ let CatalogLibraryToolComponent = class CatalogLibraryToolComponent {
|
|
|
600
572
|
this.store.load(catalogs.concat((this.storageService.get('addedCatalogs') || [])));
|
|
601
573
|
});
|
|
602
574
|
}
|
|
603
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
604
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
575
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: CatalogLibraryToolComponent, deps: [{ token: i1.CatalogService }, { token: CatalogState }, { token: ToolState }, { token: i2.StorageService }], target: i0.ɵɵFactoryTarget.Component });
|
|
576
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.2.1", type: CatalogLibraryToolComponent, isStandalone: true, selector: "igo-catalog-library-tool", inputs: { addCatalogAllowed: "addCatalogAllowed", predefinedCatalogs: "predefinedCatalogs" }, ngImport: i0, template: "<igo-catalog-library\r\n [predefinedCatalogs]=\"predefinedCatalogs\"\r\n [addCatalogAllowed]=\"addCatalogAllowed\"\r\n [store]=\"store\"\r\n (catalogSelectChange)=\"onCatalogSelectChange($event)\"\r\n>\r\n</igo-catalog-library>\r\n", dependencies: [{ kind: "component", type: CatalogLibaryComponent, selector: "igo-catalog-library", inputs: ["store", "map", "addCatalogAllowed", "predefinedCatalogs"], outputs: ["catalogSelectChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
605
577
|
};
|
|
606
578
|
CatalogLibraryToolComponent = __decorate([
|
|
607
579
|
ToolComponent({
|
|
@@ -614,44 +586,43 @@ CatalogLibraryToolComponent = __decorate([
|
|
|
614
586
|
ToolState,
|
|
615
587
|
StorageService])
|
|
616
588
|
], CatalogLibraryToolComponent);
|
|
617
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
589
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: CatalogLibraryToolComponent, decorators: [{
|
|
618
590
|
type: Component,
|
|
619
|
-
args: [{ selector: 'igo-catalog-library-tool', changeDetection: ChangeDetectionStrategy.OnPush, template: "<igo-catalog-library\n [predefinedCatalogs]=\"predefinedCatalogs\"\n [addCatalogAllowed]=\"addCatalogAllowed\"\n [store]=\"store\"\n (catalogSelectChange)=\"onCatalogSelectChange($event)\"\n>\n</igo-catalog-library>\n" }]
|
|
620
|
-
}], ctorParameters:
|
|
591
|
+
args: [{ selector: 'igo-catalog-library-tool', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [CatalogLibaryComponent], template: "<igo-catalog-library\r\n [predefinedCatalogs]=\"predefinedCatalogs\"\r\n [addCatalogAllowed]=\"addCatalogAllowed\"\r\n [store]=\"store\"\r\n (catalogSelectChange)=\"onCatalogSelectChange($event)\"\r\n>\r\n</igo-catalog-library>\r\n" }]
|
|
592
|
+
}], ctorParameters: () => [{ type: i1.CatalogService }, { type: CatalogState }, { type: ToolState }, { type: i2.StorageService }], propDecorators: { addCatalogAllowed: [{
|
|
621
593
|
type: Input
|
|
622
594
|
}], predefinedCatalogs: [{
|
|
623
595
|
type: Input
|
|
624
596
|
}] } });
|
|
625
597
|
|
|
626
598
|
/**
|
|
627
|
-
* @
|
|
599
|
+
* @deprecated import the CatalogLibraryToolComponent directly
|
|
628
600
|
*/
|
|
629
601
|
class IgoAppCatalogLibraryToolModule {
|
|
630
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
631
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
632
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
602
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: IgoAppCatalogLibraryToolModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
603
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.2.1", ngImport: i0, type: IgoAppCatalogLibraryToolModule, imports: [CatalogLibraryToolComponent], exports: [CatalogLibraryToolComponent] });
|
|
604
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: IgoAppCatalogLibraryToolModule, imports: [CatalogLibraryToolComponent] });
|
|
633
605
|
}
|
|
634
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
606
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: IgoAppCatalogLibraryToolModule, decorators: [{
|
|
635
607
|
type: NgModule,
|
|
636
608
|
args: [{
|
|
637
|
-
imports: [
|
|
638
|
-
|
|
639
|
-
exports: [CatalogLibraryToolComponent],
|
|
640
|
-
schemas: [CUSTOM_ELEMENTS_SCHEMA]
|
|
609
|
+
imports: [CatalogLibraryToolComponent],
|
|
610
|
+
exports: [CatalogLibraryToolComponent]
|
|
641
611
|
}]
|
|
642
612
|
}] });
|
|
643
613
|
|
|
614
|
+
/**
|
|
615
|
+
* @deprecated import the components directly
|
|
616
|
+
*/
|
|
644
617
|
class IgoAppCatalogModule {
|
|
645
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
646
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
647
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
618
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: IgoAppCatalogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
619
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.2.1", ngImport: i0, type: IgoAppCatalogModule, exports: [IgoAppCatalogLibraryToolModule, IgoAppCatalogBrowserToolModule] });
|
|
620
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: IgoAppCatalogModule, imports: [IgoAppCatalogLibraryToolModule, IgoAppCatalogBrowserToolModule] });
|
|
648
621
|
}
|
|
649
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
622
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: IgoAppCatalogModule, decorators: [{
|
|
650
623
|
type: NgModule,
|
|
651
624
|
args: [{
|
|
652
|
-
|
|
653
|
-
exports: [IgoAppCatalogLibraryToolModule, IgoAppCatalogBrowserToolModule],
|
|
654
|
-
declarations: []
|
|
625
|
+
exports: [IgoAppCatalogLibraryToolModule, IgoAppCatalogBrowserToolModule]
|
|
655
626
|
}]
|
|
656
627
|
}] });
|
|
657
628
|
|
|
@@ -663,8 +634,8 @@ let ContextEditorToolComponent = class ContextEditorToolComponent {
|
|
|
663
634
|
submitSuccessed() {
|
|
664
635
|
this.toolState.toolbox.activatePreviousTool();
|
|
665
636
|
}
|
|
666
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
667
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
637
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: ContextEditorToolComponent, deps: [{ token: ToolState }], target: i0.ɵɵFactoryTarget.Component });
|
|
638
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.2.1", type: ContextEditorToolComponent, isStandalone: true, selector: "igo-context-editor-tool", ngImport: i0, template: "<igo-context-edit\n igoContextEditBinding\n (submitSuccessed)=\"submitSuccessed()\"\n></igo-context-edit>\n", dependencies: [{ kind: "component", type: ContextEditComponent, selector: "igo-context-edit", inputs: ["context"], outputs: ["submitForm"] }, { kind: "directive", type: ContextEditBindingDirective, selector: "[igoContextEditBinding]", outputs: ["submitSuccessed"] }] });
|
|
668
639
|
};
|
|
669
640
|
ContextEditorToolComponent = __decorate([
|
|
670
641
|
ToolComponent({
|
|
@@ -675,10 +646,10 @@ ContextEditorToolComponent = __decorate([
|
|
|
675
646
|
}),
|
|
676
647
|
__metadata("design:paramtypes", [ToolState])
|
|
677
648
|
], ContextEditorToolComponent);
|
|
678
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
649
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: ContextEditorToolComponent, decorators: [{
|
|
679
650
|
type: Component,
|
|
680
|
-
args: [{ selector: 'igo-context-editor-tool', template: "<igo-context-edit\n igoContextEditBinding\n (submitSuccessed)=\"submitSuccessed()\"\n></igo-context-edit>\n" }]
|
|
681
|
-
}], ctorParameters:
|
|
651
|
+
args: [{ selector: 'igo-context-editor-tool', standalone: true, imports: [ContextEditComponent, ContextEditBindingDirective], template: "<igo-context-edit\n igoContextEditBinding\n (submitSuccessed)=\"submitSuccessed()\"\n></igo-context-edit>\n" }]
|
|
652
|
+
}], ctorParameters: () => [{ type: ToolState }] });
|
|
682
653
|
|
|
683
654
|
let ContextManagerToolComponent = class ContextManagerToolComponent {
|
|
684
655
|
toolState;
|
|
@@ -697,8 +668,8 @@ let ContextManagerToolComponent = class ContextManagerToolComponent {
|
|
|
697
668
|
managePermissions() {
|
|
698
669
|
this.toolState.toolbox.activateTool('contextPermissionManager');
|
|
699
670
|
}
|
|
700
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
701
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
671
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: ContextManagerToolComponent, deps: [{ token: ToolState }, { token: MapState }], target: i0.ɵɵFactoryTarget.Component });
|
|
672
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.2.1", type: ContextManagerToolComponent, isStandalone: true, selector: "igo-context-manager-tool", inputs: { toolToOpenOnContextChange: "toolToOpenOnContextChange" }, ngImport: i0, template: "<igo-context-list\n igoContextListBinding\n [map]=\"map\"\n (edit)=\"editContext()\"\n (managePermissions)=\"managePermissions()\"\n>\n</igo-context-list>\n", dependencies: [{ kind: "component", type: ContextListComponent, selector: "igo-context-list", inputs: ["contexts", "selectedContext", "map", "defaultContextId", "term"], outputs: ["select", "unselect", "edit", "delete", "save", "clone", "create", "hide", "show", "showHiddenContexts", "favorite", "managePermissions", "manageTools", "filterPermissionsChanged"] }, { kind: "directive", type: ContextListBindingDirective, selector: "[igoContextListBinding]" }] });
|
|
702
673
|
};
|
|
703
674
|
ContextManagerToolComponent = __decorate([
|
|
704
675
|
ToolComponent({
|
|
@@ -709,16 +680,16 @@ ContextManagerToolComponent = __decorate([
|
|
|
709
680
|
__metadata("design:paramtypes", [ToolState,
|
|
710
681
|
MapState])
|
|
711
682
|
], ContextManagerToolComponent);
|
|
712
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
683
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: ContextManagerToolComponent, decorators: [{
|
|
713
684
|
type: Component,
|
|
714
|
-
args: [{ selector: 'igo-context-manager-tool', template: "<igo-context-list\n igoContextListBinding\n [map]=\"map\"\n (edit)=\"editContext()\"\n (managePermissions)=\"managePermissions()\"\n>\n</igo-context-list>\n" }]
|
|
715
|
-
}], ctorParameters:
|
|
685
|
+
args: [{ selector: 'igo-context-manager-tool', standalone: true, imports: [ContextListComponent, ContextListBindingDirective], template: "<igo-context-list\n igoContextListBinding\n [map]=\"map\"\n (edit)=\"editContext()\"\n (managePermissions)=\"managePermissions()\"\n>\n</igo-context-list>\n" }]
|
|
686
|
+
}], ctorParameters: () => [{ type: ToolState }, { type: MapState }], propDecorators: { toolToOpenOnContextChange: [{
|
|
716
687
|
type: Input
|
|
717
688
|
}] } });
|
|
718
689
|
|
|
719
690
|
let ContextPermissionManagerToolComponent = class ContextPermissionManagerToolComponent {
|
|
720
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
721
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
691
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: ContextPermissionManagerToolComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
692
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.2.1", type: ContextPermissionManagerToolComponent, isStandalone: true, selector: "igo-context-permission-manager-tool", ngImport: i0, template: "<igo-context-permissions igoContextPermissionsBinding></igo-context-permissions>\n", dependencies: [{ kind: "component", type: ContextPermissionsComponent, selector: "igo-context-permissions", inputs: ["context", "permissions"], outputs: ["addPermission", "removePermission", "scopeChanged"] }, { kind: "directive", type: ContextPermissionsBindingDirective, selector: "[igoContextPermissionsBinding]" }] });
|
|
722
693
|
};
|
|
723
694
|
ContextPermissionManagerToolComponent = __decorate([
|
|
724
695
|
ToolComponent({
|
|
@@ -728,9 +699,9 @@ ContextPermissionManagerToolComponent = __decorate([
|
|
|
728
699
|
parent: 'contextManager'
|
|
729
700
|
})
|
|
730
701
|
], ContextPermissionManagerToolComponent);
|
|
731
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
702
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: ContextPermissionManagerToolComponent, decorators: [{
|
|
732
703
|
type: Component,
|
|
733
|
-
args: [{ selector: 'igo-context-permission-manager-tool', template: "<igo-context-permissions igoContextPermissionsBinding></igo-context-permissions>\n" }]
|
|
704
|
+
args: [{ selector: 'igo-context-permission-manager-tool', standalone: true, imports: [ContextPermissionsComponent, ContextPermissionsBindingDirective], template: "<igo-context-permissions igoContextPermissionsBinding></igo-context-permissions>\n" }]
|
|
734
705
|
}] });
|
|
735
706
|
|
|
736
707
|
/**
|
|
@@ -760,10 +731,10 @@ class LayerListToolState {
|
|
|
760
731
|
sortAlpha: this.sortAlpha$.value
|
|
761
732
|
};
|
|
762
733
|
}
|
|
763
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
764
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
734
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: LayerListToolState, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
735
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: LayerListToolState, providedIn: 'root' });
|
|
765
736
|
}
|
|
766
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
737
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: LayerListToolState, decorators: [{
|
|
767
738
|
type: Injectable,
|
|
768
739
|
args: [{
|
|
769
740
|
providedIn: 'root'
|
|
@@ -783,8 +754,8 @@ let ContextShareToolComponent = class ContextShareToolComponent {
|
|
|
783
754
|
this.mapState = mapState;
|
|
784
755
|
this.layerListToolState = layerListToolState;
|
|
785
756
|
}
|
|
786
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
787
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
757
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: ContextShareToolComponent, deps: [{ token: MapState }, { token: LayerListToolState }], target: i0.ɵɵFactoryTarget.Component });
|
|
758
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.2.1", type: ContextShareToolComponent, isStandalone: true, selector: "igo-context-share-tool", ngImport: i0, template: "<igo-share-map [map]=\"map\"></igo-share-map>\n", dependencies: [{ kind: "component", type: ShareMapComponent, selector: "igo-share-map", inputs: ["map"] }] });
|
|
788
759
|
};
|
|
789
760
|
ContextShareToolComponent = __decorate([
|
|
790
761
|
ToolComponent({
|
|
@@ -795,41 +766,10 @@ ContextShareToolComponent = __decorate([
|
|
|
795
766
|
__metadata("design:paramtypes", [MapState,
|
|
796
767
|
LayerListToolState])
|
|
797
768
|
], ContextShareToolComponent);
|
|
798
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
769
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: ContextShareToolComponent, decorators: [{
|
|
799
770
|
type: Component,
|
|
800
|
-
args: [{ selector: 'igo-context-share-tool', template: "<igo-share-map [map]=\"map\"></igo-share-map>\n" }]
|
|
801
|
-
}], ctorParameters:
|
|
802
|
-
|
|
803
|
-
class IgoAppContextModule {
|
|
804
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IgoAppContextModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
805
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: IgoAppContextModule, declarations: [ContextEditorToolComponent,
|
|
806
|
-
ContextManagerToolComponent,
|
|
807
|
-
ContextPermissionManagerToolComponent,
|
|
808
|
-
ContextShareToolComponent], imports: [IgoContextModule], exports: [ContextEditorToolComponent,
|
|
809
|
-
ContextManagerToolComponent,
|
|
810
|
-
ContextPermissionManagerToolComponent,
|
|
811
|
-
ContextShareToolComponent] });
|
|
812
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IgoAppContextModule, imports: [IgoContextModule] });
|
|
813
|
-
}
|
|
814
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IgoAppContextModule, decorators: [{
|
|
815
|
-
type: NgModule,
|
|
816
|
-
args: [{
|
|
817
|
-
imports: [IgoContextModule],
|
|
818
|
-
declarations: [
|
|
819
|
-
ContextEditorToolComponent,
|
|
820
|
-
ContextManagerToolComponent,
|
|
821
|
-
ContextPermissionManagerToolComponent,
|
|
822
|
-
ContextShareToolComponent
|
|
823
|
-
],
|
|
824
|
-
exports: [
|
|
825
|
-
ContextEditorToolComponent,
|
|
826
|
-
ContextManagerToolComponent,
|
|
827
|
-
ContextPermissionManagerToolComponent,
|
|
828
|
-
ContextShareToolComponent
|
|
829
|
-
],
|
|
830
|
-
schemas: [CUSTOM_ELEMENTS_SCHEMA]
|
|
831
|
-
}]
|
|
832
|
-
}] });
|
|
771
|
+
args: [{ selector: 'igo-context-share-tool', standalone: true, imports: [ShareMapComponent], template: "<igo-share-map [map]=\"map\"></igo-share-map>\n" }]
|
|
772
|
+
}], ctorParameters: () => [{ type: MapState }, { type: LayerListToolState }] });
|
|
833
773
|
|
|
834
774
|
/**
|
|
835
775
|
* Service that holds the state of the context module
|
|
@@ -906,15 +846,38 @@ class ContextState {
|
|
|
906
846
|
}
|
|
907
847
|
this.setContext(context);
|
|
908
848
|
}
|
|
909
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
910
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
849
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: ContextState, deps: [{ token: i1$1.ContextService }, { token: i2$2.ToolService }, { token: ToolState }, { token: i2.LanguageService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
850
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: ContextState, providedIn: 'root' });
|
|
911
851
|
}
|
|
912
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
852
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: ContextState, decorators: [{
|
|
913
853
|
type: Injectable,
|
|
914
854
|
args: [{
|
|
915
855
|
providedIn: 'root'
|
|
916
856
|
}]
|
|
917
|
-
}], ctorParameters:
|
|
857
|
+
}], ctorParameters: () => [{ type: i1$1.ContextService }, { type: i2$2.ToolService }, { type: ToolState }, { type: i2.LanguageService }] });
|
|
858
|
+
|
|
859
|
+
const INTEGRATION_CONTEXT_DIRECTIVES = [
|
|
860
|
+
ContextEditorToolComponent,
|
|
861
|
+
ContextManagerToolComponent,
|
|
862
|
+
ContextPermissionManagerToolComponent,
|
|
863
|
+
ContextShareToolComponent
|
|
864
|
+
];
|
|
865
|
+
|
|
866
|
+
/**
|
|
867
|
+
* @deprecated import the components/directive directly or INTEGRATION_CONTEXT_DIRECTIVES for the set
|
|
868
|
+
*/
|
|
869
|
+
class IgoAppContextModule {
|
|
870
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: IgoAppContextModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
871
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.2.1", ngImport: i0, type: IgoAppContextModule, imports: [ContextEditorToolComponent, ContextManagerToolComponent, ContextPermissionManagerToolComponent, ContextShareToolComponent], exports: [ContextEditorToolComponent, ContextManagerToolComponent, ContextPermissionManagerToolComponent, ContextShareToolComponent] });
|
|
872
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: IgoAppContextModule, imports: [INTEGRATION_CONTEXT_DIRECTIVES] });
|
|
873
|
+
}
|
|
874
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: IgoAppContextModule, decorators: [{
|
|
875
|
+
type: NgModule,
|
|
876
|
+
args: [{
|
|
877
|
+
imports: [...INTEGRATION_CONTEXT_DIRECTIVES],
|
|
878
|
+
exports: [...INTEGRATION_CONTEXT_DIRECTIVES]
|
|
879
|
+
}]
|
|
880
|
+
}] });
|
|
918
881
|
|
|
919
882
|
/**
|
|
920
883
|
* Service that holds the state of the direction module
|
|
@@ -969,15 +932,15 @@ class DirectionState {
|
|
|
969
932
|
}
|
|
970
933
|
});
|
|
971
934
|
}
|
|
972
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
973
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
935
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: DirectionState, deps: [{ token: MapState }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
936
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: DirectionState, providedIn: 'root' });
|
|
974
937
|
}
|
|
975
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
938
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: DirectionState, decorators: [{
|
|
976
939
|
type: Injectable,
|
|
977
940
|
args: [{
|
|
978
941
|
providedIn: 'root'
|
|
979
942
|
}]
|
|
980
|
-
}], ctorParameters:
|
|
943
|
+
}], ctorParameters: () => [{ type: MapState }] });
|
|
981
944
|
|
|
982
945
|
let DirectionsToolComponent = class DirectionsToolComponent {
|
|
983
946
|
directionState;
|
|
@@ -1054,8 +1017,8 @@ let DirectionsToolComponent = class DirectionsToolComponent {
|
|
|
1054
1017
|
}
|
|
1055
1018
|
});
|
|
1056
1019
|
}
|
|
1057
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1058
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
1020
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: DirectionsToolComponent, deps: [{ token: DirectionState }, { token: MapState }, { token: i2.LanguageService }, { token: i2.MessageService }, { token: i2.StorageService }, { token: ContextState }, { token: i2$1.AuthService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1021
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.2.1", type: DirectionsToolComponent, isStandalone: true, selector: "igo-directions-tool", ngImport: i0, template: "<igo-directions\r\n [contextUri]=\"currentContextUri\"\r\n [debounce]=\"debounceTime\"\r\n [stopsStore]=\"stopsStore\"\r\n [stopsFeatureStore]=\"stopsFeatureStore\"\r\n [stepFeatureStore]=\"stepFeatureStore\"\r\n [routesFeatureStore]=\"routesFeatureStore\"\r\n [zoomToActiveRoute$]=\"zoomToActiveRoute$\"\r\n>\r\n</igo-directions>\r\n", dependencies: [{ kind: "ngmodule", type: IgoDirectionsModule }, { kind: "component", type: i1.DirectionsComponent, selector: "igo-directions", inputs: ["contextUri", "stopsStore", "stopsFeatureStore", "routesFeatureStore", "stepFeatureStore", "debounce", "length", "coordRoundedDecimals", "zoomToActiveRoute$"] }] });
|
|
1059
1022
|
};
|
|
1060
1023
|
DirectionsToolComponent = __decorate([
|
|
1061
1024
|
ToolComponent({
|
|
@@ -1071,11 +1034,14 @@ DirectionsToolComponent = __decorate([
|
|
|
1071
1034
|
ContextState,
|
|
1072
1035
|
AuthService])
|
|
1073
1036
|
], DirectionsToolComponent);
|
|
1074
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1037
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: DirectionsToolComponent, decorators: [{
|
|
1075
1038
|
type: Component,
|
|
1076
|
-
args: [{ selector: 'igo-directions-tool', template: "<igo-directions\r\n [contextUri]=\"currentContextUri\"\r\n [
|
|
1077
|
-
}], ctorParameters:
|
|
1039
|
+
args: [{ selector: 'igo-directions-tool', standalone: true, imports: [IgoDirectionsModule], template: "<igo-directions\r\n [contextUri]=\"currentContextUri\"\r\n [debounce]=\"debounceTime\"\r\n [stopsStore]=\"stopsStore\"\r\n [stopsFeatureStore]=\"stopsFeatureStore\"\r\n [stepFeatureStore]=\"stepFeatureStore\"\r\n [routesFeatureStore]=\"routesFeatureStore\"\r\n [zoomToActiveRoute$]=\"zoomToActiveRoute$\"\r\n>\r\n</igo-directions>\r\n" }]
|
|
1040
|
+
}], ctorParameters: () => [{ type: DirectionState }, { type: MapState }, { type: i2.LanguageService }, { type: i2.MessageService }, { type: i2.StorageService }, { type: ContextState }, { type: i2$1.AuthService }] });
|
|
1078
1041
|
|
|
1042
|
+
/**
|
|
1043
|
+
* @deprecated import the DirectionsToolComponent directly
|
|
1044
|
+
*/
|
|
1079
1045
|
class IgoAppDirectionsModule {
|
|
1080
1046
|
static forRoot() {
|
|
1081
1047
|
return {
|
|
@@ -1083,17 +1049,15 @@ class IgoAppDirectionsModule {
|
|
|
1083
1049
|
providers: []
|
|
1084
1050
|
};
|
|
1085
1051
|
}
|
|
1086
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1087
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
1088
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
1052
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: IgoAppDirectionsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1053
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.2.1", ngImport: i0, type: IgoAppDirectionsModule, imports: [DirectionsToolComponent], exports: [DirectionsToolComponent] });
|
|
1054
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: IgoAppDirectionsModule, imports: [DirectionsToolComponent] });
|
|
1089
1055
|
}
|
|
1090
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1056
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: IgoAppDirectionsModule, decorators: [{
|
|
1091
1057
|
type: NgModule,
|
|
1092
1058
|
args: [{
|
|
1093
|
-
imports: [
|
|
1094
|
-
|
|
1095
|
-
exports: [DirectionsToolComponent],
|
|
1096
|
-
schemas: [CUSTOM_ELEMENTS_SCHEMA]
|
|
1059
|
+
imports: [DirectionsToolComponent],
|
|
1060
|
+
exports: [DirectionsToolComponent]
|
|
1097
1061
|
}]
|
|
1098
1062
|
}] });
|
|
1099
1063
|
|
|
@@ -1124,15 +1088,15 @@ class DrawState {
|
|
|
1124
1088
|
store = new FeatureStore([], { map: this.mapState.map });
|
|
1125
1089
|
}
|
|
1126
1090
|
}
|
|
1127
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1128
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1091
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: DrawState, deps: [{ token: MapState }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1092
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: DrawState, providedIn: 'root' });
|
|
1129
1093
|
}
|
|
1130
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1094
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: DrawState, decorators: [{
|
|
1131
1095
|
type: Injectable,
|
|
1132
1096
|
args: [{
|
|
1133
1097
|
providedIn: 'root'
|
|
1134
1098
|
}]
|
|
1135
|
-
}], ctorParameters:
|
|
1099
|
+
}], ctorParameters: () => [{ type: MapState }] });
|
|
1136
1100
|
|
|
1137
1101
|
/**
|
|
1138
1102
|
* Tool to measure lengths and areas
|
|
@@ -1179,8 +1143,8 @@ let DrawingToolComponent = class DrawingToolComponent {
|
|
|
1179
1143
|
this.drawState = drawState;
|
|
1180
1144
|
this.mapState = mapState;
|
|
1181
1145
|
}
|
|
1182
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1183
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
1146
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: DrawingToolComponent, deps: [{ token: DrawState }, { token: MapState }], target: i0.ɵɵFactoryTarget.Component });
|
|
1147
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.2.1", type: DrawingToolComponent, isStandalone: true, selector: "igo-drawing-tool", ngImport: i0, template: "<igo-draw\n [stores]=\"stores\"\n [map]=\"map\"\n (layersIDEvent)=\"addLayersID($event)\"\n [activeDrawingLayer]=\"activeDrawingLayer\"\n [drawControls]=\"drawControls\"\n (drawControlsEvent)=\"addDrawControls($event)\"\n (activeLayerChange)=\"activeDrawingLayer = $event\"\n>\n</igo-draw>\n", dependencies: [{ kind: "component", type: DrawComponent, selector: "igo-draw", inputs: ["map", "stores", "drawControls", "activeDrawingLayer"], outputs: ["activeLayerChange", "drawControlsEvent", "layersIDEvent", "fillColor", "strokeColor", "strokeWidth", "fontSize", "fontStyle"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1184
1148
|
};
|
|
1185
1149
|
DrawingToolComponent = __decorate([
|
|
1186
1150
|
ToolComponent({
|
|
@@ -1191,38 +1155,38 @@ DrawingToolComponent = __decorate([
|
|
|
1191
1155
|
__metadata("design:paramtypes", [DrawState,
|
|
1192
1156
|
MapState])
|
|
1193
1157
|
], DrawingToolComponent);
|
|
1194
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1158
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: DrawingToolComponent, decorators: [{
|
|
1195
1159
|
type: Component,
|
|
1196
|
-
args: [{ selector: 'igo-drawing-tool', changeDetection: ChangeDetectionStrategy.OnPush, template: "<igo-draw\n [stores]=\"stores\"\n [map]=\"map\"\n (layersIDEvent)=\"addLayersID($event)\"\n [activeDrawingLayer]=\"activeDrawingLayer\"\n [drawControls]=\"drawControls\"\n (drawControlsEvent)=\"addDrawControls($event)\"\n (activeLayerChange)=\"activeDrawingLayer = $event\"\n>\n</igo-draw>\n" }]
|
|
1197
|
-
}], ctorParameters:
|
|
1160
|
+
args: [{ selector: 'igo-drawing-tool', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [DrawComponent], template: "<igo-draw\n [stores]=\"stores\"\n [map]=\"map\"\n (layersIDEvent)=\"addLayersID($event)\"\n [activeDrawingLayer]=\"activeDrawingLayer\"\n [drawControls]=\"drawControls\"\n (drawControlsEvent)=\"addDrawControls($event)\"\n (activeLayerChange)=\"activeDrawingLayer = $event\"\n>\n</igo-draw>\n" }]
|
|
1161
|
+
}], ctorParameters: () => [{ type: DrawState }, { type: MapState }] });
|
|
1198
1162
|
|
|
1199
1163
|
/**
|
|
1200
|
-
* @
|
|
1164
|
+
* @deprecated import the DrawingToolComponent directly
|
|
1201
1165
|
*/
|
|
1202
1166
|
class IgoAppDrawingToolModule {
|
|
1203
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1204
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
1205
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
1167
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: IgoAppDrawingToolModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1168
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.2.1", ngImport: i0, type: IgoAppDrawingToolModule, imports: [DrawingToolComponent], exports: [DrawingToolComponent] });
|
|
1169
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: IgoAppDrawingToolModule, imports: [DrawingToolComponent] });
|
|
1206
1170
|
}
|
|
1207
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1171
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: IgoAppDrawingToolModule, decorators: [{
|
|
1208
1172
|
type: NgModule,
|
|
1209
1173
|
args: [{
|
|
1210
|
-
imports: [
|
|
1211
|
-
|
|
1212
|
-
exports: [DrawingToolComponent],
|
|
1213
|
-
schemas: [CUSTOM_ELEMENTS_SCHEMA]
|
|
1174
|
+
imports: [DrawingToolComponent],
|
|
1175
|
+
exports: [DrawingToolComponent]
|
|
1214
1176
|
}]
|
|
1215
1177
|
}] });
|
|
1216
1178
|
|
|
1179
|
+
/**
|
|
1180
|
+
* @deprecated import the DrawingToolComponent directly
|
|
1181
|
+
*/
|
|
1217
1182
|
class IgoAppDrawModule {
|
|
1218
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1219
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
1220
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
1183
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: IgoAppDrawModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1184
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.2.1", ngImport: i0, type: IgoAppDrawModule, exports: [IgoAppDrawingToolModule] });
|
|
1185
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: IgoAppDrawModule, imports: [IgoAppDrawingToolModule] });
|
|
1221
1186
|
}
|
|
1222
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1187
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: IgoAppDrawModule, decorators: [{
|
|
1223
1188
|
type: NgModule,
|
|
1224
1189
|
args: [{
|
|
1225
|
-
imports: [IgoDrawingToolModule],
|
|
1226
1190
|
exports: [IgoAppDrawingToolModule]
|
|
1227
1191
|
}]
|
|
1228
1192
|
}] });
|
|
@@ -1253,8 +1217,8 @@ let ActiveOgcFilterToolComponent = class ActiveOgcFilterToolComponent {
|
|
|
1253
1217
|
constructor(mapState) {
|
|
1254
1218
|
this.mapState = mapState;
|
|
1255
1219
|
}
|
|
1256
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1257
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
1220
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: ActiveOgcFilterToolComponent, deps: [{ token: MapState }], target: i0.ɵɵFactoryTarget.Component });
|
|
1221
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.2.1", type: ActiveOgcFilterToolComponent, isStandalone: true, selector: "igo-active-ogc-filter-tool", ngImport: i0, template: "<igo-ogc-filterable-item\n [map]=\"map\"\n [layer]=\"layer\"\n [header]=\"false\"\n [@toolSlideInOut]=\"animate\"\n>\n</igo-ogc-filterable-item>\n", dependencies: [{ kind: "component", type: OgcFilterableItemComponent, selector: "igo-ogc-filterable-item", inputs: ["layer", "map", "header"] }], animations: [toolSlideInOut$1()] });
|
|
1258
1222
|
};
|
|
1259
1223
|
ActiveOgcFilterToolComponent = __decorate([
|
|
1260
1224
|
ToolComponent({
|
|
@@ -1265,10 +1229,10 @@ ActiveOgcFilterToolComponent = __decorate([
|
|
|
1265
1229
|
}),
|
|
1266
1230
|
__metadata("design:paramtypes", [MapState])
|
|
1267
1231
|
], ActiveOgcFilterToolComponent);
|
|
1268
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1232
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: ActiveOgcFilterToolComponent, decorators: [{
|
|
1269
1233
|
type: Component,
|
|
1270
|
-
args: [{ selector: 'igo-active-ogc-filter-tool', animations: [toolSlideInOut$1()], template: "<igo-ogc-filterable-item\n [map]=\"map\"\n [layer]=\"layer\"\n [header]=\"false\"\n [@toolSlideInOut]=\"animate\"\n>\n</igo-ogc-filterable-item>\n" }]
|
|
1271
|
-
}], ctorParameters:
|
|
1234
|
+
args: [{ selector: 'igo-active-ogc-filter-tool', animations: [toolSlideInOut$1()], standalone: true, imports: [OgcFilterableItemComponent], template: "<igo-ogc-filterable-item\n [map]=\"map\"\n [layer]=\"layer\"\n [header]=\"false\"\n [@toolSlideInOut]=\"animate\"\n>\n</igo-ogc-filterable-item>\n" }]
|
|
1235
|
+
}], ctorParameters: () => [{ type: MapState }] });
|
|
1272
1236
|
|
|
1273
1237
|
function toolSlideInOut(speed = '300ms', type = 'ease-in-out') {
|
|
1274
1238
|
return trigger('toolSlideInOut', [
|
|
@@ -1296,8 +1260,8 @@ let ActiveTimeFilterToolComponent = class ActiveTimeFilterToolComponent {
|
|
|
1296
1260
|
constructor(mapState) {
|
|
1297
1261
|
this.mapState = mapState;
|
|
1298
1262
|
}
|
|
1299
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1300
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
1263
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: ActiveTimeFilterToolComponent, deps: [{ token: MapState }], target: i0.ɵɵFactoryTarget.Component });
|
|
1264
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.2.1", type: ActiveTimeFilterToolComponent, isStandalone: true, selector: "igo-active-time-filter-tool", ngImport: i0, template: "<igo-time-filter-item\r\n [layer]=\"layer\"\r\n [header]=\"false\"\r\n [@toolSlideInOut]=\"animate\"\r\n>\r\n</igo-time-filter-item>\r\n", dependencies: [{ kind: "component", type: TimeFilterItemComponent, selector: "igo-time-filter-item", inputs: ["header", "layer"] }], animations: [toolSlideInOut()] });
|
|
1301
1265
|
};
|
|
1302
1266
|
ActiveTimeFilterToolComponent = __decorate([
|
|
1303
1267
|
ToolComponent({
|
|
@@ -1308,15 +1272,15 @@ ActiveTimeFilterToolComponent = __decorate([
|
|
|
1308
1272
|
}),
|
|
1309
1273
|
__metadata("design:paramtypes", [MapState])
|
|
1310
1274
|
], ActiveTimeFilterToolComponent);
|
|
1311
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1275
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: ActiveTimeFilterToolComponent, decorators: [{
|
|
1312
1276
|
type: Component,
|
|
1313
|
-
args: [{ selector: 'igo-active-time-filter-tool', animations: [toolSlideInOut()], template: "<igo-time-filter-item\r\n [
|
|
1314
|
-
}], ctorParameters:
|
|
1277
|
+
args: [{ selector: 'igo-active-time-filter-tool', animations: [toolSlideInOut()], standalone: true, imports: [TimeFilterItemComponent], template: "<igo-time-filter-item\r\n [layer]=\"layer\"\r\n [header]=\"false\"\r\n [@toolSlideInOut]=\"animate\"\r\n>\r\n</igo-time-filter-item>\r\n" }]
|
|
1278
|
+
}], ctorParameters: () => [{ type: MapState }] });
|
|
1315
1279
|
|
|
1316
1280
|
let OgcFilterToolComponent = class OgcFilterToolComponent {
|
|
1317
1281
|
constructor() { }
|
|
1318
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1319
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
1282
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: OgcFilterToolComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1283
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.2.1", type: OgcFilterToolComponent, isStandalone: true, selector: "igo-ogc-filter-tool", ngImport: i0, template: "<igo-ogc-filterable-list igoOgcFilterableListBinding></igo-ogc-filterable-list>\n", dependencies: [{ kind: "component", type: OgcFilterableListComponent, selector: "igo-ogc-filterable-list", inputs: ["layers", "map"] }, { kind: "directive", type: OgcFilterableListBindingDirective, selector: "[igoOgcFilterableListBinding]" }] });
|
|
1320
1284
|
};
|
|
1321
1285
|
OgcFilterToolComponent = __decorate([
|
|
1322
1286
|
ToolComponent({
|
|
@@ -1326,10 +1290,10 @@ OgcFilterToolComponent = __decorate([
|
|
|
1326
1290
|
}),
|
|
1327
1291
|
__metadata("design:paramtypes", [])
|
|
1328
1292
|
], OgcFilterToolComponent);
|
|
1329
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1293
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: OgcFilterToolComponent, decorators: [{
|
|
1330
1294
|
type: Component,
|
|
1331
|
-
args: [{ selector: 'igo-ogc-filter-tool', template: "<igo-ogc-filterable-list igoOgcFilterableListBinding></igo-ogc-filterable-list>\n" }]
|
|
1332
|
-
}], ctorParameters:
|
|
1295
|
+
args: [{ selector: 'igo-ogc-filter-tool', standalone: true, imports: [OgcFilterableListComponent, OgcFilterableListBindingDirective], template: "<igo-ogc-filterable-list igoOgcFilterableListBinding></igo-ogc-filterable-list>\n" }]
|
|
1296
|
+
}], ctorParameters: () => [] });
|
|
1333
1297
|
|
|
1334
1298
|
/**
|
|
1335
1299
|
* Service that holds the state of storage service
|
|
@@ -1342,15 +1306,15 @@ class StorageState {
|
|
|
1342
1306
|
constructor(igoStorageService) {
|
|
1343
1307
|
this.igoStorageService = igoStorageService;
|
|
1344
1308
|
}
|
|
1345
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1346
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1309
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: StorageState, deps: [{ token: i2.StorageService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1310
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: StorageState, providedIn: 'root' });
|
|
1347
1311
|
}
|
|
1348
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1312
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: StorageState, decorators: [{
|
|
1349
1313
|
type: Injectable,
|
|
1350
1314
|
args: [{
|
|
1351
1315
|
providedIn: 'root'
|
|
1352
1316
|
}]
|
|
1353
|
-
}], ctorParameters:
|
|
1317
|
+
}], ctorParameters: () => [{ type: i2.StorageService }] });
|
|
1354
1318
|
|
|
1355
1319
|
function handleZoomAuto(workspace, storageService) {
|
|
1356
1320
|
const zoomStrategy = workspace.entityStore.getStrategyOfType(FeatureStoreSelectionStrategy);
|
|
@@ -1358,7 +1322,7 @@ function handleZoomAuto(workspace, storageService) {
|
|
|
1358
1322
|
? FeatureMotion.Default
|
|
1359
1323
|
: FeatureMotion.None);
|
|
1360
1324
|
}
|
|
1361
|
-
function getWorkspaceActions(workspace, rowsInMapExtentCheckCondition$, selectOnlyCheckCondition$, ogcFilterWidget, zoomAuto$, maximize$, storageService, languageService, mediaService, toolState
|
|
1325
|
+
function getWorkspaceActions(workspace, rowsInMapExtentCheckCondition$, selectOnlyCheckCondition$, ogcFilterWidget, zoomAuto$, maximize$, storageService, languageService, mediaService, toolState) {
|
|
1362
1326
|
const actions = [
|
|
1363
1327
|
{
|
|
1364
1328
|
id: 'zoomAuto',
|
|
@@ -1467,7 +1431,7 @@ function getWorkspaceActions(workspace, rowsInMapExtentCheckCondition$, selectOn
|
|
|
1467
1431
|
title: 'igo.integration.workspace.print.title',
|
|
1468
1432
|
tooltip: 'igo.integration.workspace.print.tooltip',
|
|
1469
1433
|
handler: (ws) => {
|
|
1470
|
-
const title = `${ws.layer.title} (${
|
|
1434
|
+
const title = `${ws.layer.title} (${dateTransform(new Date(), 'YYYY-MM-DD-HH_mm')})`;
|
|
1471
1435
|
const doc = new jsPDF.default('landscape');
|
|
1472
1436
|
const totalPagesExp = '{total_pages_count_string}';
|
|
1473
1437
|
doc.text(title, 14, 20);
|
|
@@ -1515,7 +1479,6 @@ class EditionActionsService {
|
|
|
1515
1479
|
languageService;
|
|
1516
1480
|
mediaService;
|
|
1517
1481
|
toolState;
|
|
1518
|
-
datePipe;
|
|
1519
1482
|
maximize$;
|
|
1520
1483
|
zoomAuto$ = new BehaviorSubject(false);
|
|
1521
1484
|
storageChange$$;
|
|
@@ -1525,13 +1488,12 @@ class EditionActionsService {
|
|
|
1525
1488
|
get zoomAuto() {
|
|
1526
1489
|
return this.storageService.get('zoomAuto');
|
|
1527
1490
|
}
|
|
1528
|
-
constructor(ogcFilterWidget, storageState, languageService, mediaService, toolState
|
|
1491
|
+
constructor(ogcFilterWidget, storageState, languageService, mediaService, toolState) {
|
|
1529
1492
|
this.ogcFilterWidget = ogcFilterWidget;
|
|
1530
1493
|
this.storageState = storageState;
|
|
1531
1494
|
this.languageService = languageService;
|
|
1532
1495
|
this.mediaService = mediaService;
|
|
1533
1496
|
this.toolState = toolState;
|
|
1534
|
-
this.datePipe = datePipe;
|
|
1535
1497
|
this.maximize$ = new BehaviorSubject(this.storageService.get('workspaceMaximize'));
|
|
1536
1498
|
}
|
|
1537
1499
|
ngOnDestroy() {
|
|
@@ -1552,27 +1514,26 @@ class EditionActionsService {
|
|
|
1552
1514
|
this.zoomAuto$.next(this.zoomAuto);
|
|
1553
1515
|
handleZoomAuto(workspace, this.storageService);
|
|
1554
1516
|
});
|
|
1555
|
-
return getWorkspaceActions(workspace, rowsInMapExtentCheckCondition$, selectOnlyCheckCondition$, this.ogcFilterWidget, this.zoomAuto$, this.maximize$, this.storageService, this.languageService, this.mediaService, this.toolState
|
|
1517
|
+
return getWorkspaceActions(workspace, rowsInMapExtentCheckCondition$, selectOnlyCheckCondition$, this.ogcFilterWidget, this.zoomAuto$, this.maximize$, this.storageService, this.languageService, this.mediaService, this.toolState);
|
|
1556
1518
|
}
|
|
1557
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1558
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1519
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: EditionActionsService, deps: [{ token: OgcFilterWidget }, { token: StorageState }, { token: i2.LanguageService }, { token: i2.MediaService }, { token: ToolState }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1520
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: EditionActionsService, providedIn: 'root' });
|
|
1559
1521
|
}
|
|
1560
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1522
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: EditionActionsService, decorators: [{
|
|
1561
1523
|
type: Injectable,
|
|
1562
1524
|
args: [{
|
|
1563
1525
|
providedIn: 'root'
|
|
1564
1526
|
}]
|
|
1565
|
-
}], ctorParameters:
|
|
1527
|
+
}], ctorParameters: () => [{ type: i2$2.Widget, decorators: [{
|
|
1566
1528
|
type: Inject,
|
|
1567
1529
|
args: [OgcFilterWidget]
|
|
1568
|
-
}] }, { type: StorageState }, { type: i2.LanguageService }, { type: i2.MediaService }, { type: ToolState }
|
|
1530
|
+
}] }, { type: StorageState }, { type: i2.LanguageService }, { type: i2.MediaService }, { type: ToolState }] });
|
|
1569
1531
|
|
|
1570
1532
|
class FeatureActionsService {
|
|
1571
1533
|
storageState;
|
|
1572
1534
|
languageService;
|
|
1573
1535
|
toolState;
|
|
1574
1536
|
mediaService;
|
|
1575
|
-
datePipe;
|
|
1576
1537
|
maximize$;
|
|
1577
1538
|
zoomAuto$ = new BehaviorSubject(false);
|
|
1578
1539
|
storageChange$$;
|
|
@@ -1582,12 +1543,11 @@ class FeatureActionsService {
|
|
|
1582
1543
|
get zoomAuto() {
|
|
1583
1544
|
return this.storageService.get('zoomAuto');
|
|
1584
1545
|
}
|
|
1585
|
-
constructor(storageState, languageService, toolState, mediaService
|
|
1546
|
+
constructor(storageState, languageService, toolState, mediaService) {
|
|
1586
1547
|
this.storageState = storageState;
|
|
1587
1548
|
this.languageService = languageService;
|
|
1588
1549
|
this.toolState = toolState;
|
|
1589
1550
|
this.mediaService = mediaService;
|
|
1590
|
-
this.datePipe = datePipe;
|
|
1591
1551
|
this.maximize$ = new BehaviorSubject(this.storageService.get('workspaceMaximize'));
|
|
1592
1552
|
}
|
|
1593
1553
|
ngOnDestroy() {
|
|
@@ -1608,17 +1568,17 @@ class FeatureActionsService {
|
|
|
1608
1568
|
this.zoomAuto$.next(this.zoomAuto);
|
|
1609
1569
|
handleZoomAuto(workspace, this.storageService);
|
|
1610
1570
|
});
|
|
1611
|
-
return getWorkspaceActions(workspace, rowsInMapExtentCheckCondition$, selectOnlyCheckCondition$, undefined, this.zoomAuto$, this.maximize$, this.storageService, this.languageService, this.mediaService, this.toolState
|
|
1571
|
+
return getWorkspaceActions(workspace, rowsInMapExtentCheckCondition$, selectOnlyCheckCondition$, undefined, this.zoomAuto$, this.maximize$, this.storageService, this.languageService, this.mediaService, this.toolState);
|
|
1612
1572
|
}
|
|
1613
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1614
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1573
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: FeatureActionsService, deps: [{ token: StorageState }, { token: i2.LanguageService }, { token: ToolState }, { token: i2.MediaService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1574
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: FeatureActionsService, providedIn: 'root' });
|
|
1615
1575
|
}
|
|
1616
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1576
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: FeatureActionsService, decorators: [{
|
|
1617
1577
|
type: Injectable,
|
|
1618
1578
|
args: [{
|
|
1619
1579
|
providedIn: 'root'
|
|
1620
1580
|
}]
|
|
1621
|
-
}], ctorParameters:
|
|
1581
|
+
}], ctorParameters: () => [{ type: StorageState }, { type: i2.LanguageService }, { type: ToolState }, { type: i2.MediaService }] });
|
|
1622
1582
|
|
|
1623
1583
|
class WfsActionsService {
|
|
1624
1584
|
ogcFilterWidget;
|
|
@@ -1626,7 +1586,6 @@ class WfsActionsService {
|
|
|
1626
1586
|
languageService;
|
|
1627
1587
|
mediaService;
|
|
1628
1588
|
toolState;
|
|
1629
|
-
datePipe;
|
|
1630
1589
|
maximize$;
|
|
1631
1590
|
selectOnlyCheckCondition$ = new BehaviorSubject(false);
|
|
1632
1591
|
// rowsInMapExtentCheckCondition$: BehaviorSubject<boolean> = new BehaviorSubject(true);
|
|
@@ -1638,13 +1597,12 @@ class WfsActionsService {
|
|
|
1638
1597
|
get zoomAuto() {
|
|
1639
1598
|
return this.storageService.get('zoomAuto');
|
|
1640
1599
|
}
|
|
1641
|
-
constructor(ogcFilterWidget, storageState, languageService, mediaService, toolState
|
|
1600
|
+
constructor(ogcFilterWidget, storageState, languageService, mediaService, toolState) {
|
|
1642
1601
|
this.ogcFilterWidget = ogcFilterWidget;
|
|
1643
1602
|
this.storageState = storageState;
|
|
1644
1603
|
this.languageService = languageService;
|
|
1645
1604
|
this.mediaService = mediaService;
|
|
1646
1605
|
this.toolState = toolState;
|
|
1647
|
-
this.datePipe = datePipe;
|
|
1648
1606
|
this.maximize$ = new BehaviorSubject(this.storageService.get('workspaceMaximize'));
|
|
1649
1607
|
}
|
|
1650
1608
|
ngOnDestroy() {
|
|
@@ -1665,20 +1623,20 @@ class WfsActionsService {
|
|
|
1665
1623
|
this.zoomAuto$.next(this.zoomAuto);
|
|
1666
1624
|
handleZoomAuto(workspace, this.storageService);
|
|
1667
1625
|
});
|
|
1668
|
-
return getWorkspaceActions(workspace, rowsInMapExtentCheckCondition$, selectOnlyCheckCondition$, this.ogcFilterWidget, this.zoomAuto$, this.maximize$, this.storageService, this.languageService, this.mediaService, this.toolState
|
|
1626
|
+
return getWorkspaceActions(workspace, rowsInMapExtentCheckCondition$, selectOnlyCheckCondition$, this.ogcFilterWidget, this.zoomAuto$, this.maximize$, this.storageService, this.languageService, this.mediaService, this.toolState);
|
|
1669
1627
|
}
|
|
1670
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1671
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1628
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: WfsActionsService, deps: [{ token: OgcFilterWidget }, { token: StorageState }, { token: i2.LanguageService }, { token: i2.MediaService }, { token: ToolState }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1629
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: WfsActionsService, providedIn: 'root' });
|
|
1672
1630
|
}
|
|
1673
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1631
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: WfsActionsService, decorators: [{
|
|
1674
1632
|
type: Injectable,
|
|
1675
1633
|
args: [{
|
|
1676
1634
|
providedIn: 'root'
|
|
1677
1635
|
}]
|
|
1678
|
-
}], ctorParameters:
|
|
1636
|
+
}], ctorParameters: () => [{ type: i2$2.Widget, decorators: [{
|
|
1679
1637
|
type: Inject,
|
|
1680
1638
|
args: [OgcFilterWidget]
|
|
1681
|
-
}] }, { type: StorageState }, { type: i2.LanguageService }, { type: i2.MediaService }, { type: ToolState }
|
|
1639
|
+
}] }, { type: StorageState }, { type: i2.LanguageService }, { type: i2.MediaService }, { type: ToolState }] });
|
|
1682
1640
|
|
|
1683
1641
|
/**
|
|
1684
1642
|
* Service that holds the state of the workspace module
|
|
@@ -1861,15 +1819,15 @@ class WorkspaceState {
|
|
|
1861
1819
|
this.activeWorkspace$$.unsubscribe();
|
|
1862
1820
|
}
|
|
1863
1821
|
}
|
|
1864
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1865
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1822
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: WorkspaceState, deps: [{ token: FeatureActionsService }, { token: WfsActionsService }, { token: EditionActionsService }, { token: i2.StorageService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1823
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: WorkspaceState, providedIn: 'root' });
|
|
1866
1824
|
}
|
|
1867
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1825
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: WorkspaceState, decorators: [{
|
|
1868
1826
|
type: Injectable,
|
|
1869
1827
|
args: [{
|
|
1870
1828
|
providedIn: 'root'
|
|
1871
1829
|
}]
|
|
1872
|
-
}], ctorParameters:
|
|
1830
|
+
}], ctorParameters: () => [{ type: FeatureActionsService }, { type: WfsActionsService }, { type: EditionActionsService }, { type: i2.StorageService }] });
|
|
1873
1831
|
|
|
1874
1832
|
/**
|
|
1875
1833
|
* Tool to apply spatial filter
|
|
@@ -2389,8 +2347,8 @@ let SpatialFilterToolComponent = class SpatialFilterToolComponent {
|
|
|
2389
2347
|
}
|
|
2390
2348
|
this.activeLayers.push(layer);
|
|
2391
2349
|
}
|
|
2392
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2393
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
2350
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: SpatialFilterToolComponent, deps: [{ token: i7.MatIconRegistry }, { token: i1.SpatialFilterService }, { token: i1.DataSourceService }, { token: i1.LayerService }, { token: MapState }, { token: i2.MessageService }, { token: i2.LanguageService }, { token: ImportExportState }, { token: ToolState }, { token: WorkspaceState }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
2351
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.2.1", type: SpatialFilterToolComponent, isStandalone: true, selector: "igo-spatial-filter-tool", inputs: { type: "type", itemType: "itemType", freehandDrawIsActive: "freehandDrawIsActive" }, ngImport: i0, template: "<igo-spatial-filter-type\r\n [store]=\"spatialListStore\"\r\n [selectedQueryType]=\"queryType\"\r\n [zone]=\"zone\"\r\n [layers]=\"activeLayers\"\r\n (eventType)=\"getOutputType($event)\"\r\n (eventQueryType)=\"getOutputQueryType($event)\"\r\n (zoneChange)=\"onZoneChange($event)\"\r\n (zoneWithBufferChange)=\"onZoneChange($event, true)\"\r\n (bufferChange)=\"buffer = $event\"\r\n (measureUnitChange)=\"measureUnit = $event\"\r\n>\r\n</igo-spatial-filter-type>\r\n\r\n<igo-spatial-filter-item\r\n [type]=\"type\"\r\n [queryType]=\"queryType\"\r\n [map]=\"map\"\r\n [zone]=\"zone\"\r\n [loading]=\"loading\"\r\n [store]=\"store\"\r\n [layers]=\"activeLayers\"\r\n [allLayers]=\"layers\"\r\n [thematicLength]=\"thematicLength\"\r\n (radiusEvent)=\"buffer = $event\"\r\n (bufferEvent)=\"buffer = $event\"\r\n (measureUnitChange)=\"measureUnit = $event\"\r\n (freehandControl)=\"freehandDrawIsActive = $event\"\r\n (drawZoneEvent)=\"zone = $event\"\r\n (zoneWithBufferChange)=\"onZoneChange($event, true)\"\r\n (itemTypeChange)=\"itemType = $event\"\r\n (thematicChange)=\"thematics = $event\"\r\n (toggleSearch)=\"getOutputToggleSearch()\"\r\n (clearButtonEvent)=\"clearMap()\"\r\n (clearSearchEvent)=\"getOutputClearSearch()\"\r\n (export)=\"activateExportTool()\"\r\n (openWorkspace)=\"activateWorkspace()\"\r\n (entityChange)=\"activateWorkspace($event)\"\r\n>\r\n</igo-spatial-filter-item>\r\n<ng-container *ngIf=\"selectedFeature$ | async as feature\">\r\n <igo-feature-details [feature]=\"feature\"></igo-feature-details>\r\n</ng-container>\r\n", styles: [":host igo-spatial-filter-item{display:block;padding:0 12px}:host ::ng-deep .mat-mdc-tab-body-wrapper{margin-top:12px;padding:0 12px}\n"], dependencies: [{ kind: "component", type: SpatialFilterTypeComponent, selector: "igo-spatial-filter-type", inputs: ["store", "selectedQueryType", "zone", "layers"], outputs: ["eventType", "eventQueryType", "zoneChange", "zoneWithBufferChange", "bufferChange", "measureUnitChange"] }, { kind: "component", type: SpatialFilterItemComponent, selector: "igo-spatial-filter-item", inputs: ["map", "type", "queryType", "zone", "loading", "store", "layers", "allLayers", "thematicLength"], outputs: ["toggleSearch", "itemTypeChange", "thematicChange", "drawZoneEvent", "bufferEvent", "zoneWithBufferChange", "measureUnitChange", "radiusEvent", "freehandControl", "predefinedRadius", "clearButtonEvent", "clearSearchEvent", "export", "openWorkspace", "entityChange"] }, { kind: "component", type: FeatureDetailsComponent, selector: "igo-feature-details", inputs: ["source", "map", "toolbox", "feature"], outputs: ["routeEvent", "selectFeature", "htmlDisplayEvent"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2394
2352
|
};
|
|
2395
2353
|
SpatialFilterToolComponent = __decorate([
|
|
2396
2354
|
ToolComponent({
|
|
@@ -2414,10 +2372,17 @@ SpatialFilterToolComponent = __decorate([
|
|
|
2414
2372
|
WorkspaceState,
|
|
2415
2373
|
ChangeDetectorRef])
|
|
2416
2374
|
], SpatialFilterToolComponent);
|
|
2417
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2375
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: SpatialFilterToolComponent, decorators: [{
|
|
2418
2376
|
type: Component,
|
|
2419
|
-
args: [{ selector: 'igo-spatial-filter-tool', changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2420
|
-
|
|
2377
|
+
args: [{ selector: 'igo-spatial-filter-tool', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [
|
|
2378
|
+
SpatialFilterTypeComponent,
|
|
2379
|
+
SpatialFilterItemComponent,
|
|
2380
|
+
PanelComponent,
|
|
2381
|
+
FeatureDetailsComponent,
|
|
2382
|
+
NgIf,
|
|
2383
|
+
AsyncPipe
|
|
2384
|
+
], template: "<igo-spatial-filter-type\r\n [store]=\"spatialListStore\"\r\n [selectedQueryType]=\"queryType\"\r\n [zone]=\"zone\"\r\n [layers]=\"activeLayers\"\r\n (eventType)=\"getOutputType($event)\"\r\n (eventQueryType)=\"getOutputQueryType($event)\"\r\n (zoneChange)=\"onZoneChange($event)\"\r\n (zoneWithBufferChange)=\"onZoneChange($event, true)\"\r\n (bufferChange)=\"buffer = $event\"\r\n (measureUnitChange)=\"measureUnit = $event\"\r\n>\r\n</igo-spatial-filter-type>\r\n\r\n<igo-spatial-filter-item\r\n [type]=\"type\"\r\n [queryType]=\"queryType\"\r\n [map]=\"map\"\r\n [zone]=\"zone\"\r\n [loading]=\"loading\"\r\n [store]=\"store\"\r\n [layers]=\"activeLayers\"\r\n [allLayers]=\"layers\"\r\n [thematicLength]=\"thematicLength\"\r\n (radiusEvent)=\"buffer = $event\"\r\n (bufferEvent)=\"buffer = $event\"\r\n (measureUnitChange)=\"measureUnit = $event\"\r\n (freehandControl)=\"freehandDrawIsActive = $event\"\r\n (drawZoneEvent)=\"zone = $event\"\r\n (zoneWithBufferChange)=\"onZoneChange($event, true)\"\r\n (itemTypeChange)=\"itemType = $event\"\r\n (thematicChange)=\"thematics = $event\"\r\n (toggleSearch)=\"getOutputToggleSearch()\"\r\n (clearButtonEvent)=\"clearMap()\"\r\n (clearSearchEvent)=\"getOutputClearSearch()\"\r\n (export)=\"activateExportTool()\"\r\n (openWorkspace)=\"activateWorkspace()\"\r\n (entityChange)=\"activateWorkspace($event)\"\r\n>\r\n</igo-spatial-filter-item>\r\n<ng-container *ngIf=\"selectedFeature$ | async as feature\">\r\n <igo-feature-details [feature]=\"feature\"></igo-feature-details>\r\n</ng-container>\r\n", styles: [":host igo-spatial-filter-item{display:block;padding:0 12px}:host ::ng-deep .mat-mdc-tab-body-wrapper{margin-top:12px;padding:0 12px}\n"] }]
|
|
2385
|
+
}], ctorParameters: () => [{ type: i7.MatIconRegistry }, { type: i1.SpatialFilterService }, { type: i1.DataSourceService }, { type: i1.LayerService }, { type: MapState }, { type: i2.MessageService }, { type: i2.LanguageService }, { type: ImportExportState }, { type: ToolState }, { type: WorkspaceState }, { type: i0.ChangeDetectorRef }], propDecorators: { type: [{
|
|
2421
2386
|
type: Input
|
|
2422
2387
|
}], itemType: [{
|
|
2423
2388
|
type: Input
|
|
@@ -2427,8 +2392,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
2427
2392
|
|
|
2428
2393
|
let TimeFilterToolComponent = class TimeFilterToolComponent {
|
|
2429
2394
|
constructor() { }
|
|
2430
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2431
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
2395
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: TimeFilterToolComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2396
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.2.1", type: TimeFilterToolComponent, isStandalone: true, selector: "igo-time-filter-tool", ngImport: i0, template: "<igo-time-filter-list igoTimeFilterListBinding></igo-time-filter-list>\n", dependencies: [{ kind: "component", type: TimeFilterListComponent, selector: "igo-time-filter-list", inputs: ["layers"] }, { kind: "directive", type: TimeFilterListBindingDirective, selector: "[igoTimeFilterListBinding]" }] });
|
|
2432
2397
|
};
|
|
2433
2398
|
TimeFilterToolComponent = __decorate([
|
|
2434
2399
|
ToolComponent({
|
|
@@ -2438,11 +2403,14 @@ TimeFilterToolComponent = __decorate([
|
|
|
2438
2403
|
}),
|
|
2439
2404
|
__metadata("design:paramtypes", [])
|
|
2440
2405
|
], TimeFilterToolComponent);
|
|
2441
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2406
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: TimeFilterToolComponent, decorators: [{
|
|
2442
2407
|
type: Component,
|
|
2443
|
-
args: [{ selector: 'igo-time-filter-tool', template: "<igo-time-filter-list igoTimeFilterListBinding></igo-time-filter-list>\n" }]
|
|
2444
|
-
}], ctorParameters:
|
|
2408
|
+
args: [{ selector: 'igo-time-filter-tool', standalone: true, imports: [TimeFilterListComponent, TimeFilterListBindingDirective], template: "<igo-time-filter-list igoTimeFilterListBinding></igo-time-filter-list>\n" }]
|
|
2409
|
+
}], ctorParameters: () => [] });
|
|
2445
2410
|
|
|
2411
|
+
/**
|
|
2412
|
+
* @deprecated import the components directly or INTEGRATION_FILTER_DIRECTIVES for the set
|
|
2413
|
+
*/
|
|
2446
2414
|
class IgoAppFilterModule {
|
|
2447
2415
|
static forRoot() {
|
|
2448
2416
|
return {
|
|
@@ -2450,23 +2418,26 @@ class IgoAppFilterModule {
|
|
|
2450
2418
|
providers: []
|
|
2451
2419
|
};
|
|
2452
2420
|
}
|
|
2453
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2454
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
2421
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: IgoAppFilterModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2422
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.2.1", ngImport: i0, type: IgoAppFilterModule, imports: [OgcFilterToolComponent,
|
|
2455
2423
|
ActiveOgcFilterToolComponent,
|
|
2456
2424
|
TimeFilterToolComponent,
|
|
2457
2425
|
ActiveTimeFilterToolComponent,
|
|
2458
|
-
SpatialFilterToolComponent],
|
|
2426
|
+
SpatialFilterToolComponent], exports: [OgcFilterToolComponent,
|
|
2427
|
+
ActiveOgcFilterToolComponent,
|
|
2428
|
+
TimeFilterToolComponent,
|
|
2429
|
+
ActiveTimeFilterToolComponent,
|
|
2430
|
+
SpatialFilterToolComponent] });
|
|
2431
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: IgoAppFilterModule, imports: [OgcFilterToolComponent,
|
|
2459
2432
|
ActiveOgcFilterToolComponent,
|
|
2460
2433
|
TimeFilterToolComponent,
|
|
2461
2434
|
ActiveTimeFilterToolComponent,
|
|
2462
2435
|
SpatialFilterToolComponent] });
|
|
2463
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IgoAppFilterModule, imports: [IgoFilterModule, IgoQueryModule, CommonModule] });
|
|
2464
2436
|
}
|
|
2465
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2437
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: IgoAppFilterModule, decorators: [{
|
|
2466
2438
|
type: NgModule,
|
|
2467
2439
|
args: [{
|
|
2468
|
-
imports: [
|
|
2469
|
-
declarations: [
|
|
2440
|
+
imports: [
|
|
2470
2441
|
OgcFilterToolComponent,
|
|
2471
2442
|
ActiveOgcFilterToolComponent,
|
|
2472
2443
|
TimeFilterToolComponent,
|
|
@@ -2479,8 +2450,199 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
2479
2450
|
TimeFilterToolComponent,
|
|
2480
2451
|
ActiveTimeFilterToolComponent,
|
|
2481
2452
|
SpatialFilterToolComponent
|
|
2453
|
+
]
|
|
2454
|
+
}]
|
|
2455
|
+
}] });
|
|
2456
|
+
|
|
2457
|
+
let DataIssueReporterToolComponent = class DataIssueReporterToolComponent {
|
|
2458
|
+
mapState;
|
|
2459
|
+
formService;
|
|
2460
|
+
languageService;
|
|
2461
|
+
messageService;
|
|
2462
|
+
httpClient;
|
|
2463
|
+
/**
|
|
2464
|
+
* Url to report the data issue. Use the Post protocol to send the form.
|
|
2465
|
+
*/
|
|
2466
|
+
url;
|
|
2467
|
+
/**
|
|
2468
|
+
* Map to link to the form
|
|
2469
|
+
* @internal
|
|
2470
|
+
*/
|
|
2471
|
+
get map() {
|
|
2472
|
+
return this.mapState.map;
|
|
2473
|
+
}
|
|
2474
|
+
form$ = new BehaviorSubject(undefined);
|
|
2475
|
+
data$ = new BehaviorSubject(undefined);
|
|
2476
|
+
submitDisabled = true;
|
|
2477
|
+
valueChanges$$;
|
|
2478
|
+
constructor(mapState, formService, languageService, messageService, httpClient) {
|
|
2479
|
+
this.mapState = mapState;
|
|
2480
|
+
this.formService = formService;
|
|
2481
|
+
this.languageService = languageService;
|
|
2482
|
+
this.messageService = messageService;
|
|
2483
|
+
this.httpClient = httpClient;
|
|
2484
|
+
}
|
|
2485
|
+
ngOnInit() {
|
|
2486
|
+
combineLatest([this.languageService.language$, this.map.layers$]).subscribe(([language, layers]) => {
|
|
2487
|
+
const baseLayerOrShownInLayerList = layers
|
|
2488
|
+
.filter((l) => l.baseLayer || l.showInLayerList)
|
|
2489
|
+
.map((l) => {
|
|
2490
|
+
return { value: `${l.title}-${l.id}`, title: l.title };
|
|
2491
|
+
});
|
|
2492
|
+
const fieldConfigs = [
|
|
2493
|
+
{
|
|
2494
|
+
name: 'geometry',
|
|
2495
|
+
title: this.languageService.translate.instant('igo.integration.dataIssueReporterTool.geometry'),
|
|
2496
|
+
type: 'geometry',
|
|
2497
|
+
inputs: {
|
|
2498
|
+
map: this.map,
|
|
2499
|
+
geometryTypeField: true,
|
|
2500
|
+
geometryType: 'Polygon',
|
|
2501
|
+
drawGuideField: false,
|
|
2502
|
+
drawGuide: 0,
|
|
2503
|
+
drawGuidePlaceholder: this.languageService.translate.instant('igo.integration.dataIssueReporterTool.drawGuidePlaceholder'),
|
|
2504
|
+
drawStyle: new olstyle.Style({
|
|
2505
|
+
stroke: new olstyle.Stroke({
|
|
2506
|
+
color: [255, 0, 0, 1],
|
|
2507
|
+
width: 2
|
|
2508
|
+
}),
|
|
2509
|
+
fill: new olstyle.Fill({
|
|
2510
|
+
color: [255, 0, 0, 0.2]
|
|
2511
|
+
}),
|
|
2512
|
+
image: new olstyle.Circle({
|
|
2513
|
+
radius: 8,
|
|
2514
|
+
stroke: new olstyle.Stroke({
|
|
2515
|
+
color: [255, 0, 0, 1]
|
|
2516
|
+
}),
|
|
2517
|
+
fill: new olstyle.Fill({
|
|
2518
|
+
color: [255, 0, 0, 0.2]
|
|
2519
|
+
})
|
|
2520
|
+
})
|
|
2521
|
+
}),
|
|
2522
|
+
overlayStyle: new olstyle.Style({
|
|
2523
|
+
stroke: new olstyle.Stroke({
|
|
2524
|
+
color: [0, 255, 0, 1],
|
|
2525
|
+
width: 2
|
|
2526
|
+
}),
|
|
2527
|
+
fill: new olstyle.Fill({
|
|
2528
|
+
color: [0, 255, 0, 0.2]
|
|
2529
|
+
}),
|
|
2530
|
+
image: new olstyle.Circle({
|
|
2531
|
+
radius: 8,
|
|
2532
|
+
stroke: new olstyle.Stroke({
|
|
2533
|
+
color: [0, 255, 0, 1]
|
|
2534
|
+
}),
|
|
2535
|
+
fill: new olstyle.Fill({
|
|
2536
|
+
color: [0, 255, 0, 0.2]
|
|
2537
|
+
})
|
|
2538
|
+
})
|
|
2539
|
+
})
|
|
2540
|
+
}
|
|
2541
|
+
},
|
|
2542
|
+
{
|
|
2543
|
+
name: 'layer',
|
|
2544
|
+
title: this.languageService.translate.instant('igo.integration.dataIssueReporterTool.layer'),
|
|
2545
|
+
type: 'select',
|
|
2546
|
+
options: {
|
|
2547
|
+
cols: 2
|
|
2548
|
+
},
|
|
2549
|
+
inputs: {
|
|
2550
|
+
choices: baseLayerOrShownInLayerList
|
|
2551
|
+
}
|
|
2552
|
+
},
|
|
2553
|
+
{
|
|
2554
|
+
name: 'desc',
|
|
2555
|
+
title: this.languageService.translate.instant('igo.integration.dataIssueReporterTool.description'),
|
|
2556
|
+
type: 'textarea',
|
|
2557
|
+
options: {
|
|
2558
|
+
validator: Validators.required
|
|
2559
|
+
}
|
|
2560
|
+
},
|
|
2561
|
+
{
|
|
2562
|
+
name: 'email',
|
|
2563
|
+
title: this.languageService.translate.instant('igo.integration.dataIssueReporterTool.email'),
|
|
2564
|
+
options: {
|
|
2565
|
+
validator: Validators.email
|
|
2566
|
+
}
|
|
2567
|
+
}
|
|
2568
|
+
];
|
|
2569
|
+
const fields = fieldConfigs.map((config) => this.formService.field(config));
|
|
2570
|
+
const form = this.formService.form(fields, []);
|
|
2571
|
+
this.valueChanges$$ = form.control.valueChanges.subscribe(() => {
|
|
2572
|
+
this.submitDisabled = !form.control.valid;
|
|
2573
|
+
});
|
|
2574
|
+
this.form$.next(form);
|
|
2575
|
+
});
|
|
2576
|
+
}
|
|
2577
|
+
ngOnDestroy() {
|
|
2578
|
+
this.valueChanges$$.unsubscribe();
|
|
2579
|
+
}
|
|
2580
|
+
clearForm() {
|
|
2581
|
+
this.form$.value.control.reset();
|
|
2582
|
+
}
|
|
2583
|
+
onSubmit(data) {
|
|
2584
|
+
const submitTitle = 'igo.integration.dataIssueReporterTool.submit.title';
|
|
2585
|
+
if (!this.url) {
|
|
2586
|
+
this.messageService.alert('igo.integration.dataIssueReporterTool.submit.setupMessage', submitTitle);
|
|
2587
|
+
alert(JSON.stringify(data));
|
|
2588
|
+
}
|
|
2589
|
+
else {
|
|
2590
|
+
this.httpClient
|
|
2591
|
+
.post(this.url, data)
|
|
2592
|
+
.subscribe(() => {
|
|
2593
|
+
this.messageService.success('igo.integration.dataIssueReporterTool.submit.message', submitTitle);
|
|
2594
|
+
});
|
|
2595
|
+
this.clearForm();
|
|
2596
|
+
}
|
|
2597
|
+
}
|
|
2598
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: DataIssueReporterToolComponent, deps: [{ token: MapState }, { token: i2$2.FormService }, { token: i2.LanguageService }, { token: i2.MessageService }, { token: i3.HttpClient }], target: i0.ɵɵFactoryTarget.Component });
|
|
2599
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.2.1", type: DataIssueReporterToolComponent, selector: "igo-issue-reporter-tool", inputs: { url: "url" }, ngImport: i0, template: "<igo-form\r\n *ngIf=\"form$ | async as form\"\r\n [form]=\"form\"\r\n [formData]=\"data$ | async\"\r\n (submitForm)=\"onSubmit($any($event))\"\r\n>\r\n <div *ngIf=\"form.fields.length\" class=\"form-container\">\r\n <igo-form-field\r\n *ngFor=\"let field of form.fields\"\r\n [field]=\"field\"\r\n ></igo-form-field>\r\n </div>\r\n\r\n <div formButtons class=\"actions-container\">\r\n <button\r\n mat-stroked-button\r\n type=\"button\"\r\n color=\"primary\"\r\n (click)=\"clearForm()\"\r\n >\r\n {{ 'igo.integration.dataIssueReporterTool.reset.button' | translate }}\r\n </button>\r\n <button\r\n mat-flat-button\r\n type=\"submit\"\r\n color=\"primary\"\r\n [disabled]=\"submitDisabled\"\r\n >\r\n {{ 'igo.integration.dataIssueReporterTool.submit.button' | translate }}\r\n </button>\r\n </div>\r\n</igo-form>\r\n", styles: [":host .actions-container button:not(:last-child){margin-right:8px}:host .form-container{width:100%;padding:10px}:host .form-container igo-form-field{display:block;height:auto}\n"], dependencies: [{ kind: "directive", type: i5$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i5$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i6.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "component", type: i2$2.FormFieldComponent, selector: "igo-form-field", inputs: ["field"] }, { kind: "component", type: i2$2.FormComponent, selector: "igo-form", inputs: ["form", "formData", "autocomplete"], outputs: ["submitForm"] }, { kind: "pipe", type: i5$1.AsyncPipe, name: "async" }, { kind: "pipe", type: i7$2.TranslatePipe, name: "translate" }] });
|
|
2600
|
+
};
|
|
2601
|
+
DataIssueReporterToolComponent = __decorate([
|
|
2602
|
+
ToolComponent({
|
|
2603
|
+
name: 'dataIssueReporter',
|
|
2604
|
+
title: 'igo.integration.tools.dataIssueReporter',
|
|
2605
|
+
icon: 'message-alert'
|
|
2606
|
+
}),
|
|
2607
|
+
__metadata("design:paramtypes", [MapState,
|
|
2608
|
+
FormService,
|
|
2609
|
+
LanguageService,
|
|
2610
|
+
MessageService,
|
|
2611
|
+
HttpClient])
|
|
2612
|
+
], DataIssueReporterToolComponent);
|
|
2613
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: DataIssueReporterToolComponent, decorators: [{
|
|
2614
|
+
type: Component,
|
|
2615
|
+
args: [{ selector: 'igo-issue-reporter-tool', template: "<igo-form\r\n *ngIf=\"form$ | async as form\"\r\n [form]=\"form\"\r\n [formData]=\"data$ | async\"\r\n (submitForm)=\"onSubmit($any($event))\"\r\n>\r\n <div *ngIf=\"form.fields.length\" class=\"form-container\">\r\n <igo-form-field\r\n *ngFor=\"let field of form.fields\"\r\n [field]=\"field\"\r\n ></igo-form-field>\r\n </div>\r\n\r\n <div formButtons class=\"actions-container\">\r\n <button\r\n mat-stroked-button\r\n type=\"button\"\r\n color=\"primary\"\r\n (click)=\"clearForm()\"\r\n >\r\n {{ 'igo.integration.dataIssueReporterTool.reset.button' | translate }}\r\n </button>\r\n <button\r\n mat-flat-button\r\n type=\"submit\"\r\n color=\"primary\"\r\n [disabled]=\"submitDisabled\"\r\n >\r\n {{ 'igo.integration.dataIssueReporterTool.submit.button' | translate }}\r\n </button>\r\n </div>\r\n</igo-form>\r\n", styles: [":host .actions-container button:not(:last-child){margin-right:8px}:host .form-container{width:100%;padding:10px}:host .form-container igo-form-field{display:block;height:auto}\n"] }]
|
|
2616
|
+
}], ctorParameters: () => [{ type: MapState }, { type: i2$2.FormService }, { type: i2.LanguageService }, { type: i2.MessageService }, { type: i3.HttpClient }], propDecorators: { url: [{
|
|
2617
|
+
type: Input
|
|
2618
|
+
}] } });
|
|
2619
|
+
|
|
2620
|
+
class IgoAppGeometryFormModule {
|
|
2621
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: IgoAppGeometryFormModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2622
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.2.1", ngImport: i0, type: IgoAppGeometryFormModule, declarations: [DataIssueReporterToolComponent], imports: [CommonModule,
|
|
2623
|
+
MatButtonModule,
|
|
2624
|
+
IgoLanguageModule,
|
|
2625
|
+
IgoFormModule,
|
|
2626
|
+
IgoMessageModule], exports: [DataIssueReporterToolComponent] });
|
|
2627
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: IgoAppGeometryFormModule, imports: [CommonModule,
|
|
2628
|
+
MatButtonModule,
|
|
2629
|
+
IgoLanguageModule,
|
|
2630
|
+
IgoFormModule,
|
|
2631
|
+
IgoMessageModule] });
|
|
2632
|
+
}
|
|
2633
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: IgoAppGeometryFormModule, decorators: [{
|
|
2634
|
+
type: NgModule,
|
|
2635
|
+
args: [{
|
|
2636
|
+
imports: [
|
|
2637
|
+
CommonModule,
|
|
2638
|
+
MatButtonModule,
|
|
2639
|
+
IgoLanguageModule,
|
|
2640
|
+
IgoFormModule,
|
|
2641
|
+
IgoMessageModule
|
|
2482
2642
|
],
|
|
2483
|
-
|
|
2643
|
+
declarations: [DataIssueReporterToolComponent],
|
|
2644
|
+
exports: [DataIssueReporterToolComponent],
|
|
2645
|
+
schemas: []
|
|
2484
2646
|
}]
|
|
2485
2647
|
}] });
|
|
2486
2648
|
|
|
@@ -2543,8 +2705,8 @@ let ImportExportToolComponent = class ImportExportToolComponent {
|
|
|
2543
2705
|
importExportTypeChange(event) {
|
|
2544
2706
|
this.importExportType = event.value;
|
|
2545
2707
|
}
|
|
2546
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2547
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
2708
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: ImportExportToolComponent, deps: [{ token: MapState }, { token: ImportExportState }, { token: WorkspaceState }, { token: ContextState }], target: i0.ɵɵFactoryTarget.Component });
|
|
2709
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.2.1", type: ImportExportToolComponent, isStandalone: true, selector: "igo-import-export-tool", inputs: { projectionsLimitations: "projectionsLimitations", selectFirstProj: "selectFirstProj", importExportType: "importExportType", importExportShowBothType: "importExportShowBothType" }, ngImport: i0, template: "<mat-tab-group *ngIf=\"importExportShowBothType\">\r\n <mat-tab\r\n [label]=\"'igo.integration.importExportTool.importExportData' | translate\"\r\n >\r\n <igo-import-export\r\n [contextUri]=\"(contextState.context$ | async).uri\"\r\n [map]=\"map\"\r\n [selectFirstProj]=\"selectFirstProj\"\r\n [projectionsLimitations]=\"projectionsLimitations\"\r\n [store]=\"workspaceStore\"\r\n [selectedMode]=\"importExportState.selectedMode$ | async\"\r\n (selectMode)=\"modeChanged($any($event))\"\r\n [exportOptions$]=\"importExportState.exportOptions$\"\r\n (exportOptionsChange)=\"exportOptionsChange($event)\"\r\n >\r\n </igo-import-export>\r\n </mat-tab>\r\n <mat-tab\r\n [label]=\"'igo.integration.importExportTool.importExportContext' | translate\"\r\n >\r\n <igo-context-import-export [map]=\"map\"></igo-context-import-export>\r\n </mat-tab>\r\n</mat-tab-group>\r\n\r\n<igo-import-export\r\n *ngIf=\"!importExportShowBothType && importExportType === 'layer'\"\r\n [contextUri]=\"(contextState.context$ | async).uri\"\r\n [map]=\"map\"\r\n [store]=\"workspaceStore\"\r\n [selectedMode]=\"importExportState.selectedMode$ | async\"\r\n (selectMode)=\"modeChanged($any($event))\"\r\n [exportOptions$]=\"importExportState.exportOptions$\"\r\n (exportOptionsChange)=\"exportOptionsChange($event)\"\r\n>\r\n</igo-import-export>\r\n\r\n<igo-context-import-export\r\n *ngIf=\"!importExportShowBothType && importExportType === 'context'\"\r\n [map]=\"map\"\r\n>\r\n</igo-context-import-export>\r\n", styles: ["mat-form-field{width:100%}\n"], dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: MatTabsModule }, { kind: "component", type: i5$2.MatTab, selector: "mat-tab", inputs: ["disabled", "label", "aria-label", "aria-labelledby", "labelClass", "bodyClass"], exportAs: ["matTab"] }, { kind: "component", type: i5$2.MatTabGroup, selector: "mat-tab-group", inputs: ["color", "fitInkBarToContent", "mat-stretch-tabs", "dynamicHeight", "selectedIndex", "headerPosition", "animationDuration", "contentTabIndex", "disablePagination", "disableRipple", "preserveContent", "backgroundColor"], outputs: ["selectedIndexChange", "focusChange", "animationDone", "selectedTabChange"], exportAs: ["matTabGroup"] }, { kind: "component", type: ImportExportComponent, selector: "igo-import-export", inputs: ["selectFirstProj", "map", "contextUri", "projectionsLimitations", "store", "selectedMode", "exportOptions$"], outputs: ["selectMode", "exportOptionsChange"] }, { kind: "component", type: ContextImportExportComponent, selector: "igo-context-import-export", inputs: ["map"] }, { kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i7$2.TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2548
2710
|
};
|
|
2549
2711
|
ImportExportToolComponent = __decorate([
|
|
2550
2712
|
ToolComponent({
|
|
@@ -2557,10 +2719,17 @@ ImportExportToolComponent = __decorate([
|
|
|
2557
2719
|
WorkspaceState,
|
|
2558
2720
|
ContextState])
|
|
2559
2721
|
], ImportExportToolComponent);
|
|
2560
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2722
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: ImportExportToolComponent, decorators: [{
|
|
2561
2723
|
type: Component,
|
|
2562
|
-
args: [{ selector: 'igo-import-export-tool', changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2563
|
-
|
|
2724
|
+
args: [{ selector: 'igo-import-export-tool', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [
|
|
2725
|
+
NgIf,
|
|
2726
|
+
MatTabsModule,
|
|
2727
|
+
ImportExportComponent,
|
|
2728
|
+
ContextImportExportComponent,
|
|
2729
|
+
AsyncPipe,
|
|
2730
|
+
TranslateModule
|
|
2731
|
+
], template: "<mat-tab-group *ngIf=\"importExportShowBothType\">\r\n <mat-tab\r\n [label]=\"'igo.integration.importExportTool.importExportData' | translate\"\r\n >\r\n <igo-import-export\r\n [contextUri]=\"(contextState.context$ | async).uri\"\r\n [map]=\"map\"\r\n [selectFirstProj]=\"selectFirstProj\"\r\n [projectionsLimitations]=\"projectionsLimitations\"\r\n [store]=\"workspaceStore\"\r\n [selectedMode]=\"importExportState.selectedMode$ | async\"\r\n (selectMode)=\"modeChanged($any($event))\"\r\n [exportOptions$]=\"importExportState.exportOptions$\"\r\n (exportOptionsChange)=\"exportOptionsChange($event)\"\r\n >\r\n </igo-import-export>\r\n </mat-tab>\r\n <mat-tab\r\n [label]=\"'igo.integration.importExportTool.importExportContext' | translate\"\r\n >\r\n <igo-context-import-export [map]=\"map\"></igo-context-import-export>\r\n </mat-tab>\r\n</mat-tab-group>\r\n\r\n<igo-import-export\r\n *ngIf=\"!importExportShowBothType && importExportType === 'layer'\"\r\n [contextUri]=\"(contextState.context$ | async).uri\"\r\n [map]=\"map\"\r\n [store]=\"workspaceStore\"\r\n [selectedMode]=\"importExportState.selectedMode$ | async\"\r\n (selectMode)=\"modeChanged($any($event))\"\r\n [exportOptions$]=\"importExportState.exportOptions$\"\r\n (exportOptionsChange)=\"exportOptionsChange($event)\"\r\n>\r\n</igo-import-export>\r\n\r\n<igo-context-import-export\r\n *ngIf=\"!importExportShowBothType && importExportType === 'context'\"\r\n [map]=\"map\"\r\n>\r\n</igo-context-import-export>\r\n", styles: ["mat-form-field{width:100%}\n"] }]
|
|
2732
|
+
}], ctorParameters: () => [{ type: MapState }, { type: ImportExportState }, { type: WorkspaceState }, { type: ContextState }], propDecorators: { projectionsLimitations: [{
|
|
2564
2733
|
type: Input
|
|
2565
2734
|
}], selectFirstProj: [{
|
|
2566
2735
|
type: Input
|
|
@@ -2570,6 +2739,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
2570
2739
|
type: Input
|
|
2571
2740
|
}] } });
|
|
2572
2741
|
|
|
2742
|
+
/**
|
|
2743
|
+
* @deprecated import the ImportExportToolComponent directly
|
|
2744
|
+
*/
|
|
2573
2745
|
class IgoAppImportExportModule {
|
|
2574
2746
|
static forRoot() {
|
|
2575
2747
|
return {
|
|
@@ -2577,116 +2749,15 @@ class IgoAppImportExportModule {
|
|
|
2577
2749
|
providers: []
|
|
2578
2750
|
};
|
|
2579
2751
|
}
|
|
2580
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2581
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
2582
|
-
|
|
2583
|
-
CommonModule,
|
|
2584
|
-
IgoLanguageModule,
|
|
2585
|
-
MatButtonToggleModule,
|
|
2586
|
-
MatTabsModule,
|
|
2587
|
-
IgoStyleModule], exports: [ImportExportToolComponent] });
|
|
2588
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IgoAppImportExportModule, imports: [IgoImportExportModule,
|
|
2589
|
-
IgoContextImportExportModule,
|
|
2590
|
-
CommonModule,
|
|
2591
|
-
IgoLanguageModule,
|
|
2592
|
-
MatButtonToggleModule,
|
|
2593
|
-
MatTabsModule,
|
|
2594
|
-
IgoStyleModule] });
|
|
2752
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: IgoAppImportExportModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2753
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.2.1", ngImport: i0, type: IgoAppImportExportModule, imports: [ImportExportToolComponent], exports: [ImportExportToolComponent] });
|
|
2754
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: IgoAppImportExportModule, imports: [ImportExportToolComponent] });
|
|
2595
2755
|
}
|
|
2596
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2756
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: IgoAppImportExportModule, decorators: [{
|
|
2597
2757
|
type: NgModule,
|
|
2598
2758
|
args: [{
|
|
2599
|
-
imports: [
|
|
2600
|
-
|
|
2601
|
-
IgoContextImportExportModule,
|
|
2602
|
-
CommonModule,
|
|
2603
|
-
IgoLanguageModule,
|
|
2604
|
-
MatButtonToggleModule,
|
|
2605
|
-
MatTabsModule,
|
|
2606
|
-
IgoStyleModule
|
|
2607
|
-
],
|
|
2608
|
-
declarations: [ImportExportToolComponent],
|
|
2609
|
-
exports: [ImportExportToolComponent],
|
|
2610
|
-
schemas: [CUSTOM_ELEMENTS_SCHEMA]
|
|
2611
|
-
}]
|
|
2612
|
-
}] });
|
|
2613
|
-
|
|
2614
|
-
class WorkspaceButtonComponent {
|
|
2615
|
-
workspaceState;
|
|
2616
|
-
hasWorkspace$ = new BehaviorSubject(false);
|
|
2617
|
-
hasWorkspace$$;
|
|
2618
|
-
_layer;
|
|
2619
|
-
layer$ = new BehaviorSubject(undefined);
|
|
2620
|
-
set layer(value) {
|
|
2621
|
-
this._layer = value;
|
|
2622
|
-
this.layer$.next(this._layer);
|
|
2623
|
-
}
|
|
2624
|
-
get layer() {
|
|
2625
|
-
return this._layer;
|
|
2626
|
-
}
|
|
2627
|
-
color = 'primary';
|
|
2628
|
-
constructor(workspaceState) {
|
|
2629
|
-
this.workspaceState = workspaceState;
|
|
2630
|
-
}
|
|
2631
|
-
ngOnInit() {
|
|
2632
|
-
this.hasWorkspace$$ = combineLatest([
|
|
2633
|
-
this.workspaceState.workspaceEnabled$,
|
|
2634
|
-
this.layer$
|
|
2635
|
-
]).subscribe((bunch) => this.hasWorkspace$.next(bunch[0] && bunch[1]?.options.workspace?.enabled));
|
|
2636
|
-
}
|
|
2637
|
-
ngOnDestroy() {
|
|
2638
|
-
this.hasWorkspace$$.unsubscribe();
|
|
2639
|
-
}
|
|
2640
|
-
activateWorkspace() {
|
|
2641
|
-
if (this.workspaceState.workspace$.value &&
|
|
2642
|
-
this.workspaceState.workspace$.value.layer.id ===
|
|
2643
|
-
this.layer.id &&
|
|
2644
|
-
this.workspaceState.workspacePanelExpanded) {
|
|
2645
|
-
this.workspaceState.workspacePanelExpanded = false;
|
|
2646
|
-
}
|
|
2647
|
-
else {
|
|
2648
|
-
this.workspaceState.workspacePanelExpanded = true;
|
|
2649
|
-
this.workspaceState.setActiveWorkspaceById(this.layer.id);
|
|
2650
|
-
}
|
|
2651
|
-
}
|
|
2652
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: WorkspaceButtonComponent, deps: [{ token: WorkspaceState }], target: i0.ɵɵFactoryTarget.Component });
|
|
2653
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: WorkspaceButtonComponent, selector: "igo-workspace-button", inputs: { layer: "layer", color: "color" }, ngImport: i0, template: "<button\n *ngIf=\"hasWorkspace$ | async\"\n mat-icon-button\n tooltip-position=\"below\"\n matTooltipShowDelay=\"500\"\n [matTooltip]=\"'igo.integration.workspace.toggleWorkspace' | translate\"\n [color]=\"color\"\n (click)=\"activateWorkspace()\"\n>\n <mat-icon svgIcon=\"table\"></mat-icon>\n</button>\n", styles: [""], dependencies: [{ kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i7.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i10.MatIconButton, selector: "button[mat-icon-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "directive", type: i6.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }, { kind: "pipe", type: i4.AsyncPipe, name: "async" }, { kind: "pipe", type: i9.TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2654
|
-
}
|
|
2655
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: WorkspaceButtonComponent, decorators: [{
|
|
2656
|
-
type: Component,
|
|
2657
|
-
args: [{ selector: 'igo-workspace-button', changeDetection: ChangeDetectionStrategy.OnPush, template: "<button\n *ngIf=\"hasWorkspace$ | async\"\n mat-icon-button\n tooltip-position=\"below\"\n matTooltipShowDelay=\"500\"\n [matTooltip]=\"'igo.integration.workspace.toggleWorkspace' | translate\"\n [color]=\"color\"\n (click)=\"activateWorkspace()\"\n>\n <mat-icon svgIcon=\"table\"></mat-icon>\n</button>\n" }]
|
|
2658
|
-
}], ctorParameters: function () { return [{ type: WorkspaceState }]; }, propDecorators: { layer: [{
|
|
2659
|
-
type: Input
|
|
2660
|
-
}], color: [{
|
|
2661
|
-
type: Input
|
|
2662
|
-
}] } });
|
|
2663
|
-
|
|
2664
|
-
class IgoAppWorkspaceModule {
|
|
2665
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IgoAppWorkspaceModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2666
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: IgoAppWorkspaceModule, declarations: [WorkspaceButtonComponent], imports: [CommonModule,
|
|
2667
|
-
MatIconModule,
|
|
2668
|
-
MatButtonModule,
|
|
2669
|
-
MatTooltipModule,
|
|
2670
|
-
IgoLanguageModule], exports: [WorkspaceButtonComponent] });
|
|
2671
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IgoAppWorkspaceModule, providers: [DatePipe], imports: [CommonModule,
|
|
2672
|
-
MatIconModule,
|
|
2673
|
-
MatButtonModule,
|
|
2674
|
-
MatTooltipModule,
|
|
2675
|
-
IgoLanguageModule] });
|
|
2676
|
-
}
|
|
2677
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IgoAppWorkspaceModule, decorators: [{
|
|
2678
|
-
type: NgModule,
|
|
2679
|
-
args: [{
|
|
2680
|
-
imports: [
|
|
2681
|
-
CommonModule,
|
|
2682
|
-
MatIconModule,
|
|
2683
|
-
MatButtonModule,
|
|
2684
|
-
MatTooltipModule,
|
|
2685
|
-
IgoLanguageModule
|
|
2686
|
-
],
|
|
2687
|
-
declarations: [WorkspaceButtonComponent],
|
|
2688
|
-
exports: [WorkspaceButtonComponent],
|
|
2689
|
-
providers: [DatePipe]
|
|
2759
|
+
imports: [ImportExportToolComponent],
|
|
2760
|
+
exports: [ImportExportToolComponent]
|
|
2690
2761
|
}]
|
|
2691
2762
|
}] });
|
|
2692
2763
|
|
|
@@ -2755,10 +2826,9 @@ class AdvancedCoordinatesComponent {
|
|
|
2755
2826
|
* Listen a state of the map, a state of a form, update the coordinates
|
|
2756
2827
|
*/
|
|
2757
2828
|
ngOnInit() {
|
|
2758
|
-
this.mapState$$ =
|
|
2759
|
-
|
|
2760
|
-
|
|
2761
|
-
]).subscribe(() => {
|
|
2829
|
+
this.mapState$$ = this.map.viewController.state$
|
|
2830
|
+
.pipe(debounceTime(50))
|
|
2831
|
+
.subscribe(() => {
|
|
2762
2832
|
this.setScaleValue(this.map);
|
|
2763
2833
|
this.currentCenterDefaultProj = this.map.viewController.getCenter(this.defaultProj.code);
|
|
2764
2834
|
const currentMtmZone = zoneMtm(this.currentCenterDefaultProj[0]);
|
|
@@ -3068,13 +3138,28 @@ class AdvancedCoordinatesComponent {
|
|
|
3068
3138
|
}
|
|
3069
3139
|
});
|
|
3070
3140
|
}
|
|
3071
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3072
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
3141
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: AdvancedCoordinatesComponent, deps: [{ token: MapState }, { token: i2.LanguageService }, { token: i2.MessageService }, { token: i0.ChangeDetectorRef }, { token: i2.StorageService }, { token: i2.ConfigService }, { token: i3$1.UntypedFormBuilder }], target: i0.ɵɵFactoryTarget.Component });
|
|
3142
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.2.1", type: AdvancedCoordinatesComponent, isStandalone: true, selector: "igo-advanced-coordinates", inputs: { projectionsLimitations: "projectionsLimitations" }, ngImport: i0, template: "<div class=\"advanced-coordinates__coordinates-container\">\n <div class=\"advanced-coordinates__coordinates-container__inner\">\n <mat-form-field *ngIf=\"units; else elseBlock\" subscriptSizing=\"dynamic\">\n <mat-label>{{\n 'igo.integration.advanced-map-tool.advanced-coordinates.lon' | translate\n }}</mat-label>\n <textarea\n #textArea\n matInput\n readonly\n rows=\"1\"\n [placeholder]=\"\n 'igo.integration.advanced-map-tool.advanced-coordinates.lon'\n | translate\n \"\n [value]=\"coordinates[0]\"\n ></textarea>\n </mat-form-field>\n <ng-template #elseBlock>\n <mat-form-field subscriptSizing=\"dynamic\">\n <textarea\n #textArea\n matInput\n readonly\n rows=\"1\"\n [placeholder]=\"\n 'igo.integration.advanced-map-tool.advanced-coordinates.est'\n | translate\n \"\n [value]=\"coordinates[0]\"\n ></textarea>\n </mat-form-field>\n </ng-template>\n\n <mat-form-field *ngIf=\"units; else elseBlock2\" subscriptSizing=\"dynamic\">\n <mat-label>{{\n 'igo.integration.advanced-map-tool.advanced-coordinates.lat' | translate\n }}</mat-label>\n <textarea\n #textArea\n matInput\n readonly\n rows=\"1\"\n [placeholder]=\"\n 'igo.integration.advanced-map-tool.advanced-coordinates.lat'\n | translate\n \"\n [value]=\"coordinates[1]\"\n ></textarea>\n </mat-form-field>\n <ng-template #elseBlock2>\n <mat-form-field subscriptSizing=\"dynamic\">\n <textarea\n #textArea\n matInput\n readonly\n rows=\"1\"\n [placeholder]=\"\n 'igo.integration.advanced-map-tool.advanced-coordinates.nord'\n | translate\n \"\n [value]=\"coordinates[1]\"\n ></textarea>\n </mat-form-field>\n </ng-template>\n <button\n mat-icon-button\n [attr.aria-label]=\"\n 'igo.integration.advanced-map-tool.advanced-coordinates.copy'\n | translate\n \"\n class=\"igo-form-button-group advanced-coordinates__copy-coordinates\"\n (click)=\"copyTextToClipboard()\"\n >\n <mat-icon svgIcon=\"content-copy\"></mat-icon>\n </button>\n </div>\n\n <form class=\"igo-form advanced-coordinates__form\" [formGroup]=\"form\">\n <div class=\"advanced-coordinates__coordinates-container__inner\">\n <mat-form-field class=\"igo-input-container\" subscriptSizing=\"dynamic\">\n <mat-label>{{\n 'igo.integration.advanced-map-tool.advanced-coordinates.coordSystem'\n | translate\n }}</mat-label>\n <mat-select [(value)]=\"inputProj\">\n <mat-option\n matTooltipShowDelay=\"500\"\n *ngFor=\"let projection of projections$ | async\"\n [value]=\"projection\"\n (click)=\"$event.stopPropagation()\"\n >\n {{ projection.translatedValue || projection.alias }}\n </mat-option>\n </mat-select>\n </mat-form-field>\n </div>\n <div class=\"advanced-coordinates__coordinates-container__inner\">\n <mat-slide-toggle\n class=\"center-toggle mat-typography\"\n [checked]=\"center\"\n [labelPosition]=\"'before'\"\n (change)=\"displayCenter($event.checked)\"\n >\n {{\n 'igo.integration.advanced-map-tool.advanced-coordinates.center'\n | translate\n }}\n </mat-slide-toggle>\n </div>\n </form>\n\n <p class=\"igo-zoom mat-typography\">\n {{\n 'igo.integration.advanced-map-tool.advanced-coordinates.zoom' | translate\n }}\n {{ map.viewController.getZoom() }}\n </p>\n <p class=\"igo-zoom mat-typography\">\n {{\n 'igo.integration.advanced-map-tool.advanced-coordinates.scale' | translate\n }}\n {{ formattedScale$ | async }}\n </p>\n <p class=\"igo-zoom mat-typography\">\n {{\n 'igo.integration.advanced-map-tool.advanced-coordinates.resolution'\n | translate\n }}\n {{ map.viewController.getResolution() | number: '1.0-0' }}\n </p>\n</div>\n", styles: [":host{padding:12px 0}textarea{resize:none}.advanced-coordinates__coordinates-container{width:100%;display:flex;flex-direction:column;padding:12px 0}.advanced-coordinates__coordinates-container__inner{display:flex;align-items:center;margin-bottom:16px}.advanced-coordinates__coordinates-container__inner mat-form-field{flex:1}.advanced-coordinates__coordinates-container__inner mat-form-field:not(:first-child),.advanced-coordinates__coordinates-container__inner button:not(:first-child){margin-left:8px}.advanced-coordinates__form{display:flex;flex-direction:column}.advanced-coordinates__form mat-slide-toggle{flex:1}.advanced-coordinates__form mat-slide-toggle ::ng-deep .mdc-form-field{display:flex;justify-content:space-between}.advanced-coordinates__form mat-slide-toggle ::ng-deep .mdc-label{flex:1}\n"], dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: MatFormFieldModule }, { kind: "component", type: i4.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i4.MatLabel, selector: "mat-label" }, { kind: "ngmodule", type: MatInputModule }, { kind: "directive", type: i5$3.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i6.MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i7.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i3$1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i3$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i3$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: MatSelectModule }, { kind: "component", type: i8.MatSelect, selector: "mat-select", inputs: ["aria-describedby", "panelClass", "disabled", "disableRipple", "tabIndex", "hideSingleSelectionIndicator", "placeholder", "required", "multiple", "disableOptionCentering", "compareWith", "value", "aria-label", "aria-labelledby", "errorStateMatcher", "typeaheadDebounceInterval", "sortComparator", "id", "panelWidth"], outputs: ["openedChange", "opened", "closed", "selectionChange", "valueChange"], exportAs: ["matSelect"] }, { kind: "component", type: i9.MatOption, selector: "mat-option", inputs: ["value", "id", "disabled"], outputs: ["onSelectionChange"], exportAs: ["matOption"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "ngmodule", type: MatOptionModule }, { kind: "ngmodule", type: MatSlideToggleModule }, { kind: "component", type: i10.MatSlideToggle, selector: "mat-slide-toggle", inputs: ["name", "id", "labelPosition", "aria-label", "aria-labelledby", "aria-describedby", "required", "color", "disabled", "disableRipple", "tabIndex", "checked", "hideIcon"], outputs: ["change", "toggleChange"], exportAs: ["matSlideToggle"] }, { kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "pipe", type: DecimalPipe, name: "number" }, { kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i7$2.TranslatePipe, name: "translate" }] });
|
|
3073
3143
|
}
|
|
3074
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3144
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: AdvancedCoordinatesComponent, decorators: [{
|
|
3075
3145
|
type: Component,
|
|
3076
|
-
args: [{ selector: 'igo-advanced-coordinates',
|
|
3077
|
-
|
|
3146
|
+
args: [{ selector: 'igo-advanced-coordinates', standalone: true, imports: [
|
|
3147
|
+
NgIf,
|
|
3148
|
+
MatFormFieldModule,
|
|
3149
|
+
MatInputModule,
|
|
3150
|
+
MatButtonModule,
|
|
3151
|
+
MatIconModule,
|
|
3152
|
+
FormsModule,
|
|
3153
|
+
ReactiveFormsModule,
|
|
3154
|
+
MatSelectModule,
|
|
3155
|
+
NgFor,
|
|
3156
|
+
MatOptionModule,
|
|
3157
|
+
MatSlideToggleModule,
|
|
3158
|
+
AsyncPipe,
|
|
3159
|
+
DecimalPipe,
|
|
3160
|
+
TranslateModule
|
|
3161
|
+
], template: "<div class=\"advanced-coordinates__coordinates-container\">\n <div class=\"advanced-coordinates__coordinates-container__inner\">\n <mat-form-field *ngIf=\"units; else elseBlock\" subscriptSizing=\"dynamic\">\n <mat-label>{{\n 'igo.integration.advanced-map-tool.advanced-coordinates.lon' | translate\n }}</mat-label>\n <textarea\n #textArea\n matInput\n readonly\n rows=\"1\"\n [placeholder]=\"\n 'igo.integration.advanced-map-tool.advanced-coordinates.lon'\n | translate\n \"\n [value]=\"coordinates[0]\"\n ></textarea>\n </mat-form-field>\n <ng-template #elseBlock>\n <mat-form-field subscriptSizing=\"dynamic\">\n <textarea\n #textArea\n matInput\n readonly\n rows=\"1\"\n [placeholder]=\"\n 'igo.integration.advanced-map-tool.advanced-coordinates.est'\n | translate\n \"\n [value]=\"coordinates[0]\"\n ></textarea>\n </mat-form-field>\n </ng-template>\n\n <mat-form-field *ngIf=\"units; else elseBlock2\" subscriptSizing=\"dynamic\">\n <mat-label>{{\n 'igo.integration.advanced-map-tool.advanced-coordinates.lat' | translate\n }}</mat-label>\n <textarea\n #textArea\n matInput\n readonly\n rows=\"1\"\n [placeholder]=\"\n 'igo.integration.advanced-map-tool.advanced-coordinates.lat'\n | translate\n \"\n [value]=\"coordinates[1]\"\n ></textarea>\n </mat-form-field>\n <ng-template #elseBlock2>\n <mat-form-field subscriptSizing=\"dynamic\">\n <textarea\n #textArea\n matInput\n readonly\n rows=\"1\"\n [placeholder]=\"\n 'igo.integration.advanced-map-tool.advanced-coordinates.nord'\n | translate\n \"\n [value]=\"coordinates[1]\"\n ></textarea>\n </mat-form-field>\n </ng-template>\n <button\n mat-icon-button\n [attr.aria-label]=\"\n 'igo.integration.advanced-map-tool.advanced-coordinates.copy'\n | translate\n \"\n class=\"igo-form-button-group advanced-coordinates__copy-coordinates\"\n (click)=\"copyTextToClipboard()\"\n >\n <mat-icon svgIcon=\"content-copy\"></mat-icon>\n </button>\n </div>\n\n <form class=\"igo-form advanced-coordinates__form\" [formGroup]=\"form\">\n <div class=\"advanced-coordinates__coordinates-container__inner\">\n <mat-form-field class=\"igo-input-container\" subscriptSizing=\"dynamic\">\n <mat-label>{{\n 'igo.integration.advanced-map-tool.advanced-coordinates.coordSystem'\n | translate\n }}</mat-label>\n <mat-select [(value)]=\"inputProj\">\n <mat-option\n matTooltipShowDelay=\"500\"\n *ngFor=\"let projection of projections$ | async\"\n [value]=\"projection\"\n (click)=\"$event.stopPropagation()\"\n >\n {{ projection.translatedValue || projection.alias }}\n </mat-option>\n </mat-select>\n </mat-form-field>\n </div>\n <div class=\"advanced-coordinates__coordinates-container__inner\">\n <mat-slide-toggle\n class=\"center-toggle mat-typography\"\n [checked]=\"center\"\n [labelPosition]=\"'before'\"\n (change)=\"displayCenter($event.checked)\"\n >\n {{\n 'igo.integration.advanced-map-tool.advanced-coordinates.center'\n | translate\n }}\n </mat-slide-toggle>\n </div>\n </form>\n\n <p class=\"igo-zoom mat-typography\">\n {{\n 'igo.integration.advanced-map-tool.advanced-coordinates.zoom' | translate\n }}\n {{ map.viewController.getZoom() }}\n </p>\n <p class=\"igo-zoom mat-typography\">\n {{\n 'igo.integration.advanced-map-tool.advanced-coordinates.scale' | translate\n }}\n {{ formattedScale$ | async }}\n </p>\n <p class=\"igo-zoom mat-typography\">\n {{\n 'igo.integration.advanced-map-tool.advanced-coordinates.resolution'\n | translate\n }}\n {{ map.viewController.getResolution() | number: '1.0-0' }}\n </p>\n</div>\n", styles: [":host{padding:12px 0}textarea{resize:none}.advanced-coordinates__coordinates-container{width:100%;display:flex;flex-direction:column;padding:12px 0}.advanced-coordinates__coordinates-container__inner{display:flex;align-items:center;margin-bottom:16px}.advanced-coordinates__coordinates-container__inner mat-form-field{flex:1}.advanced-coordinates__coordinates-container__inner mat-form-field:not(:first-child),.advanced-coordinates__coordinates-container__inner button:not(:first-child){margin-left:8px}.advanced-coordinates__form{display:flex;flex-direction:column}.advanced-coordinates__form mat-slide-toggle{flex:1}.advanced-coordinates__form mat-slide-toggle ::ng-deep .mdc-form-field{display:flex;justify-content:space-between}.advanced-coordinates__form mat-slide-toggle ::ng-deep .mdc-label{flex:1}\n"] }]
|
|
3162
|
+
}], ctorParameters: () => [{ type: MapState }, { type: i2.LanguageService }, { type: i2.MessageService }, { type: i0.ChangeDetectorRef }, { type: i2.StorageService }, { type: i2.ConfigService }, { type: i3$1.UntypedFormBuilder }], propDecorators: { projectionsLimitations: [{
|
|
3078
3163
|
type: Input
|
|
3079
3164
|
}] } });
|
|
3080
3165
|
|
|
@@ -3185,13 +3270,26 @@ class AdvancedSwipeComponent {
|
|
|
3185
3270
|
contextEmit() {
|
|
3186
3271
|
this.toolState.toolbox.activateTool('contextManager');
|
|
3187
3272
|
}
|
|
3188
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3189
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
3273
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: AdvancedSwipeComponent, deps: [{ token: MapState }, { token: i1$1.ContextService }, { token: i3$1.UntypedFormBuilder }, { token: ToolState }], target: i0.ɵɵFactoryTarget.Component });
|
|
3274
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.2.1", type: AdvancedSwipeComponent, isStandalone: true, selector: "igo-advanced-swipe", ngImport: i0, template: "<div\n *ngIf=\"userControlledLayerList.length; else noLayersBlock\"\n class=\"igo-swipe-select-container\"\n>\n <form class=\"igo-form\" [formGroup]=\"form\">\n <mat-form-field>\n <mat-label>{{\n 'igo.integration.advanced-map-tool.advanced-swipe.swipe-select'\n | translate\n }}</mat-label>\n <mat-select formControlName=\"layers\" multiple>\n <mat-option [value]=\"1\" (click)=\"selectAll(e)\" #e>\n {{\n 'igo.integration.advanced-map-tool.advanced-swipe.selectAll'\n | translate\n }}\n </mat-option>\n <mat-divider></mat-divider>\n <mat-option\n *ngFor=\"let layer of userControlledLayerList\"\n [value]=\"layer\"\n (click)=\"applyNewLayers(e)\"\n >{{ layer.title }}</mat-option\n >\n </mat-select>\n </mat-form-field>\n <mat-slide-toggle\n class=\"swipe-toggle mat-typography\"\n [checked]=\"swipe\"\n [labelPosition]=\"'before'\"\n (change)=\"startSwipe($event.checked)\"\n >\n {{ 'igo.integration.advanced-map-tool.advanced-swipe.swipe' | translate }}\n </mat-slide-toggle>\n </form>\n</div>\n\n<ng-template #noLayersBlock>\n <mat-list>\n <p class=\"map-empty mat-typography\">\n {{ 'igo.integration.advanced-map-tool.advanced-swipe.empty' | translate }}\n </p>\n <p class=\"map-empty mat-typography\">\n {{\n 'igo.integration.advanced-map-tool.advanced-swipe.customize' | translate\n }}\n </p>\n <mat-list-item>\n <mat-icon matListItemIcon svgIcon=\"magnify\"></mat-icon>\n <span\n matListItemTitle\n class=\"search-tool mat-typography\"\n (click)=\"searchEmit()\"\n >\n {{\n 'igo.integration.advanced-map-tool.advanced-swipe.search-tool'\n | translate\n }}\n </span>\n </mat-list-item>\n <mat-list-item>\n <mat-icon matListItemIcon svgIcon=\"layers-plus\"></mat-icon>\n <span\n matListItemTitle\n class=\"catalog-tool mat-typography\"\n (click)=\"catalogEmit()\"\n >\n {{\n 'igo.integration.advanced-map-tool.advanced-swipe.catalog-tool'\n | translate\n }}\n </span>\n </mat-list-item>\n <mat-list-item>\n <mat-icon matListItemIcon svgIcon=\"star\"></mat-icon>\n <span\n matListItemTitle\n class=\"context-tool mat-typography\"\n (click)=\"contextEmit()\"\n >\n {{\n 'igo.integration.advanced-map-tool.advanced-swipe.context-tool'\n | translate\n }}\n </span>\n </mat-list-item>\n </mat-list>\n</ng-template>\n", styles: [":host{padding:12px 0}:host .igo-swipe-select-container{padding:12px 0}:host .igo-swipe-select-container mat-form-field{width:100%}:host .igo-form{display:flex;flex-direction:column;width:100%}:host mat-slide-toggle{flex:1}:host mat-slide-toggle ::ng-deep .mdc-form-field{display:flex;justify-content:space-between}:host mat-slide-toggle ::ng-deep .mdc-label{flex:1}:host .map-empty,:host .search-tool,:host .catalog-tool,:host .context-tool{margin:4px}:host .map-empty{padding:12px 0;text-align:justify}:host .search-tool,:host .catalog-tool,:host .context-tool{cursor:pointer}:host mat-list mat-list-item h4{font-weight:700}:host mat-list-item ::ng-deep .mdc-list-item__primary-text{font-size:smaller}:host .advanced-tool-line{height:2px;background-color:gray}\n"], dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i3$1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i3$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i3$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i3$1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "ngmodule", type: MatFormFieldModule }, { kind: "component", type: i4.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i4.MatLabel, selector: "mat-label" }, { kind: "ngmodule", type: MatSelectModule }, { kind: "component", type: i8.MatSelect, selector: "mat-select", inputs: ["aria-describedby", "panelClass", "disabled", "disableRipple", "tabIndex", "hideSingleSelectionIndicator", "placeholder", "required", "multiple", "disableOptionCentering", "compareWith", "value", "aria-label", "aria-labelledby", "errorStateMatcher", "typeaheadDebounceInterval", "sortComparator", "id", "panelWidth"], outputs: ["openedChange", "opened", "closed", "selectionChange", "valueChange"], exportAs: ["matSelect"] }, { kind: "component", type: i9.MatOption, selector: "mat-option", inputs: ["value", "id", "disabled"], outputs: ["onSelectionChange"], exportAs: ["matOption"] }, { kind: "ngmodule", type: MatOptionModule }, { kind: "ngmodule", type: MatDividerModule }, { kind: "component", type: i8$1.MatDivider, selector: "mat-divider", inputs: ["vertical", "inset"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "ngmodule", type: MatSlideToggleModule }, { kind: "component", type: i10.MatSlideToggle, selector: "mat-slide-toggle", inputs: ["name", "id", "labelPosition", "aria-label", "aria-labelledby", "aria-describedby", "required", "color", "disabled", "disableRipple", "tabIndex", "checked", "hideIcon"], outputs: ["change", "toggleChange"], exportAs: ["matSlideToggle"] }, { kind: "ngmodule", type: MatListModule }, { kind: "component", type: i10$1.MatList, selector: "mat-list", exportAs: ["matList"] }, { kind: "component", type: i10$1.MatListItem, selector: "mat-list-item, a[mat-list-item], button[mat-list-item]", inputs: ["activated"], exportAs: ["matListItem"] }, { kind: "directive", type: i10$1.MatListItemIcon, selector: "[matListItemIcon]" }, { kind: "directive", type: i10$1.MatListItemTitle, selector: "[matListItemTitle]" }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i7.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i7$2.TranslatePipe, name: "translate" }] });
|
|
3190
3275
|
}
|
|
3191
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3276
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: AdvancedSwipeComponent, decorators: [{
|
|
3192
3277
|
type: Component,
|
|
3193
|
-
args: [{ selector: 'igo-advanced-swipe',
|
|
3194
|
-
|
|
3278
|
+
args: [{ selector: 'igo-advanced-swipe', standalone: true, imports: [
|
|
3279
|
+
NgIf,
|
|
3280
|
+
FormsModule,
|
|
3281
|
+
ReactiveFormsModule,
|
|
3282
|
+
MatFormFieldModule,
|
|
3283
|
+
MatSelectModule,
|
|
3284
|
+
MatOptionModule,
|
|
3285
|
+
MatDividerModule,
|
|
3286
|
+
NgFor,
|
|
3287
|
+
MatSlideToggleModule,
|
|
3288
|
+
MatListModule,
|
|
3289
|
+
MatIconModule,
|
|
3290
|
+
TranslateModule
|
|
3291
|
+
], template: "<div\n *ngIf=\"userControlledLayerList.length; else noLayersBlock\"\n class=\"igo-swipe-select-container\"\n>\n <form class=\"igo-form\" [formGroup]=\"form\">\n <mat-form-field>\n <mat-label>{{\n 'igo.integration.advanced-map-tool.advanced-swipe.swipe-select'\n | translate\n }}</mat-label>\n <mat-select formControlName=\"layers\" multiple>\n <mat-option [value]=\"1\" (click)=\"selectAll(e)\" #e>\n {{\n 'igo.integration.advanced-map-tool.advanced-swipe.selectAll'\n | translate\n }}\n </mat-option>\n <mat-divider></mat-divider>\n <mat-option\n *ngFor=\"let layer of userControlledLayerList\"\n [value]=\"layer\"\n (click)=\"applyNewLayers(e)\"\n >{{ layer.title }}</mat-option\n >\n </mat-select>\n </mat-form-field>\n <mat-slide-toggle\n class=\"swipe-toggle mat-typography\"\n [checked]=\"swipe\"\n [labelPosition]=\"'before'\"\n (change)=\"startSwipe($event.checked)\"\n >\n {{ 'igo.integration.advanced-map-tool.advanced-swipe.swipe' | translate }}\n </mat-slide-toggle>\n </form>\n</div>\n\n<ng-template #noLayersBlock>\n <mat-list>\n <p class=\"map-empty mat-typography\">\n {{ 'igo.integration.advanced-map-tool.advanced-swipe.empty' | translate }}\n </p>\n <p class=\"map-empty mat-typography\">\n {{\n 'igo.integration.advanced-map-tool.advanced-swipe.customize' | translate\n }}\n </p>\n <mat-list-item>\n <mat-icon matListItemIcon svgIcon=\"magnify\"></mat-icon>\n <span\n matListItemTitle\n class=\"search-tool mat-typography\"\n (click)=\"searchEmit()\"\n >\n {{\n 'igo.integration.advanced-map-tool.advanced-swipe.search-tool'\n | translate\n }}\n </span>\n </mat-list-item>\n <mat-list-item>\n <mat-icon matListItemIcon svgIcon=\"layers-plus\"></mat-icon>\n <span\n matListItemTitle\n class=\"catalog-tool mat-typography\"\n (click)=\"catalogEmit()\"\n >\n {{\n 'igo.integration.advanced-map-tool.advanced-swipe.catalog-tool'\n | translate\n }}\n </span>\n </mat-list-item>\n <mat-list-item>\n <mat-icon matListItemIcon svgIcon=\"star\"></mat-icon>\n <span\n matListItemTitle\n class=\"context-tool mat-typography\"\n (click)=\"contextEmit()\"\n >\n {{\n 'igo.integration.advanced-map-tool.advanced-swipe.context-tool'\n | translate\n }}\n </span>\n </mat-list-item>\n </mat-list>\n</ng-template>\n", styles: [":host{padding:12px 0}:host .igo-swipe-select-container{padding:12px 0}:host .igo-swipe-select-container mat-form-field{width:100%}:host .igo-form{display:flex;flex-direction:column;width:100%}:host mat-slide-toggle{flex:1}:host mat-slide-toggle ::ng-deep .mdc-form-field{display:flex;justify-content:space-between}:host mat-slide-toggle ::ng-deep .mdc-label{flex:1}:host .map-empty,:host .search-tool,:host .catalog-tool,:host .context-tool{margin:4px}:host .map-empty{padding:12px 0;text-align:justify}:host .search-tool,:host .catalog-tool,:host .context-tool{cursor:pointer}:host mat-list mat-list-item h4{font-weight:700}:host mat-list-item ::ng-deep .mdc-list-item__primary-text{font-size:smaller}:host .advanced-tool-line{height:2px;background-color:gray}\n"] }]
|
|
3292
|
+
}], ctorParameters: () => [{ type: MapState }, { type: i1$1.ContextService }, { type: i3$1.UntypedFormBuilder }, { type: ToolState }] });
|
|
3195
3293
|
|
|
3196
3294
|
let AdvancedMapToolComponent = class AdvancedMapToolComponent {
|
|
3197
3295
|
mapState;
|
|
@@ -3210,8 +3308,8 @@ let AdvancedMapToolComponent = class AdvancedMapToolComponent {
|
|
|
3210
3308
|
toggleFollow(value) {
|
|
3211
3309
|
this.mapState.map.geolocationController.followPosition = value;
|
|
3212
3310
|
}
|
|
3213
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3214
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
3311
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: AdvancedMapToolComponent, deps: [{ token: MapState }], target: i0.ɵɵFactoryTarget.Component });
|
|
3312
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.2.1", type: AdvancedMapToolComponent, isStandalone: true, selector: "igo-advanced-map-tool", ngImport: i0, template: "<h4 class=\"nameOfTool\">\n {{\n 'igo.integration.advanced-map-tool.advanced-swipe.swipe-tool' | translate\n }}\n</h4>\n<igo-advanced-swipe></igo-advanced-swipe>\n<mat-divider class=\"advanced-tool-line\"></mat-divider>\n<h4 class=\"nameOfTool\">\n {{\n 'igo.integration.advanced-map-tool.advanced-coordinates.coordinates'\n | translate\n }}\n</h4>\n<igo-advanced-coordinates></igo-advanced-coordinates>\n<mat-divider class=\"advanced-tool-line\"></mat-divider>\n\n<h4 class=\"nameOfTool\">\n {{ 'igo.integration.advanced-map-tool.geolocation.title' | translate }}\n</h4>\n\n<div class=\"igo-input-container\">\n <div class=\"geolocation-slide-toggle-container\">\n <mat-slide-toggle\n class=\"geolocation-option\"\n [checked]=\"tracking$ | async\"\n [labelPosition]=\"'before'\"\n (change)=\"toggleTracking($event.checked)\"\n >\n {{ 'igo.integration.advanced-map-tool.geolocation.tracking' | translate }}\n </mat-slide-toggle>\n\n <mat-slide-toggle\n class=\"geolocation-option\"\n [disabled]=\"(tracking$ | async) !== true\"\n [labelPosition]=\"'before'\"\n [checked]=\"followPosition$ | async\"\n (change)=\"toggleFollow($event.checked)\"\n >\n {{ 'igo.integration.advanced-map-tool.geolocation.follow' | translate }}\n </mat-slide-toggle>\n </div>\n</div>\n", styles: [":host{display:block;padding:0 16px 12px}.nameOfTool{text-align:center;font-weight:700;font-size:small;margin:12px 0 8px}.advanced-tool-line{height:2px;background-color:gray}.geolocation-slide-toggle-container{display:flex;flex-direction:column;padding:12px 0}.geolocation-slide-toggle-container mat-slide-toggle{flex:1}.geolocation-slide-toggle-container mat-slide-toggle:not(:last-child){margin-bottom:16px}.geolocation-slide-toggle-container mat-slide-toggle ::ng-deep .mdc-form-field{display:flex;justify-content:space-between}.geolocation-slide-toggle-container mat-slide-toggle ::ng-deep .mdc-label{flex:1}mat-divider{margin:0 -16px}\n"], dependencies: [{ kind: "component", type: AdvancedSwipeComponent, selector: "igo-advanced-swipe" }, { kind: "ngmodule", type: MatDividerModule }, { kind: "component", type: i8$1.MatDivider, selector: "mat-divider", inputs: ["vertical", "inset"] }, { kind: "component", type: AdvancedCoordinatesComponent, selector: "igo-advanced-coordinates", inputs: ["projectionsLimitations"] }, { kind: "ngmodule", type: MatSlideToggleModule }, { kind: "component", type: i10.MatSlideToggle, selector: "mat-slide-toggle", inputs: ["name", "id", "labelPosition", "aria-label", "aria-labelledby", "aria-describedby", "required", "color", "disabled", "disableRipple", "tabIndex", "checked", "hideIcon"], outputs: ["change", "toggleChange"], exportAs: ["matSlideToggle"] }, { kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i7$2.TranslatePipe, name: "translate" }] });
|
|
3215
3313
|
};
|
|
3216
3314
|
AdvancedMapToolComponent = __decorate([
|
|
3217
3315
|
ToolComponent({
|
|
@@ -3225,10 +3323,74 @@ AdvancedMapToolComponent = __decorate([
|
|
|
3225
3323
|
,
|
|
3226
3324
|
__metadata("design:paramtypes", [MapState])
|
|
3227
3325
|
], AdvancedMapToolComponent);
|
|
3228
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3326
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: AdvancedMapToolComponent, decorators: [{
|
|
3229
3327
|
type: Component,
|
|
3230
|
-
args: [{ selector: 'igo-advanced-map-tool',
|
|
3231
|
-
|
|
3328
|
+
args: [{ selector: 'igo-advanced-map-tool', standalone: true, imports: [
|
|
3329
|
+
AdvancedSwipeComponent,
|
|
3330
|
+
MatDividerModule,
|
|
3331
|
+
AdvancedCoordinatesComponent,
|
|
3332
|
+
MatSlideToggleModule,
|
|
3333
|
+
AsyncPipe,
|
|
3334
|
+
TranslateModule
|
|
3335
|
+
], template: "<h4 class=\"nameOfTool\">\n {{\n 'igo.integration.advanced-map-tool.advanced-swipe.swipe-tool' | translate\n }}\n</h4>\n<igo-advanced-swipe></igo-advanced-swipe>\n<mat-divider class=\"advanced-tool-line\"></mat-divider>\n<h4 class=\"nameOfTool\">\n {{\n 'igo.integration.advanced-map-tool.advanced-coordinates.coordinates'\n | translate\n }}\n</h4>\n<igo-advanced-coordinates></igo-advanced-coordinates>\n<mat-divider class=\"advanced-tool-line\"></mat-divider>\n\n<h4 class=\"nameOfTool\">\n {{ 'igo.integration.advanced-map-tool.geolocation.title' | translate }}\n</h4>\n\n<div class=\"igo-input-container\">\n <div class=\"geolocation-slide-toggle-container\">\n <mat-slide-toggle\n class=\"geolocation-option\"\n [checked]=\"tracking$ | async\"\n [labelPosition]=\"'before'\"\n (change)=\"toggleTracking($event.checked)\"\n >\n {{ 'igo.integration.advanced-map-tool.geolocation.tracking' | translate }}\n </mat-slide-toggle>\n\n <mat-slide-toggle\n class=\"geolocation-option\"\n [disabled]=\"(tracking$ | async) !== true\"\n [labelPosition]=\"'before'\"\n [checked]=\"followPosition$ | async\"\n (change)=\"toggleFollow($event.checked)\"\n >\n {{ 'igo.integration.advanced-map-tool.geolocation.follow' | translate }}\n </mat-slide-toggle>\n </div>\n</div>\n", styles: [":host{display:block;padding:0 16px 12px}.nameOfTool{text-align:center;font-weight:700;font-size:small;margin:12px 0 8px}.advanced-tool-line{height:2px;background-color:gray}.geolocation-slide-toggle-container{display:flex;flex-direction:column;padding:12px 0}.geolocation-slide-toggle-container mat-slide-toggle{flex:1}.geolocation-slide-toggle-container mat-slide-toggle:not(:last-child){margin-bottom:16px}.geolocation-slide-toggle-container mat-slide-toggle ::ng-deep .mdc-form-field{display:flex;justify-content:space-between}.geolocation-slide-toggle-container mat-slide-toggle ::ng-deep .mdc-label{flex:1}mat-divider{margin:0 -16px}\n"] }]
|
|
3336
|
+
}], ctorParameters: () => [{ type: MapState }] });
|
|
3337
|
+
|
|
3338
|
+
class WorkspaceButtonComponent {
|
|
3339
|
+
workspaceState;
|
|
3340
|
+
hasWorkspace$ = new BehaviorSubject(false);
|
|
3341
|
+
hasWorkspace$$;
|
|
3342
|
+
_layer;
|
|
3343
|
+
layer$ = new BehaviorSubject(undefined);
|
|
3344
|
+
set layer(value) {
|
|
3345
|
+
this._layer = value;
|
|
3346
|
+
this.layer$.next(this._layer);
|
|
3347
|
+
}
|
|
3348
|
+
get layer() {
|
|
3349
|
+
return this._layer;
|
|
3350
|
+
}
|
|
3351
|
+
color = 'primary';
|
|
3352
|
+
constructor(workspaceState) {
|
|
3353
|
+
this.workspaceState = workspaceState;
|
|
3354
|
+
}
|
|
3355
|
+
ngOnInit() {
|
|
3356
|
+
this.hasWorkspace$$ = combineLatest([
|
|
3357
|
+
this.workspaceState.workspaceEnabled$,
|
|
3358
|
+
this.layer$
|
|
3359
|
+
]).subscribe((bunch) => this.hasWorkspace$.next(bunch[0] && bunch[1]?.options.workspace?.enabled));
|
|
3360
|
+
}
|
|
3361
|
+
ngOnDestroy() {
|
|
3362
|
+
this.hasWorkspace$$.unsubscribe();
|
|
3363
|
+
}
|
|
3364
|
+
activateWorkspace() {
|
|
3365
|
+
if (this.workspaceState.workspace$.value &&
|
|
3366
|
+
this.workspaceState.workspace$.value.layer.id ===
|
|
3367
|
+
this.layer.id &&
|
|
3368
|
+
this.workspaceState.workspacePanelExpanded) {
|
|
3369
|
+
this.workspaceState.workspacePanelExpanded = false;
|
|
3370
|
+
}
|
|
3371
|
+
else {
|
|
3372
|
+
this.workspaceState.workspacePanelExpanded = true;
|
|
3373
|
+
this.workspaceState.setActiveWorkspaceById(this.layer.id);
|
|
3374
|
+
}
|
|
3375
|
+
}
|
|
3376
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: WorkspaceButtonComponent, deps: [{ token: WorkspaceState }], target: i0.ɵɵFactoryTarget.Component });
|
|
3377
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.2.1", type: WorkspaceButtonComponent, isStandalone: true, selector: "igo-workspace-button", inputs: { layer: "layer", color: "color" }, ngImport: i0, template: "<button\n *ngIf=\"hasWorkspace$ | async\"\n mat-icon-button\n tooltip-position=\"below\"\n matTooltipShowDelay=\"500\"\n [matTooltip]=\"'igo.integration.workspace.toggleWorkspace' | translate\"\n [color]=\"color\"\n (click)=\"activateWorkspace()\"\n>\n <mat-icon svgIcon=\"table\"></mat-icon>\n</button>\n", styles: [""], dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i6.MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { kind: "ngmodule", type: MatTooltipModule }, { kind: "directive", type: i5.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i7.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i7$2.TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
3378
|
+
}
|
|
3379
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: WorkspaceButtonComponent, decorators: [{
|
|
3380
|
+
type: Component,
|
|
3381
|
+
args: [{ selector: 'igo-workspace-button', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [
|
|
3382
|
+
NgIf,
|
|
3383
|
+
MatButtonModule,
|
|
3384
|
+
MatTooltipModule,
|
|
3385
|
+
MatIconModule,
|
|
3386
|
+
AsyncPipe,
|
|
3387
|
+
TranslateModule
|
|
3388
|
+
], template: "<button\n *ngIf=\"hasWorkspace$ | async\"\n mat-icon-button\n tooltip-position=\"below\"\n matTooltipShowDelay=\"500\"\n [matTooltip]=\"'igo.integration.workspace.toggleWorkspace' | translate\"\n [color]=\"color\"\n (click)=\"activateWorkspace()\"\n>\n <mat-icon svgIcon=\"table\"></mat-icon>\n</button>\n" }]
|
|
3389
|
+
}], ctorParameters: () => [{ type: WorkspaceState }], propDecorators: { layer: [{
|
|
3390
|
+
type: Input
|
|
3391
|
+
}], color: [{
|
|
3392
|
+
type: Input
|
|
3393
|
+
}] } });
|
|
3232
3394
|
|
|
3233
3395
|
let MapDetailsToolComponent = class MapDetailsToolComponent {
|
|
3234
3396
|
mapState;
|
|
@@ -3319,8 +3481,8 @@ let MapDetailsToolComponent = class MapDetailsToolComponent {
|
|
|
3319
3481
|
this.importExportState.setMode(ImportExportMode.export);
|
|
3320
3482
|
this.toolState.toolbox.activateTool('importExport');
|
|
3321
3483
|
}
|
|
3322
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3323
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
3484
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: MapDetailsToolComponent, deps: [{ token: MapState }, { token: ToolState }, { token: i1.SearchSourceService }, { token: i0.ChangeDetectorRef }, { token: ImportExportState }], target: i0.ɵɵFactoryTarget.Component });
|
|
3485
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.2.1", type: MapDetailsToolComponent, isStandalone: true, selector: "igo-map-details-tool", inputs: { toggleLegendOnVisibilityChange: "toggleLegendOnVisibilityChange", expandLegendOfVisibleLayers: "expandLegendOfVisibleLayers", updateLegendOnResolutionChange: "updateLegendOnResolutionChange", ogcButton: "ogcButton", timeButton: "timeButton", layerListControls: "layerListControls", queryBadge: "queryBadge", layerAdditionAllowed: "layerAdditionAllowed" }, ngImport: i0, template: "<igo-layer-list\r\n class=\"mapDetailsList\"\r\n *ngIf=\"(layers$ | async).length; else empty\"\r\n [map]=\"map\"\r\n igoLayerListBinding\r\n [excludeBaseLayers]=\"excludeBaseLayers\"\r\n [layerFilterAndSortOptions]=\"layerFilterAndSortOptions\"\r\n [expandLegendOfVisibleLayers]=\"expandLegendOfVisibleLayers\"\r\n [toggleLegendOnVisibilityChange]=\"toggleLegendOnVisibilityChange\"\r\n [updateLegendOnResolutionChange]=\"updateLegendOnResolutionChange\"\r\n [queryBadge]=\"queryBadge\"\r\n>\r\n <ng-template #igoLayerItemToolbar let-layer=\"layer\">\r\n <!-- <igo-download-button [layer]=\"layer\"></igo-download-button> -->\r\n <igo-workspace-button [layer]=\"layer\"></igo-workspace-button>\r\n <igo-export-button\r\n [layer]=\"layer\"\r\n (click)=\"activateExport(layer)\"\r\n ></igo-export-button>\r\n <igo-ogc-filter-button\r\n [header]=\"ogcButton\"\r\n [layer]=\"layer\"\r\n ></igo-ogc-filter-button>\r\n <igo-time-filter-button\r\n [header]=\"timeButton\"\r\n [layer]=\"layer\"\r\n ></igo-time-filter-button>\r\n <igo-track-feature-button\r\n [trackFeature]=\"true\"\r\n [layer]=\"layer\"\r\n ></igo-track-feature-button>\r\n <igo-metadata-button [layer]=\"layer\"></igo-metadata-button>\r\n </ng-template>\r\n</igo-layer-list>\r\n\r\n<ng-template #empty>\r\n <mat-list *ngIf=\"delayedShowEmptyMapContent\">\r\n <p class=\"map-empty mat-typography\">\r\n {{ 'igo.integration.mapTool.empty' | translate }}\r\n </p>\r\n <p\r\n *ngIf=\"\r\n layerAdditionAllowed &&\r\n (searchToolInToolbar || catalogToolInToolbar || contextToolInToolbar)\r\n \"\r\n class=\"map-empty mat-typography\"\r\n >\r\n {{ 'igo.integration.mapTool.customize' | translate }}\r\n </p>\r\n <mat-list-item *ngIf=\"layerAdditionAllowed && searchToolInToolbar\">\r\n <mat-icon matListItemIcon>\r\n <svg\r\n viewBox=\"0 0 24 24\"\r\n fit=\"\"\r\n height=\"100%\"\r\n width=\"100%\"\r\n preserveAspectRatio=\"xMidYMid meet\"\r\n focusable=\"false\"\r\n >\r\n <path\r\n 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\"\r\n ></path>\r\n </svg>\r\n </mat-icon>\r\n <span\r\n matListItemTitle\r\n class=\"search-tool mat-typography\"\r\n (click)=\"searchEmit()\"\r\n >\r\n {{ 'igo.integration.mapTool.search-tool' | translate }}\r\n </span>\r\n </mat-list-item>\r\n <mat-list-item *ngIf=\"layerAdditionAllowed && catalogToolInToolbar\">\r\n <mat-icon matListItemIcon>\r\n <svg\r\n viewBox=\"0 0 24 24\"\r\n fit=\"\"\r\n height=\"100%\"\r\n width=\"100%\"\r\n preserveAspectRatio=\"xMidYMid meet\"\r\n focusable=\"false\"\r\n >\r\n <path\r\n 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\"\r\n ></path>\r\n </svg>\r\n </mat-icon>\r\n <span\r\n matListItemTitle\r\n class=\"catalog-tool mat-typography\"\r\n (click)=\"catalogEmit()\"\r\n >\r\n {{ 'igo.integration.mapTool.catalog-tool' | translate }}\r\n </span>\r\n </mat-list-item>\r\n <mat-list-item *ngIf=\"layerAdditionAllowed && contextToolInToolbar\">\r\n <mat-icon matListItemIcon>\r\n <svg\r\n viewBox=\"0 0 24 24\"\r\n fit=\"\"\r\n height=\"100%\"\r\n width=\"100%\"\r\n preserveAspectRatio=\"xMidYMid meet\"\r\n focusable=\"false\"\r\n >\r\n <path\r\n 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\"\r\n ></path>\r\n </svg>\r\n </mat-icon>\r\n <span\r\n matListItemTitle\r\n class=\"context-tool mat-typography\"\r\n (click)=\"contextEmit()\"\r\n >\r\n {{ 'igo.integration.mapTool.context-tool' | translate }}\r\n </span>\r\n </mat-list-item>\r\n </mat-list>\r\n</ng-template>\r\n", styles: [":host .map-empty,:host .search-tool,:host .catalog-tool,:host .context-tool{margin:10px}:host .map-empty{text-align:justify}:host .search-tool,:host .catalog-tool,:host .context-tool{cursor:pointer}:host mat-list mat-list-item h4{font-weight:700}:host mat-list-item ::ng-deep .mdc-list-item__primary-text{font-size:smaller}:host mat-list.mat-mdc-list-base mat-list-item.mat-mdc-list-item ::ng-deep div.mdc-list-item__content div.mdc-list-item__primary-text{padding-left:5px}:host .mapDetailsList{overflow:hidden}\n"], dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: LayerListComponent, selector: "igo-layer-list", inputs: ["layersAreAllVisible", "ogcButton", "timeButton", "map", "layers", "floatLabel", "layerFilterAndSortOptions", "excludeBaseLayers", "toggleLegendOnVisibilityChange", "expandLegendOfVisibleLayers", "updateLegendOnResolutionChange", "queryBadge"], outputs: ["appliedFilterAndSort"] }, { kind: "directive", type: LayerListBindingDirective, selector: "[igoLayerListBinding]" }, { kind: "component", type: WorkspaceButtonComponent, selector: "igo-workspace-button", inputs: ["layer", "color"] }, { kind: "component", type: ExportButtonComponent, selector: "igo-export-button", inputs: ["layer", "color"] }, { kind: "component", type: OgcFilterButtonComponent, selector: "igo-ogc-filter-button", inputs: ["layer", "map", "color", "header"] }, { kind: "component", type: TimeFilterButtonComponent, selector: "igo-time-filter-button", inputs: ["layer", "map", "color", "header"] }, { kind: "component", type: TrackFeatureButtonComponent, selector: "igo-track-feature-button", inputs: ["layer", "trackFeature"] }, { kind: "component", type: MetadataButtonComponent, selector: "igo-metadata-button", inputs: ["layer", "color"] }, { kind: "ngmodule", type: MatListModule }, { kind: "component", type: i10$1.MatList, selector: "mat-list", exportAs: ["matList"] }, { kind: "component", type: i10$1.MatListItem, selector: "mat-list-item, a[mat-list-item], button[mat-list-item]", inputs: ["activated"], exportAs: ["matListItem"] }, { kind: "directive", type: i10$1.MatListItemIcon, selector: "[matListItemIcon]" }, { kind: "directive", type: i10$1.MatListItemTitle, selector: "[matListItemTitle]" }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i7.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i7$2.TranslatePipe, name: "translate" }] });
|
|
3324
3486
|
};
|
|
3325
3487
|
MapDetailsToolComponent = __decorate([
|
|
3326
3488
|
ToolComponent({
|
|
@@ -3334,10 +3496,24 @@ MapDetailsToolComponent = __decorate([
|
|
|
3334
3496
|
ChangeDetectorRef,
|
|
3335
3497
|
ImportExportState])
|
|
3336
3498
|
], MapDetailsToolComponent);
|
|
3337
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3499
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: MapDetailsToolComponent, decorators: [{
|
|
3338
3500
|
type: Component,
|
|
3339
|
-
args: [{ selector: 'igo-map-details-tool',
|
|
3340
|
-
|
|
3501
|
+
args: [{ selector: 'igo-map-details-tool', standalone: true, imports: [
|
|
3502
|
+
NgIf,
|
|
3503
|
+
LayerListComponent,
|
|
3504
|
+
LayerListBindingDirective,
|
|
3505
|
+
WorkspaceButtonComponent,
|
|
3506
|
+
ExportButtonComponent,
|
|
3507
|
+
OgcFilterButtonComponent,
|
|
3508
|
+
TimeFilterButtonComponent,
|
|
3509
|
+
TrackFeatureButtonComponent,
|
|
3510
|
+
MetadataButtonComponent,
|
|
3511
|
+
MatListModule,
|
|
3512
|
+
MatIconModule,
|
|
3513
|
+
AsyncPipe,
|
|
3514
|
+
TranslateModule
|
|
3515
|
+
], template: "<igo-layer-list\r\n class=\"mapDetailsList\"\r\n *ngIf=\"(layers$ | async).length; else empty\"\r\n [map]=\"map\"\r\n igoLayerListBinding\r\n [excludeBaseLayers]=\"excludeBaseLayers\"\r\n [layerFilterAndSortOptions]=\"layerFilterAndSortOptions\"\r\n [expandLegendOfVisibleLayers]=\"expandLegendOfVisibleLayers\"\r\n [toggleLegendOnVisibilityChange]=\"toggleLegendOnVisibilityChange\"\r\n [updateLegendOnResolutionChange]=\"updateLegendOnResolutionChange\"\r\n [queryBadge]=\"queryBadge\"\r\n>\r\n <ng-template #igoLayerItemToolbar let-layer=\"layer\">\r\n <!-- <igo-download-button [layer]=\"layer\"></igo-download-button> -->\r\n <igo-workspace-button [layer]=\"layer\"></igo-workspace-button>\r\n <igo-export-button\r\n [layer]=\"layer\"\r\n (click)=\"activateExport(layer)\"\r\n ></igo-export-button>\r\n <igo-ogc-filter-button\r\n [header]=\"ogcButton\"\r\n [layer]=\"layer\"\r\n ></igo-ogc-filter-button>\r\n <igo-time-filter-button\r\n [header]=\"timeButton\"\r\n [layer]=\"layer\"\r\n ></igo-time-filter-button>\r\n <igo-track-feature-button\r\n [trackFeature]=\"true\"\r\n [layer]=\"layer\"\r\n ></igo-track-feature-button>\r\n <igo-metadata-button [layer]=\"layer\"></igo-metadata-button>\r\n </ng-template>\r\n</igo-layer-list>\r\n\r\n<ng-template #empty>\r\n <mat-list *ngIf=\"delayedShowEmptyMapContent\">\r\n <p class=\"map-empty mat-typography\">\r\n {{ 'igo.integration.mapTool.empty' | translate }}\r\n </p>\r\n <p\r\n *ngIf=\"\r\n layerAdditionAllowed &&\r\n (searchToolInToolbar || catalogToolInToolbar || contextToolInToolbar)\r\n \"\r\n class=\"map-empty mat-typography\"\r\n >\r\n {{ 'igo.integration.mapTool.customize' | translate }}\r\n </p>\r\n <mat-list-item *ngIf=\"layerAdditionAllowed && searchToolInToolbar\">\r\n <mat-icon matListItemIcon>\r\n <svg\r\n viewBox=\"0 0 24 24\"\r\n fit=\"\"\r\n height=\"100%\"\r\n width=\"100%\"\r\n preserveAspectRatio=\"xMidYMid meet\"\r\n focusable=\"false\"\r\n >\r\n <path\r\n 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\"\r\n ></path>\r\n </svg>\r\n </mat-icon>\r\n <span\r\n matListItemTitle\r\n class=\"search-tool mat-typography\"\r\n (click)=\"searchEmit()\"\r\n >\r\n {{ 'igo.integration.mapTool.search-tool' | translate }}\r\n </span>\r\n </mat-list-item>\r\n <mat-list-item *ngIf=\"layerAdditionAllowed && catalogToolInToolbar\">\r\n <mat-icon matListItemIcon>\r\n <svg\r\n viewBox=\"0 0 24 24\"\r\n fit=\"\"\r\n height=\"100%\"\r\n width=\"100%\"\r\n preserveAspectRatio=\"xMidYMid meet\"\r\n focusable=\"false\"\r\n >\r\n <path\r\n 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\"\r\n ></path>\r\n </svg>\r\n </mat-icon>\r\n <span\r\n matListItemTitle\r\n class=\"catalog-tool mat-typography\"\r\n (click)=\"catalogEmit()\"\r\n >\r\n {{ 'igo.integration.mapTool.catalog-tool' | translate }}\r\n </span>\r\n </mat-list-item>\r\n <mat-list-item *ngIf=\"layerAdditionAllowed && contextToolInToolbar\">\r\n <mat-icon matListItemIcon>\r\n <svg\r\n viewBox=\"0 0 24 24\"\r\n fit=\"\"\r\n height=\"100%\"\r\n width=\"100%\"\r\n preserveAspectRatio=\"xMidYMid meet\"\r\n focusable=\"false\"\r\n >\r\n <path\r\n 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\"\r\n ></path>\r\n </svg>\r\n </mat-icon>\r\n <span\r\n matListItemTitle\r\n class=\"context-tool mat-typography\"\r\n (click)=\"contextEmit()\"\r\n >\r\n {{ 'igo.integration.mapTool.context-tool' | translate }}\r\n </span>\r\n </mat-list-item>\r\n </mat-list>\r\n</ng-template>\r\n", styles: [":host .map-empty,:host .search-tool,:host .catalog-tool,:host .context-tool{margin:10px}:host .map-empty{text-align:justify}:host .search-tool,:host .catalog-tool,:host .context-tool{cursor:pointer}:host mat-list mat-list-item h4{font-weight:700}:host mat-list-item ::ng-deep .mdc-list-item__primary-text{font-size:smaller}:host mat-list.mat-mdc-list-base mat-list-item.mat-mdc-list-item ::ng-deep div.mdc-list-item__content div.mdc-list-item__primary-text{padding-left:5px}:host .mapDetailsList{overflow:hidden}\n"] }]
|
|
3516
|
+
}], ctorParameters: () => [{ type: MapState }, { type: ToolState }, { type: i1.SearchSourceService }, { type: i0.ChangeDetectorRef }, { type: ImportExportState }], propDecorators: { toggleLegendOnVisibilityChange: [{
|
|
3341
3517
|
type: Input
|
|
3342
3518
|
}], expandLegendOfVisibleLayers: [{
|
|
3343
3519
|
type: Input
|
|
@@ -3465,8 +3641,8 @@ let MapLegendToolComponent = class MapLegendToolComponent {
|
|
|
3465
3641
|
contextEmit() {
|
|
3466
3642
|
this.toolState.toolbox.activateTool('contextManager');
|
|
3467
3643
|
}
|
|
3468
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3469
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
3644
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: MapLegendToolComponent, deps: [{ token: MapState }, { token: ToolState }, { token: i1.SearchSourceService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
3645
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.2.1", type: MapLegendToolComponent, isStandalone: true, selector: "igo-map-legend-tool", inputs: { updateLegendOnResolutionChange: "updateLegendOnResolutionChange", layerAdditionAllowed: "layerAdditionAllowed", allowShowAllLegends: "allowShowAllLegends", showAllLegendsValue: "showAllLegendsValue", layerListControls: "layerListControls" }, ngImport: i0, template: "<igo-layer-legend-list\n *ngIf=\"showAllLegend()\"\n igoLayerLegendListBinding\n [excludeBaseLayers]=\"excludeBaseLayers\"\n [allowShowAllLegends]=\"allowShowAllLegends\"\n [updateLegendOnResolutionChange]=\"updateLegendOnResolutionChange\"\n [showAllLegendsValue]=\"showAllLegendsValue$ | async\"\n (allLegendsShown)=\"onShowAllLegends($event)\"\n>\n</igo-layer-legend-list>\n<ng-template\n *ngIf=\"(layers$ | async).length !== 0; else emptyLayers\"\n></ng-template>\n\n<p\n class=\"map-empty mat-typography\"\n *ngIf=\"\n !allowShowAllLegends &&\n (layers$ | async).length !== 0 &&\n (visibleOrInRangeLayers$ | async).length === 0\n \"\n>\n {{\n (visibleLayers$ | async).length\n ? ('igo.integration.mapTool.noLayersInRange' | translate)\n : ('igo.integration.mapTool.noLayersVisible' | translate)\n }}\n</p>\n\n<ng-template #emptyLayers>\n <mat-list *ngIf=\"delayedShowEmptyMapContent\">\n <p class=\"map-empty mat-typography\">\n {{ 'igo.integration.mapTool.empty' | translate }}\n </p>\n <p\n *ngIf=\"\n layerAdditionAllowed &&\n (searchToolInToolbar || catalogToolInToolbar || contextToolInToolbar)\n \"\n class=\"map-empty mat-typography\"\n >\n {{ 'igo.integration.mapTool.customize' | translate }}\n </p>\n\n <mat-list-item *ngIf=\"layerAdditionAllowed && searchToolInToolbar\">\n <mat-icon matListItemIcon>\n <svg\n viewBox=\"0 0 24 24\"\n fit=\"\"\n height=\"100%\"\n width=\"100%\"\n preserveAspectRatio=\"xMidYMid meet\"\n focusable=\"false\"\n >\n <path\n 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\"\n ></path></svg\n ></mat-icon>\n <span\n matListItemTitle\n class=\"search-tool mat-typography\"\n (click)=\"searchEmit()\"\n >\n {{ 'igo.integration.mapTool.search-tool' | translate }}\n </span>\n </mat-list-item>\n <mat-list-item *ngIf=\"layerAdditionAllowed && catalogToolInToolbar\">\n <mat-icon matListItemIcon>\n <svg\n viewBox=\"0 0 24 24\"\n fit=\"\"\n height=\"100%\"\n width=\"100%\"\n preserveAspectRatio=\"xMidYMid meet\"\n focusable=\"false\"\n >\n <path\n 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\"\n ></path></svg\n ></mat-icon>\n <span\n matListItemTitle\n class=\"catalog-tool mat-typography\"\n (click)=\"catalogEmit()\"\n >\n {{ 'igo.integration.mapTool.catalog-tool' | translate }}\n </span>\n </mat-list-item>\n <mat-list-item *ngIf=\"layerAdditionAllowed && contextToolInToolbar\">\n <mat-icon matListItemIcon>\n <svg\n viewBox=\"0 0 24 24\"\n fit=\"\"\n height=\"100%\"\n width=\"100%\"\n preserveAspectRatio=\"xMidYMid meet\"\n focusable=\"false\"\n >\n <path\n 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\"\n ></path></svg\n ></mat-icon>\n <span\n matListItemTitle\n class=\"context-tool mat-typography\"\n (click)=\"contextEmit()\"\n >\n {{ 'igo.integration.mapTool.context-tool' | translate }}\n </span>\n </mat-list-item>\n </mat-list>\n</ng-template>\n", styles: [":host .map-empty,:host .search-tool,:host .catalog-tool,:host .context-tool{margin:10px}:host .map-empty{text-align:justify}:host .search-tool,:host .catalog-tool,:host .context-tool{cursor:pointer}:host mat-list mat-list-item h4{font-weight:700}:host mat-list-item ::ng-deep .mdc-list-item__primary-text{font-size:smaller}:host mat-list.mat-mdc-list-base mat-list-item.mat-mdc-list-item ::ng-deep div.mdc-list-item__content div.mdc-list-item__primary-text{padding-left:5px}\n"], dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: LayerLegendListComponent, selector: "igo-layer-legend-list", inputs: ["layers", "excludeBaseLayers", "updateLegendOnResolutionChange", "allowShowAllLegends", "showAllLegendsValue"], outputs: ["allLegendsShown"] }, { kind: "directive", type: LayerLegendListBindingDirective, selector: "[igoLayerLegendListBinding]" }, { kind: "ngmodule", type: MatListModule }, { kind: "component", type: i10$1.MatList, selector: "mat-list", exportAs: ["matList"] }, { kind: "component", type: i10$1.MatListItem, selector: "mat-list-item, a[mat-list-item], button[mat-list-item]", inputs: ["activated"], exportAs: ["matListItem"] }, { kind: "directive", type: i10$1.MatListItemIcon, selector: "[matListItemIcon]" }, { kind: "directive", type: i10$1.MatListItemTitle, selector: "[matListItemTitle]" }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i7.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i7$2.TranslatePipe, name: "translate" }] });
|
|
3470
3646
|
};
|
|
3471
3647
|
MapLegendToolComponent = __decorate([
|
|
3472
3648
|
ToolComponent({
|
|
@@ -3479,10 +3655,18 @@ MapLegendToolComponent = __decorate([
|
|
|
3479
3655
|
SearchSourceService,
|
|
3480
3656
|
ChangeDetectorRef])
|
|
3481
3657
|
], MapLegendToolComponent);
|
|
3482
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3658
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: MapLegendToolComponent, decorators: [{
|
|
3483
3659
|
type: Component,
|
|
3484
|
-
args: [{ selector: 'igo-map-legend-tool',
|
|
3485
|
-
|
|
3660
|
+
args: [{ selector: 'igo-map-legend-tool', standalone: true, imports: [
|
|
3661
|
+
NgIf,
|
|
3662
|
+
LayerLegendListComponent,
|
|
3663
|
+
LayerLegendListBindingDirective,
|
|
3664
|
+
MatListModule,
|
|
3665
|
+
MatIconModule,
|
|
3666
|
+
AsyncPipe,
|
|
3667
|
+
TranslateModule
|
|
3668
|
+
], template: "<igo-layer-legend-list\n *ngIf=\"showAllLegend()\"\n igoLayerLegendListBinding\n [excludeBaseLayers]=\"excludeBaseLayers\"\n [allowShowAllLegends]=\"allowShowAllLegends\"\n [updateLegendOnResolutionChange]=\"updateLegendOnResolutionChange\"\n [showAllLegendsValue]=\"showAllLegendsValue$ | async\"\n (allLegendsShown)=\"onShowAllLegends($event)\"\n>\n</igo-layer-legend-list>\n<ng-template\n *ngIf=\"(layers$ | async).length !== 0; else emptyLayers\"\n></ng-template>\n\n<p\n class=\"map-empty mat-typography\"\n *ngIf=\"\n !allowShowAllLegends &&\n (layers$ | async).length !== 0 &&\n (visibleOrInRangeLayers$ | async).length === 0\n \"\n>\n {{\n (visibleLayers$ | async).length\n ? ('igo.integration.mapTool.noLayersInRange' | translate)\n : ('igo.integration.mapTool.noLayersVisible' | translate)\n }}\n</p>\n\n<ng-template #emptyLayers>\n <mat-list *ngIf=\"delayedShowEmptyMapContent\">\n <p class=\"map-empty mat-typography\">\n {{ 'igo.integration.mapTool.empty' | translate }}\n </p>\n <p\n *ngIf=\"\n layerAdditionAllowed &&\n (searchToolInToolbar || catalogToolInToolbar || contextToolInToolbar)\n \"\n class=\"map-empty mat-typography\"\n >\n {{ 'igo.integration.mapTool.customize' | translate }}\n </p>\n\n <mat-list-item *ngIf=\"layerAdditionAllowed && searchToolInToolbar\">\n <mat-icon matListItemIcon>\n <svg\n viewBox=\"0 0 24 24\"\n fit=\"\"\n height=\"100%\"\n width=\"100%\"\n preserveAspectRatio=\"xMidYMid meet\"\n focusable=\"false\"\n >\n <path\n 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\"\n ></path></svg\n ></mat-icon>\n <span\n matListItemTitle\n class=\"search-tool mat-typography\"\n (click)=\"searchEmit()\"\n >\n {{ 'igo.integration.mapTool.search-tool' | translate }}\n </span>\n </mat-list-item>\n <mat-list-item *ngIf=\"layerAdditionAllowed && catalogToolInToolbar\">\n <mat-icon matListItemIcon>\n <svg\n viewBox=\"0 0 24 24\"\n fit=\"\"\n height=\"100%\"\n width=\"100%\"\n preserveAspectRatio=\"xMidYMid meet\"\n focusable=\"false\"\n >\n <path\n 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\"\n ></path></svg\n ></mat-icon>\n <span\n matListItemTitle\n class=\"catalog-tool mat-typography\"\n (click)=\"catalogEmit()\"\n >\n {{ 'igo.integration.mapTool.catalog-tool' | translate }}\n </span>\n </mat-list-item>\n <mat-list-item *ngIf=\"layerAdditionAllowed && contextToolInToolbar\">\n <mat-icon matListItemIcon>\n <svg\n viewBox=\"0 0 24 24\"\n fit=\"\"\n height=\"100%\"\n width=\"100%\"\n preserveAspectRatio=\"xMidYMid meet\"\n focusable=\"false\"\n >\n <path\n 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\"\n ></path></svg\n ></mat-icon>\n <span\n matListItemTitle\n class=\"context-tool mat-typography\"\n (click)=\"contextEmit()\"\n >\n {{ 'igo.integration.mapTool.context-tool' | translate }}\n </span>\n </mat-list-item>\n </mat-list>\n</ng-template>\n", styles: [":host .map-empty,:host .search-tool,:host .catalog-tool,:host .context-tool{margin:10px}:host .map-empty{text-align:justify}:host .search-tool,:host .catalog-tool,:host .context-tool{cursor:pointer}:host mat-list mat-list-item h4{font-weight:700}:host mat-list-item ::ng-deep .mdc-list-item__primary-text{font-size:smaller}:host mat-list.mat-mdc-list-base mat-list-item.mat-mdc-list-item ::ng-deep div.mdc-list-item__content div.mdc-list-item__primary-text{padding-left:5px}\n"] }]
|
|
3669
|
+
}], ctorParameters: () => [{ type: MapState }, { type: ToolState }, { type: i1.SearchSourceService }, { type: i0.ChangeDetectorRef }], propDecorators: { updateLegendOnResolutionChange: [{
|
|
3486
3670
|
type: Input
|
|
3487
3671
|
}], layerAdditionAllowed: [{
|
|
3488
3672
|
type: Input
|
|
@@ -3650,15 +3834,15 @@ class MapProximityState {
|
|
|
3650
3834
|
}
|
|
3651
3835
|
return label;
|
|
3652
3836
|
}
|
|
3653
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3654
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3837
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: MapProximityState, deps: [{ token: MapState }, { token: i2.StorageService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3838
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: MapProximityState, providedIn: 'root' });
|
|
3655
3839
|
}
|
|
3656
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3840
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: MapProximityState, decorators: [{
|
|
3657
3841
|
type: Injectable,
|
|
3658
3842
|
args: [{
|
|
3659
3843
|
providedIn: 'root'
|
|
3660
3844
|
}]
|
|
3661
|
-
}], ctorParameters:
|
|
3845
|
+
}], ctorParameters: () => [{ type: MapState }, { type: i2.StorageService }] });
|
|
3662
3846
|
|
|
3663
3847
|
let MapProximityToolComponent = class MapProximityToolComponent {
|
|
3664
3848
|
mapState;
|
|
@@ -3745,8 +3929,8 @@ let MapProximityToolComponent = class MapProximityToolComponent {
|
|
|
3745
3929
|
this.messageService.success('igo.integration.map-proximity-tool.copyMsg', 'igo.integration.map-proximity-tool.copyTitle');
|
|
3746
3930
|
}
|
|
3747
3931
|
}
|
|
3748
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3749
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
3932
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: MapProximityToolComponent, deps: [{ token: MapState }, { token: MapProximityState }, { token: i2.LanguageService }, { token: i2.MessageService }], target: i0.ɵɵFactoryTarget.Component });
|
|
3933
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.2.1", type: MapProximityToolComponent, isStandalone: true, selector: "igo-map-proximity-tool", viewQueries: [{ propertyName: "table", first: true, predicate: ["table"], descendants: true, static: true }], ngImport: i0, template: "<igo-entity-table\n #table\n class=\"table-compact\"\n [store]=\"mapProximityState.proximityFeatureStore\"\n [template]=\"tableTemplate\"\n></igo-entity-table>\n<br />\n<mat-form-field\n *ngIf=\"mapProximityState.currentPositionCoordinate$ | async as coord\"\n class=\"coordinates\"\n>\n <textarea\n #textArea\n matInput\n readonly\n rows=\"1\"\n [placeholder]=\"'igo.integration.map-proximity-tool.lon' | translate\"\n [value]=\"coord[0]\"\n ></textarea>\n</mat-form-field>\n<mat-form-field\n *ngIf=\"mapProximityState.currentPositionCoordinate$ | async as coord2\"\n class=\"coordinates2\"\n>\n <textarea\n #textArea\n matInput\n readonly\n rows=\"1\"\n [placeholder]=\"'igo.integration.map-proximity-tool.lat' | translate\"\n [value]=\"coord2[1]\"\n ></textarea>\n</mat-form-field>\n\n<button\n *ngIf=\"\n (mapProximityState.currentPositionCoordinate$ | async) &&\n (mapProximityState.currentPositionCoordinate$ | async).length\n \"\n mat-icon-button\n (click)=\"copyTextToClipboard()\"\n>\n <mat-icon svgIcon=\"content-copy\"></mat-icon>\n</button>\n<div class=\"title-container\">\n <mat-label class=\"title mat-typography\">{{\n 'igo.integration.map-proximity-tool.method' | translate\n }}</mat-label>\n</div>\n<div class=\"igo-input-container mat-typography\">\n <mat-radio-group (change)=\"onLocationTypeChange($event)\">\n <mat-radio-button\n [checked]=\"\n (mapProximityState.proximitylocationType$ | async) === 'geolocation'\n \"\n value=\"geolocation\"\n >{{\n 'igo.integration.map-proximity-tool.geolocation' | translate\n }}</mat-radio-button\n >\n <mat-radio-button\n [checked]=\"\n (mapProximityState.proximitylocationType$ | async) === 'mapCenter'\n \"\n value=\"mapCenter\"\n >{{\n 'igo.integration.map-proximity-tool.mapCenter' | translate\n }}</mat-radio-button\n >\n </mat-radio-group>\n</div>\n\n<div class=\"radius-unit\">\n <mat-form-field class=\"radius-field\" floatLabel=\"always\">\n <mat-label>{{\n 'igo.integration.map-proximity-tool.radiusM' | translate\n }}</mat-label>\n <input\n type=\"number\"\n pattern=\"[0-9]*\"\n [(ngModel)]=\"maxDistance\"\n matInput\n placeholder=\"{{\n 'igo.integration.map-proximity-tool.radiusM' | translate\n }}\"\n />\n </mat-form-field>\n</div>\n", styles: [":host .table-compact{height:auto}:host .table-compact ::ng-deep .mat-mdc-header-cell.mat-column-selectionCheckbox{width:52px}:host textarea{resize:none}:host mat-form-field{padding:10px 15px}:host mat-form-field.coordinates{width:110px}:host mat-form-field.coordinates2{width:100px;padding:0 10px 0 3px}:host mat-form-field.igo-input-container{width:60%;padding:0 15px}:host .radius-unit{display:flex;width:90%;margin-left:2px;padding:5px}:host .radius-unit mat-form-field.radius-field{display:flex;flex-flow:column nowrap;width:100%}:host .title-container{padding:10px}:host .title{margin-left:5px;font-size:initial}:host .mat-mdc-radio-group{display:flex;flex-direction:column}:host .mat-mdc-radio-button{display:inline-flex;position:relative;margin-left:12px}\n"], dependencies: [{ kind: "component", type: EntityTableComponent, selector: "igo-entity-table", inputs: ["store", "paginator", "template", "scrollBehavior", "sortNullsFirst", "withPaginator", "paginatorOptions"], outputs: ["entityClick", "entitySelectChange", "entitySortChange"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: MatFormFieldModule }, { kind: "component", type: i4.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i4.MatLabel, selector: "mat-label" }, { kind: "ngmodule", type: MatInputModule }, { kind: "directive", type: i5$3.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i6.MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i7.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatRadioModule }, { kind: "directive", type: i8$2.MatRadioGroup, selector: "mat-radio-group", inputs: ["color", "name", "labelPosition", "value", "selected", "disabled", "required"], outputs: ["change"], exportAs: ["matRadioGroup"] }, { kind: "component", type: i8$2.MatRadioButton, selector: "mat-radio-button", inputs: ["id", "name", "aria-label", "aria-labelledby", "aria-describedby", "disableRipple", "tabIndex", "checked", "value", "labelPosition", "disabled", "required", "color"], outputs: ["change"], exportAs: ["matRadioButton"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i3$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i3$1.NumberValueAccessor, selector: "input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]" }, { kind: "directive", type: i3$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3$1.PatternValidator, selector: "[pattern][formControlName],[pattern][formControl],[pattern][ngModel]", inputs: ["pattern"] }, { kind: "directive", type: i3$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i7$2.TranslatePipe, name: "translate" }] });
|
|
3750
3934
|
};
|
|
3751
3935
|
MapProximityToolComponent = __decorate([
|
|
3752
3936
|
ToolComponent({
|
|
@@ -3763,10 +3947,21 @@ MapProximityToolComponent = __decorate([
|
|
|
3763
3947
|
LanguageService,
|
|
3764
3948
|
MessageService])
|
|
3765
3949
|
], MapProximityToolComponent);
|
|
3766
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3950
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: MapProximityToolComponent, decorators: [{
|
|
3767
3951
|
type: Component,
|
|
3768
|
-
args: [{ selector: 'igo-map-proximity-tool',
|
|
3769
|
-
|
|
3952
|
+
args: [{ selector: 'igo-map-proximity-tool', standalone: true, imports: [
|
|
3953
|
+
EntityTableComponent,
|
|
3954
|
+
NgIf,
|
|
3955
|
+
MatFormFieldModule,
|
|
3956
|
+
MatInputModule,
|
|
3957
|
+
MatButtonModule,
|
|
3958
|
+
MatIconModule,
|
|
3959
|
+
MatRadioModule,
|
|
3960
|
+
FormsModule,
|
|
3961
|
+
AsyncPipe,
|
|
3962
|
+
TranslateModule
|
|
3963
|
+
], template: "<igo-entity-table\n #table\n class=\"table-compact\"\n [store]=\"mapProximityState.proximityFeatureStore\"\n [template]=\"tableTemplate\"\n></igo-entity-table>\n<br />\n<mat-form-field\n *ngIf=\"mapProximityState.currentPositionCoordinate$ | async as coord\"\n class=\"coordinates\"\n>\n <textarea\n #textArea\n matInput\n readonly\n rows=\"1\"\n [placeholder]=\"'igo.integration.map-proximity-tool.lon' | translate\"\n [value]=\"coord[0]\"\n ></textarea>\n</mat-form-field>\n<mat-form-field\n *ngIf=\"mapProximityState.currentPositionCoordinate$ | async as coord2\"\n class=\"coordinates2\"\n>\n <textarea\n #textArea\n matInput\n readonly\n rows=\"1\"\n [placeholder]=\"'igo.integration.map-proximity-tool.lat' | translate\"\n [value]=\"coord2[1]\"\n ></textarea>\n</mat-form-field>\n\n<button\n *ngIf=\"\n (mapProximityState.currentPositionCoordinate$ | async) &&\n (mapProximityState.currentPositionCoordinate$ | async).length\n \"\n mat-icon-button\n (click)=\"copyTextToClipboard()\"\n>\n <mat-icon svgIcon=\"content-copy\"></mat-icon>\n</button>\n<div class=\"title-container\">\n <mat-label class=\"title mat-typography\">{{\n 'igo.integration.map-proximity-tool.method' | translate\n }}</mat-label>\n</div>\n<div class=\"igo-input-container mat-typography\">\n <mat-radio-group (change)=\"onLocationTypeChange($event)\">\n <mat-radio-button\n [checked]=\"\n (mapProximityState.proximitylocationType$ | async) === 'geolocation'\n \"\n value=\"geolocation\"\n >{{\n 'igo.integration.map-proximity-tool.geolocation' | translate\n }}</mat-radio-button\n >\n <mat-radio-button\n [checked]=\"\n (mapProximityState.proximitylocationType$ | async) === 'mapCenter'\n \"\n value=\"mapCenter\"\n >{{\n 'igo.integration.map-proximity-tool.mapCenter' | translate\n }}</mat-radio-button\n >\n </mat-radio-group>\n</div>\n\n<div class=\"radius-unit\">\n <mat-form-field class=\"radius-field\" floatLabel=\"always\">\n <mat-label>{{\n 'igo.integration.map-proximity-tool.radiusM' | translate\n }}</mat-label>\n <input\n type=\"number\"\n pattern=\"[0-9]*\"\n [(ngModel)]=\"maxDistance\"\n matInput\n placeholder=\"{{\n 'igo.integration.map-proximity-tool.radiusM' | translate\n }}\"\n />\n </mat-form-field>\n</div>\n", styles: [":host .table-compact{height:auto}:host .table-compact ::ng-deep .mat-mdc-header-cell.mat-column-selectionCheckbox{width:52px}:host textarea{resize:none}:host mat-form-field{padding:10px 15px}:host mat-form-field.coordinates{width:110px}:host mat-form-field.coordinates2{width:100px;padding:0 10px 0 3px}:host mat-form-field.igo-input-container{width:60%;padding:0 15px}:host .radius-unit{display:flex;width:90%;margin-left:2px;padding:5px}:host .radius-unit mat-form-field.radius-field{display:flex;flex-flow:column nowrap;width:100%}:host .title-container{padding:10px}:host .title{margin-left:5px;font-size:initial}:host .mat-mdc-radio-group{display:flex;flex-direction:column}:host .mat-mdc-radio-button{display:inline-flex;position:relative;margin-left:12px}\n"] }]
|
|
3964
|
+
}], ctorParameters: () => [{ type: MapState }, { type: MapProximityState }, { type: i2.LanguageService }, { type: i2.MessageService }], propDecorators: { table: [{
|
|
3770
3965
|
type: ViewChild,
|
|
3771
3966
|
args: ['table', { static: true }]
|
|
3772
3967
|
}] } });
|
|
@@ -3824,8 +4019,8 @@ let MapToolComponent = class MapToolComponent {
|
|
|
3824
4019
|
this.importExportState.setMode(ImportExportMode.export);
|
|
3825
4020
|
this.toolState.toolbox.activateTool('importExport');
|
|
3826
4021
|
}
|
|
3827
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3828
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
4022
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: MapToolComponent, deps: [{ token: MapState }, { token: ToolState }, { token: ImportExportState }], target: i0.ɵɵFactoryTarget.Component });
|
|
4023
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.2.1", type: MapToolComponent, isStandalone: true, selector: "igo-map-tool", inputs: { toggleLegendOnVisibilityChange: "toggleLegendOnVisibilityChange", expandLegendOfVisibleLayers: "expandLegendOfVisibleLayers", updateLegendOnResolutionChange: "updateLegendOnResolutionChange", ogcButton: "ogcButton", timeButton: "timeButton", layerListControls: "layerListControls", queryBadge: "queryBadge" }, ngImport: i0, template: "<mat-tab-group>\r\n <mat-tab [label]=\"'igo.integration.tools.map' | translate\">\r\n <igo-layer-list\r\n [map]=\"map\"\r\n igoLayerListBinding\r\n [excludeBaseLayers]=\"excludeBaseLayers\"\r\n [layerFilterAndSortOptions]=\"layerFilterAndSortOptions\"\r\n [expandLegendOfVisibleLayers]=\"expandLegendOfVisibleLayers\"\r\n [toggleLegendOnVisibilityChange]=\"toggleLegendOnVisibilityChange\"\r\n [updateLegendOnResolutionChange]=\"updateLegendOnResolutionChange\"\r\n [queryBadge]=\"queryBadge\"\r\n >\r\n <ng-template #igoLayerItemToolbar let-layer=\"layer\">\r\n <!-- <igo-download-button [layer]=\"layer\"></igo-download-button> -->\r\n <igo-workspace-button [layer]=\"layer\"></igo-workspace-button>\r\n <igo-export-button\r\n [layer]=\"layer\"\r\n (click)=\"activateExport(layer)\"\r\n ></igo-export-button>\r\n <igo-ogc-filter-button\r\n [header]=\"ogcButton\"\r\n [layer]=\"layer\"\r\n ></igo-ogc-filter-button>\r\n <igo-time-filter-button\r\n [header]=\"timeButton\"\r\n [layer]=\"layer\"\r\n ></igo-time-filter-button>\r\n <igo-track-feature-button\r\n [trackFeature]=\"true\"\r\n [layer]=\"layer\"\r\n ></igo-track-feature-button>\r\n <igo-metadata-button [layer]=\"layer\"></igo-metadata-button>\r\n </ng-template>\r\n </igo-layer-list>\r\n </mat-tab>\r\n\r\n <mat-tab [label]=\"'igo.integration.tools.contexts' | translate\">\r\n <igo-context-list igoContextListBinding></igo-context-list>\r\n </mat-tab>\r\n</mat-tab-group>\r\n", styles: [":host ::ng-deep .mat-mdc-tab-body-content{overflow:hidden}\n"], dependencies: [{ kind: "ngmodule", type: MatTabsModule }, { kind: "component", type: i5$2.MatTab, selector: "mat-tab", inputs: ["disabled", "label", "aria-label", "aria-labelledby", "labelClass", "bodyClass"], exportAs: ["matTab"] }, { kind: "component", type: i5$2.MatTabGroup, selector: "mat-tab-group", inputs: ["color", "fitInkBarToContent", "mat-stretch-tabs", "dynamicHeight", "selectedIndex", "headerPosition", "animationDuration", "contentTabIndex", "disablePagination", "disableRipple", "preserveContent", "backgroundColor"], outputs: ["selectedIndexChange", "focusChange", "animationDone", "selectedTabChange"], exportAs: ["matTabGroup"] }, { kind: "component", type: LayerListComponent, selector: "igo-layer-list", inputs: ["layersAreAllVisible", "ogcButton", "timeButton", "map", "layers", "floatLabel", "layerFilterAndSortOptions", "excludeBaseLayers", "toggleLegendOnVisibilityChange", "expandLegendOfVisibleLayers", "updateLegendOnResolutionChange", "queryBadge"], outputs: ["appliedFilterAndSort"] }, { kind: "directive", type: LayerListBindingDirective, selector: "[igoLayerListBinding]" }, { kind: "component", type: WorkspaceButtonComponent, selector: "igo-workspace-button", inputs: ["layer", "color"] }, { kind: "component", type: ExportButtonComponent, selector: "igo-export-button", inputs: ["layer", "color"] }, { kind: "component", type: OgcFilterButtonComponent, selector: "igo-ogc-filter-button", inputs: ["layer", "map", "color", "header"] }, { kind: "component", type: TimeFilterButtonComponent, selector: "igo-time-filter-button", inputs: ["layer", "map", "color", "header"] }, { kind: "component", type: TrackFeatureButtonComponent, selector: "igo-track-feature-button", inputs: ["layer", "trackFeature"] }, { kind: "component", type: MetadataButtonComponent, selector: "igo-metadata-button", inputs: ["layer", "color"] }, { kind: "component", type: ContextListComponent, selector: "igo-context-list", inputs: ["contexts", "selectedContext", "map", "defaultContextId", "term"], outputs: ["select", "unselect", "edit", "delete", "save", "clone", "create", "hide", "show", "showHiddenContexts", "favorite", "managePermissions", "manageTools", "filterPermissionsChanged"] }, { kind: "directive", type: ContextListBindingDirective, selector: "[igoContextListBinding]" }, { kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i7$2.TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
3829
4024
|
};
|
|
3830
4025
|
MapToolComponent = __decorate([
|
|
3831
4026
|
ToolComponent({
|
|
@@ -3837,10 +4032,23 @@ MapToolComponent = __decorate([
|
|
|
3837
4032
|
ToolState,
|
|
3838
4033
|
ImportExportState])
|
|
3839
4034
|
], MapToolComponent);
|
|
3840
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4035
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: MapToolComponent, decorators: [{
|
|
3841
4036
|
type: Component,
|
|
3842
|
-
args: [{ selector: 'igo-map-tool', changeDetection: ChangeDetectionStrategy.OnPush,
|
|
3843
|
-
|
|
4037
|
+
args: [{ selector: 'igo-map-tool', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [
|
|
4038
|
+
MatTabsModule,
|
|
4039
|
+
LayerListComponent,
|
|
4040
|
+
LayerListBindingDirective,
|
|
4041
|
+
WorkspaceButtonComponent,
|
|
4042
|
+
ExportButtonComponent,
|
|
4043
|
+
OgcFilterButtonComponent,
|
|
4044
|
+
TimeFilterButtonComponent,
|
|
4045
|
+
TrackFeatureButtonComponent,
|
|
4046
|
+
MetadataButtonComponent,
|
|
4047
|
+
ContextListComponent,
|
|
4048
|
+
ContextListBindingDirective,
|
|
4049
|
+
TranslateModule
|
|
4050
|
+
], template: "<mat-tab-group>\r\n <mat-tab [label]=\"'igo.integration.tools.map' | translate\">\r\n <igo-layer-list\r\n [map]=\"map\"\r\n igoLayerListBinding\r\n [excludeBaseLayers]=\"excludeBaseLayers\"\r\n [layerFilterAndSortOptions]=\"layerFilterAndSortOptions\"\r\n [expandLegendOfVisibleLayers]=\"expandLegendOfVisibleLayers\"\r\n [toggleLegendOnVisibilityChange]=\"toggleLegendOnVisibilityChange\"\r\n [updateLegendOnResolutionChange]=\"updateLegendOnResolutionChange\"\r\n [queryBadge]=\"queryBadge\"\r\n >\r\n <ng-template #igoLayerItemToolbar let-layer=\"layer\">\r\n <!-- <igo-download-button [layer]=\"layer\"></igo-download-button> -->\r\n <igo-workspace-button [layer]=\"layer\"></igo-workspace-button>\r\n <igo-export-button\r\n [layer]=\"layer\"\r\n (click)=\"activateExport(layer)\"\r\n ></igo-export-button>\r\n <igo-ogc-filter-button\r\n [header]=\"ogcButton\"\r\n [layer]=\"layer\"\r\n ></igo-ogc-filter-button>\r\n <igo-time-filter-button\r\n [header]=\"timeButton\"\r\n [layer]=\"layer\"\r\n ></igo-time-filter-button>\r\n <igo-track-feature-button\r\n [trackFeature]=\"true\"\r\n [layer]=\"layer\"\r\n ></igo-track-feature-button>\r\n <igo-metadata-button [layer]=\"layer\"></igo-metadata-button>\r\n </ng-template>\r\n </igo-layer-list>\r\n </mat-tab>\r\n\r\n <mat-tab [label]=\"'igo.integration.tools.contexts' | translate\">\r\n <igo-context-list igoContextListBinding></igo-context-list>\r\n </mat-tab>\r\n</mat-tab-group>\r\n", styles: [":host ::ng-deep .mat-mdc-tab-body-content{overflow:hidden}\n"] }]
|
|
4051
|
+
}], ctorParameters: () => [{ type: MapState }, { type: ToolState }, { type: ImportExportState }], propDecorators: { toggleLegendOnVisibilityChange: [{
|
|
3844
4052
|
type: Input
|
|
3845
4053
|
}], expandLegendOfVisibleLayers: [{
|
|
3846
4054
|
type: Input
|
|
@@ -4085,8 +4293,8 @@ let MapToolsComponent = class MapToolsComponent {
|
|
|
4085
4293
|
}
|
|
4086
4294
|
return false;
|
|
4087
4295
|
}
|
|
4088
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4089
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: MapToolsComponent, selector: "igo-map-tools", inputs: { allowShowAllLegends: "allowShowAllLegends", showAllLegendsValue: "showAllLegendsValue", toggleLegendOnVisibilityChange: "toggleLegendOnVisibilityChange", expandLegendOfVisibleLayers: "expandLegendOfVisibleLayers", updateLegendOnResolutionChange: "updateLegendOnResolutionChange", selectedTabAtOpening: "selectedTabAtOpening", ogcButton: "ogcButton", timeButton: "timeButton", layerAdditionAllowed: "layerAdditionAllowed", layerListControls: "layerListControls", queryBadge: "queryBadge" }, viewQueries: [{ propertyName: "tabGroup", first: true, predicate: ["tabGroup"], descendants: true, static: true }], ngImport: i0, template: "<mat-tab-group\n #tabGroup\n [selectedIndex]=\"layerListToolState.selectedTab$ | async\"\n (selectedTabChange)=\"tabChanged($event)\"\n>\n <mat-tab [label]=\"'igo.integration.tools.layers' | translate\">\n <igo-layer-list\n *ngIf=\"(layers$ | async).length !== 0; else emptyLayers\"\n igoLayerListBinding\n [excludeBaseLayers]=\"excludeBaseLayers\"\n [layerFilterAndSortOptions]=\"layerFilterAndSortOptions\"\n [expandLegendOfVisibleLayers]=\"expandLegendOfVisibleLayers\"\n [toggleLegendOnVisibilityChange]=\"toggleLegendOnVisibilityChange\"\n [updateLegendOnResolutionChange]=\"updateLegendOnResolutionChange\"\n [floatLabel]=\"false\"\n [queryBadge]=\"queryBadge\"\n [map]=\"map\"\n (appliedFilterAndSort)=\"onLayerListChange($event)\"\n >\n <ng-template #igoLayerItemToolbar let-layer=\"layer\">\n <igo-style-modal-layer-button\n *ngIf=\"isStyleEditButton(layer)\"\n [layer]=\"layer\"\n ></igo-style-modal-layer-button>\n <igo-metadata-button [layer]=\"layer\"></igo-metadata-button>\n <igo-track-feature-button\n [trackFeature]=\"true\"\n [layer]=\"layer\"\n ></igo-track-feature-button>\n <igo-time-filter-button\n *ngIf=\"isTimeFilterButton(layer)\"\n [header]=\"timeButton\"\n [layer]=\"layer\"\n (click)=\"activateTimeFilter()\"\n ></igo-time-filter-button>\n <igo-ogc-filter-button\n *ngIf=\"isOGCFilterButton(layer)\"\n [header]=\"ogcButton\"\n [layer]=\"layer\"\n (click)=\"activateOgcFilter()\"\n ></igo-ogc-filter-button>\n <igo-export-button\n *ngIf=\"isExportButton(layer)\"\n [layer]=\"layer\"\n (click)=\"activateExport(layer)\"\n ></igo-export-button>\n <igo-workspace-button [layer]=\"layer\"></igo-workspace-button>\n </ng-template>\n </igo-layer-list>\n </mat-tab>\n\n <mat-tab [label]=\"'igo.integration.tools.legend' | translate\">\n <igo-layer-legend-list\n *ngIf=\"showAllLegend()\"\n igoLayerLegendListBinding\n [allowShowAllLegends]=\"allowShowAllLegends\"\n [showAllLegendsValue]=\"showAllLegendsValue$ | async\"\n (allLegendsShown)=\"onShowAllLegends($event)\"\n [excludeBaseLayers]=\"excludeBaseLayers\"\n [updateLegendOnResolutionChange]=\"updateLegendOnResolutionChange\"\n >\n </igo-layer-legend-list>\n <ng-template\n *ngIf=\"(layers$ | async).length !== 0; else emptyLayers\"\n ></ng-template>\n\n <p\n class=\"map-empty mat-typography\"\n *ngIf=\"\n !allowShowAllLegends &&\n (layers$ | async).length !== 0 &&\n (visibleOrInRangeLayers$ | async).length === 0\n \"\n >\n {{\n (visibleLayers$ | async).length\n ? ('igo.integration.mapTool.noLayersInRange' | translate)\n : ('igo.integration.mapTool.noLayersVisible' | translate)\n }}\n </p>\n </mat-tab>\n\n <ng-template #emptyLayers>\n <mat-list *ngIf=\"delayedShowEmptyMapContent\">\n <p class=\"map-empty mat-typography\">\n {{ 'igo.integration.mapTool.empty' | translate }}\n </p>\n <p\n *ngIf=\"\n layerAdditionAllowed &&\n (searchToolInToolbar || catalogToolInToolbar || contextToolInToolbar)\n \"\n class=\"map-empty mat-typography\"\n >\n {{ 'igo.integration.mapTool.customize' | translate }}\n </p>\n\n <mat-list-item *ngIf=\"layerAdditionAllowed && searchToolInToolbar\">\n <mat-icon matListItemIcon>\n <svg\n viewBox=\"0 0 24 24\"\n fit=\"\"\n height=\"100%\"\n width=\"100%\"\n preserveAspectRatio=\"xMidYMid meet\"\n focusable=\"false\"\n >\n <path\n 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\"\n ></path></svg\n ></mat-icon>\n <span\n matListItemTitle\n class=\"search-tool mat-typography\"\n (click)=\"searchEmit()\"\n >\n {{ 'igo.integration.mapTool.search-tool' | translate }}\n </span>\n </mat-list-item>\n <mat-list-item *ngIf=\"layerAdditionAllowed && catalogToolInToolbar\">\n <mat-icon matListItemIcon>\n <svg\n viewBox=\"0 0 24 24\"\n fit=\"\"\n height=\"100%\"\n width=\"100%\"\n preserveAspectRatio=\"xMidYMid meet\"\n focusable=\"false\"\n >\n <path\n 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\"\n ></path></svg\n ></mat-icon>\n <span\n matListItemTitle\n class=\"catalog-tool mat-typography\"\n (click)=\"catalogEmit()\"\n >\n {{ 'igo.integration.mapTool.catalog-tool' | translate }}\n </span>\n </mat-list-item>\n <mat-list-item *ngIf=\"layerAdditionAllowed && contextToolInToolbar\">\n <mat-icon matListItemIcon>\n <svg\n viewBox=\"0 0 24 24\"\n fit=\"\"\n height=\"100%\"\n width=\"100%\"\n preserveAspectRatio=\"xMidYMid meet\"\n focusable=\"false\"\n >\n <path\n 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\"\n ></path></svg\n ></mat-icon>\n <span\n matListItemTitle\n class=\"context-tool mat-typography\"\n (click)=\"contextEmit()\"\n >\n {{ 'igo.integration.mapTool.context-tool' | translate }}\n </span>\n </mat-list-item>\n </mat-list>\n </ng-template>\n</mat-tab-group>\n", styles: [":host mat-tab-group{height:100%}:host ::ng-deep .mat-mdc-tab-body-wrapper{flex:1}:host ::ng-deep .mat-tab-body{margin-top:8px}:host ::ng-deep .mat-mdc-tab-body-content{overflow:hidden}:host .map-empty,:host .search-tool,:host .catalog-tool,:host .context-tool{margin:10px}:host .map-empty{text-align:justify}:host .search-tool,:host .catalog-tool,:host .context-tool{cursor:pointer}:host mat-list mat-list-item h4{font-weight:700}:host mat-list-item ::ng-deep .mdc-list-item__primary-text{font-size:smaller}:host mat-list.mat-mdc-list-base mat-list-item.mat-mdc-list-item ::ng-deep div.mdc-list-item__content div.mdc-list-item__primary-text{padding-left:5px}\n"], dependencies: [{ kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i8$1.MatTab, selector: "mat-tab", inputs: ["disabled"], exportAs: ["matTab"] }, { kind: "component", type: i8$1.MatTabGroup, selector: "mat-tab-group", inputs: ["color", "disableRipple", "fitInkBarToContent", "mat-stretch-tabs"], exportAs: ["matTabGroup"] }, { kind: "component", type: i10$2.MatList, selector: "mat-list", exportAs: ["matList"] }, { kind: "component", type: i10$2.MatListItem, selector: "mat-list-item, a[mat-list-item], button[mat-list-item]", inputs: ["activated"], exportAs: ["matListItem"] }, { kind: "directive", type: i10$2.MatListItemIcon, selector: "[matListItemIcon]" }, { kind: "directive", type: i10$2.MatListItemTitle, selector: "[matListItemTitle]" }, { kind: "component", type: i7.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i1.LayerListComponent, selector: "igo-layer-list", inputs: ["layersAreAllVisible", "ogcButton", "timeButton", "map", "layers", "floatLabel", "layerFilterAndSortOptions", "excludeBaseLayers", "toggleLegendOnVisibilityChange", "expandLegendOfVisibleLayers", "updateLegendOnResolutionChange", "queryBadge"], outputs: ["appliedFilterAndSort"] }, { kind: "component", type: i1.LayerLegendListComponent, selector: "igo-layer-legend-list", inputs: ["layers", "excludeBaseLayers", "updateLegendOnResolutionChange", "allowShowAllLegends", "showAllLegendsValue"], outputs: ["allLegendsShown"] }, { kind: "directive", type: i1.LayerListBindingDirective, selector: "[igoLayerListBinding]" }, { kind: "directive", type: i1.LayerLegendListBindingDirective, selector: "[igoLayerLegendListBinding]" }, { kind: "component", type: i1.TrackFeatureButtonComponent, selector: "igo-track-feature-button", inputs: ["layer", "trackFeature"] }, { kind: "component", type: i1.MetadataButtonComponent, selector: "igo-metadata-button", inputs: ["layer", "color"] }, { kind: "component", type: i1.ExportButtonComponent, selector: "igo-export-button", inputs: ["layer", "color"] }, { kind: "component", type: i1.StyleModalLayerButtonComponent, selector: "igo-style-modal-layer-button", inputs: ["layer"] }, { kind: "component", type: i1.TimeFilterButtonComponent, selector: "igo-time-filter-button", inputs: ["layer", "map", "color", "header"] }, { kind: "component", type: i1.OgcFilterButtonComponent, selector: "igo-ogc-filter-button", inputs: ["layer", "map", "color", "header"] }, { kind: "component", type: WorkspaceButtonComponent, selector: "igo-workspace-button", inputs: ["layer", "color"] }, { kind: "pipe", type: i4.AsyncPipe, name: "async" }, { kind: "pipe", type: i9.TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
4296
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: MapToolsComponent, deps: [{ token: LayerListToolState }, { token: ToolState }, { token: MapState }, { token: i1.SearchSourceService }, { token: ImportExportState }], target: i0.ɵɵFactoryTarget.Component });
|
|
4297
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.2.1", type: MapToolsComponent, isStandalone: true, selector: "igo-map-tools", inputs: { allowShowAllLegends: "allowShowAllLegends", showAllLegendsValue: "showAllLegendsValue", toggleLegendOnVisibilityChange: "toggleLegendOnVisibilityChange", expandLegendOfVisibleLayers: "expandLegendOfVisibleLayers", updateLegendOnResolutionChange: "updateLegendOnResolutionChange", selectedTabAtOpening: "selectedTabAtOpening", ogcButton: "ogcButton", timeButton: "timeButton", layerAdditionAllowed: "layerAdditionAllowed", layerListControls: "layerListControls", queryBadge: "queryBadge" }, viewQueries: [{ propertyName: "tabGroup", first: true, predicate: ["tabGroup"], descendants: true, static: true }], ngImport: i0, template: "<mat-tab-group\r\n #tabGroup\r\n [selectedIndex]=\"layerListToolState.selectedTab$ | async\"\r\n (selectedTabChange)=\"tabChanged($event)\"\r\n>\r\n <mat-tab [label]=\"'igo.integration.tools.layers' | translate\">\r\n <igo-layer-list\r\n *ngIf=\"(layers$ | async).length !== 0; else emptyLayers\"\r\n igoLayerListBinding\r\n [excludeBaseLayers]=\"excludeBaseLayers\"\r\n [layerFilterAndSortOptions]=\"layerFilterAndSortOptions\"\r\n [expandLegendOfVisibleLayers]=\"expandLegendOfVisibleLayers\"\r\n [toggleLegendOnVisibilityChange]=\"toggleLegendOnVisibilityChange\"\r\n [updateLegendOnResolutionChange]=\"updateLegendOnResolutionChange\"\r\n [queryBadge]=\"queryBadge\"\r\n [map]=\"map\"\r\n (appliedFilterAndSort)=\"onLayerListChange($event)\"\r\n >\r\n <ng-template #igoLayerItemToolbar let-layer=\"layer\">\r\n <igo-style-modal-layer-button\r\n *ngIf=\"isStyleEditButton(layer)\"\r\n [layer]=\"layer\"\r\n ></igo-style-modal-layer-button>\r\n <igo-metadata-button [layer]=\"layer\"></igo-metadata-button>\r\n <igo-track-feature-button\r\n [trackFeature]=\"true\"\r\n [layer]=\"layer\"\r\n ></igo-track-feature-button>\r\n <igo-time-filter-button\r\n *ngIf=\"isTimeFilterButton(layer)\"\r\n [header]=\"timeButton\"\r\n [layer]=\"layer\"\r\n (click)=\"activateTimeFilter()\"\r\n ></igo-time-filter-button>\r\n <igo-ogc-filter-button\r\n *ngIf=\"isOGCFilterButton(layer)\"\r\n [header]=\"ogcButton\"\r\n [layer]=\"layer\"\r\n (click)=\"activateOgcFilter()\"\r\n ></igo-ogc-filter-button>\r\n <igo-export-button\r\n *ngIf=\"isExportButton(layer)\"\r\n [layer]=\"layer\"\r\n (click)=\"activateExport(layer)\"\r\n ></igo-export-button>\r\n <igo-workspace-button [layer]=\"layer\"></igo-workspace-button>\r\n </ng-template>\r\n </igo-layer-list>\r\n </mat-tab>\r\n\r\n <mat-tab [label]=\"'igo.integration.tools.legend' | translate\">\r\n <igo-layer-legend-list\r\n *ngIf=\"showAllLegend()\"\r\n igoLayerLegendListBinding\r\n [allowShowAllLegends]=\"allowShowAllLegends\"\r\n [showAllLegendsValue]=\"showAllLegendsValue$ | async\"\r\n (allLegendsShown)=\"onShowAllLegends($event)\"\r\n [excludeBaseLayers]=\"excludeBaseLayers\"\r\n [updateLegendOnResolutionChange]=\"updateLegendOnResolutionChange\"\r\n >\r\n </igo-layer-legend-list>\r\n <ng-template\r\n *ngIf=\"(layers$ | async).length !== 0; else emptyLayers\"\r\n ></ng-template>\r\n\r\n <p\r\n class=\"map-empty mat-typography\"\r\n *ngIf=\"\r\n !allowShowAllLegends &&\r\n (layers$ | async).length !== 0 &&\r\n (visibleOrInRangeLayers$ | async).length === 0\r\n \"\r\n >\r\n {{\r\n (visibleLayers$ | async).length\r\n ? ('igo.integration.mapTool.noLayersInRange' | translate)\r\n : ('igo.integration.mapTool.noLayersVisible' | translate)\r\n }}\r\n </p>\r\n </mat-tab>\r\n\r\n <ng-template #emptyLayers>\r\n <mat-list *ngIf=\"delayedShowEmptyMapContent\">\r\n <p class=\"map-empty mat-typography\">\r\n {{ 'igo.integration.mapTool.empty' | translate }}\r\n </p>\r\n <p\r\n *ngIf=\"\r\n layerAdditionAllowed &&\r\n (searchToolInToolbar || catalogToolInToolbar || contextToolInToolbar)\r\n \"\r\n class=\"map-empty mat-typography\"\r\n >\r\n {{ 'igo.integration.mapTool.customize' | translate }}\r\n </p>\r\n\r\n <mat-list-item *ngIf=\"layerAdditionAllowed && searchToolInToolbar\">\r\n <mat-icon matListItemIcon>\r\n <svg\r\n viewBox=\"0 0 24 24\"\r\n fit=\"\"\r\n height=\"100%\"\r\n width=\"100%\"\r\n preserveAspectRatio=\"xMidYMid meet\"\r\n focusable=\"false\"\r\n >\r\n <path\r\n 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\"\r\n ></path>\r\n </svg>\r\n </mat-icon>\r\n <span\r\n matListItemTitle\r\n class=\"search-tool mat-typography\"\r\n (click)=\"searchEmit()\"\r\n >\r\n {{ 'igo.integration.mapTool.search-tool' | translate }}\r\n </span>\r\n </mat-list-item>\r\n <mat-list-item *ngIf=\"layerAdditionAllowed && catalogToolInToolbar\">\r\n <mat-icon matListItemIcon>\r\n <svg\r\n viewBox=\"0 0 24 24\"\r\n fit=\"\"\r\n height=\"100%\"\r\n width=\"100%\"\r\n preserveAspectRatio=\"xMidYMid meet\"\r\n focusable=\"false\"\r\n >\r\n <path\r\n 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\"\r\n ></path>\r\n </svg>\r\n </mat-icon>\r\n <span\r\n matListItemTitle\r\n class=\"catalog-tool mat-typography\"\r\n (click)=\"catalogEmit()\"\r\n >\r\n {{ 'igo.integration.mapTool.catalog-tool' | translate }}\r\n </span>\r\n </mat-list-item>\r\n <mat-list-item *ngIf=\"layerAdditionAllowed && contextToolInToolbar\">\r\n <mat-icon matListItemIcon>\r\n <svg\r\n viewBox=\"0 0 24 24\"\r\n fit=\"\"\r\n height=\"100%\"\r\n width=\"100%\"\r\n preserveAspectRatio=\"xMidYMid meet\"\r\n focusable=\"false\"\r\n >\r\n <path\r\n 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\"\r\n ></path>\r\n </svg>\r\n </mat-icon>\r\n <span\r\n matListItemTitle\r\n class=\"context-tool mat-typography\"\r\n (click)=\"contextEmit()\"\r\n >\r\n {{ 'igo.integration.mapTool.context-tool' | translate }}\r\n </span>\r\n </mat-list-item>\r\n </mat-list>\r\n </ng-template>\r\n</mat-tab-group>\r\n", styles: [":host mat-tab-group{height:100%}:host ::ng-deep .mat-mdc-tab-body-wrapper{flex:1}:host ::ng-deep .mat-tab-body{margin-top:8px}:host ::ng-deep .mat-mdc-tab-body-content{overflow:hidden}:host .map-empty,:host .search-tool,:host .catalog-tool,:host .context-tool{margin:10px}:host .map-empty{text-align:justify}:host .search-tool,:host .catalog-tool,:host .context-tool{cursor:pointer}:host mat-list mat-list-item h4{font-weight:700}:host mat-list-item ::ng-deep .mdc-list-item__primary-text{font-size:smaller}:host mat-list.mat-mdc-list-base mat-list-item.mat-mdc-list-item ::ng-deep div.mdc-list-item__content div.mdc-list-item__primary-text{padding-left:5px}\n"], dependencies: [{ kind: "ngmodule", type: MatTabsModule }, { kind: "component", type: i5$2.MatTab, selector: "mat-tab", inputs: ["disabled", "label", "aria-label", "aria-labelledby", "labelClass", "bodyClass"], exportAs: ["matTab"] }, { kind: "component", type: i5$2.MatTabGroup, selector: "mat-tab-group", inputs: ["color", "fitInkBarToContent", "mat-stretch-tabs", "dynamicHeight", "selectedIndex", "headerPosition", "animationDuration", "contentTabIndex", "disablePagination", "disableRipple", "preserveContent", "backgroundColor"], outputs: ["selectedIndexChange", "focusChange", "animationDone", "selectedTabChange"], exportAs: ["matTabGroup"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: LayerListComponent, selector: "igo-layer-list", inputs: ["layersAreAllVisible", "ogcButton", "timeButton", "map", "layers", "floatLabel", "layerFilterAndSortOptions", "excludeBaseLayers", "toggleLegendOnVisibilityChange", "expandLegendOfVisibleLayers", "updateLegendOnResolutionChange", "queryBadge"], outputs: ["appliedFilterAndSort"] }, { kind: "directive", type: LayerListBindingDirective, selector: "[igoLayerListBinding]" }, { kind: "component", type: StyleModalLayerButtonComponent, selector: "igo-style-modal-layer-button", inputs: ["layer"] }, { kind: "component", type: MetadataButtonComponent, selector: "igo-metadata-button", inputs: ["layer", "color"] }, { kind: "component", type: TrackFeatureButtonComponent, selector: "igo-track-feature-button", inputs: ["layer", "trackFeature"] }, { kind: "component", type: TimeFilterButtonComponent, selector: "igo-time-filter-button", inputs: ["layer", "map", "color", "header"] }, { kind: "component", type: OgcFilterButtonComponent, selector: "igo-ogc-filter-button", inputs: ["layer", "map", "color", "header"] }, { kind: "component", type: ExportButtonComponent, selector: "igo-export-button", inputs: ["layer", "color"] }, { kind: "component", type: WorkspaceButtonComponent, selector: "igo-workspace-button", inputs: ["layer", "color"] }, { kind: "component", type: LayerLegendListComponent, selector: "igo-layer-legend-list", inputs: ["layers", "excludeBaseLayers", "updateLegendOnResolutionChange", "allowShowAllLegends", "showAllLegendsValue"], outputs: ["allLegendsShown"] }, { kind: "directive", type: LayerLegendListBindingDirective, selector: "[igoLayerLegendListBinding]" }, { kind: "ngmodule", type: MatListModule }, { kind: "component", type: i10$1.MatList, selector: "mat-list", exportAs: ["matList"] }, { kind: "component", type: i10$1.MatListItem, selector: "mat-list-item, a[mat-list-item], button[mat-list-item]", inputs: ["activated"], exportAs: ["matListItem"] }, { kind: "directive", type: i10$1.MatListItemIcon, selector: "[matListItemIcon]" }, { kind: "directive", type: i10$1.MatListItemTitle, selector: "[matListItemTitle]" }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i7.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i7$2.TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
4090
4298
|
};
|
|
4091
4299
|
MapToolsComponent = __decorate([
|
|
4092
4300
|
ToolComponent({
|
|
@@ -4100,10 +4308,28 @@ MapToolsComponent = __decorate([
|
|
|
4100
4308
|
SearchSourceService,
|
|
4101
4309
|
ImportExportState])
|
|
4102
4310
|
], MapToolsComponent);
|
|
4103
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4311
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: MapToolsComponent, decorators: [{
|
|
4104
4312
|
type: Component,
|
|
4105
|
-
args: [{ selector: 'igo-map-tools', changeDetection: ChangeDetectionStrategy.OnPush,
|
|
4106
|
-
|
|
4313
|
+
args: [{ selector: 'igo-map-tools', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [
|
|
4314
|
+
MatTabsModule,
|
|
4315
|
+
NgIf,
|
|
4316
|
+
LayerListComponent,
|
|
4317
|
+
LayerListBindingDirective,
|
|
4318
|
+
StyleModalLayerButtonComponent,
|
|
4319
|
+
MetadataButtonComponent,
|
|
4320
|
+
TrackFeatureButtonComponent,
|
|
4321
|
+
TimeFilterButtonComponent,
|
|
4322
|
+
OgcFilterButtonComponent,
|
|
4323
|
+
ExportButtonComponent,
|
|
4324
|
+
WorkspaceButtonComponent,
|
|
4325
|
+
LayerLegendListComponent,
|
|
4326
|
+
LayerLegendListBindingDirective,
|
|
4327
|
+
MatListModule,
|
|
4328
|
+
MatIconModule,
|
|
4329
|
+
AsyncPipe,
|
|
4330
|
+
TranslateModule
|
|
4331
|
+
], template: "<mat-tab-group\r\n #tabGroup\r\n [selectedIndex]=\"layerListToolState.selectedTab$ | async\"\r\n (selectedTabChange)=\"tabChanged($event)\"\r\n>\r\n <mat-tab [label]=\"'igo.integration.tools.layers' | translate\">\r\n <igo-layer-list\r\n *ngIf=\"(layers$ | async).length !== 0; else emptyLayers\"\r\n igoLayerListBinding\r\n [excludeBaseLayers]=\"excludeBaseLayers\"\r\n [layerFilterAndSortOptions]=\"layerFilterAndSortOptions\"\r\n [expandLegendOfVisibleLayers]=\"expandLegendOfVisibleLayers\"\r\n [toggleLegendOnVisibilityChange]=\"toggleLegendOnVisibilityChange\"\r\n [updateLegendOnResolutionChange]=\"updateLegendOnResolutionChange\"\r\n [queryBadge]=\"queryBadge\"\r\n [map]=\"map\"\r\n (appliedFilterAndSort)=\"onLayerListChange($event)\"\r\n >\r\n <ng-template #igoLayerItemToolbar let-layer=\"layer\">\r\n <igo-style-modal-layer-button\r\n *ngIf=\"isStyleEditButton(layer)\"\r\n [layer]=\"layer\"\r\n ></igo-style-modal-layer-button>\r\n <igo-metadata-button [layer]=\"layer\"></igo-metadata-button>\r\n <igo-track-feature-button\r\n [trackFeature]=\"true\"\r\n [layer]=\"layer\"\r\n ></igo-track-feature-button>\r\n <igo-time-filter-button\r\n *ngIf=\"isTimeFilterButton(layer)\"\r\n [header]=\"timeButton\"\r\n [layer]=\"layer\"\r\n (click)=\"activateTimeFilter()\"\r\n ></igo-time-filter-button>\r\n <igo-ogc-filter-button\r\n *ngIf=\"isOGCFilterButton(layer)\"\r\n [header]=\"ogcButton\"\r\n [layer]=\"layer\"\r\n (click)=\"activateOgcFilter()\"\r\n ></igo-ogc-filter-button>\r\n <igo-export-button\r\n *ngIf=\"isExportButton(layer)\"\r\n [layer]=\"layer\"\r\n (click)=\"activateExport(layer)\"\r\n ></igo-export-button>\r\n <igo-workspace-button [layer]=\"layer\"></igo-workspace-button>\r\n </ng-template>\r\n </igo-layer-list>\r\n </mat-tab>\r\n\r\n <mat-tab [label]=\"'igo.integration.tools.legend' | translate\">\r\n <igo-layer-legend-list\r\n *ngIf=\"showAllLegend()\"\r\n igoLayerLegendListBinding\r\n [allowShowAllLegends]=\"allowShowAllLegends\"\r\n [showAllLegendsValue]=\"showAllLegendsValue$ | async\"\r\n (allLegendsShown)=\"onShowAllLegends($event)\"\r\n [excludeBaseLayers]=\"excludeBaseLayers\"\r\n [updateLegendOnResolutionChange]=\"updateLegendOnResolutionChange\"\r\n >\r\n </igo-layer-legend-list>\r\n <ng-template\r\n *ngIf=\"(layers$ | async).length !== 0; else emptyLayers\"\r\n ></ng-template>\r\n\r\n <p\r\n class=\"map-empty mat-typography\"\r\n *ngIf=\"\r\n !allowShowAllLegends &&\r\n (layers$ | async).length !== 0 &&\r\n (visibleOrInRangeLayers$ | async).length === 0\r\n \"\r\n >\r\n {{\r\n (visibleLayers$ | async).length\r\n ? ('igo.integration.mapTool.noLayersInRange' | translate)\r\n : ('igo.integration.mapTool.noLayersVisible' | translate)\r\n }}\r\n </p>\r\n </mat-tab>\r\n\r\n <ng-template #emptyLayers>\r\n <mat-list *ngIf=\"delayedShowEmptyMapContent\">\r\n <p class=\"map-empty mat-typography\">\r\n {{ 'igo.integration.mapTool.empty' | translate }}\r\n </p>\r\n <p\r\n *ngIf=\"\r\n layerAdditionAllowed &&\r\n (searchToolInToolbar || catalogToolInToolbar || contextToolInToolbar)\r\n \"\r\n class=\"map-empty mat-typography\"\r\n >\r\n {{ 'igo.integration.mapTool.customize' | translate }}\r\n </p>\r\n\r\n <mat-list-item *ngIf=\"layerAdditionAllowed && searchToolInToolbar\">\r\n <mat-icon matListItemIcon>\r\n <svg\r\n viewBox=\"0 0 24 24\"\r\n fit=\"\"\r\n height=\"100%\"\r\n width=\"100%\"\r\n preserveAspectRatio=\"xMidYMid meet\"\r\n focusable=\"false\"\r\n >\r\n <path\r\n 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\"\r\n ></path>\r\n </svg>\r\n </mat-icon>\r\n <span\r\n matListItemTitle\r\n class=\"search-tool mat-typography\"\r\n (click)=\"searchEmit()\"\r\n >\r\n {{ 'igo.integration.mapTool.search-tool' | translate }}\r\n </span>\r\n </mat-list-item>\r\n <mat-list-item *ngIf=\"layerAdditionAllowed && catalogToolInToolbar\">\r\n <mat-icon matListItemIcon>\r\n <svg\r\n viewBox=\"0 0 24 24\"\r\n fit=\"\"\r\n height=\"100%\"\r\n width=\"100%\"\r\n preserveAspectRatio=\"xMidYMid meet\"\r\n focusable=\"false\"\r\n >\r\n <path\r\n 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\"\r\n ></path>\r\n </svg>\r\n </mat-icon>\r\n <span\r\n matListItemTitle\r\n class=\"catalog-tool mat-typography\"\r\n (click)=\"catalogEmit()\"\r\n >\r\n {{ 'igo.integration.mapTool.catalog-tool' | translate }}\r\n </span>\r\n </mat-list-item>\r\n <mat-list-item *ngIf=\"layerAdditionAllowed && contextToolInToolbar\">\r\n <mat-icon matListItemIcon>\r\n <svg\r\n viewBox=\"0 0 24 24\"\r\n fit=\"\"\r\n height=\"100%\"\r\n width=\"100%\"\r\n preserveAspectRatio=\"xMidYMid meet\"\r\n focusable=\"false\"\r\n >\r\n <path\r\n 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\"\r\n ></path>\r\n </svg>\r\n </mat-icon>\r\n <span\r\n matListItemTitle\r\n class=\"context-tool mat-typography\"\r\n (click)=\"contextEmit()\"\r\n >\r\n {{ 'igo.integration.mapTool.context-tool' | translate }}\r\n </span>\r\n </mat-list-item>\r\n </mat-list>\r\n </ng-template>\r\n</mat-tab-group>\r\n", styles: [":host mat-tab-group{height:100%}:host ::ng-deep .mat-mdc-tab-body-wrapper{flex:1}:host ::ng-deep .mat-tab-body{margin-top:8px}:host ::ng-deep .mat-mdc-tab-body-content{overflow:hidden}:host .map-empty,:host .search-tool,:host .catalog-tool,:host .context-tool{margin:10px}:host .map-empty{text-align:justify}:host .search-tool,:host .catalog-tool,:host .context-tool{cursor:pointer}:host mat-list mat-list-item h4{font-weight:700}:host mat-list-item ::ng-deep .mdc-list-item__primary-text{font-size:smaller}:host mat-list.mat-mdc-list-base mat-list-item.mat-mdc-list-item ::ng-deep div.mdc-list-item__content div.mdc-list-item__primary-text{padding-left:5px}\n"] }]
|
|
4332
|
+
}], ctorParameters: () => [{ type: LayerListToolState }, { type: ToolState }, { type: MapState }, { type: i1.SearchSourceService }, { type: ImportExportState }], propDecorators: { allowShowAllLegends: [{
|
|
4107
4333
|
type: Input
|
|
4108
4334
|
}], showAllLegendsValue: [{
|
|
4109
4335
|
type: Input
|
|
@@ -4130,6 +4356,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
4130
4356
|
args: ['tabGroup', { static: true }]
|
|
4131
4357
|
}] } });
|
|
4132
4358
|
|
|
4359
|
+
/**
|
|
4360
|
+
* @deprecated import the ImportExportToolComponent directly or INTEGRATION_MAP_DIRECTIVES for the set
|
|
4361
|
+
*/
|
|
4133
4362
|
class IgoAppMapModule {
|
|
4134
4363
|
static forRoot() {
|
|
4135
4364
|
return {
|
|
@@ -4137,121 +4366,35 @@ class IgoAppMapModule {
|
|
|
4137
4366
|
providers: []
|
|
4138
4367
|
};
|
|
4139
4368
|
}
|
|
4140
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4141
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
4369
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: IgoAppMapModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4370
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.2.1", ngImport: i0, type: IgoAppMapModule, imports: [AdvancedMapToolComponent,
|
|
4142
4371
|
MapProximityToolComponent,
|
|
4143
4372
|
MapToolComponent,
|
|
4144
4373
|
MapToolsComponent,
|
|
4145
4374
|
MapDetailsToolComponent,
|
|
4146
|
-
MapLegendToolComponent,
|
|
4147
|
-
|
|
4148
|
-
|
|
4149
|
-
|
|
4150
|
-
|
|
4151
|
-
|
|
4152
|
-
|
|
4153
|
-
MatOptionModule,
|
|
4154
|
-
MatFormFieldModule,
|
|
4155
|
-
MatInputModule,
|
|
4156
|
-
MatCheckboxModule,
|
|
4157
|
-
IgoSpinnerModule,
|
|
4158
|
-
CommonModule,
|
|
4159
|
-
MatTabsModule,
|
|
4160
|
-
MatListModule,
|
|
4161
|
-
MatIconModule,
|
|
4162
|
-
IgoLanguageModule,
|
|
4163
|
-
IgoLayerModule,
|
|
4164
|
-
IgoMetadataModule,
|
|
4165
|
-
IgoDownloadModule,
|
|
4166
|
-
IgoImportExportModule,
|
|
4167
|
-
IgoStyleModule,
|
|
4168
|
-
IgoFilterModule,
|
|
4169
|
-
MatRadioModule,
|
|
4170
|
-
IgoContextModule,
|
|
4171
|
-
IgoAppWorkspaceModule,
|
|
4172
|
-
MatSlideToggleModule,
|
|
4173
|
-
MatMenuModule,
|
|
4174
|
-
MatButtonModule,
|
|
4175
|
-
MatTooltipModule,
|
|
4176
|
-
IgoEntityTableModule], exports: [AdvancedMapToolComponent,
|
|
4375
|
+
MapLegendToolComponent], exports: [AdvancedMapToolComponent,
|
|
4376
|
+
MapProximityToolComponent,
|
|
4377
|
+
MapToolComponent,
|
|
4378
|
+
MapToolsComponent,
|
|
4379
|
+
MapDetailsToolComponent,
|
|
4380
|
+
MapLegendToolComponent] });
|
|
4381
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: IgoAppMapModule, imports: [AdvancedMapToolComponent,
|
|
4177
4382
|
MapProximityToolComponent,
|
|
4178
4383
|
MapToolComponent,
|
|
4179
4384
|
MapToolsComponent,
|
|
4180
4385
|
MapDetailsToolComponent,
|
|
4181
4386
|
MapLegendToolComponent] });
|
|
4182
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IgoAppMapModule, imports: [FormsModule,
|
|
4183
|
-
ReactiveFormsModule,
|
|
4184
|
-
MatButtonToggleModule,
|
|
4185
|
-
MatDividerModule,
|
|
4186
|
-
MatSelectModule,
|
|
4187
|
-
MatOptionModule,
|
|
4188
|
-
MatFormFieldModule,
|
|
4189
|
-
MatInputModule,
|
|
4190
|
-
MatCheckboxModule,
|
|
4191
|
-
IgoSpinnerModule,
|
|
4192
|
-
CommonModule,
|
|
4193
|
-
MatTabsModule,
|
|
4194
|
-
MatListModule,
|
|
4195
|
-
MatIconModule,
|
|
4196
|
-
IgoLanguageModule,
|
|
4197
|
-
IgoLayerModule,
|
|
4198
|
-
IgoMetadataModule,
|
|
4199
|
-
IgoDownloadModule,
|
|
4200
|
-
IgoImportExportModule,
|
|
4201
|
-
IgoStyleModule,
|
|
4202
|
-
IgoFilterModule,
|
|
4203
|
-
MatRadioModule,
|
|
4204
|
-
IgoContextModule,
|
|
4205
|
-
IgoAppWorkspaceModule,
|
|
4206
|
-
MatSlideToggleModule,
|
|
4207
|
-
MatMenuModule,
|
|
4208
|
-
MatButtonModule,
|
|
4209
|
-
MatTooltipModule,
|
|
4210
|
-
IgoEntityTableModule] });
|
|
4211
4387
|
}
|
|
4212
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4388
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: IgoAppMapModule, decorators: [{
|
|
4213
4389
|
type: NgModule,
|
|
4214
4390
|
args: [{
|
|
4215
4391
|
imports: [
|
|
4216
|
-
FormsModule,
|
|
4217
|
-
ReactiveFormsModule,
|
|
4218
|
-
MatButtonToggleModule,
|
|
4219
|
-
MatDividerModule,
|
|
4220
|
-
MatSelectModule,
|
|
4221
|
-
MatOptionModule,
|
|
4222
|
-
MatFormFieldModule,
|
|
4223
|
-
MatInputModule,
|
|
4224
|
-
MatCheckboxModule,
|
|
4225
|
-
IgoSpinnerModule,
|
|
4226
|
-
CommonModule,
|
|
4227
|
-
MatTabsModule,
|
|
4228
|
-
MatListModule,
|
|
4229
|
-
MatIconModule,
|
|
4230
|
-
IgoLanguageModule,
|
|
4231
|
-
IgoLayerModule,
|
|
4232
|
-
IgoMetadataModule,
|
|
4233
|
-
IgoDownloadModule,
|
|
4234
|
-
IgoImportExportModule,
|
|
4235
|
-
IgoStyleModule,
|
|
4236
|
-
IgoFilterModule,
|
|
4237
|
-
MatRadioModule,
|
|
4238
|
-
IgoContextModule,
|
|
4239
|
-
IgoAppWorkspaceModule,
|
|
4240
|
-
MatSlideToggleModule,
|
|
4241
|
-
MatMenuModule,
|
|
4242
|
-
MatButtonModule,
|
|
4243
|
-
MatTooltipModule,
|
|
4244
|
-
IgoEntityTableModule
|
|
4245
|
-
],
|
|
4246
|
-
declarations: [
|
|
4247
4392
|
AdvancedMapToolComponent,
|
|
4248
4393
|
MapProximityToolComponent,
|
|
4249
4394
|
MapToolComponent,
|
|
4250
4395
|
MapToolsComponent,
|
|
4251
4396
|
MapDetailsToolComponent,
|
|
4252
|
-
MapLegendToolComponent
|
|
4253
|
-
AdvancedSwipeComponent,
|
|
4254
|
-
AdvancedCoordinatesComponent
|
|
4397
|
+
MapLegendToolComponent
|
|
4255
4398
|
],
|
|
4256
4399
|
exports: [
|
|
4257
4400
|
AdvancedMapToolComponent,
|
|
@@ -4260,8 +4403,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
4260
4403
|
MapToolsComponent,
|
|
4261
4404
|
MapDetailsToolComponent,
|
|
4262
4405
|
MapLegendToolComponent
|
|
4263
|
-
]
|
|
4264
|
-
schemas: [CUSTOM_ELEMENTS_SCHEMA]
|
|
4406
|
+
]
|
|
4265
4407
|
}]
|
|
4266
4408
|
}] });
|
|
4267
4409
|
|
|
@@ -4290,15 +4432,15 @@ class MeasureState {
|
|
|
4290
4432
|
}
|
|
4291
4433
|
});
|
|
4292
4434
|
}
|
|
4293
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4294
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4435
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: MeasureState, deps: [{ token: MapState }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4436
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: MeasureState, providedIn: 'root' });
|
|
4295
4437
|
}
|
|
4296
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4438
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: MeasureState, decorators: [{
|
|
4297
4439
|
type: Injectable,
|
|
4298
4440
|
args: [{
|
|
4299
4441
|
providedIn: 'root'
|
|
4300
4442
|
}]
|
|
4301
|
-
}], ctorParameters:
|
|
4443
|
+
}], ctorParameters: () => [{ type: MapState }] });
|
|
4302
4444
|
|
|
4303
4445
|
/**
|
|
4304
4446
|
* Tool to measure lengths and areas
|
|
@@ -4324,8 +4466,8 @@ let MeasurerToolComponent = class MeasurerToolComponent {
|
|
|
4324
4466
|
this.measureState = measureState;
|
|
4325
4467
|
this.mapState = mapState;
|
|
4326
4468
|
}
|
|
4327
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4328
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
4469
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: MeasurerToolComponent, deps: [{ token: MeasureState }, { token: MapState }], target: i0.ɵɵFactoryTarget.Component });
|
|
4470
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.2.1", type: MeasurerToolComponent, isStandalone: true, selector: "igo-measurer-tool", ngImport: i0, template: "<igo-measurer [store]=\"store\" [map]=\"map\"></igo-measurer>\n", dependencies: [{ kind: "component", type: MeasurerComponent, selector: "igo-measurer", inputs: ["map", "store", "activeMeasureType", "minSegmentLength"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
4329
4471
|
};
|
|
4330
4472
|
MeasurerToolComponent = __decorate([
|
|
4331
4473
|
ToolComponent({
|
|
@@ -4336,39 +4478,38 @@ MeasurerToolComponent = __decorate([
|
|
|
4336
4478
|
__metadata("design:paramtypes", [MeasureState,
|
|
4337
4479
|
MapState])
|
|
4338
4480
|
], MeasurerToolComponent);
|
|
4339
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4481
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: MeasurerToolComponent, decorators: [{
|
|
4340
4482
|
type: Component,
|
|
4341
|
-
args: [{ selector: 'igo-measurer-tool', changeDetection: ChangeDetectionStrategy.OnPush, template: "<igo-measurer [store]=\"store\" [map]=\"map\"></igo-measurer>\n" }]
|
|
4342
|
-
}], ctorParameters:
|
|
4483
|
+
args: [{ selector: 'igo-measurer-tool', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [MeasurerComponent], template: "<igo-measurer [store]=\"store\" [map]=\"map\"></igo-measurer>\n" }]
|
|
4484
|
+
}], ctorParameters: () => [{ type: MeasureState }, { type: MapState }] });
|
|
4343
4485
|
|
|
4344
4486
|
/**
|
|
4345
|
-
* @
|
|
4487
|
+
* @deprecated import the MeasurerToolComponent directly
|
|
4346
4488
|
*/
|
|
4347
4489
|
class IgoAppMeasurerToolModule {
|
|
4348
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4349
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
4350
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
4490
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: IgoAppMeasurerToolModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4491
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.2.1", ngImport: i0, type: IgoAppMeasurerToolModule, imports: [MeasurerToolComponent], exports: [MeasurerToolComponent] });
|
|
4492
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: IgoAppMeasurerToolModule, imports: [MeasurerToolComponent] });
|
|
4351
4493
|
}
|
|
4352
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4494
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: IgoAppMeasurerToolModule, decorators: [{
|
|
4353
4495
|
type: NgModule,
|
|
4354
4496
|
args: [{
|
|
4355
|
-
imports: [
|
|
4356
|
-
|
|
4357
|
-
exports: [MeasurerToolComponent],
|
|
4358
|
-
schemas: [CUSTOM_ELEMENTS_SCHEMA]
|
|
4497
|
+
imports: [MeasurerToolComponent],
|
|
4498
|
+
exports: [MeasurerToolComponent]
|
|
4359
4499
|
}]
|
|
4360
4500
|
}] });
|
|
4361
4501
|
|
|
4502
|
+
/**
|
|
4503
|
+
* @deprecated import the MeasurerToolComponent directly
|
|
4504
|
+
*/
|
|
4362
4505
|
class IgoAppMeasureModule {
|
|
4363
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4364
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
4365
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
4506
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: IgoAppMeasureModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4507
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.2.1", ngImport: i0, type: IgoAppMeasureModule, exports: [IgoAppMeasurerToolModule] });
|
|
4508
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: IgoAppMeasureModule, imports: [IgoAppMeasurerToolModule] });
|
|
4366
4509
|
}
|
|
4367
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4510
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: IgoAppMeasureModule, decorators: [{
|
|
4368
4511
|
type: NgModule,
|
|
4369
4512
|
args: [{
|
|
4370
|
-
imports: [],
|
|
4371
|
-
declarations: [],
|
|
4372
4513
|
exports: [IgoAppMeasurerToolModule]
|
|
4373
4514
|
}]
|
|
4374
4515
|
}] });
|
|
@@ -4381,8 +4522,8 @@ let PrintToolComponent = class PrintToolComponent {
|
|
|
4381
4522
|
constructor(mapState) {
|
|
4382
4523
|
this.mapState = mapState;
|
|
4383
4524
|
}
|
|
4384
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4385
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
4525
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: PrintToolComponent, deps: [{ token: MapState }], target: i0.ɵɵFactoryTarget.Component });
|
|
4526
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.2.1", type: PrintToolComponent, isStandalone: true, selector: "igo-print-tool", ngImport: i0, template: "<igo-print [map]=\"map\"></igo-print>\n", dependencies: [{ kind: "component", type: PrintComponent, selector: "igo-print", inputs: ["map", "outputFormat", "paperFormat", "orientation", "imageFormat", "legendPosition", "resolution"] }] });
|
|
4386
4527
|
};
|
|
4387
4528
|
PrintToolComponent = __decorate([
|
|
4388
4529
|
ToolComponent({
|
|
@@ -4392,11 +4533,14 @@ PrintToolComponent = __decorate([
|
|
|
4392
4533
|
}),
|
|
4393
4534
|
__metadata("design:paramtypes", [MapState])
|
|
4394
4535
|
], PrintToolComponent);
|
|
4395
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4536
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: PrintToolComponent, decorators: [{
|
|
4396
4537
|
type: Component,
|
|
4397
|
-
args: [{ selector: 'igo-print-tool', template: "<igo-print [map]=\"map\"></igo-print>\n" }]
|
|
4398
|
-
}], ctorParameters:
|
|
4538
|
+
args: [{ selector: 'igo-print-tool', standalone: true, imports: [PrintComponent], template: "<igo-print [map]=\"map\"></igo-print>\n" }]
|
|
4539
|
+
}], ctorParameters: () => [{ type: MapState }] });
|
|
4399
4540
|
|
|
4541
|
+
/**
|
|
4542
|
+
* @deprecated import the PrintToolComponent directly
|
|
4543
|
+
*/
|
|
4400
4544
|
class IgoAppPrintModule {
|
|
4401
4545
|
static forRoot() {
|
|
4402
4546
|
return {
|
|
@@ -4404,20 +4548,27 @@ class IgoAppPrintModule {
|
|
|
4404
4548
|
providers: []
|
|
4405
4549
|
};
|
|
4406
4550
|
}
|
|
4407
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4408
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
4409
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
4551
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: IgoAppPrintModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4552
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.2.1", ngImport: i0, type: IgoAppPrintModule, imports: [PrintToolComponent], exports: [PrintToolComponent] });
|
|
4553
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: IgoAppPrintModule, imports: [PrintToolComponent] });
|
|
4410
4554
|
}
|
|
4411
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4555
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: IgoAppPrintModule, decorators: [{
|
|
4412
4556
|
type: NgModule,
|
|
4413
4557
|
args: [{
|
|
4414
|
-
imports: [
|
|
4415
|
-
|
|
4416
|
-
exports: [PrintToolComponent],
|
|
4417
|
-
schemas: [CUSTOM_ELEMENTS_SCHEMA]
|
|
4558
|
+
imports: [PrintToolComponent],
|
|
4559
|
+
exports: [PrintToolComponent]
|
|
4418
4560
|
}]
|
|
4419
4561
|
}] });
|
|
4420
4562
|
|
|
4563
|
+
const INTEGRATION_MAP_DIRECTIVES = [
|
|
4564
|
+
AdvancedMapToolComponent,
|
|
4565
|
+
MapProximityToolComponent,
|
|
4566
|
+
MapToolComponent,
|
|
4567
|
+
MapToolsComponent,
|
|
4568
|
+
MapDetailsToolComponent,
|
|
4569
|
+
MapLegendToolComponent
|
|
4570
|
+
];
|
|
4571
|
+
|
|
4421
4572
|
/**
|
|
4422
4573
|
* Service that holds the state of the search module
|
|
4423
4574
|
*/
|
|
@@ -4433,6 +4584,15 @@ class SearchState {
|
|
|
4433
4584
|
searchOverlayStyleFocus = {};
|
|
4434
4585
|
focusedOrResolution$$;
|
|
4435
4586
|
selectedOrResolution$$;
|
|
4587
|
+
/**
|
|
4588
|
+
* Default feature motion are:
|
|
4589
|
+
* on selection = FeatureMotion.Default and
|
|
4590
|
+
* on focus = FeatureMotion.None
|
|
4591
|
+
*/
|
|
4592
|
+
featureMotion = {
|
|
4593
|
+
selected: FeatureMotion.Default,
|
|
4594
|
+
focus: FeatureMotion.None
|
|
4595
|
+
};
|
|
4436
4596
|
searchTermSplitter$ = new BehaviorSubject('|');
|
|
4437
4597
|
searchTerm$ = new BehaviorSubject(undefined);
|
|
4438
4598
|
searchType$ = new BehaviorSubject(undefined);
|
|
@@ -4541,15 +4701,15 @@ class SearchState {
|
|
|
4541
4701
|
this.storageService.set('searchResultsGeometryEnabled', value);
|
|
4542
4702
|
this.searchResultsGeometryEnabled$.next(value);
|
|
4543
4703
|
}
|
|
4544
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4545
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4704
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: SearchState, deps: [{ token: i1.SearchSourceService }, { token: i2.StorageService }, { token: WorkspaceState }, { token: i2.ConfigService }, { token: MapState }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4705
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: SearchState, providedIn: 'root' });
|
|
4546
4706
|
}
|
|
4547
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4707
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: SearchState, decorators: [{
|
|
4548
4708
|
type: Injectable,
|
|
4549
4709
|
args: [{
|
|
4550
4710
|
providedIn: 'root'
|
|
4551
4711
|
}]
|
|
4552
|
-
}], ctorParameters:
|
|
4712
|
+
}], ctorParameters: () => [{ type: i1.SearchSourceService }, { type: i2.StorageService }, { type: WorkspaceState }, { type: i2.ConfigService }, { type: MapState }] });
|
|
4553
4713
|
|
|
4554
4714
|
class SearchBarBindingDirective {
|
|
4555
4715
|
component;
|
|
@@ -4597,17 +4757,18 @@ class SearchBarBindingDirective {
|
|
|
4597
4757
|
this.searchState.setSearchType(searchType);
|
|
4598
4758
|
}
|
|
4599
4759
|
}
|
|
4600
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4601
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
4760
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: SearchBarBindingDirective, deps: [{ token: i1.SearchBarComponent, self: true }, { token: SearchState }], target: i0.ɵɵFactoryTarget.Directive });
|
|
4761
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.2.1", type: SearchBarBindingDirective, isStandalone: true, selector: "[igoSearchBarBinding]", host: { listeners: { "searchTermChange": "onSearchTermChange($event)", "searchTypeChange": "onSearchTypeChange($event)" } }, ngImport: i0 });
|
|
4602
4762
|
}
|
|
4603
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4763
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: SearchBarBindingDirective, decorators: [{
|
|
4604
4764
|
type: Directive,
|
|
4605
4765
|
args: [{
|
|
4606
|
-
selector: '[igoSearchBarBinding]'
|
|
4766
|
+
selector: '[igoSearchBarBinding]',
|
|
4767
|
+
standalone: true
|
|
4607
4768
|
}]
|
|
4608
|
-
}], ctorParameters:
|
|
4769
|
+
}], ctorParameters: () => [{ type: i1.SearchBarComponent, decorators: [{
|
|
4609
4770
|
type: Self
|
|
4610
|
-
}] }, { type: SearchState }]
|
|
4771
|
+
}] }, { type: SearchState }], propDecorators: { onSearchTermChange: [{
|
|
4611
4772
|
type: HostListener,
|
|
4612
4773
|
args: ['searchTermChange', ['$event']]
|
|
4613
4774
|
}], onSearchTypeChange: [{
|
|
@@ -4615,23 +4776,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
4615
4776
|
args: ['searchTypeChange', ['$event']]
|
|
4616
4777
|
}] } });
|
|
4617
4778
|
|
|
4618
|
-
/**
|
|
4619
|
-
* @ignore
|
|
4620
|
-
*/
|
|
4621
|
-
class IgoAppSearchBarModule {
|
|
4622
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IgoAppSearchBarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4623
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: IgoAppSearchBarModule, declarations: [SearchBarBindingDirective], imports: [IgoSearchModule], exports: [SearchBarBindingDirective] });
|
|
4624
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IgoAppSearchBarModule, imports: [IgoSearchModule] });
|
|
4625
|
-
}
|
|
4626
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IgoAppSearchBarModule, decorators: [{
|
|
4627
|
-
type: NgModule,
|
|
4628
|
-
args: [{
|
|
4629
|
-
imports: [IgoSearchModule],
|
|
4630
|
-
declarations: [SearchBarBindingDirective],
|
|
4631
|
-
exports: [SearchBarBindingDirective]
|
|
4632
|
-
}]
|
|
4633
|
-
}] });
|
|
4634
|
-
|
|
4635
4779
|
/**
|
|
4636
4780
|
* Tool to browse the search results
|
|
4637
4781
|
*/
|
|
@@ -4850,7 +4994,7 @@ let SearchResultsToolComponent = class SearchResultsToolComponent {
|
|
|
4850
4994
|
}
|
|
4851
4995
|
abstractResult.meta.style = computedStyle;
|
|
4852
4996
|
abstractResult.meta.style.setZIndex(2000 + zIndexOffset);
|
|
4853
|
-
this.map.searchResultsOverlay.addFeature(abstractResult,
|
|
4997
|
+
this.map.searchResultsOverlay.addFeature(abstractResult, this.searchState.featureMotion.focus);
|
|
4854
4998
|
if (trigger === 'focused') {
|
|
4855
4999
|
this.abstractFocusedResult = abstractResult;
|
|
4856
5000
|
}
|
|
@@ -4909,7 +5053,7 @@ let SearchResultsToolComponent = class SearchResultsToolComponent {
|
|
|
4909
5053
|
feature.setStyle(result.data.meta.style);
|
|
4910
5054
|
return;
|
|
4911
5055
|
}
|
|
4912
|
-
this.map.searchResultsOverlay.addFeature(result.data,
|
|
5056
|
+
this.map.searchResultsOverlay.addFeature(result.data, this.searchState.featureMotion.focus);
|
|
4913
5057
|
}
|
|
4914
5058
|
}
|
|
4915
5059
|
onResultUnfocus(result) {
|
|
@@ -4934,7 +5078,7 @@ let SearchResultsToolComponent = class SearchResultsToolComponent {
|
|
|
4934
5078
|
*/
|
|
4935
5079
|
onResultSelect(result) {
|
|
4936
5080
|
this.map.searchResultsOverlay.dataSource.ol.clear();
|
|
4937
|
-
this.tryAddFeatureToMap(result);
|
|
5081
|
+
this.tryAddFeatureToMap(result, this.searchState.featureMotion.selected);
|
|
4938
5082
|
this.searchState.setSelectedResult(result);
|
|
4939
5083
|
if (this.topPanelState === 'initial') {
|
|
4940
5084
|
if (this.topPanelStateDefault !== 'collapsed') {
|
|
@@ -5038,8 +5182,9 @@ let SearchResultsToolComponent = class SearchResultsToolComponent {
|
|
|
5038
5182
|
/**
|
|
5039
5183
|
* Try to add a feature to the map overlay
|
|
5040
5184
|
* @param result A search result that could be a feature
|
|
5185
|
+
* @param motion A FeatureMotion to trigger when adding the searchresult to the map search overlay
|
|
5041
5186
|
*/
|
|
5042
|
-
tryAddFeatureToMap(result) {
|
|
5187
|
+
tryAddFeatureToMap(result, motion = FeatureMotion.Default) {
|
|
5043
5188
|
if (result.meta.dataType !== FEATURE) {
|
|
5044
5189
|
return undefined;
|
|
5045
5190
|
}
|
|
@@ -5049,7 +5194,7 @@ let SearchResultsToolComponent = class SearchResultsToolComponent {
|
|
|
5049
5194
|
return;
|
|
5050
5195
|
}
|
|
5051
5196
|
feature.meta.style = getCommonVectorSelectedStyle(Object.assign({}, { feature }, this.searchState.searchOverlayStyleSelection, result.style?.selection ? result.style.selection : {}));
|
|
5052
|
-
this.map.searchResultsOverlay.addFeature(feature);
|
|
5197
|
+
this.map.searchResultsOverlay.addFeature(feature, motion);
|
|
5053
5198
|
}
|
|
5054
5199
|
isScrolledIntoView(elemSource, elem) {
|
|
5055
5200
|
const padding = 6;
|
|
@@ -5109,8 +5254,8 @@ let SearchResultsToolComponent = class SearchResultsToolComponent {
|
|
|
5109
5254
|
});
|
|
5110
5255
|
}, 250);
|
|
5111
5256
|
}
|
|
5112
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5113
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
5257
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: SearchResultsToolComponent, deps: [{ token: MapState }, { token: SearchState }, { token: i0.ElementRef }, { token: ToolState }, { token: DirectionState }, { token: i2.ConfigService }], target: i0.ɵɵFactoryTarget.Component });
|
|
5258
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.2.1", type: SearchResultsToolComponent, isStandalone: true, selector: "igo-search-results-tool", inputs: { showIcons: "showIcons", topPanelStateDefault: "topPanelStateDefault", topPanelState: "topPanelState" }, ngImport: i0, template: "<div\n *ngIf=\"(!store || store.stateView.empty) && (debouncedEmpty$ | async)\"\n style=\"margin: 10px\"\n>\n <section class=\"mat-typography\">\n <h4>\n <strong>{{\n 'igo.integration.searchResultsTool.noResults' | translate\n }}</strong>\n </h4>\n <p>\n <strong>{{\n 'igo.integration.searchResultsTool.doSearch' | translate\n }}</strong>\n </p>\n <div\n [innerHTML]=\"\n 'igo.integration.searchResultsTool.examples' | translate | sanitizeHtml\n \"\n ></div>\n </section>\n</div>\n\n<igo-flexible\n *ngIf=\"(debouncedEmpty$ | async) === false\"\n #topPanel\n initial=\"100%\"\n initialMobile=\"100%\"\n collapsed=\"calc(100% - 58px)\"\n collapsedMobile=\"calc(100% - 58px)\"\n expanded=\"60%\"\n expandedMobile=\"60%\"\n [state]=\"(feature$ | async) ? topPanelState : 'initial'\"\n>\n <div class=\"igo-content\">\n <igo-search-results\n [store]=\"store\"\n [showIcons]=\"showIcons\"\n [term]=\"term\"\n [termSplitter]=\"termSplitter\"\n [settingsChange$]=\"settingsChange$\"\n placeholder=\"false\"\n (resultFocus)=\"onResultFocus($event)\"\n (resultSelect)=\"onResultSelect($event)\"\n (resultUnfocus)=\"onResultUnfocus($event)\"\n (resultMouseenter)=\"onResultFocus($event)\"\n (resultMouseleave)=\"onResultUnfocus($event)\"\n (moreResults)=\"onSearch($event)\"\n [map]=\"map\"\n >\n <ng-template #igoSearchItemToolbar let-result=\"result\">\n <igo-search-add-button\n [map]=\"map\"\n [store]=\"store\"\n [stores]=\"stores\"\n [layer]=\"result\"\n [saveSearchResultInLayer]=\"saveSearchResultInLayer\"\n >\n </igo-search-add-button>\n </ng-template>\n </igo-search-results>\n </div>\n\n <div igoFlexibleFill class=\"igo-content\">\n <igo-panel\n [title]=\"featureTitle\"\n *ngIf=\"feature$ | async\"\n (click)=\"toggleTopPanel($event)\"\n [cursorPointer]=\"true\"\n >\n <button\n mat-icon-button\n panelLeftButton\n class=\"igo-icon-button\"\n (click)=\"toggleTopPanel()\"\n >\n <mat-icon\n [svgIcon]=\"\n (topPanelState$ | async) === 'collapsed' ? 'arrow-up' : 'arrow-down'\n \"\n ></mat-icon>\n </button>\n\n <button\n *ngIf=\"feature.geometry\"\n mat-icon-button\n panelRightButton\n class=\"igo-icon-button\"\n [matTooltip]=\"\n ((isSelectedResultOutOfView$ | async)\n ? 'igo.integration.searchResultsTool.zoomOnFeatureTooltipOutOfView'\n : 'igo.integration.searchResultsTool.zoomOnFeatureTooltip'\n ) | translate\n \"\n matTooltipShowDelay=\"500\"\n (click)=\"zoomToFeatureExtent()\"\n >\n <mat-icon\n aria-hidden=\"false\"\n [matBadge]=\"(isSelectedResultOutOfView$ | async) ? '!' : ''\"\n matBadgeColor=\"accent\"\n matBadgeSize=\"small\"\n [matBadgeHidden]=\"(isSelectedResultOutOfView$ | async) === false\"\n svgIcon=\"magnify-plus-outline\"\n ></mat-icon>\n </button>\n\n <igo-feature-details\n igoFeatureDetailsDirective\n [feature]=\"feature$ | async\"\n [map]=\"map\"\n [toolbox]=\"toolState.toolbox\"\n (routingEvent)=\"getRoute()\"\n >\n </igo-feature-details>\n </igo-panel>\n </div>\n</igo-flexible>\n", dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: FlexibleComponent, selector: "igo-flexible", inputs: ["initial", "collapsed", "expanded", "initialMobile", "collapsedMobile", "expandedMobile", "direction", "state"] }, { kind: "component", type: SearchResultsComponent, selector: "igo-search-results", inputs: ["map", "store", "showIcons", "mode", "withZoomButton", "tabsMode", "term", "settingsChange$", "termSplitter"], outputs: ["resultFocus", "resultUnfocus", "resultSelect", "moreResults", "resultMouseenter", "resultMouseleave"] }, { kind: "component", type: SearchResultAddButtonComponent, selector: "igo-search-add-button", inputs: ["layer", "store", "added", "map", "saveSearchResultInLayer", "color", "stores"] }, { kind: "component", type: PanelComponent, selector: "igo-panel", inputs: ["title", "withHeader", "cursorPointer"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i6.MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i7.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatTooltipModule }, { kind: "directive", type: i5.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "ngmodule", type: MatBadgeModule }, { kind: "directive", type: i9$1.MatBadge, selector: "[matBadge]", inputs: ["matBadgeColor", "matBadgeOverlap", "matBadgeDisabled", "matBadgePosition", "matBadge", "matBadgeDescription", "matBadgeSize", "matBadgeHidden"] }, { kind: "component", type: FeatureDetailsComponent, selector: "igo-feature-details", inputs: ["source", "map", "toolbox", "feature"], outputs: ["routeEvent", "selectFeature", "htmlDisplayEvent"] }, { kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i7$2.TranslatePipe, name: "translate" }, { kind: "pipe", type: SanitizeHtmlPipe, name: "sanitizeHtml" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
5114
5259
|
};
|
|
5115
5260
|
SearchResultsToolComponent = __decorate([
|
|
5116
5261
|
ToolComponent({
|
|
@@ -5125,10 +5270,24 @@ SearchResultsToolComponent = __decorate([
|
|
|
5125
5270
|
DirectionState,
|
|
5126
5271
|
ConfigService])
|
|
5127
5272
|
], SearchResultsToolComponent);
|
|
5128
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5273
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: SearchResultsToolComponent, decorators: [{
|
|
5129
5274
|
type: Component,
|
|
5130
|
-
args: [{ selector: 'igo-search-results-tool', changeDetection: ChangeDetectionStrategy.OnPush,
|
|
5131
|
-
|
|
5275
|
+
args: [{ selector: 'igo-search-results-tool', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [
|
|
5276
|
+
NgIf,
|
|
5277
|
+
FlexibleComponent,
|
|
5278
|
+
SearchResultsComponent,
|
|
5279
|
+
SearchResultAddButtonComponent,
|
|
5280
|
+
PanelComponent,
|
|
5281
|
+
MatButtonModule,
|
|
5282
|
+
MatIconModule,
|
|
5283
|
+
MatTooltipModule,
|
|
5284
|
+
MatBadgeModule,
|
|
5285
|
+
FeatureDetailsComponent,
|
|
5286
|
+
AsyncPipe,
|
|
5287
|
+
TranslateModule,
|
|
5288
|
+
SanitizeHtmlPipe
|
|
5289
|
+
], template: "<div\n *ngIf=\"(!store || store.stateView.empty) && (debouncedEmpty$ | async)\"\n style=\"margin: 10px\"\n>\n <section class=\"mat-typography\">\n <h4>\n <strong>{{\n 'igo.integration.searchResultsTool.noResults' | translate\n }}</strong>\n </h4>\n <p>\n <strong>{{\n 'igo.integration.searchResultsTool.doSearch' | translate\n }}</strong>\n </p>\n <div\n [innerHTML]=\"\n 'igo.integration.searchResultsTool.examples' | translate | sanitizeHtml\n \"\n ></div>\n </section>\n</div>\n\n<igo-flexible\n *ngIf=\"(debouncedEmpty$ | async) === false\"\n #topPanel\n initial=\"100%\"\n initialMobile=\"100%\"\n collapsed=\"calc(100% - 58px)\"\n collapsedMobile=\"calc(100% - 58px)\"\n expanded=\"60%\"\n expandedMobile=\"60%\"\n [state]=\"(feature$ | async) ? topPanelState : 'initial'\"\n>\n <div class=\"igo-content\">\n <igo-search-results\n [store]=\"store\"\n [showIcons]=\"showIcons\"\n [term]=\"term\"\n [termSplitter]=\"termSplitter\"\n [settingsChange$]=\"settingsChange$\"\n placeholder=\"false\"\n (resultFocus)=\"onResultFocus($event)\"\n (resultSelect)=\"onResultSelect($event)\"\n (resultUnfocus)=\"onResultUnfocus($event)\"\n (resultMouseenter)=\"onResultFocus($event)\"\n (resultMouseleave)=\"onResultUnfocus($event)\"\n (moreResults)=\"onSearch($event)\"\n [map]=\"map\"\n >\n <ng-template #igoSearchItemToolbar let-result=\"result\">\n <igo-search-add-button\n [map]=\"map\"\n [store]=\"store\"\n [stores]=\"stores\"\n [layer]=\"result\"\n [saveSearchResultInLayer]=\"saveSearchResultInLayer\"\n >\n </igo-search-add-button>\n </ng-template>\n </igo-search-results>\n </div>\n\n <div igoFlexibleFill class=\"igo-content\">\n <igo-panel\n [title]=\"featureTitle\"\n *ngIf=\"feature$ | async\"\n (click)=\"toggleTopPanel($event)\"\n [cursorPointer]=\"true\"\n >\n <button\n mat-icon-button\n panelLeftButton\n class=\"igo-icon-button\"\n (click)=\"toggleTopPanel()\"\n >\n <mat-icon\n [svgIcon]=\"\n (topPanelState$ | async) === 'collapsed' ? 'arrow-up' : 'arrow-down'\n \"\n ></mat-icon>\n </button>\n\n <button\n *ngIf=\"feature.geometry\"\n mat-icon-button\n panelRightButton\n class=\"igo-icon-button\"\n [matTooltip]=\"\n ((isSelectedResultOutOfView$ | async)\n ? 'igo.integration.searchResultsTool.zoomOnFeatureTooltipOutOfView'\n : 'igo.integration.searchResultsTool.zoomOnFeatureTooltip'\n ) | translate\n \"\n matTooltipShowDelay=\"500\"\n (click)=\"zoomToFeatureExtent()\"\n >\n <mat-icon\n aria-hidden=\"false\"\n [matBadge]=\"(isSelectedResultOutOfView$ | async) ? '!' : ''\"\n matBadgeColor=\"accent\"\n matBadgeSize=\"small\"\n [matBadgeHidden]=\"(isSelectedResultOutOfView$ | async) === false\"\n svgIcon=\"magnify-plus-outline\"\n ></mat-icon>\n </button>\n\n <igo-feature-details\n igoFeatureDetailsDirective\n [feature]=\"feature$ | async\"\n [map]=\"map\"\n [toolbox]=\"toolState.toolbox\"\n (routingEvent)=\"getRoute()\"\n >\n </igo-feature-details>\n </igo-panel>\n </div>\n</igo-flexible>\n" }]
|
|
5290
|
+
}], ctorParameters: () => [{ type: MapState }, { type: SearchState }, { type: i0.ElementRef }, { type: ToolState }, { type: DirectionState }, { type: i2.ConfigService }], propDecorators: { showIcons: [{
|
|
5132
5291
|
type: Input
|
|
5133
5292
|
}], topPanelStateDefault: [{
|
|
5134
5293
|
type: Input
|
|
@@ -5137,91 +5296,43 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
5137
5296
|
}] } });
|
|
5138
5297
|
|
|
5139
5298
|
/**
|
|
5140
|
-
* @
|
|
5299
|
+
* @deprecated import the components/directive directly or INTEGRATION_SEARCH_DIRECTIVES for the set
|
|
5141
5300
|
*/
|
|
5142
|
-
class IgoAppSearchResultsToolModule {
|
|
5143
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IgoAppSearchResultsToolModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5144
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: IgoAppSearchResultsToolModule, declarations: [SearchResultsToolComponent], imports: [CommonModule,
|
|
5145
|
-
MatIconModule,
|
|
5146
|
-
MatBadgeModule,
|
|
5147
|
-
MatTooltipModule,
|
|
5148
|
-
MatButtonModule,
|
|
5149
|
-
IgoLanguageModule,
|
|
5150
|
-
IgoFeatureModule,
|
|
5151
|
-
IgoSearchModule,
|
|
5152
|
-
IgoFlexibleModule,
|
|
5153
|
-
IgoPanelModule,
|
|
5154
|
-
IgoFeatureDetailsModule,
|
|
5155
|
-
IgoCustomHtmlModule], exports: [SearchResultsToolComponent] });
|
|
5156
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IgoAppSearchResultsToolModule, imports: [CommonModule,
|
|
5157
|
-
MatIconModule,
|
|
5158
|
-
MatBadgeModule,
|
|
5159
|
-
MatTooltipModule,
|
|
5160
|
-
MatButtonModule,
|
|
5161
|
-
IgoLanguageModule,
|
|
5162
|
-
IgoFeatureModule,
|
|
5163
|
-
IgoSearchModule,
|
|
5164
|
-
IgoFlexibleModule,
|
|
5165
|
-
IgoPanelModule,
|
|
5166
|
-
IgoFeatureDetailsModule,
|
|
5167
|
-
IgoCustomHtmlModule] });
|
|
5168
|
-
}
|
|
5169
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IgoAppSearchResultsToolModule, decorators: [{
|
|
5170
|
-
type: NgModule,
|
|
5171
|
-
args: [{
|
|
5172
|
-
imports: [
|
|
5173
|
-
CommonModule,
|
|
5174
|
-
MatIconModule,
|
|
5175
|
-
MatBadgeModule,
|
|
5176
|
-
MatTooltipModule,
|
|
5177
|
-
MatButtonModule,
|
|
5178
|
-
IgoLanguageModule,
|
|
5179
|
-
IgoFeatureModule,
|
|
5180
|
-
IgoSearchModule,
|
|
5181
|
-
IgoFlexibleModule,
|
|
5182
|
-
IgoPanelModule,
|
|
5183
|
-
IgoFeatureDetailsModule,
|
|
5184
|
-
IgoCustomHtmlModule
|
|
5185
|
-
],
|
|
5186
|
-
declarations: [SearchResultsToolComponent],
|
|
5187
|
-
exports: [SearchResultsToolComponent],
|
|
5188
|
-
schemas: [CUSTOM_ELEMENTS_SCHEMA]
|
|
5189
|
-
}]
|
|
5190
|
-
}] });
|
|
5191
|
-
|
|
5192
5301
|
class IgoAppSearchModule {
|
|
5193
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5194
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
5195
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
5302
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: IgoAppSearchModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5303
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.2.1", ngImport: i0, type: IgoAppSearchModule, imports: [SearchBarBindingDirective, SearchResultsToolComponent], exports: [SearchBarBindingDirective, SearchResultsToolComponent] });
|
|
5304
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: IgoAppSearchModule, imports: [SearchResultsToolComponent] });
|
|
5196
5305
|
}
|
|
5197
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5306
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: IgoAppSearchModule, decorators: [{
|
|
5198
5307
|
type: NgModule,
|
|
5199
5308
|
args: [{
|
|
5200
|
-
imports: [],
|
|
5201
|
-
|
|
5202
|
-
exports: [IgoAppSearchBarModule, IgoAppSearchResultsToolModule]
|
|
5309
|
+
imports: [SearchBarBindingDirective, SearchResultsToolComponent],
|
|
5310
|
+
exports: [SearchBarBindingDirective, SearchResultsToolComponent]
|
|
5203
5311
|
}]
|
|
5204
5312
|
}] });
|
|
5205
5313
|
|
|
5206
|
-
|
|
5207
|
-
|
|
5208
|
-
|
|
5209
|
-
|
|
5314
|
+
/**
|
|
5315
|
+
* @deprecated import the WorkspaceButtonComponent directly
|
|
5316
|
+
*/
|
|
5317
|
+
class IgoAppWorkspaceModule {
|
|
5318
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: IgoAppWorkspaceModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5319
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.2.1", ngImport: i0, type: IgoAppWorkspaceModule, imports: [WorkspaceButtonComponent], exports: [WorkspaceButtonComponent] });
|
|
5320
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: IgoAppWorkspaceModule, imports: [WorkspaceButtonComponent] });
|
|
5210
5321
|
}
|
|
5211
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5322
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: IgoAppWorkspaceModule, decorators: [{
|
|
5212
5323
|
type: NgModule,
|
|
5213
5324
|
args: [{
|
|
5214
|
-
imports: [],
|
|
5215
|
-
|
|
5216
|
-
exports: []
|
|
5325
|
+
imports: [WorkspaceButtonComponent],
|
|
5326
|
+
exports: [WorkspaceButtonComponent]
|
|
5217
5327
|
}]
|
|
5218
5328
|
}] });
|
|
5219
5329
|
|
|
5330
|
+
/**
|
|
5331
|
+
* @deprecated import the components directly
|
|
5332
|
+
*/
|
|
5220
5333
|
class IgoIntegrationModule {
|
|
5221
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5222
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
5223
|
-
IgoAppAnalyticsModule,
|
|
5224
|
-
IgoAppContextModule,
|
|
5334
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: IgoIntegrationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5335
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.2.1", ngImport: i0, type: IgoIntegrationModule, exports: [IgoAppContextModule,
|
|
5225
5336
|
IgoAppCatalogModule,
|
|
5226
5337
|
IgoAppDirectionsModule,
|
|
5227
5338
|
IgoAppDrawModule,
|
|
@@ -5232,10 +5343,9 @@ class IgoIntegrationModule {
|
|
|
5232
5343
|
IgoAppPrintModule,
|
|
5233
5344
|
IgoAppSearchModule,
|
|
5234
5345
|
IgoAppFilterModule,
|
|
5235
|
-
IgoAppAboutModule
|
|
5236
|
-
|
|
5237
|
-
|
|
5238
|
-
IgoAppContextModule,
|
|
5346
|
+
IgoAppAboutModule,
|
|
5347
|
+
IgoAppGeometryFormModule] });
|
|
5348
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: IgoIntegrationModule, imports: [IgoAppContextModule,
|
|
5239
5349
|
IgoAppCatalogModule,
|
|
5240
5350
|
IgoAppDirectionsModule,
|
|
5241
5351
|
IgoAppDrawModule,
|
|
@@ -5246,16 +5356,15 @@ class IgoIntegrationModule {
|
|
|
5246
5356
|
IgoAppPrintModule,
|
|
5247
5357
|
IgoAppSearchModule,
|
|
5248
5358
|
IgoAppFilterModule,
|
|
5249
|
-
IgoAppAboutModule
|
|
5359
|
+
IgoAppAboutModule,
|
|
5360
|
+
IgoAppGeometryFormModule] });
|
|
5250
5361
|
}
|
|
5251
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5362
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: IgoIntegrationModule, decorators: [{
|
|
5252
5363
|
type: NgModule,
|
|
5253
5364
|
args: [{
|
|
5254
5365
|
imports: [],
|
|
5255
5366
|
declarations: [],
|
|
5256
5367
|
exports: [
|
|
5257
|
-
IgoAppStorageModule,
|
|
5258
|
-
IgoAppAnalyticsModule,
|
|
5259
5368
|
IgoAppContextModule,
|
|
5260
5369
|
IgoAppCatalogModule,
|
|
5261
5370
|
IgoAppDirectionsModule,
|
|
@@ -5267,25 +5376,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
5267
5376
|
IgoAppPrintModule,
|
|
5268
5377
|
IgoAppSearchModule,
|
|
5269
5378
|
IgoAppFilterModule,
|
|
5270
|
-
IgoAppAboutModule
|
|
5379
|
+
IgoAppAboutModule,
|
|
5380
|
+
IgoAppGeometryFormModule
|
|
5271
5381
|
]
|
|
5272
5382
|
}]
|
|
5273
5383
|
}] });
|
|
5274
5384
|
|
|
5275
|
-
class IgoAppToolModule {
|
|
5276
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IgoAppToolModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5277
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: IgoAppToolModule });
|
|
5278
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IgoAppToolModule });
|
|
5279
|
-
}
|
|
5280
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IgoAppToolModule, decorators: [{
|
|
5281
|
-
type: NgModule,
|
|
5282
|
-
args: [{
|
|
5283
|
-
imports: [],
|
|
5284
|
-
declarations: [],
|
|
5285
|
-
exports: []
|
|
5286
|
-
}]
|
|
5287
|
-
}] });
|
|
5288
|
-
|
|
5289
5385
|
/**
|
|
5290
5386
|
* Service that holds the state of the search module
|
|
5291
5387
|
*/
|
|
@@ -5417,15 +5513,23 @@ class AnalyticsListenerService {
|
|
|
5417
5513
|
});
|
|
5418
5514
|
});
|
|
5419
5515
|
}
|
|
5420
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5421
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5516
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: AnalyticsListenerService, deps: [{ token: i2.AnalyticsService }, { token: i2$1.AuthService }, { token: ContextState }, { token: SearchState }, { token: ToolState }, { token: MapState }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5517
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: AnalyticsListenerService, providedIn: 'root' });
|
|
5422
5518
|
}
|
|
5423
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5519
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: AnalyticsListenerService, decorators: [{
|
|
5424
5520
|
type: Injectable,
|
|
5425
5521
|
args: [{
|
|
5426
5522
|
providedIn: 'root'
|
|
5427
5523
|
}]
|
|
5428
|
-
}], ctorParameters:
|
|
5524
|
+
}], ctorParameters: () => [{ type: i2.AnalyticsService }, { type: i2$1.AuthService }, { type: ContextState }, { type: SearchState }, { type: ToolState }, { type: MapState }] });
|
|
5525
|
+
|
|
5526
|
+
const INTEGRATION_FILTER_DIRECTIVES = [
|
|
5527
|
+
OgcFilterToolComponent,
|
|
5528
|
+
ActiveOgcFilterToolComponent,
|
|
5529
|
+
TimeFilterToolComponent,
|
|
5530
|
+
ActiveTimeFilterToolComponent,
|
|
5531
|
+
SpatialFilterToolComponent
|
|
5532
|
+
];
|
|
5429
5533
|
|
|
5430
5534
|
/**
|
|
5431
5535
|
* Service that holds the state of the query module
|
|
@@ -5456,15 +5560,52 @@ class QueryState {
|
|
|
5456
5560
|
const geoPropertiesStrategy = new GeoPropertiesStrategy({ map: this.mapState.map }, this.propertyTypeDetectorService, this.capabilitiesService);
|
|
5457
5561
|
this.store.addStrategy(geoPropertiesStrategy, true);
|
|
5458
5562
|
}
|
|
5459
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5460
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5563
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: QueryState, deps: [{ token: i2.ConfigService }, { token: i1.PropertyTypeDetectorService }, { token: i1.CapabilitiesService }, { token: MapState }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5564
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: QueryState, providedIn: 'root' });
|
|
5461
5565
|
}
|
|
5462
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5566
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: QueryState, decorators: [{
|
|
5463
5567
|
type: Injectable,
|
|
5464
5568
|
args: [{
|
|
5465
5569
|
providedIn: 'root'
|
|
5466
5570
|
}]
|
|
5467
|
-
}], ctorParameters:
|
|
5571
|
+
}], ctorParameters: () => [{ type: i2.ConfigService }, { type: i1.PropertyTypeDetectorService }, { type: i1.CapabilitiesService }, { type: MapState }] });
|
|
5572
|
+
|
|
5573
|
+
/**
|
|
5574
|
+
* @deprecated import the SearchResultsToolComponent directly
|
|
5575
|
+
*/
|
|
5576
|
+
class IgoAppSearchResultsToolModule {
|
|
5577
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: IgoAppSearchResultsToolModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5578
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.2.1", ngImport: i0, type: IgoAppSearchResultsToolModule, imports: [SearchResultsToolComponent], exports: [SearchResultsToolComponent] });
|
|
5579
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: IgoAppSearchResultsToolModule, imports: [SearchResultsToolComponent] });
|
|
5580
|
+
}
|
|
5581
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: IgoAppSearchResultsToolModule, decorators: [{
|
|
5582
|
+
type: NgModule,
|
|
5583
|
+
args: [{
|
|
5584
|
+
imports: [SearchResultsToolComponent],
|
|
5585
|
+
exports: [SearchResultsToolComponent]
|
|
5586
|
+
}]
|
|
5587
|
+
}] });
|
|
5588
|
+
|
|
5589
|
+
/**
|
|
5590
|
+
* @deprecated import the SearchBarBindingDirective directly
|
|
5591
|
+
*/
|
|
5592
|
+
class IgoAppSearchBarModule {
|
|
5593
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: IgoAppSearchBarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5594
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.2.1", ngImport: i0, type: IgoAppSearchBarModule, imports: [SearchBarBindingDirective], exports: [SearchBarBindingDirective] });
|
|
5595
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: IgoAppSearchBarModule });
|
|
5596
|
+
}
|
|
5597
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: IgoAppSearchBarModule, decorators: [{
|
|
5598
|
+
type: NgModule,
|
|
5599
|
+
args: [{
|
|
5600
|
+
imports: [SearchBarBindingDirective],
|
|
5601
|
+
exports: [SearchBarBindingDirective]
|
|
5602
|
+
}]
|
|
5603
|
+
}] });
|
|
5604
|
+
|
|
5605
|
+
const INTEGRATION_SEARCH_DIRECTIVES = [
|
|
5606
|
+
SearchBarBindingDirective,
|
|
5607
|
+
SearchResultsToolComponent
|
|
5608
|
+
];
|
|
5468
5609
|
|
|
5469
5610
|
/*
|
|
5470
5611
|
* Public API Surface of tools
|
|
@@ -5474,5 +5615,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
5474
5615
|
* Generated bundle index. Do not edit.
|
|
5475
5616
|
*/
|
|
5476
5617
|
|
|
5477
|
-
export { AboutToolComponent, ActiveOgcFilterToolComponent, ActiveTimeFilterToolComponent, AdvancedMapToolComponent, AnalyticsListenerService, CatalogBrowserToolComponent, CatalogLibraryToolComponent, CatalogState, ContextEditorToolComponent, ContextManagerToolComponent, ContextPermissionManagerToolComponent, ContextShareToolComponent, ContextState, DirectionState, DirectionsToolComponent, DrawState, DrawingToolComponent, FeatureActionsService,
|
|
5618
|
+
export { AboutToolComponent, ActiveOgcFilterToolComponent, ActiveTimeFilterToolComponent, AdvancedMapToolComponent, AnalyticsListenerService, CatalogBrowserToolComponent, CatalogLibraryToolComponent, CatalogState, ContextEditorToolComponent, ContextManagerToolComponent, ContextPermissionManagerToolComponent, ContextShareToolComponent, ContextState, DataIssueReporterToolComponent, DirectionState, DirectionsToolComponent, DrawState, DrawingToolComponent, FeatureActionsService, INTEGRATION_CONTEXT_DIRECTIVES, INTEGRATION_FILTER_DIRECTIVES, INTEGRATION_MAP_DIRECTIVES, INTEGRATION_SEARCH_DIRECTIVES, IgoAppAboutModule, IgoAppCatalogBrowserToolModule, IgoAppCatalogLibraryToolModule, IgoAppCatalogModule, IgoAppContextModule, IgoAppDirectionsModule, IgoAppDrawModule, IgoAppDrawingToolModule, IgoAppFilterModule, IgoAppGeometryFormModule, IgoAppImportExportModule, IgoAppMapModule, IgoAppMeasureModule, IgoAppMeasurerToolModule, IgoAppPrintModule, IgoAppSearchBarModule, IgoAppSearchModule, IgoAppSearchResultsToolModule, IgoAppWorkspaceModule, IgoIntegrationModule, ImportExportMode, ImportExportState, ImportExportToolComponent, ImportExportType, MapDetailsToolComponent, MapLegendToolComponent, MapProximityState, MapProximityToolComponent, MapState, MapToolComponent, MapToolsComponent, MeasureState, MeasurerToolComponent, OgcFilterToolComponent, PrintToolComponent, QueryState, SearchBarBindingDirective, SearchResultsToolComponent, SearchState, SpatialFilterToolComponent, StorageState, TimeFilterToolComponent, ToolState, WfsActionsService, WorkspaceButtonComponent, WorkspaceState };
|
|
5478
5619
|
//# sourceMappingURL=igo2-integration.mjs.map
|