@esri/solutions-components 0.10.8 → 0.10.9
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/crowdsource-manager.cjs.entry.js +3 -2
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/solutions-components.cjs.js +1 -1
- package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +4 -20
- package/dist/components/crowdsource-manager.js +4 -3
- package/dist/esm/crowdsource-manager.entry.js +3 -2
- package/dist/esm/loader.js +1 -1
- package/dist/esm/solutions-components.js +1 -1
- package/dist/solutions-components/p-7d514d7f.entry.js +6 -0
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/types/components/crowdsource-manager/crowdsource-manager.d.ts +4 -4
- package/dist/types/components.d.ts +0 -8
- package/package.json +5 -5
- package/dist/solutions-components/p-9af1cb14.entry.js +0 -6
@@ -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: '
|
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;
|