@arcgis/core 5.2.0-next.63 → 5.2.0-next.65

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 (447) hide show
  1. package/arcade/Feature.js +1 -1
  2. package/arcade/ImmutableArray.js +1 -1
  3. package/arcade/ImmutablePathArray.js +1 -1
  4. package/arcade/ImmutablePointArray.js +1 -1
  5. package/arcade/Pixel.js +1 -1
  6. package/arcade/Voxel.js +1 -1
  7. package/arcade/arcadeAsyncRuntime.js +1 -1
  8. package/arcade/arcadeCompiler.js +1 -1
  9. package/arcade/arcadeRuntime.js +1 -1
  10. package/arcade/containerUtils.js +1 -1
  11. package/arcade/debug.js +1 -1
  12. package/arcade/deepClone.js +1 -1
  13. package/arcade/functions/convertdirection.js +1 -1
  14. package/arcade/functions/date.js +1 -1
  15. package/arcade/functions/feature.js +1 -1
  16. package/arcade/functions/featuresetbase.js +1 -1
  17. package/arcade/functions/featuresetgeom.js +1 -1
  18. package/arcade/functions/featuresetstats.js +1 -1
  19. package/arcade/functions/featuresetstring.js +1 -1
  20. package/arcade/functions/fieldStats.js +1 -1
  21. package/arcade/functions/geomasync.js +1 -1
  22. package/arcade/functions/geometry.js +1 -1
  23. package/arcade/functions/geomsync.js +1 -1
  24. package/arcade/functions/knowledgegraph.js +1 -1
  25. package/arcade/functions/maths.js +1 -1
  26. package/arcade/functions/stats.js +1 -1
  27. package/arcade/functions/string.js +1 -1
  28. package/arcade/functions/track.js +1 -1
  29. package/arcade/geometry/functions.js +1 -1
  30. package/arcade/languageUtils.js +1 -1
  31. package/arcade.js +1 -1
  32. package/arcgisGlobal.d.ts +9 -0
  33. package/assets/esri/core/workers/RemoteClient.js +1 -1
  34. package/assets/esri/core/workers/chunks/{bb95922cd4631d6f17fb.js → 04ac5ac6f592d8c34bbd.js} +1 -1
  35. package/assets/esri/core/workers/chunks/{44e64186318728d1be51.js → 067b00498ae85f635f60.js} +1 -1
  36. package/assets/esri/core/workers/chunks/{62f3ca0719ac6bc76512.js → 09c43bcb09aad02e83a9.js} +1 -1
  37. package/assets/esri/core/workers/chunks/0b20f92bae2b4c40d299.js +1 -0
  38. package/assets/esri/core/workers/chunks/0c3c311400ee352187ea.js +1 -0
  39. package/assets/esri/core/workers/chunks/0c582abc8d25249eb530.js +1 -0
  40. package/assets/esri/core/workers/chunks/0d6776055e9b34c14151.js +1 -0
  41. package/assets/esri/core/workers/chunks/0d7d54e74b5639a0be6e.js +1 -0
  42. package/assets/esri/core/workers/chunks/0da5b27b070ab780f8b3.js +1 -0
  43. package/assets/esri/core/workers/chunks/0e6b6fcc55cc43ede1fc.js +1 -0
  44. package/assets/esri/core/workers/chunks/{bcb5017500d144b73908.js → 126f1f6b355723db6c4f.js} +1 -1
  45. package/assets/esri/core/workers/chunks/12a64eca4c571926d9d4.js +1 -0
  46. package/assets/esri/core/workers/chunks/{b2c0262c4a76b8a86200.js → 149284464115981694ff.js} +1 -1
  47. package/assets/esri/core/workers/chunks/1642fa1263d8f4a45101.js +1 -0
  48. package/assets/esri/core/workers/chunks/1840d74ebae777a0200b.js +1 -0
  49. package/assets/esri/core/workers/chunks/19bf6826e7d9a4d52035.js +1 -0
  50. package/assets/esri/core/workers/chunks/1bfbdec791e19f5a2534.js +1 -0
  51. package/assets/esri/core/workers/chunks/1d8280f63a6698e74f20.js +1 -0
  52. package/assets/esri/core/workers/chunks/{a12803108c3b12808698.js → 242cad472fbc38b24dbc.js} +2 -2
  53. package/assets/esri/core/workers/chunks/25197ecb324d6f08e03e.js +1 -0
  54. package/assets/esri/core/workers/chunks/253c231b5a52f1d2d3a5.js +1 -0
  55. package/assets/esri/core/workers/chunks/25999b6f96ec305a7679.js +1 -0
  56. package/assets/esri/core/workers/chunks/259bdacfb7b0f866a8d0.js +1 -0
  57. package/assets/esri/core/workers/chunks/28565756f884d0851003.js +1 -0
  58. package/assets/esri/core/workers/chunks/2a5a165848413764381b.js +1 -0
  59. package/assets/esri/core/workers/chunks/2e7a5bb740281ef59199.js +1 -0
  60. package/assets/esri/core/workers/chunks/{285a5bd708f0fe1c620c.js → 2ea3ca68cfa4d34e8f3b.js} +1 -1
  61. package/assets/esri/core/workers/chunks/2f87a49bdd00f899d81d.js +1 -0
  62. package/assets/esri/core/workers/chunks/{37a95f097533bad1b338.js → 302d91b7c480c6c9304b.js} +1 -1
  63. package/assets/esri/core/workers/chunks/{3d6d2b42ba2ad7086d5d.js → 3b493e8043ec1a2a5d96.js} +1 -1
  64. package/assets/esri/core/workers/chunks/3ddd717ea12d9823eee2.js +1 -0
  65. package/assets/esri/core/workers/chunks/40e48b720d89cd067892.js +1 -0
  66. package/assets/esri/core/workers/chunks/{a833fc9250635eb4152f.js → 41f7f3615d3ecb87c59a.js} +1 -1
  67. package/assets/esri/core/workers/chunks/{95b3b8fe45ef4ac6b277.js → 450bc48a7389607bce1e.js} +1 -1
  68. package/assets/esri/core/workers/chunks/465a050fd838ee8eddf3.js +1 -0
  69. package/assets/esri/core/workers/chunks/{0d61c8d348b09179777a.js → 46d8a1d6f7341ad20749.js} +1 -1
  70. package/assets/esri/core/workers/chunks/4710f21b138a2c9a0345.js +1 -0
  71. package/assets/esri/core/workers/chunks/48a0dfaabb9b4bce4191.js +1 -0
  72. package/assets/esri/core/workers/chunks/49a3888bf9e2481642ac.js +1 -0
  73. package/assets/esri/core/workers/chunks/{4ee900e5dbb130fa0c7b.js → 4a40b894ec89b0a4f9bf.js} +1 -1
  74. package/assets/esri/core/workers/chunks/{d847c3cb2043a983145b.js → 4addea2e35b0c845743e.js} +1 -1
  75. package/assets/esri/core/workers/chunks/{e0a4d0288abd334b0673.js → 4ae626868e14bedd7fc5.js} +1 -1
  76. package/assets/esri/core/workers/chunks/529ee4670940720e888b.js +1 -0
  77. package/assets/esri/core/workers/chunks/{a3c882fe7599dc0f4f27.js → 59d1708ae13c6e7e6e55.js} +1 -1
  78. package/assets/esri/core/workers/chunks/59dd83e5aee2908c7eca.js +1 -0
  79. package/assets/esri/core/workers/chunks/{b5c7813495657f844171.js → 5adf16c034a590b5e9f5.js} +1 -1
  80. package/assets/esri/core/workers/chunks/{b8bdacebd4d24ba90f3f.js → 5fde1234c5cccaee6763.js} +1 -1
  81. package/assets/esri/core/workers/chunks/60f9b37dd738d884c48d.js +1 -0
  82. package/assets/esri/core/workers/chunks/62c8413f3bbc1378273d.js +1 -0
  83. package/assets/esri/core/workers/chunks/6501ee40bf25f9f75d02.js +1 -0
  84. package/assets/esri/core/workers/chunks/663cf8bff17c894cd5f8.js +1 -0
  85. package/assets/esri/core/workers/chunks/6d1371b521c7f94fd77e.js +1 -0
  86. package/assets/esri/core/workers/chunks/6d5038d4351fe29e2718.js +1 -0
  87. package/assets/esri/core/workers/chunks/6f102c90908c9900cdaa.js +1 -0
  88. package/assets/esri/core/workers/chunks/6f39545710d1b35d922c.js +1 -0
  89. package/assets/esri/core/workers/chunks/7278fdf6bfcdffa10a7f.js +1 -0
  90. package/assets/esri/core/workers/chunks/72eb0ac55026a4f5d6a7.js +1 -0
  91. package/assets/esri/core/workers/chunks/73cb499d7d68c59ba34e.js +1 -0
  92. package/assets/esri/core/workers/chunks/{b8d788e110c212a879ab.js → 73f228d966b89c73c9e9.js} +1 -1
  93. package/assets/esri/core/workers/chunks/76bccc318d7cc33829a7.js +1 -0
  94. package/assets/esri/core/workers/chunks/777eafdb86b26b35c803.js +1 -0
  95. package/assets/esri/core/workers/chunks/7821aeba3e414b318a75.js +1 -0
  96. package/assets/esri/core/workers/chunks/7b531feba4fd662575f9.js +1 -0
  97. package/assets/esri/core/workers/chunks/7c57354d026e27e056d4.js +1 -0
  98. package/assets/esri/core/workers/chunks/7d163d9d90393e491ee5.js +1 -0
  99. package/assets/esri/core/workers/chunks/7d4c65311064a5c2e0b1.js +1 -0
  100. package/assets/esri/core/workers/chunks/{0474af7687466d8befd2.js → 7e2794705b4e679fcb3f.js} +1 -1
  101. package/assets/esri/core/workers/chunks/7ebbb90d80600d9ba889.js +1 -0
  102. package/assets/esri/core/workers/chunks/7f125963555dc1ce63ad.js +1 -0
  103. package/assets/esri/core/workers/chunks/{763cbb6716e398436a6d.js → 7f6eee102871769fdf8f.js} +1 -1
  104. package/assets/esri/core/workers/chunks/805c97b875d3066fb8df.js +1 -0
  105. package/assets/esri/core/workers/chunks/8566449c39eba55147f5.js +1 -0
  106. package/assets/esri/core/workers/chunks/86ed75b7169b8ee43025.js +1 -0
  107. package/assets/esri/core/workers/chunks/{9482a6d7baa24bbf5693.js → 89132395eca329b9ab92.js} +1 -1
  108. package/assets/esri/core/workers/chunks/{28bc5e8e82f188b30eb9.js → 894343e415639df88243.js} +1 -1
  109. package/assets/esri/core/workers/chunks/8b4759cef5ae5e43253b.js +1 -0
  110. package/assets/esri/core/workers/chunks/8ba4175f5e9a24ffecf7.js +1 -0
  111. package/assets/esri/core/workers/chunks/8be707044d992ef5f1d8.js +1 -0
  112. package/assets/esri/core/workers/chunks/{bd862382f72ebd446b46.js → 8d2cac1952e817daaf1f.js} +1 -1
  113. package/assets/esri/core/workers/chunks/8e38c5e63aae42bdf5a4.js +29 -0
  114. package/assets/esri/core/workers/chunks/{02ab09285a5c4ca98066.js → 8f785b722b1a131bf370.js} +1 -1
  115. package/assets/esri/core/workers/chunks/8f9874f42f21a4cb3acd.js +1 -0
  116. package/assets/esri/core/workers/chunks/{57824ecc10b25e3ad794.js → 903e1cd8b76eff19ebdf.js} +1 -1
  117. package/assets/esri/core/workers/chunks/90f4b81c6034253b70d7.js +1 -0
  118. package/assets/esri/core/workers/chunks/917c11cb40a7742d7f98.js +1 -0
  119. package/assets/esri/core/workers/chunks/93ab247ff34694ac60eb.js +1 -0
  120. package/assets/esri/core/workers/chunks/93c0a620a147cbf4a0ba.js +1 -0
  121. package/assets/esri/core/workers/chunks/{6e45d0db97ffa4509177.js → 94bf7f0da6ad3f7ea277.js} +1 -1
  122. package/assets/esri/core/workers/chunks/9be6827e5756031a56c1.js +1 -0
  123. package/assets/esri/core/workers/chunks/9c57161ad48d8d546dc7.js +1 -0
  124. package/assets/esri/core/workers/chunks/{b2cf1d3f0d48eac23a84.js → 9c5dff4f13102871786e.js} +1 -1
  125. package/assets/esri/core/workers/chunks/9d0bda096cdbd7e22f4b.js +1 -0
  126. package/assets/esri/core/workers/chunks/9dfb7d120195991e9672.js +1 -0
  127. package/assets/esri/core/workers/chunks/9ed5e6b06afea6c85330.js +1 -0
  128. package/assets/esri/core/workers/chunks/{79b857bb301f9c4169d6.js → 9fee8441fbac9f723f77.js} +1 -1
  129. package/assets/esri/core/workers/chunks/a108f276659d5f25352c.js +1 -0
  130. package/assets/esri/core/workers/chunks/{b32ede7805c7c6644e4c.js → a3bf8aa81ee398da5b52.js} +1 -1
  131. package/assets/esri/core/workers/chunks/{5b30231ae0a8f4b8435f.js → a504fa17d83facf1c01f.js} +1 -1
  132. package/assets/esri/core/workers/chunks/a52c88e2d837b525ff6c.js +1 -0
  133. package/assets/esri/core/workers/chunks/{23a3d8f91caf3136b2aa.js → a5fdb02b1714e93fa69e.js} +1 -1
  134. package/assets/esri/core/workers/chunks/{538fe46dfd685a490e23.js → a7f42ada0aa69873a938.js} +1 -1
  135. package/assets/esri/core/workers/chunks/a97e0b9b057664911c14.js +1 -0
  136. package/assets/esri/core/workers/chunks/{cb58aff1ff186fa18345.js → a9f616f22042b0dce8b9.js} +1 -1
  137. package/assets/esri/core/workers/chunks/afd63c18ce4656271c8e.js +1 -0
  138. package/assets/esri/core/workers/chunks/{f04cb48fc73635d0572f.js → b059dabb1c732829487c.js} +1 -1
  139. package/assets/esri/core/workers/chunks/b313464b987db8a3987a.js +1 -0
  140. package/assets/esri/core/workers/chunks/b318823aefcefad6fad5.js +1 -0
  141. package/assets/esri/core/workers/chunks/b378e504a5b1afc8d0ce.js +1 -0
  142. package/assets/esri/core/workers/chunks/{9fb87a7dba62b527c0ba.js → b3a1a93c6dc9247cb048.js} +1 -1
  143. package/assets/esri/core/workers/chunks/b4e5ee81b9eb171499a6.js +1 -0
  144. package/assets/esri/core/workers/chunks/b5397dc03fa0bd654ba6.js +1 -0
  145. package/assets/esri/core/workers/chunks/b5b698008b8f3f4d5d61.js +1 -0
  146. package/assets/esri/core/workers/chunks/b7bcb31737b01d7736d0.js +1 -0
  147. package/assets/esri/core/workers/chunks/b9a1046ca2cd0cca5da5.js +1 -0
  148. package/assets/esri/core/workers/chunks/{cda04571d7623c17ada2.js → b9c7aa04861f545a559c.js} +1 -1
  149. package/assets/esri/core/workers/chunks/{7df795bc4fa1d433463b.js → ba030767cf935f967454.js} +1 -1
  150. package/assets/esri/core/workers/chunks/{53d165b4f30fd64e5d8a.js → bd311c85437743cf7d2f.js} +1 -1
  151. package/assets/esri/core/workers/chunks/bd88228f781a0399d8bd.js +1 -0
  152. package/assets/esri/core/workers/chunks/bece22668622a9a6bfe2.js +1 -0
  153. package/assets/esri/core/workers/chunks/bfb626805405646a0419.js +1 -0
  154. package/assets/esri/core/workers/chunks/c02ae1d40c1fe95ae6c5.js +1 -0
  155. package/assets/esri/core/workers/chunks/c203df41f9d2e4b80889.js +1 -0
  156. package/assets/esri/core/workers/chunks/{278409028bc5af45b507.js → c4c83b5129c279c3615b.js} +1 -1
  157. package/assets/esri/core/workers/chunks/c6ef0636073e28350c91.js +1 -0
  158. package/assets/esri/core/workers/chunks/c7e391df714839484cd1.js +1 -0
  159. package/assets/esri/core/workers/chunks/cded485ad893a7dd2948.js +1 -0
  160. package/assets/esri/core/workers/chunks/{1cf8fb704c48ac3d3b15.js → cf360767310fb45660a8.js} +1 -1
  161. package/assets/esri/core/workers/chunks/{8f2fecd8a0a972d68590.js → cf8ce63711488f2e677c.js} +1 -1
  162. package/assets/esri/core/workers/chunks/d214ac457ac970479536.js +1 -0
  163. package/assets/esri/core/workers/chunks/d4058352db1e8255b52e.js +1 -0
  164. package/assets/esri/core/workers/chunks/d4d385d19e62ef1c286f.js +1 -0
  165. package/assets/esri/core/workers/chunks/d4f005dadba75422b401.js +1 -0
  166. package/assets/esri/core/workers/chunks/d583bcea4d1a21da9147.js +1 -0
  167. package/assets/esri/core/workers/chunks/{52c4b4dabcb0d162be72.js → d5e15021928e95c11463.js} +1 -1
  168. package/assets/esri/core/workers/chunks/{fc639c730115e07a4a1a.js → d6500f6b2ff115d9eb09.js} +1 -1
  169. package/assets/esri/core/workers/chunks/{3f775deea48e268411f1.js → d7267f429a051943187b.js} +1 -1
  170. package/assets/esri/core/workers/chunks/d9c78c2db04a06ee83ed.js +1 -0
  171. package/assets/esri/core/workers/chunks/{e65ee26feca0564aeb9b.js → dc7e4f7879debf557e46.js} +145 -97
  172. package/assets/esri/core/workers/chunks/e1492d2404c3ed82931e.js +1 -0
  173. package/assets/esri/core/workers/chunks/e34ed3b818b2eb4116c5.js +1 -0
  174. package/assets/esri/core/workers/chunks/e7149d23615fee31ab7e.js +1 -0
  175. package/assets/esri/core/workers/chunks/ec774f5d6ea5c29536e5.js +1 -0
  176. package/assets/esri/core/workers/chunks/ed71a4e353715db0a6e9.js +1 -0
  177. package/assets/esri/core/workers/chunks/{1e342d532925569daadb.js → f475672ff4c2ec9367c2.js} +1 -1
  178. package/assets/esri/core/workers/chunks/{cc414fd2e313d89d524d.js → f54eba484f40d5eeb590.js} +1 -1
  179. package/assets/esri/core/workers/chunks/{04ffe788d2efc0a076dd.js → f5c9659fc5d571d501c9.js} +1 -1
  180. package/assets/esri/core/workers/chunks/f622b27ebdf1c918fd6d.js +1 -0
  181. package/assets/esri/core/workers/chunks/{dd95f50dac3f33cdb6d2.js → f6a13f07a5f7b781a9a8.js} +1 -1
  182. package/assets/esri/core/workers/chunks/{d849bdaf5bdfdc37531a.js → f6f7d885b4d6080e3f58.js} +1 -1
  183. package/assets/esri/core/workers/chunks/f8b8d3d2710c83acccf3.js +1 -0
  184. package/assets/esri/core/workers/chunks/f95870bb4d8e4e13e69e.js +1 -0
  185. package/assets/esri/core/workers/chunks/fa59f10ed0f182a2a7f3.js +1 -0
  186. package/assets/esri/core/workers/chunks/faa55265020591fd2224.js +1 -0
  187. package/assets/esri/core/workers/chunks/fc827f58db3194922056.js +1 -0
  188. package/assets/esri/libs/parquet/pkg/bundle_bg.wasm +0 -0
  189. package/chunks/Component.glsl.js +60 -62
  190. package/chunks/DefaultMaterial.glsl.js +27 -28
  191. package/chunks/GaussianSplat.glsl.js +7 -7
  192. package/chunks/GaussianSplatShadow.glsl.js +9 -9
  193. package/chunks/GlobalIllumination.glsl.js +35 -15
  194. package/chunks/Path.glsl.js +7 -6
  195. package/chunks/RealisticTree.glsl.js +22 -24
  196. package/chunks/SSAO.glsl.js +1 -1
  197. package/chunks/Terrain.glsl.js +3 -2
  198. package/chunks/Water.glsl.js +20 -11
  199. package/chunks/aiServices.js +1 -1
  200. package/chunks/array.js +1 -1
  201. package/chunks/bundle2.js +1 -1
  202. package/chunks/languageUtils.js +1 -1
  203. package/config.js +1 -1
  204. package/form/ExpressionInfo.d.ts +1 -1
  205. package/form/ExpressionInfo.js +1 -1
  206. package/form/elements/FieldElement.d.ts +3 -2
  207. package/form/elements/inputs/ComboBoxInput.d.ts +4 -15
  208. package/form/elements/inputs/ComboBoxInput.js +1 -1
  209. package/form/elements/inputs/DynamicChoiceInput.d.ts +31 -0
  210. package/form/elements/inputs/DynamicChoiceInput.js +2 -0
  211. package/form/elements/inputs/Input.d.ts +1 -1
  212. package/form/elements/inputs/RadioButtonsInput.d.ts +4 -15
  213. package/form/elements/inputs/RadioButtonsInput.js +1 -1
  214. package/form/elements/inputs/SingleChoiceInput.d.ts +18 -0
  215. package/form/elements/inputs/SingleChoiceInput.js +2 -0
  216. package/form/elements/inputs.d.ts +11 -2
  217. package/form/elements/inputs.js +1 -1
  218. package/geometry/support/normalizeUtils.d.ts +1 -1
  219. package/kernel.js +1 -1
  220. package/layers/ImageryTileLayer.d.ts +1 -1
  221. package/layers/RouteLayer.d.ts +1 -1
  222. package/layers/graphics/sources/ParquetSource.js +1 -1
  223. package/layers/graphics/sources/parquet/FileProvider.js +1 -1
  224. package/layers/graphics/sources/parquet/ParquetFileInfo.js +1 -1
  225. package/layers/graphics/sources/support/ParquetSourceWorker.js +1 -1
  226. package/layers/mixins/ArcGISImageService.d.ts +24 -24
  227. package/layers/mixins/TiledImagery.d.ts +1 -1
  228. package/layers/orientedImagery/transformations/rectifyMapPoint.js +1 -1
  229. package/layers/raster/datasets/EphemeralBlockCache.js +1 -1
  230. package/layers/raster/datasets/RawBlockCache.js +1 -1
  231. package/layers/support/KMLSublayer.js +1 -1
  232. package/libs/parquet/parquet.js +1 -1
  233. package/networks/support/CircuitExportJobInfo.d.ts +1 -1
  234. package/networks/support/CircuitVerifyJobInfo.d.ts +1 -1
  235. package/networks/support/TopologyValidationJobInfo.d.ts +1 -1
  236. package/networks/support/TraceJobInfo.d.ts +1 -1
  237. package/package.json +2 -2
  238. package/portal/jsonTypes.d.ts +1 -1
  239. package/rest/closestFacility.d.ts +1 -1
  240. package/rest/find.d.ts +1 -1
  241. package/rest/geometryService.d.ts +21 -21
  242. package/rest/geoprocessor.d.ts +2 -2
  243. package/rest/identify.d.ts +1 -1
  244. package/rest/imageService.d.ts +19 -19
  245. package/rest/lastMileDelivery.d.ts +8 -8
  246. package/rest/locator.d.ts +4 -4
  247. package/rest/networkService.d.ts +1 -1
  248. package/rest/networks/queryAssociations.d.ts +1 -1
  249. package/rest/networks/synthesizeAssociationGeometries.d.ts +1 -1
  250. package/rest/networks/trace.d.ts +1 -1
  251. package/rest/networks/traverseAssociations.d.ts +1 -1
  252. package/rest/places.d.ts +3 -3
  253. package/rest/print.d.ts +1 -1
  254. package/rest/query.d.ts +11 -11
  255. package/rest/route.d.ts +1 -1
  256. package/rest/serviceArea.d.ts +1 -1
  257. package/rest/support/JobInfo.d.ts +5 -5
  258. package/rest/support/Query.js +1 -1
  259. package/rest/symbolService.d.ts +1 -1
  260. package/support/revision.js +1 -1
  261. package/symbols/LabelSymbol3D.js +1 -1
  262. package/symbols/LineSymbol3D.js +1 -1
  263. package/symbols/MeshSymbol3D.js +1 -1
  264. package/symbols/PointSymbol3D.js +1 -1
  265. package/symbols/PolygonSymbol3D.js +1 -1
  266. package/views/2d/layers/features/sources/strategies/ParquetTileLoadStrategy.js +1 -1
  267. package/views/3d/analysis/LineOfSight/LineOfSightReshapeTool3D.js +1 -1
  268. package/views/3d/analysis/LineOfSight/LineOfSightTool.js +1 -1
  269. package/views/3d/analysis/VolumeMeasurement/VolumeMeasurementShiftTool.js +1 -1
  270. package/views/3d/interactive/editingTools/transform/TransformTool3D.js +1 -1
  271. package/views/3d/layers/GaussianSplatLayerView3D.js +1 -1
  272. package/views/3d/layers/IntegratedMesh3DTilesLayerView3D.js +1 -1
  273. package/views/3d/layers/graphics/Graphics3DPathSymbolLayer.js +1 -1
  274. package/views/3d/layers/graphics/Graphics3DPathSymbolLayerConstants.js +1 -1
  275. package/views/3d/layers/graphics/defaultSymbolComplexity.js +1 -1
  276. package/views/3d/state/controllers/RotateController.js +1 -1
  277. package/views/3d/state/utils/navigationUtils.js +1 -1
  278. package/views/3d/support/gaussianSplatting/GaussianSplatDataStore.js +1 -1
  279. package/views/3d/support/gaussianSplatting/GaussianSplatFadeHelper.js +1 -1
  280. package/views/3d/terrain/OverlayRenderer.js +1 -1
  281. package/views/3d/webgl-engine/core/shaderLibrary/attributes/PathEvaluate.glsl.js +49 -32
  282. package/views/3d/webgl-engine/core/shaderLibrary/attributes/PathVertexInfo.glsl.js +5 -5
  283. package/views/3d/webgl-engine/core/shaderLibrary/attributes/PathVertexPosition.glsl.js +23 -23
  284. package/views/3d/webgl-engine/core/shaderLibrary/default/DefaultMaterialAuxiliaryPasses.glsl.js +24 -16
  285. package/views/3d/webgl-engine/core/shaderLibrary/default/DefaultMaterialExternalColor.glsl.js +25 -0
  286. package/views/3d/webgl-engine/lib/GaussianSplatRenderUtils.js +2 -0
  287. package/views/3d/webgl-engine/lib/GaussianSplatRenderer.js +1 -1
  288. package/views/3d/webgl-engine/lib/GaussianSplatShadows.js +1 -1
  289. package/views/3d/webgl-engine/lib/PathBuilder.js +1 -1
  290. package/views/3d/webgl-engine/lib/PathEvaluator.js +1 -1
  291. package/views/3d/webgl-engine/lib/PathExtruder.js +1 -1
  292. package/views/3d/webgl-engine/materials/PathMaterial.js +1 -1
  293. package/views/3d/webgl-engine/materials/PathTechniqueConfiguration.js +1 -1
  294. package/views/3d/webgl-engine/shaders/DefaultMaterial.glsl.js +1 -1
  295. package/views/3d/webgl-engine/shaders/GaussianSplat.glsl.js +1 -1
  296. package/views/3d/webgl-engine/shaders/GaussianSplatPassParameters.js +2 -0
  297. package/views/3d/webgl-engine/shaders/GaussianSplatShadow.glsl.js +1 -1
  298. package/views/3d/webgl-engine/shaders/GaussianSplatShadowTechnique.js +1 -1
  299. package/views/3d/webgl-engine/shaders/GaussianSplatTechnique.js +1 -1
  300. package/views/3d/webgl-engine/shaders/RealisticTree.glsl.js +1 -1
  301. package/views/draw/support/InteractiveHandle.js +1 -1
  302. package/views/draw/support/managers/SurfaceManager.js +1 -1
  303. package/views/interactive/Tooltip.d.ts +3 -3
  304. package/views/interactive/Tooltip.js +1 -1
  305. package/views/interactive/options/ElevationOptions.d.ts +20 -0
  306. package/views/interactive/options/ElevationOptions.js +2 -0
  307. package/views/interactive/options/LabelOptions.d.ts +74 -0
  308. package/views/interactive/options/LabelOptions.js +2 -0
  309. package/views/interactive/options/SnappingOptions.d.ts +157 -0
  310. package/views/interactive/options/SnappingOptions.js +2 -0
  311. package/views/interactive/options/TooltipOptions.d.ts +152 -0
  312. package/views/interactive/options/TooltipOptions.js +2 -0
  313. package/views/interactive/options/TooltipVisibleElements.d.ts +105 -0
  314. package/views/interactive/options/TooltipVisibleElements.js +2 -0
  315. package/views/interactive/options/ValueOptions.d.ts +63 -0
  316. package/views/interactive/options/ValueOptions.js +2 -0
  317. package/views/interactive/sketch/SketchLabelOptions.d.ts +7 -9
  318. package/views/interactive/sketch/SketchLabelOptions.js +1 -1
  319. package/views/interactive/sketch/SketchTooltipElevationOptions.js +1 -1
  320. package/views/interactive/sketch/SketchTooltipOptions.d.ts +8 -50
  321. package/views/interactive/sketch/SketchTooltipOptions.js +1 -1
  322. package/views/interactive/sketch/SketchTooltipVisibleElements.d.ts +10 -95
  323. package/views/interactive/sketch/SketchTooltipVisibleElements.js +1 -1
  324. package/views/interactive/sketch/SketchValueOptions.d.ts +7 -45
  325. package/views/interactive/sketch/SketchValueOptions.js +1 -1
  326. package/views/interactive/sketch/Units.d.ts +10 -29
  327. package/views/interactive/sketch/Units.js +1 -1
  328. package/views/interactive/snapping/SnappingOptions.d.ts +7 -78
  329. package/views/interactive/snapping/SnappingOptions.js +1 -1
  330. package/views/interactive/support/Units.d.ts +33 -0
  331. package/views/interactive/support/Units.js +2 -0
  332. package/views/interactive/support/types.d.ts +33 -0
  333. package/views/interactive/tooltip/types.d.ts +6 -2
  334. package/widgets/BatchAttributeForm/BatchAttributeFormViewModel.js +1 -1
  335. package/widgets/BatchAttributeForm/expressions/ExpressionsManager.js +1 -1
  336. package/widgets/BatchAttributeForm/expressions/ExpressionsModel.js +1 -1
  337. package/widgets/LayerList/ListItem.js +1 -1
  338. package/widgets/OrientedImageryViewer/OrientedImageryViewerViewModel.js +1 -1
  339. package/widgets/OrientedImageryViewer/services/SuperimposeService.js +1 -1
  340. package/widgets/OrientedImageryViewer/services/TransformationService.js +1 -1
  341. package/widgets/OrientedImageryViewer/support/superimposeUtils.js +1 -1
  342. package/widgets/OrientedImageryViewer.js +1 -1
  343. package/widgets/TableList/ListItem.js +1 -1
  344. package/assets/esri/core/workers/chunks/02dd79beb13eff6be85e.js +0 -1
  345. package/assets/esri/core/workers/chunks/0623acb2bd14a61b65c9.js +0 -29
  346. package/assets/esri/core/workers/chunks/069b6d8bdb34ee88d437.js +0 -1
  347. package/assets/esri/core/workers/chunks/0790bf0eb276cd9166f6.js +0 -1
  348. package/assets/esri/core/workers/chunks/08c2bf9defcece9e049a.js +0 -1
  349. package/assets/esri/core/workers/chunks/0ae0483b72f5e8d00d55.js +0 -1
  350. package/assets/esri/core/workers/chunks/0d1224693a62a26a0e72.js +0 -1
  351. package/assets/esri/core/workers/chunks/10b367563f894ceb9864.js +0 -1
  352. package/assets/esri/core/workers/chunks/11e00ca5ac1b004f4ecc.js +0 -1
  353. package/assets/esri/core/workers/chunks/13033178de9f637a2356.js +0 -1
  354. package/assets/esri/core/workers/chunks/13c893e448bedc5c1cef.js +0 -1
  355. package/assets/esri/core/workers/chunks/14cd8bb1ad4da8d1d2ca.js +0 -1
  356. package/assets/esri/core/workers/chunks/15c2d9bec0455fc363a9.js +0 -1
  357. package/assets/esri/core/workers/chunks/246cd372d4184233f48e.js +0 -1
  358. package/assets/esri/core/workers/chunks/268ab65afc3fce775ad2.js +0 -1
  359. package/assets/esri/core/workers/chunks/279a9a38b04a21cdfd11.js +0 -1
  360. package/assets/esri/core/workers/chunks/2a1c6df073e6ca6a6365.js +0 -1
  361. package/assets/esri/core/workers/chunks/3406a01dad6338e3c548.js +0 -1
  362. package/assets/esri/core/workers/chunks/36781219ca9ba5d7fe52.js +0 -1
  363. package/assets/esri/core/workers/chunks/36999a2e383c8eb3c398.js +0 -1
  364. package/assets/esri/core/workers/chunks/36f8a912842181e1f0aa.js +0 -1
  365. package/assets/esri/core/workers/chunks/3f1a7f8a9ead64bf0b7b.js +0 -1
  366. package/assets/esri/core/workers/chunks/41e821ce229bc56dc1a1.js +0 -1
  367. package/assets/esri/core/workers/chunks/43b39abd49c4a8ce891f.js +0 -1
  368. package/assets/esri/core/workers/chunks/456e616f32e7de696d38.js +0 -1
  369. package/assets/esri/core/workers/chunks/478540265c86436da05e.js +0 -1
  370. package/assets/esri/core/workers/chunks/479f486ec1797629ec70.js +0 -1
  371. package/assets/esri/core/workers/chunks/484b3e2a220c440ccbb4.js +0 -1
  372. package/assets/esri/core/workers/chunks/4a340836ddbc856993f2.js +0 -1
  373. package/assets/esri/core/workers/chunks/54b9667450d066c6f6ce.js +0 -1
  374. package/assets/esri/core/workers/chunks/57b07448da06d0302a46.js +0 -1
  375. package/assets/esri/core/workers/chunks/5a9ff50fdcc99ae28cce.js +0 -1
  376. package/assets/esri/core/workers/chunks/5dbd8ca7e7b8eb9a0bf7.js +0 -1
  377. package/assets/esri/core/workers/chunks/5dc17b76c6ecc24e7b9a.js +0 -1
  378. package/assets/esri/core/workers/chunks/5e3d5347223f0111f40f.js +0 -1
  379. package/assets/esri/core/workers/chunks/5eb6f37c74a217772eca.js +0 -1
  380. package/assets/esri/core/workers/chunks/6210fb6cd31844f23964.js +0 -1
  381. package/assets/esri/core/workers/chunks/638ed1297efdb24f4711.js +0 -1
  382. package/assets/esri/core/workers/chunks/63ede7295938f7010808.js +0 -1
  383. package/assets/esri/core/workers/chunks/661a59133ae34f172174.js +0 -1
  384. package/assets/esri/core/workers/chunks/687cf21e027f49b44d22.js +0 -1
  385. package/assets/esri/core/workers/chunks/6c2b5087a9df65267f4e.js +0 -1
  386. package/assets/esri/core/workers/chunks/6c98a64d92c9bca78203.js +0 -1
  387. package/assets/esri/core/workers/chunks/6d247ff53421d27628ce.js +0 -1
  388. package/assets/esri/core/workers/chunks/700c08dd2e734c15e621.js +0 -1
  389. package/assets/esri/core/workers/chunks/70452f6d63e9be8d03dd.js +0 -1
  390. package/assets/esri/core/workers/chunks/733b2e181683d5fc7c95.js +0 -1
  391. package/assets/esri/core/workers/chunks/7659391f952d134164cf.js +0 -1
  392. package/assets/esri/core/workers/chunks/7889f4a17cf249f2acc5.js +0 -1
  393. package/assets/esri/core/workers/chunks/7a2dcd57849048c6e00d.js +0 -1
  394. package/assets/esri/core/workers/chunks/7a2dfa42610fe8414ed7.js +0 -1
  395. package/assets/esri/core/workers/chunks/7ce52b850dd785bfa33f.js +0 -1
  396. package/assets/esri/core/workers/chunks/7d85048c6cd6ad84faf9.js +0 -1
  397. package/assets/esri/core/workers/chunks/7fdd6a5fa062778be55d.js +0 -1
  398. package/assets/esri/core/workers/chunks/81accb1820e2735fa376.js +0 -1
  399. package/assets/esri/core/workers/chunks/8210fc9e072209e26fa9.js +0 -1
  400. package/assets/esri/core/workers/chunks/8369edafab7bdc59b95a.js +0 -1
  401. package/assets/esri/core/workers/chunks/84fa102a93b2144c28fb.js +0 -1
  402. package/assets/esri/core/workers/chunks/85ce7673d42526a79fd2.js +0 -1
  403. package/assets/esri/core/workers/chunks/8722e2790272e90a1897.js +0 -1
  404. package/assets/esri/core/workers/chunks/8a1970e68bc1e833cb7f.js +0 -1
  405. package/assets/esri/core/workers/chunks/8bb20ef549ec1c86b38e.js +0 -1
  406. package/assets/esri/core/workers/chunks/8c535c6a39d2be2ed655.js +0 -1
  407. package/assets/esri/core/workers/chunks/9008090a5d8431ddfa22.js +0 -1
  408. package/assets/esri/core/workers/chunks/92696cce2b980373f9ad.js +0 -1
  409. package/assets/esri/core/workers/chunks/98b27cf8acbfa4259758.js +0 -1
  410. package/assets/esri/core/workers/chunks/9a6208ab670ad74e6f7d.js +0 -1
  411. package/assets/esri/core/workers/chunks/a09ce34fc7c8abe64ed5.js +0 -1
  412. package/assets/esri/core/workers/chunks/a10f63a08d976be058be.js +0 -1
  413. package/assets/esri/core/workers/chunks/a5f058567419ea70dff6.js +0 -1
  414. package/assets/esri/core/workers/chunks/a965d151515b76dd7566.js +0 -1
  415. package/assets/esri/core/workers/chunks/afeeb11b39e140303b5a.js +0 -1
  416. package/assets/esri/core/workers/chunks/b7170816736769d3b7b0.js +0 -1
  417. package/assets/esri/core/workers/chunks/b8e5d7aefddddbd0a10c.js +0 -1
  418. package/assets/esri/core/workers/chunks/b958f87f23f984131d09.js +0 -1
  419. package/assets/esri/core/workers/chunks/b9f40681af1fa00b5bbe.js +0 -1
  420. package/assets/esri/core/workers/chunks/c4c25db769a78e677e33.js +0 -1
  421. package/assets/esri/core/workers/chunks/c85ba0700eafdc8d6f9e.js +0 -1
  422. package/assets/esri/core/workers/chunks/c97451f75c23be979476.js +0 -1
  423. package/assets/esri/core/workers/chunks/ca118c42c0f609ca7912.js +0 -1
  424. package/assets/esri/core/workers/chunks/cb17cd8aaf77238c0236.js +0 -1
  425. package/assets/esri/core/workers/chunks/d03f427442bb0c287d05.js +0 -1
  426. package/assets/esri/core/workers/chunks/d08d3c6f21e6ba8268ca.js +0 -1
  427. package/assets/esri/core/workers/chunks/d37a72111dffc4c4db70.js +0 -1
  428. package/assets/esri/core/workers/chunks/d41ab2abcfacc87809b5.js +0 -1
  429. package/assets/esri/core/workers/chunks/d4ed094962a41d756c95.js +0 -1
  430. package/assets/esri/core/workers/chunks/d83ea3e4e9ab45334068.js +0 -1
  431. package/assets/esri/core/workers/chunks/d9b83d7dd7d1f7729a91.js +0 -1
  432. package/assets/esri/core/workers/chunks/dbcec48c4ba104a6d0b5.js +0 -1
  433. package/assets/esri/core/workers/chunks/dc24e80d061f7b063608.js +0 -1
  434. package/assets/esri/core/workers/chunks/df30053a10d4930924d5.js +0 -1
  435. package/assets/esri/core/workers/chunks/e5bb7ee670a3ba5ba3fe.js +0 -1
  436. package/assets/esri/core/workers/chunks/e5c75459de85a6dd2f14.js +0 -1
  437. package/assets/esri/core/workers/chunks/e798ca23f02a2dd65bd4.js +0 -1
  438. package/assets/esri/core/workers/chunks/f1299b4fc760ccca1518.js +0 -1
  439. package/assets/esri/core/workers/chunks/f65adaaa33d9f3b131f6.js +0 -1
  440. package/assets/esri/core/workers/chunks/f6715b8765cd36d81ec8.js +0 -1
  441. package/assets/esri/core/workers/chunks/f7fa932ade85cb2847b6.js +0 -1
  442. package/assets/esri/core/workers/chunks/f9a4f4efd63b8189a4eb.js +0 -1
  443. package/assets/esri/core/workers/chunks/f9b654f801cb416e9e17.js +0 -1
  444. package/assets/esri/core/workers/chunks/fa1c58e5b582d61a03ab.js +0 -1
  445. package/assets/esri/core/workers/chunks/fdec3a2e100688c42e41.js +0 -1
  446. package/assets/esri/core/workers/chunks/fefbde2c2e527bb716ee.js +0 -1
  447. /package/assets/esri/core/workers/chunks/{a12803108c3b12808698.js.LICENSE.txt → 242cad472fbc38b24dbc.js.LICENSE.txt} +0 -0
