@arcgis/core 5.2.0-next.112 → 5.2.0-next.113

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 (419) hide show
  1. package/Ground.d.ts +4 -5
  2. package/Ground.js +1 -1
  3. package/arcgisGlobal.d.ts +5 -0
  4. package/assets/esri/core/workers/RemoteClient.js +1 -1
  5. package/assets/esri/core/workers/chunks/01ca17092545d72be7b6.js +1 -0
  6. package/assets/esri/core/workers/chunks/{f5a988bb850f7a7af143.js → 05b373a663cb5d4d722f.js} +1 -1
  7. package/assets/esri/core/workers/chunks/{36f8caeb574dcd5c0ed5.js → 0b727d7bf3e36e146725.js} +1 -1
  8. package/assets/esri/core/workers/chunks/0c65862e3dd810015491.js +1 -0
  9. package/assets/esri/core/workers/chunks/0e3e58ba8e2d358121a5.js +1 -0
  10. package/assets/esri/core/workers/chunks/0edebc6c516f0b9dac7b.js +1 -0
  11. package/assets/esri/core/workers/chunks/1004e77593dfa506cd5d.js +1 -0
  12. package/assets/esri/core/workers/chunks/184942ea601237c8241a.js +1 -0
  13. package/assets/esri/core/workers/chunks/20de0ea9fa08a6545978.js +1 -0
  14. package/assets/esri/core/workers/chunks/214d63813d268afc265d.js +1 -0
  15. package/assets/esri/core/workers/chunks/22e85819e23202a8ba90.js +1 -0
  16. package/assets/esri/core/workers/chunks/{6e677505d257e0848075.js → 23f9ab77e4e263f82636.js} +1 -1
  17. package/assets/esri/core/workers/chunks/28a04887ecaee5445d14.js +1 -0
  18. package/assets/esri/core/workers/chunks/{2fc5c1504691badc7792.js → 2ac2d0a7623dd060c144.js} +1 -1
  19. package/assets/esri/core/workers/chunks/2afce71e8b6ae86e0792.js +1 -0
  20. package/assets/esri/core/workers/chunks/36792b8a85e88044cb49.js +1 -0
  21. package/assets/esri/core/workers/chunks/36a7e19f43517aa94577.js +1 -0
  22. package/assets/esri/core/workers/chunks/{6e6cdff4bbe1ff2f44ac.js → 3ab25279aaa30f035038.js} +1 -1
  23. package/assets/esri/core/workers/chunks/{e6dae16208f6978b59e0.js → 3b499cfc89c8f87cdb20.js} +1 -1
  24. package/assets/esri/core/workers/chunks/445b0ca1b70730c9a2e6.js +1 -0
  25. package/assets/esri/core/workers/chunks/{24673aac70d6c949b6fa.js → 4bf2cc4d092601ff2b86.js} +1 -1
  26. package/assets/esri/core/workers/chunks/{d45483dd0dc2853b18b7.js → 4bfd63f3cf9208eb839b.js} +33 -33
  27. package/assets/esri/core/workers/chunks/501df20cdd09384f6ee2.js +1 -0
  28. package/assets/esri/core/workers/chunks/510a190a6f0a60ae38c3.js +1 -0
  29. package/assets/esri/core/workers/chunks/{89a785f8b61263e2d592.js → 552c92b01a5f02a115c5.js} +1 -1
  30. package/assets/esri/core/workers/chunks/564fdf0d663b773806cc.js +1 -0
  31. package/assets/esri/core/workers/chunks/{d9270f4935eb0d044db3.js → 57328c206f1e699ac06f.js} +1 -1
  32. package/assets/esri/core/workers/chunks/{50951fb13013b11b8a24.js → 58e62c8ce1292f4d3b06.js} +1 -1
  33. package/assets/esri/core/workers/chunks/5aee7739afb5160d4ace.js +1 -0
  34. package/assets/esri/core/workers/chunks/5b9925f23d4b10a7087e.js +1 -0
  35. package/assets/esri/core/workers/chunks/5f79ba5639067f734791.js +1 -0
  36. package/assets/esri/core/workers/chunks/{b013b70e40dfb6ce013e.js → 60c61f34733063730386.js} +1 -1
  37. package/assets/esri/core/workers/chunks/62b1f94f4fa978d4da48.js +1 -0
  38. package/assets/esri/core/workers/chunks/6b264006b96cbf93d8ed.js +1 -0
  39. package/assets/esri/core/workers/chunks/6b9d29ca568590358478.js +1 -0
  40. package/assets/esri/core/workers/chunks/{7c5310e0104c22da0261.js → 6c7cb7974969e3167f2b.js} +1 -1
  41. package/assets/esri/core/workers/chunks/6c82cbcd504c711a7450.js +1 -0
  42. package/assets/esri/core/workers/chunks/{e98b785e8f4edc8bd3ff.js → 6eceeca33fac8e900d9d.js} +1 -1
  43. package/assets/esri/core/workers/chunks/7232fc11b23777b6be94.js +1 -0
  44. package/assets/esri/core/workers/chunks/726ca458b98bb4334431.js +1 -0
  45. package/assets/esri/core/workers/chunks/785206da3962ba23de16.js +1 -0
  46. package/assets/esri/core/workers/chunks/{1c70620f40be02f532b5.js → 7b169eabafcc03bfaee6.js} +1 -1
  47. package/assets/esri/core/workers/chunks/7bbc3d22383388d11345.js +1 -0
  48. package/assets/esri/core/workers/chunks/{082069f80eee0407b828.js → 7edf57e31ff07af9032b.js} +1 -1
  49. package/assets/esri/core/workers/chunks/83ed38468e316302b157.js +1 -0
  50. package/assets/esri/core/workers/chunks/85c876ee9e63d5732937.js +1 -0
  51. package/assets/esri/core/workers/chunks/8f0ecf4d06ec7b67d4ed.js +1 -0
  52. package/assets/esri/core/workers/chunks/8f1c5f5e70d4b33d021d.js +1 -0
  53. package/assets/esri/core/workers/chunks/{a1916bca1af5c65be4b0.js → 90ab3c47138875070a53.js} +1 -1
  54. package/assets/esri/core/workers/chunks/{10389c87d9c6a43363ce.js → 917dec9c004218c58950.js} +1 -1
  55. package/assets/esri/core/workers/chunks/91f451b98e0f696043df.js +1 -0
  56. package/assets/esri/core/workers/chunks/943d0026ca4d49eb3ac2.js +1 -0
  57. package/assets/esri/core/workers/chunks/982a396bd4fffa62e911.js +1 -0
  58. package/assets/esri/core/workers/chunks/98a5327fd96d9542b39f.js +1 -0
  59. package/assets/esri/core/workers/chunks/9b9a60f1e0c48aa701f0.js +1 -0
  60. package/assets/esri/core/workers/chunks/9d92e6f0beed9a8580fa.js +1 -0
  61. package/assets/esri/core/workers/chunks/9df379041e8860fe7f01.js +1 -0
  62. package/assets/esri/core/workers/chunks/{1e8ceb4a4b28625236e3.js → a42505b978d54d36d3b6.js} +1 -1
  63. package/assets/esri/core/workers/chunks/{bfbe6ff786435fe1e7cf.js → a86a4e550a92f770d6d5.js} +1 -1
  64. package/assets/esri/core/workers/chunks/{a34eee4c9d4c1c2b8c49.js → ab60f3bc18b5ea504f70.js} +1 -1
  65. package/assets/esri/core/workers/chunks/{18b9ec6ba7a6c0fa2ac6.js → b1880d9f5eafd50ce84b.js} +1 -1
  66. package/assets/esri/core/workers/chunks/{777fc163530448eea13e.js → b4222152efaf73b37b53.js} +1 -1
  67. package/assets/esri/core/workers/chunks/b6ca73c1384f07b30b74.js +1 -0
  68. package/assets/esri/core/workers/chunks/bb4cbf6b7c35e8c78cc7.js +1 -0
  69. package/assets/esri/core/workers/chunks/bb831d23422acfb00ae2.js +1 -0
  70. package/assets/esri/core/workers/chunks/c0855be20ffcd52c7026.js +1 -0
  71. package/assets/esri/core/workers/chunks/{a0f742fd947104662d37.js → c6277236ec47586dca00.js} +1 -1
  72. package/assets/esri/core/workers/chunks/{3be33a129d3ae7dc4f06.js → caf38cf4d8542fb11c46.js} +1 -1
  73. package/assets/esri/core/workers/chunks/{2728eda8178e02fbca47.js → cd0f5cd0fefe7f49e3d8.js} +1 -1
  74. package/assets/esri/core/workers/chunks/{48a53bfeef11c32dadcc.js → d25fb32a233d2128afbe.js} +1 -1
  75. package/assets/esri/core/workers/chunks/d629708bf23da24ee523.js +1 -0
  76. package/assets/esri/core/workers/chunks/db141122060d8d9b38da.js +1 -0
  77. package/assets/esri/core/workers/chunks/dc1944a7601b518a9c48.js +1 -0
  78. package/assets/esri/core/workers/chunks/{573ee2e59d26bc75201e.js → dc8670f32bb0b93c1473.js} +1 -1
  79. package/assets/esri/core/workers/chunks/e1f2b07be33e33117313.js +1 -0
  80. package/assets/esri/core/workers/chunks/e52f30dfb7c82491a7f2.js +1 -0
  81. package/assets/esri/core/workers/chunks/e5906b28b981199fd489.js +1 -0
  82. package/assets/esri/core/workers/chunks/{b3293ee9f221423a6825.js → e611e452f04a9ce64cf8.js} +1 -1
  83. package/assets/esri/core/workers/chunks/{0f20c458f873564faff2.js → ec4f887153c24ab83f2c.js} +1 -1
  84. package/assets/esri/core/workers/chunks/{707b4ae689c4329cad3b.js → f40ceb5e03c699605302.js} +1 -1
  85. package/assets/esri/core/workers/chunks/{547a073c789fdfb78310.js → f42243c62dd0b6993816.js} +1 -1
  86. package/assets/esri/core/workers/chunks/f91cab9904020cf25d50.js +1 -0
  87. package/assets/esri/core/workers/chunks/f9b29d2ce1cd31c0fce1.js +1 -0
  88. package/assets/esri/core/workers/chunks/fdf5ceffec9d5185953d.js +1 -0
  89. package/assets/esri/views/3d/environment/resources/milkyway-band.ktx2 +0 -0
  90. package/chunks/DeepSky.glsl.js +1 -1
  91. package/chunks/FocusArea.glsl.js +1 -1
  92. package/chunks/GaussianSplatDepth.glsl.js +3 -3
  93. package/chunks/RibbonLine.glsl.js +15 -13
  94. package/config.js +1 -1
  95. package/geometry/Extent.js +1 -1
  96. package/geometry/operators/affineTransformOperator.d.ts +9 -3
  97. package/geometry/operators/affineTransformOperator.js +1 -1
  98. package/geometry/operators/alphaShapeOperator.d.ts +14 -4
  99. package/geometry/operators/alphaShapeOperator.js +1 -1
  100. package/geometry/operators/areaOperator.d.ts +11 -3
  101. package/geometry/operators/areaOperator.js +1 -1
  102. package/geometry/operators/autoCompleteOperator.d.ts +6 -2
  103. package/geometry/operators/autoCompleteOperator.js +1 -1
  104. package/geometry/operators/boundaryOperator.d.ts +9 -3
  105. package/geometry/operators/boundaryOperator.js +1 -1
  106. package/geometry/operators/bufferOperator.d.ts +19 -5
  107. package/geometry/operators/bufferOperator.js +1 -1
  108. package/geometry/operators/centroidOperator.d.ts +6 -2
  109. package/geometry/operators/centroidOperator.js +1 -1
  110. package/geometry/operators/clipOperator.d.ts +9 -3
  111. package/geometry/operators/clipOperator.js +1 -1
  112. package/geometry/operators/containsOperator.d.ts +9 -3
  113. package/geometry/operators/containsOperator.js +1 -1
  114. package/geometry/operators/convexHullOperator.d.ts +17 -5
  115. package/geometry/operators/convexHullOperator.js +1 -1
  116. package/geometry/operators/crossesOperator.d.ts +9 -3
  117. package/geometry/operators/crossesOperator.js +1 -1
  118. package/geometry/operators/cutOperator.d.ts +6 -2
  119. package/geometry/operators/cutOperator.js +1 -1
  120. package/geometry/operators/densifyOperator.d.ts +14 -4
  121. package/geometry/operators/densifyOperator.js +1 -1
  122. package/geometry/operators/differenceOperator.d.ts +9 -3
  123. package/geometry/operators/differenceOperator.js +1 -1
  124. package/geometry/operators/disjointOperator.d.ts +9 -3
  125. package/geometry/operators/disjointOperator.js +1 -1
  126. package/geometry/operators/distanceOperator.d.ts +11 -3
  127. package/geometry/operators/distanceOperator.js +1 -1
  128. package/geometry/operators/equalsOperator.d.ts +9 -3
  129. package/geometry/operators/equalsOperator.js +1 -1
  130. package/geometry/operators/extendOperator.d.ts +11 -3
  131. package/geometry/operators/extendOperator.js +1 -1
  132. package/geometry/operators/generalizeOperator.d.ts +14 -4
  133. package/geometry/operators/generalizeOperator.js +1 -1
  134. package/geometry/operators/geodesicBufferOperator.d.ts +25 -7
  135. package/geometry/operators/geodesicBufferOperator.js +1 -1
  136. package/geometry/operators/geodesicProximityOperator.d.ts +28 -8
  137. package/geometry/operators/geodesicProximityOperator.js +1 -1
  138. package/geometry/operators/geodeticAreaOperator.d.ts +17 -5
  139. package/geometry/operators/geodeticAreaOperator.js +1 -1
  140. package/geometry/operators/geodeticDensifyOperator.d.ts +20 -6
  141. package/geometry/operators/geodeticDensifyOperator.js +1 -1
  142. package/geometry/operators/geodeticDistanceOperator.d.ts +17 -5
  143. package/geometry/operators/geodeticDistanceOperator.js +1 -1
  144. package/geometry/operators/geodeticLengthOperator.d.ts +17 -5
  145. package/geometry/operators/geodeticLengthOperator.js +1 -1
  146. package/geometry/operators/geodeticUtilsOperator.d.ts +17 -5
  147. package/geometry/operators/geodeticUtilsOperator.js +1 -1
  148. package/geometry/operators/graphicBufferOperator.d.ts +11 -3
  149. package/geometry/operators/graphicBufferOperator.js +1 -1
  150. package/geometry/operators/integrateOperator.d.ts +6 -2
  151. package/geometry/operators/integrateOperator.js +1 -1
  152. package/geometry/operators/intersectionOperator.d.ts +12 -4
  153. package/geometry/operators/intersectionOperator.js +1 -1
  154. package/geometry/operators/intersectsOperator.d.ts +9 -3
  155. package/geometry/operators/intersectsOperator.js +1 -1
  156. package/geometry/operators/isNearOperator.d.ts +11 -3
  157. package/geometry/operators/isNearOperator.js +1 -1
  158. package/geometry/operators/json/bufferOperator.js +1 -1
  159. package/geometry/operators/json/containsOperator.js +1 -1
  160. package/geometry/operators/json/convexHullOperator.js +1 -1
  161. package/geometry/operators/json/crossesOperator.js +1 -1
  162. package/geometry/operators/json/disjointOperator.js +1 -1
  163. package/geometry/operators/json/generalizeOperator.js +1 -1
  164. package/geometry/operators/json/geodesicBufferOperator.js +1 -1
  165. package/geometry/operators/json/graphicBufferOperator.js +1 -1
  166. package/geometry/operators/json/intersectionOperator.js +1 -1
  167. package/geometry/operators/json/intersectsOperator.js +1 -1
  168. package/geometry/operators/json/lengthOperator.js +1 -1
  169. package/geometry/operators/json/offsetOperator.js +1 -1
  170. package/geometry/operators/json/overlapsOperator.js +1 -1
  171. package/geometry/operators/json/projectOperator.js +1 -1
  172. package/geometry/operators/json/simplifyOperator.js +1 -1
  173. package/geometry/operators/json/simplifyOperatorOGC.js +1 -1
  174. package/geometry/operators/json/touchesOperator.js +1 -1
  175. package/geometry/operators/json/unionOperator.js +1 -1
  176. package/geometry/operators/json/withinOperator.js +1 -1
  177. package/geometry/operators/labelPointOperator.d.ts +9 -3
  178. package/geometry/operators/labelPointOperator.js +1 -1
  179. package/geometry/operators/lengthOperator.d.ts +11 -3
  180. package/geometry/operators/lengthOperator.js +1 -1
  181. package/geometry/operators/linesToPolygonsOperator.d.ts +6 -2
  182. package/geometry/operators/linesToPolygonsOperator.js +1 -1
  183. package/geometry/operators/locateBetweenOperator.d.ts +6 -2
  184. package/geometry/operators/locateBetweenOperator.js +1 -1
  185. package/geometry/operators/minimumBoundingCircleOperator.d.ts +14 -4
  186. package/geometry/operators/minimumBoundingCircleOperator.js +1 -1
  187. package/geometry/operators/multiPartToSinglePartOperator.d.ts +11 -3
  188. package/geometry/operators/multiPartToSinglePartOperator.js +1 -1
  189. package/geometry/operators/offsetOperator.d.ts +14 -4
  190. package/geometry/operators/offsetOperator.js +1 -1
  191. package/geometry/operators/overlapsOperator.d.ts +9 -3
  192. package/geometry/operators/overlapsOperator.js +1 -1
  193. package/geometry/operators/polygonOverlayOperator.d.ts +11 -3
  194. package/geometry/operators/polygonOverlayOperator.js +1 -1
  195. package/geometry/operators/polygonSlicerOperator.d.ts +22 -6
  196. package/geometry/operators/polygonSlicerOperator.js +1 -1
  197. package/geometry/operators/projectOperator.d.ts +15 -5
  198. package/geometry/operators/projectOperator.js +1 -1
  199. package/geometry/operators/proximityOperator.d.ts +22 -6
  200. package/geometry/operators/proximityOperator.js +1 -1
  201. package/geometry/operators/relateOperator.d.ts +12 -4
  202. package/geometry/operators/relateOperator.js +1 -1
  203. package/geometry/operators/reshapeOperator.d.ts +6 -2
  204. package/geometry/operators/reshapeOperator.js +1 -1
  205. package/geometry/operators/shapePreservingProjectOperator.d.ts +20 -6
  206. package/geometry/operators/shapePreservingProjectOperator.js +1 -1
  207. package/geometry/operators/simplifyOGCOperator.d.ts +3 -1
  208. package/geometry/operators/simplifyOGCOperator.js +1 -1
  209. package/geometry/operators/simplifyOperator.d.ts +12 -4
  210. package/geometry/operators/simplifyOperator.js +1 -1
  211. package/geometry/operators/singlePartToMultiPartOperator.js +1 -1
  212. package/geometry/operators/support/deprecatedOperator.js +2 -0
  213. package/geometry/operators/symmetricDifferenceOperator.d.ts +9 -3
  214. package/geometry/operators/symmetricDifferenceOperator.js +1 -1
  215. package/geometry/operators/touchesOperator.d.ts +9 -3
  216. package/geometry/operators/touchesOperator.js +1 -1
  217. package/geometry/operators/unionOperator.d.ts +9 -3
  218. package/geometry/operators/unionOperator.js +1 -1
  219. package/geometry/operators/withinOperator.d.ts +9 -3
  220. package/geometry/operators/withinOperator.js +1 -1
  221. package/geometry/support/intersectsBase.js +1 -1
  222. package/geometry/support/normalizeUtils.js +1 -1
  223. package/kernel.js +1 -1
  224. package/layers/IntegratedMesh3DTilesLayer.js +1 -1
  225. package/layers/IntegratedMeshLayer.js +1 -1
  226. package/layers/SceneLayer.js +1 -1
  227. package/layers/buildingSublayers/BuildingComponentSublayer.js +1 -1
  228. package/layers/list/BasemapItemCollection.d.ts +40 -14
  229. package/layers/list/BasemapItemCollection.js +1 -1
  230. package/layers/list/CatalogItemCollection.d.ts +29 -11
  231. package/layers/list/CatalogItemCollection.js +1 -1
  232. package/layers/list/Item.d.ts +66 -122
  233. package/layers/list/Item.js +1 -1
  234. package/layers/list/ItemPanel.d.ts +23 -34
  235. package/layers/list/LayerItemCollection.d.ts +33 -43
  236. package/layers/list/LayerItemCollection.js +1 -1
  237. package/layers/list/TableItem.d.ts +42 -53
  238. package/layers/list/TableItem.js +1 -1
  239. package/layers/list/TableItemCollection.d.ts +25 -55
  240. package/layers/list/TableItemCollection.js +1 -1
  241. package/layers/list/TableItemPanel.d.ts +25 -23
  242. package/layers/list/support/layerListUtils.js +1 -1
  243. package/layers/list/types.d.ts +158 -37
  244. package/layers/support/ElevationQuery.js +1 -1
  245. package/layers/support/FeatureFilter.d.ts +2 -1
  246. package/layers/support/FeatureFilter.js +1 -1
  247. package/package.json +2 -2
  248. package/rest/knowledgeGraph/GraphDeleteNamedTypeResult.d.ts +0 -1
  249. package/support/revision.js +1 -1
  250. package/symbols/LineSymbol3DLayer.d.ts +9 -3
  251. package/symbols/cim/CIMSymbolDrawHelper.js +1 -1
  252. package/symbols/cim/CIMSymbolHelper.js +1 -1
  253. package/symbols/cim/OverrideHelper.js +1 -1
  254. package/symbols/cim/Rasterizer.js +1 -1
  255. package/symbols/cim/cimAnalyzer.js +1 -1
  256. package/symbols/cim/dashUtils.js +2 -0
  257. package/symbols/cim/effects/EffectDashes.js +1 -1
  258. package/symbols/cim/fromCIMFontStyle.js +2 -0
  259. package/symbols/cim/richTextUtils.js +1 -1
  260. package/symbols/cim/utils.js +1 -1
  261. package/symbols/patterns/LinePattern3D.d.ts +10 -4
  262. package/symbols/patterns/LinePattern3D.js +1 -1
  263. package/symbols/patterns/LineTemplatePattern3D.d.ts +48 -0
  264. package/symbols/patterns/LineTemplatePattern3D.js +2 -0
  265. package/symbols/patterns/utils.js +1 -1
  266. package/symbols/support/Symbol3DOutline.js +1 -1
  267. package/views/2d/engine/webgl/AttributeStoreView.js +1 -1
  268. package/views/2d/engine/webgl/FeatureDisplayList.js +1 -1
  269. package/views/2d/engine/webgl/GlyphMosaic.js +1 -1
  270. package/views/2d/engine/webgl/GlyphWorker.js +1 -1
  271. package/views/2d/engine/webgl/TextureManager.js +1 -1
  272. package/views/2d/engine/webgl/decorGlyphRect.js +2 -0
  273. package/views/2d/engine/webgl/definitions.js +1 -1
  274. package/views/2d/engine/webgl/effects/highlight/HighlightGradient.js +1 -1
  275. package/views/2d/engine/webgl/effects/highlight/MultiHighlightGradient.js +1 -1
  276. package/views/2d/engine/webgl/hashMosaic.js +2 -0
  277. package/views/2d/engine/webgl/shaderGraph/techniques/featureTechniqueUtils.js +1 -1
  278. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/AFeatureShader.js +1 -1
  279. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/ShaderHighlight.js +1 -1
  280. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/utils.js +1 -1
  281. package/views/2d/layers/FeatureLikeLayerView2D.js +1 -1
  282. package/views/2d/layers/GraphicsLayerView2D.js +1 -1
  283. package/views/2d/layers/ImageryLayerView2D.js +1 -1
  284. package/views/2d/layers/LayerView2D.js +1 -1
  285. package/views/2d/layers/MapImageLayerView2D.js +1 -1
  286. package/views/2d/layers/MapNotesLayerView2D.js +1 -1
  287. package/views/2d/layers/RouteLayerView2D.js +1 -1
  288. package/views/2d/layers/TileLayerView2D.js +1 -1
  289. package/views/2d/layers/features/FeatureContainer.js +1 -1
  290. package/views/2d/layers/features/FeaturePipelineWorker.js +1 -1
  291. package/views/2d/layers/features/Processor.js +1 -1
  292. package/views/2d/layers/features/processor/AProcessorStrategy.js +1 -1
  293. package/views/2d/layers/features/processor/AggregateStrategy.js +1 -1
  294. package/views/2d/layers/features/processor/FeatureUpdateStrategy.js +1 -1
  295. package/views/2d/layers/features/processor/bins/BinLevelState.js +1 -1
  296. package/views/2d/layers/features/processor/clusters/ClusterLevelState.js +1 -1
  297. package/views/2d/layers/features/processor/tracks/TrackLevelState.js +1 -1
  298. package/views/2d/layers/features/schema/processor/SimpleProcessorSchema.js +1 -1
  299. package/views/2d/layers/features/sources/FeatureSource.js +1 -1
  300. package/views/2d/layers/features/support/AttributeStore.js +1 -1
  301. package/views/2d/layers/graphics/AGraphicContainer.js +1 -1
  302. package/views/2d/layers/graphics/GraphicBoundsRenderer.js +1 -1
  303. package/views/2d/layers/graphics/GraphicsView2D.js +1 -1
  304. package/views/2d/layers/support/FeatureCommandQueue.js +1 -1
  305. package/views/2d/layers/support/FilterSchema.js +2 -0
  306. package/views/2d/layers/support/HighlightRegistry.js +2 -0
  307. package/views/2d/layers/support/annodime/dimensionUtils.js +1 -1
  308. package/views/2d/layers/support/util.js +1 -1
  309. package/views/3d/analysis/LineOfSight/LineOfSightRayIntersector.js +1 -1
  310. package/views/3d/input/SceneInputManager.js +1 -1
  311. package/views/3d/input/handlers/ground/GroundNavigation.js +1 -1
  312. package/views/3d/layers/GaussianSplatLayerView3D.js +1 -1
  313. package/views/3d/layers/I3SMeshView3D.js +1 -1
  314. package/views/3d/layers/IntegratedMesh3DTilesLayerView3D.js +1 -1
  315. package/views/3d/layers/IntegratedMeshLayerView3D.js +1 -1
  316. package/views/3d/layers/graphics/Graphics3DCore.js +1 -1
  317. package/views/3d/layers/graphics/Graphics3DFeatureStore.js +1 -1
  318. package/views/3d/layers/graphics/Graphics3DGraphic.js +1 -1
  319. package/views/3d/layers/graphics/Graphics3DLineSymbolLayer.js +1 -1
  320. package/views/3d/layers/support/Tiles3DMeshIntersectionHandler.js +1 -1
  321. package/views/3d/navigation/Navigation3D.d.ts +16 -0
  322. package/views/3d/navigation/Navigation3D.js +2 -0
  323. package/views/3d/navigation/modes/DefaultNavigationMode3D.d.ts +4 -0
  324. package/views/3d/navigation/modes/DefaultNavigationMode3D.js +2 -0
  325. package/views/3d/navigation/modes/GroundNavigationMode3D.d.ts +4 -0
  326. package/views/3d/navigation/modes/GroundNavigationMode3D.js +2 -0
  327. package/views/3d/navigation/modes/NavigationMode3D.d.ts +4 -0
  328. package/views/3d/navigation/modes/NavigationMode3D.js +2 -0
  329. package/views/3d/navigation/modes/NavigationMode3DUnion.d.ts +5 -0
  330. package/views/3d/state/ConstraintsManager.js +1 -1
  331. package/views/3d/support/QualityProfile.js +1 -1
  332. package/views/3d/support/hitTest.js +1 -1
  333. package/views/3d/terrain/ExtentHelper.js +1 -1
  334. package/views/3d/webgl-engine/collections/Component/Material/ComponentMaterial.js +1 -1
  335. package/views/3d/webgl-engine/effects/AmbientIllumination.js +2 -0
  336. package/views/3d/webgl-engine/effects/fog/Fog.js +1 -1
  337. package/views/3d/webgl-engine/effects/globalIllumination/GlobalIllumination.js +1 -1
  338. package/views/3d/webgl-engine/effects/glow/BlurEmission.js +1 -1
  339. package/views/3d/webgl-engine/effects/ssao/SSAO.js +1 -1
  340. package/views/3d/webgl-engine/effects/stars/Stars.js +1 -1
  341. package/views/3d/webgl-engine/lib/BindParameters.js +1 -1
  342. package/views/3d/webgl-engine/lib/EmissionComposite.js +1 -1
  343. package/views/3d/webgl-engine/lib/GaussianSplatDepthRenderer.js +1 -1
  344. package/views/3d/webgl-engine/lib/RenderFeature.js +1 -1
  345. package/views/3d/webgl-engine/lib/Renderer.js +1 -1
  346. package/views/3d/webgl-engine/lib/SortedRenderGeometryRenderer.js +1 -1
  347. package/views/3d/webgl-engine/materials/lineStippleUtils.js +1 -1
  348. package/views/3d/webgl-engine/parts/RenderView.js +1 -1
  349. package/views/3d/webgl-engine/shaders/GaussianSplatPass.glsl.js +12 -8
  350. package/views/3d/webgl-engine/shaders/GaussianSplatTechniqueConfiguration.js +1 -1
  351. package/views/PopupView.js +1 -1
  352. package/views/SceneView.js +1 -1
  353. package/views/View.js +1 -1
  354. package/views/layers/FeatureLikeLayerView.js +1 -1
  355. package/widgets/LayerList/LayerListViewModel.d.ts +1 -0
  356. package/widgets/LayerList/LayerListViewModel.js +1 -1
  357. package/widgets/LayerList/ListItem.d.ts +4 -0
  358. package/widgets/LayerList/ListItemPanel.d.ts +3 -0
  359. package/widgets/OrientedImageryViewer/types.d.ts +2 -2
  360. package/widgets/OrientedImageryViewer.d.ts +20 -1
  361. package/widgets/OrientedImageryViewer.js +1 -1
  362. package/widgets/Sketch/SketchViewModel.js +1 -1
  363. package/widgets/support/iconUtils.js +1 -1
  364. package/assets/esri/core/workers/chunks/03601be8b0763f82e88f.js +0 -1
  365. package/assets/esri/core/workers/chunks/0bff8d589312be6588fe.js +0 -1
  366. package/assets/esri/core/workers/chunks/0de90b1ad8118457fd5a.js +0 -1
  367. package/assets/esri/core/workers/chunks/0e1a067ab243900d0371.js +0 -1
  368. package/assets/esri/core/workers/chunks/0ee6109e6578395a7900.js +0 -1
  369. package/assets/esri/core/workers/chunks/0ee7376c29e0fd8f676c.js +0 -1
  370. package/assets/esri/core/workers/chunks/13551987fbeaae154df8.js +0 -1
  371. package/assets/esri/core/workers/chunks/186350d720352bd5ff33.js +0 -1
  372. package/assets/esri/core/workers/chunks/25ecf94d776c3b6db0f3.js +0 -1
  373. package/assets/esri/core/workers/chunks/262052dfaec3af8a58b9.js +0 -1
  374. package/assets/esri/core/workers/chunks/2c01477b69c38f691e19.js +0 -1
  375. package/assets/esri/core/workers/chunks/307297e025eed110095f.js +0 -1
  376. package/assets/esri/core/workers/chunks/33422dca6f4bcaa0ea74.js +0 -1
  377. package/assets/esri/core/workers/chunks/33e583166ab3943ecf0e.js +0 -1
  378. package/assets/esri/core/workers/chunks/37ae52c71bf9c70fbb92.js +0 -1
  379. package/assets/esri/core/workers/chunks/3daddcb106a7009c5a70.js +0 -1
  380. package/assets/esri/core/workers/chunks/3de6e54b6ed0feae1940.js +0 -1
  381. package/assets/esri/core/workers/chunks/448f068a14f24f2f8a43.js +0 -1
  382. package/assets/esri/core/workers/chunks/4c088c26d5d546c95c90.js +0 -1
  383. package/assets/esri/core/workers/chunks/5134241be1f1bf25231a.js +0 -1
  384. package/assets/esri/core/workers/chunks/56163189fbe63aa11e94.js +0 -1
  385. package/assets/esri/core/workers/chunks/571cf99c3eab8e517542.js +0 -1
  386. package/assets/esri/core/workers/chunks/5762746cfb02a4119d82.js +0 -1
  387. package/assets/esri/core/workers/chunks/5830deda121e4c95d199.js +0 -1
  388. package/assets/esri/core/workers/chunks/58e4aecabca047f1d229.js +0 -1
  389. package/assets/esri/core/workers/chunks/5c8f423812a23c02c1fd.js +0 -1
  390. package/assets/esri/core/workers/chunks/5eb726317b6602f1e206.js +0 -1
  391. package/assets/esri/core/workers/chunks/6e2075bd4832ff0db68c.js +0 -1
  392. package/assets/esri/core/workers/chunks/7608de0d942b4c16b2f6.js +0 -1
  393. package/assets/esri/core/workers/chunks/7610dd0b46948b7bd840.js +0 -1
  394. package/assets/esri/core/workers/chunks/7737ab739eba6d81282d.js +0 -1
  395. package/assets/esri/core/workers/chunks/7be56ac60e580c806a5d.js +0 -1
  396. package/assets/esri/core/workers/chunks/7d9468e38f3bf006f86e.js +0 -1
  397. package/assets/esri/core/workers/chunks/7efc51324cfc8e08c756.js +0 -1
  398. package/assets/esri/core/workers/chunks/84dc2afd89263a311b81.js +0 -1
  399. package/assets/esri/core/workers/chunks/852649460d664b0a1a1d.js +0 -1
  400. package/assets/esri/core/workers/chunks/ab332bd411d6c7d4190c.js +0 -1
  401. package/assets/esri/core/workers/chunks/bc9b96a539f28afcb8cb.js +0 -1
  402. package/assets/esri/core/workers/chunks/be69e2dda75b079362b2.js +0 -1
  403. package/assets/esri/core/workers/chunks/bf9eba555aebca2c132b.js +0 -1
  404. package/assets/esri/core/workers/chunks/c18de0f6cbeecee4ce34.js +0 -1
  405. package/assets/esri/core/workers/chunks/c9df18e9ff7367a004b6.js +0 -1
  406. package/assets/esri/core/workers/chunks/d33d08cb6856cd2eb35e.js +0 -1
  407. package/assets/esri/core/workers/chunks/e688e6e816824b53a25e.js +0 -1
  408. package/assets/esri/core/workers/chunks/ea068c797e3e462f4518.js +0 -1
  409. package/assets/esri/core/workers/chunks/eaf1d38f09744b7e84f5.js +0 -1
  410. package/assets/esri/core/workers/chunks/eff99e45d818e58fd443.js +0 -1
  411. package/assets/esri/core/workers/chunks/f219ba010c480bb75684.js +0 -1
  412. package/assets/esri/core/workers/chunks/f60d5ce49c173d5381ec.js +0 -1
  413. package/assets/esri/core/workers/chunks/f72f4413fc7461e11a2a.js +0 -1
  414. package/assets/esri/core/workers/chunks/f834aa732c3f06525089.js +0 -1
  415. package/assets/esri/core/workers/chunks/fae14e30fa7d81bf706e.js +0 -1
  416. package/assets/esri/core/workers/chunks/fb6f1b562ee0983c8c6e.js +0 -1
  417. package/assets/esri/core/workers/chunks/fc1658eae7b312502fab.js +0 -1
  418. package/views/2d/engine/webgl/Utils.js +0 -2
  419. package/views/2d/layers/support/HighlightCounter.js +0 -2
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import{isSome as e}from"../../core/arrayUtils.js";import{deprecatedFunction as r}from"../../core/deprecate.js";import n from"../../core/Logger.js";import{supportsCurves as i,executeMany as o}from"./gx/operatorMinimumBoundingCircle.js";import{fromGeometry as t,getSpatialReference as m,toPolygon as u}from"./support/apiConverter.js";function c(e){return s([e])[0]}function a(e){return r(n.getLogger("esri.geometry.operators.minimumBoundingCircleOperator"),"execute is deprecated. Use minimumBoundingCircleExecute instead.",{replacement:"minimumBoundingCircleExecute",warnOnce:!0}),c(e)}function s(r,n={}){const{merge:i=!1}=n,c=r.map(t),a=m(r);return o(c,i).map(e=>u(e,a)).filter(e)}function p(e,i={}){return r(n.getLogger("esri.geometry.operators.minimumBoundingCircleOperator"),"executeMany is deprecated. Use minimumBoundingCircleExecuteMany instead.",{replacement:"minimumBoundingCircleExecuteMany",warnOnce:!0}),s(e,i)}const g=i(),d=Boolean(g);export{a as execute,p as executeMany,c as minimumBoundingCircleExecute,s as minimumBoundingCircleExecuteMany,g as minimumBoundingCircleSupportsCurves,d as supportsCurves};
2
+ import{isSome as r}from"../../core/arrayUtils.js";import{supportsCurves as e,executeMany as n}from"./gx/operatorMinimumBoundingCircle.js";import{fromGeometry as o,getSpatialReference as i,toPolygon as t}from"./support/apiConverter.js";import{deprecatedOperator as u}from"./support/deprecatedOperator.js";function m(r){return c([r])[0]}function p(r){return u("minimumBoundingCircleOperator","execute","minimumBoundingCircleExecute"),m(r)}function c(e,u={}){const{merge:m=!1}=u,p=e.map(o),c=i(e);return n(p,m).map(r=>t(r,c)).filter(r)}function a(r,e={}){return u("minimumBoundingCircleOperator","executeMany","minimumBoundingCircleExecuteMany"),c(r,e)}const s=e(),f=Boolean(s);export{p as execute,a as executeMany,m as minimumBoundingCircleExecute,c as minimumBoundingCircleExecuteMany,s as minimumBoundingCircleSupportsCurves,f as supportsCurves};
@@ -17,7 +17,11 @@ export interface MultiPartToSinglePartOptions {
17
17
  simplifyPolygons?: boolean;
18
18
  }
