@esri/solutions-components 0.10.8 → 0.10.9

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.
@@ -36,7 +36,6 @@ const CrowdsourceManager = class {
36
36
  this.enableAutoRefresh = false;
37
37
  this.enableBasemap = true;
38
38
  this.enableColumnReorder = true;
39
- this.enableCreateFeatures = true;
40
39
  this.enableCSV = true;
41
40
  this.enableFloorFilter = true;
42
41
  this.enableFullscreen = true;
@@ -59,6 +58,7 @@ const CrowdsourceManager = class {
59
58
  this.theme = "light";
60
59
  this.zoomAndScrollToSelected = false;
61
60
  this.zoomToScale = undefined;
61
+ this._enableCreateFeatures = true;
62
62
  this._hideFooter = false;
63
63
  this._hideTable = false;
64
64
  this._isMobile = false;
@@ -221,7 +221,7 @@ const CrowdsourceManager = class {
221
221
  render() {
222
222
  // only avoid border when we have a header color that is not white
223
223
  const borderClass = this.popupHeaderColor && this.popupHeaderColor !== "#FFFFFF" ? "border-width-0" : "";
224
- return (index.h(index.Host, { key: 'bbe12b471976652c32fc0cb6277fdfc4171b2cd6' }, index.h("calcite-shell", { key: '00b85d8e681f5ab021e6efb63b603e3d2442f63c', class: "position-relative" }, index.h("calcite-panel", { key: 'f1a37f06f3023bb1c63b40eeca739e942c301e63', class: `width-full height-full ${borderClass}` }, this._getBody(this._layoutMode, this._panelOpen, this._hideTable)), this._getFooter()), this._filterModal()));
224
+ return (index.h(index.Host, { key: '44041e4854d9d1da0f894c090e4b5455930b7a48' }, index.h("calcite-shell", { key: 'f11ed09226e43740677eefe01d42b70329b2485b', class: "position-relative" }, index.h("calcite-panel", { key: '6911478eaf00887e7b1578baba16989395dca190', class: `width-full height-full ${borderClass}` }, this._getBody(this._layoutMode, this._panelOpen, this._hideTable)), this._getFooter()), this._filterModal()));
225
225
  }
226
226
  /**
227
227
  * Called after each render
@@ -634,6 +634,7 @@ const CrowdsourceManager = class {
634
634
  */
635
635
  async _setMapView() {
636
636
  this._mapInfo = this._getMapInfo(this._mapChange.id);
637
+ this._enableCreateFeatures = this._mapInfo.enableCreateFeatures;
637
638
  this._mapView = this._mapChange.mapView;
638
639
  this._initMapZoom();
639
640
  this._mapView.popupEnabled = false;