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