@arcgis/map-components 4.29.0-beta.3 → 4.29.0-beta.5

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.
Files changed (124) hide show
  1. package/{readme.md → README.md} +1 -1
  2. package/dist/arcgis-map-components/arcgis-map-components.esm.js +1 -1
  3. package/dist/arcgis-map-components/{p-174f9d11.entry.js → p-037a3bb6.entry.js} +1 -1
  4. package/dist/arcgis-map-components/{p-18c653a4.entry.js → p-064bf907.entry.js} +1 -1
  5. package/dist/arcgis-map-components/{p-4fa3c6fe.entry.js → p-08015460.entry.js} +1 -1
  6. package/dist/arcgis-map-components/{p-4b5fa9a2.entry.js → p-0d492ad6.entry.js} +1 -1
  7. package/dist/arcgis-map-components/{p-1c631990.entry.js → p-0ee8ea5a.entry.js} +1 -1
  8. package/dist/arcgis-map-components/{p-47629a4c.entry.js → p-11168df4.entry.js} +1 -1
  9. package/dist/arcgis-map-components/{p-4bb15110.entry.js → p-1680f044.entry.js} +1 -1
  10. package/dist/arcgis-map-components/{p-11e7ce02.entry.js → p-1a6dcf6a.entry.js} +1 -1
  11. package/dist/arcgis-map-components/{p-1435356e.entry.js → p-29c81862.entry.js} +1 -1
  12. package/dist/arcgis-map-components/{p-21721d4b.entry.js → p-347dba98.entry.js} +1 -1
  13. package/dist/arcgis-map-components/{p-9e667282.entry.js → p-3673ae6e.entry.js} +1 -1
  14. package/dist/arcgis-map-components/{p-a67dda4e.entry.js → p-367c6986.entry.js} +1 -1
  15. package/dist/arcgis-map-components/{p-3587b4d8.entry.js → p-3b2623c6.entry.js} +1 -1
  16. package/dist/arcgis-map-components/{p-f0e5dcc7.entry.js → p-4722bbad.entry.js} +1 -1
  17. package/dist/arcgis-map-components/{p-535bf289.entry.js → p-48c89578.entry.js} +1 -1
  18. package/dist/arcgis-map-components/{p-3361d81f.entry.js → p-5299aa69.entry.js} +1 -1
  19. package/dist/arcgis-map-components/{p-3b5560bb.entry.js → p-52c3388d.entry.js} +1 -1
  20. package/dist/arcgis-map-components/{p-5d835456.entry.js → p-5d2f53bd.entry.js} +1 -1
  21. package/dist/arcgis-map-components/{p-4d5e7ddd.entry.js → p-615399dd.entry.js} +1 -1
  22. package/dist/arcgis-map-components/{p-d8be8a46.entry.js → p-658a2499.entry.js} +1 -1
  23. package/dist/arcgis-map-components/p-7031c422.entry.js +1 -0
  24. package/dist/arcgis-map-components/{p-c63a5c7f.entry.js → p-7084f84f.entry.js} +1 -1
  25. package/dist/arcgis-map-components/{p-9aad48fe.entry.js → p-74b7f2c3.entry.js} +1 -1
  26. package/dist/arcgis-map-components/{p-2becbf01.entry.js → p-86a82586.entry.js} +1 -1
  27. package/dist/arcgis-map-components/{p-1b5e33ea.entry.js → p-8a60074a.entry.js} +1 -1
  28. package/dist/arcgis-map-components/{p-8d184d92.entry.js → p-8b4cf5da.entry.js} +1 -1
  29. package/dist/arcgis-map-components/{p-9c1b8e69.entry.js → p-922bbfed.entry.js} +1 -1
  30. package/dist/arcgis-map-components/{p-dafb17cf.entry.js → p-932be58c.entry.js} +1 -1
  31. package/dist/arcgis-map-components/{p-8c18a99c.entry.js → p-99d486cb.entry.js} +1 -1
  32. package/dist/arcgis-map-components/{p-4c103777.entry.js → p-9fdd4596.entry.js} +1 -1
  33. package/dist/arcgis-map-components/{p-5db2786d.entry.js → p-a0f092fc.entry.js} +1 -1
  34. package/dist/arcgis-map-components/{p-f5cc7f2d.entry.js → p-a1e2e59f.entry.js} +1 -1
  35. package/dist/arcgis-map-components/{p-f7b74cd4.entry.js → p-a249c2fa.entry.js} +1 -1
  36. package/dist/arcgis-map-components/{p-3e676259.entry.js → p-a508d7c6.entry.js} +1 -1
  37. package/dist/arcgis-map-components/{p-5ea3ce11.entry.js → p-a89102b6.entry.js} +1 -1
  38. package/dist/arcgis-map-components/{p-ef0b3818.entry.js → p-ac7e9294.entry.js} +1 -1
  39. package/dist/arcgis-map-components/{p-8fde8001.entry.js → p-adcfd40d.entry.js} +1 -1
  40. package/dist/arcgis-map-components/{p-ce14e49f.entry.js → p-ae96d72a.entry.js} +1 -1
  41. package/dist/arcgis-map-components/{p-d3fbbf3f.entry.js → p-b026950f.entry.js} +1 -1
  42. package/dist/arcgis-map-components/p-b5904340.entry.js +1 -0
  43. package/dist/arcgis-map-components/{p-927f8748.entry.js → p-c57f270d.entry.js} +1 -1
  44. package/dist/arcgis-map-components/{p-01d9efae.entry.js → p-c63d9e91.entry.js} +1 -1
  45. package/dist/arcgis-map-components/{p-acb4a35a.entry.js → p-c8516f87.entry.js} +1 -1
  46. package/dist/arcgis-map-components/{p-5a91868a.entry.js → p-d3f3affa.entry.js} +1 -1
  47. package/dist/arcgis-map-components/{p-721673c8.entry.js → p-d5ac71b2.entry.js} +1 -1
  48. package/dist/arcgis-map-components/{p-b19043d5.entry.js → p-dcf3861b.entry.js} +1 -1
  49. package/dist/arcgis-map-components/{p-ec2cc024.entry.js → p-e1201530.entry.js} +1 -1
  50. package/dist/arcgis-map-components/{p-312ff83f.entry.js → p-eb95717e.entry.js} +1 -1
  51. package/dist/arcgis-map-components/{p-2c5be6b0.entry.js → p-ee1086de.entry.js} +1 -1
  52. package/dist/arcgis-map-components/{p-620959fc.js → p-f28d6d27.js} +1 -1
  53. package/dist/arcgis-map-components/{p-501861a1.entry.js → p-f8353590.entry.js} +1 -1
  54. package/dist/cjs/arcgis-expand_4.cjs.entry.js +180 -280
  55. package/dist/cjs/arcgis-feature-table.cjs.entry.js +307 -0
  56. package/dist/cjs/arcgis-map-components.cjs.js +1 -1
  57. package/dist/cjs/index-6b51d5a0.js +4 -4
  58. package/dist/cjs/loader.cjs.js +1 -1
  59. package/dist/components/arcgis-map.js +27 -5
  60. package/dist/components/arcgis-scene.js +27 -5
  61. package/dist/esm/arcgis-area-measurement-2d.entry.js +1 -1
  62. package/dist/esm/arcgis-area-measurement-3d.entry.js +1 -1
  63. package/dist/esm/arcgis-attachments.entry.js +1 -1
  64. package/dist/esm/arcgis-basemap-gallery.entry.js +1 -1
  65. package/dist/esm/arcgis-basemap-layer-list.entry.js +1 -1
  66. package/dist/esm/arcgis-basemap-toggle.entry.js +1 -1
  67. package/dist/esm/arcgis-bookmarks.entry.js +1 -1
  68. package/dist/esm/arcgis-building-explorer.entry.js +1 -1
  69. package/dist/esm/arcgis-compass.entry.js +1 -1
  70. package/dist/esm/arcgis-coordinate-conversion.entry.js +1 -1
  71. package/dist/esm/arcgis-daylight.entry.js +1 -1
  72. package/dist/esm/arcgis-directions.entry.js +1 -1
  73. package/dist/esm/arcgis-directline-measurement-3d.entry.js +1 -1
  74. package/dist/esm/arcgis-distance-measurement-2d.entry.js +1 -1
  75. package/dist/esm/arcgis-editor.entry.js +1 -1
  76. package/dist/esm/arcgis-elevation-profile.entry.js +1 -1
  77. package/dist/esm/arcgis-expand_4.entry.js +180 -280
  78. package/dist/esm/arcgis-feature-form.entry.js +1 -1
  79. package/dist/esm/arcgis-feature-table.entry.js +303 -0
  80. package/dist/esm/arcgis-feature-templates.entry.js +1 -1
  81. package/dist/esm/arcgis-feature.entry.js +1 -1
  82. package/dist/esm/arcgis-features.entry.js +1 -1
  83. package/dist/esm/arcgis-floor-filter.entry.js +1 -1
  84. package/dist/esm/arcgis-fullscreen.entry.js +1 -1
  85. package/dist/esm/arcgis-histogram-range-slider.entry.js +1 -1
  86. package/dist/esm/arcgis-histogram.entry.js +1 -1
  87. package/dist/esm/arcgis-home.entry.js +1 -1
  88. package/dist/esm/arcgis-layer-list.entry.js +1 -1
  89. package/dist/esm/arcgis-legend.entry.js +1 -1
  90. package/dist/esm/arcgis-line-of-sight.entry.js +1 -1
  91. package/dist/esm/arcgis-locate.entry.js +1 -1
  92. package/dist/esm/arcgis-map-components.js +1 -1
  93. package/dist/esm/arcgis-measurement.entry.js +1 -1
  94. package/dist/esm/arcgis-navigation-toggle.entry.js +1 -1
  95. package/dist/esm/arcgis-print.entry.js +1 -1
  96. package/dist/esm/arcgis-scale-bar.entry.js +1 -1
  97. package/dist/esm/arcgis-scale-range-slider.entry.js +1 -1
  98. package/dist/esm/arcgis-shadow-cast.entry.js +1 -1
  99. package/dist/esm/arcgis-sketch.entry.js +1 -1
  100. package/dist/esm/arcgis-slice.entry.js +1 -1
  101. package/dist/esm/arcgis-slider.entry.js +1 -1
  102. package/dist/esm/arcgis-swipe.entry.js +1 -1
  103. package/dist/esm/arcgis-table-list.entry.js +1 -1
  104. package/dist/esm/arcgis-time-slider.entry.js +1 -1
  105. package/dist/esm/arcgis-track.entry.js +1 -1
  106. package/dist/esm/arcgis-utility-network-associations.entry.js +1 -1
  107. package/dist/esm/arcgis-utility-network-trace.entry.js +1 -1
  108. package/dist/esm/arcgis-utility-network-validate-topology.entry.js +1 -1
  109. package/dist/esm/arcgis-value-picker.entry.js +1 -1
  110. package/dist/esm/arcgis-weather.entry.js +1 -1
  111. package/dist/esm/arcgis-zoom.entry.js +1 -1
  112. package/dist/esm/{index-c227d296.js → index-334b0bde.js} +1 -1
  113. package/dist/esm/index-eb3ead33.js +4 -4
  114. package/dist/esm/loader.js +1 -1
  115. package/dist/types/components/arcgis-map/arcgis-map.d.ts +2 -0
  116. package/dist/types/components/arcgis-scene/arcgis-scene.d.ts +2 -0
  117. package/package.json +5 -4
  118. package/dist/arcgis-map-components/p-5cabdee7.js +0 -1
  119. package/dist/arcgis-map-components/p-bb6e5f04.entry.js +0 -1
  120. package/dist/arcgis-map-components/p-bfae0a1f.entry.js +0 -1
  121. package/dist/cjs/arcgis-scene.cjs.entry.js +0 -126
  122. package/dist/cjs/mapping-utils-c2c7b994.js +0 -40
  123. package/dist/esm/arcgis-scene.entry.js +0 -122
  124. package/dist/esm/mapping-utils-26beb904.js +0 -38
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, h, g as getElement } from './index-eb3ead33.js';
2
- import { a0 as newWidgetsUtilityNetworkAssociations } from './index-c227d296.js';
2
+ import { a0 as newWidgetsUtilityNetworkAssociations } from './index-334b0bde.js';
3
3
  import { u as updateForView, c as checkForView } from './component-utils-2ebdae59.js';
