@arcgis/core 5.0.0-next.58 → 5.0.0-next.59

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 (279) hide show
  1. package/Graphic.d.ts +2 -2
  2. package/Viewpoint.d.ts +1 -1
  3. package/applications/Urban/meshUtils.d.ts +2 -2
  4. package/arcade.d.ts +1 -1
  5. package/assets/esri/core/workers/RemoteClient.js +1 -1
  6. package/assets/esri/core/workers/chunks/0bd73a66baea2f52e8a6.js +1 -0
  7. package/assets/esri/core/workers/chunks/262c5794650853457acc.js +1 -0
  8. package/assets/esri/core/workers/chunks/55a9ea536c64976c3409.js +1 -0
  9. package/assets/esri/core/workers/chunks/{5f9e64f00329cb646f0c.js → 741d170187e58e81584d.js} +1 -1
  10. package/assets/esri/layers/raster/formats/lerc-wasm.wasm +0 -0
  11. package/assets/esri/themes/base/widgets/_Attribution.scss +2 -2
  12. package/assets/esri/themes/dark/main.css +1 -1
  13. package/assets/esri/themes/light/main.css +1 -1
  14. package/assets/esri/themes/light/view.css +1 -1
  15. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_ar.json +1 -1
  16. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_bg.json +1 -1
  17. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_bs.json +1 -1
  18. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_ca.json +1 -1
  19. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_cs.json +1 -1
  20. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_da.json +1 -1
  21. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_de.json +1 -1
  22. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_el.json +1 -1
  23. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_es.json +1 -1
  24. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_et.json +1 -1
  25. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_fi.json +1 -1
  26. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_fr.json +1 -1
  27. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_he.json +1 -1
  28. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_hr.json +1 -1
  29. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_hu.json +1 -1
  30. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_id.json +1 -1
  31. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_it.json +1 -1
  32. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_ja.json +1 -1
  33. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_ko.json +1 -1
  34. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_lt.json +1 -1
  35. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_lv.json +1 -1
  36. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_nl.json +1 -1
  37. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_no.json +1 -1
  38. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_pl.json +1 -1
  39. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_pt-BR.json +1 -1
  40. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_pt-PT.json +1 -1
  41. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_ro.json +1 -1
  42. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_ru.json +1 -1
  43. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_sk.json +1 -1
  44. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_sl.json +1 -1
  45. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_sr.json +1 -1
  46. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_sv.json +1 -1
  47. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_th.json +1 -1
  48. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_tr.json +1 -1
  49. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_uk.json +1 -1
  50. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_vi.json +1 -1
  51. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_zh-CN.json +1 -1
  52. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_zh-HK.json +1 -1
  53. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_zh-TW.json +1 -1
  54. package/chunks/lerc-wasm.js +1 -1
  55. package/config.js +1 -1
  56. package/geometry/Extent.d.ts +1 -1
  57. package/geometry/Mesh.d.ts +2 -2
  58. package/geometry/SpatialReference.js +1 -1
  59. package/geometry/geometryEngine.d.ts +3 -3
  60. package/geometry/{geometryEngineInterfaces.d.ts → geometryEngineTypes.d.ts} +1 -1
  61. package/geometry/operators/affineTransformOperator.d.ts +3 -3
  62. package/geometry/operators/alphaShapeOperator.d.ts +1 -1
  63. package/geometry/operators/areaOperator.d.ts +1 -1
  64. package/geometry/operators/boundaryOperator.d.ts +3 -3
  65. package/geometry/operators/bufferOperator.d.ts +1 -1
  66. package/geometry/operators/centroidOperator.d.ts +1 -1
  67. package/geometry/operators/clipOperator.d.ts +3 -3
  68. package/geometry/operators/containsOperator.d.ts +1 -1
  69. package/geometry/operators/convexHullOperator.d.ts +3 -3
  70. package/geometry/operators/crossesOperator.d.ts +1 -1
  71. package/geometry/operators/cutOperator.d.ts +2 -2
  72. package/geometry/operators/densifyOperator.d.ts +3 -3
  73. package/geometry/operators/differenceOperator.d.ts +3 -3
  74. package/geometry/operators/disjointOperator.d.ts +1 -1
  75. package/geometry/operators/distanceOperator.d.ts +1 -1
  76. package/geometry/operators/equalsOperator.d.ts +1 -1
  77. package/geometry/operators/generalizeOperator.d.ts +3 -3
  78. package/geometry/operators/geodesicBufferOperator.d.ts +1 -2
  79. package/geometry/operators/geodesicProximityOperator.d.ts +2 -5
  80. package/geometry/operators/geodeticAreaOperator.d.ts +1 -2
  81. package/geometry/operators/geodeticDensifyOperator.d.ts +3 -4
  82. package/geometry/operators/geodeticDistanceOperator.d.ts +1 -2
  83. package/geometry/operators/geodeticLengthOperator.d.ts +1 -2
  84. package/geometry/operators/geodeticUtilsOperator.d.ts +1 -1
  85. package/geometry/operators/graphicBufferOperator.d.ts +1 -1
  86. package/geometry/operators/integrateOperator.d.ts +2 -2
  87. package/geometry/operators/intersectionOperator.d.ts +3 -3
  88. package/geometry/operators/intersectsOperator.d.ts +1 -1
  89. package/geometry/operators/isNearOperator.d.ts +1 -1
  90. package/geometry/operators/labelPointOperator.d.ts +1 -1
  91. package/geometry/operators/lengthOperator.d.ts +1 -1
  92. package/geometry/operators/linesToPolygonsOperator.d.ts +1 -1
  93. package/geometry/operators/locateBetweenOperator.d.ts +2 -2
  94. package/geometry/operators/minimumBoundingCircleOperator.d.ts +1 -1
  95. package/geometry/operators/multiPartToSinglePartOperator.d.ts +2 -2
  96. package/geometry/operators/offsetOperator.d.ts +3 -3
  97. package/geometry/operators/overlapsOperator.d.ts +1 -1
  98. package/geometry/operators/projectOperator.d.ts +4 -6
  99. package/geometry/operators/proximityOperator.d.ts +2 -2
  100. package/geometry/operators/relateOperator.d.ts +1 -1
  101. package/geometry/operators/shapePreservingProjectOperator.d.ts +3 -3
  102. package/geometry/operators/simplifyOGCOperator.d.ts +3 -3
  103. package/geometry/operators/simplifyOperator.d.ts +3 -3
  104. package/geometry/operators/symmetricDifferenceOperator.d.ts +3 -3
  105. package/geometry/operators/touchesOperator.d.ts +1 -1
  106. package/geometry/operators/{support/proximityResult.d.ts → types.d.ts} +18 -3
  107. package/geometry/operators/unionOperator.d.ts +3 -3
  108. package/geometry/operators/withinOperator.d.ts +1 -1
  109. package/geometry/support/geodesicUtils.d.ts +15 -2
  110. package/geometry/support/jsonUtils.d.ts +1 -1
  111. package/geometry/support/meshUtils/types.d.ts +34 -0
  112. package/geometry/support/meshUtils.d.ts +4 -7
  113. package/geometry/support/webMercatorUtils.d.ts +1 -1
  114. package/geometry/types.d.ts +23 -1
  115. package/geometry.d.ts +1 -1
  116. package/interfaces.d.ts +69 -72
  117. package/kernel.js +1 -1
  118. package/layers/CSVLayer.d.ts +0 -2
  119. package/layers/CatalogLayer.d.ts +1 -1
  120. package/layers/FeatureLayer.d.ts +1 -1
  121. package/layers/GeoJSONLayer.d.ts +1 -1
  122. package/layers/OGCFeatureLayer.d.ts +1 -1
  123. package/layers/OrientedImageryLayer.d.ts +1 -3
  124. package/layers/ParquetLayer.d.ts +1 -1
  125. package/layers/WFSLayer.d.ts +1 -1
  126. package/layers/catalog/CatalogFootprintLayer.d.ts +1 -1
  127. package/layers/knowledgeGraph/KnowledgeGraphSublayer.d.ts +2 -2
  128. package/layers/mixins/APIKeyMixin.d.ts +2 -2
  129. package/layers/mixins/ArcGISImageService.d.ts +4 -3
  130. package/layers/mixins/BlendLayer.d.ts +16 -15
  131. package/layers/mixins/DisplayFilteredLayer.d.ts +6 -3
  132. package/layers/mixins/FeatureEffectLayer.d.ts +23 -21
  133. package/layers/mixins/FeatureLayerBase.d.ts +23 -20
  134. package/layers/mixins/ImageryTileMixin.d.ts +5 -5
  135. package/layers/mixins/PortalLayer.d.ts +7 -7
  136. package/layers/mixins/RasterPresetRendererMixin.d.ts +6 -3
  137. package/layers/mixins/SceneService.d.ts +2 -2
  138. package/layers/mixins/TemporalLayer.d.ts +8 -7
  139. package/layers/mixins/TemporalSceneLayer.d.ts +2 -2
  140. package/layers/mixins/TrackableLayer.d.ts +4 -4
  141. package/layers/ogc/wfsUtils.d.ts +1 -1
  142. package/layers/raster/formats/Lerc.js +1 -1
  143. package/layers/raster/functions/creators/createSurfaceFunctions.d.ts +2 -2
  144. package/layers/support/DisplayFilterInfo.d.ts +7 -7
  145. package/layers/support/FeatureReductionCluster.d.ts +5 -5
  146. package/layers/support/FieldsIndex.d.ts +1 -2
  147. package/layers/support/RasterBandInfo.d.ts +1 -1
  148. package/layers/support/RasterInfo.d.ts +2 -2
  149. package/layers/support/RasterSensorInfo.d.ts +1 -1
  150. package/layers/support/Sublayer.d.ts +3 -3
  151. package/layers/support/SubtypeSublayer.d.ts +1 -1
  152. package/layers/support/TrackInfo.d.ts +2 -2
  153. package/layers/support/arcgisLayerUrl.js +1 -1
  154. package/layers/support/fieldUtils.d.ts +0 -1
  155. package/layers/support/source/QueryTableDataSource.d.ts +2 -2
  156. package/layers/support/types.d.ts +2 -2
  157. package/layers/types.d.ts +1 -1
  158. package/package.json +1 -1
  159. package/popup/FieldInfo.d.ts +8 -8
  160. package/popup/content/AttachmentsContent.d.ts +2 -2
  161. package/popup/content/CustomContent.d.ts +1 -1
  162. package/portal/interfaces.d.ts +2 -2
  163. package/portal/support/resourceUtils.d.ts +6 -7
  164. package/rest/featureService/types.d.ts +1 -1
  165. package/rest/geometryService.d.ts +2 -2
  166. package/rest/imageService.d.ts +1 -1
  167. package/rest/knowledgeGraph/GraphAnyValue.d.ts +1 -1
  168. package/rest/query/support/AttachmentInfo.d.ts +1 -1
  169. package/rest/query.d.ts +1 -1
  170. package/rest/support/BufferParameters.d.ts +1 -1
  171. package/rest/support/DataLayer.d.ts +1 -1
  172. package/rest/support/DensifyParameters.d.ts +1 -1
  173. package/rest/support/DistanceParameters.d.ts +1 -1
  174. package/rest/support/FeatureSet.d.ts +2 -2
  175. package/rest/support/FindImagesParameters.d.ts +1 -1
  176. package/rest/support/GeneralizeParameters.d.ts +1 -1
  177. package/rest/support/IdentifyParameters.d.ts +1 -1
  178. package/rest/support/ImageGPSInfoParameters.d.ts +1 -1
  179. package/rest/support/ImageMeasureResultAreaValue.d.ts +1 -1
  180. package/rest/support/ImageToMapMultirayParameters.d.ts +1 -1
  181. package/rest/support/OffsetParameters.d.ts +1 -1
  182. package/rest/support/ProjectParameters.d.ts +1 -1
  183. package/rest/support/Query.d.ts +1 -1
  184. package/rest/support/QueryMixin.d.ts +1 -1
  185. package/rest/support/RelationParameters.d.ts +1 -1
  186. package/rest/support/RelationshipQuery.d.ts +1 -1
  187. package/rest/support/TopFeaturesQuery.d.ts +1 -1
  188. package/smartMapping/labels/bins.d.ts +3 -6
  189. package/smartMapping/labels/clusters.d.ts +2 -2
  190. package/smartMapping/popup/clusters.d.ts +4 -4
  191. package/smartMapping/popup/templates.d.ts +4 -4
  192. package/smartMapping/renderers/color.d.ts +6 -6
  193. package/smartMapping/renderers/size.d.ts +6 -6
  194. package/smartMapping/statistics/support/ageUtils.d.ts +5 -5
  195. package/smartMapping/statistics/types.d.ts +5 -5
  196. package/smartMapping/types.d.ts +9 -1
  197. package/support/revision.js +1 -1
  198. package/unionTypes.d.ts +1 -1
  199. package/views/2d/MapViewConstraints.d.ts +5 -4
  200. package/views/2d/engine/vectorTiles/shaders/sources/shaderRepository.js +1 -1
  201. package/views/2d/engine/webgl/shaders/sources/shaderRepository.js +1 -1
  202. package/views/3d/analysis/LineOfSight/LineOfSightTool.js +1 -1
  203. package/views/3d/interactive/editingTools/reshape/ReshapeOperation.js +1 -1
  204. package/views/BreakpointsOwner.d.ts +1 -1
  205. package/views/LinkChartView.d.ts +1 -2
  206. package/views/MapView.d.ts +1 -2
  207. package/views/SceneView.d.ts +1 -2
  208. package/views/View.d.ts +1 -1
  209. package/views/Viewport2DMixin.d.ts +1 -1
  210. package/views/draw/MultipointDrawAction.d.ts +1 -1
  211. package/views/draw/MultipointDrawAction.js +1 -1
  212. package/views/draw/PointDrawAction.d.ts +1 -1
  213. package/views/draw/PointDrawAction.js +1 -1
  214. package/views/draw/PolygonDrawAction.d.ts +1 -1
  215. package/views/draw/PolygonDrawAction.js +1 -1
  216. package/views/draw/PolylineDrawAction.d.ts +1 -1
  217. package/views/draw/PolylineDrawAction.js +1 -1
  218. package/views/draw/SegmentDrawAction.d.ts +1 -1
  219. package/views/draw/SegmentDrawAction.js +1 -1
  220. package/views/input/{IViewEvents.js → mouseButtons.js} +1 -1
  221. package/views/input/types.d.ts +602 -1
  222. package/views/layers/BuildingSceneLayerView.d.ts +1 -1
  223. package/views/layers/FeatureLayerViewMixin.d.ts +1 -1
  224. package/views/layers/ImageryLayerViewMixin.d.ts +1 -1
  225. package/views/layers/MediaLayerViewMixin.d.ts +1 -1
  226. package/views/layers/PointCloudLayerView.d.ts +1 -1
  227. package/views/layers/SceneLayerView.d.ts +2 -2
  228. package/views/types.d.ts +148 -2
  229. package/webdoc/geotriggersInfo/FeatureFilter.d.ts +1 -1
  230. package/webscene/support/FeatureReferenceObjectId.d.ts +1 -1
  231. package/widgets/BasemapLayerList/BasemapLayerListViewModel.d.ts +1 -2
  232. package/widgets/BasemapLayerList.d.ts +3 -4
  233. package/widgets/CatalogLayerList/CatalogLayerListViewModel.d.ts +1 -1
  234. package/widgets/CatalogLayerList.d.ts +2 -4
  235. package/widgets/Directions/DirectionsViewModel.d.ts +1 -1
  236. package/widgets/Editor/types.d.ts +1 -1
  237. package/widgets/FeatureTable/FeatureTableViewModel.d.ts +2 -2
  238. package/widgets/FeatureTable/VisibleElements.d.ts +30 -9
  239. package/widgets/FeatureTable/support/AttachmentsViewOptions.d.ts +1 -1
  240. package/widgets/FeatureTable/support/interfaces.d.ts +2 -2
  241. package/widgets/FeatureTable.d.ts +4 -4
  242. package/widgets/LayerList/LayerListViewModel.d.ts +9 -10
  243. package/widgets/LayerList/ListItem.d.ts +9 -11
  244. package/widgets/LayerList/ListItemPanel.d.ts +1 -1
  245. package/widgets/LayerList.d.ts +7 -4
  246. package/widgets/Legend/LegendViewModel.d.ts +5 -5
  247. package/widgets/Legend/support/ActiveLayerInfo.d.ts +5 -5
  248. package/widgets/Legend.d.ts +4 -4
  249. package/widgets/Popup/types.d.ts +3 -3
  250. package/widgets/Popup.d.ts +3 -3
  251. package/widgets/TableList/TableListViewModel.d.ts +2 -4
  252. package/widgets/TableList.d.ts +1 -1
  253. package/widgets/UtilityNetworkTrace/types.d.ts +1 -1
  254. package/assets/esri/core/workers/chunks/052ded41dc06c93ec0a7.js +0 -1
  255. package/assets/esri/core/workers/chunks/a1f264abbd6354c333bf.js +0 -1
  256. package/assets/esri/core/workers/chunks/ed38c1043e6a83f49f93.js +0 -1
  257. package/geometry/geodesicUtils.d.ts +0 -19
  258. package/geometry/operators/support/geodeticCurveType.d.ts +0 -2
  259. package/geometry/operators/support/projectionTransformation.d.ts +0 -16
  260. package/geometry/support/MeshVertexSpace.d.ts +0 -4
  261. package/geometry/support/meshUtils/elevation.d.ts +0 -16
  262. package/geometry/support/meshUtils/elevationSampler.d.ts +0 -9
  263. package/geometry/support/meshUtils/georeference.d.ts +0 -10
  264. package/geometry/support/typeUtils.d.ts +0 -16
  265. package/smartMapping/popup/support/utils.d.ts +0 -13
  266. package/smartMapping/support/binningUtils.d.ts +0 -11
  267. package/smartMapping/support/clusterUtils.d.ts +0 -11
  268. package/smartMapping/support/utils.d.ts +0 -4
  269. package/views/2d/constraints/GeometryConstraint.d.ts +0 -4
  270. package/views/HitTestItem3D.d.ts +0 -20
  271. package/views/HitTestOptions.d.ts +0 -25
  272. package/views/IBreakpointsOwner.d.ts +0 -55
  273. package/views/IObjectId.d.ts +0 -2
  274. package/views/ISceneView.d.ts +0 -5
  275. package/views/IView.d.ts +0 -43
  276. package/views/input/IViewEvents.d.ts +0 -602
  277. /package/views/draw/input/{CursorUpdateEvents.d.ts → CursorUpdateEvent.d.ts} +0 -0
  278. /package/views/draw/input/{CursorUpdateEvents.js → CursorUpdateEvent.js} +0 -0
  279. /package/views/layers/{HighlightableLayerView.d.ts → types.d.ts} +0 -0