19
19
 
20
- /** @deprecated since 5.2 use [MultiPartToSinglePartOptions](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/multiPartToSinglePartOperator/#MultiPartToSinglePartOptions) */
20
+ /**
21
+ * @deprecated
22
+ * since 5.2. Refactor using \@arcgis/codemod or manually replace usages
23
+ * with [MultiPartToSinglePartOptions](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/multiPartToSinglePartOperator/#MultiPartToSinglePartOptions).
24
+ */
21
25
  export type Options = MultiPartToSinglePartOptions;
22
26
 
23
27
  /**
@@ -42,7 +46,9 @@ export function multiPartToSinglePartExecuteMany(geometries: GeometryUnion[], op
42
46
  * Single part geometries will not be affected (i.e. they just get passed along) with the exception of multipoints, which always become points.
43
47
  * By default, polygons will be simplified before producing single parts.
44
48
  *
45
- * @deprecated since 5.2 use [multiPartToSinglePartExecuteMany()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/multiPartToSinglePartOperator/#multiPartToSinglePartExecuteMany)
49
+ * @deprecated
50
+ * since 5.2. Refactor using \@arcgis/codemod or manually replace usages
51
+ * with [multiPartToSinglePartExecuteMany()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/multiPartToSinglePartOperator/#multiPartToSinglePartExecuteMany).
46
52
  * @param geometries - The input geometries to be converted to single part geometries.
47
53
  * All the geometries must have the same spatial reference.
48
54
  * @param options - Additional options.
@@ -65,6 +71,8 @@ export const multiPartToSinglePartSupportsCurves: boolean;
65
71
  * Indicates if the operator supports input geometries that contain curves.
66
72
  * The value will always be `true`.
67
73
  *
68
- * @deprecated since 5.2 use [multiPartToSinglePartSupportsCurves](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/multiPartToSinglePartOperator/#multiPartToSinglePartSupportsCurves)
74
+ * @deprecated
75
+ * since 5.2. Refactor using \@arcgis/codemod or manually replace usages
76
+ * with [multiPartToSinglePartSupportsCurves](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/multiPartToSinglePartOperator/#multiPartToSinglePartSupportsCurves).
69
77
  */
