@arcgis/core 5.1.0-next.77 → 5.1.0-next.79

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 (589) hide show
  1. package/analysis/ElevationProfile/ElevationProfileGroup.d.ts +74 -0
  2. package/analysis/ElevationProfile/ElevationProfileGroup.js +2 -0
  3. package/analysis/ElevationProfileAnalysis.d.ts +29 -14
  4. package/analysis/ElevationProfileAnalysis.js +1 -1
  5. package/analysis/ShadowCast/DiscreteOptions.d.ts +33 -6
  6. package/analysis/ShadowCast/DiscreteOptions.js +1 -1
  7. package/analysis/ShadowCast/MinDurationOptions.d.ts +6 -4
  8. package/analysis/ShadowCast/TotalDurationOptions.d.ts +33 -6
  9. package/analysis/ShadowCast/TotalDurationOptions.js +1 -1
  10. package/analysis/ShadowCast/colorStopsUtils.js +2 -0
  11. package/analysis/ShadowCastAnalysis.d.ts +24 -1
  12. package/analysis/ShadowCastAnalysis.js +1 -1
  13. package/analysis/Viewshed.d.ts +27 -0
  14. package/analysis/Viewshed.js +1 -1
  15. package/analysis/ViewshedAnalysis.js +1 -1
  16. package/applications/Components/OrientedImageryViewer/ImageViewer/utils.d.ts +34 -0
  17. package/applications/Components/OrientedImageryViewer/ImageViewer/utils.js +2 -0
  18. package/arcade/FunctionWrapper.js +1 -1
  19. package/arcade/arcadeAsyncRuntime.js +1 -1
  20. package/arcade/arcadeCompiler.js +1 -1
  21. package/arcade/arcadeRuntime.js +1 -1
  22. package/arcade/compilerUtils.js +1 -1
  23. package/arcade/debug.d.ts +139 -0
  24. package/arcade/debug.js +2 -0
  25. package/arcade/featureSetCollection.js +1 -1
  26. package/arcade/featureSetUtils.js +1 -1
  27. package/arcade/featureset/actions/GroupBy.js +1 -1
  28. package/arcade/featureset/actions/OrderBy.js +1 -1
  29. package/arcade/functions/featuresetstring.js +1 -1
  30. package/arcade/languageUtils.js +1 -1
  31. package/arcade.d.ts +46 -2
  32. package/arcade.js +1 -1
  33. package/assets/esri/core/workers/RemoteClient.js +1 -1
  34. package/assets/esri/core/workers/chunks/{1c7183551f5269bdcf13.js → 01bd1b86ba899c6aa4c0.js} +1 -1
  35. package/assets/esri/core/workers/chunks/{1f8ccf96069ac3a40c3d.js → 01ee18782a50279f907e.js} +1 -1
  36. package/assets/esri/core/workers/chunks/{34ea3ed78041437a8fc8.js → 022067e807905cabeaa1.js} +1 -1
  37. package/assets/esri/core/workers/chunks/{537fe2522dff1e6ce03b.js → 052cdc7aaa803b5873f0.js} +1 -1
  38. package/assets/esri/core/workers/chunks/{8d75f6f27c1c17c33992.js → 056fd7847caaff2c9514.js} +1 -1
  39. package/assets/esri/core/workers/chunks/{8acee3fba488f202f82f.js → 05c3146d87d917606193.js} +1 -1
  40. package/assets/esri/core/workers/chunks/{75d5ea0da181f9e7425f.js → 0aebcbf41cb193e76809.js} +11 -11
  41. package/assets/esri/core/workers/chunks/{54023458195549f66215.js → 0b77c124b743067e4155.js} +1 -1
  42. package/assets/esri/core/workers/chunks/10408183681fd6c7b4ed.js +2 -0
  43. package/assets/esri/core/workers/chunks/17acbf40e7c1cb42d9bd.js +1 -0
  44. package/assets/esri/core/workers/chunks/{baeb96aef03d4c566af7.js → 1f53620f82cc7c3daabe.js} +1 -1
  45. package/assets/esri/core/workers/chunks/2387613b855771a3e537.js +1 -0
  46. package/assets/esri/core/workers/chunks/283d39dfb1625b5a74db.js +1 -0
  47. package/assets/esri/core/workers/chunks/{7595ceba529ed01c7590.js → 2c87c3112a43db8624f6.js} +1 -1
  48. package/assets/esri/core/workers/chunks/{13e60f19f436b8d683ae.js → 3c9482764c9e4f8bcbb0.js} +1 -1
  49. package/assets/esri/core/workers/chunks/{5e1b847b116d21908a54.js → 3e37019eee1c49d2bf64.js} +1 -1
  50. package/assets/esri/core/workers/chunks/45c83eb7c2a06166e3b0.js +1 -0
  51. package/assets/esri/core/workers/chunks/48acd146bf0241d87647.js +1 -0
  52. package/assets/esri/core/workers/chunks/5818f1f526577068d6ca.js +2 -0
  53. package/assets/esri/core/workers/chunks/5b6f2bfdcdd207d8ae42.js +1 -0
  54. package/assets/esri/core/workers/chunks/{330b47ac0759c3c35cc5.js → 5ccc325d83cec4f5ccdb.js} +1 -1
  55. package/assets/esri/core/workers/chunks/{30e710ec4d22c43d4e7e.js → 5cffc7b49966201eccdb.js} +1 -1
  56. package/assets/esri/core/workers/chunks/{1a87e9bbd85ba29b1514.js → 5da2051f548c2942e01a.js} +1 -1
  57. package/assets/esri/core/workers/chunks/5ec66e39e53c11e75179.js +2 -0
  58. package/assets/esri/core/workers/chunks/{0b1454a77a6a682541dc.js.LICENSE.txt → 5ec66e39e53c11e75179.js.LICENSE.txt} +9 -1
  59. package/assets/esri/core/workers/chunks/5f6fd20a7f4e80eafa25.js +1 -0
  60. package/assets/esri/core/workers/chunks/{abc06d10c7ac8ba5b0e4.js → 67ec1694d6e18b7c234c.js} +1 -1
  61. package/assets/esri/core/workers/chunks/{32e22d6eee9fed1f70b0.js → 6d696beddcc5fbed5875.js} +1 -1
  62. package/assets/esri/core/workers/chunks/{f590b60fca607d66001a.js → 716a4d7e8b908b81870b.js} +1 -1
  63. package/assets/esri/core/workers/chunks/71fe127734f33d020a44.js +1 -0
  64. package/assets/esri/core/workers/chunks/7cdd0492b2191df95102.js +2 -0
  65. package/assets/esri/core/workers/chunks/7cea68257d24ffd205bb.js +1 -0
  66. package/assets/esri/core/workers/chunks/7e530e635325dba07864.js +1 -0
  67. package/assets/esri/core/workers/chunks/{6b66fc32451433129a88.js → 8508f238d99021e87f71.js} +1 -1
  68. package/assets/esri/core/workers/chunks/{bc75ab48f4c7609ef09d.js → 85d3475667c503ec4fc6.js} +1 -1
  69. package/assets/esri/core/workers/chunks/8f6f5dad52747d252aac.js +596 -0
  70. package/assets/esri/core/workers/chunks/{d950d5c2844206502ff0.js → 992cd87ba0ab6346f692.js} +1 -1
  71. package/assets/esri/core/workers/chunks/{73c87eb9bd8f0f848481.js → 9c11e1fe785e1385fdb1.js} +1 -1
  72. package/assets/esri/core/workers/chunks/{5ed8d8b5336c81fbcda3.js → 9d216e30d04ea21fc8a2.js} +1 -1
  73. package/assets/esri/core/workers/chunks/a54aa93b6012a2597f82.js +1 -0
  74. package/assets/esri/core/workers/chunks/{cf14b3a44705dacefac4.js → a9b5ce00323cd5574bf7.js} +1 -1
  75. package/assets/esri/core/workers/chunks/ae6b3dfe5f757df539d6.js +1 -0
  76. package/assets/esri/core/workers/chunks/b14c4c3f295970f731ab.js +1 -0
  77. package/assets/esri/core/workers/chunks/{c70df6ed190f9ebcf6aa.js → bf2c202dec5ab7bc770b.js} +1 -1
  78. package/assets/esri/core/workers/chunks/c1d4110aa494a1dba3c4.js +1 -0
  79. package/assets/esri/core/workers/chunks/{9d6491f996eeb0c646ed.js → c442916805975744dd92.js} +1 -1
  80. package/assets/esri/core/workers/chunks/dacc2e5fa462495ed1cc.js +2 -0
  81. package/assets/esri/core/workers/chunks/f227b34cce6843df0fb6.js +1 -0
  82. package/assets/esri/core/workers/chunks/{dda2cb5c073d1e65f14f.js → f43d628d47eec7d530c7.js} +1 -1
  83. package/assets/esri/core/workers/chunks/f7531aa69a87814c60d1.js +1 -0
  84. package/assets/esri/core/workers/chunks/{bf8f603848bad4a7deb4.js → fb100935fd8948d779f5.js} +1 -1
  85. package/assets/esri/core/workers/chunks/{88b480a1d1fb01778798.js → fb9e3e7cd532ac4353f1.js} +25 -30
  86. package/assets/esri/core/workers/chunks/fc6ca7ffb9f1b875059c.js +1 -0
  87. package/assets/esri/core/workers/chunks/{14eb2cc8e2ad6d8d03fd.js → ffc4f3406ce383b9bd88.js} +1 -1
  88. package/assets/esri/themes/base/_core.scss +2 -0
  89. package/assets/esri/themes/base/widgets/_BatchAttributeForm.scss +6 -0
  90. package/assets/esri/themes/base/widgets/_PluginSettingsControls.scss +29 -0
  91. package/assets/esri/themes/dark/main.css +1 -1
  92. package/assets/esri/themes/light/main.css +1 -1
  93. package/assets/esri/themes/light/view.css +1 -1
  94. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer.json +1 -1
  95. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ar.json +1 -1
  96. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_bg.json +1 -1
  97. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_bs.json +1 -1
  98. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ca.json +1 -1
  99. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_cs.json +1 -1
  100. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_da.json +1 -1
  101. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_de.json +1 -1
  102. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_el.json +1 -1
  103. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_en.json +1 -1
  104. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_es.json +1 -1
  105. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_et.json +1 -1
  106. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_fi.json +1 -1
  107. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_fr.json +1 -1
  108. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_he.json +1 -1
  109. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_hr.json +1 -1
  110. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_hu.json +1 -1
  111. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_id.json +1 -1
  112. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_it.json +1 -1
  113. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ja.json +1 -1
  114. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ko.json +1 -1
  115. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_lt.json +1 -1
  116. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_lv.json +1 -1
  117. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_nl.json +1 -1
  118. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_no.json +1 -1
  119. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_pl.json +1 -1
  120. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_pt-BR.json +1 -1
  121. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_pt-PT.json +1 -1
  122. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ro.json +1 -1
  123. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ru.json +1 -1
  124. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_sk.json +1 -1
  125. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_sl.json +1 -1
  126. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_sr.json +1 -1
  127. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_sv.json +1 -1
  128. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_th.json +1 -1
  129. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_tr.json +1 -1
  130. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_uk.json +1 -1
  131. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_vi.json +1 -1
  132. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_zh-CN.json +1 -1
  133. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_zh-HK.json +1 -1
  134. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_zh-TW.json +1 -1
  135. package/assets/esri/widgets/Sketch/t9n/Sketch.json +1 -1
  136. package/assets/esri/widgets/Sketch/t9n/Sketch_ar.json +1 -1
  137. package/assets/esri/widgets/Sketch/t9n/Sketch_bg.json +1 -1
  138. package/assets/esri/widgets/Sketch/t9n/Sketch_bs.json +1 -1
  139. package/assets/esri/widgets/Sketch/t9n/Sketch_ca.json +1 -1
  140. package/assets/esri/widgets/Sketch/t9n/Sketch_cs.json +1 -1
  141. package/assets/esri/widgets/Sketch/t9n/Sketch_da.json +1 -1
  142. package/assets/esri/widgets/Sketch/t9n/Sketch_de.json +1 -1
  143. package/assets/esri/widgets/Sketch/t9n/Sketch_el.json +1 -1
  144. package/assets/esri/widgets/Sketch/t9n/Sketch_en.json +1 -1
  145. package/assets/esri/widgets/Sketch/t9n/Sketch_es.json +1 -1
  146. package/assets/esri/widgets/Sketch/t9n/Sketch_et.json +1 -1
  147. package/assets/esri/widgets/Sketch/t9n/Sketch_fi.json +1 -1
  148. package/assets/esri/widgets/Sketch/t9n/Sketch_fr.json +1 -1
  149. package/assets/esri/widgets/Sketch/t9n/Sketch_he.json +1 -1
  150. package/assets/esri/widgets/Sketch/t9n/Sketch_hr.json +1 -1
  151. package/assets/esri/widgets/Sketch/t9n/Sketch_hu.json +1 -1
  152. package/assets/esri/widgets/Sketch/t9n/Sketch_id.json +1 -1
  153. package/assets/esri/widgets/Sketch/t9n/Sketch_it.json +1 -1
  154. package/assets/esri/widgets/Sketch/t9n/Sketch_ja.json +1 -1
  155. package/assets/esri/widgets/Sketch/t9n/Sketch_ko.json +1 -1
  156. package/assets/esri/widgets/Sketch/t9n/Sketch_lt.json +1 -1
  157. package/assets/esri/widgets/Sketch/t9n/Sketch_lv.json +1 -1
  158. package/assets/esri/widgets/Sketch/t9n/Sketch_nl.json +1 -1
  159. package/assets/esri/widgets/Sketch/t9n/Sketch_no.json +1 -1
  160. package/assets/esri/widgets/Sketch/t9n/Sketch_pl.json +1 -1
  161. package/assets/esri/widgets/Sketch/t9n/Sketch_pt-BR.json +1 -1
  162. package/assets/esri/widgets/Sketch/t9n/Sketch_pt-PT.json +1 -1
  163. package/assets/esri/widgets/Sketch/t9n/Sketch_ro.json +1 -1
  164. package/assets/esri/widgets/Sketch/t9n/Sketch_ru.json +1 -1
  165. package/assets/esri/widgets/Sketch/t9n/Sketch_sk.json +1 -1
  166. package/assets/esri/widgets/Sketch/t9n/Sketch_sl.json +1 -1
  167. package/assets/esri/widgets/Sketch/t9n/Sketch_sr.json +1 -1
  168. package/assets/esri/widgets/Sketch/t9n/Sketch_sv.json +1 -1
  169. package/assets/esri/widgets/Sketch/t9n/Sketch_th.json +1 -1
  170. package/assets/esri/widgets/Sketch/t9n/Sketch_tr.json +1 -1
  171. package/assets/esri/widgets/Sketch/t9n/Sketch_uk.json +1 -1
  172. package/assets/esri/widgets/Sketch/t9n/Sketch_vi.json +1 -1
  173. package/assets/esri/widgets/Sketch/t9n/Sketch_zh-CN.json +1 -1
  174. package/assets/esri/widgets/Sketch/t9n/Sketch_zh-HK.json +1 -1
  175. package/assets/esri/widgets/Sketch/t9n/Sketch_zh-TW.json +1 -1
  176. package/chunks/ImageMaterial.glsl.js +7 -5
  177. package/chunks/SlicePlaneMaterial.glsl.js +21 -13
  178. package/chunks/arcade.js +1 -1
  179. package/chunks/languageUtils.js +1 -1
  180. package/config.js +1 -1
  181. package/core/MapUtils.js +1 -1
  182. package/core/arrayUtils.js +1 -1
  183. package/core/types.d.ts +28 -0
  184. package/form/elements/inputs/MultipleChoiceInput.d.ts +2 -2
  185. package/form/elements/inputs/MultipleChoiceInput.js +1 -1
  186. package/geometry/operators/types.d.ts +2 -2
  187. package/interfaces.d.ts +4 -7
  188. package/kernel.js +1 -1
  189. package/layers/ImageryLayer.d.ts +7 -1
  190. package/layers/ImageryLayer.js +1 -1
  191. package/layers/ImageryTileLayer.d.ts +7 -1
  192. package/layers/ImageryTileLayer.js +1 -1
  193. package/layers/IntegratedMeshLayer.d.ts +18 -14
  194. package/layers/SceneLayer.d.ts +35 -1
  195. package/layers/SceneLayer.js +1 -1
  196. package/layers/WCSLayer.d.ts +7 -1
  197. package/layers/WCSLayer.js +1 -1
  198. package/layers/graphics/controllers/I3SOnDemandController.js +1 -1
  199. package/layers/save/imageryUtils.js +1 -1
  200. package/layers/scene/ModelFileInfo.d.ts +29 -0
  201. package/layers/scene/ModelFileInfo.js +2 -0
  202. package/layers/scene/ModelInfo.d.ts +38 -0
  203. package/layers/scene/ModelInfo.js +2 -0
  204. package/layers/scene/modelQuerySupport.js +2 -0
  205. package/layers/scene/types.d.ts +14 -0
  206. package/layers/support/infoFor3D.js +1 -1
  207. package/layers/support/serviceCapabilitiesUtils.js +1 -1
  208. package/layers/types.d.ts +13 -1
  209. package/layers/video/VideoController.js +1 -1
  210. package/networks/UnitIdentifierManager.d.ts +15 -15
  211. package/networks/UnitIdentifierManager.js +1 -1
  212. package/networks/support/jsonTypes.d.ts +125 -13
  213. package/package.json +4 -4
  214. package/popup/Features.d.ts +1 -7
  215. package/popup/Features.js +1 -1
  216. package/popup/actions.js +1 -1
  217. package/renderers/visualVariables/support/ColorStop.js +1 -1
  218. package/rest/networks/unitIdentifiers/reserve.js +2 -0
  219. package/rest/networks/unitIdentifiers/support/ReserveParameters.js +2 -0
  220. package/rest/networks/unitIdentifiers/support/ResizeParameters.js +1 -1
  221. package/rest/networks/unitIdentifiers/support/UnitQueryResult.js +1 -1
  222. package/support/arcadeUtils.js +1 -1
  223. package/support/revision.js +1 -1
  224. package/views/2d/analysis/ElevationProfile/ElevationProfileVisualization2D.js +1 -1
  225. package/views/2d/analysis/ElevationProfileAnalysisView2D.d.ts +5 -1
  226. package/views/2d/analysis/ElevationProfileAnalysisView2D.js +1 -1
  227. package/views/2d/engine/flow/styles/Imagery.js +1 -1
  228. package/views/2d/engine/flow/styles/Particles.js +1 -1
  229. package/views/2d/engine/flow/styles/Streamlines.js +1 -1
  230. package/views/2d/engine/vectorTiles/Placement.js +1 -1
  231. package/views/2d/engine/vectorTiles/TextShaping.js +1 -1
  232. package/views/2d/engine/webgl/AFeatureTile.js +1 -1
  233. package/views/2d/engine/webgl/AttributeStoreView.js +1 -1
  234. package/views/2d/engine/webgl/GlyphMosaic.js +1 -1
  235. package/views/2d/engine/webgl/GlyphSource.js +1 -1
  236. package/views/2d/engine/webgl/Overlay.js +1 -1
  237. package/views/2d/engine/webgl/OverlayMultipoint.js +1 -1
  238. package/views/2d/engine/webgl/RenderingDevice.js +1 -1
  239. package/views/2d/engine/webgl/TextureManager.js +1 -1
  240. package/views/2d/engine/webgl/effects/HittestEffect.js +1 -1
  241. package/views/2d/engine/webgl/mesh/templates/shapingUtils.js +1 -1
  242. package/views/2d/engine/webgl/shaderGraph/GLSLShaderModule.js +1 -1
  243. package/views/2d/engine/webgl/shaderGraph/GraphShaderModule.js +1 -1
  244. package/views/2d/engine/webgl/shaderGraph/graph/ShaderGraphContext.js +1 -1
  245. package/views/2d/engine/webgl/shaderGraph/techniques/TechniqueProgramCache.js +1 -1
  246. package/views/2d/engine/webgl/shaderGraph/techniques/TestTechnique.js +1 -1
  247. package/views/2d/engine/webgl/shaderGraph/techniques/TextureStatisticsTechnique.js +1 -1
  248. package/views/2d/engine/webgl/shaderGraph/techniques/animated/AAnimatedShader.js +1 -1
  249. package/views/2d/engine/webgl/shaderGraph/techniques/animated/AnimatedTechnique.js +1 -1
  250. package/views/2d/engine/webgl/shaderGraph/techniques/animated/AnimationUniformInfo.js +1 -1
  251. package/views/2d/engine/webgl/shaderGraph/techniques/bitmap/BitmapTechnique.js +1 -1
  252. package/views/2d/engine/webgl/shaderGraph/techniques/blend/BlendTechnique.js +1 -1
  253. package/views/2d/engine/webgl/shaderGraph/techniques/bloom/BloomTechnique.js +1 -1
  254. package/views/2d/engine/webgl/shaderGraph/techniques/blur/BlurTechnique.js +1 -1
  255. package/views/2d/engine/webgl/shaderGraph/techniques/clip/ClipTechnique.js +1 -1
  256. package/views/2d/engine/webgl/shaderGraph/techniques/colorize/ColorizeTechnique.js +1 -1
  257. package/views/2d/engine/webgl/shaderGraph/techniques/dotDensity/DotDensityPointShader.js +1 -1
  258. package/views/2d/engine/webgl/shaderGraph/techniques/dotDensity/DotDensityPolygonShader.js +1 -1
  259. package/views/2d/engine/webgl/shaderGraph/techniques/dotDensity/DotDensityTechnique.js +1 -1
  260. package/views/2d/engine/webgl/shaderGraph/techniques/drop-shadow/DropShadowTechnique.js +1 -1
  261. package/views/2d/engine/webgl/shaderGraph/techniques/featureTechniqueUtils.js +1 -1
  262. package/views/2d/engine/webgl/shaderGraph/techniques/fill/ComplexFillTechnique.js +1 -1
  263. package/views/2d/engine/webgl/shaderGraph/techniques/fill/ComplexOutlineFillTechnique.js +1 -1
  264. package/views/2d/engine/webgl/shaderGraph/techniques/fill/FillTechnique.js +1 -1
  265. package/views/2d/engine/webgl/shaderGraph/techniques/fill/GradientFillTechnique.js +1 -1
  266. package/views/2d/engine/webgl/shaderGraph/techniques/fill/OutlineFillTechnique.js +1 -1
  267. package/views/2d/engine/webgl/shaderGraph/techniques/fill/PatternFillTechnique.js +1 -1
  268. package/views/2d/engine/webgl/shaderGraph/techniques/fill/PatternOutlineFillTechnique.js +1 -1
  269. package/views/2d/engine/webgl/shaderGraph/techniques/flow/FlowTechnique.js +1 -1
  270. package/views/2d/engine/webgl/shaderGraph/techniques/grid/GridTechnique.js +1 -1
  271. package/views/2d/engine/webgl/shaderGraph/techniques/heatmap/HeatmapTechnique.js +1 -1
  272. package/views/2d/engine/webgl/shaderGraph/techniques/labels/LabelTechnique.js +1 -1
  273. package/views/2d/engine/webgl/shaderGraph/techniques/line/GradientStrokeTechnique.js +1 -1
  274. package/views/2d/engine/webgl/shaderGraph/techniques/line/LineTechnique.js +1 -1
  275. package/views/2d/engine/webgl/shaderGraph/techniques/line/TexturedLineTechnique.js +1 -1
  276. package/views/2d/engine/webgl/shaderGraph/techniques/magnifier/MagnifierTechnique.js +1 -1
  277. package/views/2d/engine/webgl/shaderGraph/techniques/markers/MarkerShader.js +1 -1
  278. package/views/2d/engine/webgl/shaderGraph/techniques/markers/MarkerTechnique.js +1 -1
  279. package/views/2d/engine/webgl/shaderGraph/techniques/opacity/OpacityTechnique.js +1 -1
  280. package/views/2d/engine/webgl/shaderGraph/techniques/overlay/OverlayTechnique.js +1 -1
  281. package/views/2d/engine/webgl/shaderGraph/techniques/pieChart/PieChartShader.js +1 -1
  282. package/views/2d/engine/webgl/shaderGraph/techniques/pieChart/PieChartTechnique.js +1 -1
  283. package/views/2d/engine/webgl/shaderGraph/techniques/raster/RasterColorizerTechnique.js +1 -1
  284. package/views/2d/engine/webgl/shaderGraph/techniques/raster/RasterHighlightTechnique.js +1 -1
  285. package/views/2d/engine/webgl/shaderGraph/techniques/raster/VectorFieldTechnique.js +1 -1
  286. package/views/2d/engine/webgl/shaderGraph/techniques/raster/processor/AspectTechnique.js +1 -1
  287. package/views/2d/engine/webgl/shaderGraph/techniques/raster/processor/BandArithmeticTechnique.js +1 -1
  288. package/views/2d/engine/webgl/shaderGraph/techniques/raster/processor/BaseRasterProcessorTechnique.js +1 -1
  289. package/views/2d/engine/webgl/shaderGraph/techniques/raster/processor/ColormapToRGBTechnique.js +1 -1
  290. package/views/2d/engine/webgl/shaderGraph/techniques/raster/processor/CompositeBandTechnique.js +1 -1
  291. package/views/2d/engine/webgl/shaderGraph/techniques/raster/processor/ComputeChangeTechnique.js +1 -1
  292. package/views/2d/engine/webgl/shaderGraph/techniques/raster/processor/ContrastBrightnessTechnique.js +1 -1
  293. package/views/2d/engine/webgl/shaderGraph/techniques/raster/processor/ConvolutionTechnique.js +1 -1
  294. package/views/2d/engine/webgl/shaderGraph/techniques/raster/processor/CurvatureTechnique.js +1 -1
  295. package/views/2d/engine/webgl/shaderGraph/techniques/raster/processor/ExtractBandTechnique.js +1 -1
  296. package/views/2d/engine/webgl/shaderGraph/techniques/raster/processor/FocalStatisticsTechnique.js +1 -1
  297. package/views/2d/engine/webgl/shaderGraph/techniques/raster/processor/GrayscaleTechnique.js +1 -1
  298. package/views/2d/engine/webgl/shaderGraph/techniques/raster/processor/HillshadeTechnique.js +1 -1
  299. package/views/2d/engine/webgl/shaderGraph/techniques/raster/processor/LocalTechnique.js +1 -1
  300. package/views/2d/engine/webgl/shaderGraph/techniques/raster/processor/MaskTechnique.js +1 -1
  301. package/views/2d/engine/webgl/shaderGraph/techniques/raster/processor/NDVITechnique.js +1 -1
  302. package/views/2d/engine/webgl/shaderGraph/techniques/raster/processor/RemapTechnique.js +1 -1
  303. package/views/2d/engine/webgl/shaderGraph/techniques/raster/processor/ReprojectTechnique.js +1 -1
  304. package/views/2d/engine/webgl/shaderGraph/techniques/raster/processor/ShadedReliefTechnique.js +1 -1
  305. package/views/2d/engine/webgl/shaderGraph/techniques/raster/processor/SlopeTechnique.js +1 -1
  306. package/views/2d/engine/webgl/shaderGraph/techniques/raster/processor/SpectralConversionTechnique.js +1 -1
  307. package/views/2d/engine/webgl/shaderGraph/techniques/raster/processor/StretchTechnique.js +1 -1
  308. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/AFeatureShader.js +1 -1
  309. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/BitmapShader.js +1 -1
  310. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/BlendShader.js +1 -1
  311. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/BlitShader.js +1 -1
  312. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/BloomShader.js +1 -1
  313. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/BlurShader.js +1 -1
  314. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/ColorizeShader.js +1 -1
  315. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/ComplexFillShader.js +1 -1
  316. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/ComplexOutlineFillShader.js +1 -1
  317. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/DropShadowShader.js +1 -1
  318. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/EntityStorage.js +1 -1
  319. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/GradientFillShader.js +1 -1
  320. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/GradientStrokeShader.js +1 -1
  321. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/HeatmapAccumulateShader.js +1 -1
  322. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/HeatmapResolveShader.js +1 -1
  323. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/LineShader.js +1 -1
  324. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/MagnifierShader.js +1 -1
  325. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/MosaicInfo.js +1 -1
  326. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/OpacityShader.js +1 -1
  327. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/OverlayShader.js +1 -1
  328. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/PatternFillShader.js +1 -1
  329. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/PatternOutlineFillShader.js +1 -1
  330. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/ShaderHittest.js +1 -1
  331. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/TextureStatisticsDiffShader.js +1 -1
  332. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/TextureStatisticsMinMaxSumShader.js +1 -1
  333. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/TextureStatisticsStdDevShader.js +1 -1
  334. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/TextureStatisticsSumOfSquaredDiffShader.js +1 -1
  335. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/TexturedLineShader.js +1 -1
  336. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/TileDebugInfoShader.js +1 -1
  337. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/VideoScreenShader.js +1 -1
  338. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/flow/FlowImageryShader.js +1 -1
  339. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/flow/FlowUtils.js +1 -1
  340. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/hittestUtils.js +1 -1
  341. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/raster/BaseRasterColorizerShader.js +1 -1
  342. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/raster/BaseRasterHighlightShader.js +1 -1
  343. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/raster/RasterColorizerLUTShader.js +1 -1
  344. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/raster/RasterColorizerShadedReliefShader.js +1 -1
  345. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/raster/RasterColorizerStretchShader.js +1 -1
  346. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/raster/RasterXYBandHighlightShader.js +1 -1
  347. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/raster/lut.js +1 -1
  348. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/raster/processor/AspectShader.js +1 -1
  349. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/raster/processor/BaseRasterProcessorShader.js +1 -1
  350. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/raster/processor/ColormapToRGBShader.js +1 -1
  351. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/raster/processor/ConvolutionShader.js +1 -1
  352. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/raster/processor/CurvatureShader.js +1 -1
  353. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/raster/processor/FocalStatisticsShader.js +1 -1
  354. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/raster/processor/HillshadeShader.js +1 -1
  355. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/raster/processor/MultiRasterMixin.js +1 -1
  356. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/raster/processor/ShadedReliefShader.js +1 -1
  357. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/raster/processor/SlopeShader.js +1 -1
  358. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/raster/projection.js +1 -1
  359. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/raster/stretch.js +1 -1
  360. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/vector-tiles/VTLShaderBackground.js +1 -1
  361. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/vector-tiles/VTLShaderFill.js +1 -1
  362. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/vector-tiles/VTLShaderIcon.js +1 -1
  363. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/vector-tiles/VTLShaderLine.js +1 -1
  364. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/vector-tiles/VTLShaderText.js +1 -1
  365. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/vvUtils.js +1 -1
  366. package/views/2d/engine/webgl/shaderGraph/techniques/text/TextShader.js +1 -1
  367. package/views/2d/engine/webgl/shaderGraph/techniques/text/TextTechnique.js +1 -1
  368. package/views/2d/engine/webgl/shaderGraph/techniques/tile/TileDebugInfoTechnique.js +1 -1
  369. package/views/2d/engine/webgl/shaderGraph/techniques/tile/TileStencilTechnique.js +1 -1
  370. package/views/2d/engine/webgl/shaderGraph/techniques/vectorTiles/VTLTechniqueBackground.js +1 -1
  371. package/views/2d/engine/webgl/shaderGraph/techniques/vectorTiles/VTLTechniqueCircle.js +1 -1
  372. package/views/2d/engine/webgl/shaderGraph/techniques/vectorTiles/VTLTechniqueFill.js +1 -1
  373. package/views/2d/engine/webgl/shaderGraph/techniques/vectorTiles/VTLTechniqueLine.js +1 -1
  374. package/views/2d/engine/webgl/shaderGraph/techniques/vectorTiles/VTLTechniqueSymbol.js +1 -1
  375. package/views/2d/engine/webgl/shaderGraph/techniques/videoScreenRenderer/VideoScreenTechnique.js +1 -1
  376. package/views/2d/engine/webgl/shaderGraph/typed/TypedShaderProgram.js +1 -1
  377. package/views/2d/engine/webgl/shaders/sources/shaderRepository.js +1 -1
  378. package/views/2d/layers/BaseLayerView2D.d.ts +3 -3
  379. package/views/2d/layers/BaseLayerViewGL2D.d.ts +3 -3
  380. package/views/2d/layers/FeatureLikeLayerView2D.js +1 -1
  381. package/views/2d/layers/TileLayerView2D.js +1 -1
  382. package/views/2d/layers/VectorTileLayerView2D.js +1 -1
  383. package/views/2d/layers/features/FeatureContainer.js +1 -1
  384. package/views/2d/support/clippingUtils.js +1 -1
  385. package/views/2d/support/hitTestUtils.js +1 -1
  386. package/views/3d/FocusAreasView.js +1 -1
  387. package/views/3d/StencilGeometry.js +2 -0
  388. package/views/3d/analysis/ElevationProfile/ElevationProfileVisualization3D.js +1 -1
  389. package/views/3d/analysis/ElevationProfileAnalysisView3D.d.ts +5 -1
  390. package/views/3d/analysis/ElevationProfileAnalysisView3D.js +1 -1
  391. package/views/3d/analysis/ShadowCastAnalysisView3D.js +1 -1
  392. package/views/3d/analysis/Viewshed/ViewshedComputedData.js +1 -1
  393. package/views/3d/analysis/Viewshed/ViewshedConfiguration.js +1 -1
  394. package/views/3d/analysis/Viewshed/ViewshedFieldOfViewManipulation.js +1 -1
  395. package/views/3d/analysis/Viewshed/ViewshedScaleOrientManipulation.js +1 -1
  396. package/views/3d/analysis/Viewshed/ViewshedShapeVisualElement.js +1 -1
  397. package/views/3d/analysis/Viewshed/ViewshedSubTool.js +1 -1
  398. package/views/3d/analysis/Viewshed/ViewshedSubVisualization.js +1 -1
  399. package/views/3d/analysis/Viewshed/ViewshedTool.js +1 -1
  400. package/views/3d/analysis/Viewshed/viewshedToolUtils.js +1 -1
  401. package/views/3d/analysis/ViewshedAnalysisView3D.js +1 -1
  402. package/views/3d/focusAreaUtils.js +2 -0
  403. package/views/3d/layers/BuildingComponentSublayerView3D.js +1 -1
  404. package/views/3d/layers/I3SMeshView3D.js +1 -1
  405. package/views/3d/layers/IntegratedMesh3DTilesLayerView3D.js +1 -1
  406. package/views/3d/layers/IntegratedMeshLayerView3D.js +1 -1
  407. package/views/3d/layers/IntegratedMeshNormals.js +1 -1
  408. package/views/3d/layers/SceneLayerGraphicsView3D.js +1 -1
  409. package/views/3d/layers/SceneLayerView3D.js +1 -1
  410. package/views/3d/layers/SceneLayerWorker.js +1 -1
  411. package/views/3d/layers/i3s/I3SQueryEngine.js +1 -1
  412. package/views/3d/layers/i3s/I3SUtil.js +1 -1
  413. package/views/3d/layers/support/DefinitionExpressionSceneLayerView.js +1 -1
  414. package/views/3d/layers/support/TemporalSceneLayerView.js +1 -1
  415. package/views/3d/terrain/ElevationData.js +1 -1
  416. package/views/3d/terrain/PatchGeometryFactory.js +1 -1
  417. package/views/3d/webgl-engine/collections/Component/Material/ComponentTechniqueConfiguration.js +1 -1
  418. package/views/3d/webgl-engine/collections/Component/Renderable.js +1 -1
  419. package/views/3d/webgl-engine/core/shaderLibrary/shading/ReadBaseColorTexture.glsl.js +1 -5
  420. package/views/3d/webgl-engine/core/shaderLibrary/util/DiscardOrAdjustAlpha.glsl.js +1 -5
  421. package/views/3d/webgl-engine/core/shaderLibrary/util/MixExternalColor.glsl.js +16 -21
  422. package/views/3d/webgl-engine/core/shaderTechnique/ShaderTechniqueRepository.js +1 -1
  423. package/views/3d/webgl-engine/effects/atmosphere/ChapmanAtmosphere.js +1 -1
  424. package/views/3d/webgl-engine/effects/atmosphere/LocalAtmosphere.js +1 -1
  425. package/views/3d/webgl-engine/effects/atmosphere/MarsAtmosphere.js +1 -1
  426. package/views/3d/webgl-engine/effects/blit/Blit.js +1 -1
  427. package/views/3d/webgl-engine/effects/clouds/CloudsComposition.js +1 -1
  428. package/views/3d/webgl-engine/effects/clouds/CloudsRenderer.js +1 -1
  429. package/views/3d/webgl-engine/effects/clouds/CloudsTechnique.js +1 -1
  430. package/views/3d/webgl-engine/effects/clouds/NoiseTextureAtlas.js +1 -1
  431. package/views/3d/webgl-engine/effects/focusArea/FocusAreaColorNode.js +1 -1
  432. package/views/3d/webgl-engine/effects/focusArea/FocusAreaMaskNode.js +1 -1
  433. package/views/3d/webgl-engine/effects/focusArea/focusAreaMaskUtils.js +2 -0
  434. package/views/3d/webgl-engine/effects/fog/Fog.js +1 -1
  435. package/views/3d/webgl-engine/effects/globalIllumination/GlobalIllumination.js +1 -1
  436. package/views/3d/webgl-engine/effects/glow/GlowRenderNode.js +1 -1
  437. package/views/3d/webgl-engine/effects/haze/Haze.js +1 -1
  438. package/views/3d/webgl-engine/effects/highlight/Highlight.js +1 -1
  439. package/views/3d/webgl-engine/effects/highlight/ShadowHighlight.js +1 -1
  440. package/views/3d/webgl-engine/effects/highlight/ShadowHighlightBuffer.js +1 -1
  441. package/views/3d/webgl-engine/effects/laserlines/LaserLineRenderer.js +1 -1
  442. package/views/3d/webgl-engine/effects/laserlines/LaserlinePathTechnique.js +1 -1
  443. package/views/3d/webgl-engine/effects/magnifier/Magnifier.js +1 -1
  444. package/views/3d/webgl-engine/effects/precipitation/Precipitation.js +1 -1
  445. package/views/3d/webgl-engine/effects/smaa/SMAA.js +1 -1
  446. package/views/3d/webgl-engine/effects/ssao/SSAO.js +1 -1
  447. package/views/3d/webgl-engine/effects/stars/Stars.js +1 -1
  448. package/views/3d/webgl-engine/effects/stars/StarsTechnique.js +1 -1
  449. package/views/3d/webgl-engine/lib/BindParameters.js +1 -1
  450. package/views/3d/webgl-engine/lib/Compositor.js +1 -1
  451. package/views/3d/webgl-engine/lib/CutFillComputationRenderNode.js +1 -1
  452. package/views/3d/webgl-engine/lib/CutFillVisualizationRenderNode.js +1 -1
  453. package/views/3d/webgl-engine/lib/GaussianSplatRenderNode.js +1 -1
  454. package/views/3d/webgl-engine/lib/Material.js +1 -1
  455. package/views/3d/webgl-engine/lib/Normals.js +1 -1
  456. package/views/3d/webgl-engine/lib/OrderIndependentTransparency.js +1 -1
  457. package/views/3d/webgl-engine/lib/Renderer.js +1 -1
  458. package/views/3d/webgl-engine/lib/ShadowAccumulator.js +1 -1
  459. package/views/3d/webgl-engine/lib/ShadowCastRenderer.js +1 -1
  460. package/views/3d/webgl-engine/lib/Viewshed.js +1 -1
  461. package/views/3d/webgl-engine/lib/ViewshedShadowMap.js +1 -1
  462. package/views/3d/webgl-engine/materials/DefaultTechniqueConfiguration.js +1 -1
  463. package/views/3d/webgl-engine/shaders/BlackLevelLightSoftCompression.glsl.js +5 -1
  464. package/views/3d/webgl-engine/shaders/CheckerBoardTechnique.js +1 -1
  465. package/views/3d/webgl-engine/shaders/ColorMaterialTechnique.js +1 -1
  466. package/views/3d/webgl-engine/shaders/CompositingTechnique.js +1 -1
  467. package/views/3d/webgl-engine/shaders/DefaultMaterialTechnique.js +1 -1
  468. package/views/3d/webgl-engine/shaders/ImageMaterialTechnique.js +1 -1
  469. package/views/3d/webgl-engine/shaders/LineMarkerTechnique.js +1 -1
  470. package/views/3d/webgl-engine/shaders/MeasurementArrowTechnique.js +1 -1
  471. package/views/3d/webgl-engine/shaders/OutputColorHighlightOLID.glsl.js +10 -10
  472. package/views/3d/webgl-engine/shaders/RibbonLineTechnique.js +1 -1
  473. package/views/3d/webgl-engine/shaders/ShadedColorMaterialTechnique.js +1 -1
  474. package/views/3d/webgl-engine/shaders/SlicePlaneMaterialTechnique.js +1 -1
  475. package/views/VideoView.js +1 -1
  476. package/views/View2D.js +1 -1
  477. package/views/analysis/ElevationProfile/ElevationProfileChart.js +1 -1
  478. package/views/analysis/ElevationProfile/ElevationProfileController.js +1 -1
  479. package/views/analysis/ElevationProfile/ElevationProfileIndicatorPointVisualization.js +1 -1
  480. package/views/analysis/ElevationProfile/ElevationProfileResult.d.ts +6 -4
  481. package/views/draw/DrawTool.js +1 -1
  482. package/views/draw/plugins/BezierSegmentPlugin.js +1 -1
  483. package/views/draw/plugins/FreehandSegmentPlugin.js +1 -1
  484. package/views/draw/support/GraphicMover.js +1 -1
  485. package/views/draw/support/PluginContext.js +1 -1
  486. package/views/draw/support/Reshape.js +1 -1
  487. package/views/draw/support/editingSessionUtils.js +1 -1
  488. package/views/draw/support/types.d.ts +21 -0
  489. package/views/draw/support/types.js +1 -1
  490. package/views/types.d.ts +2 -2
  491. package/views/webgl/FramebufferObject.js +1 -1
  492. package/widgets/BatchAttributeForm/css.js +1 -1
  493. package/widgets/BatchAttributeForm/inputs/FieldInput.js +1 -1
  494. package/widgets/BatchAttributeForm/inputs/GroupInput.d.ts +2 -1
  495. package/widgets/BatchAttributeForm/inputs/RelationshipElementInput.d.ts +54 -0
  496. package/widgets/BatchAttributeForm/inputs/RelationshipElementInput.js +2 -0
  497. package/widgets/BatchAttributeForm/inputs/support/createBatchFormInputs.js +1 -1
  498. package/widgets/BatchAttributeForm/inputs/support/inputUtils.js +1 -1
  499. package/widgets/BatchAttributeForm/inputs/types.d.ts +4 -3
  500. package/widgets/BatchAttributeForm/templates/AttachmentElementTemplate.js +1 -1
  501. package/widgets/BatchAttributeForm/templates/RelationshipElementTemplate.js +2 -0
  502. package/widgets/BatchAttributeForm/templates/support/createBatchFormTemplate.js +1 -1
  503. package/widgets/BatchAttributeForm/templates/support/hashElementTemplate.js +1 -1
  504. package/widgets/BatchAttributeForm/templates/support/templateUtils.js +1 -1
  505. package/widgets/BatchAttributeForm.js +1 -1
  506. package/widgets/CoordinateConversion/CoordinateConversionViewModel.d.ts +21 -1
  507. package/widgets/CoordinateConversion/CoordinateConversionViewModel.js +1 -1
  508. package/widgets/CoordinateConversion/support/Format.js +1 -1
  509. package/widgets/CoordinateConversion/support/coordinateConversionUtils.js +1 -1
  510. package/widgets/CoordinateConversion.d.ts +21 -1
  511. package/widgets/CoordinateConversion.js +1 -1
  512. package/widgets/Daylight/DaylightViewModel.js +1 -1
  513. package/widgets/Daylight/support/SliderWithDropdown.js +1 -1
  514. package/widgets/Editor/CreateFeaturesWorkflow.js +1 -1
  515. package/widgets/Editor/SplitFeatureWorkflow.js +1 -1
  516. package/widgets/Editor/UpdateFeatureWorkflow.js +1 -1
  517. package/widgets/Editor/components/Settings.js +1 -1
  518. package/widgets/Editor/support/SketchController.js +1 -1
  519. package/widgets/Editor/workflowUtils.js +1 -1
  520. package/widgets/ElevationProfile/ElevationProfileController.js +1 -1
  521. package/widgets/ElevationProfile/ElevationProfileViewModel.js +1 -1
  522. package/widgets/ElevationProfile/support/ElevationProfileView.js +1 -1
  523. package/widgets/ElevationProfile/support/ElevationProfileView2D.js +1 -1
  524. package/widgets/ElevationProfile/support/ElevationProfileView3D.js +1 -1
  525. package/widgets/ElevationProfile/support/InputRepresentation2D.js +1 -1
  526. package/widgets/ElevationProfile/support/InputRepresentation3D.js +1 -1
  527. package/widgets/ElevationProfile/support/ProfileLine2D.js +1 -1
  528. package/widgets/ElevationProfile/support/ProfileLines3D.js +1 -1
  529. package/widgets/FeatureForm/FieldInput.js +1 -1
  530. package/widgets/FeatureTable/FeatureTableViewModel.js +1 -1
  531. package/widgets/HistogramRangeSlider/HistogramRangeSliderViewModel.js +1 -1
  532. package/widgets/OrientedImageryViewer/OrientedImageryViewerViewModel.js +1 -1
  533. package/widgets/OrientedImageryViewer/OrientedImageryViewerVisibleElements.d.ts +5 -5
  534. package/widgets/OrientedImageryViewer/OrientedImageryViewerVisibleElements.js +1 -1
  535. package/widgets/OrientedImageryViewer/adapters/view/SceneViewAdapter.js +1 -1
  536. package/widgets/OrientedImageryViewer/constants.js +1 -1
  537. package/widgets/OrientedImageryViewer/imageMeasurementUtils.js +1 -1
  538. package/widgets/OrientedImageryViewer/services/SuperimposeService.js +2 -0
  539. package/widgets/OrientedImageryViewer/support/superimposeUtils.js +2 -0
  540. package/widgets/OrientedImageryViewer/types.d.ts +10 -0
  541. package/widgets/OrientedImageryViewer.d.ts +17 -2
  542. package/widgets/OrientedImageryViewer.js +1 -1
  543. package/widgets/ScaleRangeSlider/ScaleRangeSliderViewModel.js +1 -1
  544. package/widgets/Sketch/SketchViewModel.js +1 -1
  545. package/widgets/Sketch/support/PluginManager.js +1 -1
  546. package/widgets/Sketch/support/SettingsManager.js +2 -0
  547. package/widgets/Sketch.js +1 -1
  548. package/widgets/Slider/SliderViewModel.d.ts +2 -1
  549. package/widgets/Slider/SliderViewModel.js +1 -1
  550. package/widgets/Slider.js +1 -1
  551. package/widgets/smartMapping/ColorSlider/ColorSliderViewModel.js +1 -1
  552. package/widgets/smartMapping/OpacitySlider/OpacitySliderViewModel.js +1 -1
  553. package/widgets/smartMapping/SizeSlider/SizeSliderViewModel.js +1 -1
  554. package/widgets/smartMapping/SmartMappingSliderViewModel.js +1 -1
  555. package/widgets/support/ContingentValuesManager.js +1 -1
  556. package/widgets/support/PluginSettingsControls.js +2 -0
  557. package/widgets/support/SnappingControls.js +1 -1
  558. package/widgets/support/forms/formUtils.js +1 -1
  559. package/widgets/types.d.ts +1 -1
  560. package/analysis/ElevationProfile/elevationProfileLineTypes.js +0 -2
  561. package/assets/esri/core/workers/chunks/003476e950bd27a2f884.js +0 -596
  562. package/assets/esri/core/workers/chunks/07aca5ecad659d55e795.js +0 -2
  563. package/assets/esri/core/workers/chunks/07eff82916681fcff069.js +0 -1
  564. package/assets/esri/core/workers/chunks/0b1454a77a6a682541dc.js +0 -2
  565. package/assets/esri/core/workers/chunks/3697e51e1e4cf442f39a.js +0 -1
  566. package/assets/esri/core/workers/chunks/3cce9dad8ee0e4971d50.js +0 -1
  567. package/assets/esri/core/workers/chunks/68a313155ddc29bd024d.js +0 -1
  568. package/assets/esri/core/workers/chunks/751609831b283903ba48.js +0 -1
  569. package/assets/esri/core/workers/chunks/7540f7df86620f067b5a.js +0 -1
  570. package/assets/esri/core/workers/chunks/76e34f81bb4a7b0e694c.js +0 -1
  571. package/assets/esri/core/workers/chunks/7bacdd65a6cc4d284e0a.js +0 -2
  572. package/assets/esri/core/workers/chunks/7e97684e851274efd11f.js +0 -1
  573. package/assets/esri/core/workers/chunks/85aac8539996372f1ee8.js +0 -1
  574. package/assets/esri/core/workers/chunks/99c161fecae710b53b40.js +0 -1
  575. package/assets/esri/core/workers/chunks/99d298d0039c536fcf3e.js +0 -1
  576. package/assets/esri/core/workers/chunks/9aaf78b831f8739bc127.js +0 -1
  577. package/assets/esri/core/workers/chunks/bfe575da727ce7c8d331.js +0 -2
  578. package/assets/esri/core/workers/chunks/cb45e5d4a4ef82cda583.js +0 -1
  579. package/assets/esri/core/workers/chunks/e262c4864dc06c43b380.js +0 -1
  580. package/assets/esri/core/workers/chunks/ea59b81299acaf0d85ee.js +0 -1
  581. package/assets/esri/core/workers/chunks/ef0eae13408cbf83a64f.js +0 -1
  582. package/assets/esri/core/workers/chunks/f09a41ad239d467d9438.js +0 -2
  583. package/assets/esri/core/workers/chunks/f6912532aae1638cbe8f.js +0 -1
  584. package/rest/networks/unitIdentifiers/insertGap.js +0 -2
  585. package/rest/networks/unitIdentifiers/support/InsertGapParameters.js +0 -2
  586. /package/assets/esri/core/workers/chunks/{7bacdd65a6cc4d284e0a.js.LICENSE.txt → 10408183681fd6c7b4ed.js.LICENSE.txt} +0 -0
  587. /package/assets/esri/core/workers/chunks/{f09a41ad239d467d9438.js.LICENSE.txt → 5818f1f526577068d6ca.js.LICENSE.txt} +0 -0
  588. /package/assets/esri/core/workers/chunks/{bfe575da727ce7c8d331.js.LICENSE.txt → 7cdd0492b2191df95102.js.LICENSE.txt} +0 -0
  589. /package/assets/esri/core/workers/chunks/{07aca5ecad659d55e795.js.LICENSE.txt → dacc2e5fa462495ed1cc.js.LICENSE.txt} +0 -0
