@esri/solutions-components 0.8.5 → 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/assets/t9n/crowdsource-reporter/resources.json +5 -6
- package/dist/assets/t9n/crowdsource-reporter/resources_en.json +5 -6
- package/dist/assets/t9n/feature-list/resources.json +1 -1
- package/dist/assets/t9n/feature-list/resources_en.json +1 -1
- package/dist/assets/t9n/public-notification/resources.json +3 -1
- package/dist/assets/t9n/public-notification/resources_en.json +3 -1
- package/dist/cjs/buffer-tools_3.cjs.entry.js +2 -2
- package/dist/cjs/calcite-alert_4.cjs.entry.js +2 -2
- package/dist/cjs/calcite-combobox_5.cjs.entry.js +2 -2
- package/dist/cjs/calcite-flow_5.cjs.entry.js +163 -16
- package/dist/cjs/crowdsource-manager.cjs.entry.js +6 -4
- package/dist/cjs/crowdsource-reporter.cjs.entry.js +124 -38
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/map-select-tools_3.cjs.entry.js +2 -2
- package/dist/cjs/public-notification.cjs.entry.js +110 -4
- package/dist/cjs/{publicNotificationStore-ef379d11.js → publicNotificationStore-e790601d.js} +2 -2
- package/dist/cjs/solutions-components.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/create-feature/create-feature.css +9 -0
- package/dist/collection/components/create-feature/create-feature.js +134 -6
- package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +102 -66
- package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.css +5 -0
- package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.js +196 -38
- package/dist/collection/components/feature-list/feature-list.js +93 -5
- package/dist/collection/components/info-card/info-card.css +1 -1
- package/dist/collection/components/info-card/info-card.js +1 -1
- package/dist/collection/components/layer-list/layer-list.js +6 -6
- package/dist/collection/components/map-draw-tools/map-draw-tools.js +1 -1
- package/dist/collection/components/map-layer-picker/map-layer-picker.js +1 -1
- package/dist/collection/components/map-select-tools/map-select-tools.js +1 -1
- package/dist/collection/components/public-notification/public-notification.js +110 -3
- package/dist/collection/demos/crowdsource-reporter.html +1 -1
- package/dist/collection/utils/interfaces.ts +23 -0
- package/dist/collection/utils/publicNotificationStore.js +2 -2
- package/dist/collection/utils/publicNotificationStore.ts +3 -2
- package/dist/components/create-feature2.js +111 -7
- package/dist/components/crowdsource-manager.js +12 -8
- package/dist/components/crowdsource-reporter.js +129 -39
- package/dist/components/feature-list2.js +54 -6
- package/dist/components/info-card2.js +2 -2
- package/dist/components/layer-list2.js +6 -6
- package/dist/components/map-draw-tools2.js +1 -1
- package/dist/components/map-layer-picker2.js +1 -1
- package/dist/components/map-select-tools2.js +1 -1
- package/dist/components/public-notification.js +110 -3
- package/dist/components/publicNotificationStore.js +2 -2
- package/dist/esm/buffer-tools_3.entry.js +2 -2
- package/dist/esm/calcite-alert_4.entry.js +3 -3
- package/dist/esm/calcite-combobox_5.entry.js +3 -3
- package/dist/esm/calcite-flow_5.entry.js +164 -17
- package/dist/esm/card-manager_3.entry.js +2 -2
- package/dist/esm/crowdsource-manager.entry.js +7 -5
- package/dist/esm/crowdsource-reporter.entry.js +125 -39
- package/dist/esm/{downloadUtils-0c13073b.js → downloadUtils-0c1e4d7b.js} +2 -2
- package/dist/esm/{index.es-ad250bc6.js → index.es-286e3cfa.js} +2 -2
- package/dist/esm/loader.js +1 -1
- package/dist/esm/map-select-tools_3.entry.js +4 -4
- package/dist/esm/{mapViewUtils-20504620.js → mapViewUtils-253178f1.js} +1 -1
- package/dist/esm/public-notification.entry.js +112 -6
- package/dist/esm/{publicNotificationStore-3bf4de75.js → publicNotificationStore-223faed2.js} +2 -2
- package/dist/esm/solutions-components.js +1 -1
- package/dist/solutions-components/demos/crowdsource-reporter.html +1 -1
- package/dist/solutions-components/p-15f9624a.entry.js +6 -0
- package/dist/solutions-components/{p-955647ea.entry.js → p-1ea5e061.entry.js} +2 -2
- package/dist/solutions-components/{p-590a2a26.js → p-212b02e7.js} +1 -1
- package/dist/solutions-components/p-238d3b5f.entry.js +6 -0
- package/dist/solutions-components/{p-cc280aa1.js → p-322868ec.js} +1 -1
- package/dist/solutions-components/{p-1d3a1794.js → p-331b5d1e.js} +2 -2
- package/dist/solutions-components/{p-c897e3eb.js → p-3af79063.js} +1 -1
- package/dist/solutions-components/p-6db185bf.entry.js +6 -0
- package/dist/solutions-components/p-80b11ec1.entry.js +17 -0
- package/dist/solutions-components/{p-5c7e3941.entry.js → p-813fd8a4.entry.js} +2 -2
- package/dist/solutions-components/{p-ff302d95.entry.js → p-d136eab0.entry.js} +2 -2
- package/dist/solutions-components/p-e0446d5b.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 +23 -0
- package/dist/solutions-components/utils/publicNotificationStore.ts +3 -2
- package/dist/types/components/create-feature/create-feature.d.ts +43 -1
- package/dist/types/components/crowdsource-manager/crowdsource-manager.d.ts +22 -14
- package/dist/types/components/crowdsource-reporter/crowdsource-reporter.d.ts +48 -11
- package/dist/types/components/feature-list/feature-list.d.ts +31 -0
- package/dist/types/components/layer-list/layer-list.d.ts +3 -3
- package/dist/types/components/public-notification/public-notification.d.ts +48 -0
- package/dist/types/components.d.ts +71 -2
- package/dist/types/utils/interfaces.d.ts +20 -0
- package/dist/types/utils/publicNotificationStore.d.ts +2 -1
- package/package.json +1 -1
- package/dist/solutions-components/p-6512dc44.entry.js +0 -6
- package/dist/solutions-components/p-6f65682c.entry.js +0 -6
- package/dist/solutions-components/p-989bf0bf.entry.js +0 -6
- package/dist/solutions-components/p-a0611720.entry.js +0 -6
- package/dist/solutions-components/p-b8c12736.entry.js +0 -6
- package/dist/solutions-components/p-efe1694a.entry.js +0 -17
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
"components/consent-manager/consent-manager.js",
|
|
8
8
|
"components/create-feature/create-feature.js",
|
|
9
9
|
"components/crowdsource-manager/crowdsource-manager.js",
|
|
10
|
+
"components/layer-list/layer-list.js",
|
|
10
11
|
"components/crowdsource-reporter/crowdsource-reporter.js",
|
|
11
12
|
"components/deduct-calculator/deduct-calculator.js",
|
|
12
13
|
"components/delete-button/delete-button.js",
|
|
@@ -18,7 +19,6 @@
|
|
|
18
19
|
"components/floor-filter/floor-filter.js",
|
|
19
20
|
"components/info-card/info-card.js",
|
|
20
21
|
"components/json-editor/json-editor.js",
|
|
21
|
-
"components/layer-list/layer-list.js",
|
|
22
22
|
"components/layer-table/layer-table.js",
|
|
23
23
|
"components/layout-manager/layout-manager.js",
|
|
24
24
|
"components/list-flow-item/list-flow-item.js",
|
|
@@ -47,4 +47,13 @@
|
|
|
47
47
|
.esri-editor .esri-item-list__filter-container--sticky {
|
|
48
48
|
padding-block: 0px !important;
|
|
49
49
|
padding-inline: 10px !important;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.search-widget {
|
|
53
|
+
width: 92% !important;
|
|
54
|
+
margin: 5px 0 20px 14px;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.display-none {
|
|
58
|
+
display: none !important;
|
|
50
59
|
}
|
|
@@ -18,14 +18,16 @@
|
|
|
18
18
|
* See the License for the specific language governing permissions and
|
|
19
19
|
* limitations under the License.
|
|
20
20
|
*/
|
|
21
|
-
import {
|
|
21
|
+
import { Fragment, h } from "@stencil/core";
|
|
22
22
|
import { loadModules } from "../../utils/loadModules";
|
|
23
|
-
import { getAllLayers } from "../../utils/mapViewUtils";
|
|
23
|
+
import { getAllLayers, getLayerOrTable } from "../../utils/mapViewUtils";
|
|
24
24
|
export class CreateFeature {
|
|
25
25
|
constructor() {
|
|
26
26
|
this.mapView = undefined;
|
|
27
27
|
this.selectedLayerId = undefined;
|
|
28
28
|
this.customizeSubmit = false;
|
|
29
|
+
this.searchConfiguration = undefined;
|
|
30
|
+
this.showSearchWidget = undefined;
|
|
29
31
|
}
|
|
30
32
|
//--------------------------------------------------------------------------
|
|
31
33
|
//
|
|
@@ -85,7 +87,8 @@ export class CreateFeature {
|
|
|
85
87
|
* Renders the component.
|
|
86
88
|
*/
|
|
87
89
|
render() {
|
|
88
|
-
|
|
90
|
+
const showSearchWidget = this.showSearchWidget ? '' : 'display-none';
|
|
91
|
+
return (h(Fragment, null, h("div", { id: "feature-form" }), h("div", { class: `search-widget ${showSearchWidget}`, id: "search-widget-ref" })));
|
|
89
92
|
}
|
|
90
93
|
//--------------------------------------------------------------------------
|
|
91
94
|
//
|
|
@@ -93,11 +96,12 @@ export class CreateFeature {
|
|
|
93
96
|
//
|
|
94
97
|
//--------------------------------------------------------------------------
|
|
95
98
|
/**
|
|
96
|
-
* Init Editor widget and
|
|
99
|
+
* Init Editor widget and Search widget
|
|
97
100
|
*/
|
|
98
101
|
async init() {
|
|
99
102
|
if (this.mapView && this.selectedLayerId) {
|
|
100
103
|
await this.createEditorWidget();
|
|
104
|
+
await this.createSearchWidget();
|
|
101
105
|
}
|
|
102
106
|
}
|
|
103
107
|
/**
|
|
@@ -106,12 +110,14 @@ export class CreateFeature {
|
|
|
106
110
|
* @protected
|
|
107
111
|
*/
|
|
108
112
|
async initModules() {
|
|
109
|
-
const [Editor, reactiveUtils] = await loadModules([
|
|
113
|
+
const [Editor, reactiveUtils, Search] = await loadModules([
|
|
110
114
|
"esri/widgets/Editor",
|
|
111
|
-
"esri/core/reactiveUtils"
|
|
115
|
+
"esri/core/reactiveUtils",
|
|
116
|
+
"esri/widgets/Search"
|
|
112
117
|
]);
|
|
113
118
|
this.Editor = Editor;
|
|
114
119
|
this.reactiveUtils = reactiveUtils;
|
|
120
|
+
this.Search = Search;
|
|
115
121
|
}
|
|
116
122
|
/**
|
|
117
123
|
* Display editor widget to create the new feature
|
|
@@ -165,6 +171,13 @@ export class CreateFeature {
|
|
|
165
171
|
}
|
|
166
172
|
});
|
|
167
173
|
this._editor.viewModel.addHandles(handle);
|
|
174
|
+
//Add handle to watch editor viewmodel state and then show the search widget
|
|
175
|
+
const formHandle = this.reactiveUtils.watch(() => this._editor.viewModel.state, (state) => {
|
|
176
|
+
if (state === 'creating-features') {
|
|
177
|
+
this.showSearchWidget = true;
|
|
178
|
+
}
|
|
179
|
+
});
|
|
180
|
+
this._editor.viewModel.addHandles(formHandle);
|
|
168
181
|
}
|
|
169
182
|
/**
|
|
170
183
|
* Start creating the feature
|
|
@@ -183,6 +196,7 @@ export class CreateFeature {
|
|
|
183
196
|
//on sketch complete emit the event
|
|
184
197
|
this._editor.viewModel.sketchViewModel.on("create", (evt) => {
|
|
185
198
|
if (evt.state === "complete") {
|
|
199
|
+
this.showSearchWidget = false;
|
|
186
200
|
this.drawComplete.emit();
|
|
187
201
|
}
|
|
188
202
|
});
|
|
@@ -199,6 +213,94 @@ export class CreateFeature {
|
|
|
199
213
|
this.hideEditorsElements();
|
|
200
214
|
}
|
|
201
215
|
}
|
|
216
|
+
/**
|
|
217
|
+
* Display search widget to search location
|
|
218
|
+
* @protected
|
|
219
|
+
*/
|
|
220
|
+
async createSearchWidget() {
|
|
221
|
+
let searchOptions = {
|
|
222
|
+
view: this.mapView,
|
|
223
|
+
};
|
|
224
|
+
if (this.searchConfiguration) {
|
|
225
|
+
const searchConfiguration = this._getSearchConfig(this.searchConfiguration, this.mapView);
|
|
226
|
+
searchOptions = Object.assign({}, searchConfiguration);
|
|
227
|
+
}
|
|
228
|
+
this._search = new this.Search(searchOptions);
|
|
229
|
+
this._search.container = 'search-widget-ref';
|
|
230
|
+
this._search.popupEnabled = false;
|
|
231
|
+
this._search.resultGraphicEnabled = false;
|
|
232
|
+
const layer = await getLayerOrTable(this.mapView, this.selectedLayerId);
|
|
233
|
+
let pointGeometry = null;
|
|
234
|
+
// on search get the geometry of the searched location and pass it in sketchViewModel and go to featureForm page
|
|
235
|
+
this._search.on('search-complete', (e) => {
|
|
236
|
+
var _a;
|
|
237
|
+
void this.mapView.goTo(e.results[0].results[0].extent);
|
|
238
|
+
if (layer.geometryType === 'point') {
|
|
239
|
+
pointGeometry = (_a = e.results[0].results[0]) === null || _a === void 0 ? void 0 : _a.feature.geometry;
|
|
240
|
+
}
|
|
241
|
+
});
|
|
242
|
+
//Add handle to watch if search viewModel state is ready
|
|
243
|
+
const createFeatureHandle = this.reactiveUtils.watch(() => this._search.viewModel.state, (state) => {
|
|
244
|
+
if (state === 'ready') {
|
|
245
|
+
setTimeout(() => {
|
|
246
|
+
if (this._editor.viewModel.sketchViewModel.createGraphic && pointGeometry) {
|
|
247
|
+
this._editor.viewModel.sketchViewModel.createGraphic.set('geometry', pointGeometry);
|
|
248
|
+
this._editor.viewModel.sketchViewModel.complete();
|
|
249
|
+
this.hideEditorsElements();
|
|
250
|
+
}
|
|
251
|
+
}, 100);
|
|
252
|
+
}
|
|
253
|
+
});
|
|
254
|
+
this._search.viewModel.addHandles(createFeatureHandle);
|
|
255
|
+
}
|
|
256
|
+
/**
|
|
257
|
+
* Initialize the search widget based on user defined configuration
|
|
258
|
+
*
|
|
259
|
+
* @param searchConfiguration search configuration defined by the user
|
|
260
|
+
* @param view the current map view
|
|
261
|
+
*
|
|
262
|
+
* @protected
|
|
263
|
+
*/
|
|
264
|
+
_getSearchConfig(searchConfiguration, view) {
|
|
265
|
+
const INCLUDE_DEFAULT_SOURCES = "includeDefaultSources";
|
|
266
|
+
const sources = searchConfiguration.sources;
|
|
267
|
+
if ((sources === null || sources === void 0 ? void 0 : sources.length) > 0) {
|
|
268
|
+
searchConfiguration[INCLUDE_DEFAULT_SOURCES] = false;
|
|
269
|
+
sources.forEach((source) => {
|
|
270
|
+
var _a, _b;
|
|
271
|
+
const isLayerSource = source.hasOwnProperty("layer");
|
|
272
|
+
if (isLayerSource) {
|
|
273
|
+
const layerSource = source;
|
|
274
|
+
const layerId = (_a = layerSource.layer) === null || _a === void 0 ? void 0 : _a.id;
|
|
275
|
+
const layerFromMap = layerId ? view.map.findLayerById(layerId) : null;
|
|
276
|
+
const layerUrl = (_b = layerSource === null || layerSource === void 0 ? void 0 : layerSource.layer) === null || _b === void 0 ? void 0 : _b.url;
|
|
277
|
+
if (layerFromMap) {
|
|
278
|
+
layerSource.layer = layerFromMap;
|
|
279
|
+
}
|
|
280
|
+
else if (layerUrl) {
|
|
281
|
+
layerSource.layer = new this.FeatureLayer(layerUrl);
|
|
282
|
+
}
|
|
283
|
+
}
|
|
284
|
+
});
|
|
285
|
+
sources === null || sources === void 0 ? void 0 : sources.forEach((source) => {
|
|
286
|
+
const isLocatorSource = source.hasOwnProperty("locator");
|
|
287
|
+
if (isLocatorSource) {
|
|
288
|
+
const locatorSource = source;
|
|
289
|
+
if ((locatorSource === null || locatorSource === void 0 ? void 0 : locatorSource.name) === "ArcGIS World Geocoding Service") {
|
|
290
|
+
const outFields = locatorSource.outFields || ["Addr_type", "Match_addr", "StAddr", "City"];
|
|
291
|
+
locatorSource.outFields = outFields;
|
|
292
|
+
locatorSource.singleLineFieldName = "SingleLine";
|
|
293
|
+
}
|
|
294
|
+
locatorSource.url = locatorSource.url;
|
|
295
|
+
delete locatorSource.url;
|
|
296
|
+
}
|
|
297
|
+
});
|
|
298
|
+
}
|
|
299
|
+
else {
|
|
300
|
+
searchConfiguration = Object.assign(Object.assign({}, searchConfiguration), { includeDefaultSources: true });
|
|
301
|
+
}
|
|
302
|
+
return searchConfiguration;
|
|
303
|
+
}
|
|
202
304
|
/**
|
|
203
305
|
* Hides the elements of editor widget
|
|
204
306
|
* @protected
|
|
@@ -319,9 +421,35 @@ export class CreateFeature {
|
|
|
319
421
|
"attribute": "customize-submit",
|
|
320
422
|
"reflect": false,
|
|
321
423
|
"defaultValue": "false"
|
|
424
|
+
},
|
|
425
|
+
"searchConfiguration": {
|
|
426
|
+
"type": "unknown",
|
|
427
|
+
"mutable": false,
|
|
428
|
+
"complexType": {
|
|
429
|
+
"original": "ISearchConfiguration",
|
|
430
|
+
"resolved": "ISearchConfiguration",
|
|
431
|
+
"references": {
|
|
432
|
+
"ISearchConfiguration": {
|
|
433
|
+
"location": "import",
|
|
434
|
+
"path": "../../utils/interfaces",
|
|
435
|
+
"id": "src/utils/interfaces.ts::ISearchConfiguration"
|
|
436
|
+
}
|
|
437
|
+
}
|
|
438
|
+
},
|
|
439
|
+
"required": false,
|
|
440
|
+
"optional": false,
|
|
441
|
+
"docs": {
|
|
442
|
+
"tags": [],
|
|
443
|
+
"text": "ISearchConfiguration: Configuration details for the Search widget"
|
|
444
|
+
}
|
|
322
445
|
}
|
|
323
446
|
};
|
|
324
447
|
}
|
|
448
|
+
static get states() {
|
|
449
|
+
return {
|
|
450
|
+
"showSearchWidget": {}
|
|
451
|
+
};
|
|
452
|
+
}
|
|
325
453
|
static get events() {
|
|
326
454
|
return [{
|
|
327
455
|
"method": "success",
|
|
@@ -45,6 +45,7 @@ export class CrowdsourceManager {
|
|
|
45
45
|
*/
|
|
46
46
|
this._shouldSetMapView = false;
|
|
47
47
|
this.appProxies = undefined;
|
|
48
|
+
this.basemapConfig = undefined;
|
|
48
49
|
this.defaultCenter = "";
|
|
49
50
|
this.defaultGlobalId = "";
|
|
50
51
|
this.defaultLayer = "";
|
|
@@ -52,26 +53,27 @@ export class CrowdsourceManager {
|
|
|
52
53
|
this.defaultOid = "";
|
|
53
54
|
this.defaultWebmap = "";
|
|
54
55
|
this.enableAutoRefresh = false;
|
|
56
|
+
this.enableBasemap = true;
|
|
55
57
|
this.enableColumnReorder = true;
|
|
56
58
|
this.enableCSV = true;
|
|
57
59
|
this.enableFloorFilter = true;
|
|
58
60
|
this.enableFullscreen = true;
|
|
61
|
+
this.enableHome = true;
|
|
59
62
|
this.enableInlineEdit = false;
|
|
60
63
|
this.enableLegend = true;
|
|
61
64
|
this.enableSearch = true;
|
|
62
65
|
this.enableShare = false;
|
|
63
|
-
this.enableHome = true;
|
|
64
66
|
this.enableZoom = true;
|
|
65
|
-
this.
|
|
66
|
-
this.basemapConfig = undefined;
|
|
67
|
-
this.showNewestFirst = true;
|
|
67
|
+
this.hideMapOnLoad = undefined;
|
|
68
68
|
this.mapInfos = [];
|
|
69
69
|
this.onlyShowUpdatableLayers = true;
|
|
70
70
|
this.searchConfiguration = undefined;
|
|
71
71
|
this.shareIncludeEmbed = undefined;
|
|
72
72
|
this.shareIncludeSocial = undefined;
|
|
73
|
+
this.showNewestFirst = true;
|
|
73
74
|
this.theme = "light";
|
|
74
75
|
this.zoomAndScrollToSelected = false;
|
|
76
|
+
this.zoomToScale = undefined;
|
|
75
77
|
this._expandPopup = false;
|
|
76
78
|
this._hideFooter = false;
|
|
77
79
|
this._hideTable = false;
|
|
@@ -522,6 +524,27 @@ export class CrowdsourceManager {
|
|
|
522
524
|
"attribute": "app-proxies",
|
|
523
525
|
"reflect": false
|
|
524
526
|
},
|
|
527
|
+
"basemapConfig": {
|
|
528
|
+
"type": "unknown",
|
|
529
|
+
"mutable": false,
|
|
530
|
+
"complexType": {
|
|
531
|
+
"original": "IBasemapConfig",
|
|
532
|
+
"resolved": "IBasemapConfig",
|
|
533
|
+
"references": {
|
|
534
|
+
"IBasemapConfig": {
|
|
535
|
+
"location": "import",
|
|
536
|
+
"path": "../../utils/interfaces",
|
|
537
|
+
"id": "src/utils/interfaces.ts::IBasemapConfig"
|
|
538
|
+
}
|
|
539
|
+
}
|
|
540
|
+
},
|
|
541
|
+
"required": false,
|
|
542
|
+
"optional": false,
|
|
543
|
+
"docs": {
|
|
544
|
+
"tags": [],
|
|
545
|
+
"text": "IBasemapConfig: List of any basemaps to filter out from the basemap widget"
|
|
546
|
+
}
|
|
547
|
+
},
|
|
525
548
|
"defaultCenter": {
|
|
526
549
|
"type": "string",
|
|
527
550
|
"mutable": false,
|
|
@@ -648,7 +671,7 @@ export class CrowdsourceManager {
|
|
|
648
671
|
"reflect": false,
|
|
649
672
|
"defaultValue": "false"
|
|
650
673
|
},
|
|
651
|
-
"
|
|
674
|
+
"enableBasemap": {
|
|
652
675
|
"type": "boolean",
|
|
653
676
|
"mutable": false,
|
|
654
677
|
"complexType": {
|
|
@@ -660,13 +683,13 @@ export class CrowdsourceManager {
|
|
|
660
683
|
"optional": false,
|
|
661
684
|
"docs": {
|
|
662
685
|
"tags": [],
|
|
663
|
-
"text": "boolean: when true the
|
|
686
|
+
"text": "boolean: when true the basemap widget will be available"
|
|
664
687
|
},
|
|
665
|
-
"attribute": "enable-
|
|
688
|
+
"attribute": "enable-basemap",
|
|
666
689
|
"reflect": false,
|
|
667
690
|
"defaultValue": "true"
|
|
668
691
|
},
|
|
669
|
-
"
|
|
692
|
+
"enableColumnReorder": {
|
|
670
693
|
"type": "boolean",
|
|
671
694
|
"mutable": false,
|
|
672
695
|
"complexType": {
|
|
@@ -678,13 +701,13 @@ export class CrowdsourceManager {
|
|
|
678
701
|
"optional": false,
|
|
679
702
|
"docs": {
|
|
680
703
|
"tags": [],
|
|
681
|
-
"text": "boolean: when true the
|
|
704
|
+
"text": "boolean: when true the layer table will support drag/drop of columns to adjust order"
|
|
682
705
|
},
|
|
683
|
-
"attribute": "enable-
|
|
706
|
+
"attribute": "enable-column-reorder",
|
|
684
707
|
"reflect": false,
|
|
685
708
|
"defaultValue": "true"
|
|
686
709
|
},
|
|
687
|
-
"
|
|
710
|
+
"enableCSV": {
|
|
688
711
|
"type": "boolean",
|
|
689
712
|
"mutable": false,
|
|
690
713
|
"complexType": {
|
|
@@ -696,13 +719,13 @@ export class CrowdsourceManager {
|
|
|
696
719
|
"optional": false,
|
|
697
720
|
"docs": {
|
|
698
721
|
"tags": [],
|
|
699
|
-
"text": "boolean: when true the
|
|
722
|
+
"text": "boolean: when true the export to csv button will be available"
|
|
700
723
|
},
|
|
701
|
-
"attribute": "enable-
|
|
724
|
+
"attribute": "enable-c-s-v",
|
|
702
725
|
"reflect": false,
|
|
703
726
|
"defaultValue": "true"
|
|
704
727
|
},
|
|
705
|
-
"
|
|
728
|
+
"enableFloorFilter": {
|
|
706
729
|
"type": "boolean",
|
|
707
730
|
"mutable": false,
|
|
708
731
|
"complexType": {
|
|
@@ -716,11 +739,11 @@ export class CrowdsourceManager {
|
|
|
716
739
|
"tags": [],
|
|
717
740
|
"text": "boolean: when true the fullscreen widget will be available"
|
|
718
741
|
},
|
|
719
|
-
"attribute": "enable-
|
|
742
|
+
"attribute": "enable-floor-filter",
|
|
720
743
|
"reflect": false,
|
|
721
744
|
"defaultValue": "true"
|
|
722
745
|
},
|
|
723
|
-
"
|
|
746
|
+
"enableFullscreen": {
|
|
724
747
|
"type": "boolean",
|
|
725
748
|
"mutable": false,
|
|
726
749
|
"complexType": {
|
|
@@ -732,13 +755,13 @@ export class CrowdsourceManager {
|
|
|
732
755
|
"optional": false,
|
|
733
756
|
"docs": {
|
|
734
757
|
"tags": [],
|
|
735
|
-
"text": "boolean: when true
|
|
758
|
+
"text": "boolean: when true the fullscreen widget will be available"
|
|
736
759
|
},
|
|
737
|
-
"attribute": "enable-
|
|
760
|
+
"attribute": "enable-fullscreen",
|
|
738
761
|
"reflect": false,
|
|
739
|
-
"defaultValue": "
|
|
762
|
+
"defaultValue": "true"
|
|
740
763
|
},
|
|
741
|
-
"
|
|
764
|
+
"enableHome": {
|
|
742
765
|
"type": "boolean",
|
|
743
766
|
"mutable": false,
|
|
744
767
|
"complexType": {
|
|
@@ -750,13 +773,13 @@ export class CrowdsourceManager {
|
|
|
750
773
|
"optional": false,
|
|
751
774
|
"docs": {
|
|
752
775
|
"tags": [],
|
|
753
|
-
"text": "boolean: when true the
|
|
776
|
+
"text": "boolean: when true the home widget will be available"
|
|
754
777
|
},
|
|
755
|
-
"attribute": "enable-
|
|
778
|
+
"attribute": "enable-home",
|
|
756
779
|
"reflect": false,
|
|
757
780
|
"defaultValue": "true"
|
|
758
781
|
},
|
|
759
|
-
"
|
|
782
|
+
"enableInlineEdit": {
|
|
760
783
|
"type": "boolean",
|
|
761
784
|
"mutable": false,
|
|
762
785
|
"complexType": {
|
|
@@ -768,13 +791,13 @@ export class CrowdsourceManager {
|
|
|
768
791
|
"optional": false,
|
|
769
792
|
"docs": {
|
|
770
793
|
"tags": [],
|
|
771
|
-
"text": "boolean: when true
|
|
794
|
+
"text": "boolean: when true edits can be applied directly within the table"
|
|
772
795
|
},
|
|
773
|
-
"attribute": "enable-
|
|
796
|
+
"attribute": "enable-inline-edit",
|
|
774
797
|
"reflect": false,
|
|
775
|
-
"defaultValue": "
|
|
798
|
+
"defaultValue": "false"
|
|
776
799
|
},
|
|
777
|
-
"
|
|
800
|
+
"enableLegend": {
|
|
778
801
|
"type": "boolean",
|
|
779
802
|
"mutable": false,
|
|
780
803
|
"complexType": {
|
|
@@ -786,13 +809,13 @@ export class CrowdsourceManager {
|
|
|
786
809
|
"optional": false,
|
|
787
810
|
"docs": {
|
|
788
811
|
"tags": [],
|
|
789
|
-
"text": "boolean: when true the
|
|
812
|
+
"text": "boolean: when true the legend widget will be available"
|
|
790
813
|
},
|
|
791
|
-
"attribute": "enable-
|
|
814
|
+
"attribute": "enable-legend",
|
|
792
815
|
"reflect": false,
|
|
793
|
-
"defaultValue": "
|
|
816
|
+
"defaultValue": "true"
|
|
794
817
|
},
|
|
795
|
-
"
|
|
818
|
+
"enableSearch": {
|
|
796
819
|
"type": "boolean",
|
|
797
820
|
"mutable": false,
|
|
798
821
|
"complexType": {
|
|
@@ -804,13 +827,13 @@ export class CrowdsourceManager {
|
|
|
804
827
|
"optional": false,
|
|
805
828
|
"docs": {
|
|
806
829
|
"tags": [],
|
|
807
|
-
"text": "boolean: when true the
|
|
830
|
+
"text": "boolean: when true the search widget will be available"
|
|
808
831
|
},
|
|
809
|
-
"attribute": "enable-
|
|
832
|
+
"attribute": "enable-search",
|
|
810
833
|
"reflect": false,
|
|
811
834
|
"defaultValue": "true"
|
|
812
835
|
},
|
|
813
|
-
"
|
|
836
|
+
"enableShare": {
|
|
814
837
|
"type": "boolean",
|
|
815
838
|
"mutable": false,
|
|
816
839
|
"complexType": {
|
|
@@ -822,13 +845,13 @@ export class CrowdsourceManager {
|
|
|
822
845
|
"optional": false,
|
|
823
846
|
"docs": {
|
|
824
847
|
"tags": [],
|
|
825
|
-
"text": "boolean: when true the
|
|
848
|
+
"text": "boolean: when true the share widget will be available"
|
|
826
849
|
},
|
|
827
|
-
"attribute": "enable-
|
|
850
|
+
"attribute": "enable-share",
|
|
828
851
|
"reflect": false,
|
|
829
|
-
"defaultValue": "
|
|
852
|
+
"defaultValue": "false"
|
|
830
853
|
},
|
|
831
|
-
"
|
|
854
|
+
"enableZoom": {
|
|
832
855
|
"type": "boolean",
|
|
833
856
|
"mutable": false,
|
|
834
857
|
"complexType": {
|
|
@@ -840,34 +863,13 @@ export class CrowdsourceManager {
|
|
|
840
863
|
"optional": false,
|
|
841
864
|
"docs": {
|
|
842
865
|
"tags": [],
|
|
843
|
-
"text": "boolean: when true the
|
|
866
|
+
"text": "boolean: when true the zoom widget will be available"
|
|
844
867
|
},
|
|
845
|
-
"attribute": "enable-
|
|
868
|
+
"attribute": "enable-zoom",
|
|
846
869
|
"reflect": false,
|
|
847
870
|
"defaultValue": "true"
|
|
848
871
|
},
|
|
849
|
-
"
|
|
850
|
-
"type": "unknown",
|
|
851
|
-
"mutable": false,
|
|
852
|
-
"complexType": {
|
|
853
|
-
"original": "IBasemapConfig",
|
|
854
|
-
"resolved": "IBasemapConfig",
|
|
855
|
-
"references": {
|
|
856
|
-
"IBasemapConfig": {
|
|
857
|
-
"location": "import",
|
|
858
|
-
"path": "../../utils/interfaces",
|
|
859
|
-
"id": "src/utils/interfaces.ts::IBasemapConfig"
|
|
860
|
-
}
|
|
861
|
-
}
|
|
862
|
-
},
|
|
863
|
-
"required": false,
|
|
864
|
-
"optional": false,
|
|
865
|
-
"docs": {
|
|
866
|
-
"tags": [],
|
|
867
|
-
"text": "IBasemapConfig: List of any basemaps to filter out from the basemap widget"
|
|
868
|
-
}
|
|
869
|
-
},
|
|
870
|
-
"showNewestFirst": {
|
|
872
|
+
"hideMapOnLoad": {
|
|
871
873
|
"type": "boolean",
|
|
872
874
|
"mutable": false,
|
|
873
875
|
"complexType": {
|
|
@@ -879,11 +881,10 @@ export class CrowdsourceManager {
|
|
|
879
881
|
"optional": false,
|
|
880
882
|
"docs": {
|
|
881
883
|
"tags": [],
|
|
882
|
-
"text": "boolean: when true the
|
|
884
|
+
"text": "boolean: when true the map will be hidden on load"
|
|
883
885
|
},
|
|
884
|
-
"attribute": "
|
|
885
|
-
"reflect": false
|
|
886
|
-
"defaultValue": "true"
|
|
886
|
+
"attribute": "hide-map-on-load",
|
|
887
|
+
"reflect": false
|
|
887
888
|
},
|
|
888
889
|
"mapInfos": {
|
|
889
890
|
"type": "unknown",
|
|
@@ -980,6 +981,24 @@ export class CrowdsourceManager {
|
|
|
980
981
|
"attribute": "share-include-social",
|
|
981
982
|
"reflect": false
|
|
982
983
|
},
|
|
984
|
+
"showNewestFirst": {
|
|
985
|
+
"type": "boolean",
|
|
986
|
+
"mutable": false,
|
|
987
|
+
"complexType": {
|
|
988
|
+
"original": "boolean",
|
|
989
|
+
"resolved": "boolean",
|
|
990
|
+
"references": {}
|
|
991
|
+
},
|
|
992
|
+
"required": false,
|
|
993
|
+
"optional": false,
|
|
994
|
+
"docs": {
|
|
995
|
+
"tags": [],
|
|
996
|
+
"text": "boolean: when true the table will be sorted by objectid in descending order by default"
|
|
997
|
+
},
|
|
998
|
+
"attribute": "show-newest-first",
|
|
999
|
+
"reflect": false,
|
|
1000
|
+
"defaultValue": "true"
|
|
1001
|
+
},
|
|
983
1002
|
"theme": {
|
|
984
1003
|
"type": "string",
|
|
985
1004
|
"mutable": false,
|
|
@@ -1021,6 +1040,23 @@ export class CrowdsourceManager {
|
|
|
1021
1040
|
"attribute": "zoom-and-scroll-to-selected",
|
|
1022
1041
|
"reflect": false,
|
|
1023
1042
|
"defaultValue": "false"
|
|
1043
|
+
},
|
|
1044
|
+
"zoomToScale": {
|
|
1045
|
+
"type": "number",
|
|
1046
|
+
"mutable": false,
|
|
1047
|
+
"complexType": {
|
|
1048
|
+
"original": "number",
|
|
1049
|
+
"resolved": "number",
|
|
1050
|
+
"references": {}
|
|
1051
|
+
},
|
|
1052
|
+
"required": false,
|
|
1053
|
+
"optional": false,
|
|
1054
|
+
"docs": {
|
|
1055
|
+
"tags": [],
|
|
1056
|
+
"text": "number: default scale to zoom to when zooming to a single point feature"
|
|
1057
|
+
},
|
|
1058
|
+
"attribute": "zoom-to-scale",
|
|
1059
|
+
"reflect": false
|
|
1024
1060
|
}
|
|
1025
1061
|
};
|
|
1026
1062
|
}
|