@arcgis/core 5.1.0-next.120 → 5.1.0-next.121

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 (308) 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 +5 -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/{d1ac98f48bb6d43d97c8.js → 06858a0e1033e4a95337.js} +2 -2
  9. package/assets/esri/core/workers/chunks/{08feff1d2f67cbfdc707.js → 09a4139fc6d069ab6928.js} +1 -1
  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/19dcae83be0fc0aced02.js +1 -0
  13. package/assets/esri/core/workers/chunks/{e246c3663f2645248f17.js → 22ac25e8f730218d7e69.js} +22 -20
  14. package/assets/esri/core/workers/chunks/{c27cb2a83a1d2e004501.js → 238478cfe493fd4a6100.js} +1 -1
  15. package/assets/esri/core/workers/chunks/{7ed5b669010db58845f8.js → 294f2803aac000c99693.js} +1 -1
  16. package/assets/esri/core/workers/chunks/{093f27e4e4781870b431.js → 297ae764445e6f73a5ea.js} +1 -1
  17. package/assets/esri/core/workers/chunks/2b36a54927f5a7281da3.js +1 -0
  18. package/assets/esri/core/workers/chunks/{be0eab592db0e651b023.js → 2b814bb51704a5b4fdc2.js} +6 -6
  19. package/assets/esri/core/workers/chunks/3172d7fc23787a287191.js +1 -0
  20. package/assets/esri/core/workers/chunks/{eedee0af459e6b8a6116.js → 33e0130e6a40fc768978.js} +1 -1
  21. package/assets/esri/core/workers/chunks/343ba5ea459e96ba79c6.js +1 -0
  22. package/assets/esri/core/workers/chunks/{a2159df718a7f2f59271.js → 38a2f34661563c7c29c1.js} +1 -1
  23. package/assets/esri/core/workers/chunks/3a5c1c501808352857bd.js +1 -0
  24. package/assets/esri/core/workers/chunks/{24eaf1349ffe10e616e6.js → 40c4e14e7bb505ef10a3.js} +1 -1
  25. package/assets/esri/core/workers/chunks/{106fc271e0b9300ef97c.js → 4193c0cca441be05c80e.js} +1 -1
  26. package/assets/esri/core/workers/chunks/485d20152495c27b8074.js +1 -0
  27. package/assets/esri/core/workers/chunks/{16b90d8f628a412ba4ba.js → 4894997bfa438f66da36.js} +1 -1
  28. package/assets/esri/core/workers/chunks/53d165b4f30fd64e5d8a.js +1 -0
  29. package/assets/esri/core/workers/chunks/{c83fea0d0ebd0d8e43fd.js → 542f5469f7b42026b24f.js} +1 -1
  30. package/assets/esri/core/workers/chunks/5553279998ae07b60f5f.js +1 -0
  31. package/assets/esri/core/workers/chunks/597eb2e040c86cc3c4fc.js +1 -0
  32. package/assets/esri/core/workers/chunks/{cda99b543a0e1979346c.js → 5cb1b950249d651f3837.js} +1 -1
  33. package/assets/esri/core/workers/chunks/{cc479daacd2cf715baa8.js → 62fc3c367f736c73b0d7.js} +1 -1
  34. package/assets/esri/core/workers/chunks/{b1f1271434af302938e8.js → 643c33a98f2d30a92001.js} +1 -1
  35. package/assets/esri/core/workers/chunks/{1c1515e020e32e177b54.js → 6a5356ebed70e0f8f979.js} +1 -1
  36. package/assets/esri/core/workers/chunks/77a4f6f224d7ca4b69f4.js +1 -0
  37. package/assets/esri/core/workers/chunks/{6637f19b82555738a1d5.js → 78aa5bc6af2758da20d0.js} +1 -1
  38. package/assets/esri/core/workers/chunks/{8c5a41ae68775bac3446.js → 7f5ecb67fa459f92d067.js} +1 -1
  39. package/assets/esri/core/workers/chunks/{153dc2a0b08a0e44a881.js → 8419934bec7723b0feef.js} +1 -1
  40. package/assets/esri/core/workers/chunks/866709e1e55796999f3c.js +1 -0
  41. package/assets/esri/core/workers/chunks/{14c6419568d8a7a15cd6.js → 92ab5886aa2d8b9b179f.js} +1 -1
  42. package/assets/esri/core/workers/chunks/{4e676e888a935c507d90.js → 93d4bda22bde33fafa57.js} +1 -1
  43. package/assets/esri/core/workers/chunks/{1765042635084f75d2b3.js → 9b676606bf839b7aa433.js} +1 -1
  44. package/assets/esri/core/workers/chunks/{45a8d80f1328b0b4b055.js → a261f4c22224511fdfff.js} +1 -1
  45. package/assets/esri/core/workers/chunks/{ea8f642b1db933d2c26f.js → a2ac139d0975085279a6.js} +1 -1
  46. package/assets/esri/core/workers/chunks/a8ec5b85c2fa6fb4f391.js +1 -0
  47. package/assets/esri/core/workers/chunks/aef0ac417b282a90d214.js +640 -0
  48. package/assets/esri/core/workers/chunks/{6af77529c977d034d287.js → b23009d9f8eb7c20ce45.js} +1 -1
  49. package/assets/esri/core/workers/chunks/{1f55d60d3adc31283296.js → b79428c5093614174e76.js} +1 -1
  50. package/assets/esri/core/workers/chunks/b9bdb1f05e904c3655e4.js +1 -0
  51. package/assets/esri/core/workers/chunks/c4fc85281ca83af7abaf.js +1 -0
  52. package/assets/esri/core/workers/chunks/c983e5ce0ff952b65d7f.js +1 -0
  53. package/assets/esri/core/workers/chunks/{f79bd469b25099a31274.js → ca6907e14b1dde4d5c07.js} +1 -1
  54. package/assets/esri/core/workers/chunks/{fbb23db01f3cf629d32e.js → d05088622cf232fe5dc3.js} +1 -1
  55. package/assets/esri/core/workers/chunks/{e9dcc3e9dbafe9bbed84.js → d21480b078ec9680d4c4.js} +1 -1
  56. package/assets/esri/core/workers/chunks/{8f94c90fdb0333da2d0f.js → d427d8091f18aa7b3867.js} +1 -1
  57. package/assets/esri/core/workers/chunks/{fea74a2bbb67d381e837.js → de3d8f83f3ea09b315a0.js} +1 -1
  58. package/assets/esri/core/workers/chunks/df412ef1b6dff43970fd.js +1 -0
  59. package/assets/esri/core/workers/chunks/e33d2ede6c9f1527d51b.js +1 -0
  60. package/assets/esri/core/workers/chunks/{50dc9893e13396f5e35d.js → e69d03917e28c8213b27.js} +2 -2
  61. package/assets/esri/core/workers/chunks/{49f6c9e9980b8c624fd7.js → f02fe24177e56a7e42b2.js} +1 -1
  62. package/assets/esri/core/workers/chunks/{319ff04282dc8ae38b56.js → fde12f5b7989c0fac67b.js} +2 -2
  63. package/assets/esri/themes/base/widgets/_BatchAttributeForm.scss +38 -8
  64. package/assets/esri/themes/base/widgets/_DatePicker.scss +1 -1
  65. package/assets/esri/themes/dark/main.css +1 -1
  66. package/assets/esri/themes/light/main.css +1 -1
  67. package/assets/esri/themes/light/view.css +1 -1
  68. package/chunks/RealisticTree.glsl.js +17 -15
  69. package/config.d.ts +2 -2
  70. package/config.js +1 -1
  71. package/core/Collection.d.ts +25 -25
  72. package/core/Error.d.ts +1 -1
  73. package/core/JSONSupport.d.ts +1 -1
  74. package/core/promiseUtils.d.ts +3 -3
  75. package/core/reactiveUtils.d.ts +4 -4
  76. package/core/sql/WhereClause.d.ts +1 -1
  77. package/core/timeUtils.d.ts +1 -1
  78. package/core/workers/Connection.d.ts +9 -9
  79. package/core/workers.d.ts +1 -1
  80. package/editing/types.d.ts +3 -3
  81. package/geometry/Mesh.d.ts +9 -2
  82. package/geometry/Mesh.js +1 -1
  83. package/geometry/support/MeshMaterial.d.ts +5 -5
  84. package/geometry/support/MeshTexture.d.ts +19 -19
  85. package/geometry/support/jsonUtils.d.ts +1 -1
  86. package/geometry/support/meshUtils.d.ts +130 -2
  87. package/geometry/support/meshUtils.js +1 -1
  88. package/identity/Credential.d.ts +1 -1
  89. package/identity/IdentityManager.d.ts +1 -1
  90. package/identity/OAuthInfo.d.ts +1 -1
  91. package/identity/ServerInfo.d.ts +2 -2
  92. package/interfaces.d.ts +16 -0
  93. package/intl/number.d.ts +3 -3
  94. package/intl/substitute.d.ts +2 -2
  95. package/intl.d.ts +28 -28
  96. package/kernel.js +1 -1
  97. package/layers/AnnotationLayer.js +1 -1
  98. package/layers/BaseDynamicLayer.d.ts +5 -5
  99. package/layers/BaseTileLayer.d.ts +4 -4
  100. package/layers/BuildingSceneLayer.d.ts +1 -1
  101. package/layers/CSVLayer.d.ts +1 -1
  102. package/layers/DimensionFeatureLayer.js +1 -1
  103. package/layers/FeatureLayer.d.ts +7 -6
  104. package/layers/FeatureLayer.js +1 -1
  105. package/layers/GeoJSONLayer.d.ts +1 -1
  106. package/layers/MapImageLayer.d.ts +5 -5
  107. package/layers/MediaLayer.d.ts +2 -2
  108. package/layers/OrientedImageryLayer.d.ts +1 -1
  109. package/layers/SceneLayer.d.ts +1 -1
  110. package/layers/SceneLayer.js +1 -1
  111. package/layers/StreamLayer.d.ts +1 -1
  112. package/layers/SubtypeGroupLayer.d.ts +1 -1
  113. package/layers/TileLayer.d.ts +2 -2
  114. package/layers/VideoLayer.d.ts +8 -2
  115. package/layers/VideoLayer.js +1 -1
  116. package/layers/VoxelLayer.d.ts +4 -4
  117. package/layers/WCSLayer.d.ts +2 -2
  118. package/layers/WebTileLayer.d.ts +1 -1
  119. package/layers/graphics/sources/FeatureLayerSource.js +1 -1
  120. package/layers/mixins/BlendLayer.d.ts +1 -1
  121. package/layers/mixins/DataSeriesLayer.d.ts +161 -0
  122. package/layers/mixins/DataSeriesLayer.js +2 -0
  123. package/layers/mixins/FeatureLayerBase.d.ts +3 -3
  124. package/layers/orientedImagery/core/coverageUtils.js +1 -1
  125. package/layers/support/DateTimeFieldFormat.d.ts +10 -10
  126. package/layers/support/FeatureEffect.d.ts +22 -22
  127. package/layers/support/Field.d.ts +2 -2
  128. package/layers/support/ImageElement.d.ts +1 -1
  129. package/layers/support/NumberFieldFormat.d.ts +5 -5
  130. package/layers/support/StreamConnection.d.ts +1 -1
  131. package/layers/support/Sublayer.d.ts +2 -2
  132. package/layers/support/TimeSeriesFieldTimeMapping.d.ts +30 -0
  133. package/layers/support/TimeSeriesFieldTimeMapping.js +2 -0
  134. package/layers/support/TimeSeriesInfo.d.ts +149 -0
  135. package/layers/support/TimeSeriesInfo.js +2 -0
  136. package/layers/support/VideoElement.d.ts +1 -1
  137. package/layers/support/dataSeriesUtils.d.ts +18 -0
  138. package/layers/support/dataSeriesUtils.js +2 -0
  139. package/layers/support/kmlUtils.js +1 -1
  140. package/layers/support/timeSeriesUtils.d.ts +27 -0
  141. package/layers/support/timeSeriesUtils.js +2 -0
  142. package/layers/types.d.ts +1 -1
  143. package/layers/video/types.d.ts +61 -1
  144. package/linkChart/ChronologicalLayoutSettings.d.ts +1 -1
  145. package/networks/CircuitManager.d.ts +1 -1
  146. package/networks/Network.d.ts +1 -1
  147. package/networks/UnitIdentifierManager.d.ts +1 -1
  148. package/networks/support/NamedTraceConfiguration.d.ts +1 -1
  149. package/networks/support/TraceConfiguration.d.ts +2 -2
  150. package/networks/support/UNTraceConfiguration.d.ts +3 -3
  151. package/networks/support/jsonTypes.d.ts +7 -1
  152. package/networks/support/utils.js +1 -1
  153. package/package.json +2 -2
  154. package/popup/content/CustomContent.d.ts +1 -1
  155. package/portal/Portal.d.ts +2 -2
  156. package/portal/jsonTypes.d.ts +2 -2
  157. package/renderers/support/AuthoringInfo.d.ts +14 -1
  158. package/renderers/support/AuthoringInfo.js +1 -1
  159. package/renderers/support/AuthoringInfoVisualVariable.d.ts +14 -1
  160. package/renderers/support/AuthoringInfoVisualVariable.js +1 -1
  161. package/renderers/support/jsonUtils.d.ts +1 -1
  162. package/renderers/support/utils.d.ts +1 -1
  163. package/renderers/visualVariables/RotationVariable.d.ts +16 -1
  164. package/renderers/visualVariables/RotationVariable.js +1 -1
  165. package/request/types.d.ts +23 -23
  166. package/rest/geometryService.d.ts +1 -1
  167. package/rest/knowledgeGraph/GraphApplyEdits.d.ts +1 -1
  168. package/rest/knowledgeGraph/GraphQueryStreamingResult.d.ts +2 -2
  169. package/rest/knowledgeGraphService.d.ts +13 -13
  170. package/rest/layerSources/DynamicDataLayer.d.ts +1 -1
  171. package/rest/print.d.ts +1 -1
  172. package/rest/support/ClosestFacilityParameters.d.ts +6 -6
  173. package/rest/support/LastMileDeliveryParameters.d.ts +4 -4
  174. package/rest/support/LocationToAddressParameters.d.ts +1 -1
  175. package/rest/support/PrintTemplate.d.ts +5 -5
  176. package/rest/support/Query.d.ts +2 -2
  177. package/rest/support/RouteParameters.d.ts +5 -5
  178. package/rest/support/ServiceAreaParameters.d.ts +6 -6
  179. package/rest/support/meshFeatureSet.js +1 -1
  180. package/smartMapping/renderers/color.d.ts +40 -0
  181. package/smartMapping/renderers/color.js +1 -1
  182. package/smartMapping/renderers/opacity.d.ts +8 -0
  183. package/smartMapping/renderers/opacity.js +1 -1
  184. package/smartMapping/renderers/size.d.ts +38 -0
  185. package/smartMapping/renderers/size.js +1 -1
  186. package/smartMapping/renderers/support/regenerateUtils.js +1 -1
  187. package/smartMapping/renderers/support/timeSeriesUtils.js +2 -0
  188. package/smartMapping/renderers/type.d.ts +20 -1
  189. package/smartMapping/renderers/type.js +1 -1
  190. package/smartMapping/renderers/univariateColorSize.d.ts +19 -0
  191. package/smartMapping/renderers/univariateColorSize.js +1 -1
  192. package/support/revision.js +1 -1
  193. package/support/tests/setupServiceMocksMesh.js +1 -1
  194. package/support/timeUtils.d.ts +3 -3
  195. package/symbols/Font.d.ts +7 -7
  196. package/symbols/WebStyleSymbol.d.ts +11 -11
  197. package/symbols/cim/effects/EffectControlMeasureLine.js +1 -1
  198. package/symbols/support/Symbol3DEmissive.d.ts +8 -2
  199. package/symbols/support/jsonUtils.d.ts +1 -1
  200. package/time/TimeExtent.d.ts +2 -2
  201. package/versionManagement/VersionManagementService.d.ts +8 -8
  202. package/versionManagement/VersionManager.d.ts +13 -3
  203. package/versionManagement/VersioningState.d.ts +4 -4
  204. package/views/2d/engine/webgl/shaders/sources/shaderRepository.js +1 -1
  205. package/views/2d/layers/BaseLayerView2D.d.ts +1 -1
  206. package/views/2d/layers/BaseLayerViewGL2D.d.ts +3 -3
  207. package/views/2d/layers/GeoRSSLayerView2D.js +1 -1
  208. package/views/2d/layers/GraphicsLayerView2D.js +1 -1
  209. package/views/2d/layers/ImageryLayerView2D.js +1 -1
  210. package/views/2d/layers/ImageryTileLayerView2D.js +1 -1
  211. package/views/2d/layers/KMLLayerView2D.js +1 -1
  212. package/views/2d/layers/MapNotesLayerView2D.js +1 -1
  213. package/views/2d/layers/MediaLayerView2D.js +1 -1
  214. package/views/2d/layers/RouteLayerView2D.js +1 -1
  215. package/views/2d/support/hitTestUtils.js +1 -1
  216. package/views/3d/glTF/internal/resourceUtils.js +1 -1
  217. package/views/3d/layers/GaussianSplatLayerView3D.js +1 -1
  218. package/views/3d/layers/graphics/Graphics3DMeshFillSymbolLayer.js +1 -1
  219. package/views/3d/layers/graphics/Graphics3DSymbolLayer.js +1 -1
  220. package/views/3d/webgl/RenderNode.d.ts +7 -7
  221. package/views/3d/webgl-engine/effects/glow/Glow.js +1 -1
  222. package/views/3d/webgl-engine/materials/DefaultMaterial.js +1 -1
  223. package/views/3d/webgl-engine/shaders/RealisticTree.glsl.js +1 -1
  224. package/views/BreakpointsOwner.d.ts +1 -1
  225. package/views/DOMContainer.d.ts +6 -6
  226. package/views/Magnifier.d.ts +1 -1
  227. package/views/MapView.d.ts +1 -1
  228. package/views/SceneView.d.ts +2 -2
  229. package/views/Viewport2DMixin.d.ts +1 -1
  230. package/views/input/gamepad/GamepadInputDevice.d.ts +1 -1
  231. package/views/input/types.d.ts +15 -15
  232. package/views/navigation/Navigation.d.ts +1 -1
  233. package/views/support/WebAssemblyRequirements.js +1 -1
  234. package/views/types.d.ts +4 -4
  235. package/webscene/Glow.d.ts +0 -4
  236. package/widgets/BasemapGallery.d.ts +1 -1
  237. package/widgets/BasemapLayerList.d.ts +1 -1
  238. package/widgets/BatchAttributeForm/attachmentUtils.d.ts +14 -0
  239. package/widgets/BatchAttributeForm/attachmentUtils.js +1 -1
  240. package/widgets/BatchAttributeForm/css.js +1 -1
  241. package/widgets/BatchAttributeForm/inputs/AttachmentElementInput.d.ts +6 -0
  242. package/widgets/BatchAttributeForm/inputs/AttachmentElementInput.js +1 -1
  243. package/widgets/BatchAttributeForm/inputs/support/attachmentValidationCriteriaState.d.ts +5 -0
  244. package/widgets/BatchAttributeForm.d.ts +1 -1
  245. package/widgets/BatchAttributeForm.js +1 -1
  246. package/widgets/Bookmarks.d.ts +1 -1
  247. package/widgets/BuildingExplorer.d.ts +1 -1
  248. package/widgets/CoordinateConversion/CoordinateConversionViewModel.d.ts +2 -2
  249. package/widgets/CoordinateConversion/CoordinateConversionViewModel.js +1 -1
  250. package/widgets/CoordinateConversion.d.ts +2 -2
  251. package/widgets/Daylight.d.ts +1 -1
  252. package/widgets/Directions.d.ts +1 -1
  253. package/widgets/Editor.d.ts +1 -1
  254. package/widgets/Feature.d.ts +1 -1
  255. package/widgets/FeatureForm.d.ts +1 -1
  256. package/widgets/FeatureTable/Grid/Column.d.ts +1 -1
  257. package/widgets/FeatureTable/support/ColumnTemplateBase.d.ts +1 -1
  258. package/widgets/FeatureTemplates.d.ts +1 -1
  259. package/widgets/FloorFilter.d.ts +1 -1
  260. package/widgets/Fullscreen/FullscreenViewModel.d.ts +3 -3
  261. package/widgets/Fullscreen/FullscreenViewModel.js +1 -1
  262. package/widgets/Fullscreen.d.ts +3 -3
  263. package/widgets/LayerList/ListItemPanel.d.ts +5 -5
  264. package/widgets/Legend.d.ts +1 -1
  265. package/widgets/Locate/LocateViewModel.d.ts +2 -2
  266. package/widgets/Locate.d.ts +1 -1
  267. package/widgets/PanoramicViewer/utils.js +1 -1
  268. package/widgets/Popup.d.ts +1 -1
  269. package/widgets/Print/PrintViewModel.d.ts +2 -2
  270. package/widgets/Print/TemplateOptions.d.ts +4 -4
  271. package/widgets/Print.d.ts +6 -6
  272. package/widgets/Search/SearchViewModel.d.ts +5 -5
  273. package/widgets/Search.d.ts +4 -4
  274. package/widgets/ShadowCast.d.ts +1 -1
  275. package/widgets/Sketch/SketchViewModel.d.ts +1 -1
  276. package/widgets/Slice.d.ts +1 -1
  277. package/widgets/TableList/ListItemPanel.d.ts +5 -5
  278. package/widgets/Track/TrackViewModel.d.ts +3 -3
  279. package/widgets/Track.d.ts +3 -3
  280. package/widgets/UtilityNetworkTrace.d.ts +1 -1
  281. package/widgets/VersionManagement/VersionManagementViewModel.d.ts +2 -2
  282. package/widgets/VideoPlayer/VideoPlayerViewModel.d.ts +7 -1
  283. package/widgets/VideoPlayer/VideoPlayerViewModel.js +1 -1
  284. package/widgets/Weather.d.ts +1 -1
  285. package/widgets/Widget.d.ts +1 -1
  286. package/widgets/support/forms/formUtils.js +1 -1
  287. package/widgets/support/types.d.ts +1 -1
  288. package/widgets/support/widget.d.ts +6 -6
  289. package/assets/esri/core/workers/chunks/2bd334f9ab89334df713.js +0 -1
  290. package/assets/esri/core/workers/chunks/3a6678ee9990d7e83e15.js +0 -1
  291. package/assets/esri/core/workers/chunks/3b3986276e70297d573b.js +0 -1
  292. package/assets/esri/core/workers/chunks/46fbd519cc1a37923bfc.js +0 -1
  293. package/assets/esri/core/workers/chunks/4ef53455c8bc6efee80e.js +0 -1
  294. package/assets/esri/core/workers/chunks/51ee6102f5f4840a5b47.js +0 -1
  295. package/assets/esri/core/workers/chunks/58994b6bfcda5f2ada80.js +0 -1
  296. package/assets/esri/core/workers/chunks/6db274f6767102a39021.js +0 -1
  297. package/assets/esri/core/workers/chunks/77769663cd712822d33e.js +0 -1
  298. package/assets/esri/core/workers/chunks/b08a1255dacf6cfcf139.js +0 -640
  299. package/assets/esri/core/workers/chunks/b098469e0010a6b44df9.js +0 -1
  300. package/assets/esri/core/workers/chunks/ca1b0cb14ea9ae1bf2a3.js +0 -1
  301. package/assets/esri/core/workers/chunks/ca4245414d8ecd217f9d.js +0 -1
  302. package/assets/esri/core/workers/chunks/d3af51a6d9014ff46170.js +0 -1
  303. package/assets/esri/core/workers/chunks/d561dc933d8fe1672d85.js +0 -1
  304. package/assets/esri/core/workers/chunks/e38836bfcc7a15a2fd1f.js +0 -1
  305. package/assets/esri/core/workers/chunks/eabd4a78221b7e733793.js +0 -1
  306. package/assets/esri/core/workers/chunks/f05932aea4eb267cba4d.js +0 -1
  307. /package/assets/esri/core/workers/chunks/{50dc9893e13396f5e35d.js.LICENSE.txt → e69d03917e28c8213b27.js.LICENSE.txt} +0 -0
  308. /package/assets/esri/core/workers/chunks/{319ff04282dc8ae38b56.js.LICENSE.txt → fde12f5b7989c0fac67b.js.LICENSE.txt} +0 -0
