@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
@@ -202,13 +202,13 @@ export interface MeshProperties extends BaseGeometryProperties, LoadableMixinPro
202
202
  *
203
203
  * ## Create simple mesh geometry primitives
204
204
  *
205
- * The mesh geometry class has a number of convenience functions to create simple
205
+ * There are a couple of convenience functions in [meshUtils](https://developers.arcgis.com/javascript/latest/references/core/geometry/support/meshUtils/) to create simple
206
206
  * primitive shapes. These shapes can help you get started with understanding
207
207
  * mesh geometries.
208
208
  *
209
209
  * ```js
210
210
  * // Create a box mesh geometry
211
- * let mesh = Mesh.createBox(location, {
211
+ * let mesh = meshUtils.createBox(location, {
212
212
  * size: {
213
213
  * width: 100,
214
214
  * height: 50,
@@ -304,6 +304,7 @@ export default class Mesh extends MeshSuperclass {
304
304
  *
305
305
  * <img src="https://developers.arcgis.com/javascript/latest/assets/references/core/geometry/mesh-box-uv.avif" width="300" height="300"/>
306
306
  *
307
+ * @deprecated since version 5.1. Use [createBox()](https://developers.arcgis.com/javascript/latest/references/core/geometry/support/meshUtils/#createBox) instead.
307
308
  * @param location - The location bottom center of the box.
308
309
  * @param parameters - Parameters to configure the box creation.
309
310
  * @returns The resulting mesh.
@@ -338,6 +339,7 @@ export default class Mesh extends MeshSuperclass {
338
339
  *
339
340
  * <img src="https://developers.arcgis.com/javascript/latest/assets/references/core/geometry/mesh-cylinder-uv.avif" width="300" height="300"/>
340
341
  *
342
+ * @deprecated since version 5.1. Use [createCylinder()](https://developers.arcgis.com/javascript/latest/references/core/geometry/support/meshUtils/#createCylinder) instead.
341
343
  * @param location - The location of the bottom center of the cylinder.
342
344
  * @param parameters - Parameters to configure the cylinder creation.
343
345
  * @returns The resulting mesh.
@@ -350,6 +352,7 @@ export default class Mesh extends MeshSuperclass {
350
352
  * more information on the supported glTF features you can read the
351
353
  * [Visualizing points with 3D symbols](https://developers.arcgis.com/javascript/latest/visualizing-points-3d/) guide topic. Animations are currently unsupported.
352
354
  *
355
+ * @deprecated since version 5.1. Use [createFromGLTF()](https://developers.arcgis.com/javascript/latest/references/core/geometry/support/meshUtils/#createFromGLTF) instead.
353
356
  * @param location - The location of the origin of the model. If the location does not
354
357
  * contain a z-value, z is assumed to be `0`.
355
358
  * @param url - The URL of the glTF model. The URL should point to a glTF file (.gltf or .glb) which can
@@ -366,6 +369,7 @@ export default class Mesh extends MeshSuperclass {
366
369
  * set to `flat`. The spatial reference of the resulting mesh is the same
367
370
  * as the input polygon. The resulting mesh will not contain any UV nor normal vertex attributes.
368
371
  *
372
+ * @deprecated since version 5.1. Use [createFromPolygon()](https://developers.arcgis.com/javascript/latest/references/core/geometry/support/meshUtils/#createFromPolygon) instead.
369
373
  * @param polygon - The input polygon.
370
374
  * @param parameters - Optional parameters.
371
375
  * @returns A new mesh representing the triangulated polygon.
@@ -382,6 +386,7 @@ export default class Mesh extends MeshSuperclass {
382
386
  *
383
387
  * <img src="https://developers.arcgis.com/javascript/latest/assets/references/core/geometry/mesh-plane-uv.avif" width="300" height="300"/>
384
388
  *
389
+ * @deprecated since version 5.1. Use [createPlane()](https://developers.arcgis.com/javascript/latest/references/core/geometry/support/meshUtils/#createPlane) instead.
385
390
  * @param location - The location of the bottom center of the plane.
386
391
  * @param parameters - Parameters to configure the plane creation.
387
392
  * @returns The resulting mesh.
@@ -398,6 +403,7 @@ export default class Mesh extends MeshSuperclass {
398
403
  *
399
404
  * <img src="https://developers.arcgis.com/javascript/latest/assets/references/core/geometry/mesh-sphere-uv.avif" width="300" height="300"/>
400
405
  *
406
+ * @deprecated since version 5.1. Use [createSphere()](https://developers.arcgis.com/javascript/latest/references/core/geometry/support/meshUtils/#createSphere) instead.
401
407
  * @param location - The location of the bottom center of the sphere.
402
408
  * @param parameters - Parameters to configure the sphere creation.
403
409
  * @returns The resulting mesh.
@@ -598,6 +604,7 @@ export default class Mesh extends MeshSuperclass {
598
604
  }
599
605
  declare const MeshSuperclass: typeof BaseGeometry & typeof EsriPromiseMixin & typeof LoadableMixin & typeof ClonableMixin
600
606
 
607
+ /** @deprecated since version 5.1. Use [CreateFromPolygonParameters](https://developers.arcgis.com/javascript/latest/references/core/geometry/support/meshUtils/#CreateFromPolygonParameters) in `meshUtils` instead. */
601
608
  export interface CreateFromPolygonParameters {
602
609
  /** The material to be used for the mesh. */
603
610
  material?: MeshMaterialProperties;
package/geometry/Mesh.js CHANGED
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import{__decorate as e}from"tslib";import{ClonableMixin as t}from"../core/Clonable.js";import r from"../core/Error.js";import{LoadableMixin as o}from"../core/Loadable.js";import s from"../core/Logger.js";import{EsriPromiseMixin as n}from"../core/Promise.js";import{throwIfAborted as i,isPromiseLike as a,whenOrAbort as p}from"../core/promiseUtils.js";import{watch as c}from"../core/reactiveUtils.js";import{property as l,subclass as m}from"../core/accessorSupport/decorators.js";import{fromValues as h}from"../core/libs/gl-matrix-2/factories/vec3f64.js";import u from"./Geometry.js";import d from"./Point.js";import f from"./Polygon.js";import{create as g,fromBuffer as x,zero as y}from"./support/aaBoundingBox.js";import{composeAxes as v,create as j}from"./support/axisAngleDegrees.js";import w from"./support/MeshComponent.js";import{componentNotFoundMessage as S,meshNotLoadedMessage as b,invalidLocationMessage as L,invalidPolygonMessage as A,InvalidLocationError as C}from"./support/meshErrors.js";import M from"./support/MeshGeoreferencedVertexSpace.js";import U from"./support/MeshLocalVertexSpace.js";import R from"./support/MeshTransform.js";import _ from"./support/MeshVertexAttributes.js";import{vertexSpaceOriginToPoint as F,isRelativeVertexSpace as P,selectVertexSpace as E}from"./support/meshVertexSpaceUtils.js";import{centerAt as B}from"./support/meshUtils/centerAt.js";import{computeMeshExtent as I}from"./support/meshUtils/extent.js";import{loadExternal as G}from"./support/meshUtils/loadExternal.js";import{addMeshMaterialCloneContext as k,addMeshTextureCloneContext as T,getMeshCloneContext as O}from"./support/meshUtils/meshCloneUtils.js";import{Metadata as z}from"./support/meshUtils/Metadata.js";import{convertUnitGeometry as V,createUnitSizeBox as D,extractSingleFaceOfBox as N,createUnitSizeSphere as Z,createUnitSizeCylinder as H,convertPlaneSizeParameter as K,createUnitSizePlane as W}from"./support/meshUtils/primitives.js";import{rotate as q}from"./support/meshUtils/rotate.js";import{scale as J}from"./support/meshUtils/scale.js";import{polygonToRenderInfoNotElevationAligned as Q}from"../views/3d/support/renderInfoUtils/polygon.js";var X;const Y={base:null,key:"type",defaultKeyValue:"georeferenced",typeMap:{georeferenced:M,local:U}};let $=X=class extends(t(o(n(u)))){constructor(e){super(e),this.components=null,this.vertexSpace=new M,this.transform=null,this.metadata=new z,this.hasZ=!0,this.hasM=!1,this.vertexAttributes=new _,this.type="mesh"}initialize(){(0===this.metadata.externalSources.length||this.vertexAttributes.position.length)&&(this.loadStatus="loaded"),this.when(()=>{this.addHandles(c(()=>({vertexAttributes:this.vertexAttributes,components:this.components?.map(e=>e.clone())}),()=>this._clearSources(),{once:!0,sync:!0}))})}get hasExtent(){return this.loaded?this.vertexAttributes.position.length>0&&(!this.components||this.components.length>0):null!=this.metadata.displaySource?.extent}get _transformedExtent(){const{spatialReference:e,vertexSpace:t}=this,r=this;return I({get transform(){return r.transform},vertexSpace:t,spatialReference:e,untransformedBounds:this._untransformedBounds})}get _untransformedBounds(){const{vertexAttributes:{position:e},components:t}=this;return 0===e.length||0===t?.length?g(y):x(e)}get origin(){const e=F(this.vertexSpace,this.spatialReference);if(null!=e)return e;const{center:t,zmin:r}=this._transformedExtent;return new d({x:t.x,y:t.y,z:r,spatialReference:this.spatialReference})}get extent(){return this.loaded||null==this.metadata?.displaySource?.extent?this._transformedExtent:this.metadata.displaySource.extent.clone()}addComponent(e){this._checkIfLoaded("addComponent()")&&(this.components||(this.components=[]),this.components.push(w.from(e)),this.notifyChange("components"))}removeComponent(e){if(this._checkIfLoaded("removeComponent()")){if(this.components){const t=this.components.indexOf(e);if(-1!==t)return this.components.splice(t,1),void this.notifyChange("components")}s.getLogger(this).error("removeComponent()",S)}}rotate(e,t,r,o){return v(e,t,r,ee),q(this,ee,o),this}offset(e,t,r){if(!this._checkIfLoaded("offset()"))return this;const{vertexSpace:o,vertexAttributes:s}=this,n=s?.position;if(!n)return this;if(P(o)){const[s,n,i]=o.origin;o.origin=h(s+e,n+t,i+r)}else{for(let o=0;o<n.length;o+=3)n[o]+=e,n[o+1]+=t,n[o+2]+=r;this.vertexAttributesChanged()}return this}scale(e,t){return this._checkIfLoaded("scale()")?(J(this,e,t),this):this}centerAt(e,t){return this._checkIfLoaded("centerAt()")?(B(this,e,t),this):this}load(e){const{metadata:{displaySource:t}}=this;return t&&this.addResolvingPromise(G(this,t,e)),Promise.resolve(this)}addExternalSources(e){this.metadata.externalSources.addMany(e)}updateDisplaySource(e){this.metadata.displaySource=e}clone(e){return super.clone(k(T(e)))}cloneShallow(){return new X({components:this.components,spatialReference:this.spatialReference,vertexAttributes:this.vertexAttributes,vertexSpace:this.vertexSpace.clone(),transform:this.transform,metadata:this.metadata})}vertexAttributesChanged(){this.notifyChange("vertexAttributes")}async toBinaryGLTF(e){const[{toBinaryGLTF:t}]=await Promise.all([import("./support/meshUtils/exporters/gltf/gltfexport.js"),this.load(e)]);return i(e),await t(this,e)}get usedMemory(){return this.components?this.components.reduce((e,t)=>e+t.memoryUsage,this.vertexAttributes.usedMemory):this.vertexAttributes.usedMemory}_clearSources(){this.metadata.clearSources()}_checkIfLoaded(e){return!!this.loaded||(s.getLogger(this).error(e,b),!1)}static createBox(e,t){if(!(e instanceof d))return s.getLogger(this.prototype).error(".createBox()",L),null;const r=new X(V(D(),e,t));return t?.imageFace&&"all"!==t.imageFace?N(r,t.imageFace):r}static createSphere(e,t){return e instanceof d?new X(V(Z(t?.densificationFactor||0),e,t)):(s.getLogger(this.prototype).error(".createSphere()",L),null)}static createCylinder(e,t){return e instanceof d?new X(V(H(t?.densificationFactor||0),e,t)):(s.getLogger(this.prototype).error(".createCylinder()",L),null)}static createPlane(e,t){if(!(e instanceof d))return s.getLogger(this.prototype).error(".createPlane()",L),null;const r=t?.facing??"up",o=K(r,t?.size);return new X(V(W(r),e,{...t,size:o}))}static createFromPolygon(e,t){if(!(e instanceof f))return s.getLogger(this.prototype).error(".createFromPolygon()",A),null;const r=Q(e,{method:"earcut"}),o=a(r)?null:r,n=o?.positions??[],i=o?.polygonIndices??[];return new X({vertexAttributes:new _({position:n}),components:[new w({faces:i,shading:"flat",material:t?.material??null})],spatialReference:e.spatialReference,vertexSpace:new M})}static async createFromGLTF(e,t,r){if(!(e instanceof d)){const e=new C;throw s.getLogger(this.prototype).error(".createfromGLTF()",e.message),e}const{loadGLTFMesh:o}=await p(import("./support/meshUtils/loadGLTFMesh.js"),r);return new X((await o(e,t,r)).mesh)}static createWithExternalSource(e,t,r){const o=r?.extent??null,{spatialReference:s}=e,n=r?.transform?.clone()??new R,i=E(e,r),a=r?.unitConversionDisabled,p={source:t,extent:o,unitConversionDisabled:a},c=new z;return c.externalSources.push(p),new X({metadata:c,transform:n,vertexSpace:i,spatialReference:s})}static createIncomplete(e,t){const{spatialReference:o}=e,s=t?.transform?.clone()??new R,n=E(e,t),i=new X({transform:s,vertexSpace:n,spatialReference:o});return i.addResolvingPromise(Promise.reject(new r("mesh-incomplete","Mesh resources are not complete"))),i}};e([l({type:[w],json:{write:!0}})],$.prototype,"components",void 0),e([l({nonNullable:!0,types:Y,constructOnly:!0,json:{write:!0},clonable:(e,t)=>O(t)?.vertexSpace??e.clone(t)})],$.prototype,"vertexSpace",void 0),e([l({type:R,clonable:(e,t)=>{const r=O(t);return r&&"transform"in r?r.transform:e?.clone()??e},json:{write:!0}})],$.prototype,"transform",void 0),e([l({constructOnly:!0,type:z,clonable:(e,t)=>O(t)?.metadata??e.clone()})],$.prototype,"metadata",void 0),e([l()],$.prototype,"hasExtent",null),e([l()],$.prototype,"_transformedExtent",null),e([l()],$.prototype,"_untransformedBounds",null),e([l()],$.prototype,"origin",null),e([l({readOnly:!0,json:{read:!1}})],$.prototype,"extent",null),e([l({readOnly:!0,json:{read:!1,write:!0,default:!0}})],$.prototype,"hasZ",void 0),e([l({readOnly:!0,json:{read:!1,write:!0,default:!1}})],$.prototype,"hasM",void 0),e([l({type:_,nonNullable:!0,json:{write:!0},clonable:(e,t)=>O(t)?.vertexAttributes??e.clone(t)})],$.prototype,"vertexAttributes",void 0),$=X=e([m("esri.geometry.Mesh")],$);const ee=j();export{$ as default};
2
+ import{__decorate as e}from"tslib";import{ClonableMixin as t}from"../core/Clonable.js";import{LoadableMixin as r}from"../core/Loadable.js";import o from"../core/Logger.js";import{EsriPromiseMixin as s}from"../core/Promise.js";import{throwIfAborted as n,isPromiseLike as i,whenOrAbort as a}from"../core/promiseUtils.js";import{watch as p}from"../core/reactiveUtils.js";import{property as c,subclass as l}from"../core/accessorSupport/decorators.js";import{fromValues as m}from"../core/libs/gl-matrix-2/factories/vec3f64.js";import h from"./Geometry.js";import u from"./Point.js";import d from"./Polygon.js";import{create as f,fromBuffer as g,zero as y}from"./support/aaBoundingBox.js";import{composeAxes as x,create as v}from"./support/axisAngleDegrees.js";import j from"./support/MeshComponent.js";import{componentNotFoundMessage as S,meshNotLoadedMessage as b,invalidLocationMessage as w,invalidPolygonMessage as L,InvalidLocationError as A}from"./support/meshErrors.js";import M from"./support/MeshGeoreferencedVertexSpace.js";import U from"./support/MeshLocalVertexSpace.js";import C from"./support/MeshTransform.js";import _ from"./support/MeshVertexAttributes.js";import{vertexSpaceOriginToPoint as F,isRelativeVertexSpace as B}from"./support/meshVertexSpaceUtils.js";import{centerAt as P}from"./support/meshUtils/centerAt.js";import{computeMeshExtent as R}from"./support/meshUtils/extent.js";import{loadExternal as E}from"./support/meshUtils/loadExternal.js";import{addMeshMaterialCloneContext as G,addMeshTextureCloneContext as I,getMeshCloneContext as k}from"./support/meshUtils/meshCloneUtils.js";import{Metadata as T}from"./support/meshUtils/Metadata.js";import{convertUnitGeometry as O,createUnitSizeBox as z,extractSingleFaceOfBox as V,createUnitSizeSphere as D,createUnitSizeCylinder as N,convertPlaneSizeParameter as Z,createUnitSizePlane as H}from"./support/meshUtils/primitives.js";import{rotate as K}from"./support/meshUtils/rotate.js";import{scale as q}from"./support/meshUtils/scale.js";import{polygonToRenderInfoNotElevationAligned as J}from"../views/3d/support/renderInfoUtils/polygon.js";var Q;const W={base:null,key:"type",defaultKeyValue:"georeferenced",typeMap:{georeferenced:M,local:U}};let X=Q=class extends(t(r(s(h)))){constructor(e){super(e),this.components=null,this.vertexSpace=new M,this.transform=null,this.metadata=new T,this.hasZ=!0,this.hasM=!1,this.vertexAttributes=new _,this.type="mesh"}initialize(){(0===this.metadata.externalSources.length||this.vertexAttributes.position.length)&&(this.loadStatus="loaded"),this.when(()=>{this.addHandles(p(()=>({vertexAttributes:this.vertexAttributes,components:this.components?.map(e=>e.clone())}),()=>this._clearSources(),{once:!0,sync:!0}))})}get hasExtent(){return this.loaded?this.vertexAttributes.position.length>0&&(!this.components||this.components.length>0):null!=this.metadata.displaySource?.extent}get _transformedExtent(){const{spatialReference:e,vertexSpace:t}=this,r=this;return R({get transform(){return r.transform},vertexSpace:t,spatialReference:e,untransformedBounds:this._untransformedBounds})}get _untransformedBounds(){const{vertexAttributes:{position:e},components:t}=this;return 0===e.length||0===t?.length?f(y):g(e)}get origin(){const e=F(this.vertexSpace,this.spatialReference);if(null!=e)return e;const{center:t,zmin:r}=this._transformedExtent;return new u({x:t.x,y:t.y,z:r,spatialReference:this.spatialReference})}get extent(){return this.loaded||null==this.metadata?.displaySource?.extent?this._transformedExtent:this.metadata.displaySource.extent.clone()}addComponent(e){this._checkIfLoaded("addComponent()")&&(this.components||(this.components=[]),this.components.push(j.from(e)),this.notifyChange("components"))}removeComponent(e){if(this._checkIfLoaded("removeComponent()")){if(this.components){const t=this.components.indexOf(e);if(-1!==t)return this.components.splice(t,1),void this.notifyChange("components")}o.getLogger(this).error("removeComponent()",S)}}rotate(e,t,r,o){return x(e,t,r,Y),K(this,Y,o),this}offset(e,t,r){if(!this._checkIfLoaded("offset()"))return this;const{vertexSpace:o,vertexAttributes:s}=this,n=s?.position;if(!n)return this;if(B(o)){const[s,n,i]=o.origin;o.origin=m(s+e,n+t,i+r)}else{for(let o=0;o<n.length;o+=3)n[o]+=e,n[o+1]+=t,n[o+2]+=r;this.vertexAttributesChanged()}return this}scale(e,t){return this._checkIfLoaded("scale()")?(q(this,e,t),this):this}centerAt(e,t){return this._checkIfLoaded("centerAt()")?(P(this,e,t),this):this}load(e){const{metadata:{displaySource:t}}=this;return t&&this.addResolvingPromise(E(this,t,e)),Promise.resolve(this)}addExternalSources(e){this.metadata.externalSources.addMany(e)}updateDisplaySource(e){this.metadata.displaySource=e}clone(e){return super.clone(G(I(e)))}cloneShallow(){return new Q({components:this.components,spatialReference:this.spatialReference,vertexAttributes:this.vertexAttributes,vertexSpace:this.vertexSpace.clone(),transform:this.transform,metadata:this.metadata})}vertexAttributesChanged(){this.notifyChange("vertexAttributes")}async toBinaryGLTF(e){const[{toBinaryGLTF:t}]=await Promise.all([import("./support/meshUtils/exporters/gltf/gltfexport.js"),this.load(e)]);return n(e),await t(this,e)}get usedMemory(){return this.components?this.components.reduce((e,t)=>e+t.memoryUsage,this.vertexAttributes.usedMemory):this.vertexAttributes.usedMemory}_clearSources(){this.metadata.clearSources()}_checkIfLoaded(e){return!!this.loaded||(o.getLogger(this).error(e,b),!1)}static createBox(e,t){if(!(e instanceof u))return o.getLogger(this.prototype).error(".createBox()",w),null;const r=new Q(O(z(),e,t));return t?.imageFace&&"all"!==t.imageFace?V(r,t.imageFace):r}static createSphere(e,t){return e instanceof u?new Q(O(D(t?.densificationFactor||0),e,t)):(o.getLogger(this.prototype).error(".createSphere()",w),null)}static createCylinder(e,t){return e instanceof u?new Q(O(N(t?.densificationFactor||0),e,t)):(o.getLogger(this.prototype).error(".createCylinder()",w),null)}static createPlane(e,t){if(!(e instanceof u))return o.getLogger(this.prototype).error(".createPlane()",w),null;const r=t?.facing??"up",s=Z(r,t?.size);return new Q(O(H(r),e,{...t,size:s}))}static createFromPolygon(e,t){if(!(e instanceof d))return o.getLogger(this.prototype).error(".createFromPolygon()",L),null;const r=J(e,{method:"earcut"}),s=i(r)?null:r,n=s?.positions??[],a=s?.polygonIndices??[];return new Q({vertexAttributes:new _({position:n}),components:[new j({faces:a,shading:"flat",material:t?.material??null})],spatialReference:e.spatialReference,vertexSpace:new M})}static async createFromGLTF(e,t,r){if(!(e instanceof u)){const e=new A;throw o.getLogger(this.prototype).error(".createfromGLTF()",e.message),e}const{loadGLTFMesh:s}=await a(import("./support/meshUtils/loadGLTFMesh.js"),r);return new Q((await s(e,t,r)).mesh)}};e([c({type:[j],json:{write:!0}})],X.prototype,"components",void 0),e([c({nonNullable:!0,types:W,constructOnly:!0,json:{write:!0},clonable:(e,t)=>k(t)?.vertexSpace??e.clone(t)})],X.prototype,"vertexSpace",void 0),e([c({type:C,clonable:(e,t)=>{const r=k(t);return r&&"transform"in r?r.transform:e?.clone()??e},json:{write:!0}})],X.prototype,"transform",void 0),e([c({constructOnly:!0,type:T,clonable:(e,t)=>k(t)?.metadata??e.clone()})],X.prototype,"metadata",void 0),e([c()],X.prototype,"hasExtent",null),e([c()],X.prototype,"_transformedExtent",null),e([c()],X.prototype,"_untransformedBounds",null),e([c()],X.prototype,"origin",null),e([c({readOnly:!0,json:{read:!1}})],X.prototype,"extent",null),e([c({readOnly:!0,json:{read:!1,write:!0,default:!0}})],X.prototype,"hasZ",void 0),e([c({readOnly:!0,json:{read:!1,write:!0,default:!1}})],X.prototype,"hasM",void 0),e([c({type:_,nonNullable:!0,json:{write:!0},clonable:(e,t)=>k(t)?.vertexAttributes??e.clone(t)})],X.prototype,"vertexAttributes",void 0),X=Q=e([l("esri.geometry.Mesh")],X);const Y=v();export{X as default};
@@ -57,10 +57,10 @@ export interface MeshMaterialProperties extends Partial<Pick<MeshMaterial, "alph
57
57
  * The material properties support a number of convenience autocast types, including
58
58
  * hex color strings and well-known color strings (autocasts to
59
59
  * [Color](https://developers.arcgis.com/javascript/latest/references/core/Color/)), or strings representing URLs to images,
60
- * [HTMLImageElements](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement),
61
- * [HTMLCanvasElements](https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement),
62
- * [HTMLVideoElement](https://developer.mozilla.org/en-US/docs/Web/API/HTMLVideoElement),
63
- * or [ImageData](https://developer.mozilla.org/en-US/docs/Web/API/ImageData)
60
+ * [HTMLImageElements](https://developer.mozilla.org/docs/Web/API/HTMLImageElement),
61
+ * [HTMLCanvasElements](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement),
62
+ * [HTMLVideoElement](https://developer.mozilla.org/docs/Web/API/HTMLVideoElement),
63
+ * or [ImageData](https://developer.mozilla.org/docs/Web/API/ImageData)
64
64
  * (autocasts to [MeshTexture](https://developers.arcgis.com/javascript/latest/references/core/geometry/support/MeshTexture/)).
65
65
  *
66
66
  * ```js
@@ -81,7 +81,7 @@ export interface MeshMaterialProperties extends Partial<Pick<MeshMaterial, "alph
81
81
  * url: "./image.png"
82
82
  * });
