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

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 (562) hide show
  1. package/Ground.js +1 -1
  2. package/arcgisGlobal.d.ts +6 -0
  3. package/assets/esri/core/workers/RemoteClient.js +1 -1
  4. package/assets/esri/core/workers/chunks/01ca17092545d72be7b6.js +1 -0
  5. package/assets/esri/core/workers/chunks/{f5a988bb850f7a7af143.js → 05b373a663cb5d4d722f.js} +1 -1
  6. package/assets/esri/core/workers/chunks/{36f8caeb574dcd5c0ed5.js → 0b727d7bf3e36e146725.js} +1 -1
  7. package/assets/esri/core/workers/chunks/0c65862e3dd810015491.js +1 -0
  8. package/assets/esri/core/workers/chunks/0e3e58ba8e2d358121a5.js +1 -0
  9. package/assets/esri/core/workers/chunks/0edebc6c516f0b9dac7b.js +1 -0
  10. package/assets/esri/core/workers/chunks/1004e77593dfa506cd5d.js +1 -0
  11. package/assets/esri/core/workers/chunks/184942ea601237c8241a.js +1 -0
  12. package/assets/esri/core/workers/chunks/20de0ea9fa08a6545978.js +1 -0
  13. package/assets/esri/core/workers/chunks/214d63813d268afc265d.js +1 -0
  14. package/assets/esri/core/workers/chunks/22e85819e23202a8ba90.js +1 -0
  15. package/assets/esri/core/workers/chunks/{6e677505d257e0848075.js → 23f9ab77e4e263f82636.js} +1 -1
  16. package/assets/esri/core/workers/chunks/28a04887ecaee5445d14.js +1 -0
  17. package/assets/esri/core/workers/chunks/{2fc5c1504691badc7792.js → 2ac2d0a7623dd060c144.js} +1 -1
  18. package/assets/esri/core/workers/chunks/2afce71e8b6ae86e0792.js +1 -0
  19. package/assets/esri/core/workers/chunks/36792b8a85e88044cb49.js +1 -0
  20. package/assets/esri/core/workers/chunks/36a7e19f43517aa94577.js +1 -0
  21. package/assets/esri/core/workers/chunks/{6e6cdff4bbe1ff2f44ac.js → 3ab25279aaa30f035038.js} +1 -1
  22. package/assets/esri/core/workers/chunks/{e6dae16208f6978b59e0.js → 3b499cfc89c8f87cdb20.js} +1 -1
  23. package/assets/esri/core/workers/chunks/445b0ca1b70730c9a2e6.js +1 -0
  24. package/assets/esri/core/workers/chunks/{24673aac70d6c949b6fa.js → 4bf2cc4d092601ff2b86.js} +1 -1
  25. package/assets/esri/core/workers/chunks/{d45483dd0dc2853b18b7.js → 4bfd63f3cf9208eb839b.js} +33 -33
  26. package/assets/esri/core/workers/chunks/501df20cdd09384f6ee2.js +1 -0
  27. package/assets/esri/core/workers/chunks/510a190a6f0a60ae38c3.js +1 -0
  28. package/assets/esri/core/workers/chunks/{89a785f8b61263e2d592.js → 552c92b01a5f02a115c5.js} +1 -1
  29. package/assets/esri/core/workers/chunks/564fdf0d663b773806cc.js +1 -0
  30. package/assets/esri/core/workers/chunks/{d9270f4935eb0d044db3.js → 57328c206f1e699ac06f.js} +1 -1
  31. package/assets/esri/core/workers/chunks/{50951fb13013b11b8a24.js → 58e62c8ce1292f4d3b06.js} +1 -1
  32. package/assets/esri/core/workers/chunks/5aee7739afb5160d4ace.js +1 -0
  33. package/assets/esri/core/workers/chunks/5b9925f23d4b10a7087e.js +1 -0
  34. package/assets/esri/core/workers/chunks/5f79ba5639067f734791.js +1 -0
  35. package/assets/esri/core/workers/chunks/{b013b70e40dfb6ce013e.js → 60c61f34733063730386.js} +1 -1
  36. package/assets/esri/core/workers/chunks/62b1f94f4fa978d4da48.js +1 -0
  37. package/assets/esri/core/workers/chunks/6b264006b96cbf93d8ed.js +1 -0
  38. package/assets/esri/core/workers/chunks/6b9d29ca568590358478.js +1 -0
  39. package/assets/esri/core/workers/chunks/{7c5310e0104c22da0261.js → 6c7cb7974969e3167f2b.js} +1 -1
  40. package/assets/esri/core/workers/chunks/6c82cbcd504c711a7450.js +1 -0
  41. package/assets/esri/core/workers/chunks/{e98b785e8f4edc8bd3ff.js → 6eceeca33fac8e900d9d.js} +1 -1
  42. package/assets/esri/core/workers/chunks/7232fc11b23777b6be94.js +1 -0
  43. package/assets/esri/core/workers/chunks/726ca458b98bb4334431.js +1 -0
  44. package/assets/esri/core/workers/chunks/785206da3962ba23de16.js +1 -0
  45. package/assets/esri/core/workers/chunks/{1c70620f40be02f532b5.js → 7b169eabafcc03bfaee6.js} +1 -1
  46. package/assets/esri/core/workers/chunks/7bbc3d22383388d11345.js +1 -0
  47. package/assets/esri/core/workers/chunks/{082069f80eee0407b828.js → 7edf57e31ff07af9032b.js} +1 -1
  48. package/assets/esri/core/workers/chunks/83ed38468e316302b157.js +1 -0
  49. package/assets/esri/core/workers/chunks/85c876ee9e63d5732937.js +1 -0
  50. package/assets/esri/core/workers/chunks/8f0ecf4d06ec7b67d4ed.js +1 -0
  51. package/assets/esri/core/workers/chunks/8f1c5f5e70d4b33d021d.js +1 -0
  52. package/assets/esri/core/workers/chunks/{a1916bca1af5c65be4b0.js → 90ab3c47138875070a53.js} +1 -1
  53. package/assets/esri/core/workers/chunks/{10389c87d9c6a43363ce.js → 917dec9c004218c58950.js} +1 -1
  54. package/assets/esri/core/workers/chunks/91f451b98e0f696043df.js +1 -0
  55. package/assets/esri/core/workers/chunks/943d0026ca4d49eb3ac2.js +1 -0
  56. package/assets/esri/core/workers/chunks/982a396bd4fffa62e911.js +1 -0
  57. package/assets/esri/core/workers/chunks/98a5327fd96d9542b39f.js +1 -0
  58. package/assets/esri/core/workers/chunks/9b9a60f1e0c48aa701f0.js +1 -0
  59. package/assets/esri/core/workers/chunks/9d92e6f0beed9a8580fa.js +1 -0
  60. package/assets/esri/core/workers/chunks/9df379041e8860fe7f01.js +1 -0
  61. package/assets/esri/core/workers/chunks/{1e8ceb4a4b28625236e3.js → a42505b978d54d36d3b6.js} +1 -1
  62. package/assets/esri/core/workers/chunks/{bfbe6ff786435fe1e7cf.js → a86a4e550a92f770d6d5.js} +1 -1
  63. package/assets/esri/core/workers/chunks/{a34eee4c9d4c1c2b8c49.js → ab60f3bc18b5ea504f70.js} +1 -1
  64. package/assets/esri/core/workers/chunks/{18b9ec6ba7a6c0fa2ac6.js → b1880d9f5eafd50ce84b.js} +1 -1
  65. package/assets/esri/core/workers/chunks/{777fc163530448eea13e.js → b4222152efaf73b37b53.js} +1 -1
  66. package/assets/esri/core/workers/chunks/b6ca73c1384f07b30b74.js +1 -0
  67. package/assets/esri/core/workers/chunks/bb4cbf6b7c35e8c78cc7.js +1 -0
  68. package/assets/esri/core/workers/chunks/bb831d23422acfb00ae2.js +1 -0
  69. package/assets/esri/core/workers/chunks/c0855be20ffcd52c7026.js +1 -0
  70. package/assets/esri/core/workers/chunks/{a0f742fd947104662d37.js → c6277236ec47586dca00.js} +1 -1
  71. package/assets/esri/core/workers/chunks/{3be33a129d3ae7dc4f06.js → caf38cf4d8542fb11c46.js} +1 -1
  72. package/assets/esri/core/workers/chunks/{2728eda8178e02fbca47.js → cd0f5cd0fefe7f49e3d8.js} +1 -1
  73. package/assets/esri/core/workers/chunks/{48a53bfeef11c32dadcc.js → d25fb32a233d2128afbe.js} +1 -1
  74. package/assets/esri/core/workers/chunks/d629708bf23da24ee523.js +1 -0
  75. package/assets/esri/core/workers/chunks/db141122060d8d9b38da.js +1 -0
  76. package/assets/esri/core/workers/chunks/dc1944a7601b518a9c48.js +1 -0
  77. package/assets/esri/core/workers/chunks/{573ee2e59d26bc75201e.js → dc8670f32bb0b93c1473.js} +1 -1
  78. package/assets/esri/core/workers/chunks/e164acd876bbd42ed658.js +1 -0
  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/fdf5ceffec9d5185953d.js +1 -0
  88. package/assets/esri/views/3d/analysis/ShadowCast/t9n/messages.ar.json +1 -1
  89. package/assets/esri/views/3d/analysis/ShadowCast/t9n/messages.bg.json +1 -1
  90. package/assets/esri/views/3d/analysis/ShadowCast/t9n/messages.bs.json +1 -1
  91. package/assets/esri/views/3d/analysis/ShadowCast/t9n/messages.ca.json +1 -1
  92. package/assets/esri/views/3d/analysis/ShadowCast/t9n/messages.cs.json +1 -1
  93. package/assets/esri/views/3d/analysis/ShadowCast/t9n/messages.da.json +1 -1
  94. package/assets/esri/views/3d/analysis/ShadowCast/t9n/messages.de.json +1 -1
  95. package/assets/esri/views/3d/analysis/ShadowCast/t9n/messages.el.json +1 -1
  96. package/assets/esri/views/3d/analysis/ShadowCast/t9n/messages.es.json +1 -1
  97. package/assets/esri/views/3d/analysis/ShadowCast/t9n/messages.et.json +1 -1
  98. package/assets/esri/views/3d/analysis/ShadowCast/t9n/messages.fi.json +1 -1
  99. package/assets/esri/views/3d/analysis/ShadowCast/t9n/messages.fr.json +1 -1
  100. package/assets/esri/views/3d/analysis/ShadowCast/t9n/messages.he.json +1 -1
  101. package/assets/esri/views/3d/analysis/ShadowCast/t9n/messages.hr.json +1 -1
  102. package/assets/esri/views/3d/analysis/ShadowCast/t9n/messages.hu.json +1 -1
  103. package/assets/esri/views/3d/analysis/ShadowCast/t9n/messages.id.json +1 -1
  104. package/assets/esri/views/3d/analysis/ShadowCast/t9n/messages.it.json +1 -1
  105. package/assets/esri/views/3d/analysis/ShadowCast/t9n/messages.ja.json +1 -1
  106. package/assets/esri/views/3d/analysis/ShadowCast/t9n/messages.ko.json +1 -1
  107. package/assets/esri/views/3d/analysis/ShadowCast/t9n/messages.lt.json +1 -1
  108. package/assets/esri/views/3d/analysis/ShadowCast/t9n/messages.lv.json +1 -1
  109. package/assets/esri/views/3d/analysis/ShadowCast/t9n/messages.nl.json +1 -1
  110. package/assets/esri/views/3d/analysis/ShadowCast/t9n/messages.no.json +1 -1
  111. package/assets/esri/views/3d/analysis/ShadowCast/t9n/messages.pl.json +1 -1
  112. package/assets/esri/views/3d/analysis/ShadowCast/t9n/messages.pt-BR.json +1 -1
  113. package/assets/esri/views/3d/analysis/ShadowCast/t9n/messages.pt-PT.json +1 -1
  114. package/assets/esri/views/3d/analysis/ShadowCast/t9n/messages.ro.json +1 -1
  115. package/assets/esri/views/3d/analysis/ShadowCast/t9n/messages.ru.json +1 -1
  116. package/assets/esri/views/3d/analysis/ShadowCast/t9n/messages.sk.json +1 -1
  117. package/assets/esri/views/3d/analysis/ShadowCast/t9n/messages.sl.json +1 -1
  118. package/assets/esri/views/3d/analysis/ShadowCast/t9n/messages.sr.json +1 -1
  119. package/assets/esri/views/3d/analysis/ShadowCast/t9n/messages.sv.json +1 -1
  120. package/assets/esri/views/3d/analysis/ShadowCast/t9n/messages.th.json +1 -1
  121. package/assets/esri/views/3d/analysis/ShadowCast/t9n/messages.tr.json +1 -1
  122. package/assets/esri/views/3d/analysis/ShadowCast/t9n/messages.uk.json +1 -1
  123. package/assets/esri/views/3d/analysis/ShadowCast/t9n/messages.vi.json +1 -1
  124. package/assets/esri/views/3d/analysis/ShadowCast/t9n/messages.zh-CN.json +1 -1
  125. package/assets/esri/views/3d/analysis/ShadowCast/t9n/messages.zh-HK.json +1 -1
  126. package/assets/esri/views/3d/analysis/ShadowCast/t9n/messages.zh-TW.json +1 -1
  127. package/assets/esri/views/3d/analysis/VolumeMeasurement/t9n/messages.ja.json +1 -1
  128. package/assets/esri/views/3d/environment/resources/milkyway-band.ktx2 +0 -0
  129. package/assets/esri/widgets/DistanceMeasurement2D/t9n/messages.de.json +1 -1
  130. package/assets/esri/widgets/DistanceMeasurement2D/t9n/messages.ro.json +1 -1
  131. package/assets/esri/widgets/Expand/t9n/messages.id.json +1 -1
  132. package/assets/esri/widgets/Features/t9n/messages.he.json +1 -1
  133. package/assets/esri/widgets/Features/t9n/messages.uk.json +1 -1
  134. package/assets/esri/widgets/Home/t9n/messages.bs.json +1 -1
  135. package/assets/esri/widgets/Home/t9n/messages.de.json +1 -1
  136. package/assets/esri/widgets/Home/t9n/messages.et.json +1 -1
  137. package/assets/esri/widgets/Home/t9n/messages.fi.json +1 -1
  138. package/assets/esri/widgets/Home/t9n/messages.hr.json +1 -1
  139. package/assets/esri/widgets/Home/t9n/messages.hu.json +1 -1
  140. package/assets/esri/widgets/Home/t9n/messages.id.json +1 -1
  141. package/assets/esri/widgets/Home/t9n/messages.lv.json +1 -1
  142. package/assets/esri/widgets/Home/t9n/messages.nl.json +1 -1
  143. package/assets/esri/widgets/Home/t9n/messages.pt-PT.json +1 -1
  144. package/assets/esri/widgets/Home/t9n/messages.th.json +1 -1
  145. package/assets/esri/widgets/Home/t9n/messages.tr.json +1 -1
  146. package/assets/esri/widgets/OrientedImageryViewer/t9n/messages.de.json +1 -1
  147. package/assets/esri/widgets/Print/t9n/messages.es.json +1 -1
  148. package/assets/esri/widgets/Print/t9n/messages.it.json +1 -1
  149. package/assets/esri/widgets/Print/t9n/messages.lt.json +1 -1
  150. package/assets/esri/widgets/Print/t9n/messages.pt-PT.json +1 -1
  151. package/assets/esri/widgets/Print/t9n/messages.sl.json +1 -1
  152. package/assets/esri/widgets/Print/t9n/messages.sr.json +1 -1
  153. package/assets/esri/widgets/Search/t9n/messages.bs.json +1 -1
  154. package/assets/esri/widgets/Search/t9n/messages.de.json +1 -1
  155. package/assets/esri/widgets/Search/t9n/messages.es.json +1 -1
  156. package/assets/esri/widgets/Search/t9n/messages.et.json +1 -1
  157. package/assets/esri/widgets/Search/t9n/messages.fi.json +1 -1
  158. package/assets/esri/widgets/Search/t9n/messages.he.json +1 -1
  159. package/assets/esri/widgets/Search/t9n/messages.hr.json +1 -1
  160. package/assets/esri/widgets/Search/t9n/messages.it.json +1 -1
  161. package/assets/esri/widgets/Search/t9n/messages.lv.json +1 -1
  162. package/assets/esri/widgets/smartMapping/HeatmapSlider/t9n/messages.ar.json +1 -1
  163. package/assets/esri/widgets/smartMapping/HeatmapSlider/t9n/messages.ca.json +1 -1
  164. package/assets/esri/widgets/smartMapping/HeatmapSlider/t9n/messages.cs.json +1 -1
  165. package/assets/esri/widgets/smartMapping/HeatmapSlider/t9n/messages.el.json +1 -1
  166. package/assets/esri/widgets/smartMapping/HeatmapSlider/t9n/messages.es.json +1 -1
  167. package/assets/esri/widgets/smartMapping/HeatmapSlider/t9n/messages.fi.json +1 -1
  168. package/assets/esri/widgets/smartMapping/HeatmapSlider/t9n/messages.he.json +1 -1
  169. package/assets/esri/widgets/smartMapping/HeatmapSlider/t9n/messages.it.json +1 -1
  170. package/assets/esri/widgets/smartMapping/HeatmapSlider/t9n/messages.lt.json +1 -1
  171. package/assets/esri/widgets/smartMapping/HeatmapSlider/t9n/messages.lv.json +1 -1
  172. package/assets/esri/widgets/smartMapping/HeatmapSlider/t9n/messages.pl.json +1 -1
  173. package/assets/esri/widgets/smartMapping/HeatmapSlider/t9n/messages.ro.json +1 -1
  174. package/assets/esri/widgets/smartMapping/HeatmapSlider/t9n/messages.ru.json +1 -1
  175. package/assets/esri/widgets/smartMapping/HeatmapSlider/t9n/messages.sl.json +1 -1
  176. package/assets/esri/widgets/smartMapping/HeatmapSlider/t9n/messages.uk.json +1 -1
  177. package/assets/esri/widgets/support/GridControls/t9n/messages.pt-BR.json +1 -1
  178. package/chunks/DeepSky.glsl.js +2 -2
  179. package/chunks/FocusArea.glsl.js +1 -1
  180. package/chunks/GaussianSplatDepth.glsl.js +3 -3
  181. package/chunks/RibbonLine.glsl.js +15 -13
  182. package/config.js +1 -1
  183. package/core/Evented.d.ts +1 -1
  184. package/form/elements/AttachmentElement.d.ts +5 -5
  185. package/form/elements/inputs/attachments/AttachmentInput.d.ts +1 -1
  186. package/geometry/Extent.js +1 -1
  187. package/geometry/operators/affineTransformOperator.d.ts +9 -3
  188. package/geometry/operators/affineTransformOperator.js +1 -1
  189. package/geometry/operators/alphaShapeOperator.d.ts +14 -4
  190. package/geometry/operators/alphaShapeOperator.js +1 -1
  191. package/geometry/operators/areaOperator.d.ts +11 -3
  192. package/geometry/operators/areaOperator.js +1 -1
  193. package/geometry/operators/autoCompleteOperator.d.ts +6 -2
  194. package/geometry/operators/autoCompleteOperator.js +1 -1
  195. package/geometry/operators/boundaryOperator.d.ts +9 -3
  196. package/geometry/operators/boundaryOperator.js +1 -1
  197. package/geometry/operators/bufferOperator.d.ts +19 -5
  198. package/geometry/operators/bufferOperator.js +1 -1
  199. package/geometry/operators/centroidOperator.d.ts +6 -2
  200. package/geometry/operators/centroidOperator.js +1 -1
  201. package/geometry/operators/clipOperator.d.ts +9 -3
  202. package/geometry/operators/clipOperator.js +1 -1
  203. package/geometry/operators/containsOperator.d.ts +9 -3
  204. package/geometry/operators/containsOperator.js +1 -1
  205. package/geometry/operators/convexHullOperator.d.ts +17 -5
  206. package/geometry/operators/convexHullOperator.js +1 -1
  207. package/geometry/operators/crossesOperator.d.ts +9 -3
  208. package/geometry/operators/crossesOperator.js +1 -1
  209. package/geometry/operators/cutOperator.d.ts +6 -2
  210. package/geometry/operators/cutOperator.js +1 -1
  211. package/geometry/operators/densifyOperator.d.ts +14 -4
  212. package/geometry/operators/densifyOperator.js +1 -1
  213. package/geometry/operators/differenceOperator.d.ts +9 -3
  214. package/geometry/operators/differenceOperator.js +1 -1
  215. package/geometry/operators/disjointOperator.d.ts +9 -3
  216. package/geometry/operators/disjointOperator.js +1 -1
  217. package/geometry/operators/distanceOperator.d.ts +11 -3
  218. package/geometry/operators/distanceOperator.js +1 -1
  219. package/geometry/operators/equalsOperator.d.ts +9 -3
  220. package/geometry/operators/equalsOperator.js +1 -1
  221. package/geometry/operators/extendOperator.d.ts +11 -3
  222. package/geometry/operators/extendOperator.js +1 -1
  223. package/geometry/operators/generalizeOperator.d.ts +14 -4
  224. package/geometry/operators/generalizeOperator.js +1 -1
  225. package/geometry/operators/geodesicBufferOperator.d.ts +25 -7
  226. package/geometry/operators/geodesicBufferOperator.js +1 -1
  227. package/geometry/operators/geodesicProximityOperator.d.ts +28 -8
  228. package/geometry/operators/geodesicProximityOperator.js +1 -1
  229. package/geometry/operators/geodeticAreaOperator.d.ts +17 -5
  230. package/geometry/operators/geodeticAreaOperator.js +1 -1
  231. package/geometry/operators/geodeticDensifyOperator.d.ts +20 -6
  232. package/geometry/operators/geodeticDensifyOperator.js +1 -1
  233. package/geometry/operators/geodeticDistanceOperator.d.ts +17 -5
  234. package/geometry/operators/geodeticDistanceOperator.js +1 -1
  235. package/geometry/operators/geodeticLengthOperator.d.ts +17 -5
  236. package/geometry/operators/geodeticLengthOperator.js +1 -1
  237. package/geometry/operators/geodeticUtilsOperator.d.ts +17 -5
  238. package/geometry/operators/geodeticUtilsOperator.js +1 -1
  239. package/geometry/operators/graphicBufferOperator.d.ts +11 -3
  240. package/geometry/operators/graphicBufferOperator.js +1 -1
  241. package/geometry/operators/integrateOperator.d.ts +6 -2
  242. package/geometry/operators/integrateOperator.js +1 -1
  243. package/geometry/operators/intersectionOperator.d.ts +12 -4
  244. package/geometry/operators/intersectionOperator.js +1 -1
  245. package/geometry/operators/intersectsOperator.d.ts +9 -3
  246. package/geometry/operators/intersectsOperator.js +1 -1
  247. package/geometry/operators/isNearOperator.d.ts +11 -3
  248. package/geometry/operators/isNearOperator.js +1 -1
  249. package/geometry/operators/json/bufferOperator.js +1 -1
  250. package/geometry/operators/json/containsOperator.js +1 -1
  251. package/geometry/operators/json/convexHullOperator.js +1 -1
  252. package/geometry/operators/json/crossesOperator.js +1 -1
  253. package/geometry/operators/json/disjointOperator.js +1 -1
  254. package/geometry/operators/json/generalizeOperator.js +1 -1
  255. package/geometry/operators/json/geodesicBufferOperator.js +1 -1
  256. package/geometry/operators/json/graphicBufferOperator.js +1 -1
  257. package/geometry/operators/json/intersectionOperator.js +1 -1
  258. package/geometry/operators/json/intersectsOperator.js +1 -1
  259. package/geometry/operators/json/lengthOperator.js +1 -1
  260. package/geometry/operators/json/offsetOperator.js +1 -1
  261. package/geometry/operators/json/overlapsOperator.js +1 -1
  262. package/geometry/operators/json/projectOperator.js +1 -1
  263. package/geometry/operators/json/simplifyOperator.js +1 -1
  264. package/geometry/operators/json/simplifyOperatorOGC.js +1 -1
  265. package/geometry/operators/json/touchesOperator.js +1 -1
  266. package/geometry/operators/json/unionOperator.js +1 -1
  267. package/geometry/operators/json/withinOperator.js +1 -1
  268. package/geometry/operators/labelPointOperator.d.ts +9 -3
  269. package/geometry/operators/labelPointOperator.js +1 -1
  270. package/geometry/operators/lengthOperator.d.ts +11 -3
  271. package/geometry/operators/lengthOperator.js +1 -1
  272. package/geometry/operators/linesToPolygonsOperator.d.ts +6 -2
  273. package/geometry/operators/linesToPolygonsOperator.js +1 -1
  274. package/geometry/operators/locateBetweenOperator.d.ts +6 -2
  275. package/geometry/operators/locateBetweenOperator.js +1 -1
  276. package/geometry/operators/minimumBoundingCircleOperator.d.ts +14 -4
  277. package/geometry/operators/minimumBoundingCircleOperator.js +1 -1
  278. package/geometry/operators/multiPartToSinglePartOperator.d.ts +11 -3
  279. package/geometry/operators/multiPartToSinglePartOperator.js +1 -1
  280. package/geometry/operators/offsetOperator.d.ts +14 -4
  281. package/geometry/operators/offsetOperator.js +1 -1
  282. package/geometry/operators/overlapsOperator.d.ts +9 -3
  283. package/geometry/operators/overlapsOperator.js +1 -1
  284. package/geometry/operators/polygonOverlayOperator.d.ts +11 -3
  285. package/geometry/operators/polygonOverlayOperator.js +1 -1
  286. package/geometry/operators/polygonSlicerOperator.d.ts +22 -6
  287. package/geometry/operators/polygonSlicerOperator.js +1 -1
  288. package/geometry/operators/projectOperator.d.ts +15 -5
  289. package/geometry/operators/projectOperator.js +1 -1
  290. package/geometry/operators/proximityOperator.d.ts +22 -6
  291. package/geometry/operators/proximityOperator.js +1 -1
  292. package/geometry/operators/relateOperator.d.ts +12 -4
  293. package/geometry/operators/relateOperator.js +1 -1
  294. package/geometry/operators/reshapeOperator.d.ts +6 -2
  295. package/geometry/operators/reshapeOperator.js +1 -1
  296. package/geometry/operators/shapePreservingProjectOperator.d.ts +20 -6
  297. package/geometry/operators/shapePreservingProjectOperator.js +1 -1
  298. package/geometry/operators/simplifyOGCOperator.d.ts +3 -1
  299. package/geometry/operators/simplifyOGCOperator.js +1 -1
  300. package/geometry/operators/simplifyOperator.d.ts +12 -4
  301. package/geometry/operators/simplifyOperator.js +1 -1
  302. package/geometry/operators/singlePartToMultiPartOperator.js +1 -1
  303. package/geometry/operators/support/deprecatedOperator.js +2 -0
  304. package/geometry/operators/symmetricDifferenceOperator.d.ts +9 -3
  305. package/geometry/operators/symmetricDifferenceOperator.js +1 -1
  306. package/geometry/operators/touchesOperator.d.ts +9 -3
  307. package/geometry/operators/touchesOperator.js +1 -1
  308. package/geometry/operators/unionOperator.d.ts +9 -3
  309. package/geometry/operators/unionOperator.js +1 -1
  310. package/geometry/operators/withinOperator.d.ts +9 -3
  311. package/geometry/operators/withinOperator.js +1 -1
  312. package/geometry/support/intersectsBase.js +1 -1
  313. package/geometry/support/normalizeUtils.js +1 -1
  314. package/kernel.js +1 -1
  315. package/layers/FeatureLayer.d.ts +2 -2
  316. package/layers/IntegratedMesh3DTilesLayer.js +1 -1
  317. package/layers/IntegratedMeshLayer.js +1 -1
  318. package/layers/SceneLayer.js +1 -1
  319. package/layers/buildingSublayers/BuildingComponentSublayer.js +1 -1
  320. package/layers/list/BasemapItemCollection.d.ts +40 -14
  321. package/layers/list/BasemapItemCollection.js +1 -1
  322. package/layers/list/CatalogItemCollection.d.ts +29 -11
  323. package/layers/list/CatalogItemCollection.js +1 -1
  324. package/layers/list/Item.d.ts +66 -122
  325. package/layers/list/Item.js +1 -1
  326. package/layers/list/ItemPanel.d.ts +23 -34
  327. package/layers/list/LayerItemCollection.d.ts +33 -43
  328. package/layers/list/LayerItemCollection.js +1 -1
  329. package/layers/list/TableItem.d.ts +42 -53
  330. package/layers/list/TableItem.js +1 -1
  331. package/layers/list/TableItemCollection.d.ts +25 -55
  332. package/layers/list/TableItemCollection.js +1 -1
  333. package/layers/list/TableItemPanel.d.ts +25 -23
  334. package/layers/list/support/layerListUtils.js +1 -1
  335. package/layers/list/types.d.ts +158 -37
  336. package/layers/support/ElevationQuery.js +1 -1
  337. package/layers/support/FeatureFilter.d.ts +2 -1
  338. package/layers/support/FeatureFilter.js +1 -1
  339. package/layers/support/FeatureReductionBinning.d.ts +2 -2
  340. package/layers/support/FeatureReductionCluster.d.ts +2 -2
  341. package/layers/support/SubtypeSublayer.d.ts +1 -1
  342. package/package.json +3 -3
  343. package/popup/FeatureContent.d.ts +7 -7
  344. package/portal/schemas/definitions.js +1 -1
  345. package/portal/types.d.ts +1 -1
  346. package/renderers/DotDensityRenderer.d.ts +2 -2
  347. package/rest/knowledgeGraph/GraphDeleteNamedTypeResult.d.ts +0 -1
  348. package/rest/knowledgeGraph/ReplicaDefinition.d.ts +1 -1
  349. package/rest/knowledgeGraphService.d.ts +2 -2
  350. package/rest/support/Query.d.ts +1 -3
  351. package/rest/support/RelationshipQuery.d.ts +1 -1
  352. package/support/revision.js +1 -1
  353. package/symbols/LineSymbol3D.js +1 -1
  354. package/symbols/LineSymbol3DLayer.d.ts +9 -3
  355. package/symbols/cim/CIMSymbolDrawHelper.js +1 -1
  356. package/symbols/cim/CIMSymbolHelper.js +1 -1
  357. package/symbols/cim/OverrideHelper.js +1 -1
  358. package/symbols/cim/Rasterizer.js +1 -1
  359. package/symbols/cim/cimAnalyzer.js +1 -1
  360. package/symbols/cim/dashUtils.js +2 -0
  361. package/symbols/cim/effects/EffectDashes.js +1 -1
  362. package/symbols/cim/fromCIMFontStyle.js +2 -0
  363. package/symbols/cim/richTextUtils.js +1 -1
  364. package/symbols/cim/types.d.ts +32 -0
  365. package/symbols/cim/utils.js +1 -1
  366. package/symbols/patterns/LinePattern3D.d.ts +10 -4
  367. package/symbols/patterns/LinePattern3D.js +1 -1
  368. package/symbols/patterns/LineTemplatePattern3D.d.ts +48 -0
  369. package/symbols/patterns/LineTemplatePattern3D.js +2 -0
  370. package/symbols/patterns/utils.js +1 -1
  371. package/symbols/support/Symbol3DOutline.js +1 -1
  372. package/views/2d/engine/webgl/AttributeStoreView.js +1 -1
  373. package/views/2d/engine/webgl/FeatureDisplayList.js +1 -1
  374. package/views/2d/engine/webgl/GlyphMosaic.js +1 -1
  375. package/views/2d/engine/webgl/GlyphWorker.js +1 -1
  376. package/views/2d/engine/webgl/TextureManager.js +1 -1
  377. package/views/2d/engine/webgl/decorGlyphRect.js +2 -0
  378. package/views/2d/engine/webgl/definitions.js +1 -1
  379. package/views/2d/engine/webgl/effects/highlight/HighlightGradient.js +1 -1
  380. package/views/2d/engine/webgl/effects/highlight/MultiHighlightGradient.js +1 -1
  381. package/views/2d/engine/webgl/hashMosaic.js +2 -0
  382. package/views/2d/engine/webgl/shaderGraph/techniques/featureTechniqueUtils.js +1 -1
  383. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/AFeatureShader.js +1 -1
  384. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/ShaderHighlight.js +1 -1
  385. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/utils.js +1 -1
  386. package/views/2d/layers/FeatureLikeLayerView2D.js +1 -1
  387. package/views/2d/layers/GraphicsLayerView2D.js +1 -1
  388. package/views/2d/layers/ImageryLayerView2D.js +1 -1
  389. package/views/2d/layers/LayerView2D.js +1 -1
  390. package/views/2d/layers/MapImageLayerView2D.js +1 -1
  391. package/views/2d/layers/MapNotesLayerView2D.js +1 -1
  392. package/views/2d/layers/RouteLayerView2D.js +1 -1
  393. package/views/2d/layers/TileLayerView2D.js +1 -1
  394. package/views/2d/layers/features/FeatureContainer.js +1 -1
  395. package/views/2d/layers/features/FeaturePipelineWorker.js +1 -1
  396. package/views/2d/layers/features/Processor.js +1 -1
  397. package/views/2d/layers/features/processor/AProcessorStrategy.js +1 -1
  398. package/views/2d/layers/features/processor/AggregateStrategy.js +1 -1
  399. package/views/2d/layers/features/processor/FeatureUpdateStrategy.js +1 -1
  400. package/views/2d/layers/features/processor/bins/BinLevelState.js +1 -1
  401. package/views/2d/layers/features/processor/clusters/ClusterLevelState.js +1 -1
  402. package/views/2d/layers/features/processor/tracks/TrackLevelState.js +1 -1
  403. package/views/2d/layers/features/schema/processor/SimpleProcessorSchema.js +1 -1
  404. package/views/2d/layers/features/sources/FeatureSource.js +1 -1
  405. package/views/2d/layers/features/support/AttributeStore.js +1 -1
  406. package/views/2d/layers/graphics/AGraphicContainer.js +1 -1
  407. package/views/2d/layers/graphics/GraphicBoundsRenderer.js +1 -1
  408. package/views/2d/layers/graphics/GraphicsView2D.js +1 -1
  409. package/views/2d/layers/support/FeatureCommandQueue.js +1 -1
  410. package/views/2d/layers/support/FilterSchema.js +2 -0
  411. package/views/2d/layers/support/HighlightRegistry.js +2 -0
  412. package/views/2d/layers/support/annodime/dimensionUtils.js +1 -1
  413. package/views/2d/layers/support/util.js +1 -1
  414. package/views/3d/analysis/LineOfSight/LineOfSightRayIntersector.js +1 -1
  415. package/views/3d/analysis/ShadowCastAnalysisView3D.d.ts +1 -1
  416. package/views/3d/analysis/Viewshed/ViewshedEditTool.js +1 -1
  417. package/views/3d/analysis/Viewshed/ViewshedPlacementController.js +1 -1
  418. package/views/3d/analysis/Viewshed/ViewshedSubTool.js +1 -1
  419. package/views/3d/analysis/Viewshed/ViewshedTool.js +1 -1
  420. package/views/3d/analysis/Viewshed/placementUtils.js +1 -1
  421. package/views/3d/input/SceneInputManager.js +1 -1
  422. package/views/3d/input/handlers/ground/GroundNavigation.js +1 -1
  423. package/views/3d/layers/GaussianSplatLayerView3D.js +1 -1
  424. package/views/3d/layers/I3SMeshView3D.js +1 -1
  425. package/views/3d/layers/IntegratedMesh3DTilesLayerView3D.js +1 -1
  426. package/views/3d/layers/IntegratedMeshLayerView3D.js +1 -1
  427. package/views/3d/layers/graphics/Graphics3DCore.js +1 -1
  428. package/views/3d/layers/graphics/Graphics3DFeatureStore.js +1 -1
  429. package/views/3d/layers/graphics/Graphics3DGraphic.js +1 -1
  430. package/views/3d/layers/graphics/Graphics3DLineSymbolLayer.js +1 -1
  431. package/views/3d/layers/support/Tiles3DMeshIntersectionHandler.js +1 -1
  432. package/views/3d/navigation/Navigation3D.d.ts +16 -0
  433. package/views/3d/navigation/Navigation3D.js +2 -0
  434. package/views/3d/navigation/modes/DefaultNavigationMode3D.d.ts +4 -0
  435. package/views/3d/navigation/modes/DefaultNavigationMode3D.js +2 -0
  436. package/views/3d/navigation/modes/GroundNavigationMode3D.d.ts +4 -0
  437. package/views/3d/navigation/modes/GroundNavigationMode3D.js +2 -0
  438. package/views/3d/navigation/modes/NavigationMode3D.d.ts +4 -0
  439. package/views/3d/navigation/modes/NavigationMode3D.js +2 -0
  440. package/views/3d/navigation/modes/NavigationMode3DUnion.d.ts +5 -0
  441. package/views/3d/state/ConstraintsManager.js +1 -1
  442. package/views/3d/support/QualityProfile.js +1 -1
  443. package/views/3d/support/hitTest.js +1 -1
  444. package/views/3d/terrain/ExtentHelper.js +1 -1
  445. package/views/3d/webgl-engine/collections/Component/Material/ComponentMaterial.js +1 -1
  446. package/views/3d/webgl-engine/effects/AmbientIllumination.js +2 -0
  447. package/views/3d/webgl-engine/effects/fog/Fog.js +1 -1
  448. package/views/3d/webgl-engine/effects/globalIllumination/GlobalIllumination.js +1 -1
  449. package/views/3d/webgl-engine/effects/glow/BlurEmission.js +1 -1
  450. package/views/3d/webgl-engine/effects/ssao/SSAO.js +1 -1
  451. package/views/3d/webgl-engine/effects/stars/Stars.js +1 -1
  452. package/views/3d/webgl-engine/lib/BindParameters.js +1 -1
  453. package/views/3d/webgl-engine/lib/EmissionComposite.js +1 -1
  454. package/views/3d/webgl-engine/lib/GaussianSplatDepthRenderer.js +1 -1
  455. package/views/3d/webgl-engine/lib/RenderFeature.js +1 -1
  456. package/views/3d/webgl-engine/lib/Renderer.js +1 -1
  457. package/views/3d/webgl-engine/lib/SortedRenderGeometryRenderer.js +1 -1
  458. package/views/3d/webgl-engine/materials/lineStippleUtils.js +1 -1
  459. package/views/3d/webgl-engine/parts/RenderView.js +1 -1
  460. package/views/3d/webgl-engine/shaders/GaussianSplatPass.glsl.js +12 -8
  461. package/views/3d/webgl-engine/shaders/GaussianSplatTechniqueConfiguration.js +1 -1
  462. package/views/BreakpointsOwner.d.ts +2 -2
  463. package/views/PopupView.js +1 -1
  464. package/views/SceneView.js +1 -1
  465. package/views/SelectionManager.d.ts +24 -24
  466. package/views/View.js +1 -1
  467. package/views/View2D.js +1 -1
  468. package/views/interactive/support/types.d.ts +0 -1
  469. package/views/layers/FeatureLikeLayerView.js +1 -1
  470. package/views/support/DefaultsFromMap.js +1 -1
  471. package/widgets/Attachments/support/attachmentUtils.d.ts +8 -0
  472. package/widgets/BasemapLayerList/BasemapLayerListViewModel.d.ts +1 -0
  473. package/widgets/BasemapLayerList/BasemapLayerListViewModel.js +1 -1
  474. package/widgets/BasemapLayerList/BasemapLayerListVisibleElements.d.ts +5 -1
  475. package/widgets/BasemapLayerList/types.d.ts +15 -2
  476. package/widgets/BasemapLayerList.d.ts +1 -1
  477. package/widgets/BasemapLayerList.js +1 -1
  478. package/widgets/BatchAttributeForm/BatchAttributeFormViewModel.js +1 -1
  479. package/widgets/BatchAttributeForm/batchAttributeFormUtils.js +1 -1
  480. package/widgets/BatchAttributeForm/inputs/AttachmentElementInput.d.ts +14 -0
  481. package/widgets/BatchAttributeForm/inputs/AttachmentElementInput.js +1 -1
  482. package/widgets/BatchAttributeForm/inputs/BatchFormInputs.js +1 -1
  483. package/widgets/BatchAttributeForm/inputs/FieldInput.d.ts +29 -2
  484. package/widgets/BatchAttributeForm/inputs/FieldInput.js +1 -1
  485. package/widgets/BatchAttributeForm/inputs/support/MultipleChoiceController.d.ts +1 -5
  486. package/widgets/BatchAttributeForm/inputs/support/inputUtils.js +1 -1
  487. package/widgets/BatchAttributeForm/inputs/types.d.ts +8 -1
  488. package/widgets/BatchAttributeForm.js +1 -1
  489. package/widgets/Editor/CreateFeaturesWorkflow.js +1 -1
  490. package/widgets/Editor/EditorViewModel.d.ts +2 -2
  491. package/widgets/Editor.d.ts +2 -2
  492. package/widgets/FeatureTable/FeatureTableViewModel.d.ts +6 -6
  493. package/widgets/FeatureTable/support/FeatureStore.d.ts +2 -2
  494. package/widgets/FeatureTable.d.ts +5 -5
  495. package/widgets/LayerList/LayerListViewModel.d.ts +1 -0
  496. package/widgets/LayerList/LayerListViewModel.js +1 -1
  497. package/widgets/LayerList/LayerListVisibleElements.d.ts +4 -1
  498. package/widgets/LayerList/ListItem.d.ts +4 -0
  499. package/widgets/LayerList/ListItemPanel.d.ts +3 -0
  500. package/widgets/OrientedImageryViewer/types.d.ts +2 -2
  501. package/widgets/OrientedImageryViewer.d.ts +20 -1
  502. package/widgets/OrientedImageryViewer.js +1 -1
  503. package/widgets/Sketch/SketchViewModel.js +1 -1
  504. package/widgets/support/SelectionList/SelectionListViewModel.d.ts +1 -1
  505. package/widgets/support/iconUtils.js +1 -1
  506. package/assets/esri/core/workers/chunks/03601be8b0763f82e88f.js +0 -1
  507. package/assets/esri/core/workers/chunks/0bff8d589312be6588fe.js +0 -1
  508. package/assets/esri/core/workers/chunks/0de90b1ad8118457fd5a.js +0 -1
  509. package/assets/esri/core/workers/chunks/0e1a067ab243900d0371.js +0 -1
  510. package/assets/esri/core/workers/chunks/0ee6109e6578395a7900.js +0 -1
  511. package/assets/esri/core/workers/chunks/0ee7376c29e0fd8f676c.js +0 -1
  512. package/assets/esri/core/workers/chunks/13551987fbeaae154df8.js +0 -1
  513. package/assets/esri/core/workers/chunks/186350d720352bd5ff33.js +0 -1
  514. package/assets/esri/core/workers/chunks/25ecf94d776c3b6db0f3.js +0 -1
  515. package/assets/esri/core/workers/chunks/262052dfaec3af8a58b9.js +0 -1
  516. package/assets/esri/core/workers/chunks/2c01477b69c38f691e19.js +0 -1
  517. package/assets/esri/core/workers/chunks/307297e025eed110095f.js +0 -1
  518. package/assets/esri/core/workers/chunks/33422dca6f4bcaa0ea74.js +0 -1
  519. package/assets/esri/core/workers/chunks/33e583166ab3943ecf0e.js +0 -1
  520. package/assets/esri/core/workers/chunks/37ae52c71bf9c70fbb92.js +0 -1
  521. package/assets/esri/core/workers/chunks/3daddcb106a7009c5a70.js +0 -1
  522. package/assets/esri/core/workers/chunks/3de6e54b6ed0feae1940.js +0 -1
  523. package/assets/esri/core/workers/chunks/448f068a14f24f2f8a43.js +0 -1
  524. package/assets/esri/core/workers/chunks/4c088c26d5d546c95c90.js +0 -1
  525. package/assets/esri/core/workers/chunks/5134241be1f1bf25231a.js +0 -1
  526. package/assets/esri/core/workers/chunks/56163189fbe63aa11e94.js +0 -1
  527. package/assets/esri/core/workers/chunks/571cf99c3eab8e517542.js +0 -1
  528. package/assets/esri/core/workers/chunks/5762746cfb02a4119d82.js +0 -1
  529. package/assets/esri/core/workers/chunks/5830deda121e4c95d199.js +0 -1
  530. package/assets/esri/core/workers/chunks/58e4aecabca047f1d229.js +0 -1
  531. package/assets/esri/core/workers/chunks/5c8f423812a23c02c1fd.js +0 -1
  532. package/assets/esri/core/workers/chunks/5eb726317b6602f1e206.js +0 -1
  533. package/assets/esri/core/workers/chunks/6e2075bd4832ff0db68c.js +0 -1
  534. package/assets/esri/core/workers/chunks/7608de0d942b4c16b2f6.js +0 -1
  535. package/assets/esri/core/workers/chunks/7610dd0b46948b7bd840.js +0 -1
  536. package/assets/esri/core/workers/chunks/7737ab739eba6d81282d.js +0 -1
  537. package/assets/esri/core/workers/chunks/7be56ac60e580c806a5d.js +0 -1
  538. package/assets/esri/core/workers/chunks/7d9468e38f3bf006f86e.js +0 -1
  539. package/assets/esri/core/workers/chunks/7efc51324cfc8e08c756.js +0 -1
  540. package/assets/esri/core/workers/chunks/84dc2afd89263a311b81.js +0 -1
  541. package/assets/esri/core/workers/chunks/852649460d664b0a1a1d.js +0 -1
  542. package/assets/esri/core/workers/chunks/ab332bd411d6c7d4190c.js +0 -1
  543. package/assets/esri/core/workers/chunks/bc9b96a539f28afcb8cb.js +0 -1
  544. package/assets/esri/core/workers/chunks/be69e2dda75b079362b2.js +0 -1
  545. package/assets/esri/core/workers/chunks/bf9eba555aebca2c132b.js +0 -1
  546. package/assets/esri/core/workers/chunks/c18de0f6cbeecee4ce34.js +0 -1
  547. package/assets/esri/core/workers/chunks/c9df18e9ff7367a004b6.js +0 -1
  548. package/assets/esri/core/workers/chunks/d33d08cb6856cd2eb35e.js +0 -1
  549. package/assets/esri/core/workers/chunks/e688e6e816824b53a25e.js +0 -1
  550. package/assets/esri/core/workers/chunks/ea068c797e3e462f4518.js +0 -1
  551. package/assets/esri/core/workers/chunks/eaf1d38f09744b7e84f5.js +0 -1
  552. package/assets/esri/core/workers/chunks/eff99e45d818e58fd443.js +0 -1
  553. package/assets/esri/core/workers/chunks/f219ba010c480bb75684.js +0 -1
  554. package/assets/esri/core/workers/chunks/f60d5ce49c173d5381ec.js +0 -1
  555. package/assets/esri/core/workers/chunks/f72f4413fc7461e11a2a.js +0 -1
  556. package/assets/esri/core/workers/chunks/f834aa732c3f06525089.js +0 -1
  557. package/assets/esri/core/workers/chunks/fae14e30fa7d81bf706e.js +0 -1
  558. package/assets/esri/core/workers/chunks/fb6f1b562ee0983c8c6e.js +0 -1
  559. package/assets/esri/core/workers/chunks/fc1658eae7b312502fab.js +0 -1
  560. package/graphic/graphicOrigins.js +0 -2
  561. package/views/2d/engine/webgl/Utils.js +0 -2
  562. package/views/2d/layers/support/HighlightCounter.js +0 -2
