@esri/solutions-components 0.8.6 → 0.8.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -34,6 +34,7 @@ const CrowdsourceReporter = class {
34
34
  this.level = undefined;
35
35
  this.reportButtonText = undefined;
36
36
  this.reportsHeader = undefined;
37
+ this.reportingOptions = undefined;
37
38
  this.reportSubmittedMessage = undefined;
38
39
  this.searchConfiguration = undefined;
39
40
  this.showComments = undefined;
@@ -43,6 +44,7 @@ const CrowdsourceReporter = class {
43
44
  this.mapInfos = [];
44
45
  this.theme = "light";
45
46
  this.enableZoom = true;
47
+ this.zoomToScale = undefined;
46
48
  this._mapInfo = undefined;
47
49
  this._flowItems = [];
48
50
  this._sidePanelCollapsed = false;
@@ -401,7 +403,7 @@ const CrowdsourceReporter = class {
401
403
  // highlight the newly selected feature only when it has valid geometry
402
404
  if (selectedFeature && selectedFeature.geometry && selectedFeature.layer) {
403
405
  const selectedLayerView = await getFeatureLayerView(this.mapView, selectedFeature.layer.id);
404
- // remove previous highlight options (if any) to highlight the feature by default color
406
+ // remove previous highlight options (if any) to highlight the feature by default color
405
407
  selectedLayerView.highlightOptions = null;
406
408
  this._highlightHandle = await highlightFeatures([selectedFeature.getObjectId()], selectedLayerView, this.mapView, true);
407
409
  }
@@ -485,7 +487,7 @@ const CrowdsourceReporter = class {
485
487
  var _a;
486
488
  return !this._validLayers.includes(graphic.layer) && ((_a = graphic === null || graphic === void 0 ? void 0 : graphic.layer) === null || _a === void 0 ? void 0 : _a.id);
487
489
  });
488
- // if clicked graphic's layer is one of the reporting layers then show details in layer panel
490
+ // if clicked graphic's layer is one of the reporting layers then show details in layer panel
489
491
  if (reportingLayerGraphics.length > 0) {
490
492
  //update the selectedFeature
491
493
  this.setSelectedFeatures(reportingLayerGraphics);