4
4
  import { o as onDisconnectedHelper } from './disconnected-bc5fc8bc.js';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, h, g as getElement } from './index-eb3ead33.js';
2
- import { a1 as newWidgetsUtilityNetworkTrace } from './index-c227d296.js';
2
+ import { a1 as newWidgetsUtilityNetworkTrace } from './index-334b0bde.js';
3
3
  import { r as referenceElementHelper, c as checkForView } from './component-utils-2ebdae59.js';
4
4
  import { o as onDisconnectedHelper } from './disconnected-bc5fc8bc.js';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, h, g as getElement } from './index-eb3ead33.js';
2
- import { a2 as newWidgetsUtilityNetworkValidateTopology } from './index-c227d296.js';
2
+ import { a2 as newWidgetsUtilityNetworkValidateTopology } from './index-334b0bde.js';
3
3
  import { u as updateForView, c as checkForView } from './component-utils-2ebdae59.js';
4
4
  import { o as onDisconnectedHelper } from './disconnected-bc5fc8bc.js';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, h, g as getElement } from './index-eb3ead33.js';
2
- import { a3 as newWidgetsValuePicker, i as importCoreReactiveUtils } from './index-c227d296.js';
2
+ import { a3 as newWidgetsValuePicker, c as importCoreReactiveUtils } from './index-334b0bde.js';
3
3
  import { c as checkForView } from './component-utils-2ebdae59.js';
4
4
  import { o as onDisconnectedHelper } from './disconnected-bc5fc8bc.js';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, h, g as getElement } from './index-eb3ead33.js';
2
- import { a4 as newWidgetsWeather } from './index-c227d296.js';
2
+ import { a4 as newWidgetsWeather } from './index-334b0bde.js';
3
3
  import { r as referenceElementHelper, c as checkForView } from './component-utils-2ebdae59.js';
4
4
  import { o as onDisconnectedHelper } from './disconnected-bc5fc8bc.js';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, h, g as getElement } from './index-eb3ead33.js';
2
- import { a5 as newWidgetsZoom } from './index-c227d296.js';
2
+ import { a5 as newWidgetsZoom } from './index-334b0bde.js';
3
3
  import { r as referenceElementHelper, c as checkForView } from './component-utils-2ebdae59.js';
4
4
  import { o as onDisconnectedHelper } from './disconnected-bc5fc8bc.js';
5
5
 
@@ -657,4 +657,4 @@ async function importCoreReactiveUtils() {
657
657
  return module;
658
658
  }
659
659
 
660
- export { newWidgetsTrack as $, newWidgetsFeatureForm as A, newWidgetsFeatureTemplates as B, newWidgetsFeatures as C, newWidgetsFloorFilter as D, newWidgetsFullscreen as E, newWidgetsHistogram as F, newWidgetsHistogramRangeSlider as G, newWidgetsHome as H, newWidgetsLayerList as I, newWidgetsLegend as J, newWidgetsLineOfSight as K, newWidgetsLocate as L, newWidgetsMeasurement as M, newWidgetsNavigationToggle as N, newWidgetsPrint as O, newWidgetsScaleBar as P, newWidgetsScaleRangeSlider as Q, newWebScene as R, newViewsSceneView as S, newWidgetsShadowCast as T, newWidgetsSketch as U, newLayersGraphicsLayer as V, newWidgetsSlice as W, newWidgetsSlider as X, newWidgetsSwipe as Y, newWidgetsTableList as Z, newWidgetsTimeSlider as _, newLayersFeatureLayer as a, newWidgetsUtilityNetworkAssociations as a0, newWidgetsUtilityNetworkTrace as a1, newWidgetsUtilityNetworkValidateTopology as a2, newWidgetsValuePicker as a3, newWidgetsWeather as a4, newWidgetsZoom as a5, newWidgetsFeatureTable as b, importConfig as c, newWebMap as d, newViewsMapView as e, newWidgetsSearch as f, newWidgetsAreaMeasurement2D as g, newWidgetsAreaMeasurement3D as h, importCoreReactiveUtils as i, newWidgetsAttachments as j, newWidgetsBasemapGallery as k, newWidgetsBasemapLayerList as l, newWidgetsBasemapToggle as m, newWidgetsExpand as n, newWidgetsBookmarks as o, newWidgetsBuildingExplorer as p, newWidgetsCompass as q, newWidgetsCoordinateConversion as r, newWidgetsDaylight as s, newLayersRouteLayer as t, newWidgetsDirections as u, newWidgetsDirectLineMeasurement3D as v, newWidgetsDistanceMeasurement2D as w, newWidgetsEditor as x, newWidgetsElevationProfile as y, newWidgetsFeature as z };
660
+ export { newWidgetsTrack as $, newWidgetsFeatureForm as A, newLayersFeatureLayer as B, newWidgetsFeatureTable as C, newWidgetsFeatureTemplates as D, newWidgetsFeatures as E, newWidgetsFloorFilter as F, newWidgetsFullscreen as G, newWidgetsHistogram as H, newWidgetsHistogramRangeSlider as I, newWidgetsHome as J, newWidgetsLayerList as K, newWidgetsLegend as L, newWidgetsLineOfSight as M, newWidgetsLocate as N, newWidgetsMeasurement as O, newWidgetsNavigationToggle as P, newWidgetsPrint as Q, newWidgetsScaleBar as R, newWidgetsScaleRangeSlider as S, newWidgetsShadowCast as T, newWidgetsSketch as U, newLayersGraphicsLayer as V, newWidgetsSlice as W, newWidgetsSlider as X, newWidgetsSwipe as Y, newWidgetsTableList as Z, newWidgetsTimeSlider as _, newWebMap as a, newWidgetsUtilityNetworkAssociations as a0, newWidgetsUtilityNetworkTrace as a1, newWidgetsUtilityNetworkValidateTopology as a2, newWidgetsValuePicker as a3, newWidgetsWeather as a4, newWidgetsZoom as a5, newViewsMapView as b, importCoreReactiveUtils as c, newWebScene as d, newViewsSceneView as e, newWidgetsSearch as f, newWidgetsAreaMeasurement2D as g, newWidgetsAreaMeasurement3D as h, importConfig as i, newWidgetsAttachments as j, newWidgetsBasemapGallery as k, newWidgetsBasemapLayerList as l, newWidgetsBasemapToggle as m, newWidgetsExpand as n, newWidgetsBookmarks as o, newWidgetsBuildingExplorer as p, newWidgetsCompass as q, newWidgetsCoordinateConversion as r, newWidgetsDaylight as s, newLayersRouteLayer as t, newWidgetsDirections as u, newWidgetsDirectLineMeasurement3D as v, newWidgetsDistanceMeasurement2D as w, newWidgetsEditor as x, newWidgetsElevationProfile as y, newWidgetsFeature as z };
@@ -1377,6 +1377,10 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
1377
1377
  return import(
1378
1378
  /* webpackMode: "lazy" */
1379
1379
  './arcgis-feature-form.entry.js').then(processMod, consoleError);
