@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
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { LinearApolloDisplay as LinearApolloDisplayI } from './LinearApolloDisplay/stateModel';
|
|
2
|
+
import type { LinearApolloSixFrameDisplay as LinearApolloSixFrameDisplayI } from './LinearApolloSixFrameDisplay/stateModel';
|
|
3
|
+
export declare const LinearApolloDisplayComponent: ({ model, ...other }: {
|
|
4
|
+
model: LinearApolloDisplayI;
|
|
5
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export declare const LinearApolloSixFrameDisplayComponent: ({ model, ...other }: {
|
|
7
|
+
model: LinearApolloSixFrameDisplayI;
|
|
8
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
//# sourceMappingURL=makeDisplayComponent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"makeDisplayComponent.d.ts","sourceRoot":"","sources":["../src/makeDisplayComponent.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,mBAAmB,IAAI,oBAAoB,EAAE,MAAM,kCAAkC,CAAA;AAEnG,OAAO,KAAK,EAAE,2BAA2B,IAAI,4BAA4B,EAAE,MAAM,0CAA0C,CAAA;AA6I3H,eAAO,MAAM,4BAA4B,wBAGtC;IACD,KAAK,EAAE,oBAAoB,CAAA;CAC5B,4CAoFC,CAAA;AAEF,eAAO,MAAM,oCAAoC,wBAI5C;IACD,KAAK,EAAE,4BAA4B,CAAA;CACpC,4CAsFF,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/menus/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"topLevelMenu.d.ts","sourceRoot":"","sources":["../../src/menus/topLevelMenu.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,mBAAmB,EAEpB,MAAM,oBAAoB,CAAA;AAkB3B,wBAAgB,gBAAgB,CAAC,SAAS,EAAE,mBAAmB,QAsH9D"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"topLevelMenuAdmin.d.ts","sourceRoot":"","sources":["../../src/menus/topLevelMenuAdmin.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,mBAAmB,EAEpB,MAAM,oBAAoB,CAAA;AAmB3B,wBAAgB,qBAAqB,CAAC,SAAS,EAAE,mBAAmB,QAmInE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/session/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAA"}
|
package/dist/types.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { BaseInternetAccountModel } from '@jbrowse/core/pluggableElementTypes';
|
|
2
|
+
import type { AppRootModel } from '@jbrowse/core/util';
|
|
3
|
+
import type { ApolloInternetAccountModel } from './ApolloInternetAccount/model';
|
|
4
|
+
import type { ApolloSessionModel } from './session';
|
|
5
|
+
export interface ApolloRootModel extends Omit<AppRootModel, 'session'> {
|
|
6
|
+
session: ApolloSessionModel;
|
|
7
|
+
internetAccounts: (BaseInternetAccountModel | ApolloInternetAccountModel)[];
|
|
8
|
+
}
|
|
9
|
+
export declare function isApolloInternetAccount(internetAccount: BaseInternetAccountModel | ApolloInternetAccountModel): internetAccount is ApolloInternetAccountModel;
|
|
10
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,qCAAqC,CAAA;AACnF,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAA;AAEtD,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,+BAA+B,CAAA;AAC/E,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAA;AAEnD,MAAM,WAAW,eAAgB,SAAQ,IAAI,CAAC,YAAY,EAAE,SAAS,CAAC;IACpE,OAAO,EAAE,kBAAkB,CAAA;IAC3B,gBAAgB,EAAE,CAAC,wBAAwB,GAAG,0BAA0B,CAAC,EAAE,CAAA;CAC5E;AAED,wBAAgB,uBAAuB,CACrC,eAAe,EAAE,wBAAwB,GAAG,0BAA0B,GACrE,eAAe,IAAI,0BAA0B,CAE/C"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { AnnotationFeature } from '@apollo-annotation/mst';
|
|
2
|
+
export declare function getFeatureName(feature: AnnotationFeature): string;
|
|
3
|
+
export declare function getFeatureId(feature: AnnotationFeature): string;
|
|
4
|
+
export declare function getFeatureNameOrId(feature: AnnotationFeature): string;
|
|
5
|
+
export declare function getStrand(strand: number | undefined): "" | "Forward" | "Reverse";
|
|
6
|
+
export declare function getRelatedFeatures(feature: AnnotationFeature, bp: number, includeSiblings?: boolean): AnnotationFeature[];
|
|
7
|
+
//# sourceMappingURL=annotationFeatureUtils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"annotationFeatureUtils.d.ts","sourceRoot":"","sources":["../../src/util/annotationFeatureUtils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAA;AAE/D,wBAAgB,cAAc,CAAC,OAAO,EAAE,iBAAiB,UAOxD;AAED,wBAAgB,YAAY,CAAC,OAAO,EAAE,iBAAiB,UAmBtD;AAED,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,iBAAiB,UAU5D;AAED,wBAAgB,SAAS,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,8BAQnD;AAuBD,wBAAgB,kBAAkB,CAChC,OAAO,EAAE,iBAAiB,EAC1B,EAAE,EAAE,MAAM,EACV,eAAe,UAAQ,GACtB,iBAAiB,EAAE,CAgCrB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"copyToClipboard.d.ts","sourceRoot":"","sources":["../../src/util/copyToClipboard.ts"],"names":[],"mappings":"AAAA,wBAAsB,eAAe,CAAC,OAAO,EAAE,WAAW,iBAoBzD"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import type { AnnotationFeature, TranscriptPartCoding } from '@apollo-annotation/mst';
|
|
2
|
+
import type { MenuItem } from '@jbrowse/core/ui';
|
|
3
|
+
import type { LinearGenomeViewModel } from '@jbrowse/plugin-linear-genome-view';
|
|
4
|
+
import type { LinearApolloDisplayMouseEvents } from '../LinearApolloDisplay/stateModel/mouseEvents';
|
|
5
|
+
import type { LinearApolloSixFrameDisplayMouseEvents } from '../LinearApolloSixFrameDisplay/stateModel/mouseEvents';
|
|
6
|
+
import type { ApolloSessionModel } from '../session';
|
|
7
|
+
import type { MousePositionWithFeature } from '.';
|
|
8
|
+
type NavLocation = Parameters<LinearGenomeViewModel['navTo']>[0];
|
|
9
|
+
export declare function selectFeatureAndOpenWidget(stateModel: LinearApolloDisplayMouseEvents | LinearApolloSixFrameDisplayMouseEvents, feature: AnnotationFeature): void;
|
|
10
|
+
export declare function isTranscriptFeature(feature: AnnotationFeature, session: ApolloSessionModel): boolean;
|
|
11
|
+
export declare function isExonFeature(feature: AnnotationFeature, session: ApolloSessionModel): boolean;
|
|
12
|
+
export declare function isCDSFeature(feature: AnnotationFeature, session: ApolloSessionModel): boolean;
|
|
13
|
+
export interface AdjacentExons {
|
|
14
|
+
upstream: AnnotationFeature | undefined;
|
|
15
|
+
downstream: AnnotationFeature | undefined;
|
|
16
|
+
}
|
|
17
|
+
export declare function getAdjacentExons(currentExon: AnnotationFeature, display: LinearApolloDisplayMouseEvents | LinearApolloSixFrameDisplayMouseEvents, mousePosition: MousePositionWithFeature, session: ApolloSessionModel): AdjacentExons;
|
|
18
|
+
export declare function getStreamIcon(strand: 1 | -1 | undefined, isUpstream: boolean, isFlipped: boolean | undefined): import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
|
|
19
|
+
muiName: string;
|
|
20
|
+
};
|
|
21
|
+
export declare function getMinAndMaxPx(feature: AnnotationFeature | TranscriptPartCoding, refName: string, regionNumber: number, lgv: LinearGenomeViewModel): [number, number] | undefined;
|
|
22
|
+
export declare function getOverlappingEdge(feature: AnnotationFeature, x: number, minMax: [number, number]): {
|
|
23
|
+
feature: AnnotationFeature;
|
|
24
|
+
edge: 'min' | 'max';
|
|
25
|
+
} | undefined;
|
|
26
|
+
export declare function isSelectedFeature(feature: AnnotationFeature, selectedFeature: AnnotationFeature | undefined): boolean;
|
|
27
|
+
export declare function containsSelectedFeature(feature: AnnotationFeature, selectedFeature: AnnotationFeature | undefined): boolean;
|
|
28
|
+
export declare function getContextMenuItemsForFeature(display: LinearApolloSixFrameDisplayMouseEvents | LinearApolloDisplayMouseEvents, sourceFeature: AnnotationFeature): MenuItem[];
|
|
29
|
+
export declare function navToFeatureCenter(feature: AnnotationFeature, paddingPct: number, refSeqLength: number): NavLocation;
|
|
30
|
+
export {};
|
|
31
|
+
//# sourceMappingURL=glyphUtils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"glyphUtils.d.ts","sourceRoot":"","sources":["../../src/util/glyphUtils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,iBAAiB,EACjB,oBAAoB,EACrB,MAAM,wBAAwB,CAAA;AAE/B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AAMhD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,oCAAoC,CAAA;AAI/E,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,+CAA+C,CAAA;AACnG,OAAO,KAAK,EAAE,sCAAsC,EAAE,MAAM,uDAAuD,CAAA;AAEnH,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAA;AAEpD,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,GAAG,CAAA;AAEjD,KAAK,WAAW,GAAG,UAAU,CAAC,qBAAqB,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;AAEhE,wBAAgB,0BAA0B,CACxC,UAAU,EACN,8BAA8B,GAC9B,sCAAsC,EAC1C,OAAO,EAAE,iBAAiB,QAmC3B;AAED,wBAAgB,mBAAmB,CACjC,OAAO,EAAE,iBAAiB,EAC1B,OAAO,EAAE,kBAAkB,GAC1B,OAAO,CAST;AAED,wBAAgB,aAAa,CAC3B,OAAO,EAAE,iBAAiB,EAC1B,OAAO,EAAE,kBAAkB,GAC1B,OAAO,CAMT;AAED,wBAAgB,YAAY,CAC1B,OAAO,EAAE,iBAAiB,EAC1B,OAAO,EAAE,kBAAkB,GAC1B,OAAO,CAMT;AAED,MAAM,WAAW,aAAa;IAC5B,QAAQ,EAAE,iBAAiB,GAAG,SAAS,CAAA;IACvC,UAAU,EAAE,iBAAiB,GAAG,SAAS,CAAA;CAC1C;AAED,wBAAgB,gBAAgB,CAC9B,WAAW,EAAE,iBAAiB,EAC9B,OAAO,EACH,8BAA8B,GAC9B,sCAAsC,EAC1C,aAAa,EAAE,wBAAwB,EACvC,OAAO,EAAE,kBAAkB,GAC1B,aAAa,CAkDf;AAED,wBAAgB,aAAa,CAC3B,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,GAAG,SAAS,EAC1B,UAAU,EAAE,OAAO,EACnB,SAAS,EAAE,OAAO,GAAG,SAAS;;EAsB/B;AAED,wBAAgB,cAAc,CAC5B,OAAO,EAAE,iBAAiB,GAAG,oBAAoB,EACjD,OAAO,EAAE,MAAM,EACf,YAAY,EAAE,MAAM,EACpB,GAAG,EAAE,qBAAqB,GACzB,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,SAAS,CAkB9B;AAED,wBAAgB,kBAAkB,CAChC,OAAO,EAAE,iBAAiB,EAC1B,CAAC,EAAE,MAAM,EACT,MAAM,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,GACvB;IAAE,OAAO,EAAE,iBAAiB,CAAC;IAAC,IAAI,EAAE,KAAK,GAAG,KAAK,CAAA;CAAE,GAAG,SAAS,CAajE;AAED,wBAAgB,iBAAiB,CAC/B,OAAO,EAAE,iBAAiB,EAC1B,eAAe,EAAE,iBAAiB,GAAG,SAAS,WAG/C;AAED,wBAAgB,uBAAuB,CACrC,OAAO,EAAE,iBAAiB,EAC1B,eAAe,EAAE,iBAAiB,GAAG,SAAS,GAC7C,OAAO,CAQT;AAqBD,wBAAgB,6BAA6B,CAC3C,OAAO,EACH,sCAAsC,GACtC,8BAA8B,EAClC,aAAa,EAAE,iBAAiB,GAC/B,QAAQ,EAAE,CAwGZ;AAED,wBAAgB,kBAAkB,CAChC,OAAO,EAAE,iBAAiB,EAC1B,UAAU,EAAE,MAAM,EAClB,YAAY,EAAE,MAAM,GACnB,WAAW,CAKb"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { ApolloInternetAccountModel } from '../ApolloInternetAccount/model';
|
|
2
|
+
import type { ApolloSessionModel } from '../session';
|
|
3
|
+
export declare function createFetchErrorMessage(response: Response, additionalText?: string): Promise<string>;
|
|
4
|
+
/** given a session, get our ApolloInternetAccount */
|
|
5
|
+
export declare function getApolloInternetAccount(session: ApolloSessionModel): ApolloInternetAccountModel | undefined;
|
|
6
|
+
export * from './loadAssemblyIntoClient';
|
|
7
|
+
export * from './annotationFeatureUtils';
|
|
8
|
+
export * from './glyphUtils';
|
|
9
|
+
export * from './mouseEventsUtils';
|
|
10
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/util/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,gCAAgC,CAAA;AAChF,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAA;AAGpD,wBAAsB,uBAAuB,CAC3C,QAAQ,EAAE,QAAQ,EAClB,cAAc,CAAC,EAAE,MAAM,GACtB,OAAO,CAAC,MAAM,CAAC,CAWjB;AAED,qDAAqD;AACrD,wBAAgB,wBAAwB,CAAC,OAAO,EAAE,kBAAkB,GAG9D,0BAA0B,GAC1B,SAAS,CACd;AAED,cAAc,0BAA0B,CAAA;AACxC,cAAc,0BAA0B,CAAA;AACxC,cAAc,cAAc,CAAA;AAC5B,cAAc,oBAAoB,CAAA"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { type ClientDataStore } from '@apollo-annotation/common';
|
|
2
|
+
import type { ApolloAssemblyI, CheckResultSnapshot } from '@apollo-annotation/mst';
|
|
3
|
+
export declare function loadAssemblyIntoClient(assemblyId: string, gff3FileText: string, apolloDataStore: ClientDataStore): Promise<ApolloAssemblyI>;
|
|
4
|
+
export declare function checkFeatures(assembly: ApolloAssemblyI): Promise<CheckResultSnapshot[]>;
|
|
5
|
+
//# sourceMappingURL=loadAssemblyIntoClient.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"loadAssemblyIntoClient.d.ts","sourceRoot":"","sources":["../../src/util/loadAssemblyIntoClient.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,eAAe,EAAiB,MAAM,2BAA2B,CAAA;AAC/E,OAAO,KAAK,EACV,eAAe,EACf,mBAAmB,EACpB,MAAM,wBAAwB,CAAA;AAU/B,wBAAsB,sBAAsB,CAC1C,UAAU,EAAE,MAAM,EAClB,YAAY,EAAE,MAAM,EACpB,eAAe,EAAE,eAAe,4BAyDjC;AAED,wBAAsB,aAAa,CACjC,QAAQ,EAAE,eAAe,GACxB,OAAO,CAAC,mBAAmB,EAAE,CAAC,CAehC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { AnnotationFeature } from '@apollo-annotation/mst';
|
|
2
|
+
import type { LinearGenomeViewModel } from '@jbrowse/plugin-linear-genome-view';
|
|
3
|
+
type MinEdge = 'min';
|
|
4
|
+
type MaxEdge = 'max';
|
|
5
|
+
export type Edge = MinEdge | MaxEdge;
|
|
6
|
+
interface LocationChange {
|
|
7
|
+
featureId: string;
|
|
8
|
+
oldLocation: number;
|
|
9
|
+
newLocation: number;
|
|
10
|
+
}
|
|
11
|
+
export declare function getPropagatedLocationChanges(feature: AnnotationFeature, newLocation: number, edge: Edge, shrinkParent?: boolean): LocationChange[];
|
|
12
|
+
/** extended information about the position of the mouse on the canvas, including the refName, bp, and displayedRegion number */
|
|
13
|
+
export interface MousePosition {
|
|
14
|
+
x: number;
|
|
15
|
+
y: number;
|
|
16
|
+
refName: string;
|
|
17
|
+
bp: number;
|
|
18
|
+
regionNumber: number;
|
|
19
|
+
feature?: AnnotationFeature;
|
|
20
|
+
}
|
|
21
|
+
export type MousePositionWithFeature = Required<MousePosition>;
|
|
22
|
+
export declare function isMousePositionWithFeature(mousePosition: MousePosition): mousePosition is MousePositionWithFeature;
|
|
23
|
+
export declare function getMousePosition(event: React.MouseEvent, lgv: LinearGenomeViewModel): MousePosition;
|
|
24
|
+
export {};
|
|
25
|
+
//# sourceMappingURL=mouseEventsUtils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mouseEventsUtils.d.ts","sourceRoot":"","sources":["../../src/util/mouseEventsUtils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAA;AAC/D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,oCAAoC,CAAA;AAE/E,KAAK,OAAO,GAAG,KAAK,CAAA;AACpB,KAAK,OAAO,GAAG,KAAK,CAAA;AACpB,MAAM,MAAM,IAAI,GAAG,OAAO,GAAG,OAAO,CAAA;AAEpC,UAAU,cAAc;IACtB,SAAS,EAAE,MAAM,CAAA;IACjB,WAAW,EAAE,MAAM,CAAA;IACnB,WAAW,EAAE,MAAM,CAAA;CACpB;AAiFD,wBAAgB,4BAA4B,CAC1C,OAAO,EAAE,iBAAiB,EAC1B,WAAW,EAAE,MAAM,EACnB,IAAI,EAAE,IAAI,EACV,YAAY,UAAQ,GACnB,cAAc,EAAE,CAgBlB;AAED,gIAAgI;AAChI,MAAM,WAAW,aAAa;IAC5B,CAAC,EAAE,MAAM,CAAA;IACT,CAAC,EAAE,MAAM,CAAA;IACT,OAAO,EAAE,MAAM,CAAA;IACf,EAAE,EAAE,MAAM,CAAA;IACV,YAAY,EAAE,MAAM,CAAA;IACpB,OAAO,CAAC,EAAE,iBAAiB,CAAA;CAC5B;AAED,MAAM,MAAM,wBAAwB,GAAG,QAAQ,CAAC,aAAa,CAAC,CAAA;AAE9D,wBAAgB,0BAA0B,CACxC,aAAa,EAAE,aAAa,GAC3B,aAAa,IAAI,wBAAwB,CAE3C;AAED,wBAAgB,gBAAgB,CAC9B,KAAK,EAAE,KAAK,CAAC,UAAU,EACvB,GAAG,EAAE,qBAAqB,GACzB,aAAa,CAQf"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@apollo-annotation/jbrowse-plugin-apollo",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.12",
|
|
4
4
|
"description": "Apollo plugin for JBrowse 2",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"jbrowse",
|
|
@@ -13,9 +13,7 @@
|
|
|
13
13
|
},
|
|
14
14
|
"license": "Apache-2.0",
|
|
15
15
|
"author": "JBrowse Team",
|
|
16
|
-
"
|
|
17
|
-
"module": "dist/index.esm.js",
|
|
18
|
-
"typings": "dist/index.d.ts",
|
|
16
|
+
"type": "module",
|
|
19
17
|
"files": [
|
|
20
18
|
"dist",
|
|
21
19
|
"src"
|
|
@@ -24,12 +22,12 @@
|
|
|
24
22
|
"setup": "rimraf .jbrowse && jbrowse create .jbrowse",
|
|
25
23
|
"clean": "rimraf dist",
|
|
26
24
|
"start": "yarn clean && npm-run-all --parallel start:watch start:server",
|
|
27
|
-
"start:watch": "JB_NPM=false NODE_ENV=development rollup --config --watch",
|
|
25
|
+
"start:watch": "JB_NPM=false NODE_ENV=development rollup --config rollup/rollup.config.mjs --watch",
|
|
28
26
|
"start:server": "serve --no-request-logging --cors --listen 9000 --no-port-switching .",
|
|
29
|
-
"build": "yarn build:shared && yarn clean && rollup --config",
|
|
27
|
+
"build": "yarn build:shared && yarn clean && rollup --config rollup/rollup.config.mjs",
|
|
30
28
|
"browse": "serve --no-request-logging --listen 8999 --no-port-switching --symlinks .jbrowse",
|
|
31
|
-
"test": "jest",
|
|
32
|
-
"test:ci": "jest --coverage",
|
|
29
|
+
"test": "yarn node --experimental-vm-modules $(yarn bin jest)",
|
|
30
|
+
"test:ci": "yarn node --experimental-vm-modules $(yarn bin jest) --coverage",
|
|
33
31
|
"start:collab-cypress": "yarn workspace @apollo-annotation/collaboration-server run cypress:start",
|
|
34
32
|
"test:e2e": "yarn build && start-test \"npm-run-all --parallel start:server browse start:collab-cypress\" \"9000|8999|http://localhost:3999/health\" \"npm-run-all cypress:run\"",
|
|
35
33
|
"test:e2e:debug": "yarn build && start-test \"npm-run-all --parallel start:server browse start:collab-cypress\" \"9000|8999|http://localhost:3999/health\" \"npm-run-all cypress:debug\"",
|
|
@@ -48,15 +46,15 @@
|
|
|
48
46
|
}
|
|
49
47
|
},
|
|
50
48
|
"dependencies": {
|
|
51
|
-
"@apollo-annotation/common": "^0.3.
|
|
52
|
-
"@apollo-annotation/mst": "^0.3.
|
|
53
|
-
"@apollo-annotation/shared": "^0.3.
|
|
49
|
+
"@apollo-annotation/common": "^0.3.12",
|
|
50
|
+
"@apollo-annotation/mst": "^0.3.12",
|
|
51
|
+
"@apollo-annotation/shared": "^0.3.12",
|
|
54
52
|
"@emotion/react": "^11.10.6",
|
|
55
53
|
"@emotion/styled": "^11.10.6",
|
|
56
|
-
"@gmod/gff": "^2.
|
|
57
|
-
"@jbrowse/plugin-authentication": "^
|
|
58
|
-
"@jbrowse/plugin-linear-genome-view": "^
|
|
59
|
-
"@mui/icons-material": "^
|
|
54
|
+
"@gmod/gff": "^2.1.0",
|
|
55
|
+
"@jbrowse/plugin-authentication": "^4.1.1",
|
|
56
|
+
"@jbrowse/plugin-linear-genome-view": "^4.1.1",
|
|
57
|
+
"@mui/icons-material": "^7.3.7",
|
|
60
58
|
"@types/jsonpath": "^0.2.0",
|
|
61
59
|
"autosuggest-highlight": "^3.3.4",
|
|
62
60
|
"bson-objectid": "^2.0.4",
|
|
@@ -71,18 +69,38 @@
|
|
|
71
69
|
"tslib": "^2.3.1"
|
|
72
70
|
},
|
|
73
71
|
"devDependencies": {
|
|
74
|
-
"@
|
|
75
|
-
"@
|
|
72
|
+
"@babel/core": "^7.28.6",
|
|
73
|
+
"@babel/plugin-proposal-class-properties": "^7.18.6",
|
|
74
|
+
"@babel/preset-env": "^7.28.6",
|
|
75
|
+
"@jbrowse/cli": "^4.1.1",
|
|
76
|
+
"@jbrowse/core": "^4.1.1",
|
|
76
77
|
"@jbrowse/development-tools": "^2.2.1",
|
|
78
|
+
"@jbrowse/mobx-state-tree": "^5.5.0",
|
|
77
79
|
"@jest/globals": "^29.0.3",
|
|
78
|
-
"@mui/material": "^7.
|
|
80
|
+
"@mui/material": "^7.3.7",
|
|
79
81
|
"@mui/x-data-grid": "^8.0.0",
|
|
82
|
+
"@rollup/plugin-babel": "^6.1.0",
|
|
83
|
+
"@rollup/plugin-commonjs": "^29.0.0",
|
|
84
|
+
"@rollup/plugin-json": "^6.1.0",
|
|
85
|
+
"@rollup/plugin-node-resolve": "^16.0.3",
|
|
86
|
+
"@rollup/plugin-typescript": "^12.3.0",
|
|
80
87
|
"@types/autosuggest-highlight": "^3",
|
|
88
|
+
"@types/babel-plugin-macros": "^3",
|
|
89
|
+
"@types/babel__core": "^7",
|
|
90
|
+
"@types/babel__preset-env": "^7",
|
|
81
91
|
"@types/file-saver": "^2",
|
|
82
|
-
"@types/
|
|
92
|
+
"@types/lodash.merge": "^4",
|
|
93
|
+
"@types/node": "^24.10.9",
|
|
83
94
|
"@types/prop-types": "^15",
|
|
84
95
|
"@types/react": "^18.3.4",
|
|
85
96
|
"@types/react-dom": "^18",
|
|
97
|
+
"babel-plugin-annotate-pure-calls": "^0.5.0",
|
|
98
|
+
"babel-plugin-dev-expression": "^0.2.3",
|
|
99
|
+
"babel-plugin-macros": "^3.1.0",
|
|
100
|
+
"babel-plugin-polyfill-regenerator": "^0.6.6",
|
|
101
|
+
"babel-plugin-transform-rename-import": "^2.3.0",
|
|
102
|
+
"builtin-modules": "^5.0.0",
|
|
103
|
+
"chalk": "^5.6.2",
|
|
86
104
|
"cypress": "12.17.3",
|
|
87
105
|
"cypress-image-diff-html-report": "^2.2.0",
|
|
88
106
|
"cypress-image-diff-js": "^2.3.0",
|
|
@@ -90,31 +108,36 @@
|
|
|
90
108
|
"fake-indexeddb": "^4.0.2",
|
|
91
109
|
"jest": "^29.6.2",
|
|
92
110
|
"jest-fetch-mock": "^3.0.3",
|
|
111
|
+
"jest-util": "^30.2.0",
|
|
93
112
|
"librpc-web-mod": "^1.1.9",
|
|
113
|
+
"lodash.merge": "^4.6.2",
|
|
94
114
|
"mobx": "^6.6.1",
|
|
95
115
|
"mobx-react": "^7.2.1",
|
|
96
|
-
"mobx-state-tree": "^5.4.0",
|
|
97
116
|
"npm-run-all": "^4.1.5",
|
|
98
117
|
"prop-types": "^15.8.1",
|
|
99
118
|
"react": "^18.2.0",
|
|
100
119
|
"react-dom": "^18.2.0",
|
|
101
120
|
"rimraf": "^3.0.2",
|
|
102
|
-
"rollup": "^
|
|
121
|
+
"rollup": "^4.57.0",
|
|
122
|
+
"rollup-plugin-external-globals": "^0.13.0",
|
|
123
|
+
"rollup-plugin-polyfill-node": "^0.13.0",
|
|
124
|
+
"rollup-plugin-sourcemaps": "^0.6.3",
|
|
125
|
+
"rollup-plugin-terser": "^7.0.2",
|
|
103
126
|
"rxjs": "^7.4.0",
|
|
104
127
|
"serve": "^14.0.1",
|
|
105
128
|
"shx": "^0.3.3",
|
|
106
129
|
"start-server-and-test": "^1.11.7",
|
|
107
|
-
"ts-jest": "^29.
|
|
130
|
+
"ts-jest": "^29.4.6",
|
|
108
131
|
"ts-node": "^10.3.0",
|
|
109
132
|
"tss-react": "^4.6.1",
|
|
110
133
|
"typescript": "^5.5.3"
|
|
111
134
|
},
|
|
112
135
|
"peerDependencies": {
|
|
113
|
-
"@jbrowse/core": "^
|
|
114
|
-
"@
|
|
136
|
+
"@jbrowse/core": "^4.1.1",
|
|
137
|
+
"@jbrowse/mobx-state-tree": "^5.5.0",
|
|
138
|
+
"@mui/material": "^7.3.7",
|
|
115
139
|
"mobx": "^6.6.1",
|
|
116
140
|
"mobx-react": "^9.0.0",
|
|
117
|
-
"mobx-state-tree": "^5.4.0",
|
|
118
141
|
"prop-types": "^15.8.1",
|
|
119
142
|
"react": "^18.2.0",
|
|
120
143
|
"react-dom": "^18.2.0",
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/* eslint-disable @typescript-eslint/use-unknown-in-catch-callback-variable */
|
|
2
2
|
import { isAbortException } from '@jbrowse/core/util/aborting'
|
|
3
|
+
import { makeStyles } from '@jbrowse/core/util/tss-react'
|
|
3
4
|
import {
|
|
4
5
|
Button,
|
|
5
6
|
DialogActions,
|
|
@@ -8,7 +9,6 @@ import {
|
|
|
8
9
|
Divider,
|
|
9
10
|
} from '@mui/material'
|
|
10
11
|
import React, { useEffect, useState } from 'react'
|
|
11
|
-
import { makeStyles } from 'tss-react/mui'
|
|
12
12
|
|
|
13
13
|
import { Dialog } from '../../components/Dialog'
|
|
14
14
|
import { createFetchErrorMessage } from '../../util'
|
|
@@ -57,7 +57,12 @@ export const AuthTypeSelector = ({
|
|
|
57
57
|
}
|
|
58
58
|
})
|
|
59
59
|
return () => {
|
|
60
|
-
controller.abort(
|
|
60
|
+
controller.abort(
|
|
61
|
+
new DOMException(
|
|
62
|
+
'Error retrieving valid authentication types',
|
|
63
|
+
'AbortError',
|
|
64
|
+
),
|
|
65
|
+
)
|
|
61
66
|
}
|
|
62
67
|
}, [baseURL])
|
|
63
68
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import { makeStyles } from '@jbrowse/core/util/tss-react'
|
|
1
2
|
import AccountCircleIcon from '@mui/icons-material/AccountCircle'
|
|
2
3
|
import { Button, type ButtonProps } from '@mui/material'
|
|
3
4
|
import React from 'react'
|
|
4
|
-
import { makeStyles } from 'tss-react/mui'
|
|
5
5
|
|
|
6
6
|
import { Google, Microsoft } from './LoginIcons'
|
|
7
7
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ConfigurationSchema } from '@jbrowse/core/configuration'
|
|
2
2
|
import { BaseInternetAccountConfig } from '@jbrowse/core/pluggableElementTypes'
|
|
3
|
-
import {
|
|
3
|
+
import type { Instance } from '@jbrowse/mobx-state-tree'
|
|
4
4
|
|
|
5
5
|
const ApolloConfigSchema = ConfigurationSchema(
|
|
6
6
|
'ApolloInternetAccount',
|
|
@@ -22,17 +22,23 @@ import {
|
|
|
22
22
|
isAbstractMenuManager,
|
|
23
23
|
isElectron,
|
|
24
24
|
} from '@jbrowse/core/util'
|
|
25
|
+
import {
|
|
26
|
+
type Instance,
|
|
27
|
+
flow,
|
|
28
|
+
getRoot,
|
|
29
|
+
isAlive,
|
|
30
|
+
types,
|
|
31
|
+
} from '@jbrowse/mobx-state-tree'
|
|
25
32
|
import { autorun } from 'mobx'
|
|
26
|
-
import { type Instance, flow, getRoot, isAlive, types } from 'mobx-state-tree'
|
|
27
33
|
import { io } from 'socket.io-client'
|
|
28
34
|
|
|
29
35
|
import { addTopLevelAdminMenus } from '../menus/topLevelMenuAdmin'
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
36
|
+
import type { Collaborator } from '../session'
|
|
37
|
+
import type { ApolloRootModel } from '../types'
|
|
32
38
|
import { createFetchErrorMessage } from '../util'
|
|
33
39
|
|
|
34
40
|
import { AuthTypeSelector } from './components/AuthTypeSelector'
|
|
35
|
-
import {
|
|
41
|
+
import type { ApolloInternetAccountConfigModel } from './configSchema'
|
|
36
42
|
|
|
37
43
|
type AuthType = 'google' | 'microsoft' | 'guest'
|
|
38
44
|
|
|
@@ -101,7 +107,6 @@ const stateModelFactory = (configSchema: ApolloInternetAccountConfigModel) => {
|
|
|
101
107
|
if (
|
|
102
108
|
event.data.name !== `JBrowseAuthWindow-${self.internetAccountId}`
|
|
103
109
|
) {
|
|
104
|
-
this.deleteMessageChannel()
|
|
105
110
|
return
|
|
106
111
|
}
|
|
107
112
|
const redirectUriWithInfo = event.data.redirectUri
|
|
@@ -503,7 +508,9 @@ const stateModelFactory = (configSchema: ApolloInternetAccountConfigModel) => {
|
|
|
503
508
|
beforeDestroy() {
|
|
504
509
|
self.removeBeforeUnloadListener()
|
|
505
510
|
self.removeVisibilityChangeListener()
|
|
506
|
-
self.controller.abort(
|
|
511
|
+
self.controller.abort(
|
|
512
|
+
new DOMException('Cleaning up Apollo connection', 'AbortError'),
|
|
513
|
+
)
|
|
507
514
|
self.socket.close()
|
|
508
515
|
},
|
|
509
516
|
}))
|
package/src/ApolloJobModel.ts
CHANGED
|
@@ -5,15 +5,15 @@ import {
|
|
|
5
5
|
getSession,
|
|
6
6
|
isSessionModelWithWidgets,
|
|
7
7
|
} from '@jbrowse/core/util'
|
|
8
|
-
import { types } from 'mobx-state-tree'
|
|
8
|
+
import { types } from '@jbrowse/mobx-state-tree'
|
|
9
9
|
|
|
10
|
-
interface JobsEntry {
|
|
10
|
+
export interface JobsEntry {
|
|
11
11
|
name: string
|
|
12
12
|
cancelCallback?: () => void
|
|
13
13
|
progressPct?: number
|
|
14
14
|
statusMessage?: string
|
|
15
15
|
}
|
|
16
|
-
interface JobsListModel {
|
|
16
|
+
export interface JobsListModel {
|
|
17
17
|
id: number
|
|
18
18
|
type: 'JobsListWidget'
|
|
19
19
|
jobs: JobsEntry[]
|
|
@@ -6,9 +6,9 @@ import {
|
|
|
6
6
|
import type RpcServer from 'librpc-web-mod/dist/server'
|
|
7
7
|
import { nanoid } from 'nanoid'
|
|
8
8
|
|
|
9
|
-
import {
|
|
9
|
+
import type { ApolloSessionModel } from '../session'
|
|
10
10
|
|
|
11
|
-
import {
|
|
11
|
+
import type { RefNameAliases } from './../BackendDrivers/BackendDriver'
|
|
12
12
|
|
|
13
13
|
declare global {
|
|
14
14
|
const rpcServer: RpcServer
|
|
@@ -7,10 +7,10 @@ import { readConfObject } from '@jbrowse/core/configuration'
|
|
|
7
7
|
import { BaseSequenceAdapter } from '@jbrowse/core/data_adapters/BaseAdapter'
|
|
8
8
|
import { ObservableCreate } from '@jbrowse/core/util/rxjs'
|
|
9
9
|
import SimpleFeature, { type Feature } from '@jbrowse/core/util/simpleFeature'
|
|
10
|
-
import {
|
|
10
|
+
import type { NoAssemblyRegion, Region } from '@jbrowse/core/util/types'
|
|
11
11
|
import { nanoid } from 'nanoid'
|
|
12
12
|
|
|
13
|
-
import {
|
|
13
|
+
import type { ApolloSessionModel } from '../session'
|
|
14
14
|
|
|
15
15
|
// declare global {
|
|
16
16
|
// var rpcServer: import('librpc-web-mod').RpcServer
|
|
@@ -1,15 +1,36 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { AnnotationFeatureSnapshot } from '@apollo-annotation/mst'
|
|
2
2
|
import BaseResult from '@jbrowse/core/TextSearch/BaseResults'
|
|
3
|
-
import {
|
|
3
|
+
import type { Assembly } from '@jbrowse/core/assemblyManager/assembly'
|
|
4
4
|
import { readConfObject } from '@jbrowse/core/configuration'
|
|
5
5
|
import {
|
|
6
6
|
BaseAdapter,
|
|
7
7
|
type BaseTextSearchAdapter,
|
|
8
8
|
type BaseTextSearchArgs,
|
|
9
9
|
} from '@jbrowse/core/data_adapters/BaseAdapter'
|
|
10
|
-
import {
|
|
10
|
+
import type { AbstractSessionModel, UriLocation } from '@jbrowse/core/util'
|
|
11
11
|
|
|
12
|
-
import {
|
|
12
|
+
import type { ApolloSessionModel } from '../session'
|
|
13
|
+
|
|
14
|
+
function getMatchedFeature(
|
|
15
|
+
query: string,
|
|
16
|
+
feature: AnnotationFeatureSnapshot,
|
|
17
|
+
): AnnotationFeatureSnapshot | undefined {
|
|
18
|
+
// @ts-expect-error this actually has a bit more info that a plain snapshot
|
|
19
|
+
const { children, indexedIds, ...featureWithoutChildren } = feature
|
|
20
|
+
const featureString = JSON.stringify(featureWithoutChildren)
|
|
21
|
+
if (featureString.includes(query)) {
|
|
22
|
+
return feature
|
|
23
|
+
}
|
|
24
|
+
if (!children) {
|
|
25
|
+
return undefined
|
|
26
|
+
}
|
|
27
|
+
for (const subFeature of Object.values(children)) {
|
|
28
|
+
const matchedFeature = getMatchedFeature(query, subFeature)
|
|
29
|
+
if (matchedFeature) {
|
|
30
|
+
return matchedFeature
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
13
34
|
|
|
14
35
|
export class ApolloTextSearchAdapter
|
|
15
36
|
extends BaseAdapter
|
|
@@ -33,11 +54,13 @@ export class ApolloTextSearchAdapter
|
|
|
33
54
|
query: string,
|
|
34
55
|
) {
|
|
35
56
|
return features.map((feature) => {
|
|
57
|
+
const matchedObject = getMatchedFeature(query, feature) ?? feature
|
|
36
58
|
const refName = assembly.getCanonicalRefName(feature.refSeq)
|
|
37
59
|
return new BaseResult({
|
|
38
60
|
label: query,
|
|
39
61
|
trackId: this.trackId,
|
|
40
|
-
locString: `${refName}:${
|
|
62
|
+
locString: `${refName}:${matchedObject.min + 1}..${matchedObject.max}`,
|
|
63
|
+
matchedObject,
|
|
41
64
|
})
|
|
42
65
|
})
|
|
43
66
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import type { Change, ClientDataStore } from '@apollo-annotation/common'
|
|
2
|
+
import type {
|
|
3
|
+
AnnotationFeatureSnapshot,
|
|
4
|
+
CheckResultSnapshot,
|
|
5
5
|
} from '@apollo-annotation/mst'
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
6
|
+
import type { ValidationResultSet } from '@apollo-annotation/shared'
|
|
7
|
+
import type { Assembly } from '@jbrowse/core/assemblyManager/assembly'
|
|
8
|
+
import type { Region } from '@jbrowse/core/util'
|
|
9
9
|
|
|
10
|
-
import {
|
|
10
|
+
import type { SubmitOpts } from '../ChangeManager'
|
|
11
11
|
|
|
12
12
|
export interface RefNameAliases {
|
|
13
13
|
refName: string
|
|
@@ -10,10 +10,10 @@ import {
|
|
|
10
10
|
type FeatureChange,
|
|
11
11
|
isFeatureChange,
|
|
12
12
|
} from '@apollo-annotation/common'
|
|
13
|
-
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
13
|
+
import type {
|
|
14
|
+
AnnotationFeatureSnapshot,
|
|
15
|
+
ApolloRefSeqI,
|
|
16
|
+
CheckResultSnapshot,
|
|
17
17
|
} from '@apollo-annotation/mst'
|
|
18
18
|
import {
|
|
19
19
|
type ChangeMessage,
|
|
@@ -21,9 +21,9 @@ import {
|
|
|
21
21
|
makeUserSessionId,
|
|
22
22
|
} from '@apollo-annotation/shared'
|
|
23
23
|
import { getConf } from '@jbrowse/core/configuration'
|
|
24
|
-
import {
|
|
24
|
+
import type { BaseInternetAccountModel } from '@jbrowse/core/pluggableElementTypes'
|
|
25
25
|
import { type Region, getSession } from '@jbrowse/core/util'
|
|
26
|
-
import {
|
|
26
|
+
import type { Socket } from 'socket.io-client'
|
|
27
27
|
|
|
28
28
|
import { ChangeManager, type SubmitOpts } from '../ChangeManager'
|
|
29
29
|
import { createFetchErrorMessage } from '../util'
|
|
@@ -4,9 +4,9 @@ import {
|
|
|
4
4
|
type Change,
|
|
5
5
|
isAssemblySpecificChange,
|
|
6
6
|
} from '@apollo-annotation/common'
|
|
7
|
-
import {
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
import type {
|
|
8
|
+
AnnotationFeatureSnapshot,
|
|
9
|
+
CheckResultSnapshot,
|
|
10
10
|
} from '@apollo-annotation/mst'
|
|
11
11
|
import {
|
|
12
12
|
ValidationResultSet,
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
import { type GFF3Item, formatSync } from '@gmod/gff'
|
|
17
17
|
import { getConf } from '@jbrowse/core/configuration'
|
|
18
18
|
import { type Region, getSession } from '@jbrowse/core/util'
|
|
19
|
-
import { getSnapshot } from 'mobx-state-tree'
|
|
19
|
+
import { getSnapshot } from '@jbrowse/mobx-state-tree'
|
|
20
20
|
|
|
21
21
|
import { checkFeatures, loadAssemblyIntoClient } from '../util'
|
|
22
22
|
|
|
@@ -1,17 +1,14 @@
|
|
|
1
1
|
/* eslint-disable @typescript-eslint/require-await */
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
import {
|
|
7
|
-
type AnnotationFeatureSnapshot,
|
|
8
|
-
type CheckResultSnapshot,
|
|
2
|
+
import type { AssemblySpecificChange, Change } from '@apollo-annotation/common'
|
|
3
|
+
import type {
|
|
4
|
+
AnnotationFeatureSnapshot,
|
|
5
|
+
CheckResultSnapshot,
|
|
9
6
|
} from '@apollo-annotation/mst'
|
|
10
7
|
import { ValidationResultSet } from '@apollo-annotation/shared'
|
|
11
8
|
import { getConf } from '@jbrowse/core/configuration'
|
|
12
9
|
import { type Region, getSession } from '@jbrowse/core/util'
|
|
13
10
|
|
|
14
|
-
import {
|
|
11
|
+
import type { SubmitOpts } from '../ChangeManager'
|
|
15
12
|
import { checkFeatures } from '../util'
|
|
16
13
|
|
|
17
14
|
import { BackendDriver, type RefNameAliases } from './BackendDriver'
|