@vertigis/arcgis-extensions 54.2.0 → 54.3.1
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/Entity.d.ts +1 -1
- package/Hyperlink.d.ts +6 -6
- package/Hyperlink.js +1 -1
- package/LanguageResources.d.ts +1 -1
- package/LanguageResources.js +1 -1
- package/PortalUri.d.ts +2 -2
- package/data/Attachment.d.ts +9 -9
- package/data/Feature.js +1 -1
- package/data/RelationshipBase.d.ts +3 -3
- package/data/Schema.js +1 -1
- package/data/_Relationship.d.ts +4 -4
- package/data/_Relationship.js +1 -1
- package/data/support/_lpkxConverter.js +1 -1
- package/data/support/lpkxInterfaces.d.ts +8 -0
- package/declarations/arcgis-js-api-extensions/index.d.ts +7 -7
- package/docs/html/assets/search.js +1 -1
- package/docs/html/classes/PortalUri.PortalUri.html +4 -4
- package/docs/html/classes/data_RelationshipBase.RelationshipBase.html +2 -2
- package/docs/html/classes/support_Cancellable.Cancellation.html +2 -2
- package/docs/html/classes/tasks_identify_ArcGISSublayerIdentifyProvider.ArcGISSublayerIdentifyProvider.html +2 -2
- package/docs/html/classes/tasks_identify_ArcGISSublayerQueryIdentifyProvider.ArcGISSublayerQueryIdentifyProvider.html +2 -2
- package/docs/html/classes/tasks_identify_BuildingComponentSublayerClientSideIdentifyProvider.BuildingComponentSublayerClientSideIdentifyProvider.html +2 -2
- package/docs/html/classes/tasks_identify_BuildingComponentSublayerHitTestIdentifyProvider.BuildingComponentSublayerHitTestIdentifyProvider.html +2 -2
- package/docs/html/classes/tasks_identify_CSVLayer3DHitTestIdentifyProvider.CSVLayer3DHitTestIdentifyProvider.html +2 -2
- package/docs/html/classes/tasks_identify_CSVLayerClientSideQueryIdentifyProvider.CSVLayerClientSideQueryIdentifyProvider.html +2 -2
- package/docs/html/classes/tasks_identify_ClientSideIdentifyProvider.ClientSideIdentifyProvider.html +2 -2
- package/docs/html/classes/tasks_identify_FeatureLayer3DHitTestIdentifyProvider.FeatureLayer3DHitTestIdentifyProvider.html +2 -2
- package/docs/html/classes/tasks_identify_FeatureLayerClientSideIdentifyProvider.FeatureLayerClientSideIdentifyProvider.html +2 -2
- package/docs/html/classes/tasks_identify_FeatureLayerQueryIdentifyProvider.FeatureLayerQueryIdentifyProvider.html +2 -2
- package/docs/html/classes/tasks_identify_GeoJSONLayer3DHitTestIdentifyProvider.GeoJSONLayer3DHitTestIdentifyProvider.html +2 -2
- package/docs/html/classes/tasks_identify_GeoJSONLayerClientSideQueryIdentifyProvider.GeoJSONLayerClientSideQueryIdentifyProvider.html +2 -2
- package/docs/html/classes/tasks_identify_GeoRSSLayerIdentifyProvider.GeoRSSLayerIdentifyProvider.html +2 -2
- package/docs/html/classes/tasks_identify_GraphicsLayerQueryIdentifyProvider.GraphicsLayerQueryIdentifyProvider.html +2 -2
- package/docs/html/classes/tasks_identify_HitTestIdentifyProvider.HitTestIdentifyProvider.html +2 -2
- package/docs/html/classes/tasks_identify_IdentifyProviderBase.IdentifyProviderBase.html +2 -2
- package/docs/html/classes/tasks_identify_ImageryLayerIdentifyProvider.ImageryLayerIdentifyProvider.html +2 -2
- package/docs/html/classes/tasks_identify_KMLLayerQueryIdentifyProvider.KMLLayerQueryIdentifyProvider.html +2 -2
- package/docs/html/classes/tasks_identify_MapNotesSublayerQueryIdentifyProvider.MapNotesSublayerQueryIdentifyProvider.html +2 -2
- package/docs/html/classes/tasks_identify_PointCloudLayerHitTestIdentifyProvider.PointCloudLayerHitTestIdentifyProvider.html +2 -2
- package/docs/html/classes/tasks_identify_RouteLayerQueryIdentifyProvider.RouteLayerQueryIdentifyProvider.html +2 -2
- package/docs/html/classes/tasks_identify_SceneLayerClientSideIdentifyProvider.SceneLayerClientSideIdentifyProvider.html +2 -2
- package/docs/html/classes/tasks_identify_SceneLayerHitTestIdentifyProvider.SceneLayerHitTestIdentifyProvider.html +2 -2
- package/docs/html/classes/tasks_identify_SceneLayerQueryIdentifyProvider.SceneLayerQueryIdentifyProvider.html +2 -2
- package/docs/html/classes/tasks_identify_StreamLayerClientSideQueryIdentifyProvider.StreamLayerClientSideQueryIdentifyProvider.html +2 -2
- package/docs/html/classes/tasks_identify_SubtypeSublayerClientSideIdentifyProvider.SubtypeSublayerClientSideIdentifyProvider.html +2 -2
- package/docs/html/classes/tasks_identify_WFSLayerClientSideIdentifyProvider.WFSLayerClientSideIdentifyProvider.html +2 -2
- package/docs/html/classes/tasks_identify_WFSLayerQueryIdentifyProvider.WFSLayerQueryIdentifyProvider.html +2 -2
- package/docs/html/classes/tasks_identify_WMSLayerFeatureInfoIdentifyProvider.WMSLayerFeatureInfoIdentifyProvider.html +2 -2
- package/docs/html/classes/tasks_identify_WMSSublayerIdentifyProvider.WMSSublayerIdentifyProvider.html +2 -2
- package/docs/html/classes/tasks_query_ArcGISRelationship.ArcGISRelationship.html +2 -2
- package/docs/html/classes/tasks_query_QueryBasedRelationship.QueryBasedRelationship.html +2 -2
- package/docs/html/classes/tasks_search_ArcGISGeocoderSearchProvider.ArcGISGeocoderSearchProvider.html +3 -3
- package/docs/html/classes/tasks_search_GeocoderSearchProvider.GeocoderSearchProvider.html +3 -3
- package/docs/html/classes/utilities_CaseInsensitiveObservableMap.CaseInsensitiveObservableMap.html +2 -2
- package/docs/html/functions/data__Relationship.fromEsriApiCardinality.html +1 -1
- package/docs/html/functions/data__Relationship.toEsriApiCardinality.html +1 -1
- package/docs/html/functions/support_InitializableBase.initializeCollection.html +1 -1
- package/docs/html/functions/support_Serializable.filterJSONProperties.html +1 -1
- package/docs/html/interfaces/data_Attachment.AttachmentInfo.html +8 -8
- package/docs/html/interfaces/data__Relationship.Relationship-1.html +5 -5
- package/docs/html/interfaces/data_support_lpkxInterfaces.LyrxLayerDefinition.html +7 -4
- package/docs/html/interfaces/support_InitializableBase.InitializeWarningEvent.html +3 -3
- package/docs/html/types/support_Serializable.SerializableClass.html +1 -1
- package/docs/html/variables/version.version.html +1 -1
- package/layer-preset/LayerPreset.d.ts +7 -7
- package/layer-preset/LayerPreset.js +1 -1
- package/locale/language.d.ts +4 -4
- package/locale/language.js +1 -1
- package/mapping/Bookmark.d.ts +3 -3
- package/mapping/support/featureService.js +1 -1
- package/menus/Menu.d.ts +1 -1
- package/menus/Menu.js +1 -1
- package/menus/MenuItem.d.ts +12 -12
- package/menus/MenuItem.js +1 -1
- package/package.json +1 -1
- package/support/Cancellable.d.ts +2 -2
- package/support/InitializableBase.d.ts +1 -1
- package/support/InitializableBase.js +1 -1
- package/support/Serializable.d.ts +3 -2
- package/support/Serializable.js +1 -1
- package/support/_ArcGISRelationshipCollection.js +1 -1
- package/support/_featureEdit.js +1 -1
- package/support/_graphicsQuery.js +1 -1
- package/support/_query.js +1 -1
- package/tasks/identify/ArcGISSublayerQueryIdentifyProvider.js +1 -1
- package/tasks/identify/CSVLayerClientSideQueryIdentifyProvider.js +1 -1
- package/tasks/identify/ClientSideIdentifyProvider.d.ts +1 -1
- package/tasks/identify/ClientSideIdentifyProvider.js +1 -1
- package/tasks/identify/FeatureLayerClientSideIdentifyProvider.js +1 -1
- package/tasks/identify/FeatureLayerQueryIdentifyProvider.js +1 -1
- package/tasks/identify/GeoJSONLayerClientSideQueryIdentifyProvider.js +1 -1
- package/tasks/identify/HitTestIdentifyProvider.d.ts +1 -1
- package/tasks/identify/HitTestIdentifyProvider.js +1 -1
- package/tasks/identify/IdentifyProviderBase.d.ts +1 -1
- package/tasks/identify/IdentifyService.js +1 -1
- package/tasks/identify/ImageryLayerIdentifyProvider.js +1 -1
- package/tasks/identify/SubtypeSublayerQueryIdentifyProvider.js +1 -1
- package/tasks/identify/WFSLayerQueryIdentifyProvider.js +1 -1
- package/tasks/identify/WMSLayerFeatureInfoIdentifyProvider.js +1 -1
- package/tasks/identify/WMSSublayerIdentifyProvider.js +1 -1
- package/tasks/query/ArcGISRelationship.js +1 -1
- package/tasks/query/ArcGISSublayerQueryProvider.js +1 -1
- package/tasks/query/CSVLayerClientSideQueryProvider.js +1 -1
- package/tasks/query/ClientSideQueryProvider.js +1 -1
- package/tasks/query/FeatureLayerQueryProvider.js +1 -1
- package/tasks/query/GeoJSONLayerClientSideQueryProvider.js +1 -1
- package/tasks/query/SceneLayerQueryProvider.js +1 -1
- package/tasks/query/SubtypeSublayerQueryProvider.js +1 -1
- package/tasks/query/WFSLayerQueryProvider.js +1 -1
- package/tasks/search/ArcGISGeocoderSearchProvider.d.ts +2 -1
- package/tasks/search/ArcGISGeocoderSearchProvider.js +1 -1
- package/tasks/search/GeocoderSearchProvider.d.ts +4 -3
- package/tasks/search/GeocoderSearchProvider.js +1 -1
- package/tasks/search/SearchProviderBase.js +1 -1
- package/tasks/search/SearchService.js +1 -1
- package/tasks/search/_utilities.js +1 -1
- package/utilities/CaseInsensitiveObservableMap.d.ts +2 -2
- package/utilities/CaseInsensitiveObservableMap.js +1 -1
- package/utilities/arcade.js +1 -1
- package/utilities/uri.d.ts +1 -1
- package/utilities/uri.js +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
<!DOCTYPE html><html class="default" lang="en"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>Relationship | @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/data__Relationship.html">data/_Relationship</a></li><li><a href="data__Relationship.Relationship-1.html">Relationship</a></li></ul><h1>Interface Relationship</h1></div><section class="tsd-panel tsd-comment"><div class="tsd-comment tsd-typography"><p>Describes a relationship between a <a href="data_FeatureSource.FeatureSource.html" class="tsd-kind-interface">data/FeatureSource!FeatureSource</a>
|
|
2
2
|
and another source.</p>
|
|
3
|
-
</div><div class="tsd-comment tsd-typography"></div></section><div class="tsd-signature"><span class="tsd-signature-keyword">interface </span><span class="tsd-kind-interface">Relationship</span> <span class="tsd-signature-symbol">{ </span><br/><span> </span><a class="tsd-kind-property" href="data__Relationship.Relationship-1.html#cardinality">cardinality</a><span class="tsd-signature-symbol">: </span><a href="../types/data__Relationship.Cardinality.html" class="tsd-signature-type tsd-kind-type-alias">Cardinality</a><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-property" href="data__Relationship.Relationship-1.html#id">id</a><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-property" href="data__Relationship.Relationship-1.html#itemType">itemType</a><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-property" href="data__Relationship.Relationship-1.html#relatedSource">relatedSource</a><span class="tsd-signature-symbol">: </span><a href="data_FeatureSource.FeatureSource.html" class="tsd-signature-type tsd-kind-interface">FeatureSource</a><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-property" href="data__Relationship.Relationship-1.html#relationshipType">relationshipType</a><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-property" href="data__Relationship.Relationship-1.html#source">source</a><span class="tsd-signature-symbol">: </span><a href="data_FeatureSource.FeatureSource.html" class="tsd-signature-type tsd-kind-interface">FeatureSource</a><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-property" href="data__Relationship.Relationship-1.html#title">title</a><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-call-signature" href="data__Relationship.Relationship-1.html#assignProperties.assignProperties-1">assignProperties</a><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">properties</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol"><</span><a href="data__Relationship.RelationshipProperties.html" class="tsd-signature-type tsd-kind-interface">RelationshipProperties</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-call-signature" href="data__Relationship.Relationship-1.html#assignPropertiesAsync.assignPropertiesAsync-1">assignPropertiesAsync</a><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">properties</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol"><</span><a href="data__Relationship.RelationshipProperties.html" class="tsd-signature-type tsd-kind-interface">RelationshipProperties</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-call-signature" href="data__Relationship.Relationship-1.html#finishAssignProperties.finishAssignProperties-1">finishAssignProperties</a><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-call-signature" href="data__Relationship.Relationship-1.html#getAllRelatedFeatures.getAllRelatedFeatures-1">getAllRelatedFeatures</a><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">features</span><span class="tsd-signature-symbol">: </span><a href="../classes/data_FeatureSet.FeatureSet.html" class="tsd-signature-type tsd-kind-class">FeatureSet</a><span class="tsd-signature-symbol"> | </span><a href="../classes/data_FeatureStream.FeatureStream.html" class="tsd-signature-type tsd-kind-class">FeatureStream</a><span class="tsd-signature-symbol"> | </span><a href="../classes/data_Feature.Feature.html" class="tsd-signature-type tsd-kind-class">Feature</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">Map</span><span class="tsd-signature-symbol"><</span><a href="../classes/data_Feature.Feature.html" class="tsd-signature-type tsd-kind-class">Feature</a><span class="tsd-signature-symbol">, </span><a href="../classes/data_FeatureSet.FeatureSet.html" class="tsd-signature-type tsd-kind-class">FeatureSet</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-call-signature" href="data__Relationship.Relationship-1.html#getDefault.getDefault-1">getDefault</a><span class="tsd-signature-symbol"><</span><a class="tsd-signature-type tsd-kind-type-parameter" href="data__Relationship.Relationship-1.html#getDefault.getDefault-1.K">K</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">key</span><span class="tsd-signature-symbol">: </span><a class="tsd-signature-type tsd-kind-type-parameter" href="data__Relationship.Relationship-1.html#getDefault.getDefault-1.K">K</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="data__Relationship.RelationshipProperties.html" class="tsd-signature-type tsd-kind-interface">RelationshipProperties</a><span class="tsd-signature-symbol">[</span><a class="tsd-signature-type tsd-kind-type-parameter" href="data__Relationship.Relationship-1.html#getDefault.getDefault-1.K">K</a><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-call-signature" href="data__Relationship.Relationship-1.html#getDefaults.getDefaults-1">getDefaults</a><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol"><</span><a href="data__Relationship.RelationshipProperties.html" class="tsd-signature-type tsd-kind-interface">RelationshipProperties</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-call-signature" href="data__Relationship.Relationship-1.html#getRelatedFeatures.getRelatedFeatures-1">getRelatedFeatures</a><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">feature</span><span class="tsd-signature-symbol">: </span><a href="../classes/data_Feature.Feature.html" class="tsd-signature-type tsd-kind-class">Feature</a>, <span class="tsd-kind-parameter">options</span><span class="tsd-signature-symbol">?: </span><a href="data_Feature.FetchRelatedFeaturesOptions.html" class="tsd-signature-type tsd-kind-interface">FetchRelatedFeaturesOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="../classes/data_FeatureSet.FeatureSet.html" class="tsd-signature-type tsd-kind-class">FeatureSet</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-call-signature" href="data__Relationship.Relationship-1.html#getSerializableProperties.getSerializableProperties-1">getSerializableProperties</a><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">serializeMode</span><span class="tsd-signature-symbol">?: </span><a href="../types/support_Serializable.SerializeMode.html" class="tsd-signature-type tsd-kind-type-alias">SerializeMode</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../types/support_Serializable.PropertyDefs.html" class="tsd-signature-type tsd-kind-type-alias">PropertyDefs</a><span class="tsd-signature-symbol"><</span><a href="data__Relationship.RelationshipProperties.html" class="tsd-signature-type tsd-kind-interface">RelationshipProperties</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-call-signature" href="data__Relationship.Relationship-1.html#toItemUri.toItemUri-1">toItemUri</a><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-call-signature" href="data__Relationship.Relationship-1.html#toJSON.toJSON-1">toJSON</a><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">serializeMode</span><span class="tsd-signature-symbol">?: </span><a href="../types/support_Serializable.SerializeMode.html" class="tsd-signature-type tsd-kind-type-alias">SerializeMode</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol"><</span><a href="data__Relationship.RelationshipProperties.html" class="tsd-signature-type tsd-kind-interface">RelationshipProperties</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span></div><section class="tsd-panel tsd-hierarchy"><h4>Hierarchy (<a href="../hierarchy.html#data/_Relationship.Relationship">view full</a>)</h4><ul class="tsd-hierarchy"><li><a href="Entity.Entity.html" class="tsd-signature-type tsd-kind-interface">Entity</a></li><li><a href="support_Serializable.Serializable.html" class="tsd-signature-type tsd-kind-interface">Serializable</a><span class="tsd-signature-symbol"><</span><a href="data__Relationship.RelationshipProperties.html" class="tsd-signature-type tsd-kind-interface">RelationshipProperties</a><span class="tsd-signature-symbol">></span><ul class="tsd-hierarchy"><li><span class="target">Relationship</span></li></ul></li></ul></section><section class="tsd-panel"><h4>Implemented by</h4><ul class="tsd-hierarchy"><li><a href="../classes/data_RelationshipBase.RelationshipBase.html" class="tsd-signature-type tsd-kind-class">RelationshipBase</a></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">Properties</h3><div class="tsd-index-list"><a href="data__Relationship.Relationship-1.html#cardinality" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>cardinality</span></a>
|
|
3
|
+
</div><div class="tsd-comment tsd-typography"></div></section><div class="tsd-signature"><span class="tsd-signature-keyword">interface </span><span class="tsd-kind-interface">Relationship</span> <span class="tsd-signature-symbol">{ </span><br/><span> </span><a class="tsd-kind-property" href="data__Relationship.Relationship-1.html#cardinality">cardinality</a><span class="tsd-signature-symbol">: </span><a href="../types/data__Relationship.Cardinality.html" class="tsd-signature-type tsd-kind-type-alias">Cardinality</a><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-property" href="data__Relationship.Relationship-1.html#id">id</a><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-property" href="data__Relationship.Relationship-1.html#itemType">itemType</a><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-property" href="data__Relationship.Relationship-1.html#relatedSource">relatedSource</a><span class="tsd-signature-symbol">: </span><a href="data_FeatureSource.FeatureSource.html" class="tsd-signature-type tsd-kind-interface">FeatureSource</a><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-property" href="data__Relationship.Relationship-1.html#relationshipType">relationshipType</a><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-property" href="data__Relationship.Relationship-1.html#source">source</a><span class="tsd-signature-symbol">?: </span><a href="data_FeatureSource.FeatureSource.html" class="tsd-signature-type tsd-kind-interface">FeatureSource</a><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-property" href="data__Relationship.Relationship-1.html#title">title</a><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-call-signature" href="data__Relationship.Relationship-1.html#assignProperties.assignProperties-1">assignProperties</a><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">properties</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol"><</span><a href="data__Relationship.RelationshipProperties.html" class="tsd-signature-type tsd-kind-interface">RelationshipProperties</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-call-signature" href="data__Relationship.Relationship-1.html#assignPropertiesAsync.assignPropertiesAsync-1">assignPropertiesAsync</a><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">properties</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol"><</span><a href="data__Relationship.RelationshipProperties.html" class="tsd-signature-type tsd-kind-interface">RelationshipProperties</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-call-signature" href="data__Relationship.Relationship-1.html#finishAssignProperties.finishAssignProperties-1">finishAssignProperties</a><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-call-signature" href="data__Relationship.Relationship-1.html#getAllRelatedFeatures.getAllRelatedFeatures-1">getAllRelatedFeatures</a><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">features</span><span class="tsd-signature-symbol">: </span><a href="../classes/data_FeatureSet.FeatureSet.html" class="tsd-signature-type tsd-kind-class">FeatureSet</a><span class="tsd-signature-symbol"> | </span><a href="../classes/data_FeatureStream.FeatureStream.html" class="tsd-signature-type tsd-kind-class">FeatureStream</a><span class="tsd-signature-symbol"> | </span><a href="../classes/data_Feature.Feature.html" class="tsd-signature-type tsd-kind-class">Feature</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">Map</span><span class="tsd-signature-symbol"><</span><a href="../classes/data_Feature.Feature.html" class="tsd-signature-type tsd-kind-class">Feature</a><span class="tsd-signature-symbol">, </span><a href="../classes/data_FeatureSet.FeatureSet.html" class="tsd-signature-type tsd-kind-class">FeatureSet</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-call-signature" href="data__Relationship.Relationship-1.html#getDefault.getDefault-1">getDefault</a><span class="tsd-signature-symbol"><</span><a class="tsd-signature-type tsd-kind-type-parameter" href="data__Relationship.Relationship-1.html#getDefault.getDefault-1.K">K</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">key</span><span class="tsd-signature-symbol">: </span><a class="tsd-signature-type tsd-kind-type-parameter" href="data__Relationship.Relationship-1.html#getDefault.getDefault-1.K">K</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="data__Relationship.RelationshipProperties.html" class="tsd-signature-type tsd-kind-interface">RelationshipProperties</a><span class="tsd-signature-symbol">[</span><a class="tsd-signature-type tsd-kind-type-parameter" href="data__Relationship.Relationship-1.html#getDefault.getDefault-1.K">K</a><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-call-signature" href="data__Relationship.Relationship-1.html#getDefaults.getDefaults-1">getDefaults</a><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol"><</span><a href="data__Relationship.RelationshipProperties.html" class="tsd-signature-type tsd-kind-interface">RelationshipProperties</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-call-signature" href="data__Relationship.Relationship-1.html#getRelatedFeatures.getRelatedFeatures-1">getRelatedFeatures</a><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">feature</span><span class="tsd-signature-symbol">: </span><a href="../classes/data_Feature.Feature.html" class="tsd-signature-type tsd-kind-class">Feature</a>, <span class="tsd-kind-parameter">options</span><span class="tsd-signature-symbol">?: </span><a href="data_Feature.FetchRelatedFeaturesOptions.html" class="tsd-signature-type tsd-kind-interface">FetchRelatedFeaturesOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="../classes/data_FeatureSet.FeatureSet.html" class="tsd-signature-type tsd-kind-class">FeatureSet</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-call-signature" href="data__Relationship.Relationship-1.html#getSerializableProperties.getSerializableProperties-1">getSerializableProperties</a><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">serializeMode</span><span class="tsd-signature-symbol">?: </span><a href="../types/support_Serializable.SerializeMode.html" class="tsd-signature-type tsd-kind-type-alias">SerializeMode</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../types/support_Serializable.PropertyDefs.html" class="tsd-signature-type tsd-kind-type-alias">PropertyDefs</a><span class="tsd-signature-symbol"><</span><a href="data__Relationship.RelationshipProperties.html" class="tsd-signature-type tsd-kind-interface">RelationshipProperties</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-call-signature" href="data__Relationship.Relationship-1.html#toItemUri.toItemUri-1">toItemUri</a><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-call-signature" href="data__Relationship.Relationship-1.html#toJSON.toJSON-1">toJSON</a><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">serializeMode</span><span class="tsd-signature-symbol">?: </span><a href="../types/support_Serializable.SerializeMode.html" class="tsd-signature-type tsd-kind-type-alias">SerializeMode</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol"><</span><a href="data__Relationship.RelationshipProperties.html" class="tsd-signature-type tsd-kind-interface">RelationshipProperties</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span></div><section class="tsd-panel tsd-hierarchy"><h4>Hierarchy (<a href="../hierarchy.html#data/_Relationship.Relationship">view full</a>)</h4><ul class="tsd-hierarchy"><li><a href="Entity.Entity.html" class="tsd-signature-type tsd-kind-interface">Entity</a></li><li><a href="support_Serializable.Serializable.html" class="tsd-signature-type tsd-kind-interface">Serializable</a><span class="tsd-signature-symbol"><</span><a href="data__Relationship.RelationshipProperties.html" class="tsd-signature-type tsd-kind-interface">RelationshipProperties</a><span class="tsd-signature-symbol">></span><ul class="tsd-hierarchy"><li><span class="target">Relationship</span></li></ul></li></ul></section><section class="tsd-panel"><h4>Implemented by</h4><ul class="tsd-hierarchy"><li><a href="../classes/data_RelationshipBase.RelationshipBase.html" class="tsd-signature-type tsd-kind-class">RelationshipBase</a></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">Properties</h3><div class="tsd-index-list"><a href="data__Relationship.Relationship-1.html#cardinality" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>cardinality</span></a>
|
|
4
4
|
<a href="data__Relationship.Relationship-1.html#id" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>id</span></a>
|
|
5
5
|
<a href="data__Relationship.Relationship-1.html#itemType" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>item<wbr/>Type</span></a>
|
|
6
6
|
<a href="data__Relationship.Relationship-1.html#relatedSource" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>related<wbr/>Source</span></a>
|
|
7
7
|
<a href="data__Relationship.Relationship-1.html#relationshipType" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>relationship<wbr/>Type</span></a>
|
|
8
|
-
<a href="data__Relationship.Relationship-1.html#source" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>source
|
|
9
|
-
<a href="data__Relationship.Relationship-1.html#title" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>title
|
|
8
|
+
<a href="data__Relationship.Relationship-1.html#source" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>source?</span></a>
|
|
9
|
+
<a href="data__Relationship.Relationship-1.html#title" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>title?</span></a>
|
|
10
10
|
</div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Methods</h3><div class="tsd-index-list"><a href="data__Relationship.Relationship-1.html#assignProperties" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>assign<wbr/>Properties</span></a>
|
|
11
11
|
<a href="data__Relationship.Relationship-1.html#assignPropertiesAsync" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>assign<wbr/>Properties<wbr/>Async</span></a>
|
|
12
12
|
<a href="data__Relationship.Relationship-1.html#finishAssignProperties" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>finish<wbr/>Assign<wbr/>Properties</span></a>
|
|
@@ -22,8 +22,8 @@ and another source.</p>
|
|
|
22
22
|
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="Entity.Entity.html">Entity</a>.<a href="Entity.Entity.html#id">id</a></p></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="itemType" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Readonly</code><span>item<wbr/>Type</span><a href="#itemType" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">item<wbr/>Type</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><div class="tsd-comment tsd-typography"><p>The item type for this entity when it participates in an App.</p>
|
|
23
23
|
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="Entity.Entity.html">Entity</a>.<a href="Entity.Entity.html#itemType">itemType</a></p></aside></section><section class="tsd-panel tsd-member"><a id="relatedSource" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Readonly</code><span>related<wbr/>Source</span><a href="#relatedSource" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">related<wbr/>Source</span><span class="tsd-signature-symbol">:</span> <a href="data_FeatureSource.FeatureSource.html" class="tsd-signature-type tsd-kind-interface">FeatureSource</a></div><div class="tsd-comment tsd-typography"><p>The feature source with related data, if available.</p>
|
|
24
24
|
</div><div class="tsd-comment tsd-typography"></div></section><section class="tsd-panel tsd-member"><a id="relationshipType" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Readonly</code><span>relationship<wbr/>Type</span><a href="#relationshipType" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">relationship<wbr/>Type</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><div class="tsd-comment tsd-typography"><p>The type of relationship.</p>
|
|
25
|
-
</div><div class="tsd-comment tsd-typography"></div></section><section class="tsd-panel tsd-member"><a id="source" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Readonly</code><span>source</span><a href="#source" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">source</span><span class="tsd-signature-symbol"
|
|
26
|
-
</div><div class="tsd-comment tsd-typography"></div></section><section class="tsd-panel tsd-member"><a id="title" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>title</span><a href="#title" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">title</span><span class="tsd-signature-symbol"
|
|
25
|
+
</div><div class="tsd-comment tsd-typography"></div></section><section class="tsd-panel tsd-member"><a id="source" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Optional</code> <code class="tsd-tag">Readonly</code><span>source</span><a href="#source" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">source</span><span class="tsd-signature-symbol">?:</span> <a href="data_FeatureSource.FeatureSource.html" class="tsd-signature-type tsd-kind-interface">FeatureSource</a></div><div class="tsd-comment tsd-typography"><p>The feature source that owns this relationship.</p>
|
|
26
|
+
</div><div class="tsd-comment tsd-typography"></div></section><section class="tsd-panel tsd-member"><a id="title" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Optional</code><span>title</span><a href="#title" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">title</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div><div class="tsd-comment tsd-typography"><p>The human-readable name for the relationship.</p>
|
|
27
27
|
</div><div class="tsd-comment tsd-typography"></div></section></section></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Methods"><h2><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg> Methods</h2></summary><section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="assignProperties" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>assign<wbr/>Properties</span><a href="#assignProperties" 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-inherited"><li class="tsd-signature tsd-anchor-link"><a id="assignProperties.assignProperties-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">assign<wbr/>Properties</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">properties</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#assignProperties.assignProperties-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-comment tsd-typography"><p>Sets the properties for this item.</p>
|
|
28
28
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">properties</span>: <span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol"><</span><a href="data__Relationship.RelationshipProperties.html" class="tsd-signature-type tsd-kind-interface">RelationshipProperties</a><span class="tsd-signature-symbol">></span></span><div class="tsd-comment tsd-typography"><p>A plain object containing property values to set, keyed
|
|
29
29
|
by property name.</p>
|
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
<!DOCTYPE html><html class="default" lang="en"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>LyrxLayerDefinition | @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/data_support_lpkxInterfaces.html">data/support/lpkxInterfaces</a></li><li><a href="data_support_lpkxInterfaces.LyrxLayerDefinition.html">LyrxLayerDefinition</a></li></ul><h1>Interface LyrxLayerDefinition</h1></div><section class="tsd-panel tsd-comment"><div class="tsd-comment tsd-typography"><p>Definition of a layer within the Lyrx structure.</p>
|
|
2
|
-
</div><div class="tsd-comment tsd-typography"></div></section><div class="tsd-signature"><span class="tsd-signature-keyword">interface </span><span class="tsd-kind-interface">LyrxLayerDefinition</span> <span class="tsd-signature-symbol">{ </span><br/><span> </span><a class="tsd-kind-property" href="data_support_lpkxInterfaces.LyrxLayerDefinition.html#displayField">displayField</a><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-property" href="data_support_lpkxInterfaces.LyrxLayerDefinition.html#featureTable">featureTable</a><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-symbol">{ </span><br/><span> </span><span class="tsd-kind-property">dataConnection</span><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-symbol">{ </span><br/><span> </span><span class="tsd-kind-property">dataset</span><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-property" href="data_support_lpkxInterfaces.LyrxLayerDefinition.html#labelClasses">labelClasses</a><span class="tsd-signature-symbol">?: </span><a href="data_support_lpkxInterfaces.LpkxCimLabelClass.html" class="tsd-signature-type tsd-kind-interface">LpkxCimLabelClass</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-property" href="data_support_lpkxInterfaces.LyrxLayerDefinition.html#name">name</a><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"Polygons"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"Polylines"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"Points"</span><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-property" href="data_support_lpkxInterfaces.LyrxLayerDefinition.html#renderer">renderer</a><span class="tsd-signature-symbol">?: </span><a href="data_support_lpkxInterfaces.LpkxCimRenderer.html" class="tsd-signature-type tsd-kind-interface">LpkxCimRenderer</a><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span></div><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">Properties</h3><div class="tsd-index-list"><a href="data_support_lpkxInterfaces.LyrxLayerDefinition.html#displayField" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>display<wbr/>Field?</span></a>
|
|
2
|
+
</div><div class="tsd-comment tsd-typography"></div></section><div class="tsd-signature"><span class="tsd-signature-keyword">interface </span><span class="tsd-kind-interface">LyrxLayerDefinition</span> <span class="tsd-signature-symbol">{ </span><br/><span> </span><a class="tsd-kind-property" href="data_support_lpkxInterfaces.LyrxLayerDefinition.html#displayField">displayField</a><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-property" href="data_support_lpkxInterfaces.LyrxLayerDefinition.html#featureTable">featureTable</a><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-symbol">{ </span><br/><span> </span><span class="tsd-kind-property">dataConnection</span><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-symbol">{ </span><br/><span> </span><span class="tsd-kind-property">dataset</span><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-kind-property">displayField</span><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-property" href="data_support_lpkxInterfaces.LyrxLayerDefinition.html#labelClasses">labelClasses</a><span class="tsd-signature-symbol">?: </span><a href="data_support_lpkxInterfaces.LpkxCimLabelClass.html" class="tsd-signature-type tsd-kind-interface">LpkxCimLabelClass</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-property" href="data_support_lpkxInterfaces.LyrxLayerDefinition.html#name">name</a><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"Polygons"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"Polylines"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"Points"</span><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-property" href="data_support_lpkxInterfaces.LyrxLayerDefinition.html#renderer">renderer</a><span class="tsd-signature-symbol">?: </span><a href="data_support_lpkxInterfaces.LpkxCimRenderer.html" class="tsd-signature-type tsd-kind-interface">LpkxCimRenderer</a><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-property" href="data_support_lpkxInterfaces.LyrxLayerDefinition.html#type">type</a><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">"CIMGroupLayer"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"CIMAnnotationLayer"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"CIMFeatureLayer"</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span></div><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">Properties</h3><div class="tsd-index-list"><a href="data_support_lpkxInterfaces.LyrxLayerDefinition.html#displayField" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>display<wbr/>Field?</span></a>
|
|
3
3
|
<a href="data_support_lpkxInterfaces.LyrxLayerDefinition.html#featureTable" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>feature<wbr/>Table?</span></a>
|
|
4
4
|
<a href="data_support_lpkxInterfaces.LyrxLayerDefinition.html#labelClasses" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>label<wbr/>Classes?</span></a>
|
|
5
5
|
<a href="data_support_lpkxInterfaces.LyrxLayerDefinition.html#name" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>name</span></a>
|
|
6
6
|
<a href="data_support_lpkxInterfaces.LyrxLayerDefinition.html#renderer" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>renderer?</span></a>
|
|
7
|
+
<a href="data_support_lpkxInterfaces.LyrxLayerDefinition.html#type" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>type?</span></a>
|
|
7
8
|
</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-Properties"><h2><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg> Properties</h2></summary><section><section class="tsd-panel tsd-member"><a id="displayField" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Optional</code><span>display<wbr/>Field</span><a href="#displayField" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">display<wbr/>Field</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div><div class="tsd-comment tsd-typography"><p>The display field name for the layer.</p>
|
|
8
|
-
</div><div class="tsd-comment tsd-typography"></div></section><section class="tsd-panel tsd-member"><a id="featureTable" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Optional</code><span>feature<wbr/>Table</span><a href="#featureTable" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">feature<wbr/>Table</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-symbol">{ </span><br/><span> </span><span class="tsd-kind-property">dataConnection</span><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-symbol">{ </span><br/><span> </span><span class="tsd-kind-property">dataset</span><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span></div><div class="tsd-comment tsd-typography"><p>The feature table configuration for the layer.</p>
|
|
9
|
-
</div><div class="tsd-
|
|
9
|
+
</div><div class="tsd-comment tsd-typography"></div></section><section class="tsd-panel tsd-member"><a id="featureTable" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Optional</code><span>feature<wbr/>Table</span><a href="#featureTable" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">feature<wbr/>Table</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-symbol">{ </span><br/><span> </span><span class="tsd-kind-property">dataConnection</span><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-symbol">{ </span><br/><span> </span><span class="tsd-kind-property">dataset</span><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-kind-property">displayField</span><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span></div><div class="tsd-comment tsd-typography"><p>The feature table configuration for the layer.</p>
|
|
10
|
+
</div><div class="tsd-type-declaration"><h4>Type declaration</h4><ul class="tsd-parameters"><li class="tsd-parameter"><h5><code class="tsd-tag">Optional</code><span class="tsd-kind-property">data<wbr/>Connection</span><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-symbol">{ </span><br/><span> </span><span class="tsd-kind-property">dataset</span><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span></h5><ul class="tsd-parameters"><li class="tsd-parameter"><h5><code class="tsd-tag">Optional</code><span class="tsd-kind-property">dataset</span><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span></h5></li></ul></li><li class="tsd-parameter"><h5><code class="tsd-tag">Optional</code><span class="tsd-kind-property">display<wbr/>Field</span><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span></h5><div class="tsd-comment tsd-typography"><p>The display field for the feature table.</p>
|
|
11
|
+
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><div class="tsd-comment tsd-typography"></div></section><section class="tsd-panel tsd-member"><a id="labelClasses" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Optional</code><span>label<wbr/>Classes</span><a href="#labelClasses" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">label<wbr/>Classes</span><span class="tsd-signature-symbol">?:</span> <a href="data_support_lpkxInterfaces.LpkxCimLabelClass.html" class="tsd-signature-type tsd-kind-interface">LpkxCimLabelClass</a><span class="tsd-signature-symbol">[]</span></div><div class="tsd-comment tsd-typography"><p>The label classes associated with the layer.</p>
|
|
10
12
|
</div><div class="tsd-comment tsd-typography"></div></section><section class="tsd-panel tsd-member"><a id="name" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>name</span><a href="#name" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">name</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"Polygons"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"Polylines"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"Points"</span></div><div class="tsd-comment tsd-typography"><p>The name of the layer.</p>
|
|
11
13
|
</div><div class="tsd-comment tsd-typography"></div></section><section class="tsd-panel tsd-member"><a id="renderer" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Optional</code><span>renderer</span><a href="#renderer" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">renderer</span><span class="tsd-signature-symbol">?:</span> <a href="data_support_lpkxInterfaces.LpkxCimRenderer.html" class="tsd-signature-type tsd-kind-interface">LpkxCimRenderer</a></div><div class="tsd-comment tsd-typography"><p>The renderer configuration for the layer.</p>
|
|
12
|
-
</div><div class="tsd-comment tsd-typography"></div></section
|
|
14
|
+
</div><div class="tsd-comment tsd-typography"></div></section><section class="tsd-panel tsd-member"><a id="type" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Optional</code><span>type</span><a href="#type" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">type</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">"CIMGroupLayer"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"CIMAnnotationLayer"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"CIMFeatureLayer"</span></div><div class="tsd-comment tsd-typography"><p>The type of the layer.</p>
|
|
15
|
+
</div><div class="tsd-comment tsd-typography"></div></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-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Properties</summary><div><a href="#displayField" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>display<wbr/>Field</span></a><a href="#featureTable" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>feature<wbr/>Table</span></a><a href="#labelClasses" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>label<wbr/>Classes</span></a><a href="#name" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>name</span></a><a href="#renderer" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>renderer</span></a><a href="#type" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>type</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>
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
<!DOCTYPE html><html class="default" lang="en"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>InitializeWarningEvent | @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/support_InitializableBase.html">support/InitializableBase</a></li><li><a href="support_InitializableBase.InitializeWarningEvent.html">InitializeWarningEvent</a></li></ul><h1>Interface InitializeWarningEvent</h1></div><section class="tsd-panel tsd-comment"><div class="tsd-comment tsd-typography"><p>Raised when there is an error initializing an
|
|
2
2
|
<a href="../classes/support_InitializableBase.InitializableBase.html" class="tsd-kind-class">support/InitializableBase!InitializableBase</a>.</p>
|
|
3
|
-
</div><div class="tsd-comment tsd-typography"></div></section><div class="tsd-signature"><span class="tsd-signature-keyword">interface </span><span class="tsd-kind-interface">InitializeWarningEvent</span> <span class="tsd-signature-symbol">{ </span><br/><span> </span><a class="tsd-kind-property" href="support_InitializableBase.InitializeWarningEvent.html#error">error</a><span class="tsd-signature-symbol">: </span><a href="../classes/support_InitializeError.InitializeError.html" class="tsd-signature-type tsd-kind-class">InitializeError</a><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-property" href="support_InitializableBase.InitializeWarningEvent.html#target">target</a><span class="tsd-signature-symbol"
|
|
4
|
-
<a href="support_InitializableBase.InitializeWarningEvent.html#target" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>target
|
|
3
|
+
</div><div class="tsd-comment tsd-typography"></div></section><div class="tsd-signature"><span class="tsd-signature-keyword">interface </span><span class="tsd-kind-interface">InitializeWarningEvent</span> <span class="tsd-signature-symbol">{ </span><br/><span> </span><a class="tsd-kind-property" href="support_InitializableBase.InitializeWarningEvent.html#error">error</a><span class="tsd-signature-symbol">: </span><a href="../classes/support_InitializeError.InitializeError.html" class="tsd-signature-type tsd-kind-class">InitializeError</a><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-property" href="support_InitializableBase.InitializeWarningEvent.html#target">target</a><span class="tsd-signature-symbol">?: </span><a href="../classes/support_InitializableBase.InitializableBase.html" class="tsd-signature-type tsd-kind-class">InitializableBase</a><span class="tsd-signature-symbol"><</span><a href="support_InitializableBase.InitializableBaseProperties.html" class="tsd-signature-type tsd-kind-interface">InitializableBaseProperties</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span></div><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">Properties</h3><div class="tsd-index-list"><a href="support_InitializableBase.InitializeWarningEvent.html#error" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>error</span></a>
|
|
4
|
+
<a href="support_InitializableBase.InitializeWarningEvent.html#target" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>target?</span></a>
|
|
5
5
|
</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-Properties"><h2><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg> Properties</h2></summary><section><section class="tsd-panel tsd-member"><a id="error" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>error</span><a href="#error" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">error</span><span class="tsd-signature-symbol">:</span> <a href="../classes/support_InitializeError.InitializeError.html" class="tsd-signature-type tsd-kind-class">InitializeError</a></div><div class="tsd-comment tsd-typography"><p>Original error that occurred.</p>
|
|
6
|
-
</div><div class="tsd-comment tsd-typography"></div></section><section class="tsd-panel tsd-member"><a id="target" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>target</span><a href="#target" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">target</span><span class="tsd-signature-symbol"
|
|
6
|
+
</div><div class="tsd-comment tsd-typography"></div></section><section class="tsd-panel tsd-member"><a id="target" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Optional</code><span>target</span><a href="#target" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">target</span><span class="tsd-signature-symbol">?:</span> <a href="../classes/support_InitializableBase.InitializableBase.html" class="tsd-signature-type tsd-kind-class">InitializableBase</a><span class="tsd-signature-symbol"><</span><a href="support_InitializableBase.InitializableBaseProperties.html" class="tsd-signature-type tsd-kind-interface">InitializableBaseProperties</a><span class="tsd-signature-symbol">></span></div><div class="tsd-comment tsd-typography"><p>The <a href="../classes/support_InitializableBase.InitializableBase.html" class="tsd-kind-class">support/InitializableBase!InitializableBase</a> that raised the
|
|
7
7
|
event.</p>
|
|
8
8
|
</div><div class="tsd-comment tsd-typography"></div></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-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Properties</summary><div><a href="#error" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>error</span></a><a href="#target" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>target</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>
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>SerializableClass | @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/support_Serializable.html">support/Serializable</a></li><li><a href="support_Serializable.SerializableClass.html">SerializableClass</a></li></ul><h1>Type Alias SerializableClass<P, T></h1></div><div class="tsd-signature"><span class="tsd-kind-type-alias">Serializable<wbr/>Class</span><span class="tsd-signature-symbol"><</span><a class="tsd-signature-type tsd-kind-type-parameter" href="support_Serializable.SerializableClass.html#P">P</a><span class="tsd-signature-symbol">, </span><a class="tsd-signature-type tsd-kind-type-parameter" href="support_Serializable.SerializableClass.html#T">T</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-signature-keyword">new </span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">properties</span><span class="tsd-signature-symbol"
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>SerializableClass | @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/support_Serializable.html">support/Serializable</a></li><li><a href="support_Serializable.SerializableClass.html">SerializableClass</a></li></ul><h1>Type Alias SerializableClass<P, T></h1></div><div class="tsd-signature"><span class="tsd-kind-type-alias">Serializable<wbr/>Class</span><span class="tsd-signature-symbol"><</span><a class="tsd-signature-type tsd-kind-type-parameter" href="support_Serializable.SerializableClass.html#P">P</a><span class="tsd-signature-symbol">, </span><a class="tsd-signature-type tsd-kind-type-parameter" href="support_Serializable.SerializableClass.html#T">T</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-signature-keyword">new </span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">properties</span><span class="tsd-signature-symbol">: </span><a class="tsd-signature-type tsd-kind-type-parameter" href="support_Serializable.SerializableClass.html#P">P</a>, <span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">other</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><a class="tsd-signature-type tsd-kind-type-parameter" href="support_Serializable.SerializableClass.html#T">T</a><span class="tsd-signature-symbol">)</span></div><div class="tsd-comment tsd-typography"><p>A class that can take in initial property values in its constructor.</p>
|
|
2
2
|
</div><section class="tsd-panel"><h4>Type Parameters</h4><ul class="tsd-type-parameter-list"><li><span><a id="P" class="tsd-anchor"></a><span class="tsd-kind-type-parameter">P</span></span></li><li><span><a id="T" class="tsd-anchor"></a><span class="tsd-kind-type-parameter">T</span><span class="tsd-signature-keyword"> extends </span><a href="../classes/support_Serializable.SerializableBase.html" class="tsd-signature-type tsd-kind-class">SerializableBase</a><span class="tsd-signature-symbol"><</span><a class="tsd-signature-type tsd-kind-type-parameter" href="support_Serializable.SerializableClass.html#P">P</a><span class="tsd-signature-symbol">></span></span></li></ul></section><div class="tsd-comment tsd-typography"></div></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></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>
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>version | @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/version.html">version</a></li><li><a href="version.version.html">version</a></li></ul><h1>Variable version<code class="tsd-tag">Const</code></h1></div><div class="tsd-signature"><span class="tsd-kind-variable">version</span><span class="tsd-signature-symbol"> = "54.
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>version | @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/version.html">version</a></li><li><a href="version.version.html">version</a></li></ul><h1>Variable version<code class="tsd-tag">Const</code></h1></div><div class="tsd-signature"><span class="tsd-kind-variable">version</span><span class="tsd-signature-symbol"> = "54.3.1"</span></div><div class="tsd-comment tsd-typography"><p>The current version of the Geocortex ArcGIS Extensions API.</p>
|
|
2
2
|
</div><div class="tsd-comment tsd-typography"></div></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></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>
|
|
@@ -56,32 +56,32 @@ export declare class LayerPreset extends EntityBase<LayerPresetProperties> {
|
|
|
56
56
|
/**
|
|
57
57
|
* An optional icon that can be displayed when listing the LayerPreset.
|
|
58
58
|
*/
|
|
59
|
-
icon: string;
|
|
59
|
+
icon: string | undefined;
|
|
60
60
|
/**
|
|
61
61
|
* An optional url to an image that can be displayed when listing the
|
|
62
62
|
* LayerPreset.
|
|
63
63
|
*/
|
|
64
|
-
iconUrl: string;
|
|
64
|
+
iconUrl: string | undefined;
|
|
65
65
|
/**
|
|
66
66
|
* A human readable title for the LayerPreset.
|
|
67
67
|
*/
|
|
68
|
-
title: string;
|
|
68
|
+
title: string | undefined;
|
|
69
69
|
/**
|
|
70
70
|
* A human readable description of the LayerPreset.
|
|
71
71
|
*/
|
|
72
|
-
description: string;
|
|
72
|
+
description: string | undefined;
|
|
73
73
|
/**
|
|
74
74
|
* LayerPresetSettings that can be applied to the layers of a map.
|
|
75
75
|
*/
|
|
76
|
-
layers: Map<string | LayerReference | SublayerReference, LayerPresetSetting
|
|
76
|
+
layers: Map<string | LayerReference | SublayerReference, LayerPresetSetting> | undefined;
|
|
77
77
|
/**
|
|
78
78
|
* Current basemap of a map.
|
|
79
79
|
*/
|
|
80
|
-
basemap: WellKnownBasemap | BasemapProperties;
|
|
80
|
+
basemap: WellKnownBasemap | BasemapProperties | undefined;
|
|
81
81
|
/**
|
|
82
82
|
* Available basemap options of a map.
|
|
83
83
|
*/
|
|
84
|
-
basemapOptions: (WellKnownBasemap | BasemapProperties)[];
|
|
84
|
+
basemapOptions: (WellKnownBasemap | BasemapProperties)[] | undefined;
|
|
85
85
|
/**
|
|
86
86
|
* @inheritDoc
|
|
87
87
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var e;import{__decorate as i}from"tslib";import s from"@arcgis/core/core/Collection";import{EntityBase as t}from"../Entity.js";import{InvalidOperationError as
|
|
1
|
+
var e;import{__decorate as i}from"tslib";import s from"@arcgis/core/core/Collection";import{EntityBase as t}from"../Entity.js";import{InvalidOperationError as n}from"../InvalidOperationError.js";import{ItemType as a}from"../ItemType.js";import{basemapToJson as o}from"../json/BasemapJson.js";import{serializable as r}from"../support/Serializable.js";import{watch as l}from"../support/observableUtils.js";import{ObservableMap as p}from"../utilities/ObservableMap.js";import{createFlattenedLayerXList as c,createRef as d,getBackingLayer as m,isIterable as f,isLayerRefEqual as y,isSublayerRefEqual as u,toMapExtension as b}from"../utilities/_layer-preset.js";import{basemapsAreEquivalent as x,createStandardBasemap as h}from"../utilities/basemaps.js";import{map as L}from"../utilities/iterable.js";import{getLogger as E}from"../utilities/log.js";import{LayerPresetSetting as S}from"./LayerPresetSettings.js";const v=E("layer-preset");let g=e=class extends t{icon;iconUrl;title;description;layers;basemap;basemapOptions;_itemType=a.LAYER_PRESET;static createFrom(i){const s=new e,t=b(i);t.basemapExtension?.basemap&&(s.basemap=o(t.basemapExtension.basemap));for(const e of t.basemapOptions)e.included&&e.basemap&&(s.basemapOptions=s.basemapOptions||[],s.basemapOptions.push(o(e.basemap)));const n=c(t);for(const e of n){const i=O(e);if(null==i)continue;const t=e.allSublayerExtensions;if(t.length>0){i.sublayers=new p;for(const e of t){if(null==e.sublayer)continue;const s=O(e);if(null==s)continue;const t=d(e.sublayer);null!=t&&i.sublayers.set(t,s)}}s.layers=s.layers??new Map;const n=d(e.layer);null!=n&&s.layers.set(n,i)}return s}async applyTo(e){if(f(e)){for(const i of e)await this.applyTo(i);return}const i=b(e);if(this.basemap){const e="string"==typeof this.basemap?await h(this.basemap):this.basemap,s=i.basemapOptions.find((i=>x(i.basemap,e)));s&&(i.basemapExtension=s,s.included=!0)}if(this.basemapOptions){const e=new s;for(const s of await Promise.all(this.basemapOptions.map((async e=>"string"==typeof e?h(e):e)))){const t=i.basemapOptions.find((e=>x(e.basemap,s)));t&&(t.included=!0,e.add(t))}for(const s of i.basemapOptions.toArray())e.includes(s)||i.basemapExtension===s||(s.included=!1)}if(this.layers){const e=c(i);e.forEach((e=>e._resolveLayer()));for(const[i,s]of this.layers.entries()){const t=d(i),n=e.find((i=>{const s=d(i);return"string"==typeof s?.id&&y(s,t,e.toArray())}));if(n){j(s,n),e.remove(n);const i=()=>{const e=n.allSublayerExtensions.toArray();for(const[i,t]of s.sublayers.entries()){const s=d(i),n=e.find((e=>{const i=d(e);return null!=i&&u(i,s)}));n&&(j(t,n),e.splice(e.indexOf(n),1))}};n.layer.loaded?i():l(n.layer,"loaded",(()=>{try{i()}catch(e){v.error({message:`Error applying LayerPreset to sublayers of LayerExtension with ID '${n.id}' and title '${n.title}'.`,error:e})}}),{once:!0})}}}}_getSerializableProperties(){return{...super._getSerializableProperties(),title:"initial",iconUrl:"initial",description:"initial",layers:{serializeModes:["initial"],serialize:e=>{if(this.layers)return Array.from(L(this.layers.entries(),(i=>{let s={layer:i[0]};const t=i[1].toJSON(e);return s={...s,...t,sublayers:t?.sublayers},s})))},deserialize:e=>{if(this.layers=new Map,null!=e)for(const i of e){if(!i.layer)throw new n("Cannot define a LayerPresetSetting that does not have layer reference.");this.layers.set(i.layer,new S(i))}},isDefault:e=>!e},icon:"initial",basemap:"initial",basemapOptions:{serializeModes:["initial"]}}}};g=e=i([r],g);export{g as LayerPreset};function O(e){const i=new S,s=m(e);if(i.visible=s.visible,i.opacity=s.opacity,"definitionExpression"in s&&(i.definitionExpression=s.definitionExpression),e.layerListSettings.included)return i.expanded=e.layerListSettings.expanded,i}function j(e,i){const s=m(i);void 0!==e.definitionExpression&&null!==e.definitionExpression&&"definitionExpression"in s&&(s.definitionExpression=e.definitionExpression),void 0!==e.visible&&null!==e.visible&&(s.visible=e.visible),void 0!==e.opacity&&null!==e.opacity&&(s.opacity=e.opacity),void 0!==e.maxScale&&null!==e.maxScale&&(s.maxScale=e.maxScale),void 0!==e.minScale&&null!==e.minScale&&(s.minScale=e.minScale),void 0!==e.includedInLayerList&&null!==e.includedInLayerList&&(i.layerListSettings.included=e.includedInLayerList),void 0!==e.expanded&&null!==e.expanded&&(i.layerListSettings.expanded=e.expanded),void 0!==e.childrenIncludedInLayerList&&null!==e.childrenIncludedInLayerList&&(i.layerListSettings.childrenIncluded=e.childrenIncludedInLayerList)}
|
package/locale/language.d.ts
CHANGED
|
@@ -37,7 +37,7 @@ export declare class LanguageRegistry {
|
|
|
37
37
|
* @param key The unique key of the registered string.
|
|
38
38
|
* @param args The values to substitute into the format string.
|
|
39
39
|
*/
|
|
40
|
-
get(key: string, ...args: unknown[]): string;
|
|
40
|
+
get(key: string, ...args: unknown[]): string | undefined;
|
|
41
41
|
/**
|
|
42
42
|
* Gets a string with a unique key and locale. The current locale is used if
|
|
43
43
|
* no locale is provided. Uses default locale (inv) to look up string if it
|
|
@@ -46,8 +46,8 @@ export declare class LanguageRegistry {
|
|
|
46
46
|
* @param options The options object that contains the key and locale.
|
|
47
47
|
* @param args The values to substitute into the format string.
|
|
48
48
|
*/
|
|
49
|
-
get(options: LanguageResource, ...args: unknown[]): string;
|
|
50
|
-
get(options: string | LanguageResource, ...args: unknown[]): string;
|
|
49
|
+
get(options: LanguageResource, ...args: unknown[]): string | undefined;
|
|
50
|
+
get(options: string | LanguageResource, ...args: unknown[]): string | undefined;
|
|
51
51
|
/**
|
|
52
52
|
* Whether a string is registered with the unique key and locale. The
|
|
53
53
|
* current locale is used if no locale is provided. Uses default locale
|
|
@@ -78,7 +78,7 @@ export declare function setDefaultLocale(locale: string): void;
|
|
|
78
78
|
* @param key The unique key of the registered string.
|
|
79
79
|
* @param args The values to substitute into the format string.
|
|
80
80
|
*/
|
|
81
|
-
export declare function translate(key: string | LanguageResource, ...args: unknown[]): string;
|
|
81
|
+
export declare function translate(key: string | LanguageResource, ...args: unknown[]): string | undefined;
|
|
82
82
|
/**
|
|
83
83
|
* Whether a string is registered with the unique key and locale. The current
|
|
84
84
|
* locale is used if no locale is provided.
|
package/locale/language.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{INVARIANT as e,get as t,getMatchingLocales as
|
|
1
|
+
import{INVARIANT as e,get as t,getMatchingLocales as i}from"../locale.js";import{checkArg as s}from"../utilities/checkArg.js";import{format as n}from"../utilities/format/string.js";const o=new Map;o.set("inv",{"gcx.api.data.convert.import-field-alias":"field{0}","gcx.api.mapping.kml-sublayer-extension.schema.id":"ID","gcx.api.mapping.kml-sublayer-extension.schema.name":"Name","gcx.api.mapping.kml-sublayer-extension.schema.description":"Description","gcx.api.mapping.kml-sublayer-extension.schema.visibility":"Visibility","gcx.api.mapping.kml-sublayer-extension.schema.balloonStyleText":"Popup Description","gcx.api.mapping.kml-sublayer-extension.schema.styleUrl":"Style Url"});export class LanguageRegistry{defaultLocale=e;_registeredStrings=new Map;localeKeyJoin="\0KEY\0";add(e){s("resources",e).isNotMissing();for(const[t,i]of e.values.entries()){const s=this._createUniqueKey(t,e.locale);this._registeredStrings.set(s,i)}}get(e,...t){let i;s("options",e).isNotMissing(),i="string"==typeof e?{key:e}:{...e};const a=this._getLocales(i.locale);let r;for(const e of a){const s=this._createUniqueKey(i.key,e);if(r=this._registeredStrings.get(s)??o.get(e)?.[i.key],"string"==typeof r){const e={...i,format:r,locale:i.locale};return n(e,...t)}}}has(e){let t;t="string"==typeof e?{key:e}:{...e};const i=this._getLocales(t.locale);for(const e of i){const i=this._createUniqueKey(t.key,e);if(this._registeredStrings.has(i)||void 0!==o.get(e)?.[t.key])return!0}return!1}_createUniqueKey(e,t){return`${t}${this.localeKeyJoin}${e}`}_getLocales(s){const n=i(s??t());if(!n.includes(this.defaultLocale)){const t=n.indexOf(e),s=i(this.defaultLocale);t<0?n.push(...s):n.splice(t,0,...s)}return n.includes(e)||n.push(e),n}}const a=new LanguageRegistry;export function registerLanguageResources(e){a.add(e)}export function setDefaultLocale(e){a.defaultLocale=e}export function translate(e,...t){return a.get(e,...t)}export function isRegisteredLanguageResource(e,t){return a.has({key:e,locale:t})}
|
package/mapping/Bookmark.d.ts
CHANGED
|
@@ -42,15 +42,15 @@ export declare class Bookmark extends EntityBase<BookmarkProperties> {
|
|
|
42
42
|
/**
|
|
43
43
|
* The source the bookmark came from.
|
|
44
44
|
*/
|
|
45
|
-
source: BookmarkSource;
|
|
45
|
+
source: BookmarkSource | undefined;
|
|
46
46
|
/**
|
|
47
47
|
* A human-readable title for the bookmark.
|
|
48
48
|
*/
|
|
49
|
-
title: string;
|
|
49
|
+
title: string | undefined;
|
|
50
50
|
/**
|
|
51
51
|
* The saved viewpoint to navigate to.
|
|
52
52
|
*/
|
|
53
|
-
viewpoint: Viewpoint;
|
|
53
|
+
viewpoint: Viewpoint | undefined;
|
|
54
54
|
/**
|
|
55
55
|
* @inheritDoc
|
|
56
56
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{createFeatureServices as e}from"@arcgis/core/rest/featureService/utils";import{FeatureSaveError as t}from"../../data/FeatureSaveError.js";import{applyEditsProcessEditedFeatures as a,applyEditsProcessResults as s}from"../../support/_featureEdit.js";import{getGdbVersion as r}from"../../utilities/_version.js";import{isFeatureLayerExtension as d,isSubtypeGroupLayerExtension as u,isSubtypeSublayerExtension as i}from"../../utilities/extensions.js";import{map as o}from"../../utilities/iterable.js";import{getGlobalIdField as l,isGlobalIdUsed as n}from"./layers.js";export async function applyEdits(c){const{addFeatures:p=[],updateFeatures:m=[],deleteFeatures:F=[]}=c,f=new Map,h=new WeakMap,g=new WeakMap,y=new WeakMap,E=(e,t)=>{const a=(e=>d(e.source)||u(e.source)?e.source.layer:i(e.source)?e.source.layerExtension.layer:e.source.table)(e),s=l(a),{objectIdField:r}=a;f.has(a)||f.set(a,{id:a.layerId,identifierFields:{globalIdField:s,objectIdField:r},addFeatures:[],updateFeatures:[],deleteFeatures:[],addAttachments:void 0,updateAttachments:void 0,deleteAttachments:void 0});const o=f.get(a),n=e.toGraphic();"updateFeatures"===t&&e.source?.schema.fieldExtensions.forEach((e=>{e.field.editable||e.field.name===r||e.field.name===s||delete n.attributes[e.field.name]})),o[t].push(n);let c=h;"updateFeatures"===t?c=g:"deleteFeatures"===t&&(c=y),c.has(a)||c.set(a,[]),c.get(a).push(e)};p.forEach((e=>E(e,"addFeatures"))),m.forEach((e=>E(e,"updateFeatures"))),F.forEach((e=>E(e,"deleteFeatures")));const b=e([...f.keys()]),w=new t("Errors encountered when applying edits."),v=await Promise.all(o(b.values(),(async({featureService:e,layers:t})=>{await e.load();const d=[];t.forEach((e=>{d.push(f.get(e))}));try{const u=await e.applyEdits(d,{globalIdUsed:t.every((e=>n(e,f.get(e)))),gdbVersion:t[0]
|
|
1
|
+
import{createFeatureServices as e}from"@arcgis/core/rest/featureService/utils";import{FeatureSaveError as t}from"../../data/FeatureSaveError.js";import{applyEditsProcessEditedFeatures as a,applyEditsProcessResults as s}from"../../support/_featureEdit.js";import{getGdbVersion as r}from"../../utilities/_version.js";import{isFeatureLayerExtension as d,isSubtypeGroupLayerExtension as u,isSubtypeSublayerExtension as i}from"../../utilities/extensions.js";import{map as o}from"../../utilities/iterable.js";import{getGlobalIdField as l,isGlobalIdUsed as n}from"./layers.js";export async function applyEdits(c){const{addFeatures:p=[],updateFeatures:m=[],deleteFeatures:F=[]}=c,f=new Map,h=new WeakMap,g=new WeakMap,y=new WeakMap,E=(e,t)=>{const a=(e=>d(e.source)||u(e.source)?e.source.layer:i(e.source)?e.source.layerExtension.layer:e.source.table)(e),s=l(a),{objectIdField:r}=a;f.has(a)||f.set(a,{id:a.layerId,identifierFields:{globalIdField:s,objectIdField:r},addFeatures:[],updateFeatures:[],deleteFeatures:[],addAttachments:void 0,updateAttachments:void 0,deleteAttachments:void 0});const o=f.get(a),n=e.toGraphic();"updateFeatures"===t&&e.source?.schema.fieldExtensions.forEach((e=>{e.field.editable||e.field.name===r||e.field.name===s||delete n.attributes[e.field.name]})),o[t].push(n);let c=h;"updateFeatures"===t?c=g:"deleteFeatures"===t&&(c=y),c.has(a)||c.set(a,[]),c.get(a).push(e)};p.forEach((e=>E(e,"addFeatures"))),m.forEach((e=>E(e,"updateFeatures"))),F.forEach((e=>E(e,"deleteFeatures")));const b=e([...f.keys()]),w=new t("Errors encountered when applying edits."),v=await Promise.all(o(b.values(),(async({featureService:e,layers:t})=>{await e.load();const d=[];t.forEach((e=>{d.push(f.get(e))}));try{const u=await e.applyEdits(d,{globalIdUsed:t.every((e=>n(e,f.get(e)))),gdbVersion:t[0]?.gdbVersion??r(t[0]?.customParameters)});for(const e of u){const r=t.find((t=>t.layerId===e.id));null!=r&&(s(r,h.get(r),e.addFeatureResults,"add",w),s(r,g.get(r),e.updateFeatureResults,"update",w),s(r,y.get(r),e.deleteFeatureResults,"delete",w),null!=e.editedFeatures&&a(r,{adds:h.get(r),updates:g.get(r)},e.editedFeatures),r.emit("edits",{deletedFeatures:e.deleteFeatureResults??[],updatedFeatures:e.updateFeatureResults??[],addedFeatures:e.addFeatureResults??[],deletedAttachments:[],updatedAttachments:[],addedAttachments:[],exceededTransferLimit:!1}))}return u}catch(e){return w.errors.set("",e),[]}})));if(w.errors.size>0)throw w;return v}
|
package/menus/Menu.d.ts
CHANGED
|
@@ -27,7 +27,7 @@ export declare class Menu<TMenuItemProps extends MenuItemProperties = MenuItemPr
|
|
|
27
27
|
/**
|
|
28
28
|
* The parent menu item of this menu.
|
|
29
29
|
*/
|
|
30
|
-
get parentItem(): TMenuItem;
|
|
30
|
+
get parentItem(): TMenuItem | undefined;
|
|
31
31
|
/**
|
|
32
32
|
* The factory that will be used whenever a new menu needs to be created.
|
|
33
33
|
* Applications can supply their own factory to customize menu creation.
|
package/menus/Menu.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var e;import{__decorate as t}from"tslib";import i from"@arcgis/core/core/Collection";import{EntityBase as r}from"../Entity.js";import{InvalidOperationError as s}from"../InvalidOperationError.js";import{isMenuItem as n,ItemType as o}from"../ItemType.js";import{serializable as m}from"../support/Serializable.js";import{CollectionProxy as a}from"../utilities/CollectionProxy.js";import{checkArg as u}from"../utilities/checkArg.js";import{compare as l}from"../utilities/collection.js";import{getLogger as c}from"../utilities/log.js";import{MenuItem as p}from"./MenuItem.js";const d=c("geocortex.api.menus.Menu");let h=class extends r{static{e=this}get parentItem(){return this._parentItem}static factory;get title(){return this._title}set title(e){this._title=e}get items(){return this._items}_parentItem;_itemType=o.MENU;_title;_items;constructor(e){super(e),this._items=new f(this)}static create(t){if(!e.factory)throw new s("Cannot create menu: no menu factory has been registered.");return e.factory.create(t)}*_initializableChildCollections(){yield*super._initializableChildCollections(),yield this.items}_getSerializableProperties(){return{...super._getSerializableProperties(),items:{serializeModes:["initial"],default:[],deserialize:e=>{const t=new Map;for(const i of e)n(i)?t.set(i.toJSON(),i):t.set(i,void 0);l(this.items,t.keys(),{onNew:e=>{this.items.add(t.get(e)||p.create(e))},onMissing:e=>{this.items.remove(e)},onMatch:(e,i,r,s)=>{r!==s&&this.items.reorder(e,s),t.get(i)!==e&&e.assignProperties(i)},equals:(e,t)=>e.id===t.id})}},title:"initial"}}};h=e=t([m],h);export{h as Menu};class f extends a{_menu;constructor(e){super(new i),this._menu=e}add(e,t){if(u("menuItem",e).isNotMissing(),this._createsCircularReference(this._allSubmenus(e)))throw new s("Adding menu item would create circular menu dependency.");return e.menu&&(e.menu!==this._menu&&d.debug("A MenuItem can only have one parent. The MenuItem has been removed from its original Menu."),e.menu.items.remove(e)),e._menu=this._menu,super.add(e,t)}removeAt(e){const t=super.removeAt(e);return t&&
|
|
1
|
+
var e;import{__decorate as t}from"tslib";import i from"@arcgis/core/core/Collection";import{EntityBase as r}from"../Entity.js";import{InvalidOperationError as s}from"../InvalidOperationError.js";import{isMenuItem as n,ItemType as o}from"../ItemType.js";import{serializable as m}from"../support/Serializable.js";import{CollectionProxy as a}from"../utilities/CollectionProxy.js";import{checkArg as u}from"../utilities/checkArg.js";import{compare as l}from"../utilities/collection.js";import{getLogger as c}from"../utilities/log.js";import{MenuItem as p}from"./MenuItem.js";const d=c("geocortex.api.menus.Menu");let h=class extends r{static{e=this}get parentItem(){return this._parentItem}static factory;get title(){return this._title}set title(e){this._title=e}get items(){return this._items}_parentItem;_itemType=o.MENU;_title;_items;constructor(e){super(e),this._items=new f(this)}static create(t){if(!e.factory)throw new s("Cannot create menu: no menu factory has been registered.");return e.factory.create(t)}*_initializableChildCollections(){yield*super._initializableChildCollections(),yield this.items}_getSerializableProperties(){return{...super._getSerializableProperties(),items:{serializeModes:["initial"],default:[],deserialize:e=>{const t=new Map;if(e)for(const i of e)n(i)?t.set(i.toJSON(),i):t.set(i,void 0);l(this.items,t.keys(),{onNew:e=>{this.items.add(t.get(e)||p.create(e))},onMissing:e=>{this.items.remove(e)},onMatch:(e,i,r,s)=>{r!==s&&this.items.reorder(e,s),t.get(i)!==e&&e.assignProperties(i)},equals:(e,t)=>e.id===t.id})}},title:"initial"}}};h=e=t([m],h);export{h as Menu};class f extends a{_menu;constructor(e){super(new i),this._menu=e}add(e,t){if(u("menuItem",e).isNotMissing(),this._createsCircularReference(this._allSubmenus(e)))throw new s("Adding menu item would create circular menu dependency.");return e.menu&&(e.menu!==this._menu&&d.debug("A MenuItem can only have one parent. The MenuItem has been removed from its original Menu."),e.menu.items.remove(e)),e._menu=this._menu,super.add(e,t)}removeAt(e){const t=super.removeAt(e);return t&&(t._menu=void 0),t}_createsCircularReference(e,t,i){const r=t??this._menu,s=i??(this._menu.parentItem?.root?this._menu.parentItem.root:this._menu);if(e.includes(r))return!0;if(r===s)return!1;const n=r.parentItem?.menu;return this._createsCircularReference(e,n,s)}_allSubmenus(e){const t=new i;if(e.submenu){t.add(e.submenu);for(const i of e.submenu.items.toArray())t.addMany(this._allSubmenus(i))}return t}}h.factory={create:e=>new h(e)};
|