@milaboratories/miplots4 1.0.173 → 1.0.175
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/AbstractChart.d.ts +1 -0
- package/dist/AbstractChart.d.ts.map +1 -0
- package/dist/DataFrame.d.ts +2 -1
- package/dist/DataFrame.d.ts.map +1 -0
- package/dist/DataFrame.js +52 -51
- package/dist/DataFrame.js.map +1 -1
- package/dist/MiPlots.d.ts +1 -0
- package/dist/MiPlots.d.ts.map +1 -0
- package/dist/bubble/BubbleSettingsImpl.d.ts +4 -0
- package/dist/bubble/BubbleSettingsImpl.d.ts.map +1 -0
- package/dist/bubble/BubbleSettingsImpl.js +16 -16
- package/dist/bubble/BubbleSettingsImpl.js.map +1 -1
- package/dist/bubble/ChartRenderer.d.ts +1 -0
- package/dist/bubble/ChartRenderer.d.ts.map +1 -0
- package/dist/bubble/components/AxisCaptions.d.ts +1 -0
- package/dist/bubble/components/AxisCaptions.d.ts.map +1 -0
- package/dist/bubble/components/Chart.d.ts +1 -0
- package/dist/bubble/components/Chart.d.ts.map +1 -0
- package/dist/bubble/components/ChartsGroup.d.ts +1 -0
- package/dist/bubble/components/ChartsGroup.d.ts.map +1 -0
- package/dist/bubble/components/types.d.ts +1 -0
- package/dist/bubble/components/types.d.ts.map +1 -0
- package/dist/bubble/constants.d.ts +1 -0
- package/dist/bubble/constants.d.ts.map +1 -0
- package/dist/bubble/getCellTooltip.d.ts +1 -0
- package/dist/bubble/getCellTooltip.d.ts.map +1 -0
- package/dist/bubble/getGroupedCellsData.d.ts +2 -1
- package/dist/bubble/getGroupedCellsData.d.ts.map +1 -0
- package/dist/bubble/getGroupedCellsData.js +12 -11
- package/dist/bubble/getGroupedCellsData.js.map +1 -1
- package/dist/bubble/index.d.ts +1 -0
- package/dist/bubble/index.d.ts.map +1 -0
- package/dist/bubble/index.js +61 -69
- package/dist/bubble/index.js.map +1 -1
- package/dist/bubble/utils/calculateCaptionTails.d.ts +1 -0
- package/dist/bubble/utils/calculateCaptionTails.d.ts.map +1 -0
- package/dist/bubble/utils/calculateChartSideElementSizes.d.ts +1 -0
- package/dist/bubble/utils/calculateChartSideElementSizes.d.ts.map +1 -0
- package/dist/bubble/utils/calculateSideElementsBBoxes.d.ts +1 -0
- package/dist/bubble/utils/calculateSideElementsBBoxes.d.ts.map +1 -0
- package/dist/bubble/utils/index.d.ts +1 -0
- package/dist/bubble/utils/index.d.ts.map +1 -0
- package/dist/common/BandAxis.d.ts +1 -0
- package/dist/common/BandAxis.d.ts.map +1 -0
- package/dist/common/ChartsTitle.d.ts +1 -0
- package/dist/common/ChartsTitle.d.ts.map +1 -0
- package/dist/common/ContinuousAxis.d.ts +1 -0
- package/dist/common/ContinuousAxis.d.ts.map +1 -0
- package/dist/common/ContinuousGrid.d.ts +1 -0
- package/dist/common/ContinuousGrid.d.ts.map +1 -0
- package/dist/common/Error.d.ts +1 -0
- package/dist/common/Error.d.ts.map +1 -0
- package/dist/common/ErrorBoundary.d.ts +1 -0
- package/dist/common/ErrorBoundary.d.ts.map +1 -0
- package/dist/common/Legend.d.ts +1 -0
- package/dist/common/Legend.d.ts.map +1 -0
- package/dist/common/Tooltip.d.ts +1 -0
- package/dist/common/Tooltip.d.ts.map +1 -0
- package/dist/common/fonts.d.ts +1 -0
- package/dist/common/fonts.d.ts.map +1 -0
- package/dist/common/types.d.ts +1 -0
- package/dist/common/types.d.ts.map +1 -0
- package/dist/common/useDataFrame.d.ts +1 -0
- package/dist/common/useDataFrame.d.ts.map +1 -0
- package/dist/constants.d.ts +1 -0
- package/dist/constants.d.ts.map +1 -0
- package/dist/constants.js +9 -11
- package/dist/constants.js.map +1 -1
- package/dist/dendro/ChartRenderer.d.ts +1 -0
- package/dist/dendro/ChartRenderer.d.ts.map +1 -0
- package/dist/dendro/DendroSettingsImpl.d.ts +1 -0
- package/dist/dendro/DendroSettingsImpl.d.ts.map +1 -0
- package/dist/dendro/components/Chart.d.ts +1 -0
- package/dist/dendro/components/Chart.d.ts.map +1 -0
- package/dist/dendro/components/Heatmap.d.ts +1 -0
- package/dist/dendro/components/Heatmap.d.ts.map +1 -0
- package/dist/dendro/components/Legend.d.ts +1 -0
- package/dist/dendro/components/Legend.d.ts.map +1 -0
- package/dist/dendro/components/LinksGroup.d.ts +1 -0
- package/dist/dendro/components/LinksGroup.d.ts.map +1 -0
- package/dist/dendro/components/NodesGroup.d.ts +1 -0
- package/dist/dendro/components/NodesGroup.d.ts.map +1 -0
- package/dist/dendro/components/types.d.ts +1 -0
- package/dist/dendro/components/types.d.ts.map +1 -0
- package/dist/dendro/constants.d.ts +1 -0
- package/dist/dendro/constants.d.ts.map +1 -0
- package/dist/dendro/getHeatmapData.d.ts +1 -0
- package/dist/dendro/getHeatmapData.d.ts.map +1 -0
- package/dist/dendro/getHierarchyData.d.ts +1 -0
- package/dist/dendro/getHierarchyData.d.ts.map +1 -0
- package/dist/dendro/index.d.ts +1 -0
- package/dist/dendro/index.d.ts.map +1 -0
- package/dist/discrete/ChartRenderer.d.ts +1 -0
- package/dist/discrete/ChartRenderer.d.ts.map +1 -0
- package/dist/discrete/DiscreteSettingsImpl.d.ts +3 -1
- package/dist/discrete/DiscreteSettingsImpl.d.ts.map +1 -0
- package/dist/discrete/DiscreteSettingsImpl.js.map +1 -1
- package/dist/discrete/components/Chart.d.ts +1 -0
- package/dist/discrete/components/Chart.d.ts.map +1 -0
- package/dist/discrete/components/ChartsGroup.d.ts +1 -0
- package/dist/discrete/components/ChartsGroup.d.ts.map +1 -0
- package/dist/discrete/components/Grid.d.ts +1 -0
- package/dist/discrete/components/Grid.d.ts.map +1 -0
- package/dist/discrete/components/NumberAxis.d.ts +1 -0
- package/dist/discrete/components/NumberAxis.d.ts.map +1 -0
- package/dist/discrete/components/layers/BarElement.d.ts +1 -0
- package/dist/discrete/components/layers/BarElement.d.ts.map +1 -0
- package/dist/discrete/components/layers/BinnedDotsElement.d.ts +1 -0
- package/dist/discrete/components/layers/BinnedDotsElement.d.ts.map +1 -0
- package/dist/discrete/components/layers/BoxElement.d.ts +1 -0
- package/dist/discrete/components/layers/BoxElement.d.ts.map +1 -0
- package/dist/discrete/components/layers/DotsGroupElement.d.ts +1 -0
- package/dist/discrete/components/layers/DotsGroupElement.d.ts.map +1 -0
- package/dist/discrete/components/layers/ErrorBarElement.d.ts +1 -0
- package/dist/discrete/components/layers/ErrorBarElement.d.ts.map +1 -0
- package/dist/discrete/components/layers/LineElement.d.ts +1 -0
- package/dist/discrete/components/layers/LineElement.d.ts.map +1 -0
- package/dist/discrete/components/layers/LogoElement.d.ts +1 -0
- package/dist/discrete/components/layers/LogoElement.d.ts.map +1 -0
- package/dist/discrete/components/layers/PairedPointsElement.d.ts +1 -0
- package/dist/discrete/components/layers/PairedPointsElement.d.ts.map +1 -0
- package/dist/discrete/components/layers/SinaElement.d.ts +1 -0
- package/dist/discrete/components/layers/SinaElement.d.ts.map +1 -0
- package/dist/discrete/components/layers/StackedAreaElement.d.ts +1 -0
- package/dist/discrete/components/layers/StackedAreaElement.d.ts.map +1 -0
- package/dist/discrete/components/layers/StackedBarElement.d.ts +1 -0
- package/dist/discrete/components/layers/StackedBarElement.d.ts.map +1 -0
- package/dist/discrete/components/layers/StatsPValue.d.ts +1 -0
- package/dist/discrete/components/layers/StatsPValue.d.ts.map +1 -0
- package/dist/discrete/components/layers/ViolinElement.d.ts +1 -0
- package/dist/discrete/components/layers/ViolinElement.d.ts.map +1 -0
- package/dist/discrete/components/layers/seqAlphabet.d.ts +1 -0
- package/dist/discrete/components/layers/seqAlphabet.d.ts.map +1 -0
- package/dist/discrete/components/types.d.ts +1 -0
- package/dist/discrete/components/types.d.ts.map +1 -0
- package/dist/discrete/constants.d.ts +1 -0
- package/dist/discrete/constants.d.ts.map +1 -0
- package/dist/discrete/index.d.ts +1 -0
- package/dist/discrete/index.d.ts.map +1 -0
- package/dist/discrete/index.js +151 -165
- package/dist/discrete/index.js.map +1 -1
- package/dist/discrete/layers/bar.d.ts +1 -0
- package/dist/discrete/layers/bar.d.ts.map +1 -0
- package/dist/discrete/layers/binnedDots.d.ts +1 -0
- package/dist/discrete/layers/binnedDots.d.ts.map +1 -0
- package/dist/discrete/layers/boxes.d.ts +1 -0
- package/dist/discrete/layers/boxes.d.ts.map +1 -0
- package/dist/discrete/layers/dots.d.ts +1 -0
- package/dist/discrete/layers/dots.d.ts.map +1 -0
- package/dist/discrete/layers/errorbars.d.ts +1 -0
- package/dist/discrete/layers/errorbars.d.ts.map +1 -0
- package/dist/discrete/layers/index.d.ts +1 -0
- package/dist/discrete/layers/index.d.ts.map +1 -0
- package/dist/discrete/layers/lines.d.ts +1 -0
- package/dist/discrete/layers/lines.d.ts.map +1 -0
- package/dist/discrete/layers/logo.d.ts +1 -0
- package/dist/discrete/layers/logo.d.ts.map +1 -0
- package/dist/discrete/layers/pairedPoints.d.ts +1 -0
- package/dist/discrete/layers/pairedPoints.d.ts.map +1 -0
- package/dist/discrete/layers/sina.d.ts +1 -0
- package/dist/discrete/layers/sina.d.ts.map +1 -0
- package/dist/discrete/layers/stackedArea.d.ts +1 -0
- package/dist/discrete/layers/stackedArea.d.ts.map +1 -0
- package/dist/discrete/layers/stackedBar.d.ts +1 -0
- package/dist/discrete/layers/stackedBar.d.ts.map +1 -0
- package/dist/discrete/layers/stats/MannWhitneyU.d.ts +1 -0
- package/dist/discrete/layers/stats/MannWhitneyU.d.ts.map +1 -0
- package/dist/discrete/layers/stats/index.d.ts +1 -0
- package/dist/discrete/layers/stats/index.d.ts.map +1 -0
- package/dist/discrete/layers/stats/pValueCalculation.d.ts +1 -0
- package/dist/discrete/layers/stats/pValueCalculation.d.ts.map +1 -0
- package/dist/discrete/layers/stats/pValueCorrection.d.ts +1 -0
- package/dist/discrete/layers/stats/pValueCorrection.d.ts.map +1 -0
- package/dist/discrete/layers/types.d.ts +1 -0
- package/dist/discrete/layers/types.d.ts.map +1 -0
- package/dist/discrete/layers/violins.d.ts +1 -0
- package/dist/discrete/layers/violins.d.ts.map +1 -0
- package/dist/discrete/utils/getChartStatsPadding.d.ts +1 -0
- package/dist/discrete/utils/getChartStatsPadding.d.ts.map +1 -0
- package/dist/discrete/utils/getFacetLabels.d.ts +1 -0
- package/dist/discrete/utils/getFacetLabels.d.ts.map +1 -0
- package/dist/discrete/utils/getFacetStringKey.d.ts +1 -0
- package/dist/discrete/utils/getFacetStringKey.d.ts.map +1 -0
- package/dist/discrete/utils/getOutliersBounds.d.ts +1 -0
- package/dist/discrete/utils/getOutliersBounds.d.ts.map +1 -0
- package/dist/discrete/utils/index.d.ts +1 -0
- package/dist/discrete/utils/index.d.ts.map +1 -0
- package/dist/discrete/utils/statsPValue.d.ts +1 -0
- package/dist/discrete/utils/statsPValue.d.ts.map +1 -0
- package/dist/heatmap/ChartRenderer.d.ts +1 -0
- package/dist/heatmap/ChartRenderer.d.ts.map +1 -0
- package/dist/heatmap/HeatmapSettingsImpl.d.ts +2 -0
- package/dist/heatmap/HeatmapSettingsImpl.d.ts.map +1 -0
- package/dist/heatmap/HeatmapSettingsImpl.js +29 -28
- package/dist/heatmap/HeatmapSettingsImpl.js.map +1 -1
- package/dist/heatmap/components/Annotations/Annotation.d.ts +1 -0
- package/dist/heatmap/components/Annotations/Annotation.d.ts.map +1 -0
- package/dist/heatmap/components/Annotations/AnnotationCellsCanvas.d.ts +1 -0
- package/dist/heatmap/components/Annotations/AnnotationCellsCanvas.d.ts.map +1 -0
- package/dist/heatmap/components/Annotations/AnnotationCellsSvg.d.ts +1 -0
- package/dist/heatmap/components/Annotations/AnnotationCellsSvg.d.ts.map +1 -0
- package/dist/heatmap/components/Annotations/index.d.ts +1 -0
- package/dist/heatmap/components/Annotations/index.d.ts.map +1 -0
- package/dist/heatmap/components/CanvasCells.d.ts +1 -0
- package/dist/heatmap/components/CanvasCells.d.ts.map +1 -0
- package/dist/heatmap/components/Captions/AxisCaptions.d.ts +1 -0
- package/dist/heatmap/components/Captions/AxisCaptions.d.ts.map +1 -0
- package/dist/heatmap/components/Captions/GroupCaptions.d.ts +1 -0
- package/dist/heatmap/components/Captions/GroupCaptions.d.ts.map +1 -0
- package/dist/heatmap/components/Captions/index.d.ts +1 -0
- package/dist/heatmap/components/Captions/index.d.ts.map +1 -0
- package/dist/heatmap/components/Chart.d.ts +1 -0
- package/dist/heatmap/components/Chart.d.ts.map +1 -0
- package/dist/heatmap/components/ChartsGroup.d.ts +1 -0
- package/dist/heatmap/components/ChartsGroup.d.ts.map +1 -0
- package/dist/heatmap/components/Dendrograms.d.ts +1 -0
- package/dist/heatmap/components/Dendrograms.d.ts.map +1 -0
- package/dist/heatmap/components/Frames.d.ts +1 -0
- package/dist/heatmap/components/Frames.d.ts.map +1 -0
- package/dist/heatmap/components/SvgCells.d.ts +1 -0
- package/dist/heatmap/components/SvgCells.d.ts.map +1 -0
- package/dist/heatmap/components/tooltipUtils.d.ts +1 -0
- package/dist/heatmap/components/tooltipUtils.d.ts.map +1 -0
- package/dist/heatmap/components/types.d.ts +1 -0
- package/dist/heatmap/components/types.d.ts.map +1 -0
- package/dist/heatmap/constants.d.ts +1 -0
- package/dist/heatmap/constants.d.ts.map +1 -0
- package/dist/heatmap/fillCellsData.d.ts +2 -1
- package/dist/heatmap/fillCellsData.d.ts.map +1 -0
- package/dist/heatmap/fillCellsData.js +185 -173
- package/dist/heatmap/fillCellsData.js.map +1 -1
- package/dist/heatmap/getCells.d.ts +2 -1
- package/dist/heatmap/getCells.d.ts.map +1 -0
- package/dist/heatmap/getCells.js +10 -9
- package/dist/heatmap/getCells.js.map +1 -1
- package/dist/heatmap/getClusters.d.ts +1 -0
- package/dist/heatmap/getClusters.d.ts.map +1 -0
- package/dist/heatmap/getDendrograms.d.ts +1 -0
- package/dist/heatmap/getDendrograms.d.ts.map +1 -0
- package/dist/heatmap/index.d.ts +1 -0
- package/dist/heatmap/index.d.ts.map +1 -0
- package/dist/heatmap/index.js +95 -102
- package/dist/heatmap/index.js.map +1 -1
- package/dist/heatmap/utils/calculateAnnotationTitleSizes.d.ts +1 -0
- package/dist/heatmap/utils/calculateAnnotationTitleSizes.d.ts.map +1 -0
- package/dist/heatmap/utils/calculateCaptionTails.d.ts +1 -0
- package/dist/heatmap/utils/calculateCaptionTails.d.ts.map +1 -0
- package/dist/heatmap/utils/calculateChartSideElementSizes.d.ts +1 -0
- package/dist/heatmap/utils/calculateChartSideElementSizes.d.ts.map +1 -0
- package/dist/heatmap/utils/calculateSideElementsBBoxes.d.ts +1 -0
- package/dist/heatmap/utils/calculateSideElementsBBoxes.d.ts.map +1 -0
- package/dist/heatmap/utils/createColorScales.d.ts +1 -0
- package/dist/heatmap/utils/createColorScales.d.ts.map +1 -0
- package/dist/heatmap/utils/index.d.ts +1 -0
- package/dist/heatmap/utils/index.d.ts.map +1 -0
- package/dist/histogram/ChartRenderer.d.ts +1 -0
- package/dist/histogram/ChartRenderer.d.ts.map +1 -0
- package/dist/histogram/HistogramSettingsImpl.d.ts +2 -0
- package/dist/histogram/HistogramSettingsImpl.d.ts.map +1 -0
- package/dist/histogram/HistogramSettingsImpl.js +43 -43
- package/dist/histogram/HistogramSettingsImpl.js.map +1 -1
- package/dist/histogram/components/Chart.d.ts +1 -0
- package/dist/histogram/components/Chart.d.ts.map +1 -0
- package/dist/histogram/components/Chart.js +53 -53
- package/dist/histogram/components/Chart.js.map +1 -1
- package/dist/histogram/components/ChartsGroup.d.ts +1 -0
- package/dist/histogram/components/ChartsGroup.d.ts.map +1 -0
- package/dist/histogram/components/types.d.ts +1 -0
- package/dist/histogram/components/types.d.ts.map +1 -0
- package/dist/histogram/constants.d.ts +1 -0
- package/dist/histogram/constants.d.ts.map +1 -0
- package/dist/histogram/getHistogramData.d.ts +3 -2
- package/dist/histogram/getHistogramData.d.ts.map +1 -0
- package/dist/histogram/getHistogramData.js +51 -50
- package/dist/histogram/getHistogramData.js.map +1 -1
- package/dist/histogram/index.d.ts +1 -1
- package/dist/histogram/index.d.ts.map +1 -0
- package/dist/histogram/index.js +89 -90
- package/dist/histogram/index.js.map +1 -1
- package/dist/index.d.ts +4 -1
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +8 -4
- package/dist/index.js.map +1 -1
- package/dist/scatterplot/ChartRenderer.d.ts +1 -0
- package/dist/scatterplot/ChartRenderer.d.ts.map +1 -0
- package/dist/scatterplot/ScatterplotSettingsImpl.d.ts +3 -0
- package/dist/scatterplot/ScatterplotSettingsImpl.d.ts.map +1 -0
- package/dist/scatterplot/ScatterplotSettingsImpl.js.map +1 -1
- package/dist/scatterplot/components/Chart.d.ts +1 -0
- package/dist/scatterplot/components/Chart.d.ts.map +1 -0
- package/dist/scatterplot/components/ChartAxis.d.ts +1 -0
- package/dist/scatterplot/components/ChartAxis.d.ts.map +1 -0
- package/dist/scatterplot/components/ChartAxisTitles.d.ts +1 -0
- package/dist/scatterplot/components/ChartAxisTitles.d.ts.map +1 -0
- package/dist/scatterplot/components/ChartFacetTitle.d.ts +1 -0
- package/dist/scatterplot/components/ChartFacetTitle.d.ts.map +1 -0
- package/dist/scatterplot/components/ChartLayersData.d.ts +1 -0
- package/dist/scatterplot/components/ChartLayersData.d.ts.map +1 -0
- package/dist/scatterplot/components/ChartTooltip.d.ts +1 -0
- package/dist/scatterplot/components/ChartTooltip.d.ts.map +1 -0
- package/dist/scatterplot/components/ChartTrendsData.d.ts +1 -0
- package/dist/scatterplot/components/ChartTrendsData.d.ts.map +1 -0
- package/dist/scatterplot/components/ChartsGroup.d.ts +1 -0
- package/dist/scatterplot/components/ChartsGroup.d.ts.map +1 -0
- package/dist/scatterplot/components/Grid.d.ts +1 -0
- package/dist/scatterplot/components/Grid.d.ts.map +1 -0
- package/dist/scatterplot/components/types.d.ts +1 -0
- package/dist/scatterplot/components/types.d.ts.map +1 -0
- package/dist/scatterplot/constants.d.ts +1 -0
- package/dist/scatterplot/constants.d.ts.map +1 -0
- package/dist/scatterplot/dots.d.ts +3 -2
- package/dist/scatterplot/dots.d.ts.map +1 -0
- package/dist/scatterplot/dots.js +17 -16
- package/dist/scatterplot/dots.js.map +1 -1
- package/dist/scatterplot/getLayersData.d.ts +1 -0
- package/dist/scatterplot/getLayersData.d.ts.map +1 -0
- package/dist/scatterplot/index.d.ts +1 -1
- package/dist/scatterplot/index.d.ts.map +1 -0
- package/dist/scatterplot/index.js +100 -106
- package/dist/scatterplot/index.js.map +1 -1
- package/dist/scatterplot/linearRegression.d.ts +1 -0
- package/dist/scatterplot/linearRegression.d.ts.map +1 -0
- package/dist/scatterplot/utils/createAesGetter.d.ts +1 -0
- package/dist/scatterplot/utils/createAesGetter.d.ts.map +1 -0
- package/dist/scatterplot/utils/createLegendInfo.d.ts +1 -0
- package/dist/scatterplot/utils/createLegendInfo.d.ts.map +1 -0
- package/dist/scatterplot/utils/createLegendInfo.js +41 -41
- package/dist/scatterplot/utils/createLegendInfo.js.map +1 -1
- package/dist/scatterplot/utils/formatColumnValue.d.ts +1 -0
- package/dist/scatterplot/utils/formatColumnValue.d.ts.map +1 -0
- package/dist/scatterplot/utils/formatColumnValue.js +7 -6
- package/dist/scatterplot/utils/formatColumnValue.js.map +1 -1
- package/dist/scatterplot/utils/getTicksAndFormat.d.ts +1 -0
- package/dist/scatterplot/utils/getTicksAndFormat.d.ts.map +1 -0
- package/dist/scatterplot/utils/getVisibleLabels.d.ts +1 -0
- package/dist/scatterplot/utils/getVisibleLabels.d.ts.map +1 -0
- package/dist/scatterplot/utils/isNumericScale.d.ts +1 -0
- package/dist/scatterplot/utils/isNumericScale.d.ts.map +1 -0
- package/dist/scatterplot/utils/sortDotsByGrouping.d.ts +1 -0
- package/dist/scatterplot/utils/sortDotsByGrouping.d.ts.map +1 -0
- package/dist/scatterplot-umap/ChartRenderer.d.ts +1 -0
- package/dist/scatterplot-umap/ChartRenderer.d.ts.map +1 -0
- package/dist/scatterplot-umap/SettingsImpl.d.ts +1 -0
- package/dist/scatterplot-umap/SettingsImpl.d.ts.map +1 -0
- package/dist/scatterplot-umap/colors.d.ts +1 -0
- package/dist/scatterplot-umap/colors.d.ts.map +1 -0
- package/dist/scatterplot-umap/components/Lasso.d.ts +1 -0
- package/dist/scatterplot-umap/components/Lasso.d.ts.map +1 -0
- package/dist/scatterplot-umap/components/LowerSVG.d.ts +1 -0
- package/dist/scatterplot-umap/components/LowerSVG.d.ts.map +1 -0
- package/dist/scatterplot-umap/components/LowerSVG.js.map +1 -1
- package/dist/scatterplot-umap/components/SVGLayer.d.ts +1 -0
- package/dist/scatterplot-umap/components/SVGLayer.d.ts.map +1 -0
- package/dist/scatterplot-umap/components/UpperSVG.d.ts +1 -0
- package/dist/scatterplot-umap/components/UpperSVG.d.ts.map +1 -0
- package/dist/scatterplot-umap/constants.d.ts +1 -0
- package/dist/scatterplot-umap/constants.d.ts.map +1 -0
- package/dist/scatterplot-umap/index.d.ts +1 -0
- package/dist/scatterplot-umap/index.d.ts.map +1 -0
- package/dist/scatterplot-umap/index.js +77 -74
- package/dist/scatterplot-umap/index.js.map +1 -1
- package/dist/scatterplot-umap/types.d.ts +1 -0
- package/dist/scatterplot-umap/types.d.ts.map +1 -0
- package/dist/types/bubble.d.ts +48 -0
- package/dist/types/bubble.d.ts.map +1 -0
- package/dist/types/bubble.js +19 -18
- package/dist/types/bubble.js.map +1 -1
- package/dist/types/common.d.ts +39 -0
- package/dist/types/common.d.ts.map +1 -0
- package/dist/types/common.js +31 -30
- package/dist/types/common.js.map +1 -1
- package/dist/types/dendro.d.ts +109 -0
- package/dist/types/dendro.d.ts.map +1 -0
- package/dist/types/dendro.js +10 -9
- package/dist/types/dendro.js.map +1 -1
- package/dist/types/discrete.d.ts +176 -5
- package/dist/types/discrete.d.ts.map +1 -0
- package/dist/types/discrete.js +12 -11
- package/dist/types/discrete.js.map +1 -1
- package/dist/types/heatmap.d.ts +165 -0
- package/dist/types/heatmap.d.ts.map +1 -0
- package/dist/types/heatmap.js +2 -1
- package/dist/types/heatmap.js.map +1 -1
- package/dist/types/histogram.d.ts +28 -0
- package/dist/types/histogram.d.ts.map +1 -0
- package/dist/types/histogram.js +43 -42
- package/dist/types/histogram.js.map +1 -1
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/scatterplot-umap.d.ts +141 -0
- package/dist/types/scatterplot-umap.d.ts.map +1 -0
- package/dist/types/scatterplot.d.ts +189 -0
- package/dist/types/scatterplot.d.ts.map +1 -0
- package/dist/types/scatterplot.js +21 -19
- package/dist/types/scatterplot.js.map +1 -1
- package/dist/utils/TextMeasurer/TextMeasurer.d.ts +1 -0
- package/dist/utils/TextMeasurer/TextMeasurer.d.ts.map +1 -0
- package/dist/utils/WorkerFactory.d.ts +1 -0
- package/dist/utils/WorkerFactory.d.ts.map +1 -0
- package/dist/utils/arrangeLegendParts.d.ts +1 -0
- package/dist/utils/arrangeLegendParts.d.ts.map +1 -0
- package/dist/utils/arraysAreDifferent.d.ts +1 -0
- package/dist/utils/arraysAreDifferent.d.ts.map +1 -0
- package/dist/utils/createMultilineDiscreteLabels.d.ts +1 -0
- package/dist/utils/createMultilineDiscreteLabels.d.ts.map +1 -0
- package/dist/utils/getChartEdgeSides.d.ts +1 -0
- package/dist/utils/getChartEdgeSides.d.ts.map +1 -0
- package/dist/utils/getContinuousColorScale.d.ts +1 -0
- package/dist/utils/getContinuousColorScale.d.ts.map +1 -0
- package/dist/utils/getContinuousLegendTicks.d.ts +1 -0
- package/dist/utils/getContinuousLegendTicks.d.ts.map +1 -0
- package/dist/utils/getFacetKeysFromValueLists.d.ts +6 -0
- package/dist/utils/getFacetKeysFromValueLists.d.ts.map +1 -0
- package/dist/utils/getFacetKeysFromValueLists.js +9 -0
- package/dist/utils/getFacetKeysFromValueLists.js.map +1 -0
- package/dist/utils/getFacetOrGroupKey.d.ts +1 -0
- package/dist/utils/getFacetOrGroupKey.d.ts.map +1 -0
- package/dist/utils/getFacetRowsColumns.d.ts +1 -0
- package/dist/utils/getFacetRowsColumns.d.ts.map +1 -0
- package/dist/utils/getKeysCombination.d.ts +1 -0
- package/dist/utils/getKeysCombination.d.ts.map +1 -0
- package/dist/utils/getLegendWidth.d.ts +1 -0
- package/dist/utils/getLegendWidth.d.ts.map +1 -0
- package/dist/utils/getLineShape.d.ts +1 -0
- package/dist/utils/getLineShape.d.ts.map +1 -0
- package/dist/utils/getPointShape.d.ts +2 -1
- package/dist/utils/getPointShape.d.ts.map +1 -0
- package/dist/utils/getSizeLegendItem.d.ts +1 -0
- package/dist/utils/getSizeLegendItem.d.ts.map +1 -0
- package/dist/utils/hooks/useFunction.d.ts +1 -0
- package/dist/utils/hooks/useFunction.d.ts.map +1 -0
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.d.ts.map +1 -0
- package/dist/utils/measureMultilineDiscreteLabels.d.ts +1 -0
- package/dist/utils/measureMultilineDiscreteLabels.d.ts.map +1 -0
- package/dist/utils/numberFormat.d.ts +1 -0
- package/dist/utils/numberFormat.d.ts.map +1 -0
- package/dist/utils/splitTextByWidth.d.ts +1 -0
- package/dist/utils/splitTextByWidth.d.ts.map +1 -0
- package/package.json +5 -5
package/dist/types/common.d.ts
CHANGED
|
@@ -26,18 +26,21 @@ export declare const ColumnNameSchema: z.ZodObject<{
|
|
|
26
26
|
format: z.ZodOptional<z.ZodString>;
|
|
27
27
|
label: z.ZodOptional<z.ZodString>;
|
|
28
28
|
valueLabels: z.ZodOptional<z.ZodString>;
|
|
29
|
+
nullValueLabel: z.ZodOptional<z.ZodString>;
|
|
29
30
|
}, "strip", z.ZodTypeAny, {
|
|
30
31
|
type: "column";
|
|
31
32
|
value: string;
|
|
32
33
|
format?: string | undefined;
|
|
33
34
|
label?: string | undefined;
|
|
34
35
|
valueLabels?: string | undefined;
|
|
36
|
+
nullValueLabel?: string | undefined;
|
|
35
37
|
}, {
|
|
36
38
|
type: "column";
|
|
37
39
|
value: string;
|
|
38
40
|
format?: string | undefined;
|
|
39
41
|
label?: string | undefined;
|
|
40
42
|
valueLabels?: string | undefined;
|
|
43
|
+
nullValueLabel?: string | undefined;
|
|
41
44
|
}>;
|
|
42
45
|
export type ColumnName = z.infer<typeof ColumnNameSchema>;
|
|
43
46
|
export type AesItem = {
|
|
@@ -107,18 +110,21 @@ export declare function categoricalAesMappingFromValueSchema<ValueType extends z
|
|
|
107
110
|
format: z.ZodOptional<z.ZodString>;
|
|
108
111
|
label: z.ZodOptional<z.ZodString>;
|
|
109
112
|
valueLabels: z.ZodOptional<z.ZodString>;
|
|
113
|
+
nullValueLabel: z.ZodOptional<z.ZodString>;
|
|
110
114
|
}, "strip", z.ZodTypeAny, {
|
|
111
115
|
type: "column";
|
|
112
116
|
value: string;
|
|
113
117
|
format?: string | undefined;
|
|
114
118
|
label?: string | undefined;
|
|
115
119
|
valueLabels?: string | undefined;
|
|
120
|
+
nullValueLabel?: string | undefined;
|
|
116
121
|
}, {
|
|
117
122
|
type: "column";
|
|
118
123
|
value: string;
|
|
119
124
|
format?: string | undefined;
|
|
120
125
|
label?: string | undefined;
|
|
121
126
|
valueLabels?: string | undefined;
|
|
127
|
+
nullValueLabel?: string | undefined;
|
|
122
128
|
}>;
|
|
123
129
|
valuesMap: z.ZodRecord<z.ZodString, ValueType>;
|
|
124
130
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -128,6 +134,7 @@ export declare function categoricalAesMappingFromValueSchema<ValueType extends z
|
|
|
128
134
|
format?: string | undefined;
|
|
129
135
|
label?: string | undefined;
|
|
130
136
|
valueLabels?: string | undefined;
|
|
137
|
+
nullValueLabel?: string | undefined;
|
|
131
138
|
};
|
|
132
139
|
valuesMap: Record<string, ValueType["_output"]>;
|
|
133
140
|
}, {
|
|
@@ -137,6 +144,7 @@ export declare function categoricalAesMappingFromValueSchema<ValueType extends z
|
|
|
137
144
|
format?: string | undefined;
|
|
138
145
|
label?: string | undefined;
|
|
139
146
|
valueLabels?: string | undefined;
|
|
147
|
+
nullValueLabel?: string | undefined;
|
|
140
148
|
};
|
|
141
149
|
valuesMap: Record<string, ValueType["_input"]>;
|
|
142
150
|
}>;
|
|
@@ -147,18 +155,21 @@ export declare function continuousAesMappingFromValueSchema<ValueType extends z.
|
|
|
147
155
|
format: z.ZodOptional<z.ZodString>;
|
|
148
156
|
label: z.ZodOptional<z.ZodString>;
|
|
149
157
|
valueLabels: z.ZodOptional<z.ZodString>;
|
|
158
|
+
nullValueLabel: z.ZodOptional<z.ZodString>;
|
|
150
159
|
}, "strip", z.ZodTypeAny, {
|
|
151
160
|
type: "column";
|
|
152
161
|
value: string;
|
|
153
162
|
format?: string | undefined;
|
|
154
163
|
label?: string | undefined;
|
|
155
164
|
valueLabels?: string | undefined;
|
|
165
|
+
nullValueLabel?: string | undefined;
|
|
156
166
|
}, {
|
|
157
167
|
type: "column";
|
|
158
168
|
value: string;
|
|
159
169
|
format?: string | undefined;
|
|
160
170
|
label?: string | undefined;
|
|
161
171
|
valueLabels?: string | undefined;
|
|
172
|
+
nullValueLabel?: string | undefined;
|
|
162
173
|
}>;
|
|
163
174
|
domain: z.ZodArray<z.ZodNumber, "many">;
|
|
164
175
|
range: z.ZodArray<ValueType, "many">;
|
|
@@ -170,6 +181,7 @@ export declare function continuousAesMappingFromValueSchema<ValueType extends z.
|
|
|
170
181
|
format?: string | undefined;
|
|
171
182
|
label?: string | undefined;
|
|
172
183
|
valueLabels?: string | undefined;
|
|
184
|
+
nullValueLabel?: string | undefined;
|
|
173
185
|
};
|
|
174
186
|
domain: number[];
|
|
175
187
|
range: ValueType["_output"][];
|
|
@@ -181,6 +193,7 @@ export declare function continuousAesMappingFromValueSchema<ValueType extends z.
|
|
|
181
193
|
format?: string | undefined;
|
|
182
194
|
label?: string | undefined;
|
|
183
195
|
valueLabels?: string | undefined;
|
|
196
|
+
nullValueLabel?: string | undefined;
|
|
184
197
|
};
|
|
185
198
|
domain: number[];
|
|
186
199
|
range: ValueType["_input"][];
|
|
@@ -196,18 +209,21 @@ export declare const AxisSettingsDiscreteSchema: z.ZodObject<{
|
|
|
196
209
|
format: z.ZodOptional<z.ZodString>;
|
|
197
210
|
label: z.ZodOptional<z.ZodString>;
|
|
198
211
|
valueLabels: z.ZodOptional<z.ZodString>;
|
|
212
|
+
nullValueLabel: z.ZodOptional<z.ZodString>;
|
|
199
213
|
}, "strip", z.ZodTypeAny, {
|
|
200
214
|
type: "column";
|
|
201
215
|
value: string;
|
|
202
216
|
format?: string | undefined;
|
|
203
217
|
label?: string | undefined;
|
|
204
218
|
valueLabels?: string | undefined;
|
|
219
|
+
nullValueLabel?: string | undefined;
|
|
205
220
|
}, {
|
|
206
221
|
type: "column";
|
|
207
222
|
value: string;
|
|
208
223
|
format?: string | undefined;
|
|
209
224
|
label?: string | undefined;
|
|
210
225
|
valueLabels?: string | undefined;
|
|
226
|
+
nullValueLabel?: string | undefined;
|
|
211
227
|
}>]>>;
|
|
212
228
|
scale: z.ZodOptional<z.ZodLiteral<"discrete">>;
|
|
213
229
|
keys: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "many">>;
|
|
@@ -225,6 +241,7 @@ export declare const AxisSettingsDiscreteSchema: z.ZodObject<{
|
|
|
225
241
|
format?: string | undefined;
|
|
226
242
|
label?: string | undefined;
|
|
227
243
|
valueLabels?: string | undefined;
|
|
244
|
+
nullValueLabel?: string | undefined;
|
|
228
245
|
} | undefined;
|
|
229
246
|
scale?: "discrete" | undefined;
|
|
230
247
|
labels?: Record<string, string> | undefined;
|
|
@@ -241,6 +258,7 @@ export declare const AxisSettingsDiscreteSchema: z.ZodObject<{
|
|
|
241
258
|
format?: string | undefined;
|
|
242
259
|
label?: string | undefined;
|
|
243
260
|
valueLabels?: string | undefined;
|
|
261
|
+
nullValueLabel?: string | undefined;
|
|
244
262
|
} | undefined;
|
|
245
263
|
scale?: "discrete" | undefined;
|
|
246
264
|
labels?: Record<string, string> | undefined;
|
|
@@ -257,18 +275,21 @@ export declare const AxisSettingsContinuousSchema: z.ZodObject<{
|
|
|
257
275
|
format: z.ZodOptional<z.ZodString>;
|
|
258
276
|
label: z.ZodOptional<z.ZodString>;
|
|
259
277
|
valueLabels: z.ZodOptional<z.ZodString>;
|
|
278
|
+
nullValueLabel: z.ZodOptional<z.ZodString>;
|
|
260
279
|
}, "strip", z.ZodTypeAny, {
|
|
261
280
|
type: "column";
|
|
262
281
|
value: string;
|
|
263
282
|
format?: string | undefined;
|
|
264
283
|
label?: string | undefined;
|
|
265
284
|
valueLabels?: string | undefined;
|
|
285
|
+
nullValueLabel?: string | undefined;
|
|
266
286
|
}, {
|
|
267
287
|
type: "column";
|
|
268
288
|
value: string;
|
|
269
289
|
format?: string | undefined;
|
|
270
290
|
label?: string | undefined;
|
|
271
291
|
valueLabels?: string | undefined;
|
|
292
|
+
nullValueLabel?: string | undefined;
|
|
272
293
|
}>]>>;
|
|
273
294
|
scale: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"linear">, z.ZodLiteral<"log">]>>;
|
|
274
295
|
showGrid: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -286,6 +307,7 @@ export declare const AxisSettingsContinuousSchema: z.ZodObject<{
|
|
|
286
307
|
format?: string | undefined;
|
|
287
308
|
label?: string | undefined;
|
|
288
309
|
valueLabels?: string | undefined;
|
|
310
|
+
nullValueLabel?: string | undefined;
|
|
289
311
|
} | undefined;
|
|
290
312
|
scale?: "linear" | "log" | undefined;
|
|
291
313
|
showGrid?: boolean | undefined;
|
|
@@ -303,6 +325,7 @@ export declare const AxisSettingsContinuousSchema: z.ZodObject<{
|
|
|
303
325
|
format?: string | undefined;
|
|
304
326
|
label?: string | undefined;
|
|
305
327
|
valueLabels?: string | undefined;
|
|
328
|
+
nullValueLabel?: string | undefined;
|
|
306
329
|
} | undefined;
|
|
307
330
|
scale?: "linear" | "log" | undefined;
|
|
308
331
|
showGrid?: boolean | undefined;
|
|
@@ -321,18 +344,21 @@ export declare const AxisSettingsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
321
344
|
format: z.ZodOptional<z.ZodString>;
|
|
322
345
|
label: z.ZodOptional<z.ZodString>;
|
|
323
346
|
valueLabels: z.ZodOptional<z.ZodString>;
|
|
347
|
+
nullValueLabel: z.ZodOptional<z.ZodString>;
|
|
324
348
|
}, "strip", z.ZodTypeAny, {
|
|
325
349
|
type: "column";
|
|
326
350
|
value: string;
|
|
327
351
|
format?: string | undefined;
|
|
328
352
|
label?: string | undefined;
|
|
329
353
|
valueLabels?: string | undefined;
|
|
354
|
+
nullValueLabel?: string | undefined;
|
|
330
355
|
}, {
|
|
331
356
|
type: "column";
|
|
332
357
|
value: string;
|
|
333
358
|
format?: string | undefined;
|
|
334
359
|
label?: string | undefined;
|
|
335
360
|
valueLabels?: string | undefined;
|
|
361
|
+
nullValueLabel?: string | undefined;
|
|
336
362
|
}>]>>;
|
|
337
363
|
scale: z.ZodOptional<z.ZodLiteral<"discrete">>;
|
|
338
364
|
keys: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "many">>;
|
|
@@ -350,6 +376,7 @@ export declare const AxisSettingsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
350
376
|
format?: string | undefined;
|
|
351
377
|
label?: string | undefined;
|
|
352
378
|
valueLabels?: string | undefined;
|
|
379
|
+
nullValueLabel?: string | undefined;
|
|
353
380
|
} | undefined;
|
|
354
381
|
scale?: "discrete" | undefined;
|
|
355
382
|
labels?: Record<string, string> | undefined;
|
|
@@ -366,6 +393,7 @@ export declare const AxisSettingsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
366
393
|
format?: string | undefined;
|
|
367
394
|
label?: string | undefined;
|
|
368
395
|
valueLabels?: string | undefined;
|
|
396
|
+
nullValueLabel?: string | undefined;
|
|
369
397
|
} | undefined;
|
|
370
398
|
scale?: "discrete" | undefined;
|
|
371
399
|
labels?: Record<string, string> | undefined;
|
|
@@ -381,18 +409,21 @@ export declare const AxisSettingsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
381
409
|
format: z.ZodOptional<z.ZodString>;
|
|
382
410
|
label: z.ZodOptional<z.ZodString>;
|
|
383
411
|
valueLabels: z.ZodOptional<z.ZodString>;
|
|
412
|
+
nullValueLabel: z.ZodOptional<z.ZodString>;
|
|
384
413
|
}, "strip", z.ZodTypeAny, {
|
|
385
414
|
type: "column";
|
|
386
415
|
value: string;
|
|
387
416
|
format?: string | undefined;
|
|
388
417
|
label?: string | undefined;
|
|
389
418
|
valueLabels?: string | undefined;
|
|
419
|
+
nullValueLabel?: string | undefined;
|
|
390
420
|
}, {
|
|
391
421
|
type: "column";
|
|
392
422
|
value: string;
|
|
393
423
|
format?: string | undefined;
|
|
394
424
|
label?: string | undefined;
|
|
395
425
|
valueLabels?: string | undefined;
|
|
426
|
+
nullValueLabel?: string | undefined;
|
|
396
427
|
}>]>>;
|
|
397
428
|
scale: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"linear">, z.ZodLiteral<"log">]>>;
|
|
398
429
|
showGrid: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -410,6 +441,7 @@ export declare const AxisSettingsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
410
441
|
format?: string | undefined;
|
|
411
442
|
label?: string | undefined;
|
|
412
443
|
valueLabels?: string | undefined;
|
|
444
|
+
nullValueLabel?: string | undefined;
|
|
413
445
|
} | undefined;
|
|
414
446
|
scale?: "linear" | "log" | undefined;
|
|
415
447
|
showGrid?: boolean | undefined;
|
|
@@ -427,6 +459,7 @@ export declare const AxisSettingsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
427
459
|
format?: string | undefined;
|
|
428
460
|
label?: string | undefined;
|
|
429
461
|
valueLabels?: string | undefined;
|
|
462
|
+
nullValueLabel?: string | undefined;
|
|
430
463
|
} | undefined;
|
|
431
464
|
scale?: "linear" | "log" | undefined;
|
|
432
465
|
showGrid?: boolean | undefined;
|
|
@@ -450,18 +483,21 @@ export declare const TooltipSettingsSchema: z.ZodObject<{
|
|
|
450
483
|
format: z.ZodOptional<z.ZodString>;
|
|
451
484
|
label: z.ZodOptional<z.ZodString>;
|
|
452
485
|
valueLabels: z.ZodOptional<z.ZodString>;
|
|
486
|
+
nullValueLabel: z.ZodOptional<z.ZodString>;
|
|
453
487
|
}, "strip", z.ZodTypeAny, {
|
|
454
488
|
type: "column";
|
|
455
489
|
value: string;
|
|
456
490
|
format?: string | undefined;
|
|
457
491
|
label?: string | undefined;
|
|
458
492
|
valueLabels?: string | undefined;
|
|
493
|
+
nullValueLabel?: string | undefined;
|
|
459
494
|
}, {
|
|
460
495
|
type: "column";
|
|
461
496
|
value: string;
|
|
462
497
|
format?: string | undefined;
|
|
463
498
|
label?: string | undefined;
|
|
464
499
|
valueLabels?: string | undefined;
|
|
500
|
+
nullValueLabel?: string | undefined;
|
|
465
501
|
}>, "many">>;
|
|
466
502
|
}, "strip", z.ZodTypeAny, {
|
|
467
503
|
show?: boolean | undefined;
|
|
@@ -471,6 +507,7 @@ export declare const TooltipSettingsSchema: z.ZodObject<{
|
|
|
471
507
|
format?: string | undefined;
|
|
472
508
|
label?: string | undefined;
|
|
473
509
|
valueLabels?: string | undefined;
|
|
510
|
+
nullValueLabel?: string | undefined;
|
|
474
511
|
}[] | undefined;
|
|
475
512
|
}, {
|
|
476
513
|
show?: boolean | undefined;
|
|
@@ -480,6 +517,7 @@ export declare const TooltipSettingsSchema: z.ZodObject<{
|
|
|
480
517
|
format?: string | undefined;
|
|
481
518
|
label?: string | undefined;
|
|
482
519
|
valueLabels?: string | undefined;
|
|
520
|
+
nullValueLabel?: string | undefined;
|
|
483
521
|
}[] | undefined;
|
|
484
522
|
}>;
|
|
485
523
|
export type TooltipSettings = z.infer<typeof TooltipSettingsSchema>;
|
|
@@ -566,3 +604,4 @@ export type ErrorInfo = ErrorInfoFacets | ErrorInfoPrimaryGroups | ErrorInfoSeco
|
|
|
566
604
|
export declare function isErrorInfo(value: unknown): value is ErrorInfo;
|
|
567
605
|
export declare function getUnknownErrorInfo(error: Error): ErrorInfoUnknown;
|
|
568
606
|
export {};
|
|
607
|
+
//# sourceMappingURL=common.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../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,KAAK,EAAE,MAAM,CAAC;QACd,QAAQ,EAAE,MAAM,CAAC;KACpB,CAAC;CACL;AACD,MAAM,WAAW,gBAAiB,SAAQ,aAAa;IACnD,IAAI,EAAE,cAAc,CAAC;IACrB,IAAI,EAAE;QACF,OAAO,EAAE,MAAM,CAAC;QAChB,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;KAC7B,CAAC;CACL;AACD,MAAM,MAAM,SAAS,GAAG,eAAe,GAAG,sBAAsB,GAAG,wBAAwB,GAAG,2BAA2B,GAAG,2BAA2B,GAAG,wBAAwB,GAAG,gBAAgB,CAAC;AACtM,wBAAgB,WAAW,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,SAAS,CAE9D;AACD,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,KAAK,GAAG,gBAAgB,CAQlE"}
|
package/dist/types/common.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { union as i, string as o, number as t, null as h, enum as
|
|
2
|
-
const w = i([o(), t(), h()]), I =
|
|
1
|
+
import { union as i, string as o, number as t, null as h, enum as c, object as l, optional as e, literal as s, record as m, boolean as a, array as r } from "../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/types.js";
|
|
2
|
+
const w = i([o(), t(), h()]), I = c(["sum", "mean", "median", "min", "max"]), d = [
|
|
3
3
|
"0",
|
|
4
4
|
"1",
|
|
5
5
|
"2",
|
|
@@ -25,14 +25,15 @@ const w = i([o(), t(), h()]), I = l(["sum", "mean", "median", "min", "max"]), d
|
|
|
25
25
|
"23",
|
|
26
26
|
"24",
|
|
27
27
|
"25"
|
|
28
|
-
], S =
|
|
28
|
+
], S = c(d), g = ["solid", "dashed", "dotted", "dotdash", "longdash", "twodash"], p = c(g), f = ["left", "bottom", "left-bottom", "full", "empty"], N = c(f), y = ["inside", "right", "top", "bottom"], k = c(y), T = ["left", "center", "right"], C = c(T), u = l({
|
|
29
29
|
type: s("column"),
|
|
30
30
|
value: o(),
|
|
31
31
|
format: e(o()),
|
|
32
32
|
// d3 format
|
|
33
33
|
label: e(o()),
|
|
34
|
-
valueLabels: e(o())
|
|
35
|
-
|
|
34
|
+
valueLabels: e(o()),
|
|
35
|
+
nullValueLabel: e(o())
|
|
36
|
+
}), b = l({
|
|
36
37
|
fillColor: e(o()),
|
|
37
38
|
lineColor: e(o()),
|
|
38
39
|
lineWidth: e(t()),
|
|
@@ -40,39 +41,39 @@ const w = i([o(), t(), h()]), I = l(["sum", "mean", "median", "min", "max"]), d
|
|
|
40
41
|
dotShape: e(S),
|
|
41
42
|
dotSize: e(t()),
|
|
42
43
|
dotFill: e(o())
|
|
43
|
-
}), M =
|
|
44
|
-
function
|
|
45
|
-
return
|
|
46
|
-
columnName:
|
|
47
|
-
valuesMap:
|
|
44
|
+
}), M = m(b);
|
|
45
|
+
function V(n) {
|
|
46
|
+
return l({
|
|
47
|
+
columnName: u,
|
|
48
|
+
valuesMap: m(n)
|
|
48
49
|
});
|
|
49
50
|
}
|
|
50
|
-
function
|
|
51
|
-
return
|
|
52
|
-
columnName:
|
|
51
|
+
function j(n) {
|
|
52
|
+
return l({
|
|
53
|
+
columnName: u,
|
|
53
54
|
domain: r(t()),
|
|
54
55
|
range: r(n),
|
|
55
56
|
type: e(i([s("linear"), s("log")]))
|
|
56
57
|
});
|
|
57
58
|
}
|
|
58
|
-
function
|
|
59
|
+
function x(n) {
|
|
59
60
|
return typeof n != "object" ? !1 : n !== null && "valuesMap" in n;
|
|
60
61
|
}
|
|
61
|
-
function
|
|
62
|
+
function F(n) {
|
|
62
63
|
return typeof n != "object" ? !1 : n !== null && "domain" in n && "range" in n;
|
|
63
64
|
}
|
|
64
|
-
const A = i([s("center"), s("45deg"), s("90deg")]),
|
|
65
|
-
title: e(i([o(),
|
|
65
|
+
const A = i([s("center"), s("45deg"), s("90deg")]), L = l({
|
|
66
|
+
title: e(i([o(), u])),
|
|
66
67
|
scale: e(s("discrete")),
|
|
67
68
|
keys: e(r(i([o(), t()]))),
|
|
68
|
-
labels: e(
|
|
69
|
+
labels: e(m(o())),
|
|
69
70
|
showGrid: e(a()),
|
|
70
71
|
linesBetweenCategories: e(a()),
|
|
71
72
|
showTicks: e(a()),
|
|
72
73
|
labelsPosition: e(A),
|
|
73
74
|
hiddenLabels: e(a())
|
|
74
|
-
}),
|
|
75
|
-
title: e(i([o(),
|
|
75
|
+
}), E = l({
|
|
76
|
+
title: e(i([o(), u])),
|
|
76
77
|
scale: e(i([s("linear"), s("log")])),
|
|
77
78
|
showGrid: e(a()),
|
|
78
79
|
showTicks: e(a()),
|
|
@@ -82,9 +83,9 @@ const A = i([s("center"), s("45deg"), s("90deg")]), E = c({
|
|
|
82
83
|
upperValue: e(t()),
|
|
83
84
|
lowerValue: e(t()),
|
|
84
85
|
hiddenLabels: e(a())
|
|
85
|
-
}),
|
|
86
|
+
}), O = i([L, E]), _ = l({
|
|
86
87
|
show: e(a()),
|
|
87
|
-
content: e(r(
|
|
88
|
+
content: e(r(u))
|
|
88
89
|
});
|
|
89
90
|
function D(n) {
|
|
90
91
|
return typeof n == "object" && n !== null && "type" in n && "info" in n;
|
|
@@ -102,10 +103,10 @@ export {
|
|
|
102
103
|
b as AesItemSchema,
|
|
103
104
|
M as AesRecordSchema,
|
|
104
105
|
I as AggregationMethodSchema,
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
106
|
+
E as AxisSettingsContinuousSchema,
|
|
107
|
+
L as AxisSettingsDiscreteSchema,
|
|
108
|
+
O as AxisSettingsSchema,
|
|
109
|
+
u as ColumnNameSchema,
|
|
109
110
|
w as DataValueSchema,
|
|
110
111
|
A as DiscreteLabelsPositionSchema,
|
|
111
112
|
N as FrameTypeSchema,
|
|
@@ -116,11 +117,11 @@ export {
|
|
|
116
117
|
T as TITLE_POSITION,
|
|
117
118
|
C as TitlePositionSchema,
|
|
118
119
|
_ as TooltipSettingsSchema,
|
|
119
|
-
|
|
120
|
-
|
|
120
|
+
V as categoricalAesMappingFromValueSchema,
|
|
121
|
+
j as continuousAesMappingFromValueSchema,
|
|
121
122
|
G as getUnknownErrorInfo,
|
|
122
|
-
|
|
123
|
-
|
|
123
|
+
x as isCategoricalAes,
|
|
124
|
+
F as isContinuousAes,
|
|
124
125
|
D as isErrorInfo
|
|
125
126
|
};
|
|
126
127
|
//# sourceMappingURL=common.js.map
|
package/dist/types/common.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"common.js","sources":["../../src/types/common.ts"],"sourcesContent":["import { z } from 'zod';\nimport type { LassoControlsState, Polygon } from '../scatterplot-umap/types';\nimport type { CategoricalAesFromColumn, ContinuousAesFromColumn } from './scatterplot';\n\nexport type DataValue = string | number | null;\nexport type Category = string;\nexport const DataValueSchema = z.union([z.string(), z.number(), z.null()]);\n\nexport type Row = Record<string, DataValue>\n\nexport type Color = string;\n\nexport const AggregationMethodSchema = z.enum(['sum', 'mean', 'median', 'min', 'max']);\nexport type AggregationMethod = z.infer<typeof AggregationMethodSchema>;\n\n// numbered according ggplot2 symbols, 19 (third size of black circle) is missed\nexport const POINT_SHAPE = [\n '0',\n '1',\n '2',\n '3',\n '4',\n '5',\n '6',\n '7',\n '8',\n '9',\n '10',\n '11',\n '12',\n '13',\n '14',\n '15',\n '16',\n '17',\n '18',\n '20',\n '21',\n '22',\n '23',\n '24',\n '25',\n] as const;\nexport const PointShapeSchema = z.enum(POINT_SHAPE);\nexport type PointShape = z.infer<typeof PointShapeSchema>;\n\nconst LINE_SHAPE = ['solid', 'dashed', 'dotted', 'dotdash', 'longdash', 'twodash'] as const;\nexport const LineShapeSchema = z.enum(LINE_SHAPE);\nexport type LineShape = z.infer<typeof LineShapeSchema>;\n\nconst FRAME_TYPE = ['left', 'bottom', 'left-bottom', 'full', 'empty'] as const;\nexport const FrameTypeSchema = z.enum(FRAME_TYPE);\nexport type FrameType = z.infer<typeof FrameTypeSchema>;\n\nconst LEGEND_POSITION = ['inside', 'right', 'top', 'bottom'] as const;\nexport const LegendPositionSchema = z.enum(LEGEND_POSITION);\nexport type LegendPosition = z.infer<typeof LegendPositionSchema>;\n\nexport const TITLE_POSITION = ['left', 'center', 'right'] as const;\nexport const TitlePositionSchema = z.enum(TITLE_POSITION);\nexport type TitlePosition = z.infer<typeof TitlePositionSchema>;\n\nexport const ColumnNameSchema = z.object({\n type: z.literal('column'),\n value: z.string(),\n format: z.optional(z.string()), // d3 format\n label: z.optional(z.string()),\n valueLabels: z.optional(z.string())\n});\nexport type ColumnName = z.infer<typeof ColumnNameSchema>\n\nexport type AesItem = {\n fillColor?: Color;\n lineColor?: Color;\n lineWidth?: number;\n lineShape?: LineShape;\n dotShape?: PointShape;\n dotSize?: number;\n dotFill?: Color;\n};\nexport const AesItemSchema = z.object({\n fillColor: z.optional(z.string()),\n lineColor: z.optional(z.string()),\n lineWidth: z.optional(z.number()),\n lineShape: z.optional(LineShapeSchema),\n dotShape: z.optional(PointShapeSchema),\n dotSize: z.optional(z.number()),\n dotFill: z.optional(z.string()),\n});\n\nexport const AesRecordSchema = z.record(AesItemSchema);\nexport type AesRecord = z.infer<typeof AesRecordSchema>;\n\nexport function categoricalAesMappingFromValueSchema<ValueType extends z.ZodTypeAny>(\n valueSchema: ValueType,\n) {\n return z.object({\n columnName: ColumnNameSchema,\n valuesMap: z.record(valueSchema),\n });\n}\nexport function continuousAesMappingFromValueSchema<ValueType extends z.ZodTypeAny>(\n valueSchema: ValueType,\n) {\n return z.object({\n columnName: ColumnNameSchema,\n domain: z.array(z.number()),\n range: z.array(valueSchema),\n type: z.optional(z.union([z.literal('linear'), z.literal('log')]))\n });\n}\n\nexport function isCategoricalAes<InputType extends string | number | PointShape | LineShape>(\n item: InputType | CategoricalAesFromColumn<InputType> | ContinuousAesFromColumn<InputType> | unknown\n): item is CategoricalAesFromColumn<InputType> {\n if (typeof item !== 'object') {\n return false;\n }\n return item !== null && 'valuesMap' in item;\n}\n\nexport function isContinuousAes<InputType extends string | number | PointShape | LineShape>(\n item: InputType | CategoricalAesFromColumn<InputType> | ContinuousAesFromColumn<InputType> | unknown\n): item is ContinuousAesFromColumn<InputType> {\n if (typeof item !== 'object') {\n return false;\n }\n return item !== null && 'domain' in item && 'range' in item;\n}\n\nexport const DiscreteLabelsPositionSchema = z.union([z.literal('center'), z.literal('45deg'), z.literal('90deg')]);\n\nexport const AxisSettingsDiscreteSchema = z.object({\n title: z.optional(z.union([z.string(), ColumnNameSchema])),\n scale: z.optional(z.literal('discrete')),\n keys: z.optional(z.array(z.union([z.string(), z.number()]))),\n labels: z.optional(z.record(z.string())),\n showGrid: z.optional(z.boolean()),\n linesBetweenCategories: z.optional(z.boolean()),\n showTicks: z.optional(z.boolean()),\n labelsPosition: z.optional(DiscreteLabelsPositionSchema),\n hiddenLabels: z.optional(z.boolean())\n});\nexport const AxisSettingsContinuousSchema = z.object({\n title: z.optional(z.union([z.string(), ColumnNameSchema])),\n scale: z.optional(z.union([z.literal('linear'), z.literal('log')])),\n showGrid: z.optional(z.boolean()),\n showTicks: z.optional(z.boolean()),\n significantLines: z.optional(z.array(z.number())),\n significantLinesStyle: z.optional(LineShapeSchema),\n symmetricRange: z.optional(z.number()),\n upperValue: z.optional(z.number()),\n lowerValue: z.optional(z.number()),\n hiddenLabels: z.optional(z.boolean()),\n});\n\nexport const AxisSettingsSchema = z.union([AxisSettingsDiscreteSchema, AxisSettingsContinuousSchema]);\n\nexport type AxisSettings = z.infer<typeof AxisSettingsSchema>\nexport type AxisSettingsDiscrete = z.infer<typeof AxisSettingsDiscreteSchema>;\nexport type AxisSettingsContinuous = z.infer<typeof AxisSettingsContinuousSchema>;\n\nexport type DiscreteLabelsPosition = z.infer<typeof DiscreteLabelsPositionSchema>;\n\nexport const TooltipSettingsSchema = z.object({\n show: z.optional(z.boolean()),\n content: z.optional(z.array(ColumnNameSchema)),\n});\n\nexport type TooltipSettings = z.infer<typeof TooltipSettingsSchema>;\n\nexport interface SettingsInterface {\n type: string;\n}\n\nexport type ClickEventData = {\n x: number;\n y: number;\n info: unknown;\n}\n\nexport type PolygonData = [number, number][];\n\nexport type ChartEventHandlers<T> = T;\nexport type DendroEventHandlers = ChartEventHandlers<[(d: ClickEventData) => void]>\nexport type ScatterplotEventHandlers = ChartEventHandlers<{\n onPolygonUpdate: (d: number[], p: Polygon[]) => void;\n onTooltipHintSwitch: (d: boolean) => void;\n onLassoStateChange: () => void;\n onLassoControlsStateUpdate: (v: LassoControlsState) => void;\n onZoomChange: (isZoomChanged: boolean) => void;\n}>\nexport type HeatmapEventHandlers = ChartEventHandlers<{\n onTooltipHintSwitch: (d: boolean) => void;\n onLoadingChange: (d: boolean) => void;\n}>\n\nexport type BubbleEventHandlers = ChartEventHandlers<[(d: boolean) => void]>\nexport type DiscreteEventHandlers = ChartEventHandlers<[(d: boolean) => void]>\nexport type HistogramEventHandlers = ChartEventHandlers<[(d: boolean) => void]>\n\nexport type ErrorTypes = 'tooManyFacets' \n| 'tooManyPrimaryGroups' | 'tooManySecondaryGroups'\n| 'tooManyScatterplotGroupsX' | 'tooManyScatterplotGroupsY'\n| 'tooManyHistogramGroups'\n| 'unknownError';\ntype ErrorInfoBase = { type: ErrorTypes, info: unknown };\nexport interface ErrorInfoFacets extends ErrorInfoBase {\n type: 'tooManyFacets';\n info: {\n count: number;\n maxCount: number;\n };\n}\nexport interface ErrorInfoPrimaryGroups extends ErrorInfoBase {\n type: 'tooManyPrimaryGroups';\n info: {\n count: number;\n maxCount: number;\n };\n}\nexport interface ErrorInfoSecondaryGroups extends ErrorInfoBase {\n type: 'tooManySecondaryGroups';\n info: {\n count: number;\n maxCount: number;\n };\n}\n\nexport interface ErrorInfoScatterplotGroupsX extends ErrorInfoBase {\n type: 'tooManyScatterplotGroupsX';\n info: {\n count: number;\n maxCount: number;\n };\n}\nexport interface ErrorInfoScatterplotGroupsY extends ErrorInfoBase {\n type: 'tooManyScatterplotGroupsY';\n info: {\n count: number;\n maxCount: number;\n };\n}\nexport interface ErrorInfoHistogramGroups extends ErrorInfoBase {\n type: 'tooManyHistogramGroups';\n info: {\n count: number;\n maxCount: number;\n };\n}\nexport interface ErrorInfoUnknown extends ErrorInfoBase {\n type: 'unknownError';\n info: {\n message: string;\n stack: string | undefined;\n };\n}\nexport type ErrorInfo = ErrorInfoFacets | ErrorInfoPrimaryGroups | ErrorInfoSecondaryGroups | ErrorInfoScatterplotGroupsX | ErrorInfoScatterplotGroupsY | ErrorInfoHistogramGroups | ErrorInfoUnknown;\nexport function isErrorInfo(value: unknown): value is ErrorInfo {\n return typeof value === 'object' && value !== null && 'type' in value && 'info' in value;\n}\nexport function getUnknownErrorInfo(error: Error): ErrorInfoUnknown {\n return {\n type: 'unknownError',\n info: {\n message: error.message,\n stack: error.stack,\n },\n };\n}"],"names":["DataValueSchema","z.union","z.string","z.number","z.null","AggregationMethodSchema","z.enum","POINT_SHAPE","PointShapeSchema","LINE_SHAPE","LineShapeSchema","FRAME_TYPE","FrameTypeSchema","LEGEND_POSITION","LegendPositionSchema","TITLE_POSITION","TitlePositionSchema","ColumnNameSchema","z.object","z.literal","z.optional","AesItemSchema","AesRecordSchema","z.record","categoricalAesMappingFromValueSchema","valueSchema","continuousAesMappingFromValueSchema","z.array","isCategoricalAes","item","isContinuousAes","DiscreteLabelsPositionSchema","AxisSettingsDiscreteSchema","z.boolean","AxisSettingsContinuousSchema","AxisSettingsSchema","TooltipSettingsSchema","isErrorInfo","value","getUnknownErrorInfo","error"],"mappings":";AAMO,MAAMA,IAAkBC,EAAQ,CAACC,EAAE,GAAUC,EAAE,GAAUC,GAAQ,CAAC,GAM5DC,IAA0BC,EAAO,CAAC,OAAO,QAAQ,UAAU,OAAO,KAAK,CAAC,GAIxEC,IAAc;AAAA,EACvB;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AA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C,YAAYiB,EAAWjB,GAAU;AAAA,EACjC,cAAciB,EAAWa,GAAW;AACxC,CAAC,GAEYE,IAAqBlC,EAAQ,CAAC+B,GAA4BE,CAA4B,CAAC,GAQvFE,IAAwBlB,EAAS;AAAA,EAC1C,MAAME,EAAWa,GAAW;AAAA,EAC5B,SAASb,EAAWO,EAAQV,CAAgB,CAAC;AACjD,CAAC;AA2FM,SAASoB,EAAYC,GAAoC;AAC5D,SAAO,OAAOA,KAAU,YAAYA,MAAU,QAAQ,UAAUA,KAAS,UAAUA;AACvF;AACO,SAASC,EAAoBC,GAAgC;AAChE,SAAO;AAAA,IACH,MAAM;AAAA,IACN,MAAM;AAAA,MACF,SAASA,EAAM;AAAA,MACf,OAAOA,EAAM;AAAA,IAAA;AAAA,EACjB;AAER;"}
|
|
1
|
+
{"version":3,"file":"common.js","sources":["../../src/types/common.ts"],"sourcesContent":["import { z } from 'zod';\nimport type { LassoControlsState, Polygon } from '../scatterplot-umap/types';\nimport type { CategoricalAesFromColumn, ContinuousAesFromColumn } from './scatterplot';\n\nexport type DataValue = string | number | null;\nexport type Category = string;\nexport const DataValueSchema = z.union([z.string(), z.number(), z.null()]);\n\nexport type Row = Record<string, DataValue>\n\nexport type Color = string;\n\nexport const AggregationMethodSchema = z.enum(['sum', 'mean', 'median', 'min', 'max']);\nexport type AggregationMethod = z.infer<typeof AggregationMethodSchema>;\n\n// numbered according ggplot2 symbols, 19 (third size of black circle) is missed\nexport const POINT_SHAPE = [\n '0',\n '1',\n '2',\n '3',\n '4',\n '5',\n '6',\n '7',\n '8',\n '9',\n '10',\n '11',\n '12',\n '13',\n '14',\n '15',\n '16',\n '17',\n '18',\n '20',\n '21',\n '22',\n '23',\n '24',\n '25',\n] as const;\nexport const PointShapeSchema = z.enum(POINT_SHAPE);\nexport type PointShape = z.infer<typeof PointShapeSchema>;\n\nconst LINE_SHAPE = ['solid', 'dashed', 'dotted', 'dotdash', 'longdash', 'twodash'] as const;\nexport const LineShapeSchema = z.enum(LINE_SHAPE);\nexport type LineShape = z.infer<typeof LineShapeSchema>;\n\nconst FRAME_TYPE = ['left', 'bottom', 'left-bottom', 'full', 'empty'] as const;\nexport const FrameTypeSchema = z.enum(FRAME_TYPE);\nexport type FrameType = z.infer<typeof FrameTypeSchema>;\n\nconst LEGEND_POSITION = ['inside', 'right', 'top', 'bottom'] as const;\nexport const LegendPositionSchema = z.enum(LEGEND_POSITION);\nexport type LegendPosition = z.infer<typeof LegendPositionSchema>;\n\nexport const TITLE_POSITION = ['left', 'center', 'right'] as const;\nexport const TitlePositionSchema = z.enum(TITLE_POSITION);\nexport type TitlePosition = z.infer<typeof TitlePositionSchema>;\n\nexport const ColumnNameSchema = z.object({\n type: z.literal('column'),\n value: z.string(),\n format: z.optional(z.string()), // d3 format\n label: z.optional(z.string()),\n valueLabels: z.optional(z.string()),\n nullValueLabel: z.optional(z.string())\n});\nexport type ColumnName = z.infer<typeof ColumnNameSchema>\n\nexport type AesItem = {\n fillColor?: Color;\n lineColor?: Color;\n lineWidth?: number;\n lineShape?: LineShape;\n dotShape?: PointShape;\n dotSize?: number;\n dotFill?: Color;\n};\nexport const AesItemSchema = z.object({\n fillColor: z.optional(z.string()),\n lineColor: z.optional(z.string()),\n lineWidth: z.optional(z.number()),\n lineShape: z.optional(LineShapeSchema),\n dotShape: z.optional(PointShapeSchema),\n dotSize: z.optional(z.number()),\n dotFill: z.optional(z.string()),\n});\n\nexport const AesRecordSchema = z.record(AesItemSchema);\nexport type AesRecord = z.infer<typeof AesRecordSchema>;\n\nexport function categoricalAesMappingFromValueSchema<ValueType extends z.ZodTypeAny>(\n valueSchema: ValueType,\n) {\n return z.object({\n columnName: ColumnNameSchema,\n valuesMap: z.record(valueSchema),\n });\n}\nexport function continuousAesMappingFromValueSchema<ValueType extends z.ZodTypeAny>(\n valueSchema: ValueType,\n) {\n return z.object({\n columnName: ColumnNameSchema,\n domain: z.array(z.number()),\n range: z.array(valueSchema),\n type: z.optional(z.union([z.literal('linear'), z.literal('log')]))\n });\n}\n\nexport function isCategoricalAes<InputType extends string | number | PointShape | LineShape>(\n item: InputType | CategoricalAesFromColumn<InputType> | ContinuousAesFromColumn<InputType> | unknown\n): item is CategoricalAesFromColumn<InputType> {\n if (typeof item !== 'object') {\n return false;\n }\n return item !== null && 'valuesMap' in item;\n}\n\nexport function isContinuousAes<InputType extends string | number | PointShape | LineShape>(\n item: InputType | CategoricalAesFromColumn<InputType> | ContinuousAesFromColumn<InputType> | unknown\n): item is ContinuousAesFromColumn<InputType> {\n if (typeof item !== 'object') {\n return false;\n }\n return item !== null && 'domain' in item && 'range' in item;\n}\n\nexport const DiscreteLabelsPositionSchema = z.union([z.literal('center'), z.literal('45deg'), z.literal('90deg')]);\n\nexport const AxisSettingsDiscreteSchema = z.object({\n title: z.optional(z.union([z.string(), ColumnNameSchema])),\n scale: z.optional(z.literal('discrete')),\n keys: z.optional(z.array(z.union([z.string(), z.number()]))),\n labels: z.optional(z.record(z.string())),\n showGrid: z.optional(z.boolean()),\n linesBetweenCategories: z.optional(z.boolean()),\n showTicks: z.optional(z.boolean()),\n labelsPosition: z.optional(DiscreteLabelsPositionSchema),\n hiddenLabels: z.optional(z.boolean())\n});\nexport const AxisSettingsContinuousSchema = z.object({\n title: z.optional(z.union([z.string(), ColumnNameSchema])),\n scale: z.optional(z.union([z.literal('linear'), z.literal('log')])),\n showGrid: z.optional(z.boolean()),\n showTicks: z.optional(z.boolean()),\n significantLines: z.optional(z.array(z.number())),\n significantLinesStyle: z.optional(LineShapeSchema),\n symmetricRange: z.optional(z.number()),\n upperValue: z.optional(z.number()),\n lowerValue: z.optional(z.number()),\n hiddenLabels: z.optional(z.boolean()),\n});\n\nexport const AxisSettingsSchema = z.union([AxisSettingsDiscreteSchema, AxisSettingsContinuousSchema]);\n\nexport type AxisSettings = z.infer<typeof AxisSettingsSchema>\nexport type AxisSettingsDiscrete = z.infer<typeof AxisSettingsDiscreteSchema>;\nexport type AxisSettingsContinuous = z.infer<typeof AxisSettingsContinuousSchema>;\n\nexport type DiscreteLabelsPosition = z.infer<typeof DiscreteLabelsPositionSchema>;\n\nexport const TooltipSettingsSchema = z.object({\n show: z.optional(z.boolean()),\n content: z.optional(z.array(ColumnNameSchema)),\n});\n\nexport type TooltipSettings = z.infer<typeof TooltipSettingsSchema>;\n\nexport interface SettingsInterface {\n type: string;\n}\n\nexport type ClickEventData = {\n x: number;\n y: number;\n info: unknown;\n}\n\nexport type PolygonData = [number, number][];\n\nexport type ChartEventHandlers<T> = T;\nexport type DendroEventHandlers = ChartEventHandlers<[(d: ClickEventData) => void]>\nexport type ScatterplotEventHandlers = ChartEventHandlers<{\n onPolygonUpdate: (d: number[], p: Polygon[]) => void;\n onTooltipHintSwitch: (d: boolean) => void;\n onLassoStateChange: () => void;\n onLassoControlsStateUpdate: (v: LassoControlsState) => void;\n onZoomChange: (isZoomChanged: boolean) => void;\n}>\nexport type HeatmapEventHandlers = ChartEventHandlers<{\n onTooltipHintSwitch: (d: boolean) => void;\n onLoadingChange: (d: boolean) => void;\n}>\n\nexport type BubbleEventHandlers = ChartEventHandlers<[(d: boolean) => void]>\nexport type DiscreteEventHandlers = ChartEventHandlers<[(d: boolean) => void]>\nexport type HistogramEventHandlers = ChartEventHandlers<[(d: boolean) => void]>\n\nexport type ErrorTypes = 'tooManyFacets' \n| 'tooManyPrimaryGroups' | 'tooManySecondaryGroups'\n| 'tooManyScatterplotGroupsX' | 'tooManyScatterplotGroupsY'\n| 'tooManyHistogramGroups'\n| 'unknownError';\ntype ErrorInfoBase = { type: ErrorTypes, info: unknown };\nexport interface ErrorInfoFacets extends ErrorInfoBase {\n type: 'tooManyFacets';\n info: {\n count: number;\n maxCount: number;\n };\n}\nexport interface ErrorInfoPrimaryGroups extends ErrorInfoBase {\n type: 'tooManyPrimaryGroups';\n info: {\n count: number;\n maxCount: number;\n };\n}\nexport interface ErrorInfoSecondaryGroups extends ErrorInfoBase {\n type: 'tooManySecondaryGroups';\n info: {\n count: number;\n maxCount: number;\n };\n}\n\nexport interface ErrorInfoScatterplotGroupsX extends ErrorInfoBase {\n type: 'tooManyScatterplotGroupsX';\n info: {\n count: number;\n maxCount: number;\n };\n}\nexport interface ErrorInfoScatterplotGroupsY extends ErrorInfoBase {\n type: 'tooManyScatterplotGroupsY';\n info: {\n count: number;\n maxCount: number;\n };\n}\nexport interface ErrorInfoHistogramGroups extends ErrorInfoBase {\n type: 'tooManyHistogramGroups';\n info: {\n count: number;\n maxCount: number;\n };\n}\nexport interface ErrorInfoUnknown extends ErrorInfoBase {\n type: 'unknownError';\n info: {\n message: string;\n stack: string | undefined;\n };\n}\nexport type ErrorInfo = ErrorInfoFacets | ErrorInfoPrimaryGroups | ErrorInfoSecondaryGroups | ErrorInfoScatterplotGroupsX | ErrorInfoScatterplotGroupsY | ErrorInfoHistogramGroups | ErrorInfoUnknown;\nexport function isErrorInfo(value: unknown): value is ErrorInfo {\n return typeof value === 'object' && value !== null && 'type' in value && 'info' in value;\n}\nexport function getUnknownErrorInfo(error: Error): ErrorInfoUnknown {\n return {\n type: 'unknownError',\n info: {\n message: error.message,\n stack: error.stack,\n },\n };\n}"],"names":["DataValueSchema","z.union","z.string","z.number","z.null","AggregationMethodSchema","z.enum","POINT_SHAPE","PointShapeSchema","LINE_SHAPE","LineShapeSchema","FRAME_TYPE","FrameTypeSchema","LEGEND_POSITION","LegendPositionSchema","TITLE_POSITION","TitlePositionSchema","ColumnNameSchema","z.object","z.literal","z.optional","AesItemSchema","AesRecordSchema","z.record","categoricalAesMappingFromValueSchema","valueSchema","continuousAesMappingFromValueSchema","z.array","isCategoricalAes","item","isContinuousAes","DiscreteLabelsPositionSchema","AxisSettingsDiscreteSchema","z.boolean","AxisSettingsContinuousSchema","AxisSettingsSchema","TooltipSettingsSchema","isErrorInfo","value","getUnknownErrorInfo","error"],"mappings":";AAMO,MAAMA,IAAkBC,EAAQ,CAACC,EAAE,GAAUC,EAAE,GAAUC,GAAQ,CAAC,GAM5DC,IAA0BC,EAAO,CAAC,OA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