@vertigis/arcgis-extensions 38.0.5 → 38.2.0
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/AccessDeniedError.js +1 -1
- package/AppConfig.schema.json +35 -39
- package/ArgumentMissingError.js +1 -1
- package/ArgumentOutOfRangeError.js +1 -1
- package/Entity.js +1 -1
- package/FailureMode.d.ts +1 -1
- package/Hyperlink.js +1 -1
- package/LanguageResources.d.ts +1 -3
- package/LanguageResources.js +1 -1
- package/NotFoundError.js +1 -1
- package/PortalUri.js +1 -1
- package/data/ArcGISServiceTableExtension.js +1 -1
- package/data/Attachment.js +1 -1
- package/data/Feature.js +1 -1
- package/data/FeatureList.d.ts +3 -3
- package/data/FeatureList.js +1 -1
- package/data/FeatureSaveError.js +1 -1
- package/data/FeatureSet.js +1 -1
- package/data/FeatureSettings.js +1 -1
- package/data/FeatureSourceBase.js +1 -1
- package/data/FeatureStream.js +1 -1
- package/data/FieldExtension.js +1 -1
- package/data/PopupContentExtension.js +1 -1
- package/data/Relationship.js +1 -1
- package/data/RelationshipBase.js +1 -1
- package/data/Schema.js +1 -1
- package/data/Table.js +1 -1
- package/data/TableExtension.js +1 -1
- package/data/TaskSettings.js +1 -1
- package/data/_Relationship.d.ts +3 -3
- package/data/_Relationship.js +1 -1
- package/data/_TableExtension.js +1 -1
- package/data/convert.js +1 -1
- package/data/support/DefaultRelationshipFactory.js +1 -1
- package/data/support/DefaultTableExtensionFactory.js +1 -1
- package/data/support/attachments.js +1 -1
- package/docs/html/assets/main.js +56 -52
- package/docs/html/assets/search.js +1 -1
- package/docs/html/assets/style.css +23 -0
- package/docs/html/classes/data_FeatureSet.FeatureSet.html +2 -2
- package/docs/html/classes/data_FeatureStream.FeatureStream.html +1 -1
- package/docs/html/classes/utilities_ObservableMap.ObservableMap.html +2 -2
- package/docs/html/classes/utilities_ObservableSet.ObservableSet.html +2 -2
- package/docs/html/classes/utilities_ObservableWeakSet.ObservableWeakSet.html +1 -1
- package/docs/html/classes/utilities_asyncIterable.AsyncQueue.html +1 -1
- package/docs/html/classes/utilities_date.DateFormatter.html +1 -1
- package/docs/html/classes/utilities_string.StringFormatter.html +6 -24
- package/docs/html/functions/utilities_string.format.html +2 -18
- package/docs/html/interfaces/LanguageResources.LanguageResourcesProperties.html +2 -7
- package/docs/html/interfaces/data_support_attachments.AttachmentEnabledLayer.html +4 -6
- package/docs/html/interfaces/mapping_BuildingSceneLayerExtension.BuildingSceneLayerProperties.html +1 -1
- package/docs/html/interfaces/mapping_FeatureLayerExtension.FeatureLayerProperties.html +1 -1
- package/docs/html/interfaces/mapping_FeatureLayerExtensionBase.FeatureLayerBaseProperties.html +1 -1
- package/docs/html/interfaces/mapping_PointCloudLayerExtension.PointCloudLayerProperties.html +1 -1
- package/docs/html/interfaces/portal_ApplicationProperties.ApplicationProperties.html +15 -12
- package/docs/html/interfaces/portal_Background.ColorBackground.html +3 -2
- package/docs/html/interfaces/portal_BaseMap.BaseMap-1.html +2 -1
- package/docs/html/interfaces/portal_BaseMapLayer.BaseMapLayerBase.html +2 -1
- package/docs/html/interfaces/portal_BingLayer.BingLayer.html +2 -1
- package/docs/html/interfaces/portal_Bookmark.Bookmark.html +2 -1
- package/docs/html/interfaces/portal_BuildingSceneLayer.BuildingSceneLayer-1.html +1 -1
- package/docs/html/interfaces/portal_CIMSymbol.CIMSymbol.html +2 -1
- package/docs/html/interfaces/portal_CSVLayer.CSVLayer-1.html +3 -2
- package/docs/html/interfaces/portal_Camera.Camera-1.html +2 -1
- package/docs/html/interfaces/portal_ClassBreaksRenderer.ClassBreakInfo.html +2 -1
- package/docs/html/interfaces/portal_ClassBreaksRenderer.ClassBreaksRenderer.html +2 -1
- package/docs/html/interfaces/portal_CodedValueDomain.CodedValue.html +1 -1
- package/docs/html/interfaces/portal_CodedValueDomain.CodedValueDomain-1.html +1 -1
- package/docs/html/interfaces/portal_ColorClassBreakInfo.ColorClassBreakInfo.html +2 -1
- package/docs/html/interfaces/portal_ColorUniqueValueInfos.ColorUniqueValueInfos.html +2 -1
- package/docs/html/interfaces/portal_DataSource.DataSourceBase.html +2 -2
- package/docs/html/interfaces/portal_DefinitionEditor.DefinitionEditor.html +2 -1
- package/docs/html/interfaces/portal_DefinitionEditor.Input.html +1 -1
- package/docs/html/interfaces/portal_DefinitionEditor.Parameter.html +1 -1
- package/docs/html/interfaces/portal_DrawingInfo.DrawingInfo-1.html +2 -1
- package/docs/html/interfaces/portal_DynamicDataLayer.DynamicDataLayer.html +2 -2
- package/docs/html/interfaces/portal_DynamicMapLayer.DynamicMapLayer.html +1 -1
- package/docs/html/interfaces/portal_ElevationInfo.ElevationInfo-1.html +1 -1
- package/docs/html/interfaces/portal_ElevationLayer.ElevationLayer-1.html +3 -2
- package/docs/html/interfaces/portal_Environment.Environment-1.html +2 -1
- package/docs/html/interfaces/portal_Extent.Extent.html +1 -1
- package/docs/html/interfaces/portal_ExtrudeSymbol3DLayer.ExtrudeSymbol3DLayer.html +2 -1
- package/docs/html/interfaces/portal_Feature.Feature-1.html +2 -1
- package/docs/html/interfaces/portal_FeatureCollection.FeatureCollection.html +2 -1
- package/docs/html/interfaces/portal_FeatureLayer.FeatureLayer-1.html +3 -2
- package/docs/html/interfaces/portal_FeatureSet.FeatureSet.html +2 -1
- package/docs/html/interfaces/portal_Field.Field-1.html +1 -1
- package/docs/html/interfaces/portal_FieldInfo.FieldInfo.html +2 -1
- package/docs/html/interfaces/portal_FillSymbol3DLayer.FillSymbol3DLayer.html +2 -1
- package/docs/html/interfaces/portal_FormInfo.FormAttachmentElement.html +1 -1
- package/docs/html/interfaces/portal_FormInfo.FormBarcodeScannerInput.html +1 -1
- package/docs/html/interfaces/portal_FormInfo.FormComboBoxInput.html +1 -1
- package/docs/html/interfaces/portal_FormInfo.FormDateTimePickerInput.html +1 -1
- package/docs/html/interfaces/portal_FormInfo.FormExpressionInfo.html +1 -1
- package/docs/html/interfaces/portal_FormInfo.FormFieldElement.html +1 -1
- package/docs/html/interfaces/portal_FormInfo.FormGroupElement.html +1 -1
- package/docs/html/interfaces/portal_FormInfo.FormInfo-1.html +1 -1
- package/docs/html/interfaces/portal_FormInfo.FormRadioButtonsInput.html +1 -1
- package/docs/html/interfaces/portal_FormInfo.FormRelationshipElement.html +1 -1
- package/docs/html/interfaces/portal_FormInfo.FormSwitchInput.html +1 -1
- package/docs/html/interfaces/portal_FormInfo.FormTextAreaInput.html +1 -1
- package/docs/html/interfaces/portal_FormInfo.FormTextBoxInput.html +1 -1
- package/docs/html/interfaces/portal_Format.Format.html +2 -1
- package/docs/html/interfaces/portal_GeoRSSLayer.GeoRSSLayer-1.html +3 -2
- package/docs/html/interfaces/portal_GroupLayer.GroupLayer-1.html +3 -2
- package/docs/html/interfaces/portal_HeatmapRenderer.ColorStop.html +2 -1
- package/docs/html/interfaces/portal_HeatmapRenderer.HeatmapRenderer.html +2 -1
- package/docs/html/interfaces/portal_IconSymbol3DLayer.IconSymbol3DLayer.html +2 -1
- package/docs/html/interfaces/portal_ImageServiceLayer.ImageServiceLayer-1.html +3 -2
- package/docs/html/interfaces/portal_ImageServiceVectorLayer.ImageServiceVectorLayer.html +3 -2
- package/docs/html/interfaces/portal_InheritedDomain.InheritedDomain-1.html +1 -1
- package/docs/html/interfaces/portal_InitialState.InitialState-1.html +2 -1
- package/docs/html/interfaces/portal_IntegratedMeshLayer.IntegratedMeshLayer-1.html +3 -2
- package/docs/html/interfaces/portal_Item.Item-1.html +3 -2
- package/docs/html/interfaces/portal_JoinTableDataSource.JoinTableDataSource.html +2 -2
- package/docs/html/interfaces/portal_KMLLayer.KMLLayer-1.html +3 -2
- package/docs/html/interfaces/portal_LabelSymbol3D.LabelSymbol3D.html +2 -1
- package/docs/html/interfaces/portal_LabelingInfo.LabelingInfo-1.html +3 -2
- package/docs/html/interfaces/portal_Layer.Layer-1.html +1 -1
- package/docs/html/interfaces/portal_LayerDefinition.FieldOverride.html +1 -1
- package/docs/html/interfaces/portal_LayerDefinition.LayerDefinition-1.html +4 -3
- package/docs/html/interfaces/portal_LayerDefinition.LayerTimeInfo.html +2 -2
- package/docs/html/interfaces/portal_Lighting.SunLighting.html +2 -1
- package/docs/html/interfaces/portal_Lighting.VirtualLighting.html +2 -1
- package/docs/html/interfaces/portal_LineSymbol3D.LineSymbol3D.html +2 -1
- package/docs/html/interfaces/portal_LineSymbol3DLayer.LineSymbol3DLayer.html +2 -1
- package/docs/html/interfaces/portal_LocationInfo.LocationInfo.html +2 -1
- package/docs/html/interfaces/portal_MapFloorInfo.FacilityLayerInfo.html +1 -1
- package/docs/html/interfaces/portal_MapFloorInfo.LevelLayerInfo.html +1 -1
- package/docs/html/interfaces/portal_MapFloorInfo.MapFloorInfo-1.html +1 -1
- package/docs/html/interfaces/portal_MapFloorInfo.SiteLayerInfo.html +1 -1
- package/docs/html/interfaces/portal_MapRangeInfo.MapRangeInfo.html +2 -1
- package/docs/html/interfaces/portal_MapServiceLayer.MapServiceLayer-1.html +3 -2
- package/docs/html/interfaces/portal_MeshSymbol3D.MeshSymbol3D.html +2 -1
- package/docs/html/interfaces/portal_MosaicRule.MosaicRule-1.html +2 -1
- package/docs/html/interfaces/portal_Multipoint.Multipoint.html +1 -1
- package/docs/html/interfaces/portal_ObjectSymbol3DLayer.ObjectSymbol3DLayer.html +2 -1
- package/docs/html/interfaces/portal_OpenStreetMapLayer.OpenStreetMapLayer-1.html +2 -1
- package/docs/html/interfaces/portal_OperationalLayer.OperationalLayerBase.html +1 -1
- package/docs/html/interfaces/portal_PathSymbol3DLayer.PathSymbol3DLayer.html +2 -1
- package/docs/html/interfaces/portal_PictureFillSymbol.PictureFillSymbol.html +2 -1
- package/docs/html/interfaces/portal_PictureMarkerSymbol.PictureMarkerSymbol.html +2 -1
- package/docs/html/interfaces/portal_Point.Point.html +2 -1
- package/docs/html/interfaces/portal_PointCloudBitfieldFilter.PointCloudBitfieldFilter.html +2 -1
- package/docs/html/interfaces/portal_PointCloudClassBreaksRenderer.PointCloudClassBreaksRenderer.html +4 -2
- package/docs/html/interfaces/portal_PointCloudFixedSizeAlgorithm.PointCloudFixedSizeAlgorithm.html +2 -1
- package/docs/html/interfaces/portal_PointCloudLayer.PointCloudLayer-1.html +3 -2
- package/docs/html/interfaces/portal_PointCloudRGBRenderer.PointCloudRGBRenderer.html +4 -2
- package/docs/html/interfaces/portal_PointCloudRenderer.PointCloudRendererBase.html +4 -2
- package/docs/html/interfaces/portal_PointCloudReturnFilter.PointCloudReturnFilter.html +2 -1
- package/docs/html/interfaces/portal_PointCloudSplatAlgorithm.PointCloudSplatAlgorithm.html +2 -1
- package/docs/html/interfaces/portal_PointCloudStretchRenderer.PointCloudStretchRenderer.html +4 -2
- package/docs/html/interfaces/portal_PointCloudUniqueValueRenderer.PointCloudUniqueValueRenderer.html +4 -2
- package/docs/html/interfaces/portal_PointCloudValueFilter.PointCloudValueFilter.html +2 -1
- package/docs/html/interfaces/portal_PointSymbol3D.PointSymbol3D.html +3 -2
- package/docs/html/interfaces/portal_Polygon.Polygon.html +1 -1
- package/docs/html/interfaces/portal_PolygonSymbol3D.PolygonSymbol3D.html +2 -1
- package/docs/html/interfaces/portal_Polyline.Polyline.html +1 -1
- package/docs/html/interfaces/portal_PopupExpressionInfo.PopupExpressionInfo.html +2 -1
- package/docs/html/interfaces/portal_PopupInfo.OrderByFields.html +2 -1
- package/docs/html/interfaces/portal_PopupInfo.RelatedRecordsInfo.html +2 -1
- package/docs/html/interfaces/portal_PredominanceRenderer.PredominanceRenderer.html +2 -1
- package/docs/html/interfaces/portal_Presentation.Presentation-1.html +2 -1
- package/docs/html/interfaces/portal_QueryTableDataSource.QueryTableDataSource.html +2 -2
- package/docs/html/interfaces/portal_RangeDomain.RangeDomain-1.html +1 -1
- package/docs/html/interfaces/portal_RangeInfo.RangeInfo.html +2 -1
- package/docs/html/interfaces/portal_RasterDataSource.RasterDataSource.html +2 -2
- package/docs/html/interfaces/portal_Renderer.AuthoringInfo.html +2 -1
- package/docs/html/interfaces/portal_Renderer.ColorRamp.html +1 -1
- package/docs/html/interfaces/portal_Renderer.RendererBase.html +2 -1
- package/docs/html/interfaces/portal_RenderingRule.RenderingRule-1.html +3 -2
- package/docs/html/interfaces/portal_SceneLayer.SceneLayer-1.html +3 -2
- package/docs/html/interfaces/portal_SimpleFillSymbol.SimpleFillSymbol.html +2 -1
- package/docs/html/interfaces/portal_SimpleLineSymbol.SimpleLineSymbol.html +2 -1
- package/docs/html/interfaces/portal_SimpleMarkerSymbol.SimpleMarkerSymbol.html +2 -1
- package/docs/html/interfaces/portal_SimpleRenderer.SimpleRenderer.html +2 -1
- package/docs/html/interfaces/portal_Slide.Slide-1.html +4 -4
- package/docs/html/interfaces/portal_SpatialReference.SpatialReference-1.html +2 -1
- package/docs/html/interfaces/portal_StreamLayer.StreamLayer-1.html +2 -2
- package/docs/html/interfaces/portal_StyleSymbolReference.StyleSymbolReference.html +2 -1
- package/docs/html/interfaces/portal_SubtypeGroupLayer.SubtypeGroupLayer-1.html +3 -2
- package/docs/html/interfaces/portal_SubtypeGroupLayer.SubtypeSubtypeGroupLayer.html +2 -2
- package/docs/html/interfaces/portal_SubtypeSublayer.SubtypeSublayer-1.html +3 -2
- package/docs/html/interfaces/portal_Symbol.Font.html +1 -1
- package/docs/html/interfaces/portal_Symbol3D.Material.html +2 -1
- package/docs/html/interfaces/portal_Symbol3D.Outline.html +2 -1
- package/docs/html/interfaces/portal_Symbol3D.ResourceIconSymbol.html +2 -1
- package/docs/html/interfaces/portal_Symbol3D.ResourceObjectSymbol.html +2 -1
- package/docs/html/interfaces/portal_Table.Table.html +1 -1
- package/docs/html/interfaces/portal_TableDataSource.TableDataSource.html +2 -2
- package/docs/html/interfaces/portal_Template.Template-1.html +2 -1
- package/docs/html/interfaces/portal_TemporalRenderer.TemporalRenderer.html +2 -1
- package/docs/html/interfaces/portal_TextSymbol.TextSymbol.html +2 -1
- package/docs/html/interfaces/portal_TextSymbol3DLayer.TextSymbol3DLayer.html +2 -1
- package/docs/html/interfaces/portal_TileInfo.TileInfo-1.html +3 -2
- package/docs/html/interfaces/portal_TiledImageServiceLayer.TiledImageServiceLayer-1.html +3 -2
- package/docs/html/interfaces/portal_TiledMapServiceLayer.TiledMapServiceLayer-1.html +4 -3
- package/docs/html/interfaces/portal_Type.Type-1.html +3 -8
- package/docs/html/interfaces/portal_UniqueValueFromStyle.UniqueValueFromStyle.html +2 -1
- package/docs/html/interfaces/portal_UniqueValueRenderer.UniqueValueInfo.html +2 -1
- package/docs/html/interfaces/portal_UniqueValueRenderer.UniqueValueRenderer.html +2 -1
- package/docs/html/interfaces/portal_UtilityNetwork.TraceConfiguration.html +1 -1
- package/docs/html/interfaces/portal_UtilityNetwork.UtilityNetwork-1.html +1 -1
- package/docs/html/interfaces/portal_Value.Value.html +1 -1
- package/docs/html/interfaces/portal_VectorTileLayer.VectorTileLayer-1.html +3 -2
- package/docs/html/interfaces/portal_VerticalOffset.VerticalOffset.html +1 -1
- package/docs/html/interfaces/portal_Viewpoint.Viewpoint-1.html +2 -1
- package/docs/html/interfaces/portal_VisualVariable.ColorInfo.html +3 -2
- package/docs/html/interfaces/portal_VisualVariable.RotationInfo.html +3 -2
- package/docs/html/interfaces/portal_VisualVariable.Size.html +2 -1
- package/docs/html/interfaces/portal_VisualVariable.SizeInfo.html +3 -2
- package/docs/html/interfaces/portal_VisualVariable.TransparencyInfo.html +2 -1
- package/docs/html/interfaces/portal_VisualVariable.VisualVariableBase.html +1 -1
- package/docs/html/interfaces/portal_WMSLayer.WMSLayer-1.html +3 -2
- package/docs/html/interfaces/portal_WMSSublayer.WMSSublayer-1.html +2 -1
- package/docs/html/interfaces/portal_WMTSInfo.WMTSInfo-1.html +1 -1
- package/docs/html/interfaces/portal_Weather.CloudyWeather.html +2 -1
- package/docs/html/interfaces/portal_Weather.FoggyWeather.html +2 -1
- package/docs/html/interfaces/portal_Weather.RainyWeather.html +2 -1
- package/docs/html/interfaces/portal_Weather.SnowyWeather.html +2 -1
- package/docs/html/interfaces/portal_Weather.SunnyWeather.html +2 -1
- package/docs/html/interfaces/portal_WebMap.WebMap-1.html +3 -3
- package/docs/html/interfaces/portal_WebScene.WebScene-1.html +5 -3
- package/docs/html/interfaces/portal_WebSceneBaseMap.WebSceneBaseMap-1.html +2 -1
- package/docs/html/interfaces/portal_WebTileLayer.WebTileLayer-1.html +3 -2
- package/docs/html/interfaces/portal_Widgets.FloorFilter.html +1 -1
- package/docs/html/interfaces/portal_Widgets.Range.html +1 -1
- package/docs/html/interfaces/portal_Widgets.TimeSlider.html +3 -2
- package/docs/html/interfaces/portal_Widgets.Widgets.html +2 -1
- package/docs/html/interfaces/support_Serializable.PropertyDef.html +2 -2
- package/docs/html/interfaces/tasks_identify_IdentifyOptions.IdentifyOptions-1.html +2 -2
- package/docs/html/interfaces/tasks_search_SearchOptions.SearchOptions-1.html +2 -2
- package/docs/html/interfaces/utilities_array.CompareOptions.html +8 -8
- package/docs/html/interfaces/utilities_geometry.GeographicTransformationJson.html +1 -1
- package/docs/html/types/portal_DataSource.DataSource.html +1 -0
- package/docs/html/types/portal_Domain.Domain-1.html +2 -1
- package/docs/html/types/portal_Geometry.Geometry.html +1 -1
- package/docs/html/types/portal_PointCloudFilter.PointCloudFilter.html +2 -1
- package/docs/html/types/portal_Symbol.Color.html +1 -1
- package/docs/html/types/portal_Symbol.Symbol.html +1 -1
- package/docs/html/types/portal_Symbol3D.Symbol3D.html +2 -1
- package/docs/html/types/portal_VisualVariable.VisualVariable.html +2 -1
- package/docs/html/variables/mapping_BasemapExtension.defaultBasemapExtensionFactory.html +2 -2
- package/docs/html/variables/version.version.html +1 -1
- package/forked-libs/dbf/src/fields.js +1 -1
- package/forked-libs/dbf/src/structure.js +1 -1
- package/forked-libs/shp-write/src/download.js +1 -1
- package/forked-libs/shp-write/src/fields.js +1 -1
- package/forked-libs/shp-write/src/geojson.js +1 -1
- package/forked-libs/shp-write/src/multipoint.js +1 -1
- package/forked-libs/shp-write/src/points.js +1 -1
- package/forked-libs/shp-write/src/poly.js +1 -1
- package/forked-libs/shp-write/src/write.js +1 -1
- package/forked-libs/shp-write/src/zip.js +1 -1
- package/layer-preset/LayerPreset.d.ts +1 -1
- package/layer-preset/LayerPreset.js +1 -1
- package/layer-preset/LayerPresetSettings.d.ts +1 -1
- package/layer-preset/LayerPresetSettings.js +1 -1
- package/locale/_registry.js +1 -1
- package/locale/af.js +1 -1
- package/locale/ar-MA.js +1 -1
- package/locale/ar-SA.js +1 -1
- package/locale/ar-TN.js +1 -1
- package/locale/ar.js +1 -1
- package/locale/az.js +1 -1
- package/locale/be.js +1 -1
- package/locale/bg.js +1 -1
- package/locale/bn.js +1 -1
- package/locale/bs.js +1 -1
- package/locale/ca.js +1 -1
- package/locale/cs.js +1 -1
- package/locale/cv.js +1 -1
- package/locale/cy.js +1 -1
- package/locale/da.js +1 -1
- package/locale/de-AT.js +1 -1
- package/locale/de.js +1 -1
- package/locale/el.js +1 -1
- package/locale/en-AU.js +1 -1
- package/locale/en-CA.js +1 -1
- package/locale/en-GB.js +1 -1
- package/locale/en.js +1 -1
- package/locale/es.js +1 -1
- package/locale/et.js +1 -1
- package/locale/eu.js +1 -1
- package/locale/fa.js +1 -1
- package/locale/fi.js +1 -1
- package/locale/fo.js +1 -1
- package/locale/fr-CA.js +1 -1
- package/locale/fr.js +1 -1
- package/locale/gl.js +1 -1
- package/locale/he.js +1 -1
- package/locale/hi.js +1 -1
- package/locale/hr.js +1 -1
- package/locale/hu.js +1 -1
- package/locale/hy.js +1 -1
- package/locale/id.js +1 -1
- package/locale/inv.js +1 -1
- package/locale/is.js +1 -1
- package/locale/it.js +1 -1
- package/locale/ja.js +1 -1
- package/locale/ka.js +1 -1
- package/locale/km.js +1 -1
- package/locale/ko.js +1 -1
- package/locale/language.js +1 -1
- package/locale/lt.js +1 -1
- package/locale/lv.js +1 -1
- package/locale/mk.js +1 -1
- package/locale/ml.js +1 -1
- package/locale/mr.js +1 -1
- package/locale/ms-MY.js +1 -1
- package/locale/ms.js +1 -1
- package/locale/my.js +1 -1
- package/locale/nb.js +1 -1
- package/locale/ne.js +1 -1
- package/locale/nl.js +1 -1
- package/locale/nn.js +1 -1
- package/locale/no.js +1 -1
- package/locale/pl.js +1 -1
- package/locale/pt-BR.js +1 -1
- package/locale/pt.js +1 -1
- package/locale/ro.js +1 -1
- package/locale/ru.js +1 -1
- package/locale/si.js +1 -1
- package/locale/sk.js +1 -1
- package/locale/sl.js +1 -1
- package/locale/sq.js +1 -1
- package/locale/sr-Cyrl.js +1 -1
- package/locale/sr-ME.js +1 -1
- package/locale/sr.js +1 -1
- package/locale/sv.js +1 -1
- package/locale/ta.js +1 -1
- package/locale/th.js +1 -1
- package/locale/tl.js +1 -1
- package/locale/tr.js +1 -1
- package/locale/tzm-Latn.js +1 -1
- package/locale/tzm.js +1 -1
- package/locale/uk.js +1 -1
- package/locale/uz.js +1 -1
- package/locale/vi.js +1 -1
- package/locale/zh-TW.js +1 -1
- package/locale/zh.js +1 -1
- package/locale.js +1 -1
- package/mapping/ArcGISSublayerExtension.js +1 -1
- package/mapping/BasemapExtension.js +1 -1
- package/mapping/Bookmark.d.ts +1 -1
- package/mapping/Bookmark.js +1 -1
- package/mapping/BuildingComponentSublayerExtension.js +1 -1
- package/mapping/BuildingGroupSublayerExtension.js +1 -1
- package/mapping/BuildingSceneLayerExtension.js +1 -1
- package/mapping/BuildingSublayerExtension.js +1 -1
- package/mapping/CSVLayerExtension.js +1 -1
- package/mapping/ElevationLayerExtension.js +1 -1
- package/mapping/FeatureCollectionLayerExtension.js +1 -1
- package/mapping/FeatureLayerExtension.js +1 -1
- package/mapping/FeatureLayerExtensionBase.js +1 -1
- package/mapping/GeoRSSLayerExtension.js +1 -1
- package/mapping/GraphicsLayerExtension.js +1 -1
- package/mapping/GroundExtension.d.ts +1 -1
- package/mapping/GroundExtension.js +1 -1
- package/mapping/GroupLayerExtension.js +1 -1
- package/mapping/ImageryLayerExtension.js +1 -1
- package/mapping/ImageryTileLayerExtension.js +1 -1
- package/mapping/IntegratedMeshLayerExtension.js +1 -1
- package/mapping/KMLLayerExtension.js +1 -1
- package/mapping/KMLSublayerExtension.js +1 -1
- package/mapping/LayerExtension.js +1 -1
- package/mapping/MapConstraints.js +1 -1
- package/mapping/MapExtension.d.ts +5 -5
- package/mapping/MapExtension.js +1 -1
- package/mapping/MapImageLayerExtension.d.ts +1 -1
- package/mapping/MapImageLayerExtension.js +1 -1
- package/mapping/MapImageSublayerExtension.js +1 -1
- package/mapping/OpenStreetMapLayerExtension.js +1 -1
- package/mapping/PointCloudLayerExtension.js +1 -1
- package/mapping/SceneLayerExtension.js +1 -1
- package/mapping/StreamLayerExtension.js +1 -1
- package/mapping/SublayerExtension.js +1 -1
- package/mapping/SubtypeGroupLayerExtension.js +1 -1
- package/mapping/SubtypeSublayerExtension.js +1 -1
- package/mapping/TileLayerExtension.js +1 -1
- package/mapping/TileSublayerExtension.js +1 -1
- package/mapping/UnsupportedLayerExtension.js +1 -1
- package/mapping/VectorTileLayerExtension.js +1 -1
- package/mapping/WMSLayerExtension.js +1 -1
- package/mapping/WMSSublayerExtension.js +1 -1
- package/mapping/WMTSLayerExtension.js +1 -1
- package/mapping/WMTSSublayerExtension.js +1 -1
- package/mapping/WebTileLayerExtension.js +1 -1
- package/mapping/_LayerExtension.d.ts +1 -1
- package/mapping/_LayerExtension.js +1 -1
- package/mapping/_SublayerExtension.d.ts +1 -1
- package/mapping/_SublayerExtension.js +1 -1
- package/mapping/convert.js +1 -1
- package/mapping/support/ArrayWrappedCollection.js +1 -1
- package/mapping/support/DefaultLayerExtensionFactory.js +1 -1
- package/mapping/support/DefaultSublayerExtensionFactory.js +1 -1
- package/mapping/support/LayerListSettings.js +1 -1
- package/mapping/support/PopupTemplateFeatureSettings.js +1 -1
- package/mapping/support/WfsCapabilities.js +1 -1
- package/mapping/support/WfsFeatureType.js +1 -1
- package/mapping/support/_LayerExtensionCollection.js +1 -1
- package/mapping/support/_SublayerExtensionCollection.js +1 -1
- package/mapping/support/_kml.js +1 -1
- package/mapping/support/ogc.js +1 -1
- package/menus/Menu.js +1 -1
- package/menus/MenuItem.js +1 -1
- package/package.json +36 -35
- package/portal/ApplicationProperties.d.ts +16 -13
- package/portal/Background.d.ts +3 -2
- package/portal/Background.js +1 -1
- package/portal/BaseMap.d.ts +1 -0
- package/portal/BaseMap.js +1 -1
- package/portal/BaseMapLayer.d.ts +3 -2
- package/portal/BingLayer.d.ts +1 -0
- package/portal/Bookmark.d.ts +1 -0
- package/portal/BuildingSceneLayer.d.ts +1 -1
- package/portal/BuildingSceneLayer.js +1 -1
- package/portal/BuildingSceneSublayer.js +1 -1
- package/portal/CIMSymbol.d.ts +1 -0
- package/portal/CSVLayer.d.ts +1 -0
- package/portal/CSVLayer.js +1 -1
- package/portal/Camera.d.ts +1 -0
- package/portal/Camera.js +1 -1
- package/portal/ClassBreaksRenderer.d.ts +4 -2
- package/portal/CodedValueDomain.d.ts +2 -2
- package/portal/CodedValueDomain.js +1 -1
- package/portal/ColorClassBreakInfo.d.ts +1 -0
- package/portal/ColorUniqueValueInfos.d.ts +1 -0
- package/portal/DataSource.d.ts +5 -4
- package/portal/DefinitionEditor.d.ts +3 -2
- package/portal/Domain.d.ts +3 -2
- package/portal/Domain.js +1 -1
- package/portal/DrawingInfo.d.ts +1 -0
- package/portal/DrawingInfo.js +1 -1
- package/portal/DynamicDataLayer.d.ts +2 -2
- package/portal/DynamicMapLayer.d.ts +1 -1
- package/portal/Edges.d.ts +1 -1
- package/portal/Edges.js +1 -1
- package/portal/Effect.d.ts +2 -2
- package/portal/ElevationInfo.d.ts +2 -2
- package/portal/ElevationInfo.js +1 -1
- package/portal/ElevationLayer.d.ts +1 -0
- package/portal/ElevationLayer.js +1 -1
- package/portal/Environment.d.ts +1 -0
- package/portal/Environment.js +1 -1
- package/portal/Extent.d.ts +1 -1
- package/portal/ExtrudeSymbol3DLayer.d.ts +1 -0
- package/portal/Feature.d.ts +1 -0
- package/portal/Feature.js +1 -1
- package/portal/FeatureCollection.d.ts +1 -0
- package/portal/FeatureLayer.d.ts +2 -1
- package/portal/FeatureLayer.js +1 -1
- package/portal/FeatureReduction.d.ts +1 -1
- package/portal/FeatureReduction.js +1 -1
- package/portal/FeatureSet.d.ts +1 -0
- package/portal/Field.d.ts +2 -2
- package/portal/Field.js +1 -1
- package/portal/FieldInfo.d.ts +2 -1
- package/portal/FillSymbol3DLayer.d.ts +1 -0
- package/portal/FormInfo.d.ts +13 -13
- package/portal/FormInfo.js +1 -1
- package/portal/Format.d.ts +2 -1
- package/portal/GeoRSSLayer.d.ts +1 -0
- package/portal/GeoRSSLayer.js +1 -1
- package/portal/Geometry.d.ts +3 -3
- package/portal/Geometry.js +1 -1
- package/portal/Ground.d.ts +1 -1
- package/portal/Ground.js +1 -1
- package/portal/GroupLayer.d.ts +2 -1
- package/portal/GroupLayer.js +1 -1
- package/portal/HeatmapRenderer.d.ts +2 -0
- package/portal/IconSymbol3DLayer.d.ts +1 -0
- package/portal/ImageServiceLayer.d.ts +1 -0
- package/portal/ImageServiceLayer.js +1 -1
- package/portal/ImageServiceVectorLayer.d.ts +1 -0
- package/portal/InheritedDomain.d.ts +1 -1
- package/portal/InheritedDomain.js +1 -1
- package/portal/InitialState.d.ts +1 -0
- package/portal/InitialState.js +1 -1
- package/portal/IntegratedMeshLayer.d.ts +1 -0
- package/portal/IntegratedMeshLayer.js +1 -1
- package/portal/Item.d.ts +2 -1
- package/portal/Item.js +1 -1
- package/portal/JoinTableDataSource.d.ts +2 -2
- package/portal/KMLLayer.d.ts +1 -0
- package/portal/KMLLayer.js +1 -1
- package/portal/LabelSymbol3D.d.ts +1 -0
- package/portal/LabelingInfo.d.ts +3 -2
- package/portal/LabelingInfo.js +1 -1
- package/portal/Layer.d.ts +1 -1
- package/portal/Layer.js +1 -1
- package/portal/LayerBase.js +1 -1
- package/portal/LayerDefinition.d.ts +8 -7
- package/portal/LayerDefinition.js +1 -1
- package/portal/Lighting.d.ts +3 -1
- package/portal/Lighting.js +1 -1
- package/portal/LineSymbol3D.d.ts +1 -0
- package/portal/LineSymbol3DLayer.d.ts +1 -0
- package/portal/LocationInfo.d.ts +1 -0
- package/portal/MapFloorInfo.d.ts +4 -4
- package/portal/MapFloorInfo.js +1 -1
- package/portal/MapRangeInfo.d.ts +1 -0
- package/portal/MapServiceLayer.d.ts +1 -0
- package/portal/MapServiceLayer.js +1 -1
- package/portal/MediaInfo.d.ts +1 -1
- package/portal/MediaInfo.js +1 -1
- package/portal/MeshSymbol3D.d.ts +1 -0
- package/portal/MosaicRule.d.ts +3 -2
- package/portal/MosaicRule.js +1 -1
- package/portal/Multipoint.d.ts +1 -1
- package/portal/ObjectSymbol3DLayer.d.ts +1 -0
- package/portal/OpenStreetMapLayer.d.ts +1 -0
- package/portal/OpenStreetMapLayer.js +1 -1
- package/portal/OperationalLayer.d.ts +3 -3
- package/portal/PathSymbol3DLayer.d.ts +1 -0
- package/portal/PictureFillSymbol.d.ts +1 -0
- package/portal/PictureMarkerSymbol.d.ts +1 -0
- package/portal/Point.d.ts +2 -1
- package/portal/PointCloudBitfieldFilter.d.ts +1 -0
- package/portal/PointCloudClassBreaksRenderer.d.ts +1 -0
- package/portal/PointCloudFilter.d.ts +2 -1
- package/portal/PointCloudFixedSizeAlgorithm.d.ts +1 -0
- package/portal/PointCloudLayer.d.ts +1 -0
- package/portal/PointCloudLayer.js +1 -1
- package/portal/PointCloudRGBRenderer.d.ts +1 -0
- package/portal/PointCloudRenderer.d.ts +3 -1
- package/portal/PointCloudRenderer.js +1 -1
- package/portal/PointCloudReturnFilter.d.ts +1 -0
- package/portal/PointCloudSplatAlgorithm.d.ts +1 -0
- package/portal/PointCloudStretchRenderer.d.ts +1 -0
- package/portal/PointCloudUniqueValueRenderer.d.ts +1 -0
- package/portal/PointCloudValueFilter.d.ts +1 -0
- package/portal/PointSymbol3D.d.ts +2 -1
- package/portal/Polygon.d.ts +1 -1
- package/portal/PolygonSymbol3D.d.ts +1 -0
- package/portal/Polyline.d.ts +1 -1
- package/portal/PopupExpressionInfo.d.ts +2 -1
- package/portal/PopupInfo.d.ts +3 -1
- package/portal/PopupInfo.js +1 -1
- package/portal/PredominanceRenderer.d.ts +1 -0
- package/portal/Presentation.d.ts +1 -0
- package/portal/Presentation.js +1 -1
- package/portal/QueryTableDataSource.d.ts +1 -1
- package/portal/RangeDomain.d.ts +1 -1
- package/portal/RangeDomain.js +1 -1
- package/portal/RangeInfo.d.ts +1 -0
- package/portal/RasterDataSource.d.ts +1 -1
- package/portal/Renderer.d.ts +8 -6
- package/portal/Renderer.js +1 -1
- package/portal/RenderingRule.d.ts +3 -2
- package/portal/RenderingRule.js +1 -1
- package/portal/SceneLayer.d.ts +1 -0
- package/portal/SceneLayer.js +1 -1
- package/portal/SimpleFillSymbol.d.ts +2 -1
- package/portal/SimpleLineSymbol.d.ts +2 -1
- package/portal/SimpleMarkerSymbol.d.ts +2 -1
- package/portal/SimpleRenderer.d.ts +1 -0
- package/portal/Slide.d.ts +4 -4
- package/portal/Slide.js +1 -1
- package/portal/SpatialReference.d.ts +1 -0
- package/portal/SpatialReference.js +1 -1
- package/portal/StreamLayer.d.ts +1 -1
- package/portal/StreamLayer.js +1 -1
- package/portal/StyleSymbolReference.d.ts +1 -0
- package/portal/SubtypeGroupLayer.d.ts +3 -2
- package/portal/SubtypeGroupLayer.js +1 -1
- package/portal/SubtypeSublayer.d.ts +1 -0
- package/portal/SubtypeSublayer.js +1 -1
- package/portal/Symbol.d.ts +11 -11
- package/portal/Symbol.js +1 -1
- package/portal/Symbol3D.d.ts +7 -2
- package/portal/Table.d.ts +3 -3
- package/portal/Table.js +1 -1
- package/portal/TableDataSource.d.ts +1 -1
- package/portal/Template.d.ts +2 -1
- package/portal/Template.js +1 -1
- package/portal/TemporalRenderer.d.ts +1 -0
- package/portal/TextSymbol.d.ts +1 -0
- package/portal/TextSymbol3DLayer.d.ts +1 -0
- package/portal/TileInfo.d.ts +2 -1
- package/portal/TileInfo.js +1 -1
- package/portal/TiledImageServiceLayer.d.ts +1 -0
- package/portal/TiledImageServiceLayer.js +1 -1
- package/portal/TiledMapServiceLayer.d.ts +2 -1
- package/portal/TiledMapServiceLayer.js +1 -1
- package/portal/Type.d.ts +2 -4
- package/portal/Type.js +1 -1
- package/portal/UniqueValueFromStyle.d.ts +1 -0
- package/portal/UniqueValueRenderer.d.ts +2 -0
- package/portal/UtilityNetwork.d.ts +2 -2
- package/portal/UtilityNetwork.js +1 -1
- package/portal/Value.d.ts +1 -1
- package/portal/VectorFieldRenderer.d.ts +1 -1
- package/portal/VectorTileLayer.d.ts +1 -0
- package/portal/VectorTileLayer.js +1 -1
- package/portal/VerticalOffset.d.ts +1 -1
- package/portal/Viewpoint.d.ts +1 -0
- package/portal/Viewpoint.js +1 -1
- package/portal/VisualVariable.d.ts +10 -4
- package/portal/WMSLayer.d.ts +1 -0
- package/portal/WMSLayer.js +1 -1
- package/portal/WMSSublayer.d.ts +1 -0
- package/portal/WMSSublayer.js +1 -1
- package/portal/WMTSInfo.d.ts +1 -1
- package/portal/WMTSInfo.js +1 -1
- package/portal/Weather.d.ts +6 -1
- package/portal/Weather.js +1 -1
- package/portal/WebMap.d.ts +3 -3
- package/portal/WebMap.js +1 -1
- package/portal/WebScene.d.ts +3 -1
- package/portal/WebScene.js +1 -1
- package/portal/WebSceneBaseMap.d.ts +1 -0
- package/portal/WebSceneBaseMap.js +1 -1
- package/portal/WebTileLayer.d.ts +1 -0
- package/portal/WebTileLayer.js +1 -1
- package/portal/Widgets.d.ts +6 -4
- package/portal/Widgets.js +1 -1
- package/portal/_LayerBase.d.ts +2 -2
- package/portal/_layerHelper.js +1 -1
- package/portal/_utils.js +1 -1
- package/support/Action.d.ts +4 -4
- package/support/ArcGISRequestHelper.js +1 -1
- package/support/Cancellable.d.ts +1 -1
- package/support/Cancellable.js +1 -1
- package/support/FormatSettings.js +1 -1
- package/support/InitializableBase.d.ts +1 -1
- package/support/InitializableBase.js +1 -1
- package/support/InitializableCollectionProxy.js +1 -1
- package/support/InitializeError.js +1 -1
- package/support/Observable.js +1 -1
- package/support/ReadOnlyInitializableCollection.js +1 -1
- package/support/Serializable.d.ts +4 -4
- package/support/Serializable.js +1 -1
- package/support/Settings.js +1 -1
- package/support/_ArcGISRelationshipCollection.js +1 -1
- package/support/_esriInternal.js +1 -1
- package/support/_graphicsQuery.js +1 -1
- package/support/_query.js +1 -1
- package/support/_requestCache.js +1 -1
- package/support/_restApiJson.d.ts +1 -1
- package/support/esri.d.ts +76 -76
- package/support/esri.js +1 -1
- package/tasks/geocoding/ArcGISGeocoder.js +1 -1
- package/tasks/geocoding/Geocoder.d.ts +1 -1
- package/tasks/geocoding/Geocoder.js +1 -1
- package/tasks/geocoding/utilities.js +1 -1
- package/tasks/identify/ArcGISSublayerQueryIdentifyProvider.js +1 -1
- package/tasks/identify/BuildingComponentSublayerClientSideIdentifyProvider.js +1 -1
- package/tasks/identify/BuildingComponentSublayerHitTestIdentifyProvider.js +1 -1
- package/tasks/identify/CSVLayer3DHitTestIdentifyProvider.js +1 -1
- package/tasks/identify/CSVLayerClientSideQueryIdentifyProvider.js +1 -1
- package/tasks/identify/ClientSideIdentifyProvider.d.ts +2 -2
- package/tasks/identify/ClientSideIdentifyProvider.js +1 -1
- package/tasks/identify/FeatureLayer3DHitTestIdentifyProvider.js +1 -1
- package/tasks/identify/FeatureLayerClientSideIdentifyProvider.js +1 -1
- package/tasks/identify/FeatureLayerQueryIdentifyProvider.js +1 -1
- package/tasks/identify/GeoRSSLayerIdentifyProvider.js +1 -1
- package/tasks/identify/GraphicsLayerQueryIdentifyProvider.js +1 -1
- package/tasks/identify/HitTestIdentifyProvider.d.ts +2 -2
- package/tasks/identify/HitTestIdentifyProvider.js +1 -1
- package/tasks/identify/IdentifyError.js +1 -1
- package/tasks/identify/IdentifyProviderBase.js +1 -1
- package/tasks/identify/IdentifyService.js +1 -1
- package/tasks/identify/ImageryLayerIdentifyProvider.js +1 -1
- package/tasks/identify/KMLLayerQueryIdentifyProvider.js +1 -1
- package/tasks/identify/PointCloudLayerHitTestIdentifyProvider.js +1 -1
- package/tasks/identify/SceneLayerClientSideIdentifyProvider.js +1 -1
- package/tasks/identify/SceneLayerHitTestIdentifyProvider.js +1 -1
- package/tasks/identify/SceneLayerQueryIdentifyProvider.js +1 -1
- package/tasks/identify/StreamLayerClientSideQueryIdentifyProvider.js +1 -1
- package/tasks/identify/StreamLayerQueryIdentifyProvider.js +1 -1
- package/tasks/identify/SubtypeSublayerClientSideIdentifyProvider.js +1 -1
- package/tasks/identify/SubtypeSublayerQueryIdentifyProvider.js +1 -1
- package/tasks/identify/WMSSublayerIdentifyProvider.js +1 -1
- package/tasks/query/ArcGISRelationship.js +1 -1
- package/tasks/query/ArcGISServiceTableQueryProvider.js +1 -1
- package/tasks/query/ArcGISSublayerQueryProvider.js +1 -1
- package/tasks/query/BuildingComponentSublayerClientSideQueryProvider.js +1 -1
- package/tasks/query/CSVLayerClientSideQueryProvider.js +1 -1
- package/tasks/query/CSVLayerQueryProvider.js +1 -1
- package/tasks/query/ClientSideQueryProvider.d.ts +2 -2
- package/tasks/query/ClientSideQueryProvider.js +1 -1
- package/tasks/query/FeatureLayerQueryProvider.js +1 -1
- package/tasks/query/GeoRSSLayerQueryProvider.js +1 -1
- package/tasks/query/GraphicsLayerQueryProvider.js +1 -1
- package/tasks/query/ImageryLayerQueryProvider.js +1 -1
- package/tasks/query/KMLLayerQueryProvider.js +1 -1
- package/tasks/query/QueryBasedRelationship.js +1 -1
- package/tasks/query/QueryError.js +1 -1
- package/tasks/query/QueryProviderBase.js +1 -1
- package/tasks/query/QueryService.js +1 -1
- package/tasks/query/SceneLayerClientSideQueryProvider.js +1 -1
- package/tasks/query/SceneLayerQueryProvider.js +1 -1
- package/tasks/query/StreamLayerClientSideQueryProvider.js +1 -1
- package/tasks/query/StreamLayerQueryProvider.js +1 -1
- package/tasks/query/SubtypeSublayerQueryProvider.js +1 -1
- package/tasks/search/ArcGISGeocoderSearchProvider.js +1 -1
- package/tasks/search/GeocoderSearchProvider.js +1 -1
- package/tasks/search/QuerySearchProvider.js +1 -1
- package/tasks/search/SearchError.js +1 -1
- package/tasks/search/SearchProviderBase.js +1 -1
- package/tasks/search/SearchService.js +1 -1
- package/tasks/search/_utilities.js +1 -1
- package/utilities/CollectionProxy.js +1 -1
- package/utilities/CopyOnWriteCollection.js +1 -1
- package/utilities/GeometryServiceError.js +1 -1
- package/utilities/MapTransformCollection.js +1 -1
- package/utilities/ObservableMap.js +1 -1
- package/utilities/ObservableSet.js +1 -1
- package/utilities/ObservableWeakSet.js +1 -1
- package/utilities/ReadOnlyCollection.js +1 -1
- package/utilities/ReadOnlyMap.js +1 -1
- package/utilities/_layers.js +1 -1
- package/utilities/_ogc.js +1 -1
- package/utilities/arcade.js +1 -1
- package/utilities/array.js +1 -1
- package/utilities/asyncIterable.d.ts +1 -1
- package/utilities/asyncIterable.js +1 -1
- package/utilities/basemaps.js +1 -1
- package/utilities/checkArg.js +1 -1
- package/utilities/collection.js +1 -1
- package/utilities/date.js +1 -1
- package/utilities/esri.js +1 -1
- package/utilities/extensions.js +1 -1
- package/utilities/geometry.d.ts +2 -2
- package/utilities/geometry.js +1 -1
- package/utilities/iterable.js +1 -1
- package/utilities/log.d.ts +1 -1
- package/utilities/log.js +1 -1
- package/utilities/mapping.js +1 -1
- package/utilities/math.js +1 -1
- package/utilities/number.js +1 -1
- package/utilities/object.js +1 -1
- package/utilities/portal.d.ts +3 -3
- package/utilities/portal.js +1 -1
- package/utilities/promise.d.ts +1 -1
- package/utilities/promise.js +1 -1
- package/utilities/query.js +1 -1
- package/utilities/relationships.js +1 -1
- package/utilities/scaleRanges.d.ts +1 -1
- package/utilities/set.js +1 -1
- package/utilities/string.d.ts +6 -21
- package/utilities/string.js +1 -1
- package/utilities/symbol.js +1 -1
- package/utilities/uri.js +1 -1
- package/utilities/watch.js +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
package/support/esri.d.ts
CHANGED
|
@@ -7,52 +7,52 @@ import type ColumnChartMediaInfo from "@arcgis/core/popup/content/ColumnChartMed
|
|
|
7
7
|
import type LineCharMediaInfo from "@arcgis/core/popup/content/LineChartMediaInfo";
|
|
8
8
|
import type PieChartMediaInfo from "@arcgis/core/popup/content/PieChartMediaInfo";
|
|
9
9
|
export { Collection, Evented };
|
|
10
|
-
export
|
|
11
|
-
export
|
|
12
|
-
export
|
|
13
|
-
export
|
|
14
|
-
export
|
|
15
|
-
export
|
|
16
|
-
export
|
|
17
|
-
export
|
|
18
|
-
export
|
|
19
|
-
export
|
|
20
|
-
export
|
|
21
|
-
export
|
|
22
|
-
export
|
|
23
|
-
export
|
|
24
|
-
export
|
|
25
|
-
export
|
|
26
|
-
export
|
|
27
|
-
export
|
|
28
|
-
export
|
|
29
|
-
export
|
|
30
|
-
export
|
|
31
|
-
export
|
|
32
|
-
export
|
|
33
|
-
export
|
|
34
|
-
export
|
|
35
|
-
export
|
|
36
|
-
export
|
|
37
|
-
export
|
|
38
|
-
export
|
|
39
|
-
export
|
|
40
|
-
export
|
|
41
|
-
export
|
|
42
|
-
export
|
|
43
|
-
export
|
|
44
|
-
export
|
|
45
|
-
export
|
|
46
|
-
export
|
|
47
|
-
export
|
|
48
|
-
export
|
|
49
|
-
export
|
|
50
|
-
export
|
|
51
|
-
export
|
|
52
|
-
export
|
|
53
|
-
export
|
|
54
|
-
export
|
|
55
|
-
export
|
|
10
|
+
export type EsriError = __esri.Error;
|
|
11
|
+
export type EsriErrorDetails = __esri.EsriErrorDetails;
|
|
12
|
+
export type EventHandler = __esri.EventHandler;
|
|
13
|
+
export type GraphicHit = __esri.GraphicHit;
|
|
14
|
+
export type SceneViewGraphicHit = __esri.SceneViewGraphicHit;
|
|
15
|
+
export type PortalItemProperties = __esri.PortalItemProperties;
|
|
16
|
+
export type WebMapProperties = __esri.WebMapProperties;
|
|
17
|
+
export type WebSceneProperties = __esri.WebSceneProperties;
|
|
18
|
+
export type RequestOptions = __esri.RequestOptions;
|
|
19
|
+
export type FeatureLayerProperties = __esri.FeatureLayerProperties;
|
|
20
|
+
export type TileLayerProperties = __esri.TileLayerProperties;
|
|
21
|
+
export type PointCloudLayerProperties = __esri.PointCloudLayerProperties;
|
|
22
|
+
export type IntegratedMeshLayerProperties = __esri.IntegratedMeshLayerProperties;
|
|
23
|
+
export type ImageryLayerProperties = __esri.ImageryLayerProperties;
|
|
24
|
+
export type WebTileLayerProperties = __esri.WebTileLayerProperties;
|
|
25
|
+
export type OpenStreetMapLayerProperties = __esri.OpenStreetMapLayerProperties;
|
|
26
|
+
export type RasterFunctionProperties = __esri.RasterFunctionProperties;
|
|
27
|
+
export type MapImageLayerProperties = __esri.MapImageLayerProperties;
|
|
28
|
+
export type ElevationLayerProperties = __esri.ElevationLayerProperties;
|
|
29
|
+
export type PresentationProperties = __esri.PresentationProperties;
|
|
30
|
+
export type SceneLayerProperties = __esri.SceneLayerProperties;
|
|
31
|
+
export type StreamLayerProperties = __esri.StreamLayerProperties;
|
|
32
|
+
export type VectorTileLayerProperties = __esri.VectorTileLayerProperties;
|
|
33
|
+
export type PopupTemplateProperties = __esri.PopupTemplateProperties;
|
|
34
|
+
export type CSVLayerCapabilities = __esri.CSVLayerCapabilities;
|
|
35
|
+
export type FieldProperties = __esri.FieldProperties;
|
|
36
|
+
export type FeatureLayerElevationInfo = __esri.FeatureLayerBaseElevationInfo;
|
|
37
|
+
export type FeatureLayerApplyEdits = __esri.FeatureLayerApplyEditsEdits;
|
|
38
|
+
export type FeatureLayerCapabilities = __esri.FeatureLayerCapabilities;
|
|
39
|
+
export type FeatureEditResult = __esri.FeatureEditResult;
|
|
40
|
+
export type LayerViewCreateEvent = __esri.ViewLayerviewCreateEvent;
|
|
41
|
+
export type LayerViewDestroyEvent = __esri.ViewLayerviewDestroyEvent;
|
|
42
|
+
export type SceneViewHitTestResult = __esri.SceneViewHitTestResult;
|
|
43
|
+
export type SlideVisibleLayers = __esri.SlideVisibleLayers;
|
|
44
|
+
export type RasterInfo = __esri.RasterInfo;
|
|
45
|
+
export type BuildingComponentSublayerCapabilities = __esri.BuildingComponentSublayerCapabilities;
|
|
46
|
+
export type BuildingComponentSublayerCapabilitiesData = __esri.BuildingComponentSublayerCapabilitiesData;
|
|
47
|
+
export type RelationshipQueryProperties = __esri.RelationshipQueryProperties;
|
|
48
|
+
export type locatorAddressToLocationsParams = __esri.locatorAddressToLocationsParams;
|
|
49
|
+
export type locatorAddressesToLocationsParams = __esri.locatorAddressesToLocationsParams;
|
|
50
|
+
export type locatorSuggestLocationsParams = __esri.locatorSuggestLocationsParams;
|
|
51
|
+
export type TimeIntervalUnits = __esri.TimeIntervalProperties["unit"];
|
|
52
|
+
export type WebMapTimeSliderObject = __esri.WebMapTimeSlider;
|
|
53
|
+
export type WebMapWidgetsObject = __esri.Widgets;
|
|
54
|
+
export type EditsResult = __esri.EditsResult;
|
|
55
|
+
export type Domain = __esri.CodedValueDomain | __esri.InheritedDomain | __esri.RangeDomain;
|
|
56
56
|
export interface PointCloudLayerCachedStatistics {
|
|
57
57
|
attribute: string;
|
|
58
58
|
labels: PointCloudLayerCachedStatisticsLabels;
|
|
@@ -85,32 +85,32 @@ export interface PointCloudLayerCachedStatisticsHistogram {
|
|
|
85
85
|
maximum: number;
|
|
86
86
|
minimum: number;
|
|
87
87
|
}
|
|
88
|
-
export
|
|
89
|
-
export
|
|
90
|
-
export
|
|
91
|
-
export
|
|
92
|
-
export
|
|
93
|
-
export
|
|
94
|
-
export
|
|
95
|
-
export
|
|
96
|
-
export
|
|
97
|
-
export
|
|
98
|
-
export
|
|
99
|
-
export
|
|
100
|
-
export
|
|
101
|
-
export
|
|
102
|
-
export
|
|
103
|
-
export
|
|
104
|
-
export
|
|
105
|
-
export
|
|
106
|
-
export
|
|
107
|
-
export
|
|
108
|
-
export
|
|
88
|
+
export type ChartMediaInfo = BarChartMediaInfo | ColumnChartMediaInfo | LineCharMediaInfo | PieChartMediaInfo;
|
|
89
|
+
export type EventCallback<T = unknown> = (event: T) => void;
|
|
90
|
+
export type GeometryType = __esri.Geometry["type"];
|
|
91
|
+
export type FieldType = __esri.Field["type"];
|
|
92
|
+
export type SymbolType = __esri.Symbol["type"];
|
|
93
|
+
export type SimpleFillSymbolStyle = __esri.SimpleFillSymbol["style"];
|
|
94
|
+
export type ElevationMode = "on-the-ground" | "relative-to-ground" | "relative-to-scene" | "absolute-height";
|
|
95
|
+
export type DomainType = __esri.Domain["type"];
|
|
96
|
+
export type MosaicMethodType = __esri.MosaicRule["method"];
|
|
97
|
+
export type MosaicOperationType = __esri.MosaicRule["operation"];
|
|
98
|
+
export type OutputPixelType = __esri.RasterFunction["outputPixelType"];
|
|
99
|
+
export type LabelPlacement = __esri.LabelClass["labelPlacement"];
|
|
100
|
+
export type DateFormat = __esri.FieldInfoFormat["dateFormat"];
|
|
101
|
+
export type LoadStatus = "not-loaded" | "loading" | "failed" | "loaded";
|
|
102
|
+
export type MediaType = "image" | "bar-chart" | "column-chart" | "line-chart" | "pie-chart";
|
|
103
|
+
export type NavigationConstraintType = __esri.GroundNavigationConstraint["type"];
|
|
104
|
+
export type RelationshipRole = "esriRelRoleOrigin" | "esriRelRoleDestination";
|
|
105
|
+
export type VisibilityMode = __esri.GroupLayer["visibilityMode"];
|
|
106
|
+
export type ListMode = __esri.Layer["listMode"];
|
|
107
|
+
export type DrawingTool = __esri.FeatureTemplate["drawingTool"];
|
|
108
|
+
export type PortalItemType = "Web Map" | "Web Scene" | "Feature Service" | "Map Service" | "Image Service" | "KML" | "Feature Collection" | "Vector Tile Service" | "Scene Service" | "Stream Service" | "WMTS" | "WMS";
|
|
109
109
|
/**
|
|
110
110
|
* A callback that gets invoked by {@link AccessorLike.watch} to notify observers
|
|
111
111
|
* about property changes.
|
|
112
112
|
*/
|
|
113
|
-
export
|
|
113
|
+
export type WatchCallback<T = any, U = any> = (newValue?: T, oldValue?: T, propertyName?: string, target?: U) => void;
|
|
114
114
|
/**
|
|
115
115
|
* An object that supports Accessor-style observability.
|
|
116
116
|
*/
|
|
@@ -180,27 +180,27 @@ export interface ChangeEvent<T> {
|
|
|
180
180
|
/**
|
|
181
181
|
* A callback that is invoked.
|
|
182
182
|
*/
|
|
183
|
-
export
|
|
183
|
+
export type ChangeEventCallback<T> = (event: ChangeEvent<T>) => void;
|
|
184
184
|
/**
|
|
185
185
|
* A callback that is invoked for an item..
|
|
186
186
|
*/
|
|
187
|
-
export
|
|
187
|
+
export type ItemCallback<T> = (item: T, index: number) => void;
|
|
188
188
|
/**
|
|
189
189
|
* A callback that is invoked when testing an item for a condition.
|
|
190
190
|
*/
|
|
191
|
-
export
|
|
191
|
+
export type ItemTestCallback<T> = (item: T, index: number) => boolean;
|
|
192
192
|
/**
|
|
193
193
|
* A callback that is invoked when mapping an item to another item.
|
|
194
194
|
*/
|
|
195
|
-
export
|
|
195
|
+
export type ItemMapCallback<T, U> = (item: T, index: number) => U;
|
|
196
196
|
/**
|
|
197
197
|
* A callback that is invoked for each item when reducing a collection.
|
|
198
198
|
*/
|
|
199
|
-
export
|
|
199
|
+
export type ItemReduceCallback<T, U> = (previousValue: U, currentValue: T, index: number) => U;
|
|
200
200
|
/**
|
|
201
201
|
* A callback that is invoked when comparing two items.
|
|
202
202
|
*/
|
|
203
|
-
export
|
|
203
|
+
export type ItemCompareCallback<T> = (firstItem: T, secondItem: T) => number;
|
|
204
204
|
/**
|
|
205
205
|
* Base interface for Esri sublayer classes.
|
|
206
206
|
*/
|
|
@@ -287,8 +287,8 @@ export declare const wellKnownBasemapTitles: Record<WellKnownBasemap, string>;
|
|
|
287
287
|
* The ESRI units for distance. See
|
|
288
288
|
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-tasks-support-BufferParameters.html#unit}.
|
|
289
289
|
*/
|
|
290
|
-
export
|
|
290
|
+
export type DistanceUnit = __esri.DistanceParameters["distanceUnit"];
|
|
291
291
|
/**
|
|
292
292
|
* Esri JS API sublayer types.
|
|
293
293
|
*/
|
|
294
|
-
export
|
|
294
|
+
export type BuildingSceneSublayerType = __esri.BuildingGroupSublayer["type"] | __esri.BuildingComponentSublayer["type"];
|
package/support/esri.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import e from"@arcgis/core/core/Collection";import a from"@arcgis/core/core/Evented";export{e as Collection,a as Evented};export var WellKnownBasemap;!function(e){e.SATELLITE="satellite",e.HYBRID="hybrid",e.HYBRID_VECTOR="hybrid-vector",e.STREETS="streets",e.STREETS_VECTOR="streets-vector",e.TOPO="topo",e.TOPO_VECTOR="topo-vector",e.STREETS_NAVIGATION_VECTOR="streets-navigation-vector",e.STREETS_NIGHT_VECTOR="streets-night-vector",e.TERRAIN="terrain",e.TERRAIN_VECTOR="terrain-vector",e.DARK_GRAY="dark-gray",e.DARK_GRAY_VECTOR="dark-gray-vector",e.GRAY="gray",e.GRAY_VECTOR="gray-vector",e.NATIONAL_GEOGRAPHIC="national-geographic",e.OCEANS="oceans",e.OCEANS_VECTOR="oceans-vector",e.OPEN_STREET_MAP="osm",e.OPEN_STREET_MAP_VECTOR="osm-vector",e.STREETS_RELIEF_VECTOR="streets-relief-vector"}(WellKnownBasemap||(WellKnownBasemap={}));export const wellKnownBasemapTitles={[WellKnownBasemap.SATELLITE]:"Imagery",[WellKnownBasemap.HYBRID]:"Imagery with Labels",[WellKnownBasemap.HYBRID_VECTOR]:"Imagery with Labels",[WellKnownBasemap.STREETS]:"Streets",[WellKnownBasemap.STREETS_VECTOR]:"Streets",[WellKnownBasemap.TOPO]:"Topographic",[WellKnownBasemap.TOPO_VECTOR]:"Topographic",[WellKnownBasemap.STREETS_NAVIGATION_VECTOR]:"World Navigation Map",[WellKnownBasemap.STREETS_NIGHT_VECTOR]:"World Street Map (Night)",[WellKnownBasemap.TERRAIN]:"Terrain with Labels",[WellKnownBasemap.TERRAIN_VECTOR]:"Terrain with Labels",[WellKnownBasemap.DARK_GRAY]:"Dark Gray Canvas",[WellKnownBasemap.DARK_GRAY_VECTOR]:"Dark Gray Canvas",[WellKnownBasemap.GRAY]:"Light Gray Canvas",[WellKnownBasemap.GRAY_VECTOR]:"Light Gray Canvas",[WellKnownBasemap.NATIONAL_GEOGRAPHIC]:"National Geographic",[WellKnownBasemap.OCEANS]:"Oceans",[WellKnownBasemap.OCEANS_VECTOR]:"Oceans",[WellKnownBasemap.OPEN_STREET_MAP]:"OpenStreetMap",[WellKnownBasemap.OPEN_STREET_MAP_VECTOR]:"OpenStreetMap",[WellKnownBasemap.STREETS_RELIEF_VECTOR]:"World Street Map (with Relief)"};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var e;import{__decorate as t}from"tslib";import{addressToLocations as s,addressesToLocations as i,locationToAddress as r,suggestLocations as a}from"@arcgis/core/rest/locator";import{InvalidOperationError as o}from"../../InvalidOperationError.js";import{isFeature as n}from"../../ItemType.js";import{Feature as c,SCORE_FIELD as l,SCORE_FIELD_ORIGINAL as d,toGraphic as u}from"../../data/Feature.js";import{Schema as p}from"../../data/Schema.js";import{Field as h}from"../../portal/Field.js";import{SpatialReference as f}from"../../portal/SpatialReference.js";import{DefaultArcGISRequestHelper as m}from"../../support/ArcGISRequestHelper.js";import{cancelify as g}from"../../support/Cancellable.js";import{serializable as y}from"../../support/Serializable.js";import{ReadOnlyCollection as _}from"../../utilities/ReadOnlyCollection.js";import{checkArg as S}from"../../utilities/checkArg.js";import{Collection as w}from"../../utilities/collection.js";import{load as A}from"../../utilities/esri.js";import{toPortalItem as b}from"../../utilities/portal.js";import{ADDRESS_FIELD as R,GeocodeOptions as F,Geocoder as v}from"./Geocoder.js";export{R as ADDRESS_FIELD,l as SCORE_FIELD};const x="This schema property is read-only.",j="Match_addr";let z=e=class extends v{constructor(){super(...arguments),this._magicKeyAddressMap=new Map}get requestHelper(){return this._requestHelper||(this._requestHelper=new m),this._requestHelper}set requestHelper(e){this._requestHelper=e}get categories(){return this._categories||(this._categories=new w),this._categories}get url(){return this._url}set url(e){this.updateUrl(e)}static async fromPortalItem(t,s){S("portalItem",t).isNotMissing();const i=b(t);await A(i);const r={...s};return void 0!==r.title&&null!==r.title||(r.title=i.title),r.url=i.url,new e(r)}updateUrl(e){return this._url===e?Promise.resolve():(this._url=e,this.isInitialized?(async()=>{const e=await this._getGeocodeService(this.url);this._updateGeocodeProperties(e)})():Promise.resolve())}async*geocode(e,t){S("address",e).isNotMissing(),await this.initialize();const i={...F.DEFAULTS,...F.fromFeatureSource(this),...t},r="string"==typeof e?this._magicKeyAddressMap?.get(e):void 0,{outFields:a,outSpatialReference:o,maxResults:n,searchArea:c}=i,l={address:this._addressToAttributes(e),categories:this.categories.toArray(),countryCode:this.countryCode,outFields:a,outSpatialReference:o,maxLocations:n,searchExtent:c?.extent,forStorage:void 0,magicKey:r,location:t?.searchPoint},d=s(this.url,l),u=await g(d,t?.cancelToken);yield*u.map((e=>this._candidateToFeature(e,i)))}async count(e,t){S("address",e).isNotMissing(),await this.initialize();const i={...F.DEFAULTS,...F.fromFeatureSource(this),...t},{outFields:r,outSpatialReference:a,maxResults:o,searchArea:n}=i,c={address:this._addressToAttributes(e),categories:this.categories.toArray(),countryCode:this.countryCode,outFields:r,outSpatialReference:a,maxLocations:o,searchExtent:n?n.extent:void 0,forStorage:void 0,magicKey:void 0,location:t?.searchPoint},l=s(this.url,c);return{source:this,count:(await g(l,t?.cancelToken)).length}}async*batchGeocode(e,t){S("addresses",e).isNotMissing(),await this.initialize();const s={...F.DEFAULTS,...F.fromFeatureSource(this),...t};if(!this.capabilities.supportsBatch)throw new o("Batch geocoding is not supported.");if(this._maxBatchSize&&e.length>this._maxBatchSize)throw new o(`Batch geocoding is limited to ${this._maxBatchSize} addresses at a time.`);let r=0;const a={addresses:e.map((e=>this._addressToAttributes(e,r++))),categories:this.categories.toArray(),countryCode:this.countryCode,outSpatialReference:s.outSpatialReference},n=i(this.url,a),c=(await g(n,t?.cancelToken)).map((e=>this._candidateToFeature(e,s)));for(const t of c){const s=t.attributes.get("ResultID");void 0!==s&&s>=0&&t.attributes.set(R,e[s]),t.attributes.delete("ResultID")}yield*c}async suggest(e,t){if(S("searchText",e).isNotMissing(),await this.initialize(),!this.capabilities.supportsSuggest)throw new o("Suggestions are not supported.");const s={text:e,categories:this.categories.toArray(),searchExtent:t?.searchArea?.extent,maxSuggestions:t?.maxResults,countryCode:this.countryCode,location:t?.searchPoint},i=a(this.url,s),r=await g(i,t?.cancelToken);return r.forEach((e=>this._magicKeyAddressMap.set(e.text,e.magicKey))),r.map((e=>e.text))}async reverseGeocode(e,t){S("location",e).isNotMissing(),await this.initialize();const s={...F.DEFAULTS,...F.fromFeatureSource(this),...t};if(!this.capabilities.supportsReverse)throw new o("Reverse geocoding is not supported.");let i;try{const a=r(this.url,{location:e,outSpatialReference:s.outSpatialReference});i=await g(a,t?.cancelToken)}catch(e){if(400===e.details?.httpStatus)return;throw e}const a=this._candidateToFeature(i,s);return a.settings.parent=this.featureSettings,a.schema.parent=this.addressSchema,a}_getSerializableProperties(){return{...super._getSerializableProperties(),url:"initial",categories:{serializeModes:["initial"],deserialize:e=>{this.categories.removeAll(),this.categories.addMany(e)}},countryCode:"initial",requestHelper:{serialize:!1}}}_createSchema(){return new T}_createAddressSchema(){return new T}async _onInitialize(){if(await super._onInitialize(),!this.url)throw new Error("ArcGISGeocoder must be created with a url.");const e=await this._getGeocodeService(this.url);this._updateGeocodeProperties(e),this.assignProperties({});const t=f.toEsriApiSpatialReference(e.spatialReference);this.schema.initialize({fields:e.candidateFields,spatialReference:t}),this.addressSchema.initialize({fields:e.addressFields,spatialReference:t})}async _getGeocodeService(e){const{data:t}=await this.requestHelper.request(e,{query:{f:"json"}});if(!t)throw new Error(`Response to request for url ${e} was invalid.`);return t}_updateGeocodeProperties(e){if(e.singleLineAddressField&&(this._singleLineAddressField=e.singleLineAddressField.name),e.locatorProperties&&(this._maxBatchSize=e.locatorProperties.MaxBatchSize),e.capabilities){const t=e.capabilities.split(",").map((e=>e.trim()));this._capabilitiesInternal=Object.freeze({supportsAdd:!1,supportsUpdate:!1,supportsDelete:!1,supportsEditing:!1,supportsBatch:t.includes("Geocode"),supportsReverse:t.includes("ReverseGeocode"),supportsSuggest:t.includes("Suggest"),maxResults:void 0,supportsAttachmentEditing:!1})}else this._capabilitiesInternal=Object.freeze({supportsAdd:!1,supportsUpdate:!1,supportsDelete:!1,supportsEditing:!1,supportsBatch:e.currentVersion>=10.1,supportsReverse:!0,supportsSuggest:!1,maxResults:void 0,supportsAttachmentEditing:!1})}_addressToAttributes(e,t){const s={};if("string"==typeof e)if(this._singleLineAddressField)s[this._singleLineAddressField]=e,[...this.defaultAddressValues.entries()].forEach((([e,t])=>{s[e]=t}));else{const t=this.addressSchema.fields.map((e=>e.name)).filter((e=>!this.defaultAddressValues.has(e))).toArray();if(1!==t.length)throw new o("Single line geocoding is not supported.");s[t[0]]=e}else{const t=n(e)?u(e).attributes:e;for(const e of this.addressSchema.fields.map((e=>e.name)).toArray())e in t?s[e]=t[e]:this.defaultAddressValues.has(e)&&(s[e]=this.defaultAddressValues.get(e));if(0===Object.keys(s).length)throw new o("At least one valid address field is required.")}return void 0!==t&&(s.OBJECTID=t),s}_candidateToFeature(e,t){const s=new c({source:this});if(e.attributes)for(const t of Object.keys(e.attributes))s.attributes.set(t,e.attributes[t]);const{address:i}=e;if("string"!=typeof i||s.attributes.has(j)&&s.attributes.get(j)){if("object"==typeof i&&i)for(const e of Object.keys(i))s.attributes.set(e,i[e])}else i?s.attributes.set(j,i):s.attributes.set(j,Object.values(e.attributes).join(", "));return e.score&&(s.attributes.set(l,e.score),s.attributes.set(d,e.score)),s.geometry=e.location,t.outSpatialReference&&(s.schema.spatialReference=t.outSpatialReference),s}};z=e=t([y],z);export{z as ArcGISGeocoder};let T=class extends p{constructor(){super(),this._fieldBackingCollection=new w,this._fieldCollection=new _(this._fieldBackingCollection)}get _fields(){return this._fieldCollection}get spatialReference(){return this._spatialReference}set spatialReference(e){throw new o(x)}get geometryType(){return"esriGeometryPoint"}set geometryType(e){throw new o(x)}initialize(e){if(e.fields&&(this._fieldBackingCollection.removeAll(),this._fieldBackingCollection.addMany(e.fields.map((e=>h.toEsriApiField(e))))),e.spatialReference&&(this._spatialReference=e.spatialReference,this.notifyChange("spatialReference")),!this.isModified("displayField")){let e=this.fields.find((e=>"match_addr"===e.name.toLowerCase()));e||(e=this.fields.find((e=>"address"===e.name.toLowerCase()))),e&&(this.displayField=e.name,this.notifyChange("displayField"))}}};T=t([y],T);
|
|
@@ -18,7 +18,7 @@ export declare const ADDRESS_FIELD = "_address";
|
|
|
18
18
|
/**
|
|
19
19
|
* A type that can be a string, feature or JSON object representing an address.
|
|
20
20
|
*/
|
|
21
|
-
export
|
|
21
|
+
export type AddressLike = string | Feature | Record<string, unknown>;
|
|
22
22
|
/**
|
|
23
23
|
* Properties that can be passed into the constructor for
|
|
24
24
|
* {@link tasks/geocoding/Geocoder!Geocoder}.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{InvalidOperationError}from"../../InvalidOperationError.js";import{ItemType}from"../../ItemType.js";import{FeatureSourceBase}from"../../data/FeatureSourceBase.js";import{Schema}from"../../data/Schema.js";const
|
|
1
|
+
import{InvalidOperationError as e}from"../../InvalidOperationError.js";import{ItemType as t}from"../../ItemType.js";import{FeatureSourceBase as s}from"../../data/FeatureSourceBase.js";import{Schema as r}from"../../data/Schema.js";const i="This class does not support retrieving features by ID.",a="This class does not support editing features.";export const ADDRESS_FIELD="_address";export class Geocoder extends s{get capabilities(){return this._capabilities()}constructor(e){super(e),this._itemType=t.GEOCODER,this._capabilitiesInternal=Object.freeze({supportsAdd:!1,supportsUpdate:!1,supportsDelete:!1,supportsEditing:!1,supportsBatch:!1,supportsReverse:!1,supportsSuggest:!1,maxResults:void 0,supportsAttachmentEditing:!1}),this.addressSchema=this._createAddressSchema(),this.defaultAddressValues=new Map}getFeature(t,s){throw new e(i)}getFeatures(t,s){throw new e(i)}addFeature(t,s){throw new e(a)}addFeatures(t,s){throw new e(a)}updateFeature(t,s){throw new e(a)}updateFeatures(t,s){throw new e(a)}deleteFeature(t,s){throw new e(a)}deleteFeatures(t,s){throw new e(a)}_getSerializableProperties(){return{...super._getSerializableProperties(),title:"initial",addressSchema:"initial",defaultAddressValues:{serializeModes:["initial"],serialize:()=>{const e={};if(this.defaultAddressValues.size)for(const[t,s]of this.defaultAddressValues)e[t]=s;return e},deserialize:e=>{for(const t of Object.keys(e))this.defaultAddressValues.set(t,e[t])}}}}_createAddressSchema(){return new r}_capabilities(){return this._capabilitiesInternal}}export var GeocodeOptions;!function(e){e.DEFAULTS={outFields:["*"]},e.fromFeatureSource=function(e){return{outFields:e.featureSettings.outFields}}}(GeocodeOptions||(GeocodeOptions={}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{ItemType}from"../../ItemType.js";import{Collection}from"../../utilities/collection.js";export function isArcGISGeocoder(
|
|
1
|
+
import{ItemType as e}from"../../ItemType.js";import{Collection as o}from"../../utilities/collection.js";export function isArcGISGeocoder(i){return i?.itemType===e.GEOCODER&&o.isCollection(i.categories)}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{executeQuery,executeCountByQuery}from"../../support/_query.js";import{empty}from"../../utilities/asyncIterable.js";import{isMapImageSublayer}from"../../utilities/layers.js";import{IdentifyProviderBase}from"./IdentifyProviderBase.js";export class ArcGISSublayerQueryIdentifyProvider extends
|
|
1
|
+
import{executeQuery as e,executeCountByQuery as r}from"../../support/_query.js";import{empty as t}from"../../utilities/asyncIterable.js";import{isMapImageSublayer as s}from"../../utilities/layers.js";import{IdentifyProviderBase as u}from"./IdentifyProviderBase.js";export class ArcGISSublayerQueryIdentifyProvider extends u{isSupported(e,r,t){return s(e.sublayer)&&e.capabilities.supportsQuery}_identify(r,s,u){const o=r,i=o.sublayer.createQuery();return o.capabilities.supportsQuery?(i.geometry=s,i.outFields=r.featureSettings.outFields,i.returnGeometry=u.returnGeometry,i.outSpatialReference=u.outSpatialReference,i.maxAllowableOffset=u.maxAllowableOffset,r.supportsPagination&&(i.num=u.maxResults),e(i,o,o.sublayer,u.cancelToken)):t()}async _count(e,t,s){const u=e;if(!u.capabilities.supportsQuery)return{source:e,count:0};const o=u.sublayer.createQuery();return o.geometry=t,o.num=s.maxResults,o.returnGeometry=s.returnGeometry,o.outFields=e.featureSettings.outFields,r(o,u,u.sublayer,s.cancelToken)}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{empty}from"../../utilities/asyncIterable.js";import{isPoint}from"../../utilities/geometry.js";import{isBuildingComponentSublayer}from"../../utilities/layers.js";import{isWebScene}from"../../utilities/mapping.js";import{ClientSideIdentifyProvider}from"./ClientSideIdentifyProvider.js";export class BuildingComponentSublayerClientSideIdentifyProvider extends
|
|
1
|
+
import{empty as e}from"../../utilities/asyncIterable.js";import{isPoint as t}from"../../utilities/geometry.js";import{isBuildingComponentSublayer as r}from"../../utilities/layers.js";import{isWebScene as i}from"../../utilities/mapping.js";import{ClientSideIdentifyProvider as n}from"./ClientSideIdentifyProvider.js";export class BuildingComponentSublayerClientSideIdentifyProvider extends n{isSupported(e,t,n){const s=i(e?.layerExtension?.mapExtension?.map);return r(e.sublayer)&&s}_identify(t,r,i,n){return this._canIdentify(t,r)?super._identify(t,r,i,n):e()}async _count(e,t,r,i){return this._canIdentify(e,t)?super._count(e,t,r,i):{source:e,count:0}}_createQuery(e,t,r){const i=super._createQuery(e,t,r);return"mesh"===e.sublayer.geometryType&&(i.returnGeometry=!1),i}_canIdentify(e,r){return r&&e._layerView?.view?.extent?.intersects(t(r)?r:r.extent)}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{isBuildingComponentSublayer}from"../../utilities/layers.js";import{isWebScene}from"../../utilities/mapping.js";import{HitTestIdentifyProvider}from"./HitTestIdentifyProvider.js";export class BuildingComponentSublayerHitTestIdentifyProvider extends
|
|
1
|
+
import{isBuildingComponentSublayer as e}from"../../utilities/layers.js";import{isWebScene as t}from"../../utilities/mapping.js";import{HitTestIdentifyProvider as i}from"./HitTestIdentifyProvider.js";export class BuildingComponentSublayerHitTestIdentifyProvider extends i{isSupported(i,r,s){const o=!!i._layerView&&t(i?.layerExtension?.mapExtension?.map);return super.isSupported(i,r,s)&&e(i.sublayer)&&"point"===r?.type&&o&&!!i._layerView.view?.extent?.intersects(r)}_supportsQuery(e){return!1}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{isCSVLayerExtension}from"../../utilities/extensions.js";import{isVolumetric}from"../../utilities/symbol.js";import{HitTestIdentifyProvider}from"./HitTestIdentifyProvider.js";export class CSVLayer3DHitTestIdentifyProvider extends
|
|
1
|
+
import{isCSVLayerExtension as e}from"../../utilities/extensions.js";import{isVolumetric as r}from"../../utilities/symbol.js";import{HitTestIdentifyProvider as s}from"./HitTestIdentifyProvider.js";export class CSVLayer3DHitTestIdentifyProvider extends s{isSupported(s,t,i){return super.isSupported(s,t,i)&&e(s)&&"scene"===s.mapExtension.viewMode&&!!s._layerView?.view&&(s.layer.capabilities?.data?.supportsZ||"simple"===(o=s.layer.renderer).type&&r(o.symbol)||function(e){return"class-breaks"===e.type&&e.classBreakInfos.map((e=>e.symbol)).some(r)}(s.renderer)||function(e){return"unique-value"===e.type&&e.uniqueValueInfos.map((e=>e.symbol)).some(r)}(s.layer.renderer));var o}_supportsQuery(){return!1}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{toFeature}from"../../data/Feature.js";import{cancelifyWithAbortSignal}from"../../support/Cancellable.js";import{executeQuery,executeCount}from"../../support/_query.js";import{isCSVLayerExtension,isFeatureCollectionLayerExtension}from"../../utilities/extensions.js";import{removeZValues}from"../../utilities/geometry.js";import{IdentifyProviderBase}from"./IdentifyProviderBase.js";import{hitTestForClusterFeatures}from"./_utilities.js";async function
|
|
1
|
+
import{toFeature as e}from"../../data/Feature.js";import{cancelifyWithAbortSignal as t}from"../../support/Cancellable.js";import{executeQuery as r,executeCount as a}from"../../support/_query.js";import{isCSVLayerExtension as i,isFeatureCollectionLayerExtension as o}from"../../utilities/extensions.js";import{removeZValues as n}from"../../utilities/geometry.js";import{IdentifyProviderBase as s}from"./IdentifyProviderBase.js";import{hitTestForClusterFeatures as u}from"./_utilities.js";async function l(e,r,a,i){const o=await u(e,r);if(0===o.length)return[];i.aggregateIds=o.map((e=>e.getObjectId()));return(await t((t=>e._layerView.queryFeatures(i,{signal:t})),a.cancelToken))?.features}export class CSVLayerClientSideQueryIdentifyProvider extends s{isSupported(e,t,r){return(i(e)||o(e))&&!!e.layer}_identify(t,a,i,o){return async function*(){const s=t,u=s.layer.createQuery();if(u.outFields=t.featureSettings.outFields,u.returnGeometry=i.returnGeometry,u.outSpatialReference=i.outSpatialReference,u.maxAllowableOffset=i.maxAllowableOffset,u.num=i.maxResults,u.returnZ="scene"===s.mapExtension?.viewMode,"cluster"===s?.layer?.featureReduction?.type&&"point"===o){const r=await l(s,a,i,u);if(r?.length>0)return void(yield*r.map((r=>e(r,{source:t}))))}let c=a;c&&!s.layer.capabilities?.data?.supportsZ&&(c=n(c.clone())),u.geometry=c,yield*r(u,s,s.layer,i.cancelToken)}()}async _count(e,t,r,i){const o=e,s=o.layer.createQuery();if(s.num=r.maxResults,s.returnGeometry=r.returnGeometry,s.outFields=e.featureSettings.outFields,"cluster"===o?.layer?.featureReduction?.type&&"point"===i){const e=await l(o,t,r,s);if(e?.length>0)return{source:o,count:e.length}}if(!s.aggregateIds){let e=t;e&&!o.layer.capabilities?.data?.supportsZ&&(e=n(e.clone())),s.geometry=e}return a(s,o,o.layer,r.cancelToken)}}
|
|
@@ -17,11 +17,11 @@ import { IdentifyProviderBase } from "./IdentifyProviderBase.js";
|
|
|
17
17
|
/**
|
|
18
18
|
* LayerExtensions that support client-side identify.
|
|
19
19
|
*/
|
|
20
|
-
export
|
|
20
|
+
export type ClientSideIdentifiableLayerExtension = CSVLayerExtension | FeatureLayerExtension | FeatureCollectionLayerExtension | SceneLayerExtension | StreamLayerExtension | SubtypeGroupLayerExtension;
|
|
21
21
|
/**
|
|
22
22
|
* SublayerExtensions that support client-side identify.
|
|
23
23
|
*/
|
|
24
|
-
export
|
|
24
|
+
export type ClientSideIdentifiableSublayerExtension = BuildingComponentSublayerExtension | SubtypeSublayerExtension;
|
|
25
25
|
/**
|
|
26
26
|
* An identify provider that works with graphics rendered on the map.
|
|
27
27
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{toFeature}from"../../data/Feature.js";import{cancelifyWithAbortSignal}from"../../support/Cancellable.js";import*as
|
|
1
|
+
import{toFeature as e}from"../../data/Feature.js";import{cancelifyWithAbortSignal as t}from"../../support/Cancellable.js";import*as r from"../../utilities/asyncIterable.js";import{isSubtypeSublayerExtension as i}from"../../utilities/extensions.js";import{isBuildingComponentSublayer as a}from"../../utilities/layers.js";import{IdentifyProviderBase as s}from"./IdentifyProviderBase.js";export class ClientSideIdentifyProvider extends s{_identify(t,i,a,s){const n=this;return async function*(){const o=await n._getClientSideLayerGraphics(t,i,a,s);o?.length?yield*o.map((r=>e(r,{source:t}))):yield*r.empty()}()}async _count(e,t,r,i){const a=await this._getClientSideLayerGraphics(e,t,r,i);return{source:e,count:a?a.length:0}}_createQuery(e,t,r,s){const n=i(e)?e.layerExtension:e,{_layerView:o,featureSettings:l}=n,u=a(n.sublayer)?e.layerExtension?.mapExtension:e.mapExtension,c=o.createQuery();return c.geometry=t,c.outFields=l.outFields,c.returnGeometry=r.returnGeometry,c.outSpatialReference=r.outSpatialReference,c.maxAllowableOffset=r.maxAllowableOffset,c.num=r.maxResults,c.returnZ="scene"===u?.viewMode,c.aggregateIds=s,c}async _getClientSideLayerGraphics(e,r,a,s){const n=i(e)?e.layerExtension:e,{_layerView:o}=n;if(!o)return;return(await t((async t=>o.queryFeatures(this._createQuery(e,r,a),{signal:t})),a.cancelToken))?.features}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{isFeatureLayerExtension}from"../../utilities/extensions.js";import{isPoint}from"../../utilities/geometry.js";import{isVolumetric}from"../../utilities/symbol.js";import{FeatureLayerQueryProvider}from"../query/FeatureLayerQueryProvider.js";import{HitTestIdentifyProvider}from"./HitTestIdentifyProvider.js";export class FeatureLayer3DHitTestIdentifyProvider extends
|
|
1
|
+
import{isFeatureLayerExtension as e}from"../../utilities/extensions.js";import{isPoint as r}from"../../utilities/geometry.js";import{isVolumetric as t}from"../../utilities/symbol.js";import{FeatureLayerQueryProvider as s}from"../query/FeatureLayerQueryProvider.js";import{HitTestIdentifyProvider as i}from"./HitTestIdentifyProvider.js";export class FeatureLayer3DHitTestIdentifyProvider extends i{constructor(){super(...arguments),this.queryProvider=new s}isSupported(s,i,o){return super.isSupported(s,i,o)&&e(s)&&"scene"===s.mapExtension.viewMode&&(s.layer.hasZ||"simple"===(n=s.layer.renderer)?.type&&t(n.symbol)||function(e){return"class-breaks"===e?.type&&e.classBreakInfos.map((e=>e.symbol)).some(t)}(s.renderer)||function(e){return"unique-value"===e?.type&&e.uniqueValueInfos.map((e=>e.symbol)).some(t)}(s.layer.renderer))&&i&&!!s._layerView?.view?.extent?.intersects(r(i)?i:i.extent);var n}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{cancelifyWithAbortSignal}from"../../support/Cancellable.js";import{isPoint}from"../../utilities/geometry.js";import{isFeatureLayer}from"../../utilities/layers.js";import{ClientSideIdentifyProvider}from"./ClientSideIdentifyProvider.js";import{hitTestForClusterFeatures}from"./_utilities.js";export class FeatureLayerClientSideIdentifyProvider extends
|
|
1
|
+
import{cancelifyWithAbortSignal as e}from"../../support/Cancellable.js";import{isPoint as t}from"../../utilities/geometry.js";import{isFeatureLayer as r}from"../../utilities/layers.js";import{ClientSideIdentifyProvider as i}from"./ClientSideIdentifyProvider.js";import{hitTestForClusterFeatures as a}from"./_utilities.js";export class FeatureLayerClientSideIdentifyProvider extends i{isSupported(e,i,a){return r(e.layer)&&e.enableClientSideData&&i&&!!e._layerView?.view?.extent?.intersects(t(i)?i:i.extent)}async _getClientSideLayerGraphics(t,r,i,s){let n=[];if("cluster"===t.layer?.featureReduction?.type&&"point"===s&&(n=await a(t,r)),n.length>0){const{_layerView:r}=t,a=await e((async e=>r.queryFeatures(super._createQuery(t,void 0,i,n.map((e=>e.getObjectId()))))),i.cancelToken);if(a?.features.length>0)return a.features}return super._getClientSideLayerGraphics(t,r,i)}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{executeQuery,executeCount}from"../../support/_query.js";import{isFeatureCollectionLayerExtension,isFeatureLayerExtension}from"../../utilities/extensions.js";import{removeZValues}from"../../utilities/geometry.js";import{isFeatureLayer}from"../../utilities/layers.js";import{IdentifyProviderBase}from"./IdentifyProviderBase.js";export class FeatureLayerQueryIdentifyProvider extends
|
|
1
|
+
import{executeQuery as e,executeCount as t}from"../../support/_query.js";import{isFeatureCollectionLayerExtension as r,isFeatureLayerExtension as a}from"../../utilities/extensions.js";import{removeZValues as o}from"../../utilities/geometry.js";import{isFeatureLayer as s}from"../../utilities/layers.js";import{IdentifyProviderBase as i}from"./IdentifyProviderBase.js";export class FeatureLayerQueryIdentifyProvider extends i{isSupported(e,t,o){return(a(e)||r(e))&&s(e.layer)}_identify(t,r,a){const s=t,i=s.layer.createQuery();let l=r;return!l||s.layer.hasZ&&s.layer.capabilities?.data?.supportsZ||(l=o(l.clone())),i.geometry=l,i.outFields=t.featureSettings.outFields,i.returnGeometry=a.returnGeometry,i.outSpatialReference=a.outSpatialReference,i.maxAllowableOffset=a.maxAllowableOffset,s.layer.capabilities.query.supportsPagination&&(i.num=a.maxResults),i.returnZ="scene"===t.mapExtension?.viewMode,e(i,s,s.layer,a.cancelToken)}_count(e,r,a){const s=e,i=s.layer.createQuery();let l=r;return!l||s.layer.hasZ&&s.layer.capabilities?.data?.supportsZ||(l=o(l.clone())),i.geometry=l,i.num=a.maxResults,i.returnGeometry=a.returnGeometry,i.outFields=e.featureSettings.outFields,t(i,s,s.layer,a.cancelToken)}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{isGeoRssLayerExtension}from"../../utilities/extensions.js";import{GeoRSSLayerQueryProvider}from"../query/GeoRSSLayerQueryProvider.js";import{IdentifyProviderBase}from"./IdentifyProviderBase.js";export class GeoRSSLayerIdentifyProvider extends
|
|
1
|
+
import{isGeoRssLayerExtension as e}from"../../utilities/extensions.js";import{GeoRSSLayerQueryProvider as r}from"../query/GeoRSSLayerQueryProvider.js";import{IdentifyProviderBase as t}from"./IdentifyProviderBase.js";export class GeoRSSLayerIdentifyProvider extends t{constructor(){super(...arguments),this._provider=new r}isSupported(r,t,o){return e(r)}_identify(e,r,t){const o=e,s={cancelToken:t.cancelToken,outFields:e.featureSettings.outFields,returnGeometry:t.returnGeometry,spatialFilter:r,maxResults:t.maxResults};return this._provider.query(o,"1=1",s)}_count(e,r,t){const o=e,s={cancelToken:t.cancelToken,spatialFilter:r,maxResults:t.maxResults,returnGeometry:t.returnGeometry,outFields:e.featureSettings.outFields};return this._provider.count(o,"1=1",s)}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{executeQuery,executeCount}from"../../support/_graphicsQuery.js";import{isGraphicsLayer}from"../../utilities/_layers.js";import{IdentifyProviderBase}from"./IdentifyProviderBase.js";export class GraphicsLayerQueryIdentifyProvider extends
|
|
1
|
+
import{executeQuery as e,executeCount as r}from"../../support/_graphicsQuery.js";import{isGraphicsLayer as t}from"../../utilities/_layers.js";import{IdentifyProviderBase as s}from"./IdentifyProviderBase.js";export class GraphicsLayerQueryIdentifyProvider extends s{isSupported(e,r,s){const{layer:i}=e;return t(i)&&e.capabilities.supportsQuery}_identify(r,t,s){const i=r.layer,a={cancelToken:s.cancelToken,outFields:r.featureSettings.outFields,returnGeometry:s.returnGeometry,spatialFilter:t,maxResults:s.maxResults};return e("1=1",r,i.graphics,a)}_count(e,t,s){const i=e.layer,a={cancelToken:s.cancelToken,spatialFilter:t,maxResults:s.maxResults};return r("1=1",e,i.graphics,a)}}
|
|
@@ -15,11 +15,11 @@ import { IdentifyProviderBase } from "./IdentifyProviderBase.js";
|
|
|
15
15
|
/**
|
|
16
16
|
* Layer extension types whose layers support the hit test operation.
|
|
17
17
|
*/
|
|
18
|
-
export
|
|
18
|
+
export type HitTestLayerExtension = CSVLayerExtension | FeatureLayerExtension | PointCloudLayerExtension | SceneLayerExtension;
|
|
19
19
|
/**
|
|
20
20
|
* Sublayer extension types whose sublayers support the hit test operation.
|
|
21
21
|
*/
|
|
22
|
-
|
|
22
|
+
type HitTestSublayerExtension = BuildingComponentSublayerExtension;
|
|
23
23
|
/**
|
|
24
24
|
* An identify provider that works with the graphics rendered on the map.
|
|
25
25
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{isLayerExtension}from"../../ItemType.js";import{toFeature}from"../../data/Feature.js";import*as
|
|
1
|
+
import{isLayerExtension as e}from"../../ItemType.js";import{toFeature as t}from"../../data/Feature.js";import*as r from"../../utilities/asyncIterable.js";import{isPoint as i}from"../../utilities/geometry.js";import{isBuildingComponentSublayer as s}from"../../utilities/layers.js";import{IdentifyProviderBase as o}from"./IdentifyProviderBase.js";export class HitTestIdentifyProvider extends o{isSupported(e,t,r){return"point"===t?.type||!this._supportsQuery(e)}_identify(i,s,o){const a=this,u={...o};return async function*(){const o=await n(i,s),y=e(i)?i.layer:i.sublayer;if(o?.length){const e="point-cloud"===y.type?void 0:y.objectIdField;if(a.queryProvider&&a._supportsQuery(i)&&e&&(c=o[0],!i.featureSettings.outFields.every((e=>c.attributes.hasOwnProperty(e))))){const t=o.map((t=>`${e} = ${t.getAttribute(e)}`)).join(" OR ");yield*a.queryProvider.query(i,t,u)}else yield*o.map((e=>t(e,{source:i})))}else yield*r.empty();var c}()}async _count(e,t,r){const i=await n(e,t);return{source:e,count:i?i.length:0}}_supportsQuery(e){return!0}async _applyTolerance(e){return e}}async function n(e,t){const r=s(e.sublayer),o=r?e.layerExtension?.mapExtension:e.mapExtension,n=r?e.sublayer:e.layer,u=e._layerView.view;if("map"===o.viewMode||!u)return;const y=await u.hitTest(u.toScreen(i(t)?t:t.extent.center));let c=y?y.results.sort(a).map((e=>e.graphic)).filter((e=>(e.sourceLayer??e.layer)===n)):void 0;const l=r?e.sublayer.objectIdField:e.layer.objectIdField;if(c&&l){const e=new Set(c.map((e=>e.getAttribute(l))));c=[...e].map((e=>c.find((t=>t.getAttribute(l)===e))))}return c}function a(e,t){return e.distance<=t.distance?-1:1}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{format}from"../../utilities/string.js";export class IdentifyError extends Error{constructor(
|
|
1
|
+
import{format as r}from"../../utilities/string.js";export class IdentifyError extends Error{constructor(e,o,...t){super(o&&r(o,...t)||"One or more sources could not be identified."),this.name="IdentifyError",this.errors=new Map(e)}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{InvalidOperationError}from"../../InvalidOperationError.js";import{checkArg}from"../../utilities/checkArg.js";import{buffer}from"../../utilities/geometry.js";import{IdentifyOptions}from"./IdentifyOptions.js";export class IdentifyProviderBase{identify(
|
|
1
|
+
import{InvalidOperationError as e}from"../../InvalidOperationError.js";import{checkArg as t}from"../../utilities/checkArg.js";import{buffer as i}from"../../utilities/geometry.js";import{IdentifyOptions as r}from"./IdentifyOptions.js";export class IdentifyProviderBase{identify(i,o,s){if(t("source",i).isNotMissing(),t("geometry",o).isNotMissing(),!this.isSupported(i,o,s))throw new e("Unsupported feature source.");const n=this;return async function*(){await i.initialize(),yield*n._identify(i,await n._applyTolerance(o,s),{...r.DEFAULTS,...r.fromFeatureSource(i),...s},o.type)}()}async count(i,o,s){if(t("source",i).isNotMissing(),t("geometry",o).isNotMissing(),!this.isSupported(i,o,s))throw new e("Unsupported feature source.");await i.initialize();return this._count(i,await this._applyTolerance(o,s),{...r.fromFeatureSource(i),...s,returnGeometry:!1},o.type)}async _applyTolerance(e,t){switch(e.type){case"point":case"multipoint":case"polygon":case"polyline":return!t?.tolerance||t.tolerance<=0?e:await i(e,t.tolerance,"meters")??e;default:return e}}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{isLayerExtension,isMapExtension,isSublayerExtension}from"../../ItemType.js";import{MapExtension}from"../../mapping/MapExtension.js";import{isCancellation}from"../../support/utilities.js";import{AsyncQueue,empty,from}from"../../utilities/asyncIterable.js";import{checkArg}from"../../utilities/checkArg.js";import{Collection}from"../../utilities/collection.js";import{createCrossTypeUnion}from"../../utilities/geometry.js";import{isMap}from"../../utilities/mapping.js";import{ArcGISSublayerQueryIdentifyProvider}from"./ArcGISSublayerQueryIdentifyProvider.js";import{BuildingComponentSublayerClientSideIdentifyProvider}from"./BuildingComponentSublayerClientSideIdentifyProvider.js";import{BuildingComponentSublayerHitTestIdentifyProvider}from"./BuildingComponentSublayerHitTestIdentifyProvider.js";import{CSVLayer3DHitTestIdentifyProvider}from"./CSVLayer3DHitTestIdentifyProvider.js";import{CSVLayerClientSideQueryIdentifyProvider}from"./CSVLayerClientSideQueryIdentifyProvider.js";import{FeatureLayer3DHitTestIdentifyProvider}from"./FeatureLayer3DHitTestIdentifyProvider.js";import{FeatureLayerClientSideIdentifyProvider}from"./FeatureLayerClientSideIdentifyProvider.js";import{FeatureLayerQueryIdentifyProvider}from"./FeatureLayerQueryIdentifyProvider.js";import{GeoRSSLayerIdentifyProvider}from"./GeoRSSLayerIdentifyProvider.js";import{GraphicsLayerQueryIdentifyProvider}from"./GraphicsLayerQueryIdentifyProvider.js";import{IdentifyError}from"./IdentifyError.js";import{IdentifyOptions}from"./IdentifyOptions.js";import{ImageryLayerIdentifyProvider}from"./ImageryLayerIdentifyProvider.js";import{KMLLayerQueryIdentifyProvider}from"./KMLLayerQueryIdentifyProvider.js";import{PointCloudLayerHitTestIdentifyProvider}from"./PointCloudLayerHitTestIdentifyProvider.js";import{SceneLayerClientSideIdentifyProvider}from"./SceneLayerClientSideIdentifyProvider.js";import{SceneLayerHitTestIdentifyProvider}from"./SceneLayerHitTestIdentifyProvider.js";import{SceneLayerQueryIdentifyProvider}from"./SceneLayerQueryIdentifyProvider.js";import{StreamLayerClientSideQueryIdentifyProvider}from"./StreamLayerClientSideQueryIdentifyProvider.js";import{SubtypeSublayerClientSideIdentifyProvider}from"./SubtypeSublayerClientSideIdentifyProvider.js";import{SubtypeSublayerQueryIdentifyProvider}from"./SubtypeSublayerQueryIdentifyProvider.js";import{WMSSublayerIdentifyProvider}from"./WMSSublayerIdentifyProvider.js";export class IdentifyService{constructor(){this.providers=new
|
|
1
|
+
import{isLayerExtension as e,isMapExtension as i,isSublayerExtension as r}from"../../ItemType.js";import{MapExtension as t}from"../../mapping/MapExtension.js";import{isCancellation as o}from"../../support/utilities.js";import{AsyncQueue as s,empty as n,from as d}from"../../utilities/asyncIterable.js";import{checkArg as a}from"../../utilities/checkArg.js";import{Collection as p}from"../../utilities/collection.js";import{createCrossTypeUnion as m}from"../../utilities/geometry.js";import{isMap as f}from"../../utilities/mapping.js";import{ArcGISSublayerQueryIdentifyProvider as y}from"./ArcGISSublayerQueryIdentifyProvider.js";import{BuildingComponentSublayerClientSideIdentifyProvider as u}from"./BuildingComponentSublayerClientSideIdentifyProvider.js";import{BuildingComponentSublayerHitTestIdentifyProvider as c}from"./BuildingComponentSublayerHitTestIdentifyProvider.js";import{CSVLayer3DHitTestIdentifyProvider as l}from"./CSVLayer3DHitTestIdentifyProvider.js";import{CSVLayerClientSideQueryIdentifyProvider as v}from"./CSVLayerClientSideQueryIdentifyProvider.js";import{FeatureLayer3DHitTestIdentifyProvider as w}from"./FeatureLayer3DHitTestIdentifyProvider.js";import{FeatureLayerClientSideIdentifyProvider as j}from"./FeatureLayerClientSideIdentifyProvider.js";import{FeatureLayerQueryIdentifyProvider as S}from"./FeatureLayerQueryIdentifyProvider.js";import{GeoRSSLayerIdentifyProvider as h}from"./GeoRSSLayerIdentifyProvider.js";import{GraphicsLayerQueryIdentifyProvider as I}from"./GraphicsLayerQueryIdentifyProvider.js";import{IdentifyError as P}from"./IdentifyError.js";import{IdentifyOptions as g}from"./IdentifyOptions.js";import{ImageryLayerIdentifyProvider as b}from"./ImageryLayerIdentifyProvider.js";import{KMLLayerQueryIdentifyProvider as L}from"./KMLLayerQueryIdentifyProvider.js";import{PointCloudLayerHitTestIdentifyProvider as C}from"./PointCloudLayerHitTestIdentifyProvider.js";import{SceneLayerClientSideIdentifyProvider as M}from"./SceneLayerClientSideIdentifyProvider.js";import{SceneLayerHitTestIdentifyProvider as D}from"./SceneLayerHitTestIdentifyProvider.js";import{SceneLayerQueryIdentifyProvider as A}from"./SceneLayerQueryIdentifyProvider.js";import{StreamLayerClientSideQueryIdentifyProvider as z}from"./StreamLayerClientSideQueryIdentifyProvider.js";import{SubtypeSublayerClientSideIdentifyProvider as E}from"./SubtypeSublayerClientSideIdentifyProvider.js";import{SubtypeSublayerQueryIdentifyProvider as Q}from"./SubtypeSublayerQueryIdentifyProvider.js";import{WMSSublayerIdentifyProvider as T}from"./WMSSublayerIdentifyProvider.js";export class IdentifyService{constructor(){this.providers=new p,this.providers.add(new y),this.providers.add(new l),this.providers.add(new v),this.providers.add(new w),this.providers.add(new j),this.providers.add(new S),this.providers.add(new h),this.providers.add(new b),this.providers.add(new L),this.providers.add(new T),this.providers.add(new C),this.providers.add(new D),this.providers.add(new A),this.providers.add(new M),this.providers.add(new z),this.providers.add(new I),this.providers.add(new c),this.providers.add(new u),this.providers.add(new E),this.providers.add(new Q)}isSupported(e,i,r){return!!this.providers.find((t=>t.isSupported(e,i,r)))}identify(e,r,y){a("sources",e).isNotMissing(),a("geometry",r).isNotMissing();const u={...g.DEFAULTS,...y},{outSpatialReference:c,onSourceComplete:l}=u;if(void 0!==y?.maxResults&&y.maxResults<=0)return n();let v;Array.isArray(r)?(a("geometry",r).isNotEmpty(),v=r):v=[r];const w=m(v);let j,S=[];p.isCollection(e)?S=e.toArray():i(e)?j=e:f(e)?j=new t({map:e}):S=[...e];let h=0;const I=new s,b=new Map,L=e=>{h++;const i={source:e,count:0,time:-1};(async()=>{try{if(I.isDone)return;const r=Date.now();await e.initialize();for await(const t of d(w.map((i=>{const r=this.providers.find((r=>r.isSupported(e,i,y)));return r?r.identify(e,i,u):n()})),"eager")){if(i.count++,i.time<0&&(i.time=Date.now()-r),I.isDone)return;c&&(t.schema.spatialReference=c),I.add(t)}i.time<0&&(i.time=Date.now()-r)}catch(r){if(i.failureReason=r,o(r))return void I.reject(r);b.set(e,r)}finally{l?.(i)}0==--h&&(b.size?I.reject(new P(b)):I.done())})()};return(async()=>{try{j&&(await j.initialize(),S=j.getAllFeatureSources(isIdentifiable))}catch(e){I.reject(new Error("Map failed to initialize.",{cause:e}))}S.forEach(L),0===h&&I.done()})(),I}count(e,r,n){a("sources",e).isNotMissing(),a("geometry",r).isNotMissing();const d={...n,returnGeometry:!1};let m,y=[];p.isCollection(e)?y=e.toArray():i(e)?m=e:f(e)?m=new t({map:e}):y=[...e];let u=0;const c=new s,l=new Map,v=e=>{const i=this.providers.find((i=>i.isSupported(e,r,n)));i&&(u++,(async()=>{if(!c.isDone){try{if(await e.initialize(),c.isDone)return;c.add(await i.count(e,r,d))}catch(i){if(o(i))return void c.reject(i);l.set(e,i)}0==--u&&(l.size?c.reject(new P(l)):c.done())}})())};return(async()=>{try{m&&(await m.initialize(),y=m.getAllFeatureSources(isIdentifiable))}catch(e){c.reject(new Error("Map failed to initialize.",{cause:e}))}y.forEach(v),0===u&&c.done()})(),c}}export function isIdentifiable(i){return!!i.taskSettings.enableIdentify&&(e(i)?i.layer?.visible:!r(i)||i.sublayer?.visible)}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import e from"@arcgis/core/geometry/Point";import t from"@arcgis/core/geometry/Polygon";import{project as r}from"@arcgis/core/rest/geometryService";import{identify as a}from"@arcgis/core/rest/imageService";import i from"@arcgis/core/rest/support/ImageIdentifyParameters";import s from"@arcgis/core/rest/support/ProjectParameters";import{Feature as o,toFeature as n}from"../../data/Feature.js";import{cancelifyWithAbortSignal as l}from"../../support/Cancellable.js";import{constrainQueryTimeExtentToView as c}from"../../support/_query.js";import{toArray as u}from"../../utilities/asyncIterable.js";import{isImageryLayerExtension as m}from"../../utilities/extensions.js";import{isPoint as f,isPolygon as g,isPolyline as y}from"../../utilities/geometry.js";import{getLogger as p}from"../../utilities/log.js";import{isNumeric as d}from"../../utilities/number.js";import{IdentifyProviderBase as I}from"./IdentifyProviderBase.js";const h=p("ImageryLayerIdentifyProvider");export class ImageryLayerIdentifyProvider extends I{isSupported(e,t,r){return m(e)}async*_identify(r,a,i){const s=r;let o=a;if(a&&!f(a)&&!g(a))if(y(a)){h.debug("An identify on an Imagery Layer (ArcGISImageServiceLayer) was performed using polyline geometry, which is not supported. The center vertex of in the input geometry was used instead.");const t=a.paths[0][Math.floor(a.paths[0].length/2)];o=new e({spatialReference:a.spatialReference,x:t[0],y:t[1]})}else o=t.fromExtent(a.extent);const n=await this._executeIdentifyTask(s,o,i);yield*this._getResultFeatures(n,s,i)}async _count(e,t,r){const a=e;r.returnGeometry=!1;const i=await this._executeIdentifyTask(a,t,r);return{source:e,count:(await u(this._getResultFeatures(i,a,r))).length}}async _executeIdentifyTask(e,t,r){const{layer:s}=e,o=new i({geometry:t,mosaicRule:s.mosaicRule,renderingRule:s.renderingRule,returnCatalogItems:e.includeCatalogItems,returnGeometry:e.includeCatalogItems&&r.returnGeometry});c(o,e);return l((async e=>a(s.url,o,{signal:e})),r.cancelToken)}_getPixelData(e,t,r,a){const{layer:i}=a;let s=r.properties?.Values[e]??r.value,o=r.value;const n=i._rasterAttributeTableFieldPrefix;d(s)&&(s=parseFloat(s)),d(o)&&(o=parseFloat(o)),t.attributes.set(`${n}ServicePixelValue`,o),t.attributes.set(`${n}ServicePixelValue.Raw`,o),t.attributes.set(`${n}ItemPixelValue`,s);const l=i.serviceRasterInfo?.attributeTable??i.rasterInfo?.attributeTable;if(l){const{features:e,fields:r}=l,a=e.find((e=>e.getAttribute("Value")===s));r.forEach((e=>{"Value"!==e.name&&"oid"!==e.type&&t.attributes.set(`${n}${e.name}`,a?.getAttribute(e.name))}))}}async*_getResultFeatures(e,t,r){if("NoData"===e.value)return;const a=r.outSpatialReference&&r.outSpatialReference.wkid!==t.layer.spatialReference.wkid;if(t.includeCatalogItems&&e.catalogItems){let i=Promise.resolve([]);a&&r.returnGeometry&&(i=this._projectGeometries(t.layer.url,e.catalogItems.features.map((e=>e.geometry)),r.outSpatialReference,r.cancelToken));const s=[],{outFields:o}=t.featureSettings;e.catalogItems.features.forEach(((r,a)=>{const i=n(r,{source:t});if(o&&!o.includes("*"))for(const e of i.attributes.keys())o.includes(e)||i.attributes.delete(e);i.attributes.set("visible",1===e.catalogItemVisibilities[a]),this._getPixelData(a,i,e,t),s.push(i)}));const l=await i;l.length>0&&l.forEach(((e,t)=>s[t].geometry=e)),yield*s}if(!t.includeCatalogItems||!e.catalogItems){const i=new o({source:t});i.geometry=a?(await this._projectGeometries(t.layer.url,[e.location],r.outSpatialReference,r.cancelToken))[0]:e.location,this._getPixelData(0,i,e,t),yield i}}_projectGeometries(e,t,a,i){const o=new s({geometries:t,outSpatialReference:a});return l((async t=>r(e,o,{signal:t})),i)}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{KMLLayerQueryProvider}from"../query/KMLLayerQueryProvider.js";import{IdentifyProviderBase}from"./IdentifyProviderBase.js";export class KMLLayerQueryIdentifyProvider extends
|
|
1
|
+
import{KMLLayerQueryProvider as e}from"../query/KMLLayerQueryProvider.js";import{IdentifyProviderBase as r}from"./IdentifyProviderBase.js";export class KMLLayerQueryIdentifyProvider extends r{constructor(){super(...arguments),this._provider=new e}isSupported(e,r,t){return this._provider.isSupported(e)}_identify(e,r,t){const s={cancelToken:t.cancelToken,outFields:e.featureSettings.outFields,returnGeometry:t.returnGeometry,spatialFilter:r,maxResults:t.maxResults};return this._provider.query(e,"1=1",s)}_count(e,r,t){const s={cancelToken:t.cancelToken,spatialFilter:r,maxResults:t.maxResults};return this._provider.count(e,"1=1",s)}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{isPointCloudLayer}from"../../utilities/layers.js";import{HitTestIdentifyProvider}from"./HitTestIdentifyProvider.js";export class PointCloudLayerHitTestIdentifyProvider extends
|
|
1
|
+
import{isPointCloudLayer as e}from"../../utilities/layers.js";import{HitTestIdentifyProvider as r}from"./HitTestIdentifyProvider.js";export class PointCloudLayerHitTestIdentifyProvider extends r{isSupported(r,t,i){return super.isSupported(r,t,i)&&e(r.layer)&&"scene"===r.mapExtension?.viewMode&&!!r._layerView?.view}_supportsQuery(e){return!1}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{isSceneLayer}from"../../utilities/layers.js";import{ClientSideIdentifyProvider}from"./ClientSideIdentifyProvider.js";export class SceneLayerClientSideIdentifyProvider extends
|
|
1
|
+
import{isSceneLayer as e}from"../../utilities/layers.js";import{ClientSideIdentifyProvider as t}from"./ClientSideIdentifyProvider.js";export class SceneLayerClientSideIdentifyProvider extends t{isSupported(t,r,i){return e(t.layer)}_createQuery(e,t,r){const{mapExtension:i,_layerView:a,featureSettings:l}=e,o=a.createQuery();return o.geometry=t,o.outFields=l.outFields,o.outSpatialReference=r.outSpatialReference,o.maxAllowableOffset=r.maxAllowableOffset,o.num=r.maxResults,o.returnZ="scene"===i.viewMode,o}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{isSceneLayerExtension}from"../../utilities/extensions.js";import{SceneLayerQueryProvider}from"../query/SceneLayerQueryProvider.js";import{HitTestIdentifyProvider}from"./HitTestIdentifyProvider.js";export class SceneLayerHitTestIdentifyProvider extends
|
|
1
|
+
import{isSceneLayerExtension as e}from"../../utilities/extensions.js";import{SceneLayerQueryProvider as r}from"../query/SceneLayerQueryProvider.js";import{HitTestIdentifyProvider as i}from"./HitTestIdentifyProvider.js";export class SceneLayerHitTestIdentifyProvider extends i{constructor(){super(...arguments),this.queryProvider=new r}isSupported(r,i,t){return super.isSupported(r,i,t)&&e(r)&&"scene"===r.mapExtension.viewMode&&!!r._layerView?.view}_supportsQuery(e){return!!e.layer?.associatedLayer||!!e._layerView}}
|