@igo2/integration 20.0.1 → 20.1.0-next.10
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/fesm2022/igo2-integration.mjs +667 -731
- package/fesm2022/igo2-integration.mjs.map +1 -1
- package/index.d.ts +96 -98
- package/locale/en.integration.json +1 -1
- package/locale/fr.integration.json +1 -1
- package/package.json +7 -6
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { inject, ChangeDetectorRef, Input, Component, CUSTOM_ELEMENTS_SCHEMA, NgModule, Injectable, ChangeDetectionStrategy,
|
|
2
|
+
import { inject, ChangeDetectorRef, model, Input, Component, CUSTOM_ELEMENTS_SCHEMA, NgModule, Injectable, input, ChangeDetectionStrategy, signal, viewChild, HostListener, Directive, ElementRef } from '@angular/core';
|
|
3
3
|
import { __decorate, __metadata } from 'tslib';
|
|
4
4
|
import { HttpClient } from '@angular/common/http';
|
|
5
5
|
import * as i1 from '@angular/material/button';
|
|
6
6
|
import { MatButtonModule } from '@angular/material/button';
|
|
7
7
|
import * as i3 from '@angular/material/icon';
|
|
8
|
-
import { MatIconModule
|
|
8
|
+
import { MatIconModule } from '@angular/material/icon';
|
|
9
9
|
import * as i4 from '@angular/material/menu';
|
|
10
10
|
import { MatMenuModule } from '@angular/material/menu';
|
|
11
11
|
import * as i2 from '@angular/material/tooltip';
|
|
@@ -15,25 +15,27 @@ import { CustomHtmlComponent, SanitizeHtmlPipe } from '@igo2/common/custom-html'
|
|
|
15
15
|
import { ToolComponent, ToolService } from '@igo2/common/tool';
|
|
16
16
|
import { ConfigService, version } from '@igo2/core/config';
|
|
17
17
|
import { LanguageService, IgoLanguageModule } from '@igo2/core/language';
|
|
18
|
-
import { of, BehaviorSubject, combineLatest, forkJoin,
|
|
18
|
+
import { of, BehaviorSubject, combineLatest, forkJoin, map as map$1, Subject, ReplaySubject, interval } from 'rxjs';
|
|
19
19
|
import * as i3$1 from '@ngx-translate/core';
|
|
20
20
|
import { TranslateModule } from '@ngx-translate/core';
|
|
21
21
|
import * as i3$2 from '@angular/common';
|
|
22
22
|
import { AsyncPipe, formatDate, CommonModule, DecimalPipe, NgTemplateOutlet } from '@angular/common';
|
|
23
23
|
import { EntityStore, EntityStoreFilterCustomFuncStrategy, EntityStoreFilterSelectionStrategy, EntityTableComponent, getEntityTitle } from '@igo2/common/entity';
|
|
24
24
|
import * as i1$1 from '@igo2/geo';
|
|
25
|
-
import { MapService, ProjectionService, IgoMap, CatalogService, CatalogBrowserComponent, generateIdFromSourceOptions, isLayerItemOptions, CatalogItemType, CatalogLibraryComponent, StopsStore, StopsFeatureStore, RoutesFeatureStore, StepsFeatureStore, IgoDirectionsModule, FeatureStore, DrawComponent, isLayerItem, OgcFilterableItemComponent, TimeFilterItemComponent, OgcFilterableListComponent, OgcFilterableListBindingDirective, FeatureStoreSelectionStrategy, FeatureMotion, mapExtentStrategyActiveToolTip, noElementSelected, OgcFilterWidget, InteractiveSelectionFormWidget, WfsWorkspace, FeatureWorkspace, EditionWorkspace, SpatialFilterService, LayerService, SpatialFilterItemType, MeasureLengthUnit, SpatialFilterType,
|
|
25
|
+
import { MapService, ProjectionService, IgoMap, CatalogService, CatalogBrowserComponent, generateIdFromSourceOptions, isLayerItemOptions, CatalogItemType, CatalogLibraryComponent, StopsStore, StopsFeatureStore, RoutesFeatureStore, StepsFeatureStore, IgoDirectionsModule, FeatureStore, DrawComponent, isLayerItem, OgcFilterableItemComponent, TimeFilterItemComponent, OgcFilterableListComponent, OgcFilterableListBindingDirective, FeatureStoreSelectionStrategy, FeatureMotion, mapExtentStrategyActiveToolTip, noElementSelected, OgcFilterWidget, InteractiveSelectionFormWidget, WfsWorkspace, FeatureWorkspace, EditionWorkspace, SpatialFilterService, LayerService, SpatialFilterItemType, MeasureLengthUnit, SpatialFilterType, createOverlayMarkerStyle, featureToOl, moveToOlFeatures, RADIUS_NAME, SpatialFilterTypeComponent, SpatialFilterItemComponent, FeatureDetailsComponent, TimeFilterListComponent, TimeFilterListBindingDirective, isBaseLayer, ImportExportComponent, formatScale, zoneMtm, zoneUtm, computeProjectionsConstraints, SearchSourceService, LayerListControlsEnum, sourceCanSearch, LayerViewerComponent, ExportButtonComponent, OgcFilterButtonComponent, TimeFilterButtonComponent, TrackFeatureButtonComponent, MetadataButtonComponent, LayerLegendListComponent, LayerLegendListBindingDirective, roundCoordTo, featureFromOl, measureOlGeometryLength, FEATURE, VectorLayer, StyleModalLayerButtonComponent, MeasurerComponent, PrintComponent, SearchBarComponent, getCommonVectorStyle, computeOlFeaturesExtent, featuresAreOutOfView, featuresAreTooDeepInView, getCommonVectorSelectedStyle, SearchResultsComponent, SearchResultAddButtonComponent, isLayerGroup, PropertyTypeDetectorService, CapabilitiesService, GeoPropertiesStrategy } from '@igo2/geo';
|
|
26
26
|
import { take, switchMap, concatAll, map, toArray, skipWhile, takeUntil, tap, debounceTime, skip } from 'rxjs/operators';
|
|
27
27
|
import { StorageService, StorageScope, StorageServiceEventEnum } from '@igo2/core/storage';
|
|
28
|
-
import { ContextService, ContextEditComponent,
|
|
28
|
+
import { ContextService, ContextEditComponent, ContextListComponent, ContextPermissionsComponent, ContextPermissionsBindingDirective, ShareMapComponent, ContextImportExportComponent } from '@igo2/context';
|
|
29
29
|
import { createExcelWorkBook, addExcelSheetToWorkBook, writeExcelFile, uuid, NumberUtils } from '@igo2/utils';
|
|
30
|
+
import { toSignal } from '@angular/core/rxjs-interop';
|
|
31
|
+
import { MediaService, Media } from '@igo2/core/media';
|
|
30
32
|
import { MessageService, IgoMessageModule } from '@igo2/core/message';
|
|
31
33
|
import { trigger, state, transition, style, animate } from '@angular/animations';
|
|
32
34
|
import { SELECTION_MARKER_ICON } from '@igo2/common/icon';
|
|
33
|
-
import
|
|
35
|
+
import * as olProj from 'ol/proj';
|
|
36
|
+
import { transform } from 'ol/proj';
|
|
34
37
|
import * as olstyle from 'ol/style';
|
|
35
38
|
import { WorkspaceStore } from '@igo2/common/workspace';
|
|
36
|
-
import { MediaService, Media } from '@igo2/core/media';
|
|
37
39
|
import { jsPDF } from 'jspdf';
|
|
38
40
|
import { autoTable } from 'jspdf-autotable';
|
|
39
41
|
import moment from 'moment';
|
|
@@ -55,11 +57,11 @@ import * as i2$2 from '@angular/material/input';
|
|
|
55
57
|
import { MatInputModule } from '@angular/material/input';
|
|
56
58
|
import * as i6 from '@angular/material/select';
|
|
57
59
|
import { MatSelectModule } from '@angular/material/select';
|
|
58
|
-
import * as olProj from 'ol/proj';
|
|
59
60
|
import * as i1$5 from '@angular/material/list';
|
|
60
61
|
import { MatListModule } from '@angular/material/list';
|
|
61
62
|
import * as i5 from '@angular/material/radio';
|
|
62
63
|
import { MatRadioModule } from '@angular/material/radio';
|
|
64
|
+
import GeoJSON from 'ol/format/GeoJSON';
|
|
63
65
|
import olLineString from 'ol/geom/LineString';
|
|
64
66
|
import olLayerVector from 'ol/layer/Vector';
|
|
65
67
|
import * as i4$2 from '@angular/material/badge';
|
|
@@ -99,7 +101,7 @@ let AboutToolComponent = class AboutToolComponent {
|
|
|
99
101
|
this._discoverTitleInLocale = value;
|
|
100
102
|
this.discoverTitleInLocale$ = of(value);
|
|
101
103
|
}
|
|
102
|
-
trainingGuideURLs;
|
|
104
|
+
trainingGuideURLs = model(undefined, ...(ngDevMode ? [{ debugName: "trainingGuideURLs" }] : []));
|
|
103
105
|
effectiveVersion;
|
|
104
106
|
_html = 'igo.integration.aboutTool.html';
|
|
105
107
|
_headerHtml;
|
|
@@ -122,21 +124,21 @@ let AboutToolComponent = class AboutToolComponent {
|
|
|
122
124
|
if (this.auth.authenticated && this.configOptions.context?.url) {
|
|
123
125
|
this.http.get(this.baseUrlProfil).subscribe((profil) => {
|
|
124
126
|
const recast = profil;
|
|
125
|
-
this.trainingGuideURLs
|
|
127
|
+
this.trainingGuideURLs.set(recast.guides);
|
|
126
128
|
this.cdRef.detectChanges();
|
|
127
129
|
});
|
|
128
130
|
}
|
|
129
131
|
else if (this.auth.authenticated &&
|
|
130
132
|
!this.configOptions.context?.url &&
|
|
131
133
|
this.configOptions.depot?.trainingGuides) {
|
|
132
|
-
this.trainingGuideURLs
|
|
134
|
+
this.trainingGuideURLs.set(this.configOptions.depot?.trainingGuides);
|
|
133
135
|
}
|
|
134
136
|
}
|
|
135
137
|
openGuide(guide) {
|
|
136
138
|
this.loading = true;
|
|
137
139
|
const url = guide
|
|
138
140
|
? this.baseUrlGuide + guide + '?'
|
|
139
|
-
: this.baseUrlGuide + this.trainingGuideURLs[0] + '?';
|
|
141
|
+
: this.baseUrlGuide + this.trainingGuideURLs()[0] + '?';
|
|
140
142
|
this.http
|
|
141
143
|
.get(url, {
|
|
142
144
|
responseType: 'blob'
|
|
@@ -153,8 +155,8 @@ let AboutToolComponent = class AboutToolComponent {
|
|
|
153
155
|
name = name.slice(0, index);
|
|
154
156
|
return name;
|
|
155
157
|
}
|
|
156
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
157
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.
|
|
158
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AboutToolComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
159
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.16", type: AboutToolComponent, isStandalone: true, selector: "igo-about-tool", inputs: { headerHtml: { classPropertyName: "headerHtml", publicName: "headerHtml", isSignal: false, isRequired: false, transformFunction: null }, html: { classPropertyName: "html", publicName: "html", isSignal: false, isRequired: false, transformFunction: null }, discoverTitleInLocale: { classPropertyName: "discoverTitleInLocale", publicName: "discoverTitleInLocale", isSignal: false, isRequired: false, transformFunction: null }, trainingGuideURLs: { classPropertyName: "trainingGuideURLs", publicName: "trainingGuideURLs", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { trainingGuideURLs: "trainingGuideURLsChange" }, ngImport: i0, template: "@if (\n auth.authenticated && trainingGuideURLs() && trainingGuideURLs().length === 1\n) {\n <button\n class=\"training-guide-button\"\n matButton=\"elevated\"\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>description</mat-icon>\n </button>\n}\n\n@if (\n auth.authenticated && trainingGuideURLs() && trainingGuideURLs().length > 1\n) {\n <button\n class=\"training-guide-button\"\n matButton=\"elevated\"\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>description</mat-icon>\n </button>\n}\n\n<mat-menu #menu=\"matMenu\">\n @for (guide of trainingGuideURLs(); track guide) {\n <button mat-menu-item (click)=\"openGuide(guide)\">\n {{ formatFileName(guide) }}\n </button>\n }\n</mat-menu>\n\n@if (headerHtml !== '') {\n <igo-custom-html [html]=\"headerHtml | translate\" />\n}\n\n<igo-custom-html [html]=\"html | translate: { version: effectiveVersion }\" />\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: "ngmodule", type: MatButtonModule }, { kind: "component", type: i1.MatButton, selector: " button[matButton], a[matButton], button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button], a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button] ", inputs: ["matButton"], exportAs: ["matButton", "matAnchor"] }, { kind: "ngmodule", type: MatTooltipModule }, { kind: "directive", type: i2.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i3.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatMenuModule }, { kind: "component", type: i4.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: i4.MatMenuItem, selector: "[mat-menu-item]", inputs: ["role", "disabled", "disableRipple"], exportAs: ["matMenuItem"] }, { kind: "directive", type: i4.MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", inputs: ["mat-menu-trigger-for", "matMenuTriggerFor", "matMenuTriggerData", "matMenuTriggerRestoreFocus"], outputs: ["menuOpened", "onMenuOpen", "menuClosed", "onMenuClose"], exportAs: ["matMenuTrigger"] }, { kind: "component", type: CustomHtmlComponent, selector: "igo-custom-html", inputs: ["html"] }, { kind: "ngmodule", type: IgoLanguageModule }, { kind: "pipe", type: i3$1.TranslatePipe, name: "translate" }] });
|
|
158
160
|
};
|
|
159
161
|
AboutToolComponent = __decorate([
|
|
160
162
|
ToolComponent({
|
|
@@ -164,7 +166,7 @@ AboutToolComponent = __decorate([
|
|
|
164
166
|
}),
|
|
165
167
|
__metadata("design:paramtypes", [])
|
|
166
168
|
], AboutToolComponent);
|
|
167
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
169
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AboutToolComponent, decorators: [{
|
|
168
170
|
type: Component,
|
|
169
171
|
args: [{ selector: 'igo-about-tool', imports: [
|
|
170
172
|
MatButtonModule,
|
|
@@ -173,16 +175,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.14", ngImpo
|
|
|
173
175
|
MatMenuModule,
|
|
174
176
|
CustomHtmlComponent,
|
|
175
177
|
IgoLanguageModule
|
|
176
|
-
], template: "@if (\n auth.authenticated && trainingGuideURLs && trainingGuideURLs.length === 1\n) {\n <button\n class=\"training-guide-button\"\n matButton=\"elevated\"\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>description</mat-icon>\n </button>\n}\n\n@if (auth.authenticated && trainingGuideURLs && trainingGuideURLs.length > 1) {\n <button\n class=\"training-guide-button\"\n matButton=\"elevated\"\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>description</mat-icon>\n </button>\n}\n\n<mat-menu #menu=\"matMenu\">\n @for (guide of trainingGuideURLs; track guide) {\n <button mat-menu-item (click)=\"openGuide(guide)\">\n {{ formatFileName(guide) }}\n </button>\n }\n</mat-menu>\n\n@if (headerHtml !== '') {\n <igo-custom-html [html]=\"headerHtml | translate\"
|
|
178
|
+
], template: "@if (\n auth.authenticated && trainingGuideURLs() && trainingGuideURLs().length === 1\n) {\n <button\n class=\"training-guide-button\"\n matButton=\"elevated\"\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>description</mat-icon>\n </button>\n}\n\n@if (\n auth.authenticated && trainingGuideURLs() && trainingGuideURLs().length > 1\n) {\n <button\n class=\"training-guide-button\"\n matButton=\"elevated\"\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>description</mat-icon>\n </button>\n}\n\n<mat-menu #menu=\"matMenu\">\n @for (guide of trainingGuideURLs(); track guide) {\n <button mat-menu-item (click)=\"openGuide(guide)\">\n {{ formatFileName(guide) }}\n </button>\n }\n</mat-menu>\n\n@if (headerHtml !== '') {\n <igo-custom-html [html]=\"headerHtml | translate\" />\n}\n\n<igo-custom-html [html]=\"html | translate: { version: effectiveVersion }\" />\n", styles: ["igo-interactive-tour button{margin-left:20px}.training-guide-button{margin-left:5px;background-color:#1976d2;color:#fff;padding:0 12px}\n"] }]
|
|
177
179
|
}], ctorParameters: () => [], propDecorators: { headerHtml: [{
|
|
178
180
|
type: Input
|
|
179
181
|
}], html: [{
|
|
180
182
|
type: Input
|
|
181
183
|
}], discoverTitleInLocale: [{
|
|
182
184
|
type: Input
|
|
183
|
-
}], trainingGuideURLs: [{
|
|
184
|
-
type: Input
|
|
185
|
-
}] } });
|
|
185
|
+
}], trainingGuideURLs: [{ type: i0.Input, args: [{ isSignal: true, alias: "trainingGuideURLs", required: false }] }, { type: i0.Output, args: ["trainingGuideURLsChange"] }] } });
|
|
186
186
|
|
|
187
187
|
/**
|
|
188
188
|
* @deprecated import the AboutToolComponent directly
|
|
@@ -194,11 +194,11 @@ class IgoAppAboutModule {
|
|
|
194
194
|
providers: []
|
|
195
195
|
};
|
|
196
196
|
}
|
|
197
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
198
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.
|
|
199
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.
|
|
197
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: IgoAppAboutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
198
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.16", ngImport: i0, type: IgoAppAboutModule, imports: [AboutToolComponent], exports: [AboutToolComponent] });
|
|
199
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: IgoAppAboutModule, imports: [AboutToolComponent] });
|
|
200
200
|
}
|
|
201
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
201
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: IgoAppAboutModule, decorators: [{
|
|
202
202
|
type: NgModule,
|
|
203
203
|
args: [{
|
|
204
204
|
imports: [AboutToolComponent],
|
|
@@ -240,10 +240,10 @@ class MapState {
|
|
|
240
240
|
}, this.storageService, this.configService);
|
|
241
241
|
this.mapService.setMap(this.map);
|
|
242
242
|
}
|
|
243
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
244
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
243
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: MapState, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
244
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: MapState, providedIn: 'root' });
|
|
245
245
|
}
|
|
246
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
246
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: MapState, decorators: [{
|
|
247
247
|
type: Injectable,
|
|
248
248
|
args: [{
|
|
249
249
|
providedIn: 'root'
|
|
@@ -294,10 +294,10 @@ class CatalogState {
|
|
|
294
294
|
clearCatalogItemsStores() {
|
|
295
295
|
this.catalogItemsStores.clear();
|
|
296
296
|
}
|
|
297
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
298
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
297
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CatalogState, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
298
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CatalogState, providedIn: 'root' });
|
|
299
299
|
}
|
|
300
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
300
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CatalogState, decorators: [{
|
|
301
301
|
type: Injectable,
|
|
302
302
|
args: [{
|
|
303
303
|
providedIn: 'root'
|
|
@@ -325,7 +325,7 @@ let CatalogBrowserToolComponent = class CatalogBrowserToolComponent {
|
|
|
325
325
|
/**
|
|
326
326
|
* Whether a group can be toggled when it's collapsed
|
|
327
327
|
*/
|
|
328
|
-
toggleCollapsedGroup = true;
|
|
328
|
+
toggleCollapsedGroup = input(true, ...(ngDevMode ? [{ debugName: "toggleCollapsedGroup" }] : []));
|
|
329
329
|
/**
|
|
330
330
|
* Map to add layers to
|
|
331
331
|
* @internal
|
|
@@ -377,8 +377,8 @@ let CatalogBrowserToolComponent = class CatalogBrowserToolComponent {
|
|
|
377
377
|
this.store$.next(store);
|
|
378
378
|
});
|
|
379
379
|
}
|
|
380
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
381
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.
|
|
380
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CatalogBrowserToolComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
381
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.16", type: CatalogBrowserToolComponent, isStandalone: true, selector: "igo-catalog-browser-tool", inputs: { toggleCollapsedGroup: { classPropertyName: "toggleCollapsedGroup", publicName: "toggleCollapsedGroup", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "@if (store$ | async; as store) {\n <igo-catalog-browser\n [catalog]=\"catalog\"\n [store]=\"store\"\n [map]=\"map\"\n [toggleCollapsedGroup]=\"toggleCollapsedGroup()\"\n />\n}\n", dependencies: [{ kind: "component", type: CatalogBrowserComponent, selector: "igo-catalog-browser", inputs: ["catalogAllowLegend", "catalog", "store", "map", "toggleCollapsedGroup"], outputs: ["catalogAllowLegendChange"] }, { kind: "pipe", type: AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
382
382
|
};
|
|
383
383
|
CatalogBrowserToolComponent = __decorate([
|
|
384
384
|
ToolComponent({
|
|
@@ -387,22 +387,20 @@ CatalogBrowserToolComponent = __decorate([
|
|
|
387
387
|
parent: 'catalog'
|
|
388
388
|
})
|
|
389
389
|
], CatalogBrowserToolComponent);
|
|
390
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
390
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CatalogBrowserToolComponent, decorators: [{
|
|
391
391
|
type: Component,
|
|
392
|
-
args: [{ selector: 'igo-catalog-browser-tool', changeDetection: ChangeDetectionStrategy.OnPush, imports: [CatalogBrowserComponent, AsyncPipe], template: "@if (store$ | async; as store) {\n <igo-catalog-browser\n [catalog]=\"catalog\"\n [store]=\"store\"\n [map]=\"map\"\n [toggleCollapsedGroup]=\"toggleCollapsedGroup\"\n
|
|
393
|
-
}], propDecorators: { toggleCollapsedGroup: [{
|
|
394
|
-
type: Input
|
|
395
|
-
}] } });
|
|
392
|
+
args: [{ selector: 'igo-catalog-browser-tool', changeDetection: ChangeDetectionStrategy.OnPush, imports: [CatalogBrowserComponent, AsyncPipe], template: "@if (store$ | async; as store) {\n <igo-catalog-browser\n [catalog]=\"catalog\"\n [store]=\"store\"\n [map]=\"map\"\n [toggleCollapsedGroup]=\"toggleCollapsedGroup()\"\n />\n}\n" }]
|
|
393
|
+
}], propDecorators: { toggleCollapsedGroup: [{ type: i0.Input, args: [{ isSignal: true, alias: "toggleCollapsedGroup", required: false }] }] } });
|
|
396
394
|
|
|
397
395
|
/**
|
|
398
396
|
* @deprecated import the CatalogBrowserToolComponent directly
|
|
399
397
|
*/
|
|
400
398
|
class IgoAppCatalogBrowserToolModule {
|
|
401
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
402
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.
|
|
403
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.
|
|
399
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: IgoAppCatalogBrowserToolModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
400
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.16", ngImport: i0, type: IgoAppCatalogBrowserToolModule, imports: [CatalogBrowserToolComponent], exports: [CatalogBrowserToolComponent] });
|
|
401
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: IgoAppCatalogBrowserToolModule, imports: [CatalogBrowserToolComponent] });
|
|
404
402
|
}
|
|
405
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
403
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: IgoAppCatalogBrowserToolModule, decorators: [{
|
|
406
404
|
type: NgModule,
|
|
407
405
|
args: [{
|
|
408
406
|
imports: [CatalogBrowserToolComponent],
|
|
@@ -436,10 +434,10 @@ class ImportExportState {
|
|
|
436
434
|
setsExportOptions(exportOptions) {
|
|
437
435
|
this.exportOptions$.next(exportOptions);
|
|
438
436
|
}
|
|
439
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
440
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
437
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ImportExportState, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
438
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ImportExportState, providedIn: 'root' });
|
|
441
439
|
}
|
|
442
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
440
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ImportExportState, decorators: [{
|
|
443
441
|
type: Injectable,
|
|
444
442
|
args: [{
|
|
445
443
|
providedIn: 'root'
|
|
@@ -481,10 +479,10 @@ class ToolState {
|
|
|
481
479
|
this.openSidenav$.next(true);
|
|
482
480
|
}
|
|
483
481
|
}
|
|
484
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
485
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
482
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ToolState, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
483
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ToolState, providedIn: 'root' });
|
|
486
484
|
}
|
|
487
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
485
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ToolState, decorators: [{
|
|
488
486
|
type: Injectable,
|
|
489
487
|
args: [{
|
|
490
488
|
providedIn: 'root'
|
|
@@ -610,15 +608,15 @@ let CatalogLibraryToolComponent = class CatalogLibraryToolComponent {
|
|
|
610
608
|
/**
|
|
611
609
|
* Determine if the form to add a catalog is allowed
|
|
612
610
|
*/
|
|
613
|
-
addCatalogAllowed = false;
|
|
611
|
+
addCatalogAllowed = input(false, ...(ngDevMode ? [{ debugName: "addCatalogAllowed" }] : []));
|
|
614
612
|
/**
|
|
615
613
|
* Determine if the export button is shown
|
|
616
614
|
*/
|
|
617
|
-
exportButton = false;
|
|
615
|
+
exportButton = input(false, ...(ngDevMode ? [{ debugName: "exportButton" }] : []));
|
|
618
616
|
/**
|
|
619
617
|
* List of predefined catalogs
|
|
620
618
|
*/
|
|
621
|
-
predefinedCatalogs = [];
|
|
619
|
+
predefinedCatalogs = input([], ...(ngDevMode ? [{ debugName: "predefinedCatalogs" }] : []));
|
|
622
620
|
set selectedCatalogId(id) {
|
|
623
621
|
this.storageService.set('selectedCatalogId', id, StorageScope.SESSION);
|
|
624
622
|
}
|
|
@@ -789,8 +787,8 @@ let CatalogLibraryToolComponent = class CatalogLibraryToolComponent {
|
|
|
789
787
|
const documentName = this.languageService.translate.instant('igo.integration.catalog.listExport.documentName', { value: formatDate(Date.now(), 'YYYY-MM-dd-H_mm', 'en-US') });
|
|
790
788
|
writeExcelFile(workBook, documentName, { compression: true });
|
|
791
789
|
}
|
|
792
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
793
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.
|
|
790
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CatalogLibraryToolComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
791
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.16", type: CatalogLibraryToolComponent, isStandalone: true, selector: "igo-catalog-library-tool", inputs: { addCatalogAllowed: { classPropertyName: "addCatalogAllowed", publicName: "addCatalogAllowed", isSignal: true, isRequired: false, transformFunction: null }, exportButton: { classPropertyName: "exportButton", publicName: "exportButton", isSignal: true, isRequired: false, transformFunction: null }, predefinedCatalogs: { classPropertyName: "predefinedCatalogs", publicName: "predefinedCatalogs", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<igo-catalog-library\n [predefinedCatalogs]=\"predefinedCatalogs()\"\n [addCatalogAllowed]=\"addCatalogAllowed()\"\n [store]=\"store\"\n (catalogSelectChange)=\"onCatalogSelectChange($event)\"\n/>\n@if (exportButton()) {\n <div class=\"get-catalog-list-button\">\n <button\n matButton=\"elevated\"\n [matTooltip]=\"\n 'igo.integration.catalog.library.getCatalogList' | translate\n \"\n matTooltipPosition=\"above\"\n color=\"primary\"\n (click)=\"getCatalogList()\"\n >\n {{ 'igo.integration.catalog.library.getCatalogList' | translate }}\n </button>\n </div>\n}\n", styles: [".get-catalog-list-button{display:flex;justify-content:center;align-items:center}\n"], dependencies: [{ kind: "component", type: CatalogLibraryComponent, selector: "igo-catalog-library", inputs: ["store", "map", "addCatalogAllowed", "predefinedCatalogs"], outputs: ["predefinedCatalogsChange", "catalogSelectChange"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i1.MatButton, selector: " button[matButton], a[matButton], button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button], a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button] ", inputs: ["matButton"], exportAs: ["matButton", "matAnchor"] }, { kind: "ngmodule", type: MatTooltipModule }, { kind: "directive", type: i2.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i3$1.TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
794
792
|
};
|
|
795
793
|
CatalogLibraryToolComponent = __decorate([
|
|
796
794
|
ToolComponent({
|
|
@@ -799,31 +797,25 @@ CatalogLibraryToolComponent = __decorate([
|
|
|
799
797
|
icon: 'library_add'
|
|
800
798
|
})
|
|
801
799
|
], CatalogLibraryToolComponent);
|
|
802
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
800
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CatalogLibraryToolComponent, decorators: [{
|
|
803
801
|
type: Component,
|
|
804
802
|
args: [{ selector: 'igo-catalog-library-tool', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [
|
|
805
803
|
CatalogLibraryComponent,
|
|
806
804
|
MatButtonModule,
|
|
807
805
|
MatTooltipModule,
|
|
808
806
|
TranslateModule
|
|
809
|
-
], template: "<igo-catalog-library\n [predefinedCatalogs]=\"predefinedCatalogs\"\n [addCatalogAllowed]=\"addCatalogAllowed\"\n [store]=\"store\"\n (catalogSelectChange)=\"onCatalogSelectChange($event)\"\n
|
|
810
|
-
}], propDecorators: { addCatalogAllowed: [{
|
|
811
|
-
type: Input
|
|
812
|
-
}], exportButton: [{
|
|
813
|
-
type: Input
|
|
814
|
-
}], predefinedCatalogs: [{
|
|
815
|
-
type: Input
|
|
816
|
-
}] } });
|
|
807
|
+
], template: "<igo-catalog-library\n [predefinedCatalogs]=\"predefinedCatalogs()\"\n [addCatalogAllowed]=\"addCatalogAllowed()\"\n [store]=\"store\"\n (catalogSelectChange)=\"onCatalogSelectChange($event)\"\n/>\n@if (exportButton()) {\n <div class=\"get-catalog-list-button\">\n <button\n matButton=\"elevated\"\n [matTooltip]=\"\n 'igo.integration.catalog.library.getCatalogList' | translate\n \"\n matTooltipPosition=\"above\"\n color=\"primary\"\n (click)=\"getCatalogList()\"\n >\n {{ 'igo.integration.catalog.library.getCatalogList' | translate }}\n </button>\n </div>\n}\n", styles: [".get-catalog-list-button{display:flex;justify-content:center;align-items:center}\n"] }]
|
|
808
|
+
}], propDecorators: { addCatalogAllowed: [{ type: i0.Input, args: [{ isSignal: true, alias: "addCatalogAllowed", required: false }] }], exportButton: [{ type: i0.Input, args: [{ isSignal: true, alias: "exportButton", required: false }] }], predefinedCatalogs: [{ type: i0.Input, args: [{ isSignal: true, alias: "predefinedCatalogs", required: false }] }] } });
|
|
817
809
|
|
|
818
810
|
/**
|
|
819
811
|
* @deprecated import the CatalogLibraryToolComponent directly
|
|
820
812
|
*/
|
|
821
813
|
class IgoAppCatalogLibraryToolModule {
|
|
822
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
823
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.
|
|
824
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.
|
|
814
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: IgoAppCatalogLibraryToolModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
815
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.16", ngImport: i0, type: IgoAppCatalogLibraryToolModule, imports: [CatalogLibraryToolComponent], exports: [CatalogLibraryToolComponent] });
|
|
816
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: IgoAppCatalogLibraryToolModule, imports: [CatalogLibraryToolComponent] });
|
|
825
817
|
}
|
|
826
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
818
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: IgoAppCatalogLibraryToolModule, decorators: [{
|
|
827
819
|
type: NgModule,
|
|
828
820
|
args: [{
|
|
829
821
|
imports: [CatalogLibraryToolComponent],
|
|
@@ -835,11 +827,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.14", ngImpo
|
|
|
835
827
|
* @deprecated import the components directly
|
|
836
828
|
*/
|
|
837
829
|
class IgoAppCatalogModule {
|
|
838
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
839
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.
|
|
840
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.
|
|
830
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: IgoAppCatalogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
831
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.16", ngImport: i0, type: IgoAppCatalogModule, exports: [IgoAppCatalogLibraryToolModule, IgoAppCatalogBrowserToolModule] });
|
|
832
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: IgoAppCatalogModule, imports: [IgoAppCatalogLibraryToolModule, IgoAppCatalogBrowserToolModule] });
|
|
841
833
|
}
|
|
842
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
834
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: IgoAppCatalogModule, decorators: [{
|
|
843
835
|
type: NgModule,
|
|
844
836
|
args: [{
|
|
845
837
|
exports: [IgoAppCatalogLibraryToolModule, IgoAppCatalogBrowserToolModule]
|
|
@@ -851,8 +843,8 @@ let ContextEditorToolComponent = class ContextEditorToolComponent {
|
|
|
851
843
|
submitSuccessed() {
|
|
852
844
|
this.toolState.toolbox.activatePreviousTool();
|
|
853
845
|
}
|
|
854
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
855
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
846
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ContextEditorToolComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
847
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: ContextEditorToolComponent, isStandalone: true, selector: "igo-context-editor-tool", ngImport: i0, template: "<igo-context-edit (submitSuccessed)=\"submitSuccessed()\" />\n", dependencies: [{ kind: "component", type: ContextEditComponent, selector: "igo-context-edit", outputs: ["submitSuccessed"] }] });
|
|
856
848
|
};
|
|
857
849
|
ContextEditorToolComponent = __decorate([
|
|
858
850
|
ToolComponent({
|
|
@@ -862,26 +854,28 @@ ContextEditorToolComponent = __decorate([
|
|
|
862
854
|
parent: 'contextManager'
|
|
863
855
|
})
|
|
864
856
|
], ContextEditorToolComponent);
|
|
865
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
857
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ContextEditorToolComponent, decorators: [{
|
|
866
858
|
type: Component,
|
|
867
|
-
args: [{ selector: 'igo-context-editor-tool', imports: [ContextEditComponent
|
|
859
|
+
args: [{ selector: 'igo-context-editor-tool', imports: [ContextEditComponent], template: "<igo-context-edit (submitSuccessed)=\"submitSuccessed()\" />\n" }]
|
|
868
860
|
}] });
|
|
869
861
|
|
|
870
862
|
let ContextManagerToolComponent = class ContextManagerToolComponent {
|
|
871
863
|
toolState = inject(ToolState);
|
|
872
864
|
mapState = inject(MapState);
|
|
873
|
-
|
|
865
|
+
mediaService = inject(MediaService);
|
|
866
|
+
toolToOpenOnContextChange = input('mapTools', ...(ngDevMode ? [{ debugName: "toolToOpenOnContextChange" }] : []));
|
|
874
867
|
get map() {
|
|
875
868
|
return this.mapState.map;
|
|
876
869
|
}
|
|
870
|
+
isDesktop = toSignal(this.mediaService.media$.pipe(map$1((value) => value === Media.Desktop)));
|
|
877
871
|
editContext() {
|
|
878
872
|
this.toolState.toolbox.activateTool('contextEditor');
|
|
879
873
|
}
|
|
880
874
|
managePermissions() {
|
|
881
875
|
this.toolState.toolbox.activateTool('contextPermissionManager');
|
|
882
876
|
}
|
|
883
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
884
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
877
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ContextManagerToolComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
878
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.3.16", type: ContextManagerToolComponent, isStandalone: true, selector: "igo-context-manager-tool", inputs: { toolToOpenOnContextChange: { classPropertyName: "toolToOpenOnContextChange", publicName: "toolToOpenOnContextChange", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<igo-context-list\n [map]=\"map\"\n (edit)=\"editContext()\"\n (managePermissions)=\"managePermissions()\"\n [isDesktop]=\"isDesktop()\"\n/>\n", dependencies: [{ kind: "component", type: ContextListComponent, selector: "igo-context-list", inputs: ["isDesktop", "contexts", "selectedContext", "map", "defaultContextId", "term"], outputs: ["selectedContextChange", "select", "unselect", "edit", "delete", "save", "clone", "create", "hide", "show", "showHiddenContexts", "favorite", "managePermissions", "manageTools", "filterPermissionsChanged"] }] });
|
|
885
879
|
};
|
|
886
880
|
ContextManagerToolComponent = __decorate([
|
|
887
881
|
ToolComponent({
|
|
@@ -890,16 +884,14 @@ ContextManagerToolComponent = __decorate([
|
|
|
890
884
|
icon: 'star'
|
|
891
885
|
})
|
|
892
886
|
], ContextManagerToolComponent);
|
|
893
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
887
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ContextManagerToolComponent, decorators: [{
|
|
894
888
|
type: Component,
|
|
895
|
-
args: [{ selector: 'igo-context-manager-tool', imports: [ContextListComponent
|
|
896
|
-
}], propDecorators: { toolToOpenOnContextChange: [{
|
|
897
|
-
type: Input
|
|
898
|
-
}] } });
|
|
889
|
+
args: [{ selector: 'igo-context-manager-tool', imports: [ContextListComponent], template: "<igo-context-list\n [map]=\"map\"\n (edit)=\"editContext()\"\n (managePermissions)=\"managePermissions()\"\n [isDesktop]=\"isDesktop()\"\n/>\n" }]
|
|
890
|
+
}], propDecorators: { toolToOpenOnContextChange: [{ type: i0.Input, args: [{ isSignal: true, alias: "toolToOpenOnContextChange", required: false }] }] } });
|
|
899
891
|
|
|
900
892
|
let ContextPermissionManagerToolComponent = class ContextPermissionManagerToolComponent {
|
|
901
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
902
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
893
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ContextPermissionManagerToolComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
894
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: ContextPermissionManagerToolComponent, isStandalone: true, selector: "igo-context-permission-manager-tool", ngImport: i0, template: "<igo-context-permissions igoContextPermissionsBinding />\n", dependencies: [{ kind: "component", type: ContextPermissionsComponent, selector: "igo-context-permissions", inputs: ["context", "permissions"], outputs: ["contextChange", "permissionsChange", "addPermission", "removePermission", "scopeChanged"] }, { kind: "directive", type: ContextPermissionsBindingDirective, selector: "[igoContextPermissionsBinding]" }] });
|
|
903
895
|
};
|
|
904
896
|
ContextPermissionManagerToolComponent = __decorate([
|
|
905
897
|
ToolComponent({
|
|
@@ -909,9 +901,9 @@ ContextPermissionManagerToolComponent = __decorate([
|
|
|
909
901
|
parent: 'contextManager'
|
|
910
902
|
})
|
|
911
903
|
], ContextPermissionManagerToolComponent);
|
|
912
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
904
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ContextPermissionManagerToolComponent, decorators: [{
|
|
913
905
|
type: Component,
|
|
914
|
-
args: [{ selector: 'igo-context-permission-manager-tool', imports: [ContextPermissionsComponent, ContextPermissionsBindingDirective], template: "<igo-context-permissions igoContextPermissionsBinding
|
|
906
|
+
args: [{ selector: 'igo-context-permission-manager-tool', imports: [ContextPermissionsComponent, ContextPermissionsBindingDirective], template: "<igo-context-permissions igoContextPermissionsBinding />\n" }]
|
|
915
907
|
}] });
|
|
916
908
|
|
|
917
909
|
/**
|
|
@@ -941,10 +933,10 @@ class LayerListToolState {
|
|
|
941
933
|
sortAlpha: this.sortAlpha$.value
|
|
942
934
|
};
|
|
943
935
|
}
|
|
944
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
945
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
936
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: LayerListToolState, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
937
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: LayerListToolState, providedIn: 'root' });
|
|
946
938
|
}
|
|
947
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
939
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: LayerListToolState, decorators: [{
|
|
948
940
|
type: Injectable,
|
|
949
941
|
args: [{
|
|
950
942
|
providedIn: 'root'
|
|
@@ -960,8 +952,8 @@ let ContextShareToolComponent = class ContextShareToolComponent {
|
|
|
960
952
|
get layerListControls() {
|
|
961
953
|
return this.layerListToolState.getLayerListControls();
|
|
962
954
|
}
|
|
963
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
964
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
955
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ContextShareToolComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
956
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: ContextShareToolComponent, isStandalone: true, selector: "igo-context-share-tool", ngImport: i0, template: "<igo-share-map [map]=\"map\" />\n", dependencies: [{ kind: "component", type: ShareMapComponent, selector: "igo-share-map", inputs: ["map"] }] });
|
|
965
957
|
};
|
|
966
958
|
ContextShareToolComponent = __decorate([
|
|
967
959
|
ToolComponent({
|
|
@@ -970,9 +962,9 @@ ContextShareToolComponent = __decorate([
|
|
|
970
962
|
icon: 'share'
|
|
971
963
|
})
|
|
972
964
|
], ContextShareToolComponent);
|
|
973
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
965
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ContextShareToolComponent, decorators: [{
|
|
974
966
|
type: Component,
|
|
975
|
-
args: [{ selector: 'igo-context-share-tool', imports: [ShareMapComponent], template: "<igo-share-map [map]=\"map\"
|
|
967
|
+
args: [{ selector: 'igo-context-share-tool', imports: [ShareMapComponent], template: "<igo-share-map [map]=\"map\" />\n" }]
|
|
976
968
|
}] });
|
|
977
969
|
|
|
978
970
|
const INTEGRATION_CONTEXT_DIRECTIVES = [
|
|
@@ -986,11 +978,11 @@ const INTEGRATION_CONTEXT_DIRECTIVES = [
|
|
|
986
978
|
* @deprecated import the components/directive directly or INTEGRATION_CONTEXT_DIRECTIVES for the set
|
|
987
979
|
*/
|
|
988
980
|
class IgoAppContextModule {
|
|
989
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
990
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.
|
|
991
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.
|
|
981
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: IgoAppContextModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
982
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.16", ngImport: i0, type: IgoAppContextModule, imports: [ContextEditorToolComponent, ContextManagerToolComponent, ContextPermissionManagerToolComponent, ContextShareToolComponent], exports: [ContextEditorToolComponent, ContextManagerToolComponent, ContextPermissionManagerToolComponent, ContextShareToolComponent] });
|
|
983
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: IgoAppContextModule, imports: [INTEGRATION_CONTEXT_DIRECTIVES] });
|
|
992
984
|
}
|
|
993
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
985
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: IgoAppContextModule, decorators: [{
|
|
994
986
|
type: NgModule,
|
|
995
987
|
args: [{
|
|
996
988
|
imports: [...INTEGRATION_CONTEXT_DIRECTIVES],
|
|
@@ -1069,10 +1061,10 @@ class ContextState {
|
|
|
1069
1061
|
}
|
|
1070
1062
|
this.setContext(context);
|
|
1071
1063
|
}
|
|
1072
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1073
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
1064
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ContextState, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1065
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ContextState, providedIn: 'root' });
|
|
1074
1066
|
}
|
|
1075
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1067
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ContextState, decorators: [{
|
|
1076
1068
|
type: Injectable,
|
|
1077
1069
|
args: [{
|
|
1078
1070
|
providedIn: 'root'
|
|
@@ -1084,7 +1076,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.14", ngImpo
|
|
|
1084
1076
|
*/
|
|
1085
1077
|
class DirectionState {
|
|
1086
1078
|
mapState = inject(MapState);
|
|
1087
|
-
zoomToActiveRoute
|
|
1079
|
+
zoomToActiveRoute = signal(false, ...(ngDevMode ? [{ debugName: "zoomToActiveRoute" }] : []));
|
|
1088
1080
|
/**
|
|
1089
1081
|
* Store that holds the stop
|
|
1090
1082
|
*/
|
|
@@ -1119,10 +1111,10 @@ class DirectionState {
|
|
|
1119
1111
|
}
|
|
1120
1112
|
});
|
|
1121
1113
|
}
|
|
1122
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1123
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
1114
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: DirectionState, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1115
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: DirectionState, providedIn: 'root' });
|
|
1124
1116
|
}
|
|
1125
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1117
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: DirectionState, decorators: [{
|
|
1126
1118
|
type: Injectable,
|
|
1127
1119
|
args: [{
|
|
1128
1120
|
providedIn: 'root'
|
|
@@ -1132,7 +1124,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.14", ngImpo
|
|
|
1132
1124
|
let DirectionsToolComponent = class DirectionsToolComponent {
|
|
1133
1125
|
directionState = inject(DirectionState);
|
|
1134
1126
|
mapState = inject(MapState);
|
|
1135
|
-
languageService = inject(LanguageService);
|
|
1136
1127
|
messageService = inject(MessageService);
|
|
1137
1128
|
storageService = inject(StorageService);
|
|
1138
1129
|
contextState = inject(ContextState);
|
|
@@ -1162,19 +1153,11 @@ let DirectionsToolComponent = class DirectionsToolComponent {
|
|
|
1162
1153
|
get routesFeatureStore() {
|
|
1163
1154
|
return this.directionState.routesFeatureStore;
|
|
1164
1155
|
}
|
|
1165
|
-
/**
|
|
1166
|
-
* step store
|
|
1167
|
-
* @internal
|
|
1168
|
-
*/
|
|
1169
1156
|
get stepFeatureStore() {
|
|
1170
1157
|
return this.directionState.stepFeatureStore;
|
|
1171
1158
|
}
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
* @internal
|
|
1175
|
-
*/
|
|
1176
|
-
get zoomOnActiveRoute$() {
|
|
1177
|
-
return this.directionState.zoomToActiveRoute$;
|
|
1159
|
+
get zoomOnActiveRoute() {
|
|
1160
|
+
return this.directionState.zoomToActiveRoute;
|
|
1178
1161
|
}
|
|
1179
1162
|
get authenticated$() {
|
|
1180
1163
|
return this.authService.authenticate$;
|
|
@@ -1198,8 +1181,8 @@ let DirectionsToolComponent = class DirectionsToolComponent {
|
|
|
1198
1181
|
}
|
|
1199
1182
|
});
|
|
1200
1183
|
}
|
|
1201
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1202
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
1184
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: DirectionsToolComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1185
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: DirectionsToolComponent, isStandalone: true, selector: "igo-directions-tool", ngImport: i0, template: "<igo-directions\n [contextUri]=\"currentContextUri\"\n [debounce]=\"debounceTime\"\n [stopsStore]=\"stopsStore\"\n [stopsFeatureStore]=\"stopsFeatureStore\"\n [stepsFeatureStore]=\"stepFeatureStore\"\n [routesFeatureStore]=\"routesFeatureStore\"\n [zoomOnActiveRoute]=\"false\"\n [authenticated$]=\"authenticated$\"\n/>\n", dependencies: [{ kind: "ngmodule", type: IgoDirectionsModule }, { kind: "component", type: i1$1.DirectionsComponent, selector: "igo-directions", inputs: ["contextUri", "stopsStore", "stopsFeatureStore", "routesFeatureStore", "stepsFeatureStore", "debounce", "length", "coordRoundedDecimals", "zoomOnActiveRoute", "authenticated$"] }] });
|
|
1203
1186
|
};
|
|
1204
1187
|
DirectionsToolComponent = __decorate([
|
|
1205
1188
|
ToolComponent({
|
|
@@ -1208,9 +1191,9 @@ DirectionsToolComponent = __decorate([
|
|
|
1208
1191
|
icon: 'directions'
|
|
1209
1192
|
})
|
|
1210
1193
|
], DirectionsToolComponent);
|
|
1211
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1194
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: DirectionsToolComponent, decorators: [{
|
|
1212
1195
|
type: Component,
|
|
1213
|
-
args: [{ selector: 'igo-directions-tool', imports: [IgoDirectionsModule], template: "<igo-directions\n [contextUri]=\"currentContextUri\"\n [debounce]=\"debounceTime\"\n [stopsStore]=\"stopsStore\"\n [stopsFeatureStore]=\"stopsFeatureStore\"\n [stepsFeatureStore]=\"stepFeatureStore\"\n [routesFeatureStore]=\"routesFeatureStore\"\n [zoomOnActiveRoute
|
|
1196
|
+
args: [{ selector: 'igo-directions-tool', imports: [IgoDirectionsModule], template: "<igo-directions\n [contextUri]=\"currentContextUri\"\n [debounce]=\"debounceTime\"\n [stopsStore]=\"stopsStore\"\n [stopsFeatureStore]=\"stopsFeatureStore\"\n [stepsFeatureStore]=\"stepFeatureStore\"\n [routesFeatureStore]=\"routesFeatureStore\"\n [zoomOnActiveRoute]=\"false\"\n [authenticated$]=\"authenticated$\"\n/>\n" }]
|
|
1214
1197
|
}] });
|
|
1215
1198
|
|
|
1216
1199
|
/**
|
|
@@ -1223,11 +1206,11 @@ class IgoAppDirectionsModule {
|
|
|
1223
1206
|
providers: []
|
|
1224
1207
|
};
|
|
1225
1208
|
}
|
|
1226
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1227
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.
|
|
1228
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.
|
|
1209
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: IgoAppDirectionsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1210
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.16", ngImport: i0, type: IgoAppDirectionsModule, imports: [DirectionsToolComponent], exports: [DirectionsToolComponent] });
|
|
1211
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: IgoAppDirectionsModule, imports: [DirectionsToolComponent] });
|
|
1229
1212
|
}
|
|
1230
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1213
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: IgoAppDirectionsModule, decorators: [{
|
|
1231
1214
|
type: NgModule,
|
|
1232
1215
|
args: [{
|
|
1233
1216
|
imports: [DirectionsToolComponent],
|
|
@@ -1249,8 +1232,10 @@ class DrawState {
|
|
|
1249
1232
|
this.layersID.forEach((layerId) => {
|
|
1250
1233
|
if (!this.mapState.map.layerController.getById(layerId)) {
|
|
1251
1234
|
const deletedStore = this.stores.find((store) => store.layer.id === layerId);
|
|
1252
|
-
|
|
1253
|
-
|
|
1235
|
+
if (deletedStore) {
|
|
1236
|
+
deletedStore.deleteMany(deletedStore.all());
|
|
1237
|
+
this.stores.splice(this.stores.indexOf(deletedStore, 0), 1);
|
|
1238
|
+
}
|
|
1254
1239
|
this.layersID.splice(this.layersID.indexOf(layerId, 0), 1);
|
|
1255
1240
|
const drawControlIndex = this.drawControls.findIndex((dc) => dc[0] === layerId);
|
|
1256
1241
|
this.drawControls.splice(drawControlIndex, 1);
|
|
@@ -1262,10 +1247,10 @@ class DrawState {
|
|
|
1262
1247
|
store = new FeatureStore([], { map: this.mapState.map });
|
|
1263
1248
|
}
|
|
1264
1249
|
}
|
|
1265
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1266
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
1250
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: DrawState, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1251
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: DrawState, providedIn: 'root' });
|
|
1267
1252
|
}
|
|
1268
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1253
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: DrawState, decorators: [{
|
|
1269
1254
|
type: Injectable,
|
|
1270
1255
|
args: [{
|
|
1271
1256
|
providedIn: 'root'
|
|
@@ -1313,8 +1298,8 @@ let DrawingToolComponent = class DrawingToolComponent {
|
|
|
1313
1298
|
addDrawControls(dc) {
|
|
1314
1299
|
this.drawControls = dc;
|
|
1315
1300
|
}
|
|
1316
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1317
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
1301
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: DrawingToolComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1302
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", 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", dependencies: [{ kind: "component", type: DrawComponent, selector: "igo-draw", inputs: ["map", "stores", "drawControls", "activeDrawingLayer"], outputs: ["storesChange", "drawControlsChange", "activeDrawingLayerChange", "activeLayerChange", "drawControlsEvent", "layersIDEvent"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1318
1303
|
};
|
|
1319
1304
|
DrawingToolComponent = __decorate([
|
|
1320
1305
|
ToolComponent({
|
|
@@ -1323,20 +1308,20 @@ DrawingToolComponent = __decorate([
|
|
|
1323
1308
|
icon: 'stylus_note'
|
|
1324
1309
|
})
|
|
1325
1310
|
], DrawingToolComponent);
|
|
1326
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1311
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: DrawingToolComponent, decorators: [{
|
|
1327
1312
|
type: Component,
|
|
1328
|
-
args: [{ selector: 'igo-drawing-tool', changeDetection: ChangeDetectionStrategy.OnPush, 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
|
|
1313
|
+
args: [{ selector: 'igo-drawing-tool', changeDetection: ChangeDetectionStrategy.OnPush, 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" }]
|
|
1329
1314
|
}] });
|
|
1330
1315
|
|
|
1331
1316
|
/**
|
|
1332
1317
|
* @deprecated import the DrawingToolComponent directly
|
|
1333
1318
|
*/
|
|
1334
1319
|
class IgoAppDrawingToolModule {
|
|
1335
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1336
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.
|
|
1337
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.
|
|
1320
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: IgoAppDrawingToolModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1321
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.16", ngImport: i0, type: IgoAppDrawingToolModule, imports: [DrawingToolComponent], exports: [DrawingToolComponent] });
|
|
1322
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: IgoAppDrawingToolModule, imports: [DrawingToolComponent] });
|
|
1338
1323
|
}
|
|
1339
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1324
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: IgoAppDrawingToolModule, decorators: [{
|
|
1340
1325
|
type: NgModule,
|
|
1341
1326
|
args: [{
|
|
1342
1327
|
imports: [DrawingToolComponent],
|
|
@@ -1348,11 +1333,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.14", ngImpo
|
|
|
1348
1333
|
* @deprecated import the DrawingToolComponent directly
|
|
1349
1334
|
*/
|
|
1350
1335
|
class IgoAppDrawModule {
|
|
1351
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1352
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.
|
|
1353
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.
|
|
1336
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: IgoAppDrawModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1337
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.16", ngImport: i0, type: IgoAppDrawModule, exports: [IgoAppDrawingToolModule] });
|
|
1338
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: IgoAppDrawModule, imports: [IgoAppDrawingToolModule] });
|
|
1354
1339
|
}
|
|
1355
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1340
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: IgoAppDrawModule, decorators: [{
|
|
1356
1341
|
type: NgModule,
|
|
1357
1342
|
args: [{
|
|
1358
1343
|
exports: [IgoAppDrawingToolModule]
|
|
@@ -1382,8 +1367,8 @@ let ActiveOgcFilterToolComponent = class ActiveOgcFilterToolComponent {
|
|
|
1382
1367
|
return;
|
|
1383
1368
|
}
|
|
1384
1369
|
animate = 'enter';
|
|
1385
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1386
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
1370
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ActiveOgcFilterToolComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1371
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", 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", dependencies: [{ kind: "component", type: OgcFilterableItemComponent, selector: "igo-ogc-filterable-item", inputs: ["layer", "map", "header"] }], animations: [toolSlideInOut$1()] });
|
|
1387
1372
|
};
|
|
1388
1373
|
ActiveOgcFilterToolComponent = __decorate([
|
|
1389
1374
|
ToolComponent({
|
|
@@ -1393,9 +1378,9 @@ ActiveOgcFilterToolComponent = __decorate([
|
|
|
1393
1378
|
parent: 'mapTools'
|
|
1394
1379
|
})
|
|
1395
1380
|
], ActiveOgcFilterToolComponent);
|
|
1396
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1381
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ActiveOgcFilterToolComponent, decorators: [{
|
|
1397
1382
|
type: Component,
|
|
1398
|
-
args: [{ selector: 'igo-active-ogc-filter-tool', animations: [toolSlideInOut$1()], imports: [OgcFilterableItemComponent], template: "<igo-ogc-filterable-item\n [map]=\"map\"\n [layer]=\"layer\"\n [header]=\"false\"\n [@toolSlideInOut]=\"animate\"\n
|
|
1383
|
+
args: [{ selector: 'igo-active-ogc-filter-tool', animations: [toolSlideInOut$1()], imports: [OgcFilterableItemComponent], template: "<igo-ogc-filterable-item\n [map]=\"map\"\n [layer]=\"layer\"\n [header]=\"false\"\n [@toolSlideInOut]=\"animate\"\n/>\n" }]
|
|
1399
1384
|
}] });
|
|
1400
1385
|
|
|
1401
1386
|
function toolSlideInOut(speed = '300ms', type = 'ease-in-out') {
|
|
@@ -1421,8 +1406,8 @@ let ActiveTimeFilterToolComponent = class ActiveTimeFilterToolComponent {
|
|
|
1421
1406
|
return;
|
|
1422
1407
|
}
|
|
1423
1408
|
animate = 'enter';
|
|
1424
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1425
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
1409
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ActiveTimeFilterToolComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1410
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: ActiveTimeFilterToolComponent, isStandalone: true, selector: "igo-active-time-filter-tool", ngImport: i0, template: "<igo-time-filter-item\n [layer]=\"layer\"\n [header]=\"false\"\n [@toolSlideInOut]=\"animate\"\n/>\n", dependencies: [{ kind: "component", type: TimeFilterItemComponent, selector: "igo-time-filter-item", inputs: ["header", "layer"] }], animations: [toolSlideInOut()] });
|
|
1426
1411
|
};
|
|
1427
1412
|
ActiveTimeFilterToolComponent = __decorate([
|
|
1428
1413
|
ToolComponent({
|
|
@@ -1432,14 +1417,14 @@ ActiveTimeFilterToolComponent = __decorate([
|
|
|
1432
1417
|
parent: 'mapTools'
|
|
1433
1418
|
})
|
|
1434
1419
|
], ActiveTimeFilterToolComponent);
|
|
1435
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1420
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ActiveTimeFilterToolComponent, decorators: [{
|
|
1436
1421
|
type: Component,
|
|
1437
|
-
args: [{ selector: 'igo-active-time-filter-tool', animations: [toolSlideInOut()], imports: [TimeFilterItemComponent], template: "<igo-time-filter-item\n [layer]=\"layer\"\n [header]=\"false\"\n [@toolSlideInOut]=\"animate\"\n
|
|
1422
|
+
args: [{ selector: 'igo-active-time-filter-tool', animations: [toolSlideInOut()], imports: [TimeFilterItemComponent], template: "<igo-time-filter-item\n [layer]=\"layer\"\n [header]=\"false\"\n [@toolSlideInOut]=\"animate\"\n/>\n" }]
|
|
1438
1423
|
}] });
|
|
1439
1424
|
|
|
1440
1425
|
let OgcFilterToolComponent = class OgcFilterToolComponent {
|
|
1441
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1442
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
1426
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: OgcFilterToolComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1427
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: OgcFilterToolComponent, isStandalone: true, selector: "igo-ogc-filter-tool", ngImport: i0, template: "<igo-ogc-filterable-list igoOgcFilterableListBinding />\n", dependencies: [{ kind: "component", type: OgcFilterableListComponent, selector: "igo-ogc-filterable-list", inputs: ["layers", "map"], outputs: ["layersChange"] }, { kind: "directive", type: OgcFilterableListBindingDirective, selector: "[igoOgcFilterableListBinding]" }] });
|
|
1443
1428
|
};
|
|
1444
1429
|
OgcFilterToolComponent = __decorate([
|
|
1445
1430
|
ToolComponent({
|
|
@@ -1448,9 +1433,9 @@ OgcFilterToolComponent = __decorate([
|
|
|
1448
1433
|
icon: 'filter'
|
|
1449
1434
|
})
|
|
1450
1435
|
], OgcFilterToolComponent);
|
|
1451
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1436
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: OgcFilterToolComponent, decorators: [{
|
|
1452
1437
|
type: Component,
|
|
1453
|
-
args: [{ selector: 'igo-ogc-filter-tool', imports: [OgcFilterableListComponent, OgcFilterableListBindingDirective], template: "<igo-ogc-filterable-list igoOgcFilterableListBinding
|
|
1438
|
+
args: [{ selector: 'igo-ogc-filter-tool', imports: [OgcFilterableListComponent, OgcFilterableListBindingDirective], template: "<igo-ogc-filterable-list igoOgcFilterableListBinding />\n" }]
|
|
1454
1439
|
}] });
|
|
1455
1440
|
|
|
1456
1441
|
/**
|
|
@@ -1461,10 +1446,10 @@ class StorageState {
|
|
|
1461
1446
|
get storageService() {
|
|
1462
1447
|
return this.igoStorageService;
|
|
1463
1448
|
}
|
|
1464
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1465
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
1449
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: StorageState, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1450
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: StorageState, providedIn: 'root' });
|
|
1466
1451
|
}
|
|
1467
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1452
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: StorageState, decorators: [{
|
|
1468
1453
|
type: Injectable,
|
|
1469
1454
|
args: [{
|
|
1470
1455
|
providedIn: 'root'
|
|
@@ -1684,10 +1669,10 @@ class EditionActionsService {
|
|
|
1684
1669
|
});
|
|
1685
1670
|
return getWorkspaceActions(workspace, rowsInMapExtentCheckCondition$, selectOnlyCheckCondition$, this.ogcFilterWidget, this.zoomAuto$, this.maximize$, this.storageService, this.languageService, this.mediaService, this.toolState);
|
|
1686
1671
|
}
|
|
1687
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1688
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
1672
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: EditionActionsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1673
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: EditionActionsService, providedIn: 'root' });
|
|
1689
1674
|
}
|
|
1690
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1675
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: EditionActionsService, decorators: [{
|
|
1691
1676
|
type: Injectable,
|
|
1692
1677
|
args: [{
|
|
1693
1678
|
providedIn: 'root'
|
|
@@ -1732,10 +1717,10 @@ class FeatureActionsService {
|
|
|
1732
1717
|
});
|
|
1733
1718
|
return getWorkspaceActions(workspace, rowsInMapExtentCheckCondition$, selectOnlyCheckCondition$, undefined, this.zoomAuto$, this.maximize$, this.storageService, this.languageService, this.mediaService, this.toolState, this.interactiveSelectionFormWidget);
|
|
1734
1719
|
}
|
|
1735
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1736
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
1720
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: FeatureActionsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1721
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: FeatureActionsService, providedIn: 'root' });
|
|
1737
1722
|
}
|
|
1738
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1723
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: FeatureActionsService, decorators: [{
|
|
1739
1724
|
type: Injectable,
|
|
1740
1725
|
args: [{
|
|
1741
1726
|
providedIn: 'root'
|
|
@@ -1783,10 +1768,10 @@ class WfsActionsService {
|
|
|
1783
1768
|
});
|
|
1784
1769
|
return getWorkspaceActions(workspace, rowsInMapExtentCheckCondition$, selectOnlyCheckCondition$, this.ogcFilterWidget, this.zoomAuto$, this.maximize$, this.storageService, this.languageService, this.mediaService, this.toolState, this.interactiveSelectionFormWidget);
|
|
1785
1770
|
}
|
|
1786
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1787
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
1771
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: WfsActionsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1772
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: WfsActionsService, providedIn: 'root' });
|
|
1788
1773
|
}
|
|
1789
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1774
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: WfsActionsService, decorators: [{
|
|
1790
1775
|
type: Injectable,
|
|
1791
1776
|
args: [{
|
|
1792
1777
|
providedIn: 'root'
|
|
@@ -1801,7 +1786,7 @@ class WorkspaceState {
|
|
|
1801
1786
|
wfsActionsService = inject(WfsActionsService);
|
|
1802
1787
|
editionActionsService = inject(EditionActionsService);
|
|
1803
1788
|
storageService = inject(StorageService);
|
|
1804
|
-
|
|
1789
|
+
expanded = signal(false, ...(ngDevMode ? [{ debugName: "expanded" }] : []));
|
|
1805
1790
|
workspaceEnabled$ = new BehaviorSubject(false);
|
|
1806
1791
|
rowsInMapExtentCheckCondition$ = new BehaviorSubject(true);
|
|
1807
1792
|
selectOnlyCheckCondition$ = new BehaviorSubject(false);
|
|
@@ -1970,10 +1955,10 @@ class WorkspaceState {
|
|
|
1970
1955
|
this.activeWorkspace$$.unsubscribe();
|
|
1971
1956
|
}
|
|
1972
1957
|
}
|
|
1973
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1974
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
1958
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: WorkspaceState, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1959
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: WorkspaceState, providedIn: 'root' });
|
|
1975
1960
|
}
|
|
1976
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1961
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: WorkspaceState, decorators: [{
|
|
1977
1962
|
type: Injectable,
|
|
1978
1963
|
args: [{
|
|
1979
1964
|
providedIn: 'root'
|
|
@@ -1984,7 +1969,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.14", ngImpo
|
|
|
1984
1969
|
* Tool to apply spatial filter
|
|
1985
1970
|
*/
|
|
1986
1971
|
let SpatialFilterToolComponent = class SpatialFilterToolComponent {
|
|
1987
|
-
matIconRegistry = inject(MatIconRegistry);
|
|
1988
1972
|
spatialFilterService = inject(SpatialFilterService);
|
|
1989
1973
|
layerService = inject(LayerService);
|
|
1990
1974
|
mapState = inject(MapState);
|
|
@@ -1997,30 +1981,31 @@ let SpatialFilterToolComponent = class SpatialFilterToolComponent {
|
|
|
1997
1981
|
get map() {
|
|
1998
1982
|
return this.mapState.map;
|
|
1999
1983
|
}
|
|
2000
|
-
type;
|
|
2001
|
-
itemType = SpatialFilterItemType.
|
|
2002
|
-
freehandDrawIsActive;
|
|
1984
|
+
type = model(undefined, ...(ngDevMode ? [{ debugName: "type" }] : []));
|
|
1985
|
+
itemType = model(SpatialFilterItemType.Thematics, ...(ngDevMode ? [{ debugName: "itemType" }] : []));
|
|
1986
|
+
freehandDrawIsActive = model(undefined, ...(ngDevMode ? [{ debugName: "freehandDrawIsActive" }] : []));
|
|
2003
1987
|
layers = [];
|
|
2004
1988
|
activeLayers = [];
|
|
2005
1989
|
queryType;
|
|
2006
1990
|
thematics;
|
|
2007
|
-
zone;
|
|
2008
|
-
zoneWithBuffer;
|
|
2009
1991
|
buffer = 0;
|
|
2010
1992
|
iterator = 1;
|
|
2011
1993
|
selectedFeature$ = new BehaviorSubject(undefined);
|
|
2012
|
-
format = new olFormatGeoJSON();
|
|
2013
1994
|
store = new EntityStore([]); // Store to print results at the end
|
|
2014
1995
|
spatialListStore = new EntityStore([]);
|
|
2015
1996
|
loading = false;
|
|
2016
1997
|
thematicLength = 0;
|
|
2017
1998
|
measureUnit = MeasureLengthUnit.Meters;
|
|
2018
|
-
unsubscribe$ = new Subject();
|
|
2019
1999
|
defaultStyle;
|
|
2000
|
+
zones = [];
|
|
2001
|
+
unsubscribe$ = new Subject();
|
|
2002
|
+
activePredefinedLayerZones;
|
|
2003
|
+
activeDrawLayerZones;
|
|
2020
2004
|
ngOnInit() {
|
|
2021
2005
|
for (const layer of this.map.layerController.all) {
|
|
2022
2006
|
if (layer.title &&
|
|
2023
|
-
layer.title.includes(this.languageService.translate.instant('igo.geo.spatialFilter.spatialFilter'))
|
|
2007
|
+
layer.title.includes(this.languageService.translate.instant('igo.geo.spatialFilter.spatialFilter')) &&
|
|
2008
|
+
isLayerItem(layer)) {
|
|
2024
2009
|
this.layers.push(layer);
|
|
2025
2010
|
}
|
|
2026
2011
|
}
|
|
@@ -2030,10 +2015,14 @@ let SpatialFilterToolComponent = class SpatialFilterToolComponent {
|
|
|
2030
2015
|
this.unsubscribe$.complete();
|
|
2031
2016
|
}
|
|
2032
2017
|
getOutputType(event) {
|
|
2033
|
-
this.type
|
|
2018
|
+
this.type.set(event);
|
|
2034
2019
|
this.queryType = undefined;
|
|
2035
2020
|
}
|
|
2036
2021
|
getOutputQueryType(event) {
|
|
2022
|
+
if (event !== this.queryType) {
|
|
2023
|
+
this.zones = [];
|
|
2024
|
+
this.activePredefinedLayerZones = undefined;
|
|
2025
|
+
}
|
|
2037
2026
|
this.queryType = event;
|
|
2038
2027
|
if (this.queryType) {
|
|
2039
2028
|
this.loadFilterList();
|
|
@@ -2059,7 +2048,7 @@ let SpatialFilterToolComponent = class SpatialFilterToolComponent {
|
|
|
2059
2048
|
if (!record &&
|
|
2060
2049
|
this.activeLayers.length &&
|
|
2061
2050
|
this.workspaceState.store.all().length > 1) {
|
|
2062
|
-
if (this.itemType === SpatialFilterItemType.Thematics &&
|
|
2051
|
+
if (this.itemType() === SpatialFilterItemType.Thematics &&
|
|
2063
2052
|
this.thematics) {
|
|
2064
2053
|
for (const thematic of this.thematics) {
|
|
2065
2054
|
if (!thematic.zeroResults) {
|
|
@@ -2077,7 +2066,7 @@ let SpatialFilterToolComponent = class SpatialFilterToolComponent {
|
|
|
2077
2066
|
});
|
|
2078
2067
|
}
|
|
2079
2068
|
if (layerToOpenWks) {
|
|
2080
|
-
this.workspaceState.
|
|
2069
|
+
this.workspaceState.expanded.set(true);
|
|
2081
2070
|
this.workspaceState.setActiveWorkspaceById(layerToOpenWks.id);
|
|
2082
2071
|
}
|
|
2083
2072
|
}
|
|
@@ -2124,7 +2113,7 @@ let SpatialFilterToolComponent = class SpatialFilterToolComponent {
|
|
|
2124
2113
|
this.loadThematics();
|
|
2125
2114
|
}
|
|
2126
2115
|
getOutputClearSearch() {
|
|
2127
|
-
this.
|
|
2116
|
+
this.zones = [];
|
|
2128
2117
|
this.queryType = undefined;
|
|
2129
2118
|
}
|
|
2130
2119
|
clearMap() {
|
|
@@ -2133,8 +2122,8 @@ let SpatialFilterToolComponent = class SpatialFilterToolComponent {
|
|
|
2133
2122
|
this.activeLayers = [];
|
|
2134
2123
|
this.thematicLength = 0;
|
|
2135
2124
|
this.iterator = 1;
|
|
2136
|
-
if (this.type === SpatialFilterType.Predefined) {
|
|
2137
|
-
this.
|
|
2125
|
+
if (this.type() === SpatialFilterType.Predefined) {
|
|
2126
|
+
this.zones = [];
|
|
2138
2127
|
this.queryType = undefined;
|
|
2139
2128
|
}
|
|
2140
2129
|
}
|
|
@@ -2142,10 +2131,11 @@ let SpatialFilterToolComponent = class SpatialFilterToolComponent {
|
|
|
2142
2131
|
this.loading = true;
|
|
2143
2132
|
let zeroResults = true;
|
|
2144
2133
|
let thematics;
|
|
2145
|
-
|
|
2146
|
-
|
|
2134
|
+
const type = this.type();
|
|
2135
|
+
if (this.buffer === 0 || type === SpatialFilterType.Point) {
|
|
2136
|
+
this.addFeaturesToMap(this.zones);
|
|
2147
2137
|
}
|
|
2148
|
-
if (this.itemType !== SpatialFilterItemType.Thematics) {
|
|
2138
|
+
if (this.itemType() !== SpatialFilterItemType.Thematics) {
|
|
2149
2139
|
const theme = {
|
|
2150
2140
|
name: ''
|
|
2151
2141
|
};
|
|
@@ -2155,263 +2145,140 @@ let SpatialFilterToolComponent = class SpatialFilterToolComponent {
|
|
|
2155
2145
|
thematics = this.thematics;
|
|
2156
2146
|
}
|
|
2157
2147
|
if (this.measureUnit === MeasureLengthUnit.Kilometers &&
|
|
2158
|
-
|
|
2148
|
+
type !== SpatialFilterType.Point) {
|
|
2159
2149
|
this.buffer = this.buffer * 1000;
|
|
2160
2150
|
}
|
|
2161
|
-
if (
|
|
2151
|
+
if (type === SpatialFilterType.Polygon) {
|
|
2162
2152
|
this.buffer = 0; // to avoid buffer enter a second time in terrAPI
|
|
2163
2153
|
}
|
|
2164
|
-
|
|
2165
|
-
|
|
2166
|
-
|
|
2167
|
-
|
|
2168
|
-
|
|
2169
|
-
|
|
2170
|
-
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
|
|
2175
|
-
|
|
2176
|
-
|
|
2177
|
-
|
|
2178
|
-
|
|
2179
|
-
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
|
|
2183
|
-
|
|
2184
|
-
|
|
2185
|
-
|
|
2186
|
-
});
|
|
2187
|
-
this.tryAddPointToMap(featuresPoint, idPoint);
|
|
2188
|
-
this.tryAddLayerToMap(featuresLinePoly, idLinePoly);
|
|
2189
|
-
if (features.length) {
|
|
2154
|
+
this.spatialFilterService
|
|
2155
|
+
.loadFilterItems(this.zones, this.itemType(), {
|
|
2156
|
+
type: this.queryType,
|
|
2157
|
+
thematics,
|
|
2158
|
+
buffer: this.buffer
|
|
2159
|
+
})
|
|
2160
|
+
.pipe(tap((features) => {
|
|
2161
|
+
this.store.clear();
|
|
2162
|
+
this.workspaceState.store.clear();
|
|
2163
|
+
this.store.insertMany(features);
|
|
2164
|
+
const grouped = this.getFeatureByType(features);
|
|
2165
|
+
grouped.forEach(({ points, lines }) => {
|
|
2166
|
+
if (points.length > 0) {
|
|
2167
|
+
this.tryAddPointToMap(points, points[0].meta.id);
|
|
2168
|
+
}
|
|
2169
|
+
if (lines.length > 0) {
|
|
2170
|
+
this.tryAddLayerToMap(lines, lines[0].meta.id);
|
|
2171
|
+
}
|
|
2172
|
+
});
|
|
2173
|
+
thematics.forEach((thematic) => {
|
|
2174
|
+
const hasFeatures = features.some((f) => f.properties.type === thematic.source);
|
|
2175
|
+
if (hasFeatures) {
|
|
2190
2176
|
zeroResults = false;
|
|
2191
2177
|
this.thematicLength += 1;
|
|
2192
|
-
thematic.zeroResults =
|
|
2193
|
-
this.cdRef.detectChanges();
|
|
2178
|
+
thematic.zeroResults = zeroResults;
|
|
2194
2179
|
}
|
|
2195
2180
|
else {
|
|
2196
2181
|
thematic.zeroResults = true;
|
|
2197
2182
|
}
|
|
2198
|
-
|
|
2199
|
-
|
|
2200
|
-
|
|
2201
|
-
|
|
2202
|
-
|
|
2203
|
-
|
|
2204
|
-
.pipe(takeUntil(this.unsubscribe$))
|
|
2183
|
+
});
|
|
2184
|
+
this.cdRef.detectChanges();
|
|
2185
|
+
if (features.length >= 10000) {
|
|
2186
|
+
this.messageService.alert('igo.geo.spatialFilter.maxSizeAlert', 'igo.geo.spatialFilter.warning', { timeOut: 10000 });
|
|
2187
|
+
}
|
|
2188
|
+
}))
|
|
2205
2189
|
.subscribe(() => {
|
|
2190
|
+
if (this.type() !== SpatialFilterType.Predefined) {
|
|
2191
|
+
this.zones = [];
|
|
2192
|
+
}
|
|
2206
2193
|
this.loading = false;
|
|
2207
2194
|
if (zeroResults) {
|
|
2208
2195
|
this.messageService.alert('igo.geo.spatialFilter.zeroResults', 'igo.geo.spatialFilter.warning', { timeOut: 10000 });
|
|
2209
2196
|
}
|
|
2210
2197
|
});
|
|
2211
2198
|
}
|
|
2212
|
-
|
|
2213
|
-
|
|
2214
|
-
|
|
2215
|
-
|
|
2216
|
-
|
|
2217
|
-
|
|
2218
|
-
|
|
2219
|
-
/**
|
|
2220
|
-
* Try to add zone feature to the map overlay
|
|
2221
|
-
*/
|
|
2222
|
-
tryAddFeaturesToMap(features, buffer) {
|
|
2223
|
-
let i = 1;
|
|
2224
|
-
for (const feature of features) {
|
|
2225
|
-
if (this.type === SpatialFilterType.Predefined) {
|
|
2226
|
-
for (const layer of this.layers) {
|
|
2227
|
-
if (isLayerItem(layer) &&
|
|
2228
|
-
layer.options._internal &&
|
|
2229
|
-
layer.options._internal.code === feature.properties.code &&
|
|
2230
|
-
!buffer) {
|
|
2231
|
-
if (!layer.title?.startsWith('Zone')) {
|
|
2232
|
-
const index = this.layers.indexOf(layer);
|
|
2233
|
-
this.layers.splice(index, 1);
|
|
2234
|
-
}
|
|
2235
|
-
return;
|
|
2236
|
-
}
|
|
2237
|
-
if (layer.title?.startsWith('Zone')) {
|
|
2238
|
-
this.activeLayers = [];
|
|
2239
|
-
const index = this.layers.indexOf(layer);
|
|
2240
|
-
this.layers.splice(index, 1);
|
|
2241
|
-
this.map.layerController.remove(layer);
|
|
2242
|
-
}
|
|
2243
|
-
}
|
|
2199
|
+
getFeatureByType(features) {
|
|
2200
|
+
return features.reduce((grouped, feature) => {
|
|
2201
|
+
const typeKey = feature.properties.type;
|
|
2202
|
+
let group = grouped.get(typeKey);
|
|
2203
|
+
if (!group) {
|
|
2204
|
+
group = { points: [], lines: [] };
|
|
2205
|
+
grouped.set(typeKey, group);
|
|
2244
2206
|
}
|
|
2245
|
-
|
|
2246
|
-
|
|
2247
|
-
|
|
2248
|
-
|
|
2249
|
-
layer.title?.startsWith('Zone')) {
|
|
2250
|
-
const index = this.layers.indexOf(layer);
|
|
2251
|
-
this.layers.splice(index, 1);
|
|
2252
|
-
this.map.layerController.remove(layer);
|
|
2253
|
-
}
|
|
2254
|
-
}
|
|
2255
|
-
}
|
|
2256
|
-
this.activeLayers = [];
|
|
2207
|
+
if (feature.geometry.type === 'Point') {
|
|
2208
|
+
feature.properties.longitude = feature.geometry.coordinates[0];
|
|
2209
|
+
feature.properties.latitude = feature.geometry.coordinates[1];
|
|
2210
|
+
group.points.push(feature);
|
|
2257
2211
|
}
|
|
2258
|
-
|
|
2259
|
-
|
|
2260
|
-
i++;
|
|
2261
|
-
}
|
|
2212
|
+
else {
|
|
2213
|
+
group.lines.push(feature);
|
|
2262
2214
|
}
|
|
2263
|
-
|
|
2264
|
-
|
|
2265
|
-
return new olstyle.Style({
|
|
2266
|
-
image: new olstyle.Circle({
|
|
2267
|
-
radius: coordinates
|
|
2268
|
-
? this.buffer /
|
|
2269
|
-
Math.cos((Math.PI / 180) * coordinates[1]) /
|
|
2270
|
-
resolution
|
|
2271
|
-
: undefined,
|
|
2272
|
-
fill: new olstyle.Fill({
|
|
2273
|
-
color: 'rgba(200, 200, 20, 0.2)'
|
|
2274
|
-
}),
|
|
2275
|
-
stroke: new olstyle.Stroke({
|
|
2276
|
-
width: 1,
|
|
2277
|
-
color: 'orange'
|
|
2278
|
-
})
|
|
2279
|
-
}),
|
|
2280
|
-
stroke: new olstyle.Stroke({
|
|
2281
|
-
width: 1,
|
|
2282
|
-
color: 'orange'
|
|
2283
|
-
}),
|
|
2284
|
-
fill: new olstyle.Fill({
|
|
2285
|
-
color: 'rgba(200, 200, 20, 0.2)'
|
|
2286
|
-
})
|
|
2287
|
-
});
|
|
2288
|
-
};
|
|
2289
|
-
const options = {
|
|
2290
|
-
isIgoInternalLayer: true,
|
|
2291
|
-
title: ('Zone ' +
|
|
2292
|
-
i +
|
|
2293
|
-
' - ' +
|
|
2294
|
-
this.languageService.translate.instant('igo.geo.spatialFilter.spatialFilter')),
|
|
2295
|
-
workspace: { enabled: true },
|
|
2296
|
-
_internal: {
|
|
2297
|
-
code: this.type === SpatialFilterType.Predefined
|
|
2298
|
-
? feature.properties.code
|
|
2299
|
-
: undefined
|
|
2300
|
-
},
|
|
2301
|
-
sourceOptions: {
|
|
2302
|
-
type: 'vector',
|
|
2303
|
-
queryable: true
|
|
2304
|
-
},
|
|
2305
|
-
visible: true
|
|
2306
|
-
};
|
|
2307
|
-
this.layerService
|
|
2308
|
-
.createAsyncLayer(options)
|
|
2309
|
-
.pipe(take(1))
|
|
2310
|
-
.subscribe((layer) => {
|
|
2311
|
-
const featuresOl = features.map((f) => {
|
|
2312
|
-
return featureToOl(f, this.map.projection);
|
|
2313
|
-
});
|
|
2314
|
-
if (this.type !== SpatialFilterType.Predefined) {
|
|
2315
|
-
const type = this.type === SpatialFilterType.Point ? 'Cercle' : 'Polygone';
|
|
2316
|
-
featuresOl[0].set('nom', 'Zone', true);
|
|
2317
|
-
featuresOl[0].set('type', type, true);
|
|
2318
|
-
}
|
|
2319
|
-
const ol = layer.dataSource.ol;
|
|
2320
|
-
ol.addFeatures(featuresOl);
|
|
2321
|
-
layer.ol.setStyle(this.defaultStyle);
|
|
2322
|
-
this.map.layerController.add(layer);
|
|
2323
|
-
this.layers.push(layer);
|
|
2324
|
-
this.activeLayers.push(layer);
|
|
2325
|
-
this.cdRef.detectChanges();
|
|
2326
|
-
});
|
|
2327
|
-
}
|
|
2215
|
+
return grouped;
|
|
2216
|
+
}, new Map());
|
|
2328
2217
|
}
|
|
2329
2218
|
/**
|
|
2330
2219
|
* Try to add point features to the map
|
|
2331
2220
|
* Necessary to create clusters
|
|
2332
2221
|
*/
|
|
2333
2222
|
tryAddPointToMap(features, id) {
|
|
2223
|
+
// 🔑 Get active zone index from its title
|
|
2224
|
+
const activeZone = this.type() === SpatialFilterType.Predefined
|
|
2225
|
+
? this.activePredefinedLayerZones
|
|
2226
|
+
: this.activeDrawLayerZones;
|
|
2227
|
+
let zoneIndex = 1;
|
|
2228
|
+
if (activeZone?.title) {
|
|
2229
|
+
const match = activeZone.title.match(/^Zone (\d+) -/);
|
|
2230
|
+
if (match) {
|
|
2231
|
+
zoneIndex = parseInt(match[1], 10);
|
|
2232
|
+
}
|
|
2233
|
+
}
|
|
2234
|
+
const titleFeature = features[0].meta.title;
|
|
2235
|
+
// Count how many layers with the same meta.title already exist
|
|
2334
2236
|
let i = 1;
|
|
2335
|
-
|
|
2336
|
-
if (
|
|
2337
|
-
|
|
2237
|
+
for (const layer of this.layers) {
|
|
2238
|
+
if (layer.title?.startsWith(titleFeature)) {
|
|
2239
|
+
i++;
|
|
2338
2240
|
}
|
|
2339
|
-
|
|
2340
|
-
|
|
2341
|
-
|
|
2241
|
+
}
|
|
2242
|
+
const style = createOverlayMarkerStyle();
|
|
2243
|
+
// 🔑 Use zoneIndex to sync layer naming
|
|
2244
|
+
const filterLabel = this.languageService.translate.instant('igo.geo.spatialFilter.spatialFilter');
|
|
2245
|
+
const options = {
|
|
2246
|
+
isIgoInternalLayer: true,
|
|
2247
|
+
title: `${titleFeature} ${zoneIndex} - ${filterLabel}`,
|
|
2248
|
+
visible: true,
|
|
2249
|
+
style,
|
|
2250
|
+
sourceOptions: {
|
|
2251
|
+
type: 'cluster',
|
|
2252
|
+
id,
|
|
2253
|
+
queryable: true,
|
|
2254
|
+
distance: 120,
|
|
2255
|
+
meta: {
|
|
2256
|
+
title: 'Cluster'
|
|
2342
2257
|
}
|
|
2343
2258
|
}
|
|
2344
|
-
|
|
2345
|
-
|
|
2346
|
-
|
|
2347
|
-
|
|
2348
|
-
|
|
2349
|
-
|
|
2350
|
-
|
|
2351
|
-
}
|
|
2352
|
-
const options = {
|
|
2353
|
-
isIgoInternalLayer: true,
|
|
2354
|
-
title: (features[0].meta.title +
|
|
2355
|
-
' ' +
|
|
2356
|
-
i +
|
|
2357
|
-
' - ' +
|
|
2358
|
-
this.languageService.translate.instant('igo.geo.spatialFilter.spatialFilter')),
|
|
2359
|
-
visible: true,
|
|
2360
|
-
style,
|
|
2361
|
-
sourceOptions: {
|
|
2362
|
-
type: 'cluster',
|
|
2363
|
-
id,
|
|
2364
|
-
queryable: true,
|
|
2365
|
-
distance: 120,
|
|
2366
|
-
meta: {
|
|
2367
|
-
title: 'Cluster'
|
|
2368
|
-
}
|
|
2369
|
-
}
|
|
2370
|
-
};
|
|
2371
|
-
this.layerService
|
|
2372
|
-
.createAsyncLayer(options)
|
|
2373
|
-
.pipe(take(1))
|
|
2374
|
-
.subscribe((layer) => {
|
|
2375
|
-
const featuresOl = features.map((feature) => {
|
|
2376
|
-
return featureToOl(feature, this.map.projection);
|
|
2377
|
-
});
|
|
2378
|
-
const ol = layer.dataSource.ol;
|
|
2379
|
-
ol.getSource().addFeatures(featuresOl);
|
|
2380
|
-
const previousLayer = this.layers.find((prevLayer) => prevLayer.id === layer.id);
|
|
2381
|
-
if (previousLayer) {
|
|
2382
|
-
this.map.layerController.remove(previousLayer);
|
|
2383
|
-
i = i - 1;
|
|
2384
|
-
layer.title = (features[0].meta.title +
|
|
2385
|
-
' ' +
|
|
2386
|
-
i +
|
|
2387
|
-
' - ' +
|
|
2388
|
-
this.languageService.translate.instant('igo.geo.spatialFilter.spatialFilter'));
|
|
2389
|
-
layer.options.title = layer.title;
|
|
2390
|
-
}
|
|
2391
|
-
this.iterator = i;
|
|
2392
|
-
this.map.layerController.add(layer);
|
|
2393
|
-
this.layers.push(layer);
|
|
2394
|
-
this.pushLayer(layer);
|
|
2395
|
-
this.cdRef.detectChanges();
|
|
2396
|
-
});
|
|
2397
|
-
}
|
|
2398
|
-
}
|
|
2399
|
-
createSvgIcon(icon) {
|
|
2400
|
-
let style;
|
|
2401
|
-
this.matIconRegistry.getNamedSvgIcon(icon).subscribe((svgObj) => {
|
|
2402
|
-
const xmlSerializer = new XMLSerializer();
|
|
2403
|
-
svgObj.setAttribute('width', '30');
|
|
2404
|
-
svgObj.setAttribute('height', '30');
|
|
2405
|
-
svgObj.setAttribute('fill', 'rgba(0, 128, 255)');
|
|
2406
|
-
svgObj.setAttribute('stroke', 'white');
|
|
2407
|
-
const svg = xmlSerializer.serializeToString(svgObj);
|
|
2408
|
-
style = new olstyle.Style({
|
|
2409
|
-
image: new olstyle.Icon({
|
|
2410
|
-
src: 'data:image/svg+xml;utf8,' + svg
|
|
2411
|
-
})
|
|
2259
|
+
};
|
|
2260
|
+
this.layerService
|
|
2261
|
+
.createAsyncLayer(options)
|
|
2262
|
+
.pipe(take(1))
|
|
2263
|
+
.subscribe((layer) => {
|
|
2264
|
+
const featuresOl = features.map((feature) => {
|
|
2265
|
+
return featureToOl(feature, this.map.projection);
|
|
2412
2266
|
});
|
|
2267
|
+
const ol = layer.dataSource.ol;
|
|
2268
|
+
ol.getSource().addFeatures(featuresOl);
|
|
2269
|
+
const previousLayer = this.layers.find((prevLayer) => prevLayer.id === layer.id);
|
|
2270
|
+
if (previousLayer) {
|
|
2271
|
+
this.map.layerController.remove(previousLayer);
|
|
2272
|
+
this.layers = this.layers.filter((l) => l.id !== layer.id);
|
|
2273
|
+
i = i - 1;
|
|
2274
|
+
layer.title = `${titleFeature} ${zoneIndex} - ${filterLabel}`;
|
|
2275
|
+
layer.options.title = layer.title;
|
|
2276
|
+
}
|
|
2277
|
+
this.iterator = i;
|
|
2278
|
+
this.map.layerController.add(layer);
|
|
2279
|
+
this.layers.push(layer);
|
|
2280
|
+
this.pushLayer(layer);
|
|
2413
2281
|
});
|
|
2414
|
-
return style;
|
|
2415
2282
|
}
|
|
2416
2283
|
/**
|
|
2417
2284
|
* Try to add line or polygon features to the map
|
|
@@ -2464,17 +2331,7 @@ let SpatialFilterToolComponent = class SpatialFilterToolComponent {
|
|
|
2464
2331
|
this.map.layerController.add(layer);
|
|
2465
2332
|
this.layers.push(layer);
|
|
2466
2333
|
this.pushLayer(layer);
|
|
2467
|
-
this.cdRef.detectChanges();
|
|
2468
|
-
});
|
|
2469
|
-
}
|
|
2470
|
-
}
|
|
2471
|
-
zoomToFeatureExtent(feature) {
|
|
2472
|
-
if (feature) {
|
|
2473
|
-
const olFeature = this.format.readFeature(feature, {
|
|
2474
|
-
dataProjection: feature.projection,
|
|
2475
|
-
featureProjection: this.map.projection
|
|
2476
2334
|
});
|
|
2477
|
-
moveToOlFeatures(this.map.viewController, olFeature, FeatureMotion.Zoom);
|
|
2478
2335
|
}
|
|
2479
2336
|
}
|
|
2480
2337
|
pushLayer(layer) {
|
|
@@ -2485,8 +2342,176 @@ let SpatialFilterToolComponent = class SpatialFilterToolComponent {
|
|
|
2485
2342
|
}
|
|
2486
2343
|
this.activeLayers.push(layer);
|
|
2487
2344
|
}
|
|
2488
|
-
|
|
2489
|
-
|
|
2345
|
+
onAddZone(feature) {
|
|
2346
|
+
const featureList = feature ? [feature] : [];
|
|
2347
|
+
this.zones = [...this.zones, ...featureList];
|
|
2348
|
+
if (!this.zones.length)
|
|
2349
|
+
return;
|
|
2350
|
+
this.addFeaturesToMap(this.zones, false);
|
|
2351
|
+
}
|
|
2352
|
+
onAddZoneWithBuffer(features) {
|
|
2353
|
+
this.zones = Array.isArray(features) ? features : [features];
|
|
2354
|
+
this.addFeaturesToMap(this.zones, true);
|
|
2355
|
+
}
|
|
2356
|
+
onRemovedZone(feature) {
|
|
2357
|
+
const zoneLayer = this.activePredefinedLayerZones;
|
|
2358
|
+
if (!zoneLayer)
|
|
2359
|
+
return;
|
|
2360
|
+
const olSource = zoneLayer.dataSource.ol;
|
|
2361
|
+
// Convert to OL feature (same way as when adding)
|
|
2362
|
+
const featureOl = featureToOl(feature, this.map.projection);
|
|
2363
|
+
// Find matching OL feature(s) by id or geometry
|
|
2364
|
+
const toRemove = olSource.getFeatures().filter((f) => {
|
|
2365
|
+
return f.getId() === featureOl.getId();
|
|
2366
|
+
});
|
|
2367
|
+
if (toRemove.length) {
|
|
2368
|
+
toRemove.forEach((f) => olSource.removeFeature(f));
|
|
2369
|
+
this.zones = this.zones.filter((z) => z.meta.id !== feature.meta.id);
|
|
2370
|
+
}
|
|
2371
|
+
if (olSource.getFeatures().length === 0) {
|
|
2372
|
+
this.map.layerController.remove(zoneLayer);
|
|
2373
|
+
this.layers = this.layers.filter((l) => l !== zoneLayer);
|
|
2374
|
+
this.activeLayers = [];
|
|
2375
|
+
this.activePredefinedLayerZones = undefined;
|
|
2376
|
+
}
|
|
2377
|
+
this.zoomToOlFeatures(olSource.getFeatures());
|
|
2378
|
+
}
|
|
2379
|
+
addFeaturesToMap(features, buffer) {
|
|
2380
|
+
const type = this.type();
|
|
2381
|
+
if (type === SpatialFilterType.Predefined &&
|
|
2382
|
+
this.zonesExistsInLayers() &&
|
|
2383
|
+
!buffer)
|
|
2384
|
+
return;
|
|
2385
|
+
const lastZoneIndex = this.findLastZoneIndex();
|
|
2386
|
+
const zoneLayer = type === SpatialFilterType.Predefined
|
|
2387
|
+
? this.activePredefinedLayerZones
|
|
2388
|
+
: undefined;
|
|
2389
|
+
if (!zoneLayer) {
|
|
2390
|
+
this.defaultStyle = this.createZoneStyle(features[0]);
|
|
2391
|
+
this.createZoneLayer(lastZoneIndex + 1, features).subscribe((layer) => {
|
|
2392
|
+
this.setActiveZoneLayer(layer);
|
|
2393
|
+
this.addFeaturesToLayer(layer, features);
|
|
2394
|
+
this.cdRef.detectChanges();
|
|
2395
|
+
});
|
|
2396
|
+
}
|
|
2397
|
+
else {
|
|
2398
|
+
this.addFeaturesToLayer(zoneLayer, features, buffer);
|
|
2399
|
+
}
|
|
2400
|
+
}
|
|
2401
|
+
zonesExistsInLayers() {
|
|
2402
|
+
if (this.type() !== SpatialFilterType.Predefined)
|
|
2403
|
+
return false;
|
|
2404
|
+
return this.layers
|
|
2405
|
+
.filter((l) => l.title.includes('Zone'))
|
|
2406
|
+
.some((layer) => {
|
|
2407
|
+
const olSource = layer.dataSource.ol;
|
|
2408
|
+
const layerFeatures = olSource.getFeatures();
|
|
2409
|
+
return this.zones.every((zone) => layerFeatures.some((feature) => feature.getId() === zone.meta.id));
|
|
2410
|
+
});
|
|
2411
|
+
}
|
|
2412
|
+
findLastZoneIndex() {
|
|
2413
|
+
let max = 0;
|
|
2414
|
+
for (const layer of this.layers) {
|
|
2415
|
+
if (layer.title?.startsWith('Zone')) {
|
|
2416
|
+
const match = layer.title.match(/^Zone (\d+) -/);
|
|
2417
|
+
if (match) {
|
|
2418
|
+
const index = parseInt(match[1], 10);
|
|
2419
|
+
if (index > max)
|
|
2420
|
+
max = index;
|
|
2421
|
+
}
|
|
2422
|
+
}
|
|
2423
|
+
}
|
|
2424
|
+
return max;
|
|
2425
|
+
}
|
|
2426
|
+
createZoneStyle(feature) {
|
|
2427
|
+
return (_feature, resolution) => {
|
|
2428
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
2429
|
+
const coordinates = feature.coordinates;
|
|
2430
|
+
return new olstyle.Style({
|
|
2431
|
+
image: new olstyle.Circle({
|
|
2432
|
+
radius: coordinates
|
|
2433
|
+
? this.buffer /
|
|
2434
|
+
Math.cos((Math.PI / 180) * coordinates[1]) /
|
|
2435
|
+
resolution
|
|
2436
|
+
: undefined,
|
|
2437
|
+
fill: new olstyle.Fill({ color: 'rgba(200, 200, 20, 0.2)' }),
|
|
2438
|
+
stroke: new olstyle.Stroke({ width: 1, color: 'orange' })
|
|
2439
|
+
}),
|
|
2440
|
+
stroke: new olstyle.Stroke({ width: 1, color: 'orange' }),
|
|
2441
|
+
fill: new olstyle.Fill({ color: 'rgba(200, 200, 20, 0.2)' })
|
|
2442
|
+
});
|
|
2443
|
+
};
|
|
2444
|
+
}
|
|
2445
|
+
createZoneLayer(zoneIndex, features) {
|
|
2446
|
+
const filterLabel = this.languageService.translate.instant('igo.geo.spatialFilter.spatialFilter');
|
|
2447
|
+
const options = {
|
|
2448
|
+
isIgoInternalLayer: true,
|
|
2449
|
+
title: `Zone ${zoneIndex} - ${filterLabel}`,
|
|
2450
|
+
workspace: { enabled: true },
|
|
2451
|
+
_internal: {
|
|
2452
|
+
code: this.type() === SpatialFilterType.Predefined
|
|
2453
|
+
? features[0].properties.code
|
|
2454
|
+
: undefined
|
|
2455
|
+
},
|
|
2456
|
+
sourceOptions: {
|
|
2457
|
+
type: 'vector',
|
|
2458
|
+
queryable: true
|
|
2459
|
+
},
|
|
2460
|
+
visible: true
|
|
2461
|
+
};
|
|
2462
|
+
return this.layerService.createAsyncLayer(options).pipe(take(1));
|
|
2463
|
+
}
|
|
2464
|
+
setActiveZoneLayer(layer) {
|
|
2465
|
+
this.map.layerController.add(layer);
|
|
2466
|
+
this.layers.push(layer);
|
|
2467
|
+
if (this.type() === SpatialFilterType.Predefined) {
|
|
2468
|
+
this.activePredefinedLayerZones = layer;
|
|
2469
|
+
}
|
|
2470
|
+
else {
|
|
2471
|
+
this.activeDrawLayerZones = layer;
|
|
2472
|
+
}
|
|
2473
|
+
this.pushLayer(layer);
|
|
2474
|
+
}
|
|
2475
|
+
addFeaturesToLayer(layer, features, buffer) {
|
|
2476
|
+
const olSource = layer.dataSource.ol;
|
|
2477
|
+
if (buffer)
|
|
2478
|
+
olSource.clear();
|
|
2479
|
+
const featuresOl = features.map((f) => featureToOl(f, this.map.projection));
|
|
2480
|
+
const type = this.type();
|
|
2481
|
+
if (type !== SpatialFilterType.Predefined) {
|
|
2482
|
+
const customType = type === SpatialFilterType.Point ? 'Cercle' : 'Polygone';
|
|
2483
|
+
for (const f of featuresOl) {
|
|
2484
|
+
f.set('nom', 'Zone', true);
|
|
2485
|
+
f.set('type', customType, true);
|
|
2486
|
+
if (type === SpatialFilterType.Point) {
|
|
2487
|
+
this.setPointProps(featuresOl[0], this.map.projectionCode, this.buffer);
|
|
2488
|
+
}
|
|
2489
|
+
}
|
|
2490
|
+
}
|
|
2491
|
+
olSource.addFeatures(featuresOl);
|
|
2492
|
+
layer.ol.setStyle(this.defaultStyle);
|
|
2493
|
+
if (type === SpatialFilterType.Predefined) {
|
|
2494
|
+
this.zoomToOlFeatures(olSource.getFeatures());
|
|
2495
|
+
}
|
|
2496
|
+
}
|
|
2497
|
+
zoomToOlFeatures(featuresOl) {
|
|
2498
|
+
if (!featuresOl.length)
|
|
2499
|
+
return;
|
|
2500
|
+
moveToOlFeatures(this.map.viewController, featuresOl, FeatureMotion.Zoom);
|
|
2501
|
+
}
|
|
2502
|
+
setPointProps(featureOl, projectionCode, radius) {
|
|
2503
|
+
const olGeometry = featureOl.getGeometry();
|
|
2504
|
+
const [longitude, latitude] = transform(olGeometry.getFlatCoordinates(), projectionCode, 'EPSG:4326');
|
|
2505
|
+
const props = {
|
|
2506
|
+
[RADIUS_NAME]: radius,
|
|
2507
|
+
_projection: projectionCode,
|
|
2508
|
+
latitude,
|
|
2509
|
+
longitude
|
|
2510
|
+
};
|
|
2511
|
+
Object.entries(props).forEach(([key, value]) => featureOl.set(key, value, true));
|
|
2512
|
+
}
|
|
2513
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: SpatialFilterToolComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2514
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.16", type: SpatialFilterToolComponent, isStandalone: true, selector: "igo-spatial-filter-tool", inputs: { type: { classPropertyName: "type", publicName: "type", isSignal: true, isRequired: false, transformFunction: null }, itemType: { classPropertyName: "itemType", publicName: "itemType", isSignal: true, isRequired: false, transformFunction: null }, freehandDrawIsActive: { classPropertyName: "freehandDrawIsActive", publicName: "freehandDrawIsActive", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { type: "typeChange", itemType: "itemTypeChange", freehandDrawIsActive: "freehandDrawIsActiveChange" }, ngImport: i0, template: "<igo-spatial-filter-type\n [store]=\"spatialListStore\"\n [selectedQueryType]=\"queryType\"\n [layers]=\"activeLayers\"\n (eventType)=\"getOutputType($event)\"\n (eventQueryType)=\"getOutputQueryType($event)\"\n (zonesWithBufferChange)=\"onAddZoneWithBuffer($event)\"\n (bufferChange)=\"buffer = $event\"\n (measureUnitChange)=\"measureUnit = $event\"\n [zones]=\"zones\"\n (addZone)=\"onAddZone($event)\"\n (removeZone)=\"onRemovedZone($event)\"\n/>\n\n<igo-spatial-filter-item\n [type]=\"type()\"\n [queryType]=\"queryType\"\n [map]=\"map\"\n [zones]=\"zones\"\n [loading]=\"loading\"\n [store]=\"store\"\n [layers]=\"activeLayers\"\n [allLayers]=\"layers\"\n [thematicLength]=\"thematicLength\"\n (radiusEvent)=\"buffer = $event\"\n (bufferEvent)=\"buffer = $event\"\n (measureUnitChange)=\"measureUnit = $event\"\n (freehandControl)=\"freehandDrawIsActive.set($event)\"\n (drawZoneEvent)=\"this.zones = [$event]\"\n (zonesWithBufferChange)=\"onAddZoneWithBuffer($event)\"\n (itemTypeChange)=\"itemType.set($event)\"\n (thematicChange)=\"thematics = $event\"\n (toggleSearch)=\"getOutputToggleSearch()\"\n (clearButtonEvent)=\"clearMap()\"\n (clearSearchEvent)=\"getOutputClearSearch()\"\n (export)=\"activateExportTool()\"\n (openWorkspace)=\"activateWorkspace()\"\n (entityChange)=\"activateWorkspace($event)\"\n/>\n@if (selectedFeature$ | async; as feature) {\n <igo-feature-details [feature]=\"feature\" />\n}\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", "zones", "layers"], outputs: ["selectedQueryTypeChange", "eventType", "eventQueryType", "bufferChange", "measureUnitChange", "addZone", "removeZone", "zonesWithBufferChange"] }, { kind: "component", type: SpatialFilterItemComponent, selector: "igo-spatial-filter-item", inputs: ["map", "type", "queryType", "zones", "loading", "store", "layers", "allLayers", "thematicLength"], outputs: ["toggleSearch", "itemTypeChange", "thematicChange", "drawZoneEvent", "bufferEvent", "zonesWithBufferChange", "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: "pipe", type: AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2490
2515
|
};
|
|
2491
2516
|
SpatialFilterToolComponent = __decorate([
|
|
2492
2517
|
ToolComponent({
|
|
@@ -2498,25 +2523,19 @@ SpatialFilterToolComponent = __decorate([
|
|
|
2498
2523
|
* Spatial Filter Type
|
|
2499
2524
|
*/
|
|
2500
2525
|
], SpatialFilterToolComponent);
|
|
2501
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2526
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: SpatialFilterToolComponent, decorators: [{
|
|
2502
2527
|
type: Component,
|
|
2503
2528
|
args: [{ selector: 'igo-spatial-filter-tool', changeDetection: ChangeDetectionStrategy.OnPush, imports: [
|
|
2504
2529
|
SpatialFilterTypeComponent,
|
|
2505
2530
|
SpatialFilterItemComponent,
|
|
2506
2531
|
FeatureDetailsComponent,
|
|
2507
2532
|
AsyncPipe
|
|
2508
|
-
], template: "<igo-spatial-filter-type\n [store]=\"spatialListStore\"\n [selectedQueryType]=\"queryType\"\n [
|
|
2509
|
-
}], propDecorators: { type: [{
|
|
2510
|
-
type: Input
|
|
2511
|
-
}], itemType: [{
|
|
2512
|
-
type: Input
|
|
2513
|
-
}], freehandDrawIsActive: [{
|
|
2514
|
-
type: Input
|
|
2515
|
-
}] } });
|
|
2533
|
+
], template: "<igo-spatial-filter-type\n [store]=\"spatialListStore\"\n [selectedQueryType]=\"queryType\"\n [layers]=\"activeLayers\"\n (eventType)=\"getOutputType($event)\"\n (eventQueryType)=\"getOutputQueryType($event)\"\n (zonesWithBufferChange)=\"onAddZoneWithBuffer($event)\"\n (bufferChange)=\"buffer = $event\"\n (measureUnitChange)=\"measureUnit = $event\"\n [zones]=\"zones\"\n (addZone)=\"onAddZone($event)\"\n (removeZone)=\"onRemovedZone($event)\"\n/>\n\n<igo-spatial-filter-item\n [type]=\"type()\"\n [queryType]=\"queryType\"\n [map]=\"map\"\n [zones]=\"zones\"\n [loading]=\"loading\"\n [store]=\"store\"\n [layers]=\"activeLayers\"\n [allLayers]=\"layers\"\n [thematicLength]=\"thematicLength\"\n (radiusEvent)=\"buffer = $event\"\n (bufferEvent)=\"buffer = $event\"\n (measureUnitChange)=\"measureUnit = $event\"\n (freehandControl)=\"freehandDrawIsActive.set($event)\"\n (drawZoneEvent)=\"this.zones = [$event]\"\n (zonesWithBufferChange)=\"onAddZoneWithBuffer($event)\"\n (itemTypeChange)=\"itemType.set($event)\"\n (thematicChange)=\"thematics = $event\"\n (toggleSearch)=\"getOutputToggleSearch()\"\n (clearButtonEvent)=\"clearMap()\"\n (clearSearchEvent)=\"getOutputClearSearch()\"\n (export)=\"activateExportTool()\"\n (openWorkspace)=\"activateWorkspace()\"\n (entityChange)=\"activateWorkspace($event)\"\n/>\n@if (selectedFeature$ | async; as feature) {\n <igo-feature-details [feature]=\"feature\" />\n}\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"] }]
|
|
2534
|
+
}], propDecorators: { type: [{ type: i0.Input, args: [{ isSignal: true, alias: "type", required: false }] }, { type: i0.Output, args: ["typeChange"] }], itemType: [{ type: i0.Input, args: [{ isSignal: true, alias: "itemType", required: false }] }, { type: i0.Output, args: ["itemTypeChange"] }], freehandDrawIsActive: [{ type: i0.Input, args: [{ isSignal: true, alias: "freehandDrawIsActive", required: false }] }, { type: i0.Output, args: ["freehandDrawIsActiveChange"] }] } });
|
|
2516
2535
|
|
|
2517
2536
|
let TimeFilterToolComponent = class TimeFilterToolComponent {
|
|
2518
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
2519
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
2537
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TimeFilterToolComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2538
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: TimeFilterToolComponent, isStandalone: true, selector: "igo-time-filter-tool", ngImport: i0, template: "<igo-time-filter-list igoTimeFilterListBinding />\n", dependencies: [{ kind: "component", type: TimeFilterListComponent, selector: "igo-time-filter-list", inputs: ["layers"], outputs: ["layersChange"] }, { kind: "directive", type: TimeFilterListBindingDirective, selector: "[igoTimeFilterListBinding]" }] });
|
|
2520
2539
|
};
|
|
2521
2540
|
TimeFilterToolComponent = __decorate([
|
|
2522
2541
|
ToolComponent({
|
|
@@ -2525,9 +2544,9 @@ TimeFilterToolComponent = __decorate([
|
|
|
2525
2544
|
icon: 'history'
|
|
2526
2545
|
})
|
|
2527
2546
|
], TimeFilterToolComponent);
|
|
2528
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2547
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TimeFilterToolComponent, decorators: [{
|
|
2529
2548
|
type: Component,
|
|
2530
|
-
args: [{ selector: 'igo-time-filter-tool', imports: [TimeFilterListComponent, TimeFilterListBindingDirective], template: "<igo-time-filter-list igoTimeFilterListBinding
|
|
2549
|
+
args: [{ selector: 'igo-time-filter-tool', imports: [TimeFilterListComponent, TimeFilterListBindingDirective], template: "<igo-time-filter-list igoTimeFilterListBinding />\n" }]
|
|
2531
2550
|
}] });
|
|
2532
2551
|
|
|
2533
2552
|
/**
|
|
@@ -2540,8 +2559,8 @@ class IgoAppFilterModule {
|
|
|
2540
2559
|
providers: []
|
|
2541
2560
|
};
|
|
2542
2561
|
}
|
|
2543
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
2544
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.
|
|
2562
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: IgoAppFilterModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2563
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.16", ngImport: i0, type: IgoAppFilterModule, imports: [OgcFilterToolComponent,
|
|
2545
2564
|
ActiveOgcFilterToolComponent,
|
|
2546
2565
|
TimeFilterToolComponent,
|
|
2547
2566
|
ActiveTimeFilterToolComponent,
|
|
@@ -2550,13 +2569,13 @@ class IgoAppFilterModule {
|
|
|
2550
2569
|
TimeFilterToolComponent,
|
|
2551
2570
|
ActiveTimeFilterToolComponent,
|
|
2552
2571
|
SpatialFilterToolComponent] });
|
|
2553
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.
|
|
2572
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: IgoAppFilterModule, imports: [OgcFilterToolComponent,
|
|
2554
2573
|
ActiveOgcFilterToolComponent,
|
|
2555
2574
|
TimeFilterToolComponent,
|
|
2556
2575
|
ActiveTimeFilterToolComponent,
|
|
2557
2576
|
SpatialFilterToolComponent] });
|
|
2558
2577
|
}
|
|
2559
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2578
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: IgoAppFilterModule, decorators: [{
|
|
2560
2579
|
type: NgModule,
|
|
2561
2580
|
args: [{
|
|
2562
2581
|
imports: [
|
|
@@ -2585,7 +2604,7 @@ let DataIssueReporterToolComponent = class DataIssueReporterToolComponent {
|
|
|
2585
2604
|
/**
|
|
2586
2605
|
* Url to report the data issue. Use the Post protocol to send the form.
|
|
2587
2606
|
*/
|
|
2588
|
-
url;
|
|
2607
|
+
url = input(undefined, ...(ngDevMode ? [{ debugName: "url" }] : []));
|
|
2589
2608
|
/**
|
|
2590
2609
|
* Map to link to the form
|
|
2591
2610
|
* @internal
|
|
@@ -2700,21 +2719,20 @@ let DataIssueReporterToolComponent = class DataIssueReporterToolComponent {
|
|
|
2700
2719
|
}
|
|
2701
2720
|
onSubmit(data) {
|
|
2702
2721
|
const submitTitle = 'igo.integration.dataIssueReporterTool.submit.title';
|
|
2703
|
-
|
|
2722
|
+
const url = this.url();
|
|
2723
|
+
if (!url) {
|
|
2704
2724
|
this.messageService.alert('igo.integration.dataIssueReporterTool.submit.setupMessage', submitTitle);
|
|
2705
2725
|
alert(JSON.stringify(data));
|
|
2706
2726
|
}
|
|
2707
2727
|
else {
|
|
2708
|
-
this.httpClient
|
|
2709
|
-
.post(this.url, data)
|
|
2710
|
-
.subscribe(() => {
|
|
2728
|
+
this.httpClient.post(url, data).subscribe(() => {
|
|
2711
2729
|
this.messageService.success('igo.integration.dataIssueReporterTool.submit.message', submitTitle);
|
|
2712
2730
|
});
|
|
2713
2731
|
this.clearForm();
|
|
2714
2732
|
}
|
|
2715
2733
|
}
|
|
2716
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
2717
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.
|
|
2734
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: DataIssueReporterToolComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2735
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.16", type: DataIssueReporterToolComponent, isStandalone: false, selector: "igo-issue-reporter-tool", inputs: { url: { classPropertyName: "url", publicName: "url", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "@if (form$ | async; as form) {\n <igo-form\n [form]=\"form\"\n [formData]=\"data$ | async\"\n (submitForm)=\"onSubmit($any($event))\"\n >\n @if (form.fields.length) {\n <div class=\"form-container\">\n @for (field of form.fields; track field) {\n <igo-form-field [field]=\"field\" />\n }\n </div>\n }\n <div formButtons class=\"actions-container\">\n <button\n mat-stroked-button\n type=\"button\"\n color=\"primary\"\n (click)=\"clearForm()\"\n >\n {{ 'igo.integration.dataIssueReporterTool.reset.button' | translate }}\n </button>\n <button\n matButton=\"filled\"\n type=\"submit\"\n color=\"primary\"\n [disabled]=\"submitDisabled\"\n >\n {{ 'igo.integration.dataIssueReporterTool.submit.button' | translate }}\n </button>\n </div>\n </igo-form>\n}\n", styles: [":host .actions-container{display:flex;flex-direction:column;gap:8px;align-items:center;justify-content:center}:host .form-container{width:100%;padding:10px}:host .form-container igo-form-field{display:block;height:auto}\n"], dependencies: [{ kind: "component", type: i1.MatButton, selector: " button[matButton], a[matButton], button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button], a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button] ", inputs: ["matButton"], exportAs: ["matButton", "matAnchor"] }, { kind: "component", type: i2$1.FormFieldComponent, selector: "igo-form-field", inputs: ["field"] }, { kind: "component", type: i2$1.FormComponent, selector: "igo-form", inputs: ["form", "formData", "autocomplete"], outputs: ["submitForm"] }, { kind: "pipe", type: i3$2.AsyncPipe, name: "async" }, { kind: "pipe", type: i3$1.TranslatePipe, name: "translate" }] });
|
|
2718
2736
|
};
|
|
2719
2737
|
DataIssueReporterToolComponent = __decorate([
|
|
2720
2738
|
ToolComponent({
|
|
@@ -2723,27 +2741,25 @@ DataIssueReporterToolComponent = __decorate([
|
|
|
2723
2741
|
icon: 'feedback'
|
|
2724
2742
|
})
|
|
2725
2743
|
], DataIssueReporterToolComponent);
|
|
2726
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2744
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: DataIssueReporterToolComponent, decorators: [{
|
|
2727
2745
|
type: Component,
|
|
2728
|
-
args: [{ selector: 'igo-issue-reporter-tool', standalone: false, template: "@if (form$ | async; as form) {\n <igo-form\n [form]=\"form\"\n [formData]=\"data$ | async\"\n (submitForm)=\"onSubmit($any($event))\"\n >\n @if (form.fields.length) {\n <div class=\"form-container\">\n @for (field of form.fields; track field) {\n <igo-form-field [field]=\"field\"
|
|
2729
|
-
}], propDecorators: { url: [{
|
|
2730
|
-
type: Input
|
|
2731
|
-
}] } });
|
|
2746
|
+
args: [{ selector: 'igo-issue-reporter-tool', standalone: false, template: "@if (form$ | async; as form) {\n <igo-form\n [form]=\"form\"\n [formData]=\"data$ | async\"\n (submitForm)=\"onSubmit($any($event))\"\n >\n @if (form.fields.length) {\n <div class=\"form-container\">\n @for (field of form.fields; track field) {\n <igo-form-field [field]=\"field\" />\n }\n </div>\n }\n <div formButtons class=\"actions-container\">\n <button\n mat-stroked-button\n type=\"button\"\n color=\"primary\"\n (click)=\"clearForm()\"\n >\n {{ 'igo.integration.dataIssueReporterTool.reset.button' | translate }}\n </button>\n <button\n matButton=\"filled\"\n type=\"submit\"\n color=\"primary\"\n [disabled]=\"submitDisabled\"\n >\n {{ 'igo.integration.dataIssueReporterTool.submit.button' | translate }}\n </button>\n </div>\n </igo-form>\n}\n", styles: [":host .actions-container{display:flex;flex-direction:column;gap:8px;align-items:center;justify-content:center}:host .form-container{width:100%;padding:10px}:host .form-container igo-form-field{display:block;height:auto}\n"] }]
|
|
2747
|
+
}], propDecorators: { url: [{ type: i0.Input, args: [{ isSignal: true, alias: "url", required: false }] }] } });
|
|
2732
2748
|
|
|
2733
2749
|
class IgoAppGeometryFormModule {
|
|
2734
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
2735
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.
|
|
2750
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: IgoAppGeometryFormModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2751
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.16", ngImport: i0, type: IgoAppGeometryFormModule, declarations: [DataIssueReporterToolComponent], imports: [CommonModule,
|
|
2736
2752
|
MatButtonModule,
|
|
2737
2753
|
IgoLanguageModule,
|
|
2738
2754
|
IgoFormModule,
|
|
2739
2755
|
IgoMessageModule], exports: [DataIssueReporterToolComponent] });
|
|
2740
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.
|
|
2756
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: IgoAppGeometryFormModule, imports: [CommonModule,
|
|
2741
2757
|
MatButtonModule,
|
|
2742
2758
|
IgoLanguageModule,
|
|
2743
2759
|
IgoFormModule,
|
|
2744
2760
|
IgoMessageModule] });
|
|
2745
2761
|
}
|
|
2746
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2762
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: IgoAppGeometryFormModule, decorators: [{
|
|
2747
2763
|
type: NgModule,
|
|
2748
2764
|
args: [{
|
|
2749
2765
|
imports: [
|
|
@@ -2764,8 +2780,8 @@ let ImportExportToolComponent = class ImportExportToolComponent {
|
|
|
2764
2780
|
importExportState = inject(ImportExportState);
|
|
2765
2781
|
workspaceState = inject(WorkspaceState);
|
|
2766
2782
|
contextState = inject(ContextState);
|
|
2767
|
-
projectionsLimitations;
|
|
2768
|
-
selectFirstProj = false;
|
|
2783
|
+
projectionsLimitations = input(undefined, ...(ngDevMode ? [{ debugName: "projectionsLimitations" }] : []));
|
|
2784
|
+
selectFirstProj = input(false, ...(ngDevMode ? [{ debugName: "selectFirstProj" }] : []));
|
|
2769
2785
|
/**
|
|
2770
2786
|
* Map to measure on
|
|
2771
2787
|
* @internal
|
|
@@ -2776,15 +2792,16 @@ let ImportExportToolComponent = class ImportExportToolComponent {
|
|
|
2776
2792
|
get workspaceStore() {
|
|
2777
2793
|
return this.workspaceState.store;
|
|
2778
2794
|
}
|
|
2779
|
-
importExportType = ImportExportType.layer;
|
|
2780
|
-
importExportShowBothType = true;
|
|
2795
|
+
importExportType = model(ImportExportType.layer, ...(ngDevMode ? [{ debugName: "importExportType" }] : []));
|
|
2796
|
+
importExportShowBothType = input(true, ...(ngDevMode ? [{ debugName: "importExportShowBothType" }] : []));
|
|
2781
2797
|
ngOnInit() {
|
|
2782
2798
|
this.selectType();
|
|
2783
2799
|
this.selectMode();
|
|
2784
2800
|
}
|
|
2785
2801
|
selectType() {
|
|
2786
|
-
|
|
2787
|
-
|
|
2802
|
+
const importExportType = this.importExportType();
|
|
2803
|
+
if (importExportType) {
|
|
2804
|
+
this.importExportState.importExportType$.next(importExportType);
|
|
2788
2805
|
}
|
|
2789
2806
|
const userSelectedType = this.importExportState.importExportType$.value;
|
|
2790
2807
|
if (userSelectedType !== undefined) {
|
|
@@ -2810,10 +2827,10 @@ let ImportExportToolComponent = class ImportExportToolComponent {
|
|
|
2810
2827
|
this.importExportState.setsExportOptions(exportOptions);
|
|
2811
2828
|
}
|
|
2812
2829
|
importExportTypeChange(event) {
|
|
2813
|
-
this.importExportType
|
|
2830
|
+
this.importExportType.set(event.value);
|
|
2814
2831
|
}
|
|
2815
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
2816
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.
|
|
2832
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ImportExportToolComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2833
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.16", type: ImportExportToolComponent, isStandalone: true, selector: "igo-import-export-tool", inputs: { projectionsLimitations: { classPropertyName: "projectionsLimitations", publicName: "projectionsLimitations", isSignal: true, isRequired: false, transformFunction: null }, selectFirstProj: { classPropertyName: "selectFirstProj", publicName: "selectFirstProj", isSignal: true, isRequired: false, transformFunction: null }, importExportType: { classPropertyName: "importExportType", publicName: "importExportType", isSignal: true, isRequired: false, transformFunction: null }, importExportShowBothType: { classPropertyName: "importExportShowBothType", publicName: "importExportShowBothType", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { importExportType: "importExportTypeChange" }, ngImport: i0, template: "@if (importExportShowBothType()) {\n <mat-tab-group>\n <mat-tab\n [label]=\"'igo.integration.importExportTool.importExportData' | translate\"\n >\n <igo-import-export\n [contextUri]=\"(contextState.context$ | async).uri\"\n [map]=\"map\"\n [selectFirstProj]=\"selectFirstProj()\"\n [projectionsLimitations]=\"projectionsLimitations()\"\n [store]=\"workspaceStore\"\n [selectedMode]=\"importExportState.selectedMode$ | async\"\n (selectMode)=\"modeChanged($any($event))\"\n [exportOptions$]=\"importExportState.exportOptions$\"\n (exportOptionsChange)=\"exportOptionsChange($event)\"\n />\n </mat-tab>\n <mat-tab\n [label]=\"\n 'igo.integration.importExportTool.importExportContext' | translate\n \"\n >\n <igo-context-import-export [map]=\"map\" />\n </mat-tab>\n </mat-tab-group>\n}\n\n@if (!importExportShowBothType() && importExportType() === 'layer') {\n <igo-import-export\n [contextUri]=\"(contextState.context$ | async).uri\"\n [map]=\"map\"\n [store]=\"workspaceStore\"\n [selectedMode]=\"importExportState.selectedMode$ | async\"\n (selectMode)=\"modeChanged($any($event))\"\n [exportOptions$]=\"importExportState.exportOptions$\"\n (exportOptionsChange)=\"exportOptionsChange($event)\"\n />\n}\n\n@if (!importExportShowBothType() && importExportType() === 'context') {\n <igo-context-import-export [map]=\"map\" />\n}\n", styles: ["mat-form-field{width:100%}\n"], dependencies: [{ kind: "ngmodule", type: MatTabsModule }, { kind: "component", type: i1$2.MatTab, selector: "mat-tab", inputs: ["disabled", "label", "aria-label", "aria-labelledby", "labelClass", "bodyClass", "id"], exportAs: ["matTab"] }, { kind: "component", type: i1$2.MatTabGroup, selector: "mat-tab-group", inputs: ["color", "fitInkBarToContent", "mat-stretch-tabs", "mat-align-tabs", "dynamicHeight", "selectedIndex", "headerPosition", "animationDuration", "contentTabIndex", "disablePagination", "disableRipple", "preserveContent", "backgroundColor", "aria-label", "aria-labelledby"], outputs: ["selectedIndexChange", "focusChange", "animationDone", "selectedTabChange"], exportAs: ["matTabGroup"] }, { kind: "component", type: ImportExportComponent, selector: "igo-import-export", inputs: ["selectFirstProj", "map", "contextUri", "projectionsLimitations", "store", "selectedMode", "exportOptions$"], outputs: ["selectedModeChange", "selectMode", "exportOptionsChange"] }, { kind: "component", type: ContextImportExportComponent, selector: "igo-context-import-export", inputs: ["map"] }, { kind: "ngmodule", type: IgoLanguageModule }, { kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "pipe", type: i3$1.TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2817
2834
|
};
|
|
2818
2835
|
ImportExportToolComponent = __decorate([
|
|
2819
2836
|
ToolComponent({
|
|
@@ -2822,7 +2839,7 @@ ImportExportToolComponent = __decorate([
|
|
|
2822
2839
|
icon: 'file_save'
|
|
2823
2840
|
})
|
|
2824
2841
|
], ImportExportToolComponent);
|
|
2825
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2842
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ImportExportToolComponent, decorators: [{
|
|
2826
2843
|
type: Component,
|
|
2827
2844
|
args: [{ selector: 'igo-import-export-tool', changeDetection: ChangeDetectionStrategy.OnPush, imports: [
|
|
2828
2845
|
MatTabsModule,
|
|
@@ -2830,16 +2847,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.14", ngImpo
|
|
|
2830
2847
|
ContextImportExportComponent,
|
|
2831
2848
|
AsyncPipe,
|
|
2832
2849
|
IgoLanguageModule
|
|
2833
|
-
], template: "@if (importExportShowBothType) {\n <mat-tab-group>\n <mat-tab\n [label]=\"'igo.integration.importExportTool.importExportData' | translate\"\n >\n <igo-import-export\n [contextUri]=\"(contextState.context$ | async).uri\"\n [map]=\"map\"\n [selectFirstProj]=\"selectFirstProj\"\n [projectionsLimitations]=\"projectionsLimitations\"\n [store]=\"workspaceStore\"\n [selectedMode]=\"importExportState.selectedMode$ | async\"\n (selectMode)=\"modeChanged($any($event))\"\n [exportOptions$]=\"importExportState.exportOptions$\"\n (exportOptionsChange)=\"exportOptionsChange($event)\"\n
|
|
2834
|
-
}], propDecorators: { projectionsLimitations: [{
|
|
2835
|
-
type: Input
|
|
2836
|
-
}], selectFirstProj: [{
|
|
2837
|
-
type: Input
|
|
2838
|
-
}], importExportType: [{
|
|
2839
|
-
type: Input
|
|
2840
|
-
}], importExportShowBothType: [{
|
|
2841
|
-
type: Input
|
|
2842
|
-
}] } });
|
|
2850
|
+
], template: "@if (importExportShowBothType()) {\n <mat-tab-group>\n <mat-tab\n [label]=\"'igo.integration.importExportTool.importExportData' | translate\"\n >\n <igo-import-export\n [contextUri]=\"(contextState.context$ | async).uri\"\n [map]=\"map\"\n [selectFirstProj]=\"selectFirstProj()\"\n [projectionsLimitations]=\"projectionsLimitations()\"\n [store]=\"workspaceStore\"\n [selectedMode]=\"importExportState.selectedMode$ | async\"\n (selectMode)=\"modeChanged($any($event))\"\n [exportOptions$]=\"importExportState.exportOptions$\"\n (exportOptionsChange)=\"exportOptionsChange($event)\"\n />\n </mat-tab>\n <mat-tab\n [label]=\"\n 'igo.integration.importExportTool.importExportContext' | translate\n \"\n >\n <igo-context-import-export [map]=\"map\" />\n </mat-tab>\n </mat-tab-group>\n}\n\n@if (!importExportShowBothType() && importExportType() === 'layer') {\n <igo-import-export\n [contextUri]=\"(contextState.context$ | async).uri\"\n [map]=\"map\"\n [store]=\"workspaceStore\"\n [selectedMode]=\"importExportState.selectedMode$ | async\"\n (selectMode)=\"modeChanged($any($event))\"\n [exportOptions$]=\"importExportState.exportOptions$\"\n (exportOptionsChange)=\"exportOptionsChange($event)\"\n />\n}\n\n@if (!importExportShowBothType() && importExportType() === 'context') {\n <igo-context-import-export [map]=\"map\" />\n}\n", styles: ["mat-form-field{width:100%}\n"] }]
|
|
2851
|
+
}], propDecorators: { projectionsLimitations: [{ type: i0.Input, args: [{ isSignal: true, alias: "projectionsLimitations", required: false }] }], selectFirstProj: [{ type: i0.Input, args: [{ isSignal: true, alias: "selectFirstProj", required: false }] }], importExportType: [{ type: i0.Input, args: [{ isSignal: true, alias: "importExportType", required: false }] }, { type: i0.Output, args: ["importExportTypeChange"] }], importExportShowBothType: [{ type: i0.Input, args: [{ isSignal: true, alias: "importExportShowBothType", required: false }] }] } });
|
|
2843
2852
|
|
|
2844
2853
|
/**
|
|
2845
2854
|
* @deprecated import the ImportExportToolComponent directly
|
|
@@ -2851,11 +2860,11 @@ class IgoAppImportExportModule {
|
|
|
2851
2860
|
providers: []
|
|
2852
2861
|
};
|
|
2853
2862
|
}
|
|
2854
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
2855
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.
|
|
2856
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.
|
|
2863
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: IgoAppImportExportModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2864
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.16", ngImport: i0, type: IgoAppImportExportModule, imports: [ImportExportToolComponent], exports: [ImportExportToolComponent] });
|
|
2865
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: IgoAppImportExportModule, imports: [ImportExportToolComponent] });
|
|
2857
2866
|
}
|
|
2858
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2867
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: IgoAppImportExportModule, decorators: [{
|
|
2859
2868
|
type: NgModule,
|
|
2860
2869
|
args: [{
|
|
2861
2870
|
imports: [ImportExportToolComponent],
|
|
@@ -3240,10 +3249,10 @@ class AdvancedCoordinatesComponent {
|
|
|
3240
3249
|
}
|
|
3241
3250
|
});
|
|
3242
3251
|
}
|
|
3243
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
3244
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.
|
|
3252
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AdvancedCoordinatesComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3253
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.16", 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 @if (units) {\n <mat-form-field subscriptSizing=\"dynamic\">\n <mat-label>{{\n 'igo.integration.advanced-map-tool.advanced-coordinates.lon'\n | 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 } @else {\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 }\n\n @if (units) {\n <mat-form-field subscriptSizing=\"dynamic\">\n <mat-label>{{\n 'igo.integration.advanced-map-tool.advanced-coordinates.lat'\n | 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 } @else {\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 }\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>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 @for (projection of projections$ | async; track projection) {\n <mat-option\n matTooltipShowDelay=\"500\"\n [value]=\"projection\"\n (click)=\"$event.stopPropagation()\"\n >\n {{ projection.translatedValue || projection.alias }}\n </mat-option>\n }\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\"\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\">\n {{\n 'igo.integration.advanced-map-tool.advanced-coordinates.zoom' | translate\n }}\n {{ map.viewController.getZoom() }}\n </p>\n <p class=\"igo-zoom\">\n {{\n 'igo.integration.advanced-map-tool.advanced-coordinates.scale' | translate\n }}\n {{ formattedScale$ | async }}\n </p>\n <p class=\"igo-zoom\">\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: "ngmodule", type: MatFormFieldModule }, { kind: "component", type: i1$3.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i1$3.MatLabel, selector: "mat-label" }, { kind: "ngmodule", type: MatInputModule }, { kind: "directive", type: i2$2.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly", "disabledInteractive"], exportAs: ["matInput"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i1.MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i3.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$4.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1$4.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1$4.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: MatSelectModule }, { kind: "component", type: i6.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", "canSelectNullableOptions"], outputs: ["openedChange", "opened", "closed", "selectionChange", "valueChange"], exportAs: ["matSelect"] }, { kind: "component", type: i6.MatOption, selector: "mat-option", inputs: ["value", "id", "disabled"], outputs: ["onSelectionChange"], exportAs: ["matOption"] }, { kind: "ngmodule", type: MatOptionModule }, { kind: "ngmodule", type: MatSlideToggleModule }, { kind: "component", type: i7.MatSlideToggle, selector: "mat-slide-toggle", inputs: ["name", "id", "labelPosition", "aria-label", "aria-labelledby", "aria-describedby", "required", "color", "disabled", "disableRipple", "tabIndex", "checked", "hideIcon", "disabledInteractive"], outputs: ["change", "toggleChange"], exportAs: ["matSlideToggle"] }, { kind: "ngmodule", type: IgoLanguageModule }, { kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "pipe", type: DecimalPipe, name: "number" }, { kind: "pipe", type: i3$1.TranslatePipe, name: "translate" }] });
|
|
3245
3254
|
}
|
|
3246
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
3255
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AdvancedCoordinatesComponent, decorators: [{
|
|
3247
3256
|
type: Component,
|
|
3248
3257
|
args: [{ selector: 'igo-advanced-coordinates', imports: [
|
|
3249
3258
|
MatFormFieldModule,
|
|
@@ -3368,10 +3377,10 @@ class AdvancedSwipeComponent {
|
|
|
3368
3377
|
contextEmit() {
|
|
3369
3378
|
this.toolState.toolbox.activateTool('contextManager');
|
|
3370
3379
|
}
|
|
3371
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
3372
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.
|
|
3380
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AdvancedSwipeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3381
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.16", type: AdvancedSwipeComponent, isStandalone: true, selector: "igo-advanced-swipe", ngImport: i0, template: "@if (userControlledLayerList?.length) {\n <div class=\"igo-swipe-select-container\">\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 />\n @for (layer of userControlledLayerList; track layer) {\n <mat-option [value]=\"layer\" (click)=\"applyNewLayers(e)\">{{\n layer.title\n }}</mat-option>\n }\n </mat-select>\n </mat-form-field>\n <mat-slide-toggle\n class=\"swipe-toggle\"\n [checked]=\"swipe\"\n [labelPosition]=\"'before'\"\n (change)=\"startSwipe($event.checked)\"\n >\n {{\n 'igo.integration.advanced-map-tool.advanced-swipe.swipe' | translate\n }}\n </mat-slide-toggle>\n </form>\n </div>\n} @else {\n <mat-list>\n <p class=\"map-empty\">\n {{ 'igo.integration.advanced-map-tool.advanced-swipe.empty' | translate }}\n </p>\n <p class=\"map-empty\">\n {{\n 'igo.integration.advanced-map-tool.advanced-swipe.customize' | translate\n }}\n </p>\n <mat-list-item>\n <mat-icon matListItemIcon>search</mat-icon>\n <span matListItemTitle class=\"search-tool\" (click)=\"searchEmit()\">\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>library_add</mat-icon>\n <span matListItemTitle class=\"catalog-tool\" (click)=\"catalogEmit()\">\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>star</mat-icon>\n <span matListItemTitle class=\"context-tool\" (click)=\"contextEmit()\">\n {{\n 'igo.integration.advanced-map-tool.advanced-swipe.context-tool'\n | translate\n }}\n </span>\n </mat-list-item>\n </mat-list>\n}\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{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: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$4.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1$4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$4.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1$4.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$4.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "ngmodule", type: MatFormFieldModule }, { kind: "component", type: i1$3.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i1$3.MatLabel, selector: "mat-label" }, { kind: "ngmodule", type: MatSelectModule }, { kind: "component", type: i6.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", "canSelectNullableOptions"], outputs: ["openedChange", "opened", "closed", "selectionChange", "valueChange"], exportAs: ["matSelect"] }, { kind: "component", type: i6.MatOption, selector: "mat-option", inputs: ["value", "id", "disabled"], outputs: ["onSelectionChange"], exportAs: ["matOption"] }, { kind: "ngmodule", type: MatOptionModule }, { kind: "ngmodule", type: MatDividerModule }, { kind: "component", type: i4$1.MatDivider, selector: "mat-divider", inputs: ["vertical", "inset"] }, { kind: "ngmodule", type: MatSlideToggleModule }, { kind: "component", type: i7.MatSlideToggle, selector: "mat-slide-toggle", inputs: ["name", "id", "labelPosition", "aria-label", "aria-labelledby", "aria-describedby", "required", "color", "disabled", "disableRipple", "tabIndex", "checked", "hideIcon", "disabledInteractive"], outputs: ["change", "toggleChange"], exportAs: ["matSlideToggle"] }, { kind: "ngmodule", type: MatListModule }, { kind: "component", type: i1$5.MatList, selector: "mat-list", exportAs: ["matList"] }, { kind: "component", type: i1$5.MatListItem, selector: "mat-list-item, a[mat-list-item], button[mat-list-item]", inputs: ["activated"], exportAs: ["matListItem"] }, { kind: "directive", type: i1$5.MatListItemIcon, selector: "[matListItemIcon]" }, { kind: "directive", type: i1$5.MatListItemTitle, selector: "[matListItemTitle]" }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i3.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: IgoLanguageModule }, { kind: "pipe", type: i3$1.TranslatePipe, name: "translate" }] });
|
|
3373
3382
|
}
|
|
3374
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
3383
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AdvancedSwipeComponent, decorators: [{
|
|
3375
3384
|
type: Component,
|
|
3376
3385
|
args: [{ selector: 'igo-advanced-swipe', imports: [
|
|
3377
3386
|
FormsModule,
|
|
@@ -3384,7 +3393,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.14", ngImpo
|
|
|
3384
3393
|
MatListModule,
|
|
3385
3394
|
MatIconModule,
|
|
3386
3395
|
IgoLanguageModule
|
|
3387
|
-
], template: "@if (userControlledLayerList?.length) {\n <div class=\"igo-swipe-select-container\">\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
|
|
3396
|
+
], template: "@if (userControlledLayerList?.length) {\n <div class=\"igo-swipe-select-container\">\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 />\n @for (layer of userControlledLayerList; track layer) {\n <mat-option [value]=\"layer\" (click)=\"applyNewLayers(e)\">{{\n layer.title\n }}</mat-option>\n }\n </mat-select>\n </mat-form-field>\n <mat-slide-toggle\n class=\"swipe-toggle\"\n [checked]=\"swipe\"\n [labelPosition]=\"'before'\"\n (change)=\"startSwipe($event.checked)\"\n >\n {{\n 'igo.integration.advanced-map-tool.advanced-swipe.swipe' | translate\n }}\n </mat-slide-toggle>\n </form>\n </div>\n} @else {\n <mat-list>\n <p class=\"map-empty\">\n {{ 'igo.integration.advanced-map-tool.advanced-swipe.empty' | translate }}\n </p>\n <p class=\"map-empty\">\n {{\n 'igo.integration.advanced-map-tool.advanced-swipe.customize' | translate\n }}\n </p>\n <mat-list-item>\n <mat-icon matListItemIcon>search</mat-icon>\n <span matListItemTitle class=\"search-tool\" (click)=\"searchEmit()\">\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>library_add</mat-icon>\n <span matListItemTitle class=\"catalog-tool\" (click)=\"catalogEmit()\">\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>star</mat-icon>\n <span matListItemTitle class=\"context-tool\" (click)=\"contextEmit()\">\n {{\n 'igo.integration.advanced-map-tool.advanced-swipe.context-tool'\n | translate\n }}\n </span>\n </mat-list-item>\n </mat-list>\n}\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{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"] }]
|
|
3388
3397
|
}], ctorParameters: () => [] });
|
|
3389
3398
|
|
|
3390
3399
|
let AdvancedMapToolComponent = class AdvancedMapToolComponent {
|
|
@@ -3407,8 +3416,8 @@ let AdvancedMapToolComponent = class AdvancedMapToolComponent {
|
|
|
3407
3416
|
}
|
|
3408
3417
|
this.mapState.map.geolocationController.followPosition = value;
|
|
3409
3418
|
}
|
|
3410
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
3411
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
3419
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AdvancedMapToolComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3420
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", 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 />\n<mat-divider class=\"advanced-tool-line\" />\n<h4 class=\"nameOfTool\">\n {{\n 'igo.integration.advanced-map-tool.advanced-coordinates.coordinates'\n | translate\n }}\n</h4>\n<igo-advanced-coordinates />\n<mat-divider class=\"advanced-tool-line\" />\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;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: i4$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: i7.MatSlideToggle, selector: "mat-slide-toggle", inputs: ["name", "id", "labelPosition", "aria-label", "aria-labelledby", "aria-describedby", "required", "color", "disabled", "disableRipple", "tabIndex", "checked", "hideIcon", "disabledInteractive"], outputs: ["change", "toggleChange"], exportAs: ["matSlideToggle"] }, { kind: "ngmodule", type: IgoLanguageModule }, { kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "pipe", type: i3$1.TranslatePipe, name: "translate" }] });
|
|
3412
3421
|
};
|
|
3413
3422
|
AdvancedMapToolComponent = __decorate([
|
|
3414
3423
|
ToolComponent({
|
|
@@ -3420,7 +3429,7 @@ AdvancedMapToolComponent = __decorate([
|
|
|
3420
3429
|
* Tool to handle the advanced map tools
|
|
3421
3430
|
*/
|
|
3422
3431
|
], AdvancedMapToolComponent);
|
|
3423
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
3432
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AdvancedMapToolComponent, decorators: [{
|
|
3424
3433
|
type: Component,
|
|
3425
3434
|
args: [{ selector: 'igo-advanced-map-tool', imports: [
|
|
3426
3435
|
AdvancedSwipeComponent,
|
|
@@ -3429,7 +3438,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.14", ngImpo
|
|
|
3429
3438
|
MatSlideToggleModule,
|
|
3430
3439
|
AsyncPipe,
|
|
3431
3440
|
IgoLanguageModule
|
|
3432
|
-
], template: "<h4 class=\"nameOfTool\">\n {{\n 'igo.integration.advanced-map-tool.advanced-swipe.swipe-tool' | translate\n }}\n</h4>\n<igo-advanced-swipe
|
|
3441
|
+
], template: "<h4 class=\"nameOfTool\">\n {{\n 'igo.integration.advanced-map-tool.advanced-swipe.swipe-tool' | translate\n }}\n</h4>\n<igo-advanced-swipe />\n<mat-divider class=\"advanced-tool-line\" />\n<h4 class=\"nameOfTool\">\n {{\n 'igo.integration.advanced-map-tool.advanced-coordinates.coordinates'\n | translate\n }}\n</h4>\n<igo-advanced-coordinates />\n<mat-divider class=\"advanced-tool-line\" />\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;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"] }]
|
|
3433
3442
|
}] });
|
|
3434
3443
|
|
|
3435
3444
|
class WorkspaceButtonComponent {
|
|
@@ -3445,7 +3454,7 @@ class WorkspaceButtonComponent {
|
|
|
3445
3454
|
return this._layer;
|
|
3446
3455
|
}
|
|
3447
3456
|
_layer;
|
|
3448
|
-
color = 'primary';
|
|
3457
|
+
color = input('primary', ...(ngDevMode ? [{ debugName: "color" }] : []));
|
|
3449
3458
|
ngOnInit() {
|
|
3450
3459
|
this.hasWorkspace$$ = combineLatest([
|
|
3451
3460
|
this.workspaceState.workspaceEnabled$,
|
|
@@ -3459,18 +3468,18 @@ class WorkspaceButtonComponent {
|
|
|
3459
3468
|
if (this.workspaceState.workspace$.value &&
|
|
3460
3469
|
this.workspaceState.workspace$.value.layer.id ===
|
|
3461
3470
|
this.layer.id &&
|
|
3462
|
-
this.workspaceState.
|
|
3463
|
-
this.workspaceState.
|
|
3471
|
+
this.workspaceState.expanded()) {
|
|
3472
|
+
this.workspaceState.expanded.set(false);
|
|
3464
3473
|
}
|
|
3465
3474
|
else {
|
|
3466
|
-
this.workspaceState.
|
|
3475
|
+
this.workspaceState.expanded.set(true);
|
|
3467
3476
|
this.workspaceState.setActiveWorkspaceById(this.layer.id);
|
|
3468
3477
|
}
|
|
3469
3478
|
}
|
|
3470
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
3471
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.
|
|
3479
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: WorkspaceButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3480
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.16", type: WorkspaceButtonComponent, isStandalone: true, selector: "igo-workspace-button", inputs: { layer: { classPropertyName: "layer", publicName: "layer", isSignal: false, isRequired: false, transformFunction: null }, color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "@if (hasWorkspace$ | async) {\n <button\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>table</mat-icon>\n </button>\n}\n", styles: [""], dependencies: [{ kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i1.MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "ngmodule", type: MatTooltipModule }, { kind: "directive", type: i2.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i3.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: IgoLanguageModule }, { kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "pipe", type: i3$1.TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
3472
3481
|
}
|
|
3473
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
3482
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: WorkspaceButtonComponent, decorators: [{
|
|
3474
3483
|
type: Component,
|
|
3475
3484
|
args: [{ selector: 'igo-workspace-button', changeDetection: ChangeDetectionStrategy.OnPush, imports: [
|
|
3476
3485
|
MatButtonModule,
|
|
@@ -3478,12 +3487,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.14", ngImpo
|
|
|
3478
3487
|
MatIconModule,
|
|
3479
3488
|
AsyncPipe,
|
|
3480
3489
|
IgoLanguageModule
|
|
3481
|
-
], template: "@if (hasWorkspace$ | async) {\n <button\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>table</mat-icon>\n </button>\n}\n" }]
|
|
3490
|
+
], template: "@if (hasWorkspace$ | async) {\n <button\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>table</mat-icon>\n </button>\n}\n" }]
|
|
3482
3491
|
}], propDecorators: { layer: [{
|
|
3483
3492
|
type: Input
|
|
3484
|
-
}], color: [{
|
|
3485
|
-
type: Input
|
|
3486
|
-
}] } });
|
|
3493
|
+
}], color: [{ type: i0.Input, args: [{ isSignal: true, alias: "color", required: false }] }] } });
|
|
3487
3494
|
|
|
3488
3495
|
let MapDetailsToolComponent = class MapDetailsToolComponent {
|
|
3489
3496
|
mapState = inject(MapState);
|
|
@@ -3495,24 +3502,24 @@ let MapDetailsToolComponent = class MapDetailsToolComponent {
|
|
|
3495
3502
|
cdr = inject(ChangeDetectorRef);
|
|
3496
3503
|
isDesktop;
|
|
3497
3504
|
delayedShowEmptyMapContent = false;
|
|
3498
|
-
toggleLegendOnVisibilityChange = false;
|
|
3499
|
-
expandLegendOfVisibleLayers = false;
|
|
3500
|
-
updateLegendOnResolutionChange = false;
|
|
3501
|
-
ogcButton = true;
|
|
3502
|
-
timeButton = true;
|
|
3503
|
-
layerListControls = {};
|
|
3504
|
-
queryBadge = false;
|
|
3505
|
-
layerAdditionAllowed = true;
|
|
3505
|
+
toggleLegendOnVisibilityChange = input(false, ...(ngDevMode ? [{ debugName: "toggleLegendOnVisibilityChange" }] : []));
|
|
3506
|
+
expandLegendOfVisibleLayers = input(false, ...(ngDevMode ? [{ debugName: "expandLegendOfVisibleLayers" }] : []));
|
|
3507
|
+
updateLegendOnResolutionChange = input(false, ...(ngDevMode ? [{ debugName: "updateLegendOnResolutionChange" }] : []));
|
|
3508
|
+
ogcButton = input(true, ...(ngDevMode ? [{ debugName: "ogcButton" }] : []));
|
|
3509
|
+
timeButton = input(true, ...(ngDevMode ? [{ debugName: "timeButton" }] : []));
|
|
3510
|
+
layerListControls = input({}, ...(ngDevMode ? [{ debugName: "layerListControls" }] : []));
|
|
3511
|
+
queryBadge = input(false, ...(ngDevMode ? [{ debugName: "queryBadge" }] : []));
|
|
3512
|
+
layerAdditionAllowed = input(true, ...(ngDevMode ? [{ debugName: "layerAdditionAllowed" }] : []));
|
|
3506
3513
|
_layerViewerOptions;
|
|
3507
3514
|
get layerViewerOptions() {
|
|
3508
3515
|
return {
|
|
3509
3516
|
filterAndSortOptions: this.layerFilterAndSortOptions,
|
|
3510
3517
|
legend: {
|
|
3511
|
-
showForVisibleLayers: this.expandLegendOfVisibleLayers,
|
|
3512
|
-
showOnVisibilityChange: this.toggleLegendOnVisibilityChange,
|
|
3513
|
-
updateOnResolutionChange: this.updateLegendOnResolutionChange
|
|
3518
|
+
showForVisibleLayers: this.expandLegendOfVisibleLayers(),
|
|
3519
|
+
showOnVisibilityChange: this.toggleLegendOnVisibilityChange(),
|
|
3520
|
+
updateOnResolutionChange: this.updateLegendOnResolutionChange()
|
|
3514
3521
|
},
|
|
3515
|
-
queryBadge: this.queryBadge,
|
|
3522
|
+
queryBadge: this.queryBadge(),
|
|
3516
3523
|
...this._layerViewerOptions
|
|
3517
3524
|
};
|
|
3518
3525
|
}
|
|
@@ -3523,13 +3530,13 @@ let MapDetailsToolComponent = class MapDetailsToolComponent {
|
|
|
3523
3530
|
return this.map.layerController.all$;
|
|
3524
3531
|
}
|
|
3525
3532
|
get excludeBaseLayers() {
|
|
3526
|
-
return this.layerListControls.excludeBaseLayers || false;
|
|
3533
|
+
return this.layerListControls().excludeBaseLayers || false;
|
|
3527
3534
|
}
|
|
3528
3535
|
get layerFilterAndSortOptions() {
|
|
3529
3536
|
const filterSortOptions = Object.assign({
|
|
3530
3537
|
showToolbar: LayerListControlsEnum.default
|
|
3531
|
-
}, this.layerListControls);
|
|
3532
|
-
switch (this.layerListControls.showToolbar) {
|
|
3538
|
+
}, this.layerListControls());
|
|
3539
|
+
switch (this.layerListControls().showToolbar) {
|
|
3533
3540
|
case LayerListControlsEnum.always:
|
|
3534
3541
|
filterSortOptions.showToolbar = LayerListControlsEnum.always;
|
|
3535
3542
|
break;
|
|
@@ -3592,8 +3599,8 @@ let MapDetailsToolComponent = class MapDetailsToolComponent {
|
|
|
3592
3599
|
this.cdr.detectChanges();
|
|
3593
3600
|
});
|
|
3594
3601
|
}
|
|
3595
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
3596
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.
|
|
3602
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: MapDetailsToolComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3603
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.16", type: MapDetailsToolComponent, isStandalone: true, selector: "igo-map-details-tool", inputs: { toggleLegendOnVisibilityChange: { classPropertyName: "toggleLegendOnVisibilityChange", publicName: "toggleLegendOnVisibilityChange", isSignal: true, isRequired: false, transformFunction: null }, expandLegendOfVisibleLayers: { classPropertyName: "expandLegendOfVisibleLayers", publicName: "expandLegendOfVisibleLayers", isSignal: true, isRequired: false, transformFunction: null }, updateLegendOnResolutionChange: { classPropertyName: "updateLegendOnResolutionChange", publicName: "updateLegendOnResolutionChange", isSignal: true, isRequired: false, transformFunction: null }, ogcButton: { classPropertyName: "ogcButton", publicName: "ogcButton", isSignal: true, isRequired: false, transformFunction: null }, timeButton: { classPropertyName: "timeButton", publicName: "timeButton", isSignal: true, isRequired: false, transformFunction: null }, layerListControls: { classPropertyName: "layerListControls", publicName: "layerListControls", isSignal: true, isRequired: false, transformFunction: null }, queryBadge: { classPropertyName: "queryBadge", publicName: "queryBadge", isSignal: true, isRequired: false, transformFunction: null }, layerAdditionAllowed: { classPropertyName: "layerAdditionAllowed", publicName: "layerAdditionAllowed", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "@if ((layers$ | async).length) {\n <igo-layer-viewer\n class=\"mapDetailsList\"\n [map]=\"map\"\n [options]=\"layerViewerOptions\"\n [excludeBaseLayers]=\"excludeBaseLayers\"\n [isDesktop]=\"isDesktop\"\n >\n <ng-template #customBottomActions let-layer=\"layer\">\n <igo-workspace-button [layer]=\"layer\" />\n <igo-export-button [layer]=\"layer\" (click)=\"activateExport(layer)\" />\n <igo-ogc-filter-button [header]=\"ogcButton()\" [layer]=\"layer\" />\n <igo-time-filter-button [header]=\"timeButton()\" [layer]=\"layer\" />\n <igo-track-feature-button [trackFeature]=\"true\" [layer]=\"layer\" />\n <igo-metadata-button [layer]=\"layer\" />\n </ng-template>\n </igo-layer-viewer>\n} @else {\n @if (delayedShowEmptyMapContent) {\n <mat-list>\n <p class=\"map-empty\">\n {{ 'igo.integration.mapTool.empty' | translate }}\n </p>\n @if (\n layerAdditionAllowed() &&\n (searchToolInToolbar || catalogToolInToolbar || contextToolInToolbar)\n ) {\n <p class=\"map-empty\">\n {{ 'igo.integration.mapTool.customize' | translate }}\n </p>\n }\n @if (layerAdditionAllowed() && searchToolInToolbar) {\n <mat-list-item>\n <mat-icon matListItemIcon>search</mat-icon>\n <span matListItemTitle class=\"search-tool\" (click)=\"searchEmit()\">\n {{ 'igo.integration.mapTool.search-tool' | translate }}\n </span>\n </mat-list-item>\n }\n @if (layerAdditionAllowed() && catalogToolInToolbar) {\n <mat-list-item>\n <mat-icon matListItemIcon>library_add</mat-icon>\n <span matListItemTitle class=\"catalog-tool\" (click)=\"catalogEmit()\">\n {{ 'igo.integration.mapTool.catalog-tool' | translate }}\n </span>\n </mat-list-item>\n }\n @if (layerAdditionAllowed() && contextToolInToolbar) {\n <mat-list-item>\n <mat-icon matListItemIcon>star</mat-icon>\n <span matListItemTitle class=\"context-tool\" (click)=\"contextEmit()\">\n {{ 'igo.integration.mapTool.context-tool' | translate }}\n </span>\n </mat-list-item>\n }\n </mat-list>\n }\n}\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: "component", type: LayerViewerComponent, selector: "igo-layer-viewer", inputs: ["map", "options", "isDesktop", "excludeBaseLayers"], outputs: ["appliedFilterAndSort"] }, { 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"], outputs: ["trackFeatureChange"] }, { kind: "component", type: MetadataButtonComponent, selector: "igo-metadata-button", inputs: ["layer", "color"] }, { kind: "ngmodule", type: MatListModule }, { kind: "component", type: i1$5.MatList, selector: "mat-list", exportAs: ["matList"] }, { kind: "component", type: i1$5.MatListItem, selector: "mat-list-item, a[mat-list-item], button[mat-list-item]", inputs: ["activated"], exportAs: ["matListItem"] }, { kind: "directive", type: i1$5.MatListItemIcon, selector: "[matListItemIcon]" }, { kind: "directive", type: i1$5.MatListItemTitle, selector: "[matListItemTitle]" }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i3.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: IgoLanguageModule }, { kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "pipe", type: i3$1.TranslatePipe, name: "translate" }] });
|
|
3597
3604
|
};
|
|
3598
3605
|
MapDetailsToolComponent = __decorate([
|
|
3599
3606
|
ToolComponent({
|
|
@@ -3603,7 +3610,7 @@ MapDetailsToolComponent = __decorate([
|
|
|
3603
3610
|
}),
|
|
3604
3611
|
__metadata("design:paramtypes", [])
|
|
3605
3612
|
], MapDetailsToolComponent);
|
|
3606
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
3613
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: MapDetailsToolComponent, decorators: [{
|
|
3607
3614
|
type: Component,
|
|
3608
3615
|
args: [{ selector: 'igo-map-details-tool', imports: [
|
|
3609
3616
|
LayerViewerComponent,
|
|
@@ -3617,24 +3624,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.14", ngImpo
|
|
|
3617
3624
|
MatIconModule,
|
|
3618
3625
|
AsyncPipe,
|
|
3619
3626
|
IgoLanguageModule
|
|
3620
|
-
], template: "@if ((layers$ | async).length) {\n <igo-layer-viewer\n class=\"mapDetailsList\"\n [map]=\"map\"\n [options]=\"layerViewerOptions\"\n [excludeBaseLayers]=\"excludeBaseLayers\"\n [isDesktop]=\"isDesktop\"\n >\n <ng-template #customBottomActions let-layer=\"layer\">\n <igo-workspace-button [layer]=\"layer\"
|
|
3621
|
-
}], ctorParameters: () => [], propDecorators: { toggleLegendOnVisibilityChange: [{
|
|
3622
|
-
type: Input
|
|
3623
|
-
}], expandLegendOfVisibleLayers: [{
|
|
3624
|
-
type: Input
|
|
3625
|
-
}], updateLegendOnResolutionChange: [{
|
|
3626
|
-
type: Input
|
|
3627
|
-
}], ogcButton: [{
|
|
3628
|
-
type: Input
|
|
3629
|
-
}], timeButton: [{
|
|
3630
|
-
type: Input
|
|
3631
|
-
}], layerListControls: [{
|
|
3632
|
-
type: Input
|
|
3633
|
-
}], queryBadge: [{
|
|
3634
|
-
type: Input
|
|
3635
|
-
}], layerAdditionAllowed: [{
|
|
3636
|
-
type: Input
|
|
3637
|
-
}] } });
|
|
3627
|
+
], template: "@if ((layers$ | async).length) {\n <igo-layer-viewer\n class=\"mapDetailsList\"\n [map]=\"map\"\n [options]=\"layerViewerOptions\"\n [excludeBaseLayers]=\"excludeBaseLayers\"\n [isDesktop]=\"isDesktop\"\n >\n <ng-template #customBottomActions let-layer=\"layer\">\n <igo-workspace-button [layer]=\"layer\" />\n <igo-export-button [layer]=\"layer\" (click)=\"activateExport(layer)\" />\n <igo-ogc-filter-button [header]=\"ogcButton()\" [layer]=\"layer\" />\n <igo-time-filter-button [header]=\"timeButton()\" [layer]=\"layer\" />\n <igo-track-feature-button [trackFeature]=\"true\" [layer]=\"layer\" />\n <igo-metadata-button [layer]=\"layer\" />\n </ng-template>\n </igo-layer-viewer>\n} @else {\n @if (delayedShowEmptyMapContent) {\n <mat-list>\n <p class=\"map-empty\">\n {{ 'igo.integration.mapTool.empty' | translate }}\n </p>\n @if (\n layerAdditionAllowed() &&\n (searchToolInToolbar || catalogToolInToolbar || contextToolInToolbar)\n ) {\n <p class=\"map-empty\">\n {{ 'igo.integration.mapTool.customize' | translate }}\n </p>\n }\n @if (layerAdditionAllowed() && searchToolInToolbar) {\n <mat-list-item>\n <mat-icon matListItemIcon>search</mat-icon>\n <span matListItemTitle class=\"search-tool\" (click)=\"searchEmit()\">\n {{ 'igo.integration.mapTool.search-tool' | translate }}\n </span>\n </mat-list-item>\n }\n @if (layerAdditionAllowed() && catalogToolInToolbar) {\n <mat-list-item>\n <mat-icon matListItemIcon>library_add</mat-icon>\n <span matListItemTitle class=\"catalog-tool\" (click)=\"catalogEmit()\">\n {{ 'igo.integration.mapTool.catalog-tool' | translate }}\n </span>\n </mat-list-item>\n }\n @if (layerAdditionAllowed() && contextToolInToolbar) {\n <mat-list-item>\n <mat-icon matListItemIcon>star</mat-icon>\n <span matListItemTitle class=\"context-tool\" (click)=\"contextEmit()\">\n {{ 'igo.integration.mapTool.context-tool' | translate }}\n </span>\n </mat-list-item>\n }\n </mat-list>\n }\n}\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"] }]
|
|
3628
|
+
}], ctorParameters: () => [], propDecorators: { toggleLegendOnVisibilityChange: [{ type: i0.Input, args: [{ isSignal: true, alias: "toggleLegendOnVisibilityChange", required: false }] }], expandLegendOfVisibleLayers: [{ type: i0.Input, args: [{ isSignal: true, alias: "expandLegendOfVisibleLayers", required: false }] }], updateLegendOnResolutionChange: [{ type: i0.Input, args: [{ isSignal: true, alias: "updateLegendOnResolutionChange", required: false }] }], ogcButton: [{ type: i0.Input, args: [{ isSignal: true, alias: "ogcButton", required: false }] }], timeButton: [{ type: i0.Input, args: [{ isSignal: true, alias: "timeButton", required: false }] }], layerListControls: [{ type: i0.Input, args: [{ isSignal: true, alias: "layerListControls", required: false }] }], queryBadge: [{ type: i0.Input, args: [{ isSignal: true, alias: "queryBadge", required: false }] }], layerAdditionAllowed: [{ type: i0.Input, args: [{ isSignal: true, alias: "layerAdditionAllowed", required: false }] }] } });
|
|
3638
3629
|
|
|
3639
3630
|
let MapLegendToolComponent = class MapLegendToolComponent {
|
|
3640
3631
|
mapState = inject(MapState);
|
|
@@ -3647,11 +3638,11 @@ let MapLegendToolComponent = class MapLegendToolComponent {
|
|
|
3647
3638
|
change$ = new ReplaySubject(1);
|
|
3648
3639
|
resolution$$;
|
|
3649
3640
|
visibleOrInRangeLayers$$;
|
|
3650
|
-
updateLegendOnResolutionChange = false;
|
|
3651
|
-
layerAdditionAllowed = true;
|
|
3652
|
-
allowShowAllLegends = false;
|
|
3653
|
-
showAllLegendsValue = false;
|
|
3654
|
-
layerListControls = {};
|
|
3641
|
+
updateLegendOnResolutionChange = input(false, ...(ngDevMode ? [{ debugName: "updateLegendOnResolutionChange" }] : []));
|
|
3642
|
+
layerAdditionAllowed = input(true, ...(ngDevMode ? [{ debugName: "layerAdditionAllowed" }] : []));
|
|
3643
|
+
allowShowAllLegends = input(false, ...(ngDevMode ? [{ debugName: "allowShowAllLegends" }] : []));
|
|
3644
|
+
showAllLegendsValue = input(false, ...(ngDevMode ? [{ debugName: "showAllLegendsValue" }] : []));
|
|
3645
|
+
layerListControls = input({}, ...(ngDevMode ? [{ debugName: "layerListControls" }] : []));
|
|
3655
3646
|
get map() {
|
|
3656
3647
|
return this.mapState.map;
|
|
3657
3648
|
}
|
|
@@ -3662,7 +3653,7 @@ let MapLegendToolComponent = class MapLegendToolComponent {
|
|
|
3662
3653
|
return this.layers$.pipe(map((layers) => layers.filter((layer) => layer.visible)));
|
|
3663
3654
|
}
|
|
3664
3655
|
get excludeBaseLayers() {
|
|
3665
|
-
return this.layerListControls.excludeBaseLayers || false;
|
|
3656
|
+
return this.layerListControls().excludeBaseLayers || false;
|
|
3666
3657
|
}
|
|
3667
3658
|
get searchToolInToolbar() {
|
|
3668
3659
|
return (this.toolState.toolbox.getToolbar().indexOf('searchResults') !== -1 &&
|
|
@@ -3687,11 +3678,11 @@ let MapLegendToolComponent = class MapLegendToolComponent {
|
|
|
3687
3678
|
this.layers$.next(bunch[0].filter((layer) => layer.showInLayerList !== false &&
|
|
3688
3679
|
(!this.excludeBaseLayers || !isBaseLayer(layer))));
|
|
3689
3680
|
});
|
|
3690
|
-
if (this.allowShowAllLegends) {
|
|
3681
|
+
if (this.allowShowAllLegends()) {
|
|
3691
3682
|
this.mapState.showAllLegendsValue =
|
|
3692
3683
|
this.mapState.showAllLegendsValue !== undefined
|
|
3693
3684
|
? this.mapState.showAllLegendsValue
|
|
3694
|
-
: this.showAllLegendsValue || false;
|
|
3685
|
+
: this.showAllLegendsValue() || false;
|
|
3695
3686
|
this.showAllLegendsValue$.next(this.mapState.showAllLegendsValue);
|
|
3696
3687
|
}
|
|
3697
3688
|
else {
|
|
@@ -3712,7 +3703,7 @@ let MapLegendToolComponent = class MapLegendToolComponent {
|
|
|
3712
3703
|
return false;
|
|
3713
3704
|
}
|
|
3714
3705
|
else if (this.layers$.getValue().length !== 0 &&
|
|
3715
|
-
this.allowShowAllLegends === false) {
|
|
3706
|
+
this.allowShowAllLegends() === false) {
|
|
3716
3707
|
let visibleOrInRangeLayers;
|
|
3717
3708
|
this.visibleOrInRangeLayers$$ = this.visibleOrInRangeLayers$.subscribe((value) => {
|
|
3718
3709
|
visibleOrInRangeLayers = value.length === 0 ? false : true;
|
|
@@ -3738,8 +3729,8 @@ let MapLegendToolComponent = class MapLegendToolComponent {
|
|
|
3738
3729
|
contextEmit() {
|
|
3739
3730
|
this.toolState.toolbox.activateTool('contextManager');
|
|
3740
3731
|
}
|
|
3741
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
3742
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.
|
|
3732
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: MapLegendToolComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3733
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.16", type: MapLegendToolComponent, isStandalone: true, selector: "igo-map-legend-tool", inputs: { updateLegendOnResolutionChange: { classPropertyName: "updateLegendOnResolutionChange", publicName: "updateLegendOnResolutionChange", isSignal: true, isRequired: false, transformFunction: null }, layerAdditionAllowed: { classPropertyName: "layerAdditionAllowed", publicName: "layerAdditionAllowed", isSignal: true, isRequired: false, transformFunction: null }, allowShowAllLegends: { classPropertyName: "allowShowAllLegends", publicName: "allowShowAllLegends", isSignal: true, isRequired: false, transformFunction: null }, showAllLegendsValue: { classPropertyName: "showAllLegendsValue", publicName: "showAllLegendsValue", isSignal: true, isRequired: false, transformFunction: null }, layerListControls: { classPropertyName: "layerListControls", publicName: "layerListControls", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "@if (showAllLegend()) {\n <igo-layer-legend-list\n igoLayerLegendListBinding\n [excludeBaseLayers]=\"excludeBaseLayers\"\n [allowShowAllLegends]=\"allowShowAllLegends()\"\n [updateLegendOnResolutionChange]=\"updateLegendOnResolutionChange()\"\n [showAllLegendsValue]=\"showAllLegendsValue$ | async\"\n (allLegendsShown)=\"onShowAllLegends($event)\"\n />\n}\n@if ((layers$ | async).length !== 0) {\n} @else {\n @if (delayedShowEmptyMapContent) {\n <mat-list>\n <p class=\"map-empty\">\n {{ 'igo.integration.mapTool.empty' | translate }}\n </p>\n @if (\n layerAdditionAllowed() &&\n (searchToolInToolbar || catalogToolInToolbar || contextToolInToolbar)\n ) {\n <p class=\"map-empty\">\n {{ 'igo.integration.mapTool.customize' | translate }}\n </p>\n }\n @if (layerAdditionAllowed() && searchToolInToolbar) {\n <mat-list-item>\n <mat-icon matListItemIcon>search</mat-icon>\n <span matListItemTitle class=\"search-tool\" (click)=\"searchEmit()\">\n {{ 'igo.integration.mapTool.search-tool' | translate }}\n </span>\n </mat-list-item>\n }\n @if (layerAdditionAllowed() && catalogToolInToolbar) {\n <mat-list-item>\n <mat-icon matListItemIcon>library_add</mat-icon>\n <span matListItemTitle class=\"catalog-tool\" (click)=\"catalogEmit()\">\n {{ 'igo.integration.mapTool.catalog-tool' | translate }}\n </span>\n </mat-list-item>\n }\n @if (layerAdditionAllowed() && contextToolInToolbar) {\n <mat-list-item>\n <mat-icon matListItemIcon>star</mat-icon>\n <span matListItemTitle class=\"context-tool\" (click)=\"contextEmit()\">\n {{ 'igo.integration.mapTool.context-tool' | translate }}\n </span>\n </mat-list-item>\n }\n </mat-list>\n }\n}\n\n@if (\n !allowShowAllLegends() &&\n (layers$ | async).length !== 0 &&\n (visibleOrInRangeLayers$ | async).length === 0\n) {\n <p class=\"map-empty\">\n {{\n (visibleLayers$ | async).length\n ? ('igo.integration.mapTool.noLayersInRange' | translate)\n : ('igo.integration.mapTool.noLayersVisible' | translate)\n }}\n </p>\n}\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: "component", type: LayerLegendListComponent, selector: "igo-layer-legend-list", inputs: ["layers", "excludeBaseLayers", "updateLegendOnResolutionChange", "allowShowAllLegends", "showAllLegendsValue"], outputs: ["layersChange", "showAllLegendsValueChange", "allLegendsShown"] }, { kind: "directive", type: LayerLegendListBindingDirective, selector: "[igoLayerLegendListBinding]" }, { kind: "ngmodule", type: MatListModule }, { kind: "component", type: i1$5.MatList, selector: "mat-list", exportAs: ["matList"] }, { kind: "component", type: i1$5.MatListItem, selector: "mat-list-item, a[mat-list-item], button[mat-list-item]", inputs: ["activated"], exportAs: ["matListItem"] }, { kind: "directive", type: i1$5.MatListItemIcon, selector: "[matListItemIcon]" }, { kind: "directive", type: i1$5.MatListItemTitle, selector: "[matListItemTitle]" }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i3.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: IgoLanguageModule }, { kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "pipe", type: i3$1.TranslatePipe, name: "translate" }] });
|
|
3743
3734
|
};
|
|
3744
3735
|
MapLegendToolComponent = __decorate([
|
|
3745
3736
|
ToolComponent({
|
|
@@ -3748,7 +3739,7 @@ MapLegendToolComponent = __decorate([
|
|
|
3748
3739
|
icon: 'format_list_bulleted'
|
|
3749
3740
|
})
|
|
3750
3741
|
], MapLegendToolComponent);
|
|
3751
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
3742
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: MapLegendToolComponent, decorators: [{
|
|
3752
3743
|
type: Component,
|
|
3753
3744
|
args: [{ selector: 'igo-map-legend-tool', imports: [
|
|
3754
3745
|
LayerLegendListComponent,
|
|
@@ -3757,18 +3748,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.14", ngImpo
|
|
|
3757
3748
|
MatIconModule,
|
|
3758
3749
|
AsyncPipe,
|
|
3759
3750
|
IgoLanguageModule
|
|
3760
|
-
], template: "@if (showAllLegend()) {\n <igo-layer-legend-list\n igoLayerLegendListBinding\n [excludeBaseLayers]=\"excludeBaseLayers\"\n [allowShowAllLegends]=\"allowShowAllLegends\"\n [updateLegendOnResolutionChange]=\"updateLegendOnResolutionChange\"\n [showAllLegendsValue]=\"showAllLegendsValue$ | async\"\n (allLegendsShown)=\"onShowAllLegends($event)\"\n
|
|
3761
|
-
}], propDecorators: { updateLegendOnResolutionChange: [{
|
|
3762
|
-
type: Input
|
|
3763
|
-
}], layerAdditionAllowed: [{
|
|
3764
|
-
type: Input
|
|
3765
|
-
}], allowShowAllLegends: [{
|
|
3766
|
-
type: Input
|
|
3767
|
-
}], showAllLegendsValue: [{
|
|
3768
|
-
type: Input
|
|
3769
|
-
}], layerListControls: [{
|
|
3770
|
-
type: Input
|
|
3771
|
-
}] } });
|
|
3751
|
+
], template: "@if (showAllLegend()) {\n <igo-layer-legend-list\n igoLayerLegendListBinding\n [excludeBaseLayers]=\"excludeBaseLayers\"\n [allowShowAllLegends]=\"allowShowAllLegends()\"\n [updateLegendOnResolutionChange]=\"updateLegendOnResolutionChange()\"\n [showAllLegendsValue]=\"showAllLegendsValue$ | async\"\n (allLegendsShown)=\"onShowAllLegends($event)\"\n />\n}\n@if ((layers$ | async).length !== 0) {\n} @else {\n @if (delayedShowEmptyMapContent) {\n <mat-list>\n <p class=\"map-empty\">\n {{ 'igo.integration.mapTool.empty' | translate }}\n </p>\n @if (\n layerAdditionAllowed() &&\n (searchToolInToolbar || catalogToolInToolbar || contextToolInToolbar)\n ) {\n <p class=\"map-empty\">\n {{ 'igo.integration.mapTool.customize' | translate }}\n </p>\n }\n @if (layerAdditionAllowed() && searchToolInToolbar) {\n <mat-list-item>\n <mat-icon matListItemIcon>search</mat-icon>\n <span matListItemTitle class=\"search-tool\" (click)=\"searchEmit()\">\n {{ 'igo.integration.mapTool.search-tool' | translate }}\n </span>\n </mat-list-item>\n }\n @if (layerAdditionAllowed() && catalogToolInToolbar) {\n <mat-list-item>\n <mat-icon matListItemIcon>library_add</mat-icon>\n <span matListItemTitle class=\"catalog-tool\" (click)=\"catalogEmit()\">\n {{ 'igo.integration.mapTool.catalog-tool' | translate }}\n </span>\n </mat-list-item>\n }\n @if (layerAdditionAllowed() && contextToolInToolbar) {\n <mat-list-item>\n <mat-icon matListItemIcon>star</mat-icon>\n <span matListItemTitle class=\"context-tool\" (click)=\"contextEmit()\">\n {{ 'igo.integration.mapTool.context-tool' | translate }}\n </span>\n </mat-list-item>\n }\n </mat-list>\n }\n}\n\n@if (\n !allowShowAllLegends() &&\n (layers$ | async).length !== 0 &&\n (visibleOrInRangeLayers$ | async).length === 0\n) {\n <p class=\"map-empty\">\n {{\n (visibleLayers$ | async).length\n ? ('igo.integration.mapTool.noLayersInRange' | translate)\n : ('igo.integration.mapTool.noLayersVisible' | translate)\n }}\n </p>\n}\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"] }]
|
|
3752
|
+
}], propDecorators: { updateLegendOnResolutionChange: [{ type: i0.Input, args: [{ isSignal: true, alias: "updateLegendOnResolutionChange", required: false }] }], layerAdditionAllowed: [{ type: i0.Input, args: [{ isSignal: true, alias: "layerAdditionAllowed", required: false }] }], allowShowAllLegends: [{ type: i0.Input, args: [{ isSignal: true, alias: "allowShowAllLegends", required: false }] }], showAllLegendsValue: [{ type: i0.Input, args: [{ isSignal: true, alias: "showAllLegendsValue", required: false }] }], layerListControls: [{ type: i0.Input, args: [{ isSignal: true, alias: "layerListControls", required: false }] }] } });
|
|
3772
3753
|
|
|
3773
3754
|
/**
|
|
3774
3755
|
* Service that holds the state of the direction module
|
|
@@ -3878,7 +3859,7 @@ class MapProximityState {
|
|
|
3878
3859
|
const featureId = uuid();
|
|
3879
3860
|
const projection = this.map.ol.getView().getProjection();
|
|
3880
3861
|
const olGeometry = feature.ol.getGeometry();
|
|
3881
|
-
const geometry = new
|
|
3862
|
+
const geometry = new GeoJSON().writeGeometryObject(olGeometry, {
|
|
3882
3863
|
featureProjection: projection,
|
|
3883
3864
|
dataProjection: projection
|
|
3884
3865
|
});
|
|
@@ -3923,10 +3904,10 @@ class MapProximityState {
|
|
|
3923
3904
|
}
|
|
3924
3905
|
return label;
|
|
3925
3906
|
}
|
|
3926
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
3927
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
3907
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: MapProximityState, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3908
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: MapProximityState, providedIn: 'root' });
|
|
3928
3909
|
}
|
|
3929
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
3910
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: MapProximityState, decorators: [{
|
|
3930
3911
|
type: Injectable,
|
|
3931
3912
|
args: [{
|
|
3932
3913
|
providedIn: 'root'
|
|
@@ -3940,7 +3921,7 @@ let MapProximityToolComponent = class MapProximityToolComponent {
|
|
|
3940
3921
|
languageService = inject(LanguageService);
|
|
3941
3922
|
messageService = inject(MessageService);
|
|
3942
3923
|
subs$$ = [];
|
|
3943
|
-
table;
|
|
3924
|
+
table = viewChild('table', ...(ngDevMode ? [{ debugName: "table" }] : []));
|
|
3944
3925
|
get maxDistance() {
|
|
3945
3926
|
return this.mapProximityState.proximityRadiusValue$.value;
|
|
3946
3927
|
}
|
|
@@ -4015,8 +3996,8 @@ let MapProximityToolComponent = class MapProximityToolComponent {
|
|
|
4015
3996
|
this.messageService.success('igo.integration.map-proximity-tool.copyMsg', 'igo.integration.map-proximity-tool.copyTitle');
|
|
4016
3997
|
}
|
|
4017
3998
|
}
|
|
4018
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
4019
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.
|
|
3999
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: MapProximityToolComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
4000
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.16", type: MapProximityToolComponent, isStandalone: true, selector: "igo-map-proximity-tool", viewQueries: [{ propertyName: "table", first: true, predicate: ["table"], descendants: true, isSignal: true }], ngImport: i0, template: "<igo-entity-table\n #table\n class=\"table-compact\"\n [store]=\"mapProximityState.proximityFeatureStore\"\n [template]=\"tableTemplate\"\n/>\n<br />\n@if (mapProximityState.currentPositionCoordinate$ | async; as coord) {\n <mat-form-field class=\"coordinates\">\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}\n@if (mapProximityState.currentPositionCoordinate$ | async; as coord2) {\n <mat-form-field class=\"coordinates2\">\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\n@if (\n (mapProximityState.currentPositionCoordinate$ | async) &&\n (mapProximityState.currentPositionCoordinate$ | async).length\n) {\n <button mat-icon-button (click)=\"copyTextToClipboard()\">\n <mat-icon>content_copy</mat-icon>\n </button>\n}\n<div class=\"title-container\">\n <mat-label class=\"title\">{{\n 'igo.integration.map-proximity-tool.method' | translate\n }}</mat-label>\n</div>\n<div class=\"igo-input-container\">\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: "ngmodule", type: MatFormFieldModule }, { kind: "component", type: i1$3.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i1$3.MatLabel, selector: "mat-label" }, { kind: "ngmodule", type: MatInputModule }, { kind: "directive", type: i2$2.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly", "disabledInteractive"], exportAs: ["matInput"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i1.MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i3.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatRadioModule }, { kind: "directive", type: i5.MatRadioGroup, selector: "mat-radio-group", inputs: ["color", "name", "labelPosition", "value", "selected", "disabled", "required", "disabledInteractive"], outputs: ["change"], exportAs: ["matRadioGroup"] }, { kind: "component", type: i5.MatRadioButton, selector: "mat-radio-button", inputs: ["id", "name", "aria-label", "aria-labelledby", "aria-describedby", "disableRipple", "tabIndex", "checked", "value", "labelPosition", "disabled", "required", "color", "disabledInteractive"], outputs: ["change"], exportAs: ["matRadioButton"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$4.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: i1$4.NumberValueAccessor, selector: "input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]" }, { kind: "directive", type: i1$4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$4.PatternValidator, selector: "[pattern][formControlName],[pattern][formControl],[pattern][ngModel]", inputs: ["pattern"] }, { kind: "directive", type: i1$4.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: IgoLanguageModule }, { kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "pipe", type: i3$1.TranslatePipe, name: "translate" }] });
|
|
4020
4001
|
};
|
|
4021
4002
|
MapProximityToolComponent = __decorate([
|
|
4022
4003
|
ToolComponent({
|
|
@@ -4030,7 +4011,7 @@ MapProximityToolComponent = __decorate([
|
|
|
4030
4011
|
,
|
|
4031
4012
|
__metadata("design:paramtypes", [])
|
|
4032
4013
|
], MapProximityToolComponent);
|
|
4033
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
4014
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: MapProximityToolComponent, decorators: [{
|
|
4034
4015
|
type: Component,
|
|
4035
4016
|
args: [{ selector: 'igo-map-proximity-tool', imports: [
|
|
4036
4017
|
EntityTableComponent,
|
|
@@ -4042,11 +4023,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.14", ngImpo
|
|
|
4042
4023
|
FormsModule,
|
|
4043
4024
|
AsyncPipe,
|
|
4044
4025
|
IgoLanguageModule
|
|
4045
|
-
], template: "<igo-entity-table\n #table\n class=\"table-compact\"\n [store]=\"mapProximityState.proximityFeatureStore\"\n [template]=\"tableTemplate\"\n
|
|
4046
|
-
}], ctorParameters: () => [], propDecorators: { table: [{
|
|
4047
|
-
type: ViewChild,
|
|
4048
|
-
args: ['table', { static: true }]
|
|
4049
|
-
}] } });
|
|
4026
|
+
], template: "<igo-entity-table\n #table\n class=\"table-compact\"\n [store]=\"mapProximityState.proximityFeatureStore\"\n [template]=\"tableTemplate\"\n/>\n<br />\n@if (mapProximityState.currentPositionCoordinate$ | async; as coord) {\n <mat-form-field class=\"coordinates\">\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}\n@if (mapProximityState.currentPositionCoordinate$ | async; as coord2) {\n <mat-form-field class=\"coordinates2\">\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\n@if (\n (mapProximityState.currentPositionCoordinate$ | async) &&\n (mapProximityState.currentPositionCoordinate$ | async).length\n) {\n <button mat-icon-button (click)=\"copyTextToClipboard()\">\n <mat-icon>content_copy</mat-icon>\n </button>\n}\n<div class=\"title-container\">\n <mat-label class=\"title\">{{\n 'igo.integration.map-proximity-tool.method' | translate\n }}</mat-label>\n</div>\n<div class=\"igo-input-container\">\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"] }]
|
|
4027
|
+
}], ctorParameters: () => [], propDecorators: { table: [{ type: i0.ViewChild, args: ['table', { isSignal: true }] }] } });
|
|
4050
4028
|
|
|
4051
4029
|
/**
|
|
4052
4030
|
* Tool to browse a map's layers or to choose a different map
|
|
@@ -4059,24 +4037,24 @@ let MapToolComponent = class MapToolComponent {
|
|
|
4059
4037
|
mediaService = inject(MediaService);
|
|
4060
4038
|
cdr = inject(ChangeDetectorRef);
|
|
4061
4039
|
isDesktop;
|
|
4062
|
-
toggleLegendOnVisibilityChange = false;
|
|
4063
|
-
expandLegendOfVisibleLayers = false;
|
|
4064
|
-
updateLegendOnResolutionChange = false;
|
|
4065
|
-
ogcButton = true;
|
|
4066
|
-
timeButton = true;
|
|
4067
|
-
layerListControls = {};
|
|
4068
|
-
queryBadge = false;
|
|
4040
|
+
toggleLegendOnVisibilityChange = input(false, ...(ngDevMode ? [{ debugName: "toggleLegendOnVisibilityChange" }] : []));
|
|
4041
|
+
expandLegendOfVisibleLayers = input(false, ...(ngDevMode ? [{ debugName: "expandLegendOfVisibleLayers" }] : []));
|
|
4042
|
+
updateLegendOnResolutionChange = input(false, ...(ngDevMode ? [{ debugName: "updateLegendOnResolutionChange" }] : []));
|
|
4043
|
+
ogcButton = input(true, ...(ngDevMode ? [{ debugName: "ogcButton" }] : []));
|
|
4044
|
+
timeButton = input(true, ...(ngDevMode ? [{ debugName: "timeButton" }] : []));
|
|
4045
|
+
layerListControls = input({}, ...(ngDevMode ? [{ debugName: "layerListControls" }] : []));
|
|
4046
|
+
queryBadge = input(false, ...(ngDevMode ? [{ debugName: "queryBadge" }] : []));
|
|
4069
4047
|
get map() {
|
|
4070
4048
|
return this.mapState.map;
|
|
4071
4049
|
}
|
|
4072
4050
|
get excludeBaseLayers() {
|
|
4073
|
-
return this.layerListControls.excludeBaseLayers || false;
|
|
4051
|
+
return this.layerListControls().excludeBaseLayers || false;
|
|
4074
4052
|
}
|
|
4075
4053
|
get layerFilterAndSortOptions() {
|
|
4076
4054
|
const filterSortOptions = Object.assign({
|
|
4077
4055
|
showToolbar: LayerListControlsEnum.default
|
|
4078
|
-
}, this.layerListControls);
|
|
4079
|
-
switch (this.layerListControls.showToolbar) {
|
|
4056
|
+
}, this.layerListControls());
|
|
4057
|
+
switch (this.layerListControls().showToolbar) {
|
|
4080
4058
|
case LayerListControlsEnum.always:
|
|
4081
4059
|
filterSortOptions.showToolbar = LayerListControlsEnum.always;
|
|
4082
4060
|
break;
|
|
@@ -4093,11 +4071,11 @@ let MapToolComponent = class MapToolComponent {
|
|
|
4093
4071
|
return {
|
|
4094
4072
|
filterAndSortOptions: this.layerFilterAndSortOptions,
|
|
4095
4073
|
legend: {
|
|
4096
|
-
showForVisibleLayers: this.expandLegendOfVisibleLayers,
|
|
4097
|
-
showOnVisibilityChange: this.toggleLegendOnVisibilityChange,
|
|
4098
|
-
updateOnResolutionChange: this.updateLegendOnResolutionChange
|
|
4074
|
+
showForVisibleLayers: this.expandLegendOfVisibleLayers(),
|
|
4075
|
+
showOnVisibilityChange: this.toggleLegendOnVisibilityChange(),
|
|
4076
|
+
updateOnResolutionChange: this.updateLegendOnResolutionChange()
|
|
4099
4077
|
},
|
|
4100
|
-
queryBadge: this.queryBadge,
|
|
4078
|
+
queryBadge: this.queryBadge(),
|
|
4101
4079
|
...this._layerViewerOptions
|
|
4102
4080
|
};
|
|
4103
4081
|
}
|
|
@@ -4125,8 +4103,8 @@ let MapToolComponent = class MapToolComponent {
|
|
|
4125
4103
|
this.cdr.detectChanges();
|
|
4126
4104
|
});
|
|
4127
4105
|
}
|
|
4128
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
4129
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
4106
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: MapToolComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
4107
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.3.16", type: MapToolComponent, isStandalone: true, selector: "igo-map-tool", inputs: { toggleLegendOnVisibilityChange: { classPropertyName: "toggleLegendOnVisibilityChange", publicName: "toggleLegendOnVisibilityChange", isSignal: true, isRequired: false, transformFunction: null }, expandLegendOfVisibleLayers: { classPropertyName: "expandLegendOfVisibleLayers", publicName: "expandLegendOfVisibleLayers", isSignal: true, isRequired: false, transformFunction: null }, updateLegendOnResolutionChange: { classPropertyName: "updateLegendOnResolutionChange", publicName: "updateLegendOnResolutionChange", isSignal: true, isRequired: false, transformFunction: null }, ogcButton: { classPropertyName: "ogcButton", publicName: "ogcButton", isSignal: true, isRequired: false, transformFunction: null }, timeButton: { classPropertyName: "timeButton", publicName: "timeButton", isSignal: true, isRequired: false, transformFunction: null }, layerListControls: { classPropertyName: "layerListControls", publicName: "layerListControls", isSignal: true, isRequired: false, transformFunction: null }, queryBadge: { classPropertyName: "queryBadge", publicName: "queryBadge", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<mat-tab-group>\n <mat-tab [label]=\"'igo.integration.tools.map' | translate\">\n <igo-layer-viewer\n [map]=\"map\"\n [options]=\"layerViewerOptions\"\n [excludeBaseLayers]=\"excludeBaseLayers\"\n [isDesktop]=\"isDesktop\"\n >\n <ng-template #customBottomActions let-layer=\"layer\">\n <igo-workspace-button [layer]=\"layer\" />\n <igo-export-button [layer]=\"layer\" (click)=\"activateExport(layer)\" />\n <igo-ogc-filter-button [header]=\"ogcButton()\" [layer]=\"layer\" />\n <igo-time-filter-button [header]=\"timeButton()\" [layer]=\"layer\" />\n <igo-track-feature-button [trackFeature]=\"true\" [layer]=\"layer\" />\n <igo-metadata-button [layer]=\"layer\" />\n </ng-template>\n </igo-layer-viewer>\n </mat-tab>\n\n <mat-tab [label]=\"'igo.integration.tools.contexts' | translate\">\n <igo-context-list igoContextListBinding />\n </mat-tab>\n</mat-tab-group>\n", styles: [":host ::ng-deep .mat-mdc-tab-body-content{overflow:hidden}\n"], dependencies: [{ kind: "ngmodule", type: MatTabsModule }, { kind: "component", type: i1$2.MatTab, selector: "mat-tab", inputs: ["disabled", "label", "aria-label", "aria-labelledby", "labelClass", "bodyClass", "id"], exportAs: ["matTab"] }, { kind: "component", type: i1$2.MatTabGroup, selector: "mat-tab-group", inputs: ["color", "fitInkBarToContent", "mat-stretch-tabs", "mat-align-tabs", "dynamicHeight", "selectedIndex", "headerPosition", "animationDuration", "contentTabIndex", "disablePagination", "disableRipple", "preserveContent", "backgroundColor", "aria-label", "aria-labelledby"], outputs: ["selectedIndexChange", "focusChange", "animationDone", "selectedTabChange"], exportAs: ["matTabGroup"] }, { 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"], outputs: ["trackFeatureChange"] }, { kind: "component", type: MetadataButtonComponent, selector: "igo-metadata-button", inputs: ["layer", "color"] }, { kind: "component", type: LayerViewerComponent, selector: "igo-layer-viewer", inputs: ["map", "options", "isDesktop", "excludeBaseLayers"], outputs: ["appliedFilterAndSort"] }, { kind: "component", type: ContextListComponent, selector: "igo-context-list", inputs: ["isDesktop", "contexts", "selectedContext", "map", "defaultContextId", "term"], outputs: ["selectedContextChange", "select", "unselect", "edit", "delete", "save", "clone", "create", "hide", "show", "showHiddenContexts", "favorite", "managePermissions", "manageTools", "filterPermissionsChanged"] }, { kind: "ngmodule", type: IgoLanguageModule }, { kind: "pipe", type: i3$1.TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
4130
4108
|
};
|
|
4131
4109
|
MapToolComponent = __decorate([
|
|
4132
4110
|
ToolComponent({
|
|
@@ -4136,7 +4114,7 @@ MapToolComponent = __decorate([
|
|
|
4136
4114
|
}),
|
|
4137
4115
|
__metadata("design:paramtypes", [])
|
|
4138
4116
|
], MapToolComponent);
|
|
4139
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
4117
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: MapToolComponent, decorators: [{
|
|
4140
4118
|
type: Component,
|
|
4141
4119
|
args: [{ selector: 'igo-map-tool', changeDetection: ChangeDetectionStrategy.OnPush, imports: [
|
|
4142
4120
|
MatTabsModule,
|
|
@@ -4148,24 +4126,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.14", ngImpo
|
|
|
4148
4126
|
MetadataButtonComponent,
|
|
4149
4127
|
LayerViewerComponent,
|
|
4150
4128
|
ContextListComponent,
|
|
4151
|
-
ContextListBindingDirective,
|
|
4152
4129
|
IgoLanguageModule
|
|
4153
|
-
], template: "<mat-tab-group>\n <mat-tab [label]=\"'igo.integration.tools.map' | translate\">\n <igo-layer-viewer\n [map]=\"map\"\n [options]=\"layerViewerOptions\"\n [excludeBaseLayers]=\"excludeBaseLayers\"\n [isDesktop]=\"isDesktop\"\n >\n <ng-template #customBottomActions let-layer=\"layer\">\n <igo-workspace-button [layer]=\"layer\"
|
|
4154
|
-
}], ctorParameters: () => [], propDecorators: { toggleLegendOnVisibilityChange: [{
|
|
4155
|
-
type: Input
|
|
4156
|
-
}], expandLegendOfVisibleLayers: [{
|
|
4157
|
-
type: Input
|
|
4158
|
-
}], updateLegendOnResolutionChange: [{
|
|
4159
|
-
type: Input
|
|
4160
|
-
}], ogcButton: [{
|
|
4161
|
-
type: Input
|
|
4162
|
-
}], timeButton: [{
|
|
4163
|
-
type: Input
|
|
4164
|
-
}], layerListControls: [{
|
|
4165
|
-
type: Input
|
|
4166
|
-
}], queryBadge: [{
|
|
4167
|
-
type: Input
|
|
4168
|
-
}] } });
|
|
4130
|
+
], template: "<mat-tab-group>\n <mat-tab [label]=\"'igo.integration.tools.map' | translate\">\n <igo-layer-viewer\n [map]=\"map\"\n [options]=\"layerViewerOptions\"\n [excludeBaseLayers]=\"excludeBaseLayers\"\n [isDesktop]=\"isDesktop\"\n >\n <ng-template #customBottomActions let-layer=\"layer\">\n <igo-workspace-button [layer]=\"layer\" />\n <igo-export-button [layer]=\"layer\" (click)=\"activateExport(layer)\" />\n <igo-ogc-filter-button [header]=\"ogcButton()\" [layer]=\"layer\" />\n <igo-time-filter-button [header]=\"timeButton()\" [layer]=\"layer\" />\n <igo-track-feature-button [trackFeature]=\"true\" [layer]=\"layer\" />\n <igo-metadata-button [layer]=\"layer\" />\n </ng-template>\n </igo-layer-viewer>\n </mat-tab>\n\n <mat-tab [label]=\"'igo.integration.tools.contexts' | translate\">\n <igo-context-list igoContextListBinding />\n </mat-tab>\n</mat-tab-group>\n", styles: [":host ::ng-deep .mat-mdc-tab-body-content{overflow:hidden}\n"] }]
|
|
4131
|
+
}], ctorParameters: () => [], propDecorators: { toggleLegendOnVisibilityChange: [{ type: i0.Input, args: [{ isSignal: true, alias: "toggleLegendOnVisibilityChange", required: false }] }], expandLegendOfVisibleLayers: [{ type: i0.Input, args: [{ isSignal: true, alias: "expandLegendOfVisibleLayers", required: false }] }], updateLegendOnResolutionChange: [{ type: i0.Input, args: [{ isSignal: true, alias: "updateLegendOnResolutionChange", required: false }] }], ogcButton: [{ type: i0.Input, args: [{ isSignal: true, alias: "ogcButton", required: false }] }], timeButton: [{ type: i0.Input, args: [{ isSignal: true, alias: "timeButton", required: false }] }], layerListControls: [{ type: i0.Input, args: [{ isSignal: true, alias: "layerListControls", required: false }] }], queryBadge: [{ type: i0.Input, args: [{ isSignal: true, alias: "queryBadge", required: false }] }] } });
|
|
4169
4132
|
|
|
4170
4133
|
/**
|
|
4171
4134
|
* Tool to browse a map's layers or to choose a different map
|
|
@@ -4185,15 +4148,15 @@ let MapToolsComponent = class MapToolsComponent {
|
|
|
4185
4148
|
resolution$$;
|
|
4186
4149
|
visibleOrInRangeLayers$$;
|
|
4187
4150
|
delayedShowEmptyMapContent = false;
|
|
4188
|
-
allowShowAllLegends = false;
|
|
4189
|
-
showAllLegendsValue = false;
|
|
4190
|
-
toggleLegendOnVisibilityChange = false;
|
|
4191
|
-
expandLegendOfVisibleLayers = false;
|
|
4192
|
-
updateLegendOnResolutionChange = false;
|
|
4193
|
-
selectedTabAtOpening;
|
|
4194
|
-
ogcButton = true;
|
|
4195
|
-
timeButton = true;
|
|
4196
|
-
layerAdditionAllowed = true;
|
|
4151
|
+
allowShowAllLegends = input(false, ...(ngDevMode ? [{ debugName: "allowShowAllLegends" }] : []));
|
|
4152
|
+
showAllLegendsValue = input(false, ...(ngDevMode ? [{ debugName: "showAllLegendsValue" }] : []));
|
|
4153
|
+
toggleLegendOnVisibilityChange = input(false, ...(ngDevMode ? [{ debugName: "toggleLegendOnVisibilityChange" }] : []));
|
|
4154
|
+
expandLegendOfVisibleLayers = input(false, ...(ngDevMode ? [{ debugName: "expandLegendOfVisibleLayers" }] : []));
|
|
4155
|
+
updateLegendOnResolutionChange = input(false, ...(ngDevMode ? [{ debugName: "updateLegendOnResolutionChange" }] : []));
|
|
4156
|
+
selectedTabAtOpening = input(undefined, ...(ngDevMode ? [{ debugName: "selectedTabAtOpening" }] : []));
|
|
4157
|
+
ogcButton = input(true, ...(ngDevMode ? [{ debugName: "ogcButton" }] : []));
|
|
4158
|
+
timeButton = input(true, ...(ngDevMode ? [{ debugName: "timeButton" }] : []));
|
|
4159
|
+
layerAdditionAllowed = input(true, ...(ngDevMode ? [{ debugName: "layerAdditionAllowed" }] : []));
|
|
4197
4160
|
get layerListControls() {
|
|
4198
4161
|
return this._layerListControls;
|
|
4199
4162
|
}
|
|
@@ -4216,7 +4179,7 @@ let MapToolsComponent = class MapToolsComponent {
|
|
|
4216
4179
|
get map() {
|
|
4217
4180
|
return this.mapState.map;
|
|
4218
4181
|
}
|
|
4219
|
-
queryBadge = false;
|
|
4182
|
+
queryBadge = input(false, ...(ngDevMode ? [{ debugName: "queryBadge" }] : []));
|
|
4220
4183
|
get visibleOrInRangeLayers$() {
|
|
4221
4184
|
return this.layers$.pipe(map((layers) => layers.filter((layer) => layer.displayed)));
|
|
4222
4185
|
}
|
|
@@ -4247,15 +4210,15 @@ let MapToolsComponent = class MapToolsComponent {
|
|
|
4247
4210
|
return {
|
|
4248
4211
|
filterAndSortOptions: this.layerFilterAndSortOptions,
|
|
4249
4212
|
legend: {
|
|
4250
|
-
showForVisibleLayers: this.expandLegendOfVisibleLayers,
|
|
4251
|
-
showOnVisibilityChange: this.toggleLegendOnVisibilityChange,
|
|
4252
|
-
updateOnResolutionChange: this.updateLegendOnResolutionChange
|
|
4213
|
+
showForVisibleLayers: this.expandLegendOfVisibleLayers(),
|
|
4214
|
+
showOnVisibilityChange: this.toggleLegendOnVisibilityChange(),
|
|
4215
|
+
updateOnResolutionChange: this.updateLegendOnResolutionChange()
|
|
4253
4216
|
},
|
|
4254
|
-
queryBadge: this.queryBadge,
|
|
4217
|
+
queryBadge: this.queryBadge(),
|
|
4255
4218
|
...this._layerViewerOptions
|
|
4256
4219
|
};
|
|
4257
4220
|
}
|
|
4258
|
-
tabGroup;
|
|
4221
|
+
tabGroup = viewChild('tabGroup', ...(ngDevMode ? [{ debugName: "tabGroup" }] : []));
|
|
4259
4222
|
get searchToolInToolbar() {
|
|
4260
4223
|
return (this.toolState.toolbox.getToolbar().indexOf('searchResults') !== -1 &&
|
|
4261
4224
|
this.searchSourceService
|
|
@@ -4283,11 +4246,11 @@ let MapToolsComponent = class MapToolsComponent {
|
|
|
4283
4246
|
.subscribe(([layers]) => {
|
|
4284
4247
|
this.layers$.next(layers);
|
|
4285
4248
|
});
|
|
4286
|
-
if (this.allowShowAllLegends) {
|
|
4249
|
+
if (this.allowShowAllLegends()) {
|
|
4287
4250
|
this.mapState.showAllLegendsValue =
|
|
4288
4251
|
this.mapState.showAllLegendsValue !== undefined
|
|
4289
4252
|
? this.mapState.showAllLegendsValue
|
|
4290
|
-
: this.showAllLegendsValue || false;
|
|
4253
|
+
: this.showAllLegendsValue() || false;
|
|
4291
4254
|
this.showAllLegendsValue$.next(this.mapState.showAllLegendsValue);
|
|
4292
4255
|
}
|
|
4293
4256
|
else {
|
|
@@ -4312,7 +4275,7 @@ let MapToolsComponent = class MapToolsComponent {
|
|
|
4312
4275
|
this.layerListToolState.setSelectedTab(userSelectedTab);
|
|
4313
4276
|
}
|
|
4314
4277
|
else {
|
|
4315
|
-
if (this.selectedTabAtOpening === 'legend') {
|
|
4278
|
+
if (this.selectedTabAtOpening() === 'legend') {
|
|
4316
4279
|
this.layerListToolState.setSelectedTab(1);
|
|
4317
4280
|
}
|
|
4318
4281
|
else {
|
|
@@ -4334,7 +4297,7 @@ let MapToolsComponent = class MapToolsComponent {
|
|
|
4334
4297
|
return false;
|
|
4335
4298
|
}
|
|
4336
4299
|
else if (this.layers$.getValue().length !== 0 &&
|
|
4337
|
-
this.allowShowAllLegends === false) {
|
|
4300
|
+
this.allowShowAllLegends() === false) {
|
|
4338
4301
|
let visibleOrInRangeLayers;
|
|
4339
4302
|
this.visibleOrInRangeLayers$$ = this.visibleOrInRangeLayers$.subscribe((value) => {
|
|
4340
4303
|
visibleOrInRangeLayers = value.length === 0 ? false : true;
|
|
@@ -4374,11 +4337,11 @@ let MapToolsComponent = class MapToolsComponent {
|
|
|
4374
4337
|
}
|
|
4375
4338
|
isTimeFilterButton(layer) {
|
|
4376
4339
|
const options = layer.dataSource.options;
|
|
4377
|
-
return this.timeButton && options.timeFilterable && options.timeFilter;
|
|
4340
|
+
return this.timeButton() && options.timeFilterable && options.timeFilter;
|
|
4378
4341
|
}
|
|
4379
4342
|
isOGCFilterButton(layer) {
|
|
4380
4343
|
const options = layer.dataSource.options;
|
|
4381
|
-
return (this.ogcButton &&
|
|
4344
|
+
return (this.ogcButton() &&
|
|
4382
4345
|
options.ogcFilters &&
|
|
4383
4346
|
options.ogcFilters.enabled &&
|
|
4384
4347
|
(options.ogcFilters.pushButtons ||
|
|
@@ -4412,8 +4375,8 @@ let MapToolsComponent = class MapToolsComponent {
|
|
|
4412
4375
|
this.cdr.detectChanges();
|
|
4413
4376
|
});
|
|
4414
4377
|
}
|
|
4415
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
4416
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.14", 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\n #tabGroup\n [selectedIndex]=\"layerListToolState.selectedTab$ | async\"\n (selectedTabChange)=\"tabChanged($event)\"\n>\n <mat-tab [label]=\"'igo.integration.tools.layers' | translate\">\n <igo-layer-viewer\n [options]=\"layerViewerOptions\"\n [map]=\"map\"\n [excludeBaseLayers]=\"excludeBaseLayers\"\n [isDesktop]=\"isDesktop\"\n (appliedFilterAndSort)=\"onLayerListChange($event)\"\n >\n <ng-template #customBottomActions let-layer=\"layer\">\n @if (isStyleEditButton(layer)) {\n <igo-style-modal-layer-button\n [layer]=\"layer\"\n ></igo-style-modal-layer-button>\n }\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 @if (isTimeFilterButton(layer)) {\n <igo-time-filter-button\n [header]=\"timeButton\"\n [layer]=\"layer\"\n (click)=\"activateTimeFilter()\"\n ></igo-time-filter-button>\n }\n @if (isOGCFilterButton(layer)) {\n <igo-ogc-filter-button\n [header]=\"ogcButton\"\n [layer]=\"layer\"\n (click)=\"activateOgcFilter()\"\n ></igo-ogc-filter-button>\n }\n @if (isExportButton(layer)) {\n <igo-export-button\n [layer]=\"layer\"\n (click)=\"activateExport(layer)\"\n ></igo-export-button>\n }\n <igo-workspace-button [layer]=\"layer\"></igo-workspace-button>\n </ng-template>\n\n <ng-container ngProjectAs=\"[emptyList]\">\n <ng-template [ngTemplateOutlet]=\"emptyLayers\"></ng-template>\n </ng-container>\n </igo-layer-viewer>\n </mat-tab>\n\n <mat-tab [label]=\"'igo.integration.tools.legend' | translate\">\n @if (showAllLegend()) {\n <igo-layer-legend-list\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 }\n @if ((layers$ | async).length !== 0) {\n } @else {\n @if (delayedShowEmptyMapContent) {\n <mat-list>\n <p class=\"map-empty\">\n {{ 'igo.integration.mapTool.empty' | translate }}\n </p>\n @if (\n layerAdditionAllowed &&\n (searchToolInToolbar ||\n catalogToolInToolbar ||\n contextToolInToolbar)\n ) {\n <p class=\"map-empty\">\n {{ 'igo.integration.mapTool.customize' | translate }}\n </p>\n }\n @if (layerAdditionAllowed && searchToolInToolbar) {\n <mat-list-item>\n <mat-icon matListItemIcon>search</mat-icon>\n <span matListItemTitle class=\"search-tool\" (click)=\"searchEmit()\">\n {{ 'igo.integration.mapTool.search-tool' | translate }}\n </span>\n </mat-list-item>\n }\n @if (layerAdditionAllowed && catalogToolInToolbar) {\n <mat-list-item>\n <mat-icon matListItemIcon>library_add</mat-icon>\n <span\n matListItemTitle\n class=\"catalog-tool\"\n (click)=\"catalogEmit()\"\n >\n {{ 'igo.integration.mapTool.catalog-tool' | translate }}\n </span>\n </mat-list-item>\n }\n @if (layerAdditionAllowed && contextToolInToolbar) {\n <mat-list-item>\n <mat-icon matListItemIcon>star</mat-icon>\n <span\n matListItemTitle\n class=\"context-tool\"\n (click)=\"contextEmit()\"\n >\n {{ 'igo.integration.mapTool.context-tool' | translate }}\n </span>\n </mat-list-item>\n }\n </mat-list>\n }\n }\n\n @if (\n !allowShowAllLegends &&\n (layers$ | async).length !== 0 &&\n (visibleOrInRangeLayers$ | async).length === 0\n ) {\n <p class=\"map-empty\">\n {{\n (visibleLayers$ | async).length\n ? ('igo.integration.mapTool.noLayersInRange' | translate)\n : ('igo.integration.mapTool.noLayersVisible' | translate)\n }}\n </p>\n }\n </mat-tab>\n\n <ng-template #emptyLayers>\n @if (delayedShowEmptyMapContent) {\n <mat-list>\n <p class=\"map-empty\">\n {{ 'igo.integration.mapTool.empty' | translate }}\n </p>\n @if (\n layerAdditionAllowed &&\n (searchToolInToolbar || catalogToolInToolbar || contextToolInToolbar)\n ) {\n <p class=\"map-empty\">\n {{ 'igo.integration.mapTool.customize' | translate }}\n </p>\n }\n @if (layerAdditionAllowed && searchToolInToolbar) {\n <mat-list-item>\n <mat-icon matListItemIcon>search</mat-icon>\n <span matListItemTitle class=\"search-tool\" (click)=\"searchEmit()\">\n {{ 'igo.integration.mapTool.search-tool' | translate }}\n </span>\n </mat-list-item>\n }\n @if (layerAdditionAllowed && catalogToolInToolbar) {\n <mat-list-item>\n <mat-icon matListItemIcon>library_add</mat-icon>\n <span matListItemTitle class=\"catalog-tool\" (click)=\"catalogEmit()\">\n {{ 'igo.integration.mapTool.catalog-tool' | translate }}\n </span>\n </mat-list-item>\n }\n @if (layerAdditionAllowed && contextToolInToolbar) {\n <mat-list-item>\n <mat-icon matListItemIcon>star</mat-icon>\n <span matListItemTitle class=\"context-tool\" (click)=\"contextEmit()\">\n {{ 'igo.integration.mapTool.context-tool' | translate }}\n </span>\n </mat-list-item>\n }\n </mat-list>\n }\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: "ngmodule", type: MatTabsModule }, { kind: "component", type: i1$2.MatTab, selector: "mat-tab", inputs: ["disabled", "label", "aria-label", "aria-labelledby", "labelClass", "bodyClass", "id"], exportAs: ["matTab"] }, { kind: "component", type: i1$2.MatTabGroup, selector: "mat-tab-group", inputs: ["color", "fitInkBarToContent", "mat-stretch-tabs", "mat-align-tabs", "dynamicHeight", "selectedIndex", "headerPosition", "animationDuration", "contentTabIndex", "disablePagination", "disableRipple", "preserveContent", "backgroundColor", "aria-label", "aria-labelledby"], outputs: ["selectedIndexChange", "focusChange", "animationDone", "selectedTabChange"], exportAs: ["matTabGroup"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: LayerViewerComponent, selector: "igo-layer-viewer", inputs: ["map", "options", "isDesktop", "excludeBaseLayers"], outputs: ["appliedFilterAndSort"] }, { 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: i1$5.MatList, selector: "mat-list", exportAs: ["matList"] }, { kind: "component", type: i1$5.MatListItem, selector: "mat-list-item, a[mat-list-item], button[mat-list-item]", inputs: ["activated"], exportAs: ["matListItem"] }, { kind: "directive", type: i1$5.MatListItemIcon, selector: "[matListItemIcon]" }, { kind: "directive", type: i1$5.MatListItemTitle, selector: "[matListItemTitle]" }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i3.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: IgoLanguageModule }, { kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "pipe", type: i3$1.TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
4378
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: MapToolsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
4379
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.16", type: MapToolsComponent, isStandalone: true, selector: "igo-map-tools", inputs: { allowShowAllLegends: { classPropertyName: "allowShowAllLegends", publicName: "allowShowAllLegends", isSignal: true, isRequired: false, transformFunction: null }, showAllLegendsValue: { classPropertyName: "showAllLegendsValue", publicName: "showAllLegendsValue", isSignal: true, isRequired: false, transformFunction: null }, toggleLegendOnVisibilityChange: { classPropertyName: "toggleLegendOnVisibilityChange", publicName: "toggleLegendOnVisibilityChange", isSignal: true, isRequired: false, transformFunction: null }, expandLegendOfVisibleLayers: { classPropertyName: "expandLegendOfVisibleLayers", publicName: "expandLegendOfVisibleLayers", isSignal: true, isRequired: false, transformFunction: null }, updateLegendOnResolutionChange: { classPropertyName: "updateLegendOnResolutionChange", publicName: "updateLegendOnResolutionChange", isSignal: true, isRequired: false, transformFunction: null }, selectedTabAtOpening: { classPropertyName: "selectedTabAtOpening", publicName: "selectedTabAtOpening", isSignal: true, isRequired: false, transformFunction: null }, ogcButton: { classPropertyName: "ogcButton", publicName: "ogcButton", isSignal: true, isRequired: false, transformFunction: null }, timeButton: { classPropertyName: "timeButton", publicName: "timeButton", isSignal: true, isRequired: false, transformFunction: null }, layerAdditionAllowed: { classPropertyName: "layerAdditionAllowed", publicName: "layerAdditionAllowed", isSignal: true, isRequired: false, transformFunction: null }, layerListControls: { classPropertyName: "layerListControls", publicName: "layerListControls", isSignal: false, isRequired: false, transformFunction: null }, queryBadge: { classPropertyName: "queryBadge", publicName: "queryBadge", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "tabGroup", first: true, predicate: ["tabGroup"], descendants: true, isSignal: 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-viewer\n [options]=\"layerViewerOptions\"\n [map]=\"map\"\n [excludeBaseLayers]=\"excludeBaseLayers\"\n [isDesktop]=\"isDesktop\"\n (appliedFilterAndSort)=\"onLayerListChange($event)\"\n >\n <ng-template #customBottomActions let-layer=\"layer\">\n @if (isStyleEditButton(layer)) {\n <igo-style-modal-layer-button [layer]=\"layer\" />\n }\n <igo-metadata-button [layer]=\"layer\" />\n <igo-track-feature-button [trackFeature]=\"true\" [layer]=\"layer\" />\n @if (isTimeFilterButton(layer)) {\n <igo-time-filter-button\n [header]=\"timeButton()\"\n [layer]=\"layer\"\n (click)=\"activateTimeFilter()\"\n />\n }\n @if (isOGCFilterButton(layer)) {\n <igo-ogc-filter-button\n [header]=\"ogcButton()\"\n [layer]=\"layer\"\n (click)=\"activateOgcFilter()\"\n />\n }\n @if (isExportButton(layer)) {\n <igo-export-button [layer]=\"layer\" (click)=\"activateExport(layer)\" />\n }\n <igo-workspace-button [layer]=\"layer\" />\n </ng-template>\n\n <ng-container ngProjectAs=\"[emptyList]\">\n <ng-template [ngTemplateOutlet]=\"emptyLayers\" />\n </ng-container>\n </igo-layer-viewer>\n </mat-tab>\n\n <mat-tab [label]=\"'igo.integration.tools.legend' | translate\">\n @if (showAllLegend()) {\n <igo-layer-legend-list\n igoLayerLegendListBinding\n [allowShowAllLegends]=\"allowShowAllLegends()\"\n [showAllLegendsValue]=\"showAllLegendsValue$ | async\"\n (allLegendsShown)=\"onShowAllLegends($event)\"\n [excludeBaseLayers]=\"excludeBaseLayers\"\n [updateLegendOnResolutionChange]=\"updateLegendOnResolutionChange()\"\n />\n }\n @if ((layers$ | async).length !== 0) {\n } @else {\n @if (delayedShowEmptyMapContent) {\n <mat-list>\n <p class=\"map-empty\">\n {{ 'igo.integration.mapTool.empty' | translate }}\n </p>\n @if (\n layerAdditionAllowed() &&\n (searchToolInToolbar ||\n catalogToolInToolbar ||\n contextToolInToolbar)\n ) {\n <p class=\"map-empty\">\n {{ 'igo.integration.mapTool.customize' | translate }}\n </p>\n }\n @if (layerAdditionAllowed() && searchToolInToolbar) {\n <mat-list-item>\n <mat-icon matListItemIcon>search</mat-icon>\n <span matListItemTitle class=\"search-tool\" (click)=\"searchEmit()\">\n {{ 'igo.integration.mapTool.search-tool' | translate }}\n </span>\n </mat-list-item>\n }\n @if (layerAdditionAllowed() && catalogToolInToolbar) {\n <mat-list-item>\n <mat-icon matListItemIcon>library_add</mat-icon>\n <span\n matListItemTitle\n class=\"catalog-tool\"\n (click)=\"catalogEmit()\"\n >\n {{ 'igo.integration.mapTool.catalog-tool' | translate }}\n </span>\n </mat-list-item>\n }\n @if (layerAdditionAllowed() && contextToolInToolbar) {\n <mat-list-item>\n <mat-icon matListItemIcon>star</mat-icon>\n <span\n matListItemTitle\n class=\"context-tool\"\n (click)=\"contextEmit()\"\n >\n {{ 'igo.integration.mapTool.context-tool' | translate }}\n </span>\n </mat-list-item>\n }\n </mat-list>\n }\n }\n\n @if (\n !allowShowAllLegends() &&\n (layers$ | async).length !== 0 &&\n (visibleOrInRangeLayers$ | async).length === 0\n ) {\n <p class=\"map-empty\">\n {{\n (visibleLayers$ | async).length\n ? ('igo.integration.mapTool.noLayersInRange' | translate)\n : ('igo.integration.mapTool.noLayersVisible' | translate)\n }}\n </p>\n }\n </mat-tab>\n\n <ng-template #emptyLayers>\n @if (delayedShowEmptyMapContent) {\n <mat-list>\n <p class=\"map-empty\">\n {{ 'igo.integration.mapTool.empty' | translate }}\n </p>\n @if (\n layerAdditionAllowed() &&\n (searchToolInToolbar || catalogToolInToolbar || contextToolInToolbar)\n ) {\n <p class=\"map-empty\">\n {{ 'igo.integration.mapTool.customize' | translate }}\n </p>\n }\n @if (layerAdditionAllowed() && searchToolInToolbar) {\n <mat-list-item>\n <mat-icon matListItemIcon>search</mat-icon>\n <span matListItemTitle class=\"search-tool\" (click)=\"searchEmit()\">\n {{ 'igo.integration.mapTool.search-tool' | translate }}\n </span>\n </mat-list-item>\n }\n @if (layerAdditionAllowed() && catalogToolInToolbar) {\n <mat-list-item>\n <mat-icon matListItemIcon>library_add</mat-icon>\n <span matListItemTitle class=\"catalog-tool\" (click)=\"catalogEmit()\">\n {{ 'igo.integration.mapTool.catalog-tool' | translate }}\n </span>\n </mat-list-item>\n }\n @if (layerAdditionAllowed() && contextToolInToolbar) {\n <mat-list-item>\n <mat-icon matListItemIcon>star</mat-icon>\n <span matListItemTitle class=\"context-tool\" (click)=\"contextEmit()\">\n {{ 'igo.integration.mapTool.context-tool' | translate }}\n </span>\n </mat-list-item>\n }\n </mat-list>\n }\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: "ngmodule", type: MatTabsModule }, { kind: "component", type: i1$2.MatTab, selector: "mat-tab", inputs: ["disabled", "label", "aria-label", "aria-labelledby", "labelClass", "bodyClass", "id"], exportAs: ["matTab"] }, { kind: "component", type: i1$2.MatTabGroup, selector: "mat-tab-group", inputs: ["color", "fitInkBarToContent", "mat-stretch-tabs", "mat-align-tabs", "dynamicHeight", "selectedIndex", "headerPosition", "animationDuration", "contentTabIndex", "disablePagination", "disableRipple", "preserveContent", "backgroundColor", "aria-label", "aria-labelledby"], outputs: ["selectedIndexChange", "focusChange", "animationDone", "selectedTabChange"], exportAs: ["matTabGroup"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: LayerViewerComponent, selector: "igo-layer-viewer", inputs: ["map", "options", "isDesktop", "excludeBaseLayers"], outputs: ["appliedFilterAndSort"] }, { 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"], outputs: ["trackFeatureChange"] }, { 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: ["layersChange", "showAllLegendsValueChange", "allLegendsShown"] }, { kind: "directive", type: LayerLegendListBindingDirective, selector: "[igoLayerLegendListBinding]" }, { kind: "ngmodule", type: MatListModule }, { kind: "component", type: i1$5.MatList, selector: "mat-list", exportAs: ["matList"] }, { kind: "component", type: i1$5.MatListItem, selector: "mat-list-item, a[mat-list-item], button[mat-list-item]", inputs: ["activated"], exportAs: ["matListItem"] }, { kind: "directive", type: i1$5.MatListItemIcon, selector: "[matListItemIcon]" }, { kind: "directive", type: i1$5.MatListItemTitle, selector: "[matListItemTitle]" }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i3.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: IgoLanguageModule }, { kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "pipe", type: i3$1.TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
4417
4380
|
};
|
|
4418
4381
|
MapToolsComponent = __decorate([
|
|
4419
4382
|
ToolComponent({
|
|
@@ -4423,7 +4386,7 @@ MapToolsComponent = __decorate([
|
|
|
4423
4386
|
}),
|
|
4424
4387
|
__metadata("design:paramtypes", [])
|
|
4425
4388
|
], MapToolsComponent);
|
|
4426
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
4389
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: MapToolsComponent, decorators: [{
|
|
4427
4390
|
type: Component,
|
|
4428
4391
|
args: [{ selector: 'igo-map-tools', changeDetection: ChangeDetectionStrategy.OnPush, imports: [
|
|
4429
4392
|
MatTabsModule,
|
|
@@ -4442,33 +4405,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.14", ngImpo
|
|
|
4442
4405
|
MatIconModule,
|
|
4443
4406
|
AsyncPipe,
|
|
4444
4407
|
IgoLanguageModule
|
|
4445
|
-
], 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-viewer\n [options]=\"layerViewerOptions\"\n [map]=\"map\"\n [excludeBaseLayers]=\"excludeBaseLayers\"\n [isDesktop]=\"isDesktop\"\n (appliedFilterAndSort)=\"onLayerListChange($event)\"\n >\n <ng-template #customBottomActions let-layer=\"layer\">\n @if (isStyleEditButton(layer)) {\n <igo-style-modal-layer-button
|
|
4446
|
-
}], ctorParameters: () => [], propDecorators: { allowShowAllLegends: [{
|
|
4447
|
-
type: Input
|
|
4448
|
-
}], showAllLegendsValue: [{
|
|
4449
|
-
type: Input
|
|
4450
|
-
}], toggleLegendOnVisibilityChange: [{
|
|
4451
|
-
type: Input
|
|
4452
|
-
}], expandLegendOfVisibleLayers: [{
|
|
4453
|
-
type: Input
|
|
4454
|
-
}], updateLegendOnResolutionChange: [{
|
|
4455
|
-
type: Input
|
|
4456
|
-
}], selectedTabAtOpening: [{
|
|
4457
|
-
type: Input
|
|
4458
|
-
}], ogcButton: [{
|
|
4408
|
+
], 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-viewer\n [options]=\"layerViewerOptions\"\n [map]=\"map\"\n [excludeBaseLayers]=\"excludeBaseLayers\"\n [isDesktop]=\"isDesktop\"\n (appliedFilterAndSort)=\"onLayerListChange($event)\"\n >\n <ng-template #customBottomActions let-layer=\"layer\">\n @if (isStyleEditButton(layer)) {\n <igo-style-modal-layer-button [layer]=\"layer\" />\n }\n <igo-metadata-button [layer]=\"layer\" />\n <igo-track-feature-button [trackFeature]=\"true\" [layer]=\"layer\" />\n @if (isTimeFilterButton(layer)) {\n <igo-time-filter-button\n [header]=\"timeButton()\"\n [layer]=\"layer\"\n (click)=\"activateTimeFilter()\"\n />\n }\n @if (isOGCFilterButton(layer)) {\n <igo-ogc-filter-button\n [header]=\"ogcButton()\"\n [layer]=\"layer\"\n (click)=\"activateOgcFilter()\"\n />\n }\n @if (isExportButton(layer)) {\n <igo-export-button [layer]=\"layer\" (click)=\"activateExport(layer)\" />\n }\n <igo-workspace-button [layer]=\"layer\" />\n </ng-template>\n\n <ng-container ngProjectAs=\"[emptyList]\">\n <ng-template [ngTemplateOutlet]=\"emptyLayers\" />\n </ng-container>\n </igo-layer-viewer>\n </mat-tab>\n\n <mat-tab [label]=\"'igo.integration.tools.legend' | translate\">\n @if (showAllLegend()) {\n <igo-layer-legend-list\n igoLayerLegendListBinding\n [allowShowAllLegends]=\"allowShowAllLegends()\"\n [showAllLegendsValue]=\"showAllLegendsValue$ | async\"\n (allLegendsShown)=\"onShowAllLegends($event)\"\n [excludeBaseLayers]=\"excludeBaseLayers\"\n [updateLegendOnResolutionChange]=\"updateLegendOnResolutionChange()\"\n />\n }\n @if ((layers$ | async).length !== 0) {\n } @else {\n @if (delayedShowEmptyMapContent) {\n <mat-list>\n <p class=\"map-empty\">\n {{ 'igo.integration.mapTool.empty' | translate }}\n </p>\n @if (\n layerAdditionAllowed() &&\n (searchToolInToolbar ||\n catalogToolInToolbar ||\n contextToolInToolbar)\n ) {\n <p class=\"map-empty\">\n {{ 'igo.integration.mapTool.customize' | translate }}\n </p>\n }\n @if (layerAdditionAllowed() && searchToolInToolbar) {\n <mat-list-item>\n <mat-icon matListItemIcon>search</mat-icon>\n <span matListItemTitle class=\"search-tool\" (click)=\"searchEmit()\">\n {{ 'igo.integration.mapTool.search-tool' | translate }}\n </span>\n </mat-list-item>\n }\n @if (layerAdditionAllowed() && catalogToolInToolbar) {\n <mat-list-item>\n <mat-icon matListItemIcon>library_add</mat-icon>\n <span\n matListItemTitle\n class=\"catalog-tool\"\n (click)=\"catalogEmit()\"\n >\n {{ 'igo.integration.mapTool.catalog-tool' | translate }}\n </span>\n </mat-list-item>\n }\n @if (layerAdditionAllowed() && contextToolInToolbar) {\n <mat-list-item>\n <mat-icon matListItemIcon>star</mat-icon>\n <span\n matListItemTitle\n class=\"context-tool\"\n (click)=\"contextEmit()\"\n >\n {{ 'igo.integration.mapTool.context-tool' | translate }}\n </span>\n </mat-list-item>\n }\n </mat-list>\n }\n }\n\n @if (\n !allowShowAllLegends() &&\n (layers$ | async).length !== 0 &&\n (visibleOrInRangeLayers$ | async).length === 0\n ) {\n <p class=\"map-empty\">\n {{\n (visibleLayers$ | async).length\n ? ('igo.integration.mapTool.noLayersInRange' | translate)\n : ('igo.integration.mapTool.noLayersVisible' | translate)\n }}\n </p>\n }\n </mat-tab>\n\n <ng-template #emptyLayers>\n @if (delayedShowEmptyMapContent) {\n <mat-list>\n <p class=\"map-empty\">\n {{ 'igo.integration.mapTool.empty' | translate }}\n </p>\n @if (\n layerAdditionAllowed() &&\n (searchToolInToolbar || catalogToolInToolbar || contextToolInToolbar)\n ) {\n <p class=\"map-empty\">\n {{ 'igo.integration.mapTool.customize' | translate }}\n </p>\n }\n @if (layerAdditionAllowed() && searchToolInToolbar) {\n <mat-list-item>\n <mat-icon matListItemIcon>search</mat-icon>\n <span matListItemTitle class=\"search-tool\" (click)=\"searchEmit()\">\n {{ 'igo.integration.mapTool.search-tool' | translate }}\n </span>\n </mat-list-item>\n }\n @if (layerAdditionAllowed() && catalogToolInToolbar) {\n <mat-list-item>\n <mat-icon matListItemIcon>library_add</mat-icon>\n <span matListItemTitle class=\"catalog-tool\" (click)=\"catalogEmit()\">\n {{ 'igo.integration.mapTool.catalog-tool' | translate }}\n </span>\n </mat-list-item>\n }\n @if (layerAdditionAllowed() && contextToolInToolbar) {\n <mat-list-item>\n <mat-icon matListItemIcon>star</mat-icon>\n <span matListItemTitle class=\"context-tool\" (click)=\"contextEmit()\">\n {{ 'igo.integration.mapTool.context-tool' | translate }}\n </span>\n </mat-list-item>\n }\n </mat-list>\n }\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"] }]
|
|
4409
|
+
}], ctorParameters: () => [], propDecorators: { allowShowAllLegends: [{ type: i0.Input, args: [{ isSignal: true, alias: "allowShowAllLegends", required: false }] }], showAllLegendsValue: [{ type: i0.Input, args: [{ isSignal: true, alias: "showAllLegendsValue", required: false }] }], toggleLegendOnVisibilityChange: [{ type: i0.Input, args: [{ isSignal: true, alias: "toggleLegendOnVisibilityChange", required: false }] }], expandLegendOfVisibleLayers: [{ type: i0.Input, args: [{ isSignal: true, alias: "expandLegendOfVisibleLayers", required: false }] }], updateLegendOnResolutionChange: [{ type: i0.Input, args: [{ isSignal: true, alias: "updateLegendOnResolutionChange", required: false }] }], selectedTabAtOpening: [{ type: i0.Input, args: [{ isSignal: true, alias: "selectedTabAtOpening", required: false }] }], ogcButton: [{ type: i0.Input, args: [{ isSignal: true, alias: "ogcButton", required: false }] }], timeButton: [{ type: i0.Input, args: [{ isSignal: true, alias: "timeButton", required: false }] }], layerAdditionAllowed: [{ type: i0.Input, args: [{ isSignal: true, alias: "layerAdditionAllowed", required: false }] }], layerListControls: [{
|
|
4459
4410
|
type: Input
|
|
4460
|
-
}],
|
|
4461
|
-
type: Input
|
|
4462
|
-
}], layerAdditionAllowed: [{
|
|
4463
|
-
type: Input
|
|
4464
|
-
}], layerListControls: [{
|
|
4465
|
-
type: Input
|
|
4466
|
-
}], queryBadge: [{
|
|
4467
|
-
type: Input
|
|
4468
|
-
}], tabGroup: [{
|
|
4469
|
-
type: ViewChild,
|
|
4470
|
-
args: ['tabGroup', { static: true }]
|
|
4471
|
-
}] } });
|
|
4411
|
+
}], queryBadge: [{ type: i0.Input, args: [{ isSignal: true, alias: "queryBadge", required: false }] }], tabGroup: [{ type: i0.ViewChild, args: ['tabGroup', { isSignal: true }] }] } });
|
|
4472
4412
|
|
|
4473
4413
|
/**
|
|
4474
4414
|
* @deprecated import the ImportExportToolComponent directly or INTEGRATION_MAP_DIRECTIVES for the set
|
|
@@ -4480,8 +4420,8 @@ class IgoAppMapModule {
|
|
|
4480
4420
|
providers: []
|
|
4481
4421
|
};
|
|
4482
4422
|
}
|
|
4483
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
4484
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.
|
|
4423
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: IgoAppMapModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4424
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.16", ngImport: i0, type: IgoAppMapModule, imports: [AdvancedMapToolComponent,
|
|
4485
4425
|
MapProximityToolComponent,
|
|
4486
4426
|
MapToolComponent,
|
|
4487
4427
|
MapToolsComponent,
|
|
@@ -4492,14 +4432,14 @@ class IgoAppMapModule {
|
|
|
4492
4432
|
MapToolsComponent,
|
|
4493
4433
|
MapDetailsToolComponent,
|
|
4494
4434
|
MapLegendToolComponent] });
|
|
4495
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.
|
|
4435
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: IgoAppMapModule, imports: [AdvancedMapToolComponent,
|
|
4496
4436
|
MapProximityToolComponent,
|
|
4497
4437
|
MapToolComponent,
|
|
4498
4438
|
MapToolsComponent,
|
|
4499
4439
|
MapDetailsToolComponent,
|
|
4500
4440
|
MapLegendToolComponent] });
|
|
4501
4441
|
}
|
|
4502
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
4442
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: IgoAppMapModule, decorators: [{
|
|
4503
4443
|
type: NgModule,
|
|
4504
4444
|
args: [{
|
|
4505
4445
|
imports: [
|
|
@@ -4535,7 +4475,7 @@ class MeasureState {
|
|
|
4535
4475
|
map: this.mapState.map
|
|
4536
4476
|
});
|
|
4537
4477
|
this.mapState.map.layerController.all$.subscribe((layers) => {
|
|
4538
|
-
const hasMeasure = layers.some((l) => l.id?.startsWith('igo-measures-'));
|
|
4478
|
+
const hasMeasure = layers.some((l) => String(l.id)?.startsWith('igo-measures-'));
|
|
4539
4479
|
if (!hasMeasure) {
|
|
4540
4480
|
this.store.deleteMany(this.store.all());
|
|
4541
4481
|
this.mapState.map.ol
|
|
@@ -4546,10 +4486,10 @@ class MeasureState {
|
|
|
4546
4486
|
}
|
|
4547
4487
|
});
|
|
4548
4488
|
}
|
|
4549
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
4550
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
4489
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: MeasureState, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4490
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: MeasureState, providedIn: 'root' });
|
|
4551
4491
|
}
|
|
4552
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
4492
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: MeasureState, decorators: [{
|
|
4553
4493
|
type: Injectable,
|
|
4554
4494
|
args: [{
|
|
4555
4495
|
providedIn: 'root'
|
|
@@ -4576,8 +4516,8 @@ let MeasurerToolComponent = class MeasurerToolComponent {
|
|
|
4576
4516
|
get map() {
|
|
4577
4517
|
return this.mapState.map;
|
|
4578
4518
|
}
|
|
4579
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
4580
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
4519
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: MeasurerToolComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
4520
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: MeasurerToolComponent, isStandalone: true, selector: "igo-measurer-tool", ngImport: i0, template: "<igo-measurer [store]=\"store\" [map]=\"map\" />\n", dependencies: [{ kind: "component", type: MeasurerComponent, selector: "igo-measurer", inputs: ["map", "store", "activeMeasureType", "minSegmentLength"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
4581
4521
|
};
|
|
4582
4522
|
MeasurerToolComponent = __decorate([
|
|
4583
4523
|
ToolComponent({
|
|
@@ -4586,20 +4526,20 @@ MeasurerToolComponent = __decorate([
|
|
|
4586
4526
|
icon: 'square_foot'
|
|
4587
4527
|
})
|
|
4588
4528
|
], MeasurerToolComponent);
|
|
4589
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
4529
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: MeasurerToolComponent, decorators: [{
|
|
4590
4530
|
type: Component,
|
|
4591
|
-
args: [{ selector: 'igo-measurer-tool', changeDetection: ChangeDetectionStrategy.OnPush, imports: [MeasurerComponent], template: "<igo-measurer [store]=\"store\" [map]=\"map\"
|
|
4531
|
+
args: [{ selector: 'igo-measurer-tool', changeDetection: ChangeDetectionStrategy.OnPush, imports: [MeasurerComponent], template: "<igo-measurer [store]=\"store\" [map]=\"map\" />\n" }]
|
|
4592
4532
|
}] });
|
|
4593
4533
|
|
|
4594
4534
|
/**
|
|
4595
4535
|
* @deprecated import the MeasurerToolComponent directly
|
|
4596
4536
|
*/
|
|
4597
4537
|
class IgoAppMeasurerToolModule {
|
|
4598
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
4599
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.
|
|
4600
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.
|
|
4538
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: IgoAppMeasurerToolModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4539
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.16", ngImport: i0, type: IgoAppMeasurerToolModule, imports: [MeasurerToolComponent], exports: [MeasurerToolComponent] });
|
|
4540
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: IgoAppMeasurerToolModule, imports: [MeasurerToolComponent] });
|
|
4601
4541
|
}
|
|
4602
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
4542
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: IgoAppMeasurerToolModule, decorators: [{
|
|
4603
4543
|
type: NgModule,
|
|
4604
4544
|
args: [{
|
|
4605
4545
|
imports: [MeasurerToolComponent],
|
|
@@ -4611,11 +4551,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.14", ngImpo
|
|
|
4611
4551
|
* @deprecated import the MeasurerToolComponent directly
|
|
4612
4552
|
*/
|
|
4613
4553
|
class IgoAppMeasureModule {
|
|
4614
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
4615
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.
|
|
4616
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.
|
|
4554
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: IgoAppMeasureModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4555
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.16", ngImport: i0, type: IgoAppMeasureModule, exports: [IgoAppMeasurerToolModule] });
|
|
4556
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: IgoAppMeasureModule, imports: [IgoAppMeasurerToolModule] });
|
|
4617
4557
|
}
|
|
4618
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
4558
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: IgoAppMeasureModule, decorators: [{
|
|
4619
4559
|
type: NgModule,
|
|
4620
4560
|
args: [{
|
|
4621
4561
|
exports: [IgoAppMeasurerToolModule]
|
|
@@ -4627,8 +4567,8 @@ let PrintToolComponent = class PrintToolComponent {
|
|
|
4627
4567
|
get map() {
|
|
4628
4568
|
return this.mapState.map;
|
|
4629
4569
|
}
|
|
4630
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
4631
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
4570
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: PrintToolComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
4571
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: PrintToolComponent, isStandalone: true, selector: "igo-print-tool", ngImport: i0, template: "<igo-print [map]=\"map\" />\n", dependencies: [{ kind: "component", type: PrintComponent, selector: "igo-print", inputs: ["map", "outputFormat", "paperFormat", "orientation", "imageFormat", "legendPosition", "resolution"] }] });
|
|
4632
4572
|
};
|
|
4633
4573
|
PrintToolComponent = __decorate([
|
|
4634
4574
|
ToolComponent({
|
|
@@ -4637,9 +4577,9 @@ PrintToolComponent = __decorate([
|
|
|
4637
4577
|
icon: 'print'
|
|
4638
4578
|
})
|
|
4639
4579
|
], PrintToolComponent);
|
|
4640
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
4580
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: PrintToolComponent, decorators: [{
|
|
4641
4581
|
type: Component,
|
|
4642
|
-
args: [{ selector: 'igo-print-tool', imports: [PrintComponent], template: "<igo-print [map]=\"map\"
|
|
4582
|
+
args: [{ selector: 'igo-print-tool', imports: [PrintComponent], template: "<igo-print [map]=\"map\" />\n" }]
|
|
4643
4583
|
}] });
|
|
4644
4584
|
|
|
4645
4585
|
/**
|
|
@@ -4652,11 +4592,11 @@ class IgoAppPrintModule {
|
|
|
4652
4592
|
providers: []
|
|
4653
4593
|
};
|
|
4654
4594
|
}
|
|
4655
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
4656
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.
|
|
4657
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.
|
|
4595
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: IgoAppPrintModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4596
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.16", ngImport: i0, type: IgoAppPrintModule, imports: [PrintToolComponent], exports: [PrintToolComponent] });
|
|
4597
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: IgoAppPrintModule, imports: [PrintToolComponent] });
|
|
4658
4598
|
}
|
|
4659
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
4599
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: IgoAppPrintModule, decorators: [{
|
|
4660
4600
|
type: NgModule,
|
|
4661
4601
|
args: [{
|
|
4662
4602
|
imports: [PrintToolComponent],
|
|
@@ -4802,10 +4742,10 @@ class SearchState {
|
|
|
4802
4742
|
this.storageService.set('searchResultsGeometryEnabled', value);
|
|
4803
4743
|
this.searchResultsGeometryEnabled$.next(value);
|
|
4804
4744
|
}
|
|
4805
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
4806
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
4745
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: SearchState, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4746
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: SearchState });
|
|
4807
4747
|
}
|
|
4808
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
4748
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: SearchState, decorators: [{
|
|
4809
4749
|
type: Injectable
|
|
4810
4750
|
}], ctorParameters: () => [] });
|
|
4811
4751
|
|
|
@@ -4851,10 +4791,10 @@ class SearchBarBindingDirective {
|
|
|
4851
4791
|
this.searchState.setSearchType(searchType);
|
|
4852
4792
|
}
|
|
4853
4793
|
}
|
|
4854
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
4855
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
4794
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: SearchBarBindingDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
4795
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.16", type: SearchBarBindingDirective, isStandalone: true, selector: "[igoSearchBarBinding]", host: { listeners: { "searchTermChange": "onSearchTermChange($event)", "searchTypeChange": "onSearchTypeChange($event)" } }, ngImport: i0 });
|
|
4856
4796
|
}
|
|
4857
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
4797
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: SearchBarBindingDirective, decorators: [{
|
|
4858
4798
|
type: Directive,
|
|
4859
4799
|
args: [{
|
|
4860
4800
|
selector: '[igoSearchBarBinding]',
|
|
@@ -4880,11 +4820,11 @@ let SearchResultsToolComponent = class SearchResultsToolComponent {
|
|
|
4880
4820
|
/**
|
|
4881
4821
|
* to show hide results icons
|
|
4882
4822
|
*/
|
|
4883
|
-
showIcons = true;
|
|
4823
|
+
showIcons = input(true, ...(ngDevMode ? [{ debugName: "showIcons" }] : []));
|
|
4884
4824
|
/**
|
|
4885
4825
|
* Determine the top panel default state
|
|
4886
4826
|
*/
|
|
4887
|
-
topPanelStateDefault = 'expanded';
|
|
4827
|
+
topPanelStateDefault = input('expanded', ...(ngDevMode ? [{ debugName: "topPanelStateDefault" }] : []));
|
|
4888
4828
|
hasFeatureEmphasisOnSelection = false;
|
|
4889
4829
|
saveSearchResultInLayer = false;
|
|
4890
4830
|
showResultsGeometries$$;
|
|
@@ -4937,7 +4877,7 @@ let SearchResultsToolComponent = class SearchResultsToolComponent {
|
|
|
4937
4877
|
get termSplitter() {
|
|
4938
4878
|
return this.searchState.searchTermSplitter$.value;
|
|
4939
4879
|
}
|
|
4940
|
-
format = new
|
|
4880
|
+
format = new GeoJSON();
|
|
4941
4881
|
get stores() {
|
|
4942
4882
|
return this.searchState.searchLayerStores;
|
|
4943
4883
|
}
|
|
@@ -5169,7 +5109,7 @@ let SearchResultsToolComponent = class SearchResultsToolComponent {
|
|
|
5169
5109
|
this.tryAddFeatureToMap(result, this.searchState.featureMotion.selected);
|
|
5170
5110
|
this.searchState.setSelectedResult(result);
|
|
5171
5111
|
if (this.topPanelState === 'initial') {
|
|
5172
|
-
if (this.topPanelStateDefault !== 'collapsed') {
|
|
5112
|
+
if (this.topPanelStateDefault() !== 'collapsed') {
|
|
5173
5113
|
this.topPanelState = 'expanded';
|
|
5174
5114
|
}
|
|
5175
5115
|
else {
|
|
@@ -5341,8 +5281,8 @@ let SearchResultsToolComponent = class SearchResultsToolComponent {
|
|
|
5341
5281
|
});
|
|
5342
5282
|
}, 250);
|
|
5343
5283
|
}
|
|
5344
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
5345
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.
|
|
5284
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: SearchResultsToolComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
5285
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.16", type: SearchResultsToolComponent, isStandalone: true, selector: "igo-search-results-tool", inputs: { showIcons: { classPropertyName: "showIcons", publicName: "showIcons", isSignal: true, isRequired: false, transformFunction: null }, topPanelStateDefault: { classPropertyName: "topPanelStateDefault", publicName: "topPanelStateDefault", isSignal: true, isRequired: false, transformFunction: null }, topPanelState: { classPropertyName: "topPanelState", publicName: "topPanelState", isSignal: false, isRequired: false, transformFunction: null } }, ngImport: i0, template: "@if ((!store || store.stateView.empty) && (debouncedEmpty$ | async)) {\n <div>\n <section>\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'\n | translate\n | sanitizeHtml\n \"\n ></div>\n </section>\n </div>\n}\n\n@if ((debouncedEmpty$ | async) === false) {\n <igo-flexible\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 </ng-template>\n </igo-search-results>\n </div>\n <div igoFlexibleFill class=\"igo-content\">\n @if (feature$ | async) {\n <igo-panel\n [title]=\"featureTitle\"\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 (topPanelState$ | async) === 'collapsed'\n ? 'arrow_upward'\n : 'arrow_downward'\n }}</mat-icon>\n </button>\n @if (feature.geometry) {\n <button\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]=\"\n (isSelectedResultOutOfView$ | async) === false\n \"\n >zoom_in</mat-icon\n >\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-panel>\n }\n </div>\n </igo-flexible>\n}\n", styles: [":host{display:block;padding:16px}\n"], dependencies: [{ 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", "stores"], outputs: ["addedChange"] }, { kind: "component", type: PanelComponent, selector: "igo-panel", inputs: ["title", "withHeader", "cursorPointer"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i1.MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i3.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatTooltipModule }, { kind: "directive", type: i2.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "ngmodule", type: MatBadgeModule }, { kind: "directive", type: i4$2.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: "ngmodule", type: IgoLanguageModule }, { kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "pipe", type: i3$1.TranslatePipe, name: "translate" }, { kind: "pipe", type: SanitizeHtmlPipe, name: "sanitizeHtml" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
5346
5286
|
};
|
|
5347
5287
|
SearchResultsToolComponent = __decorate([
|
|
5348
5288
|
ToolComponent({
|
|
@@ -5352,7 +5292,7 @@ SearchResultsToolComponent = __decorate([
|
|
|
5352
5292
|
}),
|
|
5353
5293
|
__metadata("design:paramtypes", [])
|
|
5354
5294
|
], SearchResultsToolComponent);
|
|
5355
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
5295
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: SearchResultsToolComponent, decorators: [{
|
|
5356
5296
|
type: Component,
|
|
5357
5297
|
args: [{ selector: 'igo-search-results-tool', changeDetection: ChangeDetectionStrategy.OnPush, imports: [
|
|
5358
5298
|
FlexibleComponent,
|
|
@@ -5367,12 +5307,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.14", ngImpo
|
|
|
5367
5307
|
AsyncPipe,
|
|
5368
5308
|
IgoLanguageModule,
|
|
5369
5309
|
SanitizeHtmlPipe
|
|
5370
|
-
], template: "@if ((!store || store.stateView.empty) && (debouncedEmpty$ | async)) {\n <div>\n <section>\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'\n | translate\n | sanitizeHtml\n \"\n ></div>\n </section>\n </div>\n}\n\n@if ((debouncedEmpty$ | async) === false) {\n <igo-flexible\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
|
|
5371
|
-
}], ctorParameters: () => [], propDecorators: { showIcons: [{
|
|
5372
|
-
type: Input
|
|
5373
|
-
}], topPanelStateDefault: [{
|
|
5374
|
-
type: Input
|
|
5375
|
-
}], topPanelState: [{
|
|
5310
|
+
], template: "@if ((!store || store.stateView.empty) && (debouncedEmpty$ | async)) {\n <div>\n <section>\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'\n | translate\n | sanitizeHtml\n \"\n ></div>\n </section>\n </div>\n}\n\n@if ((debouncedEmpty$ | async) === false) {\n <igo-flexible\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 </ng-template>\n </igo-search-results>\n </div>\n <div igoFlexibleFill class=\"igo-content\">\n @if (feature$ | async) {\n <igo-panel\n [title]=\"featureTitle\"\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 (topPanelState$ | async) === 'collapsed'\n ? 'arrow_upward'\n : 'arrow_downward'\n }}</mat-icon>\n </button>\n @if (feature.geometry) {\n <button\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]=\"\n (isSelectedResultOutOfView$ | async) === false\n \"\n >zoom_in</mat-icon\n >\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-panel>\n }\n </div>\n </igo-flexible>\n}\n", styles: [":host{display:block;padding:16px}\n"] }]
|
|
5311
|
+
}], ctorParameters: () => [], propDecorators: { showIcons: [{ type: i0.Input, args: [{ isSignal: true, alias: "showIcons", required: false }] }], topPanelStateDefault: [{ type: i0.Input, args: [{ isSignal: true, alias: "topPanelStateDefault", required: false }] }], topPanelState: [{
|
|
5376
5312
|
type: Input
|
|
5377
5313
|
}] } });
|
|
5378
5314
|
|
|
@@ -5380,11 +5316,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.14", ngImpo
|
|
|
5380
5316
|
* @deprecated import the components/directive directly or INTEGRATION_SEARCH_DIRECTIVES for the set
|
|
5381
5317
|
*/
|
|
5382
5318
|
class IgoAppSearchModule {
|
|
5383
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
5384
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.
|
|
5385
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.
|
|
5319
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: IgoAppSearchModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5320
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.16", ngImport: i0, type: IgoAppSearchModule, imports: [SearchBarBindingDirective, SearchResultsToolComponent], exports: [SearchBarBindingDirective, SearchResultsToolComponent] });
|
|
5321
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: IgoAppSearchModule, imports: [SearchResultsToolComponent] });
|
|
5386
5322
|
}
|
|
5387
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
5323
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: IgoAppSearchModule, decorators: [{
|
|
5388
5324
|
type: NgModule,
|
|
5389
5325
|
args: [{
|
|
5390
5326
|
imports: [SearchBarBindingDirective, SearchResultsToolComponent],
|
|
@@ -5396,11 +5332,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.14", ngImpo
|
|
|
5396
5332
|
* @deprecated import the WorkspaceButtonComponent directly
|
|
5397
5333
|
*/
|
|
5398
5334
|
class IgoAppWorkspaceModule {
|
|
5399
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
5400
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.
|
|
5401
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.
|
|
5335
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: IgoAppWorkspaceModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5336
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.16", ngImport: i0, type: IgoAppWorkspaceModule, imports: [WorkspaceButtonComponent], exports: [WorkspaceButtonComponent] });
|
|
5337
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: IgoAppWorkspaceModule, imports: [WorkspaceButtonComponent] });
|
|
5402
5338
|
}
|
|
5403
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
5339
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: IgoAppWorkspaceModule, decorators: [{
|
|
5404
5340
|
type: NgModule,
|
|
5405
5341
|
args: [{
|
|
5406
5342
|
imports: [WorkspaceButtonComponent],
|
|
@@ -5412,8 +5348,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.14", ngImpo
|
|
|
5412
5348
|
* @deprecated import the components directly
|
|
5413
5349
|
*/
|
|
5414
5350
|
class IgoIntegrationModule {
|
|
5415
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
5416
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.
|
|
5351
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: IgoIntegrationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5352
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.16", ngImport: i0, type: IgoIntegrationModule, exports: [IgoAppContextModule,
|
|
5417
5353
|
IgoAppCatalogModule,
|
|
5418
5354
|
IgoAppDirectionsModule,
|
|
5419
5355
|
IgoAppDrawModule,
|
|
@@ -5426,7 +5362,7 @@ class IgoIntegrationModule {
|
|
|
5426
5362
|
IgoAppFilterModule,
|
|
5427
5363
|
IgoAppAboutModule,
|
|
5428
5364
|
IgoAppGeometryFormModule] });
|
|
5429
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.
|
|
5365
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: IgoIntegrationModule, imports: [IgoAppContextModule,
|
|
5430
5366
|
IgoAppCatalogModule,
|
|
5431
5367
|
IgoAppDirectionsModule,
|
|
5432
5368
|
IgoAppDrawModule,
|
|
@@ -5440,7 +5376,7 @@ class IgoIntegrationModule {
|
|
|
5440
5376
|
IgoAppAboutModule,
|
|
5441
5377
|
IgoAppGeometryFormModule] });
|
|
5442
5378
|
}
|
|
5443
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
5379
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: IgoIntegrationModule, decorators: [{
|
|
5444
5380
|
type: NgModule,
|
|
5445
5381
|
args: [{
|
|
5446
5382
|
imports: [],
|
|
@@ -5578,10 +5514,10 @@ class AnalyticsListenerService {
|
|
|
5578
5514
|
});
|
|
5579
5515
|
});
|
|
5580
5516
|
}
|
|
5581
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
5582
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
5517
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AnalyticsListenerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5518
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AnalyticsListenerService, providedIn: 'root' });
|
|
5583
5519
|
}
|
|
5584
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
5520
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AnalyticsListenerService, decorators: [{
|
|
5585
5521
|
type: Injectable,
|
|
5586
5522
|
args: [{
|
|
5587
5523
|
providedIn: 'root'
|
|
@@ -5621,10 +5557,10 @@ class QueryState {
|
|
|
5621
5557
|
const geoPropertiesStrategy = new GeoPropertiesStrategy({ map: this.mapState.map }, this.propertyTypeDetectorService, this.capabilitiesService);
|
|
5622
5558
|
this.store.addStrategy(geoPropertiesStrategy, true);
|
|
5623
5559
|
}
|
|
5624
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
5625
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
5560
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: QueryState, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5561
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: QueryState, providedIn: 'root' });
|
|
5626
5562
|
}
|
|
5627
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
5563
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: QueryState, decorators: [{
|
|
5628
5564
|
type: Injectable,
|
|
5629
5565
|
args: [{
|
|
5630
5566
|
providedIn: 'root'
|
|
@@ -5635,11 +5571,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.14", ngImpo
|
|
|
5635
5571
|
* @deprecated import the SearchResultsToolComponent directly
|
|
5636
5572
|
*/
|
|
5637
5573
|
class IgoAppSearchResultsToolModule {
|
|
5638
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
5639
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.
|
|
5640
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.
|
|
5574
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: IgoAppSearchResultsToolModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5575
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.16", ngImport: i0, type: IgoAppSearchResultsToolModule, imports: [SearchResultsToolComponent], exports: [SearchResultsToolComponent] });
|
|
5576
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: IgoAppSearchResultsToolModule, imports: [SearchResultsToolComponent] });
|
|
5641
5577
|
}
|
|
5642
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
5578
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: IgoAppSearchResultsToolModule, decorators: [{
|
|
5643
5579
|
type: NgModule,
|
|
5644
5580
|
args: [{
|
|
5645
5581
|
imports: [SearchResultsToolComponent],
|
|
@@ -5651,11 +5587,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.14", ngImpo
|
|
|
5651
5587
|
* @deprecated import the SearchBarBindingDirective directly
|
|
5652
5588
|
*/
|
|
5653
5589
|
class IgoAppSearchBarModule {
|
|
5654
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
5655
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.
|
|
5656
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.
|
|
5590
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: IgoAppSearchBarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5591
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.16", ngImport: i0, type: IgoAppSearchBarModule, imports: [SearchBarBindingDirective], exports: [SearchBarBindingDirective] });
|
|
5592
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: IgoAppSearchBarModule });
|
|
5657
5593
|
}
|
|
5658
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
5594
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: IgoAppSearchBarModule, decorators: [{
|
|
5659
5595
|
type: NgModule,
|
|
5660
5596
|
args: [{
|
|
5661
5597
|
imports: [SearchBarBindingDirective],
|