@@ -0,0 +1,157 @@
1
+ import type Accessor from "../../../core/Accessor.js";
2
+ import type Collection from "../../../core/Collection.js";
3
+ import type FeatureSnappingLayerSource from "../snapping/FeatureSnappingLayerSource.js";
4
+ import type { FeatureSnappingLayerSourceProperties } from "../snapping/FeatureSnappingLayerSource.js";
5
+ import type { ReadonlyArrayOrCollection } from "../../../core/Collection.js";
6
+
7
+ /** @since 5.2 */
8
+ export interface SnappingOptionsProperties extends Partial<Pick<SnappingOptions, "attributeRulesEnabled" | "distance" | "enabled" | "featureEnabled" | "gridEnabled" | "selfEnabled">> {
9
+ /**
10
+ * List of sources for feature snapping. Please refer to [FeatureSnappingLayerSource](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/snapping/FeatureSnappingLayerSource/) for additional information on what layer sources are supported.
11
+ *
12
+ * @since 5.2
13
+ */
14
+ featureSources?: ReadonlyArrayOrCollection<FeatureSnappingLayerSourceProperties>;
15
+ }
16
+
17
+ /**
18
+ * The `SnappingOptions` class allows users to configure snapping for their editing or drawing experience in both the [Sketch.snappingOptions](https://developers.arcgis.com/javascript/latest/references/core/widgets/Sketch/#snappingOptions) and [Editor.snappingOptions](https://developers.arcgis.com/javascript/latest/references/core/widgets/Editor/#snappingOptions) widgets.
19
+ *
20
+ * Snapping options provide the ability to specify whether an application will utilize self snapping, feature snapping, or both. Both are described below.
21
+ *
22
+ * It is also possible to toggle snapping by pressing and holding down the `CTRL` key. This toggles the snapping on/off.
23
+ *
24
+ * #### Self snapping (Geometry guides)
25
+ * Self snapping is set via the [selfEnabled](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/options/SnappingOptions/#selfEnabled) property. This means that while a user is actively creating or updating a feature or graphic, they will see visualizations to help identify perpendicular and parallel lines, in addition to visualizations which aid in snapping to an extension of an existing feature. The following briefly demonstrates what self snapping looks like in a 2D application. Although this is shown for 2D, the same premise applies for 3D as well.
26
+ *
27
+ * <video src="https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/sketch/snapping-self-2d.webm" aria-label="self-snapping" autoplay muted playsinline loop></video>
28
+ * #### Feature snapping
29
+ * Feature snapping is set via the [featureEnabled](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/options/SnappingOptions/#featureEnabled) property. It provides the ability to snap vertices of a graphic or feature that is currently being drawn or reshaped to that of an existing feature's vertex, edge, or end point. These existing features belong to layers within the [Map](https://developers.arcgis.com/javascript/latest/references/core/Map/) and must be specified in the [featureSources](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/options/SnappingOptions/#featureSources) property. The following two images demonstrate feature snapping in a 2D application. Similar to self snapping, the same premise applies for 3D as well.
30
+ *
31
+ * <video src="https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/sketch/snapping-feature-2d.webm" aria-label="feature-snapping-create" autoplay muted playsinline loop></video>
32
+ *
33
+ * The above shows feature snapping to an existing feature's vertex endpoint and edge while creating a new feature. The bottom demonstrates taking an existing feature and reshaping its geometry to snap to another feature's vertex points.
34
+ *
35
+ * <video src="https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/sketch/snapping-reshape-2d.webm" aria-label="feature-snapping-update" autoplay muted playsinline loop></video>
36
+ *
37
+ * > [!WARNING]
38
+ * >
39
+ * > **Things to consider:**
40
+ * > Layer types currently supported for snapping are: [FeatureLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/FeatureLayer/), [GraphicsLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/GraphicsLayer/) (except Mesh geometries),
41
+ * > [GeoJSONLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/GeoJSONLayer/), [WFSLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/WFSLayer/), [CSVLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/CSVLayer/),
42
+ * > [MapNotesLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/MapNotesLayer/) (2D only), [3D Object SceneLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/SceneLayer/) (3D only), and
43
+ * > [BuildingSceneLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/BuildingSceneLayer/) (3D only).
44
+ * > Snapping is not yet implemented when using the [Sketch widget's](https://developers.arcgis.com/javascript/latest/references/core/widgets/Sketch/) circle tool. It will be addressed in a future release.
45
+ * > Enabling snapping via the `CTRL` key is not currently supported using the [Sketch widget's](https://developers.arcgis.com/javascript/latest/references/core/widgets/Sketch/) rectangle and circle tools. However, snapping can still be activated by setting the [enabled](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/options/SnappingOptions/#enabled) property to `true` in the [Sketch widget](https://developers.arcgis.com/javascript/latest/references/core/widgets/Sketch/) or its [view model](https://developers.arcgis.com/javascript/latest/references/core/widgets/Sketch/SketchViewModel/). *Note that this enables snapping for all tools. This behavior is subject to change in a future release.*
46
+ *
47
+ * Name | Details | 3D Example | 2D Example |
48
+ * ---------|---------|----------|:-----------:|
49
+ * Rectangle | Snap lines that are perpendicular to each other | <img alt="Rectangle" src="https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/sketch/snapping-rectangle.avif" width="268px"> | <img alt="Rectangle-2d" src="https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/sketch/snapping-rectangle-2d.avif" width="268px"> |
50
+ * Parallel | Snap to all parallel lines | <img alt="Parallel" src="https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/sketch/snapping-parallel.avif" width="268px"> | <img alt="Parallel-2d" src="https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/sketch/snapping-parallel-2.avif" width="268px"> |
51
+ * Extension | Snap to an extension of the current shape | <img alt="Extension" src="https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/sketch/snapping-extension.avif" width="268px"> | <img alt="Extension-2" src="https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/sketch/snapping-extension-2.avif" width="268px"> |
52
+ * Vertex (as seen when updating geometries)| Snap vertices to an existing vertex | <img alt="Vertex" src="https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/sketch/snapping-vertex-3d.avif" width="143px"> | <img alt="Vertex-2" src="https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/sketch/snapping-vertex-2.avif" width="143px"> |
53
+ *
54
+ * @since 5.2
55
+ * @see [FeatureSnappingLayerSource](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/snapping/FeatureSnappingLayerSource/)
56
+ * @see [Sketch](https://developers.arcgis.com/javascript/latest/references/core/widgets/Sketch/)
57
+ * @see [SketchViewModel](https://developers.arcgis.com/javascript/latest/references/core/widgets/Sketch/SketchViewModel/)
58
+ * @see [Editor](https://developers.arcgis.com/javascript/latest/references/core/widgets/Editor/)
59
+ * @see [Sample - Sketch widget](https://developers.arcgis.com/javascript/latest/sample-code/sketch-geometries/)
60
+ * @see [Sample - Sketch in 3D](https://developers.arcgis.com/javascript/latest/sample-code/sketch-3d/)
61
+ * @see [Sample - Edit features in 3D with the Editor widget](https://developers.arcgis.com/javascript/latest/sample-code/editor-3d/)
62
+ * @see [Sample - Editor widget with configurations](https://developers.arcgis.com/javascript/latest/sample-code/widgets-editor-configurable/)
63
+ * @see [Sample - Snapping with Sketch widget and Magnifier](https://developers.arcgis.com/javascript/latest/sample-code/sketch-snapping-magnifier/)
64
+ * @example
65
+ * // Create a new instance of Sketch, and set
66
+ * // a layer for one of the featureSources property.
67
+ * // This enables feature snapping on that layer.
68
+ * const sketch = new Sketch({
69
+ * layer: graphicsLayer,
70
+ * view: view,
71
+ * snappingOptions: { // autocasts to SnappingOptions()
72
+ * enabled: true, // global snapping is turned on
73
+ * // assigns a collection of FeatureSnappingLayerSource() and enables feature snapping on this layer
74
+ * featureSources: [{ layer: graphicsLayer, enabled: true }]
75
+ * }
76
+ * });
77
+ */
78
+ export default class SnappingOptions extends Accessor {
79
+ /** @since 5.2 */
80
+ constructor(properties?: SnappingOptionsProperties);
81
+ /**
82
+ * When true, enables support for attribute rule-based snapping.
83
+ * When enabled, resources needed for rule-based snapping, including any Utility Networks present
84
+ * in the map, will be automatically loaded.
85
+ *
86
+ * @default false
87
+ * @since 5.2
88
+ */
89
+ accessor attributeRulesEnabled: boolean;
90
+ /**
91
+ * Snapping distance for snapping in pixels.
92
+ *
93
+ * @default 5
94
+ * @since 5.2
95
+ */
96
+ accessor distance: number;
97
+ /**
98
+ * Global configuration to turn snapping on or off. Note that snapping is
99
+ * turned off by default.
100
+ *
101
+ * @default false
102
+ * @since 5.2
103
+ */
104
+ accessor enabled: boolean;
105
+ /**
106
+ * Global configuration option to turn feature snapping on or off.
107
+ *
108
+ * @default true
109
+ * @since 5.2
110
+ */
111
+ accessor featureEnabled: boolean;
112
+ /**
113
+ * List of sources for feature snapping. Please refer to [FeatureSnappingLayerSource](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/snapping/FeatureSnappingLayerSource/) for additional information on what layer sources are supported.
114
+ *
115
+ * @since 5.2
116
+ */
117
+ get featureSources(): Collection<FeatureSnappingLayerSource>;
118
+ set featureSources(value: ReadonlyArrayOrCollection<FeatureSnappingLayerSourceProperties>);
119
+ /**
120
+ * Turns the grid on or off. The grid is a network of columns and rows used to divide the view into equal-area squares.
121
+ * The [GridControls](https://developers.arcgis.com/javascript/latest/references/core/widgets/support/GridControls/) provides a user interface to interact and configure the grid's properties.
122
+ *
123
+ * > [!WARNING]
124
+ * >
125
+ * > **Note**
126
+ * >
127
+ * > It is recommended to wait for the view to be loaded first before setting the `gridEnabled` prop in the [GridControls](https://developers.arcgis.com/javascript/latest/references/core/widgets/support/GridControls/) constructor. The grid is dependent on the view to be loaded first for it to be displayed.
128
+ * > - This grid is only supported in a 2D [MapView](https://developers.arcgis.com/javascript/latest/references/core/views/MapView/).
129
+ *
130
+ * @default false
131
+ * @since 5.2
132
+ * @see [GridControls](https://developers.arcgis.com/javascript/latest/references/core/widgets/support/GridControls/)
133
+ * @example
134
+ * // Turn on the grid programmatically for the GridControls.
135
+ * // Wait for the view to load first.
136
+ * view.when(() => {
137
+ * const gridControls = new GridControls({
138
+ * view,
139
+ * snappingOptions: {
140
+ * enabled: true,
141
+ * gridEnabled: true
142
+ * }
143
+ * });
144
+ * // Add GridControls to the view
145
+ * view.ui.add(gridControls, "top-left");
146
+ * });
147
+ */
148
+ accessor gridEnabled: boolean;
149
+ /**
150
+ * Global configuration option to turn self snapping (within one feature while
151
+ * either drawing or reshaping) on or off.
152
+ *
153
+ * @default true
154
+ * @since 5.2
155
+ */
156
+ accessor selfEnabled: boolean;
157
+ }
@@ -0,0 +1,2 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
+ import{__decorate as e}from"tslib";import t from"../../../core/Accessor.js";import{difference as r}from"../../../core/arrayUtils.js";import o from"../../../core/Collection.js";import i from"../../../core/Logger.js";import{property as a,subclass as n}from"../../../core/accessorSupport/decorators.js";import s from"../snapping/FeatureSnappingLayerSource.js";import{defaults as l}from"../snapping/Settings.js";let u=class extends t{constructor(e){super(e),this.enabled=!1,this.enabledToggled=!1,this.forceDisabled=!1,this.selfEnabled=!0,this.featureEnabled=!0,this.gridEnabled=!1,this.attributeRulesEnabled=!1,this.featureSources=new o,this.distance=l.distance,this.touchSensitivityMultiplier=l.touchSensitivityMultiplier}get effectiveEnabled(){return!this.forceDisabled&&(this.enabledToggled?!this.enabled:this.enabled)}get effectiveGridEnabled(){return this.effectiveEnabled&&this.gridEnabled}get effectiveSelfEnabled(){return this.effectiveEnabled&&this.selfEnabled}get effectiveFeatureEnabled(){return this.effectiveEnabled&&this.featureEnabled}get _effectiveFeatureSources(){const e=this.featureSources;e.some(d)&&i.getLogger(this).warnOnce("Do not configure SubtypeGroupLayer sources in SnappingOptions.featureSources directly. Create a FeatureSnappingLayerSource for each SubtypeSublayer.");const t=e.filter(c),a=this._get("_effectiveFeatureSources")?.filter(d)??new o;for(const r of t){const e=a.find(e=>e.layer===r.layer.parent);if(e)e.sublayerSources.includes(r)||e.sublayerSources.add(r);else if(r.layer.parent){const e=new s({layer:r.layer.parent});e.sublayerSources.add(r),a.add(e)}}for(const r of a){const e=r.sublayerSources.filter(e=>!t.includes(e));r.sublayerSources.removeMany(e)}a.removeMany(a.filter(e=>0===e.sublayerSources.length));const n=e.filter(p),l=this._get("_effectiveFeatureSources")??new o,{added:u,removed:f}=r(l.toArray(),[...n,...a]);return l.removeMany(f),l.addMany(u),l}};function d(e){return"subtype-group"===e.layer.type}function p(e){return"subtype-group"!==e.layer.type}function c(e){return"subtype-sublayer"===e.layer.type}e([a()],u.prototype,"enabled",void 0),e([a()],u.prototype,"enabledToggled",void 0),e([a()],u.prototype,"forceDisabled",void 0),e([a()],u.prototype,"selfEnabled",void 0),e([a()],u.prototype,"featureEnabled",void 0),e([a()],u.prototype,"gridEnabled",void 0),e([a()],u.prototype,"attributeRulesEnabled",void 0),e([a({type:o.ofType(s)})],u.prototype,"featureSources",void 0),e([a()],u.prototype,"distance",void 0),e([a()],u.prototype,"touchSensitivityMultiplier",void 0),e([a({readOnly:!0})],u.prototype,"effectiveEnabled",null),e([a({readOnly:!0})],u.prototype,"effectiveGridEnabled",null),e([a({readOnly:!0})],u.prototype,"effectiveSelfEnabled",null),e([a({readOnly:!0})],u.prototype,"effectiveFeatureEnabled",null),e([a({readOnly:!0})],u.prototype,"_effectiveFeatureSources",null),u=e([n("esri.views.interactive.options.SnappingOptions")],u);export{u as default};
@@ -0,0 +1,152 @@
1
+ import type Accessor from "../../../core/Accessor.js";
2
+ import type TooltipVisibleElements from "./TooltipVisibleElements.js";
3
+ import type { Icon } from "@esri/calcite-components/components/calcite-icon";
4
+ import type { ElevationOptions, ElevationOptionsProperties } from "./ElevationOptions.js";
5
+ import type { TooltipVisibleElementsProperties } from "./TooltipVisibleElements.js";
6
+
7
+ /** @since 5.2 */
8
+ export interface TooltipOptionsProperties extends Partial<Pick<TooltipOptions, "enabled" | "forceEnabled" | "helpMessage" | "helpMessageIcon" | "inputEnabled">> {
9
+ /**
10
+ * Configuration for elevation values displayed in the tooltip.
11
+ *
12
+ * @internal
13
+ * @since 5.2
14
+ */
15
+ elevation?: ElevationOptionsProperties;
16
+ /**
17
+ * The elements that are displayed within the tooltip.
18
+ *
19
+ * @since 5.2
20
+ */
21
+ visibleElements?: TooltipVisibleElementsProperties;
22
+ }
23
+
24
+ /**
25
+ * The `TooltipOptions` class allows users to configure the tooltips which are shown while sketching, editing or placing analyses.
26
+ *
27
+ * To enter the tooltip UI's [input mode](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/options/TooltipOptions/#inputEnabled),
28
+ * press the `Tab` key while drawing a new feature, or when editing a point, mesh, or a selected vertex.
29
+ *
30
+ * [<video src="https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/editor/editing-constraints.webm" aria-label="sketch-3d-with-constraints" autoplay muted playsinline loop></video>](https://developers.arcgis.com/javascript/latest/sample-code/sketch-3d/)
31
+ *
32
+ * #### Available tooltip inputs and constraints
33
+ *
34
+ * **Direction** field and its respective constraint controls the direction (angle) of a segment (applies to polylines/polygons while drawing).\
35
+ * It has two options that can be set either in the tooltip's UI or with
36
+ * [valueOptions](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/options/ValueOptions/):
37
+ * - **Deflection** – **relative** angle that is measured from the previous segment (default).
38
+ * Positive values are measured in a clockwise direction. Negative values are measured in a counterclockwise direction.
39
+ * - **Direction** – **absolute** angle that is measured clockwise from the main axis of the map (typically north).
40
+ *
41
+ * **Distance** field and its respective constraint controls the length of a segment (applies to polylines/polygons while drawing). Distance field is also shown
42
+ * when editing an edge offset in SceneView.
43
+ *
44
+ * **Coordinates** fields edit the longitude and latitude (in geographic coordinate systems and
45
+ * in Web Mercator) or X and Y values (in projected coordinate systems) of a point or a vertex
46
+ * of a polyline/polygon.\
47
+ * The coordinates can be entered as separate values or as a latitude+longitude pair. In case of the latter,
48
+ * the pair can be typed or pasted into either of the two coordinate fields and the input is converted to decimal degree format.
49
+ * The coordinates may use DD (decimal degrees), DDM (degrees and decimal minutes), or DMS (degrees, minutes, and seconds) format.
50
+ * See more about [supported latitude/longitude strings](https://developers.arcgis.com/javascript/latest/references/core/geometry/coordinateFormatter/#fromLatitudeLongitude).
51
+ *
52
+ * **Elevation (Z)** field and its respective constraint edits the Z value of a point or a vertex of a polyline/polygon geometry.\
53
+ * When drawing polygon or polyline segments, the Z (elevation) field is locked by default.
54
+ * This means that all vertices use the Z value of the first vertex. The constraint can be unlocked in the tooltips' input mode.
55
+ *
56
+ * **Orientation** field edits the orientation of a mesh. The angle is measured clockwise from the main axis
57
+ * of the map (typically north).\
58
+ * Note that the orientation field is connected to the mesh geometry's
59
+ * [rotation transform](https://developers.arcgis.com/javascript/latest/references/core/geometry/support/MeshTransform/#rotationAngle) property.
60
+ * The latter is an arithmetic rotation which is measured counterclockwise from the 3 o'clock position (typically east).
61
+ *
62
+ * **Scale** field edits the scale of a mesh.
63
+ *
64
+ * *The following fields are read-only: **Total length** (for polylines only), **Area** (for polygons only),
65
+ * or fields shown when dragging the manipulators, such as relative **Distance**, **Radius**, relative **Rotation**, relative **Scale**, and **Size**.*
66
+ *
67
+ * ##### Considerations when using distance, direction, and deflection constraints
68
+ *
69
+ * - In geographic coordinate systems (GCS) and in Web Mercator, the constraints are computed geodetically.
70
+ * - In projected coordinate systems (PCS), apart from Web Mercator, the constraints are computed in a Euclidean manner (in the respective PCS).
71
+ * - In 3D, the distance, direction, and deflection constraints are computed on a horizontal plane, dependent on the view's spatial reference.
72
+ *
73
+ * #### Available gestures
74
+ *
75
+ * Gesture | Action |
76
+ * ---------|---------|
77
+ * `Tab` | Activates the input mode and focuses on the next field. |
78
+ * Input value + `Tab` | Applies the constraint and focuses on the next field. |
79
+ * Empty value + `Tab` | Removes the constraint and focuses on the next field. |
80
+ * Input value + `Enter` | Applies the constraint and closes the input mode. |
81
+ * Empty value + `Enter` | Removes the constraint and closes the input mode. |
82
+ * Lock icon | Toggles the constraint on and off. |
83
+ * `Esc` | Closes the input mode but keeps any applied constraints. |
84
+ * Left-click-drag (on tooltip header) | Allows to change the position of the tooltip in input mode. |
85
+ *
86
+ * @since 5.2
87
+ * @see [LabelOptions](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/options/LabelOptions/)
88
+ * @see [ValueOptions](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/options/ValueOptions/)
89
+ * @see [Sample - Sketch in 3D](https://developers.arcgis.com/javascript/latest/sample-code/sketch-3d/)
90
+ * @see [Sample - Edit features in 3D with the Editor widget](https://developers.arcgis.com/javascript/latest/sample-code/editor-3d/)
91
+ */
92
+ export default class TooltipOptions extends Accessor {
93
+ /** @since 5.2 */
94
+ constructor(properties?: TooltipOptionsProperties);
95
+ /**
96
+ * Effective value of `enabled` considering the state of `forceEnabled`.
97
+ *
98
+ * @internal
99
+ */
100
+ get effectiveEnabled(): boolean;
101
+ /**
102
+ * Configuration for elevation values displayed in the tooltip.
103
+ *
104
+ * @internal
105
+ * @since 5.2
106
+ */
107
+ get elevation(): ElevationOptions;
108
+ set elevation(value: ElevationOptionsProperties);
109
+ /**
110
+ * Whether tooltips are shown while sketching, editing or placing analyses.
111
+ *
112
+ * @default false
113
+ * @since 5.2
114
+ */
115
+ accessor enabled: boolean;
116
+ /**
117
+ * Temporary override option for `enabled`. Can for example be used to allow a keybinding to
118
+ * temporarily show the tooltips.
119
+ *
120
+ * @default false
121
+ * @internal
122
+ */
123
+ accessor forceEnabled: boolean;
124
+ /**
125
+ * A custom help message that is displayed at the bottom of the tooltip. If not set, the default
126
+ * help message based on the current state of the tool is shown.
127
+ *
128
+ * @since 5.2
129
+ */
130
+ accessor helpMessage: string | null | undefined;
131
+ /**
132
+ * An icon that is displayed next to the help message at the bottom of the tooltip. If not set,
133
+ * the default info icon is shown.
134
+ *
135
+ * @since 5.2
136
+ */
137
+ accessor helpMessageIcon: Icon["icon"] | null | undefined;
138
+ /**
139
+ * Whether users can focus the tooltip and input constraint values.
140
+ *
141
+ * @default true
142
+ * @since 5.2
143
+ */
144
+ accessor inputEnabled: boolean;
145
+ /**
146
+ * The elements that are displayed within the tooltip.
147
+ *
148
+ * @since 5.2
149
+ */
150
+ get visibleElements(): TooltipVisibleElements;
151
+ set visibleElements(value: TooltipVisibleElementsProperties);
152
+ }
@@ -0,0 +1,2 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
+ import{__decorate as e}from"tslib";import o from"../../../core/Accessor.js";import{property as t,subclass as l}from"../../../core/accessorSupport/decorators.js";import{ElevationOptions as i}from"./ElevationOptions.js";import s from"./TooltipVisibleElements.js";let p=class extends o{constructor(e){super(e),this.enabled=!1,this.forceEnabled=!1,this.helpMessage=null,this.helpMessageIcon=null,this.inputEnabled=!0,this.elevation=new i,this.placement="auto",this.offset=null,this.visibleElements=new s,this.visualVariables=null,this.xyMode="auto"}get effectiveEnabled(){return this.forceEnabled||this.enabled}};e([t({type:Boolean,nonNullable:!0})],p.prototype,"enabled",void 0),e([t()],p.prototype,"forceEnabled",void 0),e([t()],p.prototype,"effectiveEnabled",null),e([t()],p.prototype,"helpMessage",void 0),e([t()],p.prototype,"helpMessageIcon",void 0),e([t({type:Boolean,nonNullable:!0})],p.prototype,"inputEnabled",void 0),e([t({type:i,nonNullable:!0})],p.prototype,"elevation",void 0),e([t()],p.prototype,"placement",void 0),e([t()],p.prototype,"offset",void 0),e([t({type:s,nonNullable:!0})],p.prototype,"visibleElements",void 0),e([t()],p.prototype,"visualVariables",void 0),e([t()],p.prototype,"xyMode",void 0),p=e([l("esri.views.interactive.options.TooltipOptions")],p);const n=p;export{n as default};
@@ -0,0 +1,105 @@
1
+ import type Accessor from "../../../core/Accessor.js";
2
+
3
+ /** @since 5.2 */
4
+ export interface TooltipVisibleElementsProperties extends Partial<Pick<TooltipVisibleElements, "area" | "coordinates" | "direction" | "distance" | "elevation" | "header" | "helpMessage" | "orientation" | "radius" | "rotation" | "scale" | "size" | "totalLength">> {}
5
+
6
+ /**
7
+ * The elements that are displayed within the tooltip while sketching, editing or placing analyses.
8
+ *
9
+ * @since 5.2
10
+ */
11
+ export default class TooltipVisibleElements extends Accessor {
12
+ /** @since 5.2 */
13
+ constructor(properties?: TooltipVisibleElementsProperties);
14
+ /**
15
+ * When set to `false`, the area is not shown in the tooltip.
16
+ *
17
+ * @default true
18
+ * @since 5.2
19
+ */
20
+ accessor area: boolean;
21
+ /**
22
+ * When set to `false`, the coordinate is not shown in the tooltip.
23
+ *
24
+ * @default true
25
+ * @since 5.2
26
+ */
27
+ accessor coordinates: boolean;
28
+ /**
29
+ * When set to `false`, the direction (or deflection angle) is not shown in the tooltip.
30
+ *
31
+ * @default true
32
+ * @since 5.2
33
+ */
34
+ accessor direction: boolean;
35
+ /**
36
+ * When set to `false`, the distance is not shown in the tooltip.
37
+ *
38
+ * @default true
39
+ * @since 5.2
40
+ */
41
+ accessor distance: boolean;
42
+ /**
43
+ * When set to `false`, the elevation is not shown in the tooltip.
44
+ *
45
+ * @default true
46
+ * @since 5.2
47
+ */
48
+ accessor elevation: boolean;
49
+ /**
50
+ * When set to `false`, the header at the top of the tooltip is not shown, when in input mode.
51
+ *
52
+ * @default true
53
+ * @since 5.2
54
+ */
55
+ accessor header: boolean;
56
+ /**
57
+ * When set to `false`, the help message at the bottom of the tooltip is not shown.
58
+ *
59
+ * @default false
60
+ * @since 5.2
61
+ */
62
+ accessor helpMessage: boolean;
63
+ /**
64
+ * When set to `false`, the orientation is not shown in the tooltip.
65
+ *
66
+ * @default true
67
+ * @since 5.2
68
+ */
69
+ accessor orientation: boolean;
70
+ /**
71
+ * When set to `false`, the radius is not shown in the tooltip.
72
+ *
73
+ * @default true
74
+ * @since 5.2
75
+ */
76
+ accessor radius: boolean;
77
+ /**
78
+ * When set to `false`, the rotation is not shown in the tooltip.
79
+ *
80
+ * @default true
81
+ * @since 5.2
82
+ */
83
+ accessor rotation: boolean;
84
+ /**
85
+ * When set to `false`, the scale is not shown in the tooltip.
86
+ *
87
+ * @default true
88
+ * @since 5.2
89
+ */
90
+ accessor scale: boolean;
91
+ /**
92
+ * When set to `false`, the size is not shown in the tooltip.
93
+ *
94
+ * @default true
95
+ * @since 5.2
96
+ */
97
+ accessor size: boolean;
98
+ /**
99
+ * When set to `false`, the total length is not shown in the tooltip.
100
+ *
101
+ * @default true
102
+ * @since 5.2
103
+ */
104
+ accessor totalLength: boolean;
105
+ }
@@ -0,0 +1,2 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
+ import{__decorate as o}from"tslib";import e from"../../../core/Accessor.js";import{property as t,subclass as l}from"../../../core/accessorSupport/decorators.js";let n=class extends e{constructor(o){super(o),this.area=!0,this.coordinates=!0,this.direction=!0,this.distance=!0,this.elevation=!0,this.header=!0,this.helpMessage=!1,this.orientation=!0,this.radius=!0,this.rotation=!0,this.scale=!0,this.size=!0,this.totalLength=!0}};o([t({type:Boolean,nonNullable:!0})],n.prototype,"area",void 0),o([t({type:Boolean,nonNullable:!0})],n.prototype,"coordinates",void 0),o([t({type:Boolean,nonNullable:!0})],n.prototype,"direction",void 0),o([t({type:Boolean,nonNullable:!0})],n.prototype,"distance",void 0),o([t({type:Boolean,nonNullable:!0})],n.prototype,"elevation",void 0),o([t({type:Boolean,nonNullable:!0})],n.prototype,"header",void 0),o([t({type:Boolean,nonNullable:!0})],n.prototype,"helpMessage",void 0),o([t({type:Boolean,nonNullable:!0})],n.prototype,"orientation",void 0),o([t({type:Boolean,nonNullable:!0})],n.prototype,"radius",void 0),o([t({type:Boolean,nonNullable:!0})],n.prototype,"rotation",void 0),o([t({type:Boolean,nonNullable:!0})],n.prototype,"scale",void 0),o([t({type:Boolean,nonNullable:!0})],n.prototype,"size",void 0),o([t({type:Boolean,nonNullable:!0})],n.prototype,"totalLength",void 0),n=o([l("esri.views.interactive.options.TooltipVisibleElements")],n);const i=n;export{i as default};
@@ -0,0 +1,63 @@
1
+ import type Accessor from "../../../core/Accessor.js";
2
+ import type Units from "../support/Units.js";
3
+ import type { DirectionMode } from "../support/types.js";
4
+ import type { UnitsProperties } from "../support/Units.js";
5
+
6
+ /** @since 5.2 */
7
+ export interface ValueOptionsProperties extends Partial<Pick<ValueOptions, "directionMode">> {
8
+ /**
9
+ * Units used for displaying values in the UI.
10
+ *
11
+ * @since 5.2
12
+ */
13
+ displayUnits?: UnitsProperties;
14
+ /**
15
+ * Units used for interpreting input values.
16
+ *
17
+ * @since 5.2
18
+ */
19
+ inputUnits?: UnitsProperties;
20
+ }
21
+
22
+ /**
23
+ * The `ValueOptions` class allows users to configure how numerical values and
24
+ * constraints behave while sketching, editing or placing analyses.
25
+ *
26
+ * @since 5.2
27
+ * @see [LabelOptions](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/options/LabelOptions/)
28
+ * @see [TooltipOptions](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/options/TooltipOptions/)
29
+ * @see [Editor](https://developers.arcgis.com/javascript/latest/references/core/widgets/Editor/)
30
+ * @see [Sample - Sketch in 3D](https://developers.arcgis.com/javascript/latest/sample-code/sketch-3d/)
31
+ * @see [Sample - Edit features in 3D with the Editor widget](https://developers.arcgis.com/javascript/latest/sample-code/editor-3d/)
32
+ */
33
+ export default class ValueOptions extends Accessor {
34
+ /** @since 5.2 */
35
+ constructor(properties?: ValueOptionsProperties);
36
+ /**
37
+ * How direction values are displayed and, in case of input, how they are interpreted.
38
+ *
39
+ * - When set to "relative", the direction (also called deflection) is measured relative to the previous segment.
40
+ * Positive values are measured in a clockwise direction. Negative values are measured in a counterclockwise direction.
41
+ * - When set to "absolute", the direction is measured clockwise from the main axis of the map (typically north).
42
+ *
43
+ * The direction mode can be toggled in the [tooltip's](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/options/TooltipOptions/) UI, provided the input mode is active.
44
+ *
45
+ * @default "relative"
46
+ * @since 5.2
47
+ */
48
+ accessor directionMode: DirectionMode;
49
+ /**
50
+ * Units used for displaying values in the UI.
51
+ *
52
+ * @since 5.2
53
+ */
54
+ get displayUnits(): Units;
55
+ set displayUnits(value: UnitsProperties);
56
+ /**
57
+ * Units used for interpreting input values.
58
+ *
59
+ * @since 5.2
60
+ */
61
+ get inputUnits(): Units;
62
+ set inputUnits(value: UnitsProperties);
63
+ }
@@ -0,0 +1,2 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
+ import{__decorate as t}from"tslib";import e from"../../../core/Accessor.js";import{property as i,subclass as s}from"../../../core/accessorSupport/decorators.js";import o from"../support/Units.js";let r=class extends e{constructor(t){super(t),this.directionMode="relative",this.relativeDirectionIsBilateral=!1}get effectiveDirectionMode(){switch(this.directionMode){case"relative":return this.relativeDirectionIsBilateral?"relative-bilateral":"relative";case"absolute":return"absolute"}}get displayUnits(){return this._get("displayUnits")??new o}set displayUnits(t){this._set("displayUnits",t)}get inputUnits(){return this._get("inputUnits")??new o}set inputUnits(t){this._set("inputUnits",t)}};t([i({type:String,nonNullable:!0})],r.prototype,"directionMode",void 0),t([i({type:Boolean,nonNullable:!0})],r.prototype,"relativeDirectionIsBilateral",void 0),t([i()],r.prototype,"effectiveDirectionMode",null),t([i({type:o,nonNullable:!0})],r.prototype,"displayUnits",null),t([i({type:o,nonNullable:!0})],r.prototype,"inputUnits",null),r=t([s("esri.views.interactive.options.ValueOptions")],r);const n=r;export{n as default};
@@ -1,6 +1,8 @@
1
- import type Accessor from "../../../core/Accessor.js";
1
+ import type LabelOptions from "../options/LabelOptions.js";
2
+ import type { LabelOptionsProperties } from "../options/LabelOptions.js";
2
3
 
