@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,161 @@
1
+ import type TimeSeriesInfo from "../support/TimeSeriesInfo.js";
2
+ import type { TimeSeriesInfoProperties } from "../support/TimeSeriesInfo.js";
3
+
4
+ export interface DataSeriesLayerProperties {
5
+ /**
6
+ * An array of objects that define data series configurations for the layer. A data series
7
+ * describes a series of fields that represent a sequence of related data points over time or other dimensions.
8
+ * Client applications can use the information in a data series info to generate expressions for renderers,
9
+ * labels, popups, charts, or for other representations of the data to display in the web map. These may be
10
+ * defined and referenced by name in client applications for use in various contexts.
11
+ *
12
+ * @default null
13
+ * @example
14
+ * layer.dataSeriesInfos = [{
15
+ * type: "time-series-fields",
16
+ * name: "ts0",
17
+ * title: "U.S. National Park Annual Visitation Numbers (10 year increments, 1910-2020)",
18
+ * fieldTimeMappings: [
19
+ * {
20
+ * fieldName: "F1910",
21
+ * timeValue: "1910"
22
+ * },
23
+ * {
24
+ * fieldName: "F1920",
25
+ * timeValue: "1920"
26
+ * },
27
+ * {
28
+ * fieldName: "F1930",
29
+ * timeValue: "1930"
30
+ * },
31
+ * {
32
+ * fieldName: "F1940",
33
+ * timeValue: "1940"
34
+ * },
35
+ * {
36
+ * fieldName: "F1950",
37
+ * timeValue: "1950"
38
+ * },
39
+ * {
40
+ * fieldName: "F1960",
41
+ * timeValue: "1960"
42
+ * },
43
+ * {
44
+ * fieldName: "F1970",
45
+ * timeValue: "1970"
46
+ * },
47
+ * {
48
+ * fieldName: "F1980",
49
+ * timeValue: "1980"
50
+ * },
51
+ * {
52
+ * fieldName: "F1990",
53
+ * timeValue: "1990"
54
+ * },
55
+ * {
56
+ * fieldName: "F2000",
57
+ * timeValue: "2000"
58
+ * },
59
+ * {
60
+ * fieldName: "F2010",
61
+ * timeValue: "2010"
62
+ * },
63
+ * {
64
+ * fieldName: "F2020",
65
+ * timeValue: "2020"
66
+ * }
67
+ * ],
68
+ * timeInterval: 1,
69
+ * timeValueUnits: "years",
70
+ * timeIntervalUnits: "decades",
71
+ * timeExtent: {
72
+ * start: new Date("1910-01-01"),
73
+ * end: new Date("2020-01-01")
74
+ * }
75
+ * }];
76
+ */
77
+ dataSeriesInfos?: TimeSeriesInfoProperties[] | null;
78
+ }
79
+
80
+ /**
81
+ * Mixin for layers that support data series configurations.
82
+ *
83
+ * @since 5.1
84
+ */
85
+ export abstract class DataSeriesLayer {
86
+ constructor(...args: any[]);
87
+ /**
88
+ * An array of objects that define data series configurations for the layer. A data series
89
+ * describes a series of fields that represent a sequence of related data points over time or other dimensions.
90
+ * Client applications can use the information in a data series info to generate expressions for renderers,
91
+ * labels, popups, charts, or for other representations of the data to display in the web map. These may be
92
+ * defined and referenced by name in client applications for use in various contexts.
93
+ *
94
+ * @default null
95
+ * @example
96
+ * layer.dataSeriesInfos = [{
97
+ * type: "time-series-fields",
98
+ * name: "ts0",
99
+ * title: "U.S. National Park Annual Visitation Numbers (10 year increments, 1910-2020)",
100
+ * fieldTimeMappings: [
101
+ * {
102
+ * fieldName: "F1910",
103
+ * timeValue: "1910"
104
+ * },
105
+ * {
106
+ * fieldName: "F1920",
107
+ * timeValue: "1920"
108
+ * },
109
+ * {
110
+ * fieldName: "F1930",
111
+ * timeValue: "1930"
112
+ * },
113
+ * {
114
+ * fieldName: "F1940",
115
+ * timeValue: "1940"
116
+ * },
117
+ * {
118
+ * fieldName: "F1950",
119
+ * timeValue: "1950"
120
+ * },
121
+ * {
122
+ * fieldName: "F1960",
123
+ * timeValue: "1960"
124
+ * },
125
+ * {
126
+ * fieldName: "F1970",
127
+ * timeValue: "1970"
128
+ * },
129
+ * {
130
+ * fieldName: "F1980",
131
+ * timeValue: "1980"
132
+ * },
133
+ * {
134
+ * fieldName: "F1990",
135
+ * timeValue: "1990"
136
+ * },
137
+ * {
138
+ * fieldName: "F2000",
139
+ * timeValue: "2000"
140
+ * },
141
+ * {
142
+ * fieldName: "F2010",
143
+ * timeValue: "2010"
144
+ * },
145
+ * {
146
+ * fieldName: "F2020",
147
+ * timeValue: "2020"
148
+ * }
149
+ * ],
150
+ * timeInterval: 1,
151
+ * timeValueUnits: "years",
152
+ * timeIntervalUnits: "decades",
153
+ * timeExtent: {
154
+ * start: new Date("1910-01-01"),
155
+ * end: new Date("2020-01-01")
156
+ * }
157
+ * }];
158
+ */
159
+ get dataSeriesInfos(): TimeSeriesInfo[] | null | undefined;
160
+ set dataSeriesInfos(value: TimeSeriesInfoProperties[] | null | undefined);
161
+ }
@@ -0,0 +1,2 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
+ import{__decorate as e}from"tslib";import{property as r,subclass as o}from"../../core/accessorSupport/decorators.js";import{excludeTables as s}from"../../core/accessorSupport/layerContainerType.js";import t from"../support/TimeSeriesInfo.js";const i=i=>{const a=i;let n=class extends a{constructor(){super(...arguments),this.dataSeriesInfos=null}};return e([r({type:[t],json:{write:{enabled:!0,allowNull:!0,layerContainerTypes:s},origins:{"web-scene":{write:!1,read:!1}}}})],n.prototype,"dataSeriesInfos",void 0),n=e([o("esri.layers.mixins.DataSeriesLayer")],n),n};export{i as DataSeriesLayer};
@@ -147,8 +147,8 @@ export abstract class FeatureLayerBase {
147
147
  * @default false
148
148
  * @since 4.21
149
149
  * @see [ArcGIS REST API - New in 10.9](https://developers.arcgis.com/rest/services-reference/enterprise/layer-table/#new-in-109)
150
- * @see [What's new in ArcGIS Server](https://enterprise.arcgis.com/en/server/latest/get-started/windows/what-s-new-in-arcgis-for-server.htm)
151
- * @see [Edit map service settings](https://enterprise.arcgis.com/en/server/latest/publish-services/windows/edit-map-service-settings.htm#LI_A5825E4A9A3A42E991C662CD7B76A860)
150
+ * @see [What's new in ArcGIS Server](https://doc.esri.com/en/arcgis-enterprise/latest/introduction/what-s-new-in-arcgis-enterprise.html)
151
+ * @see [Edit map service settings](https://doc.esri.com/en/arcgis-enterprise/latest/administer/edit-map-service-settings.html#LI_A5825E4A9A3A42E991C662CD7B76A860)
152
152
  * @example
153
153
  * // Only download data for the year 2020.
154
154
  * // if the layer supports unknown time zone then create
@@ -296,7 +296,7 @@ export abstract class FeatureLayerBase {
296
296
  set fullExtent(value: ExtentProperties | null | undefined);
297
297
  /**
298
298
  * The version of the geodatabase of the feature service data. Read
299
- * 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
299
+ * 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
300
300
  * about this capability.
301
301
  */
302
302
  accessor gdbVersion: string | null | undefined;
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import{throwIfAborted as e}from"../../../core/promiseUtils.js";import{create as t}from"../../../core/libs/gl-matrix-2/factories/mat3f64.js";import{zeros as r}from"../../../core/libs/gl-matrix-2/factories/vec3f64.js";import{transpose as n}from"../../../core/libs/gl-matrix-2/math/mat3.js";import{sub as o,add as a}from"../../../core/libs/gl-matrix-2/math/vec3.js";import i from"../../../geometry/Circle.js";import c from"../../../geometry/Mesh.js";import s from"../../../geometry/Multipoint.js";import f from"../../../geometry/Polygon.js";import{projectAsync as l}from"../../../geometry/projectionUtils.js";import m from"../../../geometry/SpatialReference.js";import{polygonCentroidPoint as u}from"../../../geometry/support/centroid.js";import{earth as p}from"../../../geometry/support/Ellipsoid.js";import h from"../../../geometry/support/MeshComponent.js";import y from"../../../geometry/support/MeshVertexAttributes.js";import{create as g,fromArray as x,intersectRay as d}from"../../../geometry/support/plane.js";import{isWebMercator as w}from"../../../geometry/support/spatialReferenceUtils.js";import{computeHFOVAndVFOV as M,convertToSRUnits as R,scaleWithFactor as j,scaleAndAddWithFactor as v,projectiveTransform as P,getWebMercatorScalingFactor as b,createRotationMatrixFromHPR as D,transformMat3 as A}from"../transformations/utils.js";const I=Math.PI/180;function z(e){const t=R(e,e.geometry.spatialReference);return e.isSpherical?S(t):V(t)}function V(e){const{horizontalFieldOfView:t,verticalFieldOfView:r,geometry:n,cameraHeading:o}=e,a=b(n.y,n.spatialReference);let i=e.cameraPitch,c=e.cameraRoll??0,s=150;t>150&&(i=90,c=0,s=5);const l=Math.ceil(t/s),m=F(l,o,t);let u=e.farDistance?e.farDistance*a:e.cameraHeight*a/Math.cos(i*I);e.cameraPitch+r/2>=90&&(u=(e.farDistance||20)*a);const p=new f({spatialReference:n?.spatialReference});p.imageID=e.objectId;let h=null;for(const f of m)h=H(f,i,e.cameraHeight,n,u,a,r,t,l,p,c,e.nearDistance);return h.imageID=e.objectId,{polygon:p,frustum:h}}function F(e,t,r){const n=[];if(e%2==0)for(let o=0;o<e/2;o++)n.push(t-r/e*(o+.5),t+r/e*(o+.5));else{n.push(t);for(let o=1;o<e/2;o++)n.push(t-r/e*o,t+r/e*o)}return n.sort(),n}function H(e,i,c,s,f,l,m,u,p,h,y=0,g=0){const x=n(t(),D([e,i,y??0])),d=U({cameraHeight:c,cameraPitch:i,farDistance:f,location:s,horizontalFieldOfView:u,nearDistance:g,verticalFieldOfView:m},x),w=A([0,0,-1],x),{x:M,y:R}=s,P=v([M,R,c],w,f,l),b=2*Math.tan(m*I/2)*f,z=2*Math.tan(u/p*I/2)*f,V=A([0,1,0],x),F=A([1,0,0],x),H=j(V,b/2,l),S=j(F,z/2,l),q=o(r(),H,S),C=a(r(),H,S),E=O([a(r(),P,q),a(r(),P,C),o(r(),P,q),o(r(),P,C)],c,s,l);return E.push(E[0]),h.addRing(E),d}function O(e,t,r,n){return e.map(e=>E(e,t,r,n))}function S(e){const{geometry:t,farDistance:r,objectId:n,nearDistance:o,cameraHeight:a}=e,s=b(t.y,t.spatialReference),f=new i({center:t.clone(),radius:r*s});if(f.imageID=n,o){const e=new i({center:t.clone(),radius:o*s});f.addRing(e.rings[0])}const l=t.clone();l.z=a-r*s;const m=c.createSphere(l,{size:2*r*s});return m.imageID=n,{polygon:f,frustum:m}}function q(e,t){return e.contains(t)}function C(e,t){return Math.sign(e)!==Math.sign(t)}function U(e,t,n){const{cameraHeight:i,cameraPitch:s,farDistance:f,location:l,horizontalFieldOfView:m,nearDistance:u,verticalFieldOfView:p}=e,h=L(l),g=s+p/2>=90==!1,x=2*Math.tan(p*I/2)*u,d=2*Math.tan(m*I/2)*u,w=2*Math.tan(p*I/2)*f,M=2*Math.tan(m*I/2)*f;let R,P;P=[0,0,-1],P=A(P,t),R=v([l.x,l.y,i],P,f,h),g&&(R[2]=0);const b=v([l.x,l.y,i],P,u,h);let D=[0,1,0];D=A(D,t);let z=[1,0,0];z=A(z,t);let V=[],F=[];u?(F=[{faces:[4,0,3,4,7,3]},{faces:[5,1,2,5,6,2]},{faces:[4,0,1,4,5,1]},{faces:[6,2,3,6,7,3]}],V=V.concat(a(r(),b,o(r(),j(D,x/2,h),j(z,d/2,h)))),V=V.concat(a(r(),b,a(r(),j(D,x/2,h),j(z,d/2,h)))),V=V.concat(o(r(),b,o(r(),j(D,x/2,h),j(z,d/2,h)))),V=V.concat(o(r(),b,a(r(),j(D,x/2,h),j(z,d/2,h))))):(V=[l.x,l.y,i],F=[{faces:[0,1,2,0,2,3,0,3,4,0,4,1]}]),V=V.concat(a(r(),R,o(r(),j(D,w/2,h),j(z,M/2,h)))),V=V.concat(a(r(),R,a(r(),j(D,w/2,h),j(z,M/2,h)))),V=V.concat(o(r(),R,o(r(),j(D,w/2,h),j(z,M/2,h)))),V=V.concat(o(r(),R,a(r(),j(D,w/2,h),j(z,M/2,h))));const H=new y({position:Float64Array.from(V)});return new c({vertexAttributes:H,components:F,spatialReference:l.spatialReference})}function E(e,t,n,a){{const i=Math.sqrt((e[2]-t)**2+(Math.sqrt((e[0]-n.x)**2+(e[1]-n.y)**2)/a)**2)*a,c=j(o(r(),[e[0],e[1],e[2]],[n.x,n.y,t]),1/i,1/a),s=t/(t-e[2]),f={x:(1-s)*n.x+s*e[0],y:(1-s)*n.y+s*e[1],z:(1-s)*t+s*e[2]},l=Math.sqrt((f.z-t)**2+(Math.sqrt((f.x-n.x)**2+(f.y-n.y)**2)/a)**2)*a,m=j(o(r(),[f.x,f.y,f.z],[n.x,n.y,t]),1/l,1/a);return C(c[0],m[0])&&C(c[1],m[1])&&C(c[2],m[2])||e[2]>=0?[e[0],e[1],0]:[f.x,f.y,f.z]}}function k(e){const{spatialReference:t,x:r,y:n}=e.geometry,{cameraHeading:o,cameraPitch:a,farDistance:i,nearDistance:c}=e,s=L(e.geometry),l=new f({spatialReference:t}),m=Math.abs(1.44*i*s);let u=Math.abs(1.44*c*s);(a<20||null==o)&&(u=m);const p=[];return p[0]={x:r+m*Math.sin((o-45)*I),y:n+m*Math.cos((o-45)*I)},p[1]={x:r+m*Math.sin((o+45)*I),y:n+m*Math.cos((o+45)*I)},p[2]={x:r+u*Math.sin((o+135)*I),y:n+u*Math.cos((o+135)*I)},p[3]={x:r+u*Math.sin((o+225)*I),y:n+u*Math.cos((o+225)*I)},l.addRing([[p[0].x,p[0].y,0],[p[1].x,p[1].y,0],[p[2].x,p[2].y,0],[p[3].x,p[3].y,0],[p[0].x,p[0].y,0]]),l}function L(e){return e&&w(e?.spatialReference)?1/Math.cos(Math.PI/2-2*Math.atan(Math.exp(-1*e.y/p.radius))):1}function W(e,t){const n=1+t/100;if("esri.geometry.Circle"===e.declaredClass){const{radius:t,center:r}=e,o=new i({radius:t*n,center:r});return e.rings.length>1&&o.addRing(e.rings[1]),o}if("esri.geometry.Polygon"===e.declaredClass){const t=new f({spatialReference:e.spatialReference}),a=u(e);if(a){const i=[];for(let t=0;t<e.rings[0].length;t++){const c=Math.sqrt((a.x-e.rings[0][t][0])**2+(a.y-e.rings[0][t][1])**2),s=j(o(r(),[e.rings[0][t][0],e.rings[0][t][1],0],[a.x,a.y,0]),1/c,1),f=v([a.x,a.y,0],s,c*n,1);i.push({x:f[0],y:f[1]})}t.addRing([[i[0].x,i[0].y,0],[i[1].x,i[1].y,0],[i[2].x,i[2].y,0],[i[3].x,i[3].y,0],[i[0].x,i[0].y,0]])}return t}return e}async function B(e,t,r){const{cameraHeight:n,cameraLocation:o,cameraPitch:a,frustumVertices:i,horizontalFieldOfView:c,imageHeight:s,imageWidth:f,inSRS:l,outSRS:u,verticalFieldOfView:p,cameraRoll:h,options:y}=r,g=new m(l),x=new m(u),d=M(c,p,h??0),w=i.length>15;return a+d.vfov/2>=90?await Q(i,e,f,s,g,x,w,y):await G(i,e,t,o,n,w,g,x,y)}async function G(e,t,r,n,o,a,i,s,f){const l=J(e,t,r,n,o);if(!l)return;const{farPlane:m,nearPlane:u}=l,p=await T([...u?.vertexPositions??e.slice(0,3),...m.vertexPositions],i,s,f),h=_(p);return new c({vertexAttributes:new y({position:p}),components:$(a?Y(h,!0):Z(h,!0)),spatialReference:s})}function J(e,t,r,n,o){const a=X(e),i=X(e,"near");if(!a)return;const c=t.length;for(let s=0;s<c;s++){const e=Array.from(r[s]),t=[e[0]-n[0],e[1]-n[1],e[2]-(n[2]??o)];N(n,t,s,i),K(n,t,s,a)}return{farPlane:a,nearPlane:i}}function K(e,t,n,o){const{coefficients:a,vertexPositions:i}=o,c=r();d(a,{origin:e,direction:t},c)&&i.splice(3*n,3,...c)}function N(e,t,n,o){if(!o)return;const a=r();d(o.coefficients,{origin:e,direction:t},a)&&o.vertexPositions.splice(3*n,3,...a)}async function Q(e,t,r,n,o,a,i,s){let f,l=i?new Array:[e[0],e[1],e[2]],m=new Array;for(const c of t)i?(f=P([c[0],c[1],1],[[0,0,1],[r,0,1],[r,n,1],[0,n,1]],[[e[0],e[1],e[2]],[e[3],e[4],e[5]],[e[6],e[7],e[8]],[e[9],e[10],e[11]]]),l=l.concat(...f),f=P([c[0],c[1],1],[[0,0,1],[r,0,1],[r,n,1],[0,n,1]],[[e[12],e[13],e[14]],[e[15],e[16],e[17]],[e[18],e[19],e[20]],[e[21],e[22],e[23]]]),m=m.concat(...f)):(f=P([c[0],c[1],1],[[0,0,1],[r,0,1],[r,n,1],[0,n,1]],[[e[3],e[4],e[5]],[e[6],e[7],e[8]],[e[9],e[10],e[11]],[e[12],e[13],e[14]]]),l=l.concat(...f));l=l.concat(m);const u=await T(l,o,a,s),p=_(u);return new c({vertexAttributes:new y({position:u}),components:$(i?Y(p,!0):Z(p,!0)),spatialReference:a})}async function T(t,r,n,o){if(r.equals(n))return t;const a=t.reduce((e,t,r)=>{const n=Math.floor(r/3);return e[n]||(e[n]=new Array),e[n].push(t),e},new Array),{points:i}=await l(new s({points:a,spatialReference:r}),n,o);return e(o),i.flat()}function X(e,t="far"){const r=g();let n;switch(t){case"far":if(n=Array.from(15===e.length?e.slice(3):e.slice(12)),x(r,n,!1))return{coefficients:r,vertexPositions:n};break;case"near":if(n=Array.from(e.slice(0,12)),15===e.length||!x(r,n,!1))return;return{coefficients:r,vertexPositions:n}}}const Y=(e,t=!1)=>{if(t&&e-2<=4||e<=4||e%2!=0)throw new Error("Invalid number of vertices");const r=[],n=e/2,o=Math.round((t?e-2:e)/2);for(let a=0;a<o;a++){const o=a+n,i=t?o+1:o,c=i%e,s=(t?o:i+1)%e;r.push({faces:new Uint32Array([a,s,c,a,a+1,c])})}return r};function Z(e,t=!1){if(e<3||t&&e-1<3)throw new Error("Invalid number of vertices");const r=[],n=t?e-2:e-1;for(let o=0;o<n;o++)r.push({faces:new Uint32Array([0,o+1,o+2])});return r}const $=e=>e.map(e=>new h(e)),_=e=>e.length/3;export{q as checkIfPolygonContainsSelectedPoint,k as computePolygonForInspection,z as createCoveragePolygon,O as limitZToGround,T as projectVertices,W as resizePolygon,B as updateFrustum};
2
+ import{throwIfAborted as e}from"../../../core/promiseUtils.js";import{create as t}from"../../../core/libs/gl-matrix-2/factories/mat3f64.js";import{zeros as r}from"../../../core/libs/gl-matrix-2/factories/vec3f64.js";import{transpose as n}from"../../../core/libs/gl-matrix-2/math/mat3.js";import{sub as o,add as a}from"../../../core/libs/gl-matrix-2/math/vec3.js";import i from"../../../geometry/Circle.js";import s from"../../../geometry/Mesh.js";import c from"../../../geometry/Multipoint.js";import f from"../../../geometry/Polygon.js";import{projectAsync as l}from"../../../geometry/projectionUtils.js";import m from"../../../geometry/SpatialReference.js";import{polygonCentroidPoint as u}from"../../../geometry/support/centroid.js";import{earth as p}from"../../../geometry/support/Ellipsoid.js";import h from"../../../geometry/support/MeshComponent.js";import{createSphere as y}from"../../../geometry/support/meshUtils.js";import g from"../../../geometry/support/MeshVertexAttributes.js";import{create as x,fromArray as d,intersectRay as w}from"../../../geometry/support/plane.js";import{isWebMercator as M}from"../../../geometry/support/spatialReferenceUtils.js";import{computeHFOVAndVFOV as R,convertToSRUnits as j,scaleWithFactor as v,scaleAndAddWithFactor as P,projectiveTransform as b,getWebMercatorScalingFactor as D,createRotationMatrixFromHPR as A,transformMat3 as I}from"../transformations/utils.js";const z=Math.PI/180;function V(e){const t=j(e,e.geometry.spatialReference);return e.isSpherical?S(t):F(t)}function F(e){const{horizontalFieldOfView:t,verticalFieldOfView:r,geometry:n,cameraHeading:o}=e,a=D(n.y,n.spatialReference);let i=e.cameraPitch,s=e.cameraRoll??0,c=150;t>150&&(i=90,s=0,c=5);const l=Math.ceil(t/c),m=H(l,o,t);let u=e.farDistance?e.farDistance*a:e.cameraHeight*a/Math.cos(i*z);e.cameraPitch+r/2>=90&&(u=(e.farDistance||20)*a);const p=new f({spatialReference:n?.spatialReference});p.imageID=e.objectId;let h=null;for(const f of m)h=O(f,i,e.cameraHeight,n,u,a,r,t,l,p,s,e.nearDistance);return h.imageID=e.objectId,{polygon:p,frustum:h}}function H(e,t,r){const n=[];if(e%2==0)for(let o=0;o<e/2;o++)n.push(t-r/e*(o+.5),t+r/e*(o+.5));else{n.push(t);for(let o=1;o<e/2;o++)n.push(t-r/e*o,t+r/e*o)}return n.sort(),n}function O(e,i,s,c,f,l,m,u,p,h,y=0,g=0){const x=n(t(),A([e,i,y??0])),d=E({cameraHeight:s,cameraPitch:i,farDistance:f,location:c,horizontalFieldOfView:u,nearDistance:g,verticalFieldOfView:m},x),w=I([0,0,-1],x),{x:M,y:R}=c,j=P([M,R,s],w,f,l),b=2*Math.tan(m*z/2)*f,D=2*Math.tan(u/p*z/2)*f,V=I([0,1,0],x),F=I([1,0,0],x),H=v(V,b/2,l),O=v(F,D/2,l),S=o(r(),H,O),U=a(r(),H,O),C=q([a(r(),j,S),a(r(),j,U),o(r(),j,S),o(r(),j,U)],s,c,l);return C.push(C[0]),h.addRing(C),d}function q(e,t,r,n){return e.map(e=>k(e,t,r,n))}function S(e){const{geometry:t,farDistance:r,objectId:n,nearDistance:o,cameraHeight:a}=e,s=D(t.y,t.spatialReference),c=new i({center:t.clone(),radius:r*s});if(c.imageID=n,o){const e=new i({center:t.clone(),radius:o*s});c.addRing(e.rings[0])}const f=t.clone();f.z=a-r*s;const l=y(f,{size:2*r*s});return l.imageID=n,{polygon:c,frustum:l}}function U(e,t){return e.contains(t)}function C(e,t){return Math.sign(e)!==Math.sign(t)}function E(e,t,n){const{cameraHeight:i,cameraPitch:c,farDistance:f,location:l,horizontalFieldOfView:m,nearDistance:u,verticalFieldOfView:p}=e,h=W(l),y=c+p/2>=90==!1,x=2*Math.tan(p*z/2)*u,d=2*Math.tan(m*z/2)*u,w=2*Math.tan(p*z/2)*f,M=2*Math.tan(m*z/2)*f;let R,j;j=[0,0,-1],j=I(j,t),R=P([l.x,l.y,i],j,f,h),y&&(R[2]=0);const b=P([l.x,l.y,i],j,u,h);let D=[0,1,0];D=I(D,t);let A=[1,0,0];A=I(A,t);let V=[],F=[];u?(F=[{faces:[4,0,3,4,7,3]},{faces:[5,1,2,5,6,2]},{faces:[4,0,1,4,5,1]},{faces:[6,2,3,6,7,3]}],V=V.concat(a(r(),b,o(r(),v(D,x/2,h),v(A,d/2,h)))),V=V.concat(a(r(),b,a(r(),v(D,x/2,h),v(A,d/2,h)))),V=V.concat(o(r(),b,o(r(),v(D,x/2,h),v(A,d/2,h)))),V=V.concat(o(r(),b,a(r(),v(D,x/2,h),v(A,d/2,h))))):(V=[l.x,l.y,i],F=[{faces:[0,1,2,0,2,3,0,3,4,0,4,1]}]),V=V.concat(a(r(),R,o(r(),v(D,w/2,h),v(A,M/2,h)))),V=V.concat(a(r(),R,a(r(),v(D,w/2,h),v(A,M/2,h)))),V=V.concat(o(r(),R,o(r(),v(D,w/2,h),v(A,M/2,h)))),V=V.concat(o(r(),R,a(r(),v(D,w/2,h),v(A,M/2,h))));const H=new g({position:Float64Array.from(V)});return new s({vertexAttributes:H,components:F,spatialReference:l.spatialReference})}function k(e,t,n,a){{const i=Math.sqrt((e[2]-t)**2+(Math.sqrt((e[0]-n.x)**2+(e[1]-n.y)**2)/a)**2)*a,s=v(o(r(),[e[0],e[1],e[2]],[n.x,n.y,t]),1/i,1/a),c=t/(t-e[2]),f={x:(1-c)*n.x+c*e[0],y:(1-c)*n.y+c*e[1],z:(1-c)*t+c*e[2]},l=Math.sqrt((f.z-t)**2+(Math.sqrt((f.x-n.x)**2+(f.y-n.y)**2)/a)**2)*a,m=v(o(r(),[f.x,f.y,f.z],[n.x,n.y,t]),1/l,1/a);return C(s[0],m[0])&&C(s[1],m[1])&&C(s[2],m[2])||e[2]>=0?[e[0],e[1],0]:[f.x,f.y,f.z]}}function L(e){const{spatialReference:t,x:r,y:n}=e.geometry,{cameraHeading:o,cameraPitch:a,farDistance:i,nearDistance:s}=e,c=W(e.geometry),l=new f({spatialReference:t}),m=Math.abs(1.44*i*c);let u=Math.abs(1.44*s*c);(a<20||null==o)&&(u=m);const p=[];return p[0]={x:r+m*Math.sin((o-45)*z),y:n+m*Math.cos((o-45)*z)},p[1]={x:r+m*Math.sin((o+45)*z),y:n+m*Math.cos((o+45)*z)},p[2]={x:r+u*Math.sin((o+135)*z),y:n+u*Math.cos((o+135)*z)},p[3]={x:r+u*Math.sin((o+225)*z),y:n+u*Math.cos((o+225)*z)},l.addRing([[p[0].x,p[0].y,0],[p[1].x,p[1].y,0],[p[2].x,p[2].y,0],[p[3].x,p[3].y,0],[p[0].x,p[0].y,0]]),l}function W(e){return e&&M(e?.spatialReference)?1/Math.cos(Math.PI/2-2*Math.atan(Math.exp(-1*e.y/p.radius))):1}function B(e,t){const n=1+t/100;if("esri.geometry.Circle"===e.declaredClass){const{radius:t,center:r}=e,o=new i({radius:t*n,center:r});return e.rings.length>1&&o.addRing(e.rings[1]),o}if("esri.geometry.Polygon"===e.declaredClass){const t=new f({spatialReference:e.spatialReference}),a=u(e);if(a){const i=[];for(let t=0;t<e.rings[0].length;t++){const s=Math.sqrt((a.x-e.rings[0][t][0])**2+(a.y-e.rings[0][t][1])**2),c=v(o(r(),[e.rings[0][t][0],e.rings[0][t][1],0],[a.x,a.y,0]),1/s,1),f=P([a.x,a.y,0],c,s*n,1);i.push({x:f[0],y:f[1]})}t.addRing([[i[0].x,i[0].y,0],[i[1].x,i[1].y,0],[i[2].x,i[2].y,0],[i[3].x,i[3].y,0],[i[0].x,i[0].y,0]])}return t}return e}async function G(e,t,r){const{cameraHeight:n,cameraLocation:o,cameraPitch:a,frustumVertices:i,horizontalFieldOfView:s,imageHeight:c,imageWidth:f,inSRS:l,outSRS:u,verticalFieldOfView:p,cameraRoll:h,options:y}=r,g=new m(l),x=new m(u),d=R(s,p,h??0),w=i.length>15;return a+d.vfov/2>=90?await T(i,e,f,c,g,x,w,y):await J(i,e,t,o,n,w,g,x,y)}async function J(e,t,r,n,o,a,i,c,f){const l=K(e,t,r,n,o);if(!l)return;const{farPlane:m,nearPlane:u}=l,p=await X([...u?.vertexPositions??e.slice(0,3),...m.vertexPositions],i,c,f),h=ee(p);return new s({vertexAttributes:new g({position:p}),components:_(a?Z(h,!0):$(h,!0)),spatialReference:c})}function K(e,t,r,n,o){const a=Y(e),i=Y(e,"near");if(!a)return;const s=t.length;for(let c=0;c<s;c++){const e=Array.from(r[c]),t=[e[0]-n[0],e[1]-n[1],e[2]-(n[2]??o)];Q(n,t,c,i),N(n,t,c,a)}return{farPlane:a,nearPlane:i}}function N(e,t,n,o){const{coefficients:a,vertexPositions:i}=o,s=r();w(a,{origin:e,direction:t},s)&&i.splice(3*n,3,...s)}function Q(e,t,n,o){if(!o)return;const a=r();w(o.coefficients,{origin:e,direction:t},a)&&o.vertexPositions.splice(3*n,3,...a)}async function T(e,t,r,n,o,a,i,c){let f,l=i?new Array:[e[0],e[1],e[2]],m=new Array;for(const s of t)i?(f=b([s[0],s[1],1],[[0,0,1],[r,0,1],[r,n,1],[0,n,1]],[[e[0],e[1],e[2]],[e[3],e[4],e[5]],[e[6],e[7],e[8]],[e[9],e[10],e[11]]]),l=l.concat(...f),f=b([s[0],s[1],1],[[0,0,1],[r,0,1],[r,n,1],[0,n,1]],[[e[12],e[13],e[14]],[e[15],e[16],e[17]],[e[18],e[19],e[20]],[e[21],e[22],e[23]]]),m=m.concat(...f)):(f=b([s[0],s[1],1],[[0,0,1],[r,0,1],[r,n,1],[0,n,1]],[[e[3],e[4],e[5]],[e[6],e[7],e[8]],[e[9],e[10],e[11]],[e[12],e[13],e[14]]]),l=l.concat(...f));l=l.concat(m);const u=await X(l,o,a,c),p=ee(u);return new s({vertexAttributes:new g({position:u}),components:_(i?Z(p,!0):$(p,!0)),spatialReference:a})}async function X(t,r,n,o){if(r.equals(n))return t;const a=t.reduce((e,t,r)=>{const n=Math.floor(r/3);return e[n]||(e[n]=new Array),e[n].push(t),e},new Array),{points:i}=await l(new c({points:a,spatialReference:r}),n,o);return e(o),i.flat()}function Y(e,t="far"){const r=x();let n;switch(t){case"far":if(n=Array.from(15===e.length?e.slice(3):e.slice(12)),d(r,n,!1))return{coefficients:r,vertexPositions:n};break;case"near":if(n=Array.from(e.slice(0,12)),15===e.length||!d(r,n,!1))return;return{coefficients:r,vertexPositions:n}}}const Z=(e,t=!1)=>{if(t&&e-2<=4||e<=4||e%2!=0)throw new Error("Invalid number of vertices");const r=[],n=e/2,o=Math.round((t?e-2:e)/2);for(let a=0;a<o;a++){const o=a+n,i=t?o+1:o,s=i%e,c=(t?o:i+1)%e;r.push({faces:new Uint32Array([a,c,s,a,a+1,s])})}return r};function $(e,t=!1){if(e<3||t&&e-1<3)throw new Error("Invalid number of vertices");const r=[],n=t?e-2:e-1;for(let o=0;o<n;o++)r.push({faces:new Uint32Array([0,o+1,o+2])});return r}const _=e=>e.map(e=>new h(e)),ee=e=>e.length/3;export{U as checkIfPolygonContainsSelectedPoint,L as computePolygonForInspection,V as createCoveragePolygon,q as limitZToGround,X as projectVertices,B as resizePolygon,G as updateFrustum};
@@ -67,7 +67,7 @@ export type Hour12 = "always" | "auto" | "never";
67
67
  * | `short-date-le`, `short-date-le-short-time`, `short-date-le-short-time-24`, `short-date-le-long-time`, `short-date-le-long-time-24` | Treated as equivalent to non-LE versions. `LE` is no longer needed since locale is implied from the browser. |
68
68
  *
69
69
  * @since 4.34
70
- * @see [MDN documentation - DateTimeFormat](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat)
70
+ * @see [MDN documentation - DateTimeFormat](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat)
71
71
  * @see [CLDR](https://cldr.unicode.org/)
72
72
  * @see [FieldConfiguration](https://developers.arcgis.com/javascript/latest/references/core/layers/support/FieldConfiguration/)
73
73
  * @example
@@ -95,10 +95,10 @@ export type Hour12 = "always" | "auto" | "never";
95
95
  export default class DateTimeFieldFormat extends FieldFormat {
96
96
  constructor(properties?: DateTimeFieldFormatProperties);
97
97
  /**
98
- * Defines the date format. For more options, refer to the [MDN documentation](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat#parameters).
98
+ * Defines the date format. For more options, refer to the [MDN documentation](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat#parameters).
99
99
  *
100
100
  * @since 4.34
101
- * @see [MDN documentation](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat)
101
+ * @see [MDN documentation](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat)
102
102
  */
103
103
  accessor dateStyle: "full" | "long" | "medium" | "short" | null | undefined;
104
104
  /**
@@ -112,21 +112,21 @@ export default class DateTimeFieldFormat extends FieldFormat {
112
112
  *
113
113
  * @default "auto"
114
114
  * @since 4.34
115
- * @see [MDN documentation](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat#parameters)
115
+ * @see [MDN documentation](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat#parameters)
116
116
  */
117
117
  accessor hour12: Hour12;
118
118
  /**
119
- * Specifies how the month is displayed. For more options, refer to the [MDN documentation](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat).
119
+ * Specifies how the month is displayed. For more options, refer to the [MDN documentation](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat).
120
120
  *
121
121
  * @since 4.34
122
- * @see [MDN documentation](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat)
122
+ * @see [MDN documentation](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat)
123
123
  */
124
124
  accessor month: "long" | "short" | null | undefined;
125
125
  /**
126
- * Defines the time format. For more options, refer to the [MDN documentation](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat#parameters).
126
+ * Defines the time format. For more options, refer to the [MDN documentation](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat#parameters).
127
127
  *
128
128
  * @since 4.34
129
- * @see [MDN documentation](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat)
129
+ * @see [MDN documentation](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat)
130
130
  */
131
131
  accessor timeStyle: "full" | "long" | "medium" | "short" | null | undefined;
132
132
  /**
@@ -136,10 +136,10 @@ export default class DateTimeFieldFormat extends FieldFormat {
136
136
  */
137
137
  get type(): "date-time";
138
138
  /**
139
- * Specifies how the year is displayed. Currently, only supports `numeric`. For more options, refer to the [MDN documentation](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat).
139
+ * Specifies how the year is displayed. Currently, only supports `numeric`. For more options, refer to the [MDN documentation](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat).
140
140
  *
141
141
  * @since 4.34
142
- * @see [MDN documentation](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat)
142
+ * @see [MDN documentation](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat)
143
143
  */
144
144
  accessor year: "numeric" | null | undefined;
145
145
  }
@@ -15,11 +15,11 @@ export interface FeatureEffectProperties extends Partial<Pick<FeatureEffect, "ex
15
15
 
16
16
  /**
17
17
  * Effect provides various filter functions that can be performed on a layer or a layerView to achieve different visual effects similar to
18
- * how image filters (photo apps) work. The [CSS filters](https://developer.mozilla.org/en-US/docs/Web/CSS/filter) are supported as effects in the API
18
+ * how image filters (photo apps) work. The [CSS filters](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/filter) are supported as effects in the API
19
19
  * with the following differences:
20
20
  *
21
- * * No [url()](https://developer.mozilla.org/en-US/docs/Web/CSS/filter) css filter support.
22
- * * Only [absolute length](https://developer.mozilla.org/en-US/docs/Web/CSS/length) units are allowed for the effects where lengths are accepted.
21
+ * * No [url()](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/filter) css filter support.
22
+ * * Only [absolute length](https://developer.mozilla.org/docs/Web/CSS/length) units are allowed for the effects where lengths are accepted.
23
23
  * * Support for [bloom](https://en.wikipedia.org/wiki/Bloom_(shader_effect)) effect in addition to css filters.
24
24
  *
25
25
  * The following effects are supported: `bloom`, `blur`, `brightness`, `contrast`, `drop-shadow`, `grayscale`, `hue-rotate`, `invert`, `opacity`, `saturate`
@@ -121,7 +121,7 @@ export interface FeatureEffectProperties extends Partial<Pick<FeatureEffect, "ex
121
121
  * | Parameter | Description |
122
122
  * | --------- | ----------- |
123
123
  * | strength | The intensity of the bloom effect. This value can percent or number. Default is 1. The higher the value, the brighter the glow. Negative values are not allowed. |
124
- * | radius | Determines the radius of the blur in an [absolute length](https://developer.mozilla.org/en-US/docs/Web/CSS/length). Default value is 0. Negative values are not allowed. Leaves the features inside the radius untouched. |
124
+ * | radius | Determines the radius of the blur in an [absolute length](https://developer.mozilla.org/docs/Web/CSS/length). Default value is 0. Negative values are not allowed. Leaves the features inside the radius untouched. |
125
125
  * | threshold | Determines how bright a color must be before it blooms or glows. Accepted values are 0%-100% or 0-1. Default value is 0. |
126
126
  *
127
127
  * ```js
@@ -155,9 +155,9 @@ export interface FeatureEffectProperties extends Partial<Pick<FeatureEffect, "ex
155
155
  * ];
156
156
  * ```
157
157
  *
158
- * [blur(radius)](https://developer.mozilla.org/en-US/docs/Web/CSS/filter-function/blur) - Applies a [Gaussian blur](https://en.wikipedia.org/wiki/Gaussian_blur#:~:text=In%20image%20processing%2C%20a%20Gaussian,image%20noise%20and%20reduce%20detail.)
158
+ * [blur(radius)](https://developer.mozilla.org/docs/Web/CSS/Reference/Values/filter-function/blur) - Applies a [Gaussian blur](https://en.wikipedia.org/wiki/Gaussian_blur#:~:text=In%20image%20processing%2C%20a%20Gaussian,image%20noise%20and%20reduce%20detail.)
159
159
  * to a layer or a layerView. It makes look like you are viewing a layer through a translucent screen making it look out of focus or blurry. The `radius` parameter of the blur is
160
- * specified in a [absolute length](https://developer.mozilla.org/en-US/docs/Web/CSS/length).
160
+ * specified in a [absolute length](https://developer.mozilla.org/docs/Web/CSS/length).
161
161
  * It defines how many pixels on the screen blend into each other. A larger value will create more blur. Negative values are not allowed.
162
162
  *
163
163
  * The `blur` effect can be used to soften a layer underneath a reference layer, or other layers of importance, so above features can stand out more clearly.
@@ -173,7 +173,7 @@ export interface FeatureEffectProperties extends Partial<Pick<FeatureEffect, "ex
173
173
  * layer.effect = "blur(5px)";
174
174
  * ```
175
175
  *
176
- * [brightness(percent | number)](https://developer.mozilla.org/en-US/docs/Web/CSS/filter-function/brightness) - Applies a linear multiplier to a layer or a layerView, making it appear brighter or darker.
176
+ * [brightness(percent | number)](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/filter-function/brightness) - Applies a linear multiplier to a layer or a layerView, making it appear brighter or darker.
177
177
  *
178
178
  * | Values | Effect |
179
179
  * | ------ | ------ |
@@ -182,7 +182,7 @@ export interface FeatureEffectProperties extends Partial<Pick<FeatureEffect, "ex
182
182
  * | > 100% or > 1 | Brighter layer |
183
183
  * | < 100% or < 1 | Darker layer |
184
184
  *
185
- * [contrast(percent | number)](https://developer.mozilla.org/en-US/docs/Web/CSS/filter-function/contrast) – Adjusts the contrast of a layer or a layerView. Negative values are not allowed.
185
+ * [contrast(percent | number)](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/filter-function/contrast) – Adjusts the contrast of a layer or a layerView. Negative values are not allowed.
186
186
  *
187
187
  * | Values | Effect |
188
188
  * | ------ | ------ |
@@ -191,16 +191,16 @@ export interface FeatureEffectProperties extends Partial<Pick<FeatureEffect, "ex
191
191
  * | > 100% or > 1 | More contrast in a layer |
192
192
  * | < 100% or < 1 | Less contrast in a layer |
193
193
  *
194
- * [drop-shadow(offsetX, offsetY, blurRadius?, color?)](https://developer.mozilla.org/en-US/docs/Web/CSS/filter-function/drop-shadow) - Applies a drop shadow effect to a layer or a layerView that follows
194
+ * [drop-shadow(offsetX, offsetY, blurRadius?, color?)](https://developer.mozilla.org/docs/Web/CSS/Reference/Values/filter-function/drop-shadow) - Applies a drop shadow effect to a layer or a layerView that follows
195
195
  * the outline of the layer or the layerView. The `drop-shadow` effect is useful when you want some features to stand out from the rest of the features on a busy map. For example, you can apply this effect
196
196
  * to your labels (reference layer) to make them legible.
197
197
  *
198
198
  * | Parameter | Description |
199
199
  * | --------- | ----------- |
200
- * | offset-x | An [absolute length](https://developer.mozilla.org/en-US/docs/Web/CSS/length) value that determines the shadow offset in the horizontal distance. Negative values place the shadow to the left of the layer. If both x and y offsets are 0, the shadow is placed directly underneath the layer. |
201
- * | offset-y | An [absolute length](https://developer.mozilla.org/en-US/docs/Web/CSS/length) value that determines the shadow offset in the vertical distance. Negative values place the shadow above the layer. |
200
+ * | offset-x | An [absolute length](https://developer.mozilla.org/docs/Web/CSS/length) value that determines the shadow offset in the horizontal distance. Negative values place the shadow to the left of the layer. If both x and y offsets are 0, the shadow is placed directly underneath the layer. |
201
+ * | offset-y | An [absolute length](https://developer.mozilla.org/docs/Web/CSS/length) value that determines the shadow offset in the vertical distance. Negative values place the shadow above the layer. |
202
202
  * | blur-radius |An absolute length value that determines the blur radius. The larger the value, the larger and more blurred the shadow becomes. If unspecified, it defaults to 0, resulting in a sharp, unblurred edge. Negative values are not allowed. |
203
- * | color | The [color](https://developer.mozilla.org/en-US/docs/Web/CSS/color_value) of the shadow. If unspecified, it defaults to black color. |
203
+ * | color | The [color](https://developer.mozilla.org/docs/Web/CSS/color_value) of the shadow. If unspecified, it defaults to black color. |
204
204
  *
205
205
  * ```js
206
206
  * const featureFilter = new FeatureFilter({
@@ -220,7 +220,7 @@ export interface FeatureEffectProperties extends Partial<Pick<FeatureEffect, "ex
220
220
  * </figcaption>
221
221
  * </figure>
222
222
  *
223
- * [grayscale(percent | number)](https://developer.mozilla.org/en-US/docs/Web/CSS/filter-function/grayscale) - Converts a layer or a layerView to grayscale. The value of amount defines the proportion
223
+ * [grayscale(percent | number)](https://developer.mozilla.org/docs/Web/CSS/Reference/Values/filter-function/grayscale) - Converts a layer or a layerView to grayscale. The value of amount defines the proportion
224
224
  * of the conversion. If the amount parameter is missing, a value of 100% is used. Negative values are not allowed.
225
225
  *
226
226
  * | Values | Effect |
@@ -230,15 +230,15 @@ export interface FeatureEffectProperties extends Partial<Pick<FeatureEffect, "ex
230
230
  * | < 100% or < 1 | Varying shades of gray |
231
231
  * | > 100% or > 1 | Same as 100% or 1 |
232
232
  *
233
- * [hue-rotate(angle)](https://developer.mozilla.org/en-US/docs/Web/CSS/filter-function/hue-rotate) - Applies a hue rotation on a layer or a layerView. The value of angle defines the number of degrees
233
+ * [hue-rotate(angle)](https://developer.mozilla.org/docs/Web/CSS/Reference/Values/filter-function/hue-rotate) - Applies a hue rotation on a layer or a layerView. The value of angle defines the number of degrees
234
234
  * around the [color wheel](https://en.wikipedia.org/wiki/Color_wheel). The colors in the layer will be shifted to the colors at the specified angle.
235
235
  * A value of `0deg` leaves the input unchanged. Maximum value is `360deg`. A positive hue rotation shifts the hue clock-wise while a negative rotation shifts the hue counter clock-wise.
236
236
  *
237
237
  * | Parameter | Description |
238
238
  * | --------- | ----------- |
239
- * | angle | The relative change in hue of the input sample, specified as an [angle](https://developer.mozilla.org/en-US/docs/Web/CSS/angle) such as `deg`, `rad`, `grad` and `turn`. |
239
+ * | angle | The relative change in hue of the input sample, specified as an [angle](https://developer.mozilla.org/docs/Web/CSS/angle) such as `deg`, `rad`, `grad` and `turn`. |
240
240
  *
241
- * [invert(percent | number)](https://developer.mozilla.org/en-US/docs/Web/CSS/filter-function/invert) - Inverts the samples in the layer. The value of amount defines the proportion
241
+ * [invert(percent | number)](https://developer.mozilla.org/docs/Web/CSS/Reference/Values/filter-function/invert) - Inverts the samples in the layer. The value of amount defines the proportion
242
242
  * of the conversion. Negative values are not allowed.
243
243
  *
244
244
  * | Values | Effect |
@@ -248,7 +248,7 @@ export interface FeatureEffectProperties extends Partial<Pick<FeatureEffect, "ex
248
248
  * | < 100% or < 1 | Varying degrees of inversion |
249
249
  * | > 100% or > 1 |Same as 100% or 1 |
250
250
  *
251
- * [opacity(percent | number)](https://developer.mozilla.org/en-US/docs/Web/CSS/filter-function/opacity) - Applies transparency to a layer or a layerView. The value of amount
251
+ * [opacity(percent | number)](https://developer.mozilla.org/docs/Web/CSS/Reference/Values/filter-function/opacity) - Applies transparency to a layer or a layerView. The value of amount
252
252
  * defines the proportion of the conversion. Negative values are not allowed.
253
253
  *
254
254
  * | Values | Effect |
@@ -258,7 +258,7 @@ export interface FeatureEffectProperties extends Partial<Pick<FeatureEffect, "ex
258
258
  * | < 100% or < 1 | Varying degrees of opacity |
259
259
  * | > 100% or > 1 | Same as 100% or 1 |
260
260
  *
261
- * [saturate(percent | number)](https://developer.mozilla.org/en-US/docs/Web/CSS/filter-function/opacity) - Saturates or desaturates a layer or a layerView.
261
+ * [saturate(percent | number)](https://developer.mozilla.org/docs/Web/CSS/Reference/Values/filter-function/opacity) - Saturates or desaturates a layer or a layerView.
262
262
  *
263
263
  * | Values | Effect |
264
264
  * | ------ | ------ |
@@ -267,7 +267,7 @@ export interface FeatureEffectProperties extends Partial<Pick<FeatureEffect, "ex
267
267
  * | < 100% or < 1 | Varying degrees of desaturation |
268
268
  * | > 100% or > 1 | Varying degrees of saturation |
269
269
  *
270
- * [sepia(percent | number)](https://developer.mozilla.org/en-US/docs/Web/CSS/filter-function/opacity) - Converts colors in a layer or a layerView to sepia, giving it a warmer, more yellow/brown appearance.
270
+ * [sepia(percent | number)](https://developer.mozilla.org/docs/Web/CSS/Reference/Values/filter-function/opacity) - Converts colors in a layer or a layerView to sepia, giving it a warmer, more yellow/brown appearance.
271
271
  * Negative values are not allowed.
272
272
  * | Values | Effect |
273
273
  * | ------ | ------ |
@@ -335,7 +335,7 @@ export interface EffectScaleStop {
335
335
  /**
336
336
  * FeatureEffect allows you to emphasize or deemphasize features that
337
337
  * satisfy a [filter](https://developers.arcgis.com/javascript/latest/references/core/layers/support/FeatureEffect/#filter) in 2D [MapView](https://developers.arcgis.com/javascript/latest/references/core/views/MapView/). The [includedEffect](https://developers.arcgis.com/javascript/latest/references/core/layers/support/FeatureEffect/#includedEffect) and
338
- * [excludedEffect](https://developers.arcgis.com/javascript/latest/references/core/layers/support/FeatureEffect/#excludedEffect) properties allow you to apply [CSS filters](https://developer.mozilla.org/en-US/docs/Web/CSS/filter)
338
+ * [excludedEffect](https://developers.arcgis.com/javascript/latest/references/core/layers/support/FeatureEffect/#excludedEffect) properties allow you to apply [CSS filters](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/filter)
339
339
  * to features that are either included or excluded from the filter. Typically, you use `includedEffect` to emphasize features that
340
340
  * are included in the filter and `excludedEffect` to deemphasize features excluded from the filter.
341
341
  *
@@ -388,7 +388,7 @@ export default class FeatureEffect extends JSONSupport {
388
388
  constructor(properties?: FeatureEffectProperties);
389
389
  /**
390
390
  * The [Effect](https://developers.arcgis.com/javascript/latest/references/core/layers/support/FeatureEffect/#Effect) applied to features that do not meet
391
- * the [filter](https://developers.arcgis.com/javascript/latest/references/core/layers/support/FeatureEffect/#filter) requirements. Effect allows you to apply [css filter-like](https://developer.mozilla.org/en-US/docs/Web/CSS/filter)
391
+ * the [filter](https://developers.arcgis.com/javascript/latest/references/core/layers/support/FeatureEffect/#filter) requirements. Effect allows you to apply [css filter-like](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/filter)
392
392
  * functions to layers and layerViews to create custom visual effects to enhance the cartographic quality of your maps.
393
393
  *
394
394
  * @see [Sample - Apply effects to features](https://developers.arcgis.com/javascript/latest/sample-code/featureeffect-geometry/)
@@ -423,7 +423,7 @@ export default class FeatureEffect extends JSONSupport {
423
423
  set filter(value: FeatureFilterProperties | null | undefined);
424
424
  /**
425
425
  * The [Effect](https://developers.arcgis.com/javascript/latest/references/core/layers/support/FeatureEffect/#Effect) applied to features that meet the [filter](https://developers.arcgis.com/javascript/latest/references/core/layers/support/FeatureEffect/#filter) requirements.
426
- * Effect allows you to apply [css filter-like](https://developer.mozilla.org/en-US/docs/Web/CSS/filter)
426
+ * Effect allows you to apply [css filter-like](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/filter)
427
427
  * functions to layers and layerViews to create custom visual effects to enhance the cartographic quality of your maps.
428
428
  *
429
429
  * @see [Sample - Apply effects to features](https://developers.arcgis.com/javascript/latest/sample-code/featureeffect-geometry/)
@@ -144,8 +144,8 @@ export default class Field extends JSONSupport {
144
144
  * >
145
145
  * > Support for `big-integer`, `date-only`, `time-only` and `timestamp-offset` fields was added in beta for [FeatureLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/FeatureLayer/) and [MapImageLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/MapImageLayer/) at version 4.28.
146
146
  * > The `big-integer` field type is in beta and may not be fully supported in the JavaScript SDK.
147
- * > The JavaScript SDK only supports safe integers that fall between -9007199254740991 [(minimum)](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/MIN_SAFE_INTEGER)
148
- * > and 9007199254740991 [(maximum)](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/MAX_SAFE_INTEGER). Numbers that fall outside of this
147
+ * > The JavaScript SDK only supports safe integers that fall between -9007199254740991 [(minimum)](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number/MIN_SAFE_INTEGER)
148
+ * > and 9007199254740991 [(maximum)](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number/MAX_SAFE_INTEGER). Numbers that fall outside of this
149
149
  * > range will be incorrect due to rounding, resulting in graphical or performance issues.
150
150
  * > For example, a calculation using Arcade expressions that results in a value exceeding these safe integers may be incorrect since rounding can occur.
151
151
  * > Web applications can only edit whole numbers between -9007199254740991 and 9007199254740991.
@@ -6,7 +6,7 @@ export interface ImageElementProperties extends MediaElementBaseProperties, Part
6
6
 
7
7
  /**
8
8
  * Represents an image element referenced in the MediaLayer's [MediaLayer.source](https://developers.arcgis.com/javascript/latest/references/core/layers/MediaLayer/#source).
9
- * MediaLayer can display images that are supported by web browsers. Refer to the [common image file types](https://developer.mozilla.org/en-US/docs/Web/Media/Formats/Image_types#common_image_file_types)
9
+ * MediaLayer can display images that are supported by web browsers. Refer to the [common image file types](https://developer.mozilla.org/docs/Web/Media/Formats/Image_types#common_image_file_types)
10
10
  * document for supported image types.
11
11
  *
12
12
  * 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).
@@ -41,7 +41,7 @@ export type Grouping = "always" | "auto" | "never";
41
41
  *
42
42
  * @since 4.34
43
43
  * @see [FieldConfiguration](https://developers.arcgis.com/javascript/latest/references/core/layers/support/FieldConfiguration/)
44
- * @see [MDN documentation - DateTimeFormat](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat)
44
+ * @see [MDN documentation - DateTimeFormat](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat)
45
45
  * @see [CLDR](https://cldr.unicode.org/)
46
46
  * @example
47
47
  * // Create a number field format
@@ -70,7 +70,7 @@ export default class NumberFieldFormat extends FieldFormat {
70
70
  /**
71
71
  * The maximum number of decimal places to display. If the number has more decimal places, it will be rounded to the nearest value with the specified number of decimal places. For example, if `maximumFractionDigits` is set to `2`, the number `3.456` will be displayed as `3.46`.
72
72
  *
73
- * @see [MDN documentation](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat)
73
+ * @see [MDN documentation](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat)
74
74
  */
75
75
  accessor maximumFractionDigits: number;
76
76
  /**
@@ -80,14 +80,14 @@ export default class NumberFieldFormat extends FieldFormat {
80
80
  * with the specified number of decimal places.
81
81
  * For example, if `minimumFractionDigits` is set to `2`, the number `3.1` will be displayed as `3.10` and the number `3.456` will be displayed as `3.46`.
82
82
  *
83
- * @see [MDN documentation](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat)
83
+ * @see [MDN documentation](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat)
84
84
  */
85
85
  accessor minimumFractionDigits: number;
86
86
  /**
87
87
  * The formatting style to use. Support is currently limited to `decimal` style.
88
88
  *
89
89
  * @default decimal
90
- * @see [MDN documentation](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat)
90
+ * @see [MDN documentation](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat)
91
91
  */
92
92
  get style(): Style;
93
93
  /** The type of field format. */
@@ -96,7 +96,7 @@ export default class NumberFieldFormat extends FieldFormat {
96
96
  * Indicates whether to use grouping separators, such as thousands separators. For example, if `useGrouping` is set to `always`, the number `1234567` will be displayed as `1,234,567`. If set to `never`, the number will be displayed as `1234567`. `auto` is the default value and uses grouping separators based on the locale and the number of digits.
97
97
  *
98
98
  * @default auto
99
- * @see [MDN documentation](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat)
99
+ * @see [MDN documentation](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat)
100
100
  */
101
101
  accessor useGrouping: Grouping;
102
102
  }
@@ -15,7 +15,7 @@ export interface StreamConnectionEvents {
15
15
  * An array of JSON [Features](https://developers.arcgis.com/javascript/latest/references/core/portal/jsonTypes/#Feature) that can be added to a [StreamLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/StreamLayer/) on the client by calling its
16
16
  * [sendMessageToClient()](https://developers.arcgis.com/javascript/latest/references/core/layers/StreamLayer/#sendMessageToClient) method.
17
17
  * Each feature is an esri Feature JSON object as defined in the
18
- * [Feature object specification](https://next.gha.arcgis.com/documentation/common-data-types/feature-object.htm).
18
+ * [Feature object specification](https://developers.arcgis.com/documentation/common-data-types/feature-object.htm).
19
19
  */
20
20
  export interface FeatureMessage {
21
21
  /** The type of message being sent to the client. */
@@ -263,7 +263,7 @@ export interface SublayerProperties extends LoadableMixinProperties, Identifiabl
263
263
 
264
264
  /**
265
265
  * Represents a sublayer in a [MapImageLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/MapImageLayer/) or a [TileLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/TileLayer/).
266
- * MapImageLayer allows you to display, query, and analyze layers from data defined in a [map service](https://enterprise.arcgis.com/en/server/latest/publish-services/windows/what-is-a-map-service.htm).
266
+ * MapImageLayer allows you to display, query, and analyze layers from data defined in a [map service](https://doc.esri.com/en/arcgis-enterprise/latest/administer/what-is-a-map-service.html).
267
267
  * Map services contain sublayers with properties such as [renderer](https://developers.arcgis.com/javascript/latest/references/core/layers/support/Sublayer/#renderer),
268
268
  * [labelingInfo](https://developers.arcgis.com/javascript/latest/references/core/layers/support/Sublayer/#labelingInfo), and [definitionExpression](https://developers.arcgis.com/javascript/latest/references/core/layers/support/Sublayer/#definitionExpression), and others that are
269
269
  * defined on the server. The properties of each MapImageLayer sublayer on the map service may be dynamically
@@ -990,7 +990,7 @@ export default class Sublayer extends SublayerSuperclass {
990
990
  /**
991
991
  * A convenient method for creating a [FeatureLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/FeatureLayer/) instance
992
992
  * based on the Sublayer's configuration, including
993
- * [dynamic sources](https://enterprise.arcgis.com/en/server/latest/publish-services/linux/about-dynamic-layers.htm).
993
+ * [dynamic sources](https://doc.esri.com/en/arcgis-enterprise/latest/administer/about-dynamic-layers.html).
994
994
  * This allows you to take advantage of FeatureLayer
995
995
  * capabilities not supported in Sublayer, such as the
996
996
  * [Smart Mapping creator functions](https://developers.arcgis.com/javascript/latest/references/core/smartMapping/renderers/color/).
@@ -0,0 +1,30 @@
1
+ import type { ClonableMixin } from "../../core/Clonable.js";
2
+ import type { JSONSupport } from "../../core/JSONSupport.js";
3
+
4
+ /** @since 5.1 */
5
+ export interface TimeSeriesFieldTimeMappingProperties extends Partial<Pick<TimeSeriesFieldTimeMapping, "fieldName" | "timeValue">> {}
6
+
7
+ /**
8
+ * The mapping between field names and time values for a time series configuration. This is
9
+ * used to generate the time series [Arcade expression](https://developers.arcgis.com/javascript/latest/arcade/)
10
+ * and for persisting user configurations when they open the UI for saved items.
11
+ *
12
+ * @since 5.1
13
+ */
14
+ export default class TimeSeriesFieldTimeMapping extends TimeSeriesFieldTimeMappingSuperclass {
15
+ constructor(properties?: TimeSeriesFieldTimeMappingProperties);
16
+ /**
17
+ * The name of the field that contains a data value of an attribute at the date or time value specified in `timeValue`
18
+ * (e.g. `temperature_Jan2020`).
19
+ */
20
+ accessor fieldName: string | null | undefined;
21
+ /**
22
+ * A formatted string representing the date or time value associated with the field specified by `fieldName`.
23
+ * The time unit for this value is specified by [TimeSeriesInfo.timeValueUnits](https://developers.arcgis.com/javascript/latest/references/core/layers/support/TimeSeriesInfo/#timeValueUnits). The formatting of this
24
+ * string must follow Arcade date formatting conventions as documented in the ArcGIS Arcade
25
+ * [Text function](https://developers.arcgis.com/arcade/function-reference/text_functions/#text). For example:
26
+ * if `fieldName` is `temperature_Jan2020` and `timeValueUnits` is `months`, `timeValue` would be `2020-01`.
27
+ */
28
+ accessor timeValue: string | null | undefined;
29
+ }
30
+ declare const TimeSeriesFieldTimeMappingSuperclass: typeof JSONSupport & typeof ClonableMixin
@@ -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 r}from"../../core/Clonable.js";import{JSONSupport as o}from"../../core/JSONSupport.js";import{property as t,subclass as i}from"../../core/accessorSupport/decorators.js";let s=class extends(r(o)){constructor(e){super(e),this.fieldName=null,this.timeValue=null}};e([t({type:String,json:{write:{isRequired:!0}}})],s.prototype,"fieldName",void 0),e([t({type:String,json:{write:{isRequired:!0}}})],s.prototype,"timeValue",void 0),s=e([i("esri.layers.support.TimeSeriesFieldTimeMapping")],s);const p=s;export{p as default};