@arcgis/map-components 4.29.0-beta.0 → 4.29.0-beta.2
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-bb6e5f04.entry.js +1 -0
- package/dist/arcgis-map-components/p-bfae0a1f.entry.js +1 -0
- package/dist/cjs/arcgis-expand_4.cjs.entry.js +60 -25
- package/dist/cjs/arcgis-map-components.cjs.js +1 -1
- package/dist/cjs/arcgis-scene.cjs.entry.js +47 -27
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/components/arcgis-feature-table.js +1 -1
- package/dist/components/arcgis-map.js +64 -26
- package/dist/components/arcgis-scene.js +50 -27
- package/dist/esm/arcgis-expand_4.entry.js +60 -25
- package/dist/esm/arcgis-map-components.js +1 -1
- package/dist/esm/arcgis-scene.entry.js +47 -27
- package/dist/esm/loader.js +1 -1
- package/dist/types/components/arcgis-map/arcgis-map.d.ts +12 -3
- package/dist/types/components/arcgis-scene/arcgis-scene.d.ts +8 -2
- package/dist/types/components.d.ts +12 -0
- package/package.json +6 -6
- package/dist/arcgis-map-components/p-06df2252.entry.js +0 -1
- package/dist/arcgis-map-components/p-109bebac.entry.js +0 -1
- package/dist/arcgis-map-components/p-198374aa.entry.js +0 -1
- package/dist/arcgis-map-components/p-1e9abc6d.entry.js +0 -1
- package/dist/arcgis-map-components/p-2165089c.entry.js +0 -1
- package/dist/arcgis-map-components/p-25089dd3.entry.js +0 -1
- package/dist/arcgis-map-components/p-2792ef61.entry.js +0 -1
- package/dist/arcgis-map-components/p-2a84985d.entry.js +0 -1
- package/dist/arcgis-map-components/p-2abff98f.entry.js +0 -1
- package/dist/arcgis-map-components/p-2cf30ef5.entry.js +0 -1
- package/dist/arcgis-map-components/p-30ef17d7.entry.js +0 -1
- package/dist/arcgis-map-components/p-3155dc12.entry.js +0 -1
- package/dist/arcgis-map-components/p-3279d5e4.entry.js +0 -1
- package/dist/arcgis-map-components/p-35b675ca.entry.js +0 -1
- package/dist/arcgis-map-components/p-364d4187.entry.js +0 -1
- package/dist/arcgis-map-components/p-37eceffa.entry.js +0 -1
- package/dist/arcgis-map-components/p-39443d81.entry.js +0 -1
- package/dist/arcgis-map-components/p-3bd2d0aa.entry.js +0 -1
- package/dist/arcgis-map-components/p-3d55c74c.entry.js +0 -1
- package/dist/arcgis-map-components/p-43c52a2d.entry.js +0 -1
- package/dist/arcgis-map-components/p-4dfcfa91.entry.js +0 -1
- package/dist/arcgis-map-components/p-56d3bde2.entry.js +0 -1
- package/dist/arcgis-map-components/p-576ef000.entry.js +0 -1
- package/dist/arcgis-map-components/p-64607de6.entry.js +0 -1
- package/dist/arcgis-map-components/p-69374811.entry.js +0 -1
- package/dist/arcgis-map-components/p-69b6541c.entry.js +0 -1
- package/dist/arcgis-map-components/p-6c3e28cd.entry.js +0 -1
- package/dist/arcgis-map-components/p-737f79f3.entry.js +0 -1
- package/dist/arcgis-map-components/p-76af5d10.entry.js +0 -1
- package/dist/arcgis-map-components/p-7add1ddc.entry.js +0 -1
- package/dist/arcgis-map-components/p-82462685.entry.js +0 -1
- package/dist/arcgis-map-components/p-83b8f950.entry.js +0 -1
- package/dist/arcgis-map-components/p-859d99ff.entry.js +0 -1
- package/dist/arcgis-map-components/p-9040f50a.entry.js +0 -1
- package/dist/arcgis-map-components/p-93b5c951.entry.js +0 -1
- package/dist/arcgis-map-components/p-96b72ddd.js +0 -1
- package/dist/arcgis-map-components/p-99ab4a91.entry.js +0 -1
- package/dist/arcgis-map-components/p-9cfcd5e2.entry.js +0 -1
- package/dist/arcgis-map-components/p-9daf744f.entry.js +0 -1
- package/dist/arcgis-map-components/p-a242b477.entry.js +0 -1
- package/dist/arcgis-map-components/p-a5f78ba3.entry.js +0 -1
- package/dist/arcgis-map-components/p-aed5d6b3.entry.js +0 -1
- package/dist/arcgis-map-components/p-b47a4384.entry.js +0 -1
- package/dist/arcgis-map-components/p-b9acaa74.entry.js +0 -1
- package/dist/arcgis-map-components/p-ba19bf3b.entry.js +0 -1
- package/dist/arcgis-map-components/p-ba6ee56b.entry.js +0 -1
- package/dist/arcgis-map-components/p-c0d9a07e.entry.js +0 -1
- package/dist/arcgis-map-components/p-c6e11b15.entry.js +0 -1
- package/dist/arcgis-map-components/p-dd2f47ce.entry.js +0 -1
- package/dist/arcgis-map-components/p-df6a6059.entry.js +0 -1
- package/dist/arcgis-map-components/p-e15196d8.entry.js +0 -1
- package/dist/arcgis-map-components/p-f03d0e30.entry.js +0 -1
- package/dist/arcgis-map-components/p-f5fd6688.entry.js +0 -1
- package/dist/cjs/arcgis-basemap-gallery_4.cjs.entry.js +0 -548
- package/dist/cjs/arcgis-feature-table.cjs.entry.js +0 -300
- package/dist/esm/arcgis-basemap-gallery_4.entry.js +0 -541
- package/dist/esm/arcgis-feature-table.entry.js +0 -296
- package/dist/esm/index-60c6bcb8.js +0 -660
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e,b as t}from"./p-1e5e5ed9.js";export{s as setNonce}from"./p-1e5e5ed9.js";(()=>{const t=import.meta.url,n={};return""!==t&&(n.resourcesUrl=new URL(".",t).href),e(n)})().then((e=>t(JSON.parse('[["p-2cf30ef5",[[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-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":[16],"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]}],[0,"arcgis-map",{"apiKey":[1,"api-key"],"basemap":[1],"disableNavigation":[4,"disable-navigation"],"itemId":[1,"item-id"],"zoom":[1538],"center":[1537],"view":[1040]}],[0,"arcgis-expand",{"referenceElement":[1,"reference-element"],"position":[1],"view":[1040],"widget":[1040]}]]],["p-d3fbbf3f",[[0,"arcgis-area-measurement-2d",{"referenceElement":[1,"reference-element"],"position":[1],"expandable":[4],"unit":[1025],"unitOptions":[16],"view":[1040],"widget":[1040]}]]],["p-9c1b8e69",[[0,"arcgis-area-measurement-3d",{"referenceElement":[1,"reference-element"],"position":[1],"expandable":[4],"unit":[1025],"unitOptions":[16],"view":[1040],"widget":[1040]}]]],["p-ef0b3818",[[0,"arcgis-attachments",{"referenceElement":[1,"reference-element"],"position":[1],"expandable":[4],"graphic":[16],"widget":[1040]}]]],["p-2becbf01",[[0,"arcgis-basemap-gallery",{"referenceElement":[1,"reference-element"],"activeBasemap":[1040],"position":[1],"expandable":[4],"source":[1040],"view":[1040],"widget":[1040]}]]],["p-3361d81f",[[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]}]]],["p-5ea3ce11",[[0,"arcgis-basemap-toggle",{"referenceElement":[1,"reference-element"],"activeBasemap":[16],"nextBasemap":[1025,"next-basemap"],"position":[1],"expandable":[4],"view":[1040],"widget":[1040],"toggle":[64]}]]],["p-4bb15110",[[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]}]]],["p-4c103777",[[0,"arcgis-building-explorer",{"referenceElement":[1,"reference-element"],"position":[1],"expandable":[4],"widget":[1040],"view":[1040]}]]],["p-1b5e33ea",[[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]}]]],["p-11e7ce02",[[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]}]]],["p-21721d4b",[[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]}]]],["p-174f9d11",[[0,"arcgis-directline-measurement-3d",{"referenceElement":[1,"reference-element"],"position":[1],"expandable":[4],"analysis":[1040],"unit":[1],"unitOptions":[16],"widget":[1040],"view":[1040]}]]],["p-d8be8a46",[[0,"arcgis-distance-measurement-2d",{"referenceElement":[1,"reference-element"],"position":[1],"expandable":[4],"unit":[1],"unitOptions":[16],"widget":[1040],"view":[1040]}]]],["p-acb4a35a",[[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]}]]],["p-9aad48fe",[[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]}]]],["p-5d835456",[[0,"arcgis-feature",{"referenceElement":[1,"reference-element"],"defaultPopupTemplateEnabled":[4,"default-popup-template-enabled"],"graphic":[16],"position":[1],"expandable":[4],"view":[1040],"widget":[1040]}]]],["p-4fa3c6fe",[[0,"arcgis-feature-templates",{"referenceElement":[1,"reference-element"],"position":[1],"expandable":[4],"widget":[1040],"layers":[16]}]]],["p-1c631990",[[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]}]]],["p-927f8748",[[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]}]]],["p-a67dda4e",[[0,"arcgis-histogram-range-slider",{"referenceElement":[1,"reference-element"],"max":[2],"min":[2],"position":[1],"expandable":[4],"widget":[1040]}]]],["p-3587b4d8",[[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]}]]],["p-4d5e7ddd",[[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]}]]],["p-b19043d5",[[0,"arcgis-line-of-sight",{"referenceElement":[1,"reference-element"],"analysis":[1040],"position":[1],"expandable":[4],"view":[1040],"widget":[1040]}]]],["p-dafb17cf",[[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]}]]],["p-3b5560bb",[[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]}]]],["p-ce14e49f",[[0,"arcgis-scale-bar",{"referenceElement":[1,"reference-element"],"view":[1040],"position":[1],"expandable":[4],"barStyle":[1,"bar-style"],"unit":[1],"widget":[1040]}]]],["p-8d184d92",[[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]}]]],["p-721673c8",[[0,"arcgis-shadow-cast",{"referenceElement":[1,"reference-element"],"view":[1040],"position":[1],"expandable":[4],"widget":[1040],"headingLevel":[2,"heading-level"]}]]],["p-01d9efae",[[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]}]]],["p-f0e5dcc7",[[0,"arcgis-slice",{"referenceElement":[1,"reference-element"],"analysis":[1040],"view":[1040],"position":[1],"expandable":[4],"widget":[1040],"headingLevel":[2,"heading-level"]}]]],["p-2c5be6b0",[[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]}]]],["p-18c653a4",[[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]}]]],["p-5a91868a",[[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]}]]],["p-501861a1",[[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]}]]],["p-f7b74cd4",[[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]}]]],["p-5db2786d",[[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]}]]],["p-535bf289",[[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]}]]],["p-47629a4c",[[0,"arcgis-weather",{"referenceElement":[1,"reference-element"],"position":[1],"expandable":[4],"view":[1040],"widget":[1040]}]]],["p-8fde8001",[[0,"arcgis-compass",{"referenceElement":[1,"reference-element"],"position":[1],"widget":[1040],"view":[1040],"reset":[64]}]]],["p-f5cc7f2d",[[0,"arcgis-feature-form",{"referenceElement":[1,"reference-element"],"position":[1],"expandable":[4],"widget":[1040]}]]],["p-4b5fa9a2",[[0,"arcgis-fullscreen",{"referenceElement":[1,"reference-element"],"element":[16],"position":[1],"view":[1040],"widget":[1040]}]]],["p-312ff83f",[[0,"arcgis-histogram",{"referenceElement":[1,"reference-element"],"position":[1],"expandable":[4],"widget":[1040]}]]],["p-9e667282",[[0,"arcgis-home",{"referenceElement":[1,"reference-element"],"viewpoint":[16],"view":[1040],"position":[1],"widget":[1040],"cancelGo":[64],"go":[64]}]]],["p-1435356e",[[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]}]]],["p-ec2cc024",[[0,"arcgis-navigation-toggle",{"referenceElement":[1,"reference-element"],"layout":[1537],"position":[1],"view":[1040],"widget":[1040],"toggle":[64]}]]],["p-a242b477",[[0,"arcgis-scene",{"apiKey":[1,"api-key"],"itemId":[1,"item-id"],"zoom":[1538],"center":[1537],"view":[1040],"disableNavigation":[4,"disable-navigation"]}]]],["p-8c18a99c",[[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]}]]],["p-c63a5c7f",[[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]}]]],["p-3e676259",[[0,"arcgis-zoom",{"referenceElement":[1,"reference-element"],"layout":[1],"view":[1040],"position":[1],"widget":[1040],"zoomIn":[64],"zoomOut":[64]}]]]]'),e)));
|
|
1
|
+
import{p as e,b as t}from"./p-1e5e5ed9.js";export{s as setNonce}from"./p-1e5e5ed9.js";(()=>{const t=import.meta.url,a={};return""!==t&&(a.resourcesUrl=new URL(".",t).href),e(a)})().then((e=>t(JSON.parse('[["p-bb6e5f04",[[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-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]}],[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]}]]],["p-d3fbbf3f",[[0,"arcgis-area-measurement-2d",{"referenceElement":[1,"reference-element"],"position":[1],"expandable":[4],"unit":[1025],"unitOptions":[16],"view":[1040],"widget":[1040]}]]],["p-9c1b8e69",[[0,"arcgis-area-measurement-3d",{"referenceElement":[1,"reference-element"],"position":[1],"expandable":[4],"unit":[1025],"unitOptions":[16],"view":[1040],"widget":[1040]}]]],["p-ef0b3818",[[0,"arcgis-attachments",{"referenceElement":[1,"reference-element"],"position":[1],"expandable":[4],"graphic":[16],"widget":[1040]}]]],["p-2becbf01",[[0,"arcgis-basemap-gallery",{"referenceElement":[1,"reference-element"],"activeBasemap":[1040],"position":[1],"expandable":[4],"source":[1040],"view":[1040],"widget":[1040]}]]],["p-3361d81f",[[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]}]]],["p-5ea3ce11",[[0,"arcgis-basemap-toggle",{"referenceElement":[1,"reference-element"],"activeBasemap":[16],"nextBasemap":[1025,"next-basemap"],"position":[1],"expandable":[4],"view":[1040],"widget":[1040],"toggle":[64]}]]],["p-4bb15110",[[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]}]]],["p-4c103777",[[0,"arcgis-building-explorer",{"referenceElement":[1,"reference-element"],"position":[1],"expandable":[4],"widget":[1040],"view":[1040]}]]],["p-1b5e33ea",[[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]}]]],["p-11e7ce02",[[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]}]]],["p-21721d4b",[[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]}]]],["p-174f9d11",[[0,"arcgis-directline-measurement-3d",{"referenceElement":[1,"reference-element"],"position":[1],"expandable":[4],"analysis":[1040],"unit":[1],"unitOptions":[16],"widget":[1040],"view":[1040]}]]],["p-d8be8a46",[[0,"arcgis-distance-measurement-2d",{"referenceElement":[1,"reference-element"],"position":[1],"expandable":[4],"unit":[1],"unitOptions":[16],"widget":[1040],"view":[1040]}]]],["p-acb4a35a",[[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]}]]],["p-9aad48fe",[[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]}]]],["p-5d835456",[[0,"arcgis-feature",{"referenceElement":[1,"reference-element"],"defaultPopupTemplateEnabled":[4,"default-popup-template-enabled"],"graphic":[16],"position":[1],"expandable":[4],"view":[1040],"widget":[1040]}]]],["p-4fa3c6fe",[[0,"arcgis-feature-templates",{"referenceElement":[1,"reference-element"],"position":[1],"expandable":[4],"widget":[1040],"layers":[16]}]]],["p-1c631990",[[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]}]]],["p-927f8748",[[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]}]]],["p-a67dda4e",[[0,"arcgis-histogram-range-slider",{"referenceElement":[1,"reference-element"],"max":[2],"min":[2],"position":[1],"expandable":[4],"widget":[1040]}]]],["p-3587b4d8",[[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]}]]],["p-4d5e7ddd",[[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]}]]],["p-b19043d5",[[0,"arcgis-line-of-sight",{"referenceElement":[1,"reference-element"],"analysis":[1040],"position":[1],"expandable":[4],"view":[1040],"widget":[1040]}]]],["p-dafb17cf",[[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]}]]],["p-3b5560bb",[[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]}]]],["p-ce14e49f",[[0,"arcgis-scale-bar",{"referenceElement":[1,"reference-element"],"view":[1040],"position":[1],"expandable":[4],"barStyle":[1,"bar-style"],"unit":[1],"widget":[1040]}]]],["p-8d184d92",[[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]}]]],["p-721673c8",[[0,"arcgis-shadow-cast",{"referenceElement":[1,"reference-element"],"view":[1040],"position":[1],"expandable":[4],"widget":[1040],"headingLevel":[2,"heading-level"]}]]],["p-01d9efae",[[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]}]]],["p-f0e5dcc7",[[0,"arcgis-slice",{"referenceElement":[1,"reference-element"],"analysis":[1040],"view":[1040],"position":[1],"expandable":[4],"widget":[1040],"headingLevel":[2,"heading-level"]}]]],["p-2c5be6b0",[[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]}]]],["p-18c653a4",[[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]}]]],["p-5a91868a",[[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]}]]],["p-501861a1",[[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]}]]],["p-f7b74cd4",[[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]}]]],["p-5db2786d",[[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]}]]],["p-535bf289",[[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]}]]],["p-47629a4c",[[0,"arcgis-weather",{"referenceElement":[1,"reference-element"],"position":[1],"expandable":[4],"view":[1040],"widget":[1040]}]]],["p-8fde8001",[[0,"arcgis-compass",{"referenceElement":[1,"reference-element"],"position":[1],"widget":[1040],"view":[1040],"reset":[64]}]]],["p-f5cc7f2d",[[0,"arcgis-feature-form",{"referenceElement":[1,"reference-element"],"position":[1],"expandable":[4],"widget":[1040]}]]],["p-4b5fa9a2",[[0,"arcgis-fullscreen",{"referenceElement":[1,"reference-element"],"element":[16],"position":[1],"view":[1040],"widget":[1040]}]]],["p-312ff83f",[[0,"arcgis-histogram",{"referenceElement":[1,"reference-element"],"position":[1],"expandable":[4],"widget":[1040]}]]],["p-9e667282",[[0,"arcgis-home",{"referenceElement":[1,"reference-element"],"viewpoint":[16],"view":[1040],"position":[1],"widget":[1040],"cancelGo":[64],"go":[64]}]]],["p-1435356e",[[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]}]]],["p-ec2cc024",[[0,"arcgis-navigation-toggle",{"referenceElement":[1,"reference-element"],"layout":[1537],"position":[1],"view":[1040],"widget":[1040],"toggle":[64]}]]],["p-bfae0a1f",[[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"]}]]],["p-8c18a99c",[[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]}]]],["p-c63a5c7f",[[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]}]]],["p-3e676259",[[0,"arcgis-zoom",{"referenceElement":[1,"reference-element"],"layout":[1],"view":[1040],"position":[1],"widget":[1040],"zoomIn":[64],"zoomOut":[64]}]]]]'),e)));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,c as i,h as s,g as h}from"./p-1e5e5ed9.js";import{n as e,a,b as r,i as c,c as o,d as n,e as d,f as l}from"./p-620959fc.js";import{r as v,c as u}from"./p-2d3406f7.js";import{o as g}from"./p-b813c9e6.js";import{d as W}from"./p-5cabdee7.js";const p=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){v(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(){g(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"]}}};p.style="arcgis-expand>.esri-expand__content--expanded{background-color:var(--calcite-ui-background)}";const m=class{constructor(s){t(this,s),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 a({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 a({url:t});this.layer=i}}referenceElementWatcher(t){v(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 r(t);this.widget=i,await this._addWatchers(),this._proxyEvents(),this.widgetReady.emit({widget:this.widget}),u(this)}disconnectedCallback(){g(this)}render(){return s("div",{class:"arcgis-feature-table",ref:t=>this.childElem=t})}async _addWatchers(){const{watch:t}=await c();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 a({url:this.url}):this.itemId&&(t.layer=await a({portalItem:{id:this.itemId}})),t}async _proxyEvents(){this.widget?.highlightIds.on("change",(t=>this.rowSelectionChange.emit(t)))}get el(){return h(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"]}}};m.style=".arcgis-feature-table{width:100%;height:100%}";const b=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()}async componentWillLoad(){this.config=await o(),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 n(t),s=this._createViewParams(),h=await d({map:i,...s});this.view=h,this._addWatchers(),this.disableNavigation&&W(this.view),this.view.when((()=>this.viewReady.emit({view:this.view})))}async _addWatchers(){const{watch:t}=await c();t((()=>this.view.center),(t=>{this.center=`${t.longitude},${t.latitude}`})),t((()=>this.view.zoom),(t=>this.zoom=t)),t((()=>this.view.scale),(t=>this.scale=t))}_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"]}}};b.style=".arcgis-map{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){v(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}),u(this)}disconnectedCallback(){g(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 c();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{p as arcgis_expand,m as arcgis_feature_table,b as arcgis_map,f as arcgis_search}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,c as i,h as s,g as h}from"./p-1e5e5ed9.js";import{c as e,R as a,S as r,i as c}from"./p-620959fc.js";import{d as o}from"./p-5cabdee7.js";const d=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()}async componentWillLoad(){this.config=await e(),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 a(t),s=this._createViewParams(),h=await r({map:i,...s});this.view=h,this._addWatchers(),this.disableNavigation&&o(this.view),this.view.when((()=>this.viewReady.emit({view:this.view})))}async _addWatchers(){const{watch:t}=await c();t((()=>this.view.center),(t=>{this.center=`${t.longitude},${t.latitude}`})),t((()=>this.view.zoom),(t=>this.zoom=t)),t((()=>this.view.scale),(t=>this.scale=t))}_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"]}}};d.style=".arcgis-scene{padding:0;margin:0;height:100%;width:100%}";export{d as arcgis_scene}
|
|
@@ -395,20 +395,23 @@ const ArcgisMap = class {
|
|
|
395
395
|
this.viewReady = index.createEvent(this, "viewReady", 7);
|
|
396
396
|
this.apiKey = undefined;
|
|
397
397
|
this.basemap = undefined;
|
|
398
|
+
this.backgroundColor = undefined;
|
|
398
399
|
this.disableNavigation = false;
|
|
399
400
|
this.itemId = undefined;
|
|
401
|
+
this.portalUrl = undefined;
|
|
402
|
+
this.scale = undefined;
|
|
400
403
|
this.zoom = undefined;
|
|
401
404
|
this.center = undefined;
|
|
402
405
|
this.view = undefined;
|
|
403
406
|
}
|
|
404
|
-
//--------------------------------------------------------------------------
|
|
405
|
-
//
|
|
406
|
-
// Watchers
|
|
407
|
-
//
|
|
408
|
-
//--------------------------------------------------------------------------
|
|
409
407
|
apiKeyWatcher(value) {
|
|
410
408
|
this.config.apiKey = value;
|
|
411
409
|
}
|
|
410
|
+
backgroundColorWatcher(value) {
|
|
411
|
+
this.view.background = {
|
|
412
|
+
color: value
|
|
413
|
+
};
|
|
414
|
+
}
|
|
412
415
|
itemIdWatcher(value, old) {
|
|
413
416
|
if (value && value !== old) {
|
|
414
417
|
this.loadMap();
|
|
@@ -424,7 +427,7 @@ const ArcgisMap = class {
|
|
|
424
427
|
if (this.apiKey) {
|
|
425
428
|
this.config.apiKey = this.apiKey;
|
|
426
429
|
}
|
|
427
|
-
|
|
430
|
+
this.loadMap();
|
|
428
431
|
}
|
|
429
432
|
componentDidRender() {
|
|
430
433
|
if (this.view) {
|
|
@@ -442,45 +445,77 @@ const ArcgisMap = class {
|
|
|
442
445
|
async loadMap() {
|
|
443
446
|
const mapParams = {};
|
|
444
447
|
if (this.itemId) {
|
|
445
|
-
mapParams.portalItem =
|
|
446
|
-
id: this.itemId
|
|
447
|
-
};
|
|
448
|
+
mapParams.portalItem = this._createPortalItem();
|
|
448
449
|
}
|
|
449
450
|
if (this.basemap) {
|
|
450
451
|
mapParams.basemap = this.basemap;
|
|
451
452
|
}
|
|
452
453
|
const map = await index$1.newWebMap(mapParams);
|
|
453
|
-
const params =
|
|
454
|
-
if (this.zoom) {
|
|
455
|
-
params.zoom = this.zoom;
|
|
456
|
-
}
|
|
457
|
-
if (this.center) {
|
|
458
|
-
if (typeof this.center === "string") {
|
|
459
|
-
params.center = this.center.split(",").map((x) => Number(x));
|
|
460
|
-
}
|
|
461
|
-
else {
|
|
462
|
-
params.center = this.center;
|
|
463
|
-
}
|
|
464
|
-
}
|
|
454
|
+
const params = this._createViewParams();
|
|
465
455
|
const view = await index$1.newViewsMapView({
|
|
466
456
|
map,
|
|
467
457
|
...params
|
|
468
458
|
});
|
|
469
|
-
const { watch } = await index$1.importCoreReactiveUtils();
|
|
470
459
|
this.view = view;
|
|
460
|
+
this._addWatchers();
|
|
461
|
+
if (this.disableNavigation) {
|
|
462
|
+
mappingUtils.disableNavigation(this.view);
|
|
463
|
+
}
|
|
464
|
+
this.view.when(() => this.viewReady.emit({ view: this.view }));
|
|
465
|
+
}
|
|
466
|
+
//--------------------------------------------------------------------------
|
|
467
|
+
//
|
|
468
|
+
// Private Methods
|
|
469
|
+
//
|
|
470
|
+
//--------------------------------------------------------------------------
|
|
471
|
+
async _addWatchers() {
|
|
472
|
+
const { watch } = await index$1.importCoreReactiveUtils();
|
|
471
473
|
watch(() => this.view.center, (center) => {
|
|
472
474
|
const value = `${center.longitude},${center.latitude}`;
|
|
473
475
|
this.center = value;
|
|
474
476
|
});
|
|
475
477
|
watch(() => this.view.zoom, (value) => (this.zoom = value));
|
|
476
|
-
|
|
477
|
-
|
|
478
|
+
watch(() => this.view.scale, (value) => (this.scale = value));
|
|
479
|
+
}
|
|
480
|
+
_createPortalItem() {
|
|
481
|
+
const item = {};
|
|
482
|
+
if (this.itemId) {
|
|
483
|
+
item.id = this.itemId;
|
|
478
484
|
}
|
|
479
|
-
this.
|
|
485
|
+
if (this.portalUrl) {
|
|
486
|
+
item.portal = {
|
|
487
|
+
url: this.portalUrl
|
|
488
|
+
};
|
|
489
|
+
}
|
|
490
|
+
return item;
|
|
491
|
+
}
|
|
492
|
+
_createViewParams() {
|
|
493
|
+
const params = {};
|
|
494
|
+
if (this.backgroundColor) {
|
|
495
|
+
params.background = {
|
|
496
|
+
color: this.backgroundColor
|
|
497
|
+
};
|
|
498
|
+
}
|
|
499
|
+
if (this.zoom !== undefined) {
|
|
500
|
+
params.zoom = this.zoom;
|
|
501
|
+
}
|
|
502
|
+
if (this.scale !== undefined) {
|
|
503
|
+
params.scale = this.scale;
|
|
504
|
+
}
|
|
505
|
+
if (this.center) {
|
|
506
|
+
if (typeof this.center === "string") {
|
|
507
|
+
params.center = this.center.split(",").map((x) => Number(x));
|
|
508
|
+
}
|
|
509
|
+
else {
|
|
510
|
+
params.center = this.center;
|
|
511
|
+
}
|
|
512
|
+
}
|
|
513
|
+
return params;
|
|
480
514
|
}
|
|
481
515
|
get hostElem() { return index.getElement(this); }
|
|
482
516
|
static get watchers() { return {
|
|
483
517
|
"apiKey": ["apiKeyWatcher"],
|
|
518
|
+
"backgroundColor": ["backgroundColorWatcher"],
|
|
484
519
|
"itemId": ["itemIdWatcher"]
|
|
485
520
|
}; }
|
|
486
521
|
};
|
|
@@ -17,7 +17,7 @@ const patchBrowser = () => {
|
|
|
17
17
|
};
|
|
18
18
|
|
|
19
19
|
patchBrowser().then(options => {
|
|
20
|
-
return index.bootstrapLazy(JSON.parse("[[\"arcgis-expand_4.cjs\",[[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-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\":[16],\"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]}],[0,\"arcgis-map\",{\"apiKey\":[1,\"api-key\"],\"basemap\":[1],\"disableNavigation\":[4,\"disable-navigation\"],\"itemId\":[1,\"item-id\"],\"zoom\":[1538],\"center\":[1537],\"view\":[1040]}],[0,\"arcgis-expand\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-area-measurement-2d.cjs\",[[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.cjs\",[[0,\"arcgis-area-measurement-3d\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"expandable\":[4],\"unit\":[1025],\"unitOptions\":[16],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-attachments.cjs\",[[0,\"arcgis-attachments\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"expandable\":[4],\"graphic\":[16],\"widget\":[1040]}]]],[\"arcgis-basemap-gallery.cjs\",[[0,\"arcgis-basemap-gallery\",{\"referenceElement\":[1,\"reference-element\"],\"activeBasemap\":[1040],\"position\":[1],\"expandable\":[4],\"source\":[1040],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-basemap-layer-list.cjs\",[[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.cjs\",[[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.cjs\",[[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.cjs\",[[0,\"arcgis-building-explorer\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"expandable\":[4],\"widget\":[1040],\"view\":[1040]}]]],[\"arcgis-coordinate-conversion.cjs\",[[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.cjs\",[[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.cjs\",[[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.cjs\",[[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.cjs\",[[0,\"arcgis-distance-measurement-2d\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"expandable\":[4],\"unit\":[1],\"unitOptions\":[16],\"widget\":[1040],\"view\":[1040]}]]],[\"arcgis-editor.cjs\",[[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.cjs\",[[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.cjs\",[[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.cjs\",[[0,\"arcgis-feature-templates\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"expandable\":[4],\"widget\":[1040],\"layers\":[16]}]]],[\"arcgis-features.cjs\",[[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.cjs\",[[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.cjs\",[[0,\"arcgis-histogram-range-slider\",{\"referenceElement\":[1,\"reference-element\"],\"max\":[2],\"min\":[2],\"position\":[1],\"expandable\":[4],\"widget\":[1040]}]]],[\"arcgis-layer-list.cjs\",[[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.cjs\",[[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.cjs\",[[0,\"arcgis-line-of-sight\",{\"referenceElement\":[1,\"reference-element\"],\"analysis\":[1040],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-measurement.cjs\",[[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.cjs\",[[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.cjs\",[[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.cjs\",[[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.cjs\",[[0,\"arcgis-shadow-cast\",{\"referenceElement\":[1,\"reference-element\"],\"view\":[1040],\"position\":[1],\"expandable\":[4],\"widget\":[1040],\"headingLevel\":[2,\"heading-level\"]}]]],[\"arcgis-sketch.cjs\",[[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.cjs\",[[0,\"arcgis-slice\",{\"referenceElement\":[1,\"reference-element\"],\"analysis\":[1040],\"view\":[1040],\"position\":[1],\"expandable\":[4],\"widget\":[1040],\"headingLevel\":[2,\"heading-level\"]}]]],[\"arcgis-slider.cjs\",[[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.cjs\",[[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.cjs\",[[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.cjs\",[[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.cjs\",[[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.cjs\",[[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.cjs\",[[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.cjs\",[[0,\"arcgis-weather\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-compass.cjs\",[[0,\"arcgis-compass\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"widget\":[1040],\"view\":[1040],\"reset\":[64]}]]],[\"arcgis-feature-form.cjs\",[[0,\"arcgis-feature-form\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"expandable\":[4],\"widget\":[1040]}]]],[\"arcgis-fullscreen.cjs\",[[0,\"arcgis-fullscreen\",{\"referenceElement\":[1,\"reference-element\"],\"element\":[16],\"position\":[1],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-histogram.cjs\",[[0,\"arcgis-histogram\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"expandable\":[4],\"widget\":[1040]}]]],[\"arcgis-home.cjs\",[[0,\"arcgis-home\",{\"referenceElement\":[1,\"reference-element\"],\"viewpoint\":[16],\"view\":[1040],\"position\":[1],\"widget\":[1040],\"cancelGo\":[64],\"go\":[64]}]]],[\"arcgis-locate.cjs\",[[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.cjs\",[[0,\"arcgis-navigation-toggle\",{\"referenceElement\":[1,\"reference-element\"],\"layout\":[1537],\"position\":[1],\"view\":[1040],\"widget\":[1040],\"toggle\":[64]}]]],[\"arcgis-scene.cjs\",[[0,\"arcgis-scene\",{\"apiKey\":[1,\"api-key\"],\"itemId\":[1,\"item-id\"],\"zoom\":[1538],\"center\":[1537],\"view\":[1040],\"disableNavigation\":[4,\"disable-navigation\"]}]]],[\"arcgis-swipe.cjs\",[[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.cjs\",[[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.cjs\",[[0,\"arcgis-zoom\",{\"referenceElement\":[1,\"reference-element\"],\"layout\":[1],\"view\":[1040],\"position\":[1],\"widget\":[1040],\"zoomIn\":[64],\"zoomOut\":[64]}]]]]"), options);
|
|
20
|
+
return index.bootstrapLazy(JSON.parse("[[\"arcgis-expand_4.cjs\",[[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-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]}],[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.cjs\",[[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.cjs\",[[0,\"arcgis-area-measurement-3d\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"expandable\":[4],\"unit\":[1025],\"unitOptions\":[16],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-attachments.cjs\",[[0,\"arcgis-attachments\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"expandable\":[4],\"graphic\":[16],\"widget\":[1040]}]]],[\"arcgis-basemap-gallery.cjs\",[[0,\"arcgis-basemap-gallery\",{\"referenceElement\":[1,\"reference-element\"],\"activeBasemap\":[1040],\"position\":[1],\"expandable\":[4],\"source\":[1040],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-basemap-layer-list.cjs\",[[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.cjs\",[[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.cjs\",[[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.cjs\",[[0,\"arcgis-building-explorer\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"expandable\":[4],\"widget\":[1040],\"view\":[1040]}]]],[\"arcgis-coordinate-conversion.cjs\",[[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.cjs\",[[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.cjs\",[[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.cjs\",[[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.cjs\",[[0,\"arcgis-distance-measurement-2d\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"expandable\":[4],\"unit\":[1],\"unitOptions\":[16],\"widget\":[1040],\"view\":[1040]}]]],[\"arcgis-editor.cjs\",[[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.cjs\",[[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.cjs\",[[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.cjs\",[[0,\"arcgis-feature-templates\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"expandable\":[4],\"widget\":[1040],\"layers\":[16]}]]],[\"arcgis-features.cjs\",[[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.cjs\",[[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.cjs\",[[0,\"arcgis-histogram-range-slider\",{\"referenceElement\":[1,\"reference-element\"],\"max\":[2],\"min\":[2],\"position\":[1],\"expandable\":[4],\"widget\":[1040]}]]],[\"arcgis-layer-list.cjs\",[[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.cjs\",[[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.cjs\",[[0,\"arcgis-line-of-sight\",{\"referenceElement\":[1,\"reference-element\"],\"analysis\":[1040],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-measurement.cjs\",[[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.cjs\",[[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.cjs\",[[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.cjs\",[[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.cjs\",[[0,\"arcgis-shadow-cast\",{\"referenceElement\":[1,\"reference-element\"],\"view\":[1040],\"position\":[1],\"expandable\":[4],\"widget\":[1040],\"headingLevel\":[2,\"heading-level\"]}]]],[\"arcgis-sketch.cjs\",[[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.cjs\",[[0,\"arcgis-slice\",{\"referenceElement\":[1,\"reference-element\"],\"analysis\":[1040],\"view\":[1040],\"position\":[1],\"expandable\":[4],\"widget\":[1040],\"headingLevel\":[2,\"heading-level\"]}]]],[\"arcgis-slider.cjs\",[[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.cjs\",[[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.cjs\",[[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.cjs\",[[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.cjs\",[[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.cjs\",[[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.cjs\",[[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.cjs\",[[0,\"arcgis-weather\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-compass.cjs\",[[0,\"arcgis-compass\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"widget\":[1040],\"view\":[1040],\"reset\":[64]}]]],[\"arcgis-feature-form.cjs\",[[0,\"arcgis-feature-form\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"expandable\":[4],\"widget\":[1040]}]]],[\"arcgis-fullscreen.cjs\",[[0,\"arcgis-fullscreen\",{\"referenceElement\":[1,\"reference-element\"],\"element\":[16],\"position\":[1],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-histogram.cjs\",[[0,\"arcgis-histogram\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"expandable\":[4],\"widget\":[1040]}]]],[\"arcgis-home.cjs\",[[0,\"arcgis-home\",{\"referenceElement\":[1,\"reference-element\"],\"viewpoint\":[16],\"view\":[1040],\"position\":[1],\"widget\":[1040],\"cancelGo\":[64],\"go\":[64]}]]],[\"arcgis-locate.cjs\",[[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.cjs\",[[0,\"arcgis-navigation-toggle\",{\"referenceElement\":[1,\"reference-element\"],\"layout\":[1537],\"position\":[1],\"view\":[1040],\"widget\":[1040],\"toggle\":[64]}]]],[\"arcgis-scene.cjs\",[[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.cjs\",[[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.cjs\",[[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.cjs\",[[0,\"arcgis-zoom\",{\"referenceElement\":[1,\"reference-element\"],\"layout\":[1],\"view\":[1040],\"position\":[1],\"widget\":[1040],\"zoomIn\":[64],\"zoomOut\":[64]}]]]]"), options);
|
|
21
21
|
});
|
|
22
22
|
|
|
23
23
|
exports.setNonce = index.setNonce;
|
|
@@ -13,17 +13,15 @@ const ArcgisScene = class {
|
|
|
13
13
|
index.registerInstance(this, hostRef);
|
|
14
14
|
this.viewReady = index.createEvent(this, "viewReady", 7);
|
|
15
15
|
this.apiKey = undefined;
|
|
16
|
+
this.basemap = undefined;
|
|
16
17
|
this.itemId = undefined;
|
|
18
|
+
this.portalUrl = undefined;
|
|
19
|
+
this.scale = undefined;
|
|
17
20
|
this.zoom = undefined;
|
|
18
21
|
this.center = undefined;
|
|
19
22
|
this.view = undefined;
|
|
20
23
|
this.disableNavigation = false;
|
|
21
24
|
}
|
|
22
|
-
//--------------------------------------------------------------------------
|
|
23
|
-
//
|
|
24
|
-
// Watchers
|
|
25
|
-
//
|
|
26
|
-
//--------------------------------------------------------------------------
|
|
27
25
|
apiKeyWatcher(value) {
|
|
28
26
|
this.config.apiKey = value;
|
|
29
27
|
}
|
|
@@ -42,9 +40,7 @@ const ArcgisScene = class {
|
|
|
42
40
|
if (this.apiKey) {
|
|
43
41
|
this.config.apiKey = this.apiKey;
|
|
44
42
|
}
|
|
45
|
-
|
|
46
|
-
this.loadMap();
|
|
47
|
-
}
|
|
43
|
+
this.loadMap();
|
|
48
44
|
}
|
|
49
45
|
componentDidRender() {
|
|
50
46
|
if (this.view) {
|
|
@@ -62,38 +58,62 @@ const ArcgisScene = class {
|
|
|
62
58
|
async loadMap() {
|
|
63
59
|
const mapParams = {};
|
|
64
60
|
if (this.itemId) {
|
|
65
|
-
mapParams.portalItem =
|
|
66
|
-
id: this.itemId
|
|
67
|
-
};
|
|
68
|
-
}
|
|
69
|
-
const map = await index$1.newWebScene(mapParams);
|
|
70
|
-
const params = {};
|
|
71
|
-
if (this.zoom) {
|
|
72
|
-
params.zoom = this.zoom;
|
|
61
|
+
mapParams.portalItem = this._createPortalItem();
|
|
73
62
|
}
|
|
74
|
-
if (this.
|
|
75
|
-
|
|
76
|
-
params.center = this.center.split(",").map((x) => Number(x));
|
|
77
|
-
}
|
|
78
|
-
else {
|
|
79
|
-
params.center = this.center;
|
|
80
|
-
}
|
|
63
|
+
if (this.basemap) {
|
|
64
|
+
mapParams.basemap = this.basemap;
|
|
81
65
|
}
|
|
66
|
+
const map = await index$1.newWebScene(mapParams);
|
|
67
|
+
const params = this._createViewParams();
|
|
82
68
|
const view = await index$1.newViewsSceneView({
|
|
83
69
|
map,
|
|
84
70
|
...params
|
|
85
71
|
});
|
|
86
|
-
const { watch } = await index$1.importCoreReactiveUtils();
|
|
87
72
|
this.view = view;
|
|
73
|
+
this._addWatchers();
|
|
74
|
+
if (this.disableNavigation) {
|
|
75
|
+
mappingUtils.disableNavigation(this.view);
|
|
76
|
+
}
|
|
77
|
+
this.view.when(() => this.viewReady.emit({ view: this.view }));
|
|
78
|
+
}
|
|
79
|
+
async _addWatchers() {
|
|
80
|
+
const { watch } = await index$1.importCoreReactiveUtils();
|
|
88
81
|
watch(() => this.view.center, (center) => {
|
|
89
82
|
const value = `${center.longitude},${center.latitude}`;
|
|
90
83
|
this.center = value;
|
|
91
84
|
});
|
|
92
85
|
watch(() => this.view.zoom, (value) => (this.zoom = value));
|
|
93
|
-
|
|
94
|
-
|
|
86
|
+
watch(() => this.view.scale, (value) => (this.scale = value));
|
|
87
|
+
}
|
|
88
|
+
_createPortalItem() {
|
|
89
|
+
const item = {};
|
|
90
|
+
if (this.itemId) {
|
|
91
|
+
item.id = this.itemId;
|
|
95
92
|
}
|
|
96
|
-
this.
|
|
93
|
+
if (this.portalUrl) {
|
|
94
|
+
item.portal = {
|
|
95
|
+
url: this.portalUrl
|
|
96
|
+
};
|
|
97
|
+
}
|
|
98
|
+
return item;
|
|
99
|
+
}
|
|
100
|
+
_createViewParams() {
|
|
101
|
+
const params = {};
|
|
102
|
+
if (this.zoom !== undefined) {
|
|
103
|
+
params.zoom = this.zoom;
|
|
104
|
+
}
|
|
105
|
+
if (this.scale !== undefined) {
|
|
106
|
+
params.scale = this.scale;
|
|
107
|
+
}
|
|
108
|
+
if (this.center) {
|
|
109
|
+
if (typeof this.center === "string") {
|
|
110
|
+
params.center = this.center.split(",").map((x) => Number(x));
|
|
111
|
+
}
|
|
112
|
+
else {
|
|
113
|
+
params.center = this.center;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
return params;
|
|
97
117
|
}
|
|
98
118
|
get hostElem() { return index.getElement(this); }
|
|
99
119
|
static get watchers() { return {
|