70
78
  export const supportsCurves: ReturnType<typeof Boolean>;
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import{isSome as r}from"../../core/arrayUtils.js";import{deprecatedFunction as e}from"../../core/deprecate.js";import t from"../../core/Logger.js";import{supportsCurves as o,executeMany as a}from"./gx/operatorMultiPartToSinglePart.js";import{fromGeometry as i,getSpatialReference as n,fromSpatialReference as s,toGeometry as p}from"./support/apiConverter.js";function m(e,t={}){const{simplifyPolygons:o=!0}=t,m=o?1:2,c=e.map(i),u=n(e);return a(c,s(u),m).map(r=>p(r,u)).filter(r)}function c(r,o={}){return e(t.getLogger("esri.geometry.operators.multiPartToSinglePartOperator"),"executeMany is deprecated. Use multiPartToSinglePartExecuteMany instead.",{replacement:"multiPartToSinglePartExecuteMany",warnOnce:!0}),m(r,o)}const u=o(),l=Boolean(u);export{c as executeMany,m as multiPartToSinglePartExecuteMany,u as multiPartToSinglePartSupportsCurves,l as supportsCurves};
2
+ import{isSome as r}from"../../core/arrayUtils.js";import{supportsCurves as t,executeMany as o}from"./gx/operatorMultiPartToSinglePart.js";import{fromGeometry as e,getSpatialReference as a,fromSpatialReference as p,toGeometry as i}from"./support/apiConverter.js";import{deprecatedOperator as n}from"./support/deprecatedOperator.js";function s(t,n={}){const{simplifyPolygons:s=!0}=n,u=s?1:2,m=t.map(e),l=a(t);return o(m,p(l),u).map(r=>i(r,l)).filter(r)}function u(r,t={}){return n("multiPartToSinglePartOperator","executeMany","multiPartToSinglePartExecuteMany"),s(r,t)}const m=t(),l=Boolean(m);export{u as executeMany,s as multiPartToSinglePartExecuteMany,m as multiPartToSinglePartSupportsCurves,l as supportsCurves};
@@ -80,7 +80,11 @@ export interface OffsetOptions {
80
80
  unit?: LengthUnit;
81
81
  }