@@ -0,0 +1,74 @@
1
+ import type Accessor from "../../core/Accessor.js";
2
+ import type Collection from "../../core/Collection.js";
3
+ import type { ElevationProfileLineUnion } from "./types.js";
4
+ import type { ReadonlyArrayOrCollection } from "../../core/Collection.js";
5
+ import type { ElevationProfileLineSceneProperties } from "./ElevationProfileLineScene.js";
6
+ import type { ElevationProfileLineQueryProperties } from "./ElevationProfileLineQuery.js";
7
+ import type { ElevationProfileLineInputProperties } from "./ElevationProfileLineInput.js";
8
+ import type { ElevationProfileLineGroundProperties } from "./ElevationProfileLineGround.js";
9
+
10
+ /** @since 5.1 */
11
+ export interface ElevationProfileGroupProperties extends Partial<Pick<ElevationProfileGroup, "id" | "title">> {
12
+ /**
13
+ * The collection of [profile lines](https://developers.arcgis.com/javascript/latest/references/core/analysis/ElevationProfile/ElevationProfileLine/) that belong to this group.
14
+ *
15
+ * Each line defines a source for sampling elevation along the analysis geometry and is computed independently.
16
+ * The group itself is used for organization and does not produce a separate result line.
17
+ *
18
+ * Each line in the group will be included in both the [ElevationProfileAnalysisView2D.results](https://developers.arcgis.com/javascript/latest/references/core/views/2d/analysis/ElevationProfileAnalysisView2D/#results)
19
+ * and [ElevationProfileAnalysisView3D.results](https://developers.arcgis.com/javascript/latest/references/core/views/3d/analysis/ElevationProfileAnalysisView3D/#results) array of the analysis view, but the group will
20
+ * not have a corresponding result entry.
21
+ *
22
+ * @since 5.1
23
+ */
24
+ profiles?: ReadonlyArrayOrCollection<((ElevationProfileLineGroundProperties & { type: "ground" }) | (ElevationProfileLineInputProperties & { type: "input" }) | (ElevationProfileLineQueryProperties & { type: "query" }) | (ElevationProfileLineSceneProperties & { type: "scene" }))> | null;
25
+ }
26
+
27
+ /**
28
+ * Represents a logical container that organizes multiple profile lines.
29
+ *
30
+ * The group itself is not computed directly as a profile line. Instead, each individual line within
31
+ * [profiles](https://developers.arcgis.com/javascript/latest/references/core/analysis/ElevationProfile/ElevationProfileGroup/#profiles) is computed independently, with the resulting data
32
+ * exposed through the [ElevationProfileAnalysisView2D.results](https://developers.arcgis.com/javascript/latest/references/core/views/2d/analysis/ElevationProfileAnalysisView2D/#results) and
33
+ * [ElevationProfileAnalysisView3D.results](https://developers.arcgis.com/javascript/latest/references/core/views/3d/analysis/ElevationProfileAnalysisView3D/#results) properties.
34
+ *
35
+ * When using the
36
+ * [Elevation Profile component](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-elevation-profile/),
37
+ * the group serves to consolidate these profile lines under a single entry in the legend for better
38
+ * organization.
39
+ *
40
+ * @since 5.1
41
+ * @see [ElevationProfileAnalysis](https://developers.arcgis.com/javascript/latest/references/core/analysis/ElevationProfileAnalysis/)
42
+ * @see [ElevationProfileLine](https://developers.arcgis.com/javascript/latest/references/core/analysis/ElevationProfile/ElevationProfileLine/)
43
+ */
44
+ export default class ElevationProfileGroup extends Accessor {
45
+ /** @since 5.1 */
46
+ constructor(properties?: ElevationProfileGroupProperties);
47
+ /**
48
+ * Unique identifier for the profile group. This value is automatically generated unless specified.
49
+ *
50
+ * @since 5.1
51
+ */
52
+ accessor id: string;
53
+ /**
54
+ * The collection of [profile lines](https://developers.arcgis.com/javascript/latest/references/core/analysis/ElevationProfile/ElevationProfileLine/) that belong to this group.
55
+ *
56
+ * Each line defines a source for sampling elevation along the analysis geometry and is computed independently.
57
+ * The group itself is used for organization and does not produce a separate result line.
58
+ *
59
+ * Each line in the group will be included in both the [ElevationProfileAnalysisView2D.results](https://developers.arcgis.com/javascript/latest/references/core/views/2d/analysis/ElevationProfileAnalysisView2D/#results)
60
+ * and [ElevationProfileAnalysisView3D.results](https://developers.arcgis.com/javascript/latest/references/core/views/3d/analysis/ElevationProfileAnalysisView3D/#results) array of the analysis view, but the group will
61
+ * not have a corresponding result entry.
62
+ *
63
+ * @since 5.1
64
+ */
65
+ get profiles(): Collection<ElevationProfileLineUnion>;
66
+ set profiles(value: ReadonlyArrayOrCollection<((ElevationProfileLineGroundProperties & { type: "ground" }) | (ElevationProfileLineInputProperties & { type: "input" }) | (ElevationProfileLineQueryProperties & { type: "query" }) | (ElevationProfileLineSceneProperties & { type: "scene" }))> | null | undefined);
67
+ /**
68
+ * Title of the group, shown in the chart legend.
69
+ *
70
+ * @since 5.1
71
+ */
72
+ accessor title: string | null | undefined;
73
+ readonly type: "group";
74
+ }
@@ -0,0 +1,2 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
+ import{__decorate as o}from"tslib";import e from"./ElevationProfileLine.js";import r from"./ElevationProfileLineGround.js";import t from"./ElevationProfileLineInput.js";import i from"./ElevationProfileLineQuery.js";import s from"./ElevationProfileLineScene.js";import l from"../../core/Accessor.js";import{equals as p}from"../../core/arrayUtils.js";import n from"../../core/Collection.js";import{referenceSetter as f}from"../../core/collectionUtils.js";import{generateUUID as a}from"../../core/uuid.js";import{property as m,subclass as c}from"../../core/accessorSupport/decorators.js";var u;const y={base:e,key:"type",typeMap:{ground:r,input:t,query:i,scene:s},errorContext:"elevation-profile-line"},j=n.ofType(y);let v=u=class extends l{constructor(o){super(o),this.type="group",this.id=a(),this.title=null,o?.profiles||(this.profiles=new n)}get profiles(){return this._get("profiles")}set profiles(o){const e=this._get("profiles"),r=o??new n;this._set("profiles",f(r,e))}equals(o){return this===o||o instanceof u&&(this.title===o.title&&p(this.profiles.toArray(),o.profiles.toArray(),(o,e)=>o.equals(e)))}};o([m({nonNullable:!0})],v.prototype,"id",void 0),o([m({type:j,nonNullable:!0})],v.prototype,"profiles",null),o([m()],v.prototype,"title",void 0),v=u=o([c("esri.analysis.ElevationProfile.ElevationProfileGroup")],v);const d=v;export{d as default};
@@ -1,6 +1,7 @@
1
1
  import type Graphic from "../Graphic.js";
