@arcgis/core 5.2.0-next.147 → 5.2.0-next.148

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 (246) hide show
  1. package/assets/esri/core/workers/RemoteClient.js +1 -1
  2. package/assets/esri/core/workers/chunks/03afeefb9d16b6f1d844.js +1 -0
  3. package/assets/esri/core/workers/chunks/{79c83f4e066682543ca1.js → 0a078721c7e0e24027f0.js} +1 -1
  4. package/assets/esri/core/workers/chunks/{72019baeba520edb6bb0.js → 112befb3b5b406f29298.js} +1 -1
  5. package/assets/esri/core/workers/chunks/131e89663014bc76c4ee.js +1 -0
  6. package/assets/esri/core/workers/chunks/{392bcef780df52fb4cca.js → 16053ce50642c5ffbfa9.js} +1 -1
  7. package/assets/esri/core/workers/chunks/19689c66776b39cec234.js +1 -0
  8. package/assets/esri/core/workers/chunks/{ba46869e700ba1d2787f.js → 1b3f59fcad6e14c4d0e0.js} +1 -1
  9. package/assets/esri/core/workers/chunks/{6dd0b79fa3a629ab4f27.js → 1bca39e0e651426bdbb5.js} +1 -1
  10. package/assets/esri/core/workers/chunks/{305a718719ef15fda90c.js → 20458fffda7692c78135.js} +1 -1
  11. package/assets/esri/core/workers/chunks/219d0935ce281902a49f.js +1 -0
  12. package/assets/esri/core/workers/chunks/2416518db4a0117541a8.js +1 -0
  13. package/assets/esri/core/workers/chunks/{8b1c17cc52d989924313.js → 27a425d87c57b91489b3.js} +1 -1
  14. package/assets/esri/core/workers/chunks/2d9a1f23ec6ce90723ac.js +1 -0
  15. package/assets/esri/core/workers/chunks/{06e7400f5ebe0719b81c.js → 2e75df54852d65e71330.js} +1 -1
  16. package/assets/esri/core/workers/chunks/39d1d2fbe94afcd0a590.js +1 -0
  17. package/assets/esri/core/workers/chunks/{d01381b548c204835509.js → 3e9f056e4d1f0d067fc6.js} +1 -1
  18. package/assets/esri/core/workers/chunks/407f1e8176f3b0af73b4.js +1 -0
  19. package/assets/esri/core/workers/chunks/{1ba0dfbe0958cdbd7c9f.js → 42fd2a7b22b03dacc6a7.js} +1 -1
  20. package/assets/esri/core/workers/chunks/43321f244effd3d67069.js +1 -0
  21. package/assets/esri/core/workers/chunks/47e6b5631a625298db5b.js +1 -0
  22. package/assets/esri/core/workers/chunks/4a6b92ecbb1f1c55cc43.js +1 -0
  23. package/assets/esri/core/workers/chunks/4fc337240e7cddd0e988.js +1 -0
  24. package/assets/esri/core/workers/chunks/52c25809edf7ac008a52.js +1 -0
  25. package/assets/esri/core/workers/chunks/54b18559280a7d2a8d93.js +1 -0
  26. package/assets/esri/core/workers/chunks/561c48cb4d49b150765b.js +1 -0
  27. package/assets/esri/core/workers/chunks/{5c855af73ee3c3e764fb.js → 5732fdf6d8b87739aeea.js} +1 -1
  28. package/assets/esri/core/workers/chunks/5924ec3167a2941ebb1f.js +1 -0
  29. package/assets/esri/core/workers/chunks/5f0c06f59121e09091f7.js +1 -0
  30. package/assets/esri/core/workers/chunks/5fa1ec357c3ad1f91bc7.js +1 -0
  31. package/assets/esri/core/workers/chunks/606ea251075fe81a1206.js +1 -0
  32. package/assets/esri/core/workers/chunks/{ceb680688fe7e570a774.js → 608be1172a908e92b9f1.js} +1 -1
  33. package/assets/esri/core/workers/chunks/{6f358116f79021ff9687.js → 612104dff305ff062dfa.js} +2 -2
  34. package/assets/esri/core/workers/chunks/68be3fb88ca61f82fb90.js +1 -0
  35. package/assets/esri/core/workers/chunks/6c9266120d46e8c69dbf.js +1 -0
  36. package/assets/esri/core/workers/chunks/6eb5cc8ddf772c0062e6.js +1 -0
  37. package/assets/esri/core/workers/chunks/709e019885822b1f6f3e.js +1 -0
  38. package/assets/esri/core/workers/chunks/70ee81ba22badbbf045c.js +1 -0
  39. package/assets/esri/core/workers/chunks/731018c0deffc41ffc97.js +1 -0
  40. package/assets/esri/core/workers/chunks/7320a4913b6cad7cc5d7.js +1 -0
  41. package/assets/esri/core/workers/chunks/7a4f1484b119ebafc2e7.js +1 -0
  42. package/assets/esri/core/workers/chunks/8293600f94553afc8c38.js +1 -0
  43. package/assets/esri/core/workers/chunks/{c18189710d6198516175.js → 830ab9b8d000169da675.js} +1 -1
  44. package/assets/esri/core/workers/chunks/8602b3587d4bdd9cc9f5.js +1 -0
  45. package/assets/esri/core/workers/chunks/{956a40f40bde416efe93.js → 898f43feeec74acde1ec.js} +1 -1
  46. package/assets/esri/core/workers/chunks/{700b1d5bc67b7e1b3ff3.js → 8aa80b892fde552577e8.js} +1 -1
  47. package/assets/esri/core/workers/chunks/8ef802ef8d108ae2e473.js +1 -0
  48. package/assets/esri/core/workers/chunks/900181f68449d8f82eeb.js +1 -0
  49. package/assets/esri/core/workers/chunks/925271bb763607a326ae.js +1 -0
  50. package/assets/esri/core/workers/chunks/937824bc7948f7bc7845.js +1 -0
  51. package/assets/esri/core/workers/chunks/939942b00ba380e2957e.js +1 -0
  52. package/assets/esri/core/workers/chunks/{a52bf03bffb6ffac3b54.js → a101b89c18488f213d80.js} +1 -1
  53. package/assets/esri/core/workers/chunks/a337ca943862b30b978d.js +1 -0
  54. package/assets/esri/core/workers/chunks/ac03976b8450331aa31e.js +1 -0
  55. package/assets/esri/core/workers/chunks/af349c7bc8ef41a0e1bd.js +1 -0
  56. package/assets/esri/core/workers/chunks/afc3b2af20e9d1dfd260.js +1 -0
  57. package/assets/esri/core/workers/chunks/{97dbbedea9fe03bd1306.js → b0fd7cd5fc9526d30ddc.js} +1 -1
  58. package/assets/esri/core/workers/chunks/b3e812c3a06b486f05d2.js +1 -0
  59. package/assets/esri/core/workers/chunks/{6883a5c6883eccaddf64.js → b6ba66a05030d3815dfd.js} +1 -1
  60. package/assets/esri/core/workers/chunks/{9ab25ee06041f907b9a2.js → c2c1f51a4668055c2838.js} +1 -1
  61. package/assets/esri/core/workers/chunks/c598b22f78ccc57f9d6d.js +1 -0
  62. package/assets/esri/core/workers/chunks/c5d85be6e16bc895e7fb.js +1 -0
  63. package/assets/esri/core/workers/chunks/c62738f84c914671b143.js +1 -0
  64. package/assets/esri/core/workers/chunks/{820f41d66b2056a3ebc8.js → c7699edd14497d174445.js} +1 -1
  65. package/assets/esri/core/workers/chunks/{a7985d20fa6e8d4878e7.js → d0f5bee9db1ad51ae687.js} +1 -1
  66. package/assets/esri/core/workers/chunks/dbcac8c1a76d4a9db13d.js +1 -0
  67. package/assets/esri/core/workers/chunks/{4ed8655770a3e018e366.js → de8d7f11f5a078c01b83.js} +1 -1
  68. package/assets/esri/core/workers/chunks/e0351753f6b4d1adf11e.js +1 -0
  69. package/assets/esri/core/workers/chunks/{534186fc921a0ccf58dc.js → e1f5d00878f27e1d413e.js} +1 -1
  70. package/assets/esri/core/workers/chunks/{4479a166b5ac8db1e12e.js → f2b69bd704db62915a6b.js} +1 -1
  71. package/assets/esri/core/workers/chunks/{711cfb84659cb4437679.js → f528ac5c648ca6a98582.js} +1 -1
  72. package/assets/esri/core/workers/chunks/fdbf6208df5c58746d9d.js +1 -0
  73. package/assets/esri/widgets/BatchAttributeForm/t9n/messages.ar.json +1 -1
  74. package/assets/esri/widgets/BatchAttributeForm/t9n/messages.bg.json +1 -1
  75. package/assets/esri/widgets/BatchAttributeForm/t9n/messages.bs.json +1 -1
  76. package/assets/esri/widgets/BatchAttributeForm/t9n/messages.ca.json +1 -1
  77. package/assets/esri/widgets/BatchAttributeForm/t9n/messages.cs.json +1 -1
  78. package/assets/esri/widgets/BatchAttributeForm/t9n/messages.da.json +1 -1
  79. package/assets/esri/widgets/BatchAttributeForm/t9n/messages.de.json +1 -1
  80. package/assets/esri/widgets/BatchAttributeForm/t9n/messages.el.json +1 -1
  81. package/assets/esri/widgets/BatchAttributeForm/t9n/messages.es.json +1 -1
  82. package/assets/esri/widgets/BatchAttributeForm/t9n/messages.et.json +1 -1
  83. package/assets/esri/widgets/BatchAttributeForm/t9n/messages.fi.json +1 -1
  84. package/assets/esri/widgets/BatchAttributeForm/t9n/messages.fr.json +1 -1
  85. package/assets/esri/widgets/BatchAttributeForm/t9n/messages.he.json +1 -1
  86. package/assets/esri/widgets/BatchAttributeForm/t9n/messages.hr.json +1 -1
  87. package/assets/esri/widgets/BatchAttributeForm/t9n/messages.hu.json +1 -1
  88. package/assets/esri/widgets/BatchAttributeForm/t9n/messages.id.json +1 -1
  89. package/assets/esri/widgets/BatchAttributeForm/t9n/messages.it.json +1 -1
  90. package/assets/esri/widgets/BatchAttributeForm/t9n/messages.ja.json +1 -1
  91. package/assets/esri/widgets/BatchAttributeForm/t9n/messages.ko.json +1 -1
  92. package/assets/esri/widgets/BatchAttributeForm/t9n/messages.lt.json +1 -1
  93. package/assets/esri/widgets/BatchAttributeForm/t9n/messages.lv.json +1 -1
  94. package/assets/esri/widgets/BatchAttributeForm/t9n/messages.nl.json +1 -1
  95. package/assets/esri/widgets/BatchAttributeForm/t9n/messages.no.json +1 -1
  96. package/assets/esri/widgets/BatchAttributeForm/t9n/messages.pl.json +1 -1
  97. package/assets/esri/widgets/BatchAttributeForm/t9n/messages.pt-BR.json +1 -1
  98. package/assets/esri/widgets/BatchAttributeForm/t9n/messages.pt-PT.json +1 -1
  99. package/assets/esri/widgets/BatchAttributeForm/t9n/messages.ro.json +1 -1
  100. package/assets/esri/widgets/BatchAttributeForm/t9n/messages.ru.json +1 -1
  101. package/assets/esri/widgets/BatchAttributeForm/t9n/messages.sk.json +1 -1
  102. package/assets/esri/widgets/BatchAttributeForm/t9n/messages.sl.json +1 -1
  103. package/assets/esri/widgets/BatchAttributeForm/t9n/messages.sr.json +1 -1
  104. package/assets/esri/widgets/BatchAttributeForm/t9n/messages.sv.json +1 -1
  105. package/assets/esri/widgets/BatchAttributeForm/t9n/messages.th.json +1 -1
  106. package/assets/esri/widgets/BatchAttributeForm/t9n/messages.tr.json +1 -1
  107. package/assets/esri/widgets/BatchAttributeForm/t9n/messages.uk.json +1 -1
  108. package/assets/esri/widgets/BatchAttributeForm/t9n/messages.vi.json +1 -1
  109. package/assets/esri/widgets/BatchAttributeForm/t9n/messages.zh-CN.json +1 -1
  110. package/assets/esri/widgets/BatchAttributeForm/t9n/messages.zh-HK.json +1 -1
  111. package/assets/esri/widgets/BatchAttributeForm/t9n/messages.zh-TW.json +1 -1
  112. package/config.js +1 -1
  113. package/geometry/support/TileClipper.js +1 -1
  114. package/geometry/support/meshUtils.d.ts +1 -1
  115. package/geometry/support/scaleUtils.js +1 -1
  116. package/kernel.js +1 -1
  117. package/layers/CSVLayer.d.ts +1 -1
  118. package/layers/CatalogLayer.d.ts +1 -1
  119. package/layers/FeatureLayer.d.ts +1 -1
  120. package/layers/GeoJSONLayer.d.ts +1 -1
  121. package/layers/OrientedImageryLayer.js +1 -1
  122. package/layers/ParquetLayer.d.ts +4 -3
  123. package/layers/ParquetLayer.js +1 -1
  124. package/layers/SceneLayer.d.ts +4 -5
  125. package/layers/SceneLayer.js +1 -1
  126. package/layers/SketchLayer.d.ts +0 -1
  127. package/layers/SubtypeGroupLayer.d.ts +1 -1
  128. package/layers/WFSLayer.d.ts +1 -1
  129. package/layers/buildingSublayers/BuildingComponentSublayer.d.ts +1 -1
  130. package/layers/catalog/CatalogFootprintLayer.d.ts +1 -1
  131. package/layers/knowledgeGraph/KnowledgeGraphSublayer.d.ts +1 -1
  132. package/layers/mixins/ArcGISImageService.d.ts +1 -1
  133. package/layers/mixins/PortalLayer.js +1 -1
  134. package/layers/mixins/ScaleRangeLayer.js +1 -1
  135. package/layers/mixins/SublayersOwner.js +1 -1
  136. package/layers/orientedImagery/core/ExposurePoint.js +1 -1
  137. package/layers/orientedImagery/core/utils.js +1 -1
  138. package/layers/support/FeatureFilter.d.ts +1 -1
  139. package/layers/support/ParquetPortalItemData.js +1 -1
  140. package/layers/support/PortalItemData.js +1 -1
  141. package/layers/support/Sublayer.js +1 -1
  142. package/layers/support/SubtypeSublayer.d.ts +1 -1
  143. package/layers/support/SubtypeSublayer.js +1 -1
  144. package/package.json +2 -2
  145. package/popup/FeaturesModel.d.ts +26 -5
  146. package/popup/FeaturesModel.js +1 -1
  147. package/portal/support/layersLoader.js +1 -1
  148. package/portal/support/portalLayers.js +1 -1
  149. package/rest/print.js +1 -1
  150. package/rest/support/printTaskUtils.js +1 -1
  151. package/symbols/cim/CIMSymbolHelper.js +1 -1
  152. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/hittestUtils.js +1 -1
  153. package/views/2d/engine/webgl/shaderGraph/techniques/text/TextShader.js +1 -1
  154. package/views/2d/interactive/snapping/featureSources/featureServiceSource/FeatureServiceTiles2D.js +1 -1
  155. package/views/2d/layers/FeatureLikeLayerView2D.js +1 -1
  156. package/views/2d/layers/LayerView2D.js +1 -1
  157. package/views/2d/layers/features/sources/FeatureSource.js +1 -1
  158. package/views/3d/analysis/Viewshed/ViewshedPlacementController.js +1 -1
  159. package/views/3d/analysis/Viewshed/types.d.ts +3 -1
  160. package/views/3d/layers/BuildingComponentSublayerView3D.js +1 -1
  161. package/views/3d/layers/BuildingSceneLayerView3D.js +1 -1
  162. package/views/3d/layers/DynamicLayerView3D.js +1 -1
  163. package/views/3d/layers/FeatureLikeLayerViewBase3D.js +1 -1
  164. package/views/3d/layers/FlowSubView3D.js +1 -1
  165. package/views/3d/layers/GaussianSplatLayerView3D.js +1 -1
  166. package/views/3d/layers/GraphicsLayerView3D.js +1 -1
  167. package/views/3d/layers/IntegratedMesh3DTilesLayerView3D.js +1 -1
  168. package/views/3d/layers/IntegratedMeshLayerView3D.js +1 -1
  169. package/views/3d/layers/MediaLayerView3D.js +1 -1
  170. package/views/3d/layers/PointCloudLayerView3D.js +1 -1
  171. package/views/3d/layers/RouteLayerView3D.js +1 -1
  172. package/views/3d/layers/SceneLayerGraphicsView3D.js +1 -1
  173. package/views/3d/layers/SceneLayerView3D.js +1 -1
  174. package/views/3d/layers/TiledLayerView3D.js +1 -1
  175. package/views/3d/layers/VoxelLayerView3D.js +1 -1
  176. package/views/3d/layers/graphics/Graphics3DScaleVisibility.js +1 -1
  177. package/views/3d/layers/graphics/Labeler.js +1 -1
  178. package/views/3d/layers/support/HeatmapFeatureProcessor.js +1 -1
  179. package/views/3d/support/popupHitTest.js +1 -1
  180. package/views/View2D.d.ts +1 -1
  181. package/views/interactive/snapping/FeatureSnappingSourceInfo.js +1 -1
  182. package/views/interactive/snapping/SnappingOptions.d.ts +1 -1
  183. package/views/layers/FeatureLikeLayerView.d.ts +1 -1
  184. package/views/layers/LayerView.js +1 -1
  185. package/views/layers/LineOfSightLayerView.d.ts +3 -4
  186. package/views/layers/PointCloudLayerView.d.ts +1 -1
  187. package/views/layers/SceneLayerView.d.ts +1 -1
  188. package/views/layers/ViewshedLayerView.d.ts +5 -6
  189. package/views/support/layerViewUtils.js +1 -1
  190. package/webdoc/support/saveUtils.js +1 -1
  191. package/webdoc/support/unsupportedErrors.js +1 -1
  192. package/widgets/Editor.d.ts +10 -0
  193. package/widgets/Legend.d.ts +1 -0
  194. package/widgets/OrientedImageryViewer/OrientedImageryViewerViewModel.js +1 -1
  195. package/widgets/OrientedImageryViewer/adapters/draw/HeightMeasurementAdapter.js +1 -1
  196. package/widgets/OrientedImageryViewer/adapters/sketch/MeasurementAdapter.js +1 -1
  197. package/widgets/OrientedImageryViewer/adapters/sketch/TriangulatedMeasurementAdapter.js +1 -1
  198. package/widgets/OrientedImageryViewer/components/ImageLocationViewModel.js +1 -1
  199. package/widgets/OrientedImageryViewer/services/ImageMeasurementService.js +1 -1
  200. package/widgets/support/SnappingControls.d.ts +1 -1
  201. package/assets/esri/core/workers/chunks/00a600c71ceebe7bfeee.js +0 -1
  202. package/assets/esri/core/workers/chunks/0193df3f9fb23633da87.js +0 -1
  203. package/assets/esri/core/workers/chunks/050c4b212f2b5691db34.js +0 -1
  204. package/assets/esri/core/workers/chunks/07aa6d36f1006b6ab7ff.js +0 -1
  205. package/assets/esri/core/workers/chunks/0bb11751efa2023ec937.js +0 -1
  206. package/assets/esri/core/workers/chunks/2062d46f638eabfc9499.js +0 -1
  207. package/assets/esri/core/workers/chunks/222af8522773c7dc80b1.js +0 -1
  208. package/assets/esri/core/workers/chunks/303fde8f3459dde16555.js +0 -1
  209. package/assets/esri/core/workers/chunks/347bf269c2b1583d2dca.js +0 -1
  210. package/assets/esri/core/workers/chunks/350540770781b281c39a.js +0 -1
  211. package/assets/esri/core/workers/chunks/3b017b718ea2d4ed498f.js +0 -1
  212. package/assets/esri/core/workers/chunks/3e81dfc9d621ece038fe.js +0 -1
  213. package/assets/esri/core/workers/chunks/46b2d4addfc73f9183a4.js +0 -1
  214. package/assets/esri/core/workers/chunks/4d82db661365daa513a6.js +0 -1
  215. package/assets/esri/core/workers/chunks/4f48d45baa8ada16f579.js +0 -1
  216. package/assets/esri/core/workers/chunks/50ca55ad2f5421acc492.js +0 -1
  217. package/assets/esri/core/workers/chunks/5450f339f97b2b042ee2.js +0 -1
  218. package/assets/esri/core/workers/chunks/55cc8581978c71b17998.js +0 -1
  219. package/assets/esri/core/workers/chunks/633a9051580c5302d2f7.js +0 -1
  220. package/assets/esri/core/workers/chunks/641d196a554bd07f729e.js +0 -1
  221. package/assets/esri/core/workers/chunks/655c3afda1eef01611dd.js +0 -1
  222. package/assets/esri/core/workers/chunks/6569797d3c22442e5e97.js +0 -1
  223. package/assets/esri/core/workers/chunks/70793967db45fb142962.js +0 -1
  224. package/assets/esri/core/workers/chunks/798a63653f82c0e842c5.js +0 -1
  225. package/assets/esri/core/workers/chunks/84fcbf7a1d04f01685d1.js +0 -1
  226. package/assets/esri/core/workers/chunks/8e511079918e2fd9261f.js +0 -1
  227. package/assets/esri/core/workers/chunks/8fcfd515ee1b18c902e5.js +0 -1
  228. package/assets/esri/core/workers/chunks/9001e9a1e81bce175ddd.js +0 -1
  229. package/assets/esri/core/workers/chunks/9401cc22373566e1171e.js +0 -1
  230. package/assets/esri/core/workers/chunks/95b82cbbe355266c65d7.js +0 -1
  231. package/assets/esri/core/workers/chunks/9c0fd8baa00ee9733ba4.js +0 -1
  232. package/assets/esri/core/workers/chunks/9c1e69ac82e2bf746191.js +0 -1
  233. package/assets/esri/core/workers/chunks/a010d2e4e34eb7bc1fec.js +0 -1
  234. package/assets/esri/core/workers/chunks/a05790444115e4cf1bcc.js +0 -1
  235. package/assets/esri/core/workers/chunks/a7edf7541569fef77cb3.js +0 -1
  236. package/assets/esri/core/workers/chunks/b2c29bc48c7b3b0c9357.js +0 -1
  237. package/assets/esri/core/workers/chunks/b7d77dd2abb255fd2e5a.js +0 -1
  238. package/assets/esri/core/workers/chunks/b8054adc45bca069b948.js +0 -1
  239. package/assets/esri/core/workers/chunks/ca7fb75e2c62e7d37122.js +0 -1
  240. package/assets/esri/core/workers/chunks/d21257d2e2a37266c0f7.js +0 -1
  241. package/assets/esri/core/workers/chunks/d270cc9807161033686e.js +0 -1
  242. package/assets/esri/core/workers/chunks/d4f038e04c42aed588c1.js +0 -1
  243. package/assets/esri/core/workers/chunks/e32b96c08cb272a59851.js +0 -1
  244. package/assets/esri/core/workers/chunks/e7c60bd85abbd36cdc64.js +0 -1
  245. package/assets/esri/core/workers/chunks/f0a68d2900d24f56afa0.js +0 -1
  246. package/assets/esri/core/workers/chunks/f511a304e9dea9eb3e01.js +0 -1
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import{__decorate as e}from"tslib";import{equals as t}from"../../core/arrayUtils.js";import{createTask as n}from"../../core/asyncUtils.js";import{EventedAccessor as r}from"../../core/Evented.js";import{IdentifiableMixin as i}from"../../core/Identifiable.js";import a from"../../core/Logger.js";import{destroyMaybe as o,removeMaybe as s}from"../../core/maybe.js";import{EsriPromiseMixin as c}from"../../core/Promise.js";import{throwIfAborted as l}from"../../core/promiseUtils.js";import{property as u,subclass as d}from"../../core/accessorSupport/decorators.js";import{UpdatingHandles as f}from"../../core/support/UpdatingHandles.js";import{getAttributionItemFromUserCopyright as p,isDynamicAttributionLayer as m,createAttributionIndex as h,getAttributionItemsFromIndex as g,getAttributionItemFromAccessInformation as _,getAttributionItemFromLayerCopyright as v}from"../support/attributionUtils.js";import{validateScaleRange as y}from"../support/layerViewUtils.js";let b=class extends i(c(r)){get spatialReferenceSupported(){return!0}constructor(e){super(e),this._updatingHandles=new f,this._attributionIndexTask=null,this.layer=null,this.parent=null}initialize(){this.when().catch(e=>{if(e?.name!==`layerview:create-error`){let t=this.layer&&this.layer.id||`no id`,n=this.layer?.title||`no title`;a.getLogger(this).error(`#resolve()`,`Failed to resolve layer view (layer title: '${n}', id: '${t}')`,e)}})}destroy(){this._updatingHandles=o(this._updatingHandles),this._attributionIndexTask=s(this._attributionIndexTask),this._set(`parent`,null)}get attributionItems(){let e=this._get(`attributionItems`)??[];if(this.suspended||!this.layer?.attributionVisible)return e.length===0?e:[];if(!this.view.stationary)return e;let n=this.getAttributionItems();return t(e,n,(e,t)=>e.text===t.text)?e:n}get attributionUpdating(){return this._attributionIndexTask?!this._attributionIndexTask.finished:!1}get fullOpacity(){return(this.layer?.opacity??1)*(this.parent?.fullOpacity??1)}get suspended(){return this.destroyed||!this.canResume()}get suspendInfo(){return this.getSuspendInfo()}get legendEnabled(){return!this.suspended&&this.layer?.legendEnabled===!0}get updating(){return!!(this._updatingHandles?.updating||this.isUpdating())}get updatingProgress(){return+!this.updating}get updateSuspended(){return this.suspended}get visible(){return this.layer?.visible===!0}set visible(e){this._overrideIfSome(`visible`,e)}get visibleAtCurrentScale(){return!0}get visibleAtCurrentTimeExtent(){let e=this.view.timeExtent,t=this.layer?.visibilityTimeExtent;return!e||!t||!e.intersection(t).isEmpty}canResume(){let e=this.layer&&`effectiveScaleRange`in this.layer?this.layer.effectiveScaleRange:null;return this.visible&&this.layer?.loaded&&this.parent&&!this.parent.suspended&&this.view?.ready&&y(e)&&this.visibleAtCurrentScale&&this.visibleAtCurrentTimeExtent||!1}getSuspendInfo(){let e=this.parent?.suspended?this.parent.suspendInfo:{};this.view?.ready||(e.viewNotReady=!0),(!this.layer||!this.layer.loaded)&&(e.layerNotLoaded=!0);let t=this.layer&&`effectiveScaleRange`in this.layer?this.layer.effectiveScaleRange:null;return(!y(t)||!this.visibleAtCurrentScale)&&(e.outsideScaleRange=!0),this.visibleAtCurrentTimeExtent||(e.outsideVisibilityTimeExtent=!0),this.visible||(e.layerInvisible=!0),e}isUpdating(){return!1}getAttributionItems(){let e=p(this.layer);if(e)return[e];if(m(this.layer)&&(this._attributionIndexTask||(this._attributionIndexTask=n(async e=>{let t=await this.layer.fetchAttributionData();return l(e),h(t)}),this._updatingHandles.consumePromise(this._attributionIndexTask.promise)),this._attributionIndexTask?.finished&&this._attributionIndexTask.value))return g(this._attributionIndexTask.value,this.layer.tileInfo,this.view.scale,this.view.extent);let t=_(this.layer);if(t)return[t];let r=v(this.layer);return r?[r]:[]}};e([u({readOnly:!0})],b.prototype,`spatialReferenceSupported`,null),e([u()],b.prototype,`view`,void 0),e([u({readOnly:!0})],b.prototype,`attributionItems`,null),e([u({readOnly:!0})],b.prototype,`attributionUpdating`,null),e([u()],b.prototype,`fullOpacity`,null),e([u()],b.prototype,`layer`,void 0),e([u()],b.prototype,`parent`,void 0),e([u({readOnly:!0})],b.prototype,`suspended`,null),e([u({readOnly:!0})],b.prototype,`suspendInfo`,null),e([u({readOnly:!0})],b.prototype,`legendEnabled`,null),e([u({type:Boolean,readOnly:!0})],b.prototype,`updating`,null),e([u({readOnly:!0})],b.prototype,`updatingProgress`,null),e([u()],b.prototype,`updateSuspended`,null),e([u()],b.prototype,`visible`,null),e([u({readOnly:!0})],b.prototype,`visibleAtCurrentScale`,null),e([u({readOnly:!0})],b.prototype,`visibleAtCurrentTimeExtent`,null),b=e([d(`esri.views.layers.LayerView`)],b);export{b as default};
2
+ import{__decorate as e}from"tslib";import{equals as t}from"../../core/arrayUtils.js";import{createTask as n}from"../../core/asyncUtils.js";import{EventedAccessor as r}from"../../core/Evented.js";import{IdentifiableMixin as i}from"../../core/Identifiable.js";import a from"../../core/Logger.js";import{destroyMaybe as o,removeMaybe as s}from"../../core/maybe.js";import{EsriPromiseMixin as c}from"../../core/Promise.js";import{throwIfAborted as l}from"../../core/promiseUtils.js";import{property as u,subclass as d}from"../../core/accessorSupport/decorators.js";import{UpdatingHandles as f}from"../../core/support/UpdatingHandles.js";import{validateScaleRange as p}from"../../geometry/support/scaleUtils.js";import{getAttributionItemFromUserCopyright as m,isDynamicAttributionLayer as h,createAttributionIndex as g,getAttributionItemsFromIndex as _,getAttributionItemFromAccessInformation as v,getAttributionItemFromLayerCopyright as y}from"../support/attributionUtils.js";let b=class extends i(c(r)){get spatialReferenceSupported(){return!0}constructor(e){super(e),this._updatingHandles=new f,this._attributionIndexTask=null,this.layer=null,this.parent=null}initialize(){this.when().catch(e=>{if(e?.name!==`layerview:create-error`){let t=this.layer&&this.layer.id||`no id`,n=this.layer?.title||`no title`;a.getLogger(this).error(`#resolve()`,`Failed to resolve layer view (layer title: '${n}', id: '${t}')`,e)}})}destroy(){this._updatingHandles=o(this._updatingHandles),this._attributionIndexTask=s(this._attributionIndexTask),this._set(`parent`,null)}get attributionItems(){let e=this._get(`attributionItems`)??[];if(this.suspended||!this.layer?.attributionVisible)return e.length===0?e:[];if(!this.view.stationary)return e;let n=this.getAttributionItems();return t(e,n,(e,t)=>e.text===t.text)?e:n}get attributionUpdating(){return this._attributionIndexTask?!this._attributionIndexTask.finished:!1}get fullOpacity(){return(this.layer?.opacity??1)*(this.parent?.fullOpacity??1)}get suspended(){return this.destroyed||!this.canResume()}get suspendInfo(){return this.getSuspendInfo()}get legendEnabled(){return!this.suspended&&this.layer?.legendEnabled===!0}get updating(){return!!(this._updatingHandles?.updating||this.isUpdating())}get updatingProgress(){return+!this.updating}get updateSuspended(){return this.suspended}get visible(){return this.layer?.visible===!0}set visible(e){this._overrideIfSome(`visible`,e)}get visibleAtCurrentScale(){return!0}get visibleAtCurrentTimeExtent(){let e=this.view.timeExtent,t=this.layer?.visibilityTimeExtent;return!e||!t||!e.intersection(t).isEmpty}canResume(){let e=this.layer&&`effectiveScaleRange`in this.layer?this.layer.effectiveScaleRange:null;return this.visible&&this.layer?.loaded&&this.parent&&!this.parent.suspended&&this.view?.ready&&p(e)&&this.visibleAtCurrentScale&&this.visibleAtCurrentTimeExtent||!1}getSuspendInfo(){let e=this.parent?.suspended?this.parent.suspendInfo:{};this.view?.ready||(e.viewNotReady=!0),(!this.layer||!this.layer.loaded)&&(e.layerNotLoaded=!0);let t=this.layer&&`effectiveScaleRange`in this.layer?this.layer.effectiveScaleRange:null;return(!p(t)||!this.visibleAtCurrentScale)&&(e.outsideScaleRange=!0),this.visibleAtCurrentTimeExtent||(e.outsideVisibilityTimeExtent=!0),this.visible||(e.layerInvisible=!0),e}isUpdating(){return!1}getAttributionItems(){let e=m(this.layer);if(e)return[e];if(h(this.layer)&&(this._attributionIndexTask||(this._attributionIndexTask=n(async e=>{let t=await this.layer.fetchAttributionData();return l(e),g(t)}),this._updatingHandles.consumePromise(this._attributionIndexTask.promise)),this._attributionIndexTask?.finished&&this._attributionIndexTask.value))return _(this._attributionIndexTask.value,this.layer.tileInfo,this.view.scale,this.view.extent);let t=v(this.layer);if(t)return[t];let r=y(this.layer);return r?[r]:[]}};e([u({readOnly:!0})],b.prototype,`spatialReferenceSupported`,null),e([u()],b.prototype,`view`,void 0),e([u({readOnly:!0})],b.prototype,`attributionItems`,null),e([u({readOnly:!0})],b.prototype,`attributionUpdating`,null),e([u()],b.prototype,`fullOpacity`,null),e([u()],b.prototype,`layer`,void 0),e([u()],b.prototype,`parent`,void 0),e([u({readOnly:!0})],b.prototype,`suspended`,null),e([u({readOnly:!0})],b.prototype,`suspendInfo`,null),e([u({readOnly:!0})],b.prototype,`legendEnabled`,null),e([u({type:Boolean,readOnly:!0})],b.prototype,`updating`,null),e([u({readOnly:!0})],b.prototype,`updatingProgress`,null),e([u()],b.prototype,`updateSuspended`,null),e([u()],b.prototype,`visible`,null),e([u({readOnly:!0})],b.prototype,`visibleAtCurrentScale`,null),e([u({readOnly:!0})],b.prototype,`visibleAtCurrentTimeExtent`,null),b=e([d(`esri.views.layers.LayerView`)],b);export{b as default};
@@ -2,8 +2,7 @@ import type Collection from "../../core/Collection.js";
2
2
  import type LineOfSightLayer from "../../layers/LineOfSightLayer.js";