82
82
 
83
- /** @deprecated since 5.2 use [OffsetOptions](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/offsetOperator/#OffsetOptions) */
83
+ /**
84
+ * @deprecated
85
+ * since 5.2. Refactor using \@arcgis/codemod or manually replace usages
86
+ * with [OffsetOptions](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/offsetOperator/#OffsetOptions).
87
+ */
84
88
  export type Options = OffsetOptions;
85
89
 
86
90
  /**
@@ -105,7 +109,9 @@ export function offsetExecute(geometry: GeometryUnion, distance: number, options
105
109
  * Creates an offset version of the input geometry.
106
110
  * This is not applicable to point geometries.
107
111
  *
108
- * @deprecated since 5.2 use [offsetExecute()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/offsetOperator/#offsetExecute)
112
+ * @deprecated
113
+ * since 5.2. Refactor using \@arcgis/codemod or manually replace usages
114
+ * with [offsetExecute()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/offsetOperator/#offsetExecute).
109
115
  * @param geometry - The input geometry.
110
116
  * Can be an extent, polyline, or polygon.
111
117
  * Point and multipoint geometries are not supported.
@@ -137,7 +143,9 @@ export function offsetExecuteMany(geometries: GeometryUnion[], distance: number,
137
143
  /**
138
144
  * Creates offset versions of the input geometries.
139
145
  *
140
- * @deprecated since 5.2 use [offsetExecuteMany()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/offsetOperator/#offsetExecuteMany)
146
+ * @deprecated
147
+ * since 5.2. Refactor using \@arcgis/codemod or manually replace usages
148
+ * with [offsetExecuteMany()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/offsetOperator/#offsetExecuteMany).
141
149
  * @param geometries - The set of input geometries.
142
150
  * Can be extents, polylines, or polygons.
143
151
  * Point and multipoint geometries are not supported.
@@ -159,6 +167,8 @@ export const offsetSupportsCurves: boolean;
159
167
  * Indicates if the operator supports input geometries that contain curves.
160
168
  * The value will always be `true`. This will produce densified output geometries.
161
169
  *
162
- * @deprecated since 5.2 use [offsetSupportsCurves](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/offsetOperator/#offsetSupportsCurves)
170
+ * @deprecated
171
+ * since 5.2. Refactor using \@arcgis/codemod or manually replace usages
172
+ * with [offsetSupportsCurves](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/offsetOperator/#offsetSupportsCurves).
163
173
  */
164
174
  export const supportsCurves: ReturnType<typeof Boolean>;
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import{deprecatedFunction as e}from"../../core/deprecate.js";import t from"../../core/Logger.js";import{convertToSpatialReferenceUnit as r}from"../../core/units.js";import{supportsCurves as o,execute as n,executeMany as s}from"./gx/operatorOffset.js";import{getSpatialReference as a,toGeometry as i,fromSpatialReference as c,fromGeometry as u}from"./support/apiConverter.js";const f={round:0,bevel:1,miter:2,square:3};function p(e,t,o={}){const{miterLimit:s=10,flattenError:p=0,joins:m="round",unit:g}=o,d=a(e);return g&&(t=r(t,g,d)),i(n(u(e),c(d),t,f[m],s,p),d)}function m(r,o,n={}){return e(t.getLogger("esri.geometry.operators.offsetOperator"),"execute is deprecated. Use offsetExecute instead.",{replacement:"offsetExecute",warnOnce:!0}),p(r,o,n)}function g(e,t,o={}){const{miterLimit:n=10,flattenError:p=0,joins:m="round",unit:g}=o,d=a(e);g&&(t=r(t,g,d));const x=e.map(u);return s(x,c(d),t,f[m],n,p).map(e=>i(e,d))}function d(r,o,n={}){return e(t.getLogger("esri.geometry.operators.offsetOperator"),"executeMany is deprecated. Use offsetExecuteMany instead.",{replacement:"offsetExecuteMany",warnOnce:!0}),g(r,o,n)}const x=o(),j=Boolean(x);export{m as execute,d as executeMany,p as offsetExecute,g as offsetExecuteMany,x as offsetSupportsCurves,j as supportsCurves};
2
+ import{convertToSpatialReferenceUnit as t}from"../../core/units.js";import{supportsCurves as e,execute as r,executeMany as o}from"./gx/operatorOffset.js";import{getSpatialReference as n,toGeometry as s,fromSpatialReference as u,fromGeometry as i}from"./support/apiConverter.js";import{deprecatedOperator as f}from"./support/deprecatedOperator.js";const p={round:0,bevel:1,miter:2,square:3};function a(e,o,f={}){const{miterLimit:a=10,flattenError:c=0,joins:m="round",unit:x}=f,j=n(e);return x&&(o=t(o,x,j)),s(r(i(e),u(j),o,p[m],a,c),j)}function c(t,e,r={}){return f("offsetOperator","execute","offsetExecute"),a(t,e,r)}function m(e,r,f={}){const{miterLimit:a=10,flattenError:c=0,joins:m="round",unit:x}=f,j=n(e);x&&(r=t(r,x,j));const d=e.map(i);return o(d,u(j),r,p[m],a,c).map(t=>s(t,j))}function x(t,e,r={}){return f("offsetOperator","executeMany","offsetExecuteMany"),m(t,e,r)}const j=e(),d=Boolean(j);export{c as execute,x as executeMany,a as offsetExecute,m as offsetExecuteMany,j as offsetSupportsCurves,d as supportsCurves};
@@ -18,7 +18,9 @@ export function overlapsAccelerateGeometry(geometry: GeometryUnion): boolean;
18
18
  /**
19
19
  * Accelerate a geometry. This method prepares the geometry for faster overlaps operations when the same geometry is tested multiple times (e.g. in a loop with hundreds of iterations). See the [Acceleration](https://developers.arcgis.com/javascript/latest/spatial-analysis/intro-geometry-operators/#acceleration) guide topic for more information.
20
20
  *
21
- * @deprecated since 5.2 use [overlapsAccelerateGeometry()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/overlapsOperator/#overlapsAccelerateGeometry)
21
+ * @deprecated
22
+ * since 5.2. Refactor using \@arcgis/codemod or manually replace usages
23
+ * with [overlapsAccelerateGeometry()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/overlapsOperator/#overlapsAccelerateGeometry).
22
24
  * @param geometry - The geometry to accelerate.
23
25
  * @returns Returns `true` if the geometry was successfully accelerated.
24
26
  */
