@esri/solutions-components 0.8.6 → 0.8.7
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 +6 -4
- package/dist/cjs/crowdsource-reporter.cjs.entry.js +6 -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 +102 -66
- package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.js +78 -2
- package/dist/collection/utils/interfaces.ts +16 -0
- package/dist/components/crowdsource-manager.js +12 -8
- package/dist/components/crowdsource-reporter.js +10 -2
- package/dist/esm/crowdsource-manager.entry.js +6 -4
- package/dist/esm/crowdsource-reporter.entry.js +6 -2
- package/dist/esm/loader.js +1 -1
- package/dist/esm/solutions-components.js +1 -1
- package/dist/solutions-components/p-6db185bf.entry.js +6 -0
- package/dist/solutions-components/p-e8f13354.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 +22 -14
- package/dist/types/components/crowdsource-reporter/crowdsource-reporter.d.ts +17 -1
- package/dist/types/components.d.ts +50 -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,27 @@ 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
65
|
this.searchConfiguration = undefined;
|
66
66
|
this.shareIncludeEmbed = undefined;
|
67
67
|
this.shareIncludeSocial = undefined;
|
68
|
+
this.showNewestFirst = true;
|
68
69
|
this.theme = "light";
|
69
70
|
this.zoomAndScrollToSelected = false;
|
71
|
+
this.zoomToScale = undefined;
|
70
72
|
this._expandPopup = false;
|
71
73
|
this._hideFooter = false;
|
72
74
|
this._hideTable = false;
|
@@ -36,8 +36,11 @@ const CrowdsourceReporter = class {
|
|
36
36
|
this.objectId = undefined;
|
37
37
|
this.center = undefined;
|
38
38
|
this.level = undefined;
|
39
|
+
this.popupHeaderHoverColor = undefined;
|
40
|
+
this.popupHeaderColor = undefined;
|
39
41
|
this.reportButtonText = undefined;
|
40
42
|
this.reportsHeader = undefined;
|
43
|
+
this.reportingOptions = undefined;
|
41
44
|
this.reportSubmittedMessage = undefined;
|
42
45
|
this.searchConfiguration = undefined;
|
43
46
|
this.showComments = undefined;
|
@@ -47,6 +50,7 @@ const CrowdsourceReporter = class {
|
|
47
50
|
this.mapInfos = [];
|
48
51
|
this.theme = "light";
|
49
52
|
this.enableZoom = true;
|
53
|
+
this.zoomToScale = undefined;
|
50
54
|
this._mapInfo = undefined;
|
51
55
|
this._flowItems = [];
|
52
56
|
this._sidePanelCollapsed = false;
|
@@ -405,7 +409,7 @@ const CrowdsourceReporter = class {
|
|
405
409
|
// highlight the newly selected feature only when it has valid geometry
|
406
410
|
if (selectedFeature && selectedFeature.geometry && selectedFeature.layer) {
|
407
411
|
const selectedLayerView = await mapViewUtils.getFeatureLayerView(this.mapView, selectedFeature.layer.id);
|
408
|
-
// remove previous highlight options (if any) to highlight the feature by default color
|
412
|
+
// remove previous highlight options (if any) to highlight the feature by default color
|
409
413
|
selectedLayerView.highlightOptions = null;
|
410
414
|
this._highlightHandle = await mapViewUtils.highlightFeatures([selectedFeature.getObjectId()], selectedLayerView, this.mapView, true);
|
411
415
|
}
|
@@ -489,7 +493,7 @@ const CrowdsourceReporter = class {
|
|
489
493
|
var _a;
|
490
494
|
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
495
|
});
|
492
|
-
// if clicked graphic's layer is one of the reporting layers then show details in layer panel
|
496
|
+
// if clicked graphic's layer is one of the reporting layers then show details in layer panel
|
493
497
|
if (reportingLayerGraphics.length > 0) {
|
494
498
|
//update the selectedFeature
|
495
499
|
this.setSelectedFeatures(reportingLayerGraphics);
|