@@ -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};
@@ -70,7 +70,11 @@ export interface ShapePreservingProjectOptions {
70
70
  minSegmentLengthInDegrees?: number;
71
71
  }
72
72
 
73
- /** @deprecated since 5.2 use [ShapePreservingProjectOptions](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/shapePreservingProjectOperator/#ShapePreservingProjectOptions) */
73
+ /**
74
+ * @deprecated
75
+ * since 5.2. Refactor using \@arcgis/codemod or manually replace usages
76
+ * with [ShapePreservingProjectOptions](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/shapePreservingProjectOperator/#ShapePreservingProjectOptions).
77
+ */
74
78
  export type Options = ShapePreservingProjectOptions;
75
79
 
76
80
  /**
@@ -83,7 +87,9 @@ export function shapePreservingProjectIsLoaded(): boolean;
83
87
  /**
84
88
  * Indicates if all dependencies of this module have been loaded.
85
89
  *
86
- * @deprecated since 5.2 use [shapePreservingProjectIsLoaded()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/shapePreservingProjectOperator/#shapePreservingProjectIsLoaded)
90
+ * @deprecated
91
+ * since 5.2. Refactor using \@arcgis/codemod or manually replace usages
92
+ * with [shapePreservingProjectIsLoaded()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/shapePreservingProjectOperator/#shapePreservingProjectIsLoaded).
87
93
  * @returns Returns `true` if this module's dependencies have been loaded.
88
94
  */