@@ -1,2 +1,603 @@
1
+ import type Layer from "../../layers/Layer.js";
2
+ import type Point from "../../geometry/Point.js";
3
+ import type LayerView from "../layers/LayerView.js";
1
4
 
2
- export type PointerType = "mouse" | "touch" | "pen";
5
+ export type PointerType = "mouse" | "touch" | "pen";
6
+
7
+ export type PointerEventType = "pointer-down" | "pointer-move" | "pointer-up" | "pointer-drag" | "pointer-enter" | "pointer-leave";
8
+
9
+ /**
10
+ * Indicates which mouse button was clicked.
11
+ * See [MouseEvent.button](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/button).
12
+ *
13
+ * Value | Description
14
+ * ------|------------
15
+ * 0 | left click (or touch)
16
+ * 1 | middle click
17
+ * 2 | right click
18
+ * 3 | back click
19
+ * 4 | forward click
20
+ * -1 | unknown button
21
+ */
22
+ export type MouseButton = 0 | 1 | 2 | 3 | 4 | -1;
23
+
24
+ export interface ViewEvent<T extends Event = Event> {
25
+ /**
26
+ * A function that can be called to defer event propagation until
27
+ * the passed in asynchronous function is completed. Calling defer will stall the entire event pipeline and should
28
+ * be used with caution.
29
+ */
30
+ defer: EventDefer;
31
+ /** A standard [DOM Event](https://developer.mozilla.org/en-US/docs/Web/API/Event). */
32
+ native: T;
33
+ /** Time stamp (in milliseconds) at which the event was created. */
34
+ timestamp: number;
35
+ /** Prevents the event bubbling up the event chain. */
36
+ stopPropagation(): void;
37
+ }
38
+
39
+ /**
40
+ * @param operation - An asynchronous operation.
41
+ * @returns The result of calling the passed in operation.
42
+ * @since 4.33
43
+ * @example
44
+ * view.on("click", (event) => {
45
+ * event.defer(async () => {
46
+ * const hitTestResult = await view.hitTest(event);
47
+ *
48
+ * if (hitTestResult.results.length) {
49
+ * // stop the event from propagating
50
+ * event.stopPropagation();
51
+ * console.log("found hit, stopping propagation to prevent popup", hitTestResult.results[0]);
52
+ * }
53
+ * });
54
+ * });
55
+ */
56
+ export type EventDefer = <T>(operation: () => Promise<T>) => Promise<T>;
57
+
58
+ /**
59
+ * Aynchronous function passed to the defer method of an event.
60
+ *
61
+ * @returns The event pipeline is deferred until the promise is resolved.
62
+ * @since 4.33
63
+ * @see {@link views/input/IViewEvents!EventDefer}
64
+ */
65
+ export type EventDeferredOperation<T extends Event = Event> = () => Promise<T>;
66
+
67
+ export type PointerId = number;
68
+
69
+ export interface ClickEvent extends ViewEvent<PointerEvent | MouseEvent> {
70
+ /** Indicates which mouse button was clicked. */
71
+ button: MouseButton;
72
+ /**
73
+ * Indicates the current mouse button state.
74
+ *
75
+ * Value | Description
76
+ * ------|------------
77
+ * 0 | left click (or touch)
78
+ * 1 | middle click
79
+ * 2 | right click
80
+ */
81
+ buttons: number;
82
+ /**
83
+ * The point location of the click on the view in the spatial
84
+ * reference of the map.
85
+ */
86
+ mapPoint: Point;
87
+ /** The event type. */
88
+ type: "click";
89
+ /** The horizontal screen coordinate of the click on the view. */
90
+ x: number;
91
+ /** The vertical screen coordinate of the click on the view. */
92
+ y: number;
93
+ }
94
+
95
+ export interface DoubleClickEvent extends ViewEvent<PointerEvent | MouseEvent> {
96
+ /** Indicates which mouse button was clicked. */
97
+ button: MouseButton;
98
+ /**
99
+ * Indicates the current mouse button state.
100
+ *
101
+ * Value | Description
102
+ * ------|------------
103
+ * 0 | left click (or touch)
104
+ * 1 | middle click
105
+ * 2 | right click
106
+ */
107
+ buttons: number;
108
+ /**
109
+ * The point location of the click on the view in the spatial
110
+ * reference of the map.
111
+ */
112
+ mapPoint: Point;
113
+ /** The event type. */
114
+ type: "double-click";
115
+ /** The horizontal screen coordinate of the click on the view. */
116
+ x: number;
117
+ /** The vertical screen coordinate of the click on the view. */
118
+ y: number;
119
+ }
120
+
121
+ export interface ImmediateClickEvent extends ViewEvent<PointerEvent | MouseEvent> {
122
+ /**
123
+ * Indicates which mouse button was clicked.
124
+ * See [MouseEvent.button](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/button).
125
+ *
126
+ * Value | Description
127
+ * ------|------------
128
+ * 0 | left click (or touch)
129
+ * 1 | middle click
130
+ * 2 | right click
131
+ */
132
+ button: MouseButton;
133
+ /**
134
+ * Indicates which buttons are pressed when the event is triggered.
135
+ * See [MouseEvent.buttons](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/buttons).
136
+ */
137
+ buttons: number;
138
+ /**
139
+ * The point location of the click on the view in the spatial
140
+ * reference of the map.
141
+ */
142
+ mapPoint: Point;
143
+ /** The event type. */
144
+ type: "immediate-click";
145
+ /** The horizontal screen coordinate of the click on the view. */
146
+ x: number;
147
+ /** The vertical screen coordinate of the click on the view. */
148
+ y: number;
149
+ }
150
+
151
+ export interface ImmediateDoubleClickEvent extends ViewEvent<PointerEvent | MouseEvent> {
152
+ /**
153
+ * Indicates which mouse button was clicked.
154
+ * See [MouseEvent.button](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/button).
155
+ *
156
+ * Value | Description
157
+ * ------|------------
158
+ * 0 | left click (or touch)
159
+ * 1 | middle click
160
+ * 2 | right click
161
+ */
162
+ button: MouseButton;
163
+ /**
164
+ * Indicates which buttons are pressed when the event is triggered.
165
+ * See [MouseEvent.buttons](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/buttons).
166
+ */
167
+ buttons: number;
168
+ /**
169
+ * The point location of the click on the view in the spatial
170
+ * reference of the map.
171
+ */
172
+ mapPoint: Point;
173
+ /** The event type. */
174
+ type: "immediate-double-click";
175
+ /** The horizontal screen coordinate of the click on the view. */
176
+ x: number;
177
+ /** The vertical screen coordinate of the click on the view. */
178
+ y: number;
179
+ }
180
+
181
+ export interface HoldEvent extends ViewEvent<PointerEvent | MouseEvent> {
182
+ /**
183
+ * Indicates which mouse button was held down.
184
+ * See [MouseEvent.button](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/button).
185
+ *
186
+ * Value | Description
187
+ * ------|------------
188
+ * 0 | left mouse button (or touch)
189
+ * 1 | middle mouse button
190
+ * 2 | right mouse button
191
+ */
192
+ button: MouseButton;
193
+ /**
194
+ * Indicates which mouse buttons are pressed when the event is triggered.
195
+ * See [MouseEvent.buttons](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/buttons).
196
+ */
197
+ buttons: number;
198
+ /**
199
+ * The point location of the click on the view in the spatial
200
+ * reference of the map.
201
+ */
202
+ mapPoint: Point;
203
+ /** The event type. */
204
+ type: "hold";
205
+ /** The horizontal screen coordinate of the hold on the view. */
206
+ x: number;
207
+ /** The vertical screen coordinate of the hold on the view. */
208
+ y: number;
209
+ }
210
+
211
+ export interface DragEvent extends ViewEvent<PointerEvent | MouseEvent> {
212
+ /**
213
+ * Indicates the state of the drag.
214
+ * The two values `added` and `removed` indicate a change in the number of pointers involved.
215
+ */
216
+ action: "start" | "update" | "added" | "removed" | "end";
217
+ /** Amount of rotation (in degrees) since the last event of type `start`. */
218
+ angle: number;
219
+ /**
220
+ * Indicates which mouse button was clicked at the start of the drag.
221
+ * See [MouseEvent.button](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/button).
222
+ *
223
+ * Value | Description
224
+ * ------|------------
225
+ * 0 | left mouse button (or touch)
226
+ * 1 | middle mouse button
227
+ * 2 | right mouse button
228
+ */
229
+ button: MouseButton;
230
+ /**
231
+ * Indicates which mouse buttons are pressed when the event is triggered.
232
+ * See [MouseEvent.buttons](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/buttons).
233
+ */
234
+ buttons: number;
235
+ /** Screen coordinates of the start of the drag. */
236
+ origin: DragEventOrigin;
237
+ /** The radius of a sphere around the multiple pointers involved in this drag. Or 0 while only a single pointer is used. */
238
+ radius: number;
239
+ /** The event type. */
240
+ type: "drag";
241
+ /** The horizontal screen coordinate of the pointer on the view. */
242
+ x: number;
243
+ /** The vertical screen coordinate of the pointer on the view. */
244
+ y: number;
245
+ }
246
+
247
+ export interface DragEventOrigin {
248
+ /** The horizontal screen coordinate of the pointer on the view. */
249
+ x: number;
250
+ /** The vertical screen coordinate of the pointer on the view. */
251
+ y: number;
252
+ }
253
+
254
+ export interface KeyDownEvent extends ViewEvent<KeyboardEvent> {
255
+ /**
256
+ * The key value that was pressed, according to the
257
+ * [MDN full list of key values](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key/Key_Values).
258
+ */
259
+ key: string;
260
+ /**
261
+ * Indicates whether this is the first event emitted
262
+ * due to the key press, or a repeat.
263
+ */
264
+ repeat: boolean;
265
+ /** The event type. */
266
+ type: "key-down";
267
+ }
268
+
269
+ export interface KeyUpEvent extends ViewEvent<KeyboardEvent> {
270
+ /**
271
+ * The key value that was released, according to the
272
+ * [MDN full list of key values](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key/Key_Values).
273
+ */
274
+ key: string;
275
+ /** The event type. */
276
+ type: "key-up";
277
+ }
278
+
279
+ export interface PointerEventCommon extends ViewEvent<PointerEvent> {
280
+ /** Indicates which mouse button was clicked. */
281
+ button: MouseButton;
282
+ /**
283
+ * Indicates which mouse buttons are pressed when the event is triggered.
284
+ * See [MouseEvent.buttons](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/buttons).
285
+ */
286
+ buttons: number;
287
+ /**
288
+ * Uniquely identifies a pointer between multiple down, move, and up events.
289
+ * Ids might get reused after a pointer-up event.
290
+ */
291
+ pointerId: PointerId;
292
+ /** Indicates the pointer type. */
293
+ pointerType: PointerType;
294
+ /** The horizontal screen coordinate of the pointer on the view. */
295
+ x: number;
296
+ /** The vertical screen coordinate of the pointer on the view. */
297
+ y: number;
298
+ }
299
+
300
+ export interface PointerDownEvent extends PointerEventCommon {
301
+ /** The event type. */
302
+ type: "pointer-down";
303
+ }
304
+
305
+ export interface PointerMoveEvent extends PointerEventCommon {
306
+ /** The event type. */
307
+ type: "pointer-move";
308
+ }
309
+
310
+ export interface PointerUpEvent extends PointerEventCommon {
311
+ /** The event type. */
312
+ type: "pointer-up";
313
+ }
314
+
315
+ export interface PointerEnterEvent extends PointerEventCommon {
316
+ /** The event type. */
317
+ type: "pointer-enter";
318
+ }
319
+
320
+ export interface PointerLeaveEvent extends PointerEventCommon {
321
+ /** The event type. */
322
+ type: "pointer-leave";
323
+ }
324
+
325
+ export interface ViewMouseWheelEvent extends ViewEvent<WheelEvent> {
326
+ /** Number representing the vertical scroll amount. */
327
+ deltaY: number;
328
+ /** The event type. */
329
+ type: "mouse-wheel";
330
+ /** The horizontal screen coordinate of the click on the view. */
331
+ x: number;
332
+ /** The vertical screen coordinate of the click on the view. */
333
+ y: number;
334
+ }
335
+
336
+ export interface ViewFocusEvent extends ViewEvent<FocusEvent> {}
337
+
338
+ export interface ViewBlurEvent extends ViewEvent<FocusEvent> {}
339
+
340
+ export interface ViewResizeEvent {
341
+ /** The new measured view height in pixels */
342
+ height: number;
343
+ /** The previous view height in pixels */
344
+ oldHeight: number;
345
+ /** The previous view width in pixels */
346
+ oldWidth: number;
347
+ /** The new measured view width in pixels */
348
+ width: number;
349
+ }
350
+
351
+ export interface LayerViewCreateEvent {
352
+ /** The layer in the map for which the `layerView` was created. */
353
+ layer: Layer;
354
+ /**
355
+ * The LayerView rendered
356
+ * in the view representing the layer in `layer`.
357
+ */
358
+ layerView: LayerView;
359
+ }
360
+
361
+ export interface LayerViewCreateErrorEvent {
362
+ /** An error object describing why the layer view could not be created. */
363
+ error: Error;
364
+ /**
365
+ * The layer in the map for which the view emitting this event
366
+ * failed to create a layer view.
367
+ */
368
+ layer: Layer;
369
+ }
370
+
371
+ export interface LayerViewDestroyEvent {
372
+ /** The layer in the map for which the `layerView` was destroyed. */
373
+ layer: Layer;
374
+ /** The LayerView that was destroyed in the view. */
375
+ layerView: LayerView;
376
+ }
377
+
378
+ export interface ViewBaseEventTypes {
379
+ /**
380
+ * Fires after each layer in the map has a corresponding [LayerView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-LayerView.html) created
381
+ * and rendered in the view.
382
+ *
383
+ * @see [View#whenLayerView()](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-View.html#whenLayerView)
384
+ * @example
385
+ * // This function fires each time a layer view is created for a layer in
386
+ * // the map of the view.
387
+ * view.on("layerview-create", function(event) {
388
+ * // The event contains the layer and its layer view that has just been
389
+ * // created. Here we check for the creation of a layer view for a layer with
390
+ * // a specific id, and log the layer view
391
+ * if (event.layer.id === "satellite") {
392
+ * // The LayerView for the desired layer
393
+ * console.log(event.layerView);
394
+ * }
395
+ * });
396
+ */
397
+ "layerview-create": LayerViewCreateEvent;
398
+ /**
399
+ * Fires when an error occurs during the creation of a [LayerView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-LayerView.html)
400
+ * after a layer has been added to the map.
401
+ *
402
+ * @see [View#whenLayerView()](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-View.html#whenLayerView)
403
+ * @example
404
+ * // This function fires each time an error occurs during the creation of a layerview
405
+ * view.on("layerview-create-error", function(event) {
406
+ * console.error("LayerView failed to create for layer with the id: ", event.layer.id);
407
+ * });
408
+ */
409
+ "layerview-create-error": LayerViewCreateErrorEvent;
410
+ /**
411
+ * Fires after a [LayerView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-LayerView.html) is destroyed and is
412
+ * no longer rendered in the view. This happens for example when a layer is
413
+ * removed from the map of the view.
414
+ */
415
+ "layerview-destroy": LayerViewDestroyEvent;
416
+ /**
417
+ * Fires when the view's size changes.
418
+ *
419
+ * @see [MapView#size](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#size)
420
+ * @see [MapView#height](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#height)
421
+ * @see [MapView#width](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#width)
422
+ */
423
+ resize: ViewResizeEvent;
424
+ }
425
+
426
+ export interface ViewEventTypes extends ViewBaseEventTypes {
427
+ /**
428
+ * Fires when browser focus is moved away from the view.
429
+ *
430
+ * @since 4.7
431
+ */
432
+ blur: ViewBlurEvent;
433
+ /**
434
+ * Fires after a user clicks on the view. This event emits slightly slower than an
435
+ * [View#@immediate-click](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-View.html#event-immediate-click) event to make sure that a [View#@double-click](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-View.html#event-double-click)
436
+ * event isn't triggered instead. The [View#@immediate-click](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-View.html#event-immediate-click) event can be used
437
+ * for responding to a click event without delay.
438
+ *
439
+ * @see [Sample: Access features with click events](https://developers.arcgis.com/javascript/latest/sample-code/view-hittest/)
440
+ * @example
441
+ * view.on("click", function(event){
442
+ * // event is the event object returned after the event fires
443
+ *
444
+ * // Prints the map coordinates of the clicked location
445
+ * console.log(event.mapPoint);
446
+ * });
447
+ * @example
448
+ * // Set up a click event handler and retrieve the screen point
449
+ * view.on("click", function(event) {
450
+ * // the hitTest() checks to see if any graphics in the view
451
+ * // intersect the given screen x, y coordinates
452
+ * view.hitTest(event)
453
+ * .then(getGraphics);
454
+ * });
455
+ * @example
456
+ * view.on("click", function(event) {
457
+ * // you must overwrite default click-for-popup
458
+ * // behavior to display your own popup
459
+ * view.popupEnabled = false;
460
+ *
461
+ * // Get the coordinates of the click on the view
462
+ * let lat = Math.round(event.mapPoint.latitude * 1000) / 1000;
463
+ * let lon = Math.round(event.mapPoint.longitude * 1000) / 1000;
464
+ *
465
+ * view.popup.open({
466
+ * // Set the popup's title to the coordinates of the location
467
+ * title: "Reverse geocode: [" + lon + ", " + lat + "]",
468
+ * location: event.mapPoint // Set the location of the popup to the clicked location
469
+ * content: "This is a point of interest" // content displayed in the popup
470
+ * });
471
+ * });
472
+ */
473
+ click: ClickEvent;
474
+ /**
475
+ * Fires after double-clicking on the view.
476
+ *
477
+ * @example
478
+ * view.on("double-click", function(event) {
479
+ * // The event object contains the mapPoint and the screen coordinates of the location
480
+ * // that was clicked.
481
+ * console.log("screen point", event.x, event.y);
482
+ * console.log("map point", event.mapPoint);
483
+ * });
484
+ */
485
+ "double-click": DoubleClickEvent;
486
+ /**
487
+ * Fires during a pointer drag on the view.
488
+ *
489
+ * @example
490
+ * view.on("drag", function(event){
491
+ * // Print out the current state of the
492
+ * // drag event.
493
+ * console.log("drag state", event.action);
494
+ * });
495
+ */
496
+ drag: DragEvent;
497
+ /**
498
+ * Fires when browser focus is on the view.
499
+ *
500
+ * @since 4.7
501
+ */
502
+ focus: ViewFocusEvent;
503
+ /**
504
+ * Fires after holding either a mouse button or a single finger on the view for a short amount of time.
505
+ *
506
+ * @example
507
+ * view.on("hold", function(event) {
508
+ * // The event object contains the mapPoint and the screen coordinates of the location
509
+ * // that was clicked.
510
+ * console.log("hold at screen point", event.x, event.y);
511
+ * console.log("hold at map point", event.mapPoint);
512
+ * });
513
+ */
514
+ hold: HoldEvent;
515
+ /**
516
+ * Fires right after a user clicks on the view. In contrast to the [View#@click](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-View.html#event-click) event,
517
+ * the `immediate-click` event is emitted as soon as the user clicks on
518
+ * the view, and is not inhibited by a [View#@double-click](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-View.html#event-double-click) event. This event
519
+ * is useful for interactive experiences that require feedback without delay.
520
+ *
521
+ * @since 4.7
522
+ * @example
523
+ * // Set up an immediate-click event handler and retrieve the screen point
524
+ * view.on("immediate-click", function(event) {
525
+ * // the hitTest() checks to see if any graphics in the view
526
+ * // intersect the given screen x, y coordinates
527
+ * view.hitTest(event)
528
+ * .then(getGraphics);
529
+ * });
530
+ */
531
+ "immediate-click": ImmediateClickEvent;
532
+ /**
533
+ * Is emitted after two consecutive [View#@immediate-click](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-View.html#event-immediate-click) events.
534
+ * In contrast to [View#@double-click](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-View.html#event-double-click), an `immediate-double-click` cannot
535
+ * be prevented by use of `stopPropagation` on the [View#@immediate-click](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-View.html#event-immediate-click)
536
+ * event and can therefore be used to react to double-clicking independently of usage of the
537
+ * [View#@immediate-click](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-View.html#event-immediate-click) event.
538
+ *
539
+ * @since 4.15
540
+ */
541
+ "immediate-double-click": ImmediateDoubleClickEvent;
542
+ /**
543
+ * Fires after a keyboard key is pressed.
544
+ *
545
+ * @example
546
+ * // Zoom in when user clicks on "a" button
547
+ * // Zoom out when user clicks on "s" button
548
+ * view.on("key-down", function(event){
549
+ * console.log("key-down", event);
550
+ *
551
+ * if (event.key === "a"){
552
+ * let zm = view.zoom + 1;
553
+ *
554
+ * view.goTo({
555
+ * target: view.center,
556
+ * zoom: zm
557
+ * });
558
+ * }
559
+ * else if(event.key == "s"){
560
+ * let zm = view.zoom - 1;
561
+ *
562
+ * view.goTo({
563
+ * target: view.center,
564
+ * zoom: zm
565
+ * });
566
+ * }
567
+ * });
568
+ */
569
+ "key-down": KeyDownEvent;
570
+ /** Fires after a keyboard key is released. */
571
+ "key-up": KeyUpEvent;
572
+ /**
573
+ * Fires when a wheel button of a pointing device (typically a mouse) is scrolled on the view.
574
+ *
575
+ * @example
576
+ * view.on("mouse-wheel", function(event){
577
+ * // deltaY value is positive when wheel is scrolled up
578
+ * // and it is negative when wheel is scrolled down.
579
+ * console.log(event.deltaY);
580
+ * });
581
+ */
582
+ "mouse-wheel": ViewMouseWheelEvent;
583
+ /** Fires after a mouse button is pressed, or a finger touches the display. */
584
+ "pointer-down": PointerDownEvent;
585
+ /** Fires after a mouse cursor enters the view, or a display touch begins. */
586
+ "pointer-enter": PointerEnterEvent;
587
+ /** Fires after a mouse cursor leaves the view, or a display touch ends. */
588
+ "pointer-leave": PointerLeaveEvent;
589
+ /**
590
+ * Fires after the mouse or a finger on the display moves.
591
+ *
592
+ * @example
593
+ * // Fires `pointer-move` event when user clicks on "Shift"
594
+ * // key and moves the pointer on the view.
595
+ * view.on('pointer-move', ["Shift"], function(event){
596
+ * let point = view.toMap({x: event.x, y: event.y});
597
+ * bufferPoint(point);
598
+ * });
599
+ */
600
+ "pointer-move": PointerMoveEvent;
601
+ /** Fires after a mouse button is released, or a display touch ends. */
602
+ "pointer-up": PointerUpEvent;
603
+ }
@@ -4,7 +4,7 @@ import type BuildingComponentSublayerView from "./BuildingComponentSublayerView.
4
4
  import type LayerView from "./LayerView.js";
