@igo2/integration 20.0.1-next.1 → 20.1.0-next.1
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 +661 -727
- package/fesm2022/igo2-integration.mjs.map +1 -1
- package/index.d.ts +85 -89
- package/package.json +4 -4
|
@@ -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,14 +15,14 @@ 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
28
|
import { ContextService, ContextEditComponent, ContextEditBindingDirective, ContextListComponent, ContextListBindingDirective, ContextPermissionsComponent, ContextPermissionsBindingDirective, ShareMapComponent, ContextImportExportComponent } from '@igo2/context';
|
|
@@ -30,7 +30,8 @@ import { createExcelWorkBook, addExcelSheetToWorkBook, writeExcelFile, uuid, Num
|
|
|
30
30
|
import { MessageService, IgoMessageModule } from '@igo2/core/message';
|
|
31
31
|
import { trigger, state, transition, style, animate } from '@angular/animations';
|
|
32
32
|
import { SELECTION_MARKER_ICON } from '@igo2/common/icon';
|
|
33
|
-
import
|
|
33
|
+
import * as olProj from 'ol/proj';
|
|
34
|
+
import { transform } from 'ol/proj';
|
|
34
35
|
import * as olstyle from 'ol/style';
|
|
35
36
|
import { WorkspaceStore } from '@igo2/common/workspace';
|
|
36
37
|
import { MediaService, Media } from '@igo2/core/media';
|
|
@@ -55,11 +56,11 @@ import * as i2$2 from '@angular/material/input';
|
|
|
55
56
|
import { MatInputModule } from '@angular/material/input';
|
|
56
57
|
import * as i6 from '@angular/material/select';
|
|
57
58
|
import { MatSelectModule } from '@angular/material/select';
|
|
58
|
-
import * as olProj from 'ol/proj';
|
|
59
59
|
import * as i1$5 from '@angular/material/list';
|
|
60
60
|
import { MatListModule } from '@angular/material/list';
|
|
61
61
|
import * as i5 from '@angular/material/radio';
|
|
62
62
|
import { MatRadioModule } from '@angular/material/radio';
|
|
63
|
+
import GeoJSON from 'ol/format/GeoJSON';
|
|
63
64
|
import olLineString from 'ol/geom/LineString';
|
|
64
65
|
import olLayerVector from 'ol/layer/Vector';
|
|
65
66
|
import * as i4$2 from '@angular/material/badge';
|
|
@@ -99,7 +100,7 @@ let AboutToolComponent = class AboutToolComponent {
|
|
|
99
100
|
this._discoverTitleInLocale = value;
|
|
100
101
|
this.discoverTitleInLocale$ = of(value);
|
|
101
102
|
}
|
|
102
|
-
trainingGuideURLs;
|
|
103
|
+
trainingGuideURLs = model(undefined, ...(ngDevMode ? [{ debugName: "trainingGuideURLs" }] : []));
|
|
103
104
|
effectiveVersion;
|
|
104
105
|
_html = 'igo.integration.aboutTool.html';
|
|
105
106
|
_headerHtml;
|
|
@@ -122,21 +123,21 @@ let AboutToolComponent = class AboutToolComponent {
|
|
|
122
123
|
if (this.auth.authenticated && this.configOptions.context?.url) {
|
|
123
124
|
this.http.get(this.baseUrlProfil).subscribe((profil) => {
|
|
124
125
|
const recast = profil;
|
|
125
|
-
this.trainingGuideURLs
|
|
126
|
+
this.trainingGuideURLs.set(recast.guides);
|
|
126
127
|
this.cdRef.detectChanges();
|
|
127
128
|
});
|
|
128
129
|
}
|
|
129
130
|
else if (this.auth.authenticated &&
|
|
130
131
|
!this.configOptions.context?.url &&
|
|
131
132
|
this.configOptions.depot?.trainingGuides) {
|
|
132
|
-
this.trainingGuideURLs
|
|
133
|
+
this.trainingGuideURLs.set(this.configOptions.depot?.trainingGuides);
|
|
133
134
|
}
|
|
134
135
|
}
|
|
135
136
|
openGuide(guide) {
|
|
136
137
|
this.loading = true;
|
|
137
138
|
const url = guide
|
|
138
139
|
? this.baseUrlGuide + guide + '?'
|
|
139
|
-
: this.baseUrlGuide + this.trainingGuideURLs[0] + '?';
|
|
140
|
+
: this.baseUrlGuide + this.trainingGuideURLs()[0] + '?';
|
|
140
141
|
this.http
|
|
141
142
|
.get(url, {
|
|
142
143
|
responseType: 'blob'
|
|
@@ -153,8 +154,8 @@ let AboutToolComponent = class AboutToolComponent {
|
|
|
153
154
|
name = name.slice(0, index);
|
|
154
155
|
return name;
|
|
155
156
|
}
|
|
156
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
157
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.
|
|
157
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: AboutToolComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
158
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.6", 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
159
|
};
|
|
159
160
|
AboutToolComponent = __decorate([
|
|
160
161
|
ToolComponent({
|
|
@@ -164,7 +165,7 @@ AboutToolComponent = __decorate([
|
|
|
164
165
|
}),
|
|
165
166
|
__metadata("design:paramtypes", [])
|
|
166
167
|
], AboutToolComponent);
|
|
167
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
168
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: AboutToolComponent, decorators: [{
|
|
168
169
|
type: Component,
|
|
169
170
|
args: [{ selector: 'igo-about-tool', imports: [
|
|
170
171
|
MatButtonModule,
|
|
@@ -173,16 +174,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImpor
|
|
|
173
174
|
MatMenuModule,
|
|
174
175
|
CustomHtmlComponent,
|
|
175
176
|
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\"
|
|
177
|
+
], 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
178
|
}], ctorParameters: () => [], propDecorators: { headerHtml: [{
|
|
178
179
|
type: Input
|
|
179
180
|
}], html: [{
|
|
180
181
|
type: Input
|
|
181
182
|
}], discoverTitleInLocale: [{
|
|
182
183
|
type: Input
|
|
183
|
-
}], trainingGuideURLs: [{
|
|
184
|
-
type: Input
|
|
185
|
-
}] } });
|
|
184
|
+
}], trainingGuideURLs: [{ type: i0.Input, args: [{ isSignal: true, alias: "trainingGuideURLs", required: false }] }, { type: i0.Output, args: ["trainingGuideURLsChange"] }] } });
|
|
186
185
|
|
|
187
186
|
/**
|
|
188
187
|
* @deprecated import the AboutToolComponent directly
|
|
@@ -194,11 +193,11 @@ class IgoAppAboutModule {
|
|
|
194
193
|
providers: []
|
|
195
194
|
};
|
|
196
195
|
}
|
|
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.
|
|
196
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: IgoAppAboutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
197
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.6", ngImport: i0, type: IgoAppAboutModule, imports: [AboutToolComponent], exports: [AboutToolComponent] });
|
|
198
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: IgoAppAboutModule, imports: [AboutToolComponent] });
|
|
200
199
|
}
|
|
201
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
200
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: IgoAppAboutModule, decorators: [{
|
|
202
201
|
type: NgModule,
|
|
203
202
|
args: [{
|
|
204
203
|
imports: [AboutToolComponent],
|
|
@@ -240,10 +239,10 @@ class MapState {
|
|
|
240
239
|
}, this.storageService, this.configService);
|
|
241
240
|
this.mapService.setMap(this.map);
|
|
242
241
|
}
|
|
243
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
244
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
242
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: MapState, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
243
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: MapState, providedIn: 'root' });
|
|
245
244
|
}
|
|
246
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
245
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: MapState, decorators: [{
|
|
247
246
|
type: Injectable,
|
|
248
247
|
args: [{
|
|
249
248
|
providedIn: 'root'
|
|
@@ -294,10 +293,10 @@ class CatalogState {
|
|
|
294
293
|
clearCatalogItemsStores() {
|
|
295
294
|
this.catalogItemsStores.clear();
|
|
296
295
|
}
|
|
297
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
298
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
296
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: CatalogState, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
297
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: CatalogState, providedIn: 'root' });
|
|
299
298
|
}
|
|
300
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
299
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: CatalogState, decorators: [{
|
|
301
300
|
type: Injectable,
|
|
302
301
|
args: [{
|
|
303
302
|
providedIn: 'root'
|
|
@@ -325,7 +324,7 @@ let CatalogBrowserToolComponent = class CatalogBrowserToolComponent {
|
|
|
325
324
|
/**
|
|
326
325
|
* Whether a group can be toggled when it's collapsed
|
|
327
326
|
*/
|
|
328
|
-
toggleCollapsedGroup = true;
|
|
327
|
+
toggleCollapsedGroup = input(true, ...(ngDevMode ? [{ debugName: "toggleCollapsedGroup" }] : []));
|
|
329
328
|
/**
|
|
330
329
|
* Map to add layers to
|
|
331
330
|
* @internal
|
|
@@ -377,8 +376,8 @@ let CatalogBrowserToolComponent = class CatalogBrowserToolComponent {
|
|
|
377
376
|
this.store$.next(store);
|
|
378
377
|
});
|
|
379
378
|
}
|
|
380
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
381
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.
|
|
379
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: CatalogBrowserToolComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
380
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.6", 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
381
|
};
|
|
383
382
|
CatalogBrowserToolComponent = __decorate([
|
|
384
383
|
ToolComponent({
|
|
@@ -387,22 +386,20 @@ CatalogBrowserToolComponent = __decorate([
|
|
|
387
386
|
parent: 'catalog'
|
|
388
387
|
})
|
|
389
388
|
], CatalogBrowserToolComponent);
|
|
390
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
389
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: CatalogBrowserToolComponent, decorators: [{
|
|
391
390
|
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
|
-
}] } });
|
|
391
|
+
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" }]
|
|
392
|
+
}], propDecorators: { toggleCollapsedGroup: [{ type: i0.Input, args: [{ isSignal: true, alias: "toggleCollapsedGroup", required: false }] }] } });
|
|
396
393
|
|
|
397
394
|
/**
|
|
398
395
|
* @deprecated import the CatalogBrowserToolComponent directly
|
|
399
396
|
*/
|
|
400
397
|
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.
|
|
398
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: IgoAppCatalogBrowserToolModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
399
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.6", ngImport: i0, type: IgoAppCatalogBrowserToolModule, imports: [CatalogBrowserToolComponent], exports: [CatalogBrowserToolComponent] });
|
|
400
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: IgoAppCatalogBrowserToolModule, imports: [CatalogBrowserToolComponent] });
|
|
404
401
|
}
|
|
405
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
402
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: IgoAppCatalogBrowserToolModule, decorators: [{
|
|
406
403
|
type: NgModule,
|
|
407
404
|
args: [{
|
|
408
405
|
imports: [CatalogBrowserToolComponent],
|
|
@@ -436,10 +433,10 @@ class ImportExportState {
|
|
|
436
433
|
setsExportOptions(exportOptions) {
|
|
437
434
|
this.exportOptions$.next(exportOptions);
|
|
438
435
|
}
|
|
439
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
440
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
436
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: ImportExportState, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
437
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: ImportExportState, providedIn: 'root' });
|
|
441
438
|
}
|
|
442
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
439
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: ImportExportState, decorators: [{
|
|
443
440
|
type: Injectable,
|
|
444
441
|
args: [{
|
|
445
442
|
providedIn: 'root'
|
|
@@ -481,10 +478,10 @@ class ToolState {
|
|
|
481
478
|
this.openSidenav$.next(true);
|
|
482
479
|
}
|
|
483
480
|
}
|
|
484
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
485
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
481
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: ToolState, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
482
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: ToolState, providedIn: 'root' });
|
|
486
483
|
}
|
|
487
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
484
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: ToolState, decorators: [{
|
|
488
485
|
type: Injectable,
|
|
489
486
|
args: [{
|
|
490
487
|
providedIn: 'root'
|
|
@@ -610,15 +607,15 @@ let CatalogLibraryToolComponent = class CatalogLibraryToolComponent {
|
|
|
610
607
|
/**
|
|
611
608
|
* Determine if the form to add a catalog is allowed
|
|
612
609
|
*/
|
|
613
|
-
addCatalogAllowed = false;
|
|
610
|
+
addCatalogAllowed = input(false, ...(ngDevMode ? [{ debugName: "addCatalogAllowed" }] : []));
|
|
614
611
|
/**
|
|
615
612
|
* Determine if the export button is shown
|
|
616
613
|
*/
|
|
617
|
-
exportButton = false;
|
|
614
|
+
exportButton = input(false, ...(ngDevMode ? [{ debugName: "exportButton" }] : []));
|
|
618
615
|
/**
|
|
619
616
|
* List of predefined catalogs
|
|
620
617
|
*/
|
|
621
|
-
predefinedCatalogs = [];
|
|
618
|
+
predefinedCatalogs = input([], ...(ngDevMode ? [{ debugName: "predefinedCatalogs" }] : []));
|
|
622
619
|
set selectedCatalogId(id) {
|
|
623
620
|
this.storageService.set('selectedCatalogId', id, StorageScope.SESSION);
|
|
624
621
|
}
|
|
@@ -789,8 +786,8 @@ let CatalogLibraryToolComponent = class CatalogLibraryToolComponent {
|
|
|
789
786
|
const documentName = this.languageService.translate.instant('igo.integration.catalog.listExport.documentName', { value: formatDate(Date.now(), 'YYYY-MM-dd-H_mm', 'en-US') });
|
|
790
787
|
writeExcelFile(workBook, documentName, { compression: true });
|
|
791
788
|
}
|
|
792
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
793
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.
|
|
789
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: CatalogLibraryToolComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
790
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.6", 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
791
|
};
|
|
795
792
|
CatalogLibraryToolComponent = __decorate([
|
|
796
793
|
ToolComponent({
|
|
@@ -799,31 +796,25 @@ CatalogLibraryToolComponent = __decorate([
|
|
|
799
796
|
icon: 'library_add'
|
|
800
797
|
})
|
|
801
798
|
], CatalogLibraryToolComponent);
|
|
802
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
799
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: CatalogLibraryToolComponent, decorators: [{
|
|
803
800
|
type: Component,
|
|
804
801
|
args: [{ selector: 'igo-catalog-library-tool', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [
|
|
805
802
|
CatalogLibraryComponent,
|
|
806
803
|
MatButtonModule,
|
|
807
804
|
MatTooltipModule,
|
|
808
805
|
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
|
-
}] } });
|
|
806
|
+
], 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"] }]
|
|
807
|
+
}], 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
808
|
|
|
818
809
|
/**
|
|
819
810
|
* @deprecated import the CatalogLibraryToolComponent directly
|
|
820
811
|
*/
|
|
821
812
|
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.
|
|
813
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: IgoAppCatalogLibraryToolModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
814
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.6", ngImport: i0, type: IgoAppCatalogLibraryToolModule, imports: [CatalogLibraryToolComponent], exports: [CatalogLibraryToolComponent] });
|
|
815
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: IgoAppCatalogLibraryToolModule, imports: [CatalogLibraryToolComponent] });
|
|
825
816
|
}
|
|
826
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
817
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: IgoAppCatalogLibraryToolModule, decorators: [{
|
|
827
818
|
type: NgModule,
|
|
828
819
|
args: [{
|
|
829
820
|
imports: [CatalogLibraryToolComponent],
|
|
@@ -835,11 +826,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImpor
|
|
|
835
826
|
* @deprecated import the components directly
|
|
836
827
|
*/
|
|
837
828
|
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.
|
|
829
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: IgoAppCatalogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
830
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.6", ngImport: i0, type: IgoAppCatalogModule, exports: [IgoAppCatalogLibraryToolModule, IgoAppCatalogBrowserToolModule] });
|
|
831
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: IgoAppCatalogModule, imports: [IgoAppCatalogLibraryToolModule, IgoAppCatalogBrowserToolModule] });
|
|
841
832
|
}
|
|
842
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
833
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: IgoAppCatalogModule, decorators: [{
|
|
843
834
|
type: NgModule,
|
|
844
835
|
args: [{
|
|
845
836
|
exports: [IgoAppCatalogLibraryToolModule, IgoAppCatalogBrowserToolModule]
|
|
@@ -851,8 +842,8 @@ let ContextEditorToolComponent = class ContextEditorToolComponent {
|
|
|
851
842
|
submitSuccessed() {
|
|
852
843
|
this.toolState.toolbox.activatePreviousTool();
|
|
853
844
|
}
|
|
854
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
855
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
845
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: ContextEditorToolComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
846
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.6", type: ContextEditorToolComponent, isStandalone: true, selector: "igo-context-editor-tool", ngImport: i0, template: "<igo-context-edit igoContextEditBinding (submitSuccessed)=\"submitSuccessed()\" />\n", dependencies: [{ kind: "component", type: ContextEditComponent, selector: "igo-context-edit", inputs: ["context"], outputs: ["contextChange", "submitForm"] }, { kind: "directive", type: ContextEditBindingDirective, selector: "[igoContextEditBinding]", outputs: ["submitSuccessed"] }] });
|
|
856
847
|
};
|
|
857
848
|
ContextEditorToolComponent = __decorate([
|
|
858
849
|
ToolComponent({
|
|
@@ -862,15 +853,15 @@ ContextEditorToolComponent = __decorate([
|
|
|
862
853
|
parent: 'contextManager'
|
|
863
854
|
})
|
|
864
855
|
], ContextEditorToolComponent);
|
|
865
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
856
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: ContextEditorToolComponent, decorators: [{
|
|
866
857
|
type: Component,
|
|
867
|
-
args: [{ selector: 'igo-context-editor-tool', imports: [ContextEditComponent, ContextEditBindingDirective], template: "<igo-context-edit
|
|
858
|
+
args: [{ selector: 'igo-context-editor-tool', imports: [ContextEditComponent, ContextEditBindingDirective], template: "<igo-context-edit igoContextEditBinding (submitSuccessed)=\"submitSuccessed()\" />\n" }]
|
|
868
859
|
}] });
|
|
869
860
|
|
|
870
861
|
let ContextManagerToolComponent = class ContextManagerToolComponent {
|
|
871
862
|
toolState = inject(ToolState);
|
|
872
863
|
mapState = inject(MapState);
|
|
873
|
-
toolToOpenOnContextChange = 'mapTools';
|
|
864
|
+
toolToOpenOnContextChange = input('mapTools', ...(ngDevMode ? [{ debugName: "toolToOpenOnContextChange" }] : []));
|
|
874
865
|
get map() {
|
|
875
866
|
return this.mapState.map;
|
|
876
867
|
}
|
|
@@ -880,8 +871,8 @@ let ContextManagerToolComponent = class ContextManagerToolComponent {
|
|
|
880
871
|
managePermissions() {
|
|
881
872
|
this.toolState.toolbox.activateTool('contextPermissionManager');
|
|
882
873
|
}
|
|
883
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
884
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
874
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: ContextManagerToolComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
875
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.3.6", 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 igoContextListBinding\n [map]=\"map\"\n (edit)=\"editContext()\"\n (managePermissions)=\"managePermissions()\"\n/>\n", dependencies: [{ kind: "component", type: ContextListComponent, selector: "igo-context-list", inputs: ["contexts", "selectedContext", "map", "defaultContextId", "term"], outputs: ["selectedContextChange", "select", "unselect", "edit", "delete", "save", "clone", "create", "hide", "show", "showHiddenContexts", "favorite", "managePermissions", "manageTools", "filterPermissionsChanged"] }, { kind: "directive", type: ContextListBindingDirective, selector: "[igoContextListBinding]" }] });
|
|
885
876
|
};
|
|
886
877
|
ContextManagerToolComponent = __decorate([
|
|
887
878
|
ToolComponent({
|
|
@@ -890,16 +881,14 @@ ContextManagerToolComponent = __decorate([
|
|
|
890
881
|
icon: 'star'
|
|
891
882
|
})
|
|
892
883
|
], ContextManagerToolComponent);
|
|
893
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
884
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: ContextManagerToolComponent, decorators: [{
|
|
894
885
|
type: Component,
|
|
895
|
-
args: [{ selector: 'igo-context-manager-tool', imports: [ContextListComponent, ContextListBindingDirective], template: "<igo-context-list\n igoContextListBinding\n [map]=\"map\"\n (edit)=\"editContext()\"\n (managePermissions)=\"managePermissions()\"\n
|
|
896
|
-
}], propDecorators: { toolToOpenOnContextChange: [{
|
|
897
|
-
type: Input
|
|
898
|
-
}] } });
|
|
886
|
+
args: [{ selector: 'igo-context-manager-tool', imports: [ContextListComponent, ContextListBindingDirective], template: "<igo-context-list\n igoContextListBinding\n [map]=\"map\"\n (edit)=\"editContext()\"\n (managePermissions)=\"managePermissions()\"\n/>\n" }]
|
|
887
|
+
}], propDecorators: { toolToOpenOnContextChange: [{ type: i0.Input, args: [{ isSignal: true, alias: "toolToOpenOnContextChange", required: false }] }] } });
|
|
899
888
|
|
|
900
889
|
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.
|
|
890
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: ContextPermissionManagerToolComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
891
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.6", 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
892
|
};
|
|
904
893
|
ContextPermissionManagerToolComponent = __decorate([
|
|
905
894
|
ToolComponent({
|
|
@@ -909,9 +898,9 @@ ContextPermissionManagerToolComponent = __decorate([
|
|
|
909
898
|
parent: 'contextManager'
|
|
910
899
|
})
|
|
911
900
|
], ContextPermissionManagerToolComponent);
|
|
912
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
901
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: ContextPermissionManagerToolComponent, decorators: [{
|
|
913
902
|
type: Component,
|
|
914
|
-
args: [{ selector: 'igo-context-permission-manager-tool', imports: [ContextPermissionsComponent, ContextPermissionsBindingDirective], template: "<igo-context-permissions igoContextPermissionsBinding
|
|
903
|
+
args: [{ selector: 'igo-context-permission-manager-tool', imports: [ContextPermissionsComponent, ContextPermissionsBindingDirective], template: "<igo-context-permissions igoContextPermissionsBinding />\n" }]
|
|
915
904
|
}] });
|
|
916
905
|
|
|
917
906
|
/**
|
|
@@ -941,10 +930,10 @@ class LayerListToolState {
|
|
|
941
930
|
sortAlpha: this.sortAlpha$.value
|
|
942
931
|
};
|
|
943
932
|
}
|
|
944
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
945
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
933
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: LayerListToolState, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
934
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: LayerListToolState, providedIn: 'root' });
|
|
946
935
|
}
|
|
947
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
936
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: LayerListToolState, decorators: [{
|
|
948
937
|
type: Injectable,
|
|
949
938
|
args: [{
|
|
950
939
|
providedIn: 'root'
|
|
@@ -960,8 +949,8 @@ let ContextShareToolComponent = class ContextShareToolComponent {
|
|
|
960
949
|
get layerListControls() {
|
|
961
950
|
return this.layerListToolState.getLayerListControls();
|
|
962
951
|
}
|
|
963
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
964
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
952
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: ContextShareToolComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
953
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.6", 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
954
|
};
|
|
966
955
|
ContextShareToolComponent = __decorate([
|
|
967
956
|
ToolComponent({
|
|
@@ -970,9 +959,9 @@ ContextShareToolComponent = __decorate([
|
|
|
970
959
|
icon: 'share'
|
|
971
960
|
})
|
|
972
961
|
], ContextShareToolComponent);
|
|
973
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
962
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: ContextShareToolComponent, decorators: [{
|
|
974
963
|
type: Component,
|
|
975
|
-
args: [{ selector: 'igo-context-share-tool', imports: [ShareMapComponent], template: "<igo-share-map [map]=\"map\"
|
|
964
|
+
args: [{ selector: 'igo-context-share-tool', imports: [ShareMapComponent], template: "<igo-share-map [map]=\"map\" />\n" }]
|
|
976
965
|
}] });
|
|
977
966
|
|
|
978
967
|
const INTEGRATION_CONTEXT_DIRECTIVES = [
|
|
@@ -986,11 +975,11 @@ const INTEGRATION_CONTEXT_DIRECTIVES = [
|
|
|
986
975
|
* @deprecated import the components/directive directly or INTEGRATION_CONTEXT_DIRECTIVES for the set
|
|
987
976
|
*/
|
|
988
977
|
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.
|
|
978
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: IgoAppContextModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
979
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.6", ngImport: i0, type: IgoAppContextModule, imports: [ContextEditorToolComponent, ContextManagerToolComponent, ContextPermissionManagerToolComponent, ContextShareToolComponent], exports: [ContextEditorToolComponent, ContextManagerToolComponent, ContextPermissionManagerToolComponent, ContextShareToolComponent] });
|
|
980
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: IgoAppContextModule, imports: [INTEGRATION_CONTEXT_DIRECTIVES] });
|
|
992
981
|
}
|
|
993
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
982
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: IgoAppContextModule, decorators: [{
|
|
994
983
|
type: NgModule,
|
|
995
984
|
args: [{
|
|
996
985
|
imports: [...INTEGRATION_CONTEXT_DIRECTIVES],
|
|
@@ -1069,10 +1058,10 @@ class ContextState {
|
|
|
1069
1058
|
}
|
|
1070
1059
|
this.setContext(context);
|
|
1071
1060
|
}
|
|
1072
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1073
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
1061
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: ContextState, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1062
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: ContextState, providedIn: 'root' });
|
|
1074
1063
|
}
|
|
1075
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1064
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: ContextState, decorators: [{
|
|
1076
1065
|
type: Injectable,
|
|
1077
1066
|
args: [{
|
|
1078
1067
|
providedIn: 'root'
|
|
@@ -1084,7 +1073,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImpor
|
|
|
1084
1073
|
*/
|
|
1085
1074
|
class DirectionState {
|
|
1086
1075
|
mapState = inject(MapState);
|
|
1087
|
-
zoomToActiveRoute
|
|
1076
|
+
zoomToActiveRoute = signal(false, ...(ngDevMode ? [{ debugName: "zoomToActiveRoute" }] : []));
|
|
1088
1077
|
/**
|
|
1089
1078
|
* Store that holds the stop
|
|
1090
1079
|
*/
|
|
@@ -1119,10 +1108,10 @@ class DirectionState {
|
|
|
1119
1108
|
}
|
|
1120
1109
|
});
|
|
1121
1110
|
}
|
|
1122
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1123
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
1111
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: DirectionState, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1112
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: DirectionState, providedIn: 'root' });
|
|
1124
1113
|
}
|
|
1125
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1114
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: DirectionState, decorators: [{
|
|
1126
1115
|
type: Injectable,
|
|
1127
1116
|
args: [{
|
|
1128
1117
|
providedIn: 'root'
|
|
@@ -1132,7 +1121,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImpor
|
|
|
1132
1121
|
let DirectionsToolComponent = class DirectionsToolComponent {
|
|
1133
1122
|
directionState = inject(DirectionState);
|
|
1134
1123
|
mapState = inject(MapState);
|
|
1135
|
-
languageService = inject(LanguageService);
|
|
1136
1124
|
messageService = inject(MessageService);
|
|
1137
1125
|
storageService = inject(StorageService);
|
|
1138
1126
|
contextState = inject(ContextState);
|
|
@@ -1162,19 +1150,11 @@ let DirectionsToolComponent = class DirectionsToolComponent {
|
|
|
1162
1150
|
get routesFeatureStore() {
|
|
1163
1151
|
return this.directionState.routesFeatureStore;
|
|
1164
1152
|
}
|
|
1165
|
-
/**
|
|
1166
|
-
* step store
|
|
1167
|
-
* @internal
|
|
1168
|
-
*/
|
|
1169
1153
|
get stepFeatureStore() {
|
|
1170
1154
|
return this.directionState.stepFeatureStore;
|
|
1171
1155
|
}
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
* @internal
|
|
1175
|
-
*/
|
|
1176
|
-
get zoomOnActiveRoute$() {
|
|
1177
|
-
return this.directionState.zoomToActiveRoute$;
|
|
1156
|
+
get zoomOnActiveRoute() {
|
|
1157
|
+
return this.directionState.zoomToActiveRoute;
|
|
1178
1158
|
}
|
|
1179
1159
|
get authenticated$() {
|
|
1180
1160
|
return this.authService.authenticate$;
|
|
@@ -1198,8 +1178,8 @@ let DirectionsToolComponent = class DirectionsToolComponent {
|
|
|
1198
1178
|
}
|
|
1199
1179
|
});
|
|
1200
1180
|
}
|
|
1201
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1202
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
1181
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: DirectionsToolComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1182
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.6", 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
1183
|
};
|
|
1204
1184
|
DirectionsToolComponent = __decorate([
|
|
1205
1185
|
ToolComponent({
|
|
@@ -1208,9 +1188,9 @@ DirectionsToolComponent = __decorate([
|
|
|
1208
1188
|
icon: 'directions'
|
|
1209
1189
|
})
|
|
1210
1190
|
], DirectionsToolComponent);
|
|
1211
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1191
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: DirectionsToolComponent, decorators: [{
|
|
1212
1192
|
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
|
|
1193
|
+
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
1194
|
}] });
|
|
1215
1195
|
|
|
1216
1196
|
/**
|
|
@@ -1223,11 +1203,11 @@ class IgoAppDirectionsModule {
|
|
|
1223
1203
|
providers: []
|
|
1224
1204
|
};
|
|
1225
1205
|
}
|
|
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.
|
|
1206
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: IgoAppDirectionsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1207
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.6", ngImport: i0, type: IgoAppDirectionsModule, imports: [DirectionsToolComponent], exports: [DirectionsToolComponent] });
|
|
1208
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: IgoAppDirectionsModule, imports: [DirectionsToolComponent] });
|
|
1229
1209
|
}
|
|
1230
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1210
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: IgoAppDirectionsModule, decorators: [{
|
|
1231
1211
|
type: NgModule,
|
|
1232
1212
|
args: [{
|
|
1233
1213
|
imports: [DirectionsToolComponent],
|
|
@@ -1249,8 +1229,10 @@ class DrawState {
|
|
|
1249
1229
|
this.layersID.forEach((layerId) => {
|
|
1250
1230
|
if (!this.mapState.map.layerController.getById(layerId)) {
|
|
1251
1231
|
const deletedStore = this.stores.find((store) => store.layer.id === layerId);
|
|
1252
|
-
|
|
1253
|
-
|
|
1232
|
+
if (deletedStore) {
|
|
1233
|
+
deletedStore.deleteMany(deletedStore.all());
|
|
1234
|
+
this.stores.splice(this.stores.indexOf(deletedStore, 0), 1);
|
|
1235
|
+
}
|
|
1254
1236
|
this.layersID.splice(this.layersID.indexOf(layerId, 0), 1);
|
|
1255
1237
|
const drawControlIndex = this.drawControls.findIndex((dc) => dc[0] === layerId);
|
|
1256
1238
|
this.drawControls.splice(drawControlIndex, 1);
|
|
@@ -1262,10 +1244,10 @@ class DrawState {
|
|
|
1262
1244
|
store = new FeatureStore([], { map: this.mapState.map });
|
|
1263
1245
|
}
|
|
1264
1246
|
}
|
|
1265
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1266
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
1247
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: DrawState, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1248
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: DrawState, providedIn: 'root' });
|
|
1267
1249
|
}
|
|
1268
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1250
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: DrawState, decorators: [{
|
|
1269
1251
|
type: Injectable,
|
|
1270
1252
|
args: [{
|
|
1271
1253
|
providedIn: 'root'
|
|
@@ -1313,8 +1295,8 @@ let DrawingToolComponent = class DrawingToolComponent {
|
|
|
1313
1295
|
addDrawControls(dc) {
|
|
1314
1296
|
this.drawControls = dc;
|
|
1315
1297
|
}
|
|
1316
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1317
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
1298
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: DrawingToolComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1299
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.6", 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
1300
|
};
|
|
1319
1301
|
DrawingToolComponent = __decorate([
|
|
1320
1302
|
ToolComponent({
|
|
@@ -1323,20 +1305,20 @@ DrawingToolComponent = __decorate([
|
|
|
1323
1305
|
icon: 'stylus_note'
|
|
1324
1306
|
})
|
|
1325
1307
|
], DrawingToolComponent);
|
|
1326
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1308
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: DrawingToolComponent, decorators: [{
|
|
1327
1309
|
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
|
|
1310
|
+
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
1311
|
}] });
|
|
1330
1312
|
|
|
1331
1313
|
/**
|
|
1332
1314
|
* @deprecated import the DrawingToolComponent directly
|
|
1333
1315
|
*/
|
|
1334
1316
|
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.
|
|
1317
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: IgoAppDrawingToolModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1318
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.6", ngImport: i0, type: IgoAppDrawingToolModule, imports: [DrawingToolComponent], exports: [DrawingToolComponent] });
|
|
1319
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: IgoAppDrawingToolModule, imports: [DrawingToolComponent] });
|
|
1338
1320
|
}
|
|
1339
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1321
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: IgoAppDrawingToolModule, decorators: [{
|
|
1340
1322
|
type: NgModule,
|
|
1341
1323
|
args: [{
|
|
1342
1324
|
imports: [DrawingToolComponent],
|
|
@@ -1348,11 +1330,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImpor
|
|
|
1348
1330
|
* @deprecated import the DrawingToolComponent directly
|
|
1349
1331
|
*/
|
|
1350
1332
|
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.
|
|
1333
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: IgoAppDrawModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1334
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.6", ngImport: i0, type: IgoAppDrawModule, exports: [IgoAppDrawingToolModule] });
|
|
1335
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: IgoAppDrawModule, imports: [IgoAppDrawingToolModule] });
|
|
1354
1336
|
}
|
|
1355
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1337
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: IgoAppDrawModule, decorators: [{
|
|
1356
1338
|
type: NgModule,
|
|
1357
1339
|
args: [{
|
|
1358
1340
|
exports: [IgoAppDrawingToolModule]
|
|
@@ -1382,8 +1364,8 @@ let ActiveOgcFilterToolComponent = class ActiveOgcFilterToolComponent {
|
|
|
1382
1364
|
return;
|
|
1383
1365
|
}
|
|
1384
1366
|
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.
|
|
1367
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: ActiveOgcFilterToolComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1368
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.6", 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
1369
|
};
|
|
1388
1370
|
ActiveOgcFilterToolComponent = __decorate([
|
|
1389
1371
|
ToolComponent({
|
|
@@ -1393,9 +1375,9 @@ ActiveOgcFilterToolComponent = __decorate([
|
|
|
1393
1375
|
parent: 'mapTools'
|
|
1394
1376
|
})
|
|
1395
1377
|
], ActiveOgcFilterToolComponent);
|
|
1396
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1378
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: ActiveOgcFilterToolComponent, decorators: [{
|
|
1397
1379
|
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
|
|
1380
|
+
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
1381
|
}] });
|
|
1400
1382
|
|
|
1401
1383
|
function toolSlideInOut(speed = '300ms', type = 'ease-in-out') {
|
|
@@ -1421,8 +1403,8 @@ let ActiveTimeFilterToolComponent = class ActiveTimeFilterToolComponent {
|
|
|
1421
1403
|
return;
|
|
1422
1404
|
}
|
|
1423
1405
|
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.
|
|
1406
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: ActiveTimeFilterToolComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1407
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.6", 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
1408
|
};
|
|
1427
1409
|
ActiveTimeFilterToolComponent = __decorate([
|
|
1428
1410
|
ToolComponent({
|
|
@@ -1432,14 +1414,14 @@ ActiveTimeFilterToolComponent = __decorate([
|
|
|
1432
1414
|
parent: 'mapTools'
|
|
1433
1415
|
})
|
|
1434
1416
|
], ActiveTimeFilterToolComponent);
|
|
1435
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1417
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: ActiveTimeFilterToolComponent, decorators: [{
|
|
1436
1418
|
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
|
|
1419
|
+
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
1420
|
}] });
|
|
1439
1421
|
|
|
1440
1422
|
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.
|
|
1423
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: OgcFilterToolComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1424
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.6", 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
1425
|
};
|
|
1444
1426
|
OgcFilterToolComponent = __decorate([
|
|
1445
1427
|
ToolComponent({
|
|
@@ -1448,9 +1430,9 @@ OgcFilterToolComponent = __decorate([
|
|
|
1448
1430
|
icon: 'filter'
|
|
1449
1431
|
})
|
|
1450
1432
|
], OgcFilterToolComponent);
|
|
1451
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1433
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: OgcFilterToolComponent, decorators: [{
|
|
1452
1434
|
type: Component,
|
|
1453
|
-
args: [{ selector: 'igo-ogc-filter-tool', imports: [OgcFilterableListComponent, OgcFilterableListBindingDirective], template: "<igo-ogc-filterable-list igoOgcFilterableListBinding
|
|
1435
|
+
args: [{ selector: 'igo-ogc-filter-tool', imports: [OgcFilterableListComponent, OgcFilterableListBindingDirective], template: "<igo-ogc-filterable-list igoOgcFilterableListBinding />\n" }]
|
|
1454
1436
|
}] });
|
|
1455
1437
|
|
|
1456
1438
|
/**
|
|
@@ -1461,10 +1443,10 @@ class StorageState {
|
|
|
1461
1443
|
get storageService() {
|
|
1462
1444
|
return this.igoStorageService;
|
|
1463
1445
|
}
|
|
1464
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1465
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
1446
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: StorageState, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1447
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: StorageState, providedIn: 'root' });
|
|
1466
1448
|
}
|
|
1467
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1449
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: StorageState, decorators: [{
|
|
1468
1450
|
type: Injectable,
|
|
1469
1451
|
args: [{
|
|
1470
1452
|
providedIn: 'root'
|
|
@@ -1684,10 +1666,10 @@ class EditionActionsService {
|
|
|
1684
1666
|
});
|
|
1685
1667
|
return getWorkspaceActions(workspace, rowsInMapExtentCheckCondition$, selectOnlyCheckCondition$, this.ogcFilterWidget, this.zoomAuto$, this.maximize$, this.storageService, this.languageService, this.mediaService, this.toolState);
|
|
1686
1668
|
}
|
|
1687
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1688
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
1669
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: EditionActionsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1670
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: EditionActionsService, providedIn: 'root' });
|
|
1689
1671
|
}
|
|
1690
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1672
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: EditionActionsService, decorators: [{
|
|
1691
1673
|
type: Injectable,
|
|
1692
1674
|
args: [{
|
|
1693
1675
|
providedIn: 'root'
|
|
@@ -1732,10 +1714,10 @@ class FeatureActionsService {
|
|
|
1732
1714
|
});
|
|
1733
1715
|
return getWorkspaceActions(workspace, rowsInMapExtentCheckCondition$, selectOnlyCheckCondition$, undefined, this.zoomAuto$, this.maximize$, this.storageService, this.languageService, this.mediaService, this.toolState, this.interactiveSelectionFormWidget);
|
|
1734
1716
|
}
|
|
1735
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1736
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
1717
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: FeatureActionsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1718
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: FeatureActionsService, providedIn: 'root' });
|
|
1737
1719
|
}
|
|
1738
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1720
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: FeatureActionsService, decorators: [{
|
|
1739
1721
|
type: Injectable,
|
|
1740
1722
|
args: [{
|
|
1741
1723
|
providedIn: 'root'
|
|
@@ -1783,10 +1765,10 @@ class WfsActionsService {
|
|
|
1783
1765
|
});
|
|
1784
1766
|
return getWorkspaceActions(workspace, rowsInMapExtentCheckCondition$, selectOnlyCheckCondition$, this.ogcFilterWidget, this.zoomAuto$, this.maximize$, this.storageService, this.languageService, this.mediaService, this.toolState, this.interactiveSelectionFormWidget);
|
|
1785
1767
|
}
|
|
1786
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1787
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
1768
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: WfsActionsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1769
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: WfsActionsService, providedIn: 'root' });
|
|
1788
1770
|
}
|
|
1789
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1771
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: WfsActionsService, decorators: [{
|
|
1790
1772
|
type: Injectable,
|
|
1791
1773
|
args: [{
|
|
1792
1774
|
providedIn: 'root'
|
|
@@ -1801,7 +1783,7 @@ class WorkspaceState {
|
|
|
1801
1783
|
wfsActionsService = inject(WfsActionsService);
|
|
1802
1784
|
editionActionsService = inject(EditionActionsService);
|
|
1803
1785
|
storageService = inject(StorageService);
|
|
1804
|
-
|
|
1786
|
+
expanded = signal(false, ...(ngDevMode ? [{ debugName: "expanded" }] : []));
|
|
1805
1787
|
workspaceEnabled$ = new BehaviorSubject(false);
|
|
1806
1788
|
rowsInMapExtentCheckCondition$ = new BehaviorSubject(true);
|
|
1807
1789
|
selectOnlyCheckCondition$ = new BehaviorSubject(false);
|
|
@@ -1970,10 +1952,10 @@ class WorkspaceState {
|
|
|
1970
1952
|
this.activeWorkspace$$.unsubscribe();
|
|
1971
1953
|
}
|
|
1972
1954
|
}
|
|
1973
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1974
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
1955
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: WorkspaceState, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1956
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: WorkspaceState, providedIn: 'root' });
|
|
1975
1957
|
}
|
|
1976
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1958
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: WorkspaceState, decorators: [{
|
|
1977
1959
|
type: Injectable,
|
|
1978
1960
|
args: [{
|
|
1979
1961
|
providedIn: 'root'
|
|
@@ -1984,7 +1966,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImpor
|
|
|
1984
1966
|
* Tool to apply spatial filter
|
|
1985
1967
|
*/
|
|
1986
1968
|
let SpatialFilterToolComponent = class SpatialFilterToolComponent {
|
|
1987
|
-
matIconRegistry = inject(MatIconRegistry);
|
|
1988
1969
|
spatialFilterService = inject(SpatialFilterService);
|
|
1989
1970
|
layerService = inject(LayerService);
|
|
1990
1971
|
mapState = inject(MapState);
|
|
@@ -1997,30 +1978,31 @@ let SpatialFilterToolComponent = class SpatialFilterToolComponent {
|
|
|
1997
1978
|
get map() {
|
|
1998
1979
|
return this.mapState.map;
|
|
1999
1980
|
}
|
|
2000
|
-
type;
|
|
2001
|
-
itemType = SpatialFilterItemType.
|
|
2002
|
-
freehandDrawIsActive;
|
|
1981
|
+
type = model(undefined, ...(ngDevMode ? [{ debugName: "type" }] : []));
|
|
1982
|
+
itemType = model(SpatialFilterItemType.Thematics, ...(ngDevMode ? [{ debugName: "itemType" }] : []));
|
|
1983
|
+
freehandDrawIsActive = model(undefined, ...(ngDevMode ? [{ debugName: "freehandDrawIsActive" }] : []));
|
|
2003
1984
|
layers = [];
|
|
2004
1985
|
activeLayers = [];
|
|
2005
1986
|
queryType;
|
|
2006
1987
|
thematics;
|
|
2007
|
-
zone;
|
|
2008
|
-
zoneWithBuffer;
|
|
2009
1988
|
buffer = 0;
|
|
2010
1989
|
iterator = 1;
|
|
2011
1990
|
selectedFeature$ = new BehaviorSubject(undefined);
|
|
2012
|
-
format = new olFormatGeoJSON();
|
|
2013
1991
|
store = new EntityStore([]); // Store to print results at the end
|
|
2014
1992
|
spatialListStore = new EntityStore([]);
|
|
2015
1993
|
loading = false;
|
|
2016
1994
|
thematicLength = 0;
|
|
2017
1995
|
measureUnit = MeasureLengthUnit.Meters;
|
|
2018
|
-
unsubscribe$ = new Subject();
|
|
2019
1996
|
defaultStyle;
|
|
1997
|
+
zones = [];
|
|
1998
|
+
unsubscribe$ = new Subject();
|
|
1999
|
+
activePredefinedLayerZones;
|
|
2000
|
+
activeDrawLayerZones;
|
|
2020
2001
|
ngOnInit() {
|
|
2021
2002
|
for (const layer of this.map.layerController.all) {
|
|
2022
2003
|
if (layer.title &&
|
|
2023
|
-
layer.title.includes(this.languageService.translate.instant('igo.geo.spatialFilter.spatialFilter'))
|
|
2004
|
+
layer.title.includes(this.languageService.translate.instant('igo.geo.spatialFilter.spatialFilter')) &&
|
|
2005
|
+
isLayerItem(layer)) {
|
|
2024
2006
|
this.layers.push(layer);
|
|
2025
2007
|
}
|
|
2026
2008
|
}
|
|
@@ -2030,10 +2012,14 @@ let SpatialFilterToolComponent = class SpatialFilterToolComponent {
|
|
|
2030
2012
|
this.unsubscribe$.complete();
|
|
2031
2013
|
}
|
|
2032
2014
|
getOutputType(event) {
|
|
2033
|
-
this.type
|
|
2015
|
+
this.type.set(event);
|
|
2034
2016
|
this.queryType = undefined;
|
|
2035
2017
|
}
|
|
2036
2018
|
getOutputQueryType(event) {
|
|
2019
|
+
if (event !== this.queryType) {
|
|
2020
|
+
this.zones = [];
|
|
2021
|
+
this.activePredefinedLayerZones = undefined;
|
|
2022
|
+
}
|
|
2037
2023
|
this.queryType = event;
|
|
2038
2024
|
if (this.queryType) {
|
|
2039
2025
|
this.loadFilterList();
|
|
@@ -2059,7 +2045,7 @@ let SpatialFilterToolComponent = class SpatialFilterToolComponent {
|
|
|
2059
2045
|
if (!record &&
|
|
2060
2046
|
this.activeLayers.length &&
|
|
2061
2047
|
this.workspaceState.store.all().length > 1) {
|
|
2062
|
-
if (this.itemType === SpatialFilterItemType.Thematics &&
|
|
2048
|
+
if (this.itemType() === SpatialFilterItemType.Thematics &&
|
|
2063
2049
|
this.thematics) {
|
|
2064
2050
|
for (const thematic of this.thematics) {
|
|
2065
2051
|
if (!thematic.zeroResults) {
|
|
@@ -2077,7 +2063,7 @@ let SpatialFilterToolComponent = class SpatialFilterToolComponent {
|
|
|
2077
2063
|
});
|
|
2078
2064
|
}
|
|
2079
2065
|
if (layerToOpenWks) {
|
|
2080
|
-
this.workspaceState.
|
|
2066
|
+
this.workspaceState.expanded.set(true);
|
|
2081
2067
|
this.workspaceState.setActiveWorkspaceById(layerToOpenWks.id);
|
|
2082
2068
|
}
|
|
2083
2069
|
}
|
|
@@ -2124,7 +2110,7 @@ let SpatialFilterToolComponent = class SpatialFilterToolComponent {
|
|
|
2124
2110
|
this.loadThematics();
|
|
2125
2111
|
}
|
|
2126
2112
|
getOutputClearSearch() {
|
|
2127
|
-
this.
|
|
2113
|
+
this.zones = [];
|
|
2128
2114
|
this.queryType = undefined;
|
|
2129
2115
|
}
|
|
2130
2116
|
clearMap() {
|
|
@@ -2133,8 +2119,8 @@ let SpatialFilterToolComponent = class SpatialFilterToolComponent {
|
|
|
2133
2119
|
this.activeLayers = [];
|
|
2134
2120
|
this.thematicLength = 0;
|
|
2135
2121
|
this.iterator = 1;
|
|
2136
|
-
if (this.type === SpatialFilterType.Predefined) {
|
|
2137
|
-
this.
|
|
2122
|
+
if (this.type() === SpatialFilterType.Predefined) {
|
|
2123
|
+
this.zones = [];
|
|
2138
2124
|
this.queryType = undefined;
|
|
2139
2125
|
}
|
|
2140
2126
|
}
|
|
@@ -2142,10 +2128,11 @@ let SpatialFilterToolComponent = class SpatialFilterToolComponent {
|
|
|
2142
2128
|
this.loading = true;
|
|
2143
2129
|
let zeroResults = true;
|
|
2144
2130
|
let thematics;
|
|
2145
|
-
|
|
2146
|
-
|
|
2131
|
+
const type = this.type();
|
|
2132
|
+
if (this.buffer === 0 || type === SpatialFilterType.Point) {
|
|
2133
|
+
this.addFeaturesToMap(this.zones);
|
|
2147
2134
|
}
|
|
2148
|
-
if (this.itemType !== SpatialFilterItemType.Thematics) {
|
|
2135
|
+
if (this.itemType() !== SpatialFilterItemType.Thematics) {
|
|
2149
2136
|
const theme = {
|
|
2150
2137
|
name: ''
|
|
2151
2138
|
};
|
|
@@ -2155,263 +2142,140 @@ let SpatialFilterToolComponent = class SpatialFilterToolComponent {
|
|
|
2155
2142
|
thematics = this.thematics;
|
|
2156
2143
|
}
|
|
2157
2144
|
if (this.measureUnit === MeasureLengthUnit.Kilometers &&
|
|
2158
|
-
|
|
2145
|
+
type !== SpatialFilterType.Point) {
|
|
2159
2146
|
this.buffer = this.buffer * 1000;
|
|
2160
2147
|
}
|
|
2161
|
-
if (
|
|
2148
|
+
if (type === SpatialFilterType.Polygon) {
|
|
2162
2149
|
this.buffer = 0; // to avoid buffer enter a second time in terrAPI
|
|
2163
2150
|
}
|
|
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) {
|
|
2151
|
+
this.spatialFilterService
|
|
2152
|
+
.loadFilterItems(this.zones, this.itemType(), {
|
|
2153
|
+
type: this.queryType,
|
|
2154
|
+
thematics,
|
|
2155
|
+
buffer: this.buffer
|
|
2156
|
+
})
|
|
2157
|
+
.pipe(tap((features) => {
|
|
2158
|
+
this.store.clear();
|
|
2159
|
+
this.workspaceState.store.clear();
|
|
2160
|
+
this.store.insertMany(features);
|
|
2161
|
+
const grouped = this.getFeatureByType(features);
|
|
2162
|
+
grouped.forEach(({ points, lines }) => {
|
|
2163
|
+
if (points.length > 0) {
|
|
2164
|
+
this.tryAddPointToMap(points, points[0].meta.id);
|
|
2165
|
+
}
|
|
2166
|
+
if (lines.length > 0) {
|
|
2167
|
+
this.tryAddLayerToMap(lines, lines[0].meta.id);
|
|
2168
|
+
}
|
|
2169
|
+
});
|
|
2170
|
+
thematics.forEach((thematic) => {
|
|
2171
|
+
const hasFeatures = features.some((f) => f.properties.type === thematic.source);
|
|
2172
|
+
if (hasFeatures) {
|
|
2190
2173
|
zeroResults = false;
|
|
2191
2174
|
this.thematicLength += 1;
|
|
2192
|
-
thematic.zeroResults =
|
|
2193
|
-
this.cdRef.detectChanges();
|
|
2175
|
+
thematic.zeroResults = zeroResults;
|
|
2194
2176
|
}
|
|
2195
2177
|
else {
|
|
2196
2178
|
thematic.zeroResults = true;
|
|
2197
2179
|
}
|
|
2198
|
-
|
|
2199
|
-
|
|
2200
|
-
|
|
2201
|
-
|
|
2202
|
-
|
|
2203
|
-
|
|
2204
|
-
.pipe(takeUntil(this.unsubscribe$))
|
|
2180
|
+
});
|
|
2181
|
+
this.cdRef.detectChanges();
|
|
2182
|
+
if (features.length >= 10000) {
|
|
2183
|
+
this.messageService.alert('igo.geo.spatialFilter.maxSizeAlert', 'igo.geo.spatialFilter.warning', { timeOut: 10000 });
|
|
2184
|
+
}
|
|
2185
|
+
}))
|
|
2205
2186
|
.subscribe(() => {
|
|
2187
|
+
if (this.type() !== SpatialFilterType.Predefined) {
|
|
2188
|
+
this.zones = [];
|
|
2189
|
+
}
|
|
2206
2190
|
this.loading = false;
|
|
2207
2191
|
if (zeroResults) {
|
|
2208
2192
|
this.messageService.alert('igo.geo.spatialFilter.zeroResults', 'igo.geo.spatialFilter.warning', { timeOut: 10000 });
|
|
2209
2193
|
}
|
|
2210
2194
|
});
|
|
2211
2195
|
}
|
|
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
|
-
}
|
|
2196
|
+
getFeatureByType(features) {
|
|
2197
|
+
return features.reduce((grouped, feature) => {
|
|
2198
|
+
const typeKey = feature.properties.type;
|
|
2199
|
+
let group = grouped.get(typeKey);
|
|
2200
|
+
if (!group) {
|
|
2201
|
+
group = { points: [], lines: [] };
|
|
2202
|
+
grouped.set(typeKey, group);
|
|
2244
2203
|
}
|
|
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 = [];
|
|
2204
|
+
if (feature.geometry.type === 'Point') {
|
|
2205
|
+
feature.properties.longitude = feature.geometry.coordinates[0];
|
|
2206
|
+
feature.properties.latitude = feature.geometry.coordinates[1];
|
|
2207
|
+
group.points.push(feature);
|
|
2257
2208
|
}
|
|
2258
|
-
|
|
2259
|
-
|
|
2260
|
-
i++;
|
|
2261
|
-
}
|
|
2209
|
+
else {
|
|
2210
|
+
group.lines.push(feature);
|
|
2262
2211
|
}
|
|
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
|
-
}
|
|
2212
|
+
return grouped;
|
|
2213
|
+
}, new Map());
|
|
2328
2214
|
}
|
|
2329
2215
|
/**
|
|
2330
2216
|
* Try to add point features to the map
|
|
2331
2217
|
* Necessary to create clusters
|
|
2332
2218
|
*/
|
|
2333
2219
|
tryAddPointToMap(features, id) {
|
|
2220
|
+
// 🔑 Get active zone index from its title
|
|
2221
|
+
const activeZone = this.type() === SpatialFilterType.Predefined
|
|
2222
|
+
? this.activePredefinedLayerZones
|
|
2223
|
+
: this.activeDrawLayerZones;
|
|
2224
|
+
let zoneIndex = 1;
|
|
2225
|
+
if (activeZone?.title) {
|
|
2226
|
+
const match = activeZone.title.match(/^Zone (\d+) -/);
|
|
2227
|
+
if (match) {
|
|
2228
|
+
zoneIndex = parseInt(match[1], 10);
|
|
2229
|
+
}
|
|
2230
|
+
}
|
|
2231
|
+
const titleFeature = features[0].meta.title;
|
|
2232
|
+
// Count how many layers with the same meta.title already exist
|
|
2334
2233
|
let i = 1;
|
|
2335
|
-
|
|
2336
|
-
if (
|
|
2337
|
-
|
|
2234
|
+
for (const layer of this.layers) {
|
|
2235
|
+
if (layer.title?.startsWith(titleFeature)) {
|
|
2236
|
+
i++;
|
|
2338
2237
|
}
|
|
2339
|
-
|
|
2340
|
-
|
|
2341
|
-
|
|
2238
|
+
}
|
|
2239
|
+
const style = createOverlayMarkerStyle();
|
|
2240
|
+
// 🔑 Use zoneIndex to sync layer naming
|
|
2241
|
+
const filterLabel = this.languageService.translate.instant('igo.geo.spatialFilter.spatialFilter');
|
|
2242
|
+
const options = {
|
|
2243
|
+
isIgoInternalLayer: true,
|
|
2244
|
+
title: `${titleFeature} ${zoneIndex} - ${filterLabel}`,
|
|
2245
|
+
visible: true,
|
|
2246
|
+
style,
|
|
2247
|
+
sourceOptions: {
|
|
2248
|
+
type: 'cluster',
|
|
2249
|
+
id,
|
|
2250
|
+
queryable: true,
|
|
2251
|
+
distance: 120,
|
|
2252
|
+
meta: {
|
|
2253
|
+
title: 'Cluster'
|
|
2342
2254
|
}
|
|
2343
2255
|
}
|
|
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
|
-
})
|
|
2256
|
+
};
|
|
2257
|
+
this.layerService
|
|
2258
|
+
.createAsyncLayer(options)
|
|
2259
|
+
.pipe(take(1))
|
|
2260
|
+
.subscribe((layer) => {
|
|
2261
|
+
const featuresOl = features.map((feature) => {
|
|
2262
|
+
return featureToOl(feature, this.map.projection);
|
|
2412
2263
|
});
|
|
2264
|
+
const ol = layer.dataSource.ol;
|
|
2265
|
+
ol.getSource().addFeatures(featuresOl);
|
|
2266
|
+
const previousLayer = this.layers.find((prevLayer) => prevLayer.id === layer.id);
|
|
2267
|
+
if (previousLayer) {
|
|
2268
|
+
this.map.layerController.remove(previousLayer);
|
|
2269
|
+
this.layers = this.layers.filter((l) => l.id !== layer.id);
|
|
2270
|
+
i = i - 1;
|
|
2271
|
+
layer.title = `${titleFeature} ${zoneIndex} - ${filterLabel}`;
|
|
2272
|
+
layer.options.title = layer.title;
|
|
2273
|
+
}
|
|
2274
|
+
this.iterator = i;
|
|
2275
|
+
this.map.layerController.add(layer);
|
|
2276
|
+
this.layers.push(layer);
|
|
2277
|
+
this.pushLayer(layer);
|
|
2413
2278
|
});
|
|
2414
|
-
return style;
|
|
2415
2279
|
}
|
|
2416
2280
|
/**
|
|
2417
2281
|
* Try to add line or polygon features to the map
|
|
@@ -2464,19 +2328,9 @@ let SpatialFilterToolComponent = class SpatialFilterToolComponent {
|
|
|
2464
2328
|
this.map.layerController.add(layer);
|
|
2465
2329
|
this.layers.push(layer);
|
|
2466
2330
|
this.pushLayer(layer);
|
|
2467
|
-
this.cdRef.detectChanges();
|
|
2468
2331
|
});
|
|
2469
2332
|
}
|
|
2470
2333
|
}
|
|
2471
|
-
zoomToFeatureExtent(feature) {
|
|
2472
|
-
if (feature) {
|
|
2473
|
-
const olFeature = this.format.readFeature(feature, {
|
|
2474
|
-
dataProjection: feature.projection,
|
|
2475
|
-
featureProjection: this.map.projection
|
|
2476
|
-
});
|
|
2477
|
-
moveToOlFeatures(this.map.viewController, olFeature, FeatureMotion.Zoom);
|
|
2478
|
-
}
|
|
2479
|
-
}
|
|
2480
2334
|
pushLayer(layer) {
|
|
2481
2335
|
for (const lay of this.activeLayers) {
|
|
2482
2336
|
if (lay.id === layer.id) {
|
|
@@ -2485,8 +2339,176 @@ let SpatialFilterToolComponent = class SpatialFilterToolComponent {
|
|
|
2485
2339
|
}
|
|
2486
2340
|
this.activeLayers.push(layer);
|
|
2487
2341
|
}
|
|
2488
|
-
|
|
2489
|
-
|
|
2342
|
+
onAddZone(feature) {
|
|
2343
|
+
const featureList = feature ? [feature] : [];
|
|
2344
|
+
this.zones = [...this.zones, ...featureList];
|
|
2345
|
+
if (!this.zones.length)
|
|
2346
|
+
return;
|
|
2347
|
+
this.addFeaturesToMap(this.zones, false);
|
|
2348
|
+
}
|
|
2349
|
+
onAddZoneWithBuffer(features) {
|
|
2350
|
+
this.zones = Array.isArray(features) ? features : [features];
|
|
2351
|
+
this.addFeaturesToMap(this.zones, true);
|
|
2352
|
+
}
|
|
2353
|
+
onRemovedZone(feature) {
|
|
2354
|
+
const zoneLayer = this.activePredefinedLayerZones;
|
|
2355
|
+
if (!zoneLayer)
|
|
2356
|
+
return;
|
|
2357
|
+
const olSource = zoneLayer.dataSource.ol;
|
|
2358
|
+
// Convert to OL feature (same way as when adding)
|
|
2359
|
+
const featureOl = featureToOl(feature, this.map.projection);
|
|
2360
|
+
// Find matching OL feature(s) by id or geometry
|
|
2361
|
+
const toRemove = olSource.getFeatures().filter((f) => {
|
|
2362
|
+
return f.getId() === featureOl.getId();
|
|
2363
|
+
});
|
|
2364
|
+
if (toRemove.length) {
|
|
2365
|
+
toRemove.forEach((f) => olSource.removeFeature(f));
|
|
2366
|
+
this.zones = this.zones.filter((z) => z.meta.id !== feature.meta.id);
|
|
2367
|
+
}
|
|
2368
|
+
if (olSource.getFeatures().length === 0) {
|
|
2369
|
+
this.map.layerController.remove(zoneLayer);
|
|
2370
|
+
this.layers = this.layers.filter((l) => l !== zoneLayer);
|
|
2371
|
+
this.activeLayers = [];
|
|
2372
|
+
this.activePredefinedLayerZones = undefined;
|
|
2373
|
+
}
|
|
2374
|
+
this.zoomToOlFeatures(olSource.getFeatures());
|
|
2375
|
+
}
|
|
2376
|
+
addFeaturesToMap(features, buffer) {
|
|
2377
|
+
const type = this.type();
|
|
2378
|
+
if (type === SpatialFilterType.Predefined &&
|
|
2379
|
+
this.zonesExistsInLayers() &&
|
|
2380
|
+
!buffer)
|
|
2381
|
+
return;
|
|
2382
|
+
const lastZoneIndex = this.findLastZoneIndex();
|
|
2383
|
+
const zoneLayer = type === SpatialFilterType.Predefined
|
|
2384
|
+
? this.activePredefinedLayerZones
|
|
2385
|
+
: undefined;
|
|
2386
|
+
if (!zoneLayer) {
|
|
2387
|
+
this.defaultStyle = this.createZoneStyle(features[0]);
|
|
2388
|
+
this.createZoneLayer(lastZoneIndex + 1, features).subscribe((layer) => {
|
|
2389
|
+
this.setActiveZoneLayer(layer);
|
|
2390
|
+
this.addFeaturesToLayer(layer, features);
|
|
2391
|
+
this.cdRef.detectChanges();
|
|
2392
|
+
});
|
|
2393
|
+
}
|
|
2394
|
+
else {
|
|
2395
|
+
this.addFeaturesToLayer(zoneLayer, features, buffer);
|
|
2396
|
+
}
|
|
2397
|
+
}
|
|
2398
|
+
zonesExistsInLayers() {
|
|
2399
|
+
if (this.type() !== SpatialFilterType.Predefined)
|
|
2400
|
+
return false;
|
|
2401
|
+
return this.layers
|
|
2402
|
+
.filter((l) => l.title.includes('Zone'))
|
|
2403
|
+
.some((layer) => {
|
|
2404
|
+
const olSource = layer.dataSource.ol;
|
|
2405
|
+
const layerFeatures = olSource.getFeatures();
|
|
2406
|
+
return this.zones.every((zone) => layerFeatures.some((feature) => feature.getId() === zone.meta.id));
|
|
2407
|
+
});
|
|
2408
|
+
}
|
|
2409
|
+
findLastZoneIndex() {
|
|
2410
|
+
let max = 0;
|
|
2411
|
+
for (const layer of this.layers) {
|
|
2412
|
+
if (layer.title?.startsWith('Zone')) {
|
|
2413
|
+
const match = layer.title.match(/^Zone (\d+) -/);
|
|
2414
|
+
if (match) {
|
|
2415
|
+
const index = parseInt(match[1], 10);
|
|
2416
|
+
if (index > max)
|
|
2417
|
+
max = index;
|
|
2418
|
+
}
|
|
2419
|
+
}
|
|
2420
|
+
}
|
|
2421
|
+
return max;
|
|
2422
|
+
}
|
|
2423
|
+
createZoneStyle(feature) {
|
|
2424
|
+
return (_feature, resolution) => {
|
|
2425
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
2426
|
+
const coordinates = feature.coordinates;
|
|
2427
|
+
return new olstyle.Style({
|
|
2428
|
+
image: new olstyle.Circle({
|
|
2429
|
+
radius: coordinates
|
|
2430
|
+
? this.buffer /
|
|
2431
|
+
Math.cos((Math.PI / 180) * coordinates[1]) /
|
|
2432
|
+
resolution
|
|
2433
|
+
: undefined,
|
|
2434
|
+
fill: new olstyle.Fill({ color: 'rgba(200, 200, 20, 0.2)' }),
|
|
2435
|
+
stroke: new olstyle.Stroke({ width: 1, color: 'orange' })
|
|
2436
|
+
}),
|
|
2437
|
+
stroke: new olstyle.Stroke({ width: 1, color: 'orange' }),
|
|
2438
|
+
fill: new olstyle.Fill({ color: 'rgba(200, 200, 20, 0.2)' })
|
|
2439
|
+
});
|
|
2440
|
+
};
|
|
2441
|
+
}
|
|
2442
|
+
createZoneLayer(zoneIndex, features) {
|
|
2443
|
+
const filterLabel = this.languageService.translate.instant('igo.geo.spatialFilter.spatialFilter');
|
|
2444
|
+
const options = {
|
|
2445
|
+
isIgoInternalLayer: true,
|
|
2446
|
+
title: `Zone ${zoneIndex} - ${filterLabel}`,
|
|
2447
|
+
workspace: { enabled: true },
|
|
2448
|
+
_internal: {
|
|
2449
|
+
code: this.type() === SpatialFilterType.Predefined
|
|
2450
|
+
? features[0].properties.code
|
|
2451
|
+
: undefined
|
|
2452
|
+
},
|
|
2453
|
+
sourceOptions: {
|
|
2454
|
+
type: 'vector',
|
|
2455
|
+
queryable: true
|
|
2456
|
+
},
|
|
2457
|
+
visible: true
|
|
2458
|
+
};
|
|
2459
|
+
return this.layerService.createAsyncLayer(options).pipe(take(1));
|
|
2460
|
+
}
|
|
2461
|
+
setActiveZoneLayer(layer) {
|
|
2462
|
+
this.map.layerController.add(layer);
|
|
2463
|
+
this.layers.push(layer);
|
|
2464
|
+
if (this.type() === SpatialFilterType.Predefined) {
|
|
2465
|
+
this.activePredefinedLayerZones = layer;
|
|
2466
|
+
}
|
|
2467
|
+
else {
|
|
2468
|
+
this.activeDrawLayerZones = layer;
|
|
2469
|
+
}
|
|
2470
|
+
this.pushLayer(layer);
|
|
2471
|
+
}
|
|
2472
|
+
addFeaturesToLayer(layer, features, buffer) {
|
|
2473
|
+
const olSource = layer.dataSource.ol;
|
|
2474
|
+
if (buffer)
|
|
2475
|
+
olSource.clear();
|
|
2476
|
+
const featuresOl = features.map((f) => featureToOl(f, this.map.projection));
|
|
2477
|
+
const type = this.type();
|
|
2478
|
+
if (type !== SpatialFilterType.Predefined) {
|
|
2479
|
+
const customType = type === SpatialFilterType.Point ? 'Cercle' : 'Polygone';
|
|
2480
|
+
for (const f of featuresOl) {
|
|
2481
|
+
f.set('nom', 'Zone', true);
|
|
2482
|
+
f.set('type', customType, true);
|
|
2483
|
+
if (type === SpatialFilterType.Point) {
|
|
2484
|
+
this.setPointProps(featuresOl[0], this.map.projectionCode, this.buffer);
|
|
2485
|
+
}
|
|
2486
|
+
}
|
|
2487
|
+
}
|
|
2488
|
+
olSource.addFeatures(featuresOl);
|
|
2489
|
+
layer.ol.setStyle(this.defaultStyle);
|
|
2490
|
+
if (type === SpatialFilterType.Predefined) {
|
|
2491
|
+
this.zoomToOlFeatures(olSource.getFeatures());
|
|
2492
|
+
}
|
|
2493
|
+
}
|
|
2494
|
+
zoomToOlFeatures(featuresOl) {
|
|
2495
|
+
if (!featuresOl.length)
|
|
2496
|
+
return;
|
|
2497
|
+
moveToOlFeatures(this.map.viewController, featuresOl, FeatureMotion.Zoom);
|
|
2498
|
+
}
|
|
2499
|
+
setPointProps(featureOl, projectionCode, radius) {
|
|
2500
|
+
const olGeometry = featureOl.getGeometry();
|
|
2501
|
+
const [longitude, latitude] = transform(olGeometry.getFlatCoordinates(), projectionCode, 'EPSG:4326');
|
|
2502
|
+
const props = {
|
|
2503
|
+
[RADIUS_NAME]: radius,
|
|
2504
|
+
_projection: projectionCode,
|
|
2505
|
+
latitude,
|
|
2506
|
+
longitude
|
|
2507
|
+
};
|
|
2508
|
+
Object.entries(props).forEach(([key, value]) => featureOl.set(key, value, true));
|
|
2509
|
+
}
|
|
2510
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: SpatialFilterToolComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2511
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.6", 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
2512
|
};
|
|
2491
2513
|
SpatialFilterToolComponent = __decorate([
|
|
2492
2514
|
ToolComponent({
|
|
@@ -2498,25 +2520,19 @@ SpatialFilterToolComponent = __decorate([
|
|
|
2498
2520
|
* Spatial Filter Type
|
|
2499
2521
|
*/
|
|
2500
2522
|
], SpatialFilterToolComponent);
|
|
2501
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2523
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: SpatialFilterToolComponent, decorators: [{
|
|
2502
2524
|
type: Component,
|
|
2503
2525
|
args: [{ selector: 'igo-spatial-filter-tool', changeDetection: ChangeDetectionStrategy.OnPush, imports: [
|
|
2504
2526
|
SpatialFilterTypeComponent,
|
|
2505
2527
|
SpatialFilterItemComponent,
|
|
2506
2528
|
FeatureDetailsComponent,
|
|
2507
2529
|
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
|
-
}] } });
|
|
2530
|
+
], 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"] }]
|
|
2531
|
+
}], 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
2532
|
|
|
2517
2533
|
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.
|
|
2534
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: TimeFilterToolComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2535
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.6", 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
2536
|
};
|
|
2521
2537
|
TimeFilterToolComponent = __decorate([
|
|
2522
2538
|
ToolComponent({
|
|
@@ -2525,9 +2541,9 @@ TimeFilterToolComponent = __decorate([
|
|
|
2525
2541
|
icon: 'history'
|
|
2526
2542
|
})
|
|
2527
2543
|
], TimeFilterToolComponent);
|
|
2528
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2544
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: TimeFilterToolComponent, decorators: [{
|
|
2529
2545
|
type: Component,
|
|
2530
|
-
args: [{ selector: 'igo-time-filter-tool', imports: [TimeFilterListComponent, TimeFilterListBindingDirective], template: "<igo-time-filter-list igoTimeFilterListBinding
|
|
2546
|
+
args: [{ selector: 'igo-time-filter-tool', imports: [TimeFilterListComponent, TimeFilterListBindingDirective], template: "<igo-time-filter-list igoTimeFilterListBinding />\n" }]
|
|
2531
2547
|
}] });
|
|
2532
2548
|
|
|
2533
2549
|
/**
|
|
@@ -2540,8 +2556,8 @@ class IgoAppFilterModule {
|
|
|
2540
2556
|
providers: []
|
|
2541
2557
|
};
|
|
2542
2558
|
}
|
|
2543
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
2544
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.
|
|
2559
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: IgoAppFilterModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2560
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.6", ngImport: i0, type: IgoAppFilterModule, imports: [OgcFilterToolComponent,
|
|
2545
2561
|
ActiveOgcFilterToolComponent,
|
|
2546
2562
|
TimeFilterToolComponent,
|
|
2547
2563
|
ActiveTimeFilterToolComponent,
|
|
@@ -2550,13 +2566,13 @@ class IgoAppFilterModule {
|
|
|
2550
2566
|
TimeFilterToolComponent,
|
|
2551
2567
|
ActiveTimeFilterToolComponent,
|
|
2552
2568
|
SpatialFilterToolComponent] });
|
|
2553
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.
|
|
2569
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: IgoAppFilterModule, imports: [OgcFilterToolComponent,
|
|
2554
2570
|
ActiveOgcFilterToolComponent,
|
|
2555
2571
|
TimeFilterToolComponent,
|
|
2556
2572
|
ActiveTimeFilterToolComponent,
|
|
2557
2573
|
SpatialFilterToolComponent] });
|
|
2558
2574
|
}
|
|
2559
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2575
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: IgoAppFilterModule, decorators: [{
|
|
2560
2576
|
type: NgModule,
|
|
2561
2577
|
args: [{
|
|
2562
2578
|
imports: [
|
|
@@ -2585,7 +2601,7 @@ let DataIssueReporterToolComponent = class DataIssueReporterToolComponent {
|
|
|
2585
2601
|
/**
|
|
2586
2602
|
* Url to report the data issue. Use the Post protocol to send the form.
|
|
2587
2603
|
*/
|
|
2588
|
-
url;
|
|
2604
|
+
url = input(undefined, ...(ngDevMode ? [{ debugName: "url" }] : []));
|
|
2589
2605
|
/**
|
|
2590
2606
|
* Map to link to the form
|
|
2591
2607
|
* @internal
|
|
@@ -2700,21 +2716,20 @@ let DataIssueReporterToolComponent = class DataIssueReporterToolComponent {
|
|
|
2700
2716
|
}
|
|
2701
2717
|
onSubmit(data) {
|
|
2702
2718
|
const submitTitle = 'igo.integration.dataIssueReporterTool.submit.title';
|
|
2703
|
-
|
|
2719
|
+
const url = this.url();
|
|
2720
|
+
if (!url) {
|
|
2704
2721
|
this.messageService.alert('igo.integration.dataIssueReporterTool.submit.setupMessage', submitTitle);
|
|
2705
2722
|
alert(JSON.stringify(data));
|
|
2706
2723
|
}
|
|
2707
2724
|
else {
|
|
2708
|
-
this.httpClient
|
|
2709
|
-
.post(this.url, data)
|
|
2710
|
-
.subscribe(() => {
|
|
2725
|
+
this.httpClient.post(url, data).subscribe(() => {
|
|
2711
2726
|
this.messageService.success('igo.integration.dataIssueReporterTool.submit.message', submitTitle);
|
|
2712
2727
|
});
|
|
2713
2728
|
this.clearForm();
|
|
2714
2729
|
}
|
|
2715
2730
|
}
|
|
2716
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
2717
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.
|
|
2731
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: DataIssueReporterToolComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2732
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.6", 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
2733
|
};
|
|
2719
2734
|
DataIssueReporterToolComponent = __decorate([
|
|
2720
2735
|
ToolComponent({
|
|
@@ -2723,27 +2738,25 @@ DataIssueReporterToolComponent = __decorate([
|
|
|
2723
2738
|
icon: 'feedback'
|
|
2724
2739
|
})
|
|
2725
2740
|
], DataIssueReporterToolComponent);
|
|
2726
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2741
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: DataIssueReporterToolComponent, decorators: [{
|
|
2727
2742
|
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
|
-
}] } });
|
|
2743
|
+
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"] }]
|
|
2744
|
+
}], propDecorators: { url: [{ type: i0.Input, args: [{ isSignal: true, alias: "url", required: false }] }] } });
|
|
2732
2745
|
|
|
2733
2746
|
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.
|
|
2747
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: IgoAppGeometryFormModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2748
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.6", ngImport: i0, type: IgoAppGeometryFormModule, declarations: [DataIssueReporterToolComponent], imports: [CommonModule,
|
|
2736
2749
|
MatButtonModule,
|
|
2737
2750
|
IgoLanguageModule,
|
|
2738
2751
|
IgoFormModule,
|
|
2739
2752
|
IgoMessageModule], exports: [DataIssueReporterToolComponent] });
|
|
2740
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.
|
|
2753
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: IgoAppGeometryFormModule, imports: [CommonModule,
|
|
2741
2754
|
MatButtonModule,
|
|
2742
2755
|
IgoLanguageModule,
|
|
2743
2756
|
IgoFormModule,
|
|
2744
2757
|
IgoMessageModule] });
|
|
2745
2758
|
}
|
|
2746
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2759
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: IgoAppGeometryFormModule, decorators: [{
|
|
2747
2760
|
type: NgModule,
|
|
2748
2761
|
args: [{
|
|
2749
2762
|
imports: [
|
|
@@ -2764,8 +2777,8 @@ let ImportExportToolComponent = class ImportExportToolComponent {
|
|
|
2764
2777
|
importExportState = inject(ImportExportState);
|
|
2765
2778
|
workspaceState = inject(WorkspaceState);
|
|
2766
2779
|
contextState = inject(ContextState);
|
|
2767
|
-
projectionsLimitations;
|
|
2768
|
-
selectFirstProj = false;
|
|
2780
|
+
projectionsLimitations = input(undefined, ...(ngDevMode ? [{ debugName: "projectionsLimitations" }] : []));
|
|
2781
|
+
selectFirstProj = input(false, ...(ngDevMode ? [{ debugName: "selectFirstProj" }] : []));
|
|
2769
2782
|
/**
|
|
2770
2783
|
* Map to measure on
|
|
2771
2784
|
* @internal
|
|
@@ -2776,15 +2789,16 @@ let ImportExportToolComponent = class ImportExportToolComponent {
|
|
|
2776
2789
|
get workspaceStore() {
|
|
2777
2790
|
return this.workspaceState.store;
|
|
2778
2791
|
}
|
|
2779
|
-
importExportType = ImportExportType.layer;
|
|
2780
|
-
importExportShowBothType = true;
|
|
2792
|
+
importExportType = model(ImportExportType.layer, ...(ngDevMode ? [{ debugName: "importExportType" }] : []));
|
|
2793
|
+
importExportShowBothType = input(true, ...(ngDevMode ? [{ debugName: "importExportShowBothType" }] : []));
|
|
2781
2794
|
ngOnInit() {
|
|
2782
2795
|
this.selectType();
|
|
2783
2796
|
this.selectMode();
|
|
2784
2797
|
}
|
|
2785
2798
|
selectType() {
|
|
2786
|
-
|
|
2787
|
-
|
|
2799
|
+
const importExportType = this.importExportType();
|
|
2800
|
+
if (importExportType) {
|
|
2801
|
+
this.importExportState.importExportType$.next(importExportType);
|
|
2788
2802
|
}
|
|
2789
2803
|
const userSelectedType = this.importExportState.importExportType$.value;
|
|
2790
2804
|
if (userSelectedType !== undefined) {
|
|
@@ -2810,10 +2824,10 @@ let ImportExportToolComponent = class ImportExportToolComponent {
|
|
|
2810
2824
|
this.importExportState.setsExportOptions(exportOptions);
|
|
2811
2825
|
}
|
|
2812
2826
|
importExportTypeChange(event) {
|
|
2813
|
-
this.importExportType
|
|
2827
|
+
this.importExportType.set(event.value);
|
|
2814
2828
|
}
|
|
2815
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
2816
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.
|
|
2829
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: ImportExportToolComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2830
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.6", 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
2831
|
};
|
|
2818
2832
|
ImportExportToolComponent = __decorate([
|
|
2819
2833
|
ToolComponent({
|
|
@@ -2822,7 +2836,7 @@ ImportExportToolComponent = __decorate([
|
|
|
2822
2836
|
icon: 'file_save'
|
|
2823
2837
|
})
|
|
2824
2838
|
], ImportExportToolComponent);
|
|
2825
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2839
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: ImportExportToolComponent, decorators: [{
|
|
2826
2840
|
type: Component,
|
|
2827
2841
|
args: [{ selector: 'igo-import-export-tool', changeDetection: ChangeDetectionStrategy.OnPush, imports: [
|
|
2828
2842
|
MatTabsModule,
|
|
@@ -2830,16 +2844,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImpor
|
|
|
2830
2844
|
ContextImportExportComponent,
|
|
2831
2845
|
AsyncPipe,
|
|
2832
2846
|
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
|
-
}] } });
|
|
2847
|
+
], 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"] }]
|
|
2848
|
+
}], 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
2849
|
|
|
2844
2850
|
/**
|
|
2845
2851
|
* @deprecated import the ImportExportToolComponent directly
|
|
@@ -2851,11 +2857,11 @@ class IgoAppImportExportModule {
|
|
|
2851
2857
|
providers: []
|
|
2852
2858
|
};
|
|
2853
2859
|
}
|
|
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.
|
|
2860
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: IgoAppImportExportModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2861
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.6", ngImport: i0, type: IgoAppImportExportModule, imports: [ImportExportToolComponent], exports: [ImportExportToolComponent] });
|
|
2862
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: IgoAppImportExportModule, imports: [ImportExportToolComponent] });
|
|
2857
2863
|
}
|
|
2858
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2864
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: IgoAppImportExportModule, decorators: [{
|
|
2859
2865
|
type: NgModule,
|
|
2860
2866
|
args: [{
|
|
2861
2867
|
imports: [ImportExportToolComponent],
|
|
@@ -3240,10 +3246,10 @@ class AdvancedCoordinatesComponent {
|
|
|
3240
3246
|
}
|
|
3241
3247
|
});
|
|
3242
3248
|
}
|
|
3243
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
3244
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.
|
|
3249
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: AdvancedCoordinatesComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3250
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.6", 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
3251
|
}
|
|
3246
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
3252
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: AdvancedCoordinatesComponent, decorators: [{
|
|
3247
3253
|
type: Component,
|
|
3248
3254
|
args: [{ selector: 'igo-advanced-coordinates', imports: [
|
|
3249
3255
|
MatFormFieldModule,
|
|
@@ -3368,10 +3374,10 @@ class AdvancedSwipeComponent {
|
|
|
3368
3374
|
contextEmit() {
|
|
3369
3375
|
this.toolState.toolbox.activateTool('contextManager');
|
|
3370
3376
|
}
|
|
3371
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
3372
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.
|
|
3377
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: AdvancedSwipeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3378
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.6", 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
3379
|
}
|
|
3374
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
3380
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: AdvancedSwipeComponent, decorators: [{
|
|
3375
3381
|
type: Component,
|
|
3376
3382
|
args: [{ selector: 'igo-advanced-swipe', imports: [
|
|
3377
3383
|
FormsModule,
|
|
@@ -3384,7 +3390,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImpor
|
|
|
3384
3390
|
MatListModule,
|
|
3385
3391
|
MatIconModule,
|
|
3386
3392
|
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
|
|
3393
|
+
], 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
3394
|
}], ctorParameters: () => [] });
|
|
3389
3395
|
|
|
3390
3396
|
let AdvancedMapToolComponent = class AdvancedMapToolComponent {
|
|
@@ -3407,8 +3413,8 @@ let AdvancedMapToolComponent = class AdvancedMapToolComponent {
|
|
|
3407
3413
|
}
|
|
3408
3414
|
this.mapState.map.geolocationController.followPosition = value;
|
|
3409
3415
|
}
|
|
3410
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
3411
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
3416
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: AdvancedMapToolComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3417
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.6", 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
3418
|
};
|
|
3413
3419
|
AdvancedMapToolComponent = __decorate([
|
|
3414
3420
|
ToolComponent({
|
|
@@ -3420,7 +3426,7 @@ AdvancedMapToolComponent = __decorate([
|
|
|
3420
3426
|
* Tool to handle the advanced map tools
|
|
3421
3427
|
*/
|
|
3422
3428
|
], AdvancedMapToolComponent);
|
|
3423
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
3429
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: AdvancedMapToolComponent, decorators: [{
|
|
3424
3430
|
type: Component,
|
|
3425
3431
|
args: [{ selector: 'igo-advanced-map-tool', imports: [
|
|
3426
3432
|
AdvancedSwipeComponent,
|
|
@@ -3429,7 +3435,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImpor
|
|
|
3429
3435
|
MatSlideToggleModule,
|
|
3430
3436
|
AsyncPipe,
|
|
3431
3437
|
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
|
|
3438
|
+
], 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
3439
|
}] });
|
|
3434
3440
|
|
|
3435
3441
|
class WorkspaceButtonComponent {
|
|
@@ -3445,7 +3451,7 @@ class WorkspaceButtonComponent {
|
|
|
3445
3451
|
return this._layer;
|
|
3446
3452
|
}
|
|
3447
3453
|
_layer;
|
|
3448
|
-
color = 'primary';
|
|
3454
|
+
color = input('primary', ...(ngDevMode ? [{ debugName: "color" }] : []));
|
|
3449
3455
|
ngOnInit() {
|
|
3450
3456
|
this.hasWorkspace$$ = combineLatest([
|
|
3451
3457
|
this.workspaceState.workspaceEnabled$,
|
|
@@ -3459,18 +3465,18 @@ class WorkspaceButtonComponent {
|
|
|
3459
3465
|
if (this.workspaceState.workspace$.value &&
|
|
3460
3466
|
this.workspaceState.workspace$.value.layer.id ===
|
|
3461
3467
|
this.layer.id &&
|
|
3462
|
-
this.workspaceState.
|
|
3463
|
-
this.workspaceState.
|
|
3468
|
+
this.workspaceState.expanded()) {
|
|
3469
|
+
this.workspaceState.expanded.set(false);
|
|
3464
3470
|
}
|
|
3465
3471
|
else {
|
|
3466
|
-
this.workspaceState.
|
|
3472
|
+
this.workspaceState.expanded.set(true);
|
|
3467
3473
|
this.workspaceState.setActiveWorkspaceById(this.layer.id);
|
|
3468
3474
|
}
|
|
3469
3475
|
}
|
|
3470
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
3471
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.
|
|
3476
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: WorkspaceButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3477
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.6", 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
3478
|
}
|
|
3473
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
3479
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: WorkspaceButtonComponent, decorators: [{
|
|
3474
3480
|
type: Component,
|
|
3475
3481
|
args: [{ selector: 'igo-workspace-button', changeDetection: ChangeDetectionStrategy.OnPush, imports: [
|
|
3476
3482
|
MatButtonModule,
|
|
@@ -3478,12 +3484,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImpor
|
|
|
3478
3484
|
MatIconModule,
|
|
3479
3485
|
AsyncPipe,
|
|
3480
3486
|
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" }]
|
|
3487
|
+
], 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
3488
|
}], propDecorators: { layer: [{
|
|
3483
3489
|
type: Input
|
|
3484
|
-
}], color: [{
|
|
3485
|
-
type: Input
|
|
3486
|
-
}] } });
|
|
3490
|
+
}], color: [{ type: i0.Input, args: [{ isSignal: true, alias: "color", required: false }] }] } });
|
|
3487
3491
|
|
|
3488
3492
|
let MapDetailsToolComponent = class MapDetailsToolComponent {
|
|
3489
3493
|
mapState = inject(MapState);
|
|
@@ -3495,24 +3499,24 @@ let MapDetailsToolComponent = class MapDetailsToolComponent {
|
|
|
3495
3499
|
cdr = inject(ChangeDetectorRef);
|
|
3496
3500
|
isDesktop;
|
|
3497
3501
|
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;
|
|
3502
|
+
toggleLegendOnVisibilityChange = input(false, ...(ngDevMode ? [{ debugName: "toggleLegendOnVisibilityChange" }] : []));
|
|
3503
|
+
expandLegendOfVisibleLayers = input(false, ...(ngDevMode ? [{ debugName: "expandLegendOfVisibleLayers" }] : []));
|
|
3504
|
+
updateLegendOnResolutionChange = input(false, ...(ngDevMode ? [{ debugName: "updateLegendOnResolutionChange" }] : []));
|
|
3505
|
+
ogcButton = input(true, ...(ngDevMode ? [{ debugName: "ogcButton" }] : []));
|
|
3506
|
+
timeButton = input(true, ...(ngDevMode ? [{ debugName: "timeButton" }] : []));
|
|
3507
|
+
layerListControls = input({}, ...(ngDevMode ? [{ debugName: "layerListControls" }] : []));
|
|
3508
|
+
queryBadge = input(false, ...(ngDevMode ? [{ debugName: "queryBadge" }] : []));
|
|
3509
|
+
layerAdditionAllowed = input(true, ...(ngDevMode ? [{ debugName: "layerAdditionAllowed" }] : []));
|
|
3506
3510
|
_layerViewerOptions;
|
|
3507
3511
|
get layerViewerOptions() {
|
|
3508
3512
|
return {
|
|
3509
3513
|
filterAndSortOptions: this.layerFilterAndSortOptions,
|
|
3510
3514
|
legend: {
|
|
3511
|
-
showForVisibleLayers: this.expandLegendOfVisibleLayers,
|
|
3512
|
-
showOnVisibilityChange: this.toggleLegendOnVisibilityChange,
|
|
3513
|
-
updateOnResolutionChange: this.updateLegendOnResolutionChange
|
|
3515
|
+
showForVisibleLayers: this.expandLegendOfVisibleLayers(),
|
|
3516
|
+
showOnVisibilityChange: this.toggleLegendOnVisibilityChange(),
|
|
3517
|
+
updateOnResolutionChange: this.updateLegendOnResolutionChange()
|
|
3514
3518
|
},
|
|
3515
|
-
queryBadge: this.queryBadge,
|
|
3519
|
+
queryBadge: this.queryBadge(),
|
|
3516
3520
|
...this._layerViewerOptions
|
|
3517
3521
|
};
|
|
3518
3522
|
}
|
|
@@ -3523,13 +3527,13 @@ let MapDetailsToolComponent = class MapDetailsToolComponent {
|
|
|
3523
3527
|
return this.map.layerController.all$;
|
|
3524
3528
|
}
|
|
3525
3529
|
get excludeBaseLayers() {
|
|
3526
|
-
return this.layerListControls.excludeBaseLayers || false;
|
|
3530
|
+
return this.layerListControls().excludeBaseLayers || false;
|
|
3527
3531
|
}
|
|
3528
3532
|
get layerFilterAndSortOptions() {
|
|
3529
3533
|
const filterSortOptions = Object.assign({
|
|
3530
3534
|
showToolbar: LayerListControlsEnum.default
|
|
3531
|
-
}, this.layerListControls);
|
|
3532
|
-
switch (this.layerListControls.showToolbar) {
|
|
3535
|
+
}, this.layerListControls());
|
|
3536
|
+
switch (this.layerListControls().showToolbar) {
|
|
3533
3537
|
case LayerListControlsEnum.always:
|
|
3534
3538
|
filterSortOptions.showToolbar = LayerListControlsEnum.always;
|
|
3535
3539
|
break;
|
|
@@ -3592,8 +3596,8 @@ let MapDetailsToolComponent = class MapDetailsToolComponent {
|
|
|
3592
3596
|
this.cdr.detectChanges();
|
|
3593
3597
|
});
|
|
3594
3598
|
}
|
|
3595
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
3596
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.
|
|
3599
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: MapDetailsToolComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3600
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.6", 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
3601
|
};
|
|
3598
3602
|
MapDetailsToolComponent = __decorate([
|
|
3599
3603
|
ToolComponent({
|
|
@@ -3603,7 +3607,7 @@ MapDetailsToolComponent = __decorate([
|
|
|
3603
3607
|
}),
|
|
3604
3608
|
__metadata("design:paramtypes", [])
|
|
3605
3609
|
], MapDetailsToolComponent);
|
|
3606
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
3610
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: MapDetailsToolComponent, decorators: [{
|
|
3607
3611
|
type: Component,
|
|
3608
3612
|
args: [{ selector: 'igo-map-details-tool', imports: [
|
|
3609
3613
|
LayerViewerComponent,
|
|
@@ -3617,24 +3621,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImpor
|
|
|
3617
3621
|
MatIconModule,
|
|
3618
3622
|
AsyncPipe,
|
|
3619
3623
|
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
|
-
}] } });
|
|
3624
|
+
], 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"] }]
|
|
3625
|
+
}], 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
3626
|
|
|
3639
3627
|
let MapLegendToolComponent = class MapLegendToolComponent {
|
|
3640
3628
|
mapState = inject(MapState);
|
|
@@ -3647,11 +3635,11 @@ let MapLegendToolComponent = class MapLegendToolComponent {
|
|
|
3647
3635
|
change$ = new ReplaySubject(1);
|
|
3648
3636
|
resolution$$;
|
|
3649
3637
|
visibleOrInRangeLayers$$;
|
|
3650
|
-
updateLegendOnResolutionChange = false;
|
|
3651
|
-
layerAdditionAllowed = true;
|
|
3652
|
-
allowShowAllLegends = false;
|
|
3653
|
-
showAllLegendsValue = false;
|
|
3654
|
-
layerListControls = {};
|
|
3638
|
+
updateLegendOnResolutionChange = input(false, ...(ngDevMode ? [{ debugName: "updateLegendOnResolutionChange" }] : []));
|
|
3639
|
+
layerAdditionAllowed = input(true, ...(ngDevMode ? [{ debugName: "layerAdditionAllowed" }] : []));
|
|
3640
|
+
allowShowAllLegends = input(false, ...(ngDevMode ? [{ debugName: "allowShowAllLegends" }] : []));
|
|
3641
|
+
showAllLegendsValue = input(false, ...(ngDevMode ? [{ debugName: "showAllLegendsValue" }] : []));
|
|
3642
|
+
layerListControls = input({}, ...(ngDevMode ? [{ debugName: "layerListControls" }] : []));
|
|
3655
3643
|
get map() {
|
|
3656
3644
|
return this.mapState.map;
|
|
3657
3645
|
}
|
|
@@ -3662,7 +3650,7 @@ let MapLegendToolComponent = class MapLegendToolComponent {
|
|
|
3662
3650
|
return this.layers$.pipe(map((layers) => layers.filter((layer) => layer.visible)));
|
|
3663
3651
|
}
|
|
3664
3652
|
get excludeBaseLayers() {
|
|
3665
|
-
return this.layerListControls.excludeBaseLayers || false;
|
|
3653
|
+
return this.layerListControls().excludeBaseLayers || false;
|
|
3666
3654
|
}
|
|
3667
3655
|
get searchToolInToolbar() {
|
|
3668
3656
|
return (this.toolState.toolbox.getToolbar().indexOf('searchResults') !== -1 &&
|
|
@@ -3687,11 +3675,11 @@ let MapLegendToolComponent = class MapLegendToolComponent {
|
|
|
3687
3675
|
this.layers$.next(bunch[0].filter((layer) => layer.showInLayerList !== false &&
|
|
3688
3676
|
(!this.excludeBaseLayers || !isBaseLayer(layer))));
|
|
3689
3677
|
});
|
|
3690
|
-
if (this.allowShowAllLegends) {
|
|
3678
|
+
if (this.allowShowAllLegends()) {
|
|
3691
3679
|
this.mapState.showAllLegendsValue =
|
|
3692
3680
|
this.mapState.showAllLegendsValue !== undefined
|
|
3693
3681
|
? this.mapState.showAllLegendsValue
|
|
3694
|
-
: this.showAllLegendsValue || false;
|
|
3682
|
+
: this.showAllLegendsValue() || false;
|
|
3695
3683
|
this.showAllLegendsValue$.next(this.mapState.showAllLegendsValue);
|
|
3696
3684
|
}
|
|
3697
3685
|
else {
|
|
@@ -3712,7 +3700,7 @@ let MapLegendToolComponent = class MapLegendToolComponent {
|
|
|
3712
3700
|
return false;
|
|
3713
3701
|
}
|
|
3714
3702
|
else if (this.layers$.getValue().length !== 0 &&
|
|
3715
|
-
this.allowShowAllLegends === false) {
|
|
3703
|
+
this.allowShowAllLegends() === false) {
|
|
3716
3704
|
let visibleOrInRangeLayers;
|
|
3717
3705
|
this.visibleOrInRangeLayers$$ = this.visibleOrInRangeLayers$.subscribe((value) => {
|
|
3718
3706
|
visibleOrInRangeLayers = value.length === 0 ? false : true;
|
|
@@ -3738,8 +3726,8 @@ let MapLegendToolComponent = class MapLegendToolComponent {
|
|
|
3738
3726
|
contextEmit() {
|
|
3739
3727
|
this.toolState.toolbox.activateTool('contextManager');
|
|
3740
3728
|
}
|
|
3741
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
3742
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.
|
|
3729
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: MapLegendToolComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3730
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.6", 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
3731
|
};
|
|
3744
3732
|
MapLegendToolComponent = __decorate([
|
|
3745
3733
|
ToolComponent({
|
|
@@ -3748,7 +3736,7 @@ MapLegendToolComponent = __decorate([
|
|
|
3748
3736
|
icon: 'format_list_bulleted'
|
|
3749
3737
|
})
|
|
3750
3738
|
], MapLegendToolComponent);
|
|
3751
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
3739
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: MapLegendToolComponent, decorators: [{
|
|
3752
3740
|
type: Component,
|
|
3753
3741
|
args: [{ selector: 'igo-map-legend-tool', imports: [
|
|
3754
3742
|
LayerLegendListComponent,
|
|
@@ -3757,18 +3745,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImpor
|
|
|
3757
3745
|
MatIconModule,
|
|
3758
3746
|
AsyncPipe,
|
|
3759
3747
|
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
|
-
}] } });
|
|
3748
|
+
], 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"] }]
|
|
3749
|
+
}], 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
3750
|
|
|
3773
3751
|
/**
|
|
3774
3752
|
* Service that holds the state of the direction module
|
|
@@ -3878,7 +3856,7 @@ class MapProximityState {
|
|
|
3878
3856
|
const featureId = uuid();
|
|
3879
3857
|
const projection = this.map.ol.getView().getProjection();
|
|
3880
3858
|
const olGeometry = feature.ol.getGeometry();
|
|
3881
|
-
const geometry = new
|
|
3859
|
+
const geometry = new GeoJSON().writeGeometryObject(olGeometry, {
|
|
3882
3860
|
featureProjection: projection,
|
|
3883
3861
|
dataProjection: projection
|
|
3884
3862
|
});
|
|
@@ -3923,10 +3901,10 @@ class MapProximityState {
|
|
|
3923
3901
|
}
|
|
3924
3902
|
return label;
|
|
3925
3903
|
}
|
|
3926
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
3927
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
3904
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: MapProximityState, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3905
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: MapProximityState, providedIn: 'root' });
|
|
3928
3906
|
}
|
|
3929
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
3907
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: MapProximityState, decorators: [{
|
|
3930
3908
|
type: Injectable,
|
|
3931
3909
|
args: [{
|
|
3932
3910
|
providedIn: 'root'
|
|
@@ -3940,7 +3918,7 @@ let MapProximityToolComponent = class MapProximityToolComponent {
|
|
|
3940
3918
|
languageService = inject(LanguageService);
|
|
3941
3919
|
messageService = inject(MessageService);
|
|
3942
3920
|
subs$$ = [];
|
|
3943
|
-
table;
|
|
3921
|
+
table = viewChild('table', ...(ngDevMode ? [{ debugName: "table" }] : []));
|
|
3944
3922
|
get maxDistance() {
|
|
3945
3923
|
return this.mapProximityState.proximityRadiusValue$.value;
|
|
3946
3924
|
}
|
|
@@ -4015,8 +3993,8 @@ let MapProximityToolComponent = class MapProximityToolComponent {
|
|
|
4015
3993
|
this.messageService.success('igo.integration.map-proximity-tool.copyMsg', 'igo.integration.map-proximity-tool.copyTitle');
|
|
4016
3994
|
}
|
|
4017
3995
|
}
|
|
4018
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
4019
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.
|
|
3996
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: MapProximityToolComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3997
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.6", 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
3998
|
};
|
|
4021
3999
|
MapProximityToolComponent = __decorate([
|
|
4022
4000
|
ToolComponent({
|
|
@@ -4030,7 +4008,7 @@ MapProximityToolComponent = __decorate([
|
|
|
4030
4008
|
,
|
|
4031
4009
|
__metadata("design:paramtypes", [])
|
|
4032
4010
|
], MapProximityToolComponent);
|
|
4033
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
4011
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: MapProximityToolComponent, decorators: [{
|
|
4034
4012
|
type: Component,
|
|
4035
4013
|
args: [{ selector: 'igo-map-proximity-tool', imports: [
|
|
4036
4014
|
EntityTableComponent,
|
|
@@ -4042,11 +4020,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImpor
|
|
|
4042
4020
|
FormsModule,
|
|
4043
4021
|
AsyncPipe,
|
|
4044
4022
|
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
|
-
}] } });
|
|
4023
|
+
], 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"] }]
|
|
4024
|
+
}], ctorParameters: () => [], propDecorators: { table: [{ type: i0.ViewChild, args: ['table', { isSignal: true }] }] } });
|
|
4050
4025
|
|
|
4051
4026
|
/**
|
|
4052
4027
|
* Tool to browse a map's layers or to choose a different map
|
|
@@ -4059,24 +4034,24 @@ let MapToolComponent = class MapToolComponent {
|
|
|
4059
4034
|
mediaService = inject(MediaService);
|
|
4060
4035
|
cdr = inject(ChangeDetectorRef);
|
|
4061
4036
|
isDesktop;
|
|
4062
|
-
toggleLegendOnVisibilityChange = false;
|
|
4063
|
-
expandLegendOfVisibleLayers = false;
|
|
4064
|
-
updateLegendOnResolutionChange = false;
|
|
4065
|
-
ogcButton = true;
|
|
4066
|
-
timeButton = true;
|
|
4067
|
-
layerListControls = {};
|
|
4068
|
-
queryBadge = false;
|
|
4037
|
+
toggleLegendOnVisibilityChange = input(false, ...(ngDevMode ? [{ debugName: "toggleLegendOnVisibilityChange" }] : []));
|
|
4038
|
+
expandLegendOfVisibleLayers = input(false, ...(ngDevMode ? [{ debugName: "expandLegendOfVisibleLayers" }] : []));
|
|
4039
|
+
updateLegendOnResolutionChange = input(false, ...(ngDevMode ? [{ debugName: "updateLegendOnResolutionChange" }] : []));
|
|
4040
|
+
ogcButton = input(true, ...(ngDevMode ? [{ debugName: "ogcButton" }] : []));
|
|
4041
|
+
timeButton = input(true, ...(ngDevMode ? [{ debugName: "timeButton" }] : []));
|
|
4042
|
+
layerListControls = input({}, ...(ngDevMode ? [{ debugName: "layerListControls" }] : []));
|
|
4043
|
+
queryBadge = input(false, ...(ngDevMode ? [{ debugName: "queryBadge" }] : []));
|
|
4069
4044
|
get map() {
|
|
4070
4045
|
return this.mapState.map;
|
|
4071
4046
|
}
|
|
4072
4047
|
get excludeBaseLayers() {
|
|
4073
|
-
return this.layerListControls.excludeBaseLayers || false;
|
|
4048
|
+
return this.layerListControls().excludeBaseLayers || false;
|
|
4074
4049
|
}
|
|
4075
4050
|
get layerFilterAndSortOptions() {
|
|
4076
4051
|
const filterSortOptions = Object.assign({
|
|
4077
4052
|
showToolbar: LayerListControlsEnum.default
|
|
4078
|
-
}, this.layerListControls);
|
|
4079
|
-
switch (this.layerListControls.showToolbar) {
|
|
4053
|
+
}, this.layerListControls());
|
|
4054
|
+
switch (this.layerListControls().showToolbar) {
|
|
4080
4055
|
case LayerListControlsEnum.always:
|
|
4081
4056
|
filterSortOptions.showToolbar = LayerListControlsEnum.always;
|
|
4082
4057
|
break;
|
|
@@ -4093,11 +4068,11 @@ let MapToolComponent = class MapToolComponent {
|
|
|
4093
4068
|
return {
|
|
4094
4069
|
filterAndSortOptions: this.layerFilterAndSortOptions,
|
|
4095
4070
|
legend: {
|
|
4096
|
-
showForVisibleLayers: this.expandLegendOfVisibleLayers,
|
|
4097
|
-
showOnVisibilityChange: this.toggleLegendOnVisibilityChange,
|
|
4098
|
-
updateOnResolutionChange: this.updateLegendOnResolutionChange
|
|
4071
|
+
showForVisibleLayers: this.expandLegendOfVisibleLayers(),
|
|
4072
|
+
showOnVisibilityChange: this.toggleLegendOnVisibilityChange(),
|
|
4073
|
+
updateOnResolutionChange: this.updateLegendOnResolutionChange()
|
|
4099
4074
|
},
|
|
4100
|
-
queryBadge: this.queryBadge,
|
|
4075
|
+
queryBadge: this.queryBadge(),
|
|
4101
4076
|
...this._layerViewerOptions
|
|
4102
4077
|
};
|
|
4103
4078
|
}
|
|
@@ -4125,8 +4100,8 @@ let MapToolComponent = class MapToolComponent {
|
|
|
4125
4100
|
this.cdr.detectChanges();
|
|
4126
4101
|
});
|
|
4127
4102
|
}
|
|
4128
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
4129
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
4103
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: MapToolComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
4104
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.3.6", 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: ["contexts", "selectedContext", "map", "defaultContextId", "term"], outputs: ["selectedContextChange", "select", "unselect", "edit", "delete", "save", "clone", "create", "hide", "show", "showHiddenContexts", "favorite", "managePermissions", "manageTools", "filterPermissionsChanged"] }, { kind: "directive", type: ContextListBindingDirective, selector: "[igoContextListBinding]" }, { kind: "ngmodule", type: IgoLanguageModule }, { kind: "pipe", type: i3$1.TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
4130
4105
|
};
|
|
4131
4106
|
MapToolComponent = __decorate([
|
|
4132
4107
|
ToolComponent({
|
|
@@ -4136,7 +4111,7 @@ MapToolComponent = __decorate([
|
|
|
4136
4111
|
}),
|
|
4137
4112
|
__metadata("design:paramtypes", [])
|
|
4138
4113
|
], MapToolComponent);
|
|
4139
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
4114
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: MapToolComponent, decorators: [{
|
|
4140
4115
|
type: Component,
|
|
4141
4116
|
args: [{ selector: 'igo-map-tool', changeDetection: ChangeDetectionStrategy.OnPush, imports: [
|
|
4142
4117
|
MatTabsModule,
|
|
@@ -4150,22 +4125,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImpor
|
|
|
4150
4125
|
ContextListComponent,
|
|
4151
4126
|
ContextListBindingDirective,
|
|
4152
4127
|
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
|
-
}] } });
|
|
4128
|
+
], 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"] }]
|
|
4129
|
+
}], 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
4130
|
|
|
4170
4131
|
/**
|
|
4171
4132
|
* Tool to browse a map's layers or to choose a different map
|
|
@@ -4185,15 +4146,15 @@ let MapToolsComponent = class MapToolsComponent {
|
|
|
4185
4146
|
resolution$$;
|
|
4186
4147
|
visibleOrInRangeLayers$$;
|
|
4187
4148
|
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;
|
|
4149
|
+
allowShowAllLegends = input(false, ...(ngDevMode ? [{ debugName: "allowShowAllLegends" }] : []));
|
|
4150
|
+
showAllLegendsValue = input(false, ...(ngDevMode ? [{ debugName: "showAllLegendsValue" }] : []));
|
|
4151
|
+
toggleLegendOnVisibilityChange = input(false, ...(ngDevMode ? [{ debugName: "toggleLegendOnVisibilityChange" }] : []));
|
|
4152
|
+
expandLegendOfVisibleLayers = input(false, ...(ngDevMode ? [{ debugName: "expandLegendOfVisibleLayers" }] : []));
|
|
4153
|
+
updateLegendOnResolutionChange = input(false, ...(ngDevMode ? [{ debugName: "updateLegendOnResolutionChange" }] : []));
|
|
4154
|
+
selectedTabAtOpening = input(undefined, ...(ngDevMode ? [{ debugName: "selectedTabAtOpening" }] : []));
|
|
4155
|
+
ogcButton = input(true, ...(ngDevMode ? [{ debugName: "ogcButton" }] : []));
|
|
4156
|
+
timeButton = input(true, ...(ngDevMode ? [{ debugName: "timeButton" }] : []));
|
|
4157
|
+
layerAdditionAllowed = input(true, ...(ngDevMode ? [{ debugName: "layerAdditionAllowed" }] : []));
|
|
4197
4158
|
get layerListControls() {
|
|
4198
4159
|
return this._layerListControls;
|
|
4199
4160
|
}
|
|
@@ -4216,7 +4177,7 @@ let MapToolsComponent = class MapToolsComponent {
|
|
|
4216
4177
|
get map() {
|
|
4217
4178
|
return this.mapState.map;
|
|
4218
4179
|
}
|
|
4219
|
-
queryBadge = false;
|
|
4180
|
+
queryBadge = input(false, ...(ngDevMode ? [{ debugName: "queryBadge" }] : []));
|
|
4220
4181
|
get visibleOrInRangeLayers$() {
|
|
4221
4182
|
return this.layers$.pipe(map((layers) => layers.filter((layer) => layer.displayed)));
|
|
4222
4183
|
}
|
|
@@ -4247,15 +4208,15 @@ let MapToolsComponent = class MapToolsComponent {
|
|
|
4247
4208
|
return {
|
|
4248
4209
|
filterAndSortOptions: this.layerFilterAndSortOptions,
|
|
4249
4210
|
legend: {
|
|
4250
|
-
showForVisibleLayers: this.expandLegendOfVisibleLayers,
|
|
4251
|
-
showOnVisibilityChange: this.toggleLegendOnVisibilityChange,
|
|
4252
|
-
updateOnResolutionChange: this.updateLegendOnResolutionChange
|
|
4211
|
+
showForVisibleLayers: this.expandLegendOfVisibleLayers(),
|
|
4212
|
+
showOnVisibilityChange: this.toggleLegendOnVisibilityChange(),
|
|
4213
|
+
updateOnResolutionChange: this.updateLegendOnResolutionChange()
|
|
4253
4214
|
},
|
|
4254
|
-
queryBadge: this.queryBadge,
|
|
4215
|
+
queryBadge: this.queryBadge(),
|
|
4255
4216
|
...this._layerViewerOptions
|
|
4256
4217
|
};
|
|
4257
4218
|
}
|
|
4258
|
-
tabGroup;
|
|
4219
|
+
tabGroup = viewChild('tabGroup', ...(ngDevMode ? [{ debugName: "tabGroup" }] : []));
|
|
4259
4220
|
get searchToolInToolbar() {
|
|
4260
4221
|
return (this.toolState.toolbox.getToolbar().indexOf('searchResults') !== -1 &&
|
|
4261
4222
|
this.searchSourceService
|
|
@@ -4283,11 +4244,11 @@ let MapToolsComponent = class MapToolsComponent {
|
|
|
4283
4244
|
.subscribe(([layers]) => {
|
|
4284
4245
|
this.layers$.next(layers);
|
|
4285
4246
|
});
|
|
4286
|
-
if (this.allowShowAllLegends) {
|
|
4247
|
+
if (this.allowShowAllLegends()) {
|
|
4287
4248
|
this.mapState.showAllLegendsValue =
|
|
4288
4249
|
this.mapState.showAllLegendsValue !== undefined
|
|
4289
4250
|
? this.mapState.showAllLegendsValue
|
|
4290
|
-
: this.showAllLegendsValue || false;
|
|
4251
|
+
: this.showAllLegendsValue() || false;
|
|
4291
4252
|
this.showAllLegendsValue$.next(this.mapState.showAllLegendsValue);
|
|
4292
4253
|
}
|
|
4293
4254
|
else {
|
|
@@ -4312,7 +4273,7 @@ let MapToolsComponent = class MapToolsComponent {
|
|
|
4312
4273
|
this.layerListToolState.setSelectedTab(userSelectedTab);
|
|
4313
4274
|
}
|
|
4314
4275
|
else {
|
|
4315
|
-
if (this.selectedTabAtOpening === 'legend') {
|
|
4276
|
+
if (this.selectedTabAtOpening() === 'legend') {
|
|
4316
4277
|
this.layerListToolState.setSelectedTab(1);
|
|
4317
4278
|
}
|
|
4318
4279
|
else {
|
|
@@ -4334,7 +4295,7 @@ let MapToolsComponent = class MapToolsComponent {
|
|
|
4334
4295
|
return false;
|
|
4335
4296
|
}
|
|
4336
4297
|
else if (this.layers$.getValue().length !== 0 &&
|
|
4337
|
-
this.allowShowAllLegends === false) {
|
|
4298
|
+
this.allowShowAllLegends() === false) {
|
|
4338
4299
|
let visibleOrInRangeLayers;
|
|
4339
4300
|
this.visibleOrInRangeLayers$$ = this.visibleOrInRangeLayers$.subscribe((value) => {
|
|
4340
4301
|
visibleOrInRangeLayers = value.length === 0 ? false : true;
|
|
@@ -4374,11 +4335,11 @@ let MapToolsComponent = class MapToolsComponent {
|
|
|
4374
4335
|
}
|
|
4375
4336
|
isTimeFilterButton(layer) {
|
|
4376
4337
|
const options = layer.dataSource.options;
|
|
4377
|
-
return this.timeButton && options.timeFilterable && options.timeFilter;
|
|
4338
|
+
return this.timeButton() && options.timeFilterable && options.timeFilter;
|
|
4378
4339
|
}
|
|
4379
4340
|
isOGCFilterButton(layer) {
|
|
4380
4341
|
const options = layer.dataSource.options;
|
|
4381
|
-
return (this.ogcButton &&
|
|
4342
|
+
return (this.ogcButton() &&
|
|
4382
4343
|
options.ogcFilters &&
|
|
4383
4344
|
options.ogcFilters.enabled &&
|
|
4384
4345
|
(options.ogcFilters.pushButtons ||
|
|
@@ -4412,8 +4373,8 @@ let MapToolsComponent = class MapToolsComponent {
|
|
|
4412
4373
|
this.cdr.detectChanges();
|
|
4413
4374
|
});
|
|
4414
4375
|
}
|
|
4415
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
4416
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.4", 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 });
|
|
4376
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: MapToolsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
4377
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.6", 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
4378
|
};
|
|
4418
4379
|
MapToolsComponent = __decorate([
|
|
4419
4380
|
ToolComponent({
|
|
@@ -4423,7 +4384,7 @@ MapToolsComponent = __decorate([
|
|
|
4423
4384
|
}),
|
|
4424
4385
|
__metadata("design:paramtypes", [])
|
|
4425
4386
|
], MapToolsComponent);
|
|
4426
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
4387
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: MapToolsComponent, decorators: [{
|
|
4427
4388
|
type: Component,
|
|
4428
4389
|
args: [{ selector: 'igo-map-tools', changeDetection: ChangeDetectionStrategy.OnPush, imports: [
|
|
4429
4390
|
MatTabsModule,
|
|
@@ -4442,33 +4403,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImpor
|
|
|
4442
4403
|
MatIconModule,
|
|
4443
4404
|
AsyncPipe,
|
|
4444
4405
|
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: [{
|
|
4406
|
+
], 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"] }]
|
|
4407
|
+
}], 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
4408
|
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
|
-
}] } });
|
|
4409
|
+
}], queryBadge: [{ type: i0.Input, args: [{ isSignal: true, alias: "queryBadge", required: false }] }], tabGroup: [{ type: i0.ViewChild, args: ['tabGroup', { isSignal: true }] }] } });
|
|
4472
4410
|
|
|
4473
4411
|
/**
|
|
4474
4412
|
* @deprecated import the ImportExportToolComponent directly or INTEGRATION_MAP_DIRECTIVES for the set
|
|
@@ -4480,8 +4418,8 @@ class IgoAppMapModule {
|
|
|
4480
4418
|
providers: []
|
|
4481
4419
|
};
|
|
4482
4420
|
}
|
|
4483
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
4484
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.
|
|
4421
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: IgoAppMapModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4422
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.6", ngImport: i0, type: IgoAppMapModule, imports: [AdvancedMapToolComponent,
|
|
4485
4423
|
MapProximityToolComponent,
|
|
4486
4424
|
MapToolComponent,
|
|
4487
4425
|
MapToolsComponent,
|
|
@@ -4492,14 +4430,14 @@ class IgoAppMapModule {
|
|
|
4492
4430
|
MapToolsComponent,
|
|
4493
4431
|
MapDetailsToolComponent,
|
|
4494
4432
|
MapLegendToolComponent] });
|
|
4495
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.
|
|
4433
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: IgoAppMapModule, imports: [AdvancedMapToolComponent,
|
|
4496
4434
|
MapProximityToolComponent,
|
|
4497
4435
|
MapToolComponent,
|
|
4498
4436
|
MapToolsComponent,
|
|
4499
4437
|
MapDetailsToolComponent,
|
|
4500
4438
|
MapLegendToolComponent] });
|
|
4501
4439
|
}
|
|
4502
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
4440
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: IgoAppMapModule, decorators: [{
|
|
4503
4441
|
type: NgModule,
|
|
4504
4442
|
args: [{
|
|
4505
4443
|
imports: [
|
|
@@ -4546,10 +4484,10 @@ class MeasureState {
|
|
|
4546
4484
|
}
|
|
4547
4485
|
});
|
|
4548
4486
|
}
|
|
4549
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
4550
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
4487
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: MeasureState, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4488
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: MeasureState, providedIn: 'root' });
|
|
4551
4489
|
}
|
|
4552
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
4490
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: MeasureState, decorators: [{
|
|
4553
4491
|
type: Injectable,
|
|
4554
4492
|
args: [{
|
|
4555
4493
|
providedIn: 'root'
|
|
@@ -4576,8 +4514,8 @@ let MeasurerToolComponent = class MeasurerToolComponent {
|
|
|
4576
4514
|
get map() {
|
|
4577
4515
|
return this.mapState.map;
|
|
4578
4516
|
}
|
|
4579
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
4580
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
4517
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: MeasurerToolComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
4518
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.6", 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
4519
|
};
|
|
4582
4520
|
MeasurerToolComponent = __decorate([
|
|
4583
4521
|
ToolComponent({
|
|
@@ -4586,20 +4524,20 @@ MeasurerToolComponent = __decorate([
|
|
|
4586
4524
|
icon: 'square_foot'
|
|
4587
4525
|
})
|
|
4588
4526
|
], MeasurerToolComponent);
|
|
4589
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
4527
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: MeasurerToolComponent, decorators: [{
|
|
4590
4528
|
type: Component,
|
|
4591
|
-
args: [{ selector: 'igo-measurer-tool', changeDetection: ChangeDetectionStrategy.OnPush, imports: [MeasurerComponent], template: "<igo-measurer [store]=\"store\" [map]=\"map\"
|
|
4529
|
+
args: [{ selector: 'igo-measurer-tool', changeDetection: ChangeDetectionStrategy.OnPush, imports: [MeasurerComponent], template: "<igo-measurer [store]=\"store\" [map]=\"map\" />\n" }]
|
|
4592
4530
|
}] });
|
|
4593
4531
|
|
|
4594
4532
|
/**
|
|
4595
4533
|
* @deprecated import the MeasurerToolComponent directly
|
|
4596
4534
|
*/
|
|
4597
4535
|
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.
|
|
4536
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: IgoAppMeasurerToolModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4537
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.6", ngImport: i0, type: IgoAppMeasurerToolModule, imports: [MeasurerToolComponent], exports: [MeasurerToolComponent] });
|
|
4538
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: IgoAppMeasurerToolModule, imports: [MeasurerToolComponent] });
|
|
4601
4539
|
}
|
|
4602
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
4540
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: IgoAppMeasurerToolModule, decorators: [{
|
|
4603
4541
|
type: NgModule,
|
|
4604
4542
|
args: [{
|
|
4605
4543
|
imports: [MeasurerToolComponent],
|
|
@@ -4611,11 +4549,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImpor
|
|
|
4611
4549
|
* @deprecated import the MeasurerToolComponent directly
|
|
4612
4550
|
*/
|
|
4613
4551
|
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.
|
|
4552
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: IgoAppMeasureModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4553
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.6", ngImport: i0, type: IgoAppMeasureModule, exports: [IgoAppMeasurerToolModule] });
|
|
4554
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: IgoAppMeasureModule, imports: [IgoAppMeasurerToolModule] });
|
|
4617
4555
|
}
|
|
4618
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
4556
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: IgoAppMeasureModule, decorators: [{
|
|
4619
4557
|
type: NgModule,
|
|
4620
4558
|
args: [{
|
|
4621
4559
|
exports: [IgoAppMeasurerToolModule]
|
|
@@ -4627,8 +4565,8 @@ let PrintToolComponent = class PrintToolComponent {
|
|
|
4627
4565
|
get map() {
|
|
4628
4566
|
return this.mapState.map;
|
|
4629
4567
|
}
|
|
4630
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
4631
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
4568
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: PrintToolComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
4569
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.6", 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
4570
|
};
|
|
4633
4571
|
PrintToolComponent = __decorate([
|
|
4634
4572
|
ToolComponent({
|
|
@@ -4637,9 +4575,9 @@ PrintToolComponent = __decorate([
|
|
|
4637
4575
|
icon: 'print'
|
|
4638
4576
|
})
|
|
4639
4577
|
], PrintToolComponent);
|
|
4640
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
4578
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: PrintToolComponent, decorators: [{
|
|
4641
4579
|
type: Component,
|
|
4642
|
-
args: [{ selector: 'igo-print-tool', imports: [PrintComponent], template: "<igo-print [map]=\"map\"
|
|
4580
|
+
args: [{ selector: 'igo-print-tool', imports: [PrintComponent], template: "<igo-print [map]=\"map\" />\n" }]
|
|
4643
4581
|
}] });
|
|
4644
4582
|
|
|
4645
4583
|
/**
|
|
@@ -4652,11 +4590,11 @@ class IgoAppPrintModule {
|
|
|
4652
4590
|
providers: []
|
|
4653
4591
|
};
|
|
4654
4592
|
}
|
|
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.
|
|
4593
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: IgoAppPrintModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4594
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.6", ngImport: i0, type: IgoAppPrintModule, imports: [PrintToolComponent], exports: [PrintToolComponent] });
|
|
4595
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: IgoAppPrintModule, imports: [PrintToolComponent] });
|
|
4658
4596
|
}
|
|
4659
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
4597
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: IgoAppPrintModule, decorators: [{
|
|
4660
4598
|
type: NgModule,
|
|
4661
4599
|
args: [{
|
|
4662
4600
|
imports: [PrintToolComponent],
|
|
@@ -4802,10 +4740,10 @@ class SearchState {
|
|
|
4802
4740
|
this.storageService.set('searchResultsGeometryEnabled', value);
|
|
4803
4741
|
this.searchResultsGeometryEnabled$.next(value);
|
|
4804
4742
|
}
|
|
4805
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
4806
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
4743
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: SearchState, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4744
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: SearchState });
|
|
4807
4745
|
}
|
|
4808
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
4746
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: SearchState, decorators: [{
|
|
4809
4747
|
type: Injectable
|
|
4810
4748
|
}], ctorParameters: () => [] });
|
|
4811
4749
|
|
|
@@ -4851,10 +4789,10 @@ class SearchBarBindingDirective {
|
|
|
4851
4789
|
this.searchState.setSearchType(searchType);
|
|
4852
4790
|
}
|
|
4853
4791
|
}
|
|
4854
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
4855
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
4792
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: SearchBarBindingDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
4793
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.6", type: SearchBarBindingDirective, isStandalone: true, selector: "[igoSearchBarBinding]", host: { listeners: { "searchTermChange": "onSearchTermChange($event)", "searchTypeChange": "onSearchTypeChange($event)" } }, ngImport: i0 });
|
|
4856
4794
|
}
|
|
4857
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
4795
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: SearchBarBindingDirective, decorators: [{
|
|
4858
4796
|
type: Directive,
|
|
4859
4797
|
args: [{
|
|
4860
4798
|
selector: '[igoSearchBarBinding]',
|
|
@@ -4880,11 +4818,11 @@ let SearchResultsToolComponent = class SearchResultsToolComponent {
|
|
|
4880
4818
|
/**
|
|
4881
4819
|
* to show hide results icons
|
|
4882
4820
|
*/
|
|
4883
|
-
showIcons = true;
|
|
4821
|
+
showIcons = input(true, ...(ngDevMode ? [{ debugName: "showIcons" }] : []));
|
|
4884
4822
|
/**
|
|
4885
4823
|
* Determine the top panel default state
|
|
4886
4824
|
*/
|
|
4887
|
-
topPanelStateDefault = 'expanded';
|
|
4825
|
+
topPanelStateDefault = input('expanded', ...(ngDevMode ? [{ debugName: "topPanelStateDefault" }] : []));
|
|
4888
4826
|
hasFeatureEmphasisOnSelection = false;
|
|
4889
4827
|
saveSearchResultInLayer = false;
|
|
4890
4828
|
showResultsGeometries$$;
|
|
@@ -4937,7 +4875,7 @@ let SearchResultsToolComponent = class SearchResultsToolComponent {
|
|
|
4937
4875
|
get termSplitter() {
|
|
4938
4876
|
return this.searchState.searchTermSplitter$.value;
|
|
4939
4877
|
}
|
|
4940
|
-
format = new
|
|
4878
|
+
format = new GeoJSON();
|
|
4941
4879
|
get stores() {
|
|
4942
4880
|
return this.searchState.searchLayerStores;
|
|
4943
4881
|
}
|
|
@@ -5169,7 +5107,7 @@ let SearchResultsToolComponent = class SearchResultsToolComponent {
|
|
|
5169
5107
|
this.tryAddFeatureToMap(result, this.searchState.featureMotion.selected);
|
|
5170
5108
|
this.searchState.setSelectedResult(result);
|
|
5171
5109
|
if (this.topPanelState === 'initial') {
|
|
5172
|
-
if (this.topPanelStateDefault !== 'collapsed') {
|
|
5110
|
+
if (this.topPanelStateDefault() !== 'collapsed') {
|
|
5173
5111
|
this.topPanelState = 'expanded';
|
|
5174
5112
|
}
|
|
5175
5113
|
else {
|
|
@@ -5341,8 +5279,8 @@ let SearchResultsToolComponent = class SearchResultsToolComponent {
|
|
|
5341
5279
|
});
|
|
5342
5280
|
}, 250);
|
|
5343
5281
|
}
|
|
5344
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
5345
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.
|
|
5282
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: SearchResultsToolComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
5283
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.6", 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
5284
|
};
|
|
5347
5285
|
SearchResultsToolComponent = __decorate([
|
|
5348
5286
|
ToolComponent({
|
|
@@ -5352,7 +5290,7 @@ SearchResultsToolComponent = __decorate([
|
|
|
5352
5290
|
}),
|
|
5353
5291
|
__metadata("design:paramtypes", [])
|
|
5354
5292
|
], SearchResultsToolComponent);
|
|
5355
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
5293
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: SearchResultsToolComponent, decorators: [{
|
|
5356
5294
|
type: Component,
|
|
5357
5295
|
args: [{ selector: 'igo-search-results-tool', changeDetection: ChangeDetectionStrategy.OnPush, imports: [
|
|
5358
5296
|
FlexibleComponent,
|
|
@@ -5367,12 +5305,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImpor
|
|
|
5367
5305
|
AsyncPipe,
|
|
5368
5306
|
IgoLanguageModule,
|
|
5369
5307
|
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: [{
|
|
5308
|
+
], 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"] }]
|
|
5309
|
+
}], 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
5310
|
type: Input
|
|
5377
5311
|
}] } });
|
|
5378
5312
|
|
|
@@ -5380,11 +5314,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImpor
|
|
|
5380
5314
|
* @deprecated import the components/directive directly or INTEGRATION_SEARCH_DIRECTIVES for the set
|
|
5381
5315
|
*/
|
|
5382
5316
|
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.
|
|
5317
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: IgoAppSearchModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5318
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.6", ngImport: i0, type: IgoAppSearchModule, imports: [SearchBarBindingDirective, SearchResultsToolComponent], exports: [SearchBarBindingDirective, SearchResultsToolComponent] });
|
|
5319
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: IgoAppSearchModule, imports: [SearchResultsToolComponent] });
|
|
5386
5320
|
}
|
|
5387
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
5321
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: IgoAppSearchModule, decorators: [{
|
|
5388
5322
|
type: NgModule,
|
|
5389
5323
|
args: [{
|
|
5390
5324
|
imports: [SearchBarBindingDirective, SearchResultsToolComponent],
|
|
@@ -5396,11 +5330,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImpor
|
|
|
5396
5330
|
* @deprecated import the WorkspaceButtonComponent directly
|
|
5397
5331
|
*/
|
|
5398
5332
|
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.
|
|
5333
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: IgoAppWorkspaceModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5334
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.6", ngImport: i0, type: IgoAppWorkspaceModule, imports: [WorkspaceButtonComponent], exports: [WorkspaceButtonComponent] });
|
|
5335
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: IgoAppWorkspaceModule, imports: [WorkspaceButtonComponent] });
|
|
5402
5336
|
}
|
|
5403
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
5337
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: IgoAppWorkspaceModule, decorators: [{
|
|
5404
5338
|
type: NgModule,
|
|
5405
5339
|
args: [{
|
|
5406
5340
|
imports: [WorkspaceButtonComponent],
|
|
@@ -5412,8 +5346,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImpor
|
|
|
5412
5346
|
* @deprecated import the components directly
|
|
5413
5347
|
*/
|
|
5414
5348
|
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.
|
|
5349
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: IgoIntegrationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5350
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.6", ngImport: i0, type: IgoIntegrationModule, exports: [IgoAppContextModule,
|
|
5417
5351
|
IgoAppCatalogModule,
|
|
5418
5352
|
IgoAppDirectionsModule,
|
|
5419
5353
|
IgoAppDrawModule,
|
|
@@ -5426,7 +5360,7 @@ class IgoIntegrationModule {
|
|
|
5426
5360
|
IgoAppFilterModule,
|
|
5427
5361
|
IgoAppAboutModule,
|
|
5428
5362
|
IgoAppGeometryFormModule] });
|
|
5429
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.
|
|
5363
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: IgoIntegrationModule, imports: [IgoAppContextModule,
|
|
5430
5364
|
IgoAppCatalogModule,
|
|
5431
5365
|
IgoAppDirectionsModule,
|
|
5432
5366
|
IgoAppDrawModule,
|
|
@@ -5440,7 +5374,7 @@ class IgoIntegrationModule {
|
|
|
5440
5374
|
IgoAppAboutModule,
|
|
5441
5375
|
IgoAppGeometryFormModule] });
|
|
5442
5376
|
}
|
|
5443
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
5377
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: IgoIntegrationModule, decorators: [{
|
|
5444
5378
|
type: NgModule,
|
|
5445
5379
|
args: [{
|
|
5446
5380
|
imports: [],
|
|
@@ -5578,10 +5512,10 @@ class AnalyticsListenerService {
|
|
|
5578
5512
|
});
|
|
5579
5513
|
});
|
|
5580
5514
|
}
|
|
5581
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
5582
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
5515
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: AnalyticsListenerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5516
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: AnalyticsListenerService, providedIn: 'root' });
|
|
5583
5517
|
}
|
|
5584
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
5518
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: AnalyticsListenerService, decorators: [{
|
|
5585
5519
|
type: Injectable,
|
|
5586
5520
|
args: [{
|
|
5587
5521
|
providedIn: 'root'
|
|
@@ -5621,10 +5555,10 @@ class QueryState {
|
|
|
5621
5555
|
const geoPropertiesStrategy = new GeoPropertiesStrategy({ map: this.mapState.map }, this.propertyTypeDetectorService, this.capabilitiesService);
|
|
5622
5556
|
this.store.addStrategy(geoPropertiesStrategy, true);
|
|
5623
5557
|
}
|
|
5624
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
5625
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
5558
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: QueryState, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5559
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: QueryState, providedIn: 'root' });
|
|
5626
5560
|
}
|
|
5627
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
5561
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: QueryState, decorators: [{
|
|
5628
5562
|
type: Injectable,
|
|
5629
5563
|
args: [{
|
|
5630
5564
|
providedIn: 'root'
|
|
@@ -5635,11 +5569,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImpor
|
|
|
5635
5569
|
* @deprecated import the SearchResultsToolComponent directly
|
|
5636
5570
|
*/
|
|
5637
5571
|
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.
|
|
5572
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: IgoAppSearchResultsToolModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5573
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.6", ngImport: i0, type: IgoAppSearchResultsToolModule, imports: [SearchResultsToolComponent], exports: [SearchResultsToolComponent] });
|
|
5574
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: IgoAppSearchResultsToolModule, imports: [SearchResultsToolComponent] });
|
|
5641
5575
|
}
|
|
5642
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
5576
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: IgoAppSearchResultsToolModule, decorators: [{
|
|
5643
5577
|
type: NgModule,
|
|
5644
5578
|
args: [{
|
|
5645
5579
|
imports: [SearchResultsToolComponent],
|
|
@@ -5651,11 +5585,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImpor
|
|
|
5651
5585
|
* @deprecated import the SearchBarBindingDirective directly
|
|
5652
5586
|
*/
|
|
5653
5587
|
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.
|
|
5588
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: IgoAppSearchBarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5589
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.6", ngImport: i0, type: IgoAppSearchBarModule, imports: [SearchBarBindingDirective], exports: [SearchBarBindingDirective] });
|
|
5590
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: IgoAppSearchBarModule });
|
|
5657
5591
|
}
|
|
5658
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
5592
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: IgoAppSearchBarModule, decorators: [{
|
|
5659
5593
|
type: NgModule,
|
|
5660
5594
|
args: [{
|
|
5661
5595
|
imports: [SearchBarBindingDirective],
|