@arcgis/core 6.0.0-next.44 → 6.0.0-next.46
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/Basemap.d.ts +2 -1
- package/Camera.d.ts +2 -1
- package/Graphic.d.ts +2 -1
- package/Ground.d.ts +2 -1
- package/Map.d.ts +2 -1
- package/PopupTemplate.d.ts +2 -1
- package/WebDocument2D.d.ts +2 -1
- package/WebScene.d.ts +2 -1
- package/analysis/Analysis.d.ts +2 -1
- package/analysis/DimensionSimpleStyle.d.ts +2 -1
- package/analysis/LengthDimension.d.ts +2 -1
- package/analysis/LineOfSightAnalysisObserver.d.ts +2 -1
- package/analysis/LineOfSightAnalysisTarget.d.ts +2 -1
- package/analysis/SlicePlane.d.ts +2 -1
- package/analysis/Viewshed.d.ts +2 -1
- package/analysis/VolumeMeasurement/VolumeMeasurementCutFillOptions.d.ts +2 -1
- package/analysis/VolumeMeasurement/VolumeMeasurementDisplayUnits.d.ts +2 -1
- package/analysis/VolumeMeasurement/VolumeMeasurementInputUnits.d.ts +2 -1
- package/arcgisGlobal.d.ts +1 -3
- package/assets/esri/core/workers/RemoteClient.js +1 -1
- package/assets/esri/core/workers/chunks/{d64054cd6865d3a1af78.js → 0ac38ca04285cd5ef1a0.js} +3 -3
- package/assets/esri/core/workers/chunks/{c420ab79d85e5dbddb0b.js → 3e67d50a2b2f8f837831.js} +1 -1
- package/assets/esri/core/workers/chunks/{0caaa03659f4f4e8df03.js → b3c0c9c91bcdbbb8e719.js} +1 -1
- package/basemapGallery/PortalBasemapsSource.d.ts +2 -1
- package/basemapGallery/support/BasemapItem.d.ts +2 -1
- package/chunks/AtmosphereCompositing.glsl.js +24 -6
- package/chunks/ChapmanAtmosphere.glsl.js +32 -25
- package/chunks/EmissionComposite.glsl.js +1 -1
- package/{portal/schemas → chunks}/definitions.js +1 -1
- package/chunks/webScene.js +2 -0
- package/config.js +1 -1
- package/core/Clonable.d.ts +2 -1
- package/core/Evented.d.ts +2 -1
- package/core/Identifiable.d.ts +2 -1
- package/core/JSONSupport.d.ts +2 -1
- package/core/Loadable.d.ts +2 -1
- package/core/MultiOriginJSONSupport.d.ts +2 -1
- package/core/Promise.d.ts +2 -1
- package/core/ReadOnlyMultiOriginJSONSupport.d.ts +2 -1
- package/editing/sharedTemplates/SharedTemplate.d.ts +2 -1
- package/effects/FocusArea.d.ts +2 -1
- package/effects/FocusAreaOutline.d.ts +2 -1
- package/effects/FocusAreas.d.ts +2 -1
- package/form/FormTemplate.d.ts +2 -1
- package/form/elements/UtilityNetworkAssociationsElement.d.ts +2 -1
- package/form/elements/inputs/attachments/Input.d.ts +2 -1
- package/geometry/Mesh.d.ts +2 -1
- package/geometry/operators/support/GeographicTransformation.d.ts +2 -1
- package/geometry/operators/support/GeographicTransformationStep.d.ts +2 -1
- package/geometry/support/MeshComponent.d.ts +2 -1
- package/geometry/support/MeshGeoreferencedVertexSpace.d.ts +2 -1
- package/geometry/support/MeshLocalVertexSpace.d.ts +2 -1
- package/geometry/support/MeshMaterial.d.ts +2 -1
- package/geometry/support/MeshTexture.d.ts +2 -1
- package/geometry/support/MeshTextureTransform.d.ts +2 -1
- package/geometry/support/MeshTransform.d.ts +2 -1
- package/geometry/support/MeshVertexAttributes.d.ts +2 -1
- package/interfaces.d.ts +0 -82
- package/kernel.js +1 -1
- package/layerList/Item.d.ts +2 -1
- package/layerList/ItemPanel.d.ts +2 -1
- package/layerList/TableItem.d.ts +2 -1
- package/layerList/TableItemPanel.d.ts +2 -1
- package/layers/AnnotationFeatureLayer.d.ts +2 -1
- package/layers/BaseDynamicLayer.d.ts +2 -1
- package/layers/BaseElevationLayer.d.ts +2 -1
- package/layers/BaseTileLayer.d.ts +2 -1
- package/layers/BingMapsLayer.d.ts +2 -1
- package/layers/BuildingSceneLayer.d.ts +2 -1
- package/layers/CSVLayer.d.ts +2 -1
- package/layers/CatalogLayer.d.ts +2 -1
- package/layers/DimensionFeatureLayer.d.ts +2 -1
- package/layers/DimensionLayer.d.ts +2 -1
- package/layers/ElevationLayer.d.ts +2 -1
- package/layers/FeatureLayer.d.ts +2 -1
- package/layers/GaussianSplatLayer.d.ts +2 -1
- package/layers/GeoJSONLayer.d.ts +2 -1
- package/layers/GeoRSSLayer.d.ts +2 -1
- package/layers/GeospatialPDFLayer.d.ts +2 -1
- package/layers/GraphicsLayer.d.ts +2 -1
- package/layers/GroupLayer.d.ts +2 -1
- package/layers/ImageryLayer.d.ts +2 -1
- package/layers/ImageryTileLayer.d.ts +2 -1
- package/layers/IntegratedMesh3DTilesLayer.d.ts +2 -1
- package/layers/IntegratedMeshLayer.d.ts +2 -1
- package/layers/KMLLayer.d.ts +2 -1
- package/layers/KnowledgeGraphLayer.d.ts +2 -1
- package/layers/Layer.d.ts +2 -1
- package/layers/LineOfSightLayer.d.ts +2 -1
- package/layers/LinkChartLayer.d.ts +2 -1
- package/layers/MapImageLayer.d.ts +2 -1
- package/layers/MapNotesLayer.d.ts +2 -1
- package/layers/MediaLayer.d.ts +2 -1
- package/layers/OGCFeatureLayer.d.ts +2 -1
- package/layers/ParquetLayer.d.ts +2 -1
- package/layers/PointCloudLayer.d.ts +2 -1
- package/layers/RouteLayer.d.ts +2 -1
- package/layers/SceneLayer.d.ts +2 -1
- package/layers/SketchLayer.d.ts +2 -1
- package/layers/StreamLayer.d.ts +2 -1
- package/layers/SubtypeGroupLayer.d.ts +2 -1
- package/layers/TileLayer.d.ts +2 -1
- package/layers/UnknownLayer.d.ts +2 -1
- package/layers/UnsupportedLayer.d.ts +2 -1
- package/layers/VectorTileLayer.d.ts +2 -1
- package/layers/VideoLayer.d.ts +2 -1
- package/layers/VideoLayer.js +1 -1
- package/layers/ViewshedLayer.d.ts +2 -1
- package/layers/VoxelLayer.d.ts +2 -1
- package/layers/WCSLayer.d.ts +2 -1
- package/layers/WFSLayer.d.ts +3 -2
- package/layers/WMSLayer.d.ts +2 -1
- package/layers/WMTSLayer.d.ts +2 -1
- package/layers/WebTileLayer.d.ts +2 -1
- package/layers/buildingSublayers/BuildingComponentSublayer.d.ts +2 -1
- package/layers/buildingSublayers/BuildingSublayer.d.ts +2 -1
- package/layers/catalog/CatalogDynamicGroupLayer.d.ts +2 -1
- package/layers/catalog/CatalogFootprintLayer.d.ts +2 -1
- package/layers/knowledgeGraph/KnowledgeGraphSublayer.d.ts +2 -1
- package/layers/mixins/APIKeyMixin.d.ts +2 -1
- package/layers/mixins/ArcGISCachedService.d.ts +2 -1
- package/layers/mixins/ArcGISImageService.d.ts +2 -1
- package/layers/mixins/ArcGISMapService.d.ts +2 -1
- package/layers/mixins/BlendLayer.d.ts +2 -1
- package/layers/mixins/CustomParametersMixin.d.ts +2 -1
- package/layers/mixins/DataSeriesLayer.d.ts +2 -1
- package/layers/mixins/DisplayFilteredLayer.d.ts +2 -1
- package/layers/mixins/EditBusLayer.d.ts +2 -1
- package/layers/mixins/FeatureEffectLayer.d.ts +2 -1
- package/layers/mixins/FeatureLayerBase.d.ts +2 -1
- package/layers/mixins/FeatureReductionLayer.d.ts +2 -1
- package/layers/mixins/OperationalLayer.d.ts +2 -1
- package/layers/mixins/OrderedLayer.d.ts +2 -1
- package/layers/mixins/PortalLayer.d.ts +2 -1
- package/layers/mixins/PublishableLayer.d.ts +2 -1
- package/layers/mixins/RasterPresetRendererMixin.d.ts +2 -1
- package/layers/mixins/RefreshableLayer.d.ts +2 -1
- package/layers/mixins/ReloadableLayer.d.ts +2 -1
- package/layers/mixins/ScaleRangeLayer.d.ts +2 -1
- package/layers/mixins/SceneService.d.ts +2 -1
- package/layers/mixins/SublayersOwner.d.ts +2 -1
- package/layers/mixins/TemporalLayer.d.ts +2 -1
- package/layers/mixins/TiledImagery.d.ts +2 -1
- package/layers/mixins/TrackableLayer.d.ts +2 -1
- package/layers/orientedImagery/core/ElevationSourceDefinitions.d.ts +2 -1
- package/layers/support/AnnotationFeatureSublayer.d.ts +2 -1
- package/layers/support/BuildingFilterMode.d.ts +2 -1
- package/layers/support/BuildingSummaryStatistics.d.ts +2 -1
- package/layers/support/ControlPointsGeoreference.d.ts +2 -1
- package/layers/support/DisplayFilter.d.ts +2 -1
- package/layers/support/DisplayFilterInfo.d.ts +2 -1
- package/layers/support/EditFieldsInfo.d.ts +2 -1
- package/layers/support/ExpressionInfo.d.ts +2 -1
- package/layers/support/FeatureReductionBinning.d.ts +2 -1
- package/layers/support/FeatureReductionCluster.d.ts +2 -1
- package/layers/support/FeatureTemplate.d.ts +2 -1
- package/layers/support/FeatureType.d.ts +2 -1
- package/layers/support/FieldConfiguration.d.ts +2 -1
- package/layers/support/FieldFormat.d.ts +2 -1
- package/layers/support/GeometryEncodingLocation.d.ts +2 -1
- package/layers/support/GeometryEncodingWkb.d.ts +2 -1
- package/layers/support/GeometryFieldsInfo.d.ts +2 -1
- package/layers/support/KMLSublayer.d.ts +2 -1
- package/layers/support/LocalMediaElementSource.d.ts +2 -1
- package/layers/support/MediaElementBase.d.ts +2 -1
- package/layers/support/ParquetFilesData.d.ts +2 -1
- package/layers/support/ParquetPortalItemData.d.ts +2 -1
- package/layers/support/PlaybackInfo.d.ts +2 -1
- package/layers/support/PortalItemData.d.ts +2 -1
- package/layers/support/Relationship.d.ts +2 -1
- package/layers/support/SceneModifications.d.ts +2 -1
- package/layers/support/Sublayer.d.ts +2 -1
- package/layers/support/Subtype.d.ts +2 -1
- package/layers/support/SubtypeSublayer.d.ts +2 -1
- package/layers/support/SymbolLayerDrawing.d.ts +2 -1
- package/layers/support/TelemetryData.d.ts +2 -1
- package/layers/support/TelemetryDisplay.d.ts +2 -1
- package/layers/support/TimeInfo.d.ts +2 -1
- package/layers/support/TimeSeriesCalculationMethod.d.ts +2 -1
- package/layers/support/TimeSeriesFieldTimeMapping.d.ts +2 -1
- package/layers/support/TimeSeriesInfo.d.ts +2 -1
- package/layers/support/TrackInfo.d.ts +2 -1
- package/layers/support/TrackPartInfo.d.ts +2 -1
- package/layers/support/VideoTimeExtent.d.ts +2 -1
- package/layers/support/WMSSublayer.d.ts +2 -1
- package/layers/support/schemaValidator.js +1 -1
- package/layers/voxel/VoxelColorStop.d.ts +2 -1
- package/layers/voxel/VoxelDynamicSection.d.ts +2 -1
- package/layers/voxel/VoxelIsosurface.d.ts +2 -1
- package/layers/voxel/VoxelOpacityStop.d.ts +2 -1
- package/layers/voxel/VoxelRangeFilter.d.ts +2 -1
- package/layers/voxel/VoxelSlice.d.ts +2 -1
- package/layers/voxel/VoxelTransferFunctionStyle.d.ts +2 -1
- package/layers/voxel/VoxelUniqueValue.d.ts +2 -1
- package/linkChart/ChronologicalLayoutSettings.d.ts +2 -1
- package/linkChart/LayoutSettings.d.ts +2 -1
- package/linkChart/LinkChartProperties.d.ts +2 -1
- package/linkChart/NonspatialDataDisplay.d.ts +2 -1
- package/linkChart/OrganicLayoutSettings.d.ts +2 -1
- package/linkChart/RootedLayoutSettings.d.ts +2 -1
- package/networks/Network.d.ts +2 -1
- package/networks/support/Circuit.d.ts +2 -1
- package/networks/support/CircuitSection.d.ts +2 -1
- package/networks/support/NamedTraceConfiguration.d.ts +2 -1
- package/networks/support/Subcircuit.d.ts +2 -1
- package/networks/support/TraceConfiguration.d.ts +2 -1
- package/networks/support/UNTraceConfiguration.d.ts +2 -1
- package/package.json +5 -5
- package/parcelFabric/ParcelFabric.d.ts +2 -1
- package/popup/FeatureModel.d.ts +2 -1
- package/popup/FeaturesModel.d.ts +2 -1
- package/popup/FieldInfo.d.ts +2 -1
- package/popup/content/AttachmentsContent.d.ts +2 -1
- package/popup/content/RelationshipContent.d.ts +2 -1
- package/popup/content/UtilityNetworkAssociationsContent.d.ts +2 -1
- package/popup/support/AttachmentsOrderByInfo.d.ts +2 -1
- package/popup/support/FieldInfoFormat.d.ts +2 -1
- package/popup/support/UtilityNetworkAssociationType.d.ts +2 -1
- package/portal/Portal.d.ts +2 -1
- package/portal/PortalItem.d.ts +2 -1
- package/renderers/ClassBreaksRenderer.d.ts +2 -1
- package/renderers/DictionaryRenderer.d.ts +2 -1
- package/renderers/DotDensityRenderer.d.ts +2 -1
- package/renderers/FlowRenderer.d.ts +8 -6
- package/renderers/PieChartRenderer.d.ts +2 -1
- package/renderers/SimpleRenderer.d.ts +2 -1
- package/renderers/UniqueValueRenderer.d.ts +2 -1
- package/renderers/VectorFieldRenderer.d.ts +2 -1
- package/renderers/mixins/VisualVariablesMixin.d.ts +2 -1
- package/renderers/support/HeatmapLegendOptions.d.ts +2 -1
- package/renderers/support/OthersCategory.d.ts +2 -1
- package/renderers/support/RasterPresetRenderer.d.ts +2 -1
- package/renderers/support/RendererLegendOptions.d.ts +2 -1
- package/renderers/support/UniqueValue.d.ts +2 -1
- package/renderers/support/UniqueValueClass.d.ts +2 -1
- package/renderers/support/UniqueValueGroup.d.ts +2 -1
- package/renderers/visualVariables/support/VisualVariableLegendOptions.d.ts +2 -1
- package/rest/featureService/FeatureService.d.ts +2 -1
- package/rest/layerSources/DynamicDataLayer.d.ts +2 -1
- package/rest/layerSources/DynamicWorkspaceLayer.d.ts +2 -1
- package/rest/networks/support/TraceLocation.d.ts +2 -1
- package/rest/print.js +1 -1
- package/rest/support/AttributeBinsFeatureSet.d.ts +2 -1
- package/rest/support/AttributeBinsGrouping.d.ts +2 -1
- package/rest/support/AttributeBinsQuery.d.ts +2 -1
- package/rest/support/AutoIntervalBinParameters.d.ts +2 -1
- package/rest/support/BinParametersBase.d.ts +2 -1
- package/rest/support/CameraInfo.d.ts +2 -1
- package/rest/support/CameraInfoMixin.d.ts +2 -1
- package/rest/support/ClosestFacilityParameters.d.ts +2 -1
- package/rest/support/DataLayer.d.ts +2 -1
- package/rest/support/DateBinTimeInterval.d.ts +2 -1
- package/rest/support/DirectionLine.d.ts +2 -1
- package/rest/support/DirectionPoint.d.ts +2 -1
- package/rest/support/FindImagesParameters.d.ts +2 -1
- package/rest/support/FixedIntervalBinParameters.d.ts +2 -1
- package/rest/support/ImageBoundaryParameters.d.ts +2 -1
- package/rest/support/ImageGPSInfoParameters.d.ts +2 -1
- package/rest/support/ImageInspectionInfo.d.ts +2 -1
- package/rest/support/ImageToMapMultirayParameters.d.ts +2 -1
- package/rest/support/ImageToMapParameters.d.ts +2 -1
- package/rest/support/ImageUrlParameters.d.ts +2 -1
- package/rest/support/ImageVolumeParameters.d.ts +2 -1
- package/rest/support/LastMileDeliveryParameters.d.ts +2 -1
- package/rest/support/LocateSettingBase.d.ts +2 -1
- package/rest/support/LocateSettingSource.d.ts +2 -1
- package/rest/support/LocateSettings.d.ts +2 -1
- package/rest/support/LocateSettingsOverrides.d.ts +2 -1
- package/rest/support/MapToImageParameters.d.ts +2 -1
- package/rest/support/NetworkUrl.d.ts +2 -1
- package/rest/support/NormalizationBinParametersMixin.d.ts +2 -1
- package/rest/support/OutDistance.d.ts +2 -1
- package/rest/support/PointBarrier.d.ts +2 -1
- package/rest/support/PolygonBarrier.d.ts +2 -1
- package/rest/support/PolylineBarrier.d.ts +2 -1
- package/rest/support/RouteInfo.d.ts +2 -1
- package/rest/support/RouteParameters.d.ts +2 -1
- package/rest/support/ServiceAreaParameters.d.ts +2 -1
- package/rest/support/Stop.d.ts +2 -1
- package/rest/support/TravelMode.d.ts +2 -1
- package/support/LayersMixin.d.ts +2 -1
- package/support/TablesMixin.d.ts +2 -1
- package/support/actions/ActionBase.d.ts +2 -1
- package/symbols/LineStyleMarker3D.d.ts +2 -1
- package/symbols/patterns/LinePattern3D.d.ts +2 -1
- package/symbols/patterns/Pattern3D.d.ts +2 -1
- package/symbols/support/ElevationInfo.d.ts +2 -1
- package/symbols/support/OccludedVisibility.d.ts +2 -1
- package/symbols/support/Symbol3DEmissive.d.ts +2 -1
- package/symbols/support/Symbol3DMaterial.d.ts +2 -1
- package/symbols/support/Symbol3DTextBackground.d.ts +2 -1
- package/tables/elements/AttributeTableAttachmentElement.d.ts +2 -1
- package/tables/elements/AttributeTableFieldElement.d.ts +2 -1
- package/tables/elements/AttributeTableGroupElement.d.ts +2 -1
- package/tables/elements/AttributeTableRelationshipElement.d.ts +2 -1
- package/tables/support/FieldOrder.d.ts +2 -1
- package/time/TimeInterval.d.ts +2 -1
- package/versionManagement/VersionManagementService.d.ts +2 -1
- package/versionManagement/VersioningState.d.ts +2 -1
- package/views/2d/engine/imagery/RasterVFDisplayObject.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/dotDensity/DotDensityResources.js +1 -1
- package/views/2d/interactive/editingTools/ControlPointsTransformTool.js +1 -1
- package/views/2d/interactive/editingTools/TransformTool.js +1 -1
- package/views/2d/interactive/editingTools/manipulations/DragManipulation.js +1 -1
- package/views/2d/interactive/editingTools/manipulations/RotateManipulation.js +1 -1
- package/views/2d/interactive/editingTools/manipulations/ScaleManipulation.js +1 -1
- package/views/2d/interactive/editingTools/manipulations/utils.js +1 -1
- package/views/2d/layers/LayerView2D.js +1 -1
- package/views/3d/environment/SunLighting.d.ts +2 -1
- package/views/3d/environment/VirtualLighting.d.ts +2 -1
- package/views/3d/layers/ImageryLayerView3D.js +1 -1
- package/views/3d/layers/i3s/I3SViewportQueries.js +1 -1
- package/views/3d/webgl-engine/core/shaderLibrary/attributes/VerticalOffset.glsl.js +1 -1
- package/views/3d/webgl-engine/core/shaderLibrary/hud/HUD.glsl.js +1 -1
- package/views/3d/webgl-engine/core/shaderLibrary/shading/WaterColor.glsl.js +3 -1
- package/views/3d/webgl-engine/core/shaderLibrary/util/CloudsParallaxShading.glsl.js +14 -13
- package/views/3d/webgl-engine/effects/atmosphere/ChapmanApproximation.glsl.js +14 -4
- package/views/3d/webgl-engine/effects/atmosphere/ChapmanAtmosphere.glsl.js +1 -1
- package/views/3d/webgl-engine/effects/atmosphere/ChapmanAtmosphere.js +1 -1
- package/views/3d/webgl-engine/effects/atmosphere/ChapmanAtmosphereTechnique.js +1 -1
- package/views/3d/webgl-engine/effects/atmosphere/RealisticAtmosphereConfiguration.js +2 -0
- package/views/3d/webgl-engine/effects/clouds/CloudsParameters.js +1 -1
- package/views/3d/webgl-engine/effects/clouds/CloudsPresets.js +1 -1
- package/views/3d/webgl-engine/effects/glow/applyEmissiveGlow.glsl.js +2 -2
- package/views/3d/webgl-engine/lib/BindParameters.js +1 -1
- package/views/3d/webgl-engine/lib/EmissionComposite.js +1 -1
- package/views/3d/webgl-engine/lib/EmissionFader.js +2 -0
- package/views/3d/webgl-engine/lib/Renderer.js +1 -1
- package/views/3d/webgl-engine/lib/TriangleIntersectionData.js +1 -1
- package/views/3d/webgl-engine/lib/edgeRendering/EdgeView.js +1 -1
- package/views/3d/webgl-engine/materials/renderers/IndexLayout.js +1 -1
- package/views/3d/webgl-engine/parts/RenderView.js +1 -1
- package/views/3d/webgl-engine/shaders/AtmosphereCompositing.glsl.js +1 -1
- package/views/3d/webgl-engine/shaders/AtmosphereCompositingTechnique.js +1 -1
- package/views/3d/webgl-engine/shaders/floatBlendScale.glsl.js +1 -1
- package/views/BreakpointsOwner.d.ts +2 -1
- package/views/DOMContainer.d.ts +2 -1
- package/views/PopupView.d.ts +2 -1
- package/views/SceneView.d.ts +2 -1
- package/views/Theme.d.ts +2 -1
- package/views/VideoView.d.ts +2 -1
- package/views/View.d.ts +2 -1
- package/views/View2D.d.ts +2 -1
- package/views/Viewport2DMixin.d.ts +2 -1
- package/views/analysis/AnalysisView.d.ts +2 -1
- package/views/draw/DrawAction.d.ts +2 -1
- package/views/interactive/GraphicManipulator.d.ts +4 -0
- package/views/interactive/GraphicManipulator.js +1 -1
- package/views/interactive/options/SnappingOptions.d.ts +2 -1
- package/views/layers/FeatureLikeLayerView.d.ts +0 -32
- package/views/layers/FeatureLikeLayerView.js +1 -1
- package/views/layers/GraphicsLayerView.d.ts +0 -32
- package/views/layers/GraphicsLayerView.js +1 -1
- package/views/layers/ImageryLayerView.d.ts +1 -62
- package/views/layers/LayerView.d.ts +2 -1
- package/views/layers/LayerView.js +1 -1
- package/views/layers/PointCloudLayerView.d.ts +2 -1
- package/views/ui/UI.d.ts +1 -12
- package/views/webgl/Program.js +2 -2
- package/webdoc/GeotriggersInfo.d.ts +2 -1
- package/webdoc/IPSInfo.d.ts +2 -1
- package/webdoc/geotriggersInfo/DeviceLocationFeed.d.ts +2 -1
- package/webdoc/geotriggersInfo/ExpressionInfo.d.ts +2 -1
- package/webdoc/geotriggersInfo/FeatureFenceParameters.d.ts +2 -1
- package/webdoc/geotriggersInfo/FeatureFilter.d.ts +2 -1
- package/webdoc/geotriggersInfo/FeatureLayerSource.d.ts +2 -1
- package/webdoc/geotriggersInfo/Geotrigger.d.ts +2 -1
- package/webdoc/geotriggersInfo/GeotriggerNotificationOptions.d.ts +2 -1
- package/webdoc/ips/AppleIPSProperties.d.ts +2 -1
- package/webdoc/ips/Configuration.d.ts +2 -1
- package/webdoc/ips/GNSSProperties.d.ts +2 -1
- package/webdoc/ips/PathSnappingProperties.d.ts +2 -1
- package/webdoc/ips/PositioningService.d.ts +2 -1
- package/webdoc/ips/SmoothingProperties.d.ts +2 -1
- package/webdoc/support/SlideThumbnail.d.ts +2 -1
- package/webmap/Bookmark.d.ts +2 -1
- package/webmap/InitialViewProperties.d.ts +2 -1
- package/webscene/Glow.d.ts +2 -1
- package/webscene/InitialViewProperties.d.ts +2 -1
- package/webscene/Presentation.d.ts +2 -1
- package/webscene/Slide.d.ts +2 -1
- package/webscene/SlideLegendInfo.d.ts +2 -1
- package/webscene/spec-certification/spec.js +1 -1
- package/webscene/support/Description.d.ts +2 -1
- package/webscene/support/FeatureReference.d.ts +2 -1
- package/webscene/support/FeatureReferenceId.d.ts +2 -1
- package/webscene/support/LayerReference.d.ts +2 -1
- package/webscene/support/SlideElements.d.ts +2 -1
- package/webscene/support/SlideEnvironment.d.ts +2 -1
- package/webscene/support/SlideGround.d.ts +2 -1
- package/webscene/support/SlidePopupInfo.d.ts +2 -1
- package/webscene/support/SlideVisibleLayer.d.ts +2 -1
- package/webscene/support/Title.d.ts +2 -1
- package/webscene/support/schemaValidator.js +1 -1
- package/webscene/version.js +1 -1
- package/widgets/BasemapGallery/support/BasemapGalleryItem.d.ts +2 -1
- package/widgets/BasemapGallery/support/PortalBasemapsSource.d.ts +2 -1
- package/widgets/BasemapLayerList.d.ts +2 -1
- package/widgets/Bookmarks/BookmarksViewModel.d.ts +2 -1
- package/widgets/Bookmarks.d.ts +2 -1
- package/widgets/CatalogLayerList.d.ts +2 -1
- package/widgets/Compass/CompassViewModel.d.ts +2 -1
- package/widgets/CoordinateConversion/CoordinateConversionViewModel.d.ts +2 -1
- package/widgets/Directions/DirectionsViewModel.d.ts +2 -1
- package/widgets/Feature/FeatureViewModel.d.ts +2 -1
- package/widgets/FeatureForm/FeatureFormViewModel.d.ts +2 -1
- package/widgets/FeatureForm/UtilityNetworkAssociationInput.d.ts +2 -1
- package/widgets/FeatureTable/support/ColumnTemplate.d.ts +2 -1
- package/widgets/FeatureTable/support/ColumnTemplateBase.d.ts +2 -1
- package/widgets/FeatureTable/support/EditableColumnTemplateMixin.d.ts +2 -1
- package/widgets/FeatureTable/support/FieldColumnTemplate.d.ts +2 -1
- package/widgets/FeatureTable/support/TableTemplate.d.ts +2 -1
- package/widgets/FeatureTemplates/TemplateItemGroup.d.ts +2 -1
- package/widgets/Features/FeaturesViewModel.d.ts +2 -1
- package/widgets/FloorFilter/FloorFilterViewModel.d.ts +2 -1
- package/widgets/Home/HomeViewModel.d.ts +2 -1
- package/widgets/LayerList/ListItem.d.ts +2 -1
- package/widgets/LayerList/ListItemPanel.d.ts +2 -1
- package/widgets/LayerList.d.ts +2 -1
- package/widgets/OrientedImageryViewer/OrientedImageryViewerViewModel.d.ts +2 -1
- package/widgets/Print/PrintViewModel.d.ts +2 -1
- package/widgets/Search/SearchSource.d.ts +2 -1
- package/widgets/Search/SearchViewModel.d.ts +2 -1
- package/widgets/TableList/ListItem.d.ts +2 -1
- package/widgets/TableList/ListItemPanel.d.ts +2 -1
- package/widgets/TableList.d.ts +2 -1
- package/widgets/Widget.d.ts +2 -1
- package/widgets/support/GeolocationPositioning.d.ts +2 -1
- package/widgets/support/GoTo.d.ts +2 -1
- package/widgets/types.d.ts +0 -21
- package/assets/esri/widgets/Attribution/t9n/messages.ar.json +0 -1
- package/assets/esri/widgets/Attribution/t9n/messages.bg.json +0 -1
- package/assets/esri/widgets/Attribution/t9n/messages.bs.json +0 -1
- package/assets/esri/widgets/Attribution/t9n/messages.ca.json +0 -1
- package/assets/esri/widgets/Attribution/t9n/messages.cs.json +0 -1
- package/assets/esri/widgets/Attribution/t9n/messages.da.json +0 -1
- package/assets/esri/widgets/Attribution/t9n/messages.de.json +0 -1
- package/assets/esri/widgets/Attribution/t9n/messages.el.json +0 -1
- package/assets/esri/widgets/Attribution/t9n/messages.en.json +0 -1
- package/assets/esri/widgets/Attribution/t9n/messages.es.json +0 -1
- package/assets/esri/widgets/Attribution/t9n/messages.et.json +0 -1
- package/assets/esri/widgets/Attribution/t9n/messages.fi.json +0 -1
- package/assets/esri/widgets/Attribution/t9n/messages.fr.json +0 -1
- package/assets/esri/widgets/Attribution/t9n/messages.he.json +0 -1
- package/assets/esri/widgets/Attribution/t9n/messages.hr.json +0 -1
- package/assets/esri/widgets/Attribution/t9n/messages.hu.json +0 -1
- package/assets/esri/widgets/Attribution/t9n/messages.id.json +0 -1
- package/assets/esri/widgets/Attribution/t9n/messages.it.json +0 -1
- package/assets/esri/widgets/Attribution/t9n/messages.ja.json +0 -1
- package/assets/esri/widgets/Attribution/t9n/messages.ko.json +0 -1
- package/assets/esri/widgets/Attribution/t9n/messages.lt.json +0 -1
- package/assets/esri/widgets/Attribution/t9n/messages.lv.json +0 -1
- package/assets/esri/widgets/Attribution/t9n/messages.nl.json +0 -1
- package/assets/esri/widgets/Attribution/t9n/messages.no.json +0 -1
- package/assets/esri/widgets/Attribution/t9n/messages.pl.json +0 -1
- package/assets/esri/widgets/Attribution/t9n/messages.pt-BR.json +0 -1
- package/assets/esri/widgets/Attribution/t9n/messages.pt-PT.json +0 -1
- package/assets/esri/widgets/Attribution/t9n/messages.ro.json +0 -1
- package/assets/esri/widgets/Attribution/t9n/messages.ru.json +0 -1
- package/assets/esri/widgets/Attribution/t9n/messages.sk.json +0 -1
- package/assets/esri/widgets/Attribution/t9n/messages.sl.json +0 -1
- package/assets/esri/widgets/Attribution/t9n/messages.sr.json +0 -1
- package/assets/esri/widgets/Attribution/t9n/messages.sv.json +0 -1
- package/assets/esri/widgets/Attribution/t9n/messages.th.json +0 -1
- package/assets/esri/widgets/Attribution/t9n/messages.tr.json +0 -1
- package/assets/esri/widgets/Attribution/t9n/messages.uk.json +0 -1
- package/assets/esri/widgets/Attribution/t9n/messages.vi.json +0 -1
- package/assets/esri/widgets/Attribution/t9n/messages.zh-CN.json +0 -1
- package/assets/esri/widgets/Attribution/t9n/messages.zh-HK.json +0 -1
- package/assets/esri/widgets/Attribution/t9n/messages.zh-TW.json +0 -1
- package/chunks/CloudsComposition.glsl.js +0 -3
- package/popup/content.d.ts +0 -192
- package/popup/content.js +0 -2
- package/portal/schemas/buildingSceneLayerItem.js +0 -2
- package/portal/schemas/gaussianSplatLayerItem.js +0 -2
- package/portal/schemas/integratedMesh3DTilesLayerItem.js +0 -2
- package/portal/schemas/integratedMeshLayerItem.js +0 -2
- package/portal/schemas/pointCloudLayerItem.js +0 -2
- package/portal/schemas/sceneLayerItem.js +0 -2
- package/portal/schemas/webScene.js +0 -2
- package/views/3d/webgl-engine/effects/clouds/CloudsComposition.glsl.js +0 -2
- package/views/3d/webgl-engine/effects/clouds/CloudsComposition.js +0 -2
- package/views/3d/webgl-engine/effects/clouds/CloudsCompositionTechnique.js +0 -2
- package/widgets/Attribution/AttributionViewModel.d.ts +0 -41
- package/widgets/Attribution/AttributionViewModel.js +0 -2
- package/widgets/Attribution.d.ts +0 -105
- package/widgets/Attribution.js +0 -2
package/popup/content.d.ts
DELETED
|
@@ -1,192 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* A convenience module for importing [Content](https://developers.arcgis.com/javascript/latest/references/core/popup/content/Content/) classes when developing
|
|
3
|
-
* with [TypeScript](https://developers.arcgis.com/javascript/latest/get-started/#typescript).
|
|
4
|
-
* For example, rather than importing content elements one at a time like this:
|
|
5
|
-
*
|
|
6
|
-
* ```js
|
|
7
|
-
* import TextContent from "@arcgis/core/popup/content/TextContent.js";
|
|
8
|
-
* import MediaContent from "@arcgis/core/popup/content/MediaContent.js";
|
|
9
|
-
* import FieldsContent from "@arcgis/core/popup/content/FieldsContent.js";
|
|
10
|
-
* import AttachmentsContent from "@arcgis/core/popup/content/AttachmentsContent.js";
|
|
11
|
-
* import CustomContent from "@arcgis/core/popup/content/CustomContent.js";
|
|
12
|
-
* import ExpressionContent from "@arcgis/core/popup/content/ExpressionContent.js";
|
|
13
|
-
* import RelationshipContent from "@arcgis/core/popup/content/RelationshipContent.js";
|
|
14
|
-
* ```
|
|
15
|
-
*
|
|
16
|
-
* You can use this module to import them on a single line:
|
|
17
|
-
*
|
|
18
|
-
* ```js
|
|
19
|
-
* import { TextContent, MediaContent, FieldsContent, AttachmentsContent, CustomContent, ExpressionContent, RelationshipContent } from "@arcgis/core/popup/content.js";
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* This module also allows you to implement [type guards](https://basarat.gitbook.io/typescript/type-system/typeguard)
|
|
23
|
-
* on the content elements, making your code smarter.
|
|
24
|
-
*
|
|
25
|
-
* ```js
|
|
26
|
-
* import { Content } from "@arcgis/core/popup/content.js";
|
|
27
|
-
*
|
|
28
|
-
* function logContentElement(content: Content): void {
|
|
29
|
-
* if (content.type === "media") {
|
|
30
|
-
* console.log("Content type is media");
|
|
31
|
-
* }
|
|
32
|
-
* else {
|
|
33
|
-
* // The compiler knows the content element must be `text | fields | media | attachment | custom`
|
|
34
|
-
* console.log("The value is not a valid popup content element.")
|
|
35
|
-
* }
|
|
36
|
-
* }
|
|
37
|
-
* ```
|
|
38
|
-
*
|
|
39
|
-
* @deprecated at 5.2. Use individual content imports instead.
|
|
40
|
-
* @since 4.11
|
|
41
|
-
* @see [PopupTemplate](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/)
|
|
42
|
-
* @see [TextContent](https://developers.arcgis.com/javascript/latest/references/core/popup/content/TextContent/)
|
|
43
|
-
* @see [MediaContent](https://developers.arcgis.com/javascript/latest/references/core/popup/content/MediaContent/)
|
|
44
|
-
* @see [FieldsContent](https://developers.arcgis.com/javascript/latest/references/core/popup/content/FieldsContent/)
|
|
45
|
-
* @see [AttachmentsContent](https://developers.arcgis.com/javascript/latest/references/core/popup/content/AttachmentsContent/)
|
|
46
|
-
* @see [CustomContent](https://developers.arcgis.com/javascript/latest/references/core/popup/content/CustomContent/)
|
|
47
|
-
* @see [ExpressionContent](https://developers.arcgis.com/javascript/latest/references/core/popup/content/ExpressionContent/)
|
|
48
|
-
* @see [RelationshipContent](https://developers.arcgis.com/javascript/latest/references/core/popup/content/RelationshipContent/)
|
|
49
|
-
*/
|
|
50
|
-
import type AttachmentsContentClass from "./content/AttachmentsContent.js";
|
|
51
|
-
import type CustomContentClass from "./content/CustomContent.js";
|
|
52
|
-
import type ExpressionContentClass from "./content/ExpressionContent.js";
|
|
53
|
-
import type FieldsContentClass from "./content/FieldsContent.js";
|
|
54
|
-
import type MediaContentClass from "./content/MediaContent.js";
|
|
55
|
-
import type RelationshipContentClass from "./content/RelationshipContent.js";
|
|
56
|
-
import type TextContentClass from "./content/TextContent.js";
|
|
57
|
-
import type UtilityNetworkAssociationsContentClass from "./content/UtilityNetworkAssociationsContent.js";
|
|
58
|
-
|
|
59
|
-
/**
|
|
60
|
-
* AttachmentsContent represents an attachment element associated with a
|
|
61
|
-
* feature.
|
|
62
|
-
*
|
|
63
|
-
* @deprecated at 5.2. Import [AttachmentsContent](https://developers.arcgis.com/javascript/latest/references/core/popup/content/AttachmentsContent/) directly instead.
|
|
64
|
-
*/
|
|
65
|
-
export type AttachmentsContent = AttachmentsContentClass;
|
|
66
|
-
|
|
67
|
-
/**
|
|
68
|
-
* AttachmentsContent represents an attachment element associated with a
|
|
69
|
-
* feature.
|
|
70
|
-
*
|
|
71
|
-
* @deprecated at 5.2. Import [AttachmentsContent](https://developers.arcgis.com/javascript/latest/references/core/popup/content/AttachmentsContent/) directly instead.
|
|
72
|
-
*/
|
|
73
|
-
export const AttachmentsContent: typeof AttachmentsContentClass;
|
|
74
|
-
|
|
75
|
-
/**
|
|
76
|
-
* CustomContent represents a custom content element associated with a
|
|
77
|
-
* feature.
|
|
78
|
-
*
|
|
79
|
-
* @deprecated at 5.2. Import [CustomContent](https://developers.arcgis.com/javascript/latest/references/core/popup/content/CustomContent/) directly instead.
|
|
80
|
-
*/
|
|
81
|
-
export type CustomContent = CustomContentClass;
|
|
82
|
-
|
|
83
|
-
/**
|
|
84
|
-
* CustomContent represents a custom content element associated with a
|
|
85
|
-
* feature.
|
|
86
|
-
*
|
|
87
|
-
* @deprecated at 5.2. Import [CustomContent](https://developers.arcgis.com/javascript/latest/references/core/popup/content/CustomContent/) directly instead.
|
|
88
|
-
*/
|
|
89
|
-
export const CustomContent: typeof CustomContentClass;
|
|
90
|
-
|
|
91
|
-
/**
|
|
92
|
-
* ExpressionContent represents an expression element associated with a
|
|
93
|
-
* feature.
|
|
94
|
-
*
|
|
95
|
-
* @deprecated at 5.2. Import [ExpressionContent](https://developers.arcgis.com/javascript/latest/references/core/popup/content/ExpressionContent/) directly instead.
|
|
96
|
-
*/
|
|
97
|
-
export type ExpressionContent = ExpressionContentClass;
|
|
98
|
-
|
|
99
|
-
/**
|
|
100
|
-
* ExpressionContent represents an expression element associated with a
|
|
101
|
-
* feature.
|
|
102
|
-
*
|
|
103
|
-
* @deprecated at 5.2. Import [ExpressionContent](https://developers.arcgis.com/javascript/latest/references/core/popup/content/ExpressionContent/) directly instead.
|
|
104
|
-
*/
|
|
105
|
-
export const ExpressionContent: typeof ExpressionContentClass;
|
|
106
|
-
|
|
107
|
-
/**
|
|
108
|
-
* FieldsContent represents the [FieldInfo](https://developers.arcgis.com/javascript/latest/references/core/popup/FieldInfo/) associated with a
|
|
109
|
-
* feature.
|
|
110
|
-
*
|
|
111
|
-
* @deprecated at 5.2. Import [FieldsContent](https://developers.arcgis.com/javascript/latest/references/core/popup/content/FieldsContent/) directly instead.
|
|
112
|
-
*/
|
|
113
|
-
export type FieldsContent = FieldsContentClass;
|
|
114
|
-
|
|
115
|
-
/**
|
|
116
|
-
* FieldsContent represents the [FieldInfo](https://developers.arcgis.com/javascript/latest/references/core/popup/FieldInfo/) associated with a
|
|
117
|
-
* feature.
|
|
118
|
-
*
|
|
119
|
-
* @deprecated at 5.2. Import [FieldsContent](https://developers.arcgis.com/javascript/latest/references/core/popup/content/FieldsContent/) directly instead.
|
|
120
|
-
*/
|
|
121
|
-
export const FieldsContent: typeof FieldsContentClass;
|
|
122
|
-
|
|
123
|
-
/**
|
|
124
|
-
* MediaContent contains an individual or array of chart and/or image media elements
|
|
125
|
-
* to display within a popup's content.
|
|
126
|
-
*
|
|
127
|
-
* @deprecated at 5.2. Import [MediaContent](https://developers.arcgis.com/javascript/latest/references/core/popup/content/MediaContent/) directly instead.
|
|
128
|
-
*/
|
|
129
|
-
export type MediaContent = MediaContentClass;
|
|
130
|
-
|
|
131
|
-
/**
|
|
132
|
-
* MediaContent contains an individual or array of chart and/or image media elements
|
|
133
|
-
* to display within a popup's content.
|
|
134
|
-
*
|
|
135
|
-
* @deprecated at 5.2. Import [MediaContent](https://developers.arcgis.com/javascript/latest/references/core/popup/content/MediaContent/) directly instead.
|
|
136
|
-
*/
|
|
137
|
-
export const MediaContent: typeof MediaContentClass;
|
|
138
|
-
|
|
139
|
-
/**
|
|
140
|
-
* RelationshipContent represents a relationship element associated with a
|
|
141
|
-
* feature.
|
|
142
|
-
*
|
|
143
|
-
* @deprecated at 5.2. Import [RelationshipContent](https://developers.arcgis.com/javascript/latest/references/core/popup/content/RelationshipContent/) directly instead.
|
|
144
|
-
*/
|
|
145
|
-
export type RelationshipContent = RelationshipContentClass;
|
|
146
|
-
|
|
147
|
-
/**
|
|
148
|
-
* RelationshipContent represents a relationship element associated with a
|
|
149
|
-
* feature.
|
|
150
|
-
*
|
|
151
|
-
* @deprecated at 5.2. Import [RelationshipContent](https://developers.arcgis.com/javascript/latest/references/core/popup/content/RelationshipContent/) directly instead.
|
|
152
|
-
*/
|
|
153
|
-
export const RelationshipContent: typeof RelationshipContentClass;
|
|
154
|
-
|
|
155
|
-
/**
|
|
156
|
-
* TextContent defines descriptive text as an element within the [PopupTemplate's](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/)
|
|
157
|
-
* content.
|
|
158
|
-
*
|
|
159
|
-
* @deprecated at 5.2. Import [TextContent](https://developers.arcgis.com/javascript/latest/references/core/popup/content/TextContent/) directly instead.
|
|
160
|
-
*/
|
|
161
|
-
export type TextContent = TextContentClass;
|
|
162
|
-
|
|
163
|
-
/**
|
|
164
|
-
* TextContent defines descriptive text as an element within the [PopupTemplate's](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/)
|
|
165
|
-
* content.
|
|
166
|
-
*
|
|
167
|
-
* @deprecated at 5.2. Import [TextContent](https://developers.arcgis.com/javascript/latest/references/core/popup/content/TextContent/) directly instead.
|
|
168
|
-
*/
|
|
169
|
-
export const TextContent: typeof TextContentClass;
|
|
170
|
-
|
|
171
|
-
/**
|
|
172
|
-
* UtilityNetworkAssociationsContent represents an utility network associations element associated with a
|
|
173
|
-
* feature.
|
|
174
|
-
*
|
|
175
|
-
* @deprecated at 5.2. Import [UtilityNetworkAssociationsContent](https://developers.arcgis.com/javascript/latest/references/core/popup/content/UtilityNetworkAssociationsContent/) directly instead.
|
|
176
|
-
*/
|
|
177
|
-
export type UtilityNetworkAssociationsContent = UtilityNetworkAssociationsContentClass;
|
|
178
|
-
|
|
179
|
-
/**
|
|
180
|
-
* UtilityNetworkAssociationsContent represents an utility network associations element associated with a
|
|
181
|
-
* feature.
|
|
182
|
-
*
|
|
183
|
-
* @deprecated at 5.2. Import [UtilityNetworkAssociationsContent](https://developers.arcgis.com/javascript/latest/references/core/popup/content/UtilityNetworkAssociationsContent/) directly instead.
|
|
184
|
-
*/
|
|
185
|
-
export const UtilityNetworkAssociationsContent: typeof UtilityNetworkAssociationsContentClass;
|
|
186
|
-
|
|
187
|
-
/**
|
|
188
|
-
* Popup content element types.
|
|
189
|
-
*
|
|
190
|
-
* @deprecated at 5.2. Use individual content imports instead.
|
|
191
|
-
*/
|
|
192
|
-
export type Content = AttachmentsContent | FieldsContent | MediaContent | TextContent | CustomContent | ExpressionContent | RelationshipContent | UtilityNetworkAssociationsContent;
|
package/popup/content.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import{deprecatedModule as e}from"../core/deprecate.js";import t from"../core/Logger.js";import n from"./content/AttachmentsContent.js";import r from"./content/Content.js";import i from"./content/CustomContent.js";import a from"./content/ExpressionContent.js";import o from"./content/FieldsContent.js";import s from"./content/MediaContent.js";import c from"./content/RelationshipContent.js";import l from"./content/TextContent.js";import u from"./content/UtilityNetworkAssociationsContent.js";e(t.getLogger(`esri.popup.content`),`esri.popup.content`,{replacement:`Individual content module imports`,version:`5.2`,warnOnce:!0});const d=n,f=r,p=i,m=a,h=o,g=s,_=c,v=l,y=u;function b(e){return e instanceof f}export{d as AttachmentsContent,f as BaseContent,p as CustomContent,m as ExpressionContent,h as FieldsContent,g as MediaContent,_ as RelationshipContent,v as TextContent,y as UtilityNetworkAssociationsContent,b as isContent};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import{schema_definitions as e}from"./definitions.js";const t={title:`Building Scene Layer config on layer item`,type:`object`,properties:{layers:{type:`array`,items:{properties:{activeFilterId:{type:`string`,description:`specifies the id of the currently active filter`},customParameters:{$ref:`#/definitions/customParameters_schema.json`},filters:{type:`array`,description:`A list of filters available for this layer. Overrides filters defined on the service.`,items:{$ref:`#/definitions/buildingSceneLayer_filter_schema.json`},uniqueItems:!0},id:{type:`integer`,description:`ID of the service layer.`},layerDefinition:{type:`object`,description:`Additional properties that can define an elevation offset for the layer.`,allOf:[{$ref:`#/definitions/layerDefinition_schema.json`},{properties:{elevationInfo:{},maxScale:{},minScale:{}},additionalProperties:!1}]},listMode:{type:`string`,description:"To show or hide the sublayer in the layer list. If the layer has sublayers, selecting `hide-children` will hide them in the layer list.",enum:[`hide`,`hide-children`,`show`],default:`show`},opacity:{type:`number`,description:`The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency.`,minimum:0,maximum:1,default:1},showLegend:{type:`boolean`,description:"Boolean value indicating whether to display the layer in the legend. Default value is `true`.",default:!0},sublayers:{type:`array`,description:`An array of objects specifying overrides for building scene layer sublayers`,items:{$ref:`#/definitions/buildingSceneLayer_sublayer_schema.json`},uniqueItems:!0},visibility:{type:`boolean`,description:`Boolean property determining whether the layer is initially visible in the web scene`,default:!0},visibilityTimeExtent:{description:`Represents time extent that will control when a layer should be visible based on webscene's current time. Visibility time extent only affects the layer visibility and will not filter the data.`,$ref:`#/definitions/timeExtent_schema.json`}},additionalProperties:!1}}},additionalProperties:!1,$schema:`http://json-schema.org/draft-07/schema`,definitions:e};export{t as json};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import{schema_definitions as e}from"./definitions.js";const t={title:`Gaussian Splat Layer config on layer item`,type:`object`,properties:{customParameters:{$ref:`#/definitions/customParameters_schema.json`},layerDefinition:{type:`object`,description:`A layerDefinition object defining the attribute schema and drawing information for the layer.`,allOf:[{$ref:`#/definitions/layerDefinition_schema.json`},{properties:{elevationInfo:{},maxScale:{},minScale:{}},additionalProperties:!1}]},listMode:{type:`string`,description:`To show or hide layers in the layer list`,enum:[`hide`,`show`],default:`show`},visibility:{type:`boolean`,description:`Boolean property determining whether the layer is initially visible in the web scene.`,default:!0},visibilityTimeExtent:{description:`Represents time extent that will control when a layer should be visible based on webscene's current time. Visibility time extent only affects the layer visibility and will not filter the data.`,$ref:`#/definitions/timeExtent_schema.json`}},additionalProperties:!1,$schema:`http://json-schema.org/draft-07/schema`,definitions:e};export{t as json};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import{schema_definitions as e}from"./definitions.js";const t={title:`Integrated Mesh 3D Tiles Layer config on layer item`,type:`object`,properties:{customParameters:{$ref:`#/definitions/customParameters_schema.json`},layerDefinition:{type:`object`,description:`A layerDefinition object defining the attribute schema and drawing information for the layer.`,allOf:[{$ref:`#/definitions/layerDefinition_schema.json`},{properties:{elevationInfo:{},maxScale:{},minScale:{}},additionalProperties:!1}]},listMode:{type:`string`,description:`To show or hide layers in the layer list`,enum:[`hide`,`show`],default:`show`},modifications:{type:`string`,description:"URL to modifications json file, typically stored in `ITEM/resources`. Content of the file follows the $ref:[Modifications schema](modifications_schema.json)."},opacity:{type:`number`,description:`The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency.`,minimum:0,maximum:1,default:1},visibility:{type:`boolean`,description:`Boolean property determining whether the layer is initially visible in the web scene.`,default:!0},visibilityTimeExtent:{description:`Represents time extent that will control when a layer should be visible based on webscene's current time. Visibility time extent only affects the layer visibility and will not filter the data.`,$ref:`#/definitions/timeExtent_schema.json`}},additionalProperties:!1,$schema:`http://json-schema.org/draft-07/schema`,definitions:e};export{t as json};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import{schema_definitions as e}from"./definitions.js";const t={title:`Integrated Mesh Layer config on layer item`,type:`object`,properties:{layers:{type:`array`,items:{properties:{customParameters:{$ref:`#/definitions/customParameters_schema.json`},id:{type:`integer`,description:`ID of the service layer.`},layerDefinition:{type:`object`,description:`A layerDefinition object defining the attribute schema and drawing information for the layer.`,allOf:[{$ref:`#/definitions/layerDefinition_schema.json`},{properties:{elevationInfo:{},maxScale:{},minScale:{}},additionalProperties:!1}]},listMode:{type:`string`,description:`To show or hide layers in the layer list`,enum:[`hide`,`show`],default:`show`},modifications:{type:`string`,description:"URL to modifications json file, typically stored in `ITEM/resources`. Content of the file follows the $ref:[Modifications schema](modifications_schema.json)."},opacity:{type:`number`,description:`The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency.`,minimum:0,maximum:1,default:1},visibility:{type:`boolean`,description:`Boolean property determining whether the layer is initially visible in the web scene.`,default:!0},visibilityTimeExtent:{description:`Represents time extent that will control when a layer should be visible based on webscene's current time. Visibility time extent only affects the layer visibility and will not filter the data.`,$ref:`#/definitions/timeExtent_schema.json`}},additionalProperties:!1}}},additionalProperties:!1,$schema:`http://json-schema.org/draft-07/schema`,definitions:e};export{t as json};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import{schema_definitions as e}from"./definitions.js";const t={title:`PointCloud Layer config on layer item`,type:`object`,properties:{layers:{type:`array`,items:{properties:{customParameters:{$ref:`#/definitions/customParameters_schema.json`},disablePopup:{type:`boolean`,description:`disablePopups allows a client to ignore popups defined by the service item.`},id:{type:`integer`,description:`ID of the service layer.`},layerDefinition:{type:`object`,description:`A layerDefinition object defining the attribute schema and drawing information for the layer.`,allOf:[{$ref:`#/definitions/layerDefinition_schema.json`},{properties:{drawingInfo:{allOf:[{$ref:`#/definitions/drawingInfo_schema.json`},{properties:{renderer:{},transparency:{}},additionalProperties:!1}]},elevationInfo:{},filters:{},maxScale:{},minScale:{}},additionalProperties:!1}]},listMode:{type:`string`,description:`To show or hide the layer in the layer list`,enum:[`hide`,`show`],default:`show`},popupInfo:{description:`A popupInfo object defining the content of pop-up windows when you click a point.`,$ref:`#/definitions/popupInfo_schema.json`},showLegend:{type:`boolean`,description:"Boolean value indicating whether to display the layer in the legend. Default value is `true`.",default:!0},visibility:{type:`boolean`,description:`Boolean property determining whether the layer is initially visible`,default:!0},visibilityTimeExtent:{description:`Represents time extent that will control when a layer should be visible based on webscene's current time. Visibility time extent only affects the layer visibility and will not filter the data.`,$ref:`#/definitions/timeExtent_schema.json`}},additionalProperties:!1}}},additionalProperties:!1,$schema:`http://json-schema.org/draft-07/schema`,definitions:e};export{t as json};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import{schema_definitions as e}from"./definitions.js";const t={title:`Scene Layer config on layer item`,type:`object`,properties:{layers:{type:`array`,items:{properties:{attributeTableInfo:{type:`object`,description:"An `attributeTableInfo` object defining how the data will be presented in tabular format.",$ref:`#/definitions/attributeTableInfo_schema.json`},customParameters:{$ref:`#/definitions/customParameters_schema.json`},disablePopup:{type:`boolean`,description:`disablePopups allows a client to ignore popups defined by the service item.`},id:{type:`integer`,description:`ID of the service layer.`},layerDefinition:{type:`object`,description:`A layerDefinition object defining the attribute schema and drawing information for the layer.`,allOf:[{$ref:`#/definitions/layerDefinition_schema.json`},{properties:{definitionExpression:{},drawingInfo:{allOf:[{$ref:`#/definitions/drawingInfo_schema.json`},{properties:{labelingInfo:{},renderer:{},transparency:{}},additionalProperties:!1}]},elevationInfo:{},excludeObjectIds:{},featureReduction:{},floorInfo:{},maxScale:{},minScale:{},polygonFilter:{},rangeInfos:{},timeInfo:{}},additionalProperties:!1}]},listMode:{type:`string`,description:`To show or hide layers in the layer list`,enum:[`hide`,`show`],default:`show`},opacity:{type:`number`,description:`The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency.`,minimum:0,maximum:1,default:1},popupInfo:{description:`A popupInfo object defining the content of pop-up windows when you click or query a feature.`,$ref:`#/definitions/popupInfo_schema.json`},screenSizePerspective:{type:`boolean`,description:`Apply [perspective scaling](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#screenSizePerspectiveEnabled) to screen-size symbols.`,default:!0},showLabels:{type:`boolean`,description:`If the layer has a labelingInfo property then labels show on the scene only if the showLabels property it true.`,default:!1},showLegend:{type:`boolean`,description:"Boolean value indicating whether to display the layer in the legend. Default value is `true`.",default:!0},timeAnimation:{type:`boolean`,description:"Indicates whether to enable time animation if the layer supports it. Default value is `true`.",default:!0},visibility:{type:`boolean`,description:`Boolean property determining whether the layer is initially visible in the web scene`,default:!0},visibilityTimeExtent:{description:`Represents time extent that will control when a layer should be visible based on webscene's current time. Visibility time extent only affects the layer visibility and will not filter the data.`,$ref:`#/definitions/timeExtent_schema.json`}},additionalProperties:!1}}},additionalProperties:!1,$schema:`http://json-schema.org/draft-07/schema`,definitions:e};export{t as json};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import{schema_definitions as e}from"./definitions.js";const t={title:`Webscene`,type:`object`,description:`The web scene data lists the basemap, operational layers, and presentation slides to be used in the web scene. It also contains information about pop-up windows and layer styling overrides to be used in the web scene. A version property allows you to supply the version of the web scene JSON format being used.`,properties:{applicationProperties:{$ref:`#/definitions/applicationProperties_schema.json`},authoringApp:{type:`string`,description:`String value indicating the application which authored the webmap`},authoringAppVersion:{type:`string`,description:`String value indicating the authoring App's version number.`},baseMap:{description:`Basemaps give the web scene a geographic context.`,$ref:`#/definitions/baseMap_schema.json`},clippingArea:{$ref:`#/definitions/clippingArea_schema.json`},focusAreas:{$ref:`#/definitions/focusAreas_schema.json`},ground:{$ref:`#/definitions/ground_schema.json`},heightModelInfo:{description:"<em>Deprecated. Use `spatialReference` instead to determine the scene's vertical coordinate system.</em><br> An object that defines the characteristics of the vertical coordinate system used by the web scene.",$ref:`#/definitions/heightModelInfo_schema.json`},initialState:{$ref:`#/definitions/initialState_schema.json`},mapFloorInfo:{$ref:`#/definitions/mapFloorInfo_schema.json`},mapRangeInfo:{description:`Map Range Information`,$ref:`#/definitions/mapRangeInfo_schema.json`},operationalLayers:{type:`array`,description:`Operational layers contain business data which are used to make thematic scenes.`,items:{$ref:`#/definitions/operationalLayers_schema.json`},uniqueItems:!0},presentation:{$ref:`#/definitions/presentation_schema.json`},spatialReference:{description:`An object used to specify the spatial reference of the given geometry.`,$ref:`#/definitions/spatialReference_schema.json`},tables:{type:`array`,description:`An array of table objects.`,items:{$ref:`#/definitions/table_schema.json`}},timeZone:{$ref:`#/definitions/timeZone_schema.json`},transportationNetworks:{type:`array`,description:`Used to specify the transportation networks of the scene.`,items:{$ref:`#/definitions/transportationNetwork_schema.json`}},version:{$ref:`#/definitions/version_schema.json`},viewingMode:{type:`string`,enum:[`global`,`local`]},widgets:{description:`the widgets object contains widgets that should be exposed to the user.`,$ref:`#/definitions/widgets_schema.json`}},required:[`ground`,`operationalLayers`,`spatialReference`,`version`,`viewingMode`],additionalProperties:!1,$schema:`http://json-schema.org/draft-07/schema`,definitions:e};export{t as json};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import"../../core/shaderLibrary/shading/Gamma.glsl.js";import"../../core/shaderLibrary/shading/PiUtils.glsl.js";import"../../core/shaderLibrary/util/cameraUniforms.js";import"../../core/shaderLibrary/util/CloudsParallaxShading.glsl.js";import"../../core/shaderLibrary/util/ColorConversion.glsl.js";import"../../core/shaderModules/glsl.js";import"../../shaders/ScreenSpacePassAtmosphere.glsl.js";import"../../../../webgl/ShaderBuilder.js";export{b as build}from"../../../../../chunks/CloudsComposition.glsl.js";
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import{__decorate as e}from"tslib";import{disposeMaybe as t}from"../../../../../core/maybe.js";import{watch as n,initial as r}from"../../../../../core/reactiveUtils.js";import{subclass as i}from"../../../../../core/accessorSupport/decorators.js";import{OpaqueEnvironment as a}from"../OpaqueEnvironment.js";import{CloudsCompositionTechnique as o}from"./CloudsCompositionTechnique.js";import{createQuadVAO as s}from"../../lib/glUtil3D.js";import{ColorAttachment0 as c,PrimitiveType as l}from"../../../../webgl/enums.js";import{noParameters as u}from"../../../../webgl/NoParameters.js";let d=class extends a{initialize(){this.addHandles([n(()=>this.view.environmentView.weatherEnabled,e=>e?this._enable():this._disable(),r)])}destroy(){this._vao=t(this._vao)}render(){let e=this.input,t=this.bindParameters.clouds;if(!t.data)return e;let n=this.techniques.getCompiled(o);if(!n)return this.requestRender(1),e;let r=this.renderingContext;this._vao??=s(r);let i=r.bindTechnique(n,this.bindParameters,u);return r.setDrawBuffers([c]),r.bindVAO(this._vao),i.assertCompatibleVertexAttributeLocations(this._vao),r.drawArrays(l.TRIANGLE_STRIP,0,4),t.isFading&&this.requestRender(2),e}};d=e([i(`esri.views.3d.webgl-engine.effects.clouds.CloudsComposition`)],d);export{d as CloudsComposition};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import{__decorate as e}from"tslib";import{subclass as t}from"../../../../../core/accessorSupport/decorators.js";import{ReloadableShader as n}from"../../core/shaderTechnique/ReloadableShader.js";import{ShaderTechnique as r}from"../../core/shaderTechnique/ShaderTechnique.js";import{C as i}from"../../../../../chunks/CloudsComposition.glsl.js";import{PrimitiveType as a}from"../../../../webgl/enums.js";import{makePipelineState as o,defaultColorWrite as s,separateBlendingParams as c}from"../../../../webgl/renderState.js";let l=class extends r{constructor(){super(...arguments),this.primitiveType=a.TRIANGLE_STRIP,this.shader=new n(i,()=>import(`./CloudsComposition.glsl.js`))}initializePipeline(){return o({blending:c(1,0,770,1),depthTest:{func:515},colorWrite:s})}};l=e([t(`esri.views.3d.webgl-engine.effects.clouds.CloudsCompositionTechnique`)],l);export{l as CloudsCompositionTechnique};
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import type Accessor from "../../core/Accessor.js";
|
|
2
|
-
import type Collection from "../../core/Collection.js";
|
|
3
|
-
import type { MapViewOrSceneView } from "../../views/MapViewOrSceneView.js";
|
|
4
|
-
import type { AttributionItem } from "../types.js";
|
|
5
|
-
|
|
6
|
-
export interface AttributionViewModelProperties extends Partial<Pick<AttributionViewModel, "view">> {}
|
|
7
|
-
|
|
8
|
-
export type AttributionViewModelState = "disabled" | "ready" | "loading";
|
|
9
|
-
|
|
10
|
-
/**
|
|
11
|
-
* Provides the logic for the [Attribution](https://developers.arcgis.com/javascript/latest/references/core/widgets/Attribution/) widget.
|
|
12
|
-
* Displays attribution text for the layers in a map.
|
|
13
|
-
* The text displayed for the layers is either a list of data providers or
|
|
14
|
-
* sources as defined in the layer's custom attribution data, or the copyright text.
|
|
15
|
-
* The attribution is automatically updated based on layer visibility and map extent.
|
|
16
|
-
*
|
|
17
|
-
* > [!WARNING]
|
|
18
|
-
* >
|
|
19
|
-
* > Esri requires that when you use an ArcGIS Online basemap in your app, the map must include Esri attribution and you must be licensed to use the content.
|
|
20
|
-
* > For detailed guidelines on working with attribution, please visit the official [attribution in your app](https://developers.arcgis.com/terms/attribution/) documentation.
|
|
21
|
-
* > For information, see the [Terms of Use documentation](https://developers.arcgis.com/documentation/terms-of-use/).
|
|
22
|
-
*
|
|
23
|
-
* @deprecated since version 5.0. Attribution is handled automatically by the [Map](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/) and [Scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/) components, with properties for extracting attribution items, hiding the attribution, as well as setting dark and light mode for the attribution.
|
|
24
|
-
* @see [Programming patterns: Widget viewModel pattern](https://developers.arcgis.com/javascript/latest/programming-patterns/#widget-viewmodel-pattern)
|
|
25
|
-
* @since 4.0
|
|
26
|
-
* @see [Attribution](https://developers.arcgis.com/javascript/latest/references/core/widgets/Attribution/) - Deprecated since 5.0. As of 5.0, attribution is handled automatically by the [Map](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/), [Scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/), and [Link Chart](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-link-chart/) components, with properties for extracting attribution items, hiding the attribution, as well as setting dark and light mode for the attribution. For information on widget deprecation, read about [Esri's move to web components](https://developers.arcgis.com/javascript/latest/components-transition-plan/).
|
|
27
|
-
* @see [Programming patterns: Widget viewModel pattern](https://developers.arcgis.com/javascript/latest/programming-patterns/#widget-viewmodel-pattern)
|
|
28
|
-
*/
|
|
29
|
-
export default class AttributionViewModel extends Accessor {
|
|
30
|
-
constructor(properties?: AttributionViewModelProperties);
|
|
31
|
-
/** A collection of [AttributionItem](https://developers.arcgis.com/javascript/latest/references/core/widgets/types/#AttributionItem)s. */
|
|
32
|
-
get items(): Collection<AttributionItem>;
|
|
33
|
-
/**
|
|
34
|
-
* The view model's state.
|
|
35
|
-
*
|
|
36
|
-
* @default "disabled"
|
|
37
|
-
*/
|
|
38
|
-
get state(): AttributionViewModelState;
|
|
39
|
-
/** The view from which the view model will operate. */
|
|
40
|
-
accessor view: MapViewOrSceneView | null | undefined;
|
|
41
|
-
}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import{__decorate as e}from"tslib";import t from"../../core/Accessor.js";import n from"../../core/Collection.js";import{deprecatedModule as r}from"../../core/deprecate.js";import i from"../../core/Logger.js";import{watch as a,when as o,on as s}from"../../core/reactiveUtils.js";import{property as c,subclass as l}from"../../core/accessorSupport/decorators.js";import{getLyr3DWasm as u}from"../../views/3d/layers/Lyr3DWasm.js";function d(e,t){return e.length!==t.length||e.some((e,n)=>e.text!==t[n].text)}function f(e,t,n){n&&t&&(e.some(e=>e.layerView===t&&e.text===n)||e.push({text:n,layerView:t}))}const p=Symbol(`attributions`);let m=class extends t{constructor(e){super(e),this._clear=()=>{this.removeHandles(p)},this.items=new n,this.view=null,this._allLayerViewsChange=()=>{this.removeHandles(p);let e=this.view?.allLayerViews,t=!1;if(e){for(let n of e)this.addHandles(a(()=>[n.attributionItems],()=>this._updateAttributionItems()),p),`type`in n&&n.type===`integrated-mesh-3dtiles`&&(t=!0,this.addHandles([a(()=>n.suspended,()=>this._updateAttributionItems()),n.on(`visible-geometry-changed`,()=>this._updateAttributionItems())],p));t&&this.addHandles(o(()=>this.view?.stationary===!0,()=>this._updateAttributionItems()),p)}this._updateAttributionItems()},r(i.getLogger(`esri.widgets.Attribution.AttributionViewModel`),`This ViewModel is deprecated. Use attributionVisible and attributionItems on arcgis-map, arcgis-scene, arcgis-link-chart, and View instead.`,{replacement:`attributionVisible and attributionItems on arcgis-map, arcgis-scene, arcgis-link-chart, and View`,warnOnce:!0}),this.addHandles([s(()=>this.view?.allLayerViews,`change`,this._allLayerViewsChange,{onListenerAdd:this._allLayerViewsChange,onListenerRemove:this._clear})])}destroy(){this.view=null,this.items.removeAll()}get state(){return this.view?.ready?this.view.allLayerViews.some(e=>e.attributionUpdating)?`loading`:`ready`:`disabled`}_updateAttributionItems(){let e=this.view,t=e?.allLayerViews,n=[],r=!1,i=null,a=null;if(!e||!t)this._clear();else{for(let e of t)e.suspended||(`type`in e&&e.type===`integrated-mesh-3dtiles`&&(a||=e,e.layer.hasGoogleUrl&&(r=!0,i=e)),f(n,e,e.attributionItems.slice().sort((e,t)=>t.score-e.score).map(e=>e.text).join(`, `)));if(a){let t=u(e);if(t){let e=t.getAttributionText();for(let t=e.length-1;t>-1;--t)n.unshift({text:e[t],layerView:a})}}r&&i&&n.unshift({text:`Google Maps`,layerView:i}),d(this.items,n)&&(this.items.removeAll(),this.items.addMany(n))}}};e([c({readOnly:!0,type:n})],m.prototype,`items`,void 0),e([c({readOnly:!0})],m.prototype,`state`,null),e([c()],m.prototype,`view`,void 0),m=e([l(`esri.widgets.Attribution.AttributionViewModel`)],m);const h=m;export{h as default};
|
package/widgets/Attribution.d.ts
DELETED
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
import type Widget from "./Widget.js";
|
|
2
|
-
import type AttributionViewModel from "./Attribution/AttributionViewModel.js";
|
|
3
|
-
import type { Icon } from "@esri/calcite-components/components/calcite-icon";
|
|
4
|
-
import type { MapViewOrSceneView } from "../views/MapViewOrSceneView.js";
|
|
5
|
-
import type { WidgetProperties } from "./Widget.js";
|
|
6
|
-
import type { AttributionViewModelProperties } from "./Attribution/AttributionViewModel.js";
|
|
7
|
-
|
|
8
|
-
export interface AttributionProperties extends WidgetProperties, Partial<Pick<Attribution, "itemDelimiter" | "view">> {
|
|
9
|
-
/**
|
|
10
|
-
* Icon which represents the widget. It is typically used when the widget is controlled by another
|
|
11
|
-
* one (e.g. in the Expand widget).
|
|
12
|
-
*
|
|
13
|
-
* @default "description"
|
|
14
|
-
* @since 4.27
|
|
15
|
-
* @see [Calcite Icon Search](https://developers.arcgis.com/calcite-design-system/icons/)
|
|
16
|
-
* @see [Calcite Icon Search](https://developers.arcgis.com/calcite-design-system/icons/)
|
|
17
|
-
*/
|
|
18
|
-
icon?: Icon["icon"] | null;
|
|
19
|
-
/**
|
|
20
|
-
* The widget's default label.
|
|
21
|
-
*
|
|
22
|
-
* @since 4.7
|
|
23
|
-
*/
|
|
24
|
-
label?: string | null;
|
|
25
|
-
/**
|
|
26
|
-
* The view model for this widget. This is a class that contains all the logic
|
|
27
|
-
* (properties and methods) that controls this widget's behavior. See the
|
|
28
|
-
* [AttributionViewModel](https://developers.arcgis.com/javascript/latest/references/core/widgets/Attribution/AttributionViewModel/) class to access
|
|
29
|
-
* all properties and methods on the widget.
|
|
30
|
-
*/
|
|
31
|
-
viewModel?: AttributionViewModelProperties;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
/**
|
|
35
|
-
* The Attribution widget displays attribution text for the layers in a map.
|
|
36
|
-
* The text displayed for the layers is either a list of data providers
|
|
37
|
-
* or sources as defined in the layer's custom attribution data, or the copyright text.
|
|
38
|
-
* This widget automatically updates based on layer visibility and map extent and
|
|
39
|
-
* displays a single line of attribution that can be expanded with a single click
|
|
40
|
-
* to view all data sources.
|
|
41
|
-
*
|
|
42
|
-
* The attribution text displayed depends on how the layers are added to the map. If the
|
|
43
|
-
* layer is added by:
|
|
44
|
-
* 1. Referencing a layer item in an ArcGIS portal, then the attribution text displayed comes from the
|
|
45
|
-
* [Credits (Attribution)](https://doc.arcgis.com/en/arcgis-online/manage-data/item-details.htm#ESRI_SECTION2_0937A3EF2DE34C279302D93B255EC31F)
|
|
46
|
-
* property of that portal item's details.
|
|
47
|
-
* 2. Referencing a service URL, then the attribution text displayed references the
|
|
48
|
-
* Copyright Text property of the service.
|
|
49
|
-
*
|
|
50
|
-
* An instance of the Attribution widget is available in every
|
|
51
|
-
* [MapView](https://developers.arcgis.com/javascript/latest/references/core/views/MapView/) and [SceneView](https://developers.arcgis.com/javascript/latest/references/core/views/SceneView/) by default.
|
|
52
|
-
* See [DefaultUI](https://developers.arcgis.com/javascript/latest/references/core/views/ui/DefaultUI/) for more details.
|
|
53
|
-
*
|
|
54
|
-
* 
|
|
55
|
-
*
|
|
56
|
-
* > [!WARNING]
|
|
57
|
-
* >
|
|
58
|
-
* > Esri requires that when you use an ArcGIS Online basemap in your app, the map must include Esri attribution and you must be licensed to use the content.
|
|
59
|
-
* > For detailed guidelines on working with attribution, please visit the official [attribution in your app](https://developers.arcgis.com/terms/attribution/) documentation.
|
|
60
|
-
* > For information, see the [Terms of Use documentation](https://developers.arcgis.com/documentation/terms-of-use/).
|
|
61
|
-
*
|
|
62
|
-
* @deprecated since version 5.0. As of 5.0, attribution is handled automatically by the [Map](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/), [Scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/), and [Link Chart](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-link-chart/) components, with properties for extracting attribution items, hiding the attribution, as well as setting dark and light mode for the attribution. For information on widget deprecation, read about [Esri's move to web components](https://developers.arcgis.com/javascript/latest/components-transition-plan/).
|
|
63
|
-
* @since 4.0
|
|
64
|
-
* @see [AttributionViewModel](https://developers.arcgis.com/javascript/latest/references/core/widgets/Attribution/AttributionViewModel/)
|
|
65
|
-
* @see [DefaultUI](https://developers.arcgis.com/javascript/latest/references/core/views/ui/DefaultUI/)
|
|
66
|
-
*/
|
|
67
|
-
export default class Attribution extends Widget {
|
|
68
|
-
constructor(properties?: AttributionProperties);
|
|
69
|
-
/** Full attribution text. */
|
|
70
|
-
get attributionText(): string;
|
|
71
|
-
/**
|
|
72
|
-
* Icon which represents the widget. It is typically used when the widget is controlled by another
|
|
73
|
-
* one (e.g. in the Expand widget).
|
|
74
|
-
*
|
|
75
|
-
* @default "description"
|
|
76
|
-
* @since 4.27
|
|
77
|
-
* @see [Calcite Icon Search](https://developers.arcgis.com/calcite-design-system/icons/)
|
|
78
|
-
* @see [Calcite Icon Search](https://developers.arcgis.com/calcite-design-system/icons/)
|
|
79
|
-
*/
|
|
80
|
-
get icon(): Icon["icon"];
|
|
81
|
-
set icon(value: Icon["icon"] | null | undefined);
|
|
82
|
-
/**
|
|
83
|
-
* Text used to split attribution by [layers](https://developers.arcgis.com/javascript/latest/references/core/layers/Layer/)
|
|
84
|
-
*
|
|
85
|
-
* @default " | "
|
|
86
|
-
*/
|
|
87
|
-
accessor itemDelimiter: string;
|
|
88
|
-
/**
|
|
89
|
-
* The widget's default label.
|
|
90
|
-
*
|
|
91
|
-
* @since 4.7
|
|
92
|
-
*/
|
|
93
|
-
get label(): string;
|
|
94
|
-
set label(value: string | null | undefined);
|
|
95
|
-
/** A reference to the [MapView](https://developers.arcgis.com/javascript/latest/references/core/views/MapView/) or [SceneView](https://developers.arcgis.com/javascript/latest/references/core/views/SceneView/). Set this to link the widget to a specific view. */
|
|
96
|
-
accessor view: MapViewOrSceneView | null | undefined;
|
|
97
|
-
/**
|
|
98
|
-
* The view model for this widget. This is a class that contains all the logic
|
|
99
|
-
* (properties and methods) that controls this widget's behavior. See the
|
|
100
|
-
* [AttributionViewModel](https://developers.arcgis.com/javascript/latest/references/core/widgets/Attribution/AttributionViewModel/) class to access
|
|
101
|
-
* all properties and methods on the widget.
|
|
102
|
-
*/
|
|
103
|
-
get viewModel(): AttributionViewModel;
|
|
104
|
-
set viewModel(value: AttributionViewModelProperties);
|
|
105
|
-
}
|
package/widgets/Attribution.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import{__decorate as e}from"tslib";import{deprecated as t}from"../core/deprecate.js";import has from"../core/has.js";import n from"../core/Logger.js";import{on as r}from"../core/reactiveUtils.js";import{property as i,subclass as a}from"../core/accessorSupport/decorators.js";import o from"./Widget.js";import s from"./Attribution/AttributionViewModel.js";import{globalCss as c}from"./support/globalCss.js";import{messageBundle as l,accessibleHandler as u,tsx as d}from"./support/widget.js";const f=`esri-attribution`,p={base:f,poweredBy:`${f}__powered-by`,sources:`${f}__sources`,open:`${f}--open`,sourcesOpen:`${f}__sources--open`,link:`${f}__link`};let m=class extends o{constructor(e){super(e),this._isOpen=!1,this._attributionTextOverflowed=!1,this._prevSourceNodeHeight=0,this._sourcesNode=null,this._overflowRequestAnimationFrame=null,this._resizeObserver=new ResizeObserver(e=>{e.forEach(({target:e})=>{this._scheduleOverflowCheck(e)})}),this._mutationObserver=new MutationObserver(e=>{let t=!1;for(let n of e)if(n.type===`childList`||n.type===`characterData`||n.type===`attributes`){t=!0;break}t&&this._sourcesNode&&this._scheduleOverflowCheck(this._sourcesNode)}),this.itemDelimiter=` | `,this.messages=null,this.viewModel=new s,has(`esri-deprecation-warnings`)&&t(n.getLogger(`esri.widgets.Attribution`),`This widget is deprecated. Use attributionVisible and attributionItems on arcgis-map, arcgis-scene, arcgis-link-chart, and View instead.`,{replacement:`attributionVisible and attributionItems on arcgis-map, arcgis-scene, arcgis-link-chart, and View`,warnOnce:!0})}initialize(){this.addHandles(r(()=>this.viewModel?.items,`change`,()=>this.scheduleRender()))}destroy(){this._resizeObserver?.disconnect(),this._mutationObserver?.disconnect(),this._overflowRequestAnimationFrame!=null&&(cancelAnimationFrame(this._overflowRequestAnimationFrame),this._overflowRequestAnimationFrame=null)}get _isInteractive(){return this._isOpen||this._attributionTextOverflowed}_scheduleOverflowCheck(e){this._overflowRequestAnimationFrame??=requestAnimationFrame(()=>{this._overflowRequestAnimationFrame=null,this._checkSourceTextOverflow(e)})}get attributionText(){return this.viewModel.items.reduce((e,t)=>(e.includes(t.text)||e.push(t.text),e),[]).join(this.itemDelimiter)}get icon(){return`description`}set icon(e){this._overrideIfSome(`icon`,e)}get label(){return this.messages?.widgetLabel??``}set label(e){this._overrideIfSome(`label`,e)}get view(){return this.viewModel.view}set view(e){this.viewModel.view=e}render(){let e={[p.open]:this._isOpen};return d(`div`,{bind:this,class:this.classes(p.base,c.widget,e),dir:`ltr`,onclick:this._toggleState,onkeydown:this._toggleState},this._renderSourcesNode(),this._renderPoweredBy())}_renderPoweredBy(){return d(`div`,{class:p.poweredBy},`Powered by`,` `,d(`a`,{class:p.link,href:`https://www.esri.com/`,rel:`noreferrer`,target:`_blank`},`Esri`))}_renderSourcesNode(){let e=this._isOpen,t=this._isInteractive,n=t?0:void 0,{attributionText:r}=this,i={[p.sourcesOpen]:e,[c.interactive]:t};return d(`div`,{afterCreate:this._afterSourcesNodeCreate,bind:this,class:this.classes(p.sources,i),innerHTML:r,tabIndex:n})}_afterSourcesNodeCreate(e){this._prevSourceNodeHeight=e.clientWidth,this._sourcesNode=e,this._resizeObserver.observe(e),this._mutationObserver.observe(e,{subtree:!0,childList:!0,characterData:!0,attributes:!0}),this._scheduleOverflowCheck(e)}_checkSourceTextOverflow(e){let t=!1,{clientHeight:n,clientWidth:r,scrollWidth:i}=e,a=i>r,o=this._attributionTextOverflowed!==a;if(this._attributionTextOverflowed=a,o&&(t=!0),this._isOpen){let e=n<this._prevSourceNodeHeight;this._prevSourceNodeHeight=n,e&&(this._isOpen=!1,t=!0)}t&&this.scheduleRender()}_toggleState(){this._isInteractive&&(this._isOpen=!this._isOpen)}};e([i()],m.prototype,`_isOpen`,void 0),e([i()],m.prototype,`_isInteractive`,null),e([i()],m.prototype,`_attributionTextOverflowed`,void 0),e([i()],m.prototype,`_prevSourceNodeHeight`,void 0),e([i({readOnly:!0})],m.prototype,`attributionText`,null),e([i()],m.prototype,`icon`,null),e([i()],m.prototype,`itemDelimiter`,void 0),e([i()],m.prototype,`label`,null),e([i(),l(`esri/widgets/Attribution/t9n/Attribution`)],m.prototype,`messages`,void 0),e([i()],m.prototype,`view`,null),e([i({type:s})],m.prototype,`viewModel`,void 0),e([u()],m.prototype,`_toggleState`,null),m=e([a(`esri.widgets.Attribution`)],m);const h=m;export{h as default};
|