@igo2/context 1.9.0 → 1.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/igo2-context.umd.js +273 -157
- package/bundles/igo2-context.umd.js.map +1 -1
- package/esm2015/lib/context-import-export/context-import-export/context-import-export.component.js +1 -1
- package/esm2015/lib/context-import-export/context-import-export.module.js +1 -1
- package/esm2015/lib/context-import-export/index.js +1 -1
- package/esm2015/lib/context-import-export/shared/context-export.errors.js +1 -1
- package/esm2015/lib/context-import-export/shared/context-export.interface.js +1 -1
- package/esm2015/lib/context-import-export/shared/context-export.service.js +1 -1
- package/esm2015/lib/context-import-export/shared/context-export.utils.js +1 -1
- package/esm2015/lib/context-import-export/shared/context-import.errors.js +1 -1
- package/esm2015/lib/context-import-export/shared/context-import.service.js +1 -1
- package/esm2015/lib/context-import-export/shared/index.js +1 -1
- package/esm2015/lib/context-manager/context-edit/context-edit-binding.directive.js +1 -1
- package/esm2015/lib/context-manager/context-edit/context-edit.component.js +1 -1
- package/esm2015/lib/context-manager/context-edit/index.js +1 -1
- package/esm2015/lib/context-manager/context-form/context-form.component.js +1 -1
- package/esm2015/lib/context-manager/context-form/index.js +1 -1
- package/esm2015/lib/context-manager/context-item/context-item.component.js +1 -1
- package/esm2015/lib/context-manager/context-item/index.js +1 -1
- package/esm2015/lib/context-manager/context-list/context-list-binding.directive.js +1 -1
- package/esm2015/lib/context-manager/context-list/context-list.component.js +1 -1
- package/esm2015/lib/context-manager/context-list/context-list.enum.js +1 -1
- package/esm2015/lib/context-manager/context-list/index.js +1 -1
- package/esm2015/lib/context-manager/context-manager.module.js +1 -1
- package/esm2015/lib/context-manager/context-permissions/context-permissions-binding.directive.js +1 -1
- package/esm2015/lib/context-manager/context-permissions/context-permissions.component.js +1 -1
- package/esm2015/lib/context-manager/context-permissions/index.js +1 -1
- package/esm2015/lib/context-manager/index.js +1 -1
- package/esm2015/lib/context-manager/shared/context.enum.js +1 -1
- package/esm2015/lib/context-manager/shared/context.service.js +16 -17
- package/esm2015/lib/context-manager/shared/index.js +1 -1
- package/esm2015/lib/context-manager/shared/layer-context.directive.js +1 -1
- package/esm2015/lib/context-map-button/bookmark-button/bookmark-button.component.js +1 -1
- package/esm2015/lib/context-map-button/bookmark-button/bookmark-dialog.component.js +1 -1
- package/esm2015/lib/context-map-button/bookmark-button/index.js +1 -1
- package/esm2015/lib/context-map-button/context-map-button.module.js +1 -1
- package/esm2015/lib/context-map-button/index.js +1 -1
- package/esm2015/lib/context-map-button/poi-button/index.js +1 -1
- package/esm2015/lib/context-map-button/poi-button/poi-button.component.js +1 -1
- package/esm2015/lib/context-map-button/poi-button/poi-dialog.component.js +1 -1
- package/esm2015/lib/context-map-button/poi-button/shared/index.js +1 -1
- package/esm2015/lib/context-map-button/poi-button/shared/poi.interface.js +1 -1
- package/esm2015/lib/context-map-button/user-button/index.js +1 -1
- package/esm2015/lib/context-map-button/user-button/user-button.animation.js +1 -1
- package/esm2015/lib/context-map-button/user-button/user-button.component.js +1 -1
- package/esm2015/lib/context.module.js +1 -1
- package/esm2015/lib/share-map/share-map/share-map-url.component.js +147 -69
- package/esm2015/lib/share-map/shared/index.js +1 -1
- package/esm2015/lib/share-map/shared/share-map.service.js +12 -3
- package/esm2015/lib/sidenav/index.js +1 -1
- package/esm2015/lib/sidenav/sidenav.component.js +1 -1
- package/esm2015/lib/sidenav/sidenav.module.js +1 -1
- package/esm2015/public_api.js +1 -1
- package/fesm2015/igo2-context.js +190 -105
- package/fesm2015/igo2-context.js.map +1 -1
- package/lib/context-manager/shared/context.service.d.ts +2 -3
- package/ngcc.config.js +3 -3
- package/package.json +13 -12
package/fesm2015/igo2-context.js
CHANGED
|
@@ -4,9 +4,9 @@ import * as i3$1 from '@angular/material/form-field';
|
|
|
4
4
|
import { MatFormFieldModule } from '@angular/material/form-field';
|
|
5
5
|
import * as i3$2 from '@angular/material/input';
|
|
6
6
|
import { MatInputModule } from '@angular/material/input';
|
|
7
|
-
import * as i7 from '@angular/material/menu';
|
|
7
|
+
import * as i7$1 from '@angular/material/menu';
|
|
8
8
|
import { MatMenuModule } from '@angular/material/menu';
|
|
9
|
-
import * as
|
|
9
|
+
import * as i7 from '@angular/common';
|
|
10
10
|
import { CommonModule } from '@angular/common';
|
|
11
11
|
import * as i5 from '@angular/material/button';
|
|
12
12
|
import { MatButtonModule } from '@angular/material/button';
|
|
@@ -22,7 +22,7 @@ import * as i8 from '@angular/material/checkbox';
|
|
|
22
22
|
import { MatCheckboxModule } from '@angular/material/checkbox';
|
|
23
23
|
import * as i3$4 from '@angular/material/tabs';
|
|
24
24
|
import { MatTabsModule } from '@angular/material/tabs';
|
|
25
|
-
import * as i6$
|
|
25
|
+
import * as i6$2 from '@angular/material/tooltip';
|
|
26
26
|
import { MatTooltipModule } from '@angular/material/tooltip';
|
|
27
27
|
import * as i3 from '@igo2/core';
|
|
28
28
|
import { IgoLanguageModule } from '@igo2/core';
|
|
@@ -43,7 +43,7 @@ import * as i2 from '@igo2/auth';
|
|
|
43
43
|
import { IgoAuthModule } from '@igo2/auth';
|
|
44
44
|
import * as i5$1 from '@igo2/common';
|
|
45
45
|
import { IgoSpinnerModule, ActionStore, ActionbarMode, IgoConfirmDialogModule, IgoStopPropagationModule, IgoListModule, IgoKeyValueModule, IgoCollapsibleModule, IgoActionbarModule, getEntityTitle, IgoPanelModule, IgoFlexibleModule } from '@igo2/common';
|
|
46
|
-
import * as i6$
|
|
46
|
+
import * as i6$1 from '@ngx-translate/core';
|
|
47
47
|
import * as i9$1 from '@angular/material/autocomplete';
|
|
48
48
|
import { MatAutocompleteModule } from '@angular/material/autocomplete';
|
|
49
49
|
import * as i1$2 from '@angular/material/dialog';
|
|
@@ -52,7 +52,7 @@ import * as i9 from '@angular/material/icon';
|
|
|
52
52
|
import { MatIconModule } from '@angular/material/icon';
|
|
53
53
|
import * as i3$3 from '@angular/material/list';
|
|
54
54
|
import { MatListModule } from '@angular/material/list';
|
|
55
|
-
import * as i6$
|
|
55
|
+
import * as i6$3 from '@angular/material/radio';
|
|
56
56
|
import { MatRadioModule } from '@angular/material/radio';
|
|
57
57
|
import * as olproj from 'ol/proj';
|
|
58
58
|
import * as oleasing from 'ol/easing';
|
|
@@ -465,7 +465,8 @@ class ContextService {
|
|
|
465
465
|
getDetails(id) {
|
|
466
466
|
const url = `${this.baseUrl}/contexts/${id}/details`;
|
|
467
467
|
return this.http.get(url).pipe(catchError((res) => {
|
|
468
|
-
|
|
468
|
+
this.handleError(res, id);
|
|
469
|
+
throw res;
|
|
469
470
|
}));
|
|
470
471
|
}
|
|
471
472
|
getDefault() {
|
|
@@ -555,7 +556,8 @@ class ContextService {
|
|
|
555
556
|
typePermission: type
|
|
556
557
|
};
|
|
557
558
|
return this.http.post(url, association).pipe(catchError((res) => {
|
|
558
|
-
|
|
559
|
+
this.handleError(res, undefined, true);
|
|
560
|
+
throw [res]; // TODO Not sure about this.
|
|
559
561
|
}));
|
|
560
562
|
}
|
|
561
563
|
deletePermissionAssociation(contextId, permissionId) {
|
|
@@ -592,10 +594,12 @@ class ContextService {
|
|
|
592
594
|
.filter((t, index, self) => self.findIndex((t2) => t2.name === t.name) === index);
|
|
593
595
|
return resMerge;
|
|
594
596
|
}), catchError((err) => {
|
|
595
|
-
|
|
597
|
+
this.handleError(err, uri);
|
|
598
|
+
throw err;
|
|
596
599
|
}));
|
|
597
600
|
}), catchError((err2) => {
|
|
598
|
-
|
|
601
|
+
this.handleError(err2, uri);
|
|
602
|
+
throw err2;
|
|
599
603
|
}));
|
|
600
604
|
}
|
|
601
605
|
loadContexts(permissions, hidden) {
|
|
@@ -710,7 +714,7 @@ class ContextService {
|
|
|
710
714
|
.sort((a, b) => a.zIndex - b.zIndex);
|
|
711
715
|
}
|
|
712
716
|
else {
|
|
713
|
-
layers = igoMap.layers$.getValue().sort((a, b) => a.zIndex - b.zIndex);
|
|
717
|
+
layers = igoMap.layers$.getValue().filter(lay => !lay.id.includes('WfsWorkspaceTableDest')).sort((a, b) => a.zIndex - b.zIndex);
|
|
714
718
|
}
|
|
715
719
|
let i = 0;
|
|
716
720
|
for (const l of layers) {
|
|
@@ -813,13 +817,11 @@ class ContextService {
|
|
|
813
817
|
});
|
|
814
818
|
}
|
|
815
819
|
else {
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
// }
|
|
822
|
-
// );
|
|
820
|
+
const source = layer.ol.getSource();
|
|
821
|
+
features = writer.writeFeatures(source.getFeatures(), {
|
|
822
|
+
dataProjection: 'EPSG:4326',
|
|
823
|
+
featureProjection: 'EPSG:3857'
|
|
824
|
+
});
|
|
823
825
|
}
|
|
824
826
|
features = JSON.parse(features);
|
|
825
827
|
features.name = layer.options.title;
|
|
@@ -838,9 +840,6 @@ class ContextService {
|
|
|
838
840
|
this.toolbar = toolbar;
|
|
839
841
|
}
|
|
840
842
|
handleContextMessage(context) {
|
|
841
|
-
if (this.contextMessage) {
|
|
842
|
-
this.messageService.remove(this.contextMessage.id);
|
|
843
|
-
}
|
|
844
843
|
if (this.context$.value && context.uri && this.context$.value.uri !== context.uri) {
|
|
845
844
|
this.messageService.removeAllAreNotError();
|
|
846
845
|
}
|
|
@@ -933,7 +932,7 @@ class ContextService {
|
|
|
933
932
|
error.error.title = this.languageService.translate.instant('igo.context.contextManager.errors.addPermissionTitle');
|
|
934
933
|
error.error.message = this.languageService.translate.instant('igo.context.contextManager.errors.addPermission');
|
|
935
934
|
}
|
|
936
|
-
|
|
935
|
+
this.messageService.error(error.error.message, error.error.title);
|
|
937
936
|
}
|
|
938
937
|
handleContextsChange(keepCurrentContext = true) {
|
|
939
938
|
const context = this.context$.value;
|
|
@@ -1226,7 +1225,7 @@ ContextImportExportComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type
|
|
|
1226
1225
|
i0.ɵɵproperty("ngIf", ctx.activeImportExport === "import");
|
|
1227
1226
|
i0.ɵɵadvance(1);
|
|
1228
1227
|
i0.ɵɵproperty("ngIf", ctx.activeImportExport === "export");
|
|
1229
|
-
} }, directives: [i6.MatButtonToggleGroup, i6.MatButtonToggle,
|
|
1228
|
+
} }, directives: [i6.MatButtonToggleGroup, i6.MatButtonToggle, i7.NgIf, i4.ɵNgNoValidate, i4.NgControlStatusGroup, i4.NgForm, i5.MatButton, i5$1.SpinnerComponent, i4.FormGroupDirective, i3$1.MatFormField, i3$1.MatLabel, i4.DefaultValueAccessor, i3$2.MatInput, i4.NgControlStatus, i4.FormControlName, i12.MatSelect, i11.MatOption, i14.MatDivider, i7.NgForOf], pipes: [i6$1.TranslatePipe, i7.AsyncPipe], styles: [".import-export-toggle[_ngcontent-%COMP%]{padding:10px;text-align:center}.import-export-toggle[_ngcontent-%COMP%] mat-button-toggle-group[_ngcontent-%COMP%]{width:100%}.import-export-toggle[_ngcontent-%COMP%] mat-button-toggle-group[_ngcontent-%COMP%] mat-button-toggle[_ngcontent-%COMP%]{width:50%}.igo-input-container[_ngcontent-%COMP%]{padding:10px}.igo-input-container[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%]{width:100%}h4[_ngcontent-%COMP%]{padding:0 5px}.igo-form[_ngcontent-%COMP%]{padding:15px 5px}.igo-form-button-group[_ngcontent-%COMP%]{text-align:center;padding-top:10px}igo-spinner[_ngcontent-%COMP%]{position:absolute;padding-left:10px}"] });
|
|
1230
1229
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ContextImportExportComponent, [{
|
|
1231
1230
|
type: Component,
|
|
1232
1231
|
args: [{
|
|
@@ -1555,7 +1554,7 @@ BookmarkDialogComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Boo
|
|
|
1555
1554
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(10, 10, "igo.common.confirmDialog.confirmBtn"), " ");
|
|
1556
1555
|
i0.ɵɵadvance(3);
|
|
1557
1556
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(13, 12, "igo.common.confirmDialog.cancelBtn"), " ");
|
|
1558
|
-
} }, directives: [i1$2.MatDialogTitle, i1$2.MatDialogContent, i3$1.MatFormField, i3$2.MatInput, i4.DefaultValueAccessor, i4.RequiredValidator, i4.MaxLengthValidator, i4.NgControlStatus, i4.NgModel, i1$2.MatDialogActions, i5.MatButton], pipes: [i6$
|
|
1557
|
+
} }, directives: [i1$2.MatDialogTitle, i1$2.MatDialogContent, i3$1.MatFormField, i3$2.MatInput, i4.DefaultValueAccessor, i4.RequiredValidator, i4.MaxLengthValidator, i4.NgControlStatus, i4.NgModel, i1$2.MatDialogActions, i5.MatButton], pipes: [i6$1.TranslatePipe], encapsulation: 2 });
|
|
1559
1558
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(BookmarkDialogComponent, [{
|
|
1560
1559
|
type: Component,
|
|
1561
1560
|
args: [{
|
|
@@ -1765,7 +1764,7 @@ ContextItemComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Contex
|
|
|
1765
1764
|
i0.ɵɵtextInterpolate(ctx.context.title);
|
|
1766
1765
|
i0.ɵɵadvance(1);
|
|
1767
1766
|
i0.ɵɵproperty("ngIf", ctx.auth.authenticated);
|
|
1768
|
-
} }, directives: [i3$3.MatListItem,
|
|
1767
|
+
} }, directives: [i3$3.MatListItem, i7.NgClass, i7.NgIf, i11.MatLine, i5.MatButton, i3$3.MatListAvatarCssMatStyler, i5$1.StopPropagationDirective, i6$2.MatTooltip, i9.MatIcon, i5$1.CollapseDirective], pipes: [i6$1.TranslatePipe], styles: ["[_nghost-%COMP%]{overflow:hidden}.igo-actions-container[_ngcontent-%COMP%]{flex-shrink:0}.igo-actions-expand-container[_ngcontent-%COMP%]{display:inline-flex}mat-list-item[_ngcontent-%COMP%] .mat-list-item-content .mat-list-text{padding:0}mat-icon.disabled[_ngcontent-%COMP%]{color:#00000061}mat-list-item.mat-list-item-light[_ngcontent-%COMP%] .mat-list-item-content{color:#969696}"], changeDetection: 0 });
|
|
1769
1768
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ContextItemComponent, [{
|
|
1770
1769
|
type: Component,
|
|
1771
1770
|
args: [{
|
|
@@ -2328,7 +2327,7 @@ ContextListComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Contex
|
|
|
2328
2327
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(13, 10, "igo.context.contextManager.showHidden"), " ");
|
|
2329
2328
|
i0.ɵɵadvance(2);
|
|
2330
2329
|
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind1(15, 12, i0.ɵɵpipeBind1(16, 14, ctx.contexts$)));
|
|
2331
|
-
} }, directives: [i5$1.ListComponent,
|
|
2330
|
+
} }, directives: [i5$1.ListComponent, i7.NgIf, i7$1.MatMenu, i7.NgForOf, i8.MatCheckbox, i7$1.MatMenuItem, i3$1.MatFormField, i7.NgClass, i3$2.MatInput, i4.DefaultValueAccessor, i4.NgControlStatus, i4.NgModel, i5.MatButton, i3$1.MatSuffix, i9.MatIcon, i6$2.MatTooltip, i5$1.ActionbarComponent, i7$1.MatMenuTrigger, i5$1.CollapsibleComponent, ContextItemComponent, i5$1.ListItemDirective], pipes: [i6$1.TranslatePipe, i5$1.KeyValuePipe, i7.AsyncPipe], styles: [".context-filter-max-width[_ngcontent-%COMP%]{width:calc(100% - 100px);margin:5px;padding-left:6px}.context-filter-min-width[_ngcontent-%COMP%]{width:calc(100% - 135px);margin:5px;padding-left:6px}.clear-button[_ngcontent-%COMP%]{padding-right:5px}mat-form-field[_ngcontent-%COMP%]{height:40px}.profilsMenu[_ngcontent-%COMP%]{display:flex}.profilsMenu[_ngcontent-%COMP%] > mat-checkbox[_ngcontent-%COMP%]{width:8px}.add-context-button[_ngcontent-%COMP%]{margin:0;width:40px;display:inline-flex}"], changeDetection: 0 });
|
|
2332
2331
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ContextListComponent, [{
|
|
2333
2332
|
type: Component,
|
|
2334
2333
|
args: [{
|
|
@@ -2737,7 +2736,7 @@ ContextFormComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Contex
|
|
|
2737
2736
|
i0.ɵɵproperty("disabled", !ctx.form.valid || ctx.disabled);
|
|
2738
2737
|
i0.ɵɵadvance(1);
|
|
2739
2738
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(18, 16, "igo.context.contextManager.form.edit"), " ");
|
|
2740
|
-
} }, directives: [i4.ɵNgNoValidate, i4.NgControlStatusGroup, i4.FormGroupDirective, i3$1.MatFormField, i3$2.MatInput, i4.DefaultValueAccessor, i4.RequiredValidator, i4.MaxLengthValidator, i4.NgControlStatus, i4.FormControlName, i3$1.MatError,
|
|
2739
|
+
} }, directives: [i4.ɵNgNoValidate, i4.NgControlStatusGroup, i4.FormGroupDirective, i3$1.MatFormField, i3$2.MatInput, i4.DefaultValueAccessor, i4.RequiredValidator, i4.MaxLengthValidator, i4.NgControlStatus, i4.FormControlName, i3$1.MatError, i7.NgIf, i5.MatButton, i6$2.MatTooltip, i9.MatIcon], pipes: [i6$1.TranslatePipe], styles: ["form[_ngcontent-%COMP%]{margin:10px}.full-width[_ngcontent-%COMP%]{width:100%}#uriInput[_ngcontent-%COMP%] .fieldWrapper[_ngcontent-%COMP%]{display:block;overflow:hidden}#uriInput[_ngcontent-%COMP%] .prefix[_ngcontent-%COMP%]{float:left}#copyButton[_ngcontent-%COMP%]{width:24px;float:right;position:relative;top:-58px;left:5px}"] });
|
|
2741
2740
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ContextFormComponent, [{
|
|
2742
2741
|
type: Component,
|
|
2743
2742
|
args: [{
|
|
@@ -2790,7 +2789,7 @@ ContextEditComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Contex
|
|
|
2790
2789
|
i0.ɵɵtemplate(0, ContextEditComponent_igo_context_form_0_Template, 2, 4, "igo-context-form", 0);
|
|
2791
2790
|
} if (rf & 2) {
|
|
2792
2791
|
i0.ɵɵproperty("ngIf", ctx.context);
|
|
2793
|
-
} }, directives: [
|
|
2792
|
+
} }, directives: [i7.NgIf, ContextFormComponent], pipes: [i6$1.TranslatePipe], encapsulation: 2 });
|
|
2794
2793
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ContextEditComponent, [{
|
|
2795
2794
|
type: Component,
|
|
2796
2795
|
args: [{
|
|
@@ -3135,7 +3134,7 @@ ContextPermissionsComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type:
|
|
|
3135
3134
|
i0.ɵɵtemplate(0, ContextPermissionsComponent_div_0_Template, 5, 4, "div", 0);
|
|
3136
3135
|
} if (rf & 2) {
|
|
3137
3136
|
i0.ɵɵproperty("ngIf", ctx.context);
|
|
3138
|
-
} }, directives: [
|
|
3137
|
+
} }, directives: [i7.NgIf, i6$3.MatRadioGroup, i4.NgControlStatus, i4.NgModel, i6$3.MatRadioButton, i4.ɵNgNoValidate, i4.NgControlStatusGroup, i4.FormGroupDirective, i3$1.MatFormField, i3$2.MatInput, i4.DefaultValueAccessor, i9$1.MatAutocompleteTrigger, i4.RequiredValidator, i4.FormControlDirective, i9$1.MatAutocomplete, i7.NgForOf, i3$1.MatError, i4.FormControlName, i5.MatButton, i11.MatOption, i5$1.ListComponent, i5$1.CollapsibleComponent, i3$3.MatListItem, i9.MatIcon, i3$3.MatListAvatarCssMatStyler, i11.MatLine, i5$1.StopPropagationDirective, i6$2.MatTooltip], pipes: [i6$1.TranslatePipe, i5$1.KeyValuePipe], styles: ["[_nghost-%COMP%]{margin:10px}.full-width[_ngcontent-%COMP%]{width:100%}mat-radio-button[_ngcontent-%COMP%]{padding:14px 14px 14px 0}.scopeForm[_ngcontent-%COMP%], form[_ngcontent-%COMP%]{padding:5px}mat-option[_ngcontent-%COMP%] .mat-option-text{line-height:normal;line-height:initial}"] });
|
|
3139
3138
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ContextPermissionsComponent, [{
|
|
3140
3139
|
type: Component,
|
|
3141
3140
|
args: [{
|
|
@@ -3319,7 +3318,7 @@ BookmarkButtonComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Boo
|
|
|
3319
3318
|
} if (rf & 2) {
|
|
3320
3319
|
i0.ɵɵadvance(1);
|
|
3321
3320
|
i0.ɵɵproperty("matTooltip", i0.ɵɵpipeBind1(2, 2, "igo.context.bookmarkButton.create"))("color", ctx.color);
|
|
3322
|
-
} }, directives: [i5.MatButton, i6$
|
|
3321
|
+
} }, directives: [i5.MatButton, i6$2.MatTooltip, i9.MatIcon], pipes: [i6$1.TranslatePipe], styles: [".igo-bookmark-button-container[_ngcontent-%COMP%]{width:40px}.igo-bookmark-button-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{background-color:#fff}.igo-bookmark-button-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:hover{background-color:#efefef}button[_ngcontent-%COMP%], [_nghost-%COMP%] button .mat-button-ripple-round{border-radius:0}"] });
|
|
3323
3322
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(BookmarkButtonComponent, [{
|
|
3324
3323
|
type: Component,
|
|
3325
3324
|
args: [{
|
|
@@ -3375,7 +3374,7 @@ PoiDialogComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoiDialo
|
|
|
3375
3374
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(10, 10, "igo.common.confirmDialog.confirmBtn"), " ");
|
|
3376
3375
|
i0.ɵɵadvance(3);
|
|
3377
3376
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(13, 12, "igo.common.confirmDialog.cancelBtn"), " ");
|
|
3378
|
-
} }, directives: [i1$2.MatDialogTitle, i1$2.MatDialogContent, i3$1.MatFormField, i3$2.MatInput, i4.DefaultValueAccessor, i4.RequiredValidator, i4.NgControlStatus, i4.NgModel, i1$2.MatDialogActions, i5.MatButton], pipes: [i6$
|
|
3377
|
+
} }, directives: [i1$2.MatDialogTitle, i1$2.MatDialogContent, i3$1.MatFormField, i3$2.MatInput, i4.DefaultValueAccessor, i4.RequiredValidator, i4.NgControlStatus, i4.NgModel, i1$2.MatDialogActions, i5.MatButton], pipes: [i6$1.TranslatePipe], encapsulation: 2 });
|
|
3379
3378
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoiDialogComponent, [{
|
|
3380
3379
|
type: Component,
|
|
3381
3380
|
args: [{
|
|
@@ -3557,7 +3556,7 @@ PoiButtonComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoiButto
|
|
|
3557
3556
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(5, 5, "igo.context.poiButton.create"));
|
|
3558
3557
|
i0.ɵɵadvance(4);
|
|
3559
3558
|
i0.ɵɵproperty("ngForOf", ctx.pois);
|
|
3560
|
-
} }, directives: [i12.MatSelect, i11.MatOption, i5.MatButton, i5$1.StopPropagationDirective, i9.MatIcon,
|
|
3559
|
+
} }, directives: [i12.MatSelect, i11.MatOption, i5.MatButton, i5$1.StopPropagationDirective, i9.MatIcon, i7.NgForOf], pipes: [i6$1.TranslatePipe], styles: ["mat-select[_ngcontent-%COMP%]{width:150px;background-color:#fff;height:40px;padding-top:0}mat-select[_ngcontent-%COMP%] .mat-select-trigger{height:40px}mat-select[_ngcontent-%COMP%] .mat-select-value-text, mat-select[_ngcontent-%COMP%] .mat-select-placeholder{padding:5px;top:12px;position:relative}.mat-option[_ngcontent-%COMP%]{text-overflow:inherit}.titlePoi[_ngcontent-%COMP%]{max-width:135px;overflow:hidden;text-overflow:ellipsis;float:left}.buttonPoi[_ngcontent-%COMP%]{float:right;margin:4px -10px 4px 0}.buttonPoi[_ngcontent-%COMP%] .mat-icon{margin:0 8px}"] });
|
|
3561
3560
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoiButtonComponent, [{
|
|
3562
3561
|
type: Component,
|
|
3563
3562
|
args: [{
|
|
@@ -3627,7 +3626,7 @@ UserDialogComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: UserDia
|
|
|
3627
3626
|
i0.ɵɵtextInterpolate2("", i0.ɵɵpipeBind1(12, 14, "igo.context.userButton.dialog.expiration"), ": ", ctx.exp, "");
|
|
3628
3627
|
i0.ɵɵadvance(3);
|
|
3629
3628
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(15, 16, "igo.context.userButton.dialog.clearPreferences"), " ");
|
|
3630
|
-
} }, directives: [i1$2.MatDialogTitle, i1$2.MatDialogContent, i5.MatButton, i1$2.MatDialogActions], pipes: [i6$
|
|
3629
|
+
} }, directives: [i1$2.MatDialogTitle, i1$2.MatDialogContent, i5.MatButton, i1$2.MatDialogActions], pipes: [i6$1.TranslatePipe], encapsulation: 2 });
|
|
3631
3630
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(UserDialogComponent, [{
|
|
3632
3631
|
type: Component,
|
|
3633
3632
|
args: [{
|
|
@@ -3736,7 +3735,7 @@ UserButtonComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: UserBut
|
|
|
3736
3735
|
i0.ɵɵtemplate(0, UserButtonComponent_div_0_Template, 11, 11, "div", 0);
|
|
3737
3736
|
} if (rf & 2) {
|
|
3738
3737
|
i0.ɵɵproperty("ngIf", ctx.visible);
|
|
3739
|
-
} }, directives: [
|
|
3738
|
+
} }, directives: [i7.NgIf, i5.MatButton, i6$2.MatTooltip, i9.MatIcon, PoiButtonComponent], pipes: [i6$1.TranslatePipe], styles: [".igo-user-button-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{background-color:#fff}.igo-user-button-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:hover{background-color:#efefef}@media only screen and (orientation:portrait) and (max-width: 599px),only screen and (orientation:landscape) and (max-width: 959px){.igo-user-button-container[_ngcontent-%COMP%] > button[_ngcontent-%COMP%]{position:absolute;bottom:0}}.igo-user-button-more-container[_ngcontent-%COMP%]{float:left;height:40px}.igo-user-button-more-container[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{margin-right:2px;float:left}@media only screen and (orientation:portrait) and (max-width: 599px),only screen and (orientation:landscape) and (max-width: 959px){.igo-user-button-more-container[_ngcontent-%COMP%]{height:80px;width:150px;position:relative;left:24px}}button[_ngcontent-%COMP%], [_nghost-%COMP%] button .mat-button-ripple-round{border-radius:0}"], data: { animation: [userButtonSlideInOut()] } });
|
|
3740
3739
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(UserButtonComponent, [{
|
|
3741
3740
|
type: Component,
|
|
3742
3741
|
args: [{
|
|
@@ -4056,11 +4055,14 @@ class ShareMapService {
|
|
|
4056
4055
|
const addedLayersByService = [];
|
|
4057
4056
|
for (const layer of layers.filter(l => { var _a; return ((_a = l.dataSource.options) === null || _a === void 0 ? void 0 : _a.type) === typeService; })) {
|
|
4058
4057
|
if (contextLayersID.indexOf(layer.id) === -1) {
|
|
4059
|
-
|
|
4058
|
+
let linkUrl = encodeURIComponent(layer.dataSource.options.url);
|
|
4060
4059
|
let addedLayer = '';
|
|
4060
|
+
let layerVersion;
|
|
4061
4061
|
switch (layer.dataSource.options.type.toLowerCase()) {
|
|
4062
4062
|
case 'wms':
|
|
4063
|
-
|
|
4063
|
+
const datasourceOptions = layer.dataSource.options;
|
|
4064
|
+
addedLayer = encodeURIComponent(datasourceOptions.params.LAYERS);
|
|
4065
|
+
layerVersion = datasourceOptions.params.VERSION === '1.3.0' ? layerVersion : datasourceOptions.params.VERSION;
|
|
4064
4066
|
break;
|
|
4065
4067
|
case 'wmts':
|
|
4066
4068
|
case 'arcgisrest':
|
|
@@ -4070,6 +4072,12 @@ class ShareMapService {
|
|
|
4070
4072
|
break;
|
|
4071
4073
|
}
|
|
4072
4074
|
const addedLayerPosition = `${addedLayer}:igoz${layer.zIndex}`;
|
|
4075
|
+
let version = '';
|
|
4076
|
+
if (layerVersion) {
|
|
4077
|
+
const operator = layer.dataSource.options.url.indexOf('?') === -1 ? '?' : '&';
|
|
4078
|
+
version = encodeURIComponent(`${operator}VERSION=${layerVersion}`);
|
|
4079
|
+
}
|
|
4080
|
+
linkUrl = `${linkUrl}${version}`;
|
|
4073
4081
|
if (!addedLayersByService.find(definedUrl => definedUrl.url === linkUrl)) {
|
|
4074
4082
|
addedLayersByService.push({
|
|
4075
4083
|
url: linkUrl,
|
|
@@ -4316,7 +4324,7 @@ ShareMapApiComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ShareM
|
|
|
4316
4324
|
i0.ɵɵproperty("ngIf", ctx.url);
|
|
4317
4325
|
i0.ɵɵadvance(1);
|
|
4318
4326
|
i0.ɵɵproperty("ngIf", ctx.url);
|
|
4319
|
-
} }, directives: [i4.ɵNgNoValidate, i4.NgControlStatusGroup, i4.FormGroupDirective, i3$1.MatFormField, i3$2.MatInput, i4.DefaultValueAccessor, i4.RequiredValidator, i4.NgControlStatus, i4.FormControlName, i3$1.MatError,
|
|
4327
|
+
} }, directives: [i4.ɵNgNoValidate, i4.NgControlStatusGroup, i4.FormGroupDirective, i3$1.MatFormField, i3$2.MatInput, i4.DefaultValueAccessor, i4.RequiredValidator, i4.NgControlStatus, i4.FormControlName, i3$1.MatError, i7.NgIf, i5.MatButton, i6$2.MatTooltip, i9.MatIcon], pipes: [i6$1.TranslatePipe], styles: ["@charset \"UTF-8\";mat-form-field[_ngcontent-%COMP%]{width:100%}#uriInput[_ngcontent-%COMP%] .fieldWrapper[_ngcontent-%COMP%]{display:block;overflow:hidden}#uriInput[_ngcontent-%COMP%] .prefix[_ngcontent-%COMP%]{float:left}.linkToShare\\a0[_ngcontent-%COMP%] {padding:25px 5px 5px}.linkToShare\\a0[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]{resize:none;width:100%;line-height:1.3;height:40px;overflow-y:hidden;word-wrap:normal;word-break:break-all}.linkToShare\\a0[_ngcontent-%COMP%] textarea.textAreaWithButton[_ngcontent-%COMP%]{width:calc(100% - 60px)}.linkToShare\\a0[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%] > button[_ngcontent-%COMP%]{float:right;margin:-10px 0}.igo-form[_ngcontent-%COMP%]{padding:20px 5px 5px}.igo-form-button-group[_ngcontent-%COMP%]{text-align:center;padding-top:10px}"] });
|
|
4320
4328
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ShareMapApiComponent, [{
|
|
4321
4329
|
type: Component,
|
|
4322
4330
|
args: [{
|
|
@@ -4328,6 +4336,105 @@ ShareMapApiComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ShareM
|
|
|
4328
4336
|
type: Input
|
|
4329
4337
|
}] }); })();
|
|
4330
4338
|
|
|
4339
|
+
function ShareMapUrlComponent_h4_13_Template(rf, ctx) { if (rf & 1) {
|
|
4340
|
+
i0.ɵɵelementStart(0, "h4");
|
|
4341
|
+
i0.ɵɵtext(1);
|
|
4342
|
+
i0.ɵɵpipe(2, "translate");
|
|
4343
|
+
i0.ɵɵelementEnd();
|
|
4344
|
+
} if (rf & 2) {
|
|
4345
|
+
i0.ɵɵadvance(1);
|
|
4346
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, "igo.context.shareMap.included"));
|
|
4347
|
+
} }
|
|
4348
|
+
function ShareMapUrlComponent_li_16_Template(rf, ctx) { if (rf & 1) {
|
|
4349
|
+
i0.ɵɵelementStart(0, "li");
|
|
4350
|
+
i0.ɵɵtext(1);
|
|
4351
|
+
i0.ɵɵpipe(2, "translate");
|
|
4352
|
+
i0.ɵɵelementEnd();
|
|
4353
|
+
} if (rf & 2) {
|
|
4354
|
+
i0.ɵɵadvance(1);
|
|
4355
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, "igo.context.shareMap.context"));
|
|
4356
|
+
} }
|
|
4357
|
+
function ShareMapUrlComponent_li_18_Template(rf, ctx) { if (rf & 1) {
|
|
4358
|
+
i0.ɵɵelementStart(0, "li");
|
|
4359
|
+
i0.ɵɵtext(1);
|
|
4360
|
+
i0.ɵɵpipe(2, "translate");
|
|
4361
|
+
i0.ɵɵelementEnd();
|
|
4362
|
+
} if (rf & 2) {
|
|
4363
|
+
i0.ɵɵadvance(1);
|
|
4364
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, "igo.context.shareMap.center"));
|
|
4365
|
+
} }
|
|
4366
|
+
function ShareMapUrlComponent_li_20_Template(rf, ctx) { if (rf & 1) {
|
|
4367
|
+
i0.ɵɵelementStart(0, "li");
|
|
4368
|
+
i0.ɵɵtext(1);
|
|
4369
|
+
i0.ɵɵpipe(2, "translate");
|
|
4370
|
+
i0.ɵɵelementEnd();
|
|
4371
|
+
} if (rf & 2) {
|
|
4372
|
+
i0.ɵɵadvance(1);
|
|
4373
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, "igo.context.shareMap.zoom"));
|
|
4374
|
+
} }
|
|
4375
|
+
function ShareMapUrlComponent_li_22_Template(rf, ctx) { if (rf & 1) {
|
|
4376
|
+
i0.ɵɵelementStart(0, "li");
|
|
4377
|
+
i0.ɵɵtext(1);
|
|
4378
|
+
i0.ɵɵpipe(2, "translate");
|
|
4379
|
+
i0.ɵɵelementEnd();
|
|
4380
|
+
} if (rf & 2) {
|
|
4381
|
+
i0.ɵɵadvance(1);
|
|
4382
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, "igo.context.shareMap.addedLayers"));
|
|
4383
|
+
} }
|
|
4384
|
+
function ShareMapUrlComponent_li_24_Template(rf, ctx) { if (rf & 1) {
|
|
4385
|
+
i0.ɵɵelementStart(0, "li");
|
|
4386
|
+
i0.ɵɵtext(1);
|
|
4387
|
+
i0.ɵɵpipe(2, "translate");
|
|
4388
|
+
i0.ɵɵelementEnd();
|
|
4389
|
+
} if (rf & 2) {
|
|
4390
|
+
i0.ɵɵadvance(1);
|
|
4391
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, "igo.context.shareMap.visibleInvisible"));
|
|
4392
|
+
} }
|
|
4393
|
+
function ShareMapUrlComponent_h4_26_Template(rf, ctx) { if (rf & 1) {
|
|
4394
|
+
i0.ɵɵelementStart(0, "h4");
|
|
4395
|
+
i0.ɵɵtext(1);
|
|
4396
|
+
i0.ɵɵpipe(2, "translate");
|
|
4397
|
+
i0.ɵɵelementEnd();
|
|
4398
|
+
} if (rf & 2) {
|
|
4399
|
+
i0.ɵɵadvance(1);
|
|
4400
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, "igo.context.shareMap.excluded"));
|
|
4401
|
+
} }
|
|
4402
|
+
function ShareMapUrlComponent_li_29_Template(rf, ctx) { if (rf & 1) {
|
|
4403
|
+
i0.ɵɵelementStart(0, "li");
|
|
4404
|
+
i0.ɵɵtext(1);
|
|
4405
|
+
i0.ɵɵpipe(2, "translate");
|
|
4406
|
+
i0.ɵɵelementEnd();
|
|
4407
|
+
} if (rf & 2) {
|
|
4408
|
+
i0.ɵɵadvance(1);
|
|
4409
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, "igo.context.shareMap.order"));
|
|
4410
|
+
} }
|
|
4411
|
+
function ShareMapUrlComponent_li_31_Template(rf, ctx) { if (rf & 1) {
|
|
4412
|
+
i0.ɵɵelementStart(0, "li");
|
|
4413
|
+
i0.ɵɵtext(1);
|
|
4414
|
+
i0.ɵɵpipe(2, "translate");
|
|
4415
|
+
i0.ɵɵelementEnd();
|
|
4416
|
+
} if (rf & 2) {
|
|
4417
|
+
i0.ɵɵadvance(1);
|
|
4418
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, "igo.context.shareMap.opacity"));
|
|
4419
|
+
} }
|
|
4420
|
+
function ShareMapUrlComponent_li_33_Template(rf, ctx) { if (rf & 1) {
|
|
4421
|
+
i0.ɵɵelementStart(0, "li");
|
|
4422
|
+
i0.ɵɵtext(1);
|
|
4423
|
+
i0.ɵɵpipe(2, "translate");
|
|
4424
|
+
i0.ɵɵelementEnd();
|
|
4425
|
+
} if (rf & 2) {
|
|
4426
|
+
i0.ɵɵadvance(1);
|
|
4427
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, "igo.context.shareMap.filterOgc"));
|
|
4428
|
+
} }
|
|
4429
|
+
function ShareMapUrlComponent_li_35_Template(rf, ctx) { if (rf & 1) {
|
|
4430
|
+
i0.ɵɵelementStart(0, "li");
|
|
4431
|
+
i0.ɵɵtext(1);
|
|
4432
|
+
i0.ɵɵpipe(2, "translate");
|
|
4433
|
+
i0.ɵɵelementEnd();
|
|
4434
|
+
} if (rf & 2) {
|
|
4435
|
+
i0.ɵɵadvance(1);
|
|
4436
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, "igo.context.shareMap.filterTime"));
|
|
4437
|
+
} }
|
|
4331
4438
|
class ShareMapUrlComponent {
|
|
4332
4439
|
constructor(languageService, messageService, shareMapService, cdRef) {
|
|
4333
4440
|
this.languageService = languageService;
|
|
@@ -4368,8 +4475,8 @@ class ShareMapUrlComponent {
|
|
|
4368
4475
|
}
|
|
4369
4476
|
}
|
|
4370
4477
|
ShareMapUrlComponent.ɵfac = function ShareMapUrlComponent_Factory(t) { return new (t || ShareMapUrlComponent)(i0.ɵɵdirectiveInject(i3.LanguageService), i0.ɵɵdirectiveInject(i3.MessageService), i0.ɵɵdirectiveInject(ShareMapService), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
|
|
4371
|
-
ShareMapUrlComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ShareMapUrlComponent, selectors: [["igo-share-map-url"]], inputs: { map: "map" }, decls:
|
|
4372
|
-
const
|
|
4478
|
+
ShareMapUrlComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ShareMapUrlComponent, selectors: [["igo-share-map-url"]], inputs: { map: "map" }, decls: 37, vars: 40, consts: [[1, "igo-input-container", "linkToShare"], ["matInput", "", "readonly", "", "rows", "3", 3, "placeholder", "value"], ["textArea", ""], [1, "igo-form-button-group"], ["mat-raised-button", "", 3, "click"], ["svgIcon", "content-copy"], [1, "mat-typography"], [4, "ngIf"]], template: function ShareMapUrlComponent_Template(rf, ctx) { if (rf & 1) {
|
|
4479
|
+
const _r12 = i0.ɵɵgetCurrentView();
|
|
4373
4480
|
i0.ɵɵelementStart(0, "div", 0);
|
|
4374
4481
|
i0.ɵɵelementStart(1, "mat-form-field");
|
|
4375
4482
|
i0.ɵɵelement(2, "textarea", 1, 2);
|
|
@@ -4377,7 +4484,7 @@ ShareMapUrlComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ShareM
|
|
|
4377
4484
|
i0.ɵɵelementEnd();
|
|
4378
4485
|
i0.ɵɵelementStart(5, "div", 3);
|
|
4379
4486
|
i0.ɵɵelementStart(6, "button", 4);
|
|
4380
|
-
i0.ɵɵlistener("click", function ShareMapUrlComponent_Template_button_click_6_listener() { i0.ɵɵrestoreView(
|
|
4487
|
+
i0.ɵɵlistener("click", function ShareMapUrlComponent_Template_button_click_6_listener() { i0.ɵɵrestoreView(_r12); const _r0 = i0.ɵɵreference(3); return ctx.copyTextToClipboard(_r0); });
|
|
4381
4488
|
i0.ɵɵelement(7, "mat-icon", 5);
|
|
4382
4489
|
i0.ɵɵtext(8);
|
|
4383
4490
|
i0.ɵɵpipe(9, "translate");
|
|
@@ -4386,53 +4493,31 @@ ShareMapUrlComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ShareM
|
|
|
4386
4493
|
i0.ɵɵelementStart(10, "div");
|
|
4387
4494
|
i0.ɵɵelement(11, "br");
|
|
4388
4495
|
i0.ɵɵelementStart(12, "section", 6);
|
|
4389
|
-
i0.ɵɵ
|
|
4390
|
-
i0.ɵɵ
|
|
4391
|
-
i0.ɵɵ
|
|
4392
|
-
i0.ɵɵ
|
|
4393
|
-
i0.ɵɵ
|
|
4394
|
-
i0.ɵɵ
|
|
4395
|
-
i0.ɵɵtext(18);
|
|
4496
|
+
i0.ɵɵtemplate(13, ShareMapUrlComponent_h4_13_Template, 3, 3, "h4", 7);
|
|
4497
|
+
i0.ɵɵpipe(14, "translate");
|
|
4498
|
+
i0.ɵɵelementStart(15, "ul");
|
|
4499
|
+
i0.ɵɵtemplate(16, ShareMapUrlComponent_li_16_Template, 3, 3, "li", 7);
|
|
4500
|
+
i0.ɵɵpipe(17, "translate");
|
|
4501
|
+
i0.ɵɵtemplate(18, ShareMapUrlComponent_li_18_Template, 3, 3, "li", 7);
|
|
4396
4502
|
i0.ɵɵpipe(19, "translate");
|
|
4397
|
-
i0.ɵɵ
|
|
4398
|
-
i0.ɵɵ
|
|
4399
|
-
i0.ɵɵ
|
|
4400
|
-
i0.ɵɵpipe(
|
|
4401
|
-
i0.ɵɵ
|
|
4402
|
-
i0.ɵɵelementStart(23, "li");
|
|
4403
|
-
i0.ɵɵtext(24);
|
|
4503
|
+
i0.ɵɵtemplate(20, ShareMapUrlComponent_li_20_Template, 3, 3, "li", 7);
|
|
4504
|
+
i0.ɵɵpipe(21, "translate");
|
|
4505
|
+
i0.ɵɵtemplate(22, ShareMapUrlComponent_li_22_Template, 3, 3, "li", 7);
|
|
4506
|
+
i0.ɵɵpipe(23, "translate");
|
|
4507
|
+
i0.ɵɵtemplate(24, ShareMapUrlComponent_li_24_Template, 3, 3, "li", 7);
|
|
4404
4508
|
i0.ɵɵpipe(25, "translate");
|
|
4405
4509
|
i0.ɵɵelementEnd();
|
|
4406
|
-
i0.ɵɵ
|
|
4407
|
-
i0.ɵɵ
|
|
4408
|
-
i0.ɵɵ
|
|
4409
|
-
i0.ɵɵ
|
|
4410
|
-
i0.ɵɵ
|
|
4411
|
-
i0.ɵɵ
|
|
4412
|
-
i0.ɵɵpipe(
|
|
4413
|
-
i0.ɵɵ
|
|
4414
|
-
i0.ɵɵelementEnd();
|
|
4415
|
-
i0.ɵɵelementStart(32, "h4");
|
|
4416
|
-
i0.ɵɵtext(33);
|
|
4510
|
+
i0.ɵɵtemplate(26, ShareMapUrlComponent_h4_26_Template, 3, 3, "h4", 7);
|
|
4511
|
+
i0.ɵɵpipe(27, "translate");
|
|
4512
|
+
i0.ɵɵelementStart(28, "ul");
|
|
4513
|
+
i0.ɵɵtemplate(29, ShareMapUrlComponent_li_29_Template, 3, 3, "li", 7);
|
|
4514
|
+
i0.ɵɵpipe(30, "translate");
|
|
4515
|
+
i0.ɵɵtemplate(31, ShareMapUrlComponent_li_31_Template, 3, 3, "li", 7);
|
|
4516
|
+
i0.ɵɵpipe(32, "translate");
|
|
4517
|
+
i0.ɵɵtemplate(33, ShareMapUrlComponent_li_33_Template, 3, 3, "li", 7);
|
|
4417
4518
|
i0.ɵɵpipe(34, "translate");
|
|
4418
|
-
i0.ɵɵ
|
|
4419
|
-
i0.ɵɵ
|
|
4420
|
-
i0.ɵɵelementStart(36, "li");
|
|
4421
|
-
i0.ɵɵtext(37);
|
|
4422
|
-
i0.ɵɵpipe(38, "translate");
|
|
4423
|
-
i0.ɵɵelementEnd();
|
|
4424
|
-
i0.ɵɵelementStart(39, "li");
|
|
4425
|
-
i0.ɵɵtext(40);
|
|
4426
|
-
i0.ɵɵpipe(41, "translate");
|
|
4427
|
-
i0.ɵɵelementEnd();
|
|
4428
|
-
i0.ɵɵelementStart(42, "li");
|
|
4429
|
-
i0.ɵɵtext(43);
|
|
4430
|
-
i0.ɵɵpipe(44, "translate");
|
|
4431
|
-
i0.ɵɵelementEnd();
|
|
4432
|
-
i0.ɵɵelementStart(45, "li");
|
|
4433
|
-
i0.ɵɵtext(46);
|
|
4434
|
-
i0.ɵɵpipe(47, "translate");
|
|
4435
|
-
i0.ɵɵelementEnd();
|
|
4519
|
+
i0.ɵɵtemplate(35, ShareMapUrlComponent_li_35_Template, 3, 3, "li", 7);
|
|
4520
|
+
i0.ɵɵpipe(36, "translate");
|
|
4436
4521
|
i0.ɵɵelementEnd();
|
|
4437
4522
|
i0.ɵɵelementEnd();
|
|
4438
4523
|
i0.ɵɵelementEnd();
|
|
@@ -4442,29 +4527,29 @@ ShareMapUrlComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ShareM
|
|
|
4442
4527
|
i0.ɵɵproperty("placeholder", i0.ɵɵpipeBind1(4, 14, "igo.context.shareMap.placeholderLink"))("value", ctx.url);
|
|
4443
4528
|
i0.ɵɵadvance(6);
|
|
4444
4529
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(9, 16, "igo.context.shareMap.copy"), " ");
|
|
4445
|
-
i0.ɵɵadvance(
|
|
4446
|
-
i0.ɵɵ
|
|
4447
|
-
i0.ɵɵadvance(4);
|
|
4448
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(19, 20, "igo.context.shareMap.context"));
|
|
4449
|
-
i0.ɵɵadvance(3);
|
|
4450
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(22, 22, "igo.context.shareMap.center"));
|
|
4451
|
-
i0.ɵɵadvance(3);
|
|
4452
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(25, 24, "igo.context.shareMap.zoom"));
|
|
4453
|
-
i0.ɵɵadvance(3);
|
|
4454
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(28, 26, "igo.context.shareMap.addedLayers"));
|
|
4530
|
+
i0.ɵɵadvance(5);
|
|
4531
|
+
i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(14, 18, "igo.context.shareMap.included") !== "");
|
|
4455
4532
|
i0.ɵɵadvance(3);
|
|
4456
|
-
i0.ɵɵ
|
|
4457
|
-
i0.ɵɵadvance(
|
|
4458
|
-
i0.ɵɵ
|
|
4459
|
-
i0.ɵɵadvance(
|
|
4460
|
-
i0.ɵɵ
|
|
4461
|
-
i0.ɵɵadvance(
|
|
4462
|
-
i0.ɵɵ
|
|
4463
|
-
i0.ɵɵadvance(
|
|
4464
|
-
i0.ɵɵ
|
|
4533
|
+
i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(17, 20, "igo.context.shareMap.context") !== "");
|
|
4534
|
+
i0.ɵɵadvance(2);
|
|
4535
|
+
i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(19, 22, "igo.context.shareMap.center") !== "");
|
|
4536
|
+
i0.ɵɵadvance(2);
|
|
4537
|
+
i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(21, 24, "igo.context.shareMap.zoom") !== "");
|
|
4538
|
+
i0.ɵɵadvance(2);
|
|
4539
|
+
i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(23, 26, "igo.context.shareMap.addedLayers") !== "");
|
|
4540
|
+
i0.ɵɵadvance(2);
|
|
4541
|
+
i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(25, 28, "igo.context.shareMap.visibleInvisible") !== "");
|
|
4542
|
+
i0.ɵɵadvance(2);
|
|
4543
|
+
i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(27, 30, "igo.context.shareMap.excluded") !== "");
|
|
4465
4544
|
i0.ɵɵadvance(3);
|
|
4466
|
-
i0.ɵɵ
|
|
4467
|
-
|
|
4545
|
+
i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(30, 32, "igo.context.shareMap.order") !== "");
|
|
4546
|
+
i0.ɵɵadvance(2);
|
|
4547
|
+
i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(32, 34, "igo.context.shareMap.opacity") !== "");
|
|
4548
|
+
i0.ɵɵadvance(2);
|
|
4549
|
+
i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(34, 36, "igo.context.shareMap.filterOgc") !== "");
|
|
4550
|
+
i0.ɵɵadvance(2);
|
|
4551
|
+
i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(36, 38, "igo.context.shareMap.filterTime") !== "");
|
|
4552
|
+
} }, directives: [i3$1.MatFormField, i3$2.MatInput, i5.MatButton, i9.MatIcon, i7.NgIf], pipes: [i6$1.TranslatePipe], styles: ["@charset \"UTF-8\";mat-form-field[_ngcontent-%COMP%]{width:100%}.linkToShare\\a0[_ngcontent-%COMP%] {padding:25px 5px 5px}.linkToShare\\a0[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]{resize:none;width:100%;line-height:1.3;height:40px;overflow-y:hidden;word-wrap:normal;word-break:break-all}.linkToShare\\a0[_ngcontent-%COMP%] textarea.textAreaWithButton[_ngcontent-%COMP%]{width:calc(100% - 60px)}.linkToShare\\a0[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%] > button[_ngcontent-%COMP%]{float:right;margin:-10px 0}.igo-form-button-group[_ngcontent-%COMP%]{text-align:center;padding-top:10px}"] });
|
|
4468
4553
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ShareMapUrlComponent, [{
|
|
4469
4554
|
type: Component,
|
|
4470
4555
|
args: [{
|
|
@@ -4519,7 +4604,7 @@ ShareMapComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ShareMapC
|
|
|
4519
4604
|
i0.ɵɵproperty("ngIf", ctx.hasApi);
|
|
4520
4605
|
i0.ɵɵadvance(1);
|
|
4521
4606
|
i0.ɵɵproperty("ngIf", !ctx.hasApi);
|
|
4522
|
-
} }, directives: [
|
|
4607
|
+
} }, directives: [i7.NgIf, i3$4.MatTabGroup, i3$4.MatTab, ShareMapApiComponent, ShareMapUrlComponent], pipes: [i6$1.TranslatePipe], styles: [""] });
|
|
4523
4608
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ShareMapComponent, [{
|
|
4524
4609
|
type: Component,
|
|
4525
4610
|
args: [{
|
|
@@ -4729,7 +4814,7 @@ SidenavComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SidenavCom
|
|
|
4729
4814
|
i0.ɵɵproperty("ngIf", ctx.tool);
|
|
4730
4815
|
i0.ɵɵadvance(2);
|
|
4731
4816
|
i0.ɵɵproperty("ngIf", ctx.feature && ctx.media !== "mobile");
|
|
4732
|
-
} }, directives: [i2$1.MatSidenav, i5$1.FlexibleComponent, i5$1.PanelComponent,
|
|
4817
|
+
} }, directives: [i2$1.MatSidenav, i5$1.FlexibleComponent, i5$1.PanelComponent, i7.NgIf, i5.MatButton, i6$2.MatTooltip, i9.MatIcon, i1$1.FeatureDetailsComponent], pipes: [i6$1.TranslatePipe], styles: ["[_nghost-%COMP%] .igo-flexible-fill .igo-container, .igo-sidenav-content[_ngcontent-%COMP%] .igo-flexible-fill[_ngcontent-%COMP%] .igo-container[_ngcontent-%COMP%]{box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box}[_nghost-%COMP%] .igo-flexible-fill .igo-container, .igo-sidenav-content[_ngcontent-%COMP%] .igo-flexible-fill[_ngcontent-%COMP%] .igo-container[_ngcontent-%COMP%]{border-top-width:1px;border-top-style:solid;border-top-color:#0003}mat-sidenav[_ngcontent-%COMP%]{-o-box-shadow:2px 0px 2px 0px #dddddd;box-shadow:2px 0 2px #ddd}[_nghost-%COMP%]{background-color:#fff}[_nghost-%COMP%] mat-sidenav{z-index:3!important}mat-sidenav[_ngcontent-%COMP%]{width:400px}@media only screen and (orientation:portrait) and (max-width: 599px),only screen and (orientation:landscape) and (max-width: 959px){mat-sidenav[_ngcontent-%COMP%]{width:calc(100% - 40px - 5px)}}.igo-sidenav-content[_ngcontent-%COMP%]{margin-top:50px;height:calc(100% - 50px)}igo-feature-details[_ngcontent-%COMP%] table{width:100%}"] });
|
|
4733
4818
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SidenavComponent, [{
|
|
4734
4819
|
type: Component,
|
|
4735
4820
|
args: [{
|