2
2
  import type Analysis from "./Analysis.js";
3
3
  import type ElevationProfileDisplayUnits from "./ElevationProfile/ElevationProfileDisplayUnits.js";
4
+ import type ElevationProfileGroup from "./ElevationProfile/ElevationProfileGroup.js";
4
5
  import type ElevationProfileViewOptions from "./ElevationProfile/ElevationProfileViewOptions.js";
5
6
  import type Collection from "../core/Collection.js";
6
7
  import type Polyline from "../geometry/Polyline.js";
@@ -9,13 +10,14 @@ import type { AnalysisProperties } from "./Analysis.js";
9
10
  import type { ElevationProfileDisplayUnitsProperties } from "./ElevationProfile/ElevationProfileDisplayUnits.js";
10
11
  import type { ElevationProfileViewOptionsProperties } from "./ElevationProfile/ElevationProfileViewOptions.js";
11
12
  import type { ElevationProfileLineUnion } from "./ElevationProfile/types.js";
13
+ import type { ReadonlyArrayOrCollection } from "../core/Collection.js";
12
14
  import type { ElevationInfoProperties } from "../symbols/support/ElevationInfo.js";
13
15
  import type { PolylineProperties } from "../geometry/Polyline.js";
16
+ import type { ElevationProfileGroupProperties } from "./ElevationProfile/ElevationProfileGroup.js";
14
17
  import type { ElevationProfileLineSceneProperties } from "./ElevationProfile/ElevationProfileLineScene.js";
