@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
@@ -36,6 +36,7 @@ const CrowdsourceManager = class {
|
|
36
36
|
*/
|
37
37
|
this._shouldSetMapView = false;
|
38
38
|
this.appProxies = undefined;
|
39
|
+
this.basemapConfig = undefined;
|
39
40
|
this.defaultCenter = "";
|
40
41
|
this.defaultGlobalId = "";
|
41
42
|
this.defaultLayer = "";
|
@@ -43,26 +44,27 @@ const CrowdsourceManager = class {
|
|
43
44
|
this.defaultOid = "";
|
44
45
|
this.defaultWebmap = "";
|
45
46
|
this.enableAutoRefresh = false;
|
47
|
+
this.enableBasemap = true;
|
46
48
|
this.enableColumnReorder = true;
|
47
49
|
this.enableCSV = true;
|
48
50
|
this.enableFloorFilter = true;
|
49
51
|
this.enableFullscreen = true;
|
52
|
+
this.enableHome = true;
|
50
53
|
this.enableInlineEdit = false;
|
51
54
|
this.enableLegend = true;
|
52
55
|
this.enableSearch = true;
|
53
56
|
this.enableShare = false;
|
54
|
-
this.enableHome = true;
|
55
57
|
this.enableZoom = true;
|
56
|
-
this.
|
57
|
-
this.basemapConfig = undefined;
|
58
|
-
this.showNewestFirst = true;
|
58
|
+
this.hideMapOnLoad = undefined;
|
59
59
|
this.mapInfos = [];
|
60
60
|
this.onlyShowUpdatableLayers = true;
|
61
61
|
this.searchConfiguration = undefined;
|
62
62
|
this.shareIncludeEmbed = undefined;
|
63
63
|
this.shareIncludeSocial = undefined;
|
64
|
+
this.showNewestFirst = true;
|
64
65
|
this.theme = "light";
|
65
66
|
this.zoomAndScrollToSelected = false;
|
67
|
+
this.zoomToScale = undefined;
|
66
68
|
this._expandPopup = false;
|
67
69
|
this._hideFooter = false;
|
68
70
|
this._hideTable = false;
|
@@ -32,8 +32,11 @@ const CrowdsourceReporter = class {
|
|
32
32
|
this.objectId = undefined;
|
33
33
|
this.center = undefined;
|
34
34
|
this.level = undefined;
|
35
|
+
this.popupHeaderHoverColor = undefined;
|
36
|
+
this.popupHeaderColor = undefined;
|
35
37
|
this.reportButtonText = undefined;
|
36
38
|
this.reportsHeader = undefined;
|
39
|
+
this.reportingOptions = undefined;
|
37
40
|
this.reportSubmittedMessage = undefined;
|
38
41
|
this.searchConfiguration = undefined;
|
39
42
|
this.showComments = undefined;
|
@@ -43,6 +46,7 @@ const CrowdsourceReporter = class {
|
|
43
46
|
this.mapInfos = [];
|
44
47
|
this.theme = "light";
|
45
48
|
this.enableZoom = true;
|
49
|
+
this.zoomToScale = undefined;
|
46
50
|
this._mapInfo = undefined;
|
47
51
|
this._flowItems = [];
|
48
52
|
this._sidePanelCollapsed = false;
|
@@ -401,7 +405,7 @@ const CrowdsourceReporter = class {
|
|
401
405
|
// highlight the newly selected feature only when it has valid geometry
|
402
406
|
if (selectedFeature && selectedFeature.geometry && selectedFeature.layer) {
|
403
407
|
const selectedLayerView = await getFeatureLayerView(this.mapView, selectedFeature.layer.id);
|
404
|
-
// remove previous highlight options (if any) to highlight the feature by default color
|
408
|
+
// remove previous highlight options (if any) to highlight the feature by default color
|
405
409
|
selectedLayerView.highlightOptions = null;
|
406
410
|
this._highlightHandle = await highlightFeatures([selectedFeature.getObjectId()], selectedLayerView, this.mapView, true);
|
407
411
|
}
|
@@ -485,7 +489,7 @@ const CrowdsourceReporter = class {
|
|
485
489
|
var _a;
|
486
490
|
return !this._validLayers.includes(graphic.layer) && ((_a = graphic === null || graphic === void 0 ? void 0 : graphic.layer) === null || _a === void 0 ? void 0 : _a.id);
|
487
491
|
});
|
488
|
-
// if clicked graphic's layer is one of the reporting layers then show details in layer panel
|
492
|
+
// if clicked graphic's layer is one of the reporting layers then show details in layer panel
|
489
493
|
if (reportingLayerGraphics.length > 0) {
|
490
494
|
//update the selectedFeature
|
491
495
|
this.setSelectedFeatures(reportingLayerGraphics);
|