@arcgis/core 5.1.0-next.126 → 5.1.0-next.128

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 (470) hide show
  1. package/applications/Urban/editingSessionUtils.js +1 -1
  2. package/arcade/featureSetUtils.js +1 -1
  3. package/arcade/featureset/sources/FeatureLayerDynamic.js +1 -1
  4. package/arcade/featureset/sources/FeatureLayerParquet.js +2 -0
  5. package/arcade/featureset/support/FeatureSet.js +1 -1
  6. package/arcade/featureset/support/shared.js +1 -1
  7. package/arcade.d.ts +2 -1
  8. package/arcgisGlobal.d.ts +6 -4
  9. package/assets/esri/core/workers/RemoteClient.js +1 -1
  10. package/assets/esri/core/workers/chunks/01ba5319cac3e0f14205.js +1 -0
  11. package/assets/esri/core/workers/chunks/02a94efda13d9b683272.js +1 -0
  12. package/assets/esri/core/workers/chunks/05e1f1628a3726eca03d.js +1 -0
  13. package/assets/esri/core/workers/chunks/{81808c3aead7dfac3049.js → 07ca020796c57cefda62.js} +1 -1
  14. package/assets/esri/core/workers/chunks/08dfe61c75f0032db4d4.js +1 -0
  15. package/assets/esri/core/workers/chunks/0a1037fdc8c7bf8d0e7e.js +1 -0
  16. package/assets/esri/core/workers/chunks/{ac33b10fe65f9e9e824f.js → 0acf8df4e9556d05136c.js} +1 -1
  17. package/assets/esri/core/workers/chunks/0b45d34938fa7862f746.js +1 -0
  18. package/assets/esri/core/workers/chunks/0fe57b2d06368d3f68c9.js +1 -0
  19. package/assets/esri/core/workers/chunks/10605362b74cc63bd8a2.js +1 -0
  20. package/assets/esri/core/workers/chunks/11c3b1e8ca21ad62fdd1.js +1 -0
  21. package/assets/esri/core/workers/chunks/{7c6f4104f5325ce0afbc.js → 183b7664c68babd90fc8.js} +1 -1
  22. package/assets/esri/core/workers/chunks/{c187bc997bad61b6c6e9.js → 18d1ac2165a84c42e98f.js} +1 -1
  23. package/assets/esri/core/workers/chunks/1a0903b1d2d5101977c6.js +1 -0
  24. package/assets/esri/core/workers/chunks/{0b169bb1969f86232a1a.js → 1b03e10a6b721365acbb.js} +1 -1
  25. package/assets/esri/core/workers/chunks/{100130a80bc151f2e493.js → 1b07d7656ffcf53cba2b.js} +1 -1
  26. package/assets/esri/core/workers/chunks/1bd49e8d2657c72bf3f9.js +1 -0
  27. package/assets/esri/core/workers/chunks/1d38b2fcd85ac9ebd7c6.js +1 -0
  28. package/assets/esri/core/workers/chunks/1d91e69483c3ceec3c4d.js +1 -0
  29. package/assets/esri/core/workers/chunks/1effde6a39ef0d4af525.js +1 -0
  30. package/assets/esri/core/workers/chunks/{0f75c19d8e296a32e329.js → 1ff57bf19f021f5fd246.js} +1 -1
  31. package/assets/esri/core/workers/chunks/268243ee64d001009f78.js +1 -0
  32. package/assets/esri/core/workers/chunks/26aa8190ac439f634c5b.js +1 -0
  33. package/assets/esri/core/workers/chunks/2b781de7b467c61849b2.js +1 -0
  34. package/assets/esri/core/workers/chunks/2c4f10eaf02ef090ee8f.js +1 -0
  35. package/assets/esri/core/workers/chunks/309fcc46da0b4393960e.js +1 -0
  36. package/assets/esri/core/workers/chunks/314bc1b356d43bfa72a8.js +1 -0
  37. package/assets/esri/core/workers/chunks/{03e93c18efc67a25ca63.js → 35c4037b8eea067d9638.js} +1 -1
  38. package/assets/esri/core/workers/chunks/39a10b2092a98083f4cf.js +1 -0
  39. package/assets/esri/core/workers/chunks/{96e46424c3fb1dd9ce3b.js → 3a284a81d1fdfae2dc77.js} +1 -1
  40. package/assets/esri/core/workers/chunks/3b9174de370b187a0985.js +1 -0
  41. package/assets/esri/core/workers/chunks/3bd32387af52fa48d747.js +1 -0
  42. package/assets/esri/core/workers/chunks/3d4bb539bf939fcdeef9.js +1 -0
  43. package/assets/esri/core/workers/chunks/3d83ac791212b81c9d11.js +1 -0
  44. package/assets/esri/core/workers/chunks/3dc6e9494af16f7b8009.js +1 -0
  45. package/assets/esri/core/workers/chunks/3ecb906322a6a5c8c93b.js +1 -0
  46. package/assets/esri/core/workers/chunks/3f67162456a1f02190fa.js +1 -0
  47. package/assets/esri/core/workers/chunks/{d63f532dd7d60ee8ef2c.js → 42e5e00610f281ca8ffa.js} +1 -1
  48. package/assets/esri/core/workers/chunks/{73c355b895fd6a34fcb8.js → 45b560ca01fb566ba560.js} +1 -1
  49. package/assets/esri/core/workers/chunks/{d36b407f5ad5eabac530.js → 4a9e34fe9a16b1850876.js} +28 -28
  50. package/assets/esri/core/workers/chunks/{e25bcfdd8f20f8a08b19.js → 4d57c771af4137f74bfb.js} +1 -1
  51. package/assets/esri/core/workers/chunks/4e59e5a5d0ff887ff899.js +1 -0
  52. package/assets/esri/core/workers/chunks/4e788fc6cb2ea936f676.js +1 -0
  53. package/assets/esri/core/workers/chunks/4efef5fa8bf23aaf34cd.js +1 -0
  54. package/assets/esri/core/workers/chunks/511b9c12a7479d39dac0.js +1 -0
  55. package/assets/esri/core/workers/chunks/51a53011478e0cf96e0b.js +1 -0
  56. package/assets/esri/core/workers/chunks/5282705a4b515d38ebde.js +1 -0
  57. package/assets/esri/core/workers/chunks/53c8062f4573fa64c49d.js +1 -0
  58. package/assets/esri/core/workers/chunks/599bd80379423c99799d.js +1 -0
  59. package/assets/esri/core/workers/chunks/5aba23584e0b230c75f5.js +1 -0
  60. package/assets/esri/core/workers/chunks/{77214e6081c1c28f1345.js → 6144f59bc0ba153a82d3.js} +1 -1
  61. package/assets/esri/core/workers/chunks/65cc9a48ac95523f7aa8.js +1 -0
  62. package/assets/esri/core/workers/chunks/66392ff750c28064040a.js +1 -0
  63. package/assets/esri/core/workers/chunks/668d84dc512b3085a960.js +1 -0
  64. package/assets/esri/core/workers/chunks/{d3c760109a70a71448c5.js → 67773a9f031d9f1d672f.js} +1 -1
  65. package/assets/esri/core/workers/chunks/67bf361d0b5cfd6b53da.js +1 -0
  66. package/assets/esri/core/workers/chunks/68b77b36daae2b4b4237.js +1 -0
  67. package/assets/esri/core/workers/chunks/6f5a82388a5eb5fcf1b7.js +1 -0
  68. package/assets/esri/core/workers/chunks/70b5e0fce22122a7ccc2.js +1 -0
  69. package/assets/esri/core/workers/chunks/{b606af35a4fb893b762c.js → 71a48f597fda322ea56f.js} +1 -1
  70. package/assets/esri/core/workers/chunks/71c996e1ae84d9daddf2.js +1 -0
  71. package/assets/esri/core/workers/chunks/73b0edabddbb72fe1104.js +1 -0
  72. package/assets/esri/core/workers/chunks/753e0b21e57c12c742ee.js +1 -0
  73. package/assets/esri/core/workers/chunks/{8b0a01ebc86ab226f01f.js → 75b4c27ca02b124a713c.js} +1 -1
  74. package/assets/esri/core/workers/chunks/764c8ba14ab74b66b391.js +1 -0
  75. package/assets/esri/core/workers/chunks/7a1f65511bce26e6b770.js +1 -0
  76. package/assets/esri/core/workers/chunks/7f849c8255140be6097f.js +1 -0
  77. package/assets/esri/core/workers/chunks/{cc697c4d9cdc116373dc.js → 81726d997a2d34449bb2.js} +1 -1
  78. package/assets/esri/core/workers/chunks/{74e1826ad9e2c4fd3b42.js → 81883bca8a79ee2ddb00.js} +1 -1
  79. package/assets/esri/core/workers/chunks/831455798b177678720c.js +1 -0
  80. package/assets/esri/core/workers/chunks/85505a8b8b0794656d06.js +1 -0
  81. package/assets/esri/core/workers/chunks/8570d1c7159b5a84d56c.js +1 -0
  82. package/assets/esri/core/workers/chunks/{5bd7ee40a1c469c24013.js → 86cad656a6a473982109.js} +2 -2
  83. package/assets/esri/core/workers/chunks/{9331969046f2b277d620.js → 8a39dd585742960d3ca2.js} +1 -1
  84. package/assets/esri/core/workers/chunks/{5cb1b950249d651f3837.js → 8dcb3e77f76d8396706b.js} +1 -1
  85. package/assets/esri/core/workers/chunks/{3ff7aa216cd794d951e8.js → 8e99f937fd36cf2cd05f.js} +1 -1
  86. package/assets/esri/core/workers/chunks/8f25d91ea7b99597124e.js +1 -0
  87. package/assets/esri/core/workers/chunks/92341f36a8b15f34bcca.js +1 -0
  88. package/assets/esri/core/workers/chunks/93d08d82ceab19e314f8.js +1 -0
  89. package/assets/esri/core/workers/chunks/96f58e0157b960f6ee22.js +1 -0
  90. package/assets/esri/core/workers/chunks/{bf706a5d065a357de51b.js → 993fee0e91303eb1f01f.js} +1 -1
  91. package/assets/esri/core/workers/chunks/9da1a514e042eb642d35.js +1 -0
  92. package/assets/esri/core/workers/chunks/9f93c29af2a18f7cb160.js +1 -0
  93. package/assets/esri/core/workers/chunks/{00da56b977a7c61b5c94.js → 9fd61a387bd6603da299.js} +1 -1
  94. package/assets/esri/core/workers/chunks/a0208e35b217808777c4.js +1 -0
  95. package/assets/esri/core/workers/chunks/a18cb809dd56c5537b3b.js +1 -0
  96. package/assets/esri/core/workers/chunks/{52175ff9e8c2c136f90a.js → a3ecde3794a7db3cf283.js} +1 -1
  97. package/assets/esri/core/workers/chunks/{c9fefb6316c51cbdc61f.js → a4cdcb0b06242a95722a.js} +1 -1
  98. package/assets/esri/core/workers/chunks/a892b3be70f482bef0ba.js +1 -0
  99. package/assets/esri/core/workers/chunks/a8ef7acb6d3d1f45e14c.js +1 -0
  100. package/assets/esri/core/workers/chunks/aa5f36d7ed59c625ba78.js +1 -0
  101. package/assets/esri/core/workers/chunks/ac5032253c752768021b.js +2 -0
  102. package/assets/esri/core/workers/chunks/ac7ecd90330090c90005.js +1 -0
  103. package/assets/esri/core/workers/chunks/b1524f23e6cee5301a14.js +1 -0
  104. package/assets/esri/core/workers/chunks/{c983e5ce0ff952b65d7f.js → b2b342b06d502fc61ea5.js} +1 -1
  105. package/assets/esri/core/workers/chunks/b3c8aa11ae7f63cb6d74.js +1 -0
  106. package/assets/esri/core/workers/chunks/b590402170ae289290d7.js +1 -0
  107. package/assets/esri/core/workers/chunks/b75a4753cea6544da8bb.js +1 -0
  108. package/assets/esri/core/workers/chunks/b775a0d8894930af4983.js +1 -0
  109. package/assets/esri/core/workers/chunks/bbcad2fde838819ffc7b.js +1 -0
  110. package/assets/esri/core/workers/chunks/{1a527c0740d9f4fa0791.js → bc547cf814d6703cef59.js} +1 -1
  111. package/assets/esri/core/workers/chunks/bd36c57dd0cd28dee55f.js +30 -0
  112. package/assets/esri/core/workers/chunks/be1d2c3a61e6447fbbc7.js +1 -0
  113. package/assets/esri/core/workers/chunks/be8340d5ae5e662c2671.js +1 -0
  114. package/assets/esri/core/workers/chunks/bf6ae205fbfbfcd1a0ee.js +1 -0
  115. package/assets/esri/core/workers/chunks/bfa6f4c08e7571bb1f37.js +1 -0
  116. package/assets/esri/core/workers/chunks/c030cdb4cdb08cb51501.js +262 -0
  117. package/assets/esri/core/workers/chunks/c148ad0ea9258046ac1f.js +1 -0
  118. package/assets/esri/core/workers/chunks/c2cbc2a920e6e199533a.js +1 -0
  119. package/assets/esri/core/workers/chunks/c8460bdf60aca749ed05.js +30 -0
  120. package/assets/esri/core/workers/chunks/c9057b0ad2c2bae4a8ce.js +1 -0
  121. package/assets/esri/core/workers/chunks/cc0efa716b8414a44398.js +1 -0
  122. package/assets/esri/core/workers/chunks/{8f6833671c071b522923.js → cd66bd30f654fe571e57.js} +1 -1
  123. package/assets/esri/core/workers/chunks/cf41a66fb97c1076fb34.js +1 -0
  124. package/assets/esri/core/workers/chunks/cf9a132c4c37e62de3d7.js +1 -0
  125. package/assets/esri/core/workers/chunks/d3be4d914fc99a1d686c.js +1 -0
  126. package/assets/esri/core/workers/chunks/d6145cd7e7c5346f62ec.js +1 -0
  127. package/assets/esri/core/workers/chunks/d6911e9453532501f460.js +1 -0
  128. package/assets/esri/core/workers/chunks/{8407c91cce31e087b41b.js → d750e4abeb777caa8c36.js} +1 -1
  129. package/assets/esri/core/workers/chunks/dada22a4350e9ddaf850.js +30 -0
  130. package/assets/esri/core/workers/chunks/{6675d56f49d07a97dc40.js → dd0c1cf921369e2bc48b.js} +1 -1
  131. package/assets/esri/core/workers/chunks/e656fd5ecf9ac059a87b.js +1 -0
  132. package/assets/esri/core/workers/chunks/{7a474ce61cf484df87b4.js → e80376832050a4b6d28a.js} +1 -1
  133. package/assets/esri/core/workers/chunks/e9acc05b0cf9e05f31a8.js +1 -0
  134. package/assets/esri/core/workers/chunks/e9cd84ad0054e9fea448.js +1 -0
  135. package/assets/esri/core/workers/chunks/ead719bff4a94816a42e.js +1 -0
  136. package/assets/esri/core/workers/chunks/f116331c6eca937aac8e.js +1 -0
  137. package/assets/esri/core/workers/chunks/f116ff0121d28bbf7a23.js +1 -0
  138. package/assets/esri/core/workers/chunks/{3b837b512999e6ab24bc.js → f148666308071bdb185a.js} +1 -1
  139. package/assets/esri/core/workers/chunks/f23e995320674b32e142.js +1 -0
  140. package/assets/esri/core/workers/chunks/f27c7d5cb0937fe50acf.js +1 -0
  141. package/assets/esri/core/workers/chunks/f5f9f21c23c51e35ae65.js +1 -0
  142. package/assets/esri/core/workers/chunks/{893c0d28a5bf3f9f29f1.js → f93facf47aba9b128fcc.js} +1 -1
  143. package/assets/esri/core/workers/chunks/f955b35337a08f9f747d.js +1 -0
  144. package/assets/esri/core/workers/chunks/{f75295cdd5e84eb97d5a.js → f9d583785b3b09ace222.js} +1 -1
  145. package/assets/esri/core/workers/chunks/fa1336b60278017d2525.js +1 -0
  146. package/assets/esri/core/workers/chunks/fe6385115d76e16e8da0.js +1 -0
  147. package/assets/esri/rest/knowledgeGraph/wasmInterface/arcgis-knowledge-client-core-simd.wasm +0 -0
  148. package/assets/esri/rest/knowledgeGraph/wasmInterface/arcgis-knowledge-client-core.wasm +0 -0
  149. package/assets/esri/themes/base/widgets/_BatchAttributeForm.scss +5 -1
  150. package/assets/esri/themes/dark/main.css +1 -1
  151. package/assets/esri/themes/light/main.css +1 -1
  152. package/assets/esri/themes/light/view.css +1 -1
  153. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_fr.json +1 -1
  154. package/chunks/ComponentShader.glsl.js +11 -11
  155. package/chunks/GaussianSplatComposition.glsl.js +1 -1
  156. package/chunks/GlobalIlluminationBlur.glsl.js +8 -8
  157. package/chunks/OITBlend.glsl.js +1 -24
  158. package/chunks/OITBlendEmission.glsl.js +9 -9
  159. package/chunks/OITDimOpaque.glsl.js +3 -9
  160. package/chunks/arcgis-knowledge-client-core-simd.js +1 -1
  161. package/chunks/arcgis-knowledge-client-core.js +1 -1
  162. package/config.js +1 -1
  163. package/core/promiseUtils.d.ts +1 -1
  164. package/core/promiseUtils.js +1 -1
  165. package/core/reactiveUtils.d.ts +410 -109
  166. package/core/units.js +1 -1
  167. package/form/types.d.ts +1 -1
  168. package/geometry/Mesh.d.ts +220 -95
  169. package/geometry/operators/support/projectionZScaling.js +1 -1
  170. package/geometry/support/MeshGeoreferencedVertexSpace.d.ts +35 -13
  171. package/geometry/support/MeshLocalVertexSpace.d.ts +32 -8
  172. package/geometry/support/MeshVertexAttributes.d.ts +6 -2
  173. package/geometry/support/heightModelInfoUtils.js +1 -1
  174. package/geometry/support/zscale.js +1 -1
  175. package/graphic/{AnnotationGraphicOrigin.d.ts → AnnotationFeatureGraphicOrigin.d.ts} +12 -9
  176. package/graphic/AnnotationFeatureGraphicOrigin.js +2 -0
  177. package/graphic/DimensionFeatureGraphicOrigin.js +1 -1
  178. package/graphic/graphicOrigins.js +1 -1
  179. package/graphic/isAnnotationFeatureGraphicOrigin.d.ts +29 -0
  180. package/graphic/isAnnotationFeatureGraphicOrigin.js +2 -0
  181. package/graphic/isDimensionFeatureGraphicOrigin.d.ts +29 -0
  182. package/graphic/isDimensionFeatureGraphicOrigin.js +2 -0
  183. package/interfaces.d.ts +6 -6
  184. package/kernel.js +1 -1
  185. package/layers/{AnnotationLayer.d.ts → AnnotationFeatureLayer.d.ts} +97 -24
  186. package/layers/AnnotationFeatureLayer.js +2 -0
  187. package/layers/GaussianSplatLayer.d.ts +4 -1
  188. package/layers/ParquetLayer.js +1 -1
  189. package/layers/graphics/data/queryUtils.js +1 -1
  190. package/layers/graphics/sources/MemorySource.js +1 -1
  191. package/layers/graphics/sources/ParquetSource.js +1 -1
  192. package/layers/graphics/sources/support/ParquetSourceWorker.js +1 -1
  193. package/layers/mixins/OperationalLayer.js +1 -1
  194. package/layers/save/featureLayerUtils.js +1 -1
  195. package/layers/support/AnnotationFeatureSublayer.d.ts +44 -0
  196. package/layers/support/AnnotationFeatureSublayer.js +2 -0
  197. package/layers/support/ExportImageServiceParameters.js +1 -1
  198. package/layers/support/ParquetPortalItemData.js +1 -1
  199. package/layers/support/arcgisLayers.js +1 -1
  200. package/layers/support/fetchService.js +1 -1
  201. package/layers/support/layerUtils.js +1 -1
  202. package/layers/support/layersLoader.js +1 -1
  203. package/layers/support/layersMapping.js +1 -1
  204. package/layers/support/schemaValidator.js +1 -1
  205. package/layers/types.d.ts +1 -1
  206. package/networks/support/networkFieldUtils.js +1 -1
  207. package/package.json +3 -3
  208. package/portal/schemas/definitions.js +1 -1
  209. package/portal/schemas/gaussianSplatLayerItem.js +2 -0
  210. package/portal/schemas/integratedMesh3DTilesLayerItem.js +1 -1
  211. package/portal/support/loadUtils.js +1 -1
  212. package/rest/knowledgeGraph/ReplicaDefinition.d.ts +0 -2
  213. package/rest/knowledgeGraph/wasmInterface/replicaToWasmEncodedFactories.js +1 -1
  214. package/rest/knowledgeGraph/wasmInterface/wasmToReplicaFactories.js +1 -1
  215. package/rest/knowledgeGraphService.js +1 -1
  216. package/rest/print.js +1 -1
  217. package/rest/support/AttributeBinsQuery.js +1 -1
  218. package/rest/support/Query.js +1 -1
  219. package/rest/support/TopFeaturesQuery.js +1 -1
  220. package/smartMapping/renderers/location.js +1 -1
  221. package/smartMapping/renderers/predominance.js +1 -1
  222. package/smartMapping/renderers/support/regenerateUtils.js +1 -1
  223. package/smartMapping/renderers/support/rendererUtils.d.ts +3 -1
  224. package/smartMapping/renderers/support/rendererUtils.js +1 -1
  225. package/support/revision.js +1 -1
  226. package/symbols/WebStyleSymbol.js +1 -1
  227. package/symbols/support/symbolUtils.js +1 -1
  228. package/symbols/support/webStyleSymbolCache.js +2 -0
  229. package/undoredo/support/ApplySet.js +1 -1
  230. package/undoredo/support/ApplySetItem.js +1 -1
  231. package/views/2d/engine/vectorTiles/VectorTileContainer.js +1 -1
  232. package/views/2d/engine/webgl/shaderGraph/techniques/animated/AAnimatedShader.js +1 -1
  233. package/views/2d/engine/webgl/shaderGraph/techniques/animated/AnimatedMarkerMeshWriter.js +1 -1
  234. package/views/2d/engine/webgl/shaderGraph/techniques/animated/attributes.js +1 -1
  235. package/views/2d/engine/webgl/shaderGraph/techniques/vectorTiles/VTLTechniqueBackground.js +1 -1
  236. package/views/2d/engine/webgl/shaders/sources/shaderRepository.js +1 -1
  237. package/views/2d/engine/webgl/util/createMatcher.js +1 -1
  238. package/views/2d/layerViewModuleImportUtils.js +1 -1
  239. package/views/2d/layers/AnnotationFeatureLayerView2D.js +2 -0
  240. package/views/2d/layers/FeatureLikeLayerView2D.js +1 -1
  241. package/views/2d/layers/TileLayerView2D.js +1 -1
  242. package/views/2d/layers/features/layerAdapters/AnnotationLayerAdapter.js +1 -1
  243. package/views/2d/layers/features/sources/strategies/support/queryAdapters.js +1 -1
  244. package/views/2d/layers/support/annodime/annotationSchema.js +1 -1
  245. package/views/2d/types.d.ts +2 -2
  246. package/views/3d/analysis/LineOfSight/LineOfSightTool.js +1 -1
  247. package/views/3d/interactive/visualElements/DrapedVisualElementResources.js +1 -1
  248. package/views/3d/layerViewModuleImportUtils.js +1 -1
  249. package/views/3d/layers/IntegratedMesh3DTilesLayerView3D.js +1 -1
  250. package/views/3d/layers/graphics/Graphics3DIconSymbolLayer.js +1 -1
  251. package/views/3d/support/GaussianSplatSortWorker.js +1 -1
  252. package/views/3d/support/GaussianSplatWorkerHandle.js +1 -1
  253. package/views/3d/support/gaussianSplatting/GaussianSplatDataStore.js +1 -1
  254. package/views/3d/support/gaussianSplatting/GaussianSplatOrderTexture.js +1 -1
  255. package/views/3d/support/gaussianSplatting/GaussianSplatTextureAtlas.js +1 -1
  256. package/views/3d/terrain/Tile.js +1 -1
  257. package/views/3d/terrain/isTerrainSurfaceLayer.js +1 -1
  258. package/views/3d/types.d.ts +1 -1
  259. package/views/3d/webgl-engine/collections/Component/Material/ComponentShader.glsl.js +1 -1
  260. package/views/3d/webgl-engine/core/shaderLibrary/TextureBackedBuffer.glsl.js +7 -7
  261. package/views/3d/webgl-engine/core/shaderLibrary/TextureBackedBufferFields.glsl.js +29 -20
  262. package/views/3d/webgl-engine/core/shaderLibrary/shading/Gamma.glsl.js +2 -2
  263. package/views/3d/webgl-engine/core/shaderLibrary/util/EmissionDimming.glsl.js +1 -1
  264. package/views/3d/webgl-engine/core/shaderLibrary/util/GaussianSplatTextureFetch.glsl.js +6 -8
  265. package/views/3d/webgl-engine/core/shaderTechnique/ShaderTechniqueRepository.js +1 -1
  266. package/views/3d/webgl-engine/effects/fog/FogTechniqueConfiguration.js +1 -1
  267. package/views/3d/webgl-engine/effects/globalIllumination/GlobalIlluminationBlur.glsl.js +1 -1
  268. package/views/3d/webgl-engine/effects/glow/Glow.js +1 -1
  269. package/views/3d/webgl-engine/effects/glow/GlowBlurTechniqueConfiguration.js +1 -1
  270. package/views/3d/webgl-engine/effects/glow/GlowCompositionTechniqueConfiguration.js +1 -1
  271. package/views/3d/webgl-engine/effects/smaa/SMAA.js +1 -1
  272. package/views/3d/webgl-engine/effects/transparency/OITBlend.glsl.js +1 -1
  273. package/views/3d/webgl-engine/effects/transparency/OITBlend.js +1 -1
  274. package/views/3d/webgl-engine/effects/transparency/OITBlendEmission.glsl.js +1 -1
  275. package/views/3d/webgl-engine/effects/transparency/OITBlendEmissionTechnique.js +1 -1
  276. package/views/3d/webgl-engine/effects/transparency/OITBlendFragmentTechniqueConfiguration.js +2 -0
  277. package/views/3d/webgl-engine/effects/transparency/OITBlendTechnique.js +1 -1
  278. package/views/3d/webgl-engine/effects/transparency/OITBlendTechniqueConfiguration.js +1 -1
  279. package/views/3d/webgl-engine/effects/transparency/OITDimOpaque.glsl.js +1 -1
  280. package/views/3d/webgl-engine/effects/transparency/OITDimOpaqueTechnique.js +1 -1
  281. package/views/3d/webgl-engine/effects/transparency/oitBlendFragment.glsl.js +2 -0
  282. package/views/3d/webgl-engine/lib/Compositor.js +1 -1
  283. package/views/3d/webgl-engine/lib/GaussianSplatRenderNode.js +1 -1
  284. package/views/3d/webgl-engine/lib/Material.js +1 -1
  285. package/views/3d/webgl-engine/lib/Renderer.js +1 -1
  286. package/views/3d/webgl-engine/lib/TextureBackedBuffer/TexelFormatInfo.js +2 -0
  287. package/views/3d/webgl-engine/lib/TextureBackedBuffer/TextureBackedBufferFieldCreation.js +1 -1
  288. package/views/3d/webgl-engine/lib/TextureBackedBuffer/TextureBackedBufferLayout.js +1 -1
  289. package/views/3d/webgl-engine/lib/TextureBackedBuffer/TextureBuffer.js +1 -1
  290. package/views/3d/webgl-engine/lib/lodRendering/LodComponentData.js +1 -1
  291. package/views/3d/webgl-engine/lib/lodRendering/LodLevel.js +1 -1
  292. package/views/3d/webgl-engine/lib/lodRendering/LodRenderer.js +1 -1
  293. package/views/3d/webgl-engine/materials/ColorMaterial.js +1 -1
  294. package/views/3d/webgl-engine/materials/DefaultMaterial.js +1 -1
  295. package/views/3d/webgl-engine/materials/PathMaterial.js +1 -1
  296. package/views/3d/webgl-engine/materials/PatternMaterial.js +1 -1
  297. package/views/3d/webgl-engine/materials/RibbonLineMaterial.js +1 -1
  298. package/views/3d/webgl-engine/materials/renderers/MergedRenderer.js +1 -1
  299. package/views/3d/webgl-engine/shaders/GaussianSplatCompositionTechniqueConfiguration.js +1 -1
  300. package/views/3d/webgl-engine/shaders/OutputColorHighlightOLID.glsl.js +1 -1
  301. package/views/3d/webgl-engine/shaders/alphaCutoff.glsl.js +1 -1
  302. package/views/3d/webgl-engine/shaders/oitResolution.glsl.js +1 -1
  303. package/views/View2D.d.ts +2 -3
  304. package/views/draw/support/editingSessionUtils.js +1 -1
  305. package/views/layers/{AnnotationLayerView.d.ts → AnnotationFeatureLayerView.d.ts} +6 -6
  306. package/views/layers/FeatureLikeLayerView.d.ts +2 -2
  307. package/views/layers/FeatureLikeLayerView.js +1 -1
  308. package/webdoc/support/writeUtils.js +1 -1
  309. package/webdoc/widgets/FloorFilter.d.ts +14 -1
  310. package/webdoc/widgets/FloorFilter.js +1 -1
  311. package/webscene/support/AlphaCutoff.js +1 -1
  312. package/widgets/AreaMeasurement2D/AreaMeasurement2DTool.js +1 -1
  313. package/widgets/BatchAttributeForm/BatchAttributeFormViewModel.d.ts +12 -4
  314. package/widgets/BatchAttributeForm/BatchAttributeFormViewModel.js +1 -1
  315. package/widgets/BatchAttributeForm/ReactiveGraphic.js +1 -1
  316. package/widgets/BatchAttributeForm/ValueChangeTransaction.js +2 -0
  317. package/widgets/BatchAttributeForm/VisibleElements.d.ts +8 -1
  318. package/widgets/BatchAttributeForm/VisibleElements.js +1 -1
  319. package/widgets/BatchAttributeForm/batchAttributeFormUtils.js +1 -1
  320. package/widgets/BatchAttributeForm/css.js +1 -1
  321. package/widgets/BatchAttributeForm/expressions/ExpressionsManager.js +1 -1
  322. package/widgets/BatchAttributeForm/expressions/ExpressionsModel.js +1 -1
  323. package/widgets/BatchAttributeForm/inputs/AttachmentElementInput.d.ts +2 -2
  324. package/widgets/BatchAttributeForm/inputs/AttachmentElementInput.js +1 -1
  325. package/widgets/BatchAttributeForm/inputs/BatchFormInputs.d.ts +3 -0
  326. package/widgets/BatchAttributeForm/inputs/BatchFormInputs.js +1 -1
  327. package/widgets/BatchAttributeForm/inputs/FieldInput.js +1 -1
  328. package/widgets/BatchAttributeForm/inputs/GroupInput.js +1 -1
  329. package/widgets/BatchAttributeForm/inputs/InputBase.js +1 -1
  330. package/widgets/BatchAttributeForm/inputs/RelationshipElementInput.js +1 -1
  331. package/widgets/BatchAttributeForm/inputs/support/inputUtils.js +1 -1
  332. package/widgets/BatchAttributeForm/interfaceUtils.js +1 -1
  333. package/widgets/BatchAttributeForm/stringUtils.js +2 -0
  334. package/widgets/BatchAttributeForm/templates/support/createBatchFormTemplate.js +1 -1
  335. package/widgets/BatchAttributeForm/types.d.ts +49 -7
  336. package/widgets/BatchAttributeForm.js +1 -1
  337. package/widgets/Editor/AddAssociationWorkflow.js +1 -1
  338. package/widgets/Editor/AddAssociationWorkflowData.js +1 -1
  339. package/widgets/Editor/CreateFeaturesWorkflow.js +1 -1
  340. package/widgets/Editor/EditorViewModel.d.ts +1 -1
  341. package/widgets/Editor/EditorViewModel.js +1 -1
  342. package/widgets/Editor/MergeFeaturesWorkflow.d.ts +3 -3
  343. package/widgets/Editor/MergeFeaturesWorkflow.js +1 -1
  344. package/widgets/Editor/SplitFeatureWorkflow.d.ts +3 -3
  345. package/widgets/Editor/SplitFeatureWorkflow.js +1 -1
  346. package/widgets/Editor/UpdateFeatureWorkflow.js +1 -1
  347. package/widgets/Editor/UpdateFeaturesWorkflow.js +1 -1
  348. package/widgets/Editor/UpdateRecordWorkflow.js +1 -1
  349. package/widgets/Editor/UpdateRecordWorkflowData.js +1 -1
  350. package/widgets/Editor/UpdateWorkflow.js +1 -1
  351. package/widgets/Editor/components/UpdateFeaturePanelContent.js +1 -1
  352. package/widgets/Editor/support/SketchController.js +1 -1
  353. package/widgets/Editor/workflowUtils.js +1 -1
  354. package/widgets/Editor.js +1 -1
  355. package/widgets/FloorFilter/FloorFilterViewModel.d.ts +10 -0
  356. package/widgets/FloorFilter/FloorFilterViewModel.js +1 -1
  357. package/widgets/Legend/support/ActiveLayerInfo.js +1 -1
  358. package/widgets/Print/PrintViewModel.d.ts +11 -1
  359. package/widgets/Print/PrintViewModel.js +1 -1
  360. package/assets/esri/core/workers/chunks/034a5c55ceeb1f85ccba.js +0 -1
  361. package/assets/esri/core/workers/chunks/160e5b99f1097a473e6b.js +0 -1
  362. package/assets/esri/core/workers/chunks/17e68828ca6ff6912d3e.js +0 -1
  363. package/assets/esri/core/workers/chunks/184d896fe66340129acd.js +0 -1
  364. package/assets/esri/core/workers/chunks/1996f0a930abdd97b855.js +0 -1
  365. package/assets/esri/core/workers/chunks/19dcae83be0fc0aced02.js +0 -1
  366. package/assets/esri/core/workers/chunks/1a95370ddc22729ab3c6.js +0 -1
  367. package/assets/esri/core/workers/chunks/1c16f3db1c98da8730b9.js +0 -1
  368. package/assets/esri/core/workers/chunks/1e340536d3c5f94920b5.js +0 -1
  369. package/assets/esri/core/workers/chunks/24810c36ae09bb4e83dc.js +0 -1
  370. package/assets/esri/core/workers/chunks/274b82cb183ddd0042f3.js +0 -1
  371. package/assets/esri/core/workers/chunks/297ae764445e6f73a5ea.js +0 -1
  372. package/assets/esri/core/workers/chunks/29aba121db7f00e0cf81.js +0 -1
  373. package/assets/esri/core/workers/chunks/2a3145a595d19391bb8a.js +0 -1
  374. package/assets/esri/core/workers/chunks/2b00229c238aae70b948.js +0 -1
  375. package/assets/esri/core/workers/chunks/2b814bb51704a5b4fdc2.js +0 -30
  376. package/assets/esri/core/workers/chunks/30f1909c5ef1835b8507.js +0 -1
  377. package/assets/esri/core/workers/chunks/3172d7fc23787a287191.js +0 -1
  378. package/assets/esri/core/workers/chunks/3297658ccd8d4b9ce733.js +0 -1
  379. package/assets/esri/core/workers/chunks/38ca59db0e8f45bd7811.js +0 -1
  380. package/assets/esri/core/workers/chunks/39596715e84d0da2f803.js +0 -30
  381. package/assets/esri/core/workers/chunks/3c5534c576528c1921d2.js +0 -1
  382. package/assets/esri/core/workers/chunks/41f12eb7c9b7086528d5.js +0 -1
  383. package/assets/esri/core/workers/chunks/426156137f279d979ddd.js +0 -1
  384. package/assets/esri/core/workers/chunks/44e52fe98ffafe6a2807.js +0 -1
  385. package/assets/esri/core/workers/chunks/47f65ffcf23713f0fd5c.js +0 -1
  386. package/assets/esri/core/workers/chunks/4d09ef7c57ab7f9782fe.js +0 -1
  387. package/assets/esri/core/workers/chunks/5022413f5a41b5d435ea.js +0 -1
  388. package/assets/esri/core/workers/chunks/538537f9bc866d9caa75.js +0 -1
  389. package/assets/esri/core/workers/chunks/58a7cdebc3d182c15ec6.js +0 -1
  390. package/assets/esri/core/workers/chunks/59dafa1e1340ea4043e6.js +0 -1
  391. package/assets/esri/core/workers/chunks/5c7aff9604b4576a0e1d.js +0 -1
  392. package/assets/esri/core/workers/chunks/5d3ddbf94539cb4f493e.js +0 -1
  393. package/assets/esri/core/workers/chunks/5eb9fdb076488de9cd83.js +0 -1
  394. package/assets/esri/core/workers/chunks/603177137eb680afe371.js +0 -1
  395. package/assets/esri/core/workers/chunks/629099f05ca5c9ca1973.js +0 -1
  396. package/assets/esri/core/workers/chunks/62f78fa455d556008f6a.js +0 -1
  397. package/assets/esri/core/workers/chunks/65f02eca694cc1c9f5a7.js +0 -1
  398. package/assets/esri/core/workers/chunks/661f7e3f88727dc4801c.js +0 -1
  399. package/assets/esri/core/workers/chunks/686c51fd2144e132783e.js +0 -1
  400. package/assets/esri/core/workers/chunks/6cab67fc7044ee9b863b.js +0 -1
  401. package/assets/esri/core/workers/chunks/6d616b66fb32904b55a1.js +0 -1
  402. package/assets/esri/core/workers/chunks/6d696beddcc5fbed5875.js +0 -1
  403. package/assets/esri/core/workers/chunks/6f0341cfa4c68e6e60b3.js +0 -1
  404. package/assets/esri/core/workers/chunks/6f125b4ed06c0022dee6.js +0 -1
  405. package/assets/esri/core/workers/chunks/6f4825c3ef1fe202ab82.js +0 -1
  406. package/assets/esri/core/workers/chunks/728ad5bbbcbf88d6249f.js +0 -1
  407. package/assets/esri/core/workers/chunks/72d67cc3a382e83bf1a2.js +0 -1
  408. package/assets/esri/core/workers/chunks/7cadb872b9ca96eedca5.js +0 -1
  409. package/assets/esri/core/workers/chunks/7e89cb9ff615742e0894.js +0 -1
  410. package/assets/esri/core/workers/chunks/851705cf276eae8d4d37.js +0 -1
  411. package/assets/esri/core/workers/chunks/882ee7ed8a3a0215f9b9.js +0 -1
  412. package/assets/esri/core/workers/chunks/890b7a1153b7f65eba9a.js +0 -1
  413. package/assets/esri/core/workers/chunks/8c443c52c846a096a250.js +0 -1
  414. package/assets/esri/core/workers/chunks/985fceacd6ec137bd490.js +0 -1
  415. package/assets/esri/core/workers/chunks/9d27cc631bab8aa7479e.js +0 -1
  416. package/assets/esri/core/workers/chunks/9d5f7573bfe3b051daf1.js +0 -1
  417. package/assets/esri/core/workers/chunks/a0c00c6fe60db49b3ab9.js +0 -1
  418. package/assets/esri/core/workers/chunks/a4245bd4e67a428fd835.js +0 -1
  419. package/assets/esri/core/workers/chunks/a643a4751bbf4430bde2.js +0 -262
  420. package/assets/esri/core/workers/chunks/ab62724b80b3c478a597.js +0 -1
  421. package/assets/esri/core/workers/chunks/b002304a45856b024b46.js +0 -1
  422. package/assets/esri/core/workers/chunks/b44cf254585210578eab.js +0 -1
  423. package/assets/esri/core/workers/chunks/b5937ce657c1fff3864f.js +0 -1
  424. package/assets/esri/core/workers/chunks/c2a65de34f6a6c89c652.js +0 -1
  425. package/assets/esri/core/workers/chunks/c3cf9e6e91f71c9cc5f3.js +0 -1
  426. package/assets/esri/core/workers/chunks/c6d0b4875b6b8d6bc25a.js +0 -1
  427. package/assets/esri/core/workers/chunks/c755bfd90c9654170e67.js +0 -1
  428. package/assets/esri/core/workers/chunks/c80fc1b3048e8d58a1f8.js +0 -1
  429. package/assets/esri/core/workers/chunks/c911f0b5bdd43b66b731.js +0 -1
  430. package/assets/esri/core/workers/chunks/cc3e895cff019e811c07.js +0 -1
  431. package/assets/esri/core/workers/chunks/d122431f3b0b88dcb488.js +0 -1
  432. package/assets/esri/core/workers/chunks/d24e027bb8b2c09f25c8.js +0 -1
  433. package/assets/esri/core/workers/chunks/d2df8c328054dc6cb7b7.js +0 -1
  434. package/assets/esri/core/workers/chunks/d41caf20c26f80385265.js +0 -1
  435. package/assets/esri/core/workers/chunks/d468994822f9bc3d6279.js +0 -1
  436. package/assets/esri/core/workers/chunks/d52864823067e57a719a.js +0 -1
  437. package/assets/esri/core/workers/chunks/d5c35a75fd4c41def420.js +0 -1
  438. package/assets/esri/core/workers/chunks/d64613209a9eb1eafb11.js +0 -1
  439. package/assets/esri/core/workers/chunks/d7be278aed1fb37ad5ec.js +0 -1
  440. package/assets/esri/core/workers/chunks/d8ec0afb2b91ccf32e55.js +0 -1
  441. package/assets/esri/core/workers/chunks/da1e8b338ab9fe9e0a8e.js +0 -1
  442. package/assets/esri/core/workers/chunks/dd920a6f6422fa213eba.js +0 -1
  443. package/assets/esri/core/workers/chunks/e1505ec80b068011bdc5.js +0 -1
  444. package/assets/esri/core/workers/chunks/e279bcbe4f10e87bde6c.js +0 -1
  445. package/assets/esri/core/workers/chunks/e2de13810dce01b98520.js +0 -1
  446. package/assets/esri/core/workers/chunks/e33d2ede6c9f1527d51b.js +0 -1
  447. package/assets/esri/core/workers/chunks/e5837e5ac6ef761f26a2.js +0 -1
  448. package/assets/esri/core/workers/chunks/e82488b9b3bb0c1dedb4.js +0 -1
  449. package/assets/esri/core/workers/chunks/e912b515704e20313e53.js +0 -1
  450. package/assets/esri/core/workers/chunks/eabeaab5c4810f999a4d.js +0 -1
  451. package/assets/esri/core/workers/chunks/ec723f8777b935c5e81a.js +0 -1
  452. package/assets/esri/core/workers/chunks/ef46ef4f0ee9f2aeaa4a.js +0 -1
  453. package/assets/esri/core/workers/chunks/f274a8e8c7ca4294e876.js +0 -1
  454. package/assets/esri/core/workers/chunks/f4f642ddd4d5db7cbbb4.js +0 -1
  455. package/assets/esri/core/workers/chunks/f590db684d88e72bd79b.js +0 -1
  456. package/assets/esri/core/workers/chunks/f622ae3887c85535e8ab.js +0 -30
  457. package/assets/esri/core/workers/chunks/f6d047358d14328f3622.js +0 -1
  458. package/assets/esri/core/workers/chunks/f80613cce68dc3df8303.js +0 -2
  459. package/assets/esri/core/workers/chunks/fb6605be0c5e36785543.js +0 -1
  460. package/assets/esri/core/workers/chunks/fd70a25ffdf2cc6c5be2.js +0 -1
  461. package/graphic/AnnotationGraphicOrigin.js +0 -2
  462. package/layers/AnnotationLayer.js +0 -2
  463. package/layers/support/AnnotationSublayer.d.ts +0 -44
  464. package/layers/support/AnnotationSublayer.js +0 -2
  465. package/views/2d/layers/AnnotationLayerView2D.js +0 -2
  466. package/views/3d/webgl-engine/effects/transparency/OITBlendEmissionTechniqueConfiguration.js +0 -2
  467. package/views/3d/webgl-engine/effects/transparency/OITDimOpaqueTechniqueConfiguration.js +0 -2
  468. /package/assets/esri/core/workers/chunks/{5bd7ee40a1c469c24013.js.LICENSE.txt → 86cad656a6a473982109.js.LICENSE.txt} +0 -0
  469. /package/assets/esri/core/workers/chunks/{f80613cce68dc3df8303.js.LICENSE.txt → ac5032253c752768021b.js.LICENSE.txt} +0 -0
  470. /package/views/layers/{AnnotationLayerView.js → AnnotationFeatureLayerView.js} +0 -0