15
18
  import type { ElevationProfileLineQueryProperties } from "./ElevationProfile/ElevationProfileLineQuery.js";
16
19
  import type { ElevationProfileLineInputProperties } from "./ElevationProfile/ElevationProfileLineInput.js";
17
20
  import type { ElevationProfileLineGroundProperties } from "./ElevationProfile/ElevationProfileLineGround.js";
18
- import type { ReadonlyArrayOrCollection } from "../core/Collection.js";
19
21
 
20
22
  export interface ElevationProfileAnalysisProperties extends AnalysisProperties {
21
23
  /**
@@ -35,25 +37,32 @@ export interface ElevationProfileAnalysisProperties extends AnalysisProperties {
35
37
  /** The [Polyline](https://developers.arcgis.com/javascript/latest/references/core/geometry/Polyline/) along which elevation is to be sampled. */
36
38
  geometry?: PolylineProperties | null;
37
39
  /**
38
- * The collection of profile lines to compute and display. Each profile line defines a different source for sampling
39
- * elevation along the input geometry (such as ground, input geometry itself, custom elevation sources, or scene
40
- * content), and includes settings for how the resulting line will appear in charts and in the view.
40
+ * The collection of profiles to compute and display.
41
+ *
42
+ * A profile can be either:
43
+ *
44
+ * * An [ElevationProfileLine](https://developers.arcgis.com/javascript/latest/references/core/analysis/ElevationProfile/ElevationProfileLine/) that defines a source for sampling elevation
45
+ * along the input geometry (such as ground, input geometry itself, custom elevation sources, or scene content),
46
+ * and includes settings for how the resulting line will appear in charts and in the view.
47
+ * * An [ElevationProfileGroup](https://developers.arcgis.com/javascript/latest/references/core/analysis/ElevationProfile/ElevationProfileGroup/) that organizes multiple profile lines under a single
48
+ * logical container, represented as a single legend entry.
41
49
  *
42
50
  * In a [MapView](https://developers.arcgis.com/javascript/latest/references/core/views/MapView/), [ElevationProfileLineScene](https://developers.arcgis.com/javascript/latest/references/core/analysis/ElevationProfile/ElevationProfileLineScene/) is
43
51
  * not supported.
44
52
  */
45
- profiles?: ReadonlyArrayOrCollection<((ElevationProfileLineGroundProperties & { type: "ground" }) | (ElevationProfileLineInputProperties & { type: "input" }) | (ElevationProfileLineQueryProperties & { type: "query" }) | (ElevationProfileLineSceneProperties & { type: "scene" }))> | null;
53
+ profiles?: ReadonlyArrayOrCollection<((ElevationProfileLineGroundProperties & { type: "ground" }) | (ElevationProfileLineInputProperties & { type: "input" }) | (ElevationProfileLineQueryProperties & { type: "query" }) | (ElevationProfileLineSceneProperties & { type: "scene" })) | (ElevationProfileGroupProperties & { type: "group" })> | null;
46
54
  /** Configuration options for visualizing an elevation profile within a view. */
47
55
  viewOptions?: ElevationProfileViewOptionsProperties;
48
56
  }
