@arcgis/core 5.1.0-next.63 → 5.1.0-next.65
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.
- package/Camera.d.ts +1 -1
- package/Ground.d.ts +7 -7
- package/PopupTemplate.d.ts +8 -8
- package/WebDocument2D.js +1 -1
- package/WebScene.d.ts +1 -1
- package/WebScene.js +1 -1
- package/analysis/AreaMeasurementAnalysis.d.ts +1 -1
- package/analysis/DirectLineMeasurementAnalysis.d.ts +1 -1
- package/analysis/LengthDimension.d.ts +4 -4
- package/analysis/ShadowCastAnalysis.d.ts +3 -3
- package/analysis/SliceAnalysis.d.ts +1 -1
- package/analysis/SlicePlane.d.ts +1 -1
- package/applications/Components/featureUtils.d.ts +24 -0
- package/applications/Components/featureUtils.js +1 -1
- package/arcade/geometry/wkt.js +1 -1
- package/assets/esri/core/workers/RemoteClient.js +1 -1
- package/assets/esri/core/workers/chunks/{8166ad6bbd7d7a8f91cf.js → 0f3b8a08f843a080af0d.js} +1 -1
- package/assets/esri/core/workers/chunks/{354351ab3fc79dedf9a8.js → 4eca871ca51a59f6540a.js} +1 -1
- package/assets/esri/core/workers/chunks/7e97684e851274efd11f.js +1 -0
- package/assets/esri/core/workers/chunks/86f1aa2c108f5224d8b5.js +1 -0
- package/assets/esri/core/workers/chunks/b8acb6c2538053c01cc6.js +1 -0
- package/assets/esri/core/workers/chunks/d9d69cf2496ebe76eade.js +1 -0
- package/assets/esri/core/workers/chunks/{6c72dbd5275bffde1583.js → e622a23034f055de8b55.js} +1 -1
- package/assets/esri/core/workers/chunks/ec9d5dcf2a0a11c85341.js +1 -0
- package/config.js +1 -1
- package/effects/FocusAreas.d.ts +1 -1
- package/form/elements/FieldElement.d.ts +1 -1
- package/form/elements/GroupElement.d.ts +1 -1
- package/form/elements/TextElement.d.ts +1 -1
- package/form/elements/inputs/ComboBoxInput.d.ts +1 -1
- package/form/elements/inputs/RadioButtonsInput.d.ts +1 -1
- package/form/elements/inputs/SwitchInput.d.ts +1 -1
- package/geometry/Mesh.d.ts +7 -7
- package/geometry/operators/alphaShapeOperator.d.ts +1 -1
- package/geometry/operators/areaOperator.d.ts +1 -1
- package/geometry/operators/bufferOperator.d.ts +1 -1
- package/geometry/operators/centroidOperator.d.ts +1 -1
- package/geometry/operators/clipOperator.d.ts +1 -1
- package/geometry/operators/containsOperator.d.ts +1 -1
- package/geometry/operators/convexHullOperator.d.ts +1 -1
- package/geometry/operators/crossesOperator.d.ts +1 -1
- package/geometry/operators/cutOperator.d.ts +1 -1
- package/geometry/operators/densifyOperator.d.ts +1 -1
- package/geometry/operators/differenceOperator.d.ts +1 -1
- package/geometry/operators/disjointOperator.d.ts +1 -1
- package/geometry/operators/distanceOperator.d.ts +1 -1
- package/geometry/operators/generalizeOperator.d.ts +1 -1
- package/geometry/operators/geodesicProximityOperator.d.ts +1 -1
- package/geometry/operators/geodeticDistanceOperator.d.ts +1 -1
- package/geometry/operators/geodeticUtilsOperator.d.ts +2 -2
- package/geometry/operators/graphicBufferOperator.d.ts +1 -1
- package/geometry/operators/intersectionOperator.d.ts +1 -1
- package/geometry/operators/intersectsOperator.d.ts +1 -1
- package/geometry/operators/isNearOperator.d.ts +1 -1
- package/geometry/operators/lengthOperator.d.ts +1 -1
- package/geometry/operators/locateBetweenOperator.d.ts +1 -1
- package/geometry/operators/multiPartToSinglePartOperator.d.ts +1 -1
- package/geometry/operators/offsetOperator.d.ts +5 -5
- package/geometry/operators/overlapsOperator.d.ts +1 -1
- package/geometry/operators/proximityOperator.d.ts +1 -1
- package/geometry/operators/simplifyOGCOperator.d.ts +1 -1
- package/geometry/operators/simplifyOperator.d.ts +1 -1
- package/geometry/operators/support/Transformation.d.ts +6 -6
- package/geometry/operators/symmetricDifferenceOperator.d.ts +1 -1
- package/geometry/operators/touchesOperator.d.ts +1 -1
- package/geometry/operators/unionOperator.d.ts +1 -1
- package/geometry/operators/withinOperator.d.ts +1 -1
- package/geometry/support/MeshMaterialMetallicRoughness.d.ts +1 -1
- package/geometry/support/vcsData.js +2 -0
- package/geometry/support/vcsLookup.js +2 -0
- package/kernel.js +1 -1
- package/layers/BuildingSceneLayer.d.ts +4 -4
- package/layers/CSVLayer.d.ts +2 -2
- package/layers/CatalogLayer.d.ts +2 -2
- package/layers/ElevationLayer.d.ts +1 -1
- package/layers/FeatureLayer.d.ts +2 -2
- package/layers/GeoJSONLayer.d.ts +2 -2
- package/layers/GeoRSSLayer.d.ts +1 -1
- package/layers/GraphicsLayer.d.ts +2 -2
- package/layers/ImageryLayer.d.ts +3 -3
- package/layers/ImageryTileLayer.d.ts +2 -2
- package/layers/IntegratedMesh3DTilesLayer.d.ts +6 -6
- package/layers/IntegratedMeshLayer.d.ts +7 -7
- package/layers/MapImageLayer.d.ts +1 -1
- package/layers/MediaLayer.d.ts +1 -1
- package/layers/OGCFeatureLayer.d.ts +2 -2
- package/layers/PointCloudLayer.d.ts +1 -1
- package/layers/SceneLayer.d.ts +9 -9
- package/layers/StreamLayer.d.ts +2 -2
- package/layers/VectorTileLayer.d.ts +2 -2
- package/layers/VideoLayer.d.ts +1 -1
- package/layers/VoxelLayer.d.ts +8 -8
- package/layers/WFSLayer.d.ts +6 -6
- package/layers/catalog/CatalogFootprintLayer.d.ts +1 -1
- package/layers/graphics/sources/geojson/GeoJSONSourceWorker.js +1 -1
- package/layers/graphics/sources/support/MemorySourceWorker.js +1 -1
- package/layers/mixins/ArcGISImageService.js +1 -1
- package/layers/mixins/BlendLayer.d.ts +6 -6
- package/layers/pointCloudFilters/PointCloudReturnFilter.d.ts +1 -1
- package/layers/pointCloudFilters/PointCloudValueFilter.d.ts +1 -1
- package/layers/support/DimensionalDefinition.d.ts +2 -2
- package/layers/support/FeatureEffect.d.ts +4 -4
- package/layers/support/FeatureFilter.d.ts +17 -17
- package/layers/support/FeatureReductionBinning.d.ts +1 -1
- package/layers/support/FeatureReductionCluster.d.ts +9 -9
- package/layers/support/FeatureReductionSelection.d.ts +1 -1
- package/layers/support/LabelClass.d.ts +2 -2
- package/layers/support/RasterFunction.d.ts +1 -1
- package/layers/support/SceneFilter.d.ts +2 -2
- package/layers/support/SceneModification.d.ts +3 -3
- package/layers/support/capabilities.js +1 -1
- package/layers/support/featureLayerUtils.js +1 -1
- package/layers/support/serviceCapabilitiesUtils.js +1 -1
- package/layers/types.d.ts +6 -0
- package/package.json +1 -1
- package/popup/Feature.d.ts +6 -6
- package/popup/Feature.js +1 -1
- package/popup/Features.d.ts +3 -14
- package/popup/Features.js +1 -1
- package/popup/content/AttachmentsContent.d.ts +1 -1
- package/popup/content/BarChartMediaInfo.d.ts +1 -1
- package/popup/content/ColumnChartMediaInfo.d.ts +1 -1
- package/popup/content/FieldsContent.d.ts +1 -1
- package/popup/content/ImageMediaInfo.d.ts +1 -1
- package/popup/content/LineChartMediaInfo.d.ts +1 -1
- package/popup/content/MediaContent.d.ts +1 -1
- package/popup/content/PieChartMediaInfo.d.ts +1 -1
- package/popup/content/RelationshipContent.d.ts +1 -1
- package/popup/content/TextContent.d.ts +1 -1
- package/popup/support/featureUtils.js +1 -1
- package/popup/types.d.ts +193 -8
- package/portal/schemas/definitions.js +1 -1
- package/renderers/ClassBreaksRenderer.d.ts +1 -1
- package/renderers/DictionaryRenderer.d.ts +1 -1
- package/renderers/DotDensityRenderer.d.ts +3 -3
- package/renderers/FlowRenderer.d.ts +5 -5
- package/renderers/HeatmapRenderer.d.ts +3 -3
- package/renderers/PieChartRenderer.d.ts +1 -1
- package/renderers/RasterShadedReliefRenderer.d.ts +1 -1
- package/renderers/Renderer.d.ts +4 -4
- package/renderers/SimpleRenderer.d.ts +2 -2
- package/renderers/UniqueValueRenderer.d.ts +2 -2
- package/renderers/VectorFieldRenderer.d.ts +1 -1
- package/renderers/mixins/VisualVariablesMixin.d.ts +12 -12
- package/renderers/visualVariables/ColorVariable.d.ts +1 -1
- package/renderers/visualVariables/OpacityVariable.d.ts +1 -1
- package/renderers/visualVariables/RotationVariable.d.ts +1 -1
- package/renderers/visualVariables/SizeVariable.d.ts +1 -1
- package/renderers/visualVariables/VisualVariable.d.ts +1 -1
- package/rest/query/support/AttachmentInfo.d.ts +1 -1
- package/rest/support/AttributeBinsQuery.d.ts +8 -8
- package/rest/support/AutoIntervalBinParameters.d.ts +1 -1
- package/rest/support/DateBinParameters.d.ts +1 -1
- package/rest/support/FixedBoundariesBinParameters.d.ts +1 -1
- package/rest/support/FixedIntervalBinParameters.d.ts +1 -1
- package/rest/support/Query.d.ts +8 -8
- package/rest/support/TopFeaturesQuery.d.ts +8 -8
- package/smartMapping/labels/clusters.d.ts +1 -1
- package/smartMapping/popup/clusters.d.ts +2 -2
- package/smartMapping/popup/templates.d.ts +1 -1
- package/smartMapping/raster/renderers/flow.d.ts +2 -2
- package/smartMapping/renderers/color.d.ts +12 -12
- package/smartMapping/renderers/predominance.d.ts +3 -3
- package/smartMapping/renderers/relationship.d.ts +15 -15
- package/smartMapping/renderers/univariateColorSize.d.ts +4 -4
- package/smartMapping/symbology/color.d.ts +4 -4
- package/smartMapping/symbology/flow.d.ts +2 -2
- package/smartMapping/symbology/types.d.ts +18 -18
- package/support/actions/ActionButton.d.ts +1 -1
- package/support/revision.js +1 -1
- package/symbols/CIMSymbol.d.ts +1 -1
- package/symbols/ExtrudeSymbol3DLayer.d.ts +1 -1
- package/symbols/FillSymbol3DLayer.d.ts +3 -3
- package/symbols/IconSymbol3DLayer.d.ts +1 -1
- package/symbols/LabelSymbol3D.d.ts +2 -2
- package/symbols/LineStyleMarker3D.d.ts +7 -7
- package/symbols/LineSymbol3D.d.ts +2 -2
- package/symbols/LineSymbol3DLayer.d.ts +7 -7
- package/symbols/LineSymbolMarker.d.ts +6 -6
- package/symbols/MarkerSymbol.d.ts +1 -1
- package/symbols/MeshSymbol3D.d.ts +2 -2
- package/symbols/ObjectSymbol3DLayer.d.ts +1 -1
- package/symbols/PathSymbol3DLayer.d.ts +14 -14
- package/symbols/PictureFillSymbol.d.ts +1 -1
- package/symbols/PictureMarkerSymbol.d.ts +1 -1
- package/symbols/PointSymbol3D.d.ts +3 -3
- package/symbols/PolygonSymbol3D.d.ts +5 -5
- package/symbols/SimpleFillSymbol.d.ts +8 -8
- package/symbols/SimpleLineSymbol.d.ts +20 -20
- package/symbols/SimpleMarkerSymbol.d.ts +7 -7
- package/symbols/Symbol3DLayer.d.ts +16 -16
- package/symbols/TextSymbol.d.ts +1 -1
- package/symbols/TextSymbol3DLayer.d.ts +1 -1
- package/symbols/WaterSymbol3DLayer.d.ts +3 -3
- package/symbols/WebStyleSymbol.d.ts +12 -12
- package/symbols/callouts/Callout3D.d.ts +1 -1
- package/symbols/callouts/LineCallout3D.d.ts +3 -3
- package/symbols/cim/types.d.ts +23 -23
- package/symbols/edges/Edges3D.d.ts +1 -1
- package/symbols/edges/SolidEdges3D.d.ts +1 -1
- package/symbols/patterns/LineStylePattern3D.d.ts +11 -11
- package/symbols/patterns/StylePattern3D.d.ts +8 -8
- package/symbols/support/ElevationInfo.d.ts +2 -2
- package/symbols/support/IconSymbol3DLayerResource.d.ts +6 -6
- package/symbols/support/ObjectSymbol3DLayerResource.d.ts +7 -7
- package/symbols/support/Symbol3DEmissive.d.ts +2 -2
- package/symbols/support/Symbol3DVerticalOffset.d.ts +2 -2
- package/views/2d/engine/flow/FlowStrategy.js +1 -1
- package/views/2d/engine/flow/styles/Imagery.js +1 -1
- package/views/2d/engine/flow/styles/Particles.js +1 -1
- package/views/2d/engine/flow/styles/Stack.js +1 -1
- package/views/2d/engine/flow/styles/Streamlines.js +1 -1
- package/views/2d/engine/vectorTiles/style/StyleLayer.js +1 -1
- package/views/2d/engine/webgl/shaders/sources/shaderRepository.js +1 -1
- package/views/2d/layers/BaseLayerViewGL2D.d.ts +1 -1
- package/views/2d/layers/ImageryTileLayerView2D.js +1 -1
- package/views/2d/layers/imagery/BaseImageryTileSubView2D.js +1 -1
- package/views/2d/types.d.ts +3 -3
- package/views/3d/FocusAreasView.js +1 -1
- package/views/3d/analysis/Slice/sliceToolUtils.js +1 -1
- package/views/3d/analysis/VolumeMeasurement/VolumeMeasurementCutFillController.js +1 -1
- package/views/3d/analysis/VolumeMeasurement/VolumeMeasurementCutFillVisualization.js +1 -1
- package/views/3d/environment/CloudyWeather.d.ts +1 -1
- package/views/3d/environment/Environment.d.ts +4 -4
- package/views/3d/environment/FoggyWeather.d.ts +1 -1
- package/views/3d/environment/RainyWeather.d.ts +1 -1
- package/views/3d/environment/SnowyWeather.d.ts +1 -1
- package/views/3d/environment/SunLighting.d.ts +1 -1
- package/views/3d/environment/SunnyWeather.d.ts +1 -1
- package/views/3d/environment/VirtualLighting.d.ts +1 -1
- package/views/3d/layers/graphics/extrudeUtils.js +1 -1
- package/views/3d/support/renderInfoUtils/polygon.js +1 -1
- package/views/3d/webgl/RenderNode.d.ts +2 -2
- package/views/3d/webgl-engine/effects/focusArea/FocusAreaMaskNode.js +1 -1
- package/views/3d/webgl-engine/lib/CutFillComputationRenderNode.js +1 -1
- package/views/3d/webgl-engine/lib/CutFillVisualizationRenderNode.js +1 -1
- package/views/3d/webgl.d.ts +1 -1
- package/views/Magnifier.d.ts +3 -3
- package/views/MapView.d.ts +7 -7
- package/views/SceneView.d.ts +16 -16
- package/views/View.d.ts +17 -3
- package/views/View.js +1 -1
- package/views/interactive/sketch/SketchLabelOptions.d.ts +1 -1
- package/views/interactive/sketch/SketchTooltipOptions.d.ts +1 -1
- package/views/interactive/snapping/SnappingOptions.d.ts +7 -7
- package/views/layers/LineOfSightLayerView.d.ts +3 -2
- package/views/support/HighlightOptions.d.ts +1 -1
- package/views/types.d.ts +59 -2
- package/views/ui/DefaultUI.d.ts +2 -2
- package/webscene/Environment.d.ts +10 -10
- package/webscene/Glow.d.ts +1 -1
- package/webscene/background/ColorBackground.d.ts +1 -1
- package/widgets/AreaMeasurement2D.d.ts +1 -1
- package/widgets/AreaMeasurement3D.d.ts +2 -2
- package/widgets/Attachments.d.ts +1 -1
- package/widgets/Attribution.d.ts +1 -1
- package/widgets/BasemapGallery.d.ts +1 -1
- package/widgets/BasemapLayerList.d.ts +3 -3
- package/widgets/BasemapToggle.d.ts +1 -1
- package/widgets/Bookmarks/BookmarksVisibleElements.d.ts +1 -1
- package/widgets/Bookmarks.d.ts +2 -2
- package/widgets/BuildingExplorer.d.ts +1 -1
- package/widgets/CatalogLayerList.d.ts +3 -3
- package/widgets/Compass.d.ts +2 -2
- package/widgets/CoordinateConversion.d.ts +1 -1
- package/widgets/Daylight.d.ts +5 -5
- package/widgets/DirectLineMeasurement3D.d.ts +2 -2
- package/widgets/Directions.d.ts +4 -4
- package/widgets/DistanceMeasurement2D.d.ts +1 -1
- package/widgets/Editor/CreateFeaturesWorkflow.d.ts +1 -1
- package/widgets/Editor.d.ts +8 -8
- package/widgets/ElevationProfile/ElevationProfileLineGround.d.ts +1 -1
- package/widgets/ElevationProfile/ElevationProfileLineInput.d.ts +1 -1
- package/widgets/ElevationProfile/ElevationProfileLineView.d.ts +1 -1
- package/widgets/ElevationProfile.d.ts +3 -3
- package/widgets/Expand.d.ts +1 -1
- package/widgets/FeatureForm.d.ts +1 -1
- package/widgets/FeatureTable/ActionColumn.d.ts +2 -2
- package/widgets/FeatureTable/AttachmentsColumn.d.ts +1 -1
- package/widgets/FeatureTable/FeatureTableViewModel.d.ts +3 -3
- package/widgets/FeatureTable/Grid/GroupColumn.d.ts +1 -1
- package/widgets/FeatureTable/RelationshipColumn.d.ts +1 -1
- package/widgets/FeatureTable/VisibleElements.d.ts +1 -1
- package/widgets/FeatureTable.d.ts +10 -10
- package/widgets/FeatureTemplates/FeatureTemplatesViewModel.d.ts +5 -5
- package/widgets/FeatureTemplates.d.ts +8 -8
- package/widgets/Features/FeaturesViewModel.d.ts +2 -2
- package/widgets/Features/FeaturesVisibleElements.d.ts +2 -2
- package/widgets/Features.d.ts +1 -1
- package/widgets/FloorFilter/FloorFilterViewModel.js +1 -1
- package/widgets/FloorFilter.d.ts +2 -2
- package/widgets/Histogram.d.ts +2 -2
- package/widgets/HistogramRangeSlider.d.ts +1 -1
- package/widgets/Home.d.ts +1 -1
- package/widgets/LayerList/ListItemPanel.d.ts +1 -1
- package/widgets/LayerList.d.ts +4 -4
- package/widgets/Legend.d.ts +8 -8
- package/widgets/LineOfSight.d.ts +1 -1
- package/widgets/Locate.d.ts +2 -2
- package/widgets/Measurement.d.ts +1 -1
- package/widgets/NavigationToggle/NavigationToggleViewModel.d.ts +1 -1
- package/widgets/NavigationToggle.d.ts +3 -3
- package/widgets/Popup/PopupVisibleElements.d.ts +2 -2
- package/widgets/Popup.d.ts +5 -5
- package/widgets/Print/CustomTemplate.d.ts +1 -1
- package/widgets/Print/TemplateOptions.d.ts +4 -4
- package/widgets/ScaleRangeSlider.d.ts +1 -1
- package/widgets/Search/SearchViewModel.d.ts +4 -4
- package/widgets/Search.d.ts +5 -5
- package/widgets/ShadowCast.d.ts +3 -3
- package/widgets/Sketch/SketchViewModel.d.ts +39 -39
- package/widgets/Sketch.d.ts +43 -43
- package/widgets/Slice.d.ts +2 -2
- package/widgets/Slider/SliderViewModel.d.ts +2 -2
- package/widgets/Slider.d.ts +9 -9
- package/widgets/Swipe/SwipeViewModel.d.ts +1 -1
- package/widgets/Swipe.d.ts +2 -2
- package/widgets/TableList/ListItemPanel.d.ts +1 -1
- package/widgets/TableList.d.ts +1 -1
- package/widgets/TimeSlider/TimeSliderViewModel.d.ts +10 -10
- package/widgets/TimeSlider/TimeSliderViewModel.js +1 -1
- package/widgets/TimeSlider/types.d.ts +1 -1
- package/widgets/TimeSlider.d.ts +13 -13
- package/widgets/Track.d.ts +2 -2
- package/widgets/UtilityNetworkAssociations.d.ts +3 -3
- package/widgets/UtilityNetworkTrace.d.ts +4 -4
- package/widgets/UtilityNetworkValidateTopology.d.ts +1 -1
- package/widgets/ValuePicker.d.ts +5 -5
- package/widgets/VideoPlayer.d.ts +1 -1
- package/widgets/smartMapping/ClassedColorSlider.d.ts +1 -1
- package/widgets/smartMapping/ClassedSizeSlider.d.ts +1 -1
- package/widgets/smartMapping/ColorSizeSlider.d.ts +2 -2
- package/widgets/smartMapping/ColorSlider.d.ts +1 -1
- package/widgets/smartMapping/HeatmapSlider.d.ts +1 -1
- package/widgets/smartMapping/OpacitySlider.d.ts +1 -1
- package/widgets/smartMapping/SizeSlider.d.ts +1 -1
- package/widgets/smartMapping/SmartMappingSliderBase.d.ts +4 -4
- package/widgets/smartMapping/SmartMappingSliderViewModel.d.ts +6 -6
- package/widgets/support/GridControls.d.ts +1 -1
- package/widgets/support/SnappingControls/VisibleElements.d.ts +1 -1
- package/widgets/support/SnappingControls.d.ts +6 -6
- package/assets/esri/core/workers/chunks/2aaeaf022af8493281dc.js +0 -1
- package/assets/esri/core/workers/chunks/2d92ba11781a3cfc3a78.js +0 -1
- package/assets/esri/core/workers/chunks/5c6e5f22450dd0583074.js +0 -1
- package/assets/esri/core/workers/chunks/75f7c1f600c4051bc905.js +0 -1
- package/assets/esri/core/workers/chunks/ee8cd91c27e9cdfc3b2e.js +0 -1
package/widgets/Slider.d.ts
CHANGED
|
@@ -215,7 +215,7 @@ export interface VisibleElements {
|
|
|
215
215
|
* <span id="image-annotations"></span>
|
|
216
216
|
* See the image below for a summary of the configurable options available on this slider.
|
|
217
217
|
*
|
|
218
|
-
* 
|
|
219
219
|
*
|
|
220
220
|
* At a minimum, the slider's [container](https://developers.arcgis.com/javascript/latest/references/core/widgets/Slider/#container) or parent container must have a `width` set in CSS for it to render.
|
|
221
221
|
*
|
|
@@ -345,12 +345,12 @@ export default class Slider extends Widget<SliderProperties> {
|
|
|
345
345
|
* The image below demonstrates how slider input values resemble corresponding slider values by default
|
|
346
346
|
* and won't match the formatting set in `labelFormatFunction`.
|
|
347
347
|
*
|
|
348
|
-
* 
|
|
349
349
|
*
|
|
350
350
|
* If you want to format slider input values so they match thumb labels, you can pass the same function set in `labelFormatFunction` to
|
|
351
351
|
* `inputFormatFunction` for consistent formatting.
|
|
352
352
|
*
|
|
353
|
-
* 
|
|
354
354
|
*
|
|
355
355
|
* However, if an `inputFormatFunction` is specified, you must also write a corresponding
|
|
356
356
|
* [inputParseFunction](https://developers.arcgis.com/javascript/latest/references/core/widgets/Slider/#inputParseFunction) to parse user inputs to understandable slider values. In most cases, if
|
|
@@ -451,7 +451,7 @@ export default class Slider extends Widget<SliderProperties> {
|
|
|
451
451
|
* when the user clicks a label. This allows the user to move the slider
|
|
452
452
|
* thumb to precise values without sliding the thumbs.
|
|
453
453
|
*
|
|
454
|
-
* 
|
|
455
455
|
*
|
|
456
456
|
* @default false
|
|
457
457
|
* @example
|
|
@@ -471,28 +471,28 @@ export default class Slider extends Widget<SliderProperties> {
|
|
|
471
471
|
*
|
|
472
472
|
* **`horizontal`**
|
|
473
473
|
*
|
|
474
|
-
* 
|
|
475
475
|
*
|
|
476
476
|
* **`horizontal-reversed`**
|
|
477
477
|
*
|
|
478
478
|
* When the slider is set to `horizontal-reversed`, the max value will render on the
|
|
479
479
|
* left side and the min on the right.
|
|
480
480
|
*
|
|
481
|
-
* 
|
|
482
482
|
*
|
|
483
483
|
* **`vertical`**
|
|
484
484
|
*
|
|
485
485
|
* When the slider is set to `vertical`, the max value will render on the
|
|
486
486
|
* top of the track and the min on the bottom.
|
|
487
487
|
*
|
|
488
|
-
* 
|
|
489
489
|
*
|
|
490
490
|
* **`vertical-reversed`**
|
|
491
491
|
*
|
|
492
492
|
* When the slider is set to `vertical-reversed`, the max value will render on the
|
|
493
493
|
* bottom of the track and the min on the top.
|
|
494
494
|
*
|
|
495
|
-
* 
|
|
496
496
|
*
|
|
497
497
|
* @default "horizontal"
|
|
498
498
|
* @example slider.layout = "vertical";
|
|
@@ -608,7 +608,7 @@ export default class Slider extends Widget<SliderProperties> {
|
|
|
608
608
|
* when the user clicks a [min](https://developers.arcgis.com/javascript/latest/references/core/widgets/Slider/#min) or [max](https://developers.arcgis.com/javascript/latest/references/core/widgets/Slider/#max) label.
|
|
609
609
|
* This allows the user to increase or decrease the data range of the slider.
|
|
610
610
|
*
|
|
611
|
-
* 
|
|
612
612
|
*
|
|
613
613
|
* @default false
|
|
614
614
|
* @example slider.rangeLabelInputsEnabled = false;
|
|
@@ -38,7 +38,7 @@ export default class SwipeViewModel extends Accessor {
|
|
|
38
38
|
*
|
|
39
39
|
* | horizontal | vertical |
|
|
40
40
|
* |------------|----------|
|
|
41
|
-
* |[](https://developers.arcgis.com/javascript/latest/sample-code/swipe/) |[](https://developers.arcgis.com/javascript/latest/sample-code/swipe/)|
|
|
42
42
|
*
|
|
43
43
|
* @default "horizontal"
|
|
44
44
|
*/
|
package/widgets/Swipe.d.ts
CHANGED
|
@@ -63,7 +63,7 @@ export interface SwipeProperties extends WidgetProperties, Partial<Pick<Swipe, "
|
|
|
63
63
|
* is not set, then the Swipe widget will overlay the existing map. The [visibleElements](https://developers.arcgis.com/javascript/latest/references/core/widgets/Swipe/#visibleElements)
|
|
64
64
|
* separate the leading and trailing layers, as shown in the image below.
|
|
65
65
|
*
|
|
66
|
-
* [](https://developers.arcgis.com/javascript/latest/sample-code/swipe/)
|
|
67
67
|
*
|
|
68
68
|
* > [!WARNING]
|
|
69
69
|
* >
|
|
@@ -96,7 +96,7 @@ export default class Swipe extends Widget {
|
|
|
96
96
|
*
|
|
97
97
|
* | horizontal | vertical |
|
|
98
98
|
* |------------|----------|
|
|
99
|
-
* |[](https://developers.arcgis.com/javascript/latest/sample-code/swipe/) |[](https://developers.arcgis.com/javascript/latest/sample-code/swipe/)|
|
|
100
100
|
*
|
|
101
101
|
* @default "horizontal"
|
|
102
102
|
*/
|
|
@@ -147,7 +147,7 @@ export default class ListItemPanel extends ListItemPanelSuperclass {
|
|
|
147
147
|
* The URL or data URI of an image used to represent the panel.
|
|
148
148
|
* This property will be used as a background image for the node.
|
|
149
149
|
* If neither `image` nor `icon` are specified, a default icon
|
|
150
|
-
*  will display.
|
|
151
151
|
*/
|
|
152
152
|
accessor image: string | null | undefined;
|
|
153
153
|
/** The panel's parent ListItem that represents a table in the map. */
|
package/widgets/TableList.d.ts
CHANGED
|
@@ -84,7 +84,7 @@ export interface TableListEvents extends TableListViewModelEvents {}
|
|
|
84
84
|
* >
|
|
85
85
|
* > The TableList widget is not supported with [web scenes](https://developers.arcgis.com/javascript/latest/references/core/WebScene/).
|
|
86
86
|
*
|
|
87
|
-
* 
|
|
88
88
|
*
|
|
89
89
|
* @deprecated since version 5.0. Use the [Table List component](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-table-list/) instead. For information on widget deprecation, read about [Esri's move to web components](https://developers.arcgis.com/javascript/latest/components-transition-plan/).
|
|
90
90
|
* @since 4.17
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import type WebDocument2D from "../../WebDocument2D.js";
|
|
1
2
|
import type WebScene from "../../WebScene.js";
|
|
2
|
-
import type WebMap from "../../WebMap.js";
|
|
3
3
|
import type Collection from "../../core/Collection.js";
|
|
4
4
|
import type TimeExtent from "../../time/TimeExtent.js";
|
|
5
5
|
import type { EventedAccessor } from "../../core/Evented.js";
|
|
@@ -11,7 +11,7 @@ import type { TimeExtentProperties } from "../../time/TimeExtent.js";
|
|
|
11
11
|
export interface TimeSliderViewModelProperties extends Partial<Pick<TimeSliderViewModel, "loop" | "mode" | "playRate" | "stops" | "view">> {
|
|
12
12
|
/**
|
|
13
13
|
* Defines actions that will appear in a menu when the user clicks the ellipsis button
|
|
14
|
-
*  in the widget. The
|
|
15
15
|
* ellipsis button will not display if this property is `null` or if the collection is empty.
|
|
16
16
|
* Each [Action](https://developers.arcgis.com/javascript/latest/references/core/widgets/TimeSlider/types/#Action) is defined with a unique id, a title,
|
|
17
17
|
* and an icon.
|
|
@@ -20,7 +20,7 @@ export interface TimeSliderViewModelProperties extends Partial<Pick<TimeSliderVi
|
|
|
20
20
|
* can be used to execute custom code such as setting the [timeExtent](https://developers.arcgis.com/javascript/latest/references/core/widgets/TimeSlider/TimeSliderViewModel/#timeExtent) to a specific date or copying the
|
|
21
21
|
* timeExtent to the browser's clipboard.
|
|
22
22
|
*
|
|
23
|
-
* [](https://developers.arcgis.com/javascript/latest/sample-code/sandbox/?sample=widgets-timeslider-offset)
|
|
24
24
|
*
|
|
25
25
|
* @since 4.21
|
|
26
26
|
* @example
|
|
@@ -202,7 +202,7 @@ export default class TimeSliderViewModel extends EventedAccessor {
|
|
|
202
202
|
constructor(properties?: TimeSliderViewModelProperties);
|
|
203
203
|
/**
|
|
204
204
|
* Defines actions that will appear in a menu when the user clicks the ellipsis button
|
|
205
|
-
*  in the widget. The
|
|
206
206
|
* ellipsis button will not display if this property is `null` or if the collection is empty.
|
|
207
207
|
* Each [Action](https://developers.arcgis.com/javascript/latest/references/core/widgets/TimeSlider/types/#Action) is defined with a unique id, a title,
|
|
208
208
|
* and an icon.
|
|
@@ -211,7 +211,7 @@ export default class TimeSliderViewModel extends EventedAccessor {
|
|
|
211
211
|
* can be used to execute custom code such as setting the [timeExtent](https://developers.arcgis.com/javascript/latest/references/core/widgets/TimeSlider/TimeSliderViewModel/#timeExtent) to a specific date or copying the
|
|
212
212
|
* timeExtent to the browser's clipboard.
|
|
213
213
|
*
|
|
214
|
-
* [](https://developers.arcgis.com/javascript/latest/sample-code/sandbox/?sample=widgets-timeslider-offset)
|
|
215
215
|
*
|
|
216
216
|
* @since 4.21
|
|
217
217
|
* @example
|
|
@@ -337,10 +337,10 @@ export default class TimeSliderViewModel extends EventedAccessor {
|
|
|
337
337
|
*
|
|
338
338
|
* Possible Values | Description | Example |
|
|
339
339
|
* ----------------------|-------------- | ------- |
|
|
340
|
-
* instant | The slider will show temporal data that falls on a single instance in time. Set the [timeExtent](https://developers.arcgis.com/javascript/latest/references/core/widgets/TimeSlider/TimeSliderViewModel/#timeExtent) property's `start` and `end` dates to same date: `{start: sameDate, end: sameDate}` | <img alt="mode-instance" src="https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/timeslider/mode-instance.
|
|
341
|
-
* time-window | The slider will show temporal data that falls within a given time range. This is the default. Set [timeExtent](https://developers.arcgis.com/javascript/latest/references/core/widgets/TimeSlider/TimeSliderViewModel/#timeExtent) property's `start` and `date` properties to desired dates. | <img alt="mode-instance" src="https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/timeslider/mode-time-window.
|
|
342
|
-
* cumulative-from-start | Similar to `time-window` with the start time is always pinned to the start of the slider. Set the [timeExtent](https://developers.arcgis.com/javascript/latest/references/core/widgets/TimeSlider/TimeSliderViewModel/#timeExtent) property's `start` date to `null` and set `end` date to a desired date: `{start: null, end: date}` | <img alt="mode-instance" src="https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/timeslider/mode-from-start.
|
|
343
|
-
* cumulative-from-end | Also, similar to the `time-window` with the end time pinned to the end of the slider. Set the [timeExtent](https://developers.arcgis.com/javascript/latest/references/core/widgets/TimeSlider/TimeSliderViewModel/#timeExtent) property's `start` date to a desired date and set `end` date to `null`: `{start: date, end: null}` | <img alt="mode-instance" src="https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/timeslider/mode-from-end.
|
|
340
|
+
* instant | The slider will show temporal data that falls on a single instance in time. Set the [timeExtent](https://developers.arcgis.com/javascript/latest/references/core/widgets/TimeSlider/TimeSliderViewModel/#timeExtent) property's `start` and `end` dates to same date: `{start: sameDate, end: sameDate}` | <img alt="mode-instance" src="https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/timeslider/mode-instance.avif"> |
|
|
341
|
+
* time-window | The slider will show temporal data that falls within a given time range. This is the default. Set [timeExtent](https://developers.arcgis.com/javascript/latest/references/core/widgets/TimeSlider/TimeSliderViewModel/#timeExtent) property's `start` and `date` properties to desired dates. | <img alt="mode-instance" src="https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/timeslider/mode-time-window.avif"> |
|
|
342
|
+
* cumulative-from-start | Similar to `time-window` with the start time is always pinned to the start of the slider. Set the [timeExtent](https://developers.arcgis.com/javascript/latest/references/core/widgets/TimeSlider/TimeSliderViewModel/#timeExtent) property's `start` date to `null` and set `end` date to a desired date: `{start: null, end: date}` | <img alt="mode-instance" src="https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/timeslider/mode-from-start.avif"> |
|
|
343
|
+
* cumulative-from-end | Also, similar to the `time-window` with the end time pinned to the end of the slider. Set the [timeExtent](https://developers.arcgis.com/javascript/latest/references/core/widgets/TimeSlider/TimeSliderViewModel/#timeExtent) property's `start` date to a desired date and set `end` date to `null`: `{start: date, end: null}` | <img alt="mode-instance" src="https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/timeslider/mode-from-end.avif"> |
|
|
344
344
|
*
|
|
345
345
|
* @default "time-window"
|
|
346
346
|
* @example
|
|
@@ -625,5 +625,5 @@ export default class TimeSliderViewModel extends EventedAccessor {
|
|
|
625
625
|
* timeSlider.updateWebDocument(webmap);
|
|
626
626
|
* webmap.save();
|
|
627
627
|
*/
|
|
628
|
-
updateWebDocument(document:
|
|
628
|
+
updateWebDocument(document: WebDocument2D | WebScene): void;
|
|
629
629
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import{__decorate as t}from"tslib";import e from"../../core/Collection.js";import{EventedAccessor as i}from"../../core/Evented.js";import n from"../../core/Logger.js";import{after as s,isAbortError as r}from"../../core/promiseUtils.js";import{watch as o,initial as l,syncAndInitial as a,whenOnce as m}from"../../core/reactiveUtils.js";import{offsetDate as u}from"../../core/timeUtils.js";import{property as p,cast as h,subclass as d}from"../../core/accessorSupport/decorators.js";import{ensureType as c}from"../../core/accessorSupport/ensureType.js";import f from"../../time/TimeExtent.js";import
|
|
2
|
+
import{__decorate as t}from"tslib";import e from"../../core/Collection.js";import{EventedAccessor as i}from"../../core/Evented.js";import n from"../../core/Logger.js";import{after as s,isAbortError as r}from"../../core/promiseUtils.js";import{watch as o,initial as l,syncAndInitial as a,whenOnce as m}from"../../core/reactiveUtils.js";import{offsetDate as u}from"../../core/timeUtils.js";import{property as p,cast as h,subclass as d}from"../../core/accessorSupport/decorators.js";import{ensureType as c}from"../../core/accessorSupport/ensureType.js";import f from"../../time/TimeExtent.js";import g from"../../time/TimeInterval.js";import w from"../../webdoc/Widgets.js";import v from"../../webdoc/widgets/TimeSlider.js";const T=1e4;function x(t){return!!t&&"count"in t}function E(t){return!!t&&"interval"in t}function y(t){return!!t&&"dates"in t}let _=class extends i{constructor(t){super(t),this._animationController=null,this._isViewTimeExtentInitialized=!1,this._timerId=null,this.actions=new e,this.fullTimeExtent=null,this.loop=!1,this.mode="time-window",this.stops={count:10},this.timeExtent=null,this.view=null}initialize(){this.addHandles([o(()=>this.effectiveStops,()=>{this.timeExtent??=this._getDefaultTimeExtent()},l),o(()=>this.view,(t,e)=>{this._unregisterWidget(e),this._registerWidget(t)},a),o(()=>this.timeExtent,t=>{if(!this.view)return;const e=this.view.timeExtent;(t&&!t.isAllTime||e&&!e.isAllTime)&&(t&&e&&t.equals(e)||(this.view.timeExtent=t))},l),o(()=>this.view?.timeExtent,t=>{this._isViewTimeExtentInitialized?(t&&!t.isAllTime||this.timeExtent&&!this.timeExtent.isAllTime)&&(t&&this.timeExtent&&t.equals(this.timeExtent)||(this.timeExtent=t)):this._isViewTimeExtentInitialized=!0})])}destroy(){null!=this._timerId&&(clearInterval(this._timerId),this._timerId=null),this._unregisterWidget(this.view),this.view=null,this._animationController?.abort(),this._animationController=null}get effectiveStops(){const{fullTimeExtent:t,stops:e}=this;if(y(e)){const{dates:i}=e;if(!i?.length)return null;const n=i.sort((t,e)=>t.getTime()-e.getTime());if(!t)return n;const{start:s,end:r}=t;if(!s||!r)return n;return n.filter(t=>!(t.getTime()<s.getTime()||t.getTime()>r.getTime()))}if(x(e)){const i=e.timeExtent??t;return this._divideTimeExtentByCount(i,e.count)}if(E(e)){const i=e.timeExtent??t;return this._divideTimeExtentByInterval(i,e.interval)}return[]}get isPreCommonEra(){return(this.fullTimeExtent?.start?.getFullYear()??0)<0}set playRate(t){t<=0||t>36e5||("playing"===this.state&&this._startAnimation(),this._set("playRate",t))}get state(){return this.fullTimeExtent?this._animationController?"playing":"ready":"disabled"}castStops(t){if(!t)return null;if(E(t)){if("unknown"===t.interval.unit)return n.getLogger(this).warn('A stop interval with an "unknown" time units is not supported. The default stop definition will be used.'),{count:10};t.interval=c(g,t.interval)}return(E(t)||x(t))&&(t.timeExtent=c(f,t.timeExtent)),t}get timeExtentValues(){const{mode:t,timeExtent:e}=this;if(!e||e.isAllTime||e.isEmpty)return null;const{start:i,end:n}=e;switch(t){case"cumulative-from-end":case"instant":return i?[i.getTime()]:null;case"cumulative-from-start":return n?[n.getTime()]:null;case"time-window":return i&&n?[i.getTime(),n.getTime()]:null}}next(){this._step({forward:!0,allowRestart:!1})}play(){this._startAnimation()}previous(){this._step({forward:!1,allowRestart:!1})}stop(){this._stopAnimation()}triggerAction(t){this.emit("trigger-action",{action:t})}updateWebDocument(t){const e=new v({currentTimeExtent:this.timeExtent,fullTimeExtent:this.fullTimeExtent,loop:this.loop,numStops:x(this.stops)?this.stops.count:null,numThumbs:"time-window"===this.mode?2:1,stopDelay:this.playRate,stopInterval:E(this.stops)?this.stops.interval:null,stops:y(this.stops)?this.stops.dates:null});t.widgets??=new w,t.widgets.timeSlider=e}valuesToTimeExtent(t){if(!t)return null;const e=t.sort((t,e)=>t-e).map(t=>new Date(t)),i=e.length>0?e[0]:null,n=e.length>1?e[1]:null;switch(this.mode){case"time-window":return new f({start:i,end:n});case"instant":return new f({start:i,end:i});case"cumulative-from-start":return new f({start:null,end:i});case"cumulative-from-end":return new f({start:i,end:null});default:return f.allTime}}async _animate(){try{const t=this.view,e=this._animationController?.signal;await Promise.all([s(this.playRate,null,e),t&&m(()=>!t.updating,e)])}catch(t){return r(t)||n.getLogger(this).error(t),void(this._animationController=null)}this._step({forward:!0,allowRestart:!1}),this._animationController&&this._animate()}_divideTimeExtentByCount(t,e=10){if(!t||!e)return[];const{start:i,end:n}=t;if(!i||!n)return[];if(e>T)return this._divideTimeExtentByCount(t);const s=[],r=i.getTime(),o=n.getTime()-r;for(let l=0;l<=e;l++)s.push(new Date(r+l/e*o));return s}_divideTimeExtentByInterval(t,e,i=T){if(!t||!e)return[];const{start:n,end:s}=t;if(!n||!s)return[];const r=s.getTime()-n.getTime(),o=e.toMilliseconds();if(o<=0||r/o>i)return this._divideTimeExtentByCount(t);const l=[],{value:a,unit:m}=e;let p=n;for(;p.getTime()<=s.getTime();)l.push(new Date(p)),p=u(p,a,m);return l}_getDefaultTimeExtent(){const{effectiveStops:t,mode:e}=this;if(!t||!e)return null;switch(e){case"time-window":return t.length>1?new f({start:t[0],end:t[1]}):null;case"cumulative-from-start":return t.length>0?new f({start:null,end:t[0]}):null;case"cumulative-from-end":return t.length>0?new f({start:t[0],end:null}):null;case"instant":return t.length>0?new f({start:t[0],end:t[0]}):null;default:return null}}_registerWidget(t){t?.registerComponent(this)}_startAnimation(){this._stopAnimation(),this._animationController=new AbortController,this._step({forward:!0,allowRestart:!0}),this._animate()}_step(t){const{forward:e,allowRestart:i}=t,{effectiveStops:n}=this;if(!this.timeExtentValues||!n)return;const s=n.map(t=>t.getTime()),r=this.timeExtentValues.map(t=>{const e=s.indexOf(t);if(-1!==e)return e;const i=s.reduce((e,i)=>Math.abs(i-t)<Math.abs(e-t)?i:e);return s.indexOf(i)}),o=r.map(t=>t+(e?1:-1)),l=o.some(t=>t<0||t>s.length-1),{loop:a,state:m}=this;if(l)if(a||i){const t=Math.min(...r),i=Math.max(...r),n=(e?r.map(e=>e-t):r.map(t=>t+(s.length-1-i))).map(t=>s[t]);this.timeExtent=this.valuesToTimeExtent(n)}else"playing"===m&&this.stop();else{const t=o.map(t=>s[t]);this.timeExtent=this.valuesToTimeExtent(t)}}_stopAnimation(){null!=this._animationController&&(this._animationController.abort(),this._animationController=null)}_unregisterWidget(t){t?.unregisterComponent(this)}};t([p()],_.prototype,"_animationController",void 0),t([p({type:e})],_.prototype,"actions",void 0),t([p({readOnly:!0})],_.prototype,"effectiveStops",null),t([p({type:f})],_.prototype,"fullTimeExtent",void 0),t([p()],_.prototype,"isPreCommonEra",null),t([p({nonNullable:!0})],_.prototype,"loop",void 0),t([p({nonNullable:!0})],_.prototype,"mode",void 0),t([p({nonNullable:!0,value:1e3})],_.prototype,"playRate",null),t([p({readOnly:!0})],_.prototype,"state",null),t([p()],_.prototype,"stops",void 0),t([h("stops")],_.prototype,"castStops",null),t([p({type:f})],_.prototype,"timeExtent",void 0),t([p({readOnly:!0})],_.prototype,"timeExtentValues",null),t([p()],_.prototype,"view",void 0),t([p()],_.prototype,"next",null),t([p()],_.prototype,"play",null),t([p()],_.prototype,"previous",null),t([p()],_.prototype,"stop",null),t([p()],_.prototype,"updateWebDocument",null),_=t([d("esri.widgets.TimeSlider.TimeSliderViewModel")],_);const C=_;export{C as default};
|
|
@@ -144,7 +144,7 @@ export type Stops = StopsByDates | StopsByInterval | StopsByCount;
|
|
|
144
144
|
/**
|
|
145
145
|
* Definition of an action that can be assigned to the [TimeSliderViewModel.actions](https://developers.arcgis.com/javascript/latest/references/core/widgets/TimeSlider/TimeSliderViewModel/#actions) property on the
|
|
146
146
|
* [TimeSlider.actions](https://developers.arcgis.com/javascript/latest/references/core/widgets/TimeSlider/#actions) or the [TimeSliderViewModel.actions](https://developers.arcgis.com/javascript/latest/references/core/widgets/TimeSlider/TimeSliderViewModel/#actions). It is displayed in a menu when
|
|
147
|
-
* the user clicks the ellipsis button  on the [TimeSlider](https://developers.arcgis.com/javascript/latest/references/core/widgets/TimeSlider/) widget.
|
|
148
148
|
*
|
|
149
149
|
* @since 5.0
|
|
150
150
|
*/
|
package/widgets/TimeSlider.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import type WebDocument2D from "../WebDocument2D.js";
|
|
1
2
|
import type WebScene from "../WebScene.js";
|
|
2
|
-
import type WebMap from "../WebMap.js";
|
|
3
3
|
import type Collection from "../core/Collection.js";
|
|
4
4
|
import type TimeExtent from "../time/TimeExtent.js";
|
|
5
5
|
import type Widget from "./Widget.js";
|
|
@@ -17,7 +17,7 @@ import type { WidgetProperties } from "./Widget.js";
|
|
|
17
17
|
export interface TimeSliderProperties extends WidgetProperties, Partial<Pick<TimeSlider, "disabled" | "labelFormatFunction" | "layout" | "loop" | "mode" | "playRate" | "stops" | "tickConfigs" | "timeVisible" | "view">> {
|
|
18
18
|
/**
|
|
19
19
|
* Defines actions that will appear in a menu when the user clicks the ellipsis button
|
|
20
|
-
*  in the widget. The
|
|
21
21
|
* ellipsis button will not display if this property is `null` or if the collection is empty.
|
|
22
22
|
* Each [Action](https://developers.arcgis.com/javascript/latest/references/core/widgets/TimeSlider/types/#Action) is defined with a unique id, a title,
|
|
23
23
|
* and an icon.
|
|
@@ -26,7 +26,7 @@ export interface TimeSliderProperties extends WidgetProperties, Partial<Pick<Tim
|
|
|
26
26
|
* can be used to execute custom code such as setting the [timeExtent](https://developers.arcgis.com/javascript/latest/references/core/widgets/TimeSlider/#timeExtent) to a specific date or copying the
|
|
27
27
|
* timeExtent to the browser's clipboard.
|
|
28
28
|
*
|
|
29
|
-
* [](https://developers.arcgis.com/javascript/latest/sample-code/widgets-timeslider-offset/)
|
|
30
30
|
*
|
|
31
31
|
* @since 4.21
|
|
32
32
|
* @see [Sample - TimeSlider with offset](https://developers.arcgis.com/javascript/latest/sample-code/widgets-timeslider-offset/)
|
|
@@ -242,10 +242,10 @@ export interface TimeSliderEvents extends TimeSliderViewModelEvents {}
|
|
|
242
242
|
* or a specific time interval (e.g. days). The [timeExtent](https://developers.arcgis.com/javascript/latest/references/core/widgets/TimeSlider/#timeExtent) property defines the
|
|
243
243
|
* current location of the thumbs.
|
|
244
244
|
*
|
|
245
|
-
* [](https://developers.arcgis.com/javascript/latest/sample-code/timeslider/)
|
|
246
246
|
*
|
|
247
247
|
* If the time slider widget settings are invalid, the current time segment and thumbs will be drawn in a red color with a message indicating the issue.
|
|
248
|
-
* [](https://developers.arcgis.com/javascript/latest/sample-code/timeslider/)
|
|
249
249
|
*
|
|
250
250
|
* ### Configuring your time aware data
|
|
251
251
|
*
|
|
@@ -438,7 +438,7 @@ export default class TimeSlider extends Widget {
|
|
|
438
438
|
constructor(properties?: TimeSliderProperties);
|
|
439
439
|
/**
|
|
440
440
|
* Defines actions that will appear in a menu when the user clicks the ellipsis button
|
|
441
|
-
*  in the widget. The
|
|
442
442
|
* ellipsis button will not display if this property is `null` or if the collection is empty.
|
|
443
443
|
* Each [Action](https://developers.arcgis.com/javascript/latest/references/core/widgets/TimeSlider/types/#Action) is defined with a unique id, a title,
|
|
444
444
|
* and an icon.
|
|
@@ -447,7 +447,7 @@ export default class TimeSlider extends Widget {
|
|
|
447
447
|
* can be used to execute custom code such as setting the [timeExtent](https://developers.arcgis.com/javascript/latest/references/core/widgets/TimeSlider/#timeExtent) to a specific date or copying the
|
|
448
448
|
* timeExtent to the browser's clipboard.
|
|
449
449
|
*
|
|
450
|
-
* [](https://developers.arcgis.com/javascript/latest/sample-code/widgets-timeslider-offset/)
|
|
451
451
|
*
|
|
452
452
|
* @since 4.21
|
|
453
453
|
* @see [Sample - TimeSlider with offset](https://developers.arcgis.com/javascript/latest/sample-code/widgets-timeslider-offset/)
|
|
@@ -572,7 +572,7 @@ export default class TimeSlider extends Widget {
|
|
|
572
572
|
* The image below demonstrates how the date format, color, size, and font family of the label can be customized.
|
|
573
573
|
* The code for this specific configuration is shown in the following example.
|
|
574
574
|
*
|
|
575
|
-
* 
|
|
576
576
|
*
|
|
577
577
|
* @since 4.17
|
|
578
578
|
* @example
|
|
@@ -660,10 +660,10 @@ export default class TimeSlider extends Widget {
|
|
|
660
660
|
*
|
|
661
661
|
* Possible Values | Description | Example |
|
|
662
662
|
* ----------------------|-------------- | ------- |
|
|
663
|
-
* instant | The slider will show temporal data that falls on a single instance in time. Set the [timeExtent](https://developers.arcgis.com/javascript/latest/references/core/widgets/TimeSlider/#timeExtent) property's `start` and `end` dates to same date: `{start: sameDate, end: sameDate}` | <img alt="mode-instance" src="https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/timeslider/mode-instance.
|
|
664
|
-
* time-window | The slider will show temporal data that falls within a given time range. This is the default. Set [timeExtent](https://developers.arcgis.com/javascript/latest/references/core/widgets/TimeSlider/#timeExtent) property's `start` and `date` properties to desired dates. | <img alt="mode-instance" src="https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/timeslider/mode-time-window.
|
|
665
|
-
* cumulative-from-start | Similar to `time-window` with the start time is always pinned to the start of the slider. Set the [timeExtent](https://developers.arcgis.com/javascript/latest/references/core/widgets/TimeSlider/#timeExtent) property's `start` date to `null` and set `end` date to a desired date: `{start: null, end: date}` | <img alt="mode-instance" src="https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/timeslider/mode-from-start.
|
|
666
|
-
* cumulative-from-end | Also, similar to the `time-window` with the end time pinned to the end of the slider. Set the [timeExtent](https://developers.arcgis.com/javascript/latest/references/core/widgets/TimeSlider/#timeExtent) property's `start` date to a desired date and set `end` date to `null`: `{start: date, end: null}` | <img alt="mode-instance" src="https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/timeslider/mode-from-end.
|
|
663
|
+
* instant | The slider will show temporal data that falls on a single instance in time. Set the [timeExtent](https://developers.arcgis.com/javascript/latest/references/core/widgets/TimeSlider/#timeExtent) property's `start` and `end` dates to same date: `{start: sameDate, end: sameDate}` | <img alt="mode-instance" src="https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/timeslider/mode-instance.avif"> |
|
|
664
|
+
* time-window | The slider will show temporal data that falls within a given time range. This is the default. Set [timeExtent](https://developers.arcgis.com/javascript/latest/references/core/widgets/TimeSlider/#timeExtent) property's `start` and `date` properties to desired dates. | <img alt="mode-instance" src="https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/timeslider/mode-time-window.avif"> |
|
|
665
|
+
* cumulative-from-start | Similar to `time-window` with the start time is always pinned to the start of the slider. Set the [timeExtent](https://developers.arcgis.com/javascript/latest/references/core/widgets/TimeSlider/#timeExtent) property's `start` date to `null` and set `end` date to a desired date: `{start: null, end: date}` | <img alt="mode-instance" src="https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/timeslider/mode-from-start.avif"> |
|
|
666
|
+
* cumulative-from-end | Also, similar to the `time-window` with the end time pinned to the end of the slider. Set the [timeExtent](https://developers.arcgis.com/javascript/latest/references/core/widgets/TimeSlider/#timeExtent) property's `start` date to a desired date and set `end` date to `null`: `{start: date, end: null}` | <img alt="mode-instance" src="https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/timeslider/mode-from-end.avif"> |
|
|
667
667
|
*
|
|
668
668
|
* @default "time-window"
|
|
669
669
|
* @see [timeExtent](https://developers.arcgis.com/javascript/latest/references/core/widgets/TimeSlider/#timeExtent)
|
|
@@ -1028,5 +1028,5 @@ export default class TimeSlider extends Widget {
|
|
|
1028
1028
|
* timeSlider.updateWebDocument(webmap);
|
|
1029
1029
|
* webmap.save();
|
|
1030
1030
|
*/
|
|
1031
|
-
updateWebDocument(document:
|
|
1031
|
+
updateWebDocument(document: WebDocument2D | WebScene): void;
|
|
1032
1032
|
}
|
package/widgets/Track.d.ts
CHANGED
|
@@ -66,12 +66,12 @@ export interface TrackEvents extends TrackViewModelEvents {}
|
|
|
66
66
|
* to the user's location when clicked. The view rotates based on device heading.
|
|
67
67
|
* While tracking, the default button looks like the following:
|
|
68
68
|
*
|
|
69
|
-
* 
|
|
70
70
|
*
|
|
71
71
|
* The default heading symbol will display when speed is greater than zero and the browser
|
|
72
72
|
* provides heading information:
|
|
73
73
|
*
|
|
74
|
-
* 
|
|
75
75
|
*
|
|
76
76
|
* You can use the view's [DefaultUI](https://developers.arcgis.com/javascript/latest/references/core/views/ui/DefaultUI/) to add widgets
|
|
77
77
|
* to the view's user interface via the `ui` property.
|
|
@@ -62,13 +62,13 @@ export interface UtilityNetworkAssociationsProperties extends WidgetProperties,
|
|
|
62
62
|
* streamline their workflow, enhance data integrity, and enable effective network analysis and visualization within utility network applications.
|
|
63
63
|
*
|
|
64
64
|
* Here is an example of [autoRefreshAssociations](https://developers.arcgis.com/javascript/latest/references/core/widgets/UtilityNetworkAssociations/#autoRefreshAssociations) set to `false`.
|
|
65
|
-
* 
|
|
66
66
|
*
|
|
67
67
|
* By clicking the refresh button the associations will appear.
|
|
68
|
-
* 
|
|
69
69
|
*
|
|
70
70
|
* Here is an example of [autoRefreshAssociations](https://developers.arcgis.com/javascript/latest/references/core/widgets/UtilityNetworkAssociations/#autoRefreshAssociations) set to `true`.
|
|
71
|
-
* 
|
|
72
72
|
*
|
|
73
73
|
* > [!CAUTION]
|
|
74
74
|
* >
|
|
@@ -73,19 +73,19 @@ export interface UtilityNetworkTraceEvents extends UtilityNetworkTraceViewModelE
|
|
|
73
73
|
* The UtilityNetworkTrace widget provides a way to run traces in a Utility Network based on connectivity or traversability from set input flags.
|
|
74
74
|
* Input flags (starting points and barriers) can be set by clicking the view. Alternatively, the widget allows setting input flags programmatically on creation, or at runtime, by setting the [flags](https://developers.arcgis.com/javascript/latest/references/core/widgets/UtilityNetworkTrace/#flags) property.
|
|
75
75
|
* The widget can execute one or multiple traces concurrently by selecting them from the trace types dropdown. Trace types can be preset in the widget programmatically on creation, or at runtime, by setting the [selectedTraces](https://developers.arcgis.com/javascript/latest/references/core/widgets/UtilityNetworkTrace/#selectedTraces) property.
|
|
76
|
-
* 
|
|
77
77
|
*
|
|
78
78
|
* The trace results are returned as a selection or as graphics, or both (if aggregated geometry is set as a [Result Type](https://pro.arcgis.com/en/pro-app/latest/help/data/utility-network/configure-a-trace.htm#ESRI_SECTION2_A4D0D10A7C904C278F61ACDEBFCEDDA5)).
|
|
79
|
-
* 
|
|
80
80
|
*
|
|
81
81
|
* The resulting selection of features can be visualized in a list organized by asset groups and asset types if the [showSelectionAttributes](https://developers.arcgis.com/javascript/latest/references/core/widgets/UtilityNetworkTrace/#showSelectionAttributes) property is `true`.
|
|
82
82
|
*
|
|
83
|
-
* 
|
|
84
84
|
* In the image above, the left image displays a list of trace results filtered by asset group. The center image displays a list of asset types for the asset group "Service Point". The right image displays a list of features for the asset type "Single Phase Low Voltage Meter".
|
|
85
85
|
*
|
|
86
86
|
* Nonspatial data can be included as trace starting points and barriers. Additionally, users can examine nonspatial data within the trace results.
|
|
87
87
|
*
|
|
88
|
-
* 
|
|
89
89
|
* > [!WARNING]
|
|
90
90
|
* >
|
|
91
91
|
* > **Notes**
|
|
@@ -43,7 +43,7 @@ export type UtilityNetworkValidateTopologyExtentOption = "current" | "entire";
|
|
|
43
43
|
* minimizing the amount of code required for such operations.
|
|
44
44
|
*
|
|
45
45
|
* The following image demonstrates an example of validating a network topology using the widget after an edit results in a dirty area feature.
|
|
46
|
-
* 
|
|
47
47
|
* > [!CAUTION]
|
|
48
48
|
* >
|
|
49
49
|
* > **Notes**
|
package/widgets/ValuePicker.d.ts
CHANGED
|
@@ -112,7 +112,7 @@ export interface ValuePickerEvents extends ValuePickerViewModelEvents {}
|
|
|
112
112
|
* necessarily require data. In the example below, the ValuePicker is added to the view's
|
|
113
113
|
* `ui` property without any assigned data.
|
|
114
114
|
*
|
|
115
|
-
* 
|
|
116
116
|
*
|
|
117
117
|
* ```js
|
|
118
118
|
* const valuePicker = new ValuePicker();
|
|
@@ -135,7 +135,7 @@ export interface ValuePickerEvents extends ValuePickerViewModelEvents {}
|
|
|
135
135
|
* Consider using the [label component](https://developers.arcgis.com/javascript/latest/references/core/widgets/ValuePicker/ValuePickerLabel/) to step through a fixed list of predefined values like land use zones.
|
|
136
136
|
* In the following snippet a ValuePicker is added to the View UI containing three coded land use zones.
|
|
137
137
|
*
|
|
138
|
-
* 
|
|
139
139
|
*
|
|
140
140
|
* ```js
|
|
141
141
|
* const labelComponent = {
|
|
@@ -176,7 +176,7 @@ export interface ValuePickerEvents extends ValuePickerViewModelEvents {}
|
|
|
176
176
|
* initialized with starting value of "hybrid". Since "hybrid" is the first item in the collection only the _next_
|
|
177
177
|
* button will be enabled.
|
|
178
178
|
*
|
|
179
|
-
* 
|
|
180
180
|
*
|
|
181
181
|
* ```js
|
|
182
182
|
* const valuePicker = new ValuePicker({
|
|
@@ -205,7 +205,7 @@ export interface ValuePickerEvents extends ValuePickerViewModelEvents {}
|
|
|
205
205
|
* Consider using the [combobox component](https://developers.arcgis.com/javascript/latest/references/core/widgets/ValuePicker/ValuePickerCombobox/) when a searchable
|
|
206
206
|
* dropdown list is required. In the following snippet the ValuePicker widget is added to the View UI containing three coded land use zones.
|
|
207
207
|
*
|
|
208
|
-
* <img src="https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/valuepicker/option-combobox.
|
|
208
|
+
* <img src="https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/valuepicker/option-combobox.avif" height="300 !important" width="200 !important">
|
|
209
209
|
*
|
|
210
210
|
* ```js
|
|
211
211
|
* const valuePicker = new ValuePicker({
|
|
@@ -240,7 +240,7 @@ export interface ValuePickerEvents extends ValuePickerViewModelEvents {}
|
|
|
240
240
|
* for users that need to select a value within a fixed numeric range. For example, the snippet below presents a
|
|
241
241
|
* ValuePicker with a slider for picking a layer's opacity. The starting value is 50%.
|
|
242
242
|
*
|
|
243
|
-
* 
|
|
244
244
|
*
|
|
245
245
|
* ```js
|
|
246
246
|
* const valuePicker = new ValuePicker({
|
package/widgets/VideoPlayer.d.ts
CHANGED
|
@@ -52,7 +52,7 @@ export interface VideoPlayerProperties extends WidgetProperties, Partial<Pick<Vi
|
|
|
52
52
|
* > Not supported in 3D [SceneViews](https://developers.arcgis.com/javascript/latest/references/core/views/SceneView/).
|
|
53
53
|
* > Not supported on macOS and iOS devices.
|
|
54
54
|
*
|
|
55
|
-
* 
|
|
56
56
|
*
|
|
57
57
|
* @deprecated since version 4.33. Use the [Video Player component](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-video-player/) instead. For information on widget deprecation, read about [Esri's move to web components](https://developers.arcgis.com/javascript/latest/components-transition-plan/).
|
|
58
58
|
* @since 4.30
|
|
@@ -34,7 +34,7 @@ export interface ClassedColorSliderProperties extends SmartMappingSliderBaseProp
|
|
|
34
34
|
* <span id="image-annotations"></span>
|
|
35
35
|
* See the image below for a summary of the configurable options available on this slider.
|
|
36
36
|
*
|
|
37
|
-
* 
|
|
38
38
|
*
|
|
39
39
|
* The [fromRendererResult()](https://developers.arcgis.com/javascript/latest/references/core/widgets/smartMapping/ClassedColorSlider/#fromRendererResult) method can be used to conveniently create this slider
|
|
40
40
|
* from the result of the [createClassBreaksRenderer()](https://developers.arcgis.com/javascript/latest/references/core/smartMapping/renderers/color/#createClassBreaksRenderer)
|
|
@@ -54,7 +54,7 @@ export interface ClassedSizeSliderStyle {
|
|
|
54
54
|
* <span id="image-annotations"></span>
|
|
55
55
|
* See the image below for a summary of the configurable options available on this slider.
|
|
56
56
|
*
|
|
57
|
-
* 
|
|
58
58
|
*
|
|
59
59
|
* The [fromRendererResult()](https://developers.arcgis.com/javascript/latest/references/core/widgets/smartMapping/ClassedSizeSlider/#fromRendererResult) method can be used to conveniently create this slider
|
|
60
60
|
* from the result of the [createClassBreaksRenderer()](https://developers.arcgis.com/javascript/latest/references/core/smartMapping/renderers/size/#createClassBreaksRenderer)
|
|
@@ -42,7 +42,7 @@ export type VisualVariable = ColorVariable | SizeVariable;
|
|
|
42
42
|
* far apart from one another; the feature furthest from the [Camera](https://developers.arcgis.com/javascript/latest/references/core/Camera/) will appear smaller than
|
|
43
43
|
* the feature closer to the camera. The color variable can help the user understand that both features have similar values.
|
|
44
44
|
*
|
|
45
|
-
* 
|
|
46
46
|
*
|
|
47
47
|
* At a minimum you must set the [min](https://developers.arcgis.com/javascript/latest/references/core/widgets/smartMapping/ColorSizeSlider/#min), [max](https://developers.arcgis.com/javascript/latest/references/core/widgets/smartMapping/ColorSizeSlider/#max), and [stops](https://developers.arcgis.com/javascript/latest/references/core/widgets/smartMapping/ColorSizeSlider/#stops) properties
|
|
48
48
|
* of the widget. The stops are used to render a color gradient on the track of the slider.
|
|
@@ -50,7 +50,7 @@ export type VisualVariable = ColorVariable | SizeVariable;
|
|
|
50
50
|
* <span id="image-annotations"></span>
|
|
51
51
|
* See the image below for a summary of the configurable options available on this slider.
|
|
52
52
|
*
|
|
53
|
-
* 
|
|
54
54
|
*
|
|
55
55
|
* The [fromRendererResult()](https://developers.arcgis.com/javascript/latest/references/core/widgets/smartMapping/ColorSizeSlider/#fromRendererResult) method can be used to conveniently create this slider
|
|
56
56
|
* from the result of the [createContinuousRenderer()](https://developers.arcgis.com/javascript/latest/references/core/smartMapping/renderers/univariateColorSize/#createContinuousRenderer)
|
|
@@ -33,7 +33,7 @@ export interface ColorSliderProperties extends SmartMappingSliderBaseProperties,
|
|
|
33
33
|
* <span id="image-annotations"></span>
|
|
34
34
|
* See the image below for a summary of the configurable options available on this slider.
|
|
35
35
|
*
|
|
36
|
-
* 
|
|
37
37
|
*
|
|
38
38
|
* The [fromRendererResult()](https://developers.arcgis.com/javascript/latest/references/core/widgets/smartMapping/ColorSlider/#fromRendererResult) method can be used to conveniently create this slider
|
|
39
39
|
* from the result of the [createContinuousRenderer()](https://developers.arcgis.com/javascript/latest/references/core/smartMapping/renderers/color/#createContinuousRenderer)
|
|
@@ -30,7 +30,7 @@ export interface HeatmapSliderProperties extends SmartMappingSliderBasePropertie
|
|
|
30
30
|
* <span id="image-annotations"></span>
|
|
31
31
|
* See the image below for a summary of the configurable options available on this slider.
|
|
32
32
|
*
|
|
33
|
-
* 
|
|
34
34
|
*
|
|
35
35
|
* The [fromHeatmapRendererResult()](https://developers.arcgis.com/javascript/latest/references/core/widgets/smartMapping/HeatmapSlider/#fromHeatmapRendererResult) method can be used to conveniently create this slider
|
|
36
36
|
* from the result of the [createRenderer()](https://developers.arcgis.com/javascript/latest/references/core/smartMapping/renderers/heatmap/#createRenderer)
|
|
@@ -46,7 +46,7 @@ export interface OpacitySliderStyle {
|
|
|
46
46
|
* <span id="image-annotations"></span>
|
|
47
47
|
* See the image below for a summary of the configurable options available on this slider.
|
|
48
48
|
*
|
|
49
|
-
* 
|
|
50
50
|
*
|
|
51
51
|
* The [fromVisualVariableResult()](https://developers.arcgis.com/javascript/latest/references/core/widgets/smartMapping/OpacitySlider/#fromVisualVariableResult) method can be used to conveniently create this slider
|
|
52
52
|
* from the result of the [createVisualVariable()](https://developers.arcgis.com/javascript/latest/references/core/smartMapping/renderers/opacity/#createVisualVariable)
|
|
@@ -56,7 +56,7 @@ export type SizeSliderSizeStop = SizeStop;
|
|
|
56
56
|
* <span id="image-annotations"></span>
|
|
57
57
|
* See the image below for a summary of the configurable options available on this slider.
|
|
58
58
|
*
|
|
59
|
-
* 
|
|
60
60
|
*
|
|
61
61
|
* The [fromRendererResult()](https://developers.arcgis.com/javascript/latest/references/core/widgets/smartMapping/SizeSlider/#fromRendererResult) method can be used to conveniently create this slider
|
|
62
62
|
* from the result of the [createContinuousRenderer()](https://developers.arcgis.com/javascript/latest/references/core/smartMapping/renderers/size/#createContinuousRenderer)
|