3
3
  import type LineOfSightAnalysisResult from "../3d/analysis/LineOfSightAnalysisResult.js";
4
4
  import type LayerView from "./LayerView.js";
5
- import type { AbortOptions } from "../../core/promiseUtils.js";
6
- import type { LineOfSightPlacementResult } from "../3d/analysis/LineOfSight/types.js";
5
+ import type { LineOfSightPlacementOptions, LineOfSightPlacementResult } from "../3d/analysis/LineOfSight/types.js";
7
6
  import type { LayerViewProperties } from "./LayerView.js";
8
7
 
9
8
  export interface LineOfSightLayerViewProperties extends LayerViewProperties, Partial<Pick<LineOfSightLayerView, "interactive">> {}
@@ -86,7 +85,7 @@ export default abstract class LineOfSightLayerView extends LayerView {
86
85
  *
87
86
  * Calling this method sets [interactive](https://developers.arcgis.com/javascript/latest/references/core/views/layers/LineOfSightLayerView/#interactive) to `true`.
88
87
  *
89
- * @param options - An object specifying additional options.
88
+ * @param options - Additional placement options, including elevation information and an abort signal.
90
89
  * @returns A promise
91
90
  * which resolves when the operation is completed successfully - i.e. the user places an observer and/or target(s),
92
91
  * leaving the analysis in a valid state. Otherwise, the promise is rejected.
@@ -105,5 +104,5 @@ export default abstract class LineOfSightLayerView extends LayerView {
105
104
  * // cancel the placement operation at some later point
106
105
  * abortController.abort();
107
106
  */
108
- place(options?: AbortOptions | null | undefined): Promise<LineOfSightPlacementResult>;
107
+ place(options?: LineOfSightPlacementOptions | null | undefined): Promise<LineOfSightPlacementResult>;
109
108
  }
@@ -36,7 +36,7 @@ export abstract class PointCloudLayerViewMixin {
36
36
  /** The point cloud layer being viewed. */
37
37
  get layer(): PointCloudLayer;
38
38
  /**
39
- * Creates query parameter object that can be used to fetch points as they are being
39
+ * Creates a query parameter object that can be used to fetch points as they are being
40
40
  * displayed. It sets the query parameter's [Query.outFields](https://developers.arcgis.com/javascript/latest/references/core/rest/support/Query/#outFields)
41
41
  * property to `["*"]` and [Query.returnGeometry](https://developers.arcgis.com/javascript/latest/references/core/rest/support/Query/#returnGeometry) to `true`.
42
42
  * The output spatial reference is set to the spatial reference of the view.
@@ -112,7 +112,7 @@ export default abstract class SceneLayerView extends LayerView {
112
112
  */
113
113
  get maximumNumberOfFeaturesExceeded(): boolean;
114
114
  /**
115
- * Creates query parameter object that can be used to fetch features as they are being
115
+ * Creates a query parameter object that can be used to fetch features as they are being
116
116
  * displayed. It sets the query parameter's [Query.outFields](https://developers.arcgis.com/javascript/latest/references/core/rest/support/Query/#outFields)
117
117
  * property to `["*"]` and [Query.returnGeometry](https://developers.arcgis.com/javascript/latest/references/core/rest/support/Query/#returnGeometry) to `true`.
118
118
  * The output spatial reference is set to the spatial reference of the view. The filter that currently
@@ -1,8 +1,7 @@
1
1
  import type Viewshed from "../../analysis/Viewshed.js";
2
2
  import type ViewshedLayer from "../../layers/ViewshedLayer.js";
3
3
  import type LayerView from "./LayerView.js";
4
- import type { AbortOptions } from "../../core/promiseUtils.js";
5
- import type { ViewshedPlacementResult } from "../3d/analysis/Viewshed/types.js";
4
+ import type { ViewshedPlacementOptions, ViewshedPlacementResult } from "../3d/analysis/Viewshed/types.js";
6
5
  import type { LayerViewProperties } from "./LayerView.js";
7
6
 
8
7
  export interface ViewshedLayerViewProperties extends LayerViewProperties, Partial<Pick<ViewshedLayerView, "interactive" | "selectedViewshed">> {}
@@ -68,7 +67,7 @@ export default abstract class ViewshedLayerView extends LayerView {
68
67
  *
69
68
  * Calling this method sets [interactive](https://developers.arcgis.com/javascript/latest/references/core/views/layers/ViewshedLayerView/#interactive) to `true`.
70
69
  *
71
- * @param options - An object specifying additional options.
70
+ * @param options - Additional placement options, including elevation information and an abort signal.
72
71
  * @returns A promise which resolves when creation is completed successfully or rejected if it is
73
72
  * canceled.
74
73
  * @example
@@ -85,7 +84,7 @@ export default abstract class ViewshedLayerView extends LayerView {
85
84
  * // cancel the placement operation at some later point
86
85
  * abortController.abort();
87
86
  */
88
- createViewsheds(options?: AbortOptions | null | undefined): Promise<void>;
87
+ createViewsheds(options?: ViewshedPlacementOptions | null | undefined): Promise<void>;
89
88
  /**
90
89
  * Starts the interactive placement of a single viewshed, adding it to the [layer](https://developers.arcgis.com/javascript/latest/references/core/views/layers/ViewshedLayerView/#layer)'s
91
90
  * [ViewshedLayer.source](https://developers.arcgis.com/javascript/latest/references/core/layers/ViewshedLayer/#source).
@@ -97,7 +96,7 @@ export default abstract class ViewshedLayerView extends LayerView {
97
96
  *
98
97
  * Calling this method sets [interactive](https://developers.arcgis.com/javascript/latest/references/core/views/layers/ViewshedLayerView/#interactive) to `true`.
99
98
  *
100
- * @param options - An object specifying additional options.
99
+ * @param options - Additional placement options, including elevation information and an abort signal.
101
100
  * @returns A promise which
102
101
  * resolves when the operation is completed successfully or rejected if it is canceled.
103
102
  * @since 4.33
@@ -115,5 +114,5 @@ export default abstract class ViewshedLayerView extends LayerView {
115
114
  * // cancel the placement operation at some later point
116
115
  * abortController.abort();
117
116
  */
118
- place(options?: AbortOptions | null | undefined): Promise<ViewshedPlacementResult>;
117
+ place(options?: ViewshedPlacementOptions | null | undefined): Promise<ViewshedPlacementResult>;
119
118
  }
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import e from"../../core/Error.js";import has from"../../core/has.js";function t(e){return e&&typeof e.highlight==`function`}function n(e){return e&&typeof e.maskOccludee==`function`}function r(e,t,n){return e==null||e>=n&&(t===0||e<=t)}function i(e,t){if(t&&e){let{minScale:n,maxScale:i}=e;if(a(n,i))return r(t,n,i)}return!0}function a(e,t){return e!=null&&e>0||t!=null&&t>0}function o(e){return!e?.minScale||!e.maxScale||e.minScale>=e.maxScale}const s=()=>!has(`disable-feature:layer-based-scale-visibility`);function c(e){return typeof e==`object`&&!!e&&`createQuery`in e&&`queryFeatures`in e&&`layer`in e&&`view`in e}function l(t,n,r){return new e(`layerview:spatial-reference-incompatible`,`The spatial reference of this ${t} (wkid: ${n??`undefined`}) is incompatible with the spatial reference of the view (wkid: ${r??`undefined`}).`,{})}function u(e){return e.type===`integrated-mesh-3d`||e.type===`integrated-mesh-3dtiles`}export{s as hasLayerBasedScaleVisibility,t as highlightsSupported,i as isInEffectiveScaleRange,u as isIntegratedMeshLayerView,a as isScaleRangeActive,c as isSelectableLayerView2D,n as occludeesSupported,r as scaleBoundsPredicate,l as spatialReferenceIncompatibleError,o as validateScaleRange};
2
+ import e from"../../core/Error.js";import has from"../../core/has.js";function t(e){return e&&typeof e.highlight==`function`}function n(e){return e&&typeof e.maskOccludee==`function`}const r=()=>!has(`disable-feature:layer-based-scale-visibility`);function i(e){return typeof e==`object`&&!!e&&`createQuery`in e&&`queryFeatures`in e&&`layer`in e&&`view`in e}function a(t,n,r){return new e(`layerview:spatial-reference-incompatible`,`The spatial reference of this ${t} (wkid: ${n??`undefined`}) is incompatible with the spatial reference of the view (wkid: ${r??`undefined`}).`,{})}function o(e){return e.type===`integrated-mesh-3d`||e.type===`integrated-mesh-3dtiles`}export{r as hasLayerBasedScaleVisibility,t as highlightsSupported,o as isIntegratedMeshLayerView,i as isSelectableLayerView2D,n as occludeesSupported,a as spatialReferenceIncompatibleError};
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import e from"../../core/Error.js";import{getLayersWithChartSupport as t}from"../../layers/support/layerUtils.js";import{newUnsupportedError as n,webDocUnsupportedErrorSet as r}from"./unsupportedErrors.js";async function i(e){let t=[];for(let n of e.allLayers)if(`beforeSave`in n&&typeof n.beforeSave==`function`){let e=n.beforeSave();e&&t.push(e)}await Promise.allSettled(t)}function a(t,i,a){let o=(t.messages??[]).filter(({type:e})=>e===`error`).map(({name:t,message:n,details:r})=>new e(t,n,r));if(t.blockedRelativeUrls&&(o=o.concat(t.blockedRelativeUrls.map(e=>n(`url`,`Relative url '${e}' is not supported`)))),a){let{ignoreUnsupported:e,supplementalUnsupportedErrors:t=[],requiredPropertyChecksDisabled:n}=a;e&&(o=o.filter(({name:e})=>!(r.has(e)||t.includes(e)))),n&&(o=o.filter(e=>e.name!==`web-document-write:property-required`))}if(o.length>0)throw new e(i.errorName,`Failed to save due to unsupported or invalid content. See 'details.errors' for more detailed information`,{errors:o})}function o(e){return t(e).some(e=>!!e.charts?.length)}export{i as beforeSave,a as evaluateWriteErrors,o as hasCharts};
2
+ import e from"../../core/Error.js";import{hasSamePortal as t}from"../../core/urlUtils.js";import{getLayersWithChartSupport as n}from"../../layers/support/layerUtils.js";import r from"../../portal/Portal.js";import{newUnsupportedError as i,webDocUnsupportedErrorSet as a}from"./unsupportedErrors.js";async function o(e){let t=[];for(let n of e.allLayers)if(`beforeSave`in n&&typeof n.beforeSave==`function`){let e=n.beforeSave();e&&t.push(e)}await Promise.allSettled(t)}function s(t,n,r){let o=(t.messages??[]).filter(({type:e})=>e===`error`).map(({name:t,message:n,details:r})=>new e(t,n,r));if(t.blockedRelativeUrls&&(o=o.concat(t.blockedRelativeUrls.map(e=>i(`url`,`Relative url '${e}' is not supported`)))),r){let{ignoreUnsupported:e,supplementalUnsupportedErrors:t=[],requiredPropertyChecksDisabled:n}=r;e&&(o=o.filter(({name:e})=>!(a.has(e)||t.includes(e)))),n&&(o=o.filter(e=>e.name!==`web-document-write:property-required`))}if(o.length>0)throw new e(n.errorName,`Failed to save due to unsupported or invalid content. See 'details.errors' for more detailed information`,{errors:o})}function c(e){return n(e).some(e=>!!e.charts?.length)}function l(e,n){let i=n?.portal,a=e?.id&&(e.portal||r.getDefault());return!!i&&!!a&&!t(a.restUrl,i.restUrl)}export{o as beforeSave,s as evaluateWriteErrors,c as hasCharts,l as isCrossPortalWrite};
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import e from"../../core/Error.js";import t from"../../core/Warning.js";const n=[`layer`,`property`,`renderer`,`symbol`,`symbol-layer`,`url`,`visual-variable`,`type`,`elevation-profile-line`,`field-configuration-field-format`].map(e=>`${e}:unsupported`),r=new Set(n);function i(e,t,n){if(!e)return;let r=`${e.origin}/${e.layerContainerType||`operational-layers`}`;e?.messages?.push(c(`layer`,`Layer (${t.title}, ${t.id}) of type '${t.declaredClass}' is not supported in the context of '${r}'${n?`: ${n}`:``}`,{layer:t}))}function a(e,t,n){if(!e)return;let r=`${e.origin}/${e.layerContainerType||`operational-layers`}`;e?.messages?.push(c(`property`,`Property '${t}' is not supported in the context of '${r}'${n?`: ${n}`:``}`))}function o(e,t,n,r){if(!e)return;let i=`${e.origin}/${e.layerContainerType||`operational-layers`}`;e?.messages?.push(c(`symbol`,`Symbol '${t.declaredClass}' is not supported in the context of '${i}'${n?`: ${n}`:``}`,r))}function s(n,r,i,a,o){n&&n?.messages?.push(l(r===`warning`?t:e,i,a,o))}function c(t,n,r){return l(e,t,n,r)}function l(e,t,n,r){return new e(`${t}:unsupported`,n,r)}export{i as addLayerUnsupportedError,a as addPropertyUnsupportedError,o as addSymbolUnsupportedError,s as addUnsupportedMessage,c as newUnsupportedError,r as webDocUnsupportedErrorSet};
2
+ import e from"../../core/Error.js";import t from"../../core/Warning.js";const n=[`layer`,`property`,`renderer`,`symbol`,`symbol-layer`,`url`,`visual-variable`,`type`,`elevation-profile-line`,`field-configuration-field-format`,`parquet-data`].map(e=>`${e}:unsupported`),r=new Set(n);function i(e,t,n){if(!e)return;let r=`${e.origin}/${e.layerContainerType||`operational-layers`}`;e?.messages?.push(c(`layer`,`Layer (${t.title}, ${t.id}) of type '${t.declaredClass}' is not supported in the context of '${r}'${n?`: ${n}`:``}`,{layer:t}))}function a(e,t,n){if(!e)return;let r=`${e.origin}/${e.layerContainerType||`operational-layers`}`;e?.messages?.push(c(`property`,`Property '${t}' is not supported in the context of '${r}'${n?`: ${n}`:``}`))}function o(e,t,n,r){if(!e)return;let i=`${e.origin}/${e.layerContainerType||`operational-layers`}`;e?.messages?.push(c(`symbol`,`Symbol '${t.declaredClass}' is not supported in the context of '${i}'${n?`: ${n}`:``}`,r))}function s(n,r,i,a,o){n&&n?.messages?.push(l(r===`warning`?t:e,i,a,o))}function c(t,n,r){return l(e,t,n,r)}function l(e,t,n,r){return new e(`${t}:unsupported`,n,r)}export{i as addLayerUnsupportedError,a as addPropertyUnsupportedError,o as addSymbolUnsupportedError,s as addUnsupportedMessage,c as newUnsupportedError,r as webDocUnsupportedErrorSet};
@@ -5,12 +5,14 @@ import type SketchLabelOptions from "../views/interactive/sketch/SketchLabelOpti
5
5
  import type SketchTooltipOptions from "../views/interactive/sketch/SketchTooltipOptions.js";
6
6
  import type SketchValueOptions from "../views/interactive/sketch/SketchValueOptions.js";
7
7
  import type SnappingOptions from "../views/interactive/snapping/SnappingOptions.js";
8
+ import type SelectionOperation from "../views/selection/SelectionOperation.js";
8
9
  import type Widget from "./Widget.js";
9
10
  import type EditorViewModel from "./Editor/EditorViewModel.js";
10
11
  import type VisibleElements from "./Editor/VisibleElements.js";
11
12
  import type EditorItem from "./Editor/support/EditorItem.js";
12
13
  import type { Icon } from "@esri/calcite-components/components/calcite-icon";
13
14
  import type { MapViewOrSceneView } from "../views/MapViewOrSceneView.js";
15
+ import type { SelectionToolName } from "../views/selection/types.js";
14
16
  import type { WidgetProperties } from "./Widget.js";
15
17
  import type { EditorViewModelEvents, EditorViewModelProperties } from "./Editor/EditorViewModel.js";
16
18
  import type { CancelWorkflowOptions, CreationInfo, EditorStartCreateFeaturesWorkflowAtFeatureEditParameters, EditorStartCreateFeaturesWorkflowAtFeatureTypeSelectionParameters, EditorStartMergeFeaturesWorkflowOptions, EditorStartSplitFeatureWorkflowOptions, FeatureInfo, LayerInfo, SupportingWidgetDefaults } from "./Editor/types.js";
@@ -629,6 +631,14 @@ export default class Editor extends Widget {
629
631
  */
630
632
  get visibleElements(): VisibleElements;
631
633
  set visibleElements(value: VisibleElementsProperties);
634
+ /**
635
+ * Activates a selection tool specified by name. Additionally, cancels the previously active selection operation.
636
+ *
637
+ * @param toolName - The name of the selection tool to activate.
638
+ * @returns A reference to the active selection operation.
639
+ * @since 5.2
640
+ */
641
+ activateSelectionTool(toolName: SelectionToolName): SelectionOperation | undefined;
632
642
  /**
633
643
  * Cancels any active selection operation.
634
644
  *
@@ -119,6 +119,7 @@ export type LegendStyle = CardView | ClassicView;
119
119
  * > [KMLLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/KMLLayer/),
120
120
  * > [MapNotesLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/MapNotesLayer/),
121
121
  * > [OpenStreetMapLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/OpenStreetMapLayer/),
122
+ * > [SketchLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/SketchLayer/),
122
123
  * > [VectorTileLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/VectorTileLayer/),
123
124
  * > [VideoLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/VideoLayer/), and
124
125
  * > [WebTileLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/WebTileLayer/).