49
57
 
50
58
  /**
51
- * The `ElevationProfileAnalysis` class enables programmatic creation and management of elevation profiles in both,
59
+ * The `ElevationProfileAnalysis` class enables programmatic creation and management of elevation profiles in both
52
60
  * a [SceneView](https://developers.arcgis.com/javascript/latest/references/core/views/SceneView/) and a [MapView](https://developers.arcgis.com/javascript/latest/references/core/views/MapView/). An elevation profile visualizes elevation
53
61
  * changes along a specified [Polyline](https://developers.arcgis.com/javascript/latest/references/core/geometry/Polyline/), which is provided via the [geometry](https://developers.arcgis.com/javascript/latest/references/core/analysis/ElevationProfileAnalysis/#geometry) property.
54
62
  *
55
- * This analysis supports multiple profile lines, each representing a different source or method for sampling elevation,
56
- * such as ground, input geometry, custom elevation sources, or scene content. The configuration of these lines is managed
63
+ * This analysis supports multiple profiles, each representing a different source or method for sampling elevation.
64
+ * A profile can be a line (such as ground, input geometry, custom elevation sources, or scene content)
65
+ * or a [group](https://developers.arcgis.com/javascript/latest/references/core/analysis/ElevationProfile/ElevationProfileGroup/). The configuration of these profiles is managed
57
66
  * through the [profiles](https://developers.arcgis.com/javascript/latest/references/core/analysis/ElevationProfileAnalysis/#profiles) property.
58
67
  *
59
68
  * To add an elevation profile analysis to a view:
@@ -79,7 +88,7 @@ export interface ElevationProfileAnalysisProperties extends AnalysisProperties {
79
88
  *
80
89
  * Use the [ElevationProfileAnalysisView2D](https://developers.arcgis.com/javascript/latest/references/core/views/2d/analysis/ElevationProfileAnalysisView2D/) or
81
90
  * [ElevationProfileAnalysisView3D](https://developers.arcgis.com/javascript/latest/references/core/views/3d/analysis/ElevationProfileAnalysisView3D/) to retrieve the analysis results.
82
- * The combined statistics, as well as results for each computed profile line, can be then visualized in a custom chart using any charting library,
91
+ * The combined statistics, as well as results for each computed profile line, can then be visualized in a custom chart using any charting library,
83
92
  * embedded in a dashboard, exported as a CSV file, or used for further calculations.
84
93
  *
85
94
  * ```js
@@ -156,15 +165,21 @@ export default class ElevationProfileAnalysis extends Analysis {
156
165
  get geometry(): Polyline | null | undefined;
157
166
  set geometry(value: PolylineProperties | null | undefined);
158
167
  /**
159
- * The collection of profile lines to compute and display. Each profile line defines a different source for sampling
160
- * elevation along the input geometry (such as ground, input geometry itself, custom elevation sources, or scene
161
- * content), and includes settings for how the resulting line will appear in charts and in the view.
168
+ * The collection of profiles to compute and display.
169
+ *
170
+ * A profile can be either:
171
+ *
172
+ * * An [ElevationProfileLine](https://developers.arcgis.com/javascript/latest/references/core/analysis/ElevationProfile/ElevationProfileLine/) that defines a source for sampling elevation
173
+ * along the input geometry (such as ground, input geometry itself, custom elevation sources, or scene content),
174
+ * and includes settings for how the resulting line will appear in charts and in the view.
175
+ * * An [ElevationProfileGroup](https://developers.arcgis.com/javascript/latest/references/core/analysis/ElevationProfile/ElevationProfileGroup/) that organizes multiple profile lines under a single
176
+ * logical container, represented as a single legend entry.
162
177
  *
163
178
  * In a [MapView](https://developers.arcgis.com/javascript/latest/references/core/views/MapView/), [ElevationProfileLineScene](https://developers.arcgis.com/javascript/latest/references/core/analysis/ElevationProfile/ElevationProfileLineScene/) is
164
179
  * not supported.
165
180
  */
166
- get profiles(): Collection<ElevationProfileLineUnion>;
167
- set profiles(value: ReadonlyArrayOrCollection<((ElevationProfileLineGroundProperties & { type: "ground" }) | (ElevationProfileLineInputProperties & { type: "input" }) | (ElevationProfileLineQueryProperties & { type: "query" }) | (ElevationProfileLineSceneProperties & { type: "scene" }))> | null | undefined);
181
+ get profiles(): Collection<ElevationProfileLineUnion | ElevationProfileGroup>;
182
+ set profiles(value: ReadonlyArrayOrCollection<((ElevationProfileLineGroundProperties & { type: "ground" }) | (ElevationProfileLineInputProperties & { type: "input" }) | (ElevationProfileLineQueryProperties & { type: "query" }) | (ElevationProfileLineSceneProperties & { type: "scene" })) | (ElevationProfileGroupProperties & { type: "group" })> | null | undefined);
168
183
  /** The analysis type. */
169
184
  get type(): "elevation-profile";
170
185
  /**
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import{__decorate as e}from"tslib";import o from"./Analysis.js";import t from"./ElevationProfile/ElevationProfileDisplayUnits.js";import i from"./ElevationProfile/ElevationProfileLineGround.js";import{ElevationProfileLineCollection as r}from"./ElevationProfile/elevationProfileLineTypes.js";import s from"./ElevationProfile/ElevationProfileViewOptions.js";import{equals as l}from"../core/arrayUtils.js";import n from"../core/Collection.js";import{referenceSetter as a}from"../core/collectionUtils.js";import p from"../core/Logger.js";import{equalsMaybe as f}from"../core/maybe.js";import{property as m,subclass as y}from"../core/accessorSupport/decorators.js";import v from"../geometry/Polyline.js";import{geometryEquals as h}from"../layers/graphics/dehydratedFeatureComparison.js";import{getGraphicEffectiveElevationInfo as u}from"../support/elevationInfoUtils.js";import g from"../symbols/support/ElevationInfo.js";import{isValidInputPath as c}from"../views/analysis/ElevationProfile/elevationProfileGeometryUtils.js";let d=class extends o{constructor(e){super(e),this.type="elevation-profile",this.geometry=null,this.displayUnits=new t,this.viewOptions=new s,e?.profiles||(this.profiles=new n([new i]))}initialize(){const e=e=>!e?.declaredClass?.startsWith("esri.widgets.ElevationProfile")||(p.getLogger(this).errorOnce("Classes from the 'esri/widgets/ElevationProfile' namespace are meant for use with the Elevation Profile widget and are not supported in the 'profiles' collection of the ElevationProfileAnalysis. Use classes from 'esri/analysis/ElevationProfile' instead."),!1);this.profiles.on("before-changes",o=>{e(o.item)||o.preventDefault()});for(const o of Array.from(this.profiles))e(o)||this.profiles.remove(o)}get elevationInfo(){return this._get("elevationInfo")}set elevationInfo(e){this._set("elevationInfo",e)}get profiles(){return this._get("profiles")}set profiles(e){const o=this._get("profiles"),t=e??new n;this._set("profiles",a(t,o))}get valid(){return c(this.geometry)}equals(e){return this===e||super.equals(e)&&h(this.geometry,e.geometry)&&f(this.elevationInfo,e.elevationInfo)&&l(this.profiles.toArray(),e.profiles.toArray(),(e,o)=>e.equals(o))&&this.displayUnits.equals(e.displayUnits)&&this.viewOptions.equals(e.viewOptions)}clear(){this.geometry=null,this.elevationInfo=null}setGeometryFromFeature(e){e.geometry&&"polyline"===e.geometry.type?(this.geometry=e.geometry,this.elevationInfo=new g({...u(e)})):p.getLogger(this).errorOnce("The feature's geometry must be a polyline to set it as the geometry of the ElevationProfileAnalysis.")}};e([m({type:["elevation-profile"]})],d.prototype,"type",void 0),e([m({type:v})],d.prototype,"geometry",void 0),e([m({type:g})],d.prototype,"elevationInfo",null),e([m({type:r,nonNullable:!0})],d.prototype,"profiles",null),e([m({type:t,nonNullable:!0})],d.prototype,"displayUnits",void 0),e([m()],d.prototype,"valid",null),e([m({type:s,nonNullable:!0})],d.prototype,"viewOptions",void 0),d=e([y("esri.analysis.ElevationProfileAnalysis")],d);const P=d;export{P as default};
2
+ import{__decorate as e}from"tslib";import o from"./Analysis.js";import t from"./ElevationProfile/ElevationProfileDisplayUnits.js";import i from"./ElevationProfile/ElevationProfileGroup.js";import r from"./ElevationProfile/ElevationProfileLineGround.js";import s from"./ElevationProfile/ElevationProfileLineInput.js";import l from"./ElevationProfile/ElevationProfileLineQuery.js";import n from"./ElevationProfile/ElevationProfileLineScene.js";import a from"./ElevationProfile/ElevationProfileViewOptions.js";import p from"../core/Accessor.js";import{equals as f}from"../core/arrayUtils.js";import m from"../core/Collection.js";import{referenceSetter as y}from"../core/collectionUtils.js";import v from"../core/Logger.js";import{equalsMaybe as u}from"../core/maybe.js";import{property as h,subclass as c}from"../core/accessorSupport/decorators.js";import g from"../geometry/Polyline.js";import{geometryEquals as d}from"../layers/graphics/dehydratedFeatureComparison.js";import{getGraphicEffectiveElevationInfo as P}from"../support/elevationInfoUtils.js";import E from"../symbols/support/ElevationInfo.js";import{isValidInputPath as j}from"../views/analysis/ElevationProfile/elevationProfileGeometryUtils.js";const w={base:p,key:"type",typeMap:{ground:r,input:s,query:l,scene:n,group:i},errorContext:"elevation-profile-line"},I=m.ofType(w);let U=class extends o{constructor(e){super(e),this.type="elevation-profile",this.geometry=null,this.displayUnits=new t,this.viewOptions=new a,e?.profiles||(this.profiles=new m([new r]))}initialize(){const e=e=>!e?.declaredClass?.startsWith("esri.widgets.ElevationProfile")||(v.getLogger(this).errorOnce("Classes from the 'esri/widgets/ElevationProfile' namespace are meant for use with the Elevation Profile widget and are not supported in the 'profiles' collection of the ElevationProfileAnalysis. Use classes from 'esri/analysis/ElevationProfile' instead."),!1);this.profiles.on("before-changes",o=>{e(o.item)||o.preventDefault()});for(const o of Array.from(this.profiles))e(o)||this.profiles.remove(o)}get elevationInfo(){return this._get("elevationInfo")}set elevationInfo(e){this._set("elevationInfo",e)}get profiles(){return this._get("profiles")}set profiles(e){const o=this._get("profiles"),t=e??new m;this._set("profiles",y(t,o))}get valid(){return j(this.geometry)}equals(e){return this===e||super.equals(e)&&d(this.geometry,e.geometry)&&u(this.elevationInfo,e.elevationInfo)&&f(this.profiles.toArray(),e.profiles.toArray(),(e,o)=>e.equals(o))&&this.displayUnits.equals(e.displayUnits)&&this.viewOptions.equals(e.viewOptions)}clear(){this.geometry=null,this.elevationInfo=null}setGeometryFromFeature(e){e.geometry&&"polyline"===e.geometry.type?(this.geometry=e.geometry,this.elevationInfo=new E({...P(e)})):v.getLogger(this).errorOnce("The feature's geometry must be a polyline to set it as the geometry of the ElevationProfileAnalysis.")}};e([h({type:["elevation-profile"]})],U.prototype,"type",void 0),e([h({type:g})],U.prototype,"geometry",void 0),e([h({type:E})],U.prototype,"elevationInfo",null),e([h({type:I,nonNullable:!0})],U.prototype,"profiles",null),e([h({type:t,nonNullable:!0})],U.prototype,"displayUnits",void 0),e([h()],U.prototype,"valid",null),e([h({type:a,nonNullable:!0})],U.prototype,"viewOptions",void 0),U=e([c("esri.analysis.ElevationProfileAnalysis")],U);const b=U;export{b as default};
@@ -1,18 +1,32 @@
1
1
  import type Color from "../../Color.js";
2
+ import type ColorStop from "../../renderers/visualVariables/support/ColorStop.js";
2
3
  import type { ColorLike } from "../../Color.js";
3
4
  import type { Clonable } from "../../core/Clonable.js";
5
+ import type { ColorStopProperties } from "../../renderers/visualVariables/support/ColorStop.js";
4
6
 
5
7
  /** @since 5.0 */
