@arcgis/core 5.1.0-next.117 → 5.1.0-next.119

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 (238) hide show
  1. package/Graphic.d.ts +2 -1
  2. package/analysis/ShadowCast/TotalDurationOptions.d.ts +7 -9
  3. package/analysis/ShadowCastAnalysis.d.ts +6 -5
  4. package/analysis/SliceAnalysis.d.ts +1 -1
  5. package/arcgisGlobal.d.ts +2 -1
  6. package/assets/components/assets/icon/orientedImageryFullSuperimpose16.json +1 -0
  7. package/assets/components/assets/icon/orientedImageryFullSuperimpose24.json +1 -0
  8. package/assets/components/assets/icon/orientedImageryFullSuperimpose32.json +1 -0
  9. package/assets/components/assets/icon/orientedImageryHalfSuperimpose16.json +1 -0
  10. package/assets/components/assets/icon/orientedImageryHalfSuperimpose24.json +1 -0
  11. package/assets/components/assets/icon/orientedImageryHalfSuperimpose32.json +1 -0
  12. package/assets/components/assets/icon/orientedImagerySceneOnly16.json +1 -0
  13. package/assets/components/assets/icon/orientedImagerySceneOnly24.json +1 -0
  14. package/assets/components/assets/icon/orientedImagerySceneOnly32.json +1 -0
  15. package/assets/components/assets/icon/parquetFeatureLayer16.json +1 -0
  16. package/assets/components/assets/icon/parquetFeatureLayer24.json +1 -0
  17. package/assets/components/assets/icon/parquetFeatureLayer32.json +1 -0
  18. package/assets/esri/core/workers/RemoteClient.js +1 -1
  19. package/assets/esri/core/workers/chunks/{cf3036711bbe6095eaed.js → 017f50aae082d6664cfe.js} +1 -1
  20. package/assets/esri/core/workers/chunks/{325bfac7cfa28a6d568f.js → 0e774f14ba274832f390.js} +1 -1
  21. package/assets/esri/core/workers/chunks/{f231548c8ac7ecb59927.js → 0fbf9bf52ecb4cd8293b.js} +1 -1
  22. package/assets/esri/core/workers/chunks/{24b43fb12fc3009fdc30.js → 13940660fe88cfc0d9f3.js} +1 -1
  23. package/assets/esri/core/workers/chunks/14c6419568d8a7a15cd6.js +1 -0
  24. package/assets/esri/core/workers/chunks/153dc2a0b08a0e44a881.js +1 -0
  25. package/assets/esri/core/workers/chunks/1a527c0740d9f4fa0791.js +1 -0
  26. package/assets/esri/core/workers/chunks/{a814069325125466506b.js → 1a95370ddc22729ab3c6.js} +1 -1
  27. package/assets/esri/core/workers/chunks/{c88fd4f69cb2b53b48ec.js → 1b0765403b06294b3e1d.js} +1 -1
  28. package/assets/esri/core/workers/chunks/1bebf7202d5f94b15674.js +1 -0
  29. package/assets/esri/core/workers/chunks/{425c04b26a6ec6d04b08.js → 201007cf1a91e2b126fc.js} +1 -1
  30. package/assets/esri/core/workers/chunks/20e2d11f6de438ee883e.js +1 -0
  31. package/assets/esri/core/workers/chunks/{db012650fb34c10cecd0.js → 24acf3dd541347c2b297.js} +1 -1
  32. package/assets/esri/core/workers/chunks/{ba693317ed3939587f30.js → 290163964ec7f05f96d6.js} +1 -1
  33. package/assets/esri/core/workers/chunks/{9250615c78f8570a9cda.js → 29615df388a0df022d8c.js} +1 -1
  34. package/assets/esri/core/workers/chunks/2a2981f0987dd1eaa75a.js +1 -0
  35. package/assets/esri/core/workers/chunks/{94a5a834e32fc6cc6ed4.js → 2e11b4e9d66474a60064.js} +1 -1
  36. package/assets/esri/core/workers/chunks/{8e7ce4835b3106349684.js → 2ee9514396d22638870c.js} +1 -1
  37. package/assets/esri/core/workers/chunks/{702a3ef9e1b3442cbee7.js → 32323b0e0fcecd8f640e.js} +1 -1
  38. package/assets/esri/core/workers/chunks/3a6678ee9990d7e83e15.js +1 -0
  39. package/assets/esri/core/workers/chunks/{102ff3710db4ba5f083d.js → 3bf6d55511cd7722eb93.js} +1 -1
  40. package/assets/esri/core/workers/chunks/3eabc8af82512dc12355.js +1 -0
  41. package/assets/esri/core/workers/chunks/40df6ffeb61fea80aae3.js +1 -0
  42. package/assets/esri/core/workers/chunks/{7df05c3c82cd27b77300.js → 423a9882abd4a6dadf86.js} +1 -1
  43. package/assets/esri/core/workers/chunks/428561df7ba6f02e2d80.js +1 -0
  44. package/assets/esri/core/workers/chunks/{299b4eecd0288348c971.js → 45323491f9005629c602.js} +1 -1
  45. package/assets/esri/core/workers/chunks/46d3ddf62fa7a76dd57d.js +1 -0
  46. package/assets/esri/core/workers/chunks/{51816d79c6be15e4bfcf.js → 46fbd519cc1a37923bfc.js} +1 -1
  47. package/assets/esri/core/workers/chunks/{b0c242c4f5412e4cce73.js → 47d49777a3b3cd8e18bd.js} +1 -1
  48. package/assets/esri/core/workers/chunks/{22d4521637806a8b828f.js → 4bfffdfbe6d467f143a4.js} +1 -1
  49. package/assets/esri/core/workers/chunks/{7c2d7df4ef4d775cd648.js → 4d09ef7c57ab7f9782fe.js} +1 -1
  50. package/assets/esri/core/workers/chunks/{557e39e5156b313597f9.js → 4e314e7cf477ad54541d.js} +1 -1
  51. package/assets/esri/core/workers/chunks/{7c292f7b181f3b93352b.js → 4ef53455c8bc6efee80e.js} +1 -1
  52. package/assets/esri/core/workers/chunks/{86443e47ad99e555753a.js → 53246ce4d2c7d2d2fc62.js} +1 -1
  53. package/assets/esri/core/workers/chunks/5500dc39e11a0057ae16.js +1 -0
  54. package/assets/esri/core/workers/chunks/{dce37324a2382d2eef0d.js → 552945a73a95cd2a9f54.js} +1 -1
  55. package/assets/esri/core/workers/chunks/5784ddd18395f4d76016.js +640 -0
  56. package/assets/esri/core/workers/chunks/578ab400e1998d0bcd62.js +1 -0
  57. package/assets/esri/core/workers/chunks/{0a530fbbb4486c670ea2.js → 5c7aff9604b4576a0e1d.js} +1 -1
  58. package/assets/esri/core/workers/chunks/{0954e82f739d25001bcb.js → 603177137eb680afe371.js} +1 -1
  59. package/assets/esri/core/workers/chunks/62206d5d497b95fc4caf.js +1 -0
  60. package/assets/esri/core/workers/chunks/{69a1cbf0af059548f96a.js → 64daa2a714e59d22bbd4.js} +1 -1
  61. package/assets/esri/core/workers/chunks/{4cecc582513b8a83f194.js → 65621650a53f69f7b05a.js} +1 -1
  62. package/assets/esri/core/workers/chunks/{86a767c2b0b1e37ff493.js → 65a9a94162985b54571e.js} +1 -1
  63. package/assets/esri/core/workers/chunks/6af77529c977d034d287.js +1 -0
  64. package/assets/esri/core/workers/chunks/{1f3a676e7a4eae5ad566.js → 767ea5b455b3823afd09.js} +1 -1
  65. package/assets/esri/core/workers/chunks/{466c250537415f12eb59.js → 798e8bf3a7ad83d810e3.js} +1 -1
  66. package/assets/esri/core/workers/chunks/{f69c44479ee3fd8c831d.js → 7d220f574ebf2740c208.js} +1 -1
  67. package/assets/esri/core/workers/chunks/{e95ce76b5b816256a519.js → 7f54d3835c0ce573a942.js} +1 -1
  68. package/assets/esri/core/workers/chunks/804ab5f614efa12a131b.js +1 -0
  69. package/assets/esri/core/workers/chunks/{ed939fd5d3827a3f70e0.js → 81e3bd1a0634ddc2b833.js} +1 -1
  70. package/assets/esri/core/workers/chunks/823789261ca3338f0fa8.js +1 -0
  71. package/assets/esri/core/workers/chunks/8244b74e9c3a30d8d2f6.js +2 -0
  72. package/assets/esri/core/workers/chunks/{5cdf87e7a59ace38df87.js → 84b0b6e099d949e0fea5.js} +1 -1
  73. package/assets/esri/core/workers/chunks/{caf80facb0322be054ab.js → 8cc6a00c2991ce3fde67.js} +1 -1
  74. package/assets/esri/core/workers/chunks/8e1865392681d390ab2e.js +1 -0
  75. package/assets/esri/core/workers/chunks/93826180cfd66a6d2596.js +1 -0
  76. package/assets/esri/core/workers/chunks/{90b0fe5584fb6fc99766.js → 9d27cc631bab8aa7479e.js} +1 -1
  77. package/assets/esri/core/workers/chunks/a730235da6ba2b2d9f47.js +30 -0
  78. package/assets/esri/core/workers/chunks/a806ac351ef5da04c250.js +1 -0
  79. package/assets/esri/core/workers/chunks/{558606a1af22e4a0d536.js → aca6ff64495580d873d1.js} +1 -1
  80. package/assets/esri/core/workers/chunks/ad488985824fbb830ed6.js +1 -0
  81. package/assets/esri/core/workers/chunks/adac8583750783b9c599.js +2 -0
  82. package/assets/esri/core/workers/chunks/{762e23466308f22d7076.js → aea384f4d88121da8f54.js} +1 -1
  83. package/assets/esri/core/workers/chunks/{4e97c01698ef36cc5e0e.js → bfc2b75e4f7531dbd37f.js} +1 -1
  84. package/assets/esri/core/workers/chunks/c216cd5d6b5d4fe4bab3.js +2 -0
  85. package/assets/esri/core/workers/chunks/c44be4aaba829e6d149d.js +1 -0
  86. package/assets/esri/core/workers/chunks/{6a53c8db554be55c5885.js → c528b04d42dffbb491da.js} +31 -21
  87. package/assets/esri/core/workers/chunks/ca4245414d8ecd217f9d.js +1 -0
  88. package/assets/esri/core/workers/chunks/{7a3b05e25de2ff150f38.js → cc479daacd2cf715baa8.js} +1 -1
  89. package/assets/esri/core/workers/chunks/{1252da05832e576d4def.js → d1ccc5f2d8892328ab01.js} +2 -2
  90. package/assets/esri/core/workers/chunks/{3aebbed6d4fd1b993a35.js → d2dd6e252d5fecfc0f83.js} +1 -1
  91. package/assets/esri/core/workers/chunks/{b44f1d08784f2e50c853.js → d3af51a6d9014ff46170.js} +1 -1
  92. package/assets/esri/core/workers/chunks/{e6e15e9e890b864fb395.js → d41fe5a248221c0a1714.js} +1 -1
  93. package/assets/esri/core/workers/chunks/d561dc933d8fe1672d85.js +1 -0
  94. package/assets/esri/core/workers/chunks/daec09750a5a70cdb0f0.js +2 -0
  95. package/assets/esri/core/workers/chunks/de41c3f5b34c49175833.js +1 -0
  96. package/assets/esri/core/workers/chunks/e178cd0e9178d6716410.js +1 -0
  97. package/assets/esri/core/workers/chunks/e9dcc3e9dbafe9bbed84.js +1 -0
  98. package/assets/esri/core/workers/chunks/{185c670eb99474906836.js → edb55329305becdb204f.js} +1 -1
  99. package/assets/esri/core/workers/chunks/{d21bf107698fef03125e.js → f142f892e9e896052ddc.js} +1 -1
  100. package/assets/esri/core/workers/chunks/f58ddf37dee066a5c0d8.js +1 -0
  101. package/assets/esri/themes/base/widgets/_BatchAttributeForm.scss +27 -4
  102. package/assets/esri/themes/base/widgets/_Grid.scss +3 -3
  103. package/assets/esri/themes/dark/main.css +1 -1
  104. package/assets/esri/themes/light/main.css +1 -1
  105. package/assets/esri/themes/light/view.css +1 -1
  106. package/chunks/GlobalIllumination.glsl.js +20 -19
  107. package/chunks/GlobalIlluminationBlur.glsl.js +15 -12
  108. package/chunks/GlobalIlluminationUpscale.glsl.js +4 -3
  109. package/chunks/ShadowCastVisualize.glsl.js +20 -23
  110. package/config.js +1 -1
  111. package/editing/templates/{TemplateListing.d.ts → TemplateListItem.d.ts} +35 -6
  112. package/editing/templates/{TemplateListing.js → TemplateListItem.js} +1 -1
  113. package/interfaces.d.ts +7 -0
  114. package/kernel.js +1 -1
  115. package/layers/FeatureLayer.d.ts +29 -3
  116. package/layers/FeatureLayer.js +1 -1
  117. package/layers/ImageryTileLayer.js +1 -1
  118. package/layers/MediaLayer.d.ts +1 -1
  119. package/layers/SceneLayer.d.ts +2 -2
  120. package/layers/VectorTileLayer.d.ts +2 -2
  121. package/layers/mixins/ArcGISImageService.js +1 -1
  122. package/layers/mixins/BlendLayer.d.ts +1 -1
  123. package/layers/mixins/PortalLayer.js +1 -1
  124. package/layers/mixins/TiledImagery.js +1 -1
  125. package/layers/raster/datasets/ImageAuxRaster.js +1 -1
  126. package/layers/raster/datasets/RasterFactory.js +1 -1
  127. package/layers/save/featureLayerUtils.js +1 -1
  128. package/layers/support/FeatureFilter.d.ts +1 -1
  129. package/layers/support/FeatureReductionSelection.d.ts +1 -1
  130. package/layers/support/RasterJobHandler.js +1 -1
  131. package/layers/support/RasterWorker.js +1 -1
  132. package/layers/support/SymbolLayerDrawing.d.ts +10 -0
  133. package/layers/support/arcgisLayers.js +1 -1
  134. package/layers/support/fetchService.js +1 -1
  135. package/layers/support/layerUtils.js +1 -1
  136. package/layers/support/layersLoader.js +1 -1
  137. package/layers/support/rasterJobHelper.js +2 -0
  138. package/layers/types.d.ts +2 -3
  139. package/package.json +3 -3
  140. package/renderers/FlowRenderer.d.ts +2 -2
  141. package/rest/support/AttributeBinsQuery.d.ts +5 -5
  142. package/rest/support/OutDistance.d.ts +50 -0
  143. package/rest/support/OutDistance.js +1 -1
  144. package/rest/support/Query.d.ts +46 -5
  145. package/rest/support/TopFeaturesQuery.d.ts +5 -5
  146. package/smartMapping/raster/renderers/flow.d.ts +2 -2
  147. package/smartMapping/symbology/flow.d.ts +2 -2
  148. package/smartMapping/symbology/types.d.ts +2 -2
  149. package/support/revision.js +1 -1
  150. package/symbols/support/Symbol3DVerticalOffset.d.ts +2 -2
  151. package/views/2d/engine/vectorTiles/shaders/VTLBackgroundMaterial.js +1 -1
  152. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/vector-tiles/VTLShaderCircle.js +1 -1
  153. package/views/2d/engine/webgl/shaders/sources/shaderRepository.js +1 -1
  154. package/views/2d/layers/FeatureLikeLayerView2D.js +1 -1
  155. package/views/2d/layers/features/FeaturePipelineWorker.js +1 -1
  156. package/views/2d/layers/features/Processor.js +1 -1
  157. package/views/2d/layers/features/processor/AProcessorStrategy.js +1 -1
  158. package/views/2d/layers/features/processor/ClusterStrategy.js +1 -1
  159. package/views/2d/layers/features/sources/strategies/ParquetTileLoadStrategy.js +1 -1
  160. package/views/2d/layers/features/support/FeatureSetReaderParquet.js +1 -1
  161. package/views/3d/analysis/ShadowCast/ShadowCastTooltip.js +1 -1
  162. package/views/3d/analysis/ShadowCastAnalysisView3D.js +1 -1
  163. package/views/3d/analysis/ViewshedAnalysisView3D.js +1 -1
  164. package/views/3d/interactive/editingTools/transform/ExtentTransformTool.js +1 -1
  165. package/views/3d/layers/GaussianSplatLayerView3D.js +1 -1
  166. package/views/3d/layers/graphics/defaultSymbolComplexity.js +1 -1
  167. package/views/3d/webgl-engine/effects/globalIllumination/GlobalIllumination.glsl.js +1 -1
  168. package/views/3d/webgl-engine/effects/globalIllumination/GlobalIlluminationBlur.glsl.js +1 -1
  169. package/views/3d/webgl-engine/effects/globalIllumination/GlobalIlluminationColorQuantization.glsl.js +7 -0
  170. package/views/3d/webgl-engine/effects/globalIllumination/GlobalIlluminationUpscale.glsl.js +1 -1
  171. package/views/3d/webgl-engine/lib/ShadowAccumulator.js +1 -1
  172. package/views/SceneView.d.ts +1 -1
  173. package/views/interactive/sketch/SketchTooltipOptions.d.ts +1 -1
  174. package/views/interactive/snapping/SnappingOptions.d.ts +3 -3
  175. package/views/layers/ImageryLayerView.d.ts +1 -1
  176. package/widgets/BatchAttributeForm/BatchAttributeFormViewModel.d.ts +29 -1
  177. package/widgets/BatchAttributeForm/BatchAttributeFormViewModel.js +1 -1
  178. package/widgets/BatchAttributeForm/attachmentUtils.js +1 -1
  179. package/widgets/BatchAttributeForm/css.js +1 -1
  180. package/widgets/BatchAttributeForm/inputs/AttachmentElementInput.js +1 -1
  181. package/widgets/BatchAttributeForm/inputs/FieldInput.d.ts +0 -5
  182. package/widgets/BatchAttributeForm/inputs/FieldInput.js +1 -1
  183. package/widgets/BatchAttributeForm/inputs/UtilityNetworkAssociationsElementInput.js +1 -1
  184. package/widgets/BatchAttributeForm/inputs/support/inputUtils.js +1 -1
  185. package/widgets/BatchAttributeForm/types.d.ts +67 -0
  186. package/widgets/BatchAttributeForm.d.ts +26 -1
  187. package/widgets/BatchAttributeForm.js +1 -1
  188. package/widgets/Daylight.d.ts +1 -1
  189. package/widgets/Directions/DirectionsViewModel.js +1 -1
  190. package/widgets/Editor.d.ts +8 -8
  191. package/widgets/ElevationProfile.d.ts +1 -1
  192. package/widgets/FeatureTable/ActionColumn.d.ts +1 -1
  193. package/widgets/OrientedImageryViewer/OrientedImageryViewerViewModel.js +1 -1
  194. package/widgets/Print/PrintViewModel.js +1 -1
  195. package/widgets/Sketch/SketchViewModel.d.ts +38 -38
  196. package/widgets/Sketch/support/PluginManager.js +1 -1
  197. package/widgets/Sketch.d.ts +39 -39
  198. package/widgets/Sketch.js +1 -1
  199. package/widgets/Slice.d.ts +1 -1
  200. package/widgets/UtilityNetworkTrace.d.ts +1 -1
  201. package/widgets/UtilityNetworkValidateTopology.d.ts +1 -1
  202. package/assets/esri/core/workers/chunks/074f5e6aaeafca13bf72.js +0 -1
  203. package/assets/esri/core/workers/chunks/0e9804ece1fd2d59751b.js +0 -1
  204. package/assets/esri/core/workers/chunks/18ebf1d3ed05c8057f7d.js +0 -1
  205. package/assets/esri/core/workers/chunks/1da2c34743897d1b6a24.js +0 -1
  206. package/assets/esri/core/workers/chunks/2e8db0f05df2e38a14e1.js +0 -2
  207. package/assets/esri/core/workers/chunks/32f24a66f684de3c243d.js +0 -1
  208. package/assets/esri/core/workers/chunks/41074d383af3662673ca.js +0 -1
  209. package/assets/esri/core/workers/chunks/413d2fa54508e6f42c74.js +0 -1
  210. package/assets/esri/core/workers/chunks/4325fa92dafca465ae26.js +0 -1
  211. package/assets/esri/core/workers/chunks/438f35d41c6851736818.js +0 -30
  212. package/assets/esri/core/workers/chunks/544174c33628846284a1.js +0 -1
  213. package/assets/esri/core/workers/chunks/55b765c72d13b3b911f9.js +0 -1
  214. package/assets/esri/core/workers/chunks/55d168c13491fcdfb284.js +0 -1
  215. package/assets/esri/core/workers/chunks/62b5972d0ef9bf173308.js +0 -1
  216. package/assets/esri/core/workers/chunks/6af88bb722bbb37db198.js +0 -2
  217. package/assets/esri/core/workers/chunks/708bd77e6d723e3f0aa8.js +0 -1
  218. package/assets/esri/core/workers/chunks/70d8f5bdb452cee41536.js +0 -2
  219. package/assets/esri/core/workers/chunks/75a7de23c05435ec7649.js +0 -1
  220. package/assets/esri/core/workers/chunks/87a40e7f79f97ca637a9.js +0 -1
  221. package/assets/esri/core/workers/chunks/8a68884d40f6f6de1d12.js +0 -1
  222. package/assets/esri/core/workers/chunks/927c8ca7fd385b28a1b7.js +0 -640
  223. package/assets/esri/core/workers/chunks/92a7735973b2f82a66ce.js +0 -1
  224. package/assets/esri/core/workers/chunks/978b7d10054e17161145.js +0 -1
  225. package/assets/esri/core/workers/chunks/a0fce639319d59becd01.js +0 -2
  226. package/assets/esri/core/workers/chunks/aa03f770178693167aa0.js +0 -1
  227. package/assets/esri/core/workers/chunks/aea439d4c2308f88b295.js +0 -1
  228. package/assets/esri/core/workers/chunks/b78fb24b47d9f31f18c6.js +0 -1
  229. package/assets/esri/core/workers/chunks/b8dda9e55caba0e2b4c2.js +0 -1
  230. package/assets/esri/core/workers/chunks/c4872cf3b71d00f450e1.js +0 -1
  231. package/assets/esri/core/workers/chunks/d598d08dbf2796742e8c.js +0 -1
  232. package/assets/esri/core/workers/chunks/fa3138dd8139008b430d.js +0 -1
  233. package/assets/esri/core/workers/chunks/fc9fbc8e4e459edf4e37.js +0 -1
  234. /package/assets/esri/core/workers/chunks/{2e8db0f05df2e38a14e1.js.LICENSE.txt → 8244b74e9c3a30d8d2f6.js.LICENSE.txt} +0 -0
  235. /package/assets/esri/core/workers/chunks/{6af88bb722bbb37db198.js.LICENSE.txt → adac8583750783b9c599.js.LICENSE.txt} +0 -0
  236. /package/assets/esri/core/workers/chunks/{70d8f5bdb452cee41536.js.LICENSE.txt → c216cd5d6b5d4fe4bab3.js.LICENSE.txt} +0 -0
  237. /package/assets/esri/core/workers/chunks/{1252da05832e576d4def.js.LICENSE.txt → d1ccc5f2d8892328ab01.js.LICENSE.txt} +0 -0
  238. /package/assets/esri/core/workers/chunks/{a0fce639319d59becd01.js.LICENSE.txt → daec09750a5a70cdb0f0.js.LICENSE.txt} +0 -0