83
83
  *
84
- * const boxMesh = Mesh.createBox(location, {
84
+ * const boxMesh = createBox(location, {
85
85
  * material: {
86
86
  * colorTexture: meshTextureByUrl
87
87
  * }
@@ -5,11 +5,11 @@ import type { MeshTextureData } from "../types.js";
5
5
  export interface MeshTextureProperties extends Partial<Pick<MeshTexture, "transparent" | "url" | "wrap">> {
6
6
  /**
7
7
  * A direct reference to the image or video data. The data can be an
8
- * [image element](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement),
9
- * [canvas element](https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement),
10
- * [video element](https://developer.mozilla.org/en-US/docs/Web/API/HTMLVideoElement)
11
- * or [ImageData](https://developer.mozilla.org/en-US/docs/Web/API/ImageData).
12
- * If the data is set to a [video element](https://developer.mozilla.org/en-US/docs/Web/API/HTMLVideoElement),
8
+ * [image element](https://developer.mozilla.org/docs/Web/API/HTMLImageElement),
9
+ * [canvas element](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement),
10
+ * [video element](https://developer.mozilla.org/docs/Web/API/HTMLVideoElement)
11
+ * or [ImageData](https://developer.mozilla.org/docs/Web/API/ImageData).
12
+ * If the data is set to a [video element](https://developer.mozilla.org/docs/Web/API/HTMLVideoElement),
13
13
  * the element needs to be visible in the DOM.
14
14
  * The data property is mutually exclusive with the url property, setting the data will clear the
15
15
  * url (if there is one).
@@ -27,17 +27,17 @@ export interface MeshTextureProperties extends Partial<Pick<MeshTexture, "transp
27
27
  * set either as a [MeshMaterial.colorTexture](https://developers.arcgis.com/javascript/latest/references/core/geometry/support/MeshMaterial/#colorTexture)
28
28
  * or as [MeshMaterial.normalTexture](https://developers.arcgis.com/javascript/latest/references/core/geometry/support/MeshMaterial/#normalTexture).
29
29
  * Images can be referred to either by url or directly by data (
30
- * [HTMLImageElement](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement),
31
- * [HTMLCanvasElement](https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement),
32
- * [HTMLVideoElement](https://developer.mozilla.org/en-US/docs/Web/API/HTMLVideoElement)
33
- * or [ImageData](https://developer.mozilla.org/en-US/docs/Web/API/ImageData)).
30
+ * [HTMLImageElement](https://developer.mozilla.org/docs/Web/API/HTMLImageElement),
31
+ * [HTMLCanvasElement](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement),
32
+ * [HTMLVideoElement](https://developer.mozilla.org/docs/Web/API/HTMLVideoElement)
33
+ * or [ImageData](https://developer.mozilla.org/docs/Web/API/ImageData)).
34
34
  *
35
35
  * ```js
36
36
  * const meshColorByUrl = new MeshTexture({
37
37
  * url: "./image.png"
38
38
  * });
39
39
  *
40
- * const mesh = Mesh.createBox(location, {
40
+ * const mesh = createBox(location, {
41
41
  * material: {
42
42
  * colorTexture: meshColorByUrl
43
43
  * }
@@ -47,14 +47,14 @@ export interface MeshTextureProperties extends Partial<Pick<MeshTexture, "transp
47
47
  * data: canvasElement
48
48
  * });
49
49
  *
50
- * const meshWithCanvasMaterial = Mesh.createBox(location, {
50
+ * const meshWithCanvasMaterial = createBox(location, {
51
51
  * material: {
52
52
  * colorTexture: meshColorByCanvas
53
53
  * }
54
54
  * });
55
55
  *
56
56
  * // Support for autocasting within a mesh material constructor
57
- * const meshWithAutocastMaterial = Mesh.createSphere(location, {
57
+ * const meshWithAutocastMaterial = createSphere(location, {
58
58
  * material: {
59
59
  * colorTexture: {
60
60
  * url: "./image.png"
@@ -65,7 +65,7 @@ export interface MeshTextureProperties extends Partial<Pick<MeshTexture, "transp
65
65
  * // Mesh materials also support additional advanced autocasting types
66
66
  * // such as a Canvas element. In this case the canvas element will be
67
67
  * // available in the MeshTexture.data property.
68
- * const meshWithCanvasAutocastMaterial = Mesh.createSphere(location, {
68
+ * const meshWithCanvasAutocastMaterial = createSphere(location, {
69
69
  * material: {
70
70
  * colorTexture: canvasElement
71
71
  * }
@@ -87,7 +87,7 @@ export interface MeshTextureProperties extends Partial<Pick<MeshTexture, "transp
87
87
  * video.style.height = 0;
88
88
  * video.style.visibility = "hidden";
89
89
  *
90
- * const meshWithVideoMaterial = Mesh.createPlane(location, {
90
+ * const meshWithVideoMaterial = createPlane(location, {
91
91
  * material: {
92
92
  * colorTexture: { data: video }
93
93
  * }
@@ -103,11 +103,11 @@ export default class MeshTexture extends MeshTextureSuperclass {
103
103
  constructor(properties?: MeshTextureProperties);
104
104
  /**
105
105
  * A direct reference to the image or video data. The data can be an
106
- * [image element](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement),
107
- * [canvas element](https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement),
108
- * [video element](https://developer.mozilla.org/en-US/docs/Web/API/HTMLVideoElement)
109
- * or [ImageData](https://developer.mozilla.org/en-US/docs/Web/API/ImageData).
110
- * If the data is set to a [video element](https://developer.mozilla.org/en-US/docs/Web/API/HTMLVideoElement),
106
+ * [image element](https://developer.mozilla.org/docs/Web/API/HTMLImageElement),
107
+ * [canvas element](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement),
108
+ * [video element](https://developer.mozilla.org/docs/Web/API/HTMLVideoElement)
109
+ * or [ImageData](https://developer.mozilla.org/docs/Web/API/ImageData).
110
+ * If the data is set to a [video element](https://developer.mozilla.org/docs/Web/API/HTMLVideoElement),
111
111
  * the element needs to be visible in the DOM.
112
112
  * The data property is mutually exclusive with the url property, setting the data will clear the
113
113
  * url (if there is one).
@@ -12,7 +12,7 @@ import type { GeometryType } from "../../portal/jsonTypes.js";
12
12
  * Creates a new instance of an appropriate [Geometry](https://developers.arcgis.com/javascript/latest/references/core/geometry/Geometry/) class and initializes it with values from a JSON object
13
13
  * generated from an ArcGIS product. The object passed into the input `json`
14
14
  * parameter often comes from a response to a query operation in the REST API or a
15
- * [toJSON()](https://pro.arcgis.com/en/pro-app/latest/tool-reference/conversion/features-to-json.htm)
15
+ * [toJSON()](https://doc.esri.com/en/arcgis-pro/latest/tool-reference/conversion/features-to-json.html?tabs=dialog)
16
16
  * method from another ArcGIS product. See the [Using fromJSON()](https://developers.arcgis.com/javascript/latest/using-fromjson)
17
17
  * topic in the Guide for details and examples of when and how to use this function.
18
18
  *
@@ -6,11 +6,14 @@
6
6
  import type Ground from "../../Ground.js";
7
7
  import type Extent from "../Extent.js";
8
8
  import type Mesh from "../Mesh.js";
9
+ import type Point from "../Point.js";
10
+ import type Polygon from "../Polygon.js";
9
11
  import type ElevationLayer from "../../layers/ElevationLayer.js";
10
12
  import type ElevationSampler from "../../layers/support/ElevationSampler.js";
11
13
  import type { AbortOptions } from "../../core/promiseUtils.js";
12
14
  import type { MeshVertexSpaceUnion } from "../types.js";
13
- import type { CreateElevationSamplerParameters, CreateFromElevationParameters } from "./meshUtils/types.js";
15
+ import type { MeshMaterialProperties } from "./MeshMaterial.js";
16
+ import type { CreateBoxParameters, CreateCylinderParameters, CreateElevationSamplerParameters, CreateFromElevationParameters, CreateFromGLTFParameters, CreatePlaneParameters, CreateSphereParameters } from "./meshUtils/types.js";
14
17
 
15
18
  /**
16
19
  * Creates a mesh geometry by sampling elevation data from an elevation service on a regular grid.
@@ -99,4 +102,129 @@ export function merge(geometries: Mesh[]): Mesh | null | undefined;
99
102
  *
100
103
  * view.graphics.add(new Graphic({ geometry: highestPoint }));
101
104
  */
102
- export function convertVertexSpace(mesh: Mesh, targetVertexSpace: MeshVertexSpaceUnion, options?: AbortOptions): Promise<Mesh>;
105
+ export function convertVertexSpace(mesh: Mesh, targetVertexSpace: MeshVertexSpaceUnion, options?: AbortOptions): Promise<Mesh>;
106
+
107
+ /**
108
+ * Creates a mesh representing a box. The spatial reference of the resulting mesh is the same
109
+ * as the location where it is placed.
110
+ *
111
+ * #### Box UV coordinate space
112
+ *
113
+ * The box geometry will have UV coordinates generated according to the following scheme:
114
+ *
115
+ * <img src="https://developers.arcgis.com/javascript/latest/assets/references/core/geometry/mesh-box-uv.avif" width="300" height="300"/>
116
+ *
117
+ * @param location - The location bottom center of the box.
118
+ * @param parameters - Parameters to configure the box creation.
119
+ * @returns The resulting mesh.
120
+ * @since 5.1
121
+ * @example
122
+ * let mesh = meshUtils.createBox(point, {
123
+ * size: {
124
+ * width: 10,
125
+ * height: 100,
126
+ * depth: 20
127
+ * },
128
+ * material: {
129
+ * color: "green"
130
+ * }
131
+ * });
132
+ * @example
133
+ * let mesh = meshUtils.createBox(point, {
134
+ * imageFace: "top",
135
+ * material: {
136
+ * colorTexture: new MeshTexture({ url: "./url-to-image.png" })
137
+ * }
138
+ * });
139
+ */
140
+ export function createBox(location: Point, parameters?: CreateBoxParameters): Mesh;
141
+
142
+ /**
143
+ * Creates a mesh representing a sphere. The spatial reference of the resulting mesh is the same
144
+ * as the location where it is placed.
145
+ *
146
+ * #### Sphere UV coordinate space
147
+ *
148
+ * The sphere geometry will have UV coordinates generated according to the following scheme
149
+ * (example is shown for 8x8 vertices sphere):
150
+ *
151
+ * <img src="https://developers.arcgis.com/javascript/latest/assets/references/core/geometry/mesh-sphere-uv.avif" width="300" height="300"/>
152
+ *
153
+ * @param location - The location of the bottom center of the sphere.
154
+ * @param parameters - Parameters to configure the sphere creation.
155
+ * @returns The resulting mesh.
156
+ * @since 5.1
157
+ */
158
+ export function createSphere(location: Point, parameters?: CreateSphereParameters): Mesh;
159
+
160
+ /**
161
+ * Creates a mesh representing a cylinder. The spatial reference of the resulting mesh is the same
162
+ * as the location where it is placed.
163
+ *
164
+ * #### Cylinder UV coordinate space
165
+ *
166
+ * The cylinder geometry will have UV coordinates generated according to the following scheme
167
+ * (example is shown for 8 vertices cylinder):
168
+ *
169
+ * <img src="https://developers.arcgis.com/javascript/latest/assets/references/core/geometry/mesh-cylinder-uv.avif" width="300" height="300"/>
170
+ *
171
+ * @param location - The location of the bottom center of the cylinder.
172
+ * @param parameters - Parameters to configure the cylinder creation.
173
+ * @returns The resulting mesh.
174
+ * @since 5.1
175
+ */
176
+ export function createCylinder(location: Point, parameters?: CreateCylinderParameters): Mesh;
177
+
178
+ /**
179
+ * Creates a mesh representing a plane. The spatial reference of the resulting mesh is the same
180
+ * as the location where it is placed. A plane consists of two triangles and may be conveniently
181
+ * oriented at creation time.
182
+ *
183
+ * #### Plane UV coordinate space
184
+ *
185
+ * The plane geometry will have UV coordinates generated according to the following scheme:
186
+ *
187
+ * <img src="https://developers.arcgis.com/javascript/latest/assets/references/core/geometry/mesh-plane-uv.avif" width="300" height="300"/>
188
+ *
189
+ * @param location - The location of the bottom center of the plane.
190
+ * @param parameters - Parameters to configure the plane creation.
191
+ * @returns The resulting mesh.
192
+ * @since 5.1
193
+ */
194
+ export function createPlane(location: Point, parameters?: CreatePlaneParameters): Mesh;
195
+
196
+ /**
197
+ * Creates a new mesh geometry from a polygon geometry. The resulting mesh contains only
198
+ * a position vertex attribute and a single component with faces. The default shading will be
199
+ * set to `flat`. The spatial reference of the resulting mesh is the same
200
+ * as the input polygon. The resulting mesh will not contain any UV nor normal vertex attributes.
201
+ *
202
+ * @param polygon - The input polygon.
203
+ * @param parameters - Optional parameters.
204
+ * @returns A promise that resolves to a new mesh representing the triangulated polygon.
205
+ * @since 5.1
206
+ */
207
+ export function createFromPolygon(polygon: Polygon, parameters?: CreateFromPolygonParameters): Promise<Mesh>;
208
+
209
+ /**
210
+ * Creates a new mesh geometry from a glTF model referenced by the `url` parameter.
211
+ *
212
+ * The spatial reference of the resulting mesh is the same as the spatial reference of the `location` parameter. For
213
+ * more information on the supported glTF features you can read the
214
+ * [Visualizing points with 3D symbols](https://developers.arcgis.com/javascript/latest/visualizing-points-3d/) guide topic. Animations are currently unsupported.
215
+ *
216
+ * @param location - The location of the origin of the model. If the location does not
217
+ * contain a z-value, z is assumed to be `0`.
218
+ * @param url - The URL of the glTF model. The URL should point to a glTF file (.gltf or .glb) which can
219
+ * reference additional binary (.bin) and image files (.jpg, .png).
220
+ * @param parameters - Parameters to configure the mesh from glTF creation.
221
+ * @returns A promise that resolves to a mesh geometry representing the loaded
222
+ * glTF model.
223
+ * @since 5.1
224
+ */
225
+ export function createFromGLTF(location: Point, url: string, parameters?: CreateFromGLTFParameters): Promise<Mesh>;
226
+
227
+ export interface CreateFromPolygonParameters {
228
+ /** The material to be used for the mesh. */
229
+ material?: MeshMaterialProperties;
230
+ }
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import{throwIfAborted as e}from"../../core/promiseUtils.js";import t from"../Mesh.js";import{merge as r}from"./meshUtils/merge.js";async function s(t,r,s){const n=await import("./meshUtils/elevation.js");return e(s),n.create(t,r,s)}async function n(e,t){await e.load();const{create:r}=await import("./meshUtils/elevationSampler.js");return r(e,t)}function o(e){const s=r(e);return null!=s?new t(s):null}async function i(t,r,s){const{convertMeshVertexSpace:n}=await import("./meshUtils/convertMeshVertexSpace.js");return e(s),n(t,r,s)}export{i as convertVertexSpace,n as createElevationSampler,s as createFromElevation,o as merge};
2
+ import e from"../../core/Error.js";import{throwIfAborted as t,whenOrAbort as n,isPromiseLike as r}from"../../core/promiseUtils.js";import s from"../Mesh.js";import o from"./MeshComponent.js";import i from"./MeshGeoreferencedVertexSpace.js";import a from"./MeshTransform.js";import c from"./MeshVertexAttributes.js";import{selectVertexSpace as m}from"./meshVertexSpaceUtils.js";import{merge as l}from"./meshUtils/merge.js";import{Metadata as p}from"./meshUtils/Metadata.js";import{convertUnitGeometry as f,createUnitSizeSphere as u,createUnitSizeBox as w,extractSingleFaceOfBox as h,createUnitSizeCylinder as j,convertPlaneSizeParameter as d,createUnitSizePlane as v}from"./meshUtils/primitives.js";import{polygonToRenderInfoNotElevationAligned as x}from"../../views/3d/support/renderInfoUtils/polygon.js";async function M(e,n,r){const s=await import("./meshUtils/elevation.js");return t(r),s.create(e,n,r)}async function g(e,t){await e.load();const{create:n}=await import("./meshUtils/elevationSampler.js");return n(e,t)}function U(e){const t=l(e);return null!=t?new s(t):null}async function S(e,n,r){const{convertMeshVertexSpace:s}=await import("./meshUtils/convertMeshVertexSpace.js");return t(r),s(e,n,r)}function y(e,t){const n=new s(f(w(),e,t));return t?.imageFace&&"all"!==t.imageFace?h(n,t.imageFace):n}function F(e,t){return new s(f(u(t?.densificationFactor||0),e,t))}function R(e,t){return new s(f(j(t?.densificationFactor||0),e,t))}function V(e,t){const n=t?.facing??"up",r=d(n,t?.size);return new s(f(v(n),e,{...t,size:r}))}async function b(e,t){let n=x(e);r(n)&&(await n,n=x(e));const a=r(n)?null:n,m=a?.positions??[],l=a?.polygonIndices??[];return new s({vertexAttributes:new c({position:m}),components:[new o({faces:l,shading:"flat",material:t?.material??null})],spatialReference:e.spatialReference,vertexSpace:new i})}async function C(e,t,r){const{loadGLTFMesh:o}=await n(import("./meshUtils/loadGLTFMesh.js"),r);return new s((await o(e,t,r)).mesh)}function G(e,t,n){const r=n?.extent??null,{spatialReference:o}=e,i=n?.transform?.clone()??new a,c=m(e,n),l=n?.unitConversionDisabled,f={source:t,extent:r,unitConversionDisabled:l},u=new p;return u.externalSources.push(f),new s({metadata:u,transform:i,vertexSpace:c,spatialReference:o})}function T(t,n){const{spatialReference:r}=t,o=n?.transform?.clone()??new a,i=m(t,n),c=new s({transform:o,vertexSpace:i,spatialReference:r});return c.addResolvingPromise(Promise.reject(new e("mesh-incomplete","Mesh resources are not complete"))),c}export{S as convertVertexSpace,y as createBox,R as createCylinder,g as createElevationSampler,M as createFromElevation,C as createFromGLTF,b as createFromPolygon,T as createIncomplete,V as createPlane,F as createSphere,G as createWithExternalSource,U as merge};
@@ -36,7 +36,7 @@ export default class Credential extends EventedAccessor {
36
36
  /**
37
37
  * Token expiration time specified as number of milliseconds since 1 January 1970 00:00:00 UTC.
38
38
  *
39
- * @see [Date - MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date)
39
+ * @see [Date - MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Date)
40
40
  */
41
41
  accessor expires: number | null;
42
42
  /** Indicates that this credential was created to access the [ArcGIS Server Administrator REST API](https://developers.arcgis.com/rest/enterprise-administration/server/overview/). */
@@ -2,7 +2,7 @@
2
2
  * This object provides the framework and helper methods used in managing user credentials for the following resources:
3
3
  *
4
4
  * * Secured [ArcGIS.com](https://arcgis.com),
5
- * [ArcGIS Enterprise portal](https://enterprise.arcgis.com/en/portal/latest/administer/windows/what-is-portal-for-arcgis-.htm), or [ArcGIS Location Platform](https://location.arcgis.com/) resources (e.g. web maps).
5
+ * [ArcGIS Enterprise portal](https://doc.esri.com/en/arcgis-enterprise/latest/plan/what-is-portal-for-arcgis-.html), or [ArcGIS Location Platform](https://location.arcgis.com/) resources (e.g. web maps).
6
6
  * * ArcGIS Server resources secured using token-based authentication. Note that only ArcGIS Server versions 10 SP 1
7
7
  * and greater are supported.
8
8
  * If your application accesses services from different domains, it is deemed a cross-domain request and you need to setup
@@ -145,7 +145,7 @@ export default class OAuthInfo extends JSONSupport {
145
145
  accessor popupCallbackUrl: string;
146
146
  /**
147
147
  * The window features passed to
148
- * [window.open()](https://developer.mozilla.org/en-US/docs/Web/API/Window/open).
148
+ * [window.open()](https://developer.mozilla.org/docs/Web/API/Window/open).
149
149
  *
150
150
  * @default "height=490,width=800,resizable,scrollbars,status"
151
151
  */
@@ -35,7 +35,7 @@ export default class ServerInfo extends JSONSupport {
35
35
  */
36
36
  accessor hasPortal: boolean | null | undefined;
37
37
  /**
38
- * Indicates whether the [server](https://developers.arcgis.com/javascript/latest/references/core/identity/ServerInfo/#server) is an [ArcGIS Server](https://enterprise.arcgis.com/en/server/latest/get-started/windows/what-is-arcgis-for-server-.htm) instance.
38
+ * Indicates whether the [server](https://developers.arcgis.com/javascript/latest/references/core/identity/ServerInfo/#server) is an [ArcGIS Server](https://doc.esri.com/en/arcgis-enterprise/latest/plan/what-is-arcgis-server.html) instance.
39
39
  *
40
40
  * @see [IdentityManagerBase.registerServers()](https://developers.arcgis.com/javascript/latest/references/core/identity/IdentityManagerBase/#registerServers)
41
41
  * @example
@@ -56,7 +56,7 @@ export default class ServerInfo extends JSONSupport {
56
56
  /**
57
57
  * Indicates whether the server is configured to work with web tier authentication.
58
58
  *
59
- * @see [ArcGIS Server authentication tier](https://enterprise.arcgis.com/en/server/latest/administer/windows/configuring-arcgis-server-s-authentication-tier.htm)
59
+ * @see [ArcGIS Server authentication tier](https://doc.esri.com/en/arcgis-server/latest/stand-alone-server/configuring-arcgis-server-s-authentication-tier.html)
60
60
  */
61
61
  accessor webTierAuth: boolean | null | undefined;
62
62
  }
package/interfaces.d.ts CHANGED
@@ -4477,6 +4477,13 @@ declare namespace __esri {
4477
4477
  export type CustomParametersMixin = import("./layers/mixins/CustomParametersMixin.js").CustomParametersMixin;
4478
4478
  export const CustomParametersMixin: typeof import("./layers/mixins/CustomParametersMixin.js").CustomParametersMixin;
4479
4479
 
4480
+ /** @deprecated since 5.0. Refactor using \@arcgis/codemod */
4481
+ export type DataSeriesLayerProperties = import("./layers/mixins/DataSeriesLayer.js").DataSeriesLayerProperties;
4482
+
4483
+ /** @deprecated since 5.0. Refactor using \@arcgis/codemod */
4484
+ export type DataSeriesLayer = import("./layers/mixins/DataSeriesLayer.js").DataSeriesLayer;
4485
+ export const DataSeriesLayer: typeof import("./layers/mixins/DataSeriesLayer.js").DataSeriesLayer;
4486
+
4480
4487
  /** @deprecated since 5.0. Refactor using \@arcgis/codemod */
4481
4488
  export type DisplayFilteredLayerProperties = import("./layers/mixins/DisplayFilteredLayer.js").DisplayFilteredLayerProperties;
4482
4489
 
@@ -5593,6 +5600,12 @@ declare namespace __esri {
5593
5600
  export type TimeInfo = import("./layers/support/TimeInfo.js").default;
5594
5601
  export const TimeInfo: typeof import("./layers/support/TimeInfo.js").default;
5595
5602
 
5603
+ /** @deprecated since 5.0. Refactor using \@arcgis/codemod */
5604
+ export type TimeSeriesFieldTimeMappingProperties = import("./layers/support/TimeSeriesFieldTimeMapping.js").TimeSeriesFieldTimeMappingProperties;
5605
+
5606
+ /** @deprecated since 5.0. Refactor using \@arcgis/codemod */
5607
+ export type DataSeriesInfoProperties = import("./layers/support/TimeSeriesInfo.js").TimeSeriesInfoProperties;
5608
+
5596
5609
  /** @deprecated since 5.0. Refactor using \@arcgis/codemod */
5597
5610
  export type TrackInfoProperties = import("./layers/support/TrackInfo.js").TrackInfoProperties;
5598
5611
 
package/intl/number.d.ts CHANGED
@@ -9,7 +9,7 @@
9
9
  export interface NumberFormat {
10
10
  /**
11
11
  * Indicates if the number should be formatted with a thousands separator.
12
- * This is equivalent to [`useGrouping`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/NumberFormat#Parameters).
12
+ * This is equivalent to [`useGrouping`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/NumberFormat#Parameters).
13
13
  *
14
14
  * @since 5.0
15
15
  */
@@ -17,8 +17,8 @@ export interface NumberFormat {
17
17
  /**
18
18
  * Specifies the number of decimal places that should appear in the formatted number.
19
19
  * Any places beyond this value are rounded.
20
- * This is equivalent to defining [`minimumFractionDigits`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/NumberFormat#Parameters)
21
- * and [`maximumFractionDigits`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/NumberFormat#Parameters).
20
+ * This is equivalent to defining [`minimumFractionDigits`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/NumberFormat#Parameters)
21
+ * and [`maximumFractionDigits`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/NumberFormat#Parameters).
22
22
  *
23
23
  * @since 5.0
24
24
  */
@@ -33,7 +33,7 @@ export interface DateTimeFormatOptions {
33
33
  */
34
34
  type: "date";
35
35
  /**
36
- * The date format options for the [Intl.DateTimeFormat](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat) object.
36
+ * The date format options for the [Intl.DateTimeFormat](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat) object.
37
37
  *
38
38
  * @since 5.0
39
39
  */
@@ -107,7 +107,7 @@ export interface NumberFormatOptions {
107
107
  */
108
108
  type: "number";
109
109
  /**
110
- * The Intl number format options for the [Intl.NumberFormat](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/NumberFormat) object.
110
+ * The Intl number format options for the [Intl.NumberFormat](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/NumberFormat) object.
111
111
  *
112
112
  * @since 5.0
113
113
  */