@jbrowse/plugin-data-management 2.17.0 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/AddConnectionWidget/components/AddConnectionWidget.d.ts +1 -2
- package/dist/AddConnectionWidget/components/AddConnectionWidget.js +31 -62
- package/dist/AddConnectionWidget/components/ConfigureConnection.d.ts +4 -5
- package/dist/AddConnectionWidget/components/ConfigureConnection.js +5 -28
- package/dist/AddConnectionWidget/components/ConnectionTypeSelect.d.ts +2 -3
- package/dist/AddConnectionWidget/components/ConnectionTypeSelect.js +6 -32
- package/dist/AddConnectionWidget/index.d.ts +1 -1
- package/dist/AddConnectionWidget/index.js +18 -8
- package/dist/AddConnectionWidget/model.js +1 -1
- package/dist/AddTrackWidget/components/AddTrackStatusMessage.d.ts +9 -0
- package/dist/AddTrackWidget/components/AddTrackStatusMessage.js +16 -0
- package/dist/AddTrackWidget/components/AddTrackUnknownAdapterPrompt.d.ts +4 -0
- package/dist/AddTrackWidget/components/AddTrackUnknownAdapterPrompt.js +19 -0
- package/dist/AddTrackWidget/components/AddTrackWidget.d.ts +2 -3
- package/dist/AddTrackWidget/components/AddTrackWidget.js +7 -35
- package/dist/AddTrackWidget/components/ConfirmTrack.d.ts +2 -3
- package/dist/AddTrackWidget/components/ConfirmTrack.js +38 -97
- package/dist/AddTrackWidget/components/DefaultAddTrackWorkflow.d.ts +2 -3
- package/dist/AddTrackWidget/components/DefaultAddTrackWorkflow.js +24 -107
- package/dist/AddTrackWidget/components/PasteConfigWorkflow.d.ts +2 -3
- package/dist/AddTrackWidget/components/PasteConfigWorkflow.js +31 -51
- package/dist/AddTrackWidget/components/TextIndexingConfig.d.ts +2 -3
- package/dist/AddTrackWidget/components/TextIndexingConfig.js +38 -76
- package/dist/AddTrackWidget/components/TrackAdapterSelector.d.ts +2 -3
- package/dist/AddTrackWidget/components/TrackAdapterSelector.js +13 -40
- package/dist/AddTrackWidget/components/TrackSourceSelect.d.ts +2 -3
- package/dist/AddTrackWidget/components/TrackSourceSelect.js +4 -10
- package/dist/AddTrackWidget/components/TrackTypeSelector.d.ts +3 -4
- package/dist/AddTrackWidget/components/TrackTypeSelector.js +8 -17
- package/dist/AddTrackWidget/components/Unsupported.d.ts +1 -0
- package/dist/AddTrackWidget/components/Unsupported.js +15 -0
- package/dist/AddTrackWidget/components/doSubmit.d.ts +4 -0
- package/dist/AddTrackWidget/components/doSubmit.js +50 -0
- package/dist/AddTrackWidget/components/util.d.ts +2 -0
- package/dist/AddTrackWidget/components/util.js +15 -0
- package/dist/AddTrackWidget/index.d.ts +1 -1
- package/dist/AddTrackWidget/index.js +18 -8
- package/dist/AddTrackWidget/model.d.ts +16 -84
- package/dist/AddTrackWidget/model.js +46 -94
- package/dist/AssemblyManager/AssemblyAddForm.d.ts +5 -6
- package/dist/AssemblyManager/AssemblyAddForm.js +82 -128
- package/dist/AssemblyManager/AssemblyEditor.d.ts +4 -4
- package/dist/AssemblyManager/AssemblyEditor.js +7 -7
- package/dist/AssemblyManager/AssemblyManager.d.ts +5 -5
- package/dist/AssemblyManager/AssemblyManager.js +19 -55
- package/dist/AssemblyManager/AssemblyTable.d.ts +8 -12
- package/dist/AssemblyManager/AssemblyTable.js +42 -35
- package/dist/HierarchicalTrackSelectorWidget/components/HierarchicalFab.d.ts +2 -3
- package/dist/HierarchicalTrackSelectorWidget/components/HierarchicalFab.js +22 -50
- package/dist/HierarchicalTrackSelectorWidget/components/HierarchicalTrackSelector.d.ts +2 -3
- package/dist/HierarchicalTrackSelectorWidget/components/HierarchicalTrackSelector.js +7 -35
- package/dist/HierarchicalTrackSelectorWidget/components/ShoppingCart.d.ts +2 -3
- package/dist/HierarchicalTrackSelectorWidget/components/ShoppingCart.js +21 -11
- package/dist/HierarchicalTrackSelectorWidget/components/dialogs/CloseConnectionDialog.d.ts +1 -2
- package/dist/HierarchicalTrackSelectorWidget/components/dialogs/CloseConnectionDialog.js +8 -19
- package/dist/HierarchicalTrackSelectorWidget/components/dialogs/DeleteConnectionDialog.d.ts +3 -4
- package/dist/HierarchicalTrackSelectorWidget/components/dialogs/DeleteConnectionDialog.js +9 -17
- package/dist/HierarchicalTrackSelectorWidget/components/dialogs/ManageConnectionsDialog.d.ts +3 -4
- package/dist/HierarchicalTrackSelectorWidget/components/dialogs/ManageConnectionsDialog.js +14 -27
- package/dist/HierarchicalTrackSelectorWidget/components/dialogs/ToggleConnectionsDialog.d.ts +3 -4
- package/dist/HierarchicalTrackSelectorWidget/components/dialogs/ToggleConnectionsDialog.js +10 -19
- package/dist/HierarchicalTrackSelectorWidget/components/faceted/FacetFilter.d.ts +2 -3
- package/dist/HierarchicalTrackSelectorWidget/components/faceted/FacetFilter.js +21 -58
- package/dist/HierarchicalTrackSelectorWidget/components/faceted/FacetFilters.d.ts +3 -4
- package/dist/HierarchicalTrackSelectorWidget/components/faceted/FacetFilters.js +22 -26
- package/dist/HierarchicalTrackSelectorWidget/components/faceted/FacetedDataGrid.d.ts +9 -0
- package/dist/HierarchicalTrackSelectorWidget/components/faceted/FacetedDataGrid.js +71 -0
- package/dist/HierarchicalTrackSelectorWidget/components/faceted/FacetedDialog.d.ts +2 -3
- package/dist/HierarchicalTrackSelectorWidget/components/faceted/FacetedDialog.js +3 -5
- package/dist/HierarchicalTrackSelectorWidget/components/faceted/FacetedHeader.d.ts +2 -3
- package/dist/HierarchicalTrackSelectorWidget/components/faceted/FacetedHeader.js +47 -82
- package/dist/HierarchicalTrackSelectorWidget/components/faceted/FacetedSelector.d.ts +3 -4
- package/dist/HierarchicalTrackSelectorWidget/components/faceted/FacetedSelector.js +17 -112
- package/dist/HierarchicalTrackSelectorWidget/components/tree/DropdownTrackSelector.d.ts +4 -5
- package/dist/HierarchicalTrackSelectorWidget/components/tree/DropdownTrackSelector.js +7 -32
- package/dist/HierarchicalTrackSelectorWidget/components/tree/FavoriteTracks.d.ts +2 -3
- package/dist/HierarchicalTrackSelectorWidget/components/tree/FavoriteTracks.js +5 -9
- package/dist/HierarchicalTrackSelectorWidget/components/tree/HamburgerMenu.d.ts +2 -3
- package/dist/HierarchicalTrackSelectorWidget/components/tree/HamburgerMenu.js +124 -124
- package/dist/HierarchicalTrackSelectorWidget/components/tree/HierarchicalHeader.d.ts +2 -3
- package/dist/HierarchicalTrackSelectorWidget/components/tree/HierarchicalHeader.js +8 -17
- package/dist/HierarchicalTrackSelectorWidget/components/tree/HierarchicalTree.d.ts +3 -4
- package/dist/HierarchicalTrackSelectorWidget/components/tree/HierarchicalTree.js +5 -40
- package/dist/HierarchicalTrackSelectorWidget/components/tree/RecentlyUsedTracks.d.ts +2 -3
- package/dist/HierarchicalTrackSelectorWidget/components/tree/RecentlyUsedTracks.js +6 -10
- package/dist/HierarchicalTrackSelectorWidget/components/tree/TrackCategory.d.ts +2 -3
- package/dist/HierarchicalTrackSelectorWidget/components/tree/TrackCategory.js +46 -78
- package/dist/HierarchicalTrackSelectorWidget/components/tree/TrackLabel.d.ts +3 -4
- package/dist/HierarchicalTrackSelectorWidget/components/tree/TrackLabel.js +19 -15
- package/dist/HierarchicalTrackSelectorWidget/components/tree/TrackLabelMenu.d.ts +3 -4
- package/dist/HierarchicalTrackSelectorWidget/components/tree/TrackLabelMenu.js +6 -8
- package/dist/HierarchicalTrackSelectorWidget/components/tree/TrackListNode.d.ts +2 -3
- package/dist/HierarchicalTrackSelectorWidget/components/tree/TrackListNode.js +6 -19
- package/dist/HierarchicalTrackSelectorWidget/components/util.d.ts +4 -4
- package/dist/HierarchicalTrackSelectorWidget/components/util.js +1 -4
- package/dist/HierarchicalTrackSelectorWidget/facetedModel.d.ts +2 -61
- package/dist/HierarchicalTrackSelectorWidget/facetedModel.js +14 -76
- package/dist/HierarchicalTrackSelectorWidget/filterTracks.d.ts +1 -1
- package/dist/HierarchicalTrackSelectorWidget/generateHierarchy.d.ts +2 -2
- package/dist/HierarchicalTrackSelectorWidget/generateHierarchy.js +0 -13
- package/dist/HierarchicalTrackSelectorWidget/index.d.ts +1 -1
- package/dist/HierarchicalTrackSelectorWidget/index.js +20 -10
- package/dist/HierarchicalTrackSelectorWidget/model.d.ts +3 -177
- package/dist/HierarchicalTrackSelectorWidget/model.js +3 -183
- package/dist/HierarchicalTrackSelectorWidget/util.d.ts +2 -2
- package/dist/HierarchicalTrackSelectorWidget/util.js +0 -3
- package/dist/PluginStoreWidget/components/AddCustomPluginDialog.d.ts +2 -3
- package/dist/PluginStoreWidget/components/AddCustomPluginDialog.js +19 -59
- package/dist/PluginStoreWidget/components/DeletePluginDialog.d.ts +1 -2
- package/dist/PluginStoreWidget/components/DeletePluginDialog.js +10 -23
- package/dist/PluginStoreWidget/components/InstalledPlugin.d.ts +3 -4
- package/dist/PluginStoreWidget/components/InstalledPlugin.js +45 -37
- package/dist/PluginStoreWidget/components/InstalledPluginsList.d.ts +3 -4
- package/dist/PluginStoreWidget/components/InstalledPluginsList.js +5 -5
- package/dist/PluginStoreWidget/components/PluginCard.d.ts +4 -6
- package/dist/PluginStoreWidget/components/PluginCard.js +25 -55
- package/dist/PluginStoreWidget/components/PluginStoreWidget.d.ts +2 -3
- package/dist/PluginStoreWidget/components/PluginStoreWidget.js +53 -61
- package/dist/PluginStoreWidget/components/util.d.ts +1 -1
- package/dist/PluginStoreWidget/components/util.js +0 -1
- package/dist/PluginStoreWidget/index.d.ts +1 -1
- package/dist/PluginStoreWidget/index.js +18 -8
- package/dist/PluginStoreWidget/model.d.ts +2 -8
- package/dist/PluginStoreWidget/model.js +1 -19
- package/dist/{ucsc-trackhub → UCSCTrackHub}/configSchema.d.ts +0 -6
- package/dist/{ucsc-trackhub → UCSCTrackHub}/configSchema.js +2 -14
- package/{esm/ucsc-trackhub → dist/UCSCTrackHub}/doConnect.d.ts +1 -1
- package/dist/{ucsc-trackhub → UCSCTrackHub}/doConnect.js +19 -15
- package/dist/{ucsc-trackhub → UCSCTrackHub}/index.d.ts +1 -1
- package/dist/{ucsc-trackhub → UCSCTrackHub}/index.js +11 -9
- package/dist/{ucsc-trackhub → UCSCTrackHub}/model.d.ts +1 -14
- package/dist/{ucsc-trackhub → UCSCTrackHub}/model.js +18 -23
- package/dist/{ucsc-trackhub → UCSCTrackHub}/ucscAssemblies.js +0 -3
- package/dist/{ucsc-trackhub → UCSCTrackHub}/ucscTrackHub.d.ts +54 -37
- package/dist/UCSCTrackHub/ucscTrackHub.js +170 -0
- package/dist/UCSCTrackHub/util.d.ts +22 -0
- package/dist/UCSCTrackHub/util.js +41 -0
- package/dist/index.d.ts +11 -11
- package/dist/index.js +21 -11
- package/esm/AddConnectionWidget/components/AddConnectionWidget.d.ts +1 -2
- package/esm/AddConnectionWidget/components/AddConnectionWidget.js +31 -39
- package/esm/AddConnectionWidget/components/ConfigureConnection.d.ts +4 -5
- package/esm/AddConnectionWidget/components/ConfigureConnection.js +5 -5
- package/esm/AddConnectionWidget/components/ConnectionTypeSelect.d.ts +2 -3
- package/esm/AddConnectionWidget/components/ConnectionTypeSelect.js +6 -9
- package/esm/AddConnectionWidget/index.d.ts +1 -1
- package/esm/AddConnectionWidget/index.js +1 -1
- package/esm/AddConnectionWidget/model.js +1 -1
- package/esm/AddTrackWidget/components/AddTrackStatusMessage.d.ts +9 -0
- package/esm/AddTrackWidget/components/AddTrackStatusMessage.js +13 -0
- package/esm/AddTrackWidget/components/AddTrackUnknownAdapterPrompt.d.ts +4 -0
- package/esm/AddTrackWidget/components/AddTrackUnknownAdapterPrompt.js +13 -0
- package/esm/AddTrackWidget/components/AddTrackWidget.d.ts +2 -3
- package/esm/AddTrackWidget/components/AddTrackWidget.js +7 -12
- package/esm/AddTrackWidget/components/ConfirmTrack.d.ts +2 -3
- package/esm/AddTrackWidget/components/ConfirmTrack.js +39 -75
- package/esm/AddTrackWidget/components/DefaultAddTrackWorkflow.d.ts +2 -3
- package/esm/AddTrackWidget/components/DefaultAddTrackWorkflow.js +25 -85
- package/esm/AddTrackWidget/components/PasteConfigWorkflow.d.ts +2 -3
- package/esm/AddTrackWidget/components/PasteConfigWorkflow.js +31 -28
- package/esm/AddTrackWidget/components/TextIndexingConfig.d.ts +2 -3
- package/esm/AddTrackWidget/components/TextIndexingConfig.js +39 -54
- package/esm/AddTrackWidget/components/TrackAdapterSelector.d.ts +2 -3
- package/esm/AddTrackWidget/components/TrackAdapterSelector.js +13 -37
- package/esm/AddTrackWidget/components/TrackSourceSelect.d.ts +2 -3
- package/esm/AddTrackWidget/components/TrackSourceSelect.js +4 -7
- package/esm/AddTrackWidget/components/TrackTypeSelector.d.ts +3 -4
- package/esm/AddTrackWidget/components/TrackTypeSelector.js +8 -14
- package/esm/AddTrackWidget/components/Unsupported.d.ts +1 -0
- package/esm/AddTrackWidget/components/Unsupported.js +12 -0
- package/esm/AddTrackWidget/components/doSubmit.d.ts +4 -0
- package/esm/AddTrackWidget/components/doSubmit.js +47 -0
- package/esm/AddTrackWidget/components/util.d.ts +2 -0
- package/esm/AddTrackWidget/components/util.js +12 -0
- package/esm/AddTrackWidget/index.d.ts +1 -1
- package/esm/AddTrackWidget/index.js +1 -1
- package/esm/AddTrackWidget/model.d.ts +16 -84
- package/esm/AddTrackWidget/model.js +43 -94
- package/esm/AssemblyManager/AssemblyAddForm.d.ts +5 -6
- package/esm/AssemblyManager/AssemblyAddForm.js +82 -102
- package/esm/AssemblyManager/AssemblyEditor.d.ts +4 -4
- package/esm/AssemblyManager/AssemblyEditor.js +7 -4
- package/esm/AssemblyManager/AssemblyManager.d.ts +5 -5
- package/esm/AssemblyManager/AssemblyManager.js +19 -32
- package/esm/AssemblyManager/AssemblyTable.d.ts +8 -12
- package/esm/AssemblyManager/AssemblyTable.js +43 -36
- package/esm/HierarchicalTrackSelectorWidget/components/HierarchicalFab.d.ts +2 -3
- package/esm/HierarchicalTrackSelectorWidget/components/HierarchicalFab.js +22 -27
- package/esm/HierarchicalTrackSelectorWidget/components/HierarchicalTrackSelector.d.ts +2 -3
- package/esm/HierarchicalTrackSelectorWidget/components/HierarchicalTrackSelector.js +7 -12
- package/esm/HierarchicalTrackSelectorWidget/components/ShoppingCart.d.ts +2 -3
- package/esm/HierarchicalTrackSelectorWidget/components/ShoppingCart.js +21 -11
- package/esm/HierarchicalTrackSelectorWidget/components/dialogs/CloseConnectionDialog.d.ts +1 -2
- package/esm/HierarchicalTrackSelectorWidget/components/dialogs/CloseConnectionDialog.js +8 -16
- package/esm/HierarchicalTrackSelectorWidget/components/dialogs/DeleteConnectionDialog.d.ts +3 -4
- package/esm/HierarchicalTrackSelectorWidget/components/dialogs/DeleteConnectionDialog.js +9 -14
- package/esm/HierarchicalTrackSelectorWidget/components/dialogs/ManageConnectionsDialog.d.ts +3 -4
- package/esm/HierarchicalTrackSelectorWidget/components/dialogs/ManageConnectionsDialog.js +14 -27
- package/esm/HierarchicalTrackSelectorWidget/components/dialogs/ToggleConnectionsDialog.d.ts +3 -4
- package/esm/HierarchicalTrackSelectorWidget/components/dialogs/ToggleConnectionsDialog.js +10 -16
- package/esm/HierarchicalTrackSelectorWidget/components/faceted/FacetFilter.d.ts +2 -3
- package/esm/HierarchicalTrackSelectorWidget/components/faceted/FacetFilter.js +21 -35
- package/esm/HierarchicalTrackSelectorWidget/components/faceted/FacetFilters.d.ts +3 -4
- package/esm/HierarchicalTrackSelectorWidget/components/faceted/FacetFilters.js +22 -26
- package/esm/HierarchicalTrackSelectorWidget/components/faceted/FacetedDataGrid.d.ts +9 -0
- package/esm/HierarchicalTrackSelectorWidget/components/faceted/FacetedDataGrid.js +69 -0
- package/esm/HierarchicalTrackSelectorWidget/components/faceted/FacetedDialog.d.ts +2 -3
- package/esm/HierarchicalTrackSelectorWidget/components/faceted/FacetedDialog.js +3 -5
- package/esm/HierarchicalTrackSelectorWidget/components/faceted/FacetedHeader.d.ts +2 -3
- package/esm/HierarchicalTrackSelectorWidget/components/faceted/FacetedHeader.js +47 -59
- package/esm/HierarchicalTrackSelectorWidget/components/faceted/FacetedSelector.d.ts +3 -4
- package/esm/HierarchicalTrackSelectorWidget/components/faceted/FacetedSelector.js +17 -89
- package/esm/HierarchicalTrackSelectorWidget/components/tree/DropdownTrackSelector.d.ts +4 -5
- package/esm/HierarchicalTrackSelectorWidget/components/tree/DropdownTrackSelector.js +7 -9
- package/esm/HierarchicalTrackSelectorWidget/components/tree/FavoriteTracks.d.ts +2 -3
- package/esm/HierarchicalTrackSelectorWidget/components/tree/FavoriteTracks.js +5 -9
- package/esm/HierarchicalTrackSelectorWidget/components/tree/HamburgerMenu.d.ts +2 -3
- package/esm/HierarchicalTrackSelectorWidget/components/tree/HamburgerMenu.js +108 -118
- package/esm/HierarchicalTrackSelectorWidget/components/tree/HierarchicalHeader.d.ts +2 -3
- package/esm/HierarchicalTrackSelectorWidget/components/tree/HierarchicalHeader.js +8 -17
- package/esm/HierarchicalTrackSelectorWidget/components/tree/HierarchicalTree.d.ts +3 -4
- package/esm/HierarchicalTrackSelectorWidget/components/tree/HierarchicalTree.js +5 -17
- package/esm/HierarchicalTrackSelectorWidget/components/tree/RecentlyUsedTracks.d.ts +2 -3
- package/esm/HierarchicalTrackSelectorWidget/components/tree/RecentlyUsedTracks.js +6 -10
- package/esm/HierarchicalTrackSelectorWidget/components/tree/TrackCategory.d.ts +2 -3
- package/esm/HierarchicalTrackSelectorWidget/components/tree/TrackCategory.js +46 -55
- package/esm/HierarchicalTrackSelectorWidget/components/tree/TrackLabel.d.ts +3 -4
- package/esm/HierarchicalTrackSelectorWidget/components/tree/TrackLabel.js +19 -15
- package/esm/HierarchicalTrackSelectorWidget/components/tree/TrackLabelMenu.d.ts +3 -4
- package/esm/HierarchicalTrackSelectorWidget/components/tree/TrackLabelMenu.js +6 -8
- package/esm/HierarchicalTrackSelectorWidget/components/tree/TrackListNode.d.ts +2 -3
- package/esm/HierarchicalTrackSelectorWidget/components/tree/TrackListNode.js +6 -19
- package/esm/HierarchicalTrackSelectorWidget/components/util.d.ts +4 -4
- package/esm/HierarchicalTrackSelectorWidget/components/util.js +1 -4
- package/esm/HierarchicalTrackSelectorWidget/facetedModel.d.ts +2 -61
- package/esm/HierarchicalTrackSelectorWidget/facetedModel.js +12 -74
- package/esm/HierarchicalTrackSelectorWidget/filterTracks.d.ts +1 -1
- package/esm/HierarchicalTrackSelectorWidget/filterTracks.js +1 -1
- package/esm/HierarchicalTrackSelectorWidget/generateHierarchy.d.ts +2 -2
- package/esm/HierarchicalTrackSelectorWidget/generateHierarchy.js +1 -14
- package/esm/HierarchicalTrackSelectorWidget/index.d.ts +1 -1
- package/esm/HierarchicalTrackSelectorWidget/index.js +3 -3
- package/esm/HierarchicalTrackSelectorWidget/model.d.ts +3 -177
- package/esm/HierarchicalTrackSelectorWidget/model.js +4 -184
- package/esm/HierarchicalTrackSelectorWidget/util.d.ts +2 -2
- package/esm/HierarchicalTrackSelectorWidget/util.js +1 -4
- package/esm/PluginStoreWidget/components/AddCustomPluginDialog.d.ts +2 -3
- package/esm/PluginStoreWidget/components/AddCustomPluginDialog.js +19 -36
- package/esm/PluginStoreWidget/components/DeletePluginDialog.d.ts +1 -2
- package/esm/PluginStoreWidget/components/DeletePluginDialog.js +10 -20
- package/esm/PluginStoreWidget/components/InstalledPlugin.d.ts +3 -4
- package/esm/PluginStoreWidget/components/InstalledPlugin.js +28 -30
- package/esm/PluginStoreWidget/components/InstalledPluginsList.d.ts +3 -4
- package/esm/PluginStoreWidget/components/InstalledPluginsList.js +5 -5
- package/esm/PluginStoreWidget/components/PluginCard.d.ts +4 -6
- package/esm/PluginStoreWidget/components/PluginCard.js +27 -34
- package/esm/PluginStoreWidget/components/PluginStoreWidget.d.ts +2 -3
- package/esm/PluginStoreWidget/components/PluginStoreWidget.js +36 -54
- package/esm/PluginStoreWidget/components/util.d.ts +1 -1
- package/esm/PluginStoreWidget/components/util.js +1 -2
- package/esm/PluginStoreWidget/index.d.ts +1 -1
- package/esm/PluginStoreWidget/index.js +1 -1
- package/esm/PluginStoreWidget/model.d.ts +2 -8
- package/esm/PluginStoreWidget/model.js +1 -19
- package/esm/{ucsc-trackhub → UCSCTrackHub}/configSchema.d.ts +0 -6
- package/esm/{ucsc-trackhub → UCSCTrackHub}/configSchema.js +2 -14
- package/{dist/ucsc-trackhub → esm/UCSCTrackHub}/doConnect.d.ts +1 -1
- package/esm/{ucsc-trackhub → UCSCTrackHub}/doConnect.js +12 -8
- package/esm/{ucsc-trackhub → UCSCTrackHub}/index.d.ts +1 -1
- package/esm/UCSCTrackHub/index.js +15 -0
- package/esm/{ucsc-trackhub → UCSCTrackHub}/model.d.ts +1 -14
- package/esm/{ucsc-trackhub → UCSCTrackHub}/model.js +1 -16
- package/esm/{ucsc-trackhub → UCSCTrackHub}/ucscAssemblies.js +0 -3
- package/esm/{ucsc-trackhub → UCSCTrackHub}/ucscTrackHub.d.ts +54 -37
- package/esm/UCSCTrackHub/ucscTrackHub.js +162 -0
- package/esm/UCSCTrackHub/util.d.ts +22 -0
- package/esm/UCSCTrackHub/util.js +33 -0
- package/esm/index.d.ts +11 -11
- package/esm/index.js +3 -3
- package/package.json +4 -3
- package/dist/ucsc-trackhub/ucscTrackHub.js +0 -208
- package/esm/ucsc-trackhub/index.js +0 -13
- package/esm/ucsc-trackhub/ucscTrackHub.js +0 -195
- /package/dist/{ucsc-trackhub → UCSCTrackHub}/ucscAssemblies.d.ts +0 -0
- /package/esm/{ucsc-trackhub → UCSCTrackHub}/ucscAssemblies.d.ts +0 -0
|
@@ -1,38 +1,20 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { readConfObject, } from '@jbrowse/core/configuration';
|
|
1
|
+
import { readConfObject } from '@jbrowse/core/configuration';
|
|
2
|
+
import { getSession, localStorageGetBoolean, localStorageGetNumber, } from '@jbrowse/core/util';
|
|
4
3
|
import { getTrackName } from '@jbrowse/core/util/tracks';
|
|
5
|
-
import { getSession, localStorageGetItem } from '@jbrowse/core/util';
|
|
6
4
|
import { autorun, observable } from 'mobx';
|
|
7
|
-
import {
|
|
5
|
+
import { addDisposer, getParent, types } from 'mobx-state-tree';
|
|
8
6
|
import { getRowStr } from './components/faceted/util';
|
|
7
|
+
import { findNonSparseKeys, getRootKeys } from './facetedUtil';
|
|
8
|
+
import { matches } from './util';
|
|
9
9
|
const nonMetadataKeys = ['category', 'adapter', 'description'];
|
|
10
|
-
/**
|
|
11
|
-
* #stateModel FacetedModel
|
|
12
|
-
*/
|
|
13
10
|
export function facetedStateTreeF() {
|
|
14
11
|
return types
|
|
15
12
|
.model('FacetedModel', {
|
|
16
|
-
/**
|
|
17
|
-
* #property
|
|
18
|
-
*/
|
|
19
13
|
filterText: types.optional(types.string, ''),
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* #property
|
|
26
|
-
*/
|
|
27
|
-
showFilters: types.optional(types.boolean, () => JSON.parse(localStorageGetItem('facet-showFilters') || 'true')),
|
|
28
|
-
/**
|
|
29
|
-
* #property
|
|
30
|
-
*/
|
|
31
|
-
showOptions: types.optional(types.boolean, () => JSON.parse(localStorageGetItem('facet-showTableOptions') || 'false')),
|
|
32
|
-
/**
|
|
33
|
-
* #property
|
|
34
|
-
*/
|
|
35
|
-
panelWidth: types.optional(types.number, () => JSON.parse(localStorageGetItem('facet-panelWidth') || '400')),
|
|
14
|
+
showSparse: types.optional(types.boolean, () => localStorageGetBoolean('facet-showSparse', false)),
|
|
15
|
+
showFilters: types.optional(types.boolean, () => localStorageGetBoolean('facet-showFilters', true)),
|
|
16
|
+
showOptions: types.optional(types.boolean, () => localStorageGetBoolean('facet-showTableOptions', false)),
|
|
17
|
+
panelWidth: types.optional(types.number, () => localStorageGetNumber('facet-panelWidth', 400)),
|
|
36
18
|
})
|
|
37
19
|
.volatile(() => ({
|
|
38
20
|
visible: {},
|
|
@@ -40,62 +22,35 @@ export function facetedStateTreeF() {
|
|
|
40
22
|
filters: observable.map(),
|
|
41
23
|
}))
|
|
42
24
|
.actions(self => ({
|
|
43
|
-
/**
|
|
44
|
-
* #action
|
|
45
|
-
*/
|
|
46
25
|
setFilter(key, value) {
|
|
47
26
|
self.filters.set(key, value);
|
|
48
27
|
},
|
|
49
|
-
/**
|
|
50
|
-
* #action
|
|
51
|
-
*/
|
|
52
28
|
setPanelWidth(width) {
|
|
53
29
|
self.panelWidth = width;
|
|
54
30
|
return self.panelWidth;
|
|
55
31
|
},
|
|
56
|
-
/**
|
|
57
|
-
* #action
|
|
58
|
-
*/
|
|
59
32
|
setUseShoppingCart(f) {
|
|
60
33
|
self.useShoppingCart = f;
|
|
61
34
|
},
|
|
62
|
-
/**
|
|
63
|
-
* #action
|
|
64
|
-
*/
|
|
65
35
|
setFilterText(str) {
|
|
66
36
|
self.filterText = str;
|
|
67
37
|
},
|
|
68
|
-
/**
|
|
69
|
-
* #action
|
|
70
|
-
*/
|
|
71
38
|
setShowSparse(f) {
|
|
72
39
|
self.showSparse = f;
|
|
73
40
|
},
|
|
74
|
-
/**
|
|
75
|
-
* #action
|
|
76
|
-
*/
|
|
77
41
|
setShowOptions(f) {
|
|
78
42
|
self.showOptions = f;
|
|
79
43
|
},
|
|
80
|
-
/**
|
|
81
|
-
* #action
|
|
82
|
-
*/
|
|
83
44
|
setShowFilters(f) {
|
|
84
45
|
self.showFilters = f;
|
|
85
46
|
},
|
|
86
47
|
}))
|
|
87
48
|
.views(self => ({
|
|
88
|
-
/**
|
|
89
|
-
* #getter
|
|
90
|
-
*/
|
|
91
49
|
get allTrackConfigurations() {
|
|
92
50
|
return getParent(self).allTrackConfigurations;
|
|
93
51
|
},
|
|
94
52
|
}))
|
|
95
53
|
.views(self => ({
|
|
96
|
-
/**
|
|
97
|
-
* #getter
|
|
98
|
-
*/
|
|
99
54
|
get rows() {
|
|
100
55
|
const session = getSession(self);
|
|
101
56
|
const { allTrackConfigurations, filterText } = self;
|
|
@@ -103,7 +58,7 @@ export function facetedStateTreeF() {
|
|
|
103
58
|
.filter(conf => matches(filterText, conf, session))
|
|
104
59
|
.map(track => {
|
|
105
60
|
var _a, _b;
|
|
106
|
-
return {
|
|
61
|
+
return ({
|
|
107
62
|
id: track.trackId,
|
|
108
63
|
conf: track,
|
|
109
64
|
name: getTrackName(track, session),
|
|
@@ -111,35 +66,24 @@ export function facetedStateTreeF() {
|
|
|
111
66
|
adapter: (_b = readConfObject(track, 'adapter')) === null || _b === void 0 ? void 0 : _b.type,
|
|
112
67
|
description: readConfObject(track, 'description'),
|
|
113
68
|
metadata: readConfObject(track, 'metadata'),
|
|
114
|
-
};
|
|
69
|
+
});
|
|
115
70
|
});
|
|
116
71
|
},
|
|
117
72
|
}))
|
|
118
73
|
.views(self => ({
|
|
119
|
-
/**
|
|
120
|
-
* #getter
|
|
121
|
-
*/
|
|
122
74
|
get filteredNonMetadataKeys() {
|
|
123
75
|
return self.showSparse
|
|
124
76
|
? nonMetadataKeys
|
|
125
77
|
: findNonSparseKeys(nonMetadataKeys, self.rows, (r, f) => r[f]);
|
|
126
78
|
},
|
|
127
|
-
/**
|
|
128
|
-
* #getter
|
|
129
|
-
*/
|
|
130
79
|
get metadataKeys() {
|
|
131
80
|
return [...new Set(self.rows.flatMap(row => getRootKeys(row.metadata)))];
|
|
132
81
|
},
|
|
133
82
|
get filteredMetadataKeys() {
|
|
134
83
|
return self.showSparse
|
|
135
84
|
? this.metadataKeys
|
|
136
|
-
: findNonSparseKeys(this.metadataKeys, self.rows,
|
|
137
|
-
// @ts-expect-error
|
|
138
|
-
(r, f) => r.metadata[f]);
|
|
85
|
+
: findNonSparseKeys(this.metadataKeys, self.rows, (r, f) => r.metadata[f]);
|
|
139
86
|
},
|
|
140
|
-
/**
|
|
141
|
-
* #getter
|
|
142
|
-
*/
|
|
143
87
|
get fields() {
|
|
144
88
|
return [
|
|
145
89
|
'name',
|
|
@@ -147,9 +91,6 @@ export function facetedStateTreeF() {
|
|
|
147
91
|
...this.filteredMetadataKeys.map(m => `metadata.${m}`),
|
|
148
92
|
];
|
|
149
93
|
},
|
|
150
|
-
/**
|
|
151
|
-
* #getter
|
|
152
|
-
*/
|
|
153
94
|
get filteredRows() {
|
|
154
95
|
const arrFilters = [...self.filters.entries()]
|
|
155
96
|
.filter(f => f[1].length > 0)
|
|
@@ -158,9 +99,6 @@ export function facetedStateTreeF() {
|
|
|
158
99
|
},
|
|
159
100
|
}))
|
|
160
101
|
.actions(self => ({
|
|
161
|
-
/**
|
|
162
|
-
* #action
|
|
163
|
-
*/
|
|
164
102
|
setVisible(args) {
|
|
165
103
|
self.visible = args;
|
|
166
104
|
},
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { readConfObject
|
|
1
|
+
import { readConfObject } from '@jbrowse/core/configuration';
|
|
2
2
|
import { getEnv, getSession, notEmpty } from '@jbrowse/core/util';
|
|
3
3
|
import { hasAllOverlap, hasAnyOverlap } from './util';
|
|
4
4
|
export function filterTracks(tracks, self) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AnyConfigurationModel } from '@jbrowse/core/configuration';
|
|
2
|
-
import { MenuItem } from '@jbrowse/core/ui';
|
|
1
|
+
import type { AnyConfigurationModel } from '@jbrowse/core/configuration';
|
|
2
|
+
import type { MenuItem } from '@jbrowse/core/ui';
|
|
3
3
|
export interface TreeTrackNode {
|
|
4
4
|
name: string;
|
|
5
5
|
id: string;
|
|
@@ -1,11 +1,8 @@
|
|
|
1
|
-
import { readConfObject
|
|
1
|
+
import { readConfObject } from '@jbrowse/core/configuration';
|
|
2
2
|
import { getSession } from '@jbrowse/core/util';
|
|
3
3
|
import { getTrackName } from '@jbrowse/core/util/tracks';
|
|
4
|
-
// locals
|
|
5
4
|
import { matches } from './util';
|
|
6
5
|
function sortConfs(confs, sortNames, sortCategories) {
|
|
7
|
-
// uses readConfObject instead of getTrackName so that the undefined
|
|
8
|
-
// reference sequence track is sorted to the top
|
|
9
6
|
const ret = confs.map(c => {
|
|
10
7
|
var _a, _b, _c;
|
|
11
8
|
return [
|
|
@@ -20,8 +17,6 @@ function sortConfs(confs, sortNames, sortCategories) {
|
|
|
20
17
|
ret.sort((a, b) => a[1].localeCompare(b[1]));
|
|
21
18
|
}
|
|
22
19
|
if (sortCategories) {
|
|
23
|
-
// sort up to three sub-category levels, harder to code it to go deeper
|
|
24
|
-
// than this and likely rarely used
|
|
25
20
|
ret.sort((a, b) => {
|
|
26
21
|
if (a[2] !== b[2]) {
|
|
27
22
|
return a[2].localeCompare(b[2]);
|
|
@@ -46,18 +41,13 @@ export function generateHierarchy({ model, trackConfs, extra, noCategories, menu
|
|
|
46
41
|
const session = getSession(model);
|
|
47
42
|
const viewTracks = view.tracks;
|
|
48
43
|
const confs = trackConfs.filter(conf => matches(filterText, conf, session));
|
|
49
|
-
// uses getConf
|
|
50
44
|
for (const conf of sortConfs(confs, activeSortTrackNames, activeSortCategories)) {
|
|
51
|
-
// copy the categories since this array can be mutated downstream
|
|
52
45
|
const categories = [...(readConfObject(conf, 'category') || [])];
|
|
53
|
-
// hack where if trackId ends with sessionTrack, then push it to a
|
|
54
|
-
// category that starts with a space to force sort to the top
|
|
55
46
|
if (conf.trackId.endsWith('sessionTrack')) {
|
|
56
47
|
categories.unshift(' Session tracks');
|
|
57
48
|
}
|
|
58
49
|
let currLevel = hierarchy;
|
|
59
50
|
if (!noCategories) {
|
|
60
|
-
// find existing category to put track into or create it
|
|
61
51
|
for (let i = 0; i < categories.length; i++) {
|
|
62
52
|
const category = categories[i];
|
|
63
53
|
const ret = currLevel.children.find(c => c.name === category);
|
|
@@ -81,9 +71,6 @@ export function generateHierarchy({ model, trackConfs, extra, noCategories, menu
|
|
|
81
71
|
}
|
|
82
72
|
}
|
|
83
73
|
}
|
|
84
|
-
// uses splice to try to put all leaf nodes above "category nodes" if you
|
|
85
|
-
// change the splice to a simple push and open
|
|
86
|
-
// test_data/test_order/config.json you will see the weirdness
|
|
87
74
|
const r = currLevel.children.findIndex(elt => elt.children.length);
|
|
88
75
|
const idx = r === -1 ? currLevel.children.length : r;
|
|
89
76
|
currLevel.children.splice(idx, 0, {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import PluginManager from '@jbrowse/core/PluginManager';
|
|
1
|
+
import type PluginManager from '@jbrowse/core/PluginManager';
|
|
2
2
|
export default function HierarchicalTrackSelectorWidgetF(pluginManager: PluginManager): void;
|
|
3
3
|
export { type HierarchicalTrackSelectorModel, default as stateModelFactory, } from './model';
|
|
4
4
|
export { default as configSchema } from './configSchema';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import stateModelFactory from './model';
|
|
2
|
-
import configSchema from './configSchema';
|
|
3
|
-
import { WidgetType } from '@jbrowse/core/pluggableElementTypes';
|
|
4
1
|
import { lazy } from 'react';
|
|
2
|
+
import { WidgetType } from '@jbrowse/core/pluggableElementTypes';
|
|
3
|
+
import configSchema from './configSchema';
|
|
4
|
+
import stateModelFactory from './model';
|
|
5
5
|
export default function HierarchicalTrackSelectorWidgetF(pluginManager) {
|
|
6
6
|
pluginManager.addWidgetType(() => {
|
|
7
7
|
return new WidgetType({
|
|
@@ -1,27 +1,12 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { AnyConfigurationModel } from '@jbrowse/core/configuration';
|
|
3
|
-
import
|
|
1
|
+
import type PluginManager from '@jbrowse/core/PluginManager';
|
|
2
|
+
import type { AnyConfigurationModel } from '@jbrowse/core/configuration';
|
|
3
|
+
import type { Instance } from 'mobx-state-tree';
|
|
4
4
|
type MaybeAnyConfigurationModel = AnyConfigurationModel | undefined;
|
|
5
5
|
type MaybeBoolean = boolean | undefined;
|
|
6
|
-
/**
|
|
7
|
-
* #stateModel HierarchicalTrackSelectorWidget
|
|
8
|
-
*/
|
|
9
6
|
export default function stateTreeFactory(pluginManager: PluginManager): import("mobx-state-tree").IModelType<{
|
|
10
|
-
/**
|
|
11
|
-
* #property
|
|
12
|
-
*/
|
|
13
7
|
id: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
14
|
-
/**
|
|
15
|
-
* #property
|
|
16
|
-
*/
|
|
17
8
|
type: import("mobx-state-tree").ISimpleType<"HierarchicalTrackSelectorWidget">;
|
|
18
|
-
/**
|
|
19
|
-
* #property
|
|
20
|
-
*/
|
|
21
9
|
view: import("mobx-state-tree").IMaybe<import("mobx-state-tree").IReferenceType<import("mobx-state-tree").IAnyType>>;
|
|
22
|
-
/**
|
|
23
|
-
* #property
|
|
24
|
-
*/
|
|
25
10
|
faceted: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IModelType<{
|
|
26
11
|
filterText: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
27
12
|
showSparse: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
@@ -101,50 +86,17 @@ export default function stateTreeFactory(pluginManager: PluginManager): import("
|
|
|
101
86
|
afterAttach(): void;
|
|
102
87
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>, [undefined]>;
|
|
103
88
|
}, {
|
|
104
|
-
/**
|
|
105
|
-
* #volatile
|
|
106
|
-
*/
|
|
107
89
|
favorites: string[];
|
|
108
|
-
/**
|
|
109
|
-
* #volatile
|
|
110
|
-
*/
|
|
111
90
|
recentlyUsed: string[];
|
|
112
|
-
/**
|
|
113
|
-
* #volatile
|
|
114
|
-
*/
|
|
115
91
|
selection: AnyConfigurationModel[];
|
|
116
|
-
/**
|
|
117
|
-
* #volatile
|
|
118
|
-
*/
|
|
119
92
|
sortTrackNames: MaybeBoolean;
|
|
120
|
-
/**
|
|
121
|
-
* #volatile
|
|
122
|
-
*/
|
|
123
93
|
sortCategories: MaybeBoolean;
|
|
124
|
-
/**
|
|
125
|
-
* #volatile
|
|
126
|
-
*/
|
|
127
94
|
collapsed: import("mobx").ObservableMap<string, boolean>;
|
|
128
|
-
/**
|
|
129
|
-
* #volatile
|
|
130
|
-
*/
|
|
131
95
|
filterText: string;
|
|
132
|
-
/**
|
|
133
|
-
* #volatile
|
|
134
|
-
*/
|
|
135
96
|
recentlyUsedCounter: number;
|
|
136
|
-
/**
|
|
137
|
-
* #volatile
|
|
138
|
-
*/
|
|
139
97
|
favoritesCounter: number;
|
|
140
98
|
} & {
|
|
141
|
-
/**
|
|
142
|
-
* #getter
|
|
143
|
-
*/
|
|
144
99
|
readonly shownTrackIds: Set<string>;
|
|
145
|
-
/**
|
|
146
|
-
* #getter
|
|
147
|
-
*/
|
|
148
100
|
readonly selectionSet: Set<{
|
|
149
101
|
[x: string]: any;
|
|
150
102
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
@@ -156,137 +108,40 @@ export default function stateTreeFactory(pluginManager: PluginManager): import("
|
|
|
156
108
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & any & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
|
|
157
109
|
} & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
|
|
158
110
|
} & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>>;
|
|
159
|
-
/**
|
|
160
|
-
* #getter
|
|
161
|
-
*/
|
|
162
111
|
readonly favoritesSet: Set<string>;
|
|
163
|
-
/**
|
|
164
|
-
* #getter
|
|
165
|
-
*/
|
|
166
112
|
readonly recentlyUsedSet: Set<string>;
|
|
167
|
-
/**
|
|
168
|
-
* #getter
|
|
169
|
-
*/
|
|
170
113
|
readonly assemblyNames: string[];
|
|
171
114
|
} & {
|
|
172
|
-
/**
|
|
173
|
-
* #action
|
|
174
|
-
*/
|
|
175
115
|
setSortTrackNames(val: boolean): void;
|
|
176
|
-
/**
|
|
177
|
-
* #action
|
|
178
|
-
*/
|
|
179
116
|
setSortCategories(val: boolean): void;
|
|
180
|
-
/**
|
|
181
|
-
* #action
|
|
182
|
-
*/
|
|
183
117
|
setSelection(elt: AnyConfigurationModel[]): void;
|
|
184
|
-
/**
|
|
185
|
-
* #action
|
|
186
|
-
*/
|
|
187
118
|
addToSelection(elt: AnyConfigurationModel[]): void;
|
|
188
|
-
/**
|
|
189
|
-
* #action
|
|
190
|
-
*/
|
|
191
119
|
removeFromSelection(elt: AnyConfigurationModel[]): void;
|
|
192
|
-
/**
|
|
193
|
-
* #action
|
|
194
|
-
*/
|
|
195
120
|
clearSelection(): void;
|
|
196
|
-
/**
|
|
197
|
-
* #action
|
|
198
|
-
*/
|
|
199
121
|
addToFavorites(trackId: string): void;
|
|
200
|
-
/**
|
|
201
|
-
* #action
|
|
202
|
-
*/
|
|
203
122
|
removeFromFavorites(trackId: string): void;
|
|
204
|
-
/**
|
|
205
|
-
* #action
|
|
206
|
-
*/
|
|
207
123
|
clearFavorites(): void;
|
|
208
|
-
/**
|
|
209
|
-
* #action
|
|
210
|
-
*/
|
|
211
124
|
setRecentlyUsedCounter(val: number): void;
|
|
212
|
-
/**
|
|
213
|
-
* #action
|
|
214
|
-
*/
|
|
215
125
|
setRecentlyUsed(str: string[]): void;
|
|
216
|
-
/**
|
|
217
|
-
* #action
|
|
218
|
-
*/
|
|
219
126
|
setFavorites(str: string[]): void;
|
|
220
|
-
/**
|
|
221
|
-
* #action
|
|
222
|
-
*/
|
|
223
127
|
setFavoritesCounter(val: number): void;
|
|
224
|
-
/**
|
|
225
|
-
* #action
|
|
226
|
-
*/
|
|
227
128
|
addToRecentlyUsed(id: string): void;
|
|
228
|
-
/**
|
|
229
|
-
* #action
|
|
230
|
-
*/
|
|
231
129
|
clearRecentlyUsed(): void;
|
|
232
|
-
/**
|
|
233
|
-
* #action
|
|
234
|
-
*/
|
|
235
130
|
setView(view: unknown): void;
|
|
236
|
-
/**
|
|
237
|
-
* #action
|
|
238
|
-
*/
|
|
239
131
|
toggleCategory(pathName: string): void;
|
|
240
|
-
/**
|
|
241
|
-
* #action
|
|
242
|
-
*/
|
|
243
132
|
setCategoryCollapsed(pathName: string, status: boolean): void;
|
|
244
|
-
/**
|
|
245
|
-
* #action
|
|
246
|
-
*/
|
|
247
133
|
expandAllCategories(): void;
|
|
248
|
-
/**
|
|
249
|
-
* #action
|
|
250
|
-
*/
|
|
251
134
|
setCollapsedCategories(str: [string, boolean][]): void;
|
|
252
|
-
/**
|
|
253
|
-
* #action
|
|
254
|
-
*/
|
|
255
135
|
clearFilterText(): void;
|
|
256
|
-
/**
|
|
257
|
-
* #action
|
|
258
|
-
*/
|
|
259
136
|
setFilterText(newText: string): void;
|
|
260
137
|
} & {
|
|
261
|
-
/**
|
|
262
|
-
* #method
|
|
263
|
-
*/
|
|
264
138
|
isSelected(track: AnyConfigurationModel): boolean;
|
|
265
|
-
/**
|
|
266
|
-
* #method
|
|
267
|
-
*/
|
|
268
139
|
isFavorite(trackId: string): boolean;
|
|
269
|
-
/**
|
|
270
|
-
* #method
|
|
271
|
-
*/
|
|
272
140
|
isRecentlyUsed(trackId: string): boolean;
|
|
273
|
-
/**
|
|
274
|
-
* #method
|
|
275
|
-
*/
|
|
276
141
|
getRefSeqTrackConf(assemblyName: string): MaybeAnyConfigurationModel;
|
|
277
142
|
} & {
|
|
278
|
-
/**
|
|
279
|
-
* #getter
|
|
280
|
-
*/
|
|
281
143
|
readonly activeSortTrackNames: any;
|
|
282
|
-
/**
|
|
283
|
-
* #getter
|
|
284
|
-
*/
|
|
285
144
|
readonly activeSortCategories: any;
|
|
286
|
-
/**
|
|
287
|
-
* #getter
|
|
288
|
-
* filter out tracks that don't match the current assembly/display types
|
|
289
|
-
*/
|
|
290
145
|
readonly configAndSessionTrackConfigurations: ({
|
|
291
146
|
[x: string]: any;
|
|
292
147
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
@@ -298,9 +153,6 @@ export default function stateTreeFactory(pluginManager: PluginManager): import("
|
|
|
298
153
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & any & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
|
|
299
154
|
} & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
|
|
300
155
|
} & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>)[];
|
|
301
|
-
/**
|
|
302
|
-
* #getter
|
|
303
|
-
*/
|
|
304
156
|
readonly allTrackConfigurations: ({
|
|
305
157
|
[x: string]: any;
|
|
306
158
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
@@ -312,9 +164,6 @@ export default function stateTreeFactory(pluginManager: PluginManager): import("
|
|
|
312
164
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & any & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
|
|
313
165
|
} & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
|
|
314
166
|
} & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>)[];
|
|
315
|
-
/**
|
|
316
|
-
* #getter
|
|
317
|
-
*/
|
|
318
167
|
readonly allTrackConfigurationTrackIdSet: Map<any, {
|
|
319
168
|
[x: string]: any;
|
|
320
169
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
@@ -327,10 +176,6 @@ export default function stateTreeFactory(pluginManager: PluginManager): import("
|
|
|
327
176
|
} & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
|
|
328
177
|
} & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>>;
|
|
329
178
|
} & {
|
|
330
|
-
/**
|
|
331
|
-
* #getter
|
|
332
|
-
* filters out tracks that are not in the favorites group
|
|
333
|
-
*/
|
|
334
179
|
readonly favoriteTracks: ({
|
|
335
180
|
[x: string]: any;
|
|
336
181
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
@@ -342,10 +187,6 @@ export default function stateTreeFactory(pluginManager: PluginManager): import("
|
|
|
342
187
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & any & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
|
|
343
188
|
} & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
|
|
344
189
|
} & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>)[];
|
|
345
|
-
/**
|
|
346
|
-
* #getter
|
|
347
|
-
* filters out tracks that are not in the recently used group
|
|
348
|
-
*/
|
|
349
190
|
readonly recentlyUsedTracks: ({
|
|
350
191
|
[x: string]: any;
|
|
351
192
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
@@ -358,9 +199,6 @@ export default function stateTreeFactory(pluginManager: PluginManager): import("
|
|
|
358
199
|
} & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
|
|
359
200
|
} & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>)[];
|
|
360
201
|
} & {
|
|
361
|
-
/**
|
|
362
|
-
* #getter
|
|
363
|
-
*/
|
|
364
202
|
readonly allTracks: {
|
|
365
203
|
group: any;
|
|
366
204
|
tracks: ({
|
|
@@ -378,9 +216,6 @@ export default function stateTreeFactory(pluginManager: PluginManager): import("
|
|
|
378
216
|
menuItems: never[];
|
|
379
217
|
}[];
|
|
380
218
|
} & {
|
|
381
|
-
/**
|
|
382
|
-
* #getter
|
|
383
|
-
*/
|
|
384
219
|
readonly hierarchy: {
|
|
385
220
|
name: string;
|
|
386
221
|
id: string;
|
|
@@ -396,18 +231,9 @@ export default function stateTreeFactory(pluginManager: PluginManager): import("
|
|
|
396
231
|
}[];
|
|
397
232
|
};
|
|
398
233
|
} & {
|
|
399
|
-
/**
|
|
400
|
-
* #action
|
|
401
|
-
*/
|
|
402
234
|
collapseSubCategories(): void;
|
|
403
|
-
/**
|
|
404
|
-
* #action
|
|
405
|
-
*/
|
|
406
235
|
collapseTopLevelCategories(): void;
|
|
407
236
|
} & {
|
|
408
|
-
/**
|
|
409
|
-
* #getter
|
|
410
|
-
*/
|
|
411
237
|
readonly hasAnySubcategories: boolean;
|
|
412
238
|
} & {
|
|
413
239
|
afterAttach(): void;
|