@arcgis/core 5.0.0-next.70 → 5.0.0-next.71

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 (498) hide show
  1. package/analysis/Dimension/types.d.ts +5 -1
  2. package/analysis/DistanceMeasurementAnalysis.d.ts +22 -3
  3. package/analysis/ElevationProfile/types.d.ts +10 -2
  4. package/analysis/ShadowCast/DiscreteOptions.d.ts +4 -0
  5. package/analysis/ShadowCast/MinDurationOptions.d.ts +7 -0
  6. package/analysis/ShadowCast/TotalDurationOptions.d.ts +4 -0
  7. package/analysis/ShadowCastAnalysis.d.ts +51 -8
  8. package/analysis/Slice/types.d.ts +5 -1
  9. package/analysis/VolumeMeasurement/types.d.ts +5 -1
  10. package/analysis/VolumeMeasurement/volumeMeasurementConfiguration.js +1 -1
  11. package/analysis/types.d.ts +39 -7
  12. package/applications/Components/QuantityFormatter.js +1 -1
  13. package/applications/Components/imageryUtils.d.ts +2 -2
  14. package/applications/Components/testUtils.d.ts +2 -0
  15. package/applications/KnowledgeStudio/dataModelVisualization.d.ts +1 -0
  16. package/applications/KnowledgeStudio/generalSdkInternalAccess.d.ts +59 -13
  17. package/applications/KnowledgeStudio/generalSharedKgUtils.d.ts +1 -1
  18. package/applications/PortalApp/layerUtils.d.ts +1 -0
  19. package/applications/Urban/LineImagePattern3D.d.ts +2 -0
  20. package/applications/Urban/imagePatternUtils.d.ts +4 -0
  21. package/arcade.d.ts +20 -11
  22. package/assets/esri/core/workers/RemoteClient.js +1 -1
  23. package/assets/esri/core/workers/chunks/1b284a6f32effe28aafc.js +1 -0
  24. package/assets/esri/core/workers/chunks/1bd5b421152fb0f46aa5.js +37 -0
  25. package/assets/esri/core/workers/chunks/{2e2c47f8a80ee9234350.js → 1d8fc0239c907ff5d1e8.js} +1 -1
  26. package/assets/esri/core/workers/chunks/{244006d4b0547d574401.js → 25abbe1663e18e677dc2.js} +143 -140
  27. package/assets/esri/core/workers/chunks/{c448540065690cac0744.js → 6087d5dc40bb62ec48c8.js} +1 -1
  28. package/assets/esri/core/workers/chunks/{866477acdf03b8a40bc9.js → bd1d159dce4094694c93.js} +1 -1
  29. package/assets/esri/core/workers/chunks/{401ce5cb98fa14c1a725.js → d8a7004c399d539aed09.js} +1 -1
  30. package/assets/esri/core/workers/chunks/{8d6641d0f7c93f83c414.js → db9c7182847e8f96ffe3.js} +1 -1
  31. package/assets/esri/core/workers/chunks/{6c9dac4a869742cc2718.js → e246b256347a281c13fd.js} +1 -1
  32. package/assets/esri/core/workers/chunks/{a10c6dd3bb8b3602de68.js → ee175fd4ec706f7878c0.js} +1 -1
  33. package/assets/esri/core/workers/chunks/f65b27fc0bc2f242aac7.js +1 -0
  34. package/assets/esri/core/workers/chunks/{5dd5be91038df8902dc4.js → f7dfbf24859f4ac2421b.js} +1 -1
  35. package/config.js +1 -1
  36. package/core/Version.d.ts +11 -2
  37. package/core/accessorSupport/types.d.ts +35 -5
  38. package/core/quantityFormatUtils.js +1 -1
  39. package/core/sql/types.d.ts +226 -31
  40. package/core/types.d.ts +24 -4
  41. package/editing/sharedTemplates/types.d.ts +1 -0
  42. package/editing/types.d.ts +2 -0
  43. package/effects/types.d.ts +1 -0
  44. package/form/ExpressionInfo.d.ts +1 -1
  45. package/form/FormTemplate.d.ts +4 -4
  46. package/form/elements/GroupElement.d.ts +1 -1
  47. package/form/elements/RelationshipElement.d.ts +3 -3
  48. package/form/elements/inputs/attachments/AttachmentInput.d.ts +2 -1
  49. package/form/elements/inputs/attachments/AudioInput.d.ts +1 -0
  50. package/form/elements/inputs/attachments/DocumentInput.d.ts +1 -0
  51. package/form/elements/inputs/attachments/ImageInput.d.ts +1 -0
  52. package/form/elements/inputs/attachments/Input.d.ts +5 -1
  53. package/form/elements/inputs/attachments/SignatureInput.d.ts +1 -0
  54. package/form/elements/inputs/attachments/VideoInput.d.ts +1 -0
  55. package/form/elements/inputs/attachments/types.d.ts +12 -3
  56. package/form/elements/inputs.d.ts +2 -2
  57. package/form/types.d.ts +3 -0
  58. package/geometry/geometryEngineTypes.d.ts +49 -9
  59. package/geometry/operators/types.d.ts +29 -4
  60. package/geometry/support/MeshVertexAttributes.d.ts +21 -2
  61. package/geometry/support/meshUtils/types.d.ts +126 -18
  62. package/geometry/types.d.ts +37 -6
  63. package/ground/NavigationConstraint.d.ts +3 -0
  64. package/identity/IdentityManagerBase.d.ts +153 -27
  65. package/interfaces.d.ts +27 -27
  66. package/intl/date.d.ts +5 -0
  67. package/intl/locale.d.ts +1 -0
  68. package/intl/messages.d.ts +12 -2
  69. package/intl/number.d.ts +5 -0
  70. package/intl/substitute.d.ts +28 -5
  71. package/intl/t9n.d.ts +13 -2
  72. package/kernel.js +1 -1
  73. package/layers/GaussianSplatLayer.d.ts +87 -6
  74. package/layers/ImageryTileLayer.d.ts +8 -8
  75. package/layers/LinkChartLayer.d.ts +1 -1
  76. package/layers/buildingSublayers/utils.d.ts +1 -0
  77. package/layers/effects/types.d.ts +12 -2
  78. package/layers/graphics/editingSupport.d.ts +202 -38
  79. package/layers/graphics/sources/ParquetSource.d.ts +23 -4
  80. package/layers/knowledgeGraph/IdTypePair.d.ts +15 -3
  81. package/layers/knowledgeGraph/KnowledgeGraphLayerDataManager.d.ts +61 -9
  82. package/layers/knowledgeGraph/LayoutMode.d.ts +1 -0
  83. package/layers/knowledgeGraph/dataModelVisualizationUtils.d.ts +6 -0
  84. package/layers/media/types.d.ts +25 -4
  85. package/layers/mixins/ArcGISImageService.d.ts +8 -9
  86. package/layers/mixins/ArcGISMapService.d.ts +5 -1
  87. package/layers/mixins/EditBusLayer.d.ts +3 -5
  88. package/layers/mixins/ImageryTileMixin.d.ts +2 -4
  89. package/layers/mixins/RasterJobHandlerMixin.js +1 -1
  90. package/layers/mixins/ScaleRange.d.ts +11 -2
  91. package/layers/mixins/properties/ILayerWithGetFeatureTitle.d.ts +11 -2
  92. package/layers/mixins/properties/ILayerWithGetField.d.ts +6 -1
  93. package/layers/ogc/ogcFeatureUtils.d.ts +2 -0
  94. package/layers/ogc/types.d.ts +55 -10
  95. package/layers/ogc/wcsUtils.d.ts +1 -0
  96. package/layers/ogc/wfsUtils.d.ts +8 -17
  97. package/layers/orientedImagery/core/ElevationSourceDefinitions.d.ts +6 -1
  98. package/layers/orientedImagery/transformations/types.d.ts +117 -21
  99. package/layers/orientedImagery/types.d.ts +37 -6
  100. package/layers/pointCloudFilters/typeUtils.d.ts +1 -0
  101. package/layers/raster/datasets/TIFFRaster.js +1 -1
  102. package/layers/raster/datasets/pixelReader.d.ts +2 -0
  103. package/layers/raster/datasets/types.d.ts +1 -0
  104. package/layers/raster/datasets/wcsCapabilitiesParser.d.ts +86 -17
  105. package/layers/raster/datasets/wcsCoverageParser.d.ts +601 -115
  106. package/layers/raster/formats/ImageCanvasDecoder.js +1 -1
  107. package/layers/raster/formats/JpgPlus.js +1 -1
  108. package/layers/raster/formats/RasterCodec.js +1 -1
  109. package/layers/raster/formats/Raw.js +1 -1
  110. package/layers/raster/formats/TiffDecoder.js +1 -1
  111. package/layers/raster/functions/changeDetectionUtils.d.ts +1 -0
  112. package/layers/raster/functions/creators/createAppearenceFunctions.d.ts +82 -15
  113. package/layers/raster/functions/creators/createBandIndexFunctions.d.ts +380 -70
  114. package/layers/raster/functions/creators/createChangeFunctions.d.ts +11 -2
  115. package/layers/raster/functions/creators/createConversionFunctions.d.ts +18 -3
  116. package/layers/raster/functions/creators/createDataManagementFunctions.d.ts +179 -35
  117. package/layers/raster/functions/creators/createLocalFunctions.d.ts +47 -9
  118. package/layers/raster/functions/creators/createMultiRasterAnalysisFunctions.d.ts +47 -9
  119. package/layers/raster/functions/creators/createStatisticsFunctions.d.ts +42 -8
  120. package/layers/raster/functions/creators/createSurfaceFunctions.d.ts +72 -11
  121. package/layers/raster/functions/focalStatUtils.d.ts +1 -0
  122. package/layers/raster/functions/rasterProjectionHelper.js +1 -1
  123. package/layers/raster/functions/types.d.ts +29 -5
  124. package/layers/raster/types.d.ts +498 -6
  125. package/layers/support/BuildingFilterBlock.d.ts +19 -3
  126. package/layers/support/BuildingFilterMode.d.ts +1 -0
  127. package/layers/support/BuildingFilterModeSolid.d.ts +7 -1
  128. package/layers/support/BuildingFilterModeWireFrame.d.ts +17 -3
  129. package/layers/support/BuildingFilterModeXRay.d.ts +7 -1
  130. package/layers/support/CodedValue.d.ts +16 -3
  131. package/layers/support/ControlPoint.d.ts +17 -3
  132. package/layers/support/EditFieldsInfo.d.ts +21 -4
  133. package/layers/support/EditingCapabilities.d.ts +36 -7
  134. package/layers/support/ElevationTileData.d.ts +25 -5
  135. package/layers/support/FieldFormat.d.ts +1 -0
  136. package/layers/support/GeoreferenceBase.d.ts +1 -0
  137. package/layers/support/KMLMapImage.d.ts +13 -2
  138. package/layers/support/LabelExpressionInfo.d.ts +9 -1
  139. package/layers/support/MosaicRule.d.ts +41 -1
  140. package/layers/support/ParquetGeometryEncodingLocation.d.ts +13 -2
  141. package/layers/support/ParquetGeometryEncodingWkb.d.ts +7 -0
  142. package/layers/support/PixelBlock.d.ts +9 -4
  143. package/layers/support/PurgeOptions.d.ts +15 -2
  144. package/layers/support/RasterInfo.d.ts +1 -2
  145. package/layers/support/RasterJobHandler.js +1 -1
  146. package/layers/support/RasterWorker.js +1 -1
  147. package/layers/support/SpriteSource.d.ts +28 -6
  148. package/layers/support/rasterFunctionConstants.d.ts +39 -0
  149. package/layers/support/types.d.ts +420 -225
  150. package/layers/types.d.ts +771 -196
  151. package/layers/video/types.d.ts +72 -14
  152. package/layers/voxel/VoxelColorStop.d.ts +17 -3
  153. package/layers/voxel/VoxelFormat.d.ts +15 -2
  154. package/layers/voxel/VoxelIsosurface.d.ts +17 -2
  155. package/layers/voxel/VoxelOpacityStop.d.ts +8 -1
  156. package/layers/voxel/VoxelRangeFilter.d.ts +12 -2
  157. package/layers/voxel/VoxelUniqueValue.d.ts +19 -3
  158. package/layers/wms/types.d.ts +104 -19
  159. package/layers/wmts/types.d.ts +1 -0
  160. package/linkChart/ChronologicalLayoutSettings.d.ts +1 -1
  161. package/linkChart/OrganicLayoutSettings.d.ts +1 -1
  162. package/linkChart/types.d.ts +2 -0
  163. package/networks/UtilityNetworkTraceAnalysis.d.ts +61 -10
  164. package/networks/support/jsonTypes.d.ts +373 -71
  165. package/networks/support/typeUtils.d.ts +10 -0
  166. package/networks/support/utils.d.ts +30 -6
  167. package/package.json +1 -1
  168. package/popup/content/types.d.ts +1 -0
  169. package/popup/types.d.ts +33 -5
  170. package/portal/jsonTypes.d.ts +231 -39
  171. package/portal/support/resourceUtils.d.ts +49 -9
  172. package/portal/types.d.ts +98 -14
  173. package/renderers/FlowRenderer.js +1 -1
  174. package/renderers/RasterStretchRenderer.d.ts +1 -1
  175. package/renderers/support/AuthoringInfoClassBreakInfo.d.ts +4 -0
  176. package/renderers/support/AuthoringInfoFieldInfo.d.ts +15 -2
  177. package/renderers/support/DotDensityLegendOptions.d.ts +4 -0
  178. package/renderers/support/HeatmapLegendOptions.d.ts +8 -0
  179. package/renderers/support/OthersCategory.d.ts +6 -0
  180. package/renderers/support/RendererLegendOptions.d.ts +14 -2
  181. package/renderers/support/pointCloud/ColorClassBreakInfo.d.ts +13 -1
  182. package/renderers/support/pointCloud/ColorModulation.d.ts +6 -0
  183. package/renderers/support/pointCloud/ColorUniqueValueInfo.d.ts +19 -3
  184. package/renderers/support/pointCloud/PointSizeAlgorithm.d.ts +1 -0
  185. package/renderers/support/pointCloud/PointSizeFixedSizeAlgorithm.d.ts +14 -2
  186. package/renderers/support/pointCloud/PointSizeSplatAlgorithm.d.ts +9 -1
  187. package/renderers/support/pointCloud/types.d.ts +7 -1
  188. package/renderers/support/raster/types.d.ts +22 -2
  189. package/renderers/support/types.d.ts +29 -2
  190. package/renderers/types.d.ts +47 -4
  191. package/renderers/visualVariables/support/SizeVariableLegendOptions.d.ts +4 -0
  192. package/renderers/visualVariables/support/VisualVariableLegendOptions.d.ts +9 -1
  193. package/request/types.d.ts +152 -24
  194. package/rest/featureService/types.d.ts +423 -77
  195. package/rest/geometryService/types.d.ts +23 -1
  196. package/rest/imageService.d.ts +5 -5
  197. package/rest/knowledgeGraph/DataModel.d.ts +2 -2
  198. package/rest/knowledgeGraph/GraphAnyValue.d.ts +1 -0
  199. package/rest/knowledgeGraph/GraphDataModelSingletonOperationResult.d.ts +12 -2
  200. package/rest/knowledgeGraph/GraphDeleteNamedTypeResult.d.ts +1 -1
  201. package/rest/knowledgeGraph/GraphDeletePropertyResult.d.ts +1 -1
  202. package/rest/knowledgeGraph/GraphQuery.d.ts +1 -1
  203. package/rest/knowledgeGraph/GraphSearch.d.ts +3 -3
  204. package/rest/knowledgeGraph/GraphSearchStreaming.d.ts +3 -3
  205. package/rest/knowledgeGraph/SearchIndex.d.ts +1 -1
  206. package/rest/knowledgeGraph/toolService/findPaths/CIMFilteredFindPathsPathFilter.d.ts +3 -3
  207. package/rest/knowledgeGraph/toolService/findPaths/CIMFilteredFindPathsResultJSON.d.ts +151 -29
  208. package/rest/knowledgeGraph/toolService/findPaths/CIMKGTraversalDirection.d.ts +1 -1
  209. package/rest/knowledgeGraph/wasmInterface/KnowledgeWasmInterface.d.ts +1 -0
  210. package/rest/knowledgeGraph/wasmInterface/WasmDataModelWrapperInterfaces.d.ts +9 -0
  211. package/rest/knowledgeGraphService.d.ts +4 -4
  212. package/rest/lastMileDelivery/types.d.ts +5 -0
  213. package/rest/layerSources/DynamicDataLayer.d.ts +12 -0
  214. package/rest/layerSources/DynamicMapLayer.d.ts +14 -2
  215. package/rest/layerSources/JoinTableDataSource.d.ts +21 -2
  216. package/rest/layerSources/QueryTableDataSource.d.ts +32 -5
  217. package/rest/layerSources/RasterDataSource.d.ts +17 -3
  218. package/rest/layerSources/TableDataSource.d.ts +22 -4
  219. package/rest/networks/circuits/support/ExportCircuitsParameters.d.ts +8 -1
  220. package/rest/networks/circuits/support/QueryCircuitsParameters.d.ts +18 -3
  221. package/rest/networks/support/QueryNamedTraceConfigurationsParameters.d.ts +22 -4
  222. package/rest/query/support/AttachmentInfo.d.ts +1 -1
  223. package/rest/support/AddressToLocationsParameters.d.ts +39 -3
  224. package/rest/support/AddressesToLocationsParameters.d.ts +14 -0
  225. package/rest/support/BaseImageMeasureResultValue.d.ts +21 -4
  226. package/rest/support/DirectionsString.d.ts +16 -3
  227. package/rest/support/ImageMeasureResultAngleValue.d.ts +12 -2
  228. package/rest/support/ImageMeasureResultAreaValue.d.ts +12 -2
  229. package/rest/support/ImageMeasureResultLengthValue.d.ts +12 -2
  230. package/rest/support/LocateSetting.d.ts +12 -2
  231. package/rest/support/LocateSettingBase.d.ts +14 -2
  232. package/rest/support/LocateSettingSource.d.ts +12 -2
  233. package/rest/support/LocateSettings.d.ts +22 -4
  234. package/rest/support/LocateSettingsOverrides.d.ts +42 -8
  235. package/rest/support/LocationToAddressParameters.d.ts +7 -0
  236. package/rest/support/NetworkAttribute.d.ts +11 -2
  237. package/rest/support/NetworkServiceDescription.d.ts +20 -4
  238. package/rest/support/QuantizationParameters.d.ts +9 -0
  239. package/rest/support/SuggestLocationsParameters.d.ts +10 -0
  240. package/rest/support/SuggestionCandidate.d.ts +14 -2
  241. package/rest/support/types.d.ts +53 -3
  242. package/rest/types.d.ts +50 -5
  243. package/rest/versionManagement/gdbVersion/support/AlterVersionParameters.d.ts +22 -4
  244. package/rest/versionManagement/gdbVersion/support/PostResult.d.ts +6 -1
  245. package/rest/versionManagement/gdbVersion/support/ReconcileParameters.d.ts +10 -1
  246. package/rest/versionManagement/gdbVersion/support/ReconcileResult.d.ts +8 -1
  247. package/rest/versionManagement/support/CreateVersionParameters.d.ts +13 -2
  248. package/rest/versionManagement/support/GetVersionInfosParameters.d.ts +8 -1
  249. package/smartMapping/heuristics/types.d.ts +50 -6
  250. package/smartMapping/popup/types.d.ts +29 -5
  251. package/smartMapping/raster/renderers/types.d.ts +12 -1
  252. package/smartMapping/raster/support/adapters/types.d.ts +1 -0
  253. package/smartMapping/renderers/color.d.ts +9 -3
  254. package/smartMapping/renderers/dotDensity.d.ts +3 -1
  255. package/smartMapping/renderers/heatmap.d.ts +3 -1
  256. package/smartMapping/renderers/location.d.ts +3 -1
  257. package/smartMapping/renderers/opacity.d.ts +3 -1
  258. package/smartMapping/renderers/pieChart.d.ts +3 -1
  259. package/smartMapping/renderers/predominance.d.ts +3 -1
  260. package/smartMapping/renderers/relationship.d.ts +3 -1
  261. package/smartMapping/renderers/size.d.ts +23 -7
  262. package/smartMapping/renderers/support/rendererUtils.d.ts +3 -1
  263. package/smartMapping/renderers/type.d.ts +3 -1
  264. package/smartMapping/renderers/univariateColorSize.d.ts +3 -1
  265. package/smartMapping/statistics/types.d.ts +16 -4
  266. package/smartMapping/symbology/type.d.ts +5 -1
  267. package/smartMapping/symbology/types.d.ts +1303 -241
  268. package/smartMapping/types.d.ts +5 -0
  269. package/statistics/types.d.ts +13 -2
  270. package/support/revision.js +1 -1
  271. package/symbols/callouts/LineCallout3DBorder.d.ts +4 -0
  272. package/symbols/cim/types.d.ts +764 -111
  273. package/symbols/patterns/LinePattern3D.d.ts +1 -0
  274. package/symbols/patterns/Pattern3D.d.ts +1 -0
  275. package/symbols/support/IconSymbol3DLayerResource.d.ts +7 -0
  276. package/symbols/support/ObjectSymbol3DLayerResource.d.ts +7 -0
  277. package/symbols/support/OccludedVisibility.d.ts +3 -0
  278. package/symbols/support/Symbol3DAnchorPosition2D.d.ts +4 -0
  279. package/symbols/support/Symbol3DAnchorPosition3D.d.ts +5 -0
  280. package/symbols/support/Symbol3DFillMaterial.d.ts +4 -0
  281. package/symbols/support/Symbol3DHalo.d.ts +10 -0
  282. package/symbols/support/Symbol3DIconOutline.d.ts +10 -0
  283. package/symbols/support/Symbol3DMaterial.d.ts +6 -0
  284. package/symbols/support/Symbol3DOutline.d.ts +21 -2
  285. package/symbols/support/Symbol3DTextBackground.d.ts +12 -2
  286. package/symbols/support/symbolUtils.d.ts +5 -1
  287. package/symbols/support/types.d.ts +4 -0
  288. package/symbols/types.d.ts +67 -7
  289. package/tables/AttributeTableTemplate.d.ts +2 -2
  290. package/tables/elements/AttributeTableAttachmentElement.d.ts +1 -1
  291. package/tables/elements/AttributeTableElement.d.ts +2 -2
  292. package/tables/elements/AttributeTableFieldElement.d.ts +1 -1
  293. package/tables/elements/AttributeTableGroupElement.d.ts +1 -1
  294. package/tables/elements/AttributeTableRelationshipElement.d.ts +1 -1
  295. package/tables/support/FieldOrder.d.ts +16 -3
  296. package/tables/support/tablesUtils.d.ts +1 -0
  297. package/time/types.d.ts +4 -0
  298. package/versionManagement/VersionManagementService.d.ts +3 -6
  299. package/versionManagement/VersionManager.d.ts +126 -23
  300. package/versionManagement/VersioningState.d.ts +1 -1
  301. package/versionManagement/support/jsonTypes.d.ts +152 -30
  302. package/versionManagement/support/type.d.ts +2 -0
  303. package/versionManagement/versionAdapters/types.d.ts +25 -5
  304. package/views/2d/MapViewConstraints.d.ts +37 -5
  305. package/views/2d/analysis/AnalysisView2D.d.ts +5 -1
  306. package/views/2d/analysis/AreaMeasurementAnalysisView2D.d.ts +28 -4
  307. package/views/2d/analysis/DistanceMeasurementAnalysisView2D.d.ts +28 -4
  308. package/views/2d/analysis/types.d.ts +5 -1
  309. package/views/2d/engine/flow/BrushFlow.js +1 -1
  310. package/views/2d/engine/flow/FlowDisplayObject.js +1 -1
  311. package/views/2d/engine/flow/FlowStrategy.js +1 -1
  312. package/views/2d/engine/flow/FlowView2D.js +1 -1
  313. package/views/2d/engine/flow/ProcessingTimeEstimate.js +5 -0
  314. package/views/2d/engine/flow/animatedValues.js +5 -0
  315. package/views/2d/engine/flow/dataUtils.js +1 -1
  316. package/views/2d/engine/flow/flowPathsIO.js +5 -0
  317. package/views/2d/engine/flow/styles/AFlowResources.js +5 -0
  318. package/views/2d/engine/flow/styles/Imagery.js +1 -1
  319. package/views/2d/engine/flow/styles/Particles.js +1 -1
  320. package/views/2d/engine/flow/styles/Stack.js +1 -1
  321. package/views/2d/engine/flow/styles/Streamlines.js +1 -1
  322. package/views/2d/engine/flow/utils.js +1 -1
  323. package/views/2d/engine/vectorTiles/shaders/sources/shaderRepository.js +1 -1
  324. package/views/2d/engine/webgl/shaders/sources/shaderRepository.js +1 -1
  325. package/views/2d/layers/support/MediaLayerInteractionOptions.d.ts +1 -0
  326. package/views/2d/layers/types.d.ts +1 -0
  327. package/views/2d/types.d.ts +93 -6
  328. package/views/3d/analysis/AnalysisView3D.d.ts +5 -1
  329. package/views/3d/analysis/DirectLineMeasurement/types.d.ts +24 -4
  330. package/views/3d/analysis/LineOfSight/types.d.ts +1 -0
  331. package/views/3d/analysis/ShadowCastAnalysisView3D.d.ts +19 -3
  332. package/views/3d/analysis/VolumeMeasurement/VolumeMeasurementCutFillVisualization.js +1 -1
  333. package/views/3d/analysis/VolumeMeasurement/types.d.ts +5 -1
  334. package/views/3d/analysis/types.d.ts +25 -3
  335. package/views/3d/constraints/AltitudeConstraint.d.ts +5 -0
  336. package/views/3d/constraints/ClipDistanceConstraint.d.ts +13 -2
  337. package/views/3d/constraints/Constraints.d.ts +26 -4
  338. package/views/3d/constraints/TiltConstraint.d.ts +5 -0
  339. package/views/3d/environment/SceneViewEnvironment.d.ts +9 -0
  340. package/views/3d/environment/types.d.ts +3 -0
  341. package/views/3d/layers/ImageryLayerView3D.js +1 -1
  342. package/views/3d/layers/support/MediaLayerInteractionOptions.d.ts +15 -2
  343. package/views/3d/layers/support/MediaLayerInteractionReshapeOptions.d.ts +3 -0
  344. package/views/3d/types.d.ts +52 -0
  345. package/views/3d/webgl/ManagedColorAttachment.d.ts +2 -0
  346. package/views/3d/webgl/ManagedDepthAttachment.d.ts +2 -0
  347. package/views/3d/webgl/ManagedFBO.d.ts +4 -0
  348. package/views/3d/webgl/ManagedFBOAttachment.d.ts +1 -0
  349. package/views/3d/webgl/ManagedFBOResource.d.ts +5 -0
  350. package/views/3d/webgl/types.d.ts +32 -6
  351. package/views/3d/webgl-engine/core/shaderLibrary/shading/EvaluateSceneLighting.glsl.js +20 -22
  352. package/views/3d/webgl-engine/core/shaderLibrary/shading/Gamma.glsl.js +9 -5
  353. package/views/3d/webgl-engine/core/shaderLibrary/terrain/TerrainTexture.glsl.js +8 -6
  354. package/views/3d/webgl-engine/shaders/OutputColorHighlightOLID.glsl.js +9 -8
  355. package/views/MapViewOrSceneView.d.ts +1 -0
  356. package/views/SceneView.d.ts +59 -0
  357. package/views/SceneView.js +1 -1
  358. package/views/View.d.ts +2 -2
  359. package/views/View2D.d.ts +37 -0
  360. package/views/View2D.js +1 -1
  361. package/views/Viewport2DMixin.d.ts +9 -6
  362. package/views/analysis/AnalysisView.d.ts +2 -0
  363. package/views/analysis/AreaMeasurement/types.d.ts +18 -3
  364. package/views/analysis/DistanceMeasurement/types.d.ts +13 -2
  365. package/views/analysis/types.d.ts +7 -1
  366. package/views/animation/easing.js +1 -1
  367. package/views/animation/types.d.ts +3 -4
  368. package/views/draw/CursorUpdateEvent.d.ts +24 -4
  369. package/views/draw/DrawAction.d.ts +4 -6
  370. package/views/draw/DrawCompleteEvent.d.ts +18 -3
  371. package/views/draw/VertexAddEvent.d.ts +19 -3
  372. package/views/draw/VertexRemoveEvent.d.ts +19 -3
  373. package/views/draw/types.d.ts +4 -0
  374. package/views/input/types.d.ts +371 -57
  375. package/views/interactive/sketch/SketchTooltipVisibleElements.d.ts +19 -1
  376. package/views/interactive/sketch/Units.d.ts +5 -0
  377. package/views/interactive/tooltip/types.d.ts +2 -0
  378. package/views/layers/HighlightLayerViewMixin.d.ts +59 -1
  379. package/views/layers/HighlightLayerViewMixin.js +1 -1
  380. package/views/layers/ImageryLayerViewMixin.d.ts +60 -2
  381. package/views/layers/ImageryTileLayerViewMixin.d.ts +2 -0
  382. package/views/layers/LayerView.d.ts +6 -0
  383. package/views/layers/MediaLayerViewMixin.d.ts +8 -1
  384. package/views/layers/types.d.ts +3 -0
  385. package/views/navigation/types.d.ts +6 -1
  386. package/views/support/AttributionItem.d.ts +10 -2
  387. package/views/types.d.ts +306 -53
  388. package/views/ui/types.d.ts +42 -6
  389. package/webdoc/Widgets.d.ts +26 -5
  390. package/webdoc/geotriggersInfo/support/typeUtils.d.ts +3 -0
  391. package/webdoc/support/SlideThumbnail.d.ts +4 -0
  392. package/webdoc/support/types.d.ts +11 -2
  393. package/webdoc/support/webdocSaveUtils.d.ts +6 -0
  394. package/webdoc/widgets/FloorFilter.d.ts +25 -4
  395. package/webmap/Version.d.ts +1 -0
  396. package/webscene/Version.d.ts +1 -0
  397. package/webscene/support/Description.d.ts +3 -0
  398. package/webscene/support/SlideEnvironment.d.ts +6 -0
  399. package/webscene/support/SlideGround.d.ts +7 -1
  400. package/webscene/support/SlideVisibleLayer.d.ts +5 -0
  401. package/webscene/support/Title.d.ts +3 -0
  402. package/widgets/Attachments/types.d.ts +32 -6
  403. package/widgets/BasemapGallery/types.d.ts +3 -0
  404. package/widgets/BasemapLayerList/BasemapLayerListVisibleElements.d.ts +14 -0
  405. package/widgets/BasemapLayerList/types.d.ts +1 -0
  406. package/widgets/BatchAttributeForm/VisibleElements.d.ts +7 -1
  407. package/widgets/BatchAttributeForm/inputs/SingleFeatureInput.d.ts +2 -0
  408. package/widgets/BatchAttributeForm/inputs/TextElementInput.d.ts +14 -2
  409. package/widgets/BatchAttributeForm/inputs/types.d.ts +2 -0
  410. package/widgets/BatchAttributeForm/types.d.ts +75 -14
  411. package/widgets/BatchAttributeForm.d.ts +2 -2
  412. package/widgets/Bookmarks/BookmarksVisibleElements.d.ts +30 -9
  413. package/widgets/Bookmarks/types.d.ts +32 -10
  414. package/widgets/CatalogLayerList/CatalogLayerListVisibleElements.d.ts +11 -0
  415. package/widgets/CatalogLayerList/types.d.ts +1 -0
  416. package/widgets/Daylight/VisibleElements.d.ts +11 -1
  417. package/widgets/Daylight/types.d.ts +8 -2
  418. package/widgets/DirectionalPad/VisibleElements.d.ts +6 -0
  419. package/widgets/DirectionalPad/types.d.ts +13 -2
  420. package/widgets/Directions/DirectionsVisibleElements.d.ts +8 -0
  421. package/widgets/Editor/CreateFeaturesWorkflowData.d.ts +3 -3
  422. package/widgets/Editor/EditorViewModel.d.ts +2 -3
  423. package/widgets/Editor/Edits.d.ts +1 -2
  424. package/widgets/Editor/SplitFeatureWorkflow.d.ts +2 -2
  425. package/widgets/Editor/VisibleElements.d.ts +46 -13
  426. package/widgets/Editor/support/EditorEditingCapabilities.d.ts +46 -9
  427. package/widgets/Editor/types.d.ts +149 -24
  428. package/widgets/ElevationProfile/ElevationProfileVisibleElements.d.ts +13 -1
  429. package/widgets/ElevationProfile/types.d.ts +87 -14
  430. package/widgets/Expand.d.ts +2 -2
  431. package/widgets/Feature/types.d.ts +105 -18
  432. package/widgets/FeatureForm/GroupInput.d.ts +1 -1
  433. package/widgets/FeatureForm/RelationshipInput.d.ts +1 -1
  434. package/widgets/FeatureForm/TextElementInput.d.ts +3 -5
  435. package/widgets/FeatureForm/UtilityNetworkAssociationInput.d.ts +1 -1
  436. package/widgets/FeatureForm/VisibleElements.d.ts +7 -1
  437. package/widgets/FeatureForm/types.d.ts +3 -0
  438. package/widgets/FeatureForm.d.ts +1 -1
  439. package/widgets/FeatureTable/ColumnMenuVisibleElements.d.ts +4 -0
  440. package/widgets/FeatureTable/FeatureTableViewModel.d.ts +14 -4
  441. package/widgets/FeatureTable/Grid/Column.d.ts +1 -1
  442. package/widgets/FeatureTable/Grid/GridViewModel.d.ts +2 -0
  443. package/widgets/FeatureTable/Grid/types.d.ts +137 -24
  444. package/widgets/FeatureTable/TableMenuVisibleElements.d.ts +10 -0
  445. package/widgets/FeatureTable/VisibleElements.d.ts +16 -2
  446. package/widgets/FeatureTable/support/ColumnTemplateBase.d.ts +1 -1
  447. package/widgets/FeatureTable/support/types.d.ts +155 -27
  448. package/widgets/FeatureTable.d.ts +3 -3
  449. package/widgets/FeatureTemplates/VisibleElements.d.ts +4 -0
  450. package/widgets/FeatureTemplates/types.d.ts +17 -2
  451. package/widgets/Features/FeaturesVisibleElements.d.ts +12 -0
  452. package/widgets/FloorFilter/FloorFilterViewModel.js +1 -1
  453. package/widgets/Histogram/types.d.ts +14 -2
  454. package/widgets/HistogramRangeSlider/types.d.ts +1 -0
  455. package/widgets/LayerList/LayerListVisibleElements.d.ts +10 -0
  456. package/widgets/LayerList/types.d.ts +8 -0
  457. package/widgets/Legend/styles/card/CardView.d.ts +13 -2
  458. package/widgets/Legend/styles/classic/ClassicView.d.ts +11 -2
  459. package/widgets/Measurement/types.d.ts +3 -0
  460. package/widgets/OrientedImageryViewer/types.d.ts +15 -3
  461. package/widgets/Popup/PopupVisibleElements.d.ts +11 -0
  462. package/widgets/Popup/types.d.ts +64 -7
  463. package/widgets/Print/FileLink.d.ts +36 -6
  464. package/widgets/Print/types.d.ts +77 -13
  465. package/widgets/ScaleRangeSlider/types.d.ts +4 -0
  466. package/widgets/ScaleRangeSlider.d.ts +5 -1
  467. package/widgets/ShadowCast/ShadowCastVisibleElements.d.ts +15 -1
  468. package/widgets/ShadowCast/types.d.ts +8 -2
  469. package/widgets/Sketch/CreateToolVisibilityMap.d.ts +19 -4
  470. package/widgets/Sketch/SelectionToolVisibilityMap.d.ts +4 -0
  471. package/widgets/Sketch/VisibleElements.d.ts +38 -6
  472. package/widgets/Sketch/types.d.ts +364 -60
  473. package/widgets/Slider/types.d.ts +249 -46
  474. package/widgets/Swipe/types.d.ts +6 -0
  475. package/widgets/TableList/TableListVisibleElements.d.ts +11 -0
  476. package/widgets/TableList/types.d.ts +5 -0
  477. package/widgets/TimeSlider/types.d.ts +45 -7
  478. package/widgets/Track/types.d.ts +4 -1
  479. package/widgets/UtilityNetworkAssociations/VisibleElements.d.ts +23 -4
  480. package/widgets/UtilityNetworkAssociations/VisibleElementsSettingsPane.d.ts +7 -0
  481. package/widgets/UtilityNetworkTrace/types.d.ts +26 -5
  482. package/widgets/ValuePicker/ValuePickerBaseComponent.d.ts +2 -0
  483. package/widgets/ValuePicker/ValuePickerSliderVisibleElements.d.ts +7 -1
  484. package/widgets/ValuePicker/ValuePickerVisibleElements.d.ts +9 -1
  485. package/widgets/ValuePicker/types.d.ts +8 -0
  486. package/widgets/Weather/VisibleElements.d.ts +6 -1
  487. package/widgets/Weather/types.d.ts +1 -0
  488. package/widgets/smartMapping/types.d.ts +63 -6
  489. package/widgets/support/GridControls/VisibleElements.d.ts +11 -0
  490. package/widgets/support/GridControls/types.d.ts +1 -0
  491. package/widgets/support/SnappingControls/VisibleElements.d.ts +26 -4
  492. package/widgets/support/forms/types.d.ts +2 -0
  493. package/widgets/support/types.d.ts +19 -3
  494. package/widgets/types.d.ts +549 -89
  495. package/assets/esri/core/workers/chunks/329b10897c6965948b84.js +0 -1
  496. package/assets/esri/core/workers/chunks/35593a9790818b689455.js +0 -1
  497. package/assets/esri/core/workers/chunks/98d68b145226e7527c84.js +0 -33
  498. package/views/2d/engine/flow/FlowDisplayData.js +0 -5