@@ -4,20 +4,44 @@ import type { JSONSupport } from "../../core/JSONSupport.js";
4
4
  export interface MeshLocalVertexSpaceProperties extends Partial<Pick<MeshLocalVertexSpace, "origin">> {}
5
5
 
6
6
  /**
7
- * A mesh vertex space that indicates mesh vertices exist in a plain cartesian space as often encountered in 3D
8
- * modeling and CAD applications. Georeferencing is done by using the coordinates in the
9
- * [local tangent plane](https://en.wikipedia.org/wiki/Local_tangent_plane_coordinates)
10
- * reference frame at the fully georeferenced [origin](https://developers.arcgis.com/javascript/latest/references/core/geometry/support/MeshLocalVertexSpace/#origin)
11
- * of the vertex space.
7
+ * Represents a [vertex space](https://developers.arcgis.com/javascript/latest/references/core/geometry/Mesh/#vertexSpace) that interprets
8
+ * [Mesh vertex positions](https://developers.arcgis.com/javascript/latest/references/core/geometry/support/MeshVertexAttributes/#position) as x, y, z values measured in meters
9
+ * from the source model's own [0,0,0].
12
10
  *
13
- * See [mesh API](https://developers.arcgis.com/javascript/latest/references/core/geometry/Mesh/#mesh-api) for details.
11
+ * A vertex space is the [Mesh.vertexSpace](https://developers.arcgis.com/javascript/latest/references/core/geometry/Mesh/#vertexSpace) object that tells the SDK how to read the
12
+ * x, y, z positions stored in [Mesh.vertexAttributes.position](https://developers.arcgis.com/javascript/latest/references/core/geometry/support/MeshVertexAttributes/#position).
13
+ * Use MeshLocalVertexSpace when those positions describe the shape of a source model relative to the model's own
14
+ * [0,0,0], and you want to place that model in a global [SceneView](https://developers.arcgis.com/javascript/latest/references/core/views/SceneView/).
15
+ *
16
+ * The [vertex space's origin](https://developers.arcgis.com/javascript/latest/references/core/geometry/support/MeshLocalVertexSpace/#origin) is the [x, y, z] coordinate where the
17
+ * source model's [0,0,0] lands. The origin values use the coordinate system identified by
18
+ * [Mesh.spatialReference](https://developers.arcgis.com/javascript/latest/references/core/geometry/Mesh/#spatialReference). For example, with WGS84 the origin contains longitude,
19
+ * latitude, and elevation values; with Web Mercator it contains Web Mercator x, y, and z values.
20
+ *
21
+ * In a global scene with WGS84, CGCS2000, or Web Mercator, the SDK places the model on a
22
+ * [local tangent plane](https://en.wikipedia.org/wiki/Local_tangent_plane_coordinates) at the origin. The x-axis points
23
+ * east, the y-axis points north, and the z-axis points up.
24
+ *
25
+ * The word local refers to local coordinates from the source model. It does not mean this vertex space is used for
26
+ * a [local](https://developers.arcgis.com/javascript/latest/references/core/views/SceneView/#viewingMode) SceneView. For local scenes, use
27
+ * [MeshGeoreferencedVertexSpace](https://developers.arcgis.com/javascript/latest/references/core/geometry/support/MeshGeoreferencedVertexSpace/) and a
28
+ * [Mesh.spatialReference](https://developers.arcgis.com/javascript/latest/references/core/geometry/Mesh/#spatialReference) that matches
29
+ * [SceneView.spatialReference](https://developers.arcgis.com/javascript/latest/references/core/views/SceneView/#spatialReference).
14
30
  *
15
31
  * @since 4.27
16
- * @see [Mesh](https://developers.arcgis.com/javascript/latest/references/core/geometry/Mesh/)
32
+ * @see [Mesh.vertexSpace](https://developers.arcgis.com/javascript/latest/references/core/geometry/Mesh/#vertexSpace)
33
+ * @see [MeshGeoreferencedVertexSpace](https://developers.arcgis.com/javascript/latest/references/core/geometry/support/MeshGeoreferencedVertexSpace/)
17
34
  */