@@ -40,7 +42,9 @@ export function overlapsExecute(geometry1: GeometryUnion, geometry2: GeometryUni
40
42
  /**
41
43
  * Perform the overlaps operation on two geometries.
42
44
  *
43
- * @deprecated since 5.2 use [overlapsExecute()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/overlapsOperator/#overlapsExecute)
45
+ * @deprecated
46
+ * since 5.2. Refactor using \@arcgis/codemod or manually replace usages
47
+ * with [overlapsExecute()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/overlapsOperator/#overlapsExecute).
44
48
  * @param geometry1 - The base geometry that is tested for the "overlaps" relationship with `geometry2`.
45
49
  * @param geometry2 - The comparison geometry that is tested for the "overlaps" relationship with `geometry1`.
46
50
  * @returns Returns `true` if the intersection set results in a geometry different from both of the input geometries, but of the same dimension. For example, if `geometry1` and `geometry2` are both polygons, then they must return a polygon in order to overlap. If two polygons cross each other at exactly one point then no overlap has occurred because points have a dimension of 0 and polygons have a dimension of 2. See the [Working with spatial relationship operators](https://developers.arcgis.com/javascript/latest/spatial-analysis/intro-geometry-operators/#dimensionality) guide topic on dimensionality for more details.
@@ -61,6 +65,8 @@ export const overlapsSupportsCurves: boolean;
61
65
  * Indicates if the operator supports input geometries that contain curves.
62
66
  * The value will always be `true`.
63
67
  *
64
- * @deprecated since 5.2 use [overlapsSupportsCurves](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/overlapsOperator/#overlapsSupportsCurves)
68
+ * @deprecated
69
+ * since 5.2. Refactor using \@arcgis/codemod or manually replace usages
70
+ * with [overlapsSupportsCurves](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/overlapsOperator/#overlapsSupportsCurves).
65
71
  */
66
72
  export const supportsCurves: ReturnType<typeof Boolean>;
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import{OperatorOverlaps as e}from"../../chunks/OperatorOverlaps.js";import{deprecatedFunction as r}from"../../core/deprecate.js";import t from"../../core/Logger.js";import{getSpatialReference as o,fromGeometry as a,fromSpatialReference as c}from"./support/apiConverter.js";const s=new e;function n(e){const r=o(e);return s.accelerateGeometry(a(e),c(r),1)}function p(e){return r(t.getLogger("esri.geometry.operators.overlapsOperator"),"accelerateGeometry is deprecated. Use overlapsAccelerateGeometry instead.",{replacement:"overlapsAccelerateGeometry",warnOnce:!0}),n(e)}function l(e,r){return s.execute(a(e),a(r),c(e.spatialReference),null)}function u(e,o){return r(t.getLogger("esri.geometry.operators.overlapsOperator"),"execute is deprecated. Use overlapsExecute instead.",{replacement:"overlapsExecute",warnOnce:!0}),l(e,o)}const i=s.supportsCurves(),m=Boolean(i);export{p as accelerateGeometry,u as execute,n as overlapsAccelerateGeometry,l as overlapsExecute,i as overlapsSupportsCurves,m as supportsCurves};
2
+ import{OperatorOverlaps as e}from"../../chunks/OperatorOverlaps.js";import{getSpatialReference as r,fromGeometry as t,fromSpatialReference as o}from"./support/apiConverter.js";import{deprecatedOperator as p}from"./support/deprecatedOperator.js";const n=new e;function a(e){const p=r(e);return n.accelerateGeometry(t(e),o(p),1)}function c(e){return p("overlapsOperator","accelerateGeometry","overlapsAccelerateGeometry"),a(e)}function s(e,r){return n.execute(t(e),t(r),o(e.spatialReference),null)}function u(e,r){return p("overlapsOperator","execute","overlapsExecute"),s(e,r)}const l=n.supportsCurves(),i=Boolean(l);export{c as accelerateGeometry,u as execute,a as overlapsAccelerateGeometry,s as overlapsExecute,l as overlapsSupportsCurves,i as supportsCurves};
@@ -39,7 +39,11 @@ export interface PolygonOverlayOptions {
39
39
  multiPart?: boolean;
40
40
  }
41
41
 
42
- /** @deprecated since 5.2 use [PolygonOverlayOptions](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/polygonOverlayOperator/#PolygonOverlayOptions) */
42
+ /**
43
+ * @deprecated
44
+ * since 5.2. Refactor using \@arcgis/codemod or manually replace usages
45
+ * with [PolygonOverlayOptions](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/polygonOverlayOperator/#PolygonOverlayOptions).
46
+ */
43
47
  export type Options = PolygonOverlayOptions;
44
48
 
45
49
  /** Object returned by the [polygonOverlayExecuteMany()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/polygonOverlayOperator/#polygonOverlayExecuteMany) method. */
@@ -67,7 +71,9 @@ export function polygonOverlayExecuteMany(polygons: Polygon[], options?: Polygon
67
71
  /**
68
72
  * Performs the topological overlay of the geometry set in the XY plane.
69
73
  *
70
- * @deprecated since 5.2 use [polygonOverlayExecuteMany()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/polygonOverlayOperator/#polygonOverlayExecuteMany)
74
+ * @deprecated
75
+ * since 5.2. Refactor using \@arcgis/codemod or manually replace usages
76
+ * with [polygonOverlayExecuteMany()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/polygonOverlayOperator/#polygonOverlayExecuteMany).
71
77
  * @param polygons - The set of polygons to overlay.
72
78
  * All the polygons must have the same spatial reference.
73
79
  * @param options - Additional options.
@@ -89,6 +95,8 @@ export const polygonOverlaySupportsCurves: boolean;
89
95
  * Indicates if the operator supports input polygons that contain curves.
90
96
  * The value will always be `true`.
91
97
  *
92
- * @deprecated since 5.2 use [polygonOverlaySupportsCurves](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/polygonOverlayOperator/#polygonOverlaySupportsCurves)
98
+ * @deprecated
99
+ * since 5.2. Refactor using \@arcgis/codemod or manually replace usages
100
+ * with [polygonOverlaySupportsCurves](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/polygonOverlayOperator/#polygonOverlaySupportsCurves).
93
101
  */
94
102
  export const supportsCurves: ReturnType<typeof Boolean>;
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import{deprecatedFunction as e}from"../../core/deprecate.js";import r from"../../core/Logger.js";import{supportsCurves as o,executeMany as t}from"./gx/operatorPolygonOverlay.js";import{getSpatialReference as s,fromSpatialReference as a,fromPolygon as n,toPolygon as p}from"./support/apiConverter.js";function l(e,r){const{overlaps:o=!0,noOverlaps:l=!0,gaps:c,holes:u,multiPart:y}=r??{};let g=0;o&&(g|=1),l&&(g|=2),c&&(g|=4),u&&(g|=8),y&&(g|=16);const m=s(e),i=t(e.map(n),a(m),g),v=[],f=[];let x;for(;x=i.next();)v.push(p(x,m)),f.push(i.getGeometryIDs());return{results:v,ids:f}}function c(o,t){return e(r.getLogger("esri.geometry.operators.polygonOverlayOperator"),"executeMany is deprecated. Use polygonOverlayExecuteMany instead.",{replacement:"polygonOverlayExecuteMany",warnOnce:!0}),l(o,t)}const u=o(),y=Boolean(u);export{c as executeMany,l as polygonOverlayExecuteMany,u as polygonOverlaySupportsCurves,y as supportsCurves};
2
+ import{supportsCurves as e,executeMany as o}from"./gx/operatorPolygonOverlay.js";import{getSpatialReference as r,fromSpatialReference as t,fromPolygon as p,toPolygon as s}from"./support/apiConverter.js";import{deprecatedOperator as a}from"./support/deprecatedOperator.js";function n(e,a){const{overlaps:n=!0,noOverlaps:u=!0,gaps:l,holes:y,multiPart:c}=a??{};let m=0;n&&(m|=1),u&&(m|=2),l&&(m|=4),y&&(m|=8),c&&(m|=16);const i=r(e),v=o(e.map(p),t(i),m),f=[],g=[];let x;for(;x=v.next();)f.push(s(x,i)),g.push(v.getGeometryIDs());return{results:f,ids:g}}function u(e,o){return a("polygonOverlayOperator","executeMany","polygonOverlayExecuteMany"),n(e,o)}const l=e(),y=Boolean(l);export{u as executeMany,n as polygonOverlayExecuteMany,l as polygonOverlaySupportsCurves,y as supportsCurves};
@@ -15,7 +15,11 @@ export interface PolygonSlicerOptions {
15
15
  transform?: Transformation;
16
16
  }
17
17
 
18
- /** @deprecated since 5.2 use [PolygonSlicerOptions](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/polygonSlicerOperator/#PolygonSlicerOptions) */
18
+ /**
19
+ * @deprecated
20
+ * since 5.2. Refactor using \@arcgis/codemod or manually replace usages
21
+ * with [PolygonSlicerOptions](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/polygonSlicerOperator/#PolygonSlicerOptions).
22
+ */
19
23
  export type Options = PolygonSlicerOptions;
20
24
 
21
25
  export interface PolygonSlicerFindSlicesByAreaOptions extends PolygonSlicerOptions {
@@ -27,7 +31,11 @@ export interface PolygonSlicerFindSlicesByAreaOptions extends PolygonSlicerOptio
27
31
  unit?: AreaUnit;
28
32
  }
29
33
 
30
- /** @deprecated since 5.2 use [PolygonSlicerFindSlicesByAreaOptions](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/polygonSlicerOperator/#PolygonSlicerFindSlicesByAreaOptions) */
34
+ /**
35
+ * @deprecated
36
+ * since 5.2. Refactor using \@arcgis/codemod or manually replace usages
37
+ * with [PolygonSlicerFindSlicesByAreaOptions](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/polygonSlicerOperator/#PolygonSlicerFindSlicesByAreaOptions).
38
+ */
31
39
  export type FindSlicesByAreaOptions = PolygonSlicerFindSlicesByAreaOptions;
32
40
 
33
41
  /**
@@ -49,7 +57,9 @@ export function polygonSlicerFindSlicesByArea(polygon: Polygon, partCount: numbe
49
57
  /**
50
58
  * Finds positions of the sliced strips for a given polygon given the number of equal area parts to slice the polygon into.
51
59
  *
52
- * @deprecated since 5.2 use [polygonSlicerFindSlicesByArea()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/polygonSlicerOperator/#polygonSlicerFindSlicesByArea)
60
+ * @deprecated
61
+ * since 5.2. Refactor using \@arcgis/codemod or manually replace usages
62
+ * with [polygonSlicerFindSlicesByArea()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/polygonSlicerOperator/#polygonSlicerFindSlicesByArea).
53
63
  * @param polygon - The input polygon.
54
64
  * @param partCount - The number of parts to slice into.
55
65
  * @param remainingArea - The size of the remaining piece of the uncut polygon. Pass zero, if you want to slice the whole polygon.
@@ -80,7 +90,9 @@ export function polygonSlicerRecursiveSliceEqualArea(polygon: Polygon, partCount
80
90
  /**
81
91
  * Slices the given polygon into equal area parts, not necessarily strips. The slicing is done recursively, each time slicing the polygon into two parts along the larger dimension (height or width).
82
92
  *
83
- * @deprecated since 5.2 use [polygonSlicerRecursiveSliceEqualArea()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/polygonSlicerOperator/#polygonSlicerRecursiveSliceEqualArea)
93
+ * @deprecated
94
+ * since 5.2. Refactor using \@arcgis/codemod or manually replace usages
95
+ * with [polygonSlicerRecursiveSliceEqualArea()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/polygonSlicerOperator/#polygonSlicerRecursiveSliceEqualArea).
84
96
  * @param polygon - The input polygon to slice.
85
97
  * @param partCount - The number of equal area parts to slice the polygon into.
86
98
  * @param options - Additional options.
@@ -109,7 +121,9 @@ export function polygonSlicerSliceIntoStrips(polygon: Polygon, ySlices: number[]
109
121
  /**
110
122
  * Slices the given polygon into strips.
111
123
  *
112
- * @deprecated since 5.2 use [polygonSlicerSliceIntoStrips()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/polygonSlicerOperator/#polygonSlicerSliceIntoStrips)
124
+ * @deprecated
125
+ * since 5.2. Refactor using \@arcgis/codemod or manually replace usages
126
+ * with [polygonSlicerSliceIntoStrips()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/polygonSlicerOperator/#polygonSlicerSliceIntoStrips).
113
127
  * @param polygon - The input polygon to slice.
114
128
  * @param ySlices - The array of y coordinates, sorted in ascending order. The polygon will be transformed with the transform, and then it will be sliced horizontally at each y coordinate. That is, the `ySlices` are given in the coordinates after transform is applied to the polygon.
115
129
  * @param options - Additional options.
@@ -131,6 +145,8 @@ export const polygonSlicerSupportsCurves: boolean;
131
145
  * Indicates if the operator supports input geometries that contain curves.
132
146
  * The value will always be `true`.
133
147
  *
134
- * @deprecated since 5.2 use [polygonSlicerSupportsCurves](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/polygonSlicerOperator/#polygonSlicerSupportsCurves)
148
+ * @deprecated
149
+ * since 5.2. Refactor using \@arcgis/codemod or manually replace usages
150
+ * with [polygonSlicerSupportsCurves](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/polygonSlicerOperator/#polygonSlicerSupportsCurves).
135
151
  */
136
152
  export const supportsCurves: ReturnType<typeof Boolean>;
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import{deprecatedFunction as r}from"../../core/deprecate.js";import e from"../../core/Logger.js";import{areaUnitFromSpatialReference as o,convertUnit as n,getMetersPerUnitForSR as t}from"../../core/units.js";import{supportsCurves as i,findSlicesByArea as a,recursiveSliceEqualArea as s,sliceIntoStrips as c}from"./gx/operatorPolygonSlicer.js";import{getSpatialReference as l,fromSpatialReference as p,fromPolygon as u,toPolygon as g}from"./support/apiConverter.js";function m(r,e,i,s={}){const{transform:c,unit:g}=s,m=l(r);if(i&&g){if(m.isGeographic)throw new Error("Unable to convert from an angular area unit to a linear area unit.");const r=o(m);r!==g&&(r?i=n(i,g,r):(i=n(i,g,"square-meters"),i=Math.sqrt(i),i/=t(m),i**=2))}return a(u(r),p(m),e,i,c?.transform??null)}function S(o,n,t,i={}){return r(e.getLogger("esri.geometry.operators.polygonSlicerOperator"),"findSlicesByArea is deprecated. Use polygonSlicerFindSlicesByArea instead.",{replacement:"polygonSlicerFindSlicesByArea",warnOnce:!0}),m(o,n,t,i)}function f(r,e,o={}){const{transform:n}=o,t=l(r);return s(u(r),p(t),e,n?.transform??null).map(r=>g(r,t))}function y(o,n,t={}){return r(e.getLogger("esri.geometry.operators.polygonSlicerOperator"),"recursiveSliceEqualArea is deprecated. Use polygonSlicerRecursiveSliceEqualArea instead.",{replacement:"polygonSlicerRecursiveSliceEqualArea",warnOnce:!0}),f(o,n,t)}function d(r,e,o={}){const{transform:n}=o,t=l(r);return c(u(r),p(t),e,n?.transform??null).map(r=>g(r,t))}function A(o,n,t={}){return r(e.getLogger("esri.geometry.operators.polygonSlicerOperator"),"sliceIntoStrips is deprecated. Use polygonSlicerSliceIntoStrips instead.",{replacement:"polygonSlicerSliceIntoStrips",warnOnce:!0}),d(o,n,t)}const v=i(),q=Boolean(v);export{S as findSlicesByArea,m as polygonSlicerFindSlicesByArea,f as polygonSlicerRecursiveSliceEqualArea,d as polygonSlicerSliceIntoStrips,v as polygonSlicerSupportsCurves,y as recursiveSliceEqualArea,A as sliceIntoStrips,q as supportsCurves};
2
+ import{areaUnitFromSpatialReference as r,convertUnit as o,getMetersPerUnitForSR as e}from"../../core/units.js";import{supportsCurves as n,findSlicesByArea as t,recursiveSliceEqualArea as i,sliceIntoStrips as a}from"./gx/operatorPolygonSlicer.js";import{getSpatialReference as s,fromSpatialReference as l,fromPolygon as c,toPolygon as u}from"./support/apiConverter.js";import{deprecatedOperator as p}from"./support/deprecatedOperator.js";function f(n,i,a,u={}){const{transform:p,unit:f}=u,m=s(n);if(a&&f){if(m.isGeographic)throw new Error("Unable to convert from an angular area unit to a linear area unit.");const n=r(m);n!==f&&(n?a=o(a,f,n):(a=o(a,f,"square-meters"),a=Math.sqrt(a),a/=e(m),a**=2))}return t(c(n),l(m),i,a,p?.transform??null)}function m(r,o,e,n={}){return p("polygonSlicerOperator","findSlicesByArea","polygonSlicerFindSlicesByArea"),f(r,o,e,n)}function S(r,o,e={}){const{transform:n}=e,t=s(r);return i(c(r),l(t),o,n?.transform??null).map(r=>u(r,t))}function g(r,o,e={}){return p("polygonSlicerOperator","recursiveSliceEqualArea","polygonSlicerRecursiveSliceEqualArea"),S(r,o,e)}function y(r,o,e={}){const{transform:n}=e,t=s(r);return a(c(r),l(t),o,n?.transform??null).map(r=>u(r,t))}function v(r,o,e={}){return p("polygonSlicerOperator","sliceIntoStrips","polygonSlicerSliceIntoStrips"),y(r,o,e)}const A=n(),d=Boolean(A);export{m as findSlicesByArea,f as polygonSlicerFindSlicesByArea,S as polygonSlicerRecursiveSliceEqualArea,y as polygonSlicerSliceIntoStrips,A as polygonSlicerSupportsCurves,g as recursiveSliceEqualArea,v as sliceIntoStrips,d as supportsCurves};
@@ -54,7 +54,9 @@ export function projectIsLoaded(): boolean;
54
54
  /**
55
55
  * Indicates if all dependencies of this module have been loaded.
56
56
  *
57
- * @deprecated since 5.2 use [projectIsLoaded()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/projectOperator/#projectIsLoaded)
57
+ * @deprecated
58
+ * since 5.2. Refactor using \@arcgis/codemod or manually replace usages
59
+ * with [projectIsLoaded()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/projectOperator/#projectIsLoaded).
58
60
  * @returns Returns `true` if this module's dependencies have been loaded.
59
61
  */
60
62
  export function isLoaded(): boolean;
@@ -70,7 +72,9 @@ export function projectLoad(): Promise<void>;
70
72
  /**
71
73
  * Loads this module's dependencies. This method must be called first if `isLoaded` returns `false`.
72
74
  *
73
- * @deprecated since 5.2 use [projectLoad()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/projectOperator/#projectLoad)
75
+ * @deprecated
76
+ * since 5.2. Refactor using \@arcgis/codemod or manually replace usages
77
+ * with [projectLoad()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/projectOperator/#projectLoad).
74
78
  * @returns Resolves when the dependencies have been loaded.
75
79
  * @see [isLoaded()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/projectOperator/#isLoaded)
76
80
  */
@@ -100,7 +104,9 @@ export function projectExecute(geometry: GeometryUnion, outSpatialReference: Spa
100
104
  /**
101
105
  * Projects a geometry to the specified output spatial reference.
102
106
  *
103
- * @deprecated since 5.2 use [projectExecute()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/projectOperator/#projectExecute)
107
+ * @deprecated
108
+ * since 5.2. Refactor using \@arcgis/codemod or manually replace usages
109
+ * with [projectExecute()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/projectOperator/#projectExecute).
104
110
  * @param geometry - The geometry to project.
105
111
  * @param outSpatialReference - The spatial reference to which the input geometry is projected.
106
112
  * @param options - Additional options.
@@ -133,7 +139,9 @@ export function projectExecuteMany(geometries: GeometryUnion[], outSpatialRefere
133
139
  /**
134
140
  * Projects an array of geometries to the specified output spatial reference.
135
141
  *
136
- * @deprecated since 5.2 use [projectExecuteMany()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/projectOperator/#projectExecuteMany)
142
+ * @deprecated
143
+ * since 5.2. Refactor using \@arcgis/codemod or manually replace usages
144
+ * with [projectExecuteMany()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/projectOperator/#projectExecuteMany).
137
145
  * @param geometries - An array of geometries to project.
138
146
  * All the geometries must have the same spatial reference.
139
147
  * @param outSpatialReference - The spatial reference to which the input geometry is projected.
@@ -154,6 +162,8 @@ export const projectSupportsCurves: boolean | null | undefined;
154
162
  * The value is `null` or `undefined` until the operator is loaded, then it will always be `true`.
155
163
  * This will produce densified output geometries.
156
164
  *
157
- * @deprecated since 5.2 use [projectSupportsCurves](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/projectOperator/#projectSupportsCurves)
165
+ * @deprecated
166
+ * since 5.2. Refactor using \@arcgis/codemod or manually replace usages
167
+ * with [projectSupportsCurves](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/projectOperator/#projectSupportsCurves).
158
168
  */
159
169
  export const supportsCurves: boolean | null | undefined;
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import{deprecatedFunction as e}from"../../core/deprecate.js";import r from"../../core/Logger.js";import{execute as t,executeMany as o,load as a,supportsCurves as n,isLoaded as c}from"./gx/operatorProject.js";import{applyZConversionAfterProjection as s}from"./support/projectionZScaling.js";let p,i,u,d,m,j,g;function f(){return!!p&&c()}function l(){return e(r.getLogger("esri.geometry.operators.projectOperator"),"isLoaded is deprecated. Use projectIsLoaded instead.",{replacement:"projectIsLoaded",warnOnce:!0}),f()}async function y(){if(!f()){const[e,r]=await Promise.all([import("./support/apiConverter.js"),import("./support/projectionTransformation.js"),a()]);p=e.fromGeometry,i=e.fromSpatialReference,u=e.getSpatialReference,d=e.toGeometry,m=r.createProjectionTransformation,j=n(),g=j}}function L(){return e(r.getLogger("esri.geometry.operators.projectOperator"),"load is deprecated. Use projectLoad instead.",{replacement:"projectLoad",warnOnce:!0}),y()}function x(e,r,o){const a=u(e),n=m(i(a),i(r),o),c=d(t(p(e),n),r);return!o?.zConversionDisabled&&c?.hasZ&&s([c],a,r),c}function O(t,o,a){return e(r.getLogger("esri.geometry.operators.projectOperator"),"execute is deprecated. Use projectExecute instead.",{replacement:"projectExecute",warnOnce:!0}),x(t,o,a)}function w(e,r,t){const a=e.map(p),n=u(e),c=m(i(n),i(r),t),j=o(a,c).map(e=>d(e,r));return!t?.zConversionDisabled&&j&&s(j,n,r),j}function v(t,o,a){return e(r.getLogger("esri.geometry.operators.projectOperator"),"executeMany is deprecated. Use projectExecuteMany instead.",{replacement:"projectExecuteMany",warnOnce:!0}),w(t,o,a)}export{O as execute,v as executeMany,l as isLoaded,L as load,x as projectExecute,w as projectExecuteMany,f as projectIsLoaded,y as projectLoad,j as projectSupportsCurves,g as supportsCurves};
2
+ import{execute as e,executeMany as r,load as o,supportsCurves as t,isLoaded as n}from"./gx/operatorProject.js";import{deprecatedOperator as a}from"./support/deprecatedOperator.js";import{applyZConversionAfterProjection as p}from"./support/projectionZScaling.js";let c,s,i,u,f,j,m;function d(){return!!c&&n()}function l(){return a("projectOperator","isLoaded","projectIsLoaded"),d()}async function x(){if(!d()){const[e,r]=await Promise.all([import("./support/apiConverter.js"),import("./support/projectionTransformation.js"),o()]);c=e.fromGeometry,s=e.fromSpatialReference,i=e.getSpatialReference,u=e.toGeometry,f=r.createProjectionTransformation,j=t(),m=j}}function y(){return a("projectOperator","load","projectLoad"),x()}function O(r,o,t){const n=i(r),a=f(s(n),s(o),t),j=u(e(c(r),a),o);return!t?.zConversionDisabled&&j?.hasZ&&p([j],n,o),j}function v(e,r,o){return a("projectOperator","execute","projectExecute"),O(e,r,o)}function C(e,o,t){const n=e.map(c),a=i(e),j=f(s(a),s(o),t),m=r(n,j).map(e=>u(e,o));return!t?.zConversionDisabled&&m&&p(m,a,o),m}function L(e,r,o){return a("projectOperator","executeMany","projectExecuteMany"),C(e,r,o)}export{v as execute,L as executeMany,l as isLoaded,y as load,O as projectExecute,C as projectExecuteMany,d as projectIsLoaded,x as projectLoad,j as projectSupportsCurves,m as supportsCurves};
@@ -20,7 +20,11 @@ export interface ProximityOptions {
20
20
  unit?: LengthUnit;
21
21
  }
22
22
 
23
- /** @deprecated since 5.2 use [ProximityOptions](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/proximityOperator/#ProximityOptions) */
23
+ /**
24
+ * @deprecated
25
+ * since 5.2. Refactor using \@arcgis/codemod or manually replace usages
26
+ * with [ProximityOptions](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/proximityOperator/#ProximityOptions).
27
+ */
24
28
  export type Options = ProximityOptions;
25
29
 
26
30
  export interface ProximityGetNearestCoordinateOptions extends ProximityOptions {
@@ -41,7 +45,11 @@ export interface ProximityGetNearestCoordinateOptions extends ProximityOptions {
41
45
  testPolygonInterior?: boolean;
42
46
  }
43
47
 
44
- /** @deprecated since 5.2 use [ProximityGetNearestCoordinateOptions](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/proximityOperator/#ProximityGetNearestCoordinateOptions) */
48
+ /**
49
+ * @deprecated
50
+ * since 5.2. Refactor using \@arcgis/codemod or manually replace usages
51
+ * with [ProximityGetNearestCoordinateOptions](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/proximityOperator/#ProximityGetNearestCoordinateOptions).
52
+ */
45
53
  export type GetNearestCoordinateOptions = ProximityGetNearestCoordinateOptions;
46
54
 
47
55
  /**
@@ -60,7 +68,9 @@ export function proximityGetNearestCoordinate(geometry: GeometryUnion, point: Po
60
68
  /**
61
69
  * Returns the nearest coordinate on the geometry to the given input point.
62
70
  *
63
- * @deprecated since 5.2 use [proximityGetNearestCoordinate()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/proximityOperator/#proximityGetNearestCoordinate)
71
+ * @deprecated
72
+ * since 5.2. Refactor using \@arcgis/codemod or manually replace usages
73
+ * with [proximityGetNearestCoordinate()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/proximityOperator/#proximityGetNearestCoordinate).
64
74
  * @param geometry - The input geometry.
65
75
  * @param point - The point used to search for the nearest coordinate in `geometry`.
66
76
  * @param options - Additional options.
@@ -87,7 +97,9 @@ export function proximityGetNearestVertex(geometry: GeometryUnion, point: Point,
87
97
  /**
88
98
  * Returns the nearest vertex on the geometry.
89
99
  *
90
- * @deprecated since 5.2 use [proximityGetNearestVertex()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/proximityOperator/#proximityGetNearestVertex)
100
+ * @deprecated
101
+ * since 5.2. Refactor using \@arcgis/codemod or manually replace usages
102
+ * with [proximityGetNearestVertex()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/proximityOperator/#proximityGetNearestVertex).
91
103
  * @param geometry - The input geometry.
92
104
  * @param point - The point used to search for the nearest coordinate in the input `geometry`.
93
105
  * @param options - Additional options.
@@ -120,7 +132,9 @@ export function proximityGetNearestVertices(geometry: GeometryUnion, point: Poin
120
132
  /**
121
133
  * Returns vertices of the geometry that are closer to the given point than the given radius.
122
134
  *
123
- * @deprecated since 5.2 use [proximityGetNearestVertices()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/proximityOperator/#proximityGetNearestVertices)
135
+ * @deprecated
136
+ * since 5.2. Refactor using \@arcgis/codemod or manually replace usages
137
+ * with [proximityGetNearestVertices()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/proximityOperator/#proximityGetNearestVertices).
124
138
  * @param geometry - The input geometry.
125
139
  * @param point - The point used to search for the nearest coordinate in `geometry`.
126
140
  * @param searchRadius - The planar distance from the `inputPoint` to search for vertices.
@@ -147,6 +161,8 @@ export const proximitySupportsCurves: boolean;
147
161
  * Indicates if the operator supports input geometries that contain curves.
148
162
  * The value will always be `true`.
149
163
  *
150
- * @deprecated since 5.2 use [proximitySupportsCurves](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/proximityOperator/#proximitySupportsCurves)
164
+ * @deprecated
165
+ * since 5.2. Refactor using \@arcgis/codemod or manually replace usages
166
+ * with [proximitySupportsCurves](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/proximityOperator/#proximitySupportsCurves).
151
167
  */
152
168
  export const supportsCurves: ReturnType<typeof Boolean>;
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import{O as e}from"../../chunks/OperatorProximity.js";import{deprecatedFunction as t}from"../../core/deprecate.js";import r from"../../core/Logger.js";import{convertFromSpatialReferenceUnit as o,convertToSpatialReferenceUnit as i}from"../../core/units.js";import{fromGeometry as s,fromPoint as n,getSpatialReference as a}from"./support/apiConverter.js";import{toProximityResult as c}from"./support/proximityResult.js";const m=new e;function p(e,t,r={}){const{calculateLeftRightSide:i=!1,testPolygonInterior:p=!0,unit:g}=r,d=m.getNearestCoordinate(s(e),n(t).getXY(),p,i);if(g&&d.m_distance){const t=a(e);d.m_distance=o(d.m_distance,t,g)}return c(d,e,i)}function g(e,o,i={}){return t(r.getLogger("esri.geometry.operators.proximityOperator"),"getNearestCoordinate is deprecated. Use proximityGetNearestCoordinate instead.",{replacement:"proximityGetNearestCoordinate",warnOnce:!0}),p(e,o,i)}function d(e,t,r={}){const{unit:i}=r,p=m.getNearestVertex(s(e),n(t).getXY());if(i&&p.m_distance){const t=a(e);p.m_distance=o(p.m_distance,t,i)}return c(p,e)}function u(e,o,i={}){return t(r.getLogger("esri.geometry.operators.proximityOperator"),"getNearestVertex is deprecated. Use proximityGetNearestVertex instead.",{replacement:"proximityGetNearestVertex",warnOnce:!0}),d(e,o,i)}function x(e,t,r,p,g={}){const{unit:d}=g,u=a(e);return d&&r&&(r=i(r,d,u)),m.getNearestVertices(s(e),n(t).getXY(),r,p).map(t=>(d&&t.m_distance&&(t.m_distance=o(t.m_distance,u,d)),c(t,e)))}function f(e,o,i,s,n={}){return t(r.getLogger("esri.geometry.operators.proximityOperator"),"getNearestVertices is deprecated. Use proximityGetNearestVertices instead.",{replacement:"proximityGetNearestVertices",warnOnce:!0}),x(e,o,i,s,n)}const y=m.supportsCurves(),N=Boolean(y);export{g as getNearestCoordinate,u as getNearestVertex,f as getNearestVertices,p as proximityGetNearestCoordinate,d as proximityGetNearestVertex,x as proximityGetNearestVertices,y as proximitySupportsCurves,N as supportsCurves};
2
+ import{O as t}from"../../chunks/OperatorProximity.js";import{convertFromSpatialReferenceUnit as e,convertToSpatialReferenceUnit as r}from"../../core/units.js";import{fromGeometry as o,fromPoint as i,getSpatialReference as n}from"./support/apiConverter.js";import{deprecatedOperator as s}from"./support/deprecatedOperator.js";import{toProximityResult as a}from"./support/proximityResult.js";const c=new t;function p(t,r,s={}){const{calculateLeftRightSide:p=!1,testPolygonInterior:m=!0,unit:u}=s,d=c.getNearestCoordinate(o(t),i(r).getXY(),m,p);if(u&&d.m_distance){const r=n(t);d.m_distance=e(d.m_distance,r,u)}return a(d,t,p)}function m(t,e,r={}){return s("proximityOperator","getNearestCoordinate","proximityGetNearestCoordinate"),p(t,e,r)}function u(t,r,s={}){const{unit:p}=s,m=c.getNearestVertex(o(t),i(r).getXY());if(p&&m.m_distance){const r=n(t);m.m_distance=e(m.m_distance,r,p)}return a(m,t)}function d(t,e,r={}){return s("proximityOperator","getNearestVertex","proximityGetNearestVertex"),u(t,e,r)}function f(t,s,p,m,u={}){const{unit:d}=u,f=n(t);return d&&p&&(p=r(p,d,f)),c.getNearestVertices(o(t),i(s).getXY(),p,m).map(r=>(d&&r.m_distance&&(r.m_distance=e(r.m_distance,f,d)),a(r,t)))}function x(t,e,r,o,i={}){return s("proximityOperator","getNearestVertices","proximityGetNearestVertices"),f(t,e,r,o,i)}const g=c.supportsCurves(),y=Boolean(g);export{m as getNearestCoordinate,d as getNearestVertex,x as getNearestVertices,p as proximityGetNearestCoordinate,u as proximityGetNearestVertex,f as proximityGetNearestVertices,g as proximitySupportsCurves,y as supportsCurves};
@@ -18,7 +18,9 @@ export function relateAccelerateGeometry(geometry: GeometryUnion): boolean;
18
18
  /**
19
19
  * Accelerate a geometry. This method prepares the geometry for faster relate operations when the same geometry is tested multiple times (e.g. in a loop with hundreds of iterations). See the [Acceleration](https://developers.arcgis.com/javascript/latest/spatial-analysis/intro-geometry-operators/#acceleration) guide topic for more information.
20
20
  *
21
- * @deprecated since 5.2 use [relateAccelerateGeometry()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/relateOperator/#relateAccelerateGeometry)
21
+ * @deprecated
22
+ * since 5.2. Refactor using \@arcgis/codemod or manually replace usages
23
+ * with [relateAccelerateGeometry()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/relateOperator/#relateAccelerateGeometry).
22
24
  * @param geometry - The geometry to accelerate.
23
25
  * @returns Returns `true` if the geometry was successfully accelerated.
24
26
  */
@@ -37,7 +39,9 @@ export function accelerateGeometry(geometry: GeometryUnion): boolean;
37
39
  export function relateExecute(geometry1: GeometryUnion, geometry2: GeometryUnion, relation: string): boolean;
38
40
 
39
41
  /**
40
- * @deprecated since 5.2 use [relateExecute()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/relateOperator/#relateExecute)
42
+ * @deprecated
43
+ * since 5.2. Refactor using \@arcgis/codemod or manually replace usages
44
+ * with [relateExecute()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/relateOperator/#relateExecute).
41
45
  * @param geometry1 - The first geometry for the relation.
42
46
  * @param geometry2 - The second geometry for the relation.
43
47
  * @param relation - The DE-9IM matrix relation encoded as a string to test against the relationship of the two geometries
@@ -60,7 +64,9 @@ export function relateIsValidDE9IM(relation: string): boolean;
60
64
  /**
61
65
  * Indicates if the DE-9IM matrix relation is valid.
62
66
  *
63
- * @deprecated since 5.2 use [relateIsValidDE9IM()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/relateOperator/#relateIsValidDE9IM)
67
+ * @deprecated
68
+ * since 5.2. Refactor using \@arcgis/codemod or manually replace usages
69
+ * with [relateIsValidDE9IM()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/relateOperator/#relateIsValidDE9IM).
64
70
  * @param relation - The DE-9IM matrix relation encoded as a string.
65
71
  * @returns Returns `true` if the DE-9IM matrix relation is valid.
66
72
  */
@@ -76,6 +82,8 @@ export const relateSupportsCurves: boolean;
76
82
  * Indicates if the operator supports input geometries that contain curves.
77
83
  * The value will always be `true`.
78
84
  *
79
- * @deprecated since 5.2 use [relateSupportsCurves](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/relateOperator/#relateSupportsCurves)
85
+ * @deprecated
86
+ * since 5.2. Refactor using \@arcgis/codemod or manually replace usages
87
+ * with [relateSupportsCurves](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/relateOperator/#relateSupportsCurves).
80
88
  */
81
89
  export const supportsCurves: ReturnType<typeof Boolean>;
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import{OperatorRelate as e}from"../../chunks/OperatorRelate.js";import{deprecatedFunction as r}from"../../core/deprecate.js";import t from"../../core/Logger.js";import{getSpatialReference as o,fromGeometry as a,fromSpatialReference as n}from"./support/apiConverter.js";const c=new e;function s(e){const r=o(e);return c.accelerateGeometry(a(e),n(r),1)}function i(e){return r(t.getLogger("esri.geometry.operators.relateOperator"),"accelerateGeometry is deprecated. Use relateAccelerateGeometry instead.",{replacement:"relateAccelerateGeometry",warnOnce:!0}),s(e)}function l(e,r,t){return c.execute(a(e),a(r),n(e.spatialReference),t,null)}function p(e,o,a){return r(t.getLogger("esri.geometry.operators.relateOperator"),"execute is deprecated. Use relateExecute instead.",{replacement:"relateExecute",warnOnce:!0}),l(e,o,a)}function u(e){return c.isValidDE9IM(e)}function m(e){return r(t.getLogger("esri.geometry.operators.relateOperator"),"isValidDE9IM is deprecated. Use relateIsValidDE9IM instead.",{replacement:"relateIsValidDE9IM",warnOnce:!0}),u(e)}const d=c.supportsCurves(),g=Boolean(d);export{i as accelerateGeometry,p as execute,m as isValidDE9IM,s as relateAccelerateGeometry,l as relateExecute,u as relateIsValidDE9IM,d as relateSupportsCurves,g as supportsCurves};
2
+ import{OperatorRelate as e}from"../../chunks/OperatorRelate.js";import{getSpatialReference as r,fromGeometry as t,fromSpatialReference as o}from"./support/apiConverter.js";import{deprecatedOperator as n}from"./support/deprecatedOperator.js";const a=new e;function c(e){const n=r(e);return a.accelerateGeometry(t(e),o(n),1)}function u(e){return n("relateOperator","accelerateGeometry","relateAccelerateGeometry"),c(e)}function p(e,r,n){return a.execute(t(e),t(r),o(e.spatialReference),n,null)}function l(e,r,t){return n("relateOperator","execute","relateExecute"),p(e,r,t)}function i(e){return a.isValidDE9IM(e)}function s(e){return n("relateOperator","isValidDE9IM","relateIsValidDE9IM"),i(e)}const f=a.supportsCurves(),m=Boolean(f);export{u as accelerateGeometry,l as execute,s as isValidDE9IM,c as relateAccelerateGeometry,p as relateExecute,i as relateIsValidDE9IM,f as relateSupportsCurves,m as supportsCurves};
@@ -30,7 +30,9 @@ export function reshapeExecute(geometry: Polygon | Polyline, reshaper: Polyline)
30
30
  * The first and last intersection points of the reshaper are chosen closest to the end points of the reshaper in the case that multiple intersections are found.
31
31
  * For polygons, only individual paths can be reshaped. However, polylines can be reshaped across paths.
32
32
  *
33
- * @deprecated since 5.2 use [reshapeExecute()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/reshapeOperator/#reshapeExecute)
33
+ * @deprecated
34
+ * since 5.2. Refactor using \@arcgis/codemod or manually replace usages
35
+ * with [reshapeExecute()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/reshapeOperator/#reshapeExecute).
34
36
  * @param geometry - The polygon or polyline to be reshaped.
35
37
  * @param reshaper - The single path polyline reshaper.
36
38
  * @returns If the `geometry` is a polygon, the return type is polygon, and if the `geometry` is a polyline, the return type is polyline.
@@ -51,6 +53,8 @@ export const reshapeSupportsCurves: boolean;
51
53
  * Indicates if the operator supports input geometries that contain curves.
52
54
  * The value will always be `false`.
53
55
  *
54
- * @deprecated since 5.2 use [reshapeSupportsCurves](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/reshapeOperator/#reshapeSupportsCurves)
56
+ * @deprecated
57
+ * since 5.2. Refactor using \@arcgis/codemod or manually replace usages
58
+ * with [reshapeSupportsCurves](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/reshapeOperator/#reshapeSupportsCurves).
55
59
  */
56
60
  export const supportsCurves: ReturnType<typeof Boolean>;
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import{t as e,p as t,G as r,d as s}from"../../chunks/Geometry.js";import{a,S as n,P as m}from"../../chunks/MultiPathImpl.js";import{Envelope2D as i}from"../../chunks/Envelope2D.js";import{c as o,P as h}from"../../chunks/Envelope.js";import{J as c}from"../../chunks/UnitFactory.js";import{deprecatedFunction as l}from"../../core/deprecate.js";import u from"../../core/Logger.js";import{getSpatialReference as g,fromGeometry as _,fromPolyline as d,fromSpatialReference as p,toGeometry as x}from"./support/apiConverter.js";function A(s,n,m,h){if(n.getPathCount()>1&&e(""),s.isEmpty()||n.isEmpty())return null;t(s),t(n);let c=null;const l=new i;s.queryEnvelope(l);const u=new i;n.queryEnvelope(u);const g=new i;g.setCoords({env2D:l}),g.mergeEnvelope2D(u);const _=o(m,g,!1).total(),d=new S(h);let p=d.setIndicesAndScalars(s,n,_);if(p){const e=d.getTrimmedPolyline(s,n);if(e.isEmpty())return null;c=d.getReshapedMultiPath(s,e,m)}else{if(Number.isNaN(d.m_scalarB0)||s.getGeometryType()===r.enumPolyline)return null;const e=new a;if(e.add(n,!0),d.clearIndicesAndScalars(),p=d.setIndicesAndScalars(s,e,_),!p)return null;const t=d.getTrimmedPolyline(s,e);if(t.isEmpty())return null;c=d.getReshapedMultiPath(s,t,m)}return c}class S{m_pathA0;m_pathA1;m_vertexA0;m_vertexA1;m_vertexB0;m_vertexB1;m_scalarA0;m_scalarA1;m_scalarB0;m_scalarB1;m_progressTracker;constructor(e){this.m_progressTracker=e,this.clearIndicesAndScalars()}setIndicesAndScalars(e,t,s){const a=new i,n=new i;e.queryEnvelope(a),e.queryEnvelope(n),a.inflateCoords(s,s);if(!a.intersect(n))return!1;const m=e.getImpl().querySegmentIterator(),o=t.getImpl().querySegmentIterator(),h=[0,0],c=[0,0];let l=-1,u=-1,g=-1,_=-1,d=-1,p=-1,x=Number.NaN,A=Number.NaN,S=Number.NaN,v=Number.NaN;for(o.nextPath();o.hasNextSegment();){const e=o.nextSegment(),t=new i;for(e.queryEnvelope(t),t.inflateCoords(s,s),m.resetToFirstPath();m.nextPath();){for(;m.hasNextSegment();){const r=m.nextSegment(),a=new i;if(r.queryEnvelope(a),t.isIntersecting(a)){if(0!==e.intersect(r,null,c,h,s)&&(Number.isNaN(S)||c[0]<S)&&(l=m.getPathIndex(),g=m.getStartPointIndex(),d=o.getStartPointIndex(),x=h[0],S=c[0],0===S))break}}if(0===S)break}if(!Number.isNaN(S)&&1!==S)break}if(Number.isNaN(S))return!1;this.m_pathA0=l,this.m_vertexA0=g,this.m_vertexB0=d,this.m_scalarA0=x,this.m_scalarB0=S;const y=e.getGeometryType();for(o.resetToLastSegment();o.hasPreviousSegment();){const e=o.previousSegment(),t=new i;for(e.queryEnvelope(t),t.inflateCoords(s,s),y===r.enumPolygon?m.resetToPath(l):m.resetToFirstPath();m.nextPath();){for(;m.hasNextSegment();){const r=m.nextSegment(),a=new i;if(r.queryEnvelope(a),t.isIntersecting(a)){const t=e.intersect(r,null,c,h,s);if(0!==t&&(Number.isNaN(v)||c[t-1]>v)&&(o.getStartPointIndex()!==this.m_vertexB0||c[t-1]!==this.m_scalarB0)&&(u=m.getPathIndex(),_=m.getStartPointIndex(),p=o.getStartPointIndex(),A=h[t-1],v=c[t-1],1===v))break}}if(1===v)break;if(y===r.enumPolygon)break}if(!Number.isNaN(v))break}return!Number.isNaN(v)&&(this.m_pathA1=u,this.m_vertexA1=_,this.m_vertexB1=p,this.m_scalarA1=A,this.m_scalarB1=v,!0)}getTrimmedPolyline(e,t){const r=new n,s=t.createInstance();let a=!0;const m=t.getImpl().querySegmentIterator();if(m.resetToVertex(this.m_vertexB0,0),this.m_vertexB0>this.m_vertexB1)return s;if(this.m_vertexB0===this.m_vertexB1){m.nextSegment().queryCut(this.m_scalarB0,this.m_scalarB1,r,!1),s.addSegment(r.get(),!0)}else for(;;){const e=m.nextSegment(),t=m.getStartPointIndex();if(t===this.m_vertexB0)1!==this.m_scalarB0&&(e.queryCut(this.m_scalarB0,1,r,!1),s.addSegment(r.get(),a),a=!1);else{if(t===this.m_vertexB1){0!==this.m_scalarB1&&(e.queryCut(0,this.m_scalarB1,r),s.addSegment(r.get(),a),a=!1);break}s.addSegment(e,a)}}if(s.isEmpty())return s;if(e.getDescription().getAttributeCount()>1){const t=e.getImpl().querySegmentIterator(),r=new h,a=s.getPointCount();t.resetToVertex(this.m_vertexA0,this.m_pathA0);t.nextSegment().queryCoord(this.m_scalarA0,r),s.setPointByVal(0,r),t.resetToVertex(this.m_vertexA1,this.m_pathA1);t.nextSegment().queryCoord(this.m_scalarA1,r),s.setPointByVal(a-1,r),s.interpolateAttributesRange(0,0,0,a-1)}return s}getReshapedMultiPath(e,t,s){let a;return a=e.getGeometryType()===r.enumPolygon?this.getReshapedPolygon(e,t,s):this.getReshapedPolyline(e,t),a}getReshapedPolygon(e,t,r){const s=e.getImpl().querySegmentIterator();s.setCirculator(!0);const a=new n;new h;const i=new m({vd:e.getDescription()});if(i.addSegmentsFromPath(t,0,0,t.getSegmentCountPath(0),!0),s.resetToVertex(this.m_vertexA1,this.m_pathA0),this.m_vertexA1===this.m_vertexA0&&this.m_scalarA1<=this.m_scalarA0){s.nextSegment().queryCut(this.m_scalarA1,this.m_scalarA0,a),i.addSegment(a.get(),!1)}else{{const e=s.nextSegment();1!==this.m_scalarA1&&(e.queryCut(this.m_scalarA1,1,a),i.addSegment(a.get(),!1))}for(;;){const e=s.nextSegment();if(s.getStartPointIndex()===this.m_vertexA0){0!==this.m_scalarA0&&(e.queryCut(0,this.m_scalarA0,a),i.addSegment(a.get(),!1));break}i.addSegment(e,!1)}}const o=new m({vd:e.getDescription()}),l=t.clone();if(l.reversePath(0),o.addSegmentsFromPath(l,0,0,l.getSegmentCountPath(0),!0),s.resetToVertex(this.m_vertexA0,this.m_pathA0),this.m_vertexA0===this.m_vertexA1&&this.m_scalarA0<this.m_scalarA1){s.nextSegment().queryCut(this.m_scalarA0,this.m_scalarA1,a),o.addSegment(a.get(),!1)}else{{const e=s.nextSegment();1!==this.m_scalarA0&&(e.queryCut(this.m_scalarA0,1,a),o.addSegment(a.get(),!1))}for(;;){const e=s.nextSegment();if(s.getStartPointIndex()===this.m_vertexA1){0!==this.m_scalarA1&&(e.queryCut(0,this.m_scalarA1,a),o.addSegment(a.get(),!1));break}o.addSegment(e,!1)}}const u=Math.abs(i.calculateArea2D()),g=Math.abs(o.calculateArea2D());let _=e.createInstance();for(let n=0;n<e.getPathCount();n++)n===this.m_pathA0?u>=g?_.add(i,!1):_.add(o,!1):_.addPath(e,n,!0);return _=(new c).execute(_,r,!1,this.m_progressTracker),_}getReshapedPolyline(e,t){const r=e.getImpl().querySegmentIterator(),m=new a,i=new n;let o=!1,h=-1,c=Number.NaN;o=this.m_pathA0>this.m_pathA1||this.m_pathA0===this.m_pathA1&&(this.m_vertexA0>this.m_vertexA1||this.m_vertexA0===this.m_vertexA1&&this.m_scalarA0>this.m_scalarA1),o?(h=this.m_vertexA1,c=this.m_scalarA1,r.resetToPath(this.m_pathA1)):(h=this.m_vertexA0,c=this.m_scalarA0,r.resetToPath(this.m_pathA0));let l=!0;for(r.nextPath()||s("reshaper");;){const e=r.nextSegment();if(r.getStartPointIndex()===h){0!==c&&(e.queryCut(0,c,i),m.addSegment(i.get(),l),l=!1);break}m.addSegment(e,l),l=!1}if(o){const e=t.clone();e.reversePath(0),m.addSegmentsFromPath(e,0,0,e.getSegmentCount(),l)}else m.addSegmentsFromPath(t,0,0,t.getSegmentCount(),l);o?(c=this.m_scalarA0,r.resetToVertex(this.m_vertexA0,this.m_pathA0)):(c=this.m_scalarA1,r.resetToVertex(this.m_vertexA1,this.m_pathA1));{const e=r.nextSegment();1!==c&&(e.queryCut(c,1,i),m.addSegment(i.get(),!1))}for(;r.hasNextSegment();){const e=r.nextSegment();m.addSegment(e,!1)}const u=e.createInstance();let g=!1;for(let s=0;s<e.getPathCount();s++)s===this.m_pathA0||s===this.m_pathA1?g||(u.add(m,!1),g=!0):u.addPath(e,s,!0);return u}clearIndicesAndScalars(){this.m_pathA0=-1,this.m_pathA1=-1,this.m_vertexA0=-1,this.m_vertexA1=-1,this.m_vertexB0=-1,this.m_vertexB1=-1,this.m_scalarA0=Number.NaN,this.m_scalarA1=Number.NaN,this.m_scalarB0=Number.NaN,this.m_scalarB1=Number.NaN}}class v{getOperatorType(){return 10006}accelerateGeometry(e,t,r){return!1}canAccelerateGeometry(e){return!1}supportsCurves(){return!1}execute(e,t,r,s){return A(e,t,r,s)}}const y=new v;function f(e,t){const r=g(e),s=y.execute(_(e),d(t),p(r),null);return x(s,r)}function P(e,t){return l(u.getLogger("esri.geometry.operators.reshapeOperator"),"execute is deprecated. Use reshapeExecute instead.",{replacement:"reshapeExecute",warnOnce:!0}),f(e,t)}const N=y.supportsCurves(),I=Boolean(N);export{P as execute,f as reshapeExecute,N as reshapeSupportsCurves,I as supportsCurves};
2
+ import{t as e,p as t,G as r,d as s}from"../../chunks/Geometry.js";import{a,S as n,P as m}from"../../chunks/MultiPathImpl.js";import{Envelope2D as i}from"../../chunks/Envelope2D.js";import{c as o,P as h}from"../../chunks/Envelope.js";import{J as l}from"../../chunks/UnitFactory.js";import{getSpatialReference as c,fromGeometry as u,fromPolyline as g,fromSpatialReference as _,toGeometry as d}from"./support/apiConverter.js";import{deprecatedOperator as p}from"./support/deprecatedOperator.js";function x(s,n,m,h){if(n.getPathCount()>1&&e(""),s.isEmpty()||n.isEmpty())return null;t(s),t(n);let l=null;const c=new i;s.queryEnvelope(c);const u=new i;n.queryEnvelope(u);const g=new i;g.setCoords({env2D:c}),g.mergeEnvelope2D(u);const _=o(m,g,!1).total(),d=new A(h);let p=d.setIndicesAndScalars(s,n,_);if(p){const e=d.getTrimmedPolyline(s,n);if(e.isEmpty())return null;l=d.getReshapedMultiPath(s,e,m)}else{if(Number.isNaN(d.m_scalarB0)||s.getGeometryType()===r.enumPolyline)return null;const e=new a;if(e.add(n,!0),d.clearIndicesAndScalars(),p=d.setIndicesAndScalars(s,e,_),!p)return null;const t=d.getTrimmedPolyline(s,e);if(t.isEmpty())return null;l=d.getReshapedMultiPath(s,t,m)}return l}class A{m_pathA0;m_pathA1;m_vertexA0;m_vertexA1;m_vertexB0;m_vertexB1;m_scalarA0;m_scalarA1;m_scalarB0;m_scalarB1;m_progressTracker;constructor(e){this.m_progressTracker=e,this.clearIndicesAndScalars()}setIndicesAndScalars(e,t,s){const a=new i,n=new i;e.queryEnvelope(a),e.queryEnvelope(n),a.inflateCoords(s,s);if(!a.intersect(n))return!1;const m=e.getImpl().querySegmentIterator(),o=t.getImpl().querySegmentIterator(),h=[0,0],l=[0,0];let c=-1,u=-1,g=-1,_=-1,d=-1,p=-1,x=Number.NaN,A=Number.NaN,S=Number.NaN,v=Number.NaN;for(o.nextPath();o.hasNextSegment();){const e=o.nextSegment(),t=new i;for(e.queryEnvelope(t),t.inflateCoords(s,s),m.resetToFirstPath();m.nextPath();){for(;m.hasNextSegment();){const r=m.nextSegment(),a=new i;if(r.queryEnvelope(a),t.isIntersecting(a)){if(0!==e.intersect(r,null,l,h,s)&&(Number.isNaN(S)||l[0]<S)&&(c=m.getPathIndex(),g=m.getStartPointIndex(),d=o.getStartPointIndex(),x=h[0],S=l[0],0===S))break}}if(0===S)break}if(!Number.isNaN(S)&&1!==S)break}if(Number.isNaN(S))return!1;this.m_pathA0=c,this.m_vertexA0=g,this.m_vertexB0=d,this.m_scalarA0=x,this.m_scalarB0=S;const y=e.getGeometryType();for(o.resetToLastSegment();o.hasPreviousSegment();){const e=o.previousSegment(),t=new i;for(e.queryEnvelope(t),t.inflateCoords(s,s),y===r.enumPolygon?m.resetToPath(c):m.resetToFirstPath();m.nextPath();){for(;m.hasNextSegment();){const r=m.nextSegment(),a=new i;if(r.queryEnvelope(a),t.isIntersecting(a)){const t=e.intersect(r,null,l,h,s);if(0!==t&&(Number.isNaN(v)||l[t-1]>v)&&(o.getStartPointIndex()!==this.m_vertexB0||l[t-1]!==this.m_scalarB0)&&(u=m.getPathIndex(),_=m.getStartPointIndex(),p=o.getStartPointIndex(),A=h[t-1],v=l[t-1],1===v))break}}if(1===v)break;if(y===r.enumPolygon)break}if(!Number.isNaN(v))break}return!Number.isNaN(v)&&(this.m_pathA1=u,this.m_vertexA1=_,this.m_vertexB1=p,this.m_scalarA1=A,this.m_scalarB1=v,!0)}getTrimmedPolyline(e,t){const r=new n,s=t.createInstance();let a=!0;const m=t.getImpl().querySegmentIterator();if(m.resetToVertex(this.m_vertexB0,0),this.m_vertexB0>this.m_vertexB1)return s;if(this.m_vertexB0===this.m_vertexB1){m.nextSegment().queryCut(this.m_scalarB0,this.m_scalarB1,r,!1),s.addSegment(r.get(),!0)}else for(;;){const e=m.nextSegment(),t=m.getStartPointIndex();if(t===this.m_vertexB0)1!==this.m_scalarB0&&(e.queryCut(this.m_scalarB0,1,r,!1),s.addSegment(r.get(),a),a=!1);else{if(t===this.m_vertexB1){0!==this.m_scalarB1&&(e.queryCut(0,this.m_scalarB1,r),s.addSegment(r.get(),a),a=!1);break}s.addSegment(e,a)}}if(s.isEmpty())return s;if(e.getDescription().getAttributeCount()>1){const t=e.getImpl().querySegmentIterator(),r=new h,a=s.getPointCount();t.resetToVertex(this.m_vertexA0,this.m_pathA0);t.nextSegment().queryCoord(this.m_scalarA0,r),s.setPointByVal(0,r),t.resetToVertex(this.m_vertexA1,this.m_pathA1);t.nextSegment().queryCoord(this.m_scalarA1,r),s.setPointByVal(a-1,r),s.interpolateAttributesRange(0,0,0,a-1)}return s}getReshapedMultiPath(e,t,s){let a;return a=e.getGeometryType()===r.enumPolygon?this.getReshapedPolygon(e,t,s):this.getReshapedPolyline(e,t),a}getReshapedPolygon(e,t,r){const s=e.getImpl().querySegmentIterator();s.setCirculator(!0);const a=new n;new h;const i=new m({vd:e.getDescription()});if(i.addSegmentsFromPath(t,0,0,t.getSegmentCountPath(0),!0),s.resetToVertex(this.m_vertexA1,this.m_pathA0),this.m_vertexA1===this.m_vertexA0&&this.m_scalarA1<=this.m_scalarA0){s.nextSegment().queryCut(this.m_scalarA1,this.m_scalarA0,a),i.addSegment(a.get(),!1)}else{{const e=s.nextSegment();1!==this.m_scalarA1&&(e.queryCut(this.m_scalarA1,1,a),i.addSegment(a.get(),!1))}for(;;){const e=s.nextSegment();if(s.getStartPointIndex()===this.m_vertexA0){0!==this.m_scalarA0&&(e.queryCut(0,this.m_scalarA0,a),i.addSegment(a.get(),!1));break}i.addSegment(e,!1)}}const o=new m({vd:e.getDescription()}),c=t.clone();if(c.reversePath(0),o.addSegmentsFromPath(c,0,0,c.getSegmentCountPath(0),!0),s.resetToVertex(this.m_vertexA0,this.m_pathA0),this.m_vertexA0===this.m_vertexA1&&this.m_scalarA0<this.m_scalarA1){s.nextSegment().queryCut(this.m_scalarA0,this.m_scalarA1,a),o.addSegment(a.get(),!1)}else{{const e=s.nextSegment();1!==this.m_scalarA0&&(e.queryCut(this.m_scalarA0,1,a),o.addSegment(a.get(),!1))}for(;;){const e=s.nextSegment();if(s.getStartPointIndex()===this.m_vertexA1){0!==this.m_scalarA1&&(e.queryCut(0,this.m_scalarA1,a),o.addSegment(a.get(),!1));break}o.addSegment(e,!1)}}const u=Math.abs(i.calculateArea2D()),g=Math.abs(o.calculateArea2D());let _=e.createInstance();for(let n=0;n<e.getPathCount();n++)n===this.m_pathA0?u>=g?_.add(i,!1):_.add(o,!1):_.addPath(e,n,!0);return _=(new l).execute(_,r,!1,this.m_progressTracker),_}getReshapedPolyline(e,t){const r=e.getImpl().querySegmentIterator(),m=new a,i=new n;let o=!1,h=-1,l=Number.NaN;o=this.m_pathA0>this.m_pathA1||this.m_pathA0===this.m_pathA1&&(this.m_vertexA0>this.m_vertexA1||this.m_vertexA0===this.m_vertexA1&&this.m_scalarA0>this.m_scalarA1),o?(h=this.m_vertexA1,l=this.m_scalarA1,r.resetToPath(this.m_pathA1)):(h=this.m_vertexA0,l=this.m_scalarA0,r.resetToPath(this.m_pathA0));let c=!0;for(r.nextPath()||s("reshaper");;){const e=r.nextSegment();if(r.getStartPointIndex()===h){0!==l&&(e.queryCut(0,l,i),m.addSegment(i.get(),c),c=!1);break}m.addSegment(e,c),c=!1}if(o){const e=t.clone();e.reversePath(0),m.addSegmentsFromPath(e,0,0,e.getSegmentCount(),c)}else m.addSegmentsFromPath(t,0,0,t.getSegmentCount(),c);o?(l=this.m_scalarA0,r.resetToVertex(this.m_vertexA0,this.m_pathA0)):(l=this.m_scalarA1,r.resetToVertex(this.m_vertexA1,this.m_pathA1));{const e=r.nextSegment();1!==l&&(e.queryCut(l,1,i),m.addSegment(i.get(),!1))}for(;r.hasNextSegment();){const e=r.nextSegment();m.addSegment(e,!1)}const u=e.createInstance();let g=!1;for(let s=0;s<e.getPathCount();s++)s===this.m_pathA0||s===this.m_pathA1?g||(u.add(m,!1),g=!0):u.addPath(e,s,!0);return u}clearIndicesAndScalars(){this.m_pathA0=-1,this.m_pathA1=-1,this.m_vertexA0=-1,this.m_vertexA1=-1,this.m_vertexB0=-1,this.m_vertexB1=-1,this.m_scalarA0=Number.NaN,this.m_scalarA1=Number.NaN,this.m_scalarB0=Number.NaN,this.m_scalarB1=Number.NaN}}class S{getOperatorType(){return 10006}accelerateGeometry(e,t,r){return!1}canAccelerateGeometry(e){return!1}supportsCurves(){return!1}execute(e,t,r,s){return x(e,t,r,s)}}const v=new S;function y(e,t){const r=c(e),s=v.execute(u(e),g(t),_(r),null);return d(s,r)}function f(e,t){return p("reshapeOperator","execute","reshapeExecute"),y(e,t)}const P=v.supportsCurves(),N=Boolean(P);export{f as execute,y as reshapeExecute,P as reshapeSupportsCurves,N as supportsCurves};