@vertigis/arcgis-extensions 51.14.1 → 52.0.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/AppConfig.schema.json +0 -4
- package/config.js +1 -1
- package/data/FeatureSet.d.ts +0 -36
- package/data/FeatureSet.js +1 -1
- package/data/_TableExtension.d.ts +1 -1
- package/docs/html/assets/navigation.js +1 -1
- package/docs/html/assets/search.js +1 -1
- package/docs/html/classes/Entity.EntityBase.html +5 -10
- package/docs/html/classes/Hyperlink.Hyperlink.html +2 -7
- package/docs/html/classes/LanguageResources.LanguageResources.html +4 -59
- package/docs/html/classes/data_ArcGISServiceTableExtension.ArcGISServiceTableExtension.html +9 -14
- package/docs/html/classes/data_Attachment.Attachment.html +5 -10
- package/docs/html/classes/data_Feature.Feature.html +7 -12
- package/docs/html/classes/data_FeatureList.FeatureList.html +32 -59
- package/docs/html/classes/data_FeatureSet.FeatureSet.html +6 -61
- package/docs/html/classes/data_FeatureSettings.FeatureSettings.html +3 -8
- package/docs/html/classes/data_FeatureSourceBase.FeatureSourceBase.html +8 -13
- package/docs/html/classes/data_FeatureSourceBase.RelationshipCollection.html +31 -58
- package/docs/html/classes/data_FeatureStream.FeatureStream.html +6 -11
- package/docs/html/classes/data_FieldExtension.FieldExtension.html +6 -11
- package/docs/html/classes/data_PopupContentExtension.PopupContentExtension.html +6 -11
- package/docs/html/classes/data_RelationshipBase.RelationshipBase.html +5 -60
- package/docs/html/classes/data_Schema.Schema.html +5 -10
- package/docs/html/classes/data_TaskSettings.TaskSettings.html +3 -8
- package/docs/html/classes/data__TableExtension.TableExtension.html +9 -14
- package/docs/html/classes/data__TableExtension.TableFeatureSettings.html +3 -8
- package/docs/html/classes/data__TableExtension.TableSchema.html +7 -12
- package/docs/html/classes/layer_preset_LayerPreset.LayerPreset.html +7 -12
- package/docs/html/classes/layer_preset_LayerPresetSettings.LayerPresetSetting.html +5 -60
- package/docs/html/classes/mapping_ArcGISSublayerExtension.ArcGISSublayerExtension.html +9 -14
- package/docs/html/classes/mapping_ArcGISSublayerExtension.ArcGISSublayerRelationshipCollection.html +31 -58
- package/docs/html/classes/mapping_BasemapExtension.BasemapExtension.html +6 -11
- package/docs/html/classes/mapping_Bookmark.Bookmark.html +5 -10
- package/docs/html/classes/mapping_BuildingComponentSublayerExtension.BuildingComponentSublayerExtension.html +9 -14
- package/docs/html/classes/mapping_BuildingComponentSublayerExtension.BuildingComponentSublayerSchema.html +5 -10
- package/docs/html/classes/mapping_BuildingGroupSublayerExtension.BuildingGroupSublayerExtension.html +9 -14
- package/docs/html/classes/mapping_BuildingGroupSublayerExtension.BuildingGroupSublayerSchema.html +5 -10
- package/docs/html/classes/mapping_BuildingSceneLayerExtension.BuildingSceneLayerExtension.html +9 -14
- package/docs/html/classes/mapping_BuildingSceneLayerExtension.BuildingSceneLayerReadOnlySchema.html +5 -10
- package/docs/html/classes/mapping_BuildingSublayerExtension.BuildingSublayerExtension.html +9 -14
- package/docs/html/classes/mapping_BuildingSublayerExtension.BuildingSublayerFeatureSettings.html +3 -8
- package/docs/html/classes/mapping_BuildingSublayerExtension.BuildingSublayerSchema.html +5 -10
- package/docs/html/classes/mapping_CSVLayerExtension.CSVLayerExtension.html +9 -14
- package/docs/html/classes/mapping_ElevationLayerExtension.ElevationLayerExtension.html +9 -14
- package/docs/html/classes/mapping_FeatureCollectionLayerExtension.FeatureCollectionLayerExtension.html +9 -14
- package/docs/html/classes/mapping_FeatureLayerExtension.FeatureLayerExtension.html +9 -14
- package/docs/html/classes/mapping_FeatureLayerExtensionBase.FeatureLayerExtensionBase.html +9 -14
- package/docs/html/classes/mapping_FeatureLayerExtensionBase.FeatureLayerReadOnlySchema.html +5 -10
- package/docs/html/classes/mapping_FeatureLayerExtensionBase.FeatureLayerSchema.html +5 -10
- package/docs/html/classes/mapping_GeoJSONLayerExtension.GeoJSONLayerExtension.html +9 -14
- package/docs/html/classes/mapping_GeoRSSLayerExtension.GeoRSSLayerExtension.html +9 -14
- package/docs/html/classes/mapping_GraphicsLayerExtension.GraphicsLayerExtension.html +9 -14
- package/docs/html/classes/mapping_GroundExtension.GroundExtension.html +6 -11
- package/docs/html/classes/mapping_GroupLayerExtension.GroupLayerExtension.html +9 -14
- package/docs/html/classes/mapping_GroupLayerExtension.GroupLayerExtensionCollection.html +32 -59
- package/docs/html/classes/mapping_ImageryLayerExtension.ImageryLayerExtension.html +9 -14
- package/docs/html/classes/mapping_ImageryTileLayerExtension.ImageryTileLayerExtension.html +9 -14
- package/docs/html/classes/mapping_IntegratedMeshLayerExtension.IntegratedMeshLayerExtension.html +9 -14
- package/docs/html/classes/mapping_KMLLayerExtension.KMLLayerExtension.html +9 -14
- package/docs/html/classes/mapping_KMLSublayerExtension.KMLSublayerExtension.html +9 -14
- package/docs/html/classes/mapping_MapConstraints.MapConstraints.html +3 -8
- package/docs/html/classes/mapping_MapExtension.MapExtension.html +6 -11
- package/docs/html/classes/mapping_MapImageLayerExtension.MapImageLayerExtension.html +9 -14
- package/docs/html/classes/mapping_MapImageSublayerExtension.MapImageSublayerExtension.html +9 -14
- package/docs/html/classes/mapping_MapNotesLayerExtension.MapNotesLayerExtension.html +9 -14
- package/docs/html/classes/mapping_MapNotesSublayerExtension.MapNotesSublayerExtension.html +9 -14
- package/docs/html/classes/mapping_MapNotesSublayerExtension.MapNotesSublayerExtensionSchema.html +5 -10
- package/docs/html/classes/mapping_MediaLayerExtension.MediaLayerExtension.html +9 -14
- package/docs/html/classes/mapping_OpenStreetMapLayerExtension.OpenStreetMapLayerExtension.html +9 -14
- package/docs/html/classes/mapping_PointCloudLayerExtension.PointCloudLayerExtension.html +9 -14
- package/docs/html/classes/mapping_RouteLayerExtension.RouteLayerExtension.html +9 -14
- package/docs/html/classes/mapping_RouteLayerExtension.RouteLayerExtensionSchema.html +5 -10
- package/docs/html/classes/mapping_SceneLayerExtension.SceneLayerExtension.html +9 -14
- package/docs/html/classes/mapping_StreamLayerExtension.StreamLayerExtension.html +9 -14
- package/docs/html/classes/mapping_StreamLayerExtension.StreamLayerSchema.html +5 -10
- package/docs/html/classes/mapping_SubtypeGroupLayerExtension.SubtypeGroupLayerExtension.html +9 -14
- package/docs/html/classes/mapping_SubtypeGroupLayerExtension.SubtypeGroupLayerRelationshipCollection.html +31 -58
- package/docs/html/classes/mapping_SubtypeGroupLayerExtension.SubtypeGroupLayerSchema.html +5 -10
- package/docs/html/classes/mapping_SubtypeSublayerExtension.SubtypeSublayerExtension.html +9 -14
- package/docs/html/classes/mapping_SubtypeSublayerExtension.SubtypeSublayerRelationshipCollection.html +31 -58
- package/docs/html/classes/mapping_SubtypeSublayerExtension.SubtypeSublayerSchema.html +5 -10
- package/docs/html/classes/mapping_TileLayerExtension.TileLayerExtension.html +9 -14
- package/docs/html/classes/mapping_TileSublayerExtension.TileSublayerExtension.html +9 -14
- package/docs/html/classes/mapping_UnsupportedLayerExtension.UnsupportedLayerExtension.html +9 -14
- package/docs/html/classes/mapping_VectorTileLayerExtension.VectorTileLayerExtension.html +9 -14
- package/docs/html/classes/mapping_WFSLayerExtension.WFSLayerExtension.html +9 -14
- package/docs/html/classes/mapping_WMSLayerExtension.WMSLayerExtension.html +9 -14
- package/docs/html/classes/mapping_WMSSublayerExtension.WMSSublayerExtension.html +9 -14
- package/docs/html/classes/mapping_WMTSLayerExtension.WMTSLayerExtension.html +9 -14
- package/docs/html/classes/mapping_WebTileLayerExtension.WebTileLayerExtension.html +9 -14
- package/docs/html/classes/mapping__LayerExtension.LayerExtension.html +9 -14
- package/docs/html/classes/mapping__LayerExtension.LayerExtensionReadOnlySchema.html +5 -10
- package/docs/html/classes/mapping__LayerExtension.LayerExtensionSchema.html +5 -10
- package/docs/html/classes/mapping__LayerExtensionCollectionImpl.LayerExtensionCollectionImpl.html +32 -59
- package/docs/html/classes/mapping__SublayerExtension.SubSublayerExtensionCollection.html +32 -59
- package/docs/html/classes/mapping__SublayerExtension.SublayerExtension.html +9 -14
- package/docs/html/classes/mapping__SublayerExtension.SublayerSchema.html +5 -10
- package/docs/html/classes/mapping_support_ArrayWrappedCollection.ArrayWrappedCollection.html +31 -58
- package/docs/html/classes/mapping_support_LayerListSettings.ExtensionBaseLayerListSettings.html +3 -8
- package/docs/html/classes/mapping_support_LayerListSettings.LayerListSettings.html +2 -7
- package/docs/html/classes/mapping_support__LayerExtensionCollection.LayerExtensionCollectionBase.html +32 -59
- package/docs/html/classes/mapping_support__SublayerExtensionCollection.SublayerExtensionCollectionBase.html +32 -59
- package/docs/html/classes/menus_Menu.Menu.html +6 -11
- package/docs/html/classes/menus_MenuItem.MenuItem.html +6 -11
- package/docs/html/classes/support_FormatSettings.FormatSettings.html +3 -8
- package/docs/html/classes/support_InitializableBase.InitializableBase.html +4 -9
- package/docs/html/classes/support_InitializableCollectionProxy.InitializableCollectionProxy.html +32 -59
- package/docs/html/classes/support_ReadOnlyInitializableCollection.ReadOnlyInitializableCollection.html +32 -59
- package/docs/html/classes/support_Serializable.SerializableBase.html +5 -60
- package/docs/html/classes/support_Settings.Settings.html +3 -8
- package/docs/html/classes/support__ArcGISRelationshipCollection.ArcGISRelationshipCollection.html +31 -58
- package/docs/html/classes/tasks_geocoding_ArcGISGeocoder.ArcGISGeocoder.html +10 -15
- package/docs/html/classes/tasks_geocoding_Geocoder.Geocoder.html +9 -14
- package/docs/html/classes/tasks_identify_IdentifyService.IdentifyService.html +4 -9
- package/docs/html/classes/tasks_query_ArcGISRelationship.ArcGISRelationship.html +5 -60
- package/docs/html/classes/tasks_query_QueryBasedRelationship.QueryBasedRelationship.html +5 -60
- package/docs/html/classes/tasks_query_QueryError.QueryError.html +1 -7
- package/docs/html/classes/tasks_query_QueryService.QueryService.html +4 -9
- package/docs/html/classes/tasks_search_SearchService.SearchService.html +5 -10
- package/docs/html/classes/utilities_CaseInsensitiveObservableMap.CaseInsensitiveObservableMap.html +4 -35
- package/docs/html/classes/utilities_CollectionProxy.CollectionProxy.html +32 -59
- package/docs/html/classes/utilities_CopyOnWriteCollection.CopyOnWriteCollection.html +31 -58
- package/docs/html/classes/utilities_MapTransformCollection.MapTransformCollection.html +31 -58
- package/docs/html/classes/utilities_ObservableMap.ObservableMap.html +7 -38
- package/docs/html/classes/utilities_ObservableSet.ObservableSet.html +7 -62
- package/docs/html/classes/utilities_ReadOnlyCollection.ReadOnlyCollection.html +31 -58
- package/docs/html/classes/utilities_ReadOnlyMap.ReadOnlyMap.html +7 -38
- package/docs/html/classes/utilities_format_date.DateFormatter.html +5 -60
- package/docs/html/classes/utilities_format_number.NumberFormatter.html +5 -60
- package/docs/html/classes/utilities_format_time.TimeFormatter.html +5 -60
- package/docs/html/hierarchy.html +1 -1
- package/docs/html/interfaces/data_Feature.PresentableAttributes.html +8 -39
- package/docs/html/interfaces/data__Relationship.Relationship-1.html +6 -61
- package/docs/html/interfaces/data_support__dxfInterfaces.SimpleMarkerSymbolDXF.html +2 -2
- package/docs/html/interfaces/support_Serializable.Serializable.html +5 -60
- package/docs/html/modules/locale.html +0 -4
- package/docs/html/modules/support_esri.html +0 -1
- package/docs/html/modules/utilities_collection.html +0 -1
- package/docs/html/modules/utilities_watch.html +1 -4
- package/docs/html/modules.html +0 -4
- package/docs/html/variables/version.version.html +1 -1
- package/layer-preset/LayerPresetSettings.d.ts +1 -1
- package/locale.d.ts +0 -36
- package/locale.js +1 -1
- package/mapping/BuildingSceneLayerExtension.js +1 -1
- package/mapping/_LayerExtension.d.ts +2 -1
- package/mapping/_LayerExtension.js +1 -1
- package/mapping/_SublayerExtension.d.ts +2 -1
- package/mapping/_SublayerExtension.js +1 -1
- package/mapping/support/ArrayWrappedCollection.d.ts +2 -0
- package/mapping/support/ArrayWrappedCollection.js +1 -1
- package/mapping/support/PopupTemplateFeatureSettings.js +1 -1
- package/package.json +1 -1
- package/support/Serializable.d.ts +2 -39
- package/support/Serializable.js +1 -1
- package/support/esri.d.ts +1 -6
- package/support/esri.js +1 -1
- package/support/observableUtils.d.ts +0 -1
- package/support/observableUtils.js +1 -1
- package/tasks/query/QueryError.d.ts +0 -12
- package/tasks/query/QueryError.js +1 -1
- package/utilities/CollectionProxy.d.ts +18 -17
- package/utilities/CollectionProxy.js +1 -1
- package/utilities/ObservableMap.d.ts +2 -31
- package/utilities/ObservableMap.js +1 -1
- package/utilities/ObservableSet.d.ts +1 -38
- package/utilities/ObservableSet.js +1 -1
- package/utilities/ReadOnlyMap.d.ts +1 -14
- package/utilities/ReadOnlyMap.js +1 -1
- package/utilities/collection.d.ts +0 -5
- package/utilities/collection.js +1 -1
- package/utilities/uuid.js +1 -1
- package/utilities/watch.d.ts +0 -49
- package/utilities/watch.js +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/ErrorBase.d.ts +0 -5
- package/ErrorBase.js +0 -1
- package/docs/html/classes/ErrorBase.ErrorBase.html +0 -3
- package/docs/html/classes/support_Observable.Observable.html +0 -53
- package/docs/html/classes/utilities_ObservableWeakSet.ObservableWeakSet.html +0 -77
- package/docs/html/functions/locale.getBestMatchLocale.html +0 -6
- package/docs/html/functions/locale.getRegisteredLocales.html +0 -6
- package/docs/html/functions/locale.isRegistered.html +0 -6
- package/docs/html/functions/locale.load.html +0 -6
- package/docs/html/functions/support_Observable.deprecatedGetPropertyPath.html +0 -7
- package/docs/html/functions/support_Observable.deprecatedNotifyChange.html +0 -5
- package/docs/html/functions/support_Observable.deprecatedSet.html +0 -9
- package/docs/html/functions/support_Observable.deprecatedWatch.html +0 -9
- package/docs/html/functions/support_Observable.deprecatedWatchProperty.html +0 -14
- package/docs/html/functions/support_Observable.getPropertyByPath.html +0 -9
- package/docs/html/functions/utilities_watch.watchCollectionPropertyEach.html +0 -11
- package/docs/html/functions/utilities_watch.watchEach.html +0 -18
- package/docs/html/interfaces/support_Observable.IDeprecatedObservable.html +0 -57
- package/docs/html/modules/ErrorBase.html +0 -2
- package/docs/html/modules/support_Observable.html +0 -9
- package/docs/html/modules/tasks_identify_StreamLayerQueryIdentifyProvider.html +0 -2
- package/docs/html/modules/utilities_ObservableWeakSet.html +0 -2
- package/docs/html/types/utilities_watch.WatchCallback.html +0 -3
- package/docs/html/variables/support_esri.Evented.html +0 -2
- package/docs/html/variables/tasks_identify_StreamLayerQueryIdentifyProvider.StreamLayerQueryIdentifyProvider.html +0 -1
- package/docs/html/variables/utilities_collection.Collection.html +0 -2
- package/locale/_localeDeprecation.d.ts +0 -1
- package/locale/_localeDeprecation.js +0 -1
- package/locale/af.d.ts +0 -1
- package/locale/af.js +0 -1
- package/locale/ar-MA.d.ts +0 -1
- package/locale/ar-MA.js +0 -1
- package/locale/ar-SA.d.ts +0 -1
- package/locale/ar-SA.js +0 -1
- package/locale/ar-TN.d.ts +0 -1
- package/locale/ar-TN.js +0 -1
- package/locale/ar.d.ts +0 -1
- package/locale/ar.js +0 -1
- package/locale/az.d.ts +0 -1
- package/locale/az.js +0 -1
- package/locale/be.d.ts +0 -1
- package/locale/be.js +0 -1
- package/locale/bg.d.ts +0 -1
- package/locale/bg.js +0 -1
- package/locale/bn.d.ts +0 -1
- package/locale/bn.js +0 -1
- package/locale/bs.d.ts +0 -1
- package/locale/bs.js +0 -1
- package/locale/ca.d.ts +0 -1
- package/locale/ca.js +0 -1
- package/locale/core.d.ts +0 -79
- package/locale/core.js +0 -1
- package/locale/cs.d.ts +0 -1
- package/locale/cs.js +0 -1
- package/locale/cv.d.ts +0 -1
- package/locale/cv.js +0 -1
- package/locale/cy.d.ts +0 -1
- package/locale/cy.js +0 -1
- package/locale/da.d.ts +0 -1
- package/locale/da.js +0 -1
- package/locale/de-AT.d.ts +0 -1
- package/locale/de-AT.js +0 -1
- package/locale/de.d.ts +0 -1
- package/locale/de.js +0 -1
- package/locale/el.d.ts +0 -1
- package/locale/el.js +0 -1
- package/locale/en-AU.d.ts +0 -1
- package/locale/en-AU.js +0 -1
- package/locale/en-CA.d.ts +0 -1
- package/locale/en-CA.js +0 -1
- package/locale/en-GB.d.ts +0 -1
- package/locale/en-GB.js +0 -1
- package/locale/en.d.ts +0 -1
- package/locale/en.js +0 -1
- package/locale/es.d.ts +0 -1
- package/locale/es.js +0 -1
- package/locale/et.d.ts +0 -1
- package/locale/et.js +0 -1
- package/locale/eu.d.ts +0 -1
- package/locale/eu.js +0 -1
- package/locale/fa.d.ts +0 -1
- package/locale/fa.js +0 -1
- package/locale/fi.d.ts +0 -1
- package/locale/fi.js +0 -1
- package/locale/fo.d.ts +0 -1
- package/locale/fo.js +0 -1
- package/locale/fr-CA.d.ts +0 -1
- package/locale/fr-CA.js +0 -1
- package/locale/fr.d.ts +0 -1
- package/locale/fr.js +0 -1
- package/locale/gl.d.ts +0 -1
- package/locale/gl.js +0 -1
- package/locale/he.d.ts +0 -1
- package/locale/he.js +0 -1
- package/locale/hi.d.ts +0 -1
- package/locale/hi.js +0 -1
- package/locale/hr.d.ts +0 -1
- package/locale/hr.js +0 -1
- package/locale/hu.d.ts +0 -1
- package/locale/hu.js +0 -1
- package/locale/hy.d.ts +0 -1
- package/locale/hy.js +0 -1
- package/locale/id.d.ts +0 -1
- package/locale/id.js +0 -1
- package/locale/inv.d.ts +0 -1
- package/locale/inv.js +0 -1
- package/locale/is.d.ts +0 -1
- package/locale/is.js +0 -1
- package/locale/it.d.ts +0 -1
- package/locale/it.js +0 -1
- package/locale/ja.d.ts +0 -1
- package/locale/ja.js +0 -1
- package/locale/ka.d.ts +0 -1
- package/locale/ka.js +0 -1
- package/locale/km.d.ts +0 -1
- package/locale/km.js +0 -1
- package/locale/ko.d.ts +0 -1
- package/locale/ko.js +0 -1
- package/locale/lt.d.ts +0 -1
- package/locale/lt.js +0 -1
- package/locale/lv.d.ts +0 -1
- package/locale/lv.js +0 -1
- package/locale/mk.d.ts +0 -1
- package/locale/mk.js +0 -1
- package/locale/ml.d.ts +0 -1
- package/locale/ml.js +0 -1
- package/locale/mr.d.ts +0 -1
- package/locale/mr.js +0 -1
- package/locale/ms-MY.d.ts +0 -1
- package/locale/ms-MY.js +0 -1
- package/locale/ms.d.ts +0 -1
- package/locale/ms.js +0 -1
- package/locale/my.d.ts +0 -1
- package/locale/my.js +0 -1
- package/locale/nb.d.ts +0 -1
- package/locale/nb.js +0 -1
- package/locale/ne.d.ts +0 -1
- package/locale/ne.js +0 -1
- package/locale/nl.d.ts +0 -1
- package/locale/nl.js +0 -1
- package/locale/nn.d.ts +0 -1
- package/locale/nn.js +0 -1
- package/locale/no.d.ts +0 -1
- package/locale/no.js +0 -1
- package/locale/pl.d.ts +0 -1
- package/locale/pl.js +0 -1
- package/locale/pt-BR.d.ts +0 -1
- package/locale/pt-BR.js +0 -1
- package/locale/pt.d.ts +0 -1
- package/locale/pt.js +0 -1
- package/locale/ro.d.ts +0 -1
- package/locale/ro.js +0 -1
- package/locale/ru.d.ts +0 -1
- package/locale/ru.js +0 -1
- package/locale/si.d.ts +0 -1
- package/locale/si.js +0 -1
- package/locale/sk.d.ts +0 -1
- package/locale/sk.js +0 -1
- package/locale/sl.d.ts +0 -1
- package/locale/sl.js +0 -1
- package/locale/sq.d.ts +0 -1
- package/locale/sq.js +0 -1
- package/locale/sr-Cyrl.d.ts +0 -1
- package/locale/sr-Cyrl.js +0 -1
- package/locale/sr-ME.d.ts +0 -1
- package/locale/sr-ME.js +0 -1
- package/locale/sr.d.ts +0 -1
- package/locale/sr.js +0 -1
- package/locale/sv.d.ts +0 -1
- package/locale/sv.js +0 -1
- package/locale/ta.d.ts +0 -1
- package/locale/ta.js +0 -1
- package/locale/th.d.ts +0 -1
- package/locale/th.js +0 -1
- package/locale/tl.d.ts +0 -1
- package/locale/tl.js +0 -1
- package/locale/tr.d.ts +0 -1
- package/locale/tr.js +0 -1
- package/locale/tzm-Latn.d.ts +0 -1
- package/locale/tzm-Latn.js +0 -1
- package/locale/tzm.d.ts +0 -1
- package/locale/tzm.js +0 -1
- package/locale/uk.d.ts +0 -1
- package/locale/uk.js +0 -1
- package/locale/uz.d.ts +0 -1
- package/locale/uz.js +0 -1
- package/locale/vi.d.ts +0 -1
- package/locale/vi.js +0 -1
- package/locale/zh-TW.d.ts +0 -1
- package/locale/zh-TW.js +0 -1
- package/locale/zh.d.ts +0 -1
- package/locale/zh.js +0 -1
- package/support/Observable.d.ts +0 -242
- package/support/Observable.js +0 -1
- package/tasks/identify/StreamLayerQueryIdentifyProvider.d.ts +0 -2
- package/tasks/identify/StreamLayerQueryIdentifyProvider.js +0 -1
- package/utilities/ObservableWeakSet.d.ts +0 -52
- package/utilities/ObservableWeakSet.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{format as r}from"../../utilities/format/string.js";
|
|
1
|
+
import{format as r}from"../../utilities/format/string.js";export class QueryError extends Error{errors;constructor(o,s,...e){super(s&&r(s,...e)||"One or more sources could not be queried."),this.name="QueryError",this.errors=new Map;for(const r of o){if("errors"in r){for(const[o,s]of r.errors)this.errors.set(o,s);continue}const[o,s]=r;if(Array.isArray(o))for(const r of o)this.errors.set(r,s);else this.errors.set(o,s)}}}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import type Collection from "@arcgis/core/core/Collection";
|
|
2
2
|
import Evented from "@arcgis/core/core/Evented.js";
|
|
3
|
-
import { type IDeprecatedObservable } from "../support/Observable.js";
|
|
4
3
|
import type { ItemCallback, ItemCompareCallback, ItemMapCallback, ItemReduceCallback, ItemTestCallback, CollectionAfterAddEventHandler, CollectionChangeEventHandler, CollectionAfterChangesEventHandler, CollectionAfterRemoveEventHandler, CollectionBeforeAddEventHandler, CollectionBeforeChangesEventHandler, CollectionBeforeRemoveEventHandler, EventHandler } from "../support/esri.js";
|
|
5
|
-
import type { WatchCallback } from "./watch.js";
|
|
6
4
|
/**
|
|
7
5
|
* Merge typings of Collection and CollectionProxy.
|
|
8
6
|
*/
|
|
@@ -18,7 +16,7 @@ declare const CollectionProxy_base: typeof Evented & (abstract new (...args: any
|
|
|
18
16
|
* that need to implement special add/remove logic only need to override those
|
|
19
17
|
* methods.
|
|
20
18
|
*/
|
|
21
|
-
export declare abstract class CollectionProxy<T> extends CollectionProxy_base implements Omit<Collection<T>, "notifyChange"
|
|
19
|
+
export declare abstract class CollectionProxy<T> extends CollectionProxy_base implements Omit<Collection<T>, "notifyChange"> {
|
|
22
20
|
private readonly _handles;
|
|
23
21
|
/**
|
|
24
22
|
* The number of items in the collection.
|
|
@@ -330,46 +328,49 @@ export declare abstract class CollectionProxy<T> extends CollectionProxy_base im
|
|
|
330
328
|
*/
|
|
331
329
|
unshift(item: T): number;
|
|
332
330
|
/**
|
|
333
|
-
* @deprecated
|
|
331
|
+
* @deprecated - Unsupported on CollectionProxy.
|
|
334
332
|
* @inheritdoc
|
|
335
333
|
*/
|
|
336
334
|
set<T>(propertyPath: string, value: T): this;
|
|
337
335
|
/**
|
|
338
|
-
* @deprecated
|
|
336
|
+
* @deprecated - Unsupported on CollectionProxy.
|
|
339
337
|
* @inheritdoc
|
|
340
338
|
*/
|
|
341
339
|
set(properties: HashMap<unknown>): this;
|
|
342
340
|
/**
|
|
343
|
-
* @deprecated
|
|
341
|
+
* @deprecated - Unsupported on CollectionProxy.
|
|
344
342
|
* @inheritdoc
|
|
345
343
|
*/
|
|
346
344
|
get<T>(propertyPath: string): T;
|
|
347
345
|
/**
|
|
348
|
-
* @deprecated
|
|
346
|
+
* @deprecated - Unsupported on CollectionProxy.
|
|
349
347
|
* @inheritdoc
|
|
350
348
|
*/
|
|
351
349
|
get(propertyPath: string): unknown;
|
|
352
350
|
/**
|
|
353
|
-
* @deprecated
|
|
351
|
+
* @deprecated - Unsupported on CollectionProxy.
|
|
354
352
|
* @inheritdoc
|
|
355
353
|
*/
|
|
356
|
-
watch(path: string | string[], callback:
|
|
354
|
+
watch(path: string | string[], callback: (newValue: any, oldValue: any, propertyName: string, target: any) => void, sync?: boolean): IHandle;
|
|
355
|
+
addHandles<T>(handles: IHandle | IHandle[], groupKey?: GroupKey<T>): void;
|
|
356
|
+
removeHandles<T>(groupKey?: GroupKey<T>): void;
|
|
357
|
+
hasHandles<T>(groupKey?: GroupKey<T>): boolean;
|
|
357
358
|
/**
|
|
358
|
-
* @deprecated
|
|
359
|
+
* @deprecated - Unsupported on CollectionProxy.
|
|
359
360
|
* @inheritdoc
|
|
360
361
|
*/
|
|
361
|
-
notifyChange(propertyKey: string): void;
|
|
362
|
-
notifyChange(propertyKey: keyof this): void;
|
|
362
|
+
protected notifyChange(propertyKey: string): void;
|
|
363
|
+
protected notifyChange(propertyKey: keyof this): void;
|
|
363
364
|
/**
|
|
364
|
-
* @deprecated
|
|
365
|
+
* @deprecated - Unsupported on CollectionProxy.
|
|
365
366
|
* @inheritdoc
|
|
366
367
|
*/
|
|
367
|
-
_watchProperty(propertyKey: keyof this, subpath: string, callback: WatchCallback, sync: boolean): IHandle;
|
|
368
|
-
addHandles<T>(handles: IHandle | IHandle[], groupKey?: GroupKey<T>): void;
|
|
369
|
-
removeHandles<T>(groupKey?: GroupKey<T>): void;
|
|
370
|
-
hasHandles<T>(groupKey?: GroupKey<T>): boolean;
|
|
371
368
|
protected _get(propertyName: string): any;
|
|
372
369
|
protected _get<T>(propertyName: string): T;
|
|
370
|
+
/**
|
|
371
|
+
* @deprecated - Unsupported on CollectionProxy.
|
|
372
|
+
* @inheritdoc
|
|
373
|
+
*/
|
|
373
374
|
protected _set<T>(propertyName: string, value: T): this;
|
|
374
375
|
private _addForwardingEvents;
|
|
375
376
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import t from"@arcgis/core/core/Evented.js";import{notifyChange as e,observable as o,onWatch as i,watch as n}from"../support/observableUtils.js";import{_generateChangeEvent as r}from"./collection.js";const s="collection-proxy-collection-change-handles";export class CollectionProxy extends(o(t)){_handles=new Map;get length(){return this._collection.length}get declaredClass(){return"esri.core.Collection"}get destroyed(){return this._destroyed}set destroyed(t){this._destroyed=t}get initialized(){return this._initialized}set initialized(t){this._initialized=t}get _collection(){if(void 0===this._collectionField)throw new Error("CollectionProxy requires a backing collection.");return this._collectionField}set _collection(t){if(this._collectionField===t)return;const o=this._collectionField;this.removeHandles(s);const i=r(o,t);if(null!=i){for(const t of i.added){const e={item:t,cancellable:!1,defaultPrevented:!1,preventDefault:()=>{},target:this};this.emit("before-add",e)}for(const t of i.removed){const e={item:t,cancellable:!1,defaultPrevented:!1,preventDefault:()=>{},target:this};this.emit("before-remove",e)}this.emit("before-changes",{cancellable:!1,defaultPrevented:!1,preventDefault:()=>{},target:this})}if(this._collectionField=t,this._addForwardingEvents(),null!=i){this.emit("change",i);for(const t of i.added)this.emit("after-add",{item:t,target:this});for(const t of i.removed)this.emit("after-remove",{item:t,target:this});this.emit("after-changes")}e(this,"length")}_destroyed=!1;_initialized=!0;_collectionField;constructor(t){super(),this._collectionField=t,this._addForwardingEvents()}*[Symbol.iterator](){for(const t of this._collection)yield t}add(t,e){return this._collection.add(t,e),this}addMany(t,e){if(!t)return this;if(arguments.length>1){let o=e;for(let e=0;e<t.length;e++)"function"==typeof t.getItemAt?this.add(t.getItemAt(e),o++):this.add(t[e],o++)}else for(let e=0;e<t.length;e++)"function"==typeof t.getItemAt?this.add(t.getItemAt(e)):this.add(t[e]);return this}clone(){const t=Object.create(Object.getPrototypeOf(this));return t._collection=this._collection,t}concat(t){return this._collection.concat(t)}destroy(){this.removeHandles(),this._destroyed=!0,this._initialized=!1,this._collection.destroy()}every(t){return this._collection.every(t)}filter(t){return this._collection.filter(t)}find(t){return this._collection.find(t)}findIndex(t){return this._collection.findIndex(t)}flatten(t){return this._collection.flatten(t)}forEach(t){return this._collection.forEach(t)}at(t){return this.getItemAt(t)}getItemAt(t){return this._collection.getItemAt(t)}includes(t){return this._collection.includes(t)}indexOf(t,e){return this._collection.indexOf(t,e)}join(t){return this._collection.join(t)}lastIndexOf(t,e){return this._collection.lastIndexOf(t,e)}map(t){return this._collection.map(t)}on(t,e){return super.on(t,e)}pop(){return this.removeAt(this.length-1)}push(t){return this.add(t,this.length),this.length}reduce(t,e){return this._collection.reduce(t,e)}reduceRight(t,e){return this._collection.reduceRight(t,e)}remove(t){return this.removeAt(this.indexOf(t))}removeAll(){const t=[];for(;this.length;){const e=this.pop();e&&t.push(e)}return t}removeAt(t){return this._collection.removeAt(t)}removeMany(t){const e=[];for(let o=0;o<t.length;o++){const i="function"==typeof t.getItemAt?t.getItemAt(o):t[o],n=this.indexOf(i);if(n>=0){const t=this.removeAt(n);t&&e.push(t)}}return e}reorder(t,e){return this._collection.reorder(t,e)}reverse(){return this._collection.reverse(),this}shift(){return this.removeAt(0)}slice(t,e){return this._collection.slice(t,e)}some(t){return this._collection.some(t)}sort(t){return this._collection.sort(t),this}splice(t,e,...o){const i=[];for(let o=e;o>0;o--){const e=this.removeAt(t);e&&i.push(e)}let n=t;return o.forEach((t=>{this.add(t,n),n++})),i}toArray(){return this._collection.toArray()}unshift(t){return this.add(t,0),this.length}set(t,e){throw new Error("set is not supported on CollectionProxy.")}get(t){throw new Error("get is not supported on CollectionProxy.")}watch(t,e,o){throw new Error("watch is not supported on CollectionProxy. Use watch from @vertigis/arcgis-extensions/support/observableUtils instead.")}addHandles(t,e){const o=Array.isArray(t)?t:[t],i=e??"default";this._handles.has(i)||this._handles.set(i,[]),this._handles.get(i).push(...o)}removeHandles(t){if(null==t)for(const t of this._handles.values())for(const e of t)e.remove();else{const e=this._handles.get(t);if(null!=e){for(const t of e)t.remove();this._handles.delete(t)}}}hasHandles(t){return null==t?this._handles.size>0:this._handles.has(t)}notifyChange(t){throw new Error("notifyChange is not supported on CollectionProxy.")}_get(t){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){const o=t.split(".");let i=this;for(;i&&"object"==typeof i&&o.length>1;)i=i[o.shift()];return i&&"object"==typeof i&&(i[o[0]]=e),this}_addForwardingEvents(){null!=this._collectionField&&this.addHandles([this._collectionField.on("before-add",(t=>this.emit("before-add",t))),this._collectionField.on("before-changes",(t=>this.emit("before-changes",t))),this._collectionField.on("before-remove",(t=>this.emit("before-remove",t))),this._collectionField.on("change",(t=>this.emit("change",t))),this._collectionField.on("after-add",(t=>this.emit("after-add",t))),this._collectionField.on("after-changes",(t=>this.emit("after-changes",t))),this._collectionField.on("after-remove",(t=>this.emit("after-remove",t))),i(this,"length",(()=>n(this._collectionField,"length",(()=>e(this,"length")),{sync:!0})))],s)}}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import Evented from "@arcgis/core/core/Evented.js";
|
|
2
|
-
import { type IDeprecatedObservable } from "../support/Observable.js";
|
|
3
2
|
import type { EventHandler } from "../support/esri.js";
|
|
4
3
|
import type { AfterItemChangeEvent } from "./collection.js";
|
|
5
|
-
import type { WatchCallback } from "./watch.js";
|
|
6
4
|
/**
|
|
7
5
|
* Raised when items are added or removed from an {@link ObservableMap}.
|
|
8
6
|
*/
|
|
@@ -24,7 +22,7 @@ declare const ObservableMap_base: typeof Evented & (abstract new (...args: any[]
|
|
|
24
22
|
/**
|
|
25
23
|
* A Map that supports observability.
|
|
26
24
|
*/
|
|
27
|
-
export declare class ObservableMap<K, V> extends ObservableMap_base implements Map<K, V
|
|
25
|
+
export declare class ObservableMap<K, V> extends ObservableMap_base implements Map<K, V> {
|
|
28
26
|
/**
|
|
29
27
|
* Used by Object.toString().
|
|
30
28
|
*/
|
|
@@ -56,11 +54,7 @@ export declare class ObservableMap<K, V> extends ObservableMap_base implements M
|
|
|
56
54
|
* @param thisArg Value to use as `this` when executing callback.
|
|
57
55
|
*/
|
|
58
56
|
forEach(callbackfn: (value: V, key: K, map: Map<K, V>) => void, thisArg?: unknown): void;
|
|
59
|
-
get(key: K): V;
|
|
60
|
-
/**
|
|
61
|
-
* @deprecated
|
|
62
|
-
*/
|
|
63
|
-
get(property: unknown): unknown;
|
|
57
|
+
get(key: K): V | undefined;
|
|
64
58
|
/**
|
|
65
59
|
* Indicates whether or not an element with the specified key exists.
|
|
66
60
|
*
|
|
@@ -68,14 +62,6 @@ export declare class ObservableMap<K, V> extends ObservableMap_base implements M
|
|
|
68
62
|
*/
|
|
69
63
|
has(key: K): boolean;
|
|
70
64
|
set(key: K, value: V): this;
|
|
71
|
-
/**
|
|
72
|
-
* @deprecated
|
|
73
|
-
*/
|
|
74
|
-
set(property: unknown, value: unknown): this;
|
|
75
|
-
/**
|
|
76
|
-
* @deprecated
|
|
77
|
-
*/
|
|
78
|
-
set(properties: unknown): this;
|
|
79
65
|
/**
|
|
80
66
|
* Returns the `[key, value]` pairs for each element in the map in insertion
|
|
81
67
|
* order.
|
|
@@ -102,20 +88,5 @@ export declare class ObservableMap<K, V> extends ObservableMap_base implements M
|
|
|
102
88
|
on(name: "after-add", callback: (event: AfterItemChangeEvent<ObservableMap<K, V>, [K, V]>) => void): IHandle;
|
|
103
89
|
on(name: "after-remove", callback: (event: AfterItemChangeEvent<ObservableMap<K, V>, [K, V]>) => void): IHandle;
|
|
104
90
|
on(name: string, callback: EventHandler): IHandle;
|
|
105
|
-
/**
|
|
106
|
-
* @deprecated
|
|
107
|
-
* @inheritdoc
|
|
108
|
-
*/
|
|
109
|
-
watch(path: string | string[], callback: WatchCallback, sync?: boolean): IHandle;
|
|
110
|
-
/**
|
|
111
|
-
* @deprecated
|
|
112
|
-
* @inheritdoc
|
|
113
|
-
*/
|
|
114
|
-
notifyChange(propertyKey: keyof this): void;
|
|
115
|
-
/**
|
|
116
|
-
* @deprecated
|
|
117
|
-
* @inheritdoc
|
|
118
|
-
*/
|
|
119
|
-
_watchProperty(propertyKey: keyof this, subpath: string, callback: WatchCallback, sync: boolean): IHandle;
|
|
120
91
|
}
|
|
121
92
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import t from"@arcgis/core/core/Evented.js";import{
|
|
1
|
+
import t from"@arcgis/core/core/Evented.js";import{notifyChange as e,observable as i}from"../support/observableUtils.js";import{toJSON as r}from"./object.js";export class ObservableMap extends(i(t)){[Symbol.toStringTag]="ObservableMap";get size(){return this._originalMap.size}_originalMap;constructor(){super(),this._originalMap=new Map}clear(){if(!this.size)return;const t=Array.from(this.entries());if(this._originalMap.clear(),e(this,"size"),this.hasEventListener("after-remove"))for(const[e,i]of t)this.emit("after-remove",{item:[e,i],target:this});this.emit("change",{added:[],removed:t,target:this})}delete(t){if(!this.has(t))return!1;const i=this.get(t);return this._originalMap.delete(t),e(this,"size"),this.emit("after-remove",{item:[t,i],target:this}),this.emit("change",{added:[],removed:[[t,i]],target:this}),!0}forEach(t,e){this._originalMap.forEach(t,e)}get(t){return this._originalMap.get(t)}has(t){return this._originalMap.has(t)}set(t,i){const r=!this.has(t),s=this.get(t);return this._originalMap.set(t,i),e(this,"size"),r||this.emit("after-remove",{item:[t,s],target:this}),this.emit("after-add",{item:[t,i],target:this}),this.emit("change",{added:[[t,i]],removed:r?[]:[[t,s]],target:this}),this}entries(){return this._originalMap.entries()}keys(){return this._originalMap.keys()}values(){return this._originalMap.values()}[Symbol.iterator](){return this._originalMap[Symbol.iterator]()}toJSON(){return r([...this])}on(t,e){return super.on(t,e)}}
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
import Evented from "@arcgis/core/core/Evented.js";
|
|
2
|
-
import { type IDeprecatedObservable } from "../support/Observable.js";
|
|
3
2
|
import type { EventHandler } from "../support/esri.js";
|
|
4
3
|
import type { AfterItemChangeEvent, ChangeEvent } from "./collection.js";
|
|
5
|
-
import type { WatchCallback } from "./watch.js";
|
|
6
4
|
declare const ObservableSet_base: typeof Evented & (abstract new (...args: any[]) => import("../support/observableUtils.js").ObservableMixin);
|
|
7
5
|
/**
|
|
8
6
|
* A Set that supports observability.
|
|
9
7
|
*/
|
|
10
|
-
export declare class ObservableSet<T> extends ObservableSet_base implements Set<T
|
|
8
|
+
export declare class ObservableSet<T> extends ObservableSet_base implements Set<T> {
|
|
11
9
|
/**
|
|
12
10
|
* Used by Object.toString().
|
|
13
11
|
*/
|
|
@@ -88,40 +86,5 @@ export declare class ObservableSet<T> extends ObservableSet_base implements Set<
|
|
|
88
86
|
on(name: "after-add", callback: (event: AfterItemChangeEvent<this, T>) => void): IHandle;
|
|
89
87
|
on(name: "after-remove", callback: (event: AfterItemChangeEvent<this, T>) => void): IHandle;
|
|
90
88
|
on(name: string, callback: EventHandler): IHandle;
|
|
91
|
-
/**
|
|
92
|
-
* @deprecated
|
|
93
|
-
* @inheritdoc
|
|
94
|
-
*/
|
|
95
|
-
set<T>(propertyPath: string, value: T): this;
|
|
96
|
-
/**
|
|
97
|
-
* @deprecated
|
|
98
|
-
* @inheritdoc
|
|
99
|
-
*/
|
|
100
|
-
set(properties: HashMap<unknown>): this;
|
|
101
|
-
/**
|
|
102
|
-
* @deprecated
|
|
103
|
-
* @inheritdoc
|
|
104
|
-
*/
|
|
105
|
-
get<T>(propertyPath: string): T;
|
|
106
|
-
/**
|
|
107
|
-
* @deprecated
|
|
108
|
-
* @inheritdoc
|
|
109
|
-
*/
|
|
110
|
-
get(propertyPath: string): unknown;
|
|
111
|
-
/**
|
|
112
|
-
* @deprecated
|
|
113
|
-
* @inheritdoc
|
|
114
|
-
*/
|
|
115
|
-
watch(path: string | string[], callback: WatchCallback, sync?: boolean): IHandle;
|
|
116
|
-
/**
|
|
117
|
-
* @deprecated
|
|
118
|
-
* @inheritdoc
|
|
119
|
-
*/
|
|
120
|
-
notifyChange(propertyKey: keyof this): void;
|
|
121
|
-
/**
|
|
122
|
-
* @deprecated
|
|
123
|
-
* @inheritdoc
|
|
124
|
-
*/
|
|
125
|
-
_watchProperty(propertyKey: keyof this, subpath: string, callback: WatchCallback, sync: boolean): IHandle;
|
|
126
89
|
}
|
|
127
90
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import t from"@arcgis/core/core/Evented.js";import{
|
|
1
|
+
import t from"@arcgis/core/core/Evented.js";import{notifyChange as e,observable as i}from"../support/observableUtils.js";import{toJSON as r}from"./object.js";export class ObservableSet extends(i(t)){[Symbol.toStringTag]="ObservableSet";get size(){return this._originalSet.size}_originalSet;constructor(){super(),this._originalSet=new Set}add(t){return this.has(t)||(this._originalSet.add(t),e(this,"size"),this.emit("after-add",{item:t,target:this}),this.emit("change",{added:[t],removed:[],moved:[],target:this})),this}addMany(t){const i=[];for(const e of t)this.has(e)||(i.push(e),this._originalSet.add(e));if(i.length){if(e(this,"size"),this.hasEventListener("after-add"))for(const t of i)this.emit("after-add",{item:t,target:this});this.emit("change",{added:i,removed:[],moved:[],target:this})}return this}clear(){if(!this.size)return;const t=Array.from(this.values());if(this._originalSet.clear(),e(this,"size"),this.hasEventListener("after-remove"))for(const e of t)this.emit("after-remove",{item:e,target:this});this.emit("change",{added:[],removed:t,moved:[],target:this})}delete(t){return!!this.has(t)&&(this._originalSet.delete(t),e(this,"size"),this.emit("after-remove",{item:t,target:this}),this.emit("change",{added:[],removed:[t],moved:[],target:this}),!0)}deleteMany(t){const i=[];for(const e of t)this.has(e)&&(i.push(e),this._originalSet.delete(e));if(i.length){if(e(this,"size"),this.hasEventListener("after-remove"))for(const t of i)this.emit("after-remove",{item:t,target:this});this.emit("change",{added:[],removed:i,moved:[],target:this})}return!!i.length}forEach(t,e){this._originalSet.forEach(t,e)}has(t){return this._originalSet.has(t)}entries(){return this._originalSet.entries()}keys(){return this._originalSet.keys()}values(){return this._originalSet.values()}[Symbol.iterator](){return this._originalSet[Symbol.iterator]()}toJSON(){return r([...this.values()])}on(t,e){return super.on(t,e)}}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import type { EventHandler } from "../support/esri.js";
|
|
2
2
|
import { ObservableMap, type MapChangeEvent } from "./ObservableMap.js";
|
|
3
3
|
import type { AfterItemChangeEvent } from "./collection.js";
|
|
4
|
-
import type { WatchCallback } from "./watch.js";
|
|
5
4
|
/**
|
|
6
5
|
* A map that is read-only and delegates operations to an underlying
|
|
7
6
|
* {@link ObservableMap}.
|
|
@@ -19,21 +18,9 @@ export declare class ReadOnlyMap<K, V> extends ObservableMap<K, V> {
|
|
|
19
18
|
emit(type: string, event?: unknown): boolean;
|
|
20
19
|
clear(): void;
|
|
21
20
|
delete(key: K): boolean;
|
|
22
|
-
set(
|
|
23
|
-
set(properties: unknown): this;
|
|
24
|
-
set(key: K, value?: V): this;
|
|
21
|
+
set(key: K, value: V): this;
|
|
25
22
|
on(name: "change", callback: (event: MapChangeEvent<K, V>) => void): IHandle;
|
|
26
23
|
on(name: "after-add", callback: (event: AfterItemChangeEvent<ObservableMap<K, V>, [K, V]>) => void): IHandle;
|
|
27
24
|
on(name: "after-remove", callback: (event: AfterItemChangeEvent<ObservableMap<K, V>, [K, V]>) => void): IHandle;
|
|
28
25
|
on(name: string, callback: EventHandler): IHandle;
|
|
29
|
-
/**
|
|
30
|
-
* @deprecated
|
|
31
|
-
* @inheritdoc
|
|
32
|
-
*/
|
|
33
|
-
notifyChange(propertyKey: keyof this): void;
|
|
34
|
-
/**
|
|
35
|
-
* @deprecated
|
|
36
|
-
* @inheritdoc
|
|
37
|
-
*/
|
|
38
|
-
watch(path: string | string[], callback: WatchCallback, sync?: boolean): IHandle;
|
|
39
26
|
}
|
package/utilities/ReadOnlyMap.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{InvalidOperationError as
|
|
1
|
+
import{InvalidOperationError as r}from"../InvalidOperationError.js";import{notifyChange as i,onWatch as e,watch as s}from"../support/observableUtils.js";import{ObservableMap as t}from"./ObservableMap.js";const o="This map is read-only.";export class ReadOnlyMap extends t{constructor(r){super(),this._originalMap=r,e(this,"size",(()=>s(this._originalMap,"size",(()=>i(this,"size")),{sync:!0})))}emit(r,i){return this._originalMap.emit(r,i)}clear(){throw new r(o)}delete(i){throw new r(o)}set(){throw new r(o)}on(r,i){return this._originalMap.on(r,i)}}
|
|
@@ -1,11 +1,6 @@
|
|
|
1
1
|
import Collection from "@arcgis/core/core/Collection";
|
|
2
2
|
import type { ChangeEvent } from "../support/esri.js";
|
|
3
3
|
import type { CompareOptions } from "./array.js";
|
|
4
|
-
/**
|
|
5
|
-
* @deprecated Use "@arcgis/core/core/Collection" instead.
|
|
6
|
-
*/
|
|
7
|
-
declare const DeprecatedCollection: typeof Collection;
|
|
8
|
-
export { DeprecatedCollection as Collection };
|
|
9
4
|
export type { CompareOptions, ChangeEvent };
|
|
10
5
|
/**
|
|
11
6
|
* Raised when items are added or removed from a collection like object.
|
package/utilities/collection.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import e from"@arcgis/core/core/Collection";import{compare as r,compareAsync as t}from"./array.js";
|
|
1
|
+
import e from"@arcgis/core/core/Collection";import{compare as r,compareAsync as t}from"./array.js";export function compare(e,t,n){return r(e,t,n)}export async function compareAsync(e,r,n){return t(e,r,n)}export function _generateChangeEvent(r,t){const n=t??new e,o=r??new e,c=n,a=n.filter((e=>o.includes(e))),i=o.filter((e=>n.includes(e))),d={added:n.filter((e=>!o.includes(e))).toArray(),removed:o.filter((e=>!n.includes(e))).toArray(),moved:a.filter(((e,r)=>i.indexOf(e)!==r)).toArray(),target:c};if(d.added.length||d.removed.length||d.moved.length)return d}
|
package/utilities/uuid.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export function generateUuid(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(x=>{const r=16*Math.random()|0;return("x"===x?r:3&r|8).toString(16)}))}
|
|
1
|
+
export function generateUuid(){return"undefined"!=typeof crypto&&crypto.randomUUID?crypto.randomUUID():"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(x=>{const r=16*Math.random()|0;return("x"===x?r:3&r|8).toString(16)}))}
|
package/utilities/watch.d.ts
CHANGED
|
@@ -1,17 +1,7 @@
|
|
|
1
|
-
import type Accessor from "@arcgis/core/core/Accessor";
|
|
2
1
|
import type Collection from "@arcgis/core/core/Collection";
|
|
3
2
|
import type Evented from "@arcgis/core/core/Evented";
|
|
4
|
-
import type { Observable as DeprecatedObservable } from "../support/Observable.js";
|
|
5
3
|
import type { ChangeEventCallback, EventHandler } from "../support/esri.js";
|
|
6
4
|
import { type Observable } from "../support/observableUtils.js";
|
|
7
|
-
import type { ObservableMap } from "./ObservableMap.js";
|
|
8
|
-
/**
|
|
9
|
-
* A callback that gets invoked by esri's `watch` on classes that inherit from
|
|
10
|
-
* Accessor to notify observers about property changes.
|
|
11
|
-
*
|
|
12
|
-
* @deprecated
|
|
13
|
-
*/
|
|
14
|
-
export type WatchCallback<T = any, U = any> = (newValue: T, oldValue: T, propertyName: string, target: U) => void;
|
|
15
5
|
/**
|
|
16
6
|
* Listens for an event on each item in a collection.
|
|
17
7
|
*
|
|
@@ -20,45 +10,6 @@ export type WatchCallback<T = any, U = any> = (newValue: T, oldValue: T, propert
|
|
|
20
10
|
* @param callback The callback to invoke.
|
|
21
11
|
*/
|
|
22
12
|
export declare function onEach<T extends Evented>(collection: Collection<T>, eventType: string, callback: ChangeEventCallback<T>): IHandle;
|
|
23
|
-
/**
|
|
24
|
-
* Watches a property on each item in a collection.
|
|
25
|
-
*
|
|
26
|
-
* @deprecated Use {@link support/observableUtils!watch} instead.
|
|
27
|
-
* @param collection The collection of items to watch.
|
|
28
|
-
* @param path The property path to watch on each item.
|
|
29
|
-
* @param callback The callback to invoke. Note that the item that changed is
|
|
30
|
-
* passed as the last parameter of the callback (target).
|
|
31
|
-
* @param sync Whether to invoke the callback synchronously. The default is
|
|
32
|
-
* `false`.
|
|
33
|
-
*/
|
|
34
|
-
export declare function watchEach<T extends Observable, U = unknown>(collection: Collection<T> | ObservableMap<unknown, T>, path: string | string[], callback: WatchCallback<U, T>, sync?: boolean): IHandle;
|
|
35
|
-
/**
|
|
36
|
-
* Watches a property on each item in a collection.
|
|
37
|
-
*
|
|
38
|
-
* @deprecated Use {@link support/observableUtils!watchEach} instead.
|
|
39
|
-
* @param collection The collection of items to watch.
|
|
40
|
-
* @param getValue Function used to get the current value from each item. All
|
|
41
|
-
* accessed properties will be tracked.
|
|
42
|
-
* @param callback The callback to invoke. Note that the item that changed is
|
|
43
|
-
* passed as the last parameter of the callback.
|
|
44
|
-
* @param sync Whether to invoke the callback synchronously. The default is
|
|
45
|
-
* `false`.
|
|
46
|
-
*/
|
|
47
|
-
export declare function watchEach<T extends DeprecatedObservable | Accessor, U = unknown>(collection: Collection<T> | ObservableMap<unknown, T>, getValue: (item: T) => U, callback: (newValue: U, oldValue: U | undefined, item: T) => void, sync?: boolean): IHandle;
|
|
48
|
-
/**
|
|
49
|
-
* Watches a property on each item in a collection property.
|
|
50
|
-
*
|
|
51
|
-
* @deprecated Use {@link support/observableUtils!watchEach} instead.
|
|
52
|
-
* @param obj The object to watch.
|
|
53
|
-
* @param collectionPath The property path on the object that returns the
|
|
54
|
-
* collection to watch.
|
|
55
|
-
* @param path The property path to watch on each item in the collection.
|
|
56
|
-
* @param callback The callback to invoke. Note that the item that changed is
|
|
57
|
-
* passed as the last parameter of the callback (target).
|
|
58
|
-
* @param sync Whether to invoke the callback synchronously. The default is
|
|
59
|
-
* `false`.
|
|
60
|
-
*/
|
|
61
|
-
export declare function watchCollectionPropertyEach(obj: Observable, collectionPath: string, path: string | string[], callback: WatchCallback, sync?: boolean): IHandle;
|
|
62
13
|
/**
|
|
63
14
|
* Listens to change events on a collection property. This function also handles
|
|
64
15
|
* the case where the collection property itself is changed, in addition to
|
package/utilities/watch.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import{watch as o}from"../support/observableUtils.js";import{checkArg as e}from"./checkArg.js";import{_generateChangeEvent as t}from"./collection.js";export function onEach(o,t,n){e("collection",o).isNotMissing(),e("eventType",t).isNotMissing().isNotEmpty(),e("callback",n).isNotMissing();const s=new Map;for(const e of o.toArray())s.set(e,e.on(t,n));const r=o.on("change",(o=>{for(const e of o.added)s.set(e,e.on(t,n));for(const e of o.removed){const o=s.get(e);o&&o.remove(),s.delete(e)}}));return{remove:()=>{r.remove(),s.forEach((o=>o.remove()))}}}export function onCollectionPropertyChange(n,s,r,i=!1){let c;e("obj",n).isNotMissing(),e("property",s).isNotMissing().isNotEmpty(),e("callback",r).isNotMissing();const l=s.split(".");let m=n;for(;m&&"object"==typeof m&&l.length;)m=m[l.shift()];m&&(c=m.on("change",r));const p=o(n,s,((o,e)=>{c&&(c.remove(),c=void 0),o&&(c=o.on("change",r));const n=t(e,o);(n?.added.length||n?.removed.length||n?.moved.length)&&r(n)}),{sync:i});return{remove:()=>{c&&c.remove(),p.remove()}}}export function onOnce(o,e,t){const n=o.on(e,(o=>{t(o),n.remove()}));return n}
|
package/version.d.ts
CHANGED
package/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const version="
|
|
1
|
+
export const version="52.0.0";
|
package/ErrorBase.d.ts
DELETED
package/ErrorBase.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export class ErrorBase extends Error{}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>ErrorBase | @vertigis/arcgis-extensions</title><meta name="description" content="Documentation for @vertigis/arcgis-extensions"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">@vertigis/arcgis-extensions</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../modules.html">@vertigis/arcgis-extensions</a></li><li><a href="../modules/ErrorBase.html">ErrorBase</a></li><li><a href="ErrorBase.ErrorBase.html">ErrorBase</a></li></ul><h1 class="deprecated">Class ErrorBase</h1></div><section class="tsd-panel tsd-comment"><div class="tsd-comment tsd-typography"><div class="tsd-tag-Deprecated"><h4 class="tsd-anchor-link"><a id="Deprecated" class="tsd-anchor"></a>Deprecated<a href="#Deprecated" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>Use Error directly instead of this class.</p>
|
|
2
|
-
</div></div></section><section class="tsd-panel tsd-hierarchy"><h4>Hierarchy</h4><ul class="tsd-hierarchy"><li><span class="tsd-signature-type">Error</span><ul class="tsd-hierarchy"><li><span class="target">ErrorBase</span></li></ul></li></ul></section><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><details class="tsd-index-content tsd-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><h5 class="tsd-index-heading uppercase" role="button" aria-expanded="false" tabIndex="0"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-chevronSmall"></use></svg> Index</h5></summary><div class="tsd-accordion-details"><section class="tsd-index-section"><h3 class="tsd-index-heading">Constructors</h3><div class="tsd-index-list"><a href="ErrorBase.ErrorBase.html#constructor" class="tsd-index-link deprecated tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a>
|
|
3
|
-
</div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Constructors"><h2><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg> Constructors</h2></summary><section><section class="tsd-panel tsd-member tsd-is-external"><a id="constructor" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span class="deprecated">constructor</span><a href="#constructor" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="constructor.new_ErrorBase" class="tsd-anchor"></a><span class="tsd-kind-constructor-signature">new <wbr/>Error<wbr/>Base</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">message</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="ErrorBase.ErrorBase.html" class="tsd-signature-type tsd-kind-class">ErrorBase</a><a href="#constructor.new_ErrorBase" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">message</span>: <span class="tsd-signature-type">string</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <a href="ErrorBase.ErrorBase.html" class="tsd-signature-type tsd-kind-class">ErrorBase</a></h4><aside class="tsd-sources"><p>Inherited from Error.constructor</p></aside></li><li class="tsd-signature tsd-anchor-link"><a id="constructor.new_ErrorBase-1" class="tsd-anchor"></a><span class="tsd-kind-constructor-signature">new <wbr/>Error<wbr/>Base</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">message</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">options</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="ErrorBase.ErrorBase.html" class="tsd-signature-type tsd-kind-class">ErrorBase</a><a href="#constructor.new_ErrorBase-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">message</span>: <span class="tsd-signature-type">string</span></span></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">options</span>: <span class="tsd-signature-type">ErrorOptions</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <a href="ErrorBase.ErrorBase.html" class="tsd-signature-type tsd-kind-class">ErrorBase</a></h4><aside class="tsd-sources"><p>Inherited from Error.constructor</p></aside></li><li class="tsd-signature tsd-anchor-link"><a id="constructor.new_ErrorBase-2" class="tsd-anchor"></a><span class="tsd-kind-constructor-signature">new <wbr/>Error<wbr/>Base</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">message</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">options</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="ErrorBase.ErrorBase.html" class="tsd-signature-type tsd-kind-class">ErrorBase</a><a href="#constructor.new_ErrorBase-2" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">message</span>: <span class="tsd-signature-type">string</span></span></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">options</span>: <span class="tsd-signature-type">ErrorOptions</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <a href="ErrorBase.ErrorBase.html" class="tsd-signature-type tsd-kind-class">ErrorBase</a></h4><aside class="tsd-sources"><p>Inherited from Error.constructor</p></aside></li></ul></section></section></details></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div><details open class="tsd-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>On This Page</h3></summary><div class="tsd-accordion-details"><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="tsd-otp-Constructors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Constructors</summary><div><a href="#constructor" class="tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a></div></details></div></details></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>@vertigis/arcgis-extensions</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><footer></footer><div class="overlay"></div></body></html>
|