@arcgis/core 5.0.0-next.69 → 5.0.0-next.70
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/Map.d.ts +3 -1
- package/analysis/Analysis.d.ts +1 -0
- package/analysis/Dimension/types.d.ts +1 -0
- package/analysis/DimensionAnalysis.d.ts +10 -10
- package/analysis/DimensionSimpleStyle.d.ts +14 -13
- package/analysis/DirectLineMeasurementAnalysis.d.ts +1 -1
- package/analysis/DistanceMeasurementAnalysis.d.ts +2 -1
- package/analysis/ElevationProfile/ElevationProfileLineScene.d.ts +3 -3
- package/analysis/ElevationProfile/ElevationProfileLineViewOptions.d.ts +1 -1
- package/analysis/ElevationProfile/types.d.ts +2 -0
- package/analysis/LengthDimension.d.ts +22 -21
- package/analysis/LineOfSightAnalysis.d.ts +2 -2
- package/analysis/ShadowCast/MinDurationOptions.d.ts +2 -2
- package/analysis/ShadowCast/types.d.ts +6 -2
- package/analysis/Slice/types.d.ts +1 -0
- package/analysis/Viewshed.d.ts +22 -20
- package/analysis/ViewshedAnalysis.d.ts +13 -13
- package/analysis/VolumeMeasurement/VolumeMeasurementDisplayUnits.d.ts +1 -2
- package/analysis/VolumeMeasurement/VolumeMeasurementInputUnits.d.ts +2 -2
- package/analysis/VolumeMeasurement/types.d.ts +1 -0
- package/analysis/VolumeMeasurementAnalysis.d.ts +1 -0
- package/analysis/types.d.ts +5 -0
- package/arcade.d.ts +2 -2
- package/assets/esri/core/workers/RemoteClient.js +1 -1
- package/assets/esri/core/workers/chunks/04364f3dd7578c2acb71.js +1 -0
- package/assets/esri/core/workers/chunks/18ed69d563986dc2eb21.js +1 -0
- package/assets/esri/core/workers/chunks/{4c04c54330b693892cfc.js → 1a45b4b4803337f4b99f.js} +2 -2
- package/assets/esri/core/workers/chunks/{60c7f896f2246a8aa6d7.js → 244006d4b0547d574401.js} +53 -53
- package/assets/esri/core/workers/chunks/329b10897c6965948b84.js +1 -0
- package/assets/esri/core/workers/chunks/4387aaf9d5e8f6d1833d.js +1 -0
- package/assets/esri/core/workers/chunks/{944dfa9309da8f49a616.js → 6a3d66d7c92f90cc2a17.js} +1 -1
- package/assets/esri/core/workers/chunks/760a759f9697adde6dd4.js +1 -0
- package/assets/esri/core/workers/chunks/798d227205bd958de6a7.js +1 -0
- package/assets/esri/core/workers/chunks/{9d88b4ba8e511da64583.js → 98d68b145226e7527c84.js} +1 -1
- package/assets/esri/core/workers/chunks/{8ad6595ad44c2d60c1ce.js → a79fad422d41019c8232.js} +1 -1
- package/assets/esri/core/workers/chunks/{10e474d664b20adcd917.js → db4661fd82dc61162115.js} +1 -1
- package/assets/esri/core/workers/chunks/{1d1e25bb61eeeee8ee94.js → df2ba5f9d57080fca183.js} +1 -1
- package/assets/esri/themes/base/widgets/_UtilityNetworkAssociations.scss +5 -3
- package/assets/esri/themes/base/widgets/_UtilityNetworkValidateTopology.scss +15 -11
- package/assets/esri/themes/dark/main.css +1 -1
- package/assets/esri/themes/light/main.css +1 -1
- package/assets/esri/themes/light/view.css +1 -1
- package/chunks/ComponentShader.glsl.js +43 -43
- package/chunks/DefaultMaterial.glsl.js +1 -1
- package/config.js +1 -1
- package/form/elements/inputs/attachments/Input.d.ts +6 -6
- package/geometry/Mesh.d.ts +20 -21
- package/geometry/Polygon.d.ts +1 -8
- package/geometry/Polygon.js +1 -1
- package/geometry/geometryEngine.d.ts +19 -19
- package/geometry/support/MeshComponent.d.ts +3 -3
- package/geometry/support/MeshGeoreferencedVertexSpace.d.ts +2 -2
- package/geometry/support/MeshLocalVertexSpace.d.ts +2 -2
- package/geometry/support/MeshMaterial.d.ts +8 -8
- package/geometry/support/MeshMaterialMetallicRoughness.d.ts +1 -1
- package/geometry/support/MeshTexture.d.ts +3 -3
- package/geometry/support/MeshTextureTransform.d.ts +3 -3
- package/geometry/support/MeshTransform.d.ts +1 -1
- package/geometry/support/MeshVertexAttributes.d.ts +13 -5
- package/geometry/support/intersects.js +1 -1
- package/geometry/support/intersectsBase.js +1 -1
- package/geometry/support/meshUtils/centerAt.js +1 -1
- package/geometry/support/meshUtils/geographicUtils.js +1 -1
- package/geometry/support/meshUtils/georeference.js +1 -1
- package/geometry/support/meshUtils/rotate.js +1 -1
- package/geometry/support/meshUtils/scale.js +1 -1
- package/geometry/support/meshUtils/types.d.ts +44 -52
- package/geometry/support/meshUtils.d.ts +6 -50
- package/geometry/support/meshUtils.js +1 -1
- package/interfaces.d.ts +5 -151
- package/kernel.js +1 -1
- package/layers/BaseDynamicLayer.d.ts +2 -2
- package/layers/BaseElevationLayer.d.ts +2 -2
- package/layers/BuildingSceneLayer.d.ts +2 -2
- package/layers/CSVLayer.d.ts +2 -2
- package/layers/CatalogLayer.d.ts +2 -2
- package/layers/DimensionLayer.d.ts +2 -2
- package/layers/ElevationLayer.d.ts +2 -2
- package/layers/FeatureLayer.d.ts +2 -2
- package/layers/GeoJSONLayer.d.ts +2 -2
- package/layers/GeoRSSLayer.d.ts +2 -2
- package/layers/GraphicsLayer.d.ts +2 -2
- package/layers/GroupLayer.d.ts +2 -2
- package/layers/ImageryLayer.d.ts +2 -2
- package/layers/ImageryTileLayer.d.ts +2 -2
- package/layers/IntegratedMesh3DTilesLayer.d.ts +2 -2
- package/layers/IntegratedMeshLayer.d.ts +2 -2
- package/layers/KMLLayer.d.ts +2 -2
- package/layers/Layer.d.ts +9 -7
- package/layers/LineOfSightLayer.d.ts +3 -3
- package/layers/MapImageLayer.d.ts +2 -2
- package/layers/MapNotesLayer.d.ts +2 -2
- package/layers/MediaLayer.d.ts +2 -2
- package/layers/OGCFeatureLayer.d.ts +2 -2
- package/layers/OrientedImageryLayer.d.ts +2 -2
- package/layers/ParquetLayer.d.ts +2 -2
- package/layers/PointCloudLayer.d.ts +2 -2
- package/layers/RouteLayer.d.ts +2 -2
- package/layers/SceneLayer.d.ts +2 -2
- package/layers/SubtypeGroupLayer.d.ts +2 -2
- package/layers/TileLayer.d.ts +2 -2
- package/layers/UnknownLayer.d.ts +2 -2
- package/layers/UnsupportedLayer.d.ts +2 -2
- package/layers/VectorTileLayer.d.ts +2 -2
- package/layers/VideoLayer.d.ts +2 -2
- package/layers/ViewshedLayer.d.ts +2 -2
- package/layers/VoxelLayer.d.ts +2 -2
- package/layers/WCSLayer.d.ts +2 -2
- package/layers/WFSLayer.d.ts +2 -2
- package/layers/WMSLayer.d.ts +2 -2
- package/layers/WMTSLayer.d.ts +2 -2
- package/layers/catalog/CatalogDynamicGroupLayer.d.ts +2 -2
- package/layers/catalog/CatalogFootprintLayer.d.ts +2 -2
- package/layers/knowledgeGraph/KnowledgeGraphSublayer.d.ts +2 -2
- package/layers/orientedImagery/core/ExposurePoint.js +1 -1
- package/layers/orientedImagery/core/coverageUtils.js +1 -1
- package/layers/orientedImagery/transformations/utils.js +1 -1
- package/layers/raster/types.d.ts +8 -1
- package/layers/support/PixelBlock.d.ts +7 -7
- package/layers/support/RasterInfo.d.ts +2 -9
- package/layers/types.d.ts +77 -2
- package/networks/support/CircuitSection.d.ts +20 -2
- package/networks/support/CircuitSection.js +1 -1
- package/networks/support/Subcircuit.d.ts +12 -10
- package/networks/support/Subcircuit.js +1 -1
- package/networks/support/typeUtils.d.ts +2 -0
- package/networks/support/typeUtils.js +1 -1
- package/package.json +2 -2
- package/rest/support/AttributeBinsQuery.d.ts +7 -1
- package/rest/support/NormalizationBinParametersMixin.d.ts +29 -9
- package/support/revision.js +1 -1
- package/symbols/patterns/LinePattern3D.d.ts +3 -3
- package/symbols/patterns/Pattern3D.d.ts +3 -3
- package/unionTypes.d.ts +17 -17
- package/views/2d/analysis/AreaMeasurementAnalysisView2D.d.ts +6 -5
- package/views/2d/analysis/DistanceMeasurementAnalysisView2D.d.ts +7 -6
- package/views/2d/engine/vectorTiles/shaders/sources/shaderRepository.js +1 -1
- package/views/2d/engine/webgl/shaders/sources/shaderRepository.js +1 -1
- package/views/2d/types.d.ts +1 -1
- package/views/3d/analysis/AreaMeasurementAnalysisView3D.d.ts +2 -2
- package/views/3d/analysis/DirectLineMeasurement/types.d.ts +1 -0
- package/views/3d/analysis/ElevationProfile/ElevationProfileLineSceneComputation.js +1 -1
- package/views/3d/analysis/VolumeMeasurement/types.d.ts +1 -0
- package/views/3d/analysis/types.d.ts +2 -0
- package/views/3d/constraints/Constraints.d.ts +2 -2
- package/views/3d/environment/ChapmanApproximation.glsl.js +1 -1
- package/views/3d/environment/CloudsComposition.js +1 -1
- package/views/3d/environment/Fog.js +1 -1
- package/views/3d/layers/DimensionLayerView3D.js +1 -1
- package/views/3d/layers/GaussianSplatLayerView3D.js +1 -1
- package/views/3d/layers/I3SMeshView3D.js +1 -1
- package/views/3d/layers/ImageryLayerView3D.js +1 -1
- package/views/3d/layers/IntegratedMesh3DTilesLayerView3D.js +1 -1
- package/views/3d/layers/LineOfSightLayerView3D.js +1 -1
- package/views/3d/layers/ViewshedLayerView3D.js +1 -1
- package/views/3d/layers/i3s/I3SMaterialUtil.js +1 -1
- package/views/3d/support/LayerPerformanceInfo.d.ts +1 -1
- package/views/3d/support/gaussianSplatting/GaussianSplatDataStore.js +1 -1
- package/views/3d/webgl-engine/collections/Component/ComponentObject.js +1 -1
- package/views/3d/webgl-engine/collections/Component/ComponentObjectCollection.js +1 -1
- package/views/3d/webgl-engine/collections/Component/Material/ComponentMaterial.js +1 -1
- package/views/3d/webgl-engine/collections/Component/Material/ComponentShader.glsl.js +1 -1
- package/views/3d/webgl-engine/collections/Component/Material/ComponentTechniqueConfiguration.js +1 -1
- package/views/3d/webgl-engine/collections/Component/SourceGeometry.js +1 -1
- package/views/3d/webgl-engine/core/renderPasses/RenderPassManager.js +1 -1
- package/views/3d/webgl-engine/core/shaderLibrary/ForwardLinearDepthToWriteShadowMap.glsl.js +1 -1
- package/views/3d/webgl-engine/core/shaderLibrary/ShaderOutput.js +1 -1
- package/views/3d/webgl-engine/core/shaderLibrary/Slice.glsl.js +3 -3
- package/views/3d/webgl-engine/core/shaderLibrary/shading/ComputeNormalTexture.glsl.js +7 -7
- package/views/3d/webgl-engine/core/shaderTechnique/ShaderTechnique.js +1 -1
- package/views/3d/webgl-engine/materials/DefaultMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/DefaultTechniqueConfiguration.js +1 -1
- package/views/3d/webgl-engine/materials/PathMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/ViewingModeConfiguration.js +5 -0
- package/views/3d/webgl-engine/shaders/SphereDepthInterpolate.glsl.js +2 -2
- package/views/BreakpointsOwner.d.ts +9 -10
- package/views/MapView.d.ts +18 -17
- package/views/SceneView.d.ts +30 -89
- package/views/SceneView.js +1 -1
- package/views/View2D.d.ts +0 -37
- package/views/View2D.js +1 -1
- package/views/ViewAnimation.d.ts +2 -3
- package/views/analysis/ElevationProfile/types.d.ts +7 -6
- package/views/analysis/types.d.ts +1 -0
- package/views/animation/types.d.ts +3 -1
- package/views/layers/DimensionLayerView.d.ts +97 -4
- package/views/layers/DimensionLayerView.js +1 -1
- package/views/layers/HighlightLayerViewMixin.d.ts +1 -59
- package/views/layers/HighlightLayerViewMixin.js +1 -1
- package/views/layers/ImageryLayerViewMixin.d.ts +1 -55
- package/views/layers/LineOfSightLayerView.d.ts +77 -4
- package/views/layers/LineOfSightLayerView.js +1 -1
- package/views/layers/ViewshedLayerView.d.ts +96 -5
- package/views/layers/ViewshedLayerView.js +1 -1
- package/views/navigation/Navigation.d.ts +1 -22
- package/views/navigation/Navigation.js +1 -1
- package/views/support/Scheduler.js +1 -1
- package/views/types.d.ts +75 -5
- package/widgets/AreaMeasurement3D/AreaMeasurement3DViewModel.d.ts +4 -4
- package/widgets/AreaMeasurement3D.d.ts +2 -2
- package/widgets/BasemapGallery.d.ts +1 -1
- package/widgets/BasemapToggle.d.ts +1 -1
- package/widgets/Bookmarks.d.ts +1 -1
- package/widgets/BuildingExplorer/BuildingExplorerViewModel.d.ts +2 -2
- package/widgets/BuildingExplorer/BuildingLevel.d.ts +2 -2
- package/widgets/BuildingExplorer/BuildingNumericFilterViewModel.d.ts +2 -2
- package/widgets/BuildingExplorer/BuildingPhase.d.ts +2 -2
- package/widgets/BuildingExplorer.d.ts +3 -3
- package/widgets/Compass.d.ts +1 -1
- package/widgets/CoordinateConversion.d.ts +1 -1
- package/widgets/Daylight/DaylightViewModel.d.ts +3 -3
- package/widgets/Daylight/VisibleElements.d.ts +2 -2
- package/widgets/Daylight/types.d.ts +2 -2
- package/widgets/Daylight.d.ts +3 -3
- package/widgets/DirectLineMeasurement3D/DirectLineMeasurement3DViewModel.d.ts +4 -4
- package/widgets/DirectLineMeasurement3D.d.ts +2 -2
- package/widgets/DirectionalPad.d.ts +1 -1
- package/widgets/ElevationProfile/ElevationProfileLine.d.ts +2 -2
- package/widgets/ElevationProfile/ElevationProfileLineGround.d.ts +2 -2
- package/widgets/ElevationProfile/ElevationProfileLineInput.d.ts +2 -2
- package/widgets/ElevationProfile/ElevationProfileLineQuery.d.ts +2 -2
- package/widgets/ElevationProfile/ElevationProfileLineView.d.ts +3 -3
- package/widgets/ElevationProfile/ElevationProfileViewModel.d.ts +2 -2
- package/widgets/ElevationProfile/ElevationProfileVisibleElements.d.ts +2 -2
- package/widgets/ElevationProfile/types.d.ts +9 -9
- package/widgets/ElevationProfile.d.ts +2 -2
- package/widgets/Expand/ExpandViewModel.d.ts +1 -1
- package/widgets/Expand.d.ts +1 -1
- package/widgets/Feature.d.ts +1 -1
- package/widgets/FeatureTable/FeatureTableViewModel.d.ts +1 -1
- package/widgets/Features.d.ts +1 -1
- package/widgets/Fullscreen/FullscreenViewModel.d.ts +1 -1
- package/widgets/Fullscreen.d.ts +1 -1
- package/widgets/Home.d.ts +1 -1
- package/widgets/LayerList.d.ts +12 -0
- package/widgets/Legend.d.ts +1 -1
- package/widgets/LineOfSight/LineOfSightTarget.d.ts +2 -2
- package/widgets/LineOfSight/LineOfSightViewModel.d.ts +2 -2
- package/widgets/LineOfSight.d.ts +2 -2
- package/widgets/Locate/LocateViewModel.d.ts +1 -1
- package/widgets/Locate.d.ts +1 -1
- package/widgets/NavigationToggle/NavigationToggleViewModel.d.ts +1 -1
- package/widgets/NavigationToggle.d.ts +1 -1
- package/widgets/OrientedImageryViewer/OrientedImageryViewerViewModel.js +1 -1
- package/widgets/OrientedImageryViewer/components/Arrow.js +1 -1
- package/widgets/OrientedImageryViewer/components/ImageViewer.js +1 -1
- package/widgets/OrientedImageryViewer/components/ImageViewerViewModel.js +1 -1
- package/widgets/OrientedImageryViewer/components/NavigationNode.js +1 -1
- package/widgets/OrientedImageryViewer/components/NavigationUI360.js +1 -1
- package/widgets/OrientedImageryViewer/components/NavigationUIPanoramicViewModel.js +1 -1
- package/widgets/OrientedImageryViewer/components/NavigationUIViewModel.js +1 -1
- package/widgets/OrientedImageryViewer/components/SequentialNavigationUI.js +1 -1
- package/widgets/OrientedImageryViewer/constants.js +1 -1
- package/widgets/OrientedImageryViewer/navigation/NavigationManager.js +1 -1
- package/widgets/OrientedImageryViewer/navigation/NavigationManagerPanoramic.js +1 -1
- package/widgets/OrientedImageryViewer/navigation/utils.js +1 -1
- package/widgets/OrientedImageryViewer/support/MediaPrefetcher.js +5 -0
- package/widgets/OrientedImageryViewer/support/NonPanoramicMedia.js +1 -1
- package/widgets/OrientedImageryViewer/support/NonPanoramicMediaCollection.js +1 -1
- package/widgets/OrientedImageryViewer/support/resolveMediaProps.js +5 -0
- package/widgets/OrientedImageryViewer/utils.js +1 -1
- package/widgets/OrientedImageryViewer.js +1 -1
- package/widgets/PanoramicViewer/PanoramicViewerViewModel.js +1 -1
- package/widgets/PanoramicViewer.js +1 -1
- package/widgets/Print/CustomTemplate.d.ts +1 -1
- package/widgets/Print/PrintViewModel.d.ts +1 -1
- package/widgets/Print.d.ts +1 -1
- package/widgets/ScaleBar.d.ts +1 -1
- package/widgets/Search.d.ts +1 -1
- package/widgets/ShadowCast/DiscreteOptions.d.ts +2 -2
- package/widgets/ShadowCast/DurationOptions.d.ts +2 -2
- package/widgets/ShadowCast/ShadowCastViewModel.d.ts +3 -3
- package/widgets/ShadowCast/ShadowCastVisibleElements.d.ts +2 -2
- package/widgets/ShadowCast/ThresholdOptions.d.ts +2 -2
- package/widgets/ShadowCast/types.d.ts +2 -2
- package/widgets/ShadowCast.d.ts +1 -1
- package/widgets/Slice/SliceViewModel.d.ts +2 -2
- package/widgets/Slice.d.ts +2 -2
- package/widgets/Swipe.d.ts +1 -1
- package/widgets/TimeZoneLabel.d.ts +1 -1
- package/widgets/Track.d.ts +1 -1
- package/widgets/UtilityNetworkValidateTopology.js +1 -1
- package/widgets/VideoPlayer.d.ts +1 -1
- package/widgets/VideoPlayer.js +1 -1
- package/widgets/Weather/VisibleElements.d.ts +2 -2
- package/widgets/Weather/WeatherViewModel.d.ts +2 -2
- package/widgets/Weather/types.d.ts +1 -1
- package/widgets/Weather.d.ts +2 -2
- package/widgets/Zoom.d.ts +1 -1
- package/widgets/support/GridControls.d.ts +1 -1
- package/assets/esri/core/workers/chunks/35961e71f69ae1d24b9e.js +0 -1
- package/assets/esri/core/workers/chunks/3cce8e894bf37c3e598e.js +0 -1
- package/assets/esri/core/workers/chunks/7ee68f67f9cc48a328f0.js +0 -1
- package/assets/esri/core/workers/chunks/a931515a2569713e743b.js +0 -1
- package/assets/esri/core/workers/chunks/bb4574a87ca21e719f0d.js +0 -1
- package/assets/esri/core/workers/chunks/c9f868f85d740ee32715.js +0 -1
- package/geometry.d.ts +0 -136
- package/geometry.js +0 -5
- package/pointCloudRenderers.d.ts +0 -112
- package/pointCloudRenderers.js +0 -5
- package/rasterRenderers.d.ts +0 -151
- package/rasterRenderers.js +0 -5
- package/renderers.d.ts +0 -166
- package/renderers.js +0 -5
- package/views/layers/DimensionLayerViewMixin.d.ts +0 -1
- package/views/layers/DimensionLayerViewMixin.js +0 -5
- package/views/layers/LineOfSightLayerViewMixin.d.ts +0 -1
- package/views/layers/LineOfSightLayerViewMixin.js +0 -5
- package/views/layers/ViewshedLayerViewMixin.d.ts +0 -98
- package/views/layers/ViewshedLayerViewMixin.js +0 -5
|
@@ -3,7 +3,7 @@ import type Accessor from "../../core/Accessor.js";
|
|
|
3
3
|
import type { DurationMode } from "./types.js";
|
|
4
4
|
import type { ColorLike } from "../../Color.js";
|
|
5
5
|
|
|
6
|
-
/** @deprecated since 5.0. Use the [ShadowCastAnalysis](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-ShadowCastAnalysis.html) or [Shadow Cast component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-shadow-cast/) instead. For information on widget deprecation, read about [Esri's move to web components](https://developers.arcgis.com/javascript/latest/components-transition-plan/). */
|
|
6
|
+
/** @deprecated since version 5.0. Use the [ShadowCastAnalysis](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-ShadowCastAnalysis.html) or [Shadow Cast component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-shadow-cast/) instead. For information on widget deprecation, read about [Esri's move to web components](https://developers.arcgis.com/javascript/latest/components-transition-plan/). */
|
|
7
7
|
export interface DurationOptionsProperties extends Partial<Pick<DurationOptions, "mode">> {
|
|
8
8
|
/**
|
|
9
9
|
* Color of the shadow visualization. The opacity is mapped to the time spent in shadow. Areas that don't receive any
|
|
@@ -20,7 +20,7 @@ export interface DurationOptionsProperties extends Partial<Pick<DurationOptions,
|
|
|
20
20
|
* [widget](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ShadowCast.html) and
|
|
21
21
|
* [component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-shadow-cast/).
|
|
22
22
|
*
|
|
23
|
-
* @deprecated since 5.0. Use the [Shadow Cast component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-shadow-cast/) or [ShadowCastAnalysis](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-ShadowCastAnalysis.html) instead. For information on widget deprecation, read about [Esri's move to web components](https://developers.arcgis.com/javascript/latest/components-transition-plan/).
|
|
23
|
+
* @deprecated since version 5.0. Use the [Shadow Cast component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-shadow-cast/) or [ShadowCastAnalysis](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-ShadowCastAnalysis.html) instead. For information on widget deprecation, read about [Esri's move to web components](https://developers.arcgis.com/javascript/latest/components-transition-plan/).
|
|
24
24
|
* @since 4.33
|
|
25
25
|
* @see [ShadowCast](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ShadowCast.html) widget - Deprecated since 5.0. Use the [Shadow Cast component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-shadow-cast/) instead.
|
|
26
26
|
* @see [ShadowCastViewModel](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ShadowCast-ShadowCastViewModel.html) - Deprecated since 5.0. Use the [ShadowCastAnalysis](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-ShadowCastAnalysis.html) or [Shadow Cast component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-shadow-cast/) instead.
|
|
@@ -9,7 +9,7 @@ import type { ThresholdOptionsProperties } from "./ThresholdOptions.js";
|
|
|
9
9
|
import type { DurationOptionsProperties } from "./DurationOptions.js";
|
|
10
10
|
import type { DiscreteOptionsProperties } from "./DiscreteOptions.js";
|
|
11
11
|
|
|
12
|
-
/** @deprecated since 5.0. Use the [ShadowCastAnalysis](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-ShadowCastAnalysis.html) or [Shadow Cast component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-shadow-cast/) instead. For information on widget deprecation, read about [Esri's move to web components](https://developers.arcgis.com/javascript/latest/components-transition-plan/). */
|
|
12
|
+
/** @deprecated since version 5.0. Use the [ShadowCastAnalysis](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-ShadowCastAnalysis.html) or [Shadow Cast component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-shadow-cast/) instead. For information on widget deprecation, read about [Esri's move to web components](https://developers.arcgis.com/javascript/latest/components-transition-plan/). */
|
|
13
13
|
export interface ShadowCastViewModelProperties extends Partial<Pick<ShadowCastViewModel, "endTimeOfDay" | "startTimeOfDay" | "utcOffset" | "view" | "visualizationType">> {
|
|
14
14
|
/**
|
|
15
15
|
* The calendar date used to calculate the shadow cast. This date excludes
|
|
@@ -27,13 +27,13 @@ export interface ShadowCastViewModelProperties extends Partial<Pick<ShadowCastVi
|
|
|
27
27
|
thresholdOptions?: ThresholdOptionsProperties;
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
/** @deprecated since 5.0. Use the [ShadowCastAnalysis](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-ShadowCastAnalysis.html) or [Shadow Cast component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-shadow-cast/) instead. For information on widget deprecation, read about [Esri's move to web components](https://developers.arcgis.com/javascript/latest/components-transition-plan/). */
|
|
30
|
+
/** @deprecated since version 5.0. Use the [ShadowCastAnalysis](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-ShadowCastAnalysis.html) or [Shadow Cast component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-shadow-cast/) instead. For information on widget deprecation, read about [Esri's move to web components](https://developers.arcgis.com/javascript/latest/components-transition-plan/). */
|
|
31
31
|
export type ShadowCastState = "disabled" | "ready";
|
|
32
32
|
|
|
33
33
|
/**
|
|
34
34
|
* Provides the logic for the [ShadowCast](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ShadowCast.html) widget and [component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-shadow-cast/).
|
|
35
35
|
*
|
|
36
|
-
* @deprecated since 5.0. Use the [Shadow Cast component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-shadow-cast/) or [ShadowCastAnalysis](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-ShadowCastAnalysis.html) instead. For information on widget deprecation, read about [Esri's move to web components](https://developers.arcgis.com/javascript/latest/components-transition-plan/).
|
|
36
|
+
* @deprecated since version 5.0. Use the [Shadow Cast component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-shadow-cast/) or [ShadowCastAnalysis](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-ShadowCastAnalysis.html) instead. For information on widget deprecation, read about [Esri's move to web components](https://developers.arcgis.com/javascript/latest/components-transition-plan/).
|
|
37
37
|
* @since 4.21
|
|
38
38
|
* @see [ShadowCast](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ShadowCast.html) widget - _Deprecated since 5.0. Use the [Shadow Cast component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-shadow-cast/) instead._
|
|
39
39
|
* @see [Shadow Cast component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-shadow-cast/)
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import type Accessor from "../../core/Accessor.js";
|
|
2
2
|
|
|
3
|
-
/** @deprecated since 5.0. Use the [ShadowCastAnalysis](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-ShadowCastAnalysis.html) or [Shadow Cast component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-shadow-cast/) instead. For information on widget deprecation, read about [Esri's move to web components](https://developers.arcgis.com/javascript/latest/components-transition-plan/). */
|
|
3
|
+
/** @deprecated since version 5.0. Use the [ShadowCastAnalysis](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-ShadowCastAnalysis.html) or [Shadow Cast component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-shadow-cast/) instead. For information on widget deprecation, read about [Esri's move to web components](https://developers.arcgis.com/javascript/latest/components-transition-plan/). */
|
|
4
4
|
export interface ShadowCastVisibleElementsProperties extends Partial<Pick<ShadowCastVisibleElements, "colorPicker" | "datePicker" | "thresholdContext" | "thresholdContextColor" | "thresholdContextTimeInterval" | "thresholdContextToggle" | "timeRangeSlider" | "timezone" | "tooltip" | "visualizationOptions">> {}
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* The visible elements that are displayed within the widget.
|
|
8
8
|
* This provides the ability to turn individual elements of the widget's display on/off.
|
|
9
9
|
*
|
|
10
|
-
* @deprecated since 5.0. Use the [ShadowCastAnalysis](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-ShadowCastAnalysis.html) or [Shadow Cast component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-shadow-cast/) instead. For information on widget deprecation, read about [Esri's move to web components](https://developers.arcgis.com/javascript/latest/components-transition-plan/).
|
|
10
|
+
* @deprecated since version 5.0. Use the [ShadowCastAnalysis](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-ShadowCastAnalysis.html) or [Shadow Cast component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-shadow-cast/) instead. For information on widget deprecation, read about [Esri's move to web components](https://developers.arcgis.com/javascript/latest/components-transition-plan/).
|
|
11
11
|
*/
|
|
12
12
|
export default abstract class ShadowCastVisibleElements extends Accessor {
|
|
13
13
|
/**
|
|
@@ -4,7 +4,7 @@ import type DiscreteOptions from "./DiscreteOptions.js";
|
|
|
4
4
|
import type { ColorLike } from "../../Color.js";
|
|
5
5
|
import type { DiscreteOptionsProperties } from "./DiscreteOptions.js";
|
|
6
6
|
|
|
7
|
-
/** @deprecated since 5.0. Use the [ShadowCastAnalysis](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-ShadowCastAnalysis.html) or [Shadow Cast component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-shadow-cast/) instead. For information on widget deprecation, read about [Esri's move to web components](https://developers.arcgis.com/javascript/latest/components-transition-plan/). */
|
|
7
|
+
/** @deprecated since version 5.0. Use the [ShadowCastAnalysis](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-ShadowCastAnalysis.html) or [Shadow Cast component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-shadow-cast/) instead. For information on widget deprecation, read about [Esri's move to web components](https://developers.arcgis.com/javascript/latest/components-transition-plan/). */
|
|
8
8
|
export interface ThresholdOptionsProperties extends Partial<Pick<ThresholdOptions, "contextEnabled" | "maxValue" | "minValue" | "value">> {
|
|
9
9
|
/**
|
|
10
10
|
* Color of the shadow visualization. The areas with cumulative shadow time longer than the threshold value are
|
|
@@ -29,7 +29,7 @@ export interface ThresholdOptionsProperties extends Partial<Pick<ThresholdOption
|
|
|
29
29
|
* [widget](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ShadowCast.html) and
|
|
30
30
|
* [component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-shadow-cast/).
|
|
31
31
|
*
|
|
32
|
-
* @deprecated since 5.0. Use the [ShadowCastAnalysis](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-ShadowCastAnalysis.html) or [Shadow Cast component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-shadow-cast/) instead. For information on widget deprecation, read about [Esri's move to web components](https://developers.arcgis.com/javascript/latest/components-transition-plan/).
|
|
32
|
+
* @deprecated since version 5.0. Use the [ShadowCastAnalysis](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-ShadowCastAnalysis.html) or [Shadow Cast component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-shadow-cast/) instead. For information on widget deprecation, read about [Esri's move to web components](https://developers.arcgis.com/javascript/latest/components-transition-plan/).
|
|
33
33
|
* @since 4.33
|
|
34
34
|
* @see [ShadowCast](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ShadowCast.html) widget - Deprecated since 5.0. Use the [Shadow Cast component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-shadow-cast/) instead.
|
|
35
35
|
* @see [ShadowCastViewModel](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ShadowCast-ShadowCastViewModel.html) - Deprecated since 5.0. Use the [ShadowCastAnalysis](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-ShadowCastAnalysis.html) or [Shadow Cast component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-shadow-cast/) instead.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
|
-
/** @deprecated since 5.0. Use the [ShadowCastAnalysis](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-ShadowCastAnalysis.html) or [Shadow Cast component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-shadow-cast/) instead. For information on widget deprecation, read about [Esri's move to web components](https://developers.arcgis.com/javascript/latest/components-transition-plan/). */
|
|
2
|
+
/** @deprecated since version 5.0. Use the [ShadowCastAnalysis](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-ShadowCastAnalysis.html) or [Shadow Cast component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-shadow-cast/) instead. For information on widget deprecation, read about [Esri's move to web components](https://developers.arcgis.com/javascript/latest/components-transition-plan/). */
|
|
3
3
|
export type ShadowVisualizationType = "threshold" | "duration" | "discrete";
|
|
4
4
|
|
|
5
|
-
/** @deprecated since 5.0. Use the [Shadow Cast component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-shadow-cast/) or [ShadowCastAnalysis](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-ShadowCastAnalysis.html) instead. For information on widget deprecation, read about [Esri's move to web components](https://developers.arcgis.com/javascript/latest/components-transition-plan/). */
|
|
5
|
+
/** @deprecated since version 5.0. Use the [Shadow Cast component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-shadow-cast/) or [ShadowCastAnalysis](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-ShadowCastAnalysis.html) instead. For information on widget deprecation, read about [Esri's move to web components](https://developers.arcgis.com/javascript/latest/components-transition-plan/). */
|
|
6
6
|
export type DurationMode = "continuous" | "hourly";
|
package/widgets/ShadowCast.d.ts
CHANGED
|
@@ -100,7 +100,7 @@ export interface ShadowCastProperties extends WidgetProperties, Partial<Pick<Sha
|
|
|
100
100
|
* You can use the view's [DefaultUI](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-ui-DefaultUI.html) to add widgets to the view's user interface via the
|
|
101
101
|
* `ui` property on the view. See the example below.
|
|
102
102
|
*
|
|
103
|
-
* @deprecated since 5.0. Use the [Shadow Cast component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-shadow-cast/) instead. For information on widget deprecation, read about [Esri's move to web components](https://developers.arcgis.com/javascript/latest/components-transition-plan/).
|
|
103
|
+
* @deprecated since version 5.0. Use the [Shadow Cast component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-shadow-cast/) instead. For information on widget deprecation, read about [Esri's move to web components](https://developers.arcgis.com/javascript/latest/components-transition-plan/).
|
|
104
104
|
* @since 4.21
|
|
105
105
|
* @see [ShadowCastViewModel](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ShadowCast-ShadowCastViewModel.html) - _Deprecated since 5.0. Use the [ShadowCastAnalysis](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-ShadowCastAnalysis.html) or [Shadow Cast component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-shadow-cast/) instead._
|
|
106
106
|
* @see [SceneView#environment](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#environment)
|
|
@@ -8,7 +8,7 @@ import type { SliceableLayer } from "../../analysis/Slice/types.js";
|
|
|
8
8
|
import type { ReadonlyArrayOrCollection } from "../../core/Collection.js";
|
|
9
9
|
import type { SliceAnalysisProperties } from "../../analysis/SliceAnalysis.js";
|
|
10
10
|
|
|
11
|
-
/** @deprecated since 4.33. Use the [SliceAnalysis](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-SliceAnalysis.html) or [Slice component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-slice/) instead. For information on widget deprecation, read about [Esri's move to web components](https://developers.arcgis.com/javascript/latest/components-transition-plan/). */
|
|
11
|
+
/** @deprecated since version 4.33. Use the [SliceAnalysis](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-SliceAnalysis.html) or [Slice component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-slice/) instead. For information on widget deprecation, read about [Esri's move to web components](https://developers.arcgis.com/javascript/latest/components-transition-plan/). */
|
|
12
12
|
export interface SliceViewModelProperties extends Partial<Pick<SliceViewModel, "excludeGroundSurface" | "tiltEnabled" | "view">> {
|
|
13
13
|
/**
|
|
14
14
|
* The slice analysis object being created or modified by the view model.
|
|
@@ -78,7 +78,7 @@ export interface SliceViewModelProperties extends Partial<Pick<SliceViewModel, "
|
|
|
78
78
|
* SliceViewModel provides access to the [slice plane](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Slice-SliceViewModel.html#shape) and the
|
|
79
79
|
* [layers](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Slice-SliceViewModel.html#excludedLayers) that can be excluded from the slice widget.
|
|
80
80
|
*
|
|
81
|
-
* @deprecated since 4.33. Use the [SliceAnalysis](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-SliceAnalysis.html) or [Slice component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-slice/) instead. For information on widget deprecation, read about [Esri's move to web components](https://developers.arcgis.com/javascript/latest/components-transition-plan/).
|
|
81
|
+
* @deprecated since version 4.33. Use the [SliceAnalysis](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-SliceAnalysis.html) or [Slice component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-slice/) instead. For information on widget deprecation, read about [Esri's move to web components](https://developers.arcgis.com/javascript/latest/components-transition-plan/).
|
|
82
82
|
* @since 4.10
|
|
83
83
|
* @see [Slice](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Slice.html) widget - _Deprecated since 4.33. Use the [Slice component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-slice/) instead._
|
|
84
84
|
* @see [Programming patterns: Widget viewModel pattern](https://developers.arcgis.com/javascript/latest/programming-patterns/#widget-viewmodel-pattern)
|
package/widgets/Slice.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ import type { HeadingLevel } from "./support/types.js";
|
|
|
8
8
|
import type { SliceAnalysisProperties } from "../analysis/SliceAnalysis.js";
|
|
9
9
|
import type { SliceViewModelProperties } from "./Slice/SliceViewModel.js";
|
|
10
10
|
|
|
11
|
-
/** @deprecated since 4.33. Use the [Slice component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-slice/) instead. For information on widget deprecation, read about [Esri's move to web components](https://developers.arcgis.com/javascript/latest/components-transition-plan/). */
|
|
11
|
+
/** @deprecated since version 4.33. Use the [Slice component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-slice/) instead. For information on widget deprecation, read about [Esri's move to web components](https://developers.arcgis.com/javascript/latest/components-transition-plan/). */
|
|
12
12
|
export interface SliceProperties extends WidgetProperties, Partial<Pick<Slice, "headingLevel" | "view">> {
|
|
13
13
|
/**
|
|
14
14
|
* The slice analysis object being created or modified by the widget. This property is an
|
|
@@ -109,7 +109,7 @@ export interface SliceProperties extends WidgetProperties, Partial<Pick<Slice, "
|
|
|
109
109
|
*
|
|
110
110
|
* Slice only works with [SceneView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html).
|
|
111
111
|
*
|
|
112
|
-
* @deprecated since 4.33. Use the [Slice component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-slice/) instead. For information on widget deprecation, read about [Esri's move to web components](https://developers.arcgis.com/javascript/latest/components-transition-plan/).
|
|
112
|
+
* @deprecated since version 4.33. Use the [Slice component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-slice/) instead. For information on widget deprecation, read about [Esri's move to web components](https://developers.arcgis.com/javascript/latest/components-transition-plan/).
|
|
113
113
|
* @since 4.10
|
|
114
114
|
* @see [SliceViewModel](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Slice-SliceViewModel.html) - _Deprecated since 4.33. Use the [SliceAnalysis](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-SliceAnalysis.html) or [Slice component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-slice/) instead._
|
|
115
115
|
* @see [Sample - Slice widget](https://developers.arcgis.com/javascript/latest/sample-code/building-scene-layer-slice/)
|
package/widgets/Swipe.d.ts
CHANGED
|
@@ -71,7 +71,7 @@ export interface SwipeProperties extends WidgetProperties, Partial<Pick<Swipe, "
|
|
|
71
71
|
* >
|
|
72
72
|
* > - This widget is not currently supported with a [SceneView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html).
|
|
73
73
|
*
|
|
74
|
-
* @deprecated since 4.32. Use the [Swipe component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-swipe/) instead. For information on widget deprecation, read about [Esri's move to web components](https://developers.arcgis.com/javascript/latest/components-transition-plan/).
|
|
74
|
+
* @deprecated since version 4.32. Use the [Swipe component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-swipe/) instead. For information on widget deprecation, read about [Esri's move to web components](https://developers.arcgis.com/javascript/latest/components-transition-plan/).
|
|
75
75
|
* @since 4.13
|
|
76
76
|
* @see [Swipe component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-swipe/)
|
|
77
77
|
* @see [Sample - Swipe component](https://developers.arcgis.com/javascript/latest/sample-code/swipe/)
|
|
@@ -53,7 +53,7 @@ export type TimeZoneLabelExpandDirection = "start" | "end";
|
|
|
53
53
|
* ```
|
|
54
54
|
*
|
|
55
55
|
* @deprecated
|
|
56
|
-
* since 4.33. Use the [Time Zone Label component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-time-zone-label/) instead.
|
|
56
|
+
* since version 4.33. Use the [Time Zone Label component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-time-zone-label/) instead.
|
|
57
57
|
* 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.28
|
|
59
59
|
*/
|
package/widgets/Track.d.ts
CHANGED
|
@@ -98,7 +98,7 @@ export interface TrackEvents extends TrackViewModelEvents {}
|
|
|
98
98
|
* > - The heading symbol is not currently supported in 3D [SceneView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html)s.
|
|
99
99
|
* > - The Track widget does not work concurrently with the [Locate](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Locate.html) widget. Only one of the widgets can be used at a time.
|
|
100
100
|
*
|
|
101
|
-
* @deprecated since 4.32. Use the [Track component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-track/) instead. For information on widget deprecation, read about [Esri's move to web components](https://developers.arcgis.com/javascript/latest/components-transition-plan/).
|
|
101
|
+
* @deprecated since version 4.32. Use the [Track component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-track/) instead. For information on widget deprecation, read about [Esri's move to web components](https://developers.arcgis.com/javascript/latest/components-transition-plan/).
|
|
102
102
|
* @since 4.0
|
|
103
103
|
* @see [TrackViewModel](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Track-TrackViewModel.html)
|
|
104
104
|
* @see [DefaultUI](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-ui-DefaultUI.html)
|
|
@@ -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{__decorate as t}from"tslib";import{property as e,subclass as o}from"../core/accessorSupport/decorators.js";import i from"./Widget.js";import{loadCalciteComponents as s}from"./support/componentsUtils.js";import{messageBundle as n,tsx as
|
|
5
|
+
import{__decorate as t}from"tslib";import{property as e,subclass as o}from"../core/accessorSupport/decorators.js";import i from"./Widget.js";import{loadCalciteComponents as s}from"./support/componentsUtils.js";import{messageBundle as n,tsx as c}from"./support/widget.js";import a from"./UtilityNetworkValidateTopology/UtilityNetworkValidateTopologyViewModel.js";const l="esri-un-validate-topology",r={action:`${l}__action`,container:`${l}__container`,content:`${l}__content`,controlsContainer:`${l}__controls-container`,statusIcon:`${l}__status-icon`,statusIconBlank:`${l}__status-icon-blank`,statusIconError:`${l}__status-icon-error`,statusIconSuccess:`${l}__status-icon-success`};let d=class extends i{constructor(t,e){super(t,e),this.messages=null,this.viewModel=new a}loadDependencies(){return s({action:()=>import("@esri/calcite-components/dist/components/calcite-action"),block:()=>import("@esri/calcite-components/dist/components/calcite-block"),icon:()=>import("@esri/calcite-components/dist/components/calcite-icon"),notice:()=>import("@esri/calcite-components/dist/components/calcite-notice"),option:()=>import("@esri/calcite-components/dist/components/calcite-option"),select:()=>import("@esri/calcite-components/dist/components/calcite-select"),tooltip:()=>import("@esri/calcite-components/dist/components/calcite-tooltip")})}get extentToValidate(){return this.viewModel.extentToValidate}set extentToValidate(t){this.viewModel.extentToValidate=t}get icon(){return"check-circle"}set icon(t){this._overrideIfSome("icon",t)}get label(){return this.messages?.label??""}set label(t){this._overrideIfSome("label",t)}get utilityNetwork(){return this.viewModel.utilityNetwork}set utilityNetwork(t){this.viewModel.utilityNetwork=t}get view(){return this.viewModel.view}set view(t){this.viewModel.view=t}render(){const{state:t}=this.viewModel;return"disabled"===t?c("div",{class:r.container},c("calcite-block",{class:r.content,collapsible:!1,expanded:!0,heading:this.label},this._renderLoadErrorStatusIcon(),this._renderLoadErrorsNotices())):c("div",{class:r.container},c("calcite-block",{class:r.content,collapsible:!0,expanded:!1,heading:this.label},this._renderStatusIcon(),this._renderValidateTopologyAction(),this._renderControls()),this._renderStatusIconTooltip(),this._renderValidateTopologyActionTooltip())}_extentOptionSelectChange(t){this.extentToValidate=t.currentTarget.value}_getLoadErrorMessagesAsNotices(t,e){return c("calcite-notice",{closable:!1,key:"error-notice-"+e,kind:"warning",open:!0,scale:"s"},c("div",{slot:"message"},t))}_handleValidateTopologyAction(){this.viewModel.validateTopology().catch(()=>{})}_renderControls(){const{state:t}=this.viewModel;return"failed"===t?c("div",{class:r.controlsContainer},this._renderExtentOptionSelect(),this._renderStatusNotice()):this._renderExtentOptionSelect()}_renderExtentOptionSelect(){const{messages:{input:{currentExtent:t,entireExtent:e,extentToValidate:o}},viewModel:{extentToValidate:i,state:s}}=this;return c("div",{key:"selectExtentDiv"},c("calcite-select",{bind:this,disabled:"loading"===s||"executing"===s,label:o,onCalciteSelectChange:this._extentOptionSelectChange},c("calcite-option",{selected:"current"===i,value:"current"},t),c("calcite-option",{selected:"entire"===i,value:"entire"},e)))}_renderLoadErrorsNotices(){const{loadErrors:t}=this.viewModel;return c("div",{class:r.controlsContainer,key:"loadErrorsDiv"},t.items.map(this._getLoadErrorMessagesAsNotices))}_renderLoadErrorStatusIcon(){return c("calcite-icon",{class:r.statusIconError,icon:"exclamation-mark-triangle",scale:"s",slot:"actions-end"})}_renderStatusIcon(){const{messages:{status:{executing:t}},viewModel:{state:e}}=this,o=`${this.id}-validation-status-action`,i=`${this.id}-blank-icon`,s=`${this.id}-error-status-icon`,n=`${this.id}-success-status-icon`,a=t=>{setTimeout(()=>{t.textContent=""},3500)};switch(e){case"executing":return c("calcite-action",{class:r.statusIcon,icon:"spinner",id:o,loading:!0,scale:"s",slot:"actions-end",text:t});case"success":return c("calcite-icon",{afterCreate:a,class:r.statusIconSuccess,icon:"check-circle",id:n,scale:"s",slot:"actions-end"});case"failed":return c("calcite-icon",{class:r.statusIconError,icon:"exclamation-mark-triangle",id:s,scale:"s",slot:"actions-end"});default:return c("calcite-icon",{class:r.statusIconBlank,icon:"blank",id:i,scale:"s",slot:"actions-end"})}}_renderStatusIconTooltip(){const{messages:{status:{executing:t,success:e}},viewModel:{executionError:o,state:i}}=this,s=`${this.id}-validation-status-action`,n=`${this.id}-error-status-icon`,a=`${this.id}-success-status-icon`;switch(i){case"executing":return c("calcite-tooltip",{overlayPositioning:"fixed",referenceElement:s},c("span",null,t));case"success":return c("calcite-tooltip",{referenceElement:a},c("span",null,e));case"failed":return c("calcite-tooltip",{referenceElement:n},c("span",null,o));default:return}}_renderStatusNotice(){const{executionError:t}=this.viewModel;return c("div",{key:"executionErrorDiv"},c("calcite-notice",{closable:!0,kind:"warning",open:!0,scale:"s"},c("div",{slot:"message"},t)))}_renderValidateTopologyActionTooltip(){const{messages:{input:{validateTopology:t},status:{loading:e}},viewModel:{state:o}}=this,i=`${this.id}-validation-action`;return c("calcite-tooltip",{closeOnClick:!0,referenceElement:i},c("span",null,"loading"===o?e:t))}_renderValidateTopologyAction(){const{messages:{input:{validateTopology:t}},viewModel:{state:e}}=this,o=`${this.id}-validation-action`;return c("calcite-action",{bind:this,class:r.action,disabled:"executing"===e,icon:"play-f",id:o,loading:"loading"===e,onclick:this._handleValidateTopologyAction,slot:"actions-end",text:t})}};t([e()],d.prototype,"extentToValidate",null),t([e()],d.prototype,"icon",null),t([e()],d.prototype,"label",null),t([e(),n("esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology")],d.prototype,"messages",void 0),t([e()],d.prototype,"utilityNetwork",null),t([e()],d.prototype,"view",null),t([e({type:a})],d.prototype,"viewModel",void 0),d=t([o("esri.widgets.UtilityNetworkValidateTopology")],d);const u=d;export{u as default};
|
package/widgets/VideoPlayer.d.ts
CHANGED
|
@@ -54,7 +54,7 @@ export interface VideoPlayerProperties extends WidgetProperties, Partial<Pick<Vi
|
|
|
54
54
|
*
|
|
55
55
|
* 
|
|
56
56
|
*
|
|
57
|
-
* @deprecated since 4.33. Use the [Video Player component](https://developers.arcgis.com/javascript/latest/references/map-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/).
|
|
57
|
+
* @deprecated since version 4.33. Use the [Video Player component](https://developers.arcgis.com/javascript/latest/references/map-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
|
|
59
59
|
* @see [VideoLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-VideoLayer.html)
|
|
60
60
|
* @see [VideoPlayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-VideoPlayer.html)
|
package/widgets/VideoPlayer.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{__decorate as e}from"tslib";import{deprecateWidget as i}from"../core/deprecate.js";import{clone as t}from"../core/lang.js";import o from"../core/Logger.js";import{watch as s,initial as r}from"../core/reactiveUtils.js";import{property as n,subclass as a}from"../core/accessorSupport/decorators.js";import{formatDate as l}from"../intl/date.js";import d from"../views/VideoView.js";import c from"./Slider.js";import m from"./Widget.js";import{loadCalciteComponents as p}from"./support/componentsUtils.js";import{globalCss as v}from"./support/globalCss.js";import{messageBundle as h,tsx as u}from"./support/widget.js";import{css as w}from"./VideoPlayer/css.js";import g from"./VideoPlayer/VideoPlayerViewModel.js";import{loadMetadataSectionComponents as y,MetadataSection as V}from"./VideoPlayer/components/MetadataSection.js";import{loadPlayerActionsGroupComponents as f,PlayerActionsGroup as
|
|
5
|
+
import{__decorate as e}from"tslib";import{deprecateWidget as i}from"../core/deprecate.js";import{clone as t}from"../core/lang.js";import o from"../core/Logger.js";import{watch as s,initial as r}from"../core/reactiveUtils.js";import{property as n,subclass as a}from"../core/accessorSupport/decorators.js";import{formatDate as l}from"../intl/date.js";import d from"../views/VideoView.js";import c from"./Slider.js";import m from"./Widget.js";import{loadCalciteComponents as p}from"./support/componentsUtils.js";import{globalCss as v}from"./support/globalCss.js";import{messageBundle as h,tsx as u}from"./support/widget.js";import{css as w}from"./VideoPlayer/css.js";import g from"./VideoPlayer/VideoPlayerViewModel.js";import{loadMetadataSectionComponents as y,MetadataSection as V}from"./VideoPlayer/components/MetadataSection.js";import{loadPlayerActionsGroupComponents as f,PlayerActionsGroup as M}from"./VideoPlayer/components/PlayerActionsGroup.js";import{loadPlayerControlsGroupComponents as b,PlayerControlsGroup as _}from"./VideoPlayer/components/PlayerControlsGroup.js";import{defaultSettings as j}from"./VideoPlayer/components/SettingsButton.js";let P=class extends m{constructor(e,s){super(e,s),this._settings=t(j),this._metadataVisible=!1,this._slider=new c({visibleElements:{labels:!1,rangeLabels:!1},min:0,max:100,values:[0],thumbsConstrained:!1}),this.videoView=new d({container:document.createElement("div"),constraints:{rotationEnabled:!1}}),this.viewModel=new g,i(o.getLogger(this),"Video Player","arcgis-video-player",{version:"4.33"})}initialize(){this.addHandles([s(()=>this.viewModel.layer,()=>{this.videoView.layer=this.viewModel.layer},r),s(()=>this.view?.map,()=>{this.videoView.map=this.view?.map},r),this._slider.on(["thumb-change","thumb-drag"],({value:e})=>{const i=e*this.viewModel.duration/100;this.viewModel.seekTo(i)})])}loadDependencies(){return Promise.all([f(),b(),y(),p({progress:()=>import("@esri/calcite-components/dist/components/calcite-progress"),panel:()=>import("@esri/calcite-components/dist/components/calcite-panel"),scrim:()=>import("@esri/calcite-components/dist/components/calcite-scrim"),icon:()=>import("@esri/calcite-components/dist/components/calcite-icon")})])}get icon(){return"video-web"}set icon(e){this._overrideIfSome("icon",e)}get layer(){return this.viewModel.layer}set layer(e){this.viewModel.layer=e}get rotationEnabled(){return this.videoView.constraints.rotationEnabled}set rotationEnabled(e){this.videoView.constraints.rotationEnabled=e,this.videoView.ui.components=e?[...this.videoView.ui.components,"compass"]:this.videoView.ui.components.filter(e=>"compass"!==e)}get view(){return this.viewModel.view}set view(e){this.viewModel.view=e}get zoomEnabled(){return"zoom"===this.videoView.navigation.actionMap.mouseWheel}set zoomEnabled(e){this.videoView.navigation.actionMap.mouseWheel=e?"zoom":"none",this.videoView.ui.components=e?[...this.videoView.ui.components,"zoom"]:this.videoView.ui.components.filter(e=>"zoom"!==e)}render(){return u("div",{class:this.classes(w.base,v.widget)},u("calcite-panel",{heading:this.layer?.title||"Video Player"},this._renderLoadingScrim(),this._renderBuffering(),this._renderVideoSection(),this._renderActionBar(),this._renderMetadataSection()))}_renderLoadingScrim(){const{state:e}=this.viewModel;return this.videoView.ready?null:u("calcite-scrim",{loading:"error"!==e},"error"===e?this.messages.errorLoadingLayer:null)}_renderBuffering(){const{currentTime:e,buffered:i,duration:t}=this.viewModel,o=i/(t||1),s=e/(t||1);return this.viewModel.ended||o>s?null:u("calcite-progress",{type:"indeterminate"})}_renderVideoSection(){const{buffered:e,currentTime:i,duration:t,layer:o}=this.viewModel,s=this.videoView.container,r=!!o?.isLive;if(!s)return null;s.className=w.videoView;const n=e/(t||1),a=i/(t||1);return this._slider.values=[100*a],u("section",{afterCreate:S,bind:s},r?null:u("div",{class:w.sliderProgressContainer},u("progress",{class:w.progress,max:"1",value:`${n}`}),u("div",{class:w.slider},this._slider.render())))}_renderActionBar(){const e=!!this.viewModel.layer?.isLive,i=e?w.playerToolbarTopPadding:void 0;return u("div",{class:this.classes(w.playerToolbar,i)},u("div",{class:w.playerActionsGroup},u(M,{messages:this.messages,viewModel:this.viewModel}),e?u("calcite-icon",{class:w.playerLiveIcon,icon:"beacon"}):null,u("div",{class:w.playerTimecode},E(this.viewModel.currentTime)," / ",E(this.viewModel.duration))),u(_,{messages:this.messages,settings:this._settings,toggleMetadata:()=>this._metadataVisible=!this._metadataVisible,viewModel:this.viewModel}))}_renderMetadataSection(){return this._metadataVisible?u(V,{messages:this.messages,viewModel:this.viewModel}):null}};function E(e){return isFinite(e)?l(1e3*Math.round(e),{minute:"2-digit",second:"2-digit"}):""}function S(e){const i=this;e.prepend(i)}e([n()],P.prototype,"_settings",void 0),e([n()],P.prototype,"icon",null),e([n()],P.prototype,"layer",null),e([n(),h("esri/widgets/VideoPlayer/t9n/VideoPlayer")],P.prototype,"messages",void 0),e([n()],P.prototype,"rotationEnabled",null),e([n()],P.prototype,"videoView",void 0),e([n({type:g})],P.prototype,"viewModel",void 0),e([n()],P.prototype,"view",null),e([n()],P.prototype,"zoomEnabled",null),P=e([a("esri.widgets.VideoPlayer")],P);const L=P;export{L as default};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import type Accessor from "../../core/Accessor.js";
|
|
2
2
|
|
|
3
|
-
/** @deprecated since 4.33. Use the [Weather component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-weather/) instead. For information on widget deprecation, read about [Esri's move to web components](https://developers.arcgis.com/javascript/latest/components-transition-plan/). */
|
|
3
|
+
/** @deprecated since version 4.33. Use the [Weather component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-weather/) instead. For information on widget deprecation, read about [Esri's move to web components](https://developers.arcgis.com/javascript/latest/components-transition-plan/). */
|
|
4
4
|
export interface VisibleElementsProperties extends Partial<Pick<VisibleElements, "header">> {}
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* The visible elements that are displayed within the widget.
|
|
8
8
|
* This provides the ability to turn individual elements of the widget's display on/off.
|
|
9
9
|
*
|
|
10
|
-
* @deprecated since 4.33. Use the [Weather component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-weather/) instead. For information on widget deprecation, read about [Esri's move to web components](https://developers.arcgis.com/javascript/latest/components-transition-plan/).
|
|
10
|
+
* @deprecated since version 4.33. Use the [Weather component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-weather/) instead. For information on widget deprecation, read about [Esri's move to web components](https://developers.arcgis.com/javascript/latest/components-transition-plan/).
|
|
11
11
|
*/
|
|
12
12
|
export default abstract class VisibleElements extends Accessor {
|
|
13
13
|
/**
|
|
@@ -3,13 +3,13 @@ import type SceneView from "../../views/SceneView.js";
|
|
|
3
3
|
import type { WeatherType } from "../../views/3d/environment/types.js";
|
|
4
4
|
import type { WeatherState } from "./types.js";
|
|
5
5
|
|
|
6
|
-
/** @deprecated since 4.33. Use the [Weather component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-weather/) instead. For information on widget deprecation, read about [Esri's move to web components](https://developers.arcgis.com/javascript/latest/components-transition-plan/). */
|
|
6
|
+
/** @deprecated since version 4.33. Use the [Weather component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-weather/) instead. For information on widget deprecation, read about [Esri's move to web components](https://developers.arcgis.com/javascript/latest/components-transition-plan/). */
|
|
7
7
|
export interface WeatherViewModelProperties extends Partial<Pick<WeatherViewModel, "view">> {}
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* Provides the logic for the [Weather](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Weather.html) widget.
|
|
11
11
|
*
|
|
12
|
-
* @deprecated since 4.33. Use the [Weather component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-weather/) instead. For information on widget deprecation, read about [Esri's move to web components](https://developers.arcgis.com/javascript/latest/components-transition-plan/).
|
|
12
|
+
* @deprecated since version 4.33. Use the [Weather component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-weather/) instead. For information on widget deprecation, read about [Esri's move to web components](https://developers.arcgis.com/javascript/latest/components-transition-plan/).
|
|
13
13
|
* @since 4.23
|
|
14
14
|
* @see [Weather](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Weather.html) widget - _Deprecated since 4.33. Use the [Weather component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-weather/) instead._
|
|
15
15
|
* @see [Sample - Weather visualization](https://developers.arcgis.com/javascript/latest/sample-code/scene-weather/)
|
|
@@ -4,6 +4,6 @@
|
|
|
4
4
|
* - ready: widget is ready
|
|
5
5
|
* - error: widget is displaying an error
|
|
6
6
|
*
|
|
7
|
-
* @deprecated since 4.33. Use the [Weather component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-weather/) instead. For information on widget deprecation, read about [Esri's move to web components](https://developers.arcgis.com/javascript/latest/components-transition-plan/).
|
|
7
|
+
* @deprecated since version 4.33. Use the [Weather component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-weather/) instead. For information on widget deprecation, read about [Esri's move to web components](https://developers.arcgis.com/javascript/latest/components-transition-plan/).
|
|
8
8
|
*/
|
|
9
9
|
export type WeatherState = "disabled" | "ready" | "error";
|
package/widgets/Weather.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ import type { HeadingLevel } from "./support/types.js";
|
|
|
8
8
|
import type { WeatherViewModelProperties } from "./Weather/WeatherViewModel.js";
|
|
9
9
|
import type { VisibleElementsProperties } from "./Weather/VisibleElements.js";
|
|
10
10
|
|
|
11
|
-
/** @deprecated since 4.33. Use the [Weather component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-weather/) instead. For information on widget deprecation, read about [Esri's move to web components](https://developers.arcgis.com/javascript/latest/components-transition-plan/). */
|
|
11
|
+
/** @deprecated since version 4.33. Use the [Weather component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-weather/) instead. For information on widget deprecation, read about [Esri's move to web components](https://developers.arcgis.com/javascript/latest/components-transition-plan/). */
|
|
12
12
|
export interface WeatherProperties extends WidgetProperties, Partial<Pick<Weather, "headingLevel" | "view">> {
|
|
13
13
|
/**
|
|
14
14
|
* Icon which represents the widget. It is typically used when the widget is controlled by another
|
|
@@ -51,7 +51,7 @@ export interface WeatherProperties extends WidgetProperties, Partial<Pick<Weathe
|
|
|
51
51
|
* [rainy](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-3d-environment-RainyWeather.html), [snowy](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-3d-environment-SnowyWeather.html),
|
|
52
52
|
* and [foggy](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-3d-environment-FoggyWeather.html).
|
|
53
53
|
*
|
|
54
|
-
* @deprecated since 4.33. Use the [Weather component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-weather/) instead. For information on widget deprecation, read about [Esri's move to web components](https://developers.arcgis.com/javascript/latest/components-transition-plan/).
|
|
54
|
+
* @deprecated since version 4.33. Use the [Weather component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-weather/) instead. For information on widget deprecation, read about [Esri's move to web components](https://developers.arcgis.com/javascript/latest/components-transition-plan/).
|
|
55
55
|
* @since 4.23
|
|
56
56
|
* @see [WeatherViewModel](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Weather-WeatherViewModel.html) - _Deprecated since 4.33. Use the [Weather component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-weather/) instead._
|
|
57
57
|
* @see [SceneView#environment](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#environment)
|
package/widgets/Zoom.d.ts
CHANGED
|
@@ -41,7 +41,7 @@ export type ZoomLayout = "vertical" | "horizontal";
|
|
|
41
41
|
* See [DefaultUI](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-ui-DefaultUI.html) for details on how to place the Zoom widget
|
|
42
42
|
* in other parts of the view.
|
|
43
43
|
*
|
|
44
|
-
* @deprecated since 4.32. Use the [Zoom component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-zoom/) instead. For information on widget deprecation, read about [Esri's move to web components](https://developers.arcgis.com/javascript/latest/components-transition-plan/).
|
|
44
|
+
* @deprecated since version 4.32. Use the [Zoom component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-zoom/) instead. For information on widget deprecation, read about [Esri's move to web components](https://developers.arcgis.com/javascript/latest/components-transition-plan/).
|
|
45
45
|
* @since 4.0
|
|
46
46
|
* @see [MapView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html)
|
|
47
47
|
* @see [SceneView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html)
|
|
@@ -72,7 +72,7 @@ export type GridControlsTheme = "light" | "dark" | "custom";
|
|
|
72
72
|
* > - The grid spacing does not correspond to real world measurements. Distortion will be minimized when used in conjunction with an equal area basemap.
|
|
73
73
|
* > - The grid spacing input will be hidden when working with Web Mercator and Geographic Coordinate Systems.
|
|
74
74
|
*
|
|
75
|
-
* @deprecated since 4.33. Use the [Grid Controls component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-grid-controls/) instead. For information on widget deprecation, read about [Esri's move to web components](https://developers.arcgis.com/javascript/latest/components-transition-plan/).
|
|
75
|
+
* @deprecated since version 4.33. Use the [Grid Controls component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-grid-controls/) instead. For information on widget deprecation, read about [Esri's move to web components](https://developers.arcgis.com/javascript/latest/components-transition-plan/).
|
|
76
76
|
* @since 4.31
|
|
77
77
|
* @see [Sample - Sketch temporary geometries](https://developers.arcgis.com/javascript/latest/sample-code/sketch-geometries/)
|
|
78
78
|
* @see [Sample - Edit features with the Editor widget](https://developers.arcgis.com/javascript/latest/sample-code/widgets-editor-basic/)
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[5],{5443:(t,e,i)=>{i.d(e,{A:()=>y});var s,n=i(31635),r=i(799),h=i(91429),a=i(91075),m=i(86738),o=i(16930),c=i(94078),l=i(12176),u=i(21325),x=i(28735);function f(t,e,i){return null==e?i:null==i?e:t(e,i)}let y=s=class extends a.A{constructor(...t){super(...t),this.type="extent",this.xmin=0,this.ymin=0,this.mmin=void 0,this.zmin=void 0,this.xmax=0,this.ymax=0,this.mmax=void 0,this.zmax=void 0}normalizeCtorArgs(t,e,i,s,n){return function(t){return t&&("esri.geometry.SpatialReference"===t.declaredClass||null!=t.wkid)}(t)?{spatialReference:t,xmin:0,ymin:0,xmax:0,ymax:0}:"object"==typeof t?(t.spatialReference=null==t.spatialReference?o.A.WGS84:t.spatialReference,t):{xmin:t,ymin:e,xmax:i,ymax:s,spatialReference:n??o.A.WGS84}}static fromPoint(t){return new s({xmin:t.x,ymin:t.y,zmin:t.z,xmax:t.x,ymax:t.y,zmax:t.z,spatialReference:t.spatialReference})}get cache(){return this.commitProperty("xmin"),this.commitProperty("ymin"),this.commitProperty("zmin"),this.commitProperty("mmin"),this.commitProperty("xmax"),this.commitProperty("ymax"),this.commitProperty("zmax"),this.commitProperty("mmax"),this.commitProperty("spatialReference"),{}}get center(){const t=new m.A({x:.5*(this.xmin+this.xmax),y:.5*(this.ymin+this.ymax),spatialReference:this.spatialReference});return this.hasZ&&(t.z=.5*(this.zmin+this.zmax)),this.hasM&&(t.m=.5*(this.mmin+this.mmax)),t}get extent(){return this.clone()}get hasM(){return null!=this.mmin&&null!=this.mmax}get hasZ(){return null!=this.zmin&&null!=this.zmax}get height(){return Math.abs(this.ymax-this.ymin)}get width(){return Math.abs(this.xmax-this.xmin)}centerAt(t){const e=this.center;return null!=t.z&&this.hasZ?this.offset(t.x-e.x,t.y-e.y,t.z-e.z):this.offset(t.x-e.x,t.y-e.y)}clone(){const t=new s;return t.xmin=this.xmin,t.ymin=this.ymin,t.xmax=this.xmax,t.ymax=this.ymax,t.spatialReference=this.spatialReference,null!=this.zmin&&(t.zmin=this.zmin,t.zmax=this.zmax),null!=this.mmin&&(t.mmin=this.mmin,t.mmax=this.mmax),t}contains(t){if(!t)return!1;const e=this.spatialReference,i=t.spatialReference;return e&&i&&!e.equals(i)&&(0,x.y7)(e,i)&&(t=e.isWebMercator?(0,x.Gh)(t):(0,x.ci)(t,!0)),"point"===t.type?(0,c.qz)(this,t):"extent"===t.type&&(0,c.gH)(this,t)}equals(t){if(this===t)return!0;if(null==t)return!1;const e=this.spatialReference,i=t.spatialReference;return e&&i&&!e.equals(i)&&(0,x.y7)(e,i)&&(t=e.isWebMercator?(0,x.Gh)(t):(0,x.ci)(t,!0)),this.xmin===t.xmin&&this.ymin===t.ymin&&this.zmin===t.zmin&&this.mmin===t.mmin&&this.xmax===t.xmax&&this.ymax===t.ymax&&this.zmax===t.zmax&&this.mmax===t.mmax}expand(t){const e=.5*(1-t),i=this.width*e,s=this.height*e;if(this.xmin+=i,this.ymin+=s,this.xmax-=i,this.ymax-=s,this.hasZ){const t=(this.zmax-this.zmin)*e;this.zmin+=t,this.zmax-=t}if(this.hasM){const t=(this.mmax-this.mmin)*e;this.mmin+=t,this.mmax-=t}return this}intersects(t){if(null==t)return!1;"mesh"===t.type&&(t=t.extent);const e=this.spatialReference,i=t.spatialReference;return e&&i&&!(0,u.aI)(e,i)&&(0,x.y7)(e,i)&&(t=e.isWebMercator?(0,x.Gh)(t):(0,x.ci)(t,!0)),(0,l.xK)(t.type)(this,t)}normalize(){const t=this._normalize(!1,!0);return Array.isArray(t)?t:[t]}offset(t,e,i){return this.xmin+=t,this.ymin+=e,this.xmax+=t,this.ymax+=e,null!=i&&(this.zmin+=i,this.zmax+=i),this}shiftCentralMeridian(){return this._normalize(!0)}union(t){return this===t||(this.xmin=Math.min(this.xmin,t.xmin),this.ymin=Math.min(this.ymin,t.ymin),this.xmax=Math.max(this.xmax,t.xmax),this.ymax=Math.max(this.ymax,t.ymax),(this.hasZ||t.hasZ)&&(this.zmin=f(Math.min,this.zmin,t.zmin),this.zmax=f(Math.max,this.zmax,t.zmax)),(this.hasM||t.hasM)&&(this.mmin=f(Math.min,this.mmin,t.mmin),this.mmax=f(Math.max,this.mmax,t.mmax))),this}intersection(t){return this===t?this:null!=t&&this.intersects(t)?(this.xmin=Math.max(this.xmin,t.xmin),this.ymin=Math.max(this.ymin,t.ymin),this.xmax=Math.min(this.xmax,t.xmax),this.ymax=Math.min(this.ymax,t.ymax),(this.hasZ||t.hasZ)&&(this.zmin=f(Math.max,this.zmin,t.zmin),this.zmax=f(Math.min,this.zmax,t.zmax)),(this.hasM||t.hasM)&&(this.mmin=f(Math.max,this.mmin,t.mmin),this.mmax=f(Math.min,this.mmax,t.mmax)),this):null}toJSON(t){return this.write({},t)}_shiftCM(t=(0,u.Vp)(this.spatialReference)){if(!t||!this.spatialReference)return this;const e=this.spatialReference,i=this._getCM(t);if(i){const s=e.isWebMercator?(0,x.ci)(i):i;this.xmin-=i.x,this.xmax-=i.x,e.isWebMercator||(s.x=p(s.x,t).x),this.spatialReference=new o.A((0,r.HC)((e.isWGS84?t.altTemplate:null)??t.wkTemplate,{Central_Meridian:s.x}))}return this}_getCM(t){let e=null;const[i,s]=t.valid,n=this.xmin,r=this.xmax;return n>=i&&n<=s&&r>=i&&r<=s||(e=this.center),e}_normalize(t,e,i){const s=this.spatialReference;if(!s)return this;const n=i??(0,u.Vp)(s);if(null==n)return this;const r=this._getParts(n).map(t=>t.extent);if(r.length<2)return r[0]||this;if(r.length>2)return t?this._shiftCM(n):this.set({xmin:n.valid[0],xmax:n.valid[1]});if(t)return this._shiftCM(n);if(e)return r;let h=!0,a=!0;return r.forEach(t=>{t.hasZ||(h=!1),t.hasM||(a=!1)}),{rings:r.map(t=>{const e=[[t.xmin,t.ymin],[t.xmin,t.ymax],[t.xmax,t.ymax],[t.xmax,t.ymin],[t.xmin,t.ymin]];if(h){const i=(t.zmax-t.zmin)/2;for(let t=0;t<e.length;t++)e[t].push(i)}if(a){const i=(t.mmax-t.mmin)/2;for(let t=0;t<e.length;t++)e[t].push(i)}return e}),hasZ:h,hasM:a,spatialReference:s}}_getParts(t){let e=this.cache._parts;if(!e){e=[];const{ymin:i,ymax:n,spatialReference:r}=this,h=this.width,a=this.xmin,m=this.xmax;let o;t=t||(0,u.Vp)(r);const[c,l]=t.valid;o=p(this.xmin,t);const x=o.x,f=o.frameId;o=p(this.xmax,t);const y=o.x,z=o.frameId,d=x===y&&h>0;if(h>2*l){const t=new s(a<m?x:y,i,l,n,r),h=new s(c,i,a<m?y:x,n,r),o=new s(0,i,l,n,r),u=new s(c,i,0,n,r),p=[],d=[];t.contains(o)&&p.push(f),t.contains(u)&&d.push(f),h.contains(o)&&p.push(z),h.contains(u)&&d.push(z);for(let t=f+1;t<z;t++)p.push(t),d.push(t);e.push({extent:t,frameIds:[f]},{extent:h,frameIds:[z]},{extent:o,frameIds:p},{extent:u,frameIds:d})}else x>y||d?e.push({extent:new s(x,i,l,n,r),frameIds:[f]},{extent:new s(c,i,y,n,r),frameIds:[z]}):e.push({extent:new s(x,i,y,n,r),frameIds:[f]});this.cache._parts=e}const i=this.hasZ,n=this.hasM;if(i||n){const t={};i&&(t.zmin=this.zmin,t.zmax=this.zmax),n&&(t.mmin=this.mmin,t.mmax=this.mmax);for(let i=0;i<e.length;i++)e[i].extent.set(t)}return e}};function p(t,e){const[i,s]=e.valid,n=2*s;let r,h=0;return t>s?(r=Math.ceil(Math.abs(t-s)/n),t-=r*n,h=r):t<i&&(r=Math.ceil(Math.abs(t-i)/n),t+=r*n,h=-r),{x:t,frameId:h}}(0,n.Cg)([(0,h.MZ)({readOnly:!0})],y.prototype,"cache",null),(0,n.Cg)([(0,h.MZ)({readOnly:!0})],y.prototype,"center",null),(0,n.Cg)([(0,h.MZ)({readOnly:!0})],y.prototype,"extent",null),(0,n.Cg)([(0,h.MZ)({readOnly:!0,json:{write:{enabled:!1,overridePolicy:null}}})],y.prototype,"hasM",null),(0,n.Cg)([(0,h.MZ)({readOnly:!0,json:{write:{enabled:!1,overridePolicy:null}}})],y.prototype,"hasZ",null),(0,n.Cg)([(0,h.MZ)({readOnly:!0})],y.prototype,"height",null),(0,n.Cg)([(0,h.MZ)({type:o.A,json:{write:!0},value:o.A.WGS84})],y.prototype,"spatialReference",void 0),(0,n.Cg)([(0,h.MZ)({readOnly:!0})],y.prototype,"width",null),(0,n.Cg)([(0,h.MZ)({type:Number,json:{type:[Number,String],write:{enabled:!0,allowNull:!0}}})],y.prototype,"xmin",void 0),(0,n.Cg)([(0,h.MZ)({type:Number,json:{write:!0}})],y.prototype,"ymin",void 0),(0,n.Cg)([(0,h.MZ)({type:Number,json:{origins:{"web-scene":{write:!1}},read:t=>t??void 0,write:{overridePolicy(){return{enabled:this.hasM}}}}})],y.prototype,"mmin",void 0),(0,n.Cg)([(0,h.MZ)({type:Number,json:{origins:{"web-scene":{write:!1}},write:{overridePolicy(){return{enabled:this.hasZ}}}}})],y.prototype,"zmin",void 0),(0,n.Cg)([(0,h.MZ)({type:Number,json:{write:!0}})],y.prototype,"xmax",void 0),(0,n.Cg)([(0,h.MZ)({type:Number,json:{write:!0}})],y.prototype,"ymax",void 0),(0,n.Cg)([(0,h.MZ)({type:Number,json:{origins:{"web-scene":{write:!1}},read:t=>t??void 0,write:{overridePolicy(){return{enabled:this.hasM}}}}})],y.prototype,"mmax",void 0),(0,n.Cg)([(0,h.MZ)({type:Number,json:{origins:{"web-scene":{write:!1}},write:{overridePolicy(){return{enabled:this.hasZ}}}}})],y.prototype,"zmax",void 0),y=s=(0,n.Cg)([(0,h.$K)("esri.geometry.Extent")],y),y.prototype.toJSON.isDefaultToJSON=!0},12176:(t,e,i)=>{i.d(e,{A3:()=>p,Ql:()=>d,fA:()=>x,xB:()=>r,xK:()=>_});var s=i(94078);function n(t,e){return(0,s.qz)(t,e)}function r(t,e){const i=t.hasZ&&e.hasZ;let s,n,r;if(t.xmin<=e.xmin){if(s=e.xmin,t.xmax<s)return!1}else if(s=t.xmin,e.xmax<s)return!1;if(t.ymin<=e.ymin){if(n=e.ymin,t.ymax<n)return!1}else if(n=t.ymin,e.ymax<n)return!1;if(i&&e.hasZ)if(t.zmin<=e.zmin){if(r=e.zmin,t.zmax<r)return!1}else if(r=t.zmin,e.zmax<r)return!1;return!0}function h(t,e){const{points:i,hasZ:n}=e,r=n?s.F8:s.CW;for(const e of i)if(r(t,e))return!0;return!1}const a=[0,0],m=[0,0],o=[0,0],c=[0,0],l=[a,m,o,c],u=[[o,a],[a,m],[m,c],[c,o]];function x(t,e){return function(t,e){a[0]=t.xmin,a[1]=t.ymax,m[0]=t.xmax,m[1]=t.ymax,o[0]=t.xmin,o[1]=t.ymin,c[0]=t.xmax,c[1]=t.ymin;for(const t of l)if((0,s.t1)(e,t))return!0;for(const i of e){if(!i.length)continue;let e=i[0];if((0,s.CW)(t,e))return!0;for(let n=1;n<i.length;n++){const r=i[n];if((0,s.CW)(t,r)||z(e,r,u))return!0;e=r}}return!1}(t,e.rings)}function f(t,e){a[0]=t.xmin,a[1]=t.ymax,m[0]=t.xmax,m[1]=t.ymax,o[0]=t.xmin,o[1]=t.ymin,c[0]=t.xmax,c[1]=t.ymin;const i=e.paths;for(const e of i){if(!i.length)continue;let n=e[0];if((0,s.CW)(t,n))return!0;for(let i=1;i<e.length;i++){const r=e[i];if((0,s.CW)(t,r)||z(n,r,u))return!0;n=r}}return!1}const y=[0,0];function p(t){for(let e=0;e<t.length;e++){const i=t[e];for(let s=0;s<i.length-1;s++){const n=i[s],r=i[s+1];for(let i=e+1;i<t.length;i++)for(let e=0;e<t[i].length-1;e++){const s=t[i][e],h=t[i][e+1];if(d(n,r,s,h,y)&&!(y[0]===n[0]&&y[1]===n[1]||y[0]===s[0]&&y[1]===s[1]||y[0]===r[0]&&y[1]===r[1]||y[0]===h[0]&&y[1]===h[1]))return!0}}const s=i.length;if(!(s<=4))for(let t=0;t<s-3;t++){let e=s-1;0===t&&(e=s-2);const n=i[t],r=i[t+1];for(let s=t+2;s<e;s++){const t=i[s],e=i[s+1];if(d(n,r,t,e,y)&&!(y[0]===n[0]&&y[1]===n[1]||y[0]===t[0]&&y[1]===t[1]||y[0]===r[0]&&y[1]===r[1]||y[0]===e[0]&&y[1]===e[1]))return!0}}}return!1}function z(t,e,i){for(let s=0;s<i.length;s++)if(d(t,e,i[s][0],i[s][1]))return!0;return!1}function d(t,e,i,s,n){const[r,h]=t,[a,m]=e,[o,c]=i,[l,u]=s,x=l-o,f=r-o,y=a-r,p=u-c,z=h-c,d=m-h,_=p*y-x*d;if(0===_)return!1;const g=(x*z-p*f)/_,M=(y*z-d*f)/_;return g>=0&&g<=1&&M>=0&&M<=1&&(n&&(n[0]=r+g*(a-r),n[1]=h+g*(m-h)),!0)}function _(t){switch(t){case"esriGeometryEnvelope":case"extent":return r;case"esriGeometryMultipoint":case"multipoint":return h;case"esriGeometryPoint":case"point":return n;case"esriGeometryMultiPatch":case"multipatch":case"esriGeometryPolygon":case"polygon":return x;case"esriGeometryPolyline":case"polyline":return f}}},44123:(t,e,i)=>{i.d(e,{WhereClauseCache:()=>r});var s=i(66344),n=i(88368);class r{constructor(t,e){this._cache=new s.q(t),this._invalidCache=new s.q(e)}get(t,e){const i=`${e?.uid}:${t}`,s=this._cache.get(i);if(s)return s;if(null!=this._invalidCache.get(i))return null;try{const s=n.A.create(t,{fieldsIndex:e});return this._cache.put(i,s),s}catch(t){return this._invalidCache.put(i,t),null}}getError(t,e){const i=`${e?.uid}:${t}`;return this._invalidCache.get(i)??null}}},66344:(t,e,i)=>{i.d(e,{q:()=>a});const s=!!(0,i(44208).A)("esri-tests-disable-gpu-memory-measurements");Symbol.iterator;class n{get size(){return this._size}constructor(t=10485760){this._maxSize=t,this._db=new Map,this._size=0,this._hit=0,this._miss=0,this._users=new Map,this._sizeLimits=new Map}destroy(){this.clearAll(),this._sizeLimits.clear(),this._users.clear(),this._db.clear()}register(t){this._users.set(t.id.slice(0,-1),t)}deregister(t){this.clear(t),this._sizeLimits.delete(t),this._users.delete(t.id.slice(0,-1))}get maxSize(){return this._maxSize}set maxSize(t){this._maxSize=Math.max(t,-1),this._checkSize()}getSize(t,e){const i=this._db.get(t.id+e);return i?.size??0}put(t,e,i,n,h){e=t.id+e;const a=this._db.get(e);if(a&&(this._size-=a.size,t.size-=a.size,this._db.delete(e),a.entry!==i&&this._notifyRemove(e,a.entry,a.size,0)),n>this._maxSize)return void this._notifyRemove(e,i,n,0);if(void 0===i)return void console.warn("Refusing to cache undefined entry ");if(!n||n<0)return s||console.warn(`Refusing to cache entry with size ${n} for key ${e}`),void this._notifyRemove(e,i,0,0);const m=1+Math.max(h,-4)- -3;this._db.set(e,new r(i,n,m)),this._size+=n,t.size+=n,this._checkSize()}updateSize(t,e){e=t.id+e;const i=this._db.get(e);if(!i)return;this._size-=i.size,t.size-=i.size;let s=i.entry.usedMemory;for(;s>this._maxSize;){const t=this._notifyRemove(e,i.entry,s,1);if(!(null!=t&&t>0))return void this._db.delete(e);s=t}i.size=s,this._size+=s,t.size+=s,this._checkSize()}pop(t,e){e=t.id+e;const i=this._db.get(e);if(i)return this._size-=i.size,t.size-=i.size,this._db.delete(e),++this._hit,i.entry;++this._miss}get(t,e){e=t.id+e;const i=this._db.get(e);if(void 0!==i)return this._db.delete(e),i.lives=i.lifetime,this._db.set(e,i),++this._hit,i.entry;++this._miss}peek(t,e){const i=this._db.get(t.id+e);return i?++this._hit:++this._miss,i?.entry}get performanceInfo(){const t={Size:Math.round(this._size/1048576)+"/"+Math.round(this._maxSize/1048576)+"MB","Hit rate":Math.round(100*this._getHitRate())+"%",Entries:this._db.size.toString()},e={},i=new Array;this._db.forEach((t,s)=>{const n=t.lifetime;i[n]=(i[n]||0)+t.size,this._users.forEach(i=>{const{id:n,name:r}=i;if(s.startsWith(n)){const i=e[r]||0;e[r]=i+t.size}})});const s={};this._users.forEach(t=>{const i=t.name;if("hitRate"in t&&"number"==typeof t.hitRate&&!isNaN(t.hitRate)&&t.hitRate>0){const n=e[i]||0;e[i]=n,s[i]=Math.round(100*t.hitRate)+"%"}else s[i]="0%"});const n=Object.keys(e);n.sort((t,i)=>e[i]-e[t]),n.forEach(i=>t[i]=Math.round(e[i]/2**20)+"MB / "+s[i]);for(let e=i.length-1;e>=0;--e){const s=i[e];s&&(t["Priority "+(e+-3-1)]=Math.round(s/this._size*100)+"%")}return t}resetStats(){this._hit=this._miss=0,this._users.forEach(t=>t.resetHitRate())}clear(t){const e=t.id;this._db.forEach((t,i)=>{i.startsWith(e)&&(this._size-=t.size,this._db.delete(i),this._notifyRemove(i,t.entry,t.size,0))}),t.size=0}clearAll(){this._db.forEach((t,e)=>this._notifyRemove(e,t.entry,t.size,0)),this._users.forEach(t=>t.size=0),this._size=0,this._db.clear()}*values(t){for(const[e,i]of this._db)e.startsWith(t.id)&&(yield i.entry)}_getHitRate(){return this._hit/(this._hit+this._miss)}_notifyRemove(t,e,i,s){const n=this._users.get(t.split(h)[0])?.removeFunc,r=n?.(e,s,i);return"number"==typeof r?r:null}_checkSize(){this._sizeLimits.forEach((t,e)=>this._checkSizeLimits(t,e)),this._checkSizeLimits(this.maxSize)}setMaxSize(t,e){null==e||e<=0?this._sizeLimits.delete(t):this._sizeLimits.set(t,e)}_checkSizeLimits(t,e){const i=e??this;if(i.size<=t)return;const s=e?.id;let n=!0;for(;n;){n=!1;for(const[r,a]of this._db)if(0===a.lifetime&&(!s||r.startsWith(s))){const s=e??this._users.get(r.split(h)[0]);if(this._purgeItem(r,a,s),i.size<=.9*t)return;n||=this._db.has(r)}}for(const[n,r]of this._db)if(!s||n.startsWith(s)){const s=e??this._users.get(n.split(h)[0]);if(this._purgeItem(n,r,s),i.size<=.9*t)return}}_purgeItem(t,e,i){if(this._db.delete(t),e.lives<=1){this._size-=e.size,i&&(i.size-=e.size);const s=this._notifyRemove(t,e.entry,e.size,1);null!=s&&s>0&&(this._size+=s,i&&(i.size+=s),e.lives=e.lifetime,e.size=s,this._db.set(t,e))}else--e.lives,this._db.set(t,e)}}new n(0);class r{constructor(t,e,i){this.entry=t,this.size=e,this.lifetime=i,this.lives=i}}const h=":";class a{constructor(t,e){this.removeFunc=e,this._storage=new n,this.id="",this.name="",this.size=0,this._storage.maxSize=t,this._storage.register(this)}destroy(){this._storage.deregister(this),this._storage.destroy(),this._storage=null}put(t,e,i=1){this._storage.put(this,t,e,i,1)}pop(t){return this._storage.pop(this,t)}get(t){return this._storage.get(this,t)}clear(){this._storage.clearAll()}get maxSize(){return this._storage.maxSize}set maxSize(t){this._storage.maxSize=t}resetHitRate(){}}},94078:(t,e,i)=>{i.d(e,{CW:()=>a,F8:()=>m,gH:()=>h,m3:()=>c,qz:()=>n,rL:()=>r,t1:()=>l});const s=[0,0];function n(t,e){return null!=e&&o(t,e.x,e.y,e.z)}function r(t,e){if(!e.points?.length)return!1;for(const i of e.points)if(!a(t,i))return!1;return!0}function h(t,e){const{xmin:i,ymin:s,zmin:n,xmax:r,ymax:h,zmax:a}=e;return t.hasZ&&e.hasZ?o(t,i,s,n)&&o(t,i,h,n)&&o(t,r,h,n)&&o(t,r,s,n)&&o(t,i,s,a)&&o(t,i,h,a)&&o(t,r,h,a)&&o(t,r,s,a):o(t,i,s)&&o(t,i,h)&&o(t,r,h)&&o(t,r,s)}function a(t,e){return o(t,e[0],e[1])}function m(t,e){return o(t,e[0],e[1],e[2])}function o(t,e,i,s){return e>=t.xmin&&e<=t.xmax&&i>=t.ymin&&i<=t.ymax&&(null==s||!t.hasZ||s>=t.zmin&&s<=t.zmax)}function c(t,e){return s[1]=e.y,s[0]=e.x,function(t,e){return l(t.rings,e)}(t,s)}function l(t,e){if(!t||t.length<1)return!1;if(function(t){return!Array.isArray(t[0][0])}(t))return u(!1,t,e);let i=!1;for(let s=0,n=t.length;s<n;s++)i=u(i,t[s],e);return i}function u(t,e,i){const[s,n]=i;let r=t,h=0;for(let t=0,i=e.length;t<i;t++){h++,h===i&&(h=0);const[a,m]=e[t],[o,c]=e[h];(m<n&&c>=n||c<n&&m>=n)&&a+(n-m)/(c-m)*(o-a)<s&&(r=!r)}return r}}}]);
|