6
8
  export interface DiscreteOptionsProperties extends Partial<Pick<DiscreteOptions, "interval">> {
7
9
  /**
8
- * Color of the shadow visualization. The opacity of the visualization is mapped to the number of overlapping
9
- * shadows. No shadow corresponds to opacity 0 and maximum number of shadows corresponds to the opacity set in this
10
- * color value.
10
+ * Defines the color used by the default color ramp for the visualization. The opacity is mapped to the number of
11
+ * overlapping shadows. Areas without shadow are displayed with zero opacity and areas with the maximum number of
12
+ * overlapping shadows are displayed with the opacity specified in this color.
13
+ *
14
+ * When [colorStops](https://developers.arcgis.com/javascript/latest/references/core/analysis/ShadowCast/DiscreteOptions/#colorStops) is not specified, the visualization uses a default ramp between transparent and this color. When specified, those stops are used instead.
11
15
  *
12
16
  * @default [50, 50, 50, 0.7]
13
17
  * @since 5.0
14
18
  */
15
19
  color?: ColorLike;
20
+ /**
21
+ * The color stops for the visualization.
22
+ *
23
+ * - Each stop defines a color and the corresponding number of overlapping shadows.
24
+ * - Colors are interpolated between adjacent stops.
25
+ * - If omitted, the visualization uses a default ramp between transparent and [color](https://developers.arcgis.com/javascript/latest/references/core/analysis/ShadowCast/DiscreteOptions/#color). If specified, these stops are used.
26
+ *
27
+ * @since 5.1
28
+ */
29
+ colorStops?: ColorStopProperties[] | null;
16
30
  }
17
31
 
18
32
  /**
@@ -28,15 +42,28 @@ export default class DiscreteOptions extends Clonable {
28
42
  /** @since 5.0 */
29
43
  constructor(properties?: DiscreteOptionsProperties);
30
44
  /**
31
- * Color of the shadow visualization. The opacity of the visualization is mapped to the number of overlapping
32
- * shadows. No shadow corresponds to opacity 0 and maximum number of shadows corresponds to the opacity set in this
33
- * color value.
45
+ * Defines the color used by the default color ramp for the visualization. The opacity is mapped to the number of
46
+ * overlapping shadows. Areas without shadow are displayed with zero opacity and areas with the maximum number of
47
+ * overlapping shadows are displayed with the opacity specified in this color.
48
+ *
49
+ * When [colorStops](https://developers.arcgis.com/javascript/latest/references/core/analysis/ShadowCast/DiscreteOptions/#colorStops) is not specified, the visualization uses a default ramp between transparent and this color. When specified, those stops are used instead.
34
50
  *
35
51
  * @default [50, 50, 50, 0.7]
36
52
  * @since 5.0
37
53
  */
38
54
  get color(): Color;
39
55
  set color(value: ColorLike);
56
+ /**
57
+ * The color stops for the visualization.
58
+ *
59
+ * - Each stop defines a color and the corresponding number of overlapping shadows.
60
+ * - Colors are interpolated between adjacent stops.
61
+ * - If omitted, the visualization uses a default ramp between transparent and [color](https://developers.arcgis.com/javascript/latest/references/core/analysis/ShadowCast/DiscreteOptions/#color). If specified, these stops are used.
62
+ *
63
+ * @since 5.1
64
+ */
65
+ get colorStops(): ColorStop[] | null | undefined;
66
+ set colorStops(value: ColorStopProperties[] | null | undefined);
40
67
  /**
41
68
  * Individual shadows are displayed at this time interval, starting with the start time of day.
42
69
  * The interval is expressed in milliseconds. If set to 0, we'll use the smallest possible interval, up to a
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import{__decorate as o}from"tslib";import r from"../../Color.js";import{Clonable as t}from"../../core/Clonable.js";import{convertTime as s}from"../../core/timeUtils.js";import{property as e,subclass as i}from"../../core/accessorSupport/decorators.js";let l=class extends t{constructor(o){super(o),this.color=new r([50,50,50,.7]),this.interval=s(1,"hours","milliseconds")}equals(o){return this===o||this.color.equals(o.color)&&this.interval===o.interval}};o([e({type:r,nonNullable:!0})],l.prototype,"color",void 0),o([e({type:Number})],l.prototype,"interval",void 0),l=o([i("esri.analysis.ShadowCast.DiscreteOptions")],l);const a=l;export{a as default};
2
+ import{__decorate as o}from"tslib";import r from"../../Color.js";import{colorStopsEqual as t}from"./colorStopsUtils.js";import{Clonable as s}from"../../core/Clonable.js";import{convertTime as e}from"../../core/timeUtils.js";import{property as l,subclass as i}from"../../core/accessorSupport/decorators.js";import p from"../../renderers/visualVariables/support/ColorStop.js";let c=class extends s{constructor(o){super(o),this.color=new r([50,50,50,.7]),this.colorStops=null,this.interval=e(1,"hours","milliseconds")}equals(o){return this===o||this.color.equals(o.color)&&t(this.colorStops,o.colorStops)&&this.interval===o.interval}};o([l({type:r,nonNullable:!0})],c.prototype,"color",void 0),o([l({type:[p]})],c.prototype,"colorStops",void 0),o([l({type:Number})],c.prototype,"interval",void 0),c=o([i("esri.analysis.ShadowCast.DiscreteOptions")],c);const a=c;export{a as default};
@@ -7,8 +7,9 @@ import type { Clonable } from "../../core/Clonable.js";
7
7
  /** @since 5.0 */
