@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
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
2
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/material/form-field'), require('@angular/material/input'), require('@angular/material/menu'), require('@angular/common'), require('@angular/material/button'), require('@angular/material/button-toggle'), require('@angular/material/core'), require('@angular/material/divider'), require('@angular/material/select'), require('@angular/material/checkbox'), require('@angular/material/tabs'), require('@angular/material/tooltip'), require('@igo2/core'), require('@angular/forms'), require('rxjs'), require('rxjs/operators'), require('ol/style'), require('@igo2/geo'), require('@igo2/utils'), require('ol/geom/Point'), require('ol/format/GeoJSON'), require('ol/source/Cluster'), require('ol/source/Vector'), require('@angular/common/http'), require('@igo2/auth'), require('@igo2/common'), require('@ngx-translate/core'), require('@angular/material/autocomplete'), require('@angular/material/dialog'), require('@angular/material/icon'), require('@angular/material/list'), require('@angular/material/radio'), require('ol/proj'), require('ol/easing'), require('@angular/animations'), require('@angular/material/sidenav'), require('@angular/platform-browser')) :
|
|
3
3
|
typeof define === 'function' && define.amd ? define('@igo2/context', ['exports', '@angular/core', '@angular/material/form-field', '@angular/material/input', '@angular/material/menu', '@angular/common', '@angular/material/button', '@angular/material/button-toggle', '@angular/material/core', '@angular/material/divider', '@angular/material/select', '@angular/material/checkbox', '@angular/material/tabs', '@angular/material/tooltip', '@igo2/core', '@angular/forms', 'rxjs', 'rxjs/operators', 'ol/style', '@igo2/geo', '@igo2/utils', 'ol/geom/Point', 'ol/format/GeoJSON', 'ol/source/Cluster', 'ol/source/Vector', '@angular/common/http', '@igo2/auth', '@igo2/common', '@ngx-translate/core', '@angular/material/autocomplete', '@angular/material/dialog', '@angular/material/icon', '@angular/material/list', '@angular/material/radio', 'ol/proj', 'ol/easing', '@angular/animations', '@angular/material/sidenav', '@angular/platform-browser'], factory) :
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.igo2 = global.igo2 || {}, global.igo2.context = {}), global.ng.core, global.ng.material.formField, global.ng.material.input, global.ng.material.menu, global.ng.common, global.ng.material.button, global.ng.material.buttonToggle, global.ng.material.core, global.ng.material.divider, global.ng.material.select, global.ng.material.checkbox, global.ng.material.tabs, global.ng.material.tooltip, global.core, global.ng.forms, global.rxjs, global.rxjs.operators, global.olStlyle, global.geo, global.utils, global.olPoint, global.olFormatGeoJSON, global.cluster, global.vector, global.ng.common.http, global.auth, global.common, global[
|
|
5
|
-
}(this, (function (exports, i0, i3$1, i3$2, i7
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.igo2 = global.igo2 || {}, global.igo2.context = {}), global.ng.core, global.ng.material.formField, global.ng.material.input, global.ng.material.menu, global.ng.common, global.ng.material.button, global.ng.material.buttonToggle, global.ng.material.core, global.ng.material.divider, global.ng.material.select, global.ng.material.checkbox, global.ng.material.tabs, global.ng.material.tooltip, global.core, global.ng.forms, global.rxjs, global.rxjs.operators, global.olStlyle, global.geo, global.utils, global.olPoint, global.olFormatGeoJSON, global.cluster, global.vector, global.ng.common.http, global.auth, global.common, global["ngxt-core"], global.ng.material.autocomplete, global.ng.material.dialog, global.ng.material.icon, global.ng.material.list, global.ng.material.radio, global.olproj, global.oleasing, global.ng.animations, global.ng.material.sidenav, global.ng.platformBrowser));
|
|
5
|
+
})(this, (function (exports, i0, i3$1, i3$2, i7$1, i7, i5, i6, i11, i14, i12, i8, i3$3, i6$2, i3, i4, rxjs, operators, olStyle, i1, utils, olPoint, GeoJSON, Cluster, olVectorSource, i1$1, i2, i5$1, i6$1, i9$1, i1$2, i9, i3$4, i6$3, olproj, oleasing, animations, i2$1, i1$3) { 'use strict';
|
|
6
6
|
|
|
7
7
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
8
8
|
|
|
@@ -15,22 +15,20 @@
|
|
|
15
15
|
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
16
16
|
Object.defineProperty(n, k, d.get ? d : {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () {
|
|
19
|
-
return e[k];
|
|
20
|
-
}
|
|
18
|
+
get: function () { return e[k]; }
|
|
21
19
|
});
|
|
22
20
|
}
|
|
23
21
|
});
|
|
24
22
|
}
|
|
25
|
-
n[
|
|
23
|
+
n["default"] = e;
|
|
26
24
|
return Object.freeze(n);
|
|
27
25
|
}
|
|
28
26
|
|
|
29
27
|
var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
|
|
30
28
|
var i3__namespace$1 = /*#__PURE__*/_interopNamespace(i3$1);
|
|
31
29
|
var i3__namespace$2 = /*#__PURE__*/_interopNamespace(i3$2);
|
|
30
|
+
var i7__namespace$1 = /*#__PURE__*/_interopNamespace(i7$1);
|
|
32
31
|
var i7__namespace = /*#__PURE__*/_interopNamespace(i7);
|
|
33
|
-
var i6__namespace$1 = /*#__PURE__*/_interopNamespace(i6$1);
|
|
34
32
|
var i5__namespace = /*#__PURE__*/_interopNamespace(i5);
|
|
35
33
|
var i6__namespace = /*#__PURE__*/_interopNamespace(i6);
|
|
36
34
|
var i11__namespace = /*#__PURE__*/_interopNamespace(i11);
|
|
@@ -38,7 +36,7 @@
|
|
|
38
36
|
var i12__namespace = /*#__PURE__*/_interopNamespace(i12);
|
|
39
37
|
var i8__namespace = /*#__PURE__*/_interopNamespace(i8);
|
|
40
38
|
var i3__namespace$4 = /*#__PURE__*/_interopNamespace(i3$3);
|
|
41
|
-
var i6__namespace$
|
|
39
|
+
var i6__namespace$2 = /*#__PURE__*/_interopNamespace(i6$2);
|
|
42
40
|
var i3__namespace = /*#__PURE__*/_interopNamespace(i3);
|
|
43
41
|
var i4__namespace = /*#__PURE__*/_interopNamespace(i4);
|
|
44
42
|
var olStyle__namespace = /*#__PURE__*/_interopNamespace(olStyle);
|
|
@@ -50,12 +48,12 @@
|
|
|
50
48
|
var i1__namespace = /*#__PURE__*/_interopNamespace(i1$1);
|
|
51
49
|
var i2__namespace = /*#__PURE__*/_interopNamespace(i2);
|
|
52
50
|
var i5__namespace$1 = /*#__PURE__*/_interopNamespace(i5$1);
|
|
53
|
-
var i6__namespace$
|
|
51
|
+
var i6__namespace$1 = /*#__PURE__*/_interopNamespace(i6$1);
|
|
54
52
|
var i9__namespace$1 = /*#__PURE__*/_interopNamespace(i9$1);
|
|
55
53
|
var i1__namespace$2 = /*#__PURE__*/_interopNamespace(i1$2);
|
|
56
54
|
var i9__namespace = /*#__PURE__*/_interopNamespace(i9);
|
|
57
55
|
var i3__namespace$3 = /*#__PURE__*/_interopNamespace(i3$4);
|
|
58
|
-
var i6__namespace$
|
|
56
|
+
var i6__namespace$3 = /*#__PURE__*/_interopNamespace(i6$3);
|
|
59
57
|
var olproj__namespace = /*#__PURE__*/_interopNamespace(olproj);
|
|
60
58
|
var oleasing__namespace = /*#__PURE__*/_interopNamespace(oleasing);
|
|
61
59
|
var i2__namespace$1 = /*#__PURE__*/_interopNamespace(i2$1);
|
|
@@ -831,7 +829,8 @@
|
|
|
831
829
|
var _this = this;
|
|
832
830
|
var url = this.baseUrl + "/contexts/" + id + "/details";
|
|
833
831
|
return this.http.get(url).pipe(operators.catchError(function (res) {
|
|
834
|
-
|
|
832
|
+
_this.handleError(res, id);
|
|
833
|
+
throw res;
|
|
835
834
|
}));
|
|
836
835
|
};
|
|
837
836
|
ContextService.prototype.getDefault = function () {
|
|
@@ -928,7 +927,8 @@
|
|
|
928
927
|
typePermission: type
|
|
929
928
|
};
|
|
930
929
|
return this.http.post(url, association).pipe(operators.catchError(function (res) {
|
|
931
|
-
|
|
930
|
+
_this.handleError(res, undefined, true);
|
|
931
|
+
throw [res]; // TODO Not sure about this.
|
|
932
932
|
}));
|
|
933
933
|
};
|
|
934
934
|
ContextService.prototype.deletePermissionAssociation = function (contextId, permissionId) {
|
|
@@ -966,10 +966,12 @@
|
|
|
966
966
|
.filter(function (t, index, self) { return self.findIndex(function (t2) { return t2.name === t.name; }) === index; });
|
|
967
967
|
return resMerge;
|
|
968
968
|
}), operators.catchError(function (err) {
|
|
969
|
-
|
|
969
|
+
_this.handleError(err, uri);
|
|
970
|
+
throw err;
|
|
970
971
|
}));
|
|
971
972
|
}), operators.catchError(function (err2) {
|
|
972
|
-
|
|
973
|
+
_this.handleError(err2, uri);
|
|
974
|
+
throw err2;
|
|
973
975
|
}));
|
|
974
976
|
};
|
|
975
977
|
ContextService.prototype.loadContexts = function (permissions, hidden) {
|
|
@@ -1065,7 +1067,7 @@
|
|
|
1065
1067
|
var e_1, _a;
|
|
1066
1068
|
var view = igoMap.ol.getView();
|
|
1067
1069
|
var proj = view.getProjection().getCode();
|
|
1068
|
-
var center = new olPoint__default[
|
|
1070
|
+
var center = new olPoint__default["default"](view.getCenter()).transform(proj, 'EPSG:4326');
|
|
1069
1071
|
var context = {
|
|
1070
1072
|
uri: utils.uuid(),
|
|
1071
1073
|
title: '',
|
|
@@ -1090,7 +1092,7 @@
|
|
|
1090
1092
|
.sort(function (a, b) { return a.zIndex - b.zIndex; });
|
|
1091
1093
|
}
|
|
1092
1094
|
else {
|
|
1093
|
-
layers = igoMap.layers$.getValue().sort(function (a, b) { return a.zIndex - b.zIndex; });
|
|
1095
|
+
layers = igoMap.layers$.getValue().filter(function (lay) { return !lay.id.includes('WfsWorkspaceTableDest'); }).sort(function (a, b) { return a.zIndex - b.zIndex; });
|
|
1094
1096
|
}
|
|
1095
1097
|
var i = 0;
|
|
1096
1098
|
try {
|
|
@@ -1132,7 +1134,7 @@
|
|
|
1132
1134
|
var currentContext = this.context$.getValue();
|
|
1133
1135
|
var view = igoMap.ol.getView();
|
|
1134
1136
|
var proj = view.getProjection().getCode();
|
|
1135
|
-
var center = new olPoint__default[
|
|
1137
|
+
var center = new olPoint__default["default"](view.getCenter()).transform(proj, 'EPSG:4326');
|
|
1136
1138
|
var context = {
|
|
1137
1139
|
uri: name,
|
|
1138
1140
|
title: name,
|
|
@@ -1186,7 +1188,7 @@
|
|
|
1186
1188
|
context.layers.push(opts);
|
|
1187
1189
|
}
|
|
1188
1190
|
else {
|
|
1189
|
-
if (!(layer.ol.getSource() instanceof olVectorSource__default[
|
|
1191
|
+
if (!(layer.ol.getSource() instanceof olVectorSource__default["default"])) {
|
|
1190
1192
|
var catalogLayer = layer.options;
|
|
1191
1193
|
catalogLayer.zIndex = layer.zIndex;
|
|
1192
1194
|
delete catalogLayer.source;
|
|
@@ -1194,8 +1196,8 @@
|
|
|
1194
1196
|
}
|
|
1195
1197
|
else {
|
|
1196
1198
|
var features = void 0;
|
|
1197
|
-
var writer = new GeoJSON__default[
|
|
1198
|
-
if (layer.ol.getSource() instanceof Cluster__default[
|
|
1199
|
+
var writer = new GeoJSON__default["default"]();
|
|
1200
|
+
if (layer.ol.getSource() instanceof Cluster__default["default"]) {
|
|
1199
1201
|
var clusterSource = layer.ol.getSource();
|
|
1200
1202
|
features = writer.writeFeatures(clusterSource.getFeatures(), {
|
|
1201
1203
|
dataProjection: 'EPSG:4326',
|
|
@@ -1203,13 +1205,11 @@
|
|
|
1203
1205
|
});
|
|
1204
1206
|
}
|
|
1205
1207
|
else {
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
// }
|
|
1212
|
-
// );
|
|
1208
|
+
var source = layer.ol.getSource();
|
|
1209
|
+
features = writer.writeFeatures(source.getFeatures(), {
|
|
1210
|
+
dataProjection: 'EPSG:4326',
|
|
1211
|
+
featureProjection: 'EPSG:3857'
|
|
1212
|
+
});
|
|
1213
1213
|
}
|
|
1214
1214
|
features = JSON.parse(features);
|
|
1215
1215
|
features.name = layer.options.title;
|
|
@@ -1229,9 +1229,6 @@
|
|
|
1229
1229
|
};
|
|
1230
1230
|
ContextService.prototype.handleContextMessage = function (context) {
|
|
1231
1231
|
var _this = this;
|
|
1232
|
-
if (this.contextMessage) {
|
|
1233
|
-
this.messageService.remove(this.contextMessage.id);
|
|
1234
|
-
}
|
|
1235
1232
|
if (this.context$.value && context.uri && this.context$.value.uri !== context.uri) {
|
|
1236
1233
|
this.messageService.removeAllAreNotError();
|
|
1237
1234
|
}
|
|
@@ -1336,7 +1333,7 @@
|
|
|
1336
1333
|
error.error.title = this.languageService.translate.instant('igo.context.contextManager.errors.addPermissionTitle');
|
|
1337
1334
|
error.error.message = this.languageService.translate.instant('igo.context.contextManager.errors.addPermission');
|
|
1338
1335
|
}
|
|
1339
|
-
|
|
1336
|
+
this.messageService.error(error.error.message, error.error.title);
|
|
1340
1337
|
};
|
|
1341
1338
|
ContextService.prototype.handleContextsChange = function (keepCurrentContext) {
|
|
1342
1339
|
var _this = this;
|
|
@@ -1677,7 +1674,7 @@
|
|
|
1677
1674
|
i0__namespace.ɵɵadvance(1);
|
|
1678
1675
|
i0__namespace.ɵɵproperty("ngIf", ctx.activeImportExport === "export");
|
|
1679
1676
|
}
|
|
1680
|
-
}, directives: [i6__namespace.MatButtonToggleGroup, i6__namespace.MatButtonToggle,
|
|
1677
|
+
}, directives: [i6__namespace.MatButtonToggleGroup, i6__namespace.MatButtonToggle, i7__namespace.NgIf, i4__namespace.ɵNgNoValidate, i4__namespace.NgControlStatusGroup, i4__namespace.NgForm, i5__namespace.MatButton, i5__namespace$1.SpinnerComponent, i4__namespace.FormGroupDirective, i3__namespace$1.MatFormField, i3__namespace$1.MatLabel, i4__namespace.DefaultValueAccessor, i3__namespace$2.MatInput, i4__namespace.NgControlStatus, i4__namespace.FormControlName, i12__namespace.MatSelect, i11__namespace.MatOption, i14__namespace.MatDivider, i7__namespace.NgForOf], pipes: [i6__namespace$1.TranslatePipe, i7__namespace.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}"] });
|
|
1681
1678
|
(function () {
|
|
1682
1679
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(ContextImportExportComponent, [{
|
|
1683
1680
|
type: i0.Component,
|
|
@@ -1706,7 +1703,7 @@
|
|
|
1706
1703
|
IgoContextImportExportModule.ɵinj = /*@__PURE__*/ i0__namespace.ɵɵdefineInjector({ imports: [[
|
|
1707
1704
|
i4.FormsModule,
|
|
1708
1705
|
i4.ReactiveFormsModule,
|
|
1709
|
-
|
|
1706
|
+
i7.CommonModule,
|
|
1710
1707
|
i5.MatButtonModule,
|
|
1711
1708
|
i6.MatButtonToggleModule,
|
|
1712
1709
|
i14.MatDividerModule,
|
|
@@ -1718,7 +1715,7 @@
|
|
|
1718
1715
|
i8.MatCheckboxModule,
|
|
1719
1716
|
i3.IgoLanguageModule,
|
|
1720
1717
|
i5$1.IgoSpinnerModule,
|
|
1721
|
-
i6$
|
|
1718
|
+
i6$2.MatTooltipModule,
|
|
1722
1719
|
]] });
|
|
1723
1720
|
(function () {
|
|
1724
1721
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(IgoContextImportExportModule, [{
|
|
@@ -1727,7 +1724,7 @@
|
|
|
1727
1724
|
imports: [
|
|
1728
1725
|
i4.FormsModule,
|
|
1729
1726
|
i4.ReactiveFormsModule,
|
|
1730
|
-
|
|
1727
|
+
i7.CommonModule,
|
|
1731
1728
|
i5.MatButtonModule,
|
|
1732
1729
|
i6.MatButtonToggleModule,
|
|
1733
1730
|
i14.MatDividerModule,
|
|
@@ -1739,7 +1736,7 @@
|
|
|
1739
1736
|
i8.MatCheckboxModule,
|
|
1740
1737
|
i3.IgoLanguageModule,
|
|
1741
1738
|
i5$1.IgoSpinnerModule,
|
|
1742
|
-
i6$
|
|
1739
|
+
i6$2.MatTooltipModule,
|
|
1743
1740
|
],
|
|
1744
1741
|
exports: [
|
|
1745
1742
|
ContextImportExportComponent
|
|
@@ -1753,7 +1750,7 @@
|
|
|
1753
1750
|
(function () {
|
|
1754
1751
|
(typeof ngJitMode === "undefined" || ngJitMode) && i0__namespace.ɵɵsetNgModuleScope(IgoContextImportExportModule, { declarations: [ContextImportExportComponent], imports: [i4.FormsModule,
|
|
1755
1752
|
i4.ReactiveFormsModule,
|
|
1756
|
-
|
|
1753
|
+
i7.CommonModule,
|
|
1757
1754
|
i5.MatButtonModule,
|
|
1758
1755
|
i6.MatButtonToggleModule,
|
|
1759
1756
|
i14.MatDividerModule,
|
|
@@ -1765,7 +1762,7 @@
|
|
|
1765
1762
|
i8.MatCheckboxModule,
|
|
1766
1763
|
i3.IgoLanguageModule,
|
|
1767
1764
|
i5$1.IgoSpinnerModule,
|
|
1768
|
-
i6$
|
|
1765
|
+
i6$2.MatTooltipModule], exports: [ContextImportExportComponent] });
|
|
1769
1766
|
})();
|
|
1770
1767
|
|
|
1771
1768
|
var MapContextDirective = /** @class */ (function () {
|
|
@@ -1905,7 +1902,7 @@
|
|
|
1905
1902
|
_this.map.addLayers(layers);
|
|
1906
1903
|
if (context.extraFeatures) {
|
|
1907
1904
|
context.extraFeatures.forEach(function (featureCollection) {
|
|
1908
|
-
var format = new GeoJSON__default[
|
|
1905
|
+
var format = new GeoJSON__default["default"]();
|
|
1909
1906
|
var title = featureCollection.name;
|
|
1910
1907
|
featureCollection = JSON.stringify(featureCollection);
|
|
1911
1908
|
featureCollection = format.readFeatures(featureCollection, {
|
|
@@ -2038,7 +2035,7 @@
|
|
|
2038
2035
|
i0__namespace.ɵɵadvance(3);
|
|
2039
2036
|
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(13, 12, "igo.common.confirmDialog.cancelBtn"), " ");
|
|
2040
2037
|
}
|
|
2041
|
-
}, directives: [i1__namespace$2.MatDialogTitle, i1__namespace$2.MatDialogContent, i3__namespace$1.MatFormField, i3__namespace$2.MatInput, i4__namespace.DefaultValueAccessor, i4__namespace.RequiredValidator, i4__namespace.MaxLengthValidator, i4__namespace.NgControlStatus, i4__namespace.NgModel, i1__namespace$2.MatDialogActions, i5__namespace.MatButton], pipes: [i6__namespace$
|
|
2038
|
+
}, directives: [i1__namespace$2.MatDialogTitle, i1__namespace$2.MatDialogContent, i3__namespace$1.MatFormField, i3__namespace$2.MatInput, i4__namespace.DefaultValueAccessor, i4__namespace.RequiredValidator, i4__namespace.MaxLengthValidator, i4__namespace.NgControlStatus, i4__namespace.NgModel, i1__namespace$2.MatDialogActions, i5__namespace.MatButton], pipes: [i6__namespace$1.TranslatePipe], encapsulation: 2 });
|
|
2042
2039
|
(function () {
|
|
2043
2040
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(BookmarkDialogComponent, [{
|
|
2044
2041
|
type: i0.Component,
|
|
@@ -2303,7 +2300,7 @@
|
|
|
2303
2300
|
i0__namespace.ɵɵadvance(1);
|
|
2304
2301
|
i0__namespace.ɵɵproperty("ngIf", ctx.auth.authenticated);
|
|
2305
2302
|
}
|
|
2306
|
-
}, directives: [i3__namespace$3.MatListItem,
|
|
2303
|
+
}, directives: [i3__namespace$3.MatListItem, i7__namespace.NgClass, i7__namespace.NgIf, i11__namespace.MatLine, i5__namespace.MatButton, i3__namespace$3.MatListAvatarCssMatStyler, i5__namespace$1.StopPropagationDirective, i6__namespace$2.MatTooltip, i9__namespace.MatIcon, i5__namespace$1.CollapseDirective], pipes: [i6__namespace$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 });
|
|
2307
2304
|
(function () {
|
|
2308
2305
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(ContextItemComponent, [{
|
|
2309
2306
|
type: i0.Component,
|
|
@@ -2965,7 +2962,7 @@
|
|
|
2965
2962
|
i0__namespace.ɵɵadvance(2);
|
|
2966
2963
|
i0__namespace.ɵɵproperty("ngForOf", i0__namespace.ɵɵpipeBind1(15, 12, i0__namespace.ɵɵpipeBind1(16, 14, ctx.contexts$)));
|
|
2967
2964
|
}
|
|
2968
|
-
}, directives: [i5__namespace$1.ListComponent,
|
|
2965
|
+
}, directives: [i5__namespace$1.ListComponent, i7__namespace.NgIf, i7__namespace$1.MatMenu, i7__namespace.NgForOf, i8__namespace.MatCheckbox, i7__namespace$1.MatMenuItem, i3__namespace$1.MatFormField, i7__namespace.NgClass, i3__namespace$2.MatInput, i4__namespace.DefaultValueAccessor, i4__namespace.NgControlStatus, i4__namespace.NgModel, i5__namespace.MatButton, i3__namespace$1.MatSuffix, i9__namespace.MatIcon, i6__namespace$2.MatTooltip, i5__namespace$1.ActionbarComponent, i7__namespace$1.MatMenuTrigger, i5__namespace$1.CollapsibleComponent, ContextItemComponent, i5__namespace$1.ListItemDirective], pipes: [i6__namespace$1.TranslatePipe, i5__namespace$1.KeyValuePipe, i7__namespace.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 });
|
|
2969
2966
|
(function () {
|
|
2970
2967
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(ContextListComponent, [{
|
|
2971
2968
|
type: i0.Component,
|
|
@@ -3440,7 +3437,7 @@
|
|
|
3440
3437
|
i0__namespace.ɵɵadvance(1);
|
|
3441
3438
|
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(18, 16, "igo.context.contextManager.form.edit"), " ");
|
|
3442
3439
|
}
|
|
3443
|
-
}, directives: [i4__namespace.ɵNgNoValidate, i4__namespace.NgControlStatusGroup, i4__namespace.FormGroupDirective, i3__namespace$1.MatFormField, i3__namespace$2.MatInput, i4__namespace.DefaultValueAccessor, i4__namespace.RequiredValidator, i4__namespace.MaxLengthValidator, i4__namespace.NgControlStatus, i4__namespace.FormControlName, i3__namespace$1.MatError,
|
|
3440
|
+
}, directives: [i4__namespace.ɵNgNoValidate, i4__namespace.NgControlStatusGroup, i4__namespace.FormGroupDirective, i3__namespace$1.MatFormField, i3__namespace$2.MatInput, i4__namespace.DefaultValueAccessor, i4__namespace.RequiredValidator, i4__namespace.MaxLengthValidator, i4__namespace.NgControlStatus, i4__namespace.FormControlName, i3__namespace$1.MatError, i7__namespace.NgIf, i5__namespace.MatButton, i6__namespace$2.MatTooltip, i9__namespace.MatIcon], pipes: [i6__namespace$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}"] });
|
|
3444
3441
|
(function () {
|
|
3445
3442
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(ContextFormComponent, [{
|
|
3446
3443
|
type: i0.Component,
|
|
@@ -3506,7 +3503,7 @@
|
|
|
3506
3503
|
if (rf & 2) {
|
|
3507
3504
|
i0__namespace.ɵɵproperty("ngIf", ctx.context);
|
|
3508
3505
|
}
|
|
3509
|
-
}, directives: [
|
|
3506
|
+
}, directives: [i7__namespace.NgIf, ContextFormComponent], pipes: [i6__namespace$1.TranslatePipe], encapsulation: 2 });
|
|
3510
3507
|
(function () {
|
|
3511
3508
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(ContextEditComponent, [{
|
|
3512
3509
|
type: i0.Component,
|
|
@@ -3916,7 +3913,7 @@
|
|
|
3916
3913
|
if (rf & 2) {
|
|
3917
3914
|
i0__namespace.ɵɵproperty("ngIf", ctx.context);
|
|
3918
3915
|
}
|
|
3919
|
-
}, directives: [
|
|
3916
|
+
}, directives: [i7__namespace.NgIf, i6__namespace$3.MatRadioGroup, i4__namespace.NgControlStatus, i4__namespace.NgModel, i6__namespace$3.MatRadioButton, i4__namespace.ɵNgNoValidate, i4__namespace.NgControlStatusGroup, i4__namespace.FormGroupDirective, i3__namespace$1.MatFormField, i3__namespace$2.MatInput, i4__namespace.DefaultValueAccessor, i9__namespace$1.MatAutocompleteTrigger, i4__namespace.RequiredValidator, i4__namespace.FormControlDirective, i9__namespace$1.MatAutocomplete, i7__namespace.NgForOf, i3__namespace$1.MatError, i4__namespace.FormControlName, i5__namespace.MatButton, i11__namespace.MatOption, i5__namespace$1.ListComponent, i5__namespace$1.CollapsibleComponent, i3__namespace$3.MatListItem, i9__namespace.MatIcon, i3__namespace$3.MatListAvatarCssMatStyler, i11__namespace.MatLine, i5__namespace$1.StopPropagationDirective, i6__namespace$2.MatTooltip], pipes: [i6__namespace$1.TranslatePipe, i5__namespace$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}"] });
|
|
3920
3917
|
(function () {
|
|
3921
3918
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(ContextPermissionsComponent, [{
|
|
3922
3919
|
type: i0.Component,
|
|
@@ -4138,7 +4135,7 @@
|
|
|
4138
4135
|
i0__namespace.ɵɵadvance(1);
|
|
4139
4136
|
i0__namespace.ɵɵproperty("matTooltip", i0__namespace.ɵɵpipeBind1(2, 2, "igo.context.bookmarkButton.create"))("color", ctx.color);
|
|
4140
4137
|
}
|
|
4141
|
-
}, directives: [i5__namespace.MatButton, i6__namespace$
|
|
4138
|
+
}, directives: [i5__namespace.MatButton, i6__namespace$2.MatTooltip, i9__namespace.MatIcon], pipes: [i6__namespace$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}"] });
|
|
4142
4139
|
(function () {
|
|
4143
4140
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(BookmarkButtonComponent, [{
|
|
4144
4141
|
type: i0.Component,
|
|
@@ -4200,7 +4197,7 @@
|
|
|
4200
4197
|
i0__namespace.ɵɵadvance(3);
|
|
4201
4198
|
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(13, 12, "igo.common.confirmDialog.cancelBtn"), " ");
|
|
4202
4199
|
}
|
|
4203
|
-
}, directives: [i1__namespace$2.MatDialogTitle, i1__namespace$2.MatDialogContent, i3__namespace$1.MatFormField, i3__namespace$2.MatInput, i4__namespace.DefaultValueAccessor, i4__namespace.RequiredValidator, i4__namespace.NgControlStatus, i4__namespace.NgModel, i1__namespace$2.MatDialogActions, i5__namespace.MatButton], pipes: [i6__namespace$
|
|
4200
|
+
}, directives: [i1__namespace$2.MatDialogTitle, i1__namespace$2.MatDialogContent, i3__namespace$1.MatFormField, i3__namespace$2.MatInput, i4__namespace.DefaultValueAccessor, i4__namespace.RequiredValidator, i4__namespace.NgControlStatus, i4__namespace.NgModel, i1__namespace$2.MatDialogActions, i5__namespace.MatButton], pipes: [i6__namespace$1.TranslatePipe], encapsulation: 2 });
|
|
4204
4201
|
(function () {
|
|
4205
4202
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(PoiDialogComponent, [{
|
|
4206
4203
|
type: i0.Component,
|
|
@@ -4339,7 +4336,7 @@
|
|
|
4339
4336
|
var _this = this;
|
|
4340
4337
|
var view = this.map.ol.getView();
|
|
4341
4338
|
var proj = view.getProjection().getCode();
|
|
4342
|
-
var center = new olPoint__default[
|
|
4339
|
+
var center = new olPoint__default["default"](view.getCenter()).transform(proj, 'EPSG:4326');
|
|
4343
4340
|
var poi = {
|
|
4344
4341
|
title: '',
|
|
4345
4342
|
x: center.getCoordinates()[0],
|
|
@@ -4406,7 +4403,7 @@
|
|
|
4406
4403
|
i0__namespace.ɵɵadvance(4);
|
|
4407
4404
|
i0__namespace.ɵɵproperty("ngForOf", ctx.pois);
|
|
4408
4405
|
}
|
|
4409
|
-
}, directives: [i12__namespace.MatSelect, i11__namespace.MatOption, i5__namespace.MatButton, i5__namespace$1.StopPropagationDirective, i9__namespace.MatIcon,
|
|
4406
|
+
}, directives: [i12__namespace.MatSelect, i11__namespace.MatOption, i5__namespace.MatButton, i5__namespace$1.StopPropagationDirective, i9__namespace.MatIcon, i7__namespace.NgForOf], pipes: [i6__namespace$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}"] });
|
|
4410
4407
|
(function () {
|
|
4411
4408
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(PoiButtonComponent, [{
|
|
4412
4409
|
type: i0.Component,
|
|
@@ -4482,7 +4479,7 @@
|
|
|
4482
4479
|
i0__namespace.ɵɵadvance(3);
|
|
4483
4480
|
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(15, 16, "igo.context.userButton.dialog.clearPreferences"), " ");
|
|
4484
4481
|
}
|
|
4485
|
-
}, directives: [i1__namespace$2.MatDialogTitle, i1__namespace$2.MatDialogContent, i5__namespace.MatButton, i1__namespace$2.MatDialogActions], pipes: [i6__namespace$
|
|
4482
|
+
}, directives: [i1__namespace$2.MatDialogTitle, i1__namespace$2.MatDialogContent, i5__namespace.MatButton, i1__namespace$2.MatDialogActions], pipes: [i6__namespace$1.TranslatePipe], encapsulation: 2 });
|
|
4486
4483
|
(function () {
|
|
4487
4484
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(UserDialogComponent, [{
|
|
4488
4485
|
type: i0.Component,
|
|
@@ -4611,7 +4608,7 @@
|
|
|
4611
4608
|
if (rf & 2) {
|
|
4612
4609
|
i0__namespace.ɵɵproperty("ngIf", ctx.visible);
|
|
4613
4610
|
}
|
|
4614
|
-
}, directives: [
|
|
4611
|
+
}, directives: [i7__namespace.NgIf, i5__namespace.MatButton, i6__namespace$2.MatTooltip, i9__namespace.MatIcon, PoiButtonComponent], pipes: [i6__namespace$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()] } });
|
|
4615
4612
|
(function () {
|
|
4616
4613
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(UserButtonComponent, [{
|
|
4617
4614
|
type: i0.Component,
|
|
@@ -4641,7 +4638,7 @@
|
|
|
4641
4638
|
IgoContextMapButtonModule.ɵfac = function IgoContextMapButtonModule_Factory(t) { return new (t || IgoContextMapButtonModule)(); };
|
|
4642
4639
|
IgoContextMapButtonModule.ɵmod = /*@__PURE__*/ i0__namespace.ɵɵdefineNgModule({ type: IgoContextMapButtonModule });
|
|
4643
4640
|
IgoContextMapButtonModule.ɵinj = /*@__PURE__*/ i0__namespace.ɵɵdefineInjector({ providers: [PoiService], imports: [[
|
|
4644
|
-
|
|
4641
|
+
i7.CommonModule,
|
|
4645
4642
|
i3.IgoLanguageModule,
|
|
4646
4643
|
i5$1.IgoConfirmDialogModule,
|
|
4647
4644
|
i5$1.IgoStopPropagationModule,
|
|
@@ -4651,7 +4648,7 @@
|
|
|
4651
4648
|
i5.MatButtonModule,
|
|
4652
4649
|
i12.MatSelectModule,
|
|
4653
4650
|
i11.MatOptionModule,
|
|
4654
|
-
i6$
|
|
4651
|
+
i6$2.MatTooltipModule,
|
|
4655
4652
|
i3$1.MatFormFieldModule,
|
|
4656
4653
|
i1$2.MatDialogModule,
|
|
4657
4654
|
i3$2.MatInputModule
|
|
@@ -4661,7 +4658,7 @@
|
|
|
4661
4658
|
type: i0.NgModule,
|
|
4662
4659
|
args: [{
|
|
4663
4660
|
imports: [
|
|
4664
|
-
|
|
4661
|
+
i7.CommonModule,
|
|
4665
4662
|
i3.IgoLanguageModule,
|
|
4666
4663
|
i5$1.IgoConfirmDialogModule,
|
|
4667
4664
|
i5$1.IgoStopPropagationModule,
|
|
@@ -4671,7 +4668,7 @@
|
|
|
4671
4668
|
i5.MatButtonModule,
|
|
4672
4669
|
i12.MatSelectModule,
|
|
4673
4670
|
i11.MatOptionModule,
|
|
4674
|
-
i6$
|
|
4671
|
+
i6$2.MatTooltipModule,
|
|
4675
4672
|
i3$1.MatFormFieldModule,
|
|
4676
4673
|
i1$2.MatDialogModule,
|
|
4677
4674
|
i3$2.MatInputModule
|
|
@@ -4695,7 +4692,7 @@
|
|
|
4695
4692
|
PoiButtonComponent,
|
|
4696
4693
|
PoiDialogComponent,
|
|
4697
4694
|
UserButtonComponent,
|
|
4698
|
-
UserDialogComponent], imports: [
|
|
4695
|
+
UserDialogComponent], imports: [i7.CommonModule,
|
|
4699
4696
|
i3.IgoLanguageModule,
|
|
4700
4697
|
i5$1.IgoConfirmDialogModule,
|
|
4701
4698
|
i5$1.IgoStopPropagationModule,
|
|
@@ -4705,7 +4702,7 @@
|
|
|
4705
4702
|
i5.MatButtonModule,
|
|
4706
4703
|
i12.MatSelectModule,
|
|
4707
4704
|
i11.MatOptionModule,
|
|
4708
|
-
i6$
|
|
4705
|
+
i6$2.MatTooltipModule,
|
|
4709
4706
|
i3$1.MatFormFieldModule,
|
|
4710
4707
|
i1$2.MatDialogModule,
|
|
4711
4708
|
i3$2.MatInputModule], exports: [BookmarkButtonComponent, PoiButtonComponent, UserButtonComponent, BookmarkDialogComponent] });
|
|
@@ -4728,19 +4725,19 @@
|
|
|
4728
4725
|
IgoContextManagerModule.ɵfac = function IgoContextManagerModule_Factory(t) { return new (t || IgoContextManagerModule)(); };
|
|
4729
4726
|
IgoContextManagerModule.ɵmod = /*@__PURE__*/ i0__namespace.ɵɵdefineNgModule({ type: IgoContextManagerModule });
|
|
4730
4727
|
IgoContextManagerModule.ɵinj = /*@__PURE__*/ i0__namespace.ɵɵdefineInjector({ imports: [[
|
|
4731
|
-
|
|
4728
|
+
i7.CommonModule,
|
|
4732
4729
|
i4.FormsModule,
|
|
4733
4730
|
i4.ReactiveFormsModule,
|
|
4734
4731
|
i3$1.MatFormFieldModule,
|
|
4735
4732
|
i3$2.MatInputModule,
|
|
4736
4733
|
i9.MatIconModule,
|
|
4737
4734
|
i5.MatButtonModule,
|
|
4738
|
-
i6$
|
|
4735
|
+
i6$2.MatTooltipModule,
|
|
4739
4736
|
i3$4.MatListModule,
|
|
4740
4737
|
i8.MatCheckboxModule,
|
|
4741
|
-
i6$
|
|
4738
|
+
i6$3.MatRadioModule,
|
|
4742
4739
|
i1$2.MatDialogModule,
|
|
4743
|
-
i7.MatMenuModule,
|
|
4740
|
+
i7$1.MatMenuModule,
|
|
4744
4741
|
i11.MatOptionModule,
|
|
4745
4742
|
i9$1.MatAutocompleteModule,
|
|
4746
4743
|
i2.IgoAuthModule,
|
|
@@ -4758,19 +4755,19 @@
|
|
|
4758
4755
|
type: i0.NgModule,
|
|
4759
4756
|
args: [{
|
|
4760
4757
|
imports: [
|
|
4761
|
-
|
|
4758
|
+
i7.CommonModule,
|
|
4762
4759
|
i4.FormsModule,
|
|
4763
4760
|
i4.ReactiveFormsModule,
|
|
4764
4761
|
i3$1.MatFormFieldModule,
|
|
4765
4762
|
i3$2.MatInputModule,
|
|
4766
4763
|
i9.MatIconModule,
|
|
4767
4764
|
i5.MatButtonModule,
|
|
4768
|
-
i6$
|
|
4765
|
+
i6$2.MatTooltipModule,
|
|
4769
4766
|
i3$4.MatListModule,
|
|
4770
4767
|
i8.MatCheckboxModule,
|
|
4771
|
-
i6$
|
|
4768
|
+
i6$3.MatRadioModule,
|
|
4772
4769
|
i1$2.MatDialogModule,
|
|
4773
|
-
i7.MatMenuModule,
|
|
4770
|
+
i7$1.MatMenuModule,
|
|
4774
4771
|
i11.MatOptionModule,
|
|
4775
4772
|
i9$1.MatAutocompleteModule,
|
|
4776
4773
|
i2.IgoAuthModule,
|
|
@@ -4815,19 +4812,19 @@
|
|
|
4815
4812
|
ContextEditBindingDirective,
|
|
4816
4813
|
ContextPermissionsComponent,
|
|
4817
4814
|
ContextPermissionsBindingDirective, MapContextDirective,
|
|
4818
|
-
LayerContextDirective], imports: [
|
|
4815
|
+
LayerContextDirective], imports: [i7.CommonModule,
|
|
4819
4816
|
i4.FormsModule,
|
|
4820
4817
|
i4.ReactiveFormsModule,
|
|
4821
4818
|
i3$1.MatFormFieldModule,
|
|
4822
4819
|
i3$2.MatInputModule,
|
|
4823
4820
|
i9.MatIconModule,
|
|
4824
4821
|
i5.MatButtonModule,
|
|
4825
|
-
i6$
|
|
4822
|
+
i6$2.MatTooltipModule,
|
|
4826
4823
|
i3$4.MatListModule,
|
|
4827
4824
|
i8.MatCheckboxModule,
|
|
4828
|
-
i6$
|
|
4825
|
+
i6$3.MatRadioModule,
|
|
4829
4826
|
i1$2.MatDialogModule,
|
|
4830
|
-
i7.MatMenuModule,
|
|
4827
|
+
i7$1.MatMenuModule,
|
|
4831
4828
|
i11.MatOptionModule,
|
|
4832
4829
|
i9$1.MatAutocompleteModule,
|
|
4833
4830
|
i2.IgoAuthModule,
|
|
@@ -4969,9 +4966,12 @@
|
|
|
4969
4966
|
if (contextLayersID.indexOf(layer.id) === -1) {
|
|
4970
4967
|
var linkUrl_1 = encodeURIComponent(layer.dataSource.options.url);
|
|
4971
4968
|
var addedLayer = '';
|
|
4969
|
+
var layerVersion = void 0;
|
|
4972
4970
|
switch (layer.dataSource.options.type.toLowerCase()) {
|
|
4973
4971
|
case 'wms':
|
|
4974
|
-
|
|
4972
|
+
var datasourceOptions = layer.dataSource.options;
|
|
4973
|
+
addedLayer = encodeURIComponent(datasourceOptions.params.LAYERS);
|
|
4974
|
+
layerVersion = datasourceOptions.params.VERSION === '1.3.0' ? layerVersion : datasourceOptions.params.VERSION;
|
|
4975
4975
|
break;
|
|
4976
4976
|
case 'wmts':
|
|
4977
4977
|
case 'arcgisrest':
|
|
@@ -4981,6 +4981,12 @@
|
|
|
4981
4981
|
break;
|
|
4982
4982
|
}
|
|
4983
4983
|
var addedLayerPosition_1 = addedLayer + ":igoz" + layer.zIndex;
|
|
4984
|
+
var version = '';
|
|
4985
|
+
if (layerVersion) {
|
|
4986
|
+
var operator = layer.dataSource.options.url.indexOf('?') === -1 ? '?' : '&';
|
|
4987
|
+
version = encodeURIComponent(operator + "VERSION=" + layerVersion);
|
|
4988
|
+
}
|
|
4989
|
+
linkUrl_1 = "" + linkUrl_1 + version;
|
|
4984
4990
|
if (!addedLayersByService.find(function (definedUrl) { return definedUrl.url === linkUrl_1; })) {
|
|
4985
4991
|
addedLayersByService.push({
|
|
4986
4992
|
url: linkUrl_1,
|
|
@@ -5266,7 +5272,7 @@
|
|
|
5266
5272
|
i0__namespace.ɵɵadvance(1);
|
|
5267
5273
|
i0__namespace.ɵɵproperty("ngIf", ctx.url);
|
|
5268
5274
|
}
|
|
5269
|
-
}, directives: [i4__namespace.ɵNgNoValidate, i4__namespace.NgControlStatusGroup, i4__namespace.FormGroupDirective, i3__namespace$1.MatFormField, i3__namespace$2.MatInput, i4__namespace.DefaultValueAccessor, i4__namespace.RequiredValidator, i4__namespace.NgControlStatus, i4__namespace.FormControlName, i3__namespace$1.MatError,
|
|
5275
|
+
}, directives: [i4__namespace.ɵNgNoValidate, i4__namespace.NgControlStatusGroup, i4__namespace.FormGroupDirective, i3__namespace$1.MatFormField, i3__namespace$2.MatInput, i4__namespace.DefaultValueAccessor, i4__namespace.RequiredValidator, i4__namespace.NgControlStatus, i4__namespace.FormControlName, i3__namespace$1.MatError, i7__namespace.NgIf, i5__namespace.MatButton, i6__namespace$2.MatTooltip, i9__namespace.MatIcon], pipes: [i6__namespace$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}"] });
|
|
5270
5276
|
(function () {
|
|
5271
5277
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(ShareMapApiComponent, [{
|
|
5272
5278
|
type: i0.Component,
|
|
@@ -5280,6 +5286,138 @@
|
|
|
5280
5286
|
}] });
|
|
5281
5287
|
})();
|
|
5282
5288
|
|
|
5289
|
+
function ShareMapUrlComponent_h4_13_Template(rf, ctx) {
|
|
5290
|
+
if (rf & 1) {
|
|
5291
|
+
i0__namespace.ɵɵelementStart(0, "h4");
|
|
5292
|
+
i0__namespace.ɵɵtext(1);
|
|
5293
|
+
i0__namespace.ɵɵpipe(2, "translate");
|
|
5294
|
+
i0__namespace.ɵɵelementEnd();
|
|
5295
|
+
}
|
|
5296
|
+
if (rf & 2) {
|
|
5297
|
+
i0__namespace.ɵɵadvance(1);
|
|
5298
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(2, 1, "igo.context.shareMap.included"));
|
|
5299
|
+
}
|
|
5300
|
+
}
|
|
5301
|
+
function ShareMapUrlComponent_li_16_Template(rf, ctx) {
|
|
5302
|
+
if (rf & 1) {
|
|
5303
|
+
i0__namespace.ɵɵelementStart(0, "li");
|
|
5304
|
+
i0__namespace.ɵɵtext(1);
|
|
5305
|
+
i0__namespace.ɵɵpipe(2, "translate");
|
|
5306
|
+
i0__namespace.ɵɵelementEnd();
|
|
5307
|
+
}
|
|
5308
|
+
if (rf & 2) {
|
|
5309
|
+
i0__namespace.ɵɵadvance(1);
|
|
5310
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(2, 1, "igo.context.shareMap.context"));
|
|
5311
|
+
}
|
|
5312
|
+
}
|
|
5313
|
+
function ShareMapUrlComponent_li_18_Template(rf, ctx) {
|
|
5314
|
+
if (rf & 1) {
|
|
5315
|
+
i0__namespace.ɵɵelementStart(0, "li");
|
|
5316
|
+
i0__namespace.ɵɵtext(1);
|
|
5317
|
+
i0__namespace.ɵɵpipe(2, "translate");
|
|
5318
|
+
i0__namespace.ɵɵelementEnd();
|
|
5319
|
+
}
|
|
5320
|
+
if (rf & 2) {
|
|
5321
|
+
i0__namespace.ɵɵadvance(1);
|
|
5322
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(2, 1, "igo.context.shareMap.center"));
|
|
5323
|
+
}
|
|
5324
|
+
}
|
|
5325
|
+
function ShareMapUrlComponent_li_20_Template(rf, ctx) {
|
|
5326
|
+
if (rf & 1) {
|
|
5327
|
+
i0__namespace.ɵɵelementStart(0, "li");
|
|
5328
|
+
i0__namespace.ɵɵtext(1);
|
|
5329
|
+
i0__namespace.ɵɵpipe(2, "translate");
|
|
5330
|
+
i0__namespace.ɵɵelementEnd();
|
|
5331
|
+
}
|
|
5332
|
+
if (rf & 2) {
|
|
5333
|
+
i0__namespace.ɵɵadvance(1);
|
|
5334
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(2, 1, "igo.context.shareMap.zoom"));
|
|
5335
|
+
}
|
|
5336
|
+
}
|
|
5337
|
+
function ShareMapUrlComponent_li_22_Template(rf, ctx) {
|
|
5338
|
+
if (rf & 1) {
|
|
5339
|
+
i0__namespace.ɵɵelementStart(0, "li");
|
|
5340
|
+
i0__namespace.ɵɵtext(1);
|
|
5341
|
+
i0__namespace.ɵɵpipe(2, "translate");
|
|
5342
|
+
i0__namespace.ɵɵelementEnd();
|
|
5343
|
+
}
|
|
5344
|
+
if (rf & 2) {
|
|
5345
|
+
i0__namespace.ɵɵadvance(1);
|
|
5346
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(2, 1, "igo.context.shareMap.addedLayers"));
|
|
5347
|
+
}
|
|
5348
|
+
}
|
|
5349
|
+
function ShareMapUrlComponent_li_24_Template(rf, ctx) {
|
|
5350
|
+
if (rf & 1) {
|
|
5351
|
+
i0__namespace.ɵɵelementStart(0, "li");
|
|
5352
|
+
i0__namespace.ɵɵtext(1);
|
|
5353
|
+
i0__namespace.ɵɵpipe(2, "translate");
|
|
5354
|
+
i0__namespace.ɵɵelementEnd();
|
|
5355
|
+
}
|
|
5356
|
+
if (rf & 2) {
|
|
5357
|
+
i0__namespace.ɵɵadvance(1);
|
|
5358
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(2, 1, "igo.context.shareMap.visibleInvisible"));
|
|
5359
|
+
}
|
|
5360
|
+
}
|
|
5361
|
+
function ShareMapUrlComponent_h4_26_Template(rf, ctx) {
|
|
5362
|
+
if (rf & 1) {
|
|
5363
|
+
i0__namespace.ɵɵelementStart(0, "h4");
|
|
5364
|
+
i0__namespace.ɵɵtext(1);
|
|
5365
|
+
i0__namespace.ɵɵpipe(2, "translate");
|
|
5366
|
+
i0__namespace.ɵɵelementEnd();
|
|
5367
|
+
}
|
|
5368
|
+
if (rf & 2) {
|
|
5369
|
+
i0__namespace.ɵɵadvance(1);
|
|
5370
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(2, 1, "igo.context.shareMap.excluded"));
|
|
5371
|
+
}
|
|
5372
|
+
}
|
|
5373
|
+
function ShareMapUrlComponent_li_29_Template(rf, ctx) {
|
|
5374
|
+
if (rf & 1) {
|
|
5375
|
+
i0__namespace.ɵɵelementStart(0, "li");
|
|
5376
|
+
i0__namespace.ɵɵtext(1);
|
|
5377
|
+
i0__namespace.ɵɵpipe(2, "translate");
|
|
5378
|
+
i0__namespace.ɵɵelementEnd();
|
|
5379
|
+
}
|
|
5380
|
+
if (rf & 2) {
|
|
5381
|
+
i0__namespace.ɵɵadvance(1);
|
|
5382
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(2, 1, "igo.context.shareMap.order"));
|
|
5383
|
+
}
|
|
5384
|
+
}
|
|
5385
|
+
function ShareMapUrlComponent_li_31_Template(rf, ctx) {
|
|
5386
|
+
if (rf & 1) {
|
|
5387
|
+
i0__namespace.ɵɵelementStart(0, "li");
|
|
5388
|
+
i0__namespace.ɵɵtext(1);
|
|
5389
|
+
i0__namespace.ɵɵpipe(2, "translate");
|
|
5390
|
+
i0__namespace.ɵɵelementEnd();
|
|
5391
|
+
}
|
|
5392
|
+
if (rf & 2) {
|
|
5393
|
+
i0__namespace.ɵɵadvance(1);
|
|
5394
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(2, 1, "igo.context.shareMap.opacity"));
|
|
5395
|
+
}
|
|
5396
|
+
}
|
|
5397
|
+
function ShareMapUrlComponent_li_33_Template(rf, ctx) {
|
|
5398
|
+
if (rf & 1) {
|
|
5399
|
+
i0__namespace.ɵɵelementStart(0, "li");
|
|
5400
|
+
i0__namespace.ɵɵtext(1);
|
|
5401
|
+
i0__namespace.ɵɵpipe(2, "translate");
|
|
5402
|
+
i0__namespace.ɵɵelementEnd();
|
|
5403
|
+
}
|
|
5404
|
+
if (rf & 2) {
|
|
5405
|
+
i0__namespace.ɵɵadvance(1);
|
|
5406
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(2, 1, "igo.context.shareMap.filterOgc"));
|
|
5407
|
+
}
|
|
5408
|
+
}
|
|
5409
|
+
function ShareMapUrlComponent_li_35_Template(rf, ctx) {
|
|
5410
|
+
if (rf & 1) {
|
|
5411
|
+
i0__namespace.ɵɵelementStart(0, "li");
|
|
5412
|
+
i0__namespace.ɵɵtext(1);
|
|
5413
|
+
i0__namespace.ɵɵpipe(2, "translate");
|
|
5414
|
+
i0__namespace.ɵɵelementEnd();
|
|
5415
|
+
}
|
|
5416
|
+
if (rf & 2) {
|
|
5417
|
+
i0__namespace.ɵɵadvance(1);
|
|
5418
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(2, 1, "igo.context.shareMap.filterTime"));
|
|
5419
|
+
}
|
|
5420
|
+
}
|
|
5283
5421
|
var ShareMapUrlComponent = /** @class */ (function () {
|
|
5284
5422
|
function ShareMapUrlComponent(languageService, messageService, shareMapService, cdRef) {
|
|
5285
5423
|
this.languageService = languageService;
|
|
@@ -5323,9 +5461,9 @@
|
|
|
5323
5461
|
return ShareMapUrlComponent;
|
|
5324
5462
|
}());
|
|
5325
5463
|
ShareMapUrlComponent.ɵfac = function ShareMapUrlComponent_Factory(t) { return new (t || ShareMapUrlComponent)(i0__namespace.ɵɵdirectiveInject(i3__namespace.LanguageService), i0__namespace.ɵɵdirectiveInject(i3__namespace.MessageService), i0__namespace.ɵɵdirectiveInject(ShareMapService), i0__namespace.ɵɵdirectiveInject(i0__namespace.ChangeDetectorRef)); };
|
|
5326
|
-
ShareMapUrlComponent.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: ShareMapUrlComponent, selectors: [["igo-share-map-url"]], inputs: { map: "map" }, decls:
|
|
5464
|
+
ShareMapUrlComponent.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵ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) {
|
|
5327
5465
|
if (rf & 1) {
|
|
5328
|
-
var
|
|
5466
|
+
var _r12_1 = i0__namespace.ɵɵgetCurrentView();
|
|
5329
5467
|
i0__namespace.ɵɵelementStart(0, "div", 0);
|
|
5330
5468
|
i0__namespace.ɵɵelementStart(1, "mat-form-field");
|
|
5331
5469
|
i0__namespace.ɵɵelement(2, "textarea", 1, 2);
|
|
@@ -5333,7 +5471,7 @@
|
|
|
5333
5471
|
i0__namespace.ɵɵelementEnd();
|
|
5334
5472
|
i0__namespace.ɵɵelementStart(5, "div", 3);
|
|
5335
5473
|
i0__namespace.ɵɵelementStart(6, "button", 4);
|
|
5336
|
-
i0__namespace.ɵɵlistener("click", function ShareMapUrlComponent_Template_button_click_6_listener() { i0__namespace.ɵɵrestoreView(
|
|
5474
|
+
i0__namespace.ɵɵlistener("click", function ShareMapUrlComponent_Template_button_click_6_listener() { i0__namespace.ɵɵrestoreView(_r12_1); var _r0 = i0__namespace.ɵɵreference(3); return ctx.copyTextToClipboard(_r0); });
|
|
5337
5475
|
i0__namespace.ɵɵelement(7, "mat-icon", 5);
|
|
5338
5476
|
i0__namespace.ɵɵtext(8);
|
|
5339
5477
|
i0__namespace.ɵɵpipe(9, "translate");
|
|
@@ -5342,53 +5480,31 @@
|
|
|
5342
5480
|
i0__namespace.ɵɵelementStart(10, "div");
|
|
5343
5481
|
i0__namespace.ɵɵelement(11, "br");
|
|
5344
5482
|
i0__namespace.ɵɵelementStart(12, "section", 6);
|
|
5345
|
-
i0__namespace.ɵɵ
|
|
5346
|
-
i0__namespace.ɵɵ
|
|
5347
|
-
i0__namespace.ɵɵ
|
|
5348
|
-
i0__namespace.ɵɵ
|
|
5349
|
-
i0__namespace.ɵɵ
|
|
5350
|
-
i0__namespace.ɵɵ
|
|
5351
|
-
i0__namespace.ɵɵtext(18);
|
|
5483
|
+
i0__namespace.ɵɵtemplate(13, ShareMapUrlComponent_h4_13_Template, 3, 3, "h4", 7);
|
|
5484
|
+
i0__namespace.ɵɵpipe(14, "translate");
|
|
5485
|
+
i0__namespace.ɵɵelementStart(15, "ul");
|
|
5486
|
+
i0__namespace.ɵɵtemplate(16, ShareMapUrlComponent_li_16_Template, 3, 3, "li", 7);
|
|
5487
|
+
i0__namespace.ɵɵpipe(17, "translate");
|
|
5488
|
+
i0__namespace.ɵɵtemplate(18, ShareMapUrlComponent_li_18_Template, 3, 3, "li", 7);
|
|
5352
5489
|
i0__namespace.ɵɵpipe(19, "translate");
|
|
5353
|
-
i0__namespace.ɵɵ
|
|
5354
|
-
i0__namespace.ɵɵ
|
|
5355
|
-
i0__namespace.ɵɵ
|
|
5356
|
-
i0__namespace.ɵɵpipe(
|
|
5357
|
-
i0__namespace.ɵɵ
|
|
5358
|
-
i0__namespace.ɵɵelementStart(23, "li");
|
|
5359
|
-
i0__namespace.ɵɵtext(24);
|
|
5490
|
+
i0__namespace.ɵɵtemplate(20, ShareMapUrlComponent_li_20_Template, 3, 3, "li", 7);
|
|
5491
|
+
i0__namespace.ɵɵpipe(21, "translate");
|
|
5492
|
+
i0__namespace.ɵɵtemplate(22, ShareMapUrlComponent_li_22_Template, 3, 3, "li", 7);
|
|
5493
|
+
i0__namespace.ɵɵpipe(23, "translate");
|
|
5494
|
+
i0__namespace.ɵɵtemplate(24, ShareMapUrlComponent_li_24_Template, 3, 3, "li", 7);
|
|
5360
5495
|
i0__namespace.ɵɵpipe(25, "translate");
|
|
5361
5496
|
i0__namespace.ɵɵelementEnd();
|
|
5362
|
-
i0__namespace.ɵɵ
|
|
5363
|
-
i0__namespace.ɵɵ
|
|
5364
|
-
i0__namespace.ɵɵ
|
|
5365
|
-
i0__namespace.ɵɵ
|
|
5366
|
-
i0__namespace.ɵɵ
|
|
5367
|
-
i0__namespace.ɵɵ
|
|
5368
|
-
i0__namespace.ɵɵpipe(
|
|
5369
|
-
i0__namespace.ɵɵ
|
|
5370
|
-
i0__namespace.ɵɵelementEnd();
|
|
5371
|
-
i0__namespace.ɵɵelementStart(32, "h4");
|
|
5372
|
-
i0__namespace.ɵɵtext(33);
|
|
5497
|
+
i0__namespace.ɵɵtemplate(26, ShareMapUrlComponent_h4_26_Template, 3, 3, "h4", 7);
|
|
5498
|
+
i0__namespace.ɵɵpipe(27, "translate");
|
|
5499
|
+
i0__namespace.ɵɵelementStart(28, "ul");
|
|
5500
|
+
i0__namespace.ɵɵtemplate(29, ShareMapUrlComponent_li_29_Template, 3, 3, "li", 7);
|
|
5501
|
+
i0__namespace.ɵɵpipe(30, "translate");
|
|
5502
|
+
i0__namespace.ɵɵtemplate(31, ShareMapUrlComponent_li_31_Template, 3, 3, "li", 7);
|
|
5503
|
+
i0__namespace.ɵɵpipe(32, "translate");
|
|
5504
|
+
i0__namespace.ɵɵtemplate(33, ShareMapUrlComponent_li_33_Template, 3, 3, "li", 7);
|
|
5373
5505
|
i0__namespace.ɵɵpipe(34, "translate");
|
|
5374
|
-
i0__namespace.ɵɵ
|
|
5375
|
-
i0__namespace.ɵɵ
|
|
5376
|
-
i0__namespace.ɵɵelementStart(36, "li");
|
|
5377
|
-
i0__namespace.ɵɵtext(37);
|
|
5378
|
-
i0__namespace.ɵɵpipe(38, "translate");
|
|
5379
|
-
i0__namespace.ɵɵelementEnd();
|
|
5380
|
-
i0__namespace.ɵɵelementStart(39, "li");
|
|
5381
|
-
i0__namespace.ɵɵtext(40);
|
|
5382
|
-
i0__namespace.ɵɵpipe(41, "translate");
|
|
5383
|
-
i0__namespace.ɵɵelementEnd();
|
|
5384
|
-
i0__namespace.ɵɵelementStart(42, "li");
|
|
5385
|
-
i0__namespace.ɵɵtext(43);
|
|
5386
|
-
i0__namespace.ɵɵpipe(44, "translate");
|
|
5387
|
-
i0__namespace.ɵɵelementEnd();
|
|
5388
|
-
i0__namespace.ɵɵelementStart(45, "li");
|
|
5389
|
-
i0__namespace.ɵɵtext(46);
|
|
5390
|
-
i0__namespace.ɵɵpipe(47, "translate");
|
|
5391
|
-
i0__namespace.ɵɵelementEnd();
|
|
5506
|
+
i0__namespace.ɵɵtemplate(35, ShareMapUrlComponent_li_35_Template, 3, 3, "li", 7);
|
|
5507
|
+
i0__namespace.ɵɵpipe(36, "translate");
|
|
5392
5508
|
i0__namespace.ɵɵelementEnd();
|
|
5393
5509
|
i0__namespace.ɵɵelementEnd();
|
|
5394
5510
|
i0__namespace.ɵɵelementEnd();
|
|
@@ -5399,30 +5515,30 @@
|
|
|
5399
5515
|
i0__namespace.ɵɵproperty("placeholder", i0__namespace.ɵɵpipeBind1(4, 14, "igo.context.shareMap.placeholderLink"))("value", ctx.url);
|
|
5400
5516
|
i0__namespace.ɵɵadvance(6);
|
|
5401
5517
|
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(9, 16, "igo.context.shareMap.copy"), " ");
|
|
5402
|
-
i0__namespace.ɵɵadvance(
|
|
5403
|
-
i0__namespace.ɵɵ
|
|
5404
|
-
i0__namespace.ɵɵadvance(4);
|
|
5405
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(19, 20, "igo.context.shareMap.context"));
|
|
5406
|
-
i0__namespace.ɵɵadvance(3);
|
|
5407
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(22, 22, "igo.context.shareMap.center"));
|
|
5408
|
-
i0__namespace.ɵɵadvance(3);
|
|
5409
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(25, 24, "igo.context.shareMap.zoom"));
|
|
5410
|
-
i0__namespace.ɵɵadvance(3);
|
|
5411
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(28, 26, "igo.context.shareMap.addedLayers"));
|
|
5412
|
-
i0__namespace.ɵɵadvance(3);
|
|
5413
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(31, 28, "igo.context.shareMap.visibleInvisible"));
|
|
5414
|
-
i0__namespace.ɵɵadvance(3);
|
|
5415
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(34, 30, "igo.context.shareMap.excluded"));
|
|
5416
|
-
i0__namespace.ɵɵadvance(4);
|
|
5417
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(38, 32, "igo.context.shareMap.order"));
|
|
5418
|
-
i0__namespace.ɵɵadvance(3);
|
|
5419
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(41, 34, "igo.context.shareMap.opacity"));
|
|
5518
|
+
i0__namespace.ɵɵadvance(5);
|
|
5519
|
+
i0__namespace.ɵɵproperty("ngIf", i0__namespace.ɵɵpipeBind1(14, 18, "igo.context.shareMap.included") !== "");
|
|
5420
5520
|
i0__namespace.ɵɵadvance(3);
|
|
5421
|
-
i0__namespace.ɵɵ
|
|
5521
|
+
i0__namespace.ɵɵproperty("ngIf", i0__namespace.ɵɵpipeBind1(17, 20, "igo.context.shareMap.context") !== "");
|
|
5522
|
+
i0__namespace.ɵɵadvance(2);
|
|
5523
|
+
i0__namespace.ɵɵproperty("ngIf", i0__namespace.ɵɵpipeBind1(19, 22, "igo.context.shareMap.center") !== "");
|
|
5524
|
+
i0__namespace.ɵɵadvance(2);
|
|
5525
|
+
i0__namespace.ɵɵproperty("ngIf", i0__namespace.ɵɵpipeBind1(21, 24, "igo.context.shareMap.zoom") !== "");
|
|
5526
|
+
i0__namespace.ɵɵadvance(2);
|
|
5527
|
+
i0__namespace.ɵɵproperty("ngIf", i0__namespace.ɵɵpipeBind1(23, 26, "igo.context.shareMap.addedLayers") !== "");
|
|
5528
|
+
i0__namespace.ɵɵadvance(2);
|
|
5529
|
+
i0__namespace.ɵɵproperty("ngIf", i0__namespace.ɵɵpipeBind1(25, 28, "igo.context.shareMap.visibleInvisible") !== "");
|
|
5530
|
+
i0__namespace.ɵɵadvance(2);
|
|
5531
|
+
i0__namespace.ɵɵproperty("ngIf", i0__namespace.ɵɵpipeBind1(27, 30, "igo.context.shareMap.excluded") !== "");
|
|
5422
5532
|
i0__namespace.ɵɵadvance(3);
|
|
5423
|
-
i0__namespace.ɵɵ
|
|
5533
|
+
i0__namespace.ɵɵproperty("ngIf", i0__namespace.ɵɵpipeBind1(30, 32, "igo.context.shareMap.order") !== "");
|
|
5534
|
+
i0__namespace.ɵɵadvance(2);
|
|
5535
|
+
i0__namespace.ɵɵproperty("ngIf", i0__namespace.ɵɵpipeBind1(32, 34, "igo.context.shareMap.opacity") !== "");
|
|
5536
|
+
i0__namespace.ɵɵadvance(2);
|
|
5537
|
+
i0__namespace.ɵɵproperty("ngIf", i0__namespace.ɵɵpipeBind1(34, 36, "igo.context.shareMap.filterOgc") !== "");
|
|
5538
|
+
i0__namespace.ɵɵadvance(2);
|
|
5539
|
+
i0__namespace.ɵɵproperty("ngIf", i0__namespace.ɵɵpipeBind1(36, 38, "igo.context.shareMap.filterTime") !== "");
|
|
5424
5540
|
}
|
|
5425
|
-
}, directives: [i3__namespace$1.MatFormField, i3__namespace$2.MatInput, i5__namespace.MatButton, i9__namespace.MatIcon], pipes: [i6__namespace$
|
|
5541
|
+
}, directives: [i3__namespace$1.MatFormField, i3__namespace$2.MatInput, i5__namespace.MatButton, i9__namespace.MatIcon, i7__namespace.NgIf], pipes: [i6__namespace$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}"] });
|
|
5426
5542
|
(function () {
|
|
5427
5543
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(ShareMapUrlComponent, [{
|
|
5428
5544
|
type: i0.Component,
|
|
@@ -5489,7 +5605,7 @@
|
|
|
5489
5605
|
i0__namespace.ɵɵadvance(1);
|
|
5490
5606
|
i0__namespace.ɵɵproperty("ngIf", !ctx.hasApi);
|
|
5491
5607
|
}
|
|
5492
|
-
}, directives: [
|
|
5608
|
+
}, directives: [i7__namespace.NgIf, i3__namespace$4.MatTabGroup, i3__namespace$4.MatTab, ShareMapApiComponent, ShareMapUrlComponent], pipes: [i6__namespace$1.TranslatePipe], styles: [""] });
|
|
5493
5609
|
(function () {
|
|
5494
5610
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(ShareMapComponent, [{
|
|
5495
5611
|
type: i0.Component,
|
|
@@ -5516,11 +5632,11 @@
|
|
|
5516
5632
|
IgoShareMapModule.ɵfac = function IgoShareMapModule_Factory(t) { return new (t || IgoShareMapModule)(); };
|
|
5517
5633
|
IgoShareMapModule.ɵmod = /*@__PURE__*/ i0__namespace.ɵɵdefineNgModule({ type: IgoShareMapModule });
|
|
5518
5634
|
IgoShareMapModule.ɵinj = /*@__PURE__*/ i0__namespace.ɵɵdefineInjector({ imports: [[
|
|
5519
|
-
|
|
5635
|
+
i7.CommonModule,
|
|
5520
5636
|
i4.FormsModule,
|
|
5521
5637
|
i4.ReactiveFormsModule,
|
|
5522
5638
|
i9.MatIconModule,
|
|
5523
|
-
i6$
|
|
5639
|
+
i6$2.MatTooltipModule,
|
|
5524
5640
|
i3$3.MatTabsModule,
|
|
5525
5641
|
i3$1.MatFormFieldModule,
|
|
5526
5642
|
i3$2.MatInputModule,
|
|
@@ -5532,11 +5648,11 @@
|
|
|
5532
5648
|
type: i0.NgModule,
|
|
5533
5649
|
args: [{
|
|
5534
5650
|
imports: [
|
|
5535
|
-
|
|
5651
|
+
i7.CommonModule,
|
|
5536
5652
|
i4.FormsModule,
|
|
5537
5653
|
i4.ReactiveFormsModule,
|
|
5538
5654
|
i9.MatIconModule,
|
|
5539
|
-
i6$
|
|
5655
|
+
i6$2.MatTooltipModule,
|
|
5540
5656
|
i3$3.MatTabsModule,
|
|
5541
5657
|
i3$1.MatFormFieldModule,
|
|
5542
5658
|
i3$2.MatInputModule,
|
|
@@ -5549,11 +5665,11 @@
|
|
|
5549
5665
|
}], null, null);
|
|
5550
5666
|
})();
|
|
5551
5667
|
(function () {
|
|
5552
|
-
(typeof ngJitMode === "undefined" || ngJitMode) && i0__namespace.ɵɵsetNgModuleScope(IgoShareMapModule, { declarations: [ShareMapComponent, ShareMapUrlComponent, ShareMapApiComponent], imports: [
|
|
5668
|
+
(typeof ngJitMode === "undefined" || ngJitMode) && i0__namespace.ɵɵsetNgModuleScope(IgoShareMapModule, { declarations: [ShareMapComponent, ShareMapUrlComponent, ShareMapApiComponent], imports: [i7.CommonModule,
|
|
5553
5669
|
i4.FormsModule,
|
|
5554
5670
|
i4.ReactiveFormsModule,
|
|
5555
5671
|
i9.MatIconModule,
|
|
5556
|
-
i6$
|
|
5672
|
+
i6$2.MatTooltipModule,
|
|
5557
5673
|
i3$3.MatTabsModule,
|
|
5558
5674
|
i3$1.MatFormFieldModule,
|
|
5559
5675
|
i3$2.MatInputModule,
|
|
@@ -5629,7 +5745,7 @@
|
|
|
5629
5745
|
var SidenavComponent = /** @class */ (function () {
|
|
5630
5746
|
function SidenavComponent(titleService) {
|
|
5631
5747
|
this.titleService = titleService;
|
|
5632
|
-
this.format = new GeoJSON__default[
|
|
5748
|
+
this.format = new GeoJSON__default["default"]();
|
|
5633
5749
|
this._title = this.titleService.getTitle();
|
|
5634
5750
|
this.topPanelState = 'initial';
|
|
5635
5751
|
}
|
|
@@ -5754,7 +5870,7 @@
|
|
|
5754
5870
|
i0__namespace.ɵɵadvance(2);
|
|
5755
5871
|
i0__namespace.ɵɵproperty("ngIf", ctx.feature && ctx.media !== "mobile");
|
|
5756
5872
|
}
|
|
5757
|
-
}, directives: [i2__namespace$1.MatSidenav, i5__namespace$1.FlexibleComponent, i5__namespace$1.PanelComponent,
|
|
5873
|
+
}, directives: [i2__namespace$1.MatSidenav, i5__namespace$1.FlexibleComponent, i5__namespace$1.PanelComponent, i7__namespace.NgIf, i5__namespace.MatButton, i6__namespace$2.MatTooltip, i9__namespace.MatIcon, i1__namespace$1.FeatureDetailsComponent], pipes: [i6__namespace$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%}"] });
|
|
5758
5874
|
(function () {
|
|
5759
5875
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(SidenavComponent, [{
|
|
5760
5876
|
type: i0.Component,
|
|
@@ -5791,11 +5907,11 @@
|
|
|
5791
5907
|
IgoSidenavModule.ɵfac = function IgoSidenavModule_Factory(t) { return new (t || IgoSidenavModule)(); };
|
|
5792
5908
|
IgoSidenavModule.ɵmod = /*@__PURE__*/ i0__namespace.ɵɵdefineNgModule({ type: IgoSidenavModule });
|
|
5793
5909
|
IgoSidenavModule.ɵinj = /*@__PURE__*/ i0__namespace.ɵɵdefineInjector({ imports: [[
|
|
5794
|
-
|
|
5910
|
+
i7.CommonModule,
|
|
5795
5911
|
i9.MatIconModule,
|
|
5796
5912
|
i5.MatButtonModule,
|
|
5797
5913
|
i2$1.MatSidenavModule,
|
|
5798
|
-
i6$
|
|
5914
|
+
i6$2.MatTooltipModule,
|
|
5799
5915
|
i3.IgoLanguageModule,
|
|
5800
5916
|
i5$1.IgoPanelModule,
|
|
5801
5917
|
i5$1.IgoFlexibleModule,
|
|
@@ -5807,11 +5923,11 @@
|
|
|
5807
5923
|
type: i0.NgModule,
|
|
5808
5924
|
args: [{
|
|
5809
5925
|
imports: [
|
|
5810
|
-
|
|
5926
|
+
i7.CommonModule,
|
|
5811
5927
|
i9.MatIconModule,
|
|
5812
5928
|
i5.MatButtonModule,
|
|
5813
5929
|
i2$1.MatSidenavModule,
|
|
5814
|
-
i6$
|
|
5930
|
+
i6$2.MatTooltipModule,
|
|
5815
5931
|
i3.IgoLanguageModule,
|
|
5816
5932
|
i5$1.IgoPanelModule,
|
|
5817
5933
|
i5$1.IgoFlexibleModule,
|
|
@@ -5824,11 +5940,11 @@
|
|
|
5824
5940
|
}], null, null);
|
|
5825
5941
|
})();
|
|
5826
5942
|
(function () {
|
|
5827
|
-
(typeof ngJitMode === "undefined" || ngJitMode) && i0__namespace.ɵɵsetNgModuleScope(IgoSidenavModule, { declarations: [SidenavComponent], imports: [
|
|
5943
|
+
(typeof ngJitMode === "undefined" || ngJitMode) && i0__namespace.ɵɵsetNgModuleScope(IgoSidenavModule, { declarations: [SidenavComponent], imports: [i7.CommonModule,
|
|
5828
5944
|
i9.MatIconModule,
|
|
5829
5945
|
i5.MatButtonModule,
|
|
5830
5946
|
i2$1.MatSidenavModule,
|
|
5831
|
-
i6$
|
|
5947
|
+
i6$2.MatTooltipModule,
|
|
5832
5948
|
i3.IgoLanguageModule,
|
|
5833
5949
|
i5$1.IgoPanelModule,
|
|
5834
5950
|
i5$1.IgoFlexibleModule,
|
|
@@ -5849,7 +5965,7 @@
|
|
|
5849
5965
|
}());
|
|
5850
5966
|
IgoContextModule.ɵfac = function IgoContextModule_Factory(t) { return new (t || IgoContextModule)(); };
|
|
5851
5967
|
IgoContextModule.ɵmod = /*@__PURE__*/ i0__namespace.ɵɵdefineNgModule({ type: IgoContextModule });
|
|
5852
|
-
IgoContextModule.ɵinj = /*@__PURE__*/ i0__namespace.ɵɵdefineInjector({ imports: [[i3$2.MatInputModule, i3$1.MatFormFieldModule, i7.MatMenuModule], IgoContextImportExportModule,
|
|
5968
|
+
IgoContextModule.ɵinj = /*@__PURE__*/ i0__namespace.ɵɵdefineInjector({ imports: [[i3$2.MatInputModule, i3$1.MatFormFieldModule, i7$1.MatMenuModule], IgoContextImportExportModule,
|
|
5853
5969
|
IgoContextManagerModule,
|
|
5854
5970
|
IgoContextMapButtonModule,
|
|
5855
5971
|
IgoShareMapModule,
|
|
@@ -5858,7 +5974,7 @@
|
|
|
5858
5974
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(IgoContextModule, [{
|
|
5859
5975
|
type: i0.NgModule,
|
|
5860
5976
|
args: [{
|
|
5861
|
-
imports: [i3$2.MatInputModule, i3$1.MatFormFieldModule, i7.MatMenuModule],
|
|
5977
|
+
imports: [i3$2.MatInputModule, i3$1.MatFormFieldModule, i7$1.MatMenuModule],
|
|
5862
5978
|
declarations: [],
|
|
5863
5979
|
exports: [
|
|
5864
5980
|
IgoContextImportExportModule,
|
|
@@ -5871,7 +5987,7 @@
|
|
|
5871
5987
|
}], null, null);
|
|
5872
5988
|
})();
|
|
5873
5989
|
(function () {
|
|
5874
|
-
(typeof ngJitMode === "undefined" || ngJitMode) && i0__namespace.ɵɵsetNgModuleScope(IgoContextModule, { imports: [i3$2.MatInputModule, i3$1.MatFormFieldModule, i7.MatMenuModule], exports: [IgoContextImportExportModule,
|
|
5990
|
+
(typeof ngJitMode === "undefined" || ngJitMode) && i0__namespace.ɵɵsetNgModuleScope(IgoContextModule, { imports: [i3$2.MatInputModule, i3$1.MatFormFieldModule, i7$1.MatMenuModule], exports: [IgoContextImportExportModule,
|
|
5875
5991
|
IgoContextManagerModule,
|
|
5876
5992
|
IgoContextMapButtonModule,
|
|
5877
5993
|
IgoShareMapModule,
|
|
@@ -5944,5 +6060,5 @@
|
|
|
5944
6060
|
|
|
5945
6061
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
5946
6062
|
|
|
5947
|
-
}))
|
|
6063
|
+
}));
|
|
5948
6064
|
//# sourceMappingURL=igo2-context.umd.js.map
|