@arcgis/map-components 4.32.0-next.24 → 4.32.0-next.26

Sign up to get free protection for your applications and to get access to all the features.
Files changed (159) hide show
  1. package/dist/arcgis-map-components/{OWJANPVV.js → 23KDJYH7.js} +2 -2
  2. package/dist/arcgis-map-components/{2L6BFJCV.js → 27IHTV6E.js} +2 -2
  3. package/dist/arcgis-map-components/2EIJN2TL.js +6 -0
  4. package/dist/arcgis-map-components/{TTFHVBKJ.js → 2V3VVV5S.js} +2 -2
  5. package/dist/arcgis-map-components/{ANX6HA2W.js → 3DEIGEKN.js} +2 -2
  6. package/dist/arcgis-map-components/{M7EMJZKP.js → 3I2HCT2R.js} +2 -2
  7. package/dist/arcgis-map-components/{3Q2O3SKF.js → 3UT3XPXA.js} +2 -2
  8. package/dist/arcgis-map-components/{4QLOUXWR.js → 452FMJTO.js} +2 -2
  9. package/dist/arcgis-map-components/{2WO4N4ZF.js → 4ET7CTH7.js} +2 -2
  10. package/dist/arcgis-map-components/{B27ZOTKU.js → 4THQSOIR.js} +2 -2
  11. package/dist/arcgis-map-components/{3HZ55Q6R.js → 4YZTTEGW.js} +2 -2
  12. package/dist/arcgis-map-components/{D2W2OCKG.js → 5BQ466A7.js} +2 -2
  13. package/dist/arcgis-map-components/{J36IDVXY.js → 6AE3GT6Y.js} +2 -2
  14. package/dist/arcgis-map-components/{PFHS6QWD.js → 6HQLNWPI.js} +2 -2
  15. package/dist/arcgis-map-components/{GLR6EY3B.js → 6YVL26CG.js} +2 -2
  16. package/dist/arcgis-map-components/{FIEUUBMQ.js → 7VTHS4BA.js} +2 -2
  17. package/dist/arcgis-map-components/{RHM27UG7.js → AUVRERPA.js} +2 -2
  18. package/dist/arcgis-map-components/{D7Q2UEN2.js → BUC7M5YI.js} +2 -2
  19. package/dist/arcgis-map-components/{EC6WDPSQ.js → C3VXP4L2.js} +2 -2
  20. package/dist/arcgis-map-components/{AO3GR2N7.js → CFVKRSEJ.js} +2 -2
  21. package/dist/arcgis-map-components/{UL5NQOYB.js → CQHRFV6E.js} +2 -2
  22. package/dist/arcgis-map-components/{L6DN3YTM.js → DAIPNW3O.js} +1 -1
  23. package/dist/arcgis-map-components/{IDSFNKDO.js → DKMY2P2E.js} +2 -2
  24. package/dist/arcgis-map-components/{USMD2GOX.js → DMENYTNV.js} +2 -2
  25. package/dist/arcgis-map-components/{YUDSXC6A.js → DSEZSWHN.js} +1 -1
  26. package/dist/arcgis-map-components/{Y5S7GSFI.js → EMVSDDTM.js} +2 -2
  27. package/dist/arcgis-map-components/{DNC4SUVP.js → F6HNVTGI.js} +2 -2
  28. package/dist/arcgis-map-components/{FKFOF4NY.js → FD6BIE6M.js} +2 -2
  29. package/dist/arcgis-map-components/{RFGD5JHN.js → FQKWZSNN.js} +2 -2
  30. package/dist/arcgis-map-components/{FNAU225Z.js → FUCKEVD3.js} +2 -2
  31. package/dist/arcgis-map-components/{UEIYIBHW.js → FV56RNPI.js} +2 -2
  32. package/dist/arcgis-map-components/GNZE2DGU.js +6 -0
  33. package/dist/arcgis-map-components/{M3Q5Z7WY.js → H2TZY2VV.js} +2 -2
  34. package/dist/arcgis-map-components/{N3KPMAYI.js → HW4QWHBR.js} +1 -1
  35. package/dist/arcgis-map-components/{E4NRYVTI.js → IJDBU3S7.js} +2 -2
  36. package/dist/arcgis-map-components/{FPLCZLCE.js → JV4SE5OM.js} +2 -2
  37. package/dist/arcgis-map-components/{BSPAO6AD.js → LAGP5JGL.js} +2 -2
  38. package/dist/arcgis-map-components/{7GCG342D.js → LBY7XQC7.js} +2 -2
  39. package/dist/arcgis-map-components/{XQWKSS5C.js → LUHTHARI.js} +2 -2
  40. package/dist/arcgis-map-components/{FKRGXSGS.js → M4R43KTP.js} +2 -2
  41. package/dist/arcgis-map-components/{NYO5FHDX.js → MJ3IJZOE.js} +2 -2
  42. package/dist/arcgis-map-components/{JP2BLDGZ.js → MQOE4KAB.js} +2 -2
  43. package/dist/arcgis-map-components/{S3OT5UG7.js → O5S6SREX.js} +2 -2
  44. package/dist/arcgis-map-components/{TMHI4TXZ.js → OEDVM5Y5.js} +2 -2
  45. package/dist/arcgis-map-components/{WG3FSOO2.js → OK3KRFZE.js} +2 -2
  46. package/dist/arcgis-map-components/{L6C64KWI.js → OMKMDQVU.js} +2 -2
  47. package/dist/arcgis-map-components/{ONRRQDMM.js → OZMLTLCI.js} +2 -2
  48. package/dist/arcgis-map-components/{GNMHWBPG.js → P2DCI2IQ.js} +2 -2
  49. package/dist/arcgis-map-components/{66ZWGMGE.js → PGTBTDJB.js} +2 -2
  50. package/dist/arcgis-map-components/{O56APZFZ.js → PWSWFDX4.js} +2 -2
  51. package/dist/arcgis-map-components/{XQ5KG2NG.js → Q3J5HGOD.js} +2 -2
  52. package/dist/arcgis-map-components/{4QJLHNBS.js → QADIZOI6.js} +2 -2
  53. package/dist/arcgis-map-components/{NFE2UN4H.js → QUT53BI7.js} +2 -2
  54. package/dist/arcgis-map-components/{YZZMKHT7.js → QVR3HORJ.js} +2 -2
  55. package/dist/arcgis-map-components/{5WDCAVG4.js → RLLMG72A.js} +2 -2
  56. package/dist/arcgis-map-components/{6JSNTH6Y.js → SHDRFNK4.js} +2 -2
  57. package/dist/arcgis-map-components/{EK24BNZL.js → TAYNCOWH.js} +2 -2
  58. package/dist/arcgis-map-components/{UORIWMKY.js → TSXS3YV4.js} +2 -2
  59. package/dist/arcgis-map-components/{L4GRG5ZF.js → UE73XSE6.js} +2 -2
  60. package/dist/arcgis-map-components/{SIYXNYKW.js → UF55CRBP.js} +2 -2
  61. package/dist/arcgis-map-components/{IJOEY6EG.js → ULGOCLN5.js} +2 -2
  62. package/dist/arcgis-map-components/{THKVFDHM.js → VIF3P5DU.js} +2 -2
  63. package/dist/arcgis-map-components/{WTUJ6GYT.js → VMTZMQXQ.js} +2 -2
  64. package/dist/arcgis-map-components/{T4ENZBQZ.js → WKZY2E5U.js} +2 -2
  65. package/dist/arcgis-map-components/{JETEERKO.js → X665NUFT.js} +2 -2
  66. package/dist/arcgis-map-components/{PSVU65TR.js → XPJ4TUTS.js} +2 -2
  67. package/dist/arcgis-map-components/{PAJYGKRV.js → XX6GKTHC.js} +2 -2
  68. package/dist/arcgis-map-components/{EUAZ2OPO.js → Y4YFRAWA.js} +2 -2
  69. package/dist/arcgis-map-components/{NIRMKP6A.js → YWEXTOTP.js} +2 -2
  70. package/dist/arcgis-map-components/{CSHOPRBT.js → Z7MV4YGG.js} +2 -2
  71. package/dist/arcgis-map-components/{VTW53PLJ.js → ZD6RCDUN.js} +2 -2
  72. package/dist/arcgis-map-components/arcgis-map-components.esm.js +2 -2
  73. package/dist/chunks/basemap-gallery-item.js +1 -1
  74. package/dist/chunks/component-utils.js +1 -1
  75. package/dist/chunks/disconnected.js +1 -1
  76. package/dist/chunks/globalCss.js +1 -1
  77. package/dist/chunks/runtime.js +1 -1
  78. package/dist/chunks/useViewModel.js +1 -1
  79. package/dist/chunks/useWidget.js +1 -1
  80. package/dist/components/arcgis-area-measurement-2d/customElement.js +1 -1
  81. package/dist/components/arcgis-area-measurement-3d/customElement.js +1 -1
  82. package/dist/components/arcgis-attachments/customElement.js +1 -1
  83. package/dist/components/arcgis-basemap-gallery/components/basemap-gallery-item/customElement.js +1 -1
  84. package/dist/components/arcgis-basemap-gallery/customElement.d.ts +19 -0
  85. package/dist/components/arcgis-basemap-gallery/customElement.js +1 -1
  86. package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
  87. package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
  88. package/dist/components/arcgis-bookmarks/customElement.js +1 -1
  89. package/dist/components/arcgis-building-explorer/customElement.js +1 -1
  90. package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
  91. package/dist/components/arcgis-compass/customElement.js +1 -1
  92. package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
  93. package/dist/components/arcgis-daylight/customElement.js +1 -1
  94. package/dist/components/arcgis-directional-pad/customElement.js +1 -1
  95. package/dist/components/arcgis-directions/customElement.js +1 -1
  96. package/dist/components/arcgis-directline-measurement-3d/customElement.js +1 -1
  97. package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
  98. package/dist/components/arcgis-editor/customElement.js +1 -1
  99. package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
  100. package/dist/components/arcgis-expand/customElement.js +1 -1
  101. package/dist/components/arcgis-feature/customElement.js +1 -1
  102. package/dist/components/arcgis-feature-form/customElement.js +1 -1
  103. package/dist/components/arcgis-feature-table/customElement.js +1 -1
  104. package/dist/components/arcgis-feature-templates/customElement.js +1 -1
  105. package/dist/components/arcgis-features/customElement.js +1 -1
  106. package/dist/components/arcgis-floor-filter/customElement.js +1 -1
  107. package/dist/components/arcgis-fullscreen/customElement.js +1 -1
  108. package/dist/components/arcgis-histogram/customElement.js +1 -1
  109. package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
  110. package/dist/components/arcgis-home/customElement.js +1 -1
  111. package/dist/components/arcgis-layer-list/customElement.js +1 -1
  112. package/dist/components/arcgis-legend/customElement.js +1 -1
  113. package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
  114. package/dist/components/arcgis-locate/customElement.js +1 -1
  115. package/dist/components/arcgis-map/customElement.d.ts +6 -1
  116. package/dist/components/arcgis-map/customElement.js +8 -8
  117. package/dist/components/arcgis-measurement/customElement.js +1 -1
  118. package/dist/components/arcgis-navigation-toggle/customElement.js +1 -1
  119. package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
  120. package/dist/components/arcgis-placement/customElement.js +1 -1
  121. package/dist/components/arcgis-print/customElement.js +1 -1
  122. package/dist/components/arcgis-scale-bar/customElement.js +1 -1
  123. package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
  124. package/dist/components/arcgis-scene/customElement.d.ts +8 -1
  125. package/dist/components/arcgis-scene/customElement.js +7 -7
  126. package/dist/components/arcgis-search/customElement.js +1 -1
  127. package/dist/components/arcgis-shadow-cast/customElement.js +1 -1
  128. package/dist/components/arcgis-sketch/customElement.js +1 -1
  129. package/dist/components/arcgis-slice/customElement.js +1 -1
  130. package/dist/components/arcgis-slider/customElement.js +1 -1
  131. package/dist/components/arcgis-swipe/customElement.js +1 -1
  132. package/dist/components/arcgis-table-list/customElement.js +1 -1
  133. package/dist/components/arcgis-time-slider/customElement.js +1 -1
  134. package/dist/components/arcgis-track/customElement.js +1 -1
  135. package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
  136. package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
  137. package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
  138. package/dist/components/arcgis-value-picker/customElement.js +1 -1
  139. package/dist/components/arcgis-version-management/customElement.js +1 -1
  140. package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
  141. package/dist/components/arcgis-version-management-version-item/customElement.js +1 -1
  142. package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
  143. package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
  144. package/dist/components/arcgis-weather/customElement.js +1 -1
  145. package/dist/components/arcgis-zoom/customElement.js +1 -1
  146. package/dist/docs/api.json +107 -66
  147. package/dist/docs/docs.json +55 -10
  148. package/dist/docs/vscode.html-custom-data.json +4 -1
  149. package/dist/docs/web-types.json +23 -7
  150. package/dist/index.d.ts +61 -3
  151. package/dist/index.js +1 -1
  152. package/dist/loader.js +3 -3
  153. package/dist/types/lumina.d.ts +6 -5
  154. package/dist/types/preact.d.ts +5 -5
  155. package/dist/types/react.d.ts +6 -6
  156. package/dist/types/stencil.d.ts +5 -4
  157. package/package.json +5 -5
  158. package/dist/arcgis-map-components/ECYNZYQG.js +0 -6
  159. package/dist/arcgis-map-components/HPI43ZI6.js +0 -6