@@ -0,0 +1,50 @@
1
+ import type { ClonableMixin } from "../../core/Clonable.js";
2
+ import type { JSONSupport } from "../../core/JSONSupport.js";
3
+
4
+ /** @since 5.1 */
5
+ export interface OutDistanceProperties extends Partial<Pick<OutDistance, "ascendingOrder" | "outDistanceUnit" | "returnDistance">> {}
6
+
7
+ /**
8
+ * Defines the [outDistance](https://developers.arcgis.com/javascript/latest/references/core/rest/support/Query/#outDistance) parameter on a [Query](https://developers.arcgis.com/javascript/latest/references/core/rest/support/Query/) and specifies whether to return the distance
9
+ * of each feature from the input geometry's buffer in a query result. It also optionally controls the sort order of results based on distances of features
10
+ * from the input geometry's buffer.
11
+ * Distance values are returned only when the following conditions are met:
12
+ * - The [Query.distance](https://developers.arcgis.com/javascript/latest/references/core/rest/support/Query/#distance) is greater than 0
13
+ * - [Query.units](https://developers.arcgis.com/javascript/latest/references/core/rest/support/Query/#units) is specified
14
+ * - [Query.outDistance](https://developers.arcgis.com/javascript/latest/references/core/rest/support/Query/#outDistance) is specified and its [OutDistance.returnDistance](https://developers.arcgis.com/javascript/latest/references/core/rest/support/OutDistance/#returnDistance) property is `true`
15
+ *
16
+ * > [!WARNING]
17
+ * >
18
+ * > **Known Limitations**
19
+ * >
20
+ * > Supported only on a service-backed [FeatureLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/FeatureLayer/) where the [supportsOutDistance](https://developers.arcgis.com/javascript/latest/references/core/layers/types/#QueryCapabilities) capability
21
+ * > is `true`.
22
+ *
23
+ * @since 5.1
24
+ */
25
+ export default class OutDistance extends OutDistanceSuperclass {
26
+ constructor(properties?: OutDistanceProperties);
27
+ /**
28
+ * Indicates whether to return the distance values in ascending order. This property is only applicable when [returnDistance](https://developers.arcgis.com/javascript/latest/references/core/rest/support/OutDistance/#returnDistance) is `true`.
29
+ *
30
+ * @default true
31
+ * @since 5.1
32
+ */
33
+ accessor ascendingOrder: boolean;
34
+ /**
35
+ * The distance unit of the returned distance values. This property is only applicable when
36
+ * [returnDistance](https://developers.arcgis.com/javascript/latest/references/core/rest/support/OutDistance/#returnDistance) is `true`.
37
+ *
38
+ * @since 5.1
39
+ */
40
+ accessor outDistanceUnit: "feet" | "miles" | "nautical-miles" | "us-nautical-miles" | "meters" | "kilometers" | null | undefined;
41
+ /**
42
+ * Indicates whether to return the calculated distance value for each feature in a distance query result.
43
+ * Distance values returned in each feature's [distance](https://developers.arcgis.com/javascript/latest/references/core/Graphic/#distance) property.
44
+ *
45
+ * @default true
46
+ * @since 5.1
47
+ */
48
+ accessor returnDistance: boolean;
49
+ }
50
+ declare const OutDistanceSuperclass: typeof JSONSupport & typeof ClonableMixin
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import{__decorate as t}from"tslib";import{ClonableMixin as e}from"../../core/Clonable.js";import{JSONMap as r}from"../../core/jsonMap.js";import{JSONSupport as o}from"../../core/JSONSupport.js";import{property as i,subclass as s}from"../../core/accessorSupport/decorators.js";import{enumeration as n}from"../../core/accessorSupport/decorators/enumeration.js";const c=new r({esriSRUnit_Meter:"meters",esriSRUnit_Kilometer:"kilometers",esriSRUnit_Foot:"feet",esriSRUnit_StatuteMile:"miles",esriSRUnit_NauticalMile:"nautical-miles",esriSRUnit_USNauticalMile:"us-nautical-miles"});let a=class extends(e(o)){constructor(){super(...arguments),this.returnDistance=!0,this.ascendingOrder=!0,this.outDistanceUnit=null}};t([i({json:{write:!0}})],a.prototype,"returnDistance",void 0),t([i({json:{write:!0}})],a.prototype,"ascendingOrder",void 0),t([n(c,{ignoreUnknown:!1}),i({json:{write:{isRequired:!0}}})],a.prototype,"outDistanceUnit",void 0),a=t([s("esri.rest.support.OutDistance")],a);const p=a;export{p as default};
2
+ import{__decorate as t}from"tslib";import{ClonableMixin as e}from"../../core/Clonable.js";import{JSONMap as r}from"../../core/jsonMap.js";import{JSONSupport as o}from"../../core/JSONSupport.js";import{property as i,subclass as s}from"../../core/accessorSupport/decorators.js";import{enumeration as n}from"../../core/accessorSupport/decorators/enumeration.js";const c=new r({esriSRUnit_Meter:"meters",esriSRUnit_Kilometer:"kilometers",esriSRUnit_Foot:"feet",esriSRUnit_StatuteMile:"miles",esriSRUnit_NauticalMile:"nautical-miles",esriSRUnit_USNauticalMile:"us-nautical-miles"});let a=class extends(e(o)){constructor(t){super(t),this.returnDistance=!0,this.ascendingOrder=!0,this.outDistanceUnit=null}};t([i({json:{write:!0}})],a.prototype,"returnDistance",void 0),t([i({json:{write:!0}})],a.prototype,"ascendingOrder",void 0),t([n(c,{ignoreUnknown:!1}),i({})],a.prototype,"outDistanceUnit",void 0),a=t([s("esri.rest.support.OutDistance")],a);const p=a;export{p as default};
@@ -1,6 +1,7 @@
1
1
  import type Point from "../../geometry/Point.js";
