@arcgis/core 5.0.0-next.53 → 5.0.0-next.54

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 (724) hide show
  1. package/Basemap.d.ts +1 -1
  2. package/Color.js +1 -1
  3. package/PopupTemplate.d.ts +2 -2
  4. package/WebLinkChart.d.ts +1 -1
  5. package/applications/Components/QuantityFormatter.d.ts +7 -7
  6. package/applications/Components/analysisUtils.d.ts +28 -53
  7. package/applications/Components/baUtils.d.ts +8 -0
  8. package/applications/Components/featureUtils.d.ts +1 -1
  9. package/applications/Components/imageryUtils.d.ts +2 -2
  10. package/applications/Components/layerOriginUtils.d.ts +3 -3
  11. package/applications/Components/reactiveUtils.d.ts +24 -5
  12. package/applications/Excalibur/videoViewUtils.d.ts +2 -2
  13. package/applications/ExperienceBuilder/sketchUtils.d.ts +6 -6
  14. package/applications/KnowledgeStudio/generalSdkInternalAccess.d.ts +7 -13
  15. package/applications/KnowledgeStudio/generalSharedKgUtils.d.ts +7 -7
  16. package/applications/KnowledgeStudio/reshape.d.ts +6 -15
  17. package/applications/MapViewer/mediaUtils.d.ts +4 -4
  18. package/applications/MapViewer/templateUtils.d.ts +3 -3
  19. package/applications/PortalApp/layerUtils.d.ts +10 -0
  20. package/applications/PortalApp/layerUtils.js +5 -0
  21. package/arcade/featureSetUtils.js +1 -1
  22. package/arcade/featureset/support/shared.js +1 -1
  23. package/arcade.d.ts +33 -17
  24. package/assets/esri/core/workers/RemoteClient.js +1 -1
  25. package/assets/esri/core/workers/chunks/{5aa354854219361f722b.js → 0099f4729c94c779ba35.js} +1 -1
  26. package/assets/esri/core/workers/chunks/00e407d262c49890afa8.js +1 -0
  27. package/assets/esri/core/workers/chunks/{15a0750c10b510564a42.js → 01d38a9ca9e88c38aab9.js} +1 -1
  28. package/assets/esri/core/workers/chunks/087cf25ca211836a084a.js +1 -0
  29. package/assets/esri/core/workers/chunks/{a3f23f08337e101e4e64.js → 097001462d93b78b64f4.js} +1 -1
  30. package/assets/esri/core/workers/chunks/0a39c6dc57bd60d5587e.js +1 -0
  31. package/assets/esri/core/workers/chunks/0d1e8d5d9abee38e275e.js +316 -0
  32. package/assets/esri/core/workers/chunks/{cef873da468668eb95cb.js → 18cc131fd63d8c15df54.js} +3 -4
  33. package/assets/esri/core/workers/chunks/{da922e861d5845ae0979.js → 1ab98591d2f2bc604505.js} +1 -1
  34. package/assets/esri/core/workers/chunks/1b2e17c04c34cfa671a1.js +1 -0
  35. package/assets/esri/core/workers/chunks/211837df0edada4414c5.js +1 -0
  36. package/assets/esri/core/workers/chunks/22b07c54a5fcc27771b0.js +1 -0
  37. package/assets/esri/core/workers/chunks/{cd8fec3500e6503ae020.js → 23a9dd9454d5249bbd59.js} +1 -1
  38. package/assets/esri/core/workers/chunks/311c4914a4f69f3c1525.js +1 -0
  39. package/assets/esri/core/workers/chunks/316f3e93aa0db48ef129.js +1 -0
  40. package/assets/esri/core/workers/chunks/{108675a17e432a02cf66.js → 35cbc61a006351620ead.js} +1 -1
  41. package/assets/esri/core/workers/chunks/{1bf4b5e5402790ccb450.js → 369f37060608342a4262.js} +1 -1
  42. package/assets/esri/core/workers/chunks/3b5e71b156244789f624.js +1 -0
  43. package/assets/esri/core/workers/chunks/3f0959b1abafe516146e.js +1 -0
  44. package/assets/esri/core/workers/chunks/{553ca1e55e9f1359839c.js → 44c228388a95fa958827.js} +1 -1
  45. package/assets/esri/core/workers/chunks/454c15367cccbf63af7a.js +1 -0
  46. package/assets/esri/core/workers/chunks/{f3d8d5fe15501220792d.js → 495b11fdecc3ba90d454.js} +1 -1
  47. package/assets/esri/core/workers/chunks/4f33a2ecb154a2c2449c.js +1 -0
  48. package/assets/esri/core/workers/chunks/{b1d3d2c93c189e215f67.js → 5047acfd66539eefe353.js} +1 -1
  49. package/assets/esri/core/workers/chunks/{cddce67919e13e2f365e.js → 51fd6662245b920af652.js} +1 -1
  50. package/assets/esri/core/workers/chunks/52726458f590e726d52c.js +1 -0
  51. package/assets/esri/core/workers/chunks/{d677b378449257103ec4.js → 58cf5b9a6aa685fc3367.js} +1 -1
  52. package/assets/esri/core/workers/chunks/{395a0773ccafd1f24c4d.js → 5d31fbabaa875f8627c0.js} +1 -1
  53. package/assets/esri/core/workers/chunks/67a45faa80316f43c51b.js +1 -0
  54. package/assets/esri/core/workers/chunks/6d09965ab2bff9da88b6.js +1 -0
  55. package/assets/esri/core/workers/chunks/{521aac8a665e98e4ca78.js → 700122f775b98a7ed353.js} +1 -1
  56. package/assets/esri/core/workers/chunks/{a92c1171314a68504c1b.js → 7353d78feba7e6302b6e.js} +1 -1
  57. package/assets/esri/core/workers/chunks/{13ce8e8d45779b11ee12.js → 7f4fa2f2e85863d3cfb9.js} +1 -1
  58. package/assets/esri/core/workers/chunks/{a4f89568205d78d91cfe.js → 80c36f1786ae0be00962.js} +1 -1
  59. package/assets/esri/core/workers/chunks/{549f4ab9e285deaf04fb.js → 81d89107ff82604a3ea0.js} +1 -1
  60. package/assets/esri/core/workers/chunks/8208c073e606973ea1ad.js +1 -0
  61. package/assets/esri/core/workers/chunks/{62ed6b45482e39d67785.js → 893a5ab0c2df9262efd8.js} +1 -1
  62. package/assets/esri/core/workers/chunks/{1f0c7ab33e466a37c7f9.js → 8c1f1eb36198ce40ef13.js} +1 -1
  63. package/assets/esri/core/workers/chunks/92928c56b312e1514600.js +1 -0
  64. package/assets/esri/core/workers/chunks/94929cf2b9fc66a93882.js +1 -0
  65. package/assets/esri/core/workers/chunks/94f02082a006003ef5a9.js +1 -0
  66. package/assets/esri/core/workers/chunks/951e3c911a3486b1e609.js +1 -0
  67. package/assets/esri/core/workers/chunks/{54666586754949bfa584.js → 983356eb4fd0a0dcf3fd.js} +1 -1
  68. package/assets/esri/core/workers/chunks/a16e75ff5cd9b22be197.js +1 -0
  69. package/assets/esri/core/workers/chunks/{36d9208895abd1ba4ff1.js → a623676c74745e040a2a.js} +1 -1
  70. package/assets/esri/core/workers/chunks/{1065fd655bb7cee243fd.js → a624dd283d264dce35a8.js} +1 -1
  71. package/assets/esri/core/workers/chunks/{2dfaead2ec6434513d45.js → a6742abe3ebe371e85f1.js} +1 -1
  72. package/assets/esri/core/workers/chunks/acc7ff44bfcb5c195114.js +1 -0
  73. package/assets/esri/core/workers/chunks/ad92427bf597a6e0a299.js +1 -0
  74. package/assets/esri/core/workers/chunks/{640085b5ade5c7f16228.js → b285de471ca90f38ec25.js} +1 -1
  75. package/assets/esri/core/workers/chunks/b8f83a272fc41765031d.js +1 -0
  76. package/assets/esri/core/workers/chunks/{19270a2de33f2662005b.js → b93f2bd6429879f92143.js} +1 -1
  77. package/assets/esri/core/workers/chunks/be6cc8a1485961f22372.js +1 -0
  78. package/assets/esri/core/workers/chunks/{bf5a120bc0c4851dbb69.js → bef2a70d382515b3c84e.js} +1 -1
  79. package/assets/esri/core/workers/chunks/{e2973e5626e5039209f9.js → c448540065690cac0744.js} +1 -1
  80. package/assets/esri/core/workers/chunks/cc67f066c3c0c2a1a37c.js +33 -0
  81. package/assets/esri/core/workers/chunks/{95057105f1b3bf805140.js → cd2ea924cb91cdb6dde9.js} +1 -1
  82. package/assets/esri/core/workers/chunks/d199deff988eaefe18b4.js +1 -0
  83. package/assets/esri/core/workers/chunks/{2ef4c0092c59a98a5532.js → d54988c21ea5667d00b7.js} +1 -1
  84. package/assets/esri/core/workers/chunks/d94a2ad5a91de7086fbe.js +1 -0
  85. package/assets/esri/core/workers/chunks/{23396a6318edf9264c1f.js → dcf6f7001f470f76bd3e.js} +1 -1
  86. package/assets/esri/core/workers/chunks/{cd39a53ef74f47604977.js → e03c706e327f4989280a.js} +1 -1
  87. package/assets/esri/core/workers/chunks/e47535f795b15608a6cb.js +1 -0
  88. package/assets/esri/core/workers/chunks/e572ffc1d000e4e6325f.js +1 -0
  89. package/assets/esri/core/workers/chunks/ed38c1043e6a83f49f93.js +1 -0
  90. package/assets/esri/core/workers/chunks/{11ab10668632648b2ba7.js → f2e8abb556a380cc2941.js} +1 -1
  91. package/assets/esri/core/workers/chunks/f44f358db5c56d5bbc0c.js +1 -0
  92. package/assets/esri/core/workers/chunks/fa95c9248fbfab338f2e.js +1 -0
  93. package/chunks/ComponentShader.glsl.js +29 -29
  94. package/chunks/Haze.glsl.js +15 -21
  95. package/config.d.ts +1 -1
  96. package/config.js +1 -1
  97. package/core/Collection.d.ts +1 -1
  98. package/core/Error.d.ts +1 -1
  99. package/core/Evented.d.ts +1 -1
  100. package/core/accessorSupport/decorators.d.ts +1 -1
  101. package/core/colorUtils.js +1 -1
  102. package/editing/sharedTemplates/SharedTemplate.d.ts +1 -1
  103. package/editing/sharedTemplates/SharedTemplateMetadata.d.ts +1 -1
  104. package/geometry/Mesh.d.ts +1 -2
  105. package/geometry/coordinateFormatter.d.ts +1 -1
  106. package/geometry/projectionUtils.js +1 -1
  107. package/geometry/support/MeshMaterial.d.ts +1 -1
  108. package/geometry/support/MeshMaterialMetallicRoughness.d.ts +1 -1
  109. package/geometry/support/MeshTexture.d.ts +1 -1
  110. package/geometry/support/meshUtils/{interfaces.d.ts → types.d.ts} +10 -1
  111. package/geometry/support/meshUtils.d.ts +1 -1
  112. package/geometry/support/normalizeUtils.d.ts +1 -1
  113. package/geometry/support/typeUtils.d.ts +3 -1
  114. package/geometry/support/typeUtils.js +1 -1
  115. package/geometry/types.d.ts +5 -0
  116. package/interfaces.d.ts +758 -786
  117. package/intl/date.d.ts +1 -1
  118. package/kernel.js +1 -1
  119. package/layers/CSVLayer.d.ts +3 -3
  120. package/layers/CatalogLayer.d.ts +1 -1
  121. package/layers/FeatureLayer.d.ts +1 -1
  122. package/layers/GaussianSplatLayer.d.ts +22 -0
  123. package/layers/GeoJSONLayer.d.ts +3 -3
  124. package/layers/ImageryTileLayer.d.ts +9 -9
  125. package/layers/MapImageLayer.d.ts +2 -2
  126. package/layers/OrientedImageryLayer.d.ts +2 -2
  127. package/layers/ParquetLayer.d.ts +1 -1
  128. package/layers/RouteLayer.d.ts +3 -3
  129. package/layers/SceneLayer.d.ts +3 -3
  130. package/layers/SubtypeGroupLayer.d.ts +1 -1
  131. package/layers/VectorTileLayer.d.ts +3 -3
  132. package/layers/VideoLayer.d.ts +2 -2
  133. package/layers/WCSLayer.d.ts +1 -1
  134. package/layers/WFSLayer.d.ts +3 -3
  135. package/layers/catalog/CatalogFootprintLayer.d.ts +3 -3
  136. package/layers/graphics/sources/OGCFeatureSource.js +1 -1
  137. package/layers/graphics/sources/support/ParquetSourceWorker.js +1 -1
  138. package/layers/graphics/sources/support/clientSideDefaults.js +1 -1
  139. package/layers/knowledgeGraph/KnowledgeGraphSublayer.d.ts +2 -2
  140. package/layers/knowledgeGraph/layerUtils.js +1 -1
  141. package/layers/mixins/ArcGISImageService.d.ts +7 -7
  142. package/layers/mixins/BlendLayer.d.ts +2 -2
  143. package/layers/mixins/EditBusLayer.d.ts +6 -0
  144. package/layers/mixins/FeatureLayerBase.d.ts +2 -2
  145. package/layers/mixins/ImageryTileMixin.d.ts +4 -4
  146. package/layers/mixins/properties/ILayerWithGetFeatureTitle.d.ts +1 -1
  147. package/layers/ogc/wcsUtils.d.ts +1 -1
  148. package/layers/orientedImagery/transformations/imageToWorld.d.ts +2 -2
  149. package/layers/orientedImagery/transformations/{interfaces.d.ts → types.d.ts} +1 -1
  150. package/layers/orientedImagery/transformations/worldToImage.d.ts +2 -2
  151. package/layers/raster/datasets/wcsCapabilitiesParser.d.ts +1 -1
  152. package/layers/raster/datasets/wcsCoverageParser.d.ts +1 -1
  153. package/layers/raster/functions/creators/createAppearenceFunctions.d.ts +2 -2
  154. package/layers/raster/functions/creators/createBandIndexFunctions.d.ts +1 -1
  155. package/layers/raster/functions/creators/createChangeFunctions.d.ts +1 -1
  156. package/layers/raster/functions/creators/createConversionFunctions.d.ts +1 -1
  157. package/layers/raster/functions/creators/createDataManagementFunctions.d.ts +2 -2
  158. package/layers/raster/functions/creators/createLocalFunctions.d.ts +1 -1
  159. package/layers/raster/functions/creators/createMultiRasterAnalysisFunctions.d.ts +1 -1
  160. package/layers/raster/functions/creators/createStatisticsFunctions.d.ts +1 -1
  161. package/layers/raster/functions/creators/createSurfaceFunctions.d.ts +1 -1
  162. package/layers/support/ControlPoint.d.ts +3 -3
  163. package/layers/support/ControlPointsGeoreference.d.ts +6 -6
  164. package/layers/support/EditingCapabilities.d.ts +2 -2
  165. package/layers/support/FeatureEffect.d.ts +3 -3
  166. package/layers/support/LabelClass.d.ts +1 -1
  167. package/layers/support/RasterInfo.d.ts +1 -1
  168. package/layers/support/SpriteSource.d.ts +1 -1
  169. package/layers/support/StreamConnection.d.ts +1 -1
  170. package/layers/support/Sublayer.d.ts +1 -1
  171. package/layers/support/SubtypeSublayer.d.ts +2 -2
  172. package/layers/support/TimeInfo.d.ts +1 -1
  173. package/layers/support/capabilities.js +1 -1
  174. package/layers/support/layerUtils.js +1 -1
  175. package/layers/support/rasterFunctionUtils.d.ts +1 -1
  176. package/layers/support/serviceCapabilitiesUtils.js +1 -1
  177. package/layers/support/{interfaces.d.ts → types.d.ts} +6 -6
  178. package/layers/{interfaces.d.ts → types.d.ts} +18 -1
  179. package/linkChart/ChronologicalLayoutSettings.d.ts +1 -1
  180. package/linkChart/OrganicLayoutSettings.d.ts +1 -1
  181. package/networks/Network.d.ts +4 -4
  182. package/networks/UtilityNetwork.d.ts +8 -8
  183. package/networks/support/TopologyValidationJobInfo.d.ts +1 -1
  184. package/networks/support/TraceJobInfo.d.ts +1 -1
  185. package/package.json +1 -1
  186. package/popup/content/CustomContent.d.ts +1 -1
  187. package/portal/PortalItem.d.ts +1 -1
  188. package/portal/PortalItemResource.d.ts +1 -1
  189. package/portal/PortalUser.d.ts +2 -2
  190. package/renderers/FlowRenderer.d.ts +1 -1
  191. package/renderers/RasterStretchRenderer.d.ts +2 -2
  192. package/renderers/Renderer.d.ts +1 -1
  193. package/renderers/VectorFieldRenderer.d.ts +1 -1
  194. package/renderers/mixins/VisualVariablesMixin.d.ts +3 -3
  195. package/renderers/support/AuthoringInfo.d.ts +1 -1
  196. package/renderers/support/rasterRendererHelper.d.ts +1 -1
  197. package/renderers/support/renderingInfoUtils.js +1 -1
  198. package/renderers/{interfaces.d.ts → types.d.ts} +3 -1
  199. package/renderers/visualVariables/SizeVariable.d.ts +1 -1
  200. package/renderers/visualVariables/VisualVariable.d.ts +1 -1
  201. package/request/{interfaces.d.ts → types.d.ts} +10 -10
  202. package/request.d.ts +4 -4
  203. package/rest/closestFacility.d.ts +1 -1
  204. package/rest/featureService/FeatureService.d.ts +1 -1
  205. package/rest/featureService/FeatureService.js +1 -1
  206. package/rest/featureService/{interfaces.d.ts → types.d.ts} +16 -3
  207. package/rest/featureService/utils.d.ts +1 -1
  208. package/rest/find.d.ts +1 -1
  209. package/rest/geometryService.d.ts +1 -1
  210. package/rest/geoprocessor.d.ts +1 -1
  211. package/rest/identify.d.ts +1 -1
  212. package/rest/imageService.d.ts +5 -5
  213. package/rest/knowledgeGraphService.d.ts +19 -19
  214. package/rest/lastMileDelivery.d.ts +1 -1
  215. package/rest/locator.d.ts +1 -1
  216. package/rest/networkService.d.ts +1 -1
  217. package/rest/networks/queryAssociations.d.ts +1 -1
  218. package/rest/networks/synthesizeAssociationGeometries.d.ts +1 -1
  219. package/rest/networks/trace.d.ts +1 -1
  220. package/rest/places.d.ts +1 -1
  221. package/rest/print.d.ts +2 -2
  222. package/rest/query.d.ts +2 -2
  223. package/rest/route.d.ts +1 -1
  224. package/rest/serviceArea.d.ts +1 -1
  225. package/rest/support/AddressToLocationsParameters.d.ts +1 -1
  226. package/rest/support/AddressesToLocationsParameters.d.ts +1 -1
  227. package/rest/support/AttributeBinsQuery.d.ts +3 -3
  228. package/rest/support/JobInfo.d.ts +2 -2
  229. package/rest/support/LastMileDeliveryParameters.d.ts +1 -1
  230. package/rest/support/LocationToAddressParameters.d.ts +1 -1
  231. package/rest/support/ParameterValue.d.ts +1 -1
  232. package/rest/support/ProjectParameters.d.ts +1 -1
  233. package/rest/symbolService.d.ts +3 -3
  234. package/smartMapping/heuristics/binLevel.d.ts +1 -1
  235. package/smartMapping/heuristics/scaleRange.d.ts +1 -1
  236. package/smartMapping/heuristics/sizeRange.d.ts +1 -1
  237. package/smartMapping/heuristics/{interfaces.d.ts → types.d.ts} +1 -1
  238. package/smartMapping/popup/clusters.d.ts +1 -1
  239. package/smartMapping/popup/templates.d.ts +1 -1
  240. package/smartMapping/raster/renderers/classBreaks.d.ts +2 -2
  241. package/smartMapping/raster/renderers/colormap.d.ts +1 -1
  242. package/smartMapping/raster/renderers/flow.d.ts +4 -4
  243. package/smartMapping/raster/renderers/rgb.d.ts +2 -2
  244. package/smartMapping/raster/renderers/shadedRelief.d.ts +1 -1
  245. package/smartMapping/raster/renderers/stretch.d.ts +2 -2
  246. package/smartMapping/raster/renderers/{interfaces.d.ts → types.d.ts} +1 -1
  247. package/smartMapping/raster/renderers/uniqueValue.d.ts +1 -1
  248. package/smartMapping/raster/renderers/vectorField.d.ts +1 -1
  249. package/smartMapping/raster/support/utils.d.ts +1 -1
  250. package/smartMapping/renderers/color.d.ts +4 -4
  251. package/smartMapping/renderers/dotDensity.d.ts +3 -3
  252. package/smartMapping/renderers/heatmap.d.ts +3 -3
  253. package/smartMapping/renderers/location.d.ts +2 -2
  254. package/smartMapping/renderers/opacity.d.ts +3 -3
  255. package/smartMapping/renderers/pieChart.d.ts +3 -3
  256. package/smartMapping/renderers/predominance.d.ts +2 -2
  257. package/smartMapping/renderers/relationship.d.ts +4 -4
  258. package/smartMapping/renderers/size.d.ts +4 -4
  259. package/smartMapping/renderers/support/rendererUtils.d.ts +1 -1
  260. package/smartMapping/renderers/type.d.ts +3 -3
  261. package/smartMapping/renderers/univariateColorSize.d.ts +4 -4
  262. package/smartMapping/statistics/classBreaks.d.ts +2 -2
  263. package/smartMapping/statistics/heatmapStatistics.d.ts +2 -2
  264. package/smartMapping/statistics/histogram.d.ts +1 -2
  265. package/smartMapping/statistics/predominantCategories.d.ts +2 -2
  266. package/smartMapping/statistics/summaryStatistics.d.ts +2 -2
  267. package/smartMapping/statistics/summaryStatisticsForAge.d.ts +1 -1
  268. package/smartMapping/statistics/support/ageUtils.d.ts +1 -1
  269. package/smartMapping/statistics/types.d.ts +571 -0
  270. package/smartMapping/statistics/uniqueValues.d.ts +2 -2
  271. package/smartMapping/symbology/color.d.ts +1 -1
  272. package/smartMapping/symbology/dotDensity.d.ts +1 -1
  273. package/smartMapping/symbology/flow.d.ts +1 -1
  274. package/smartMapping/symbology/heatmap.d.ts +1 -1
  275. package/smartMapping/symbology/location.d.ts +1 -1
  276. package/smartMapping/symbology/pieChart.d.ts +1 -1
  277. package/smartMapping/symbology/predominance.d.ts +1 -1
  278. package/smartMapping/symbology/relationship.d.ts +1 -1
  279. package/smartMapping/symbology/size.d.ts +1 -1
  280. package/smartMapping/symbology/support/colorRamps.d.ts +1 -1
  281. package/smartMapping/symbology/type.d.ts +1 -1
  282. package/smartMapping/types.d.ts +18 -0
  283. package/support/revision.js +1 -1
  284. package/support/tests/setupServiceMocksMesh.js +1 -1
  285. package/support/timeUtils.d.ts +1 -1
  286. package/symbols/LineStyleMarker3D.d.ts +1 -1
  287. package/symbols/LineSymbol3DLayer.d.ts +1 -1
  288. package/symbols/LineSymbolMarker.d.ts +1 -1
  289. package/symbols/PathSymbol3DLayer.d.ts +1 -1
  290. package/symbols/SimpleLineSymbol.d.ts +1 -1
  291. package/symbols/patterns/LineStylePattern3D.d.ts +1 -1
  292. package/symbols/patterns/StylePattern3D.d.ts +1 -1
  293. package/symbols/support/ElevationInfo.d.ts +1 -1
  294. package/symbols/support/Symbol3DOutline.d.ts +1 -1
  295. package/symbols/support/symbolUtils.d.ts +2 -2
  296. package/time/TimeExtent.d.ts +1 -1
  297. package/unionTypes.d.ts +3 -3
  298. package/versionManagement/VersionManagementService.d.ts +1 -1
  299. package/versionManagement/VersionManager.d.ts +3 -3
  300. package/versionManagement/VersioningState.d.ts +1 -1
  301. package/versionManagement/utils.d.ts +1 -1
  302. package/versionManagement/versionAdapters/utils.d.ts +7 -7
  303. package/views/2d/analysis/ElevationProfile/ElevationProfileLineVisualization2D.js +1 -1
  304. package/views/2d/analysis/ElevationProfile/ElevationProfileVisualization2D.js +1 -1
  305. package/views/2d/analysis/ElevationProfileAnalysisView2D.d.ts +1 -2
  306. package/views/2d/engine/vectorTiles/style/StyleProperty.js +1 -1
  307. package/views/2d/layers/BaseLayerView2D.d.ts +2 -2
  308. package/views/2d/layers/BaseLayerViewGL2D.d.ts +9 -9
  309. package/views/2d/layers/imagery/ImageryTileView2D.js +1 -1
  310. package/views/2d/{layers/support/interfaces.d.ts → types.d.ts} +68 -1
  311. package/views/3d/analysis/AreaMeasurement/support/AreaMeasurementVisualization.js +1 -1
  312. package/views/3d/analysis/Dimension/DimensionVisualization.js +1 -1
  313. package/views/3d/analysis/Dimension/LengthDimensionSubTool.js +1 -1
  314. package/views/3d/analysis/Dimension/lengthDimensionManipulatorUtils.js +1 -1
  315. package/views/3d/analysis/DirectLineMeasurement/DirectLineMeasurementVisualization.js +1 -1
  316. package/views/3d/analysis/ElevationProfile/ElevationProfileLineVisualization3D.js +1 -1
  317. package/views/3d/analysis/ElevationProfile/ElevationProfileVisualization3D.js +1 -1
  318. package/views/3d/analysis/ElevationProfileAnalysisView3D.d.ts +1 -2
  319. package/views/3d/analysis/LineOfSight/LineOfSightManipulators.js +1 -1
  320. package/views/3d/analysis/LineOfSight/LineOfSightTool.js +1 -1
  321. package/views/3d/analysis/LineOfSight/LineOfSightVisualization.js +1 -1
  322. package/views/3d/analysis/ShadowCastAnalysisView3D.d.ts +2 -2
  323. package/views/3d/analysis/ShadowCastAnalysisView3D.js +1 -1
  324. package/views/3d/analysis/Slice/ResizeManipulator.js +1 -1
  325. package/views/3d/analysis/Slice/RotateManipulator.js +1 -1
  326. package/views/3d/analysis/Slice/ShiftManipulator.js +1 -1
  327. package/views/3d/analysis/Viewshed/ViewshedArrowManipulator.js +1 -1
  328. package/views/3d/analysis/Viewshed/ViewshedConfiguration.js +1 -1
  329. package/views/3d/analysis/Viewshed/ViewshedFieldOfViewManipulation.js +1 -1
  330. package/views/3d/analysis/Viewshed/ViewshedSubVisualization.js +1 -1
  331. package/views/3d/analysis/Viewshed/viewshedToolManipulatorUtils.js +1 -1
  332. package/views/3d/analysis/VolumeMeasurement/VolumeMeasurementCutFillVisualization.js +1 -1
  333. package/views/3d/environment/ChapmanAtmosphere.js +1 -1
  334. package/views/3d/environment/ChapmanAtmosphereTechnique.js +1 -1
  335. package/views/3d/environment/ChapmanRaymarching.glsl.js +6 -7
  336. package/views/3d/environment/PrecipitationTechnique.js +1 -1
  337. package/views/3d/environment/SimpleAtmosphereTechnique.js +1 -1
  338. package/views/3d/interactive/SnappingVisualizer3D.js +1 -1
  339. package/views/3d/interactive/editingTools/draw/DrawGraphicTool3D.js +1 -1
  340. package/views/3d/interactive/editingTools/manipulations/MoveXYAxisManipulation.js +1 -1
  341. package/views/3d/interactive/editingTools/manipulations/MoveXYDiscManipulation.js +1 -1
  342. package/views/3d/interactive/editingTools/manipulations/MoveZManipulation.js +1 -1
  343. package/views/3d/interactive/editingTools/reshape/ReshapeOperation.js +1 -1
  344. package/views/3d/interactive/editingTools/settings.js +1 -1
  345. package/views/3d/interactive/measurementTools/areaMeasurement3D/AreaMeasurement3DView.js +1 -1
  346. package/views/3d/interactive/measurementTools/directLineMeasurement3D/DirectLineMeasurement3DView.js +1 -1
  347. package/views/3d/layers/I3SMeshView3D.js +1 -1
  348. package/views/3d/layers/IntegratedMesh3DTilesLayerView3D.js +1 -1
  349. package/views/3d/layers/SceneLayerWorker.js +1 -1
  350. package/views/3d/layers/{I3SMeshWorkerHandle.js → SceneLayerWorkerHandle.js} +1 -1
  351. package/views/3d/layers/graphics/Graphics3DIconSymbolLayer.js +1 -1
  352. package/views/3d/layers/graphics/Graphics3DLineCalloutSymbolLayer.js +1 -1
  353. package/views/3d/layers/graphics/Graphics3DLineSymbolLayer.js +1 -1
  354. package/views/3d/layers/graphics/Graphics3DMeshFillSymbolLayer.js +1 -1
  355. package/views/3d/layers/graphics/Graphics3DObjectSymbolLayer.js +1 -1
  356. package/views/3d/layers/graphics/Graphics3DPathSymbolLayer.js +1 -1
  357. package/views/3d/layers/graphics/Graphics3DPolygonFillSymbolLayer.js +1 -1
  358. package/views/3d/layers/graphics/Graphics3DSymbolLayer.js +1 -1
  359. package/views/3d/layers/graphics/Graphics3DWaterSymbolLayer.js +1 -1
  360. package/views/3d/layers/graphics/pipeline/symbolization/IconSymbolLayerRenderer.js +1 -1
  361. package/views/3d/layers/i3s/I3SClientMaterialUtil.js +1 -1
  362. package/views/3d/layers/support/edgeUtils.js +1 -1
  363. package/views/3d/support/flow/geometryUtils.js +1 -1
  364. package/views/3d/support/viewpointUtils.js +1 -1
  365. package/views/3d/terrain/BlendLayersTechnique.js +1 -1
  366. package/views/3d/terrain/RasterColorizerTechnique.js +1 -1
  367. package/views/3d/terrain/TerrainRenderer.js +1 -1
  368. package/views/3d/webgl-engine/collections/Component/ComponentObjectCollection.js +1 -1
  369. package/views/3d/webgl-engine/collections/Component/Material/ComponentMaterial.js +1 -1
  370. package/views/3d/webgl-engine/collections/Component/Material/ComponentTechnique.js +1 -1
  371. package/views/3d/webgl-engine/collections/Component/SourceGeometry.js +1 -1
  372. package/views/3d/webgl-engine/core/shaderLibrary/output/ReadDepth.glsl.js +1 -2
  373. package/views/3d/webgl-engine/core/shaderLibrary/util/CloudsParallaxShading.glsl.js +18 -27
  374. package/views/3d/webgl-engine/core/shaderTechnique/ShaderTechnique.js +1 -1
  375. package/views/3d/webgl-engine/core/shaderTechnique/ShaderTechniqueRepository.js +1 -1
  376. package/views/3d/webgl-engine/effects/focusArea/FocusAreaMaskTechnique.js +1 -1
  377. package/views/3d/webgl-engine/effects/focusArea/FocusAreaOutlineItem.js +1 -1
  378. package/views/3d/webgl-engine/effects/haze/HazeTechnique.js +1 -1
  379. package/views/3d/webgl-engine/effects/highlight/HighlightApplyTechnique.js +1 -1
  380. package/views/3d/webgl-engine/effects/highlight/HighlightBlurTechnique.js +1 -1
  381. package/views/3d/webgl-engine/effects/highlight/HighlightToSingleTechnique.js +1 -1
  382. package/views/3d/webgl-engine/effects/highlight/ShadowHighlight.js +1 -1
  383. package/views/3d/webgl-engine/effects/laserlines/LaserlinePathData.js +1 -1
  384. package/views/3d/webgl-engine/effects/laserlines/LaserlinePathTechnique.js +1 -1
  385. package/views/3d/webgl-engine/effects/stars/StarsTechnique.js +1 -1
  386. package/views/3d/webgl-engine/lib/CutFillColor.js +1 -1
  387. package/views/3d/webgl-engine/lib/DefaultVertexBufferLayouts.js +1 -1
  388. package/views/3d/webgl-engine/lib/Renderer.js +1 -1
  389. package/views/3d/webgl-engine/lib/TextRenderParameters.js +1 -1
  390. package/views/3d/webgl-engine/lib/edgeRendering/EdgeShaderTechnique.js +1 -1
  391. package/views/3d/webgl-engine/lib/edgeRendering/bufferLayouts.js +1 -1
  392. package/views/3d/webgl-engine/materials/DefaultLayouts.js +1 -1
  393. package/views/3d/webgl-engine/materials/HUDMaterial.js +1 -1
  394. package/views/3d/webgl-engine/materials/PathTechnique.js +1 -1
  395. package/views/3d/webgl-engine/materials/WaterTechnique.js +1 -1
  396. package/views/3d/webgl-engine/shaders/CheckerBoardTechnique.js +1 -1
  397. package/views/3d/webgl-engine/shaders/ColorMaterialTechnique.js +1 -1
  398. package/views/3d/webgl-engine/shaders/CutFillMaskTechnique.js +1 -1
  399. package/views/3d/webgl-engine/shaders/CutFillTargetDepthTechnique.js +1 -1
  400. package/views/3d/webgl-engine/shaders/DefaultMaterialTechnique.js +1 -1
  401. package/views/3d/webgl-engine/shaders/HUDMaterialTechnique.js +1 -1
  402. package/views/3d/webgl-engine/shaders/HeatmapDensityTechnique.js +1 -1
  403. package/views/3d/webgl-engine/shaders/ImageMaterialTechnique.js +1 -1
  404. package/views/3d/webgl-engine/shaders/LineCalloutTechnique.js +1 -1
  405. package/views/3d/webgl-engine/shaders/LineMarkerTechnique.js +1 -1
  406. package/views/3d/webgl-engine/shaders/MeasurementArrowTechnique.js +1 -1
  407. package/views/3d/webgl-engine/shaders/NativeLineTechnique.js +1 -1
  408. package/views/3d/webgl-engine/shaders/PatternTechnique.js +1 -1
  409. package/views/3d/webgl-engine/shaders/PointRendererTechnique.js +1 -1
  410. package/views/3d/webgl-engine/shaders/RibbonLineTechnique.js +1 -1
  411. package/views/3d/webgl-engine/shaders/ShadedColorMaterialTechnique.js +1 -1
  412. package/views/3d/webgl-engine/shaders/SlicePlaneMaterialTechnique.js +1 -1
  413. package/views/3d/webgl-engine/shaders/TerrainTechnique.js +1 -1
  414. package/views/LinkChartView.d.ts +5 -5
  415. package/views/Magnifier.d.ts +1 -1
  416. package/views/MapView.d.ts +11 -12
  417. package/views/PopupView.d.ts +1 -1
  418. package/views/SceneView.d.ts +6 -7
  419. package/views/SceneViewHitTestResult.d.ts +1 -1
  420. package/views/View2D.d.ts +8 -8
  421. package/views/analysis/ElevationProfile/ElevationProfileHoveredPointVisualization.js +1 -1
  422. package/views/analysis/ElevationProfile/ElevationProfileResult.d.ts +1 -1
  423. package/views/analysis/ElevationProfile/types.d.ts +68 -0
  424. package/views/analysis/types.d.ts +2 -2
  425. package/views/draw/Draw.d.ts +1 -1
  426. package/views/draw/DrawAction.d.ts +1 -1
  427. package/views/input/IViewEvents.d.ts +1 -1
  428. package/views/interactive/Tooltip.d.ts +1 -1
  429. package/views/interactive/sketch/SketchValueOptions.d.ts +1 -1
  430. package/views/interactive/tooltip/types.d.ts +4 -0
  431. package/views/layers/BuildingComponentSublayerView.d.ts +1 -1
  432. package/views/layers/BuildingSceneLayerView.d.ts +1 -1
  433. package/views/layers/ImageryLayerViewMixin.d.ts +1 -1
  434. package/views/layers/PointCloudLayerView.d.ts +1 -1
  435. package/views/navigation/NavigationActionMap.d.ts +1 -1
  436. package/views/support/colorUtils.d.ts +1 -1
  437. package/views/{interfaces.d.ts → types.d.ts} +91 -5
  438. package/views/ui/DefaultUI.d.ts +1 -1
  439. package/views/ui/UI.d.ts +1 -1
  440. package/webdoc/widgets/FloorFilter.d.ts +2 -2
  441. package/webdoc/widgets/TimeSlider.d.ts +5 -5
  442. package/webmap/InitialViewProperties.d.ts +2 -2
  443. package/webscene/Environment.d.ts +3 -3
  444. package/webscene/InitialViewProperties.d.ts +0 -1
  445. package/webscene/Slide.d.ts +36 -4
  446. package/webscene/Slide.js +1 -1
  447. package/webscene/support/SlidePopupInfo.d.ts +2 -2
  448. package/widgets/AreaMeasurement2D/AreaMeasurement2DViewModel.d.ts +1 -1
  449. package/widgets/AreaMeasurement3D/AreaMeasurement3DViewModel.d.ts +7 -1
  450. package/widgets/AreaMeasurement3D.d.ts +1 -0
  451. package/widgets/Attachments/AttachmentsViewModel.d.ts +1 -1
  452. package/widgets/Attachments.d.ts +1 -1
  453. package/widgets/Attribution/AttributionViewModel.d.ts +2 -2
  454. package/widgets/BasemapGallery/support/LocalBasemapsSource.d.ts +1 -1
  455. package/widgets/BasemapGallery/support/PortalBasemapsSource.d.ts +1 -1
  456. package/widgets/BasemapLayerList/BasemapLayerListViewModel.d.ts +2 -2
  457. package/widgets/BasemapLayerList.d.ts +1 -1
  458. package/widgets/BatchAttributeForm/BatchAttributeFormViewModel.d.ts +4 -4
  459. package/widgets/BatchAttributeForm/inputs/BatchFormInputs.d.ts +1 -1
  460. package/widgets/BatchAttributeForm/inputs/EditableInput.d.ts +1 -1
  461. package/widgets/BatchAttributeForm/inputs/GroupInput.d.ts +1 -1
  462. package/widgets/BatchAttributeForm/inputs/InputBase.d.ts +1 -1
  463. package/widgets/BatchAttributeForm/inputs/SingleFeatureInput.d.ts +1 -1
  464. package/widgets/BatchAttributeForm.d.ts +1 -1
  465. package/widgets/Bookmarks/BookmarksViewModel.d.ts +5 -5
  466. package/widgets/Bookmarks/{interfaces.d.ts → types.d.ts} +1 -1
  467. package/widgets/Bookmarks.d.ts +5 -5
  468. package/widgets/BuildingExplorer/BuildingExplorerViewModel.d.ts +1 -0
  469. package/widgets/BuildingExplorer/BuildingLevel.d.ts +1 -0
  470. package/widgets/BuildingExplorer/BuildingNumericFilterViewModel.d.ts +1 -0
  471. package/widgets/BuildingExplorer/BuildingPhase.d.ts +1 -0
  472. package/widgets/BuildingExplorer.d.ts +3 -0
  473. package/widgets/CatalogLayerList/CatalogLayerListViewModel.d.ts +2 -2
  474. package/widgets/CatalogLayerList.d.ts +1 -1
  475. package/widgets/Compass/CompassViewModel.d.ts +1 -1
  476. package/widgets/CoordinateConversion/CoordinateConversionViewModel.d.ts +4 -4
  477. package/widgets/CoordinateConversion/support/Conversion.d.ts +1 -1
  478. package/widgets/CoordinateConversion/support/Format.d.ts +2 -2
  479. package/widgets/CoordinateConversion.d.ts +1 -1
  480. package/widgets/Daylight/DaylightViewModel.d.ts +3 -1
  481. package/widgets/Daylight/VisibleElements.d.ts +3 -0
  482. package/widgets/Daylight/types.d.ts +6 -0
  483. package/widgets/Daylight.d.ts +4 -2
  484. package/widgets/DirectLineMeasurement3D/DirectLineMeasurement3DViewModel.d.ts +7 -1
  485. package/widgets/DirectLineMeasurement3D.d.ts +1 -0
  486. package/widgets/Directions/DirectionsViewModel.d.ts +3 -3
  487. package/widgets/Directions.d.ts +3 -3
  488. package/widgets/DistanceMeasurement2D/DistanceMeasurement2DViewModel.d.ts +1 -1
  489. package/widgets/Editor/CreateFeaturesWorkflow.d.ts +1 -1
  490. package/widgets/Editor/CreateFeaturesWorkflowData.d.ts +2 -2
  491. package/widgets/Editor/EditorViewModel.d.ts +5 -5
  492. package/widgets/Editor/MergeFeaturesWorkflow.d.ts +1 -1
  493. package/widgets/Editor/SplitFeatureWorkflow.d.ts +1 -1
  494. package/widgets/Editor/SplitFeatureWorkflowData.d.ts +1 -1
  495. package/widgets/Editor/UpdateFeatureWorkflow.js +1 -1
  496. package/widgets/Editor/UpdateFeaturesWorkflow.d.ts +1 -1
  497. package/widgets/Editor/UpdateFeaturesWorkflowData.d.ts +1 -1
  498. package/widgets/Editor/UpdateWorkflow.d.ts +1 -1
  499. package/widgets/Editor/Workflow.d.ts +1 -1
  500. package/widgets/Editor/support/EditorEditingCapabilities.d.ts +9 -9
  501. package/widgets/Editor/support/EditorItem.d.ts +4 -4
  502. package/widgets/Editor/support/SketchController.js +1 -1
  503. package/widgets/Editor/{interfaces.d.ts → types.d.ts} +1 -1
  504. package/widgets/Editor.d.ts +9 -9
  505. package/widgets/ElevationProfile/ElevationProfileLine.d.ts +2 -1
  506. package/widgets/ElevationProfile/ElevationProfileLineGround.d.ts +1 -0
  507. package/widgets/ElevationProfile/ElevationProfileLineInput.d.ts +1 -0
  508. package/widgets/ElevationProfile/ElevationProfileLineQuery.d.ts +2 -1
  509. package/widgets/ElevationProfile/ElevationProfileLineView.d.ts +2 -0
  510. package/widgets/ElevationProfile/ElevationProfileViewModel.d.ts +3 -5
  511. package/widgets/ElevationProfile/ElevationProfileVisibleElements.d.ts +3 -0
  512. package/widgets/ElevationProfile/support/ProfileLines3D.js +1 -1
  513. package/widgets/ElevationProfile/types.d.ts +149 -0
  514. package/widgets/ElevationProfile.d.ts +6 -5
  515. package/widgets/Expand/ExpandViewModel.d.ts +1 -1
  516. package/widgets/Expand.d.ts +2 -2
  517. package/widgets/Feature/FeatureViewModel.d.ts +5 -5
  518. package/widgets/Feature.d.ts +2 -2
  519. package/widgets/FeatureForm/EditableInput.d.ts +1 -1
  520. package/widgets/FeatureForm/FeatureFormViewModel.d.ts +3 -3
  521. package/widgets/FeatureForm/GroupInput.d.ts +1 -1
  522. package/widgets/FeatureForm.d.ts +2 -2
  523. package/widgets/FeatureTable/AttachmentsColumn.d.ts +1 -1
  524. package/widgets/FeatureTable/FeatureTableViewModel.d.ts +3 -4
  525. package/widgets/FeatureTable/Grid/Column.d.ts +2 -3
  526. package/widgets/FeatureTable/Grid/{support/interfaces.d.ts → types.d.ts} +57 -0
  527. package/widgets/FeatureTable/RelationshipColumn.d.ts +1 -1
  528. package/widgets/FeatureTable/support/ColumnTemplateBase.d.ts +2 -3
  529. package/widgets/FeatureTable/support/interfaces.d.ts +2 -3
  530. package/widgets/FeatureTable.d.ts +3 -4
  531. package/widgets/FeatureTemplates/FeatureTemplatesViewModel.d.ts +4 -4
  532. package/widgets/FeatureTemplates/TemplateItem.d.ts +1 -1
  533. package/widgets/FeatureTemplates/{interfaces.d.ts → types.d.ts} +1 -1
  534. package/widgets/FeatureTemplates.d.ts +3 -3
  535. package/widgets/Features/FeaturesViewModel.d.ts +11 -11
  536. package/widgets/Features.d.ts +10 -10
  537. package/widgets/Histogram/HistogramViewModel.d.ts +3 -3
  538. package/widgets/Histogram.d.ts +3 -3
  539. package/widgets/HistogramRangeSlider/HistogramRangeSliderViewModel.d.ts +3 -3
  540. package/widgets/HistogramRangeSlider.d.ts +11 -11
  541. package/widgets/LayerList/LayerListViewModel.d.ts +1 -1
  542. package/widgets/LayerList/ListItem.d.ts +1 -1
  543. package/widgets/LayerList.d.ts +1 -1
  544. package/widgets/Legend/LegendViewModel.d.ts +1 -1
  545. package/widgets/Legend/support/ActiveLayerInfo.d.ts +1 -1
  546. package/widgets/Legend.d.ts +1 -1
  547. package/widgets/LineOfSight/LineOfSightTarget.d.ts +1 -0
  548. package/widgets/LineOfSight/LineOfSightViewModel.d.ts +1 -0
  549. package/widgets/LineOfSight.d.ts +1 -0
  550. package/widgets/Locate/LocateViewModel.d.ts +1 -1
  551. package/widgets/Locate.d.ts +1 -1
  552. package/widgets/Measurement/MeasurementViewModel.d.ts +2 -2
  553. package/widgets/Measurement.d.ts +1 -1
  554. package/widgets/Popup.d.ts +7 -7
  555. package/widgets/Print/CustomTemplate.d.ts +1 -1
  556. package/widgets/Print/PrintViewModel.d.ts +2 -2
  557. package/widgets/Print.d.ts +1 -1
  558. package/widgets/ScaleRangeSlider.d.ts +2 -2
  559. package/widgets/Search/LocatorSearchSource.d.ts +2 -2
  560. package/widgets/Search/SearchSource.d.ts +3 -3
  561. package/widgets/Search/types.d.ts +64 -0
  562. package/widgets/Search.d.ts +1 -1
  563. package/widgets/ShadowCast/ShadowCastViewModel.d.ts +1 -1
  564. package/widgets/ShadowCast/ShadowCastViewModel.js +1 -1
  565. package/widgets/Sketch/SketchViewModel.d.ts +5 -5
  566. package/widgets/Sketch/{support/interfaces.d.ts → types.d.ts} +17 -17
  567. package/widgets/Sketch.d.ts +1 -1
  568. package/widgets/Slice/SliceViewModel.d.ts +1 -0
  569. package/widgets/Slice.d.ts +1 -0
  570. package/widgets/Slider/SliderViewModel.d.ts +3 -3
  571. package/widgets/Slider/{interfaces.d.ts → types.d.ts} +2 -2
  572. package/widgets/Slider.d.ts +4 -4
  573. package/widgets/Swipe/SwipeViewModel.d.ts +1 -1
  574. package/widgets/Swipe.d.ts +1 -1
  575. package/widgets/TableList/ListItem.d.ts +1 -1
  576. package/widgets/TableList/TableListViewModel.d.ts +2 -2
  577. package/widgets/TableList.d.ts +1 -1
  578. package/widgets/TimeSlider/TimeSliderViewModel.d.ts +5 -5
  579. package/widgets/TimeSlider.d.ts +14 -15
  580. package/widgets/TimeZoneLabel.d.ts +1 -2
  581. package/widgets/Track/TrackViewModel.d.ts +1 -1
  582. package/widgets/UtilityNetworkAssociations/UtilityNetworkAssociationsViewModel.js +1 -1
  583. package/widgets/UtilityNetworkTrace/UtilityNetworkTraceViewModel.d.ts +2 -2
  584. package/widgets/UtilityNetworkValidateTopology/UtilityNetworkValidateTopologyViewModel.js +1 -1
  585. package/widgets/ValuePicker/ValuePickerSlider.d.ts +1 -1
  586. package/widgets/ValuePicker.d.ts +2 -2
  587. package/widgets/VersionManagement/VersionManagementViewModel.d.ts +3 -3
  588. package/widgets/Weather/VisibleElements.d.ts +3 -0
  589. package/widgets/Weather/WeatherViewModel.d.ts +2 -1
  590. package/widgets/Weather/types.d.ts +9 -0
  591. package/widgets/Weather.d.ts +1 -0
  592. package/widgets/Widget.d.ts +2 -1
  593. package/widgets/smartMapping/BinaryColorSizeSlider.d.ts +0 -3
  594. package/widgets/smartMapping/ClassedColorSlider/ClassedColorSliderViewModel.d.ts +1 -3
  595. package/widgets/smartMapping/ClassedColorSlider.d.ts +2 -2
  596. package/widgets/smartMapping/ClassedSizeSlider/ClassedSizeSliderViewModel.d.ts +1 -2
  597. package/widgets/smartMapping/ClassedSizeSlider.d.ts +2 -2
  598. package/widgets/smartMapping/ColorSizeSlider/ColorSizeSliderViewModel.d.ts +5 -5
  599. package/widgets/smartMapping/ColorSizeSlider.d.ts +3 -2
  600. package/widgets/smartMapping/ColorSlider/ColorSliderViewModel.d.ts +1 -1
  601. package/widgets/smartMapping/ColorSlider.d.ts +1 -1
  602. package/widgets/smartMapping/HeatmapSlider/HeatmapSliderViewModel.d.ts +2 -4
  603. package/widgets/smartMapping/HeatmapSlider.d.ts +2 -4
  604. package/widgets/smartMapping/OpacitySlider/OpacitySliderViewModel.d.ts +1 -1
  605. package/widgets/smartMapping/OpacitySlider.d.ts +1 -1
  606. package/widgets/smartMapping/SizeSlider.d.ts +2 -2
  607. package/widgets/smartMapping/SmartMappingPrimaryHandleSliderViewModel.d.ts +2 -2
  608. package/widgets/smartMapping/SmartMappingSliderBase.d.ts +11 -14
  609. package/widgets/smartMapping/SmartMappingSliderViewModel.d.ts +5 -6
  610. package/widgets/smartMapping/{support/interfaces.d.ts → types.d.ts} +52 -5
  611. package/widgets/support/GeolocationPositioning.d.ts +1 -1
  612. package/widgets/support/GridControls/GridControlsViewModel.d.ts +1 -1
  613. package/widgets/support/goToUtils.d.ts +1 -1
  614. package/widgets/{interfaces.d.ts → types.d.ts} +71 -15
  615. package/arcade/featureset/support/shared.d.ts +0 -16
  616. package/assets/esri/core/workers/chunks/0359ac6d938e0df936d0.js +0 -1
  617. package/assets/esri/core/workers/chunks/1db058f91a8e17b24db6.js +0 -1
  618. package/assets/esri/core/workers/chunks/1e286fb7bb833f00dd88.js +0 -1
  619. package/assets/esri/core/workers/chunks/262232437d37a7460b11.js +0 -1
  620. package/assets/esri/core/workers/chunks/2d6fa00273a73d44297d.js +0 -1
  621. package/assets/esri/core/workers/chunks/2fae37f34b28a46841e3.js +0 -1
  622. package/assets/esri/core/workers/chunks/3b1471f908fdecec2815.js +0 -1
  623. package/assets/esri/core/workers/chunks/48b3906ac3ec57253d90.js +0 -1
  624. package/assets/esri/core/workers/chunks/49b581782f63abb6dd9f.js +0 -1
  625. package/assets/esri/core/workers/chunks/4abe2c56aecc9e9b8e86.js +0 -1
  626. package/assets/esri/core/workers/chunks/51b78eca012eac92dd07.js +0 -1
  627. package/assets/esri/core/workers/chunks/5ce524e0060053f35592.js +0 -316
  628. package/assets/esri/core/workers/chunks/5d244fcf5c075afccdc6.js +0 -1
  629. package/assets/esri/core/workers/chunks/6b8c15f3970289e73a47.js +0 -1
  630. package/assets/esri/core/workers/chunks/6cfcfebe9a4c491e453a.js +0 -1
  631. package/assets/esri/core/workers/chunks/710b29729f252f11115d.js +0 -1
  632. package/assets/esri/core/workers/chunks/72a520802b8accfd4512.js +0 -1
  633. package/assets/esri/core/workers/chunks/73892ac79b24b05e6863.js +0 -33
  634. package/assets/esri/core/workers/chunks/75d8244b725a2aee2003.js +0 -1
  635. package/assets/esri/core/workers/chunks/93b139be6488a1b4ba19.js +0 -1
  636. package/assets/esri/core/workers/chunks/a5e7c9517939f762c518.js +0 -1
  637. package/assets/esri/core/workers/chunks/a63ff3e9a9f3853d12f3.js +0 -1
  638. package/assets/esri/core/workers/chunks/a81a7cba815adb575c36.js +0 -1
  639. package/assets/esri/core/workers/chunks/a8fd635d1165db8616ab.js +0 -1
  640. package/assets/esri/core/workers/chunks/b638ce18b93d3cfb9967.js +0 -1
  641. package/assets/esri/core/workers/chunks/ba7e97b1e324118b8156.js +0 -1
  642. package/assets/esri/core/workers/chunks/c0d6336c10b4081c4e32.js +0 -1
  643. package/assets/esri/core/workers/chunks/cc4ae105e727d9211d82.js +0 -1
  644. package/assets/esri/core/workers/chunks/d7a62504e00989202c45.js +0 -1
  645. package/assets/esri/core/workers/chunks/e25be3b6b67ce6b03011.js +0 -1
  646. package/assets/esri/core/workers/chunks/e5ac9b048b16fef9840c.js +0 -1
  647. package/assets/esri/core/workers/chunks/efa95c50d1ed8e74219f.js +0 -1
  648. package/assets/esri/core/workers/chunks/f379fd459a103f42d447.js +0 -1
  649. package/assets/esri/core/workers/chunks/ffcdc7ae03b0570e0db8.js +0 -1
  650. package/geometry/interfaces.d.ts +0 -2
  651. package/geometry/support/interfaces.d.ts +0 -3
  652. package/geometry/support/meshUtils/exporters/gltf/interfaces.d.ts +0 -11
  653. package/renderers/support/interfaces.d.ts +0 -2
  654. package/smartMapping/statistics/interfaces.d.ts +0 -571
  655. package/smartMapping/support/adapters/interfaces.d.ts +0 -18
  656. package/views/2d/interfaces.d.ts +0 -67
  657. package/views/analysis/ElevationProfile/ElevationProfileHoveredPointsVisualization.js +0 -5
  658. package/views/analysis/ElevationProfile/interfaces.d.ts +0 -73
  659. package/views/interactive/sketch/interfaces.d.ts +0 -2
  660. package/views/interactive/tooltip/interfaces.d.ts +0 -2
  661. package/views/support/interfaces.d.ts +0 -87
  662. package/widgets/Daylight/support/daylightUtils.d.ts +0 -4
  663. package/widgets/ElevationProfile/ElevationProfileInteraction.d.ts +0 -13
  664. package/widgets/ElevationProfile/elevationProfileLineTypes.d.ts +0 -6
  665. package/widgets/ElevationProfile/interfaces.d.ts +0 -103
  666. package/widgets/ElevationProfile/support/constants.d.ts +0 -14
  667. package/widgets/FeatureTable/Grid/interfaces.d.ts +0 -57
  668. package/widgets/Search/support/interfaces.d.ts +0 -67
  669. package/widgets/Weather/enums.d.ts +0 -9
  670. package/widgets/smartMapping/ClassedColorSlider/interfaces.d.ts +0 -19
  671. package/widgets/smartMapping/ClassedSizeSlider/interfaces.d.ts +0 -18
  672. package/widgets/smartMapping/interfaces.d.ts +0 -13
  673. package/widgets/support/interfaces.d.ts +0 -56
  674. /package/analysis/{interfaces.d.ts → types.d.ts} +0 -0
  675. /package/core/accessorSupport/{interfaces.d.ts → types.d.ts} +0 -0
  676. /package/core/{interfaces.d.ts → types.d.ts} +0 -0
  677. /package/editing/sharedTemplates/{interfaces.d.ts → types.d.ts} +0 -0
  678. /package/editing/{interfaces.d.ts → types.d.ts} +0 -0
  679. /package/layers/effects/{interfaces.d.ts → types.d.ts} +0 -0
  680. /package/layers/orientedImagery/{interfaces.d.ts → types.d.ts} +0 -0
  681. /package/layers/raster/datasets/{interfaces.d.ts → types.d.ts} +0 -0
  682. /package/layers/raster/functions/{interfaces.d.ts → types.d.ts} +0 -0
  683. /package/linkChart/{interfaces.d.ts → types.d.ts} +0 -0
  684. /package/popup/{interfaces.d.ts → types.d.ts} +0 -0
  685. /package/rest/lastMileDelivery/{interfaces.d.ts → types.d.ts} +0 -0
  686. /package/rest/{interfaces.d.ts → types.d.ts} +0 -0
  687. /package/smartMapping/popup/{interfaces.d.ts → types.d.ts} +0 -0
  688. /package/smartMapping/raster/support/adapters/{interfaces.d.ts → types.d.ts} +0 -0
  689. /package/smartMapping/symbology/{interfaces.d.ts → types.d.ts} +0 -0
  690. /package/statistics/{interfaces.d.ts → types.d.ts} +0 -0
  691. /package/symbols/support/{interfaces.d.ts → types.d.ts} +0 -0
  692. /package/symbols/{interfaces.d.ts → types.d.ts} +0 -0
  693. /package/time/{interfaces.d.ts → types.d.ts} +0 -0
  694. /package/versionManagement/versionAdapters/{interfaces.d.ts → types.d.ts} +0 -0
  695. /package/views/2d/analysis/{interfaces.d.ts → types.d.ts} +0 -0
  696. /package/views/3d/analysis/{interfaces.d.ts → types.d.ts} +0 -0
  697. /package/views/3d/{interfaces.d.ts → types.d.ts} +0 -0
  698. /package/views/draw/{interfaces.d.ts → types.d.ts} +0 -0
  699. /package/views/input/{interfaces.d.ts → types.d.ts} +0 -0
  700. /package/views/navigation/{interfaces.d.ts → types.d.ts} +0 -0
  701. /package/views/ui/{interfaces.d.ts → types.d.ts} +0 -0
  702. /package/widgets/Attachments/{interfaces.d.ts → types.d.ts} +0 -0
  703. /package/widgets/BasemapGallery/{interfaces.d.ts → types.d.ts} +0 -0
  704. /package/widgets/BasemapLayerList/{interfaces.d.ts → types.d.ts} +0 -0
  705. /package/widgets/BatchAttributeForm/inputs/{interfaces.d.ts → types.d.ts} +0 -0
  706. /package/widgets/BatchAttributeForm/{interfaces.d.ts → types.d.ts} +0 -0
  707. /package/widgets/CatalogLayerList/{interfaces.d.ts → types.d.ts} +0 -0
  708. /package/widgets/Feature/{interfaces.d.ts → types.d.ts} +0 -0
  709. /package/widgets/FeatureForm/{interfaces.d.ts → types.d.ts} +0 -0
  710. /package/widgets/Histogram/{interfaces.d.ts → types.d.ts} +0 -0
  711. /package/widgets/HistogramRangeSlider/{interfaces.d.ts → types.d.ts} +0 -0
  712. /package/widgets/LayerList/{interfaces.d.ts → types.d.ts} +0 -0
  713. /package/widgets/Measurement/{interfaces.d.ts → types.d.ts} +0 -0
  714. /package/widgets/OrientedImageryViewer/{interfaces.d.ts → types.d.ts} +0 -0
  715. /package/widgets/Popup/{interfaces.d.ts → types.d.ts} +0 -0
  716. /package/widgets/Print/{interfaces.d.ts → types.d.ts} +0 -0
  717. /package/widgets/ScaleRangeSlider/{interfaces.d.ts → types.d.ts} +0 -0
  718. /package/widgets/Swipe/{interfaces.d.ts → types.d.ts} +0 -0
  719. /package/widgets/TableList/{interfaces.d.ts → types.d.ts} +0 -0
  720. /package/widgets/TimeSlider/{interfaces.d.ts → types.d.ts} +0 -0
  721. /package/widgets/Track/{interfaces.d.ts → types.d.ts} +0 -0
  722. /package/widgets/ValuePicker/{interfaces.d.ts → types.d.ts} +0 -0
  723. /package/widgets/support/GridControls/{interfaces.d.ts → types.d.ts} +0 -0
  724. /package/widgets/support/forms/{interfaces.d.ts → types.d.ts} +0 -0