3
- export interface SketchLabelOptionsProperties extends Partial<Pick<SketchLabelOptions, "enabled">> {}
4
+ /** @deprecated since 5.2. Use [LabelOptionsProperties](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/options/LabelOptions/#LabelOptionsProperties) instead. */
5
+ export interface SketchLabelOptionsProperties extends LabelOptionsProperties {}
4
6
 
5
7
  /**
6
8
  * The `SketchLabelOptions` allows users to configure the labels which are shown next to each
@@ -51,6 +53,7 @@ export interface SketchLabelOptionsProperties extends Partial<Pick<SketchLabelOp
51
53
  *
52
54
  * </details>
53
55
  *
56
+ * @deprecated since 5.2. Use [LabelOptions](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/options/LabelOptions/) instead.
54
57
  * @since 4.24
55
58
  * @see [Sketch](https://developers.arcgis.com/javascript/latest/references/core/widgets/Sketch/)
56
59
  * @see [SketchViewModel](https://developers.arcgis.com/javascript/latest/references/core/widgets/Sketch/SketchViewModel/)
@@ -60,12 +63,7 @@ export interface SketchLabelOptionsProperties extends Partial<Pick<SketchLabelOp
60
63
  * @see [Sample - Sketch in 3D](https://developers.arcgis.com/javascript/latest/sample-code/sketch-3d/)
61
64
  * @see [Sample - Edit features in 3D with the Editor widget](https://developers.arcgis.com/javascript/latest/sample-code/editor-3d/)
62
65
  */
