@jbrowse/plugin-data-management 2.5.0 → 2.6.2
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 +2 -1
- package/dist/AddConnectionWidget/components/AddConnectionWidget.js +0 -1
- package/dist/AddConnectionWidget/components/ConfigureConnection.d.ts +2 -1
- package/dist/AddConnectionWidget/components/ConfigureConnection.js +0 -1
- package/dist/AddConnectionWidget/components/ConnectionTypeSelect.d.ts +2 -1
- package/dist/AddConnectionWidget/components/ConnectionTypeSelect.js +0 -1
- package/dist/AddConnectionWidget/index.js +0 -1
- package/dist/AddConnectionWidget/model.js +0 -1
- package/dist/AddTrackWidget/components/AddTrackWidget.d.ts +2 -1
- package/dist/AddTrackWidget/components/AddTrackWidget.js +0 -1
- package/dist/AddTrackWidget/components/ConfirmTrack.d.ts +2 -1
- package/dist/AddTrackWidget/components/ConfirmTrack.js +0 -1
- package/dist/AddTrackWidget/components/DefaultAddTrackWorkflow.d.ts +2 -1
- package/dist/AddTrackWidget/components/DefaultAddTrackWorkflow.js +1 -2
- package/dist/AddTrackWidget/components/PasteConfigWorkflow.d.ts +2 -1
- package/dist/AddTrackWidget/components/PasteConfigWorkflow.js +1 -1
- package/dist/AddTrackWidget/components/TextIndexingConfig.d.ts +2 -1
- package/dist/AddTrackWidget/components/TextIndexingConfig.js +0 -1
- package/dist/AddTrackWidget/components/TrackAdapterSelector.d.ts +2 -1
- package/dist/AddTrackWidget/components/TrackAdapterSelector.js +0 -1
- package/dist/AddTrackWidget/components/TrackSourceSelect.d.ts +2 -1
- package/dist/AddTrackWidget/components/TrackSourceSelect.js +0 -1
- package/dist/AddTrackWidget/components/TrackTypeSelector.d.ts +2 -1
- package/dist/AddTrackWidget/components/TrackTypeSelector.js +0 -1
- package/dist/AddTrackWidget/index.js +0 -1
- package/dist/AddTrackWidget/model.js +0 -1
- package/dist/AssemblyManager/AssemblyAddForm.d.ts +2 -1
- package/dist/AssemblyManager/AssemblyAddForm.js +0 -1
- package/dist/AssemblyManager/AssemblyEditor.d.ts +2 -1
- package/dist/AssemblyManager/AssemblyEditor.js +0 -1
- package/dist/AssemblyManager/AssemblyManager.d.ts +2 -1
- package/dist/AssemblyManager/AssemblyManager.js +0 -1
- package/dist/AssemblyManager/AssemblyTable.d.ts +2 -1
- package/dist/AssemblyManager/AssemblyTable.js +0 -1
- package/dist/AssemblyManager/index.js +0 -1
- package/dist/HierarchicalTrackSelectorWidget/components/HierarchicalFab.d.ts +2 -1
- package/dist/HierarchicalTrackSelectorWidget/components/HierarchicalFab.js +0 -1
- package/dist/HierarchicalTrackSelectorWidget/components/HierarchicalTrackSelector.d.ts +2 -1
- package/dist/HierarchicalTrackSelectorWidget/components/HierarchicalTrackSelector.js +4 -10
- package/dist/HierarchicalTrackSelectorWidget/components/ShoppingCart.d.ts +2 -1
- package/dist/HierarchicalTrackSelectorWidget/components/ShoppingCart.js +0 -1
- package/dist/HierarchicalTrackSelectorWidget/components/dialogs/CloseConnectionDialog.d.ts +8 -8
- package/dist/HierarchicalTrackSelectorWidget/components/dialogs/CloseConnectionDialog.js +6 -11
- package/dist/HierarchicalTrackSelectorWidget/components/dialogs/DeleteConnectionDialog.d.ts +2 -1
- package/dist/HierarchicalTrackSelectorWidget/components/dialogs/DeleteConnectionDialog.js +0 -1
- package/dist/HierarchicalTrackSelectorWidget/components/dialogs/ManageConnectionsDialog.d.ts +2 -1
- package/dist/HierarchicalTrackSelectorWidget/components/dialogs/ManageConnectionsDialog.js +0 -1
- package/dist/HierarchicalTrackSelectorWidget/components/dialogs/ToggleConnectionsDialog.d.ts +3 -3
- package/dist/HierarchicalTrackSelectorWidget/components/dialogs/ToggleConnectionsDialog.js +27 -23
- package/dist/HierarchicalTrackSelectorWidget/components/faceted/FacetFilters.d.ts +2 -1
- package/dist/HierarchicalTrackSelectorWidget/components/faceted/FacetFilters.js +0 -1
- package/dist/HierarchicalTrackSelectorWidget/components/faceted/FacetedDialog.d.ts +2 -1
- package/dist/HierarchicalTrackSelectorWidget/components/faceted/FacetedDialog.js +0 -1
- package/dist/HierarchicalTrackSelectorWidget/components/faceted/FacetedHeader.d.ts +2 -1
- package/dist/HierarchicalTrackSelectorWidget/components/faceted/FacetedHeader.js +0 -1
- package/dist/HierarchicalTrackSelectorWidget/components/faceted/FacetedSelector.d.ts +2 -1
- package/dist/HierarchicalTrackSelectorWidget/components/faceted/FacetedSelector.js +32 -32
- package/dist/HierarchicalTrackSelectorWidget/components/faceted/util.js +0 -1
- package/dist/HierarchicalTrackSelectorWidget/components/tree/HamburgerMenu.d.ts +3 -3
- package/dist/HierarchicalTrackSelectorWidget/components/tree/HamburgerMenu.js +36 -42
- package/dist/HierarchicalTrackSelectorWidget/components/tree/HierarchicalHeader.d.ts +3 -3
- package/dist/HierarchicalTrackSelectorWidget/components/tree/HierarchicalHeader.js +2 -3
- package/dist/HierarchicalTrackSelectorWidget/components/tree/HierarchicalTree.d.ts +2 -1
- package/dist/HierarchicalTrackSelectorWidget/components/tree/HierarchicalTree.js +0 -1
- package/dist/HierarchicalTrackSelectorWidget/components/tree/TrackCategory.d.ts +2 -1
- package/dist/HierarchicalTrackSelectorWidget/components/tree/TrackCategory.js +0 -1
- package/dist/HierarchicalTrackSelectorWidget/components/tree/TrackLabel.d.ts +2 -1
- package/dist/HierarchicalTrackSelectorWidget/components/tree/TrackLabel.js +0 -1
- package/dist/HierarchicalTrackSelectorWidget/components/tree/TrackListNode.d.ts +2 -1
- package/dist/HierarchicalTrackSelectorWidget/components/tree/TrackListNode.js +0 -1
- package/dist/HierarchicalTrackSelectorWidget/components/util.js +0 -1
- package/dist/HierarchicalTrackSelectorWidget/configSchema.js +0 -1
- package/dist/HierarchicalTrackSelectorWidget/index.js +0 -1
- package/dist/HierarchicalTrackSelectorWidget/model.d.ts +69 -5
- package/dist/HierarchicalTrackSelectorWidget/model.js +100 -54
- package/dist/PluginStoreWidget/components/CustomPluginForm.d.ts +2 -1
- package/dist/PluginStoreWidget/components/CustomPluginForm.js +0 -1
- package/dist/PluginStoreWidget/components/InstalledPlugin.d.ts +2 -1
- package/dist/PluginStoreWidget/components/InstalledPlugin.js +0 -1
- package/dist/PluginStoreWidget/components/InstalledPluginsList.d.ts +2 -1
- package/dist/PluginStoreWidget/components/InstalledPluginsList.js +0 -1
- package/dist/PluginStoreWidget/components/PluginCard.d.ts +2 -1
- package/dist/PluginStoreWidget/components/PluginCard.js +0 -1
- package/dist/PluginStoreWidget/components/PluginStoreWidget.d.ts +2 -1
- package/dist/PluginStoreWidget/components/PluginStoreWidget.js +0 -1
- package/dist/PluginStoreWidget/index.js +0 -1
- package/dist/PluginStoreWidget/model.js +0 -1
- package/dist/SetDefaultSession/SetDefaultSession.d.ts +2 -1
- package/dist/SetDefaultSession/SetDefaultSession.js +0 -1
- package/dist/SetDefaultSession/index.js +0 -1
- package/dist/index.d.ts +4 -4
- package/dist/index.js +0 -1
- package/dist/ucsc-trackhub/configSchema.js +0 -1
- package/dist/ucsc-trackhub/index.js +0 -1
- package/dist/ucsc-trackhub/model.d.ts +12 -0
- package/dist/ucsc-trackhub/model.js +45 -13
- package/dist/ucsc-trackhub/ucscAssemblies.js +0 -1
- package/dist/ucsc-trackhub/ucscTrackHub.js +0 -1
- package/esm/AddConnectionWidget/components/AddConnectionWidget.d.ts +2 -1
- package/esm/AddConnectionWidget/components/AddConnectionWidget.js +0 -1
- package/esm/AddConnectionWidget/components/ConfigureConnection.d.ts +2 -1
- package/esm/AddConnectionWidget/components/ConfigureConnection.js +0 -1
- package/esm/AddConnectionWidget/components/ConnectionTypeSelect.d.ts +2 -1
- package/esm/AddConnectionWidget/components/ConnectionTypeSelect.js +0 -1
- package/esm/AddConnectionWidget/index.js +0 -1
- package/esm/AddConnectionWidget/model.js +0 -1
- package/esm/AddTrackWidget/components/AddTrackWidget.d.ts +2 -1
- package/esm/AddTrackWidget/components/AddTrackWidget.js +0 -1
- package/esm/AddTrackWidget/components/ConfirmTrack.d.ts +2 -1
- package/esm/AddTrackWidget/components/ConfirmTrack.js +0 -1
- package/esm/AddTrackWidget/components/DefaultAddTrackWorkflow.d.ts +2 -1
- package/esm/AddTrackWidget/components/DefaultAddTrackWorkflow.js +1 -2
- package/esm/AddTrackWidget/components/PasteConfigWorkflow.d.ts +2 -1
- package/esm/AddTrackWidget/components/PasteConfigWorkflow.js +1 -1
- package/esm/AddTrackWidget/components/TextIndexingConfig.d.ts +2 -1
- package/esm/AddTrackWidget/components/TextIndexingConfig.js +0 -1
- package/esm/AddTrackWidget/components/TrackAdapterSelector.d.ts +2 -1
- package/esm/AddTrackWidget/components/TrackAdapterSelector.js +0 -1
- package/esm/AddTrackWidget/components/TrackSourceSelect.d.ts +2 -1
- package/esm/AddTrackWidget/components/TrackSourceSelect.js +0 -1
- package/esm/AddTrackWidget/components/TrackTypeSelector.d.ts +2 -1
- package/esm/AddTrackWidget/components/TrackTypeSelector.js +0 -1
- package/esm/AddTrackWidget/index.js +0 -1
- package/esm/AddTrackWidget/model.js +0 -1
- package/esm/AssemblyManager/AssemblyAddForm.d.ts +2 -1
- package/esm/AssemblyManager/AssemblyAddForm.js +0 -1
- package/esm/AssemblyManager/AssemblyEditor.d.ts +2 -1
- package/esm/AssemblyManager/AssemblyEditor.js +0 -1
- package/esm/AssemblyManager/AssemblyManager.d.ts +2 -1
- package/esm/AssemblyManager/AssemblyManager.js +0 -1
- package/esm/AssemblyManager/AssemblyTable.d.ts +2 -1
- package/esm/AssemblyManager/AssemblyTable.js +0 -1
- package/esm/AssemblyManager/index.js +0 -1
- package/esm/HierarchicalTrackSelectorWidget/components/HierarchicalFab.d.ts +2 -1
- package/esm/HierarchicalTrackSelectorWidget/components/HierarchicalFab.js +0 -1
- package/esm/HierarchicalTrackSelectorWidget/components/HierarchicalTrackSelector.d.ts +2 -1
- package/esm/HierarchicalTrackSelectorWidget/components/HierarchicalTrackSelector.js +4 -10
- package/esm/HierarchicalTrackSelectorWidget/components/ShoppingCart.d.ts +2 -1
- package/esm/HierarchicalTrackSelectorWidget/components/ShoppingCart.js +0 -1
- package/esm/HierarchicalTrackSelectorWidget/components/dialogs/CloseConnectionDialog.d.ts +8 -8
- package/esm/HierarchicalTrackSelectorWidget/components/dialogs/CloseConnectionDialog.js +7 -12
- package/esm/HierarchicalTrackSelectorWidget/components/dialogs/DeleteConnectionDialog.d.ts +2 -1
- package/esm/HierarchicalTrackSelectorWidget/components/dialogs/DeleteConnectionDialog.js +0 -1
- package/esm/HierarchicalTrackSelectorWidget/components/dialogs/ManageConnectionsDialog.d.ts +2 -1
- package/esm/HierarchicalTrackSelectorWidget/components/dialogs/ManageConnectionsDialog.js +0 -1
- package/esm/HierarchicalTrackSelectorWidget/components/dialogs/ToggleConnectionsDialog.d.ts +3 -3
- package/esm/HierarchicalTrackSelectorWidget/components/dialogs/ToggleConnectionsDialog.js +27 -23
- package/esm/HierarchicalTrackSelectorWidget/components/faceted/FacetFilters.d.ts +2 -1
- package/esm/HierarchicalTrackSelectorWidget/components/faceted/FacetFilters.js +0 -1
- package/esm/HierarchicalTrackSelectorWidget/components/faceted/FacetedDialog.d.ts +2 -1
- package/esm/HierarchicalTrackSelectorWidget/components/faceted/FacetedDialog.js +0 -1
- package/esm/HierarchicalTrackSelectorWidget/components/faceted/FacetedHeader.d.ts +2 -1
- package/esm/HierarchicalTrackSelectorWidget/components/faceted/FacetedHeader.js +0 -1
- package/esm/HierarchicalTrackSelectorWidget/components/faceted/FacetedSelector.d.ts +2 -1
- package/esm/HierarchicalTrackSelectorWidget/components/faceted/FacetedSelector.js +32 -32
- package/esm/HierarchicalTrackSelectorWidget/components/faceted/util.js +0 -1
- package/esm/HierarchicalTrackSelectorWidget/components/tree/HamburgerMenu.d.ts +3 -3
- package/esm/HierarchicalTrackSelectorWidget/components/tree/HamburgerMenu.js +37 -43
- package/esm/HierarchicalTrackSelectorWidget/components/tree/HierarchicalHeader.d.ts +3 -3
- package/esm/HierarchicalTrackSelectorWidget/components/tree/HierarchicalHeader.js +2 -3
- package/esm/HierarchicalTrackSelectorWidget/components/tree/HierarchicalTree.d.ts +2 -1
- package/esm/HierarchicalTrackSelectorWidget/components/tree/HierarchicalTree.js +0 -1
- package/esm/HierarchicalTrackSelectorWidget/components/tree/TrackCategory.d.ts +2 -1
- package/esm/HierarchicalTrackSelectorWidget/components/tree/TrackCategory.js +0 -1
- package/esm/HierarchicalTrackSelectorWidget/components/tree/TrackLabel.d.ts +2 -1
- package/esm/HierarchicalTrackSelectorWidget/components/tree/TrackLabel.js +0 -1
- package/esm/HierarchicalTrackSelectorWidget/components/tree/TrackListNode.d.ts +2 -1
- package/esm/HierarchicalTrackSelectorWidget/components/tree/TrackListNode.js +0 -1
- package/esm/HierarchicalTrackSelectorWidget/components/util.js +0 -1
- package/esm/HierarchicalTrackSelectorWidget/configSchema.js +0 -1
- package/esm/HierarchicalTrackSelectorWidget/index.js +0 -1
- package/esm/HierarchicalTrackSelectorWidget/model.d.ts +69 -5
- package/esm/HierarchicalTrackSelectorWidget/model.js +101 -55
- package/esm/PluginStoreWidget/components/CustomPluginForm.d.ts +2 -1
- package/esm/PluginStoreWidget/components/CustomPluginForm.js +0 -1
- package/esm/PluginStoreWidget/components/InstalledPlugin.d.ts +2 -1
- package/esm/PluginStoreWidget/components/InstalledPlugin.js +0 -1
- package/esm/PluginStoreWidget/components/InstalledPluginsList.d.ts +2 -1
- package/esm/PluginStoreWidget/components/InstalledPluginsList.js +0 -1
- package/esm/PluginStoreWidget/components/PluginCard.d.ts +2 -1
- package/esm/PluginStoreWidget/components/PluginCard.js +0 -1
- package/esm/PluginStoreWidget/components/PluginStoreWidget.d.ts +2 -1
- package/esm/PluginStoreWidget/components/PluginStoreWidget.js +0 -1
- package/esm/PluginStoreWidget/index.js +0 -1
- package/esm/PluginStoreWidget/model.js +0 -1
- package/esm/SetDefaultSession/SetDefaultSession.d.ts +2 -1
- package/esm/SetDefaultSession/SetDefaultSession.js +0 -1
- package/esm/SetDefaultSession/index.js +0 -1
- package/esm/index.d.ts +4 -4
- package/esm/index.js +0 -1
- package/esm/ucsc-trackhub/configSchema.js +0 -1
- package/esm/ucsc-trackhub/index.js +0 -1
- package/esm/ucsc-trackhub/model.d.ts +12 -0
- package/esm/ucsc-trackhub/model.js +20 -11
- package/esm/ucsc-trackhub/ucscAssemblies.js +0 -1
- package/esm/ucsc-trackhub/ucscTrackHub.js +0 -1
- package/package.json +3 -4
- package/dist/AddConnectionWidget/components/AddConnectionWidget.js.map +0 -1
- package/dist/AddConnectionWidget/components/ConfigureConnection.js.map +0 -1
- package/dist/AddConnectionWidget/components/ConnectionTypeSelect.js.map +0 -1
- package/dist/AddConnectionWidget/index.js.map +0 -1
- package/dist/AddConnectionWidget/model.js.map +0 -1
- package/dist/AddTrackWidget/components/AddTrackWidget.js.map +0 -1
- package/dist/AddTrackWidget/components/ConfirmTrack.js.map +0 -1
- package/dist/AddTrackWidget/components/DefaultAddTrackWorkflow.js.map +0 -1
- package/dist/AddTrackWidget/components/PasteConfigWorkflow.js.map +0 -1
- package/dist/AddTrackWidget/components/TextIndexingConfig.js.map +0 -1
- package/dist/AddTrackWidget/components/TrackAdapterSelector.js.map +0 -1
- package/dist/AddTrackWidget/components/TrackSourceSelect.js.map +0 -1
- package/dist/AddTrackWidget/components/TrackTypeSelector.js.map +0 -1
- package/dist/AddTrackWidget/index.js.map +0 -1
- package/dist/AddTrackWidget/model.js.map +0 -1
- package/dist/AssemblyManager/AssemblyAddForm.js.map +0 -1
- package/dist/AssemblyManager/AssemblyEditor.js.map +0 -1
- package/dist/AssemblyManager/AssemblyManager.js.map +0 -1
- package/dist/AssemblyManager/AssemblyTable.js.map +0 -1
- package/dist/AssemblyManager/index.js.map +0 -1
- package/dist/HierarchicalTrackSelectorWidget/components/HierarchicalFab.js.map +0 -1
- package/dist/HierarchicalTrackSelectorWidget/components/HierarchicalTrackSelector.js.map +0 -1
- package/dist/HierarchicalTrackSelectorWidget/components/ShoppingCart.js.map +0 -1
- package/dist/HierarchicalTrackSelectorWidget/components/dialogs/CloseConnectionDialog.js.map +0 -1
- package/dist/HierarchicalTrackSelectorWidget/components/dialogs/DeleteConnectionDialog.js.map +0 -1
- package/dist/HierarchicalTrackSelectorWidget/components/dialogs/ManageConnectionsDialog.js.map +0 -1
- package/dist/HierarchicalTrackSelectorWidget/components/dialogs/ToggleConnectionsDialog.js.map +0 -1
- package/dist/HierarchicalTrackSelectorWidget/components/faceted/FacetFilters.js.map +0 -1
- package/dist/HierarchicalTrackSelectorWidget/components/faceted/FacetedDialog.js.map +0 -1
- package/dist/HierarchicalTrackSelectorWidget/components/faceted/FacetedHeader.js.map +0 -1
- package/dist/HierarchicalTrackSelectorWidget/components/faceted/FacetedSelector.js.map +0 -1
- package/dist/HierarchicalTrackSelectorWidget/components/faceted/util.js.map +0 -1
- package/dist/HierarchicalTrackSelectorWidget/components/tree/HamburgerMenu.js.map +0 -1
- package/dist/HierarchicalTrackSelectorWidget/components/tree/HierarchicalHeader.js.map +0 -1
- package/dist/HierarchicalTrackSelectorWidget/components/tree/HierarchicalTree.js.map +0 -1
- package/dist/HierarchicalTrackSelectorWidget/components/tree/TrackCategory.js.map +0 -1
- package/dist/HierarchicalTrackSelectorWidget/components/tree/TrackLabel.js.map +0 -1
- package/dist/HierarchicalTrackSelectorWidget/components/tree/TrackListNode.js.map +0 -1
- package/dist/HierarchicalTrackSelectorWidget/components/util.js.map +0 -1
- package/dist/HierarchicalTrackSelectorWidget/configSchema.js.map +0 -1
- package/dist/HierarchicalTrackSelectorWidget/index.js.map +0 -1
- package/dist/HierarchicalTrackSelectorWidget/model.js.map +0 -1
- package/dist/PluginStoreWidget/components/CustomPluginForm.js.map +0 -1
- package/dist/PluginStoreWidget/components/InstalledPlugin.js.map +0 -1
- package/dist/PluginStoreWidget/components/InstalledPluginsList.js.map +0 -1
- package/dist/PluginStoreWidget/components/PluginCard.js.map +0 -1
- package/dist/PluginStoreWidget/components/PluginStoreWidget.js.map +0 -1
- package/dist/PluginStoreWidget/index.js.map +0 -1
- package/dist/PluginStoreWidget/model.js.map +0 -1
- package/dist/SetDefaultSession/SetDefaultSession.js.map +0 -1
- package/dist/SetDefaultSession/index.js.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/ucsc-trackhub/configSchema.js.map +0 -1
- package/dist/ucsc-trackhub/index.js.map +0 -1
- package/dist/ucsc-trackhub/model.js.map +0 -1
- package/dist/ucsc-trackhub/ucscAssemblies.js.map +0 -1
- package/dist/ucsc-trackhub/ucscTrackHub.js.map +0 -1
- package/esm/AddConnectionWidget/components/AddConnectionWidget.js.map +0 -1
- package/esm/AddConnectionWidget/components/ConfigureConnection.js.map +0 -1
- package/esm/AddConnectionWidget/components/ConnectionTypeSelect.js.map +0 -1
- package/esm/AddConnectionWidget/index.js.map +0 -1
- package/esm/AddConnectionWidget/model.js.map +0 -1
- package/esm/AddTrackWidget/components/AddTrackWidget.js.map +0 -1
- package/esm/AddTrackWidget/components/ConfirmTrack.js.map +0 -1
- package/esm/AddTrackWidget/components/DefaultAddTrackWorkflow.js.map +0 -1
- package/esm/AddTrackWidget/components/PasteConfigWorkflow.js.map +0 -1
- package/esm/AddTrackWidget/components/TextIndexingConfig.js.map +0 -1
- package/esm/AddTrackWidget/components/TrackAdapterSelector.js.map +0 -1
- package/esm/AddTrackWidget/components/TrackSourceSelect.js.map +0 -1
- package/esm/AddTrackWidget/components/TrackTypeSelector.js.map +0 -1
- package/esm/AddTrackWidget/index.js.map +0 -1
- package/esm/AddTrackWidget/model.js.map +0 -1
- package/esm/AssemblyManager/AssemblyAddForm.js.map +0 -1
- package/esm/AssemblyManager/AssemblyEditor.js.map +0 -1
- package/esm/AssemblyManager/AssemblyManager.js.map +0 -1
- package/esm/AssemblyManager/AssemblyTable.js.map +0 -1
- package/esm/AssemblyManager/index.js.map +0 -1
- package/esm/HierarchicalTrackSelectorWidget/components/HierarchicalFab.js.map +0 -1
- package/esm/HierarchicalTrackSelectorWidget/components/HierarchicalTrackSelector.js.map +0 -1
- package/esm/HierarchicalTrackSelectorWidget/components/ShoppingCart.js.map +0 -1
- package/esm/HierarchicalTrackSelectorWidget/components/dialogs/CloseConnectionDialog.js.map +0 -1
- package/esm/HierarchicalTrackSelectorWidget/components/dialogs/DeleteConnectionDialog.js.map +0 -1
- package/esm/HierarchicalTrackSelectorWidget/components/dialogs/ManageConnectionsDialog.js.map +0 -1
- package/esm/HierarchicalTrackSelectorWidget/components/dialogs/ToggleConnectionsDialog.js.map +0 -1
- package/esm/HierarchicalTrackSelectorWidget/components/faceted/FacetFilters.js.map +0 -1
- package/esm/HierarchicalTrackSelectorWidget/components/faceted/FacetedDialog.js.map +0 -1
- package/esm/HierarchicalTrackSelectorWidget/components/faceted/FacetedHeader.js.map +0 -1
- package/esm/HierarchicalTrackSelectorWidget/components/faceted/FacetedSelector.js.map +0 -1
- package/esm/HierarchicalTrackSelectorWidget/components/faceted/util.js.map +0 -1
- package/esm/HierarchicalTrackSelectorWidget/components/tree/HamburgerMenu.js.map +0 -1
- package/esm/HierarchicalTrackSelectorWidget/components/tree/HierarchicalHeader.js.map +0 -1
- package/esm/HierarchicalTrackSelectorWidget/components/tree/HierarchicalTree.js.map +0 -1
- package/esm/HierarchicalTrackSelectorWidget/components/tree/TrackCategory.js.map +0 -1
- package/esm/HierarchicalTrackSelectorWidget/components/tree/TrackLabel.js.map +0 -1
- package/esm/HierarchicalTrackSelectorWidget/components/tree/TrackListNode.js.map +0 -1
- package/esm/HierarchicalTrackSelectorWidget/components/util.js.map +0 -1
- package/esm/HierarchicalTrackSelectorWidget/configSchema.js.map +0 -1
- package/esm/HierarchicalTrackSelectorWidget/index.js.map +0 -1
- package/esm/HierarchicalTrackSelectorWidget/model.js.map +0 -1
- package/esm/PluginStoreWidget/components/CustomPluginForm.js.map +0 -1
- package/esm/PluginStoreWidget/components/InstalledPlugin.js.map +0 -1
- package/esm/PluginStoreWidget/components/InstalledPluginsList.js.map +0 -1
- package/esm/PluginStoreWidget/components/PluginCard.js.map +0 -1
- package/esm/PluginStoreWidget/components/PluginStoreWidget.js.map +0 -1
- package/esm/PluginStoreWidget/index.js.map +0 -1
- package/esm/PluginStoreWidget/model.js.map +0 -1
- package/esm/SetDefaultSession/SetDefaultSession.js.map +0 -1
- package/esm/SetDefaultSession/index.js.map +0 -1
- package/esm/index.js.map +0 -1
- package/esm/ucsc-trackhub/configSchema.js.map +0 -1
- package/esm/ucsc-trackhub/index.js.map +0 -1
- package/esm/ucsc-trackhub/model.js.map +0 -1
- package/esm/ucsc-trackhub/ucscAssemblies.js.map +0 -1
- package/esm/ucsc-trackhub/ucscTrackHub.js.map +0 -1
- package/src/AddConnectionWidget/components/AddConnectionWidget.test.tsx +0 -139
- package/src/AddConnectionWidget/components/AddConnectionWidget.tsx +0 -114
- package/src/AddConnectionWidget/components/ConfigureConnection.tsx +0 -26
- package/src/AddConnectionWidget/components/ConnectionTypeSelect.tsx +0 -64
- package/src/AddConnectionWidget/components/__snapshots__/AddConnectionWidget.test.tsx.snap +0 -236
- package/src/AddConnectionWidget/index.ts +0 -19
- package/src/AddConnectionWidget/model.ts +0 -7
- package/src/AddTrackWidget/components/AddTrackWidget.test.tsx +0 -118
- package/src/AddTrackWidget/components/AddTrackWidget.tsx +0 -43
- package/src/AddTrackWidget/components/ConfirmTrack.tsx +0 -189
- package/src/AddTrackWidget/components/DefaultAddTrackWorkflow.tsx +0 -201
- package/src/AddTrackWidget/components/PasteConfigWorkflow.tsx +0 -64
- package/src/AddTrackWidget/components/TextIndexingConfig.tsx +0 -132
- package/src/AddTrackWidget/components/TrackAdapterSelector.tsx +0 -73
- package/src/AddTrackWidget/components/TrackSourceSelect.tsx +0 -48
- package/src/AddTrackWidget/components/TrackTypeSelector.tsx +0 -46
- package/src/AddTrackWidget/index.test.tsx +0 -247
- package/src/AddTrackWidget/index.ts +0 -19
- package/src/AddTrackWidget/model.ts +0 -179
- package/src/AssemblyManager/AssemblyAddForm.tsx +0 -250
- package/src/AssemblyManager/AssemblyEditor.tsx +0 -20
- package/src/AssemblyManager/AssemblyManager.test.tsx +0 -93
- package/src/AssemblyManager/AssemblyManager.tsx +0 -84
- package/src/AssemblyManager/AssemblyTable.tsx +0 -88
- package/src/AssemblyManager/index.ts +0 -1
- package/src/HierarchicalTrackSelectorWidget/components/HierarchicalFab.tsx +0 -94
- package/src/HierarchicalTrackSelectorWidget/components/HierarchicalTrackSelector.test.tsx +0 -148
- package/src/HierarchicalTrackSelectorWidget/components/HierarchicalTrackSelector.tsx +0 -97
- package/src/HierarchicalTrackSelectorWidget/components/ShoppingCart.tsx +0 -73
- package/src/HierarchicalTrackSelectorWidget/components/__snapshots__/HierarchicalTrackSelector.test.tsx.snap +0 -200
- package/src/HierarchicalTrackSelectorWidget/components/dialogs/CloseConnectionDialog.tsx +0 -69
- package/src/HierarchicalTrackSelectorWidget/components/dialogs/DeleteConnectionDialog.tsx +0 -53
- package/src/HierarchicalTrackSelectorWidget/components/dialogs/ManageConnectionsDialog.tsx +0 -84
- package/src/HierarchicalTrackSelectorWidget/components/dialogs/ToggleConnectionsDialog.tsx +0 -97
- package/src/HierarchicalTrackSelectorWidget/components/faceted/FacetFilters.tsx +0 -138
- package/src/HierarchicalTrackSelectorWidget/components/faceted/FacetedDialog.tsx +0 -29
- package/src/HierarchicalTrackSelectorWidget/components/faceted/FacetedHeader.tsx +0 -96
- package/src/HierarchicalTrackSelectorWidget/components/faceted/FacetedSelector.tsx +0 -346
- package/src/HierarchicalTrackSelectorWidget/components/faceted/util.ts +0 -5
- package/src/HierarchicalTrackSelectorWidget/components/tree/HamburgerMenu.tsx +0 -195
- package/src/HierarchicalTrackSelectorWidget/components/tree/HierarchicalHeader.tsx +0 -85
- package/src/HierarchicalTrackSelectorWidget/components/tree/HierarchicalTree.tsx +0 -101
- package/src/HierarchicalTrackSelectorWidget/components/tree/TrackCategory.tsx +0 -92
- package/src/HierarchicalTrackSelectorWidget/components/tree/TrackLabel.tsx +0 -106
- package/src/HierarchicalTrackSelectorWidget/components/tree/TrackListNode.tsx +0 -84
- package/src/HierarchicalTrackSelectorWidget/components/util.ts +0 -41
- package/src/HierarchicalTrackSelectorWidget/configSchema.ts +0 -3
- package/src/HierarchicalTrackSelectorWidget/index.ts +0 -25
- package/src/HierarchicalTrackSelectorWidget/model.test.js +0 -24
- package/src/HierarchicalTrackSelectorWidget/model.ts +0 -284
- package/src/PluginStoreWidget/components/CustomPluginForm.tsx +0 -165
- package/src/PluginStoreWidget/components/InstalledPlugin.tsx +0 -167
- package/src/PluginStoreWidget/components/InstalledPluginsList.tsx +0 -49
- package/src/PluginStoreWidget/components/PluginCard.tsx +0 -106
- package/src/PluginStoreWidget/components/PluginStoreWidget.test.tsx +0 -132
- package/src/PluginStoreWidget/components/PluginStoreWidget.tsx +0 -181
- package/src/PluginStoreWidget/components/__snapshots__/PluginStoreWidget.test.tsx.snap +0 -869
- package/src/PluginStoreWidget/index.ts +0 -19
- package/src/PluginStoreWidget/model.test.tsx +0 -15
- package/src/PluginStoreWidget/model.ts +0 -26
- package/src/SetDefaultSession/SetDefaultSession.test.tsx +0 -59
- package/src/SetDefaultSession/SetDefaultSession.tsx +0 -76
- package/src/SetDefaultSession/index.ts +0 -1
- package/src/__snapshots__/index.test.ts.snap +0 -9
- package/src/index.test.ts +0 -54
- package/src/index.ts +0 -37
- package/src/ucsc-trackhub/configSchema.ts +0 -41
- package/src/ucsc-trackhub/index.ts +0 -19
- package/src/ucsc-trackhub/model.ts +0 -107
- package/src/ucsc-trackhub/ucscAssemblies.ts +0 -201
- package/src/ucsc-trackhub/ucscTrackHub.ts +0 -325
|
@@ -1,200 +0,0 @@
|
|
|
1
|
-
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
-
|
|
3
|
-
exports[`renders nothing with no assembly 1`] = `
|
|
4
|
-
<button
|
|
5
|
-
class="MuiButtonBase-root MuiFab-root MuiFab-circular MuiFab-sizeSmall MuiFab-secondary MuiFab-root MuiFab-circular MuiFab-sizeSmall MuiFab-secondary css-15opis6-MuiButtonBase-root-MuiFab-root-fab"
|
|
6
|
-
tabindex="0"
|
|
7
|
-
type="button"
|
|
8
|
-
>
|
|
9
|
-
<svg
|
|
10
|
-
aria-hidden="true"
|
|
11
|
-
class="MuiSvgIcon-root MuiSvgIcon-fontSizeMedium css-havevq-MuiSvgIcon-root"
|
|
12
|
-
data-testid="AddIcon"
|
|
13
|
-
focusable="false"
|
|
14
|
-
viewBox="0 0 24 24"
|
|
15
|
-
>
|
|
16
|
-
<path
|
|
17
|
-
d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
|
|
18
|
-
/>
|
|
19
|
-
</svg>
|
|
20
|
-
<span
|
|
21
|
-
class="MuiTouchRipple-root css-8je8zh-MuiTouchRipple-root"
|
|
22
|
-
/>
|
|
23
|
-
</button>
|
|
24
|
-
`;
|
|
25
|
-
|
|
26
|
-
exports[`renders with a couple of categorized tracks 1`] = `
|
|
27
|
-
<div
|
|
28
|
-
data-testid="hierarchical_track_selector"
|
|
29
|
-
>
|
|
30
|
-
<div
|
|
31
|
-
style="display: flex;"
|
|
32
|
-
>
|
|
33
|
-
<button
|
|
34
|
-
class="MuiButtonBase-root MuiIconButton-root MuiIconButton-sizeSmall css-1kgqocu-MuiButtonBase-root-MuiIconButton-root-menuIcon"
|
|
35
|
-
tabindex="0"
|
|
36
|
-
type="button"
|
|
37
|
-
>
|
|
38
|
-
<svg
|
|
39
|
-
aria-hidden="true"
|
|
40
|
-
class="MuiSvgIcon-root MuiSvgIcon-fontSizeMedium css-havevq-MuiSvgIcon-root"
|
|
41
|
-
data-testid="MenuIcon"
|
|
42
|
-
focusable="false"
|
|
43
|
-
viewBox="0 0 24 24"
|
|
44
|
-
>
|
|
45
|
-
<path
|
|
46
|
-
d="M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"
|
|
47
|
-
/>
|
|
48
|
-
</svg>
|
|
49
|
-
<span
|
|
50
|
-
class="MuiTouchRipple-root css-8je8zh-MuiTouchRipple-root"
|
|
51
|
-
/>
|
|
52
|
-
</button>
|
|
53
|
-
<div
|
|
54
|
-
class="MuiFormControl-root MuiFormControl-marginDense MuiFormControl-fullWidth MuiTextField-root css-rlnh8o-MuiFormControl-root-MuiTextField-root-searchBox"
|
|
55
|
-
>
|
|
56
|
-
<label
|
|
57
|
-
class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-sizeSmall MuiInputLabel-standard MuiFormLabel-colorPrimary MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-sizeSmall MuiInputLabel-standard css-1s1jvl0-MuiFormLabel-root-MuiInputLabel-root"
|
|
58
|
-
data-shrink="false"
|
|
59
|
-
for="mui-5"
|
|
60
|
-
id="mui-5-label"
|
|
61
|
-
>
|
|
62
|
-
Filter tracks
|
|
63
|
-
</label>
|
|
64
|
-
<div
|
|
65
|
-
class="MuiInputBase-root MuiInput-root MuiInput-underline MuiInputBase-colorPrimary MuiInputBase-fullWidth MuiInputBase-formControl MuiInputBase-sizeSmall MuiInputBase-adornedEnd css-1blad95-MuiInputBase-root-MuiInput-root"
|
|
66
|
-
>
|
|
67
|
-
<input
|
|
68
|
-
aria-invalid="false"
|
|
69
|
-
class="MuiInputBase-input MuiInput-input MuiInputBase-inputSizeSmall MuiInputBase-inputAdornedEnd css-nz481w-MuiInputBase-input-MuiInput-input"
|
|
70
|
-
id="mui-5"
|
|
71
|
-
type="text"
|
|
72
|
-
value=""
|
|
73
|
-
/>
|
|
74
|
-
<div
|
|
75
|
-
class="MuiInputAdornment-root MuiInputAdornment-positionEnd MuiInputAdornment-standard MuiInputAdornment-sizeSmall css-1laqsz7-MuiInputAdornment-root"
|
|
76
|
-
>
|
|
77
|
-
<button
|
|
78
|
-
class="MuiButtonBase-root MuiIconButton-root MuiIconButton-sizeSmall css-9vna8i-MuiButtonBase-root-MuiIconButton-root"
|
|
79
|
-
tabindex="0"
|
|
80
|
-
type="button"
|
|
81
|
-
>
|
|
82
|
-
<svg
|
|
83
|
-
aria-hidden="true"
|
|
84
|
-
class="MuiSvgIcon-root MuiSvgIcon-fontSizeMedium css-havevq-MuiSvgIcon-root"
|
|
85
|
-
data-testid="ClearIcon"
|
|
86
|
-
focusable="false"
|
|
87
|
-
viewBox="0 0 24 24"
|
|
88
|
-
>
|
|
89
|
-
<path
|
|
90
|
-
d="M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"
|
|
91
|
-
/>
|
|
92
|
-
</svg>
|
|
93
|
-
<span
|
|
94
|
-
class="MuiTouchRipple-root css-8je8zh-MuiTouchRipple-root"
|
|
95
|
-
/>
|
|
96
|
-
</button>
|
|
97
|
-
</div>
|
|
98
|
-
</div>
|
|
99
|
-
</div>
|
|
100
|
-
<button
|
|
101
|
-
class="MuiButtonBase-root MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall css-1c8zr45-MuiButtonBase-root-MuiButton-root-menuIcon"
|
|
102
|
-
tabindex="0"
|
|
103
|
-
type="button"
|
|
104
|
-
>
|
|
105
|
-
Open faceted selector
|
|
106
|
-
<span
|
|
107
|
-
class="MuiTouchRipple-root css-8je8zh-MuiTouchRipple-root"
|
|
108
|
-
/>
|
|
109
|
-
</button>
|
|
110
|
-
</div>
|
|
111
|
-
</div>
|
|
112
|
-
`;
|
|
113
|
-
|
|
114
|
-
exports[`renders with a couple of uncategorized tracks 1`] = `
|
|
115
|
-
<div
|
|
116
|
-
data-testid="hierarchical_track_selector"
|
|
117
|
-
>
|
|
118
|
-
<div
|
|
119
|
-
style="display: flex;"
|
|
120
|
-
>
|
|
121
|
-
<button
|
|
122
|
-
class="MuiButtonBase-root MuiIconButton-root MuiIconButton-sizeSmall css-1kgqocu-MuiButtonBase-root-MuiIconButton-root-menuIcon"
|
|
123
|
-
tabindex="0"
|
|
124
|
-
type="button"
|
|
125
|
-
>
|
|
126
|
-
<svg
|
|
127
|
-
aria-hidden="true"
|
|
128
|
-
class="MuiSvgIcon-root MuiSvgIcon-fontSizeMedium css-havevq-MuiSvgIcon-root"
|
|
129
|
-
data-testid="MenuIcon"
|
|
130
|
-
focusable="false"
|
|
131
|
-
viewBox="0 0 24 24"
|
|
132
|
-
>
|
|
133
|
-
<path
|
|
134
|
-
d="M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"
|
|
135
|
-
/>
|
|
136
|
-
</svg>
|
|
137
|
-
<span
|
|
138
|
-
class="MuiTouchRipple-root css-8je8zh-MuiTouchRipple-root"
|
|
139
|
-
/>
|
|
140
|
-
</button>
|
|
141
|
-
<div
|
|
142
|
-
class="MuiFormControl-root MuiFormControl-marginDense MuiFormControl-fullWidth MuiTextField-root css-rlnh8o-MuiFormControl-root-MuiTextField-root-searchBox"
|
|
143
|
-
>
|
|
144
|
-
<label
|
|
145
|
-
class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-sizeSmall MuiInputLabel-standard MuiFormLabel-colorPrimary MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-sizeSmall MuiInputLabel-standard css-1s1jvl0-MuiFormLabel-root-MuiInputLabel-root"
|
|
146
|
-
data-shrink="false"
|
|
147
|
-
for="mui-1"
|
|
148
|
-
id="mui-1-label"
|
|
149
|
-
>
|
|
150
|
-
Filter tracks
|
|
151
|
-
</label>
|
|
152
|
-
<div
|
|
153
|
-
class="MuiInputBase-root MuiInput-root MuiInput-underline MuiInputBase-colorPrimary MuiInputBase-fullWidth MuiInputBase-formControl MuiInputBase-sizeSmall MuiInputBase-adornedEnd css-1blad95-MuiInputBase-root-MuiInput-root"
|
|
154
|
-
>
|
|
155
|
-
<input
|
|
156
|
-
aria-invalid="false"
|
|
157
|
-
class="MuiInputBase-input MuiInput-input MuiInputBase-inputSizeSmall MuiInputBase-inputAdornedEnd css-nz481w-MuiInputBase-input-MuiInput-input"
|
|
158
|
-
id="mui-1"
|
|
159
|
-
type="text"
|
|
160
|
-
value=""
|
|
161
|
-
/>
|
|
162
|
-
<div
|
|
163
|
-
class="MuiInputAdornment-root MuiInputAdornment-positionEnd MuiInputAdornment-standard MuiInputAdornment-sizeSmall css-1laqsz7-MuiInputAdornment-root"
|
|
164
|
-
>
|
|
165
|
-
<button
|
|
166
|
-
class="MuiButtonBase-root MuiIconButton-root MuiIconButton-sizeSmall css-9vna8i-MuiButtonBase-root-MuiIconButton-root"
|
|
167
|
-
tabindex="0"
|
|
168
|
-
type="button"
|
|
169
|
-
>
|
|
170
|
-
<svg
|
|
171
|
-
aria-hidden="true"
|
|
172
|
-
class="MuiSvgIcon-root MuiSvgIcon-fontSizeMedium css-havevq-MuiSvgIcon-root"
|
|
173
|
-
data-testid="ClearIcon"
|
|
174
|
-
focusable="false"
|
|
175
|
-
viewBox="0 0 24 24"
|
|
176
|
-
>
|
|
177
|
-
<path
|
|
178
|
-
d="M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"
|
|
179
|
-
/>
|
|
180
|
-
</svg>
|
|
181
|
-
<span
|
|
182
|
-
class="MuiTouchRipple-root css-8je8zh-MuiTouchRipple-root"
|
|
183
|
-
/>
|
|
184
|
-
</button>
|
|
185
|
-
</div>
|
|
186
|
-
</div>
|
|
187
|
-
</div>
|
|
188
|
-
<button
|
|
189
|
-
class="MuiButtonBase-root MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall css-1c8zr45-MuiButtonBase-root-MuiButton-root-menuIcon"
|
|
190
|
-
tabindex="0"
|
|
191
|
-
type="button"
|
|
192
|
-
>
|
|
193
|
-
Open faceted selector
|
|
194
|
-
<span
|
|
195
|
-
class="MuiTouchRipple-root css-8je8zh-MuiTouchRipple-root"
|
|
196
|
-
/>
|
|
197
|
-
</button>
|
|
198
|
-
</div>
|
|
199
|
-
</div>
|
|
200
|
-
`;
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
import React from 'react'
|
|
2
|
-
import {
|
|
3
|
-
Dialog,
|
|
4
|
-
DialogTitle,
|
|
5
|
-
DialogContent,
|
|
6
|
-
DialogContentText,
|
|
7
|
-
Button,
|
|
8
|
-
List,
|
|
9
|
-
ListItem,
|
|
10
|
-
DialogActions,
|
|
11
|
-
} from '@mui/material'
|
|
12
|
-
import { observer } from 'mobx-react'
|
|
13
|
-
|
|
14
|
-
function CloseConnectionDialog({
|
|
15
|
-
modalInfo = {},
|
|
16
|
-
setModalInfo,
|
|
17
|
-
}: {
|
|
18
|
-
modalInfo?: {
|
|
19
|
-
name?: string
|
|
20
|
-
dereferenceTypeCount?: { [key: string]: number }
|
|
21
|
-
safelyBreakConnection?: Function
|
|
22
|
-
}
|
|
23
|
-
setModalInfo: Function
|
|
24
|
-
}) {
|
|
25
|
-
const { name, dereferenceTypeCount, safelyBreakConnection } = modalInfo
|
|
26
|
-
return (
|
|
27
|
-
<Dialog open>
|
|
28
|
-
<DialogTitle>Close connection "{name}"</DialogTitle>
|
|
29
|
-
<DialogContent>
|
|
30
|
-
{dereferenceTypeCount ? (
|
|
31
|
-
<>
|
|
32
|
-
<DialogContentText>
|
|
33
|
-
Closing this connection will close:
|
|
34
|
-
</DialogContentText>
|
|
35
|
-
<List>
|
|
36
|
-
{Object.entries(dereferenceTypeCount).map(([key, value]) => (
|
|
37
|
-
<ListItem key={key}>{`${value} ${key}`}</ListItem>
|
|
38
|
-
))}
|
|
39
|
-
</List>
|
|
40
|
-
</>
|
|
41
|
-
) : null}
|
|
42
|
-
<DialogContentText>
|
|
43
|
-
Are you sure you want to close this connection?
|
|
44
|
-
</DialogContentText>
|
|
45
|
-
</DialogContent>
|
|
46
|
-
<DialogActions>
|
|
47
|
-
<Button onClick={() => setModalInfo()} color="primary">
|
|
48
|
-
Cancel
|
|
49
|
-
</Button>
|
|
50
|
-
<Button
|
|
51
|
-
variant="contained"
|
|
52
|
-
onClick={
|
|
53
|
-
modalInfo
|
|
54
|
-
? () => {
|
|
55
|
-
safelyBreakConnection?.()
|
|
56
|
-
setModalInfo()
|
|
57
|
-
}
|
|
58
|
-
: () => {}
|
|
59
|
-
}
|
|
60
|
-
color="primary"
|
|
61
|
-
>
|
|
62
|
-
OK
|
|
63
|
-
</Button>
|
|
64
|
-
</DialogActions>
|
|
65
|
-
</Dialog>
|
|
66
|
-
)
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
export default observer(CloseConnectionDialog)
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import React from 'react'
|
|
2
|
-
import {
|
|
3
|
-
Dialog,
|
|
4
|
-
DialogTitle,
|
|
5
|
-
DialogContent,
|
|
6
|
-
DialogContentText,
|
|
7
|
-
DialogActions,
|
|
8
|
-
Button,
|
|
9
|
-
} from '@mui/material'
|
|
10
|
-
import { observer } from 'mobx-react'
|
|
11
|
-
import { AnyConfigurationModel } from '@jbrowse/core/configuration'
|
|
12
|
-
import { AbstractSessionModel } from '@jbrowse/core/util'
|
|
13
|
-
|
|
14
|
-
function DeleteConnectionDialog({
|
|
15
|
-
deleteDialogDetails,
|
|
16
|
-
session,
|
|
17
|
-
handleClose,
|
|
18
|
-
}: {
|
|
19
|
-
deleteDialogDetails: { name: string; connectionConf: AnyConfigurationModel }
|
|
20
|
-
session: AbstractSessionModel
|
|
21
|
-
handleClose: () => void
|
|
22
|
-
}) {
|
|
23
|
-
const { connectionConf, name } = deleteDialogDetails
|
|
24
|
-
return (
|
|
25
|
-
<Dialog open>
|
|
26
|
-
<DialogTitle>Delete connection "{name}"</DialogTitle>
|
|
27
|
-
<DialogContent>
|
|
28
|
-
<DialogContentText>
|
|
29
|
-
Are you sure you want to delete this connection?
|
|
30
|
-
</DialogContentText>
|
|
31
|
-
</DialogContent>
|
|
32
|
-
<DialogActions>
|
|
33
|
-
<Button onClick={() => handleClose()} color="primary">
|
|
34
|
-
Cancel
|
|
35
|
-
</Button>
|
|
36
|
-
<Button
|
|
37
|
-
variant="contained"
|
|
38
|
-
color="primary"
|
|
39
|
-
onClick={() => {
|
|
40
|
-
if (connectionConf) {
|
|
41
|
-
session.deleteConnection?.(connectionConf)
|
|
42
|
-
}
|
|
43
|
-
handleClose()
|
|
44
|
-
}}
|
|
45
|
-
>
|
|
46
|
-
OK
|
|
47
|
-
</Button>
|
|
48
|
-
</DialogActions>
|
|
49
|
-
</Dialog>
|
|
50
|
-
)
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
export default observer(DeleteConnectionDialog)
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
import React from 'react'
|
|
2
|
-
import {
|
|
3
|
-
Button,
|
|
4
|
-
DialogContent,
|
|
5
|
-
DialogActions,
|
|
6
|
-
IconButton,
|
|
7
|
-
Tooltip,
|
|
8
|
-
Typography,
|
|
9
|
-
} from '@mui/material'
|
|
10
|
-
import { Dialog } from '@jbrowse/core/ui'
|
|
11
|
-
import { makeStyles } from 'tss-react/mui'
|
|
12
|
-
import { observer } from 'mobx-react'
|
|
13
|
-
import {
|
|
14
|
-
AnyConfigurationModel,
|
|
15
|
-
readConfObject,
|
|
16
|
-
} from '@jbrowse/core/configuration'
|
|
17
|
-
import { AbstractSessionModel } from '@jbrowse/core/util'
|
|
18
|
-
|
|
19
|
-
// icons
|
|
20
|
-
import CloseIcon from '@mui/icons-material/Close'
|
|
21
|
-
|
|
22
|
-
const useStyles = makeStyles()(theme => ({
|
|
23
|
-
connectionContainer: {
|
|
24
|
-
margin: theme.spacing(4),
|
|
25
|
-
width: 500,
|
|
26
|
-
},
|
|
27
|
-
}))
|
|
28
|
-
|
|
29
|
-
function ManageConnectionsDlg({
|
|
30
|
-
session,
|
|
31
|
-
handleClose,
|
|
32
|
-
breakConnection,
|
|
33
|
-
}: {
|
|
34
|
-
handleClose: () => void
|
|
35
|
-
session: AbstractSessionModel
|
|
36
|
-
breakConnection: (conf: AnyConfigurationModel, arg: boolean) => void
|
|
37
|
-
}) {
|
|
38
|
-
const { classes } = useStyles()
|
|
39
|
-
const { adminMode, connections, sessionConnections } = session
|
|
40
|
-
return (
|
|
41
|
-
<Dialog open onClose={handleClose} maxWidth="lg" title="Delete connections">
|
|
42
|
-
<DialogContent>
|
|
43
|
-
<Typography>
|
|
44
|
-
Click the X icon to delete the connection from your config completely
|
|
45
|
-
</Typography>
|
|
46
|
-
<div className={classes.connectionContainer}>
|
|
47
|
-
{connections.map(conf => {
|
|
48
|
-
const name = readConfObject(conf, 'name')
|
|
49
|
-
return (
|
|
50
|
-
<Typography key={`conn-${name}`}>
|
|
51
|
-
{adminMode || sessionConnections?.includes(conf) ? (
|
|
52
|
-
<IconButton onClick={() => breakConnection(conf, true)}>
|
|
53
|
-
<CloseIcon color="error" />
|
|
54
|
-
</IconButton>
|
|
55
|
-
) : (
|
|
56
|
-
<Tooltip title="Unable to delete connection in config file as non-admin user">
|
|
57
|
-
<IconButton>
|
|
58
|
-
<CloseIcon color="disabled" />
|
|
59
|
-
</IconButton>
|
|
60
|
-
</Tooltip>
|
|
61
|
-
)}
|
|
62
|
-
{name}
|
|
63
|
-
</Typography>
|
|
64
|
-
)
|
|
65
|
-
})}
|
|
66
|
-
{!connections.length ? (
|
|
67
|
-
<Typography>No connections found</Typography>
|
|
68
|
-
) : null}
|
|
69
|
-
</div>
|
|
70
|
-
</DialogContent>
|
|
71
|
-
<DialogActions>
|
|
72
|
-
<Button
|
|
73
|
-
onClick={() => handleClose()}
|
|
74
|
-
variant="contained"
|
|
75
|
-
color="primary"
|
|
76
|
-
>
|
|
77
|
-
Close
|
|
78
|
-
</Button>
|
|
79
|
-
</DialogActions>
|
|
80
|
-
</Dialog>
|
|
81
|
-
)
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
export default observer(ManageConnectionsDlg)
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
import React from 'react'
|
|
2
|
-
import {
|
|
3
|
-
Button,
|
|
4
|
-
Checkbox,
|
|
5
|
-
DialogContent,
|
|
6
|
-
DialogActions,
|
|
7
|
-
FormControlLabel,
|
|
8
|
-
Typography,
|
|
9
|
-
} from '@mui/material'
|
|
10
|
-
import { Dialog } from '@jbrowse/core/ui'
|
|
11
|
-
import { makeStyles } from 'tss-react/mui'
|
|
12
|
-
import { observer } from 'mobx-react'
|
|
13
|
-
import {
|
|
14
|
-
AnyConfigurationModel,
|
|
15
|
-
readConfObject,
|
|
16
|
-
} from '@jbrowse/core/configuration'
|
|
17
|
-
import { AbstractSessionModel } from '@jbrowse/core/util'
|
|
18
|
-
|
|
19
|
-
export function ellipses(slug: string) {
|
|
20
|
-
return slug.length > 20 ? `${slug.slice(0, 20)}...` : slug
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
const useStyles = makeStyles()(theme => ({
|
|
24
|
-
connectionContainer: {
|
|
25
|
-
width: 500,
|
|
26
|
-
margin: theme.spacing(4),
|
|
27
|
-
},
|
|
28
|
-
}))
|
|
29
|
-
|
|
30
|
-
function ToggleConnectionDialog({
|
|
31
|
-
session,
|
|
32
|
-
handleClose,
|
|
33
|
-
breakConnection,
|
|
34
|
-
}: {
|
|
35
|
-
handleClose: () => void
|
|
36
|
-
session: AbstractSessionModel
|
|
37
|
-
breakConnection: (arg: AnyConfigurationModel) => void
|
|
38
|
-
}) {
|
|
39
|
-
const { classes } = useStyles()
|
|
40
|
-
const { connections, connectionInstances: instances = [] } = session
|
|
41
|
-
return (
|
|
42
|
-
<Dialog
|
|
43
|
-
open
|
|
44
|
-
onClose={handleClose}
|
|
45
|
-
maxWidth="lg"
|
|
46
|
-
title="Turn on/off connections"
|
|
47
|
-
>
|
|
48
|
-
<DialogContent>
|
|
49
|
-
<Typography>Use the checkbox to turn on/off connections</Typography>
|
|
50
|
-
<div className={classes.connectionContainer}>
|
|
51
|
-
{connections.map(conf => {
|
|
52
|
-
const name = readConfObject(conf, 'name')
|
|
53
|
-
const assemblyNames = readConfObject(conf, 'assemblyNames')
|
|
54
|
-
const found = instances.find(conn => name === conn.name)
|
|
55
|
-
return (
|
|
56
|
-
<FormControlLabel
|
|
57
|
-
key={conf.connectionId}
|
|
58
|
-
control={
|
|
59
|
-
<Checkbox
|
|
60
|
-
checked={!!found}
|
|
61
|
-
onChange={() => {
|
|
62
|
-
if (found) {
|
|
63
|
-
breakConnection(conf)
|
|
64
|
-
} else {
|
|
65
|
-
session.makeConnection?.(conf)
|
|
66
|
-
}
|
|
67
|
-
}}
|
|
68
|
-
color="primary"
|
|
69
|
-
/>
|
|
70
|
-
}
|
|
71
|
-
label={`${name} ${
|
|
72
|
-
assemblyNames.length
|
|
73
|
-
? '(' + ellipses(assemblyNames.join(',')) + ')'
|
|
74
|
-
: ''
|
|
75
|
-
}`}
|
|
76
|
-
/>
|
|
77
|
-
)
|
|
78
|
-
})}
|
|
79
|
-
{!connections.length ? (
|
|
80
|
-
<Typography>No connections found</Typography>
|
|
81
|
-
) : null}
|
|
82
|
-
</div>
|
|
83
|
-
</DialogContent>
|
|
84
|
-
<DialogActions>
|
|
85
|
-
<Button
|
|
86
|
-
onClick={() => handleClose()}
|
|
87
|
-
variant="contained"
|
|
88
|
-
color="primary"
|
|
89
|
-
>
|
|
90
|
-
Close
|
|
91
|
-
</Button>
|
|
92
|
-
</DialogActions>
|
|
93
|
-
</Dialog>
|
|
94
|
-
)
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
export default observer(ToggleConnectionDialog)
|
|
@@ -1,138 +0,0 @@
|
|
|
1
|
-
import React, { useState } from 'react'
|
|
2
|
-
import {
|
|
3
|
-
Typography,
|
|
4
|
-
FormControl,
|
|
5
|
-
Select,
|
|
6
|
-
IconButton,
|
|
7
|
-
Tooltip,
|
|
8
|
-
} from '@mui/material'
|
|
9
|
-
import { makeStyles } from 'tss-react/mui'
|
|
10
|
-
|
|
11
|
-
// icon
|
|
12
|
-
import ClearIcon from '@mui/icons-material/Clear'
|
|
13
|
-
import MinimizeIcon from '@mui/icons-material/Minimize'
|
|
14
|
-
import AddIcon from '@mui/icons-material/Add'
|
|
15
|
-
|
|
16
|
-
const useStyles = makeStyles()(theme => ({
|
|
17
|
-
facet: {
|
|
18
|
-
margin: 0,
|
|
19
|
-
marginLeft: theme.spacing(2),
|
|
20
|
-
},
|
|
21
|
-
select: {
|
|
22
|
-
marginBottom: theme.spacing(2),
|
|
23
|
-
},
|
|
24
|
-
}))
|
|
25
|
-
|
|
26
|
-
function FacetFilter({
|
|
27
|
-
column,
|
|
28
|
-
vals,
|
|
29
|
-
width,
|
|
30
|
-
dispatch,
|
|
31
|
-
filters,
|
|
32
|
-
}: {
|
|
33
|
-
column: { field: string }
|
|
34
|
-
vals: [string, number][]
|
|
35
|
-
width: number
|
|
36
|
-
dispatch: (arg: { key: string; val: string[] }) => void
|
|
37
|
-
filters: Record<string, string[]>
|
|
38
|
-
}) {
|
|
39
|
-
const { classes } = useStyles()
|
|
40
|
-
const [visible, setVisible] = useState(true)
|
|
41
|
-
return (
|
|
42
|
-
<FormControl key={column.field} className={classes.facet} style={{ width }}>
|
|
43
|
-
<div style={{ display: 'flex' }}>
|
|
44
|
-
<Typography>{column.field}</Typography>
|
|
45
|
-
<Tooltip title="Clear selection on this facet filter">
|
|
46
|
-
<IconButton
|
|
47
|
-
onClick={() => {
|
|
48
|
-
dispatch({ key: column.field, val: [] })
|
|
49
|
-
}}
|
|
50
|
-
size="small"
|
|
51
|
-
>
|
|
52
|
-
<ClearIcon />
|
|
53
|
-
</IconButton>
|
|
54
|
-
</Tooltip>
|
|
55
|
-
<Tooltip title="Minimize/expand this facet filter">
|
|
56
|
-
<IconButton onClick={() => setVisible(!visible)} size="small">
|
|
57
|
-
{visible ? <MinimizeIcon /> : <AddIcon />}
|
|
58
|
-
</IconButton>
|
|
59
|
-
</Tooltip>
|
|
60
|
-
</div>
|
|
61
|
-
{visible ? (
|
|
62
|
-
<Select
|
|
63
|
-
multiple
|
|
64
|
-
native
|
|
65
|
-
className={classes.select}
|
|
66
|
-
value={filters[column.field]}
|
|
67
|
-
onChange={event => {
|
|
68
|
-
// @ts-expect-error
|
|
69
|
-
const { options } = event.target
|
|
70
|
-
const val: string[] = []
|
|
71
|
-
const len = options.length
|
|
72
|
-
for (let i = 0; i < len; i++) {
|
|
73
|
-
if (options[i].selected) {
|
|
74
|
-
val.push(options[i].value)
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
dispatch({ key: column.field, val })
|
|
78
|
-
}}
|
|
79
|
-
>
|
|
80
|
-
{vals
|
|
81
|
-
.sort((a, b) => a[0].localeCompare(b[0]))
|
|
82
|
-
.map(([name, count]) => (
|
|
83
|
-
<option key={name} value={name}>
|
|
84
|
-
{name} ({count})
|
|
85
|
-
</option>
|
|
86
|
-
))}
|
|
87
|
-
</Select>
|
|
88
|
-
) : null}
|
|
89
|
-
</FormControl>
|
|
90
|
-
)
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
export default function FacetFilters({
|
|
94
|
-
rows,
|
|
95
|
-
columns,
|
|
96
|
-
dispatch,
|
|
97
|
-
filters,
|
|
98
|
-
width,
|
|
99
|
-
}: {
|
|
100
|
-
rows: Record<string, unknown>[]
|
|
101
|
-
filters: Record<string, string[]>
|
|
102
|
-
columns: { field: string }[]
|
|
103
|
-
dispatch: (arg: { key: string; val: string[] }) => void
|
|
104
|
-
width: number
|
|
105
|
-
}) {
|
|
106
|
-
const facets = columns.slice(1)
|
|
107
|
-
const uniqs = facets.map(() => new Map<string, number>())
|
|
108
|
-
for (const row of rows) {
|
|
109
|
-
for (const [index, column] of facets.entries()) {
|
|
110
|
-
const elt = uniqs[index]
|
|
111
|
-
const key = `${row[column.field] || ''}`
|
|
112
|
-
const val = elt.get(key)
|
|
113
|
-
// we don't allow filtering on empty yet
|
|
114
|
-
if (key) {
|
|
115
|
-
if (val === undefined) {
|
|
116
|
-
elt.set(key, 1)
|
|
117
|
-
} else {
|
|
118
|
-
elt.set(key, val + 1)
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
return (
|
|
125
|
-
<div>
|
|
126
|
-
{facets.map((column, index) => (
|
|
127
|
-
<FacetFilter
|
|
128
|
-
key={column.field}
|
|
129
|
-
vals={[...uniqs[index]]}
|
|
130
|
-
column={column}
|
|
131
|
-
width={width}
|
|
132
|
-
dispatch={dispatch}
|
|
133
|
-
filters={filters}
|
|
134
|
-
/>
|
|
135
|
-
))}
|
|
136
|
-
</div>
|
|
137
|
-
)
|
|
138
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import React from 'react'
|
|
2
|
-
import { DialogContent } from '@mui/material'
|
|
3
|
-
import { Dialog } from '@jbrowse/core/ui'
|
|
4
|
-
import { observer } from 'mobx-react'
|
|
5
|
-
|
|
6
|
-
// locals
|
|
7
|
-
import { HierarchicalTrackSelectorModel } from '../../model'
|
|
8
|
-
import FacetedSelector from './FacetedSelector'
|
|
9
|
-
|
|
10
|
-
function FacetedDlg(props: {
|
|
11
|
-
handleClose: () => void
|
|
12
|
-
model: HierarchicalTrackSelectorModel
|
|
13
|
-
}) {
|
|
14
|
-
const { handleClose } = props
|
|
15
|
-
return (
|
|
16
|
-
<Dialog
|
|
17
|
-
open
|
|
18
|
-
onClose={handleClose}
|
|
19
|
-
maxWidth="xl"
|
|
20
|
-
title="Faceted track selector"
|
|
21
|
-
>
|
|
22
|
-
<DialogContent>
|
|
23
|
-
<FacetedSelector {...props} />
|
|
24
|
-
</DialogContent>
|
|
25
|
-
</Dialog>
|
|
26
|
-
)
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
export default observer(FacetedDlg)
|