@jbrowse/plugin-linear-genome-view 4.3.0 → 5.0.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm/FeatureTrack/configSchema.d.ts +104 -65
- package/esm/FeatureTrack/configSchema.js +47 -1
- package/esm/FeatureTrack/index.js +1 -1
- package/esm/LaunchLinearGenomeView/index.d.ts +14 -0
- package/esm/LaunchLinearGenomeView/index.js +6 -12
- package/esm/LinearGenomeView/afterAttach.d.ts +20 -2
- package/esm/LinearGenomeView/afterAttach.js +250 -121
- package/esm/LinearGenomeView/components/CenterLine.d.ts +1 -1
- package/esm/LinearGenomeView/components/CenterLine.js +16 -7
- package/esm/LinearGenomeView/components/ConnectedHoverHighlight.d.ts +7 -0
- package/esm/LinearGenomeView/components/ConnectedHoverHighlight.js +22 -0
- package/esm/LinearGenomeView/components/CrisprGuidePanel.d.ts +3 -0
- package/esm/LinearGenomeView/components/CrisprGuidePanel.js +144 -0
- package/esm/LinearGenomeView/components/Cytobands.d.ts +6 -6
- package/esm/LinearGenomeView/components/Cytobands.js +76 -53
- package/esm/LinearGenomeView/components/ExportSvgDialog.d.ts +7 -3
- package/esm/LinearGenomeView/components/ExportSvgDialog.js +11 -67
- package/esm/LinearGenomeView/components/GetSequenceDialog.d.ts +5 -9
- package/esm/LinearGenomeView/components/GetSequenceDialog.js +84 -88
- package/esm/LinearGenomeView/components/Gridlines.d.ts +1 -1
- package/esm/LinearGenomeView/components/Gridlines.js +29 -58
- package/esm/LinearGenomeView/components/Header.d.ts +1 -1
- package/esm/LinearGenomeView/components/Header.js +32 -16
- package/esm/LinearGenomeView/components/HeaderClearHighlightButton.d.ts +21 -0
- package/esm/LinearGenomeView/components/HeaderClearHighlightButton.js +35 -0
- package/esm/LinearGenomeView/components/HeaderPanControls.d.ts +3 -2
- package/esm/LinearGenomeView/components/HeaderPanControls.js +16 -7
- package/esm/LinearGenomeView/components/HeaderRegionWidth.d.ts +1 -1
- package/esm/LinearGenomeView/components/HeaderRegionWidth.js +9 -6
- package/esm/LinearGenomeView/components/HeaderSearchBoxRow.d.ts +6 -0
- package/esm/LinearGenomeView/components/HeaderSearchBoxRow.js +27 -0
- package/esm/LinearGenomeView/components/HeaderSearchBoxes.d.ts +5 -0
- package/esm/LinearGenomeView/components/HeaderSearchBoxes.js +28 -0
- package/esm/LinearGenomeView/components/HeaderTrackSelectorButton.d.ts +3 -2
- package/esm/LinearGenomeView/components/HeaderTrackSelectorButton.js +11 -4
- package/esm/LinearGenomeView/components/HeaderZoomControls.d.ts +3 -2
- package/esm/LinearGenomeView/components/HeaderZoomControls.js +67 -51
- package/esm/LinearGenomeView/components/Highlight.d.ts +1 -1
- package/esm/LinearGenomeView/components/Highlight.js +19 -23
- package/esm/LinearGenomeView/components/HighlightBand.d.ts +3 -2
- package/esm/LinearGenomeView/components/HighlightBand.js +25 -8
- package/esm/LinearGenomeView/components/HighlightChip.d.ts +9 -0
- package/esm/LinearGenomeView/components/HighlightChip.js +15 -0
- package/esm/LinearGenomeView/components/HoverPositionHighlight.d.ts +12 -0
- package/esm/LinearGenomeView/components/HoverPositionHighlight.js +25 -0
- package/esm/LinearGenomeView/components/ImportForm.d.ts +3 -4
- package/esm/LinearGenomeView/components/ImportForm.js +95 -61
- package/esm/LinearGenomeView/components/LinearGenomeView.d.ts +1 -1
- package/esm/LinearGenomeView/components/LinearGenomeView.js +6 -5
- package/esm/LinearGenomeView/components/LinearGenomeViewContainer.d.ts +1 -1
- package/esm/LinearGenomeView/components/LinearGenomeViewContainer.js +89 -30
- package/esm/LinearGenomeView/components/MiniControls.d.ts +1 -1
- package/esm/LinearGenomeView/components/MiniControls.js +13 -10
- package/esm/LinearGenomeView/components/MotifListPanel.d.ts +3 -0
- package/esm/LinearGenomeView/components/MotifListPanel.js +59 -0
- package/esm/LinearGenomeView/components/NavigationAnnouncer.d.ts +32 -0
- package/esm/LinearGenomeView/components/NavigationAnnouncer.js +51 -0
- package/esm/LinearGenomeView/components/NoTracksActiveButton.d.ts +1 -1
- package/esm/LinearGenomeView/components/NoTracksActiveButton.js +1 -1
- package/esm/LinearGenomeView/components/OverviewHighlight.d.ts +2 -4
- package/esm/LinearGenomeView/components/OverviewHighlight.js +23 -44
- package/esm/LinearGenomeView/components/OverviewHighlightBand.d.ts +9 -0
- package/esm/LinearGenomeView/components/OverviewHighlightBand.js +26 -0
- package/esm/LinearGenomeView/components/OverviewRubberband.d.ts +3 -3
- package/esm/LinearGenomeView/components/OverviewRubberband.js +44 -57
- package/esm/LinearGenomeView/components/OverviewRubberbandHoverTooltip.d.ts +4 -5
- package/esm/LinearGenomeView/components/OverviewRubberbandHoverTooltip.js +13 -20
- package/esm/LinearGenomeView/components/OverviewScalebar.d.ts +3 -2
- package/esm/LinearGenomeView/components/OverviewScalebar.js +84 -79
- package/esm/LinearGenomeView/components/OverviewScalebarPolygon.d.ts +19 -5
- package/esm/LinearGenomeView/components/OverviewScalebarPolygon.js +55 -32
- package/esm/LinearGenomeView/components/OverviewScalebarTickLabels.d.ts +4 -5
- package/esm/LinearGenomeView/components/OverviewScalebarTickLabels.js +16 -18
- package/esm/LinearGenomeView/components/PaddingBlocks.d.ts +7 -0
- package/esm/LinearGenomeView/components/PaddingBlocks.js +61 -0
- package/esm/LinearGenomeView/components/RangeSelectOverlay.d.ts +9 -0
- package/esm/LinearGenomeView/components/RangeSelectOverlay.js +20 -0
- package/esm/LinearGenomeView/components/RegionWidthEditorDialog.d.ts +2 -3
- package/esm/LinearGenomeView/components/RegionWidthEditorDialog.js +19 -26
- package/esm/LinearGenomeView/components/Rubberband.d.ts +1 -1
- package/esm/LinearGenomeView/components/Rubberband.js +13 -16
- package/esm/LinearGenomeView/components/SVGHighlightBand.d.ts +10 -0
- package/esm/LinearGenomeView/components/SVGHighlightBand.js +9 -0
- package/esm/LinearGenomeView/components/Scalebar.d.ts +2 -2
- package/esm/LinearGenomeView/components/Scalebar.js +16 -21
- package/esm/LinearGenomeView/components/ScalebarCoordinateLabels.d.ts +1 -1
- package/esm/LinearGenomeView/components/ScalebarCoordinateLabels.js +54 -35
- package/esm/LinearGenomeView/components/ScalebarRefNameLabels.d.ts +1 -1
- package/esm/LinearGenomeView/components/ScalebarRefNameLabels.js +142 -126
- package/esm/LinearGenomeView/components/SearchBox.d.ts +22 -2
- package/esm/LinearGenomeView/components/SearchBox.js +58 -66
- package/esm/LinearGenomeView/components/SearchPanelForm.d.ts +9 -0
- package/esm/LinearGenomeView/components/SearchPanelForm.js +18 -0
- package/esm/LinearGenomeView/components/SearchResultsDialog.d.ts +3 -3
- package/esm/LinearGenomeView/components/SearchResultsDialog.js +5 -7
- package/esm/LinearGenomeView/components/SearchResultsTable.d.ts +4 -3
- package/esm/LinearGenomeView/components/SearchResultsTable.js +45 -53
- package/esm/LinearGenomeView/components/SequenceFeatureHoverHighlight.d.ts +5 -0
- package/esm/LinearGenomeView/components/SequenceFeatureHoverHighlight.js +37 -0
- package/esm/LinearGenomeView/components/SequenceFeatureHoverHighlightExtension.d.ts +2 -0
- package/esm/LinearGenomeView/components/SequenceFeatureHoverHighlightExtension.js +5 -0
- package/esm/LinearGenomeView/components/SequencePatternPanel.d.ts +3 -0
- package/esm/LinearGenomeView/components/SequencePatternPanel.js +42 -0
- package/esm/LinearGenomeView/components/SequenceSearchDialog.d.ts +2 -2
- package/esm/LinearGenomeView/components/SequenceSearchDialog.js +31 -53
- package/esm/LinearGenomeView/components/StrandCheckboxes.d.ts +8 -0
- package/esm/LinearGenomeView/components/StrandCheckboxes.js +13 -0
- package/esm/LinearGenomeView/components/TrackContainer.d.ts +1 -1
- package/esm/LinearGenomeView/components/TrackContainer.js +83 -39
- package/esm/LinearGenomeView/components/TrackLabel.d.ts +2 -3
- package/esm/LinearGenomeView/components/TrackLabel.js +11 -24
- package/esm/LinearGenomeView/components/TrackLabelButtons.d.ts +7 -0
- package/esm/LinearGenomeView/components/TrackLabelButtons.js +33 -0
- package/esm/LinearGenomeView/components/TrackLabelDragHandle.d.ts +2 -5
- package/esm/LinearGenomeView/components/TrackLabelDragHandle.js +6 -2
- package/esm/LinearGenomeView/components/TrackLabelMenu.d.ts +1 -1
- package/esm/LinearGenomeView/components/TrackLabelMenu.js +32 -85
- package/esm/LinearGenomeView/components/TrackLabelRefNameWarning.d.ts +22 -0
- package/esm/LinearGenomeView/components/TrackLabelRefNameWarning.js +46 -0
- package/esm/LinearGenomeView/components/TrackRenderingContainer.d.ts +1 -1
- package/esm/LinearGenomeView/components/TrackRenderingContainer.js +72 -18
- package/esm/LinearGenomeView/components/TracksContainer.d.ts +1 -1
- package/esm/LinearGenomeView/components/TracksContainer.js +65 -32
- package/esm/LinearGenomeView/components/VerticalGuide.d.ts +1 -1
- package/esm/LinearGenomeView/components/VerticalGuide.js +6 -13
- package/esm/LinearGenomeView/components/ZoomButton.d.ts +7 -0
- package/esm/LinearGenomeView/components/ZoomButton.js +27 -0
- package/esm/LinearGenomeView/components/ZoomTransform.d.ts +9 -0
- package/esm/LinearGenomeView/components/ZoomTransform.js +37 -0
- package/esm/LinearGenomeView/components/defaultMotifs.d.ts +1 -0
- package/esm/LinearGenomeView/components/defaultMotifs.js +22 -0
- package/esm/LinearGenomeView/components/fetchSequence.d.ts +7 -8
- package/esm/LinearGenomeView/components/fetchSequence.js +17 -9
- package/esm/LinearGenomeView/components/recentLocationsMenu.d.ts +15 -0
- package/esm/LinearGenomeView/components/recentLocationsMenu.js +36 -0
- package/esm/LinearGenomeView/components/searchModes.d.ts +13 -0
- package/esm/LinearGenomeView/components/searchModes.js +22 -0
- package/esm/LinearGenomeView/components/trackLabelMenuItems.d.ts +7 -0
- package/esm/LinearGenomeView/components/trackLabelMenuItems.js +67 -0
- package/esm/LinearGenomeView/components/useRangeSelect.d.ts +11 -66
- package/esm/LinearGenomeView/components/useRangeSelect.js +82 -91
- package/esm/LinearGenomeView/components/useSearchBoxPrefs.d.ts +26 -0
- package/esm/LinearGenomeView/components/useSearchBoxPrefs.js +58 -0
- package/esm/LinearGenomeView/components/useSideScroll.d.ts +1 -1
- package/esm/LinearGenomeView/components/useSideScroll.js +87 -19
- package/esm/LinearGenomeView/components/util.d.ts +20 -6
- package/esm/LinearGenomeView/components/util.js +27 -6
- package/esm/LinearGenomeView/consts.d.ts +7 -2
- package/esm/LinearGenomeView/consts.js +18 -2
- package/esm/LinearGenomeView/flyTo.d.ts +38 -0
- package/esm/LinearGenomeView/flyTo.js +135 -0
- package/esm/LinearGenomeView/headerFit.d.ts +27 -0
- package/esm/LinearGenomeView/headerFit.js +59 -0
- package/esm/LinearGenomeView/index.d.ts +32 -2
- package/esm/LinearGenomeView/index.js +16 -6
- package/esm/LinearGenomeView/initKeys.d.ts +12 -0
- package/esm/LinearGenomeView/initKeys.js +68 -0
- package/esm/LinearGenomeView/keyboardHandler.d.ts +7 -0
- package/esm/LinearGenomeView/keyboardHandler.js +10 -0
- package/esm/LinearGenomeView/launchKeys.d.ts +2 -0
- package/esm/LinearGenomeView/launchKeys.js +23 -0
- package/esm/LinearGenomeView/lazyDialogs.d.ts +7 -11
- package/esm/LinearGenomeView/lazyDialogs.js +3 -3
- package/esm/LinearGenomeView/linkedViewSync.d.ts +20 -0
- package/esm/LinearGenomeView/linkedViewSync.js +58 -0
- package/esm/LinearGenomeView/menuItems.d.ts +27 -2
- package/esm/LinearGenomeView/menuItems.js +137 -101
- package/esm/LinearGenomeView/model.d.ts +3238 -136
- package/esm/LinearGenomeView/model.js +2425 -528
- package/esm/LinearGenomeView/sharedScaleContainer.d.ts +18 -0
- package/esm/LinearGenomeView/sharedScaleContainer.js +17 -0
- package/esm/LinearGenomeView/showRegionsWithUndo.d.ts +35 -0
- package/esm/LinearGenomeView/showRegionsWithUndo.js +44 -0
- package/esm/LinearGenomeView/stickyChrome.d.ts +19 -0
- package/esm/LinearGenomeView/stickyChrome.js +30 -0
- package/esm/LinearGenomeView/svgcomponents/SVGGridlines.d.ts +1 -1
- package/esm/LinearGenomeView/svgcomponents/SVGGridlines.js +15 -16
- package/esm/LinearGenomeView/svgcomponents/SVGHeader.d.ts +2 -3
- package/esm/LinearGenomeView/svgcomponents/SVGHeader.js +45 -33
- package/esm/LinearGenomeView/svgcomponents/SVGHighlights.d.ts +5 -0
- package/esm/LinearGenomeView/svgcomponents/SVGHighlights.js +26 -0
- package/esm/LinearGenomeView/svgcomponents/SVGHighlightsOverlay.d.ts +5 -0
- package/esm/LinearGenomeView/svgcomponents/SVGHighlightsOverlay.js +13 -0
- package/esm/LinearGenomeView/svgcomponents/SVGLinearGenomeView.d.ts +1 -3
- package/esm/LinearGenomeView/svgcomponents/SVGLinearGenomeView.js +77 -41
- package/esm/LinearGenomeView/svgcomponents/SVGRegionSeparators.d.ts +1 -1
- package/esm/LinearGenomeView/svgcomponents/SVGRegionSeparators.js +23 -3
- package/esm/LinearGenomeView/svgcomponents/SVGRowHeader.d.ts +8 -0
- package/esm/LinearGenomeView/svgcomponents/SVGRowHeader.js +37 -0
- package/esm/LinearGenomeView/svgcomponents/SVGRuler.d.ts +3 -3
- package/esm/LinearGenomeView/svgcomponents/SVGRuler.js +64 -36
- package/esm/LinearGenomeView/svgcomponents/SVGScalebar.d.ts +1 -1
- package/esm/LinearGenomeView/svgcomponents/SVGScalebar.js +7 -5
- package/esm/LinearGenomeView/svgcomponents/SVGTrackLabel.d.ts +5 -3
- package/esm/LinearGenomeView/svgcomponents/SVGTrackLabel.js +43 -7
- package/esm/LinearGenomeView/svgcomponents/SVGTracks.d.ts +8 -14
- package/esm/LinearGenomeView/svgcomponents/SVGTracks.js +16 -21
- package/esm/LinearGenomeView/svgcomponents/SVGView.d.ts +18 -0
- package/esm/LinearGenomeView/svgcomponents/SVGView.js +13 -0
- package/esm/LinearGenomeView/svgcomponents/figureContract.d.ts +45 -0
- package/esm/LinearGenomeView/svgcomponents/figureContract.js +130 -0
- package/esm/LinearGenomeView/svgcomponents/renderViewTracks.d.ts +76 -0
- package/esm/LinearGenomeView/svgcomponents/renderViewTracks.js +66 -0
- package/esm/LinearGenomeView/svgcomponents/useViewSvgFigure.d.ts +70 -0
- package/esm/LinearGenomeView/svgcomponents/useViewSvgFigure.js +263 -0
- package/esm/LinearGenomeView/svgcomponents/util.d.ts +92 -5
- package/esm/LinearGenomeView/svgcomponents/util.js +236 -3
- package/esm/LinearGenomeView/types.d.ts +17 -31
- package/esm/LinearGenomeView/types.js +1 -0
- package/esm/LinearGenomeView/util.d.ts +332 -12
- package/esm/LinearGenomeView/util.js +606 -62
- package/esm/MultiLevelRubberband/MultiLevelRubberband.d.ts +6 -0
- package/esm/MultiLevelRubberband/MultiLevelRubberband.js +37 -0
- package/esm/MultiLevelRubberband/VerticalGuide.d.ts +6 -0
- package/esm/MultiLevelRubberband/VerticalGuide.js +21 -0
- package/esm/MultiLevelRubberband/index.d.ts +2 -0
- package/esm/MultiLevelRubberband/index.js +1 -0
- package/esm/MultiLevelRubberband/types.d.ts +6 -0
- package/esm/MultiLevelRubberband/useRangeSelect.d.ts +24 -0
- package/esm/MultiLevelRubberband/useRangeSelect.js +136 -0
- package/esm/displayKitTests/perRegionTestEnv.d.ts +1286 -0
- package/esm/displayKitTests/perRegionTestEnv.js +138 -0
- package/esm/index.d.ts +122 -1235
- package/esm/index.js +101 -24
- package/esm/lazyPluginExports.d.ts +23 -0
- package/esm/lazyPluginExports.js +36 -0
- package/esm/searchUtils.d.ts +55 -11
- package/esm/searchUtils.js +342 -45
- package/esm/shared/RubberbandSpan.d.ts +15 -0
- package/esm/shared/RubberbandSpan.js +33 -0
- package/esm/shared/coordLabels.d.ts +40 -0
- package/esm/shared/coordLabels.js +119 -0
- package/package.json +18 -19
- package/esm/BaseLinearDisplay/SVGLegend.d.ts +0 -6
- package/esm/BaseLinearDisplay/SVGLegend.js +0 -17
- package/esm/BaseLinearDisplay/calculateSvgLegendWidth.d.ts +0 -2
- package/esm/BaseLinearDisplay/calculateSvgLegendWidth.js +0 -11
- package/esm/BaseLinearDisplay/components/BaseLinearDisplay.d.ts +0 -8
- package/esm/BaseLinearDisplay/components/BaseLinearDisplay.js +0 -53
- package/esm/BaseLinearDisplay/components/Block.d.ts +0 -14
- package/esm/BaseLinearDisplay/components/Block.js +0 -45
- package/esm/BaseLinearDisplay/components/BlockErrorMessage.d.ts +0 -7
- package/esm/BaseLinearDisplay/components/BlockErrorMessage.js +0 -22
- package/esm/BaseLinearDisplay/components/BlockMsg.d.ts +0 -6
- package/esm/BaseLinearDisplay/components/BlockMsg.js +0 -26
- package/esm/BaseLinearDisplay/components/CollapseIntronsDialog/CollapseIntronsDialog.d.ts +0 -9
- package/esm/BaseLinearDisplay/components/CollapseIntronsDialog/CollapseIntronsDialog.js +0 -42
- package/esm/BaseLinearDisplay/components/CollapseIntronsDialog/TranscriptTable.d.ts +0 -11
- package/esm/BaseLinearDisplay/components/CollapseIntronsDialog/TranscriptTable.js +0 -40
- package/esm/BaseLinearDisplay/components/CollapseIntronsDialog/util.d.ts +0 -19
- package/esm/BaseLinearDisplay/components/CollapseIntronsDialog/util.js +0 -45
- package/esm/BaseLinearDisplay/components/FloatingLabels.d.ts +0 -5
- package/esm/BaseLinearDisplay/components/FloatingLabels.js +0 -75
- package/esm/BaseLinearDisplay/components/FloatingLegend.d.ts +0 -8
- package/esm/BaseLinearDisplay/components/FloatingLegend.js +0 -43
- package/esm/BaseLinearDisplay/components/LinearBlocks.d.ts +0 -5
- package/esm/BaseLinearDisplay/components/LinearBlocks.js +0 -23
- package/esm/BaseLinearDisplay/components/LoadingOverlay.d.ts +0 -5
- package/esm/BaseLinearDisplay/components/LoadingOverlay.js +0 -49
- package/esm/BaseLinearDisplay/components/MaxHeightReachedIndicator.d.ts +0 -4
- package/esm/BaseLinearDisplay/components/MaxHeightReachedIndicator.js +0 -26
- package/esm/BaseLinearDisplay/components/MenuPage.d.ts +0 -8
- package/esm/BaseLinearDisplay/components/MenuPage.js +0 -24
- package/esm/BaseLinearDisplay/components/NonBlockCanvasDisplayComponent.d.ts +0 -21
- package/esm/BaseLinearDisplay/components/NonBlockCanvasDisplayComponent.js +0 -52
- package/esm/BaseLinearDisplay/components/RenderedBlocks.d.ts +0 -12
- package/esm/BaseLinearDisplay/components/RenderedBlocks.js +0 -22
- package/esm/BaseLinearDisplay/components/ServerSideRenderedBlockContent.d.ts +0 -12
- package/esm/BaseLinearDisplay/components/ServerSideRenderedBlockContent.js +0 -18
- package/esm/BaseLinearDisplay/components/TooLargeMessage.d.ts +0 -10
- package/esm/BaseLinearDisplay/components/TooLargeMessage.js +0 -20
- package/esm/BaseLinearDisplay/components/Tooltip.d.ts +0 -13
- package/esm/BaseLinearDisplay/components/Tooltip.js +0 -22
- package/esm/BaseLinearDisplay/components/types.d.ts +0 -1
- package/esm/BaseLinearDisplay/components/util.d.ts +0 -21
- package/esm/BaseLinearDisplay/components/util.js +0 -107
- package/esm/BaseLinearDisplay/index.d.ts +0 -17
- package/esm/BaseLinearDisplay/index.js +0 -13
- package/esm/BaseLinearDisplay/model.d.ts +0 -1197
- package/esm/BaseLinearDisplay/model.js +0 -432
- package/esm/BaseLinearDisplay/models/FeatureDensityMixin.d.ts +0 -32
- package/esm/BaseLinearDisplay/models/FeatureDensityMixin.js +0 -113
- package/esm/BaseLinearDisplay/models/NonBlockCanvasDisplayMixin.d.ts +0 -26
- package/esm/BaseLinearDisplay/models/NonBlockCanvasDisplayMixin.js +0 -57
- package/esm/BaseLinearDisplay/models/SvgFloatingLabels.d.ts +0 -8
- package/esm/BaseLinearDisplay/models/SvgFloatingLabels.js +0 -19
- package/esm/BaseLinearDisplay/models/TrackHeightMixin.d.ts +0 -11
- package/esm/BaseLinearDisplay/models/TrackHeightMixin.js +0 -31
- package/esm/BaseLinearDisplay/models/autorunFeatureDensityStats.d.ts +0 -2
- package/esm/BaseLinearDisplay/models/autorunFeatureDensityStats.js +0 -29
- package/esm/BaseLinearDisplay/models/configSchema.d.ts +0 -29
- package/esm/BaseLinearDisplay/models/configSchema.js +0 -33
- package/esm/BaseLinearDisplay/models/serverSideRenderedBlock.d.ts +0 -98
- package/esm/BaseLinearDisplay/models/serverSideRenderedBlock.js +0 -242
- package/esm/BaseLinearDisplay/models/util.d.ts +0 -9
- package/esm/BaseLinearDisplay/models/util.js +0 -43
- package/esm/BaseLinearDisplay/renderSvg.d.ts +0 -3
- package/esm/BaseLinearDisplay/renderSvg.js +0 -63
- package/esm/BaseLinearDisplay/types.d.ts +0 -43
- package/esm/BaseLinearDisplay/types.js +0 -3
- package/esm/BaseLinearDisplay/util.d.ts +0 -16
- package/esm/BaseLinearDisplay/util.js +0 -71
- package/esm/BasicTrack/configSchema.d.ts +0 -85
- package/esm/BasicTrack/configSchema.js +0 -8
- package/esm/BasicTrack/index.d.ts +0 -2
- package/esm/BasicTrack/index.js +0 -12
- package/esm/LinearBareDisplay/configSchema.d.ts +0 -32
- package/esm/LinearBareDisplay/configSchema.js +0 -11
- package/esm/LinearBareDisplay/index.d.ts +0 -4
- package/esm/LinearBareDisplay/index.js +0 -20
- package/esm/LinearBareDisplay/model.d.ts +0 -1196
- package/esm/LinearBareDisplay/model.js +0 -32
- package/esm/LinearBasicDisplay/components/LinearBasicDisplayComponent.d.ts +0 -5
- package/esm/LinearBasicDisplay/components/LinearBasicDisplayComponent.js +0 -9
- package/esm/LinearBasicDisplay/configSchema.d.ts +0 -32
- package/esm/LinearBasicDisplay/configSchema.js +0 -11
- package/esm/LinearBasicDisplay/index.d.ts +0 -4
- package/esm/LinearBasicDisplay/index.js +0 -20
- package/esm/LinearBasicDisplay/model.d.ts +0 -1391
- package/esm/LinearBasicDisplay/model.js +0 -158
- package/esm/LinearFeatureDisplay/components/AddFiltersDialog.d.ts +0 -9
- package/esm/LinearFeatureDisplay/components/AddFiltersDialog.js +0 -58
- package/esm/LinearFeatureDisplay/components/SetMaxHeightDialog.d.ts +0 -8
- package/esm/LinearFeatureDisplay/components/SetMaxHeightDialog.js +0 -26
- package/esm/LinearFeatureDisplay/configSchema.d.ts +0 -32
- package/esm/LinearFeatureDisplay/configSchema.js +0 -11
- package/esm/LinearFeatureDisplay/index.d.ts +0 -3
- package/esm/LinearFeatureDisplay/index.js +0 -2
- package/esm/LinearFeatureDisplay/model.d.ts +0 -1443
- package/esm/LinearFeatureDisplay/model.js +0 -305
- package/esm/LinearGenomeView/SVGErrorBox.d.ts +0 -5
- package/esm/LinearGenomeView/SVGErrorBox.js +0 -4
- package/esm/LinearGenomeView/components/ImportFormRefNameAutocomplete.d.ts +0 -11
- package/esm/LinearGenomeView/components/ImportFormRefNameAutocomplete.js +0 -27
- package/esm/LinearGenomeView/components/RefNameAutocomplete/AutocompleteTextField.d.ts +0 -5
- package/esm/LinearGenomeView/components/RefNameAutocomplete/AutocompleteTextField.js +0 -13
- package/esm/LinearGenomeView/components/RefNameAutocomplete/EndAdornment.d.ts +0 -3
- package/esm/LinearGenomeView/components/RefNameAutocomplete/EndAdornment.js +0 -17
- package/esm/LinearGenomeView/components/RefNameAutocomplete/HelpDialog.d.ts +0 -3
- package/esm/LinearGenomeView/components/RefNameAutocomplete/HelpDialog.js +0 -8
- package/esm/LinearGenomeView/components/RefNameAutocomplete/index.d.ts +0 -16
- package/esm/LinearGenomeView/components/RefNameAutocomplete/index.js +0 -101
- package/esm/LinearGenomeView/components/RefNameAutocomplete/util.d.ts +0 -10
- package/esm/LinearGenomeView/components/RefNameAutocomplete/util.js +0 -45
- package/esm/LinearGenomeView/components/RubberbandSpan.d.ts +0 -15
- package/esm/LinearGenomeView/components/RubberbandSpan.js +0 -32
- package/esm/LinearGenomeView/components/RubberbandTooltip.d.ts +0 -5
- package/esm/LinearGenomeView/components/RubberbandTooltip.js +0 -17
- package/esm/LinearGenomeView/components/TrackLabelContainer.d.ts +0 -8
- package/esm/LinearGenomeView/components/TrackLabelContainer.js +0 -25
- package/esm/LinearGenomeView/components/useWheelScroll.d.ts +0 -7
- package/esm/LinearGenomeView/components/useWheelScroll.js +0 -69
- package/esm/LinearGenomeView/svgExportUtil.d.ts +0 -9
- package/esm/LinearGenomeView/svgExportUtil.js +0 -6
- package/esm/LinearGenomeView/svgcomponents/SVGBackground.d.ts +0 -5
- package/esm/LinearGenomeView/svgcomponents/SVGBackground.js +0 -7
- /package/esm/{BaseLinearDisplay/components → MultiLevelRubberband}/types.js +0 -0
package/esm/index.js
CHANGED
|
@@ -1,30 +1,39 @@
|
|
|
1
1
|
import Plugin from '@jbrowse/core/Plugin';
|
|
2
2
|
import { ConfigurationSchema } from '@jbrowse/core/configuration';
|
|
3
3
|
import { isAbstractMenuManager } from '@jbrowse/core/util';
|
|
4
|
+
import baseLinearDisplayConfigSchema from '@jbrowse/display-kit/configSchema';
|
|
4
5
|
import { types } from '@jbrowse/mobx-state-tree';
|
|
5
6
|
import LineStyleIcon from '@mui/icons-material/LineStyle';
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import LinearBasicDisplayF from "./LinearBasicDisplay/index.js";
|
|
12
|
-
import ZoomControls from "./LinearGenomeView/components/HeaderZoomControls.js";
|
|
13
|
-
import LinearGenomeViewF, { LinearGenomeView, SearchBox, } from "./LinearGenomeView/index.js";
|
|
7
|
+
import FeatureTrackF from './FeatureTrack/index.js';
|
|
8
|
+
import LaunchLinearGenomeViewF from './LaunchLinearGenomeView/index.js';
|
|
9
|
+
import SequenceFeatureHoverHighlightExtensionF from './LinearGenomeView/components/SequenceFeatureHoverHighlightExtension.js';
|
|
10
|
+
import LinearGenomeViewF from './LinearGenomeView/index.js';
|
|
11
|
+
import { LinearGenomeView, SearchBox, ZoomControls, } from './lazyPluginExports.js';
|
|
14
12
|
export default class LinearGenomeViewPlugin extends Plugin {
|
|
15
13
|
name = 'LinearGenomeViewPlugin';
|
|
14
|
+
// the three components here are lazy, see lazyPluginExports.tsx — naming a
|
|
15
|
+
// component in this object is enough to pin it into every host's first paint
|
|
16
16
|
exports = {
|
|
17
|
-
BaseLinearDisplayComponent,
|
|
18
|
-
BaseLinearDisplay,
|
|
19
17
|
baseLinearDisplayConfigSchema,
|
|
20
18
|
SearchBox,
|
|
21
19
|
ZoomControls,
|
|
22
20
|
LinearGenomeView,
|
|
23
21
|
};
|
|
22
|
+
/**
|
|
23
|
+
* #config LinearGenomeViewConfigSchema
|
|
24
|
+
* #category root
|
|
25
|
+
*/
|
|
24
26
|
configurationSchema = ConfigurationSchema('LinearGenomeViewConfigSchema', {
|
|
27
|
+
/**
|
|
28
|
+
* #slot configuration.LinearGenomeViewPlugin.trackLabels
|
|
29
|
+
* where a track's name is drawn: `offset` gives it its own line above the
|
|
30
|
+
* data, `overlapping` floats it over the top of the data to save vertical
|
|
31
|
+
* space, `hidden` omits it. The view menu's "Show..." submenu sets the same
|
|
32
|
+
* thing per session, under its "Track labels" heading
|
|
33
|
+
*/
|
|
25
34
|
trackLabels: {
|
|
26
35
|
type: 'string',
|
|
27
|
-
defaultValue: '
|
|
36
|
+
defaultValue: 'offset',
|
|
28
37
|
model: types.enumeration('trackLabelOptions', [
|
|
29
38
|
'offset',
|
|
30
39
|
'overlapping',
|
|
@@ -34,15 +43,13 @@ export default class LinearGenomeViewPlugin extends Plugin {
|
|
|
34
43
|
});
|
|
35
44
|
install(pluginManager) {
|
|
36
45
|
FeatureTrackF(pluginManager);
|
|
37
|
-
BasicTrackF(pluginManager);
|
|
38
|
-
LinearBasicDisplayF(pluginManager);
|
|
39
46
|
LinearGenomeViewF(pluginManager);
|
|
40
|
-
LinearBareDisplayF(pluginManager);
|
|
41
47
|
LaunchLinearGenomeViewF(pluginManager);
|
|
48
|
+
SequenceFeatureHoverHighlightExtensionF(pluginManager);
|
|
42
49
|
}
|
|
43
50
|
configure(pluginManager) {
|
|
44
51
|
if (isAbstractMenuManager(pluginManager.rootModel)) {
|
|
45
|
-
pluginManager.rootModel.
|
|
52
|
+
pluginManager.rootModel.appendToMenu('Add', {
|
|
46
53
|
label: 'Linear genome view',
|
|
47
54
|
icon: LineStyleIcon,
|
|
48
55
|
onClick: (session) => {
|
|
@@ -52,12 +59,82 @@ export default class LinearGenomeViewPlugin extends Plugin {
|
|
|
52
59
|
}
|
|
53
60
|
}
|
|
54
61
|
}
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
export {
|
|
61
|
-
export {
|
|
62
|
-
|
|
63
|
-
|
|
62
|
+
// The toolkit-free chrome contract, re-exported for code already reaching
|
|
63
|
+
// this plugin; its home is `@jbrowse/display-ui`. The display layer itself
|
|
64
|
+
// (the fetch foundations, the chrome, SVG export, the byte gate) is
|
|
65
|
+
// `@jbrowse/display-kit`, and is imported from there by subpath, never from
|
|
66
|
+
// here.
|
|
67
|
+
export { DisplayChromeOverlayProvider, DisplayUIProvider, FloatingLegend, TrackControlProvider, plainChromeOverlays, plainTrackControl, useTrackControlMenu, } from '@jbrowse/display-ui';
|
|
68
|
+
export { HighlightBand, HighlightChip, OverviewHighlightBand, SVGHighlightBand, installLinkedViewSync, stateModelFactory as linearGenomeViewStateModelFactory, } from './LinearGenomeView/index.js';
|
|
69
|
+
// Deliberately the component itself, and deliberately not the same `SearchBox`
|
|
70
|
+
// the `exports` object above hands runtime plugins — that one is lazy. An
|
|
71
|
+
// in-tree consumer (comparative view, breakpoint split view) imports this
|
|
72
|
+
// barrel and gets shaken out of every build that doesn't, which is all the
|
|
73
|
+
// laziness it needs; a runtime plugin resolves `exports` at module scope, where
|
|
74
|
+
// only `lazy()` keeps the component out of the host's first paint. Imported
|
|
75
|
+
// straight from the component rather than through `LinearGenomeView/index.ts`
|
|
76
|
+
// so the view registration module holds no React component at all.
|
|
77
|
+
export { default as SearchBox } from './LinearGenomeView/components/SearchBox.js';
|
|
78
|
+
// The same two consumers, one composition further on: a header stacking several
|
|
79
|
+
// views draws one search box per row beside the span it is showing, and
|
|
80
|
+
// `HeaderSearchBoxRow` is the whole strip of them. `useSearchBoxPrefs` holds the
|
|
81
|
+
// visibility/orientation choice and `searchBoxMenuItems` the rows that set it —
|
|
82
|
+
// shared rather than copied, since the copies had already drifted on what to
|
|
83
|
+
// call `sideBySide: false`. Only the storage prefix stays with each container.
|
|
84
|
+
export { default as HeaderSearchBoxes } from './LinearGenomeView/components/HeaderSearchBoxes.js';
|
|
85
|
+
export { default as HeaderSearchBoxRow } from './LinearGenomeView/components/HeaderSearchBoxRow.js';
|
|
86
|
+
export { searchBoxMenuItems, useSearchBoxPrefs, } from './LinearGenomeView/components/useSearchBoxPrefs.js';
|
|
87
|
+
export { normalizeTrackInit } from '@jbrowse/core/util/tracks';
|
|
88
|
+
export { linearGenomeViewPropKeys, partitionLaunchKeys, } from './LinearGenomeView/initKeys.js';
|
|
89
|
+
export { applyInitHighlights } from './LinearGenomeView/afterAttach.js';
|
|
90
|
+
export { MultiLevelRubberband } from './MultiLevelRubberband/index.js';
|
|
91
|
+
export { fetchResults, SearchResultsNotFoundError } from './searchUtils.js';
|
|
92
|
+
// The scalebar's grid, published because it is a contract other views draw
|
|
93
|
+
// against rather than an internal of this one: the synteny view's location
|
|
94
|
+
// markers continue this ruler down through the ribbons, and pin their pitch AND
|
|
95
|
+
// PHASE against this function rather than re-deriving them (which is how they
|
|
96
|
+
// came to sit one base off it). `Tick` comes with it so the declaration doesn't
|
|
97
|
+
// leak the source path — see the note above.
|
|
98
|
+
export { makeTicks } from './LinearGenomeView/util.js';
|
|
99
|
+
// The two halves of "show these regions instead": navigate the view you are
|
|
100
|
+
// looking at, or seed a snapshot for a new one. A caller deriving either itself
|
|
101
|
+
// lands on a viewport property the model no longer reads — see each for how.
|
|
102
|
+
export { showRegionsWithUndo } from './LinearGenomeView/showRegionsWithUndo.js';
|
|
103
|
+
export { fitAllRegionsWindow } from './LinearGenomeView/util.js';
|
|
104
|
+
export { renderToSvg } from './LinearGenomeView/svgcomponents/SVGLinearGenomeView.js';
|
|
105
|
+
// The third form of the same export: not a file, not a markup string, but the
|
|
106
|
+
// components mounted in a host's own page. See the file for the three pieces
|
|
107
|
+
// between `renderToSvg` and inline JSX that each fail quietly.
|
|
108
|
+
export { useViewSvgFigure } from './LinearGenomeView/svgcomponents/useViewSvgFigure.js';
|
|
109
|
+
export { default as SVGTracks } from './LinearGenomeView/svgcomponents/SVGTracks.js';
|
|
110
|
+
export { default as SVGView } from './LinearGenomeView/svgcomponents/SVGView.js';
|
|
111
|
+
export { default as SVGRowHeader } from './LinearGenomeView/svgcomponents/SVGRowHeader.js';
|
|
112
|
+
export { default as SVGHighlights } from './LinearGenomeView/svgcomponents/SVGHighlights.js';
|
|
113
|
+
export { default as SVGHighlightsOverlay } from './LinearGenomeView/svgcomponents/SVGHighlightsOverlay.js';
|
|
114
|
+
export { default as ExportSvgDialog } from './LinearGenomeView/components/ExportSvgDialog.js';
|
|
115
|
+
export { GetSequenceDialog } from './LinearGenomeView/lazyDialogs.js';
|
|
116
|
+
export { default as ConnectedHoverHighlight } from './LinearGenomeView/components/ConnectedHoverHighlight.js';
|
|
117
|
+
export { default as HoverPositionHighlight } from './LinearGenomeView/components/HoverPositionHighlight.js';
|
|
118
|
+
// The overlay layer lives in `@jbrowse/display-ui` — a package rather than this
|
|
119
|
+
// plugin, because `packages/tree-sidebar` needed it and had to depend on a
|
|
120
|
+
// *plugin* to get it. Re-exported here, since every display already names it
|
|
121
|
+
// from this one.
|
|
122
|
+
//
|
|
123
|
+
// The host-side half of the portal is `TrackOverlaySlot`: the display's box, the
|
|
124
|
+
// overlay node beside it and the paint order between them. `TrackContainer`
|
|
125
|
+
// mounts it, and so does an embedder mounting `RenderingComponent` directly —
|
|
126
|
+
// who otherwise supplies no node at all and gets display chrome buried under
|
|
127
|
+
// their own region masks.
|
|
128
|
+
export { FloatingSvgOverlay, TrackOverlayContext, TrackOverlayPortal, TrackOverlaySlot, } from '@jbrowse/display-ui';
|
|
129
|
+
export { SvgChrome, SvgClipRect } from '@jbrowse/core/svg/SvgExport';
|
|
130
|
+
// for a display that hand-rolls a <clipPath> instead of using SvgClipRect (an
|
|
131
|
+
// inset or non-rect clip); ids built from a trackId/refName need it
|
|
132
|
+
export { svgSafeId } from '@jbrowse/core/svg/svgId';
|
|
133
|
+
export { awaitSvgReady, awaitSvgRenders } from '@jbrowse/core/svg/svgReady';
|
|
134
|
+
export { defaultTextHeight, getRowHeaderLayout, labelBaselineFromTop, labelOffset, totalHeight, trackBoxHeight, trackBoxOffsets, trackLabelLeftOffset, } from './LinearGenomeView/svgcomponents/util.js';
|
|
135
|
+
// Re-exported from core, where it moved so the circular view — which depends
|
|
136
|
+
// on neither this plugin nor the LGV geometry around it — can send the same
|
|
137
|
+
// notification. Kept on this plugin's surface because published plugins
|
|
138
|
+
// resolve it here.
|
|
139
|
+
export { notifySkippedSvgTracks } from '@jbrowse/core/svg/trackNames';
|
|
140
|
+
export { renderViewTracks } from './LinearGenomeView/svgcomponents/renderViewTracks.js';
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { LinearGenomeViewModel } from './LinearGenomeView/index.ts';
|
|
2
|
+
export declare const LinearGenomeView: {
|
|
3
|
+
(props: {
|
|
4
|
+
model: LinearGenomeViewModel;
|
|
5
|
+
}): import("react").JSX.Element;
|
|
6
|
+
displayName: string;
|
|
7
|
+
};
|
|
8
|
+
export declare const SearchBox: {
|
|
9
|
+
(props: {
|
|
10
|
+
model: LinearGenomeViewModel;
|
|
11
|
+
showHelp?: boolean;
|
|
12
|
+
minWidth?: number;
|
|
13
|
+
maxWidth?: number;
|
|
14
|
+
style?: React.CSSProperties;
|
|
15
|
+
}): import("react").JSX.Element;
|
|
16
|
+
displayName: string;
|
|
17
|
+
};
|
|
18
|
+
export declare const ZoomControls: {
|
|
19
|
+
(props: {
|
|
20
|
+
model: LinearGenomeViewModel;
|
|
21
|
+
}): import("react").JSX.Element;
|
|
22
|
+
displayName: string;
|
|
23
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { Suspense, lazy } from 'react';
|
|
3
|
+
/**
|
|
4
|
+
* The three React components `LinearGenomeViewPlugin.exports` publishes to
|
|
5
|
+
* external plugins, each behind its own chunk.
|
|
6
|
+
*
|
|
7
|
+
* They used to be plain static imports in the plugin's `index.ts`, and that one
|
|
8
|
+
* object was enough to undo the `lazy()` the view type is registered with:
|
|
9
|
+
* `exports` is evaluated when the plugin class body is, so **every** host that
|
|
10
|
+
* installs this plugin pulled in the whole stock LGV component tree — and
|
|
11
|
+
* through it `@jbrowse/core/ui` and most of Material UI — before first paint,
|
|
12
|
+
* including a host that renders none of JBrowse's own chrome. Measured on
|
|
13
|
+
* `products/jbrowse-build-your-own`'s examples site, where no page renders a
|
|
14
|
+
* single one of these: 63 chunks, 239 KB raw / 89 KB gzipped.
|
|
15
|
+
*
|
|
16
|
+
* That is the shape to watch for. A `lazy()` at the registration site only
|
|
17
|
+
* holds if nothing else in an eagerly-evaluated module names the same component,
|
|
18
|
+
* and a plugin's `exports` object is the easiest place to name one by accident.
|
|
19
|
+
*
|
|
20
|
+
* The `Suspense` wrapper is what keeps the change invisible to a consumer: a
|
|
21
|
+
* bare `lazy()` component handed to a plugin that renders it outside a boundary
|
|
22
|
+
* would throw where a static one worked, and external plugins are exactly the
|
|
23
|
+
* consumers we cannot check (`reference/PLUGIN_ABI_STABILITY.md`). Same
|
|
24
|
+
* treatment, and the same reason, as core's `ReExports/lazify.tsx` — which is
|
|
25
|
+
* not reused here only because it is not on core's exports map.
|
|
26
|
+
*/
|
|
27
|
+
function suspend(displayName, Component) {
|
|
28
|
+
function Suspended(props) {
|
|
29
|
+
return (_jsx(Suspense, { fallback: null, children: _jsx(Component, { ...props }) }));
|
|
30
|
+
}
|
|
31
|
+
Suspended.displayName = displayName;
|
|
32
|
+
return Suspended;
|
|
33
|
+
}
|
|
34
|
+
export const LinearGenomeView = suspend('LinearGenomeView', lazy(() => import('./LinearGenomeView/components/LinearGenomeView.js')));
|
|
35
|
+
export const SearchBox = suspend('SearchBox', lazy(() => import('./LinearGenomeView/components/SearchBox.js')));
|
|
36
|
+
export const ZoomControls = suspend('ZoomControls', lazy(() => import('./LinearGenomeView/components/HeaderZoomControls.js')));
|
package/esm/searchUtils.d.ts
CHANGED
|
@@ -1,26 +1,70 @@
|
|
|
1
|
-
import BaseResult from '@jbrowse/core/TextSearch/BaseResults';
|
|
2
1
|
import type { LinearGenomeViewModel } from './LinearGenomeView/index.ts';
|
|
3
|
-
import type
|
|
2
|
+
import type BaseResult from '@jbrowse/core/TextSearch/BaseResults';
|
|
3
|
+
import type TextSearchManager from '@jbrowse/core/TextSearch/TextSearchManager';
|
|
4
4
|
import type { Assembly } from '@jbrowse/core/assemblyManager/assembly';
|
|
5
5
|
import type { SearchType } from '@jbrowse/core/data_adapters/BaseAdapter';
|
|
6
|
-
import type {
|
|
7
|
-
|
|
6
|
+
import type { AssemblyHost, NotificationSink, TrackCatalog } from '@jbrowse/core/util';
|
|
7
|
+
import type { StopToken } from '@jbrowse/core/util/stopToken';
|
|
8
|
+
declare module '@jbrowse/core/PluginManager' {
|
|
9
|
+
interface ExtensionPointRegistry {
|
|
10
|
+
'LinearGenomeView-searchResultSelected': {
|
|
11
|
+
args: undefined;
|
|
12
|
+
result: undefined | Promise<void>;
|
|
13
|
+
props: {
|
|
14
|
+
session: AssemblyHost & NotificationSink & TrackCatalog;
|
|
15
|
+
/** the search result that was selected */
|
|
16
|
+
result: BaseResult;
|
|
17
|
+
model: LinearGenomeViewModel;
|
|
18
|
+
assemblyName: string;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
export declare function navigateToSelectedOption({ option, model, assemblyName, }: {
|
|
24
|
+
option: BaseResult;
|
|
25
|
+
model: LinearGenomeViewModel;
|
|
26
|
+
assemblyName: string;
|
|
27
|
+
}): Promise<void>;
|
|
28
|
+
export declare function isOpenInView(result: BaseResult, model: LinearGenomeViewModel): boolean;
|
|
29
|
+
export declare function unanimousResult({ results, model, session, assembly, }: {
|
|
30
|
+
results: BaseResult[];
|
|
31
|
+
model: LinearGenomeViewModel;
|
|
32
|
+
session: TrackCatalog;
|
|
33
|
+
assembly?: Assembly;
|
|
34
|
+
}): BaseResult | undefined;
|
|
35
|
+
export declare function showSearchResults({ results, query, model, assemblyName, grow, showHitTrack, }: {
|
|
36
|
+
results: BaseResult[];
|
|
37
|
+
query: string;
|
|
38
|
+
model: LinearGenomeViewModel;
|
|
39
|
+
assemblyName: string;
|
|
40
|
+
grow?: number;
|
|
41
|
+
showHitTrack?: boolean;
|
|
42
|
+
}): Promise<boolean>;
|
|
43
|
+
export declare function navToOption({ option, model, assemblyName, grow, showHitTrack, }: {
|
|
8
44
|
model: LinearGenomeViewModel;
|
|
9
45
|
option: BaseResult;
|
|
10
46
|
assemblyName: string;
|
|
47
|
+
grow?: number;
|
|
48
|
+
showHitTrack?: boolean;
|
|
11
49
|
}): Promise<void>;
|
|
12
|
-
export declare
|
|
50
|
+
export declare class SearchResultsNotFoundError extends Error {
|
|
51
|
+
name: string;
|
|
52
|
+
}
|
|
53
|
+
export declare function notifySearchFailure(session: NotificationSink, e: unknown): void;
|
|
54
|
+
export declare function handleSelectedRegion({ input, model, assemblyName, grow, showHitTrack, }: {
|
|
13
55
|
input: string;
|
|
14
56
|
model: LinearGenomeViewModel;
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
57
|
+
assemblyName: string;
|
|
58
|
+
grow?: number;
|
|
59
|
+
showHitTrack?: boolean;
|
|
60
|
+
}): Promise<boolean>;
|
|
61
|
+
export declare function checkRef(str: string, isRef: (name: string) => boolean): boolean;
|
|
62
|
+
export declare function fetchResults({ queryString, searchType, assemblyName, textSearchManager, assembly, stopToken, }: {
|
|
19
63
|
queryString: string;
|
|
20
|
-
|
|
21
|
-
rankSearchResults: (results: BaseResult[]) => BaseResult[];
|
|
64
|
+
assemblyName: string;
|
|
22
65
|
searchType?: SearchType;
|
|
23
66
|
textSearchManager?: TextSearchManager;
|
|
24
67
|
assembly?: Assembly;
|
|
68
|
+
stopToken?: StopToken;
|
|
25
69
|
}): Promise<BaseResult[]>;
|
|
26
70
|
export declare function splitLast(str: string, split: string): [string, string];
|