@jbrowse/plugin-data-management 3.7.0 → 4.0.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/esm/AddConnectionWidget/components/AddConnectionWidget.d.ts +1 -1
- package/esm/AddConnectionWidget/components/AddConnectionWidget.js +5 -5
- package/esm/AddConnectionWidget/components/ConfigureConnection.js +1 -1
- package/esm/AddConnectionWidget/index.js +2 -2
- package/esm/AddConnectionWidget/model.d.ts +4 -4
- package/esm/AddConnectionWidget/model.js +1 -1
- package/esm/AddTrackWidget/components/AddTrackStatusMessage.js +2 -2
- package/esm/AddTrackWidget/components/AddTrackUnknownAdapterPrompt.d.ts +1 -1
- package/esm/AddTrackWidget/components/AddTrackUnknownAdapterPrompt.js +2 -2
- package/esm/AddTrackWidget/components/AddTrackWidget.d.ts +1 -1
- package/esm/AddTrackWidget/components/AddTrackWidget.js +3 -3
- package/esm/AddTrackWidget/components/ConfirmTrack.d.ts +1 -1
- package/esm/AddTrackWidget/components/ConfirmTrack.js +10 -10
- package/esm/AddTrackWidget/components/DefaultAddTrackWorkflow.d.ts +1 -1
- package/esm/AddTrackWidget/components/DefaultAddTrackWorkflow.js +6 -9
- package/esm/AddTrackWidget/components/PasteConfigWorkflow.d.ts +2 -2
- package/esm/AddTrackWidget/components/PasteConfigWorkflow.js +2 -2
- package/esm/AddTrackWidget/components/TextIndexingConfig.d.ts +1 -1
- package/esm/AddTrackWidget/components/TextIndexingConfig.js +2 -2
- package/esm/AddTrackWidget/components/TrackAdapterSelector.d.ts +2 -2
- package/esm/AddTrackWidget/components/TrackAdapterSelector.js +4 -4
- package/esm/AddTrackWidget/components/TrackSourceSelect.d.ts +1 -1
- package/esm/AddTrackWidget/components/TrackSourceSelect.js +3 -3
- package/esm/AddTrackWidget/components/TrackTypeSelector.d.ts +1 -1
- package/esm/AddTrackWidget/components/TrackTypeSelector.js +1 -1
- package/esm/AddTrackWidget/components/Unsupported.js +1 -1
- package/esm/AddTrackWidget/components/doSubmit.d.ts +1 -1
- package/esm/AddTrackWidget/components/doSubmit.js +2 -3
- package/esm/AddTrackWidget/components/util.js +1 -2
- package/esm/AddTrackWidget/index.js +2 -2
- package/esm/AddTrackWidget/model.d.ts +8 -11
- package/esm/AddTrackWidget/model.js +10 -25
- package/esm/AssemblyManager/AssemblyAddForm.js +6 -6
- package/esm/AssemblyManager/AssemblyEditor.js +2 -2
- package/esm/AssemblyManager/AssemblyManager.js +4 -4
- package/esm/AssemblyManager/AssemblyTable.js +1 -1
- package/esm/AssemblyManager/index.d.ts +1 -1
- package/esm/AssemblyManager/index.js +1 -1
- package/esm/HierarchicalTrackSelectorWidget/components/AutoSizer.d.ts +8 -0
- package/esm/HierarchicalTrackSelectorWidget/components/AutoSizer.js +24 -0
- package/esm/HierarchicalTrackSelectorWidget/components/ClearableSearchField.d.ts +6 -0
- package/esm/HierarchicalTrackSelectorWidget/components/ClearableSearchField.js +27 -0
- package/esm/HierarchicalTrackSelectorWidget/components/HierarchicalFab.d.ts +1 -1
- package/esm/HierarchicalTrackSelectorWidget/components/HierarchicalFab.js +2 -2
- package/esm/HierarchicalTrackSelectorWidget/components/HierarchicalTrackSelector.d.ts +1 -1
- package/esm/HierarchicalTrackSelectorWidget/components/HierarchicalTrackSelector.js +9 -9
- package/esm/HierarchicalTrackSelectorWidget/components/ShoppingCart.js +4 -5
- package/esm/HierarchicalTrackSelectorWidget/components/dialogs/CloseConnectionDialog.js +1 -1
- package/esm/HierarchicalTrackSelectorWidget/components/dialogs/DeleteConnectionDialog.js +1 -2
- package/esm/HierarchicalTrackSelectorWidget/components/dialogs/ManageConnectionsDialog.js +3 -3
- package/esm/HierarchicalTrackSelectorWidget/components/dialogs/ToggleConnectionsDialog.js +4 -5
- package/esm/HierarchicalTrackSelectorWidget/components/faceted/FacetFilter.d.ts +1 -1
- package/esm/HierarchicalTrackSelectorWidget/components/faceted/FacetFilter.js +2 -2
- package/esm/HierarchicalTrackSelectorWidget/components/faceted/FacetFilters.d.ts +2 -2
- package/esm/HierarchicalTrackSelectorWidget/components/faceted/FacetFilters.js +5 -6
- package/esm/HierarchicalTrackSelectorWidget/components/faceted/FacetedDataGrid.d.ts +1 -1
- package/esm/HierarchicalTrackSelectorWidget/components/faceted/FacetedDataGrid.js +39 -58
- package/esm/HierarchicalTrackSelectorWidget/components/faceted/FacetedDialog.d.ts +1 -1
- package/esm/HierarchicalTrackSelectorWidget/components/faceted/FacetedDialog.js +2 -2
- package/esm/HierarchicalTrackSelectorWidget/components/faceted/FacetedHeader.d.ts +1 -1
- package/esm/HierarchicalTrackSelectorWidget/components/faceted/FacetedHeader.js +6 -12
- package/esm/HierarchicalTrackSelectorWidget/components/faceted/FacetedSelector.d.ts +1 -1
- package/esm/HierarchicalTrackSelectorWidget/components/faceted/FacetedSelector.js +7 -7
- package/esm/HierarchicalTrackSelectorWidget/components/faceted/computeInitialWidths.d.ts +6 -0
- package/esm/HierarchicalTrackSelectorWidget/components/faceted/computeInitialWidths.js +18 -0
- package/esm/HierarchicalTrackSelectorWidget/components/faceted/util.js +1 -2
- package/esm/HierarchicalTrackSelectorWidget/components/tree/DropdownTrackSelector.d.ts +1 -1
- package/esm/HierarchicalTrackSelectorWidget/components/tree/DropdownTrackSelector.js +3 -3
- package/esm/HierarchicalTrackSelectorWidget/components/tree/FavoriteTracks.d.ts +1 -1
- package/esm/HierarchicalTrackSelectorWidget/components/tree/FavoriteTracks.js +13 -32
- package/esm/HierarchicalTrackSelectorWidget/components/tree/HamburgerMenu.d.ts +1 -1
- package/esm/HierarchicalTrackSelectorWidget/components/tree/HamburgerMenu.js +7 -8
- package/esm/HierarchicalTrackSelectorWidget/components/tree/HierarchicalHeader.d.ts +1 -1
- package/esm/HierarchicalTrackSelectorWidget/components/tree/HierarchicalHeader.js +11 -22
- package/esm/HierarchicalTrackSelectorWidget/components/tree/HierarchicalTree.d.ts +2 -4
- package/esm/HierarchicalTrackSelectorWidget/components/tree/HierarchicalTree.js +42 -59
- package/esm/HierarchicalTrackSelectorWidget/components/tree/RecentlyUsedTracks.d.ts +1 -1
- package/esm/HierarchicalTrackSelectorWidget/components/tree/RecentlyUsedTracks.js +13 -29
- package/esm/HierarchicalTrackSelectorWidget/components/tree/TrackCategory.d.ts +7 -6
- package/esm/HierarchicalTrackSelectorWidget/components/tree/TrackCategory.js +86 -92
- package/esm/HierarchicalTrackSelectorWidget/components/tree/TrackLabel.d.ts +8 -4
- package/esm/HierarchicalTrackSelectorWidget/components/tree/TrackLabel.js +28 -15
- package/{dist/HierarchicalTrackSelectorWidget/components/tree/TrackLabelMenu.d.ts → esm/HierarchicalTrackSelectorWidget/components/tree/TrackSelectorTrackMenu.d.ts} +3 -4
- package/esm/HierarchicalTrackSelectorWidget/components/tree/{TrackLabelMenu.js → TrackSelectorTrackMenu.js} +13 -7
- package/esm/HierarchicalTrackSelectorWidget/components/tree/TreeItem.d.ts +9 -0
- package/esm/HierarchicalTrackSelectorWidget/components/tree/TreeItem.js +49 -0
- package/esm/HierarchicalTrackSelectorWidget/components/tree/trackListStyles.d.ts +21 -0
- package/esm/HierarchicalTrackSelectorWidget/components/tree/trackListStyles.js +29 -0
- package/esm/HierarchicalTrackSelectorWidget/components/util.d.ts +1 -20
- package/esm/HierarchicalTrackSelectorWidget/components/util.js +1 -10
- package/esm/HierarchicalTrackSelectorWidget/configSchema.d.ts +1 -1
- package/esm/HierarchicalTrackSelectorWidget/facetedModel.d.ts +24 -30
- package/esm/HierarchicalTrackSelectorWidget/facetedModel.js +34 -23
- package/esm/HierarchicalTrackSelectorWidget/facetedUtil.js +2 -2
- package/esm/HierarchicalTrackSelectorWidget/filterTracks.d.ts +3 -7
- package/esm/HierarchicalTrackSelectorWidget/filterTracks.js +13 -11
- package/esm/HierarchicalTrackSelectorWidget/generateHierarchy.d.ts +2 -28
- package/esm/HierarchicalTrackSelectorWidget/generateHierarchy.js +34 -59
- package/esm/HierarchicalTrackSelectorWidget/index.d.ts +2 -2
- package/esm/HierarchicalTrackSelectorWidget/index.js +5 -5
- package/esm/HierarchicalTrackSelectorWidget/model.d.ts +67 -87
- package/esm/HierarchicalTrackSelectorWidget/model.js +90 -23
- package/esm/HierarchicalTrackSelectorWidget/sortUtils.d.ts +2 -0
- package/esm/HierarchicalTrackSelectorWidget/sortUtils.js +28 -0
- package/esm/HierarchicalTrackSelectorWidget/types.d.ts +23 -0
- package/esm/HierarchicalTrackSelectorWidget/types.js +1 -0
- package/esm/HierarchicalTrackSelectorWidget/util.js +1 -1
- package/esm/JB2TrackHubConnection/configSchema.d.ts +3 -3
- package/esm/JB2TrackHubConnection/doConnect.js +3 -4
- package/esm/JB2TrackHubConnection/index.js +2 -2
- package/esm/JB2TrackHubConnection/model.d.ts +18 -26
- package/esm/JB2TrackHubConnection/model.js +3 -3
- package/esm/PluginStoreWidget/components/AddCustomPluginDialog.d.ts +1 -1
- package/esm/PluginStoreWidget/components/AddCustomPluginDialog.js +3 -3
- package/esm/PluginStoreWidget/components/InstalledPlugin.d.ts +1 -1
- package/esm/PluginStoreWidget/components/InstalledPlugin.js +5 -5
- package/esm/PluginStoreWidget/components/InstalledPluginsList.d.ts +1 -1
- package/esm/PluginStoreWidget/components/InstalledPluginsList.js +2 -2
- package/esm/PluginStoreWidget/components/PluginCard.d.ts +1 -1
- package/esm/PluginStoreWidget/components/PluginCard.js +1 -5
- package/esm/PluginStoreWidget/components/PluginStoreWidget.d.ts +1 -1
- package/esm/PluginStoreWidget/components/PluginStoreWidget.js +22 -10
- package/esm/PluginStoreWidget/components/util.js +1 -1
- package/esm/PluginStoreWidget/index.js +2 -2
- package/esm/PluginStoreWidget/model.d.ts +7 -7
- package/esm/PluginStoreWidget/model.js +1 -1
- package/esm/UCSCTrackHubConnection/configSchema.d.ts +3 -3
- package/esm/UCSCTrackHubConnection/doConnect.js +3 -9
- package/esm/UCSCTrackHubConnection/index.js +2 -2
- package/esm/UCSCTrackHubConnection/model.d.ts +18 -26
- package/esm/UCSCTrackHubConnection/model.js +3 -3
- package/esm/UCSCTrackHubConnection/ucscTrackHub.d.ts +1 -8
- package/esm/UCSCTrackHubConnection/ucscTrackHub.js +6 -10
- package/esm/index.d.ts +2 -2
- package/esm/index.js +11 -14
- package/package.json +28 -37
- package/dist/AddConnectionWidget/components/AddConnectionWidget.d.ts +0 -4
- package/dist/AddConnectionWidget/components/AddConnectionWidget.js +0 -66
- package/dist/AddConnectionWidget/components/ConfigureConnection.d.ts +0 -9
- package/dist/AddConnectionWidget/components/ConfigureConnection.js +0 -12
- package/dist/AddConnectionWidget/components/ConnectionTypeSelect.d.ts +0 -7
- package/dist/AddConnectionWidget/components/ConnectionTypeSelect.js +0 -19
- package/dist/AddConnectionWidget/index.d.ts +0 -2
- package/dist/AddConnectionWidget/index.js +0 -55
- package/dist/AddConnectionWidget/model.d.ts +0 -5
- package/dist/AddConnectionWidget/model.js +0 -8
- package/dist/AddTrackWidget/components/AddTrackStatusMessage.d.ts +0 -9
- package/dist/AddTrackWidget/components/AddTrackStatusMessage.js +0 -16
- package/dist/AddTrackWidget/components/AddTrackUnknownAdapterPrompt.d.ts +0 -4
- package/dist/AddTrackWidget/components/AddTrackUnknownAdapterPrompt.js +0 -20
- package/dist/AddTrackWidget/components/AddTrackWidget.d.ts +0 -5
- package/dist/AddTrackWidget/components/AddTrackWidget.js +0 -28
- package/dist/AddTrackWidget/components/ConfirmTrack.d.ts +0 -5
- package/dist/AddTrackWidget/components/ConfirmTrack.js +0 -73
- package/dist/AddTrackWidget/components/DefaultAddTrackWorkflow.d.ts +0 -5
- package/dist/AddTrackWidget/components/DefaultAddTrackWorkflow.js +0 -74
- package/dist/AddTrackWidget/components/PasteConfigWorkflow.d.ts +0 -5
- package/dist/AddTrackWidget/components/PasteConfigWorkflow.js +0 -53
- package/dist/AddTrackWidget/components/TextIndexingConfig.d.ts +0 -5
- package/dist/AddTrackWidget/components/TextIndexingConfig.js +0 -76
- package/dist/AddTrackWidget/components/TrackAdapterSelector.d.ts +0 -5
- package/dist/AddTrackWidget/components/TrackAdapterSelector.js +0 -26
- package/dist/AddTrackWidget/components/TrackSourceSelect.d.ts +0 -5
- package/dist/AddTrackWidget/components/TrackSourceSelect.js +0 -22
- package/dist/AddTrackWidget/components/TrackTypeSelector.d.ts +0 -5
- package/dist/AddTrackWidget/components/TrackTypeSelector.js +0 -21
- package/dist/AddTrackWidget/components/Unsupported.d.ts +0 -1
- package/dist/AddTrackWidget/components/Unsupported.js +0 -16
- package/dist/AddTrackWidget/components/doSubmit.d.ts +0 -4
- package/dist/AddTrackWidget/components/doSubmit.js +0 -55
- package/dist/AddTrackWidget/components/util.d.ts +0 -2
- package/dist/AddTrackWidget/components/util.js +0 -15
- package/dist/AddTrackWidget/index.d.ts +0 -2
- package/dist/AddTrackWidget/index.js +0 -55
- package/dist/AddTrackWidget/model.d.ts +0 -64
- package/dist/AddTrackWidget/model.js +0 -190
- package/dist/AssemblyManager/AssemblyAddForm.d.ts +0 -6
- package/dist/AssemblyManager/AssemblyAddForm.js +0 -94
- package/dist/AssemblyManager/AssemblyEditor.d.ts +0 -6
- package/dist/AssemblyManager/AssemblyEditor.js +0 -20
- package/dist/AssemblyManager/AssemblyManager.d.ts +0 -6
- package/dist/AssemblyManager/AssemblyManager.js +0 -30
- package/dist/AssemblyManager/AssemblyTable.d.ts +0 -9
- package/dist/AssemblyManager/AssemblyTable.js +0 -53
- package/dist/AssemblyManager/index.d.ts +0 -1
- package/dist/AssemblyManager/index.js +0 -8
- package/dist/HierarchicalTrackSelectorWidget/components/HierarchicalFab.d.ts +0 -5
- package/dist/HierarchicalTrackSelectorWidget/components/HierarchicalFab.js +0 -47
- package/dist/HierarchicalTrackSelectorWidget/components/HierarchicalTrackSelector.d.ts +0 -10
- package/dist/HierarchicalTrackSelectorWidget/components/HierarchicalTrackSelector.js +0 -26
- package/dist/HierarchicalTrackSelectorWidget/components/ShoppingCart.d.ts +0 -8
- package/dist/HierarchicalTrackSelectorWidget/components/ShoppingCart.js +0 -52
- package/dist/HierarchicalTrackSelectorWidget/components/dialogs/CloseConnectionDialog.d.ts +0 -9
- package/dist/HierarchicalTrackSelectorWidget/components/dialogs/CloseConnectionDialog.js +0 -16
- package/dist/HierarchicalTrackSelectorWidget/components/dialogs/DeleteConnectionDialog.d.ts +0 -11
- package/dist/HierarchicalTrackSelectorWidget/components/dialogs/DeleteConnectionDialog.js +0 -17
- package/dist/HierarchicalTrackSelectorWidget/components/dialogs/ManageConnectionsDialog.d.ts +0 -8
- package/dist/HierarchicalTrackSelectorWidget/components/dialogs/ManageConnectionsDialog.js +0 -34
- package/dist/HierarchicalTrackSelectorWidget/components/dialogs/ToggleConnectionsDialog.d.ts +0 -8
- package/dist/HierarchicalTrackSelectorWidget/components/dialogs/ToggleConnectionsDialog.js +0 -47
- package/dist/HierarchicalTrackSelectorWidget/components/faceted/FacetFilter.d.ts +0 -9
- package/dist/HierarchicalTrackSelectorWidget/components/faceted/FacetFilter.js +0 -52
- package/dist/HierarchicalTrackSelectorWidget/components/faceted/FacetFilters.d.ts +0 -10
- package/dist/HierarchicalTrackSelectorWidget/components/faceted/FacetFilters.js +0 -51
- package/dist/HierarchicalTrackSelectorWidget/components/faceted/FacetedDataGrid.d.ts +0 -9
- package/dist/HierarchicalTrackSelectorWidget/components/faceted/FacetedDataGrid.js +0 -75
- package/dist/HierarchicalTrackSelectorWidget/components/faceted/FacetedDialog.d.ts +0 -6
- package/dist/HierarchicalTrackSelectorWidget/components/faceted/FacetedDialog.js +0 -15
- package/dist/HierarchicalTrackSelectorWidget/components/faceted/FacetedHeader.d.ts +0 -4
- package/dist/HierarchicalTrackSelectorWidget/components/faceted/FacetedHeader.js +0 -67
- package/dist/HierarchicalTrackSelectorWidget/components/faceted/FacetedSelector.d.ts +0 -11
- package/dist/HierarchicalTrackSelectorWidget/components/faceted/FacetedSelector.js +0 -75
- package/dist/HierarchicalTrackSelectorWidget/components/faceted/util.d.ts +0 -6
- package/dist/HierarchicalTrackSelectorWidget/components/faceted/util.js +0 -9
- package/dist/HierarchicalTrackSelectorWidget/components/tree/DropdownTrackSelector.d.ts +0 -11
- package/dist/HierarchicalTrackSelectorWidget/components/tree/DropdownTrackSelector.js +0 -34
- package/dist/HierarchicalTrackSelectorWidget/components/tree/FavoriteTracks.d.ts +0 -5
- package/dist/HierarchicalTrackSelectorWidget/components/tree/FavoriteTracks.js +0 -45
- package/dist/HierarchicalTrackSelectorWidget/components/tree/HamburgerMenu.d.ts +0 -5
- package/dist/HierarchicalTrackSelectorWidget/components/tree/HamburgerMenu.js +0 -196
- package/dist/HierarchicalTrackSelectorWidget/components/tree/HierarchicalHeader.d.ts +0 -6
- package/dist/HierarchicalTrackSelectorWidget/components/tree/HierarchicalHeader.js +0 -38
- package/dist/HierarchicalTrackSelectorWidget/components/tree/HierarchicalTree.d.ts +0 -8
- package/dist/HierarchicalTrackSelectorWidget/components/tree/HierarchicalTree.js +0 -68
- package/dist/HierarchicalTrackSelectorWidget/components/tree/RecentlyUsedTracks.d.ts +0 -5
- package/dist/HierarchicalTrackSelectorWidget/components/tree/RecentlyUsedTracks.js +0 -42
- package/dist/HierarchicalTrackSelectorWidget/components/tree/TrackCategory.d.ts +0 -6
- package/dist/HierarchicalTrackSelectorWidget/components/tree/TrackCategory.js +0 -117
- package/dist/HierarchicalTrackSelectorWidget/components/tree/TrackLabel.d.ts +0 -10
- package/dist/HierarchicalTrackSelectorWidget/components/tree/TrackLabel.js +0 -49
- package/dist/HierarchicalTrackSelectorWidget/components/tree/TrackLabelMenu.js +0 -56
- package/dist/HierarchicalTrackSelectorWidget/components/tree/TrackListNode.d.ts +0 -9
- package/dist/HierarchicalTrackSelectorWidget/components/tree/TrackListNode.js +0 -42
- package/dist/HierarchicalTrackSelectorWidget/components/util.d.ts +0 -23
- package/dist/HierarchicalTrackSelectorWidget/components/util.js +0 -22
- package/dist/HierarchicalTrackSelectorWidget/configSchema.d.ts +0 -2
- package/dist/HierarchicalTrackSelectorWidget/configSchema.js +0 -5
- package/dist/HierarchicalTrackSelectorWidget/facetedModel.d.ts +0 -82
- package/dist/HierarchicalTrackSelectorWidget/facetedModel.js +0 -114
- package/dist/HierarchicalTrackSelectorWidget/facetedUtil.d.ts +0 -2
- package/dist/HierarchicalTrackSelectorWidget/facetedUtil.js +0 -12
- package/dist/HierarchicalTrackSelectorWidget/filterTracks.d.ts +0 -18
- package/dist/HierarchicalTrackSelectorWidget/filterTracks.js +0 -31
- package/dist/HierarchicalTrackSelectorWidget/generateHierarchy.d.ts +0 -36
- package/dist/HierarchicalTrackSelectorWidget/generateHierarchy.js +0 -90
- package/dist/HierarchicalTrackSelectorWidget/index.d.ts +0 -4
- package/dist/HierarchicalTrackSelectorWidget/index.js +0 -59
- package/dist/HierarchicalTrackSelectorWidget/model.d.ts +0 -244
- package/dist/HierarchicalTrackSelectorWidget/model.js +0 -339
- package/dist/HierarchicalTrackSelectorWidget/util.d.ts +0 -12
- package/dist/HierarchicalTrackSelectorWidget/util.js +0 -50
- package/dist/JB2TrackHubConnection/addRelativeUris.d.ts +0 -1
- package/dist/JB2TrackHubConnection/addRelativeUris.js +0 -15
- package/dist/JB2TrackHubConnection/configSchema.d.ts +0 -27
- package/dist/JB2TrackHubConnection/configSchema.js +0 -34
- package/dist/JB2TrackHubConnection/doConnect.d.ts +0 -5
- package/dist/JB2TrackHubConnection/doConnect.js +0 -34
- package/dist/JB2TrackHubConnection/index.d.ts +0 -2
- package/dist/JB2TrackHubConnection/index.js +0 -21
- package/dist/JB2TrackHubConnection/model.d.ts +0 -75
- package/dist/JB2TrackHubConnection/model.js +0 -56
- package/dist/JB2TrackHubConnection/util.d.ts +0 -22
- package/dist/JB2TrackHubConnection/util.js +0 -41
- package/dist/PluginStoreWidget/components/AddCustomPluginDialog.d.ts +0 -6
- package/dist/PluginStoreWidget/components/AddCustomPluginDialog.js +0 -65
- package/dist/PluginStoreWidget/components/DeletePluginDialog.d.ts +0 -4
- package/dist/PluginStoreWidget/components/DeletePluginDialog.js +0 -17
- package/dist/PluginStoreWidget/components/InstalledPlugin.d.ts +0 -7
- package/dist/PluginStoreWidget/components/InstalledPlugin.js +0 -92
- package/dist/PluginStoreWidget/components/InstalledPluginsList.d.ts +0 -7
- package/dist/PluginStoreWidget/components/InstalledPluginsList.js +0 -18
- package/dist/PluginStoreWidget/components/PluginCard.d.ts +0 -7
- package/dist/PluginStoreWidget/components/PluginCard.js +0 -58
- package/dist/PluginStoreWidget/components/PluginStoreWidget.d.ts +0 -5
- package/dist/PluginStoreWidget/components/PluginStoreWidget.js +0 -104
- package/dist/PluginStoreWidget/components/util.d.ts +0 -6
- package/dist/PluginStoreWidget/components/util.js +0 -35
- package/dist/PluginStoreWidget/index.d.ts +0 -2
- package/dist/PluginStoreWidget/index.js +0 -55
- package/dist/PluginStoreWidget/model.d.ts +0 -13
- package/dist/PluginStoreWidget/model.js +0 -22
- package/dist/UCSCTrackHubConnection/configSchema.d.ts +0 -27
- package/dist/UCSCTrackHubConnection/configSchema.js +0 -34
- package/dist/UCSCTrackHubConnection/doConnect.d.ts +0 -5
- package/dist/UCSCTrackHubConnection/doConnect.js +0 -152
- package/dist/UCSCTrackHubConnection/index.d.ts +0 -2
- package/dist/UCSCTrackHubConnection/index.js +0 -21
- package/dist/UCSCTrackHubConnection/model.d.ts +0 -75
- package/dist/UCSCTrackHubConnection/model.js +0 -56
- package/dist/UCSCTrackHubConnection/ucscAssemblies.d.ts +0 -2
- package/dist/UCSCTrackHubConnection/ucscAssemblies.js +0 -199
- package/dist/UCSCTrackHubConnection/ucscTrackHub.d.ts +0 -182
- package/dist/UCSCTrackHubConnection/ucscTrackHub.js +0 -162
- package/dist/UCSCTrackHubConnection/util.d.ts +0 -22
- package/dist/UCSCTrackHubConnection/util.js +0 -41
- package/dist/index.d.ts +0 -20
- package/dist/index.js +0 -68
- package/esm/HierarchicalTrackSelectorWidget/components/tree/TrackLabelMenu.d.ts +0 -11
- package/esm/HierarchicalTrackSelectorWidget/components/tree/TrackListNode.d.ts +0 -9
- package/esm/HierarchicalTrackSelectorWidget/components/tree/TrackListNode.js +0 -36
|
@@ -1,182 +0,0 @@
|
|
|
1
|
-
import type { TrackDbFile } from '@gmod/ucsc-hub';
|
|
2
|
-
import type { FileLocation } from '@jbrowse/core/util';
|
|
3
|
-
export declare function generateTracks({ trackDb, trackDbLoc, assemblyName, sequenceAdapter, baseUrl, }: {
|
|
4
|
-
trackDb: TrackDbFile;
|
|
5
|
-
trackDbLoc: FileLocation;
|
|
6
|
-
assemblyName: string;
|
|
7
|
-
sequenceAdapter: any;
|
|
8
|
-
baseUrl: string;
|
|
9
|
-
}): ({
|
|
10
|
-
trackId: string;
|
|
11
|
-
assemblyNames: string[];
|
|
12
|
-
type: string;
|
|
13
|
-
name: string;
|
|
14
|
-
description: string;
|
|
15
|
-
category: string[] | undefined;
|
|
16
|
-
metadata: {
|
|
17
|
-
html?: string | undefined;
|
|
18
|
-
};
|
|
19
|
-
} | {
|
|
20
|
-
trackId: string;
|
|
21
|
-
assemblyNames: string[];
|
|
22
|
-
type: string;
|
|
23
|
-
name: string;
|
|
24
|
-
description: string | undefined;
|
|
25
|
-
adapter: {
|
|
26
|
-
type: string;
|
|
27
|
-
bamLocation: {
|
|
28
|
-
uri: string | undefined;
|
|
29
|
-
locationType: string;
|
|
30
|
-
};
|
|
31
|
-
index: {
|
|
32
|
-
location: {
|
|
33
|
-
uri: string | undefined;
|
|
34
|
-
locationType: string;
|
|
35
|
-
};
|
|
36
|
-
};
|
|
37
|
-
cramLocation?: undefined;
|
|
38
|
-
craiLocation?: undefined;
|
|
39
|
-
sequenceAdapter?: undefined;
|
|
40
|
-
bigWigLocation?: undefined;
|
|
41
|
-
bigBedLocation?: undefined;
|
|
42
|
-
vcfGzLocation?: undefined;
|
|
43
|
-
hicLocation?: undefined;
|
|
44
|
-
};
|
|
45
|
-
metadata: {
|
|
46
|
-
html?: string | undefined;
|
|
47
|
-
};
|
|
48
|
-
category: (string | undefined)[];
|
|
49
|
-
} | {
|
|
50
|
-
trackId: string;
|
|
51
|
-
assemblyNames: string[];
|
|
52
|
-
type: string;
|
|
53
|
-
name: string;
|
|
54
|
-
description: string | undefined;
|
|
55
|
-
adapter: {
|
|
56
|
-
type: string;
|
|
57
|
-
cramLocation: {
|
|
58
|
-
uri: string | undefined;
|
|
59
|
-
locationType: string;
|
|
60
|
-
};
|
|
61
|
-
craiLocation: {
|
|
62
|
-
uri: string | undefined;
|
|
63
|
-
locationType: string;
|
|
64
|
-
};
|
|
65
|
-
sequenceAdapter: any;
|
|
66
|
-
bamLocation?: undefined;
|
|
67
|
-
index?: undefined;
|
|
68
|
-
bigWigLocation?: undefined;
|
|
69
|
-
bigBedLocation?: undefined;
|
|
70
|
-
vcfGzLocation?: undefined;
|
|
71
|
-
hicLocation?: undefined;
|
|
72
|
-
};
|
|
73
|
-
metadata: {
|
|
74
|
-
html?: string | undefined;
|
|
75
|
-
};
|
|
76
|
-
category: (string | undefined)[];
|
|
77
|
-
} | {
|
|
78
|
-
trackId: string;
|
|
79
|
-
assemblyNames: string[];
|
|
80
|
-
type: string;
|
|
81
|
-
name: string;
|
|
82
|
-
description: string | undefined;
|
|
83
|
-
adapter: {
|
|
84
|
-
type: string;
|
|
85
|
-
bigWigLocation: {
|
|
86
|
-
uri: string | undefined;
|
|
87
|
-
locationType: string;
|
|
88
|
-
};
|
|
89
|
-
bamLocation?: undefined;
|
|
90
|
-
index?: undefined;
|
|
91
|
-
cramLocation?: undefined;
|
|
92
|
-
craiLocation?: undefined;
|
|
93
|
-
sequenceAdapter?: undefined;
|
|
94
|
-
bigBedLocation?: undefined;
|
|
95
|
-
vcfGzLocation?: undefined;
|
|
96
|
-
hicLocation?: undefined;
|
|
97
|
-
};
|
|
98
|
-
metadata: {
|
|
99
|
-
html?: string | undefined;
|
|
100
|
-
};
|
|
101
|
-
category: (string | undefined)[];
|
|
102
|
-
} | {
|
|
103
|
-
trackId: string;
|
|
104
|
-
assemblyNames: string[];
|
|
105
|
-
type: string;
|
|
106
|
-
name: string;
|
|
107
|
-
description: string | undefined;
|
|
108
|
-
adapter: {
|
|
109
|
-
type: string;
|
|
110
|
-
bigBedLocation: {
|
|
111
|
-
uri: string | undefined;
|
|
112
|
-
locationType: string;
|
|
113
|
-
};
|
|
114
|
-
bamLocation?: undefined;
|
|
115
|
-
index?: undefined;
|
|
116
|
-
cramLocation?: undefined;
|
|
117
|
-
craiLocation?: undefined;
|
|
118
|
-
sequenceAdapter?: undefined;
|
|
119
|
-
bigWigLocation?: undefined;
|
|
120
|
-
vcfGzLocation?: undefined;
|
|
121
|
-
hicLocation?: undefined;
|
|
122
|
-
};
|
|
123
|
-
metadata: {
|
|
124
|
-
html?: string | undefined;
|
|
125
|
-
};
|
|
126
|
-
category: (string | undefined)[];
|
|
127
|
-
} | {
|
|
128
|
-
trackId: string;
|
|
129
|
-
assemblyNames: string[];
|
|
130
|
-
type: string;
|
|
131
|
-
name: string;
|
|
132
|
-
description: string | undefined;
|
|
133
|
-
adapter: {
|
|
134
|
-
type: string;
|
|
135
|
-
vcfGzLocation: {
|
|
136
|
-
uri: string | undefined;
|
|
137
|
-
locationType: string;
|
|
138
|
-
};
|
|
139
|
-
index: {
|
|
140
|
-
location: {
|
|
141
|
-
uri: string | undefined;
|
|
142
|
-
locationType: string;
|
|
143
|
-
};
|
|
144
|
-
};
|
|
145
|
-
bamLocation?: undefined;
|
|
146
|
-
cramLocation?: undefined;
|
|
147
|
-
craiLocation?: undefined;
|
|
148
|
-
sequenceAdapter?: undefined;
|
|
149
|
-
bigWigLocation?: undefined;
|
|
150
|
-
bigBedLocation?: undefined;
|
|
151
|
-
hicLocation?: undefined;
|
|
152
|
-
};
|
|
153
|
-
metadata: {
|
|
154
|
-
html?: string | undefined;
|
|
155
|
-
};
|
|
156
|
-
category: (string | undefined)[];
|
|
157
|
-
} | {
|
|
158
|
-
trackId: string;
|
|
159
|
-
assemblyNames: string[];
|
|
160
|
-
type: string;
|
|
161
|
-
name: string;
|
|
162
|
-
description: string | undefined;
|
|
163
|
-
adapter: {
|
|
164
|
-
type: string;
|
|
165
|
-
hicLocation: {
|
|
166
|
-
uri: string | undefined;
|
|
167
|
-
locationType: string;
|
|
168
|
-
};
|
|
169
|
-
bamLocation?: undefined;
|
|
170
|
-
index?: undefined;
|
|
171
|
-
cramLocation?: undefined;
|
|
172
|
-
craiLocation?: undefined;
|
|
173
|
-
sequenceAdapter?: undefined;
|
|
174
|
-
bigWigLocation?: undefined;
|
|
175
|
-
bigBedLocation?: undefined;
|
|
176
|
-
vcfGzLocation?: undefined;
|
|
177
|
-
};
|
|
178
|
-
metadata: {
|
|
179
|
-
html?: string | undefined;
|
|
180
|
-
};
|
|
181
|
-
category: (string | undefined)[];
|
|
182
|
-
})[];
|
|
@@ -1,162 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.generateTracks = generateTracks;
|
|
4
|
-
const util_1 = require("@jbrowse/core/util");
|
|
5
|
-
const tracks_1 = require("@jbrowse/core/util/tracks");
|
|
6
|
-
const util_2 = require("./util");
|
|
7
|
-
function generateTracks({ trackDb, trackDbLoc, assemblyName, sequenceAdapter, baseUrl, }) {
|
|
8
|
-
const parentTrackKeys = new Set([
|
|
9
|
-
'superTrack',
|
|
10
|
-
'compositeTrack',
|
|
11
|
-
'container',
|
|
12
|
-
'view',
|
|
13
|
-
]);
|
|
14
|
-
return Object.entries(trackDb.data)
|
|
15
|
-
.map(([trackName, track]) => {
|
|
16
|
-
var _a;
|
|
17
|
-
const { data } = track;
|
|
18
|
-
if (Object.keys(data).some(key => parentTrackKeys.has(key))) {
|
|
19
|
-
return undefined;
|
|
20
|
-
}
|
|
21
|
-
else {
|
|
22
|
-
const parentTracks = [];
|
|
23
|
-
let currentTrackName = trackName;
|
|
24
|
-
do {
|
|
25
|
-
currentTrackName = ((_a = trackDb.data[currentTrackName]) === null || _a === void 0 ? void 0 : _a.data.parent) || '';
|
|
26
|
-
if (currentTrackName) {
|
|
27
|
-
currentTrackName = currentTrackName.split(' ')[0];
|
|
28
|
-
parentTracks.push(trackDb.data[currentTrackName]);
|
|
29
|
-
}
|
|
30
|
-
} while (currentTrackName);
|
|
31
|
-
parentTracks.reverse();
|
|
32
|
-
return {
|
|
33
|
-
metadata: {
|
|
34
|
-
...track.data,
|
|
35
|
-
...(track.data.html
|
|
36
|
-
? {
|
|
37
|
-
html: `<a href="${(0, util_2.resolve)(track.data.html, baseUrl)}">${track.data.html}</a>`,
|
|
38
|
-
}
|
|
39
|
-
: {}),
|
|
40
|
-
},
|
|
41
|
-
category: [
|
|
42
|
-
track.data.group,
|
|
43
|
-
...parentTracks
|
|
44
|
-
.map(p => p === null || p === void 0 ? void 0 : p.data.group)
|
|
45
|
-
.filter((f) => !!f),
|
|
46
|
-
].filter(f => !!f),
|
|
47
|
-
...makeTrackConfig({
|
|
48
|
-
track,
|
|
49
|
-
trackDbLoc,
|
|
50
|
-
trackDb,
|
|
51
|
-
sequenceAdapter,
|
|
52
|
-
}),
|
|
53
|
-
};
|
|
54
|
-
}
|
|
55
|
-
})
|
|
56
|
-
.filter(util_1.notEmpty)
|
|
57
|
-
.map(r => ({
|
|
58
|
-
...r,
|
|
59
|
-
trackId: `ucsc-trackhub-${(0, util_1.objectHash)(r)}`,
|
|
60
|
-
assemblyNames: [assemblyName],
|
|
61
|
-
}));
|
|
62
|
-
}
|
|
63
|
-
function makeTrackConfig({ track, trackDbLoc, trackDb, sequenceAdapter, }) {
|
|
64
|
-
var _a;
|
|
65
|
-
const { data } = track;
|
|
66
|
-
const parent = data.parent || '';
|
|
67
|
-
const bigDataUrl = data.bigDataUrl || '';
|
|
68
|
-
const bigDataIdx = data.bigDataIndex || '';
|
|
69
|
-
const trackType = data.type || ((_a = trackDb.data[parent]) === null || _a === void 0 ? void 0 : _a.data.type) || '';
|
|
70
|
-
const name = (data.shortLabel || '') + (bigDataUrl.includes('xeno') ? ' (xeno)' : '');
|
|
71
|
-
const isUri = (0, util_1.isUriLocation)(trackDbLoc);
|
|
72
|
-
let baseTrackType = trackType.split(' ')[0] || '';
|
|
73
|
-
if (baseTrackType === 'bam' && bigDataUrl.toLowerCase().endsWith('cram')) {
|
|
74
|
-
baseTrackType = 'cram';
|
|
75
|
-
}
|
|
76
|
-
const bigDataLocation = isUri
|
|
77
|
-
? (0, util_2.makeLoc)(bigDataUrl, trackDbLoc)
|
|
78
|
-
: (0, util_2.makeLoc2)(bigDataUrl);
|
|
79
|
-
if (baseTrackType === 'bam') {
|
|
80
|
-
return {
|
|
81
|
-
type: 'AlignmentsTrack',
|
|
82
|
-
name,
|
|
83
|
-
description: data.longLabel,
|
|
84
|
-
adapter: {
|
|
85
|
-
type: 'BamAdapter',
|
|
86
|
-
bamLocation: bigDataLocation,
|
|
87
|
-
index: {
|
|
88
|
-
location: isUri
|
|
89
|
-
? (0, util_2.makeLocAlt)(bigDataIdx, `${bigDataUrl}.bai`, trackDbLoc)
|
|
90
|
-
: (0, util_2.makeLoc2)(bigDataIdx, `${bigDataUrl}.bai`),
|
|
91
|
-
},
|
|
92
|
-
},
|
|
93
|
-
};
|
|
94
|
-
}
|
|
95
|
-
else if (baseTrackType === 'cram') {
|
|
96
|
-
return {
|
|
97
|
-
type: 'AlignmentsTrack',
|
|
98
|
-
name,
|
|
99
|
-
description: data.longLabel,
|
|
100
|
-
adapter: {
|
|
101
|
-
type: 'CramAdapter',
|
|
102
|
-
cramLocation: bigDataLocation,
|
|
103
|
-
craiLocation: isUri
|
|
104
|
-
? (0, util_2.makeLocAlt)(bigDataIdx, `${bigDataUrl}.crai`, trackDbLoc)
|
|
105
|
-
: (0, util_2.makeLoc2)(bigDataIdx, `${bigDataUrl}.crai`),
|
|
106
|
-
sequenceAdapter,
|
|
107
|
-
},
|
|
108
|
-
};
|
|
109
|
-
}
|
|
110
|
-
else if (baseTrackType === 'bigWig') {
|
|
111
|
-
return {
|
|
112
|
-
type: 'QuantitativeTrack',
|
|
113
|
-
name,
|
|
114
|
-
description: data.longLabel,
|
|
115
|
-
adapter: {
|
|
116
|
-
type: 'BigWigAdapter',
|
|
117
|
-
bigWigLocation: bigDataLocation,
|
|
118
|
-
},
|
|
119
|
-
};
|
|
120
|
-
}
|
|
121
|
-
else if (baseTrackType.startsWith('big')) {
|
|
122
|
-
return {
|
|
123
|
-
type: 'FeatureTrack',
|
|
124
|
-
name,
|
|
125
|
-
description: data.longLabel,
|
|
126
|
-
adapter: {
|
|
127
|
-
type: 'BigBedAdapter',
|
|
128
|
-
bigBedLocation: bigDataLocation,
|
|
129
|
-
},
|
|
130
|
-
};
|
|
131
|
-
}
|
|
132
|
-
else if (baseTrackType === 'vcfTabix') {
|
|
133
|
-
return {
|
|
134
|
-
type: 'VariantTrack',
|
|
135
|
-
name,
|
|
136
|
-
description: data.longLabel,
|
|
137
|
-
adapter: {
|
|
138
|
-
type: 'VcfTabixAdapter',
|
|
139
|
-
vcfGzLocation: bigDataLocation,
|
|
140
|
-
index: {
|
|
141
|
-
location: isUri
|
|
142
|
-
? (0, util_2.makeLocAlt)(bigDataIdx, `${bigDataUrl}.tbi`, trackDbLoc)
|
|
143
|
-
: (0, util_2.makeLoc2)(bigDataIdx, `${bigDataUrl}.tbi`),
|
|
144
|
-
},
|
|
145
|
-
},
|
|
146
|
-
};
|
|
147
|
-
}
|
|
148
|
-
else if (baseTrackType === 'hic') {
|
|
149
|
-
return {
|
|
150
|
-
type: 'HicTrack',
|
|
151
|
-
name,
|
|
152
|
-
description: data.longLabel,
|
|
153
|
-
adapter: {
|
|
154
|
-
type: 'HicAdapter',
|
|
155
|
-
hicLocation: bigDataLocation,
|
|
156
|
-
},
|
|
157
|
-
};
|
|
158
|
-
}
|
|
159
|
-
else {
|
|
160
|
-
return (0, tracks_1.generateUnknownTrackConf)(name, baseTrackType);
|
|
161
|
-
}
|
|
162
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { GenomesFile, TrackDbFile } from '@gmod/ucsc-hub';
|
|
2
|
-
import type { FileLocation } from '@jbrowse/core/util';
|
|
3
|
-
export declare function fetchGenomesFile(genomesLoc: FileLocation): Promise<GenomesFile>;
|
|
4
|
-
export declare function fetchTrackDbFile(trackDbLoc: FileLocation): Promise<TrackDbFile>;
|
|
5
|
-
export declare function makeLoc(first: string, base: {
|
|
6
|
-
uri: string;
|
|
7
|
-
baseUri?: string;
|
|
8
|
-
}): {
|
|
9
|
-
uri: string;
|
|
10
|
-
locationType: string;
|
|
11
|
-
};
|
|
12
|
-
export declare function makeLocAlt(first: string, alt: string, base: {
|
|
13
|
-
uri: string;
|
|
14
|
-
}): {
|
|
15
|
-
uri: string;
|
|
16
|
-
locationType: string;
|
|
17
|
-
};
|
|
18
|
-
export declare function makeLoc2(first: string, alt?: string): {
|
|
19
|
-
uri: string | undefined;
|
|
20
|
-
locationType: string;
|
|
21
|
-
};
|
|
22
|
-
export declare function resolve(uri: string, baseUri: string): string;
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.fetchGenomesFile = fetchGenomesFile;
|
|
4
|
-
exports.fetchTrackDbFile = fetchTrackDbFile;
|
|
5
|
-
exports.makeLoc = makeLoc;
|
|
6
|
-
exports.makeLocAlt = makeLocAlt;
|
|
7
|
-
exports.makeLoc2 = makeLoc2;
|
|
8
|
-
exports.resolve = resolve;
|
|
9
|
-
const ucsc_hub_1 = require("@gmod/ucsc-hub");
|
|
10
|
-
const io_1 = require("@jbrowse/core/util/io");
|
|
11
|
-
async function fetchGenomesFile(genomesLoc) {
|
|
12
|
-
const genomesFileText = await (0, io_1.openLocation)(genomesLoc).readFile('utf8');
|
|
13
|
-
return new ucsc_hub_1.GenomesFile(genomesFileText);
|
|
14
|
-
}
|
|
15
|
-
async function fetchTrackDbFile(trackDbLoc) {
|
|
16
|
-
const text = await (0, io_1.openLocation)(trackDbLoc).readFile('utf8');
|
|
17
|
-
return new ucsc_hub_1.TrackDbFile(text);
|
|
18
|
-
}
|
|
19
|
-
function makeLoc(first, base) {
|
|
20
|
-
return {
|
|
21
|
-
uri: new URL(first, new URL(base.uri, base.baseUri)).href,
|
|
22
|
-
locationType: 'UriLocation',
|
|
23
|
-
};
|
|
24
|
-
}
|
|
25
|
-
function makeLocAlt(first, alt, base) {
|
|
26
|
-
return first ? makeLoc(first, base) : makeLoc(alt, base);
|
|
27
|
-
}
|
|
28
|
-
function makeLoc2(first, alt) {
|
|
29
|
-
return first
|
|
30
|
-
? {
|
|
31
|
-
uri: first,
|
|
32
|
-
locationType: 'LocalPath',
|
|
33
|
-
}
|
|
34
|
-
: {
|
|
35
|
-
uri: alt,
|
|
36
|
-
locationType: 'UriLocation',
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
function resolve(uri, baseUri) {
|
|
40
|
-
return new URL(uri, baseUri).href;
|
|
41
|
-
}
|
package/dist/index.d.ts
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import Plugin from '@jbrowse/core/Plugin';
|
|
2
|
-
import type PluginManager from '@jbrowse/core/PluginManager';
|
|
3
|
-
declare const AssemblyManager: import("react").LazyExoticComponent<({ session, onClose, }: {
|
|
4
|
-
session: import("@jbrowse/core/util").AbstractSessionModel;
|
|
5
|
-
onClose: () => void;
|
|
6
|
-
}) => import("react/jsx-runtime").JSX.Element>;
|
|
7
|
-
export default class DataManagementPlugin extends Plugin {
|
|
8
|
-
name: string;
|
|
9
|
-
exports: {
|
|
10
|
-
AssemblyManager: import("react").LazyExoticComponent<({ session, onClose, }: {
|
|
11
|
-
session: import("@jbrowse/core/util").AbstractSessionModel;
|
|
12
|
-
onClose: () => void;
|
|
13
|
-
}) => import("react/jsx-runtime").JSX.Element>;
|
|
14
|
-
};
|
|
15
|
-
install(pluginManager: PluginManager): void;
|
|
16
|
-
configure(_pluginManager: PluginManager): void;
|
|
17
|
-
}
|
|
18
|
-
export { AssemblyManager };
|
|
19
|
-
export type { AddTrackModel } from './AddTrackWidget/model';
|
|
20
|
-
export type { HierarchicalTrackSelectorModel } from './HierarchicalTrackSelectorWidget';
|
package/dist/index.js
DELETED
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
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
|
-
})();
|
|
35
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
36
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
37
|
-
};
|
|
38
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.AssemblyManager = void 0;
|
|
40
|
-
const react_1 = require("react");
|
|
41
|
-
const Plugin_1 = __importDefault(require("@jbrowse/core/Plugin"));
|
|
42
|
-
const AddConnectionWidget_1 = __importDefault(require("./AddConnectionWidget"));
|
|
43
|
-
const AddTrackWidget_1 = __importDefault(require("./AddTrackWidget"));
|
|
44
|
-
const HierarchicalTrackSelectorWidget_1 = __importDefault(require("./HierarchicalTrackSelectorWidget"));
|
|
45
|
-
const JB2TrackHubConnection_1 = __importDefault(require("./JB2TrackHubConnection"));
|
|
46
|
-
const PluginStoreWidget_1 = __importDefault(require("./PluginStoreWidget"));
|
|
47
|
-
const UCSCTrackHubConnection_1 = __importDefault(require("./UCSCTrackHubConnection"));
|
|
48
|
-
const AssemblyManager = (0, react_1.lazy)(() => Promise.resolve().then(() => __importStar(require('./AssemblyManager'))));
|
|
49
|
-
exports.AssemblyManager = AssemblyManager;
|
|
50
|
-
class DataManagementPlugin extends Plugin_1.default {
|
|
51
|
-
constructor() {
|
|
52
|
-
super(...arguments);
|
|
53
|
-
this.name = 'DataManagementPlugin';
|
|
54
|
-
this.exports = {
|
|
55
|
-
AssemblyManager,
|
|
56
|
-
};
|
|
57
|
-
}
|
|
58
|
-
install(pluginManager) {
|
|
59
|
-
(0, UCSCTrackHubConnection_1.default)(pluginManager);
|
|
60
|
-
(0, JB2TrackHubConnection_1.default)(pluginManager);
|
|
61
|
-
(0, AddTrackWidget_1.default)(pluginManager);
|
|
62
|
-
(0, HierarchicalTrackSelectorWidget_1.default)(pluginManager);
|
|
63
|
-
(0, AddConnectionWidget_1.default)(pluginManager);
|
|
64
|
-
(0, PluginStoreWidget_1.default)(pluginManager);
|
|
65
|
-
}
|
|
66
|
-
configure(_pluginManager) { }
|
|
67
|
-
}
|
|
68
|
-
exports.default = DataManagementPlugin;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { HierarchicalTrackSelectorModel } from '../../model';
|
|
2
|
-
import type { AnyConfigurationModel } from '@jbrowse/core/configuration';
|
|
3
|
-
declare const TrackLabelMenu: ({ id, trackId, stopPropagation, model, setOpen, conf, }: {
|
|
4
|
-
id: string;
|
|
5
|
-
trackId: string;
|
|
6
|
-
stopPropagation?: boolean;
|
|
7
|
-
conf: AnyConfigurationModel;
|
|
8
|
-
setOpen?: (arg: boolean) => void;
|
|
9
|
-
model: HierarchicalTrackSelectorModel;
|
|
10
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
-
export default TrackLabelMenu;
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { makeStyles } from 'tss-react/mui';
|
|
3
|
-
import Category from './TrackCategory';
|
|
4
|
-
import TrackLabel from './TrackLabel';
|
|
5
|
-
const useStyles = makeStyles()(theme => ({
|
|
6
|
-
accordionBase: {
|
|
7
|
-
display: 'flex',
|
|
8
|
-
},
|
|
9
|
-
accordionCard: {
|
|
10
|
-
padding: 3,
|
|
11
|
-
cursor: 'pointer',
|
|
12
|
-
display: 'flex',
|
|
13
|
-
},
|
|
14
|
-
nestingLevelMarker: {
|
|
15
|
-
position: 'absolute',
|
|
16
|
-
borderLeft: '1.5px solid #555',
|
|
17
|
-
},
|
|
18
|
-
accordionColor: {
|
|
19
|
-
background: theme.palette.tertiary.main,
|
|
20
|
-
color: theme.palette.tertiary.contrastText,
|
|
21
|
-
width: '100%',
|
|
22
|
-
display: 'flex',
|
|
23
|
-
paddingLeft: 5,
|
|
24
|
-
},
|
|
25
|
-
}));
|
|
26
|
-
export default function Node({ data, isOpen, style, setOpen, }) {
|
|
27
|
-
const { isLeaf, nestingLevel } = data;
|
|
28
|
-
const { classes } = useStyles();
|
|
29
|
-
const width = 10;
|
|
30
|
-
const marginLeft = nestingLevel * width + (isLeaf ? width : 0);
|
|
31
|
-
return (_jsxs("div", { style: style, className: !isLeaf ? classes.accordionBase : undefined, children: [new Array(nestingLevel).fill(0).map((_, idx) => (_jsx("div", { style: { left: idx * width + 4, height: style === null || style === void 0 ? void 0 : style.height }, className: classes.nestingLevelMarker }, `mark-${idx}`))), _jsx("div", { className: !isLeaf ? classes.accordionCard : undefined, style: {
|
|
32
|
-
marginLeft,
|
|
33
|
-
whiteSpace: 'nowrap',
|
|
34
|
-
width: '100%',
|
|
35
|
-
}, children: _jsx("div", { className: !isLeaf ? classes.accordionColor : undefined, children: !isLeaf ? (_jsx(Category, { isOpen: isOpen, data: data, setOpen: setOpen })) : (_jsx(TrackLabel, { data: data })) }) })] }));
|
|
36
|
-
}
|