2
2
  import type SpatialReference from "../../geometry/SpatialReference.js";
3
3
  import type GeographicTransformation from "../../geometry/operators/support/GeographicTransformation.js";
4
+ import type OutDistance from "./OutDistance.js";
4
5
  import type QuantizationParameters from "./QuantizationParameters.js";
5
6
  import type StatisticDefinition from "./StatisticDefinition.js";
6
7
  import type TimeExtent from "../../time/TimeExtent.js";
@@ -18,6 +19,7 @@ import type { SpatialReferenceProperties } from "../../geometry/SpatialReference
18
19
  import type { StatisticDefinitionProperties } from "./StatisticDefinition.js";
19
20
  import type { QuantizationParametersProperties } from "./QuantizationParameters.js";
20
21
  import type { TimeExtentProperties } from "../../time/TimeExtent.js";
22
+ import type { OutDistanceProperties } from "./OutDistance.js";
21
23
 
22
24
  export interface QueryProperties extends Partial<Pick<Query, "aggregateIds" | "cacheHint" | "datumTransformation" | "distance" | "gdbVersion" | "geometryPrecision" | "groupByFieldsForStatistics" | "having" | "maxAllowableOffset" | "maxRecordCountFactor" | "multipatchOption" | "num" | "objectIds" | "orderByFields" | "outFields" | "parameterValues" | "rangeValues" | "relationParameter" | "returnCentroid" | "returnDistinctValues" | "returnExceededLimitFeatures" | "returnGeometry" | "returnM" | "returnQueryGeometry" | "returnStatisticsAggregatedIds" | "returnTrueCurves" | "returnZ" | "spatialRelationship" | "sqlFormat" | "start" | "text" | "units" | "where">> {
23
25
  /**
@@ -36,6 +38,24 @@ export interface QueryProperties extends Partial<Pick<Query, "aggregateIds" | "c
36
38
  * capability of the service being queried is `true`. This setting is provided in the layer resource.
37
39
  */
38
40
  historicMoment?: (Date | number | string) | null;
41
+ /**
42
+ * Specifies whether to return the distance of each feature from the input geometry's buffer in a query result. It also optionally controls the sort
43
+ * order of results based on distances of features from the input geometry's buffer.
44
+ * Distance values are returned only when the following conditions are met:
45
+ * - The [Query.distance](https://developers.arcgis.com/javascript/latest/references/core/rest/support/Query/#distance) is greater than 0
46
+ * - [Query.units](https://developers.arcgis.com/javascript/latest/references/core/rest/support/Query/#units) is specified
47
+ * - The `outDistance` is specified and its [OutDistance.returnDistance](https://developers.arcgis.com/javascript/latest/references/core/rest/support/OutDistance/#returnDistance) property is `true`
48
+ *
49
+ * > [!WARNING]
50
+ * >
51
+ * > **Known Limitations**
52
+ * >
53
+ * > Supported only on a service-backed [FeatureLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/FeatureLayer/) where the [supportsOutDistance](https://developers.arcgis.com/javascript/latest/references/core/layers/types/#QueryCapabilities) capability
54
+ * > is `true`.
55
+ *
56
+ * @since 5.1
57
+ */
58
+ outDistance?: OutDistanceProperties | null;
39
59
  /**
40
60
  * The spatial reference for the returned geometry. If not specified, the geometry is returned in the spatial
41
61
  * reference of the queried layer.
@@ -411,12 +431,14 @@ export default class Query extends JSONSupport {
411
431
  accessor datumTransformation: DatumTransformation | GeographicTransformation | null | undefined;
412
432
  /**
413
433
  * Specifies a search distance from a given [geometry](https://developers.arcgis.com/javascript/latest/references/core/rest/support/Query/#geometry) in a spatial query.
414
- * The [units property](https://developers.arcgis.com/javascript/latest/references/core/rest/support/Query/#units) indicates the unit of measurement. In essence, setting this property
415
- * creates a buffer at the specified size around the input [geometry](https://developers.arcgis.com/javascript/latest/references/core/rest/support/Query/#geometry). The query will use that
416
- * buffer to return features in the layer or layer view that adhere to the to the indicated [spatial relationship](https://developers.arcgis.com/javascript/latest/references/core/rest/support/Query/#spatialRelationship).
434
+ * The [units property](https://developers.arcgis.com/javascript/latest/references/core/rest/support/Query/#units) indicates the unit of measurement. In essence, setting this property
435
+ * creates a buffer at the specified size around the input [geometry](https://developers.arcgis.com/javascript/latest/references/core/rest/support/Query/#geometry). The query will use that
436
+ * buffer to return features in the layer or layer view that adhere to the to the indicated [spatial relationship](https://developers.arcgis.com/javascript/latest/references/core/rest/support/Query/#spatialRelationship).
437
+ *
438
+ * If querying a feature service, the [supportsQueryWithDistance](https://developers.arcgis.com/rest/services-reference/enterprise/query-feature-service-layer/)
439
+ * capability must be `true`.
417
440
  *
418
- * If querying a feature service, the [supportsQueryWithDistance](https://developers.arcgis.com/rest/services-reference/query-feature-service-layer-.htm)
419
- * capability must be `true`.
441
+ * @see [Query.outDistance](https://developers.arcgis.com/javascript/latest/references/core/rest/support/Query/#outDistance)
420
442
  */
421
443
  accessor distance: number | null | undefined;
422
444
  /** Specifies the geodatabase version to display for feature service queries. */
@@ -584,6 +606,25 @@ export default class Query extends JSONSupport {
584
606
  * @example query.orderByFields = ["STATE_NAME DESC"];
585
607
  */
586
608
  accessor orderByFields: string[] | null | undefined;
609
+ /**
610
+ * Specifies whether to return the distance of each feature from the input geometry's buffer in a query result. It also optionally controls the sort
611
+ * order of results based on distances of features from the input geometry's buffer.
612
+ * Distance values are returned only when the following conditions are met:
613
+ * - The [Query.distance](https://developers.arcgis.com/javascript/latest/references/core/rest/support/Query/#distance) is greater than 0
614
+ * - [Query.units](https://developers.arcgis.com/javascript/latest/references/core/rest/support/Query/#units) is specified
615
+ * - The `outDistance` is specified and its [OutDistance.returnDistance](https://developers.arcgis.com/javascript/latest/references/core/rest/support/OutDistance/#returnDistance) property is `true`
616
+ *
617
+ * > [!WARNING]
618
+ * >
619
+ * > **Known Limitations**
620
+ * >
621
+ * > Supported only on a service-backed [FeatureLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/FeatureLayer/) where the [supportsOutDistance](https://developers.arcgis.com/javascript/latest/references/core/layers/types/#QueryCapabilities) capability
622
+ * > is `true`.
623
+ *
624
+ * @since 5.1
625
+ */
626
+ get outDistance(): OutDistance | null | undefined;
627
+ set outDistance(value: OutDistanceProperties | null | undefined);
587
628
  /**
588
629
  * Attribute fields to include in the [FeatureSet](https://developers.arcgis.com/javascript/latest/references/core/rest/support/FeatureSet/). Fields must exist in the service layer. You must list actual
589
630
  * field names rather than field aliases. You may, however, use field aliases when you display
@@ -227,12 +227,12 @@ export default class TopFeaturesQuery extends JSONSupport {
227
227
  accessor cacheHint: boolean | null | undefined;
228
228
  /**
229
229
  * Specifies a search distance from a given [Query.geometry](https://developers.arcgis.com/javascript/latest/references/core/rest/support/Query/#geometry) in a spatial query.
230
- * The [units property](https://developers.arcgis.com/javascript/latest/references/core/rest/support/Query/#units) indicates the unit of measurement. In essence, setting this property
231
- * creates a buffer at the specified size around the input [Query.geometry](https://developers.arcgis.com/javascript/latest/references/core/rest/support/Query/#geometry). The query will use that
232
- * buffer to return features in the layer or layer view that adhere to the to the indicated [spatial relationship](https://developers.arcgis.com/javascript/latest/references/core/rest/support/Query/#spatialRelationship).
230
+ * The [units property](https://developers.arcgis.com/javascript/latest/references/core/rest/support/Query/#units) indicates the unit of measurement. In essence, setting this property
231
+ * creates a buffer at the specified size around the input [Query.geometry](https://developers.arcgis.com/javascript/latest/references/core/rest/support/Query/#geometry). The query will use that
232
+ * buffer to return features in the layer or layer view that adhere to the to the indicated [spatial relationship](https://developers.arcgis.com/javascript/latest/references/core/rest/support/Query/#spatialRelationship).
233
233
  *
234
- * If querying a feature service, the [supportsQueryWithDistance](https://developers.arcgis.com/rest/services-reference/query-feature-service-layer-.htm)
235
- * capability must be `true`.
234
+ * If querying a feature service, the [supportsQueryWithDistance](https://developers.arcgis.com/rest/services-reference/enterprise/query-feature-service-layer/)
235
+ * capability must be `true`.
236
236
  */
237
237
  accessor distance: number | null | undefined;
238
238
  /**
@@ -61,8 +61,8 @@ export interface FlowRendererParameters extends RasterRendererParameters {
61
61
  * Possible values are listed below.
62
62
  * | Value | Description | Example |
63
63
  * | ----- | ----------- | ------- |
64
- * | flow-line | Renders the uv and magnitude data as animated flow lines. This is ideal for representing wind and other atmospheric data. | ![flow-line](https://developers.arcgis.com/javascript/latest/assets/references/core/renderers/animated-flow/sm-flow-line-2.webm) |
65
- * | wave-front | Renders UV and magnitude data in a wave-like animation. This theme works well for ocean data. | ![above](https://developers.arcgis.com/javascript/latest/assets/references/core/renderers/animated-flow/sm-wave-front-2.webm) |
64
+ * | flow-line | Renders the uv and magnitude data as animated flow lines. This is ideal for representing wind and other atmospheric data. | <video src="https://developers.arcgis.com/javascript/latest/assets/references/core/renderers/animated-flow/sm-flow-line-2.webm" aria-label="flow-line" autoplay muted playsinline loop></video> |
65
+ * | wave-front | Renders UV and magnitude data in a wave-like animation. This theme works well for ocean data. | <video src="https://developers.arcgis.com/javascript/latest/assets/references/core/renderers/animated-flow/sm-wave-front-2.webm" aria-label="above" autoplay muted playsinline loop></video> |
66
66
  *
67
67
  * > [!WARNING]
68
68
  * >
@@ -96,8 +96,8 @@ export interface GetSchemesParameters {
96
96
  * Possible values are listed below.
97
97
  * | Value | Description | Example |
98
98
  * | ----- | ----------- | ------- |
99
- * | flow-line | Renders the uv and magnitude data as animated flow lines. This is ideal for representing wind and other atmospheric data. | ![flow-line](https://developers.arcgis.com/javascript/latest/assets/references/core/renderers/animated-flow/sm-flow-line-2.webm) |
100
- * | wave-front | Renders UV and magnitude data in a wave-like animation. This theme works well for ocean data. | ![above](https://developers.arcgis.com/javascript/latest/assets/references/core/renderers/animated-flow/sm-wave-front-2.webm) |
99
+ * | flow-line | Renders the uv and magnitude data as animated flow lines. This is ideal for representing wind and other atmospheric data. | <video src="https://developers.arcgis.com/javascript/latest/assets/references/core/renderers/animated-flow/sm-flow-line-2.webm" aria-label="flow-line" autoplay muted playsinline loop></video> |
100
+ * | wave-front | Renders UV and magnitude data in a wave-like animation. This theme works well for ocean data. | <video src="https://developers.arcgis.com/javascript/latest/assets/references/core/renderers/animated-flow/sm-wave-front-2.webm" aria-label="above" autoplay muted playsinline loop></video> |
101
101
  *
102
102
  * > [!WARNING]
103
103
  * >
@@ -1749,8 +1749,8 @@ export interface FlowScheme {
1749
1749
  * Possible values are listed below.
1750
1750
  * | Value | Description | Example |
1751
1751
  * | ----- | ----------- | ------- |
1752
- * | flow-line | Renders the uv and magnitude data as animated flow lines. This is ideal for representing wind and other atmospheric data. | ![flow-line](https://developers.arcgis.com/javascript/latest/assets/references/core/renderers/animated-flow/sm-flow-line-2.webm) |
1753
- * | wave-front | Renders UV and magnitude data in a wave-like animation. This theme works well for ocean data. | ![above](https://developers.arcgis.com/javascript/latest/assets/references/core/renderers/animated-flow/sm-wave-front-2.webm) |
1752
+ * | flow-line | Renders the uv and magnitude data as animated flow lines. This is ideal for representing wind and other atmospheric data. | <video src="https://developers.arcgis.com/javascript/latest/assets/references/core/renderers/animated-flow/sm-flow-line-2.webm" aria-label="flow-line" autoplay muted playsinline loop></video> |
1753
+ * | wave-front | Renders UV and magnitude data in a wave-like animation. This theme works well for ocean data. | <video src="https://developers.arcgis.com/javascript/latest/assets/references/core/renderers/animated-flow/sm-wave-front-2.webm" aria-label="wave-front" autoplay muted playsinline loop></video> |
1754
1754
  *
1755
1755
  * > [!WARNING]
1756
1756
  * >
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- const c="20260601",e="b73ec2f4ada76c52d00eb507ecc4928911056395";export{c as buildDate,e as commitHash};
2
+ const b="20260602",c="6a0d5c59bd284e9c1ff714821a570fb8e77bbd25";export{b as buildDate,c as commitHash};
@@ -25,7 +25,7 @@ export default class Symbol3DVerticalOffset extends JSONSupport {
25
25
  *
26
26
  * In the following animation the green symbols have `maxWorldLength = 50` and orange symbols don't have `maxWorldLength` set:
27
27
  *
28
- * ![maxWorldLength](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/symbols3D-line-callout-maxWorldLength.webm)
28
+ * <video src="https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/symbols3D-line-callout-maxWorldLength.webm" aria-label="maxWorldLength" autoplay muted playsinline loop></video>
29
29
  */
30
30
  accessor maxWorldLength: number | null | undefined;
31
31
  /**
@@ -33,7 +33,7 @@ export default class Symbol3DVerticalOffset extends JSONSupport {
33
33
  *
34
34
  * In the following animation the green symbol on the left has `minWorldLength = 20` and for the orange symbol on the right `minWorldLength` has not been set:
35
35
  *
36
- * ![minWorldLength-on](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/symbols3D-line-callout-minWorldLength.webm)
36
+ * <video src="https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/symbols3D-line-callout-minWorldLength.webm" aria-label="minWorldLength-on" autoplay muted playsinline loop></video>
37
37
  *
38
38
  * @default 0
39
39
  */
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import{VTLMaterial as t}from"./VTLMaterial.js";import{DataType as r}from"../../../../webgl/enums.js";import{VertexElementDescriptor as o}from"../../../../webgl/VertexElementDescriptor.js";class e extends t{static{this.ATTRIBUTES=["background-color","background-pattern"]}static{this.GEOMETRY_LAYOUT=[new o("position",2,r.SHORT,0,4)]}static{this.ATTRIBUTES_INFO={"background-color":{name:"background-color",type:0,attribueIdx:[0,1],isLayout:!1},"background-pattern":{name:"background-pattern",type:0,attribueIdx:[1,2],isLayout:!1,isOptional:!0}}}constructor(t){super(t),this.baseGeometryLayout=e.GEOMETRY_LAYOUT,this.properties=e.ATTRIBUTES,this.propertyInfos=e.ATTRIBUTES_INFO}}export{e as VTLBackgroundMaterial};
2
+ import{VTLMaterial as t}from"./VTLMaterial.js";import{DataType as s}from"../../../../webgl/enums.js";import{VertexElementDescriptor as e}from"../../../../webgl/VertexElementDescriptor.js";class r extends t{static{this.ATTRIBUTES=[]}static{this.GEOMETRY_LAYOUT=[new e("position",2,s.SHORT,0,4)]}static{this.ATTRIBUTES_INFO={}}constructor(t){super(t),this.baseGeometryLayout=r.GEOMETRY_LAYOUT,this.properties=r.ATTRIBUTES,this.propertyInfos=r.ATTRIBUTES_INFO}}export{r as VTLBackgroundMaterial};
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import{__decorate as o,__param as t}from"tslib";import{GraphShaderModule as e,FragmentOutput as i,location as r,uniform as s,option as p,input as l,VertexInput as a,UniformGroup as d,FragmentInput as y}from"../../../GraphShaderModule.js";import{max as u,mod as v,Vec2 as c,Float as n,Vec3 as h,Vec4 as k,length as x,smoothstep as g,negate as M,cond as T,lessThan as w,mix as C,Mat3 as b}from"../../../graph/glsl.js";class m extends a{}o([r(0,c)],m.prototype,"position",void 0),o([r(1,n)],m.prototype,"radius",void 0),o([r(2,k)],m.prototype,"color",void 0),o([r(3,n)],m.prototype,"opacity",void 0),o([r(4,n)],m.prototype,"strokeWidth",void 0),o([r(5,k)],m.prototype,"strokeColor",void 0),o([r(6,n)],m.prototype,"strokeOpacity",void 0),o([r(7,n)],m.prototype,"blur",void 0),o([r(8,n)],m.prototype,"radiusTo",void 0),o([r(9,k)],m.prototype,"colorTo",void 0),o([r(10,n)],m.prototype,"opacityTo",void 0),o([r(11,n)],m.prototype,"strokeWidthTo",void 0),o([r(12,k)],m.prototype,"strokeColorTo",void 0),o([r(13,n)],m.prototype,"strokeOpacityTo",void 0),o([r(14,n)],m.prototype,"blurTo",void 0);class W extends y{}class f extends d{}o([s(b)],f.prototype,"dvsMat",void 0),o([s(b)],f.prototype,"displayMat",void 0);class O extends d{}o([s(c)],O.prototype,"circleTranslation",void 0),o([s(n)],O.prototype,"depth",void 0),o([s(n)],O.prototype,"antialiasingWidth",void 0),o([s(n)],O.prototype,"tileOpacity",void 0);class S extends d{}o([s(n)],S.prototype,"value",void 0);class j extends d{}o([s(n)],j.prototype,"value",void 0);class B extends d{}o([s(n)],B.prototype,"value",void 0);class R extends d{}o([s(n)],R.prototype,"value",void 0);class G extends d{}o([s(n)],G.prototype,"value",void 0);class L extends d{}o([s(n)],L.prototype,"value",void 0);class P extends d{}o([s(n)],P.prototype,"value",void 0);class V extends d{}o([s(n)],V.prototype,"value",void 0);class q extends d{}o([s(n)],q.prototype,"value",void 0);class z extends d{}o([s(n)],z.prototype,"value",void 0);class A extends d{}o([s(k)],A.prototype,"value",void 0);class D extends d{}o([s(n)],D.prototype,"value",void 0);class E extends d{}o([s(k)],E.prototype,"value",void 0);class F extends d{}o([s(n)],F.prototype,"value",void 0);class H extends e{constructor(){super(...arguments),this.type="VTLShaderCircle"}vertex(o){const t=this.getColor(o).multiply(this.getOpacity(o)),e=this.getStrokeColor(o).multiply(this.getStrokeOpacity(o)),i=this.getStrokeWidth(o),r=this.getRadius(o),s=this.getBlur(o),p=r.add(i),l=u(s,this.config.antialiasingWidth.divide(p)),a=v(o.position,new c(2)).multiply(new n(2)).subtract(new n(1)),d=this.transform.dvsMat.multiply(new h(o.position.multiply(.5),new n(1))).add(this.transform.displayMat.multiply(new h(a.multiply(p).add(this.config.circleTranslation),new n(0))));return{glPosition:new k(d.xy,this.config.depth,1),strokeWidth:i,radius:r,blur:l,color:t,offset:a,strokeColor:e}}fragment(o){const t=new i,e=x(o.offset),r=g(new n(0),M(o.blur),e.subtract(new n(1))),s=T([w(o.strokeWidth,new n(.01)),()=>new n(0)],[!0,g(M(o.blur),new n(0),e.subtract(o.radius.divide(o.radius.add(o.strokeWidth))))]);return t.fragColor=C(o.color,o.strokeColor,s).multiply(r).multiply(this.config.tileOpacity),t}getRadius(o){return this.radiusMix?.value&&o.radius&&o.radiusTo?C(o.radius,o.radiusTo,this.radiusMix.value):o.radius?o.radius:this.radius?.value||new n(0)}getBlur(o){return this.blurMix?.value&&o.blur&&o.blurTo?C(o.blur,o.blurTo,this.blurMix.value):o.blur?o.blur:this.blur?.value||new n(0)}getOpacity(o){return this.opacityMix?.value&&o.opacity&&o.opacityTo?C(o.opacity,o.opacityTo,this.opacityMix.value):o.opacity?o.opacity:this.opacity?.value||new n(1)}getStrokeWidth(o){return this.strokeWidthMix?.value&&o.strokeWidth&&o.strokeWidthTo?C(o.strokeWidth,o.strokeWidthTo,this.strokeWidthMix.value):o.strokeWidth?o.strokeWidth:this.strokeWidth?.value||new n(0)}getColor(o){return this.colorMix?.value&&o.color&&o.colorTo?C(o.color,o.colorTo,this.colorMix.value):o.color?o.color:this.color?.value||new k(0)}getStrokeColor(o){return this.strokeColorMix?.value&&o.strokeColor&&o.strokeColorTo?C(o.strokeColor,o.strokeColorTo,this.strokeColorMix.value):o.strokeColor?o.strokeColor:this.strokeColor?.value||new k(0)}getStrokeOpacity(o){return this.strokeOpacityMix?.value&&o.strokeOpacity&&o.strokeOpacityTo?C(o.strokeOpacity,o.strokeOpacityTo,this.strokeOpacityMix.value):o.strokeOpacity?o.strokeOpacity:this.opacity?.value||new n(0)}}o([s(f)],H.prototype,"transform",void 0),o([s(O)],H.prototype,"config",void 0),o([p(S)],H.prototype,"radius",void 0),o([p(j)],H.prototype,"radiusMix",void 0),o([p(B)],H.prototype,"blur",void 0),o([p(R)],H.prototype,"blurMix",void 0),o([p(G)],H.prototype,"opacity",void 0),o([p(L)],H.prototype,"opacityMix",void 0),o([p(P)],H.prototype,"strokeOpacity",void 0),o([p(V)],H.prototype,"strokeOpacityMix",void 0),o([p(q)],H.prototype,"strokeWidth",void 0),o([p(z)],H.prototype,"strokeWidthMix",void 0),o([p(A)],H.prototype,"color",void 0),o([p(D)],H.prototype,"colorMix",void 0),o([p(E)],H.prototype,"strokeColor",void 0),o([p(F)],H.prototype,"strokeColorMix",void 0),o([t(0,l(m))],H.prototype,"vertex",null),o([t(0,l(W))],H.prototype,"fragment",null);export{H as VTLShaderCircle};
2
+ import{__decorate as o,__param as t}from"tslib";import{GraphShaderModule as e,FragmentOutput as r,location as i,uniform as s,option as p,input as l,VertexInput as a,UniformGroup as d,FragmentInput as y}from"../../../GraphShaderModule.js";import{max as u,mod as v,Vec2 as c,Float as n,Vec3 as h,Vec4 as k,length as x,smoothstep as g,negate as M,cond as T,lessThan as w,mix as C,Mat3 as b}from"../../../graph/glsl.js";class m extends a{}o([i(0,c)],m.prototype,"position",void 0),o([i(1,n)],m.prototype,"radius",void 0),o([i(2,k)],m.prototype,"color",void 0),o([i(3,n)],m.prototype,"opacity",void 0),o([i(4,n)],m.prototype,"strokeWidth",void 0),o([i(5,k)],m.prototype,"strokeColor",void 0),o([i(6,n)],m.prototype,"strokeOpacity",void 0),o([i(7,n)],m.prototype,"blur",void 0),o([i(8,n)],m.prototype,"radiusTo",void 0),o([i(9,k)],m.prototype,"colorTo",void 0),o([i(10,n)],m.prototype,"opacityTo",void 0),o([i(11,n)],m.prototype,"strokeWidthTo",void 0),o([i(12,k)],m.prototype,"strokeColorTo",void 0),o([i(13,n)],m.prototype,"strokeOpacityTo",void 0),o([i(14,n)],m.prototype,"blurTo",void 0);class W extends y{}class O extends d{}o([s(b)],O.prototype,"dvsMat",void 0),o([s(b)],O.prototype,"displayMat",void 0);class f extends d{}o([s(c)],f.prototype,"circleTranslation",void 0),o([s(n)],f.prototype,"depth",void 0),o([s(n)],f.prototype,"antialiasingWidth",void 0),o([s(n)],f.prototype,"tileOpacity",void 0);class S extends d{}o([s(n)],S.prototype,"value",void 0);class j extends d{}o([s(n)],j.prototype,"value",void 0);class B extends d{}o([s(n)],B.prototype,"value",void 0);class R extends d{}o([s(n)],R.prototype,"value",void 0);class G extends d{}o([s(n)],G.prototype,"value",void 0);class L extends d{}o([s(n)],L.prototype,"value",void 0);class P extends d{}o([s(n)],P.prototype,"value",void 0);class V extends d{}o([s(n)],V.prototype,"value",void 0);class q extends d{}o([s(n)],q.prototype,"value",void 0);class z extends d{}o([s(n)],z.prototype,"value",void 0);class A extends d{}o([s(k)],A.prototype,"value",void 0);class D extends d{}o([s(n)],D.prototype,"value",void 0);class E extends d{}o([s(k)],E.prototype,"value",void 0);class F extends d{}o([s(n)],F.prototype,"value",void 0);class H extends e{constructor(){super(...arguments),this.type="VTLShaderCircle"}vertex(o){const t=this.getColor(o).multiply(this.getOpacity(o)),e=this.getStrokeColor(o).multiply(this.getStrokeOpacity(o)),r=this.getStrokeWidth(o),i=this.getRadius(o),s=this.getBlur(o),p=i.add(r),l=u(s,this.config.antialiasingWidth.divide(p)),a=v(o.position,new c(2)).multiply(new n(2)).subtract(new n(1)),d=this.transform.dvsMat.multiply(new h(o.position.multiply(.5),new n(1))).add(this.transform.displayMat.multiply(new h(a.multiply(p).add(this.config.circleTranslation),new n(0))));return{glPosition:new k(d.xy,this.config.depth,1),strokeWidth:r,radius:i,blur:l,color:t,offset:a,strokeColor:e}}fragment(o){const t=new r,e=x(o.offset),i=g(new n(0),M(o.blur),e.subtract(new n(1))),s=T([w(o.strokeWidth,new n(.01)),()=>new n(0)],[!0,g(M(o.blur),new n(0),e.subtract(o.radius.divide(o.radius.add(o.strokeWidth))))]);return t.fragColor=C(o.color,o.strokeColor,s).multiply(i).multiply(this.config.tileOpacity),t}getRadius(o){return this.radiusMix?.value&&o.radius&&o.radiusTo?C(o.radius,o.radiusTo,this.radiusMix.value):o.radius?o.radius:this.radius?.value||new n(0)}getBlur(o){return this.blurMix?.value&&o.blur&&o.blurTo?C(o.blur,o.blurTo,this.blurMix.value):o.blur?o.blur:this.blur?.value||new n(0)}getOpacity(o){return this.opacityMix?.value&&o.opacity&&o.opacityTo?C(o.opacity,o.opacityTo,this.opacityMix.value):o.opacity?o.opacity:this.opacity?.value||new n(1)}getStrokeWidth(o){return this.strokeWidthMix?.value&&o.strokeWidth&&o.strokeWidthTo?C(o.strokeWidth,o.strokeWidthTo,this.strokeWidthMix.value):o.strokeWidth?o.strokeWidth:this.strokeWidth?.value||new n(0)}getColor(o){return this.colorMix?.value&&o.color&&o.colorTo?C(o.color,o.colorTo,this.colorMix.value):o.color?o.color:this.color?.value||new k(0)}getStrokeColor(o){return this.strokeColorMix?.value&&o.strokeColor&&o.strokeColorTo?C(o.strokeColor,o.strokeColorTo,this.strokeColorMix.value):o.strokeColor?o.strokeColor:this.strokeColor?.value||new k(0)}getStrokeOpacity(o){return this.strokeOpacityMix?.value&&o.strokeOpacity&&o.strokeOpacityTo?C(o.strokeOpacity,o.strokeOpacityTo,this.strokeOpacityMix.value):o.strokeOpacity?o.strokeOpacity:this.strokeOpacity?.value||new n(0)}}o([s(O)],H.prototype,"transform",void 0),o([s(f)],H.prototype,"config",void 0),o([p(S)],H.prototype,"radius",void 0),o([p(j)],H.prototype,"radiusMix",void 0),o([p(B)],H.prototype,"blur",void 0),o([p(R)],H.prototype,"blurMix",void 0),o([p(G)],H.prototype,"opacity",void 0),o([p(L)],H.prototype,"opacityMix",void 0),o([p(P)],H.prototype,"strokeOpacity",void 0),o([p(V)],H.prototype,"strokeOpacityMix",void 0),o([p(q)],H.prototype,"strokeWidth",void 0),o([p(z)],H.prototype,"strokeWidthMix",void 0),o([p(A)],H.prototype,"color",void 0),o([p(D)],H.prototype,"colorMix",void 0),o([p(E)],H.prototype,"strokeColor",void 0),o([p(F)],H.prototype,"strokeColorMix",void 0),o([t(0,l(m))],H.prototype,"vertex",null),o([t(0,l(W))],H.prototype,"fragment",null);export{H as VTLShaderCircle};