@@ -0,0 +1,149 @@
1
+ import type TimeSeriesFieldTimeMapping from "./TimeSeriesFieldTimeMapping.js";
2
+ import type TimeExtent from "../../time/TimeExtent.js";
3
+ import type { ClonableMixin } from "../../core/Clonable.js";
4
+ import type { JSONSupport } from "../../core/JSONSupport.js";
5
+ import type { TimeSeriesFieldTimeMappingProperties } from "./TimeSeriesFieldTimeMapping.js";
6
+ import type { TimeExtentProperties } from "../../time/TimeExtent.js";
7
+
8
+ /** @since 5.1 */
9
+ export interface TimeSeriesInfoProperties extends Partial<Pick<TimeSeriesInfo, "name" | "timeInterval" | "timeIntervalUnits" | "timeValueUnits" | "title">> {
10
+ /** The mapping between field names and time values for the time series configuration. */
11
+ fieldTimeMappings?: TimeSeriesFieldTimeMappingProperties[] | null;
12
+ /**
13
+ * Represents the time extent for the full list of fields used in the time series fields configuration.
14
+ * This is used for setting the bounds of the time slider.
15
+ */
16
+ timeExtent?: TimeExtentProperties | null;
17
+ }
18
+
19
+ /**
20
+ * A time series describes a series of fields that represent a sequence of related data points over
21
+ * time or other dimensions.
22
+ *
23
+ * This style of visualization works best with features whose positions or geographic shapes don't change over time.
24
+ * This requires the data to be structured so that two or more fields contain data values for the same attribute at
25
+ * different points in time. Those fields must be either string or number data types, and their names should clearly
26
+ * indicate the time period represented by the data (e.g. `temperature_Jan2020`, `temperature_Feb2020`, etc.). Web map
27
+ * authoring applications can use the information in the time series fields configuration to generate
28
+ * [Arcade expressions](https://developers.arcgis.com/javascript/latest/arcade/)
29
+ * that reference the fields in the time series, allowing the layer's renderer, labels, and/or popups to reflect an attribute's value relative
30
+ * to the map's current time.
31
+ *
32
+ * @example
33
+ * layer.dataSeriesInfos = [{
34
+ * type: "time-series-fields",
35
+ * name: "ts0",
36
+ * title: "U.S. National Park Annual Visitation Numbers (10 year increments, 1910-2020)",
37
+ * fieldTimeMappings: [
38
+ * {
39
+ * fieldName: "F1910",
40
+ * timeValue: "1910"
41
+ * },
42
+ * {
43
+ * fieldName: "F1920",
44
+ * timeValue: "1920"
45
+ * },
46
+ * {
47
+ * fieldName: "F1930",
48
+ * timeValue: "1930"
49
+ * },
50
+ * {
51
+ * fieldName: "F1940",
52
+ * timeValue: "1940"
53
+ * },
54
+ * {
55
+ * fieldName: "F1950",
56
+ * timeValue: "1950"
57
+ * },
58
+ * {
59
+ * fieldName: "F1960",
60
+ * timeValue: "1960"
61
+ * },
62
+ * {
63
+ * fieldName: "F1970",
64
+ * timeValue: "1970"
65
+ * },
66
+ * {
67
+ * fieldName: "F1980",
68
+ * timeValue: "1980"
69
+ * },
70
+ * {
71
+ * fieldName: "F1990",
72
+ * timeValue: "1990"
73
+ * },
74
+ * {
75
+ * fieldName: "F2000",
76
+ * timeValue: "2000"
77
+ * },
78
+ * {
79
+ * fieldName: "F2010",
80
+ * timeValue: "2010"
81
+ * },
82
+ * {
83
+ * fieldName: "F2020",
84
+ * timeValue: "2020"
85
+ * }
86
+ * ],
87
+ * timeInterval: 1,
88
+ * timeValueUnits: "years",
89
+ * timeIntervalUnits: "decades",
90
+ * timeExtent: {
91
+ * start: new Date("1910-01-01"),
92
+ * end: new Date("2020-01-01")
93
+ * }
94
+ * }];
95
+ * @since 5.1
96
+ */
97
+ export default class TimeSeriesInfo extends TimeSeriesInfoSuperclass {
98
+ constructor(properties?: TimeSeriesInfoProperties);
99
+ /** The mapping between field names and time values for the time series configuration. */
100
+ get fieldTimeMappings(): TimeSeriesFieldTimeMapping[] | null | undefined;
101
+ set fieldTimeMappings(value: TimeSeriesFieldTimeMappingProperties[] | null | undefined);
102
+ /**
103
+ * The unique identifier for the time series fields configuration. This will likely be generated
104
+ * by client applications and used to reference the time series within the authoringInfo
105
+ * property of the renderer and in labels and popups.
106
+ */
107
+ accessor name: string | null | undefined;
108
+ /**
109
+ * Represents the time extent for the full list of fields used in the time series fields configuration.
110
+ * This is used for setting the bounds of the time slider.
111
+ */
112
+ get timeExtent(): TimeExtent | null | undefined;
113
+ set timeExtent(value: TimeExtentProperties | null | undefined);
114
+ /**
115
+ * The interval of time between each field in the time series. For example, if the fields in the time series
116
+ * included `temperature_Jan2020`, `temperature_Feb2020`, `temperature_Mar2020`, etc., the time interval would
117
+ * be `1` and the time interval units would be `months`.
118
+ */
119
+ accessor timeInterval: number | null | undefined;
120
+ /**
121
+ * Temporal unit of measure for timeInterval. For example, if the fields in the time series included `temperature_Jan2020`,
122
+ * `temperature_Jan2021`, `temperature_Jan2022`, etc., the time interval would be `1` and the time interval units would be `years`.
123
+ */
124
+ accessor timeIntervalUnits: "seconds" | "minutes" | "hours" | "days" | "weeks" | "months" | "years" | "decades" | "centuries" | null | undefined;
125
+ /**
126
+ * Temporal unit of measure for timeValue (specified in fieldTimeMappings). For example, if the fields in the time
127
+ * series included `temperature_Jan2020`, `temperature_Jan2021`, `temperature_Jan2022`, etc. the time value unit
128
+ * would be `month` to reflect each field's relevance over a singular month.
129
+ */
130
+ accessor timeValueUnits: "days" | "hours" | "minutes" | "months" | "seconds" | "years" | null | undefined;
131
+ /**
132
+ * The title of the time series configuration. This is a user-friendly name that can be used in the UI of
133
+ * client applications to refer to the specific time series.
134
+ */
135
+ accessor title: string | null | undefined;
136
+ /**
137
+ * Specifies the type of data series info. This is used by client applications to determine how to use
138
+ * the data series info configuration to generate expressions for renderers, labels, popups, charts,
139
+ * or other representations of the data for display in the web map. For time series fields, the
140
+ * value of this property must be `time-series-fields`.
141
+ *
142
+ * @default "time-series-fields"
143
+ */
144
+ get type(): "time-series-fields";
145
+ }
146
+ declare const TimeSeriesInfoSuperclass: typeof JSONSupport & typeof ClonableMixin
147
+
148
+ /** Type alias for [TimeSeriesInfo](https://developers.arcgis.com/javascript/latest/references/core/layers/support/TimeSeriesInfo/). */
149
+ export type DataSeriesInfo = TimeSeriesInfo;
@@ -0,0 +1,2 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
+ import{__decorate as e}from"tslib";import{ClonableMixin as t}from"../../core/Clonable.js";import{JSONSupport as i}from"../../core/JSONSupport.js";import{property as r,subclass as o}from"../../core/accessorSupport/decorators.js";import s from"./TimeSeriesFieldTimeMapping.js";import p from"../../time/TimeExtent.js";let n=class extends(t(i)){constructor(e){super(e),this.name=null,this.fieldTimeMappings=null,this.timeExtent=null,this.timeInterval=null,this.timeIntervalUnits=null,this.timeValueUnits=null,this.title=null,this.type="time-series-fields"}};e([r({type:String,json:{write:{isRequired:!0}}})],n.prototype,"name",void 0),e([r({type:[s],json:{write:{isRequired:!0}}})],n.prototype,"fieldTimeMappings",void 0),e([r({type:p,json:{write:!0}})],n.prototype,"timeExtent",void 0),e([r({type:Number,json:{write:{isRequired:!0}}})],n.prototype,"timeInterval",void 0),e([r({type:String,json:{write:{isRequired:!0}}})],n.prototype,"timeIntervalUnits",void 0),e([r({type:String,json:{write:{isRequired:!0}}})],n.prototype,"timeValueUnits",void 0),e([r({type:String,json:{write:!0}})],n.prototype,"title",void 0),e([r({type:String,readOnly:!0,json:{write:{isRequired:!0}}})],n.prototype,"type",void 0),n=e([o("esri.layers.support.TimeSeriesInfo")],n);export{n as default};
@@ -6,7 +6,7 @@ export interface VideoElementProperties extends MediaElementBaseProperties, Part
6
6
 
