@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/WebTileLayer.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import e from"@arcgis/core/geometry/Extent";import t from"@arcgis/core/portal/Portal";import r from"@arcgis/core/portal/PortalItem";import{isWebTileLayer as i,isWMTSLayer as o}from"../utilities/_layers.js";import{checkArg as a}from"../utilities/checkArg.js";import{deepClone as s}from"../utilities/object.js";import{TileInfo as l}from"./TileInfo.js";import{WMTSInfo as n}from"./WMTSInfo.js";import{ERR_LAYER_TYPE_MISMATCH as p,applyLayerBaseToEsriApiLayer as m,applyBasemapLayerToEsriApiLayer as y,applyOperationalLayerToEsriApiLayer as f,fromEsriApiLayerToLayerBase as c,fromEsriApiLayerToOperationalLayer as u}from"./_layerHelper.js";export var WebTileLayer;!function(T){async function I(c,u,T){a("layerJson",c).isNotMissing();const I=c.layerType||c.type;a("layerJson.layerType",I).satisfies((e=>!e||"WebTiledLayer"===e||"OpenStreetMap"===e),p),a("layer",u).isNotMissing().satisfies((e=>i(e)||o(e)),p),m(c,u),y(c,u),f(c,u),c.hasOwnProperty("copyright")&&(u.copyright=c.copyright),c.hasOwnProperty("fullExtent")&&(u.fullExtent=e.fromJSON(c.fullExtent)),c.hasOwnProperty("itemId")&&o(u)&&(u.portalItem?u.portalItem.id=c.itemId:u.portalItem=new r({id:c.itemId,portal:T||t.getDefault()})),i(u)?(c.hasOwnProperty("subDomains")&&(u.subDomains=s(c.subDomains)),c.hasOwnProperty("templateUrl")&&(u.urlTemplate=c.templateUrl),c.hasOwnProperty("tileInfo")&&(u.tileInfo=l.toEsriApiTileInfo(c.tileInfo))):(a("layerJson.layerType",I).satisfies((e=>"WebTiledLayer"===e),p),c.hasOwnProperty("templateUrl")&&(u.serviceMode=c.templateUrl.includes("?")?"KVP":"RESTful"),c.wmtsInfo&&await n.applyToEsriApiLayer(c.wmtsInfo,u))}function w(e){return void 0!==e.wmtsInfo}T.toEsriApiLayer=async function(e){a("layerJson",e).isNotMissing();const t=e.layerType||e.type;a("layerJson.layerType",t).satisfies((e=>!e||"WebTiledLayer"===e),p);const r=w(e)?new((await import("@arcgis/core/layers/WMTSLayer")).default):new((await import("@arcgis/core/layers/WebTileLayer")).default);return await I(e,r),r},T.applyToEsriApiLayer=I,T.fromEsriApiLayer=function(e){a("layer",e).isNotMissing();const t={...c(e),...u(e),layerType:"WebTiledLayer"};return delete t.showLegend,e.copyright&&(t.copyright=e.copyright),e.fullExtent&&(t.fullExtent=e.fullExtent.toJSON()),i(e)?(e.subDomains&&(t.subDomains=s(e.subDomains)),e.urlTemplate&&(t.templateUrl=e.urlTemplate),e.tileInfo&&(t.tileInfo=l.fromEsriApiTileInfo(e.tileInfo))):(t.wmtsInfo=n.fromEsriApiLayer(e),e.customParameters&&(t.wmtsInfo.customParameters=e.customParameters),e.portalItem&&(t.itemId=e.portalItem.id)),t},T.isTileLayerWMTS=w}(WebTileLayer||(WebTileLayer={}));
|
package/portal/Widgets.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import type { TimeIntervalUnits, WebMapWidgetsObject } from "../support/esri.js"
|
|
|
2
2
|
/**
|
|
3
3
|
* The widgets object contains widgets that should be exposed to the user.
|
|
4
4
|
*
|
|
5
|
+
* See
|
|
5
6
|
* {@link https://developers.arcgis.com/web-map-specification/objects/widgets/}
|
|
6
7
|
* {@link https://developers.arcgis.com/web-scene-specification/objects/widgets/}.
|
|
7
8
|
*/
|
|
@@ -21,7 +22,7 @@ export interface Widgets {
|
|
|
21
22
|
floorFilter?: FloorFilter;
|
|
22
23
|
}
|
|
23
24
|
/**
|
|
24
|
-
* Configurable properties used by the floor filter widget.
|
|
25
|
+
* Configurable properties used by the floor filter widget. See
|
|
25
26
|
* {@link https://developers.arcgis.com/web-map-specification/objects/floorFilter/}.
|
|
26
27
|
*/
|
|
27
28
|
export interface FloorFilter {
|
|
@@ -65,6 +66,7 @@ export interface FloorFilter {
|
|
|
65
66
|
* Time animation is controlled by a configurable time slider. Those
|
|
66
67
|
* configurations are saved to the web map as a timeSlider widget.
|
|
67
68
|
*
|
|
69
|
+
* See
|
|
68
70
|
* {@link https://developers.arcgis.com/web-map-specification/objects/timeSlider/}.
|
|
69
71
|
*/
|
|
70
72
|
export interface TimeSlider {
|
|
@@ -93,7 +95,7 @@ export interface TimeSlider {
|
|
|
93
95
|
*/
|
|
94
96
|
thumbMovingRate?: number;
|
|
95
97
|
/**
|
|
96
|
-
* The interval which has been defined for the time slider.
|
|
98
|
+
* The interval which has been defined for the time slider. See
|
|
97
99
|
* {@link https://developers.arcgis.com/web-map-specification/objects/timeStopInterval/}.
|
|
98
100
|
*/
|
|
99
101
|
timeStopInterval?: {
|
|
@@ -111,7 +113,7 @@ export interface TimeSlider {
|
|
|
111
113
|
/**
|
|
112
114
|
* Range object.
|
|
113
115
|
*
|
|
114
|
-
* {@link https://developers.arcgis.com/web-map-specification/objects/range/}
|
|
116
|
+
* See {@link https://developers.arcgis.com/web-map-specification/objects/range/}
|
|
115
117
|
* {@link https://developers.arcgis.com/web-scene-specification/objects/range/}.
|
|
116
118
|
*/
|
|
117
119
|
export interface Range {
|
|
@@ -133,7 +135,7 @@ export interface Range {
|
|
|
133
135
|
/**
|
|
134
136
|
* Time units enum.
|
|
135
137
|
*/
|
|
136
|
-
export
|
|
138
|
+
export type TimeUnits = "esriTimeUnitsCenturies" | "esriTimeUnitsDays" | "esriTimeUnitsDecades" | "esriTimeUnitsHours" | "esriTimeUnitsMilliseconds" | "esriTimeUnitsMinutes" | "esriTimeUnitsMonths" | "esriTimeUnitsSeconds" | "esriTimeUnitsWeeks" | "esriTimeUnitsYears";
|
|
137
139
|
/**
|
|
138
140
|
* Applies Portal WebMapWidgets config to an ESRI JS API WebMapWidgets object.
|
|
139
141
|
*
|
package/portal/Widgets.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import e from"@arcgis/core/TimeExtent";import t from"@arcgis/core/TimeInterval";export function applyToEsriApiWidgetsObject(i,r){const s=r??{},n=i?.timeSlider?.properties;if(n){const{endTime:i,startTime:r,numberOfStops:m,thumbCount:u,timeStopInterval:o}=n;s.timeSlider={currentTimeExtent:new e({start:r,end:i}),numStops:m,numThumbs:u,stopInterval:new t({unit:o?.units?toEsriApiTimeInterval(o.units):void 0,value:o?.interval})}}return s}export function fromEsriApiWidgetsObject(e,t){const i=t??{},r=e?.timeSlider;if(r){i.timeSlider?.properties||(i.timeSlider={properties:{}});const e=i.timeSlider.properties,{stopInterval:t,numThumbs:s,numStops:n,currentTimeExtent:m}=r;e.thumbCount=s,e.numberOfStops=n,e.startTime=m?.start?.valueOf(),e.endTime=m?.end?.valueOf(),t&&(e.timeStopInterval||(e.timeStopInterval={}),e.timeStopInterval.units=t.unit?fromEsriApiTimeInterval(t.unit):void 0,e.timeStopInterval.interval=t.value)}return i}export function toEsriApiTimeInterval(e){switch(e){case"esriTimeUnitsCenturies":return"centuries";case"esriTimeUnitsDays":return"days";case"esriTimeUnitsDecades":return"decades";case"esriTimeUnitsHours":return"hours";case"esriTimeUnitsMilliseconds":return"milliseconds";case"esriTimeUnitsMinutes":return"minutes";case"esriTimeUnitsMonths":return"months";case"esriTimeUnitsSeconds":return"seconds";case"esriTimeUnitsWeeks":return"weeks";case"esriTimeUnitsYears":return"years";default:throw new Error("Unknown time interval unit")}}export function fromEsriApiTimeInterval(e){switch(e){case"centuries":return"esriTimeUnitsCenturies";case"days":return"esriTimeUnitsDays";case"decades":return"esriTimeUnitsDecades";case"hours":return"esriTimeUnitsHours";case"milliseconds":return"esriTimeUnitsMilliseconds";case"minutes":return"esriTimeUnitsMinutes";case"months":return"esriTimeUnitsMonths";case"seconds":return"esriTimeUnitsSeconds";case"weeks":return"esriTimeUnitsWeeks";case"years":return"esriTimeUnitsYears";default:throw new Error("Unknown time interval unit")}}
|
package/portal/_LayerBase.d.ts
CHANGED
|
@@ -73,7 +73,7 @@ export interface LayerBase {
|
|
|
73
73
|
* possible values isn't officially documented by esri, however it's used in
|
|
74
74
|
* ArcGIS online web maps.
|
|
75
75
|
*/
|
|
76
|
-
export
|
|
76
|
+
export type LayerType = "ArcGISAnnotationLayer" | "ArcGISFeatureLayer" | "ArcGISMapServiceLayer" | "ArcGISTiledMapServiceLayer" | "ArcGISTiledElevationServiceLayer" | "ArcGISImageServiceLayer" | "ArcGISImageServiceVectorLayer" | "ArcGISTiledImageServiceLayer" | "VectorTileLayer" | "ArcGISSceneServiceLayer" | "ArcGISStreamLayer" | "BingMapsAerial" | "BingMapsHybrid" | "BingMapsRoad" | "OpenStreetMap" | "WebTiledLayer" | "KML" | "WMS" | "CSV" | "GeoRSS" | "IntegratedMeshLayer" | "GroupLayer" | "PointCloudLayer" | "BuildingSceneLayer" | "SubtypeGroupLayer";
|
|
77
77
|
export declare namespace LayerBase {
|
|
78
78
|
/**
|
|
79
79
|
* Creates an Esri Layer object from the given Portal layer JSON.
|
|
@@ -134,4 +134,4 @@ export declare namespace LayerBase {
|
|
|
134
134
|
/**
|
|
135
135
|
* Options for blending layers.
|
|
136
136
|
*/
|
|
137
|
-
export
|
|
137
|
+
export type BlendMode = "average" | "color-burn" | "color-dodge" | "color" | "darken" | "destination-atop" | "destination-in" | "destination-out" | "destination-over" | "difference" | "exclusion" | "hard-light" | "hue" | "invert" | "lighten" | "lighter" | "luminosity" | "minus" | "multiply" | "normal" | "overlay" | "plus" | "reflect" | "saturation" | "screen" | "soft-light" | "source-atop" | "source-in" | "source-out" | "vivid-light" | "xor";
|
package/portal/_layerHelper.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{isCSVLayer,isElevationLayer,isFeatureLayer,isLayerWithLegendEnabledProperty,isStreamLayer,isSubtypeSublayer}from"../utilities/_layers.js";import{checkArg}from"../utilities/checkArg.js";export const ERR_LAYER_TYPE_MISMATCH="Layer type mismatch";export function applyLayerBaseToEsriApiLayer(e,
|
|
1
|
+
import{isCSVLayer as e,isElevationLayer as i,isFeatureLayer as r,isLayerWithLegendEnabledProperty as a,isStreamLayer as t,isSubtypeSublayer as s}from"../utilities/_layers.js";import{checkArg as n}from"../utilities/checkArg.js";export const ERR_LAYER_TYPE_MISMATCH="Layer type mismatch";export function applyLayerBaseToEsriApiLayer(e,r){if(n("layerJson",e).isNotMissing(),n("layer",r).isNotMissing(),e.hasOwnProperty("id")&&!s(r)&&(r.id=e.id),e.hasOwnProperty("visibility")&&(r.visible=e.visibility),e.hasOwnProperty("opacity")&&(r.opacity=e.opacity),i(r)||(e.hasOwnProperty("maxScale")&&(r.maxScale=e.maxScale),e.hasOwnProperty("minScale")&&(r.minScale=e.minScale)),e.hasOwnProperty("showLegend"))try{a(r)&&(r.legendEnabled=e.showLegend)}catch(e){}e.hasOwnProperty("title")&&(r.title=e.title),e.hasOwnProperty("blendMode")&&(r.blendMode=e.blendMode)}export function applyBasemapLayerToEsriApiLayer(e,i){n("layerJson",e).isNotMissing(),n("layer",i).isNotMissing()}export function applyOperationalLayerToEsriApiLayer(e,i){n("layerJson",e).isNotMissing(),n("layer",i).isNotMissing(),e.hasOwnProperty("refreshInterval")&&(i.refreshInterval=e.refreshInterval),e.hasOwnProperty("listMode")&&(i.listMode=e.listMode)}export function fromEsriApiLayerToLayerBase(i,a={}){n("layer",i).isNotMissing();const o=s(i)?{}:{id:i.id};if(o.visibility=i.visible,i.opacity!==a.opacity&&(o.opacity=i.opacity),!r(i)||e(i)||t(i)){const{maxScale:e,minScale:r}=i;isNaN(e)||null===e||e===a.maxScale&&e===r||(o.maxScale=e),isNaN(r)||null===r||r===a.minScale&&r===e||(o.minScale=r)}return"boolean"==typeof i.legendEnabled&&i.legendEnabled!==a.legendEnabled&&(o.showLegend=i.legendEnabled),o.title=i.title,o.blendMode=i.blendMode,o}export function fromEsriApiLayerToOperationalLayer(e){n("layer",e).isNotMissing();const i={};return"refreshInterval"in e&&(i.refreshInterval=e.refreshInterval),e.listMode&&(i.listMode=e.listMode),i}
|
package/portal/_utils.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{checkArg}from"../utilities/checkArg.js";import{deepSearchAndTransform}from"../utilities/object.js";import{toAbsoluteUri}from"../utilities/uri.js";export function resolveRelativeHrefs(
|
|
1
|
+
import{checkArg as i}from"../utilities/checkArg.js";import{deepSearchAndTransform as t}from"../utilities/object.js";import{toAbsoluteUri as e}from"../utilities/uri.js";export function resolveRelativeHrefs(r,s){if(i("json",r).isNotMissing(),i("portalItem",s).isNotMissing(),s.itemUrl){t("href",r,(i=>e(i,`${s.itemUrl}/`)))}}
|
package/support/Action.d.ts
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Defines an action to perform.
|
|
3
3
|
*/
|
|
4
|
-
export
|
|
4
|
+
export type Action = SimpleAction | CompositeAction;
|
|
5
5
|
/**
|
|
6
6
|
* Determines which action to perform. It is up to the calling application how
|
|
7
7
|
* it transforms an action name into actual executable code.
|
|
8
8
|
*/
|
|
9
|
-
export
|
|
9
|
+
export type ActionName = string;
|
|
10
10
|
/**
|
|
11
11
|
* Defines a single action to perform.
|
|
12
12
|
*/
|
|
13
|
-
export
|
|
13
|
+
export type SimpleAction = ActionName | BoundAction;
|
|
14
14
|
/**
|
|
15
15
|
* A composite action that is made up of a sequence of one or more actions. The
|
|
16
16
|
* intent is that the application should execute these in the given order. If
|
|
17
17
|
* any of the actions produces an output, that should be used as the input
|
|
18
18
|
* arguments for all subsequent actions.
|
|
19
19
|
*/
|
|
20
|
-
export
|
|
20
|
+
export type CompositeAction = SimpleAction[];
|
|
21
21
|
/**
|
|
22
22
|
* An action that is bound to arguments.
|
|
23
23
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import t from"@arcgis/core/request";import{getCache as e}from"./_requestCache.js";export class DefaultArcGISRequestHelper{constructor(t){const e={ttl:1e4,batchLayerRequests:!0,...t};this.ttl=e.ttl,this.batchLayerRequests=e.batchLayerRequests}createSocket(t){return new WebSocket(t)}request(t,s){const{ttl:a}={ttl:this.ttl,...s};if(!e().has(t)){const r=this._doRequest(t,s);setTimeout((()=>{e().delete(t)}),a),e().set(t,r)}return e().get(t)}async _doRequest(s,a){const{batchLayerRequests:r,ttl:c,...i}={ttl:this.ttl,batchLayerRequests:this.batchLayerRequests,...a};try{const c=s.match(/\/MapServer\/(\d+)$/i);if(c&&2===c.length){const t=`${s.slice(0,s.length-c[1].length)}layers`;if(r||e().has(t)){const e=await this.request(t,a);if(e?.data){const t=parseInt(c[1]);if(e.data.layers){const s=e.data.layers.find((e=>e.id===t));if(s)return{data:s}}if(e.data.tables){const s=e.data.tables.find((e=>e.id===t));if(s)return{data:s}}}}}return await t(s,i)}catch(t){throw e().delete(s),t}}}
|
package/support/Cancellable.d.ts
CHANGED
package/support/Cancellable.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{isCancellation}from"./utilities.js";export class Cancellable{constructor(){this.token=new Promise(((t,n)=>{this.cancel=t=>{n(new Cancellation(t,this.token))}})),this.token.catch((()=>{}))}cancel(t){}}export class Cancellation{constructor(t,n){this._gcxIsCancellation=!0,this.reason=t,this.token=n}}export async function cancelify(
|
|
1
|
+
import{isCancellation as t}from"./utilities.js";export class Cancellable{constructor(){this.token=new Promise(((t,n)=>{this.cancel=t=>{n(new Cancellation(t,this.token))}})),this.token.catch((()=>{}))}cancel(t){}}export class Cancellation{constructor(t,n){this._gcxIsCancellation=!0,this.reason=t,this.token=n}}export async function cancelify(n,e,o){if(void 0===e)return n;try{return await Promise.race([e,n])}catch(n){throw t(n)&&n.token===e&&o&&o(n.reason),n}}export async function cancelifyWithAbortSignal(t,n,e){const o=new AbortController,{signal:c}=o;return cancelify(t(c),n,(t=>{o.abort(),e?.(t)}))}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{__decorate}from"tslib";import{settings}from"../utilities/FormatSettings.js";import{checkArg}from"../utilities/checkArg.js";import{DateFormat,isValidTimeZone,ERR_TIME_ZONE_INVALID}from"../utilities/date.js";import{NumberFormat}from"../utilities/number.js";import{serializable}from"./Serializable.js";import{Settings}from"./Settings.js";let
|
|
1
|
+
import{__decorate as t}from"tslib";import{settings as e}from"../utilities/FormatSettings.js";import{checkArg as i}from"../utilities/checkArg.js";import{DateFormat as r,isValidTimeZone as s,ERR_TIME_ZONE_INVALID as a}from"../utilities/date.js";import{NumberFormat as n}from"../utilities/number.js";import{serializable as o}from"./Serializable.js";import{Settings as l}from"./Settings.js";let m=class extends l{get dateFormat(){return this._getSetting("dateFormat",e.dateFormat||r.DEFAULT)}set dateFormat(t){this._setSetting("dateFormat",t)}get numberFormat(){return this._getSetting("numberFormat",e.numberFormat||n.DEFAULT)}set numberFormat(t){this._setSetting("numberFormat",t)}get locale(){return this._getSetting("locale")}set locale(t){this._setSetting("locale",t)}get currency(){return this._getSetting("currency",e.currency)}set currency(t){this._setSetting("currency",t)}get fractionalDigits(){return this._getSetting("fractionalDigits",e.fractionalDigits)}set fractionalDigits(t){this._setSetting("fractionalDigits",t)}get timeZone(){return this._getSetting("timeZone")}set timeZone(t){i("timeZone",t).satisfies(s,a(t)),this._setSetting("timeZone",t)}get useFieldInfo(){return this._getSetting("useFieldInfo",!0)}set useFieldInfo(t){this._setSetting("useFieldInfo",t)}_getSerializableProperties(){return{dateFormat:{serializeModes:["initial"],default:e.dateFormat||r.DEFAULT},numberFormat:{serializeModes:["initial"],default:e.numberFormat||n.DEFAULT},locale:"initial",currency:{serializeModes:["initial"],default:e.currency},fractionalDigits:{serializeModes:["initial"],default:e.fractionalDigits},timeZone:{serializeModes:["initial"],deserialize:t=>{t&&(this.timeZone=t)}},useFieldInfo:{serializeModes:["initial"],default:!0}}}};m=t([o],m);export{m as FormatSettings};
|
|
@@ -45,7 +45,7 @@ export interface InitializeWarningEvent {
|
|
|
45
45
|
* A callback that is invoked when
|
|
46
46
|
* {@link support/InitializableBase!InitializeWarningEvent} is raised.
|
|
47
47
|
*/
|
|
48
|
-
export
|
|
48
|
+
export type InitializeWarningEventCallback = (event: InitializeWarningEvent) => void;
|
|
49
49
|
/**
|
|
50
50
|
* Properties that can be passed into the constructor for
|
|
51
51
|
* {@link support/InitializableBase!InitializableBase}.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{getLogger}from"../utilities/log.js";import{parallelEach}from"../utilities/promise.js";import{InitializeError}from"./InitializeError.js";import{SerializableBase}from"./Serializable.js";export class InitializableBase extends
|
|
1
|
+
import{getLogger as i}from"../utilities/log.js";import{parallelEach as t}from"../utilities/promise.js";import{InitializeError as e}from"./InitializeError.js";import{SerializableBase as r}from"./Serializable.js";export class InitializableBase extends r{constructor(){super(...arguments),this._isInitialized=!1,this._isDestroyed=!1,this._failureMode="warn"}get isInitialized(){return this._isInitialized}get isDestroyed(){return this._isDestroyed}get failureMode(){return this._failureMode}set failureMode(i){this._failureMode=i}async initialize(){return void 0===this._initializePromise&&(this._initializePromise=(async()=>{try{await this._onInitialize(),await this._initializeChildren(),await this._postInitialize()}catch(i){throw i instanceof Error?(this._initializePromise=void 0,new e(this.failureMode,i,this)):i}this._isInitialized=!0,this.notifyChange("isInitialized")})()),this._initializePromise}async destroy(){return void 0===this._destroyPromise&&(this._destroyPromise=(async()=>{try{await this._onDestroy()}catch(i){throw this._destroyPromise=void 0,i}this._isDestroyed=!0,this.notifyChange("isDestroyed")})()),this._destroyPromise}on(i,t){return super.on(i,t)}emit(i,t){return super.emit(i,t)}_getSerializableProperties(){return{...super._getSerializableProperties(),failureMode:{serializeModes:["initial"],default:"warn"}}}async _onInitialize(){}async _postInitialize(){}async _onDestroy(){}async _initializeChildren(){await t(this._initializableChildCollections(),(i=>initializeCollection(i,{target:this,onInitializeWarning:i=>this.emit("initializeWarning",i)})))}*_initializableChildCollections(){}}const s={onInitializeWarning:()=>{}};export async function initializeCollection(r,a=s){const{onInitializeWarning:n,target:o}=a;await t(r.toArray(),(async t=>{const r=t.on("initializeWarning",n);try{await t.initialize()}catch(r){const s=r instanceof e?r:new e(t.failureMode,r,t);if("error"===s.failureMode)throw s;"warn"===s.failureMode&&i("geocortex.api.support.InitializeBase").warn({message:"Error attempting to initialize child item: {0}.",error:s},s.error.message);n({error:s,target:o})}finally{r.remove()}}))}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{CollectionProxy}from"../utilities/CollectionProxy.js";import{ReadOnlyCollection}from"../utilities/ReadOnlyCollection.js";export class InitializableCollectionProxy extends
|
|
1
|
+
import{CollectionProxy as i}from"../utilities/CollectionProxy.js";import{ReadOnlyCollection as t}from"../utilities/ReadOnlyCollection.js";export class InitializableCollectionProxy extends i{get initializedItems(){return new t(this._collection.filter((i=>this._itemIsInitialized(i))))}_itemIsInitialized(i){return i.isInitialized}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{format}from"../utilities/string.js";export class InitializeError extends Error{constructor(r,
|
|
1
|
+
import{format as i}from"../utilities/string.js";export class InitializeError extends Error{constructor(r,t,e,s,...o){super(i(s||"Failed to initialize item: {0}.",...s?o:[t])),this.name="InitializeError",this.failureMode=r,this.error=t,this.target=e}}
|
package/support/Observable.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Property}from"@arcgis/core/core/accessorSupport/Property";import{trackAccess}from"@arcgis/core/core/accessorSupport/tracking";import{Evented}from"./esri.js";const
|
|
1
|
+
import{Property as t}from"@arcgis/core/core/accessorSupport/Property";import{trackAccess as e}from"@arcgis/core/core/accessorSupport/tracking";import{Evented as o}from"./esri.js";const s=new WeakMap;function r(e,o){s.has(e)||s.set(e,new Map);const r=s.get(e),n=String(o);if(!r.has(n)){const o=new t({host:e},n,{});r.set(n,o)}return r.get(n)}const n={get:(t,o,s)=>(e(r(s,o)),Reflect.get(t,o,s)),set:(t,e,o,s)=>(Reflect.set(t,e,o,s),s.notifyChange(String(e)),!0)};export class Observable extends o{constructor(){return super(),new Proxy(this,n)}watch(t,e,o=!1){const s=[].concat(t),r=[];for(const t of s){const[s,n]=t.split(/\.(.*)/);if(n?.length){let i;const c=this[s];c&&"function"==typeof c.watch&&(i=c.watch(n,((o,s)=>{e(o,s,t,this)}),o));const h=this._watchProperty(s,n,((s,r)=>{i&&i.remove(),s&&"function"==typeof s.watch&&(i=s.watch(n,((o,s)=>{e(o,s,t,this)}),o));const c="function"==typeof r?.get?r.get(n):void 0,h=this.get(t);e(h,c,t,this)}),o);r.push({remove:()=>{h.remove(),i&&i.remove()}})}else r.push(this._watchProperty(s,"",e,o))}return 1===r.length?r[0]:{remove:()=>r.forEach((t=>t.remove()))}}get(t){if(!t)return;const e=t.split(".");let o=this;for(;o&&"object"==typeof o&&e.length;)o=o[e.shift()];return e.length?void 0:o}set(t,e){if(!t)return this;if("string"==typeof t){const o=t.split(".");let s=this;for(;s&&"object"==typeof s&&o.length>1;)s=s[o.shift()];s&&"object"==typeof s&&(s[o[0]]=e)}else for(const e of Object.keys(t))this.set(e,t[e]);return this}notifyChange(t){const e=r(this,t);e.invalidate(),e.commit()}_watchProperty(t,e,o,s){const n=s?new i:new c;return n.callback=o,n.oldValue=this[t],n.property=r(this,t),n.property.observe(n)}_notifyChange(t,e=!1){console.warn("Observable._notifyChange() is deprecated and will be removed in a future update. Use notifyChange() instead."),this.notifyChange(t)}}class i{onInvalidated(){}onCommitted(){const t=this.property.properties.host,{propertyName:e}=this.property,o=t[e];this.oldValue!==o&&(this.callback(o,this.oldValue,e,t),this.oldValue=o)}}class c{constructor(){this._notifyPending=!1}onInvalidated(){}onCommitted(){this._notifyPending||(this._notifyPending=!0,setTimeout((()=>{this._notifyPending=!1;const t=this.property.properties.host,{propertyName:e}=this.property,o=t[e];this.oldValue!==o&&(this.callback(o,this.oldValue,e,t),this.oldValue=o)}),0))}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{ReadOnlyCollection}from"../utilities/ReadOnlyCollection.js";export class ReadOnlyInitializableCollection extends
|
|
1
|
+
import{ReadOnlyCollection as i}from"../utilities/ReadOnlyCollection.js";export class ReadOnlyInitializableCollection extends i{get initializedItems(){return new i(this._collection.filter((i=>this._itemIsInitialized(i))))}_itemIsInitialized(i){return i.isInitialized}}
|
|
@@ -2,7 +2,7 @@ import { Observable } from "./Observable.js";
|
|
|
2
2
|
/**
|
|
3
3
|
* A class that can take in initial property values in its constructor.
|
|
4
4
|
*/
|
|
5
|
-
export
|
|
5
|
+
export type SerializableClass<P, T extends SerializableBase<P>> = new (properties?: P, ...other: any[]) => T;
|
|
6
6
|
/**
|
|
7
7
|
* An object that can be serialized to/from plain JSON.
|
|
8
8
|
*/
|
|
@@ -92,17 +92,17 @@ export declare function serializable<P>(SerializableClass: SerializableClass<P,
|
|
|
92
92
|
* serialize the item in different ways. Depending on the flag, some properties
|
|
93
93
|
* may be present in the serialization or filtered out.
|
|
94
94
|
*/
|
|
95
|
-
export
|
|
95
|
+
export type SerializeMode = "initial" | "initial-with-defaults" | "project" | "preferences" | "all";
|
|
96
96
|
/**
|
|
97
97
|
* The set of allowed {@link SerializeMode}s when defining the serialize mode for
|
|
98
98
|
* a property definition.
|
|
99
99
|
*/
|
|
100
|
-
export
|
|
100
|
+
export type PropertyDefSerializeMode = Exclude<SerializeMode, "initial-with-defaults">;
|
|
101
101
|
/**
|
|
102
102
|
* A set of {@link PropertyDef}s for an object that allows it to be intelligently
|
|
103
103
|
* serialized and deserialized.
|
|
104
104
|
*/
|
|
105
|
-
export
|
|
105
|
+
export type PropertyDefs<T> = {
|
|
106
106
|
[P in keyof T]?: PropertyDef<T[P]> | PropertyDefSerializeMode[] | PropertyDefSerializeMode;
|
|
107
107
|
};
|
|
108
108
|
/**
|
package/support/Serializable.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import e from"safe-stable-stringify";import{filter as t,isPlainObject as r,map as i}from"../utilities/object.js";import{Observable as s}from"./Observable.js";const o=new WeakSet;export class SerializableBase extends s{constructor(e){if(super(),!o.has(this.constructor))throw new Error(`Class "${this.constructor.name}" must be marked as "@serializable" since it extends ${SerializableBase.name} (make sure it is the _last_ decorator on the class).`)}toJSON(e="all"){return filterJSONProperties(this._getSerializableProperties(),this,e)}assignProperties(e){assignProperties(this._getSerializableProperties(),this,e)}getSerializableProperties(e="all"){return getSerializableProperties(this._getSerializableProperties(),e)}getDefaults(){return getDefaults(this._getSerializableProperties())}getDefault(e){return this.getDefaults()[e]}_getSerializableProperties(){return{}}_toPropertyDef(e){return toPropertyDef(e)}}export function serializable(e){if(!isSerializable(e.prototype))throw new Error(`Class "${e.name}" is marked as @serializable but does not implement 'Serializable'.`);class t extends e{constructor(e,...r){super(e,...r),this.constructor===t&&this.assignProperties({...this.getDefaults(),...e})}}return o.add(t),t}export function shouldExcludeDefaults(e){return"initial"===e||"project"===e}export function filterJSONProperties(t,r,i){let s=i;"initial"!==s&&"initial-with-defaults"!==s&&"preferences"!==s&&"project"!==s&&(s="all");const o={},n=getSerializableProperties(t,s);for(const t of Object.keys(n)){const i=n[t],l=a(t,i,r,s);if(shouldExcludeDefaults(s)){let r=!1;r=i.hasOwnProperty("default")?e(l)===e(i.default):i.isDefault?i.isDefault(l,s):isDefault(l),r||(o[t]=l)}else o[t]=l}if(!shouldExcludeDefaults(s)&&"preferences"!==s||!isDefault(o))return o}export function assignProperties(e,t,i){if(i)for(const s of Object.keys(e)){const o=e[s];if(!i.hasOwnProperty(s)||!Array.isArray(e[s])&&!1===o.deserialize)continue;const a=i[s]??void 0;o?.deserialize?o.deserialize(a):"object"==typeof t[s]&&t[s]&&"function"==typeof t[s].assignProperties&&(r(a)||void 0===a)?t[s].assignProperties(a):t[s]=a}}export function getDefaults(e){const t={},r=Object.keys(e).filter((t=>"object"==typeof e[t]));for(const i of r){const r=e[i];r.hasOwnProperty("default")&&(t[i]=r.default)}return t}export function getDefault(e,t){return getDefaults(e)[t]}export function isDefault(e){if(null==e)return!0;if(e.constructor===Object){if(!Object.keys(e).length)return!0}return!(!Array.isArray(e)||e.length)}function a(e,t,r,i){const s=t?.serialize?t.serialize(i):r[e];if(s&&"function"==typeof s.toItemUri)return s.toItemUri();if(s&&"function"==typeof s.toJSON)return s.toJSON(i);if(Array.isArray(s))return s.map(((e,t)=>a(t,void 0,s,i)));if(s&&"function"==typeof s.toArray){const e=s.toArray();return e.map(((t,r)=>a(r,void 0,e,i)))}if(s&&"object"==typeof s){const e={};for(const t of Object.keys(s))e[t]=a(t,void 0,s,i);return e}return t?.serialize?s:r[e]}export function toPropertyDef(e){const t={serializeModes:[]};return"string"==typeof e?{...t,serializeModes:[e]}:Array.isArray(e)?{...t,serializeModes:e}:{...t,...e}}export function isSerializable(e){return["assignProperties","getDefaults","getSerializableProperties","toJSON"].every((t=>"function"==typeof e[t]))}export function getSerializableProperties(e,r="all"){const s=i(e,(e=>toPropertyDef(e))),o=t(s,(e=>function(e,t){if(!1===t.serialize)return!1;const r="initial-with-defaults"===e?"initial":e;return"all"===e||t.serializeModes?.includes(r)}(r,e)));return o}
|
package/support/Settings.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{CopyOnWriteCollection}from"../utilities/CopyOnWriteCollection.js";import{every}from"../utilities/iterable.js";import{isDefault,SerializableBase,shouldExcludeDefaults}from"./Serializable.js";import{Collection}from"./esri.js";export class Settings extends
|
|
1
|
+
import{CopyOnWriteCollection as e}from"../utilities/CopyOnWriteCollection.js";import{every as t}from"../utilities/iterable.js";import{isDefault as s,SerializableBase as i,shouldExcludeDefaults as r}from"./Serializable.js";import{Collection as n}from"./esri.js";export class Settings extends i{get parent(){return this._parent}set parent(e){this._setParent(e)}reset(e){if(this._overrides)if(e)this.parent&&this._settingObservers&&this._settingObservers.forEach((e=>{this._watchParent(e)})),this._overrides.delete(e),this.notifyChange(e);else{const e=[...this._overrides.keys()];this._overrides.clear();for(const t of e)this.parent&&this._settingObservers&&this._settingObservers.forEach((e=>{this._watchParent(e)})),this.notifyChange(t)}}isModified(s){if(!this._overrides)return!1;if(s){if(!this._overrides.has(s))return!1;const t=this._overrides.get(s);return t instanceof e?t.isModified:!(t instanceof Settings)||t.isModified()}return!t(this._overrides.values(),(t=>t instanceof e&&!t.isModified||t instanceof Settings&&!t.isModified()))}toJSON(e="all"){if(!this._overrides?.size)return r(e)?void 0:{};const t=super.toJSON(e);if(t)for(const e of Object.keys(t))this.isModified(e)||delete t[e];return r(e)&&s(t)?void 0:t}getDefaults(){return{}}_watchProperty(e,t,s,i){const r={path:`${e}${t?`.${t}`:""}`,handle:super._watchProperty(e,t,s,i),callback:s,remove:()=>{r.handle.remove(),r.parentHandle&&r.parentHandle.remove(),this._settingObservers.delete(r)}};return!this.isModified(e)&&this.parent&&this._watchParent(r),this._settingObservers=this._settingObservers||new Set,this._settingObservers.add(r),r}_getSetting(e,t){return this._overrides?.has(e)?this._overrides.get(e):this.parent?this.parent[e]:t}_getCollectionSetting(t){if(!this._overrides?.has(t)){const s=this.parent?this.parent[t]:new n;this._overrides=this._overrides||new Map,this._overrides.set(t,new e(s))}return this._overrides.get(t)}_getNestedSettings(e,t){if(!this._overrides?.has(e)){const s=t();this.parent&&(s.parent=this.parent[e]),this._overrides=this._overrides||new Map,this._overrides.set(e,s)}return this._overrides.get(e)}_setSetting(e,t){!this.isModified(e)&&this.parent&&this._settingObservers&&this._settingObservers.forEach((t=>{t.path===e&&this._unwatchParent(t)})),this._overrides=this._overrides||new Map,this._overrides.set(e,t)}_setParent(t){this.parent&&this._settingObservers&&this._settingObservers.forEach((e=>{e.parentHandle&&e.parentHandle.remove(),e.parentHandle=void 0})),t&&this._settingObservers&&this._settingObservers.forEach((e=>{this.isModified(e.path)||(e.parentHandle=t.watch(e.path,((t,s,i)=>{e.callback(t,s,i,this)})))})),this._parent=t,this._settingObservers&&this._settingObservers.forEach((e=>{this.notifyChange(e.path)})),this._overrides&&this._overrides.forEach(((s,i)=>{s instanceof e?s.originalCollection=t?t.get(i):new n:s instanceof Settings&&(s.parent=t?t.get(i):void 0)}))}_watchParent(e){e.parentHandle||(e.parentHandle=this.parent.watch(e.path,((t,s,i)=>{e.callback(t,s,i,this)})))}_unwatchParent(e){e.parentHandle&&(e.parentHandle.remove(),e.parentHandle=void 0)}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{RelationshipCollection}from"../data/FeatureSourceBase.js";import{ArcGISRelationship}from"../tasks/query/ArcGISRelationship.js";import{Collection}from"../utilities/collection.js";import{map}from"../utilities/promise.js";import{DefaultArcGISRequestHelper}from"./ArcGISRequestHelper.js";export class ArcGISRelationshipCollection extends
|
|
1
|
+
import{RelationshipCollection as e}from"../data/FeatureSourceBase.js";import{ArcGISRelationship as i}from"../tasks/query/ArcGISRelationship.js";import{Collection as t}from"../utilities/collection.js";import{map as r}from"../utilities/promise.js";import{DefaultArcGISRequestHelper as s}from"./ArcGISRequestHelper.js";export class ArcGISRelationshipCollection extends e{constructor(){super(...arguments),this._unresolvedRelationships=new t}get requestHelper(){return this._requestHelper||(this._requestHelper=this._source.requestHelper??new s),this._requestHelper}set requestHelper(e){this._requestHelper=e}async initialize(){return void 0===this._initializePromise&&(this._initializePromise=(async()=>{if(!this._sourceUrl)return;const e=await this.requestHelper.request(this._sourceUrl,{query:{f:"json"}});e?.data?.relationships&&await r(e.data.relationships,(async e=>{const i=`${this._sourceUrl.slice(0,this._sourceUrl.length-`${this._sourceLayerId}`.length-1)}/${e.relatedTableId}`,t=await this.requestHelper.request(i,{query:{f:"json"}});if(!t?.data||!Array.isArray(t?.data.relationships))return;const r=t.data.relationships.find((e=>e.relatedTableId===this._sourceLayerId));if(!r)return;let s="many-to-many";switch(e.cardinality){case"esriRelCardinalityOneToOne":s="one-to-one";break;case"esriRelCardinalityOneToMany":s="esriRelRoleOrigin"===e.role?"one-to-many":"many-to-one";break;case"esriRelCardinalityManyToMany":s="many-to-many";break;default:throw new Error(`Unknown cardinality value "${e.cardinality}".`)}this._unresolvedRelationships.add({$relationshipType:"ArcGISRelationship",id:`${e.id}`,title:e.name,keyField:e.keyField,relatedKeyField:r.keyField,relatedSource:void 0,relatedLayerId:e.relatedTableId,cardinality:s,relationshipTableId:e.relationshipTableId,originForeignKey:e.keyFieldInRelationshipTable,destinationForeignKey:r.keyFieldInRelationshipTable})}))})()),this._initializePromise}get _collection(){const e=this._unresolvedRelationships.toArray();this._unresolvedRelationships.removeAll();for(const i of e)this._resolveRelationship(i)||this._unresolvedRelationships.add(i);return this._collectionField}_resolveRelationship(e){const t=this._findRelatedSource(e.relatedLayerId);return!!t&&(e.relatedSource=t,this.add(new i(e)),!0)}}
|
package/support/_esriInternal.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import r from"@arcgis/core/core/Warning";import{DataLayerSource as o}from"@arcgis/core/layers/support/source/DataLayerSource";import{MapLayerSource as e}from"@arcgis/core/layers/support/source/MapLayerSource";export{o as DataLayerSource,e as MapLayerSource,r as Warning};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{QueryOptions}from"../tasks/query/QueryOptions.js";import{checkArg}from"../utilities/checkArg.js";import{Collection}from"../utilities/collection.js";import{count,query}from"../utilities/query.js";import{cancelify}from"./Cancellable.js";export function executeQuery(
|
|
1
|
+
import{QueryOptions as e}from"../tasks/query/QueryOptions.js";import{checkArg as s}from"../utilities/checkArg.js";import{Collection as i}from"../utilities/collection.js";import{count as t,query as o}from"../utilities/query.js";import{cancelify as r}from"./Cancellable.js";export function executeQuery(t,l,a,n){s("where",t).isNotMissing(),s("source",l).isNotMissing(),s("queryable",a).isNotMissing();const c={...e.DEFAULTS,...e.fromFeatureSource(l),...n};return s("options.maxResults",c.maxResults).satisfies((e=>null==e||e>0)),async function*(){let e;if(i.isCollection(a)||Array.isArray(a))e=i.isCollection(a)?a.toArray():a.slice();else{e=(await a).features,e.forEach((e=>e.popupTemplate=e.getEffectivePopupTemplate())),e=e.slice()}const s=r(o(t,l,e,c),c.cancelToken);let n=await s;n=n.slice(0,c.maxResults||n.length),yield*n}()}export async function executeCount(o,l,a,n){s("where",o).isNotMissing(),s("source",l).isNotMissing(),s("queryable",a).isNotMissing();const c={...e.DEFAULTS,...e.fromFeatureSource(l),...n},{maxResults:u,cancelToken:f}=c;let m;if(s("options.maxResults",u).satisfies((e=>null==e||e>0)),i.isCollection(a)||Array.isArray(a))m=i.isCollection(a)?a.toArray():a.slice();else{m=(await a).features.slice()}let p=await r(t(o,m,c),f);return u>0&&p>u&&(p=u),{source:l,count:p}}
|
package/support/_query.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{isLayerExtension,isSublayerExtension}from"../ItemType.js";import{toFeature}from"../data/Feature.js";import{isTimeAwareLayer}from"../utilities/_layers.js";import{checkArg}from"../utilities/checkArg.js";import{cancelifyWithAbortSignal}from"./Cancellable.js";export function escape(e){return e.replace(/([%'])/g,"$1$1")}export function concatenateWhereClauses(e,t){return e?.length>0&&t?.length>0?`(${e}) and (${t})`:e||t}export function executeQuery(e,t,
|
|
1
|
+
import{isLayerExtension as e,isSublayerExtension as t}from"../ItemType.js";import{toFeature as n}from"../data/Feature.js";import{isTimeAwareLayer as i}from"../utilities/_layers.js";import{checkArg as s}from"../utilities/checkArg.js";import{cancelifyWithAbortSignal as r}from"./Cancellable.js";export function escape(e){return e.replace(/([%'])/g,"$1$1")}export function concatenateWhereClauses(e,t){return e?.length>0&&t?.length>0?`(${e}) and (${t})`:e||t}export function executeQuery(e,t,i,o){return s("query",e).isNotMissing(),s("source",t).isNotMissing(),s("queryable",i).isNotMissing(),e.where=concatenateWhereClauses(i.definitionExpression,e.where),constrainQueryTimeExtentToView(e,t),async function*(){const s=e.num;let a=(await r((async t=>i.queryFeatures(e,{signal:t})),o)).features;s>0&&a.length>s&&(a=a.slice(0,s)),yield*a.map((e=>n(e,{source:t})))}()}export async function executeCount(e,t,n,i){s("query",e).isNotMissing(),s("source",t).isNotMissing(),s("queryable",n).isNotMissing(),e.where=concatenateWhereClauses(n.definitionExpression,e.where),constrainQueryTimeExtentToView(e,t);const o=e.num;e.num=void 0;let a=await r((async t=>n.queryFeatureCount(e,{signal:t})),i);return o>0&&a>o&&(a=o),{source:t,count:a}}export async function executeCountByQuery(e,t,n,i){s("query",e).isNotMissing(),s("source",t).isNotMissing(),s("queryable",n).isNotMissing(),e.where=concatenateWhereClauses(n.definitionExpression,e.where),constrainQueryTimeExtentToView(e,t);const o=e.num;let a=(await r((async t=>n.queryFeatures(e,{signal:t})),i)).features.length;return o>0&&a>o&&(a=o),{source:t,count:a}}export function constrainQueryTimeExtentToView(n,s){let r;if(e(s)?r=s:t(s)&&(r=s.layerExtension),!i(r?.layer))return;const{layer:o,mapExtension:a}=r,u=a?._allLayerViews.find((e=>e.layer===o))?.view?.timeExtent;if(n.timeExtent||(n.timeExtent=o.timeExtent?.clone()),o.useViewTime&&u)if(n.timeExtent){const e=[n.timeExtent.start?.valueOf(),u.start?.valueOf()].filter((e=>!!e)),t=[n.timeExtent.end?.valueOf(),u.end?.valueOf()].filter((e=>!!e));n.timeExtent.start=e.length?new Date(Math.max(...e)):void 0,n.timeExtent.end=t.length?new Date(Math.min(...t)):void 0}else n.timeExtent=u?.clone()}
|
package/support/_requestCache.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
let
|
|
1
|
+
let e;export function getCache(){return e||(e=new Map),e}export function clearCache(){getCache().clear()}
|
|
@@ -4,7 +4,7 @@ export interface RestApiSubtype {
|
|
|
4
4
|
defaultValues?: Record<string, unknown>;
|
|
5
5
|
domains?: Record<string, RestApiDomain>;
|
|
6
6
|
}
|
|
7
|
-
export
|
|
7
|
+
export type RestApiDomain = RestApiRangeDomain | RestApiCodedValueDomain;
|
|
8
8
|
export interface RestApiRangeDomain {
|
|
9
9
|
type: "range";
|
|
10
10
|
name: string;
|