@arcgis/core 5.1.0-next.13 → 5.1.0-next.15

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 (772) hide show
  1. package/Camera.d.ts +1 -1
  2. package/Ground.d.ts +7 -7
  3. package/PopupTemplate.d.ts +6 -6
  4. package/WebScene.d.ts +1 -1
  5. package/analysis/AreaMeasurementAnalysis.d.ts +1 -1
  6. package/analysis/DirectLineMeasurementAnalysis.d.ts +1 -1
  7. package/analysis/LengthDimension.d.ts +4 -4
  8. package/analysis/ShadowCastAnalysis.d.ts +3 -3
  9. package/analysis/SliceAnalysis.d.ts +1 -1
  10. package/analysis/SlicePlane.d.ts +1 -1
  11. package/applications/Components/SketchTooltipControls.d.ts +3 -2
  12. package/applications/Components/SketchTooltipControls.js +1 -1
  13. package/assets/esri/core/t9n/Units_ar.json +1 -1
  14. package/assets/esri/core/t9n/Units_bg.json +1 -1
  15. package/assets/esri/core/t9n/Units_bs.json +1 -1
  16. package/assets/esri/core/t9n/Units_ca.json +1 -1
  17. package/assets/esri/core/t9n/Units_cs.json +1 -1
  18. package/assets/esri/core/t9n/Units_da.json +1 -1
  19. package/assets/esri/core/t9n/Units_de.json +1 -1
  20. package/assets/esri/core/t9n/Units_el.json +1 -1
  21. package/assets/esri/core/t9n/Units_es.json +1 -1
  22. package/assets/esri/core/t9n/Units_et.json +1 -1
  23. package/assets/esri/core/t9n/Units_fi.json +1 -1
  24. package/assets/esri/core/t9n/Units_fr.json +1 -1
  25. package/assets/esri/core/t9n/Units_he.json +1 -1
  26. package/assets/esri/core/t9n/Units_hr.json +1 -1
  27. package/assets/esri/core/t9n/Units_hu.json +1 -1
  28. package/assets/esri/core/t9n/Units_id.json +1 -1
  29. package/assets/esri/core/t9n/Units_it.json +1 -1
  30. package/assets/esri/core/t9n/Units_ja.json +1 -1
  31. package/assets/esri/core/t9n/Units_ko.json +1 -1
  32. package/assets/esri/core/t9n/Units_lt.json +1 -1
  33. package/assets/esri/core/t9n/Units_lv.json +1 -1
  34. package/assets/esri/core/t9n/Units_nl.json +1 -1
  35. package/assets/esri/core/t9n/Units_no.json +1 -1
  36. package/assets/esri/core/t9n/Units_pl.json +1 -1
  37. package/assets/esri/core/t9n/Units_pt-BR.json +1 -1
  38. package/assets/esri/core/t9n/Units_pt-PT.json +1 -1
  39. package/assets/esri/core/t9n/Units_ro.json +1 -1
  40. package/assets/esri/core/t9n/Units_ru.json +1 -1
  41. package/assets/esri/core/t9n/Units_sk.json +1 -1
  42. package/assets/esri/core/t9n/Units_sl.json +1 -1
  43. package/assets/esri/core/t9n/Units_sr.json +1 -1
  44. package/assets/esri/core/t9n/Units_sv.json +1 -1
  45. package/assets/esri/core/t9n/Units_th.json +1 -1
  46. package/assets/esri/core/t9n/Units_tr.json +1 -1
  47. package/assets/esri/core/t9n/Units_uk.json +1 -1
  48. package/assets/esri/core/t9n/Units_vi.json +1 -1
  49. package/assets/esri/core/t9n/Units_zh-CN.json +1 -1
  50. package/assets/esri/core/t9n/Units_zh-HK.json +1 -1
  51. package/assets/esri/core/t9n/Units_zh-TW.json +1 -1
  52. package/assets/esri/core/workers/RemoteClient.js +1 -1
  53. package/assets/esri/core/workers/chunks/0184b4c0c92c76c60ab2.js +1 -0
  54. package/assets/esri/core/workers/chunks/07317f6b57c1314db442.js +1 -0
  55. package/assets/esri/core/workers/chunks/{56a296cb5c1ae1ea5ab2.js → 08616877b58b518e7461.js} +1 -1
  56. package/assets/esri/core/workers/chunks/089cef7124173a5cd5f9.js +1 -0
  57. package/assets/esri/core/workers/chunks/{4d438627dd3509f65d5a.js → 0baa0d66003d23cc76a7.js} +1 -1
  58. package/assets/esri/core/workers/chunks/0e216f0075fd531c3a2b.js +1 -0
  59. package/assets/esri/core/workers/chunks/{d5314786df52b6be5307.js → 0e6ffb02a929130ddb50.js} +1 -1
  60. package/assets/esri/core/workers/chunks/{ae0a555b047b11aa68eb.js → 1219b588f983b4f35033.js} +1 -1
  61. package/assets/esri/core/workers/chunks/{41fe4d8fe97388498f73.js → 13512a23655258fa77f4.js} +1 -1
  62. package/assets/esri/core/workers/chunks/{ee34f14bbfe619b85a80.js → 13e913aa5f5113fceb16.js} +1 -1
  63. package/assets/esri/core/workers/chunks/{d621cdd0aef6d77986f0.js → 1469e6d1d0d4e310b8f8.js} +1 -1
  64. package/assets/esri/core/workers/chunks/{b9e90875943703486227.js → 15ba0296403dd4152b88.js} +1 -1
  65. package/assets/esri/core/workers/chunks/{7595c52b1647f092c61a.js → 16abc548724e428c325a.js} +1 -1
  66. package/assets/esri/core/workers/chunks/{dddcae86e434d93b10c0.js → 189e22df73414a1a3989.js} +1 -1
  67. package/assets/esri/core/workers/chunks/{90aeef17af12cfbecb36.js → 1d124a55f6804be19e09.js} +1 -1
  68. package/assets/esri/core/workers/chunks/{63831996ad82bd3b1ca9.js → 1e29a114c1cfe21121c4.js} +1 -1
  69. package/assets/esri/core/workers/chunks/{153a9d087e0fe7072af4.js → 1ede5fa7a16839ed9444.js} +1 -1
  70. package/assets/esri/core/workers/chunks/{6b1e1fb4e9010873c171.js → 1f30558e3ad6ac68bdb8.js} +1 -1
  71. package/assets/esri/core/workers/chunks/{9c06b803912fcafa7f52.js → 24dd404612c35f6a3fc3.js} +1 -1
  72. package/assets/esri/core/workers/chunks/{b6e155b42a4a423139e7.js → 27d1f8279df34d8b15b5.js} +1 -1
  73. package/assets/esri/core/workers/chunks/{401af6d07c9f458ae067.js → 2c69d8bb1c950b95278d.js} +1 -1
  74. package/assets/esri/core/workers/chunks/{22d12c309af9c19a1a48.js → 2c7e5b78d94e5850537b.js} +1 -1
  75. package/assets/esri/core/workers/chunks/{120a5fa9b46084cd0c45.js → 2d376f82cdf020e1fca9.js} +1 -1
  76. package/assets/esri/core/workers/chunks/{8c321c6bc344544ebb51.js → 2d52b137ee64469a46b2.js} +1 -1
  77. package/assets/esri/core/workers/chunks/{5b3f2bad61a0d993bf16.js → 2e63e18df96e5a2461de.js} +1 -1
  78. package/assets/esri/core/workers/chunks/{d4da3abbd3d88cd63cb9.js → 454150571b5b664b576a.js} +1 -1
  79. package/assets/esri/core/workers/chunks/4740d319f233b7f528fe.js +1 -0
  80. package/assets/esri/core/workers/chunks/{78ce6fcb72e97d3dc087.js → 499d594dc0d282dfe777.js} +1 -1
  81. package/assets/esri/core/workers/chunks/49d58bacb5b397246978.js +1 -0
  82. package/assets/esri/core/workers/chunks/4ba4aa6c75e3f8950e65.js +1 -0
  83. package/assets/esri/core/workers/chunks/{61ce373f00a0cad113ed.js → 4f2c29168c9de0b08741.js} +1 -1
  84. package/assets/esri/core/workers/chunks/{5789898948cc0da78b8b.js → 552e5c413828e181f89a.js} +1 -1
  85. package/assets/esri/core/workers/chunks/{5210bde0a05ab172ab28.js → 59f955c7d6b0589e7cc6.js} +1 -1
  86. package/assets/esri/core/workers/chunks/{5fe0bed2a0a9f8eadb28.js → 5a347b1d87eb6f710136.js} +1 -1
  87. package/assets/esri/core/workers/chunks/5b97cdeb5949822fbef3.js +1 -0
  88. package/assets/esri/core/workers/chunks/{d9dc3962535616a06e2f.js → 5cd614f50e8925eeeaf4.js} +1 -1
  89. package/assets/esri/core/workers/chunks/{178c91fabf4a87bbb50b.js → 620d7cd0b0885122aa0f.js} +1 -1
  90. package/assets/esri/core/workers/chunks/6321680c8070dffa3b6c.js +1 -0
  91. package/assets/esri/core/workers/chunks/6997b4d5bcc9c4755375.js +1 -0
  92. package/assets/esri/core/workers/chunks/{b79cceeee3ed46f218a0.js → 69ab42b965bccc3bad4f.js} +1 -1
  93. package/assets/esri/core/workers/chunks/{bb4c75479cfea67cf8a2.js → 6af14a0217077d9ab47f.js} +1 -1
  94. package/assets/esri/core/workers/chunks/{672542d0435fbfd0647c.js → 6b3d8280a24f7a3aac40.js} +1 -1
  95. package/assets/esri/core/workers/chunks/{3d78e9b3c97c0ce21d16.js → 7017c2e621236c7a7da4.js} +1 -1
  96. package/assets/esri/core/workers/chunks/7407a1e0cef508116a0b.js +1 -0
  97. package/assets/esri/core/workers/chunks/{da188d0e22ba1639928e.js → 75907e5d009b71ce723b.js} +1 -1
  98. package/assets/esri/core/workers/chunks/{1ab4289195f5e46c6fe8.js → 78936c591fd49ff955a9.js} +1 -1
  99. package/assets/esri/core/workers/chunks/{f0b8de5b3cfbe9223df6.js → 796f5265747ce8be910e.js} +1 -1
  100. package/assets/esri/core/workers/chunks/{ac62411b9b4cf85a4722.js → 7a037fbfd91dd22e3bf0.js} +1 -1
  101. package/assets/esri/core/workers/chunks/{50661f65a9c191f528bc.js → 7ee7529fcbd0d169047c.js} +1 -1
  102. package/assets/esri/core/workers/chunks/7f60309d211c49721265.js +1 -0
  103. package/assets/esri/core/workers/chunks/7f9b0ef7f9b3f3fd3df9.js +1 -0
  104. package/assets/esri/core/workers/chunks/{82a446e8befe9d29c8f0.js → 822a115c7d718e4e3d2b.js} +1 -1
  105. package/assets/esri/core/workers/chunks/{6789ddaa61e6d8f20d04.js → 8eea620f770576d18809.js} +1 -1
  106. package/assets/esri/core/workers/chunks/{10c4f5afe14c0addc418.js → 9332db133a0925d522fe.js} +1 -1
  107. package/assets/esri/core/workers/chunks/{bc87890d00d6dba979b2.js → 99c9f35a29f9f6c9e4ce.js} +1 -1
  108. package/assets/esri/core/workers/chunks/{455fbddd814e4681f0c0.js → a5e91cf150f6cf6a5d2a.js} +1 -1
  109. package/assets/esri/core/workers/chunks/{948ce2c199973f793651.js → a60a84c8c45f6d03443f.js} +1 -1
  110. package/assets/esri/core/workers/chunks/{eb4a2dc5efdb873a7f25.js → aef2832902b270f1a594.js} +1 -1
  111. package/assets/esri/core/workers/chunks/{b5fc0a2480a229e8891a.js → b5f291e8ed7f7cac158d.js} +1 -1
  112. package/assets/esri/core/workers/chunks/bd05e68b00b9878d0266.js +1 -0
  113. package/assets/esri/core/workers/chunks/{9a43065e51df9c21c9fa.js → bdb4f216ae8881b98604.js} +1 -1
  114. package/assets/esri/core/workers/chunks/c080e189764d8bb9cf25.js +1 -0
  115. package/assets/esri/core/workers/chunks/{bf9b2aa2e67ca746ec7c.js → c15f0769a64863cccef0.js} +1 -1
  116. package/assets/esri/core/workers/chunks/{27c8dea6154eb8c36fed.js → c53048b0f153b251d792.js} +1 -1
  117. package/assets/esri/core/workers/chunks/c6e0ada6f2ad74fddfec.js +1 -0
  118. package/assets/esri/core/workers/chunks/cf09408cb7729126caae.js +1 -0
  119. package/assets/esri/core/workers/chunks/e0565849281ffbe8269e.js +1 -0
  120. package/assets/esri/core/workers/chunks/e1ba6f857ca12f154e77.js +1 -0
  121. package/assets/esri/core/workers/chunks/{4ef60a76eeca20bcafb1.js → e4f1e584f89ffb86206b.js} +1 -1
  122. package/assets/esri/core/workers/chunks/{2889e782ed81bb05b9e5.js → e508f8e707eb3207cfcc.js} +1 -1
  123. package/assets/esri/core/workers/chunks/{2216264b22a605a0f1ce.js → e60684918100666bb892.js} +1 -1
  124. package/assets/esri/core/workers/chunks/{4550b7620932cd6de20e.js → e94448b371cd17d7a472.js} +1 -1
  125. package/assets/esri/core/workers/chunks/{bb8530ade7c40a1ed7c4.js → eb9e913fe0dfcc71cf92.js} +1 -1
  126. package/assets/esri/core/workers/chunks/ede1d1cc2f315a34f4ca.js +1 -0
  127. package/assets/esri/core/workers/chunks/{a5bd7e5d71cffde68f89.js → ee89564d11c077169b31.js} +1 -1
  128. package/assets/esri/core/workers/chunks/f17a301516f008abef3a.js +1 -0
  129. package/assets/esri/core/workers/chunks/{b3cc7f6d953bfbc3a70d.js → f62e37863a549f72093c.js} +1 -1
  130. package/assets/esri/core/workers/chunks/fc98b8351be567d3eb62.js +1 -0
  131. package/assets/esri/core/workers/chunks/fda0f4469d9cda637af4.js +1 -0
  132. package/assets/esri/core/workers/chunks/{554f389f99db430b309c.js → ff961bb6d29ab3fe129d.js} +1 -1
  133. package/assets/esri/libs/lyr3d/lyr3DMain.wasm +0 -0
  134. package/assets/esri/libs/lyr3d/lyr3DWorker.wasm +0 -0
  135. package/assets/esri/themes/base/widgets/_Attribution.scss +4 -2
  136. package/assets/esri/themes/dark/main.css +1 -1
  137. package/assets/esri/themes/light/main.css +1 -1
  138. package/assets/esri/themes/light/view.css +1 -1
  139. package/assets/esri/widgets/Directions/t9n/Directions_ar.json +1 -1
  140. package/assets/esri/widgets/Directions/t9n/Directions_bg.json +1 -1
  141. package/assets/esri/widgets/Directions/t9n/Directions_bs.json +1 -1
  142. package/assets/esri/widgets/Directions/t9n/Directions_ca.json +1 -1
  143. package/assets/esri/widgets/Directions/t9n/Directions_cs.json +1 -1
  144. package/assets/esri/widgets/Directions/t9n/Directions_da.json +1 -1
  145. package/assets/esri/widgets/Directions/t9n/Directions_de.json +1 -1
  146. package/assets/esri/widgets/Directions/t9n/Directions_el.json +1 -1
  147. package/assets/esri/widgets/Directions/t9n/Directions_es.json +1 -1
  148. package/assets/esri/widgets/Directions/t9n/Directions_et.json +1 -1
  149. package/assets/esri/widgets/Directions/t9n/Directions_fi.json +1 -1
  150. package/assets/esri/widgets/Directions/t9n/Directions_fr.json +1 -1
  151. package/assets/esri/widgets/Directions/t9n/Directions_he.json +1 -1
  152. package/assets/esri/widgets/Directions/t9n/Directions_hr.json +1 -1
  153. package/assets/esri/widgets/Directions/t9n/Directions_hu.json +1 -1
  154. package/assets/esri/widgets/Directions/t9n/Directions_id.json +1 -1
  155. package/assets/esri/widgets/Directions/t9n/Directions_it.json +1 -1
  156. package/assets/esri/widgets/Directions/t9n/Directions_ja.json +1 -1
  157. package/assets/esri/widgets/Directions/t9n/Directions_ko.json +1 -1
  158. package/assets/esri/widgets/Directions/t9n/Directions_lt.json +1 -1
  159. package/assets/esri/widgets/Directions/t9n/Directions_lv.json +1 -1
  160. package/assets/esri/widgets/Directions/t9n/Directions_nl.json +1 -1
  161. package/assets/esri/widgets/Directions/t9n/Directions_no.json +1 -1
  162. package/assets/esri/widgets/Directions/t9n/Directions_pl.json +1 -1
  163. package/assets/esri/widgets/Directions/t9n/Directions_pt-BR.json +1 -1
  164. package/assets/esri/widgets/Directions/t9n/Directions_pt-PT.json +1 -1
  165. package/assets/esri/widgets/Directions/t9n/Directions_ro.json +1 -1
  166. package/assets/esri/widgets/Directions/t9n/Directions_ru.json +1 -1
  167. package/assets/esri/widgets/Directions/t9n/Directions_sk.json +1 -1
  168. package/assets/esri/widgets/Directions/t9n/Directions_sl.json +1 -1
  169. package/assets/esri/widgets/Directions/t9n/Directions_sr.json +1 -1
  170. package/assets/esri/widgets/Directions/t9n/Directions_sv.json +1 -1
  171. package/assets/esri/widgets/Directions/t9n/Directions_th.json +1 -1
  172. package/assets/esri/widgets/Directions/t9n/Directions_tr.json +1 -1
  173. package/assets/esri/widgets/Directions/t9n/Directions_uk.json +1 -1
  174. package/assets/esri/widgets/Directions/t9n/Directions_vi.json +1 -1
  175. package/assets/esri/widgets/Directions/t9n/Directions_zh-CN.json +1 -1
  176. package/assets/esri/widgets/Directions/t9n/Directions_zh-HK.json +1 -1
  177. package/assets/esri/widgets/Directions/t9n/Directions_zh-TW.json +1 -1
  178. package/assets/esri/widgets/Editor/t9n/Editor_ar.json +1 -1
  179. package/assets/esri/widgets/Editor/t9n/Editor_bg.json +1 -1
  180. package/assets/esri/widgets/Editor/t9n/Editor_bs.json +1 -1
  181. package/assets/esri/widgets/Editor/t9n/Editor_ca.json +1 -1
  182. package/assets/esri/widgets/Editor/t9n/Editor_cs.json +1 -1
  183. package/assets/esri/widgets/Editor/t9n/Editor_da.json +1 -1
  184. package/assets/esri/widgets/Editor/t9n/Editor_de.json +1 -1
  185. package/assets/esri/widgets/Editor/t9n/Editor_el.json +1 -1
  186. package/assets/esri/widgets/Editor/t9n/Editor_es.json +1 -1
  187. package/assets/esri/widgets/Editor/t9n/Editor_et.json +1 -1
  188. package/assets/esri/widgets/Editor/t9n/Editor_fi.json +1 -1
  189. package/assets/esri/widgets/Editor/t9n/Editor_fr.json +1 -1
  190. package/assets/esri/widgets/Editor/t9n/Editor_he.json +1 -1
  191. package/assets/esri/widgets/Editor/t9n/Editor_hr.json +1 -1
  192. package/assets/esri/widgets/Editor/t9n/Editor_hu.json +1 -1
  193. package/assets/esri/widgets/Editor/t9n/Editor_id.json +1 -1
  194. package/assets/esri/widgets/Editor/t9n/Editor_it.json +1 -1
  195. package/assets/esri/widgets/Editor/t9n/Editor_ja.json +1 -1
  196. package/assets/esri/widgets/Editor/t9n/Editor_ko.json +1 -1
  197. package/assets/esri/widgets/Editor/t9n/Editor_lt.json +1 -1
  198. package/assets/esri/widgets/Editor/t9n/Editor_lv.json +1 -1
  199. package/assets/esri/widgets/Editor/t9n/Editor_nl.json +1 -1
  200. package/assets/esri/widgets/Editor/t9n/Editor_no.json +1 -1
  201. package/assets/esri/widgets/Editor/t9n/Editor_pl.json +1 -1
  202. package/assets/esri/widgets/Editor/t9n/Editor_pt-BR.json +1 -1
  203. package/assets/esri/widgets/Editor/t9n/Editor_pt-PT.json +1 -1
  204. package/assets/esri/widgets/Editor/t9n/Editor_ro.json +1 -1
  205. package/assets/esri/widgets/Editor/t9n/Editor_ru.json +1 -1
  206. package/assets/esri/widgets/Editor/t9n/Editor_sk.json +1 -1
  207. package/assets/esri/widgets/Editor/t9n/Editor_sl.json +1 -1
  208. package/assets/esri/widgets/Editor/t9n/Editor_sr.json +1 -1
  209. package/assets/esri/widgets/Editor/t9n/Editor_sv.json +1 -1
  210. package/assets/esri/widgets/Editor/t9n/Editor_th.json +1 -1
  211. package/assets/esri/widgets/Editor/t9n/Editor_tr.json +1 -1
  212. package/assets/esri/widgets/Editor/t9n/Editor_uk.json +1 -1
  213. package/assets/esri/widgets/Editor/t9n/Editor_vi.json +1 -1
  214. package/assets/esri/widgets/Editor/t9n/Editor_zh-CN.json +1 -1
  215. package/assets/esri/widgets/Editor/t9n/Editor_zh-HK.json +1 -1
  216. package/assets/esri/widgets/Editor/t9n/Editor_zh-TW.json +1 -1
  217. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_ar.json +1 -1
  218. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_bg.json +1 -1
  219. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_bs.json +1 -1
  220. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_ca.json +1 -1
  221. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_cs.json +1 -1
  222. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_da.json +1 -1
  223. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_de.json +1 -1
  224. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_el.json +1 -1
  225. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_es.json +1 -1
  226. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_et.json +1 -1
  227. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_fi.json +1 -1
  228. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_fr.json +1 -1
  229. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_he.json +1 -1
  230. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_hr.json +1 -1
  231. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_hu.json +1 -1
  232. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_id.json +1 -1
  233. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_it.json +1 -1
  234. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_ja.json +1 -1
  235. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_ko.json +1 -1
  236. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_lt.json +1 -1
  237. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_lv.json +1 -1
  238. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_nl.json +1 -1
  239. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_no.json +1 -1
  240. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_pl.json +1 -1
  241. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_pt-BR.json +1 -1
  242. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_pt-PT.json +1 -1
  243. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_ro.json +1 -1
  244. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_ru.json +1 -1
  245. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_sk.json +1 -1
  246. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_sl.json +1 -1
  247. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_sr.json +1 -1
  248. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_sv.json +1 -1
  249. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_th.json +1 -1
  250. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_tr.json +1 -1
  251. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_uk.json +1 -1
  252. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_vi.json +1 -1
  253. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_zh-CN.json +1 -1
  254. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_zh-HK.json +1 -1
  255. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_zh-TW.json +1 -1
  256. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ar.json +1 -1
  257. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_bg.json +1 -1
  258. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_bs.json +1 -1
  259. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ca.json +1 -1
  260. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_cs.json +1 -1
  261. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_da.json +1 -1
  262. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_de.json +1 -1
  263. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_el.json +1 -1
  264. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_es.json +1 -1
  265. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_et.json +1 -1
  266. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_fi.json +1 -1
  267. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_fr.json +1 -1
  268. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_he.json +1 -1
  269. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_hr.json +1 -1
  270. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_hu.json +1 -1
  271. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_id.json +1 -1
  272. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_it.json +1 -1
  273. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ja.json +1 -1
  274. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ko.json +1 -1
  275. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_lt.json +1 -1
  276. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_lv.json +1 -1
  277. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_nl.json +1 -1
  278. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_no.json +1 -1
  279. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_pl.json +1 -1
  280. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_pt-BR.json +1 -1
  281. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_pt-PT.json +1 -1
  282. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ro.json +1 -1
  283. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ru.json +1 -1
  284. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_sk.json +1 -1
  285. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_sl.json +1 -1
  286. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_sr.json +1 -1
  287. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_sv.json +1 -1
  288. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_th.json +1 -1
  289. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_tr.json +1 -1
  290. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_uk.json +1 -1
  291. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_vi.json +1 -1
  292. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_zh-CN.json +1 -1
  293. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_zh-HK.json +1 -1
  294. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_zh-TW.json +1 -1
  295. package/assets/esri/widgets/Sketch/t9n/Sketch_ar.json +1 -1
  296. package/assets/esri/widgets/Sketch/t9n/Sketch_bg.json +1 -1
  297. package/assets/esri/widgets/Sketch/t9n/Sketch_bs.json +1 -1
  298. package/assets/esri/widgets/Sketch/t9n/Sketch_ca.json +1 -1
  299. package/assets/esri/widgets/Sketch/t9n/Sketch_cs.json +1 -1
  300. package/assets/esri/widgets/Sketch/t9n/Sketch_da.json +1 -1
  301. package/assets/esri/widgets/Sketch/t9n/Sketch_de.json +1 -1
  302. package/assets/esri/widgets/Sketch/t9n/Sketch_el.json +1 -1
  303. package/assets/esri/widgets/Sketch/t9n/Sketch_es.json +1 -1
  304. package/assets/esri/widgets/Sketch/t9n/Sketch_et.json +1 -1
  305. package/assets/esri/widgets/Sketch/t9n/Sketch_fi.json +1 -1
  306. package/assets/esri/widgets/Sketch/t9n/Sketch_fr.json +1 -1
  307. package/assets/esri/widgets/Sketch/t9n/Sketch_he.json +1 -1
  308. package/assets/esri/widgets/Sketch/t9n/Sketch_hr.json +1 -1
  309. package/assets/esri/widgets/Sketch/t9n/Sketch_hu.json +1 -1
  310. package/assets/esri/widgets/Sketch/t9n/Sketch_id.json +1 -1
  311. package/assets/esri/widgets/Sketch/t9n/Sketch_it.json +1 -1
  312. package/assets/esri/widgets/Sketch/t9n/Sketch_ja.json +1 -1
  313. package/assets/esri/widgets/Sketch/t9n/Sketch_ko.json +1 -1
  314. package/assets/esri/widgets/Sketch/t9n/Sketch_lt.json +1 -1
  315. package/assets/esri/widgets/Sketch/t9n/Sketch_lv.json +1 -1
  316. package/assets/esri/widgets/Sketch/t9n/Sketch_nl.json +1 -1
  317. package/assets/esri/widgets/Sketch/t9n/Sketch_no.json +1 -1
  318. package/assets/esri/widgets/Sketch/t9n/Sketch_pl.json +1 -1
  319. package/assets/esri/widgets/Sketch/t9n/Sketch_pt-BR.json +1 -1
  320. package/assets/esri/widgets/Sketch/t9n/Sketch_pt-PT.json +1 -1
  321. package/assets/esri/widgets/Sketch/t9n/Sketch_ro.json +1 -1
  322. package/assets/esri/widgets/Sketch/t9n/Sketch_ru.json +1 -1
  323. package/assets/esri/widgets/Sketch/t9n/Sketch_sk.json +1 -1
  324. package/assets/esri/widgets/Sketch/t9n/Sketch_sl.json +1 -1
  325. package/assets/esri/widgets/Sketch/t9n/Sketch_sr.json +1 -1
  326. package/assets/esri/widgets/Sketch/t9n/Sketch_sv.json +1 -1
  327. package/assets/esri/widgets/Sketch/t9n/Sketch_th.json +1 -1
  328. package/assets/esri/widgets/Sketch/t9n/Sketch_tr.json +1 -1
  329. package/assets/esri/widgets/Sketch/t9n/Sketch_uk.json +1 -1
  330. package/assets/esri/widgets/Sketch/t9n/Sketch_vi.json +1 -1
  331. package/assets/esri/widgets/Sketch/t9n/Sketch_zh-CN.json +1 -1
  332. package/assets/esri/widgets/Sketch/t9n/Sketch_zh-HK.json +1 -1
  333. package/assets/esri/widgets/Sketch/t9n/Sketch_zh-TW.json +1 -1
  334. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_ar.json +1 -1
  335. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_bg.json +1 -1
  336. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_bs.json +1 -1
  337. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_ca.json +1 -1
  338. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_cs.json +1 -1
  339. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_da.json +1 -1
  340. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_de.json +1 -1
  341. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_el.json +1 -1
  342. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_es.json +1 -1
  343. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_et.json +1 -1
  344. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_fi.json +1 -1
  345. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_fr.json +1 -1
  346. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_he.json +1 -1
  347. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_hr.json +1 -1
  348. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_hu.json +1 -1
  349. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_id.json +1 -1
  350. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_it.json +1 -1
  351. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_ja.json +1 -1
  352. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_ko.json +1 -1
  353. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_lt.json +1 -1
  354. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_lv.json +1 -1
  355. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_nl.json +1 -1
  356. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_no.json +1 -1
  357. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_pl.json +1 -1
  358. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_pt-BR.json +1 -1
  359. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_pt-PT.json +1 -1
  360. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_ro.json +1 -1
  361. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_ru.json +1 -1
  362. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_sk.json +1 -1
  363. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_sl.json +1 -1
  364. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_sr.json +1 -1
  365. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_sv.json +1 -1
  366. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_th.json +1 -1
  367. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_tr.json +1 -1
  368. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_uk.json +1 -1
  369. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_vi.json +1 -1
  370. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_zh-CN.json +1 -1
  371. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_zh-HK.json +1 -1
  372. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_zh-TW.json +1 -1
  373. package/chunks/Fog.glsl.js +1 -1
  374. package/config.js +1 -1
  375. package/core/has.js +1 -1
  376. package/core/sql/types.d.ts +398 -86
  377. package/core/types.d.ts +5 -0
  378. package/core/workers/workerFactory.js +1 -1
  379. package/editing/sharedTemplates/executor/builders/radialLines.js +1 -1
  380. package/editing/sharedTemplates/executor/builders/support/shapeUtils.js +1 -1
  381. package/effects/FocusAreas.d.ts +1 -1
  382. package/form/elements/FieldElement.d.ts +1 -1
  383. package/form/elements/GroupElement.d.ts +1 -1
  384. package/form/elements/TextElement.d.ts +1 -1
  385. package/form/elements/inputs/ComboBoxInput.d.ts +1 -1
  386. package/form/elements/inputs/RadioButtonsInput.d.ts +1 -1
  387. package/form/elements/inputs/SwitchInput.d.ts +1 -1
  388. package/geometry/Mesh.d.ts +7 -7
  389. package/geometry/operators/alphaShapeOperator.d.ts +1 -1
  390. package/geometry/operators/areaOperator.d.ts +1 -1
  391. package/geometry/operators/bufferOperator.d.ts +1 -1
  392. package/geometry/operators/centroidOperator.d.ts +1 -1
  393. package/geometry/operators/clipOperator.d.ts +1 -1
  394. package/geometry/operators/containsOperator.d.ts +1 -1
  395. package/geometry/operators/convexHullOperator.d.ts +1 -1
  396. package/geometry/operators/crossesOperator.d.ts +1 -1
  397. package/geometry/operators/cutOperator.d.ts +1 -1
  398. package/geometry/operators/densifyOperator.d.ts +1 -1
  399. package/geometry/operators/differenceOperator.d.ts +1 -1
  400. package/geometry/operators/disjointOperator.d.ts +1 -1
  401. package/geometry/operators/distanceOperator.d.ts +1 -1
  402. package/geometry/operators/generalizeOperator.d.ts +1 -1
  403. package/geometry/operators/geodesicProximityOperator.d.ts +1 -1
  404. package/geometry/operators/geodeticDistanceOperator.d.ts +1 -1
  405. package/geometry/operators/geodeticUtilsOperator.d.ts +2 -2
  406. package/geometry/operators/graphicBufferOperator.d.ts +1 -1
  407. package/geometry/operators/intersectionOperator.d.ts +1 -1
  408. package/geometry/operators/intersectsOperator.d.ts +1 -1
  409. package/geometry/operators/isNearOperator.d.ts +1 -1
  410. package/geometry/operators/lengthOperator.d.ts +1 -1
  411. package/geometry/operators/locateBetweenOperator.d.ts +1 -1
  412. package/geometry/operators/multiPartToSinglePartOperator.d.ts +1 -1
  413. package/geometry/operators/offsetOperator.d.ts +5 -5
  414. package/geometry/operators/overlapsOperator.d.ts +1 -1
  415. package/geometry/operators/proximityOperator.d.ts +1 -1
  416. package/geometry/operators/simplifyOGCOperator.d.ts +1 -1
  417. package/geometry/operators/simplifyOperator.d.ts +1 -1
  418. package/geometry/operators/support/Transformation.d.ts +6 -6
  419. package/geometry/operators/symmetricDifferenceOperator.d.ts +1 -1
  420. package/geometry/operators/touchesOperator.d.ts +1 -1
  421. package/geometry/operators/unionOperator.d.ts +1 -1
  422. package/geometry/operators/withinOperator.d.ts +1 -1
  423. package/geometry/projectionUtils.js +1 -1
  424. package/geometry/support/MeshMaterialMetallicRoughness.d.ts +1 -1
  425. package/geometry/support/curves/curveUtils.js +1 -1
  426. package/kernel.js +1 -1
  427. package/layers/BuildingSceneLayer.d.ts +4 -4
  428. package/layers/CSVLayer.d.ts +4 -4
  429. package/layers/CatalogLayer.d.ts +2 -2
  430. package/layers/ElevationLayer.d.ts +1 -1
  431. package/layers/FeatureLayer.d.ts +2 -2
  432. package/layers/GaussianSplatLayer.d.ts +77 -10
  433. package/layers/GeoJSONLayer.d.ts +3 -3
  434. package/layers/GeoRSSLayer.d.ts +1 -1
  435. package/layers/GraphicsLayer.d.ts +2 -2
  436. package/layers/ImageryLayer.d.ts +3 -3
  437. package/layers/ImageryTileLayer.d.ts +2 -2
  438. package/layers/IntegratedMesh3DTilesLayer.d.ts +6 -6
  439. package/layers/IntegratedMesh3DTilesLayer.js +1 -1
  440. package/layers/IntegratedMeshLayer.d.ts +7 -7
  441. package/layers/Layer.d.ts +2 -0
  442. package/layers/Lyr3DWasmPerSceneView.js +1 -1
  443. package/layers/MapImageLayer.d.ts +1 -1
  444. package/layers/MediaLayer.d.ts +1 -1
  445. package/layers/OGCFeatureLayer.d.ts +2 -2
  446. package/layers/PointCloudLayer.d.ts +1 -1
  447. package/layers/SceneLayer.d.ts +9 -9
  448. package/layers/StreamLayer.d.ts +2 -2
  449. package/layers/VectorTileLayer.d.ts +2 -2
  450. package/layers/VideoLayer.d.ts +1 -1
  451. package/layers/VoxelLayer.d.ts +8 -8
  452. package/layers/WFSLayer.d.ts +6 -6
  453. package/layers/catalog/CatalogFootprintLayer.d.ts +1 -1
  454. package/layers/graphics/data/QueryEngineResult.js +1 -1
  455. package/layers/graphics/data/SnappingCandidate.js +1 -1
  456. package/layers/mixins/BlendLayer.d.ts +6 -6
  457. package/layers/pointCloudFilters/PointCloudReturnFilter.d.ts +1 -1
  458. package/layers/pointCloudFilters/PointCloudValueFilter.d.ts +1 -1
  459. package/layers/support/ControlPointsGeoreference.d.ts +2 -2
  460. package/layers/support/ControlPointsGeoreference.js +1 -1
  461. package/layers/support/CornersGeoreference.d.ts +2 -2
  462. package/layers/support/CornersGeoreference.js +1 -1
  463. package/layers/support/DimensionalDefinition.d.ts +2 -2
  464. package/layers/support/ExtentAndRotationGeoreference.d.ts +2 -2
  465. package/layers/support/ExtentAndRotationGeoreference.js +1 -1
  466. package/layers/support/FeatureEffect.d.ts +4 -4
  467. package/layers/support/FeatureFilter.d.ts +17 -17
  468. package/layers/support/FeatureReductionBinning.d.ts +1 -1
  469. package/layers/support/FeatureReductionCluster.d.ts +9 -9
  470. package/layers/support/FeatureReductionSelection.d.ts +1 -1
  471. package/layers/support/GeoreferenceBaseMixin.js +2 -0
  472. package/layers/support/LabelClass.d.ts +2 -2
  473. package/layers/support/RasterFunction.d.ts +1 -1
  474. package/layers/support/SceneFilter.d.ts +2 -2
  475. package/layers/support/SceneModification.d.ts +3 -3
  476. package/layers/support/mediaUtils.js +1 -1
  477. package/layers/support/relativeTimeQueryUtils.js +1 -1
  478. package/layers/support/serviceCapabilitiesUtils.js +1 -1
  479. package/layers/types.d.ts +24 -10
  480. package/package.json +1 -1
  481. package/popup/content/AttachmentsContent.d.ts +1 -1
  482. package/popup/content/BarChartMediaInfo.d.ts +1 -1
  483. package/popup/content/ColumnChartMediaInfo.d.ts +1 -1
  484. package/popup/content/FieldsContent.d.ts +1 -1
  485. package/popup/content/ImageMediaInfo.d.ts +1 -1
  486. package/popup/content/LineChartMediaInfo.d.ts +1 -1
  487. package/popup/content/MediaContent.d.ts +1 -1
  488. package/popup/content/PieChartMediaInfo.d.ts +1 -1
  489. package/popup/content/RelationshipContent.d.ts +1 -1
  490. package/popup/content/TextContent.d.ts +1 -1
  491. package/renderers/ClassBreaksRenderer.d.ts +1 -1
  492. package/renderers/DictionaryRenderer.d.ts +1 -1
  493. package/renderers/DotDensityRenderer.d.ts +46 -3
  494. package/renderers/DotDensityRenderer.js +1 -1
  495. package/renderers/FlowRenderer.d.ts +6 -6
  496. package/renderers/HeatmapRenderer.d.ts +3 -3
  497. package/renderers/PieChartRenderer.d.ts +1 -1
  498. package/renderers/RasterShadedReliefRenderer.d.ts +1 -1
  499. package/renderers/Renderer.d.ts +4 -4
  500. package/renderers/SimpleRenderer.d.ts +2 -2
  501. package/renderers/UniqueValueRenderer.d.ts +2 -2
  502. package/renderers/VectorFieldRenderer.d.ts +1 -1
  503. package/renderers/mixins/VisualVariablesMixin.d.ts +12 -12
  504. package/renderers/visualVariables/ColorVariable.d.ts +1 -1
  505. package/renderers/visualVariables/OpacityVariable.d.ts +1 -1
  506. package/renderers/visualVariables/RotationVariable.d.ts +1 -1
  507. package/renderers/visualVariables/SizeVariable.d.ts +1 -1
  508. package/renderers/visualVariables/VisualVariable.d.ts +1 -1
  509. package/rest/featureService/FeatureService.js +1 -1
  510. package/rest/print.js +1 -1
  511. package/rest/query/operations/pbfFlatFeatureSet.js +1 -1
  512. package/rest/query/support/AttachmentInfo.d.ts +1 -1
  513. package/rest/support/AutoIntervalBinParameters.d.ts +1 -1
  514. package/rest/support/DateBinParameters.d.ts +1 -1
  515. package/rest/support/FixedBoundariesBinParameters.d.ts +1 -1
  516. package/rest/support/FixedIntervalBinParameters.d.ts +1 -1
  517. package/smartMapping/labels/clusters.d.ts +1 -1
  518. package/smartMapping/popup/clusters.d.ts +2 -2
  519. package/smartMapping/popup/templates.d.ts +1 -1
  520. package/smartMapping/raster/renderers/flow.d.ts +2 -2
  521. package/smartMapping/renderers/color.d.ts +12 -12
  522. package/smartMapping/renderers/predominance.d.ts +3 -3
  523. package/smartMapping/renderers/relationship.d.ts +15 -15
  524. package/smartMapping/renderers/univariateColorSize.d.ts +4 -4
  525. package/smartMapping/symbology/color.d.ts +4 -4
  526. package/smartMapping/symbology/flow.d.ts +2 -2
  527. package/smartMapping/symbology/types.d.ts +18 -18
  528. package/support/actions/ActionButton.d.ts +1 -1
  529. package/support/revision.js +1 -1
  530. package/symbols/CIMSymbol.d.ts +1 -1
  531. package/symbols/ExtrudeSymbol3DLayer.d.ts +21 -11
  532. package/symbols/FillSymbol3DLayer.d.ts +39 -19
  533. package/symbols/IconSymbol3DLayer.d.ts +1 -1
  534. package/symbols/LabelSymbol3D.d.ts +2 -2
  535. package/symbols/LineStyleMarker3D.d.ts +7 -7
  536. package/symbols/LineSymbol3D.d.ts +2 -2
  537. package/symbols/LineSymbol3DLayer.d.ts +7 -7
  538. package/symbols/LineSymbolMarker.d.ts +6 -6
  539. package/symbols/MarkerSymbol.d.ts +1 -1
  540. package/symbols/MeshSymbol3D.d.ts +2 -2
  541. package/symbols/ObjectSymbol3DLayer.d.ts +29 -7
  542. package/symbols/PathSymbol3DLayer.d.ts +32 -20
  543. package/symbols/PictureFillSymbol.d.ts +1 -1
  544. package/symbols/PictureMarkerSymbol.d.ts +1 -1
  545. package/symbols/PointSymbol3D.d.ts +3 -3
  546. package/symbols/PolygonSymbol3D.d.ts +7 -7
  547. package/symbols/SimpleFillSymbol.d.ts +8 -8
  548. package/symbols/SimpleLineSymbol.d.ts +20 -20
  549. package/symbols/SimpleMarkerSymbol.d.ts +7 -7
  550. package/symbols/Symbol3DLayer.d.ts +16 -16
  551. package/symbols/TextSymbol.d.ts +1 -1
  552. package/symbols/TextSymbol3DLayer.d.ts +1 -1
  553. package/symbols/WaterSymbol3DLayer.d.ts +3 -3
  554. package/symbols/WebStyleSymbol.d.ts +1 -1
  555. package/symbols/callouts/Callout3D.d.ts +1 -1
  556. package/symbols/callouts/LineCallout3D.d.ts +3 -3
  557. package/symbols/cim/CIMSymbolHelper.js +1 -1
  558. package/symbols/cim/rasterizingUtils.js +1 -1
  559. package/symbols/cim/types.d.ts +23 -23
  560. package/symbols/edges/Edges3D.d.ts +1 -1
  561. package/symbols/edges/SolidEdges3D.d.ts +1 -1
  562. package/symbols/patterns/LineStylePattern3D.d.ts +11 -11
  563. package/symbols/patterns/StylePattern3D.d.ts +8 -8
  564. package/symbols/support/ElevationInfo.d.ts +4 -4
  565. package/symbols/support/IconSymbol3DLayerResource.d.ts +6 -6
  566. package/symbols/support/ObjectSymbol3DLayerResource.d.ts +7 -7
  567. package/symbols/support/Symbol3DEmissive.d.ts +19 -6
  568. package/symbols/support/Symbol3DVerticalOffset.d.ts +2 -2
  569. package/time/TimeExtent.d.ts +1 -1
  570. package/versionManagement/VersionManagementService.d.ts +4 -0
  571. package/views/2d/engine/webgl/shaders/sources/shaderRepository.js +1 -1
  572. package/views/2d/interactive/SnappingVisualizer2D.js +1 -1
  573. package/views/2d/layers/BaseLayerViewGL2D.d.ts +1 -1
  574. package/views/2d/layers/features/layerAdapters/CatalogFootprintLayerAdapter.js +1 -1
  575. package/views/2d/layers/features/layerAdapters/FeatureLayerAdapter.js +1 -1
  576. package/views/2d/layers/features/layerAdapters/InMemoryLayerAdapter.js +1 -1
  577. package/views/2d/layers/features/layerAdapters/KnowledgeGraphSublayerAdapter.js +1 -1
  578. package/views/2d/layers/features/layerAdapters/OGCFeatureLayerAdapter.js +1 -1
  579. package/views/2d/layers/features/layerAdapters/OrientedImageryLayerAdapter.js +1 -1
  580. package/views/2d/layers/features/layerAdapters/SubtypeGroupLayerAdapter.js +1 -1
  581. package/views/2d/layers/features/sources/FeatureSourceQueryInfo.js +1 -1
  582. package/views/2d/layers/features/sources/strategies/FeaturePagedTileLoadStrategy.js +1 -1
  583. package/views/2d/layers/features/sources/strategies/FeatureSnapshotLoadStrategy.js +1 -1
  584. package/views/2d/layers/features/sources/strategies/chunks/SourceChunkStore.js +1 -1
  585. package/views/2d/layers/support/RouteLayerWaypointVisualization.js +1 -1
  586. package/views/2d/types.d.ts +3 -3
  587. package/views/3d/environment/CloudyWeather.d.ts +1 -1
  588. package/views/3d/environment/Environment.d.ts +4 -4
  589. package/views/3d/environment/FoggyWeather.d.ts +1 -1
  590. package/views/3d/environment/RainyWeather.d.ts +1 -1
  591. package/views/3d/environment/SnowyWeather.d.ts +1 -1
  592. package/views/3d/environment/SunLighting.d.ts +1 -1
  593. package/views/3d/environment/SunnyWeather.d.ts +1 -1
  594. package/views/3d/environment/VirtualLighting.d.ts +1 -1
  595. package/views/3d/layers/IntegratedMesh3DTilesLayerView3D.js +1 -1
  596. package/views/3d/layers/graphics/Graphics3DLineCalloutSymbolLayer.js +1 -1
  597. package/views/3d/layers/graphics/Graphics3DPolygonFillSymbolLayer.js +1 -1
  598. package/views/3d/layers/graphics/polygonUtils.js +1 -1
  599. package/views/3d/layers/support/featureTileQuery3D.js +1 -1
  600. package/views/3d/webgl/RenderNode.d.ts +2 -2
  601. package/views/3d/webgl-engine/collections/Component/Material/ComponentMaterial.js +1 -1
  602. package/views/3d/webgl-engine/effects/glow/GlowRenderNode.js +1 -1
  603. package/views/3d/webgl-engine/materials/ColorMaterial.js +1 -1
  604. package/views/3d/webgl-engine/materials/LineCalloutMaterial.js +1 -1
  605. package/views/3d/webgl-engine/materials/LineCalloutMaterialBaseInstance.js +2 -0
  606. package/views/3d/webgl-engine/materials/PatternMaterial.js +1 -1
  607. package/views/3d/webgl-engine/materials/renderers/VaoWriter.js +1 -1
  608. package/views/3d/webgl-engine/shaders/ColorMaterialTechniqueConfiguration.js +1 -1
  609. package/views/3d/webgl-engine/shaders/LineCalloutTechnique.js +1 -1
  610. package/views/3d/webgl-engine/shaders/PatternTechniqueConfiguration.js +1 -1
  611. package/views/3d/webgl.d.ts +1 -1
  612. package/views/LinkChartView.d.ts +1 -1
  613. package/views/Magnifier.d.ts +3 -3
  614. package/views/MapView.d.ts +8 -8
  615. package/views/SceneView.d.ts +18 -18
  616. package/views/View.d.ts +2 -2
  617. package/views/input/types.d.ts +1 -1
  618. package/views/interactive/keybindings.js +1 -1
  619. package/views/interactive/sketch/SketchLabelOptions.d.ts +1 -1
  620. package/views/interactive/sketch/SketchTooltipOptions.d.ts +1 -1
  621. package/views/interactive/snapping/SnappingOptions.d.ts +7 -7
  622. package/views/interactive/snapping/candidates/EdgeSnappingCandidate.js +1 -1
  623. package/views/interactive/snapping/featureSources/GraphicsSnappingSource.js +1 -1
  624. package/views/interactive/snapping/featureSources/queryEngineUtils.js +1 -1
  625. package/views/interactive/snapping/featureSources/snappingCandidateElevationAlignment.js +1 -1
  626. package/views/interactive/snapping/featureSources/snappingCandidateElevationFilter.js +1 -1
  627. package/views/interactive/snapping/hints/LineSnappingHint.js +1 -1
  628. package/views/layers/FeatureLikeLayerView.js +1 -1
  629. package/views/layers/support/WhereClauseVisitor.js +1 -1
  630. package/views/support/HighlightOptions.d.ts +1 -1
  631. package/views/ui/DefaultUI.d.ts +2 -2
  632. package/views/webgl/BufferObject.js +1 -1
  633. package/views/webgl/RenderingContext.js +1 -1
  634. package/webscene/Environment.d.ts +16 -11
  635. package/webscene/Glow.d.ts +9 -2
  636. package/webscene/background/ColorBackground.d.ts +1 -1
  637. package/widgets/AreaMeasurement2D.d.ts +1 -1
  638. package/widgets/AreaMeasurement3D.d.ts +2 -2
  639. package/widgets/Attachments.d.ts +1 -1
  640. package/widgets/Attribution.d.ts +1 -1
  641. package/widgets/BasemapGallery.d.ts +1 -1
  642. package/widgets/BasemapLayerList.d.ts +3 -3
  643. package/widgets/BasemapToggle.d.ts +1 -1
  644. package/widgets/BatchAttributeForm/BatchAttributeFormViewModel.d.ts +1 -2
  645. package/widgets/BatchAttributeForm/expressions/ExpressionsManager.js +1 -1
  646. package/widgets/BatchAttributeForm/expressions/ExpressionsModel.js +1 -1
  647. package/widgets/BatchAttributeForm/inputs/BatchFormInputs.d.ts +0 -1
  648. package/widgets/BatchAttributeForm/inputs/FieldInput.d.ts +1 -1
  649. package/widgets/BatchAttributeForm/inputs/InputBase.js +1 -1
  650. package/widgets/BatchAttributeForm/inputs/TextElementInput.d.ts +2 -11
  651. package/widgets/BatchAttributeForm/inputs/TextElementInput.js +1 -1
  652. package/widgets/BatchAttributeForm/inputs/support/inputUtils.js +1 -1
  653. package/widgets/BatchAttributeForm/inputs/support/textElementInputUtils.js +2 -0
  654. package/widgets/BatchAttributeForm/templates/TextElementTemplate.js +1 -1
  655. package/widgets/BatchAttributeForm/templates/support/constants.js +2 -0
  656. package/widgets/BatchAttributeForm/templates/support/createBatchFormTemplate.js +1 -1
  657. package/widgets/BatchAttributeForm/templates/support/hashElementTemplate.js +1 -1
  658. package/widgets/BatchAttributeForm/templates/support/textElementTemplateUtils.js +2 -0
  659. package/widgets/BatchAttributeForm.d.ts +0 -2
  660. package/widgets/Bookmarks/BookmarksVisibleElements.d.ts +1 -1
  661. package/widgets/Bookmarks.d.ts +2 -2
  662. package/widgets/BuildingExplorer.d.ts +1 -1
  663. package/widgets/CatalogLayerList.d.ts +3 -3
  664. package/widgets/Compass.d.ts +2 -2
  665. package/widgets/CoordinateConversion.d.ts +1 -1
  666. package/widgets/Daylight.d.ts +5 -5
  667. package/widgets/DirectLineMeasurement3D.d.ts +2 -2
  668. package/widgets/Directions.d.ts +4 -4
  669. package/widgets/DistanceMeasurement2D.d.ts +1 -1
  670. package/widgets/Editor/CreateFeaturesWorkflow.d.ts +1 -1
  671. package/widgets/Editor/EditorViewModel.js +1 -1
  672. package/widgets/Editor/components/Settings.js +1 -1
  673. package/widgets/Editor.d.ts +8 -8
  674. package/widgets/ElevationProfile/ElevationProfileLineGround.d.ts +1 -1
  675. package/widgets/ElevationProfile/ElevationProfileLineInput.d.ts +1 -1
  676. package/widgets/ElevationProfile/ElevationProfileLineView.d.ts +1 -1
  677. package/widgets/ElevationProfile.d.ts +3 -3
  678. package/widgets/Expand.d.ts +1 -1
  679. package/widgets/FeatureForm.d.ts +1 -1
  680. package/widgets/FeatureTable/ActionColumn.d.ts +2 -2
  681. package/widgets/FeatureTable/AttachmentsColumn.d.ts +1 -1
  682. package/widgets/FeatureTable/FeatureTableViewModel.d.ts +3 -3
  683. package/widgets/FeatureTable/Grid/GroupColumn.d.ts +1 -1
  684. package/widgets/FeatureTable/RelationshipColumn.d.ts +1 -1
  685. package/widgets/FeatureTable/VisibleElements.d.ts +1 -1
  686. package/widgets/FeatureTable.d.ts +10 -10
  687. package/widgets/FeatureTemplates/FeatureTemplatesViewModel.d.ts +5 -5
  688. package/widgets/FeatureTemplates.d.ts +8 -8
  689. package/widgets/Features/FeaturesViewModel.d.ts +2 -2
  690. package/widgets/Features/FeaturesViewModel.js +1 -1
  691. package/widgets/Features/FeaturesVisibleElements.d.ts +2 -2
  692. package/widgets/Features.d.ts +1 -1
  693. package/widgets/Histogram.d.ts +2 -2
  694. package/widgets/HistogramRangeSlider.d.ts +1 -1
  695. package/widgets/Home.d.ts +1 -1
  696. package/widgets/LayerList/ListItemPanel.d.ts +1 -1
  697. package/widgets/LayerList.d.ts +4 -4
  698. package/widgets/Legend.d.ts +8 -8
  699. package/widgets/LineOfSight.d.ts +1 -1
  700. package/widgets/Locate.d.ts +2 -2
  701. package/widgets/Measurement.d.ts +1 -1
  702. package/widgets/NavigationToggle/NavigationToggleViewModel.d.ts +1 -1
  703. package/widgets/NavigationToggle.d.ts +3 -3
  704. package/widgets/Popup/PopupVisibleElements.d.ts +2 -2
  705. package/widgets/Popup.d.ts +5 -5
  706. package/widgets/Print/CustomTemplate.d.ts +1 -1
  707. package/widgets/Print/PrintViewModel.js +1 -1
  708. package/widgets/Print/TemplateOptions.d.ts +4 -4
  709. package/widgets/ScaleRangeSlider.d.ts +1 -1
  710. package/widgets/Search/SearchViewModel.d.ts +4 -4
  711. package/widgets/Search.d.ts +5 -5
  712. package/widgets/ShadowCast.d.ts +3 -3
  713. package/widgets/Sketch/SketchViewModel.d.ts +39 -39
  714. package/widgets/Sketch.d.ts +43 -43
  715. package/widgets/Sketch.js +1 -1
  716. package/widgets/Slice.d.ts +2 -2
  717. package/widgets/Slider/SliderViewModel.d.ts +2 -2
  718. package/widgets/Slider.d.ts +9 -9
  719. package/widgets/Swipe/SwipeViewModel.d.ts +1 -1
  720. package/widgets/Swipe.d.ts +2 -2
  721. package/widgets/TableList/ListItemPanel.d.ts +1 -1
  722. package/widgets/TableList.d.ts +1 -1
  723. package/widgets/TimeSlider/TimeSliderViewModel.d.ts +9 -11
  724. package/widgets/TimeSlider/types.d.ts +1 -1
  725. package/widgets/TimeSlider.d.ts +12 -14
  726. package/widgets/Track.d.ts +2 -2
  727. package/widgets/UtilityNetworkAssociations.d.ts +3 -3
  728. package/widgets/UtilityNetworkTrace.d.ts +4 -4
  729. package/widgets/UtilityNetworkValidateTopology.d.ts +1 -1
  730. package/widgets/ValuePicker.d.ts +5 -5
  731. package/widgets/VideoPlayer.d.ts +1 -1
  732. package/widgets/smartMapping/ClassedColorSlider.d.ts +1 -1
  733. package/widgets/smartMapping/ClassedSizeSlider.d.ts +1 -1
  734. package/widgets/smartMapping/ColorSizeSlider.d.ts +2 -2
  735. package/widgets/smartMapping/ColorSlider.d.ts +1 -1
  736. package/widgets/smartMapping/HeatmapSlider.d.ts +1 -1
  737. package/widgets/smartMapping/OpacitySlider.d.ts +1 -1
  738. package/widgets/smartMapping/SizeSlider.d.ts +1 -1
  739. package/widgets/smartMapping/SmartMappingSliderBase.d.ts +4 -4
  740. package/widgets/smartMapping/SmartMappingSliderViewModel.d.ts +6 -6
  741. package/widgets/support/GridControls.d.ts +1 -1
  742. package/widgets/support/SketchTooltipControls.js +1 -1
  743. package/widgets/support/SnappingControls/VisibleElements.d.ts +1 -1
  744. package/widgets/support/SnappingControls.d.ts +6 -6
  745. package/assets/esri/core/workers/chunks/008887a8014b61f837ae.js +0 -1
  746. package/assets/esri/core/workers/chunks/0c8a676599821b9871c2.js +0 -1
  747. package/assets/esri/core/workers/chunks/2b7615cccbaeda1649f3.js +0 -1
  748. package/assets/esri/core/workers/chunks/2f0ea91afc9aa8ee9cad.js +0 -1
  749. package/assets/esri/core/workers/chunks/3a850b5e847b6b0ea53f.js +0 -1
  750. package/assets/esri/core/workers/chunks/449cf6ae6b6e6c2795e5.js +0 -1
  751. package/assets/esri/core/workers/chunks/529dbf16ffbbd39f3fa2.js +0 -1
  752. package/assets/esri/core/workers/chunks/58cf3d35771b87bd74e5.js +0 -1
  753. package/assets/esri/core/workers/chunks/652bb1b53782cdd3103c.js +0 -1
  754. package/assets/esri/core/workers/chunks/6acab23acf3b044f5215.js +0 -1
  755. package/assets/esri/core/workers/chunks/6c2a7bac3f8e32c83292.js +0 -1
  756. package/assets/esri/core/workers/chunks/6d26e5368e8952003669.js +0 -1
  757. package/assets/esri/core/workers/chunks/7c01e5eaab97a9ae80ad.js +0 -1
  758. package/assets/esri/core/workers/chunks/7cb6ccee9bcef449caea.js +0 -1
  759. package/assets/esri/core/workers/chunks/8235b8267489e1213ce8.js +0 -1
  760. package/assets/esri/core/workers/chunks/879e8439a513cb333b61.js +0 -1
  761. package/assets/esri/core/workers/chunks/956237a2baa30760c256.js +0 -1
  762. package/assets/esri/core/workers/chunks/a027da22acdaa6d6baa3.js +0 -1
  763. package/assets/esri/core/workers/chunks/b60337c471e2b855d02a.js +0 -1
  764. package/assets/esri/core/workers/chunks/bd1bbf1820e12d7a27f6.js +0 -1
  765. package/assets/esri/core/workers/chunks/c546c49960eace69d20a.js +0 -1
  766. package/assets/esri/core/workers/chunks/c9067667290e93407dd7.js +0 -1
  767. package/assets/esri/core/workers/chunks/e4eb14952b7660feecc7.js +0 -1
  768. package/assets/esri/core/workers/chunks/e71d08c6f545c2c70174.js +0 -1
  769. package/assets/esri/core/workers/chunks/f347dee99faa9ee5eef1.js +0 -1
  770. package/layers/support/GeoreferenceBase.d.ts +0 -4
  771. package/layers/support/GeoreferenceBase.js +0 -2
  772. package/widgets/BatchAttributeForm/inputs/support/textInputElementUtils.js +0 -2
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import{__decorate as e}from"tslib";import r from"../../../../core/Accessor.js";import t from"../../../../core/Error.js";import{destroyMaybe as s}from"../../../../core/maybe.js";import{throwIfAborted as o,createAbortError as i}from"../../../../core/promiseUtils.js";import{difference as a}from"../../../../core/SetUtils.js";import{parseWhereClause as u}from"../../../../core/sql.js";import{property as l,subclass as n}from"../../../../core/accessorSupport/decorators.js";import{fromFeatureSetJSON as c}from"../../../../layers/graphics/dehydratedFeatures.js";import{canConvertSqlRelativeTime as y,sqlRelativeTimeToAbsolute as p}from"../../../../layers/support/relativeTimeQueryUtils.js";import{queueAutoPriority as d}from"../../../../request/queue.js";import{runQuery as h,executeQuery as m,executeQueryForCount as f}from"../../../../rest/query/operations/query.js";import{PBFDecoder as w}from"../../support/PBFDecoder.js";let F=class extends r{constructor(e){super(e)}get implicitFields(){const e=this.layer.outFields?.includes("*");if(!e)return new Set;const r=new Set(this.layerView.requiredFields),t=new Set(this.layerView.availableFields);return a(t,r)}async queryFeaturesDehydrated(e,r){const{layer:t}=this,s=t.capabilities,a=s?.query?.supportsFormatPBF,l=t.parsedUrl,n=y(e.where)?await p(e.where,s.query.relativeTimeBinWindow):e.where,d=e.where;let f;if(n!==e.where&&((e=e.clone()).where=n),a){null==this._decoder&&(this._decoder=new w(this.controller));const s={sourceSpatialReference:t.spatialReference?.toJSON()??null,applyTransform:!0,maxStringAttributeFields:this.implicitFields,maxStringAttributeLength:v};f=await h(l,e,"pbf",this._createRequestOptions(r)).then(e=>(o(r),null!=this._decoder?this._decoder.invoke({buffer:e,options:s},r.signal):Promise.reject(i())))}else f=await m(l,e,t.spatialReference,this._createRequestOptions(r)).then(e=>c(e,{maxStringAttributeFields:this.implicitFields,maxStringAttributeLength:v}));if(d&&e.where!==d){const e=await this.controller.schedule(()=>u(d,this.layer.fieldsIndex),r.signal);f.features=await this.controller.schedule(()=>f.features.filter(r=>e.testFeatureCompiled(r)),r.signal)}return f}queryFeatureCount(e,r){return f(this.layer.parsedUrl,e,this._createRequestOptions(r))}destroy(){this._decoder=s(this._decoder)}_createRequestOptions(e){return{...d,...e,query:{...this.layer.customParameters,token:this.layer.apiKey,...e?.query}}}};e([l({constructOnly:!0})],F.prototype,"layer",void 0),e([l({constructOnly:!0})],F.prototype,"layerView",void 0),e([l({constructOnly:!0})],F.prototype,"controller",void 0),e([l({readOnly:!0})],F.prototype,"implicitFields",null),F=e([n("esri.views.3d.layers.support.featureTileQuery3D.FeatureTileServiceQuery3D")],F);let q=class extends r{constructor(e){super(e)}queryFeaturesDehydrated(e,r){return this.layer.queryFeatures(e,r)}};e([l({constructOnly:!0})],q.prototype,"layer",void 0),q=e([n("esri.views.3d.layers.support.featureTileQuery3D.FeatureTileOGCServiceQuery3D")],q);let g=class extends r{constructor(e){super(e)}queryFeaturesDehydrated(e,r){return this.layer.source.queryFeaturesJSON(e,r).then(c,t=>{if(t&&"query-features-json:unsupported"===t.name)return this.layer.queryFeatures(e,r);throw t})}queryFeatureCount(e,r){return this.layer.queryFeatureCount(e,r)}};function j(e,r){const{layer:s}=e;switch(s.type){case"feature":switch(s.source.type){case"feature-layer":return new F({layer:s,layerView:e,controller:r});case"memory":return new g({layer:s});case"csv":case"geojson":case"oriented-imagery":case"wfs":case"ogc-feature":case"parquet":break;default:s.source.type}break;case"catalog-footprint":return new F({layer:s,layerView:e,controller:r});case"csv":case"geojson":case"oriented-imagery":case"wfs":return new g({layer:s});case"ogc-feature":return new q({layer:s})}throw new t("feature-layer:unsupported",`Unsupported Feature layer type ${e.layer.type}:${e.layer.source.type}`)}e([l({constructOnly:!0})],g.prototype,"layer",void 0),g=e([n("esri.views.3d.layers.support.featureTileQuery3D.FeatureTileClientQuery3D")],g);const v=1024;export{j as createFeatureTileQuery3D};
2
+ import{__decorate as e}from"tslib";import r from"../../../../core/Accessor.js";import t from"../../../../core/Error.js";import{destroyMaybe as s}from"../../../../core/maybe.js";import{throwIfAborted as o,createAbortError as i}from"../../../../core/promiseUtils.js";import{difference as a}from"../../../../core/SetUtils.js";import{parseWhereClause as u}from"../../../../core/sql.js";import{property as l,subclass as n}from"../../../../core/accessorSupport/decorators.js";import{fromFeatureSetJSON as c}from"../../../../layers/graphics/dehydratedFeatures.js";import{canConvertSqlRelativeTime as y,sqlRelativeTimeToAbsolute as p}from"../../../../layers/support/relativeTimeQueryUtils.js";import{queueAutoPriority as d}from"../../../../request/queue.js";import{runQuery as h,executeQuery as m,executeQueryForCount as f}from"../../../../rest/query/operations/query.js";import{PBFDecoder as w}from"../../support/PBFDecoder.js";let F=class extends r{constructor(e){super(e)}get implicitFields(){const e=this.layer.outFields?.includes("*");if(!e)return new Set;const r=new Set(this.layerView.requiredFields),t=new Set(this.layerView.availableFields);return a(t,r)}async queryFeaturesDehydrated(e,r){const{layer:t}=this,s=t.capabilities,a=s?.query?.supportsFormatPBF,l=t.parsedUrl,n=y(e.where)?await p(t.fieldsIndex,e.where,s.query.relativeTimeBinWindow):e.where,d=e.where;let f;if(n!==e.where&&((e=e.clone()).where=n),a){null==this._decoder&&(this._decoder=new w(this.controller));const s={sourceSpatialReference:t.spatialReference?.toJSON()??null,applyTransform:!0,maxStringAttributeFields:this.implicitFields,maxStringAttributeLength:v};f=await h(l,e,"pbf",this._createRequestOptions(r)).then(e=>(o(r),null!=this._decoder?this._decoder.invoke({buffer:e,options:s},r.signal):Promise.reject(i())))}else f=await m(l,e,t.spatialReference,this._createRequestOptions(r)).then(e=>c(e,{maxStringAttributeFields:this.implicitFields,maxStringAttributeLength:v}));if(d&&e.where!==d){const e=await this.controller.schedule(()=>u(d,this.layer.fieldsIndex),r.signal);f.features=await this.controller.schedule(()=>f.features.filter(r=>e.testFeatureCompiled(r)),r.signal)}return f}queryFeatureCount(e,r){return f(this.layer.parsedUrl,e,this._createRequestOptions(r))}destroy(){this._decoder=s(this._decoder)}_createRequestOptions(e){return{...d,...e,query:{...this.layer.customParameters,token:this.layer.apiKey,...e?.query}}}};e([l({constructOnly:!0})],F.prototype,"layer",void 0),e([l({constructOnly:!0})],F.prototype,"layerView",void 0),e([l({constructOnly:!0})],F.prototype,"controller",void 0),e([l({readOnly:!0})],F.prototype,"implicitFields",null),F=e([n("esri.views.3d.layers.support.featureTileQuery3D.FeatureTileServiceQuery3D")],F);let q=class extends r{constructor(e){super(e)}queryFeaturesDehydrated(e,r){return this.layer.queryFeatures(e,r)}};e([l({constructOnly:!0})],q.prototype,"layer",void 0),q=e([n("esri.views.3d.layers.support.featureTileQuery3D.FeatureTileOGCServiceQuery3D")],q);let g=class extends r{constructor(e){super(e)}queryFeaturesDehydrated(e,r){return this.layer.source.queryFeaturesJSON(e,r).then(c,t=>{if(t&&"query-features-json:unsupported"===t.name)return this.layer.queryFeatures(e,r);throw t})}queryFeatureCount(e,r){return this.layer.queryFeatureCount(e,r)}};function j(e,r){const{layer:s}=e;switch(s.type){case"feature":switch(s.source.type){case"feature-layer":return new F({layer:s,layerView:e,controller:r});case"memory":return new g({layer:s});case"csv":case"geojson":case"oriented-imagery":case"wfs":case"ogc-feature":case"parquet":break;default:s.source.type}break;case"catalog-footprint":return new F({layer:s,layerView:e,controller:r});case"csv":case"geojson":case"oriented-imagery":case"wfs":return new g({layer:s});case"ogc-feature":return new q({layer:s})}throw new t("feature-layer:unsupported",`Unsupported Feature layer type ${e.layer.type}:${e.layer.source.type}`)}e([l({constructOnly:!0})],g.prototype,"layer",void 0),g=e([n("esri.views.3d.layers.support.featureTileQuery3D.FeatureTileClientQuery3D")],g);const v=1024;export{j as createFeatureTileQuery3D};
@@ -112,7 +112,7 @@ export interface RenderNodeProperties extends Partial<Pick<RenderNode, "produces
112
112
  * <span id="render-node-input-images"></span>