5
5
  import type { ResourceHandle } from "../../core/Handles.js";
6
6
  import type { HighlightTarget } from "../types.js";
7
- import type { LayerViewHighlightOptions } from "./HighlightableLayerView.js";
7
+ import type { LayerViewHighlightOptions } from "./types.js";
8
8
  import type { LayerViewProperties } from "./LayerView.js";
9
9
 
10
10
  export interface BuildingSceneLayerViewProperties extends LayerViewProperties {}
@@ -6,7 +6,7 @@ import type FeatureSet from "../../rest/support/FeatureSet.js";
6
6
  import type Query from "../../rest/support/Query.js";
7
7
  import type { AbortOptions } from "../../core/promiseUtils.js";
8
8
  import type { QueryProperties } from "../../rest/support/Query.js";
9
- import type { ObjectId } from "../IObjectId.js";
9
+ import type { ObjectId } from "../types.js";
10
10
  import type { FeatureEffectProperties } from "../../layers/support/FeatureEffect.js";
11
11
  import type { FeatureFilterProperties } from "../../layers/support/FeatureFilter.js";
12
12
 
@@ -2,7 +2,7 @@ import type HighlightOptions from "../support/HighlightOptions.js";
2
2
  import type { ResourceHandle } from "../../core/Handles.js";
