@genome-spy/core 0.37.4 → 0.38.0
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/bundle/__vite-browser-external-ENoMJThg.js +8 -0
- package/dist/bundle/_commonjsHelpers-QtkX90xp.js +30 -0
- package/dist/bundle/index-1QVesMzU.js +1074 -0
- package/dist/bundle/index-Cbz74kpR.js +638 -0
- package/dist/bundle/index-LD6yPc3X.js +515 -0
- package/dist/bundle/index-Pv3tKJ1W.js +2190 -0
- package/dist/bundle/index-UyrC0vvF.js +72 -0
- package/dist/bundle/index-Y-LdHNIz.js +501 -0
- package/dist/bundle/index-gn8bhQ8w.js +4050 -0
- package/dist/bundle/index-lmJu1tfP.js +1372 -0
- package/dist/bundle/index-z4Cs62EO.js +279 -0
- package/dist/bundle/index.es.js +6448 -20571
- package/dist/bundle/index.js +93 -112
- package/dist/bundle/long-Veu0zKh9.js +2382 -0
- package/dist/bundle/remoteFile-Ur-gRKsH.js +96 -0
- package/dist/schema.json +492 -108
- package/dist/src/data/collector.d.ts +11 -11
- package/dist/src/data/collector.d.ts.map +1 -1
- package/dist/src/data/collector.js +8 -8
- package/dist/src/data/dataFlow.d.ts +18 -18
- package/dist/src/data/dataFlow.d.ts.map +1 -1
- package/dist/src/data/dataFlow.js +7 -7
- package/dist/src/data/flowNode.d.ts +9 -9
- package/dist/src/data/flowNode.d.ts.map +1 -1
- package/dist/src/data/flowNode.js +5 -5
- package/dist/src/data/flowOptimizer.d.ts +11 -11
- package/dist/src/data/flowOptimizer.d.ts.map +1 -1
- package/dist/src/data/flowOptimizer.js +7 -7
- package/dist/src/data/flowTestUtils.d.ts +2 -2
- package/dist/src/data/flowTestUtils.d.ts.map +1 -1
- package/dist/src/data/flowTestUtils.js +1 -1
- package/dist/src/data/sources/dataSource.js +1 -1
- package/dist/src/data/sources/dataSourceFactory.d.ts +3 -3
- package/dist/src/data/sources/dataSourceFactory.d.ts.map +1 -1
- package/dist/src/data/sources/dataSourceFactory.js +20 -20
- package/dist/src/data/sources/dataUtils.d.ts +20 -20
- package/dist/src/data/sources/dataUtils.d.ts.map +1 -1
- package/dist/src/data/sources/dataUtils.js +11 -11
- package/dist/src/data/sources/dynamic/axisGenomeSource.d.ts +3 -3
- package/dist/src/data/sources/dynamic/axisGenomeSource.d.ts.map +1 -1
- package/dist/src/data/sources/dynamic/axisGenomeSource.js +2 -2
- package/dist/src/data/sources/dynamic/axisTickSource.d.ts +6 -6
- package/dist/src/data/sources/dynamic/axisTickSource.d.ts.map +1 -1
- package/dist/src/data/sources/dynamic/axisTickSource.js +4 -4
- package/dist/src/data/sources/dynamic/bamSource.d.ts +7 -13
- package/dist/src/data/sources/dynamic/bamSource.d.ts.map +1 -1
- package/dist/src/data/sources/dynamic/bamSource.js +35 -27
- package/dist/src/data/sources/dynamic/bigBedSource.d.ts +9 -9
- package/dist/src/data/sources/dynamic/bigBedSource.d.ts.map +1 -1
- package/dist/src/data/sources/dynamic/bigBedSource.js +31 -18
- package/dist/src/data/sources/dynamic/bigWigSource.d.ts +7 -7
- package/dist/src/data/sources/dynamic/bigWigSource.d.ts.map +1 -1
- package/dist/src/data/sources/dynamic/bigWigSource.js +33 -26
- package/dist/src/data/sources/dynamic/gff3Source.d.ts +9 -0
- package/dist/src/data/sources/dynamic/gff3Source.d.ts.map +1 -1
- package/dist/src/data/sources/dynamic/gff3Source.js +17 -2
- package/dist/src/data/sources/dynamic/indexedFastaSource.d.ts +6 -9
- package/dist/src/data/sources/dynamic/indexedFastaSource.d.ts.map +1 -1
- package/dist/src/data/sources/dynamic/indexedFastaSource.js +28 -18
- package/dist/src/data/sources/dynamic/singleAxisLazySource.d.ts +10 -10
- package/dist/src/data/sources/dynamic/singleAxisLazySource.d.ts.map +1 -1
- package/dist/src/data/sources/dynamic/singleAxisLazySource.js +6 -6
- package/dist/src/data/sources/dynamic/tabixSource.d.ts +11 -8
- package/dist/src/data/sources/dynamic/tabixSource.d.ts.map +1 -1
- package/dist/src/data/sources/dynamic/tabixSource.js +31 -17
- package/dist/src/data/sources/inlineSource.d.ts +7 -7
- package/dist/src/data/sources/inlineSource.d.ts.map +1 -1
- package/dist/src/data/sources/inlineSource.js +5 -5
- package/dist/src/data/sources/namedSource.d.ts +9 -9
- package/dist/src/data/sources/namedSource.d.ts.map +1 -1
- package/dist/src/data/sources/namedSource.js +6 -6
- package/dist/src/data/sources/sequenceSource.d.ts +7 -7
- package/dist/src/data/sources/sequenceSource.d.ts.map +1 -1
- package/dist/src/data/sources/sequenceSource.js +4 -4
- package/dist/src/data/sources/urlSource.d.ts +7 -7
- package/dist/src/data/sources/urlSource.d.ts.map +1 -1
- package/dist/src/data/sources/urlSource.js +4 -4
- package/dist/src/data/transforms/aggregate.d.ts +3 -3
- package/dist/src/data/transforms/aggregate.d.ts.map +1 -1
- package/dist/src/data/transforms/aggregate.js +2 -2
- package/dist/src/data/transforms/clone.d.ts +2 -2
- package/dist/src/data/transforms/clone.d.ts.map +1 -1
- package/dist/src/data/transforms/clone.js +1 -1
- package/dist/src/data/transforms/coverage.d.ts +3 -3
- package/dist/src/data/transforms/coverage.d.ts.map +1 -1
- package/dist/src/data/transforms/coverage.js +1 -1
- package/dist/src/data/transforms/coverage.test.js +1 -1
- package/dist/src/data/transforms/filter.d.ts +3 -3
- package/dist/src/data/transforms/filter.d.ts.map +1 -1
- package/dist/src/data/transforms/filter.js +2 -2
- package/dist/src/data/transforms/filter.test.js +1 -1
- package/dist/src/data/transforms/filterScoredLabels.d.ts +4 -4
- package/dist/src/data/transforms/filterScoredLabels.d.ts.map +1 -1
- package/dist/src/data/transforms/filterScoredLabels.js +3 -3
- package/dist/src/data/transforms/flatten.d.ts +2 -2
- package/dist/src/data/transforms/flatten.d.ts.map +1 -1
- package/dist/src/data/transforms/flatten.js +3 -3
- package/dist/src/data/transforms/flatten.test.js +6 -6
- package/dist/src/data/transforms/flattenCompressedExons.d.ts +2 -2
- package/dist/src/data/transforms/flattenCompressedExons.d.ts.map +1 -1
- package/dist/src/data/transforms/flattenCompressedExons.js +1 -1
- package/dist/src/data/transforms/flattenDelimited.d.ts +2 -2
- package/dist/src/data/transforms/flattenDelimited.d.ts.map +1 -1
- package/dist/src/data/transforms/flattenDelimited.js +2 -2
- package/dist/src/data/transforms/flattenDelimited.test.js +5 -5
- package/dist/src/data/transforms/flattenSequence.d.ts +2 -2
- package/dist/src/data/transforms/flattenSequence.d.ts.map +1 -1
- package/dist/src/data/transforms/flattenSequence.js +1 -1
- package/dist/src/data/transforms/flattenSequence.test.js +1 -1
- package/dist/src/data/transforms/formula.d.ts +3 -3
- package/dist/src/data/transforms/formula.d.ts.map +1 -1
- package/dist/src/data/transforms/formula.js +2 -2
- package/dist/src/data/transforms/identifier.d.ts +3 -3
- package/dist/src/data/transforms/identifier.d.ts.map +1 -1
- package/dist/src/data/transforms/identifier.js +2 -2
- package/dist/src/data/transforms/linearizeGenomicCoordinate.d.ts +3 -3
- package/dist/src/data/transforms/linearizeGenomicCoordinate.d.ts.map +1 -1
- package/dist/src/data/transforms/linearizeGenomicCoordinate.js +2 -2
- package/dist/src/data/transforms/measureText.d.ts +2 -2
- package/dist/src/data/transforms/measureText.d.ts.map +1 -1
- package/dist/src/data/transforms/measureText.js +1 -1
- package/dist/src/data/transforms/pileup.d.ts +3 -3
- package/dist/src/data/transforms/pileup.d.ts.map +1 -1
- package/dist/src/data/transforms/pileup.js +1 -1
- package/dist/src/data/transforms/pileup.test.js +1 -1
- package/dist/src/data/transforms/project.d.ts +2 -2
- package/dist/src/data/transforms/project.d.ts.map +1 -1
- package/dist/src/data/transforms/project.js +1 -1
- package/dist/src/data/transforms/project.test.js +1 -1
- package/dist/src/data/transforms/regexExtract.d.ts +2 -2
- package/dist/src/data/transforms/regexExtract.d.ts.map +1 -1
- package/dist/src/data/transforms/regexExtract.js +1 -1
- package/dist/src/data/transforms/regexExtract.test.js +3 -3
- package/dist/src/data/transforms/regexFold.d.ts +2 -2
- package/dist/src/data/transforms/regexFold.d.ts.map +1 -1
- package/dist/src/data/transforms/regexFold.js +2 -2
- package/dist/src/data/transforms/regexFold.test.js +3 -3
- package/dist/src/data/transforms/sample.d.ts +2 -2
- package/dist/src/data/transforms/sample.d.ts.map +1 -1
- package/dist/src/data/transforms/sample.js +2 -2
- package/dist/src/data/transforms/stack.d.ts +3 -3
- package/dist/src/data/transforms/stack.d.ts.map +1 -1
- package/dist/src/data/transforms/stack.js +2 -2
- package/dist/src/data/transforms/stack.test.js +2 -2
- package/dist/src/data/transforms/transformFactory.d.ts +5 -5
- package/dist/src/data/transforms/transformFactory.d.ts.map +1 -1
- package/dist/src/data/transforms/transformFactory.js +3 -3
- package/dist/src/encoder/accessor.d.ts +6 -6
- package/dist/src/encoder/accessor.d.ts.map +1 -1
- package/dist/src/encoder/accessor.js +4 -4
- package/dist/src/encoder/encoder.d.ts +59 -59
- package/dist/src/encoder/encoder.d.ts.map +1 -1
- package/dist/src/encoder/encoder.js +40 -40
- package/dist/src/encoder/encoder.test.js +4 -4
- package/dist/src/fonts/bmFontManager.d.ts +7 -7
- package/dist/src/fonts/bmFontManager.d.ts.map +1 -1
- package/dist/src/fonts/bmFontManager.js +3 -3
- package/dist/src/fonts/bmFontMetrics.d.ts +6 -6
- package/dist/src/fonts/bmFontMetrics.d.ts.map +1 -1
- package/dist/src/fonts/bmFontMetrics.js +4 -4
- package/dist/src/genome/genome.d.ts +7 -7
- package/dist/src/genome/genome.d.ts.map +1 -1
- package/dist/src/genome/genome.js +2 -2
- package/dist/src/genome/genomeStore.d.ts +2 -2
- package/dist/src/genome/genomeStore.d.ts.map +1 -1
- package/dist/src/genome/genomeStore.js +1 -1
- package/dist/src/genome/locusFormat.d.ts +7 -7
- package/dist/src/genome/locusFormat.d.ts.map +1 -1
- package/dist/src/genome/locusFormat.js +4 -4
- package/dist/src/genome/scaleIndex.d.ts +1 -1
- package/dist/src/genome/scaleIndex.d.ts.map +1 -1
- package/dist/src/genome/scaleIndex.js +1 -1
- package/dist/src/genome/scaleLocus.d.ts +2 -2
- package/dist/src/genome/scaleLocus.d.ts.map +1 -1
- package/dist/src/genome/scaleLocus.js +3 -3
- package/dist/src/genomeSpy.d.ts +12 -12
- package/dist/src/genomeSpy.d.ts.map +1 -1
- package/dist/src/genomeSpy.js +51 -34
- package/dist/src/gl/arrayBuilder.d.ts.map +1 -1
- package/dist/src/gl/dataToVertices.d.ts +18 -18
- package/dist/src/gl/dataToVertices.d.ts.map +1 -1
- package/dist/src/gl/dataToVertices.js +10 -10
- package/dist/src/gl/webGLHelper.d.ts +4 -4
- package/dist/src/gl/webGLHelper.d.ts.map +1 -1
- package/dist/src/gl/webGLHelper.js +2 -2
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +1 -1
- package/dist/src/marks/link.js +5 -5
- package/dist/src/marks/mark.d.ts +35 -32
- package/dist/src/marks/mark.d.ts.map +1 -1
- package/dist/src/marks/mark.js +26 -23
- package/dist/src/marks/markUtils.d.ts +10 -10
- package/dist/src/marks/markUtils.d.ts.map +1 -1
- package/dist/src/marks/markUtils.js +5 -5
- package/dist/src/marks/pointMark.d.ts +1 -1
- package/dist/src/marks/pointMark.d.ts.map +1 -1
- package/dist/src/marks/pointMark.js +7 -7
- package/dist/src/marks/rectMark.d.ts +2 -2
- package/dist/src/marks/rectMark.d.ts.map +1 -1
- package/dist/src/marks/rectMark.js +7 -7
- package/dist/src/marks/rule.js +6 -6
- package/dist/src/marks/text.d.ts +1 -1
- package/dist/src/marks/text.d.ts.map +1 -1
- package/dist/src/marks/text.js +6 -6
- package/dist/src/scale/colorUtils.d.ts +4 -4
- package/dist/src/scale/colorUtils.d.ts.map +1 -1
- package/dist/src/scale/colorUtils.js +2 -2
- package/dist/src/scale/glslScaleGenerator.d.ts +3 -3
- package/dist/src/scale/glslScaleGenerator.d.ts.map +1 -1
- package/dist/src/scale/glslScaleGenerator.js +2 -2
- package/dist/src/scale/scale.d.ts +3 -3
- package/dist/src/scale/scale.d.ts.map +1 -1
- package/dist/src/scale/scale.js +2 -2
- package/dist/src/scale/ticks.d.ts +4 -4
- package/dist/src/scale/ticks.js +4 -4
- package/dist/src/spec/axis.d.ts +1 -1
- package/dist/src/spec/channel.d.ts +2 -2
- package/dist/src/spec/data.d.ts +2 -2
- package/dist/src/spec/mark.d.ts +3 -3
- package/dist/src/spec/root.d.ts +2 -2
- package/dist/src/spec/sampleView.d.ts +5 -5
- package/dist/src/spec/scale.d.ts +1 -1
- package/dist/src/spec/title.d.ts +1 -1
- package/dist/src/spec/view.d.ts +36 -9
- package/dist/src/tooltip/dataTooltipHandler.js +1 -1
- package/dist/src/tooltip/refseqGeneTooltipHandler.d.ts.map +1 -1
- package/dist/src/tooltip/refseqGeneTooltipHandler.js +1 -1
- package/dist/src/tooltip/tooltipHandler.d.ts +1 -1
- package/dist/src/tooltip/tooltipHandler.d.ts.map +1 -1
- package/dist/src/tooltip/tooltipHandler.ts +1 -1
- package/dist/src/types/embedApi.d.ts +3 -3
- package/dist/src/types/encoder.d.ts +4 -4
- package/dist/src/types/flowBatch.d.ts +1 -1
- package/dist/src/types/rendering.d.ts +3 -3
- package/dist/src/types/scaleResolutionApi.d.ts +2 -2
- package/dist/src/types/viewContext.d.ts +41 -12
- package/dist/src/utils/animator.d.ts +2 -2
- package/dist/src/utils/animator.d.ts.map +1 -1
- package/dist/src/utils/animator.js +1 -1
- package/dist/src/utils/inertia.d.ts +3 -3
- package/dist/src/utils/inertia.d.ts.map +1 -1
- package/dist/src/utils/inertia.js +1 -1
- package/dist/src/utils/interactionEvent.d.ts +5 -5
- package/dist/src/utils/interactionEvent.d.ts.map +1 -1
- package/dist/src/utils/interactionEvent.js +2 -2
- package/dist/src/utils/trees.js +1 -1
- package/dist/src/view/axisGridView.d.ts +17 -16
- package/dist/src/view/axisGridView.d.ts.map +1 -1
- package/dist/src/view/axisGridView.js +24 -20
- package/dist/src/view/axisResolution.d.ts +10 -10
- package/dist/src/view/axisResolution.d.ts.map +1 -1
- package/dist/src/view/axisResolution.js +6 -6
- package/dist/src/view/axisResolution.test.js +1 -1
- package/dist/src/view/axisView.d.ts +18 -17
- package/dist/src/view/axisView.d.ts.map +1 -1
- package/dist/src/view/axisView.js +39 -35
- package/dist/src/view/concatView.d.ts +5 -5
- package/dist/src/view/concatView.d.ts.map +1 -1
- package/dist/src/view/concatView.js +23 -23
- package/dist/src/view/containerView.d.ts +10 -8
- package/dist/src/view/containerView.d.ts.map +1 -1
- package/dist/src/view/containerView.js +18 -13
- package/dist/src/view/facetView.d.ts +12 -12
- package/dist/src/view/facetView.d.ts.map +1 -1
- package/dist/src/view/facetView.js +19 -19
- package/dist/src/view/flowBuilder.d.ts +4 -4
- package/dist/src/view/flowBuilder.d.ts.map +1 -1
- package/dist/src/view/flowBuilder.js +13 -13
- package/dist/src/view/flowBuilder.test.js +7 -7
- package/dist/src/view/gridView.d.ts +63 -35
- package/dist/src/view/gridView.d.ts.map +1 -1
- package/dist/src/view/gridView.js +400 -113
- package/dist/src/view/layerView.d.ts +12 -14
- package/dist/src/view/layerView.d.ts.map +1 -1
- package/dist/src/view/layerView.js +55 -26
- package/dist/src/{utils → view}/layout/flexLayout.d.ts +6 -6
- package/dist/src/view/layout/flexLayout.d.ts.map +1 -0
- package/dist/src/{utils → view}/layout/flexLayout.js +4 -4
- package/dist/src/view/layout/grid.d.ts.map +1 -0
- package/dist/src/{utils → view}/layout/padding.d.ts +4 -4
- package/dist/src/view/layout/padding.d.ts.map +1 -0
- package/dist/src/{utils → view}/layout/padding.js +2 -2
- package/dist/src/view/layout/point.d.ts.map +1 -0
- package/dist/src/{utils → view}/layout/rectangle.d.ts +8 -2
- package/dist/src/view/layout/rectangle.d.ts.map +1 -0
- package/dist/src/{utils → view}/layout/rectangle.js +22 -2
- package/dist/src/{utils → view}/layout/rectangle.test.js +8 -0
- package/dist/src/view/renderingContext/bufferedViewRenderingContext.d.ts +10 -10
- package/dist/src/view/renderingContext/bufferedViewRenderingContext.d.ts.map +1 -1
- package/dist/src/view/renderingContext/bufferedViewRenderingContext.js +10 -10
- package/dist/src/view/renderingContext/compositeViewRenderingContext.d.ts +2 -2
- package/dist/src/view/renderingContext/compositeViewRenderingContext.d.ts.map +1 -1
- package/dist/src/view/renderingContext/compositeViewRenderingContext.js +4 -4
- package/dist/src/view/renderingContext/debuggingViewRenderingContext.d.ts +4 -4
- package/dist/src/view/renderingContext/debuggingViewRenderingContext.d.ts.map +1 -1
- package/dist/src/view/renderingContext/debuggingViewRenderingContext.js +3 -3
- package/dist/src/view/renderingContext/layoutRecorderViewRenderingContext.d.ts +8 -8
- package/dist/src/view/renderingContext/layoutRecorderViewRenderingContext.d.ts.map +1 -1
- package/dist/src/view/renderingContext/layoutRecorderViewRenderingContext.js +4 -4
- package/dist/src/view/renderingContext/simpleViewRenderingContext.d.ts +6 -6
- package/dist/src/view/renderingContext/simpleViewRenderingContext.d.ts.map +1 -1
- package/dist/src/view/renderingContext/simpleViewRenderingContext.js +7 -7
- package/dist/src/view/renderingContext/svgViewRenderingContext.d.ts +4 -4
- package/dist/src/view/renderingContext/svgViewRenderingContext.d.ts.map +1 -1
- package/dist/src/view/renderingContext/svgViewRenderingContext.js +6 -6
- package/dist/src/view/renderingContext/viewRenderingContext.d.ts +10 -10
- package/dist/src/view/renderingContext/viewRenderingContext.d.ts.map +1 -1
- package/dist/src/view/renderingContext/viewRenderingContext.js +5 -5
- package/dist/src/view/scaleResolution.d.ts +21 -17
- package/dist/src/view/scaleResolution.d.ts.map +1 -1
- package/dist/src/view/scaleResolution.js +29 -24
- package/dist/src/view/scaleResolution.test.js +57 -72
- package/dist/src/view/testUtils.d.ts +6 -15
- package/dist/src/view/testUtils.d.ts.map +1 -1
- package/dist/src/view/testUtils.js +40 -44
- package/dist/src/view/title.d.ts +3 -3
- package/dist/src/view/title.d.ts.map +1 -1
- package/dist/src/view/title.js +12 -12
- package/dist/src/view/unitView.d.ts +31 -30
- package/dist/src/view/unitView.d.ts.map +1 -1
- package/dist/src/view/unitView.js +30 -22
- package/dist/src/view/view.d.ts +86 -57
- package/dist/src/view/view.d.ts.map +1 -1
- package/dist/src/view/view.js +148 -103
- package/dist/src/view/view.test.js +9 -8
- package/dist/src/view/viewError.d.ts +9 -0
- package/dist/src/view/viewError.d.ts.map +1 -0
- package/dist/src/view/viewError.js +11 -0
- package/dist/src/view/viewFactory.d.ts +53 -20
- package/dist/src/view/viewFactory.d.ts.map +1 -1
- package/dist/src/view/viewFactory.js +148 -33
- package/dist/src/view/viewFactory.test.js +8 -0
- package/dist/src/view/viewUtils.d.ts +14 -12
- package/dist/src/view/viewUtils.d.ts.map +1 -1
- package/dist/src/view/viewUtils.js +10 -63
- package/dist/src/view/zoom.d.ts +4 -4
- package/dist/src/view/zoom.d.ts.map +1 -1
- package/dist/src/view/zoom.js +3 -3
- package/package.json +7 -5
- package/dist/src/utils/layout/flexLayout.d.ts.map +0 -1
- package/dist/src/utils/layout/grid.d.ts.map +0 -1
- package/dist/src/utils/layout/padding.d.ts.map +0 -1
- package/dist/src/utils/layout/point.d.ts.map +0 -1
- package/dist/src/utils/layout/rectangle.d.ts.map +0 -1
- package/dist/src/view/implicitRootView.d.ts +0 -9
- package/dist/src/view/implicitRootView.d.ts.map +0 -1
- package/dist/src/view/implicitRootView.js +0 -23
- package/dist/src/view/importView.d.ts +0 -17
- package/dist/src/view/importView.d.ts.map +0 -1
- package/dist/src/view/importView.js +0 -22
- /package/dist/src/{utils → view}/layout/flexLayout.test.js +0 -0
- /package/dist/src/{utils → view}/layout/grid.d.ts +0 -0
- /package/dist/src/{utils → view}/layout/grid.js +0 -0
- /package/dist/src/{utils → view}/layout/grid.test.js +0 -0
- /package/dist/src/{utils → view}/layout/point.d.ts +0 -0
- /package/dist/src/{utils → view}/layout/point.js +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"encoder.d.ts","sourceRoot":"","sources":["../../../src/encoder/encoder.js"],"names":[],"mappings":"AAIA;;;;;;;;;;GAUG;AACH,6CAJW,OAAO,
|
|
1
|
+
{"version":3,"file":"encoder.d.ts","sourceRoot":"","sources":["../../../src/encoder/encoder.js"],"names":[],"mappings":"AAIA;;;;;;;;;;GAUG;AACH,6CAJW,OAAO,kBAAkB,EAAE,OAAO,aAClC,OAAO,oBAAoB,EAAE,QAAQ,gGAsC/C;AAED;;;;;;;GAOG;AACH,0CANW,OAAO,oBAAoB,EAAE,UAAU,SACvC,GAAG,0IAyFb;AAED;;;;;GAKG;AACH,uCAHW,OAAO,oBAAoB,EAAE,UAAU,4FAKjD;AAED;;;GAGG;AACH,uCAHW,OAAO,oBAAoB,EAAE,UAAU,mEAKjD;AAED;;;GAGG;AACH,uCAHW,OAAO,oBAAoB,EAAE,UAAU,uDAKjD;AAED;;;GAGG;AACH,kDAHW,OAAO,oBAAoB,EAAE,UAAU,kEAWjD;AAED;;;GAGG;AACH,6CAHW,OAAO,qBAAqB,EAAE,OAAO,WACrC,OAAO,oBAAoB,EAAE,OAAO,klBAS9C;AAED;;;GAGG;AACH,0CAHW,OAAO,oBAAoB,EAAE,UAAU,0DAKjD;AAED;;;GAGG;AACH,sCAHW,OAAO,oBAAoB,EAAE,UAAU,sDAKjD;AAoBD;;;GAGG;AACH,oDAHW,OAAO,oBAAoB,EAAE,OAAO,oEAM9C;AAED;;;GAGG;AACH,6CAHW,OAAO,oBAAoB,EAAE,OAAO,6DAM9C;AAqBD;;;GAGG;AACH,4CAFW,MAAM,WAIhB;AAED;;;;GAIG;AACH,oDAFW,OAAO,oBAAoB,EAAE,OAAO,2DAS9C;AAED;;;;;GAKG;AACH,2CAFW,OAAO,oBAAoB,EAAE,OAAO,wCAI9C;AAED;;;;GAIG;AACH,kDAFW,OAAO,oBAAoB,EAAE,OAAO,0CAM9C;AAED;;GAEG;AACH,wCAFW,OAAO,oBAAoB,EAAE,OAAO,WAI9C;AAED;;;;GAIG;AACH,2CAFW,OAAO,oBAAoB,EAAE,OAAO,WAI9C;AAED;;;GAGG;AACH,4CAHW,OAAO,oBAAoB,EAAE,OAAO,4DAuB9C;AAED;;;;;GAKG;AACH,0CAHW,OAAO,oBAAoB,EAAE,OAAO,GAClC,GAAG,EAAE,CAkBjB;AAED;;;GAGG;AACH,gDAHW,OAAO,oBAAoB,EAAE,OAAO,UACzB,GAAG,KAAE,MAAM,CAkBhC;AAxLD;;GAEG;AACH,wCAFU,OAAO,oBAAoB,EAAE,wBAAwB,EAAE,CAEb;AAEpD;;GAEG;AACH,0CAFU,OAAO,oBAAoB,EAAE,0BAA0B,EAAE,CAEX;AAExD;;GAEG;AACH,iCAFU,OAAO,oBAAoB,EAAE,iBAAiB,EAAE,CAKxD;AAoBF;;;;GAIG;AACH,gCAFU,QAAQ,OAAO,OAAO,oBAAoB,EAAE,OAAO,EAAE,OAAO,oBAAoB,EAAE,0BAA0B,CAAC,CAAC,CAKtH;AAEF;;;;GAIG;AACH,8BAFU,QAAQ,OAAO,OAAO,oBAAoB,EAAE,OAAO,EAAE,OAAO,oBAAoB,EAAE,OAAO,CAAC,CAAC,CAInG"}
|
|
@@ -9,14 +9,14 @@ import scaleNull from "../utils/scaleNull.js";
|
|
|
9
9
|
*
|
|
10
10
|
* TODO: This method should have a test. But how to mock Mark...
|
|
11
11
|
*
|
|
12
|
-
* @param {import("../marks/mark").default} mark
|
|
13
|
-
* @param {import("../spec/channel").Encoding} [encoding] Taken from the mark if not provided
|
|
12
|
+
* @param {import("../marks/mark.js").default} mark
|
|
13
|
+
* @param {import("../spec/channel.js").Encoding} [encoding] Taken from the mark if not provided
|
|
14
14
|
* @returns {Partial<Record<Channel, Encoder>>}
|
|
15
15
|
*/
|
|
16
16
|
export default function createEncoders(mark, encoding) {
|
|
17
17
|
/**
|
|
18
|
-
* @typedef {import("../spec/channel").Channel} Channel
|
|
19
|
-
* @typedef {import("../types/encoder").Encoder} Encoder
|
|
18
|
+
* @typedef {import("../spec/channel.js").Channel} Channel
|
|
19
|
+
* @typedef {import("../types/encoder.js").Encoder} Encoder
|
|
20
20
|
*/
|
|
21
21
|
|
|
22
22
|
/** @type {Partial<Record<Channel, Encoder>>} */
|
|
@@ -52,7 +52,7 @@ export default function createEncoders(mark, encoding) {
|
|
|
52
52
|
|
|
53
53
|
/**
|
|
54
54
|
*
|
|
55
|
-
* @param {import("../spec/channel").ChannelDef} channelDef
|
|
55
|
+
* @param {import("../spec/channel.js").ChannelDef} channelDef
|
|
56
56
|
* @param {any} scale
|
|
57
57
|
* @param {Accessor} accessor
|
|
58
58
|
* @param {Channel} channel
|
|
@@ -60,9 +60,9 @@ export default function createEncoders(mark, encoding) {
|
|
|
60
60
|
*/
|
|
61
61
|
export function createEncoder(channelDef, scale, accessor, channel) {
|
|
62
62
|
/**
|
|
63
|
-
* @typedef {import("../spec/channel").Channel} Channel
|
|
64
|
-
* @typedef {import("../types/encoder").Encoder} Encoder
|
|
65
|
-
* @typedef {import("../types/encoder").Accessor} Accessor
|
|
63
|
+
* @typedef {import("../spec/channel.js").Channel} Channel
|
|
64
|
+
* @typedef {import("../types/encoder.js").Encoder} Encoder
|
|
65
|
+
* @typedef {import("../types/encoder.js").Accessor} Accessor
|
|
66
66
|
*/
|
|
67
67
|
|
|
68
68
|
/** @type {Encoder} */
|
|
@@ -147,32 +147,32 @@ export function createEncoder(channelDef, scale, accessor, channel) {
|
|
|
147
147
|
/**
|
|
148
148
|
* TODO: Move to a more generic place
|
|
149
149
|
*
|
|
150
|
-
* @param {import("../spec/channel").ChannelDef} channelDef
|
|
151
|
-
* @returns {channelDef is import("../spec/channel").ValueDef}
|
|
150
|
+
* @param {import("../spec/channel.js").ChannelDef} channelDef
|
|
151
|
+
* @returns {channelDef is import("../spec/channel.js").ValueDef}
|
|
152
152
|
*/
|
|
153
153
|
export function isValueDef(channelDef) {
|
|
154
154
|
return channelDef && "value" in channelDef;
|
|
155
155
|
}
|
|
156
156
|
|
|
157
157
|
/**
|
|
158
|
-
* @param {import("../spec/channel").ChannelDef} channelDef
|
|
159
|
-
* @returns {channelDef is import("../spec/channel").FieldDefBase<string>}
|
|
158
|
+
* @param {import("../spec/channel.js").ChannelDef} channelDef
|
|
159
|
+
* @returns {channelDef is import("../spec/channel.js").FieldDefBase<string>}
|
|
160
160
|
*/
|
|
161
161
|
export function isFieldDef(channelDef) {
|
|
162
162
|
return channelDef && "field" in channelDef;
|
|
163
163
|
}
|
|
164
164
|
|
|
165
165
|
/**
|
|
166
|
-
* @param {import("../spec/channel").ChannelDef} channelDef
|
|
167
|
-
* @returns {channelDef is import("../spec/channel").DatumDef}
|
|
166
|
+
* @param {import("../spec/channel.js").ChannelDef} channelDef
|
|
167
|
+
* @returns {channelDef is import("../spec/channel.js").DatumDef}
|
|
168
168
|
*/
|
|
169
169
|
export function isDatumDef(channelDef) {
|
|
170
170
|
return channelDef && "datum" in channelDef;
|
|
171
171
|
}
|
|
172
172
|
|
|
173
173
|
/**
|
|
174
|
-
* @param {import("../spec/channel").ChannelDef} channelDef
|
|
175
|
-
* @returns {channelDef is import("../spec/channel").ChannelDefWithScale}
|
|
174
|
+
* @param {import("../spec/channel.js").ChannelDef} channelDef
|
|
175
|
+
* @returns {channelDef is import("../spec/channel.js").ChannelDefWithScale}
|
|
176
176
|
*/
|
|
177
177
|
export function isChannelDefWithScale(channelDef) {
|
|
178
178
|
// TODO: Not accurate, fix
|
|
@@ -185,8 +185,8 @@ export function isChannelDefWithScale(channelDef) {
|
|
|
185
185
|
}
|
|
186
186
|
|
|
187
187
|
/**
|
|
188
|
-
* @param {import("../view/unitView").default} view
|
|
189
|
-
* @param {import("../spec/channel").Channel} channel
|
|
188
|
+
* @param {import("../view/unitView.js").default} view
|
|
189
|
+
* @param {import("../spec/channel.js").Channel} channel
|
|
190
190
|
*/
|
|
191
191
|
export function getChannelDefWithScale(view, channel) {
|
|
192
192
|
const channelDef = view.mark.encoding[channel];
|
|
@@ -198,33 +198,33 @@ export function getChannelDefWithScale(view, channel) {
|
|
|
198
198
|
}
|
|
199
199
|
|
|
200
200
|
/**
|
|
201
|
-
* @param {import("../spec/channel").ChannelDef} channelDef
|
|
202
|
-
* @returns {channelDef is import("../spec/channel").ChromPosDef}
|
|
201
|
+
* @param {import("../spec/channel.js").ChannelDef} channelDef
|
|
202
|
+
* @returns {channelDef is import("../spec/channel.js").ChromPosDef}
|
|
203
203
|
*/
|
|
204
204
|
export function isChromPosDef(channelDef) {
|
|
205
205
|
return channelDef && "chrom" in channelDef;
|
|
206
206
|
}
|
|
207
207
|
|
|
208
208
|
/**
|
|
209
|
-
* @param {import("../spec/channel").ChannelDef} channelDef
|
|
210
|
-
* @returns {channelDef is import("../spec/channel").ExprDef}
|
|
209
|
+
* @param {import("../spec/channel.js").ChannelDef} channelDef
|
|
210
|
+
* @returns {channelDef is import("../spec/channel.js").ExprDef}
|
|
211
211
|
*/
|
|
212
212
|
export function isExprDef(channelDef) {
|
|
213
213
|
return channelDef && "expr" in channelDef;
|
|
214
214
|
}
|
|
215
215
|
|
|
216
216
|
/**
|
|
217
|
-
* @type {import("../spec/channel").PrimaryPositionalChannel[]}
|
|
217
|
+
* @type {import("../spec/channel.js").PrimaryPositionalChannel[]}
|
|
218
218
|
*/
|
|
219
219
|
export const primaryPositionalChannels = ["x", "y"];
|
|
220
220
|
|
|
221
221
|
/**
|
|
222
|
-
* @type {import("../spec/channel").SecondaryPositionalChannel[]}
|
|
222
|
+
* @type {import("../spec/channel.js").SecondaryPositionalChannel[]}
|
|
223
223
|
*/
|
|
224
224
|
export const secondaryPositionalChannels = ["x2", "y2"];
|
|
225
225
|
|
|
226
226
|
/**
|
|
227
|
-
* @type {import("../spec/channel").PositionalChannel[]}
|
|
227
|
+
* @type {import("../spec/channel.js").PositionalChannel[]}
|
|
228
228
|
*/
|
|
229
229
|
export const positionalChannels = [
|
|
230
230
|
...primaryPositionalChannels,
|
|
@@ -232,8 +232,8 @@ export const positionalChannels = [
|
|
|
232
232
|
];
|
|
233
233
|
|
|
234
234
|
/**
|
|
235
|
-
* @param {import("../spec/channel").Channel} channel
|
|
236
|
-
* @returns {channel is import("../spec/channel").PrimaryPositionalChannel}
|
|
235
|
+
* @param {import("../spec/channel.js").Channel} channel
|
|
236
|
+
* @returns {channel is import("../spec/channel.js").PrimaryPositionalChannel}
|
|
237
237
|
*/
|
|
238
238
|
export function isPrimaryPositionalChannel(channel) {
|
|
239
239
|
// @ts-expect-error
|
|
@@ -241,8 +241,8 @@ export function isPrimaryPositionalChannel(channel) {
|
|
|
241
241
|
}
|
|
242
242
|
|
|
243
243
|
/**
|
|
244
|
-
* @param {import("../spec/channel").Channel} channel
|
|
245
|
-
* @returns {channel is import("../spec/channel").PositionalChannel}
|
|
244
|
+
* @param {import("../spec/channel.js").Channel} channel
|
|
245
|
+
* @returns {channel is import("../spec/channel.js").PositionalChannel}
|
|
246
246
|
*/
|
|
247
247
|
export function isPositionalChannel(channel) {
|
|
248
248
|
// @ts-expect-error
|
|
@@ -252,7 +252,7 @@ export function isPositionalChannel(channel) {
|
|
|
252
252
|
/**
|
|
253
253
|
* Map primary channels to secondarys
|
|
254
254
|
*
|
|
255
|
-
* @type {Partial<Record<import("../spec/channel").Channel, import("../spec/channel").SecondaryPositionalChannel>>}
|
|
255
|
+
* @type {Partial<Record<import("../spec/channel.js").Channel, import("../spec/channel.js").SecondaryPositionalChannel>>}
|
|
256
256
|
*/
|
|
257
257
|
export const secondaryChannels = {
|
|
258
258
|
x: "x2",
|
|
@@ -262,7 +262,7 @@ export const secondaryChannels = {
|
|
|
262
262
|
/**
|
|
263
263
|
* Map secondary channels to primaries
|
|
264
264
|
*
|
|
265
|
-
* @type {Partial<Record<import("../spec/channel").Channel, import("../spec/channel").Channel>>}
|
|
265
|
+
* @type {Partial<Record<import("../spec/channel.js").Channel, import("../spec/channel.js").Channel>>}
|
|
266
266
|
*/
|
|
267
267
|
export const primaryChannels = Object.fromEntries(
|
|
268
268
|
Object.entries(secondaryChannels).map((entry) => [entry[1], entry[0]])
|
|
@@ -279,7 +279,7 @@ export function isSecondaryChannel(channel) {
|
|
|
279
279
|
/**
|
|
280
280
|
* Return the matching secondary channel or throws if one does not exist.
|
|
281
281
|
*
|
|
282
|
-
* @param {import("../spec/channel").Channel} primaryChannel
|
|
282
|
+
* @param {import("../spec/channel.js").Channel} primaryChannel
|
|
283
283
|
*/
|
|
284
284
|
export function getSecondaryChannel(primaryChannel) {
|
|
285
285
|
const secondary = secondaryChannels[primaryChannel];
|
|
@@ -294,7 +294,7 @@ export function getSecondaryChannel(primaryChannel) {
|
|
|
294
294
|
* Finds the primary channel for the provided channel, which may be
|
|
295
295
|
* the primary or secondary.
|
|
296
296
|
*
|
|
297
|
-
* @param {import("../spec/channel").Channel} channel
|
|
297
|
+
* @param {import("../spec/channel.js").Channel} channel
|
|
298
298
|
*/
|
|
299
299
|
export function getPrimaryChannel(channel) {
|
|
300
300
|
return primaryChannels[channel] ?? channel;
|
|
@@ -303,7 +303,7 @@ export function getPrimaryChannel(channel) {
|
|
|
303
303
|
/**
|
|
304
304
|
* Returns an array that contains the given channel and its secondary channel if one exists.
|
|
305
305
|
*
|
|
306
|
-
* @param {import("../spec/channel").Channel} channel
|
|
306
|
+
* @param {import("../spec/channel.js").Channel} channel
|
|
307
307
|
*/
|
|
308
308
|
export function getChannelWithSecondarys(channel) {
|
|
309
309
|
return secondaryChannels[channel]
|
|
@@ -312,7 +312,7 @@ export function getChannelWithSecondarys(channel) {
|
|
|
312
312
|
}
|
|
313
313
|
|
|
314
314
|
/**
|
|
315
|
-
* @param {import("../spec/channel").Channel} channel
|
|
315
|
+
* @param {import("../spec/channel.js").Channel} channel
|
|
316
316
|
*/
|
|
317
317
|
export function isColorChannel(channel) {
|
|
318
318
|
return ["color", "fill", "stroke"].includes(getPrimaryChannel(channel));
|
|
@@ -321,15 +321,15 @@ export function isColorChannel(channel) {
|
|
|
321
321
|
/**
|
|
322
322
|
* Returns true if the channel has a discrete range.
|
|
323
323
|
*
|
|
324
|
-
* @param {import("../spec/channel").Channel} channel
|
|
324
|
+
* @param {import("../spec/channel.js").Channel} channel
|
|
325
325
|
*/
|
|
326
326
|
export function isDiscreteChannel(channel) {
|
|
327
327
|
return ["shape", "squeeze"].includes(channel);
|
|
328
328
|
}
|
|
329
329
|
|
|
330
330
|
/**
|
|
331
|
-
* @param {import("../spec/channel").Channel} channel
|
|
332
|
-
* @returns {channel is import("../spec/channel").ChannelWithScale}
|
|
331
|
+
* @param {import("../spec/channel.js").Channel} channel
|
|
332
|
+
* @returns {channel is import("../spec/channel.js").ChannelWithScale}
|
|
333
333
|
*/
|
|
334
334
|
export function isChannelWithScale(channel) {
|
|
335
335
|
return [
|
|
@@ -356,7 +356,7 @@ export function isChannelWithScale(channel) {
|
|
|
356
356
|
/**
|
|
357
357
|
* Returns valid discrete values for a discrete channel.
|
|
358
358
|
*
|
|
359
|
-
* @param {import("../spec/channel").Channel} channel
|
|
359
|
+
* @param {import("../spec/channel.js").Channel} channel
|
|
360
360
|
* @returns {any[]}
|
|
361
361
|
*/
|
|
362
362
|
export function getDiscreteRange(channel) {
|
|
@@ -378,7 +378,7 @@ export function getDiscreteRange(channel) {
|
|
|
378
378
|
}
|
|
379
379
|
|
|
380
380
|
/**
|
|
381
|
-
* @param {import("../spec/channel").Channel} channel
|
|
381
|
+
* @param {import("../spec/channel.js").Channel} channel
|
|
382
382
|
* @returns {function(any):number}
|
|
383
383
|
*/
|
|
384
384
|
export function getDiscreteRangeMapper(channel) {
|
|
@@ -5,7 +5,7 @@ import { scale as vegaScale } from "vega-scale";
|
|
|
5
5
|
import { createEncoder } from "./encoder.js";
|
|
6
6
|
|
|
7
7
|
describe("Encoder", () => {
|
|
8
|
-
/** @type {Record<string, import("../view/viewUtils").ChannelDef>} */
|
|
8
|
+
/** @type {Record<string, import("../view/viewUtils.js").ChannelDef>} */
|
|
9
9
|
const encodingSpecs = {
|
|
10
10
|
x: { value: 0 },
|
|
11
11
|
y: { field: "a" },
|
|
@@ -15,7 +15,7 @@ describe("Encoder", () => {
|
|
|
15
15
|
|
|
16
16
|
const scaleLinear = vegaScale("linear");
|
|
17
17
|
|
|
18
|
-
/** @type {Record<string, import("./encoder").VegaScale>} */
|
|
18
|
+
/** @type {Record<string, import("./encoder.js").VegaScale>} */
|
|
19
19
|
const scales = {
|
|
20
20
|
y: scaleLinear().domain([0, 10]),
|
|
21
21
|
z: scaleLinear().domain([0, 20]),
|
|
@@ -23,9 +23,9 @@ describe("Encoder", () => {
|
|
|
23
23
|
|
|
24
24
|
const accessorFactory = new AccessorFactory();
|
|
25
25
|
|
|
26
|
-
/** @param {Record<string, import("../view/viewUtils").ChannelDef>} encoding */
|
|
26
|
+
/** @param {Record<string, import("../view/viewUtils.js").ChannelDef>} encoding */
|
|
27
27
|
function createEncoders(encoding) {
|
|
28
|
-
/** @type {Record<string, import("./encoder").Encoder>} */
|
|
28
|
+
/** @type {Record<string, import("./encoder.js").Encoder>} */
|
|
29
29
|
const encoders = {};
|
|
30
30
|
for (const [channel, channelDef] of Object.entries(encoding)) {
|
|
31
31
|
encoders[channel] = createEncoder(
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
* https://github.com/etiennepinchon/aframe-fonts
|
|
7
7
|
*
|
|
8
8
|
*
|
|
9
|
-
* @typedef {import("../types/bmFont").BMFont} BMFont
|
|
10
|
-
* @typedef {import("./bmFontMetrics").BMFontMetrics} BMFontMetrics
|
|
9
|
+
* @typedef {import("../types/bmFont.js").BMFont} BMFont
|
|
10
|
+
* @typedef {import("./bmFontMetrics.js").BMFontMetrics} BMFontMetrics
|
|
11
11
|
*
|
|
12
12
|
* @typedef {"normal" | "italic"} FontStyle
|
|
13
13
|
* @typedef {number} FontWeight
|
|
@@ -23,10 +23,10 @@
|
|
|
23
23
|
*/
|
|
24
24
|
export default class BmFontManager {
|
|
25
25
|
/**
|
|
26
|
-
* @param {import("../gl/webGLHelper").default} [webGLHelper]
|
|
26
|
+
* @param {import("../gl/webGLHelper.js").default} [webGLHelper]
|
|
27
27
|
*/
|
|
28
|
-
constructor(webGLHelper?: import("../gl/webGLHelper").default);
|
|
29
|
-
_webGLHelper: import("../gl/webGLHelper").default;
|
|
28
|
+
constructor(webGLHelper?: import("../gl/webGLHelper.js").default);
|
|
29
|
+
_webGLHelper: import("../gl/webGLHelper.js").default;
|
|
30
30
|
fontRepository: string;
|
|
31
31
|
/**
|
|
32
32
|
* @type {Map<FontKey, FontEntry>}
|
|
@@ -131,7 +131,7 @@ export type GoogleFontMetadataEntry = {
|
|
|
131
131
|
* https://github.com/mattdesl/bmfont2json
|
|
132
132
|
* https://github.com/etiennepinchon/aframe-fonts
|
|
133
133
|
*/
|
|
134
|
-
export type BMFont = import("../types/bmFont").BMFont;
|
|
134
|
+
export type BMFont = import("../types/bmFont.js").BMFont;
|
|
135
135
|
/**
|
|
136
136
|
* Loader for A-Frame fonts.
|
|
137
137
|
*
|
|
@@ -139,7 +139,7 @@ export type BMFont = import("../types/bmFont").BMFont;
|
|
|
139
139
|
* https://github.com/mattdesl/bmfont2json
|
|
140
140
|
* https://github.com/etiennepinchon/aframe-fonts
|
|
141
141
|
*/
|
|
142
|
-
export type BMFontMetrics = import("./bmFontMetrics").BMFontMetrics;
|
|
142
|
+
export type BMFontMetrics = import("./bmFontMetrics.js").BMFontMetrics;
|
|
143
143
|
/**
|
|
144
144
|
* Loader for A-Frame fonts.
|
|
145
145
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bmFontManager.d.ts","sourceRoot":"","sources":["../../../src/fonts/bmFontManager.js"],"names":[],"mappings":"AAiBA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH;IACI;;OAEG;IACH,0BAFW,OAAO,
|
|
1
|
+
{"version":3,"file":"bmFontManager.d.ts","sourceRoot":"","sources":["../../../src/fonts/bmFontManager.js"],"names":[],"mappings":"AAiBA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH;IACI;;OAEG;IACH,0BAFW,OAAO,sBAAsB,EAAE,OAAO,EAgChD;IA7BG,qDAA+B;IAE/B,uBACiF;IAEjF;;OAEG;IACH,QAFU,IAAI,OAAO,EAAE,SAAS,CAAC,CAEc;IAE/C,8DAA8D;IAC9D,mBADW,IAAI,MAAM,EAAE,QAAQ,uBAAuB,EAAE,CAAC,CAAC,CACxB;IAElC,kDAAkD;IAClD,eADW,IAAI,MAAM,EAAE,QAAQ,aAAa,CAAC,CAAC,CAChB;IAE9B,uEAAuE;IACvE,WADW,QAAQ,IAAI,CAAC,EAAE,CACP;IAEnB;;;OAGG;IACH,mBAFU,SAAS,CAOlB;IAGL,gCAEC;IAED;;;;;;OAMG;IACH,gBALW,MAAM,UACN,SAAS,WACT,UAAU,GAAG;;;;;;;;KAAa,GACxB,SAAS,CAyBrB;IAED;;;;OAIG;IACH,0BAHW,SAAS,OACT,OAAO,iBAwBjB;IAED;;OAEG;IACH,eAFW,MAAM,uDAoBhB;IAED;;;OAGG;IACH,sBAFW,MAAM,sCA2BhB;IAED,4BAEC;IAED;;;;OAIG;IACH,0BAHW,MAAM,GACJ,QAAQ,YAAY,CAAC,CAqBjC;IAED;;;;OAIG;IACH,6BAHW,MAAM,GACJ,YAAY,CA0BxB;CACJ;;;;;;;;;;UAgBS,MAAM;;;;WACN,MAAM;;;;YACN,MAAM;;;;cACN,MAAM;;;;sBACN,MAAM;;;;eACN,MAAM;;;;eACN,MAAM;;;;;;;;;qBA5PH,OAAO,oBAAoB,EAAE,MAAM;;;;;;;;4BACnC,OAAO,oBAAoB,EAAE,aAAa;;;;;;;;wBAE1C,QAAQ,GAAG,QAAQ;;;;;;;;yBACnB,MAAM;;;;;;;;;YAGT,MAAM;WACN,SAAS;YACT,UAAU;;;;;;;;;;aAGV,aAAa;aACb,YAAY"}
|
|
@@ -23,8 +23,8 @@ const WEIGHTS = {
|
|
|
23
23
|
* https://github.com/etiennepinchon/aframe-fonts
|
|
24
24
|
*
|
|
25
25
|
*
|
|
26
|
-
* @typedef {import("../types/bmFont").BMFont} BMFont
|
|
27
|
-
* @typedef {import("./bmFontMetrics").BMFontMetrics} BMFontMetrics
|
|
26
|
+
* @typedef {import("../types/bmFont.js").BMFont} BMFont
|
|
27
|
+
* @typedef {import("./bmFontMetrics.js").BMFontMetrics} BMFontMetrics
|
|
28
28
|
*
|
|
29
29
|
* @typedef {"normal" | "italic"} FontStyle
|
|
30
30
|
* @typedef {number} FontWeight
|
|
@@ -40,7 +40,7 @@ const WEIGHTS = {
|
|
|
40
40
|
*/
|
|
41
41
|
export default class BmFontManager {
|
|
42
42
|
/**
|
|
43
|
-
* @param {import("../gl/webGLHelper").default} [webGLHelper]
|
|
43
|
+
* @param {import("../gl/webGLHelper.js").default} [webGLHelper]
|
|
44
44
|
*/
|
|
45
45
|
constructor(webGLHelper) {
|
|
46
46
|
this._webGLHelper = webGLHelper;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* https://github.com/mattdesl/bmfont2json
|
|
5
5
|
* https://github.com/etiennepinchon/aframe-fonts
|
|
6
6
|
*
|
|
7
|
-
* @typedef {import("../types/bmFont").Char} Char
|
|
7
|
+
* @typedef {import("../types/bmFont.js").Char} Char
|
|
8
8
|
*
|
|
9
9
|
* @typedef {object} BMFontMetrics
|
|
10
10
|
* @prop {(text: string, fontSize?: number) => number} measureWidth
|
|
@@ -13,12 +13,12 @@
|
|
|
13
13
|
* @prop {number} xHeight
|
|
14
14
|
* @prop {number} capHeight
|
|
15
15
|
* @prop {number} descent
|
|
16
|
-
* @prop {import("../types/bmFont").Common} common
|
|
16
|
+
* @prop {import("../types/bmFont.js").Common} common
|
|
17
17
|
*
|
|
18
|
-
* @param {import("../types/bmFont").BMFont} bmFont
|
|
18
|
+
* @param {import("../types/bmFont.js").BMFont} bmFont
|
|
19
19
|
* @returns {BMFontMetrics}
|
|
20
20
|
*/
|
|
21
|
-
export default function getMetrics(bmFont: import("../types/bmFont").BMFont): BMFontMetrics;
|
|
21
|
+
export default function getMetrics(bmFont: import("../types/bmFont.js").BMFont): BMFontMetrics;
|
|
22
22
|
export const SDF_PADDING: 5;
|
|
23
23
|
/**
|
|
24
24
|
* Metrics calculation for msdf bmfonts:
|
|
@@ -26,7 +26,7 @@ export const SDF_PADDING: 5;
|
|
|
26
26
|
* https://github.com/mattdesl/bmfont2json
|
|
27
27
|
* https://github.com/etiennepinchon/aframe-fonts
|
|
28
28
|
*/
|
|
29
|
-
export type Char = import("../types/bmFont").Char;
|
|
29
|
+
export type Char = import("../types/bmFont.js").Char;
|
|
30
30
|
/**
|
|
31
31
|
* Metrics calculation for msdf bmfonts:
|
|
32
32
|
*
|
|
@@ -40,6 +40,6 @@ export type BMFontMetrics = {
|
|
|
40
40
|
xHeight: number;
|
|
41
41
|
capHeight: number;
|
|
42
42
|
descent: number;
|
|
43
|
-
common: import("../types/bmFont").Common;
|
|
43
|
+
common: import("../types/bmFont.js").Common;
|
|
44
44
|
};
|
|
45
45
|
//# sourceMappingURL=bmFontMetrics.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bmFontMetrics.d.ts","sourceRoot":"","sources":["../../../src/fonts/bmFontMetrics.js"],"names":[],"mappings":"AAIA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,2CAHW,OAAO,
|
|
1
|
+
{"version":3,"file":"bmFontMetrics.d.ts","sourceRoot":"","sources":["../../../src/fonts/bmFontMetrics.js"],"names":[],"mappings":"AAIA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,2CAHW,OAAO,oBAAoB,EAAE,MAAM,GACjC,aAAa,CAqFzB;AA3GD,4BAA6B;;;;;;;mBAUhB,OAAO,oBAAoB,EAAE,IAAI;;;;;;;;yBAG7B,MAAM,aAAa,MAAM,KAAK,MAAM;8BAChC,MAAM,KAAK,IAAI;oBACnB,MAAM,KAAK,IAAI;aACtB,MAAM;eACN,MAAM;aACN,MAAM;YACN,OAAO,oBAAoB,EAAE,MAAM"}
|
|
@@ -8,7 +8,7 @@ const MAX_ASCII = 127;
|
|
|
8
8
|
* https://github.com/mattdesl/bmfont2json
|
|
9
9
|
* https://github.com/etiennepinchon/aframe-fonts
|
|
10
10
|
*
|
|
11
|
-
* @typedef {import("../types/bmFont").Char} Char
|
|
11
|
+
* @typedef {import("../types/bmFont.js").Char} Char
|
|
12
12
|
*
|
|
13
13
|
* @typedef {object} BMFontMetrics
|
|
14
14
|
* @prop {(text: string, fontSize?: number) => number} measureWidth
|
|
@@ -17,16 +17,16 @@ const MAX_ASCII = 127;
|
|
|
17
17
|
* @prop {number} xHeight
|
|
18
18
|
* @prop {number} capHeight
|
|
19
19
|
* @prop {number} descent
|
|
20
|
-
* @prop {import("../types/bmFont").Common} common
|
|
20
|
+
* @prop {import("../types/bmFont.js").Common} common
|
|
21
21
|
*
|
|
22
|
-
* @param {import("../types/bmFont").BMFont} bmFont
|
|
22
|
+
* @param {import("../types/bmFont.js").BMFont} bmFont
|
|
23
23
|
* @returns {BMFontMetrics}
|
|
24
24
|
*/
|
|
25
25
|
export default function getMetrics(bmFont) {
|
|
26
26
|
/**
|
|
27
27
|
* Use an ordinary array for fast lookup of ascii chars
|
|
28
28
|
*
|
|
29
|
-
* @type {import("../types/bmFont").Char[]}
|
|
29
|
+
* @type {import("../types/bmFont.js").Char[]}
|
|
30
30
|
*/
|
|
31
31
|
const asciiChars = [];
|
|
32
32
|
|
|
@@ -11,16 +11,16 @@ export function parseChromSizes(chromSizesData: string): {
|
|
|
11
11
|
* @param {any} value
|
|
12
12
|
* @return {value is ChromosomalLocus}
|
|
13
13
|
*/
|
|
14
|
-
export function isChromosomalLocus(value: any): value is import("../spec/genome").ChromosomalLocus;
|
|
14
|
+
export function isChromosomalLocus(value: any): value is import("../spec/genome.js").ChromosomalLocus;
|
|
15
15
|
/**
|
|
16
16
|
*
|
|
17
17
|
* @param {any[]} value
|
|
18
18
|
* @return {value is ChromosomalLocus[]}
|
|
19
19
|
*/
|
|
20
|
-
export function isChromosomalLocusInterval(value: any[]): value is import("../spec/genome").ChromosomalLocus[];
|
|
20
|
+
export function isChromosomalLocusInterval(value: any[]): value is import("../spec/genome.js").ChromosomalLocus[];
|
|
21
21
|
/**
|
|
22
|
-
* @typedef {import("../spec/genome").GenomeConfig} GenomeConfig
|
|
23
|
-
* @typedef {import("../spec/genome").ChromosomalLocus} ChromosomalLocus
|
|
22
|
+
* @typedef {import("../spec/genome.js").GenomeConfig} GenomeConfig
|
|
23
|
+
* @typedef {import("../spec/genome.js").ChromosomalLocus} ChromosomalLocus
|
|
24
24
|
*
|
|
25
25
|
* @typedef {object} Chromosome
|
|
26
26
|
* @prop {string} name
|
|
@@ -44,7 +44,7 @@ export default class Genome {
|
|
|
44
44
|
* @param {GenomeConfig} config
|
|
45
45
|
*/
|
|
46
46
|
constructor(config: GenomeConfig);
|
|
47
|
-
config: import("../spec/genome").GenomeConfig;
|
|
47
|
+
config: import("../spec/genome.js").GenomeConfig;
|
|
48
48
|
/** @type {(Chromosome & ChromosomeAnnotation)[]} */
|
|
49
49
|
chromosomes: (Chromosome & ChromosomeAnnotation)[];
|
|
50
50
|
/** @type {Map<string | number, number>} */
|
|
@@ -135,8 +135,8 @@ export default class Genome {
|
|
|
135
135
|
*/
|
|
136
136
|
parseInterval(str: string): [number, number];
|
|
137
137
|
}
|
|
138
|
-
export type GenomeConfig = import("../spec/genome").GenomeConfig;
|
|
139
|
-
export type ChromosomalLocus = import("../spec/genome").ChromosomalLocus;
|
|
138
|
+
export type GenomeConfig = import("../spec/genome.js").GenomeConfig;
|
|
139
|
+
export type ChromosomalLocus = import("../spec/genome.js").ChromosomalLocus;
|
|
140
140
|
export type Chromosome = {
|
|
141
141
|
name: string;
|
|
142
142
|
size: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"genome.d.ts","sourceRoot":"","sources":["../../../src/genome/genome.js"],"names":[],"mappings":"AA+VA;;;GAGG;AACH,gDAFW,MAAM;;;IAOhB;AAED;;;;GAIG;AACH,0CAHW,GAAG,
|
|
1
|
+
{"version":3,"file":"genome.d.ts","sourceRoot":"","sources":["../../../src/genome/genome.js"],"names":[],"mappings":"AA+VA;;;GAGG;AACH,gDAFW,MAAM;;;IAOhB;AAED;;;;GAIG;AACH,0CAHW,GAAG,yDAKb;AAED;;;;GAIG;AACH,kDAHW,GAAG,EAAE,2DAKf;AAlXD;;;;;;;;;;;;;;;;;;;;GAoBG;AAEH;IACI;;OAEG;IACH,oBAFW,YAAY,EA4BtB;IAzBG,iDAAoB;IAQpB,oDAAoD;IACpD,aADW,CAAC,UAAU,GAAG,oBAAoB,CAAC,EAAE,CAC3B;IAErB,2CAA2C;IAC3C,0BADW,IAAI,MAAM,GAAG,MAAM,EAAE,MAAM,CAAC,CACE;IAEzC,sEAAsE;IACtE,mBADW,IAAI,MAAM,GAAG,MAAM,EAAE,UAAU,GAAG,oBAAoB,CAAC,CAChC;IAElC,uBAAuB;IACvB,cADW,MAAM,EAAE,CACG;IAEtB,kBAAkB;IAOtB,mBAEC;IAED;;OAEG;IACH,cAFW,MAAM,iBA0BhB;IAlBO,gBAEyC;IAkBjD,wBAEC;IAED;;;OAGG;IACH,0BAFW,UAAU,EAAE,QA2CtB;IAED,sBAEC;IAED;;;;;OAKG;IACH,oBAHW,MAAM,GAAG,MAAM,OACf,MAAM,UAShB;IAED;;;OAGG;IACH,4BAFW,MAAM,qCAgBhB;IAED;;;;OAIG;IACH,6BAHW,MAAM,GACJ,gBAAgB,CAY5B;IAED;;;OAGG;IACH,oBAFW,MAAM,qCAIhB;IAED;;;;;;;;;;OAUG;IACH,yBAHW,MAAM,EAAE,GACN,MAAM,CAIlB;IAED;;;OAGG;IACH,gCAHW,MAAM,EAAE,GACN,CAAC,gBAAgB,EAAE,gBAAgB,CAAC,CAUhD;IAED;;;;;;OAMG;IACH,kCAFW,gBAAgB,EAAE,YAgB5B;IAED;;;;;OAKG;IACH,wCAHW,CAAC,gBAAgB,EAAE,gBAAgB,CAAC,GAClC,0BAA0B,EAAE,CAiCxC;IAED;;;;OAIG;IACH,4DAFW,MAAM,EAAE,gCAOlB;IAED;;;;OAIG;IACH,mBAHW,MAAM,GACJ,CAAC,MAAM,EAAE,MAAM,CAAC,CAgC5B;CACJ;2BApVY,OAAO,mBAAmB,EAAE,YAAY;+BACxC,OAAO,mBAAmB,EAAE,gBAAgB;;UAG/C,MAAM;UACN,MAAM;;;;;;WAGN,MAAM;;;;YACN,MAAM;;;;qBACN,MAAM;;;;mBACN,MAAM;wBACN,MAAM,EAAE;;;;SACR,OAAO;;;WAGP,MAAM;cACN,MAAM;YACN,MAAM"}
|
|
@@ -7,8 +7,8 @@ import { formatRange } from "./locusFormat.js";
|
|
|
7
7
|
const defaultBaseUrl = "https://genomespy.app/data/genomes/";
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
|
-
* @typedef {import("../spec/genome").GenomeConfig} GenomeConfig
|
|
11
|
-
* @typedef {import("../spec/genome").ChromosomalLocus} ChromosomalLocus
|
|
10
|
+
* @typedef {import("../spec/genome.js").GenomeConfig} GenomeConfig
|
|
11
|
+
* @typedef {import("../spec/genome.js").ChromosomalLocus} ChromosomalLocus
|
|
12
12
|
*
|
|
13
13
|
* @typedef {object} Chromosome
|
|
14
14
|
* @prop {string} name
|
|
@@ -7,9 +7,9 @@ export default class GenomeStore {
|
|
|
7
7
|
genomes: Map<string, Genome>;
|
|
8
8
|
baseUrl: string;
|
|
9
9
|
/**
|
|
10
|
-
* @param {import("../spec/genome").GenomeConfig} genomeConfig
|
|
10
|
+
* @param {import("../spec/genome.js").GenomeConfig} genomeConfig
|
|
11
11
|
*/
|
|
12
|
-
initialize(genomeConfig: import("../spec/genome").GenomeConfig): Promise<void[]>;
|
|
12
|
+
initialize(genomeConfig: import("../spec/genome.js").GenomeConfig): Promise<void[]>;
|
|
13
13
|
/**
|
|
14
14
|
* @param {string} [name] If not given, a default genome is returned.
|
|
15
15
|
* @returns {Genome}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"genomeStore.d.ts","sourceRoot":"","sources":["../../../src/genome/genomeStore.js"],"names":[],"mappings":"AAEA;IACI;;OAEG;IACH,qBAFW,MAAM,EAMhB;IAHG,kCAAkC;IAClC,SADW,IAAI,MAAM,EAAE,MAAM,CAAC,CACN;IACxB,gBAAsB;IAG1B;;OAEG;IAEH,yBAHW,OAAO,
|
|
1
|
+
{"version":3,"file":"genomeStore.d.ts","sourceRoot":"","sources":["../../../src/genome/genomeStore.js"],"names":[],"mappings":"AAEA;IACI;;OAEG;IACH,qBAFW,MAAM,EAMhB;IAHG,kCAAkC;IAClC,SADW,IAAI,MAAM,EAAE,MAAM,CAAC,CACN;IACxB,gBAAsB;IAG1B;;OAEG;IAEH,yBAHW,OAAO,mBAAmB,EAAE,YAAY,mBAYlD;IAED;;;OAGG;IACH,iBAHW,MAAM,GACJ,MAAM,CAuBlB;CACJ;mBArDkB,aAAa"}
|
|
@@ -11,7 +11,7 @@ export default class GenomeStore {
|
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
/**
|
|
14
|
-
* @param {import("../spec/genome").GenomeConfig} genomeConfig
|
|
14
|
+
* @param {import("../spec/genome.js").GenomeConfig} genomeConfig
|
|
15
15
|
*/
|
|
16
16
|
// eslint-disable-next-line require-await
|
|
17
17
|
async initialize(genomeConfig) {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @param {import("../spec/genome").ChromosomalLocus} locus
|
|
2
|
+
* @param {import("../spec/genome.js").ChromosomalLocus} locus
|
|
3
3
|
*/
|
|
4
|
-
export function formatLocus(locus: import("../spec/genome").ChromosomalLocus): string;
|
|
4
|
+
export function formatLocus(locus: import("../spec/genome.js").ChromosomalLocus): string;
|
|
5
5
|
/**
|
|
6
|
-
* @param {number | import("../spec/genome").ChromosomalLocus} locus
|
|
6
|
+
* @param {number | import("../spec/genome.js").ChromosomalLocus} locus
|
|
7
7
|
*/
|
|
8
|
-
export function locusOrNumberToString(locus: number | import("../spec/genome").ChromosomalLocus): string;
|
|
8
|
+
export function locusOrNumberToString(locus: number | import("../spec/genome.js").ChromosomalLocus): string;
|
|
9
9
|
/**
|
|
10
|
-
* @param {import("../spec/genome").ChromosomalLocus} begin
|
|
11
|
-
* @param {import("../spec/genome").ChromosomalLocus} end
|
|
10
|
+
* @param {import("../spec/genome.js").ChromosomalLocus} begin
|
|
11
|
+
* @param {import("../spec/genome.js").ChromosomalLocus} end
|
|
12
12
|
*/
|
|
13
|
-
export function formatRange(begin: import("../spec/genome").ChromosomalLocus, end: import("../spec/genome").ChromosomalLocus): string;
|
|
13
|
+
export function formatRange(begin: import("../spec/genome.js").ChromosomalLocus, end: import("../spec/genome.js").ChromosomalLocus): string;
|
|
14
14
|
//# sourceMappingURL=locusFormat.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"locusFormat.d.ts","sourceRoot":"","sources":["../../../src/genome/locusFormat.js"],"names":[],"mappings":"AAKA;;GAEG;AACH,mCAFW,OAAO,
|
|
1
|
+
{"version":3,"file":"locusFormat.d.ts","sourceRoot":"","sources":["../../../src/genome/locusFormat.js"],"names":[],"mappings":"AAKA;;GAEG;AACH,mCAFW,OAAO,mBAAmB,EAAE,gBAAgB,UAItD;AAED;;GAEG;AACH,6CAFW,MAAM,GAAG,OAAO,mBAAmB,EAAE,gBAAgB,UAM/D;AAED;;;GAGG;AACH,mCAHW,OAAO,mBAAmB,EAAE,gBAAgB,OAC5C,OAAO,mBAAmB,EAAE,gBAAgB,UAWtD"}
|
|
@@ -4,14 +4,14 @@ import { isNumber } from "vega-util";
|
|
|
4
4
|
const numberFormat = d3format(",d");
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
|
-
* @param {import("../spec/genome").ChromosomalLocus} locus
|
|
7
|
+
* @param {import("../spec/genome.js").ChromosomalLocus} locus
|
|
8
8
|
*/
|
|
9
9
|
export function formatLocus(locus) {
|
|
10
10
|
return locus.chrom + ":" + numberFormat(Math.floor(locus.pos + 1));
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
/**
|
|
14
|
-
* @param {number | import("../spec/genome").ChromosomalLocus} locus
|
|
14
|
+
* @param {number | import("../spec/genome.js").ChromosomalLocus} locus
|
|
15
15
|
*/
|
|
16
16
|
export function locusOrNumberToString(locus) {
|
|
17
17
|
return !isNumber(locus) && "chrom" in locus
|
|
@@ -20,8 +20,8 @@ export function locusOrNumberToString(locus) {
|
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
/**
|
|
23
|
-
* @param {import("../spec/genome").ChromosomalLocus} begin
|
|
24
|
-
* @param {import("../spec/genome").ChromosomalLocus} end
|
|
23
|
+
* @param {import("../spec/genome.js").ChromosomalLocus} begin
|
|
24
|
+
* @param {import("../spec/genome.js").ChromosomalLocus} end
|
|
25
25
|
*/
|
|
26
26
|
export function formatRange(begin, end) {
|
|
27
27
|
return (
|
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
* Creates a "index" scale, which works similarly to d3's band scale but the domain
|
|
3
3
|
* consists of integer indexes.
|
|
4
4
|
*/
|
|
5
|
-
export default function scaleIndex(): import("./scaleIndex").ScaleIndex;
|
|
5
|
+
export default function scaleIndex(): import("./scaleIndex.js").ScaleIndex;
|
|
6
6
|
//# sourceMappingURL=scaleIndex.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scaleIndex.d.ts","sourceRoot":"","sources":["../../../src/genome/scaleIndex.js"],"names":[],"mappings":"AAKA;;;GAGG;AACH,
|
|
1
|
+
{"version":3,"file":"scaleIndex.d.ts","sourceRoot":"","sources":["../../../src/genome/scaleIndex.js"],"names":[],"mappings":"AAKA;;;GAGG;AACH,2EA2JC"}
|
|
@@ -28,7 +28,7 @@ export default function scaleIndex() {
|
|
|
28
28
|
* In principle, the domain consists of integer indices. However,
|
|
29
29
|
* we accept real numbers so that items can be centered inside a band.
|
|
30
30
|
*
|
|
31
|
-
* @type {import("./scaleIndex").ScaleIndex}
|
|
31
|
+
* @type {import("./scaleIndex.js").ScaleIndex}
|
|
32
32
|
*/
|
|
33
33
|
const scale = /** @type {any} */ (scaleFunction);
|
|
34
34
|
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export default function scaleLocus(): import("./scaleLocus").ScaleLocus;
|
|
2
|
-
export function isScaleLocus(scale: any): scale is import("./scaleLocus").ScaleLocus;
|
|
1
|
+
export default function scaleLocus(): import("./scaleLocus.js").ScaleLocus;
|
|
2
|
+
export function isScaleLocus(scale: any): scale is import("./scaleLocus.js").ScaleLocus;
|
|
3
3
|
//# sourceMappingURL=scaleLocus.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scaleLocus.d.ts","sourceRoot":"","sources":["../../../src/genome/scaleLocus.js"],"names":[],"mappings":"AAIA,
|
|
1
|
+
{"version":3,"file":"scaleLocus.d.ts","sourceRoot":"","sources":["../../../src/genome/scaleLocus.js"],"names":[],"mappings":"AAIA,2EAyFC;AAlFU,wFAEM"}
|