@arcgis/core 5.2.0-next.6 → 5.2.0-next.7

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 (346) hide show
  1. package/WebLinkChart.d.ts +1 -1
  2. package/WebMap.d.ts +2 -2
  3. package/WebScene.d.ts +3 -3
  4. package/arcade.d.ts +9 -9
  5. package/arcgisGlobal.d.ts +4 -0
  6. package/assets/esri/core/workers/RemoteClient.js +1 -1
  7. package/assets/esri/core/workers/chunks/03354ad3d74d858173b4.js +1 -0
  8. package/assets/esri/core/workers/chunks/{07a242ea908aa8e2ba28.js → 09a4139fc6d069ab6928.js} +1 -1
  9. package/assets/esri/core/workers/chunks/09d0e430c66788a2626f.js +640 -0
  10. package/assets/esri/core/workers/chunks/0a510acf50915e00c62b.js +1 -0
  11. package/assets/esri/core/workers/chunks/{829a0583b8a228c65379.js → 0b169bb1969f86232a1a.js} +1 -1
  12. package/assets/esri/core/workers/chunks/{20e2d11f6de438ee883e.js → 0ded58ccb83f624f1460.js} +1 -1
  13. package/assets/esri/core/workers/chunks/{d1ac98f48bb6d43d97c8.js → 0f3654c8157ec8f22869.js} +3 -3
  14. package/assets/esri/core/workers/chunks/19dcae83be0fc0aced02.js +1 -0
  15. package/assets/esri/core/workers/chunks/1eabe746481e0b228498.js +1 -0
  16. package/assets/esri/core/workers/chunks/{c27cb2a83a1d2e004501.js → 238478cfe493fd4a6100.js} +1 -1
  17. package/assets/esri/core/workers/chunks/{bf706a5d065a357de51b.js → 2413b383b7f2bdcd4ced.js} +1 -1
  18. package/assets/esri/core/workers/chunks/277718031c903da2b3b9.js +1 -0
  19. package/assets/esri/core/workers/chunks/{7ed5b669010db58845f8.js → 294f2803aac000c99693.js} +1 -1
  20. package/assets/esri/core/workers/chunks/{093f27e4e4781870b431.js → 297ae764445e6f73a5ea.js} +1 -1
  21. package/assets/esri/core/workers/chunks/2b36a54927f5a7281da3.js +1 -0
  22. package/assets/esri/core/workers/chunks/{be0eab592db0e651b023.js → 2b814bb51704a5b4fdc2.js} +6 -6
  23. package/assets/esri/core/workers/chunks/3172d7fc23787a287191.js +1 -0
  24. package/assets/esri/core/workers/chunks/{eedee0af459e6b8a6116.js → 33e0130e6a40fc768978.js} +1 -1
  25. package/assets/esri/core/workers/chunks/343ba5ea459e96ba79c6.js +1 -0
  26. package/assets/esri/core/workers/chunks/{a2159df718a7f2f59271.js → 38a2f34661563c7c29c1.js} +1 -1
  27. package/assets/esri/core/workers/chunks/3a5c1c501808352857bd.js +1 -0
  28. package/assets/esri/core/workers/chunks/{a96c7432ca97cbeef4b8.js → 3db898a38a7c5f0efb48.js} +1 -1
  29. package/assets/esri/core/workers/chunks/3fbb6ff940156a981983.js +1 -0
  30. package/assets/esri/core/workers/chunks/{24eaf1349ffe10e616e6.js → 40c4e14e7bb505ef10a3.js} +1 -1
  31. package/assets/esri/core/workers/chunks/4104fa1ede36bcee9be5.js +1 -0
  32. package/assets/esri/core/workers/chunks/{b002304a45856b024b46.js → 4714241189c13d0db897.js} +1 -1
  33. package/assets/esri/core/workers/chunks/485d20152495c27b8074.js +1 -0
  34. package/assets/esri/core/workers/chunks/{16b90d8f628a412ba4ba.js → 4894997bfa438f66da36.js} +1 -1
  35. package/assets/esri/core/workers/chunks/{0e774f14ba274832f390.js → 520e0e5307eef27becc6.js} +1 -1
  36. package/assets/esri/core/workers/chunks/53d165b4f30fd64e5d8a.js +1 -0
  37. package/assets/esri/core/workers/chunks/{c83fea0d0ebd0d8e43fd.js → 542f5469f7b42026b24f.js} +1 -1
  38. package/assets/esri/core/workers/chunks/5553279998ae07b60f5f.js +1 -0
  39. package/assets/esri/core/workers/chunks/{cda99b543a0e1979346c.js → 5cb1b950249d651f3837.js} +1 -1
  40. package/assets/esri/core/workers/chunks/{7601278ebced0c0c31cf.js → 5e3e0d7b85dfd52d1c7d.js} +1 -1
  41. package/assets/esri/core/workers/chunks/{f5a2c28dc26c065ea355.js → 62dfbdc847be4800e833.js} +22 -20
  42. package/assets/esri/core/workers/chunks/{c216cd5d6b5d4fe4bab3.js → 62e77e3c5ca9b4887923.js} +2 -2
  43. package/assets/esri/core/workers/chunks/{cc479daacd2cf715baa8.js → 62fc3c367f736c73b0d7.js} +1 -1
  44. package/assets/esri/core/workers/chunks/{b1f1271434af302938e8.js → 643c33a98f2d30a92001.js} +1 -1
  45. package/assets/esri/core/workers/chunks/{1c1515e020e32e177b54.js → 6a5356ebed70e0f8f979.js} +1 -1
  46. package/assets/esri/core/workers/chunks/{3402fb9c596b582311c7.js → 75839240022b280929f7.js} +1 -1
  47. package/assets/esri/core/workers/chunks/77a4f6f224d7ca4b69f4.js +1 -0
  48. package/assets/esri/core/workers/chunks/{6637f19b82555738a1d5.js → 78aa5bc6af2758da20d0.js} +1 -1
  49. package/assets/esri/core/workers/chunks/7df94cb985db41815fad.js +2 -0
  50. package/assets/esri/core/workers/chunks/{153dc2a0b08a0e44a881.js → 8419934bec7723b0feef.js} +1 -1
  51. package/assets/esri/core/workers/chunks/{50dc9893e13396f5e35d.js → 875cce0be4f6c89f80f3.js} +2 -2
  52. package/assets/esri/core/workers/chunks/{c319c3b85cdec73a9f45.js → 877c848beaf9a939862c.js} +1 -1
  53. package/assets/esri/core/workers/chunks/{ae74f722fb385e45fcf1.js → 893c0d28a5bf3f9f29f1.js} +1 -1
  54. package/assets/esri/core/workers/chunks/{5abe34bb0110694f7b42.js → 90953a827bc89d0e6bd5.js} +1 -1
  55. package/assets/esri/core/workers/chunks/{14c6419568d8a7a15cd6.js → 92ab5886aa2d8b9b179f.js} +1 -1
  56. package/assets/esri/core/workers/chunks/{4e676e888a935c507d90.js → 93d4bda22bde33fafa57.js} +1 -1
  57. package/assets/esri/core/workers/chunks/{fbb23db01f3cf629d32e.js → 992a90ecbab931198fd0.js} +1 -1
  58. package/assets/esri/core/workers/chunks/{1765042635084f75d2b3.js → 9b676606bf839b7aa433.js} +1 -1
  59. package/assets/esri/core/workers/chunks/a261f4c22224511fdfff.js +1 -0
  60. package/assets/esri/core/workers/chunks/{ea8f642b1db933d2c26f.js → a2ac139d0975085279a6.js} +1 -1
  61. package/assets/esri/core/workers/chunks/a4d3cbc02dc1186a9a6d.js +1 -0
  62. package/assets/esri/core/workers/chunks/a8ec5b85c2fa6fb4f391.js +1 -0
  63. package/assets/esri/core/workers/chunks/{6af77529c977d034d287.js → b23009d9f8eb7c20ce45.js} +1 -1
  64. package/assets/esri/core/workers/chunks/{1f55d60d3adc31283296.js → b79428c5093614174e76.js} +1 -1
  65. package/assets/esri/core/workers/chunks/b9bdb1f05e904c3655e4.js +1 -0
  66. package/assets/esri/core/workers/chunks/c4fc85281ca83af7abaf.js +1 -0
  67. package/assets/esri/core/workers/chunks/c983e5ce0ff952b65d7f.js +1 -0
  68. package/assets/esri/core/workers/chunks/{f79bd469b25099a31274.js → ca6907e14b1dde4d5c07.js} +1 -1
  69. package/assets/esri/core/workers/chunks/cbbd94c53e75efc99876.js +1 -0
  70. package/assets/esri/core/workers/chunks/{8f94c90fdb0333da2d0f.js → cfd28eba44cf5a296c6d.js} +1 -1
  71. package/assets/esri/core/workers/chunks/{e9dcc3e9dbafe9bbed84.js → d21480b078ec9680d4c4.js} +1 -1
  72. package/assets/esri/core/workers/chunks/{ace1899a8e5162b4018d.js → d6bb8db22ba85ad05fd7.js} +1 -1
  73. package/assets/esri/core/workers/chunks/{8244b74e9c3a30d8d2f6.js → d9d4754062758789f186.js} +2 -2
  74. package/assets/esri/core/workers/chunks/{d35c475f004367e333eb.js → e094364e54981c91e1b4.js} +1 -1
  75. package/assets/esri/core/workers/chunks/e33d2ede6c9f1527d51b.js +1 -0
  76. package/assets/esri/core/workers/chunks/{3e3134e4bc34d4e07179.js → e545df5ea7c0ced92cee.js} +1 -1
  77. package/assets/esri/core/workers/chunks/{49f6c9e9980b8c624fd7.js → f02fe24177e56a7e42b2.js} +1 -1
  78. package/assets/esri/core/workers/chunks/{d1ccc5f2d8892328ab01.js → f5731ad4cfbbf1cc569a.js} +2 -2
  79. package/assets/esri/themes/base/widgets/_DatePicker.scss +1 -1
  80. package/chunks/RealisticTree.glsl.js +17 -15
  81. package/config.d.ts +2 -2
  82. package/config.js +1 -1
  83. package/core/Collection.d.ts +25 -25
  84. package/core/Error.d.ts +1 -1
  85. package/core/JSONSupport.d.ts +1 -1
  86. package/core/promiseUtils.d.ts +3 -3
  87. package/core/reactiveUtils.d.ts +4 -4
  88. package/core/sql/WhereClause.d.ts +1 -1
  89. package/core/timeUtils.d.ts +1 -1
  90. package/core/workers/Connection.d.ts +9 -9
  91. package/core/workers.d.ts +1 -1
  92. package/editing/types.d.ts +3 -3
  93. package/geometry/Mesh.d.ts +9 -2
  94. package/geometry/Mesh.js +1 -1
  95. package/geometry/support/MeshMaterial.d.ts +5 -5
  96. package/geometry/support/MeshTexture.d.ts +19 -19
  97. package/geometry/support/jsonUtils.d.ts +1 -1
  98. package/geometry/support/meshUtils.d.ts +130 -2
  99. package/geometry/support/meshUtils.js +1 -1
  100. package/identity/Credential.d.ts +1 -1
  101. package/identity/IdentityManager.d.ts +1 -1
  102. package/identity/OAuthInfo.d.ts +1 -1
  103. package/identity/ServerInfo.d.ts +2 -2
  104. package/interfaces.d.ts +13 -0
  105. package/intl/number.d.ts +3 -3
  106. package/intl/substitute.d.ts +2 -2
  107. package/intl.d.ts +28 -28
  108. package/kernel.js +1 -1
  109. package/layers/AnnotationLayer.js +1 -1
  110. package/layers/BaseDynamicLayer.d.ts +5 -5
  111. package/layers/BaseTileLayer.d.ts +4 -4
  112. package/layers/BuildingSceneLayer.d.ts +1 -1
  113. package/layers/CSVLayer.d.ts +7 -1
  114. package/layers/CatalogLayer.d.ts +6 -0
  115. package/layers/DimensionFeatureLayer.js +1 -1
  116. package/layers/FeatureLayer.d.ts +44 -7
  117. package/layers/FeatureLayer.js +1 -1
  118. package/layers/GeoJSONLayer.d.ts +7 -1
  119. package/layers/LinkChartLayer.js +1 -1
  120. package/layers/MapImageLayer.d.ts +5 -5
  121. package/layers/MediaLayer.d.ts +2 -2
  122. package/layers/OrientedImageryLayer.d.ts +29 -2
  123. package/layers/ParquetLayer.d.ts +7 -1
  124. package/layers/SceneLayer.d.ts +1 -1
  125. package/layers/SceneLayer.js +1 -1
  126. package/layers/StreamLayer.d.ts +1 -1
  127. package/layers/SubtypeGroupLayer.d.ts +7 -1
  128. package/layers/TileLayer.d.ts +2 -2
  129. package/layers/VideoLayer.d.ts +1 -1
  130. package/layers/VoxelLayer.d.ts +4 -4
  131. package/layers/WCSLayer.d.ts +2 -2
  132. package/layers/WFSLayer.d.ts +6 -0
  133. package/layers/WebTileLayer.d.ts +1 -1
  134. package/layers/catalog/CatalogFootprintLayer.d.ts +20 -1
  135. package/layers/graphics/sources/FeatureLayerSource.js +1 -1
  136. package/layers/knowledgeGraph/KnowledgeGraphSublayer.d.ts +6 -0
  137. package/layers/mixins/ArcGISImageService.d.ts +7 -1
  138. package/layers/mixins/BlendLayer.d.ts +1 -1
  139. package/layers/mixins/DataSeriesLayer.d.ts +161 -0
  140. package/layers/mixins/DataSeriesLayer.js +2 -0
  141. package/layers/mixins/FeatureLayerBase.d.ts +3 -3
  142. package/layers/orientedImagery/core/coverageUtils.js +1 -1
  143. package/layers/support/DateTimeFieldFormat.d.ts +10 -10
  144. package/layers/support/FeatureEffect.d.ts +22 -22
  145. package/layers/support/FeatureReductionBinning.d.ts +12 -0
  146. package/layers/support/FeatureReductionCluster.d.ts +12 -0
  147. package/layers/support/Field.d.ts +2 -2
  148. package/layers/support/ImageElement.d.ts +1 -1
  149. package/layers/support/MosaicRule.d.ts +0 -2
  150. package/layers/support/NumberFieldFormat.d.ts +5 -5
  151. package/layers/support/StreamConnection.d.ts +1 -1
  152. package/layers/support/Sublayer.d.ts +2 -2
  153. package/layers/support/SubtypeSublayer.d.ts +14 -1
  154. package/layers/support/TimeSeriesFieldTimeMapping.d.ts +30 -0
  155. package/layers/support/TimeSeriesFieldTimeMapping.js +2 -0
  156. package/layers/support/TimeSeriesInfo.d.ts +149 -0
  157. package/layers/support/TimeSeriesInfo.js +2 -0
  158. package/layers/support/VideoElement.d.ts +1 -1
  159. package/layers/support/dataSeriesUtils.d.ts +18 -0
  160. package/layers/support/dataSeriesUtils.js +2 -0
  161. package/layers/support/kmlUtils.js +1 -1
  162. package/layers/support/timeSeriesUtils.d.ts +27 -0
  163. package/layers/support/timeSeriesUtils.js +2 -0
  164. package/layers/types.d.ts +1 -1
  165. package/linkChart/ChronologicalLayoutSettings.d.ts +1 -1
  166. package/networks/CircuitManager.d.ts +1 -1
  167. package/networks/Network.d.ts +1 -1
  168. package/networks/UnitIdentifierManager.d.ts +1 -1
  169. package/networks/support/NamedTraceConfiguration.d.ts +1 -1
  170. package/networks/support/TraceConfiguration.d.ts +2 -2
  171. package/networks/support/UNTraceConfiguration.d.ts +3 -3
  172. package/networks/support/jsonTypes.d.ts +7 -1
  173. package/networks/support/utils.js +1 -1
  174. package/package.json +3 -3
  175. package/popup/content/CustomContent.d.ts +1 -1
  176. package/portal/Portal.d.ts +2 -2
  177. package/portal/jsonTypes.d.ts +2 -2
  178. package/renderers/support/AuthoringInfo.d.ts +14 -1
  179. package/renderers/support/AuthoringInfo.js +1 -1
  180. package/renderers/support/AuthoringInfoVisualVariable.d.ts +14 -1
  181. package/renderers/support/AuthoringInfoVisualVariable.js +1 -1
  182. package/renderers/support/jsonUtils.d.ts +1 -1
  183. package/renderers/support/utils.d.ts +1 -1
  184. package/renderers/visualVariables/RotationVariable.d.ts +16 -1
  185. package/renderers/visualVariables/RotationVariable.js +1 -1
  186. package/request/types.d.ts +23 -23
  187. package/rest/geometryService.d.ts +1 -1
  188. package/rest/knowledgeGraph/CreateReplicaResponse.d.ts +1 -1
  189. package/rest/knowledgeGraph/GraphApplyEdits.d.ts +1 -1
  190. package/rest/knowledgeGraph/GraphProperty.d.ts +5 -1
  191. package/rest/knowledgeGraph/GraphQueryStreamingResult.d.ts +2 -2
  192. package/rest/knowledgeGraph/wasmInterface/wasmToDataModelFactories.js +1 -1
  193. package/rest/knowledgeGraph/wasmInterface/wasmToQueryResponseObjFactories.js +1 -1
  194. package/rest/knowledgeGraph/wasmInterface/wasmToReplicaFactories.js +1 -1
  195. package/rest/knowledgeGraphService.d.ts +13 -13
  196. package/rest/layerSources/DynamicDataLayer.d.ts +1 -1
  197. package/rest/print.d.ts +1 -1
  198. package/rest/support/AttributeBinsQuery.d.ts +16 -2
  199. package/rest/support/ClosestFacilityParameters.d.ts +6 -6
  200. package/rest/support/LastMileDeliveryParameters.d.ts +4 -4
  201. package/rest/support/LocationToAddressParameters.d.ts +1 -1
  202. package/rest/support/PrintTemplate.d.ts +5 -5
  203. package/rest/support/Query.d.ts +18 -4
  204. package/rest/support/RouteParameters.d.ts +5 -5
  205. package/rest/support/ServiceAreaParameters.d.ts +6 -6
  206. package/rest/support/TopFeaturesQuery.d.ts +16 -2
  207. package/rest/support/meshFeatureSet.js +1 -1
  208. package/smartMapping/renderers/color.d.ts +40 -0
  209. package/smartMapping/renderers/color.js +1 -1
  210. package/smartMapping/renderers/opacity.d.ts +8 -0
  211. package/smartMapping/renderers/opacity.js +1 -1
  212. package/smartMapping/renderers/size.d.ts +38 -0
  213. package/smartMapping/renderers/size.js +1 -1
  214. package/smartMapping/renderers/support/regenerateUtils.js +1 -1
  215. package/smartMapping/renderers/support/timeSeriesUtils.js +2 -0
  216. package/smartMapping/renderers/type.d.ts +20 -1
  217. package/smartMapping/renderers/type.js +1 -1
  218. package/smartMapping/renderers/univariateColorSize.d.ts +19 -0
  219. package/smartMapping/renderers/univariateColorSize.js +1 -1
  220. package/support/revision.js +1 -1
  221. package/support/tests/setupServiceMocksMesh.js +1 -1
  222. package/support/timeUtils.d.ts +3 -3
  223. package/symbols/Font.d.ts +7 -7
  224. package/symbols/WebStyleSymbol.d.ts +11 -11
  225. package/symbols/cim/effects/EffectControlMeasureLine.js +1 -1
  226. package/symbols/support/Symbol3DEmissive.d.ts +8 -2
  227. package/symbols/support/jsonUtils.d.ts +1 -1
  228. package/time/TimeExtent.d.ts +2 -2
  229. package/versionManagement/VersionManagementService.d.ts +8 -8
  230. package/versionManagement/VersionManager.d.ts +13 -3
  231. package/versionManagement/VersioningState.d.ts +4 -4
  232. package/views/2d/MapViewConstraints.d.ts +29 -25
  233. package/views/2d/engine/flow/styles/Imagery.js +1 -1
  234. package/views/2d/engine/flow/styles/Particles.js +1 -1
  235. package/views/2d/engine/flow/styles/Streamlines.js +1 -1
  236. package/views/2d/engine/vectorTiles/VectorTileFeatureIndex.js +1 -1
  237. package/views/2d/engine/vectorTiles/style/StyleLayer.js +1 -1
  238. package/views/2d/engine/webgl/shaders/sources/shaderRepository.js +1 -1
  239. package/views/2d/layers/BaseLayerView2D.d.ts +4 -20
  240. package/views/2d/layers/BaseLayerViewGL2D.d.ts +6 -22
  241. package/views/2d/layers/VectorTileLayerView2D.js +1 -1
  242. package/views/2d/layers/features/support/FeatureSetReader.js +1 -1
  243. package/views/2d/layers/features/support/FeatureSetReaderParquet.js +1 -1
  244. package/views/3d/analysis/Viewshed/ViewshedEditTool.js +1 -1
  245. package/views/3d/analysis/Viewshed/ViewshedPlacementController.js +1 -1
  246. package/views/3d/analysis/VolumeMeasurement/VolumeMeasurementError.d.ts +1 -1
  247. package/views/3d/glTF/internal/resourceUtils.js +1 -1
  248. package/views/3d/layers/GaussianSplatLayerView3D.js +1 -1
  249. package/views/3d/layers/graphics/Graphics3DMeshFillSymbolLayer.js +1 -1
  250. package/views/3d/layers/graphics/Graphics3DSymbolLayer.js +1 -1
  251. package/views/3d/webgl/RenderNode.d.ts +7 -7
  252. package/views/3d/webgl-engine/effects/glow/Glow.js +1 -1
  253. package/views/3d/webgl-engine/materials/DefaultMaterial.js +1 -1
  254. package/views/3d/webgl-engine/shaders/RealisticTree.glsl.js +1 -1
  255. package/views/BreakpointsOwner.d.ts +1 -1
  256. package/views/DOMContainer.d.ts +6 -6
  257. package/views/Magnifier.d.ts +1 -1
  258. package/views/MapView.d.ts +1 -1
  259. package/views/SceneView.d.ts +2 -2
  260. package/views/View2D.d.ts +62 -54
  261. package/views/Viewport2DMixin.d.ts +1 -1
  262. package/views/analysis/ElevationProfile/ElevationProfileError.d.ts +1 -1
  263. package/views/input/gamepad/GamepadInputDevice.d.ts +1 -1
  264. package/views/input/types.d.ts +15 -15
  265. package/views/layers/FeatureLikeLayerView.d.ts +7 -4
  266. package/views/layers/GraphicsLayerView.d.ts +6 -3
  267. package/views/layers/ImageryLayerView.d.ts +4 -0
  268. package/views/navigation/Navigation.d.ts +1 -1
  269. package/views/support/WebAssemblyRequirements.js +1 -1
  270. package/views/types.d.ts +1 -1
  271. package/webscene/Glow.d.ts +0 -4
  272. package/widgets/BasemapGallery.d.ts +1 -1
  273. package/widgets/BasemapLayerList.d.ts +1 -1
  274. package/widgets/BatchAttributeForm/inputs/AttachmentElementInput.js +1 -1
  275. package/widgets/BatchAttributeForm.d.ts +1 -1
  276. package/widgets/BatchAttributeForm.js +1 -1
  277. package/widgets/Bookmarks.d.ts +1 -1
  278. package/widgets/BuildingExplorer.d.ts +1 -1
  279. package/widgets/CoordinateConversion/CoordinateConversionViewModel.d.ts +2 -2
  280. package/widgets/CoordinateConversion/CoordinateConversionViewModel.js +1 -1
  281. package/widgets/CoordinateConversion.d.ts +2 -2
  282. package/widgets/Daylight.d.ts +1 -1
  283. package/widgets/Directions.d.ts +1 -1
  284. package/widgets/Editor.d.ts +1 -1
  285. package/widgets/Feature.d.ts +1 -1
  286. package/widgets/FeatureForm.d.ts +1 -1
  287. package/widgets/FeatureTable/FieldColumn.d.ts +1 -14
  288. package/widgets/FeatureTable/Grid/Column.d.ts +1 -1
  289. package/widgets/FeatureTable/support/ColumnTemplateBase.d.ts +1 -1
  290. package/widgets/FeatureTemplates.d.ts +1 -1
  291. package/widgets/FloorFilter.d.ts +1 -1
  292. package/widgets/Fullscreen/FullscreenViewModel.d.ts +3 -3
  293. package/widgets/Fullscreen/FullscreenViewModel.js +1 -1
  294. package/widgets/Fullscreen.d.ts +3 -3
  295. package/widgets/LayerList/ListItemPanel.d.ts +5 -5
  296. package/widgets/Legend.d.ts +1 -1
  297. package/widgets/Locate/LocateViewModel.d.ts +2 -2
  298. package/widgets/Locate.d.ts +1 -1
  299. package/widgets/PanoramicViewer/utils.js +1 -1
  300. package/widgets/Popup.d.ts +1 -1
  301. package/widgets/Print/PrintViewModel.d.ts +2 -2
  302. package/widgets/Print/TemplateOptions.d.ts +4 -4
  303. package/widgets/Print.d.ts +6 -6
  304. package/widgets/Search/SearchViewModel.d.ts +5 -5
  305. package/widgets/Search.d.ts +4 -4
  306. package/widgets/ShadowCast.d.ts +1 -1
  307. package/widgets/Sketch/SketchViewModel.d.ts +1 -1
  308. package/widgets/Slice.d.ts +1 -1
  309. package/widgets/TableList/ListItemPanel.d.ts +5 -5
  310. package/widgets/Track/TrackViewModel.d.ts +3 -3
  311. package/widgets/Track.d.ts +3 -3
  312. package/widgets/UtilityNetworkTrace.d.ts +1 -1
  313. package/widgets/VersionManagement/VersionManagementViewModel.d.ts +2 -2
  314. package/widgets/Weather.d.ts +1 -1
  315. package/widgets/Widget.d.ts +1 -1
  316. package/widgets/support/forms/formUtils.js +1 -1
  317. package/widgets/support/types.d.ts +1 -1
  318. package/widgets/support/widget.d.ts +6 -6
  319. package/assets/esri/core/workers/chunks/1ddbf5f507ac153234be.js +0 -1
  320. package/assets/esri/core/workers/chunks/29615df388a0df022d8c.js +0 -1
  321. package/assets/esri/core/workers/chunks/2bd334f9ab89334df713.js +0 -1
  322. package/assets/esri/core/workers/chunks/319ff04282dc8ae38b56.js +0 -2
  323. package/assets/esri/core/workers/chunks/3a6678ee9990d7e83e15.js +0 -1
  324. package/assets/esri/core/workers/chunks/3b3986276e70297d573b.js +0 -1
  325. package/assets/esri/core/workers/chunks/46fbd519cc1a37923bfc.js +0 -1
  326. package/assets/esri/core/workers/chunks/4ef53455c8bc6efee80e.js +0 -1
  327. package/assets/esri/core/workers/chunks/51ee6102f5f4840a5b47.js +0 -1
  328. package/assets/esri/core/workers/chunks/58994b6bfcda5f2ada80.js +0 -1
  329. package/assets/esri/core/workers/chunks/6db274f6767102a39021.js +0 -1
  330. package/assets/esri/core/workers/chunks/77769663cd712822d33e.js +0 -1
  331. package/assets/esri/core/workers/chunks/8c5a41ae68775bac3446.js +0 -1
  332. package/assets/esri/core/workers/chunks/b08a1255dacf6cfcf139.js +0 -640
  333. package/assets/esri/core/workers/chunks/b098469e0010a6b44df9.js +0 -1
  334. package/assets/esri/core/workers/chunks/ca1b0cb14ea9ae1bf2a3.js +0 -1
  335. package/assets/esri/core/workers/chunks/ca4245414d8ecd217f9d.js +0 -1
  336. package/assets/esri/core/workers/chunks/d3af51a6d9014ff46170.js +0 -1
  337. package/assets/esri/core/workers/chunks/d561dc933d8fe1672d85.js +0 -1
  338. package/assets/esri/core/workers/chunks/e38836bfcc7a15a2fd1f.js +0 -1
  339. package/assets/esri/core/workers/chunks/e645f992ec6f935ee3a5.js +0 -1
  340. package/assets/esri/core/workers/chunks/eabd4a78221b7e733793.js +0 -1
  341. package/assets/esri/core/workers/chunks/f05932aea4eb267cba4d.js +0 -1
  342. /package/assets/esri/core/workers/chunks/{50dc9893e13396f5e35d.js.LICENSE.txt → 62e77e3c5ca9b4887923.js.LICENSE.txt} +0 -0
  343. /package/assets/esri/core/workers/chunks/{319ff04282dc8ae38b56.js.LICENSE.txt → 7df94cb985db41815fad.js.LICENSE.txt} +0 -0
  344. /package/assets/esri/core/workers/chunks/{c216cd5d6b5d4fe4bab3.js.LICENSE.txt → 875cce0be4f6c89f80f3.js.LICENSE.txt} +0 -0
  345. /package/assets/esri/core/workers/chunks/{8244b74e9c3a30d8d2f6.js.LICENSE.txt → d9d4754062758789f186.js.LICENSE.txt} +0 -0
  346. /package/assets/esri/core/workers/chunks/{d1ccc5f2d8892328ab01.js.LICENSE.txt → f5731ad4cfbbf1cc569a.js.LICENSE.txt} +0 -0