3
3
  import type { PixelData } from "../../layers/support/types.js";
4
4
  import type { PixelHighlightTarget, HighlightTarget } from "../types.js";
5
- import type { LayerViewHighlightOptions } from "./HighlightableLayerView.js";
5
+ import type { LayerViewHighlightOptions } from "./types.js";
6
6
  import type { HighlightOptionsProperties } from "../support/HighlightOptions.js";
7
7
 
8
8
  export interface ImageryLayerViewMixinProperties {
@@ -2,7 +2,7 @@ import type MediaLayer from "../../layers/MediaLayer.js";
2
2
  import type { ResourceHandle } from "../../core/Handles.js";
3
3
  import type { MediaElement } from "../../layers/support/media.js";
4
4
  import type { MediaLayerInteractionOptions, MediaLayerInteractionOptionsProperties } from "../3d/layers/support/MediaLayerInteractionOptions.js";
5
- import type { LayerViewHighlightOptions } from "./HighlightableLayerView.js";
5
+ import type { LayerViewHighlightOptions } from "./types.js";
6
6
 
7
7
  export interface MediaLayerViewMixinProperties extends Partial<Pick<MediaLayerViewMixin, "interactive" | "selectedElement">> {
8
8
  /**
@@ -7,7 +7,7 @@ import type { ResourceHandle } from "../../core/Handles.js";
7
7
  import type { AbortOptions } from "../../core/promiseUtils.js";
8
8
  import type { QueryProperties } from "../../rest/support/Query.js";
9
9
  import type { HighlightTarget } from "../types.js";
10
- import type { LayerViewHighlightOptions } from "./HighlightableLayerView.js";
10
+ import type { LayerViewHighlightOptions } from "./types.js";
11
11
 
12
12
  export interface PointCloudLayerViewMixinProperties {}
13
13
 
@@ -8,8 +8,8 @@ import type LayerView from "./LayerView.js";
8
8
  import type { ResourceHandle } from "../../core/Handles.js";
9
9
  import type { AbortOptions } from "../../core/promiseUtils.js";
10
10
  import type { QueryProperties } from "../../rest/support/Query.js";
11
- import type { ObjectId } from "../IObjectId.js";
12
- import type { LayerViewHighlightOptions } from "./HighlightableLayerView.js";
11
+ import type { ObjectId } from "../types.js";
12
+ import type { LayerViewHighlightOptions } from "./types.js";
13
13
  import type { FeatureFilterProperties } from "../../layers/support/FeatureFilter.js";
14
14
  import type { LayerViewProperties } from "./LayerView.js";
15
15