@esri/solutions-components 0.8.6 → 0.8.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -36,6 +36,7 @@ const CrowdsourceManager = class {
36
36
  */
37
37
  this._shouldSetMapView = false;
38
38
  this.appProxies = undefined;
39
+ this.basemapConfig = undefined;
39
40
  this.defaultCenter = "";
40
41
  this.defaultGlobalId = "";
41
42
  this.defaultLayer = "";
@@ -43,26 +44,27 @@ const CrowdsourceManager = class {
43
44
  this.defaultOid = "";
44
45
  this.defaultWebmap = "";
45
46
  this.enableAutoRefresh = false;
47
+ this.enableBasemap = true;
46
48
  this.enableColumnReorder = true;
47
49
  this.enableCSV = true;
48
50
  this.enableFloorFilter = true;
49
51
  this.enableFullscreen = true;
52
+ this.enableHome = true;
50
53
  this.enableInlineEdit = false;
51
54
  this.enableLegend = true;
52
55
  this.enableSearch = true;
53
56
  this.enableShare = false;
54
- this.enableHome = true;
55
57
  this.enableZoom = true;
56
- this.enableBasemap = true;
57
- this.basemapConfig = undefined;
58
- this.showNewestFirst = true;
58
+ this.hideMapOnLoad = undefined;
59
59
  this.mapInfos = [];
60
60
  this.onlyShowUpdatableLayers = true;
61
61
  this.searchConfiguration = undefined;
62
62
  this.shareIncludeEmbed = undefined;
63
63
  this.shareIncludeSocial = undefined;
64
+ this.showNewestFirst = true;
64
65
  this.theme = "light";
65
66
  this.zoomAndScrollToSelected = false;
67
+ this.zoomToScale = undefined;
66
68
  this._expandPopup = false;
67
69
  this._hideFooter = false;
68
70
  this._hideTable = false;
@@ -32,8 +32,11 @@ const CrowdsourceReporter = class {
32
32
  this.objectId = undefined;
33
33
  this.center = undefined;
34
34
  this.level = undefined;
35
+ this.popupHeaderHoverColor = undefined;
36
+ this.popupHeaderColor = undefined;
35
37
  this.reportButtonText = undefined;
36
38
  this.reportsHeader = undefined;
39
+ this.reportingOptions = undefined;
37
40
  this.reportSubmittedMessage = undefined;
38
41
  this.searchConfiguration = undefined;
39
42
  this.showComments = undefined;
@@ -43,6 +46,7 @@ const CrowdsourceReporter = class {
43
46
  this.mapInfos = [];
44
47
  this.theme = "light";
45
48
  this.enableZoom = true;
49
+ this.zoomToScale = undefined;
46
50
  this._mapInfo = undefined;
47
51
  this._flowItems = [];
48
52
  this._sidePanelCollapsed = false;
@@ -401,7 +405,7 @@ const CrowdsourceReporter = class {
401
405
  // highlight the newly selected feature only when it has valid geometry
402
406
  if (selectedFeature && selectedFeature.geometry && selectedFeature.layer) {
403
407
  const selectedLayerView = await getFeatureLayerView(this.mapView, selectedFeature.layer.id);
404
- // remove previous highlight options (if any) to highlight the feature by default color
408
+ // remove previous highlight options (if any) to highlight the feature by default color
405
409
  selectedLayerView.highlightOptions = null;
406
410
  this._highlightHandle = await highlightFeatures([selectedFeature.getObjectId()], selectedLayerView, this.mapView, true);
407
411
  }
@@ -485,7 +489,7 @@ const CrowdsourceReporter = class {
485
489
  var _a;
486
490
  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
491
  });
488
- // if clicked graphic's layer is one of the reporting layers then show details in layer panel
492
+ // if clicked graphic's layer is one of the reporting layers then show details in layer panel
489
493
  if (reportingLayerGraphics.length > 0) {
490
494
  //update the selectedFeature
491
495
  this.setSelectedFeatures(reportingLayerGraphics);