@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
package/locale/sl.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./_localeDeprecation.js";
|
package/locale/sl.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./_localeDeprecation.js";
|
package/locale/sq.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./_localeDeprecation.js";
|
package/locale/sq.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./_localeDeprecation.js";
|
package/locale/sr-Cyrl.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./_localeDeprecation.js";
|
package/locale/sr-Cyrl.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./_localeDeprecation.js";
|
package/locale/sr-ME.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./_localeDeprecation.js";
|
package/locale/sr-ME.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./_localeDeprecation.js";
|
package/locale/sr.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./_localeDeprecation.js";
|
package/locale/sr.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./_localeDeprecation.js";
|
package/locale/sv.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./_localeDeprecation.js";
|
package/locale/sv.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./_localeDeprecation.js";
|
package/locale/ta.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./_localeDeprecation.js";
|
package/locale/ta.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./_localeDeprecation.js";
|
package/locale/th.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./_localeDeprecation.js";
|
package/locale/th.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./_localeDeprecation.js";
|
package/locale/tl.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./_localeDeprecation.js";
|
package/locale/tl.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./_localeDeprecation.js";
|
package/locale/tr.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./_localeDeprecation.js";
|
package/locale/tr.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./_localeDeprecation.js";
|
package/locale/tzm-Latn.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./_localeDeprecation.js";
|
package/locale/tzm-Latn.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./_localeDeprecation.js";
|
package/locale/tzm.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./_localeDeprecation.js";
|
package/locale/tzm.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./_localeDeprecation.js";
|
package/locale/uk.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./_localeDeprecation.js";
|
package/locale/uk.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./_localeDeprecation.js";
|
package/locale/uz.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./_localeDeprecation.js";
|
package/locale/uz.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./_localeDeprecation.js";
|
package/locale/vi.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./_localeDeprecation.js";
|
package/locale/vi.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./_localeDeprecation.js";
|
package/locale/zh-TW.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./_localeDeprecation.js";
|
package/locale/zh-TW.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./_localeDeprecation.js";
|
package/locale/zh.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./_localeDeprecation.js";
|
package/locale/zh.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./_localeDeprecation.js";
|
package/support/Observable.d.ts
DELETED
|
@@ -1,242 +0,0 @@
|
|
|
1
|
-
import Evented from "@arcgis/core/core/Evented";
|
|
2
|
-
import type { WatchCallback } from "../utilities/watch.js";
|
|
3
|
-
import { type ObservableMixin } from "./observableUtils.js";
|
|
4
|
-
declare const Observable_base: typeof Evented & (abstract new (...args: any[]) => ObservableMixin);
|
|
5
|
-
/**
|
|
6
|
-
* An object whose properties can be observed for changes.
|
|
7
|
-
*
|
|
8
|
-
* @deprecated See {@link support/observableUtils!observable} instead.
|
|
9
|
-
*/
|
|
10
|
-
export declare class Observable extends Observable_base {
|
|
11
|
-
constructor();
|
|
12
|
-
/**
|
|
13
|
-
* Watches for property changes.
|
|
14
|
-
*
|
|
15
|
-
* @deprecated See {@link support/observableUtils!observable} and
|
|
16
|
-
* {@link support/observableUtils!watch} instead.
|
|
17
|
-
* @param path The property (or list of properties) to watch for changes.
|
|
18
|
-
* @param callback The callback to invoke when the property has changed.
|
|
19
|
-
* This callback will always be invoked _asynchronously_.
|
|
20
|
-
* @param sync Whether to invoke the callback synchronously. The default is
|
|
21
|
-
* false.
|
|
22
|
-
*/
|
|
23
|
-
watch(path: string | string[], callback: WatchCallback, sync?: boolean): IHandle;
|
|
24
|
-
/**
|
|
25
|
-
* Gets the value of a property.
|
|
26
|
-
*
|
|
27
|
-
* @deprecated This function is deprecated. Access the property directly.
|
|
28
|
-
* @param propertyPath The name of the property to get. It can also be a
|
|
29
|
-
* path to a property deeper in the instance, for example "foo.bar.baz".
|
|
30
|
-
* If a property in the path doesn't exist, then the result will be
|
|
31
|
-
* undefined.
|
|
32
|
-
*/
|
|
33
|
-
get<T>(propertyPath: string): T;
|
|
34
|
-
get(propertyPath: string): any;
|
|
35
|
-
/**
|
|
36
|
-
* Sets the value of a property.
|
|
37
|
-
*
|
|
38
|
-
* @deprecated This function is deprecated. Access the property directly.
|
|
39
|
-
* @param propertyPath The name of the property to set. It can also be a
|
|
40
|
-
* path to a property deeper in the instance, for example "foo.bar.baz".
|
|
41
|
-
* If a property along the way doesn't exist, then nothing will be set.
|
|
42
|
-
* @param value The new value to set on the property.
|
|
43
|
-
*/
|
|
44
|
-
set<T>(propertyPath: string, value: T): this;
|
|
45
|
-
/**
|
|
46
|
-
* Sets the values of one or more properties.
|
|
47
|
-
*
|
|
48
|
-
* @deprecated This function is deprecated. Access the property directly.
|
|
49
|
-
* @param properties An object containing key/value pairs of properties to
|
|
50
|
-
* set.
|
|
51
|
-
*/
|
|
52
|
-
set(properties: HashMap<any>): this;
|
|
53
|
-
/**
|
|
54
|
-
* Indicates that the given property might have changed, causing observers
|
|
55
|
-
* to be notified if it did.
|
|
56
|
-
*
|
|
57
|
-
* @deprecated See {@link support/observableUtils!observable} and
|
|
58
|
-
* {@link support/observableUtils!notifyChange} instead.
|
|
59
|
-
* @param propertyKey The property that changed (or might have changed).
|
|
60
|
-
*/
|
|
61
|
-
notifyChange(propertyKey: keyof this): void;
|
|
62
|
-
/**
|
|
63
|
-
* Implements the watch() behavior for a single property. Subclasses that
|
|
64
|
-
* need specialized watch handling should generally override this function
|
|
65
|
-
* instead of watch(), which will automatically take care of handling
|
|
66
|
-
* multiple properties and nesting.
|
|
67
|
-
*
|
|
68
|
-
* @deprecated See {@link support/observableUtils!observable} and
|
|
69
|
-
* {@link support/observableUtils!watch} instead.
|
|
70
|
-
* @param propertyKey The root of the property path, e.g. "foo" in
|
|
71
|
-
* "foo.bar.baz" or "foo".
|
|
72
|
-
* @param subpath The remainder of the property path, e.g. "bar.baz" in
|
|
73
|
-
* "foo.bar.baz" or "" in "foo". The implementation of watch() takes care
|
|
74
|
-
* of monitoring the subpath for changes.
|
|
75
|
-
* @param callback The callback to invoke.
|
|
76
|
-
* @param sync If true, the callback will be invoked synchronously on the
|
|
77
|
-
* same tick that the property changed. Otherwise, it will be invoked in a
|
|
78
|
-
* future tick.
|
|
79
|
-
*/
|
|
80
|
-
protected _watchProperty(propertyKey: keyof this, subpath: string, callback: WatchCallback, sync: boolean): IHandle;
|
|
81
|
-
}
|
|
82
|
-
/**
|
|
83
|
-
* Gets the value of a property by specifying a path.
|
|
84
|
-
*
|
|
85
|
-
* This is equivalent to the `get()` method on an Accessor-like object, only it
|
|
86
|
-
* can be used on any object.
|
|
87
|
-
*
|
|
88
|
-
* @deprecated This function is deprecated. Access the property directly.
|
|
89
|
-
* @param object The object to read.
|
|
90
|
-
* @param path The name of the property to get. It can also be a path to a
|
|
91
|
-
* property deeper in the instance, for example "foo.bar.baz". If a property
|
|
92
|
-
* in the path doesn't exist, then the result will be undefined.
|
|
93
|
-
*/
|
|
94
|
-
export declare function getPropertyByPath<T = unknown>(object: object, path: string): T;
|
|
95
|
-
/**
|
|
96
|
-
* @deprecated See {@link support/observableUtils!observable} instead.
|
|
97
|
-
*/
|
|
98
|
-
export interface IDeprecatedObservable {
|
|
99
|
-
/**
|
|
100
|
-
* Watches for property changes.
|
|
101
|
-
*
|
|
102
|
-
* @deprecated See {@link support/observableUtils!observable} and
|
|
103
|
-
* {@link support/observableUtils!watch} instead.
|
|
104
|
-
* @param path The property (or list of properties) to watch for changes.
|
|
105
|
-
* @param callback The callback to invoke when the property has changed.
|
|
106
|
-
* This callback will always be invoked _asynchronously_.
|
|
107
|
-
* @param sync Whether to invoke the callback synchronously. The default is
|
|
108
|
-
* false.
|
|
109
|
-
*/
|
|
110
|
-
watch(path: string | string[], callback: WatchCallback, sync?: boolean): IHandle;
|
|
111
|
-
/**
|
|
112
|
-
* Gets the value of a property.
|
|
113
|
-
*
|
|
114
|
-
* @deprecated This function is deprecated. Access the property directly.
|
|
115
|
-
* @param propertyPath The name of the property to get. It can also be a
|
|
116
|
-
* path to a property deeper in the instance, for example "foo.bar.baz".
|
|
117
|
-
* If a property in the path doesn't exist, then the result will be
|
|
118
|
-
* undefined.
|
|
119
|
-
*/
|
|
120
|
-
get<T>(propertyPath: string): T;
|
|
121
|
-
/**
|
|
122
|
-
* Gets the value of a property.
|
|
123
|
-
*
|
|
124
|
-
* @deprecated This function is deprecated. Access the property directly.
|
|
125
|
-
* @param propertyPath The name of the property to get. It can also be a
|
|
126
|
-
* path to a property deeper in the instance, for example "foo.bar.baz".
|
|
127
|
-
* If a property in the path doesn't exist, then the result will be
|
|
128
|
-
* undefined.
|
|
129
|
-
*/
|
|
130
|
-
get(propertyPath: string): any;
|
|
131
|
-
/**
|
|
132
|
-
* Sets the value of a property.
|
|
133
|
-
*
|
|
134
|
-
* @deprecated This function is deprecated. Access the property directly.
|
|
135
|
-
* @param propertyPath The name of the property to set. It can also be a
|
|
136
|
-
* path to a property deeper in the instance, for example "foo.bar.baz".
|
|
137
|
-
* If a property along the way doesn't exist, then nothing will be set.
|
|
138
|
-
* @param value The new value to set on the property.
|
|
139
|
-
*/
|
|
140
|
-
set<T>(propertyPath: string, value: T): this;
|
|
141
|
-
/**
|
|
142
|
-
* Sets the values of one or more properties.
|
|
143
|
-
*
|
|
144
|
-
* @deprecated This function is deprecated. Access the property directly.
|
|
145
|
-
* @param properties An object containing key/value pairs of properties to
|
|
146
|
-
* set.
|
|
147
|
-
*/
|
|
148
|
-
set(properties: HashMap<any>): this;
|
|
149
|
-
/**
|
|
150
|
-
* Indicates that the given property might have changed, causing observers
|
|
151
|
-
* to be notified if it did.
|
|
152
|
-
*
|
|
153
|
-
* @deprecated See {@link support/observableUtils!observable} and
|
|
154
|
-
* {@link support/observableUtils!notifyChange} instead.
|
|
155
|
-
* @param propertyKey The property that changed (or might have changed).
|
|
156
|
-
*/
|
|
157
|
-
notifyChange(propertyKey: keyof this): void;
|
|
158
|
-
/**
|
|
159
|
-
* Implements the watch() behavior for a single property. Subclasses that
|
|
160
|
-
* need specialized watch handling should generally override this function
|
|
161
|
-
* instead of watch(), which will automatically take care of handling
|
|
162
|
-
* multiple properties and nesting.
|
|
163
|
-
*
|
|
164
|
-
* @deprecated See {@link support/observableUtils!observable} and
|
|
165
|
-
* {@link support/observableUtils!watch} instead.
|
|
166
|
-
* @param propertyKey The root of the property path, e.g. "foo" in
|
|
167
|
-
* "foo.bar.baz" or "foo".
|
|
168
|
-
* @param subpath The remainder of the property path, e.g. "bar.baz" in
|
|
169
|
-
* "foo.bar.baz" or "" in "foo". The implementation of watch() takes care
|
|
170
|
-
* of monitoring the subpath for changes.
|
|
171
|
-
* @param callback The callback to invoke.
|
|
172
|
-
* @param sync If true, the callback will be invoked synchronously on the
|
|
173
|
-
* same tick that the property changed. Otherwise, it will be invoked in a
|
|
174
|
-
* future tick.
|
|
175
|
-
*/
|
|
176
|
-
_watchProperty(propertyKey: keyof this, subpath: string, callback: WatchCallback, sync: boolean): IHandle;
|
|
177
|
-
}
|
|
178
|
-
/**
|
|
179
|
-
* Helper function to use with {@link support/Observable!IDeprecatedObservable}
|
|
180
|
-
* to implement watch on classes that no longer inherit from Observable.
|
|
181
|
-
*
|
|
182
|
-
* @deprecated
|
|
183
|
-
* @param obj The object to watch.
|
|
184
|
-
* @param path The property (or list of properties) to watch for changes.
|
|
185
|
-
* @param callback The callback to invoke when the property has changed. This
|
|
186
|
-
* callback will always be invoked _asynchronously_.
|
|
187
|
-
* @param sync Whether to invoke the callback synchronously. The default is
|
|
188
|
-
* false.
|
|
189
|
-
*/
|
|
190
|
-
export declare function deprecatedWatch(obj: ObservableMixin, path: string | string[], callback: WatchCallback, sync?: boolean): IHandle;
|
|
191
|
-
/**
|
|
192
|
-
* Helper function to use with {@link support/Observable!IDeprecatedObservable}
|
|
193
|
-
* to implement notifyChange on classes that no longer inherit from Observable.
|
|
194
|
-
*
|
|
195
|
-
* @deprecated
|
|
196
|
-
* @param obj The object with the property to notify on.
|
|
197
|
-
* @param propertyKey The property that changed (or might have changed).
|
|
198
|
-
*/
|
|
199
|
-
export declare function deprecatedNotifyChange<T extends ObservableMixin>(obj: T, propertyKey: keyof T): void;
|
|
200
|
-
/**
|
|
201
|
-
* Helper function to use with {@link support/Observable!IDeprecatedObservable}
|
|
202
|
-
* to implement set on classes that no longer inherit from Observable.
|
|
203
|
-
*
|
|
204
|
-
* @deprecated
|
|
205
|
-
* @param obj The object to set the property on.
|
|
206
|
-
* @param pathOrProperties An object containing key/value pairs of properties to
|
|
207
|
-
* set or the name of the property to set. It can also be a path to a property
|
|
208
|
-
* deeper in the instance, for example "foo.bar.baz". If a property along the
|
|
209
|
-
* way doesn't exist, then nothing will be set.
|
|
210
|
-
* @param value The new value to set on the property.
|
|
211
|
-
*/
|
|
212
|
-
export declare function deprecatedSet<T>(obj: T, pathOrProperties: string | HashMap<unknown>, value?: unknown): T;
|
|
213
|
-
/**
|
|
214
|
-
* Helper function to use with {@link support/Observable!IDeprecatedObservable}
|
|
215
|
-
* to implement get on classes that no longer inherit from Observable.
|
|
216
|
-
*
|
|
217
|
-
* @deprecated
|
|
218
|
-
* @param obj The object to read.
|
|
219
|
-
* @param propertyPath The name of the property to get. It can also be a path to
|
|
220
|
-
* a property deeper in the instance, for example "foo.bar.baz". If a property
|
|
221
|
-
* in the path doesn't exist, then the result will be undefined.
|
|
222
|
-
*/
|
|
223
|
-
export declare function deprecatedGetPropertyPath<T>(obj: object, propertyPath: string): T;
|
|
224
|
-
/**
|
|
225
|
-
* Helper function to use with {@link support/Observable!IDeprecatedObservable}
|
|
226
|
-
* to implement _watchProperty on classes that no longer inherit from
|
|
227
|
-
* Observable.
|
|
228
|
-
*
|
|
229
|
-
* @deprecated
|
|
230
|
-
* @param obj The object to watch.
|
|
231
|
-
* @param propertyKey The root of the property path, e.g. "foo" in "foo.bar.baz"
|
|
232
|
-
* or "foo".
|
|
233
|
-
* @param subpath The remainder of the property path, e.g. "bar.baz" in
|
|
234
|
-
* "foo.bar.baz" or "" in "foo". The implementation of watch() takes care of
|
|
235
|
-
* monitoring the subpath for changes.
|
|
236
|
-
* @param callback The callback to invoke.
|
|
237
|
-
* @param sync If true, the callback will be invoked synchronously on the same
|
|
238
|
-
* tick that the property changed. Otherwise, it will be invoked in a future
|
|
239
|
-
* tick.
|
|
240
|
-
*/
|
|
241
|
-
export declare function deprecatedWatchProperty<T extends ObservableMixin>(obj: T, propertyKey: keyof T, subpath: string, callback: WatchCallback, sync?: boolean): IHandle;
|
|
242
|
-
export {};
|
package/support/Observable.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import e from"@arcgis/core/core/Evented";import{notifyChange as t,observable as r,watch as o,createIHandle as s}from"./observableUtils.js";export class Observable extends(r(e)){constructor(){super(),console.warn("[Observable]: The Observable class is deprecated and will be removed in a future release. For watch functionality use the observable mixin from @vertigis/arcgis-extensions/support/observableUtils instead. For events, use @arcgis/core/core/Evented instead. You can combine both by using the observable mixin with @arcgis/core/core/Evented `extends observable(Evented)`.")}watch(e,t,r=!1){return deprecatedWatch(this,e,t,r)}get(e){return getPropertyByPath(this,e)}set(e,t){if(!e)return this;if("string"==typeof e){const r=e.split(".");let o=this;for(;o&&"object"==typeof o&&r.length>1;)o=o[r.shift()];o&&"object"==typeof o&&(o[r[0]]=t)}else for(const t of Object.keys(e))this.set(t,e[t]);return this}notifyChange(e){t(this,e)}_watchProperty(e,t,r,o){return deprecatedWatchProperty(this,e,t,r,o)}}export function getPropertyByPath(e,t){if(!t)return;const r=t.split(".");let o=e;for(;o&&"object"==typeof o&&r.length;)o=o[r.shift()];return r.length?void 0:o}export function deprecatedWatch(e,t,n,i){if(console.warn("[Observable]: The watch method is deprecated and will be removed in a future release. See @vertigis/arcgis-extensions/support/observableUtils instead."),!("__isObservable"in e)){let t=Object.getPrototypeOf(e);const o=Object.getPrototypeOf(r().prototype);for(;t;){const e=Object.getPrototypeOf(t);if(e===Object.prototype)break;if(t=e,e===o)break}t!==o&&Object.setPrototypeOf(t,r().prototype);const s=new(r());Object.assign(e,s)}const a=[],c=Array.isArray(t)?t:[t];for(const t of c)a.push(o(e,t,((e,r,o)=>{n(e,r,t,o)}),{sync:i}));return s(a)}export function deprecatedNotifyChange(e,r){console.warn("[Observable]: The notifyChange method is deprecated and will be removed in a future release. See @vertigis/arcgis-extensions/support/observableUtils instead."),"__isObservable"in e&&!e.__isObservable||t(e,r)}export function deprecatedSet(e,t,r){if(!t)return e;if("string"==typeof t){const o=t.split(".");let s=e;for(;s&&"object"==typeof s&&o.length>1;)s=s[o.shift()];s&&"object"==typeof s&&(s[o[0]]=r)}else for(const r of Object.keys(t))deprecatedSet(e,r,t[r]);return e}export function deprecatedGetPropertyPath(e,t){return getPropertyByPath(e,t)}export function deprecatedWatchProperty(e,t,r,o,s){console.warn("[Observable]: The _watchProperty method is deprecated and will be removed in a future release. See @vertigis/arcgis-extensions/support/observableUtils instead.");return deprecatedWatch(e,`${t.toString()}.${r}`,o,s)}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{getLogger as e}from"../../utilities/log.js";import{StreamLayerClientSideQueryIdentifyProvider as r}from"./StreamLayerClientSideQueryIdentifyProvider.js";e("StreamLayerQueryIdentifyProvider").warn("StreamLayerQueryIdentifyProvider is now deprecated as of 2021 and will removed by 2022. Use StreamLayerClientSideQueryIdentifyProvider instead.");export const StreamLayerQueryIdentifyProvider=r;
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import { Observable } from "../support/Observable.js";
|
|
2
|
-
import type { ChangeEvent } from "./collection.js";
|
|
3
|
-
/**
|
|
4
|
-
* A Set that supports observability.
|
|
5
|
-
*
|
|
6
|
-
* @deprecated This class is deprecated and will be removed in a future version.
|
|
7
|
-
* Use {@link utilities/ObservableSet} instead.
|
|
8
|
-
*/
|
|
9
|
-
export declare class ObservableWeakSet<T extends object> extends Observable implements WeakSet<T> {
|
|
10
|
-
/**
|
|
11
|
-
* Used by Object.toString().
|
|
12
|
-
*/
|
|
13
|
-
readonly [Symbol.toStringTag] = "ObservableWeakSet";
|
|
14
|
-
/**
|
|
15
|
-
* The underlying set that this class is wrapping.
|
|
16
|
-
*/
|
|
17
|
-
protected _originalSet: WeakSet<T>;
|
|
18
|
-
constructor();
|
|
19
|
-
/**
|
|
20
|
-
* Adds an element to the set.
|
|
21
|
-
*
|
|
22
|
-
* @param value The value to add.
|
|
23
|
-
*/
|
|
24
|
-
add(value: T): this;
|
|
25
|
-
/**
|
|
26
|
-
* Adds elements to the set.
|
|
27
|
-
*
|
|
28
|
-
* @param values The values to add.
|
|
29
|
-
*/
|
|
30
|
-
addMany(values: Iterable<T>): this;
|
|
31
|
-
/**
|
|
32
|
-
* Removes the specified element.
|
|
33
|
-
*
|
|
34
|
-
* @param value The element to remove.
|
|
35
|
-
* @returns True if an element was deleted, otherwise false.
|
|
36
|
-
*/
|
|
37
|
-
delete(value: T): boolean;
|
|
38
|
-
/**
|
|
39
|
-
* Removes the specified elements.
|
|
40
|
-
*
|
|
41
|
-
* @param values The elements to remove.
|
|
42
|
-
* @returns True if an element was deleted, otherwise false.
|
|
43
|
-
*/
|
|
44
|
-
deleteMany(values: Iterable<T>): boolean;
|
|
45
|
-
/**
|
|
46
|
-
* Indicates whether or not the set contains the specified element.
|
|
47
|
-
*
|
|
48
|
-
* @param value The element to test for.
|
|
49
|
-
*/
|
|
50
|
-
has(value: T): boolean;
|
|
51
|
-
on(name: "change", callback: (event: ChangeEvent<T>) => void): IHandle;
|
|
52
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{Observable as e}from"../support/Observable.js";export class ObservableWeakSet extends e{[Symbol.toStringTag]="ObservableWeakSet";_originalSet;constructor(){super(),this._originalSet=new WeakSet}add(e){return this.has(e)||(this._originalSet.add(e),this.emit("change",{added:[e],removed:[],moved:[],target:this})),this}addMany(e){const t=[];for(const s of e)this.has(s)||(t.push(s),this._originalSet.add(s));return t.length&&this.emit("change",{added:t,removed:[],moved:[],target:this}),this}delete(e){return!!this.has(e)&&(this._originalSet.delete(e),this.emit("change",{added:[],removed:[e],moved:[],target:this}),!0)}deleteMany(e){const t=[];for(const s of e)this.has(s)&&(t.push(s),this._originalSet.delete(s));return t.length&&this.emit("change",{added:[],removed:t,moved:[],target:this}),!!t.length}has(e){return this._originalSet.has(e)}on(e,t){return super.on("change",t)}}
|