@vertigis/arcgis-extensions 38.0.5 → 38.1.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/portal/GroupLayer.d.ts
CHANGED
|
@@ -36,6 +36,7 @@ export declare namespace GroupLayer {
|
|
|
36
36
|
* treat them as one layer called Water Features even though they are stored as
|
|
37
37
|
* separate feature layers.
|
|
38
38
|
*
|
|
39
|
+
* See
|
|
39
40
|
* {@link https://developers.arcgis.com/web-scene-specification/objects/groupLayer/}.
|
|
40
41
|
*/
|
|
41
42
|
export interface GroupLayer extends OperationalLayerBase {
|
|
@@ -63,4 +64,4 @@ export interface GroupLayer extends OperationalLayerBase {
|
|
|
63
64
|
* Group layer visibility mode which indicates how visibility of children is
|
|
64
65
|
* affected.
|
|
65
66
|
*/
|
|
66
|
-
export
|
|
67
|
+
export type GroupLayerVisibilityMode = "independent" | "exclusive" | "inherited";
|
package/portal/GroupLayer.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{isGroupLayer}from"../utilities/_layers.js";import{checkArg}from"../utilities/checkArg.js";import{LayerBase}from"./_LayerBase.js";import{ERR_LAYER_TYPE_MISMATCH,applyLayerBaseToEsriApiLayer,applyOperationalLayerToEsriApiLayer,fromEsriApiLayerToLayerBase,fromEsriApiLayerToOperationalLayer}from"./_layerHelper.js";export var GroupLayer;!function(
|
|
1
|
+
import{isGroupLayer as r}from"../utilities/_layers.js";import{checkArg as i}from"../utilities/checkArg.js";import{LayerBase as e}from"./_LayerBase.js";import{ERR_LAYER_TYPE_MISMATCH as s,applyLayerBaseToEsriApiLayer as a,applyOperationalLayerToEsriApiLayer as y,fromEsriApiLayerToLayerBase as o,fromEsriApiLayerToOperationalLayer as t}from"./_layerHelper.js";export var GroupLayer;!function(p){async function l(o,t,p){i("layerJson",o).isNotMissing();const l=o.layerType||o.type;i("layerJson.layerType",l).satisfies((r=>!r||"GroupLayer"===r),s),i("layer",t).isNotMissing().satisfies(r,s),a(o,t),y(o,t),o.hasOwnProperty("visibilityMode")&&(t.visibilityMode=o.visibilityMode),o.hasOwnProperty("layers")&&await e.applyToEsriApiLayers(t.layers,o.layers,p)}p.toEsriApiLayer=async function(r,e){i("layerJson",r).isNotMissing();const a=r.layerType||r.type;i("layerJson.layerType",a).satisfies((r=>!r||"GroupLayer"===r),s);const y=new((await import("@arcgis/core/layers/GroupLayer")).default);return await l(r,y,e),y},p.applyToEsriApiLayer=l,p.fromEsriApiGroupLayer=function(r){i("groupLayer",r).isNotMissing();const s={...o(r),...t(r),layerType:"GroupLayer",layers:[]};return r.visibilityMode&&(s.visibilityMode=r.visibilityMode),r.layers.forEach((r=>{s.layers.push(e.fromEsriApiLayer(r))})),s}}(GroupLayer||(GroupLayer={}));
|
|
@@ -4,6 +4,7 @@ import type { Color } from "./Symbol.js";
|
|
|
4
4
|
* The HeatmapRenderer renders point data into a raster visualization that
|
|
5
5
|
* emphasizes areas of higher density or weighted values.
|
|
6
6
|
*
|
|
7
|
+
* See
|
|
7
8
|
* {@link https://developers.arcgis.com/web-map-specification/objects/heatmapRenderer/}.
|
|
8
9
|
*/
|
|
9
10
|
export interface HeatmapRenderer extends RendererBase {
|
|
@@ -40,6 +41,7 @@ export interface HeatmapRenderer extends RendererBase {
|
|
|
40
41
|
* A colorStop object describes the renderer's color ramp with more specificity
|
|
41
42
|
* than just colors. Note that either ratio or value is required.
|
|
42
43
|
*
|
|
44
|
+
* See
|
|
43
45
|
* {@link https://developers.arcgis.com/web-map-specification/objects/colorStop/}.
|
|
44
46
|
*/
|
|
45
47
|
export interface ColorStop {
|
|
@@ -3,6 +3,7 @@ import type { Material, Outline, ResourceIconSymbol, Symbol3DLayer } from "./Sym
|
|
|
3
3
|
* IconSymbol3DLayer is used to render Point geometries using a flat 2D icon
|
|
4
4
|
* (e.g. a circle) with a PointSymbol3D in a SceneView.
|
|
5
5
|
*
|
|
6
|
+
* See
|
|
6
7
|
* {@link https://developers.arcgis.com/web-scene-specification/objects/iconSymbol3DLayer/}.
|
|
7
8
|
*/
|
|
8
9
|
export interface IconSymbol3DLayer extends Symbol3DLayer {
|
|
@@ -54,6 +54,7 @@ export declare namespace ImageServiceLayer {
|
|
|
54
54
|
* or uncached (dynamic). This object specifically details properties within
|
|
55
55
|
* uncached image services.
|
|
56
56
|
*
|
|
57
|
+
* See
|
|
57
58
|
* {@link https://developers.arcgis.com/web-map-specification/objects/imageServiceLayer/}
|
|
58
59
|
* {@link https://developers.arcgis.com/web-scene-specification/objects/imageServiceLayer/}.
|
|
59
60
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import e from"@arcgis/core/geometry/Extent";import r from"@arcgis/core/portal/Portal";import i from"@arcgis/core/portal/PortalItem";import{isImageryLayer as a}from"../utilities/_layers.js";import{checkArg as o}from"../utilities/checkArg.js";import{deepClone as t}from"../utilities/object.js";import{LayerDefinition as p}from"./LayerDefinition.js";import{MosaicRule as s}from"./MosaicRule.js";import{PopupInfo as n}from"./PopupInfo.js";import{PixelType as l,RenderingRule as y}from"./RenderingRule.js";import{ERR_LAYER_TYPE_MISMATCH as m,applyLayerBaseToEsriApiLayer as c,applyBasemapLayerToEsriApiLayer as u,applyOperationalLayerToEsriApiLayer as f,fromEsriApiLayerToLayerBase as I,fromEsriApiLayerToOperationalLayer as g}from"./_layerHelper.js";export var ImageServiceLayer;!function(d){async function h(e,I,g){o("layerJson",e).isNotMissing(),o("layerJson.layerType",e.layerType).satisfies((e=>!e||"ArcGISImageServiceLayer"===e||"ArcGISImageServiceVectorLayer"===e),m),o("layer",I).isNotMissing().satisfies(a,m),c(e,I),u(e,I),f(e,I),e.hasOwnProperty("url")&&(I.url=e.url),e.hasOwnProperty("bandIds")&&(I.bandIds=t(e.bandIds)),e.hasOwnProperty("copyright")&&(I.copyright=e.copyright),e.hasOwnProperty("compressionQuality")&&(I.compressionQuality=e.compressionQuality),e.hasOwnProperty("format")&&(I.format=e.format),e.hasOwnProperty("itemId")&&(I.portalItem?I.portalItem.id=e.itemId:I.portalItem=new i({id:e.itemId,portal:g||r.getDefault()})),e.hasOwnProperty("mosaicRule")&&(I.mosaicRule=s.toEsriApiMosaicRule(e.mosaicRule)),e.hasOwnProperty("noDataInterpretation")&&(I.noDataInterpretation="esriNoDataMatchAll"===e.noDataInterpretation?"all":"any"),e.hasOwnProperty("popupInfo")&&(I.popupTemplate=n.toEsriApiPopupTemplate(e.popupInfo)),e.hasOwnProperty("pixelType")&&(I.pixelType=l.toEsriApiPixelType(e.pixelType)),e.hasOwnProperty("renderingRule")&&(I.renderingRule=y.toEsriApiRasterFunction(e.renderingRule)),e.hasOwnProperty("layerDefinition")&&await p.applyToEsriApiLayer(e.layerDefinition,I)}d.esriImageServiceLayerDefaults={popupEnabled:!0,visible:!0,opacity:1,wkid:4326,minScale:0,maxScale:0,fullExtent:new e({xmin:-180,ymin:-90,xmax:180,ymax:90,spatialReference:{wkid:4326}})},d.toEsriApiLayer=async function(e){o("layerJson",e).isNotMissing(),o("layerJson.layerType",e.layerType).satisfies((e=>!e||"ArcGISImageServiceLayer"===e||"ArcGISImageServiceVectorLayer"===e),m);const r=new((await import("@arcgis/core/layers/ImageryLayer")).default);return await h(e,r),r},d.applyToEsriApiLayer=h,d.fromEsriApiImageryLayer=function(e){o("layer",e).isNotMissing();const r={...I(e),...g(e),layerType:"ArcGISImageServiceLayer",url:e.url,layerDefinition:p.fromEsriApiLayer(e,d.esriImageServiceLayerDefaults)};return e.bandIds&&(r.bandIds=t(e.bandIds)),e.copyright&&(r.copyright=e.copyright),isNaN(e.compressionQuality)||(r.compressionQuality=e.compressionQuality),e.format&&(r.format=e.format),e.portalItem&&(r.itemId=e.portalItem.id),e.mosaicRule&&(r.mosaicRule=s.fromEsriApiMosaicRule(e.mosaicRule)),e.noDataInterpretation&&(r.noDataInterpretation="all"===e.noDataInterpretation?"esriNoDataMatchAll":"esriNoDataMatchAny"),e.popupTemplate&&(r.popupInfo=n.fromEsriApiPopupTemplate(e.popupTemplate)),e.pixelType&&(r.pixelType=l.fromEsriApiPixelType(e.pixelType)),e.renderingRule&&(r.renderingRule=y.fromEsriApiRasterFunction(e.renderingRule)),r}}(ImageServiceLayer||(ImageServiceLayer={}));
|
|
@@ -9,6 +9,7 @@ import type { OperationalLayerBase } from "./OperationalLayer.js";
|
|
|
9
9
|
* magnitude values and one band holds direction values. The
|
|
10
10
|
* imageServiceVectorLayer also supports time-enabled data.
|
|
11
11
|
*
|
|
12
|
+
* See
|
|
12
13
|
* {@link https://developers.arcgis.com/web-map-specification/objects/imageServiceVectorLayer/}.
|
|
13
14
|
*/
|
|
14
15
|
export interface ImageServiceVectorLayer extends OperationalLayerBase, BaseMapLayerBase {
|
|
@@ -27,7 +27,7 @@ export declare namespace InheritedDomain {
|
|
|
27
27
|
/**
|
|
28
28
|
* This domain applies to domains on subtypes. It implies that the domain for a
|
|
29
29
|
* field at the subtype level is the same as the domain for the field at the
|
|
30
|
-
* layer level.
|
|
30
|
+
* layer level. See
|
|
31
31
|
* {@link https://developers.arcgis.com/web-map-specification/objects/inherited_domain/}
|
|
32
32
|
* {@link https://developers.arcgis.com/web-scene-specification/objects/inherited_domain/}.
|
|
33
33
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import i from"@arcgis/core/layers/support/InheritedDomain";import{checkArg as e}from"../utilities/checkArg.js";export var InheritedDomain;!function(n){function t(i,n){e("inheritedDomainJson",i).isNotMissing(),e("inheritedDomainJson.type",i.type).isNotMissing().satisfies((i=>"inherited"===i)),e("inheritedDomain",n).isNotMissing(),e("inheritedDomain.type",n.type).isNotMissing().satisfies((i=>"inherited"===i))}n.toEsriApiInheritedDomain=function(n){e("inheritedDomainJson",n).isNotMissing(),e("inheritedDomainJson.type",n.type).isNotMissing().satisfies((i=>"inherited"===i));const s=new i;return t(n,s),s},n.applyToEsriApiInheritedDomain=t,n.fromEsriApiInheritedDomain=function(i){return e("inheritedDomain",i).isNotMissing(),e("inheritedDomain.type",i.type).isNotMissing().satisfies((i=>"inherited"===i)),i.toJSON()}}(InheritedDomain||(InheritedDomain={}));
|
package/portal/InitialState.d.ts
CHANGED
package/portal/InitialState.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import i from"@arcgis/core/webscene/InitialViewProperties";import{checkArg as n}from"../utilities/checkArg.js";import{Environment as t}from"./Environment.js";import{Viewpoint as e}from"./Viewpoint.js";export var InitialState;!function(r){r.toEsriApiInitialViewProperties=function(r){n("initialStateJson",r).isNotMissing();const o=new i;return r.hasOwnProperty("viewpoint")&&(o.viewpoint=e.toEsriApiViewpoint(r.viewpoint)),r.hasOwnProperty("environment")&&(o.environment=t.toEsriApiEnvironment(r.environment)),o},r.fromEsriApiInitialViewProperties=function(i){return n("initialViewProperties",i).isNotMissing(),{environment:t.fromEsriApiEnvironment(i.environment),viewpoint:e.fromEsriApiViewpoint(i.viewpoint)}}}(InitialState||(InitialState={}));
|
|
@@ -39,6 +39,7 @@ export declare namespace IntegratedMeshLayer {
|
|
|
39
39
|
* building walls, trees, valleys, and cliffs, with realistic textures and
|
|
40
40
|
* includes elevation information.
|
|
41
41
|
*
|
|
42
|
+
* See
|
|
42
43
|
* {@link https://developers.arcgis.com/web-scene-specification/objects/integratedMeshLayer/}.
|
|
43
44
|
*/
|
|
44
45
|
export interface IntegratedMeshLayer extends OperationalLayerBase {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import e from"@arcgis/core/portal/Portal";import r from"@arcgis/core/portal/PortalItem";import{isIntegratedMeshLayer as t}from"../utilities/_layers.js";import{checkArg as a}from"../utilities/checkArg.js";import{ERR_LAYER_TYPE_MISMATCH as s,applyLayerBaseToEsriApiLayer as i,applyOperationalLayerToEsriApiLayer as o,fromEsriApiLayerToLayerBase as l,fromEsriApiLayerToOperationalLayer as n}from"./_layerHelper.js";export var IntegratedMeshLayer;!function(y){async function p(l,n,y){a("layerJson",l).isNotMissing(),a("layerJson.layerType",l.layerType).satisfies((e=>!e||"IntegratedMeshLayer"===e),s),a("layer",n).isNotMissing().satisfies(t,s),i(l,n),o(l,n),l.hasOwnProperty("url")&&(n.url=l.url),l.hasOwnProperty("itemId")&&(n.portalItem?n.portalItem.id=l.itemId:n.portalItem=new r({id:l.itemId,portal:y||e.getDefault()}))}y.esriIntegratedMeshLayerDefaults={visible:!0,opacity:1},y.toEsriApiLayer=async function(e,r){a("layerJson",e).isNotMissing(),a("layerJson.layerType",e.layerType).satisfies((e=>!e||"IntegratedMeshLayer"===e),s);const t={};e?.url&&(t.url=e.url);const i=new((await import("@arcgis/core/layers/IntegratedMeshLayer")).default);return await p(e,i,r),i},y.applyToEsriApiLayer=p,y.fromEsriApiIntegratedMeshLayer=function(e){a("layer",e).isNotMissing();const r={...l(e,y.esriIntegratedMeshLayerDefaults),...n(e),layerType:"IntegratedMeshLayer",url:e.url};return e.portalItem&&(r.itemId=e.portalItem.id),r}}(IntegratedMeshLayer||(IntegratedMeshLayer={}));
|
package/portal/Item.d.ts
CHANGED
|
@@ -23,6 +23,7 @@ export declare namespace Item {
|
|
|
23
23
|
* corresponding to the map package via the item data resource. The numViews is
|
|
24
24
|
* incremented when an item is opened.
|
|
25
25
|
*
|
|
26
|
+
* See
|
|
26
27
|
* {@link http://resources.arcgis.com/en/help/arcgis-rest-api/index.html#/Item/02r30000007w000000/}.
|
|
27
28
|
*/
|
|
28
29
|
export interface Item {
|
|
@@ -79,7 +80,7 @@ export interface Item {
|
|
|
79
80
|
proxyFilter?: Record<string, unknown>;
|
|
80
81
|
/**
|
|
81
82
|
* The GIS content type of this item. Example types include Web Map, Map
|
|
82
|
-
* Service, Shapefile, and Web Mapping Application.
|
|
83
|
+
* Service, Shapefile, and Web Mapping Application. See
|
|
83
84
|
* {@link http://resources.arcgis.com/en/help/arcgis-rest-api/index.html#//02r3000000ms000000}.
|
|
84
85
|
*/
|
|
85
86
|
type?: string;
|
package/portal/Item.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import t from"@arcgis/core/portal/PortalItem";import{config as r}from"../config.js";export var Item;!function(o){o.fromEsriApiPortalItem=function(t){const o=t.toJSON();if(t.portal)for(const i of r.portals.keys())if(r.portals.get(i)===t.portal){o.$portal=i;break}return o},o.toEsriApiPortalItem=function(o){const{id:i,title:e,url:a,type:l}=o,p=new t({id:i,title:e,url:a,type:l});if(o.$portal){if(!r.portals.has(o.$portal))throw new Error(`Portal with ID '${o.$portal}' must be configured through @vertigis/arcgis-extensions/config.`);p.portal=r.portals.get(o.$portal)}return p}}(Item||(Item={}));
|
|
@@ -4,7 +4,7 @@ import type { DynamicMapLayer } from "./DynamicMapLayer.js";
|
|
|
4
4
|
/**
|
|
5
5
|
* Join Table data source is the result of a join operation. Nested joins are
|
|
6
6
|
* supported. To use nested joins, set either leftTableSource or
|
|
7
|
-
* rightTableSource to be a joinTable.
|
|
7
|
+
* rightTableSource to be a joinTable. See
|
|
8
8
|
* {@link https://developers.arcgis.com/web-map-specification/objects/joinTableDataSource/}
|
|
9
9
|
* {@link https://developers.arcgis.com/web-scene-specification/objects/joinTableDataSource/}.
|
|
10
10
|
*/
|
|
@@ -39,4 +39,4 @@ export interface JoinTableDataSource extends DataSourceBase {
|
|
|
39
39
|
/**
|
|
40
40
|
* The type of the JoinTableDataSource.
|
|
41
41
|
*/
|
|
42
|
-
export
|
|
42
|
+
export type JoinType = "esriLeftOuterJoin" | "esriLeftInnerJoin";
|
package/portal/KMLLayer.d.ts
CHANGED
|
@@ -29,6 +29,7 @@ export declare namespace KMLLayer {
|
|
|
29
29
|
* (OGC) standard. KML is a common format for sharing geographic data with
|
|
30
30
|
* non-GIS users as it can be easily delivered on the Internet.
|
|
31
31
|
*
|
|
32
|
+
* See
|
|
32
33
|
* {@link https://developers.arcgis.com/web-map-specification/objects/kmlLayer/}.
|
|
33
34
|
*/
|
|
34
35
|
export interface KMLLayer extends OperationalLayerBase {
|
package/portal/KMLLayer.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{checkArg}from"../utilities/checkArg.js";import{ERR_LAYER_TYPE_MISMATCH,applyLayerBaseToEsriApiLayer,applyOperationalLayerToEsriApiLayer,fromEsriApiLayerToLayerBase,fromEsriApiLayerToOperationalLayer}from"./_layerHelper.js";export var KMLLayer;!function(
|
|
1
|
+
import{checkArg as s}from"../utilities/checkArg.js";import{ERR_LAYER_TYPE_MISMATCH as r,applyLayerBaseToEsriApiLayer as e,applyOperationalLayerToEsriApiLayer as i,fromEsriApiLayerToLayerBase as a,fromEsriApiLayerToOperationalLayer as l}from"./_layerHelper.js";export var KMLLayer;!function(y){async function o(a,l){if(s("layerJson",a).isNotMissing(),s("layerJson.layerType",a.layerType).satisfies((s=>!s||"KML"===s),r),s("layer",l).isNotMissing(),e(a,l),i(a,l),a.hasOwnProperty("visibleFolders")&&l.sublayers){const s=r=>{r.forEach((r=>{r.visible=a.visibleFolders.includes(r.id),r.sublayers&&s(r.sublayers)}))};s(l.sublayers)}a.hasOwnProperty("url")&&(l.url=a.url)}y.toEsriApiKMLLayer=async function(e){s("layerJson",e).isNotMissing(),s("layerJson.layerType",e.layerType).satisfies((s=>!s||"KML"===s),r);const i=new((await import("@arcgis/core/layers/KMLLayer")).default);return await o(e,i),i},y.applyToEsriApiKMLLayer=o,y.fromEsriApiKMLLayer=function(r){s("layer",r).isNotMissing();const e={...a(r),...l(r),layerType:"KML"};if(r.sublayers){e.visibleFolders=[];const s=r=>{r.forEach((r=>{r.visible&&e.visibleFolders.push(r.id),r.sublayers&&s(r.sublayers)}))};s(r.sublayers)}return r.url&&(e.url=r.url),e}}(KMLLayer||(KMLLayer={}));
|
|
@@ -6,6 +6,7 @@ import type { VerticalOffset } from "./VerticalOffset.js";
|
|
|
6
6
|
* LabelSymbol3D is used to render labels for features from a FeatureLayer in a
|
|
7
7
|
* 3D SceneView.
|
|
8
8
|
*
|
|
9
|
+
* See
|
|
9
10
|
* {@link https://developers.arcgis.com/web-scene-specification/objects/labelSymbol3D/}.
|
|
10
11
|
*/
|
|
11
12
|
export interface LabelSymbol3D extends Symbol3DBase {
|
package/portal/LabelingInfo.d.ts
CHANGED
|
@@ -20,6 +20,7 @@ export declare namespace LabelingInfo {
|
|
|
20
20
|
/**
|
|
21
21
|
* The labelingInfo object specifies the label definition for a layer.
|
|
22
22
|
*
|
|
23
|
+
* See
|
|
23
24
|
* {@link https://developers.arcgis.com/web-map-specification/objects/labelingInfo/}
|
|
24
25
|
* {@link https://developers.arcgis.com/web-scene-specification/objects/labelingInfo/}.
|
|
25
26
|
*/
|
|
@@ -31,7 +32,7 @@ export interface LabelingInfo {
|
|
|
31
32
|
labelExpression?: string;
|
|
32
33
|
/**
|
|
33
34
|
* This object allows label text to be read similar to that of the
|
|
34
|
-
* popupInfo's description property.
|
|
35
|
+
* popupInfo's description property. See
|
|
35
36
|
* {@link https://developers.arcgis.com/web-map-specification/objects/labelExpressionInfo/}
|
|
36
37
|
* {@link https://developers.arcgis.com/web-scene-specification/objects/labelExpressionInfo/}.
|
|
37
38
|
*/
|
|
@@ -87,7 +88,7 @@ export interface LabelingInfo {
|
|
|
87
88
|
/**
|
|
88
89
|
* Possible values used with {@link LabelingInfo.labelPlacement}.
|
|
89
90
|
*/
|
|
90
|
-
export
|
|
91
|
+
export type LabelPlacement = "esriServerLinePlacementAboveAfter" | "esriServerLinePlacementAboveAlong" | "esriServerLinePlacementAboveBefore" | "esriServerLinePlacementAboveEnd" | "esriServerLinePlacementAboveStart" | "esriServerLinePlacementBelowAfter" | "esriServerLinePlacementBelowAlong" | "esriServerLinePlacementBelowBefore" | "esriServerLinePlacementBelowEnd" | "esriServerLinePlacementBelowStart" | "esriServerLinePlacementCenterAfter" | "esriServerLinePlacementCenterAlong" | "esriServerLinePlacementCenterBefore" | "esriServerLinePlacementCenterEnd" | "esriServerLinePlacementCenterStart" | "esriServerPointLabelPlacementAboveCenter" | "esriServerPointLabelPlacementAboveLeft" | "esriServerPointLabelPlacementAboveRight" | "esriServerPointLabelPlacementBelowCenter" | "esriServerPointLabelPlacementBelowLeft" | "esriServerPointLabelPlacementBelowRight" | "esriServerPointLabelPlacementCenterCenter" | "esriServerPointLabelPlacementCenterLeft" | "esriServerPointLabelPlacementCenterRight" | "esriServerPolygonPlacementAlwaysHorizontal";
|
|
91
92
|
export declare namespace LabelPlacement {
|
|
92
93
|
/**
|
|
93
94
|
* Converts from api label placement constants used in the ArcGIS JavaScript
|
package/portal/LabelingInfo.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import e from"@arcgis/core/layers/support/LabelClass";import{assertNever as r,checkArg as n}from"../utilities/checkArg.js";export var LabelingInfo;!function(r){r.toEsriApiLabelClass=function(r){return n("labelingInfo",r).isNotMissing(),e.fromJSON(r)},r.fromEsriApiLabelClass=function(e){return n("labelClass",e).isNotMissing(),e.toJSON()}}(LabelingInfo||(LabelingInfo={}));export var LabelPlacement;function t(e,n){const t=e;switch(t){case"above-after":return"esriServerLinePlacementAboveAfter";case"above-along":return"esriServerLinePlacementAboveAlong";case"above-before":return"esriServerLinePlacementAboveBefore";case"above-center":return"esriServerPointLabelPlacementAboveCenter";case"above-end":return"esriServerLinePlacementAboveEnd";case"above-left":return"esriServerPointLabelPlacementAboveLeft";case"above-right":return"esriServerPointLabelPlacementAboveRight";case"above-start":return"esriServerLinePlacementAboveStart";case"always-horizontal":return"esriServerPolygonPlacementAlwaysHorizontal";case"below-after":return"esriServerLinePlacementBelowAfter";case"below-along":return"esriServerLinePlacementBelowAlong";case"below-before":return"esriServerLinePlacementBelowBefore";case"below-center":return"esriServerPointLabelPlacementBelowCenter";case"below-end":return"esriServerLinePlacementBelowEnd";case"below-left":return"esriServerPointLabelPlacementBelowLeft";case"below-right":return"esriServerPointLabelPlacementBelowRight";case"below-start":return"esriServerLinePlacementBelowStart";case"center-after":return"esriServerLinePlacementCenterAfter";case"center-along":return"esriServerLinePlacementCenterAlong";case"center-before":return"esriServerLinePlacementCenterBefore";case"center-center":return"esriServerPointLabelPlacementCenterCenter";case"center-end":return"esriServerLinePlacementCenterEnd";case"center-left":return"esriServerPointLabelPlacementCenterLeft";case"center-right":return"esriServerPointLabelPlacementCenterRight";case"center-start":return"esriServerLinePlacementCenterStart";default:return r(t,n)}}function a(e,n){const t=e;switch(t){case"esriServerLinePlacementAboveAfter":return"above-after";case"esriServerLinePlacementAboveAlong":return"above-along";case"esriServerLinePlacementAboveBefore":return"above-before";case"esriServerPointLabelPlacementAboveCenter":return"above-center";case"esriServerLinePlacementAboveEnd":return"above-end";case"esriServerPointLabelPlacementAboveLeft":return"above-left";case"esriServerPointLabelPlacementAboveRight":return"above-right";case"esriServerLinePlacementAboveStart":return"above-start";case"esriServerPolygonPlacementAlwaysHorizontal":return"always-horizontal";case"esriServerLinePlacementBelowAfter":return"below-after";case"esriServerLinePlacementBelowAlong":return"below-along";case"esriServerLinePlacementBelowBefore":return"below-before";case"esriServerPointLabelPlacementBelowCenter":return"below-center";case"esriServerLinePlacementBelowEnd":return"below-end";case"esriServerPointLabelPlacementBelowLeft":return"below-left";case"esriServerPointLabelPlacementBelowRight":return"below-right";case"esriServerLinePlacementBelowStart":return"below-start";case"esriServerLinePlacementCenterAfter":return"center-after";case"esriServerLinePlacementCenterAlong":return"center-along";case"esriServerLinePlacementCenterBefore":return"center-before";case"esriServerPointLabelPlacementCenterCenter":return"center-center";case"esriServerLinePlacementCenterEnd":return"center-end";case"esriServerPointLabelPlacementCenterLeft":return"center-left";case"esriServerPointLabelPlacementCenterRight":return"center-right";case"esriServerLinePlacementCenterStart":return"center-start";default:return r(t,n)}}!function(e){e.fromEsriApiLabelPlacement=function(e){if(!e)return;return!!a(e)?e:t(e,new Error("Unrecognized label placement."))},e.toEsriApiLabelPlacement=function(e){if(!e)return;return!!t(e)?e:a(e,new Error("Unrecognized label placement."))}}(LabelPlacement||(LabelPlacement={}));
|
package/portal/Layer.d.ts
CHANGED
|
@@ -46,7 +46,7 @@ export declare namespace Layer {
|
|
|
46
46
|
* individual layers of a web service. When used with a feature collection, this
|
|
47
47
|
* object also contains geographic features and their attributes.
|
|
48
48
|
*
|
|
49
|
-
* {@link https://developers.arcgis.com/web-map-specification/objects/layer/}
|
|
49
|
+
* See {@link https://developers.arcgis.com/web-map-specification/objects/layer/}
|
|
50
50
|
* {@link https://developers.arcgis.com/web-scene-specification/objects/layer/}.
|
|
51
51
|
*/
|
|
52
52
|
export interface Layer {
|
package/portal/Layer.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{ArgumentError}from"../ArgumentError.js";import{isMapImageSublayer,isWMTSLayer}from"../utilities/_layers.js";import{checkArg}from"../utilities/checkArg.js";import{LayerDefinition}from"./LayerDefinition.js";import{PopupInfo}from"./PopupInfo.js";export var Layer;!function(
|
|
1
|
+
import{ArgumentError as e}from"../ArgumentError.js";import{isMapImageSublayer as i,isWMTSLayer as a}from"../utilities/_layers.js";import{checkArg as r}from"../utilities/checkArg.js";import{LayerDefinition as t}from"./LayerDefinition.js";import{PopupInfo as s}from"./PopupInfo.js";export var Layer;!function(o){async function n(e,a){if(r("sublayer",a).isNotMissing(),e&&(e.hasOwnProperty("defaultVisibility")&&(a.visible=e.defaultVisibility),e.hasOwnProperty("id")&&(a.id=e.id),e.hasOwnProperty("title")&&(a.title=e.title),i(a)&&(e.hasOwnProperty("maxScale")&&(a.maxScale=e.maxScale),e.hasOwnProperty("minScale")&&(a.minScale=e.minScale),e.hasOwnProperty("name")&&(a.title=e.name),e.hasOwnProperty("popupInfo")&&(a.popupTemplate=s.toEsriApiPopupTemplate(e.popupInfo)),e.hasOwnProperty("showLegend")&&(a.legendEnabled=e.showLegend,a.showLegend=e.showLegend),e.hasOwnProperty("layerDefinition")&&await t.applyToEsriApiLayer(e.layerDefinition,a),e.hasOwnProperty("subLayerIds")&&a.sublayers))){const i=e.subLayerIds.map((e=>+e)),r=a.sublayers.toArray().filter((e=>!i.includes(+e.id)));a.sublayers.removeMany(r)}}o.toEsriApiSublayer=async function(i,a){let r;if("ArcGISMapServiceLayer"!==a)throw new e(`Unable to create sublayers for layer type "${a}".`);return r=new((await import("@arcgis/core/layers/support/Sublayer")).default),await n(i,r),r},o.applyToEsriApiSublayer=n,o.applyToEsriApiLayer=async function(e,i){r("layer",i).isNotMissing(),e&&(e.hasOwnProperty("defaultVisibility")&&(i.visible=e.defaultVisibility),e.hasOwnProperty("id")&&(i.id=e.id),e.hasOwnProperty("maxScale")&&(i.maxScale=e.maxScale),e.hasOwnProperty("minScale")&&(i.minScale=e.minScale),e.hasOwnProperty("title")&&(i.title=e.title),e.hasOwnProperty("name")&&(i.title=e.name),e.hasOwnProperty("popupInfo")&&(i.popupTemplate=s.toEsriApiPopupTemplate(e.popupInfo)),e.hasOwnProperty("showLegend")&&(i.legendEnabled=e.showLegend,i.showLegend=e.showLegend),e.hasOwnProperty("layerDefinition")&&await t.applyToEsriApiLayer(e.layerDefinition,i))},o.fromEsriApiSublayer=function(e,o=e?.layer){r("sublayer",e).isNotMissing().satisfies((e=>!a(e.layer)));const n={id:e.id,title:e.title};if(null!==e.visible&&void 0!==e.visible&&(n.defaultVisibility=e.visible),i(e)&&(n.minScale=e.minScale,n.maxScale=e.maxScale,n.layerDefinition=t.fromEsriApiLayer(e),e.popupTemplate&&(n.popupInfo=s.fromEsriApiPopupTemplate(e.popupTemplate)),null!==e.legendEnabled&&void 0!==e.legendEnabled&&(n.showLegend=e.legendEnabled)),e.sublayers?.length&&(n.subLayerIds=e.sublayers.map((e=>e.id)).toArray()),o?.sublayers){const i=[],a=(a,r)=>{if(a)for(const t of a.toArray()){if(t===e){n.parentLayerId=r;break}i.push(t)}};for(a(o.sublayers,-1);void 0===n.parentLayerId&&0!==i.length;){const e=i.pop();a(e.sublayers,e.id)}}else n.parentLayerId=-1;return n}}(Layer||(Layer={}));
|
package/portal/LayerBase.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{isBuildingSceneLayer,isCSVLayer,isElevationLayer,isFeatureLayer,isGeoRssLayer,isGraphicsLayer,isGroupLayer,isImageryLayer,isImageryTileLayer,isIntegratedMeshLayer,isKMLLayer,isMapImageLayer,isOpenStreetMapLayer,isPointCloudLayer,isSceneLayer,isStreamLayer,isSubtypeGroupLayer,isTiledImageServiceLayer,isTiledMapServiceLayer,isTileLayer,isVectorTileLayer,isWebTileLayer,isWMSLayer,isWMTSLayer,layersAreEquivalent}from"../utilities/_layers.js";import{checkArg}from"../utilities/checkArg.js";import{compareAsync}from"../utilities/collection.js";import{BuildingSceneLayer}from"./BuildingSceneLayer.js";import{CSVLayer}from"./CSVLayer.js";import{ElevationLayer}from"./ElevationLayer.js";import{FeatureLayer}from"./FeatureLayer.js";import{GeoRSSLayer}from"./GeoRSSLayer.js";import{GroupLayer}from"./GroupLayer.js";import{ImageServiceLayer}from"./ImageServiceLayer.js";import{IntegratedMeshLayer}from"./IntegratedMeshLayer.js";import{KMLLayer}from"./KMLLayer.js";import{MapServiceLayer}from"./MapServiceLayer.js";import{OpenStreetMapLayer}from"./OpenStreetMapLayer.js";import{PointCloudLayer}from"./PointCloudLayer.js";import{SceneLayer}from"./SceneLayer.js";import{StreamLayer}from"./StreamLayer.js";import{SubtypeGroupLayer}from"./SubtypeGroupLayer.js";import{TiledImageServiceLayer}from"./TiledImageServiceLayer.js";import{TiledMapServiceLayer}from"./TiledMapServiceLayer.js";import{VectorTileLayer}from"./VectorTileLayer.js";import{WMSLayer}from"./WMSLayer.js";import{WebTileLayer}from"./WebTileLayer.js";import{LayerBase}from"./_LayerBase.js";export{LayerBase}from"./_LayerBase.js";const
|
|
1
|
+
import{isBuildingSceneLayer as e,isCSVLayer as r,isElevationLayer as i,isFeatureLayer as a,isGeoRssLayer as t,isGraphicsLayer as p,isGroupLayer as o,isImageryLayer as y,isImageryTileLayer as s,isIntegratedMeshLayer as n,isKMLLayer as c,isMapImageLayer as L,isOpenStreetMapLayer as l,isPointCloudLayer as u,isSceneLayer as m,isStreamLayer as A,isSubtypeGroupLayer as E,isTiledImageServiceLayer as S,isTiledMapServiceLayer as f,isTileLayer as T,isVectorTileLayer as F,isWebTileLayer as d,isWMSLayer as I,isWMTSLayer as g,layersAreEquivalent as G}from"../utilities/_layers.js";import{checkArg as M}from"../utilities/checkArg.js";import{compareAsync as v}from"../utilities/collection.js";import{BuildingSceneLayer as j}from"./BuildingSceneLayer.js";import{CSVLayer as h}from"./CSVLayer.js";import{ElevationLayer as C}from"./ElevationLayer.js";import{FeatureLayer as V}from"./FeatureLayer.js";import{GeoRSSLayer as b}from"./GeoRSSLayer.js";import{GroupLayer as w}from"./GroupLayer.js";import{ImageServiceLayer as B}from"./ImageServiceLayer.js";import{IntegratedMeshLayer as W}from"./IntegratedMeshLayer.js";import{KMLLayer as J}from"./KMLLayer.js";import{MapServiceLayer as K}from"./MapServiceLayer.js";import{OpenStreetMapLayer as N}from"./OpenStreetMapLayer.js";import{PointCloudLayer as O}from"./PointCloudLayer.js";import{SceneLayer as P}from"./SceneLayer.js";import{StreamLayer as H}from"./StreamLayer.js";import{SubtypeGroupLayer as R}from"./SubtypeGroupLayer.js";import{TiledImageServiceLayer as _}from"./TiledImageServiceLayer.js";import{TiledMapServiceLayer as D}from"./TiledMapServiceLayer.js";import{VectorTileLayer as $}from"./VectorTileLayer.js";import{WMSLayer as k}from"./WMSLayer.js";import{WebTileLayer as q}from"./WebTileLayer.js";import{LayerBase as x}from"./_LayerBase.js";export{LayerBase}from"./_LayerBase.js";const U=new Map;async function z(e){return new((await import("@arcgis/core/layers/UnsupportedLayer")).default)}async function Q(e,r){console.warn(`Layer type: '${e.layerType||e.type}' is unsupported.`)}function X(e){console.warn(`Layer type: '${e?e.declaredClass:""}' is unsupported.`)}x.toEsriApiLayer=async(e,r)=>{M("layerJson",e).isNotMissing();const i=e.layerType||e.type;M("layerJson",e).satisfies((()=>!!i),"Layer JSON must have a valid 'layerType' property.");const a=function(e){const r=U.get(e);return r?r.createFunction:z}(i);return a(e,r)},x.applyToEsriApiLayer=async(e,r,i)=>{M("layerJson",e).isNotMissing(),M("layer",r).isNotMissing();const a=e.layerType||e.type;let t=x.getLayerType(r);"ArcGISTiledImageServiceLayer"===a&&(t=a),M("layerJson",e).satisfies((()=>!a||a===t),"The layer's type must match the 'layerType' property in the layer JSON.");return function(e){const r=U.get(e);return r?r.applyFunction:Q}(t)(e,r,i)},x.applyToEsriApiLayers=async(e,r,i)=>v(e,r,{onNew:async(r,a)=>{e.add(await x.toEsriApiLayer(r,i),a)},onMatch:async(r,a,t,p)=>{t!==p&&e.reorder(r,p),await x.applyToEsriApiLayer(a,r,i)},onMissing:r=>{e.remove(r)},equals:(e,r)=>G(e,r)}),x.getLayerType=f=>r(f)?"CSV":A(f)?"ArcGISStreamLayer":a(f)||p(f)?"ArcGISFeatureLayer":t(f)?"GeoRSS":y(f)?"ArcGISImageServiceLayer":s(f)?"ArcGISTiledImageServiceLayer":c(f)?"KML":L(f)?"ArcGISMapServiceLayer":l(f)?"OpenStreetMap":d(f)?"WebTiledLayer":F(f)?"VectorTileLayer":S(f)?"ArcGISTiledImageServiceLayer":T(f)?"ArcGISTiledMapServiceLayer":i(f)?"ArcGISTiledElevationServiceLayer":m(f)?"ArcGISSceneServiceLayer":u(f)?"PointCloudLayer":n(f)?"IntegratedMeshLayer":o(f)?"GroupLayer":I(f)?"WMS":g(f)?"WebTiledLayer":e(f)?"BuildingSceneLayer":E(f)?"SubtypeGroupLayer":void 0,x.fromEsriApiLayer=T=>{const G=function(T){return r(T)?h.fromEsriApiCSVLayer:A(T)?H.fromEsriApiStreamLayer:a(T)?V.fromEsriApiFeatureLayer:t(T)?b.fromEsriApiLayer:p(T)?V.fromEsriApiGraphicsLayer:y(T)?B.fromEsriApiImageryLayer:s(T)?_.fromEsriApiTileLayer:c(T)?J.fromEsriApiKMLLayer:L(T)?K.fromEsriApiMapImageLayer:l(T)?N.fromEsriApiOpenStreetMapLayer:d(T)?q.fromEsriApiLayer:F(T)?$.fromEsriApiVectorTileLayer:S(T)?_.fromEsriApiTileLayer:f(T)?D.fromEsriApiTileLayer:i(T)?C.fromEsriApiElevationLayer:m(T)?P.fromEsriApiSceneLayer:u(T)?O.fromEsriApiPointCloudLayer:n(T)?W.fromEsriApiIntegratedMeshLayer:o(T)?w.fromEsriApiGroupLayer:I(T)?k.fromEsriApiLayer:g(T)?q.fromEsriApiLayer:e(T)?j.fromEsriApiBuildingSceneLayer:E(T)?R.fromEsriApiSubtypeGroupLayer:X}(T);return G(T)},x.registerDefaultClassHandlers=()=>{U.clear(),U.set("ArcGISFeatureLayer",{createFunction:V.toEsriApiLayer,applyFunction:V.applyToEsriApiLayer}),U.set("ArcGISImageServiceLayer",{createFunction:B.toEsriApiLayer,applyFunction:B.applyToEsriApiLayer}),U.set("ArcGISImageServiceVectorLayer",{createFunction:B.toEsriApiLayer,applyFunction:B.applyToEsriApiLayer}),U.set("ArcGISMapServiceLayer",{createFunction:K.toEsriApiLayer,applyFunction:K.applyToEsriApiLayer}),U.set("ArcGISStreamLayer",{createFunction:H.toEsriApiLayer,applyFunction:H.applyToEsriApiLayer}),U.set("ArcGISTiledElevationServiceLayer",{createFunction:C.toEsriApiLayer,applyFunction:C.applyToEsriApiLayer}),U.set("ArcGISTiledImageServiceLayer",{createFunction:_.toEsriApiLayer,applyFunction:_.applyToEsriApiLayer}),U.set("ArcGISTiledMapServiceLayer",{createFunction:D.toEsriApiLayer,applyFunction:D.applyToEsriApiLayer}),U.set("OpenStreetMap",{createFunction:N.toEsriApiLayer,applyFunction:N.applyToEsriApiLayer}),U.set("VectorTileLayer",{createFunction:$.toEsriApiLayer,applyFunction:$.applyToEsriApiLayer}),U.set("CSV",{createFunction:h.toEsriApiLayer,applyFunction:h.applyToEsriApiLayer}),U.set("GeoRSS",{createFunction:b.toEsriApiLayer,applyFunction:b.applyToEsriApiLayer}),U.set("WMS",{createFunction:k.toEsriApiLayer,applyFunction:k.applyToEsriApiLayer}),U.set("KML",{createFunction:J.toEsriApiKMLLayer,applyFunction:J.applyToEsriApiKMLLayer}),U.set("WebTiledLayer",{createFunction:q.toEsriApiLayer,applyFunction:q.applyToEsriApiLayer}),U.set("IntegratedMeshLayer",{createFunction:W.toEsriApiLayer,applyFunction:W.applyToEsriApiLayer}),U.set("GroupLayer",{createFunction:w.toEsriApiLayer,applyFunction:w.applyToEsriApiLayer}),U.set("ArcGISSceneServiceLayer",{createFunction:P.toEsriApiLayer,applyFunction:P.applyToEsriApiLayer}),U.set("PointCloudLayer",{createFunction:O.toEsriApiLayer,applyFunction:O.applyToEsriApiLayer}),U.set("BuildingSceneLayer",{createFunction:j.toEsriApiLayer,applyFunction:j.applyToEsriApiLayer}),U.set("SubtypeGroupLayer",{createFunction:R.toEsriApiLayer,applyFunction:R.applyToEsriApiLayer})},x.registerLayerClassHandler=(e,r,i)=>{U.set(e,{createFunction:r,applyFunction:i})},x.registerDefaultClassHandlers();
|
|
@@ -86,6 +86,7 @@ export interface LayerDefinitionDefaults {
|
|
|
86
86
|
* a feature collection, a CSV file referenced through the web, or a single
|
|
87
87
|
* layer in an ArcGIS map service. Also used for dynamic layers.
|
|
88
88
|
*
|
|
89
|
+
* See
|
|
89
90
|
* {@link https://developers.arcgis.com/web-map-specification/objects/layerDefinition/}
|
|
90
91
|
* {@link https://developers.arcgis.com/web-scene-specification/objects/layerDefinition/}.
|
|
91
92
|
*/
|
|
@@ -163,7 +164,7 @@ export interface LayerDefinition {
|
|
|
163
164
|
*/
|
|
164
165
|
fields?: PortalField[];
|
|
165
166
|
/**
|
|
166
|
-
* Contains floor-awareness information for the layer.
|
|
167
|
+
* Contains floor-awareness information for the layer. See
|
|
167
168
|
* {@link https://developers.arcgis.com/web-map-specification/objects/layerFloorInfo/}.
|
|
168
169
|
*/
|
|
169
170
|
floorInfo?: {
|
|
@@ -252,7 +253,7 @@ export interface LayerDefinition {
|
|
|
252
253
|
*/
|
|
253
254
|
rangeInfos?: RangeInfo[];
|
|
254
255
|
/**
|
|
255
|
-
* An object indicating the layerDefinition's layer source.
|
|
256
|
+
* An object indicating the layerDefinition's layer source. See
|
|
256
257
|
* {@link https://developers.arcgis.com/web-map-specification/objects/source/}
|
|
257
258
|
* {@link https://developers.arcgis.com/web-scene-specification/objects/source/}.
|
|
258
259
|
*/
|
|
@@ -342,7 +343,7 @@ export interface LayerDefinition {
|
|
|
342
343
|
visibilityField?: string;
|
|
343
344
|
}
|
|
344
345
|
/**
|
|
345
|
-
* Defines overridden properties on a field for a specific view of the data.
|
|
346
|
+
* Defines overridden properties on a field for a specific view of the data. See
|
|
346
347
|
* {@link https://developers.arcgis.com/web-map-specification/objects/fieldOverride/}.
|
|
347
348
|
*/
|
|
348
349
|
export interface FieldOverride {
|
|
@@ -361,7 +362,7 @@ export interface FieldOverride {
|
|
|
361
362
|
}
|
|
362
363
|
/**
|
|
363
364
|
* Time info if the layer/table supports querying and exporting maps based on
|
|
364
|
-
* time.
|
|
365
|
+
* time. See
|
|
365
366
|
* {@link https://developers.arcgis.com/web-map-specification/objects/layerTimeInfo/}.
|
|
366
367
|
*/
|
|
367
368
|
export interface LayerTimeInfo {
|
|
@@ -396,7 +397,7 @@ export interface LayerTimeInfo {
|
|
|
396
397
|
timeIntervalUnits?: TemporalUnit;
|
|
397
398
|
/**
|
|
398
399
|
* Defines information about daylight savings time and the time zone in
|
|
399
|
-
* which data was collected.
|
|
400
|
+
* which data was collected. See
|
|
400
401
|
* {@link https://developers.arcgis.com/web-map-specification/objects/timeReference/}.
|
|
401
402
|
*/
|
|
402
403
|
timeReference?: {
|
|
@@ -441,11 +442,11 @@ export interface TimeInfoExportOptions {
|
|
|
441
442
|
/**
|
|
442
443
|
* Temporal units in which a time value can be measured.
|
|
443
444
|
*/
|
|
444
|
-
export
|
|
445
|
+
export type TemporalUnit = "esriTimeUnitsCenturies" | "esriTimeUnitsDays" | "esriTimeUnitsDecades" | "esriTimeUnitsHours" | "esriTimeUnitsMilliseconds" | "esriTimeUnitsMinutes" | "esriTimeUnitsMonths" | "esriTimeUnitsSeconds" | "esriTimeUnitsUnknown" | "esriTimeUnitsWeeks" | "esriTimeUnitsYears";
|
|
445
446
|
/**
|
|
446
447
|
* The HTML popup type for the LayerDefinition.
|
|
447
448
|
*/
|
|
448
|
-
export
|
|
449
|
+
export type HtmlPopupType = "esriServerHTMLPopupTypeAsHTMLText" | "esriServerHTMLPopupTypeAsURL" | "esriServerHTMLPopupTypeNone";
|
|
449
450
|
/**
|
|
450
451
|
* A clause in a layer definition's `orderBy` property.
|
|
451
452
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import e from"@arcgis/core/geometry/Extent";import i from"@arcgis/core/layers/support/TimeInfo";import{DataLayerSource as t,MapLayerSource as r}from"../support/_esriInternal.js";import{isBuildingSceneLayer as a,isCSVLayer as o,isFeatureLayer as s,isFeatureLayerBase as n,isGeoJSONLayer as p,isMapImageSublayer as l,isSceneLayer as c,isStreamLayer as f,isTimeAwareLayer as m}from"../utilities/_layers.js";import{checkArg as d}from"../utilities/checkArg.js";import{isBuildingComponentSublayer as y,isGraphicsLayer as u,isLayer as h,isPointCloudLayer as E}from"../utilities/layers.js";import{isEmpty as x}from"../utilities/object.js";import{DrawingInfo as I}from"./DrawingInfo.js";import{ElevationInfo as b}from"./ElevationInfo.js";import{FeatureReduction as g}from"./FeatureReduction.js";import{Field as w}from"./Field.js";import{GeometryType as A}from"./Geometry.js";import{SpatialReference as R}from"./SpatialReference.js";import{Template as O}from"./Template.js";export var LayerDefinition;!function(P){P.applyToEsriApiLayer=async function(a,p){d("json",a).isNotMissing(),d("layer",p).isNotMissing();const c=p,y=p;if(n(c)&&(a.hasOwnProperty("objectIdField")&&(f(c)?c.objectIdField="__esri_stream_id__":c.objectIdField=a.objectIdField),a.hasOwnProperty("geometryType")&&(c.geometryType=A.toEsriApiGeometryType(a.geometryType)),a.hasOwnProperty("hasAttachments")&&y._set("capabilities.data.supportsAttachment",a.hasAttachments),a.hasOwnProperty("maxRecordCount")&&(y.maxRecordCount=a.maxRecordCount),a.hasOwnProperty("hasM")&&y._set("hasM",a.hasM),a.hasOwnProperty("hasZ")&&y._set("hasZ",a.hasZ),a.hasOwnProperty("templates")&&(c.templates=a.templates.map((e=>O.toEsriApiFeatureTemplate(e))))),a.hasOwnProperty("orderBy")&&(s(c)||o(c))&&(a.orderBy?c.orderBy=a.orderBy.map((e=>({field:e.field,order:"desc"===e.order?"descending":"ascending"}))):c.orderBy=void 0),a.hasOwnProperty("source")&&l(p)&&!p.layer?.loaded){const{type:e,...i}=a.source;"dataLayer"===e?y._set("source",new t(i)):"mapLayer"===e&&y._set("source",new r(i))}if(a.hasOwnProperty("copyrightText")&&(p.copyright=a.copyrightText),a.hasOwnProperty("defaultVisibility")&&(p.visible=a.defaultVisibility),a.hasOwnProperty("definitionExpression")&&(p.definitionExpression=a.definitionExpression),a.hasOwnProperty("elevationInfo")&&a.elevationInfo&&(p.elevationInfo=b.toEsriApiElevationInfo(a.elevationInfo)),a.hasOwnProperty("extent")&&(p.fullExtent=a.extent?e.fromJSON(a.extent):void 0),a.hasOwnProperty("fields")){const e=[];a.fields.forEach((i=>{e.push(w.toEsriApiField(i))})),y._set("fields",e)}a.hasOwnProperty("maxScale")&&(p.maxScale=a.maxScale),a.hasOwnProperty("minScale")&&(p.minScale=a.minScale),a.hasOwnProperty("name")&&!p.title&&(p.title=a.name);try{a.hasOwnProperty("spatialReference")?p.spatialReference=R.toEsriApiSpatialReference(a.spatialReference):p.fullExtent?.spatialReference&&p.spatialReference&&(p.spatialReference=p.fullExtent.spatialReference.clone())}catch{}a.hasOwnProperty("timeInfo")&&m(p)&&(p.timeInfo=i.fromJSON(a.timeInfo)),a.hasOwnProperty("featureReduction")&&a.featureReduction&&await g.applyToEsriApiLayer(a.featureReduction,p),a.hasOwnProperty("drawingInfo")&&await I.applyToEsriApiLayer(a.drawingInfo,p)},P.fromEsriApiLayer=function(e,i={}){d("layer",e).isNotMissing();const t={},r=e,P=e;if(n(r)){const a=e;r.objectIdField&&(t.objectIdField=r.objectIdField),a.geometryType&&(t.geometryType=A.fromEsriApiGeometryType(a.geometryType)),r.capabilities&&r.capabilities.data.supportsAttachment!==i.hasAttachments&&(t.hasAttachments=r.capabilities.data.supportsAttachment),isNaN(P.maxRecordCount)||null==P.maxRecordCount||(t.maxRecordCount=P.maxRecordCount),r.capabilities&&(t.capabilities=LayerDefinitionCapabilities.fromEsriApiFeatureLayerCapabilities(r.capabilities),r.capabilities.query&&(t.supportsAdvancedQueries=r.capabilities.query.supportsOrderBy||r.capabilities.query.supportsDistinct,t.supportsStatistics=r.capabilities.query.supportsStatistics)),r.hasM!==i.hasM&&(t.hasM=r.hasM),r.hasZ!==i.hasZ&&(t.hasZ=r.hasZ),r.templates&&r.templates.length>0&&(t.templates=r.templates.map((e=>O.fromEsriApiFeatureTemplate(e))))}if(e.featureReduction&&(t.featureReduction=g.fromEsriApiLayer(e)),l(e)&&e.source&&("data-layer"===e.source.type||"map-layer"===e.source.type)&&(t.source=e.source.toJSON()),e.copyright&&(t.copyrightText=e.copyright),e.visible===i.visible||l(e)||(t.defaultVisibility=e.visible),e.definitionExpression&&(t.definitionExpression=e.definitionExpression),t.drawingInfo=I.fromEsriApiLayer(e),x(t.drawingInfo)&&delete t.drawingInfo,(y(e)?!!e.layer?.elevationInfo:!!e.elevationInfo)&&(t.elevationInfo=b.fromEsriApiElevationInfo(e.elevationInfo)),(s(e)&&e.source||o(e)||u(e)||p(e)||f(e))&&(e.fullExtent&&!e.fullExtent.equals(i.fullExtent)&&(t.extent=e.fullExtent.toJSON()),e.fields&&e.fields.length>0)){const i=[];e.fields.forEach((e=>{i.push(w.fromEsriApiField(e))})),t.fields=i}if((s(r)||o(r))&&r.orderBy&&(t.orderBy=r.orderBy.map((e=>({field:e.field,order:"descending"===e.order?"desc":"asc"})))),s(r)||o(r)||f(r)||c(r)||a(r)||E(r)){const{maxScale:e}=r,{minScale:a}=r;isNaN(e)||null===e||e===i.maxScale&&e===a||(t.maxScale=e),isNaN(a)||null===a||a===i.minScale&&a===e||(t.minScale=a)}return m(r)&&(t.timeInfo=r.timeInfo?.toJSON()),t.name=e.title,h(e)&&e.spatialReference&&e.spatialReference.wkid!==i.wkid&&(t.spatialReference=R.fromEsriApiSpatialReference(e.spatialReference)),t}}(LayerDefinition||(LayerDefinition={}));export var LayerDefinitionCapabilities;!function(e){e.ADD="Add",e.DELETE="Delete",e.EDITING="Editing",e.QUERY="Query",e.UPDATE="Update",e.fromEsriApiFeatureLayerCapabilities=function(i){d("capabilities",i).isNotMissing();const t=[];return i.operations.supportsAdd&&t.push(e.ADD),i.operations.supportsDelete&&t.push(e.DELETE),i.operations.supportsEditing&&t.push(e.EDITING),i.operations.supportsQuery&&t.push(e.QUERY),i.operations.supportsUpdate&&t.push(e.UPDATE),t.join(",")}}(LayerDefinitionCapabilities||(LayerDefinitionCapabilities={}));
|
package/portal/Lighting.d.ts
CHANGED
|
@@ -22,12 +22,13 @@ export declare namespace Lighting {
|
|
|
22
22
|
/**
|
|
23
23
|
* Settings for defining the lighting of the scene.
|
|
24
24
|
*/
|
|
25
|
-
export
|
|
25
|
+
export type Lighting = SunLighting | VirtualLighting;
|
|
26
26
|
/**
|
|
27
27
|
* Object containing information for the virtual lighting type. The position of
|
|
28
28
|
* the light follows the camera and is set behind the camera with a small offset
|
|
29
29
|
* to the left side.
|
|
30
30
|
*
|
|
31
|
+
* See
|
|
31
32
|
* {@link https://developers.arcgis.com/web-scene-specification/objects/sunLighting/}.
|
|
32
33
|
*/
|
|
33
34
|
export interface VirtualLighting {
|
|
@@ -44,6 +45,7 @@ export interface VirtualLighting {
|
|
|
44
45
|
* Object containing information for the sun lighting type. The position of the
|
|
45
46
|
* light is set to the sun's location.
|
|
46
47
|
*
|
|
48
|
+
* See
|
|
47
49
|
* {@link https://developers.arcgis.com/web-scene-specification/objects/sunLighting/}.
|
|
48
50
|
*/
|
|
49
51
|
export interface SunLighting {
|
package/portal/Lighting.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import i from"@arcgis/core/views/3d/environment/SunLighting";import t from"@arcgis/core/views/3d/environment/VirtualLighting";import e from"@arcgis/core/webscene/Lighting";import n from"@arcgis/core/webscene/SunLighting";import{checkArg as r}from"../utilities/checkArg.js";export var Lighting;!function(s){s.toEsriApiLighting=function(e){r("lightingJson",e).isNotMissing();const n=e,s="virtual"===e.type?new t:new i;return e.hasOwnProperty("directShadows")&&(s.directShadowsEnabled=!!e.directShadows),s instanceof i&&(n.hasOwnProperty("datetime")&&(s.date=new Date(n.datetime)),n.hasOwnProperty("displayUTCOffset")&&(s.displayUTCOffset=n.displayUTCOffset)),s},s.fromEsriApiLighting=function(i){if(i)return i instanceof e||i instanceof n?{datetime:i.date?.getTime(),directShadows:i.directShadowsEnabled,displayUTCOffset:i.displayUTCOffset,type:"sun"}:{directShadows:i.directShadowsEnabled,type:"virtual"}}}(Lighting||(Lighting={}));
|
package/portal/LineSymbol3D.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ import type { Symbol3DBase } from "./Symbol3D.js";
|
|
|
5
5
|
* LineSymbol3D is used to render features with Polyline geometry in a 3D
|
|
6
6
|
* SceneView.
|
|
7
7
|
*
|
|
8
|
+
* See
|
|
8
9
|
* {@link https://developers.arcgis.com/web-scene-specification/objects/lineSymbol3D/}.
|
|
9
10
|
*/
|
|
10
11
|
export interface LineSymbol3D extends Symbol3DBase {
|
|
@@ -3,6 +3,7 @@ import type { Material, Symbol3DLayer } from "./Symbol3D.js";
|
|
|
3
3
|
* LineSymbol3DLayer renders Polyline geometries using a flat 2D line with a
|
|
4
4
|
* LineSymbol3D in a 3D SceneView.
|
|
5
5
|
*
|
|
6
|
+
* See
|
|
6
7
|
* {@link https://developers.arcgis.com/web-scene-specification/objects/lineSymbol3DLayer/}.
|
|
7
8
|
*/
|
|
8
9
|
export interface LineSymbol3DLayer extends Symbol3DLayer {
|
package/portal/LocationInfo.d.ts
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
* Defines how location information will be retrieved from a CSV file referenced
|
|
3
3
|
* through the web.
|
|
4
4
|
*
|
|
5
|
+
* See
|
|
5
6
|
* {@link https://developers.arcgis.com/web-map-specification/objects/locationInfo/}
|
|
6
7
|
* {@link https://developers.arcgis.com/web-scene-specification/objects/locationInfo/}.
|
|
7
8
|
*/
|
package/portal/MapFloorInfo.d.ts
CHANGED
|
@@ -17,7 +17,7 @@ export declare namespace MapFloorInfo {
|
|
|
17
17
|
}
|
|
18
18
|
/**
|
|
19
19
|
* Contains floor-awareness information for the map. Defines the layers and
|
|
20
|
-
* required fields for each layer that are used for floor filtering.
|
|
20
|
+
* required fields for each layer that are used for floor filtering. See
|
|
21
21
|
* {@link https://developers.arcgis.com/web-map-specification/objects/mapFloorInfo/}.
|
|
22
22
|
*/
|
|
23
23
|
export interface MapFloorInfo {
|
|
@@ -39,7 +39,7 @@ export interface MapFloorInfo {
|
|
|
39
39
|
}
|
|
40
40
|
/**
|
|
41
41
|
* Defines the layer and field properties for the Facility layer used for floor
|
|
42
|
-
* filtering.
|
|
42
|
+
* filtering. See
|
|
43
43
|
* {@link https://developers.arcgis.com/web-map-specification/objects/facilityLayerInfo/}.
|
|
44
44
|
*/
|
|
45
45
|
export interface FacilityLayerInfo {
|
|
@@ -65,7 +65,7 @@ export interface FacilityLayerInfo {
|
|
|
65
65
|
}
|
|
66
66
|
/**
|
|
67
67
|
* Defines the layer and field properties for the Level layer used for floor
|
|
68
|
-
* filtering.
|
|
68
|
+
* filtering. See
|
|
69
69
|
* {@link https://developers.arcgis.com/web-map-specification/objects/levelLayerInfo/}.
|
|
70
70
|
*/
|
|
71
71
|
export interface LevelLayerInfo {
|
|
@@ -109,7 +109,7 @@ export interface LevelLayerInfo {
|
|
|
109
109
|
}
|
|
110
110
|
/**
|
|
111
111
|
* Defines the layer and field properties for the Site layer used for floor
|
|
112
|
-
* filtering. This property is optional.
|
|
112
|
+
* filtering. This property is optional. See
|
|
113
113
|
* {@link https://developers.arcgis.com/web-map-specification/objects/siteLayerInfo/}.
|
|
114
114
|
*/
|
|
115
115
|
export interface SiteLayerInfo {
|
package/portal/MapFloorInfo.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import o from"@arcgis/core/support/MapFloorInfo";import{checkArg as r}from"../utilities/checkArg.js";export var MapFloorInfo;!function(i){i.toEsriApiFloorInfo=function(i){return r("floorInfo",i).isNotMissing(),o.fromJSON(i)},i.fromEsriApiFloorInfo=function(o){return r("floorInfo",o).isNotMissing(),o.toJSON()}}(MapFloorInfo||(MapFloorInfo={}));
|