@@ -2,7 +2,7 @@ import type Accessor from "../../../core/Accessor.js";
2
2
  import type Point from "../../../geometry/Point.js";
3
3
  import type SpatialReference from "../../../geometry/SpatialReference.js";
4
4
  import type CoordinateConversionViewModel from "../CoordinateConversionViewModel.js";
5
- import type { ConversionInfo, CoordinateSegment } from "../../interfaces.js";
5
+ import type { ConversionInfo, CoordinateSegment } from "../../types.js";
6
6
  import type { SpatialReferenceProperties } from "../../../geometry/SpatialReference.js";
7
7
 
8
8
  export interface FormatProperties extends Partial<Pick<Format, "conversionInfo" | "coordinateSegments" | "defaultPattern" | "name" | "viewModel">> {
@@ -54,7 +54,7 @@ export default class Format extends Accessor {
54
54
  */
55
55
  accessor conversionInfo: ConversionInfo | null | undefined;
56
56
  /**
57
- * A array of [Coordinate Segments](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-interfaces.html#CoordinateSegment). Each segment represents a section of the Format's
57
+ * A array of [Coordinate Segments](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-types.html#CoordinateSegment). Each segment represents a section of the Format's
58
58
  * coordinate.
59
59
  */
60
60
  accessor coordinateSegments: CoordinateSegment[] | null | undefined;
@@ -12,7 +12,7 @@ import type Format from "./CoordinateConversion/support/Format.js";
12
12
  import type { Icon } from "@esri/calcite-components/components/calcite-icon";
13
13
  import type { ReadonlyArrayOrCollection } from "../core/Collection.js";
14
14
  import type { MapViewOrSceneView } from "../views/MapViewOrSceneView.js";
15
- import type { Mode } from "./interfaces.js";
15
+ import type { Mode } from "./types.js";
16
16
  import type { WidgetProperties } from "./Widget.js";
17
17
  import type { ConversionProperties } from "./CoordinateConversion/support/Conversion.js";
18
18
  import type { GoToOverride } from "./support/goToUtils.js";
@@ -1,7 +1,8 @@
1
1
  import type SceneView from "../../views/SceneView.js";
2
2
  import type { EventedAccessor, EventedMixinProperties } from "../../core/Evented.js";
3
- import type { Season } from "./support/daylightUtils.js";
3
+ import type { Season } from "./types.js";
4
4
 
5
+ /** @deprecated since 4.34. Use the [Daylight component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-daylight/) instead. For information on widget deprecation, read about [Esri's move to web components](https://developers.arcgis.com/javascript/latest/components-transition-plan/). */
5
6
  export interface DaylightViewModelProperties extends EventedMixinProperties, Partial<Pick<DaylightViewModel, "currentSeason" | "dayPlaying" | "directShadowsEnabled" | "playSpeedMultiplier" | "sunLightingEnabled" | "timeSliderPosition" | "utcOffset" | "view" | "yearPlaying">> {
6
7
  /**
7
8
  * The calendar date in the timezone given by [utcOffset](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Daylight-DaylightViewModel.html#utcOffset).
@@ -19,6 +20,7 @@ export interface DaylightViewModelProperties extends EventedMixinProperties, Par
19
20
  localDate?: (Date | number | string);
20
21
  }
21
22
 
23
+ /** @deprecated since 4.34. Use the [Daylight component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-daylight/) instead. For information on widget deprecation, read about [Esri's move to web components](https://developers.arcgis.com/javascript/latest/components-transition-plan/). */
22
24
  export interface DaylightViewModelEvents {
23
25
  /**
24
26
  * Fires when the user changes the date or time in the widget by interacting with the slider, the date picker, the
@@ -1,10 +1,13 @@
1
1
  import type Accessor from "../../core/Accessor.js";
2
2
 
3
+ /** @deprecated since 4.34. Use the [Daylight component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-daylight/) instead. For information on widget deprecation, read about [Esri's move to web components](https://developers.arcgis.com/javascript/latest/components-transition-plan/). */
3
4
  export interface VisibleElementsProperties extends Partial<Pick<VisibleElements, "datePicker" | "header" | "playButtons" | "shadowsToggle" | "sunLightingToggle" | "timezone">> {}
4
5
 
5
6
  /**
6
7
  * The visible elements that are displayed within the widget.
7
8
  * This provides the ability to turn individual elements of the widget's display on/off.
9
+ *
10
+ * @deprecated since 4.34. Use the [Daylight component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-daylight/) instead. For information on widget deprecation, read about [Esri's move to web components](https://developers.arcgis.com/javascript/latest/components-transition-plan/).
8
11
  */
9
12
  export default abstract class VisibleElements extends Accessor {
10
13
  /**
@@ -0,0 +1,6 @@
1
+
2
+ /** @deprecated since 4.34. Use the [Daylight component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-daylight/) instead. For information on widget deprecation, read about [Esri's move to web components](https://developers.arcgis.com/javascript/latest/components-transition-plan/). */
3
+ export type DateOrSeason = "date" | "season";
4
+
5
+ /** @deprecated since 4.34. Use the [Daylight component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-daylight/) instead. For information on widget deprecation, read about [Esri's move to web components](https://developers.arcgis.com/javascript/latest/components-transition-plan/). */
6
+ export type Season = "spring" | "summer" | "fall" | "winter";
@@ -5,10 +5,11 @@ import type VisibleElements from "./Daylight/VisibleElements.js";
5
5
  import type { Icon } from "@esri/calcite-components/components/calcite-icon";
6
6
  import type { WidgetProperties } from "./Widget.js";
7
7
  import type { DaylightViewModelEvents, DaylightViewModelProperties } from "./Daylight/DaylightViewModel.js";
8
- import type { DateOrSeason } from "./Daylight/support/daylightUtils.js";
8
+ import type { DateOrSeason } from "./Daylight/types.js";
9
9
  import type { HeadingLevel } from "./support/Heading.js";
10
10
  import type { VisibleElementsProperties } from "./Daylight/VisibleElements.js";
11
11
 
12
+ /** @deprecated since 4.34. Use the [Daylight component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-daylight/) instead. For information on widget deprecation, read about [Esri's move to web components](https://developers.arcgis.com/javascript/latest/components-transition-plan/). */
12
13
  export interface DaylightProperties extends WidgetProperties, Partial<Pick<Daylight, "dateOrSeason" | "headingLevel" | "playSpeedMultiplier" | "timeSliderSteps" | "view">> {
13
14
  /**
14
15
  * Icon which represents the widget. It is typically used when the widget is controlled by another
@@ -56,6 +57,7 @@ export interface DaylightProperties extends WidgetProperties, Partial<Pick<Dayli
56
57
  visibleElements?: VisibleElementsProperties;
57
58
  }
58
59
 
60
+ /** @deprecated since 4.34. Use the [Daylight component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-daylight/) instead. For information on widget deprecation, read about [Esri's move to web components](https://developers.arcgis.com/javascript/latest/components-transition-plan/). */
59
61
  export interface DaylightEvents extends DaylightViewModelEvents {}
60
62
 
61
63
  /**
@@ -132,7 +134,7 @@ export interface DaylightEvents extends DaylightViewModelEvents {}
132
134
  * >
133
135
  * > The Daylight widget uses UTC time and does not account for the daylight savings times in different countries and regions of the world.
134
136
  * >
135
- * > When the {@link views/3d/SceneView#environment SceneView.environment.lighting} is of the type `virtual`, setting the time and date does not have an influence on the lighting conditions of the scene.
137
+ * > When the [SceneView.environment.lighting](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#environment) is of the type `virtual`, setting the time and date does not have an influence on the lighting conditions of the scene.
136
138
  *
137
139
  * @deprecated since 4.34. Use the [Daylight component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-daylight/) instead. For information on widget deprecation, read about [Esri's move to web components](https://developers.arcgis.com/javascript/latest/components-transition-plan/).
138
140
  * @since 4.14
@@ -5,6 +5,7 @@ import type { MeasurementMode } from "../../views/analysis/types.js";
5
5
  import type { AnalysisViewModel } from "../support/AnalysisViewModel.js";
6
6
  import type { DirectLineMeasurementAnalysisProperties } from "../../analysis/DirectLineMeasurementAnalysis.js";
7
7
 
8
+ /** @deprecated since 4.33. Use the [Direct Line Measurement 3D component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-direct-line-measurement-3d/) instead. For information on widget deprecation, read about [Esri's move to web components](https://developers.arcgis.com/javascript/latest/components-transition-plan/). */
8
9
  export interface DirectLineMeasurement3DViewModelProperties extends Partial<Pick<DirectLineMeasurement3DViewModel, "view">> {
9
10
  /**
10
11
  * The direct line measurement analysis object being created or modified by the view model.
@@ -155,7 +156,11 @@ export default class DirectLineMeasurement3DViewModel extends AnalysisViewModel<
155
156
  start(): Promise<void>;
156
157
  }
157
158
 
158
- /** Measurement value. */
159
+ /**
160
+ * Measurement value.
161
+ *
162
+ * @deprecated since 4.33. Use the [Direct Line Measurement 3D component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-direct-line-measurement-3d/) instead. For information on widget deprecation, read about [Esri's move to web components](https://developers.arcgis.com/javascript/latest/components-transition-plan/).
163
+ */
159
164
  export interface MeasurementValue {
160
165
  /**
161
166
  * State of the measured value.
@@ -170,6 +175,7 @@ export interface MeasurementValue {
170
175
  readonly text: string | null;
171
176
  }
172
177
 
178
+ /** @deprecated since 4.33. Use the [Direct Line Measurement 3D component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-direct-line-measurement-3d/) instead. For information on widget deprecation, read about [Esri's move to web components](https://developers.arcgis.com/javascript/latest/components-transition-plan/). */
173
179
  export interface Measurement {
174
180
  /** The 3D distance between the two points that is computed in a Euclidean manner. It is only available for distances below 100 kilometers. */
175
181
  readonly directDistance: MeasurementValue;
@@ -8,6 +8,7 @@ import type { SystemOrLengthUnit } from "../core/units.js";
8
8
  import type { WidgetProperties } from "./Widget.js";
9
9
  import type { DirectLineMeasurement3DViewModelProperties } from "./DirectLineMeasurement3D/DirectLineMeasurement3DViewModel.js";
10
10
 
11
+ /** @deprecated since 4.33. Use the [Direct Line Measurement 3D component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-direct-line-measurement-3d/) instead. For information on widget deprecation, read about [Esri's move to web components](https://developers.arcgis.com/javascript/latest/components-transition-plan/). */
11
12
  export interface DirectLineMeasurement3DProperties extends WidgetProperties, Partial<Pick<DirectLineMeasurement3D, "unit" | "unitOptions" | "view">> {
12
13
  /**
13
14
  * The direct line measurement analysis object being created or modified by the widget. This property is an
@@ -14,7 +14,7 @@ import type Stop from "../../rest/support/Stop.js";
14
14
  import type TravelMode from "../../rest/support/TravelMode.js";
15
15
  import type { EventedAccessor, EventedMixinProperties } from "../../core/Evented.js";
16
16
  import type { GeometryUnion } from "../../geometry/support/typeUtils.js";
17
- import type { RouteLayerSolveResult } from "../../layers/interfaces.js";
17
+ import type { RouteLayerSolveResult } from "../../layers/types.js";
18
18
  import type { SaveAsOptions } from "../../layers/mixins/properties/ILayerWithSave.js";
19
19
  import type { MapViewOrSceneView } from "../../views/MapViewOrSceneView.js";
20
20
  import type { GoTo, GoToProperties } from "../support/GoTo.js";
@@ -117,7 +117,7 @@ export default class DirectionsViewModel extends DirectionsViewModelSuperclass {
117
117
  */
118
118
  get impedanceAttribute(): NetworkAttribute | null | undefined;
119
119
  /**
120
- * The most recent route result. Returns a [RouteLayerSolveResult](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-interfaces.html#RouteLayerSolveResult)
120
+ * The most recent route result. Returns a [RouteLayerSolveResult](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-types.html#RouteLayerSolveResult)
121
121
  * object containing properties for barriers (if any), stops, and directions.
122
122
  *
123
123
  * @see [RouteLayer#solve()](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-RouteLayer.html#solve)
@@ -227,7 +227,7 @@ export default class DirectionsViewModel extends DirectionsViewModelSuperclass {
227
227
  * Computes a route and directions. If successful, results will be assigned to [lastRoute](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Directions-DirectionsViewModel.html#lastRoute)
228
228
  * and returned in a resolving promise. If a view is assigned, it will zoom to the extent of the route.
229
229
  *
230
- * @returns When resolved, returns a [RouteLayerSolveResult](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-interfaces.html#RouteLayerSolveResult).
230
+ * @returns When resolved, returns a [RouteLayerSolveResult](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-types.html#RouteLayerSolveResult).
231
231
  */
232
232
  getDirections(): Promise<RouteLayerSolveResult>;
233
233
  /**
@@ -5,7 +5,7 @@ import type DirectionsViewModel from "./Directions/DirectionsViewModel.js";
5
5
  import type DirectionsVisibleElements from "./Directions/DirectionsVisibleElements.js";
6
6
  import type { Icon } from "@esri/calcite-components/components/calcite-icon";
7
7
  import type { SystemOrLengthUnit } from "../core/units.js";
8
- import type { RouteLayerSolveResult } from "../layers/interfaces.js";
8
+ import type { RouteLayerSolveResult } from "../layers/types.js";
9
9
  import type { SaveAsOptions } from "../layers/mixins/properties/ILayerWithSave.js";
10
10
  import type { MapViewOrSceneView } from "../views/MapViewOrSceneView.js";
11
11
  import type { SearchProperties } from "./Search.js";
@@ -329,7 +329,7 @@ export default class Directions extends Widget {
329
329
  get label(): string;
330
330
  set label(value: string | null | undefined);
331
331
  /**
332
- * The most recent route result. Returns a [RouteLayerSolveResult](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-interfaces.html#RouteLayerSolveResult)
332
+ * The most recent route result. Returns a [RouteLayerSolveResult](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-types.html#RouteLayerSolveResult)
333
333
  * object containing properties for barriers (if any), stops, and directions.
334
334
  *
335
335
  * @see [RouteLayer#solve()](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-RouteLayer.html#solve)
@@ -407,7 +407,7 @@ export default class Directions extends Widget {
407
407
  * Computes a route and directions. If successfully computed, results will be assigned to [lastRoute](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Directions.html#lastRoute)
408
408
  * returned. If a view is assigned, it will zoom to the extent of the route.
409
409
  *
410
- * @returns When resolved, returns a [RouteLayerSolveResult](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-interfaces.html#RouteLayerSolveResult).
410
+ * @returns When resolved, returns a [RouteLayerSolveResult](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-types.html#RouteLayerSolveResult).
411
411
  */
412
412
  getDirections(): Promise<RouteLayerSolveResult>;
413
413
  /**
@@ -1,7 +1,7 @@
1
1
  import type MapView from "../../views/MapView.js";
2
2
  import type SnappingOptions from "../../views/interactive/snapping/SnappingOptions.js";
3
3
  import type { SystemOrLengthUnit } from "../../core/units.js";
4
- import type { LinearMeasurement, MeasurementState } from "../interfaces.js";
4
+ import type { LinearMeasurement, MeasurementState } from "../types.js";
5
5
  import type { InteractiveToolViewModel } from "../support/InteractiveToolViewModel.js";
6
6
  import type { SnappingOptionsProperties } from "../../views/interactive/snapping/SnappingOptions.js";
7
7
 
@@ -2,7 +2,7 @@ import type Graphic from "../../Graphic.js";
2
2
  import type CreateFeaturesWorkflowData from "./CreateFeaturesWorkflowData.js";
3
3
  import type Workflow from "./Workflow.js";
4
4
  import type { ReadonlyCollection } from "../../core/Collection.js";
5
- import type { CreateFeatureState, CreateFeaturesWorkflowStep } from "./interfaces.js";
5
+ import type { CreateFeatureState, CreateFeaturesWorkflowStep } from "./types.js";
6
6
  import type { WorkflowProperties } from "./Workflow.js";
7
7
 
8
8
  export interface CreateFeaturesWorkflowProperties extends WorkflowProperties {}
@@ -2,8 +2,8 @@ import type Graphic from "../../Graphic.js";
2
2
  import type Accessor from "../../core/Accessor.js";
3
3
  import type EditorViewModel from "./EditorViewModel.js";
4
4
  import type { ReadonlyCollection } from "../../core/Collection.js";
5
- import type { AnyEditingTemplate } from "../../editing/interfaces.js";
6
- import type { CreationInfo } from "./interfaces.js";
5
+ import type { AnyEditingTemplate } from "../../editing/types.js";
6
+ import type { CreationInfo } from "./types.js";
7
7
 
8
8
  export interface CreateFeaturesWorkflowDataProperties extends Partial<Pick<CreateFeaturesWorkflowData, "creationInfo" | "fullTemplate" | "viewModel">> {}
9
9
 
@@ -13,9 +13,9 @@ import type FeatureFormViewModel from "../FeatureForm/FeatureFormViewModel.js";
13
13
  import type FeatureTemplatesViewModel from "../FeatureTemplates/FeatureTemplatesViewModel.js";
14
14
  import type SketchViewModel from "../Sketch/SketchViewModel.js";
15
15
  import type { EventedAccessor, EventedMixinProperties } from "../../core/Evented.js";
16
- import type { AnyEditingTemplateInfo } from "../../editing/interfaces.js";
16
+ import type { AnyEditingTemplateInfo } from "../../editing/types.js";
17
17
  import type { MapViewOrSceneView } from "../../views/MapViewOrSceneView.js";
18
- import type { CreationInfo, EditorLayerUnion, EditorSketchCreateEvent, EditorSketchUpdateEvent, FailedOperation, FeatureInfo, LayerInfo, SplitFeatureWorkflowStep, State } from "./interfaces.js";
18
+ import type { CreationInfo, EditorLayerUnion, EditorSketchCreateEvent, EditorSketchUpdateEvent, FailedOperation, FeatureInfo, LayerInfo, SplitFeatureWorkflowStep, State } from "./types.js";
19
19
  import type { SplitterGeometry, SplitterGeometryType } from "./support/splitFeatureUtils.js";
20
20
  import type { AttachmentsViewModelProperties } from "../Attachments/AttachmentsViewModel.js";
21
21
  import type { FeatureTemplatesViewModelProperties } from "../FeatureTemplates/FeatureTemplatesViewModel.js";
@@ -250,7 +250,7 @@ export default class EditorViewModel extends EventedAccessor {
250
250
  * disabled | Dependencies are missing and cannot provide valid inputs.
251
251
  * editing-existing-feature | The Editor is currently editing an existing feature.
252
252
  * awaiting-update-feature-candidate | The period when the application is awaiting the user's input after clicking update and multiple features are returned. Specify the feature to update.
253
- * awaiting-feature-creation-info | This is the first step in the `create-features` workflow. A [CreationInfo](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor-interfaces.html#CreationInfo) is required.
253
+ * awaiting-feature-creation-info | This is the first step in the `create-features` workflow. A [CreationInfo](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor-types.html#CreationInfo) is required.
254
254
  * awaiting-feature-to-update | This is the first step in the `update` workflow. A [feature](https://developers.arcgis.com/javascript/latest/api-reference/esri-Graphic.html) is required.
255
255
  * awaiting-feature-to-create | The waiting period for when a feature is created before attribute/geometry edits can be performed.
256
256
  * adding-attachment | If currently `editing-existing-feature` and adding an attachment to an existing feature.
@@ -371,7 +371,7 @@ export default class EditorViewModel extends EventedAccessor {
371
371
  *
372
372
  * @param features - The features to be merged. These can be supplied
373
373
  * either as an array of [Graphic](https://developers.arcgis.com/javascript/latest/api-reference/esri-Graphic.html) instances or as a single
374
- * [FeatureInfo](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor-interfaces.html#FeatureInfo) object specifying a layer
374
+ * [FeatureInfo](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor-types.html#FeatureInfo) object specifying a layer
375
375
  * and the object IDs of the features.
376
376
  * @param options - Options for the merge features workflow.
377
377
  * @since 4.34
@@ -392,7 +392,7 @@ export default class EditorViewModel extends EventedAccessor {
392
392
  *
393
393
  * @param features - The features to be updated. These can be supplied
394
394
  * either as an array of [Graphic](https://developers.arcgis.com/javascript/latest/api-reference/esri-Graphic.html) instances or as a single
395
- * [FeatureInfo](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor-interfaces.html#FeatureInfo) object specifying a layer
395
+ * [FeatureInfo](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor-types.html#FeatureInfo) object specifying a layer
396
396
  * and the object IDs of the features.
397
397
  * @returns Resolves once the
398
398
  * [UpdateFeaturesWorkflow](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor-UpdateFeaturesWorkflow.html) is initiated.
@@ -1,7 +1,7 @@
1
1
  import type MergeFeaturesWorkflowData from "./MergeFeaturesWorkflowData.js";
2
2
  import type Workflow from "./Workflow.js";
3
3
  import type FeatureFormViewModel from "../FeatureForm/FeatureFormViewModel.js";
4
- import type { EditorLayerUnion, MergeFeaturesWorkflowStep } from "./interfaces.js";
4
+ import type { EditorLayerUnion, MergeFeaturesWorkflowStep } from "./types.js";
5
5
  import type { WorkflowProperties } from "./Workflow.js";
6
6
 
7
7
  export interface MergeFeaturesWorkflowProperties extends WorkflowProperties {}
@@ -2,7 +2,7 @@ import type Graphic from "../../Graphic.js";
2
2
  import type SplitFeatureWorkflowData from "./SplitFeatureWorkflowData.js";
3
3
  import type Workflow from "./Workflow.js";
4
4
  import type FeatureFormViewModel from "../FeatureForm/FeatureFormViewModel.js";
5
- import type { EditorLayerUnion, SplitFeatureWorkflowStep } from "./interfaces.js";
5
+ import type { EditorLayerUnion, SplitFeatureWorkflowStep } from "./types.js";
6
6
  import type { WorkflowProperties } from "./Workflow.js";
7
7
  import type { SplitterGeometryType } from "./support/splitFeatureUtils.js";
8
8
 
@@ -50,7 +50,7 @@ export default abstract class SplitFeatureWorkflowData extends Accessor {
50
50
  * @see [newFeatureEdits](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor-SplitFeatureWorkflowData.html#newFeatureEdits)
51
51
  */
52
52
  accessor newFeatureEdits: Edits | null | undefined;
53
- /** The geometry to be used to split the geometry of {@link widgets/Editor/SplitFeatureWorkflowData#originalFeature}. */
53
+ /** The geometry to be used to split the geometry of the initial feature. */
54
54
  accessor splitterGeometry: SplitterGeometry | null | undefined;
55
55
  /** The associated [EditorViewModel](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor-EditorViewModel.html) for this workflow. */
56
56
  accessor viewModel: EditorViewModel;
@@ -2,4 +2,4 @@
2
2
  All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
4
4
  */
5
- import{__decorate as e}from"tslib";import t from"../../core/Error.js";import{makeHandle as i}from"../../core/handleUtils.js";import"../../core/has.js";import{destroyMaybe as s}from"../../core/maybe.js";import{watch as a}from"../../core/reactiveUtils.js";import{property as o,subclass as r}from"../../core/accessorSupport/decorators.js";import l from"../../layers/GraphicsLayer.js";import{highlightsSupported as h}from"../../views/support/layerViewUtils.js";import d from"./UpdateFeatureWorkflowData.js";import{UpdateRecordWorkflow as n,handleKeys as c}from"./UpdateRecordWorkflow.js";import{getVisualVariableAttributes as p,setUpGeometryUpdate as u,updateGraphicSymbolWhenRequired as w,swapForEditingSession as m,cloneGraphicExceptMesh as y,canCreateInteractiveEditSession as f,isTerminalUpdateEventType as k}from"./workflowUtils.js";import g from"../Sketch/SketchViewModel.js";var _;const V={...c,highlights:Symbol(),sketchGraphics:Symbol(),sketchViewModel:Symbol(),waitingForTool:Symbol()};let v=_=class extends n{constructor(e){super(e),this.type="update-feature",this._layerViewEditSession=null,this._sketchGraphicClone=null,this._sketchLayer=null,this._sketchViewModel=null,this._webStyleCache=new Map}destroy(){this._layerViewEditSession?.rollback()}get viewGraphic(){return this._sketchViewModel?this._sketchGraphicClone:this.data.edits.feature??this.fullFeature}async commit(){this.removeHandles(V.sketchGraphics);try{const e=this.data.edits.stagedForDelete;await super.commit();const t=this._layerViewEditSession;e?t?.rollback():t?.commit()}catch(e){throw await this._configureSketchViewModel(),new t("editor-workflow:failed-to-commit","An error occurred when sending the updates to the service",{error:e})}}async start(){return await super.start(),await this._initializeSketchViewModel()}_initializeFormViewModel(){super._initializeFormViewModel(),this.addHandles([this._formViewModel.on("value-change",e=>{this._layerViewEditSession?.setAttribute(e.fieldName,e.value)}),a(()=>this._formViewModel.feature?.sourceLayer,e=>this._sketchGraphicClone.sourceLayer=e)])}_configureHighlight(){const{edits:e,layerView:t}=this.data;h(t)&&this.addHandles(t.highlight(e.feature),V.highlights)}async _configureSketchViewModel(){const{_sketchLayer:e,_sketchViewModel:t}=this;if(!t||!e)return;const{data:i,_formViewModel:s,_sketchGraphicClone:a}=this,{edits:o,viewModel:r}=i,l=o.feature,{view:h}=r,d=p(l),n=await u({feature:l,featureClone:a,visualVariableAttributes:d,sketchLayer:e,sketchViewModel:t,view:h,onUpdate:({geometry:e,attributes:t},i)=>{if(o.updateAttributes(t),o.updateGeometry(e),s.feature&&(s.feature.geometry=e),null!=d.rotation){const{field:e}=d.rotation;s.setValue(e,t[e])}if(null!=d.size){const{field:e}=d.size;s.setValue(e,t[e])}("undo"===i.type||"redo"===i.type||"update"===i.type&&null!=i.toolEventInfo&&k(i.toolEventInfo.type))&&s.notifyFeatureGeometryChanged()},addUpdatingPromise:e=>{this._updatingHandles.addPromise(e)},addHandle:e=>{this.addHandles(e,V.waitingForTool)},webStyleCache:this._webStyleCache});this.addHandles(n,V.sketchGraphics),t.addHandles(n)}async _initializeSketchViewModel(){const{data:e,_sketchGraphicClone:t}=this,{readOnly:a}=e,o=e.edits.feature,{capabilities:r,layer:h}=e.editorItem,d=e.viewModel.view;if(this.removeHandles([V.highlights,V.sketchGraphics,V.sketchViewModel,V.waitingForTool]),!r.update.geometry||a)return{enter:async()=>{this.hasHandles(V.highlights)||this._configureHighlight()},exit:()=>this.removeHandles([V.highlights])};const n=new l({elevationInfo:h.elevationInfo,internal:!0,listMode:"hide",title:"updateFeaturesWorkflow-internal"}),c={reshapeOptions:{enableCreateCurveFromStraightEdge:h.capabilities?.query.supportsTrueCurve}},p=new g({allowDeleteKey:!1,layer:n,sketchOptions:e.sketchOptions,snappingManager:e.snappingManager,updateOnGraphicClick:!1,defaultUpdateOptions:c,view:d});return this._sketchLayer=n,this._sketchViewModel=p,d?.map.add(n),await(d?.whenLayerView(n)),this.addHandles(i(()=>{d?.destroyed||d?.map.remove(n),n.destroyed||n.destroy(),this._sketchViewModel=s(p)}),V.sketchViewModel),await w(t,this._webStyleCache,"2d"===d?.type?d.scale:null),this.addHandles([await m(n,d,o,t)]),{enter:async()=>{this.hasHandles(V.sketchGraphics)||await this._configureSketchViewModel()},exit:()=>this.removeHandles([V.sketchGraphics]),viewModel:p}}_onFullFeatureLoaded(e){super._onFullFeatureLoaded(e);const t=this._sketchGraphicClone=y(e),{edits:i,layerView:s}=this.data;i.updateGeometry(e.geometry),i.trackChanges(),f(s)&&(this._layerViewEditSession=s.createInteractiveEditSession(t))}static async create(e){const t=new _({data:await d.create(e),onCommit:this._onCommitFactory(e.applyEdits)});return t._set("steps",this._createWorkflowSteps(t)),t}get test(){}};e([o()],v.prototype,"_layerViewEditSession",void 0),e([o()],v.prototype,"_sketchGraphicClone",void 0),e([o()],v.prototype,"_sketchLayer",void 0),e([o()],v.prototype,"_sketchViewModel",void 0),v=_=e([r("esri.widgets.Editor.UpdateFeatureWorkflow")],v);export{v as UpdateFeatureWorkflow,V as handleKeys};
5
+ import{__decorate as e}from"tslib";import t from"../../core/Error.js";import{makeHandle as i}from"../../core/handleUtils.js";import"../../core/has.js";import{destroyMaybe as s}from"../../core/maybe.js";import{watch as a}from"../../core/reactiveUtils.js";import{property as o,subclass as r}from"../../core/accessorSupport/decorators.js";import l from"../../layers/GraphicsLayer.js";import{isSceneLayer as h}from"../../layers/support/layerUtils.js";import{highlightsSupported as d}from"../../views/support/layerViewUtils.js";import n from"./UpdateFeatureWorkflowData.js";import{UpdateRecordWorkflow as c,handleKeys as p}from"./UpdateRecordWorkflow.js";import{getVisualVariableAttributes as u,setUpGeometryUpdate as w,updateGraphicSymbolWhenRequired as m,swapForEditingSession as y,cloneGraphicExceptMesh as f,canCreateInteractiveEditSession as k,isTerminalUpdateEventType as g}from"./workflowUtils.js";import _ from"../Sketch/SketchViewModel.js";var V;const v={...p,highlights:Symbol(),sketchGraphics:Symbol(),sketchViewModel:Symbol(),waitingForTool:Symbol()};let M=V=class extends c{constructor(e){super(e),this.type="update-feature",this._layerViewEditSession=null,this._sketchGraphicClone=null,this._sketchLayer=null,this._sketchViewModel=null,this._webStyleCache=new Map}destroy(){this._layerViewEditSession?.rollback()}get viewGraphic(){return this._sketchViewModel?this._sketchGraphicClone:this.data.edits.feature??this.fullFeature}async commit(){this.removeHandles(v.sketchGraphics);try{const e=this.data.edits.stagedForDelete;await super.commit();const t=this._layerViewEditSession;e?t?.rollback():t?.commit()}catch(e){throw await this._configureSketchViewModel(),new t("editor-workflow:failed-to-commit","An error occurred when sending the updates to the service",{error:e})}}async start(){return await super.start(),await this._initializeSketchViewModel()}_initializeFormViewModel(){super._initializeFormViewModel(),this.addHandles([this._formViewModel.on("value-change",e=>{this._layerViewEditSession?.setAttribute(e.fieldName,e.value)}),a(()=>this._formViewModel.feature?.sourceLayer,e=>this._sketchGraphicClone.sourceLayer=e)])}_configureHighlight(){const{edits:e,layerView:t}=this.data;d(t)&&this.addHandles(t.highlight(e.feature),v.highlights)}async _configureSketchViewModel(){const{_sketchLayer:e,_sketchViewModel:t}=this;if(!t||!e)return;const{data:i,_formViewModel:s,_sketchGraphicClone:a}=this,{edits:o,viewModel:r}=i,l=o.feature,{view:h}=r,d=u(l),n=await w({feature:l,featureClone:a,visualVariableAttributes:d,sketchLayer:e,sketchViewModel:t,view:h,onUpdate:({geometry:e,attributes:t},i)=>{if(o.updateAttributes(t),o.updateGeometry(e),s.feature&&(s.feature.geometry=e),null!=d.rotation){const{field:e}=d.rotation;s.setValue(e,t[e])}if(null!=d.size){const{field:e}=d.size;s.setValue(e,t[e])}("undo"===i.type||"redo"===i.type||"update"===i.type&&null!=i.toolEventInfo&&g(i.toolEventInfo.type))&&s.notifyFeatureGeometryChanged()},addUpdatingPromise:e=>{this._updatingHandles.addPromise(e)},addHandle:e=>{this.addHandles(e,v.waitingForTool)},webStyleCache:this._webStyleCache});this.addHandles(n,v.sketchGraphics),t.addHandles(n)}async _initializeSketchViewModel(){const{data:e,_sketchGraphicClone:t}=this,{readOnly:a}=e,o=e.edits.feature,{capabilities:r,layer:d}=e.editorItem,n=e.viewModel.view;if(this.removeHandles([v.highlights,v.sketchGraphics,v.sketchViewModel,v.waitingForTool]),!r.update.geometry||a)return{enter:async()=>{this.hasHandles(v.highlights)||this._configureHighlight()},exit:()=>this.removeHandles([v.highlights])};const c=new l({elevationInfo:d.elevationInfo,internal:!0,listMode:"hide",title:"updateFeaturesWorkflow-internal"}),p={reshapeOptions:{enableCreateCurveFromStraightEdge:!h(d)&&d.capabilities?.data.supportsTrueCurve}},u=new _({allowDeleteKey:!1,layer:c,sketchOptions:e.sketchOptions,snappingManager:e.snappingManager,updateOnGraphicClick:!1,defaultUpdateOptions:p,view:n});return this._sketchLayer=c,this._sketchViewModel=u,n?.map.add(c),await(n?.whenLayerView(c)),this.addHandles(i(()=>{n?.destroyed||n?.map.remove(c),c.destroyed||c.destroy(),this._sketchViewModel=s(u)}),v.sketchViewModel),await m(t,this._webStyleCache,"2d"===n?.type?n.scale:null),this.addHandles([await y(c,n,o,t)]),{enter:async()=>{this.hasHandles(v.sketchGraphics)||await this._configureSketchViewModel()},exit:()=>this.removeHandles([v.sketchGraphics]),viewModel:u}}_onFullFeatureLoaded(e){super._onFullFeatureLoaded(e);const t=this._sketchGraphicClone=f(e),{edits:i,layerView:s}=this.data;i.updateGeometry(e.geometry),i.trackChanges(),k(s)&&(this._layerViewEditSession=s.createInteractiveEditSession(t))}static async create(e){const t=new V({data:await n.create(e),onCommit:this._onCommitFactory(e.applyEdits)});return t._set("steps",this._createWorkflowSteps(t)),t}get test(){}};e([o()],M.prototype,"_layerViewEditSession",void 0),e([o()],M.prototype,"_sketchGraphicClone",void 0),e([o()],M.prototype,"_sketchLayer",void 0),e([o()],M.prototype,"_sketchViewModel",void 0),M=V=e([r("esri.widgets.Editor.UpdateFeatureWorkflow")],M);export{M as UpdateFeatureWorkflow,v as handleKeys};
@@ -1,6 +1,6 @@
1
1
  import type UpdateFeaturesWorkflowData from "./UpdateFeaturesWorkflowData.js";
2
2
  import type Workflow from "./Workflow.js";
3
- import type { UpdateFeaturesWorkflowStep } from "./interfaces.js";
3
+ import type { UpdateFeaturesWorkflowStep } from "./types.js";
4
4
  import type { WorkflowProperties } from "./Workflow.js";
5
5
 
6
6
  export interface UpdateFeaturesWorkflowProperties extends WorkflowProperties {}
@@ -2,7 +2,7 @@ import type Graphic from "../../Graphic.js";
2
2
  import type EditorViewModel from "./EditorViewModel.js";
3
3
  import type EditorItem from "./support/EditorItem.js";
4
4
  import type { EsriPromise, EsriPromiseMixinProperties } from "../../core/Promise.js";
5
- import type { FeatureInfo } from "./interfaces.js";
5
+ import type { FeatureInfo } from "./types.js";
6
6
 
7
7
  export interface UpdateFeaturesWorkflowDataProperties extends EsriPromiseMixinProperties, Partial<Pick<UpdateFeaturesWorkflowData, "selectedFeature" | "viewModel">> {
8
8
  /**
@@ -1,6 +1,6 @@
1
1
  import type UpdateWorkflowData from "./UpdateWorkflowData.js";
2
2
  import type Workflow from "./Workflow.js";
3
- import type { UpdateWorkflowStep } from "./interfaces.js";
3
+ import type { UpdateWorkflowStep } from "./types.js";
4
4
  import type { WorkflowProperties } from "./Workflow.js";
5
5
 
6
6
  export interface UpdateWorkflowProperties extends WorkflowProperties {}
@@ -4,7 +4,7 @@ import type SplitFeatureWorkflowData from "./SplitFeatureWorkflowData.js";
4
4
  import type UpdateFeaturesWorkflowData from "./UpdateFeaturesWorkflowData.js";
5
5
  import type UpdateWorkflowData from "./UpdateWorkflowData.js";
6
6
  import type { EventedAccessor, EventedMixinProperties } from "../../core/Evented.js";
7
- import type { CancelWorkflowOptions } from "./interfaces.js";
7
+ import type { CancelWorkflowOptions } from "./types.js";
8
8
 
9
9
  export interface WorkflowProperties<D extends CreateFeaturesWorkflowData | MergeFeaturesWorkflowData | SplitFeatureWorkflowData | UpdateWorkflowData | UpdateFeaturesWorkflowData = CreateFeaturesWorkflowData | MergeFeaturesWorkflowData | SplitFeatureWorkflowData | UpdateWorkflowData | UpdateFeaturesWorkflowData, S extends string = string> extends EventedMixinProperties {}
10
10
 
@@ -1,27 +1,27 @@
1
1
  import type FormTemplate from "../../../form/FormTemplate.js";
2
2
  import type EditingCapabilities from "../../../layers/support/EditingCapabilities.js";
3
3
  import type { EditingCapabilitiesProperties } from "../../../layers/support/EditingCapabilities.js";
4
- import type { AttachmentCapabilities, CreateCapabilities, DeleteCapabilities, RelationshipCapabilities, UpdateCapabilities } from "../../../layers/support/interfaces.js";
5
- import type { LayerInfo } from "../interfaces.js";
4
+ import type { AttachmentCapabilities, CreateCapabilities, DeleteCapabilities, RelationshipCapabilities, UpdateCapabilities } from "../../../layers/support/types.js";
5
+ import type { LayerInfo } from "../types.js";
6
6
 
7
7
  export interface EditorEditingCapabilitiesProperties extends EditingCapabilitiesProperties, Partial<Pick<EditorEditingCapabilities, "layerInfo">> {}
8
8
 
9
9
  /** The current editing capabilities for the provided layer and read by the [Editor](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor.html). This takes into account what is set on the [EditorItem#layerInfo](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor-support-EditorItem.html#layerInfo) */
10
10
  export default abstract class EditorEditingCapabilities extends EditingCapabilities {
11
- /** Specific permissions for attachment operations. It takes into account the [Editor's layerInfo](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor-interfaces.html#LayerInfo) settings. */
11
+ /** Specific permissions for attachment operations. It takes into account the [Editor's layerInfo](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor-types.html#LayerInfo) settings. */
12
12
  get attachments(): AttachmentCapabilities;
13
- /** Specific permissions for create operations. It takes into account the [Editor's layerInfo](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor-interfaces.html#LayerInfo) settings. */
13
+ /** Specific permissions for create operations. It takes into account the [Editor's layerInfo](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor-types.html#LayerInfo) settings. */
14
14
  get create(): CreateCapabilities;
15
15
  /** The default editing capabilities for the provided layer. This does not take into account what may be set on the [EditorItem#layerInfo](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor-support-EditorItem.html#layerInfo) settings. */
16
16
  get defaults(): EditingCapabilities;
17
- /** Specific permissions for delete operations. It takes into account the [Editor's layerInfo](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor-interfaces.html#LayerInfo) settings. */
17
+ /** Specific permissions for delete operations. It takes into account the [Editor's layerInfo](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor-types.html#LayerInfo) settings. */
18
18
  get delete(): DeleteCapabilities;
19
- /** The primary form template in use. It takes into account the Editor's [layerInfos](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor-interfaces.html#LayerInfo) and whether a form template is set on a `layerInfo` within it. If so, the form template set on a [LayerInfo](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor-interfaces.html#LayerInfo) within the Editor takes precedence over a form template set directly on a [FeatureLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html) or [SubtypeSublayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-SubtypeSublayer.html). A form template set within the [Editor](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor.html) widget's [layerInfos](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor-interfaces.html#LayerInfo) takes priority over a form template set directly on a [FeatureLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html) or [SubtypeSublayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-SubtypeSublayer.html). */
19
+ /** The primary form template in use. It takes into account the Editor's [layerInfos](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor-types.html#LayerInfo) and whether a form template is set on a `layerInfo` within it. If so, the form template set on a [LayerInfo](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor-types.html#LayerInfo) within the Editor takes precedence over a form template set directly on a [FeatureLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html) or [SubtypeSublayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-SubtypeSublayer.html). A form template set within the [Editor](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor.html) widget's [layerInfos](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor-types.html#LayerInfo) takes priority over a form template set directly on a [FeatureLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html) or [SubtypeSublayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-SubtypeSublayer.html). */
20
20
  get formTemplate(): FormTemplate | null | undefined;
21
- /** The layer's associated [LayerInfo](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor-interfaces.html#LayerInfo) . */
21
+ /** The layer's associated [LayerInfo](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor-types.html#LayerInfo) . */
22
22
  accessor layerInfo: LayerInfo | null | undefined;
23
- /** Indicates if the layer contains at least one relationship in addition to child [Workflow](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor-Workflow.html) permissions. It takes into account what is set on the [EditorItem#layerInfo](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor-support-EditorItem.html#layerInfo). It does not take into account whether a parent or related layer has the ability to edit. A collection of all {@link widgets/Editor/support/Editor EditorItems} that represent potential related layers should be referenced if accessing editing permissions per related layer. */
23
+ /** Indicates if the layer contains at least one relationship in addition to child [Workflow](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor-Workflow.html) permissions. It takes into account what is set on the [EditorItem#layerInfo](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor-support-EditorItem.html#layerInfo). It does not take into account whether a parent or related layer has the ability to edit. A collection of all [EditorItems](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor-support-EditorItem.html) that represent potential related layers should be referenced if accessing editing permissions per related layer. */
24
24
  get relationship(): RelationshipCapabilities;
25
- /** Specific permissions for update operations. It takes into account the [Editor's layerInfo](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor-interfaces.html#LayerInfo) settings. */
25
+ /** Specific permissions for update operations. It takes into account the [Editor's layerInfo](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor-types.html#LayerInfo) settings. */
26
26
  get update(): UpdateCapabilities;
27
27
  }
@@ -1,7 +1,7 @@
1
1
  import type Accessor from "../../../core/Accessor.js";
2
2
  import type FormTemplate from "../../../form/FormTemplate.js";
3
3
  import type EditorEditingCapabilities from "./EditorEditingCapabilities.js";
4
- import type { EditorLayerUnion, LayerInfo } from "../interfaces.js";
4
+ import type { EditorLayerUnion, LayerInfo } from "../types.js";
5
5
 
6
6
  export interface EditorItemProperties extends Partial<Pick<EditorItem, "disabled" | "layer" | "layerInfo">> {}
7
7
 
@@ -59,9 +59,9 @@ export default class EditorItem extends Accessor {
59
59
  */
60
60
  get editable(): boolean;
61
61
  /**
62
- * A reference to the primary [FormTemplate](https://developers.arcgis.com/javascript/latest/api-reference/esri-form-FormTemplate.html) in use. A form template set within the [Editor](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor.html) widget's [layerInfos](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor-interfaces.html#LayerInfo) takes priority over a form template set directly on a [FeatureLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html) or [SubtypeSublayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-SubtypeSublayer.html).
62
+ * A reference to the primary [FormTemplate](https://developers.arcgis.com/javascript/latest/api-reference/esri-form-FormTemplate.html) in use. A form template set within the [Editor](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor.html) widget's [layerInfos](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor-types.html#LayerInfo) takes priority over a form template set directly on a [FeatureLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html) or [SubtypeSublayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-SubtypeSublayer.html).
63
63
  *
64
- * @see [Editor.layerInfos](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor-interfaces.html#LayerInfo)
64
+ * @see [Editor.layerInfos](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor-types.html#LayerInfo)
65
65
  * @see [FeatureLayer#formTemplate](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#formTemplate)
66
66
  * @see [SubtypeSublayer#formTemplate](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-SubtypeSublayer.html#formTemplate)
67
67
  */
@@ -83,7 +83,7 @@ export default class EditorItem extends Accessor {
83
83
  /** The layer currently being edited. */
84
84
  accessor layer: EditorLayerUnion;
85
85
  /**
86
- * The [LayerInfo](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor-interfaces.html#LayerInfo) for the provided layer.
86
+ * The [LayerInfo](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor-types.html#LayerInfo) for the provided layer.
87
87
  *
88
88
  * @see [Editor#layerInfos](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor.html#layerInfos)
89
89
  */
@@ -2,4 +2,4 @@
2
2
  All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
4
4
  */
5
- import{__decorate as e}from"tslib";import t from"../../../core/Accessor.js";import{isSome as i}from"../../../core/arrayUtils.js";import{abortHandle as s}from"../../../core/handleUtils.js";import{debounce as a}from"../../../core/promiseUtils.js";import r from"../../../core/ReactiveMap.js";import{whenOnce as o,watch as n}from"../../../core/reactiveUtils.js";import{property as l,subclass as p}from"../../../core/accessorSupport/decorators.js";import{UpdatingHandles as d}from"../../../core/support/UpdatingHandles.js";import c from"../../../layers/GraphicsLayer.js";import h from"../../../views/interactive/sketch/SketchOptions.js";import{getVisualVariablesForLayer as u,updateGraphicSymbolWhenRequired as y,setVisualVariablesAndElevationInfoForUpdate as m,swapForEditingSession as v,visualVariableInteractiveUpdate as g,getSizeVariableAttribute as _,getRotationVariableAttribute as b}from"../workflowUtils.js";import w from"../../Sketch/SketchViewModel.js";const f=Symbol();let k=class extends t{constructor(e){super(e),this.features=[],this.onGeometriesUpdated=()=>{},this.onVisualVariableAttributesUpdated=()=>{},this.sketchOptions=new h,this.snappingManager=null,this.sourceLayer=null,this.view=null,this.viewModel=null,this._nextUpdateSubset=[],this._sketchGraphicsMap=new r,this._sketchLayer=null,this._updatingHandles=new d,this._visualVariableAttributes=new Map,this._visualVariablesForLayer=null,this._webStyleCache=new Map}async initialize(){this._visualVariablesForLayer=u(this.sourceLayer),this._nextUpdateSubset=this.features,this._initializeSketchGraphics(),this._initializeSketchLayer(),await this._updatingHandles.addPromise(this._initializeSketchViewModel())}destroy(){const{_sketchLayer:e,view:t}=this;t?.destroyed||t?.map.remove(e),this._updatingHandles.destroy(),e.destroy(),this.viewModel.destroy()}get sketchGraphics(){return Array.from(this._sketchGraphicsMap.values())}get updating(){return this._updatingHandles.updating}async enter(){await this.startUpdatingFeatures(this._nextUpdateSubset)}async exit(){this._completeCurrentOperation()}notifyAttributesChanged({features:e,fieldName:t}){const i=this._webStyleCache,s=this.view.scale,a=this._updatingHandles;for(const r of e){const e=this._sketchGraphicsMap.get(r),o=r.getAttribute(t);if(!e||e.getAttribute(t)===o)continue;e.setAttribute(t,o);const n=this._visualVariableAttributes.get(r);null==n?.size||n.size.isUpdatingInteractively||n.size.field!==t||n.size.setInitialValue(o),null==n?.rotation||n.rotation.isUpdatingInteractively||n.rotation.field!==t||n.rotation.setInitialValue(o),a.addPromise(y(e,i,s))}}async startUpdatingFeatures(e){const{onGeometriesUpdated:t,onVisualVariableAttributesUpdated:a,_sketchGraphicsMap:r,_sketchLayer:n,sourceLayer:l,view:p,viewModel:d,_webStyleCache:c}=this,h=e.map(e=>r.get(e)).filter(i),u={};this._completeCurrentOperation();let v=null;if(1===e.length){const t=e[0],i=this._visualVariableAttributes.get(t);!(!i?.rotation&&!i?.size)&&(await m({graphic:h[0],sketchLayer:n,sketchViewModel:d,sourceLayer:l,visualVariables:i,webStyleCache:c}),"point"===l.geometryType&&(u.enableRotation=null!=i.rotation,u.enableScaling=null!=i.size,v=async e=>{const s=e.graphics[0];g(p,s,e,i)&&(a?.([{feature:t,attributes:s.attributes}],e),this._updatingHandles.addPromise(y(s,c,"2d"===p.type?p.scale:null)))}))}else u.tool="move";const _=()=>d.update(h,u),b=d.on("update",a=>{if("complete"===a.state){if(null===p.activeTool)return void _();const e=new AbortController,t=s(e);return this.addHandles(t,f),void this._updatingHandles.addPromise(o(()=>null===p.activeTool,e.signal).then(async()=>{e.signal.aborted||(e.abort(),await _())}))}const n=e.map(e=>{const t=r.get(e);return t?{feature:e,geometry:t.geometry}:null}).filter(i);t(n,a),v?.(a)});await _(),this._nextUpdateSubset=this.features,this.addHandles(b,f),d.addHandles(b)}_completeCurrentOperation(){this.removeHandles(f),this.viewModel.complete()}_initializeSketchGraphics(){const{features:e,_sketchGraphicsMap:t,sourceLayer:i,_visualVariableAttributes:s}=this,a=this._visualVariablesForLayer,r=a.rotation?.field,o=a.size?.field,n={rotation:r?i.getField(r):null,size:o?i.getField(o):null},l=!(!n.rotation&&!n.size);for(const p of e)t.set(p,p.clone()),l&&s.set(p,S(a,n))}_initializeSketchLayer(){const{view:e}=this,t=new c({elevationInfo:this.sourceLayer.elevationInfo,internal:!0,listMode:"hide",title:"SketchController layer"});this._sketchLayer=t,e.map.add(t),this._updatingHandles.addPromise(e.whenLayerView(t))}async _initializeSketchViewModel(){const{_sketchGraphicsMap:e,_sketchLayer:t,sourceLayer:i,view:s,_webStyleCache:r}=this,o=Array.from(e.entries()),l=new w({allowDeleteKey:!1,defaultUpdateOptions:{multipleSelectionEnabled:!1,reshapeOptions:{enableCreateCurveFromStraightEdge:i.capabilities?.query.supportsTrueCurve}},layer:t,sketchOptions:this.sketchOptions,snappingManager:this.snappingManager,updateOnGraphicClick:!1,view:s});this.viewModel=l;const p=a(e=>Promise.all(o.map(([,t])=>y(t,r,e))));await p("2d"===s.type?s.scale:null),"2d"===s.type&&this.addHandles(n(()=>s.scale,e=>p(e))),this.addHandles(await Promise.all(o.map(([e,i])=>v(t,s,e,i))))}};function S({rotation:e,size:t},i){return{rotation:e?b(e,i.rotation):null,size:t?_(t,i.size):null}}e([l()],k.prototype,"features",void 0),e([l()],k.prototype,"onGeometriesUpdated",void 0),e([l()],k.prototype,"onVisualVariableAttributesUpdated",void 0),e([l()],k.prototype,"sketchGraphics",null),e([l()],k.prototype,"sketchOptions",void 0),e([l()],k.prototype,"snappingManager",void 0),e([l()],k.prototype,"sourceLayer",void 0),e([l()],k.prototype,"updating",null),e([l()],k.prototype,"view",void 0),e([l()],k.prototype,"viewModel",void 0),e([l()],k.prototype,"_nextUpdateSubset",void 0),e([l()],k.prototype,"_sketchGraphicsMap",void 0),e([l()],k.prototype,"_sketchLayer",void 0),e([l()],k.prototype,"_visualVariablesForLayer",void 0),k=e([p("esri.widgets.Editor.support.SketchController")],k);export{k as SketchController};
5
+ import{__decorate as e}from"tslib";import t from"../../../core/Accessor.js";import{isSome as i}from"../../../core/arrayUtils.js";import{abortHandle as s}from"../../../core/handleUtils.js";import{debounce as a}from"../../../core/promiseUtils.js";import r from"../../../core/ReactiveMap.js";import{whenOnce as o,watch as n}from"../../../core/reactiveUtils.js";import{property as l,subclass as p}from"../../../core/accessorSupport/decorators.js";import{UpdatingHandles as d}from"../../../core/support/UpdatingHandles.js";import c from"../../../layers/GraphicsLayer.js";import{isSceneLayer as h}from"../../../layers/support/layerUtils.js";import u from"../../../views/interactive/sketch/SketchOptions.js";import{getVisualVariablesForLayer as y,updateGraphicSymbolWhenRequired as m,setVisualVariablesAndElevationInfoForUpdate as v,swapForEditingSession as g,visualVariableInteractiveUpdate as _,getSizeVariableAttribute as b,getRotationVariableAttribute as f}from"../workflowUtils.js";import w from"../../Sketch/SketchViewModel.js";const k=Symbol();let S=class extends t{constructor(e){super(e),this.features=[],this.onGeometriesUpdated=()=>{},this.onVisualVariableAttributesUpdated=()=>{},this.sketchOptions=new u,this.snappingManager=null,this.sourceLayer=null,this.view=null,this.viewModel=null,this._nextUpdateSubset=[],this._sketchGraphicsMap=new r,this._sketchLayer=null,this._updatingHandles=new d,this._visualVariableAttributes=new Map,this._visualVariablesForLayer=null,this._webStyleCache=new Map}async initialize(){this._visualVariablesForLayer=y(this.sourceLayer),this._nextUpdateSubset=this.features,this._initializeSketchGraphics(),this._initializeSketchLayer(),await this._updatingHandles.addPromise(this._initializeSketchViewModel())}destroy(){const{_sketchLayer:e,view:t}=this;t?.destroyed||t?.map.remove(e),this._updatingHandles.destroy(),e.destroy(),this.viewModel.destroy()}get sketchGraphics(){return Array.from(this._sketchGraphicsMap.values())}get updating(){return this._updatingHandles.updating}async enter(){await this.startUpdatingFeatures(this._nextUpdateSubset)}async exit(){this._completeCurrentOperation()}notifyAttributesChanged({features:e,fieldName:t}){const i=this._webStyleCache,s=this.view.scale,a=this._updatingHandles;for(const r of e){const e=this._sketchGraphicsMap.get(r),o=r.getAttribute(t);if(!e||e.getAttribute(t)===o)continue;e.setAttribute(t,o);const n=this._visualVariableAttributes.get(r);null==n?.size||n.size.isUpdatingInteractively||n.size.field!==t||n.size.setInitialValue(o),null==n?.rotation||n.rotation.isUpdatingInteractively||n.rotation.field!==t||n.rotation.setInitialValue(o),a.addPromise(m(e,i,s))}}async startUpdatingFeatures(e){const{onGeometriesUpdated:t,onVisualVariableAttributesUpdated:a,_sketchGraphicsMap:r,_sketchLayer:n,sourceLayer:l,view:p,viewModel:d,_webStyleCache:c}=this,h=e.map(e=>r.get(e)).filter(i),u={};this._completeCurrentOperation();let y=null;if(1===e.length){const t=e[0],i=this._visualVariableAttributes.get(t);!(!i?.rotation&&!i?.size)&&(await v({graphic:h[0],sketchLayer:n,sketchViewModel:d,sourceLayer:l,visualVariables:i,webStyleCache:c}),"point"===l.geometryType&&(u.enableRotation=null!=i.rotation,u.enableScaling=null!=i.size,y=async e=>{const s=e.graphics[0];_(p,s,e,i)&&(a?.([{feature:t,attributes:s.attributes}],e),this._updatingHandles.addPromise(m(s,c,"2d"===p.type?p.scale:null)))}))}else u.tool="move";const g=()=>d.update(h,u),b=d.on("update",a=>{if("complete"===a.state){if(null===p.activeTool)return void g();const e=new AbortController,t=s(e);return this.addHandles(t,k),void this._updatingHandles.addPromise(o(()=>null===p.activeTool,e.signal).then(async()=>{e.signal.aborted||(e.abort(),await g())}))}const n=e.map(e=>{const t=r.get(e);return t?{feature:e,geometry:t.geometry}:null}).filter(i);t(n,a),y?.(a)});await g(),this._nextUpdateSubset=this.features,this.addHandles(b,k),d.addHandles(b)}_completeCurrentOperation(){this.removeHandles(k),this.viewModel.complete()}_initializeSketchGraphics(){const{features:e,_sketchGraphicsMap:t,sourceLayer:i,_visualVariableAttributes:s}=this,a=this._visualVariablesForLayer,r=a.rotation?.field,o=a.size?.field,n={rotation:r?i.getField(r):null,size:o?i.getField(o):null},l=!(!n.rotation&&!n.size);for(const p of e)t.set(p,p.clone()),l&&s.set(p,M(a,n))}_initializeSketchLayer(){const{view:e}=this,t=new c({elevationInfo:this.sourceLayer.elevationInfo,internal:!0,listMode:"hide",title:"SketchController layer"});this._sketchLayer=t,e.map.add(t),this._updatingHandles.addPromise(e.whenLayerView(t))}async _initializeSketchViewModel(){const{_sketchGraphicsMap:e,_sketchLayer:t,sourceLayer:i,view:s,_webStyleCache:r}=this,o=Array.from(e.entries()),l=new w({allowDeleteKey:!1,defaultUpdateOptions:{multipleSelectionEnabled:!1,reshapeOptions:{enableCreateCurveFromStraightEdge:!h(i)&&i.capabilities?.data.supportsTrueCurve}},layer:t,sketchOptions:this.sketchOptions,snappingManager:this.snappingManager,updateOnGraphicClick:!1,view:s});this.viewModel=l;const p=a(e=>Promise.all(o.map(([,t])=>m(t,r,e))));await p("2d"===s.type?s.scale:null),"2d"===s.type&&this.addHandles(n(()=>s.scale,e=>p(e))),this.addHandles(await Promise.all(o.map(([e,i])=>g(t,s,e,i))))}};function M({rotation:e,size:t},i){return{rotation:e?f(e,i.rotation):null,size:t?b(t,i.size):null}}e([l()],S.prototype,"features",void 0),e([l()],S.prototype,"onGeometriesUpdated",void 0),e([l()],S.prototype,"onVisualVariableAttributesUpdated",void 0),e([l()],S.prototype,"sketchGraphics",null),e([l()],S.prototype,"sketchOptions",void 0),e([l()],S.prototype,"snappingManager",void 0),e([l()],S.prototype,"sourceLayer",void 0),e([l()],S.prototype,"updating",null),e([l()],S.prototype,"view",void 0),e([l()],S.prototype,"viewModel",void 0),e([l()],S.prototype,"_nextUpdateSubset",void 0),e([l()],S.prototype,"_sketchGraphicsMap",void 0),e([l()],S.prototype,"_sketchLayer",void 0),e([l()],S.prototype,"_visualVariablesForLayer",void 0),S=e([p("esri.widgets.Editor.support.SketchController")],S);export{S as SketchController};
@@ -10,7 +10,7 @@ import type Attachments from "../Attachments.js";
10
10
  import type FeatureForm from "../FeatureForm.js";
11
11
  import type FeatureTemplates from "../FeatureTemplates.js";
12
12
  import type SketchViewModel from "../Sketch/SketchViewModel.js";
13
- import type { AnyEditingTemplateInfo } from "../../editing/interfaces.js";
13
+ import type { AnyEditingTemplateInfo } from "../../editing/types.js";
14
14
  import type { EditableLayerUnion } from "../../layers/support/editableLayers.js";
15
15
  import type { ObjectId } from "../../views/IObjectId.js";
16
16
  import type { SketchViewModelEvents } from "../Sketch/SketchViewModel.js";