@arcgis/map-components 4.29.0-beta.7 → 4.29.0-beta.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/arcgis-map-components/arcgis-map-components.esm.js +1 -1
- package/dist/arcgis-map-components/{p-eb95717e.entry.js → p-05b8fbcd.entry.js} +1 -1
- package/dist/arcgis-map-components/{p-a1e2e59f.entry.js → p-0f5a8625.entry.js} +1 -1
- package/dist/arcgis-map-components/p-10474a49.entry.js +1 -0
- package/dist/arcgis-map-components/{p-ee1086de.entry.js → p-12b30d7d.entry.js} +1 -1
- package/dist/arcgis-map-components/{p-7084f84f.entry.js → p-13445e5a.entry.js} +1 -1
- package/dist/arcgis-map-components/{p-74b7f2c3.entry.js → p-13540ce3.entry.js} +1 -1
- package/dist/arcgis-map-components/{p-347dba98.entry.js → p-138dc92a.entry.js} +1 -1
- package/dist/arcgis-map-components/{p-5d2f53bd.entry.js → p-1f92d92f.entry.js} +1 -1
- package/dist/arcgis-map-components/{p-4722bbad.entry.js → p-2c488471.entry.js} +1 -1
- package/dist/arcgis-map-components/{p-86a82586.entry.js → p-330721c4.entry.js} +1 -1
- package/dist/arcgis-map-components/{p-8b4cf5da.entry.js → p-37df06ef.entry.js} +1 -1
- package/dist/arcgis-map-components/{p-a249c2fa.entry.js → p-42e299ec.entry.js} +1 -1
- package/dist/arcgis-map-components/{p-a89102b6.entry.js → p-480542ed.entry.js} +1 -1
- package/dist/arcgis-map-components/{p-c8516f87.entry.js → p-507fb647.entry.js} +1 -1
- package/dist/arcgis-map-components/{p-f28d6d27.js → p-50b0eec0.js} +1 -1
- package/dist/arcgis-map-components/{p-0d492ad6.entry.js → p-58e28dea.entry.js} +1 -1
- package/dist/arcgis-map-components/{p-e1201530.entry.js → p-5932858e.entry.js} +1 -1
- package/dist/arcgis-map-components/{p-ae96d72a.entry.js → p-5b2289ad.entry.js} +1 -1
- package/dist/arcgis-map-components/p-5cabdee7.js +1 -0
- package/dist/arcgis-map-components/{p-367c6986.entry.js → p-5dc1db1d.entry.js} +1 -1
- package/dist/arcgis-map-components/{p-658a2499.entry.js → p-5ea411af.entry.js} +1 -1
- package/dist/arcgis-map-components/{p-064bf907.entry.js → p-607f4c52.entry.js} +1 -1
- package/dist/arcgis-map-components/{p-f8353590.entry.js → p-60ad7f3f.entry.js} +1 -1
- package/dist/arcgis-map-components/{p-3b2623c6.entry.js → p-629bd6f2.entry.js} +1 -1
- package/dist/arcgis-map-components/{p-b813c9e6.js → p-671138da.js} +1 -1
- package/dist/arcgis-map-components/{p-a508d7c6.entry.js → p-6e0e9239.entry.js} +1 -1
- package/dist/arcgis-map-components/{p-9fdd4596.entry.js → p-77e11200.entry.js} +1 -1
- package/dist/arcgis-map-components/p-7b0c6659.entry.js +1 -0
- package/dist/arcgis-map-components/{p-ac7e9294.entry.js → p-819c583a.entry.js} +1 -1
- package/dist/arcgis-map-components/{p-d3f3affa.entry.js → p-8a09514f.entry.js} +1 -1
- package/dist/arcgis-map-components/{p-8a60074a.entry.js → p-8c6dbbdb.entry.js} +1 -1
- package/dist/arcgis-map-components/{p-d5ac71b2.entry.js → p-8ff78165.entry.js} +1 -1
- package/dist/arcgis-map-components/{p-a0f092fc.entry.js → p-975a4a2f.entry.js} +1 -1
- package/dist/arcgis-map-components/{p-922bbfed.entry.js → p-994d6830.entry.js} +1 -1
- package/dist/arcgis-map-components/{p-52c3388d.entry.js → p-a6202ee8.entry.js} +1 -1
- package/dist/arcgis-map-components/p-a736a82a.entry.js +1 -0
- package/dist/arcgis-map-components/{p-b026950f.entry.js → p-ab160cd1.entry.js} +1 -1
- package/dist/arcgis-map-components/{p-037a3bb6.entry.js → p-ab77a123.entry.js} +1 -1
- package/dist/arcgis-map-components/{p-3673ae6e.entry.js → p-accd62f0.entry.js} +1 -1
- package/dist/arcgis-map-components/{p-dcf3861b.entry.js → p-ad947551.entry.js} +1 -1
- package/dist/arcgis-map-components/{p-48c89578.entry.js → p-ba077eae.entry.js} +1 -1
- package/dist/arcgis-map-components/{p-adcfd40d.entry.js → p-babcad0b.entry.js} +1 -1
- package/dist/arcgis-map-components/{p-5299aa69.entry.js → p-c073e5d7.entry.js} +1 -1
- package/dist/arcgis-map-components/{p-1680f044.entry.js → p-c0d72072.entry.js} +1 -1
- package/dist/arcgis-map-components/{p-99d486cb.entry.js → p-c42935c8.entry.js} +1 -1
- package/dist/arcgis-map-components/p-c732b578.entry.js +1 -0
- package/dist/arcgis-map-components/{p-c57f270d.entry.js → p-caa6c93f.entry.js} +1 -1
- package/dist/arcgis-map-components/p-cd92070a.entry.js +1 -0
- package/dist/arcgis-map-components/{p-c63d9e91.entry.js → p-ce3bf43a.entry.js} +1 -1
- package/dist/arcgis-map-components/{p-0ee8ea5a.entry.js → p-eaa805c2.entry.js} +1 -1
- package/dist/arcgis-map-components/p-ee86773c.js +1 -0
- package/dist/arcgis-map-components/{p-29c81862.entry.js → p-f1431dd1.entry.js} +1 -1
- package/dist/arcgis-map-components/{p-932be58c.entry.js → p-f6aac535.entry.js} +1 -1
- package/dist/arcgis-map-components/{p-08015460.entry.js → p-faa0561b.entry.js} +1 -1
- package/dist/cjs/arcgis-area-measurement-2d.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-area-measurement-3d.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-attachments.cjs.entry.js +1 -1
- package/dist/cjs/arcgis-basemap-gallery.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-basemap-layer-list.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-basemap-toggle.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-bookmarks.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-building-explorer.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-compass.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-coordinate-conversion.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-daylight.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-directions.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-directline-measurement-3d.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-distance-measurement-2d.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-editor.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-elevation-profile.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-expand_4.cjs.entry.js +125 -163
- package/dist/cjs/arcgis-feature-table.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-feature-templates.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-feature.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-features.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-floor-filter.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-fullscreen.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-histogram-range-slider.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-home.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-layer-list.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-line-of-sight.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-locate.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-map-components.cjs.js +1 -1
- package/dist/cjs/arcgis-measurement.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-navigation-toggle.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-print.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-scale-bar.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-scale-range-slider.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-scene.cjs.entry.js +148 -0
- package/dist/cjs/arcgis-shadow-cast.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-sketch.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-slice.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-slider.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-swipe.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-table-list.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-time-slider.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-track.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-utility-network-associations.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-utility-network-trace.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-utility-network-validate-topology.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-value-picker.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-weather.cjs.entry.js +2 -2
- package/dist/cjs/arcgis-zoom.cjs.entry.js +2 -2
- package/dist/cjs/{component-utils-cbd20e88.js → component-utils-74d4294a.js} +14 -1
- package/dist/cjs/index-6b51d5a0.js +4 -4
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/mapping-utils-c2c7b994.js +40 -0
- package/dist/components/arcgis-expand2.js +1 -0
- package/dist/components/disconnected.js +14 -1
- package/dist/esm/arcgis-area-measurement-2d.entry.js +3 -3
- package/dist/esm/arcgis-area-measurement-3d.entry.js +3 -3
- package/dist/esm/arcgis-attachments.entry.js +2 -2
- package/dist/esm/arcgis-basemap-gallery.entry.js +3 -3
- package/dist/esm/arcgis-basemap-layer-list.entry.js +3 -3
- package/dist/esm/arcgis-basemap-toggle.entry.js +3 -3
- package/dist/esm/arcgis-bookmarks.entry.js +3 -3
- package/dist/esm/arcgis-building-explorer.entry.js +3 -3
- package/dist/esm/arcgis-compass.entry.js +3 -3
- package/dist/esm/arcgis-coordinate-conversion.entry.js +3 -3
- package/dist/esm/arcgis-daylight.entry.js +3 -3
- package/dist/esm/arcgis-directions.entry.js +3 -3
- package/dist/esm/arcgis-directline-measurement-3d.entry.js +3 -3
- package/dist/esm/arcgis-distance-measurement-2d.entry.js +3 -3
- package/dist/esm/arcgis-editor.entry.js +3 -3
- package/dist/esm/arcgis-elevation-profile.entry.js +3 -3
- package/dist/esm/arcgis-expand_4.entry.js +125 -163
- package/dist/esm/arcgis-feature-form.entry.js +1 -1
- package/dist/esm/arcgis-feature-table.entry.js +3 -3
- package/dist/esm/arcgis-feature-templates.entry.js +3 -3
- package/dist/esm/arcgis-feature.entry.js +3 -3
- package/dist/esm/arcgis-features.entry.js +3 -3
- package/dist/esm/arcgis-floor-filter.entry.js +3 -3
- package/dist/esm/arcgis-fullscreen.entry.js +3 -3
- package/dist/esm/arcgis-histogram-range-slider.entry.js +3 -3
- package/dist/esm/arcgis-histogram.entry.js +1 -1
- package/dist/esm/arcgis-home.entry.js +3 -3
- package/dist/esm/arcgis-layer-list.entry.js +3 -3
- package/dist/esm/arcgis-line-of-sight.entry.js +3 -3
- package/dist/esm/arcgis-locate.entry.js +3 -3
- package/dist/esm/arcgis-map-components.js +1 -1
- package/dist/esm/arcgis-measurement.entry.js +3 -3
- package/dist/esm/arcgis-navigation-toggle.entry.js +3 -3
- package/dist/esm/arcgis-print.entry.js +3 -3
- package/dist/esm/arcgis-scale-bar.entry.js +3 -3
- package/dist/esm/arcgis-scale-range-slider.entry.js +3 -3
- package/dist/esm/arcgis-scene.entry.js +144 -0
- package/dist/esm/arcgis-shadow-cast.entry.js +3 -3
- package/dist/esm/arcgis-sketch.entry.js +3 -3
- package/dist/esm/arcgis-slice.entry.js +3 -3
- package/dist/esm/arcgis-slider.entry.js +3 -3
- package/dist/esm/arcgis-swipe.entry.js +3 -3
- package/dist/esm/arcgis-table-list.entry.js +3 -3
- package/dist/esm/arcgis-time-slider.entry.js +3 -3
- package/dist/esm/arcgis-track.entry.js +3 -3
- package/dist/esm/arcgis-utility-network-associations.entry.js +3 -3
- package/dist/esm/arcgis-utility-network-trace.entry.js +3 -3
- package/dist/esm/arcgis-utility-network-validate-topology.entry.js +3 -3
- package/dist/esm/arcgis-value-picker.entry.js +3 -3
- package/dist/esm/arcgis-weather.entry.js +3 -3
- package/dist/esm/arcgis-zoom.entry.js +3 -3
- package/dist/esm/{component-utils-2ebdae59.js → component-utils-7d77f5a9.js} +14 -1
- package/dist/esm/{index-334b0bde.js → index-365164b6.js} +1 -1
- package/dist/esm/index-eb3ead33.js +4 -4
- package/dist/esm/loader.js +1 -1
- package/dist/esm/mapping-utils-26beb904.js +38 -0
- package/package.json +4 -4
- package/dist/arcgis-map-components/p-11168df4.entry.js +0 -1
- package/dist/arcgis-map-components/p-1a6dcf6a.entry.js +0 -1
- package/dist/arcgis-map-components/p-2d3406f7.js +0 -1
- package/dist/arcgis-map-components/p-615399dd.entry.js +0 -1
- package/dist/arcgis-map-components/p-7031c422.entry.js +0 -1
- package/dist/arcgis-map-components/p-b5904340.entry.js +0 -1
- package/dist/cjs/arcgis-legend.cjs.entry.js +0 -146
- package/dist/esm/arcgis-legend.entry.js +0 -142
- package/dist/cjs/{disconnected-306cb220.js → disconnected-2309d7ed.js} +1 -1
- package/dist/esm/{disconnected-bc5fc8bc.js → disconnected-888f5a8f.js} +1 -1
package/dist/esm/loader.js
CHANGED
|
@@ -11,7 +11,7 @@ const patchEsm = () => {
|
|
|
11
11
|
const defineCustomElements = (win, options) => {
|
|
12
12
|
if (typeof window === 'undefined') return Promise.resolve();
|
|
13
13
|
return patchEsm().then(() => {
|
|
14
|
-
return bootstrapLazy(JSON.parse("[[\"arcgis-expand_4\",[[0,\"arcgis-search\",{\"referenceElement\":[1,\"reference-element\"],\"activeMenu\":[1,\"active-menu\"],\"activeSource\":[1040],\"activeSourceIndex\":[1026,\"active-source-index\"],\"allPlaceholder\":[1,\"all-placeholder\"],\"allSources\":[1040],\"autoSelect\":[4,\"auto-select\"],\"defaultSources\":[1040],\"includeDefaultSources\":[4,\"include-default-sources\"],\"locationEnabled\":[4,\"location-enabled\"],\"maxResults\":[2,\"max-results\"],\"maxSuggestions\":[2,\"max-suggestions\"],\"minSuggestCharacters\":[2,\"min-suggest-characters\"],\"popupEnabled\":[4,\"popup-enabled\"],\"popupTemplate\":[16],\"portal\":[16],\"resultGraphic\":[1040],\"resultGraphicEnabled\":[4,\"result-graphic-enabled\"],\"results\":[1040],\"searchAllEnabled\":[4,\"search-all-enabled\"],\"searchTerm\":[1,\"search-term\"],\"selectedResult\":[1040],\"sources\":[16],\"suggestions\":[16],\"suggestionsEnabled\":[4,\"suggestions-enabled\"],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040],\"blurSearch\":[64],\"clearSearch\":[64],\"focusSearch\":[64],\"search\":[64],\"suggest\":[64]}],[0,\"arcgis-map\",{\"apiKey\":[1,\"api-key\"],\"basemap\":[1025],\"backgroundColor\":[1025,\"background-color\"],\"disableNavigation\":[4,\"disable-navigation\"],\"itemId\":[1,\"item-id\"],\"portalUrl\":[1,\"portal-url\"],\"scale\":[1538],\"zoom\":[1538],\"center\":[1537],\"view\":[1040]}],[0,\"arcgis-scene\",{\"apiKey\":[1,\"api-key\"],\"basemap\":[1025],\"itemId\":[1,\"item-id\"],\"portalUrl\":[1,\"portal-url\"],\"scale\":[1538],\"zoom\":[1538],\"center\":[1537],\"view\":[1040],\"disableNavigation\":[4,\"disable-navigation\"]}],[0,\"arcgis-expand\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-area-measurement-2d\",[[0,\"arcgis-area-measurement-2d\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"expandable\":[4],\"unit\":[1025],\"unitOptions\":[16],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-area-measurement-3d\",[[0,\"arcgis-area-measurement-3d\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"expandable\":[4],\"unit\":[1025],\"unitOptions\":[16],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-attachments\",[[0,\"arcgis-attachments\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"expandable\":[4],\"graphic\":[16],\"widget\":[1040]}]]],[\"arcgis-basemap-gallery\",[[0,\"arcgis-basemap-gallery\",{\"referenceElement\":[1,\"reference-element\"],\"activeBasemap\":[1040],\"position\":[1],\"expandable\":[4],\"source\":[1040],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-basemap-layer-list\",[[0,\"arcgis-basemap-layer-list\",{\"referenceElement\":[1,\"reference-element\"],\"basemapTitle\":[513,\"basemap-title\"],\"baseItems\":[1040],\"editingEnabled\":[516,\"editing-enabled\"],\"mulitpleSelectionEnabled\":[516,\"mulitple-selection-enabled\"],\"position\":[1],\"expandable\":[4],\"referenceItems\":[1040],\"selectedItems\":[1040],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-basemap-toggle\",[[0,\"arcgis-basemap-toggle\",{\"referenceElement\":[1,\"reference-element\"],\"activeBasemap\":[16],\"nextBasemap\":[1025,\"next-basemap\"],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040],\"toggle\":[64]}]]],[\"arcgis-bookmarks\",[[0,\"arcgis-bookmarks\",{\"referenceElement\":[1,\"reference-element\"],\"bookmarks\":[16],\"defaultCreateOptions\":[16],\"defaultEditOptions\":[16],\"editingEnabled\":[516,\"editing-enabled\"],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-building-explorer\",[[0,\"arcgis-building-explorer\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"expandable\":[4],\"widget\":[1040],\"view\":[1040]}]]],[\"arcgis-coordinate-conversion\",[[0,\"arcgis-coordinate-conversion\",{\"referenceElement\":[1,\"reference-element\"],\"conversions\":[16],\"currentLocation\":[1040],\"formats\":[16],\"locationSymbol\":[16],\"mode\":[1],\"multipleConversions\":[4,\"multiple-conversions\"],\"orientation\":[1],\"storageEnabled\":[4,\"storage-enabled\"],\"storageType\":[1,\"storage-type\"],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040],\"reverseConvert\":[64]}]]],[\"arcgis-daylight\",[[0,\"arcgis-daylight\",{\"referenceElement\":[1,\"reference-element\"],\"dateOrSeason\":[1,\"date-or-season\"],\"playSpeedMultiplier\":[2,\"play-speed-multiplier\"],\"timeSliderSteps\":[2,\"time-slider-steps\"],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-directions\",[[0,\"arcgis-directions\",{\"referenceElement\":[1,\"reference-element\"],\"apiKey\":[1,\"api-key\"],\"routeLayerItemId\":[1,\"route-layer-item-id\"],\"lastRoute\":[1040],\"layer\":[16],\"maxStops\":[2,\"max-stops\"],\"searchProperties\":[16],\"unit\":[1],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040],\"getDirections\":[64],\"save\":[64],\"saveAs\":[64],\"zoomToRoute\":[64]}]]],[\"arcgis-directline-measurement-3d\",[[0,\"arcgis-directline-measurement-3d\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"expandable\":[4],\"analysis\":[1040],\"unit\":[1],\"unitOptions\":[16],\"widget\":[1040],\"view\":[1040]}]]],[\"arcgis-distance-measurement-2d\",[[0,\"arcgis-distance-measurement-2d\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"expandable\":[4],\"unit\":[1],\"unitOptions\":[16],\"widget\":[1040],\"view\":[1040]}]]],[\"arcgis-editor\",[[0,\"arcgis-editor\",{\"referenceElement\":[1,\"reference-element\"],\"activeWorkflow\":[1040],\"allowedWorkflows\":[1,\"allowed-workflows\"],\"labelOptions\":[16],\"layerInfos\":[16],\"snappingOptions\":[16],\"supportingWidgetDefaults\":[16],\"tooltipOptions\":[16],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040],\"cancelWorkflow\":[64],\"deleteFeatureFromWorkflow\":[64],\"startCreateFeaturesWorkflowAtFeatureCreation\":[64],\"startCreateFeaturesWorkflowAtFeatureTypeSelection\":[64],\"startUpdateWorkflowAtFeatureEdit\":[64],\"startUpdateWorkflowAtFeatureSelection\":[64],\"startUpdateWorkflowAtMultipleFeatureSelection\":[64]}]]],[\"arcgis-elevation-profile\",[[0,\"arcgis-elevation-profile\",{\"referenceElement\":[1,\"reference-element\"],\"geodesicDistanceThreshold\":[2,\"geodesic-distance-threshold\"],\"input\":[16],\"profiles\":[16],\"position\":[1],\"expandable\":[4],\"unit\":[1],\"unitOptions\":[16],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-feature\",[[0,\"arcgis-feature\",{\"referenceElement\":[1,\"reference-element\"],\"defaultPopupTemplateEnabled\":[4,\"default-popup-template-enabled\"],\"graphic\":[16],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-feature-templates\",[[0,\"arcgis-feature-templates\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"expandable\":[4],\"widget\":[1040],\"layers\":[16]}]]],[\"arcgis-features\",[[0,\"arcgis-features\",{\"referenceElement\":[1,\"reference-element\"],\"view\":[1040],\"position\":[1],\"expandable\":[4],\"content\":[1],\"features\":[16],\"selectedFeature\":[1040],\"selectedFeatureIndex\":[1026,\"selected-feature-index\"],\"selectedFeatureWidget\":[1040],\"widget\":[1040],\"fetchFeatures\":[64],\"clear\":[64],\"close\":[64],\"next\":[64],\"open\":[64],\"previous\":[64]}]]],[\"arcgis-floor-filter\",[[0,\"arcgis-floor-filter\",{\"referenceElement\":[1,\"reference-element\"],\"facility\":[1],\"level\":[1],\"longNames\":[4,\"long-names\"],\"site\":[1],\"position\":[1],\"expandable\":[4],\"widget\":[1040],\"view\":[1040],\"updateWebDocument\":[64]}]]],[\"arcgis-histogram-range-slider\",[[0,\"arcgis-histogram-range-slider\",{\"referenceElement\":[1,\"reference-element\"],\"max\":[2],\"min\":[2],\"position\":[1],\"expandable\":[4],\"widget\":[1040]}]]],[\"arcgis-layer-list\",[[0,\"arcgis-layer-list\",{\"referenceElement\":[1,\"reference-element\"],\"multipleSelectionEnabled\":[4,\"multiple-selection-enabled\"],\"operationalItems\":[1040],\"selectedItems\":[16],\"selectionEnabled\":[4,\"selection-enabled\"],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040],\"triggerAction\":[64]}]]],[\"arcgis-legend\",[[0,\"arcgis-legend\",{\"referenceElement\":[1,\"reference-element\"],\"activeLayerInfos\":[16],\"basemapLegendVisible\":[4,\"basemap-legend-visible\"],\"hideLayersNotInCurrentView\":[4,\"hide-layers-not-in-current-view\"],\"layerInfos\":[16],\"respectLayerVisibility\":[4,\"respect-layer-visibility\"],\"legendStyle\":[1,\"legend-style\"],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-line-of-sight\",[[0,\"arcgis-line-of-sight\",{\"referenceElement\":[1,\"reference-element\"],\"analysis\":[1040],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-measurement\",[[0,\"arcgis-measurement\",{\"referenceElement\":[1,\"reference-element\"],\"activeTool\":[1,\"active-tool\"],\"activeWidget\":[1040],\"areaUnit\":[1,\"area-unit\"],\"linearUnit\":[1,\"linear-unit\"],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040],\"startMeasurement\":[64]}]]],[\"arcgis-print\",[[0,\"arcgis-print\",{\"referenceElement\":[1,\"reference-element\"],\"allowedFormats\":[1,\"allowed-formats\"],\"allowedLayouts\":[1,\"allowed-layouts\"],\"exportedLinks\":[1040],\"extraParameters\":[8,\"extra-parameters\"],\"includeDefaultTemplates\":[4,\"include-default-templates\"],\"portal\":[16],\"printServiceUrl\":[1,\"print-service-url\"],\"templateCustomTextElements\":[16],\"templateOptions\":[16],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-scale-bar\",[[0,\"arcgis-scale-bar\",{\"referenceElement\":[1,\"reference-element\"],\"view\":[1040],\"position\":[1],\"expandable\":[4],\"barStyle\":[1,\"bar-style\"],\"unit\":[1],\"widget\":[1040]}]]],[\"arcgis-scale-range-slider\",[[0,\"arcgis-scale-range-slider\",{\"referenceElement\":[1,\"reference-element\"],\"view\":[1040],\"position\":[1],\"expandable\":[4],\"widget\":[1040],\"layer\":[16],\"maxScale\":[2,\"max-scale\"],\"maxScaleLimit\":[2,\"max-scale-limit\"],\"minScale\":[2,\"min-scale\"],\"minScaleLimit\":[2,\"min-scale-limit\"],\"region\":[1]}]]],[\"arcgis-shadow-cast\",[[0,\"arcgis-shadow-cast\",{\"referenceElement\":[1,\"reference-element\"],\"view\":[1040],\"position\":[1],\"expandable\":[4],\"widget\":[1040],\"headingLevel\":[2,\"heading-level\"]}]]],[\"arcgis-sketch\",[[0,\"arcgis-sketch\",{\"referenceElement\":[1,\"reference-element\"],\"activeTool\":[1537,\"active-tool\"],\"availableCreateTools\":[16],\"createGraphic\":[1040],\"creationMode\":[1,\"creation-mode\"],\"defaultCreateOptions\":[16],\"defaultUpdateOptions\":[16],\"labelOptions\":[16],\"layer\":[1040],\"layout\":[1],\"snappingOptions\":[16],\"tooltipOptions\":[16],\"updateGraphics\":[1040],\"view\":[1040],\"position\":[1],\"expandable\":[4],\"widget\":[1040]}]]],[\"arcgis-slice\",[[0,\"arcgis-slice\",{\"referenceElement\":[1,\"reference-element\"],\"analysis\":[1040],\"view\":[1040],\"position\":[1],\"expandable\":[4],\"widget\":[1040],\"headingLevel\":[2,\"heading-level\"]}]]],[\"arcgis-slider\",[[0,\"arcgis-slider\",{\"referenceElement\":[1,\"reference-element\"],\"draggableSegmentsEnabled\":[4,\"draggable-segments-enabled\"],\"effectiveMax\":[2,\"effective-max\"],\"effectiveMin\":[2,\"effective-min\"],\"effectiveSegmentElements\":[1040],\"labelElements\":[1040],\"labelInputsEnabled\":[4,\"label-inputs-enabled\"],\"labels\":[16],\"layout\":[1],\"min\":[2],\"max\":[2],\"maxLabelElement\":[1040],\"minLabelElement\":[1040],\"precision\":[2],\"rangeLabelInputsEnabled\":[4,\"range-label-inputs-enabled\"],\"segmentElements\":[1040],\"snapOnClickEnabled\":[4,\"snap-on-click-enabled\"],\"syncedSegmentsEnabled\":[4,\"synced-segments-enabled\"],\"thumbElements\":[1040],\"thumbsConstrained\":[4,\"thumbs-constrained\"],\"tickConfigs\":[16],\"tickElements\":[1040],\"trackElement\":[1040],\"steps\":[8],\"values\":[1],\"position\":[1],\"expandable\":[4],\"widget\":[1040]}]]],[\"arcgis-table-list\",[[0,\"arcgis-table-list\",{\"referenceElement\":[1,\"reference-element\"],\"multipleSelectionEnabled\":[4,\"multiple-selection-enabled\"],\"selectionEnabled\":[4,\"selection-enabled\"],\"selectedItems\":[1040],\"tableItems\":[1040],\"view\":[1040],\"position\":[1],\"expandable\":[4],\"widget\":[1040]}]]],[\"arcgis-time-slider\",[[0,\"arcgis-time-slider\",{\"referenceElement\":[1,\"reference-element\"],\"actions\":[16],\"effectiveStops\":[1040],\"fullTimeExtent\":[16],\"layout\":[1],\"loop\":[4],\"mode\":[1],\"playRate\":[2,\"play-rate\"],\"stops\":[16],\"tickConfigs\":[16],\"timeExtent\":[16],\"timeVisible\":[4,\"time-visible\"],\"view\":[1040],\"position\":[1],\"expandable\":[4],\"widget\":[1040],\"next\":[64],\"play\":[64],\"previous\":[64],\"stop\":[64]}]]],[\"arcgis-utility-network-associations\",[[0,\"arcgis-utility-network-associations\",{\"referenceElement\":[1,\"reference-element\"],\"autoRefreshAssociations\":[4,\"auto-refresh-associations\"],\"connectivityAssociationsLineSymbol\":[16],\"includeConnectivityAssociations\":[4,\"include-connectivity-associations\"],\"includeStructuralAttachmentAssociations\":[4,\"include-structural-attachment-associations\"],\"maxAllowableAssociations\":[2,\"max-allowable-associations\"],\"maxAllowableAssociationsSliderMax\":[2,\"max-allowable-associations-slider-max\"],\"maxAllowableAssociationsSliderMin\":[2,\"max-allowable-associations-slider-min\"],\"maxAllowableAssociationsSliderStep\":[2,\"max-allowable-associations-slider-step\"],\"showArrowsConnectivity\":[4,\"show-arrows-connectivity\"],\"showArrowsStructuralAttachment\":[4,\"show-arrows-structural-attachment\"],\"showAssociationsEnabled\":[4,\"show-associations-enabled\"],\"structuralAttachmentAssociationsLineSymbol\":[16],\"utilityNetwork\":[16],\"view\":[1040],\"position\":[1],\"expandable\":[4],\"widget\":[1040]}]]],[\"arcgis-utility-network-trace\",[[0,\"arcgis-utility-network-trace\",{\"referenceElement\":[1,\"reference-element\"],\"defaultGraphicColor\":[16],\"flags\":[16],\"gdbVersion\":[1,\"gdb-version\"],\"inputSettings\":[16],\"selectedTraces\":[16],\"selectOnComplete\":[4,\"select-on-complete\"],\"showGraphicsOnComplete\":[4,\"show-graphics-on-complete\"],\"showSelectionAttributes\":[4,\"show-selection-attributes\"],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040],\"checkCanTrace\":[64],\"confirmReset\":[64]}]]],[\"arcgis-utility-network-validate-topology\",[[0,\"arcgis-utility-network-validate-topology\",{\"referenceElement\":[1,\"reference-element\"],\"extentToValidate\":[1,\"extent-to-validate\"],\"utilityNetwork\":[16],\"view\":[1040],\"position\":[1],\"expandable\":[4],\"widget\":[1040]}]]],[\"arcgis-value-picker\",[[0,\"arcgis-value-picker\",{\"referenceElement\":[1,\"reference-element\"],\"view\":[1040],\"position\":[1],\"expandable\":[4],\"widget\":[1040],\"canNext\":[516,\"can-next\"],\"canPlay\":[516,\"can-play\"],\"canPrevious\":[516,\"can-previous\"],\"caption\":[1],\"component\":[16],\"layout\":[1],\"loop\":[4],\"playRate\":[2,\"play-rate\"],\"values\":[1040],\"next\":[64],\"pause\":[64],\"play\":[64],\"previous\":[64]}]]],[\"arcgis-weather\",[[0,\"arcgis-weather\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-compass\",[[0,\"arcgis-compass\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"widget\":[1040],\"view\":[1040],\"reset\":[64]}]]],[\"arcgis-feature-form\",[[0,\"arcgis-feature-form\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"expandable\":[4],\"widget\":[1040]}]]],[\"arcgis-feature-table\",[[0,\"arcgis-feature-table\",{\"referenceElement\":[1,\"reference-element\"],\"activeFilters\":[1040],\"activeSortOrders\":[1040],\"attachmentsEnabled\":[4,\"attachments-enabled\"],\"autoRefreshEnabled\":[4,\"auto-refresh-enabled\"],\"columnReorderingEnabled\":[4,\"column-reordering-enabled\"],\"columns\":[1040],\"editingEnabled\":[4,\"editing-enabled\"],\"filterGeometry\":[16],\"hiddenFields\":[16],\"highlightEnabled\":[4,\"highlight-enabled\"],\"highlightIds\":[16],\"layer\":[1040],\"menu\":[1040],\"menuConfig\":[16],\"multiSortEnabled\":[4,\"multi-sort-enabled\"],\"pageSize\":[2,\"page-size\"],\"state\":[1025],\"tableTemplate\":[16],\"itemId\":[1,\"item-id\"],\"position\":[1],\"url\":[1],\"view\":[1040],\"widget\":[1040],\"clearSelectionFilter\":[64],\"deleteSelection\":[64],\"filterBySelection\":[64],\"findColumn\":[64],\"hideColumn\":[64],\"refresh\":[64],\"scrollToIndex\":[64],\"showAllColumns\":[64],\"showColumn\":[64],\"sortColumn\":[64]}]]],[\"arcgis-fullscreen\",[[0,\"arcgis-fullscreen\",{\"referenceElement\":[1,\"reference-element\"],\"element\":[16],\"position\":[1],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-histogram\",[[0,\"arcgis-histogram\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"expandable\":[4],\"widget\":[1040]}]]],[\"arcgis-home\",[[0,\"arcgis-home\",{\"referenceElement\":[1,\"reference-element\"],\"viewpoint\":[16],\"view\":[1040],\"position\":[1],\"widget\":[1040],\"cancelGo\":[64],\"go\":[64]}]]],[\"arcgis-locate\",[[0,\"arcgis-locate\",{\"referenceElement\":[1,\"reference-element\"],\"geolocationOptions\":[8,\"geolocation-options\"],\"goToLocationEnabled\":[4,\"go-to-location-enabled\"],\"graphic\":[16],\"popupEnabled\":[4,\"popup-enabled\"],\"scale\":[2],\"position\":[1],\"view\":[1040],\"widget\":[1040],\"useHeadingEnabled\":[1028,\"use-heading-enabled\"],\"cancelLocate\":[64],\"locate\":[64]}]]],[\"arcgis-navigation-toggle\",[[0,\"arcgis-navigation-toggle\",{\"referenceElement\":[1,\"reference-element\"],\"layout\":[1537],\"position\":[1],\"view\":[1040],\"widget\":[1040],\"toggle\":[64]}]]],[\"arcgis-swipe\",[[0,\"arcgis-swipe\",{\"referenceElement\":[1,\"reference-element\"],\"direction\":[1],\"dragLabel\":[1,\"drag-label\"],\"leadingLayers\":[16],\"swipePosition\":[2,\"swipe-position\"],\"trailingLayers\":[16],\"view\":[1040],\"position\":[1],\"widget\":[1040]}]]],[\"arcgis-track\",[[0,\"arcgis-track\",{\"referenceElement\":[1,\"reference-element\"],\"geolocationOptions\":[8,\"geolocation-options\"],\"goToLocationEnabled\":[4,\"go-to-location-enabled\"],\"graphic\":[16],\"scale\":[2],\"tracking\":[1540],\"useHeadingEnabled\":[4,\"use-heading-enabled\"],\"position\":[1],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-zoom\",[[0,\"arcgis-zoom\",{\"referenceElement\":[1,\"reference-element\"],\"layout\":[1],\"view\":[1040],\"position\":[1],\"widget\":[1040],\"zoomIn\":[64],\"zoomOut\":[64]}]]]]"), options);
|
|
14
|
+
return bootstrapLazy(JSON.parse("[[\"arcgis-expand_4\",[[0,\"arcgis-legend\",{\"referenceElement\":[1,\"reference-element\"],\"activeLayerInfos\":[16],\"basemapLegendVisible\":[4,\"basemap-legend-visible\"],\"hideLayersNotInCurrentView\":[4,\"hide-layers-not-in-current-view\"],\"layerInfos\":[16],\"respectLayerVisibility\":[4,\"respect-layer-visibility\"],\"legendStyle\":[1,\"legend-style\"],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040]}],[0,\"arcgis-search\",{\"referenceElement\":[1,\"reference-element\"],\"activeMenu\":[1,\"active-menu\"],\"activeSource\":[1040],\"activeSourceIndex\":[1026,\"active-source-index\"],\"allPlaceholder\":[1,\"all-placeholder\"],\"allSources\":[1040],\"autoSelect\":[4,\"auto-select\"],\"defaultSources\":[1040],\"includeDefaultSources\":[4,\"include-default-sources\"],\"locationEnabled\":[4,\"location-enabled\"],\"maxResults\":[2,\"max-results\"],\"maxSuggestions\":[2,\"max-suggestions\"],\"minSuggestCharacters\":[2,\"min-suggest-characters\"],\"popupEnabled\":[4,\"popup-enabled\"],\"popupTemplate\":[16],\"portal\":[16],\"resultGraphic\":[1040],\"resultGraphicEnabled\":[4,\"result-graphic-enabled\"],\"results\":[1040],\"searchAllEnabled\":[4,\"search-all-enabled\"],\"searchTerm\":[1,\"search-term\"],\"selectedResult\":[1040],\"sources\":[16],\"suggestions\":[16],\"suggestionsEnabled\":[4,\"suggestions-enabled\"],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040],\"blurSearch\":[64],\"clearSearch\":[64],\"focusSearch\":[64],\"search\":[64],\"suggest\":[64]}],[0,\"arcgis-map\",{\"apiKey\":[1,\"api-key\"],\"basemap\":[1025],\"backgroundColor\":[1025,\"background-color\"],\"disableNavigation\":[4,\"disable-navigation\"],\"itemId\":[1,\"item-id\"],\"portalUrl\":[1,\"portal-url\"],\"scale\":[1538],\"zoom\":[1538],\"center\":[1537],\"view\":[1040]}],[0,\"arcgis-expand\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-area-measurement-2d\",[[0,\"arcgis-area-measurement-2d\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"expandable\":[4],\"unit\":[1025],\"unitOptions\":[16],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-area-measurement-3d\",[[0,\"arcgis-area-measurement-3d\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"expandable\":[4],\"unit\":[1025],\"unitOptions\":[16],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-attachments\",[[0,\"arcgis-attachments\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"expandable\":[4],\"graphic\":[16],\"widget\":[1040]}]]],[\"arcgis-basemap-gallery\",[[0,\"arcgis-basemap-gallery\",{\"referenceElement\":[1,\"reference-element\"],\"activeBasemap\":[1040],\"position\":[1],\"expandable\":[4],\"source\":[1040],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-basemap-layer-list\",[[0,\"arcgis-basemap-layer-list\",{\"referenceElement\":[1,\"reference-element\"],\"basemapTitle\":[513,\"basemap-title\"],\"baseItems\":[1040],\"editingEnabled\":[516,\"editing-enabled\"],\"mulitpleSelectionEnabled\":[516,\"mulitple-selection-enabled\"],\"position\":[1],\"expandable\":[4],\"referenceItems\":[1040],\"selectedItems\":[1040],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-basemap-toggle\",[[0,\"arcgis-basemap-toggle\",{\"referenceElement\":[1,\"reference-element\"],\"activeBasemap\":[16],\"nextBasemap\":[1025,\"next-basemap\"],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040],\"toggle\":[64]}]]],[\"arcgis-bookmarks\",[[0,\"arcgis-bookmarks\",{\"referenceElement\":[1,\"reference-element\"],\"bookmarks\":[16],\"defaultCreateOptions\":[16],\"defaultEditOptions\":[16],\"editingEnabled\":[516,\"editing-enabled\"],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-building-explorer\",[[0,\"arcgis-building-explorer\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"expandable\":[4],\"widget\":[1040],\"view\":[1040]}]]],[\"arcgis-coordinate-conversion\",[[0,\"arcgis-coordinate-conversion\",{\"referenceElement\":[1,\"reference-element\"],\"conversions\":[16],\"currentLocation\":[1040],\"formats\":[16],\"locationSymbol\":[16],\"mode\":[1],\"multipleConversions\":[4,\"multiple-conversions\"],\"orientation\":[1],\"storageEnabled\":[4,\"storage-enabled\"],\"storageType\":[1,\"storage-type\"],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040],\"reverseConvert\":[64]}]]],[\"arcgis-daylight\",[[0,\"arcgis-daylight\",{\"referenceElement\":[1,\"reference-element\"],\"dateOrSeason\":[1,\"date-or-season\"],\"playSpeedMultiplier\":[2,\"play-speed-multiplier\"],\"timeSliderSteps\":[2,\"time-slider-steps\"],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-directions\",[[0,\"arcgis-directions\",{\"referenceElement\":[1,\"reference-element\"],\"apiKey\":[1,\"api-key\"],\"routeLayerItemId\":[1,\"route-layer-item-id\"],\"lastRoute\":[1040],\"layer\":[16],\"maxStops\":[2,\"max-stops\"],\"searchProperties\":[16],\"unit\":[1],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040],\"getDirections\":[64],\"save\":[64],\"saveAs\":[64],\"zoomToRoute\":[64]}]]],[\"arcgis-directline-measurement-3d\",[[0,\"arcgis-directline-measurement-3d\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"expandable\":[4],\"analysis\":[1040],\"unit\":[1],\"unitOptions\":[16],\"widget\":[1040],\"view\":[1040]}]]],[\"arcgis-distance-measurement-2d\",[[0,\"arcgis-distance-measurement-2d\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"expandable\":[4],\"unit\":[1],\"unitOptions\":[16],\"widget\":[1040],\"view\":[1040]}]]],[\"arcgis-editor\",[[0,\"arcgis-editor\",{\"referenceElement\":[1,\"reference-element\"],\"activeWorkflow\":[1040],\"allowedWorkflows\":[1,\"allowed-workflows\"],\"labelOptions\":[16],\"layerInfos\":[16],\"snappingOptions\":[16],\"supportingWidgetDefaults\":[16],\"tooltipOptions\":[16],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040],\"cancelWorkflow\":[64],\"deleteFeatureFromWorkflow\":[64],\"startCreateFeaturesWorkflowAtFeatureCreation\":[64],\"startCreateFeaturesWorkflowAtFeatureTypeSelection\":[64],\"startUpdateWorkflowAtFeatureEdit\":[64],\"startUpdateWorkflowAtFeatureSelection\":[64],\"startUpdateWorkflowAtMultipleFeatureSelection\":[64]}]]],[\"arcgis-elevation-profile\",[[0,\"arcgis-elevation-profile\",{\"referenceElement\":[1,\"reference-element\"],\"geodesicDistanceThreshold\":[2,\"geodesic-distance-threshold\"],\"input\":[16],\"profiles\":[16],\"position\":[1],\"expandable\":[4],\"unit\":[1],\"unitOptions\":[16],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-feature\",[[0,\"arcgis-feature\",{\"referenceElement\":[1,\"reference-element\"],\"defaultPopupTemplateEnabled\":[4,\"default-popup-template-enabled\"],\"graphic\":[16],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-feature-templates\",[[0,\"arcgis-feature-templates\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"expandable\":[4],\"widget\":[1040],\"layers\":[16]}]]],[\"arcgis-features\",[[0,\"arcgis-features\",{\"referenceElement\":[1,\"reference-element\"],\"view\":[1040],\"position\":[1],\"expandable\":[4],\"content\":[1],\"features\":[16],\"selectedFeature\":[1040],\"selectedFeatureIndex\":[1026,\"selected-feature-index\"],\"selectedFeatureWidget\":[1040],\"widget\":[1040],\"fetchFeatures\":[64],\"clear\":[64],\"close\":[64],\"next\":[64],\"open\":[64],\"previous\":[64]}]]],[\"arcgis-floor-filter\",[[0,\"arcgis-floor-filter\",{\"referenceElement\":[1,\"reference-element\"],\"facility\":[1],\"level\":[1],\"longNames\":[4,\"long-names\"],\"site\":[1],\"position\":[1],\"expandable\":[4],\"widget\":[1040],\"view\":[1040],\"updateWebDocument\":[64]}]]],[\"arcgis-histogram-range-slider\",[[0,\"arcgis-histogram-range-slider\",{\"referenceElement\":[1,\"reference-element\"],\"max\":[2],\"min\":[2],\"position\":[1],\"expandable\":[4],\"widget\":[1040]}]]],[\"arcgis-layer-list\",[[0,\"arcgis-layer-list\",{\"referenceElement\":[1,\"reference-element\"],\"multipleSelectionEnabled\":[4,\"multiple-selection-enabled\"],\"operationalItems\":[1040],\"selectedItems\":[16],\"selectionEnabled\":[4,\"selection-enabled\"],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040],\"triggerAction\":[64]}]]],[\"arcgis-line-of-sight\",[[0,\"arcgis-line-of-sight\",{\"referenceElement\":[1,\"reference-element\"],\"analysis\":[1040],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-measurement\",[[0,\"arcgis-measurement\",{\"referenceElement\":[1,\"reference-element\"],\"activeTool\":[1,\"active-tool\"],\"activeWidget\":[1040],\"areaUnit\":[1,\"area-unit\"],\"linearUnit\":[1,\"linear-unit\"],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040],\"startMeasurement\":[64]}]]],[\"arcgis-print\",[[0,\"arcgis-print\",{\"referenceElement\":[1,\"reference-element\"],\"allowedFormats\":[1,\"allowed-formats\"],\"allowedLayouts\":[1,\"allowed-layouts\"],\"exportedLinks\":[1040],\"extraParameters\":[8,\"extra-parameters\"],\"includeDefaultTemplates\":[4,\"include-default-templates\"],\"portal\":[16],\"printServiceUrl\":[1,\"print-service-url\"],\"templateCustomTextElements\":[16],\"templateOptions\":[16],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-scale-bar\",[[0,\"arcgis-scale-bar\",{\"referenceElement\":[1,\"reference-element\"],\"view\":[1040],\"position\":[1],\"expandable\":[4],\"barStyle\":[1,\"bar-style\"],\"unit\":[1],\"widget\":[1040]}]]],[\"arcgis-scale-range-slider\",[[0,\"arcgis-scale-range-slider\",{\"referenceElement\":[1,\"reference-element\"],\"view\":[1040],\"position\":[1],\"expandable\":[4],\"widget\":[1040],\"layer\":[16],\"maxScale\":[2,\"max-scale\"],\"maxScaleLimit\":[2,\"max-scale-limit\"],\"minScale\":[2,\"min-scale\"],\"minScaleLimit\":[2,\"min-scale-limit\"],\"region\":[1]}]]],[\"arcgis-shadow-cast\",[[0,\"arcgis-shadow-cast\",{\"referenceElement\":[1,\"reference-element\"],\"view\":[1040],\"position\":[1],\"expandable\":[4],\"widget\":[1040],\"headingLevel\":[2,\"heading-level\"]}]]],[\"arcgis-sketch\",[[0,\"arcgis-sketch\",{\"referenceElement\":[1,\"reference-element\"],\"activeTool\":[1537,\"active-tool\"],\"availableCreateTools\":[16],\"createGraphic\":[1040],\"creationMode\":[1,\"creation-mode\"],\"defaultCreateOptions\":[16],\"defaultUpdateOptions\":[16],\"labelOptions\":[16],\"layer\":[1040],\"layout\":[1],\"snappingOptions\":[16],\"tooltipOptions\":[16],\"updateGraphics\":[1040],\"view\":[1040],\"position\":[1],\"expandable\":[4],\"widget\":[1040]}]]],[\"arcgis-slice\",[[0,\"arcgis-slice\",{\"referenceElement\":[1,\"reference-element\"],\"analysis\":[1040],\"view\":[1040],\"position\":[1],\"expandable\":[4],\"widget\":[1040],\"headingLevel\":[2,\"heading-level\"]}]]],[\"arcgis-slider\",[[0,\"arcgis-slider\",{\"referenceElement\":[1,\"reference-element\"],\"draggableSegmentsEnabled\":[4,\"draggable-segments-enabled\"],\"effectiveMax\":[2,\"effective-max\"],\"effectiveMin\":[2,\"effective-min\"],\"effectiveSegmentElements\":[1040],\"labelElements\":[1040],\"labelInputsEnabled\":[4,\"label-inputs-enabled\"],\"labels\":[16],\"layout\":[1],\"min\":[2],\"max\":[2],\"maxLabelElement\":[1040],\"minLabelElement\":[1040],\"precision\":[2],\"rangeLabelInputsEnabled\":[4,\"range-label-inputs-enabled\"],\"segmentElements\":[1040],\"snapOnClickEnabled\":[4,\"snap-on-click-enabled\"],\"syncedSegmentsEnabled\":[4,\"synced-segments-enabled\"],\"thumbElements\":[1040],\"thumbsConstrained\":[4,\"thumbs-constrained\"],\"tickConfigs\":[16],\"tickElements\":[1040],\"trackElement\":[1040],\"steps\":[8],\"values\":[1],\"position\":[1],\"expandable\":[4],\"widget\":[1040]}]]],[\"arcgis-table-list\",[[0,\"arcgis-table-list\",{\"referenceElement\":[1,\"reference-element\"],\"multipleSelectionEnabled\":[4,\"multiple-selection-enabled\"],\"selectionEnabled\":[4,\"selection-enabled\"],\"selectedItems\":[1040],\"tableItems\":[1040],\"view\":[1040],\"position\":[1],\"expandable\":[4],\"widget\":[1040]}]]],[\"arcgis-time-slider\",[[0,\"arcgis-time-slider\",{\"referenceElement\":[1,\"reference-element\"],\"actions\":[16],\"effectiveStops\":[1040],\"fullTimeExtent\":[16],\"layout\":[1],\"loop\":[4],\"mode\":[1],\"playRate\":[2,\"play-rate\"],\"stops\":[16],\"tickConfigs\":[16],\"timeExtent\":[16],\"timeVisible\":[4,\"time-visible\"],\"view\":[1040],\"position\":[1],\"expandable\":[4],\"widget\":[1040],\"next\":[64],\"play\":[64],\"previous\":[64],\"stop\":[64]}]]],[\"arcgis-utility-network-associations\",[[0,\"arcgis-utility-network-associations\",{\"referenceElement\":[1,\"reference-element\"],\"autoRefreshAssociations\":[4,\"auto-refresh-associations\"],\"connectivityAssociationsLineSymbol\":[16],\"includeConnectivityAssociations\":[4,\"include-connectivity-associations\"],\"includeStructuralAttachmentAssociations\":[4,\"include-structural-attachment-associations\"],\"maxAllowableAssociations\":[2,\"max-allowable-associations\"],\"maxAllowableAssociationsSliderMax\":[2,\"max-allowable-associations-slider-max\"],\"maxAllowableAssociationsSliderMin\":[2,\"max-allowable-associations-slider-min\"],\"maxAllowableAssociationsSliderStep\":[2,\"max-allowable-associations-slider-step\"],\"showArrowsConnectivity\":[4,\"show-arrows-connectivity\"],\"showArrowsStructuralAttachment\":[4,\"show-arrows-structural-attachment\"],\"showAssociationsEnabled\":[4,\"show-associations-enabled\"],\"structuralAttachmentAssociationsLineSymbol\":[16],\"utilityNetwork\":[16],\"view\":[1040],\"position\":[1],\"expandable\":[4],\"widget\":[1040]}]]],[\"arcgis-utility-network-trace\",[[0,\"arcgis-utility-network-trace\",{\"referenceElement\":[1,\"reference-element\"],\"defaultGraphicColor\":[16],\"flags\":[16],\"gdbVersion\":[1,\"gdb-version\"],\"inputSettings\":[16],\"selectedTraces\":[16],\"selectOnComplete\":[4,\"select-on-complete\"],\"showGraphicsOnComplete\":[4,\"show-graphics-on-complete\"],\"showSelectionAttributes\":[4,\"show-selection-attributes\"],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040],\"checkCanTrace\":[64],\"confirmReset\":[64]}]]],[\"arcgis-utility-network-validate-topology\",[[0,\"arcgis-utility-network-validate-topology\",{\"referenceElement\":[1,\"reference-element\"],\"extentToValidate\":[1,\"extent-to-validate\"],\"utilityNetwork\":[16],\"view\":[1040],\"position\":[1],\"expandable\":[4],\"widget\":[1040]}]]],[\"arcgis-value-picker\",[[0,\"arcgis-value-picker\",{\"referenceElement\":[1,\"reference-element\"],\"view\":[1040],\"position\":[1],\"expandable\":[4],\"widget\":[1040],\"canNext\":[516,\"can-next\"],\"canPlay\":[516,\"can-play\"],\"canPrevious\":[516,\"can-previous\"],\"caption\":[1],\"component\":[16],\"layout\":[1],\"loop\":[4],\"playRate\":[2,\"play-rate\"],\"values\":[1040],\"next\":[64],\"pause\":[64],\"play\":[64],\"previous\":[64]}]]],[\"arcgis-weather\",[[0,\"arcgis-weather\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-compass\",[[0,\"arcgis-compass\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"widget\":[1040],\"view\":[1040],\"reset\":[64]}]]],[\"arcgis-feature-form\",[[0,\"arcgis-feature-form\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"expandable\":[4],\"widget\":[1040]}]]],[\"arcgis-feature-table\",[[0,\"arcgis-feature-table\",{\"referenceElement\":[1,\"reference-element\"],\"activeFilters\":[1040],\"activeSortOrders\":[1040],\"attachmentsEnabled\":[4,\"attachments-enabled\"],\"autoRefreshEnabled\":[4,\"auto-refresh-enabled\"],\"columnReorderingEnabled\":[4,\"column-reordering-enabled\"],\"columns\":[1040],\"editingEnabled\":[4,\"editing-enabled\"],\"filterGeometry\":[16],\"hiddenFields\":[16],\"highlightEnabled\":[4,\"highlight-enabled\"],\"highlightIds\":[16],\"layer\":[1040],\"menu\":[1040],\"menuConfig\":[16],\"multiSortEnabled\":[4,\"multi-sort-enabled\"],\"pageSize\":[2,\"page-size\"],\"state\":[1025],\"tableTemplate\":[16],\"itemId\":[1,\"item-id\"],\"position\":[1],\"url\":[1],\"view\":[1040],\"widget\":[1040],\"clearSelectionFilter\":[64],\"deleteSelection\":[64],\"filterBySelection\":[64],\"findColumn\":[64],\"hideColumn\":[64],\"refresh\":[64],\"scrollToIndex\":[64],\"showAllColumns\":[64],\"showColumn\":[64],\"sortColumn\":[64]}]]],[\"arcgis-fullscreen\",[[0,\"arcgis-fullscreen\",{\"referenceElement\":[1,\"reference-element\"],\"element\":[16],\"position\":[1],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-histogram\",[[0,\"arcgis-histogram\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"expandable\":[4],\"widget\":[1040]}]]],[\"arcgis-home\",[[0,\"arcgis-home\",{\"referenceElement\":[1,\"reference-element\"],\"viewpoint\":[16],\"view\":[1040],\"position\":[1],\"widget\":[1040],\"cancelGo\":[64],\"go\":[64]}]]],[\"arcgis-locate\",[[0,\"arcgis-locate\",{\"referenceElement\":[1,\"reference-element\"],\"geolocationOptions\":[8,\"geolocation-options\"],\"goToLocationEnabled\":[4,\"go-to-location-enabled\"],\"graphic\":[16],\"popupEnabled\":[4,\"popup-enabled\"],\"scale\":[2],\"position\":[1],\"view\":[1040],\"widget\":[1040],\"useHeadingEnabled\":[1028,\"use-heading-enabled\"],\"cancelLocate\":[64],\"locate\":[64]}]]],[\"arcgis-navigation-toggle\",[[0,\"arcgis-navigation-toggle\",{\"referenceElement\":[1,\"reference-element\"],\"layout\":[1537],\"position\":[1],\"view\":[1040],\"widget\":[1040],\"toggle\":[64]}]]],[\"arcgis-scene\",[[0,\"arcgis-scene\",{\"apiKey\":[1,\"api-key\"],\"basemap\":[1025],\"itemId\":[1,\"item-id\"],\"portalUrl\":[1,\"portal-url\"],\"scale\":[1538],\"zoom\":[1538],\"center\":[1537],\"view\":[1040],\"disableNavigation\":[4,\"disable-navigation\"]}]]],[\"arcgis-swipe\",[[0,\"arcgis-swipe\",{\"referenceElement\":[1,\"reference-element\"],\"direction\":[1],\"dragLabel\":[1,\"drag-label\"],\"leadingLayers\":[16],\"swipePosition\":[2,\"swipe-position\"],\"trailingLayers\":[16],\"view\":[1040],\"position\":[1],\"widget\":[1040]}]]],[\"arcgis-track\",[[0,\"arcgis-track\",{\"referenceElement\":[1,\"reference-element\"],\"geolocationOptions\":[8,\"geolocation-options\"],\"goToLocationEnabled\":[4,\"go-to-location-enabled\"],\"graphic\":[16],\"scale\":[2],\"tracking\":[1540],\"useHeadingEnabled\":[4,\"use-heading-enabled\"],\"position\":[1],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-zoom\",[[0,\"arcgis-zoom\",{\"referenceElement\":[1,\"reference-element\"],\"layout\":[1],\"view\":[1040],\"position\":[1],\"widget\":[1040],\"zoomIn\":[64],\"zoomOut\":[64]}]]]]"), options);
|
|
15
15
|
});
|
|
16
16
|
};
|
|
17
17
|
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
function disableNavigation(view) {
|
|
2
|
+
if (view.type === '2d') {
|
|
3
|
+
view.constraints.rotationEnabled = false;
|
|
4
|
+
}
|
|
5
|
+
view.popup.dockEnabled = true;
|
|
6
|
+
// Removes the zoom action on the popup
|
|
7
|
+
view.popup.actions.removeAll();
|
|
8
|
+
view.popup.viewModel.includeDefaultActions = false;
|
|
9
|
+
// stops propagation of default behavior when an event fires
|
|
10
|
+
function stopEvtPropagation(event) {
|
|
11
|
+
event.stopPropagation();
|
|
12
|
+
}
|
|
13
|
+
// exlude the zoom widget from the default UI
|
|
14
|
+
view.ui.components = ['attribution'];
|
|
15
|
+
// disable mouse wheel scroll zooming on the view
|
|
16
|
+
view.on('mouse-wheel', stopEvtPropagation);
|
|
17
|
+
// disable zooming via double-click on the view
|
|
18
|
+
view.on('double-click', stopEvtPropagation);
|
|
19
|
+
// disable zooming out via double-click + Control on the view
|
|
20
|
+
view.on('double-click', ['Control'], stopEvtPropagation);
|
|
21
|
+
// disables pinch-zoom and panning on the view
|
|
22
|
+
view.on('drag', stopEvtPropagation);
|
|
23
|
+
// disable the view's zoom box to prevent the Shift + drag
|
|
24
|
+
// and Shift + Control + drag zoom gestures.
|
|
25
|
+
view.on('drag', ['Shift'], stopEvtPropagation);
|
|
26
|
+
view.on('drag', ['Shift', 'Control'], stopEvtPropagation);
|
|
27
|
+
// prevents zooming with the + and - keys
|
|
28
|
+
view.on('key-down', event => {
|
|
29
|
+
const prohibitedKeys = ['+', '-', 'Shift', '_', '=', 'ArrowUp', 'ArrowDown', 'ArrowRight', 'ArrowLeft'];
|
|
30
|
+
const keyPressed = event.key;
|
|
31
|
+
if (prohibitedKeys.indexOf(keyPressed) !== -1) {
|
|
32
|
+
event.stopPropagation();
|
|
33
|
+
}
|
|
34
|
+
});
|
|
35
|
+
return view;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export { disableNavigation as d };
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@arcgis/map-components",
|
|
3
3
|
"description": "ArcGIS Map Components",
|
|
4
4
|
"homepage": "https://developers.arcgis.com/javascript/latest/",
|
|
5
|
-
"version": "4.29.0-beta.
|
|
5
|
+
"version": "4.29.0-beta.8",
|
|
6
6
|
"module": "dist/components/index.js",
|
|
7
7
|
"main": "dist/index.cjs.js",
|
|
8
8
|
"types": "dist/types/index.d.ts",
|
|
@@ -53,9 +53,9 @@
|
|
|
53
53
|
"@stencil/core": "2.22.3"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
|
-
"@arcgis/components-plugins": "4.29.0-beta.
|
|
56
|
+
"@arcgis/components-plugins": "4.29.0-beta.8",
|
|
57
57
|
"@arcgis/core": ">=4.29.0-next <4.30",
|
|
58
|
-
"@arcgis/core-adapter": "4.29.0-beta.
|
|
58
|
+
"@arcgis/core-adapter": "4.29.0-beta.8",
|
|
59
59
|
"@arcgis/eslint-config": "1.0.0",
|
|
60
60
|
"@arcgis/typescript-config": "1.0.0",
|
|
61
61
|
"@esri/calcite-components": "^1.8.0",
|
|
@@ -88,5 +88,5 @@
|
|
|
88
88
|
"@arcgis/core": ">=4.29.0-next <4.30",
|
|
89
89
|
"@esri/calcite-components": ">=1.7.0 <2.0.0"
|
|
90
90
|
},
|
|
91
|
-
"gitHead": "
|
|
91
|
+
"gitHead": "aadae2d724fb5f84de4c084a11a7f34fa42f6581"
|
|
92
92
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,c as i,h as s,g as e}from"./p-1e5e5ed9.js";import{a4 as r}from"./p-f28d6d27.js";import{r as h,c as o}from"./p-2d3406f7.js";import{o as a}from"./p-b813c9e6.js";const c=class{constructor(s){t(this,s),this.widgetReady=i(this,"widgetReady",7),this.referenceElement=void 0,this.position="bottom-left",this.expandable=!1,this.view=void 0,this.widget=void 0}positionWatcher(t){void 0!==t&&this.widget&&"string"!=typeof this.view&&this.view.ui.move(this.childElem,t)}referenceElementWatcher(t){h(this,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t)}async componentDidLoad(){const t=this._createParams(),i=await r(t);this.widget=i,this.widgetReady.emit({widget:this.widget}),o(this)}disconnectedCallback(){a(this)}render(){return this.expandable?s("arcgis-expand",{position:this.position,ref:t=>this.expandElem=t},s("div",{ref:t=>this.childElem=t})):s("div",{ref:t=>this.childElem=t})}_createParams(){const t={container:this.childElem};return this.view&&(t.view=this.view),t}get el(){return e(this)}static get watchers(){return{position:["positionWatcher"],referenceElement:["referenceElementWatcher"],view:["viewWatcher"]}}};c.style="";export{c as arcgis_weather}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,c as i,h as e,g as s}from"./p-1e5e5ed9.js";import{s as r}from"./p-f28d6d27.js";import{r as h,c as a}from"./p-2d3406f7.js";import{o}from"./p-b813c9e6.js";const d=class{constructor(e){t(this,e),this.widgetReady=i(this,"widgetReady",7),this.referenceElement=void 0,this.dateOrSeason=void 0,this.playSpeedMultiplier=void 0,this.timeSliderSteps=void 0,this.position="bottom-left",this.expandable=!1,this.view=void 0,this.widget=void 0}positionWatcher(t){void 0!==t&&this.widget&&"string"!=typeof this.view&&this.view.ui.move(this.childElem,t)}dateOrSeasonWatcher(t){void 0!==t&&this.widget&&(this.widget.dateOrSeason=t)}playSpeedMultiplierWatcher(t){void 0!==t&&this.widget&&(this.widget.playSpeedMultiplier=t)}timeSliderStepsWatcher(t){void 0!==t&&this.widget&&(this.widget.timeSliderSteps=t)}referenceElementWatcher(t){h(this,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t)}async componentDidLoad(){const t=this._createParams(),i=await r(t);this.widget=i,this.widgetReady.emit({widget:this.widget}),a(this)}disconnectedCallback(){o(this)}render(){return this.expandable?e("arcgis-expand",{position:this.position,ref:t=>this.expandElem=t},e("div",{ref:t=>this.childElem=t})):e("div",{ref:t=>this.childElem=t})}_createParams(){const t={container:this.childElem};return this.view&&(t.view=this.view),this.dateOrSeason&&(t.dateOrSeason=this.dateOrSeason),this.playSpeedMultiplier&&(t.playSpeedMultiplier=this.playSpeedMultiplier),this.timeSliderSteps&&(t.timeSliderSteps=this.timeSliderSteps),t}get el(){return s(this)}static get watchers(){return{position:["positionWatcher"],dateOrSeason:["dateOrSeasonWatcher"],playSpeedMultiplier:["playSpeedMultiplierWatcher"],timeSliderSteps:["timeSliderStepsWatcher"],referenceElement:["referenceElementWatcher"],view:["viewWatcher"]}}};d.style="";export{d as arcgis_daylight}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{c as e}from"./p-b813c9e6.js";function t(t){let i=!1;if(!e(t)){let e=t.el.closest("arcgis-map")||t.el.closest("arcgis-scene");e||"string"!=typeof t.referenceElement||(e=document.querySelector(t.referenceElement),i=!0),e?.view&&"string"!=typeof e?.view?(t.view=e.view,i||t.view.ui.add(t.childElem||t.el,t.position)):e&&function(e,t,i){const n=()=>{e?.removeEventListener("viewReady",n,!1),t.view=e?.view,i||"string"==typeof t.view||t.view?.ui.add(t.childElem?t.childElem:t.el,t.position)};e.addEventListener("viewReady",n,!1)}(e,t,i)}}async function i(e){const t=document.querySelector(e);return new Promise((e=>{if(void 0!==t?.view)e(t.view);else if(t){const i=()=>{t.removeEventListener("viewReady",i,!1),e(t.view)};t.addEventListener("viewReady",i,!1)}}))}async function n(e,t){"string"==typeof t?e.view=await i(t):void 0!==t&&e.widget&&(e.view=t.view)}export{t as c,n as r,i as u}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as i,c as t,h as e,g as s}from"./p-1e5e5ed9.js";import{L as h}from"./p-f28d6d27.js";import{r,c as a}from"./p-2d3406f7.js";import{o}from"./p-b813c9e6.js";const c=class{constructor(e){i(this,e),this.widgetReady=t(this,"widgetReady",7),this.referenceElement=void 0,this.activeLayerInfos=void 0,this.basemapLegendVisible=void 0,this.hideLayersNotInCurrentView=void 0,this.layerInfos=void 0,this.respectLayerVisibility=void 0,this.legendStyle=void 0,this.position="bottom-left",this.expandable=!1,this.view=void 0,this.widget=void 0}positionWatcher(i){void 0!==i&&this.widget&&"string"!=typeof this.view&&this.view.ui.move(this.childElem,i)}activeLayerInfosWatcher(i){void 0!==i&&this.widget&&(this.widget.activeLayerInfos=i)}basemapLegendVisibleWatcher(i){void 0!==i&&this.widget&&(this.widget.basemapLegendVisible=i)}hideLayersNotInCurrentViewWatcher(i){void 0!==i&&this.widget&&(this.widget.hideLayersNotInCurrentView=i)}layerInfosWatcher(i){void 0!==i&&this.widget&&(this.widget.layerInfos=i)}respectLayerVisibilityWatcher(i){void 0!==i&&this.widget&&(this.widget.respectLayerVisibility=i)}styleWatcher(i){void 0!==i&&this.widget&&(this.widget.style=i)}referenceElementWatcher(i){r(this,i)}viewWatcher(i){void 0!==i&&this.widget&&(this.widget.view=i)}async componentDidLoad(){const i=this._createParams(),t=await h(i);this.widget=t,this.widgetReady.emit({widget:this.widget}),a(this)}disconnectedCallback(){o(this)}render(){return this.expandable?e("arcgis-expand",{position:this.position,ref:i=>this.expandElem=i},e("div",{ref:i=>this.childElem=i})):e("div",{ref:i=>this.childElem=i})}_createParams(){const i={container:this.childElem};return this.activeLayerInfos&&(i.activeLayerInfos=this.activeLayerInfos),void 0!==this.basemapLegendVisible&&(i.basemapLegendVisible=this.basemapLegendVisible),void 0!==this.hideLayersNotInCurrentView&&(i.hideLayersNotInCurrentView=this.hideLayersNotInCurrentView),this.layerInfos&&(i.layerInfos=this.layerInfos),void 0!==this.respectLayerVisibility&&(i.respectLayerVisibility=this.respectLayerVisibility),this.legendStyle&&(i.style=this.legendStyle),this.view&&(i.view=this.view),i}get el(){return s(this)}static get watchers(){return{position:["positionWatcher"],activeLayerInfos:["activeLayerInfosWatcher"],basemapLegendVisible:["basemapLegendVisibleWatcher"],hideLayersNotInCurrentView:["hideLayersNotInCurrentViewWatcher"],layerInfos:["layerInfosWatcher"],respectLayerVisibility:["respectLayerVisibilityWatcher"],legendStyle:["styleWatcher"],referenceElement:["referenceElementWatcher"],view:["viewWatcher"]}}};c.style="";export{c as arcgis_legend}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,c as i,h as s,g as h}from"./p-1e5e5ed9.js";import{n as e,i as a,a as r,b as c,c as o,d as n,e as d,f as l}from"./p-f28d6d27.js";import{r as u,c as v}from"./p-2d3406f7.js";import{o as p}from"./p-b813c9e6.js";const g=class{constructor(s){t(this,s),this.widgetReady=i(this,"widgetReady",7),this.referenceElement=void 0,this.position="top-right",this.view=void 0,this.widget=void 0}positionWatcher(t){void 0!==t&&this.widget&&"string"!=typeof this.view&&this.view.ui.move(this.childElem,t)}referenceElementWatcher(t){u(this,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t)}async componentDidLoad(){const t=await e({container:this.childElem});this.widget=t,this.view&&(this.widget.view=this.view),this._checkForView()}disconnectedCallback(){p(this)}render(){return s("div",{ref:t=>this.childElem=t})}_checkForView(){const t=this.el.closest("arcgis-map")||this.el.closest("arcgis-scene");t?.view?(this.view=t.view,this.view.ui.add(this.childElem,this.position),this.widgetReady.emit({widget:this.widget})):t&&t.addEventListener("viewReady",(()=>{this.view=t.view,this.view.ui.add(this.childElem,this.position),this.widgetReady.emit({widget:this.widget})}),!1)}get el(){return h(this)}static get watchers(){return{position:["positionWatcher"],referenceElement:["referenceElementWatcher"],view:["viewWatcher"]}}};function m(t){function i(t){t.stopPropagation()}return"2d"===t.type&&(t.constraints.rotationEnabled=!1),t.popup.dockEnabled=!0,t.popup.actions.removeAll(),t.popup.viewModel.includeDefaultActions=!1,t.ui.components=["attribution"],t.on("mouse-wheel",i),t.on("double-click",i),t.on("double-click",["Control"],i),t.on("drag",i),t.on("drag",["Shift"],i),t.on("drag",["Shift","Control"],i),t.on("key-down",(t=>{-1!==["+","-","Shift","_","=","ArrowUp","ArrowDown","ArrowRight","ArrowLeft"].indexOf(t.key)&&t.stopPropagation()})),t}g.style="arcgis-expand>.esri-expand__content--expanded{background-color:var(--calcite-ui-background)}";const W=class{constructor(s){t(this,s),this.viewReady=i(this,"viewReady",7),this.apiKey=void 0,this.basemap=void 0,this.backgroundColor=void 0,this.disableNavigation=!1,this.itemId=void 0,this.portalUrl=void 0,this.scale=void 0,this.zoom=void 0,this.center=void 0,this.view=void 0}apiKeyWatcher(t){this.config.apiKey=t}backgroundColorWatcher(t){this.view.background={color:t}}itemIdWatcher(t,i){t&&t!==i&&this.loadMap()}scaleWatcher(t,i){null!=t&&t!==i&&(this.view.scale=t)}zoomWatcher(t,i){null!=t&&t!==i&&(this.view.zoom=t)}async componentWillLoad(){this.config=await a(),this.apiKey&&(this.config.apiKey=this.apiKey),this.loadMap()}componentDidRender(){this.view&&(this.view.container=this.el)}render(){return s("div",{class:"arcgis-map",ref:t=>this.el=t})}async loadMap(){const t={};this.itemId&&(t.portalItem=this._createPortalItem()),this.basemap&&(t.basemap=this.basemap);const i=await r(t),s=this._createViewParams(),h=await c({map:i,...s});this.view=h,this._addWatchers(),this.disableNavigation&&m(this.view),this.view.when((()=>{this.viewReady.emit({view:this.view})}))}async _addWatchers(){const{watch:t,when:i}=await o();t((()=>this.view.center),(t=>{this.center=`${t.longitude},${t.latitude}`})),i((()=>this.view.updating),(()=>{i((()=>!this.view.updating),(()=>{this.zoom!==this.view.zoom&&(this.zoom=this.view.zoom),this.scale!==this.view.scale&&(this.scale=this.view.scale)}),{once:!0})}))}_createPortalItem(){const t={};return this.itemId&&(t.id=this.itemId),this.portalUrl&&(t.portal={url:this.portalUrl}),t}_createViewParams(){const t={};return this.backgroundColor&&(t.background={color:this.backgroundColor}),void 0!==this.zoom&&(t.zoom=this.zoom),void 0!==this.scale&&(t.scale=this.scale),this.center&&(t.center="string"==typeof this.center?this.center.split(",").map((t=>Number(t))):this.center),t}get hostElem(){return h(this)}static get watchers(){return{apiKey:["apiKeyWatcher"],backgroundColor:["backgroundColorWatcher"],itemId:["itemIdWatcher"],scale:["scaleWatcher"],zoom:["zoomWatcher"]}}};W.style=".arcgis-map{padding:0;margin:0;height:100%;width:100%}";const w=class{constructor(s){t(this,s),this.viewReady=i(this,"viewReady",7),this.apiKey=void 0,this.basemap=void 0,this.itemId=void 0,this.portalUrl=void 0,this.scale=void 0,this.zoom=void 0,this.center=void 0,this.view=void 0,this.disableNavigation=!1}apiKeyWatcher(t){this.config.apiKey=t}itemIdWatcher(t,i){t&&t!==i&&this.loadMap()}scaleWatcher(t,i){null!=t&&t!==i&&(this.view.scale=t)}zoomWatcher(t,i){null!=t&&t!==i&&(this.view.zoom=t)}async componentWillLoad(){this.config=await a(),this.apiKey&&(this.config.apiKey=this.apiKey),this.loadMap()}componentDidRender(){this.view&&(this.view.container=this.el)}render(){return s("div",{class:"arcgis-scene",ref:t=>this.el=t})}async loadMap(){const t={};this.itemId&&(t.portalItem=this._createPortalItem()),this.basemap&&(t.basemap=this.basemap);const i=await n(t),s=this._createViewParams(),h=await d({map:i,...s});this.view=h,this._addWatchers(),this.disableNavigation&&m(this.view),this.view.when((()=>{this.viewReady.emit({view:this.view})}))}async _addWatchers(){const{watch:t,when:i}=await o();t((()=>this.view.center),(t=>{this.center=`${t.longitude},${t.latitude}`})),i((()=>this.view.updating),(()=>{i((()=>!this.view.updating),(()=>{this.zoom!==this.view.zoom&&(this.zoom=this.view.zoom),this.scale!==this.view.scale&&(this.scale=this.view.scale)}),{once:!0})}))}_createPortalItem(){const t={};return this.itemId&&(t.id=this.itemId),this.portalUrl&&(t.portal={url:this.portalUrl}),t}_createViewParams(){const t={};return void 0!==this.zoom&&(t.zoom=this.zoom),void 0!==this.scale&&(t.scale=this.scale),this.center&&(t.center="string"==typeof this.center?this.center.split(",").map((t=>Number(t))):this.center),t}get hostElem(){return h(this)}static get watchers(){return{apiKey:["apiKeyWatcher"],itemId:["itemIdWatcher"],scale:["scaleWatcher"],zoom:["zoomWatcher"]}}};w.style=".arcgis-scene{padding:0;margin:0;height:100%;width:100%}";const f=class{constructor(s){t(this,s),this.widgetReady=i(this,"widgetReady",7),this.searchBlur=i(this,"searchBlur",7),this.searchClear=i(this,"searchClear",7),this.searchComplete=i(this,"searchComplete",7),this.searchFocus=i(this,"searchFocus",7),this.searchStart=i(this,"searchStart",7),this.selectResult=i(this,"selectResult",7),this.suggestComplete=i(this,"suggestComplete",7),this.suggestStart=i(this,"suggestStart",7),this.referenceElement=void 0,this.activeMenu=void 0,this.activeSource=void 0,this.activeSourceIndex=void 0,this.allPlaceholder=void 0,this.allSources=void 0,this.autoSelect=void 0,this.defaultSources=void 0,this.includeDefaultSources=void 0,this.locationEnabled=void 0,this.maxResults=void 0,this.maxSuggestions=void 0,this.minSuggestCharacters=void 0,this.popupEnabled=void 0,this.popupTemplate=void 0,this.portal=void 0,this.resultGraphic=void 0,this.resultGraphicEnabled=void 0,this.results=void 0,this.searchAllEnabled=void 0,this.searchTerm=void 0,this.selectedResult=void 0,this.sources=void 0,this.suggestions=void 0,this.suggestionsEnabled=void 0,this.position="top-right",this.expandable=!1,this.view=void 0,this.widget=void 0}positionWatcher(t){void 0!==t&&this.widget&&"string"!=typeof this.view&&this.view.ui.move(this.childElem,t)}activeMenuWatcher(t){void 0!==t&&this.widget&&(this.widget.activeMenu=t)}activeSourceIndexWatcher(t){void 0!==t&&this.widget&&(this.widget.activeSourceIndex=t)}allPlaceholderWatcher(t){void 0!==t&&this.widget&&(this.widget.allPlaceholder=t)}autoSelectWatcher(t){void 0!==t&&this.widget&&(this.widget.autoSelect=t)}includeDefaultSourcesWatcher(t){void 0!==t&&this.widget&&(this.widget.includeDefaultSources=t)}locationEnabledWatcher(t){void 0!==t&&this.widget&&(this.widget.locationEnabled=t)}maxResultsWatcher(t){void 0!==t&&this.widget&&(this.widget.maxResults=t)}maxSuggestionsWatcher(t){void 0!==t&&this.widget&&(this.widget.maxSuggestions=t)}minSuggestCharactersWatcher(t){void 0!==t&&this.widget&&(this.widget.minSuggestCharacters=t)}popupEnabledWatcher(t){void 0!==t&&this.widget&&(this.widget.popupEnabled=t)}popupTemplateWatcher(t){void 0!==t&&this.widget&&(this.widget.popupTemplate=t)}portalWatcher(t){void 0!==t&&this.widget&&(this.widget.portal=t)}resultGraphicEnabledWatcher(t){void 0!==t&&this.widget&&(this.widget.resultGraphicEnabled=t)}searchAllEnabledWatcher(t){void 0!==t&&this.widget&&(this.widget.searchAllEnabled=t)}searchTermWatcher(t){void 0!==t&&this.widget&&(this.widget.searchTerm=t)}sourcesWatcher(t){void 0!==t&&this.widget&&(this.widget.sources=t)}suggestionsEnabledWatcher(t){void 0!==t&&this.widget&&(this.widget.suggestionsEnabled=t)}referenceElementWatcher(t){u(this,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t)}async blurSearch(){return this.widget?.blur()}async clearSearch(){return this.widget?.clear()}async focusSearch(){return this.widget?.focus()}async search(t){return this.widget?.search(t)}async suggest(t){return this.widget?.suggest(t)}async componentDidLoad(){const t=this._createParams(),i=await l(t);this.widget=i,await this._addWatchers(),this._proxyEvents(),this.widgetReady.emit({widget:this.widget}),v(this)}disconnectedCallback(){p(this)}render(){return this.expandable?s("arcgis-expand",{position:this.position,ref:t=>this.expandElem=t},s("div",{ref:t=>this.childElem=t})):s("div",{ref:t=>this.childElem=t})}async _addWatchers(){const{watch:t}=await o();t((()=>this.widget.activeSource),(t=>this.activeSource=t),{initial:!0}),t((()=>this.widget.activeSourceIndex),(t=>this.activeSourceIndex=t),{initial:!0}),t((()=>this.widget.allSources),(t=>this.allSources=t),{initial:!0}),t((()=>this.widget.defaultSources),(t=>this.defaultSources=t),{initial:!0}),t((()=>this.widget.resultGraphic),(t=>this.resultGraphic=t),{initial:!0}),t((()=>this.widget.results),(t=>this.results=t),{initial:!0}),t((()=>this.widget.selectedResult),(t=>this.selectedResult=t),{initial:!0})}_createParams(){const t={container:this.childElem};return this.view&&(t.view=this.view),t}_proxyEvents(){this.widget.on("search-blur",(t=>this.searchBlur.emit(t))),this.widget.on("search-clear",(t=>this.searchClear.emit(t))),this.widget.on("search-complete",(t=>this.searchComplete.emit(t))),this.widget.on("search-focus",(t=>this.searchFocus.emit(t))),this.widget.on("search-start",(t=>this.searchStart.emit(t))),this.widget.on("select-result",(t=>this.selectResult.emit(t))),this.widget.on("suggest-complete",(t=>this.suggestComplete.emit(t))),this.widget.on("suggest-start",(t=>this.suggestStart.emit(t)))}get el(){return h(this)}static get watchers(){return{position:["positionWatcher"],activeMenu:["activeMenuWatcher"],activeSourceIndex:["activeSourceIndexWatcher"],allPlaceholder:["allPlaceholderWatcher"],autoSelect:["autoSelectWatcher"],includeDefaultSources:["includeDefaultSourcesWatcher"],locationEnabled:["locationEnabledWatcher"],maxResults:["maxResultsWatcher"],maxSuggestions:["maxSuggestionsWatcher"],minSuggestCharacters:["minSuggestCharactersWatcher"],popupEnabled:["popupEnabledWatcher"],popupTemplate:["popupTemplateWatcher"],portal:["portalWatcher"],resultGraphicEnabled:["resultGraphicEnabledWatcher"],searchAllEnabled:["searchAllEnabledWatcher"],searchTerm:["searchTermWatcher"],sources:["sourcesWatcher"],suggestionsEnabled:["suggestionsEnabledWatcher"],referenceElement:["referenceElementWatcher"],view:["viewWatcher"]}}};f.style="";export{g as arcgis_expand,W as arcgis_map,w as arcgis_scene,f as arcgis_search}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,c as i,h,g as e}from"./p-1e5e5ed9.js";import{B as s,C as a,c as r}from"./p-f28d6d27.js";import{r as n,c as o}from"./p-2d3406f7.js";import{o as d}from"./p-b813c9e6.js";const c=class{constructor(h){t(this,h),this.rowSelectionChange=i(this,"rowSelectionChange",7),this.widgetReady=i(this,"widgetReady",7),this.referenceElement=void 0,this.activeFilters=void 0,this.activeSortOrders=void 0,this.attachmentsEnabled=void 0,this.autoRefreshEnabled=void 0,this.columnReorderingEnabled=void 0,this.columns=void 0,this.editingEnabled=void 0,this.filterGeometry=void 0,this.hiddenFields=void 0,this.highlightEnabled=void 0,this.highlightIds=void 0,this.layer=void 0,this.menu=void 0,this.menuConfig=void 0,this.multiSortEnabled=void 0,this.pageSize=void 0,this.state=void 0,this.tableTemplate=void 0,this.itemId=void 0,this.position="bottom-left",this.url=void 0,this.view=void 0,this.widget=void 0}positionWatcher(t){void 0!==t&&this.widget&&"string"!=typeof this.view&&this.view.ui.move(this.childElem,t)}attachmentsEnabledWatcher(t){t&&this.widget&&(this.widget.attachmentsEnabled=t)}autoRefreshEnabledWatcher(t){t&&this.widget&&(this.widget.autoRefreshEnabled=t)}columnReorderingEnabledWatcher(t){t&&this.widget&&(this.widget.columnReorderingEnabled=t)}editingEnabledWatcher(t){t&&this.widget&&(this.widget.editingEnabled=t)}filterGeometryWatcher(t){t&&this.widget&&(this.widget.filterGeometry=t)}hiddenFieldsWatcher(t){t&&this.widget&&(this.widget.hiddenFields=t)}highlightEnabledWatcher(t){t&&this.widget&&(this.widget.highlightEnabled=t)}highlightIdsWatcher(t){t&&this.widget&&(this.widget.highlightIds=t)}menuConfigWatcher(t){t&&this.widget&&(this.widget.menuConfig=t)}multiSortEnabledWatcher(t){t&&this.widget&&(this.widget.multiSortEnabled=t)}pageSizeWatcher(t){t&&this.widget&&(this.widget.pageSize=t)}tableTemplateWatcher(t){t&&this.widget&&(this.widget.tableTemplate=t)}async itemIdWatcher(t,i){if(t&&t!==i){const i=await s({portalItem:{id:t}});this.layer=i}}layerWatcher(t){t&&this.widget&&(this.widget.layer=t)}async urlWatcher(t,i){if(t&&t!==i){const i=await s({url:t});this.layer=i}}referenceElementWatcher(t){n(this,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t)}async clearSelectionFilter(){return this.widget?.clearSelectionFilter()}async deleteSelection(t){return this.widget?.deleteSelection(t)}async filterBySelection(){return this.widget?.filterBySelection()}async findColumn(t){return this.widget?.findColumn(t)}async hideColumn(t){return this.widget?.hideColumn(t)}async refresh(){return this.widget?.refresh()}async scrollToIndex(t){return this.widget?.scrollToIndex(t)}async showAllColumns(){return this.widget?.showAllColumns()}async showColumn(t){return this.widget?.showColumn(t)}async sortColumn(t,i){return this.widget?.sortColumn(t,i)}async componentDidLoad(){const t=await this._createParams(),i=await a(t);this.widget=i,await this._addWatchers(),this._proxyEvents(),this.widgetReady.emit({widget:this.widget}),o(this)}disconnectedCallback(){d(this)}render(){return h("div",{class:"arcgis-feature-table",ref:t=>this.childElem=t})}async _addWatchers(){const{watch:t}=await r();t((()=>this.widget.activeFilters),(t=>this.activeFilters=t),{initial:!0}),t((()=>this.widget.activeSortOrders),(t=>this.activeSortOrders=t),{initial:!0}),t((()=>this.widget.columns),(t=>this.columns=t),{initial:!0}),t((()=>this.widget.menu),(t=>this.menu=t),{initial:!0}),t((()=>this.widget.state),(t=>this.state=t),{initial:!0})}async _createParams(){const t={container:this.childElem};return this.view&&(t.view=this.view),void 0!==this.attachmentsEnabled&&(t.attachmentsEnabled=this.attachmentsEnabled),void 0!==this.autoRefreshEnabled&&(t.autoRefreshEnabled=this.autoRefreshEnabled),void 0!==this.columnReorderingEnabled&&(t.columnReorderingEnabled=this.columnReorderingEnabled),void 0!==this.editingEnabled&&(t.editingEnabled=this.editingEnabled),void 0!==this.filterGeometry&&(t.filterGeometry=this.filterGeometry),void 0!==this.hiddenFields&&(t.hiddenFields=this.hiddenFields),void 0!==this.highlightEnabled&&(t.highlightEnabled=this.highlightEnabled),void 0!==this.highlightIds&&(t.highlightIds=this.highlightIds),void 0!==this.menuConfig&&(t.menuConfig=this.menuConfig),void 0!==this.multiSortEnabled&&(t.multiSortEnabled=this.multiSortEnabled),void 0!==this.pageSize&&(t.pageSize=this.pageSize),void 0!==this.tableTemplate&&(t.tableTemplate=this.tableTemplate),void 0!==this.layer?t.layer=this.layer:this.url?t.layer=await s({url:this.url}):this.itemId&&(t.layer=await s({portalItem:{id:this.itemId}})),t}async _proxyEvents(){this.widget?.highlightIds.on("change",(t=>this.rowSelectionChange.emit(t)))}get el(){return e(this)}static get watchers(){return{position:["positionWatcher"],attachmentsEnabled:["attachmentsEnabledWatcher"],autoRefreshEnabled:["autoRefreshEnabledWatcher"],columnReorderingEnabled:["columnReorderingEnabledWatcher"],editingEnabled:["editingEnabledWatcher"],filterGeometry:["filterGeometryWatcher"],hiddenFields:["hiddenFieldsWatcher"],highlightEnabled:["highlightEnabledWatcher"],highlightIds:["highlightIdsWatcher"],menuConfig:["menuConfigWatcher"],multiSortEnabled:["multiSortEnabledWatcher"],pageSize:["pageSizeWatcher"],tableTemplate:["tableTemplateWatcher"],itemId:["itemIdWatcher"],layer:["layerWatcher"],url:["urlWatcher"],referenceElement:["referenceElementWatcher"],view:["viewWatcher"]}}};c.style=".arcgis-feature-table{width:100%;height:100%}";export{c as arcgis_feature_table}
|
|
@@ -1,146 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
const index = require('./index-6b51d5a0.js');
|
|
6
|
-
const index$1 = require('./index-bfda1cdc.js');
|
|
7
|
-
const componentUtils = require('./component-utils-cbd20e88.js');
|
|
8
|
-
const disconnected = require('./disconnected-306cb220.js');
|
|
9
|
-
|
|
10
|
-
const arcgisLegendCss = "";
|
|
11
|
-
|
|
12
|
-
const ArcgisLegend = class {
|
|
13
|
-
constructor(hostRef) {
|
|
14
|
-
index.registerInstance(this, hostRef);
|
|
15
|
-
this.widgetReady = index.createEvent(this, "widgetReady", 7);
|
|
16
|
-
this.referenceElement = undefined;
|
|
17
|
-
this.activeLayerInfos = undefined;
|
|
18
|
-
this.basemapLegendVisible = undefined;
|
|
19
|
-
this.hideLayersNotInCurrentView = undefined;
|
|
20
|
-
this.layerInfos = undefined;
|
|
21
|
-
this.respectLayerVisibility = undefined;
|
|
22
|
-
this.legendStyle = undefined;
|
|
23
|
-
this.position = "bottom-left";
|
|
24
|
-
this.expandable = false;
|
|
25
|
-
this.view = undefined;
|
|
26
|
-
this.widget = undefined;
|
|
27
|
-
}
|
|
28
|
-
//--------------------------------------------------------------------------
|
|
29
|
-
//
|
|
30
|
-
// Watchers
|
|
31
|
-
//
|
|
32
|
-
//--------------------------------------------------------------------------
|
|
33
|
-
positionWatcher(newValue) {
|
|
34
|
-
if (newValue !== undefined && this.widget) {
|
|
35
|
-
if (typeof this.view !== "string") {
|
|
36
|
-
this.view.ui.move(this.childElem, newValue);
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
activeLayerInfosWatcher(newValue) {
|
|
41
|
-
if (newValue !== undefined && this.widget) {
|
|
42
|
-
this.widget.activeLayerInfos = newValue;
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
basemapLegendVisibleWatcher(newValue) {
|
|
46
|
-
if (newValue !== undefined && this.widget) {
|
|
47
|
-
this.widget.basemapLegendVisible = newValue;
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
hideLayersNotInCurrentViewWatcher(newValue) {
|
|
51
|
-
if (newValue !== undefined && this.widget) {
|
|
52
|
-
this.widget.hideLayersNotInCurrentView = newValue;
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
layerInfosWatcher(newValue) {
|
|
56
|
-
if (newValue !== undefined && this.widget) {
|
|
57
|
-
this.widget.layerInfos = newValue;
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
respectLayerVisibilityWatcher(newValue) {
|
|
61
|
-
if (newValue !== undefined && this.widget) {
|
|
62
|
-
this.widget.respectLayerVisibility = newValue;
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
styleWatcher(newValue) {
|
|
66
|
-
if (newValue !== undefined && this.widget) {
|
|
67
|
-
this.widget.style = newValue;
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
referenceElementWatcher(newValue) {
|
|
71
|
-
componentUtils.referenceElementHelper(this, newValue);
|
|
72
|
-
}
|
|
73
|
-
viewWatcher(newValue) {
|
|
74
|
-
if (newValue !== undefined && this.widget) {
|
|
75
|
-
this.widget.view = newValue;
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
//--------------------------------------------------------------------------
|
|
79
|
-
//
|
|
80
|
-
// Lifecycle
|
|
81
|
-
//
|
|
82
|
-
//--------------------------------------------------------------------------
|
|
83
|
-
async componentDidLoad() {
|
|
84
|
-
const params = this._createParams();
|
|
85
|
-
const widget = await index$1.newWidgetsLegend(params);
|
|
86
|
-
this.widget = widget;
|
|
87
|
-
this.widgetReady.emit({ widget: this.widget });
|
|
88
|
-
componentUtils.checkForView(this);
|
|
89
|
-
}
|
|
90
|
-
disconnectedCallback() {
|
|
91
|
-
disconnected.onDisconnectedHelper(this);
|
|
92
|
-
}
|
|
93
|
-
render() {
|
|
94
|
-
if (this.expandable) {
|
|
95
|
-
return (index.h("arcgis-expand", { position: this.position, ref: (el) => (this.expandElem = el) }, index.h("div", { ref: (el) => (this.childElem = el) })));
|
|
96
|
-
}
|
|
97
|
-
return index.h("div", { ref: (el) => (this.childElem = el) });
|
|
98
|
-
}
|
|
99
|
-
//--------------------------------------------------------------------------
|
|
100
|
-
//
|
|
101
|
-
// Private Methods
|
|
102
|
-
//
|
|
103
|
-
//--------------------------------------------------------------------------
|
|
104
|
-
_createParams() {
|
|
105
|
-
const params = {
|
|
106
|
-
container: this.childElem
|
|
107
|
-
};
|
|
108
|
-
if (this.activeLayerInfos) {
|
|
109
|
-
params.activeLayerInfos = this.activeLayerInfos;
|
|
110
|
-
}
|
|
111
|
-
if (this.basemapLegendVisible !== undefined) {
|
|
112
|
-
params.basemapLegendVisible = this.basemapLegendVisible;
|
|
113
|
-
}
|
|
114
|
-
if (this.hideLayersNotInCurrentView !== undefined) {
|
|
115
|
-
params.hideLayersNotInCurrentView = this.hideLayersNotInCurrentView;
|
|
116
|
-
}
|
|
117
|
-
if (this.layerInfos) {
|
|
118
|
-
params.layerInfos = this.layerInfos;
|
|
119
|
-
}
|
|
120
|
-
if (this.respectLayerVisibility !== undefined) {
|
|
121
|
-
params.respectLayerVisibility = this.respectLayerVisibility;
|
|
122
|
-
}
|
|
123
|
-
if (this.legendStyle) {
|
|
124
|
-
params.style = this.legendStyle;
|
|
125
|
-
}
|
|
126
|
-
if (this.view) {
|
|
127
|
-
params.view = this.view;
|
|
128
|
-
}
|
|
129
|
-
return params;
|
|
130
|
-
}
|
|
131
|
-
get el() { return index.getElement(this); }
|
|
132
|
-
static get watchers() { return {
|
|
133
|
-
"position": ["positionWatcher"],
|
|
134
|
-
"activeLayerInfos": ["activeLayerInfosWatcher"],
|
|
135
|
-
"basemapLegendVisible": ["basemapLegendVisibleWatcher"],
|
|
136
|
-
"hideLayersNotInCurrentView": ["hideLayersNotInCurrentViewWatcher"],
|
|
137
|
-
"layerInfos": ["layerInfosWatcher"],
|
|
138
|
-
"respectLayerVisibility": ["respectLayerVisibilityWatcher"],
|
|
139
|
-
"legendStyle": ["styleWatcher"],
|
|
140
|
-
"referenceElement": ["referenceElementWatcher"],
|
|
141
|
-
"view": ["viewWatcher"]
|
|
142
|
-
}; }
|
|
143
|
-
};
|
|
144
|
-
ArcgisLegend.style = arcgisLegendCss;
|
|
145
|
-
|
|
146
|
-
exports.arcgis_legend = ArcgisLegend;
|
|
@@ -1,142 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-eb3ead33.js';
|
|
2
|
-
import { L as newWidgetsLegend } from './index-334b0bde.js';
|
|
3
|
-
import { r as referenceElementHelper, c as checkForView } from './component-utils-2ebdae59.js';
|
|
4
|
-
import { o as onDisconnectedHelper } from './disconnected-bc5fc8bc.js';
|
|
5
|
-
|
|
6
|
-
const arcgisLegendCss = "";
|
|
7
|
-
|
|
8
|
-
const ArcgisLegend = class {
|
|
9
|
-
constructor(hostRef) {
|
|
10
|
-
registerInstance(this, hostRef);
|
|
11
|
-
this.widgetReady = createEvent(this, "widgetReady", 7);
|
|
12
|
-
this.referenceElement = undefined;
|
|
13
|
-
this.activeLayerInfos = undefined;
|
|
14
|
-
this.basemapLegendVisible = undefined;
|
|
15
|
-
this.hideLayersNotInCurrentView = undefined;
|
|
16
|
-
this.layerInfos = undefined;
|
|
17
|
-
this.respectLayerVisibility = undefined;
|
|
18
|
-
this.legendStyle = undefined;
|
|
19
|
-
this.position = "bottom-left";
|
|
20
|
-
this.expandable = false;
|
|
21
|
-
this.view = undefined;
|
|
22
|
-
this.widget = undefined;
|
|
23
|
-
}
|
|
24
|
-
//--------------------------------------------------------------------------
|
|
25
|
-
//
|
|
26
|
-
// Watchers
|
|
27
|
-
//
|
|
28
|
-
//--------------------------------------------------------------------------
|
|
29
|
-
positionWatcher(newValue) {
|
|
30
|
-
if (newValue !== undefined && this.widget) {
|
|
31
|
-
if (typeof this.view !== "string") {
|
|
32
|
-
this.view.ui.move(this.childElem, newValue);
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
activeLayerInfosWatcher(newValue) {
|
|
37
|
-
if (newValue !== undefined && this.widget) {
|
|
38
|
-
this.widget.activeLayerInfos = newValue;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
basemapLegendVisibleWatcher(newValue) {
|
|
42
|
-
if (newValue !== undefined && this.widget) {
|
|
43
|
-
this.widget.basemapLegendVisible = newValue;
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
hideLayersNotInCurrentViewWatcher(newValue) {
|
|
47
|
-
if (newValue !== undefined && this.widget) {
|
|
48
|
-
this.widget.hideLayersNotInCurrentView = newValue;
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
layerInfosWatcher(newValue) {
|
|
52
|
-
if (newValue !== undefined && this.widget) {
|
|
53
|
-
this.widget.layerInfos = newValue;
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
respectLayerVisibilityWatcher(newValue) {
|
|
57
|
-
if (newValue !== undefined && this.widget) {
|
|
58
|
-
this.widget.respectLayerVisibility = newValue;
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
styleWatcher(newValue) {
|
|
62
|
-
if (newValue !== undefined && this.widget) {
|
|
63
|
-
this.widget.style = newValue;
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
referenceElementWatcher(newValue) {
|
|
67
|
-
referenceElementHelper(this, newValue);
|
|
68
|
-
}
|
|
69
|
-
viewWatcher(newValue) {
|
|
70
|
-
if (newValue !== undefined && this.widget) {
|
|
71
|
-
this.widget.view = newValue;
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
//--------------------------------------------------------------------------
|
|
75
|
-
//
|
|
76
|
-
// Lifecycle
|
|
77
|
-
//
|
|
78
|
-
//--------------------------------------------------------------------------
|
|
79
|
-
async componentDidLoad() {
|
|
80
|
-
const params = this._createParams();
|
|
81
|
-
const widget = await newWidgetsLegend(params);
|
|
82
|
-
this.widget = widget;
|
|
83
|
-
this.widgetReady.emit({ widget: this.widget });
|
|
84
|
-
checkForView(this);
|
|
85
|
-
}
|
|
86
|
-
disconnectedCallback() {
|
|
87
|
-
onDisconnectedHelper(this);
|
|
88
|
-
}
|
|
89
|
-
render() {
|
|
90
|
-
if (this.expandable) {
|
|
91
|
-
return (h("arcgis-expand", { position: this.position, ref: (el) => (this.expandElem = el) }, h("div", { ref: (el) => (this.childElem = el) })));
|
|
92
|
-
}
|
|
93
|
-
return h("div", { ref: (el) => (this.childElem = el) });
|
|
94
|
-
}
|
|
95
|
-
//--------------------------------------------------------------------------
|
|
96
|
-
//
|
|
97
|
-
// Private Methods
|
|
98
|
-
//
|
|
99
|
-
//--------------------------------------------------------------------------
|
|
100
|
-
_createParams() {
|
|
101
|
-
const params = {
|
|
102
|
-
container: this.childElem
|
|
103
|
-
};
|
|
104
|
-
if (this.activeLayerInfos) {
|
|
105
|
-
params.activeLayerInfos = this.activeLayerInfos;
|
|
106
|
-
}
|
|
107
|
-
if (this.basemapLegendVisible !== undefined) {
|
|
108
|
-
params.basemapLegendVisible = this.basemapLegendVisible;
|
|
109
|
-
}
|
|
110
|
-
if (this.hideLayersNotInCurrentView !== undefined) {
|
|
111
|
-
params.hideLayersNotInCurrentView = this.hideLayersNotInCurrentView;
|
|
112
|
-
}
|
|
113
|
-
if (this.layerInfos) {
|
|
114
|
-
params.layerInfos = this.layerInfos;
|
|
115
|
-
}
|
|
116
|
-
if (this.respectLayerVisibility !== undefined) {
|
|
117
|
-
params.respectLayerVisibility = this.respectLayerVisibility;
|
|
118
|
-
}
|
|
119
|
-
if (this.legendStyle) {
|
|
120
|
-
params.style = this.legendStyle;
|
|
121
|
-
}
|
|
122
|
-
if (this.view) {
|
|
123
|
-
params.view = this.view;
|
|
124
|
-
}
|
|
125
|
-
return params;
|
|
126
|
-
}
|
|
127
|
-
get el() { return getElement(this); }
|
|
128
|
-
static get watchers() { return {
|
|
129
|
-
"position": ["positionWatcher"],
|
|
130
|
-
"activeLayerInfos": ["activeLayerInfosWatcher"],
|
|
131
|
-
"basemapLegendVisible": ["basemapLegendVisibleWatcher"],
|
|
132
|
-
"hideLayersNotInCurrentView": ["hideLayersNotInCurrentViewWatcher"],
|
|
133
|
-
"layerInfos": ["layerInfosWatcher"],
|
|
134
|
-
"respectLayerVisibility": ["respectLayerVisibilityWatcher"],
|
|
135
|
-
"legendStyle": ["styleWatcher"],
|
|
136
|
-
"referenceElement": ["referenceElementWatcher"],
|
|
137
|
-
"view": ["viewWatcher"]
|
|
138
|
-
}; }
|
|
139
|
-
};
|
|
140
|
-
ArcgisLegend.style = arcgisLegendCss;
|
|
141
|
-
|
|
142
|
-
export { ArcgisLegend as arcgis_legend };
|
|
@@ -12,11 +12,11 @@ function checkForExpand(element) {
|
|
|
12
12
|
}
|
|
13
13
|
if (expandRef) {
|
|
14
14
|
const widgetHandler = () => {
|
|
15
|
+
expandRef.removeEventListener("widgetReady", widgetHandler, false);
|
|
15
16
|
element.view = expandRef.view;
|
|
16
17
|
expandRef.widget.content = element.childElem;
|
|
17
18
|
expandRef.widget.expandIcon = element.widget.icon;
|
|
18
19
|
expandRef.widget.expandIconClass = element.widget.iconClass;
|
|
19
|
-
expandRef.removeEventListener("widgetReady", widgetHandler, false);
|
|
20
20
|
};
|
|
21
21
|
expandRef.addEventListener("widgetReady", widgetHandler, false);
|
|
22
22
|
return true;
|
|
@@ -10,11 +10,11 @@ function checkForExpand(element) {
|
|
|
10
10
|
}
|
|
11
11
|
if (expandRef) {
|
|
12
12
|
const widgetHandler = () => {
|
|
13
|
+
expandRef.removeEventListener("widgetReady", widgetHandler, false);
|
|
13
14
|
element.view = expandRef.view;
|
|
14
15
|
expandRef.widget.content = element.childElem;
|
|
15
16
|
expandRef.widget.expandIcon = element.widget.icon;
|
|
16
17
|
expandRef.widget.expandIconClass = element.widget.iconClass;
|
|
17
|
-
expandRef.removeEventListener("widgetReady", widgetHandler, false);
|
|
18
18
|
};
|
|
19
19
|
expandRef.addEventListener("widgetReady", widgetHandler, false);
|
|
20
20
|
return true;
|