@@ -63,9 +63,10 @@ type EventHandler<E> = { bivarianceHack(event: E): void }["bivarianceHack"];
63
63
 
64
64
  type TargetedEvent<Target extends EventTarget = EventTarget, TypedEvent extends Event = Event> = Omit<
65
65
  TypedEvent,
66
- "currentTarget"
66
+ "currentTarget" | "target"
67
67
  > & {
68
68
  readonly currentTarget: Target;
69
+ readonly target: Target;
69
70
  };
70
71
 
71
72
  interface LuminaArcgisAreaMeasurement2d extends Partial<Pick<ArcgisAreaMeasurement2d, 'autoDestroyDisabled' | 'icon' | 'label' | 'position' | 'referenceElement' | 'unit' | 'unitOptions'>>, h.JSX.HTMLAttributes<HTMLArcgisAreaMeasurement2dElement> {
@@ -141,7 +142,7 @@ interface LuminaArcgisDirections extends Partial<Pick<ArcgisDirections, 'apiKey'
141
142
  onarcgisReady?: EventHandler<TargetedEvent<HTMLArcgisDirectionsElement, CustomEvent<ArcgisDirections["arcgisReady"]["detail"]>>>;
142
143
  }
143
144
 
144
- interface LuminaArcgisDirectLineMeasurement3d extends Partial<Pick<ArcgisDirectLineMeasurement3d, 'autoDestroyDisabled' | 'icon' | 'label' | 'position' | 'referenceElement' | 'unit' | 'unitOptions'>>, h.JSX.HTMLAttributes<HTMLArcgisDirectlineMeasurement3dElement> {
145
+ interface LuminaArcgisDirectlineMeasurement3d extends Partial<Pick<ArcgisDirectLineMeasurement3d, 'autoDestroyDisabled' | 'icon' | 'label' | 'position' | 'referenceElement' | 'unit' | 'unitOptions'>>, h.JSX.HTMLAttributes<HTMLArcgisDirectlineMeasurement3dElement> {
145
146
  onarcgisPropertyChange?: EventHandler<TargetedEvent<HTMLArcgisDirectlineMeasurement3dElement, CustomEvent<ArcgisDirectLineMeasurement3d["arcgisPropertyChange"]["detail"]>>>;
146
147
  onarcgisReady?: EventHandler<TargetedEvent<HTMLArcgisDirectlineMeasurement3dElement, CustomEvent<ArcgisDirectLineMeasurement3d["arcgisReady"]["detail"]>>>;
147
148
  }
@@ -248,7 +249,7 @@ interface LuminaArcgisLocate extends Partial<Pick<ArcgisLocate, 'autoDestroyDisa
248
249
  onarcgisSuccess?: EventHandler<TargetedEvent<HTMLArcgisLocateElement, CustomEvent<ArcgisLocate["arcgisSuccess"]["detail"]>>>;
249
250
  }
