@jbrowse/plugin-linear-genome-view 4.3.0 → 5.0.0-beta.10
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 +202 -71
- 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 +265 -120
- package/esm/LinearGenomeView/components/CenterLine.d.ts +1 -1
- package/esm/LinearGenomeView/components/CenterLine.js +20 -9
- 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 +142 -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 +8 -3
- package/esm/LinearGenomeView/components/ExportSvgDialog.js +15 -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 +42 -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 +18 -8
- 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 +38 -52
- package/esm/LinearGenomeView/components/Highlight.d.ts +1 -1
- package/esm/LinearGenomeView/components/Highlight.js +21 -25
- package/esm/LinearGenomeView/components/HighlightBand.d.ts +3 -2
- package/esm/LinearGenomeView/components/HighlightBand.js +25 -8
- package/esm/LinearGenomeView/components/HighlightChip.d.ts +8 -0
- package/esm/LinearGenomeView/components/HighlightChip.js +13 -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 +7 -6
- package/esm/LinearGenomeView/components/LinearGenomeViewContainer.d.ts +1 -1
- package/esm/LinearGenomeView/components/LinearGenomeViewContainer.js +88 -30
- package/esm/LinearGenomeView/components/MiniControls.d.ts +1 -1
- package/esm/LinearGenomeView/components/MiniControls.js +14 -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 +25 -0
- package/esm/LinearGenomeView/components/OverviewRubberband.d.ts +3 -3
- package/esm/LinearGenomeView/components/OverviewRubberband.js +29 -67
- 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 +87 -83
- package/esm/LinearGenomeView/components/OverviewScalebarPolygon.d.ts +19 -5
- package/esm/LinearGenomeView/components/OverviewScalebarPolygon.js +57 -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 +56 -0
- package/esm/LinearGenomeView/components/RangeSelectOverlay.d.ts +9 -0
- package/esm/LinearGenomeView/components/RangeSelectOverlay.js +19 -0
- package/esm/LinearGenomeView/components/RegionWidthEditorDialog.d.ts +2 -3
- package/esm/LinearGenomeView/components/RegionWidthEditorDialog.js +19 -26
- package/esm/LinearGenomeView/components/ResizeAllTracksHandle.d.ts +5 -0
- package/esm/LinearGenomeView/components/ResizeAllTracksHandle.js +71 -0
- package/esm/LinearGenomeView/components/Rubberband.d.ts +2 -3
- package/esm/LinearGenomeView/components/Rubberband.js +15 -17
- package/esm/LinearGenomeView/components/SVGHighlightBand.d.ts +10 -0
- package/esm/LinearGenomeView/components/SVGHighlightBand.js +8 -0
- package/esm/LinearGenomeView/components/Scalebar.d.ts +2 -6
- package/esm/LinearGenomeView/components/Scalebar.js +20 -22
- 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 +157 -126
- package/esm/LinearGenomeView/components/SearchBox.d.ts +22 -2
- package/esm/LinearGenomeView/components/SearchBox.js +61 -68
- package/esm/LinearGenomeView/components/SearchPanelForm.d.ts +9 -0
- package/esm/LinearGenomeView/components/SearchPanelForm.js +18 -0
- package/esm/LinearGenomeView/components/SearchResultsDialog.d.ts +5 -4
- package/esm/LinearGenomeView/components/SearchResultsDialog.js +6 -8
- package/esm/LinearGenomeView/components/SearchResultsTable.d.ts +5 -3
- package/esm/LinearGenomeView/components/SearchResultsTable.js +31 -56
- 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 +3 -5
- 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 +136 -38
- package/esm/LinearGenomeView/components/TrackLabel.d.ts +2 -3
- package/esm/LinearGenomeView/components/TrackLabel.js +20 -26
- 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 +35 -87
- package/esm/LinearGenomeView/components/TrackLabelRefNameWarning.d.ts +22 -0
- package/esm/LinearGenomeView/components/TrackLabelRefNameWarning.js +46 -0
- package/esm/LinearGenomeView/components/TrackRenderingContainer.d.ts +5 -2
- package/esm/LinearGenomeView/components/TrackRenderingContainer.js +66 -24
- package/esm/LinearGenomeView/components/TracksContainer.d.ts +1 -1
- package/esm/LinearGenomeView/components/TracksContainer.js +53 -32
- package/esm/LinearGenomeView/components/VerticalGuide.d.ts +2 -3
- package/esm/LinearGenomeView/components/VerticalGuide.js +6 -26
- 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 +6 -8
- package/esm/LinearGenomeView/components/fetchSequence.js +17 -9
- package/esm/LinearGenomeView/components/recentLocationsMenu.d.ts +15 -0
- package/esm/LinearGenomeView/components/recentLocationsMenu.js +46 -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 +9 -67
- package/esm/LinearGenomeView/components/useRangeSelect.js +54 -102
- package/esm/LinearGenomeView/components/useSearchBoxPrefs.d.ts +26 -0
- package/esm/LinearGenomeView/components/useSearchBoxPrefs.js +58 -0
- package/esm/LinearGenomeView/components/useSideScroll.d.ts +17 -3
- package/esm/LinearGenomeView/components/useSideScroll.js +163 -45
- package/esm/LinearGenomeView/components/util.d.ts +24 -6
- package/esm/LinearGenomeView/components/util.js +28 -5
- package/esm/LinearGenomeView/consts.d.ts +9 -2
- package/esm/LinearGenomeView/consts.js +20 -2
- package/esm/LinearGenomeView/containingLgv.d.ts +21 -0
- package/esm/LinearGenomeView/containingLgv.js +23 -0
- package/esm/LinearGenomeView/flyTo.d.ts +38 -0
- package/esm/LinearGenomeView/flyTo.js +135 -0
- package/esm/LinearGenomeView/headerFit.d.ts +29 -0
- package/esm/LinearGenomeView/headerFit.js +72 -0
- package/esm/LinearGenomeView/index.d.ts +28 -3
- package/esm/LinearGenomeView/index.js +13 -7
- package/esm/LinearGenomeView/keyboardHandler.d.ts +9 -0
- package/esm/LinearGenomeView/keyboardHandler.js +25 -1
- package/esm/LinearGenomeView/launchKeys.d.ts +2 -0
- package/esm/LinearGenomeView/launchKeys.js +27 -0
- package/esm/LinearGenomeView/lazyDialogs.d.ts +8 -14
- package/esm/LinearGenomeView/lazyDialogs.js +4 -3
- package/esm/LinearGenomeView/linkedViewSync.d.ts +12 -0
- package/esm/LinearGenomeView/linkedViewSync.js +36 -0
- package/esm/LinearGenomeView/menuItems.d.ts +25 -2
- package/esm/LinearGenomeView/menuItems.js +306 -179
- package/esm/LinearGenomeView/model.d.ts +3363 -164
- package/esm/LinearGenomeView/model.js +2548 -565
- 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 +50 -0
- package/esm/LinearGenomeView/stickyChrome.d.ts +15 -0
- package/esm/LinearGenomeView/stickyChrome.js +26 -0
- package/esm/LinearGenomeView/svgcomponents/SVGGridlines.d.ts +1 -1
- package/esm/LinearGenomeView/svgcomponents/SVGGridlines.js +17 -18
- package/esm/LinearGenomeView/svgcomponents/SVGHeader.d.ts +5 -3
- package/esm/LinearGenomeView/svgcomponents/SVGHeader.js +34 -35
- 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 +73 -41
- package/esm/LinearGenomeView/svgcomponents/SVGRegionSeparators.d.ts +1 -1
- package/esm/LinearGenomeView/svgcomponents/SVGRegionSeparators.js +20 -3
- package/esm/LinearGenomeView/svgcomponents/SVGRowHeader.d.ts +8 -0
- package/esm/LinearGenomeView/svgcomponents/SVGRowHeader.js +36 -0
- package/esm/LinearGenomeView/svgcomponents/SVGRuler.d.ts +3 -3
- package/esm/LinearGenomeView/svgcomponents/SVGRuler.js +66 -39
- package/esm/LinearGenomeView/svgcomponents/SVGScalebar.d.ts +1 -1
- package/esm/LinearGenomeView/svgcomponents/SVGScalebar.js +9 -7
- package/esm/LinearGenomeView/svgcomponents/SVGStackedRow.d.ts +27 -0
- package/esm/LinearGenomeView/svgcomponents/SVGStackedRow.js +12 -0
- package/esm/LinearGenomeView/svgcomponents/SVGTrackLabel.d.ts +5 -3
- package/esm/LinearGenomeView/svgcomponents/SVGTrackLabel.js +54 -9
- package/esm/LinearGenomeView/svgcomponents/SVGTracks.d.ts +9 -15
- package/esm/LinearGenomeView/svgcomponents/SVGTracks.js +17 -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 +245 -0
- package/esm/LinearGenomeView/svgcomponents/util.d.ts +96 -5
- package/esm/LinearGenomeView/svgcomponents/util.js +242 -4
- package/esm/LinearGenomeView/types.d.ts +20 -37
- package/esm/LinearGenomeView/types.js +1 -0
- package/esm/LinearGenomeView/util.d.ts +347 -12
- package/esm/LinearGenomeView/util.js +577 -62
- package/esm/MultiLevelRubberband/MultiLevelRubberband.d.ts +6 -0
- package/esm/MultiLevelRubberband/MultiLevelRubberband.js +40 -0
- package/esm/MultiLevelRubberband/index.d.ts +4 -0
- package/esm/MultiLevelRubberband/index.js +3 -0
- package/esm/MultiLevelRubberband/menuItems.d.ts +34 -0
- package/esm/MultiLevelRubberband/menuItems.js +52 -0
- package/esm/MultiLevelRubberband/rowLabel.d.ts +22 -0
- package/esm/MultiLevelRubberband/rowLabel.js +27 -0
- package/esm/MultiLevelRubberband/types.d.ts +7 -0
- package/esm/MultiLevelRubberband/useRangeSelect.d.ts +25 -0
- package/esm/MultiLevelRubberband/useRangeSelect.js +120 -0
- package/esm/displayKitTests/perRegionTestEnv.d.ts +1391 -0
- package/esm/displayKitTests/perRegionTestEnv.js +142 -0
- package/esm/index.d.ts +50 -1245
- package/esm/index.js +88 -33
- package/esm/searchUtils.d.ts +62 -12
- package/esm/searchUtils.js +335 -48
- package/esm/shared/RubberbandSpan.d.ts +15 -0
- package/esm/shared/RubberbandSpan.js +34 -0
- package/esm/shared/coordLabels.d.ts +47 -0
- package/esm/shared/coordLabels.js +133 -0
- package/esm/shared/useWindowDrag.d.ts +18 -0
- package/esm/shared/useWindowDrag.js +45 -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
|
@@ -0,0 +1,1391 @@
|
|
|
1
|
+
import { createDisplayTestEnvironment } from '@jbrowse/display-test-utils';
|
|
2
|
+
import type { AnyConfigurationSchemaType } from '@jbrowse/core/configuration';
|
|
3
|
+
import type { IndexedRegion } from '@jbrowse/display-kit/planRegionFetch';
|
|
4
|
+
import type { Instance } from '@jbrowse/mobx-state-tree';
|
|
5
|
+
/**
|
|
6
|
+
* The knobs a test needs on the display's fetch, held in a closure rather than
|
|
7
|
+
* as volatiles. `regionHasData` must stay a **view** — as an action MobX runs it
|
|
8
|
+
* untracked and the autorun keeps a stale answer (see the hook block in
|
|
9
|
+
* `MultiRegionDisplayMixin`) — and a view may not write, so its call counter
|
|
10
|
+
* cannot live in the tree.
|
|
11
|
+
*/
|
|
12
|
+
export interface PerRegionTestControl {
|
|
13
|
+
/** how many times the fetch autorun has asked `regionHasData` */
|
|
14
|
+
cacheValidCalls: number;
|
|
15
|
+
/**
|
|
16
|
+
* How many further `regionHasData` calls answer false, decremented each time.
|
|
17
|
+
* Bounded on purpose: a permanently-invalid cache refetches forever, which is
|
|
18
|
+
* correct behavior and an unfalsifiable test.
|
|
19
|
+
*/
|
|
20
|
+
staleAnswers: number;
|
|
21
|
+
/** the next fetch rejects, the way a failed RPC does */
|
|
22
|
+
failNextFetch: boolean;
|
|
23
|
+
/** hold each fetch open this long, so a test can act while one is in flight */
|
|
24
|
+
fetchDelayMs: number;
|
|
25
|
+
/**
|
|
26
|
+
* What the display's own fetch measures for a region, and how often it
|
|
27
|
+
* measured. There is no separate estimate RPC any more: a gated display
|
|
28
|
+
* passes `resolvedByteLimit()` into its fetch, the fetch measures first and
|
|
29
|
+
* answers a `RegionTooLargeResult` instead of a payload when it is over — so
|
|
30
|
+
* this stands in for the worker-side `measureRegionBytes`.
|
|
31
|
+
*/
|
|
32
|
+
estimateBytes: number;
|
|
33
|
+
estimateCalls: number;
|
|
34
|
+
/** the display's own density verdict, canvas's second too-large axis */
|
|
35
|
+
densityTooLarge: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* What the next fetch stores, so a test can tell the payload a refetch
|
|
38
|
+
* replaced from the one that replaced it.
|
|
39
|
+
*/
|
|
40
|
+
payloadTag: string;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* The smallest possible display on `MultiRegionDisplayMixin`: it fetches, it
|
|
44
|
+
* records what it was asked to fetch, and it does nothing else. Nine real
|
|
45
|
+
* displays compose this foundation, and every one of them adds a plugin's worth
|
|
46
|
+
* of behavior on top — so a test that boots one is testing that plugin as much
|
|
47
|
+
* as the foundation, which is how the foundation's own autoruns came to be
|
|
48
|
+
* pinned only by canvas's suite.
|
|
49
|
+
*/
|
|
50
|
+
/** Which of the gate's opt-in hooks this display overrides. */
|
|
51
|
+
export interface GateOptIns {
|
|
52
|
+
gateEnabled?: boolean;
|
|
53
|
+
}
|
|
54
|
+
declare function makeStateModel(control: PerRegionTestControl, gate: GateOptIns, configSchema: AnyConfigurationSchemaType): import("@jbrowse/mobx-state-tree").IModelType<Omit<Omit<Omit<{
|
|
55
|
+
id: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
56
|
+
type: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
57
|
+
}, never>, never> & Omit<Omit<Omit<{}, never>, never>, never>, "configuration" | "type"> & {
|
|
58
|
+
type: import("@jbrowse/mobx-state-tree").ILiteralType<"PerRegionTestDisplay">;
|
|
59
|
+
configuration: import("@jbrowse/core/configuration/configurationSchema").IConfigurationReference<AnyConfigurationSchemaType>;
|
|
60
|
+
}, {
|
|
61
|
+
error: unknown;
|
|
62
|
+
statusMessage: string | undefined;
|
|
63
|
+
statusProgress: number | undefined;
|
|
64
|
+
} & {
|
|
65
|
+
readonly parentTrack: import("@jbrowse/core/util").AbstractTrackModel;
|
|
66
|
+
} & {
|
|
67
|
+
readonly RenderingComponent: React.FC<{
|
|
68
|
+
model: import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
|
|
69
|
+
id: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
70
|
+
type: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
71
|
+
}> & {
|
|
72
|
+
error: unknown;
|
|
73
|
+
statusMessage: string | undefined;
|
|
74
|
+
statusProgress: number | undefined;
|
|
75
|
+
} & {
|
|
76
|
+
readonly parentTrack: import("@jbrowse/core/util").AbstractTrackModel;
|
|
77
|
+
} & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/mobx-state-tree").IModelType<{
|
|
78
|
+
id: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
79
|
+
type: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
80
|
+
}, {
|
|
81
|
+
error: unknown;
|
|
82
|
+
statusMessage: string | undefined;
|
|
83
|
+
statusProgress: number | undefined;
|
|
84
|
+
} & {
|
|
85
|
+
readonly parentTrack: import("@jbrowse/core/util").AbstractTrackModel;
|
|
86
|
+
}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>;
|
|
87
|
+
onHorizontalScroll?: (distance: number) => void;
|
|
88
|
+
blockState?: Record<string, unknown>;
|
|
89
|
+
}>;
|
|
90
|
+
readonly DisplayBlurb: React.FC<{
|
|
91
|
+
model: import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
|
|
92
|
+
id: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
93
|
+
type: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
94
|
+
}> & {
|
|
95
|
+
error: unknown;
|
|
96
|
+
statusMessage: string | undefined;
|
|
97
|
+
statusProgress: number | undefined;
|
|
98
|
+
} & {
|
|
99
|
+
readonly parentTrack: import("@jbrowse/core/util").AbstractTrackModel;
|
|
100
|
+
} & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/mobx-state-tree").IModelType<{
|
|
101
|
+
id: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
102
|
+
type: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
103
|
+
}, {
|
|
104
|
+
error: unknown;
|
|
105
|
+
statusMessage: string | undefined;
|
|
106
|
+
statusProgress: number | undefined;
|
|
107
|
+
} & {
|
|
108
|
+
readonly parentTrack: import("@jbrowse/core/util").AbstractTrackModel;
|
|
109
|
+
}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>;
|
|
110
|
+
}> | null;
|
|
111
|
+
readonly adapterConfig: Record<string, unknown>;
|
|
112
|
+
readonly isMinimized: boolean;
|
|
113
|
+
readonly hoveredFeature: unknown;
|
|
114
|
+
readonly featureNoun: string;
|
|
115
|
+
readonly featureWidgetType: {
|
|
116
|
+
type: string;
|
|
117
|
+
id: string;
|
|
118
|
+
};
|
|
119
|
+
} & {
|
|
120
|
+
renderingProps(): {
|
|
121
|
+
displayModel: import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
|
|
122
|
+
id: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
123
|
+
type: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
124
|
+
}> & {
|
|
125
|
+
error: unknown;
|
|
126
|
+
statusMessage: string | undefined;
|
|
127
|
+
statusProgress: number | undefined;
|
|
128
|
+
} & {
|
|
129
|
+
readonly parentTrack: import("@jbrowse/core/util").AbstractTrackModel;
|
|
130
|
+
} & {
|
|
131
|
+
readonly RenderingComponent: React.FC<{
|
|
132
|
+
model: import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
|
|
133
|
+
id: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
134
|
+
type: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
135
|
+
}> & {
|
|
136
|
+
error: unknown;
|
|
137
|
+
statusMessage: string | undefined;
|
|
138
|
+
statusProgress: number | undefined;
|
|
139
|
+
} & {
|
|
140
|
+
readonly parentTrack: import("@jbrowse/core/util").AbstractTrackModel;
|
|
141
|
+
} & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/mobx-state-tree").IModelType<{
|
|
142
|
+
id: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
143
|
+
type: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
144
|
+
}, {
|
|
145
|
+
error: unknown;
|
|
146
|
+
statusMessage: string | undefined;
|
|
147
|
+
statusProgress: number | undefined;
|
|
148
|
+
} & {
|
|
149
|
+
readonly parentTrack: import("@jbrowse/core/util").AbstractTrackModel;
|
|
150
|
+
}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>;
|
|
151
|
+
onHorizontalScroll?: (distance: number) => void;
|
|
152
|
+
blockState?: Record<string, unknown>;
|
|
153
|
+
}>;
|
|
154
|
+
readonly DisplayBlurb: React.FC<{
|
|
155
|
+
model: import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
|
|
156
|
+
id: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
157
|
+
type: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
158
|
+
}> & {
|
|
159
|
+
error: unknown;
|
|
160
|
+
statusMessage: string | undefined;
|
|
161
|
+
statusProgress: number | undefined;
|
|
162
|
+
} & {
|
|
163
|
+
readonly parentTrack: import("@jbrowse/core/util").AbstractTrackModel;
|
|
164
|
+
} & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/mobx-state-tree").IModelType<{
|
|
165
|
+
id: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
166
|
+
type: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
167
|
+
}, {
|
|
168
|
+
error: unknown;
|
|
169
|
+
statusMessage: string | undefined;
|
|
170
|
+
statusProgress: number | undefined;
|
|
171
|
+
} & {
|
|
172
|
+
readonly parentTrack: import("@jbrowse/core/util").AbstractTrackModel;
|
|
173
|
+
}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>;
|
|
174
|
+
}> | null;
|
|
175
|
+
readonly adapterConfig: Record<string, unknown>;
|
|
176
|
+
readonly isMinimized: boolean;
|
|
177
|
+
readonly hoveredFeature: unknown;
|
|
178
|
+
readonly featureNoun: string;
|
|
179
|
+
readonly featureWidgetType: {
|
|
180
|
+
type: string;
|
|
181
|
+
id: string;
|
|
182
|
+
};
|
|
183
|
+
} & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/mobx-state-tree").IModelType<{
|
|
184
|
+
id: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
185
|
+
type: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
186
|
+
}, {
|
|
187
|
+
error: unknown;
|
|
188
|
+
statusMessage: string | undefined;
|
|
189
|
+
statusProgress: number | undefined;
|
|
190
|
+
} & {
|
|
191
|
+
readonly parentTrack: import("@jbrowse/core/util").AbstractTrackModel;
|
|
192
|
+
} & {
|
|
193
|
+
readonly RenderingComponent: React.FC<{
|
|
194
|
+
model: import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
|
|
195
|
+
id: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
196
|
+
type: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
197
|
+
}> & {
|
|
198
|
+
error: unknown;
|
|
199
|
+
statusMessage: string | undefined;
|
|
200
|
+
statusProgress: number | undefined;
|
|
201
|
+
} & {
|
|
202
|
+
readonly parentTrack: import("@jbrowse/core/util").AbstractTrackModel;
|
|
203
|
+
} & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/mobx-state-tree").IModelType<{
|
|
204
|
+
id: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
205
|
+
type: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
206
|
+
}, {
|
|
207
|
+
error: unknown;
|
|
208
|
+
statusMessage: string | undefined;
|
|
209
|
+
statusProgress: number | undefined;
|
|
210
|
+
} & {
|
|
211
|
+
readonly parentTrack: import("@jbrowse/core/util").AbstractTrackModel;
|
|
212
|
+
}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>;
|
|
213
|
+
onHorizontalScroll?: (distance: number) => void;
|
|
214
|
+
blockState?: Record<string, unknown>;
|
|
215
|
+
}>;
|
|
216
|
+
readonly DisplayBlurb: React.FC<{
|
|
217
|
+
model: import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
|
|
218
|
+
id: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
219
|
+
type: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
220
|
+
}> & {
|
|
221
|
+
error: unknown;
|
|
222
|
+
statusMessage: string | undefined;
|
|
223
|
+
statusProgress: number | undefined;
|
|
224
|
+
} & {
|
|
225
|
+
readonly parentTrack: import("@jbrowse/core/util").AbstractTrackModel;
|
|
226
|
+
} & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/mobx-state-tree").IModelType<{
|
|
227
|
+
id: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
228
|
+
type: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
229
|
+
}, {
|
|
230
|
+
error: unknown;
|
|
231
|
+
statusMessage: string | undefined;
|
|
232
|
+
statusProgress: number | undefined;
|
|
233
|
+
} & {
|
|
234
|
+
readonly parentTrack: import("@jbrowse/core/util").AbstractTrackModel;
|
|
235
|
+
}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>;
|
|
236
|
+
}> | null;
|
|
237
|
+
readonly adapterConfig: Record<string, unknown>;
|
|
238
|
+
readonly isMinimized: boolean;
|
|
239
|
+
readonly hoveredFeature: unknown;
|
|
240
|
+
readonly featureNoun: string;
|
|
241
|
+
readonly featureWidgetType: {
|
|
242
|
+
type: string;
|
|
243
|
+
id: string;
|
|
244
|
+
};
|
|
245
|
+
}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>;
|
|
246
|
+
};
|
|
247
|
+
trackMenuItems(): import("@jbrowse/core/ui").MenuItem[];
|
|
248
|
+
} & {
|
|
249
|
+
setStatusMessage(status?: import("@jbrowse/core/util").RpcStatus): void;
|
|
250
|
+
setError(error?: unknown): void;
|
|
251
|
+
clearHoveredFeature(): void;
|
|
252
|
+
reload(): void;
|
|
253
|
+
applyDisplaySettings(settings: Record<string, unknown>, options?: {
|
|
254
|
+
allowSetters?: boolean;
|
|
255
|
+
}): {
|
|
256
|
+
applied: string[];
|
|
257
|
+
unapplied: import("@jbrowse/core/util/unknownSnapshotKeys").UnappliedSetting[];
|
|
258
|
+
failed: {
|
|
259
|
+
key: string;
|
|
260
|
+
error: string;
|
|
261
|
+
}[];
|
|
262
|
+
};
|
|
263
|
+
} & {
|
|
264
|
+
scrollTop: number;
|
|
265
|
+
} & {
|
|
266
|
+
readonly height: number;
|
|
267
|
+
readonly resizing: boolean;
|
|
268
|
+
readonly scrollContentHeight: number;
|
|
269
|
+
readonly scrollViewportHeight: number;
|
|
270
|
+
} & {
|
|
271
|
+
readonly scrollableHeight: number;
|
|
272
|
+
} & {
|
|
273
|
+
setScrollTop(scrollTop: number): void;
|
|
274
|
+
setHeight(displayHeight: number): number;
|
|
275
|
+
resizeHeight(distance: number): number;
|
|
276
|
+
} & {
|
|
277
|
+
expandToContentHeight(): number;
|
|
278
|
+
afterAttach(): void;
|
|
279
|
+
} & {
|
|
280
|
+
forceLoadTrack: boolean;
|
|
281
|
+
byteEstimate: import("@jbrowse/display-kit/regionTooLargeUtils").ByteEstimate | undefined;
|
|
282
|
+
gateMeasuredViewportKey: unknown;
|
|
283
|
+
} & {
|
|
284
|
+
readonly gateEnabled: boolean;
|
|
285
|
+
readonly byteGateAdapterConfig: Record<string, unknown>;
|
|
286
|
+
readonly configuredFetchSizeLimit: number | undefined;
|
|
287
|
+
readonly densityTooLarge: boolean;
|
|
288
|
+
readonly byteGateAdapterPath: import("@jbrowse/display-kit/RegionTooLargeMixin").ByteGateAdapterPath;
|
|
289
|
+
readonly adapterFetchSizeLimit: number | undefined;
|
|
290
|
+
readonly configForceLoad: boolean;
|
|
291
|
+
readonly gateViewportSpanBp: number | undefined;
|
|
292
|
+
readonly gateViewport: import("@jbrowse/display-kit/regionTooLargeUtils").GateViewport | undefined;
|
|
293
|
+
} & {
|
|
294
|
+
readonly aboveForceLoadFloor: boolean;
|
|
295
|
+
readonly gateExempt: boolean;
|
|
296
|
+
readonly estimatedFetchBytes: number | undefined;
|
|
297
|
+
readonly gateMeasurementStale: boolean;
|
|
298
|
+
} & {
|
|
299
|
+
readonly gateByteLimit: number;
|
|
300
|
+
readonly gateActive: boolean;
|
|
301
|
+
} & {
|
|
302
|
+
readonly densityGateActive: boolean;
|
|
303
|
+
resolvedByteLimit(): number | undefined;
|
|
304
|
+
gateFetchState(): import("@jbrowse/display-kit/regionTooLargeUtils").GateFetchState;
|
|
305
|
+
} & {
|
|
306
|
+
readonly tooLargeStatus: import("@jbrowse/display-kit/regionTooLargeUtils").RegionTooLargeStatus;
|
|
307
|
+
} & {
|
|
308
|
+
readonly regionTooLarge: boolean;
|
|
309
|
+
readonly regionTooLargeReason: string;
|
|
310
|
+
readonly zoomCanReleaseGate: boolean;
|
|
311
|
+
} & {
|
|
312
|
+
readonly gateSkipsMeasuredViewport: boolean;
|
|
313
|
+
} & {
|
|
314
|
+
clearByteEstimate(): void;
|
|
315
|
+
clearGateMeasurements(): void;
|
|
316
|
+
setForceLoadTrack(flag: boolean): void;
|
|
317
|
+
} & {
|
|
318
|
+
commitFetchBytes(perRegionBytes: (number | undefined)[], issued: import("@jbrowse/display-kit/regionTooLargeUtils").GateFetchState, partial?: boolean): void;
|
|
319
|
+
} & {
|
|
320
|
+
forceLoad(): void;
|
|
321
|
+
} & {
|
|
322
|
+
afterAttach(): void;
|
|
323
|
+
} & {
|
|
324
|
+
canvasDrawn: boolean;
|
|
325
|
+
paintCount: number;
|
|
326
|
+
currentRenderingBackend: unknown;
|
|
327
|
+
renderTick: number;
|
|
328
|
+
autorunsInstalled: boolean;
|
|
329
|
+
renderError: unknown;
|
|
330
|
+
offScreen: boolean;
|
|
331
|
+
} & {
|
|
332
|
+
readonly canRender: boolean;
|
|
333
|
+
readonly rendersCanvas: boolean;
|
|
334
|
+
readonly paintInert: boolean;
|
|
335
|
+
readonly paintSuperseded: boolean;
|
|
336
|
+
} & {
|
|
337
|
+
readonly painted: boolean;
|
|
338
|
+
} & {
|
|
339
|
+
markCanvasDrawn(): void;
|
|
340
|
+
resetCanvasDrawn(): void;
|
|
341
|
+
stopRenderingBackend(): void;
|
|
342
|
+
renderNow(): void;
|
|
343
|
+
setOffScreen(offScreen: boolean): void;
|
|
344
|
+
setRenderError(error: unknown): void;
|
|
345
|
+
} & {
|
|
346
|
+
attachRenderingBackend<B>(backend: B, setup: () => import("@jbrowse/render-core/RenderLifecycleMixin").RenderingBackendCallbacks<B>): void;
|
|
347
|
+
} & {
|
|
348
|
+
activeSignal: AbortSignal | undefined;
|
|
349
|
+
fetchGeneration: number;
|
|
350
|
+
reloadCounter: number;
|
|
351
|
+
statusWindow: import("@jbrowse/core/util").StatusWindow;
|
|
352
|
+
error: unknown;
|
|
353
|
+
statusMessage: string | undefined;
|
|
354
|
+
statusProgress: number | undefined;
|
|
355
|
+
fetchCanceled: boolean;
|
|
356
|
+
} & {
|
|
357
|
+
fetchRotation: {
|
|
358
|
+
begin(): import("@jbrowse/core/util").ActiveFetch;
|
|
359
|
+
cancel: () => void;
|
|
360
|
+
dispose(): void;
|
|
361
|
+
};
|
|
362
|
+
} & {
|
|
363
|
+
readonly isLoading: boolean;
|
|
364
|
+
} & {
|
|
365
|
+
readonly isLoadingOrCanceled: boolean;
|
|
366
|
+
readonly fetchInert: boolean;
|
|
367
|
+
readonly awaitingPrerequisite: boolean;
|
|
368
|
+
readonly awaitingDependentData: boolean;
|
|
369
|
+
} & {
|
|
370
|
+
readonly settingsFetchInputs: unknown;
|
|
371
|
+
} & {
|
|
372
|
+
setError(error?: unknown): void;
|
|
373
|
+
setStatusMessage(status?: import("@jbrowse/core/util").RpcStatus): void;
|
|
374
|
+
} & {
|
|
375
|
+
stopActiveFetch(): void;
|
|
376
|
+
openStatusStream(isCurrent: () => boolean): import("@jbrowse/core/util").StatusStream;
|
|
377
|
+
} & {
|
|
378
|
+
cancelFetch(): void;
|
|
379
|
+
cancelFetchByUser(): void;
|
|
380
|
+
reload(): void;
|
|
381
|
+
beforeDestroy(): void;
|
|
382
|
+
beginFetch(signal: AbortSignal): void;
|
|
383
|
+
endFetch(current: boolean): void;
|
|
384
|
+
} & {
|
|
385
|
+
runFetch: (work: (ctx: import("@jbrowse/display-kit/FetchMixin").FetchContext) => Promise<void>) => Promise<void>;
|
|
386
|
+
} & {
|
|
387
|
+
loadedRegions: import("mobx").ObservableMap<number, import("@jbrowse/display-kit/regionCommit").LoadedRegion>;
|
|
388
|
+
} & {
|
|
389
|
+
readonly host: import("@jbrowse/display-kit/regionHost").RegionHost;
|
|
390
|
+
readonly canvasWidthPx: number;
|
|
391
|
+
readonly settledSubPixelBinBp: number;
|
|
392
|
+
readonly canRender: boolean;
|
|
393
|
+
readonly rendersCanvas: boolean;
|
|
394
|
+
readonly trackVisibleRegions: import("@jbrowse/display-kit/regionHost").VisibleRegion[];
|
|
395
|
+
readonly viewportWithinLoadedData: boolean;
|
|
396
|
+
readonly viewportEmpty: boolean;
|
|
397
|
+
readonly fetchSuspended: boolean;
|
|
398
|
+
readonly layoutReady: boolean;
|
|
399
|
+
regionHasData(displayedRegionIndex: number): boolean;
|
|
400
|
+
readonly dataSuperseded: boolean;
|
|
401
|
+
readonly renderBlocks: import("@jbrowse/render-core/renderBlock").RenderBlock[];
|
|
402
|
+
} & {
|
|
403
|
+
readonly fetchInputs: import("@jbrowse/display-kit/fetchInputs").FetchInputs;
|
|
404
|
+
} & {
|
|
405
|
+
readonly regionPayloads: ReadonlyMap<number, unknown>;
|
|
406
|
+
readonly hasRegionData: boolean;
|
|
407
|
+
} & {
|
|
408
|
+
isCacheValid(displayedRegionIndex: number): boolean;
|
|
409
|
+
} & {
|
|
410
|
+
readonly staleSettingsDrawn: boolean;
|
|
411
|
+
readonly dataCurrent: boolean;
|
|
412
|
+
readonly loadedAssembly: import("@jbrowse/core/assemblyManager/assembly").Assembly | undefined;
|
|
413
|
+
} & {
|
|
414
|
+
readonly phaseViewportCurrent: boolean;
|
|
415
|
+
} & {
|
|
416
|
+
readonly svgReady: boolean;
|
|
417
|
+
readonly paintInert: boolean;
|
|
418
|
+
readonly paintSuperseded: boolean;
|
|
419
|
+
readonly displayPhase: import("@jbrowse/render-core/displayPhase").DisplayPhase;
|
|
420
|
+
} & {
|
|
421
|
+
setLoadedRegion(displayedRegionIndex: number, region: import("@jbrowse/core/util").Region, payload: import("@jbrowse/display-kit/regionCommit").RegionPayload | undefined, fetchInputs?: import("@jbrowse/display-kit/fetchInputs").FetchInputs): void;
|
|
422
|
+
evictRegionStore(keep: ReadonlySet<number>): void;
|
|
423
|
+
dropLoadedRegion(displayedRegionIndex: number): void;
|
|
424
|
+
clearDisplaySpecificData(): void;
|
|
425
|
+
clearSettingsBakedData(): void;
|
|
426
|
+
} & {
|
|
427
|
+
clearAllRpcData(): void;
|
|
428
|
+
invalidateSettings(): void;
|
|
429
|
+
reload(): void;
|
|
430
|
+
} & {
|
|
431
|
+
fetchNeeded(_needed: IndexedRegion[]): void;
|
|
432
|
+
} & {
|
|
433
|
+
fetchRegions(needed: IndexedRegion[], work: (ctx: import("@jbrowse/display-kit/regionCommit").RegionFetchContext) => Promise<void>): Promise<void>;
|
|
434
|
+
} & {
|
|
435
|
+
afterAttach(): void;
|
|
436
|
+
} & {
|
|
437
|
+
/** every `fetchNeeded` call, as the region list it was handed */
|
|
438
|
+
fetchLog: IndexedRegion[][];
|
|
439
|
+
/**
|
|
440
|
+
* What `zoomFetchArgs` answers. A volatile, not a `control` knob, and
|
|
441
|
+
* that is the point: a real display's args read view state, so the
|
|
442
|
+
* autorun re-runs when they move. A plain closure value would be
|
|
443
|
+
* memoized by the computed and never invalidate.
|
|
444
|
+
*/
|
|
445
|
+
fetchKey: string;
|
|
446
|
+
} & {
|
|
447
|
+
regionHasData(displayedRegionIndex: number): boolean;
|
|
448
|
+
} & {
|
|
449
|
+
/** the fetched payloads, off the foundation's store */
|
|
450
|
+
readonly loadedData: ReadonlyMap<number, string>;
|
|
451
|
+
readonly gateEnabled: boolean;
|
|
452
|
+
readonly densityTooLarge: boolean;
|
|
453
|
+
zoomFetchArgs(): {
|
|
454
|
+
key: string;
|
|
455
|
+
};
|
|
456
|
+
} & {
|
|
457
|
+
setFetchKey(key: string): void;
|
|
458
|
+
} & {
|
|
459
|
+
fetchNeeded(needed: IndexedRegion[]): Promise<void>;
|
|
460
|
+
}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>;
|
|
461
|
+
export type PerRegionTestDisplay = Instance<ReturnType<typeof makeStateModel>>;
|
|
462
|
+
/**
|
|
463
|
+
* A real `MultiRegionDisplayMixin` display inside a real `LinearGenomeView`, so
|
|
464
|
+
* `afterAttach` runs and `installPerRegionFetchAutoruns` installs for real.
|
|
465
|
+
*/
|
|
466
|
+
export declare function createPerRegionTestEnvironment({ measuresBytes, gate, estimateBytes, ...opts }?: Partial<Parameters<typeof createDisplayTestEnvironment>[0]> & {
|
|
467
|
+
/** shorthand for `gate: { gateEnabled: true }` */
|
|
468
|
+
measuresBytes?: boolean;
|
|
469
|
+
/** which of the gate's opt-in hooks the display overrides */
|
|
470
|
+
gate?: GateOptIns;
|
|
471
|
+
/**
|
|
472
|
+
* What the display's fetch measures, set before the display exists. A test
|
|
473
|
+
* that wants the banner has to pass it here rather than raise
|
|
474
|
+
* `control.estimateBytes` afterwards: the fetch autorun is leading-edge, so
|
|
475
|
+
* the first fetch runs the moment the display attaches, and a later write
|
|
476
|
+
* would be measuring a display that had already loaded at the default.
|
|
477
|
+
*/
|
|
478
|
+
estimateBytes?: number;
|
|
479
|
+
}): {
|
|
480
|
+
createDisplay: ({ displayedRegions, displaySnapshot, skipWidth, regionsInSnapshot, }?: {
|
|
481
|
+
displayedRegions?: import("@jbrowse/core/util").Region[];
|
|
482
|
+
displaySnapshot?: Record<string, unknown>;
|
|
483
|
+
skipWidth?: boolean;
|
|
484
|
+
regionsInSnapshot?: boolean;
|
|
485
|
+
}) => {
|
|
486
|
+
session: import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
|
|
487
|
+
name: import("@jbrowse/mobx-state-tree").IType<string | undefined, string, string>;
|
|
488
|
+
view: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").IAnyModelType>;
|
|
489
|
+
configuration: import("@jbrowse/mobx-state-tree").IMapType<import("@jbrowse/mobx-state-tree").IType<any, any, any>>;
|
|
490
|
+
}> & {
|
|
491
|
+
rpcManager: unknown;
|
|
492
|
+
assemblyManager: unknown;
|
|
493
|
+
theme: import("@mui/material").Theme;
|
|
494
|
+
palette: import("@jbrowse/core/ui/palette").JBrowsePalette;
|
|
495
|
+
animationMode: import("@jbrowse/core/util").AnimationMode;
|
|
496
|
+
queuedDialogs: import("@jbrowse/display-test-utils").QueuedDialog[];
|
|
497
|
+
selection: unknown;
|
|
498
|
+
notifications: {
|
|
499
|
+
message: string;
|
|
500
|
+
level?: string;
|
|
501
|
+
actions: import("@jbrowse/core/util").SnackAction[];
|
|
502
|
+
}[];
|
|
503
|
+
widgets: Map<string, unknown>;
|
|
504
|
+
openedWidgets: Record<string, unknown>[];
|
|
505
|
+
} & {
|
|
506
|
+
getTrackById: (id: string) => unknown;
|
|
507
|
+
baseTrackConfig: (id: string) => {
|
|
508
|
+
trackId: string;
|
|
509
|
+
[key: string]: unknown;
|
|
510
|
+
} | undefined;
|
|
511
|
+
} & {
|
|
512
|
+
setView(view: any): any;
|
|
513
|
+
notify(message: string, level?: string, action?: import("@jbrowse/core/util").SnackAction | import("@jbrowse/core/util").SnackAction[]): void;
|
|
514
|
+
notifyError(message: string): void;
|
|
515
|
+
queueDialog(cb: (handleClose: () => void) => import("@jbrowse/display-test-utils").QueuedDialog): void;
|
|
516
|
+
setSelection(thing: unknown): void;
|
|
517
|
+
addWidget(type: string, id: string, initialState?: Record<string, unknown>): {
|
|
518
|
+
type: string;
|
|
519
|
+
id: string;
|
|
520
|
+
};
|
|
521
|
+
showWidget(_widget: unknown): void;
|
|
522
|
+
} & {
|
|
523
|
+
openWidget(type: string, id: string, initialState?: Record<string, unknown>): {
|
|
524
|
+
type: string;
|
|
525
|
+
id: string;
|
|
526
|
+
};
|
|
527
|
+
} & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/mobx-state-tree").IModelType<{
|
|
528
|
+
name: import("@jbrowse/mobx-state-tree").IType<string | undefined, string, string>;
|
|
529
|
+
view: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").IAnyModelType>;
|
|
530
|
+
configuration: import("@jbrowse/mobx-state-tree").IMapType<import("@jbrowse/mobx-state-tree").IType<any, any, any>>;
|
|
531
|
+
}, {
|
|
532
|
+
rpcManager: unknown;
|
|
533
|
+
assemblyManager: unknown;
|
|
534
|
+
theme: import("@mui/material").Theme;
|
|
535
|
+
palette: import("@jbrowse/core/ui/palette").JBrowsePalette;
|
|
536
|
+
animationMode: import("@jbrowse/core/util").AnimationMode;
|
|
537
|
+
queuedDialogs: import("@jbrowse/display-test-utils").QueuedDialog[];
|
|
538
|
+
selection: unknown;
|
|
539
|
+
notifications: {
|
|
540
|
+
message: string;
|
|
541
|
+
level?: string;
|
|
542
|
+
actions: import("@jbrowse/core/util").SnackAction[];
|
|
543
|
+
}[];
|
|
544
|
+
widgets: Map<string, unknown>;
|
|
545
|
+
openedWidgets: Record<string, unknown>[];
|
|
546
|
+
} & {
|
|
547
|
+
getTrackById: (id: string) => unknown;
|
|
548
|
+
baseTrackConfig: (id: string) => {
|
|
549
|
+
trackId: string;
|
|
550
|
+
[key: string]: unknown;
|
|
551
|
+
} | undefined;
|
|
552
|
+
} & {
|
|
553
|
+
setView(view: any): any;
|
|
554
|
+
notify(message: string, level?: string, action?: import("@jbrowse/core/util").SnackAction | import("@jbrowse/core/util").SnackAction[]): void;
|
|
555
|
+
notifyError(message: string): void;
|
|
556
|
+
queueDialog(cb: (handleClose: () => void) => import("@jbrowse/display-test-utils").QueuedDialog): void;
|
|
557
|
+
setSelection(thing: unknown): void;
|
|
558
|
+
addWidget(type: string, id: string, initialState?: Record<string, unknown>): {
|
|
559
|
+
type: string;
|
|
560
|
+
id: string;
|
|
561
|
+
};
|
|
562
|
+
showWidget(_widget: unknown): void;
|
|
563
|
+
} & {
|
|
564
|
+
openWidget(type: string, id: string, initialState?: Record<string, unknown>): {
|
|
565
|
+
type: string;
|
|
566
|
+
id: string;
|
|
567
|
+
};
|
|
568
|
+
}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>;
|
|
569
|
+
view: any;
|
|
570
|
+
track: any;
|
|
571
|
+
display: import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<Omit<Omit<Omit<{
|
|
572
|
+
id: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
573
|
+
type: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
574
|
+
}, never>, never> & Omit<Omit<Omit<{}, never>, never>, never>, "configuration" | "type"> & {
|
|
575
|
+
type: import("@jbrowse/mobx-state-tree").ILiteralType<"PerRegionTestDisplay">;
|
|
576
|
+
configuration: import("@jbrowse/core/configuration/configurationSchema").IConfigurationReference<AnyConfigurationSchemaType>;
|
|
577
|
+
}> & {
|
|
578
|
+
error: unknown;
|
|
579
|
+
statusMessage: string | undefined;
|
|
580
|
+
statusProgress: number | undefined;
|
|
581
|
+
} & {
|
|
582
|
+
readonly parentTrack: import("@jbrowse/core/util").AbstractTrackModel;
|
|
583
|
+
} & {
|
|
584
|
+
readonly RenderingComponent: React.FC<{
|
|
585
|
+
model: import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
|
|
586
|
+
id: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
587
|
+
type: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
588
|
+
}> & {
|
|
589
|
+
error: unknown;
|
|
590
|
+
statusMessage: string | undefined;
|
|
591
|
+
statusProgress: number | undefined;
|
|
592
|
+
} & {
|
|
593
|
+
readonly parentTrack: import("@jbrowse/core/util").AbstractTrackModel;
|
|
594
|
+
} & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/mobx-state-tree").IModelType<{
|
|
595
|
+
id: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
596
|
+
type: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
597
|
+
}, {
|
|
598
|
+
error: unknown;
|
|
599
|
+
statusMessage: string | undefined;
|
|
600
|
+
statusProgress: number | undefined;
|
|
601
|
+
} & {
|
|
602
|
+
readonly parentTrack: import("@jbrowse/core/util").AbstractTrackModel;
|
|
603
|
+
}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>;
|
|
604
|
+
onHorizontalScroll?: (distance: number) => void;
|
|
605
|
+
blockState?: Record<string, unknown>;
|
|
606
|
+
}>;
|
|
607
|
+
readonly DisplayBlurb: React.FC<{
|
|
608
|
+
model: import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
|
|
609
|
+
id: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
610
|
+
type: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
611
|
+
}> & {
|
|
612
|
+
error: unknown;
|
|
613
|
+
statusMessage: string | undefined;
|
|
614
|
+
statusProgress: number | undefined;
|
|
615
|
+
} & {
|
|
616
|
+
readonly parentTrack: import("@jbrowse/core/util").AbstractTrackModel;
|
|
617
|
+
} & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/mobx-state-tree").IModelType<{
|
|
618
|
+
id: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
619
|
+
type: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
620
|
+
}, {
|
|
621
|
+
error: unknown;
|
|
622
|
+
statusMessage: string | undefined;
|
|
623
|
+
statusProgress: number | undefined;
|
|
624
|
+
} & {
|
|
625
|
+
readonly parentTrack: import("@jbrowse/core/util").AbstractTrackModel;
|
|
626
|
+
}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>;
|
|
627
|
+
}> | null;
|
|
628
|
+
readonly adapterConfig: Record<string, unknown>;
|
|
629
|
+
readonly isMinimized: boolean;
|
|
630
|
+
readonly hoveredFeature: unknown;
|
|
631
|
+
readonly featureNoun: string;
|
|
632
|
+
readonly featureWidgetType: {
|
|
633
|
+
type: string;
|
|
634
|
+
id: string;
|
|
635
|
+
};
|
|
636
|
+
} & {
|
|
637
|
+
renderingProps(): {
|
|
638
|
+
displayModel: import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
|
|
639
|
+
id: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
640
|
+
type: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
641
|
+
}> & {
|
|
642
|
+
error: unknown;
|
|
643
|
+
statusMessage: string | undefined;
|
|
644
|
+
statusProgress: number | undefined;
|
|
645
|
+
} & {
|
|
646
|
+
readonly parentTrack: import("@jbrowse/core/util").AbstractTrackModel;
|
|
647
|
+
} & {
|
|
648
|
+
readonly RenderingComponent: React.FC<{
|
|
649
|
+
model: import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
|
|
650
|
+
id: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
651
|
+
type: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
652
|
+
}> & {
|
|
653
|
+
error: unknown;
|
|
654
|
+
statusMessage: string | undefined;
|
|
655
|
+
statusProgress: number | undefined;
|
|
656
|
+
} & {
|
|
657
|
+
readonly parentTrack: import("@jbrowse/core/util").AbstractTrackModel;
|
|
658
|
+
} & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/mobx-state-tree").IModelType<{
|
|
659
|
+
id: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
660
|
+
type: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
661
|
+
}, {
|
|
662
|
+
error: unknown;
|
|
663
|
+
statusMessage: string | undefined;
|
|
664
|
+
statusProgress: number | undefined;
|
|
665
|
+
} & {
|
|
666
|
+
readonly parentTrack: import("@jbrowse/core/util").AbstractTrackModel;
|
|
667
|
+
}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>;
|
|
668
|
+
onHorizontalScroll?: (distance: number) => void;
|
|
669
|
+
blockState?: Record<string, unknown>;
|
|
670
|
+
}>;
|
|
671
|
+
readonly DisplayBlurb: React.FC<{
|
|
672
|
+
model: import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
|
|
673
|
+
id: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
674
|
+
type: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
675
|
+
}> & {
|
|
676
|
+
error: unknown;
|
|
677
|
+
statusMessage: string | undefined;
|
|
678
|
+
statusProgress: number | undefined;
|
|
679
|
+
} & {
|
|
680
|
+
readonly parentTrack: import("@jbrowse/core/util").AbstractTrackModel;
|
|
681
|
+
} & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/mobx-state-tree").IModelType<{
|
|
682
|
+
id: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
683
|
+
type: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
684
|
+
}, {
|
|
685
|
+
error: unknown;
|
|
686
|
+
statusMessage: string | undefined;
|
|
687
|
+
statusProgress: number | undefined;
|
|
688
|
+
} & {
|
|
689
|
+
readonly parentTrack: import("@jbrowse/core/util").AbstractTrackModel;
|
|
690
|
+
}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>;
|
|
691
|
+
}> | null;
|
|
692
|
+
readonly adapterConfig: Record<string, unknown>;
|
|
693
|
+
readonly isMinimized: boolean;
|
|
694
|
+
readonly hoveredFeature: unknown;
|
|
695
|
+
readonly featureNoun: string;
|
|
696
|
+
readonly featureWidgetType: {
|
|
697
|
+
type: string;
|
|
698
|
+
id: string;
|
|
699
|
+
};
|
|
700
|
+
} & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/mobx-state-tree").IModelType<{
|
|
701
|
+
id: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
702
|
+
type: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
703
|
+
}, {
|
|
704
|
+
error: unknown;
|
|
705
|
+
statusMessage: string | undefined;
|
|
706
|
+
statusProgress: number | undefined;
|
|
707
|
+
} & {
|
|
708
|
+
readonly parentTrack: import("@jbrowse/core/util").AbstractTrackModel;
|
|
709
|
+
} & {
|
|
710
|
+
readonly RenderingComponent: React.FC<{
|
|
711
|
+
model: import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
|
|
712
|
+
id: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
713
|
+
type: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
714
|
+
}> & {
|
|
715
|
+
error: unknown;
|
|
716
|
+
statusMessage: string | undefined;
|
|
717
|
+
statusProgress: number | undefined;
|
|
718
|
+
} & {
|
|
719
|
+
readonly parentTrack: import("@jbrowse/core/util").AbstractTrackModel;
|
|
720
|
+
} & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/mobx-state-tree").IModelType<{
|
|
721
|
+
id: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
722
|
+
type: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
723
|
+
}, {
|
|
724
|
+
error: unknown;
|
|
725
|
+
statusMessage: string | undefined;
|
|
726
|
+
statusProgress: number | undefined;
|
|
727
|
+
} & {
|
|
728
|
+
readonly parentTrack: import("@jbrowse/core/util").AbstractTrackModel;
|
|
729
|
+
}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>;
|
|
730
|
+
onHorizontalScroll?: (distance: number) => void;
|
|
731
|
+
blockState?: Record<string, unknown>;
|
|
732
|
+
}>;
|
|
733
|
+
readonly DisplayBlurb: React.FC<{
|
|
734
|
+
model: import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
|
|
735
|
+
id: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
736
|
+
type: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
737
|
+
}> & {
|
|
738
|
+
error: unknown;
|
|
739
|
+
statusMessage: string | undefined;
|
|
740
|
+
statusProgress: number | undefined;
|
|
741
|
+
} & {
|
|
742
|
+
readonly parentTrack: import("@jbrowse/core/util").AbstractTrackModel;
|
|
743
|
+
} & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/mobx-state-tree").IModelType<{
|
|
744
|
+
id: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
745
|
+
type: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
746
|
+
}, {
|
|
747
|
+
error: unknown;
|
|
748
|
+
statusMessage: string | undefined;
|
|
749
|
+
statusProgress: number | undefined;
|
|
750
|
+
} & {
|
|
751
|
+
readonly parentTrack: import("@jbrowse/core/util").AbstractTrackModel;
|
|
752
|
+
}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>;
|
|
753
|
+
}> | null;
|
|
754
|
+
readonly adapterConfig: Record<string, unknown>;
|
|
755
|
+
readonly isMinimized: boolean;
|
|
756
|
+
readonly hoveredFeature: unknown;
|
|
757
|
+
readonly featureNoun: string;
|
|
758
|
+
readonly featureWidgetType: {
|
|
759
|
+
type: string;
|
|
760
|
+
id: string;
|
|
761
|
+
};
|
|
762
|
+
}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>;
|
|
763
|
+
};
|
|
764
|
+
trackMenuItems(): import("@jbrowse/core/ui").MenuItem[];
|
|
765
|
+
} & {
|
|
766
|
+
setStatusMessage(status?: import("@jbrowse/core/util").RpcStatus): void;
|
|
767
|
+
setError(error?: unknown): void;
|
|
768
|
+
clearHoveredFeature(): void;
|
|
769
|
+
reload(): void;
|
|
770
|
+
applyDisplaySettings(settings: Record<string, unknown>, options?: {
|
|
771
|
+
allowSetters?: boolean;
|
|
772
|
+
}): {
|
|
773
|
+
applied: string[];
|
|
774
|
+
unapplied: import("@jbrowse/core/util/unknownSnapshotKeys").UnappliedSetting[];
|
|
775
|
+
failed: {
|
|
776
|
+
key: string;
|
|
777
|
+
error: string;
|
|
778
|
+
}[];
|
|
779
|
+
};
|
|
780
|
+
} & {
|
|
781
|
+
scrollTop: number;
|
|
782
|
+
} & {
|
|
783
|
+
readonly height: number;
|
|
784
|
+
readonly resizing: boolean;
|
|
785
|
+
readonly scrollContentHeight: number;
|
|
786
|
+
readonly scrollViewportHeight: number;
|
|
787
|
+
} & {
|
|
788
|
+
readonly scrollableHeight: number;
|
|
789
|
+
} & {
|
|
790
|
+
setScrollTop(scrollTop: number): void;
|
|
791
|
+
setHeight(displayHeight: number): number;
|
|
792
|
+
resizeHeight(distance: number): number;
|
|
793
|
+
} & {
|
|
794
|
+
expandToContentHeight(): number;
|
|
795
|
+
afterAttach(): void;
|
|
796
|
+
} & {
|
|
797
|
+
forceLoadTrack: boolean;
|
|
798
|
+
byteEstimate: import("@jbrowse/display-kit/regionTooLargeUtils").ByteEstimate | undefined;
|
|
799
|
+
gateMeasuredViewportKey: unknown;
|
|
800
|
+
} & {
|
|
801
|
+
readonly gateEnabled: boolean;
|
|
802
|
+
readonly byteGateAdapterConfig: Record<string, unknown>;
|
|
803
|
+
readonly configuredFetchSizeLimit: number | undefined;
|
|
804
|
+
readonly densityTooLarge: boolean;
|
|
805
|
+
readonly byteGateAdapterPath: import("@jbrowse/display-kit/RegionTooLargeMixin").ByteGateAdapterPath;
|
|
806
|
+
readonly adapterFetchSizeLimit: number | undefined;
|
|
807
|
+
readonly configForceLoad: boolean;
|
|
808
|
+
readonly gateViewportSpanBp: number | undefined;
|
|
809
|
+
readonly gateViewport: import("@jbrowse/display-kit/regionTooLargeUtils").GateViewport | undefined;
|
|
810
|
+
} & {
|
|
811
|
+
readonly aboveForceLoadFloor: boolean;
|
|
812
|
+
readonly gateExempt: boolean;
|
|
813
|
+
readonly estimatedFetchBytes: number | undefined;
|
|
814
|
+
readonly gateMeasurementStale: boolean;
|
|
815
|
+
} & {
|
|
816
|
+
readonly gateByteLimit: number;
|
|
817
|
+
readonly gateActive: boolean;
|
|
818
|
+
} & {
|
|
819
|
+
readonly densityGateActive: boolean;
|
|
820
|
+
resolvedByteLimit(): number | undefined;
|
|
821
|
+
gateFetchState(): import("@jbrowse/display-kit/regionTooLargeUtils").GateFetchState;
|
|
822
|
+
} & {
|
|
823
|
+
readonly tooLargeStatus: import("@jbrowse/display-kit/regionTooLargeUtils").RegionTooLargeStatus;
|
|
824
|
+
} & {
|
|
825
|
+
readonly regionTooLarge: boolean;
|
|
826
|
+
readonly regionTooLargeReason: string;
|
|
827
|
+
readonly zoomCanReleaseGate: boolean;
|
|
828
|
+
} & {
|
|
829
|
+
readonly gateSkipsMeasuredViewport: boolean;
|
|
830
|
+
} & {
|
|
831
|
+
clearByteEstimate(): void;
|
|
832
|
+
clearGateMeasurements(): void;
|
|
833
|
+
setForceLoadTrack(flag: boolean): void;
|
|
834
|
+
} & {
|
|
835
|
+
commitFetchBytes(perRegionBytes: (number | undefined)[], issued: import("@jbrowse/display-kit/regionTooLargeUtils").GateFetchState, partial?: boolean): void;
|
|
836
|
+
} & {
|
|
837
|
+
forceLoad(): void;
|
|
838
|
+
} & {
|
|
839
|
+
afterAttach(): void;
|
|
840
|
+
} & {
|
|
841
|
+
canvasDrawn: boolean;
|
|
842
|
+
paintCount: number;
|
|
843
|
+
currentRenderingBackend: unknown;
|
|
844
|
+
renderTick: number;
|
|
845
|
+
autorunsInstalled: boolean;
|
|
846
|
+
renderError: unknown;
|
|
847
|
+
offScreen: boolean;
|
|
848
|
+
} & {
|
|
849
|
+
readonly canRender: boolean;
|
|
850
|
+
readonly rendersCanvas: boolean;
|
|
851
|
+
readonly paintInert: boolean;
|
|
852
|
+
readonly paintSuperseded: boolean;
|
|
853
|
+
} & {
|
|
854
|
+
readonly painted: boolean;
|
|
855
|
+
} & {
|
|
856
|
+
markCanvasDrawn(): void;
|
|
857
|
+
resetCanvasDrawn(): void;
|
|
858
|
+
stopRenderingBackend(): void;
|
|
859
|
+
renderNow(): void;
|
|
860
|
+
setOffScreen(offScreen: boolean): void;
|
|
861
|
+
setRenderError(error: unknown): void;
|
|
862
|
+
} & {
|
|
863
|
+
attachRenderingBackend<B>(backend: B, setup: () => import("@jbrowse/render-core/RenderLifecycleMixin").RenderingBackendCallbacks<B>): void;
|
|
864
|
+
} & {
|
|
865
|
+
activeSignal: AbortSignal | undefined;
|
|
866
|
+
fetchGeneration: number;
|
|
867
|
+
reloadCounter: number;
|
|
868
|
+
statusWindow: import("@jbrowse/core/util").StatusWindow;
|
|
869
|
+
error: unknown;
|
|
870
|
+
statusMessage: string | undefined;
|
|
871
|
+
statusProgress: number | undefined;
|
|
872
|
+
fetchCanceled: boolean;
|
|
873
|
+
} & {
|
|
874
|
+
fetchRotation: {
|
|
875
|
+
begin(): import("@jbrowse/core/util").ActiveFetch;
|
|
876
|
+
cancel: () => void;
|
|
877
|
+
dispose(): void;
|
|
878
|
+
};
|
|
879
|
+
} & {
|
|
880
|
+
readonly isLoading: boolean;
|
|
881
|
+
} & {
|
|
882
|
+
readonly isLoadingOrCanceled: boolean;
|
|
883
|
+
readonly fetchInert: boolean;
|
|
884
|
+
readonly awaitingPrerequisite: boolean;
|
|
885
|
+
readonly awaitingDependentData: boolean;
|
|
886
|
+
} & {
|
|
887
|
+
readonly settingsFetchInputs: unknown;
|
|
888
|
+
} & {
|
|
889
|
+
setError(error?: unknown): void;
|
|
890
|
+
setStatusMessage(status?: import("@jbrowse/core/util").RpcStatus): void;
|
|
891
|
+
} & {
|
|
892
|
+
stopActiveFetch(): void;
|
|
893
|
+
openStatusStream(isCurrent: () => boolean): import("@jbrowse/core/util").StatusStream;
|
|
894
|
+
} & {
|
|
895
|
+
cancelFetch(): void;
|
|
896
|
+
cancelFetchByUser(): void;
|
|
897
|
+
reload(): void;
|
|
898
|
+
beforeDestroy(): void;
|
|
899
|
+
beginFetch(signal: AbortSignal): void;
|
|
900
|
+
endFetch(current: boolean): void;
|
|
901
|
+
} & {
|
|
902
|
+
runFetch: (work: (ctx: import("@jbrowse/display-kit/FetchMixin").FetchContext) => Promise<void>) => Promise<void>;
|
|
903
|
+
} & {
|
|
904
|
+
loadedRegions: import("mobx").ObservableMap<number, import("@jbrowse/display-kit/regionCommit").LoadedRegion>;
|
|
905
|
+
} & {
|
|
906
|
+
readonly host: import("@jbrowse/display-kit/regionHost").RegionHost;
|
|
907
|
+
readonly canvasWidthPx: number;
|
|
908
|
+
readonly settledSubPixelBinBp: number;
|
|
909
|
+
readonly canRender: boolean;
|
|
910
|
+
readonly rendersCanvas: boolean;
|
|
911
|
+
readonly trackVisibleRegions: import("@jbrowse/display-kit/regionHost").VisibleRegion[];
|
|
912
|
+
readonly viewportWithinLoadedData: boolean;
|
|
913
|
+
readonly viewportEmpty: boolean;
|
|
914
|
+
readonly fetchSuspended: boolean;
|
|
915
|
+
readonly layoutReady: boolean;
|
|
916
|
+
regionHasData(displayedRegionIndex: number): boolean;
|
|
917
|
+
readonly dataSuperseded: boolean;
|
|
918
|
+
readonly renderBlocks: import("@jbrowse/render-core/renderBlock").RenderBlock[];
|
|
919
|
+
} & {
|
|
920
|
+
readonly fetchInputs: import("@jbrowse/display-kit/fetchInputs").FetchInputs;
|
|
921
|
+
} & {
|
|
922
|
+
readonly regionPayloads: ReadonlyMap<number, unknown>;
|
|
923
|
+
readonly hasRegionData: boolean;
|
|
924
|
+
} & {
|
|
925
|
+
isCacheValid(displayedRegionIndex: number): boolean;
|
|
926
|
+
} & {
|
|
927
|
+
readonly staleSettingsDrawn: boolean;
|
|
928
|
+
readonly dataCurrent: boolean;
|
|
929
|
+
readonly loadedAssembly: import("@jbrowse/core/assemblyManager/assembly").Assembly | undefined;
|
|
930
|
+
} & {
|
|
931
|
+
readonly phaseViewportCurrent: boolean;
|
|
932
|
+
} & {
|
|
933
|
+
readonly svgReady: boolean;
|
|
934
|
+
readonly paintInert: boolean;
|
|
935
|
+
readonly paintSuperseded: boolean;
|
|
936
|
+
readonly displayPhase: import("@jbrowse/render-core/displayPhase").DisplayPhase;
|
|
937
|
+
} & {
|
|
938
|
+
setLoadedRegion(displayedRegionIndex: number, region: import("@jbrowse/core/util").Region, payload: import("@jbrowse/display-kit/regionCommit").RegionPayload | undefined, fetchInputs?: import("@jbrowse/display-kit/fetchInputs").FetchInputs): void;
|
|
939
|
+
evictRegionStore(keep: ReadonlySet<number>): void;
|
|
940
|
+
dropLoadedRegion(displayedRegionIndex: number): void;
|
|
941
|
+
clearDisplaySpecificData(): void;
|
|
942
|
+
clearSettingsBakedData(): void;
|
|
943
|
+
} & {
|
|
944
|
+
clearAllRpcData(): void;
|
|
945
|
+
invalidateSettings(): void;
|
|
946
|
+
reload(): void;
|
|
947
|
+
} & {
|
|
948
|
+
fetchNeeded(_needed: IndexedRegion[]): void;
|
|
949
|
+
} & {
|
|
950
|
+
fetchRegions(needed: IndexedRegion[], work: (ctx: import("@jbrowse/display-kit/regionCommit").RegionFetchContext) => Promise<void>): Promise<void>;
|
|
951
|
+
} & {
|
|
952
|
+
afterAttach(): void;
|
|
953
|
+
} & {
|
|
954
|
+
/** every `fetchNeeded` call, as the region list it was handed */
|
|
955
|
+
fetchLog: IndexedRegion[][];
|
|
956
|
+
/**
|
|
957
|
+
* What `zoomFetchArgs` answers. A volatile, not a `control` knob, and
|
|
958
|
+
* that is the point: a real display's args read view state, so the
|
|
959
|
+
* autorun re-runs when they move. A plain closure value would be
|
|
960
|
+
* memoized by the computed and never invalidate.
|
|
961
|
+
*/
|
|
962
|
+
fetchKey: string;
|
|
963
|
+
} & {
|
|
964
|
+
regionHasData(displayedRegionIndex: number): boolean;
|
|
965
|
+
} & {
|
|
966
|
+
/** the fetched payloads, off the foundation's store */
|
|
967
|
+
readonly loadedData: ReadonlyMap<number, string>;
|
|
968
|
+
readonly gateEnabled: boolean;
|
|
969
|
+
readonly densityTooLarge: boolean;
|
|
970
|
+
zoomFetchArgs(): {
|
|
971
|
+
key: string;
|
|
972
|
+
};
|
|
973
|
+
} & {
|
|
974
|
+
setFetchKey(key: string): void;
|
|
975
|
+
} & {
|
|
976
|
+
fetchNeeded(needed: IndexedRegion[]): Promise<void>;
|
|
977
|
+
} & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/mobx-state-tree").IModelType<Omit<Omit<Omit<{
|
|
978
|
+
id: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
979
|
+
type: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
980
|
+
}, never>, never> & Omit<Omit<Omit<{}, never>, never>, never>, "configuration" | "type"> & {
|
|
981
|
+
type: import("@jbrowse/mobx-state-tree").ILiteralType<"PerRegionTestDisplay">;
|
|
982
|
+
configuration: import("@jbrowse/core/configuration/configurationSchema").IConfigurationReference<AnyConfigurationSchemaType>;
|
|
983
|
+
}, {
|
|
984
|
+
error: unknown;
|
|
985
|
+
statusMessage: string | undefined;
|
|
986
|
+
statusProgress: number | undefined;
|
|
987
|
+
} & {
|
|
988
|
+
readonly parentTrack: import("@jbrowse/core/util").AbstractTrackModel;
|
|
989
|
+
} & {
|
|
990
|
+
readonly RenderingComponent: React.FC<{
|
|
991
|
+
model: import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
|
|
992
|
+
id: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
993
|
+
type: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
994
|
+
}> & {
|
|
995
|
+
error: unknown;
|
|
996
|
+
statusMessage: string | undefined;
|
|
997
|
+
statusProgress: number | undefined;
|
|
998
|
+
} & {
|
|
999
|
+
readonly parentTrack: import("@jbrowse/core/util").AbstractTrackModel;
|
|
1000
|
+
} & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/mobx-state-tree").IModelType<{
|
|
1001
|
+
id: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
1002
|
+
type: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1003
|
+
}, {
|
|
1004
|
+
error: unknown;
|
|
1005
|
+
statusMessage: string | undefined;
|
|
1006
|
+
statusProgress: number | undefined;
|
|
1007
|
+
} & {
|
|
1008
|
+
readonly parentTrack: import("@jbrowse/core/util").AbstractTrackModel;
|
|
1009
|
+
}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>;
|
|
1010
|
+
onHorizontalScroll?: (distance: number) => void;
|
|
1011
|
+
blockState?: Record<string, unknown>;
|
|
1012
|
+
}>;
|
|
1013
|
+
readonly DisplayBlurb: React.FC<{
|
|
1014
|
+
model: import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
|
|
1015
|
+
id: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
1016
|
+
type: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1017
|
+
}> & {
|
|
1018
|
+
error: unknown;
|
|
1019
|
+
statusMessage: string | undefined;
|
|
1020
|
+
statusProgress: number | undefined;
|
|
1021
|
+
} & {
|
|
1022
|
+
readonly parentTrack: import("@jbrowse/core/util").AbstractTrackModel;
|
|
1023
|
+
} & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/mobx-state-tree").IModelType<{
|
|
1024
|
+
id: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
1025
|
+
type: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1026
|
+
}, {
|
|
1027
|
+
error: unknown;
|
|
1028
|
+
statusMessage: string | undefined;
|
|
1029
|
+
statusProgress: number | undefined;
|
|
1030
|
+
} & {
|
|
1031
|
+
readonly parentTrack: import("@jbrowse/core/util").AbstractTrackModel;
|
|
1032
|
+
}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>;
|
|
1033
|
+
}> | null;
|
|
1034
|
+
readonly adapterConfig: Record<string, unknown>;
|
|
1035
|
+
readonly isMinimized: boolean;
|
|
1036
|
+
readonly hoveredFeature: unknown;
|
|
1037
|
+
readonly featureNoun: string;
|
|
1038
|
+
readonly featureWidgetType: {
|
|
1039
|
+
type: string;
|
|
1040
|
+
id: string;
|
|
1041
|
+
};
|
|
1042
|
+
} & {
|
|
1043
|
+
renderingProps(): {
|
|
1044
|
+
displayModel: import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
|
|
1045
|
+
id: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
1046
|
+
type: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1047
|
+
}> & {
|
|
1048
|
+
error: unknown;
|
|
1049
|
+
statusMessage: string | undefined;
|
|
1050
|
+
statusProgress: number | undefined;
|
|
1051
|
+
} & {
|
|
1052
|
+
readonly parentTrack: import("@jbrowse/core/util").AbstractTrackModel;
|
|
1053
|
+
} & {
|
|
1054
|
+
readonly RenderingComponent: React.FC<{
|
|
1055
|
+
model: import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
|
|
1056
|
+
id: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
1057
|
+
type: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1058
|
+
}> & {
|
|
1059
|
+
error: unknown;
|
|
1060
|
+
statusMessage: string | undefined;
|
|
1061
|
+
statusProgress: number | undefined;
|
|
1062
|
+
} & {
|
|
1063
|
+
readonly parentTrack: import("@jbrowse/core/util").AbstractTrackModel;
|
|
1064
|
+
} & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/mobx-state-tree").IModelType<{
|
|
1065
|
+
id: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
1066
|
+
type: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1067
|
+
}, {
|
|
1068
|
+
error: unknown;
|
|
1069
|
+
statusMessage: string | undefined;
|
|
1070
|
+
statusProgress: number | undefined;
|
|
1071
|
+
} & {
|
|
1072
|
+
readonly parentTrack: import("@jbrowse/core/util").AbstractTrackModel;
|
|
1073
|
+
}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>;
|
|
1074
|
+
onHorizontalScroll?: (distance: number) => void;
|
|
1075
|
+
blockState?: Record<string, unknown>;
|
|
1076
|
+
}>;
|
|
1077
|
+
readonly DisplayBlurb: React.FC<{
|
|
1078
|
+
model: import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
|
|
1079
|
+
id: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
1080
|
+
type: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1081
|
+
}> & {
|
|
1082
|
+
error: unknown;
|
|
1083
|
+
statusMessage: string | undefined;
|
|
1084
|
+
statusProgress: number | undefined;
|
|
1085
|
+
} & {
|
|
1086
|
+
readonly parentTrack: import("@jbrowse/core/util").AbstractTrackModel;
|
|
1087
|
+
} & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/mobx-state-tree").IModelType<{
|
|
1088
|
+
id: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
1089
|
+
type: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1090
|
+
}, {
|
|
1091
|
+
error: unknown;
|
|
1092
|
+
statusMessage: string | undefined;
|
|
1093
|
+
statusProgress: number | undefined;
|
|
1094
|
+
} & {
|
|
1095
|
+
readonly parentTrack: import("@jbrowse/core/util").AbstractTrackModel;
|
|
1096
|
+
}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>;
|
|
1097
|
+
}> | null;
|
|
1098
|
+
readonly adapterConfig: Record<string, unknown>;
|
|
1099
|
+
readonly isMinimized: boolean;
|
|
1100
|
+
readonly hoveredFeature: unknown;
|
|
1101
|
+
readonly featureNoun: string;
|
|
1102
|
+
readonly featureWidgetType: {
|
|
1103
|
+
type: string;
|
|
1104
|
+
id: string;
|
|
1105
|
+
};
|
|
1106
|
+
} & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/mobx-state-tree").IModelType<{
|
|
1107
|
+
id: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
1108
|
+
type: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1109
|
+
}, {
|
|
1110
|
+
error: unknown;
|
|
1111
|
+
statusMessage: string | undefined;
|
|
1112
|
+
statusProgress: number | undefined;
|
|
1113
|
+
} & {
|
|
1114
|
+
readonly parentTrack: import("@jbrowse/core/util").AbstractTrackModel;
|
|
1115
|
+
} & {
|
|
1116
|
+
readonly RenderingComponent: React.FC<{
|
|
1117
|
+
model: import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
|
|
1118
|
+
id: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
1119
|
+
type: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1120
|
+
}> & {
|
|
1121
|
+
error: unknown;
|
|
1122
|
+
statusMessage: string | undefined;
|
|
1123
|
+
statusProgress: number | undefined;
|
|
1124
|
+
} & {
|
|
1125
|
+
readonly parentTrack: import("@jbrowse/core/util").AbstractTrackModel;
|
|
1126
|
+
} & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/mobx-state-tree").IModelType<{
|
|
1127
|
+
id: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
1128
|
+
type: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1129
|
+
}, {
|
|
1130
|
+
error: unknown;
|
|
1131
|
+
statusMessage: string | undefined;
|
|
1132
|
+
statusProgress: number | undefined;
|
|
1133
|
+
} & {
|
|
1134
|
+
readonly parentTrack: import("@jbrowse/core/util").AbstractTrackModel;
|
|
1135
|
+
}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>;
|
|
1136
|
+
onHorizontalScroll?: (distance: number) => void;
|
|
1137
|
+
blockState?: Record<string, unknown>;
|
|
1138
|
+
}>;
|
|
1139
|
+
readonly DisplayBlurb: React.FC<{
|
|
1140
|
+
model: import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
|
|
1141
|
+
id: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
1142
|
+
type: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1143
|
+
}> & {
|
|
1144
|
+
error: unknown;
|
|
1145
|
+
statusMessage: string | undefined;
|
|
1146
|
+
statusProgress: number | undefined;
|
|
1147
|
+
} & {
|
|
1148
|
+
readonly parentTrack: import("@jbrowse/core/util").AbstractTrackModel;
|
|
1149
|
+
} & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/mobx-state-tree").IModelType<{
|
|
1150
|
+
id: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
1151
|
+
type: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1152
|
+
}, {
|
|
1153
|
+
error: unknown;
|
|
1154
|
+
statusMessage: string | undefined;
|
|
1155
|
+
statusProgress: number | undefined;
|
|
1156
|
+
} & {
|
|
1157
|
+
readonly parentTrack: import("@jbrowse/core/util").AbstractTrackModel;
|
|
1158
|
+
}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>;
|
|
1159
|
+
}> | null;
|
|
1160
|
+
readonly adapterConfig: Record<string, unknown>;
|
|
1161
|
+
readonly isMinimized: boolean;
|
|
1162
|
+
readonly hoveredFeature: unknown;
|
|
1163
|
+
readonly featureNoun: string;
|
|
1164
|
+
readonly featureWidgetType: {
|
|
1165
|
+
type: string;
|
|
1166
|
+
id: string;
|
|
1167
|
+
};
|
|
1168
|
+
}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>;
|
|
1169
|
+
};
|
|
1170
|
+
trackMenuItems(): import("@jbrowse/core/ui").MenuItem[];
|
|
1171
|
+
} & {
|
|
1172
|
+
setStatusMessage(status?: import("@jbrowse/core/util").RpcStatus): void;
|
|
1173
|
+
setError(error?: unknown): void;
|
|
1174
|
+
clearHoveredFeature(): void;
|
|
1175
|
+
reload(): void;
|
|
1176
|
+
applyDisplaySettings(settings: Record<string, unknown>, options?: {
|
|
1177
|
+
allowSetters?: boolean;
|
|
1178
|
+
}): {
|
|
1179
|
+
applied: string[];
|
|
1180
|
+
unapplied: import("@jbrowse/core/util/unknownSnapshotKeys").UnappliedSetting[];
|
|
1181
|
+
failed: {
|
|
1182
|
+
key: string;
|
|
1183
|
+
error: string;
|
|
1184
|
+
}[];
|
|
1185
|
+
};
|
|
1186
|
+
} & {
|
|
1187
|
+
scrollTop: number;
|
|
1188
|
+
} & {
|
|
1189
|
+
readonly height: number;
|
|
1190
|
+
readonly resizing: boolean;
|
|
1191
|
+
readonly scrollContentHeight: number;
|
|
1192
|
+
readonly scrollViewportHeight: number;
|
|
1193
|
+
} & {
|
|
1194
|
+
readonly scrollableHeight: number;
|
|
1195
|
+
} & {
|
|
1196
|
+
setScrollTop(scrollTop: number): void;
|
|
1197
|
+
setHeight(displayHeight: number): number;
|
|
1198
|
+
resizeHeight(distance: number): number;
|
|
1199
|
+
} & {
|
|
1200
|
+
expandToContentHeight(): number;
|
|
1201
|
+
afterAttach(): void;
|
|
1202
|
+
} & {
|
|
1203
|
+
forceLoadTrack: boolean;
|
|
1204
|
+
byteEstimate: import("@jbrowse/display-kit/regionTooLargeUtils").ByteEstimate | undefined;
|
|
1205
|
+
gateMeasuredViewportKey: unknown;
|
|
1206
|
+
} & {
|
|
1207
|
+
readonly gateEnabled: boolean;
|
|
1208
|
+
readonly byteGateAdapterConfig: Record<string, unknown>;
|
|
1209
|
+
readonly configuredFetchSizeLimit: number | undefined;
|
|
1210
|
+
readonly densityTooLarge: boolean;
|
|
1211
|
+
readonly byteGateAdapterPath: import("@jbrowse/display-kit/RegionTooLargeMixin").ByteGateAdapterPath;
|
|
1212
|
+
readonly adapterFetchSizeLimit: number | undefined;
|
|
1213
|
+
readonly configForceLoad: boolean;
|
|
1214
|
+
readonly gateViewportSpanBp: number | undefined;
|
|
1215
|
+
readonly gateViewport: import("@jbrowse/display-kit/regionTooLargeUtils").GateViewport | undefined;
|
|
1216
|
+
} & {
|
|
1217
|
+
readonly aboveForceLoadFloor: boolean;
|
|
1218
|
+
readonly gateExempt: boolean;
|
|
1219
|
+
readonly estimatedFetchBytes: number | undefined;
|
|
1220
|
+
readonly gateMeasurementStale: boolean;
|
|
1221
|
+
} & {
|
|
1222
|
+
readonly gateByteLimit: number;
|
|
1223
|
+
readonly gateActive: boolean;
|
|
1224
|
+
} & {
|
|
1225
|
+
readonly densityGateActive: boolean;
|
|
1226
|
+
resolvedByteLimit(): number | undefined;
|
|
1227
|
+
gateFetchState(): import("@jbrowse/display-kit/regionTooLargeUtils").GateFetchState;
|
|
1228
|
+
} & {
|
|
1229
|
+
readonly tooLargeStatus: import("@jbrowse/display-kit/regionTooLargeUtils").RegionTooLargeStatus;
|
|
1230
|
+
} & {
|
|
1231
|
+
readonly regionTooLarge: boolean;
|
|
1232
|
+
readonly regionTooLargeReason: string;
|
|
1233
|
+
readonly zoomCanReleaseGate: boolean;
|
|
1234
|
+
} & {
|
|
1235
|
+
readonly gateSkipsMeasuredViewport: boolean;
|
|
1236
|
+
} & {
|
|
1237
|
+
clearByteEstimate(): void;
|
|
1238
|
+
clearGateMeasurements(): void;
|
|
1239
|
+
setForceLoadTrack(flag: boolean): void;
|
|
1240
|
+
} & {
|
|
1241
|
+
commitFetchBytes(perRegionBytes: (number | undefined)[], issued: import("@jbrowse/display-kit/regionTooLargeUtils").GateFetchState, partial?: boolean): void;
|
|
1242
|
+
} & {
|
|
1243
|
+
forceLoad(): void;
|
|
1244
|
+
} & {
|
|
1245
|
+
afterAttach(): void;
|
|
1246
|
+
} & {
|
|
1247
|
+
canvasDrawn: boolean;
|
|
1248
|
+
paintCount: number;
|
|
1249
|
+
currentRenderingBackend: unknown;
|
|
1250
|
+
renderTick: number;
|
|
1251
|
+
autorunsInstalled: boolean;
|
|
1252
|
+
renderError: unknown;
|
|
1253
|
+
offScreen: boolean;
|
|
1254
|
+
} & {
|
|
1255
|
+
readonly canRender: boolean;
|
|
1256
|
+
readonly rendersCanvas: boolean;
|
|
1257
|
+
readonly paintInert: boolean;
|
|
1258
|
+
readonly paintSuperseded: boolean;
|
|
1259
|
+
} & {
|
|
1260
|
+
readonly painted: boolean;
|
|
1261
|
+
} & {
|
|
1262
|
+
markCanvasDrawn(): void;
|
|
1263
|
+
resetCanvasDrawn(): void;
|
|
1264
|
+
stopRenderingBackend(): void;
|
|
1265
|
+
renderNow(): void;
|
|
1266
|
+
setOffScreen(offScreen: boolean): void;
|
|
1267
|
+
setRenderError(error: unknown): void;
|
|
1268
|
+
} & {
|
|
1269
|
+
attachRenderingBackend<B>(backend: B, setup: () => import("@jbrowse/render-core/RenderLifecycleMixin").RenderingBackendCallbacks<B>): void;
|
|
1270
|
+
} & {
|
|
1271
|
+
activeSignal: AbortSignal | undefined;
|
|
1272
|
+
fetchGeneration: number;
|
|
1273
|
+
reloadCounter: number;
|
|
1274
|
+
statusWindow: import("@jbrowse/core/util").StatusWindow;
|
|
1275
|
+
error: unknown;
|
|
1276
|
+
statusMessage: string | undefined;
|
|
1277
|
+
statusProgress: number | undefined;
|
|
1278
|
+
fetchCanceled: boolean;
|
|
1279
|
+
} & {
|
|
1280
|
+
fetchRotation: {
|
|
1281
|
+
begin(): import("@jbrowse/core/util").ActiveFetch;
|
|
1282
|
+
cancel: () => void;
|
|
1283
|
+
dispose(): void;
|
|
1284
|
+
};
|
|
1285
|
+
} & {
|
|
1286
|
+
readonly isLoading: boolean;
|
|
1287
|
+
} & {
|
|
1288
|
+
readonly isLoadingOrCanceled: boolean;
|
|
1289
|
+
readonly fetchInert: boolean;
|
|
1290
|
+
readonly awaitingPrerequisite: boolean;
|
|
1291
|
+
readonly awaitingDependentData: boolean;
|
|
1292
|
+
} & {
|
|
1293
|
+
readonly settingsFetchInputs: unknown;
|
|
1294
|
+
} & {
|
|
1295
|
+
setError(error?: unknown): void;
|
|
1296
|
+
setStatusMessage(status?: import("@jbrowse/core/util").RpcStatus): void;
|
|
1297
|
+
} & {
|
|
1298
|
+
stopActiveFetch(): void;
|
|
1299
|
+
openStatusStream(isCurrent: () => boolean): import("@jbrowse/core/util").StatusStream;
|
|
1300
|
+
} & {
|
|
1301
|
+
cancelFetch(): void;
|
|
1302
|
+
cancelFetchByUser(): void;
|
|
1303
|
+
reload(): void;
|
|
1304
|
+
beforeDestroy(): void;
|
|
1305
|
+
beginFetch(signal: AbortSignal): void;
|
|
1306
|
+
endFetch(current: boolean): void;
|
|
1307
|
+
} & {
|
|
1308
|
+
runFetch: (work: (ctx: import("@jbrowse/display-kit/FetchMixin").FetchContext) => Promise<void>) => Promise<void>;
|
|
1309
|
+
} & {
|
|
1310
|
+
loadedRegions: import("mobx").ObservableMap<number, import("@jbrowse/display-kit/regionCommit").LoadedRegion>;
|
|
1311
|
+
} & {
|
|
1312
|
+
readonly host: import("@jbrowse/display-kit/regionHost").RegionHost;
|
|
1313
|
+
readonly canvasWidthPx: number;
|
|
1314
|
+
readonly settledSubPixelBinBp: number;
|
|
1315
|
+
readonly canRender: boolean;
|
|
1316
|
+
readonly rendersCanvas: boolean;
|
|
1317
|
+
readonly trackVisibleRegions: import("@jbrowse/display-kit/regionHost").VisibleRegion[];
|
|
1318
|
+
readonly viewportWithinLoadedData: boolean;
|
|
1319
|
+
readonly viewportEmpty: boolean;
|
|
1320
|
+
readonly fetchSuspended: boolean;
|
|
1321
|
+
readonly layoutReady: boolean;
|
|
1322
|
+
regionHasData(displayedRegionIndex: number): boolean;
|
|
1323
|
+
readonly dataSuperseded: boolean;
|
|
1324
|
+
readonly renderBlocks: import("@jbrowse/render-core/renderBlock").RenderBlock[];
|
|
1325
|
+
} & {
|
|
1326
|
+
readonly fetchInputs: import("@jbrowse/display-kit/fetchInputs").FetchInputs;
|
|
1327
|
+
} & {
|
|
1328
|
+
readonly regionPayloads: ReadonlyMap<number, unknown>;
|
|
1329
|
+
readonly hasRegionData: boolean;
|
|
1330
|
+
} & {
|
|
1331
|
+
isCacheValid(displayedRegionIndex: number): boolean;
|
|
1332
|
+
} & {
|
|
1333
|
+
readonly staleSettingsDrawn: boolean;
|
|
1334
|
+
readonly dataCurrent: boolean;
|
|
1335
|
+
readonly loadedAssembly: import("@jbrowse/core/assemblyManager/assembly").Assembly | undefined;
|
|
1336
|
+
} & {
|
|
1337
|
+
readonly phaseViewportCurrent: boolean;
|
|
1338
|
+
} & {
|
|
1339
|
+
readonly svgReady: boolean;
|
|
1340
|
+
readonly paintInert: boolean;
|
|
1341
|
+
readonly paintSuperseded: boolean;
|
|
1342
|
+
readonly displayPhase: import("@jbrowse/render-core/displayPhase").DisplayPhase;
|
|
1343
|
+
} & {
|
|
1344
|
+
setLoadedRegion(displayedRegionIndex: number, region: import("@jbrowse/core/util").Region, payload: import("@jbrowse/display-kit/regionCommit").RegionPayload | undefined, fetchInputs?: import("@jbrowse/display-kit/fetchInputs").FetchInputs): void;
|
|
1345
|
+
evictRegionStore(keep: ReadonlySet<number>): void;
|
|
1346
|
+
dropLoadedRegion(displayedRegionIndex: number): void;
|
|
1347
|
+
clearDisplaySpecificData(): void;
|
|
1348
|
+
clearSettingsBakedData(): void;
|
|
1349
|
+
} & {
|
|
1350
|
+
clearAllRpcData(): void;
|
|
1351
|
+
invalidateSettings(): void;
|
|
1352
|
+
reload(): void;
|
|
1353
|
+
} & {
|
|
1354
|
+
fetchNeeded(_needed: IndexedRegion[]): void;
|
|
1355
|
+
} & {
|
|
1356
|
+
fetchRegions(needed: IndexedRegion[], work: (ctx: import("@jbrowse/display-kit/regionCommit").RegionFetchContext) => Promise<void>): Promise<void>;
|
|
1357
|
+
} & {
|
|
1358
|
+
afterAttach(): void;
|
|
1359
|
+
} & {
|
|
1360
|
+
/** every `fetchNeeded` call, as the region list it was handed */
|
|
1361
|
+
fetchLog: IndexedRegion[][];
|
|
1362
|
+
/**
|
|
1363
|
+
* What `zoomFetchArgs` answers. A volatile, not a `control` knob, and
|
|
1364
|
+
* that is the point: a real display's args read view state, so the
|
|
1365
|
+
* autorun re-runs when they move. A plain closure value would be
|
|
1366
|
+
* memoized by the computed and never invalidate.
|
|
1367
|
+
*/
|
|
1368
|
+
fetchKey: string;
|
|
1369
|
+
} & {
|
|
1370
|
+
regionHasData(displayedRegionIndex: number): boolean;
|
|
1371
|
+
} & {
|
|
1372
|
+
/** the fetched payloads, off the foundation's store */
|
|
1373
|
+
readonly loadedData: ReadonlyMap<number, string>;
|
|
1374
|
+
readonly gateEnabled: boolean;
|
|
1375
|
+
readonly densityTooLarge: boolean;
|
|
1376
|
+
zoomFetchArgs(): {
|
|
1377
|
+
key: string;
|
|
1378
|
+
};
|
|
1379
|
+
} & {
|
|
1380
|
+
setFetchKey(key: string): void;
|
|
1381
|
+
} & {
|
|
1382
|
+
fetchNeeded(needed: IndexedRegion[]): Promise<void>;
|
|
1383
|
+
}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>;
|
|
1384
|
+
mockRpcCall: jest.Mock<any, any, any>;
|
|
1385
|
+
};
|
|
1386
|
+
mockRpcCall: jest.Mock<any, any, any>;
|
|
1387
|
+
pluginManager: import("@jbrowse/core/PluginManager").default;
|
|
1388
|
+
trackConfig: import("@jbrowse/core/configuration").PluggableConfigNode & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/core/PluginManager").PluggableConfigSchemaType>;
|
|
1389
|
+
control: PerRegionTestControl;
|
|
1390
|
+
};
|
|
1391
|
+
export {};
|