113
113
  * | composite-color | composite-color depth attachment | highlights | normals |
114
114
  * | --------------- | -------------------------------- | ---------- | ------- |
115
- * | <img src="https://developers.arcgis.com/javascript/latest/assets/img/apiref/views/3d/rendernodeCompositeColor.png" style="width:200px;"/> | <img src="https://developers.arcgis.com/javascript/latest/assets/img/apiref/views/3d/rendernodeCompositeColorDepth.png" style="width:200px;"/> | <img src="https://developers.arcgis.com/javascript/latest/assets/img/apiref/views/3d/rendernodeHighlight.png" style="width:200px;"/> | <img src="https://developers.arcgis.com/javascript/latest/assets/img/apiref/views/3d/rendernodeNormals.png" style="width:200px;"/> |
115
+ * | <img src="https://developers.arcgis.com/javascript/latest/assets/images/apiref/views/3d/rendernodeCompositeColor.png" style="width:200px;"/> | <img src="https://developers.arcgis.com/javascript/latest/assets/images/apiref/views/3d/rendernodeCompositeColorDepth.png" style="width:200px;"/> | <img src="https://developers.arcgis.com/javascript/latest/assets/images/apiref/views/3d/rendernodeHighlight.png" style="width:200px;"/> | <img src="https://developers.arcgis.com/javascript/latest/assets/images/apiref/views/3d/rendernodeNormals.png" style="width:200px;"/> |
116
116
  *
