@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.
@@ -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,31 @@ 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
+ this.popupHeaderColor = undefined;
66
+ this.popupHeaderHoverColor = undefined;
67
+ this.popupHeaderHoverTextColor = undefined;
68
+ this.popupHeaderTextColor = undefined;
65
69
  this.searchConfiguration = undefined;
66
70
  this.shareIncludeEmbed = undefined;
67
71
  this.shareIncludeSocial = undefined;
72
+ this.showNewestFirst = true;
68
73
  this.theme = "light";
69
74
  this.zoomAndScrollToSelected = false;
75
+ this.zoomToScale = undefined;
70
76
  this._expandPopup = false;
71
77
  this._hideFooter = false;
72
78
  this._hideTable = false;
@@ -38,6 +38,7 @@ const CrowdsourceReporter = class {
38
38
  this.level = undefined;
39
39
  this.reportButtonText = undefined;
40
40
  this.reportsHeader = undefined;
41
+ this.reportingOptions = undefined;
41
42
  this.reportSubmittedMessage = undefined;
42
43
  this.searchConfiguration = undefined;
43
44
  this.showComments = undefined;
@@ -47,6 +48,7 @@ const CrowdsourceReporter = class {
47
48
  this.mapInfos = [];
48
49
  this.theme = "light";
49
50
  this.enableZoom = true;
51
+ this.zoomToScale = undefined;
50
52
  this._mapInfo = undefined;
51
53
  this._flowItems = [];
52
54
  this._sidePanelCollapsed = false;
@@ -405,7 +407,7 @@ const CrowdsourceReporter = class {
405
407
  // highlight the newly selected feature only when it has valid geometry
406
408
  if (selectedFeature && selectedFeature.geometry && selectedFeature.layer) {
407
409
  const selectedLayerView = await mapViewUtils.getFeatureLayerView(this.mapView, selectedFeature.layer.id);
408
- // remove previous highlight options (if any) to highlight the feature by default color
410
+ // remove previous highlight options (if any) to highlight the feature by default color
409
411
  selectedLayerView.highlightOptions = null;
410
412
  this._highlightHandle = await mapViewUtils.highlightFeatures([selectedFeature.getObjectId()], selectedLayerView, this.mapView, true);
411
413
  }
@@ -489,7 +491,7 @@ const CrowdsourceReporter = class {
489
491
  var _a;
490
492
  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
493
  });
492
- // if clicked graphic's layer is one of the reporting layers then show details in layer panel
494
+ // if clicked graphic's layer is one of the reporting layers then show details in layer panel
493
495
  if (reportingLayerGraphics.length > 0) {
494
496
  //update the selectedFeature
495
497
  this.setSelectedFeatures(reportingLayerGraphics);