@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,41 +1,23 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.facetedStateTreeF = facetedStateTreeF;
|
|
4
|
-
const mobx_state_tree_1 = require("mobx-state-tree");
|
|
5
|
-
const util_1 = require("./util");
|
|
6
4
|
const configuration_1 = require("@jbrowse/core/configuration");
|
|
5
|
+
const util_1 = require("@jbrowse/core/util");
|
|
7
6
|
const tracks_1 = require("@jbrowse/core/util/tracks");
|
|
8
|
-
const util_2 = require("@jbrowse/core/util");
|
|
9
7
|
const mobx_1 = require("mobx");
|
|
8
|
+
const mobx_state_tree_1 = require("mobx-state-tree");
|
|
9
|
+
const util_2 = require("./components/faceted/util");
|
|
10
10
|
const facetedUtil_1 = require("./facetedUtil");
|
|
11
|
-
const util_3 = require("./
|
|
11
|
+
const util_3 = require("./util");
|
|
12
12
|
const nonMetadataKeys = ['category', 'adapter', 'description'];
|
|
13
|
-
/**
|
|
14
|
-
* #stateModel FacetedModel
|
|
15
|
-
*/
|
|
16
13
|
function facetedStateTreeF() {
|
|
17
14
|
return mobx_state_tree_1.types
|
|
18
15
|
.model('FacetedModel', {
|
|
19
|
-
/**
|
|
20
|
-
* #property
|
|
21
|
-
*/
|
|
22
16
|
filterText: mobx_state_tree_1.types.optional(mobx_state_tree_1.types.string, ''),
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* #property
|
|
29
|
-
*/
|
|
30
|
-
showFilters: mobx_state_tree_1.types.optional(mobx_state_tree_1.types.boolean, () => JSON.parse((0, util_2.localStorageGetItem)('facet-showFilters') || 'true')),
|
|
31
|
-
/**
|
|
32
|
-
* #property
|
|
33
|
-
*/
|
|
34
|
-
showOptions: mobx_state_tree_1.types.optional(mobx_state_tree_1.types.boolean, () => JSON.parse((0, util_2.localStorageGetItem)('facet-showTableOptions') || 'false')),
|
|
35
|
-
/**
|
|
36
|
-
* #property
|
|
37
|
-
*/
|
|
38
|
-
panelWidth: mobx_state_tree_1.types.optional(mobx_state_tree_1.types.number, () => JSON.parse((0, util_2.localStorageGetItem)('facet-panelWidth') || '400')),
|
|
17
|
+
showSparse: mobx_state_tree_1.types.optional(mobx_state_tree_1.types.boolean, () => (0, util_1.localStorageGetBoolean)('facet-showSparse', false)),
|
|
18
|
+
showFilters: mobx_state_tree_1.types.optional(mobx_state_tree_1.types.boolean, () => (0, util_1.localStorageGetBoolean)('facet-showFilters', true)),
|
|
19
|
+
showOptions: mobx_state_tree_1.types.optional(mobx_state_tree_1.types.boolean, () => (0, util_1.localStorageGetBoolean)('facet-showTableOptions', false)),
|
|
20
|
+
panelWidth: mobx_state_tree_1.types.optional(mobx_state_tree_1.types.number, () => (0, util_1.localStorageGetNumber)('facet-panelWidth', 400)),
|
|
39
21
|
})
|
|
40
22
|
.volatile(() => ({
|
|
41
23
|
visible: {},
|
|
@@ -43,70 +25,43 @@ function facetedStateTreeF() {
|
|
|
43
25
|
filters: mobx_1.observable.map(),
|
|
44
26
|
}))
|
|
45
27
|
.actions(self => ({
|
|
46
|
-
/**
|
|
47
|
-
* #action
|
|
48
|
-
*/
|
|
49
28
|
setFilter(key, value) {
|
|
50
29
|
self.filters.set(key, value);
|
|
51
30
|
},
|
|
52
|
-
/**
|
|
53
|
-
* #action
|
|
54
|
-
*/
|
|
55
31
|
setPanelWidth(width) {
|
|
56
32
|
self.panelWidth = width;
|
|
57
33
|
return self.panelWidth;
|
|
58
34
|
},
|
|
59
|
-
/**
|
|
60
|
-
* #action
|
|
61
|
-
*/
|
|
62
35
|
setUseShoppingCart(f) {
|
|
63
36
|
self.useShoppingCart = f;
|
|
64
37
|
},
|
|
65
|
-
/**
|
|
66
|
-
* #action
|
|
67
|
-
*/
|
|
68
38
|
setFilterText(str) {
|
|
69
39
|
self.filterText = str;
|
|
70
40
|
},
|
|
71
|
-
/**
|
|
72
|
-
* #action
|
|
73
|
-
*/
|
|
74
41
|
setShowSparse(f) {
|
|
75
42
|
self.showSparse = f;
|
|
76
43
|
},
|
|
77
|
-
/**
|
|
78
|
-
* #action
|
|
79
|
-
*/
|
|
80
44
|
setShowOptions(f) {
|
|
81
45
|
self.showOptions = f;
|
|
82
46
|
},
|
|
83
|
-
/**
|
|
84
|
-
* #action
|
|
85
|
-
*/
|
|
86
47
|
setShowFilters(f) {
|
|
87
48
|
self.showFilters = f;
|
|
88
49
|
},
|
|
89
50
|
}))
|
|
90
51
|
.views(self => ({
|
|
91
|
-
/**
|
|
92
|
-
* #getter
|
|
93
|
-
*/
|
|
94
52
|
get allTrackConfigurations() {
|
|
95
53
|
return (0, mobx_state_tree_1.getParent)(self).allTrackConfigurations;
|
|
96
54
|
},
|
|
97
55
|
}))
|
|
98
56
|
.views(self => ({
|
|
99
|
-
/**
|
|
100
|
-
* #getter
|
|
101
|
-
*/
|
|
102
57
|
get rows() {
|
|
103
|
-
const session = (0,
|
|
58
|
+
const session = (0, util_1.getSession)(self);
|
|
104
59
|
const { allTrackConfigurations, filterText } = self;
|
|
105
60
|
return allTrackConfigurations
|
|
106
|
-
.filter(conf => (0,
|
|
61
|
+
.filter(conf => (0, util_3.matches)(filterText, conf, session))
|
|
107
62
|
.map(track => {
|
|
108
63
|
var _a, _b;
|
|
109
|
-
return {
|
|
64
|
+
return ({
|
|
110
65
|
id: track.trackId,
|
|
111
66
|
conf: track,
|
|
112
67
|
name: (0, tracks_1.getTrackName)(track, session),
|
|
@@ -114,35 +69,24 @@ function facetedStateTreeF() {
|
|
|
114
69
|
adapter: (_b = (0, configuration_1.readConfObject)(track, 'adapter')) === null || _b === void 0 ? void 0 : _b.type,
|
|
115
70
|
description: (0, configuration_1.readConfObject)(track, 'description'),
|
|
116
71
|
metadata: (0, configuration_1.readConfObject)(track, 'metadata'),
|
|
117
|
-
};
|
|
72
|
+
});
|
|
118
73
|
});
|
|
119
74
|
},
|
|
120
75
|
}))
|
|
121
76
|
.views(self => ({
|
|
122
|
-
/**
|
|
123
|
-
* #getter
|
|
124
|
-
*/
|
|
125
77
|
get filteredNonMetadataKeys() {
|
|
126
78
|
return self.showSparse
|
|
127
79
|
? nonMetadataKeys
|
|
128
80
|
: (0, facetedUtil_1.findNonSparseKeys)(nonMetadataKeys, self.rows, (r, f) => r[f]);
|
|
129
81
|
},
|
|
130
|
-
/**
|
|
131
|
-
* #getter
|
|
132
|
-
*/
|
|
133
82
|
get metadataKeys() {
|
|
134
83
|
return [...new Set(self.rows.flatMap(row => (0, facetedUtil_1.getRootKeys)(row.metadata)))];
|
|
135
84
|
},
|
|
136
85
|
get filteredMetadataKeys() {
|
|
137
86
|
return self.showSparse
|
|
138
87
|
? this.metadataKeys
|
|
139
|
-
: (0, facetedUtil_1.findNonSparseKeys)(this.metadataKeys, self.rows,
|
|
140
|
-
// @ts-expect-error
|
|
141
|
-
(r, f) => r.metadata[f]);
|
|
88
|
+
: (0, facetedUtil_1.findNonSparseKeys)(this.metadataKeys, self.rows, (r, f) => r.metadata[f]);
|
|
142
89
|
},
|
|
143
|
-
/**
|
|
144
|
-
* #getter
|
|
145
|
-
*/
|
|
146
90
|
get fields() {
|
|
147
91
|
return [
|
|
148
92
|
'name',
|
|
@@ -150,20 +94,14 @@ function facetedStateTreeF() {
|
|
|
150
94
|
...this.filteredMetadataKeys.map(m => `metadata.${m}`),
|
|
151
95
|
];
|
|
152
96
|
},
|
|
153
|
-
/**
|
|
154
|
-
* #getter
|
|
155
|
-
*/
|
|
156
97
|
get filteredRows() {
|
|
157
98
|
const arrFilters = [...self.filters.entries()]
|
|
158
99
|
.filter(f => f[1].length > 0)
|
|
159
100
|
.map(([key, val]) => [key, new Set(val)]);
|
|
160
|
-
return self.rows.filter(row => arrFilters.every(([key, val]) => val.has((0,
|
|
101
|
+
return self.rows.filter(row => arrFilters.every(([key, val]) => val.has((0, util_2.getRowStr)(key, row))));
|
|
161
102
|
},
|
|
162
103
|
}))
|
|
163
104
|
.actions(self => ({
|
|
164
|
-
/**
|
|
165
|
-
* #action
|
|
166
|
-
*/
|
|
167
105
|
setVisible(args) {
|
|
168
106
|
self.visible = args;
|
|
169
107
|
},
|
|
@@ -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;
|
|
@@ -4,11 +4,8 @@ exports.generateHierarchy = generateHierarchy;
|
|
|
4
4
|
const configuration_1 = require("@jbrowse/core/configuration");
|
|
5
5
|
const util_1 = require("@jbrowse/core/util");
|
|
6
6
|
const tracks_1 = require("@jbrowse/core/util/tracks");
|
|
7
|
-
// locals
|
|
8
7
|
const util_2 = require("./util");
|
|
9
8
|
function sortConfs(confs, sortNames, sortCategories) {
|
|
10
|
-
// uses readConfObject instead of getTrackName so that the undefined
|
|
11
|
-
// reference sequence track is sorted to the top
|
|
12
9
|
const ret = confs.map(c => {
|
|
13
10
|
var _a, _b, _c;
|
|
14
11
|
return [
|
|
@@ -23,8 +20,6 @@ function sortConfs(confs, sortNames, sortCategories) {
|
|
|
23
20
|
ret.sort((a, b) => a[1].localeCompare(b[1]));
|
|
24
21
|
}
|
|
25
22
|
if (sortCategories) {
|
|
26
|
-
// sort up to three sub-category levels, harder to code it to go deeper
|
|
27
|
-
// than this and likely rarely used
|
|
28
23
|
ret.sort((a, b) => {
|
|
29
24
|
if (a[2] !== b[2]) {
|
|
30
25
|
return a[2].localeCompare(b[2]);
|
|
@@ -49,18 +44,13 @@ function generateHierarchy({ model, trackConfs, extra, noCategories, menuItems,
|
|
|
49
44
|
const session = (0, util_1.getSession)(model);
|
|
50
45
|
const viewTracks = view.tracks;
|
|
51
46
|
const confs = trackConfs.filter(conf => (0, util_2.matches)(filterText, conf, session));
|
|
52
|
-
// uses getConf
|
|
53
47
|
for (const conf of sortConfs(confs, activeSortTrackNames, activeSortCategories)) {
|
|
54
|
-
// copy the categories since this array can be mutated downstream
|
|
55
48
|
const categories = [...((0, configuration_1.readConfObject)(conf, 'category') || [])];
|
|
56
|
-
// hack where if trackId ends with sessionTrack, then push it to a
|
|
57
|
-
// category that starts with a space to force sort to the top
|
|
58
49
|
if (conf.trackId.endsWith('sessionTrack')) {
|
|
59
50
|
categories.unshift(' Session tracks');
|
|
60
51
|
}
|
|
61
52
|
let currLevel = hierarchy;
|
|
62
53
|
if (!noCategories) {
|
|
63
|
-
// find existing category to put track into or create it
|
|
64
54
|
for (let i = 0; i < categories.length; i++) {
|
|
65
55
|
const category = categories[i];
|
|
66
56
|
const ret = currLevel.children.find(c => c.name === category);
|
|
@@ -84,9 +74,6 @@ function generateHierarchy({ model, trackConfs, extra, noCategories, menuItems,
|
|
|
84
74
|
}
|
|
85
75
|
}
|
|
86
76
|
}
|
|
87
|
-
// uses splice to try to put all leaf nodes above "category nodes" if you
|
|
88
|
-
// change the splice to a simple push and open
|
|
89
|
-
// test_data/test_order/config.json you will see the weirdness
|
|
90
77
|
const r = currLevel.children.findIndex(elt => elt.children.length);
|
|
91
78
|
const idx = r === -1 ? currLevel.children.length : r;
|
|
92
79
|
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';
|
|
@@ -15,23 +15,33 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
15
15
|
}) : function(o, v) {
|
|
16
16
|
o["default"] = v;
|
|
17
17
|
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
};
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
25
35
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
26
36
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
37
|
};
|
|
28
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
39
|
exports.configSchema = exports.stateModelFactory = void 0;
|
|
30
40
|
exports.default = HierarchicalTrackSelectorWidgetF;
|
|
31
|
-
const model_1 = __importDefault(require("./model"));
|
|
32
|
-
const configSchema_1 = __importDefault(require("./configSchema"));
|
|
33
|
-
const pluggableElementTypes_1 = require("@jbrowse/core/pluggableElementTypes");
|
|
34
41
|
const react_1 = require("react");
|
|
42
|
+
const pluggableElementTypes_1 = require("@jbrowse/core/pluggableElementTypes");
|
|
43
|
+
const configSchema_1 = __importDefault(require("./configSchema"));
|
|
44
|
+
const model_1 = __importDefault(require("./model"));
|
|
35
45
|
function HierarchicalTrackSelectorWidgetF(pluginManager) {
|
|
36
46
|
pluginManager.addWidgetType(() => {
|
|
37
47
|
return new pluggableElementTypes_1.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;
|