@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
@@ -34,6 +34,7 @@ const CrowdsourceReporter = class {
|
|
34
34
|
this.level = undefined;
|
35
35
|
this.reportButtonText = undefined;
|
36
36
|
this.reportsHeader = undefined;
|
37
|
+
this.reportingOptions = undefined;
|
37
38
|
this.reportSubmittedMessage = undefined;
|
38
39
|
this.searchConfiguration = undefined;
|
39
40
|
this.showComments = undefined;
|
@@ -43,6 +44,7 @@ const CrowdsourceReporter = class {
|
|
43
44
|
this.mapInfos = [];
|
44
45
|
this.theme = "light";
|
45
46
|
this.enableZoom = true;
|
47
|
+
this.zoomToScale = undefined;
|
46
48
|
this._mapInfo = undefined;
|
47
49
|
this._flowItems = [];
|
48
50
|
this._sidePanelCollapsed = false;
|
@@ -401,7 +403,7 @@ const CrowdsourceReporter = class {
|
|
401
403
|
// highlight the newly selected feature only when it has valid geometry
|
402
404
|
if (selectedFeature && selectedFeature.geometry && selectedFeature.layer) {
|
403
405
|
const selectedLayerView = await getFeatureLayerView(this.mapView, selectedFeature.layer.id);
|
404
|
-
// remove previous highlight options (if any) to highlight the feature by default color
|
406
|
+
// remove previous highlight options (if any) to highlight the feature by default color
|
405
407
|
selectedLayerView.highlightOptions = null;
|
406
408
|
this._highlightHandle = await highlightFeatures([selectedFeature.getObjectId()], selectedLayerView, this.mapView, true);
|
407
409
|
}
|
@@ -485,7 +487,7 @@ const CrowdsourceReporter = class {
|
|
485
487
|
var _a;
|
486
488
|
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
489
|
});
|
488
|
-
// if clicked graphic's layer is one of the reporting layers then show details in layer panel
|
490
|
+
// if clicked graphic's layer is one of the reporting layers then show details in layer panel
|
489
491
|
if (reportingLayerGraphics.length > 0) {
|
490
492
|
//update the selectedFeature
|
491
493
|
this.setSelectedFeatures(reportingLayerGraphics);
|