package/config.js CHANGED
@@ -2,4 +2,4 @@
2
2
  All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
4
4
  */
5
- import"./core/has.js";import{deepMerge as e}from"./core/object.js";const s={apiKey:void 0,apiKeys:{scopes:[]},applicationName:"",applicationUrl:globalThis.location?.href,assetsPath:"",fontsUrl:"https://static.arcgis.com/fonts",geometryServiceUrl:"https://utility.arcgisonline.com/arcgis/rest/services/Geometry/GeometryServer",geoRSSServiceUrl:"https://utility.arcgis.com/sharing/rss",kmlServiceUrl:"https://utility.arcgis.com/sharing/kml",userPrivilegesApplied:!0,portalUrl:"https://www.arcgis.com",respectPrefersReducedMotion:!0,routeServiceUrl:"https://route-api.arcgis.com/arcgis/rest/services/World/Route/NAServer/Route_World",workers:{loaderConfig:{has:{},paths:{},map:{},packages:[]}},request:{crossOriginNoCorsDomains:null,httpsDomains:["arcgis.com","arcgisonline.com","esrikr.com","premiumservices.blackbridge.com","esripremium.accuweather.com","gbm.digitalglobe.com","firstlook.digitalglobe.com","msi.digitalglobe.com"],interceptors:[],internalInterceptors:[],maxUrlLength:2e3,priority:"high",proxyRules:[],proxyUrl:null,timeout:62e3,trustedServers:[],useIdentity:!0},log:{interceptors:[],level:null}};if(globalThis.esriConfig&&(e(s,globalThis.esriConfig,!0),delete s.has),!s.assetsPath){{const e="5.0.0-next.70";s.assetsPath=`https://cdn.jsdelivr.net/npm/@arcgis/core@${e}/assets`}s.defaultAssetsPath=s.assetsPath}export{s as default};
5
+ import"./core/has.js";import{deepMerge as e}from"./core/object.js";const s={apiKey:void 0,apiKeys:{scopes:[]},applicationName:"",applicationUrl:globalThis.location?.href,assetsPath:"",fontsUrl:"https://static.arcgis.com/fonts",geometryServiceUrl:"https://utility.arcgisonline.com/arcgis/rest/services/Geometry/GeometryServer",geoRSSServiceUrl:"https://utility.arcgis.com/sharing/rss",kmlServiceUrl:"https://utility.arcgis.com/sharing/kml",userPrivilegesApplied:!0,portalUrl:"https://www.arcgis.com",respectPrefersReducedMotion:!0,routeServiceUrl:"https://route-api.arcgis.com/arcgis/rest/services/World/Route/NAServer/Route_World",workers:{loaderConfig:{has:{},paths:{},map:{},packages:[]}},request:{crossOriginNoCorsDomains:null,httpsDomains:["arcgis.com","arcgisonline.com","esrikr.com","premiumservices.blackbridge.com","esripremium.accuweather.com","gbm.digitalglobe.com","firstlook.digitalglobe.com","msi.digitalglobe.com"],interceptors:[],internalInterceptors:[],maxUrlLength:2e3,priority:"high",proxyRules:[],proxyUrl:null,timeout:62e3,trustedServers:[],useIdentity:!0},log:{interceptors:[],level:null}};if(globalThis.esriConfig&&(e(s,globalThis.esriConfig,!0),delete s.has),!s.assetsPath){{const e="5.0.0-next.71";s.assetsPath=`https://cdn.jsdelivr.net/npm/@arcgis/core@${e}/assets`}s.defaultAssetsPath=s.assetsPath}export{s as default};
package/core/Version.d.ts CHANGED
@@ -1,7 +1,16 @@
1
1
 