89
95
  export function isLoaded(): boolean;
@@ -99,7 +105,9 @@ export function shapePreservingProjectLoad(): Promise<void>;
99
105
  /**
100
106
  * Loads this module's dependencies. This method must be called first if `isLoaded` returns `false`.
101
107
  *
102
- * @deprecated since 5.2 use [shapePreservingProjectLoad()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/shapePreservingProjectOperator/#shapePreservingProjectLoad)
108
+ * @deprecated
109
+ * since 5.2. Refactor using \@arcgis/codemod or manually replace usages
110
+ * with [shapePreservingProjectLoad()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/shapePreservingProjectOperator/#shapePreservingProjectLoad).
103
111
  * @returns Resolves when the dependencies have been loaded.
104
112
  * @see [isLoaded()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/shapePreservingProjectOperator/#isLoaded)
105
113
  */
@@ -125,7 +133,9 @@ export function shapePreservingProjectExecute(geometry: GeometryUnion, outSpatia
125
133
  /**
126
134
  * Performs the shape preserving project operation on a single geometry.
127
135
  *
128
- * @deprecated since 5.2 use [shapePreservingProjectExecute()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/shapePreservingProjectOperator/#shapePreservingProjectExecute)
136
+ * @deprecated
137
+ * since 5.2. Refactor using \@arcgis/codemod or manually replace usages
138
+ * with [shapePreservingProjectExecute()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/shapePreservingProjectOperator/#shapePreservingProjectExecute).
129
139
  * @param geometry - The geometry to be projected.
130
140
  * @param outSpatialReference - The spatial reference to which the input geometry is projected.
131
141
  * @param options - Additional options.
@@ -154,7 +164,9 @@ export function shapePreservingProjectExecuteMany(geometries: GeometryUnion[], o
154
164
  /**
155
165
  * Performs the shape preserving project operation on multiple geometries.
156
166
  *
157
- * @deprecated since 5.2 use [shapePreservingProjectExecuteMany()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/shapePreservingProjectOperator/#shapePreservingProjectExecuteMany)
167
+ * @deprecated
168
+ * since 5.2. Refactor using \@arcgis/codemod or manually replace usages
169
+ * with [shapePreservingProjectExecuteMany()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/shapePreservingProjectOperator/#shapePreservingProjectExecuteMany).
158
170
  * @param geometries - The geometries to be projected.
159
171
  * All the geometries must have the same spatial reference.
160
172
  * @param outSpatialReference - The spatial reference to which the input geometries are projected.
@@ -173,6 +185,8 @@ export const shapePreservingProjectSupportsCurves: boolean | null | undefined;
173
185
  * Indicates if the operator supports input geometries that contain curves.
174
186
  * The value is `null` or `undefined` until the operator is loaded, then it will always be `false`.
175
187
  *
176
- * @deprecated since 5.2 use [shapePreservingProjectSupportsCurves](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/shapePreservingProjectOperator/#shapePreservingProjectSupportsCurves)
188
+ * @deprecated
189
+ * since 5.2. Refactor using \@arcgis/codemod or manually replace usages
190
+ * with [shapePreservingProjectSupportsCurves](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/shapePreservingProjectOperator/#shapePreservingProjectSupportsCurves).
177
191
  */
178
192
  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 n,supportsCurves as a,isLoaded as s}from"./gx/operatorShapePreservingProject.js";let i,c,p,g,m,P,u;function d(){return!!i&&s()}function j(){return e(r.getLogger("esri.geometry.operators.shapePreservingProjectOperator"),"isLoaded is deprecated. Use shapePreservingProjectIsLoaded instead.",{replacement:"shapePreservingProjectIsLoaded",warnOnce:!0}),d()}async function f(){if(!d()){const[e,r]=await Promise.all([import("./support/apiConverter.js"),import("./support/projectionTransformation.js"),n()]);i=e.fromGeometry,c=e.fromSpatialReference,p=e.getSpatialReference,g=e.toGeometry,m=r.createProjectionTransformation,P=a(),u=P}}function v(){return e(r.getLogger("esri.geometry.operators.shapePreservingProjectOperator"),"load is deprecated. Use shapePreservingProjectLoad instead.",{replacement:"shapePreservingProjectLoad",warnOnce:!0}),f()}function h(e,r,o){const n=p(e),a=m(c(n),c(r),o),s=o?.maxDeviationInSrTo??0,P=o?.minSegmentLengthInDegrees??0;return g(t(i(e),a,P,s),r)}function L(t,o,n){return e(r.getLogger("esri.geometry.operators.shapePreservingProjectOperator"),"execute is deprecated. Use shapePreservingProjectExecute instead.",{replacement:"shapePreservingProjectExecute",warnOnce:!0}),h(t,o,n)}function x(e,r,t){const n=e.map(i),a=p(e),s=m(c(a),c(r),t),P=t?.maxDeviationInSrTo??0;return o(n,s,t?.minSegmentLengthInDegrees??0,P).map(e=>g(e,r))}function l(t,o,n){return e(r.getLogger("esri.geometry.operators.shapePreservingProjectOperator"),"executeMany is deprecated. Use shapePreservingProjectExecuteMany instead.",{replacement:"shapePreservingProjectExecuteMany",warnOnce:!0}),x(t,o,n)}export{L as execute,l as executeMany,j as isLoaded,v as load,h as shapePreservingProjectExecute,x as shapePreservingProjectExecuteMany,d as shapePreservingProjectIsLoaded,f as shapePreservingProjectLoad,P as shapePreservingProjectSupportsCurves,u as supportsCurves};
