@arcgis/core 6.0.0-next.44 → 6.0.0-next.45
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 +0 -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/TransformTool.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.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
|
@@ -80,4 +80,5 @@ export default class UtilityNetworkAssociationsContent extends UtilityNetworkAss
|
|
|
80
80
|
*/
|
|
81
81
|
get type(): "utility-network-associations";
|
|
82
82
|
}
|
|
83
|
-
declare const UtilityNetworkAssociationsContentSuperclass: typeof BaseContent & typeof ClonableMixin
|
|
83
|
+
declare const UtilityNetworkAssociationsContentSuperclass: typeof BaseContent & typeof ClonableMixin
|
|
84
|
+
export {};
|
|
@@ -36,4 +36,5 @@ export default class AttachmentsOrderByInfo extends AttachmentsOrderByInfoSuperc
|
|
|
36
36
|
*/
|
|
37
37
|
accessor order: "ascending" | "descending";
|
|
38
38
|
}
|
|
39
|
-
declare const AttachmentsOrderByInfoSuperclass: typeof JSONSupport & typeof ClonableMixin
|
|
39
|
+
declare const AttachmentsOrderByInfoSuperclass: typeof JSONSupport & typeof ClonableMixin
|
|
40
|
+
export {};
|
|
@@ -207,4 +207,5 @@ export default class FieldInfoFormat extends FieldInfoFormatSuperclass {
|
|
|
207
207
|
*/
|
|
208
208
|
accessor places: number | null | undefined;
|
|
209
209
|
}
|
|
210
|
-
declare const FieldInfoFormatSuperclass: typeof JSONSupport & typeof ClonableMixin
|
|
210
|
+
declare const FieldInfoFormatSuperclass: typeof JSONSupport & typeof ClonableMixin
|
|
211
|
+
export {};
|
|
@@ -34,4 +34,5 @@ export default class UtilityNetworkAssociationType extends UtilityNetworkAssocia
|
|
|
34
34
|
/** The type of association. */
|
|
35
35
|
accessor type: AssociationListPopupType;
|
|
36
36
|
}
|
|
37
|
-
declare const UtilityNetworkAssociationTypeSuperclass: typeof JSONSupport & typeof ClonableMixin
|
|
37
|
+
declare const UtilityNetworkAssociationTypeSuperclass: typeof JSONSupport & typeof ClonableMixin
|
|
38
|
+
export {};
|
package/portal/Portal.d.ts
CHANGED
package/portal/PortalItem.d.ts
CHANGED
|
@@ -514,4 +514,5 @@ export interface PortalItemUpdateThumbnailParameters {
|
|
|
514
514
|
thumbnail: Blob | string;
|
|
515
515
|
/** The file name used for the thumbnail in [thumbnailUrl](https://developers.arcgis.com/javascript/latest/references/core/portal/PortalItem/#thumbnailUrl). */
|
|
516
516
|
filename?: string | null;
|
|
517
|
-
}
|
|
517
|
+
}
|
|
518
|
+
export {};
|
|
@@ -439,4 +439,5 @@ export default class ClassBreaksRenderer extends ClassBreaksRendererSuperclass {
|
|
|
439
439
|
*/
|
|
440
440
|
removeClassBreakInfo(min: number, max: number): void;
|
|
441
441
|
}
|
|
442
|
-
declare const ClassBreaksRendererSuperclass: typeof Renderer & typeof VisualVariablesMixin
|
|
442
|
+
declare const ClassBreaksRendererSuperclass: typeof Renderer & typeof VisualVariablesMixin
|
|
443
|
+
export {};
|
|
@@ -188,4 +188,5 @@ export default class DictionaryRenderer extends DictionaryRendererSuperclass {
|
|
|
188
188
|
*/
|
|
189
189
|
getSymbolAsync(graphic: Graphic): Promise<CIMSymbol | null | undefined>;
|
|
190
190
|
}
|
|
191
|
-
declare const DictionaryRendererSuperclass: typeof Renderer & typeof VisualVariablesMixin
|
|
191
|
+
declare const DictionaryRendererSuperclass: typeof Renderer & typeof VisualVariablesMixin
|
|
192
|
+
export {};
|
|
@@ -421,4 +421,5 @@ export default class DotDensityRenderer extends DotDensityRendererSuperclass {
|
|
|
421
421
|
*/
|
|
422
422
|
clone(): DotDensityRenderer;
|
|
423
423
|
}
|
|
424
|
-
declare const DotDensityRendererSuperclass: typeof Renderer & typeof VisualVariablesMixin
|
|
424
|
+
declare const DotDensityRendererSuperclass: typeof Renderer & typeof VisualVariablesMixin
|
|
425
|
+
export {};
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import type Color from "../Color.js";
|
|
2
2
|
import type AuthoringInfo from "./support/AuthoringInfo.js";
|
|
3
3
|
import type RendererLegendOptions from "./support/RendererLegendOptions.js";
|
|
4
|
+
import type ColorVariable from "./visualVariables/ColorVariable.js";
|
|
5
|
+
import type OpacityVariable from "./visualVariables/OpacityVariable.js";
|
|
6
|
+
import type SizeVariable from "./visualVariables/SizeVariable.js";
|
|
4
7
|
import type { JSONSupport } from "../core/JSONSupport.js";
|
|
5
|
-
import type { VisualVariable } from "./types.js";
|
|
6
8
|
import type { VisualVariablesMixin, VisualVariablesMixinProperties } from "./mixins/VisualVariablesMixin.js";
|
|
7
9
|
import type { ColorVariableProperties } from "./visualVariables/ColorVariable.js";
|
|
8
10
|
import type { OpacityVariableProperties } from "./visualVariables/OpacityVariable.js";
|
|
9
|
-
import type { RotationVariableProperties } from "./visualVariables/RotationVariable.js";
|
|
10
11
|
import type { SizeVariableProperties } from "./visualVariables/SizeVariable.js";
|
|
11
12
|
import type { ColorLike } from "../Color.js";
|
|
12
13
|
import type { AuthoringInfoProperties } from "./support/AuthoringInfo.js";
|
|
@@ -112,7 +113,7 @@ export interface FlowRendererProperties extends VisualVariablesMixinProperties,
|
|
|
112
113
|
* });
|
|
113
114
|
* @see [Styles and data visualization](https://developers.arcgis.com/javascript/latest/visualization/)
|
|
114
115
|
*/
|
|
115
|
-
visualVariables?: ((
|
|
116
|
+
visualVariables?: ((SizeVariableProperties & { type: "size"; }) | (ColorVariableProperties & { type: "color"; }) | (OpacityVariableProperties & { type: "opacity"; }))[] | null;
|
|
116
117
|
}
|
|
117
118
|
|
|
118
119
|
/**
|
|
@@ -344,8 +345,8 @@ export default class FlowRenderer extends FlowRendererSuperclass {
|
|
|
344
345
|
* });
|
|
345
346
|
* @see [Styles and data visualization](https://developers.arcgis.com/javascript/latest/visualization/)
|
|
346
347
|
*/
|
|
347
|
-
get visualVariables():
|
|
348
|
-
set visualVariables(value: ((
|
|
348
|
+
get visualVariables(): (SizeVariable | ColorVariable | OpacityVariable)[] | null | undefined;
|
|
349
|
+
set visualVariables(value: ((SizeVariableProperties & { type: "size"; }) | (ColorVariableProperties & { type: "color"; }) | (OpacityVariableProperties & { type: "opacity"; }))[] | null | undefined);
|
|
349
350
|
/**
|
|
350
351
|
* Creates a deep clone of the renderer.
|
|
351
352
|
*
|
|
@@ -355,4 +356,5 @@ export default class FlowRenderer extends FlowRendererSuperclass {
|
|
|
355
356
|
*/
|
|
356
357
|
clone(): FlowRenderer;
|
|
357
358
|
}
|
|
358
|
-
declare const FlowRendererSuperclass: typeof JSONSupport & typeof VisualVariablesMixin
|
|
359
|
+
declare const FlowRendererSuperclass: typeof JSONSupport & typeof VisualVariablesMixin
|
|
360
|
+
export {};
|
|
@@ -338,4 +338,5 @@ export default class PieChartRenderer extends PieChartRendererSuperclass {
|
|
|
338
338
|
*/
|
|
339
339
|
clone(): this;
|
|
340
340
|
}
|
|
341
|
-
declare const PieChartRendererSuperclass: typeof Renderer & typeof ClonableMixin & typeof VisualVariablesMixin
|
|
341
|
+
declare const PieChartRendererSuperclass: typeof Renderer & typeof ClonableMixin & typeof VisualVariablesMixin
|
|
342
|
+
export {};
|
|
@@ -157,4 +157,5 @@ export default class SimpleRenderer extends SimpleRendererSuperclass {
|
|
|
157
157
|
*/
|
|
158
158
|
clone(): SimpleRenderer;
|
|
159
159
|
}
|
|
160
|
-
declare const SimpleRendererSuperclass: typeof Renderer & typeof VisualVariablesMixin
|
|
160
|
+
declare const SimpleRendererSuperclass: typeof Renderer & typeof VisualVariablesMixin
|
|
161
|
+
export {};
|
|
@@ -735,4 +735,5 @@ export default class UniqueValueRenderer extends UniqueValueRendererSuperclass {
|
|
|
735
735
|
*/
|
|
736
736
|
removeUniqueValueInfo(value: string | number): void;
|
|
737
737
|
}
|
|
738
|
-
declare const UniqueValueRendererSuperclass: typeof Renderer & typeof VisualVariablesMixin
|
|
738
|
+
declare const UniqueValueRendererSuperclass: typeof Renderer & typeof VisualVariablesMixin
|
|
739
|
+
export {};
|
|
@@ -190,4 +190,5 @@ export default class VectorFieldRenderer extends VectorFieldRendererSuperclass {
|
|
|
190
190
|
*/
|
|
191
191
|
clone(): VectorFieldRenderer;
|
|
192
192
|
}
|
|
193
|
-
declare const VectorFieldRendererSuperclass: typeof JSONSupport & typeof VisualVariablesMixin
|
|
193
|
+
declare const VectorFieldRendererSuperclass: typeof JSONSupport & typeof VisualVariablesMixin
|
|
194
|
+
export {};
|
|
@@ -164,4 +164,5 @@ export abstract class VisualVariablesMixin {
|
|
|
164
164
|
*/
|
|
165
165
|
get visualVariables(): VisualVariable[] | null | undefined;
|
|
166
166
|
set visualVariables(value: ((ColorVariableProperties & { type: "color" }) | (SizeVariableProperties & { type: "size" }) | (OpacityVariableProperties & { type: "opacity" }) | (RotationVariableProperties & { type: "rotation" }))[] | null | undefined);
|
|
167
|
-
}
|
|
167
|
+
}
|
|
168
|
+
export {};
|
|
@@ -30,4 +30,5 @@ export default class HeatmapLegendOptions extends HeatmapLegendOptionsSuperclass
|
|
|
30
30
|
*/
|
|
31
31
|
accessor title: string | null | undefined;
|
|
32
32
|
}
|
|
33
|
-
declare const HeatmapLegendOptionsSuperclass: typeof JSONSupport & typeof ClonableMixin
|
|
33
|
+
declare const HeatmapLegendOptionsSuperclass: typeof JSONSupport & typeof ClonableMixin
|
|
34
|
+
export {};
|
|
@@ -50,4 +50,5 @@ export default class OthersCategory extends OthersCategorySuperclass {
|
|
|
50
50
|
*/
|
|
51
51
|
accessor threshold: number;
|
|
52
52
|
}
|
|
53
|
-
declare const OthersCategorySuperclass: typeof JSONSupport & typeof ClonableMixin
|
|
53
|
+
declare const OthersCategorySuperclass: typeof JSONSupport & typeof ClonableMixin
|
|
54
|
+
export {};
|
|
@@ -45,4 +45,5 @@ export default class RasterPresetRenderer extends RasterPresetRendererSuperclass
|
|
|
45
45
|
/** The corresponding value of selected [method](https://developers.arcgis.com/javascript/latest/references/core/renderers/support/RasterPresetRenderer/#method). It can be a multidimensional variable name or a raster function template name. */
|
|
46
46
|
accessor value: string;
|
|
47
47
|
}
|
|
48
|
-
declare const RasterPresetRendererSuperclass: typeof JSONSupport & typeof ClonableMixin
|
|
48
|
+
declare const RasterPresetRendererSuperclass: typeof JSONSupport & typeof ClonableMixin
|
|
49
|
+
export {};
|
|
@@ -28,4 +28,5 @@ export default class RendererLegendOptions extends RendererLegendOptionsSupercla
|
|
|
28
28
|
*/
|
|
29
29
|
accessor title: string | null | undefined;
|
|
30
30
|
}
|
|
31
|
-
declare const RendererLegendOptionsSuperclass: typeof JSONSupport & typeof ClonableMixin
|
|
31
|
+
declare const RendererLegendOptionsSuperclass: typeof JSONSupport & typeof ClonableMixin
|
|
32
|
+
export {};
|
|
@@ -45,4 +45,5 @@ export default class UniqueValue extends UniqueValueSuperclass {
|
|
|
45
45
|
*/
|
|
46
46
|
accessor value3: string | number | null | undefined;
|
|
47
47
|
}
|
|
48
|
-
declare const UniqueValueSuperclass: typeof JSONSupport & typeof ClonableMixin
|
|
48
|
+
declare const UniqueValueSuperclass: typeof JSONSupport & typeof ClonableMixin
|
|
49
|
+
export {};
|
|
@@ -186,4 +186,5 @@ export default class UniqueValueClass extends UniqueValueClassSuperclass {
|
|
|
186
186
|
get values(): UniqueValue[] | null | undefined;
|
|
187
187
|
set values(value: string | number | UniqueValueProperties | string[] | number[] | UniqueValueProperties[] | null | undefined);
|
|
188
188
|
}
|
|
189
|
-
declare const UniqueValueClassSuperclass: typeof JSONSupport & typeof ClonableMixin
|
|
189
|
+
declare const UniqueValueClassSuperclass: typeof JSONSupport & typeof ClonableMixin
|
|
190
|
+
export {};
|
|
@@ -110,4 +110,5 @@ export default class UniqueValueGroup extends UniqueValueGroupSuperclass {
|
|
|
110
110
|
*/
|
|
111
111
|
accessor heading: string | null | undefined;
|
|
112
112
|
}
|
|
113
|
-
declare const UniqueValueGroupSuperclass: typeof JSONSupport & typeof ClonableMixin
|
|
113
|
+
declare const UniqueValueGroupSuperclass: typeof JSONSupport & typeof ClonableMixin
|
|
114
|
+
export {};
|
|
@@ -22,4 +22,5 @@ export default class VisualVariableLegendOptions extends VisualVariableLegendOpt
|
|
|
22
22
|
*/
|
|
23
23
|
accessor title: string | null | undefined;
|
|
24
24
|
}
|
|
25
|
-
declare const VisualVariableLegendOptionsSuperclass: typeof JSONSupport & typeof ClonableMixin
|
|
25
|
+
declare const VisualVariableLegendOptionsSuperclass: typeof JSONSupport & typeof ClonableMixin
|
|
26
|
+
export {};
|
|
@@ -317,4 +317,5 @@ export default class FeatureService extends FeatureServiceSuperclass {
|
|
|
317
317
|
*/
|
|
318
318
|
load(options?: AbortOptions | null | undefined): Promise<this>;
|
|
319
319
|
}
|
|
320
|
-
declare const FeatureServiceSuperclass: typeof Loadable & typeof IdentifiableMixin & typeof JSONSupportMixin & typeof EventedMixin
|
|
320
|
+
declare const FeatureServiceSuperclass: typeof Loadable & typeof IdentifiableMixin & typeof JSONSupportMixin & typeof EventedMixin
|
|
321
|
+
export {};
|
|
@@ -114,4 +114,5 @@ export default class DynamicDataLayer extends DynamicDataLayerSuperclass {
|
|
|
114
114
|
*/
|
|
115
115
|
get type(): "data-layer";
|
|
116
116
|
}
|
|
117
|
-
declare const DynamicDataLayerSuperclass: typeof JSONSupport & typeof ClonableMixin
|
|
117
|
+
declare const DynamicDataLayerSuperclass: typeof JSONSupport & typeof ClonableMixin
|
|
118
|
+
export {};
|
|
@@ -46,4 +46,5 @@ export default class DynamicWorkspaceLayer extends DynamicWorkspaceLayerSupercla
|
|
|
46
46
|
/** The registered workspace id. */
|
|
47
47
|
accessor workspaceId: string;
|
|
48
48
|
}
|
|
49
|
-
declare const DynamicWorkspaceLayerSuperclass: typeof JSONSupport & typeof ClonableMixin
|
|
49
|
+
declare const DynamicWorkspaceLayerSuperclass: typeof JSONSupport & typeof ClonableMixin
|
|
50
|
+
export {};
|
|
@@ -78,4 +78,5 @@ export default class TraceLocation extends TraceLocationSuperclass {
|
|
|
78
78
|
/** The type of the trace location; `starting-point` defines where the trace should start and `barrier` defines where the trace should stop. */
|
|
79
79
|
accessor type: TraceLocationType;
|
|
80
80
|
}
|
|
81
|
-
declare const TraceLocationSuperclass: typeof JSONSupport & typeof ClonableMixin
|
|
81
|
+
declare const TraceLocationSuperclass: typeof JSONSupport & typeof ClonableMixin
|
|
82
|
+
export {};
|
package/rest/print.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import{id as e}from"../kernel.js";import t from"../request.js";import{JSONMap as n}from"../core/jsonMap.js";import{createScreenPoint as r,pt2px as i,px2pt as a}from"../core/screenUtils.js";import{dataComponents as o,normalize as s}from"../core/urlUtils.js";import c from"../core/Version.js";import l from"../geometry/Polygon.js";import{collectLabelingFields as u}from"../layers/support/fieldUtils.js";import{getFloorFilterClause as d,getLayerFloorFilterClause as f}from"../layers/support/floorFilterUtils.js";import{getSizeRangeAtScale as p}from"../renderers/visualVariables/support/visualVariableUtils.js";import{asValidOptions as m,findToken as h}from"./utils.js";import{execute as g}from"./geoprocessor/execute.js";import{submitJob as _}from"./geoprocessor/submitJob.js";import{formatJsonMap as v}from"./support/fileFormat.js";import{toJSON as ee}from"./support/layoutTemplate.js";import{getVisibleLayerViews as te,isScreenshotRequired as ne,isBingMapsLayer as re,isBlendLayer as y,getCopyright as b,getSelectionSymbol as x,createPointLayer as S,getContextBoundingBox as C,createPolygonLayer as ie,createPolylineLayer as ae,createMultipointLayer as oe}from"./support/printTaskUtils.js";import se from"./support/PrintTemplate.js";import{toJSON as ce}from"./support/reportTemplate.js";import le from"../symbols/WebStyleSymbol.js";import ue from"../views/support/HighlightOptions.js";const w={Feet:`ft`,Kilometers:`km`,Meters:`m`,Miles:`mi`},T=new n({esriFeet:`Feet`,esriKilometers:`Kilometers`,esriMeters:`Meters`,esriMiles:`Miles`}),E=new n({esriExecutionTypeSynchronous:`sync`,esriExecutionTypeAsynchronous:`async`}),D=new Map;let de;async function O(e,t,n){let r=await P(e,t,n);if(await j(e,n)===`sync`){let{results:t}=await g(e,r,void 0,n);return t?.[0]?.value}let i=await _(e,r,void 0,n);await i.waitForJobCompletion({interval:t.updateDelay});let{value:a}=await i.fetchResultData(`Output_File`,null,n);return a}async function k(e,t){return(await A(e,t)).capabilities}async function A(e,n){let r=L(e),i=D.get(r);if(i?.gpMetadata)return i;let a=(await t(r,m({f:`json`},n))).data,o=a.cimVersion?c.parse(a.cimVersion):void 0,s={...i,capabilities:{supportsCatalogLayer:!o?.lessThan(3,1),supportsClustering:!o?.lessThan(2,9),supportsDatumTransformations:!o?.lessThan(3,7),supportsDotDensityRenderer:!o?.lessThan(2,6),supportsPieChartRenderer:!o?.lessThan(3,1),supportsSecureVectorTileLayer:o?.major!==2||o.minor!==1,supportsWFSLayer:!o?.lessThan(3,5)},gpMetadata:a,gpServerUrl:r};return D.set(r,s),s}async function j(e,t){return Ae(await A(e,t))}async function M(e,t,n){return(await F(e,n))[t]??null}async function N(e,t,n){let r=await M(e,t,n);return r?.executionType?E.fromJSON(r.executionType):`sync`}async function P(t,n,r){let i=await A(t,r),a={capabilities:i.capabilities,legendLayerNameMap:{},legendLayers:[],screenshotLayers:[]},o=n.template||new se;o.showLabels??=!0;let s;o.format===`pdf`&&(s={enablePdfAccessibility:!0});let c=ee(o.layout),l=o.exportOptions;if(l){let e=l.dpi;if(s??={},s.dpi=e,c?.toLowerCase()===`map_only`||c===``){let{width:e,height:t}=l;s.outputSize=e!=null&&t!=null?[e,t]:void 0}}let u=o.layoutOptions,d;if(u){let e,t;u.scalebarUnit===`Miles`||u.scalebarUnit===`Kilometers`?(e=`Kilometers`,t=`Miles`):(u.scalebarUnit===`Meters`||u.scalebarUnit===`Feet`)&&(e=`Meters`,t=`Feet`),d={titleText:u.titleText,authorText:u.authorText,copyrightText:u.copyrightText,customTextElements:u.customTextElements,elementOverrides:u.elementOverrides,scaleBarOptions:e||t?{metricUnit:T.toJSON(e)??void 0,metricLabel:e?w[e]:void 0,nonMetricUnit:T.toJSON(t)??void 0,nonMetricLabel:t?w[t]:void 0}:void 0}}for(let e of u?.legendLayers??[])a.legendLayerNameMap[e.layerId]=e.title;let f=await I(n,o,a);if(f.operationalLayers){let e=RegExp(`[\\u4E00-\\u9FFF\\u0E00-\\u0E7F\\u0900-\\u097F\\u3040-\\u309F\\u30A0-\\u30FF\\u31F0-\\u31FF]`),t=/[\u0600-\u06FF]/,n=n=>{let r=n.text,i=n.font,a=i?.family?.toLowerCase();r&&i&&(a===`arial`||a===`arial unicode ms`)&&(i.family=e.test(r)?`Arial Unicode MS`:`Arial`,i.style!==`normal`&&t.test(r)&&(i.family=`Arial Unicode MS`))};for(let e of f.operationalLayers)if(e.featureCollection?.layers)for(let t of e.featureCollection.layers){let e=t.layerDefinition?.drawingInfo?.renderer;if(e&&`symbol`in e&&e.symbol?.type===`esriTS`&&n(e.symbol),t.featureSet?.features)for(let e of t.featureSet.features){let t=e.symbol;t?.type===`esriTS`&&n(t)}}}let p=null;u?.legendLayers&&(p=u.legendLayers.filter(e=>!a.screenshotLayers.includes(e.layerId)).map(e=>{let t={id:e.layerId};if(e.subLayerIds){t.subLayerIds=e.subLayerIds;let n=e.dynamicLegend;n!=null&&(t.subLayerDynamicLegends=e.subLayerIds.map(()=>n))}return e.dynamicLegend!=null&&(t.dynamicLegend=e.dynamicLegend),t})),n.outSpatialReference&&(f.mapOptions.spatialReference=n.outSpatialReference.toJSON()),n.datumTransformations?.length&&(f.mapOptions.datumTransformations=n.datumTransformations.map(e=>e.toJSON())),f.exportOptions=s,f.layoutOptions={...d,legendOptions:{operationalLayers:p??a.legendLayers.slice()}};let m={Web_Map_as_JSON:JSON.stringify(f),Format:v.toJSON(o.format),Layout_Template:c,Report_Template:ce(o.report)};if(o.layoutItem){delete m.Layout_Template;let t=o.layoutItem;await t.load(),t.access!==`public`&&e&&await e.getCredential(i.gpServerUrl),m.Layout_Item_ID=JSON.stringify({id:t.id})}if(o.reportItem){delete m.Report_Template;let t=o.reportItem;await t.load(),t.access!==`public`&&e&&await e.getCredential(i.gpServerUrl),m.Report_Item_ID=JSON.stringify({id:t.id})}return n.extraParameters&&Object.assign(m,n.extraParameters),m}async function F(e,n){let r=await A(e,n),i=r.gpMetadata?.tasks,a=r.gpServerUrl;if(r.taskInfos)return r.taskInfos;let o=(await t(e,m({f:`json`},n))).data;r.taskInfos={ExportWebMap:o};let s=i?.filter(e=>e!==o.name)??[];return await Promise.all(s.map(async e=>{let i=(await t(`${a}/${e}`,m({f:`json`},n))).data,o=i.name.startsWith(`GetLayoutTemplatesInfo`)?`GetLayoutTemplatesInfo`:null;o&&(r.taskInfos[o]??=i)})),r.taskInfos}async function I(e,t,n){let r=e.view,i=r.spatialReference,a={operationalLayers:await z(r,t,n),mapOptions:{extent:null,spatialReference:null,showAttribution:t.attributionVisible}};t.includeTables&&(a.tables=await we(r));let o=e.extent||n.screenshotExtent||r.extent;if(i?.isWrappable&&(o=o.clone().shiftCentralMeridian(),i=o.spatialReference),a.mapOptions={extent:o&&o.toJSON(),spatialReference:i&&i.toJSON(),showAttribution:t.attributionVisible},r.background&&(a.background=r.background.toJSON()),r.rotation&&(a.mapOptions.rotation=-r.rotation),t.scalePreserved&&(a.mapOptions.scale=t.outScale||r.scale),r.timeExtent!=null){let e=r.timeExtent.start==null?null:r.timeExtent.start.getTime(),t=r.timeExtent.end==null?null:r.timeExtent.end.getTime();a.mapOptions.time=[e,t]}return t.reportOptions&&(a.reportOptions=t.reportOptions),a}function L(e){let t=e,n=t.lastIndexOf(`/GPServer/`);return n>0&&(t=t.slice(0,n+9)),t}const R={getGPServerUrl:L,cache:D};async function z(e,t,n){let r=[],i=0;t.scalePreserved&&(i=t.outScale||e.scale);let a={layerView:null,outScale:i,printTemplate:t,view:e},o=te(e,i);for(let e of o){let t=e.layer;if(!t.loaded||`layers`in t)continue;let i;a.layerView=e,i=ne(e)?await W(t,a,n):re(t)?B(t):t?.type===`csv`?await H(t,a,n):t?.type===`catalog-footprint`?await V(t,a,n):t?.type===`feature`?await fe(t,a,n):t?.type===`geojson`?await pe(t,a,n):t?.type===`graphics`?await me(t,a,n):t?.type===`imagery`?he(t,n):t?.type===`imagery-tile`?await ge(t,a,n):t?.type===`kml`?await _e(t,a,n):t?.type===`map-image`?ve(t,a,n):t?.type===`map-notes`?await ye(a,n):t?.type===`open-street-map`?be():t?.type===`sketch`?await xe(t,a,n):t?.type===`stream`?await Se(t,a,n):t?.type===`subtype-group`?await Ce(t,n):t?.type===`tile`?Te(t,n):t?.type===`vector-tile`?await Ee(t,a,n):t?.type===`web-tile`?De(t):t?.type===`wfs`?await Oe(t,a,n):t?.type===`wms`?G(t,n):t?.type===`wmts`?ke(t):await W(t,a,n),i&&(Array.isArray(i)?r.push(...i):(i.id=t.id,i.title=n.legendLayerNameMap[t.id]||t.title,i.opacity=e.fullOpacity,i.minScale=t.minScale||0,i.maxScale=t.maxScale||0,y(t)&&t.blendMode&&t.blendMode!==`normal`&&(i.blendMode=t.blendMode),r.push(i)))}if(i)for(let e of r)e.minScale=0,e.maxScale=0;if(e.graphics?.length){let i=await U(null,e.graphics,t,n);i&&r.push(i)}return r}function B(e){return{culture:e.culture,key:e.key,type:`BingMaps${e.style===`aerial`?`Aerial`:e.style===`hybrid`?`Hybrid`:`Road`}`}}async function V(e,{layerView:t,printTemplate:n},r){if(!r.capabilities.supportsCatalogLayer)return U(e,await Z(t),n,r);let i=e.parent,{id:a,url:o,layerType:s,customParameters:c,footprintLayer:l,layerDefinition:u}=Q(i,`web-map`),d={id:a,url:o,layerType:s,customParameters:c,dynamicGroupLayer:{visibility:!1},footprintLayer:l,layerDefinition:u};return K(d,i),d}async function H(e,t,n){e.legendEnabled&&n.legendLayers.push({id:e.id});let r=t.layerView,i=t.printTemplate;if(!r.filter&&(!e.portalItem||e.portalItem.access===`public`)){let t=Q(e,`web-map`);return t.type=`CSV`,delete t.popupInfo,delete t.layerType,t.showLabels=i.showLabels&&e.labelsVisible,t}return U(e,await Z(r),i,n)}async function U(e,t,n,r){let i,a=ie(),o=ae(),s=S(),c=oe(),d=S();if(d.layerDefinition.name=`textLayer`,delete d.layerDefinition.drawingInfo,e){if((e.type===`feature`||e.type===`stream`)&&(a.layerDefinition.name=o.layerDefinition.name=s.layerDefinition.name=c.layerDefinition.name=r.legendLayerNameMap[e.id]||e.title||void 0),`renderer`in e&&e.renderer){let t=e.renderer.toJSON(),n=a.layerDefinition.drawingInfo;n&&(n.renderer=t);let r=o.layerDefinition.drawingInfo;r&&(r.renderer=t);let i=s.layerDefinition.drawingInfo;i&&(i.renderer=t);let l=c.layerDefinition.drawingInfo;l&&(l.renderer=t)}if(n.showLabels&&`labelsVisible`in e&&e.labelsVisible&&`write`in e){let t=Q(e).layerDefinition?.drawingInfo?.labelingInfo;if(t){i=!0;let e=a.layerDefinition.drawingInfo;e&&(e.labelingInfo=t);let n=o.layerDefinition.drawingInfo;n&&(n.labelingInfo=t);let r=s.layerDefinition.drawingInfo;r&&(r.labelingInfo=t);let l=c.layerDefinition.drawingInfo;l&&(l.labelingInfo=t)}}}!(e&&`renderer`in e&&e.renderer)&&!i&&(delete a.layerDefinition.drawingInfo,delete o.layerDefinition.drawingInfo,delete s.layerDefinition.drawingInfo,delete c.layerDefinition.drawingInfo);let f,p=e&&`fieldsIndex`in e?e.fieldsIndex:void 0,m=e&&`renderer`in e?e.renderer:null;if(p){let t=new Set;i&&e&&`fieldsIndex`in e&&await u(t,e),m&&typeof m.collectRequiredFields==`function`&&await m.collectRequiredFields(t,p),f=Array.from(t);let n=p.fields.map(e=>e.toJSON());a.layerDefinition.fields=n,o.layerDefinition.fields=n,s.layerDefinition.fields=n,c.layerDefinition.fields=n}for(let e of t??[]){let t=e.geometry;if(e.visible===!1||!t)continue;let r=e.toJSON();if(Object.hasOwn(r,`popupTemplate`)&&delete r.popupTemplate,r.geometry&&`z`in r.geometry&&r.geometry.z&&delete r.geometry.z,r.symbol){if(`angle`in r.symbol&&!r.symbol.angle){let e=r.symbol;delete e.angle}$(r.symbol)?r.symbol=await q(r.symbol):`text`in r.symbol&&r.symbol.text&&delete r.attributes}if((!n||!n.forceFeatureAttributes)&&f?.length){let e={};for(let t of f)r.attributes&&Object.hasOwn(r.attributes,t)&&(e[t]=r.attributes[t]);r.attributes=e}let i=r;t.type===`polygon`?a.featureSet.features.push(i):t.type===`polyline`?o.featureSet.features.push(i):t.type===`point`?r.symbol&&`text`in r.symbol&&r.symbol.text?d.featureSet.features.push(i):s.featureSet.features.push(i):t.type===`multipoint`?c.featureSet.features.push(i):t.type===`extent`&&(r.geometry=l.fromExtent(t).toJSON(),a.featureSet.features.push(i))}let h=[a,o,c,s,d].filter(e=>e.featureSet.features.length>0);for(let e of h){let t=e.featureSet.features.every(e=>`symbol`in e&&e.symbol);if(t&&(!n||!n.forceFeatureAttributes))for(let t of e.featureSet.features)delete t.attributes;t&&delete e.layerDefinition.drawingInfo,e.layerDefinition.drawingInfo?.renderer&&(await X(e.layerDefinition.drawingInfo.renderer),await J(e.layerDefinition.drawingInfo.renderer))}return h.length?{featureCollection:{layers:h},showLabels:i}:null}async function fe(e,t,n){let r=e.renderer,i=n.capabilities;if(e.featureReduction?.type===`binning`||e.featureReduction?.type===`cluster`&&(!i.supportsClustering||e.featureReduction.renderer?.type===`pie-chart`)||r?.type===`pie-chart`&&!i.supportsPieChartRenderer||r?.type===`dot-density`&&!i.supportsDotDensityRenderer||e.geometryType===`polygon`&&r?.authoringInfo?.visualVariables?.some(e=>e.theme===`spike`))return W(e,t,n);e.legendEnabled&&n.legendLayers.push({id:e.id});let a=t.layerView,{printTemplate:o,view:s}=t,c=e.source?.type!==`feature-layer`&&e.source?.type!==`ogc-feature`;if(!a.filter&&!c&&r&&(!(`field`in r)||r.field==null||e.getField(r.field))){let{id:t,title:n,url:i,layerType:c,customParameters:l,layerDefinition:u,charts:f}=Q(e),m={id:t,title:n,url:i,layerType:c,customParameters:l,layerDefinition:u,charts:o.includeCharts?f:void 0};o.attributionVisible&&(m.credits=b(e)),m.showLabels=o.showLabels&&e.labelsVisible&&!!e.labelingInfo&&e.labelingInfo.length>0,K(m,e);let h=m.layerDefinition?.featureReduction;if(delete h?.disablePopup,delete h?.popupInfo,a.displayFilterEnabled||delete m.layerDefinition?.displayFilterInfo,m.layerDefinition?.drawingInfo?.renderer&&(delete m.layerDefinition.minScale,delete m.layerDefinition.maxScale,await X(m.layerDefinition.drawingInfo.renderer),await J(m.layerDefinition.drawingInfo.renderer),`visualVariables`in r&&r.visualVariables?.[0])){let e=r.visualVariables[0];if(e.type===`size`&&e.maxSize&&typeof e.maxSize!=`number`&&e.minSize&&typeof e.minSize!=`number`){let t=p(e,s.scale),n=m.layerDefinition.drawingInfo.renderer;if(`visualVariables`in n&&n.visualVariables?.[0]?.type===`sizeInfo`){let e=n.visualVariables[0];e.minSize=t.minSize,e.maxSize=t.maxSize}}}let g=d(a);if(g&&(m.layerDefinition??={},m.layerDefinition.definitionExpression=m.layerDefinition.definitionExpression?`(${m.layerDefinition.definitionExpression}) AND (${g})`:g),e.gdbVersion&&(m.layerDefinition??={},m.layerDefinition.gdbVersion=e.gdbVersion),a.hasHighlight&&`highlightIds`in a){let t=a;m.selectionObjectIds=t.highlightIds;let n=t.highlightOptions??s.defaultHighlight??new ue;m.selectionSymbol=x(e.geometryType,n)}return m}return U(e,await Z(a),o,n)}async function pe(e,t,n){return e.featureReduction?.type===`binning`||e.featureReduction?.type===`cluster`?W(e,t,n):(e.legendEnabled&&n.legendLayers.push({id:e.id}),U(e,await Z(t.layerView),t.printTemplate,n))}async function me(e,{printTemplate:t},n){return U(e,e.graphics,t,n)}function he(e,t){e.legendEnabled&&t.legendLayers.push({id:e.id});let{layerType:n,customParameters:r}=Q(e),i={layerType:n,customParameters:r};return i.bandIds=e.bandIds,i.compressionQuality=e.compressionQuality,i.format=e.format,i.interpolation=e.interpolation,(e.mosaicRule||e.definitionExpression)&&(i.mosaicRule=e.exportImageServiceParameters.mosaicRule.toJSON()),e.rasterFunction&&(i.renderingRule=e.rasterFunction.toJSON()),e.renderer&&(i.layerDefinition??={},i.layerDefinition.drawingInfo??={},i.layerDefinition.drawingInfo.renderer=e.renderer.toJSON()),K(i,e),i}async function ge(e,t,n){if(e.renderer?.type===`flow`||!e.supportsWrite())return W(e,t,n);e.legendEnabled&&n.legendLayers.push({id:e.id});let{bandIds:r,customParameters:i,interpolation:a,layerDefinition:o}=Q(e),s={bandIds:r,customParameters:i,interpolation:a,layerDefinition:o};return s.layerType=`ArcGISImageServiceLayer`,K(s,e),s}async function _e(e,t,n){let r=t.printTemplate;if(!e.portalItem||e.portalItem.access===`public`){let t=Q(e,`web-map`);return t.type=`kml`,delete t.layerType,t.url=s(e.url),t}let i=[],a=t.layerView;a.allVisibleMapImages.forEach((t,n)=>{let r={id:`${e.id}_image${n}`,type:`image`,title:e.id,minScale:e.minScale||0,maxScale:e.maxScale||0,opacity:a.fullOpacity,extent:t.extent};t.href.startsWith(`data:image/png;base64,`)?r.imageData=t.href.slice(22):r.url=t.href,i.push(r)});let o=[...a.allVisiblePoints.items,...a.allVisiblePolylines.items,...a.allVisiblePolygons.items],c={id:e.id,...await U(null,o,r,n)};return i.push(c),i}function ve(e,{outScale:t,printTemplate:n,view:r},i){let a={id:e.id,subLayerIds:[]},o=[],s=t||r.scale,c=e=>{let t=s===0,n=e.minScale===0||s<=e.minScale,i=e.maxScale===0||s>=e.maxScale;if(e.visible&&(t||n&&i)){if(e.sublayers)e.sublayers.forEach(c);else{let t=f(r.floors,e),n=e.toExportImageJSON(t),i={id:e.id,name:e.title,layerDefinition:{definitionExpression:n.definitionExpression,drawingInfo:n.drawingInfo,orderBy:n.orderBy,source:n.source}};o.unshift(i),a.subLayerIds.push(e.id)}}};if(e.sublayers?.forEach(c),o.length){o=o.map(({id:e,name:t,layerDefinition:n})=>({id:e,name:t,layerDefinition:n}));let{layerType:t,customParameters:r}=Q(e),s={layerType:t,customParameters:r};return s.layers=o,s.visibleLayers=e.capabilities?.exportMap?.supportsDynamicLayers?void 0:a.subLayerIds,n.attributionVisible&&(s.credits=b(e)),e.gdbVersion&&(s.gdbVersion=e.gdbVersion),K(s,e),e.legendEnabled&&i.legendLayers.push(a),s}}async function ye({layerView:e,printTemplate:t},n){let r=[],i=e.layer;if(i.featureCollections!=null)for(let e of i.featureCollections){let i=await U(e,e.source?.type===`memory`?e.source.items:[],t,n);i&&r.push(...i.featureCollection.layers)}else if(i.sublayers!=null)for(let e of i.sublayers){let i=await U(null,e.graphics,t,n);i&&r.push(...i.featureCollection.layers)}return{featureCollection:{layers:r}}}function be(){return{type:`OpenStreetMap`}}async function xe(e,{printTemplate:t},n){let r=[];if(e.featureCollections!=null)for(let i of e.featureCollections){let e=await U(i,i.source?.type===`memory`?i.source.items:[],t,n);e&&r.push(...e.featureCollection.layers)}else{let i=await U(null,e.graphics,t,n);i&&r.push(...i.featureCollection.layers)}return{featureCollection:{layers:r}}}async function W(e,{printTemplate:t,view:n},i){i.screenshotLayers.push(e.id);let a={format:`png`,ignoreBackground:!0,ignorePadding:!0,layers:[e]};n.rotation!==0&&(a.rotation=0);let s=i.screenshotExtent||n.state.extent.clone(),c=96,l=!0,u=!0;if(t.exportOptions){let e=t.exportOptions;e.dpi!=null&&e.dpi>0&&(c=e.dpi),e.width!=null&&e.width>0&&(l=e.width%2==n.width%2),e.height!=null&&e.height>0&&(u=e.height%2==n.height%2)}if(t.layout===`map-only`&&t.scalePreserved&&(!t.outScale||t.outScale===n.scale)&&c===96&&(!l||!u)&&n.state.extent.equals(n.extent)&&(a.area={x:0,y:0,width:n.width,height:n.height},l||--a.area.width,u||--a.area.height,!i.screenshotExtent)){let e=n.toMap(r(a.area.width,a.area.height));s.ymin=e.y,s.xmax=e.x,i.screenshotExtent=s}let d=s.clone().shiftCentralMeridian().toJSON(),f=await n.takeScreenshot(a);return{type:`image`,extent:d,imageData:o(f.dataUrl)?.data}}async function Se(e,{layerView:t,printTemplate:n},r){return e.legendEnabled&&r.legendLayers.push({id:e.id}),U(e,await Z(t),n,r)}async function Ce(e,t){if(e.legendEnabled)for(let n of e.sublayers)n.legendEnabled&&t.legendLayers.push({id:n.id});let{customParameters:n,effect:r,layerDefinition:i,layerType:a,layers:o,url:s}=Q(e),c={customParameters:n,effect:r,layerDefinition:i,layerType:a,layers:o,url:s};if(K(c,e),Array.isArray(c.layers)){for(let e of c.layers)delete e.popupInfo;c.token&&c.layers.length>0&&(c.layers[c.layers.length-1].token=c.token,delete c.token)}return c}async function we(e){let t=[],n=[];for(let t of e.map.allTables)t.type===`feature`&&!t.loaded&&n.push(t.load());n.length&&await Promise.allSettled(n);for(let n of e.map.allTables)if(n.type===`feature`&&n.loaded&&n.isTable&&n.source?.type===`feature-layer`){let{id:e,title:r,customParameters:i,layerDefinition:a,url:o}=Q(n),s={id:e,title:r,customParameters:i,layerDefinition:{definitionExpression:a?.definitionExpression},url:o};K(s,n),t.push(s)}return t.length?t:void 0}function Te(e,t){e.legendEnabled&&t.legendLayers.push({id:e.id});let{layerType:n,customParameters:r}=Q(e),i={layerType:n,customParameters:r};return K(i,e),i}async function Ee(e,t,n){let r=t.layerView;if(e.serviceUrl&&e.styleUrl&&!r.spriteSourceChanged&&!r.styleChanged){let t=h(e.styleUrl,e.apiKey),r=h(e.serviceUrl,e.apiKey);if(!t&&!r||n.capabilities.supportsSecureVectorTileLayer){let n={type:`VectorTileLayer`};return n.styleUrl=s(e.styleUrl),n.token=t,r!==t&&(n.additionalTokens=[{url:e.serviceUrl,token:r}]),n}}return W(e,t,n)}function De(e){let t={type:`WebTiledLayer`,urlTemplate:e.urlTemplate?.replaceAll("${",`{`),credits:e.copyright};return e.subDomains&&e.subDomains.length>0&&(t.subDomains=e.subDomains),t}async function Oe(e,t,n){if(!n.capabilities.supportsWFSLayer)return W(e,t,n);e.legendEnabled&&n.legendLayers.push({id:e.id});let{layerType:r,layerDefinition:i,url:a,wfsInfo:o}=Q(e,`web-map`);return{layerType:r,layerDefinition:i,url:a,wfsInfo:o}}function G(e,t){let n=[],r=e=>{e.visible&&(e.sublayers?e.sublayers.forEach(r):e.name&&n.unshift(e.name))};if(e.sublayers?.forEach(r),n.length)return e.legendEnabled&&t.legendLayers.push({id:e.id,subLayerIds:n}),{type:`wms`,customLayerParameters:e.customLayerParameters,customParameters:e.customParameters,transparentBackground:e.imageTransparency,visibleLayers:n,url:s(e.url),version:e.version}}function ke(e){let t=e.activeLayer;return{type:`wmts`,customLayerParameters:e.customLayerParameters,customParameters:e.customParameters,format:t.imageFormat,layer:t.id,style:t.styleId,tileMatrixSet:t.tileMatrixSetId,url:s(e.url)}}function K(e,t){if(!t.url)return;let n=typeof e.url==`string`&&e.url?e.url:t.url,r=s(n);e.url=r,e.token=h(r,t.apiKey)}async function q(e){if(e.type===`esriSMS`&&!e.path)return null;let n=e.type===`esriSMS`?null:(await t(e.contentType===`image/svg+xml`?`data:image/svg+xml;base64,`+e.imageData:e.url,{responseType:`image`})).data,r=de??=document.createElement(`canvas`),o=1024;r.width=o,r.height=o;let s=r.getContext(`2d`),c,l;if(e.type===`esriSMS`){let t=new Path2D(e.path);t.closePath(),s.fillStyle=Array.isArray(e.color)?`rgba(${e.color[0]},${e.color[1]},${e.color[2]},${e.color[3]/255})`:`rgb(0,0,0)`,s.fill(t);let n=C(s);if(!n)return null;s.clearRect(0,0,o,o);let r=i(e.size)/Math.max(n.width,n.height);s.scale(r,r);let a=o/r,u=a/2-n.width/2-n.x,d=a/2-n.height/2-n.y;if(s.translate(u,d),Array.isArray(e.color)&&s.fill(t),e.outline?.width&&Array.isArray(e.outline.color)){let a=e.outline;s.lineWidth=i(a.width)/r,s.lineJoin=`round`,s.strokeStyle=`rgba(${a.color[0]},${a.color[1]},${a.color[2]},${a.color[3]/255})`,s.stroke(t),n.width+=s.lineWidth,n.height+=s.lineWidth}n.width*=r,n.height*=r;let f=s.getImageData(o/2-n.width/2,o/2-n.height/2,Math.ceil(n.width),Math.ceil(n.height));c=f.width,l=f.height,s.canvas.width=c,s.canvas.height=l,s.putImageData(f,0,0)}else c=i(e.width),l=i(e.height),s.canvas.width=c,s.canvas.height=l,s.drawImage(n,0,0,s.canvas.width,s.canvas.height);return{type:`esriPMS`,imageData:s.canvas.toDataURL(`image/png`).slice(22),angle:e.angle,contentType:`image/png`,height:a(l),width:a(c),xoffset:e.xoffset,yoffset:e.yoffset}}async function J(e){let t=e.type;if(t===`simple`&&$(e.symbol))e.symbol=await q(e.symbol)??{type:`esriSMS`,color:[0,0,0,0],size:0,style:`esriSMSSquare`};else if(t===`uniqueValue`){if($(e.defaultSymbol)&&(e.defaultSymbol=await q(e.defaultSymbol)),`uniqueValueInfos`in e&&e.uniqueValueInfos)for(let t of e.uniqueValueInfos)$(t.symbol)&&(t.symbol=await q(t.symbol));if(`uniqueValueGroups`in e&&e.uniqueValueGroups)for(let t of e.uniqueValueGroups)for(let e of t.classes)$(e.symbol)&&(e.symbol=await q(e.symbol))}else if(t===`classBreaks`){$(e.defaultSymbol)&&(e.defaultSymbol=await q(e.defaultSymbol));for(let t of e.classBreakInfos)$(t.symbol)&&(t.symbol=await q(t.symbol))}}async function Y(e){if(e?.type!==`styleSymbolReference`)return e;try{return(await le.fromJSON(e).fetchSymbol())?.toJSON()??e}catch{return e}}async function X(e){if(e.type===`simple`&&e.symbol)e.symbol=await Y(e.symbol);else if(e.type===`uniqueValue`){if(e.defaultSymbol=await Y(e.defaultSymbol),`uniqueValueInfos`in e&&e.uniqueValueInfos)for(let t of e.uniqueValueInfos)t.symbol=await Y(t.symbol);if(`uniqueValueGroups`in e&&e.uniqueValueGroups)for(let t of e.uniqueValueGroups)for(let e of t.classes)e.symbol=await Y(e.symbol)}else if(e.type===`classBreaks`){e.defaultSymbol=await Y(e.defaultSymbol);for(let t of e.classBreakInfos)t.symbol=await Y(t.symbol)}}async function Z(e){return e.queryFeatures(e.createQuery()).then(e=>e.features)}function Q(e,t){return e.write({},{ignorePersistenceEnabled:!0,origin:t})??{}}function Ae(e){return e.gpMetadata?.executionType?E.fromJSON(e.gpMetadata.executionType):`sync`}function $(e){return e?.type===`esriSMS`&&`path`in e&&!!e.path||(e?.type===`esriPMS`||e?.type===`esriPFS`)&&(`contentType`in e&&e.contentType===`image/svg+xml`||`url`in e&&!!e.url?.endsWith(`.svg`))}export{O as execute,P as getGPPrintParameters,j as getMode,A as getPrintCache,k as getPrintCapabilities,N as getTaskExecutionMode,M as getTaskInfo,R as test};
|
|
2
|
+
import{id as e}from"../kernel.js";import t from"../request.js";import{JSONMap as n}from"../core/jsonMap.js";import{createScreenPoint as r,pt2px as i,px2pt as a}from"../core/screenUtils.js";import{dataComponents as o,normalize as s}from"../core/urlUtils.js";import c from"../core/Version.js";import l from"../geometry/Polygon.js";import{collectLabelingFields as u}from"../layers/support/fieldUtils.js";import{getFloorFilterClause as d,getLayerFloorFilterClause as f}from"../layers/support/floorFilterUtils.js";import{getSizeRangeAtScale as p}from"../renderers/visualVariables/support/visualVariableUtils.js";import{asValidOptions as m,findToken as h}from"./utils.js";import{execute as g}from"./geoprocessor/execute.js";import{submitJob as _}from"./geoprocessor/submitJob.js";import{formatJsonMap as v}from"./support/fileFormat.js";import{toJSON as ee}from"./support/layoutTemplate.js";import{getVisibleLayerViews as te,isScreenshotRequired as ne,isBingMapsLayer as re,isBlendLayer as y,getCopyright as b,getSelectionSymbol as x,createPointLayer as S,getContextBoundingBox as C,createPolygonLayer as ie,createPolylineLayer as ae,createMultipointLayer as oe}from"./support/printTaskUtils.js";import se from"./support/PrintTemplate.js";import{toJSON as ce}from"./support/reportTemplate.js";import le from"../symbols/WebStyleSymbol.js";import ue from"../views/support/HighlightOptions.js";const w={Feet:`ft`,Kilometers:`km`,Meters:`m`,Miles:`mi`},T=new n({esriFeet:`Feet`,esriKilometers:`Kilometers`,esriMeters:`Meters`,esriMiles:`Miles`}),E=new n({esriExecutionTypeSynchronous:`sync`,esriExecutionTypeAsynchronous:`async`}),D=new Map;let de;async function O(e,t,n){let r=await P(e,t,n);if(await j(e,n)===`sync`){let{results:t}=await g(e,r,void 0,n);return t?.[0]?.value}let i=await _(e,r,void 0,n);await i.waitForJobCompletion({interval:t.updateDelay});let{value:a}=await i.fetchResultData(`Output_File`,null,n);return a}async function k(e,t){return(await A(e,t)).capabilities}async function A(e,n){let r=L(e),i=D.get(r);if(i?.gpMetadata)return i;let a=(await t(r,m({f:`json`},n))).data,o=a.cimVersion?c.parse(a.cimVersion):void 0,s={...i,capabilities:{supportsCatalogLayer:!o?.lessThan(3,1),supportsClustering:!o?.lessThan(2,9),supportsDatumTransformations:!o?.lessThan(3,7),supportsDotDensityRenderer:!o?.lessThan(2,6),supportsPieChartRenderer:!o?.lessThan(3,1),supportsSecureVectorTileLayer:o?.major!==2||o.minor!==1,supportsWFSLayer:!o?.lessThan(3,5)},gpMetadata:a,gpServerUrl:r};return D.set(r,s),s}async function j(e,t){return Ae(await A(e,t))}async function M(e,t,n){return(await F(e,n))[t]??null}async function N(e,t,n){let r=await M(e,t,n);return r?.executionType?E.fromJSON(r.executionType):`sync`}async function P(t,n,r){let i=await A(t,r),a={capabilities:i.capabilities,legendLayerNameMap:{},legendLayers:[],screenshotLayers:[]},o=n.template||new se;o.showLabels??=!0;let s;o.format===`pdf`&&(s={enablePdfAccessibility:!0});let c=ee(o.layout),l=o.exportOptions;if(l){let e=l.dpi;if(s??={},s.dpi=e,c?.toLowerCase()===`map_only`||c===``){let{width:e,height:t}=l;s.outputSize=e!=null&&t!=null?[e,t]:void 0}}let u=o.layoutOptions,d;if(u){let e,t;u.scalebarUnit===`Miles`||u.scalebarUnit===`Kilometers`?(e=`Kilometers`,t=`Miles`):(u.scalebarUnit===`Meters`||u.scalebarUnit===`Feet`)&&(e=`Meters`,t=`Feet`),d={titleText:u.titleText,authorText:u.authorText,copyrightText:u.copyrightText,customTextElements:u.customTextElements,elementOverrides:u.elementOverrides,scaleBarOptions:e||t?{metricUnit:T.toJSON(e)??void 0,metricLabel:e?w[e]:void 0,nonMetricUnit:T.toJSON(t)??void 0,nonMetricLabel:t?w[t]:void 0}:void 0}}for(let e of u?.legendLayers??[])a.legendLayerNameMap[e.layerId]=e.title;let f=await I(n,o,a);if(f.operationalLayers){let e=RegExp(`[\\u4E00-\\u9FFF\\u0E00-\\u0E7F\\u0900-\\u097F\\u3040-\\u309F\\u30A0-\\u30FF\\u31F0-\\u31FF]`),t=/[\u0600-\u06FF]/,n=n=>{let r=n.text,i=n.font,a=i?.family?.toLowerCase();r&&i&&(a===`arial`||a===`arial unicode ms`)&&(i.family=e.test(r)?`Arial Unicode MS`:`Arial`,i.style!==`normal`&&t.test(r)&&(i.family=`Arial Unicode MS`))};for(let e of f.operationalLayers)if(e.featureCollection?.layers)for(let t of e.featureCollection.layers){let e=t.layerDefinition?.drawingInfo?.renderer;if(e&&`symbol`in e&&e.symbol?.type===`esriTS`&&n(e.symbol),t.featureSet?.features)for(let e of t.featureSet.features){let t=e.symbol;t?.type===`esriTS`&&n(t)}}}let p=null;u?.legendLayers&&(p=u.legendLayers.filter(e=>!a.screenshotLayers.includes(e.layerId)).map(e=>{let t={id:e.layerId};if(e.subLayerIds){t.subLayerIds=e.subLayerIds;let n=e.dynamicLegend;n!=null&&(t.subLayerDynamicLegends=e.subLayerIds.map(()=>n))}return e.dynamicLegend!=null&&(t.dynamicLegend=e.dynamicLegend),t})),n.outSpatialReference&&(f.mapOptions.spatialReference=n.outSpatialReference.toJSON()),n.datumTransformations?.length&&(f.mapOptions.datumTransformations=n.datumTransformations.map(e=>e.toJSON())),f.exportOptions=s,f.layoutOptions={...d,legendOptions:{operationalLayers:p??a.legendLayers.slice()}};let m={Web_Map_as_JSON:JSON.stringify(f),Format:v.toJSON(o.format),Layout_Template:c,Report_Template:ce(o.report)};if(o.layoutItem){delete m.Layout_Template;let t=o.layoutItem;await t.load(),t.access!==`public`&&e&&await e.getCredential(i.gpServerUrl),m.Layout_Item_ID=JSON.stringify({id:t.id})}if(o.reportItem){delete m.Report_Template;let t=o.reportItem;await t.load(),t.access!==`public`&&e&&await e.getCredential(i.gpServerUrl),m.Report_Item_ID=JSON.stringify({id:t.id})}return n.extraParameters&&Object.assign(m,n.extraParameters),m}async function F(e,n){let r=await A(e,n),i=r.gpMetadata?.tasks,a=r.gpServerUrl;if(r.taskInfos)return r.taskInfos;let o=(await t(e,m({f:`json`},n))).data;r.taskInfos={ExportWebMap:o};let s=i?.filter(e=>e!==o.name)??[];return await Promise.all(s.map(async e=>{let i=(await t(`${a}/${e}`,m({f:`json`},n))).data,o=i.name.startsWith(`GetLayoutTemplatesInfo`)?`GetLayoutTemplatesInfo`:null;o&&(r.taskInfos[o]??=i)})),r.taskInfos}async function I(e,t,n){let r=e.view,i=r.spatialReference,a={operationalLayers:await z(r,t,n),mapOptions:{extent:null,spatialReference:null,showAttribution:t.attributionVisible}};t.includeTables&&(a.tables=await we(r));let o=e.extent||n.screenshotExtent||r.extent;if(i?.isWrappable&&(o=o.clone().shiftCentralMeridian(),i=o.spatialReference),a.mapOptions={extent:o&&o.toJSON(),spatialReference:i&&i.toJSON(),showAttribution:t.attributionVisible},r.background&&(a.background=r.background.toJSON()),r.rotation&&(a.mapOptions.rotation=-r.rotation),t.scalePreserved&&(a.mapOptions.scale=t.outScale||r.scale),r.timeExtent!=null){let e=r.timeExtent.start==null?null:r.timeExtent.start.getTime(),t=r.timeExtent.end==null?null:r.timeExtent.end.getTime();a.mapOptions.time=[e,t]}return t.reportOptions&&(a.reportOptions=t.reportOptions),a}function L(e){let t=e,n=t.lastIndexOf(`/GPServer/`);return n>0&&(t=t.slice(0,n+9)),t}const R={getGPServerUrl:L,cache:D};async function z(e,t,n){let r=[],i=0;t.scalePreserved&&(i=t.outScale||e.scale);let a={layerView:null,outScale:i,printTemplate:t,view:e},o=te(e,i);for(let e of o){let t=e.layer;if(!t.loaded||`layers`in t)continue;let i;a.layerView=e,i=ne(e)?await W(t,a,n):re(t)?B(t):t?.type===`csv`?await H(t,a,n):t?.type===`catalog-footprint`?await V(t,a,n):t?.type===`feature`?await fe(t,a,n):t?.type===`geojson`?await pe(t,a,n):t?.type===`graphics`?await me(t,a,n):t?.type===`imagery`?he(t,n):t?.type===`imagery-tile`?await ge(t,a,n):t?.type===`kml`?await _e(t,a,n):t?.type===`map-image`?ve(t,a,n):t?.type===`map-notes`?await ye(a,n):t?.type===`open-street-map`?be():t?.type===`sketch`?await xe(t,a,n):t?.type===`stream`?await Se(t,a,n):t?.type===`subtype-group`?await Ce(t,n):t?.type===`tile`?Te(t,n):t?.type===`vector-tile`?await Ee(t,a,n):t?.type===`web-tile`?De(t):t?.type===`wfs`?await Oe(t,a,n):t?.type===`wms`?G(t,n):t?.type===`wmts`?ke(t):await W(t,a,n),i&&(Array.isArray(i)?r.push(...i):(i.id=t.id,i.title=n.legendLayerNameMap[t.id]||t.title,i.opacity=e.fullOpacity,i.minScale=t.minScale||0,i.maxScale=t.maxScale||0,y(t)&&t.blendMode&&t.blendMode!==`normal`&&(i.blendMode=t.blendMode),r.push(i)))}if(i)for(let e of r)e.minScale=0,e.maxScale=0;if(e.graphics?.length){let i=await U(null,e.graphics,t,n);i&&r.push(i)}return r}function B(e){return{culture:e.culture,key:e.key,type:`BingMaps${e.style===`aerial`?`Aerial`:e.style===`hybrid`?`Hybrid`:`Road`}`}}async function V(e,{layerView:t,printTemplate:n},r){if(!r.capabilities.supportsCatalogLayer)return U(e,await Z(t),n,r);let i=e.parent,{id:a,url:o,layerType:s,customParameters:c,footprintLayer:l,layerDefinition:u}=Q(i,`web-map`),d={id:a,url:o,layerType:s,customParameters:c,dynamicGroupLayer:{visibility:!1},footprintLayer:l,layerDefinition:u};return K(d,i),d}async function H(e,t,n){e.legendEnabled&&n.legendLayers.push({id:e.id});let r=t.layerView,i=t.printTemplate;if(!r.filter&&(!e.portalItem||e.portalItem.access===`public`)){let t=Q(e,`web-map`);return t.type=`CSV`,delete t.popupInfo,delete t.layerType,t.showLabels=i.showLabels&&e.labelsVisible,t}return U(e,await Z(r),i,n)}async function U(e,t,n,r){let i,a=ie(),o=ae(),s=S(),c=oe(),d=S();if(d.layerDefinition.name=`textLayer`,delete d.layerDefinition.drawingInfo,e){if((e.type===`feature`||e.type===`stream`)&&(a.layerDefinition.name=o.layerDefinition.name=s.layerDefinition.name=c.layerDefinition.name=r.legendLayerNameMap[e.id]||e.title||void 0),`renderer`in e&&e.renderer){let t=e.renderer.toJSON(),n=a.layerDefinition.drawingInfo;n&&(n.renderer=t);let r=o.layerDefinition.drawingInfo;r&&(r.renderer=t);let i=s.layerDefinition.drawingInfo;i&&(i.renderer=t);let l=c.layerDefinition.drawingInfo;l&&(l.renderer=t)}if(n.showLabels&&`labelsVisible`in e&&e.labelsVisible&&`write`in e){let t=Q(e).layerDefinition?.drawingInfo?.labelingInfo;if(t){i=!0;let e=a.layerDefinition.drawingInfo;e&&(e.labelingInfo=t);let n=o.layerDefinition.drawingInfo;n&&(n.labelingInfo=t);let r=s.layerDefinition.drawingInfo;r&&(r.labelingInfo=t);let l=c.layerDefinition.drawingInfo;l&&(l.labelingInfo=t)}}}!(e&&`renderer`in e&&e.renderer)&&!i&&(delete a.layerDefinition.drawingInfo,delete o.layerDefinition.drawingInfo,delete s.layerDefinition.drawingInfo,delete c.layerDefinition.drawingInfo);let f,p=e&&`fieldsIndex`in e?e.fieldsIndex:void 0,m=e&&`renderer`in e?e.renderer:null;if(p){let t=new Set;i&&e&&`fieldsIndex`in e&&await u(t,e),m&&typeof m.collectRequiredFields==`function`&&await m.collectRequiredFields(t,p),f=Array.from(t);let n=p.fields.map(e=>e.toJSON());a.layerDefinition.fields=n,o.layerDefinition.fields=n,s.layerDefinition.fields=n,c.layerDefinition.fields=n}for(let e of t??[]){let t=e.geometry;if(e.visible===!1||!t)continue;let r=e.toJSON();if(Object.hasOwn(r,`popupTemplate`)&&delete r.popupTemplate,r.geometry&&`z`in r.geometry&&r.geometry.z&&delete r.geometry.z,r.symbol){if(`angle`in r.symbol&&!r.symbol.angle){let e=r.symbol;delete e.angle}$(r.symbol)?r.symbol=await q(r.symbol):`text`in r.symbol&&r.symbol.text&&delete r.attributes}if((!n||!n.forceFeatureAttributes)&&f?.length){let e={};for(let t of f)r.attributes&&Object.hasOwn(r.attributes,t)&&(e[t]=r.attributes[t]);r.attributes=e}let i=r;t.type===`polygon`?a.featureSet.features.push(i):t.type===`polyline`?o.featureSet.features.push(i):t.type===`point`?r.symbol&&`text`in r.symbol&&r.symbol.text?d.featureSet.features.push(i):s.featureSet.features.push(i):t.type===`multipoint`?c.featureSet.features.push(i):t.type===`extent`&&(r.geometry=l.fromExtent(t).toJSON(),a.featureSet.features.push(i))}let h=[a,o,c,s,d].filter(e=>e.featureSet.features.length>0);for(let e of h){let t=e.featureSet.features.every(e=>`symbol`in e&&e.symbol);if(t&&(!n||!n.forceFeatureAttributes))for(let t of e.featureSet.features)delete t.attributes;t&&delete e.layerDefinition.drawingInfo,e.layerDefinition.drawingInfo?.renderer&&(await X(e.layerDefinition.drawingInfo.renderer),await J(e.layerDefinition.drawingInfo.renderer))}return h.length?{featureCollection:{layers:h},showLabels:i}:null}async function fe(e,t,n){let r=e.renderer,i=n.capabilities;if(e.featureReduction?.type===`binning`||e.featureReduction?.type===`cluster`&&(!i.supportsClustering||e.featureReduction.renderer?.type===`pie-chart`)||r?.type===`pie-chart`&&!i.supportsPieChartRenderer||r?.type===`dot-density`&&!i.supportsDotDensityRenderer||e.geometryType===`polygon`&&r?.authoringInfo?.visualVariables?.some(e=>e.theme===`spike`))return W(e,t,n);e.legendEnabled&&n.legendLayers.push({id:e.id});let a=t.layerView,{printTemplate:o,view:s}=t,c=e.source?.type!==`feature-layer`&&e.source?.type!==`ogc-feature`;if(!a.filter&&!c&&r&&(!(`field`in r)||r.field==null||e.getField(r.field))){let{id:t,title:n,url:i,layerType:c,customParameters:l,layerDefinition:u,charts:f}=Q(e),m={id:t,title:n,url:i,layerType:c,customParameters:l,layerDefinition:u,charts:o.includeCharts?f:void 0};o.attributionVisible&&(m.credits=b(e)),m.showLabels=o.showLabels&&e.labelsVisible&&!!e.labelingInfo&&e.labelingInfo.length>0,K(m,e);let h=m.layerDefinition?.featureReduction;if(delete h?.disablePopup,delete h?.popupInfo,a.displayFilterEnabled||delete m.layerDefinition?.displayFilterInfo,m.layerDefinition?.drawingInfo?.renderer&&(delete m.layerDefinition.minScale,delete m.layerDefinition.maxScale,await X(m.layerDefinition.drawingInfo.renderer),await J(m.layerDefinition.drawingInfo.renderer),`visualVariables`in r&&r.visualVariables?.[0])){let e=r.visualVariables[0];if(e.type===`size`&&e.maxSize&&typeof e.maxSize!=`number`&&e.minSize&&typeof e.minSize!=`number`){let t=p(e,s.scale),n=m.layerDefinition.drawingInfo.renderer;if(`visualVariables`in n&&n.visualVariables?.[0]?.type===`sizeInfo`){let e=n.visualVariables[0];e.minSize=t.minSize,e.maxSize=t.maxSize}}}let g=d(a);if(g&&(m.layerDefinition??={},m.layerDefinition.definitionExpression=m.layerDefinition.definitionExpression?`(${m.layerDefinition.definitionExpression}) AND (${g})`:g),e.gdbVersion&&(m.layerDefinition??={},m.layerDefinition.gdbVersion=e.gdbVersion),a.hasHighlight&&`highlightIds`in a){m.selectionObjectIds=a.highlightIds;let t=s.defaultHighlight??new ue;m.selectionSymbol=x(e.geometryType,t)}return m}return U(e,await Z(a),o,n)}async function pe(e,t,n){return e.featureReduction?.type===`binning`||e.featureReduction?.type===`cluster`?W(e,t,n):(e.legendEnabled&&n.legendLayers.push({id:e.id}),U(e,await Z(t.layerView),t.printTemplate,n))}async function me(e,{printTemplate:t},n){return U(e,e.graphics,t,n)}function he(e,t){e.legendEnabled&&t.legendLayers.push({id:e.id});let{layerType:n,customParameters:r}=Q(e),i={layerType:n,customParameters:r};return i.bandIds=e.bandIds,i.compressionQuality=e.compressionQuality,i.format=e.format,i.interpolation=e.interpolation,(e.mosaicRule||e.definitionExpression)&&(i.mosaicRule=e.exportImageServiceParameters.mosaicRule.toJSON()),e.rasterFunction&&(i.renderingRule=e.rasterFunction.toJSON()),e.renderer&&(i.layerDefinition??={},i.layerDefinition.drawingInfo??={},i.layerDefinition.drawingInfo.renderer=e.renderer.toJSON()),K(i,e),i}async function ge(e,t,n){if(e.renderer?.type===`flow`||!e.supportsWrite())return W(e,t,n);e.legendEnabled&&n.legendLayers.push({id:e.id});let{bandIds:r,customParameters:i,interpolation:a,layerDefinition:o}=Q(e),s={bandIds:r,customParameters:i,interpolation:a,layerDefinition:o};return s.layerType=`ArcGISImageServiceLayer`,K(s,e),s}async function _e(e,t,n){let r=t.printTemplate;if(!e.portalItem||e.portalItem.access===`public`){let t=Q(e,`web-map`);return t.type=`kml`,delete t.layerType,t.url=s(e.url),t}let i=[],a=t.layerView;a.allVisibleMapImages.forEach((t,n)=>{let r={id:`${e.id}_image${n}`,type:`image`,title:e.id,minScale:e.minScale||0,maxScale:e.maxScale||0,opacity:a.fullOpacity,extent:t.extent};t.href.startsWith(`data:image/png;base64,`)?r.imageData=t.href.slice(22):r.url=t.href,i.push(r)});let o=[...a.allVisiblePoints.items,...a.allVisiblePolylines.items,...a.allVisiblePolygons.items],c={id:e.id,...await U(null,o,r,n)};return i.push(c),i}function ve(e,{outScale:t,printTemplate:n,view:r},i){let a={id:e.id,subLayerIds:[]},o=[],s=t||r.scale,c=e=>{let t=s===0,n=e.minScale===0||s<=e.minScale,i=e.maxScale===0||s>=e.maxScale;if(e.visible&&(t||n&&i)){if(e.sublayers)e.sublayers.forEach(c);else{let t=f(r.floors,e),n=e.toExportImageJSON(t),i={id:e.id,name:e.title,layerDefinition:{definitionExpression:n.definitionExpression,drawingInfo:n.drawingInfo,orderBy:n.orderBy,source:n.source}};o.unshift(i),a.subLayerIds.push(e.id)}}};if(e.sublayers?.forEach(c),o.length){o=o.map(({id:e,name:t,layerDefinition:n})=>({id:e,name:t,layerDefinition:n}));let{layerType:t,customParameters:r}=Q(e),s={layerType:t,customParameters:r};return s.layers=o,s.visibleLayers=e.capabilities?.exportMap?.supportsDynamicLayers?void 0:a.subLayerIds,n.attributionVisible&&(s.credits=b(e)),e.gdbVersion&&(s.gdbVersion=e.gdbVersion),K(s,e),e.legendEnabled&&i.legendLayers.push(a),s}}async function ye({layerView:e,printTemplate:t},n){let r=[],i=e.layer;if(i.featureCollections!=null)for(let e of i.featureCollections){let i=await U(e,e.source?.type===`memory`?e.source.items:[],t,n);i&&r.push(...i.featureCollection.layers)}else if(i.sublayers!=null)for(let e of i.sublayers){let i=await U(null,e.graphics,t,n);i&&r.push(...i.featureCollection.layers)}return{featureCollection:{layers:r}}}function be(){return{type:`OpenStreetMap`}}async function xe(e,{printTemplate:t},n){let r=[];if(e.featureCollections!=null)for(let i of e.featureCollections){let e=await U(i,i.source?.type===`memory`?i.source.items:[],t,n);e&&r.push(...e.featureCollection.layers)}else{let i=await U(null,e.graphics,t,n);i&&r.push(...i.featureCollection.layers)}return{featureCollection:{layers:r}}}async function W(e,{printTemplate:t,view:n},i){i.screenshotLayers.push(e.id);let a={format:`png`,ignoreBackground:!0,ignorePadding:!0,layers:[e]};n.rotation!==0&&(a.rotation=0);let s=i.screenshotExtent||n.state.extent.clone(),c=96,l=!0,u=!0;if(t.exportOptions){let e=t.exportOptions;e.dpi!=null&&e.dpi>0&&(c=e.dpi),e.width!=null&&e.width>0&&(l=e.width%2==n.width%2),e.height!=null&&e.height>0&&(u=e.height%2==n.height%2)}if(t.layout===`map-only`&&t.scalePreserved&&(!t.outScale||t.outScale===n.scale)&&c===96&&(!l||!u)&&n.state.extent.equals(n.extent)&&(a.area={x:0,y:0,width:n.width,height:n.height},l||--a.area.width,u||--a.area.height,!i.screenshotExtent)){let e=n.toMap(r(a.area.width,a.area.height));s.ymin=e.y,s.xmax=e.x,i.screenshotExtent=s}let d=s.clone().shiftCentralMeridian().toJSON(),f=await n.takeScreenshot(a);return{type:`image`,extent:d,imageData:o(f.dataUrl)?.data}}async function Se(e,{layerView:t,printTemplate:n},r){return e.legendEnabled&&r.legendLayers.push({id:e.id}),U(e,await Z(t),n,r)}async function Ce(e,t){if(e.legendEnabled)for(let n of e.sublayers)n.legendEnabled&&t.legendLayers.push({id:n.id});let{customParameters:n,effect:r,layerDefinition:i,layerType:a,layers:o,url:s}=Q(e),c={customParameters:n,effect:r,layerDefinition:i,layerType:a,layers:o,url:s};if(K(c,e),Array.isArray(c.layers)){for(let e of c.layers)delete e.popupInfo;c.token&&c.layers.length>0&&(c.layers[c.layers.length-1].token=c.token,delete c.token)}return c}async function we(e){let t=[],n=[];for(let t of e.map.allTables)t.type===`feature`&&!t.loaded&&n.push(t.load());n.length&&await Promise.allSettled(n);for(let n of e.map.allTables)if(n.type===`feature`&&n.loaded&&n.isTable&&n.source?.type===`feature-layer`){let{id:e,title:r,customParameters:i,layerDefinition:a,url:o}=Q(n),s={id:e,title:r,customParameters:i,layerDefinition:{definitionExpression:a?.definitionExpression},url:o};K(s,n),t.push(s)}return t.length?t:void 0}function Te(e,t){e.legendEnabled&&t.legendLayers.push({id:e.id});let{layerType:n,customParameters:r}=Q(e),i={layerType:n,customParameters:r};return K(i,e),i}async function Ee(e,t,n){let r=t.layerView;if(e.serviceUrl&&e.styleUrl&&!r.spriteSourceChanged&&!r.styleChanged){let t=h(e.styleUrl,e.apiKey),r=h(e.serviceUrl,e.apiKey);if(!t&&!r||n.capabilities.supportsSecureVectorTileLayer){let n={type:`VectorTileLayer`};return n.styleUrl=s(e.styleUrl),n.token=t,r!==t&&(n.additionalTokens=[{url:e.serviceUrl,token:r}]),n}}return W(e,t,n)}function De(e){let t={type:`WebTiledLayer`,urlTemplate:e.urlTemplate?.replaceAll("${",`{`),credits:e.copyright};return e.subDomains&&e.subDomains.length>0&&(t.subDomains=e.subDomains),t}async function Oe(e,t,n){if(!n.capabilities.supportsWFSLayer)return W(e,t,n);e.legendEnabled&&n.legendLayers.push({id:e.id});let{layerType:r,layerDefinition:i,url:a,wfsInfo:o}=Q(e,`web-map`);return{layerType:r,layerDefinition:i,url:a,wfsInfo:o}}function G(e,t){let n=[],r=e=>{e.visible&&(e.sublayers?e.sublayers.forEach(r):e.name&&n.unshift(e.name))};if(e.sublayers?.forEach(r),n.length)return e.legendEnabled&&t.legendLayers.push({id:e.id,subLayerIds:n}),{type:`wms`,customLayerParameters:e.customLayerParameters,customParameters:e.customParameters,transparentBackground:e.imageTransparency,visibleLayers:n,url:s(e.url),version:e.version}}function ke(e){let t=e.activeLayer;return{type:`wmts`,customLayerParameters:e.customLayerParameters,customParameters:e.customParameters,format:t.imageFormat,layer:t.id,style:t.styleId,tileMatrixSet:t.tileMatrixSetId,url:s(e.url)}}function K(e,t){if(!t.url)return;let n=typeof e.url==`string`&&e.url?e.url:t.url,r=s(n);e.url=r,e.token=h(r,t.apiKey)}async function q(e){if(e.type===`esriSMS`&&!e.path)return null;let n=e.type===`esriSMS`?null:(await t(e.contentType===`image/svg+xml`?`data:image/svg+xml;base64,`+e.imageData:e.url,{responseType:`image`})).data,r=de??=document.createElement(`canvas`),o=1024;r.width=o,r.height=o;let s=r.getContext(`2d`),c,l;if(e.type===`esriSMS`){let t=new Path2D(e.path);t.closePath(),s.fillStyle=Array.isArray(e.color)?`rgba(${e.color[0]},${e.color[1]},${e.color[2]},${e.color[3]/255})`:`rgb(0,0,0)`,s.fill(t);let n=C(s);if(!n)return null;s.clearRect(0,0,o,o);let r=i(e.size)/Math.max(n.width,n.height);s.scale(r,r);let a=o/r,u=a/2-n.width/2-n.x,d=a/2-n.height/2-n.y;if(s.translate(u,d),Array.isArray(e.color)&&s.fill(t),e.outline?.width&&Array.isArray(e.outline.color)){let a=e.outline;s.lineWidth=i(a.width)/r,s.lineJoin=`round`,s.strokeStyle=`rgba(${a.color[0]},${a.color[1]},${a.color[2]},${a.color[3]/255})`,s.stroke(t),n.width+=s.lineWidth,n.height+=s.lineWidth}n.width*=r,n.height*=r;let f=s.getImageData(o/2-n.width/2,o/2-n.height/2,Math.ceil(n.width),Math.ceil(n.height));c=f.width,l=f.height,s.canvas.width=c,s.canvas.height=l,s.putImageData(f,0,0)}else c=i(e.width),l=i(e.height),s.canvas.width=c,s.canvas.height=l,s.drawImage(n,0,0,s.canvas.width,s.canvas.height);return{type:`esriPMS`,imageData:s.canvas.toDataURL(`image/png`).slice(22),angle:e.angle,contentType:`image/png`,height:a(l),width:a(c),xoffset:e.xoffset,yoffset:e.yoffset}}async function J(e){let t=e.type;if(t===`simple`&&$(e.symbol))e.symbol=await q(e.symbol)??{type:`esriSMS`,color:[0,0,0,0],size:0,style:`esriSMSSquare`};else if(t===`uniqueValue`){if($(e.defaultSymbol)&&(e.defaultSymbol=await q(e.defaultSymbol)),`uniqueValueInfos`in e&&e.uniqueValueInfos)for(let t of e.uniqueValueInfos)$(t.symbol)&&(t.symbol=await q(t.symbol));if(`uniqueValueGroups`in e&&e.uniqueValueGroups)for(let t of e.uniqueValueGroups)for(let e of t.classes)$(e.symbol)&&(e.symbol=await q(e.symbol))}else if(t===`classBreaks`){$(e.defaultSymbol)&&(e.defaultSymbol=await q(e.defaultSymbol));for(let t of e.classBreakInfos)$(t.symbol)&&(t.symbol=await q(t.symbol))}}async function Y(e){if(e?.type!==`styleSymbolReference`)return e;try{return(await le.fromJSON(e).fetchSymbol())?.toJSON()??e}catch{return e}}async function X(e){if(e.type===`simple`&&e.symbol)e.symbol=await Y(e.symbol);else if(e.type===`uniqueValue`){if(e.defaultSymbol=await Y(e.defaultSymbol),`uniqueValueInfos`in e&&e.uniqueValueInfos)for(let t of e.uniqueValueInfos)t.symbol=await Y(t.symbol);if(`uniqueValueGroups`in e&&e.uniqueValueGroups)for(let t of e.uniqueValueGroups)for(let e of t.classes)e.symbol=await Y(e.symbol)}else if(e.type===`classBreaks`){e.defaultSymbol=await Y(e.defaultSymbol);for(let t of e.classBreakInfos)t.symbol=await Y(t.symbol)}}async function Z(e){return e.queryFeatures(e.createQuery()).then(e=>e.features)}function Q(e,t){return e.write({},{ignorePersistenceEnabled:!0,origin:t})??{}}function Ae(e){return e.gpMetadata?.executionType?E.fromJSON(e.gpMetadata.executionType):`sync`}function $(e){return e?.type===`esriSMS`&&`path`in e&&!!e.path||(e?.type===`esriPMS`||e?.type===`esriPFS`)&&(`contentType`in e&&e.contentType===`image/svg+xml`||`url`in e&&!!e.url?.endsWith(`.svg`))}export{O as execute,P as getGPPrintParameters,j as getMode,A as getPrintCache,k as getPrintCapabilities,N as getTaskExecutionMode,M as getTaskInfo,R as test};
|
|
@@ -26,4 +26,5 @@ export default class AttributeBinsFeatureSet extends AttributeBinsFeatureSetSupe
|
|
|
26
26
|
get features(): AttributeBinsGraphic[];
|
|
27
27
|
set features(value: AttributeBinsGraphicProperties[]);
|
|
28
28
|
}
|
|
29
|
-
declare const AttributeBinsFeatureSetSuperclass: typeof FeatureSet & typeof ClonableMixin
|
|
29
|
+
declare const AttributeBinsFeatureSetSuperclass: typeof FeatureSet & typeof ClonableMixin
|
|
30
|
+
export {};
|
|
@@ -36,4 +36,5 @@ export default class AttributeBinsGrouping extends AttributeBinsGroupingSupercla
|
|
|
36
36
|
*/
|
|
37
37
|
valueType?: AttributeBinsGroupingType | null;
|
|
38
38
|
}
|
|
39
|
-
declare const AttributeBinsGroupingSuperclass: typeof JSONSupport & typeof ClonableMixin
|
|
39
|
+
declare const AttributeBinsGroupingSuperclass: typeof JSONSupport & typeof ClonableMixin
|
|
40
|
+
export {};
|
|
@@ -366,4 +366,5 @@ export default class AttributeBinsQuery extends AttributeBinsQuerySuperclass {
|
|
|
366
366
|
*/
|
|
367
367
|
accessor where: string | null | undefined;
|
|
368
368
|
}
|
|
369
|
-
declare const AttributeBinsQuerySuperclass: typeof JSONSupport & typeof ClonableMixin
|
|
369
|
+
declare const AttributeBinsQuerySuperclass: typeof JSONSupport & typeof ClonableMixin
|
|
370
|
+
export {};
|
|
@@ -45,4 +45,5 @@ export default class AutoIntervalBinParameters extends AutoIntervalBinParameters
|
|
|
45
45
|
/** The type of bin parameters. */
|
|
46
46
|
readonly type: "auto-interval";
|
|
47
47
|
}
|
|
48
|
-
declare const AutoIntervalBinParametersSuperclass: typeof BinParametersBase & typeof NormalizationBinParametersMixin
|
|
48
|
+
declare const AutoIntervalBinParametersSuperclass: typeof BinParametersBase & typeof NormalizationBinParametersMixin
|
|
49
|
+
export {};
|
|
@@ -172,4 +172,5 @@ export default abstract class BinParametersBase extends BinParametersBaseSupercl
|
|
|
172
172
|
get stackBy(): AttributeBinsGrouping | null | undefined;
|
|
173
173
|
set stackBy(value: AttributeBinsGroupingProperties | null | undefined);
|
|
174
174
|
}
|
|
175
|
-
declare const BinParametersBaseSuperclass: typeof JSONSupport & typeof ClonableMixin
|
|
175
|
+
declare const BinParametersBaseSuperclass: typeof JSONSupport & typeof ClonableMixin
|
|
176
|
+
export {};
|
|
@@ -18,4 +18,5 @@ export default class CameraInfo extends CameraInfoSuperclass {
|
|
|
18
18
|
/** Camera id. */
|
|
19
19
|
accessor id: string;
|
|
20
20
|
}
|
|
21
|
-
declare const CameraInfoSuperclass: typeof JSONSupport & typeof CameraInfoMixin
|
|
21
|
+
declare const CameraInfoSuperclass: typeof JSONSupport & typeof CameraInfoMixin
|
|
22
|
+
export {};
|
|
@@ -585,4 +585,5 @@ export default class ClosestFacilityParameters extends ClosestFacilityParameters
|
|
|
585
585
|
*/
|
|
586
586
|
accessor useHierarchy: boolean | null | undefined;
|
|
587
587
|
}
|
|
588
|
-
declare const ClosestFacilityParametersSuperclass: typeof JSONSupport & typeof ClonableMixin
|
|
588
|
+
declare const ClosestFacilityParametersSuperclass: typeof JSONSupport & typeof ClonableMixin
|
|
589
|
+
export {};
|
|
@@ -95,4 +95,5 @@ export default class DataLayer extends DataLayerSuperclass {
|
|
|
95
95
|
*/
|
|
96
96
|
accessor where: string | null | undefined;
|
|
97
97
|
}
|
|
98
|
-
declare const DataLayerSuperclass: typeof JSONSupport & typeof ClonableMixin
|
|
98
|
+
declare const DataLayerSuperclass: typeof JSONSupport & typeof ClonableMixin
|
|
99
|
+
export {};
|
|
@@ -20,4 +20,5 @@ export default class DateBinTimeInterval extends DateBinTimeIntervalSuperclass {
|
|
|
20
20
|
/** The numerical value of the time extent. This property works along with [unit](https://developers.arcgis.com/javascript/latest/references/core/rest/support/DateBinTimeInterval/#unit) to define the time interval or time offset to generate date bins. */
|
|
21
21
|
accessor value: number;
|
|
22
22
|
}
|
|
23
|
-
declare const DateBinTimeIntervalSuperclass: typeof JSONSupport & typeof ClonableMixin
|
|
23
|
+
declare const DateBinTimeIntervalSuperclass: typeof JSONSupport & typeof ClonableMixin
|
|
24
|
+
export {};
|
|
@@ -94,4 +94,5 @@ export default class DirectionLine extends DirectionLineSuperclass {
|
|
|
94
94
|
*/
|
|
95
95
|
toGraphic(): Graphic;
|
|
96
96
|
}
|
|
97
|
-
declare const DirectionLineSuperclass: typeof JSONSupport & typeof ClonableMixin
|
|
97
|
+
declare const DirectionLineSuperclass: typeof JSONSupport & typeof ClonableMixin
|
|
98
|
+
export {};
|
|
@@ -104,4 +104,5 @@ export default class DirectionPoint extends DirectionPointSuperclass {
|
|
|
104
104
|
*/
|
|
105
105
|
toGraphic(): Graphic;
|
|
106
106
|
}
|
|
107
|
-
declare const DirectionPointSuperclass: typeof JSONSupport & typeof ClonableMixin
|
|
107
|
+
declare const DirectionPointSuperclass: typeof JSONSupport & typeof ClonableMixin
|
|
108
|
+
export {};
|
|
@@ -47,4 +47,5 @@ export default class FindImagesParameters extends FindImagesParametersSuperclass
|
|
|
47
47
|
/** A where clause for the query. Any legal SQL where clause operating on the fields in the layer is allowed. */
|
|
48
48
|
accessor where: string | null | undefined;
|
|
49
49
|
}
|
|
50
|
-
declare const FindImagesParametersSuperclass: typeof JSONSupport & typeof ClonableMixin
|
|
50
|
+
declare const FindImagesParametersSuperclass: typeof JSONSupport & typeof ClonableMixin
|
|
51
|
+
export {};
|
|
@@ -47,4 +47,5 @@ export default class FixedIntervalBinParameters extends FixedIntervalBinParamete
|
|
|
47
47
|
/** The type of bin parameters. */
|
|
48
48
|
readonly type: "fixed-interval";
|
|
49
49
|
}
|
|
50
|
-
declare const FixedIntervalBinParametersSuperclass: typeof BinParametersBase & typeof NormalizationBinParametersMixin
|
|
50
|
+
declare const FixedIntervalBinParametersSuperclass: typeof BinParametersBase & typeof NormalizationBinParametersMixin
|
|
51
|
+
export {};
|
|
@@ -22,4 +22,5 @@ export default class ImageBoundaryParameters extends ImageBoundaryParametersSupe
|
|
|
22
22
|
get outSpatialReference(): SpatialReference | null | undefined;
|
|
23
23
|
set outSpatialReference(value: SpatialReferenceProperties | null | undefined);
|
|
24
24
|
}
|
|
25
|
-
declare const ImageBoundaryParametersSuperclass: typeof JSONSupport & typeof ClonableMixin
|
|
25
|
+
declare const ImageBoundaryParametersSuperclass: typeof JSONSupport & typeof ClonableMixin
|
|
26
|
+
export {};
|
|
@@ -57,4 +57,5 @@ export default class ImageGPSInfoParameters extends ImageGPSInfoParametersSuperc
|
|
|
57
57
|
/** A where clause for the query. Any legal SQL where clause operating on the fields in the layer is allowed. */
|
|
58
58
|
accessor where: string | null | undefined;
|
|
59
59
|
}
|
|
60
|
-
declare const ImageGPSInfoParametersSuperclass: typeof JSONSupport & typeof ClonableMixin
|
|
60
|
+
declare const ImageGPSInfoParametersSuperclass: typeof JSONSupport & typeof ClonableMixin
|
|
61
|
+
export {};
|
|
@@ -47,4 +47,5 @@ export default class ImageToMapMultirayParameters extends ImageToMapMultirayPara
|
|
|
47
47
|
/** The rasterIds of the raster items that correspond to the input [geometries](https://developers.arcgis.com/javascript/latest/references/core/rest/support/ImageToMapMultirayParameters/#geometries). */
|
|
48
48
|
accessor rasterIds: number[];
|
|
49
49
|
}
|
|
50
|
-
declare const ImageToMapMultirayParametersSuperclass: typeof JSONSupport & typeof ClonableMixin
|
|
50
|
+
declare const ImageToMapMultirayParametersSuperclass: typeof JSONSupport & typeof ClonableMixin
|
|
51
|
+
export {};
|
|
@@ -55,4 +55,5 @@ export default class ImageToMapParameters extends ImageToMapParametersSuperclass
|
|
|
55
55
|
/** The corresponding raster id for the input [geometry](https://developers.arcgis.com/javascript/latest/references/core/rest/support/ImageToMapParameters/#geometry). */
|
|
56
56
|
accessor rasterId: number;
|
|
57
57
|
}
|
|
58
|
-
declare const ImageToMapParametersSuperclass: typeof JSONSupport & typeof ClonableMixin
|
|
58
|
+
declare const ImageToMapParametersSuperclass: typeof JSONSupport & typeof ClonableMixin
|
|
59
|
+
export {};
|
|
@@ -24,4 +24,5 @@ export default class ImageUrlParameters extends ImageUrlParametersSuperclass {
|
|
|
24
24
|
*/
|
|
25
25
|
accessor referenceUri: string;
|
|
26
26
|
}
|
|
27
|
-
declare const ImageUrlParametersSuperclass: typeof JSONSupport & typeof ClonableMixin
|
|
27
|
+
declare const ImageUrlParametersSuperclass: typeof JSONSupport & typeof ClonableMixin
|
|
28
|
+
export {};
|
|
@@ -83,4 +83,5 @@ export default class ImageVolumeParameters extends ImageVolumeParametersSupercla
|
|
|
83
83
|
get pixelSize(): Point | null | undefined;
|
|
84
84
|
set pixelSize(value: PointProperties | null | undefined);
|
|
85
85
|
}
|
|
86
|
-
declare const ImageVolumeParametersSuperclass: typeof JSONSupport & typeof ClonableMixin
|
|
86
|
+
declare const ImageVolumeParametersSuperclass: typeof JSONSupport & typeof ClonableMixin
|
|
87
|
+
export {};
|
|
@@ -308,4 +308,5 @@ export default class LastMileDeliveryParameters extends LastMileDeliveryParamete
|
|
|
308
308
|
get zones(): FeatureSet | null | undefined;
|
|
309
309
|
set zones(value: FeatureSetProperties | null | undefined);
|
|
310
310
|
}
|
|
311
|
-
declare const LastMileDeliveryParametersSuperclass: typeof JSONSupport & typeof ClonableMixin
|
|
311
|
+
declare const LastMileDeliveryParametersSuperclass: typeof JSONSupport & typeof ClonableMixin
|
|
312
|
+
export {};
|
|
@@ -47,4 +47,5 @@ export default class LocateSettingBase extends LocateSettingBaseSuperclass {
|
|
|
47
47
|
get sources(): LocateSettingSource[] | null | undefined;
|
|
48
48
|
set sources(value: LocateSettingSourceProperties[] | null | undefined);
|
|
49
49
|
}
|
|
50
|
-
declare const LocateSettingBaseSuperclass: typeof JSONSupport & typeof ClonableMixin
|
|
50
|
+
declare const LocateSettingBaseSuperclass: typeof JSONSupport & typeof ClonableMixin
|
|
51
|
+
export {};
|
|
@@ -32,4 +32,5 @@ export default class LocateSettingSource extends LocateSettingSourceSuperclass {
|
|
|
32
32
|
*/
|
|
33
33
|
accessor where: string | null | undefined;
|
|
34
34
|
}
|
|
35
|
-
declare const LocateSettingSourceSuperclass: typeof JSONSupport & typeof ClonableMixin
|
|
35
|
+
declare const LocateSettingSourceSuperclass: typeof JSONSupport & typeof ClonableMixin
|
|
36
|
+
export {};
|
|
@@ -47,4 +47,5 @@ export default class LocateSettings extends LocateSettingsSuperclass {
|
|
|
47
47
|
get overrides(): LocateSettingsOverrides | null | undefined;
|
|
48
48
|
set overrides(value: LocateSettingsOverridesProperties | null | undefined);
|
|
49
49
|
}
|
|
50
|
-
declare const LocateSettingsSuperclass: typeof JSONSupport & typeof ClonableMixin
|
|
50
|
+
declare const LocateSettingsSuperclass: typeof JSONSupport & typeof ClonableMixin
|
|
51
|
+
export {};
|
|
@@ -73,4 +73,5 @@ export default class LocateSettingsOverrides extends LocateSettingsOverridesSupe
|
|
|
73
73
|
get stops(): LocateSetting | null | undefined;
|
|
74
74
|
set stops(value: LocateSettingProperties | null | undefined);
|
|
75
75
|
}
|
|
76
|
-
declare const LocateSettingsOverridesSuperclass: typeof JSONSupport & typeof ClonableMixin
|
|
76
|
+
declare const LocateSettingsOverridesSuperclass: typeof JSONSupport & typeof ClonableMixin
|
|
77
|
+
export {};
|