2
+ /** @since 5.0 */
2
3
  export default abstract class Version {
3
- /** The major version of the WebMap or WebScene. */
4
+ /**
5
+ * The major version of the WebMap or WebScene.
6
+ *
7
+ * @since 5.0
8
+ */
4
9
  readonly major: number;
5
- /** The minor version of the WebMap or WebScene. */
10
+ /**
11
+ * The minor version of the WebMap or WebScene.
12
+ *
13
+ * @since 5.0
14
+ */
6
15
  readonly minor: number;
7
16
  }
@@ -1,9 +1,14 @@
1
1
 
2
+ /** @since 5.0 */
2
3
  export type OriginName = "defaults" | "service" | "portal-item" | "web-scene" | "web-map" | "link-chart" | "user";
3
4
 
5
+ /** @since 5.0 */
4
6
  export interface Types<T extends Base = any, Base = T> {
7
+ /** @since 5.0 */
5
8
  base: (new (...params: any[]) => Base) | null;
9
+ /** @since 5.0 */
6
10
  key: string | ((obj: any) => string);
11
+ /** @since 5.0 */
7
12
  typeMap: Record<string, new (...params: any[]) => T>;
8
13
  }
9
14
 
@@ -12,33 +17,58 @@ export interface Types<T extends Base = any, Base = T> {
12
17
  *
13
18
  * @param value - the value.
14
19
  * @returns the cast value.
20
+ * @since 5.0
15
21
  */
16
22
  export type Caster<T = any> = (value: any) => T;
17
23
 
24
+ /** @since 5.0 */
18
25
  export interface PropertyMetadataBase<T extends Base = any, Base = T> {
19
- /** The function to use to [autocast](https://developers.arcgis.com/javascript/latest/autocasting/) the property. Alternative to define the `type`. The function is called with the value set by the user and should return the cast value. */
26
+ /**
27
+ * The function to use to [autocast](https://developers.arcgis.com/javascript/latest/autocasting/) the property. Alternative to define the `type`. The function is called with the value set by the user and should return the cast value.
28
+ *
29
+ * @since 5.0
30
+ */
20
31
  cast?: Caster<T> | null;
21
32
  /**
22
33
  * Indicates whether the property can be set during construction but is otherwise read-only.
23
34
  *
24
35
  * @default false
36
+ * @since 5.0
25
37
  */
26
38
  constructOnly?: boolean;
27
- /** Property names of dependencies. */
39
+ /**
40
+ * Property names of dependencies.
41
+ *
42
+ * @since 5.0
43
+ */
28
44
  dependsOn?: string[];
29
45
  /**
30
46
  * Indicates whether the property is read-only.
31
47
  *
32
48
  * @default false
49
+ * @since 5.0
33
50
  */
34
51
  readOnly?: boolean;
35
- /** The constructor used to [autocast](https://developers.arcgis.com/javascript/latest/autocasting/) the property. */
52
+ /**
53
+ * The constructor used to [autocast](https://developers.arcgis.com/javascript/latest/autocasting/) the property.
54
+ *
55
+ * @since 5.0
56
+ */
36
57
  type?: any;
37
- /** The default value for the property. */
58
+ /**
59
+ * The default value for the property.
60
+ *
61
+ * @since 5.0
62
+ */
38
63
  value?: T | null;
39
64
  }
40
65
 
66
+ /** @since 5.0 */
41
67
  export interface InputPropertyMetadata<T extends Base = any, Base = T> extends PropertyMetadataBase<T, Base> {
42
- /** The property decorator that creates a two-way binding between the property it decorates and an inner property of one of its members. */
68
+ /**
69
+ * The property decorator that creates a two-way binding between the property it decorates and an inner property of one of its members.
70
+ *
71
+ * @since 5.0
72
+ */
43
73
  aliasOf?: string;
44
74
  }
@@ -2,4 +2,4 @@
2
2
  All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
4
4
  */
5
- import{cyclicalDegrees as r}from"./Cyclical.js";import{toUnit as t}from"./quantity.js";import{formatAngleDegrees as e,formatDecimal as a,formatMetricLength as n,formatImperialLength as u,formatMetricArea as i,formatImperialArea as c,formatImperialVerticalLength as o,formatMetricVerticalLength as l,formatMetricVolume as f,formatImperialVolume as m,formatRelativeDecimal as b,formatMetricRelativeLength as s,formatMetricRelativeVerticalLength as v,formatImperialRelativeLength as p,formatImperialRelativeVerticalLength as h,formatDMS as g,formatRelativeAngleDegrees as L}from"./unitFormatUtils.js";function d(r,e,n,u=2,i="abbr"){return a(r,t(e,n).value,n,u,i)}function M(r,e,a,n=2,u="abbr"){return b(r,t(e,a).value,a,n,u)}function w(r,t,e=2,a="abbr"){return n(r,t.value,t.unit,e,a)}function I(r,t,e=2,a="abbr"){return s(r,t.value,t.unit,e,a)}function V(r,t,e=2,a="abbr"){return l(r,t.value,t.unit,e,a)}function R(r,t,e=2,a="abbr"){return v(r,t.value,t.unit,e,a)}function y(r,t,e=2,a="abbr"){return i(r,t.value,t.unit,e,a)}function j(r,t,e=2,a="abbr"){return f(r,t.value,t.unit,e,a)}function D(r,t,e=2,a="abbr"){return u(r,t.value,t.unit,e,a)}function A(r,t,e=2,a="abbr"){return p(r,t.value,t.unit,e,a)}function T(r,t,e=2,a="abbr"){return o(r,t.value,t.unit,e,a)}function q(r,t,e=2,a="abbr"){return h(r,t.value,t.unit,e,a)}function x(r,t,e=2,a="abbr"){return c(r,t.value,t.unit,e,a)}function C(r,t,e=2,a="abbr"){return m(r,t.value,t.unit,e,a)}function F(r){return g(r.value,r.unit)}function S(t,a,n,u=r,i=!0){return e(t.value,t.unit,t.rotationType,a,n,u,i)}function U(r,t,e){return L(r.value,r.unit,r.rotationType,t,e??void 0)}function k(r,t,e,a,n="abbr"){switch(a=a??2,e){case"imperial":return D(r,t,a,n);case"metric":return w(r,t,a,n);default:return d(r,t,e,a,n)}}function z(r,t,e,a=2,n="abbr"){switch(e){case"imperial":return A(r,t,a,n);case"metric":return I(r,t,a,n);default:return M(r,t,e,a,n)}}function B(r,t,e,a=2,n="abbr"){switch(e){case"imperial":return T(r,t,a,n);case"metric":return V(r,t,a,n);default:return d(r,t,e,a,n)}}function E(r,t,e,a=2,n="abbr"){switch(e){case"imperial":return q(r,t,a,n);case"metric":return R(r,t,a,n);default:return M(r,t,e,a,n)}}function G(r,t,e,a=2,n="abbr"){switch(e){case"imperial":return x(r,t,a,n);case"metric":return y(r,t,a,n);default:return d(r,t,e,a,n)}}function H(r,t,e,a=2,n="abbr"){switch(e){case"imperial":return C(r,t,a,n);case"metric":return j(r,t,a,n);default:return d(r,t,e,a,n)}}export{S as formatAngle,G as formatArea,F as formatDMS,d as formatDecimal,x as formatImperialArea,D as formatImperialLength,A as formatImperialRelativeLength,q as formatImperialRelativeVerticalLength,T as formatImperialVerticalLength,C as formatImperialVolume,k as formatLength,y as formatMetricArea,w as formatMetricLength,I as formatMetricRelativeLength,R as formatMetricRelativeVerticalLength,V as formatMetricVerticalLength,j as formatMetricVolume,U as formatRelativeAngle,M as formatRelativeDecimal,z as formatRelativeLength,E as formatRelativeVerticalLength,B as formatVerticalLength,H as formatVolume};
5
+ import{cyclicalDegrees as r}from"./Cyclical.js";import{toUnit as t}from"./quantity.js";import{formatAngleDegrees as e,formatDecimal as a,formatMetricLength as n,formatImperialLength as i,formatMetricArea as u,formatImperialArea as c,formatImperialVerticalLength as l,formatMetricVerticalLength as o,formatMetricVolume as m,formatImperialVolume as b,formatRelativeDecimal as f,formatMetricRelativeLength as s,formatMetricRelativeVerticalLength as v,formatImperialRelativeLength as p,formatImperialRelativeVerticalLength as h,formatDMS as d,formatRelativeAngleDegrees as g}from"./unitFormatUtils.js";function L(r,e,n,i=2,u="abbr"){return a(r,t(e,n).value,n,i,u)}function M(r,e,a,n=2,i="abbr"){return f(r,t(e,a).value,a,n,i)}function w(r,t,e=2,a="abbr"){return n(r,t.value,t.unit,e,a)}function I(r,t,e=2,a="abbr"){return s(r,t.value,t.unit,e,a)}function V(r,t,e=2,a="abbr"){return o(r,t.value,t.unit,e,a)}function y(r,t,e=2,a="abbr"){return v(r,t.value,t.unit,e,a)}function R(r,t,e=2,a="abbr"){return u(r,t.value,t.unit,e,a)}function j(r,t,e=2,a="abbr"){return m(r,t.value,t.unit,e,a)}function D(r,t,e=2,a="abbr"){return i(r,t.value,t.unit,e,a)}function A(r,t,e=2,a="abbr"){return p(r,t.value,t.unit,e,a)}function T(r,t,e=2,a="abbr"){return l(r,t.value,t.unit,e,a)}function k(r,t,e=2,a="abbr"){return h(r,t.value,t.unit,e,a)}function q(r,t,e=2,a="abbr"){return c(r,t.value,t.unit,e,a)}function x(r,t,e=2,a="abbr"){return b(r,t.value,t.unit,e,a)}function C(r){return d(r.value,r.unit)}function F(t,a,n,i=r,u=!0){return e(t.value,t.unit,t.rotationType,a,n,i,u)}function S(r,t,e){return g(r.value,r.unit,r.rotationType,t,e??void 0)}function U(r,t,e,a,n="abbr"){switch(a=a??2,e){case"imperial":return D(r,t,a,n);case"metric":return w(r,t,a,n);default:return L(r,t,e,a,n)}}function z(r,t,e,a=2,n="abbr"){switch(e){case"imperial":return A(r,t,a,n);case"metric":return I(r,t,a,n);default:return M(r,t,e,a,n)}}function B(r,t,e,a=2,n="abbr"){switch(e){case"imperial":return T(r,t,a,n);case"metric":return V(r,t,a,n);default:return L(r,t,e,a,n)}}function E(r,t,e,a=2,n="abbr"){switch(e){case"imperial":return k(r,t,a,n);case"metric":return y(r,t,a,n);default:return M(r,t,e,a,n)}}function G(r,t,e,a=2,n="abbr"){switch(e){case"imperial":return q(r,t,a,n);case"metric":return R(r,t,a,n);default:return L(r,t,e,a,n)}}function H(r,t,e,a=2,n="abbr"){switch(e){case"imperial":return x(r,t,a,n);case"metric":return j(r,t,a,n);default:return L(r,t,e,a,n)}}const J={"cubic-millimeters":0,"cubic-centimeters":0,"cubic-decimeters":1,"cubic-meters":2,"cubic-kilometers":6,"cubic-inches":0,"cubic-feet":2,"cubic-yards":2,"cubic-miles":6,liters:2};function K(r){return J[r]}export{F as formatAngle,G as formatArea,C as formatDMS,L as formatDecimal,q as formatImperialArea,D as formatImperialLength,A as formatImperialRelativeLength,k as formatImperialRelativeVerticalLength,T as formatImperialVerticalLength,x as formatImperialVolume,U as formatLength,R as formatMetricArea,w as formatMetricLength,I as formatMetricRelativeLength,y as formatMetricRelativeVerticalLength,V as formatMetricVerticalLength,j as formatMetricVolume,S as formatRelativeAngle,M as formatRelativeDecimal,z as formatRelativeLength,E as formatRelativeVerticalLength,B as formatVerticalLength,H as formatVolume,K as preferredVolumePrecision};
@@ -1,22 +1,35 @@
1
1
 
2
+ /** @since 5.0 */
2
3
  export interface SourcePosition {
4
+ /** @since 5.0 */
3
5
  column: number;
6
+ /** @since 5.0 */
4
7
  line: number;
8
+ /** @since 5.0 */
5
9
  offset: number;
6
10
  }
7
11
 
12
+ /** @since 5.0 */
8
13
  export interface SQLSourceLocation {
14
+ /** @since 5.0 */
9
15
  end: SourcePosition;
16
+ /** @since 5.0 */
10
17
  source?: unknown;
18
+ /** @since 5.0 */
11
19
  start: SourcePosition;
12
20
  }
13
21
 
22
+ /** @since 5.0 */
14
23
  export interface SQLSyntaxError extends Error {
24
+ /** @since 5.0 */
15
25
  location: SQLSourceLocation;
26
+ /** @since 5.0 */
16
27
  message: string;
28
+ /** @since 5.0 */
17
29
  name: "SyntaxError";
18
30
  }
19
31
 
32
+ /** @since 5.0 */
20
33
  export type SimpleAttributes = {
21
34
  attributes: Record<string, unknown>;
22
35
  } | Record<string, any>;
@@ -36,16 +49,35 @@ export type SQLNode = BinaryNode | BoolNode | ColumnNode | CurrentTimeNode | Cur
36
49
  * @since 4.24
37
50
  */
38
51
  export interface SimpleCaseNode {
39
- /** When nodes. */
52
+ /**
53
+ * When nodes.
54
+ *
55
+ * @since 5.0
56
+ */
40
57
  clauses: WhenNode[];
41
- /** else sql node. */
58
+ /**
59
+ * else sql node.
60
+ *
61
+ * @since 5.0
62
+ */
42
63
  else: SQLNode | null;
43
- /** Present if `else` is non-null and includes the location of the `ELSE` keyword and result expression. */
64
+ /**
65
+ * Present if `else` is non-null and includes the location of the `ELSE` keyword and result expression.
66
+ *
67
+ * @since 5.0
68
+ */
44
69
  elseLocation?: SQLSourceLocation;
70
+ /** @since 5.0 */
45
71
  format: "simple";
72
+ /** @since 5.0 */
46
73
  location: SQLSourceLocation;
47
- /** SQL node. */
74
+ /**
75
+ * SQL node.
76
+ *
77
+ * @since 5.0
78
+ */
48
79
  operand: SQLNode;
80
+ /** @since 5.0 */
49
81
  type: "case-expression";
50
82
  }
51
83
 
@@ -55,15 +87,33 @@ export interface SimpleCaseNode {
55
87
  * @since 4.24
56
88
  */
57
89
  export interface SearchedCaseNode {
58
- /** When clauses. */
90
+ /**
91
+ * When clauses.
92
+ *
93
+ * @since 5.0
94
+ */
59
95
  clauses: WhenNode[];
60
- /** Else SQL node. */
96
+ /**
97
+ * Else SQL node.
98
+ *
99
+ * @since 5.0
100
+ */
61
101
  else: SQLNode | null;
62
- /** Present if `else` is non-null and includes the location of the `ELSE` keyword and result expression. */
102
+ /**
103
+ * Present if `else` is non-null and includes the location of the `ELSE` keyword and result expression.
104
+ *
105
+ * @since 5.0
106
+ */
63
107
  elseLocation?: SQLSourceLocation;
64
- /** Case expression format. Value for this property is always `searched`. */
108
+ /**
109
+ * Case expression format. Value for this property is always `searched`.
110
+ *
111
+ * @since 5.0
112
+ */
65
113
  format: "searched";
114
+ /** @since 5.0 */
66
115
  location: SQLSourceLocation;
116
+ /** @since 5.0 */
67
117
  type: "case-expression";
68
118
  }
69
119
 
@@ -73,11 +123,21 @@ export interface SearchedCaseNode {
73
123
  * @since 4.24
74
124
  */
75
125
  export interface WhenNode {
126
+ /** @since 5.0 */
76
127
  location: SQLSourceLocation;
77
- /** operand. */
128
+ /**
129
+ * operand.
130
+ *
131
+ * @since 5.0
132
+ */
78
133
  operand: SQLNode;
134
+ /** @since 5.0 */
79
135
  type: "when-clause";
80
- /** value. */
136
+ /**
137
+ * value.
138
+ *
139
+ * @since 5.0
140
+ */
81
141
  value: SQLNode;
82
142
  }
83
143
 
@@ -87,8 +147,11 @@ export interface WhenNode {
87
147
  * @since 4.24
88
148
  */
89
149
  export interface ParamNode {
150
+ /** @since 5.0 */
90
151
  location: SQLSourceLocation;
152
+ /** @since 5.0 */
91
153
  type: "parameter";
154
+ /** @since 5.0 */
92
155
  value: string;
93
156
  }
94
157
 
@@ -98,9 +161,15 @@ export interface ParamNode {
98
161
  * @since 4.24
99
162
  */
100
163
  export interface ListNode {
164
+ /** @since 5.0 */
101
165
  location: SQLSourceLocation;
166
+ /** @since 5.0 */
102
167
  type: "expression-list";
103
- /** SQL expressions for the list. */
168
+ /**
169
+ * SQL expressions for the list.
170
+ *
171
+ * @since 5.0
172
+ */
104
173
  value: SQLNode[];
105
174
  }
106
175
 
@@ -111,10 +180,17 @@ export interface ListNode {
111
180
  * @since 4.24
112
181
  */
113
182
  export interface UnaryNode {
114
- /** The sql node. */
183
+ /**
184
+ * The sql node.
185
+ *
186
+ * @since 5.0
187
+ */
115
188
  expr: SQLNode;
189
+ /** @since 5.0 */
116
190
  location: SQLSourceLocation;
191
+ /** @since 5.0 */
117
192
  operator: "NOT";
193
+ /** @since 5.0 */
118
194
  type: "unary-expression";
119
195
  }
120
196
 
@@ -126,18 +202,34 @@ export interface UnaryNode {
126
202
  * @since 4.24
127
203
  */
128
204
  export interface BinaryNode {
129
- /** Escape string. */
205
+ /**
206
+ * Escape string.
207
+ *
208
+ * @since 5.0
209
+ */
130
210
  escape?: string;
131
- /** SQL node to the left of the binary node. */
211
+ /**
212
+ * SQL node to the left of the binary node.
213
+ *
214
+ * @since 5.0
215
+ */
132
216
  left: SQLNode;
217
+ /** @since 5.0 */
133
218
  location: SQLSourceLocation;
134
219
  /**
135
220
  * Defines the way two expressions are combined
136
221
  * to yield a single result.
222
+ *
223
+ * @since 5.0
137
224
  */
138
225
  operator: BinaryOperator;
139
- /** SQL node to the right of the binary node. */
226
+ /**
227
+ * SQL node to the right of the binary node.
228
+ *
229
+ * @since 5.0
230
+ */
140
231
  right: SQLNode;
232
+ /** @since 5.0 */
141
233
  type: "binary-expression";
142
234
  }
143
235
 
@@ -147,9 +239,15 @@ export interface BinaryNode {
147
239
  * @since 4.24
148
240
  */
149
241
  export interface NullNode {
242
+ /** @since 5.0 */
150
243
  location: SQLSourceLocation;
244
+ /** @since 5.0 */
151
245
  type: "null";
152
- /** Null value. */
246
+ /**
247
+ * Null value.
248
+ *
249
+ * @since 5.0
250
+ */
153
251
  value: null;
154
252
  }
155
253
 
@@ -159,9 +257,15 @@ export interface NullNode {
159
257
  * @since 4.24
160
258
  */
161
259
  export interface BoolNode {
260
+ /** @since 5.0 */
162
261
  location: SQLSourceLocation;
262
+ /** @since 5.0 */
163
263
  type: "boolean";
164
- /** Values are `true` or `false`. */
264
+ /**
265
+ * Values are `true` or `false`.
266
+ *
267
+ * @since 5.0
268
+ */
165
269
  value: boolean;
166
270
  }
167
271
 
@@ -171,9 +275,15 @@ export interface BoolNode {
171
275
  * @since 4.24
172
276
  */
173
277
  export interface StringNode {
278
+ /** @since 5.0 */
174
279
  location: SQLSourceLocation;
280
+ /** @since 5.0 */
175
281
  type: "string";
176
- /** The string value. */
282
+ /**
283
+ * The string value.
284
+ *
285
+ * @since 5.0
286
+ */
177
287
  value: string;
178
288
  }
179
289
 
@@ -183,9 +293,15 @@ export interface StringNode {
183
293
  * @since 4.24
184
294
  */
185
295
  export interface NumberNode {
296
+ /** @since 5.0 */
186
297
  location: SQLSourceLocation;
298
+ /** @since 5.0 */
187
299
  type: "number";
188
- /** Numeric value. */
300
+ /**
301
+ * Numeric value.
302
+ *
303
+ * @since 5.0
304
+ */
189
305
  value: number;
190
306
  }
191
307
 
@@ -195,9 +311,15 @@ export interface NumberNode {
195
311
  * @since 4.24
196
312
  */
197
313
  export interface DateNode {
314
+ /** @since 5.0 */
198
315
  location: SQLSourceLocation;
316
+ /** @since 5.0 */
199
317
  type: "date";
200
- /** The date value. */
318
+ /**
319
+ * The date value.
320
+ *
321
+ * @since 5.0
322
+ */
201
323
  value: string;
202
324
  }
203
325
 
@@ -207,9 +329,15 @@ export interface DateNode {
207
329
  * @since 4.24
208
330
  */
209
331
  export interface TimeNode {
332
+ /** @since 5.0 */
210
333
  location: SQLSourceLocation;
334
+ /** @since 5.0 */
211
335
  type: "time";
212
- /** The time value. */
336
+ /**
337
+ * The time value.
338
+ *
339
+ * @since 5.0
340
+ */
213
341
  value: string;
214
342
  }
215
343
 
@@ -219,9 +347,15 @@ export interface TimeNode {
219
347
  * @since 4.24
220
348
  */
221
349
  export interface TimeStampNode {
350
+ /** @since 5.0 */
222
351
  location: SQLSourceLocation;
352
+ /** @since 5.0 */
223
353
  type: "timestamp";
224
- /** String date value. */
354
+ /**
355
+ * String date value.
356
+ *
357
+ * @since 5.0
358
+ */
225
359
  value: string;
226
360
  }
227
361
 
@@ -231,9 +365,15 @@ export interface TimeStampNode {
231
365
  * @since 4.24
232
366
  */
233
367
  export interface ColumnNode {
234
- /** Column or field name. */
368
+ /**
369
+ * Column or field name.
370
+ *
371
+ * @since 5.0
372
+ */
235
373
  column: string;
374
+ /** @since 5.0 */
236
375
  location: SQLSourceLocation;
376
+ /** @since 5.0 */
237
377
  type: "column-reference";
238
378
  }
239
379
 
@@ -243,9 +383,15 @@ export interface ColumnNode {
243
383
  * @since 4.24
244
384
  */
245
385
  export interface CurrentTimeNode {
386
+ /** @since 5.0 */
246
387
  location: SQLSourceLocation;
247
- /** The current time node mode. */
388
+ /**
389
+ * The current time node mode.
390
+ *
391
+ * @since 5.0
392
+ */
248
393
  mode: "timestamp" | "date" | "time";
394
+ /** @since 5.0 */
249
395
  type: "current-time";
250
396
  }
251
397
 
@@ -255,7 +401,9 @@ export interface CurrentTimeNode {
255
401
  * @since 4.31
256
402
  */
257
403
  export interface CurrentUserNode {
404
+ /** @since 5.0 */
258
405
  location: SQLSourceLocation;
406
+ /** @since 5.0 */
259
407
  type: "current-user";
260
408
  }
261
409
 
@@ -266,16 +414,28 @@ export interface CurrentUserNode {
266
414
  * @since 4.24
267
415
  */
268
416
  export interface IntervalNode {
417
+ /** @since 5.0 */
269
418
  location: SQLSourceLocation;
270
- /** Interval node sign. */
419
+ /**
420
+ * Interval node sign.
421
+ *
422
+ * @since 5.0
423
+ */
271
424
  op: "+" | "-" | "";
272
425
  /**
273
426
  * The interval qualifier
274
427
  * can either be a single datetime field or be composed of two datetime fields, in the form: `<leading field> TO <trailing field>`.
428
+ *
429
+ * @since 5.0
275
430
  */
276
431
  qualifier: IntervalQualifierNode | IntervalPeriodNode;
432
+ /** @since 5.0 */
277
433
  type: "interval";
278
- /** Interval node value. */
434
+ /**
435
+ * Interval node value.
436
+ *
437
+ * @since 5.0
438
+ */
279
439
  value: StringNode | ParamNode;
280
440
  }
281
441
 
@@ -286,9 +446,13 @@ export interface IntervalNode {
286
446
  * @since 4.24
287
447
  */
288
448
  export interface IntervalQualifierNode {
449
+ /** @since 5.0 */
289
450
  end: IntervalPeriodNode;
451
+ /** @since 5.0 */
290
452
  location: SQLSourceLocation;
453
+ /** @since 5.0 */
291
454
  start: IntervalPeriodNode;
455
+ /** @since 5.0 */
292
456
  type: "interval-qualifier";
293
457
  }
294
458
 
@@ -298,13 +462,27 @@ export interface IntervalQualifierNode {
298
462
  * @since 4.24
299
463
  */
300
464
  export interface IntervalPeriodNode {
465
+ /** @since 5.0 */
301
466
  location: SQLSourceLocation;
302
- /** Interval node periods. */
467
+ /**
468
+ * Interval node periods.
469
+ *
470
+ * @since 5.0
471
+ */
303
472
  period: "day" | "month" | "hour" | "second" | "year" | "minute";
304
- /** Precision for an interval data type includes interval leading precision, interval precision, and seconds precision. */
473
+ /**
474
+ * Precision for an interval data type includes interval leading precision, interval precision, and seconds precision.
475
+ *
476
+ * @since 5.0
477
+ */
305
478
  precision: number | null;
306
- /** Seconds precision. */
479
+ /**
480
+ * Seconds precision.
481
+ *
482
+ * @since 5.0
483
+ */
307
484
  secondary: number | null;
485
+ /** @since 5.0 */
308
486
  type: "interval-period";
309
487
  }
310
488
 
@@ -314,24 +492,41 @@ export interface IntervalPeriodNode {
314
492
  * @since 4.24
315
493
  */
316
494
  export interface FunctionNode {
317
- /** Function arguments. */
495
+ /**
496
+ * Function arguments.
497
+ *
498
+ * @since 5.0
499
+ */
318
500
  args: ListNode;
501
+ /** @since 5.0 */
319
502
  location: SQLSourceLocation;
320
- /** Name of the SQL function. */
503
+ /**
504
+ * Name of the SQL function.
505
+ *
506
+ * @since 5.0
507
+ */
321
508
  name: string;
509
+ /** @since 5.0 */
322
510
  type: "function";
323
511
  }
324
512
 
513
+ /** @since 5.0 */
325
514
  export type BinaryOperator = "AND" | "OR" | "IS" | "ISNOT" | "IN" | "NOT IN" | "BETWEEN" | "NOTBETWEEN" | "LIKE" | "NOT LIKE" | "<>" | "<" | ">" | ">=" | "<=" | "=" | "*" | "-" | "+" | "/" | "||";
326
515
 
327
516
  /** @since 4.26 */
328
517
  export interface DataTypeNode {
518
+ /** @since 5.0 */
329
519
  location: SQLSourceLocation;
520
+ /** @since 5.0 */
330
521
  type: "data-type";
522
+ /** @since 5.0 */
331
523
  value: DataTypeNodeValue;
332
524
  }
333
525
 
526
+ /** @since 5.0 */
334
527
  export interface DataTypeNodeValue {
528
+ /** @since 5.0 */
335
529
  size?: number;
530
+ /** @since 5.0 */
336
531
  type: "integer" | "real" | "smallint" | "float" | "date" | "timestamp" | "varchar" | "time";
337
532
  }
package/core/types.d.ts CHANGED
@@ -1,12 +1,23 @@
1
1
 
2
+ /** @since 5.0 */
2
3
  export interface CollectionChangeEvent<T = any> {
3
- /** An array of items added to the collection using either [Collection#add()](https://developers.arcgis.com/javascript/latest/api-reference/esri-core-Collection.html#add) or [Collection#addMany()](https://developers.arcgis.com/javascript/latest/api-reference/esri-core-Collection.html#addMany). */
4
+ /**
5
+ * An array of items added to the collection using either [Collection#add()](https://developers.arcgis.com/javascript/latest/api-reference/esri-core-Collection.html#add) or [Collection#addMany()](https://developers.arcgis.com/javascript/latest/api-reference/esri-core-Collection.html#addMany).
6
+ *
7
+ * @since 5.0
8
+ */
4
9
  added: T[];
5
- /** An array of items that moved in the collection using [Collection#reorder()](https://developers.arcgis.com/javascript/latest/api-reference/esri-core-Collection.html#reorder). */
10
+ /**
11
+ * An array of items that moved in the collection using [Collection#reorder()](https://developers.arcgis.com/javascript/latest/api-reference/esri-core-Collection.html#reorder).
12
+ *
13
+ * @since 5.0
14
+ */
6
15
  moved: T[];
7
16
  /**
8
17
  * An array of items removed from the collection using either [Collection#remove()](https://developers.arcgis.com/javascript/latest/api-reference/esri-core-Collection.html#remove),
9
18
  * [Collection#removeMany()](https://developers.arcgis.com/javascript/latest/api-reference/esri-core-Collection.html#removeMany), [Collection#removeAt()](https://developers.arcgis.com/javascript/latest/api-reference/esri-core-Collection.html#removeAt), or [Collection#removeAll()](https://developers.arcgis.com/javascript/latest/api-reference/esri-core-Collection.html#removeAll).
19
+ *
20
+ * @since 5.0
10
21
  */
11
22
  removed: T[];
12
23
  }
@@ -19,9 +30,17 @@ export interface CollectionChangeEvent<T = any> {
19
30
  * @example const sourcePoint = { x: 80, y: 1732 }
20
31
  */
21
32
  export interface ScreenPoint {
22
- /** The x coordinate in pixels. */
33
+ /**
34
+ * The x coordinate in pixels.
35
+ *
36
+ * @since 5.0
37
+ */
23
38
  x: number;
24
- /** The y coordinate in pixels. */
39
+ /**
40
+ * The y coordinate in pixels.
41
+ *
42
+ * @since 5.0
43
+ */
25
44
  y: number;
26
45
  }
27
46
 
@@ -33,6 +52,7 @@ export interface ScreenPoint {
33
52
  * @param args - Arguments of any type to be logged.
34
53
  * @returns Return true to indicate the log message has been handled and should no longer be processed
35
54
  * (neither by other interceptors nor by the default handler which logs messages to the console).
55
+ * @since 5.0
36
56
  * @example
37
57
  * // Only show error messages, not warnings nor info messages
38
58
  * esriConfig.log.level = "error";
@@ -1,2 +1,3 @@
1
1
 
2
+ /** @since 5.0 */
2
3
  export type SharedTemplateType = "feature" | "group" | "preset";