@igo2/geo 19.0.0-next.3 → 19.0.0-next.5

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.
@@ -23,8 +23,8 @@ import * as i3 from '@igo2/core/activity';
23
23
  import * as i1$2 from '@igo2/core/config';
24
24
  import { ConfigService } from '@igo2/core/config';
25
25
  import html2canvas from 'html2canvas';
26
- import jsPDF from 'jspdf';
27
- import 'jspdf-autotable';
26
+ import jsPDF, { jsPDF as jsPDF$1 } from 'jspdf';
27
+ import { autoTable } from 'jspdf-autotable';
28
28
  import moment from 'moment';
29
29
  import * as i1 from '@angular/common/http';
30
30
  import { HttpParams, HttpClient, HttpHeaders } from '@angular/common/http';
@@ -7710,7 +7710,7 @@ class DirectionsService {
7710
7710
  downloadDirections(map, directions) {
7711
7711
  const activityId = this.activityService.register();
7712
7712
  const status$ = new Subject();
7713
- const doc = new jsPDF({
7713
+ const doc = new jsPDF$1({
7714
7714
  orientation: 'p',
7715
7715
  format: 'letter',
7716
7716
  unit: 'mm' // default
@@ -7836,7 +7836,7 @@ class DirectionsService {
7836
7836
  align: 'center'
7837
7837
  });
7838
7838
  const HTMLtable = await this.setHTMLTableDirections(directions);
7839
- doc.autoTable({
7839
+ autoTable(doc, {
7840
7840
  html: HTMLtable,
7841
7841
  startY: 30,
7842
7842
  margin: { top: 20, bottom: 20 },
@@ -10351,16 +10351,18 @@ class LayerItemComponent {
10351
10351
  }
10352
10352
  get visibilityTooltip() {
10353
10353
  if (this.viewerOptions.mode !== 'selection' &&
10354
- this.inResolutionRange$.getValue() === false) {
10355
- return 'igo.geo.layer.notInResolution';
10356
- }
10357
- else {
10358
- return this.layer.visible && this.isDisabled
10354
+ !this.inResolutionRange$.getValue()) {
10355
+ return this.layer.visible
10356
+ ? this.isDisabled
10357
+ ? 'igo.geo.layer.notInResolution'
10358
+ : 'igo.geo.layer.group.hideChildren'
10359
+ : 'igo.geo.layer.showLayer';
10360
+ }
10361
+ return this.layer.visible
10362
+ ? this.isDisabled
10359
10363
  ? 'igo.geo.layer.group.hideChildren'
10360
- : this.layer.visible
10361
- ? 'igo.geo.layer.hideLayer'
10362
- : 'igo.geo.layer.showLayer';
10363
- }
10364
+ : 'igo.geo.layer.hideLayer'
10365
+ : 'igo.geo.layer.showLayer';
10364
10366
  }
10365
10367
  constructor(networkService) {
10366
10368
  this.networkService = networkService;
@@ -37631,6 +37633,9 @@ class FeatureWorkspaceService {
37631
37633
  workspaceId: layer.id,
37632
37634
  enabled: true
37633
37635
  });
37636
+ if (!layer.options.linkedLayers) {
37637
+ layer.options.linkedLayers = { linkId: layer.id, links: [] };
37638
+ }
37634
37639
  const wks = new FeatureWorkspace({
37635
37640
  id: layer.id,
37636
37641
  title: layer.title,
@@ -37763,6 +37768,9 @@ class WfsWorkspaceService {
37763
37768
  workspaceId: layer.id,
37764
37769
  enabled: true
37765
37770
  });
37771
+ if (!layer.options.linkedLayers) {
37772
+ layer.options.linkedLayers = { linkId: layer.id, links: [] };
37773
+ }
37766
37774
  const wks = new WfsWorkspace({
37767
37775
  id: layer.id,
37768
37776
  title: layer.title,