18
35
  export default class MeshLocalVertexSpace extends MeshLocalVertexSpaceSuperclass {
19
36
  constructor(properties?: MeshLocalVertexSpaceProperties);
20
- /** Origin of the vertex space. These coordinates are interpreted in the spatial reference of the mesh using the vertex space. */
37
+ /**
38
+ * Coordinates of the place where the source model's local [0,0,0] is anchored.
39
+ *
40
+ * The array is [x, y, z] in the coordinate system identified by the
41
+ * [Mesh.spatialReference](https://developers.arcgis.com/javascript/latest/references/core/geometry/Mesh/#spatialReference) property of the Mesh geometry that uses this vertex
42
+ * space. The vertex position [0,0,0] coincides with the vertex space's origin before any
43
+ * [Mesh.transform](https://developers.arcgis.com/javascript/latest/references/core/geometry/Mesh/#transform) is applied.
44
+ */
21
45
  accessor origin: readonly [
22
46
  number,
23
47
  number,
@@ -19,8 +19,12 @@ export default class MeshVertexAttributes extends MeshVertexAttributesSuperclass
19
19
  */
20
20
  accessor normal: MeshVertexNormal | null | undefined;
21
21
  /**
22
- * A flat array of vertex positions. Vertex positions have x, y and z coordinates and they should be in the spatial
23
- * reference system of the geometry.
22
+ * A flat array of vertex position values.
23
+ *
24
+ * Every three numbers define one x, y, z position. The [Mesh.vertexSpace](https://developers.arcgis.com/javascript/latest/references/core/geometry/Mesh/#vertexSpace) property
25
+ * of the `Mesh` geometry that owns these attributes defines how the SDK interprets those numbers: as local model
26
+ * coordinates, as offsets from an origin, or as absolute coordinates in the coordinate system identified by
27
+ * [Mesh.spatialReference](https://developers.arcgis.com/javascript/latest/references/core/geometry/Mesh/#spatialReference).
24
28
  *
25
29
  * @since 5.0
26
30
  */
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import e from"../../core/Error.js";import t from"../HeightModelInfo.js";import{parse as n}from"../../layers/support/arcgisLayerUrl.js";function i(n,i){if(!n)return null;if(!o(n))return new e("webscene:unsupported-height-model-info","The vertical coordinate system of the scene is not supported",{heightModelInfo:n});const a=n.heightUnit,r=t.deriveUnitFromSR(n,i).heightUnit;return a!==r?new e("webscene:incompatible-height-unit",`The vertical units of the scene (${a}) must match the horizontal units of the scene (${r})`,{verticalUnit:a,horizontalUnit:r}):null}function a(n,i,a){const o=c(n),l=i,h=r(o,l,a);if(o){const i=t.deriveUnitFromSR(o,n.spatialReference).heightUnit;if(!a&&i!==o.heightUnit){const t=new e("layerview:unmatched-height-unit",`The vertical units of the layer must match the horizontal units (${i})`,{horizontalUnit:i});return new e("layerview:unsupported-height-model-info","The vertical coordinate system of the layer is not supported",{heightModelInfo:o,error:t})}}if(!s(n)||4===h)return new e("layerview:unsupported-height-model-info","The vertical coordinate system of the layer is not supported",{heightModelInfo:o});switch(h){case 1:{const t=o?.heightUnit||"unknown",n=l?.heightUnit||"unknown",i=new e("layerview:incompatible-height-unit",`The vertical units of the layer (${t}) must match the vertical units of the scene (${n})`,{layerUnit:t,sceneUnit:n});return new e("layerview:incompatible-height-model-info","The vertical coordinate system of the layer is incompatible with the scene",{layerHeightModelInfo:o,sceneHeightModelInfo:l,error:i})}case 2:{const t=o?.heightModel||"unknown",n=l?.heightModel||"unknown",i=new e("layerview:incompatible-height-model",`The height model of the layer (${t}) must match the height model of the scene (${n})`,{layerHeightModel:t,sceneHeightModel:n});return new e("layerview:incompatible-height-model-info","The vertical coordinate system of the layer is incompatible with the scene",{layerHeightModelInfo:o,sceneHeightModelInfo:l,error:i})}case 3:{const t=o?.vertCRS||"unknown",n=l?.vertCRS||"unknown",i=new e("layerview:incompatible-vertical-datum",`The vertical datum of the layer (${t}) must match the vertical datum of the scene (${n})`,{layerDatum:t,sceneDatum:n});return new e("layerview:incompatible-height-model-info","The vertical coordinate system of the layer is incompatible with the scene",{layerHeightModelInfo:o,sceneHeightModelInfo:l,error:i})}}return null}function r(e,t,n){if(!o(e)||!o(t))return 4;if(null==e||null==t)return 0;if(!n&&e.heightUnit!==t.heightUnit)return 1;if(e.heightModel!==t.heightModel)return 2;switch(e.heightModel){case"gravity-related-height":return 0;case"ellipsoidal":return e.vertCRS===t.vertCRS?0:3;default:return 4}}function o(e){return null==e||null!=e.heightModel&&null!=e.heightUnit}function s(e){return"heightModelInfo"in e&&null!=e.heightModelInfo||null!=e.spatialReference||!u(e)}function c(e){if("integrated-mesh-3dtiles"===e.type||"gaussian-splat"===e.type)return null;const i=e.url?n(e.url):void 0,a=e.spatialReference?.vcsWkid;return!(null==a&&null!=i&&"ImageServer"===i.serverType)&&l(e)&&e.heightModelInfo?e.heightModelInfo:u(e)?t.deriveUnitFromSR(f,e.spatialReference):null}function l(e){return"heightModelInfo"in e}function h(e){if("unknown"===e.type||!("capabilities"in e))return!1;switch(e.type){case"annotation":case"catalog":case"catalog-footprint":case"csv":case"feature":case"dimension-feature":case"geojson":case"subtype-group":case"ogc-feature":case"oriented-imagery":case"wfs":case"knowledge-graph-sublayer":return!0;default:return!1}}function u(e){return h(e)?!!(e.capabilities&&e.capabilities.data&&e.capabilities.data.supportsZ):d(e)}function g(e){return null!=e.layers||d(e)||h(e)||l(e)}function d(e){switch(e.type){case"annotation":case"building-scene":case"elevation":case"gaussian-splat":case"integrated-mesh":case"integrated-mesh-3dtiles":case"point-cloud":case"scene":case"voxel":return!0;case"base-dynamic":case"base-elevation":case"base-tile":case"bing-maps":case"catalog":case"catalog-footprint":case"catalog-dynamic-group":case"csv":case"dimension":case"dimension-feature":case"geojson":case"feature":case"subtype-group":case"geo-rss":case"graphics":case"group":case"imagery":case"imagery-tile":case"kml":case"knowledge-graph":case"link-chart":case"knowledge-graph-sublayer":case"line-of-sight":case"map-image":case"map-notes":case"media":case"ogc-feature":case"open-street-map":case"oriented-imagery":case"parquet":case"route":case"stream":case"tile":case"unknown":case"unsupported":case"vector-tile":case"video":case"viewshed":case"wcs":case"web-tile":case"wfs":case"wms":case"wmts":case null:return!1}return!1}const f=new t({heightModel:"gravity-related-height"});export{c as deriveHeightModelInfoFromLayer,r as isCompatible,a as rejectLayerError,g as supportsHeightModelInfo,i as validateWebSceneError};
2
+ import e from"../../core/Error.js";import t from"../HeightModelInfo.js";import{parse as n}from"../../layers/support/arcgisLayerUrl.js";function i(n,i){if(!n)return null;if(!o(n))return new e("webscene:unsupported-height-model-info","The vertical coordinate system of the scene is not supported",{heightModelInfo:n});const a=n.heightUnit,r=t.deriveUnitFromSR(n,i).heightUnit;return a!==r?new e("webscene:incompatible-height-unit",`The vertical units of the scene (${a}) must match the horizontal units of the scene (${r})`,{verticalUnit:a,horizontalUnit:r}):null}function a(n,i,a){const o=c(n),l=i,h=r(o,l,a);if(o){const i=t.deriveUnitFromSR(o,n.spatialReference).heightUnit;if(!a&&i!==o.heightUnit){const t=new e("layerview:unmatched-height-unit",`The vertical units of the layer must match the horizontal units (${i})`,{horizontalUnit:i});return new e("layerview:unsupported-height-model-info","The vertical coordinate system of the layer is not supported",{heightModelInfo:o,error:t})}}if(!s(n)||4===h)return new e("layerview:unsupported-height-model-info","The vertical coordinate system of the layer is not supported",{heightModelInfo:o});switch(h){case 1:{const t=o?.heightUnit||"unknown",n=l?.heightUnit||"unknown",i=new e("layerview:incompatible-height-unit",`The vertical units of the layer (${t}) must match the vertical units of the scene (${n})`,{layerUnit:t,sceneUnit:n});return new e("layerview:incompatible-height-model-info","The vertical coordinate system of the layer is incompatible with the scene",{layerHeightModelInfo:o,sceneHeightModelInfo:l,error:i})}case 2:{const t=o?.heightModel||"unknown",n=l?.heightModel||"unknown",i=new e("layerview:incompatible-height-model",`The height model of the layer (${t}) must match the height model of the scene (${n})`,{layerHeightModel:t,sceneHeightModel:n});return new e("layerview:incompatible-height-model-info","The vertical coordinate system of the layer is incompatible with the scene",{layerHeightModelInfo:o,sceneHeightModelInfo:l,error:i})}case 3:{const t=o?.vertCRS||"unknown",n=l?.vertCRS||"unknown",i=new e("layerview:incompatible-vertical-datum",`The vertical datum of the layer (${t}) must match the vertical datum of the scene (${n})`,{layerDatum:t,sceneDatum:n});return new e("layerview:incompatible-height-model-info","The vertical coordinate system of the layer is incompatible with the scene",{layerHeightModelInfo:o,sceneHeightModelInfo:l,error:i})}}return null}function r(e,t,n){if(!o(e)||!o(t))return 4;if(null==e||null==t)return 0;if(!n&&e.heightUnit!==t.heightUnit)return 1;if(e.heightModel!==t.heightModel)return 2;switch(e.heightModel){case"gravity-related-height":return 0;case"ellipsoidal":return e.vertCRS===t.vertCRS?0:3;default:return 4}}function o(e){return null==e||null!=e.heightModel&&null!=e.heightUnit}function s(e){return"heightModelInfo"in e&&null!=e.heightModelInfo||null!=e.spatialReference||!u(e)}function c(e){if("integrated-mesh-3dtiles"===e.type||"gaussian-splat"===e.type)return null;const i=e.url?n(e.url):void 0,a=e.spatialReference?.vcsWkid;return!(null==a&&null!=i&&"ImageServer"===i.serverType)&&l(e)&&e.heightModelInfo?e.heightModelInfo:u(e)?t.deriveUnitFromSR(f,e.spatialReference):null}function l(e){return"heightModelInfo"in e}function h(e){if("unknown"===e.type||!("capabilities"in e))return!1;switch(e.type){case"annotation-feature":case"catalog":case"catalog-footprint":case"csv":case"feature":case"dimension-feature":case"geojson":case"subtype-group":case"ogc-feature":case"oriented-imagery":case"wfs":case"knowledge-graph-sublayer":return!0;default:return!1}}function u(e){return h(e)?!!(e.capabilities&&e.capabilities.data&&e.capabilities.data.supportsZ):d(e)}function g(e){return null!=e.layers||d(e)||h(e)||l(e)}function d(e){switch(e.type){case"annotation-feature":case"building-scene":case"elevation":case"gaussian-splat":case"integrated-mesh":case"integrated-mesh-3dtiles":case"point-cloud":case"scene":case"voxel":return!0;case"base-dynamic":case"base-elevation":case"base-tile":case"bing-maps":case"catalog":case"catalog-footprint":case"catalog-dynamic-group":case"csv":case"dimension":case"dimension-feature":case"geojson":case"feature":case"subtype-group":case"geo-rss":case"graphics":case"group":case"imagery":case"imagery-tile":case"kml":case"knowledge-graph":case"link-chart":case"knowledge-graph-sublayer":case"line-of-sight":case"map-image":case"map-notes":case"media":case"ogc-feature":case"open-street-map":case"oriented-imagery":case"parquet":case"route":case"stream":case"tile":case"unknown":case"unsupported":case"vector-tile":case"video":case"viewshed":case"wcs":case"web-tile":case"wfs":case"wms":case"wmts":case null:return!1}return!1}const f=new t({heightModel:"gravity-related-height"});export{c as deriveHeightModelInfoFromLayer,r as isCompatible,a as rejectLayerError,g as supportsHeightModelInfo,i as validateWebSceneError};
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import{getMetersPerVerticalUnitForSR as o}from"../../core/units.js";import{isSphericalPCPF as n}from"../ellipsoidUtils.js";import{equals as t}from"./spatialReferenceUtils.js";import{getEndpoint as e}from"./curves/curveUtils.js";function r(o,n,t){const e=i(n,t);if(1!==e)switch(o){case"point":case"esriGeometryPoint":return o=>s(o,e);case"polyline":case"esriGeometryPolyline":return o=>c(o,e);case"polygon":case"esriGeometryPolygon":return o=>f(o,e);case"multipoint":case"esriGeometryMultipoint":return o=>l(o,e);case"extent":case"esriGeometryEnvelope":return o=>u(o,e);default:return}}function i(e,r){if(null==e||null==r||r.vcsWkid||t(e,r)||n(e)||n(r))return 1;return o(e)/o(r)}function s(o,n){null!=o?.z&&(o.z*=n)}function f(o,n){if(o){if(o.curveRings)for(const t of o.curveRings)for(const o of t){const t=e(o);t.length>2&&(t[2]*=n)}if(o.rings)for(const t of o.rings)for(const o of t)o.length>2&&(o[2]*=n)}}function c(o,n){if(o){if(o.curvePaths)for(const t of o.curvePaths)for(const o of t){const t=e(o);t.length>2&&(t[2]*=n)}if(o.paths)for(const t of o.paths)for(const o of t)o.length>2&&(o[2]*=n)}}function l(o,n){if(o)for(const t of o.points)t.length>2&&(t[2]*=n)}function u(o,n){o&&null!=o.zmin&&null!=o.zmax&&(o.zmin*=n,o.zmax*=n)}export{r as getGeometryZScaler,i as zScale};
2
+ import{getMetersPerVerticalUnitForSR as o}from"../../core/units.js";import{isSphericalPCPF as n}from"../ellipsoidUtils.js";import{equals as t}from"./spatialReferenceUtils.js";import{getEndpoint as e}from"./curves/curveUtils.js";function r(o,n,t){const e=i(n,t);if(1!==e)switch(o){case"point":case"esriGeometryPoint":return o=>s(o,e);case"polyline":case"esriGeometryPolyline":return o=>c(o,e);case"polygon":case"esriGeometryPolygon":return o=>f(o,e);case"multipoint":case"esriGeometryMultipoint":return o=>l(o,e);case"extent":case"esriGeometryEnvelope":return o=>u(o,e);default:return}}function i(e,r){if(null==e||null==r||t(e,r)||n(e)||n(r))return 1;return o(e)/o(r)}function s(o,n){null!=o?.z&&(o.z*=n)}function f(o,n){if(o){if(o.curveRings)for(const t of o.curveRings)for(const o of t){const t=e(o);t.length>2&&(t[2]*=n)}if(o.rings)for(const t of o.rings)for(const o of t)o.length>2&&(o[2]*=n)}}function c(o,n){if(o){if(o.curvePaths)for(const t of o.curvePaths)for(const o of t){const t=e(o);t.length>2&&(t[2]*=n)}if(o.paths)for(const t of o.paths)for(const o of t)o.length>2&&(o[2]*=n)}}function l(o,n){if(o)for(const t of o.points)t.length>2&&(t[2]*=n)}function u(o,n){o&&null!=o.zmin&&null!=o.zmax&&(o.zmin*=n,o.zmax*=n)}export{r as getGeometryZScaler,i as zScale};
@@ -1,15 +1,16 @@
1
1
  import type GraphicOrigin from "./GraphicOrigin.js";
2
- import type AnnotationLayer from "../layers/AnnotationLayer.js";
2
+ import type AnnotationFeatureLayer from "../layers/AnnotationFeatureLayer.js";
3
+ import type AnnotationFeatureSublayer from "../layers/support/AnnotationFeatureSublayer.js";
3
4
 
4
5
  /**
5
- * Provides information about the [AnnotationLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/AnnotationLayer/) from which a graphic originates.
6
+ * Provides information about the [AnnotationFeatureLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/AnnotationFeatureLayer/) from which a graphic originates.
6
7
  * The [origin](https://developers.arcgis.com/javascript/latest/references/core/Graphic/#origin) information may be available when a graphic is returned from methods such as
7
- * [hitTest()](https://developers.arcgis.com/javascript/latest/references/core/views/MapView/#hitTest) or [queryFeatures()](https://developers.arcgis.com/javascript/latest/references/core/layers/AnnotationLayer/#queryFeatures).
8
+ * [hitTest()](https://developers.arcgis.com/javascript/latest/references/core/views/MapView/#hitTest) or [queryFeatures()](https://developers.arcgis.com/javascript/latest/references/core/layers/AnnotationFeatureLayer/#queryFeatures).
8
9
  *
9
10
  * @since 5.1
10
11
  * @see [MapView.hitTest()](https://developers.arcgis.com/javascript/latest/references/core/views/MapView/#hitTest)
11
12
  * @see [SceneView.hitTest()](https://developers.arcgis.com/javascript/latest/references/core/views/SceneView/#hitTest)
12
- * @see [AnnotationLayer.queryFeatures()](https://developers.arcgis.com/javascript/latest/references/core/layers/AnnotationLayer/#queryFeatures)
13
+ * @see [AnnotationFeatureLayer.queryFeatures()](https://developers.arcgis.com/javascript/latest/references/core/layers/AnnotationFeatureLayer/#queryFeatures)
13
14
  * @example
14
15
  * // get a point from view's click event
15
16
  * view.on("click", async (event) => {
@@ -21,14 +22,16 @@ import type AnnotationLayer from "../layers/AnnotationLayer.js";
21
22
  * }
22
23
  * });
23
24
  */
24
- export default class AnnotationGraphicOrigin extends GraphicOrigin {
25
- constructor(layer: AnnotationLayer);
25
+ export default class AnnotationFeatureGraphicOrigin extends GraphicOrigin {
26
+ constructor(sublayer: AnnotationFeatureSublayer);
26
27
  /** A layer from which a graphic originates. */
27
- readonly layer: AnnotationLayer;
28
+ get layer(): AnnotationFeatureLayer;
29
+ /** The [AnnotationFeatureSublayer](https://developers.arcgis.com/javascript/latest/references/core/layers/support/AnnotationFeatureSublayer/) from which a graphic originates. */
30
+ readonly sublayer: AnnotationFeatureSublayer;
28
31
  /**
29
32
  * Indicates the type of layer the graphic originated from.
30
33
  *
31
- * @default "annotation"
34
+ * @default "annotation-feature"
32
35
  */
33
- readonly type: AnnotationLayer["type"];
36
+ readonly type: AnnotationFeatureLayer["type"];
34
37
  }
@@ -0,0 +1,2 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
+ import{idFieldsProviderSymbol as r}from"./getIdFieldsProvider.js";import{popupProviderSymbol as t}from"./getPopupProvider.js";import{getSliceableContainerSymbol as e}from"./getSliceableContainer.js";import i from"./GraphicOrigin.js";import{isAnnotationFeatureGraphicOriginSymbol as s}from"./isAnnotationFeatureGraphicOrigin.js";var a;class o extends i{get[(a=s,t)](){return this.layer}get[r](){return this.layer}get[e](){return this.layer}constructor(r){super(),this[a]=!0,this.type="annotation-feature",this.sublayer=r}get layer(){return this.sublayer.parent}get id(){return`${this.layer.id}:__${this.sublayer.subtypeCode}__`}}export{o as default};
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import{idFieldsProviderSymbol as r}from"./getIdFieldsProvider.js";import{popupProviderSymbol as e}from"./getPopupProvider.js";import{getSliceableContainerSymbol as t}from"./getSliceableContainer.js";import i from"./GraphicOrigin.js";class s extends i{get[e](){return this.layer}get[r](){return this.layer}get[t](){return this.layer}constructor(r){super(),this.type="dimension-feature",this.layer=r}get id(){return this.layer.id}}export{s as default};
2
+ import{idFieldsProviderSymbol as r}from"./getIdFieldsProvider.js";import{popupProviderSymbol as e}from"./getPopupProvider.js";import{getSliceableContainerSymbol as t}from"./getSliceableContainer.js";import i from"./GraphicOrigin.js";import{isDimensionFeatureGraphicOriginSymbol as s}from"./isDimensionFeatureGraphicOrigin.js";var o;class a extends i{get[(o=s,e)](){return this.layer}get[r](){return this.layer}get[t](){return this.layer}constructor(r){super(),this[o]=!0,this.type="dimension-feature",this.layer=r}get id(){return this.layer.id}}export{a as default};
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- export{isBuildingGraphicOrigin}from"./isBuildingGraphicOrigin.js";export{isCatalogGraphicOrigin}from"./isCatalogGraphicOrigin.js";export{isCSVGraphicOrigin}from"./isCSVGraphicOrigin.js";export{isFeatureGraphicOrigin}from"./isFeatureGraphicOrigin.js";export{isGeoJSONGraphicOrigin}from"./isGeoJSONGraphicOrigin.js";export{isGeoRSSGraphicOrigin}from"./isGeoRSSGraphicOrigin.js";export{isKnowledgeGraphGraphicOrigin}from"./isKnowledgeGraphGraphicOrigin.js";export{isMapImageGraphicOrigin}from"./isMapImageGraphicOrigin.js";export{isMapNotesGraphicOrigin}from"./isMapNotesGraphicOrigin.js";export{isOGCFeatureGraphicOrigin}from"./isOGCFeatureGraphicOrigin.js";export{isOrientedImageryGraphicOrigin}from"./isOrientedImageryGraphicOrigin.js";export{isParquetGraphicOrigin}from"./isParquetGraphicOrigin.js";export{isPointCloudGraphicOrigin}from"./isPointCloudGraphicOrigin.js";export{isSceneGraphicOrigin}from"./isSceneGraphicOrigin.js";export{isStreamGraphicOrigin}from"./isStreamGraphicOrigin.js";export{isSubtypeGroupGraphicOrigin}from"./isSubtypeGroupGraphicOrigin.js";export{isTileGraphicOrigin}from"./isTileGraphicOrigin.js";export{isVectorTileGraphicOrigin}from"./isVectorTileGraphicOrigin.js";export{isVoxelGraphicOrigin}from"./isVoxelGraphicOrigin.js";export{isWFSGraphicOrigin}from"./isWFSGraphicOrigin.js";
2
+ export{isAnnotationFeatureGraphicOrigin}from"./isAnnotationFeatureGraphicOrigin.js";export{isBuildingGraphicOrigin}from"./isBuildingGraphicOrigin.js";export{isCatalogGraphicOrigin}from"./isCatalogGraphicOrigin.js";export{isCSVGraphicOrigin}from"./isCSVGraphicOrigin.js";export{isDimensionFeatureGraphicOrigin}from"./isDimensionFeatureGraphicOrigin.js";export{isFeatureGraphicOrigin}from"./isFeatureGraphicOrigin.js";export{isGeoJSONGraphicOrigin}from"./isGeoJSONGraphicOrigin.js";export{isGeoRSSGraphicOrigin}from"./isGeoRSSGraphicOrigin.js";export{isKnowledgeGraphGraphicOrigin}from"./isKnowledgeGraphGraphicOrigin.js";export{isMapImageGraphicOrigin}from"./isMapImageGraphicOrigin.js";export{isMapNotesGraphicOrigin}from"./isMapNotesGraphicOrigin.js";export{isOGCFeatureGraphicOrigin}from"./isOGCFeatureGraphicOrigin.js";export{isOrientedImageryGraphicOrigin}from"./isOrientedImageryGraphicOrigin.js";export{isParquetGraphicOrigin}from"./isParquetGraphicOrigin.js";export{isPointCloudGraphicOrigin}from"./isPointCloudGraphicOrigin.js";export{isSceneGraphicOrigin}from"./isSceneGraphicOrigin.js";export{isStreamGraphicOrigin}from"./isStreamGraphicOrigin.js";export{isSubtypeGroupGraphicOrigin}from"./isSubtypeGroupGraphicOrigin.js";export{isTileGraphicOrigin}from"./isTileGraphicOrigin.js";export{isVectorTileGraphicOrigin}from"./isVectorTileGraphicOrigin.js";export{isVoxelGraphicOrigin}from"./isVoxelGraphicOrigin.js";export{isWFSGraphicOrigin}from"./isWFSGraphicOrigin.js";
@@ -0,0 +1,29 @@
1
+ /**
2
+ * Provides a utility function to determine whether a graphic's origin is a [AnnotationFeatureGraphicOrigin](https://developers.arcgis.com/javascript/latest/references/core/graphic/AnnotationFeatureGraphicOrigin/).
3
+ *
4
+ * @since 5.1
5
+ * @example
6
+ * // Use hitTest() to get a graphic, then check whether it originated from a AnnotationFeatureLayer.
7
+ * view.hitTest(screenPoint).then((response) => {
8
+ * const graphic = response.results[0]?.graphic;
9
+ * if (!graphic) {
10
+ * return;
11
+ * }
12
+ * if (isAnnotationFeatureGraphicOrigin(graphic.origin)) {
13
+ * // hitTest returned a graphic from a AnnotationFeatureLayer.
14
+ * // Use this info for your processing logic.
15
+ * } else {
16
+ * console.log("graphic's origin is NOT a AnnotationFeatureLayer");
17
+ * }
18
+ * });
19
+ */
20
+ import type AnnotationFeatureGraphicOrigin from "./AnnotationFeatureGraphicOrigin.js";
21
+ import type GraphicOrigin from "./GraphicOrigin.js";
22
+
23
+ /**
24
+ * Utility function that determines whether a graphic’s origin is a [AnnotationFeatureGraphicOrigin](https://developers.arcgis.com/javascript/latest/references/core/graphic/AnnotationFeatureGraphicOrigin/).
25
+ *
26
+ * @param origin - The graphic origin to check.
27
+ * @returns Returns `true` if the graphic origin is of type [AnnotationFeatureGraphicOrigin](https://developers.arcgis.com/javascript/latest/references/core/graphic/AnnotationFeatureGraphicOrigin/), `false` otherwise.
28
+ */
29
+ export function isAnnotationFeatureGraphicOrigin(origin: GraphicOrigin | null | undefined): origin is AnnotationFeatureGraphicOrigin;
@@ -0,0 +1,2 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
+ const n=Symbol("isAnnotationFeatureGraphicOrigin");function i(i){return!!i&&n in i}export{i as isAnnotationFeatureGraphicOrigin,n as isAnnotationFeatureGraphicOriginSymbol};
@@ -0,0 +1,29 @@
1
+ /**
2
+ * Provides a utility function to determine whether a graphic's origin is a [DimensionFeatureGraphicOrigin](https://developers.arcgis.com/javascript/latest/references/core/graphic/DimensionFeatureGraphicOrigin/).
3
+ *
4
+ * @since 5.1
5
+ * @example
6
+ * // Use hitTest() to get a graphic, then check whether it originated from a DimensionFeatureLayer.
7
+ * view.hitTest(screenPoint).then((response) => {
8
+ * const graphic = response.results[0]?.graphic;
9
+ * if (!graphic) {
10
+ * return;
11
+ * }
12
+ * if (isDimensionFeatureGraphicOrigin(graphic.origin)) {
13
+ * // hitTest returned a graphic from a DimensionFeatureLayer.
14
+ * // Use this info for your processing logic.
15
+ * } else {
16
+ * console.log("graphic's origin is NOT a DimensionFeatureLayer");
17
+ * }
18
+ * });
19
+ */
20
+ import type DimensionFeatureGraphicOrigin from "./DimensionFeatureGraphicOrigin.js";
21
+ import type GraphicOrigin from "./GraphicOrigin.js";
22
+
23
+ /**
24
+ * Utility function that determines whether a graphic’s origin is a [DimensionFeatureGraphicOrigin](https://developers.arcgis.com/javascript/latest/references/core/graphic/DimensionFeatureGraphicOrigin/).
25
+ *
26
+ * @param origin - The graphic origin to check.
27
+ * @returns Returns `true` if the graphic origin is of type [DimensionFeatureGraphicOrigin](https://developers.arcgis.com/javascript/latest/references/core/graphic/DimensionFeatureGraphicOrigin/), `false` otherwise.
28
+ */
29
+ export function isDimensionFeatureGraphicOrigin(origin: GraphicOrigin | null | undefined): origin is DimensionFeatureGraphicOrigin;
@@ -0,0 +1,2 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
+ const i=Symbol("isDimensionFeatureGraphicOrigin");function n(n){return!!n&&i in n}export{n as isDimensionFeatureGraphicOrigin,i as isDimensionFeatureGraphicOriginSymbol};
package/interfaces.d.ts CHANGED
@@ -3375,7 +3375,7 @@ declare namespace __esri {
3375
3375
  export type LocationFunction = import("./intl/t9n.js").LocationFunction;
3376
3376
 
3377
3377
  /** @deprecated since 5.0. Refactor using \@arcgis/codemod */
3378
- export type AnnotationLayerProperties = import("./layers/AnnotationLayer.js").AnnotationLayerProperties;
3378
+ export type AnnotationLayerProperties = import("./layers/AnnotationFeatureLayer.js").AnnotationFeatureLayerProperties;
3379
3379
 
3380
3380
  /** @deprecated since 5.0. Refactor using \@arcgis/codemod */
3381
3381
  export type BaseDynamicLayerProperties = import("./layers/BaseDynamicLayer.js").BaseDynamicLayerProperties;
@@ -5060,11 +5060,11 @@ declare namespace __esri {
5060
5060
  export const AggregateField: typeof import("./layers/support/AggregateField.js").default;
5061
5061
 
5062
5062
  /** @deprecated since 5.0. Refactor using \@arcgis/codemod */
5063
- export type AnnotationSublayerProperties = import("./layers/support/AnnotationSublayer.js").AnnotationSublayerProperties;
5063
+ export type AnnotationFeatureSublayerProperties = import("./layers/support/AnnotationFeatureSublayer.js").AnnotationFeatureSublayerProperties;
5064
5064
 
5065
5065
  /** @deprecated since 5.0. Refactor using \@arcgis/codemod */
5066
- export type AnnotationSublayer = import("./layers/support/AnnotationSublayer.js").default;
5067
- export const AnnotationSublayer: typeof import("./layers/support/AnnotationSublayer.js").default;
5066
+ export type AnnotationFeatureSublayer = import("./layers/support/AnnotationFeatureSublayer.js").default;
5067
+ export const AnnotationFeatureSublayer: typeof import("./layers/support/AnnotationFeatureSublayer.js").default;
5068
5068
 
5069
5069
  /** @deprecated since 5.0. Refactor using \@arcgis/codemod */
5070
5070
  export type BuildingFieldStatistics = import("./layers/support/BuildingFieldStatistics.js").default;
@@ -12251,8 +12251,8 @@ declare namespace __esri {
12251
12251
  export const SnappingOptions: typeof import("./views/interactive/snapping/SnappingOptions.js").default;
12252
12252
 
12253
12253
  /** @deprecated since 5.0. Refactor using \@arcgis/codemod */
12254
- export type AnnotationLayerView = import("./views/layers/AnnotationLayerView.js").default;
12255
- export const AnnotationLayerView: typeof import("./views/layers/AnnotationLayerView.js").default;
12254
+ export type AnnotationFeatureLayerView = import("./views/layers/AnnotationFeatureLayerView.js").default;
12255
+ export const AnnotationFeatureLayerView: typeof import("./views/layers/AnnotationFeatureLayerView.js").default;
12256
12256
 
12257
12257
  /** @deprecated since 5.0. Refactor using \@arcgis/codemod */
12258
12258
  export type BuildingComponentSublayerViewProperties = import("./views/layers/BuildingComponentSublayerView.js").BuildingComponentSublayerViewProperties;
package/kernel.js CHANGED
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import has from"./core/has.js";import{addQueryParameter as o}from"./core/urlUtils.js";export{buildDate,commitHash as revision}from"./support/revision.js";Symbol.dispose??=Symbol("Symbol.dispose"),Symbol.asyncDispose??=Symbol("Symbol.asyncDispose");const e="5.1";let s,r=e;function i(o){s=o}function t(e){const r=s?.findCredential(e);return r?.token?o(e,"token",r.token):e}r="5.1.0-next.126",has("host-webworker")||globalThis.$arcgis||Object.defineProperty(globalThis,"$arcgis",{configurable:!1,enumerable:!0,writable:!1,value:{}}),has("host-webworker");export{t as addTokenParameter,r as fullVersion,s as id,i as setId,e as version};
2
+ import has from"./core/has.js";import{addQueryParameter as o}from"./core/urlUtils.js";export{buildDate,commitHash as revision}from"./support/revision.js";Symbol.dispose??=Symbol("Symbol.dispose"),Symbol.asyncDispose??=Symbol("Symbol.asyncDispose");const e="5.1";let s,r=e;function i(o){s=o}function t(e){const r=s?.findCredential(e);return r?.token?o(e,"token",r.token):e}r="5.1.0-next.128",has("host-webworker")||globalThis.$arcgis||Object.defineProperty(globalThis,"$arcgis",{configurable:!1,enumerable:!0,writable:!1,value:{}}),has("host-webworker");export{t as addTokenParameter,r as fullVersion,s as id,i as setId,e as version};
@@ -1,6 +1,9 @@
1
+ import type Graphic from "../Graphic.js";
1
2
  import type PopupTemplate from "../PopupTemplate.js";
3
+ import type Collection from "../core/Collection.js";
2
4
  import type Extent from "../geometry/Extent.js";
3
5
  import type Layer from "./Layer.js";
6
+ import type AnnotationFeatureSublayer from "./support/AnnotationFeatureSublayer.js";
4
7
  import type Field from "./support/Field.js";
5
8
  import type FeatureSet from "../rest/support/FeatureSet.js";
6
9
  import type Query from "../rest/support/Query.js";
@@ -22,78 +25,103 @@ import type { QueryProperties } from "../rest/support/Query.js";
22
25
  import type { CreatePopupTemplateOptions } from "../support/popupUtils.js";
23
26
  import type { ObjectId } from "../views/types.js";
24
27
  import type { PopupTemplateProperties } from "../PopupTemplate.js";
28
+ import type { AnnotationFeatureSublayerProperties } from "./support/AnnotationFeatureSublayer.js";
29
+ import type { ReadonlyArrayOrCollection } from "../core/Collection.js";
25
30
 
26
- export interface AnnotationLayerProperties extends LayerProperties, APIKeyMixinProperties, CustomParametersMixinProperties, PortalLayerProperties, OperationalLayerProperties, RefreshableLayerProperties, ScaleRangeLayerProperties, TemporalLayerProperties, BlendLayerProperties, FeatureLayerBaseProperties, Partial<Pick<AnnotationLayer, "outFields" | "popupEnabled">> {
31
+ export interface AnnotationFeatureLayerProperties extends LayerProperties, APIKeyMixinProperties, CustomParametersMixinProperties, PortalLayerProperties, OperationalLayerProperties, RefreshableLayerProperties, ScaleRangeLayerProperties, TemporalLayerProperties, BlendLayerProperties, FeatureLayerBaseProperties, Partial<Pick<AnnotationFeatureLayer, "outFields" | "popupEnabled">> {
27
32
  /**
28
33
  * The popup template for the layer. When set on the layer, the `popupTemplate`
29
34
  * allows users to access attributes and display their values in the
30
35
  * view's Popup when a feature is selected
31
36
  * using text and/or charts. See the [PopupTemplate sample](https://developers.arcgis.com/javascript/latest/sample-code/intro-popuptemplate/)
32
37
  * for an example of how [PopupTemplate](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/) interacts with an
33
- * [AnnotationLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/AnnotationLayer/).
38
+ * [AnnotationFeatureLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/AnnotationFeatureLayer/).
34
39
  *
35
40
  * A default popup template is automatically used if no `popupTemplate` has been defined when
36
41
  * [Popup.defaultPopupTemplateEnabled](https://developers.arcgis.com/javascript/latest/references/core/widgets/Popup/#defaultPopupTemplateEnabled)
37
42
  * is set to `true`.
38
43
  *
39
- * @see [createPopupTemplate()](https://developers.arcgis.com/javascript/latest/references/core/layers/AnnotationLayer/#createPopupTemplate)
44
+ * @see [createPopupTemplate()](https://developers.arcgis.com/javascript/latest/references/core/layers/AnnotationFeatureLayer/#createPopupTemplate)
40
45
  * @see [SceneView.popup](https://developers.arcgis.com/javascript/latest/references/core/views/SceneView/#popup)
41
46
  * @see [View2D.popup](https://developers.arcgis.com/javascript/latest/references/core/views/View2D/#popup)
42
47
  */
43
48
  popupTemplate?: PopupTemplateProperties | null;
49
+ /**
50
+ * A [Collection](https://developers.arcgis.com/javascript/latest/references/core/core/Collection/) of [AnnotationFeatureSublayer](https://developers.arcgis.com/javascript/latest/references/core/layers/support/AnnotationFeatureSublayer/) objects that allow
51
+ * you to alter the visibility of one or more sublayers of the AnnotationFeatureLayer.
52
+ * If this property is not specified, all the sublayers from the feature service are displayed as defined in the service.
53
+ *
54
+ * All sublayers must be referenced using the [AnnotationFeatureSublayer.subtypeCode](https://developers.arcgis.com/javascript/latest/references/core/layers/support/AnnotationFeatureSublayer/#subtypeCode) to identify the sublayer. The sublayers may be [added](https://developers.arcgis.com/javascript/latest/references/core/core/Collection/#add),
55
+ * [removed](https://developers.arcgis.com/javascript/latest/references/core/core/Collection/#remove), or
56
+ * [reordered](https://developers.arcgis.com/javascript/latest/references/core/core/Collection/#reorder) using the
57
+ * [Collection](https://developers.arcgis.com/javascript/latest/references/core/core/Collection/) methods. Because [AnnotationFeatureSublayer](https://developers.arcgis.com/javascript/latest/references/core/layers/support/AnnotationFeatureSublayer/) extends
58
+ * [Accessor](https://developers.arcgis.com/javascript/latest/references/core/core/Accessor/), its properties may be
59
+ * [watched](https://developers.arcgis.com/javascript/latest/watch-for-changes/#watch-for-changes-in-the-api).
60
+ *
61
+ * @example
62
+ * // Only includes the first AnnotationFeatureSublayer from the AnnotationFeatureLayer
63
+ * let layer = new AnnotationFeatureLayer({
64
+ * url: "https://sampleserver6.arcgisonline.com/arcgis/rest/services/RiversAnnotation/FeatureServer/0",
65
+ * sublayers: [{
66
+ * subtypeCode: 0,
67
+ * visible: true
68
+ * }]
69
+ * });
70
+ */
71
+ sublayers?: ReadonlyArrayOrCollection<AnnotationFeatureSublayerProperties> | null;
44
72
  }
45
73
 
46
- export interface AnnotationLayerEvents extends EditBusLayerEvents, RefreshableLayerEvents, LayerEvents {}
74
+ export interface AnnotationFeatureLayerEvents extends EditBusLayerEvents, RefreshableLayerEvents, LayerEvents {}
47
75
 
48
- export default class AnnotationLayer extends AnnotationLayerSuperclass {
76
+ export default class AnnotationFeatureLayer extends AnnotationFeatureLayerSuperclass {
49
77
  /**
50
78
  * @deprecated
51
79
  * Do not directly reference this property.
52
80
  * Use EventNames and EventTypes helpers from \@arcgis/core/Evented
53
81
  */
54
- "@eventTypes": AnnotationLayerEvents;
82
+ "@eventTypes": AnnotationFeatureLayerEvents;
55
83
  /**
56
84
  * @example
57
85
  * // Create an annotation layer from a feature service layer URL.
58
86
  * ```js
59
- * const layer = new AnnotationLayer({
87
+ * const layer = new AnnotationFeatureLayer({
60
88
  * url: "https://sampleserver6.arcgisonline.com/arcgis/rest/services/RiversAnnotation/FeatureServer/0"
61
89
  * });
62
90
  * ```
63
91
  */
64
- constructor(properties?: AnnotationLayerProperties);
92
+ constructor(properties?: AnnotationFeatureLayerProperties);
65
93
  /**
66
94
  * An array of fields in the layer.
67
95
  *
68
- * @see [objectIdField](https://developers.arcgis.com/javascript/latest/references/core/layers/AnnotationLayer/#objectIdField)
96
+ * @see [objectIdField](https://developers.arcgis.com/javascript/latest/references/core/layers/AnnotationFeatureLayer/#objectIdField)
69
97
  */
70
98
  get fields(): Field[];
71
99
  /**
72
100
  * An array of field names from the service to include with each feature.
73
101
  * To fetch the values from all fields in the layer, use `["*"]`.
74
102
  * Set this property to include the fields that will be used for client-side
75
- * [queries](https://developers.arcgis.com/javascript/latest/references/core/views/layers/AnnotationLayerView/#queryFeatures)
103
+ * [queries](https://developers.arcgis.com/javascript/latest/references/core/views/layers/AnnotationFeatureLayerView/#queryFeatures)
76
104
  * if the fields are not part of required fields.
77
105
  *
78
- * @see [AnnotationLayerView.availableFields](https://developers.arcgis.com/javascript/latest/references/core/views/layers/AnnotationLayerView/#availableFields)
106
+ * @see [AnnotationFeatureLayerView.availableFields](https://developers.arcgis.com/javascript/latest/references/core/views/layers/AnnotationFeatureLayerView/#availableFields)
79
107
  * @see [fieldUtils](https://developers.arcgis.com/javascript/latest/references/core/layers/support/fieldUtils/)
80
108
  * @example
81
109
  * // Includes all fields from the service in the layer
82
110
  * layer.outFields = ["*"];
83
111
  * @example
84
112
  * // Get the specified fields from the service in the layer.
85
- * // These fields will be added to AnnotationLayerView.availableFields.
113
+ * // These fields will be added to AnnotationFeatureLayerView.availableFields.
86
114
  * // Use these fields for client-side filtering and querying.
87
115
  * layer.outFields = ["NAME", "POP_2010", "FIPS", "AREA"];
88
116
  */
89
117
  accessor outFields: string[] | null | undefined;
90
118
  /**
91
- * Indicates whether to display popups when features in the layer are clicked. The layer needs to have a [popupTemplate](https://developers.arcgis.com/javascript/latest/references/core/layers/AnnotationLayer/#popupTemplate) to define what
119
+ * Indicates whether to display popups when features in the layer are clicked. The layer needs to have a [popupTemplate](https://developers.arcgis.com/javascript/latest/references/core/layers/AnnotationFeatureLayer/#popupTemplate) to define what
92
120
  * information should be displayed in the popup. Alternatively, a default popup template may be automatically used if
93
121
  * [Popup.defaultPopupTemplateEnabled](https://developers.arcgis.com/javascript/latest/references/core/widgets/Popup/#defaultPopupTemplateEnabled) is set to `true`.
94
122
  *
95
123
  * @default true
96
- * @see [createPopupTemplate()](https://developers.arcgis.com/javascript/latest/references/core/layers/AnnotationLayer/#createPopupTemplate)
124
+ * @see [createPopupTemplate()](https://developers.arcgis.com/javascript/latest/references/core/layers/AnnotationFeatureLayer/#createPopupTemplate)
97
125
  * @see [SceneView.popup](https://developers.arcgis.com/javascript/latest/references/core/views/SceneView/#popup)
98
126
  * @see [View2D.popup](https://developers.arcgis.com/javascript/latest/references/core/views/View2D/#popup)
99
127
  */
@@ -104,20 +132,44 @@ export default class AnnotationLayer extends AnnotationLayerSuperclass {
104
132
  * view's Popup when a feature is selected
105
133
  * using text and/or charts. See the [PopupTemplate sample](https://developers.arcgis.com/javascript/latest/sample-code/intro-popuptemplate/)
106
134
  * for an example of how [PopupTemplate](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/) interacts with an
107
- * [AnnotationLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/AnnotationLayer/).
135
+ * [AnnotationFeatureLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/AnnotationFeatureLayer/).
108
136
  *
109
137
  * A default popup template is automatically used if no `popupTemplate` has been defined when
110
138
  * [Popup.defaultPopupTemplateEnabled](https://developers.arcgis.com/javascript/latest/references/core/widgets/Popup/#defaultPopupTemplateEnabled)
111
139
  * is set to `true`.
112
140
  *
113
- * @see [createPopupTemplate()](https://developers.arcgis.com/javascript/latest/references/core/layers/AnnotationLayer/#createPopupTemplate)
141
+ * @see [createPopupTemplate()](https://developers.arcgis.com/javascript/latest/references/core/layers/AnnotationFeatureLayer/#createPopupTemplate)
114
142
  * @see [SceneView.popup](https://developers.arcgis.com/javascript/latest/references/core/views/SceneView/#popup)
115
143
  * @see [View2D.popup](https://developers.arcgis.com/javascript/latest/references/core/views/View2D/#popup)
116
144
  */
117
145
  get popupTemplate(): PopupTemplate | null | undefined;
118
146
  set popupTemplate(value: PopupTemplateProperties | null | undefined);
147
+ /**
148
+ * A [Collection](https://developers.arcgis.com/javascript/latest/references/core/core/Collection/) of [AnnotationFeatureSublayer](https://developers.arcgis.com/javascript/latest/references/core/layers/support/AnnotationFeatureSublayer/) objects that allow
149
+ * you to alter the visibility of one or more sublayers of the AnnotationFeatureLayer.
150
+ * If this property is not specified, all the sublayers from the feature service are displayed as defined in the service.
151
+ *
152
+ * All sublayers must be referenced using the [AnnotationFeatureSublayer.subtypeCode](https://developers.arcgis.com/javascript/latest/references/core/layers/support/AnnotationFeatureSublayer/#subtypeCode) to identify the sublayer. The sublayers may be [added](https://developers.arcgis.com/javascript/latest/references/core/core/Collection/#add),
153
+ * [removed](https://developers.arcgis.com/javascript/latest/references/core/core/Collection/#remove), or
154
+ * [reordered](https://developers.arcgis.com/javascript/latest/references/core/core/Collection/#reorder) using the
155
+ * [Collection](https://developers.arcgis.com/javascript/latest/references/core/core/Collection/) methods. Because [AnnotationFeatureSublayer](https://developers.arcgis.com/javascript/latest/references/core/layers/support/AnnotationFeatureSublayer/) extends
156
+ * [Accessor](https://developers.arcgis.com/javascript/latest/references/core/core/Accessor/), its properties may be
157
+ * [watched](https://developers.arcgis.com/javascript/latest/watch-for-changes/#watch-for-changes-in-the-api).
158
+ *
159
+ * @example
160
+ * // Only includes the first AnnotationFeatureSublayer from the AnnotationFeatureLayer
161
+ * let layer = new AnnotationFeatureLayer({
162
+ * url: "https://sampleserver6.arcgisonline.com/arcgis/rest/services/RiversAnnotation/FeatureServer/0",
163
+ * sublayers: [{
164
+ * subtypeCode: 0,
165
+ * visible: true
166
+ * }]
167
+ * });
168
+ */
169
+ get sublayers(): Collection<AnnotationFeatureSublayer> | null | undefined;
170
+ set sublayers(value: ReadonlyArrayOrCollection<AnnotationFeatureSublayerProperties> | null | undefined);
119
171
  /** The layer type provides a convenient way to check the type of the layer without the need to import specific layer modules. */
120
- get type(): "annotation";
172
+ get type(): "annotation-feature";
121
173
  /**
122
174
  * Creates a popup template for the layer, populated with all the fields of the layer.
123
175
  *
@@ -132,6 +184,27 @@ export default class AnnotationLayer extends AnnotationLayerSuperclass {
132
184
  * @returns A query object initialized from the layer configuration.
133
185
  */
134
186
  createQuery(): Query;
187
+ /**
188
+ * Returns the sublayer to which the given feature belongs.
189
+ *
190
+ * @param feature - The feature whose sublayer will be returned.
191
+ * @returns The sublayer from the `AnnotationFeatureLayer` to which the feature belongs to.
192
+ */
193
+ findSublayerForFeature(feature: Graphic): AnnotationFeatureSublayer | null | undefined;
194
+ /**
195
+ * Returns the sublayer with the [SubtypeSublayer.subtypeCode](https://developers.arcgis.com/javascript/latest/references/core/layers/support/SubtypeSublayer/#subtypeCode) that matches the number passed as an argument.
196
+ *
197
+ * @param subtypeCode - The subtype coded value.
198
+ * @returns The sublayer from the `AnnotationFeatureLayer` to which the feature belongs to.
199
+ * @example
200
+ * // Updates the visibility of a sublayer after first finding
201
+ * // the sublayer from the subtypeCode.
202
+ * const subtypeCode = 5;
203
+ * const sublayer = annotationFeatureLayer.findSublayerForSubtypeCode(subtypeCode);
204
+ *
205
+ * sublayer.visible = true;
206
+ */
207
+ findSublayerForSubtypeCode(subtypeCode: number): AnnotationFeatureSublayer | null | undefined;
135
208
  /**
136
209
  * Executes a [Query](https://developers.arcgis.com/javascript/latest/references/core/rest/support/Query/) against the feature service and
137
210
  * returns the [Extent](https://developers.arcgis.com/javascript/latest/references/core/geometry/Extent/) of features that satisfy the query. If no
@@ -142,7 +215,7 @@ export default class AnnotationLayer extends AnnotationLayerSuperclass {
142
215
  * >
143
216
  * > To query for the extent of features/graphics available to or visible in the
144
217
  * > [View](https://developers.arcgis.com/javascript/latest/references/core/views/View/) on the client rather than making a server-side query, you must use the
145
- * > [AnnotationLayerView.queryExtent()](https://developers.arcgis.com/javascript/latest/references/core/views/layers/AnnotationLayerView/#queryExtent) method.
218
+ * > [AnnotationFeatureLayerView.queryExtent()](https://developers.arcgis.com/javascript/latest/references/core/views/layers/AnnotationFeatureLayerView/#queryExtent) method.
146
219
  *
147
220
  * @param query - Specifies the attributes and spatial
148
221
  * filter of the query. If no parameters are specified, then the extent and count of all features
@@ -176,7 +249,7 @@ export default class AnnotationLayer extends AnnotationLayerSuperclass {
176
249
  * >
177
250
  * > To query for the count of features/graphics available to or visible in the [View](https://developers.arcgis.com/javascript/latest/references/core/views/View/)
178
251
  * > on the client rather than making a server-side query, you must use the
179
- * > [AnnotationLayerView.queryFeatureCount()](https://developers.arcgis.com/javascript/latest/references/core/views/layers/AnnotationLayerView/#queryFeatureCount) method.
252
+ * > [AnnotationFeatureLayerView.queryFeatureCount()](https://developers.arcgis.com/javascript/latest/references/core/views/layers/AnnotationFeatureLayerView/#queryFeatureCount) method.
180
253
  *
181
254
  * @param query - Specifies the attributes and
182
255
  * spatial filter of the query. If no parameters are specified, the total number of features
@@ -205,12 +278,12 @@ export default class AnnotationLayer extends AnnotationLayerSuperclass {
205
278
  * > **Notes**
206
279
  * >
207
280
  * > To query features available to or visible in the [View](https://developers.arcgis.com/javascript/latest/references/core/views/View/) on the client rather than making a server-side query, you must
208
- * > use the [AnnotationLayerView.queryFeatures()](https://developers.arcgis.com/javascript/latest/references/core/views/layers/AnnotationLayerView/#queryFeatures) method.
281
+ * > use the [AnnotationFeatureLayerView.queryFeatures()](https://developers.arcgis.com/javascript/latest/references/core/views/layers/AnnotationFeatureLayerView/#queryFeatures) method.
209
282
  * >
210
283
  * > When querying a service with z-values and no [vertical coordinate system](https://doc.esri.com/en/arcgis-pro/latest/help/mapping/properties/vertical-coordinate-systems.html) information,
211
284
  * > the z-values will automatically be converted to match the [Query.outSpatialReference](https://developers.arcgis.com/javascript/latest/references/core/rest/support/Query/#outSpatialReference) units.
212
285
  * > Example: The service has a horizontal spatial reference using `feet` units and the query is made with `outSpatialReference`
213
- * > based on `meter` units, then [queryFeatures()](https://developers.arcgis.com/javascript/latest/references/core/layers/AnnotationLayer/#queryFeatures) automatically converts the values from `feet` to `meter` units.
286
+ * > based on `meter` units, then [queryFeatures()](https://developers.arcgis.com/javascript/latest/references/core/layers/AnnotationFeatureLayer/#queryFeatures) automatically converts the values from `feet` to `meter` units.
214
287
  *
215
288
  * @param query - Specifies the attributes and spatial
216
289
  * filter of the query. If no parameters are specified, then all features satisfying the layer's
@@ -228,7 +301,7 @@ export default class AnnotationLayer extends AnnotationLayerSuperclass {
228
301
  * console.log(results.features);
229
302
  * });
230
303
  * @example
231
- * const layer = new AnnotationLayer({
304
+ * const layer = new AnnotationFeatureLayer({
232
305
  * url: fsUrl // points to a Feature Service layer url
233
306
  * });
234
307
  *
@@ -252,7 +325,7 @@ export default class AnnotationLayer extends AnnotationLayerSuperclass {
252
325
  * >
253
326
  * > To query for ObjectIDs of features available to or visible in the [View](https://developers.arcgis.com/javascript/latest/references/core/views/View/) on the client rather
254
327
  * > than making a server-side query, you must use the
255
- * > [AnnotationLayerView.queryObjectIds()](https://developers.arcgis.com/javascript/latest/references/core/views/layers/AnnotationLayerView/#queryObjectIds) method.
328
+ * > [AnnotationFeatureLayerView.queryObjectIds()](https://developers.arcgis.com/javascript/latest/references/core/views/layers/AnnotationFeatureLayerView/#queryObjectIds) method.
256
329
  *
257
330
  * @param query - Specifies the attributes and spatial
258
331
  * filter of the query. If no parameters are specified, then the Object IDs of all features
@@ -270,4 +343,4 @@ export default class AnnotationLayer extends AnnotationLayerSuperclass {
270
343
  */
271
344
  queryObjectIds(query?: QueryProperties | null | undefined, options?: RequestOptions): Promise<ObjectId[]>;
272
345
  }
273
- declare const AnnotationLayerSuperclass: typeof Layer & typeof ClonableMixin & typeof APIKeyMixin & typeof CustomParametersMixin & typeof MultiOriginJSONSupportMixin & typeof PortalLayer & typeof OperationalLayer & typeof RefreshableLayer & typeof ScaleRangeLayer & typeof TemporalLayer & typeof BlendLayer & typeof FeatureLayerBase
346
+ declare const AnnotationFeatureLayerSuperclass: typeof Layer & typeof ClonableMixin & typeof APIKeyMixin & typeof CustomParametersMixin & typeof MultiOriginJSONSupportMixin & typeof PortalLayer & typeof OperationalLayer & typeof RefreshableLayer & typeof ScaleRangeLayer & typeof TemporalLayer & typeof BlendLayer & typeof FeatureLayerBase
@@ -0,0 +1,2 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
+ import{__addDisposableResource as e,__disposeResources as r,__decorate as t}from"tslib";import s from"../PopupTemplate.js";import i from"../request.js";import{ClonableMixin as o}from"../core/Clonable.js";import a from"../core/Collection.js";import n from"../core/Error.js";import{disposable as l,makeHandle as p}from"../core/handleUtils.js";import{MultiOriginJSONSupportMixin as u}from"../core/MultiOriginJSONSupport.js";import{throwIfAbortError as d,whenOrAbort as y,onAbort as m}from"../core/promiseUtils.js";import{watch as h,sync as c}from"../core/reactiveUtils.js";import{join as f}from"../core/urlUtils.js";import{property as b,subclass as v}from"../core/accessorSupport/decorators.js";import j from"./Layer.js";import{APIKeyMixin as g}from"./mixins/APIKeyMixin.js";import{ArcGISService as S}from"./mixins/ArcGISService.js";import{BlendLayer as L}from"./mixins/BlendLayer.js";import{CustomParametersMixin as E}from"./mixins/CustomParametersMixin.js";import{FeatureLayerBase as w}from"./mixins/FeatureLayerBase.js";import{OperationalLayer as F}from"./mixins/OperationalLayer.js";import{PortalLayer as I}from"./mixins/PortalLayer.js";import{RefreshableLayer as P}from"./mixins/RefreshableLayer.js";import{ScaleRangeLayer as x}from"./mixins/ScaleRangeLayer.js";import{TemporalLayer as _}from"./mixins/TemporalLayer.js";import T from"./support/AnnotationFeatureSublayer.js";import{barrierWeight as O,popupEnabled as C}from"./support/commonProperties.js";import{ensureLayerCredential as A,createQuery as q,getFieldDomain as U,hasDataChanged as k}from"./support/featureLayerUtils.js";import{defineFieldProperties as D}from"./support/fieldProperties.js";import{fixTimeInfoFields as N}from"./support/fieldUtils.js";import{serviceSupportsSpatialReference as Q}from"./support/versionUtils.js";import G from"../rest/support/Query.js";import{createPopupTemplate as H}from"../support/popupUtils.js";import{reader as J}from"../core/accessorSupport/decorators/reader.js";const M="annotation-feature-layer",R=D(),B=a.ofType(T);let K=class extends(w(L(_(x(P(S(F(I(u(E(g(o(j))))))))))))){constructor(e){super(e),this._sublayerLookup=new Map,this.barrierWeight="high",this.fields=null,this.fieldsIndex=null,this.operationalLayerType="ArcGISAnnotationLayer",this.outFields=null,this.popupEnabled=!0,this.popupTemplate=null,this.source=null,this.supportedSourceTypes=new Set(["Annotation Layer"]),this.type="annotation-feature",this._dataElementPromise=null,this.addHandles(h(()=>this.sublayers,(e,r)=>this._handleSublayersChange(e,r),c))}destroy(){this.source?.destroy()}load(e){const r=e?.signal,t=this.loadFromPortal({supportedTypes:["Feature Service"]},e).catch(d).then(async()=>{if(this.url&&null==this.layerId&&/FeatureServer|MapServer\/*$/i.test(this.url)){const e=await this._fetchFirstValidLayerId(r);null!=e&&(this.layerId=e)}if(!this.url)throw new n(`${M}:missing-url`,"AnnotationFeatureLayer must be created with a url");return this.initLayerProperties(await this.createGraphicsSource(r))}).then(()=>A(this,"load",e));return this.addResolvingPromise(t),Promise.resolve(this)}get editingEnabled(){return this._isOverridden("editingEnabled")?this._get("editingEnabled"):this.loaded&&null!=this.capabilities&&this.capabilities.operations.supportsEditing&&this.userHasEditingPrivileges}set editingEnabled(e){this._overrideIfSome("editingEnabled",e)}get effectiveEditingEnabled(){return!1}get defaultPopupTemplate(){return this.createPopupTemplate()}readSublayers(e,r){const t=new B(r.subtypes.map(({code:e})=>new T({subtypeCode:e})).reverse());if(this.visibleLayers){const e=new Set(this.visibleLayers);t.forEach(r=>{r.visible=e.has(r.subtypeCode)})}return t}get visibleLayers(){return this.sublayers?Array.from(new Set(this.sublayers?.toArray().filter(e=>e.visible).map(e=>e.subtypeCode).sort((e,r)=>e-r)??null)):this._get("visibleLayers")??null}set visibleLayers(e){this._set("visibleLayers",e)}createPopupTemplate(e){return H(this,e)}async createGraphicsSource(t){const s={stack:[],error:void 0,hasError:!1};try{const{default:r}=await y(import("./graphics/sources/FeatureLayerSource.js"),t),i=new r({layer:this,supportedSourceTypes:this.supportedSourceTypes});e(s,l(m(t,()=>i.cancelLoad())??p()),!1);return await i.load({signal:t}),i}catch(i){s.error=i,s.hasError=!0}finally{r(s)}}createQuery(){const e=q(this);return e.where=this.definitionExpression||"1=1",e}async fetchDataElement(e){if(this._dataElementPromise)return this._dataElementPromise;if(!this.url)throw new Error("InternalError: A URL is required to retrieve the data element for this layer.");const r=f(this.url,"queryDataElements"),t={f:"json",layers:this.layerId};return this._dataElementPromise=i(r,{...e,responseType:"json",query:t}).then(e=>{const r=e.data.layerDataElements,t=this.layerId,s=r.find(e=>e.layerId===t);if(!s)throw new n("fetchDataElement:not-available","A data element for this layer could not be retrieved.");return s.dataElement}),this._dataElementPromise}findSublayerForFeature(e){const r=this.fieldsIndex.get(this.subtypeField),t=e.attributes[r.name];return this.findSublayerForSubtypeCode(t)}findSublayerForSubtypeCode(e){return this._sublayerLookup.get(e)}getFieldDomain(e,r){return U(this,e,r,this.getField(e)?.domain??null)}async queryFeatures(e,r){const t=await this.load(),s=await t.source.queryFeatures(G.from(e)??t.createQuery(),r);if(s?.features)for(const i of s.features){const e=this.findSublayerForFeature(i);i.origin=e?.graphicOrigin,i.layer=i.sourceLayer=this}return s}async queryObjectIds(e,r){const t=await this.load();return t.source.queryObjectIds(G.from(e)??t.createQuery(),r)}async queryFeatureCount(e,r){const t=await this.load();return t.source.queryFeatureCount(G.from(e)??t.createQuery(),r)}async queryExtent(e,r){const t=await this.load();return t.source.queryExtent(G.from(e)??t.createQuery(),r)}serviceSupportsSpatialReference(e){return this.loaded&&Q(this,e)}async initLayerProperties(e){this._set("source",e),e.sourceJSON&&(this.sourceJSON=e.sourceJSON,this.read(e.sourceJSON,{origin:"service",portalItem:this.portalItem,portal:this.portalItem?.portal,url:this.parsedUrl})),N(this.timeInfo,this.fieldsIndex)}async hasDataChanged(){return k(this)}_fetchFirstValidLayerId(e){return i(this.url??"",{query:{f:"json",...this.customParameters,token:this.apiKey},responseType:"json",signal:e}).then(e=>{const r=e.data;if(!r)return;this.applyPreferredHost(r);const t=[...r.layers||[],...r.tables||[]];return t.find(({type:e})=>!e||this.supportedSourceTypes.has(e))?.id})}_handleSublayersChange(e,r){r&&(r.forEach(e=>{e.parent=null}),this.removeHandles("sublayers-owner"),this._sublayerLookup.clear()),e&&(e.forEach(e=>{e.parent=this,this._sublayerLookup.set(e.subtypeCode,e)}),this.addHandles([e.on("after-add",({item:e})=>{e.parent=this,this._sublayerLookup.set(e.subtypeCode,e)}),e.on("after-remove",({item:e})=>{e.parent=null,this._sublayerLookup.delete(e.subtypeCode)})],"sublayers-owner"))}};t([b(O)],K.prototype,"barrierWeight",void 0),t([b({json:{write:!0}})],K.prototype,"editingEnabled",null),t([b({readOnly:!0})],K.prototype,"effectiveEditingEnabled",null),t([b({...R.fields,readOnly:!0,json:{read:!1,origins:{service:{read:!0}}}})],K.prototype,"fields",void 0),t([b(R.fieldsIndex)],K.prototype,"fieldsIndex",void 0),t([b({type:["ArcGISAnnotationLayer"]})],K.prototype,"operationalLayerType",void 0),t([b(R.outFields)],K.prototype,"outFields",void 0),t([b(C)],K.prototype,"popupEnabled",void 0),t([b({type:s,json:{name:"popupInfo",write:!0}})],K.prototype,"popupTemplate",void 0),t([b({readOnly:!0})],K.prototype,"defaultPopupTemplate",null),t([b({clonable:!1,readOnly:!0})],K.prototype,"source",void 0),t([b({type:B})],K.prototype,"sublayers",void 0),t([J("service","sublayers",["subtypes"])],K.prototype,"readSublayers",null),t([b({json:{read:!1},value:"annotation-feature",readOnly:!0})],K.prototype,"type",void 0),t([b({type:[Number],json:{write:{ignoreOrigin:!0}}})],K.prototype,"visibleLayers",null),K=t([v("esri.layers.AnnotationFeatureLayer")],K);const V=K;export{V as default};