63
- export default class SketchLabelOptions extends Accessor {
66
+ export default class SketchLabelOptions extends LabelOptions {
67
+ /** @since 5.2 */
64
68
  constructor(properties?: SketchLabelOptionsProperties);
65
- /**
66
- * Whether labels are shown next to each segment of the graphic being sketched.
67
- *
68
- * @default false
69
- */
70
- accessor enabled: boolean;
71
69
  }
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import{__decorate as e}from"tslib";import o from"../../../core/Accessor.js";import{property as t,subclass as r}from"../../../core/accessorSupport/decorators.js";let s=class extends o{constructor(e){super(e),this.enabled=!1}};e([t({type:Boolean,nonNullable:!0})],s.prototype,"enabled",void 0),s=e([r("esri.views.interactive.sketch.SketchLabelOptions")],s);export{s as default};
2
+ import{__decorate as t}from"tslib";import{subclass as o}from"../../../core/accessorSupport/decorators.js";import s from"../options/LabelOptions.js";let e=class extends s{constructor(t){super(t)}};e=t([o("esri.views.interactive.sketch.SketchLabelOptions")],e);export{e as default};
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import{__decorate as o}from"tslib";import t from"../../../core/Accessor.js";import{property as e,subclass as r}from"../../../core/accessorSupport/decorators.js";let s=class extends t{constructor(o){super(o),this.mode="absolute-height"}toJSON(){return{mode:this.mode}}};o([e({type:String,nonNullable:!0})],s.prototype,"mode",void 0),s=o([r("esri.views.interactive.sketch.SketchTooltipElevationOptions")],s);export{s as SketchTooltipElevationOptions};
2
+ import{__decorate as o}from"tslib";import{subclass as t}from"../../../core/accessorSupport/decorators.js";import{ElevationOptions as r}from"../options/ElevationOptions.js";let s=class extends r{constructor(o){super(o)}};s=o([t("esri.views.interactive.sketch.SketchTooltipElevationOptions")],s);export{s as SketchTooltipElevationOptions};
@@ -1,16 +1,11 @@
1
- import type Accessor from "../../../core/Accessor.js";
2
- import type SketchTooltipVisibleElements from "./SketchTooltipVisibleElements.js";
3
- import type { Icon } from "@esri/calcite-components/components/calcite-icon";
4
- import type { SketchTooltipVisibleElementsProperties } from "./SketchTooltipVisibleElements.js";
1
+ import type TooltipOptions from "../options/TooltipOptions.js";
2
+ import type { TooltipOptionsProperties } from "../options/TooltipOptions.js";
5
3
 
6
- export interface SketchTooltipOptionsProperties extends Partial<Pick<SketchTooltipOptions, "enabled" | "forceEnabled" | "helpMessage" | "helpMessageIcon" | "inputEnabled">> {
7
- /** The elements that are displayed within the tooltip while sketching. */
8
- visibleElements?: SketchTooltipVisibleElementsProperties;
9
- }
4
+ /** @deprecated since 5.2. Use [TooltipOptionsProperties](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/options/TooltipOptions/#TooltipOptionsProperties) instead. */
5
+ export interface SketchTooltipOptionsProperties extends TooltipOptionsProperties {}
10
6
 
11
7
  /**
12
- * The `SketchTooltipOptions` allows users to configure the tooltips which are shown while
13
- * sketching and editing.
8
+ * The `SketchTooltipOptions` allows users to configure the tooltips which are shown while sketching and editing.
14
9
  *
15
10
  * To enter the tooltip UI's [input mode](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/sketch/SketchTooltipOptions/#inputEnabled),
16
11
  * press the `Tab` key while drawing a new feature, or when editing a point, mesh, or a selected vertex.
@@ -71,6 +66,7 @@ export interface SketchTooltipOptionsProperties extends Partial<Pick<SketchToolt
71
66
  * `Esc` | Closes the input mode but keeps any applied constraints. |
72
67
  * Left-click-drag (on tooltip header) | Allows to change the position of the tooltip in input mode. |
73
68
  *
69
+ * @deprecated since 5.2. Use [TooltipOptions](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/options/TooltipOptions/) instead.
74
70
  * @since 4.24
75
71
  * @see [Sketch](https://developers.arcgis.com/javascript/latest/references/core/widgets/Sketch/)
76
72
  * @see [SketchViewModel](https://developers.arcgis.com/javascript/latest/references/core/widgets/Sketch/SketchViewModel/)
@@ -80,45 +76,7 @@ export interface SketchTooltipOptionsProperties extends Partial<Pick<SketchToolt
80
76
  * @see [Sample - Sketch in 3D](https://developers.arcgis.com/javascript/latest/sample-code/sketch-3d/)
81
77
  * @see [Sample - Edit features in 3D with the Editor widget](https://developers.arcgis.com/javascript/latest/sample-code/editor-3d/)
82
78
  */
83
- export default class SketchTooltipOptions extends Accessor {
79
+ export default class SketchTooltipOptions extends TooltipOptions {
80
+ /** @since 5.2 */
84
81
  constructor(properties?: SketchTooltipOptionsProperties);
85
- /**
86
- * Effective value of `enabled` considering the state of `forceEnabled`.
87
- *
88
- * @internal
89
- */
90
- get effectiveEnabled(): boolean;
91
- /**
92
- * Whether tooltips are shown while sketching and editing.
93
- *
94
- * @default false
95
- */
96
- accessor enabled: boolean;
97
- /**
98
- * Temporary override option for `enabled`. Can for example be used to allow a keybinding to
99
- * temporarily show the tooltips.
100
- *
101
- * @default false
102
- * @internal
103
- */
104
- accessor forceEnabled: boolean;
105
- /**
106
- * A custom help message that is displayed at the bottom of the tooltip. If not set, the default
107
- * help message based on the current state of the tool is shown.
108
- */
109
- accessor helpMessage: string | null | undefined;
110
- /**
111
- * An icon that is displayed next to the help message at the bottom of the tooltip. If not set,
112
- * the default info icon is shown.
113
- */
114
- accessor helpMessageIcon: Icon["icon"] | null | undefined;
115
- /**
116
- * Whether users can focus the tooltip and input constraint values.
117
- *
118
- * @default true
119
- */
120
- accessor inputEnabled: boolean;
121
- /** The elements that are displayed within the tooltip while sketching. */
122
- get visibleElements(): SketchTooltipVisibleElements;
123
- set visibleElements(value: SketchTooltipVisibleElementsProperties);
124
82
  }