117
117
  * If one of the required inputs is not available then this [RenderNode](https://developers.arcgis.com/javascript/latest/references/core/views/3d/webgl/RenderNode/) will be
118
118
  * skipped during the frame. For example, a custom [RenderNode](https://developers.arcgis.com/javascript/latest/references/core/views/3d/webgl/RenderNode/) using highlights as
@@ -151,7 +151,7 @@ export interface RenderNodeProperties extends Partial<Pick<RenderNode, "produces
151
151
  * drawn as a perfect sphere with a radius of 6378137, so the unit of the coordinate system should be considered
152
152
  * meters.
153
153
  *
154
- * ![rendernode-global-coordinate-system](https://developers.arcgis.com/javascript/latest/assets/img/apiref/views/3d/externalRenderers-global-coordinate-system.png)
154
+ * ![rendernode-global-coordinate-system](https://developers.arcgis.com/javascript/latest/assets/images/apiref/views/3d/externalRenderers-global-coordinate-system.png)
155
155
  *
156
156
  * You can use [toRenderCoordinates()](https://developers.arcgis.com/javascript/latest/references/core/views/3d/webgl/#toRenderCoordinates)
157
157
  * and [fromRenderCoordinates()](https://developers.arcgis.com/javascript/latest/references/core/views/3d/webgl/#fromRenderCoordinates) to transform to
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import{exactEquals as e}from"../../../../../../core/libs/gl-matrix-2/math/vec3.js";import{ZEROS as r}from"../../../../../../core/libs/gl-matrix-2/factories/vec3f64.js";import{ComponentTechnique as s}from"./ComponentTechnique.js";import{ComponentTechniqueConfiguration as t}from"./ComponentTechniqueConfiguration.js";import{MaterialBase as i}from"../../../core/material/MaterialBase.js";import{isColor as o}from"../../../core/shaderLibrary/ShaderOutput.js";class a extends i{constructor(e,r,s,i,o){super(),this.parameters=e,this.key=o,this.usePBR=e.usePBR,this.hasParametersFromSource=e.hasParametersFromSource,this.isGround=e.isGround,this.slicePlaneEnabled=e.slicePlaneEnabled,this.isIntegratedMesh=e.isIntegratedMesh,this.applySSAO=e.applySSAO,this.hasEmissions=u(e,s,i),this.materialPass=n(e,s),this._configuration=new t(i.sphericalSR),this._initializeMaterialConfiguration(e,r,s,i)}destroy(){}acquireTechnique(e,r,t,i){const o=this._updateConfiguration(r,t);return e.get(s,o,i.layout)}_initializeMaterialConfiguration(e,r,s,t){const i=this._configuration;i.hasMetallicRoughnessTexture=null!=e.metallicRoughnessTexture,i.hasOcclusionTexture=null!=e.occlusionTexture,i.hasNormalTexture=null!=e.normalTexture,i.sphereDepthInterpolate=e.sphereDepthInterpolate&&i.spherical,i.ellipsoidMode=e.ellipsoidMode,i.doubleSidedMode=e.doubleSided?1:0,i.hasColorTexture=null!=e.baseColorTexture,i.cullFace=e.cullFace,i.alphaDiscardMode=e.alphaDiscardMode,i.hasVertexColors=r.hasVertexColors,i.textureCoordinateType=r.textureCoordinateType,i.shadeNormals=r.shadeNormals,i.normalType=r.hasNormals?1:2,i.hasPolygonOffset=e.polygonOffsetEnabled,i.hasModelRotationScale=r.hasModelRotationScale,i.componentDataType=s.componentDataType,i.emissionSource=c(e,s,t)}_updateConfiguration(e,r){const s=this._configuration,{identifier:t,output:i}=e,a=0===t;s.output=i,s.hasEmission=r.hasEmission&&a,s.renderOccluded=10===r.slot,s.oitPass=a?r.oitPass:0,s.terrainDepthTest=a&&r.terrainDepthTest,s.cullAboveTerrain=!!a&&r.cullAboveTerrain;const n=this.isIntegratedMesh?d(r)?h(r)?3:2:1:0;s.integratedMeshMode=n,s.pbrMode=3===n?4:this.usePBR?this.hasParametersFromSource?0!==s.shadeNormals&&this.isIntegratedMesh?0:2:1:0,s.hasSlicePlane=null!=r.slicePlane&&this.slicePlaneEnabled,s.isGroundSlice=s.hasSlicePlane&&this.isGround;const{materialPass:l}=this;s.blendingEnabled=1===l||2===l||4===l||s.isGroundSlice,s.hasHighlightMixTexture=2===t&&null!=r.highlightMixTexture,s.snowCover=a&&r.snowCover>0,s.vertexDiscardMode=a&&2===l?e.transparent?2:1:0;const u=a&&o(i);return s.receiveAmbientOcclusion=u&&this.applySSAO&&null!=r.ssao?.getTexture(),s.hasOccludees=u&&r.hasOccludees,s.receiveShadows=u&&r.shadowMap.ready,s.screenSpaceReflections=u&&null!=r.ssr.lastFrameColor,s.cloudReflections=u&&null!=r.clouds.data?.cubeMap?.colorTexture,s}}function n(e,r){const{alphaDiscardMode:s,isIntegratedMesh:t,slicePlaneEnabled:i}=e,{transparent:o,opaqueOverride:a}=r,n=e.opacity<1,l=e.baseColor[3]<1;if(t)return n||i?4:3;if(n)return 1;if(0===a)return 0;if(l||0===s||3===s)return 1;switch(o){case 2:return 0;case 0:return 1;case 1:return 2}}function l(s){return null!=s.emissionTexture||!e(s.emissiveBaseColor,r)}function u(e,r,s){const t=l(e);return s.floatBufferBlendSupported&&2!==r.emissiveOverride&&(t||2!==r.emissiveSourceOverride)}function c(e,r,s){const t=null!=e.emissionTexture,{emissiveSourceOverride:i}=r,o=1===i,a=2===i,n=u(e,r,s),c=l(e);return n?c?a?t?4:2:o?t?5:7:6:o?7:6:0}function h(e){return null!=e.overlay?.getTexture(3)}function d(e){return null!=e.overlay?.getTexture(1)}export{a as ComponentMaterial,c as calculateEmissionSource,u as calculateHasEmissions,l as calculateHasEmissiveBase,n as computeMaterialPass};
2
+ import{exactEquals as e}from"../../../../../../core/libs/gl-matrix-2/math/vec3.js";import{ZEROS as r}from"../../../../../../core/libs/gl-matrix-2/factories/vec3f64.js";import{ComponentTechnique as t}from"./ComponentTechnique.js";import{ComponentTechniqueConfiguration as s}from"./ComponentTechniqueConfiguration.js";import{MaterialBase as i}from"../../../core/material/MaterialBase.js";import{isColor as o}from"../../../core/shaderLibrary/ShaderOutput.js";class a extends i{constructor(e,r,t,i,o){super(),this.parameters=e,this.key=o,this.usePBR=e.usePBR,this.hasParametersFromSource=e.hasParametersFromSource,this.isGround=e.isGround,this.slicePlaneEnabled=e.slicePlaneEnabled,this.isIntegratedMesh=e.isIntegratedMesh,this.applySSAO=e.applySSAO,this.hasEmissions=u(e,t,i),this.materialPass=n(e,t),this._configuration=new s(i.sphericalSR),this._initializeMaterialConfiguration(e,r,t,i)}destroy(){}acquireTechnique(e,r,s,i){const o=this._updateConfiguration(r,s);return e.get(t,o,i.layout)}_initializeMaterialConfiguration(e,r,t,s){const i=this._configuration;i.hasMetallicRoughnessTexture=null!=e.metallicRoughnessTexture,i.hasOcclusionTexture=null!=e.occlusionTexture,i.hasNormalTexture=null!=e.normalTexture,i.sphereDepthInterpolate=e.sphereDepthInterpolate&&i.spherical,i.ellipsoidMode=e.ellipsoidMode,i.doubleSidedMode=e.doubleSided?1:0,i.hasColorTexture=null!=e.baseColorTexture,i.cullFace=e.cullFace,i.alphaDiscardMode=e.alphaDiscardMode,i.hasVertexColors=r.hasVertexColors,i.textureCoordinateType=r.textureCoordinateType,i.shadeNormals=r.shadeNormals,i.normalType=r.hasNormals?1:2,i.hasPolygonOffset=e.polygonOffsetEnabled,i.hasModelRotationScale=r.hasModelRotationScale,i.componentDataType=t.componentDataType,i.emissionSource=c(e,t,s)}_updateConfiguration(e,r){const t=this._configuration,{identifier:s,output:i}=e,a=0===s;t.output=i,t.hasEmission=r.hasEmission&&a,t.renderOccluded=10===r.slot,t.oitPass=a?r.oitPass:0,t.terrainDepthTest=a&&r.terrainDepthTest,t.cullAboveTerrain=!!a&&r.cullAboveTerrain;const n=this.isIntegratedMesh?d(r)?h(r)?3:2:1:0;t.integratedMeshMode=n,t.pbrMode=3===n?4:this.usePBR?this.hasParametersFromSource?0!==t.shadeNormals&&this.isIntegratedMesh?0:2:1:0,t.hasSlicePlane=null!=r.slicePlane&&this.slicePlaneEnabled,t.isGroundSlice=t.hasSlicePlane&&this.isGround;const{materialPass:l}=this;t.blendingEnabled=a&&(1===l||2===l&&e.transparent||4===l)||t.isGroundSlice,t.hasHighlightMixTexture=2===s&&null!=r.highlightMixTexture,t.snowCover=a&&r.snowCover>0,t.vertexDiscardMode=a&&2===l?e.transparent?2:1:0;const u=a&&o(i);return t.receiveAmbientOcclusion=u&&this.applySSAO&&null!=r.ssao?.getTexture(),t.hasOccludees=u&&r.hasOccludees,t.receiveShadows=u&&r.shadowMap.ready,t.screenSpaceReflections=u&&null!=r.ssr.lastFrameColor,t.cloudReflections=u&&null!=r.clouds.data?.cubeMap?.colorTexture,t}}function n(e,r){const{alphaDiscardMode:t,isIntegratedMesh:s,slicePlaneEnabled:i}=e,{transparent:o,opaqueOverride:a}=r,n=e.opacity<1,l=e.baseColor[3]<1;if(s)return n||i?4:3;if(n)return 1;if(0===a)return 0;if(l||0===t||3===t)return 1;switch(o){case 2:return 0;case 0:return 1;case 1:return 2}}function l(t){return null!=t.emissionTexture||!e(t.emissiveBaseColor,r)}function u(e,r,t){const s=l(e);return t.floatBufferBlendSupported&&2!==r.emissiveOverride&&(s||2!==r.emissiveSourceOverride)}function c(e,r,t){const s=null!=e.emissionTexture,{emissiveSourceOverride:i}=r,o=1===i,a=2===i,n=u(e,r,t),c=l(e);return n?c?a?s?4:2:o?s?5:7:6:o?7:6:0}function h(e){return null!=e.overlay?.getTexture(3)}function d(e){return null!=e.overlay?.getTexture(1)}export{a as ComponentMaterial,c as calculateEmissionSource,u as calculateHasEmissions,l as calculateHasEmissiveBase,n as computeMaterialPass};
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import{__decorate as t}from"tslib";import{lerp as e}from"../../../../../core/mathUtils.js";import{watch as i,syncAndInitial as s}from"../../../../../core/reactiveUtils.js";import{property as r,subclass as o}from"../../../../../core/accessorSupport/decorators.js";import{length as a}from"../../../../../core/libs/gl-matrix-2/math/vec3.js";import{ZEROS as n}from"../../../../../core/libs/gl-matrix-2/factories/vec4f32.js";import{getReferenceEllipsoid as h}from"../../../../../geometry/ellipsoidUtils.js";import{InternalRenderCategory as c}from"../../../webgl.js";import{TransparentEnvironment as m}from"../TransparentEnvironment.js";import{G as l}from"../../../../../chunks/GlowBlur.glsl.js";import{GlowBlurTechnique as p}from"./GlowBlurTechnique.js";import{GlowBlurTechniqueConfiguration as u}from"./GlowBlurTechniqueConfiguration.js";import{G as g,a as _,m as d}from"../../../../../chunks/GlowComposition.glsl.js";import{GlowCompositionTechnique as f}from"./GlowCompositionTechnique.js";import{GlowCompositionTechniqueConfiguration as w}from"./GlowCompositionTechniqueConfiguration.js";import{ColorAttachment1 as b,DepthStencilAttachment as P}from"../../../../webgl/enums.js";let T=class extends m{constructor(t){super(t),this.consumes={required:[c.TRANSPARENT_ENVIRONMENT,"emissive"]},this.produces=c.TRANSPARENT_ENVIRONMENT,this._blurHorizontalConfiguration=new u,this._blurVerticalConfiguration=new u,this._compositionConfiguration=new w,this._compositionParameters=new g,this._blurParameters=new l,this._blurScalePerLod=3.06,this._logicalBlurRadius=.0037,this._mode=0,this._intensity=.5,this._scatteringFactors={realistic:new _([.8,.12,.05,.02,.01,0]),maximumFog:new _([0,0,.06,.12,.25,.57]),cartographicMin:new _([.4,.18,.25,.12,.05,0],!1),cartographicDefault:new _([1.17,1.08,.78,.4,.26,.11],!1),cartographicMax:new _([3.59,3.9,2.46,1.4,.93,.44],!1)},this._glowResults=new Array;const e=h(t.view.spatialReference);this._atmosphereRadius=e.radius+e.atmosphereHeight;t.view.stage.renderView.techniques.precompile(f,this._compositionConfiguration),this._compositionParameters.minDisperse=new _([.8,.12,.05,.02,.01,0])}initialize(){this.addHandles([i(()=>this._updateFogParameters(),()=>{},s),i(()=>this._updateParameters(),()=>{},s)])}_updateParameters(){const t=this.view.environment.lighting.glow;this._mode=null==t?this.view.environment.atmosphereEnabled?0:2:1,t&&(this._intensity=t.intensity),this._compositionParameters.minDisperse&&(this._compositionParameters.minDisperse.presets=this.getPreset(this._mode)),this.precompile(),this.requestRender(1)}_updateFogParameters(){const t=this.view.environment.weather;"sunny"===t.type||"cloudy"===t.type?this._compositionParameters.distanceModifier=0:this._compositionParameters.distanceModifier="foggy"===t.type?e(3e-5,.005,t.fogStrength**3):e(4e-6,2e-4,(t.precipitation??0)**3),this._compositionParameters.maxDisperse=this._scatteringFactors.maximumFog,this.requestRender(1)}precompile(){this.techniques.precompile(p,this._blurHorizontalConfiguration),this._blurVerticalConfiguration.glowStage=1,this.techniques.precompile(p,this._blurVerticalConfiguration),this._compositionConfiguration.blurEnabled=!0,this.techniques.precompile(f,this._compositionConfiguration),this._compositionConfiguration.blurEnabled=!1,this.techniques.precompile(f,this._compositionConfiguration)}render(t){const e=t.find(({name:t})=>t===c.TRANSPARENT_ENVIRONMENT),i=e.getAttachment(b);if(!i?.attachment)return e;const s=2!==this._mode;this._compositionConfiguration.blurEnabled=s;const r=e.getAttachment(P);if(!s){const t=this.techniques.get(f,this._compositionConfiguration);if(!t.compiled)return this.requestRender(1),e;const s=e.getTexture(),o=this.fboCache,{fullWidth:a,fullHeight:n}=this.bindParameters.camera,h=this.renderingContext,c=o.acquire(s.descriptor.width,s.descriptor.height,this.produces);return this._prepareFBO(c,a,n),this._compositionParameters.color=s,this._compositionParameters.emission=i.attachment,h.bindTechnique(t,this.bindParameters,this._compositionParameters),h.screen.draw(),c.attachDepth(r),c.attachColor(i,b),c}const o=this.techniques.get(p,this._blurHorizontalConfiguration),n=this.techniques.get(p,this._blurVerticalConfiguration),h=this.techniques.get(f,this._compositionConfiguration);if(!o.compiled||!n.compiled||!h.compiled)return this.requestRender(1),e;const m=e.getTexture(),l=this.fboCache,{fullWidth:u,fullHeight:g}=this.bindParameters.camera,_=this.renderingContext;let d=i.attachment,w=Math.ceil(u/2),T=Math.ceil(g/2);const C=5;this._blurParameters.blurRadius=this._logicalBlurRadius;for(let a=0;a<C;a++){const t=l.acquire(w,T,"glow horizontal",8);this._blurParameters.emissionsToDownsample=d,this._prepareFBO(t,w,T),_.bindTechnique(o,this.bindParameters,this._blurParameters),_.screen.draw();const e=l.acquire(w,T,"glow vertical",8);this._blurParameters.emissionsToDownsample=t.getTexture(),this._prepareFBO(e,w,T),_.bindTechnique(n,this.bindParameters,this._blurParameters),_.screen.draw(),t.release(),this._glowResults[a]=e,w=Math.ceil(w/2),T=Math.ceil(T/2),d=this._glowResults[a].getTexture(),this._blurParameters.blurRadius*=this._blurScalePerLod}const R=this.bindParameters.camera,q=a(R.eye);this._compositionParameters.atmosphereC=q**2-this._atmosphereRadius**2,this._compositionParameters.color=m,this._compositionParameters.emission=i.attachment,this._compositionParameters.lodTexture0=this._glowResults[0].getTexture(),this._compositionParameters.lodTexture1=this._glowResults[1].getTexture(),this._compositionParameters.lodTexture2=this._glowResults[2].getTexture(),this._compositionParameters.lodTexture3=this._glowResults[3].getTexture(),this._compositionParameters.lodTexture4=this._glowResults[4].getTexture();const x=l.acquire(m.descriptor.width,m.descriptor.height,this.produces);return x.acquireColor(b,8,"emissive glow"),this._prepareFBO(x,u,g,!0),_.bindTechnique(h,this.bindParameters,this._compositionParameters),_.screen.draw(),this._glowResults.forEach(t=>t.release()),x.attachDepth(r),x}getPreset(t){return 0===t?this._scatteringFactors.realistic.presets:this._intensity<=.5?d(this._scatteringFactors.cartographicMin.presets,this._scatteringFactors.cartographicDefault.presets,2*this._intensity):d(this._scatteringFactors.cartographicDefault.presets,this._scatteringFactors.cartographicMax.presets,2*(this._intensity-.5))}_prepareFBO(t,e,i,s=!1){const r=this.renderingContext;r.bindFramebuffer(t.fbo),r.setViewport(0,0,e,i),r.setClearColor(0,0,0,0),r.clear(16384),s&&r.clearBuffer(1,n)}get test(){return{compositionParameters:this._compositionParameters,blurParameters:this._blurParameters,setBlurLodCombination:t=>{this._compositionParameters.dispersionWeight=t},getPresets:this.getPreset(this._mode),setMinDisperse:(t,e)=>{0===this._mode?this._scatteringFactors.realistic.presets[t]=e:(this._scatteringFactors.cartographicMin.presets[t]=e,this._scatteringFactors.cartographicMax.presets[t]=e)},toggleTonemapping:t=>{this._compositionConfiguration.tonemappingEnabled=t,this.requestRender(1)}}}};t([r()],T.prototype,"consumes",void 0),t([r()],T.prototype,"produces",void 0),T=t([o("esri.views.3d.webgl-engine.effects.glow.GlowRenderNode")],T);export{T as GlowRenderNode};
2
+ import{__decorate as t}from"tslib";import{lerp as e}from"../../../../../core/mathUtils.js";import{watch as i,syncAndInitial as s}from"../../../../../core/reactiveUtils.js";import{property as r,subclass as o}from"../../../../../core/accessorSupport/decorators.js";import{length as a}from"../../../../../core/libs/gl-matrix-2/math/vec3.js";import{ZEROS as n}from"../../../../../core/libs/gl-matrix-2/factories/vec4f32.js";import{getReferenceEllipsoid as h}from"../../../../../geometry/ellipsoidUtils.js";import{InternalRenderCategory as c}from"../../../webgl.js";import{TransparentEnvironment as m}from"../TransparentEnvironment.js";import{G as l}from"../../../../../chunks/GlowBlur.glsl.js";import{GlowBlurTechnique as p}from"./GlowBlurTechnique.js";import{GlowBlurTechniqueConfiguration as u}from"./GlowBlurTechniqueConfiguration.js";import{G as g,a as _,m as d}from"../../../../../chunks/GlowComposition.glsl.js";import{GlowCompositionTechnique as f}from"./GlowCompositionTechnique.js";import{GlowCompositionTechniqueConfiguration as w}from"./GlowCompositionTechniqueConfiguration.js";import{ColorAttachment1 as b,DepthStencilAttachment as P}from"../../../../webgl/enums.js";let T=class extends m{constructor(t){super(t),this.consumes={required:[c.TRANSPARENT_ENVIRONMENT,"emissive"]},this.produces=c.TRANSPARENT_ENVIRONMENT,this._blurHorizontalConfiguration=new u,this._blurVerticalConfiguration=new u,this._compositionConfiguration=new w,this._compositionParameters=new g,this._blurParameters=new l,this._blurScalePerLod=3.06,this._logicalBlurRadius=.0037,this._mode=0,this._intensity=.5,this._scatteringFactors={realistic:new _([.8,.12,.05,.02,.01,0]),maximumFog:new _([0,.27,.6,1.05,1.58,2.1],!1),cartographicMin:new _([.4,.18,.25,.12,.05,0],!1),cartographicDefault:new _([1.17,1.08,.78,.4,.26,.11],!1),cartographicMax:new _([3.59,3.9,2.46,1.4,.93,.44],!1)},this._glowResults=new Array;const e=h(t.view.spatialReference);this._atmosphereRadius=e.radius+e.atmosphereHeight;t.view.stage.renderView.techniques.precompile(f,this._compositionConfiguration),this._compositionParameters.minDisperse=new _([.8,.12,.05,.02,.01,0])}initialize(){this.addHandles([i(()=>this._updateFogParameters(),()=>{},s),i(()=>this._updateParameters(),()=>{},s)])}_updateParameters(){const t=this.view.environment.lighting.glow;this._mode=null==t?this.view.environment.atmosphereEnabled?0:2:1,t&&(this._intensity=t.intensity),this._compositionParameters.minDisperse&&(this._compositionParameters.minDisperse.presets=this.getPreset(this._mode)),this.precompile(),this.requestRender(1)}_updateFogParameters(){const t=this.view.environment.weather;"sunny"===t.type||"cloudy"===t.type?this._compositionParameters.distanceModifier=0:this._compositionParameters.distanceModifier="foggy"===t.type?e(3e-5,.005,t.fogStrength**3):e(4e-6,2e-4,(t.precipitation??0)**3),this._compositionParameters.maxDisperse=this._scatteringFactors.maximumFog,this.requestRender(1)}precompile(){this.techniques.precompile(p,this._blurHorizontalConfiguration),this._blurVerticalConfiguration.glowStage=1,this.techniques.precompile(p,this._blurVerticalConfiguration),this._compositionConfiguration.blurEnabled=!0,this.techniques.precompile(f,this._compositionConfiguration),this._compositionConfiguration.blurEnabled=!1,this.techniques.precompile(f,this._compositionConfiguration)}render(t){const e=t.find(({name:t})=>t===c.TRANSPARENT_ENVIRONMENT),i=e.getAttachment(b);if(!i?.attachment)return e;const s=2!==this._mode;this._compositionConfiguration.blurEnabled=s;const r=e.getAttachment(P);if(!s){const t=this.techniques.get(f,this._compositionConfiguration);if(!t.compiled)return this.requestRender(1),e;const s=e.getTexture(),o=this.fboCache,{fullWidth:a,fullHeight:n}=this.bindParameters.camera,h=this.renderingContext,c=o.acquire(s.descriptor.width,s.descriptor.height,this.produces);return this._prepareFBO(c,a,n),this._compositionParameters.color=s,this._compositionParameters.emission=i.attachment,h.bindTechnique(t,this.bindParameters,this._compositionParameters),h.screen.draw(),c.attachDepth(r),c.attachColor(i,b),c}const o=this.techniques.get(p,this._blurHorizontalConfiguration),n=this.techniques.get(p,this._blurVerticalConfiguration),h=this.techniques.get(f,this._compositionConfiguration);if(!o.compiled||!n.compiled||!h.compiled)return this.requestRender(1),e;const m=e.getTexture(),l=this.fboCache,{fullWidth:u,fullHeight:g}=this.bindParameters.camera,_=this.renderingContext;let d=i.attachment,w=Math.ceil(u/2),T=Math.ceil(g/2);const C=5;this._blurParameters.blurRadius=this._logicalBlurRadius;for(let a=0;a<C;a++){const t=l.acquire(w,T,"glow horizontal",8);this._blurParameters.emissionsToDownsample=d,this._prepareFBO(t,w,T),_.bindTechnique(o,this.bindParameters,this._blurParameters),_.screen.draw();const e=l.acquire(w,T,"glow vertical",8);this._blurParameters.emissionsToDownsample=t.getTexture(),this._prepareFBO(e,w,T),_.bindTechnique(n,this.bindParameters,this._blurParameters),_.screen.draw(),t.release(),this._glowResults[a]=e,w=Math.ceil(w/2),T=Math.ceil(T/2),d=this._glowResults[a].getTexture(),this._blurParameters.blurRadius*=this._blurScalePerLod}const R=this.bindParameters.camera,q=a(R.eye);this._compositionParameters.atmosphereC=q**2-this._atmosphereRadius**2,this._compositionParameters.color=m,this._compositionParameters.emission=i.attachment,this._compositionParameters.lodTexture0=this._glowResults[0].getTexture(),this._compositionParameters.lodTexture1=this._glowResults[1].getTexture(),this._compositionParameters.lodTexture2=this._glowResults[2].getTexture(),this._compositionParameters.lodTexture3=this._glowResults[3].getTexture(),this._compositionParameters.lodTexture4=this._glowResults[4].getTexture();const x=l.acquire(m.descriptor.width,m.descriptor.height,this.produces);return x.acquireColor(b,8,"emissive glow"),this._prepareFBO(x,u,g,!0),_.bindTechnique(h,this.bindParameters,this._compositionParameters),_.screen.draw(),this._glowResults.forEach(t=>t.release()),x.attachDepth(r),x}getPreset(t){return 0===t?this._scatteringFactors.realistic.presets:this._intensity<=.5?d(this._scatteringFactors.cartographicMin.presets,this._scatteringFactors.cartographicDefault.presets,2*this._intensity):d(this._scatteringFactors.cartographicDefault.presets,this._scatteringFactors.cartographicMax.presets,2*(this._intensity-.5))}_prepareFBO(t,e,i,s=!1){const r=this.renderingContext;r.bindFramebuffer(t.fbo),r.setViewport(0,0,e,i),r.setClearColor(0,0,0,0),r.clear(16384),s&&r.clearBuffer(1,n)}get test(){return{compositionParameters:this._compositionParameters,blurParameters:this._blurParameters,setBlurLodCombination:t=>{this._compositionParameters.dispersionWeight=t},getPresets:this.getPreset(this._mode),setMinDisperse:(t,e)=>{0===this._mode?this._scatteringFactors.realistic.presets[t]=e:(this._scatteringFactors.cartographicMin.presets[t]=e,this._scatteringFactors.cartographicMax.presets[t]=e)},toggleTonemapping:t=>{this._compositionConfiguration.tonemappingEnabled=t,this.requestRender(1)}}}};t([r()],T.prototype,"consumes",void 0),t([r()],T.prototype,"produces",void 0),T=t([o("esri.views.3d.webgl-engine.effects.glow.GlowRenderNode")],T);export{T as GlowRenderNode};
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import{ZEROS as t}from"../../../../core/libs/gl-matrix-2/factories/vec4f64.js";import{isColorOrOLID as r,isDepth as e,is2DGeometryOutput as s,isColor as a}from"../core/shaderLibrary/ShaderOutput.js";import i from"../lib/GLMaterial.js";import{DefaultBufferWriter as o}from"./DefaultBufferWriter.js";import{TriangleMaterial as n}from"./TriangleMaterial.js";import{VisualVariablePassParameters as h}from"./VisualVariablePassParameters.js";import{getLayout as p,ColorMaterialTechnique as u}from"../shaders/ColorMaterialTechnique.js";import{ColorMaterialTechniqueConfiguration as l}from"../shaders/ColorMaterialTechniqueConfiguration.js";import{alphaCutoff as c}from"../../../../webscene/support/AlphaCutoff.js";class f extends n{constructor(t){super(t,g),this._configuration=new l,this.supportsEdges=!0,this.produces=new Map([[2,t=>this._isOpaqueMaterialPass(t)],[3,t=>this._isOpaqueNoSSAODepthPass(t)],[4,t=>r(t)&&this._transparent&&this.parameters.writeDepth],[5,t=>e(t)&&this._transparent&&this.parameters.writeDepth],[9,t=>r(t)&&this._transparent&&!this.parameters.writeDepth],[20,t=>s(t)]])}getConfiguration(t,r){return super.getConfiguration(t,r,this._configuration),this._configuration.cullFace=this.parameters.cullFace,this._configuration.hasVertexColors=this.parameters.hasVertexColors&&!this.parameters.vvColor,this._configuration.hasSlicePlane=this.parameters.hasSlicePlane,this._configuration.transparent=this._transparent,this._configuration.discardInvisibleFragments=this._transparent&&!this._isOpaquePass(t)&&this.parameters.discardInvisibleFragments,this._configuration.polygonOffset=this.parameters.polygonOffset,this._configuration.writeDepth=this.parameters.writeDepth,this._configuration.hasOccludees=r.hasOccludees,this._configuration.enableOffset=r.enableOffset,this._configuration.terrainDepthTest=r.terrainDepthTest&&a(t),this._configuration.cullAboveTerrain=r.cullAboveTerrain,this._configuration.hasVVColor=!!this.parameters.vvColor,this._configuration.draped=this.parameters.draped,this._configuration}get visible(){return this.parameters.color[3]>=c}get _transparent(){return this.parameters.color[3]<1||this.parameters.forceTransparentMode}_isOpaquePass(t){return this._isOpaqueMaterialPass(t)||this._isOpaqueNoSSAODepthPass(t)}_isOpaqueMaterialPass(t){return 8===t||r(t)&&!this._transparent}_isOpaqueNoSSAODepthPass(t){return e(t)&&this.parameters.writeDepth&&!this._transparent}createGLMaterial(t){return new m(t)}createBufferWriter(){return new o(p(this.parameters))}}class m extends i{beginSlot(t){return this.getTechnique(u,t)}}class g extends h{constructor(){super(...arguments),this.color=t,this.forceTransparentMode=!1,this.writeDepth=!0,this.hasVertexColors=!1,this.polygonOffset=!1,this.hasSlicePlane=!1,this.cullFace=0,this.draped=!1,this.discardInvisibleFragments=!1}}export{f as ColorMaterial,g as Parameters};
2
+ import{ZEROS as t}from"../../../../core/libs/gl-matrix-2/factories/vec4f64.js";import{isColorOrOLID as e,isDepth as r,is2DGeometryOutput as s,isColor as i}from"../core/shaderLibrary/ShaderOutput.js";import a from"../lib/GLMaterial.js";import{DefaultBufferWriter as o}from"./DefaultBufferWriter.js";import{TriangleMaterial as n}from"./TriangleMaterial.js";import{VisualVariablePassParameters as h}from"./VisualVariablePassParameters.js";import{getLayout as p,ColorMaterialTechnique as u}from"../shaders/ColorMaterialTechnique.js";import{ColorMaterialTechniqueConfiguration as c}from"../shaders/ColorMaterialTechniqueConfiguration.js";import{alphaCutoff as l}from"../../../../webscene/support/AlphaCutoff.js";class f extends n{constructor(t){super(t,g),this._configuration=new c,this.supportsEdges=!0,this.produces=new Map([[2,t=>this._isOpaqueMaterialPass(t)],[3,t=>this._isOpaqueNoSSAODepthPass(t)],[4,t=>e(t)&&this._transparent&&this.parameters.writeDepth],[5,t=>r(t)&&this._transparent&&this.parameters.writeDepth],[9,t=>e(t)&&this._transparent&&!this.parameters.writeDepth],[20,t=>s(t)]])}getConfiguration(t,e){return super.getConfiguration(t,e,this._configuration),this._configuration.cullFace=this.parameters.cullFace,this._configuration.hasVertexColors=this.parameters.hasVertexColors&&!this.parameters.vvColor,this._configuration.hasSlicePlane=this.parameters.hasSlicePlane,this._configuration.transparent=this._transparent,this._configuration.discardInvisibleFragments=this._transparent&&!this._isOpaquePass(t)&&this.parameters.discardInvisibleFragments,this._configuration.polygonOffset=this.parameters.polygonOffset,this._configuration.writeDepth=this.parameters.writeDepth,this._configuration.hasOccludees=e.hasOccludees,this._configuration.enableOffset=e.enableOffset,this._configuration.terrainDepthTest=e.terrainDepthTest&&i(t),this._configuration.cullAboveTerrain=e.cullAboveTerrain,this._configuration.hasVVColor=!!this.parameters.vvColor,this._configuration.draped=this.parameters.draped,this._configuration.emissionSource=this.hasEmissions?1:0,this._configuration}get visible(){return this.parameters.color[3]>=l}get _transparent(){return this.parameters.color[3]<1||this.parameters.forceTransparentMode}get hasEmissions(){return this.parameters.emissiveStrength>0}_isOpaquePass(t){return i(t)||this._isOpaqueMaterialPass(t)||this._isOpaqueNoSSAODepthPass(t)}_isOpaqueMaterialPass(t){return 8===t||e(t)&&!this._transparent}_isOpaqueNoSSAODepthPass(t){return r(t)&&this.parameters.writeDepth&&!this._transparent}createGLMaterial(t){return new m(t)}createBufferWriter(){return new o(p(this.parameters))}}class m extends a{beginSlot(t){return this.getTechnique(u,t)}}class g extends h{constructor(){super(...arguments),this.color=t,this.forceTransparentMode=!1,this.writeDepth=!0,this.hasVertexColors=!1,this.polygonOffset=!1,this.hasSlicePlane=!1,this.cullFace=0,this.draped=!1,this.discardInvisibleFragments=!1,this.emissiveStrength=0}}export{f as ColorMaterial,g as Parameters};
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import{safeToString as e}from"../../../../core/string.js";import{fromValues as t}from"../../../../core/libs/gl-matrix-2/factories/vec2f32.js";import{fromValues as r}from"../../../../core/libs/gl-matrix-2/factories/vec4f64.js";import{isColor as i}from"../core/shaderLibrary/ShaderOutput.js";import s from"../lib/GLMaterial.js";import{Material as n,MaterialParameters as o}from"../lib/Material.js";import{writePosition as a,writeNormal as l,writeBufferVec3 as c,writeBufferFloat as h}from"./internal/bufferWriterUtils.js";import{LineCalloutTechnique as u,layout as f}from"../shaders/LineCalloutTechnique.js";import{LineCalloutTechniqueConfiguration as p}from"../shaders/LineCalloutTechniqueConfiguration.js";import{alphaCutoff as g}from"../../../../webscene/support/AlphaCutoff.js";class m extends n{constructor(e,t){super(e,S),this.intersectDraped=void 0,this.produces=new Map([[17,e=>i(e)],[18,e=>i(e)]]),this._configuration=new p(t),this._uniqueMaterialIdentifier=d(this.parameters)}passParameters(){return this.parameters}getConfiguration(e,t){return super.getConfiguration(e,t,this._configuration),this._configuration.useVisibilityPixel=this.parameters.useVisibilityPixel,this._configuration.hasVerticalOffset=null!=this.parameters.verticalOffset,this._configuration.hasScreenSizePerspective=null!=this.parameters.screenSizePerspective,this._configuration.hudDepth=18===t.slot,this._configuration.hudDepthAlignStart=!!this.parameters.hudDepthAlignStart,this._configuration.screenCenterOffsetUnitsEnabled="screen"===this.parameters.centerOffsetUnits,this._configuration.hasSlicePlane=this.parameters.hasSlicePlane,this._configuration.terrainDepthTest=t.terrainDepthTest,this._configuration}get visible(){return this.parameters.color[3]>=g||(this.parameters.borderColor?.[3]??0)>=g}intersect(){}createGLMaterial(e){return new b(e)}createBufferWriter(){return new P}validateParameters(e){this._uniqueMaterialIdentifier=d(e)}get uniqueMaterialIdentifier(){return this._uniqueMaterialIdentifier}}function d({renderOccluded:t,isDecoration:r,horizontalScreenOffset:i,color:s,size:n,useVisibilityPixel:o,shaderPolygonOffset:a,hudDepthAlignStart:l,centerOffsetUnits:c,hasSlicePlane:h,screenSizePerspective:u,verticalOffset:f,borderColor:p}){return e`${t}:${r}:${i}:[${s}]:${n}:${o}:${a}:${l}:${c}:${h}:${null!=u}:{${f?.screenLength}:${f?.minWorldLength}:${f?.maxWorldLength}}:[${p}]`}class b extends s{beginSlot(e){return this.getTechnique(u,e)}}class S extends o{constructor(){super(...arguments),this.horizontalScreenOffset=0,this.color=r(0,0,0,1),this.size=1,this.useVisibilityPixel=!1,this.shaderPolygonOffset=1e-5,this.hudDepthAlignStart=!1,this.centerOffsetUnits="world",this.hasSlicePlane=!1}}const O=[t(0,0),t(1,0),t(0,1),t(1,0),t(1,1),t(0,1)];class P{constructor(){this.layout=f}elementCount(e){return 6*e.get("position").indices.length}write(e,t,r,i,s,n){a(r.get("position"),e,s.position,n,6),l(r.get("normal"),t,s.normal,n,6),c(r.get("centerOffset"),s.centerOffset,n,6),h(r.get("groundDistance"),s.groundDistance,n,6);for(let o=0;o<O.length;++o)s.uv0.setVec(n+o,O[o]);return null}}export{m as LineCalloutMaterial,S as Parameters,d as uniqueMaterialIdentifier};
2
+ import{safeToString as e}from"../../../../core/string.js";import{fromValues as t}from"../../../../core/libs/gl-matrix-2/factories/vec4f64.js";import{isColor as i}from"../core/shaderLibrary/ShaderOutput.js";import r from"../lib/GLMaterial.js";import{Material as s,MaterialParameters as n}from"../lib/Material.js";import{writeBufferVec2 as a,writePosition as o,writeNormal as l,writeBufferVec3 as u,writeBufferFloat as c}from"./internal/bufferWriterUtils.js";import{LineCalloutTechnique as h,layout as f,baseLayout as p}from"../shaders/LineCalloutTechnique.js";import{LineCalloutTechniqueConfiguration as g}from"../shaders/LineCalloutTechniqueConfiguration.js";import{alphaCutoff as m}from"../../../../webscene/support/AlphaCutoff.js";class d extends s{constructor(e,t){super(e,O),this.intersectDraped=void 0,this.produces=new Map([[17,e=>i(e)],[18,e=>i(e)]]),this._configuration=new g(t),this._uniqueMaterialIdentifier=b(this.parameters)}passParameters(){return this.parameters}getConfiguration(e,t){return super.getConfiguration(e,t,this._configuration),this._configuration.useVisibilityPixel=this.parameters.useVisibilityPixel,this._configuration.hasVerticalOffset=null!=this.parameters.verticalOffset,this._configuration.hasScreenSizePerspective=null!=this.parameters.screenSizePerspective,this._configuration.hudDepth=18===t.slot,this._configuration.hudDepthAlignStart=!!this.parameters.hudDepthAlignStart,this._configuration.screenCenterOffsetUnitsEnabled="screen"===this.parameters.centerOffsetUnits,this._configuration.hasSlicePlane=this.parameters.hasSlicePlane,this._configuration.terrainDepthTest=t.terrainDepthTest,this._configuration}get visible(){return this.parameters.color[3]>=m||(this.parameters.borderColor?.[3]??0)>=m}intersect(){}createGLMaterial(e){return new S(e)}createBufferWriter(){return new P}validateParameters(e){this._uniqueMaterialIdentifier=b(e)}get uniqueMaterialIdentifier(){return this._uniqueMaterialIdentifier}}function b({renderOccluded:t,isDecoration:i,horizontalScreenOffset:r,color:s,size:n,useVisibilityPixel:a,shaderPolygonOffset:o,hudDepthAlignStart:l,centerOffsetUnits:u,hasSlicePlane:c,screenSizePerspective:h,verticalOffset:f,borderColor:p}){return e`${t}:${i}:${r}:[${s}]:${n}:${a}:${o}:${l}:${u}:${c}:${null!=h}:{${f?.screenLength}:${f?.minWorldLength}:${f?.maxWorldLength}}:[${p}]`}class S extends r{beginSlot(e){return this.getTechnique(h,e)}}class O extends n{constructor(){super(...arguments),this.horizontalScreenOffset=0,this.color=t(0,0,0,1),this.size=1,this.useVisibilityPixel=!1,this.shaderPolygonOffset=1e-5,this.hudDepthAlignStart=!1,this.centerOffsetUnits="world",this.hasSlicePlane=!1}}class P{constructor(){this.layout=f,this.baseInstanceLayout=p}elementCount(e){return e.get("position").indices.length}elementCountBaseInstance(e){return e.get("uv0").indices.length}writeBaseInstance(e,t){const{uv0:i}=t;a(e.get("uv0"),i,0)}write(e,t,i,r,s,n){return o(i.get("position"),e,s.position,n),l(i.get("normal"),t,s.normal,n),u(i.get("centerOffset"),s.centerOffset,n),c(i.get("groundDistance"),s.groundDistance,n),null}}export{d as LineCalloutMaterial,O as Parameters,b as uniqueMaterialIdentifier};
@@ -0,0 +1,2 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
+ import{Attribute as t}from"../lib/Attribute.js";import{GeometryBaseInstance as n}from"../lib/GeometryBaseInstance.js";function e(){return o??=r(),o}function r(){const e=0,r=255,o=new t([e,e,e,r,r,e,r,r],[0,1,2,3],2,!0);return new n([["uv0",o]])}let o=null;export{e as getLineCalloutMaterialBaseInstance};
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import{IDENTITY as e}from"../../../../core/libs/gl-matrix-2/factories/mat4f64.js";import{fromValues as t}from"../../../../core/libs/gl-matrix-2/factories/vec4f64.js";import{BufferViewVec4f as r,BufferViewUint32 as s,BufferViewMat3f as i,BufferViewVec4u8 as o,BufferViewFloat as n}from"../../../../geometry/support/buffer/BufferView.js";import{isHighlightOrOLID as a,isColor as u,isDepth as l,isColorHighlightOrOLID as f}from"../core/shaderLibrary/ShaderOutput.js";import c from"../lib/GLMaterial.js";import{assert as h}from"../lib/Util.js";import{DefaultBufferWriter as p}from"./DefaultBufferWriter.js";import{TriangleMaterial as m}from"./TriangleMaterial.js";import{VisualVariablePassParameters as g}from"./VisualVariablePassParameters.js";import{writeAttributes as d,writeBufferVec4 as b,writeColor as x,writeVVFeatureAttribute as y}from"./internal/bufferWriterUtils.js";import{getLayout as j,getTextureLayout as _}from"../shaders/PatternLayouts.js";import{PatternTechnique as v}from"../shaders/PatternTechnique.js";import{PatternTechniqueConfiguration as C}from"../shaders/PatternTechniqueConfiguration.js";import{alphaCutoff as w}from"../../../../webscene/support/AlphaCutoff.js";class B extends m{constructor(e){super(e,V),this._configuration=new C,this.supportsEdges=!0,this.produces=new Map([[2,e=>a(e)],[4,e=>u(e)],[5,e=>l(e)],[20,e=>this.parameters.draped&&f(e)]])}getConfiguration(e,t){return super.getConfiguration(e,t,this._configuration),this._configuration.cullFace=this.parameters.cullFace,this._configuration.hasVertexColors=this.parameters.hasVertexColors&&!this.parameters.vvColor,this._configuration.hasSlicePlane=this.parameters.hasSlicePlane,this._configuration.polygonOffset=this.parameters.polygonOffset,this._configuration.style=this.parameters.style,this._configuration.draped=this.parameters.draped,this._configuration.enableOffset=t.enableOffset,this._configuration.terrainDepthTest=t.terrainDepthTest&&u(e),this._configuration.cullAboveTerrain=t.cullAboveTerrain,this._configuration.hasVVColor=!!this.parameters.vvColor,this._configuration}get visible(){return this.parameters.color[3]>=w}createGLMaterial(e){return new F(e)}createBufferWriter(){return new T(j(this.parameters),_(this.parameters))}}class F extends c{beginSlot(e){return this.getTechnique(v,e)}}class T extends p{constructor(e,t){super(e),this.textureBufferLayout=t}elementCountTextureBuffer(e){return e.get("boundingRect")?.indices.length??0}write(e,t,i,o,n,a,u){const l=d(i,o,this.layout,e,t,n,a);for(const s of this.layout.fields.keys()){const e=i.get(s),t=e?.indices;if(e&&t)switch(s){case"uvMapSpace":{h(4===e.size);const t=n.getField(s,r);t&&b(e,t,a);break}}}const{textureBufferLayout:f}=this;if(null==f)return l;h(null!=u,"Using a texture layout, but the texture range for this instance was not provided");const c=u.from;h(1===u.numElements,"Provided more than one texture buffer element per polygon");const p=n.getField("textureElementIndex",s);h(null!=p,"Missing component index field");const m=i.get("position")?.indices.length??0;for(let r=0;r<m;++r)p.set(a+r,c);return l}writeTextureBuffer(t,r,s,a,u){const{textureBufferLayout:l}=this;if(null==l)return;const f=a.getField("boundingRect",i),c=s.get("boundingRect");f&&c&&(h(9===c.size),P(c,t??e,f,u));const p=a.getField("color",o),m=s.get("color");p&&m&&(h(3===m.size||4===m.size),x(m,m.size,p,u));const g=a.getField("colorFeatureAttribute",n),d=s.get("colorFeatureAttribute");g&&d&&(h(1===d.size),y(d,g,u))}}function P(e,t,r,s){const{data:i,indices:o}=e,n=t,a=r.typedBuffer,u=r.typedBufferStride,l=o.length;s*=u;for(let f=0;f<l;++f){const e=9*o[f],t=i[e],r=i[e+1],l=i[e+2];a[s]=n[0]*t+n[4]*r+n[8]*l+n[12],a[s+1]=n[1]*t+n[5]*r+n[9]*l+n[13],a[s+2]=n[2]*t+n[6]*r+n[10]*l+n[14];for(let o=3;o<9;++o)a[s+o]=i[e+o];s+=u}}class V extends g{constructor(){super(...arguments),this.color=t(1,1,1,1),this.hasVertexColors=!1,this.polygonOffset=!1,this.hasSlicePlane=!1,this.cullFace=0,this.hasOccludees=!1,this.style=2,this.draped=!0}}export{V as Parameters,B as PatternMaterial};
2
+ import{IDENTITY as e}from"../../../../core/libs/gl-matrix-2/factories/mat4f64.js";import{fromValues as t}from"../../../../core/libs/gl-matrix-2/factories/vec4f64.js";import{BufferViewVec4f as r,BufferViewUint32 as s,BufferViewMat3f as i,BufferViewVec4u8 as o,BufferViewFloat as n}from"../../../../geometry/support/buffer/BufferView.js";import{isHighlightOrOLID as a,isColor as u,isDepth as l,isColorHighlightOrOLID as f}from"../core/shaderLibrary/ShaderOutput.js";import c from"../lib/GLMaterial.js";import{assert as h}from"../lib/Util.js";import{DefaultBufferWriter as p}from"./DefaultBufferWriter.js";import{TriangleMaterial as m}from"./TriangleMaterial.js";import{VisualVariablePassParameters as g}from"./VisualVariablePassParameters.js";import{writeAttributes as d,writeBufferVec4 as b,writeColor as x,writeVVFeatureAttribute as y}from"./internal/bufferWriterUtils.js";import{getLayout as j,getTextureLayout as _}from"../shaders/PatternLayouts.js";import{PatternTechnique as v}from"../shaders/PatternTechnique.js";import{PatternTechniqueConfiguration as C}from"../shaders/PatternTechniqueConfiguration.js";import{alphaCutoff as w}from"../../../../webscene/support/AlphaCutoff.js";class B extends m{constructor(e){super(e,P),this._configuration=new C,this.supportsEdges=!0,this.produces=new Map([[2,e=>a(e)],[4,e=>u(e)],[5,e=>l(e)],[20,e=>this.parameters.draped&&f(e)]])}getConfiguration(e,t){return super.getConfiguration(e,t,this._configuration),this._configuration.cullFace=this.parameters.cullFace,this._configuration.hasVertexColors=this.parameters.hasVertexColors&&!this.parameters.vvColor,this._configuration.hasSlicePlane=this.parameters.hasSlicePlane,this._configuration.polygonOffset=this.parameters.polygonOffset,this._configuration.style=this.parameters.style,this._configuration.draped=this.parameters.draped,this._configuration.enableOffset=t.enableOffset,this._configuration.terrainDepthTest=t.terrainDepthTest&&u(e),this._configuration.cullAboveTerrain=t.cullAboveTerrain,this._configuration.hasVVColor=!!this.parameters.vvColor,this._configuration.emissionSource=this.hasEmissions?1:0,this._configuration}get visible(){return this.parameters.color[3]>=w}get hasEmissions(){return this.parameters.emissiveStrength>0}createGLMaterial(e){return new F(e)}createBufferWriter(){return new S(j(this.parameters),_(this.parameters))}}class F extends c{beginSlot(e){return this.getTechnique(v,e)}}class S extends p{constructor(e,t){super(e),this.textureBufferLayout=t}elementCountTextureBuffer(e){return e.get("boundingRect")?.indices.length??0}write(e,t,i,o,n,a,u){const l=d(i,o,this.layout,e,t,n,a);for(const s of this.layout.fields.keys()){const e=i.get(s),t=e?.indices;if(e&&t)switch(s){case"uvMapSpace":{h(4===e.size);const t=n.getField(s,r);t&&b(e,t,a);break}}}const{textureBufferLayout:f}=this;if(null==f)return l;h(null!=u,"Using a texture layout, but the texture range for this instance was not provided");const c=u.from;h(1===u.numElements,"Provided more than one texture buffer element per polygon");const p=n.getField("textureElementIndex",s);h(null!=p,"Missing component index field");const m=i.get("position")?.indices.length??0;for(let r=0;r<m;++r)p.set(a+r,c);return l}writeTextureBuffer(t,r,s,a,u){const{textureBufferLayout:l}=this;if(null==l)return;const f=a.getField("boundingRect",i),c=s.get("boundingRect");f&&c&&(h(9===c.size),T(c,t??e,f,u));const p=a.getField("color",o),m=s.get("color");p&&m&&(h(3===m.size||4===m.size),x(m,m.size,p,u));const g=a.getField("colorFeatureAttribute",n),d=s.get("colorFeatureAttribute");g&&d&&(h(1===d.size),y(d,g,u))}}function T(e,t,r,s){const{data:i,indices:o}=e,n=t,a=r.typedBuffer,u=r.typedBufferStride,l=o.length;s*=u;for(let f=0;f<l;++f){const e=9*o[f],t=i[e],r=i[e+1],l=i[e+2];a[s]=n[0]*t+n[4]*r+n[8]*l+n[12],a[s+1]=n[1]*t+n[5]*r+n[9]*l+n[13],a[s+2]=n[2]*t+n[6]*r+n[10]*l+n[14];for(let o=3;o<9;++o)a[s+o]=i[e+o];s+=u}}class P extends g{constructor(){super(...arguments),this.color=t(1,1,1,1),this.emissiveStrength=0,this.hasVertexColors=!1,this.polygonOffset=!1,this.hasSlicePlane=!1,this.cullFace=0,this.hasOccludees=!1,this.style=2,this.draped=!0}}export{P as Parameters,B as PatternMaterial};
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import{nextHighestPowerOfTwo as t}from"../../../../../core/mathUtils.js";import{disposeMaybe as e}from"../../../../../core/maybe.js";import{copy as r,invert as o,transpose as s}from"../../../../../core/libs/gl-matrix-2/math/mat4.js";import{create as n}from"../../../../../core/libs/gl-matrix-2/factories/mat4f64.js";import{glLayout as a}from"../../../support/buffer/glUtil.js";import{VertexArrayObject as f}from"../../lib/VertexArrayObject.js";import{getMaxItemCount as i,getMaxByteSize as u}from"../../lib/TextureBackedBuffer/TextureBackedBufferUtils.js";import{TextureBuffer as c}from"../../lib/TextureBackedBuffer/TextureBuffer.js";import{bufferRangePool as m}from"./BufferRange.js";import{DrawCommand as g}from"./DrawCommand.js";import{BaseInstanceData as l}from"./PerBaseInstanceData.js";import{VertexBuffer as h}from"../../../../webgl/VertexBuffer.js";class y{constructor(t,e){this._rctx=e;const r=t.createBufferWriter();this._bufferWriter=r,this._vaoCache=e.getVaoCache(a(r.layout));const o=["geometry"];"textureBufferLayout"in r&&null!=r.textureBufferLayout&&o.push("texture"),this.targetBuffers=o}maxElements(t){if("texture"===t){const t=this._targetLayout("texture");return null==t?0:i(this._rctx,t)}return Math.floor(x/this._targetStrideBytes(t))}_targetStrideBytes(t){return this._targetLayout(t)?.stride??0}_targetLayout(t){return"geometry"===t?this._bufferWriter.layout:"baseInstance"===t?this._bufferWriter.baseInstanceLayout:this._bufferWriter.textureBufferLayout}evaluateBufferAllocation(t,e,r,o){const s=this._targetStrideBytes("geometry"),n=e.reduce((t,{geometry:e})=>t+this.vertexElementCount(e),0),a=r.reduce((t,{geometry:e})=>t+this.vertexElementCount(e),0),f=Math.min((t+n-a)*s,x),i=o.vao?.buffer("geometry"),u=i?.sizeBytes??0;return f>b&&f<u/2?0:f>u?1:2}deleteBuffer(t){if(t.isInstanced)return t.instancedCommandVAOs?.dispose(),t.vao?.buffer("geometry")?.dispose(),t.vao?.disposeVAOOnly(),void(t.vao=null);this._vaoCache.deleteVao(t.vao),t.vaoEndElement=0,t.textureBuffer=e(t.textureBuffer),t.textureEndElement=0}createBaseInstanceData(t){const{_bufferWriter:e}=this;if(null==t||null==e.baseInstanceLayout||null==e.writeBaseInstance||null==e.elementCountBaseInstance)return null;const r=this._targetLayout("baseInstance"),o=e.elementCountBaseInstance(t.attributes),s=o*r.stride,n=new h(this._rctx,a(r));n.setSize(Math.ceil(s));const f=S(s),i=r.createView(f.buffer);e.writeBaseInstance(t.attributes,i),n.setSubData(f,0,0,s);const u=new g;return u.first=0,u.count=o,new l(t,n,u)}_allocateInstanceBuffer(t){const e=this._bufferWriter.layout,r=t*this._targetStrideBytes("geometry"),o=new h(this._rctx,a(e,1));return o.setSize(v(r)),o}_createInstancedVao(t,e){return new f(this._rctx,new Map([["baseInstance",t],["geometry",e]]))}reallocateBuffer(t,e,r){if(this.deleteBuffer(e),null!=t){const o=t.baseInstanceBuffer,s=this._allocateInstanceBuffer(r.geometry);e.vao=this._createInstancedVao(o,s)}else{const t=r.geometry*this._targetStrideBytes("geometry");e.vao=this._vaoCache.newVao(v(t))}const o=this._targetLayout("texture");if(null!=o){const t=v(r.texture*o.stride),s=Math.ceil(t/o.stride);e.textureBuffer=new c(this._rctx,o,s)}e.vaoEndElement=Math.floor((e.vao?.getByteLength("geometry")??0)/this._targetStrideBytes("geometry")),e.textureEndElement=e.textureBuffer?.itemCount??0}elementCount(t,e){const{attributes:r}=t;return"geometry"===e?this._bufferWriter.elementCount(r):"baseInstance"===e?this._bufferWriter.elementCountBaseInstance?.(r)??0:this._bufferWriter.elementCountTextureBuffer?.(r)??0}vertexElementCount(t){return this._bufferWriter.elementCount(t.attributes)}textureElementCount(t){return this._bufferWriter.elementCountTextureBuffer?.(t.attributes)??0}canGrow(t,e){const r=this.targetBuffers.map(r=>this._evaluateTargetBufferGrowth(r,t,e));return r.every(({canGrow:t})=>t)&&r.some(({needsToGrow:t})=>t)}_evaluateTargetBufferGrowth(t,e,r){const o=this._targetLayout(t),s=e.getTargetBuffer(t);if(null==o||null==s)return{needsToGrow:null!=o,canGrow:!0};return{needsToGrow:r[t]*o.stride>s.sizeBytes,canGrow:"geometry"===t?s.sizeBytes<v(x-b):s.sizeBytes<u(this._rctx,o)}}clearHoles(t,e){for(const r of this.targetBuffers){const o=this._targetStrideBytes(r),s=t[r],n=s.reduce((t,e)=>Math.max(t,e.numElements),0)*o,a=S(n);a.fill(0,0,n);for(const t of s)this._setTargetSubData(r,e,o,t,a)}}clearHolesMetal(t,e,r){const{targetBuffers:o}=this,s={};let n=0;for(const i of o){const t=e[i].numElements*this._targetStrideBytes(i);s[i]=n,n+=t}const a=S(n);a.fill(0,0,n);const f={};for(const i of o)f[i]=this._targetLayout(i)?.createView(a.buffer,s[i]);for(const i of t){const t=i.targetRanges.geometry;if(!(t.from>=e.geometry.from&&t.to<=e.geometry.to))continue;const r={};for(const s of o)r[s]=i.targetRanges[s].from-e[s].from;this._writeGeometry(i.geometry,f,r,i.targetRanges)}for(const i of o)this._setTargetSubData(i,r,this._targetStrideBytes(i),e[i],a,s[i])}writeRandomInstances(t,e,r){const{targetBuffers:o}=this,s={},n={},a={},f={};let i=0;for(const g of o)s[g]=t[g]*this._targetStrideBytes(g),n[g]=i,a[g]=0,f[g]=m.acquire(0,0),i+=s[g];const u=S(i),c={};for(const m of o)c[m]=this._targetLayout(m)?.createView(u.buffer,n[m]);for(const m of e){for(const t of o){const e=m.targetRanges[t],o=f[t];o.to===e.from||(o.numElements>0&&this._setTargetSubData(t,r,this._targetStrideBytes(t),f[t],u,n[t]),o.from=e.from,a[t]=0)}this._writeGeometry(m.geometry,c,a,m.targetRanges);for(const t of o){const e=m.targetRanges[t];a[t]+=e.numElements,f[t].to=e.to}}for(const g of o){const t=f[g];t.numElements>0&&this._setTargetSubData(g,r,this._targetStrideBytes(g),t,u,n[g]),m.release(f[g])}}writeInstanceRangeMetal(t,e,r){const{targetBuffers:o}=this,s={},n={};let a=0;for(const u of o)s[u]=t[u].numElements*this._targetStrideBytes(u),n[u]=a,a+=s[u];const f=S(a),i={};for(const u of o)i[u]=this._targetLayout(u)?.createView(f.buffer,n[u]);f.fill(0,0,a);for(const u of e){const e=u.targetRanges.geometry;if(!(e.from>=t.geometry.from&&e.to<=t.geometry.to))continue;const r={},s={};for(const n of o){const e=u.targetRanges[n];r[n]=e.from-t[n].from,s[n]=e}this._writeGeometry(u.geometry,i,r,s)}for(const u of o)t[u].numElements>0&&this._setTargetSubData(u,r,this._targetStrideBytes(u),t[u],f,n[u])}rebuildInstances(t,e,r){const{targetBuffers:o}=this,s={},n={},a={};let f=0;for(const c of o)s[c]=t[c]*this._targetStrideBytes(c),n[c]=f,f+=s[c],a[c]=0;const i=S(f),u={};for(const c of o)u[c]=this._targetLayout(c)?.createView(i.buffer,n[c]);for(const c of e){const t={},e={};for(const r of o){t[r]=a[r],a[r]+=this.elementCount(c.geometry.geometry,r);const o=c.targetRanges[r];o.from=t[r],o.to=a[r],e[r]=o}this._writeGeometry(c.geometry,u,t,e)}for(const c of o){const t=m.acquire(0,a[c]);this._setTargetSubData(c,r,this._targetStrideBytes(c),t,i,n[c]),m.release(t)}return a}updateInstance(t,e){const{targetBuffers:r}=this,o={},s={};let n=0;for(const u of r){const e=this._targetStrideBytes(u);o[u]=this.elementCount(t.geometry.geometry,u)*e,s[u]=n,n+=o[u]}const a=S(n),f={},i={};for(const u of r)i[u]=0,f[u]=this._targetLayout(u)?.createView(a.buffer,s[u]);this._writeGeometry(t.geometry,f,i,t.targetRanges);for(const u of r)this._setTargetSubData(u,e,this._targetStrideBytes(u),t.targetRanges[u],a,s[u])}updateInstancesMetal(t){const{targetBuffers:e}=this;for(const[r,o]of t){const t={};for(const r of e)t[r]=m.acquire(1/0,-1/0);for(const r of o)for(const o of e){const e=t[o],s=r.targetRanges[o];e.from=Math.min(e.from,s.from),e.to=Math.max(e.to,s.to)}this.writeInstanceRangeMetal(t,r.instances.values(),r);for(const r of e)m.release(t[r])}}_writeGeometry(t,e,n,a){const{_bufferWriter:f}=this;null!=f&&(r(B,t.transformation),B[12]-=t.localOrigin.vec3[0],B[13]-=t.localOrigin.vec3[1],B[14]-=t.localOrigin.vec3[2],o(_,B),s(_,_),f.write(B,_,t.geometry.attributes,t.geometry.olidColor,e.geometry,n.geometry,a.texture),null!=e.texture&&f.writeTextureBuffer&&f.writeTextureBuffer(B,_,t.geometry.attributes,e.texture,n.texture))}_setTargetSubData(t,e,r,o,s,n=0){if("geometry"===t){const a=e.getTargetBuffer(t);a?.setSubData(s,o.from*r,n,o.numElements*r)}else if("texture"===t){const r=e.getTargetBuffer(t);r?.setSubData(s.buffer,o.from,n,o.numElements)}}static prune(){w=new Uint8Array(b)}}const B=n(),_=n(),b=262144,d=1024,x=16777216;let w=new Uint8Array(b);function S(t){return w.byteLength<t&&(w=new Uint8Array(t)),w}function v(e){return e<=d?d:e<b?t(e):Math.max(Math.min(Math.ceil(1.5*e/b)*b,x),e)}export{y as VaoWriter};
2
+ import{nextHighestPowerOfTwo as t}from"../../../../../core/mathUtils.js";import{disposeMaybe as e}from"../../../../../core/maybe.js";import{copy as r,invert as o,transpose as s}from"../../../../../core/libs/gl-matrix-2/math/mat4.js";import{create as n}from"../../../../../core/libs/gl-matrix-2/factories/mat4f64.js";import{glLayout as a}from"../../../support/buffer/glUtil.js";import{VertexArrayObject as f}from"../../lib/VertexArrayObject.js";import{getMaxItemCount as i,getMaxByteSize as u}from"../../lib/TextureBackedBuffer/TextureBackedBufferUtils.js";import{TextureBuffer as c}from"../../lib/TextureBackedBuffer/TextureBuffer.js";import{bufferRangePool as m}from"./BufferRange.js";import{DrawCommand as l}from"./DrawCommand.js";import{BaseInstanceData as g}from"./PerBaseInstanceData.js";import{VertexBuffer as h}from"../../../../webgl/VertexBuffer.js";class y{constructor(t,e){this._rctx=e;const r=t.createBufferWriter();this._bufferWriter=r,this._vaoCache=e.getVaoCache(a(r.layout));const o=["geometry"];"textureBufferLayout"in r&&null!=r.textureBufferLayout&&o.push("texture"),this.targetBuffers=o}maxElements(t){if("texture"===t){const t=this._targetLayout("texture");return null==t?0:i(this._rctx,t)}return Math.floor(x/this._targetStrideBytes(t))}_targetStrideBytes(t){return this._targetLayout(t)?.stride??0}_targetLayout(t){return"geometry"===t?this._bufferWriter.layout:"baseInstance"===t?this._bufferWriter.baseInstanceLayout:this._bufferWriter.textureBufferLayout}evaluateBufferAllocation(t,e,r,o){const s=this._targetStrideBytes("geometry"),n=e.reduce((t,{geometry:e})=>t+this.vertexElementCount(e),0),a=r.reduce((t,{geometry:e})=>t+this.vertexElementCount(e),0),f=Math.min((t+n-a)*s,x),i=o.vao?.buffer("geometry"),u=i?.sizeBytes??0;return f>b&&f<u/2?0:f>u?1:2}deleteBuffer(t){if(t.isInstanced)return t.instancedCommandVAOs?.dispose(),t.vao?.buffer("geometry")?.dispose(),t.vao?.disposeVAOOnly(),void(t.vao=null);this._vaoCache.deleteVao(t.vao),t.vaoEndElement=0,t.textureBuffer=e(t.textureBuffer),t.textureEndElement=0}createBaseInstanceData(t){const{_bufferWriter:e}=this;if(null==t||null==e.baseInstanceLayout||null==e.writeBaseInstance||null==e.elementCountBaseInstance)return null;const r=this._targetLayout("baseInstance"),o=e.elementCountBaseInstance(t.attributes),s=o*r.stride,n=new h(this._rctx,a(r));n.setSize(Math.ceil(s));const f=S(s),i=r.createView(f.buffer);e.writeBaseInstance(t.attributes,i),n.setSubData(f,0,0,s);const u=new l;return u.first=0,u.count=o,new g(t,n,u)}_allocateInstanceBuffer(t){const e=this._bufferWriter.layout,r=t*this._targetStrideBytes("geometry"),o=new h(this._rctx,a(e,1));return o.setSize(I(r)),o}_createInstancedVao(t,e){return new f(this._rctx,new Map([["baseInstance",t],["geometry",e]]))}reallocateBuffer(t,e,r){if(this.deleteBuffer(e),null!=t){const o=t.baseInstanceBuffer,s=this._allocateInstanceBuffer(r.geometry);e.vao=this._createInstancedVao(o,s)}else{const t=r.geometry*this._targetStrideBytes("geometry");e.vao=this._vaoCache.newVao(I(t))}const o=this._targetLayout("texture");if(null!=o){const t=I(r.texture*o.stride),s=Math.ceil(t/o.stride);e.textureBuffer=new c(this._rctx,o,s)}e.vaoEndElement=Math.floor((e.vao?.getByteLength("geometry")??0)/this._targetStrideBytes("geometry")),e.textureEndElement=e.textureBuffer?.itemCount??0}elementCount(t,e){const{attributes:r}=t;return"geometry"===e?this._bufferWriter.elementCount(r):"baseInstance"===e?this._bufferWriter.elementCountBaseInstance?.(r)??0:this._bufferWriter.elementCountTextureBuffer?.(r)??0}vertexElementCount(t){return this._bufferWriter.elementCount(t.attributes)}textureElementCount(t){return this._bufferWriter.elementCountTextureBuffer?.(t.attributes)??0}canGrow(t,e){const r=this.targetBuffers.map(r=>this._evaluateTargetBufferGrowth(r,t,e));return r.every(({canGrow:t})=>t)&&r.some(({needsToGrow:t})=>t)}_evaluateTargetBufferGrowth(t,e,r){const o=this._targetLayout(t),s=e.getTargetBuffer(t);if(null==o||null==s)return{needsToGrow:null!=o,canGrow:!0};return{needsToGrow:r[t]*o.stride>s.sizeBytes,canGrow:"geometry"===t?s.sizeBytes<I(x-b):s.sizeBytes<u(this._rctx,o)}}clearHoles(t,e){for(const r of this.targetBuffers){const o=this._targetStrideBytes(r),s=t[r],n=s.reduce((t,e)=>Math.max(t,e.numElements),0)*o,a=S(n);a.fill(0,0,n);for(const t of s)this._setTargetSubData(r,e,o,t,a)}}clearHolesMetal(t,e,r){const{targetBuffers:o}=this,s={};let n=0;for(const i of o){const t=e[i].numElements*this._targetStrideBytes(i);s[i]=n,n+=v(t)}const a=S(n);a.fill(0,0,n);const f={};for(const i of o)f[i]=this._targetLayout(i)?.createView(a.buffer,s[i]);for(const i of t){const t=i.targetRanges.geometry;if(!(t.from>=e.geometry.from&&t.to<=e.geometry.to))continue;const r={};for(const s of o)r[s]=i.targetRanges[s].from-e[s].from;this._writeGeometry(i.geometry,f,r,i.targetRanges)}for(const i of o)this._setTargetSubData(i,r,this._targetStrideBytes(i),e[i],a,s[i])}writeRandomInstances(t,e,r){const{targetBuffers:o}=this,s={},n={},a={},f={};let i=0;for(const l of o)s[l]=t[l]*this._targetStrideBytes(l),n[l]=i,a[l]=0,f[l]=m.acquire(0,0),i+=v(s[l]);const u=S(i),c={};for(const m of o)c[m]=this._targetLayout(m)?.createView(u.buffer,n[m]);for(const m of e){for(const t of o){const e=m.targetRanges[t],o=f[t];o.to===e.from||(o.numElements>0&&this._setTargetSubData(t,r,this._targetStrideBytes(t),f[t],u,n[t]),o.from=e.from,a[t]=0)}this._writeGeometry(m.geometry,c,a,m.targetRanges);for(const t of o){const e=m.targetRanges[t];a[t]+=e.numElements,f[t].to=e.to}}for(const l of o){const t=f[l];t.numElements>0&&this._setTargetSubData(l,r,this._targetStrideBytes(l),t,u,n[l]),m.release(f[l])}}writeInstanceRangeMetal(t,e,r){const{targetBuffers:o}=this,s={},n={};let a=0;for(const u of o)s[u]=t[u].numElements*this._targetStrideBytes(u),n[u]=a,a+=v(s[u]);const f=S(a),i={};for(const u of o)i[u]=this._targetLayout(u)?.createView(f.buffer,n[u]);f.fill(0,0,a);for(const u of e){const e=u.targetRanges.geometry;if(!(e.from>=t.geometry.from&&e.to<=t.geometry.to))continue;const r={},s={};for(const n of o){const e=u.targetRanges[n];r[n]=e.from-t[n].from,s[n]=e}this._writeGeometry(u.geometry,i,r,s)}for(const u of o)t[u].numElements>0&&this._setTargetSubData(u,r,this._targetStrideBytes(u),t[u],f,n[u])}rebuildInstances(t,e,r){const{targetBuffers:o}=this,s={},n={},a={};let f=0;for(const c of o)s[c]=t[c]*this._targetStrideBytes(c),n[c]=f,f+=v(s[c]),a[c]=0;const i=S(f),u={};for(const c of o)u[c]=this._targetLayout(c)?.createView(i.buffer,n[c]);for(const c of e){const t={},e={};for(const r of o){t[r]=a[r],a[r]+=this.elementCount(c.geometry.geometry,r);const o=c.targetRanges[r];o.from=t[r],o.to=a[r],e[r]=o}this._writeGeometry(c.geometry,u,t,e)}for(const c of o){const t=m.acquire(0,a[c]);this._setTargetSubData(c,r,this._targetStrideBytes(c),t,i,n[c]),m.release(t)}return a}updateInstance(t,e){const{targetBuffers:r}=this,o={},s={};let n=0;for(const u of r){const e=this._targetStrideBytes(u);o[u]=this.elementCount(t.geometry.geometry,u)*e,s[u]=n,n+=v(o[u])}const a=S(n),f={},i={};for(const u of r)i[u]=0,f[u]=this._targetLayout(u)?.createView(a.buffer,s[u]);this._writeGeometry(t.geometry,f,i,t.targetRanges);for(const u of r)this._setTargetSubData(u,e,this._targetStrideBytes(u),t.targetRanges[u],a,s[u])}updateInstancesMetal(t){const{targetBuffers:e}=this;for(const[r,o]of t){const t={};for(const r of e)t[r]=m.acquire(1/0,-1/0);for(const r of o)for(const o of e){const e=t[o],s=r.targetRanges[o];e.from=Math.min(e.from,s.from),e.to=Math.max(e.to,s.to)}this.writeInstanceRangeMetal(t,r.instances.values(),r);for(const r of e)m.release(t[r])}}_writeGeometry(t,e,n,a){const{_bufferWriter:f}=this;null!=f&&(r(B,t.transformation),B[12]-=t.localOrigin.vec3[0],B[13]-=t.localOrigin.vec3[1],B[14]-=t.localOrigin.vec3[2],o(_,B),s(_,_),f.write(B,_,t.geometry.attributes,t.geometry.olidColor,e.geometry,n.geometry,a.texture),null!=e.texture&&f.writeTextureBuffer&&f.writeTextureBuffer(B,_,t.geometry.attributes,e.texture,n.texture))}_setTargetSubData(t,e,r,o,s,n=0){if("geometry"===t){const a=e.getTargetBuffer(t);a?.setSubData(s,o.from*r,n,o.numElements*r)}else if("texture"===t){const r=e.getTargetBuffer(t);r?.setSubData(s.buffer,o.from,n,o.numElements)}}static prune(){w=new Uint8Array(b)}}const B=n(),_=n(),b=262144,d=1024,x=16777216;let w=new Uint8Array(b);function S(t){return w.byteLength<t&&(w=new Uint8Array(t)),w}function v(t){return 4*Math.ceil(t/4)}function I(e){return e<=d?d:e<b?t(e):Math.max(Math.min(Math.ceil(1.5*e/b)*b,x),e)}export{y as VaoWriter};
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import{__decorate as t}from"tslib";import{parameter as e}from"../core/shaderTechnique/ShaderTechniqueConfiguration.js";import{DefaultTechniqueConfiguration as o}from"../materials/DefaultTechniqueConfiguration.js";class s extends o{constructor(){super(...arguments),this.cullFace=0,this.hasVertexColors=!1,this.transparent=!1,this.discardInvisibleFragments=!1,this.polygonOffset=!1,this.enableOffset=!0,this.writeDepth=!0,this.hasOccludees=!1,this.terrainDepthTest=!1,this.cullAboveTerrain=!1,this.hasVVColor=!1,this.draped=!1,this.textureCoordinateType=0,this.emissionSource=0,this.occlusionPass=!1,this.olidColorInstanced=!1,this.hasVVInstancing=!1,this.hasVVSize=!1,this.hasVVOpacity=!1,this.snowCover=!1}}t([e({count:3})],s.prototype,"cullFace",void 0),t([e()],s.prototype,"hasVertexColors",void 0),t([e()],s.prototype,"transparent",void 0),t([e()],s.prototype,"discardInvisibleFragments",void 0),t([e()],s.prototype,"polygonOffset",void 0),t([e()],s.prototype,"enableOffset",void 0),t([e()],s.prototype,"writeDepth",void 0),t([e()],s.prototype,"hasOccludees",void 0),t([e()],s.prototype,"terrainDepthTest",void 0),t([e()],s.prototype,"cullAboveTerrain",void 0),t([e()],s.prototype,"hasVVColor",void 0),t([e()],s.prototype,"draped",void 0);export{s as ColorMaterialTechniqueConfiguration};
2
+ import{__decorate as t}from"tslib";import{parameter as o}from"../core/shaderTechnique/ShaderTechniqueConfiguration.js";import{DefaultTechniqueConfiguration as e}from"../materials/DefaultTechniqueConfiguration.js";class i extends e{constructor(){super(...arguments),this.cullFace=0,this.emissionSource=0,this.hasVertexColors=!1,this.transparent=!1,this.discardInvisibleFragments=!1,this.polygonOffset=!1,this.enableOffset=!0,this.writeDepth=!0,this.hasOccludees=!1,this.terrainDepthTest=!1,this.cullAboveTerrain=!1,this.hasVVColor=!1,this.draped=!1,this.textureCoordinateType=0,this.occlusionPass=!1,this.olidColorInstanced=!1,this.hasVVInstancing=!1,this.hasVVSize=!1,this.hasVVOpacity=!1,this.snowCover=!1}}t([o({count:3})],i.prototype,"cullFace",void 0),t([o({count:8})],i.prototype,"emissionSource",void 0),t([o()],i.prototype,"hasVertexColors",void 0),t([o()],i.prototype,"transparent",void 0),t([o()],i.prototype,"discardInvisibleFragments",void 0),t([o()],i.prototype,"polygonOffset",void 0),t([o()],i.prototype,"enableOffset",void 0),t([o()],i.prototype,"writeDepth",void 0),t([o()],i.prototype,"hasOccludees",void 0),t([o()],i.prototype,"terrainDepthTest",void 0),t([o()],i.prototype,"cullAboveTerrain",void 0),t([o()],i.prototype,"hasVVColor",void 0),t([o()],i.prototype,"draped",void 0);export{i as ColorMaterialTechniqueConfiguration};
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import{__decorate as e}from"tslib";import{subclass as r}from"../../../../core/accessorSupport/decorators.js";import{glLayout as t}from"../../support/buffer/glUtil.js";import{newLayout as s}from"../../support/buffer/InterleavedLayout.js";import{ReloadableShader as o}from"../core/shaderTechnique/ReloadableShader.js";import{ShaderTechnique as i}from"../core/shaderTechnique/ShaderTechnique.js";import{drawBuffers as n,depthWrite as p,depthTest as a,blending as l}from"../lib/OrderIndependentTransparency.js";import{L as c}from"../../../../chunks/LineCallout.glsl.js";import{makePipelineState as d,defaultDepthWrite as f,defaultColorWrite as u}from"../../../webgl/renderState.js";let m=class extends i{constructor(e,r){super(e,r,t(h)),this.shader=new o(c,()=>import("./LineCallout.glsl.js"))}initializePipeline(e){const{hudDepth:r,terrainDepthTest:t,oitPass:s,hasEmission:o}=e,i=t?519:513;return d(r?{depthTest:{func:i},depthWrite:f}:{blending:l(s,!0),depthTest:a(s,i),colorWrite:u,depthWrite:p(e),drawBuffers:n(s,o)})}};m=e([r("esri.views.3d.webgl-engine.shaders.LineCalloutTechnique")],m);const h=s().vec3f("position").vec3f("normal").vec2f16("uv0").vec3f("centerOffset").f32("groundDistance");export{m as LineCalloutTechnique,h as layout};
2
+ import{__decorate as e}from"tslib";import{subclass as r}from"../../../../core/accessorSupport/decorators.js";import{glLayout as t}from"../../support/buffer/glUtil.js";import{newLayout as o}from"../../support/buffer/InterleavedLayout.js";import{ReloadableShader as s}from"../core/shaderTechnique/ReloadableShader.js";import{ShaderTechnique as i}from"../core/shaderTechnique/ShaderTechnique.js";import{drawBuffers as n,depthWrite as p,depthTest as a,blending as l}from"../lib/OrderIndependentTransparency.js";import{L as c}from"../../../../chunks/LineCallout.glsl.js";import{PrimitiveType as m}from"../../../webgl/enums.js";import{makePipelineState as d,defaultDepthWrite as u,defaultColorWrite as f}from"../../../webgl/renderState.js";let h=class extends i{constructor(e,r){super(e,r,t(T).concat(t(g))),this.shader=new s(c,()=>import("./LineCallout.glsl.js")),this.primitiveType=m.TRIANGLE_STRIP}initializePipeline(e){const{hudDepth:r,terrainDepthTest:t,oitPass:o,hasEmission:s}=e,i=t?519:513;return d(r?{depthTest:{func:i},depthWrite:u}:{blending:l(o,!0),depthTest:a(o,i),colorWrite:f,depthWrite:p(e),drawBuffers:n(o,s)})}};h=e([r("esri.views.3d.webgl-engine.shaders.LineCalloutTechnique")],h);const T=o().vec2u8("uv0",{glNormalized:!0}),g=o().vec3f("position").vec3f("normal").vec3f("centerOffset").f32("groundDistance");export{h as LineCalloutTechnique,T as baseLayout,g as layout};
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import{__decorate as t}from"tslib";import{parameter as e}from"../core/shaderTechnique/ShaderTechniqueConfiguration.js";import{DefaultTechniqueConfiguration as o}from"../materials/DefaultTechniqueConfiguration.js";class s extends o{constructor(){super(...arguments),this.cullFace=0,this.style=0,this.hasVertexColors=!1,this.polygonOffset=!1,this.hasOccludees=!1,this.enableOffset=!0,this.terrainDepthTest=!1,this.cullAboveTerrain=!1,this.hasVVColor=!1,this.draped=!1,this.textureCoordinateType=0,this.emissionSource=0,this.discardInvisibleFragments=!0,this.writeDepth=!0,this.occlusionPass=!1,this.hasVVInstancing=!1,this.hasVVSize=!1,this.hasVVOpacity=!1,this.overlayEnabled=!1,this.snowCover=!1}}function i(t,e,o,s){return t.draped?null:t.hasVVColor?s:t.hasVertexColors?o:e}t([e({count:3})],s.prototype,"cullFace",void 0),t([e({count:6})],s.prototype,"style",void 0),t([e()],s.prototype,"hasVertexColors",void 0),t([e()],s.prototype,"polygonOffset",void 0),t([e()],s.prototype,"hasOccludees",void 0),t([e()],s.prototype,"enableOffset",void 0),t([e()],s.prototype,"terrainDepthTest",void 0),t([e()],s.prototype,"cullAboveTerrain",void 0),t([e()],s.prototype,"hasVVColor",void 0),t([e()],s.prototype,"draped",void 0);export{s as PatternTechniqueConfiguration,i as selectByPatternConfiguration};
2
+ import{__decorate as t}from"tslib";import{parameter as o}from"../core/shaderTechnique/ShaderTechniqueConfiguration.js";import{DefaultTechniqueConfiguration as e}from"../materials/DefaultTechniqueConfiguration.js";class s extends e{constructor(){super(...arguments),this.cullFace=0,this.style=0,this.emissionSource=0,this.hasVertexColors=!1,this.polygonOffset=!1,this.hasOccludees=!1,this.enableOffset=!0,this.terrainDepthTest=!1,this.cullAboveTerrain=!1,this.hasVVColor=!1,this.draped=!1,this.textureCoordinateType=0,this.discardInvisibleFragments=!0,this.writeDepth=!0,this.occlusionPass=!1,this.hasVVInstancing=!1,this.hasVVSize=!1,this.hasVVOpacity=!1,this.overlayEnabled=!1,this.snowCover=!1}}function i(t,o,e,s){return t.draped?null:t.hasVVColor?s:t.hasVertexColors?e:o}t([o({count:3})],s.prototype,"cullFace",void 0),t([o({count:6})],s.prototype,"style",void 0),t([o({count:8})],s.prototype,"emissionSource",void 0),t([o()],s.prototype,"hasVertexColors",void 0),t([o()],s.prototype,"polygonOffset",void 0),t([o()],s.prototype,"hasOccludees",void 0),t([o()],s.prototype,"enableOffset",void 0),t([o()],s.prototype,"terrainDepthTest",void 0),t([o()],s.prototype,"cullAboveTerrain",void 0),t([o()],s.prototype,"hasVVColor",void 0),t([o()],s.prototype,"draped",void 0);export{s as PatternTechniqueConfiguration,i as selectByPatternConfiguration};
@@ -161,7 +161,7 @@ export function fromRenderCoordinates<T1 extends ArrayLike<number>, T2 extends A
161
161
  * * Y: Northing
162
162
  * * Z: Elevation
163
163
  *
164
- * ![externalRenderers-renderCoordinateTransformAt](https://developers.arcgis.com/javascript/latest/assets/img/apiref/views/3d/externalRenderers-renderCoordinateTransformAt.png)
164
+ * ![externalRenderers-renderCoordinateTransformAt](https://developers.arcgis.com/javascript/latest/assets/images/apiref/views/3d/externalRenderers-renderCoordinateTransformAt.png)
165
165
  *
166
166
  * When [view.viewingMode](https://developers.arcgis.com/javascript/latest/references/core/views/SceneView/#viewingMode) is `global`, a linear
167
167
  * transformation does not take the curvature of the globe or other non-linear projection aspects into account. Thus,
@@ -91,7 +91,7 @@ export default class LinkChartView extends View2D {
91
91
  * @param screenPoint - The screen coordinates (or native mouse event) of the click on the view.
92
92
  * @param options - Options to specify what is included in or excluded from the hitTest. Supported since 4.16.
93
93
  * @returns When resolved, returns an array of objects containing different [result types](https://developers.arcgis.com/javascript/latest/references/core/views/types/#ViewHit).
94
- * @see [Sample: Access features with pointer events](https://developers.arcgis.com/javascript/latest/sample-code/view-hittest/)
94
+ * @see [Sample: Access features with hitTest](https://developers.arcgis.com/javascript/latest/sample-code/map-component-hittest/)
95
95
  */
96
96
  hitTest(screenPoint: ScreenPoint | MouseEvent, options?: HitTestOptions): Promise<ViewHitTestResult>;
97
97
  }
@@ -8,19 +8,19 @@ export interface MagnifierProperties extends Partial<Pick<Magnifier, "factor" |
8
8
  * as a magnified image. An instance of this class can be accessed through
9
9
  * either [MapView.magnifier](https://developers.arcgis.com/javascript/latest/references/core/views/MapView/#magnifier) or [SceneView.magnifier](https://developers.arcgis.com/javascript/latest/references/core/views/SceneView/#magnifier).
10
10
  *
11
- * ![magnifier-overlay](https://developers.arcgis.com/javascript/latest/assets/img/apiref/views/magnifier/magnifier-overlay.png)
11
+ * ![magnifier-overlay](https://developers.arcgis.com/javascript/latest/assets/images/apiref/views/magnifier/magnifier-overlay.png)
12
12
  *
13
13
  * As you can see in the screenshot above, the Magnifier utilizes a default overlay image of a magnifier
14
14
  * glass. The overlay image is set using the [overlayUrl](https://developers.arcgis.com/javascript/latest/references/core/views/Magnifier/#overlayUrl) property. You can disable the overlay image by setting the [overlayEnabled](https://developers.arcgis.com/javascript/latest/references/core/views/Magnifier/#overlayEnabled) to `false`. The following
15
15
  * demonstrates using a Magnifier without an overlay image.
16
16
  *
17
- * ![magnifier-no-overlay](https://developers.arcgis.com/javascript/latest/assets/img/apiref/views/magnifier/magnifier-no-overlay.png)
17
+ * ![magnifier-no-overlay](https://developers.arcgis.com/javascript/latest/assets/images/apiref/views/magnifier/magnifier-no-overlay.png)
18
18
  *
19
19
  * The Magnifier contains a default mask image, which is set using the [maskUrl](https://developers.arcgis.com/javascript/latest/references/core/views/Magnifier/#maskUrl), and determines the visible area of the magnified image. Be default, the magnified area
20
20
  * is in the shape of a circle. The following demonstrates an example of a mask image set in the shape of a square. Note that the `overlayEnabled` was set
21
21
  * to `false` in this example as well to hide the overlay image, and only display the magnified area.
22
22
  *
23
- * ![magnifier-maskUrl](https://developers.arcgis.com/javascript/latest/assets/img/apiref/views/magnifier/magnifier-maskUrl.png)
23
+ * ![magnifier-maskUrl](https://developers.arcgis.com/javascript/latest/assets/images/apiref/views/magnifier/magnifier-maskUrl.png)
24
24
  *
25
25
  * @since 4.19
26
26
  * @see [MapView.magnifier](https://developers.arcgis.com/javascript/latest/references/core/views/MapView/#magnifier)
@@ -247,7 +247,7 @@ export interface MapViewProperties extends View2DProperties {}
247
247
  * is set to `true` (default). To enable zooming in MapView, `view.constraints.snapToZoom` must be set to `false` (default is `true`).
248
248
  * Please see [GamepadInputDevice](https://developers.arcgis.com/javascript/latest/references/core/views/input/gamepad/GamepadInputDevice/) for supported devices.
249
249
  *
250
- * ![Gamepad](https://developers.arcgis.com/javascript/latest/assets/img/apiref/views/input/standard-gamepad.png)
250
+ * ![Gamepad](https://developers.arcgis.com/javascript/latest/assets/images/apiref/views/input/standard-gamepad.png)
251
251
  *
252
252
  * Gamepad Action | MapView behavior
253
253
  * ------|------------
@@ -258,11 +258,11 @@ export interface MapViewProperties extends View2DProperties {}
258
258
  *
259
259
  * Action Image | SpaceMouse Action | MapView behavior
260
260
  * ------|------|------------
261
- * ![3DMousePan](https://developers.arcgis.com/javascript/latest/assets/img/apiref/views/input/3dmouse-pan.png) | Push (left/right/forward/backward) | Pan the view
262
- * ![3DMousePan](https://developers.arcgis.com/javascript/latest/assets/img/apiref/views/input/pull-up.png) | Pull up | Zoom out
263
- * ![3DMousePan](https://developers.arcgis.com/javascript/latest/assets/img/apiref/views/input/push-down.png) | Push down | Zoom in
264
- * ![3DMousePan](https://developers.arcgis.com/javascript/latest/assets/img/apiref/views/input/rotate-clockwise.png) | Rotate clockwise | Rotate the view clockwise
265
- * ![3DMousePan](https://developers.arcgis.com/javascript/latest/assets/img/apiref/views/input/rotate-counterclockwise.png) | Rotate counterclockwise | Rotate the view counterclockwise
261
+ * ![3DMousePan](https://developers.arcgis.com/javascript/latest/assets/images/apiref/views/input/3dmouse-pan.png) | Push (left/right/forward/backward) | Pan the view
262
+ * ![3DMousePan](https://developers.arcgis.com/javascript/latest/assets/images/apiref/views/input/pull-up.png) | Pull up | Zoom out
263
+ * ![3DMousePan](https://developers.arcgis.com/javascript/latest/assets/images/apiref/views/input/push-down.png) | Push down | Zoom in
264
+ * ![3DMousePan](https://developers.arcgis.com/javascript/latest/assets/images/apiref/views/input/rotate-clockwise.png) | Rotate clockwise | Rotate the view clockwise
265
+ * ![3DMousePan](https://developers.arcgis.com/javascript/latest/assets/images/apiref/views/input/rotate-counterclockwise.png) | Rotate counterclockwise | Rotate the view counterclockwise
266
266
  *
267
267
  * To disable gamepad navigation, you can set `view.navigation.gamepad.enabled` to `false`.
268
268
  *
@@ -295,7 +295,7 @@ export interface MapViewProperties extends View2DProperties {}
295
295
  * to user interaction without delay. The [@click](https://developers.arcgis.com/javascript/latest/references/core/views/MapView/#event-click) event is only triggered after making sure that the
296
296
  * user doesn't click a second time (in which case it would trigger a [@double-click](https://developers.arcgis.com/javascript/latest/references/core/views/MapView/#event-double-click) event).
297
297
  *
298
- * ![Various events](https://developers.arcgis.com/javascript/latest/assets/img/apiref/views/events.png "Click and double-click events")
298
+ * ![Various events](https://developers.arcgis.com/javascript/latest/assets/images/apiref/views/events.png "Click and double-click events")
299
299
  *
300
300
  * In the case of a double-click, the same event chain is repeated after the first click. However, if the user clicks
301
301
  * a second time within a close time range, then the [@click](https://developers.arcgis.com/javascript/latest/references/core/views/MapView/#event-click) event is not emitted anymore, but the
@@ -370,7 +370,7 @@ export default class MapView extends View2D {
370
370
  * @param screenPoint - The screen coordinates (or native mouse event) of the click on the view.
371
371
  * @param options - Options to specify what is included in or excluded from the hitTest. Supported since 4.16.
372
372
  * @returns When resolved, returns an array of objects containing different [result types](https://developers.arcgis.com/javascript/latest/references/core/views/types/#ViewHit).
373
- * @see [Sample: Access features with pointer events](https://developers.arcgis.com/javascript/latest/sample-code/view-hittest/)
373
+ * @see [Sample: Access features with hitTest](https://developers.arcgis.com/javascript/latest/sample-code/map-component-hittest/)
374
374
  * @example
375
375
  * // Get the screen point from the view's click event
376
376
  * view.on("click", (event) => {
@@ -180,7 +180,7 @@ export interface SceneViewProperties extends ViewProperties, DOMContainerPropert
180
180
  *
181
181
  * The `clippingArea` property only applies to [local](https://developers.arcgis.com/javascript/latest/references/core/views/SceneView/#viewingMode) scenes.
182
182
  *
183
- * ![scene-clipping-area](https://developers.arcgis.com/javascript/latest/assets/img/apiref/views/scene-clipping-area.png "Local scene with clippingArea")
183
+ * ![scene-clipping-area](https://developers.arcgis.com/javascript/latest/assets/images/apiref/views/scene-clipping-area.png "Local scene with clippingArea")
184
184
  *
185
185
  * The clippingArea property contains an internal reference which may be modified in the future. To persist or
186
186
  * modify the clippingArea, create a clone using [clippingArea.clone()](https://developers.arcgis.com/javascript/latest/references/core/geometry/Extent/#clone).
@@ -328,8 +328,8 @@ export interface SceneViewProperties extends ViewProperties, DOMContainerPropert
328
328
  *
329
329
  * Value | Example | Description
330
330
  * ------|-------|------------
331
- * global | ![scene-global](https://developers.arcgis.com/javascript/latest/assets/img/apiref/views/scene-global.png) | Global scenes allow the entire globe to render in the view, showing the curvature of the earth.
332
- * local | ![scene-local](https://developers.arcgis.com/javascript/latest/assets/img/apiref/views/scene-local.png) | Local scenes render the earth on a flat surface. They can be constrained to only show a "local" area by setting the [clippingArea](https://developers.arcgis.com/javascript/latest/references/core/views/SceneView/#clippingArea) property. Local scenes also allow for displaying and exploring data that would otherwise be hidden by the surface of the earth.
331
+ * global | ![scene-global](https://developers.arcgis.com/javascript/latest/assets/images/apiref/views/scene-global.png) | Global scenes allow the entire globe to render in the view, showing the curvature of the earth.
332
+ * local | ![scene-local](https://developers.arcgis.com/javascript/latest/assets/images/apiref/views/scene-local.png) | Local scenes render the earth on a flat surface. They can be constrained to only show a "local" area by setting the [clippingArea](https://developers.arcgis.com/javascript/latest/references/core/views/SceneView/#clippingArea) property. Local scenes also allow for displaying and exploring data that would otherwise be hidden by the surface of the earth.
333
333
  *
334
334
  * Depending on the viewing mode different [supported coordinate systems](https://developers.arcgis.com/javascript/latest/references/core/views/SceneView/#supported-coordinate-systems) are available.
335
335
  *
@@ -377,7 +377,7 @@ export interface SceneViewProperties extends ViewProperties, DOMContainerPropert
377
377
  * for [MapView](https://developers.arcgis.com/javascript/latest/references/core/views/MapView/). For a general overview of views,
378
378
  * see [View](https://developers.arcgis.com/javascript/latest/references/core/views/View/).
379
379
  *
380
- * ![Various scenes](https://developers.arcgis.com/javascript/latest/assets/img/apiref/views/scene-mosaic.png "Various example scenes")
380
+ * ![Various scenes](https://developers.arcgis.com/javascript/latest/assets/images/apiref/views/scene-mosaic.png "Various example scenes")
381
381
  *
382
382
  * For a map to be visible to the user in the DOM, a SceneView must have both a
383
383
  * valid [Map instance](https://developers.arcgis.com/javascript/latest/references/core/views/SceneView/#map) and a [DOM element](https://developers.arcgis.com/javascript/latest/references/core/views/SceneView/#container) with a non-zero
@@ -502,7 +502,7 @@ export interface SceneViewProperties extends ViewProperties, DOMContainerPropert
502
502
  * <details>
503
503
  * <summary>Read More</summary>
504
504
  *
505
- * ![Gamepad](https://developers.arcgis.com/javascript/latest/assets/img/apiref/views/input/standard-gamepad.png)
505
+ * ![Gamepad](https://developers.arcgis.com/javascript/latest/assets/images/apiref/views/input/standard-gamepad.png)
506
506
  *
507
507
  * Gamepad Action | SceneView behavior
508
508
  * ------|------------
@@ -513,12 +513,12 @@ export interface SceneViewProperties extends ViewProperties, DOMContainerPropert
513
513
  *
514
514
  * Action Image | SpaceMouse Action | SceneView behavior
515
515
  * -------|------|------------
516
- * ![3DMousePan](https://developers.arcgis.com/javascript/latest/assets/img/apiref/views/input/3dmouse-pan.png) | Push (left/right/forward/backward)| Pan
517
- * ![3DMousePan](https://developers.arcgis.com/javascript/latest/assets/img/apiref/views/input/pull-up.png) | Pull up | Ascend
518
- * ![3DMousePan](https://developers.arcgis.com/javascript/latest/assets/img/apiref/views/input/push-down.png) | Push down | Descend
519
- * ![3DMousePan](https://developers.arcgis.com/javascript/latest/assets/img/apiref/views/input/rotate-clockwise.png) | Rotate clockwise | Rotate the view clockwise
520
- * ![3DMousePan](https://developers.arcgis.com/javascript/latest/assets/img/apiref/views/input/rotate-counterclockwise.png) | Rotate counterclockwise | Rotate the view counterclockwise
521
- * ![3DMousePan](https://developers.arcgis.com/javascript/latest/assets/img/apiref/views/input/tilt.png) | Tilt | Tilt the scene
516
+ * ![3DMousePan](https://developers.arcgis.com/javascript/latest/assets/images/apiref/views/input/3dmouse-pan.png) | Push (left/right/forward/backward)| Pan
517
+ * ![3DMousePan](https://developers.arcgis.com/javascript/latest/assets/images/apiref/views/input/pull-up.png) | Pull up | Ascend
518
+ * ![3DMousePan](https://developers.arcgis.com/javascript/latest/assets/images/apiref/views/input/push-down.png) | Push down | Descend
519
+ * ![3DMousePan](https://developers.arcgis.com/javascript/latest/assets/images/apiref/views/input/rotate-clockwise.png) | Rotate clockwise | Rotate the view clockwise
520
+ * ![3DMousePan](https://developers.arcgis.com/javascript/latest/assets/images/apiref/views/input/rotate-counterclockwise.png) | Rotate counterclockwise | Rotate the view counterclockwise
521
+ * ![3DMousePan](https://developers.arcgis.com/javascript/latest/assets/images/apiref/views/input/tilt.png) | Tilt | Tilt the scene
522
522
  *
523
523
  * To disable gamepad navigation, you can set `view.navigation.gamepad.enabled` to `false`.
524
524
  *
@@ -625,7 +625,7 @@ export interface SceneViewProperties extends ViewProperties, DOMContainerPropert
625
625
  * <span id="viewing-modes"></span>
626
626
  * ## Viewing modes
627
627
  *
628
- * ![global vs local](https://developers.arcgis.com/javascript/latest/assets/img/apiref/views/scene-global-vs-local.png "Showing global scene vs local scene")
628
+ * ![global vs local](https://developers.arcgis.com/javascript/latest/assets/images/apiref/views/scene-global-vs-local.png "Showing global scene vs local scene")
629
629
  *
630
630
  * The SceneView supports two different viewing modes, `global` (left picture above) and `local` (right picture above),
631
631
  * specified by the [viewingMode](https://developers.arcgis.com/javascript/latest/references/core/views/SceneView/#viewingMode) property. Global scenes render the
@@ -722,7 +722,7 @@ export interface SceneViewProperties extends ViewProperties, DOMContainerPropert
722
722
  * to user interaction without delay. The [@click](https://developers.arcgis.com/javascript/latest/references/core/views/SceneView/#event-click) event is only triggered after making sure that the
723
723
  * user doesn't click a second time (in which case it would trigger a [@double-click](https://developers.arcgis.com/javascript/latest/references/core/views/SceneView/#event-double-click) event).
724
724
  *
725
- * ![Various events](https://developers.arcgis.com/javascript/latest/assets/img/apiref/views/events.png "Click and double-click events")
725
+ * ![Various events](https://developers.arcgis.com/javascript/latest/assets/images/apiref/views/events.png "Click and double-click events")
726
726
  *
727
727
  * In the case of a double-click, the same event chain is repeated after the first click. However, if the user clicks
728
728
  * a second time within a close time range, then the [@click](https://developers.arcgis.com/javascript/latest/references/core/views/SceneView/#event-click) event is not emitted anymore, but the
@@ -966,7 +966,7 @@ export default class SceneView extends SceneViewSuperclass {
966
966
  *
967
967
  * The `clippingArea` property only applies to [local](https://developers.arcgis.com/javascript/latest/references/core/views/SceneView/#viewingMode) scenes.
968
968
  *
969
- * ![scene-clipping-area](https://developers.arcgis.com/javascript/latest/assets/img/apiref/views/scene-clipping-area.png "Local scene with clippingArea")
969
+ * ![scene-clipping-area](https://developers.arcgis.com/javascript/latest/assets/images/apiref/views/scene-clipping-area.png "Local scene with clippingArea")
970
970
  *
971
971
  * The clippingArea property contains an internal reference which may be modified in the future. To persist or
972
972
  * modify the clippingArea, create a clone using [clippingArea.clone()](https://developers.arcgis.com/javascript/latest/references/core/geometry/Extent/#clone).
@@ -1207,8 +1207,8 @@ export default class SceneView extends SceneViewSuperclass {
1207
1207
  *
1208
1208
  * Value | Example | Description
1209
1209
  * ------|-------|------------
1210
- * global | ![scene-global](https://developers.arcgis.com/javascript/latest/assets/img/apiref/views/scene-global.png) | Global scenes allow the entire globe to render in the view, showing the curvature of the earth.
1211
- * local | ![scene-local](https://developers.arcgis.com/javascript/latest/assets/img/apiref/views/scene-local.png) | Local scenes render the earth on a flat surface. They can be constrained to only show a "local" area by setting the [clippingArea](https://developers.arcgis.com/javascript/latest/references/core/views/SceneView/#clippingArea) property. Local scenes also allow for displaying and exploring data that would otherwise be hidden by the surface of the earth.
1210
+ * global | ![scene-global](https://developers.arcgis.com/javascript/latest/assets/images/apiref/views/scene-global.png) | Global scenes allow the entire globe to render in the view, showing the curvature of the earth.
1211
+ * local | ![scene-local](https://developers.arcgis.com/javascript/latest/assets/images/apiref/views/scene-local.png) | Local scenes render the earth on a flat surface. They can be constrained to only show a "local" area by setting the [clippingArea](https://developers.arcgis.com/javascript/latest/references/core/views/SceneView/#clippingArea) property. Local scenes also allow for displaying and exploring data that would otherwise be hidden by the surface of the earth.
1212
1212
  *
1213
1213
  * Depending on the viewing mode different [supported coordinate systems](https://developers.arcgis.com/javascript/latest/references/core/views/SceneView/#supported-coordinate-systems) are available.
1214
1214
  *
@@ -1398,7 +1398,7 @@ export default class SceneView extends SceneViewSuperclass {
1398
1398
  * @param options - Intersection test options. By default the [Map.ground](https://developers.arcgis.com/javascript/latest/references/core/Map/#ground) is excluded if its opacity
1399
1399
  * is smaller than one.
1400
1400
  * @returns When resolved, returns an array of objects containing different [result types](https://developers.arcgis.com/javascript/latest/references/core/views/types/#SceneViewHit).
1401
- * @see [Sample: Access features with click events](https://developers.arcgis.com/javascript/latest/sample-code/view-hittest/)
1401
+ * @see [Sample: Access features with hitTest](https://developers.arcgis.com/javascript/latest/sample-code/map-component-hittest/)
1402
1402
  * @see [Sample: SceneView - hitTest](https://developers.arcgis.com/javascript/latest/sample-code/sceneview-hittest/)
1403
1403
  * @example
1404
1404
  * // Get the screen point from the view's click event
@@ -1563,7 +1563,7 @@ export default class SceneView extends SceneViewSuperclass {
1563
1563
  *
1564
1564
  * @param screenPoint - The location on the screen (or native mouse event) to convert.
1565
1565
  * @param options - Intersection test options. By default only the [Map.ground](https://developers.arcgis.com/javascript/latest/references/core/Map/#ground) and any
1566
- * [IntegratedMeshLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/IntegratedMeshLayer/) and [IntegratedMesh3DTilesLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/IntegratedMesh3DTilesLayer/) are included.
1566
+ * [IntegratedMeshLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/IntegratedMeshLayer/), [IntegratedMesh3DTilesLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/IntegratedMesh3DTilesLayer/) and [GaussianSplatLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/GaussianSplatLayer/) are included.
1567
1567
  * @returns The map point corresponding to the given screen point.
1568
1568
  */
1569
1569
  toMap(screenPoint: ScreenPoint | MouseEvent, options?: HitTestOptions3D): Point | null | undefined;
package/views/View.d.ts CHANGED
@@ -221,7 +221,7 @@ export type ViewEvents = SceneViewEventTypes;
221
221
  *
222
222
  * | MapView (2D) | SceneView (3D) |
223
223
  * |--------------|----------------|
224
- * | [![mapview](https://developers.arcgis.com/javascript/latest/assets/img/apiref/views/mapview.png)](https://developers.arcgis.com/javascript/latest/sample-code/intro-mapview/) | [![sceneview](https://developers.arcgis.com/javascript/latest/assets/img/apiref/views/sceneview.png)](https://developers.arcgis.com/javascript/latest/sample-code/intro-sceneview/) |
224
+ * | [![mapview](https://developers.arcgis.com/javascript/latest/assets/images/apiref/views/mapview.png)](https://developers.arcgis.com/javascript/latest/sample-code/intro-mapview/) | [![sceneview](https://developers.arcgis.com/javascript/latest/assets/images/apiref/views/sceneview.png)](https://developers.arcgis.com/javascript/latest/sample-code/intro-sceneview/) |
225
225
  *
226
226
  * To associate a view with a map, you must set the [map](https://developers.arcgis.com/javascript/latest/references/core/views/View/#map) property to an instance of [Map](https://developers.arcgis.com/javascript/latest/references/core/Map/).
227
227
  *
@@ -319,7 +319,7 @@ export default abstract class View<TLayerView extends LayerView = LayerView> ext
319
319
  /**
320
320
  * The array of attribution items to be displayed in the view's attribution.
321
321
  *
322
- * ![attribution](https://developers.arcgis.com/javascript/latest/assets/img/apiref/widgets/attribution.png)
322
+ * ![attribution](https://developers.arcgis.com/javascript/latest/assets/images/apiref/widgets/attribution.png)
323
323
  *
324
324
  * @since 5.0
325
325
  */
@@ -883,7 +883,7 @@ export interface ViewEventTypes extends ViewBaseEventTypes {
883
883
  * for responding to a click event without delay.
884
884
  *
885
885
  * @since 5.0
886
- * @see [Sample: Access features with click events](https://developers.arcgis.com/javascript/latest/sample-code/view-hittest/)
886
+ * @see [Sample: Access features with hitTest](https://developers.arcgis.com/javascript/latest/sample-code/map-component-hittest/)
887
887
  * @example
888
888
  * view.on("click", function(event){
889
889
  * // event is the event object returned after the event fires
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import{remove as e}from"../../core/arrayUtils.js";import{makeHandle as t,handlesGroup as i}from"../../core/handleUtils.js";import{getOrCreateMapValue as o}from"../../core/MapUtils.js";import{ViewEventPriorities as r}from"../input/InputManager.js";import{primaryKey as n}from"../input/keys.js";const s="z",a="r",p={cancel:"Escape",complete:"Enter"},c={...p,redo:a,undo:s,center:"Alt",constraint:"Shift",delete:["Backspace","Delete"],vertexAdd:"f",pan:" "},f={toggle:"Control"},d={enterInputMode:"Tab",commit:"Enter",discard:"Escape",next:"Tab"},h={moveUp:{key:"ArrowUp",modifier:"Shift",repeats:!0},moveDown:{key:"ArrowDown",modifier:"Shift",repeats:!0},moveLeft:{key:"ArrowLeft",modifier:"Shift",repeats:!0},moveRight:{key:"ArrowRight",modifier:"Shift",repeats:!0},scaleUp:{key:"+",modifier:"Shift"},scaleDown:{key:"-",modifier:"Shift"},factorModifier:{key:n,continuePropagation:!0},toggleOpacity:"t",preserveAspectRatio:{key:"Shift",continuePropagation:!0},rotateIncrements:{key:"Shift",continuePropagation:!0},editSourcePoints:{key:"Alt",continuePropagation:!0},undo:s,redo:a},g={toggleFollowManipulator:{key:"V",modifier:"Shift",repeats:!1,continuePropagation:!0}},m={invertType:["Control","Meta"]};class y{constructor(){this._bindings=new Map}add(e,t){return this.addToggle(e,e=>{"key-down"===e.type&&t(e)})}addToggle(i,r){const n=l.fromDefinition(i,r),s=o(this._bindings,n.key,()=>[]);return s.push(n),t(()=>e(s,n))}register(e,t=r.WIDGET){return i([e.on("key-down",t=>this.dispatch(e.inputManager,t),t),e.on("key-up",t=>this.dispatch(e.inputManager,t),t)])}dispatch(e,t){const i=t.key,o=this._bindings.get(i);if(o)for(const r of o)r.process(e,t)}}class l{constructor(e,t,i,o,r){this.key=e,this.modifiers=t,this.repeats=i,this.continuePropagation=o,this.callback=r}process(e,t){if(!(t.key!==this.key||"repeat"in t&&t.repeat&&!this.repeats)){for(const t of this.modifiers)if(!e.isModifierKeyDown(t))return;this.continuePropagation||t.stopPropagation(),this.callback(t)}}static fromDefinition(e,t){if("string"==typeof e)return new l(e,[],!1,!1,t);const{key:i,modifier:o,repeats:r,continuePropagation:n}=e;return new l(i,o?Array.isArray(o)?o:[o]:[],!!r,!!n,t)}}export{y as KeyBindings,g as advancedSketchKeys,p as interactiveToolKeys,h as mediaKeys,m as selectionKeys,c as sketchKeys,f as snappingKeys,d as tooltipKeys};
2
+ import{remove as e}from"../../core/arrayUtils.js";import{makeHandle as t,handlesGroup as o}from"../../core/handleUtils.js";import{getOrCreateMapValue as i}from"../../core/MapUtils.js";import{ViewEventPriorities as r}from"../input/InputManager.js";import{primaryKey as n}from"../input/keys.js";const s="z",a="r",p={cancel:"Escape",complete:"Enter"},c={...p,redo:a,undo:s,center:"Alt",constraint:"Shift",delete:["Backspace","Delete"],vertexAdd:"f",pan:" "},f={toggle:"Control"},d={enterInputMode:"Tab",commit:"Enter",discard:"Escape",next:"Tab"},h={moveUp:{key:"ArrowUp",modifier:"Shift",repeats:!0},moveDown:{key:"ArrowDown",modifier:"Shift",repeats:!0},moveLeft:{key:"ArrowLeft",modifier:"Shift",repeats:!0},moveRight:{key:"ArrowRight",modifier:"Shift",repeats:!0},scaleUp:{key:"+",modifier:"Shift"},scaleDown:{key:"-",modifier:"Shift"},factorModifier:{key:n,continuePropagation:!0},toggleOpacity:"t",preserveAspectRatio:{key:"Shift",continuePropagation:!0},rotateIncrements:{key:"Shift",continuePropagation:!0},editSourcePoints:{key:"Alt",continuePropagation:!0},undo:s,redo:a},g={toggleFollowManipulator:{key:"v",repeats:!1,continuePropagation:!0}},m={invertType:["Control","Meta"]};class y{constructor(){this._bindings=new Map}add(e,t){return this.addToggle(e,e=>{"key-down"===e.type&&t(e)})}addToggle(o,r){const n=l.fromDefinition(o,r),s=i(this._bindings,n.key,()=>[]);return s.push(n),t(()=>e(s,n))}register(e,t=r.WIDGET){return o([e.on("key-down",t=>this.dispatch(e.inputManager,t),t),e.on("key-up",t=>this.dispatch(e.inputManager,t),t)])}dispatch(e,t){const o=t.key,i=this._bindings.get(o);if(i)for(const r of i)r.process(e,t)}}class l{constructor(e,t,o,i,r){this.key=e,this.modifiers=t,this.repeats=o,this.continuePropagation=i,this.callback=r}process(e,t){if(!(t.key!==this.key||"repeat"in t&&t.repeat&&!this.repeats)){for(const t of this.modifiers)if(!e.isModifierKeyDown(t))return;this.continuePropagation||t.stopPropagation(),this.callback(t)}}static fromDefinition(e,t){if("string"==typeof e)return new l(e,[],!1,!1,t);const{key:o,modifier:i,repeats:r,continuePropagation:n}=e;return new l(o,i?Array.isArray(i)?i:[i]:[],!!r,!!n,t)}}export{y as KeyBindings,g as advancedSketchKeys,p as interactiveToolKeys,h as mediaKeys,m as selectionKeys,c as sketchKeys,f as snappingKeys,d as tooltipKeys};
@@ -7,7 +7,7 @@ export interface SketchLabelOptionsProperties extends Partial<Pick<SketchLabelOp
7
7
  * segment of a graphic while sketching and editing. The labels display each segment's
8
8
  * horizontal length and are not shown for non-planar polygons and polylines.
9
9
  *
10
- * [![sketch-3d](https://developers.arcgis.com/javascript/latest/assets/img/apiref/views/interactive/sketch/sketchlabels.png)](https://developers.arcgis.com/javascript/latest/sample-code/sketch-3d/)
10
+ * [![sketch-3d](https://developers.arcgis.com/javascript/latest/assets/images/apiref/views/interactive/sketch/sketchlabels.png)](https://developers.arcgis.com/javascript/latest/sample-code/sketch-3d/)
11
11
  *
12
12
  * How the segment lengths are computed depends on the view's spatial reference. In geographic coordinate systems (GCS)
13
13
  * and in Web Mercator, the lengths are computed geodetically. In projected coordinate systems (PCS),
@@ -15,7 +15,7 @@ export interface SketchTooltipOptionsProperties extends Partial<Pick<SketchToolt
15
15
  * To enter the tooltip UI's [input mode](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/sketch/SketchTooltipOptions/#inputEnabled),
16
16
  * press the `Tab` key while drawing a new feature, or when editing a point, mesh, or a selected vertex.
17
17
  *
18
- * [![sketch-3d-with-constraints](https://developers.arcgis.com/javascript/latest/assets/img/apiref/widgets/editor/editing-constraints.gif)](https://developers.arcgis.com/javascript/latest/sample-code/sketch-3d/)
18
+ * [![sketch-3d-with-constraints](https://developers.arcgis.com/javascript/latest/assets/images/apiref/widgets/editor/editing-constraints.gif)](https://developers.arcgis.com/javascript/latest/sample-code/sketch-3d/)
19
19
  *
20
20
  * #### Available tooltip inputs and constraints
21
21
  *