@esri/solutions-components 0.8.6 → 0.8.8
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.
- package/dist/cjs/crowdsource-manager.cjs.entry.js +10 -4
- package/dist/cjs/crowdsource-reporter.cjs.entry.js +4 -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 +165 -57
- package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.js +42 -2
- package/dist/collection/utils/interfaces.ts +16 -0
- package/dist/components/crowdsource-manager.js +20 -8
- package/dist/components/crowdsource-reporter.js +6 -2
- package/dist/esm/crowdsource-manager.entry.js +10 -4
- package/dist/esm/crowdsource-reporter.entry.js +4 -2
- package/dist/esm/loader.js +1 -1
- package/dist/esm/solutions-components.js +1 -1
- package/dist/solutions-components/p-13ca3b00.entry.js +6 -0
- package/dist/solutions-components/p-a3a11749.entry.js +6 -0
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/solutions-components/utils/interfaces.ts +16 -0
- package/dist/types/components/crowdsource-manager/crowdsource-manager.d.ts +38 -14
- package/dist/types/components/crowdsource-reporter/crowdsource-reporter.d.ts +9 -1
- package/dist/types/components.d.ts +66 -2
- package/dist/types/utils/interfaces.d.ts +14 -0
- package/package.json +1 -1
- package/dist/solutions-components/p-273d833b.entry.js +0 -6
- package/dist/solutions-components/p-45ed16d5.entry.js +0 -6
@@ -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.
|
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);
|