7
7
  /**
8
8
  * Represents a video element referenced in the MediaLayer's [MediaLayer.source](https://developers.arcgis.com/javascript/latest/references/core/layers/MediaLayer/#source).
9
- * MediaLayer can display videos that are supported by web browsers. Refer to the [common codecs](https://developer.mozilla.org/en-US/docs/Web/Media/Formats/Video_codecs) document for supported video types.
9
+ * MediaLayer can display videos that are supported by web browsers. Refer to the [common codecs](https://developer.mozilla.org/docs/Web/Media/Formats/Video_codecs) document for supported video types.
10
10
  *
11
11
  * Coordinates of the image and video elements can be specified in any spatial reference and are projected to the view's [spatial reference](https://developers.arcgis.com/javascript/latest/references/core/views/MapView/#spatialReference).
12
12
  * The content is stretched linearly between the coordinates, therefore it's recommended for the image or video to match the view's spatial reference to align correctly, especially for content
@@ -0,0 +1,18 @@
1
+ /**
2
+ * This module provides utility functions for resolving data series support on layers,
3
+ * including looking up a data series by name.
4
+ *
5
+ * @since 5.1
6
+ */
7
+ import type DataSeriesInfo from "./TimeSeriesInfo.js";
8
+ import type { FeatureLikeLayerOrAdapter } from "../../smartMapping/support/adapters/types.js";
9
+
10
+ /**
11
+ * Returns the data series definition from a layer based on its name.
12
+ *
13
+ * @param layer - The layer or adapter to inspect.
14
+ * @param dataSeriesName - The name of the data series to resolve.
15
+ * @returns The matching data series definition, if found.
16
+ * @since 5.1
17
+ */
18
+ export function getDataSeriesInfo(layer: FeatureLikeLayerOrAdapter, dataSeriesName: string | undefined): DataSeriesInfo | undefined;
@@ -0,0 +1,2 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
+ import{createLayerAdapter as r}from"../../smartMapping/support/adapters/support/layerUtils.js";function t(t){const e=r(t)?.layer??t;return n(e)?e:null}function n(r){return"type"in r&&"feature"===r.type}function e(r,n){if(!n)return;const e=t(r);if(!e)return;return(e.dataSeriesInfos??[]).find(r=>r.name===n)}export{e as getDataSeriesInfo,t as getSourceLayer,n as isDataSeriesLayer};
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import e from"../../config.js";import{id as o}from"../../kernel.js";import t from"../../PopupTemplate.js";import r from"../../request.js";import{clone as s}from"../../core/lang.js";import{addQueryParameters as n}from"../../core/urlUtils.js";import i from"../../geometry/SpatialReference.js";import{create as f,negativeInfinity as a,expandWithAABB as l,equals as u}from"../../geometry/support/aaBoundingBox.js";import{getBoundsXYZ as m}from"../../geometry/support/boundsUtils.js";import{fromJSON as p}from"../../renderers/support/jsonUtils.js";import y from"../../rest/support/FeatureSet.js";const c={esriGeometryPoint:"points",esriGeometryPolyline:"polylines",esriGeometryPolygon:"polygons"};function d(e){const o=e.folders||[],t=o.slice(),r=new Map,n=new Map,i=new Map,f=new Map,a=new Map,l={esriGeometryPoint:n,esriGeometryPolyline:i,esriGeometryPolygon:f};(e.featureCollection?.layers||[]).forEach(e=>{const o=s(e);o.featureSet.features=[];const t=e.featureSet.geometryType;r.set(t,o);const a=e.layerDefinition.objectIdField;"esriGeometryPoint"===t?h(n,a,e.featureSet.features):"esriGeometryPolyline"===t?h(i,a,e.featureSet.features):"esriGeometryPolygon"===t&&h(f,a,e.featureSet.features)}),e.groundOverlays&&e.groundOverlays.forEach(e=>{a.set(e.id,e)}),o.forEach(o=>{o.networkLinkIds.forEach(r=>{const s=P(r,o.id,e.networkLinks);s&&t.push(s)})}),t.forEach(e=>{if(e.featureInfos){e.points=s(r.get("esriGeometryPoint")),e.polylines=s(r.get("esriGeometryPolyline")),e.polygons=s(r.get("esriGeometryPolygon")),e.mapImages=[];for(const o of e.featureInfos)switch(o.type){case"esriGeometryPoint":case"esriGeometryPolyline":case"esriGeometryPolygon":{const t=l[o.type].get(o.id);t&&e[c[o.type]]?.featureSet.features.push(t);break}case"GroundOverlay":{const t=a.get(o.id);t&&e.mapImages.push(t);break}}e.fullExtent=I([e])}});const u=I(t);return{folders:o,sublayers:t,extent:u}}function g(t,s,i,f){const a=o?.findCredential(t);t=n(t,{token:a?.token});const l=e.kmlServiceUrl;return r(l,{query:{url:t,model:"simple",folders:"",refresh:0!==i||void 0,outSR:JSON.stringify(s)},responseType:"json",signal:f})}function S(e,o,t=null,r=[]){const s=[],n={},i=o.sublayers,f=new Set(o.folders.map(e=>e.id));return i.forEach(o=>{const i=new e;if(t?i.read(o,t):i.read(o),r.length&&f.has(i.id)&&(i.visible=r.includes(i.id)),n[o.id]=i,null!=o.parentFolderId&&-1!==o.parentFolderId){const e=n[o.parentFolderId];e.sublayers||(e.sublayers=[]),e.sublayers?.unshift(i)}else s.unshift(i)}),s}function h(e,o,t){t.forEach(t=>{e.set(t.attributes[o],t)})}function G(e,o){let t;return o.some(o=>o.id===e&&(t=o,!0)),t}function P(e,o,t){const r=G(e,t);return r&&(r.parentFolderId=o,r.networkLink=r),r}async function b(e,o,r,s){const n=e[o];if(!n)return[];const i=y.fromJSON(n.featureSet).features,f=n.layerDefinition,a=p(f.drawingInfo.renderer),l=t.fromJSON(n.popupInfo),u=[];for(const t of i){const e=await a.getSymbolAsync(t);t.symbol=e,t.popupTemplate=l,t.visible=!0;const o=r.sublayerById.get(s);t.origin=o.origin,u.push(t)}return u}function I(e){const o=f(a),t=f(a);for(const r of e){if(r.polygons?.featureSet?.features)for(const e of r.polygons.featureSet.features)m(o,e.geometry),l(t,o);if(r.polylines?.featureSet?.features)for(const e of r.polylines.featureSet.features)m(o,e.geometry),l(t,o);if(r.points?.featureSet?.features)for(const e of r.points.featureSet.features)m(o,e.geometry),l(t,o);if(r.mapImages)for(const e of r.mapImages)m(o,e.extent),l(t,o)}return u(t,a)?void 0:{xmin:t[0],ymin:t[1],zmin:t[2],xmax:t[3],ymax:t[4],zmax:t[5],spatialReference:i.WGS84}}export{I as computeExtent,g as fetchService,b as getGraphics,d as parseKML,S as sublayersFromJSON};
2
+ import e from"../../config.js";import{id as o}from"../../kernel.js";import t from"../../PopupTemplate.js";import r from"../../request.js";import{clone as s}from"../../core/lang.js";import{addQueryParameters as n}from"../../core/urlUtils.js";import i from"../../geometry/SpatialReference.js";import{create as f,expandWithAABB as a,equals as l,negativeInfinity as u}from"../../geometry/support/aaBoundingBox.js";import{getBoundsXYZ as m}from"../../geometry/support/boundsUtils.js";import{fromJSON as p}from"../../renderers/support/jsonUtils.js";import y from"../../rest/support/FeatureSet.js";const c={esriGeometryPoint:"points",esriGeometryPolyline:"polylines",esriGeometryPolygon:"polygons"};function d(e){const o=e.folders||[],t=o.slice(),r=new Map,n=new Map,i=new Map,f=new Map,a=new Map,l={esriGeometryPoint:n,esriGeometryPolyline:i,esriGeometryPolygon:f};(e.featureCollection?.layers||[]).forEach(e=>{const o=s(e);o.featureSet.features=[];const t=e.featureSet.geometryType;r.set(t,o);const a=e.layerDefinition.objectIdField;"esriGeometryPoint"===t?h(n,a,e.featureSet.features):"esriGeometryPolyline"===t?h(i,a,e.featureSet.features):"esriGeometryPolygon"===t&&h(f,a,e.featureSet.features)}),e.groundOverlays&&e.groundOverlays.forEach(e=>{a.set(e.id,e)}),o.forEach(o=>{o.networkLinkIds.forEach(r=>{const s=P(r,o.id,e.networkLinks);s&&t.push(s)})}),t.forEach(e=>{if(e.featureInfos){e.points=s(r.get("esriGeometryPoint")),e.polylines=s(r.get("esriGeometryPolyline")),e.polygons=s(r.get("esriGeometryPolygon")),e.mapImages=[];for(const o of e.featureInfos)switch(o.type){case"esriGeometryPoint":case"esriGeometryPolyline":case"esriGeometryPolygon":{const t=l[o.type].get(o.id);t&&e[c[o.type]]?.featureSet.features.push(t);break}case"GroundOverlay":{const t=a.get(o.id);t&&e.mapImages.push(t);break}}e.fullExtent=I([e])}});const u=I(t);return{folders:o,sublayers:t,extent:u}}function g(t,s,i,f){const a=o?.findCredential(t);t=n(t,{token:a?.token});const l=e.kmlServiceUrl;return r(l,{query:{url:t,model:"simple",folders:"",refresh:0!==i||void 0,outSR:JSON.stringify(s)},responseType:"json",signal:f})}function S(e,o,t=null,r=[]){const s=[],n={},i=o.sublayers,f=new Set(o.folders.map(e=>e.id));return i.forEach(o=>{const i=new e;if(t?i.read(o,t):i.read(o),r.length&&f.has(i.id)&&(i.visible=r.includes(i.id)),n[o.id]=i,null!=o.parentFolderId&&-1!==o.parentFolderId){const e=n[o.parentFolderId];e.sublayers||(e.sublayers=[]),e.sublayers?.unshift(i)}else s.unshift(i)}),s}function h(e,o,t){t.forEach(t=>{e.set(t.attributes[o],t)})}function G(e,o){let t;return o.some(o=>o.id===e&&(t=o,!0)),t}function P(e,o,t){const r=G(e,t);return r&&(r.parentFolderId=o,r.networkLink=r),r}async function b(e,o,r,s){const n=e[o];if(!n)return[];const i=y.fromJSON(n.featureSet).features,f=n.layerDefinition,a=p(f.drawingInfo.renderer),l=t.fromJSON(n.popupInfo),u=[];for(const t of i){const e=await a.getSymbolAsync(t);t.symbol=e,t.popupTemplate=l,t.visible=!0;const o=r.sublayerById.get(s);t.origin=o.origin,u.push(t)}return u}function I(e){const o=f(u),t=f(u);for(const r of e){if(r.polygons?.featureSet?.features)for(const e of r.polygons.featureSet.features)m(o,e.geometry),a(t,o);if(r.polylines?.featureSet?.features)for(const e of r.polylines.featureSet.features)m(o,e.geometry),a(t,o);if(r.points?.featureSet?.features)for(const e of r.points.featureSet.features)m(o,e.geometry),a(t,o);if(r.mapImages)for(const e of r.mapImages)m(o,e.extent),a(t,o)}return l(t,u)?void 0:{xmin:t[0],ymin:t[1],zmin:t[2],xmax:t[3],ymax:t[4],zmax:t[5],spatialReference:i.WGS84}}export{I as computeExtent,g as fetchService,b as getGraphics,d as parseKML,S as sublayersFromJSON};
@@ -0,0 +1,27 @@
1
+ /**
2
+ * This module provides utility functions for resolving and evaluating time series field mappings
3
+ * used across renderers, labels, and popups.
4
+ *
5
+ * @since 5.1
6
+ */
7
+ import type TimeSeriesInfo from "./TimeSeriesInfo.js";
8
+
9
+ /**
10
+ * Creates an [Arcade expression](https://developers.arcgis.com/javascript/latest/arcade/) that resolves values from a time series data series using the
11
+ * current [Map element](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/) time.
12
+ *
13
+ * @param dataSeriesInfo - The data series definition used to build the expression.
14
+ * @returns An [Arcade expression](https://developers.arcgis.com/javascript/latest/arcade/) string.
15
+ * @since 5.1
16
+ */
17
+ export function createTimeSeriesExpression(dataSeriesInfo: TimeSeriesInfo): string;
18
+
19
+ /**
20
+ * Maps a data series time value unit to the corresponding Arcade string that dictates time formatting.
21
+ *
22
+ * @param timeValueUnit - The time value unit from a data series definition.
23
+ * @returns The Arcade string dictating time formatting.
24
+ * @since 5.1
25
+ * @see [Arcade Text function](https://developers.arcgis.com/arcade/function-reference/text_functions/#text)
26
+ */
27
+ export function getArcadeTimeFormatString(timeValueUnit: TimeSeriesInfo["timeValueUnits"]): string;
@@ -0,0 +1,2 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
+ function e(e){const t=e.fieldTimeMappings??[],n=e.timeValueUnits??"years",a=t.map(({fieldName:e,timeValue:r})=>` "${r}", $feature.${e},`);return`var timeFormat = "${r(n)}";\n\nvar hasCurrentStart = HasValue($view, ["timeProperties", "currentStart"]);\nvar hasCurrentEnd = HasValue($view, ["timeProperties", "currentEnd"]);\n\nvar hasCurrentTime = hasCurrentStart || hasCurrentEnd;\n\nif (!hasCurrentTime) {\n return $feature.${t[0].fieldName};\n}\n\nvar currentTime = DefaultValue($view.timeProperties.currentEnd, $view.timeProperties.currentStart);\nvar formattedCurrentTime = Text(currentTime, timeFormat);\n\nvar result = Decode(formattedCurrentTime,\n${a.join("\n")}\n null\n);\n\nreturn result;`}function r(e){switch(e){case"years":default:return"Y";case"months":return"Y-M";case"days":return"Y-M-D";case"hours":case"minutes":return"Y-M-D-H-mm";case"seconds":return"Y-M-D-H-mm-ss"}}export{e as createTimeSeriesExpression,r as getArcadeTimeFormatString};
package/layers/types.d.ts CHANGED
@@ -539,7 +539,7 @@ export interface QueryCapabilities {
539
539
  supportsSqlExpression: boolean;
540
540
  /**
541
541
  * Indicates if the query operation supports using standardized queries.
542
- * Learn more about [standardized queries here](https://enterprise.arcgis.com/en/server/latest/administer/linux/about-standardized-queries.htm).
542
+ * Learn more about [standardized queries here](https://doc.esri.com/en/arcgis-enterprise/latest/administer/about-standardized-queries.html).
543
543
  *
544
544
  * @since 5.0
545
545
  */
@@ -113,4 +113,64 @@ export interface LivestreamStatus {
113
113
  *
114
114
  * @since 5.1
115
115
  */
116
- export interface Coverage {}
116
+ export interface Coverage {}
117
+
118
+ /**
119
+ * Defines an object that contains metadata defining layer previews information.
120
+ *
121
+ * @since 5.1
122
+ */
123
+ export interface PreviewsInfo {
124
+ /**
125
+ * The number of preview thumbnails in the sprite sheet.
126
+ *
127
+ * @since 5.1
128
+ */
129
+ count: number;
130
+ /**
131
+ * The height in pixels of each preview thumbnail in the sprite sheet.
132
+ *
133
+ * @since 5.1
134
+ */
135
+ height: number;
136
+ /**
137
+ * The time in milliseconds between each preview thumbnail in the sprite sheet.
138
+ *
139
+ * @since 5.1
140
+ */
141
+ interval: number;
142
+ /**
143
+ * The number of columns of preview thumbnails in the sprite sheet.
144
+ *
145
+ * @since 5.1
146
+ */
147
+ numCols: number;
148
+ /**
149
+ * The number of rows of preview thumbnails in the sprite sheet.
150
+ *
151
+ * @since 5.1
152
+ */
153
+ numRows: number;
154
+ /**
155
+ * An array of objects containing metadata for each preview thumbnail in
156
+ * the sprite sheet, including the time offset of each thumbnail in
157
+ * milliseconds.
158
+ *
159
+ * @since 5.1
160
+ */
161
+ thumbnailInfo: { offset: number; }[];
162
+ /**
163
+ * The URL fragment for fetching the sprite sheet containing the thumbnails.
164
+ * This URL is relative to the video source URL and can be used to construct
165
+ * the full URL to the sprite sheet.
166
+ *
167
+ * @since 5.1
168
+ */
169
+ urlFragment: string;
170
+ /**
171
+ * The width in pixels of each preview thumbnail in the sprite sheet.
172
+ *
173
+ * @since 5.1
174
+ */
175
+ width: number;
176
+ }
@@ -22,7 +22,7 @@ export interface ChronologicalLayoutSettingsProperties extends Partial<Pick<Chro
22
22
  * >
23
23
  * > Chronological layouts require "Filter content using time" to be configured on the [link chart sublayer](https://developers.arcgis.com/javascript/latest/references/core/layers/knowledgeGraph/KnowledgeGraphSublayer/#timeInfo) properties.
24
24
  * > The time fields used must have the type `timestamp offset`. Time can be set on a link chart created in ArcGIS Pro
25
- * > and imported into to [ArcGIS Knowledge Studio](https://enterprise.arcgis.com/en/knowledge/latest/knowledge-studio/add-link-charts-to-your-project.htm), or you can set time in the link chart layer definition using ArcGIS Pro or the ArcGIS REST API.
25
+ * > and imported into to [ArcGIS Knowledge Studio](https://doc.esri.com/en/arcgis-knowledge/latest/knowledge-studio/add-link-charts-to-your-project.html), or you can set time in the link chart layer definition using ArcGIS Pro or the ArcGIS REST API.
26
26
  *
27
27
  * @since 4.32
28
28
  */
@@ -88,7 +88,7 @@ export default class CircuitManager extends JSONSupport {
88
88
  get featureServiceUrl(): string;
89
89
  /**
90
90
  * The version of the geodatabase of the feature service data used by the utility network.
91
- * Read the [Overview of versioning](https://pro.arcgis.com/en/pro-app/latest/help/data/geodatabases/overview/overview-of-versioning-in-arcgis-pro.htm)
91
+ * Read the [Overview of versioning](https://doc.esri.com/en/arcgis-pro/latest/help/data/geodatabases/overview/overview-of-versioning-in-arcgis-pro.html)
92
92
  * topic for more details about this capability.
93
93
  */
94
94
  get gdbVersion(): string | null | undefined;
@@ -97,7 +97,7 @@ export default class Network extends NetworkSuperclass {
97
97
  set fullExtent(value: ExtentProperties | null | undefined);
98
98
  /**
99
99
  * The version of the geodatabase of the feature service data. Read
100
- * the [Overview of versioning](https://pro.arcgis.com/en/pro-app/latest/help/data/geodatabases/overview/overview-of-versioning-in-arcgis-pro.htm) topic for more details
100
+ * the [Overview of versioning](https://doc.esri.com/en/arcgis-pro/latest/help/data/geodatabases/overview/overview-of-versioning-in-arcgis-pro.html) topic for more details
101
101
  * about this capability.
102
102
  */
103
103
  accessor gdbVersion: string | null | undefined;
@@ -42,7 +42,7 @@ export default class UnitIdentifierManager extends JSONSupport {
42
42
  get featureServiceUrl(): string;
43
43
  /**
44
44
  * The version of the geodatabase of the feature service data used by the utility network.
45
- * Read the [Overview of versioning](https://pro.arcgis.com/en/pro-app/latest/help/data/geodatabases/overview/overview-of-versioning-in-arcgis-pro.htm)
45
+ * Read the [Overview of versioning](https://doc.esri.com/en/arcgis-pro/latest/help/data/geodatabases/overview/overview-of-versioning-in-arcgis-pro.html)
46
46
  * topic for more details about this capability.
47
47
  */
48
48
  get gdbVersion(): string | null | undefined;
@@ -22,7 +22,7 @@ export interface NamedTraceConfigurationProperties extends Partial<Pick<NamedTra
22
22
  * Trace configurations can be added using the [Add Trace Configuration](https://pro.arcgis.com/en/pro-app/latest/tool-reference/utility-networks/add-trace-configuration.htm) gp tool or the [REST end point](https://developers.arcgis.com/rest/services-reference/enterprise/create-traceconfiguration-utility-network-server-.htm).
23
23
  *
24
24
  * @since 4.20
25
- * @see [Learn more about Named Trace Configurations](https://pro.arcgis.com/en/pro-app/latest/help/data/utility-network/about-trace-configurations.htm)
25
+ * @see [Learn more about Named Trace Configurations](https://doc.esri.com/en/arcgis-pro/latest/help/data/utility-network/about-trace-configurations.html)
26
26
  * @see [Add Trace Configurations](https://pro.arcgis.com/en/pro-app/latest/tool-reference/utility-networks/add-trace-configuration.htm)
27
27
  * @see [UtilityNetwork](https://developers.arcgis.com/javascript/latest/references/core/networks/UtilityNetwork/)
28
28
  * @see [TraceConfiguration](https://developers.arcgis.com/javascript/latest/references/core/networks/support/TraceConfiguration/)
@@ -5,7 +5,7 @@ import type { BarrierJSON, FunctionBarrierJSON, FunctionJSON, OutputConditionJSO
5
5
  export interface TraceConfigurationProperties extends Partial<Pick<TraceConfiguration, "conditionBarriers" | "functionBarriers" | "functions" | "ignoreBarriersAtStartingPoints" | "includeBarriers" | "outputConditions" | "shortestPathNetworkAttributeName" | "traversabilityScope" | "validateConsistency">> {}
6
6
 
7
7
  /**
8
- * The TraceConfiguration class provides the ability to configure custom trace properties required to run a network trace. These properties control trace settings for [traversability](https://developers.arcgis.com/javascript/latest/references/core/networks/support/TraceConfiguration/#traversabilityScope), [functions](https://developers.arcgis.com/javascript/latest/references/core/networks/support/TraceConfiguration/#functions), filters, and [outputs](https://developers.arcgis.com/javascript/latest/references/core/networks/support/TraceConfiguration/#outputConditions). The [Configure a trace](https://pro.arcgis.com/en/pro-app/latest/help/data/utility-network/configure-a-trace.htm) and [Add Trace Configuration (Utility Network)](https://pro.arcgis.com/en/pro-app/latest/tool-reference/utility-networks/add-trace-configuration.htm) documentation is helpful to learn more about trace configuration parameters.
8
+ * The TraceConfiguration class provides the ability to configure custom trace properties required to run a network trace. These properties control trace settings for [traversability](https://developers.arcgis.com/javascript/latest/references/core/networks/support/TraceConfiguration/#traversabilityScope), [functions](https://developers.arcgis.com/javascript/latest/references/core/networks/support/TraceConfiguration/#functions), filters, and [outputs](https://developers.arcgis.com/javascript/latest/references/core/networks/support/TraceConfiguration/#outputConditions). The [Configure a trace](https://doc.esri.com/en/arcgis-pro/latest/help/data/utility-network/configure-a-trace.html) and [Add Trace Configuration (Utility Network)](https://pro.arcgis.com/en/pro-app/latest/tool-reference/utility-networks/add-trace-configuration.htm) documentation is helpful to learn more about trace configuration parameters.
9
9
  *
10
10
  * The Trace Configuration differs from the [NamedTraceConfiguration](https://developers.arcgis.com/javascript/latest/references/core/networks/support/NamedTraceConfiguration/). A NamedTraceConfiguration allows for configuring and storing properties on complex traces in a utility network. These configurations are created and stored within the utility network, and can be reused and shared across an organization. The named trace configurations can be referenced by a [globalID](https://developers.arcgis.com/javascript/latest/references/core/rest/networks/support/TraceParameters/#namedTraceConfigurationGlobalId).
11
11
  *
@@ -16,7 +16,7 @@ export interface TraceConfigurationProperties extends Partial<Pick<TraceConfigur
16
16
  * @see [UtilityNetwork](https://developers.arcgis.com/javascript/latest/references/core/networks/UtilityNetwork/)
17
17
  * @see [NamedTraceConfiguration](https://developers.arcgis.com/javascript/latest/references/core/networks/support/NamedTraceConfiguration/)
18
18
  * @see [TraceParameters](https://developers.arcgis.com/javascript/latest/references/core/rest/networks/support/TraceParameters/)
19
- * @see [Configure a trace](https://pro.arcgis.com/en/pro-app/latest/help/data/utility-network/configure-a-trace.htm)
19
+ * @see [Configure a trace](https://doc.esri.com/en/arcgis-pro/latest/help/data/utility-network/configure-a-trace.html)
20
20
  * @see [Add Trace Configuration (Utility Network)](https://pro.arcgis.com/en/pro-app/latest/tool-reference/utility-networks/add-trace-configuration.htm)
21
21
  */
22
22
  export default class TraceConfiguration extends TraceConfigurationSuperclass {
@@ -15,8 +15,8 @@ export interface UNTraceConfigurationProperties extends TraceConfigurationProper
15
15
  * @see [NamedTraceConfiguration](https://developers.arcgis.com/javascript/latest/references/core/networks/support/NamedTraceConfiguration/)
16
16
  * @see [TraceConfiguration](https://developers.arcgis.com/javascript/latest/references/core/networks/support/TraceConfiguration/)
17
17
  * @see [TraceParameters](https://developers.arcgis.com/javascript/latest/references/core/rest/networks/support/TraceParameters/)
18
- * @see [Trace utility networks](https://pro.arcgis.com/en/pro-app/latest/help/data/utility-network/about-tracing-utility-networks.htm)
19
- * @see [Configure a trace](https://pro.arcgis.com/en/pro-app/latest/help/data/utility-network/configure-a-trace.htm)
18
+ * @see [Trace utility networks](https://doc.esri.com/en/arcgis-pro/latest/help/data/utility-network/about-tracing-utility-networks.html)
19
+ * @see [Configure a trace](https://doc.esri.com/en/arcgis-pro/latest/help/data/utility-network/configure-a-trace.html)
20
20
  * @see [Add Trace Configuration (Utility Network)](https://pro.arcgis.com/en/pro-app/latest/tool-reference/utility-networks/add-trace-configuration.htm)
21
21
  * @see [Trace - ArcGIS REST API](https://developers.arcgis.com/rest/services-reference/enterprise/trace-utility-network-server-.htm)
22
22
  * @example
@@ -165,7 +165,7 @@ export default class UNTraceConfiguration extends UNTraceConfigurationSuperclass
165
165
  * > Requires [Utility Network Version](https://pro.arcgis.com/en/pro-app/latest/help/data/utility-network/utility-network-compatibility.htm#ESRI_SECTION1_A295577926DC4673B05E83556B8118DC) 7 and later.
166
166
  *
167
167
  * @since 5.1
168
- * @see [Learn more about flow direction in a utility network](https://pro.arcgis.com/en/pro-app/latest/help/data/utility-network/about-tracing-utility-networks.htm#ESRI_SECTION1_9721D1D37F5B4ED3A1EC354078920598)
168
+ * @see [Learn more about flow direction in a utility network](https://doc.esri.com/en/arcgis-pro/latest/help/data/utility-network/about-tracing-utility-networks.html#598)
169
169
  */
170
170
  accessor useDigitizedDirection: boolean | null | undefined;
171
171
  /** Specifies if its necessary to validate whether traversed junction or edge objects have the necessary containment, attachment, or connectivity association in their association hierarchy. */
@@ -234,6 +234,12 @@ export interface NetworkSourceJSON extends CircuitSourceJSON {
234
234
  * @since 5.0
235
235
  */
236
236
  supportedProperties: string[];
237
+ /**
238
+ * Indicates if the source uses geometry.
239
+ *
240
+ * @since 5.1
241
+ */
242
+ usesGeometry: boolean;
237
243
  }
238
244
 
239
245
  /**
@@ -769,7 +775,7 @@ export interface OutputConditionJSON {
769
775
  }
770
776
 
771
777
  /**
772
- * Contains the [function](https://pro.arcgis.com/en/pro-app/latest/help/data/utility-network/configure-a-trace.htm#ESRI_SECTION1_383BDD7175084697A7E771090A410CBB) information in JSON format.
778
+ * Contains the [function](https://doc.esri.com/en/arcgis-pro/latest/help/data/utility-network/configure-a-trace.html#CBB) information in JSON format.
773
779
  *
774
780
  * @since 5.0
775
781
  */
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import e from"../../request.js";import t from"../../core/Error.js";import{queryAllJSON as r}from"../../layers/support/featureQueryAll.js";import{isSubtypeSublayer as n,isFeatureLayer as o}from"../../layers/support/layerUtils.js";import a from"../../portal/PortalItem.js";import s from"../../rest/support/FeatureSet.js";import{isGraphic as l}from"../../support/graphicInstanceUtils.js";function u(e,t,r="from"){const{fromRuleElement:n,viaRuleElement:o,toRuleElement:a}=y(e),s=[];switch(e.ruleType){case 2:case 3:"from"===r&&m(t,n,!1)?s.push(a):"to"===r&&m(t,a,!1)&&s.push(n);break;case 4:case 1:m(t,n,!0)?s.push(a):m(t,a,!0)&&s.push(n);break;case 5:o&&(m(t,o,!0)?(s.push(n),s.push(a)):(m(t,n,!0)||m(t,a,!0))&&s.push(o));break;default:return[]}return s}function i(e,t,r){const{fromRuleElement:n,viaRuleElement:o,toRuleElement:a}=y(e);switch(e.ruleType){case 2:case 3:return p(t,r,n,a,!1,!1);case 4:case 1:return p(t,r,n,a,!0,!0);case 5:return p(t,r,n,o,!0,!0)||p(t,r,a,o,!0,!0);default:return!1}}function p(e,t,r,n,o,a){if(!r||!n)return!1;const s=m(e,r,a),l=m(t,n,a);if(o){const o=m(e,n,a),u=m(t,r,a);return s&&l||o&&u}return s&&l}function c(e,t){const r=e.terminal?.terminalId,n=t.terminalId;return null==r&&null==n||(1===r?null==n||1===n:r===n)}function m(e,t,r){const{assetGroupCode:n,assetTypeCode:o}=e;return("layerId"in e?e.layerId===t.networkSource?.layerId:e.networkSourceId===t.networkSource?.sourceId)&&(null==n||n===t.assetGroup?.assetGroupCode)&&(null==o||o===t.assetType?.assetTypeCode)&&(!r||!("terminalId"in e)||c(t,e))}function y(e){return{fromRuleElement:{networkSource:e.fromNetworkSource,assetGroup:e.fromAssetGroup,assetType:e.fromAssetType,terminal:e.fromTerminal},viaRuleElement:e.viaNetworkSource?{networkSource:e.viaNetworkSource,assetGroup:e.viaAssetGroup,assetType:e.viaAssetType,terminal:e.viaTerminal}:void 0,toRuleElement:{networkSource:e.toNetworkSource,assetGroup:e.toAssetGroup,assetType:e.toAssetType,terminal:e.toTerminal}}}function f(e){let t=null,r=null,o=null;if(l(e))t=d(e),[r,o]=w(e);else if(n(e)){t=e.parent?.layerId??null;const[n]=I(e);n===e.subtypeField&&(r=e.subtypeCode)}else t=e.layerId??null;return{layerId:t,assetGroupCode:r,assetTypeCode:o}}function d(e){const{sourceLayer:t}=e;let r;return o(t)?r=t.layerId:n(t)&&(r=t.parent?.layerId),r??null}function w(e){const[t,r]=I(e.sourceLayer);return[t?e.attributes[t]:null,r?e.attributes[r]:null]}function I(e){if(!e||!("fieldsIndex"in e))return[null,null];return[e.fieldsIndex.normalizeFieldName("assetGroup")??null,e.fieldsIndex.normalizeFieldName("assetType")??null]}async function k(e,t){const n=e.layers,o=e.layerInfos,a=e.returnGeometry||!1,l=e.outSpatialReference;await Promise.all(n.map(async e=>{await e.load()}));return(await Promise.all(n.map(async e=>{const n=o.find(t=>t.layerUrl===e.parsedUrl?.path);if(!n?.objectIds?.length)return{layer:e,featureSet:void 0};const u=e.createQuery();u.returnGeometry=a,u.outFields=n.outFields||["*"],u.outSpatialReference=l,u.gdbVersion=e.gdbVersion,u.objectIds=n.objectIds,t&&(u.where="1=1");const i=s.fromJSON(await r(e,u));return i.features.forEach(t=>{t.layer=t.sourceLayer=e}),{layer:e,featureSet:i}}))).filter(e=>void 0!==e.featureSet)}async function S(e,t){if("Utility Network Layer"===e){const{default:e}=await import("../UtilityNetwork.js");return new e({layerUrl:t})}return null}async function T(r){let n="portalItem"in r?r:{portalItem:r};!n.portalItem||n.portalItem instanceof a||(n={...n,portalItem:new a(n.portalItem)});const o=n.portalItem;if(await o.load(),"Feature Service"!==o.type)throw new t("portal:unknown-item-type","Unknown item type '${type}'",{type:o.type});const s=o.url,l=await e(s,{responseType:"json",query:{f:"json"}}),u="Network Layer";if(l.data.type?.includes(u))return S(l.data.type,s);if(l.data.layers){const e=l.data.layers.find(e=>e.type.includes(u));if(e){const t=`${s}/${e.id}`;return S(e.type,t)}}return null}export{p as doElementsMatchRule,i as doesRuleAllowAssociation,I as getAssetFieldNames,u as getCompatibleRuleElements,y as getElementsFromRule,w as getFeatureAssetCodes,d as getFeatureSourceLayerId,k as getFeaturesFromLayers,f as getRuleValues,m as isRuleElementMatch,c as isTerminalMatch,T as networkFromPortalItem};
2
+ import e from"../../request.js";import t from"../../core/Error.js";import{queryAllJSON as r}from"../../layers/support/featureQueryAll.js";import{isSubtypeSublayer as o,isFeatureLayer as n}from"../../layers/support/layerUtils.js";import s from"../../portal/PortalItem.js";import u from"../../rest/support/FeatureSet.js";import{isGraphic as a}from"../../support/graphicInstanceUtils.js";function l(e,t,r="from"){const{fromRuleElement:o,viaRuleElement:n,toRuleElement:s}=y(e),u=[];switch(e.ruleType){case 2:case 3:"from"===r&&m(t,o,!1)?u.push(s):"to"===r&&m(t,s,!1)&&u.push(o);break;case 1:m(t,o,!0)?u.push(s):m(t,s,!0)&&u.push(o);break;case 4:s.networkSource?.usesGeometry||(m(t,o,!0)?u.push(s):m(t,s,!0)&&u.push(o));break;case 5:n&&(m(t,n,!0)?(o.networkSource?.usesGeometry||u.push(o),s.networkSource?.usesGeometry||u.push(s)):(!o.networkSource?.usesGeometry&&m(t,o,!0)||!s.networkSource?.usesGeometry&&m(t,s,!0))&&u.push(n));break;default:return[]}return u}function i(e,t,r){const{fromRuleElement:o,viaRuleElement:n,toRuleElement:s}=y(e);switch(e.ruleType){case 2:case 3:return c(t,r,o,s,!1,!1);case 1:return c(t,r,o,s,!0,!0);case 4:return!s.networkSource?.usesGeometry&&c(t,r,o,s,!0,!0);case 5:return!o.networkSource?.usesGeometry&&c(t,r,o,n,!0,!0)||!s.networkSource?.usesGeometry&&c(t,r,s,n,!0,!0);default:return!1}}function c(e,t,r,o,n,s){if(!r||!o)return!1;const u=m(e,r,s),a=m(t,o,s);if(n){const n=m(e,o,s),l=m(t,r,s);return u&&a||n&&l}return u&&a}function p(e,t){const r=e.terminal?.terminalId,o=t.terminalId;return null==r&&null==o||(1===r?null==o||1===o:r===o)}function m(e,t,r){const{assetGroupCode:o,assetTypeCode:n}=e;return("layerId"in e?e.layerId===t.networkSource?.layerId:e.networkSourceId===t.networkSource?.sourceId)&&(null==o||o===t.assetGroup?.assetGroupCode)&&(null==n||n===t.assetType?.assetTypeCode)&&(!r||!("terminalId"in e)||p(t,e))}function y(e){return{fromRuleElement:{networkSource:e.fromNetworkSource,assetGroup:e.fromAssetGroup,assetType:e.fromAssetType,terminal:e.fromTerminal},viaRuleElement:e.viaNetworkSource?{networkSource:e.viaNetworkSource,assetGroup:e.viaAssetGroup,assetType:e.viaAssetType,terminal:e.viaTerminal}:void 0,toRuleElement:{networkSource:e.toNetworkSource,assetGroup:e.toAssetGroup,assetType:e.toAssetType,terminal:e.toTerminal}}}function f(e){let t=null,r=null,n=null;if(a(e))t=d(e),[r,n]=w(e);else if(o(e)){t=e.parent?.layerId??null;const[o]=I(e);o===e.subtypeField&&(r=e.subtypeCode)}else t=e.layerId??null;return{layerId:t,assetGroupCode:r,assetTypeCode:n}}function d(e){const{sourceLayer:t}=e;let r;return n(t)?r=t.layerId:o(t)&&(r=t.parent?.layerId),r??null}function w(e){const[t,r]=I(e.sourceLayer);return[t?e.attributes[t]:null,r?e.attributes[r]:null]}function I(e){if(!e||!("fieldsIndex"in e))return[null,null];return[e.fieldsIndex.normalizeFieldName("assetGroup")??null,e.fieldsIndex.normalizeFieldName("assetType")??null]}async function k(e,t){const o=e.layers,n=e.layerInfos,s=e.returnGeometry||!1,a=e.outSpatialReference;await Promise.all(o.map(async e=>{await e.load()}));return(await Promise.all(o.map(async e=>{const o=n.find(t=>t.layerUrl===e.parsedUrl?.path);if(!o?.objectIds?.length)return{layer:e,featureSet:void 0};const l=e.createQuery();l.returnGeometry=s,l.outFields=o.outFields||["*"],l.outSpatialReference=a,l.gdbVersion=e.gdbVersion,l.objectIds=o.objectIds,t&&(l.where="1=1");const i=u.fromJSON(await r(e,l));return i.features.forEach(t=>{t.layer=t.sourceLayer=e}),{layer:e,featureSet:i}}))).filter(e=>void 0!==e.featureSet)}async function S(e,t){if("Utility Network Layer"===e){const{default:e}=await import("../UtilityNetwork.js");return new e({layerUrl:t})}return null}async function G(r){let o="portalItem"in r?r:{portalItem:r};!o.portalItem||o.portalItem instanceof s||(o={...o,portalItem:new s(o.portalItem)});const n=o.portalItem;if(await n.load(),"Feature Service"!==n.type)throw new t("portal:unknown-item-type","Unknown item type '${type}'",{type:n.type});const u=n.url,a=await e(u,{responseType:"json",query:{f:"json"}}),l="Network Layer";if(a.data.type?.includes(l))return S(a.data.type,u);if(a.data.layers){const e=a.data.layers.find(e=>e.type.includes(l));if(e){const t=`${u}/${e.id}`;return S(e.type,t)}}return null}export{c as doElementsMatchRule,i as doesRuleAllowAssociation,I as getAssetFieldNames,l as getCompatibleRuleElements,y as getElementsFromRule,w as getFeatureAssetCodes,d as getFeatureSourceLayerId,k as getFeaturesFromLayers,f as getRuleValues,m as isRuleElementMatch,p as isTerminalMatch,G as networkFromPortalItem};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arcgis/core",
3
- "version": "5.1.0-next.120",
3
+ "version": "5.1.0-next.121",
4
4
  "homepage": "https://js.arcgis.com",
5
5
  "description": "ArcGIS Maps SDK for JavaScript: A complete 2D and 3D mapping and data visualization API",
6
6
  "keywords": [
@@ -19,7 +19,7 @@
19
19
  "license": "SEE LICENSE IN LICENSE.md",
20
20
  "dependencies": {
21
21
  "@amcharts/amcharts5": "~5.17.2",
22
- "@arcgis/toolkit": "^5.1.0-next.124",
22
+ "@arcgis/toolkit": "^5.1.0-next.125",
23
23
  "@esri/arcgis-html-sanitizer": "~4.1.0",
24
24
  "@esri/calcite-components": "^5.1.1-next.3",
25
25
  "@vaadin/grid": "~25.1.3",
@@ -7,7 +7,7 @@ export interface CustomContentProperties extends BaseContentProperties, Partial<
7
7
  /**
8
8
  * A `CustomContent` popup element is used to provide a way to customize the [popup's](https://developers.arcgis.com/javascript/latest/references/core/widgets/Popup/) content.
9
9
  * This content can be a combination of elements such as `String`,
10
- * [`HTMLElement`](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement),
10
+ * [`HTMLElement`](https://developer.mozilla.org/docs/Web/API/HTMLElement),
11
11
  * [Widget](https://developers.arcgis.com/javascript/latest/references/core/widgets/Widget/),
12
12
  * or `Promise`.
13
13
  *
@@ -336,7 +336,7 @@ export default class Portal extends PortalSuperclass {
336
336
  *
337
337
  * It is recommended to use these URLs with their respective `rest` modules instead of the deprecated helper methods.
338
338
  * For additional information about helper services,
339
- * see the [about utility services](https://enterprise.arcgis.com/en/portal/latest/administer/windows/about-utility-services.htm)
339
+ * see the [about utility services](https://doc.esri.com/en/arcgis-enterprise/latest/administer/about-utility-services.html)
340
340
  * topic from the ArcGIS Server documentation.
341
341
  *
342
342
  * @since 4.4
@@ -534,7 +534,7 @@ export default class Portal extends PortalSuperclass {
534
534
  accessor vectorBasemapGalleryGroupQuery: string | null | undefined;
535
535
  /**
536
536
  * A helper function that returns an array of [ElevationsLayers](https://developers.arcgis.com/javascript/latest/references/core/layers/ElevationLayer/)
537
- * derived from the Portal's [Limited Error Raster Compression (LERC) elevation helper service](https://enterprise.arcgis.com/en/portal/latest/administer/windows/about-utility-services.htm).
537
+ * derived from the Portal's [Limited Error Raster Compression (LERC) elevation helper service](https://doc.esri.com/en/arcgis-enterprise/latest/administer/about-utility-services.html).
538
538
  *
539
539
  * @returns When resolved, returns an array of [ElevationLayers](https://developers.arcgis.com/javascript/latest/references/core/layers/ElevationLayer/).
540
540
  * @since 4.12
@@ -30,7 +30,7 @@ export interface FeatureTemplateThumbnail {
30
30
  */
31
31
  contentType: "png" | "jpg" | "jpeg" | "image";
32
32
  /**
33
- * The [base64EncodedImageData](https://developer.mozilla.org/en-US/docs/Web/API/WindowBase64/Base64_encoding_and_decoding)
33
+ * The [base64EncodedImageData](https://developer.mozilla.org/docs/Web/API/WindowBase64/Base64_encoding_and_decoding)
34
34
  * presenting the thumbnail image.
35
35
  *
36
36
  * @since 5.0
@@ -383,7 +383,7 @@ export interface TelemetryElementFilter {}
383
383
  * A JSON Feature object that can be added to a [StreamLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/StreamLayer/) on the client by calling its
384
384
  * [sendMessageToClient()](https://developers.arcgis.com/javascript/latest/references/core/layers/StreamLayer/#sendMessageToClient) method.
385
385
  * It is an esri Feature JSON object as defined in the
386
- * [Feature object specification](https://next.gha.arcgis.com/documentation/common-data-types/feature-object.htm).
386
+ * [Feature object specification](https://developers.arcgis.com/documentation/common-data-types/feature-object.htm).
387
387
  *
388
388
  * @since 5.0
389
389
  */
@@ -8,7 +8,7 @@ import type { ColorRampProperties } from "../../rest/support/ColorRamp.js";
8
8
  import type { AuthoringInfoFieldInfoProperties } from "./AuthoringInfoFieldInfo.js";
9
9
  import type { AuthoringInfoVisualVariableProperties } from "./AuthoringInfoVisualVariable.js";
10
10
 
11
- export interface AuthoringInfoProperties extends Partial<Pick<AuthoringInfo, "classificationMethod" | "fadeRatio" | "fields" | "flowTheme" | "focus" | "isAutoGenerated" | "lengthUnit" | "maxSliderValue" | "minSliderValue" | "numClasses" | "standardDeviationInterval" | "type" | "univariateSymbolStyle" | "univariateTheme">> {
11
+ export interface AuthoringInfoProperties extends Partial<Pick<AuthoringInfo, "classificationMethod" | "dataSeriesName" | "fadeRatio" | "fields" | "flowTheme" | "focus" | "isAutoGenerated" | "lengthUnit" | "maxSliderValue" | "minSliderValue" | "numClasses" | "standardDeviationInterval" | "type" | "univariateSymbolStyle" | "univariateTheme">> {
12
12
  /** Indicates the color ramp was used to create the symbols for Unique Value or Class Breaks renderer for Imagery Layer. */
13
13
  colorRamp?: ColorRampProperties | null;
14
14
  /**
@@ -62,6 +62,19 @@ export default class AuthoringInfo extends JSONSupport {
62
62
  /** Indicates the color ramp was used to create the symbols for Unique Value or Class Breaks renderer for Imagery Layer. */
63
63
  get colorRamp(): ColorRamp | null | undefined;
64
64
  set colorRamp(value: ColorRampProperties | null | undefined);
65
+ /**
66
+ * The name of the data series configuration
67
+ * from which to derive information for authoring the renderer. This allows client applications to
68
+ * link a renderer to a specific data series configuration. The data series info can then be
69
+ * used to generate expressions for renderers, labels, popups, charts, or other representations
70
+ * of the data for display in the web map based
71
+ * on a sequence of related data points over time or other dimensions.
72
+ *
73
+ * Only applicable when at least one [TimeSeriesInfo](https://developers.arcgis.com/javascript/latest/references/core/layers/support/TimeSeriesInfo/) has been defined in [DataSeriesLayer.dataSeriesInfos](https://developers.arcgis.com/javascript/latest/references/core/layers/mixins/DataSeriesLayer/#dataSeriesInfos).
74
+ *
75
+ * @since 5.1
76
+ */
77
+ accessor dataSeriesName: string | null | undefined;
65
78
  /**
66
79
  * Only applicable to [HeatmapRenderer](https://developers.arcgis.com/javascript/latest/references/core/renderers/HeatmapRenderer/)
67
80
  * created with the [heatmap renderer creator](https://developers.arcgis.com/javascript/latest/references/core/smartMapping/renderers/heatmap/).
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import{__decorate as e}from"tslib";import{JSONMap as t}from"../../core/jsonMap.js";import{JSONSupport as i}from"../../core/JSONSupport.js";import{clone as s}from"../../core/lang.js";import{property as l,subclass as r}from"../../core/accessorSupport/decorators.js";import{Integer as a}from"../../core/accessorSupport/ensureType.js";import o from"./AuthoringInfoFieldInfo.js";import n from"./AuthoringInfoVisualVariable.js";import{fromJSON as u,types as p}from"../../rest/support/colorRamps.js";import{reader as d}from"../../core/accessorSupport/decorators/reader.js";var h;const c=new t({esriClassifyDefinedInterval:"defined-interval",esriClassifyEqualInterval:"equal-interval",esriClassifyManual:"manual",esriClassifyNaturalBreaks:"natural-breaks",esriClassifyQuantile:"quantile",esriClassifyStandardDeviation:"standard-deviation"}),y=new t({classedSize:"class-breaks-size",classedColor:"class-breaks-color",univariateColorSize:"univariate-color-size",relationship:"relationship",predominance:"predominance",dotDensity:"dot-density",flow:"flow"}),m=["inches","feet","yards","miles","nautical-miles","millimeters","centimeters","decimeters","meters","kilometers"],f=["high-to-low","above-and-below","above","below"],v=["flow-line","wave-front"],w=["caret","circle-caret","arrow","circle-arrow","plus-minus","circle-plus-minus","square","circle","triangle","happy-sad","thumb","custom"];let b=h=class extends i{constructor(e){super(e),this.colorRamp=null,this.fadeRatio=null,this.isAutoGenerated=!1,this.lengthUnit=null,this.maxSliderValue=null,this.minSliderValue=null,this.visualVariables=null}get classificationMethod(){const e=this._get("classificationMethod"),t=this.type;return t&&"relationship"!==t?"class-breaks-size"===t||"class-breaks-color"===t?e||"manual":null:e}set classificationMethod(e){this._set("classificationMethod",e)}readColorRamp(e){return e?u(e):void 0}get fields(){return this.type&&"predominance"!==this.type?null:this._get("fields")}set fields(e){this._set("fields",e)}get field1(){return this.type&&"relationship"!==this.type?null:this._get("field1")}set field1(e){this._set("field1",e)}get field2(){return this.type&&"relationship"!==this.type?null:this._get("field2")}set field2(e){this._set("field2",e)}get flowTheme(){return"flow"===this.type?this._get("flowTheme"):null}set flowTheme(e){this._set("flowTheme",e)}get focus(){return this.type&&"relationship"!==this.type?null:this._get("focus")}set focus(e){this._set("focus",e)}get numClasses(){return this.type&&"relationship"!==this.type?null:this._get("numClasses")}set numClasses(e){this._set("numClasses",e)}get statistics(){return"univariate-color-size"===this.type&&"above-and-below"===this.univariateTheme?this._get("statistics"):null}set statistics(e){this._set("statistics",e)}get standardDeviationInterval(){const e=this.type;return e&&"relationship"!==e&&"class-breaks-size"!==e&&"class-breaks-color"!==e||this.classificationMethod&&"standard-deviation"!==this.classificationMethod?null:this._get("standardDeviationInterval")}set standardDeviationInterval(e){this._set("standardDeviationInterval",e)}get type(){return this._get("type")}set type(e){let t=e;"classed-size"===e?t="class-breaks-size":"classed-color"===e&&(t="class-breaks-color"),this._set("type",t)}get univariateSymbolStyle(){return"univariate-color-size"===this.type&&"above-and-below"===this.univariateTheme?this._get("univariateSymbolStyle"):null}set univariateSymbolStyle(e){this._set("univariateSymbolStyle",e)}get univariateTheme(){return"univariate-color-size"===this.type?this._get("univariateTheme"):null}set univariateTheme(e){this._set("univariateTheme",e)}clone(){return new h({classificationMethod:this.classificationMethod,colorRamp:s(this.colorRamp),fadeRatio:s(this.fadeRatio),fields:this.fields?.slice(),field1:s(this.field1),field2:s(this.field2),isAutoGenerated:this.isAutoGenerated,focus:this.focus,numClasses:this.numClasses,maxSliderValue:this.maxSliderValue,minSliderValue:this.minSliderValue,lengthUnit:this.lengthUnit,statistics:this.statistics,standardDeviationInterval:this.standardDeviationInterval,type:this.type,visualVariables:this.visualVariables&&this.visualVariables.map(e=>e.clone()),univariateSymbolStyle:this.univariateSymbolStyle,univariateTheme:this.univariateTheme,flowTheme:this.flowTheme})}};e([l({type:c.apiValues,value:null,json:{type:c.jsonValues,read:c.read,write:c.write,origins:{"web-document":{default:"manual",type:c.jsonValues,read:c.read,write:c.write}}}})],b.prototype,"classificationMethod",null),e([l({types:p,json:{write:!0}})],b.prototype,"colorRamp",void 0),e([d("colorRamp")],b.prototype,"readColorRamp",null),e([l({json:{write:!0,origins:{"web-scene":{write:!1,read:!1}}}})],b.prototype,"fadeRatio",void 0),e([l({type:[String],value:null,json:{write:!0}})],b.prototype,"fields",null),e([l({type:o,value:null,json:{write:!0}})],b.prototype,"field1",null),e([l({type:o,value:null,json:{write:!0}})],b.prototype,"field2",null),e([l({type:v,value:null,json:{write:!0,origins:{"web-scene":{write:!1}}}})],b.prototype,"flowTheme",null),e([l({type:["HH","HL","LH","LL"],value:null,json:{write:!0}})],b.prototype,"focus",null),e([l({type:Boolean,json:{write:!0,default:!1,origins:{"web-scene":{write:!1}}}})],b.prototype,"isAutoGenerated",void 0),e([l({type:Number,value:null,json:{type:a,write:!0}})],b.prototype,"numClasses",null),e([l({type:m,json:{type:m,read:!1,write:!1,origins:{"web-scene":{read:!0,write:!0}}}})],b.prototype,"lengthUnit",void 0),e([l({type:Number,json:{write:!0,origins:{"web-scene":{write:!1,read:!1}}}})],b.prototype,"maxSliderValue",void 0),e([l({type:Number,json:{write:!0,origins:{"web-scene":{write:!1,read:!1}}}})],b.prototype,"minSliderValue",void 0),e([l({type:Object,value:null,json:{write:!0,origins:{"web-scene":{write:!1,read:!1}}}})],b.prototype,"statistics",null),e([l({type:[.25,.33,.5,1],value:null,json:{type:[.25,.33,.5,1],write:!0}})],b.prototype,"standardDeviationInterval",null),e([l({type:y.apiValues,value:null,json:{type:y.jsonValues,read:y.read,write:y.write}})],b.prototype,"type",null),e([l({type:[n],json:{write:!0}})],b.prototype,"visualVariables",void 0),e([l({type:w,value:null,json:{write:!0,origins:{"web-scene":{write:!1}}}})],b.prototype,"univariateSymbolStyle",null),e([l({type:f,value:null,json:{write:!0,origins:{"web-scene":{write:!1}}}})],b.prototype,"univariateTheme",null),b=h=e([r("esri.renderers.support.AuthoringInfo")],b);export{b as default};
2
+ import{__decorate as e}from"tslib";import{JSONMap as t}from"../../core/jsonMap.js";import{JSONSupport as i}from"../../core/JSONSupport.js";import{clone as s}from"../../core/lang.js";import{property as a,subclass as r}from"../../core/accessorSupport/decorators.js";import{Integer as l}from"../../core/accessorSupport/ensureType.js";import o from"./AuthoringInfoFieldInfo.js";import n from"./AuthoringInfoVisualVariable.js";import{fromJSON as u,types as p}from"../../rest/support/colorRamps.js";import{reader as d}from"../../core/accessorSupport/decorators/reader.js";var h;const c=new t({esriClassifyDefinedInterval:"defined-interval",esriClassifyEqualInterval:"equal-interval",esriClassifyManual:"manual",esriClassifyNaturalBreaks:"natural-breaks",esriClassifyQuantile:"quantile",esriClassifyStandardDeviation:"standard-deviation"}),y=new t({classedSize:"class-breaks-size",classedColor:"class-breaks-color",univariateColorSize:"univariate-color-size",relationship:"relationship",predominance:"predominance",dotDensity:"dot-density",flow:"flow"}),m=["inches","feet","yards","miles","nautical-miles","millimeters","centimeters","decimeters","meters","kilometers"],f=["high-to-low","above-and-below","above","below"],v=["flow-line","wave-front"],w=["caret","circle-caret","arrow","circle-arrow","plus-minus","circle-plus-minus","square","circle","triangle","happy-sad","thumb","custom"];let b=h=class extends i{constructor(e){super(e),this.colorRamp=null,this.dataSeriesName=null,this.fadeRatio=null,this.isAutoGenerated=!1,this.lengthUnit=null,this.maxSliderValue=null,this.minSliderValue=null,this.visualVariables=null}get classificationMethod(){const e=this._get("classificationMethod"),t=this.type;return t&&"relationship"!==t?"class-breaks-size"===t||"class-breaks-color"===t?e||"manual":null:e}set classificationMethod(e){this._set("classificationMethod",e)}readColorRamp(e){return e?u(e):void 0}get fields(){return this.type&&"predominance"!==this.type?null:this._get("fields")}set fields(e){this._set("fields",e)}get field1(){return this.type&&"relationship"!==this.type?null:this._get("field1")}set field1(e){this._set("field1",e)}get field2(){return this.type&&"relationship"!==this.type?null:this._get("field2")}set field2(e){this._set("field2",e)}get flowTheme(){return"flow"===this.type?this._get("flowTheme"):null}set flowTheme(e){this._set("flowTheme",e)}get focus(){return this.type&&"relationship"!==this.type?null:this._get("focus")}set focus(e){this._set("focus",e)}get numClasses(){return this.type&&"relationship"!==this.type?null:this._get("numClasses")}set numClasses(e){this._set("numClasses",e)}get statistics(){return"univariate-color-size"===this.type&&"above-and-below"===this.univariateTheme?this._get("statistics"):null}set statistics(e){this._set("statistics",e)}get standardDeviationInterval(){const e=this.type;return e&&"relationship"!==e&&"class-breaks-size"!==e&&"class-breaks-color"!==e||this.classificationMethod&&"standard-deviation"!==this.classificationMethod?null:this._get("standardDeviationInterval")}set standardDeviationInterval(e){this._set("standardDeviationInterval",e)}get type(){return this._get("type")}set type(e){let t=e;"classed-size"===e?t="class-breaks-size":"classed-color"===e&&(t="class-breaks-color"),this._set("type",t)}get univariateSymbolStyle(){return"univariate-color-size"===this.type&&"above-and-below"===this.univariateTheme?this._get("univariateSymbolStyle"):null}set univariateSymbolStyle(e){this._set("univariateSymbolStyle",e)}get univariateTheme(){return"univariate-color-size"===this.type?this._get("univariateTheme"):null}set univariateTheme(e){this._set("univariateTheme",e)}clone(){return new h({classificationMethod:this.classificationMethod,colorRamp:s(this.colorRamp),dataSeriesName:this.dataSeriesName,fadeRatio:s(this.fadeRatio),fields:this.fields?.slice(),field1:s(this.field1),field2:s(this.field2),isAutoGenerated:this.isAutoGenerated,focus:this.focus,numClasses:this.numClasses,maxSliderValue:this.maxSliderValue,minSliderValue:this.minSliderValue,lengthUnit:this.lengthUnit,statistics:this.statistics,standardDeviationInterval:this.standardDeviationInterval,type:this.type,visualVariables:this.visualVariables&&this.visualVariables.map(e=>e.clone()),univariateSymbolStyle:this.univariateSymbolStyle,univariateTheme:this.univariateTheme,flowTheme:this.flowTheme})}};e([a({type:c.apiValues,value:null,json:{type:c.jsonValues,read:c.read,write:c.write,origins:{"web-document":{default:"manual",type:c.jsonValues,read:c.read,write:c.write}}}})],b.prototype,"classificationMethod",null),e([a({types:p,json:{write:!0}})],b.prototype,"colorRamp",void 0),e([d("colorRamp")],b.prototype,"readColorRamp",null),e([a({type:String,json:{write:!0,origins:{"web-scene":{write:!1,read:!1}}}})],b.prototype,"dataSeriesName",void 0),e([a({json:{write:!0,origins:{"web-scene":{write:!1,read:!1}}}})],b.prototype,"fadeRatio",void 0),e([a({type:[String],value:null,json:{write:!0}})],b.prototype,"fields",null),e([a({type:o,value:null,json:{write:!0}})],b.prototype,"field1",null),e([a({type:o,value:null,json:{write:!0}})],b.prototype,"field2",null),e([a({type:v,value:null,json:{write:!0,origins:{"web-scene":{write:!1}}}})],b.prototype,"flowTheme",null),e([a({type:["HH","HL","LH","LL"],value:null,json:{write:!0}})],b.prototype,"focus",null),e([a({type:Boolean,json:{write:!0,default:!1,origins:{"web-scene":{write:!1}}}})],b.prototype,"isAutoGenerated",void 0),e([a({type:Number,value:null,json:{type:l,write:!0}})],b.prototype,"numClasses",null),e([a({type:m,json:{type:m,read:!1,write:!1,origins:{"web-scene":{read:!0,write:!0}}}})],b.prototype,"lengthUnit",void 0),e([a({type:Number,json:{write:!0,origins:{"web-scene":{write:!1,read:!1}}}})],b.prototype,"maxSliderValue",void 0),e([a({type:Number,json:{write:!0,origins:{"web-scene":{write:!1,read:!1}}}})],b.prototype,"minSliderValue",void 0),e([a({type:Object,value:null,json:{write:!0,origins:{"web-scene":{write:!1,read:!1}}}})],b.prototype,"statistics",null),e([a({type:[.25,.33,.5,1],value:null,json:{type:[.25,.33,.5,1],write:!0}})],b.prototype,"standardDeviationInterval",null),e([a({type:y.apiValues,value:null,json:{type:y.jsonValues,read:y.read,write:y.write}})],b.prototype,"type",null),e([a({type:[n],json:{write:!0}})],b.prototype,"visualVariables",void 0),e([a({type:w,value:null,json:{write:!0,origins:{"web-scene":{write:!1}}}})],b.prototype,"univariateSymbolStyle",null),e([a({type:f,value:null,json:{write:!0,origins:{"web-scene":{write:!1}}}})],b.prototype,"univariateTheme",null),b=h=e([r("esri.renderers.support.AuthoringInfo")],b);export{b as default};