2
+ import{execute as e,executeMany as r,load as t,supportsCurves as o,isLoaded as n}from"./gx/operatorShapePreservingProject.js";import{deprecatedOperator as a}from"./support/deprecatedOperator.js";let s,i,p,c,u,m,P;function f(){return!!s&&n()}function g(){return a("shapePreservingProjectOperator","isLoaded","shapePreservingProjectIsLoaded"),f()}async function j(){if(!f()){const[e,r]=await Promise.all([import("./support/apiConverter.js"),import("./support/projectionTransformation.js"),t()]);s=e.fromGeometry,i=e.fromSpatialReference,p=e.getSpatialReference,c=e.toGeometry,u=r.createProjectionTransformation,m=o(),P=m}}function v(){return a("shapePreservingProjectOperator","load","shapePreservingProjectLoad"),j()}function d(r,t,o){const n=p(r),a=u(i(n),i(t),o),m=o?.maxDeviationInSrTo??0,P=o?.minSegmentLengthInDegrees??0;return c(e(s(r),a,P,m),t)}function h(e,r,t){return a("shapePreservingProjectOperator","execute","shapePreservingProjectExecute"),d(e,r,t)}function x(e,t,o){const n=e.map(s),a=p(e),m=u(i(a),i(t),o),P=o?.maxDeviationInSrTo??0;return r(n,m,o?.minSegmentLengthInDegrees??0,P).map(e=>c(e,t))}function l(e,r,t){return a("shapePreservingProjectOperator","executeMany","shapePreservingProjectExecuteMany"),x(e,r,t)}export{h as execute,l as executeMany,g as isLoaded,v as load,d as shapePreservingProjectExecute,x as shapePreservingProjectExecuteMany,f as shapePreservingProjectIsLoaded,j as shapePreservingProjectLoad,m as shapePreservingProjectSupportsCurves,P as supportsCurves};
@@ -111,7 +111,9 @@ export function simplifyOGCIsSimple(geometry: GeometryUnion): boolean;
111
111
  * If it is null, then a small tolerance value is calculated from the geometry coordinates using double-precision.
