@jbrowse/plugin-linear-genome-view 2.4.2 → 2.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/BaseLinearDisplay/components/BaseLinearDisplay.d.ts +1 -1
- package/dist/BaseLinearDisplay/components/Block.d.ts +3 -3
- package/dist/BaseLinearDisplay/components/BlockMsg.d.ts +1 -1
- package/dist/BaseLinearDisplay/components/LinearBlocks.d.ts +3 -3
- package/dist/BaseLinearDisplay/components/TooLargeMessage.d.ts +5 -5
- package/dist/BaseLinearDisplay/components/TooLargeMessage.js +7 -3
- package/dist/BaseLinearDisplay/components/TooLargeMessage.js.map +1 -1
- package/dist/BaseLinearDisplay/components/Tooltip.d.ts +2 -2
- package/dist/BaseLinearDisplay/index.d.ts +5 -2
- package/dist/BaseLinearDisplay/index.js +7 -1
- package/dist/BaseLinearDisplay/index.js.map +1 -1
- package/dist/BaseLinearDisplay/models/BaseLinearDisplayModel.d.ts +107 -126
- package/dist/BaseLinearDisplay/models/BaseLinearDisplayModel.js +37 -352
- package/dist/BaseLinearDisplay/models/BaseLinearDisplayModel.js.map +1 -1
- package/dist/BaseLinearDisplay/models/FeatureDensityMixin.d.ts +99 -0
- package/dist/BaseLinearDisplay/models/FeatureDensityMixin.js +190 -0
- package/dist/BaseLinearDisplay/models/FeatureDensityMixin.js.map +1 -0
- package/dist/BaseLinearDisplay/models/TrackHeightMixin.d.ts +30 -0
- package/dist/BaseLinearDisplay/models/TrackHeightMixin.js +56 -0
- package/dist/BaseLinearDisplay/models/TrackHeightMixin.js.map +1 -0
- package/dist/BaseLinearDisplay/models/autorunFeatureDensityStats.d.ts +2 -0
- package/dist/BaseLinearDisplay/models/autorunFeatureDensityStats.js +42 -0
- package/dist/BaseLinearDisplay/models/autorunFeatureDensityStats.js.map +1 -0
- package/dist/BaseLinearDisplay/models/configSchema.d.ts +35 -1
- package/dist/BaseLinearDisplay/models/configSchema.js +10 -0
- package/dist/BaseLinearDisplay/models/configSchema.js.map +1 -1
- package/dist/BaseLinearDisplay/models/renderSvg.d.ts +8 -0
- package/dist/BaseLinearDisplay/models/renderSvg.js +83 -0
- package/dist/BaseLinearDisplay/models/renderSvg.js.map +1 -0
- package/dist/BaseLinearDisplay/models/serverSideRenderedBlock.js +30 -22
- package/dist/BaseLinearDisplay/models/serverSideRenderedBlock.js.map +1 -1
- package/dist/BaseLinearDisplay/models/util.d.ts +6 -2
- package/dist/BaseLinearDisplay/models/util.js +4 -4
- package/dist/BaseLinearDisplay/models/util.js.map +1 -1
- package/dist/BasicTrack/configSchema.d.ts +73 -1
- package/dist/BasicTrack/configSchema.js +1 -0
- package/dist/BasicTrack/configSchema.js.map +1 -1
- package/dist/FeatureTrack/configSchema.d.ts +73 -1
- package/dist/FeatureTrack/configSchema.js +1 -0
- package/dist/FeatureTrack/configSchema.js.map +1 -1
- package/dist/LinearBareDisplay/configSchema.d.ts +29 -1
- package/dist/LinearBareDisplay/configSchema.js +1 -0
- package/dist/LinearBareDisplay/configSchema.js.map +1 -1
- package/dist/LinearBareDisplay/model.d.ts +106 -42
- package/dist/LinearBareDisplay/model.js +3 -2
- package/dist/LinearBareDisplay/model.js.map +1 -1
- package/dist/LinearBasicDisplay/components/SetMaxHeight.d.ts +2 -2
- package/dist/LinearBasicDisplay/configSchema.d.ts +29 -1
- package/dist/LinearBasicDisplay/configSchema.js +1 -9
- package/dist/LinearBasicDisplay/configSchema.js.map +1 -1
- package/dist/LinearBasicDisplay/model.d.ts +124 -62
- package/dist/LinearBasicDisplay/model.js +1 -0
- package/dist/LinearBasicDisplay/model.js.map +1 -1
- package/dist/LinearGenomeView/components/CenterLine.d.ts +2 -2
- package/dist/LinearGenomeView/components/Cytobands.d.ts +24 -24
- package/dist/LinearGenomeView/components/ExportSvgDialog.d.ts +2 -2
- package/dist/LinearGenomeView/components/GetSequenceDialog.d.ts +2 -2
- package/dist/LinearGenomeView/components/GetSequenceDialog.js +14 -16
- package/dist/LinearGenomeView/components/GetSequenceDialog.js.map +1 -1
- package/dist/LinearGenomeView/components/Gridlines.d.ts +2 -2
- package/dist/LinearGenomeView/components/Header.d.ts +2 -2
- package/dist/LinearGenomeView/components/ImportForm.d.ts +2 -2
- package/dist/LinearGenomeView/components/ImportForm.js +4 -7
- package/dist/LinearGenomeView/components/ImportForm.js.map +1 -1
- package/dist/LinearGenomeView/components/LinearGenomeView.d.ts +2 -2
- package/dist/LinearGenomeView/components/LinearGenomeView.js +28 -8
- package/dist/LinearGenomeView/components/LinearGenomeView.js.map +1 -1
- package/dist/LinearGenomeView/components/MiniControls.d.ts +3 -3
- package/dist/LinearGenomeView/components/MiniControls.js +20 -40
- package/dist/LinearGenomeView/components/MiniControls.js.map +1 -1
- package/dist/LinearGenomeView/components/OverviewRubberband.d.ts +1 -1
- package/dist/LinearGenomeView/components/OverviewScalebar.d.ts +2 -2
- package/dist/LinearGenomeView/components/OverviewScalebar.js +12 -5
- package/dist/LinearGenomeView/components/OverviewScalebar.js.map +1 -1
- package/dist/LinearGenomeView/components/RefNameAutocomplete/AutocompleteTextField.d.ts +10 -0
- package/dist/LinearGenomeView/components/RefNameAutocomplete/AutocompleteTextField.js +22 -0
- package/dist/LinearGenomeView/components/RefNameAutocomplete/AutocompleteTextField.js.map +1 -0
- package/dist/LinearGenomeView/components/RefNameAutocomplete/EndAdornment.d.ts +5 -0
- package/dist/LinearGenomeView/components/RefNameAutocomplete/EndAdornment.js +52 -0
- package/dist/LinearGenomeView/components/RefNameAutocomplete/EndAdornment.js.map +1 -0
- package/dist/LinearGenomeView/components/{HelpDialog.d.ts → RefNameAutocomplete/HelpDialog.d.ts} +2 -2
- package/dist/LinearGenomeView/components/RefNameAutocomplete/HelpDialog.js.map +1 -0
- package/dist/LinearGenomeView/components/RefNameAutocomplete/index.d.ts +18 -0
- package/dist/LinearGenomeView/components/RefNameAutocomplete/index.js +111 -0
- package/dist/LinearGenomeView/components/RefNameAutocomplete/index.js.map +1 -0
- package/dist/LinearGenomeView/components/RefNameAutocomplete/util.d.ts +12 -0
- package/dist/LinearGenomeView/components/RefNameAutocomplete/util.js +59 -0
- package/dist/LinearGenomeView/components/RefNameAutocomplete/util.js.map +1 -0
- package/dist/LinearGenomeView/components/Rubberband.d.ts +1 -1
- package/dist/LinearGenomeView/components/RubberbandSpan.d.ts +2 -2
- package/dist/LinearGenomeView/components/SearchBox.d.ts +2 -2
- package/dist/LinearGenomeView/components/SearchResultsDialog.d.ts +7 -4
- package/dist/LinearGenomeView/components/SearchResultsDialog.js +6 -82
- package/dist/LinearGenomeView/components/SearchResultsDialog.js.map +1 -1
- package/dist/LinearGenomeView/components/SearchResultsTable.d.ts +9 -0
- package/dist/LinearGenomeView/components/SearchResultsTable.js +83 -0
- package/dist/LinearGenomeView/components/SearchResultsTable.js.map +1 -0
- package/dist/LinearGenomeView/components/SequenceSearchDialog.d.ts +2 -2
- package/dist/LinearGenomeView/components/TrackContainer.d.ts +3 -4
- package/dist/LinearGenomeView/components/TrackContainer.js +17 -67
- package/dist/LinearGenomeView/components/TrackContainer.js.map +1 -1
- package/dist/LinearGenomeView/components/TrackLabel.js +6 -10
- package/dist/LinearGenomeView/components/TrackLabel.js.map +1 -1
- package/dist/LinearGenomeView/components/TrackLabelContainer.d.ts +9 -0
- package/dist/LinearGenomeView/components/TrackLabelContainer.js +32 -0
- package/dist/LinearGenomeView/components/TrackLabelContainer.js.map +1 -0
- package/dist/LinearGenomeView/components/TrackRenderingContainer.d.ts +10 -0
- package/dist/LinearGenomeView/components/TrackRenderingContainer.js +74 -0
- package/dist/LinearGenomeView/components/TrackRenderingContainer.js.map +1 -0
- package/dist/LinearGenomeView/components/TracksContainer.d.ts +1 -1
- package/dist/LinearGenomeView/components/TracksContainer.js +5 -7
- package/dist/LinearGenomeView/components/TracksContainer.js.map +1 -1
- package/dist/LinearGenomeView/components/VerticalGuide.d.ts +2 -2
- package/dist/LinearGenomeView/components/ZoomControls.d.ts +2 -2
- package/dist/LinearGenomeView/components/util.js +1 -1
- package/dist/LinearGenomeView/components/util.js.map +1 -1
- package/dist/LinearGenomeView/model.d.ts +51 -37
- package/dist/LinearGenomeView/model.js +132 -209
- package/dist/LinearGenomeView/model.js.map +1 -1
- package/dist/LinearGenomeView/svgcomponents/SVGBackground.d.ts +2 -2
- package/dist/LinearGenomeView/svgcomponents/SVGHeader.d.ts +3 -5
- package/dist/LinearGenomeView/svgcomponents/SVGHeader.js +7 -2
- package/dist/LinearGenomeView/svgcomponents/SVGHeader.js.map +1 -1
- package/dist/LinearGenomeView/svgcomponents/SVGLinearGenomeView.js +1 -1
- package/dist/LinearGenomeView/svgcomponents/SVGLinearGenomeView.js.map +1 -1
- package/dist/LinearGenomeView/svgcomponents/SVGRegionSeparators.d.ts +2 -2
- package/dist/LinearGenomeView/svgcomponents/SVGRuler.d.ts +2 -2
- package/dist/LinearGenomeView/svgcomponents/SVGScalebar.d.ts +2 -2
- package/dist/LinearGenomeView/svgcomponents/SVGTrackLabel.d.ts +2 -2
- package/dist/LinearGenomeView/svgcomponents/SVGTracks.d.ts +2 -2
- package/dist/LinearGenomeView/util.d.ts +29 -0
- package/dist/LinearGenomeView/util.js +79 -1
- package/dist/LinearGenomeView/util.js.map +1 -1
- package/dist/index.d.ts +325 -180
- package/dist/index.js +6 -3
- package/dist/index.js.map +1 -1
- package/esm/BaseLinearDisplay/components/BaseLinearDisplay.d.ts +1 -1
- package/esm/BaseLinearDisplay/components/Block.d.ts +3 -3
- package/esm/BaseLinearDisplay/components/BlockMsg.d.ts +1 -1
- package/esm/BaseLinearDisplay/components/LinearBlocks.d.ts +3 -3
- package/esm/BaseLinearDisplay/components/TooLargeMessage.d.ts +5 -5
- package/esm/BaseLinearDisplay/components/TooLargeMessage.js +7 -3
- package/esm/BaseLinearDisplay/components/TooLargeMessage.js.map +1 -1
- package/esm/BaseLinearDisplay/components/Tooltip.d.ts +2 -2
- package/esm/BaseLinearDisplay/index.d.ts +5 -2
- package/esm/BaseLinearDisplay/index.js +3 -0
- package/esm/BaseLinearDisplay/index.js.map +1 -1
- package/esm/BaseLinearDisplay/models/BaseLinearDisplayModel.d.ts +107 -126
- package/esm/BaseLinearDisplay/models/BaseLinearDisplayModel.js +39 -331
- package/esm/BaseLinearDisplay/models/BaseLinearDisplayModel.js.map +1 -1
- package/esm/BaseLinearDisplay/models/FeatureDensityMixin.d.ts +99 -0
- package/esm/BaseLinearDisplay/models/FeatureDensityMixin.js +184 -0
- package/esm/BaseLinearDisplay/models/FeatureDensityMixin.js.map +1 -0
- package/esm/BaseLinearDisplay/models/TrackHeightMixin.d.ts +30 -0
- package/esm/BaseLinearDisplay/models/TrackHeightMixin.js +53 -0
- package/esm/BaseLinearDisplay/models/TrackHeightMixin.js.map +1 -0
- package/esm/BaseLinearDisplay/models/autorunFeatureDensityStats.d.ts +2 -0
- package/esm/BaseLinearDisplay/models/autorunFeatureDensityStats.js +39 -0
- package/esm/BaseLinearDisplay/models/autorunFeatureDensityStats.js.map +1 -0
- package/esm/BaseLinearDisplay/models/configSchema.d.ts +35 -1
- package/esm/BaseLinearDisplay/models/configSchema.js +10 -0
- package/esm/BaseLinearDisplay/models/configSchema.js.map +1 -1
- package/esm/BaseLinearDisplay/models/renderSvg.d.ts +8 -0
- package/esm/BaseLinearDisplay/models/renderSvg.js +54 -0
- package/esm/BaseLinearDisplay/models/renderSvg.js.map +1 -0
- package/esm/BaseLinearDisplay/models/serverSideRenderedBlock.js +30 -22
- package/esm/BaseLinearDisplay/models/serverSideRenderedBlock.js.map +1 -1
- package/esm/BaseLinearDisplay/models/util.d.ts +6 -2
- package/esm/BaseLinearDisplay/models/util.js +2 -2
- package/esm/BaseLinearDisplay/models/util.js.map +1 -1
- package/esm/BasicTrack/configSchema.d.ts +73 -1
- package/esm/BasicTrack/configSchema.js +1 -0
- package/esm/BasicTrack/configSchema.js.map +1 -1
- package/esm/FeatureTrack/configSchema.d.ts +73 -1
- package/esm/FeatureTrack/configSchema.js +1 -0
- package/esm/FeatureTrack/configSchema.js.map +1 -1
- package/esm/LinearBareDisplay/configSchema.d.ts +29 -1
- package/esm/LinearBareDisplay/configSchema.js +1 -0
- package/esm/LinearBareDisplay/configSchema.js.map +1 -1
- package/esm/LinearBareDisplay/model.d.ts +106 -42
- package/esm/LinearBareDisplay/model.js +2 -1
- package/esm/LinearBareDisplay/model.js.map +1 -1
- package/esm/LinearBasicDisplay/components/SetMaxHeight.d.ts +2 -2
- package/esm/LinearBasicDisplay/configSchema.d.ts +29 -1
- package/esm/LinearBasicDisplay/configSchema.js +1 -9
- package/esm/LinearBasicDisplay/configSchema.js.map +1 -1
- package/esm/LinearBasicDisplay/model.d.ts +124 -62
- package/esm/LinearBasicDisplay/model.js +1 -0
- package/esm/LinearBasicDisplay/model.js.map +1 -1
- package/esm/LinearGenomeView/components/CenterLine.d.ts +2 -2
- package/esm/LinearGenomeView/components/Cytobands.d.ts +24 -24
- package/esm/LinearGenomeView/components/ExportSvgDialog.d.ts +2 -2
- package/esm/LinearGenomeView/components/GetSequenceDialog.d.ts +2 -2
- package/esm/LinearGenomeView/components/GetSequenceDialog.js +15 -17
- package/esm/LinearGenomeView/components/GetSequenceDialog.js.map +1 -1
- package/esm/LinearGenomeView/components/Gridlines.d.ts +2 -2
- package/esm/LinearGenomeView/components/Header.d.ts +2 -2
- package/esm/LinearGenomeView/components/ImportForm.d.ts +2 -2
- package/esm/LinearGenomeView/components/ImportForm.js +5 -8
- package/esm/LinearGenomeView/components/ImportForm.js.map +1 -1
- package/esm/LinearGenomeView/components/LinearGenomeView.d.ts +2 -2
- package/esm/LinearGenomeView/components/LinearGenomeView.js +4 -7
- package/esm/LinearGenomeView/components/LinearGenomeView.js.map +1 -1
- package/esm/LinearGenomeView/components/MiniControls.d.ts +3 -3
- package/esm/LinearGenomeView/components/MiniControls.js +20 -17
- package/esm/LinearGenomeView/components/MiniControls.js.map +1 -1
- package/esm/LinearGenomeView/components/OverviewRubberband.d.ts +1 -1
- package/esm/LinearGenomeView/components/OverviewScalebar.d.ts +2 -2
- package/esm/LinearGenomeView/components/OverviewScalebar.js +12 -5
- package/esm/LinearGenomeView/components/OverviewScalebar.js.map +1 -1
- package/esm/LinearGenomeView/components/RefNameAutocomplete/AutocompleteTextField.d.ts +10 -0
- package/esm/LinearGenomeView/components/RefNameAutocomplete/AutocompleteTextField.js +16 -0
- package/esm/LinearGenomeView/components/RefNameAutocomplete/AutocompleteTextField.js.map +1 -0
- package/esm/LinearGenomeView/components/RefNameAutocomplete/EndAdornment.d.ts +5 -0
- package/esm/LinearGenomeView/components/RefNameAutocomplete/EndAdornment.js +23 -0
- package/esm/LinearGenomeView/components/RefNameAutocomplete/EndAdornment.js.map +1 -0
- package/esm/LinearGenomeView/components/{HelpDialog.d.ts → RefNameAutocomplete/HelpDialog.d.ts} +2 -2
- package/esm/LinearGenomeView/components/RefNameAutocomplete/HelpDialog.js.map +1 -0
- package/esm/LinearGenomeView/components/RefNameAutocomplete/index.d.ts +18 -0
- package/esm/LinearGenomeView/components/RefNameAutocomplete/index.js +83 -0
- package/esm/LinearGenomeView/components/RefNameAutocomplete/index.js.map +1 -0
- package/esm/LinearGenomeView/components/RefNameAutocomplete/util.d.ts +12 -0
- package/esm/LinearGenomeView/components/RefNameAutocomplete/util.js +50 -0
- package/esm/LinearGenomeView/components/RefNameAutocomplete/util.js.map +1 -0
- package/esm/LinearGenomeView/components/Rubberband.d.ts +1 -1
- package/esm/LinearGenomeView/components/RubberbandSpan.d.ts +2 -2
- package/esm/LinearGenomeView/components/SearchBox.d.ts +2 -2
- package/esm/LinearGenomeView/components/SearchResultsDialog.d.ts +7 -4
- package/esm/LinearGenomeView/components/SearchResultsDialog.js +7 -83
- package/esm/LinearGenomeView/components/SearchResultsDialog.js.map +1 -1
- package/esm/LinearGenomeView/components/SearchResultsTable.d.ts +9 -0
- package/esm/LinearGenomeView/components/SearchResultsTable.js +77 -0
- package/esm/LinearGenomeView/components/SearchResultsTable.js.map +1 -0
- package/esm/LinearGenomeView/components/SequenceSearchDialog.d.ts +2 -2
- package/esm/LinearGenomeView/components/TrackContainer.d.ts +3 -4
- package/esm/LinearGenomeView/components/TrackContainer.js +18 -68
- package/esm/LinearGenomeView/components/TrackContainer.js.map +1 -1
- package/esm/LinearGenomeView/components/TrackLabel.js +6 -10
- package/esm/LinearGenomeView/components/TrackLabel.js.map +1 -1
- package/esm/LinearGenomeView/components/TrackLabelContainer.d.ts +9 -0
- package/esm/LinearGenomeView/components/TrackLabelContainer.js +27 -0
- package/esm/LinearGenomeView/components/TrackLabelContainer.js.map +1 -0
- package/esm/LinearGenomeView/components/TrackRenderingContainer.d.ts +10 -0
- package/esm/LinearGenomeView/components/TrackRenderingContainer.js +49 -0
- package/esm/LinearGenomeView/components/TrackRenderingContainer.js.map +1 -0
- package/esm/LinearGenomeView/components/TracksContainer.d.ts +1 -1
- package/esm/LinearGenomeView/components/TracksContainer.js +5 -7
- package/esm/LinearGenomeView/components/TracksContainer.js.map +1 -1
- package/esm/LinearGenomeView/components/VerticalGuide.d.ts +2 -2
- package/esm/LinearGenomeView/components/ZoomControls.d.ts +2 -2
- package/esm/LinearGenomeView/components/util.js +1 -1
- package/esm/LinearGenomeView/components/util.js.map +1 -1
- package/esm/LinearGenomeView/model.d.ts +51 -37
- package/esm/LinearGenomeView/model.js +129 -206
- package/esm/LinearGenomeView/model.js.map +1 -1
- package/esm/LinearGenomeView/svgcomponents/SVGBackground.d.ts +2 -2
- package/esm/LinearGenomeView/svgcomponents/SVGHeader.d.ts +3 -5
- package/esm/LinearGenomeView/svgcomponents/SVGHeader.js +7 -2
- package/esm/LinearGenomeView/svgcomponents/SVGHeader.js.map +1 -1
- package/esm/LinearGenomeView/svgcomponents/SVGLinearGenomeView.js +1 -1
- package/esm/LinearGenomeView/svgcomponents/SVGLinearGenomeView.js.map +1 -1
- package/esm/LinearGenomeView/svgcomponents/SVGRegionSeparators.d.ts +2 -2
- package/esm/LinearGenomeView/svgcomponents/SVGRuler.d.ts +2 -2
- package/esm/LinearGenomeView/svgcomponents/SVGScalebar.d.ts +2 -2
- package/esm/LinearGenomeView/svgcomponents/SVGTrackLabel.d.ts +2 -2
- package/esm/LinearGenomeView/svgcomponents/SVGTracks.d.ts +2 -2
- package/esm/LinearGenomeView/util.d.ts +29 -0
- package/esm/LinearGenomeView/util.js +76 -0
- package/esm/LinearGenomeView/util.js.map +1 -1
- package/esm/index.d.ts +325 -180
- package/esm/index.js +1 -1
- package/esm/index.js.map +1 -1
- package/package.json +3 -3
- package/src/BaseLinearDisplay/components/TooLargeMessage.tsx +10 -6
- package/src/BaseLinearDisplay/index.ts +5 -1
- package/src/BaseLinearDisplay/models/BaseLinearDisplayModel.tsx +50 -401
- package/src/BaseLinearDisplay/models/FeatureDensityMixin.tsx +213 -0
- package/src/BaseLinearDisplay/models/TrackHeightMixin.tsx +59 -0
- package/src/BaseLinearDisplay/models/autorunFeatureDensityStats.ts +46 -0
- package/src/BaseLinearDisplay/models/configSchema.ts +11 -0
- package/src/BaseLinearDisplay/models/renderSvg.tsx +101 -0
- package/src/BaseLinearDisplay/models/serverSideRenderedBlock.ts +40 -32
- package/src/BaseLinearDisplay/models/util.ts +10 -4
- package/src/BasicTrack/configSchema.ts +1 -0
- package/src/FeatureTrack/configSchema.ts +1 -0
- package/src/LinearBareDisplay/configSchema.ts +1 -0
- package/src/LinearBareDisplay/model.ts +2 -1
- package/src/LinearBasicDisplay/configSchema.ts +1 -10
- package/src/LinearBasicDisplay/model.ts +1 -0
- package/src/LinearGenomeView/components/GetSequenceDialog.tsx +15 -25
- package/src/LinearGenomeView/components/ImportForm.tsx +4 -14
- package/src/LinearGenomeView/components/LinearGenomeView.test.tsx +3 -3
- package/src/LinearGenomeView/components/LinearGenomeView.tsx +6 -17
- package/src/LinearGenomeView/components/MiniControls.tsx +37 -38
- package/src/LinearGenomeView/components/OverviewScalebar.tsx +13 -6
- package/src/LinearGenomeView/components/RefNameAutocomplete/AutocompleteTextField.tsx +53 -0
- package/src/LinearGenomeView/components/RefNameAutocomplete/EndAdornment.tsx +44 -0
- package/src/LinearGenomeView/components/RefNameAutocomplete/index.tsx +160 -0
- package/src/LinearGenomeView/components/RefNameAutocomplete/util.ts +65 -0
- package/src/LinearGenomeView/components/SearchResultsDialog.tsx +17 -112
- package/src/LinearGenomeView/components/SearchResultsTable.tsx +121 -0
- package/src/LinearGenomeView/components/TrackContainer.tsx +25 -104
- package/src/LinearGenomeView/components/TrackLabel.tsx +7 -27
- package/src/LinearGenomeView/components/TrackLabelContainer.tsx +48 -0
- package/src/LinearGenomeView/components/TrackRenderingContainer.tsx +96 -0
- package/src/LinearGenomeView/components/TracksContainer.tsx +9 -6
- package/src/LinearGenomeView/components/__snapshots__/LinearGenomeView.test.tsx.snap +14 -14
- package/src/LinearGenomeView/components/util.ts +2 -1
- package/src/LinearGenomeView/index.test.ts +10 -12
- package/src/LinearGenomeView/model.ts +175 -247
- package/src/LinearGenomeView/svgcomponents/SVGHeader.tsx +8 -6
- package/src/LinearGenomeView/svgcomponents/SVGLinearGenomeView.tsx +1 -1
- package/src/LinearGenomeView/util.ts +98 -0
- package/src/index.ts +11 -5
- package/dist/LinearGenomeView/components/HelpDialog.js.map +0 -1
- package/dist/LinearGenomeView/components/RefNameAutocomplete.d.ts +0 -23
- package/dist/LinearGenomeView/components/RefNameAutocomplete.js +0 -182
- package/dist/LinearGenomeView/components/RefNameAutocomplete.js.map +0 -1
- package/esm/LinearGenomeView/components/HelpDialog.js.map +0 -1
- package/esm/LinearGenomeView/components/RefNameAutocomplete.d.ts +0 -23
- package/esm/LinearGenomeView/components/RefNameAutocomplete.js +0 -154
- package/esm/LinearGenomeView/components/RefNameAutocomplete.js.map +0 -1
- package/src/LinearGenomeView/components/RefNameAutocomplete.tsx +0 -279
- /package/dist/LinearGenomeView/components/{HelpDialog.js → RefNameAutocomplete/HelpDialog.js} +0 -0
- /package/esm/LinearGenomeView/components/{HelpDialog.js → RefNameAutocomplete/HelpDialog.js} +0 -0
- /package/src/LinearGenomeView/components/{HelpDialog.tsx → RefNameAutocomplete/HelpDialog.tsx} +0 -0
package/dist/index.js
CHANGED
|
@@ -26,7 +26,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
26
26
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.linearBasicDisplayModelFactory = exports.linearBasicDisplayConfigSchemaFactory = exports.SVGRuler = exports.totalHeight = exports.SVGTracks = exports.renderToSvg = exports.SearchBox = exports.RefNameAutocomplete = exports.
|
|
29
|
+
exports.linearBasicDisplayModelFactory = exports.linearBasicDisplayConfigSchemaFactory = exports.SVGRuler = exports.totalHeight = exports.SVGTracks = exports.renderToSvg = exports.SearchBox = exports.RefNameAutocomplete = exports.TooLargeMessage = exports.FeatureDensityMixin = exports.TrackHeightMixin = exports.BaseLinearDisplayComponent = exports.BlockMsg = exports.BaseLinearDisplay = exports.baseLinearDisplayConfigSchema = exports.linearBareDisplayConfigSchemaFactory = void 0;
|
|
30
30
|
const Plugin_1 = __importDefault(require("@jbrowse/core/Plugin"));
|
|
31
31
|
const util_1 = require("@jbrowse/core/util");
|
|
32
32
|
// icons
|
|
@@ -76,10 +76,13 @@ exports.default = LinearGenomeViewPlugin;
|
|
|
76
76
|
var LinearBareDisplay_2 = require("./LinearBareDisplay");
|
|
77
77
|
Object.defineProperty(exports, "linearBareDisplayConfigSchemaFactory", { enumerable: true, get: function () { return LinearBareDisplay_2.configSchemaFactory; } });
|
|
78
78
|
var BaseLinearDisplay_2 = require("./BaseLinearDisplay");
|
|
79
|
-
Object.defineProperty(exports, "BlockMsg", { enumerable: true, get: function () { return BaseLinearDisplay_2.BlockMsg; } });
|
|
80
79
|
Object.defineProperty(exports, "baseLinearDisplayConfigSchema", { enumerable: true, get: function () { return BaseLinearDisplay_2.baseLinearDisplayConfigSchema; } });
|
|
81
|
-
Object.defineProperty(exports, "BaseLinearDisplayComponent", { enumerable: true, get: function () { return BaseLinearDisplay_2.BaseLinearDisplayComponent; } });
|
|
82
80
|
Object.defineProperty(exports, "BaseLinearDisplay", { enumerable: true, get: function () { return BaseLinearDisplay_2.BaseLinearDisplay; } });
|
|
81
|
+
Object.defineProperty(exports, "BlockMsg", { enumerable: true, get: function () { return BaseLinearDisplay_2.BlockMsg; } });
|
|
82
|
+
Object.defineProperty(exports, "BaseLinearDisplayComponent", { enumerable: true, get: function () { return BaseLinearDisplay_2.BaseLinearDisplayComponent; } });
|
|
83
|
+
Object.defineProperty(exports, "TrackHeightMixin", { enumerable: true, get: function () { return BaseLinearDisplay_2.TrackHeightMixin; } });
|
|
84
|
+
Object.defineProperty(exports, "FeatureDensityMixin", { enumerable: true, get: function () { return BaseLinearDisplay_2.FeatureDensityMixin; } });
|
|
85
|
+
Object.defineProperty(exports, "TooLargeMessage", { enumerable: true, get: function () { return BaseLinearDisplay_2.TooLargeMessage; } });
|
|
83
86
|
var LinearGenomeView_2 = require("./LinearGenomeView");
|
|
84
87
|
Object.defineProperty(exports, "RefNameAutocomplete", { enumerable: true, get: function () { return LinearGenomeView_2.RefNameAutocomplete; } });
|
|
85
88
|
Object.defineProperty(exports, "SearchBox", { enumerable: true, get: function () { return LinearGenomeView_2.SearchBox; } });
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kEAAyC;AAEzC,6CAAgF;AAEhF,QAAQ;AACR,8EAAyD;AAEzD,SAAS;AACT,2DAI4B;AAC5B,4EAAoD;AACpD,uEAI2B;AAE3B,8EAAsD;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kEAAyC;AAEzC,6CAAgF;AAEhF,QAAQ;AACR,8EAAyD;AAEzD,SAAS;AACT,2DAI4B;AAC5B,4EAAoD;AACpD,uEAI2B;AAE3B,8EAAsD;AACtD,kEAA0C;AAC1C,8DAAsC;AACtC,sFAA8D;AAE9D,MAAqB,sBAAuB,SAAQ,gBAAM;IAA1D;;QACE,SAAI,GAAG,wBAAwB,CAAA;QAE/B,YAAO,GAAG;YACR,0BAA0B,EAA1B,8CAA0B;YAC1B,iBAAiB,EAAjB,qCAAiB;YACjB,6BAA6B,EAA7B,iDAA6B;YAC7B,SAAS,EAAT,4BAAS;YACT,YAAY,EAAZ,+BAAY;YACZ,gBAAgB,EAAhB,mCAAgB;SACjB,CAAA;IAsBH,CAAC;IApBC,OAAO,CAAC,aAA4B;QAClC,IAAA,sBAAa,EAAC,aAAa,CAAC,CAAA;QAC5B,IAAA,oBAAW,EAAC,aAAa,CAAC,CAAA;QAC1B,IAAA,4BAAmB,EAAC,aAAa,CAAC,CAAA;QAClC,IAAA,0BAAiB,EAAC,aAAa,CAAC,CAAA;QAChC,IAAA,2BAAkB,EAAC,aAAa,CAAC,CAAA;QACjC,IAAA,gCAAuB,EAAC,aAAa,CAAC,CAAA;IACxC,CAAC;IAED,SAAS,CAAC,aAA4B;QACpC,IAAI,IAAA,4BAAqB,EAAC,aAAa,CAAC,SAAS,CAAC,EAAE;YAClD,aAAa,CAAC,SAAS,CAAC,eAAe,CAAC,CAAC,KAAK,CAAC,EAAE;gBAC/C,KAAK,EAAE,oBAAoB;gBAC3B,IAAI,EAAE,mBAAa;gBACnB,OAAO,EAAE,CAAC,OAA6B,EAAE,EAAE;oBACzC,OAAO,CAAC,OAAO,CAAC,kBAAkB,EAAE,EAAE,CAAC,CAAA;gBACzC,CAAC;aACF,CAAC,CAAA;SACH;IACH,CAAC;CACF;AAhCD,yCAgCC;AAQD,yDAAiG;AAAxF,yIAAA,mBAAmB,OAAwC;AACpE,yDAQ4B;AAP1B,kIAAA,6BAA6B,OAAA;AAC7B,sHAAA,iBAAiB,OAAA;AACjB,6GAAA,QAAQ,OAAA;AACR,+HAAA,0BAA0B,OAAA;AAC1B,qHAAA,gBAAgB,OAAA;AAChB,wHAAA,mBAAmB,OAAA;AACnB,oHAAA,eAAe,OAAA;AAEjB,uDAK2B;AAFzB,uHAAA,mBAAmB,OAAA;AACnB,6GAAA,SAAS,OAAA;AAEX,4FAK6D;AAJ3D,kHAAA,WAAW,OAAA;AACX,gHAAA,SAAS,OAAA;AACT,kHAAA,WAAW,OAAA;AACX,+GAAA,QAAQ,OAAA;AAEV,2DAG6B;AAF3B,2IAAA,YAAY,OAAyC;AACrD,oIAAA,YAAY,OAAkC"}
|
|
@@ -3,7 +3,7 @@ import { BaseLinearDisplayModel } from '../models/BaseLinearDisplayModel';
|
|
|
3
3
|
declare const BaseLinearDisplay: (props: {
|
|
4
4
|
model: BaseLinearDisplayModel;
|
|
5
5
|
children?: React.ReactNode;
|
|
6
|
-
}) => JSX.Element;
|
|
6
|
+
}) => React.JSX.Element;
|
|
7
7
|
export default BaseLinearDisplay;
|
|
8
8
|
export { default as Tooltip } from './Tooltip';
|
|
9
9
|
export { default as BlockMsg } from './BlockMsg';
|
|
@@ -3,13 +3,13 @@ import { BaseBlock } from '@jbrowse/core/util/blockTypes';
|
|
|
3
3
|
declare const ContentBlock: ({ block, children, }: {
|
|
4
4
|
block: BaseBlock;
|
|
5
5
|
children: React.ReactNode;
|
|
6
|
-
}) => JSX.Element;
|
|
6
|
+
}) => React.JSX.Element;
|
|
7
7
|
declare function ElidedBlock({ width }: {
|
|
8
8
|
width: number;
|
|
9
|
-
}): JSX.Element;
|
|
9
|
+
}): React.JSX.Element;
|
|
10
10
|
declare function InterRegionPaddingBlock({ boundary, width, style, }: {
|
|
11
11
|
boundary: boolean;
|
|
12
12
|
width: number;
|
|
13
13
|
style?: React.CSSProperties;
|
|
14
|
-
}): JSX.Element;
|
|
14
|
+
}): React.JSX.Element;
|
|
15
15
|
export { ContentBlock, ElidedBlock, InterRegionPaddingBlock };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { BaseLinearDisplayModel } from '../models/BaseLinearDisplayModel';
|
|
3
3
|
declare const useStyles: (params: void, styleOverrides?: {
|
|
4
4
|
props: any;
|
|
@@ -11,10 +11,10 @@ declare const useStyles: (params: void, styleOverrides?: {
|
|
|
11
11
|
};
|
|
12
12
|
declare const RenderedBlocks: ({ model, }: {
|
|
13
13
|
model: BaseLinearDisplayModel;
|
|
14
|
-
}) => JSX.Element;
|
|
14
|
+
}) => React.JSX.Element;
|
|
15
15
|
declare function LinearBlocks({ model }: {
|
|
16
16
|
model: BaseLinearDisplayModel;
|
|
17
|
-
}): JSX.Element;
|
|
17
|
+
}): React.JSX.Element;
|
|
18
18
|
export { RenderedBlocks, useStyles };
|
|
19
19
|
declare const _default: typeof LinearBlocks;
|
|
20
20
|
export default _default;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { FeatureDensityStats } from '@jbrowse/core/data_adapters/BaseAdapter';
|
|
3
3
|
declare function TooLargeMessage({ model, }: {
|
|
4
4
|
model: {
|
|
5
5
|
regionTooLargeReason: string;
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
featureDensityStats?: FeatureDensityStats;
|
|
7
|
+
setFeatureDensityStatsLimit: (s?: FeatureDensityStats) => void;
|
|
8
8
|
reload: () => void;
|
|
9
9
|
};
|
|
10
|
-
}): JSX.Element;
|
|
10
|
+
}): React.JSX.Element;
|
|
11
11
|
export default TooLargeMessage;
|
|
@@ -4,10 +4,14 @@ import BlockMsg from '../components/BlockMsg';
|
|
|
4
4
|
function TooLargeMessage({ model, }) {
|
|
5
5
|
const { regionTooLargeReason } = model;
|
|
6
6
|
return (React.createElement(BlockMsg, { severity: "warning", action: () => {
|
|
7
|
-
model.
|
|
7
|
+
model.setFeatureDensityStatsLimit(model.featureDensityStats);
|
|
8
8
|
model.reload();
|
|
9
|
-
}, buttonText: "Force load", message:
|
|
10
|
-
|
|
9
|
+
}, buttonText: "Force load", message: [
|
|
10
|
+
regionTooLargeReason,
|
|
11
|
+
'Zoom in to see features or force load (may be slow)',
|
|
12
|
+
]
|
|
13
|
+
.filter(f => !!f)
|
|
14
|
+
.join('. ') }));
|
|
11
15
|
}
|
|
12
16
|
export default TooLargeMessage;
|
|
13
17
|
//# sourceMappingURL=TooLargeMessage.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TooLargeMessage.js","sourceRoot":"","sources":["../../../src/BaseLinearDisplay/components/TooLargeMessage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,SAAS;AACT,OAAO,QAAQ,MAAM,wBAAwB,CAAA;AAE7C,SAAS,eAAe,CAAC,EACvB,KAAK,GAQN;IACC,MAAM,EAAE,oBAAoB,EAAE,GAAG,KAAK,CAAA;IACtC,OAAO,CACL,oBAAC,QAAQ,IACP,QAAQ,EAAC,SAAS,EAClB,MAAM,EAAE,GAAG,EAAE;YACX,KAAK,CAAC,
|
|
1
|
+
{"version":3,"file":"TooLargeMessage.js","sourceRoot":"","sources":["../../../src/BaseLinearDisplay/components/TooLargeMessage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,SAAS;AACT,OAAO,QAAQ,MAAM,wBAAwB,CAAA;AAE7C,SAAS,eAAe,CAAC,EACvB,KAAK,GAQN;IACC,MAAM,EAAE,oBAAoB,EAAE,GAAG,KAAK,CAAA;IACtC,OAAO,CACL,oBAAC,QAAQ,IACP,QAAQ,EAAC,SAAS,EAClB,MAAM,EAAE,GAAG,EAAE;YACX,KAAK,CAAC,2BAA2B,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAAA;YAC5D,KAAK,CAAC,MAAM,EAAE,CAAA;QAChB,CAAC,EACD,UAAU,EAAC,YAAY,EACvB,OAAO,EAAE;YACP,oBAAoB;YACpB,qDAAqD;SACtD;aACE,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC;aAChB,IAAI,CAAC,IAAI,CAAC,GACb,CACH,CAAA;AACH,CAAC;AAED,eAAe,eAAe,CAAA"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { BaseLinearDisplayModel } from '../models/BaseLinearDisplayModel';
|
|
3
3
|
type Coord = [number, number];
|
|
4
4
|
declare const Tooltip: ({ model, clientMouseCoord, }: {
|
|
5
5
|
model: BaseLinearDisplayModel;
|
|
6
6
|
clientMouseCoord: Coord;
|
|
7
|
-
}) => JSX.Element | null;
|
|
7
|
+
}) => React.JSX.Element | null;
|
|
8
8
|
export default Tooltip;
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
export { default as baseLinearDisplayConfigSchema } from './models/configSchema';
|
|
2
|
-
export { BaseLinearDisplay } from './models/BaseLinearDisplayModel';
|
|
3
2
|
export type { BlockModel } from './models/serverSideRenderedBlock';
|
|
4
|
-
export
|
|
3
|
+
export { BaseLinearDisplay } from './models/BaseLinearDisplayModel';
|
|
4
|
+
export type { ExportSvgDisplayOptions, BaseLinearDisplayModel, BaseLinearDisplayStateModel, } from './models/BaseLinearDisplayModel';
|
|
5
5
|
export { default as BaseLinearDisplayComponent, Tooltip, BlockMsg, } from './components/BaseLinearDisplay';
|
|
6
|
+
export { default as TrackHeightMixin } from './models/TrackHeightMixin';
|
|
7
|
+
export { default as FeatureDensityMixin } from './models/FeatureDensityMixin';
|
|
8
|
+
export { default as TooLargeMessage } from './components/TooLargeMessage';
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
export { default as baseLinearDisplayConfigSchema } from './models/configSchema';
|
|
2
2
|
export { BaseLinearDisplay } from './models/BaseLinearDisplayModel';
|
|
3
3
|
export { default as BaseLinearDisplayComponent, Tooltip, BlockMsg, } from './components/BaseLinearDisplay';
|
|
4
|
+
export { default as TrackHeightMixin } from './models/TrackHeightMixin';
|
|
5
|
+
export { default as FeatureDensityMixin } from './models/FeatureDensityMixin';
|
|
6
|
+
export { default as TooLargeMessage } from './components/TooLargeMessage';
|
|
4
7
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/BaseLinearDisplay/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,6BAA6B,EAAE,MAAM,uBAAuB,CAAA;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/BaseLinearDisplay/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,6BAA6B,EAAE,MAAM,uBAAuB,CAAA;AAEhF,OAAO,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAA;AAMnE,OAAO,EACL,OAAO,IAAI,0BAA0B,EACrC,OAAO,EACP,QAAQ,GACT,MAAM,gCAAgC,CAAA;AACvC,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,2BAA2B,CAAA;AACvE,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,8BAA8B,CAAA;AAC7E,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,8BAA8B,CAAA"}
|
|
@@ -2,9 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import { ThemeOptions } from '@mui/material';
|
|
3
3
|
import { MenuItem } from '@jbrowse/core/ui';
|
|
4
4
|
import { Feature } from '@jbrowse/core/util';
|
|
5
|
-
import { Stats } from '@jbrowse/core/data_adapters/BaseAdapter';
|
|
6
5
|
import { BaseBlock } from '@jbrowse/core/util/blockTypes';
|
|
7
|
-
import { Region } from '@jbrowse/core/util/types';
|
|
8
6
|
import CompositeMap from '@jbrowse/core/util/compositeMap';
|
|
9
7
|
import { Instance } from 'mobx-state-tree';
|
|
10
8
|
import { ExportSvgOptions } from '../../LinearGenomeView';
|
|
@@ -16,15 +14,20 @@ export interface Layout {
|
|
|
16
14
|
name: string;
|
|
17
15
|
}
|
|
18
16
|
type LayoutRecord = [number, number, number, number];
|
|
17
|
+
export interface ExportSvgDisplayOptions extends ExportSvgOptions {
|
|
18
|
+
overrideHeight: number;
|
|
19
|
+
theme: ThemeOptions;
|
|
20
|
+
}
|
|
19
21
|
export declare const BaseLinearDisplay: import("mobx-state-tree").IModelType<{
|
|
20
22
|
id: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
21
23
|
type: import("mobx-state-tree").ISimpleType<string>;
|
|
22
24
|
rpcDriverName: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<string>>;
|
|
23
25
|
} & {
|
|
24
|
-
/**
|
|
25
|
-
* #property
|
|
26
|
-
*/
|
|
27
26
|
heightPreConfig: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<number>>;
|
|
27
|
+
} & {
|
|
28
|
+
userBpPerPxLimit: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<number>>;
|
|
29
|
+
userByteSizeLimit: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<number>>;
|
|
30
|
+
} & {
|
|
28
31
|
/**
|
|
29
32
|
* #property
|
|
30
33
|
* updated via autorun
|
|
@@ -78,14 +81,33 @@ export declare const BaseLinearDisplay: import("mobx-state-tree").IModelType<{
|
|
|
78
81
|
/**
|
|
79
82
|
* #property
|
|
80
83
|
*/
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
84
|
+
configuration: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
85
|
+
maxFeatureScreenDensity: {
|
|
86
|
+
type: string;
|
|
87
|
+
description: string;
|
|
88
|
+
defaultValue: number;
|
|
89
|
+
};
|
|
90
|
+
fetchSizeLimit: {
|
|
91
|
+
type: string;
|
|
92
|
+
defaultValue: number;
|
|
93
|
+
description: string;
|
|
94
|
+
};
|
|
95
|
+
height: {
|
|
96
|
+
type: string;
|
|
97
|
+
defaultValue: number;
|
|
98
|
+
description: string;
|
|
99
|
+
};
|
|
100
|
+
mouseover: {
|
|
101
|
+
type: string;
|
|
102
|
+
description: string;
|
|
103
|
+
defaultValue: string;
|
|
104
|
+
contextVariable: string[];
|
|
105
|
+
};
|
|
106
|
+
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "displayId">>;
|
|
86
107
|
}, {
|
|
87
108
|
rendererTypeName: string;
|
|
88
109
|
error: unknown;
|
|
110
|
+
message: string | undefined;
|
|
89
111
|
} & {
|
|
90
112
|
readonly RenderingComponent: React.FC<{
|
|
91
113
|
model: {
|
|
@@ -95,6 +117,7 @@ export declare const BaseLinearDisplay: import("mobx-state-tree").IModelType<{
|
|
|
95
117
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
96
118
|
rendererTypeName: string;
|
|
97
119
|
error: unknown;
|
|
120
|
+
message: string | undefined;
|
|
98
121
|
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
99
122
|
id: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
100
123
|
type: import("mobx-state-tree").ISimpleType<string>;
|
|
@@ -102,6 +125,7 @@ export declare const BaseLinearDisplay: import("mobx-state-tree").IModelType<{
|
|
|
102
125
|
}, {
|
|
103
126
|
rendererTypeName: string;
|
|
104
127
|
error: unknown;
|
|
128
|
+
message: string | undefined;
|
|
105
129
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
|
|
106
130
|
onHorizontalScroll?: Function | undefined;
|
|
107
131
|
blockState?: Record<string, any> | undefined;
|
|
@@ -114,13 +138,17 @@ export declare const BaseLinearDisplay: import("mobx-state-tree").IModelType<{
|
|
|
114
138
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
115
139
|
rendererTypeName: string;
|
|
116
140
|
error: unknown;
|
|
141
|
+
message: string | undefined;
|
|
117
142
|
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
118
143
|
id: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
119
144
|
type: import("mobx-state-tree").ISimpleType<string>;
|
|
120
145
|
rpcDriverName: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<string>>;
|
|
121
146
|
}, {
|
|
122
|
-
rendererTypeName: string;
|
|
147
|
+
rendererTypeName: string; /**
|
|
148
|
+
* #getter
|
|
149
|
+
*/
|
|
123
150
|
error: unknown;
|
|
151
|
+
message: string | undefined;
|
|
124
152
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
|
|
125
153
|
}> | null;
|
|
126
154
|
readonly adapterConfig: any;
|
|
@@ -130,21 +158,52 @@ export declare const BaseLinearDisplay: import("mobx-state-tree").IModelType<{
|
|
|
130
158
|
readonly DisplayMessageComponent: React.FC<any> | undefined;
|
|
131
159
|
trackMenuItems(): MenuItem[];
|
|
132
160
|
readonly viewMenuActions: MenuItem[];
|
|
133
|
-
regionCannotBeRendered():
|
|
161
|
+
regionCannotBeRendered(): null;
|
|
134
162
|
} & {
|
|
163
|
+
setMessage(arg?: string | undefined): void;
|
|
135
164
|
setError(error?: unknown): void;
|
|
136
165
|
setRpcDriverName(rpcDriverName: string): void;
|
|
137
166
|
reload(): void;
|
|
138
167
|
} & {
|
|
139
|
-
currBpPerPx: number;
|
|
140
168
|
scrollTop: number;
|
|
141
|
-
|
|
169
|
+
} & {
|
|
170
|
+
readonly height: number;
|
|
171
|
+
} & {
|
|
172
|
+
setScrollTop(scrollTop: number): void;
|
|
173
|
+
setHeight(displayHeight: number): number;
|
|
174
|
+
resizeHeight(distance: number): number;
|
|
175
|
+
} & {
|
|
176
|
+
featureDensityStatsP: Promise<import("@jbrowse/core/data_adapters/BaseAdapter").FeatureDensityStats> | undefined;
|
|
177
|
+
featureDensityStats: import("@jbrowse/core/data_adapters/BaseAdapter").FeatureDensityStats | undefined;
|
|
178
|
+
currStatsBpPerPx: number;
|
|
179
|
+
} & {
|
|
180
|
+
readonly currentBytesRequested: number;
|
|
181
|
+
readonly currentFeatureScreenDensity: number;
|
|
182
|
+
readonly maxFeatureScreenDensity: any; /**
|
|
183
|
+
* #property
|
|
184
|
+
* updated via autorun
|
|
185
|
+
*/
|
|
186
|
+
readonly featureDensityStatsReady: boolean;
|
|
187
|
+
readonly maxAllowableBytes: number;
|
|
188
|
+
} & {
|
|
189
|
+
afterAttach(): void;
|
|
190
|
+
} & {
|
|
191
|
+
setCurrStatsBpPerPx(n: number): void;
|
|
192
|
+
setFeatureDensityStatsLimit(stats?: import("@jbrowse/core/data_adapters/BaseAdapter").FeatureDensityStats | undefined): void;
|
|
193
|
+
getFeatureDensityStats(): Promise<import("@jbrowse/core/data_adapters/BaseAdapter").FeatureDensityStats>;
|
|
194
|
+
setFeatureDensityStatsP(arg: any): void;
|
|
195
|
+
setFeatureDensityStats(featureDensityStats?: import("@jbrowse/core/data_adapters/BaseAdapter").FeatureDensityStats | undefined): void;
|
|
196
|
+
clearFeatureDensityStats(): void;
|
|
197
|
+
} & {
|
|
198
|
+
readonly regionTooLarge: boolean;
|
|
199
|
+
readonly regionTooLargeReason: string;
|
|
200
|
+
} & {
|
|
201
|
+
regionCannotBeRenderedText(_region: import("@jbrowse/core/util").Region): "" | "Force load to see features";
|
|
202
|
+
regionCannotBeRendered(_region: import("@jbrowse/core/util").Region): React.JSX.Element | null;
|
|
203
|
+
} & {
|
|
142
204
|
featureIdUnderMouse: string | undefined;
|
|
143
205
|
contextMenuFeature: Feature | undefined;
|
|
144
|
-
estimatedRegionsStatsP: Promise<Stats> | undefined;
|
|
145
|
-
estimatedRegionsStats: Stats | undefined;
|
|
146
206
|
} & {
|
|
147
|
-
readonly height: number;
|
|
148
207
|
/**
|
|
149
208
|
* #getter
|
|
150
209
|
*/
|
|
@@ -199,73 +258,11 @@ export declare const BaseLinearDisplay: import("mobx-state-tree").IModelType<{
|
|
|
199
258
|
* #getter
|
|
200
259
|
*/
|
|
201
260
|
searchFeatureByID(id: string): LayoutRecord | undefined;
|
|
202
|
-
/**
|
|
203
|
-
* #getter
|
|
204
|
-
*/
|
|
205
|
-
readonly currentBytesRequested: number;
|
|
206
|
-
/**
|
|
207
|
-
* #getter
|
|
208
|
-
*/
|
|
209
|
-
readonly currentFeatureScreenDensity: number;
|
|
210
|
-
/**
|
|
211
|
-
* #getter
|
|
212
|
-
*/
|
|
213
|
-
readonly maxFeatureScreenDensity: any;
|
|
214
|
-
/**
|
|
215
|
-
* #getter
|
|
216
|
-
*/
|
|
217
|
-
readonly estimatedStatsReady: boolean;
|
|
218
|
-
/**
|
|
219
|
-
* #getter
|
|
220
|
-
*/
|
|
221
|
-
readonly maxAllowableBytes: number;
|
|
222
|
-
} & {
|
|
223
|
-
/**
|
|
224
|
-
* #action
|
|
225
|
-
*/
|
|
226
|
-
setMessage(message: string): void;
|
|
227
261
|
} & {
|
|
228
|
-
afterAttach(): void;
|
|
229
|
-
/**
|
|
230
|
-
* #action
|
|
231
|
-
*/
|
|
232
|
-
estimateRegionsStats(): Promise<Stats>;
|
|
233
|
-
/**
|
|
234
|
-
* #action
|
|
235
|
-
*/
|
|
236
|
-
setRegionsStatsP(arg: any): void;
|
|
237
|
-
/**
|
|
238
|
-
* #action
|
|
239
|
-
*/
|
|
240
|
-
setRegionsStats(estimatedRegionsStats?: Stats): void;
|
|
241
|
-
/**
|
|
242
|
-
* #action
|
|
243
|
-
*/
|
|
244
|
-
clearRegionsStats(): void;
|
|
245
|
-
/**
|
|
246
|
-
* #action
|
|
247
|
-
*/
|
|
248
|
-
setHeight(displayHeight: number): number;
|
|
249
|
-
/**
|
|
250
|
-
* #action
|
|
251
|
-
*/
|
|
252
|
-
resizeHeight(distance: number): number;
|
|
253
|
-
/**
|
|
254
|
-
* #action
|
|
255
|
-
*/
|
|
256
|
-
setScrollTop(scrollTop: number): void;
|
|
257
|
-
/**
|
|
258
|
-
* #action
|
|
259
|
-
*/
|
|
260
|
-
updateStatsLimit(stats?: Stats): void;
|
|
261
262
|
/**
|
|
262
263
|
* #action
|
|
263
264
|
*/
|
|
264
265
|
addBlock(key: string, block: BaseBlock): void;
|
|
265
|
-
/**
|
|
266
|
-
* #action
|
|
267
|
-
*/
|
|
268
|
-
setCurrBpPerPx(n: number): void;
|
|
269
266
|
/**
|
|
270
267
|
* #action
|
|
271
268
|
*/
|
|
@@ -281,51 +278,17 @@ export declare const BaseLinearDisplay: import("mobx-state-tree").IModelType<{
|
|
|
281
278
|
/**
|
|
282
279
|
* #action
|
|
283
280
|
*/
|
|
284
|
-
setFeatureIdUnderMouse(feature
|
|
285
|
-
/**
|
|
286
|
-
* #action
|
|
287
|
-
*/
|
|
288
|
-
reload(): void;
|
|
281
|
+
setFeatureIdUnderMouse(feature?: string): void;
|
|
289
282
|
/**
|
|
290
283
|
* #action
|
|
291
284
|
*/
|
|
292
285
|
setContextMenuFeature(feature?: Feature): void;
|
|
293
|
-
} & {
|
|
294
|
-
/**
|
|
295
|
-
* #getter
|
|
296
|
-
* region is too large if:
|
|
297
|
-
* - stats are ready
|
|
298
|
-
* - region is greater than 20kb (don't warn when zoomed in less than that)
|
|
299
|
-
* - and bytes is greater than max allowed bytes or density greater than max density
|
|
300
|
-
*/
|
|
301
|
-
readonly regionTooLarge: boolean;
|
|
302
|
-
/**
|
|
303
|
-
* #getter
|
|
304
|
-
* only shows a message of bytes requested is defined, the feature density
|
|
305
|
-
* based stats don't produce any helpful message besides to zoom in
|
|
306
|
-
*/
|
|
307
|
-
readonly regionTooLargeReason: string;
|
|
308
286
|
} & {
|
|
309
287
|
/**
|
|
310
288
|
* #action
|
|
311
289
|
*/
|
|
312
290
|
reload(): Promise<void>;
|
|
313
291
|
} & {
|
|
314
|
-
afterAttach(): void;
|
|
315
|
-
} & {
|
|
316
|
-
/**
|
|
317
|
-
* #method
|
|
318
|
-
*/
|
|
319
|
-
regionCannotBeRenderedText(_region: Region): "" | "Force load to see features";
|
|
320
|
-
/**
|
|
321
|
-
* #method
|
|
322
|
-
* @param region -
|
|
323
|
-
* @returns falsy if the region is fine to try rendering. Otherwise,
|
|
324
|
-
* return a react node + string of text.
|
|
325
|
-
* string of text describes why it cannot be rendered
|
|
326
|
-
* react node allows user to force load at current setting
|
|
327
|
-
*/
|
|
328
|
-
regionCannotBeRendered(_region: Region): JSX.Element | null;
|
|
329
292
|
/**
|
|
330
293
|
* #method
|
|
331
294
|
*/
|
|
@@ -342,19 +305,18 @@ export declare const BaseLinearDisplay: import("mobx-state-tree").IModelType<{
|
|
|
342
305
|
/**
|
|
343
306
|
* #method
|
|
344
307
|
*/
|
|
345
|
-
renderSvg(opts:
|
|
346
|
-
|
|
347
|
-
theme: ThemeOptions;
|
|
348
|
-
}): Promise<JSX.Element>;
|
|
308
|
+
renderSvg(opts: ExportSvgDisplayOptions): Promise<React.JSX.Element>;
|
|
309
|
+
afterAttach(): void;
|
|
349
310
|
}, import("mobx-state-tree").ModelCreationType<import("mobx-state-tree/dist/internal").ExtractCFromProps<{
|
|
350
311
|
id: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
351
312
|
type: import("mobx-state-tree").ISimpleType<string>;
|
|
352
313
|
rpcDriverName: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<string>>;
|
|
353
314
|
} & {
|
|
354
|
-
/**
|
|
355
|
-
* #property
|
|
356
|
-
*/
|
|
357
315
|
heightPreConfig: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<number>>;
|
|
316
|
+
} & {
|
|
317
|
+
userBpPerPxLimit: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<number>>;
|
|
318
|
+
userByteSizeLimit: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<number>>;
|
|
319
|
+
} & {
|
|
358
320
|
/**
|
|
359
321
|
* #property
|
|
360
322
|
* updated via autorun
|
|
@@ -408,14 +370,33 @@ export declare const BaseLinearDisplay: import("mobx-state-tree").IModelType<{
|
|
|
408
370
|
/**
|
|
409
371
|
* #property
|
|
410
372
|
*/
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
373
|
+
configuration: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
374
|
+
maxFeatureScreenDensity: {
|
|
375
|
+
type: string;
|
|
376
|
+
description: string;
|
|
377
|
+
defaultValue: number;
|
|
378
|
+
};
|
|
379
|
+
fetchSizeLimit: {
|
|
380
|
+
type: string;
|
|
381
|
+
defaultValue: number;
|
|
382
|
+
description: string;
|
|
383
|
+
};
|
|
384
|
+
height: {
|
|
385
|
+
type: string;
|
|
386
|
+
defaultValue: number;
|
|
387
|
+
description: string;
|
|
388
|
+
};
|
|
389
|
+
mouseover: {
|
|
390
|
+
type: string;
|
|
391
|
+
description: string;
|
|
392
|
+
defaultValue: string;
|
|
393
|
+
contextVariable: string[];
|
|
394
|
+
};
|
|
395
|
+
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "displayId">>;
|
|
416
396
|
}>>, {
|
|
417
397
|
type: string;
|
|
418
398
|
id: string;
|
|
399
|
+
configuration: import("mobx-state-tree").ModelSnapshotType<Record<string, any>>;
|
|
419
400
|
rpcDriverName: string | undefined;
|
|
420
401
|
heightPreConfig: number | undefined;
|
|
421
402
|
userBpPerPxLimit: number | undefined;
|