@apollo-annotation/jbrowse-plugin-apollo 0.3.10 → 0.3.12
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/ApolloInternetAccount/components/AuthTypeSelector.d.ts +6 -0
- package/dist/ApolloInternetAccount/components/AuthTypeSelector.d.ts.map +1 -0
- package/dist/ApolloInternetAccount/components/LoginButtons.d.ts +5 -0
- package/dist/ApolloInternetAccount/components/LoginButtons.d.ts.map +1 -0
- package/dist/ApolloInternetAccount/components/LoginIcons.d.ts +4 -0
- package/dist/ApolloInternetAccount/components/LoginIcons.d.ts.map +1 -0
- package/dist/ApolloInternetAccount/index.d.ts +3 -0
- package/dist/ApolloInternetAccount/index.d.ts.map +1 -0
- package/dist/ApolloJobModel.d.ts +53 -0
- package/dist/ApolloJobModel.d.ts.map +1 -0
- package/dist/ApolloRefNameAliasAdapter/ApolloRefNameAliasAdapter.d.ts +12 -0
- package/dist/ApolloRefNameAliasAdapter/ApolloRefNameAliasAdapter.d.ts.map +1 -0
- package/dist/ApolloRefNameAliasAdapter/index.d.ts +3 -0
- package/dist/ApolloRefNameAliasAdapter/index.d.ts.map +1 -0
- package/dist/ApolloSequenceAdapter/ApolloSequenceAdapter.d.ts +27 -0
- package/dist/ApolloSequenceAdapter/ApolloSequenceAdapter.d.ts.map +1 -0
- package/dist/ApolloSequenceAdapter/index.d.ts +3 -0
- package/dist/ApolloSequenceAdapter/index.d.ts.map +1 -0
- package/dist/ApolloTextSearchAdapter/ApolloTextSearchAdapter.d.ts +13 -0
- package/dist/ApolloTextSearchAdapter/ApolloTextSearchAdapter.d.ts.map +1 -0
- package/dist/ApolloTextSearchAdapter/index.d.ts +3 -0
- package/dist/ApolloTextSearchAdapter/index.d.ts.map +1 -0
- package/dist/BackendDrivers/BackendDriver.d.ts +26 -0
- package/dist/BackendDrivers/BackendDriver.d.ts.map +1 -0
- package/dist/BackendDrivers/CollaborationServerDriver.d.ts +206 -0
- package/dist/BackendDrivers/CollaborationServerDriver.d.ts.map +1 -0
- package/dist/BackendDrivers/DesktopFileDriver.d.ts +160 -0
- package/dist/BackendDrivers/DesktopFileDriver.d.ts.map +1 -0
- package/dist/BackendDrivers/InMemoryFileDriver.d.ts +162 -0
- package/dist/BackendDrivers/InMemoryFileDriver.d.ts.map +1 -0
- package/dist/BackendDrivers/index.d.ts +5 -0
- package/dist/BackendDrivers/index.d.ts.map +1 -0
- package/dist/ChangeManager.d.ts +24 -0
- package/dist/ChangeManager.d.ts.map +1 -0
- package/dist/FeatureDetailsWidget/ApolloFeatureDetailsWidget.d.ts +6 -0
- package/dist/FeatureDetailsWidget/ApolloFeatureDetailsWidget.d.ts.map +1 -0
- package/dist/FeatureDetailsWidget/ApolloTranscriptDetailsWidget.d.ts +12 -0
- package/dist/FeatureDetailsWidget/ApolloTranscriptDetailsWidget.d.ts.map +1 -0
- package/dist/FeatureDetailsWidget/AttributeKey.d.ts +4 -0
- package/dist/FeatureDetailsWidget/AttributeKey.d.ts.map +1 -0
- package/dist/FeatureDetailsWidget/AttributeKeySelector.d.ts +6 -0
- package/dist/FeatureDetailsWidget/AttributeKeySelector.d.ts.map +1 -0
- package/dist/FeatureDetailsWidget/Attributes.d.ts +9 -0
- package/dist/FeatureDetailsWidget/Attributes.d.ts.map +1 -0
- package/dist/FeatureDetailsWidget/BasicInformation.d.ts +8 -0
- package/dist/FeatureDetailsWidget/BasicInformation.d.ts.map +1 -0
- package/dist/FeatureDetailsWidget/DefaultAttributeEditor.d.ts +9 -0
- package/dist/FeatureDetailsWidget/DefaultAttributeEditor.d.ts.map +1 -0
- package/dist/FeatureDetailsWidget/DefaultAttributeViewer.d.ts +5 -0
- package/dist/FeatureDetailsWidget/DefaultAttributeViewer.d.ts.map +1 -0
- package/dist/FeatureDetailsWidget/FeatureDetailsNavigation.d.ts +7 -0
- package/dist/FeatureDetailsWidget/FeatureDetailsNavigation.d.ts.map +1 -0
- package/dist/FeatureDetailsWidget/NumberTextField.d.ts +8 -0
- package/dist/FeatureDetailsWidget/NumberTextField.d.ts.map +1 -0
- package/dist/FeatureDetailsWidget/Sequence.d.ts +10 -0
- package/dist/FeatureDetailsWidget/Sequence.d.ts.map +1 -0
- package/dist/FeatureDetailsWidget/StringTextField.d.ts +8 -0
- package/dist/FeatureDetailsWidget/StringTextField.d.ts.map +1 -0
- package/dist/FeatureDetailsWidget/TranscriptSequence.d.ts +10 -0
- package/dist/FeatureDetailsWidget/TranscriptSequence.d.ts.map +1 -0
- package/dist/FeatureDetailsWidget/TranscriptWidgetEditLocation.d.ts +9 -0
- package/dist/FeatureDetailsWidget/TranscriptWidgetEditLocation.d.ts.map +1 -0
- package/dist/FeatureDetailsWidget/TranscriptWidgetSummary.d.ts +6 -0
- package/dist/FeatureDetailsWidget/TranscriptWidgetSummary.d.ts.map +1 -0
- package/dist/FeatureDetailsWidget/index.d.ts +5 -0
- package/dist/FeatureDetailsWidget/index.d.ts.map +1 -0
- package/dist/FeatureDetailsWidget/model.d.ts +123 -0
- package/dist/FeatureDetailsWidget/model.d.ts.map +1 -0
- package/dist/LinearApolloDisplay/components/CheckResultWarnings.d.ts +5 -0
- package/dist/LinearApolloDisplay/components/CheckResultWarnings.d.ts.map +1 -0
- package/dist/LinearApolloDisplay/components/LinearApolloDisplay.d.ts +7 -0
- package/dist/LinearApolloDisplay/components/LinearApolloDisplay.d.ts.map +1 -0
- package/dist/LinearApolloDisplay/components/index.d.ts +2 -0
- package/dist/LinearApolloDisplay/components/index.d.ts.map +1 -0
- package/dist/LinearApolloDisplay/glyphs/BoxGlyph.d.ts +4 -0
- package/dist/LinearApolloDisplay/glyphs/BoxGlyph.d.ts.map +1 -0
- package/dist/LinearApolloDisplay/glyphs/GeneGlyph.d.ts +3 -0
- package/dist/LinearApolloDisplay/glyphs/GeneGlyph.d.ts.map +1 -0
- package/dist/LinearApolloDisplay/glyphs/GenericChildGlyph.d.ts +3 -0
- package/dist/LinearApolloDisplay/glyphs/GenericChildGlyph.d.ts.map +1 -0
- package/dist/LinearApolloDisplay/glyphs/Glyph.d.ts +26 -0
- package/dist/LinearApolloDisplay/glyphs/Glyph.d.ts.map +1 -0
- package/dist/LinearApolloDisplay/glyphs/index.d.ts +4 -0
- package/dist/LinearApolloDisplay/glyphs/index.d.ts.map +1 -0
- package/dist/LinearApolloDisplay/glyphs/util.d.ts +12 -0
- package/dist/LinearApolloDisplay/glyphs/util.d.ts.map +1 -0
- package/dist/LinearApolloDisplay/index.d.ts +3 -0
- package/dist/LinearApolloDisplay/index.d.ts.map +1 -0
- package/dist/LinearApolloDisplay/stateModel/base.d.ts +254 -0
- package/dist/LinearApolloDisplay/stateModel/base.d.ts.map +1 -0
- package/dist/LinearApolloDisplay/stateModel/index.d.ts +349 -0
- package/dist/LinearApolloDisplay/stateModel/index.d.ts.map +1 -0
- package/dist/LinearApolloDisplay/stateModel/layouts.d.ts +273 -0
- package/dist/LinearApolloDisplay/stateModel/layouts.d.ts.map +1 -0
- package/dist/LinearApolloDisplay/stateModel/mouseEvents.d.ts +656 -0
- package/dist/LinearApolloDisplay/stateModel/mouseEvents.d.ts.map +1 -0
- package/dist/LinearApolloDisplay/stateModel/rendering.d.ts +300 -0
- package/dist/LinearApolloDisplay/stateModel/rendering.d.ts.map +1 -0
- package/dist/LinearApolloDisplay/types.d.ts +2 -0
- package/dist/LinearApolloDisplay/types.d.ts.map +1 -0
- package/dist/LinearApolloReferenceSequenceDisplay/components/LinearApolloReferenceSequenceDisplay.d.ts +7 -0
- package/dist/LinearApolloReferenceSequenceDisplay/components/LinearApolloReferenceSequenceDisplay.d.ts.map +1 -0
- package/dist/LinearApolloReferenceSequenceDisplay/components/index.d.ts +2 -0
- package/dist/LinearApolloReferenceSequenceDisplay/components/index.d.ts.map +1 -0
- package/dist/LinearApolloReferenceSequenceDisplay/drawSequenceOverlay.d.ts +6 -0
- package/dist/LinearApolloReferenceSequenceDisplay/drawSequenceOverlay.d.ts.map +1 -0
- package/dist/LinearApolloReferenceSequenceDisplay/drawSequenceTrack.d.ts +5 -0
- package/dist/LinearApolloReferenceSequenceDisplay/drawSequenceTrack.d.ts.map +1 -0
- package/dist/LinearApolloReferenceSequenceDisplay/index.d.ts +4 -0
- package/dist/LinearApolloReferenceSequenceDisplay/index.d.ts.map +1 -0
- package/dist/LinearApolloReferenceSequenceDisplay/stateModel/base.d.ts +236 -0
- package/dist/LinearApolloReferenceSequenceDisplay/stateModel/base.d.ts.map +1 -0
- package/dist/LinearApolloReferenceSequenceDisplay/stateModel/index.d.ts +245 -0
- package/dist/LinearApolloReferenceSequenceDisplay/stateModel/index.d.ts.map +1 -0
- package/dist/LinearApolloReferenceSequenceDisplay/stateModel/rendering.d.ts +246 -0
- package/dist/LinearApolloReferenceSequenceDisplay/stateModel/rendering.d.ts.map +1 -0
- package/dist/LinearApolloSixFrameDisplay/components/LinearApolloSixFrameDisplay.d.ts +7 -0
- package/dist/LinearApolloSixFrameDisplay/components/LinearApolloSixFrameDisplay.d.ts.map +1 -0
- package/dist/LinearApolloSixFrameDisplay/components/TrackLines.d.ts +8 -0
- package/dist/LinearApolloSixFrameDisplay/components/TrackLines.d.ts.map +1 -0
- package/dist/LinearApolloSixFrameDisplay/components/index.d.ts +3 -0
- package/dist/LinearApolloSixFrameDisplay/components/index.d.ts.map +1 -0
- package/dist/LinearApolloSixFrameDisplay/glyphs/GeneGlyph.d.ts +3 -0
- package/dist/LinearApolloSixFrameDisplay/glyphs/GeneGlyph.d.ts.map +1 -0
- package/dist/LinearApolloSixFrameDisplay/glyphs/Glyph.d.ts +20 -0
- package/dist/LinearApolloSixFrameDisplay/glyphs/Glyph.d.ts.map +1 -0
- package/dist/LinearApolloSixFrameDisplay/glyphs/index.d.ts +2 -0
- package/dist/LinearApolloSixFrameDisplay/glyphs/index.d.ts.map +1 -0
- package/dist/LinearApolloSixFrameDisplay/index.d.ts +3 -0
- package/dist/LinearApolloSixFrameDisplay/index.d.ts.map +1 -0
- package/dist/LinearApolloSixFrameDisplay/stateModel/base.d.ts +257 -0
- package/dist/LinearApolloSixFrameDisplay/stateModel/base.d.ts.map +1 -0
- package/dist/LinearApolloSixFrameDisplay/stateModel/index.d.ts +355 -0
- package/dist/LinearApolloSixFrameDisplay/stateModel/index.d.ts.map +1 -0
- package/dist/LinearApolloSixFrameDisplay/stateModel/layouts.d.ts +283 -0
- package/dist/LinearApolloSixFrameDisplay/stateModel/layouts.d.ts.map +1 -0
- package/dist/LinearApolloSixFrameDisplay/stateModel/mouseEvents.d.ts +668 -0
- package/dist/LinearApolloSixFrameDisplay/stateModel/mouseEvents.d.ts.map +1 -0
- package/dist/LinearApolloSixFrameDisplay/stateModel/rendering.d.ts +306 -0
- package/dist/LinearApolloSixFrameDisplay/stateModel/rendering.d.ts.map +1 -0
- package/dist/LinearApolloSixFrameDisplay/types.d.ts +2 -0
- package/dist/LinearApolloSixFrameDisplay/types.d.ts.map +1 -0
- package/dist/OntologyManager/OntologyStore/fulltext-stopwords.d.ts +8 -0
- package/dist/OntologyManager/OntologyStore/fulltext-stopwords.d.ts.map +1 -0
- package/dist/OntologyManager/OntologyStore/fulltext.d.ts +27 -0
- package/dist/OntologyManager/OntologyStore/fulltext.d.ts.map +1 -0
- package/dist/OntologyManager/OntologyStore/index.d.ts +93 -0
- package/dist/OntologyManager/OntologyStore/index.d.ts.map +1 -0
- package/dist/OntologyManager/OntologyStore/indexeddb-schema.d.ts +71 -0
- package/dist/OntologyManager/OntologyStore/indexeddb-schema.d.ts.map +1 -0
- package/dist/OntologyManager/OntologyStore/indexeddb-storage.d.ts +11 -0
- package/dist/OntologyManager/OntologyStore/indexeddb-storage.d.ts.map +1 -0
- package/dist/OntologyManager/OntologyStore/obo-graph-json-schema.d.ts +107 -0
- package/dist/OntologyManager/OntologyStore/obo-graph-json-schema.d.ts.map +1 -0
- package/dist/OntologyManager/OntologyStore/prefixes.d.ts +20 -0
- package/dist/OntologyManager/OntologyStore/prefixes.d.ts.map +1 -0
- package/dist/OntologyManager/util.d.ts +4 -0
- package/dist/OntologyManager/util.d.ts.map +1 -0
- package/dist/TabularEditor/HybridGrid/ChangeHandling.d.ts +6 -0
- package/dist/TabularEditor/HybridGrid/ChangeHandling.d.ts.map +1 -0
- package/dist/TabularEditor/HybridGrid/Feature.d.ts +13 -0
- package/dist/TabularEditor/HybridGrid/Feature.d.ts.map +1 -0
- package/dist/TabularEditor/HybridGrid/FeatureAttributes.d.ts +6 -0
- package/dist/TabularEditor/HybridGrid/FeatureAttributes.d.ts.map +1 -0
- package/dist/TabularEditor/HybridGrid/Highlight.d.ts +6 -0
- package/dist/TabularEditor/HybridGrid/Highlight.d.ts.map +1 -0
- package/dist/TabularEditor/HybridGrid/HybridGrid.d.ts +14 -0
- package/dist/TabularEditor/HybridGrid/HybridGrid.d.ts.map +1 -0
- package/dist/TabularEditor/HybridGrid/NumberCell.d.ts +8 -0
- package/dist/TabularEditor/HybridGrid/NumberCell.d.ts.map +1 -0
- package/dist/TabularEditor/HybridGrid/ToolBar.d.ts +5 -0
- package/dist/TabularEditor/HybridGrid/ToolBar.d.ts.map +1 -0
- package/dist/TabularEditor/HybridGrid/featureContextMenuItems.d.ts +11 -0
- package/dist/TabularEditor/HybridGrid/featureContextMenuItems.d.ts.map +1 -0
- package/dist/TabularEditor/HybridGrid/index.d.ts +2 -0
- package/dist/TabularEditor/HybridGrid/index.d.ts.map +1 -0
- package/dist/TabularEditor/TabularEditorPane.d.ts +5 -0
- package/dist/TabularEditor/TabularEditorPane.d.ts.map +1 -0
- package/dist/TabularEditor/index.d.ts +3 -0
- package/dist/TabularEditor/index.d.ts.map +1 -0
- package/dist/TabularEditor/model.d.ts +17 -0
- package/dist/TabularEditor/model.d.ts.map +1 -0
- package/dist/TabularEditor/types.d.ts +4 -0
- package/dist/TabularEditor/types.d.ts.map +1 -0
- package/dist/components/AddAssembly.d.ts +10 -0
- package/dist/components/AddAssembly.d.ts.map +1 -0
- package/dist/components/AddAssemblyAliases.d.ts +10 -0
- package/dist/components/AddAssemblyAliases.d.ts.map +1 -0
- package/dist/components/AddChildFeature.d.ts +13 -0
- package/dist/components/AddChildFeature.d.ts.map +1 -0
- package/dist/components/AddFeature.d.ts +12 -0
- package/dist/components/AddFeature.d.ts.map +1 -0
- package/dist/components/AddRefSeqAliases.d.ts +10 -0
- package/dist/components/AddRefSeqAliases.d.ts.map +1 -0
- package/dist/components/CopyFeature.d.ts +13 -0
- package/dist/components/CopyFeature.d.ts.map +1 -0
- package/dist/components/CreateApolloAnnotation.d.ts +20 -0
- package/dist/components/CreateApolloAnnotation.d.ts.map +1 -0
- package/dist/components/DeleteAssembly.d.ts +10 -0
- package/dist/components/DeleteAssembly.d.ts.map +1 -0
- package/dist/components/DeleteFeature.d.ts +15 -0
- package/dist/components/DeleteFeature.d.ts.map +1 -0
- package/dist/components/Dialog.d.ts +7 -0
- package/dist/components/Dialog.d.ts.map +1 -0
- package/dist/components/DownloadGFF3.d.ts +8 -0
- package/dist/components/DownloadGFF3.d.ts.map +1 -0
- package/dist/components/DuplicateTranscript.d.ts +15 -0
- package/dist/components/DuplicateTranscript.d.ts.map +1 -0
- package/dist/components/EditZoomThresholdDialog.d.ts +11 -0
- package/dist/components/EditZoomThresholdDialog.d.ts.map +1 -0
- package/dist/components/FilterFeatures.d.ts +10 -0
- package/dist/components/FilterFeatures.d.ts.map +1 -0
- package/dist/components/FilterTranscripts.d.ts +10 -0
- package/dist/components/FilterTranscripts.d.ts.map +1 -0
- package/dist/components/ImportFeatures.d.ts +10 -0
- package/dist/components/ImportFeatures.d.ts.map +1 -0
- package/dist/components/LogOut.d.ts +8 -0
- package/dist/components/LogOut.d.ts.map +1 -0
- package/dist/components/ManageChecks.d.ts +8 -0
- package/dist/components/ManageChecks.d.ts.map +1 -0
- package/dist/components/ManageUsers.d.ts +10 -0
- package/dist/components/ManageUsers.d.ts.map +1 -0
- package/dist/components/MergeExons.d.ts +15 -0
- package/dist/components/MergeExons.d.ts.map +1 -0
- package/dist/components/MergeTranscripts.d.ts +15 -0
- package/dist/components/MergeTranscripts.d.ts.map +1 -0
- package/dist/components/OntologyTermAutocomplete.d.ts +25 -0
- package/dist/components/OntologyTermAutocomplete.d.ts.map +1 -0
- package/dist/components/OntologyTermMultiSelect.d.ts +12 -0
- package/dist/components/OntologyTermMultiSelect.d.ts.map +1 -0
- package/dist/components/OpenLocalFile.d.ts +15 -0
- package/dist/components/OpenLocalFile.d.ts.map +1 -0
- package/dist/components/SplitExon.d.ts +15 -0
- package/dist/components/SplitExon.d.ts.map +1 -0
- package/dist/components/ViewChangeLog.d.ts +8 -0
- package/dist/components/ViewChangeLog.d.ts.map +1 -0
- package/dist/components/ViewCheckResults.d.ts +8 -0
- package/dist/components/ViewCheckResults.d.ts.map +1 -0
- package/dist/components/index.d.ts +21 -0
- package/dist/components/index.d.ts.map +1 -0
- package/dist/extensions/annotationFromJBrowseFeature.d.ts +6 -0
- package/dist/extensions/annotationFromJBrowseFeature.d.ts.map +1 -0
- package/dist/extensions/annotationFromPileup.d.ts +3 -0
- package/dist/extensions/annotationFromPileup.d.ts.map +1 -0
- package/dist/extensions/index.d.ts +3 -0
- package/dist/extensions/index.d.ts.map +1 -0
- package/dist/index.esm.js +843 -1330
- package/dist/index.esm.js.map +1 -1
- package/dist/jbrowse-plugin-apollo.cjs.development.js +919 -1455
- package/dist/jbrowse-plugin-apollo.cjs.development.js.map +1 -1
- package/dist/jbrowse-plugin-apollo.cjs.production.min.js +1 -1
- package/dist/jbrowse-plugin-apollo.cjs.production.min.js.map +1 -1
- package/dist/jbrowse-plugin-apollo.umd.development.js +46351 -63619
- package/dist/jbrowse-plugin-apollo.umd.development.js.map +1 -1
- package/dist/jbrowse-plugin-apollo.umd.production.min.js +1 -1
- package/dist/jbrowse-plugin-apollo.umd.production.min.js.map +1 -1
- package/dist/makeDisplayComponent.d.ts +9 -0
- package/dist/makeDisplayComponent.d.ts.map +1 -0
- package/dist/menus/index.d.ts +2 -0
- package/dist/menus/index.d.ts.map +1 -0
- package/dist/menus/topLevelMenu.d.ts +3 -0
- package/dist/menus/topLevelMenu.d.ts.map +1 -0
- package/dist/menus/topLevelMenuAdmin.d.ts +3 -0
- package/dist/menus/topLevelMenuAdmin.d.ts.map +1 -0
- package/dist/session/index.d.ts +2 -0
- package/dist/session/index.d.ts.map +1 -0
- package/dist/types.d.ts +10 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/util/annotationFeatureUtils.d.ts +7 -0
- package/dist/util/annotationFeatureUtils.d.ts.map +1 -0
- package/dist/util/copyToClipboard.d.ts +2 -0
- package/dist/util/copyToClipboard.d.ts.map +1 -0
- package/dist/util/glyphUtils.d.ts +31 -0
- package/dist/util/glyphUtils.d.ts.map +1 -0
- package/dist/util/index.d.ts +10 -0
- package/dist/util/index.d.ts.map +1 -0
- package/dist/util/loadAssemblyIntoClient.d.ts +5 -0
- package/dist/util/loadAssemblyIntoClient.d.ts.map +1 -0
- package/dist/util/mouseEventsUtils.d.ts +25 -0
- package/dist/util/mouseEventsUtils.d.ts.map +1 -0
- package/package.json +48 -25
- package/src/ApolloInternetAccount/components/AuthTypeSelector.tsx +7 -2
- package/src/ApolloInternetAccount/components/LoginButtons.tsx +1 -1
- package/src/ApolloInternetAccount/configSchema.ts +1 -1
- package/src/ApolloInternetAccount/model.ts +13 -6
- package/src/ApolloJobModel.ts +3 -3
- package/src/ApolloRefNameAliasAdapter/ApolloRefNameAliasAdapter.ts +2 -2
- package/src/ApolloSequenceAdapter/ApolloSequenceAdapter.ts +2 -2
- package/src/ApolloTextSearchAdapter/ApolloTextSearchAdapter.ts +28 -5
- package/src/BackendDrivers/BackendDriver.ts +8 -8
- package/src/BackendDrivers/CollaborationServerDriver.ts +6 -6
- package/src/BackendDrivers/DesktopFileDriver.ts +4 -4
- package/src/BackendDrivers/InMemoryFileDriver.ts +5 -8
- package/src/ChangeManager.ts +8 -3
- package/src/FeatureDetailsWidget/ApolloFeatureDetailsWidget.tsx +3 -3
- package/src/FeatureDetailsWidget/ApolloTranscriptDetailsWidget.tsx +7 -7
- package/src/FeatureDetailsWidget/AttributeKey.tsx +1 -1
- package/src/FeatureDetailsWidget/AttributeKeySelector.tsx +1 -1
- package/src/FeatureDetailsWidget/Attributes.tsx +4 -4
- package/src/FeatureDetailsWidget/BasicInformation.tsx +3 -3
- package/src/FeatureDetailsWidget/DefaultAttributeEditor.tsx +1 -1
- package/src/FeatureDetailsWidget/FeatureDetailsNavigation.tsx +2 -2
- package/src/FeatureDetailsWidget/Sequence.tsx +3 -3
- package/src/FeatureDetailsWidget/TranscriptSequence.tsx +2 -2
- package/src/FeatureDetailsWidget/TranscriptWidgetEditLocation.tsx +3 -6
- package/src/FeatureDetailsWidget/TranscriptWidgetSummary.tsx +1 -1
- package/src/FeatureDetailsWidget/model.ts +3 -3
- package/src/LinearApolloDisplay/components/CheckResultWarnings.tsx +2 -2
- package/src/LinearApolloDisplay/components/LinearApolloDisplay.tsx +6 -4
- package/src/LinearApolloDisplay/glyphs/BoxGlyph.ts +7 -7
- package/src/LinearApolloDisplay/glyphs/GeneGlyph.ts +56 -30
- package/src/LinearApolloDisplay/glyphs/GenericChildGlyph.ts +6 -6
- package/src/LinearApolloDisplay/glyphs/Glyph.ts +7 -7
- package/src/LinearApolloDisplay/glyphs/util.ts +2 -2
- package/src/LinearApolloDisplay/stateModel/base.ts +17 -8
- package/src/LinearApolloDisplay/stateModel/index.ts +2 -2
- package/src/LinearApolloDisplay/stateModel/layouts.ts +4 -4
- package/src/LinearApolloDisplay/stateModel/mouseEvents.ts +6 -6
- package/src/LinearApolloDisplay/stateModel/rendering.ts +3 -3
- package/src/LinearApolloReferenceSequenceDisplay/components/LinearApolloReferenceSequenceDisplay.tsx +4 -2
- package/src/LinearApolloReferenceSequenceDisplay/drawSequenceOverlay.ts +4 -4
- package/src/LinearApolloReferenceSequenceDisplay/drawSequenceTrack.ts +3 -3
- package/src/LinearApolloReferenceSequenceDisplay/stateModel/base.ts +11 -8
- package/src/LinearApolloReferenceSequenceDisplay/stateModel/index.ts +2 -2
- package/src/LinearApolloReferenceSequenceDisplay/stateModel/rendering.ts +2 -2
- package/src/LinearApolloSixFrameDisplay/components/LinearApolloSixFrameDisplay.tsx +17 -9
- package/src/LinearApolloSixFrameDisplay/components/TrackLines.tsx +1 -1
- package/src/LinearApolloSixFrameDisplay/glyphs/GeneGlyph.ts +36 -23
- package/src/LinearApolloSixFrameDisplay/glyphs/Glyph.ts +6 -6
- package/src/LinearApolloSixFrameDisplay/stateModel/base.ts +17 -8
- package/src/LinearApolloSixFrameDisplay/stateModel/index.ts +2 -2
- package/src/LinearApolloSixFrameDisplay/stateModel/layouts.ts +12 -8
- package/src/LinearApolloSixFrameDisplay/stateModel/mouseEvents.ts +11 -10
- package/src/LinearApolloSixFrameDisplay/stateModel/rendering.ts +3 -3
- package/src/OntologyManager/OntologyStore/fulltext.test.ts +1 -1
- package/src/OntologyManager/OntologyStore/fulltext.ts +11 -4
- package/src/OntologyManager/OntologyStore/index.test.ts +3 -0
- package/src/OntologyManager/OntologyStore/indexeddb-schema.ts +6 -6
- package/src/OntologyManager/OntologyStore/indexeddb-storage.ts +2 -1
- package/src/OntologyManager/index.ts +4 -4
- package/src/OntologyManager/util.ts +1 -1
- package/src/TabularEditor/HybridGrid/ChangeHandling.ts +2 -2
- package/src/TabularEditor/HybridGrid/Feature.tsx +6 -6
- package/src/TabularEditor/HybridGrid/FeatureAttributes.tsx +2 -2
- package/src/TabularEditor/HybridGrid/Highlight.tsx +1 -1
- package/src/TabularEditor/HybridGrid/HybridGrid.tsx +2 -2
- package/src/TabularEditor/HybridGrid/NumberCell.tsx +1 -1
- package/src/TabularEditor/HybridGrid/ToolBar.tsx +3 -2
- package/src/TabularEditor/HybridGrid/featureContextMenuItems.ts +26 -4
- package/src/TabularEditor/TabularEditorPane.tsx +1 -1
- package/src/TabularEditor/model.ts +2 -2
- package/src/TabularEditor/types.ts +2 -2
- package/src/components/AddAssembly.tsx +61 -42
- package/src/components/AddAssemblyAliases.tsx +5 -5
- package/src/components/AddChildFeature.tsx +3 -3
- package/src/components/AddFeature.tsx +4 -4
- package/src/components/AddRefSeqAliases.tsx +7 -7
- package/src/components/CopyFeature.tsx +8 -8
- package/src/components/CreateApolloAnnotation.tsx +5 -5
- package/src/components/DeleteAssembly.tsx +8 -8
- package/src/components/DeleteFeature.tsx +4 -4
- package/src/components/Dialog.tsx +1 -1
- package/src/components/DownloadGFF3.tsx +8 -8
- package/src/components/DuplicateTranscript.tsx +132 -0
- package/src/components/FilterFeatures.tsx +1 -1
- package/src/components/FilterTranscripts.tsx +1 -1
- package/src/components/ImportFeatures.tsx +51 -33
- package/src/components/LogOut.tsx +4 -4
- package/src/components/ManageChecks.tsx +8 -8
- package/src/components/ManageUsers.tsx +18 -26
- package/src/components/MergeExons.tsx +4 -4
- package/src/components/MergeTranscripts.tsx +4 -4
- package/src/components/OntologyTermAutocomplete.tsx +14 -4
- package/src/components/OntologyTermMultiSelect.tsx +12 -5
- package/src/components/OpenLocalFile.tsx +2 -2
- package/src/components/SplitExon.tsx +6 -6
- package/src/components/ViewChangeLog.tsx +8 -8
- package/src/components/ViewCheckResults.tsx +4 -4
- package/src/components/index.ts +1 -0
- package/src/config.ts +1 -1
- package/src/extensions/annotationFromJBrowseFeature.ts +29 -24
- package/src/extensions/annotationFromPileup.ts +8 -6
- package/src/index.ts +25 -1
- package/src/makeDisplayComponent.tsx +8 -5
- package/src/menus/topLevelMenu.ts +4 -4
- package/src/menus/topLevelMenuAdmin.ts +4 -4
- package/src/session/ClientDataStore.ts +20 -15
- package/src/session/session.ts +30 -19
- package/src/types.ts +10 -4
- package/src/util/annotationFeatureUtils.ts +1 -1
- package/src/util/displayUtils.ts +3 -3
- package/src/util/glyphUtils.ts +10 -10
- package/src/util/index.ts +4 -4
- package/src/util/loadAssemblyIntoClient.ts +4 -4
- package/src/util/mouseEventsUtils.ts +2 -2
package/src/ChangeManager.ts
CHANGED
|
@@ -11,9 +11,9 @@ import {
|
|
|
11
11
|
validationRegistry,
|
|
12
12
|
} from '@apollo-annotation/shared'
|
|
13
13
|
import { getSession } from '@jbrowse/core/util'
|
|
14
|
-
import {
|
|
14
|
+
import type { IAnyStateTreeNode } from '@jbrowse/mobx-state-tree'
|
|
15
15
|
|
|
16
|
-
import {
|
|
16
|
+
import type { ApolloSessionModel } from './session'
|
|
17
17
|
|
|
18
18
|
export interface SubmitOpts {
|
|
19
19
|
/** defaults to true */
|
|
@@ -66,7 +66,12 @@ export class ChangeManager {
|
|
|
66
66
|
statusMessage: 'Pre-validating',
|
|
67
67
|
progressPct: 0,
|
|
68
68
|
cancelCallback: () => {
|
|
69
|
-
controller.abort(
|
|
69
|
+
controller.abort(
|
|
70
|
+
new DOMException(
|
|
71
|
+
`Cancelling change "${change.typeName}"`,
|
|
72
|
+
'AbortError',
|
|
73
|
+
),
|
|
74
|
+
)
|
|
70
75
|
},
|
|
71
76
|
}
|
|
72
77
|
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { getSession } from '@jbrowse/core/util'
|
|
2
|
+
import { makeStyles } from '@jbrowse/core/util/tss-react'
|
|
2
3
|
import ExpandMoreIcon from '@mui/icons-material/ExpandMore'
|
|
3
4
|
import {
|
|
4
5
|
Accordion,
|
|
@@ -8,15 +9,14 @@ import {
|
|
|
8
9
|
} from '@mui/material'
|
|
9
10
|
import { observer } from 'mobx-react'
|
|
10
11
|
import React, { useEffect, useState } from 'react'
|
|
11
|
-
import { makeStyles } from 'tss-react/mui'
|
|
12
12
|
|
|
13
|
-
import {
|
|
13
|
+
import type { ApolloSessionModel } from '../session'
|
|
14
14
|
|
|
15
15
|
import { Attributes } from './Attributes'
|
|
16
16
|
import { BasicInformation } from './BasicInformation'
|
|
17
17
|
import { FeatureDetailsNavigation } from './FeatureDetailsNavigation'
|
|
18
18
|
import { Sequence } from './Sequence'
|
|
19
|
-
import {
|
|
19
|
+
import type { ApolloFeatureDetailsWidget as ApolloFeatureDetails } from './model'
|
|
20
20
|
|
|
21
21
|
const useStyles = makeStyles()((theme) => ({
|
|
22
22
|
root: {
|
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { AnnotationFeature } from '@apollo-annotation/mst'
|
|
2
2
|
import styled from '@emotion/styled'
|
|
3
3
|
import {
|
|
4
4
|
type AbstractSessionModel,
|
|
5
5
|
getEnv,
|
|
6
6
|
getSession,
|
|
7
7
|
} from '@jbrowse/core/util'
|
|
8
|
+
import { makeStyles } from '@jbrowse/core/util/tss-react'
|
|
9
|
+
import { getRoot } from '@jbrowse/mobx-state-tree'
|
|
8
10
|
import ExpandMoreIcon from '@mui/icons-material/ExpandMore'
|
|
9
11
|
import InfoIcon from '@mui/icons-material/Info'
|
|
10
12
|
import {
|
|
@@ -15,19 +17,17 @@ import {
|
|
|
15
17
|
Typography,
|
|
16
18
|
} from '@mui/material'
|
|
17
19
|
import { observer } from 'mobx-react'
|
|
18
|
-
import { getRoot } from 'mobx-state-tree'
|
|
19
20
|
import React, { useEffect, useState } from 'react'
|
|
20
|
-
import { makeStyles } from 'tss-react/mui'
|
|
21
21
|
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
22
|
+
import type { ApolloInternetAccountModel } from '../ApolloInternetAccount/model'
|
|
23
|
+
import type { ApolloSessionModel } from '../session'
|
|
24
|
+
import type { ApolloRootModel } from '../types'
|
|
25
25
|
|
|
26
26
|
import { Attributes } from './Attributes'
|
|
27
27
|
import { TranscriptSequence } from './TranscriptSequence'
|
|
28
28
|
import { TranscriptWidgetEditLocation } from './TranscriptWidgetEditLocation'
|
|
29
29
|
import { TranscriptWidgetSummary } from './TranscriptWidgetSummary'
|
|
30
|
-
import {
|
|
30
|
+
import type { ApolloTranscriptDetailsWidget as ApolloTranscriptDetailsWidgetState } from './model'
|
|
31
31
|
|
|
32
32
|
interface CustomComponentProps {
|
|
33
33
|
session: AbstractSessionModel
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
isGFFColumnInternal,
|
|
5
5
|
isGFFInternalAttribute,
|
|
6
6
|
} from '@apollo-annotation/shared'
|
|
7
|
+
import { makeStyles } from '@jbrowse/core/util/tss-react'
|
|
7
8
|
import InfoIcon from '@mui/icons-material/Info'
|
|
8
9
|
import { Chip, Tooltip, Typography } from '@mui/material'
|
|
9
10
|
import React from 'react'
|
|
10
|
-
import { makeStyles } from 'tss-react/mui'
|
|
11
11
|
|
|
12
12
|
const useStyles = makeStyles()((theme) => ({
|
|
13
13
|
attributeKey: {
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
import { observer } from 'mobx-react'
|
|
13
13
|
import React, { useState } from 'react'
|
|
14
14
|
|
|
15
|
-
import {
|
|
15
|
+
import type { ApolloSessionModel } from '../session'
|
|
16
16
|
|
|
17
17
|
const customKeyName = 'Custom'
|
|
18
18
|
const gffKeys: Record<string, string | undefined> = {
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { AnnotationFeature } from '@apollo-annotation/mst'
|
|
2
2
|
import { FeatureAttributeChange } from '@apollo-annotation/shared'
|
|
3
3
|
import { type AbstractSessionModel, getEnv } from '@jbrowse/core/util'
|
|
4
|
+
import { makeStyles } from '@jbrowse/core/util/tss-react'
|
|
5
|
+
import { getSnapshot } from '@jbrowse/mobx-state-tree'
|
|
4
6
|
import DeleteIcon from '@mui/icons-material/Delete'
|
|
5
7
|
import EditIcon from '@mui/icons-material/Edit'
|
|
6
8
|
import MoreHorizIcon from '@mui/icons-material/MoreHoriz'
|
|
@@ -18,11 +20,9 @@ import {
|
|
|
18
20
|
} from '@mui/material'
|
|
19
21
|
import { entries } from 'mobx'
|
|
20
22
|
import { observer } from 'mobx-react'
|
|
21
|
-
import { getSnapshot } from 'mobx-state-tree'
|
|
22
23
|
import React, { useState } from 'react'
|
|
23
|
-
import { makeStyles } from 'tss-react/mui'
|
|
24
24
|
|
|
25
|
-
import {
|
|
25
|
+
import type { ApolloSessionModel } from '../session'
|
|
26
26
|
|
|
27
27
|
import { AttributeKey } from './AttributeKey'
|
|
28
28
|
import { AttributeKeySelector } from './AttributeKeySelector'
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/* eslint-disable @typescript-eslint/no-misused-promises */
|
|
2
|
-
import {
|
|
2
|
+
import type { AnnotationFeature } from '@apollo-annotation/mst'
|
|
3
3
|
import {
|
|
4
4
|
LocationEndChange,
|
|
5
5
|
LocationStartChange,
|
|
6
6
|
StrandChange,
|
|
7
7
|
TypeChange,
|
|
8
8
|
} from '@apollo-annotation/shared'
|
|
9
|
-
import {
|
|
9
|
+
import type { AbstractSessionModel } from '@jbrowse/core/util'
|
|
10
10
|
import { TextField, Typography } from '@mui/material'
|
|
11
11
|
import { observer } from 'mobx-react'
|
|
12
12
|
import React, { useState } from 'react'
|
|
@@ -15,7 +15,7 @@ import { isOntologyClass } from '../OntologyManager'
|
|
|
15
15
|
import type OntologyStore from '../OntologyManager/OntologyStore'
|
|
16
16
|
import { fetchValidDescendantTerms } from '../OntologyManager/util'
|
|
17
17
|
import { OntologyTermAutocomplete } from '../components/OntologyTermAutocomplete'
|
|
18
|
-
import {
|
|
18
|
+
import type { ApolloSessionModel } from '../session'
|
|
19
19
|
|
|
20
20
|
import { NumberTextField } from './NumberTextField'
|
|
21
21
|
|
|
@@ -4,7 +4,7 @@ import { Button, DialogActions, IconButton } from '@mui/material'
|
|
|
4
4
|
import { observer } from 'mobx-react'
|
|
5
5
|
import React, { useState } from 'react'
|
|
6
6
|
|
|
7
|
-
import {
|
|
7
|
+
import type { ApolloSessionModel } from '../session'
|
|
8
8
|
|
|
9
9
|
import { StringTextField } from './StringTextField'
|
|
10
10
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { AnnotationFeature } from '@apollo-annotation/mst'
|
|
2
2
|
import { Button, Typography } from '@mui/material'
|
|
3
3
|
import { observer } from 'mobx-react'
|
|
4
4
|
import React from 'react'
|
|
5
5
|
|
|
6
6
|
import { getFeatureNameOrId } from '../util'
|
|
7
7
|
|
|
8
|
-
import {
|
|
8
|
+
import type { ApolloFeatureDetailsWidget as ApolloFeatureDetails } from './model'
|
|
9
9
|
|
|
10
10
|
export const FeatureDetailsNavigation = observer(
|
|
11
11
|
function FeatureDetailsNavigation(props: {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/* eslint-disable @typescript-eslint/no-unnecessary-condition */
|
|
2
|
-
import {
|
|
2
|
+
import type { AnnotationFeature } from '@apollo-annotation/mst'
|
|
3
3
|
import { splitStringIntoChunks } from '@apollo-annotation/shared'
|
|
4
|
+
import { makeStyles } from '@jbrowse/core/util/tss-react'
|
|
4
5
|
import { observer } from 'mobx-react'
|
|
5
6
|
import React from 'react'
|
|
6
|
-
import { makeStyles } from 'tss-react/mui'
|
|
7
7
|
|
|
8
|
-
import {
|
|
8
|
+
import type { ApolloSessionModel } from '../session'
|
|
9
9
|
|
|
10
10
|
function formatSequence(
|
|
11
11
|
seq: string,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { AnnotationFeature } from '@apollo-annotation/mst'
|
|
2
2
|
import { splitStringIntoChunks } from '@apollo-annotation/shared'
|
|
3
3
|
import { defaultCodonTable, revcom } from '@jbrowse/core/util'
|
|
4
4
|
import {
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
import { observer } from 'mobx-react'
|
|
13
13
|
import React, { useEffect, useRef, useState } from 'react'
|
|
14
14
|
|
|
15
|
-
import {
|
|
15
|
+
import type { ApolloSessionModel } from '../session'
|
|
16
16
|
import { copyToClipboard } from '../util/copyToClipboard'
|
|
17
17
|
|
|
18
18
|
const SEQUENCE_WRAP_LENGTH = 60
|
|
@@ -3,10 +3,7 @@
|
|
|
3
3
|
/* eslint-disable @typescript-eslint/no-unsafe-assignment */
|
|
4
4
|
/* eslint-disable @typescript-eslint/no-unsafe-member-access */
|
|
5
5
|
/* eslint-disable @typescript-eslint/no-unsafe-return */
|
|
6
|
-
import {
|
|
7
|
-
type AnnotationFeature,
|
|
8
|
-
type TranscriptPart,
|
|
9
|
-
} from '@apollo-annotation/mst'
|
|
6
|
+
import type { AnnotationFeature, TranscriptPart } from '@apollo-annotation/mst'
|
|
10
7
|
import {
|
|
11
8
|
LocationEndChange,
|
|
12
9
|
LocationStartChange,
|
|
@@ -32,8 +29,8 @@ import {
|
|
|
32
29
|
import { observer } from 'mobx-react'
|
|
33
30
|
import React, { useRef } from 'react'
|
|
34
31
|
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
32
|
+
import type { OntologyRecord } from '../OntologyManager'
|
|
33
|
+
import type { ApolloSessionModel } from '../session'
|
|
37
34
|
import { copyToClipboard } from '../util/copyToClipboard'
|
|
38
35
|
|
|
39
36
|
import { StyledAccordionSummary } from './ApolloTranscriptDetailsWidget'
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { AnnotationFeature } from '@apollo-annotation/mst'
|
|
2
2
|
import styled from '@emotion/styled'
|
|
3
3
|
import { Table, TableBody, TableCell, TableRow } from '@mui/material'
|
|
4
4
|
import { observer } from 'mobx-react'
|
|
@@ -6,15 +6,15 @@ import {
|
|
|
6
6
|
} from '@apollo-annotation/mst'
|
|
7
7
|
import { getSession } from '@jbrowse/core/util'
|
|
8
8
|
import { ElementId } from '@jbrowse/core/util/types/mst'
|
|
9
|
-
import { autorun } from 'mobx'
|
|
10
9
|
import {
|
|
11
10
|
type Instance,
|
|
12
11
|
type SnapshotIn,
|
|
13
12
|
addDisposer,
|
|
14
13
|
types,
|
|
15
|
-
} from 'mobx-state-tree'
|
|
14
|
+
} from '@jbrowse/mobx-state-tree'
|
|
15
|
+
import { autorun } from 'mobx'
|
|
16
16
|
|
|
17
|
-
import {
|
|
17
|
+
import type { ApolloSessionModel } from '../session'
|
|
18
18
|
|
|
19
19
|
export const ApolloFeatureDetailsWidgetModel = types
|
|
20
20
|
.model('ApolloFeatureDetailsWidget', {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { CheckResultI } from '@apollo-annotation/mst'
|
|
2
2
|
import { type AbstractSessionModel, doesIntersect2 } from '@jbrowse/core/util'
|
|
3
3
|
import ErrorIcon from '@mui/icons-material/Error'
|
|
4
4
|
import { Avatar, Badge, Box, Tooltip } from '@mui/material'
|
|
@@ -7,7 +7,7 @@ import React from 'react'
|
|
|
7
7
|
|
|
8
8
|
import { clusterResultByMessage, useStyles } from '../../util/displayUtils'
|
|
9
9
|
import { getLeftPx } from '../glyphs/util'
|
|
10
|
-
import {
|
|
10
|
+
import type { LinearApolloDisplay as LinearApolloDisplayI } from '../stateModel'
|
|
11
11
|
|
|
12
12
|
export const CheckResultWarnings = observer(function CheckResultWarnings({
|
|
13
13
|
display,
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
/* eslint-disable @typescript-eslint/unbound-method */
|
|
2
|
+
|
|
2
3
|
/* eslint-disable @typescript-eslint/no-misused-promises */
|
|
3
|
-
|
|
4
|
+
|
|
4
5
|
import { Menu, type MenuItem } from '@jbrowse/core/ui'
|
|
5
6
|
import { getContainingView } from '@jbrowse/core/util'
|
|
6
|
-
import {
|
|
7
|
+
import type { LinearGenomeViewModel } from '@jbrowse/plugin-linear-genome-view'
|
|
7
8
|
import LockIcon from '@mui/icons-material/Lock'
|
|
8
9
|
import { Alert, CircularProgress, Tooltip, useTheme } from '@mui/material'
|
|
9
10
|
import { observer } from 'mobx-react'
|
|
10
11
|
import React, { useEffect, useState } from 'react'
|
|
11
12
|
|
|
12
13
|
import { type Coord, useStyles } from '../../util/displayUtils'
|
|
13
|
-
import {
|
|
14
|
+
import type { LinearApolloDisplay as LinearApolloDisplayI } from '../stateModel'
|
|
14
15
|
|
|
15
16
|
import { CheckResultWarnings } from './CheckResultWarnings'
|
|
16
17
|
|
|
@@ -84,6 +85,8 @@ export const LinearApolloDisplay = observer(function LinearApolloDisplay(
|
|
|
84
85
|
<CircularProgress size="18px" />
|
|
85
86
|
</div>
|
|
86
87
|
) : null}
|
|
88
|
+
{/* This type is wrong in @jbrowse/core */}
|
|
89
|
+
{/* eslint-disable-next-line @typescript-eslint/no-unnecessary-condition */}
|
|
87
90
|
{message ? (
|
|
88
91
|
<Alert
|
|
89
92
|
severity="warning"
|
|
@@ -156,7 +159,6 @@ export const LinearApolloDisplay = observer(function LinearApolloDisplay(
|
|
|
156
159
|
? { top: contextCoord[1], left: contextCoord[0] }
|
|
157
160
|
: undefined
|
|
158
161
|
}
|
|
159
|
-
style={{ zIndex: theme.zIndex.tooltip }}
|
|
160
162
|
menuItems={contextMenuItems}
|
|
161
163
|
/>
|
|
162
164
|
</>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import type { AnnotationFeature } from '@apollo-annotation/mst'
|
|
2
|
+
import type { MenuItem } from '@jbrowse/core/ui'
|
|
3
3
|
import { alpha } from '@mui/material'
|
|
4
4
|
|
|
5
5
|
import {
|
|
@@ -9,12 +9,12 @@ import {
|
|
|
9
9
|
isMousePositionWithFeature,
|
|
10
10
|
isSelectedFeature,
|
|
11
11
|
} from '../../util'
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
12
|
+
import type { LinearApolloDisplay } from '../stateModel'
|
|
13
|
+
import type { LinearApolloDisplayMouseEvents } from '../stateModel/mouseEvents'
|
|
14
|
+
import type { LinearApolloDisplayRendering } from '../stateModel/rendering'
|
|
15
|
+
import type { CanvasMouseEvent } from '../types'
|
|
16
16
|
|
|
17
|
-
import {
|
|
17
|
+
import type { Glyph } from './Glyph'
|
|
18
18
|
|
|
19
19
|
function drawBoxOutline(
|
|
20
20
|
ctx: CanvasRenderingContext2D,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { AnnotationFeature } from '@apollo-annotation/mst'
|
|
2
2
|
import { readConfObject } from '@jbrowse/core/configuration'
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import type { BaseDisplayModel } from '@jbrowse/core/pluggableElementTypes'
|
|
4
|
+
import type { MenuItem } from '@jbrowse/core/ui'
|
|
5
5
|
import {
|
|
6
6
|
type AbstractSessionModel,
|
|
7
7
|
getContainingView,
|
|
@@ -9,11 +9,12 @@ import {
|
|
|
9
9
|
intersection2,
|
|
10
10
|
isSessionModelWithWidgets,
|
|
11
11
|
} from '@jbrowse/core/util'
|
|
12
|
-
import {
|
|
12
|
+
import type { LinearGenomeViewModel } from '@jbrowse/plugin-linear-genome-view'
|
|
13
13
|
import { alpha } from '@mui/material'
|
|
14
14
|
|
|
15
|
-
import {
|
|
15
|
+
import type { OntologyRecord } from '../../OntologyManager'
|
|
16
16
|
import { MergeExons, MergeTranscripts, SplitExon } from '../../components'
|
|
17
|
+
import { DuplicateTranscript } from '../../components/DuplicateTranscript'
|
|
17
18
|
import {
|
|
18
19
|
type MousePosition,
|
|
19
20
|
type MousePositionWithFeature,
|
|
@@ -30,13 +31,13 @@ import {
|
|
|
30
31
|
selectFeatureAndOpenWidget,
|
|
31
32
|
} from '../../util'
|
|
32
33
|
import { getRelatedFeatures } from '../../util/annotationFeatureUtils'
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
34
|
+
import type { LinearApolloDisplay } from '../stateModel'
|
|
35
|
+
import type { LinearApolloDisplayMouseEvents } from '../stateModel/mouseEvents'
|
|
36
|
+
import type { LinearApolloDisplayRendering } from '../stateModel/rendering'
|
|
37
|
+
import type { CanvasMouseEvent } from '../types'
|
|
37
38
|
|
|
38
39
|
import { boxGlyph } from './BoxGlyph'
|
|
39
|
-
import {
|
|
40
|
+
import type { Glyph } from './Glyph'
|
|
40
41
|
|
|
41
42
|
let forwardFillLight: CanvasPattern | null = null
|
|
42
43
|
let backwardFillLight: CanvasPattern | null = null
|
|
@@ -950,29 +951,54 @@ function getContextMenuItems(
|
|
|
950
951
|
)
|
|
951
952
|
}
|
|
952
953
|
if (isTranscriptFeature(feature, session)) {
|
|
953
|
-
contextMenuItemsForFeature.push(
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
(
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
954
|
+
contextMenuItemsForFeature.push(
|
|
955
|
+
{
|
|
956
|
+
label: 'Merge transcript',
|
|
957
|
+
onClick: () => {
|
|
958
|
+
;(session as unknown as AbstractSessionModel).queueDialog(
|
|
959
|
+
(doneCallback) => [
|
|
960
|
+
MergeTranscripts,
|
|
961
|
+
{
|
|
962
|
+
session,
|
|
963
|
+
handleClose: () => {
|
|
964
|
+
doneCallback()
|
|
965
|
+
},
|
|
966
|
+
changeManager,
|
|
967
|
+
sourceFeature: feature,
|
|
968
|
+
sourceAssemblyId: currentAssemblyId,
|
|
969
|
+
selectedFeature,
|
|
970
|
+
setSelectedFeature: (feature?: AnnotationFeature) => {
|
|
971
|
+
display.setSelectedFeature(feature)
|
|
972
|
+
},
|
|
963
973
|
},
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
974
|
+
],
|
|
975
|
+
)
|
|
976
|
+
},
|
|
977
|
+
},
|
|
978
|
+
{
|
|
979
|
+
label: 'Duplicate feature',
|
|
980
|
+
onClick: () => {
|
|
981
|
+
;(session as unknown as AbstractSessionModel).queueDialog(
|
|
982
|
+
(doneCallback) => [
|
|
983
|
+
DuplicateTranscript,
|
|
984
|
+
{
|
|
985
|
+
session,
|
|
986
|
+
handleClose: () => {
|
|
987
|
+
doneCallback()
|
|
988
|
+
},
|
|
989
|
+
changeManager,
|
|
990
|
+
sourceFeature: feature,
|
|
991
|
+
sourceAssemblyId: currentAssemblyId,
|
|
992
|
+
selectedFeature,
|
|
993
|
+
setSelectedFeature: (feature?: AnnotationFeature) => {
|
|
994
|
+
display.setSelectedFeature(feature)
|
|
995
|
+
},
|
|
970
996
|
},
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
997
|
+
],
|
|
998
|
+
)
|
|
999
|
+
},
|
|
974
1000
|
},
|
|
975
|
-
|
|
1001
|
+
)
|
|
976
1002
|
if (isSessionModelWithWidgets(session)) {
|
|
977
1003
|
contextMenuItemsForFeature.splice(1, 0, {
|
|
978
1004
|
label: 'Open transcript editor',
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import type { AnnotationFeature } from '@apollo-annotation/mst'
|
|
2
|
+
import type { MenuItem } from '@jbrowse/core/ui'
|
|
3
3
|
import { alpha } from '@mui/material'
|
|
4
4
|
|
|
5
5
|
import {
|
|
@@ -8,12 +8,12 @@ import {
|
|
|
8
8
|
isMousePositionWithFeature,
|
|
9
9
|
} from '../../util'
|
|
10
10
|
import { getRelatedFeatures } from '../../util/annotationFeatureUtils'
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
11
|
+
import type { LinearApolloDisplay } from '../stateModel'
|
|
12
|
+
import type { LinearApolloDisplayMouseEvents } from '../stateModel/mouseEvents'
|
|
13
|
+
import type { LinearApolloDisplayRendering } from '../stateModel/rendering'
|
|
14
14
|
|
|
15
15
|
import { boxGlyph, drawBox } from './BoxGlyph'
|
|
16
|
-
import {
|
|
16
|
+
import type { Glyph } from './Glyph'
|
|
17
17
|
|
|
18
18
|
function featuresForRow(feature: AnnotationFeature): AnnotationFeature[][] {
|
|
19
19
|
const features = [[feature]]
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import type { AnnotationFeature } from '@apollo-annotation/mst'
|
|
2
|
+
import type { MenuItem } from '@jbrowse/core/ui'
|
|
3
3
|
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
4
|
+
import type { OntologyRecord } from '../../OntologyManager'
|
|
5
|
+
import type { MousePositionWithFeature } from '../../util'
|
|
6
|
+
import type { LinearApolloDisplayMouseEvents } from '../stateModel/mouseEvents'
|
|
7
|
+
import type { LinearApolloDisplayRendering } from '../stateModel/rendering'
|
|
8
|
+
import type { CanvasMouseEvent } from '../types'
|
|
9
9
|
|
|
10
10
|
export interface Glyph {
|
|
11
11
|
/** @returns number of layout rows used by this glyph with this feature and zoom level */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { ContentBlock } from '@jbrowse/core/util/blockTypes'
|
|
2
2
|
|
|
3
|
-
import {
|
|
3
|
+
import type { LinearApolloDisplay } from '../stateModel'
|
|
4
4
|
|
|
5
5
|
export function getLeftPx(
|
|
6
6
|
display: LinearApolloDisplay,
|
|
@@ -3,10 +3,13 @@
|
|
|
3
3
|
/* eslint-disable @typescript-eslint/no-unsafe-assignment */
|
|
4
4
|
/* eslint-disable @typescript-eslint/no-unsafe-member-access */
|
|
5
5
|
/* eslint-disable @typescript-eslint/no-unnecessary-condition */
|
|
6
|
-
import {
|
|
6
|
+
import type { AnnotationFeature } from '@apollo-annotation/mst'
|
|
7
7
|
import type PluginManager from '@jbrowse/core/PluginManager'
|
|
8
|
-
import {
|
|
9
|
-
|
|
8
|
+
import {
|
|
9
|
+
type AnyConfigurationSchemaType,
|
|
10
|
+
ConfigurationReference,
|
|
11
|
+
getConf,
|
|
12
|
+
} from '@jbrowse/core/configuration'
|
|
10
13
|
import { BaseDisplay } from '@jbrowse/core/pluggableElementTypes'
|
|
11
14
|
import {
|
|
12
15
|
type AbstractSessionModel,
|
|
@@ -16,14 +19,20 @@ import {
|
|
|
16
19
|
} from '@jbrowse/core/util'
|
|
17
20
|
import { getParentRenderProps } from '@jbrowse/core/util/tracks'
|
|
18
21
|
// import type LinearGenomeViewPlugin from '@jbrowse/plugin-linear-genome-view'
|
|
19
|
-
import {
|
|
22
|
+
import {
|
|
23
|
+
addDisposer,
|
|
24
|
+
cast,
|
|
25
|
+
getRoot,
|
|
26
|
+
getSnapshot,
|
|
27
|
+
types,
|
|
28
|
+
} from '@jbrowse/mobx-state-tree'
|
|
29
|
+
import type { LinearGenomeViewModel } from '@jbrowse/plugin-linear-genome-view'
|
|
20
30
|
import { autorun } from 'mobx'
|
|
21
|
-
import { addDisposer, cast, getRoot, getSnapshot, types } from 'mobx-state-tree'
|
|
22
31
|
|
|
23
|
-
import {
|
|
32
|
+
import type { ApolloInternetAccountModel } from '../../ApolloInternetAccount/model'
|
|
24
33
|
import { FilterFeatures } from '../../components/FilterFeatures'
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
34
|
+
import type { ApolloSessionModel, HoveredFeature } from '../../session'
|
|
35
|
+
import type { ApolloRootModel } from '../../types'
|
|
27
36
|
import { EditZoomThresholdDialog } from '../../util/displayUtils'
|
|
28
37
|
|
|
29
38
|
const minDisplayHeight = 20
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type PluginManager from '@jbrowse/core/PluginManager'
|
|
2
|
-
import {
|
|
3
|
-
import { type Instance, types } from 'mobx-state-tree'
|
|
2
|
+
import type { AnyConfigurationSchemaType } from '@jbrowse/core/configuration'
|
|
3
|
+
import { type Instance, types } from '@jbrowse/mobx-state-tree'
|
|
4
4
|
|
|
5
5
|
import { TabularEditorStateModelType } from '../../TabularEditor'
|
|
6
6
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/* eslint-disable @typescript-eslint/no-unnecessary-condition */
|
|
2
2
|
|
|
3
|
-
import {
|
|
3
|
+
import type { AnnotationFeature } from '@apollo-annotation/mst'
|
|
4
4
|
import type PluginManager from '@jbrowse/core/PluginManager'
|
|
5
|
-
import {
|
|
5
|
+
import type { AnyConfigurationSchemaType } from '@jbrowse/core/configuration'
|
|
6
6
|
import { type AbstractSessionModel, doesIntersect2 } from '@jbrowse/core/util'
|
|
7
|
+
import { addDisposer, isAlive } from '@jbrowse/mobx-state-tree'
|
|
7
8
|
import { autorun, observable } from 'mobx'
|
|
8
|
-
import { addDisposer, isAlive } from 'mobx-state-tree'
|
|
9
9
|
|
|
10
|
-
import {
|
|
10
|
+
import type { ApolloSessionModel } from '../../session'
|
|
11
11
|
import { boxGlyph, geneGlyph, genericChildGlyph } from '../glyphs'
|
|
12
12
|
|
|
13
13
|
import { baseModelFactory } from './base'
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { AnnotationFeature } from '@apollo-annotation/mst'
|
|
2
2
|
import {
|
|
3
3
|
LocationEndChange,
|
|
4
4
|
LocationStartChange,
|
|
5
5
|
} from '@apollo-annotation/shared'
|
|
6
6
|
import type PluginManager from '@jbrowse/core/PluginManager'
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
7
|
+
import type { AnyConfigurationSchemaType } from '@jbrowse/core/configuration'
|
|
8
|
+
import type { MenuItem } from '@jbrowse/core/ui'
|
|
9
|
+
import { type Instance, addDisposer } from '@jbrowse/mobx-state-tree'
|
|
9
10
|
import { autorun } from 'mobx'
|
|
10
|
-
import
|
|
11
|
-
import { type CSSProperties } from 'react'
|
|
11
|
+
import type { CSSProperties } from 'react'
|
|
12
12
|
|
|
13
13
|
import {
|
|
14
14
|
type Edge,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
getPropagatedLocationChanges,
|
|
19
19
|
isMousePositionWithFeature,
|
|
20
20
|
} from '../../util'
|
|
21
|
-
import {
|
|
21
|
+
import type { CanvasMouseEvent } from '../types'
|
|
22
22
|
|
|
23
23
|
import { renderingModelFactory } from './rendering'
|
|
24
24
|
|