@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
|
@@ -1,84 +1,123 @@
|
|
|
1
1
|
import type PluginManager from '@jbrowse/core/PluginManager';
|
|
2
|
+
/**
|
|
3
|
+
* #config FeatureTrack
|
|
4
|
+
* #category track
|
|
5
|
+
* used for basic gene and feature tracks, generally used with LinearBasicDisplay
|
|
6
|
+
*
|
|
7
|
+
* #example
|
|
8
|
+
* A minimal hand-authored entry in the top-level `tracks` array — `adapter`
|
|
9
|
+
* points at the data file, and the track opens with a `LinearBasicDisplay`:
|
|
10
|
+
* ```js
|
|
11
|
+
* {
|
|
12
|
+
* type: 'FeatureTrack',
|
|
13
|
+
* trackId: 'genes',
|
|
14
|
+
* name: 'Genes',
|
|
15
|
+
* assemblyNames: ['hg38'],
|
|
16
|
+
* adapter: {
|
|
17
|
+
* type: 'Gff3TabixAdapter',
|
|
18
|
+
* uri: 'https://example.com/genes.sorted.gff.gz',
|
|
19
|
+
* },
|
|
20
|
+
* }
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* #example
|
|
24
|
+
* The same track, colored. Rather than writing out the full `displays` array,
|
|
25
|
+
* you can put appearance settings in a `displayDefaults` object — JBrowse works
|
|
26
|
+
* out which display they belong to and applies them for you (here, the track's
|
|
27
|
+
* `LinearBasicDisplay`), so you don't have to know display names. A `jexl:`
|
|
28
|
+
* value gives per-feature coloring:
|
|
29
|
+
* ```js
|
|
30
|
+
* {
|
|
31
|
+
* type: 'FeatureTrack',
|
|
32
|
+
* trackId: 'genes',
|
|
33
|
+
* name: 'Genes',
|
|
34
|
+
* assemblyNames: ['hg38'],
|
|
35
|
+
* adapter: {
|
|
36
|
+
* type: 'Gff3TabixAdapter',
|
|
37
|
+
* uri: 'https://example.com/genes.sorted.gff.gz',
|
|
38
|
+
* },
|
|
39
|
+
* displayDefaults: { color: "jexl:feature.type=='CDS'?'red':'blue'" },
|
|
40
|
+
* }
|
|
41
|
+
* ```
|
|
42
|
+
*/
|
|
2
43
|
declare const configSchema: (pluginManager: PluginManager) => import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
3
|
-
name: {
|
|
4
|
-
description:
|
|
5
|
-
type: string;
|
|
6
|
-
defaultValue:
|
|
44
|
+
readonly name: {
|
|
45
|
+
readonly description: "descriptive name of the track, falls back to the trackId when unset";
|
|
46
|
+
readonly type: "string";
|
|
47
|
+
readonly defaultValue: "";
|
|
7
48
|
};
|
|
8
|
-
assemblyNames: {
|
|
9
|
-
description:
|
|
10
|
-
type:
|
|
11
|
-
defaultValue:
|
|
49
|
+
readonly assemblyNames: {
|
|
50
|
+
readonly description: "name of the assembly (or assemblies) track belongs to";
|
|
51
|
+
readonly type: "stringArray";
|
|
52
|
+
readonly defaultValue: readonly ["assemblyName"];
|
|
12
53
|
};
|
|
13
|
-
description: {
|
|
14
|
-
description:
|
|
15
|
-
type: string;
|
|
16
|
-
defaultValue:
|
|
54
|
+
readonly description: {
|
|
55
|
+
readonly description: "a description of the track";
|
|
56
|
+
readonly type: "string";
|
|
57
|
+
readonly defaultValue: "";
|
|
17
58
|
};
|
|
18
|
-
category: {
|
|
19
|
-
description:
|
|
20
|
-
type:
|
|
21
|
-
defaultValue:
|
|
59
|
+
readonly category: {
|
|
60
|
+
readonly description: "the category and sub-categories of a track";
|
|
61
|
+
readonly type: "stringArray";
|
|
62
|
+
readonly defaultValue: readonly [];
|
|
22
63
|
};
|
|
23
|
-
metadata: {
|
|
24
|
-
type:
|
|
25
|
-
description:
|
|
26
|
-
defaultValue: {};
|
|
64
|
+
readonly metadata: {
|
|
65
|
+
readonly type: "frozen";
|
|
66
|
+
readonly description: "anything to add about this track";
|
|
67
|
+
readonly defaultValue: {};
|
|
27
68
|
};
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
type:
|
|
37
|
-
description:
|
|
38
|
-
defaultValue:
|
|
69
|
+
readonly adapter: import("@jbrowse/mobx-state-tree").IAnyType;
|
|
70
|
+
readonly textSearching: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
71
|
+
readonly indexingAttributes: {
|
|
72
|
+
readonly type: "stringArray";
|
|
73
|
+
readonly description: "list of which feature attributes to index for text searching";
|
|
74
|
+
readonly defaultValue: readonly ["Name", "ID", "symbol"];
|
|
75
|
+
};
|
|
76
|
+
readonly indexingFeatureTypesToExclude: {
|
|
77
|
+
readonly type: "stringArray";
|
|
78
|
+
readonly description: "list of feature types to exclude in text search index";
|
|
79
|
+
readonly defaultValue: readonly ["CDS", "exon"];
|
|
39
80
|
};
|
|
40
|
-
|
|
41
|
-
type:
|
|
42
|
-
description:
|
|
43
|
-
defaultValue:
|
|
81
|
+
readonly indexingFeatureTypesToInclude: {
|
|
82
|
+
readonly type: "stringArray";
|
|
83
|
+
readonly description: "the only feature types to index; empty means index every type not excluded";
|
|
84
|
+
readonly defaultValue: readonly [];
|
|
44
85
|
};
|
|
45
|
-
textSearchAdapter: import("@jbrowse/mobx-state-tree").
|
|
86
|
+
readonly textSearchAdapter: import("@jbrowse/mobx-state-tree").IAnyType;
|
|
46
87
|
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined>>;
|
|
47
|
-
displays: import("@jbrowse/mobx-state-tree").IArrayType<import("@jbrowse/mobx-state-tree").
|
|
48
|
-
formatDetails: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
49
|
-
feature: {
|
|
50
|
-
type:
|
|
51
|
-
description:
|
|
52
|
-
defaultValue: {};
|
|
53
|
-
contextVariable:
|
|
88
|
+
readonly displays: import("@jbrowse/mobx-state-tree").IArrayType<import("@jbrowse/mobx-state-tree").IAnyType>;
|
|
89
|
+
readonly formatDetails: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
90
|
+
readonly feature: {
|
|
91
|
+
readonly type: "frozen";
|
|
92
|
+
readonly description: "adds extra fields to the feature details";
|
|
93
|
+
readonly defaultValue: {};
|
|
94
|
+
readonly contextVariable: ["feature"];
|
|
54
95
|
};
|
|
55
|
-
subfeatures: {
|
|
56
|
-
type:
|
|
57
|
-
description:
|
|
58
|
-
defaultValue: {};
|
|
59
|
-
contextVariable:
|
|
96
|
+
readonly subfeatures: {
|
|
97
|
+
readonly type: "frozen";
|
|
98
|
+
readonly description: "adds extra fields to the subfeatures of a feature";
|
|
99
|
+
readonly defaultValue: {};
|
|
100
|
+
readonly contextVariable: ["feature"];
|
|
60
101
|
};
|
|
61
|
-
depth: {
|
|
62
|
-
type:
|
|
63
|
-
|
|
64
|
-
description: string;
|
|
102
|
+
readonly depth: {
|
|
103
|
+
readonly type: "maybeNumber";
|
|
104
|
+
readonly description: "levels of subfeature the formatDetails.subfeatures callback runs on, default 2";
|
|
65
105
|
};
|
|
66
|
-
maxDepth: {
|
|
67
|
-
type:
|
|
68
|
-
|
|
69
|
-
description: string;
|
|
106
|
+
readonly maxDepth: {
|
|
107
|
+
readonly type: "maybeNumber";
|
|
108
|
+
readonly description: "hide subfeatures nested deeper than this, default no limit";
|
|
70
109
|
};
|
|
71
110
|
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined>>;
|
|
72
|
-
formatAbout: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
73
|
-
config: {
|
|
74
|
-
type:
|
|
75
|
-
description:
|
|
76
|
-
defaultValue: {};
|
|
77
|
-
contextVariable:
|
|
111
|
+
readonly formatAbout: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
112
|
+
readonly config: {
|
|
113
|
+
readonly type: "frozen";
|
|
114
|
+
readonly description: "formats configuration object in about dialog";
|
|
115
|
+
readonly defaultValue: {};
|
|
116
|
+
readonly contextVariable: ["config"];
|
|
78
117
|
};
|
|
79
|
-
hideUris: {
|
|
80
|
-
type:
|
|
81
|
-
defaultValue:
|
|
118
|
+
readonly hideUris: {
|
|
119
|
+
readonly type: "boolean";
|
|
120
|
+
readonly defaultValue: false;
|
|
82
121
|
};
|
|
83
122
|
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined>>;
|
|
84
123
|
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "trackId">>, "trackId">>;
|
|
@@ -1,8 +1,54 @@
|
|
|
1
1
|
import { ConfigurationSchema } from '@jbrowse/core/configuration';
|
|
2
2
|
import { createBaseTrackConfig } from '@jbrowse/core/pluggableElementTypes';
|
|
3
|
-
|
|
3
|
+
/**
|
|
4
|
+
* #config FeatureTrack
|
|
5
|
+
* #category track
|
|
6
|
+
* used for basic gene and feature tracks, generally used with LinearBasicDisplay
|
|
7
|
+
*
|
|
8
|
+
* #example
|
|
9
|
+
* A minimal hand-authored entry in the top-level `tracks` array — `adapter`
|
|
10
|
+
* points at the data file, and the track opens with a `LinearBasicDisplay`:
|
|
11
|
+
* ```js
|
|
12
|
+
* {
|
|
13
|
+
* type: 'FeatureTrack',
|
|
14
|
+
* trackId: 'genes',
|
|
15
|
+
* name: 'Genes',
|
|
16
|
+
* assemblyNames: ['hg38'],
|
|
17
|
+
* adapter: {
|
|
18
|
+
* type: 'Gff3TabixAdapter',
|
|
19
|
+
* uri: 'https://example.com/genes.sorted.gff.gz',
|
|
20
|
+
* },
|
|
21
|
+
* }
|
|
22
|
+
* ```
|
|
23
|
+
*
|
|
24
|
+
* #example
|
|
25
|
+
* The same track, colored. Rather than writing out the full `displays` array,
|
|
26
|
+
* you can put appearance settings in a `displayDefaults` object — JBrowse works
|
|
27
|
+
* out which display they belong to and applies them for you (here, the track's
|
|
28
|
+
* `LinearBasicDisplay`), so you don't have to know display names. A `jexl:`
|
|
29
|
+
* value gives per-feature coloring:
|
|
30
|
+
* ```js
|
|
31
|
+
* {
|
|
32
|
+
* type: 'FeatureTrack',
|
|
33
|
+
* trackId: 'genes',
|
|
34
|
+
* name: 'Genes',
|
|
35
|
+
* assemblyNames: ['hg38'],
|
|
36
|
+
* adapter: {
|
|
37
|
+
* type: 'Gff3TabixAdapter',
|
|
38
|
+
* uri: 'https://example.com/genes.sorted.gff.gz',
|
|
39
|
+
* },
|
|
40
|
+
* displayDefaults: { color: "jexl:feature.type=='CDS'?'red':'blue'" },
|
|
41
|
+
* }
|
|
42
|
+
* ```
|
|
43
|
+
*/
|
|
4
44
|
const configSchema = (pluginManager) => ConfigurationSchema('FeatureTrack', {}, {
|
|
45
|
+
/**
|
|
46
|
+
* #baseConfiguration
|
|
47
|
+
*/
|
|
5
48
|
baseConfiguration: createBaseTrackConfig(pluginManager),
|
|
49
|
+
/**
|
|
50
|
+
* #identifier
|
|
51
|
+
*/
|
|
6
52
|
explicitIdentifier: 'trackId',
|
|
7
53
|
});
|
|
8
54
|
export default configSchema;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TrackType, createBaseTrackModel, } from '@jbrowse/core/pluggableElementTypes';
|
|
2
|
-
import configSchemaF from
|
|
2
|
+
import configSchemaF from './configSchema.js';
|
|
3
3
|
export default function FeatureTrackF(pm) {
|
|
4
4
|
pm.addTrackType(() => {
|
|
5
5
|
const configSchema = configSchemaF(pm);
|
|
@@ -1,2 +1,16 @@
|
|
|
1
|
+
import type { InitState, LinearGenomeViewLaunchProps } from '../LinearGenomeView/types.ts';
|
|
1
2
|
import type PluginManager from '@jbrowse/core/PluginManager';
|
|
3
|
+
import type { AbstractViewContainer } from '@jbrowse/core/util';
|
|
4
|
+
export type LaunchLinearGenomeViewArgs = Partial<InitState> & LinearGenomeViewLaunchProps & {
|
|
5
|
+
session: AbstractViewContainer;
|
|
6
|
+
id?: string;
|
|
7
|
+
};
|
|
8
|
+
declare module '@jbrowse/core/PluginManager' {
|
|
9
|
+
interface ExtensionPointRegistry {
|
|
10
|
+
'LaunchView-LinearGenomeView': {
|
|
11
|
+
args: LaunchLinearGenomeViewArgs;
|
|
12
|
+
result: LaunchLinearGenomeViewArgs;
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
}
|
|
2
16
|
export default function LaunchLinearGenomeViewF(pluginManager: PluginManager): void;
|
|
@@ -1,17 +1,11 @@
|
|
|
1
1
|
export default function LaunchLinearGenomeViewF(pluginManager) {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
/** #extensionPoint LaunchView-LinearGenomeView | async | Programmatically launch a linear genome view */
|
|
3
|
+
pluginManager.addToExtensionPoint('LaunchView-LinearGenomeView', args => {
|
|
4
|
+
const { session, ...spec } = args;
|
|
5
|
+
if (!spec.assembly) {
|
|
4
6
|
throw new Error('No assembly provided when launching linear genome view');
|
|
5
7
|
}
|
|
6
|
-
session.addView('LinearGenomeView',
|
|
7
|
-
|
|
8
|
-
assembly,
|
|
9
|
-
loc,
|
|
10
|
-
tracks,
|
|
11
|
-
tracklist,
|
|
12
|
-
nav,
|
|
13
|
-
highlight,
|
|
14
|
-
},
|
|
15
|
-
});
|
|
8
|
+
session.addView('LinearGenomeView', spec);
|
|
9
|
+
return args;
|
|
16
10
|
});
|
|
17
11
|
}
|
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
import type { LinearGenomeViewModel } from './model.ts';
|
|
2
|
+
import type { InitState } from './types.ts';
|
|
3
|
+
import type { AssemblyHost, NotificationSink } from '@jbrowse/core/util';
|
|
4
|
+
/**
|
|
5
|
+
* Apply an init blob's `highlight` entries to a view, coercing each locstring
|
|
6
|
+
* or wire-format object and reporting a bad one without taking out its
|
|
7
|
+
* siblings.
|
|
8
|
+
*
|
|
9
|
+
* Exported because a LinearSyntenyView row is a LinearGenomeView that does NOT
|
|
10
|
+
* go through this file's init autorun — the synteny view builds each row's
|
|
11
|
+
* snapshot and navigates it itself — so the row's own `highlight` had nowhere
|
|
12
|
+
* to be applied and was dropped in silence.
|
|
13
|
+
*/
|
|
14
|
+
export declare function applyInitHighlights(self: LinearGenomeViewModel, session: AssemblyHost & NotificationSink, init: Pick<InitState, 'highlight' | 'assembly'>): void;
|
|
15
|
+
/**
|
|
16
|
+
* Autorun that handles the init state - navigating to initial location,
|
|
17
|
+
* showing tracks, etc.
|
|
18
|
+
*/
|
|
2
19
|
export declare function setupInitAutorun(self: LinearGenomeViewModel): void;
|
|
3
|
-
|
|
4
|
-
|
|
20
|
+
/**
|
|
21
|
+
* Sets up all afterAttach autoruns for the LinearGenomeView
|
|
22
|
+
*/
|
|
5
23
|
export declare function doAfterAttach(self: LinearGenomeViewModel): void;
|