@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
@@ -38,7 +38,6 @@ export class CrowdsourceManager {
|
|
38
38
|
this.enableAutoRefresh = false;
|
39
39
|
this.enableBasemap = true;
|
40
40
|
this.enableColumnReorder = true;
|
41
|
-
this.enableCreateFeatures = true;
|
42
41
|
this.enableCSV = true;
|
43
42
|
this.enableFloorFilter = true;
|
44
43
|
this.enableFullscreen = true;
|
@@ -61,6 +60,7 @@ export class CrowdsourceManager {
|
|
61
60
|
this.theme = "light";
|
62
61
|
this.zoomAndScrollToSelected = false;
|
63
62
|
this.zoomToScale = undefined;
|
63
|
+
this._enableCreateFeatures = true;
|
64
64
|
this._hideFooter = false;
|
65
65
|
this._hideTable = false;
|
66
66
|
this._isMobile = false;
|
@@ -228,7 +228,7 @@ export class CrowdsourceManager {
|
|
228
228
|
render() {
|
229
229
|
// only avoid border when we have a header color that is not white
|
230
230
|
const borderClass = this.popupHeaderColor && this.popupHeaderColor !== "#FFFFFF" ? "border-width-0" : "";
|
231
|
-
return (h(Host, { key: '
|
231
|
+
return (h(Host, { key: '44041e4854d9d1da0f894c090e4b5455930b7a48' }, h("calcite-shell", { key: 'f11ed09226e43740677eefe01d42b70329b2485b', class: "position-relative" }, h("calcite-panel", { key: '6911478eaf00887e7b1578baba16989395dca190', class: `width-full height-full ${borderClass}` }, this._getBody(this._layoutMode, this._panelOpen, this._hideTable)), this._getFooter()), this._filterModal()));
|
232
232
|
}
|
233
233
|
/**
|
234
234
|
* Called after each render
|
@@ -641,6 +641,7 @@ export class CrowdsourceManager {
|
|
641
641
|
*/
|
642
642
|
async _setMapView() {
|
643
643
|
this._mapInfo = this._getMapInfo(this._mapChange.id);
|
644
|
+
this._enableCreateFeatures = this._mapInfo.enableCreateFeatures;
|
644
645
|
this._mapView = this._mapChange.mapView;
|
645
646
|
this._initMapZoom();
|
646
647
|
this._mapView.popupEnabled = false;
|
@@ -956,24 +957,6 @@ export class CrowdsourceManager {
|
|
956
957
|
"reflect": false,
|
957
958
|
"defaultValue": "true"
|
958
959
|
},
|
959
|
-
"enableCreateFeatures": {
|
960
|
-
"type": "boolean",
|
961
|
-
"mutable": false,
|
962
|
-
"complexType": {
|
963
|
-
"original": "boolean",
|
964
|
-
"resolved": "boolean",
|
965
|
-
"references": {}
|
966
|
-
},
|
967
|
-
"required": false,
|
968
|
-
"optional": false,
|
969
|
-
"docs": {
|
970
|
-
"tags": [],
|
971
|
-
"text": "boolean: when true the users can have the option to create features"
|
972
|
-
},
|
973
|
-
"attribute": "enable-create-features",
|
974
|
-
"reflect": false,
|
975
|
-
"defaultValue": "true"
|
976
|
-
},
|
977
960
|
"enableCSV": {
|
978
961
|
"type": "boolean",
|
979
962
|
"mutable": false,
|
@@ -1380,6 +1363,7 @@ export class CrowdsourceManager {
|
|
1380
1363
|
}
|
1381
1364
|
static get states() {
|
1382
1365
|
return {
|
1366
|
+
"_enableCreateFeatures": {},
|
1383
1367
|
"_hideFooter": {},
|
1384
1368
|
"_hideTable": {},
|
1385
1369
|
"_isMobile": {},
|
@@ -88,7 +88,6 @@ const CrowdsourceManager$1 = /*@__PURE__*/ proxyCustomElement(class CrowdsourceM
|
|
88
88
|
this.enableAutoRefresh = false;
|
89
89
|
this.enableBasemap = true;
|
90
90
|
this.enableColumnReorder = true;
|
91
|
-
this.enableCreateFeatures = true;
|
92
91
|
this.enableCSV = true;
|
93
92
|
this.enableFloorFilter = true;
|
94
93
|
this.enableFullscreen = true;
|
@@ -111,6 +110,7 @@ const CrowdsourceManager$1 = /*@__PURE__*/ proxyCustomElement(class CrowdsourceM
|
|
111
110
|
this.theme = "light";
|
112
111
|
this.zoomAndScrollToSelected = false;
|
113
112
|
this.zoomToScale = undefined;
|
113
|
+
this._enableCreateFeatures = true;
|
114
114
|
this._hideFooter = false;
|
115
115
|
this._hideTable = false;
|
116
116
|
this._isMobile = false;
|
@@ -273,7 +273,7 @@ const CrowdsourceManager$1 = /*@__PURE__*/ proxyCustomElement(class CrowdsourceM
|
|
273
273
|
render() {
|
274
274
|
// only avoid border when we have a header color that is not white
|
275
275
|
const borderClass = this.popupHeaderColor && this.popupHeaderColor !== "#FFFFFF" ? "border-width-0" : "";
|
276
|
-
return (h(Host, { key: '
|
276
|
+
return (h(Host, { key: '44041e4854d9d1da0f894c090e4b5455930b7a48' }, h("calcite-shell", { key: 'f11ed09226e43740677eefe01d42b70329b2485b', class: "position-relative" }, h("calcite-panel", { key: '6911478eaf00887e7b1578baba16989395dca190', class: `width-full height-full ${borderClass}` }, this._getBody(this._layoutMode, this._panelOpen, this._hideTable)), this._getFooter()), this._filterModal()));
|
277
277
|
}
|
278
278
|
/**
|
279
279
|
* Called after each render
|
@@ -686,6 +686,7 @@ const CrowdsourceManager$1 = /*@__PURE__*/ proxyCustomElement(class CrowdsourceM
|
|
686
686
|
*/
|
687
687
|
async _setMapView() {
|
688
688
|
this._mapInfo = this._getMapInfo(this._mapChange.id);
|
689
|
+
this._enableCreateFeatures = this._mapInfo.enableCreateFeatures;
|
689
690
|
this._mapView = this._mapChange.mapView;
|
690
691
|
this._initMapZoom();
|
691
692
|
this._mapView.popupEnabled = false;
|
@@ -749,7 +750,6 @@ const CrowdsourceManager$1 = /*@__PURE__*/ proxyCustomElement(class CrowdsourceM
|
|
749
750
|
"enableAutoRefresh": [4, "enable-auto-refresh"],
|
750
751
|
"enableBasemap": [4, "enable-basemap"],
|
751
752
|
"enableColumnReorder": [4, "enable-column-reorder"],
|
752
|
-
"enableCreateFeatures": [4, "enable-create-features"],
|
753
753
|
"enableCSV": [4, "enable-c-s-v"],
|
754
754
|
"enableFloorFilter": [4, "enable-floor-filter"],
|
755
755
|
"enableFullscreen": [4, "enable-fullscreen"],
|
@@ -772,6 +772,7 @@ const CrowdsourceManager$1 = /*@__PURE__*/ proxyCustomElement(class CrowdsourceM
|
|
772
772
|
"theme": [1],
|
773
773
|
"zoomAndScrollToSelected": [4, "zoom-and-scroll-to-selected"],
|
774
774
|
"zoomToScale": [2, "zoom-to-scale"],
|
775
|
+
"_enableCreateFeatures": [32],
|
775
776
|
"_hideFooter": [32],
|
776
777
|
"_hideTable": [32],
|
777
778
|
"_isMobile": [32],
|
@@ -32,7 +32,6 @@ const CrowdsourceManager = class {
|
|
32
32
|
this.enableAutoRefresh = false;
|
33
33
|
this.enableBasemap = true;
|
34
34
|
this.enableColumnReorder = true;
|
35
|
-
this.enableCreateFeatures = true;
|
36
35
|
this.enableCSV = true;
|
37
36
|
this.enableFloorFilter = true;
|
38
37
|
this.enableFullscreen = true;
|
@@ -55,6 +54,7 @@ const CrowdsourceManager = class {
|
|
55
54
|
this.theme = "light";
|
56
55
|
this.zoomAndScrollToSelected = false;
|
57
56
|
this.zoomToScale = undefined;
|
57
|
+
this._enableCreateFeatures = true;
|
58
58
|
this._hideFooter = false;
|
59
59
|
this._hideTable = false;
|
60
60
|
this._isMobile = false;
|
@@ -217,7 +217,7 @@ const CrowdsourceManager = class {
|
|
217
217
|
render() {
|
218
218
|
// only avoid border when we have a header color that is not white
|
219
219
|
const borderClass = this.popupHeaderColor && this.popupHeaderColor !== "#FFFFFF" ? "border-width-0" : "";
|
220
|
-
return (h(Host, { key: '
|
220
|
+
return (h(Host, { key: '44041e4854d9d1da0f894c090e4b5455930b7a48' }, h("calcite-shell", { key: 'f11ed09226e43740677eefe01d42b70329b2485b', class: "position-relative" }, h("calcite-panel", { key: '6911478eaf00887e7b1578baba16989395dca190', class: `width-full height-full ${borderClass}` }, this._getBody(this._layoutMode, this._panelOpen, this._hideTable)), this._getFooter()), this._filterModal()));
|
221
221
|
}
|
222
222
|
/**
|
223
223
|
* Called after each render
|
@@ -630,6 +630,7 @@ const CrowdsourceManager = class {
|
|
630
630
|
*/
|
631
631
|
async _setMapView() {
|
632
632
|
this._mapInfo = this._getMapInfo(this._mapChange.id);
|
633
|
+
this._enableCreateFeatures = this._mapInfo.enableCreateFeatures;
|
633
634
|
this._mapView = this._mapChange.mapView;
|
634
635
|
this._initMapZoom();
|
635
636
|
this._mapView.popupEnabled = false;
|