1380
+ case 'arcgis-feature-table':
1381
+ return import(
1382
+ /* webpackMode: "lazy" */
1383
+ './arcgis-feature-table.entry.js').then(processMod, consoleError);
1380
1384
  case 'arcgis-feature-templates':
1381
1385
  return import(
1382
1386
  /* webpackMode: "lazy" */
@@ -1441,10 +1445,6 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
1441
1445
  return import(
1442
1446
  /* webpackMode: "lazy" */
1443
1447
  './arcgis-scale-range-slider.entry.js').then(processMod, consoleError);
1444
- case 'arcgis-scene':
1445
- return import(
1446
- /* webpackMode: "lazy" */
1447
- './arcgis-scene.entry.js').then(processMod, consoleError);
1448
1448
  case 'arcgis-shadow-cast':
1449
1449
  return import(
1450
1450
  /* webpackMode: "lazy" */
@@ -11,7 +11,7 @@ const patchEsm = () => {
11
11
  const defineCustomElements = (win, options) => {
12
12
  if (typeof window === 'undefined') return Promise.resolve();
13
13
  return patchEsm().then(() => {
14
- return bootstrapLazy(JSON.parse("[[\"arcgis-expand_4\",[[0,\"arcgis-search\",{\"referenceElement\":[1,\"reference-element\"],\"activeMenu\":[1,\"active-menu\"],\"activeSource\":[1040],\"activeSourceIndex\":[1026,\"active-source-index\"],\"allPlaceholder\":[1,\"all-placeholder\"],\"allSources\":[1040],\"autoSelect\":[4,\"auto-select\"],\"defaultSources\":[1040],\"includeDefaultSources\":[4,\"include-default-sources\"],\"locationEnabled\":[4,\"location-enabled\"],\"maxResults\":[2,\"max-results\"],\"maxSuggestions\":[2,\"max-suggestions\"],\"minSuggestCharacters\":[2,\"min-suggest-characters\"],\"popupEnabled\":[4,\"popup-enabled\"],\"popupTemplate\":[16],\"portal\":[16],\"resultGraphic\":[1040],\"resultGraphicEnabled\":[4,\"result-graphic-enabled\"],\"results\":[1040],\"searchAllEnabled\":[4,\"search-all-enabled\"],\"searchTerm\":[1,\"search-term\"],\"selectedResult\":[1040],\"sources\":[16],\"suggestions\":[16],\"suggestionsEnabled\":[4,\"suggestions-enabled\"],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040],\"blurSearch\":[64],\"clearSearch\":[64],\"focusSearch\":[64],\"search\":[64],\"suggest\":[64]}],[0,\"arcgis-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\",[[0,\"arcgis-area-measurement-2d\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"expandable\":[4],\"unit\":[1025],\"unitOptions\":[16],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-area-measurement-3d\",[[0,\"arcgis-area-measurement-3d\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"expandable\":[4],\"unit\":[1025],\"unitOptions\":[16],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-attachments\",[[0,\"arcgis-attachments\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"expandable\":[4],\"graphic\":[16],\"widget\":[1040]}]]],[\"arcgis-basemap-gallery\",[[0,\"arcgis-basemap-gallery\",{\"referenceElement\":[1,\"reference-element\"],\"activeBasemap\":[1040],\"position\":[1],\"expandable\":[4],\"source\":[1040],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-basemap-layer-list\",[[0,\"arcgis-basemap-layer-list\",{\"referenceElement\":[1,\"reference-element\"],\"basemapTitle\":[513,\"basemap-title\"],\"baseItems\":[1040],\"editingEnabled\":[516,\"editing-enabled\"],\"mulitpleSelectionEnabled\":[516,\"mulitple-selection-enabled\"],\"position\":[1],\"expandable\":[4],\"referenceItems\":[1040],\"selectedItems\":[1040],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-basemap-toggle\",[[0,\"arcgis-basemap-toggle\",{\"referenceElement\":[1,\"reference-element\"],\"activeBasemap\":[16],\"nextBasemap\":[1025,\"next-basemap\"],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040],\"toggle\":[64]}]]],[\"arcgis-bookmarks\",[[0,\"arcgis-bookmarks\",{\"referenceElement\":[1,\"reference-element\"],\"bookmarks\":[16],\"defaultCreateOptions\":[16],\"defaultEditOptions\":[16],\"editingEnabled\":[516,\"editing-enabled\"],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-building-explorer\",[[0,\"arcgis-building-explorer\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"expandable\":[4],\"widget\":[1040],\"view\":[1040]}]]],[\"arcgis-coordinate-conversion\",[[0,\"arcgis-coordinate-conversion\",{\"referenceElement\":[1,\"reference-element\"],\"conversions\":[16],\"currentLocation\":[1040],\"formats\":[16],\"locationSymbol\":[16],\"mode\":[1],\"multipleConversions\":[4,\"multiple-conversions\"],\"orientation\":[1],\"storageEnabled\":[4,\"storage-enabled\"],\"storageType\":[1,\"storage-type\"],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040],\"reverseConvert\":[64]}]]],[\"arcgis-daylight\",[[0,\"arcgis-daylight\",{\"referenceElement\":[1,\"reference-element\"],\"dateOrSeason\":[1,\"date-or-season\"],\"playSpeedMultiplier\":[2,\"play-speed-multiplier\"],\"timeSliderSteps\":[2,\"time-slider-steps\"],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-directions\",[[0,\"arcgis-directions\",{\"referenceElement\":[1,\"reference-element\"],\"apiKey\":[1,\"api-key\"],\"routeLayerItemId\":[1,\"route-layer-item-id\"],\"lastRoute\":[1040],\"layer\":[16],\"maxStops\":[2,\"max-stops\"],\"searchProperties\":[16],\"unit\":[1],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040],\"getDirections\":[64],\"save\":[64],\"saveAs\":[64],\"zoomToRoute\":[64]}]]],[\"arcgis-directline-measurement-3d\",[[0,\"arcgis-directline-measurement-3d\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"expandable\":[4],\"analysis\":[1040],\"unit\":[1],\"unitOptions\":[16],\"widget\":[1040],\"view\":[1040]}]]],[\"arcgis-distance-measurement-2d\",[[0,\"arcgis-distance-measurement-2d\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"expandable\":[4],\"unit\":[1],\"unitOptions\":[16],\"widget\":[1040],\"view\":[1040]}]]],[\"arcgis-editor\",[[0,\"arcgis-editor\",{\"referenceElement\":[1,\"reference-element\"],\"activeWorkflow\":[1040],\"allowedWorkflows\":[1,\"allowed-workflows\"],\"labelOptions\":[16],\"layerInfos\":[16],\"snappingOptions\":[16],\"supportingWidgetDefaults\":[16],\"tooltipOptions\":[16],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040],\"cancelWorkflow\":[64],\"deleteFeatureFromWorkflow\":[64],\"startCreateFeaturesWorkflowAtFeatureCreation\":[64],\"startCreateFeaturesWorkflowAtFeatureTypeSelection\":[64],\"startUpdateWorkflowAtFeatureEdit\":[64],\"startUpdateWorkflowAtFeatureSelection\":[64],\"startUpdateWorkflowAtMultipleFeatureSelection\":[64]}]]],[\"arcgis-elevation-profile\",[[0,\"arcgis-elevation-profile\",{\"referenceElement\":[1,\"reference-element\"],\"geodesicDistanceThreshold\":[2,\"geodesic-distance-threshold\"],\"input\":[16],\"profiles\":[16],\"position\":[1],\"expandable\":[4],\"unit\":[1],\"unitOptions\":[16],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-feature\",[[0,\"arcgis-feature\",{\"referenceElement\":[1,\"reference-element\"],\"defaultPopupTemplateEnabled\":[4,\"default-popup-template-enabled\"],\"graphic\":[16],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-feature-templates\",[[0,\"arcgis-feature-templates\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"expandable\":[4],\"widget\":[1040],\"layers\":[16]}]]],[\"arcgis-features\",[[0,\"arcgis-features\",{\"referenceElement\":[1,\"reference-element\"],\"view\":[1040],\"position\":[1],\"expandable\":[4],\"content\":[1],\"features\":[16],\"selectedFeature\":[1040],\"selectedFeatureIndex\":[1026,\"selected-feature-index\"],\"selectedFeatureWidget\":[1040],\"widget\":[1040],\"fetchFeatures\":[64],\"clear\":[64],\"close\":[64],\"next\":[64],\"open\":[64],\"previous\":[64]}]]],[\"arcgis-floor-filter\",[[0,\"arcgis-floor-filter\",{\"referenceElement\":[1,\"reference-element\"],\"facility\":[1],\"level\":[1],\"longNames\":[4,\"long-names\"],\"site\":[1],\"position\":[1],\"expandable\":[4],\"widget\":[1040],\"view\":[1040],\"updateWebDocument\":[64]}]]],[\"arcgis-histogram-range-slider\",[[0,\"arcgis-histogram-range-slider\",{\"referenceElement\":[1,\"reference-element\"],\"max\":[2],\"min\":[2],\"position\":[1],\"expandable\":[4],\"widget\":[1040]}]]],[\"arcgis-layer-list\",[[0,\"arcgis-layer-list\",{\"referenceElement\":[1,\"reference-element\"],\"multipleSelectionEnabled\":[4,\"multiple-selection-enabled\"],\"operationalItems\":[1040],\"selectedItems\":[16],\"selectionEnabled\":[4,\"selection-enabled\"],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040],\"triggerAction\":[64]}]]],[\"arcgis-legend\",[[0,\"arcgis-legend\",{\"referenceElement\":[1,\"reference-element\"],\"activeLayerInfos\":[16],\"basemapLegendVisible\":[4,\"basemap-legend-visible\"],\"hideLayersNotInCurrentView\":[4,\"hide-layers-not-in-current-view\"],\"layerInfos\":[16],\"respectLayerVisibility\":[4,\"respect-layer-visibility\"],\"legendStyle\":[1,\"legend-style\"],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-line-of-sight\",[[0,\"arcgis-line-of-sight\",{\"referenceElement\":[1,\"reference-element\"],\"analysis\":[1040],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-measurement\",[[0,\"arcgis-measurement\",{\"referenceElement\":[1,\"reference-element\"],\"activeTool\":[1,\"active-tool\"],\"activeWidget\":[1040],\"areaUnit\":[1,\"area-unit\"],\"linearUnit\":[1,\"linear-unit\"],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040],\"startMeasurement\":[64]}]]],[\"arcgis-print\",[[0,\"arcgis-print\",{\"referenceElement\":[1,\"reference-element\"],\"allowedFormats\":[1,\"allowed-formats\"],\"allowedLayouts\":[1,\"allowed-layouts\"],\"exportedLinks\":[1040],\"extraParameters\":[8,\"extra-parameters\"],\"includeDefaultTemplates\":[4,\"include-default-templates\"],\"portal\":[16],\"printServiceUrl\":[1,\"print-service-url\"],\"templateCustomTextElements\":[16],\"templateOptions\":[16],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-scale-bar\",[[0,\"arcgis-scale-bar\",{\"referenceElement\":[1,\"reference-element\"],\"view\":[1040],\"position\":[1],\"expandable\":[4],\"barStyle\":[1,\"bar-style\"],\"unit\":[1],\"widget\":[1040]}]]],[\"arcgis-scale-range-slider\",[[0,\"arcgis-scale-range-slider\",{\"referenceElement\":[1,\"reference-element\"],\"view\":[1040],\"position\":[1],\"expandable\":[4],\"widget\":[1040],\"layer\":[16],\"maxScale\":[2,\"max-scale\"],\"maxScaleLimit\":[2,\"max-scale-limit\"],\"minScale\":[2,\"min-scale\"],\"minScaleLimit\":[2,\"min-scale-limit\"],\"region\":[1]}]]],[\"arcgis-shadow-cast\",[[0,\"arcgis-shadow-cast\",{\"referenceElement\":[1,\"reference-element\"],\"view\":[1040],\"position\":[1],\"expandable\":[4],\"widget\":[1040],\"headingLevel\":[2,\"heading-level\"]}]]],[\"arcgis-sketch\",[[0,\"arcgis-sketch\",{\"referenceElement\":[1,\"reference-element\"],\"activeTool\":[1537,\"active-tool\"],\"availableCreateTools\":[16],\"createGraphic\":[1040],\"creationMode\":[1,\"creation-mode\"],\"defaultCreateOptions\":[16],\"defaultUpdateOptions\":[16],\"labelOptions\":[16],\"layer\":[1040],\"layout\":[1],\"snappingOptions\":[16],\"tooltipOptions\":[16],\"updateGraphics\":[1040],\"view\":[1040],\"position\":[1],\"expandable\":[4],\"widget\":[1040]}]]],[\"arcgis-slice\",[[0,\"arcgis-slice\",{\"referenceElement\":[1,\"reference-element\"],\"analysis\":[1040],\"view\":[1040],\"position\":[1],\"expandable\":[4],\"widget\":[1040],\"headingLevel\":[2,\"heading-level\"]}]]],[\"arcgis-slider\",[[0,\"arcgis-slider\",{\"referenceElement\":[1,\"reference-element\"],\"draggableSegmentsEnabled\":[4,\"draggable-segments-enabled\"],\"effectiveMax\":[2,\"effective-max\"],\"effectiveMin\":[2,\"effective-min\"],\"effectiveSegmentElements\":[1040],\"labelElements\":[1040],\"labelInputsEnabled\":[4,\"label-inputs-enabled\"],\"labels\":[16],\"layout\":[1],\"min\":[2],\"max\":[2],\"maxLabelElement\":[1040],\"minLabelElement\":[1040],\"precision\":[2],\"rangeLabelInputsEnabled\":[4,\"range-label-inputs-enabled\"],\"segmentElements\":[1040],\"snapOnClickEnabled\":[4,\"snap-on-click-enabled\"],\"syncedSegmentsEnabled\":[4,\"synced-segments-enabled\"],\"thumbElements\":[1040],\"thumbsConstrained\":[4,\"thumbs-constrained\"],\"tickConfigs\":[16],\"tickElements\":[1040],\"trackElement\":[1040],\"steps\":[8],\"values\":[1],\"position\":[1],\"expandable\":[4],\"widget\":[1040]}]]],[\"arcgis-table-list\",[[0,\"arcgis-table-list\",{\"referenceElement\":[1,\"reference-element\"],\"multipleSelectionEnabled\":[4,\"multiple-selection-enabled\"],\"selectionEnabled\":[4,\"selection-enabled\"],\"selectedItems\":[1040],\"tableItems\":[1040],\"view\":[1040],\"position\":[1],\"expandable\":[4],\"widget\":[1040]}]]],[\"arcgis-time-slider\",[[0,\"arcgis-time-slider\",{\"referenceElement\":[1,\"reference-element\"],\"actions\":[16],\"effectiveStops\":[1040],\"fullTimeExtent\":[16],\"layout\":[1],\"loop\":[4],\"mode\":[1],\"playRate\":[2,\"play-rate\"],\"stops\":[16],\"tickConfigs\":[16],\"timeExtent\":[16],\"timeVisible\":[4,\"time-visible\"],\"view\":[1040],\"position\":[1],\"expandable\":[4],\"widget\":[1040],\"next\":[64],\"play\":[64],\"previous\":[64],\"stop\":[64]}]]],[\"arcgis-utility-network-associations\",[[0,\"arcgis-utility-network-associations\",{\"referenceElement\":[1,\"reference-element\"],\"autoRefreshAssociations\":[4,\"auto-refresh-associations\"],\"connectivityAssociationsLineSymbol\":[16],\"includeConnectivityAssociations\":[4,\"include-connectivity-associations\"],\"includeStructuralAttachmentAssociations\":[4,\"include-structural-attachment-associations\"],\"maxAllowableAssociations\":[2,\"max-allowable-associations\"],\"maxAllowableAssociationsSliderMax\":[2,\"max-allowable-associations-slider-max\"],\"maxAllowableAssociationsSliderMin\":[2,\"max-allowable-associations-slider-min\"],\"maxAllowableAssociationsSliderStep\":[2,\"max-allowable-associations-slider-step\"],\"showArrowsConnectivity\":[4,\"show-arrows-connectivity\"],\"showArrowsStructuralAttachment\":[4,\"show-arrows-structural-attachment\"],\"showAssociationsEnabled\":[4,\"show-associations-enabled\"],\"structuralAttachmentAssociationsLineSymbol\":[16],\"utilityNetwork\":[16],\"view\":[1040],\"position\":[1],\"expandable\":[4],\"widget\":[1040]}]]],[\"arcgis-utility-network-trace\",[[0,\"arcgis-utility-network-trace\",{\"referenceElement\":[1,\"reference-element\"],\"defaultGraphicColor\":[16],\"flags\":[16],\"gdbVersion\":[1,\"gdb-version\"],\"inputSettings\":[16],\"selectedTraces\":[16],\"selectOnComplete\":[4,\"select-on-complete\"],\"showGraphicsOnComplete\":[4,\"show-graphics-on-complete\"],\"showSelectionAttributes\":[4,\"show-selection-attributes\"],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040],\"checkCanTrace\":[64],\"confirmReset\":[64]}]]],[\"arcgis-utility-network-validate-topology\",[[0,\"arcgis-utility-network-validate-topology\",{\"referenceElement\":[1,\"reference-element\"],\"extentToValidate\":[1,\"extent-to-validate\"],\"utilityNetwork\":[16],\"view\":[1040],\"position\":[1],\"expandable\":[4],\"widget\":[1040]}]]],[\"arcgis-value-picker\",[[0,\"arcgis-value-picker\",{\"referenceElement\":[1,\"reference-element\"],\"view\":[1040],\"position\":[1],\"expandable\":[4],\"widget\":[1040],\"canNext\":[516,\"can-next\"],\"canPlay\":[516,\"can-play\"],\"canPrevious\":[516,\"can-previous\"],\"caption\":[1],\"component\":[16],\"layout\":[1],\"loop\":[4],\"playRate\":[2,\"play-rate\"],\"values\":[1040],\"next\":[64],\"pause\":[64],\"play\":[64],\"previous\":[64]}]]],[\"arcgis-weather\",[[0,\"arcgis-weather\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-compass\",[[0,\"arcgis-compass\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"widget\":[1040],\"view\":[1040],\"reset\":[64]}]]],[\"arcgis-feature-form\",[[0,\"arcgis-feature-form\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"expandable\":[4],\"widget\":[1040]}]]],[\"arcgis-fullscreen\",[[0,\"arcgis-fullscreen\",{\"referenceElement\":[1,\"reference-element\"],\"element\":[16],\"position\":[1],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-histogram\",[[0,\"arcgis-histogram\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"expandable\":[4],\"widget\":[1040]}]]],[\"arcgis-home\",[[0,\"arcgis-home\",{\"referenceElement\":[1,\"reference-element\"],\"viewpoint\":[16],\"view\":[1040],\"position\":[1],\"widget\":[1040],\"cancelGo\":[64],\"go\":[64]}]]],[\"arcgis-locate\",[[0,\"arcgis-locate\",{\"referenceElement\":[1,\"reference-element\"],\"geolocationOptions\":[8,\"geolocation-options\"],\"goToLocationEnabled\":[4,\"go-to-location-enabled\"],\"graphic\":[16],\"popupEnabled\":[4,\"popup-enabled\"],\"scale\":[2],\"position\":[1],\"view\":[1040],\"widget\":[1040],\"useHeadingEnabled\":[1028,\"use-heading-enabled\"],\"cancelLocate\":[64],\"locate\":[64]}]]],[\"arcgis-navigation-toggle\",[[0,\"arcgis-navigation-toggle\",{\"referenceElement\":[1,\"reference-element\"],\"layout\":[1537],\"position\":[1],\"view\":[1040],\"widget\":[1040],\"toggle\":[64]}]]],[\"arcgis-scene\",[[0,\"arcgis-scene\",{\"apiKey\":[1,\"api-key\"],\"basemap\":[1025],\"itemId\":[1,\"item-id\"],\"portalUrl\":[1,\"portal-url\"],\"scale\":[1538],\"zoom\":[1538],\"center\":[1537],\"view\":[1040],\"disableNavigation\":[4,\"disable-navigation\"]}]]],[\"arcgis-swipe\",[[0,\"arcgis-swipe\",{\"referenceElement\":[1,\"reference-element\"],\"direction\":[1],\"dragLabel\":[1,\"drag-label\"],\"leadingLayers\":[16],\"swipePosition\":[2,\"swipe-position\"],\"trailingLayers\":[16],\"view\":[1040],\"position\":[1],\"widget\":[1040]}]]],[\"arcgis-track\",[[0,\"arcgis-track\",{\"referenceElement\":[1,\"reference-element\"],\"geolocationOptions\":[8,\"geolocation-options\"],\"goToLocationEnabled\":[4,\"go-to-location-enabled\"],\"graphic\":[16],\"scale\":[2],\"tracking\":[1540],\"useHeadingEnabled\":[4,\"use-heading-enabled\"],\"position\":[1],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-zoom\",[[0,\"arcgis-zoom\",{\"referenceElement\":[1,\"reference-element\"],\"layout\":[1],\"view\":[1040],\"position\":[1],\"widget\":[1040],\"zoomIn\":[64],\"zoomOut\":[64]}]]]]"), options);
14
+ return bootstrapLazy(JSON.parse("[[\"arcgis-expand_4\",[[0,\"arcgis-search\",{\"referenceElement\":[1,\"reference-element\"],\"activeMenu\":[1,\"active-menu\"],\"activeSource\":[1040],\"activeSourceIndex\":[1026,\"active-source-index\"],\"allPlaceholder\":[1,\"all-placeholder\"],\"allSources\":[1040],\"autoSelect\":[4,\"auto-select\"],\"defaultSources\":[1040],\"includeDefaultSources\":[4,\"include-default-sources\"],\"locationEnabled\":[4,\"location-enabled\"],\"maxResults\":[2,\"max-results\"],\"maxSuggestions\":[2,\"max-suggestions\"],\"minSuggestCharacters\":[2,\"min-suggest-characters\"],\"popupEnabled\":[4,\"popup-enabled\"],\"popupTemplate\":[16],\"portal\":[16],\"resultGraphic\":[1040],\"resultGraphicEnabled\":[4,\"result-graphic-enabled\"],\"results\":[1040],\"searchAllEnabled\":[4,\"search-all-enabled\"],\"searchTerm\":[1,\"search-term\"],\"selectedResult\":[1040],\"sources\":[16],\"suggestions\":[16],\"suggestionsEnabled\":[4,\"suggestions-enabled\"],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040],\"blurSearch\":[64],\"clearSearch\":[64],\"focusSearch\":[64],\"search\":[64],\"suggest\":[64]}],[0,\"arcgis-map\",{\"apiKey\":[1,\"api-key\"],\"basemap\":[1025],\"backgroundColor\":[1025,\"background-color\"],\"disableNavigation\":[4,\"disable-navigation\"],\"itemId\":[1,\"item-id\"],\"portalUrl\":[1,\"portal-url\"],\"scale\":[1538],\"zoom\":[1538],\"center\":[1537],\"view\":[1040]}],[0,\"arcgis-scene\",{\"apiKey\":[1,\"api-key\"],\"basemap\":[1025],\"itemId\":[1,\"item-id\"],\"portalUrl\":[1,\"portal-url\"],\"scale\":[1538],\"zoom\":[1538],\"center\":[1537],\"view\":[1040],\"disableNavigation\":[4,\"disable-navigation\"]}],[0,\"arcgis-expand\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-area-measurement-2d\",[[0,\"arcgis-area-measurement-2d\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"expandable\":[4],\"unit\":[1025],\"unitOptions\":[16],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-area-measurement-3d\",[[0,\"arcgis-area-measurement-3d\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"expandable\":[4],\"unit\":[1025],\"unitOptions\":[16],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-attachments\",[[0,\"arcgis-attachments\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"expandable\":[4],\"graphic\":[16],\"widget\":[1040]}]]],[\"arcgis-basemap-gallery\",[[0,\"arcgis-basemap-gallery\",{\"referenceElement\":[1,\"reference-element\"],\"activeBasemap\":[1040],\"position\":[1],\"expandable\":[4],\"source\":[1040],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-basemap-layer-list\",[[0,\"arcgis-basemap-layer-list\",{\"referenceElement\":[1,\"reference-element\"],\"basemapTitle\":[513,\"basemap-title\"],\"baseItems\":[1040],\"editingEnabled\":[516,\"editing-enabled\"],\"mulitpleSelectionEnabled\":[516,\"mulitple-selection-enabled\"],\"position\":[1],\"expandable\":[4],\"referenceItems\":[1040],\"selectedItems\":[1040],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-basemap-toggle\",[[0,\"arcgis-basemap-toggle\",{\"referenceElement\":[1,\"reference-element\"],\"activeBasemap\":[16],\"nextBasemap\":[1025,\"next-basemap\"],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040],\"toggle\":[64]}]]],[\"arcgis-bookmarks\",[[0,\"arcgis-bookmarks\",{\"referenceElement\":[1,\"reference-element\"],\"bookmarks\":[16],\"defaultCreateOptions\":[16],\"defaultEditOptions\":[16],\"editingEnabled\":[516,\"editing-enabled\"],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-building-explorer\",[[0,\"arcgis-building-explorer\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"expandable\":[4],\"widget\":[1040],\"view\":[1040]}]]],[\"arcgis-coordinate-conversion\",[[0,\"arcgis-coordinate-conversion\",{\"referenceElement\":[1,\"reference-element\"],\"conversions\":[16],\"currentLocation\":[1040],\"formats\":[16],\"locationSymbol\":[16],\"mode\":[1],\"multipleConversions\":[4,\"multiple-conversions\"],\"orientation\":[1],\"storageEnabled\":[4,\"storage-enabled\"],\"storageType\":[1,\"storage-type\"],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040],\"reverseConvert\":[64]}]]],[\"arcgis-daylight\",[[0,\"arcgis-daylight\",{\"referenceElement\":[1,\"reference-element\"],\"dateOrSeason\":[1,\"date-or-season\"],\"playSpeedMultiplier\":[2,\"play-speed-multiplier\"],\"timeSliderSteps\":[2,\"time-slider-steps\"],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-directions\",[[0,\"arcgis-directions\",{\"referenceElement\":[1,\"reference-element\"],\"apiKey\":[1,\"api-key\"],\"routeLayerItemId\":[1,\"route-layer-item-id\"],\"lastRoute\":[1040],\"layer\":[16],\"maxStops\":[2,\"max-stops\"],\"searchProperties\":[16],\"unit\":[1],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040],\"getDirections\":[64],\"save\":[64],\"saveAs\":[64],\"zoomToRoute\":[64]}]]],[\"arcgis-directline-measurement-3d\",[[0,\"arcgis-directline-measurement-3d\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"expandable\":[4],\"analysis\":[1040],\"unit\":[1],\"unitOptions\":[16],\"widget\":[1040],\"view\":[1040]}]]],[\"arcgis-distance-measurement-2d\",[[0,\"arcgis-distance-measurement-2d\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"expandable\":[4],\"unit\":[1],\"unitOptions\":[16],\"widget\":[1040],\"view\":[1040]}]]],[\"arcgis-editor\",[[0,\"arcgis-editor\",{\"referenceElement\":[1,\"reference-element\"],\"activeWorkflow\":[1040],\"allowedWorkflows\":[1,\"allowed-workflows\"],\"labelOptions\":[16],\"layerInfos\":[16],\"snappingOptions\":[16],\"supportingWidgetDefaults\":[16],\"tooltipOptions\":[16],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040],\"cancelWorkflow\":[64],\"deleteFeatureFromWorkflow\":[64],\"startCreateFeaturesWorkflowAtFeatureCreation\":[64],\"startCreateFeaturesWorkflowAtFeatureTypeSelection\":[64],\"startUpdateWorkflowAtFeatureEdit\":[64],\"startUpdateWorkflowAtFeatureSelection\":[64],\"startUpdateWorkflowAtMultipleFeatureSelection\":[64]}]]],[\"arcgis-elevation-profile\",[[0,\"arcgis-elevation-profile\",{\"referenceElement\":[1,\"reference-element\"],\"geodesicDistanceThreshold\":[2,\"geodesic-distance-threshold\"],\"input\":[16],\"profiles\":[16],\"position\":[1],\"expandable\":[4],\"unit\":[1],\"unitOptions\":[16],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-feature\",[[0,\"arcgis-feature\",{\"referenceElement\":[1,\"reference-element\"],\"defaultPopupTemplateEnabled\":[4,\"default-popup-template-enabled\"],\"graphic\":[16],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-feature-templates\",[[0,\"arcgis-feature-templates\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"expandable\":[4],\"widget\":[1040],\"layers\":[16]}]]],[\"arcgis-features\",[[0,\"arcgis-features\",{\"referenceElement\":[1,\"reference-element\"],\"view\":[1040],\"position\":[1],\"expandable\":[4],\"content\":[1],\"features\":[16],\"selectedFeature\":[1040],\"selectedFeatureIndex\":[1026,\"selected-feature-index\"],\"selectedFeatureWidget\":[1040],\"widget\":[1040],\"fetchFeatures\":[64],\"clear\":[64],\"close\":[64],\"next\":[64],\"open\":[64],\"previous\":[64]}]]],[\"arcgis-floor-filter\",[[0,\"arcgis-floor-filter\",{\"referenceElement\":[1,\"reference-element\"],\"facility\":[1],\"level\":[1],\"longNames\":[4,\"long-names\"],\"site\":[1],\"position\":[1],\"expandable\":[4],\"widget\":[1040],\"view\":[1040],\"updateWebDocument\":[64]}]]],[\"arcgis-histogram-range-slider\",[[0,\"arcgis-histogram-range-slider\",{\"referenceElement\":[1,\"reference-element\"],\"max\":[2],\"min\":[2],\"position\":[1],\"expandable\":[4],\"widget\":[1040]}]]],[\"arcgis-layer-list\",[[0,\"arcgis-layer-list\",{\"referenceElement\":[1,\"reference-element\"],\"multipleSelectionEnabled\":[4,\"multiple-selection-enabled\"],\"operationalItems\":[1040],\"selectedItems\":[16],\"selectionEnabled\":[4,\"selection-enabled\"],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040],\"triggerAction\":[64]}]]],[\"arcgis-legend\",[[0,\"arcgis-legend\",{\"referenceElement\":[1,\"reference-element\"],\"activeLayerInfos\":[16],\"basemapLegendVisible\":[4,\"basemap-legend-visible\"],\"hideLayersNotInCurrentView\":[4,\"hide-layers-not-in-current-view\"],\"layerInfos\":[16],\"respectLayerVisibility\":[4,\"respect-layer-visibility\"],\"legendStyle\":[1,\"legend-style\"],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-line-of-sight\",[[0,\"arcgis-line-of-sight\",{\"referenceElement\":[1,\"reference-element\"],\"analysis\":[1040],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-measurement\",[[0,\"arcgis-measurement\",{\"referenceElement\":[1,\"reference-element\"],\"activeTool\":[1,\"active-tool\"],\"activeWidget\":[1040],\"areaUnit\":[1,\"area-unit\"],\"linearUnit\":[1,\"linear-unit\"],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040],\"startMeasurement\":[64]}]]],[\"arcgis-print\",[[0,\"arcgis-print\",{\"referenceElement\":[1,\"reference-element\"],\"allowedFormats\":[1,\"allowed-formats\"],\"allowedLayouts\":[1,\"allowed-layouts\"],\"exportedLinks\":[1040],\"extraParameters\":[8,\"extra-parameters\"],\"includeDefaultTemplates\":[4,\"include-default-templates\"],\"portal\":[16],\"printServiceUrl\":[1,\"print-service-url\"],\"templateCustomTextElements\":[16],\"templateOptions\":[16],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-scale-bar\",[[0,\"arcgis-scale-bar\",{\"referenceElement\":[1,\"reference-element\"],\"view\":[1040],\"position\":[1],\"expandable\":[4],\"barStyle\":[1,\"bar-style\"],\"unit\":[1],\"widget\":[1040]}]]],[\"arcgis-scale-range-slider\",[[0,\"arcgis-scale-range-slider\",{\"referenceElement\":[1,\"reference-element\"],\"view\":[1040],\"position\":[1],\"expandable\":[4],\"widget\":[1040],\"layer\":[16],\"maxScale\":[2,\"max-scale\"],\"maxScaleLimit\":[2,\"max-scale-limit\"],\"minScale\":[2,\"min-scale\"],\"minScaleLimit\":[2,\"min-scale-limit\"],\"region\":[1]}]]],[\"arcgis-shadow-cast\",[[0,\"arcgis-shadow-cast\",{\"referenceElement\":[1,\"reference-element\"],\"view\":[1040],\"position\":[1],\"expandable\":[4],\"widget\":[1040],\"headingLevel\":[2,\"heading-level\"]}]]],[\"arcgis-sketch\",[[0,\"arcgis-sketch\",{\"referenceElement\":[1,\"reference-element\"],\"activeTool\":[1537,\"active-tool\"],\"availableCreateTools\":[16],\"createGraphic\":[1040],\"creationMode\":[1,\"creation-mode\"],\"defaultCreateOptions\":[16],\"defaultUpdateOptions\":[16],\"labelOptions\":[16],\"layer\":[1040],\"layout\":[1],\"snappingOptions\":[16],\"tooltipOptions\":[16],\"updateGraphics\":[1040],\"view\":[1040],\"position\":[1],\"expandable\":[4],\"widget\":[1040]}]]],[\"arcgis-slice\",[[0,\"arcgis-slice\",{\"referenceElement\":[1,\"reference-element\"],\"analysis\":[1040],\"view\":[1040],\"position\":[1],\"expandable\":[4],\"widget\":[1040],\"headingLevel\":[2,\"heading-level\"]}]]],[\"arcgis-slider\",[[0,\"arcgis-slider\",{\"referenceElement\":[1,\"reference-element\"],\"draggableSegmentsEnabled\":[4,\"draggable-segments-enabled\"],\"effectiveMax\":[2,\"effective-max\"],\"effectiveMin\":[2,\"effective-min\"],\"effectiveSegmentElements\":[1040],\"labelElements\":[1040],\"labelInputsEnabled\":[4,\"label-inputs-enabled\"],\"labels\":[16],\"layout\":[1],\"min\":[2],\"max\":[2],\"maxLabelElement\":[1040],\"minLabelElement\":[1040],\"precision\":[2],\"rangeLabelInputsEnabled\":[4,\"range-label-inputs-enabled\"],\"segmentElements\":[1040],\"snapOnClickEnabled\":[4,\"snap-on-click-enabled\"],\"syncedSegmentsEnabled\":[4,\"synced-segments-enabled\"],\"thumbElements\":[1040],\"thumbsConstrained\":[4,\"thumbs-constrained\"],\"tickConfigs\":[16],\"tickElements\":[1040],\"trackElement\":[1040],\"steps\":[8],\"values\":[1],\"position\":[1],\"expandable\":[4],\"widget\":[1040]}]]],[\"arcgis-table-list\",[[0,\"arcgis-table-list\",{\"referenceElement\":[1,\"reference-element\"],\"multipleSelectionEnabled\":[4,\"multiple-selection-enabled\"],\"selectionEnabled\":[4,\"selection-enabled\"],\"selectedItems\":[1040],\"tableItems\":[1040],\"view\":[1040],\"position\":[1],\"expandable\":[4],\"widget\":[1040]}]]],[\"arcgis-time-slider\",[[0,\"arcgis-time-slider\",{\"referenceElement\":[1,\"reference-element\"],\"actions\":[16],\"effectiveStops\":[1040],\"fullTimeExtent\":[16],\"layout\":[1],\"loop\":[4],\"mode\":[1],\"playRate\":[2,\"play-rate\"],\"stops\":[16],\"tickConfigs\":[16],\"timeExtent\":[16],\"timeVisible\":[4,\"time-visible\"],\"view\":[1040],\"position\":[1],\"expandable\":[4],\"widget\":[1040],\"next\":[64],\"play\":[64],\"previous\":[64],\"stop\":[64]}]]],[\"arcgis-utility-network-associations\",[[0,\"arcgis-utility-network-associations\",{\"referenceElement\":[1,\"reference-element\"],\"autoRefreshAssociations\":[4,\"auto-refresh-associations\"],\"connectivityAssociationsLineSymbol\":[16],\"includeConnectivityAssociations\":[4,\"include-connectivity-associations\"],\"includeStructuralAttachmentAssociations\":[4,\"include-structural-attachment-associations\"],\"maxAllowableAssociations\":[2,\"max-allowable-associations\"],\"maxAllowableAssociationsSliderMax\":[2,\"max-allowable-associations-slider-max\"],\"maxAllowableAssociationsSliderMin\":[2,\"max-allowable-associations-slider-min\"],\"maxAllowableAssociationsSliderStep\":[2,\"max-allowable-associations-slider-step\"],\"showArrowsConnectivity\":[4,\"show-arrows-connectivity\"],\"showArrowsStructuralAttachment\":[4,\"show-arrows-structural-attachment\"],\"showAssociationsEnabled\":[4,\"show-associations-enabled\"],\"structuralAttachmentAssociationsLineSymbol\":[16],\"utilityNetwork\":[16],\"view\":[1040],\"position\":[1],\"expandable\":[4],\"widget\":[1040]}]]],[\"arcgis-utility-network-trace\",[[0,\"arcgis-utility-network-trace\",{\"referenceElement\":[1,\"reference-element\"],\"defaultGraphicColor\":[16],\"flags\":[16],\"gdbVersion\":[1,\"gdb-version\"],\"inputSettings\":[16],\"selectedTraces\":[16],\"selectOnComplete\":[4,\"select-on-complete\"],\"showGraphicsOnComplete\":[4,\"show-graphics-on-complete\"],\"showSelectionAttributes\":[4,\"show-selection-attributes\"],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040],\"checkCanTrace\":[64],\"confirmReset\":[64]}]]],[\"arcgis-utility-network-validate-topology\",[[0,\"arcgis-utility-network-validate-topology\",{\"referenceElement\":[1,\"reference-element\"],\"extentToValidate\":[1,\"extent-to-validate\"],\"utilityNetwork\":[16],\"view\":[1040],\"position\":[1],\"expandable\":[4],\"widget\":[1040]}]]],[\"arcgis-value-picker\",[[0,\"arcgis-value-picker\",{\"referenceElement\":[1,\"reference-element\"],\"view\":[1040],\"position\":[1],\"expandable\":[4],\"widget\":[1040],\"canNext\":[516,\"can-next\"],\"canPlay\":[516,\"can-play\"],\"canPrevious\":[516,\"can-previous\"],\"caption\":[1],\"component\":[16],\"layout\":[1],\"loop\":[4],\"playRate\":[2,\"play-rate\"],\"values\":[1040],\"next\":[64],\"pause\":[64],\"play\":[64],\"previous\":[64]}]]],[\"arcgis-weather\",[[0,\"arcgis-weather\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-compass\",[[0,\"arcgis-compass\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"widget\":[1040],\"view\":[1040],\"reset\":[64]}]]],[\"arcgis-feature-form\",[[0,\"arcgis-feature-form\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"expandable\":[4],\"widget\":[1040]}]]],[\"arcgis-feature-table\",[[0,\"arcgis-feature-table\",{\"referenceElement\":[1,\"reference-element\"],\"activeFilters\":[1040],\"activeSortOrders\":[1040],\"attachmentsEnabled\":[4,\"attachments-enabled\"],\"autoRefreshEnabled\":[4,\"auto-refresh-enabled\"],\"columnReorderingEnabled\":[4,\"column-reordering-enabled\"],\"columns\":[1040],\"editingEnabled\":[4,\"editing-enabled\"],\"filterGeometry\":[16],\"hiddenFields\":[16],\"highlightEnabled\":[4,\"highlight-enabled\"],\"highlightIds\":[16],\"layer\":[1040],\"menu\":[1040],\"menuConfig\":[16],\"multiSortEnabled\":[4,\"multi-sort-enabled\"],\"pageSize\":[2,\"page-size\"],\"state\":[1025],\"tableTemplate\":[16],\"itemId\":[1,\"item-id\"],\"position\":[1],\"url\":[1],\"view\":[1040],\"widget\":[1040],\"clearSelectionFilter\":[64],\"deleteSelection\":[64],\"filterBySelection\":[64],\"findColumn\":[64],\"hideColumn\":[64],\"refresh\":[64],\"scrollToIndex\":[64],\"showAllColumns\":[64],\"showColumn\":[64],\"sortColumn\":[64]}]]],[\"arcgis-fullscreen\",[[0,\"arcgis-fullscreen\",{\"referenceElement\":[1,\"reference-element\"],\"element\":[16],\"position\":[1],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-histogram\",[[0,\"arcgis-histogram\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"expandable\":[4],\"widget\":[1040]}]]],[\"arcgis-home\",[[0,\"arcgis-home\",{\"referenceElement\":[1,\"reference-element\"],\"viewpoint\":[16],\"view\":[1040],\"position\":[1],\"widget\":[1040],\"cancelGo\":[64],\"go\":[64]}]]],[\"arcgis-locate\",[[0,\"arcgis-locate\",{\"referenceElement\":[1,\"reference-element\"],\"geolocationOptions\":[8,\"geolocation-options\"],\"goToLocationEnabled\":[4,\"go-to-location-enabled\"],\"graphic\":[16],\"popupEnabled\":[4,\"popup-enabled\"],\"scale\":[2],\"position\":[1],\"view\":[1040],\"widget\":[1040],\"useHeadingEnabled\":[1028,\"use-heading-enabled\"],\"cancelLocate\":[64],\"locate\":[64]}]]],[\"arcgis-navigation-toggle\",[[0,\"arcgis-navigation-toggle\",{\"referenceElement\":[1,\"reference-element\"],\"layout\":[1537],\"position\":[1],\"view\":[1040],\"widget\":[1040],\"toggle\":[64]}]]],[\"arcgis-swipe\",[[0,\"arcgis-swipe\",{\"referenceElement\":[1,\"reference-element\"],\"direction\":[1],\"dragLabel\":[1,\"drag-label\"],\"leadingLayers\":[16],\"swipePosition\":[2,\"swipe-position\"],\"trailingLayers\":[16],\"view\":[1040],\"position\":[1],\"widget\":[1040]}]]],[\"arcgis-track\",[[0,\"arcgis-track\",{\"referenceElement\":[1,\"reference-element\"],\"geolocationOptions\":[8,\"geolocation-options\"],\"goToLocationEnabled\":[4,\"go-to-location-enabled\"],\"graphic\":[16],\"scale\":[2],\"tracking\":[1540],\"useHeadingEnabled\":[4,\"use-heading-enabled\"],\"position\":[1],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-zoom\",[[0,\"arcgis-zoom\",{\"referenceElement\":[1,\"reference-element\"],\"layout\":[1],\"view\":[1040],\"position\":[1],\"widget\":[1040],\"zoomIn\":[64],\"zoomOut\":[64]}]]]]"), options);
15
15
  });
16
16
  };
17
17
 
@@ -16,7 +16,9 @@ export declare class ArcgisMap implements ViewElement {
16
16
  itemIdWatcher(value: string, old: string): void;
17
17
  portalUrl: string;
18
18
  scale: number;
19
+ scaleWatcher(value: number, old: number): void;
19
20
  zoom: number;
21
+ zoomWatcher(value: number, old: number): void;
20
22
  center: number[] | string;
21
23
  view: ArcGISMapView;
22
24
  config: __esri.config;
@@ -11,7 +11,9 @@ export declare class ArcgisScene implements ViewElement {
11
11
  itemIdWatcher(value: string, old: string): void;
12
12
  portalUrl: string;
13
13
  scale: number;
14
+ scaleWatcher(value: number, old: number): void;
14
15
  zoom: number;
16
+ zoomWatcher(value: number, old: number): void;
15
17
  center: number[] | string;
16
18
  view: ArcGISSceneView;
17
19
  disableNavigation: boolean;
package/package.json CHANGED
@@ -1,7 +1,8 @@
1
1
  {
2
2
  "name": "@arcgis/map-components",
3
3
  "description": "ArcGIS Map Components",
4
- "version": "4.29.0-beta.3",
4
+ "homepage": "https://developers.arcgis.com/javascript/latest/",
5
+ "version": "4.29.0-beta.5",
5
6
  "module": "dist/components/index.js",
6
7
  "main": "dist/index.cjs.js",
7
8
  "types": "dist/types/index.d.ts",
@@ -52,9 +53,9 @@
52
53
  "@stencil/core": "2.22.3"
53
54
  },
54
55
  "devDependencies": {
55
- "@arcgis/components-plugins": "4.29.0-beta.3",
56
+ "@arcgis/components-plugins": "4.29.0-beta.5",
56
57
  "@arcgis/core": ">=4.29.0-next <4.30",
57
- "@arcgis/core-adapter": "4.29.0-beta.3",
58
+ "@arcgis/core-adapter": "4.29.0-beta.5",
58
59
  "@arcgis/eslint-config": "1.0.0",
59
60
  "@arcgis/typescript-config": "1.0.0",
60
61
  "@esri/calcite-components": "^1.8.0",
@@ -87,5 +88,5 @@
87
88
  "@arcgis/core": ">=4.29.0-next <4.30",
88
89
  "@esri/calcite-components": ">=1.7.0 <2.0.0"
89
90
  },
90
- "gitHead": "96efda04bd50887099387f89a741bd161ec068f1"
91
+ "gitHead": "bc9831f447ce131ddeeb898d3b7e341bc09a39bc"
91
92
  }
@@ -1 +0,0 @@
1
- function o(o){function r(o){o.stopPropagation()}return"2d"===o.type&&(o.constraints.rotationEnabled=!1),o.popup.dockEnabled=!0,o.popup.actions.removeAll(),o.popup.viewModel.includeDefaultActions=!1,o.ui.components=["attribution"],o.on("mouse-wheel",r),o.on("double-click",r),o.on("double-click",["Control"],r),o.on("drag",r),o.on("drag",["Shift"],r),o.on("drag",["Shift","Control"],r),o.on("key-down",(o=>{-1!==["+","-","Shift","_","=","ArrowUp","ArrowDown","ArrowRight","ArrowLeft"].indexOf(o.key)&&o.stopPropagation()})),o}export{o as d}
@@ -1 +0,0 @@
1
- import{r as t,c as i,h as s,g as h}from"./p-1e5e5ed9.js";import{n as e,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}
@@ -1 +0,0 @@
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}
@@ -1,126 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const index = require('./index-6b51d5a0.js');
6
- const index$1 = require('./index-bfda1cdc.js');
7
- const mappingUtils = require('./mapping-utils-c2c7b994.js');
8
-
9
- const arcgisSceneCss = ".arcgis-scene{padding:0;margin:0;height:100%;width:100%}";
10
-
11
- const ArcgisScene = class {
12
- constructor(hostRef) {
13
- index.registerInstance(this, hostRef);
14
- this.viewReady = index.createEvent(this, "viewReady", 7);
15
- this.apiKey = undefined;
16
- this.basemap = undefined;
17
- this.itemId = undefined;
18
- this.portalUrl = undefined;
19
- this.scale = undefined;
20
- this.zoom = undefined;
21
- this.center = undefined;
22
- this.view = undefined;
23
- this.disableNavigation = false;
24
- }
25
- apiKeyWatcher(value) {
26
- this.config.apiKey = value;
27
- }
28
- itemIdWatcher(value, old) {
29
- if (value && value !== old) {
30
- this.loadMap();
31
- }
32
- }
33
- //--------------------------------------------------------------------------
34
- //
35
- // Lifecycle
36
- //
37
- //--------------------------------------------------------------------------
38
- async componentWillLoad() {
39
- this.config = await index$1.importConfig();
40
- if (this.apiKey) {
41
- this.config.apiKey = this.apiKey;
42
- }
43
- this.loadMap();
44
- }
45
- componentDidRender() {
46
- if (this.view) {
47
- this.view.container = this.el;
48
- }
49
- }
50
- render() {
51
- return index.h("div", { class: "arcgis-scene", ref: (el) => (this.el = el) });
52
- }
53
- //--------------------------------------------------------------------------
54
- //
55
- // Private Methods
56
- //
57
- //--------------------------------------------------------------------------
58
- async loadMap() {
59
- const mapParams = {};
60
- if (this.itemId) {
61
- mapParams.portalItem = this._createPortalItem();
62
- }
63
- if (this.basemap) {
64
- mapParams.basemap = this.basemap;
65
- }
66
- const map = await index$1.newWebScene(mapParams);
67
- const params = this._createViewParams();
68
- const view = await index$1.newViewsSceneView({
69
- map,
70
- ...params
71
- });
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();
81
- watch(() => this.view.center, (center) => {
82
- const value = `${center.longitude},${center.latitude}`;
83
- this.center = value;
84
- });
85
- watch(() => this.view.zoom, (value) => (this.zoom = value));
86
- watch(() => this.view.scale, (value) => (this.scale = value));
87
- }
88
- _createPortalItem() {
89
- const item = {};
90
- if (this.itemId) {
91
- item.id = this.itemId;
92
- }
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;
117
- }
118
- get hostElem() { return index.getElement(this); }
119
- static get watchers() { return {
120
- "apiKey": ["apiKeyWatcher"],
121
- "itemId": ["itemIdWatcher"]
122
- }; }
123
- };
124
- ArcgisScene.style = arcgisSceneCss;
125
-
126
- exports.arcgis_scene = ArcgisScene;
@@ -1,40 +0,0 @@
1
- 'use strict';
2
-
3
- function disableNavigation(view) {
4
- if (view.type === '2d') {
5
- view.constraints.rotationEnabled = false;
6
- }
7
- view.popup.dockEnabled = true;
8
- // Removes the zoom action on the popup
9
- view.popup.actions.removeAll();
10
- view.popup.viewModel.includeDefaultActions = false;
11
- // stops propagation of default behavior when an event fires
12
- function stopEvtPropagation(event) {
13
- event.stopPropagation();
14
- }
15
- // exlude the zoom widget from the default UI
16
- view.ui.components = ['attribution'];
17
- // disable mouse wheel scroll zooming on the view
18
- view.on('mouse-wheel', stopEvtPropagation);
19
- // disable zooming via double-click on the view
20
- view.on('double-click', stopEvtPropagation);
21
- // disable zooming out via double-click + Control on the view
22
- view.on('double-click', ['Control'], stopEvtPropagation);
23
- // disables pinch-zoom and panning on the view
24
- view.on('drag', stopEvtPropagation);
25
- // disable the view's zoom box to prevent the Shift + drag
26
- // and Shift + Control + drag zoom gestures.
27
- view.on('drag', ['Shift'], stopEvtPropagation);
28
- view.on('drag', ['Shift', 'Control'], stopEvtPropagation);
29
- // prevents zooming with the + and - keys
30
- view.on('key-down', event => {
31
- const prohibitedKeys = ['+', '-', 'Shift', '_', '=', 'ArrowUp', 'ArrowDown', 'ArrowRight', 'ArrowLeft'];
32
- const keyPressed = event.key;
33
- if (prohibitedKeys.indexOf(keyPressed) !== -1) {
34
- event.stopPropagation();
35
- }
36
- });
37
- return view;
38
- }
39
-
40
- exports.disableNavigation = disableNavigation;
@@ -1,122 +0,0 @@
1
- import { r as registerInstance, c as createEvent, h, g as getElement } from './index-eb3ead33.js';
2
- import { c as importConfig, R as newWebScene, S as newViewsSceneView, i as importCoreReactiveUtils } from './index-c227d296.js';
3
- import { d as disableNavigation } from './mapping-utils-26beb904.js';
4
-
5
- const arcgisSceneCss = ".arcgis-scene{padding:0;margin:0;height:100%;width:100%}";
6
-
7
- const ArcgisScene = class {
8
- constructor(hostRef) {
9
- registerInstance(this, hostRef);
10
- this.viewReady = createEvent(this, "viewReady", 7);
11
- this.apiKey = undefined;
12
- this.basemap = undefined;
13
- this.itemId = undefined;
14
- this.portalUrl = undefined;
15
- this.scale = undefined;
16
- this.zoom = undefined;
17
- this.center = undefined;
18
- this.view = undefined;
19
- this.disableNavigation = false;
20
- }
21
- apiKeyWatcher(value) {
22
- this.config.apiKey = value;
23
- }
24
- itemIdWatcher(value, old) {
25
- if (value && value !== old) {
26
- this.loadMap();
27
- }
28
- }
29
- //--------------------------------------------------------------------------
30
- //
31
- // Lifecycle
32
- //
33
- //--------------------------------------------------------------------------
34
- async componentWillLoad() {
35
- this.config = await importConfig();
36
- if (this.apiKey) {
37
- this.config.apiKey = this.apiKey;
38
- }
39
- this.loadMap();
40
- }
41
- componentDidRender() {
42
- if (this.view) {
43
- this.view.container = this.el;
44
- }
45
- }
46
- render() {
47
- return h("div", { class: "arcgis-scene", ref: (el) => (this.el = el) });
48
- }
49
- //--------------------------------------------------------------------------
50
- //
51
- // Private Methods
52
- //
53
- //--------------------------------------------------------------------------
54
- async loadMap() {
55
- const mapParams = {};
56
- if (this.itemId) {
57
- mapParams.portalItem = this._createPortalItem();
58
- }
59
- if (this.basemap) {
60
- mapParams.basemap = this.basemap;
61
- }
62
- const map = await newWebScene(mapParams);
63
- const params = this._createViewParams();
64
- const view = await newViewsSceneView({
65
- map,
66
- ...params
67
- });
68
- this.view = view;
69
- this._addWatchers();
70
- if (this.disableNavigation) {
71
- disableNavigation(this.view);
72
- }
73
- this.view.when(() => this.viewReady.emit({ view: this.view }));
74
- }
75
- async _addWatchers() {
76
- const { watch } = await importCoreReactiveUtils();
77
- watch(() => this.view.center, (center) => {
78
- const value = `${center.longitude},${center.latitude}`;
79
- this.center = value;
80
- });
81
- watch(() => this.view.zoom, (value) => (this.zoom = value));
82
- watch(() => this.view.scale, (value) => (this.scale = value));
83
- }
84
- _createPortalItem() {
85
- const item = {};
86
- if (this.itemId) {
87
- item.id = this.itemId;
88
- }
89
- if (this.portalUrl) {
90
- item.portal = {
91
- url: this.portalUrl
92
- };
93
- }
94
- return item;
95
- }
96
- _createViewParams() {
97
- const params = {};
98
- if (this.zoom !== undefined) {
99
- params.zoom = this.zoom;
100
- }
101
- if (this.scale !== undefined) {
102
- params.scale = this.scale;
103
- }
104
- if (this.center) {
105
- if (typeof this.center === "string") {
106
- params.center = this.center.split(",").map((x) => Number(x));
107
- }
108
- else {
109
- params.center = this.center;
110
- }
111
- }
112
- return params;
113
- }
114
- get hostElem() { return getElement(this); }
115
- static get watchers() { return {
116
- "apiKey": ["apiKeyWatcher"],
117
- "itemId": ["itemIdWatcher"]
118
- }; }
119
- };
120
- ArcgisScene.style = arcgisSceneCss;
121
-
122
- export { ArcgisScene as arcgis_scene };