112
112
  * Resolution is added to take into account possible rounding errors.
113
113
  *
114
- * @deprecated since 5.2 use [simplifyOGCExecute()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/simplifyOGCOperator/#simplifyOGCExecute)
114
+ * @deprecated
115
+ * since 5.2. Refactor using \@arcgis/codemod or manually replace usages
116
+ * with [simplifyOGCExecute()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/simplifyOGCOperator/#simplifyOGCExecute).
115
117
  * @param geometry - The input geometry.
116
118
  * @returns Returns true if the geometry is simple, otherwise returns false.
117
119
  * @example
@@ -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 t,execute as i,executeMany as s,isSimple as o}from"./gx/operatorSimplifyOGC.js";import{getSpatialReference as n,toGeometry as p,fromSpatialReference as a,fromGeometry as m}from"./support/apiConverter.js";function c(e){const r=n(e);return p(i(m(e),a(r),!1),r)}function u(t){return e(r.getLogger("esri.geometry.operators.simplifyOGC"),"execute is deprecated. Use simplifyOGCExecute instead.",{replacement:"simplifyOGCExecute",warnOnce:!0}),c(t)}function l(e){const r=e.map(m),t=n(e);return s(r,a(t),!1).map(e=>p(e,t))}function f(t){return e(r.getLogger("esri.geometry.operators.simplifyOGCOperator"),"executeMany is deprecated. Use simplifyOGCExecuteMany instead.",{replacement:"simplifyOGCExecuteMany",warnOnce:!0}),l(t)}function y(e,r){return o(m(e),a(n(e)),null!=r,r??null)}function g(t,i){return e(r.getLogger("esri.geometry.operators.simplifyOperatorOGC"),"isSimple is deprecated. Use simplifyOGCIsSimple instead.",{replacement:"simplifyOGCIsSimple",warnOnce:!0}),i?y(t,i):y(t)}const O=t(),C=Boolean(O);export{u as execute,f as executeMany,g as isSimple,c as simplifyOGCExecute,l as simplifyOGCExecuteMany,y as simplifyOGCIsSimple,O as simplifyOGCSupportsCurves,C as supportsCurves};
2
+ import{supportsCurves as e,execute as r,executeMany as t,isSimple as i}from"./gx/operatorSimplifyOGC.js";import{getSpatialReference as n,toGeometry as p,fromSpatialReference as o,fromGeometry as s}from"./support/apiConverter.js";import{deprecatedOperator as u}from"./support/deprecatedOperator.js";function m(e){const t=n(e);return p(r(s(e),o(t),!1),t)}function a(e){return u("simplifyOGC","execute","simplifyOGCExecute"),m(e)}function c(e){const r=e.map(s),i=n(e);return t(r,o(i),!1).map(e=>p(e,i))}function f(e){return u("simplifyOGCOperator","executeMany","simplifyOGCExecuteMany"),c(e)}function l(e,r){return i(s(e),o(n(e)),null!=r,r??null)}function y(e,r){return u("simplifyOperatorOGC","isSimple","simplifyOGCIsSimple"),r?l(e,r):l(e)}const O=e(),C=Boolean(O);export{a as execute,f as executeMany,y as isSimple,m as simplifyOGCExecute,c as simplifyOGCExecuteMany,l as simplifyOGCIsSimple,O as simplifyOGCSupportsCurves,C as supportsCurves};
@@ -24,7 +24,9 @@ export function simplifyExecute(geometry: GeometryUnion): GeometryWithoutMeshUni
24
24
  /**
25
25
  * Performs the simplify operation on a single geometry.
26
26
  *
27
- * @deprecated since 5.2 use [simplifyExecute()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/simplifyOperator/#simplifyExecute)
27
+ * @deprecated
28
+ * since 5.2. Refactor using \@arcgis/codemod or manually replace usages
29
+ * with [simplifyExecute()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/simplifyOperator/#simplifyExecute).
28
30
  * @param geometry - The geometry to be simplified.
29
31
  * @returns Returns the simplified geometry or null.
30
32
  * @example
@@ -46,7 +48,9 @@ export function simplifyExecuteMany(geometries: GeometryUnion[]): (GeometryWitho
46
48
  /**
47
49
  * Performs the simplify operation on the geometry set.
48
50
  *
49
- * @deprecated since 5.2 use [simplifyExecuteMany()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/simplifyOperator/#simplifyExecuteMany)
51
+ * @deprecated
52
+ * since 5.2. Refactor using \@arcgis/codemod or manually replace usages
53
+ * with [simplifyExecuteMany()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/simplifyOperator/#simplifyExecuteMany).
50
54
  * @param geometries - The array of geometries to be simplified,
51
55
  * All the geometries must have the same spatial reference.
52
56
  * @returns Returns an array whose elements may either be simplified geometries or null.
@@ -116,7 +120,9 @@ export function simplifyIsSimple(geometry: GeometryUnion): boolean;
116
120
  *
117
121
  * The tolerance value is obtained from the geometry's spatial reference. If it is null, then a small tolerance value is calculated from the geometry coordinates using double-precision.
118
122
  *
119
- * @deprecated since 5.2 use [simplifyIsSimple()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/simplifyOperator/#simplifyIsSimple)
123
+ * @deprecated
124
+ * since 5.2. Refactor using \@arcgis/codemod or manually replace usages
125
+ * with [simplifyIsSimple()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/simplifyOperator/#simplifyIsSimple).
120
126
  * @param geometry - The input geometry.
121
127
  * @returns Returns true if the geometry is simple, otherwise returns false.
122
128
  * @example
@@ -136,6 +142,8 @@ export const simplifySupportsCurves: boolean;
136
142
  * Indicates if the operator supports input geometries that contain curves.
137
143
  * The value will always be `true`.
138
144
  *
139
- * @deprecated since 5.2 use [simplifySupportsCurves](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/simplifyOperator/#simplifySupportsCurves)
145
+ * @deprecated
146
+ * since 5.2. Refactor using \@arcgis/codemod or manually replace usages
147
+ * with [simplifySupportsCurves](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/simplifyOperator/#simplifySupportsCurves).
140
148
  */
141
149
  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{isSimpleAsFeature as t,execute as i,supportsCurves as o,executeMany as s}from"./gx/operatorSimplify.js";import{fromSpatialReference as n,getSpatialReference as p,fromGeometry as a,toGeometry as c}from"./support/apiConverter.js";function m(e){const r=p(e);return c(i(a(e),n(r),!1),r)}function u(t){return e(r.getLogger("esri.geometry.operators.simplifyOperator"),"execute is deprecated. Use simplifyExecute instead.",{replacement:"simplifyExecute",warnOnce:!0}),m(t)}function f(e){const r=e.map(a),t=p(e);return s(r,n(t),!1).map(e=>c(e,t))}function l(t){return e(r.getLogger("esri.geometry.operators.simplifyOperator"),"executeMany is deprecated. Use simplifyExecuteMany instead.",{replacement:"simplifyExecuteMany",warnOnce:!0}),f(t)}function y(e){return t(a(e),n(p(e)),!1)}function g(t){return e(r.getLogger("esri.geometry.operators.simplifyOperator"),"isSimple is deprecated. Use simplifyIsSimple instead.",{replacement:"simplifyIsSimple",warnOnce:!0}),y(t)}const d=o(),x=Boolean(d);export{u as execute,l as executeMany,g as isSimple,m as simplifyExecute,f as simplifyExecuteMany,y as simplifyIsSimple,d as simplifySupportsCurves,x as supportsCurves};
2
+ import{isSimpleAsFeature as e,execute as r,supportsCurves as t,executeMany as o}from"./gx/operatorSimplify.js";import{fromSpatialReference as p,getSpatialReference as i,fromGeometry as n,toGeometry as s}from"./support/apiConverter.js";import{deprecatedOperator as u}from"./support/deprecatedOperator.js";function m(e){const t=i(e);return s(r(n(e),p(t),!1),t)}function a(e){return u("simplifyOperator","execute","simplifyExecute"),m(e)}function c(e){const r=e.map(n),t=i(e);return o(r,p(t),!1).map(e=>s(e,t))}function f(e){return u("simplifyOperator","executeMany","simplifyExecuteMany"),c(e)}function l(r){return e(n(r),p(i(r)),!1)}function y(e){return u("simplifyOperator","isSimple","simplifyIsSimple"),l(e)}const x=t(),O=Boolean(x);export{a as execute,f as executeMany,y as isSimple,m as simplifyExecute,c as simplifyExecuteMany,l as simplifyIsSimple,x as simplifySupportsCurves,O as supportsCurves};
@@ -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/operatorSinglePartToMultiPart.js";import{fromGeometry as n,getSpatialReference as s,toGeometry as i}from"./support/apiConverter.js";function p(e){const t=e.map(n),o=s(e);return a(t).map(r=>i(r,o)).filter(r)}function c(r){return e(t.getLogger("esri.geometry.operators.singlePartToMultiPartOperator"),"executeMany is deprecated. Use singlePartToMultiPartExecuteMany instead.",{replacement:"singlePartToMultiPartExecuteMany",warnOnce:!0}),p(r)}const u=o(),m=Boolean(u);export{c as executeMany,p as singlePartToMultiPartExecuteMany,u as singlePartToMultiPartSupportsCurves,m as supportsCurves};
2
+ import{isSome as r}from"../../core/arrayUtils.js";import{supportsCurves as t,executeMany as o}from"./gx/operatorSinglePartToMultiPart.js";import{fromGeometry as e,getSpatialReference as a,toGeometry as p}from"./support/apiConverter.js";import{deprecatedOperator as n}from"./support/deprecatedOperator.js";function s(t){const n=t.map(e),s=a(t);return o(n).map(r=>p(r,s)).filter(r)}function i(r){return n("singlePartToMultiPartOperator","executeMany","singlePartToMultiPartExecuteMany"),s(r)}const u=t(),m=Boolean(u);export{i as executeMany,s as singlePartToMultiPartExecuteMany,u as singlePartToMultiPartSupportsCurves,m as supportsCurves};
@@ -0,0 +1,2 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
+ import{deprecated as e}from"../../../core/deprecate.js";import r from"../../../core/Logger.js";function o(o,t,a){e(r.getLogger(`esri.geometry.operators.${o}`),`${t} is deprecated. Refactor using @arcgis/codemod or manually replace usages with ${a} instead.`,{replacement:a,warnOnce:!0})}export{o as deprecatedOperator};
@@ -27,7 +27,9 @@ export function symmetricDifferenceExecute(leftGeometry: GeometryUnion, rightGeo
27
27
  /**
28
28
  * Performs the symmetric difference (XOR) operation on two geometries.
29
29
  *
30
- * @deprecated since 5.2 use [symmetricDifferenceExecute()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/symmetricDifferenceOperator/#symmetricDifferenceExecute)
30
+ * @deprecated
31
+ * since 5.2. Refactor using \@arcgis/codemod or manually replace usages
32
+ * with [symmetricDifferenceExecute()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/symmetricDifferenceOperator/#symmetricDifferenceExecute).
31
33
  * @param leftGeometry - The first geometry to be XOR'd.
32
34
  * @param rightGeometry - The second geometry to be XOR'd.
33
35
  * @returns Returns the symmetric difference of the two geometries. The result has the higher of dimensions of the two geometries.
@@ -49,7 +51,9 @@ export function symmetricDifferenceExecuteMany(inputGeometries: GeometryUnion[],
49
51
  /**
50
52
  * Performs the symmetric difference (XOR) operation on every geometry in `inputGeometries` with `rightGeometry`.
51
53
  *
52
- * @deprecated since 5.2 use [symmetricDifferenceExecuteMany()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/symmetricDifferenceOperator/#symmetricDifferenceExecuteMany)
54
+ * @deprecated
55
+ * since 5.2. Refactor using \@arcgis/codemod or manually replace usages
56
+ * with [symmetricDifferenceExecuteMany()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/symmetricDifferenceOperator/#symmetricDifferenceExecuteMany).
53
57
  * @param inputGeometries - The set of geometries to be XOR'd by the `rightGeometry`.
54
58
  * @param rightGeometry - The geometry being XOR'd with the `inputGeometries`.
55
59
  * @returns Returns an array of the result geometries.
@@ -66,6 +70,8 @@ export const symmetricDifferenceSupportsCurves: boolean;
66
70
  * Indicates if the operator supports input geometries that contain curves.
67
71
  * The value will always be `true`.
68
72
  *
69
- * @deprecated since 5.2 use [symmetricDifferenceSupportsCurves](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/symmetricDifferenceOperator/#symmetricDifferenceSupportsCurves)
73
+ * @deprecated
74
+ * since 5.2. Refactor using \@arcgis/codemod or manually replace usages
75
+ * with [symmetricDifferenceSupportsCurves](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/symmetricDifferenceOperator/#symmetricDifferenceSupportsCurves).
70
76
  */
71
77
  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 e}from"../../core/arrayUtils.js";import{deprecatedFunction as r}from"../../core/deprecate.js";import t from"../../core/Logger.js";import{supportsCurves as c,execute as o,executeMany as n}from"./gx/operatorSymmetricDifference.js";import{getSpatialReference as i,toGeometry as s,fromSpatialReference as m,fromGeometry as a}from"./support/apiConverter.js";function f(e,r){const t=i(e);return s(o(a(e),a(r),m(t)),t)}function p(e,c){return r(t.getLogger("esri.geometry.operators.symmetricDifferenceOperator"),"execute is deprecated. Use symmetricDifferenceExecute instead.",{replacement:"symmetricDifferenceExecute",warnOnce:!0}),f(e,c)}function u(r,t){const c=r.map(a),o=i(r);return n(c,a(t),m(o)).map(e=>s(e,o)).filter(e)}function y(e,c){return r(t.getLogger("esri.geometry.operators.symmetricDifferenceOperator"),"executeMany is deprecated. Use symmetricDifferenceExecuteMany instead.",{replacement:"symmetricDifferenceExecuteMany",warnOnce:!0}),u(e,c)}const g=c(),x=Boolean(g);export{p as execute,y as executeMany,x as supportsCurves,f as symmetricDifferenceExecute,u as symmetricDifferenceExecuteMany,g as symmetricDifferenceSupportsCurves};
2
+ import{isSome as e}from"../../core/arrayUtils.js";import{supportsCurves as r,execute as t,executeMany as o}from"./gx/operatorSymmetricDifference.js";import{getSpatialReference as c,toGeometry as n,fromSpatialReference as i,fromGeometry as m}from"./support/apiConverter.js";import{deprecatedOperator as s}from"./support/deprecatedOperator.js";function f(e,r){const o=c(e);return n(t(m(e),m(r),i(o)),o)}function p(e,r){return s("symmetricDifferenceOperator","execute","symmetricDifferenceExecute"),f(e,r)}function u(r,t){const s=r.map(m),f=c(r);return o(s,m(t),i(f)).map(e=>n(e,f)).filter(e)}function a(e,r){return s("symmetricDifferenceOperator","executeMany","symmetricDifferenceExecuteMany"),u(e,r)}const y=r(),x=Boolean(y);export{p as execute,a as executeMany,x as supportsCurves,f as symmetricDifferenceExecute,u as symmetricDifferenceExecuteMany,y as symmetricDifferenceSupportsCurves};
@@ -18,7 +18,9 @@ export function touchesAccelerateGeometry(geometry: GeometryUnion): boolean;
18
18
  /**
19
19
  * Accelerate a geometry. This method prepares the geometry for faster touches 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 [touchesAccelerateGeometry()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/touchesOperator/#touchesAccelerateGeometry)
21
+ * @deprecated
22
+ * since 5.2. Refactor using \@arcgis/codemod or manually replace usages
23
+ * with [touchesAccelerateGeometry()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/touchesOperator/#touchesAccelerateGeometry).
22
24
  * @param geometry - The geometry to accelerate.
23
25
  * @returns Returns `true` if the geometry was successfully accelerated.
24
26
  */
@@ -39,7 +41,9 @@ export function touchesExecute(geometry1: GeometryUnion, geometry2: GeometryUnio
39
41
  /**
40
42
  * Perform a touches operation on two geometries.
41
43
  *
42
- * @deprecated since 5.2 use [touchesExecute()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/touchesOperator/#touchesExecute)
44
+ * @deprecated
45
+ * since 5.2. Refactor using \@arcgis/codemod or manually replace usages
46
+ * with [touchesExecute()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/touchesOperator/#touchesExecute).
43
47
  * @param geometry1 - The base geometry that is tested for the "touches" relationship with `geometry2`.
44
48
  * @param geometry2 - The comparison geometry that is tested for the "touches" relationship with `geometry1`.
45
49
  * @returns Returns `true` if the two geometries touch.
@@ -59,6 +63,8 @@ export const touchesSupportsCurves: boolean;
59
63
  * Indicates if the operator supports input geometries that contain curves.
60
64
  * The value will always be `true`.
61
65
  *
62
- * @deprecated since 5.2 use [touchesSupportsCurves](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/touchesOperator/#touchesSupportsCurves)
66
+ * @deprecated
67
+ * since 5.2. Refactor using \@arcgis/codemod or manually replace usages
68
+ * with [touchesSupportsCurves](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/touchesOperator/#touchesSupportsCurves).
63
69
  */
64
70
  export const supportsCurves: ReturnType<typeof Boolean>;
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import{OperatorTouches as e}from"../../chunks/OperatorTouches.js";import{deprecatedFunction as r}from"../../core/deprecate.js";import t from"../../core/Logger.js";import{getSpatialReference as o,fromGeometry as c,fromSpatialReference as s}from"./support/apiConverter.js";const n=new e;function a(e){const r=o(e);return n.accelerateGeometry(c(e),s(r),1)}function u(e){return r(t.getLogger("esri.geometry.operators.touchesOperator"),"accelerateGeometry is deprecated. Use touchesAccelerateGeometry instead.",{replacement:"touchesAccelerateGeometry",warnOnce:!0}),a(e)}function p(e,r){return n.execute(c(e),c(r),s(e.spatialReference),null)}function i(e,o){return r(t.getLogger("esri.geometry.operators.touchesOperator"),"execute is deprecated. Use touchesExecute instead.",{replacement:"touchesExecute",warnOnce:!0}),p(e,o)}const m=n.supportsCurves(),g=Boolean(m);export{u as accelerateGeometry,i as execute,g as supportsCurves,a as touchesAccelerateGeometry,p as touchesExecute,m as touchesSupportsCurves};
2
+ import{OperatorTouches as e}from"../../chunks/OperatorTouches.js";import{getSpatialReference as t,fromGeometry as r,fromSpatialReference as o}from"./support/apiConverter.js";import{deprecatedOperator as c}from"./support/deprecatedOperator.js";const u=new e;function n(e){const c=t(e);return u.accelerateGeometry(r(e),o(c),1)}function s(e){return c("touchesOperator","accelerateGeometry","touchesAccelerateGeometry"),n(e)}function p(e,t){return u.execute(r(e),r(t),o(e.spatialReference),null)}function a(e,t){return c("touchesOperator","execute","touchesExecute"),p(e,t)}const i=u.supportsCurves(),m=Boolean(i);export{s as accelerateGeometry,a as execute,m as supportsCurves,n as touchesAccelerateGeometry,p as touchesExecute,i as touchesSupportsCurves};
@@ -22,7 +22,9 @@ export function unionExecute(geometry1: GeometryUnion, geometry2: GeometryUnion)
22
22
  /**
23
23
  * Perform a topological union operation on two geometries.
24
24
  *
25
- * @deprecated since 5.2 use [unionExecute()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/unionOperator/#unionExecute)
25
+ * @deprecated
26
+ * since 5.2. Refactor using \@arcgis/codemod or manually replace usages
27
+ * with [unionExecute()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/unionOperator/#unionExecute).
26
28
  * @param geometry1 - The first geometry to union with.
27
29
  * @param geometry2 - The second geometry to union with.
28
30
  * @returns Returns the union of the two geometries as a geometry or null.
@@ -44,7 +46,9 @@ export function unionExecuteMany(geometries: GeometryUnion[]): GeometryWithoutMe
44
46
  /**
45
47
  * Perform a topological union operation on a geometry set.
46
48
  *
47
- * @deprecated since 5.2 use [unionExecuteMany()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/unionOperator/#unionExecuteMany)
49
+ * @deprecated
50
+ * since 5.2. Refactor using \@arcgis/codemod or manually replace usages
51
+ * with [unionExecuteMany()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/unionOperator/#unionExecuteMany).
48
52
  * @param geometries - The array of geometries to union.
49
53
  * All the geometries must have the same spatial reference.
50
54
  * @returns Returns the union of `geometries` as a geometry or null.
@@ -61,6 +65,8 @@ export const unionSupportsCurves: 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 [unionSupportsCurves](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/unionOperator/#unionSupportsCurves)
68
+ * @deprecated
69
+ * since 5.2. Refactor using \@arcgis/codemod or manually replace usages
70
+ * with [unionSupportsCurves](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/unionOperator/#unionSupportsCurves).
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{deprecatedFunction as e}from"../../core/deprecate.js";import r from"../../core/Logger.js";import{supportsCurves as n,executeMany as o,execute as t}from"./gx/operatorUnion.js";import{fromGeometry as u,getSpatialReference as a,toGeometry as c,fromSpatialReference as s}from"./support/apiConverter.js";function i(e,r){const n=a(e);return c(t(u(e),u(r),s(n)),n)}function p(n,o){return e(r.getLogger("esri.geometry.operators.unionOperator"),"execute is deprecated. Use unionExecute instead.",{replacement:"unionExecute",warnOnce:!0}),i(n,o)}function m(e){const r=e.map(u),n=a(e);return c(o(r,s(n)),n)}function g(n){return e(r.getLogger("esri.geometry.operators.unionOperator"),"executeMany is deprecated. Use unionExecuteMany instead.",{replacement:"unionExecuteMany",warnOnce:!0}),m(n)}const x=n(),f=Boolean(x);export{p as execute,g as executeMany,f as supportsCurves,i as unionExecute,m as unionExecuteMany,x as unionSupportsCurves};
2
+ import{supportsCurves as e,executeMany as n,execute as o}from"./gx/operatorUnion.js";import{fromGeometry as r,getSpatialReference as t,toGeometry as u,fromSpatialReference as p}from"./support/apiConverter.js";import{deprecatedOperator as a}from"./support/deprecatedOperator.js";function c(e,n){const a=t(e);return u(o(r(e),r(n),p(a)),a)}function s(e,n){return a("unionOperator","execute","unionExecute"),c(e,n)}function i(e){const o=e.map(r),a=t(e);return u(n(o,p(a)),a)}function x(e){return a("unionOperator","executeMany","unionExecuteMany"),i(e)}const f=e(),m=Boolean(f);export{s as execute,x as executeMany,m as supportsCurves,c as unionExecute,i as unionExecuteMany,f as unionSupportsCurves};
@@ -20,7 +20,9 @@ export function withinAccelerateGeometry(geometry: GeometryUnion): boolean;
20
20
  /**
21
21
  * Accelerate a geometry. This method prepares the geometry for faster within 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.
22
22
  *
23
- * @deprecated since 5.2 use [withinAccelerateGeometry()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/withinOperator/#withinAccelerateGeometry)
23
+ * @deprecated
24
+ * since 5.2. Refactor using \@arcgis/codemod or manually replace usages
25
+ * with [withinAccelerateGeometry()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/withinOperator/#withinAccelerateGeometry).
24
26
  * @param geometry - The geometry to accelerate.
25
27
  * @returns Returns `true` if the geometry was successfully accelerated.
26
28
  */
@@ -41,7 +43,9 @@ export function withinExecute(inner: GeometryUnion, outer: GeometryUnion): boole
41
43
  /**
42
44
  * Perform a within operation on two geometries.
43
45
  *
44
- * @deprecated since 5.2 use [withinExecute()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/withinOperator/#withinExecute)
46
+ * @deprecated
47
+ * since 5.2. Refactor using \@arcgis/codemod or manually replace usages
48
+ * with [withinExecute()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/withinOperator/#withinExecute).
45
49
  * @param inner - The base geometry that is tested for the "within" relationship with `outer`.
46
50
  * @param outer - The comparison geometry that is tested for the "contains" relationship with `inner`.
47
51
  * @returns Returns `true` if `inner` is within `outer`.
@@ -61,6 +65,8 @@ export const withinSupportsCurves: 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 [withinSupportsCurves](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/withinOperator/#withinSupportsCurves)
68
+ * @deprecated
69
+ * since 5.2. Refactor using \@arcgis/codemod or manually replace usages
70
+ * with [withinSupportsCurves](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/withinOperator/#withinSupportsCurves).
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{OperatorWithin as e}from"../../chunks/OperatorWithin.js";import{deprecatedFunction as r}from"../../core/deprecate.js";import t from"../../core/Logger.js";import{getSpatialReference as o,fromGeometry as n,fromSpatialReference as c}from"./support/apiConverter.js";const i=new e;function a(e){const r=o(e);return i.accelerateGeometry(n(e),c(r),1)}function s(e){return r(t.getLogger("esri.geometry.operators.withinOperator"),"accelerateGeometry is deprecated. Use withinAccelerateGeometry instead.",{replacement:"withinAccelerateGeometry",warnOnce:!0}),a(e)}function p(e,r){return i.execute(n(e),n(r),c(e.spatialReference),null)}function u(e,o){return r(t.getLogger("esri.geometry.operators.withinOperator"),"execute is deprecated. Use withinExecute instead.",{replacement:"withinExecute",warnOnce:!0}),p(e,o)}const m=i.supportsCurves(),g=Boolean(m);export{s as accelerateGeometry,u as execute,g as supportsCurves,a as withinAccelerateGeometry,p as withinExecute,m as withinSupportsCurves};
2
+ import{OperatorWithin as e}from"../../chunks/OperatorWithin.js";import{getSpatialReference as t,fromGeometry as r,fromSpatialReference as o}from"./support/apiConverter.js";import{deprecatedOperator as n}from"./support/deprecatedOperator.js";const c=new e;function i(e){const n=t(e);return c.accelerateGeometry(r(e),o(n),1)}function p(e){return n("withinOperator","accelerateGeometry","withinAccelerateGeometry"),i(e)}function u(e,t){return c.execute(r(e),r(t),o(e.spatialReference),null)}function a(e,t){return n("withinOperator","execute","withinExecute"),u(e,t)}const s=c.supportsCurves(),m=Boolean(s);export{p as accelerateGeometry,a as execute,m as supportsCurves,i as withinAccelerateGeometry,u as withinExecute,s as withinSupportsCurves};
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import{extentContainsCoords2D as n,extentContainsPoint as t,ringsContainsCoords as e,extentContainsCoords3D as r}from"./contains.js";function o(n,e){return t(n,e)}function i(n,t){const e=n.hasZ&&t.hasZ;let r,o,i;if(n.xmin<=t.xmin){if(r=t.xmin,n.xmax<r)return!1}else if(r=n.xmin,t.xmax<r)return!1;if(n.ymin<=t.ymin){if(o=t.ymin,n.ymax<o)return!1}else if(o=n.ymin,t.ymax<o)return!1;if(e&&t.hasZ)if(n.zmin<=t.zmin){if(i=t.zmin,n.zmax<i)return!1}else if(i=n.zmin,t.zmax<i)return!1;return!0}function f(t,e){const{points:o,hasZ:i}=e,f=i?r:n;for(const n of o)if(f(t,n))return!0;return!1}const s=[0,0],c=[0,0],u=[0,0],a=[0,0],m=[s,c,u,a],l=[[u,s],[s,c],[c,a],[a,u]];function x(n,t){return h(n,t.rings)}function h(t,r){s[0]=t.xmin,s[1]=t.ymax,c[0]=t.xmax,c[1]=t.ymax,u[0]=t.xmin,u[1]=t.ymin,a[0]=t.xmax,a[1]=t.ymin;for(const n of m)if(e(r,n))return!0;for(const e of r){if(!e.length)continue;let r=e[0];if(n(t,r))return!0;for(let o=1;o<e.length;o++){const i=e[o];if(n(t,i)||g(r,i,l))return!0;r=i}}return!1}function y(t,e){s[0]=t.xmin,s[1]=t.ymax,c[0]=t.xmax,c[1]=t.ymax,u[0]=t.xmin,u[1]=t.ymin,a[0]=t.xmax,a[1]=t.ymin;const r=e.paths;for(const o of r){if(!r.length)continue;let e=o[0];if(n(t,e))return!0;for(let r=1;r<o.length;r++){const i=o[r];if(n(t,i)||g(e,i,l))return!0;e=i}}return!1}function g(n,t,e){for(let r=0;r<e.length;r++)if(p(n,t,e[r][0],e[r][1]))return!0;return!1}function p(n,t,e,r,o){const[i,f]=n,[s,c]=t,[u,a]=e,[m,l]=r,x=m-u,h=i-u,y=s-i,g=l-a,p=f-a,M=c-f,z=g*y-x*M;if(0===z)return!1;const G=(x*p-g*h)/z,b=(y*p-M*h)/z;return G>=0&&G<=1&&b>=0&&b<=1&&(o&&(o[0]=i+G*(s-i),o[1]=f+G*(c-f)),!0)}function M(n,t,e){for(const r of t){const t=r.length;for(let o=1;o<t;o++){const t=r[o-1],i=r[o];let f=(i[0]-t[0])*(i[0]-t[0])+(i[1]-t[1])*(i[1]-t[1]);if(0===f)continue;f=Math.sqrt(f);const s=((i[0]-t[0])*(n[1]-t[1])-(i[1]-t[1])*(n[0]-t[0]))/f;if(Math.abs(s)<e){const r=((i[0]-t[0])*(n[0]-t[0])+(i[1]-t[1])*(n[1]-t[1]))/f;if(r>-e&&r<f+e)return!0}}}return!1}function z(n){const t=1e-6,e=n[0],r=n[n.length-1];return Math.abs(e[0]-r[0])<=t&&Math.abs(e[1]-r[1])<=t}function G(n,t){let e=0;for(const r of t){const t=r.length;for(let o=1;o<t;o++){const t=r[o-1],i=r[o];if(t[1]>n[1]==i[1]>n[1])continue;(i[0]-t[0])*(n[1]-t[1])-(i[1]-t[1])*(n[0]-t[0])>0?e++:e--}}return 0!==e}function b(n,t,e){const r=1e-9,o=(e[0]-t[0])*(n[1]-t[1])-(e[1]-t[1])*(n[0]-t[0]);return Math.abs(o)<=r&&n[0]>=Math.min(t[0],e[0])-r&&n[0]<=Math.max(t[0],e[0])+r&&n[1]>=Math.min(t[1],e[1])-r&&n[1]<=Math.max(t[1],e[1])+r}function P(n,t){for(let o=0;o<4;o++){const e=n[o],r=n[(o+1)%4];for(let n=0;n<4;n++){const o=t[n],i=t[(n+1)%4];if(p(e,r,o,i)||b(e,o,i)||b(r,o,i)||b(o,e,r)||b(i,e,r))return!0}}const e=[...n,n[0]],r=[...t,t[0]];return G(n[0],[r])||G(t[0],[e])}function Z(n,t){const e=n.length>1&&!z(n)?[...n,n[0]]:n;for(const r of t){if(r.some(n=>G(n,[e])))return!0;if(z(r))for(const n of e)if(G(n,t))return!0;for(let n=1;n<r.length;n++){const t=r[n-1],o=r[n];for(let n=0;n<e.length;n++){if(p(t,o,e[n],e[(n+1)%e.length]))return!0}}}return!1}function j(n){switch(n){case"esriGeometryEnvelope":case"extent":return i;case"esriGeometryMultipoint":case"multipoint":return f;case"esriGeometryPoint":case"point":return o;case"esriGeometryMultiPatch":case"multipatch":case"esriGeometryPolygon":case"polygon":return x;case"esriGeometryPolyline":case"polyline":return y}}export{i as extentIntersectsExtent,f as extentIntersectsMultipoint,o as extentIntersectsPoint,x as extentIntersectsPolygon,y as extentIntersectsPolyline,j as getFeatureExtentIntersector,M as nearLine,G as pointInPolygon,P as rectsIntersect,p as segmentIntersects,Z as targetIntersectsPolygon};
2
+ import{extentContainsCoords2D as n,extentContainsPoint as t,ringsContainsCoords as e,extentContainsCoords3D as r}from"./contains.js";function o(n,e){return t(n,e)}function i(n,t){const e=n.hasZ&&t.hasZ;let r,o,i;if(n.xmin<=t.xmin){if(r=t.xmin,n.xmax<r)return!1}else if(r=n.xmin,t.xmax<r)return!1;if(n.ymin<=t.ymin){if(o=t.ymin,n.ymax<o)return!1}else if(o=n.ymin,t.ymax<o)return!1;if(e&&t.hasZ)if(n.zmin<=t.zmin){if(i=t.zmin,n.zmax<i)return!1}else if(i=n.zmin,t.zmax<i)return!1;return!0}function f(t,e){const{points:o,hasZ:i}=e,f=i?r:n;for(const n of o)if(f(t,n))return!0;return!1}const s=[0,0],c=[0,0],u=[0,0],a=[0,0],m=[s,c,u,a],l=[[u,s],[s,c],[c,a],[a,u]];function x(n,t){return h(n,t.rings)}function h(t,r){s[0]=t.xmin,s[1]=t.ymax,c[0]=t.xmax,c[1]=t.ymax,u[0]=t.xmin,u[1]=t.ymin,a[0]=t.xmax,a[1]=t.ymin;for(const n of m)if(e(r,n))return!0;for(const e of r){if(!e.length)continue;let r=e[0];if(n(t,r))return!0;for(let o=1;o<e.length;o++){const i=e[o];if(n(t,i)||g(r,i,l))return!0;r=i}}return!1}function y(t,e){s[0]=t.xmin,s[1]=t.ymax,c[0]=t.xmax,c[1]=t.ymax,u[0]=t.xmin,u[1]=t.ymin,a[0]=t.xmax,a[1]=t.ymin;const r=e.paths;for(const o of r){if(!r.length)continue;let e=o[0];if(n(t,e))return!0;for(let r=1;r<o.length;r++){const i=o[r];if(n(t,i)||g(e,i,l))return!0;e=i}}return!1}function g(n,t,e){for(let r=0;r<e.length;r++)if(p(n,t,e[r][0],e[r][1]))return!0;return!1}function p(n,t,e,r,o){const[i,f]=n,[s,c]=t,[u,a]=e,[m,l]=r,x=m-u,h=i-u,y=s-i,g=l-a,p=f-a,M=c-f,z=g*y-x*M;if(0===z)return!1;const G=(x*p-g*h)/z,b=(y*p-M*h)/z;return G>=0&&G<=1&&b>=0&&b<=1&&(o&&(o[0]=i+G*(s-i),o[1]=f+G*(c-f)),!0)}function M(n,t,e){for(const r of t){const t=r.length;for(let o=1;o<t;o++){const t=r[o-1],i=r[o];let f=(i[0]-t[0])*(i[0]-t[0])+(i[1]-t[1])*(i[1]-t[1]);if(0===f)continue;f=Math.sqrt(f);const s=((i[0]-t[0])*(n[1]-t[1])-(i[1]-t[1])*(n[0]-t[0]))/f;if(Math.abs(s)<e){const r=((i[0]-t[0])*(n[0]-t[0])+(i[1]-t[1])*(n[1]-t[1]))/f;if(r>-e&&r<f+e)return!0}}}return!1}function z(n){const t=1e-6,e=n[0],r=n[n.length-1];return Math.abs(e[0]-r[0])<=t&&Math.abs(e[1]-r[1])<=t}function G(n,t,e){const[r,o]=n,[i,f]=t,[s,c]=e;if(f>o&&c>o||f<=o&&c<=o)return!1;return i+(o-f)*(s-i)/(c-f)>r}function b(n,t){let e=0;for(const r of t){const t=r.length;for(let o=1;o<t;o++){const t=r[o-1],i=r[o];G([n[0],n[1]],[t[0],t[1]],[i[0],i[1]])&&e++}}return e%2==1}function P(n,t,e){const r=1e-9,o=(e[0]-t[0])*(n[1]-t[1])-(e[1]-t[1])*(n[0]-t[0]);return Math.abs(o)<=r&&n[0]>=Math.min(t[0],e[0])-r&&n[0]<=Math.max(t[0],e[0])+r&&n[1]>=Math.min(t[1],e[1])-r&&n[1]<=Math.max(t[1],e[1])+r}function Z(n,t){for(let o=0;o<4;o++){const e=n[o],r=n[(o+1)%4];for(let n=0;n<4;n++){const o=t[n],i=t[(n+1)%4];if(p(e,r,o,i)||P(e,o,i)||P(r,o,i)||P(o,e,r)||P(i,e,r))return!0}}const e=[...n,n[0]],r=[...t,t[0]];return b(n[0],[r])||b(t[0],[e])}function j(n,t){const e=n.length>1&&!z(n)?[...n,n[0]]:n;for(const r of t){if(r.some(n=>b(n,[e])))return!0;if(z(r))for(const n of e)if(b(n,t))return!0;for(let n=1;n<r.length;n++){const t=r[n-1],o=r[n];for(let n=0;n<e.length;n++){if(p(t,o,e[n],e[(n+1)%e.length]))return!0}}}return!1}function q(n){switch(n){case"esriGeometryEnvelope":case"extent":return i;case"esriGeometryMultipoint":case"multipoint":return f;case"esriGeometryPoint":case"point":return o;case"esriGeometryMultiPatch":case"multipatch":case"esriGeometryPolygon":case"polygon":return x;case"esriGeometryPolyline":case"polyline":return y}}export{i as extentIntersectsExtent,f as extentIntersectsMultipoint,o as extentIntersectsPoint,x as extentIntersectsPolygon,y as extentIntersectsPolyline,q as getFeatureExtentIntersector,M as nearLine,b as pointInPolygon,Z as rectsIntersect,p as segmentIntersects,j as targetIntersectsPolygon};