@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/utilities/object.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{checkArg}from"./checkArg.js";import{parallelEach}from"./promise.js";export function isPlainObject(
|
|
1
|
+
import{checkArg as t}from"./checkArg.js";import{parallelEach as e}from"./promise.js";export function isPlainObject(t){return"object"==typeof t&&!Array.isArray(t)&&t&&Object.getPrototypeOf(t)===Object.prototype}export function map(e,r){t("obj",e).isNotMissing(),t("callback",r).isNotMissing();const o={};for(const t of Object.keys(e))o[t]=r(e[t],t,e);return o}export function filter(e,r){t("obj",e).isNotMissing(),t("callback",r).isNotMissing();const o={},n=Object.keys(e);for(const t of n)r(e[t],t,e)&&(o[t]=e[t]);return o}export function deepAssign(t,...e){return function(t,...e){if(null==t)throw new TypeError("Cannot convert undefined or null to object.");const r=Object(t);return e.forEach((t=>{if(!t)return;const e=Object(t);if("function"!=typeof r.assignProperties)for(const t of Object.keys(e))r[t]&&"object"==typeof r[t]?deepAssign(r[t],e[t]):n(r,t)&&(r[t]=e[t]);else r.assignProperties(e)})),r}(t,...e)}export function isEmpty(t){return!Object.keys(t).length}export function toJSON(t){return JSON.parse(JSON.stringify(t,((t,e)=>e&&"string"==typeof e.declaredClass&&e.declaredClass.includes("Collection")&&"function"==typeof e.toArray?e.toArray():void 0===e?null:e)))}export function deepClone(t){return JSON.parse(JSON.stringify(t))}export function getPropertyDescriptor(t,e){if(null==t)throw new TypeError("Cannot convert undefined or null to object");let r=t;for(;r;){const t=Object.getOwnPropertyDescriptor(r,e);if(t)return t;r=Object.getPrototypeOf(r)}}export function deepSearchAndTransform(t,e,o,n=!0){return r(t,e,o,n)}export async function deepSearchAndTransformAsync(t,e,r,n=!0){return o(t,e,r,n)}function r(t,e,o,n=!0,s=new Set){let c=!1;if(s.has(e))return c;s.add(e);const i=Object.keys(e);for(const f of i){("string"==typeof t?f===t:t.test(f))&&(e[f]=o(e[f]),c=!0,n)||e[f]&&"object"==typeof e[f]&&(c=r(t,e[f],o,n,s)||c)}return c}async function o(t,r,n,s=!0,c=new Set){let i=!1;if(c.has(r))return i;c.add(r);const f=Object.keys(r);return await e(f,(async e=>{("string"==typeof t?e===t:t.test(e))&&(r[e]=await n(r[e]),i=!0,s)||r[e]&&"object"==typeof r[e]&&(i=await o(t,r[e],n,s,c)||i)})),i}function n(t,e){const r=getPropertyDescriptor(t,e);return!r||r.writable&&!(r.get&&!r.set)}
|
package/utilities/portal.d.ts
CHANGED
|
@@ -5,15 +5,15 @@ import { Uri } from "./uri.js";
|
|
|
5
5
|
/**
|
|
6
6
|
* An ID that uniquely identifies an item in Portal/AGOL.
|
|
7
7
|
*/
|
|
8
|
-
export
|
|
8
|
+
export type PortalItemId = string;
|
|
9
9
|
/**
|
|
10
10
|
* A URL pointing to an item in Portal.
|
|
11
11
|
*/
|
|
12
|
-
export
|
|
12
|
+
export type PortalItemUrl = string;
|
|
13
13
|
/**
|
|
14
14
|
* A reference to a portal item.
|
|
15
15
|
*/
|
|
16
|
-
export
|
|
16
|
+
export type PortalItemLike = PortalItem | PortalItemJson | PortalItemId | PortalItemUrl | PortalUri | Uri;
|
|
17
17
|
/**
|
|
18
18
|
* Determines whether the input is a valid Portal item ID.
|
|
19
19
|
*
|
package/utilities/portal.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import t from"@arcgis/core/portal/Portal";import r from"@arcgis/core/portal/PortalItem";import{ArgumentError as e}from"../ArgumentError.js";import{isPortalUri as o,PortalUri as i}from"../PortalUri.js";import{config as n}from"../config.js";import{Item as s}from"../portal/Item.js";import{isPortalItem as a}from"./esri.js";import{Uri as l}from"./uri.js";import{generateUuid as m}from"./uuid.js";export function isPortalItemId(t){return/^[a-fA-F0-9]{32}$/.test(t)}export function getPortalItemHtmlUrl(t){const r=toPortalItem(t);if(r.portal?.url&&r.id){const t=new l("home/item.html");return t.queryValues.set("id",r.id),t.toAbsoluteUri(`${r.portal.url}/`).toString()}}export function isPortalItemUrl(t){return"string"==typeof t?o(t)||isPortalItemUrl(new l(t)):!!t&&(f.test(t.path)||!!t.path?.endsWith("/home/item.html")&&isPortalItemId(t.queryValues.get("id")))}export function isPortalItemLike(t){if(a(t)||t instanceof i)return!0;if(t instanceof l){const r=t.toString();return isPortalItemUrl(r)||o(r)}return"string"==typeof t?isPortalItemId(t)||o(t)||isPortalItemUrl(t):t&&isPortalItemId(t.id)}export function toPortalItem(t){if(t){if(t instanceof r)return t;if(t instanceof i)return t.toPortalItem();if(t instanceof l)return c(t);if("string"==typeof t){if(isPortalItemId(t))return new r({id:t});if(o(t))return new i(t).toPortalItem();if(isPortalItemUrl(t))return c(new l(t));throw new e("input",`Unable to convert "${t}" to a Portal item. Make sure it is a valid Portal item ID or URL.`)}if("object"==typeof t)return s.toEsriApiPortalItem(t);throw new e("toPortalItem(): invalid input type.")}}export function serializePortalItem(t){if(a(t)){if(t.itemUrl)return u(t.itemUrl);if(t.portal){const r=new l("/sharing/rest/content/items/");return r.queryValues.set("id",t.id),u(r.toAbsoluteUri(t.portal.url))}return t.id}return t instanceof i?t.toString():t instanceof l||"string"==typeof t?u(t):t}function u(t){const r="string"==typeof t?new l(t):t;return r.host.toLowerCase().endsWith(".maps.arcgis.com")&&(r.host="www.arcgis.com"),r.toString()}const f=/\/sharing\/rest\/content\/items\/([a-fA-F0-9]{32}).*/,p=/\/home\/item\.html$/;function c(o){const i=new l;let s;const a=o.path.match(f);if(a)i.path=o.path.replace(f,""),s=a[1];else{if(!o.path?.endsWith("/home/item.html")||!isPortalItemId(o.queryValues.get("id")))throw new e("itemUrl",`Invalid Portal item URL "${o.toString()}".`);i.path=o.path.replace(p,""),s=o.queryValues.get("id")}i.scheme=o.scheme,i.host=o.host,i.port=o.port;const u=i.toString(),c=new r({id:s});if(u===t.getDefault().url)c.portal=t.getDefault();else{let r=[...n.portals.values()].find((t=>t.url===u));r||(r=new t({id:m(),url:u}),n.portals.set(r.id,r)),c.portal=r}return c}
|
package/utilities/promise.d.ts
CHANGED
|
@@ -271,7 +271,7 @@ export declare function reduce<T, U>(values: Iterable<PromiseLike<T>>, reducer:
|
|
|
271
271
|
* function.
|
|
272
272
|
*/
|
|
273
273
|
export declare function reduce<T, U>(values: Iterable<T>, reducer: (total: U, current: T, index: number) => U | PromiseLike<U>, initialValue?: U): Promise<U>;
|
|
274
|
-
|
|
274
|
+
type Awaited<T> = T extends PromiseLike<infer PT> ? PT : T;
|
|
275
275
|
/**
|
|
276
276
|
* Like `Promise.all` but for object properties instead of array items. Returns
|
|
277
277
|
* a promise that is fulfilled when all the properties of the object are
|
package/utilities/promise.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{checkArg}from"./checkArg.js";import{map as
|
|
1
|
+
import{checkArg as t}from"./checkArg.js";import{map as a}from"./iterable.js";export function delay(t=0){return new Promise((a=>{setTimeout(a,t)}))}export async function timeout(t,a,i){let e=!1;return new Promise((async(r,s)=>{setTimeout((()=>{e||s("string"==typeof i?new Error(i):i||new Error("Timed out while waiting for promise to resolve."))}),t);try{r(await a)}catch(t){s(t)}finally{e=!0}}))}export async function map(i,e){t("values",i).isNotMissing(),t("mapper",e).isNotMissing();const r=Array.from(a(await i,(async(t,a)=>e(await t,a))));return Promise.all(r)}export async function each(a,i){t("values",a).isNotMissing(),t("iterator",i).isNotMissing();const e=await a;let r=0;for(const t of e)await i(await t,r++)}export async function parallelEach(t,a){await map(t,a)}export function reduce(a,i,e){const r=arguments.length;return(async()=>{t("values",a).isNotMissing(),t("reducer",i).isNotMissing();let s=[...await a],n=e;if(r<3){if(s.length<2)return;n=await s[0],s=s.slice(1)}for(let t=0;t<s.length;t++)n=await i(n,await s[t],t);return n})()}export async function props(a){t("object",a).isNotMissing().satisfies((t=>"object"==typeof t));const i={},e=await a;return await parallelEach(Object.keys(e),(async t=>{const a=await e[t];e.hasOwnProperty(t)&&(i[t]=a)})),i}export async function asyncFlatMap(t,a){return(await Promise.all(t.map(a))).flat()}
|
package/utilities/query.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{intersects}from"@arcgis/core/geometry/geometryEngine";import{Feature}from"../data/Feature.js";import{project}from"../utilities/geometry.js";import{isGraphic}from"./esri.js";const
|
|
1
|
+
import{intersects as t}from"@arcgis/core/geometry/geometryEngine";import{Feature as e}from"../data/Feature.js";import{project as r}from"../utilities/geometry.js";import{isGraphic as a}from"./esri.js";const i="alasql-id",o={outFields:["*"],returnGeometry:!0};export async function query(t,e,r,s){if(!r?.length)return[];const{spatialFilter:l,returnGeometry:u,outFields:p}={...o,...s},m=l?await spatialFilter(r,l):r,c=!a(m[0]);if(t){const r=new Map,a=m.map(((t,e)=>{r.set(e,t);let a={};return c?Array.from(t.attributes.entries()).forEach((([t,e])=>{a[t]=e})):a={...t.attributes},a[i]=e,a}));return(0,(await import("alasql")).default)(`SELECT * FROM ? WHERE ${t}`,[a]).map((t=>c?r.get(t[i]):n(t,r.get(t[i]),e,u,p)))}return c?m:m.map((t=>n(t.attributes,t,e,s.returnGeometry,s.outFields)))}export async function count(t,e,r){if(!e?.length)return 0;const{spatialFilter:o}=r??{},n=o?await spatialFilter(e,o):e,s=!a(n[0]);if(t){const e=n.map(((t,e)=>{let r={};return s?Array.from(t.attributes.entries()).forEach((([t,e])=>r[t]=e)):r={...t.attributes},r[i]=e,r}));return(0,(await import("alasql")).default)(`SELECT * FROM ? WHERE ${t}`,[e]).length}return n.length}export async function spatialFilter(e,a){if(!e?.length)return[];const i=e[0].geometry.spatialReference;let o=a.clone();return i&&!i.equals(o.spatialReference)&&(o=(await r([o],i))[0]),e.filter((e=>!!e.geometry&&t(o,e.geometry)))}function n(t,r,a,o,n){const s=new e({source:a});for(const e of Object.keys(t))e!==i&&(n.includes("*")||n.includes(e))&&s.attributes.set(e,t[e]);return o&&(s.geometry=r.geometry),r.popupTemplate&&(s.settings.popupTemplate=r.popupTemplate),s}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{isRelationship}from"../ItemType.js";export function isQueryBasedRelationship(i){return
|
|
1
|
+
import{isRelationship as e}from"../ItemType.js";export function isQueryBasedRelationship(i){return e(i)&&"QueryBasedRelationship"===i.relationshipType}
|
|
@@ -2,7 +2,7 @@ import type { Extent } from "@arcgis/core/geometry";
|
|
|
2
2
|
/**
|
|
3
3
|
* A list of well known scale IDs.
|
|
4
4
|
*/
|
|
5
|
-
export
|
|
5
|
+
export type ScaleId = "room" | "rooms" | "smallBuilding" | "building" | "buildings" | "street" | "streets" | "neighborhood" | "town" | "city" | "cities" | "metropolitanArea" | "county" | "counties" | "stateProvince" | "statesProvinces" | "countriesSmall" | "countriesBig" | "continent" | "world";
|
|
6
6
|
/**
|
|
7
7
|
* Represents a known scale.
|
|
8
8
|
*/
|
package/utilities/set.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{filter as
|
|
1
|
+
import{filter as e,find as t}from"./iterable.js";export function union(...e){return new Set(e.flatMap((e=>[...e])))}export function intersection(...e){return 0===e.length?new Set:1===e.length?new Set(e[0]):new Set(e.reduce(((e,t)=>filter(e,(e=>t.has(e))))))}export function difference(...e){return 0===e.length?new Set:1===e.length?new Set(e[0]):new Set(e.reduce(((e,t)=>filter(e,(e=>!t.has(e))))))}export function filter(t,n){return new Set(e(t,(e=>n(e,t))))}export function find(e,n){return t(e,(t=>n(t,e)))}
|
package/utilities/string.d.ts
CHANGED
|
@@ -43,14 +43,7 @@ export declare function kebabToCamelCase(input: string): string;
|
|
|
43
43
|
* @param format See {@link utilities/string!StringFormatter.format}.
|
|
44
44
|
* @param args See {@link utilities/string!StringFormatter.format}.
|
|
45
45
|
*/
|
|
46
|
-
export declare function format(format: string, ...args: unknown[]): string;
|
|
47
|
-
/**
|
|
48
|
-
* See {@link utilities/string!StringFormatter.format}.
|
|
49
|
-
*
|
|
50
|
-
* @param options See {@link utilities/string!StringFormatter.format}.
|
|
51
|
-
* @param args See {@link utilities/string!StringFormatter.format}.
|
|
52
|
-
*/
|
|
53
|
-
export declare function format(options: FormatOptions, ...args: unknown[]): string;
|
|
46
|
+
export declare function format(format: string | FormatOptions, ...args: unknown[]): string;
|
|
54
47
|
/**
|
|
55
48
|
* A helper class for formatting strings.
|
|
56
49
|
*/
|
|
@@ -94,9 +87,9 @@ export declare class StringFormatter implements FormatSettings {
|
|
|
94
87
|
* Converts the value of objects to strings based on the formats specified
|
|
95
88
|
* and inserts them into another string.
|
|
96
89
|
*
|
|
97
|
-
* @param
|
|
98
|
-
* string can contain one or more format items, which have this
|
|
99
|
-
* `{index[:format]}`.
|
|
90
|
+
* @param formatOrOptions The format string that acts as a template. The
|
|
91
|
+
* format string can contain one or more format items, which have this
|
|
92
|
+
* syntax: `{index[:format]}`.
|
|
100
93
|
*
|
|
101
94
|
* The index is the zero-based index of the argument whose string
|
|
102
95
|
* representation is to be included at this position in the string. The
|
|
@@ -104,18 +97,10 @@ export declare class StringFormatter implements FormatSettings {
|
|
|
104
97
|
* converted into a string, if the argument is a Date object or number. To
|
|
105
98
|
* include a literal `{` or `}` character in the output, escape the
|
|
106
99
|
* character by repeating it twice in the format string.
|
|
107
|
-
* @param args The values to substitute into the format string. Null and
|
|
108
|
-
* undefined values will be converted into empty strings.
|
|
109
|
-
*/
|
|
110
|
-
format(format: string, ...args: unknown[]): string;
|
|
111
|
-
/**
|
|
112
|
-
* Converts the value of objects to strings based on the formats specified
|
|
113
|
-
* and inserts them into another string.
|
|
114
100
|
*
|
|
115
|
-
*
|
|
116
|
-
* other options that control how the string is formatted.
|
|
101
|
+
* This argument can also be a format options object instead.
|
|
117
102
|
* @param args The values to substitute into the format string. Null and
|
|
118
103
|
* undefined values will be converted into empty strings.
|
|
119
104
|
*/
|
|
120
|
-
format(
|
|
105
|
+
format(formatOrOptions: string | FormatOptions, ...args: unknown[]): string;
|
|
121
106
|
}
|
package/utilities/string.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{settings as
|
|
1
|
+
import{settings as t}from"./FormatSettings.js";import{checkArg as e}from"./checkArg.js";import{DateFormatter as r,isValidTimeZone as o,ERR_TIME_ZONE_INVALID as n}from"./date.js";import{getLogger as a}from"./log.js";import{NumberFormatter as i}from"./number.js";export{settings}from"./FormatSettings.js";export function escapeRegExp(t){return t?t.replace(/[-[\]/{}()*+?.\\^$|]/g,"\\$&"):t}export function camelToKebabCase(t){return t.replace(/([A-Z])/g,(t=>`-${t.toLowerCase()}`))}export function kebabToCamelCase(t){return t.replace(/-[a-z]/g,(t=>t[1].toUpperCase()))}export function format(t,...e){return s.format(t,...e)}export class StringFormatter{constructor(){this._numberFormatter=new i,this._dateFormatter=new r}get numberFormat(){return this._numberFormat}set numberFormat(t){this._numberFormat=t}get dateFormat(){return this._dateFormat}set dateFormat(t){this._dateFormat=t}get currency(){return this._currency}set currency(t){this._currency=t}get fractionalDigits(){return this._fractionalDigits}set fractionalDigits(t){this._fractionalDigits=t}get timeZone(){return this._timeZone}set timeZone(t){e("timezone",t).satisfies((t=>o(t)),n(t)),this._timeZone=t}format(t,...r){const o="string"==typeof t?{format:t}:t;e("options",o).isNotMissing();let{format:n}=o;e("format",n).isNotMissing(),n=n.replace(c,u);return n.replace(m,((t,n,i)=>{const s=parseInt(n);let m,c;try{e(`token ${n}`,n).isInRange(0,r.length-1),m=r[s]}catch(t){const e=parseInt(n,10);if(isNaN(e)||e<0)throw t;a("geocortex.api.utilities.string").warn(`Error encountered while formatting string: ${t.toString()}`)}if("number"==typeof m){const t={locale:o.locale,format:i||o.numberFormat||this.numberFormat,currency:o.currency||this.currency,fractionalDigits:o.fractionalDigits??this.fractionalDigits};c=this._numberFormatter.format(t,m)}else if(m instanceof Date){const t={locale:o.locale,format:i||o.dateFormat||this.dateFormat,timeZone:o.timeZone||this.timeZone};c=this._dateFormatter.format(t,m)}else c=null==m?"":String(m);return c})).replace(g,"{").replace("}}","}")}}const s=new class extends StringFormatter{get numberFormat(){return t.numberFormat}set numberFormat(e){t.numberFormat=e}get dateFormat(){return t.dateFormat}set dateFormat(e){t.dateFormat=e}get timeZone(){return t.timeZone}set timeZone(e){t.timeZone=e}get currency(){return t.currency}set currency(e){t.currency=e}get fractionalDigits(){return t.fractionalDigits}set fractionalDigits(e){t.fractionalDigits=e}},m=/\{([-\d]+)(?::([^}]*))?\}/g,c=/{{/g,u="\0MAGIC\0",g=new RegExp(u,"g");
|
package/utilities/symbol.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export function isVolumetric(e){return isSymbol3D(e)&&e.symbolLayers.some((e=>"object"===e.type||"path"===e.type||"extrude"===e.type))}const
|
|
1
|
+
export function isVolumetric(e){return isSymbol3D(e)&&e.symbolLayers.some((e=>"object"===e.type||"path"===e.type||"extrude"===e.type))}const e=/^esri\.symbols\.\w+Symbol(3D)?$/;export function isSymbol(l){return e.test(l?.declaredClass)}export function isCimSymbol(e){return"esri.symbols.CimSymbol"===e?.declaredClass}export function isLabelSymbol3D(e){return"esri.symbols.LabelSymbol3D"===e?.declaredClass}export function isLineSymbol3D(e){return"esri.symbols.LineSymbol3D"===e?.declaredClass}export function isMeshSymbol3D(e){return"esri.symbols.MeshSymbol3D"===e?.declaredClass}export function isPictureFillSymbol(e){return"esri.symbols.PictureFillSymbol"===e?.declaredClass}export function isPictureMarkerSymbol(e){return"esri.symbols.PictureMarkerSymbol"===e?.declaredClass}export function isPointSymbol3D(e){return"esri.symbols.PointSymbol3D"===e?.declaredClass}export function isPolygonSymbol3D(e){return"esri.symbols.PolygonSymbol3D"===e?.declaredClass}export function isSimpleFillSymbol(e){return"esri.symbols.SimpleFillSymbol"===e?.declaredClass}export function isSimpleLineSymbol(e){return"esri.symbols.SimpleLineSymbol"===e?.declaredClass}export function isSimpleMarkerSymbol(e){return"esri.symbols.SimpleMarkerSymbol"===e?.declaredClass}export function isWebStyleSymbol(e){return"esri.symbols.WebStyleSymbol"===e?.declaredClass}export function isTextSymbol(e){return"esri.symbols.TextSymbol"===e?.declaredClass}export function isSymbol3D(e){return isPointSymbol3D(e)||isLineSymbol3D(e)||isPolygonSymbol3D(e)||isMeshSymbol3D(e)||isLabelSymbol3D(e)}export function isPointGeometrySymbol(e){return isSimpleMarkerSymbol(e)||isPictureMarkerSymbol(e)||isWebStyleSymbol(e)||isTextSymbol(e)||isCimSymbol(e)||isPointSymbol3D(e)||isLabelSymbol3D(e)}export function isMeshGeometrySymbol(e){return isMeshSymbol3D(e)||isLabelSymbol3D(e)}export function isPolylineGeometrySymbol(e){return isSimpleLineSymbol(e)||isTextSymbol(e)||isCimSymbol(e)||isLineSymbol3D(e)||isLabelSymbol3D(e)}export function isPolygonGeometrySymbol(e){return isSimpleFillSymbol(e)||isPictureFillSymbol(e)||isSimpleMarkerSymbol(e)||isTextSymbol(e)||isCimSymbol(e)||isPolygonSymbol3D(e)||isLabelSymbol3D(e)}export function isIconSymbol3DLayer(e){return"esri.symbols.IconSymbol3DLayer"===e.declaredClass}export function isObjectSymbol3DLayer(e){return"esri.symbols.ObjectSymbol3DLayer"===e.declaredClass}export function isPathSymbol3DLayer(e){return"esri.symbols.PathSymbol3DLayer"===e.declaredClass}export function isLineSymbol3DLayer(e){return"esri.symbols.LineSymbol3DLayer"===e.declaredClass}export function isFillSymbol3DLayer(e){return"esri.symbols.FillSymbol3DLayer"===e.declaredClass}export function isExtrudeSymbol3DLayer(e){return"esri.symbols.ExtrudeSymbol3DLayer"===e.declaredClass}
|
package/utilities/uri.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export class Uri{
|
|
1
|
+
export class Uri{get authority(){const t=this.password?`:${encodeURIComponent(this.password)}`:"";return`${this.user?`${encodeURIComponent(this.user)}${t}@`:""}${encodeURIComponent(this.host)||""}${this.port?`:${this.port}`:""}`}get query(){const t=Array.from(this.queryValues).filter((([t])=>"string"==typeof t)).map((([t,e])=>`${encodeURIComponent(`${t}`)}=${encodeURIComponent(e)}`)),e=Array.from(this.queryValues).filter((([t])=>"number"==typeof t)).sort((([t],[e])=>t-e)).map((([t,e])=>`${encodeURIComponent(e)}`));return[].concat(t,e).join("&")}set query(t){if(this.queryValues.clear(),!t)return;let e=0;t.replace(Uri._queryRegex,((t,...r)=>(r[0]?this.queryValues.set(decodeURIComponent(r[0]),decodeURIComponent(r[1])):r[1]&&this.queryValues.set(e++,decodeURIComponent(r[1])),t)))}get isRelative(){return!this.scheme}get isAbsolute(){return!this.isRelative}constructor(t){this.queryValues=new Map,t&&this._parseUri(t)}clone(){return new Uri(this.toString())}toString(){const t=this.scheme?`${encodeURIComponent(this.scheme)}:`:"",e=this.authority?`//${this.authority}`:"";return`${t}${e}${e&&this.path&&!this.path.startsWith("/")?`/${this.path}`:this.path}${this.queryValues.size?`?${this.query}`:""}${this.fragment?`#${encodeURIComponent(this.fragment)}`:""}`}toAbsoluteUri(t){if(!t||this.isAbsolute)return this.clone();const e="string"==typeof t?new Uri(t):t,r=new Uri;if(this.authority)r.host=this.host,r.port=this.port,r.user=this.user,r.password=this.password,r.path=this.path,r.query=this.query;else{if(this.path){if(this.path.startsWith("/"))r.path=this.path;else{const t=e.path.split("/");t.pop();const s=this.path.split("/");for(const e of s)"."!==e&&(".."===e?t.pop():t.push(e));r.path=t.join("/")}r.query=this.query}else r.path=e.path,r.query=this.query?this.query:e.query;r.host=e.host,r.port=e.port,r.user=e.user,r.password=e.password}return r.scheme=e.scheme,r.fragment=this.fragment,r}_parseUri(t){const e=Uri._uriRegex.exec(t);let r=Uri._keys.length;for(;--r;)this[Uri._keys[r]]=decodeURIComponent(e[r]||"")}}Uri._keys=["uri","scheme","user","password","host","port","path","query","fragment"],Uri._queryRegex=/(?:^|&)(?:([^&=]*)=)?([^&]*)/g,Uri._uriRegex=/^(?:([^:/?#]+):)?(?:\/\/(?:([^:@]*)(?::([^:@]*))?@)?([^:/?#]*)(?::(\d*))?)?([^?#]*)(?:\?([^#]*))?(?:#(.*))?/;export function isRelativeUri(t){return!t?.match(/^\w+:\/\//)}export function isAbsoluteUri(t){return!isRelativeUri(t)}export function isPackageUri(t){return!(!t||"string"!=typeof t)&&t.startsWith("@")}export function toAbsoluteUri(t,e){return t?new Uri(t).toAbsoluteUri(e).toString():t}export function addQueryParameter(t,e,r){const s="string"==typeof t?new Uri(t):t.clone();return s.queryValues.set(e,r),s.toString()}export function removeQueryParameter(t,e){const r="string"==typeof t?new Uri(t):t.clone();return r.queryValues.delete(e),r.toString()}
|
package/utilities/watch.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import*as
|
|
1
|
+
import*as o from"@arcgis/core/core/reactiveUtils";import{Collection as e}from"../support/esri.js";import{checkArg as t}from"./checkArg.js";export{}from"../support/esri.js";export function onEach(o,e,s){t("collection",o).isNotMissing(),t("eventType",e).isNotMissing().isNotEmpty(),t("callback",s).isNotMissing();const n=new Map;for(const t of o.toArray())n.set(t,t.on(e,s));const r=o.on("change",(o=>{for(const t of o.added)n.set(t,t.on(e,s));for(const e of o.removed){const o=n.get(e);o&&o.remove(),n.delete(e)}}));return{remove:()=>{r.remove(),n.forEach((o=>o.remove()))}}}export function watchEach(e,...s){let n;if(t("collection",e).isNotMissing(),"function"==typeof s[0]){const[e,r,i=!1]=s;t("getValue",e).isNotMissing(),t("callback",r).isNotMissing(),n=t=>o.watch((()=>e(t)),((o,e)=>r(o,e,t)),{sync:i})}else{const[o,e,r=!1]=s;t("path",o).isNotMissing().isNotEmpty(),t("callback",e).isNotMissing(),n=t=>t.watch(o,e,r)}const r=new Map;for(const o of e.toArray())r.set(o,n(o));const i=e.on("change",(o=>{for(const e of o.added)r.set(e,n(e));for(const e of o.removed){const o=r.get(e);o&&o.remove(),r.delete(e)}}));return{remove:()=>{i.remove(),r.forEach((o=>o.remove()))}}}export function watchCollectionPropertyEach(o,e,s,n,r=!1){t("obj",o).isNotMissing(),t("collectionProperty",e).isNotMissing().isNotEmpty(),t("path",s).isNotMissing().isNotEmpty(),t("callback",n).isNotMissing();const i=new Map,c=o.get(e);if(c)for(const o of c.toArray())i.set(o,o.watch(s,n,r));const a=onCollectionPropertyChange(o,e,(o=>{for(const e of o.added)i.set(e,e.watch(s,n,r));for(const e of o.removed){const o=i.get(e);o&&o.remove(),i.delete(e)}}),r);return{remove:()=>{a.remove(),i.forEach((o=>o.remove()))}}}export function onCollectionPropertyChange(o,s,n,r=!1){let i;t("obj",o).isNotMissing(),t("property",s).isNotMissing().isNotEmpty(),t("callback",n).isNotMissing();const c=o.get(s);c&&(i=c.on("change",n));const a=o.watch(s,((o,t)=>{i&&(i.remove(),i=void 0),o&&(i=o.on("change",n));const s=o??new e,r=t??new e,c=s,a=s.filter((o=>r.includes(o))),l=r.filter((o=>s.includes(o))),f={added:s.filter((o=>!r.includes(o))).toArray(),removed:r.filter((o=>!s.includes(o))).toArray(),moved:a.filter(((o,e)=>l.indexOf(o)!==e)).toArray(),target:c};(f.added.length||f.removed.length||f.moved.length)&&n(f)}),r);return{remove:()=>{i&&i.remove(),a.remove()}}}export function onOnce(o,e,t){const s=o.on(e,(o=>{t(o),s.remove()}));return s}
|
package/version.d.ts
CHANGED
package/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const version="38.0
|
|
1
|
+
export const version="38.1.0";
|