250
251
 
251
- interface LuminaArcgisMap extends Partial<Pick<ArcgisMap, 'allLayerViews' | 'autoDestroyDisabled' | 'background' | 'basemap' | 'basemapView' | 'constraints' | 'extent' | 'fatalError' | 'floors' | 'graphics' | 'ground' | 'highlightOptions' | 'ipsInfo' | 'itemId' | 'layerViews' | 'map' | 'navigation' | 'padding' | 'popup' | 'popupDisabled' | 'resizeAlign' | 'rotation' | 'scale' | 'spatialReference' | 'theme' | 'timeExtent' | 'timeZone' | 'viewpoint' | 'zoom'>>, ArcgisMapSetterTypes, h.JSX.HTMLAttributes<HTMLArcgisMapElement> {
252
+ interface LuminaArcgisMap extends Partial<Pick<ArcgisMap, 'allLayerViews' | 'autoDestroyDisabled' | 'background' | 'basemap' | 'basemapView' | 'constraints' | 'extent' | 'fatalError' | 'floors' | 'graphics' | 'ground' | 'highlightOptions' | 'highlights' | 'ipsInfo' | 'itemId' | 'layerViews' | 'map' | 'navigation' | 'padding' | 'popup' | 'popupDisabled' | 'resizeAlign' | 'rotation' | 'scale' | 'spatialReference' | 'theme' | 'timeExtent' | 'timeZone' | 'viewpoint' | 'zoom'>>, ArcgisMapSetterTypes, h.JSX.HTMLAttributes<HTMLArcgisMapElement> {
252
253
  onarcgisViewChange?: EventHandler<TargetedEvent<HTMLArcgisMapElement, CustomEvent<ArcgisMap["arcgisViewChange"]["detail"]>>>;
253
254
  onarcgisViewClick?: EventHandler<TargetedEvent<HTMLArcgisMapElement, CustomEvent<ArcgisMap["arcgisViewClick"]["detail"]>>>;
254
255
  onarcgisViewDoubleClick?: EventHandler<TargetedEvent<HTMLArcgisMapElement, CustomEvent<ArcgisMap["arcgisViewDoubleClick"]["detail"]>>>;
@@ -306,7 +307,7 @@ interface LuminaArcgisScaleRangeSlider extends Partial<Pick<ArcgisScaleRangeSlid
306
307
  onarcgisReady?: EventHandler<TargetedEvent<HTMLArcgisScaleRangeSliderElement, CustomEvent<ArcgisScaleRangeSlider["arcgisReady"]["detail"]>>>;
307
308
  }
308
309
 
309
- interface LuminaArcgisScene extends Partial<Pick<ArcgisScene, 'allLayerViews' | 'alphaCompositingEnabled' | 'analyses' | 'autoDestroyDisabled' | 'basemap' | 'basemapView' | 'camera' | 'cameraFov' | 'cameraHeading' | 'cameraPosition' | 'cameraTilt' | 'clippingArea' | 'constraints' | 'environment' | 'extent' | 'fatalError' | 'floors' | 'graphics' | 'ground' | 'highlightOptions' | 'itemId' | 'layerViews' | 'map' | 'navigation' | 'padding' | 'popup' | 'popupDisabled' | 'qualityProfile' | 'scale' | 'spatialReference' | 'theme' | 'timeExtent' | 'viewingMode' | 'viewpoint' | 'zoom'>>, ArcgisSceneSetterTypes, h.JSX.HTMLAttributes<HTMLArcgisSceneElement> {
310
+ interface LuminaArcgisScene extends Partial<Pick<ArcgisScene, 'allLayerViews' | 'alphaCompositingEnabled' | 'analyses' | 'autoDestroyDisabled' | 'basemap' | 'basemapView' | 'camera' | 'cameraFov' | 'cameraHeading' | 'cameraPosition' | 'cameraTilt' | 'clippingArea' | 'constraints' | 'environment' | 'extent' | 'fatalError' | 'floors' | 'graphics' | 'ground' | 'highlightOptions' | 'highlights' | 'itemId' | 'layerViews' | 'map' | 'navigation' | 'padding' | 'popup' | 'popupDisabled' | 'qualityProfile' | 'scale' | 'spatialReference' | 'theme' | 'timeExtent' | 'viewingMode' | 'viewpoint' | 'zoom'>>, ArcgisSceneSetterTypes, h.JSX.HTMLAttributes<HTMLArcgisSceneElement> {
310
311
  onarcgisViewChange?: EventHandler<TargetedEvent<HTMLArcgisSceneElement, CustomEvent<ArcgisScene["arcgisViewChange"]["detail"]>>>;
311
312
  onarcgisViewClick?: EventHandler<TargetedEvent<HTMLArcgisSceneElement, CustomEvent<ArcgisScene["arcgisViewClick"]["detail"]>>>;
312
313
  onarcgisViewDoubleClick?: EventHandler<TargetedEvent<HTMLArcgisSceneElement, CustomEvent<ArcgisScene["arcgisViewDoubleClick"]["detail"]>>>;
@@ -461,7 +462,7 @@ declare module "@arcgis/lumina" {
461
462
  "arcgis-daylight": LuminaArcgisDaylight;
462
463
  "arcgis-directional-pad": LuminaArcgisDirectionalPad;
463
464
  "arcgis-directions": LuminaArcgisDirections;
464
- "arcgis-directline-measurement-3d": LuminaArcgisDirectLineMeasurement3d;
465
+ "arcgis-directline-measurement-3d": LuminaArcgisDirectlineMeasurement3d;
465
466
  "arcgis-distance-measurement-2d": LuminaArcgisDistanceMeasurement2d;
466
467
  "arcgis-editor": LuminaArcgisEditor;
467
468
  "arcgis-elevation-profile": LuminaArcgisElevationProfile;
@@ -132,7 +132,7 @@ interface PreactArcgisDirections extends Partial<Pick<ArcgisDirections, 'apiKey'
132
132
  onarcgisReady?: PreactJsx.EventHandler<PreactJsx.TargetedEvent<HTMLArcgisDirectionsElement, CustomEvent<ArcgisDirections["arcgisReady"]["detail"]>>>;
133
133
  }
134
134
 
135
- interface PreactArcgisDirectLineMeasurement3d extends Partial<Pick<ArcgisDirectLineMeasurement3d, 'autoDestroyDisabled' | 'icon' | 'label' | 'position' | 'referenceElement' | 'unit' | 'unitOptions'>>, PreactJsx.HTMLAttributes<HTMLArcgisDirectlineMeasurement3dElement> {
135
+ interface PreactArcgisDirectlineMeasurement3d extends Partial<Pick<ArcgisDirectLineMeasurement3d, 'autoDestroyDisabled' | 'icon' | 'label' | 'position' | 'referenceElement' | 'unit' | 'unitOptions'>>, PreactJsx.HTMLAttributes<HTMLArcgisDirectlineMeasurement3dElement> {
136
136
  onarcgisPropertyChange?: PreactJsx.EventHandler<PreactJsx.TargetedEvent<HTMLArcgisDirectlineMeasurement3dElement, CustomEvent<ArcgisDirectLineMeasurement3d["arcgisPropertyChange"]["detail"]>>>;
137
137
  onarcgisReady?: PreactJsx.EventHandler<PreactJsx.TargetedEvent<HTMLArcgisDirectlineMeasurement3dElement, CustomEvent<ArcgisDirectLineMeasurement3d["arcgisReady"]["detail"]>>>;
138
138
  }
@@ -239,7 +239,7 @@ interface PreactArcgisLocate extends Partial<Pick<ArcgisLocate, 'autoDestroyDisa
239
239
  onarcgisSuccess?: PreactJsx.EventHandler<PreactJsx.TargetedEvent<HTMLArcgisLocateElement, CustomEvent<ArcgisLocate["arcgisSuccess"]["detail"]>>>;
240
240
  }
241
241
 
242
- interface PreactArcgisMap extends Partial<Pick<ArcgisMap, 'allLayerViews' | 'autoDestroyDisabled' | 'background' | 'basemap' | 'basemapView' | 'constraints' | 'extent' | 'fatalError' | 'floors' | 'graphics' | 'ground' | 'highlightOptions' | 'ipsInfo' | 'itemId' | 'layerViews' | 'map' | 'navigation' | 'padding' | 'popup' | 'popupDisabled' | 'resizeAlign' | 'rotation' | 'scale' | 'spatialReference' | 'theme' | 'timeExtent' | 'timeZone' | 'viewpoint' | 'zoom'>>, ArcgisMapSetterTypes, PreactJsx.HTMLAttributes<HTMLArcgisMapElement> {
242
+ interface PreactArcgisMap extends Partial<Pick<ArcgisMap, 'allLayerViews' | 'autoDestroyDisabled' | 'background' | 'basemap' | 'basemapView' | 'constraints' | 'extent' | 'fatalError' | 'floors' | 'graphics' | 'ground' | 'highlightOptions' | 'highlights' | 'ipsInfo' | 'itemId' | 'layerViews' | 'map' | 'navigation' | 'padding' | 'popup' | 'popupDisabled' | 'resizeAlign' | 'rotation' | 'scale' | 'spatialReference' | 'theme' | 'timeExtent' | 'timeZone' | 'viewpoint' | 'zoom'>>, ArcgisMapSetterTypes, PreactJsx.HTMLAttributes<HTMLArcgisMapElement> {
243
243
  onarcgisViewChange?: PreactJsx.EventHandler<PreactJsx.TargetedEvent<HTMLArcgisMapElement, CustomEvent<ArcgisMap["arcgisViewChange"]["detail"]>>>;
244
244
  onarcgisViewClick?: PreactJsx.EventHandler<PreactJsx.TargetedEvent<HTMLArcgisMapElement, CustomEvent<ArcgisMap["arcgisViewClick"]["detail"]>>>;
245
245
  onarcgisViewDoubleClick?: PreactJsx.EventHandler<PreactJsx.TargetedEvent<HTMLArcgisMapElement, CustomEvent<ArcgisMap["arcgisViewDoubleClick"]["detail"]>>>;
@@ -297,7 +297,7 @@ interface PreactArcgisScaleRangeSlider extends Partial<Pick<ArcgisScaleRangeSlid
297
297
  onarcgisReady?: PreactJsx.EventHandler<PreactJsx.TargetedEvent<HTMLArcgisScaleRangeSliderElement, CustomEvent<ArcgisScaleRangeSlider["arcgisReady"]["detail"]>>>;
298
298
  }
299
299
 
300
- interface PreactArcgisScene extends Partial<Pick<ArcgisScene, 'allLayerViews' | 'alphaCompositingEnabled' | 'analyses' | 'autoDestroyDisabled' | 'basemap' | 'basemapView' | 'camera' | 'cameraFov' | 'cameraHeading' | 'cameraPosition' | 'cameraTilt' | 'clippingArea' | 'constraints' | 'environment' | 'extent' | 'fatalError' | 'floors' | 'graphics' | 'ground' | 'highlightOptions' | 'itemId' | 'layerViews' | 'map' | 'navigation' | 'padding' | 'popup' | 'popupDisabled' | 'qualityProfile' | 'scale' | 'spatialReference' | 'theme' | 'timeExtent' | 'viewingMode' | 'viewpoint' | 'zoom'>>, ArcgisSceneSetterTypes, PreactJsx.HTMLAttributes<HTMLArcgisSceneElement> {
300
+ interface PreactArcgisScene extends Partial<Pick<ArcgisScene, 'allLayerViews' | 'alphaCompositingEnabled' | 'analyses' | 'autoDestroyDisabled' | 'basemap' | 'basemapView' | 'camera' | 'cameraFov' | 'cameraHeading' | 'cameraPosition' | 'cameraTilt' | 'clippingArea' | 'constraints' | 'environment' | 'extent' | 'fatalError' | 'floors' | 'graphics' | 'ground' | 'highlightOptions' | 'highlights' | 'itemId' | 'layerViews' | 'map' | 'navigation' | 'padding' | 'popup' | 'popupDisabled' | 'qualityProfile' | 'scale' | 'spatialReference' | 'theme' | 'timeExtent' | 'viewingMode' | 'viewpoint' | 'zoom'>>, ArcgisSceneSetterTypes, PreactJsx.HTMLAttributes<HTMLArcgisSceneElement> {
301
301
  onarcgisViewChange?: PreactJsx.EventHandler<PreactJsx.TargetedEvent<HTMLArcgisSceneElement, CustomEvent<ArcgisScene["arcgisViewChange"]["detail"]>>>;
302
302
  onarcgisViewClick?: PreactJsx.EventHandler<PreactJsx.TargetedEvent<HTMLArcgisSceneElement, CustomEvent<ArcgisScene["arcgisViewClick"]["detail"]>>>;
303
303
  onarcgisViewDoubleClick?: PreactJsx.EventHandler<PreactJsx.TargetedEvent<HTMLArcgisSceneElement, CustomEvent<ArcgisScene["arcgisViewDoubleClick"]["detail"]>>>;
@@ -452,7 +452,7 @@ declare module 'preact' {
452
452
  "arcgis-daylight": PreactArcgisDaylight;
453
453
  "arcgis-directional-pad": PreactArcgisDirectionalPad;
454
454
  "arcgis-directions": PreactArcgisDirections;
455
- "arcgis-directline-measurement-3d": PreactArcgisDirectLineMeasurement3d;
455
+ "arcgis-directline-measurement-3d": PreactArcgisDirectlineMeasurement3d;
456
456
  "arcgis-distance-measurement-2d": PreactArcgisDistanceMeasurement2d;
457
457
  "arcgis-editor": PreactArcgisEditor;
458
458
  "arcgis-elevation-profile": PreactArcgisElevationProfile;
@@ -514,7 +514,7 @@ declare module 'preact' {
514
514
  "arcgis-daylight": PreactArcgisDaylight;
515
515
  "arcgis-directional-pad": PreactArcgisDirectionalPad;
516
516
  "arcgis-directions": PreactArcgisDirections;
517
- "arcgis-directline-measurement-3d": PreactArcgisDirectLineMeasurement3d;
517
+ "arcgis-directline-measurement-3d": PreactArcgisDirectlineMeasurement3d;
518
518
  "arcgis-distance-measurement-2d": PreactArcgisDistanceMeasurement2d;
519
519
  "arcgis-editor": PreactArcgisEditor;
520
520
  "arcgis-elevation-profile": PreactArcgisElevationProfile;
@@ -146,7 +146,7 @@ interface ReactArcgisDirections extends Partial<Pick<ArcgisDirections, 'apiKey'
146
146
  onarcgisReady?: EventHandler<SyntheticEvent<HTMLArcgisDirectionsElement, CustomEvent<ArcgisDirections["arcgisReady"]["detail"]>>>;
147
147
  }
148
148
 
149
- interface ReactArcgisDirectLineMeasurement3d extends Partial<Pick<ArcgisDirectLineMeasurement3d, 'autoDestroyDisabled' | 'icon' | 'label' | 'position' | 'referenceElement' | 'unit' | 'unitOptions'>>, HTMLAttributes<HTMLArcgisDirectlineMeasurement3dElement> {
149
+ interface ReactArcgisDirectlineMeasurement3d extends Partial<Pick<ArcgisDirectLineMeasurement3d, 'autoDestroyDisabled' | 'icon' | 'label' | 'position' | 'referenceElement' | 'unit' | 'unitOptions'>>, HTMLAttributes<HTMLArcgisDirectlineMeasurement3dElement> {
150
150
  ref?: Ref<HTMLArcgisDirectlineMeasurement3dElement>;
151
151
  onarcgisPropertyChange?: EventHandler<SyntheticEvent<HTMLArcgisDirectlineMeasurement3dElement, CustomEvent<ArcgisDirectLineMeasurement3d["arcgisPropertyChange"]["detail"]>>>;
152
152
  onarcgisReady?: EventHandler<SyntheticEvent<HTMLArcgisDirectlineMeasurement3dElement, CustomEvent<ArcgisDirectLineMeasurement3d["arcgisReady"]["detail"]>>>;
@@ -272,7 +272,7 @@ interface ReactArcgisLocate extends Partial<Pick<ArcgisLocate, 'autoDestroyDisab
272
272
  onarcgisSuccess?: EventHandler<SyntheticEvent<HTMLArcgisLocateElement, CustomEvent<ArcgisLocate["arcgisSuccess"]["detail"]>>>;
273
273
  }
274
274
 
275
- interface ReactArcgisMap extends Partial<Pick<ArcgisMap, 'allLayerViews' | 'autoDestroyDisabled' | 'background' | 'basemap' | 'basemapView' | 'constraints' | 'extent' | 'fatalError' | 'floors' | 'graphics' | 'ground' | 'highlightOptions' | 'ipsInfo' | 'itemId' | 'layerViews' | 'map' | 'navigation' | 'padding' | 'popup' | 'popupDisabled' | 'resizeAlign' | 'rotation' | 'scale' | 'spatialReference' | 'theme' | 'timeExtent' | 'timeZone' | 'viewpoint' | 'zoom'>>, ArcgisMapSetterTypes, HTMLAttributes<HTMLArcgisMapElement> {
275
+ interface ReactArcgisMap extends Partial<Pick<ArcgisMap, 'allLayerViews' | 'autoDestroyDisabled' | 'background' | 'basemap' | 'basemapView' | 'constraints' | 'extent' | 'fatalError' | 'floors' | 'graphics' | 'ground' | 'highlightOptions' | 'highlights' | 'ipsInfo' | 'itemId' | 'layerViews' | 'map' | 'navigation' | 'padding' | 'popup' | 'popupDisabled' | 'resizeAlign' | 'rotation' | 'scale' | 'spatialReference' | 'theme' | 'timeExtent' | 'timeZone' | 'viewpoint' | 'zoom'>>, ArcgisMapSetterTypes, HTMLAttributes<HTMLArcgisMapElement> {
276
276
  ref?: Ref<HTMLArcgisMapElement>;
277
277
  onarcgisViewChange?: EventHandler<SyntheticEvent<HTMLArcgisMapElement, CustomEvent<ArcgisMap["arcgisViewChange"]["detail"]>>>;
278
278
  onarcgisViewClick?: EventHandler<SyntheticEvent<HTMLArcgisMapElement, CustomEvent<ArcgisMap["arcgisViewClick"]["detail"]>>>;
@@ -338,7 +338,7 @@ interface ReactArcgisScaleRangeSlider extends Partial<Pick<ArcgisScaleRangeSlide
338
338
  onarcgisReady?: EventHandler<SyntheticEvent<HTMLArcgisScaleRangeSliderElement, CustomEvent<ArcgisScaleRangeSlider["arcgisReady"]["detail"]>>>;
339
339
  }
340
340
 
341
- interface ReactArcgisScene extends Partial<Pick<ArcgisScene, 'allLayerViews' | 'alphaCompositingEnabled' | 'analyses' | 'autoDestroyDisabled' | 'basemap' | 'basemapView' | 'camera' | 'cameraFov' | 'cameraHeading' | 'cameraPosition' | 'cameraTilt' | 'clippingArea' | 'constraints' | 'environment' | 'extent' | 'fatalError' | 'floors' | 'graphics' | 'ground' | 'highlightOptions' | 'itemId' | 'layerViews' | 'map' | 'navigation' | 'padding' | 'popup' | 'popupDisabled' | 'qualityProfile' | 'scale' | 'spatialReference' | 'theme' | 'timeExtent' | 'viewingMode' | 'viewpoint' | 'zoom'>>, ArcgisSceneSetterTypes, HTMLAttributes<HTMLArcgisSceneElement> {
341
+ interface ReactArcgisScene extends Partial<Pick<ArcgisScene, 'allLayerViews' | 'alphaCompositingEnabled' | 'analyses' | 'autoDestroyDisabled' | 'basemap' | 'basemapView' | 'camera' | 'cameraFov' | 'cameraHeading' | 'cameraPosition' | 'cameraTilt' | 'clippingArea' | 'constraints' | 'environment' | 'extent' | 'fatalError' | 'floors' | 'graphics' | 'ground' | 'highlightOptions' | 'highlights' | 'itemId' | 'layerViews' | 'map' | 'navigation' | 'padding' | 'popup' | 'popupDisabled' | 'qualityProfile' | 'scale' | 'spatialReference' | 'theme' | 'timeExtent' | 'viewingMode' | 'viewpoint' | 'zoom'>>, ArcgisSceneSetterTypes, HTMLAttributes<HTMLArcgisSceneElement> {
342
342
  ref?: Ref<HTMLArcgisSceneElement>;
343
343
  onarcgisViewChange?: EventHandler<SyntheticEvent<HTMLArcgisSceneElement, CustomEvent<ArcgisScene["arcgisViewChange"]["detail"]>>>;
344
344
  onarcgisViewClick?: EventHandler<SyntheticEvent<HTMLArcgisSceneElement, CustomEvent<ArcgisScene["arcgisViewClick"]["detail"]>>>;
@@ -510,7 +510,7 @@ declare module "react" {
510
510
  "arcgis-daylight": ReactArcgisDaylight;
511
511
  "arcgis-directional-pad": ReactArcgisDirectionalPad;
512
512
  "arcgis-directions": ReactArcgisDirections;
513
- "arcgis-directline-measurement-3d": ReactArcgisDirectLineMeasurement3d;
513
+ "arcgis-directline-measurement-3d": ReactArcgisDirectlineMeasurement3d;
514
514
  "arcgis-distance-measurement-2d": ReactArcgisDistanceMeasurement2d;
515
515
  "arcgis-editor": ReactArcgisEditor;
516
516
  "arcgis-elevation-profile": ReactArcgisElevationProfile;
@@ -574,7 +574,7 @@ declare module "react/jsx-runtime" {
574
574
  "arcgis-daylight": ReactArcgisDaylight;
575
575
  "arcgis-directional-pad": ReactArcgisDirectionalPad;
576
576
  "arcgis-directions": ReactArcgisDirections;
577
- "arcgis-directline-measurement-3d": ReactArcgisDirectLineMeasurement3d;
577
+ "arcgis-directline-measurement-3d": ReactArcgisDirectlineMeasurement3d;
578
578
  "arcgis-distance-measurement-2d": ReactArcgisDistanceMeasurement2d;
579
579
  "arcgis-editor": ReactArcgisEditor;
580
580
  "arcgis-elevation-profile": ReactArcgisElevationProfile;
@@ -638,7 +638,7 @@ declare module "react/jsx-dev-runtime" {
638
638
  "arcgis-daylight": ReactArcgisDaylight;
639
639
  "arcgis-directional-pad": ReactArcgisDirectionalPad;
640
640
  "arcgis-directions": ReactArcgisDirections;
641
- "arcgis-directline-measurement-3d": ReactArcgisDirectLineMeasurement3d;
641
+ "arcgis-directline-measurement-3d": ReactArcgisDirectlineMeasurement3d;
642
642
  "arcgis-distance-measurement-2d": ReactArcgisDistanceMeasurement2d;
643
643
  "arcgis-editor": ReactArcgisEditor;
644
644
  "arcgis-elevation-profile": ReactArcgisElevationProfile;
@@ -63,9 +63,10 @@ type EventHandler<E> = { bivarianceHack(event: E): void }["bivarianceHack"];
63
63
 
64
64
  type TargetedEvent<Target extends EventTarget = EventTarget, TypedEvent extends Event = Event> = Omit<
65
65
  TypedEvent,
66
- "currentTarget"
66
+ "currentTarget" | "target"
67
67
  > & {
68
68
  readonly currentTarget: Target;
69
+ readonly target: Target;
69
70
  };
70
71
 
71
72
  interface StencilArcgisAreaMeasurement2d extends Partial<Pick<ArcgisAreaMeasurement2d, 'autoDestroyDisabled' | 'icon' | 'label' | 'position' | 'referenceElement' | 'unit' | 'unitOptions'>>, StencilJsx.HTMLAttributes<HTMLArcgisAreaMeasurement2dElement> {
@@ -248,7 +249,7 @@ interface StencilArcgisLocate extends Partial<Pick<ArcgisLocate, 'autoDestroyDis
248
249
  onArcgisSuccess?: EventHandler<TargetedEvent<HTMLArcgisLocateElement, CustomEvent<ArcgisLocate["arcgisSuccess"]["detail"]>>>;
249
250
  }
250
251
 
251
- interface StencilArcgisMap extends Partial<Pick<ArcgisMap, 'allLayerViews' | 'autoDestroyDisabled' | 'background' | 'basemap' | 'basemapView' | 'constraints' | 'extent' | 'fatalError' | 'floors' | 'graphics' | 'ground' | 'highlightOptions' | 'ipsInfo' | 'itemId' | 'layerViews' | 'map' | 'navigation' | 'padding' | 'popup' | 'popupDisabled' | 'resizeAlign' | 'rotation' | 'scale' | 'spatialReference' | 'theme' | 'timeExtent' | 'timeZone' | 'viewpoint' | 'zoom'>>, ArcgisMapSetterTypes, StencilJsx.HTMLAttributes<HTMLArcgisMapElement> {
252
+ interface StencilArcgisMap extends Partial<Pick<ArcgisMap, 'allLayerViews' | 'autoDestroyDisabled' | 'background' | 'basemap' | 'basemapView' | 'constraints' | 'extent' | 'fatalError' | 'floors' | 'graphics' | 'ground' | 'highlightOptions' | 'highlights' | 'ipsInfo' | 'itemId' | 'layerViews' | 'map' | 'navigation' | 'padding' | 'popup' | 'popupDisabled' | 'resizeAlign' | 'rotation' | 'scale' | 'spatialReference' | 'theme' | 'timeExtent' | 'timeZone' | 'viewpoint' | 'zoom'>>, ArcgisMapSetterTypes, StencilJsx.HTMLAttributes<HTMLArcgisMapElement> {
252
253
  onArcgisViewChange?: EventHandler<TargetedEvent<HTMLArcgisMapElement, CustomEvent<ArcgisMap["arcgisViewChange"]["detail"]>>>;
253
254
  onArcgisViewClick?: EventHandler<TargetedEvent<HTMLArcgisMapElement, CustomEvent<ArcgisMap["arcgisViewClick"]["detail"]>>>;
254
255
  onArcgisViewDoubleClick?: EventHandler<TargetedEvent<HTMLArcgisMapElement, CustomEvent<ArcgisMap["arcgisViewDoubleClick"]["detail"]>>>;
@@ -306,7 +307,7 @@ interface StencilArcgisScaleRangeSlider extends Partial<Pick<ArcgisScaleRangeSli
306
307
  onArcgisReady?: EventHandler<TargetedEvent<HTMLArcgisScaleRangeSliderElement, CustomEvent<ArcgisScaleRangeSlider["arcgisReady"]["detail"]>>>;
307
308
  }
308
309
 
309
- interface StencilArcgisScene extends Partial<Pick<ArcgisScene, 'allLayerViews' | 'alphaCompositingEnabled' | 'analyses' | 'autoDestroyDisabled' | 'basemap' | 'basemapView' | 'camera' | 'cameraFov' | 'cameraHeading' | 'cameraPosition' | 'cameraTilt' | 'clippingArea' | 'constraints' | 'environment' | 'extent' | 'fatalError' | 'floors' | 'graphics' | 'ground' | 'highlightOptions' | 'itemId' | 'layerViews' | 'map' | 'navigation' | 'padding' | 'popup' | 'popupDisabled' | 'qualityProfile' | 'scale' | 'spatialReference' | 'theme' | 'timeExtent' | 'viewingMode' | 'viewpoint' | 'zoom'>>, ArcgisSceneSetterTypes, StencilJsx.HTMLAttributes<HTMLArcgisSceneElement> {
310
+ interface StencilArcgisScene extends Partial<Pick<ArcgisScene, 'allLayerViews' | 'alphaCompositingEnabled' | 'analyses' | 'autoDestroyDisabled' | 'basemap' | 'basemapView' | 'camera' | 'cameraFov' | 'cameraHeading' | 'cameraPosition' | 'cameraTilt' | 'clippingArea' | 'constraints' | 'environment' | 'extent' | 'fatalError' | 'floors' | 'graphics' | 'ground' | 'highlightOptions' | 'highlights' | 'itemId' | 'layerViews' | 'map' | 'navigation' | 'padding' | 'popup' | 'popupDisabled' | 'qualityProfile' | 'scale' | 'spatialReference' | 'theme' | 'timeExtent' | 'viewingMode' | 'viewpoint' | 'zoom'>>, ArcgisSceneSetterTypes, StencilJsx.HTMLAttributes<HTMLArcgisSceneElement> {
310
311
  onArcgisViewChange?: EventHandler<TargetedEvent<HTMLArcgisSceneElement, CustomEvent<ArcgisScene["arcgisViewChange"]["detail"]>>>;
311
312
  onArcgisViewClick?: EventHandler<TargetedEvent<HTMLArcgisSceneElement, CustomEvent<ArcgisScene["arcgisViewClick"]["detail"]>>>;
312
313
  onArcgisViewDoubleClick?: EventHandler<TargetedEvent<HTMLArcgisSceneElement, CustomEvent<ArcgisScene["arcgisViewDoubleClick"]["detail"]>>>;
@@ -459,7 +460,7 @@ interface ExposedElements {
459
460
  "arcgis-daylight": StencilArcgisDaylight;
460
461
  "arcgis-directional-pad": StencilArcgisDirectionalPad;
461
462
  "arcgis-directions": StencilArcgisDirections;
462
- "arcgis-directline-measurement-3d": StencilArcgisDirectLineMeasurement3d;
463
+ "arcgis-directline-measurement-3d": StencilArcgisDirectlineMeasurement3d;
463
464
  "arcgis-distance-measurement-2d": StencilArcgisDistanceMeasurement2d;
464
465
  "arcgis-editor": StencilArcgisEditor;
465
466
  "arcgis-elevation-profile": StencilArcgisElevationProfile;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arcgis/map-components",
3
- "version": "4.32.0-next.24",
3
+ "version": "4.32.0-next.26",
4
4
  "description": "ArcGIS Map Components",
5
5
  "keywords": [
6
6
  "ArcGIS",
@@ -40,10 +40,10 @@
40
40
  ],
41
41
  "license": "SEE LICENSE IN LICENSE.md",
42
42
  "dependencies": {
43
- "@arcgis/components-controllers": "4.32.0-next.24",
44
- "@arcgis/components-utils": "4.32.0-next.24",
45
- "@arcgis/core-adapter": "4.32.0-next.24",
46
- "@arcgis/lumina": "4.32.0-next.24",
43
+ "@arcgis/components-controllers": "4.32.0-next.26",
44
+ "@arcgis/components-utils": "4.32.0-next.26",
45
+ "@arcgis/core-adapter": "4.32.0-next.26",
46
+ "@arcgis/lumina": "4.32.0-next.26",
47
47
  "tslib": "^2.7.0"
48
48
  },
49
49
  "peerDependencies": {
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
- * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
4
- * v4.32.0-next.24
5
- */
6
- import{a,c as l,d as t}from"./S3OT5UG7.js";import{e as v,g as m,ja as d}from"./FIEUUBMQ.js";import{f as g,g as r}from"./YUDSXC6A.js";import{A as s,B as p,G as c,f as o,o as n,r as w}from"./L6DN3YTM.js";var b=w`.arcgis-map{padding:0;margin:0;height:100%;width:100%}`,_=a(m,{}),f=a(v,{}),h=class extends p{constructor(){super(...arguments),this._map=_(this,{editConstructorProperties:this._editMapProperties}),this.reactiveUtils=n(d),this.view=f(this,{editConstructorProperties:this._editViewProperties}),this.allLayerViews=this.view.allLayerViews,this.autoDestroyDisabled=!1,this.background=this.view.background,this.basemap=this._map.basemap,this.basemapView=this.view.basemapView,this.constraints=this.view.constraints,this.fatalError=this.view.fatalError,this.floors=this.view.floors,this.graphics=this.view.graphics,this.ground=this._map.ground,this.highlightOptions=this.view.highlightOptions,this.ipsInfo=this._map.ipsInfo,this.layerViews=this.view.layerViews,this.magnifier=this.view.magnifier,this.map=this.view.map,this.navigation=this.view.navigation,this.padding=this.view.padding,this.popup=this.view.popup,this.popupDisabled=this.view.popupEnabled,this.ready=this.view.ready,this.resizeAlign=this.view.resizeAlign,this.resolution=this.view.resolution,this.rotation=this.view.rotation,this.spatialReference=this.view.spatialReference,this.suspended=this.view.suspended,this.theme=this.view.theme,this.timeExtent=this.view.timeExtent,this.timeZone=this.view.timeZone,this.updating=this.view.updating,this.arcgisViewChange=s(),this.arcgisViewClick=t(()=>this.view,"click"),this.arcgisViewDoubleClick=t(()=>this.view,"double-click"),this.arcgisViewDrag=t(()=>this.view,"drag"),this.arcgisViewHold=t(()=>this.view,"hold"),this.arcgisViewImmediateClick=t(()=>this.view,"immediate-click"),this.arcgisViewImmediateDoubleClick=t(()=>this.view,"immediate-double-click"),this.arcgisViewKeyDown=t(()=>this.view,"key-down"),this.arcgisViewKeyUp=t(()=>this.view,"key-up"),this.arcgisViewLayerviewCreate=t(()=>this.view,"layer-view-create"),this.arcgisViewLayerviewCreateError=t(()=>this.view,"layer-view-create-error"),this.arcgisViewLayerviewDestroy=t(()=>this.view,"layer-view-destroy"),this.arcgisViewMouseWheel=t(()=>this.view,"mouse-wheel"),this.arcgisViewPointerDown=t(()=>this.view,"pointer-down"),this.arcgisViewPointerEnter=t(()=>this.view,"pointer-enter"),this.arcgisViewPointerLeave=t(()=>this.view,"pointer-leave"),this.arcgisViewPointerMove=t(()=>this.view,"pointer-move"),this.arcgisViewPointerUp=t(()=>this.view,"pointer-up"),this.arcgisViewReadyChange=s()}static{this.properties={view:32,allLayerViews:0,autoDestroyDisabled:5,background:0,basemap:1,basemapView:0,center:1,constraints:0,extent:0,fatalError:0,floors:0,gamepad:32,graphics:0,ground:1,highlightOptions:0,interacting:32,ipsInfo:0,itemId:3,layerViews:0,magnifier:0,map:0,navigating:32,navigation:0,padding:0,popup:0,popupDisabled:5,ready:0,resizeAlign:1,resolution:8,rotation:9,scale:9,spatialReference:0,stationary:32,suspended:7,theme:0,timeExtent:0,timeZone:1,updating:7,viewpoint:0,zoom:9}}static{this.shadowRootOptions=o}static{this.styles=b}get center(){return this.view.center??this._center}set center(i){let e=r(i,this.ready?this.view:void 0);e&&(this.ready&&(this.view.center=e),this._center=e)}get extent(){return this.view.extent??this._extent}set extent(i){this.view.ready||(this._extent=i),i&&!this.extent?.equals(i)&&(this.view.extent=i)}get gamepad(){return this.ready?this.view.input.gamepad:void 0}get interacting(){return this.view.interacting}get itemId(){return this._map.portalItem?.id??this._itemId}set itemId(i){this._itemId=i,this.ready&&l.reCreate(this._map,this).then(()=>{this.view.map=this._map}).catch(console.error)}get navigating(){return this.view.navigating}get scale(){return this.view.scale??this._scale}set scale(i){this.ready&&(this.view.scale=i),this._scale=i}get stationary(){return this.view.stationary}get viewpoint(){return this.view.viewpoint??this._viewpoint}set viewpoint(i){g(this.viewpoint,i)&&(this.ready&&(this.view.viewpoint=i),this._viewpoint=i)}get zoom(){return this.view.zoom??this._zoom}set zoom(i){this.ready&&(this.view.zoom=i),this._zoom=i}async addLayer(i,e){this.map?.add(i,e)}async addLayers(i,e){this.map?.addMany(i,e)}async closePopup(){this.view?.closePopup()}async destroy(){await this.manager.destroy()}async goTo(i,e){return await this.view?.goTo(i,e)}async hitTest(i,e){return await this.view?.hitTest(i,e)}async openPopup(i){await this.view?.openPopup(i)}async takeScreenshot(i){return await this.view?.takeScreenshot(i)}toMap(i){return this.view.toMap(i)}toScreen(i,e){return this.view.toScreen(i,e)}async tryFatalErrorRecovery(){this.view?.tryFatalErrorRecovery()}async whenLayerView(i){return await this.view?.whenLayerView(i)}load(){this.el.childElem=document.createElement("div"),this.el.childElem.classList.add("arcgis-map"),this.el.append(this.el.childElem),this.view.container??=this.el.childElem}loaded(){let{watch:i}=this.reactiveUtils;this.manager.onLifecycle(()=>[i(()=>this.view.stationary,()=>{this.arcgisViewChange.emit()},{initial:!0}),i(()=>this.view.ready,()=>this.arcgisViewReadyChange.emit(),{initial:this.view.ready})])}_editMapProperties(i){this.map&&(this._map=this.map),this.itemId?i.portalItem={id:this.itemId}:this.basemap?this.basemap==="none"&&(i.basemap=void 0,this.basemap=null):i.basemap="topo-vector";let{basemap:e,...u}=i;e||(i=u);let{ground:y,...V}=i;return y||(i=V),i}async _editViewProperties(i){await this.manager.use(this._map),this.view.ui||(i.ui={components:["attribution"]}),i.map??=this._map;let e=r(this.center,void 0);return e&&(i.center=e),this.viewpoint&&(i.viewpoint=this.viewpoint),this.scale!==void 0&&(i.scale=this.scale),this.extent&&(i.extent=this.extent),this.zoom!==void 0&&(i.zoom=this.zoom),i}};c("arcgis-map",h);export{h as ArcgisMap};
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
- * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
4
- * v4.32.0-next.24
5
- */
6
- import{a as r,c as y,d as t}from"./S3OT5UG7.js";import{f as d,h as g,ja as u}from"./FIEUUBMQ.js";import{e as h,f as _,g as n,h as o}from"./YUDSXC6A.js";import{A as a,B as v,G as l,f as m,o as w,r as p}from"./L6DN3YTM.js";var V=p`.arcgis-scene{padding:0;margin:0;height:100%;width:100%}`,f=r(g,{}),b=r(d,{}),c=class extends v{constructor(){super(...arguments),this._map=f(this,{editConstructorProperties:this._editMapProperties}),this.reactiveUtils=w(u),this.view=b(this,{editConstructorProperties:this._editViewProperties}),this.allLayerViews=this.view.allLayerViews,this.alphaCompositingEnabled=this.view.alphaCompositingEnabled,this.analyses=this.view.analyses,this.autoDestroyDisabled=!1,this.basemap=this._map.basemap,this.basemapView=this.view.basemapView,this.clippingArea=this.view.clippingArea,this.constraints=this.view.constraints,this.environment=this.view.environment,this.fatalError=this.view.fatalError,this.floors=this.view.floors,this.graphics=this.view.graphics,this.ground=this._map.ground,this.groundView=this.view.groundView,this.highlightOptions=this.view.highlightOptions,this.layerViews=this.view.layerViews,this.magnifier=this.view.magnifier,this.map=this.view.map,this.navigation=this.view.navigation,this.padding=this.view.padding,this.popup=this.view.popup,this.popupDisabled=this.view.popupEnabled,this.qualityProfile=this.view.qualityProfile,this.ready=this.view.ready,this.spatialReference=this.view.spatialReference,this.suspended=this.view.suspended,this.theme=this.view.theme,this.timeExtent=this.view.timeExtent,this.updating=this.view.updating,this.viewingMode=this.view.viewingMode,this.arcgisViewChange=a(),this.arcgisViewClick=t(()=>this.view,"click"),this.arcgisViewDoubleClick=t(()=>this.view,"double-click"),this.arcgisViewDrag=t(()=>this.view,"drag"),this.arcgisViewHold=t(()=>this.view,"hold"),this.arcgisViewImmediateClick=t(()=>this.view,"immediate-click"),this.arcgisViewImmediateDoubleClick=t(()=>this.view,"immediate-double-click"),this.arcgisViewKeyDown=t(()=>this.view,"key-down"),this.arcgisViewKeyUp=t(()=>this.view,"key-up"),this.arcgisViewLayerviewCreate=t(()=>this.view,"layer-view-create"),this.arcgisViewLayerviewCreateError=t(()=>this.view,"layer-view-create-error"),this.arcgisViewLayerviewDestroy=t(()=>this.view,"layer-view-destroy"),this.arcgisViewMouseWheel=t(()=>this.view,"mouse-wheel"),this.arcgisViewPointerDown=t(()=>this.view,"pointer-down"),this.arcgisViewPointerEnter=t(()=>this.view,"pointer-enter"),this.arcgisViewPointerLeave=t(()=>this.view,"pointer-leave"),this.arcgisViewPointerMove=t(()=>this.view,"pointer-move"),this.arcgisViewPointerUp=t(()=>this.view,"pointer-up"),this.arcgisViewReadyChange=a()}static{this.properties={view:32,allLayerViews:0,alphaCompositingEnabled:5,analyses:0,autoDestroyDisabled:5,basemap:1,basemapView:0,camera:0,cameraFov:9,cameraHeading:9,cameraPosition:1,cameraTilt:9,center:1,clippingArea:0,constraints:0,environment:0,extent:0,fatalError:0,floors:0,gamepad:32,graphics:0,ground:0,groundView:0,highlightOptions:0,interacting:32,itemId:3,layerViews:0,magnifier:0,map:0,navigating:32,navigation:0,padding:0,performanceInfo:32,popup:0,popupDisabled:5,qualityProfile:1,ready:0,resolution:32,scale:9,spatialReference:0,stationary:32,suspended:7,theme:0,timeExtent:0,updating:7,viewingMode:1,viewpoint:0,zoom:9}}static{this.shadowRootOptions=m}static{this.styles=V}get camera(){return this.view.camera??this._camera}set camera(e){this._camera=e,this.ready&&!h(this.camera,e)&&(this.view.camera=e)}get cameraFov(){return this.view.camera?.fov??this._cameraFov}set cameraFov(e){this.ready?e!=null&&this._mutateCamera(i=>{i.fov=e}):this._cameraFov=e}get cameraHeading(){return this.view.camera?.heading??this._cameraHeading}set cameraHeading(e){this.ready?e!=null&&this._mutateCamera(i=>{i.heading=e}):this._cameraFov=e}get cameraPosition(){return this.view.camera?.position??this._cameraPosition}set cameraPosition(e){if(this.ready){let i=o(this.view.camera?.position,e);i&&this._mutateCamera(s=>{s.position=i})}else this._cameraPosition=e}get cameraTilt(){return this.view.camera?.tilt??this._cameraTilt}set cameraTilt(e){if(this.ready)e!=null&&this._mutateCamera(i=>{i.tilt=e});else{this._cameraTilt=e;return}}get center(){return this.view.center??this._center}set center(e){let i=n(e,this.ready?this.view:void 0);i&&(this.ready&&(this.view.center=i),this._center=i)}get extent(){return this.view.extent??this._extent}set extent(e){this.view.ready||(this._extent=e),e&&!this.extent?.equals(e)&&(this.view.extent=e)}get gamepad(){return this.ready?this.view.input.gamepad:void 0}get interacting(){return this.view.interacting}get itemId(){return this._map.portalItem?.id??this._itemId}set itemId(e){this._itemId=e,this.ready&&y.reCreate(this._map,this).then(()=>{this.view.map=this._map}).catch(console.error)}get navigating(){return this.view.navigating}get performanceInfo(){return this.view.performanceInfo}get resolution(){return this.view.resolution}get scale(){return this.view.scale??this._scale}set scale(e){this.ready&&(this.view.scale=e),this._scale=e}get stationary(){return this.view.stationary}get viewpoint(){return this.view.viewpoint??this._viewpoint}set viewpoint(e){_(this.viewpoint,e)&&(this.ready&&(this.view.viewpoint=e),this._viewpoint=e)}get zoom(){return this.view.zoom??this._zoom}set zoom(e){this.ready&&(this.view.zoom=e),this._zoom=e}async addLayer(e,i){this.map?.add(e,i)}async addLayers(e,i){this.map?.addMany(e,i)}async closePopup(){this.view?.closePopup()}async destroy(){await this.manager.destroy()}async goTo(e,i){return await this.view?.goTo(e,i)}async hitTest(e,i){return await this.view?.hitTest(e,i)}async openPopup(e){await this.view?.openPopup(e)}async takeScreenshot(e){return await this.view?.takeScreenshot(e)}toMap(e,i){return this.view.toMap(e,i)}toScreen(e){return this.view.toScreen(e)}async tryFatalErrorRecovery(){this.view?.tryFatalErrorRecovery()}async whenAnalysisView(e){return await this.view?.whenAnalysisView(e)}async whenLayerView(e){return await this.view?.whenLayerView(e)}load(){this.el.childElem=document.createElement("div"),this.el.childElem.classList.add("arcgis-scene"),this.el.append(this.el.childElem),this.view.container??=this.el.childElem}loaded(){let{watch:e}=this.reactiveUtils;this.manager.onLifecycle(()=>[e(()=>this.view.stationary,()=>{this.arcgisViewChange.emit()},{initial:!0}),e(()=>this.view.ready,()=>this.arcgisViewReadyChange.emit(),{initial:this.view.ready})])}_editMapProperties(e){this.map&&(this._map=this.map),this.itemId?e.portalItem={id:this.itemId}:this.basemap?this.basemap==="none"&&(e.basemap=void 0,this.basemap=null):e.basemap="topo-vector";let{basemap:i,...s}=e;return i||(e=s),e}async _editViewProperties(e){await this.manager.use(this._map),this.view.ui||(e.ui={components:["attribution"]}),e.map??=this._map;let i=n(this.center,void 0);i&&(e.center=i),this.viewpoint&&(e.viewpoint=this.viewpoint),this.scale!==void 0&&(e.scale=this.scale),this.extent&&(e.extent=this.extent),this.camera&&(e.camera=this.camera);let s=o(void 0,this.cameraPosition);return s&&(e.camera??={},e.camera.position=s),this.cameraHeading!=null&&(e.camera??={},e.camera.heading=this.cameraHeading),this.cameraTilt!=null&&(e.camera??={},e.camera.tilt=this.cameraTilt),this.cameraFov!=null&&(e.camera??={},e.camera.fov=this.cameraFov),this.zoom!==void 0&&(e.zoom=this.zoom),e}_mutateCamera(e){let i=this.view.camera.clone();e(i),h(this.view.camera,i)||(this.view.camera=i)}};l("arcgis-scene",c);export{c as ArcgisScene};