@@ -21,7 +21,7 @@
21
21
  * @see [Sample - Edit knowledge graph data](https://developers.arcgis.com/javascript/latest/sample-code/knowledgegraph-applyedits/)
22
22
  * @see [Sample - Work with KnowledgeGraphLayer](https://developers.arcgis.com/javascript/latest/sample-code/knowledgegraph-knowledgegraphlayer/)
23
23
  * @see [KnowledgeGraphLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/KnowledgeGraphLayer/) for details on visualizing knowledge graph data.
24
- * @see [Get started with ArcGIS Knowledge Server](https://enterprise.arcgis.com/en/knowledge/latest/introduction/get-started-with-arcgis-knowledge.htm) for overview of ArcGIS Knowledge for ArcGIS Enterprise
24
+ * @see [Get started with ArcGIS Knowledge Server](https://doc.esri.com/en/arcgis-knowledge/latest/introduction/get-started-with-arcgis-knowledge.html) for overview of ArcGIS Knowledge for ArcGIS Enterprise
25
25
  * @see [Hosted Knowledge Graph Service](https://developers.arcgis.com/rest/services-reference/enterprise/kgs-hosted-server.htm) for information on managing knowledge graph services via ArcGIS Enterprise and the REST API
26
26
  * @see [Get started with ArcGIS Knowledge (ArcGIS Pro)](https://pro.arcgis.com/en/pro-app/latest/help/data/knowledge/get-started-with-arcgis-knowledge.htm) for information on ArcGIS Knowledge in ArcGIS Pro
27
27
  * @example
@@ -86,7 +86,7 @@ import type { UnregisterReplicaOptions } from "./knowledgeGraph/UnregisterReplic
86
86
  * >
87
87
  * > **Note**
88
88
  * >
89
- * > The user must have [sufficient privileges](https://enterprise.arcgis.com/en/portal/latest/administer/windows/roles.htm#TABLE_1ECAC6C4F7F549AF98045224603F0AD2)
89
+ * > The user must have [sufficient privileges](https://doc.esri.com/en/arcgis-enterprise/latest/administer/roles.html#TABLE_1ECAC6C4F7F549AF98045224603F0AD2)
90
90
  * > to edit content and editing must be enabled for the knowledge graph service for this operation to be successful.
91
91
  *
92
92
  * @param graph - The [knowledge graph](https://developers.arcgis.com/javascript/latest/references/core/rest/knowledgeGraph/KnowledgeGraph/) associated
@@ -195,7 +195,7 @@ export function executeApplyEdits(graph: KnowledgeGraph, edits: GraphApplyEdits,
195
195
  * >
196
196
  * > **Note**
197
197
  * >
198
- * > The user must have [sufficient privileges](https://enterprise.arcgis.com/en/portal/latest/administer/windows/roles.htm#TABLE_1ECAC6C4F7F549AF98045224603F0AD2)
198
+ * > The user must have [sufficient privileges](https://doc.esri.com/en/arcgis-enterprise/latest/administer/roles.html#TABLE_1ECAC6C4F7F549AF98045224603F0AD2)
199
199
  * > to edit the data model for the knowledge graph service for this operation to be successful.
200
200
  *
201
201
  * @param graph - The knowledge graph. Retrieved using [fetchKnowledgeGraph()](https://developers.arcgis.com/javascript/latest/references/core/rest/knowledgeGraphService/#fetchKnowledgeGraph).
@@ -265,7 +265,7 @@ export interface ExecuteAddNamedTypesNamedTypes {
265
265
  * >
266
266
  * > **Note**
267
267
  * >
268
- * > The user must have [sufficient privileges](https://enterprise.arcgis.com/en/portal/latest/administer/windows/roles.htm#TABLE_1ECAC6C4F7F549AF98045224603F0AD2)
268
+ * > The user must have [sufficient privileges](https://doc.esri.com/en/arcgis-enterprise/latest/administer/roles.html#TABLE_1ECAC6C4F7F549AF98045224603F0AD2)
269
269
  * > to edit the data model for the knowledge graph service for this operation to be successful.
270
270
  *
271
271
  * @param graph - The knowledge graph. Retrieved using [fetchKnowledgeGraph()](https://developers.arcgis.com/javascript/latest/references/core/rest/knowledgeGraphService/#fetchKnowledgeGraph).
@@ -296,7 +296,7 @@ export interface UpdateNamedType extends Partial<Pick<GraphObjectType, "alias">>
296
296
  * >
297
297
  * > **Note**
298
298
  * >
299
- * > The user must have [sufficient privileges](https://enterprise.arcgis.com/en/portal/latest/administer/windows/roles.htm#TABLE_1ECAC6C4F7F549AF98045224603F0AD2)
299
+ * > The user must have [sufficient privileges](https://doc.esri.com/en/arcgis-enterprise/latest/administer/roles.html#TABLE_1ECAC6C4F7F549AF98045224603F0AD2)
300
300
  * > to edit the data model for the knowledge graph service for this operation to be successful.
301
301
  *
302
302
  * @param graph - The knowledge graph to update.
@@ -315,7 +315,7 @@ export function executeUpdateNamedType(graph: KnowledgeGraph, namedType: string,
315
315
  * >
316
316
  * > **Note**
317
317
  * >
318
- * > The user must have [sufficient privileges](https://enterprise.arcgis.com/en/portal/latest/administer/windows/roles.htm#TABLE_1ECAC6C4F7F549AF98045224603F0AD2)
318
+ * > The user must have [sufficient privileges](https://doc.esri.com/en/arcgis-enterprise/latest/administer/roles.html#TABLE_1ECAC6C4F7F549AF98045224603F0AD2)
319
319
  * > to edit the data model for the knowledge graph service for this operation to be successful.
320
320
  *
321
321
  * @param graph - The knowledge graph to update.
@@ -336,7 +336,7 @@ export function executeAddGraphProperties(graph: KnowledgeGraph, namedType: stri
336
336
  * >
337
337
  * > **Note**
338
338
  * >
339
- * > The user must have [sufficient privileges](https://enterprise.arcgis.com/en/portal/latest/administer/windows/roles.htm#TABLE_1ECAC6C4F7F549AF98045224603F0AD2)
339
+ * > The user must have [sufficient privileges](https://doc.esri.com/en/arcgis-enterprise/latest/administer/roles.html#TABLE_1ECAC6C4F7F549AF98045224603F0AD2)
340
340
  * > to edit the data model for the knowledge graph service for this operation to be successful.
341
341
  *
342
342
  * @param graph - The knowledge graph to update.
@@ -358,7 +358,7 @@ export interface UpdateGraphProperties extends Partial<Pick<GraphProperty, "alia
358
358
  * >
359
359
  * > **Note**
360
360
  * >
361
- * > The user must have [sufficient privileges](https://enterprise.arcgis.com/en/portal/latest/administer/windows/roles.htm#TABLE_1ECAC6C4F7F549AF98045224603F0AD2)
361
+ * > The user must have [sufficient privileges](https://doc.esri.com/en/arcgis-enterprise/latest/administer/roles.html#TABLE_1ECAC6C4F7F549AF98045224603F0AD2)
362
362
  * > to edit the data model for the knowledge graph service for this operation to be successful.
363
363
  *
364
364
  * @param graph - The knowledge graph to update.
@@ -379,7 +379,7 @@ export function executeUpdateGraphProperty(graph: KnowledgeGraph, namedType: str
379
379
  * >
380
380
  * > **Note**
381
381
  * >
382
- * > The user must have [sufficient privileges](https://enterprise.arcgis.com/en/portal/latest/administer/windows/roles.htm#TABLE_1ECAC6C4F7F549AF98045224603F0AD2)
382
+ * > The user must have [sufficient privileges](https://doc.esri.com/en/arcgis-enterprise/latest/administer/roles.html#TABLE_1ECAC6C4F7F549AF98045224603F0AD2)
383
383
  * > to edit the data model for the knowledge graph service for this operation to be successful.
384
384
  *
385
385
  * @param graph - The knowledge graph to update.
@@ -399,7 +399,7 @@ export function executeAddGraphFieldIndex(graph: KnowledgeGraph, namedType: stri
399
399
  * >
400
400
  * > **Note**
401
401
  * >
402
- * > The user must have [sufficient privileges](https://enterprise.arcgis.com/en/portal/latest/administer/windows/roles.htm#TABLE_1ECAC6C4F7F549AF98045224603F0AD2)
402
+ * > The user must have [sufficient privileges](https://doc.esri.com/en/arcgis-enterprise/latest/administer/roles.html#TABLE_1ECAC6C4F7F549AF98045224603F0AD2)
403
403
  * > to edit the data model for the knowledge graph service for this operation to be successful.
404
404
  *
405
405
  * @param graph - The knowledge graph to update.
@@ -420,7 +420,7 @@ export function executeDeleteGraphFieldIndex(graph: KnowledgeGraph, namedType: s
420
420
  * >
421
421
  * > **Note**
422
422
  * >
423
- * > The user must have [sufficient privileges](https://enterprise.arcgis.com/en/portal/latest/administer/windows/roles.htm#TABLE_1ECAC6C4F7F549AF98045224603F0AD2)
423
+ * > The user must have [sufficient privileges](https://doc.esri.com/en/arcgis-enterprise/latest/administer/roles.html#TABLE_1ECAC6C4F7F549AF98045224603F0AD2)
424
424
  * > to edit the data model for the knowledge graph service for this operation to be successful.
425
425
  *
426
426
  * @param graph - The knowledge graph to update.
@@ -918,7 +918,7 @@ export function refreshDataModel(graph: KnowledgeGraph): Promise<void>;
918
918
  * > **Known Limitations**
919
919
  * >
920
920
  * > Find Paths can only be used with a Publisher or Administrator role.
921
- * > See [Enterprise User types, roles, and privileges](https://enterprise.arcgis.com/en/portal/latest/administer/windows/roles.htm).
921
+ * > See [Enterprise User types, roles, and privileges](https://doc.esri.com/en/arcgis-enterprise/latest/administer/roles.html).
922
922
  *
923
923
  * @param toolSettings - The pathfinding configuration such as origin and destination, waypoints and other tool settings. See [FindPathToolSettings](https://developers.arcgis.com/javascript/latest/references/core/rest/knowledgeGraph/toolService/findPaths/FindPathsToolSettings/) for the full list of available settings.
924
924
  * @param requestOptions - The options specified by the user in the data request. See [RequestOptions](https://developers.arcgis.com/javascript/latest/references/core/request/types/#RequestOptions) for available properties.
@@ -937,7 +937,7 @@ export function executeFindPathsAsynchronous(toolSettings: FindPathsToolSettings
937
937
  * > **Known Limitations**
938
938
  * >
939
939
  * > Find Paths can only be used with a Publisher or Administrator role.
940
- * > See [Enterprise User types, roles, and privileges](https://enterprise.arcgis.com/en/portal/latest/administer/windows/roles.htm).
940
+ * > See [Enterprise User types, roles, and privileges](https://doc.esri.com/en/arcgis-enterprise/latest/administer/roles.html).
941
941
  *
942
942
  * @param toolSettings - The pathfinding configuration such as origin and destination, waypoints and other tool settings. See [FindPathToolSettings](https://developers.arcgis.com/javascript/latest/references/core/rest/knowledgeGraph/toolService/findPaths/FindPathsToolSettings/) for the full list of available settings.
943
943
  * @param requestOptions - Additional options specified in the data request. See [RequestOptions](https://developers.arcgis.com/javascript/latest/references/core/request/types/#RequestOptions) for available properties.
@@ -33,7 +33,7 @@ export interface DynamicDataLayerProperties {
33
33
 
34
34
  /**
35
35
  * A dynamic data layer is a layer created on-the-fly with data stored in a
36
- * [registered workspace](https://enterprise.arcgis.com/en/server/latest/manage-data/windows/overview-register-data-with-arcgis-server.htm). This is data that can be rendered and queried on the fly,
36
+ * [registered workspace](https://doc.esri.com/en/arcgis-enterprise/latest/administer/overview-register-data-with-arcgis-server.html). This is data that can be rendered and queried on the fly,
37
37
  * but that isn't explicitly exposed as a service sublayer.
38
38
  * Depending on the type of data source, these layers are classified as
39
39
  * one of the following:
package/rest/print.d.ts CHANGED
@@ -60,7 +60,7 @@
60
60
  * > Printing layers using [highlighted features](https://developers.arcgis.com/javascript/latest/references/core/views/layers/FeatureLayerView/#highlight) is only supported for [FeatureLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/FeatureLayer/). For other layer types, see [MapView.takeScreenshot()](https://developers.arcgis.com/javascript/latest/references/core/views/MapView/#takeScreenshot).
61
61
  * > Printing layers using [spike renderer](https://developers.arcgis.com/javascript/latest/references/core/smartMapping/renderers/size/#updateRendererWithSpike) will not apply the spike renderer to the printed legend.
62
62
  * > Legends will print if there is enough space in the template for both the map and the legend.
63
- * > The print server does not directly print [SVG](https://developer.mozilla.org/en-US/docs/Web/SVG/Element/symbol) symbols. Rather, they are converted to [PictureMarkerSymbols](https://developers.arcgis.com/javascript/latest/references/core/symbols/PictureMarkerSymbol/) for display.
63
+ * > The print server does not directly print [SVG](https://developer.mozilla.org/docs/Web/SVG/Element/symbol) symbols. Rather, they are converted to [PictureMarkerSymbols](https://developers.arcgis.com/javascript/latest/references/core/symbols/PictureMarkerSymbol/) for display.
64
64
  * > Make certain that any resources to be printed are accessible by the print server. For example, if printing a map containing [PictureMarkerSymbols](https://developers.arcgis.com/javascript/latest/references/core/symbols/PictureMarkerSymbol/),
65
65
  * > the URL to these symbols must be accessible to the print server for it to work properly.
66
66
  * > Currently, charts can only be printed when published as part of a [FeatureLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/FeatureLayer/), and with ArcGIS Server version 11.2 or later.
@@ -77,6 +77,7 @@ export interface AttributeBinsQueryProperties extends Partial<Pick<AttributeBins
77
77
  * night shift from 10 PM to 6 AM on a particular date.
78
78
  *
79
79
  * @example
80
+ * ```js
80
81
  * let layer = new FeatureLayer( ... );
81
82
  * let timeExtent = new TimeExtent({
82
83
  * start: new Date(1992, 0, 1),
@@ -86,6 +87,7 @@ export interface AttributeBinsQueryProperties extends Partial<Pick<AttributeBins
86
87
  * timeExtent: timeExtent
87
88
  * });
88
89
  * layerView.queryFeatures(timeQuery).then(function(featureSet) { ... });
90
+ * ```
89
91
  */
90
92
  timeExtent?: TimeExtentProperties | null;
91
93
  }
@@ -299,9 +301,11 @@ export default class AttributeBinsQuery extends AttributeBinsQuerySuperclass {
299
301
  * @default "intersects"
300
302
  * @default intersects
301
303
  * @example
304
+ * ```js
302
305
  * let query = new Query({
303
306
  * spatialRelationship: "contains"
304
307
  * });
308
+ * ```
305
309
  */
306
310
  spatialRelationship: "intersects" | "contains" | "crosses" | "disjoint" | "envelope-intersects" | "index-intersects" | "overlaps" | "touches" | "within" | "relation";
307
311
  /**
@@ -310,6 +314,7 @@ export default class AttributeBinsQuery extends AttributeBinsQuerySuperclass {
310
314
  * night shift from 10 PM to 6 AM on a particular date.
311
315
  *
312
316
  * @example
317
+ * ```js
313
318
  * let layer = new FeatureLayer( ... );
314
319
  * let timeExtent = new TimeExtent({
315
320
  * start: new Date(1992, 0, 1),
@@ -319,6 +324,7 @@ export default class AttributeBinsQuery extends AttributeBinsQuerySuperclass {
319
324
  * timeExtent: timeExtent
320
325
  * });
321
326
  * layerView.queryFeatures(timeQuery).then(function(featureSet) { ... });
327
+ * ```
322
328
  */
323
329
  get timeExtent(): TimeExtent | null | undefined;
324
330
  set timeExtent(value: TimeExtentProperties | null | undefined);
@@ -330,6 +336,7 @@ export default class AttributeBinsQuery extends AttributeBinsQuerySuperclass {
330
336
  * [capabilities.query.supportsDistance](https://developers.arcgis.com/javascript/latest/references/core/layers/FeatureLayer/#capabilities) is `true`.
331
337
  *
332
338
  * @example
339
+ * ```js
333
340
  * // Query at a distance in pixels of the query geometry.
334
341
  * // Use the unit of the query geometry's spatial reference.
335
342
  * layerView.queryFeatures({
@@ -337,6 +344,7 @@ export default class AttributeBinsQuery extends AttributeBinsQuerySuperclass {
337
344
  * distance: 2 * view.resolution,
338
345
  * returnGeometry: true
339
346
  * }).then(processResults);
347
+ * ```
340
348
  */
341
349
  accessor units: "feet" | "miles" | "nautical-miles" | "us-nautical-miles" | "meters" | "kilometers" | null | undefined;
342
350
  /** Sets the name of the upper boundary property in the response. By default, the upper boundary is name `upperBoundary` and indicates the value at the edge of each bin. */
@@ -346,8 +354,14 @@ export default class AttributeBinsQuery extends AttributeBinsQuerySuperclass {
346
354
  * Be sure to have the correct sequence of single and double quotes when writing the where clause in JavaScript.
347
355
  *
348
356
  * @default "1=1"
349
- * @example query.where = "NAME = '" + stateName + "'";
350
- * @example query.where = "POP04 > " + population;
357
+ * @example
358
+ * ```js
359
+ * query.where = "NAME = '" + stateName + "'";
360
+ * ```
361
+ * @example
362
+ * ```js
363
+ * query.where = "POP04 > " + population;
364
+ * ```
351
365
  */
352
366
  accessor where: string | null | undefined;
353
367
  }
@@ -26,8 +26,8 @@ export interface ClosestFacilityParametersProperties extends Partial<Pick<Closes
26
26
  * obtain a list of predefined travel modes and the default travel mode that is used if one is not specified in a
27
27
  * routing reqest.
28
28
  *
29
- * @see [Introduction to travel modes](https://enterprise.arcgis.com/en/portal/latest/administer/windows/travel-modes.htm)
30
- * @see [Default travel modes](https://enterprise.arcgis.com/en/portal/latest/administer/windows/travel-modes.htm#GUID-96DF7F50-E0B2-4BF3-8271-EB515D3F0107)
29
+ * @see [Introduction to travel modes](https://doc.esri.com/en/arcgis-enterprise/latest/administer/travel-modes.html)
30
+ * @see [Default travel modes](https://doc.esri.com/en/arcgis-enterprise/latest/administer/travel-modes.html#107)
31
31
  * @see [travelMode](https://developers.arcgis.com/rest/services-reference/enterprise/closest-facility-sync-services/#travelmode)
32
32
  */
33
33
  travelMode?: TravelModeProperties | null;
@@ -61,7 +61,7 @@ export default class ClosestFacilityParameters extends ClosestFacilityParameters
61
61
  * truck-travel-time |
62
62
  * walk-time |
63
63
  *
64
- * @see [Network attributes](https://pro.arcgis.com/en/pro-app/latest/help/analysis/networks/what-are-network-attributes-.htm).
64
+ * @see [Network attributes](https://doc.esri.com/en/arcgis-pro/latest/help/analysis/networks/what-are-network-attributes-.html).
65
65
  * @see [accumulateAttributeNames](https://developers.arcgis.com/rest/services-reference/enterprise/closest-facility-sync-services/#accumulateattributenames)
66
66
  */
67
67
  accessor accumulateAttributes: string[] | null | undefined;
@@ -282,7 +282,7 @@ export default class ClosestFacilityParameters extends ClosestFacilityParameters
282
282
  * truck-travel-time |
283
283
  * walk-time |
284
284
  *
285
- * @see [Network attributes](https://pro.arcgis.com/en/pro-app/latest/help/analysis/networks/what-are-network-attributes-.htm).
285
+ * @see [Network attributes](https://doc.esri.com/en/arcgis-pro/latest/help/analysis/networks/what-are-network-attributes-.html).
286
286
  * @see [impedanceAttributeName](https://developers.arcgis.com/rest/services-reference/enterprise/closest-facility-sync-services/#impedanceattributename)
287
287
  */
288
288
  impedanceAttribute?: string | null;
@@ -570,8 +570,8 @@ export default class ClosestFacilityParameters extends ClosestFacilityParameters
570
570
  * obtain a list of predefined travel modes and the default travel mode that is used if one is not specified in a
571
571
  * routing reqest.
572
572
  *
573
- * @see [Introduction to travel modes](https://enterprise.arcgis.com/en/portal/latest/administer/windows/travel-modes.htm)
574
- * @see [Default travel modes](https://enterprise.arcgis.com/en/portal/latest/administer/windows/travel-modes.htm#GUID-96DF7F50-E0B2-4BF3-8271-EB515D3F0107)
573
+ * @see [Introduction to travel modes](https://doc.esri.com/en/arcgis-enterprise/latest/administer/travel-modes.html)
574
+ * @see [Default travel modes](https://doc.esri.com/en/arcgis-enterprise/latest/administer/travel-modes.html#107)
575
575
  * @see [travelMode](https://developers.arcgis.com/rest/services-reference/enterprise/closest-facility-sync-services/#travelmode)
576
576
  */
577
577
  get travelMode(): TravelMode | null | undefined;
@@ -78,8 +78,8 @@ export interface LastMileDeliveryParametersProperties extends Partial<Pick<LastM
78
78
  * obtain a list of predefined travel modes and the default travel mode that is used if one is not specified in a
79
79
  * routing reqest.
80
80
  *
81
- * @see [Introduction to travel modes](https://enterprise.arcgis.com/en/portal/latest/administer/windows/travel-modes.htm)
82
- * @see [Default travel modes](https://enterprise.arcgis.com/en/portal/latest/administer/windows/travel-modes.htm#GUID-96DF7F50-E0B2-4BF3-8271-EB515D3F0107)
81
+ * @see [Introduction to travel modes](https://doc.esri.com/en/arcgis-enterprise/latest/administer/travel-modes.html)
82
+ * @see [Default travel modes](https://doc.esri.com/en/arcgis-enterprise/latest/administer/travel-modes.html#107)
83
83
  * @see [Parameters: travel_mode](https://developers.arcgis.com/rest/routing/last-mile-delivery-service/#travel_mode)
84
84
  */
85
85
  travelMode?: TravelModeProperties | null;
@@ -293,8 +293,8 @@ export default class LastMileDeliveryParameters extends LastMileDeliveryParamete
293
293
  * obtain a list of predefined travel modes and the default travel mode that is used if one is not specified in a
294
294
  * routing reqest.
295
295
  *
296
- * @see [Introduction to travel modes](https://enterprise.arcgis.com/en/portal/latest/administer/windows/travel-modes.htm)
297
- * @see [Default travel modes](https://enterprise.arcgis.com/en/portal/latest/administer/windows/travel-modes.htm#GUID-96DF7F50-E0B2-4BF3-8271-EB515D3F0107)
296
+ * @see [Introduction to travel modes](https://doc.esri.com/en/arcgis-enterprise/latest/administer/travel-modes.html)
297
+ * @see [Default travel modes](https://doc.esri.com/en/arcgis-enterprise/latest/administer/travel-modes.html#107)
298
298
  * @see [Parameters: travel_mode](https://developers.arcgis.com/rest/routing/last-mile-delivery-service/#travel_mode)
299
299
  */
300
300
  get travelMode(): TravelMode | null | undefined;
@@ -40,7 +40,7 @@ export default class LocationToAddressParameters extends JSONSupport {
40
40
  * An authorization string used to access a resource or service.
41
41
  * [API keys](https://developers.arcgis.com/documentation/security-and-authentication/api-key-authentication/) are generated and managed in the portal.
42
42
  * An API key is tied explicitly to an ArcGIS account; it is also used to monitor service usage.
43
- * Setting a fine-grained API key on a specific class overrides the [global API key](esri-config.html#apiKey).
43
+ * Setting a fine-grained API key on a specific class overrides the [global API key](https://developers.arcgis.com/javascript/latest/references/core/config/#Config-apiKey).
44
44
  *
45
45
  * @since 5.1
46
46
  * @see [API keys](https://developers.arcgis.com/documentation/security-and-authentication/api-key-authentication/)
@@ -16,8 +16,8 @@ export interface PrintTemplateProperties extends Partial<Pick<PrintTemplate, "at
16
16
  * > This capability is only available with ArcGIS Enterprise 11.1 or later.
17
17
  *
18
18
  * @since 4.25
19
- * @see [Share custom layouts for printing from ArcGIS Pro](https://enterprise.arcgis.com/en/server/latest/publish-services/windows/tutorial-publish-additional-layouts-for-printing-with-arcgis-pro.htm)
20
- * @see [Federate an ArcGIS Server site with your portal](https://enterprise.arcgis.com/en/portal/latest/administer/windows/federate-an-arcgis-server-site-with-your-portal.htm)
19
+ * @see [Share custom layouts for printing from ArcGIS Pro](https://doc.esri.com/en/arcgis-enterprise/latest/administer/tutorial-publish-additional-layouts-for-printing-with-arcgis-pro.html)
20
+ * @see [Federate an ArcGIS Server site with your portal](https://doc.esri.com/en/arcgis-enterprise/latest/deploy/federate-an-arcgis-server-site-with-your-portal.html)
21
21
  * @example
22
22
  * let item = new PortalItem({
23
23
  * id: "affa021c51944b5694132b2d61fe1057"
@@ -183,7 +183,7 @@ export default class PrintTemplate extends Accessor {
183
183
  * @default false
184
184
  * @since 4.28
185
185
  * @see [Make a chart](https://pro.arcgis.com/en/pro-app/latest/help/analysis/geoprocessing/charts/make-a-chart.htm)
186
- * @see [Configure charts](https://enterprise.arcgis.com/en/portal/latest/use/configure-charts-mv.htm)
186
+ * @see [Configure charts](https://doc.esri.com/en/arcgis-enterprise/latest/create/configure-charts-mv.html)
187
187
  * @example
188
188
  * const template = new PrintTemplate({
189
189
  * layout: "A4 Portrait with Chart",
@@ -249,8 +249,8 @@ export default class PrintTemplate extends Accessor {
249
249
  * > This capability is only available with ArcGIS Enterprise 11.1 or later.
250
250
  *
251
251
  * @since 4.25
252
- * @see [Share custom layouts for printing from ArcGIS Pro](https://enterprise.arcgis.com/en/server/latest/publish-services/windows/tutorial-publish-additional-layouts-for-printing-with-arcgis-pro.htm)
253
- * @see [Federate an ArcGIS Server site with your portal](https://enterprise.arcgis.com/en/portal/latest/administer/windows/federate-an-arcgis-server-site-with-your-portal.htm)
252
+ * @see [Share custom layouts for printing from ArcGIS Pro](https://doc.esri.com/en/arcgis-enterprise/latest/administer/tutorial-publish-additional-layouts-for-printing-with-arcgis-pro.html)
253
+ * @see [Federate an ArcGIS Server site with your portal](https://doc.esri.com/en/arcgis-enterprise/latest/deploy/federate-an-arcgis-server-site-with-your-portal.html)
254
254
  * @example
255
255
  * let item = new PortalItem({
256
256
  * id: "affa021c51944b5694132b2d61fe1057"
@@ -116,6 +116,7 @@ export interface QueryProperties extends Partial<Pick<Query, "aggregateIds" | "c
116
116
  * night shift from 10 PM to 6 AM on a particular date.
117
117
  *
118
118
  * @example
119
+ * ```js
119
120
  * let layer = new FeatureLayer( ... );
120
121
  * let timeExtent = new TimeExtent({
121
122
  * start: new Date(1992, 0, 1),
@@ -125,6 +126,7 @@ export interface QueryProperties extends Partial<Pick<Query, "aggregateIds" | "c
125
126
  * timeExtent: timeExtent
126
127
  * });
127
128
  * layerView.queryFeatures(timeQuery).then(function(featureSet) { ... });
129
+ * ```
128
130
  */
129
131
  timeExtent?: TimeExtentProperties | null;
130
132
  }
@@ -690,7 +692,7 @@ export default class Query extends JSONSupport {
690
692
  * When value is not specified for any parameter in a request, the default value,
691
693
  * that is assigned during authoring time, gets used.
692
694
  * Requires an ArcGIS Enterprise service 10.5 or greater. This parameter is only supported with
693
- * [MapImageLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/MapImageLayer/) pointing to a [map service](https://enterprise.arcgis.com/en/server/latest/publish-services/windows/what-is-a-map-service.htm).
695
+ * [MapImageLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/MapImageLayer/) pointing to a [map service](https://doc.esri.com/en/arcgis-enterprise/latest/administer/what-is-a-map-service.html).
694
696
  *
695
697
  * @see [ArcGIS Pro - creating a query layer](https://pro.arcgis.com/en/pro-app/latest/help/mapping/layer-properties/creating-a-query-layer.htm)
696
698
  * @see [ArcGIS REST API - query a map service layer](https://developers.arcgis.com/rest/services-reference/enterprise/query-map-service-layer-.htm)
@@ -728,7 +730,7 @@ export default class Query extends JSONSupport {
728
730
  /**
729
731
  * Filters features from the layer that are within the specified range values.
730
732
  * Requires ArcGIS Enterprise services 10.5 or greater. This parameter is only supported with
731
- * [MapImageLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/MapImageLayer/) pointing to a [map service](https://enterprise.arcgis.com/en/server/latest/publish-services/windows/what-is-a-map-service.htm).
733
+ * [MapImageLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/MapImageLayer/) pointing to a [map service](https://doc.esri.com/en/arcgis-enterprise/latest/administer/what-is-a-map-service.html).
732
734
  *
733
735
  * @see [ArcGIS Pro - creating a query layer](https://pro.arcgis.com/en/pro-app/latest/help/mapping/layer-properties/creating-a-query-layer.htm)
734
736
  * @see [ArcGIS REST API - query a map service layer](https://developers.arcgis.com/rest/services-reference/enterprise/query-map-service-layer-.htm)
@@ -955,9 +957,11 @@ export default class Query extends JSONSupport {
955
957
  * @default "intersects"
956
958
  * @default intersects
957
959
  * @example
960
+ * ```js
958
961
  * let query = new Query({
959
962
  * spatialRelationship: "contains"
960
963
  * });
964
+ * ```
961
965
  */
962
966
  spatialRelationship: "intersects" | "contains" | "crosses" | "disjoint" | "envelope-intersects" | "index-intersects" | "overlaps" | "touches" | "within" | "relation";
963
967
  /**
@@ -988,6 +992,7 @@ export default class Query extends JSONSupport {
988
992
  * night shift from 10 PM to 6 AM on a particular date.
989
993
  *
990
994
  * @example
995
+ * ```js
991
996
  * let layer = new FeatureLayer( ... );
992
997
  * let timeExtent = new TimeExtent({
993
998
  * start: new Date(1992, 0, 1),
@@ -997,6 +1002,7 @@ export default class Query extends JSONSupport {
997
1002
  * timeExtent: timeExtent
998
1003
  * });
999
1004
  * layerView.queryFeatures(timeQuery).then(function(featureSet) { ... });
1005
+ * ```
1000
1006
  */
1001
1007
  get timeExtent(): TimeExtent | null | undefined;
1002
1008
  set timeExtent(value: TimeExtentProperties | null | undefined);
@@ -1008,6 +1014,7 @@ export default class Query extends JSONSupport {
1008
1014
  * [capabilities.query.supportsDistance](https://developers.arcgis.com/javascript/latest/references/core/layers/FeatureLayer/#capabilities) is `true`.
1009
1015
  *
1010
1016
  * @example
1017
+ * ```js
1011
1018
  * // Query at a distance in pixels of the query geometry.
1012
1019
  * // Use the unit of the query geometry's spatial reference.
1013
1020
  * layerView.queryFeatures({
@@ -1015,14 +1022,21 @@ export default class Query extends JSONSupport {
1015
1022
  * distance: 2 * view.resolution,
1016
1023
  * returnGeometry: true
1017
1024
  * }).then(processResults);
1025
+ * ```
1018
1026
  */
1019
1027
  accessor units: "feet" | "miles" | "nautical-miles" | "us-nautical-miles" | "meters" | "kilometers" | null | undefined;
1020
1028
  /**
1021
1029
  * A where clause for the query. Any legal SQL where clause operating on the fields in the layer is allowed.
1022
1030
  * Be sure to have the correct sequence of single and double quotes when writing the where clause in JavaScript.
1023
1031
  *
1024
- * @example query.where = "NAME = '" + stateName + "'";
1025
- * @example query.where = "POP04 > " + population;
1032
+ * @example
1033
+ * ```js
1034
+ * query.where = "NAME = '" + stateName + "'";
1035
+ * ```
1036
+ * @example
1037
+ * ```js
1038
+ * query.where = "POP04 > " + population;
1039
+ * ```
1026
1040
  */
1027
1041
  accessor where: string | null | undefined;
1028
1042
  /**
@@ -38,8 +38,8 @@ export interface RouteParametersProperties extends Partial<Pick<RouteParameters,
38
38
  * obtain a list of predefined travel modes and the default travel mode that is used if one is not specified in a
39
39
  * routing reqest.
40
40
  *
41
- * @see [Introduction to travel modes](https://enterprise.arcgis.com/en/portal/latest/administer/windows/travel-modes.htm)
42
- * @see [Default travel modes](https://enterprise.arcgis.com/en/portal/latest/administer/windows/travel-modes.htm#GUID-96DF7F50-E0B2-4BF3-8271-EB515D3F0107)
41
+ * @see [Introduction to travel modes](https://doc.esri.com/en/arcgis-enterprise/latest/administer/travel-modes.html)
42
+ * @see [Default travel modes](https://doc.esri.com/en/arcgis-enterprise/latest/administer/travel-modes.html#107)
43
43
  * @see [travelMode](https://developers.arcgis.com/rest/services-reference/enterprise/route-sync-services/#travelmode)
44
44
  * @example
45
45
  * // Display the fastest walking time route between two existing graphics.
@@ -107,7 +107,7 @@ export default class RouteParameters extends RouteParametersSuperclass {
107
107
  * truck-travel-time |
108
108
  * walk-time |
109
109
  *
110
- * @see [Network attributes](https://pro.arcgis.com/en/pro-app/latest/help/analysis/networks/what-are-network-attributes-.htm)
110
+ * @see [Network attributes](https://doc.esri.com/en/arcgis-pro/latest/help/analysis/networks/what-are-network-attributes-.html)
111
111
  * @see [accumulateAttributeNames](https://developers.arcgis.com/rest/services-reference/enterprise/route-sync-services/#accumulateattributenames)
112
112
  */
113
113
  accessor accumulateAttributes: string[] | null | undefined;
@@ -585,8 +585,8 @@ export default class RouteParameters extends RouteParametersSuperclass {
585
585
  * obtain a list of predefined travel modes and the default travel mode that is used if one is not specified in a
586
586
  * routing reqest.
587
587
  *
588
- * @see [Introduction to travel modes](https://enterprise.arcgis.com/en/portal/latest/administer/windows/travel-modes.htm)
589
- * @see [Default travel modes](https://enterprise.arcgis.com/en/portal/latest/administer/windows/travel-modes.htm#GUID-96DF7F50-E0B2-4BF3-8271-EB515D3F0107)
588
+ * @see [Introduction to travel modes](https://doc.esri.com/en/arcgis-enterprise/latest/administer/travel-modes.html)
589
+ * @see [Default travel modes](https://doc.esri.com/en/arcgis-enterprise/latest/administer/travel-modes.html#107)
590
590
  * @see [travelMode](https://developers.arcgis.com/rest/services-reference/enterprise/route-sync-services/#travelmode)
591
591
  * @example
592
592
  * // Display the fastest walking time route between two existing graphics.
@@ -26,8 +26,8 @@ export interface ServiceAreaParametersProperties extends Partial<Pick<ServiceAre
26
26
  * obtain a list of predefined travel modes and the default travel mode that is used if one is not specified in a
27
27
  * routing reqest.
28
28
  *
29
- * @see [Introduction to travel modes](https://enterprise.arcgis.com/en/portal/latest/administer/windows/travel-modes.htm)
30
- * @see [Default travel modes](https://enterprise.arcgis.com/en/portal/latest/administer/windows/travel-modes.htm#GUID-96DF7F50-E0B2-4BF3-8271-EB515D3F0107)
29
+ * @see [Introduction to travel modes](https://doc.esri.com/en/arcgis-enterprise/latest/administer/travel-modes.html)
30
+ * @see [Default travel modes](https://doc.esri.com/en/arcgis-enterprise/latest/administer/travel-modes.html#107)
31
31
  * @see [travelMode](https://developers.arcgis.com/rest/services-reference/enterprise/service-area-sync/#travelmode)
32
32
  */
33
33
  travelMode?: TravelModeProperties | null;
@@ -62,7 +62,7 @@ export default class ServiceAreaParameters extends ServiceAreaParametersSupercla
62
62
  * truck-travel-time |
63
63
  * walk-time |
64
64
  *
65
- * @see [Network attributes](https://pro.arcgis.com/en/pro-app/latest/help/analysis/networks/what-are-network-attributes-.htm).
65
+ * @see [Network attributes](https://doc.esri.com/en/arcgis-pro/latest/help/analysis/networks/what-are-network-attributes-.html).
66
66
  * @see [accumulateAttributeNames](https://developers.arcgis.com/rest/services-reference/enterprise/service-area-sync/#accumulateattributenames)
67
67
  */
68
68
  accessor accumulateAttributes: string[] | null | undefined;
@@ -209,7 +209,7 @@ export default class ServiceAreaParameters extends ServiceAreaParametersSupercla
209
209
  * truck-travel-time |
210
210
  * walk-time |
211
211
  *
212
- * @see [Network attributes](https://pro.arcgis.com/en/pro-app/latest/help/analysis/networks/what-are-network-attributes-.htm)
212
+ * @see [Network attributes](https://doc.esri.com/en/arcgis-pro/latest/help/analysis/networks/what-are-network-attributes-.html)
213
213
  * @see [impedanceAttributeName](https://developers.arcgis.com/rest/services-reference/enterprise/service-area-sync/#impedanceattributename)
214
214
  */
215
215
  impedanceAttribute?: string | null;
@@ -479,8 +479,8 @@ export default class ServiceAreaParameters extends ServiceAreaParametersSupercla
479
479
  * obtain a list of predefined travel modes and the default travel mode that is used if one is not specified in a
480
480
  * routing reqest.
481
481
  *
482
- * @see [Introduction to travel modes](https://enterprise.arcgis.com/en/portal/latest/administer/windows/travel-modes.htm)
483
- * @see [Default travel modes](https://enterprise.arcgis.com/en/portal/latest/administer/windows/travel-modes.htm#GUID-96DF7F50-E0B2-4BF3-8271-EB515D3F0107)
482
+ * @see [Introduction to travel modes](https://doc.esri.com/en/arcgis-enterprise/latest/administer/travel-modes.html)
483
+ * @see [Default travel modes](https://doc.esri.com/en/arcgis-enterprise/latest/administer/travel-modes.html#107)
484
484
  * @see [travelMode](https://developers.arcgis.com/rest/services-reference/enterprise/service-area-sync/#travelmode)
485
485
  */
486
486
  get travelMode(): TravelMode | null | undefined;
@@ -37,6 +37,7 @@ export interface TopFeaturesQueryProperties extends Partial<Pick<TopFeaturesQuer
37
37
  * night shift from 10 PM to 6 AM on a particular date.
38
38
  *
39
39
  * @example
40
+ * ```js
40
41
  * let layer = new FeatureLayer( ... );
41
42
  * let timeExtent = new TimeExtent({
42
43
  * start: new Date(1992, 0, 1),
@@ -46,6 +47,7 @@ export interface TopFeaturesQueryProperties extends Partial<Pick<TopFeaturesQuer
46
47
  * timeExtent: timeExtent
47
48
  * });
48
49
  * layerView.queryFeatures(timeQuery).then(function(featureSet) { ... });
50
+ * ```
49
51
  */
50
52
  timeExtent?: TimeExtentProperties | null;
51
53
  /**
@@ -386,9 +388,11 @@ export default class TopFeaturesQuery extends JSONSupport {
386
388
  * @default "intersects"
387
389
  * @default intersects
388
390
  * @example
391
+ * ```js
389
392
  * let query = new Query({
390
393
  * spatialRelationship: "contains"
391
394
  * });
395
+ * ```
392
396
  */
393
397
  accessor spatialRelationship: "intersects" | "contains" | "crosses" | "envelope-intersects" | "index-intersects" | "overlaps" | "touches" | "within";
394
398
  /**
@@ -403,6 +407,7 @@ export default class TopFeaturesQuery extends JSONSupport {
403
407
  * night shift from 10 PM to 6 AM on a particular date.
404
408
  *
405
409
  * @example
410
+ * ```js
406
411
  * let layer = new FeatureLayer( ... );
407
412
  * let timeExtent = new TimeExtent({
408
413
  * start: new Date(1992, 0, 1),
@@ -412,6 +417,7 @@ export default class TopFeaturesQuery extends JSONSupport {
412
417
  * timeExtent: timeExtent
413
418
  * });
414
419
  * layerView.queryFeatures(timeQuery).then(function(featureSet) { ... });
420
+ * ```
415
421
  */
416
422
  get timeExtent(): TimeExtent | null | undefined;
417
423
  set timeExtent(value: TimeExtentProperties | null | undefined);
@@ -440,6 +446,7 @@ export default class TopFeaturesQuery extends JSONSupport {
440
446
  * [capabilities.query.supportsDistance](https://developers.arcgis.com/javascript/latest/references/core/layers/FeatureLayer/#capabilities) is `true`.
441
447
  *
442
448
  * @example
449
+ * ```js
443
450
  * // Query at a distance in pixels of the query geometry.
444
451
  * // Use the unit of the query geometry's spatial reference.
445
452
  * layerView.queryFeatures({
@@ -447,6 +454,7 @@ export default class TopFeaturesQuery extends JSONSupport {
447
454
  * distance: 2 * view.resolution,
448
455
  * returnGeometry: true
449
456
  * }).then(processResults);
457
+ * ```
450
458
  */
451
459
  accessor units: "feet" | "miles" | "nautical-miles" | "us-nautical-miles" | "meters" | "kilometers" | null | undefined;
452
460
  /**
@@ -454,8 +462,14 @@ export default class TopFeaturesQuery extends JSONSupport {
454
462
  * Be sure to have the correct sequence of single and double quotes when writing the where clause in JavaScript.
455
463
  *
456
464
  * @default "1=1"
457
- * @example query.where = "NAME = '" + stateName + "'";
458
- * @example query.where = "POP04 > " + population;
465
+ * @example
466
+ * ```js
467
+ * query.where = "NAME = '" + stateName + "'";
468
+ * ```
469
+ * @example
470
+ * ```js
471
+ * query.where = "POP04 > " + population;
472
+ * ```
459
473
  */
460
474
  accessor where: string;
461
475
  /**
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import e from"../../Graphic.js";import t from"../../core/Logger.js";import{getOrCreateMapValue as r}from"../../core/MapUtils.js";import s from"../../geometry/Extent.js";import o from"../../geometry/Mesh.js";import n from"../../geometry/SpatialReference.js";import{ServiceAssetPart as a,ServiceAsset as u}from"../../geometry/support/meshUtils/External.js";import{getFormatIdMimeType as i}from"../../layers/support/infoFor3D.js";import f from"./FeatureSet.js";import{extractMeshFeatureOrigin as m,extractMeshFeatureTransform as c}from"./meshFeatureAttributes.js";const p=()=>t.getLogger("esri.rest.support.meshFeatureSet");function l(t,r,s){const o=s.features;s.features=[],delete s.geometryType;const a=f.fromJSON(s);if(a.geometryType="mesh",!s.assetMaps)return a;const u=g(r,s.assetMaps),i=t.sourceSpatialReference??n.WGS84,m=s.globalIdFieldName,{outFields:c}=t,p=null!=c&&c.length>0?y(c.includes("*")?null:new Set(c)):()=>({});for(const n of o){const t=h(n,m,i,r,u);a.features.push(new e({geometry:t,attributes:p(n)}))}return a}function y(e){return({attributes:t})=>{if(!t)return{};if(!e)return t;for(const r in t)e.has(r)||delete t[r];return t}}function h(e,t,r,n,a){const u=e.attributes[t],i=a.get(u);if(null==i||!e.geometry)return null;const f=m(e.attributes,r,n.transformFieldRoles),p=s.fromJSON(e.geometry);p.spatialReference=r;const l=c(e.attributes,n.transformFieldRoles),y=r.isGeographic?"local":"georeferenced",h=d(i);return h?o.createWithExternalSource(f,h,{extent:p,transform:l,vertexSpace:y,unitConversionDisabled:!0}):o.createIncomplete(f,{extent:p,transform:l,vertexSpace:y})}function g(e,t){const s=new Map;for(const o of t){const t=o.parentGlobalId;if(null==t)continue;const n=o.assetName,a=o.assetType,u=o.assetHash,f=o.assetURL,m=o.conversionStatus,c=o.seqNo,l=i(a,e.supportedFormats);if(!l){p().error("mesh-feature-set:unknown-format",`Service returned an asset of type ${a}, but it does not list it as a supported type`);continue}const y=r(s,t,()=>({files:new Map}));r(y.files,n,()=>({name:n,type:a,mimeType:l,status:S(m),parts:[]})).parts[c]={hash:u,url:f}}return s}function d(e){const t=Array.from(e.files.values()),r=new Array;for(const s of t){if(2!==s.status)return null;const e=new Array;for(const t of s.parts){if(!t)return null;e.push(new a(t.url,t.hash))}r.push(new u(s.name,s.mimeType,e))}return{type:"service",assets:r}}function S(e){switch(e){case"COMPLETED":case"SUBMITTED":return 2;case"INPROGRESS":return 1;default:return 0}}export{g as assetMapFromAssetMapsJSON,h as extractMesh,l as meshFeatureSetFromJSON};
2
+ import e from"../../Graphic.js";import t from"../../core/Logger.js";import{getOrCreateMapValue as r}from"../../core/MapUtils.js";import s from"../../geometry/Extent.js";import o from"../../geometry/SpatialReference.js";import{createIncomplete as n,createWithExternalSource as a}from"../../geometry/support/meshUtils.js";import{ServiceAssetPart as u,ServiceAsset as i}from"../../geometry/support/meshUtils/External.js";import{getFormatIdMimeType as f}from"../../layers/support/infoFor3D.js";import m from"./FeatureSet.js";import{extractMeshFeatureOrigin as p,extractMeshFeatureTransform as c}from"./meshFeatureAttributes.js";const l=()=>t.getLogger("esri.rest.support.meshFeatureSet");function y(t,r,s){const n=s.features;s.features=[],delete s.geometryType;const a=m.fromJSON(s);if(a.geometryType="mesh",!s.assetMaps)return a;const u=d(r,s.assetMaps),i=t.sourceSpatialReference??o.WGS84,f=s.globalIdFieldName,{outFields:p}=t,c=null!=p&&p.length>0?g(p.includes("*")?null:new Set(p)):()=>({});for(const o of n){const t=h(o,f,i,r,u);a.features.push(new e({geometry:t,attributes:c(o)}))}return a}function g(e){return({attributes:t})=>{if(!t)return{};if(!e)return t;for(const r in t)e.has(r)||delete t[r];return t}}function h(e,t,r,o,u){const i=e.attributes[t],f=u.get(i);if(null==f||!e.geometry)return null;const m=p(e.attributes,r,o.transformFieldRoles),l=s.fromJSON(e.geometry);l.spatialReference=r;const y=c(e.attributes,o.transformFieldRoles),g=r.isGeographic?"local":"georeferenced",h=S(f);return h?a(m,h,{extent:l,transform:y,vertexSpace:g,unitConversionDisabled:!0}):n(m,{transform:y,vertexSpace:g})}function d(e,t){const s=new Map;for(const o of t){const t=o.parentGlobalId;if(null==t)continue;const n=o.assetName,a=o.assetType,u=o.assetHash,i=o.assetURL,m=o.conversionStatus,p=o.seqNo,c=f(a,e.supportedFormats);if(!c){l().error("mesh-feature-set:unknown-format",`Service returned an asset of type ${a}, but it does not list it as a supported type`);continue}const y=r(s,t,()=>({files:new Map}));r(y.files,n,()=>({name:n,type:a,mimeType:c,status:b(m),parts:[]})).parts[p]={hash:u,url:i}}return s}function S(e){const t=Array.from(e.files.values()),r=new Array;for(const s of t){if(2!==s.status)return null;const e=new Array;for(const t of s.parts){if(!t)return null;e.push(new u(t.url,t.hash))}r.push(new i(s.name,s.mimeType,e))}return{type:"service",assets:r}}function b(e){switch(e){case"COMPLETED":case"SUBMITTED":return 2;case"INPROGRESS":return 1;default:return 0}}export{d as assetMapFromAssetMapsJSON,h as extractMesh,y as meshFeatureSetFromJSON};