8
8
  export interface MinDurationOptionsProperties extends Partial<Pick<MinDurationOptions, "contextEnabled" | "minDuration">> {
9
9
  /**
10
- * Color of the shadow visualization. The areas with cumulative shadow time longer than the
11
- * [minDuration](https://developers.arcgis.com/javascript/latest/references/core/analysis/ShadowCast/MinDurationOptions/#minDuration) are displayed with this color.
10
+ * Defines the color used to display areas where the cumulative shadow duration meets or exceeds
11
+ * [minDuration](https://developers.arcgis.com/javascript/latest/references/core/analysis/ShadowCast/MinDurationOptions/#minDuration). Areas with shorter shadow duration are displayed with
12
+ * zero opacity.
12
13
  *
13
14
  * @default [255, 0, 0, 0.7]
14
15
  * @since 5.0
@@ -38,8 +39,9 @@ export default class MinDurationOptions extends Clonable {
38
39
  /** @since 5.0 */
39
40
  constructor(properties?: MinDurationOptionsProperties);
40
41
  /**
41
- * Color of the shadow visualization. The areas with cumulative shadow time longer than the
42
- * [minDuration](https://developers.arcgis.com/javascript/latest/references/core/analysis/ShadowCast/MinDurationOptions/#minDuration) are displayed with this color.
42
+ * Defines the color used to display areas where the cumulative shadow duration meets or exceeds
43
+ * [minDuration](https://developers.arcgis.com/javascript/latest/references/core/analysis/ShadowCast/MinDurationOptions/#minDuration). Areas with shorter shadow duration are displayed with
44
+ * zero opacity.
43
45
  *
44
46
  * @default [255, 0, 0, 0.7]
45
47
  * @since 5.0
@@ -1,19 +1,33 @@
1
1
  import type Color from "../../Color.js";
2
+ import type ColorStop from "../../renderers/visualVariables/support/ColorStop.js";
2
3
  import type { ColorLike } from "../../Color.js";
3
4
  import type { ShadowCastTotalDurationMode } from "./types.js";
4
5
  import type { Clonable } from "../../core/Clonable.js";
6
+ import type { ColorStopProperties } from "../../renderers/visualVariables/support/ColorStop.js";
5
7
 
6
8
  /** @since 5.0 */
7
9
  export interface TotalDurationOptionsProperties extends Partial<Pick<TotalDurationOptions, "mode">> {
8
10
  /**
9
- * Color of the shadow visualization. The opacity is mapped to the time spent in shadow. Areas that don't receive any
10
- * shadow are displayed with zero opacity and areas that receive shadows for the entire time range are displayed
11
- * with the opacity specified in this property.
11
+ * Defines the color used by the default color ramp for the visualization. The opacity is mapped to the time spent
12
+ * in shadow. Areas that don't receive any shadow are displayed with zero opacity and areas that receive shadows for
13
+ * the entire time range are displayed with the opacity specified in this color.
14
+ *
15
+ * When [colorStops](https://developers.arcgis.com/javascript/latest/references/core/analysis/ShadowCast/TotalDurationOptions/#colorStops) is not specified, the visualization uses a default ramp between transparent and this color. When specified, those stops are used instead.
12
16
  *
13
17
  * @default [0, 0, 255, 0.7]
14
18
  * @since 5.0
15
19
  */
16
20
  color?: ColorLike;
21
+ /**
22
+ * The color stops for the visualization.
23
+ *
24
+ * - Each stop defines a color and a value in milliseconds.
25
+ * - Colors are interpolated between adjacent stops.
26
+ * - If omitted, the visualization uses a default ramp between transparent and [color](https://developers.arcgis.com/javascript/latest/references/core/analysis/ShadowCast/TotalDurationOptions/#color). If specified, these stops are used.
27
+ *
28
+ * @since 5.1
29
+ */
30
+ colorStops?: ColorStopProperties[] | null;
17
31
  }
18
32
 
19
33
  /**
@@ -29,15 +43,28 @@ export default class TotalDurationOptions extends Clonable {
29
43
  /** @since 5.0 */
30
44
  constructor(properties?: TotalDurationOptionsProperties);
31
45
  /**
32
- * Color of the shadow visualization. The opacity is mapped to the time spent in shadow. Areas that don't receive any
33
- * shadow are displayed with zero opacity and areas that receive shadows for the entire time range are displayed
34
- * with the opacity specified in this property.
46
+ * Defines the color used by the default color ramp for the visualization. The opacity is mapped to the time spent
47
+ * in shadow. Areas that don't receive any shadow are displayed with zero opacity and areas that receive shadows for
48
+ * the entire time range are displayed with the opacity specified in this color.
49
+ *
50
+ * When [colorStops](https://developers.arcgis.com/javascript/latest/references/core/analysis/ShadowCast/TotalDurationOptions/#colorStops) is not specified, the visualization uses a default ramp between transparent and this color. When specified, those stops are used instead.
35
51
  *
36
52
  * @default [0, 0, 255, 0.7]
37
53
  * @since 5.0
38
54
  */
39
55
  get color(): Color;
40
56
  set color(value: ColorLike);
57
+ /**
58
+ * The color stops for the visualization.
59
+ *
60
+ * - Each stop defines a color and a value in milliseconds.
61
+ * - Colors are interpolated between adjacent stops.
62
+ * - If omitted, the visualization uses a default ramp between transparent and [color](https://developers.arcgis.com/javascript/latest/references/core/analysis/ShadowCast/TotalDurationOptions/#color). If specified, these stops are used.
63
+ *
64
+ * @since 5.1
65
+ */
66
+ get colorStops(): ColorStop[] | null | undefined;
67
+ set colorStops(value: ColorStopProperties[] | null | undefined);
41
68
  /**
42
69
  * Determines how cumulative shadow duration is visualized. Either as a `continuous` surface across the selected time
43
70
  * range or aggregated into discrete `hourly` intervals.
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import{__decorate as o}from"tslib";import t from"../../Color.js";import{Clonable as r}from"../../core/Clonable.js";import{property as s,subclass as e}from"../../core/accessorSupport/decorators.js";let l=class extends r{constructor(o){super(o),this.color=new t([0,0,255,.7]),this.mode="continuous"}equals(o){return this===o||this.color.equals(o.color)&&this.mode===o.mode}};o([s({type:t,nonNullable:!0})],l.prototype,"color",void 0),o([s({type:["continuous","hourly"]})],l.prototype,"mode",void 0),l=o([e("esri.analysis.ShadowCast.TotalDurationOptions")],l);const i=l;export{i as default};
2
+ import{__decorate as o}from"tslib";import t from"../../Color.js";import{colorStopsEqual as r}from"./colorStopsUtils.js";import{Clonable as s}from"../../core/Clonable.js";import{property as e,subclass as l}from"../../core/accessorSupport/decorators.js";import p from"../../renderers/visualVariables/support/ColorStop.js";let i=class extends s{constructor(o){super(o),this.color=new t([0,0,255,.7]),this.colorStops=null,this.mode="continuous"}equals(o){return this===o||this.color.equals(o.color)&&r(this.colorStops,o.colorStops)&&this.mode===o.mode}};o([e({type:t,nonNullable:!0})],i.prototype,"color",void 0),o([e({type:[p]})],i.prototype,"colorStops",void 0),o([e({type:["continuous","hourly"]})],i.prototype,"mode",void 0),i=o([l("esri.analysis.ShadowCast.TotalDurationOptions")],i);const c=i;export{c as default};
@@ -0,0 +1,2 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
+ import{equals as l}from"../../core/arrayUtils.js";function r(r,n){return r===n||null==r&&null==n||null!=r&&null!=n&&l(r,n,(l,r)=>l.equals(r))}export{r as colorStopsEqual};
@@ -2,14 +2,16 @@ import type Analysis from "./Analysis.js";
2
2
  import type DiscreteOptions from "./ShadowCast/DiscreteOptions.js";
3
3
  import type MinDurationOptions from "./ShadowCast/MinDurationOptions.js";
4
4
  import type TotalDurationOptions from "./ShadowCast/TotalDurationOptions.js";
5
+ import type Polygon from "../geometry/Polygon.js";
5
6
  import type { AnalysisProperties } from "./Analysis.js";
6
7
  import type { DiscreteOptionsProperties } from "./ShadowCast/DiscreteOptions.js";
7
8
  import type { MinDurationOptionsProperties } from "./ShadowCast/MinDurationOptions.js";
8
9
  import type { TotalDurationOptionsProperties } from "./ShadowCast/TotalDurationOptions.js";
9
10
  import type { ShadowCastMode } from "./ShadowCast/types.js";
11
+ import type { PolygonProperties } from "../geometry/Polygon.js";
10
12
 
11
13
  /** @since 5.0 */
12
- export interface ShadowCastAnalysisProperties extends AnalysisProperties, Partial<Pick<ShadowCastAnalysis, "endTimeOfDay" | "mode" | "startTimeOfDay" | "utcOffset">> {
14
+ export interface ShadowCastAnalysisProperties extends AnalysisProperties, Partial<Pick<ShadowCastAnalysis, "endTimeOfDay" | "mode" | "startTimeOfDay" | "utcOffset" | "visualizeSunlight">> {
13
15
  /**
14
16
  * The calendar date used to calculate the shadow cast. This date excludes the time.
15
17
  * If a date with a time is set, the time value will be set to midnight (`00:00:00`) of that date in local system time.
@@ -24,6 +26,12 @@ export interface ShadowCastAnalysisProperties extends AnalysisProperties, Partia
24
26
  * @since 5.0
25
27
  */
26
28
  discreteOptions?: DiscreteOptionsProperties;
29
+ /**
30
+ * Area inside which to apply the shadow cast. If not set it will apply to the entire scene.
31
+ *
32
+ * @since 5.1
33
+ */
34
+ geometry?: PolygonProperties | null;
27
35
  /**
28
36
  * Options specific to the `min-duration` mode.
29
37
  *
@@ -173,6 +181,13 @@ export default class ShadowCastAnalysis extends Analysis {
173
181
  * @since 5.0
174
182
  */
175
183
  accessor endTimeOfDay: number;
184
+ /**
185
+ * Area inside which to apply the shadow cast. If not set it will apply to the entire scene.
186
+ *
187
+ * @since 5.1
188
+ */
189
+ get geometry(): Polygon | null | undefined;
190
+ set geometry(value: PolygonProperties | null | undefined);
176
191
  /**
177
192
  * Options specific to the `min-duration` mode.
178
193
  *
@@ -235,4 +250,12 @@ export default class ShadowCastAnalysis extends Analysis {
235
250
  * @since 5.0
236
251
  */
237
252
  get valid(): boolean;
253
+ /**
254
+ * When `true`, the analysis will visualize the sunlight duration instead of the shadow duration. This applies to all
255
+ * modes and their respective options.
256
+ *
257
+ * @default false
258
+ * @since 5.1
259
+ */
260
+ accessor visualizeSunlight: boolean;
238
261
  }
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import{__decorate as t}from"tslib";import o from"./Analysis.js";import e from"./ShadowCast/DiscreteOptions.js";import s from"./ShadowCast/MinDurationOptions.js";import i from"./ShadowCast/TotalDurationOptions.js";import{convertTime as a}from"../core/timeUtils.js";import{property as n,subclass as r}from"../core/accessorSupport/decorators.js";let p=class extends o{constructor(t){super(t),this.type="shadow-cast",this.utcOffset=null,this.startTimeOfDay=a(10,"hours","milliseconds"),this.endTimeOfDay=a(16,"hours","milliseconds"),this.mode="min-duration",this.discreteOptions=new e,this.totalDurationOptions=new i,this.minDurationOptions=new s,this.date??=new Date}set date(t){const o=new Date(t);o.setHours(0,0,0,0),this._set("date",o)}get valid(){return!0}equals(t){return this===t||super.equals(t)&&this.date.getTime()===t.date.getTime()&&this.utcOffset===t.utcOffset&&this.startTimeOfDay===t.startTimeOfDay&&this.endTimeOfDay===t.endTimeOfDay&&this.mode===t.mode&&this.discreteOptions.equals(t.discreteOptions)&&this.totalDurationOptions.equals(t.totalDurationOptions)&&this.minDurationOptions.equals(t.minDurationOptions)}clear(){throw new Error("clear() is not supported on ShadowCastAnalysis.")}};t([n({type:["shadow-cast"]})],p.prototype,"type",void 0),t([n({type:Date,nonNullable:!0})],p.prototype,"date",null),t([n({})],p.prototype,"utcOffset",void 0),t([n({type:Number,nonNullable:!0})],p.prototype,"startTimeOfDay",void 0),t([n({type:Number,nonNullable:!0})],p.prototype,"endTimeOfDay",void 0),t([n({type:["discrete","min-duration","total-duration"],nonNullable:!0})],p.prototype,"mode",void 0),t([n({type:e,nonNullable:!0})],p.prototype,"discreteOptions",void 0),t([n({type:i,nonNullable:!0})],p.prototype,"totalDurationOptions",void 0),t([n({type:s,nonNullable:!0})],p.prototype,"minDurationOptions",void 0),t([n({readOnly:!0})],p.prototype,"valid",null),p=t([r("esri.analysis.ShadowCastAnalysis")],p);const l=p;export{l as default};
2
+ import{__decorate as t}from"tslib";import o from"./Analysis.js";import e from"./ShadowCast/DiscreteOptions.js";import i from"./ShadowCast/MinDurationOptions.js";import s from"./ShadowCast/TotalDurationOptions.js";import{equalsMaybe as a}from"../core/maybe.js";import{convertTime as r}from"../core/timeUtils.js";import{property as n,subclass as l}from"../core/accessorSupport/decorators.js";import p from"../geometry/Polygon.js";let u=class extends o{constructor(t){super(t),this.type="shadow-cast",this.geometry=null,this.utcOffset=null,this.startTimeOfDay=r(10,"hours","milliseconds"),this.endTimeOfDay=r(16,"hours","milliseconds"),this.mode="min-duration",this.visualizeSunlight=!1,this.discreteOptions=new e,this.totalDurationOptions=new s,this.minDurationOptions=new i,this.date??=new Date}set date(t){const o=new Date(t);o.setHours(0,0,0,0),this._set("date",o)}get valid(){return!0}equals(t){return this===t||super.equals(t)&&this.date.getTime()===t.date.getTime()&&this.utcOffset===t.utcOffset&&this.startTimeOfDay===t.startTimeOfDay&&this.endTimeOfDay===t.endTimeOfDay&&a(this.geometry,t.geometry)&&this.mode===t.mode&&this.visualizeSunlight===t.visualizeSunlight&&this.discreteOptions.equals(t.discreteOptions)&&this.totalDurationOptions.equals(t.totalDurationOptions)&&this.minDurationOptions.equals(t.minDurationOptions)}clear(){throw new Error("clear() is not supported on ShadowCastAnalysis.")}};t([n({type:["shadow-cast"]})],u.prototype,"type",void 0),t([n({type:Date,nonNullable:!0})],u.prototype,"date",null),t([n({type:p})],u.prototype,"geometry",void 0),t([n({})],u.prototype,"utcOffset",void 0),t([n({type:Number,nonNullable:!0})],u.prototype,"startTimeOfDay",void 0),t([n({type:Number,nonNullable:!0})],u.prototype,"endTimeOfDay",void 0),t([n({type:["discrete","min-duration","total-duration"],nonNullable:!0})],u.prototype,"mode",void 0),t([n({type:Boolean,nonNullable:!0})],u.prototype,"visualizeSunlight",void 0),t([n({type:e,nonNullable:!0})],u.prototype,"discreteOptions",void 0),t([n({type:s,nonNullable:!0})],u.prototype,"totalDurationOptions",void 0),t([n({type:i,nonNullable:!0})],u.prototype,"minDurationOptions",void 0),t([n({readOnly:!0})],u.prototype,"valid",null),u=t([l("esri.analysis.ShadowCastAnalysis")],u);const m=u;export{m as default};
@@ -1,10 +1,24 @@
1
1
  import type Point from "../geometry/Point.js";
2
+ import type ElevationInfo from "../symbols/support/ElevationInfo.js";
2
3
  import type { FeatureReference } from "./types.js";
3
4
  import type { Clonable } from "../core/Clonable.js";
4
5
  import type { JSONSupportMixin } from "../core/JSONSupport.js";
5
6
  import type { PointProperties } from "../geometry/Point.js";
7
+ import type { ElevationInfoProperties } from "../symbols/support/ElevationInfo.js";
6
8
 
7
9
  export interface ViewshedProperties extends Partial<Pick<Viewshed, "farDistance" | "feature" | "heading" | "horizontalFieldOfView" | "tilt" | "verticalFieldOfView">> {
10
+ /**
11
+ * Specifies how the observer is placed on the vertical axis (z). See the [ElevationInfo sample](https://developers.arcgis.com/javascript/latest/sample-code/scene-elevationinfo/)
12
+ * for an example of how this property may be used.
13
+ *
14
+ * > [!WARNING]
15
+ * >
16
+ * > [ElevationInfo.featureExpressionInfo](https://developers.arcgis.com/javascript/latest/references/core/symbols/support/ElevationInfo/#featureExpressionInfo) is not supported when the elevation info is specified for this class.
17
+ * > If the elevation info is not specified, the effective elevation depends on the [observer](https://developers.arcgis.com/javascript/latest/references/core/analysis/Viewshed/#observer) properties.
18
+ *
19
+ * @since 5.1
20
+ */
21
+ elevationInfo?: ElevationInfoProperties | null;
8
22
  /** A [Point](https://developers.arcgis.com/javascript/latest/references/core/geometry/Point/) specifying the position the viewshed is calculated from. */
9
23
  observer?: PointProperties | null;
10
24
  }
@@ -57,6 +71,19 @@ export interface ViewshedProperties extends Partial<Pick<Viewshed, "farDistance"
57
71
  */
58
72
  export default class Viewshed extends ViewshedSuperclass {
59
73
  constructor(properties?: ViewshedProperties);
74
+ /**
75
+ * Specifies how the observer is placed on the vertical axis (z). See the [ElevationInfo sample](https://developers.arcgis.com/javascript/latest/sample-code/scene-elevationinfo/)
76
+ * for an example of how this property may be used.
77
+ *
78
+ * > [!WARNING]
79
+ * >
80
+ * > [ElevationInfo.featureExpressionInfo](https://developers.arcgis.com/javascript/latest/references/core/symbols/support/ElevationInfo/#featureExpressionInfo) is not supported when the elevation info is specified for this class.
81
+ * > If the elevation info is not specified, the effective elevation depends on the [observer](https://developers.arcgis.com/javascript/latest/references/core/analysis/Viewshed/#observer) properties.
82
+ *
83
+ * @since 5.1
84
+ */
85
+ get elevationInfo(): ElevationInfo | null | undefined;
86
+ set elevationInfo(value: ElevationInfoProperties | null | undefined);
60
87
  /**
61
88
  * The maximum distance from the observer in which to perform the viewshed analysis (in meters).
62
89
  *
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import{__decorate as e}from"tslib";import{featureReferenceEquals as r,featureReferenceProperty as i}from"./featureReferenceUtils.js";import{Clonable as t}from"../core/Clonable.js";import{cyclicalDegrees as o}from"../core/Cyclical.js";import{JSONSupportMixin as s}from"../core/JSONSupport.js";import{equalsMaybe as l}from"../core/maybe.js";import{property as a,cast as n,subclass as p}from"../core/accessorSupport/decorators.js";import{ensureNumber as u}from"../core/accessorSupport/ensureType.js";import d from"../geometry/Point.js";let m=class extends(s(t)){constructor(e){super(e),this.observer=null,this.farDistance=1e3,this.heading=0,this.tilt=90,this.horizontalFieldOfView=45,this.verticalFieldOfView=45,this.feature=null}get valid(){return null!=this.observer&&this.farDistance>0}equals(e){return l(this.observer,e.observer)&&this.farDistance===e.farDistance&&this.heading===e.heading&&this.tilt===e.tilt&&this.horizontalFieldOfView===e.horizontalFieldOfView&&this.verticalFieldOfView===e.verticalFieldOfView&&r(this.feature,e.feature)}};e([a({type:d,json:{write:{isRequired:!0}}})],m.prototype,"observer",void 0),e([a({type:Number,nonNullable:!0,range:{min:0},json:{write:{isRequired:!0}}})],m.prototype,"farDistance",void 0),e([a({type:Number,nonNullable:!0,json:{write:{isRequired:!0}}}),n(e=>o.normalize(u(e),void 0,!0))],m.prototype,"heading",void 0),e([a({type:Number,nonNullable:!0,range:{min:0,max:180},json:{write:{isRequired:!0}}})],m.prototype,"tilt",void 0),e([a({type:Number,nonNullable:!0,range:{min:0,max:360},json:{write:{isRequired:!0}}})],m.prototype,"horizontalFieldOfView",void 0),e([a({type:Number,nonNullable:!0,range:{min:0,max:180},json:{write:{isRequired:!0}}})],m.prototype,"verticalFieldOfView",void 0),e([a(i)],m.prototype,"feature",void 0),e([a({readOnly:!0,json:{read:!1}})],m.prototype,"valid",null),m=e([p("esri.analysis.Viewshed")],m);export{m as default};
2
+ import{__decorate as e}from"tslib";import{featureReferenceEquals as i,featureReferenceProperty as t}from"./featureReferenceUtils.js";import{Clonable as r}from"../core/Clonable.js";import{cyclicalDegrees as o}from"../core/Cyclical.js";import{JSONSupportMixin as s}from"../core/JSONSupport.js";import{equalsMaybe as l}from"../core/maybe.js";import{property as n,cast as a,subclass as p}from"../core/accessorSupport/decorators.js";import{ensureNumber as u}from"../core/accessorSupport/ensureType.js";import m from"../geometry/Point.js";import d from"../symbols/support/ElevationInfo.js";let f=class extends(s(r)){constructor(e){super(e),this.observer=null,this.farDistance=1e3,this.heading=0,this.tilt=90,this.horizontalFieldOfView=45,this.verticalFieldOfView=45,this.elevationInfo=null,this.feature=null}get valid(){return null!=this.observer&&this.farDistance>0}equals(e){return l(this.observer,e.observer)&&this.farDistance===e.farDistance&&this.heading===e.heading&&this.tilt===e.tilt&&this.horizontalFieldOfView===e.horizontalFieldOfView&&this.verticalFieldOfView===e.verticalFieldOfView&&l(this.elevationInfo,e.elevationInfo)&&i(this.feature,e.feature)}};e([n({type:m,json:{write:{isRequired:!0}}})],f.prototype,"observer",void 0),e([n({type:Number,nonNullable:!0,range:{min:0},json:{write:{isRequired:!0}}})],f.prototype,"farDistance",void 0),e([n({type:Number,nonNullable:!0,json:{write:{isRequired:!0}}}),a(e=>o.normalize(u(e),void 0,!0))],f.prototype,"heading",void 0),e([n({type:Number,nonNullable:!0,range:{min:0,max:180},json:{write:{isRequired:!0}}})],f.prototype,"tilt",void 0),e([n({type:Number,nonNullable:!0,range:{min:0,max:360},json:{write:{isRequired:!0}}})],f.prototype,"horizontalFieldOfView",void 0),e([n({type:Number,nonNullable:!0,range:{min:0,max:180},json:{write:{isRequired:!0}}})],f.prototype,"verticalFieldOfView",void 0),e([n({type:d})],f.prototype,"elevationInfo",void 0),e([n(t)],f.prototype,"feature",void 0),e([n({readOnly:!0,json:{read:!1}})],f.prototype,"valid",null),f=e([p("esri.analysis.Viewshed")],f);export{f as default};
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import{__decorate as e}from"tslib";import t from"./Analysis.js";import n from"./Viewshed.js";import{equals as r}from"../core/arrayUtils.js";import i from"../core/Collection.js";import{referenceSetter as s,castForReferenceSetter as o}from"../core/collectionUtils.js";import{cyclicalDegrees as l}from"../core/Cyclical.js";import{deg2rad as a,clamp as u}from"../core/mathUtils.js";import{watch as p,syncAndInitial as c}from"../core/reactiveUtils.js";import{property as m,subclass as h}from"../core/accessorSupport/decorators.js";import d from"../geometry/Extent.js";import{projectOrLoadMany as f}from"../geometry/projectionUtils.js";const v=i.ofType(n);let y=class extends t{constructor(e){super(e),this.type="viewshed",this._extent=null}initialize(){this.addHandles(p(()=>this._computeExtent(),e=>{null==e.pending&&(this._extent=e.extent)},c))}get viewsheds(){return this._get("viewsheds")||new v}set viewsheds(e){this._set("viewsheds",s(e,this.viewsheds,v))}get spatialReference(){for(const e of this.viewsheds)if(null!=e.observer)return e.observer.spatialReference;return null}get extent(){return this._extent}get valid(){return this.viewsheds.every(e=>e.valid)}async waitComputeExtent(){const e=this._computeExtent();null!=e.pending&&await e.pending}_computeExtent(){const{spatialReference:e}=this;if(null==e)return{pending:null,extent:null};const t=this.viewsheds.filter(e=>null!=e.observer),n=t.map(e=>e.observer).toArray(),r=f(n,e);if(null!=r.pending)return{pending:r.pending,extent:null};return{pending:null,extent:r.geometries.map((e,n)=>{const r=t.at(n);return null!=e&&null!=r?this._computeViewshedExtent(this.viewsheds.at(n),e):null}).filter(e=>null!=e).reduce((e,t)=>x(e,t),null)}}_computeViewshedExtent(e,t){const{farDistance:n,heading:r,tilt:i,horizontalFieldOfView:s,verticalFieldOfView:o}=e,{spatialReference:p}=t,c=s/2,m=o/2,h=n/p.metersPerUnit,f=[l.normalize(r-c),r,l.normalize(r+c)],v=d.fromPoint(t),y=e=>{const t=f.map(t=>l.normalize(t-e));if(t[0]>t[2]||360===s)return h;const n=t.map(e=>Math.abs(e>180?360-e:e)).reduce((e,t)=>e>t?t:e);return n>90?0:h*Math.cos(a(n))};v.xmax+=y(90),v.xmin-=y(-90),v.ymax+=y(0),v.ymin-=y(180);const x=t.z;if(null!=x){let e=x,t=x;const r=i-90,s=u(r+m,-90,90),o=u(r-m,-90,90),l=p?.isGeographic?n:h;e+=l*g(s),t+=l*g(o);const a=w(m)*l,d=g(r)*a*(1-w(c));i<90&&(e-=d),i>90&&(t-=d),v.zmax=Math.max(e,x),v.zmin=Math.min(t,x)}return v}equals(e){return this===e||super.equals(e)&&r(this.viewsheds.toArray(),e.viewsheds.toArray(),(e,t)=>e.equals(t))}clear(){this.viewsheds.removeAll()}};function x(e,t){return null==e?t:null==t?e:e.union(t)}function w(e){return Math.cos(a(e))}function g(e){return Math.sin(a(e))}e([m({type:["viewshed"]})],y.prototype,"type",void 0),e([m({cast:o,type:v,nonNullable:!0})],y.prototype,"viewsheds",null),e([m({readOnly:!0})],y.prototype,"spatialReference",null),e([m()],y.prototype,"_extent",void 0),e([m()],y.prototype,"extent",null),e([m({readOnly:!0})],y.prototype,"valid",null),y=e([h("esri.analysis.ViewshedAnalysis")],y);export{y as default};
2
+ import{__decorate as e}from"tslib";import t from"./Analysis.js";import n from"./Viewshed.js";import{equals as r}from"../core/arrayUtils.js";import i from"../core/Collection.js";import{referenceSetter as s,castForReferenceSetter as o}from"../core/collectionUtils.js";import{cyclicalDegrees as l}from"../core/Cyclical.js";import{deg2rad as a,clamp as u}from"../core/mathUtils.js";import{watch as p,syncAndInitial as c}from"../core/reactiveUtils.js";import{property as m,subclass as h}from"../core/accessorSupport/decorators.js";import d from"../geometry/Extent.js";import{projectOrLoadMany as f}from"../geometry/projectionUtils.js";import{getGeometryEffectiveElevationMode as v}from"../support/elevationInfoUtils.js";const y=i.ofType(n);let x=class extends t{constructor(e){super(e),this.type="viewshed",this._extent=null}initialize(){this.addHandles(p(()=>this._computeExtent(),e=>{null==e.pending&&(this._extent=e.extent)},c))}get viewsheds(){return this._get("viewsheds")||new y}set viewsheds(e){this._set("viewsheds",s(e,this.viewsheds,y))}get spatialReference(){for(const e of this.viewsheds)if(null!=e.observer)return e.observer.spatialReference;return null}get extent(){return this._extent}get valid(){return this.viewsheds.every(e=>e.valid)}async waitComputeExtent(){const e=this._computeExtent();null!=e.pending&&await e.pending}_computeExtent(){const{spatialReference:e}=this;if(null==e)return{pending:null,extent:null};const t=this.viewsheds.filter(e=>null!=e.observer),n=t.map(e=>e.observer).toArray(),r=f(n,e);if(null!=r.pending)return{pending:r.pending,extent:null};const i=r.geometries.map((e,n)=>{const r=t.at(n);return null!=e&&null!=r?this._computeViewshedExtent(this.viewsheds.at(n),e):null}).filter(e=>null!=e).reduce((e,t)=>g(e,t),null);return null!=i&&t.some(e=>!w(e))&&(i.zmin=void 0,i.zmax=void 0),{pending:null,extent:i}}_computeViewshedExtent(e,t){const{farDistance:n,heading:r,tilt:i,horizontalFieldOfView:s,verticalFieldOfView:o}=e,{spatialReference:p}=t,c=s/2,m=o/2,h=n/p.metersPerUnit,f=[l.normalize(r-c),r,l.normalize(r+c)],v=d.fromPoint(t),y=e=>{const t=f.map(t=>l.normalize(t-e));if(t[0]>t[2]||360===s)return h;const n=t.map(e=>Math.abs(e>180?360-e:e)).reduce((e,t)=>e>t?t:e);return n>90?0:h*Math.cos(a(n))};v.xmax+=y(90),v.xmin-=y(-90),v.ymax+=y(0),v.ymin-=y(180);const x=t.z;if(null!=x){let e=x,t=x;const r=i-90,s=u(r+m,-90,90),o=u(r-m,-90,90),l=p?.isGeographic?n:h;e+=l*_(s),t+=l*_(o);const a=j(m)*l,d=_(r)*a*(1-j(c));i<90&&(e-=d),i>90&&(t-=d),v.zmax=Math.max(e,x),v.zmin=Math.min(t,x)}return v}equals(e){return this===e||super.equals(e)&&r(this.viewsheds.toArray(),e.viewsheds.toArray(),(e,t)=>e.equals(t))}clear(){this.viewsheds.removeAll()}};function w(e){return"absolute-height"===v(e.observer,e.elevationInfo)}function g(e,t){return null==e?t:null==t?e:e.union(t)}function j(e){return Math.cos(a(e))}function _(e){return Math.sin(a(e))}e([m({type:["viewshed"]})],x.prototype,"type",void 0),e([m({cast:o,type:y,nonNullable:!0})],x.prototype,"viewsheds",null),e([m({readOnly:!0})],x.prototype,"spatialReference",null),e([m()],x.prototype,"_extent",void 0),e([m()],x.prototype,"extent",null),e([m({readOnly:!0})],x.prototype,"valid",null),x=e([h("esri.analysis.ViewshedAnalysis")],x);export{x as default};
@@ -0,0 +1,34 @@
1
+ import type ImageryTileLayer from "../../../../layers/ImageryTileLayer.js";
2
+ import type MapView from "../../../../views/MapView.js";
3
+
4
+ /**
5
+ * @internal
6
+ * @internal
7
+ */
8
+ export interface RotateDimensionsResult {
9
+ /** @internal */
10
+ width: number;
11
+ /** @internal */
12
+ height: number;
13
+ }
14
+
15
+ /**
16
+ * Rotates the dimensions of the image based on the given rotation angle.
17
+ *
18
+ * @param width - The width of the image.
19
+ * @param height - The height of the image.
20
+ * @param rotation - The rotation angle in degrees.
21
+ * @internal
22
+ * @internal
23
+ */
24
+ export function rotateDimensions(width: number, height: number, rotation: number): RotateDimensionsResult;
25
+
26
+ /**
27
+ * Registers a custom pan constraint on the view to restrict panning beyond the boundaries of the image.
28
+ *
29
+ * @param view - The [MapView](https://developers.arcgis.com/javascript/latest/references/core/views/MapView/) instance to register the pan constraint on.
30
+ * @param image - The [ImageryTileLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/ImageryTileLayer/) representing the image being displayed in the viewer.
31
+ * @internal
32
+ * @internal
33
+ */
34
+ export function registerPanConstraint(view: MapView, image: ImageryTileLayer): void;
@@ -0,0 +1,2 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
+ import t from"../../../../geometry/Point.js";function i(t,i,e){const n=e*(Math.PI/180);return{width:t*Math.cos(n)+i*Math.sin(n),height:t*Math.sin(n)+i*Math.cos(n)}}function e({viewpoint:e,imageWidth:n,imageHeight:o,containerWidth:a,containerHeight:r,rotation:h,constraints:s,imageExtent:c}){const g=a/r,{width:m,height:d}=i(n,o,h),{width:l,height:x}=i(c.xmin,c.ymin,h),{width:w,height:f}=i(c.xmax,c.ymax,h),p=m/a>d/r,u=s.scaleToZoom(e.scale),y=1/2**u;let M=y*m,v=y*d;u>=1&&(p?v=M/g:M=v*g);const{x:H,y:W,spatialReference:E}=e.targetGeometry,P=M/2,R=v/2,C=H<l+P?l+P:H>w-P?w-P:H,G=W<x+R?x+R:W>f-R?f-R:W;return e.targetGeometry=new t({x:C,y:G,spatialReference:E}),e}function n(t,i){const n=t.constraints.customConstraints;n.removeAll();const o=n=>{const{constraints:o,width:a,height:r}=t,{width:h,height:s}=i.serviceRasterInfo;return e({constraints:o,viewpoint:n,imageWidth:h,imageHeight:s,containerWidth:a,containerHeight:r,rotation:0,imageExtent:i.fullExtent})};n.add({constrain:o,applyPanConstraint:o})}export{n as registerPanConstraint,i as rotateDimensions};
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import{isPromiseLike as t}from"../core/promiseUtils.js";class r{constructor(){}}function n(t,n,e){if(t instanceof r&&!(t instanceof s)){const r=new s;return r.fn=t,r.parameterEvaluator=e,r.context=n,r}return t}class e extends r{constructor(t){super(),this.fn=t}createFunction(t){return(...r)=>this.fn(t,{preparsed:!0,arguments:r})}call(t,r){return this.fn(t,r)}marshalledCall(e,a,l,c){return c(e,a,(a,o,i)=>{i=i.map(t=>t instanceof r&&!(t instanceof s)?n(t,e,c):t);const u=this.call(l,{args:i});return t(u)?u.then(t=>n(t,l,c)):u})}}class s extends r{constructor(){super(...arguments),this.fn=null,this.context=null}createFunction(t){return this.fn.createFunction(this.context)}call(t,r){return this.fn.marshalledCall(t,r,this.context,this.parameterEvaluator)}marshalledCall(t,r,n){return this.fn.marshalledCall(t,r,this.context,this.parameterEvaluator)}}export{r as ArcadeFunction,e as NativeFunction,s as ScopeMarshalledFunction,n as wrapModuleScopedResponse};
2
+ import{isPromiseLike as t}from"../core/promiseUtils.js";class e{constructor(){}}function n(t,n,r){if(t instanceof e&&!(t instanceof a)){const e=new a;return e.fn=t,e.parameterEvaluator=r,e.context=n,e}return t}class r extends e{constructor(t,e){super(),this._name=e,this.fn=t}get debugName(){return null!=this._name?`<native>.${this._name}`:"<native>"}createFunction(t){return(...e)=>this.fn(t,{preparsed:!0,arguments:e})}call(t,e){return this.fn(t,e)}marshalledCall(r,s,l,i){return i(r,s,(s,u,c)=>{c=c.map(t=>t instanceof e&&!(t instanceof a)?n(t,r,i):t);const o=this.call(l,{args:c});return t(o)?o.then(t=>n(t,l,i)):o})}}class a extends e{constructor(){super(...arguments),this.fn=null,this.context=null}get debugName(){return null!=this.fn.debugName?`<imported>.${this.fn.debugName}`:null}createFunction(t){return this.fn.createFunction(this.context)}call(t,e){return this.fn.marshalledCall(t,e,this.context,this.parameterEvaluator)}marshalledCall(t,e,n){return this.fn.marshalledCall(t,e,this.context,this.parameterEvaluator)}}export{e as ArcadeFunction,r as NativeFunction,a as ScopeMarshalledFunction,n as wrapModuleScopedResponse};