@semcore/d3-chart 3.58.5 → 3.58.6
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/CHANGELOG.md +6 -0
- package/lib/cjs/AnimatedClipPath.js +7 -7
- package/lib/cjs/Area.js +17 -17
- package/lib/cjs/Axis.js +21 -21
- package/lib/cjs/Bar.js +22 -22
- package/lib/cjs/Bubble.js +20 -20
- package/lib/cjs/CompactHorizontalBar.js +24 -24
- package/lib/cjs/Donut.js +18 -18
- package/lib/cjs/Dots.js +9 -9
- package/lib/cjs/GroupBar.js +5 -5
- package/lib/cjs/HorizontalBar.js +22 -22
- package/lib/cjs/Hover.js +11 -11
- package/lib/cjs/Line.js +15 -15
- package/lib/cjs/Pattern.js +3 -3
- package/lib/cjs/Plot.js +11 -11
- package/lib/cjs/Radar.js +28 -28
- package/lib/cjs/RadialTree.js +22 -22
- package/lib/cjs/Reference.js +19 -19
- package/lib/cjs/ResponsiveContainer.js +8 -8
- package/lib/cjs/ScatterPlot.js +17 -17
- package/lib/cjs/StackBar.js +8 -8
- package/lib/cjs/StackedArea.js +6 -6
- package/lib/cjs/Tooltip.js +17 -17
- package/lib/cjs/Venn.js +18 -18
- package/lib/cjs/a11y/DataAccessibilityTable.js +4 -4
- package/lib/cjs/a11y/PlotA11yModule.js +6 -6
- package/lib/cjs/a11y/PlotA11yView.js +4 -4
- package/lib/cjs/a11y/hints.js +3 -3
- package/lib/cjs/a11y/insights.js +5 -5
- package/lib/cjs/a11y/locale.js +1 -1
- package/lib/cjs/a11y/serialize.js +4 -4
- package/lib/cjs/component/Chart/AbstractChart.js +9 -9
- package/lib/cjs/component/Chart/AreaChart.js +8 -8
- package/lib/cjs/component/Chart/BarChart.js +10 -10
- package/lib/cjs/component/Chart/BubbleChart.js +5 -5
- package/lib/cjs/component/Chart/CigaretteChart.js +10 -10
- package/lib/cjs/component/Chart/CompactHorizontalBarChart.js +8 -8
- package/lib/cjs/component/Chart/DonutChart.js +5 -5
- package/lib/cjs/component/Chart/HistogramChart.js +9 -9
- package/lib/cjs/component/Chart/LineChart.js +8 -8
- package/lib/cjs/component/Chart/RadarChart.js +8 -8
- package/lib/cjs/component/Chart/ScatterPlotChart.js +7 -7
- package/lib/cjs/component/Chart/VennChart.js +5 -5
- package/lib/cjs/component/ChartLegend/BaseLegend.js +7 -7
- package/lib/cjs/component/ChartLegend/LegendFlex/LegendFlex.js +10 -10
- package/lib/cjs/component/ChartLegend/LegendItem/LegendItem.js +24 -24
- package/lib/cjs/component/ChartLegend/LegendTable/LegendTable.js +12 -12
- package/lib/cjs/component/Cigarette/Cigarette.js +6 -6
- package/lib/cjs/component/StackGroupBar/StackGroupBar.js +8 -8
- package/lib/cjs/createElement.js +3 -3
- package/lib/cjs/utils.js +5 -5
- package/lib/es6/{AnimatedClipPath.js → AnimatedClipPath.mjs} +8 -8
- package/lib/es6/AnimatedClipPath.mjs.map +1 -0
- package/lib/es6/{Area.js → Area.mjs} +18 -18
- package/lib/es6/Area.mjs.map +1 -0
- package/lib/es6/{Axis.js → Axis.mjs} +22 -22
- package/lib/es6/Axis.mjs.map +1 -0
- package/lib/es6/{Bar.js → Bar.mjs} +23 -23
- package/lib/es6/Bar.mjs.map +1 -0
- package/lib/es6/{Bubble.js → Bubble.mjs} +21 -21
- package/lib/es6/Bubble.mjs.map +1 -0
- package/lib/es6/{CompactHorizontalBar.js → CompactHorizontalBar.mjs} +25 -25
- package/lib/es6/CompactHorizontalBar.mjs.map +1 -0
- package/lib/es6/{Donut.js → Donut.mjs} +19 -19
- package/lib/es6/Donut.mjs.map +1 -0
- package/lib/es6/{Dots.js → Dots.mjs} +10 -10
- package/lib/es6/Dots.mjs.map +1 -0
- package/lib/es6/{GroupBar.js → GroupBar.mjs} +6 -6
- package/lib/es6/GroupBar.mjs.map +1 -0
- package/lib/es6/{HorizontalBar.js → HorizontalBar.mjs} +23 -23
- package/lib/es6/HorizontalBar.mjs.map +1 -0
- package/lib/es6/{Hover.js → Hover.mjs} +12 -12
- package/lib/es6/Hover.mjs.map +1 -0
- package/lib/es6/{Line.js → Line.mjs} +16 -16
- package/lib/es6/Line.mjs.map +1 -0
- package/lib/es6/{Pattern.js → Pattern.mjs} +4 -4
- package/lib/es6/Pattern.mjs.map +1 -0
- package/lib/es6/{Plot.js → Plot.mjs} +12 -12
- package/lib/es6/Plot.mjs.map +1 -0
- package/lib/es6/{Radar.js → Radar.mjs} +29 -29
- package/lib/es6/Radar.mjs.map +1 -0
- package/lib/es6/{RadialTree.js → RadialTree.mjs} +23 -23
- package/lib/es6/RadialTree.mjs.map +1 -0
- package/lib/es6/{Reference.js → Reference.mjs} +20 -20
- package/lib/es6/Reference.mjs.map +1 -0
- package/lib/es6/{ResponsiveContainer.js → ResponsiveContainer.mjs} +9 -9
- package/lib/es6/ResponsiveContainer.mjs.map +1 -0
- package/lib/es6/{ScatterPlot.js → ScatterPlot.mjs} +18 -18
- package/lib/es6/ScatterPlot.mjs.map +1 -0
- package/lib/es6/{StackBar.js → StackBar.mjs} +9 -9
- package/lib/es6/StackBar.mjs.map +1 -0
- package/lib/es6/{StackedArea.js → StackedArea.mjs} +7 -7
- package/lib/es6/StackedArea.mjs.map +1 -0
- package/lib/es6/{Tooltip.js → Tooltip.mjs} +18 -18
- package/lib/es6/Tooltip.mjs.map +1 -0
- package/lib/es6/{Venn.js → Venn.mjs} +19 -19
- package/lib/es6/Venn.mjs.map +1 -0
- package/lib/es6/a11y/{DataAccessibilityTable.js → DataAccessibilityTable.mjs} +5 -5
- package/lib/es6/a11y/DataAccessibilityTable.mjs.map +1 -0
- package/lib/es6/a11y/{PlotA11yModule.js → PlotA11yModule.mjs} +6 -6
- package/lib/es6/a11y/PlotA11yModule.mjs.map +1 -0
- package/lib/es6/a11y/{PlotA11yView.js → PlotA11yView.mjs} +5 -5
- package/lib/es6/a11y/PlotA11yView.mjs.map +1 -0
- package/lib/es6/a11y/{bezier.js → bezier.mjs} +1 -1
- package/lib/es6/a11y/bezier.mjs.map +1 -0
- package/lib/es6/a11y/{focus.js → focus.mjs} +1 -1
- package/lib/es6/a11y/focus.mjs.map +1 -0
- package/lib/es6/a11y/{hints.js → hints.mjs} +4 -4
- package/lib/es6/a11y/hints.mjs.map +1 -0
- package/lib/es6/a11y/{insights.js → insights.mjs} +6 -6
- package/lib/es6/a11y/insights.mjs.map +1 -0
- package/lib/es6/a11y/{intl.js → intl.mjs} +1 -1
- package/lib/es6/a11y/intl.mjs.map +1 -0
- package/lib/es6/a11y/{locale.js → locale.mjs} +2 -2
- package/lib/es6/a11y/locale.mjs.map +1 -0
- package/lib/es6/a11y/{serialize.js → serialize.mjs} +5 -5
- package/lib/es6/a11y/serialize.mjs.map +1 -0
- package/lib/es6/a11y/{summarize.js → summarize.mjs} +1 -1
- package/lib/es6/a11y/summarize.mjs.map +1 -0
- package/lib/es6/a11y/translations/{view/__intergalactic-dynamic-locales.js → module/__intergalactic-dynamic-locales.mjs} +1 -1
- package/lib/es6/a11y/translations/module/__intergalactic-dynamic-locales.mjs.map +1 -0
- package/lib/es6/a11y/translations/{module/__intergalactic-dynamic-locales.js → view/__intergalactic-dynamic-locales.mjs} +1 -1
- package/lib/es6/a11y/translations/view/__intergalactic-dynamic-locales.mjs.map +1 -0
- package/lib/es6/{color.js → color.mjs} +1 -1
- package/lib/es6/color.mjs.map +1 -0
- package/lib/es6/component/Chart/{AbstractChart.js → AbstractChart.mjs} +10 -10
- package/lib/es6/component/Chart/AbstractChart.mjs.map +1 -0
- package/lib/es6/component/Chart/AbstractChart.type.mjs +2 -0
- package/lib/es6/component/Chart/AbstractChart.type.mjs.map +1 -0
- package/lib/es6/component/Chart/{AreaChart.js → AreaChart.mjs} +9 -9
- package/lib/es6/component/Chart/AreaChart.mjs.map +1 -0
- package/lib/es6/component/Chart/AreaChart.type.mjs +2 -0
- package/lib/es6/component/Chart/AreaChart.type.mjs.map +1 -0
- package/lib/es6/component/Chart/{BarChart.js → BarChart.mjs} +11 -11
- package/lib/es6/component/Chart/BarChart.mjs.map +1 -0
- package/lib/es6/component/Chart/BarChart.type.mjs +2 -0
- package/lib/es6/component/Chart/BarChart.type.mjs.map +1 -0
- package/lib/es6/component/Chart/{BubbleChart.js → BubbleChart.mjs} +6 -6
- package/lib/es6/component/Chart/BubbleChart.mjs.map +1 -0
- package/lib/es6/component/Chart/BubbleChart.type.mjs +2 -0
- package/lib/es6/component/Chart/BubbleChart.type.mjs.map +1 -0
- package/lib/es6/component/Chart/{CigaretteChart.js → CigaretteChart.mjs} +11 -11
- package/lib/es6/component/Chart/CigaretteChart.mjs.map +1 -0
- package/lib/es6/component/Chart/CigaretteChart.type.mjs +2 -0
- package/lib/es6/component/Chart/CigaretteChart.type.mjs.map +1 -0
- package/lib/es6/component/Chart/{CompactHorizontalBarChart.js → CompactHorizontalBarChart.mjs} +9 -9
- package/lib/es6/component/Chart/CompactHorizontalBarChart.mjs.map +1 -0
- package/lib/es6/component/Chart/CompactHorizontalBarChart.type.mjs +2 -0
- package/lib/es6/component/Chart/CompactHorizontalBarChart.type.mjs.map +1 -0
- package/lib/es6/component/Chart/{DonutChart.js → DonutChart.mjs} +6 -6
- package/lib/es6/component/Chart/DonutChart.mjs.map +1 -0
- package/lib/es6/component/Chart/DonutChart.type.mjs +2 -0
- package/lib/es6/component/Chart/DonutChart.type.mjs.map +1 -0
- package/lib/es6/component/Chart/{HistogramChart.js → HistogramChart.mjs} +10 -10
- package/lib/es6/component/Chart/HistogramChart.mjs.map +1 -0
- package/lib/es6/component/Chart/HistogramChart.type.mjs +2 -0
- package/lib/es6/component/Chart/HistogramChart.type.mjs.map +1 -0
- package/lib/es6/component/Chart/{LineChart.js → LineChart.mjs} +9 -9
- package/lib/es6/component/Chart/LineChart.mjs.map +1 -0
- package/lib/es6/component/Chart/LineChart.type.mjs +2 -0
- package/lib/es6/component/Chart/LineChart.type.mjs.map +1 -0
- package/lib/es6/component/Chart/{RadarChart.js → RadarChart.mjs} +9 -9
- package/lib/es6/component/Chart/RadarChart.mjs.map +1 -0
- package/lib/es6/component/Chart/RadarChart.type.mjs +2 -0
- package/lib/es6/component/Chart/RadarChart.type.mjs.map +1 -0
- package/lib/es6/component/Chart/{ScatterPlotChart.js → ScatterPlotChart.mjs} +8 -8
- package/lib/es6/component/Chart/ScatterPlotChart.mjs.map +1 -0
- package/lib/es6/component/Chart/ScatterPlotChart.type.mjs +2 -0
- package/lib/es6/component/Chart/ScatterPlotChart.type.mjs.map +1 -0
- package/lib/es6/component/Chart/{VennChart.js → VennChart.mjs} +6 -6
- package/lib/es6/component/Chart/VennChart.mjs.map +1 -0
- package/lib/es6/component/Chart/VennChart.type.mjs +2 -0
- package/lib/es6/component/Chart/VennChart.type.mjs.map +1 -0
- package/lib/es6/component/Chart/{index.js → index.mjs} +1 -1
- package/lib/es6/component/Chart/index.mjs.map +1 -0
- package/lib/es6/component/ChartLegend/{BaseLegend.js → BaseLegend.mjs} +8 -8
- package/lib/es6/component/ChartLegend/BaseLegend.mjs.map +1 -0
- package/lib/es6/component/ChartLegend/BaseLegend.type.mjs +2 -0
- package/lib/es6/component/ChartLegend/BaseLegend.type.mjs.map +1 -0
- package/lib/es6/component/ChartLegend/LegendFlex/{LegendFlex.js → LegendFlex.mjs} +11 -11
- package/lib/es6/component/ChartLegend/LegendFlex/LegendFlex.mjs.map +1 -0
- package/lib/es6/component/ChartLegend/LegendFlex/LegendFlex.type.mjs +2 -0
- package/lib/es6/component/ChartLegend/LegendFlex/LegendFlex.type.mjs.map +1 -0
- package/lib/es6/component/ChartLegend/LegendItem/{LegendItem.js → LegendItem.mjs} +25 -25
- package/lib/es6/component/ChartLegend/LegendItem/LegendItem.mjs.map +1 -0
- package/lib/es6/component/ChartLegend/LegendItem/{LegendItem.type.js → LegendItem.type.mjs} +1 -1
- package/lib/es6/component/ChartLegend/LegendItem/LegendItem.type.mjs.map +1 -0
- package/lib/es6/component/ChartLegend/LegendTable/{LegendTable.js → LegendTable.mjs} +13 -13
- package/lib/es6/component/ChartLegend/LegendTable/LegendTable.mjs.map +1 -0
- package/lib/es6/component/ChartLegend/LegendTable/LegendTable.type.mjs +2 -0
- package/lib/es6/component/ChartLegend/LegendTable/LegendTable.type.mjs.map +1 -0
- package/lib/es6/component/ChartLegend/{index.js → index.mjs} +1 -1
- package/lib/es6/component/ChartLegend/index.mjs.map +1 -0
- package/lib/es6/component/Cigarette/{Cigarette.js → Cigarette.mjs} +7 -7
- package/lib/es6/component/Cigarette/Cigarette.mjs.map +1 -0
- package/lib/es6/component/StackGroupBar/{StackGroupBar.js → StackGroupBar.mjs} +9 -9
- package/lib/es6/component/StackGroupBar/StackGroupBar.mjs.map +1 -0
- package/lib/es6/component/StackGroupBar/StackGroupBar.type.mjs +2 -0
- package/lib/es6/component/StackGroupBar/StackGroupBar.type.mjs.map +1 -0
- package/lib/es6/createElement.d.mjs +2 -0
- package/lib/es6/createElement.d.mjs.map +1 -0
- package/lib/es6/{createElement.js → createElement.mjs} +4 -4
- package/lib/es6/createElement.mjs.map +1 -0
- package/lib/es6/{index.js → index.mjs} +1 -1
- package/lib/es6/index.mjs.map +1 -0
- package/lib/es6/translations/{__intergalactic-dynamic-locales.js → __intergalactic-dynamic-locales.mjs} +1 -1
- package/lib/es6/translations/__intergalactic-dynamic-locales.mjs.map +1 -0
- package/lib/es6/types/Area.d.mjs +2 -0
- package/lib/es6/types/Area.d.mjs.map +1 -0
- package/lib/es6/types/Axis.d.mjs +2 -0
- package/lib/es6/types/Axis.d.mjs.map +1 -0
- package/lib/es6/types/Bar.d.mjs +2 -0
- package/lib/es6/types/Bar.d.mjs.map +1 -0
- package/lib/es6/types/Bubble.d.mjs +2 -0
- package/lib/es6/types/Bubble.d.mjs.map +1 -0
- package/lib/es6/types/ClipPath.d.mjs +2 -0
- package/lib/es6/types/ClipPath.d.mjs.map +1 -0
- package/lib/es6/types/CompactHorizontalBar.d.mjs +2 -0
- package/lib/es6/types/CompactHorizontalBar.d.mjs.map +1 -0
- package/lib/es6/types/Donut.d.mjs +2 -0
- package/lib/es6/types/Donut.d.mjs.map +1 -0
- package/lib/es6/types/GroupBar.d.mjs +2 -0
- package/lib/es6/types/GroupBar.d.mjs.map +1 -0
- package/lib/es6/types/HorizontalBar.d.mjs +2 -0
- package/lib/es6/types/HorizontalBar.d.mjs.map +1 -0
- package/lib/es6/types/Hover.d.mjs +2 -0
- package/lib/es6/types/Hover.d.mjs.map +1 -0
- package/lib/es6/types/Line.d.mjs +2 -0
- package/lib/es6/types/Line.d.mjs.map +1 -0
- package/lib/es6/types/Plot.d.mjs +2 -0
- package/lib/es6/types/Plot.d.mjs.map +1 -0
- package/lib/es6/types/Radar.d.mjs +2 -0
- package/lib/es6/types/Radar.d.mjs.map +1 -0
- package/lib/es6/types/Reference.d.mjs +2 -0
- package/lib/es6/types/Reference.d.mjs.map +1 -0
- package/lib/es6/types/ResponsiveContainer.d.mjs +2 -0
- package/lib/es6/types/ResponsiveContainer.d.mjs.map +1 -0
- package/lib/es6/types/ScatterPlot.d.mjs +2 -0
- package/lib/es6/types/ScatterPlot.d.mjs.map +1 -0
- package/lib/es6/types/StackBar.d.mjs +2 -0
- package/lib/es6/types/StackBar.d.mjs.map +1 -0
- package/lib/es6/types/StackedArea.d.mjs +2 -0
- package/lib/es6/types/StackedArea.d.mjs.map +1 -0
- package/lib/es6/types/Tooltip.d.mjs +2 -0
- package/lib/es6/types/Tooltip.d.mjs.map +1 -0
- package/lib/es6/types/Venn.d.mjs +2 -0
- package/lib/es6/types/Venn.d.mjs.map +1 -0
- package/lib/es6/types/context.d.mjs +2 -0
- package/lib/es6/types/context.d.mjs.map +1 -0
- package/lib/es6/types/{index.d.js → index.d.mjs} +1 -1
- package/lib/es6/types/index.d.mjs.map +1 -0
- package/lib/es6/{utils.js → utils.mjs} +6 -6
- package/lib/es6/utils.mjs.map +1 -0
- package/package.json +7 -12
- package/lib/es6/AnimatedClipPath.js.map +0 -1
- package/lib/es6/Area.js.map +0 -1
- package/lib/es6/Axis.js.map +0 -1
- package/lib/es6/Bar.js.map +0 -1
- package/lib/es6/Bubble.js.map +0 -1
- package/lib/es6/CompactHorizontalBar.js.map +0 -1
- package/lib/es6/Donut.js.map +0 -1
- package/lib/es6/Dots.js.map +0 -1
- package/lib/es6/GroupBar.js.map +0 -1
- package/lib/es6/HorizontalBar.js.map +0 -1
- package/lib/es6/Hover.js.map +0 -1
- package/lib/es6/Line.js.map +0 -1
- package/lib/es6/Pattern.js.map +0 -1
- package/lib/es6/Plot.js.map +0 -1
- package/lib/es6/Radar.js.map +0 -1
- package/lib/es6/RadialTree.js.map +0 -1
- package/lib/es6/Reference.js.map +0 -1
- package/lib/es6/ResponsiveContainer.js.map +0 -1
- package/lib/es6/ScatterPlot.js.map +0 -1
- package/lib/es6/StackBar.js.map +0 -1
- package/lib/es6/StackedArea.js.map +0 -1
- package/lib/es6/Tooltip.js.map +0 -1
- package/lib/es6/Venn.js.map +0 -1
- package/lib/es6/a11y/DataAccessibilityTable.js.map +0 -1
- package/lib/es6/a11y/PlotA11yModule.js.map +0 -1
- package/lib/es6/a11y/PlotA11yView.js.map +0 -1
- package/lib/es6/a11y/bezier.js.map +0 -1
- package/lib/es6/a11y/focus.js.map +0 -1
- package/lib/es6/a11y/hints.js.map +0 -1
- package/lib/es6/a11y/insights.js.map +0 -1
- package/lib/es6/a11y/intl.js.map +0 -1
- package/lib/es6/a11y/locale.js.map +0 -1
- package/lib/es6/a11y/serialize.js.map +0 -1
- package/lib/es6/a11y/summarize.js.map +0 -1
- package/lib/es6/a11y/translations/module/__intergalactic-dynamic-locales.js.map +0 -1
- package/lib/es6/a11y/translations/view/__intergalactic-dynamic-locales.js.map +0 -1
- package/lib/es6/color.js.map +0 -1
- package/lib/es6/component/Chart/AbstractChart.js.map +0 -1
- package/lib/es6/component/Chart/AbstractChart.type.js +0 -2
- package/lib/es6/component/Chart/AbstractChart.type.js.map +0 -1
- package/lib/es6/component/Chart/AreaChart.js.map +0 -1
- package/lib/es6/component/Chart/AreaChart.type.js +0 -2
- package/lib/es6/component/Chart/AreaChart.type.js.map +0 -1
- package/lib/es6/component/Chart/BarChart.js.map +0 -1
- package/lib/es6/component/Chart/BarChart.type.js +0 -2
- package/lib/es6/component/Chart/BarChart.type.js.map +0 -1
- package/lib/es6/component/Chart/BubbleChart.js.map +0 -1
- package/lib/es6/component/Chart/BubbleChart.type.js +0 -2
- package/lib/es6/component/Chart/BubbleChart.type.js.map +0 -1
- package/lib/es6/component/Chart/CigaretteChart.js.map +0 -1
- package/lib/es6/component/Chart/CigaretteChart.type.js +0 -2
- package/lib/es6/component/Chart/CigaretteChart.type.js.map +0 -1
- package/lib/es6/component/Chart/CompactHorizontalBarChart.js.map +0 -1
- package/lib/es6/component/Chart/CompactHorizontalBarChart.type.js +0 -2
- package/lib/es6/component/Chart/CompactHorizontalBarChart.type.js.map +0 -1
- package/lib/es6/component/Chart/DonutChart.js.map +0 -1
- package/lib/es6/component/Chart/DonutChart.type.js +0 -2
- package/lib/es6/component/Chart/DonutChart.type.js.map +0 -1
- package/lib/es6/component/Chart/HistogramChart.js.map +0 -1
- package/lib/es6/component/Chart/HistogramChart.type.js +0 -2
- package/lib/es6/component/Chart/HistogramChart.type.js.map +0 -1
- package/lib/es6/component/Chart/LineChart.js.map +0 -1
- package/lib/es6/component/Chart/LineChart.type.js +0 -2
- package/lib/es6/component/Chart/LineChart.type.js.map +0 -1
- package/lib/es6/component/Chart/RadarChart.js.map +0 -1
- package/lib/es6/component/Chart/RadarChart.type.js +0 -2
- package/lib/es6/component/Chart/RadarChart.type.js.map +0 -1
- package/lib/es6/component/Chart/ScatterPlotChart.js.map +0 -1
- package/lib/es6/component/Chart/ScatterPlotChart.type.js +0 -2
- package/lib/es6/component/Chart/ScatterPlotChart.type.js.map +0 -1
- package/lib/es6/component/Chart/VennChart.js.map +0 -1
- package/lib/es6/component/Chart/VennChart.type.js +0 -2
- package/lib/es6/component/Chart/VennChart.type.js.map +0 -1
- package/lib/es6/component/Chart/index.js.map +0 -1
- package/lib/es6/component/ChartLegend/BaseLegend.js.map +0 -1
- package/lib/es6/component/ChartLegend/BaseLegend.type.js +0 -2
- package/lib/es6/component/ChartLegend/BaseLegend.type.js.map +0 -1
- package/lib/es6/component/ChartLegend/LegendFlex/LegendFlex.js.map +0 -1
- package/lib/es6/component/ChartLegend/LegendFlex/LegendFlex.type.js +0 -2
- package/lib/es6/component/ChartLegend/LegendFlex/LegendFlex.type.js.map +0 -1
- package/lib/es6/component/ChartLegend/LegendItem/LegendItem.js.map +0 -1
- package/lib/es6/component/ChartLegend/LegendItem/LegendItem.type.js.map +0 -1
- package/lib/es6/component/ChartLegend/LegendTable/LegendTable.js.map +0 -1
- package/lib/es6/component/ChartLegend/LegendTable/LegendTable.type.js +0 -2
- package/lib/es6/component/ChartLegend/LegendTable/LegendTable.type.js.map +0 -1
- package/lib/es6/component/ChartLegend/index.js.map +0 -1
- package/lib/es6/component/Cigarette/Cigarette.js.map +0 -1
- package/lib/es6/component/StackGroupBar/StackGroupBar.js.map +0 -1
- package/lib/es6/component/StackGroupBar/StackGroupBar.type.js +0 -2
- package/lib/es6/component/StackGroupBar/StackGroupBar.type.js.map +0 -1
- package/lib/es6/createElement.d.js +0 -2
- package/lib/es6/createElement.d.js.map +0 -1
- package/lib/es6/createElement.js.map +0 -1
- package/lib/es6/index.js.map +0 -1
- package/lib/es6/translations/__intergalactic-dynamic-locales.js.map +0 -1
- package/lib/es6/types/Area.d.js +0 -2
- package/lib/es6/types/Area.d.js.map +0 -1
- package/lib/es6/types/Axis.d.js +0 -2
- package/lib/es6/types/Axis.d.js.map +0 -1
- package/lib/es6/types/Bar.d.js +0 -2
- package/lib/es6/types/Bar.d.js.map +0 -1
- package/lib/es6/types/Bubble.d.js +0 -2
- package/lib/es6/types/Bubble.d.js.map +0 -1
- package/lib/es6/types/ClipPath.d.js +0 -2
- package/lib/es6/types/ClipPath.d.js.map +0 -1
- package/lib/es6/types/CompactHorizontalBar.d.js +0 -2
- package/lib/es6/types/CompactHorizontalBar.d.js.map +0 -1
- package/lib/es6/types/Donut.d.js +0 -2
- package/lib/es6/types/Donut.d.js.map +0 -1
- package/lib/es6/types/GroupBar.d.js +0 -2
- package/lib/es6/types/GroupBar.d.js.map +0 -1
- package/lib/es6/types/HorizontalBar.d.js +0 -2
- package/lib/es6/types/HorizontalBar.d.js.map +0 -1
- package/lib/es6/types/Hover.d.js +0 -2
- package/lib/es6/types/Hover.d.js.map +0 -1
- package/lib/es6/types/Line.d.js +0 -2
- package/lib/es6/types/Line.d.js.map +0 -1
- package/lib/es6/types/Plot.d.js +0 -2
- package/lib/es6/types/Plot.d.js.map +0 -1
- package/lib/es6/types/Radar.d.js +0 -2
- package/lib/es6/types/Radar.d.js.map +0 -1
- package/lib/es6/types/Reference.d.js +0 -2
- package/lib/es6/types/Reference.d.js.map +0 -1
- package/lib/es6/types/ResponsiveContainer.d.js +0 -2
- package/lib/es6/types/ResponsiveContainer.d.js.map +0 -1
- package/lib/es6/types/ScatterPlot.d.js +0 -2
- package/lib/es6/types/ScatterPlot.d.js.map +0 -1
- package/lib/es6/types/StackBar.d.js +0 -2
- package/lib/es6/types/StackBar.d.js.map +0 -1
- package/lib/es6/types/StackedArea.d.js +0 -2
- package/lib/es6/types/StackedArea.d.js.map +0 -1
- package/lib/es6/types/Tooltip.d.js +0 -2
- package/lib/es6/types/Tooltip.d.js.map +0 -1
- package/lib/es6/types/Venn.d.js +0 -2
- package/lib/es6/types/Venn.d.js.map +0 -1
- package/lib/es6/types/context.d.js +0 -2
- package/lib/es6/types/context.d.js.map +0 -1
- package/lib/es6/types/index.d.js.map +0 -1
- package/lib/es6/utils.js.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"createElement.d.js","names":[],"sources":["../../src/createElement.d.ts"],"sourcesContent":["declare const createElement: any;\nexport default createElement;\n"],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"createElement.js","names":["React","hoistNonReactStatics","createComponent","createBaseComponent","CONTEXT_COMPONENT","assignProps","useForkRef","propsForElement","getOriginChildren","Plot","EXCLUDE_PROPS","createElementRender","Element","forwardRef","_ref","ref","render","_ref$childrenPosition","childrenPosition","xS","x","yS","y","source","_objectWithoutProperties","_excluded","_Element$props","props","_Element$props$forwar","_children","children","Children","_Element$props$x","_Element$props$y","_excluded2","mergedProps","_objectSpread","_child","Tag","tag","undefined","Error","createElement","Fragment","key","_extends","__excludeProps","elementEnhancement","init","asProps","_ref2","WrapperComponent","isFunction","$rootProps","_excluded3","WrapComponent","ElementWithContext","_React$useContext","useContext","displayName","ElementRoot","child","arguments","length","options","enhancements","Object","keys","forEach","n"],"sources":["../../src/createElement.jsx"],"sourcesContent":["import React from 'react';\nimport hoistNonReactStatics from 'hoist-non-react-statics';\nimport createComponent, { createBaseComponent, CONTEXT_COMPONENT } from '@semcore/core';\nimport assignProps from '@semcore/utils/lib/assignProps';\nimport { useForkRef } from '@semcore/utils/lib/ref';\nimport propsForElement from '@semcore/utils/lib/propsForElement';\nimport getOriginChildren from '@semcore/utils/lib/getOriginChildren';\nimport Plot from './Plot';\n\nconst EXCLUDE_PROPS = ['data', 'scale'];\n\nfunction createElementRender() {\n const Element = React.forwardRef(function (\n { render, childrenPosition = 'below', x: xS, y: yS, ...source },\n ref,\n ) {\n const {\n forwardRef = null,\n\n children: _children,\n Children,\n x = xS,\n y = yS,\n ...props\n } = Element.props;\n let children = getOriginChildren(Children);\n\n let mergedProps = assignProps(\n {\n x: xS,\n y: yS,\n ...props,\n ref: useForkRef(forwardRef, ref),\n },\n {\n x,\n y,\n ...source,\n },\n );\n\n if (typeof children === 'function') {\n const _child = mergedProps.children;\n mergedProps = assignProps(children(mergedProps), mergedProps);\n children = mergedProps.children;\n mergedProps.children = _child;\n }\n\n const Tag = typeof render === 'string' ? mergedProps.tag || render : render;\n\n if (childrenPosition === 'inside') {\n mergedProps.children = children === undefined ? mergedProps.children : children;\n }\n\n if (!Tag) {\n throw new Error('Element expected render prop to be passed');\n }\n return [\n <React.Fragment key='child-above'>\n {childrenPosition === 'above' ? children : null}\n </React.Fragment>,\n <Tag\n aria-hidden\n {...propsForElement(\n {\n __excludeProps: EXCLUDE_PROPS,\n ...mergedProps,\n },\n Tag,\n )}\n key='element'\n />,\n <React.Fragment key='child-below'>\n {childrenPosition === 'below' ? children : null}\n </React.Fragment>,\n ];\n });\n\n Element.props = {};\n return Element;\n}\n\nfunction elementEnhancement() {\n return {\n init: function () {\n this.Element = createElementRender();\n },\n asProps: function ({ $rootProps, ...props }, WrapperComponent, isFunction) {\n if (isFunction) {\n return {\n ...$rootProps,\n ...props,\n Element: this.Element,\n };\n }\n return {\n ...$rootProps,\n ...props,\n };\n },\n render: function (render, props) {\n this.Element.props = props;\n return render;\n },\n };\n}\n\nfunction WrapComponent(Element) {\n function ElementWithContext(props, ref) {\n const { $rootProps } = React.useContext(Plot[CONTEXT_COMPONENT]);\n return <Element ref={ref} $rootProps={$rootProps} {...props} />;\n }\n\n ElementWithContext.displayName = Element.displayName;\n\n const WrapperComponent = createBaseComponent(ElementWithContext);\n WrapperComponent.displayName = Element.displayName;\n\n return hoistNonReactStatics(WrapperComponent, Element);\n}\n\nfunction createElement(ElementRoot, child = {}, options = {}) {\n const Element = createComponent(ElementRoot, child, {\n ...options,\n enhancements: [elementEnhancement],\n });\n\n Object.keys(child).forEach((n) => {\n Element[n] = WrapComponent(Element[n]);\n });\n\n return WrapComponent(Element);\n}\n\nexport default createElement;\n"],"mappings":";;;;;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,oBAAoB,MAAM,yBAAyB;AAC1D,OAAOC,eAAe,IAAIC,mBAAmB,EAAEC,iBAAiB,QAAQ,eAAe;AACvF,OAAOC,WAAW,MAAM,gCAAgC;AACxD,SAASC,UAAU,QAAQ,wBAAwB;AACnD,OAAOC,eAAe,MAAM,oCAAoC;AAChE,OAAOC,iBAAiB,MAAM,sCAAsC;AACpE,OAAOC,IAAI,MAAM,QAAQ;AAEzB,IAAMC,aAAa,GAAG,CAAC,MAAM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AAS8B,aAAaA,CAACkB,WAAW,EAA4B;EAAA,IAA1BC,KAAK,GAAAC,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAtB,SAAA,GAAAsB,SAAA,MAAG,CAAC,CAAC;EAAA,IAAEE,OAAO,GAAAF,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAtB,SAAA,GAAAsB,SAAA,MAAG,CAAC,CAAC;EAC1D,IAAMlD,OAAO,GAAGV,eAAe,CAAC0D,WAAW,EAAEC,KAAK,EAAAzB,aAAA,CAAAA,aAAA,KAC7C4B,OAAO;IACVC,YAAY,EAAE,CAAClB,kBAAkB;EAAC,GAClC;EAEFmB,MAAM,CAACC,IAAI,CAACN,KAAK,CAAC,CAACO,OAAO,CAAC,UAACC,CAAC,EAAK;IAChCzD,OAAO,CAACyD,CAAC,CAAC,GAAGd,aAAa,CAAC3C,OAAO,CAACyD,CAAC,CAAC,CAAC;EACxC,CAAC,CAAC;EAEF,OAAOd,aAAa,CAAC3C,OAAO,CAAC;AAC/B;AAEA,eAAe8B,aAAa"}
|
package/lib/es6/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["default","Plot","ChartLegend","ChartLegendTable","Chart","StackGroupBar","XAxis","YAxis","Line","Bar","CompactHorizontalBar","HorizontalBar","GroupBar","StackBar","Area","StackedArea","ScatterPlot","Bubble","RadialTree","Donut","Venn","Radar","getLabelOffsetPosition","Tooltip","ResponsiveContainer","ReferenceLine","ReferenceBackground","ReferenceStripes","HoverLine","HoverRect","minMax","interpolateValue","getBubbleChartValueScale","getScatterPlotRadius","calculateBubbleDomain","PlotEventEmitter","colors","makeDataHintsContainer","PatternFill","PatternSymbol","getPatternSymbolSize"],"sources":["../../src/index.js"],"sourcesContent":["export { default as Plot } from './Plot';\nexport { ChartLegend, ChartLegendTable } from './component/ChartLegend';\nexport { default as Chart } from './component/Chart';\nexport { default as StackGroupBar } from './component/StackGroupBar/StackGroupBar';\nexport { XAxis, YAxis } from './Axis';\n\nexport { default as Line } from './Line';\n\nexport { default as Bar } from './Bar';\nexport { default as CompactHorizontalBar } from './CompactHorizontalBar';\nexport { default as HorizontalBar } from './HorizontalBar';\nexport { default as GroupBar } from './GroupBar';\nexport { default as StackBar } from './StackBar';\nexport { default as Area } from './Area';\nexport { default as StackedArea } from './StackedArea';\nexport { default as ScatterPlot } from './ScatterPlot';\nexport { default as Bubble } from './Bubble';\nexport { default as RadialTree } from './RadialTree';\nexport { default as Donut } from './Donut';\nexport { default as Venn } from './Venn';\nexport { default as Radar, getLabelOffsetPosition } from './Radar';\n\nexport { default as Tooltip } from './Tooltip';\n\nexport { default as ResponsiveContainer } from './ResponsiveContainer';\nexport { ReferenceLine, ReferenceBackground, ReferenceStripes } from './Reference';\n\nexport { HoverLine, HoverRect } from './Hover';\n\nexport {\n minMax,\n interpolateValue,\n getBubbleChartValueScale,\n getScatterPlotRadius,\n calculateBubbleDomain,\n PlotEventEmitter,\n} from './utils';\nexport { colors } from './color';\n\nexport { makeDataHintsContainer } from './a11y/hints';\n\nexport { PatternFill, PatternSymbol, getPatternSymbolSize } from './Pattern';\n"],"mappings":"AAAA,SAASA,OAAO,IAAIC,IAAI,QAAQ,QAAQ;AACxC,SAASC,WAAW,EAAEC,gBAAgB,QAAQ,yBAAyB;AACvE,SAASH,OAAO,IAAII,KAAK,QAAQ,mBAAmB;AACpD,SAASJ,OAAO,IAAIK,aAAa,QAAQ,yCAAyC;AAClF,SAASC,KAAK,EAAEC,KAAK,QAAQ,QAAQ;AAErC,SAASP,OAAO,IAAIQ,IAAI,QAAQ,QAAQ;AAExC,SAASR,OAAO,IAAIS,GAAG,QAAQ,OAAO;AACtC,SAAST,OAAO,IAAIU,oBAAoB,QAAQ,wBAAwB;AACxE,SAASV,OAAO,IAAIW,aAAa,QAAQ,iBAAiB;AAC1D,SAASX,OAAO,IAAIY,QAAQ,QAAQ,YAAY;AAChD,SAASZ,OAAO,IAAIa,QAAQ,QAAQ,YAAY;AAChD,SAASb,OAAO,IAAIc,IAAI,QAAQ,QAAQ;AACxC,SAASd,OAAO,IAAIe,WAAW,QAAQ,eAAe;AACtD,SAASf,OAAO,IAAIgB,WAAW,QAAQ,eAAe;AACtD,SAAShB,OAAO,IAAIiB,MAAM,QAAQ,UAAU;AAC5C,SAASjB,OAAO,IAAIkB,UAAU,QAAQ,cAAc;AACpD,SAASlB,OAAO,IAAImB,KAAK,QAAQ,SAAS;AAC1C,SAASnB,OAAO,IAAIoB,IAAI,QAAQ,QAAQ;AACxC,SAASpB,OAAO,IAAIqB,KAAK,EAAEC,sBAAsB,QAAQ,SAAS;AAElE,SAAStB,OAAO,IAAIuB,OAAO,QAAQ,WAAW;AAE9C,SAASvB,OAAO,IAAIwB,mBAAmB,QAAQ,uBAAuB;AACtE,SAASC,aAAa,EAAEC,mBAAmB,EAAEC,gBAAgB,QAAQ,aAAa;AAElF,SAASC,SAAS,EAAEC,SAAS,QAAQ,SAAS;AAE9C,SACEC,MAAM,EACNC,gBAAgB,EAChBC,wBAAwB,EACxBC,oBAAoB,EACpBC,qBAAqB,EACrBC,gBAAgB,QACX,SAAS;AAChB,SAASC,MAAM,QAAQ,SAAS;AAEhC,SAASC,sBAAsB,QAAQ,cAAc;AAErD,SAASC,WAAW,EAAEC,aAAa,EAAEC,oBAAoB,QAAQ,WAAW"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"__intergalactic-dynamic-locales.js","names":["en","es","fr","it","ja","ko","nl","pt","tr","vi","zh","pl","sv","localizedMessages"],"sources":["../../../src/translations/__intergalactic-dynamic-locales.ts"],"sourcesContent":["import de from './de.json';\nimport en from './en.json';\nimport es from './es.json';\nimport fr from './fr.json';\nimport it from './it.json';\nimport ja from './ja.json';\nimport ko from './ko.json';\nimport nl from './nl.json';\nimport pt from './pt.json';\nimport tr from './tr.json';\nimport vi from './vi.json';\nimport zh from './zh.json';\nimport pl from './pl.json';\nimport sv from './sv.json';\n\nexport const localizedMessages = {\n en,\n es,\n fr,\n it,\n ja,\n ko,\n nl,\n pt,\n tr,\n vi,\n zh,\n pl,\n sv,\n};\n"],"mappings":"AACA,OAAOA,EAAE,MAAM,WAAW;AAC1B,OAAOC,EAAE,MAAM,WAAW;AAC1B,OAAOC,EAAE,MAAM,WAAW;AAC1B,OAAOC,EAAE,MAAM,WAAW;AAC1B,OAAOC,EAAE,MAAM,WAAW;AAC1B,OAAOC,EAAE,MAAM,WAAW;AAC1B,OAAOC,EAAE,MAAM,WAAW;AAC1B,OAAOC,EAAE,MAAM,WAAW;AAC1B,OAAOC,EAAE,MAAM,WAAW;AAC1B,OAAOC,EAAE,MAAM,WAAW;AAC1B,OAAOC,EAAE,MAAM,WAAW;AAC1B,OAAOC,EAAE,MAAM,WAAW;AAC1B,OAAOC,EAAE,MAAM,WAAW;AAE1B,OAAO,IAAMC,iBAAiB,GAAG;EAC/Bb,EAAE,EAAFA,EAAE;EACFC,EAAE,EAAFA,EAAE;EACFC,EAAE,EAAFA,EAAE;EACFC,EAAE,EAAFA,EAAE;EACFC,EAAE,EAAFA,EAAE;EACFC,EAAE,EAAFA,EAAE;EACFC,EAAE,EAAFA,EAAE;EACFC,EAAE,EAAFA,EAAE;EACFC,EAAE,EAAFA,EAAE;EACFC,EAAE,EAAFA,EAAE;EACFC,EAAE,EAAFA,EAAE;EACFC,EAAE,EAAFA,EAAE;EACFC,EAAE,EAAFA;AACF,CAAC"}
|
package/lib/es6/types/Area.d.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Area.d.js","names":[],"sources":["../../../src/types/Area.d.ts"],"sourcesContent":["import { UnknownProperties } from '@semcore/core';\nimport { Context } from './context';\nimport { CurveFactory } from 'd3-shape';\nimport { IntergalacticD3Component } from './Plot';\nimport { PatternsConfig } from './Pattern';\n\n/** @deprecated */\nexport interface IAreaProps extends AreaProps, UnknownProperties {}\nexport type AreaProps = Context & {\n /** Field name from `data` array item for the XAxis */\n x?: string;\n /** Field name from `data` array item for the YAxis*/\n y?: string;\n /** Line color */\n color?: string;\n /** Element hide property */\n hide?: boolean;\n /** Curve method */\n curve?: CurveFactory;\n /** Animation duration in ms\n * @default 500\n */\n duration?: number;\n /** Enables element transparency */\n transparent?: boolean;\n /** Enables charts patterns that enhances charts accessibility */\n patterns?: PatternsConfig;\n};\n\n/** @deprecated */\nexport interface IAreaDotsProps extends AreaDotsProps, UnknownProperties {}\nexport type AreaDotsProps = Context & {\n /** Show dots */\n display?: boolean | ((index: number, active: boolean, single: boolean) => boolean);\n /** Hide property */\n hide?: boolean;\n /** Enables element transparency */\n transparent?: boolean;\n};\n\n/** @deprecated */\nexport interface IAreaDotsContext extends AreaDotsContext, UnknownProperties {}\nexport type AreaDotsContext = {\n /** Value element of data */\n /** @deprecated */\n value?: any;\n /** Index element of data */\n index?: number;\n};\n\n/** @deprecated */\nexport interface IAreaNullProps extends AreaNullProps, UnknownProperties {}\nexport type AreaNullProps = Context & {\n /** Hide property */\n hide?: boolean;\n};\n\ndeclare const Area: IntergalacticD3Component<'path', AreaProps, Context> & {\n Dots: IntergalacticD3Component<'circle', AreaDotsProps, AreaDotsContext>;\n Null: IntergalacticD3Component<'path', AreaNullProps, Context>;\n Line: IntergalacticD3Component<'path', Context, Context>;\n};\n\nexport default Area;\n"],"mappings":""}
|
package/lib/es6/types/Axis.d.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Axis.d.js","names":[],"sources":["../../../src/types/Axis.d.ts"],"sourcesContent":["import { IntergalacticD3Component } from './Plot';\nimport { Context } from './context';\nimport { UnknownProperties } from '@semcore/core';\n\n/** @deprecated */\nexport interface IXAxisProps extends XAxisProps, UnknownProperties {}\nexport type XAxisProps = Context & {\n /** The position of the axis relative chart\n * @default 'button' */\n position?: 'top' | 'right' | 'bottom' | 'left' | number;\n /** Element hide property\n * @default false */\n hide?: boolean;\n /** Values for axis ticks */\n ticks?: any[];\n};\n\n/** @deprecated */\nexport interface IYAxisProps extends YAxisProps, UnknownProperties {}\nexport type YAxisProps = Context & {\n /** The position of the axis relative chart\n * @default 'left' */\n position?: 'top' | 'right' | 'bottom' | 'left' | number;\n /** Element hide property\n * @default true */\n hide?: boolean;\n /** Values for axis ticks */\n ticks?: any[];\n};\n\n/** @deprecated */\nexport interface IAxisTicksProps extends AxisTicksProps, UnknownProperties {}\nexport type AxisTicksProps = Context & {\n /** The position of the axis relative chart */\n position?: 'top' | 'right' | 'bottom' | 'left';\n /** Element hide property */\n hide?: boolean;\n /** Values for axis ticks */\n ticks?: any[];\n};\n\n/** @deprecated */\nexport interface IAxisGridProps extends AxisGridProps, UnknownProperties {}\nexport type AxisGridProps = Context & {\n /** Values for axis ticks */\n ticks?: any[];\n};\n\n/** @deprecated */\nexport interface IAxisTitleProps extends AxisTitleProps, UnknownProperties {}\nexport type AxisTitleProps = Context & {\n /** The position of the axis relative chart */\n position?: 'top' | 'right' | 'bottom' | 'left';\n\n /** For vertical titles disables characters rotation while puts\n * characters into the vertical column for better reading in some languages.\n * @default true for `zh` and `ja` locales and false for all others.\n */\n verticalWritingMode?: boolean;\n};\n\n/** @deprecated */\nexport interface IAxisTicksContext extends AxisTicksContext, UnknownProperties {}\nexport type AxisTicksContext = {\n /** Value element of data */\n /** @deprecated */\n value: any;\n /** Index element of data */\n index: number;\n /** Horizontal coordinate of tick */\n x: number;\n /** Vertical coordinate of tick */\n y: number;\n /** Size of plot */\n size: [width: number, height: number];\n};\n\ndeclare const XAxis: IntergalacticD3Component<'path', XAxisProps> & {\n Ticks: IntergalacticD3Component<'path', AxisTicksProps, AxisTicksContext>;\n Grid: IntergalacticD3Component<'path', AxisGridProps>;\n Title: IntergalacticD3Component<'text', AxisTitleProps>;\n};\n\ndeclare const YAxis: IntergalacticD3Component<'path', YAxisProps> & {\n Ticks: IntergalacticD3Component<'path', AxisTicksProps, AxisTicksContext>;\n Grid: IntergalacticD3Component<'path', AxisGridProps>;\n Title: IntergalacticD3Component<'text', AxisTitleProps>;\n};\n\nexport { XAxis, YAxis };\n"],"mappings":""}
|
package/lib/es6/types/Bar.d.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Bar.d.js","names":[],"sources":["../../../src/types/Bar.d.ts"],"sourcesContent":["import React from 'react';\nimport { UnknownProperties } from '@semcore/core';\nimport { Context } from './context';\nimport { IntergalacticD3Component } from './Plot';\nimport { ScaleBand, ScaleLinear } from 'd3-scale';\nimport { PatternsConfig } from './Pattern';\n\n/** @deprecated */\nexport interface IBarProps extends BarProps, UnknownProperties {}\nexport type BarProps = Context & {\n /** Field name from `data` array item for the XAxis */\n x?: string;\n /** Field name from `data` array item for the YAxis */\n y?: string;\n /** Line color */\n color?: string;\n /** Element hide property */\n hide?: boolean;\n /** Animation duration in ms\n * @default 500\n */\n duration?: number;\n /** Radius of curvature\n * @default 2\n */\n r?: number | number[];\n /** Minimal height\n * @default 2\n */\n hMin?: number;\n /**\n * Bar click handler\n */\n onClick?: (\n data: { [key: string]: string | number | Date },\n event: React.SyntheticEvent,\n barIndex: number,\n barKey: string,\n ) => void;\n /** Enables element transparency */\n transparent?: boolean;\n /**\n * The maximum width of each Bar\n */\n maxBarSize?: number;\n /** Enables charts patterns that enhances charts accessibility */\n patterns?: PatternsConfig;\n /**\n * Defines the x and y offset for positioning bars\n */\n offset?: [number, number] | ((index: number) => [number, number]);\n};\n\n/** @deprecated */\nexport interface IBarContext extends BarContext, UnknownProperties {}\nexport type BarContext = {\n scale: [ScaleBand<any>, ScaleLinear<any, any>];\n /** @deprecated */\n value: unknown;\n /** Index in `data` array */\n index: number;\n x: number;\n y: number;\n width: number;\n height: number;\n};\n\n/** @deprecated */\nexport interface IBackgroundProps extends BackgroundProps, UnknownProperties {}\nexport type BackgroundProps = Context & {\n /** Coordinate x */\n x?: number | string;\n /** Coordinate y */\n y?: number | string;\n /** Value element of data */\n /** @deprecated */\n value?: any;\n /** Width rect */\n width?: number | string;\n /** Height rect */\n height?: number | string;\n};\n\ntype BackgroundContext = Context & {\n /** Index in `data` array */\n index: number;\n};\n\ndeclare const Bar: IntergalacticD3Component<'rect', BarProps, BarContext> & {\n Background: IntergalacticD3Component<'rect', BackgroundProps, BackgroundContext>;\n};\n\nexport default Bar;\n"],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Bubble.d.js","names":[],"sources":["../../../src/types/Bubble.d.ts"],"sourcesContent":["import { Intergalactic, UnknownProperties } from '@semcore/core';\nimport { Context } from './context';\nimport { TooltipType } from './Tooltip';\nimport { IntergalacticD3Component } from './Plot';\nimport { PatternsConfig } from './Pattern';\n\n/** @deprecated */\nexport interface IBubbleProps extends BubbleProps, UnknownProperties {}\nexport type BubbleProps = Context & {\n /** Field name from `data` array item for the XAxis */\n x: string;\n /** Field name from `data` array item for the YAxis */\n y: string;\n /** Field name from `data` array item for the circle radius */\n value: string;\n /** Field name from `data` array item for the circle label */\n label?: string;\n /** Circle color */\n color?: string;\n /** Cross in the center of the bubble\n * @default true\n */\n markedCross?: boolean;\n /** Animation duration in ms\n * @default 500\n */\n duration?: number;\n /** Enables element transparency */\n transparent?: boolean;\n /** Enables charts patterns that enhances charts accessibility */\n patterns?: PatternsConfig;\n};\n\n/** @deprecated */\nexport interface IBubbleContext extends BubbleContext, UnknownProperties {}\nexport type BubbleContext = {\n /** Index element of data */\n index: number;\n};\n\ndeclare const Bubble: IntergalacticD3Component<Intergalactic.Tag, BubbleProps, BubbleContext> & {\n Tooltip: TooltipType<\n BubbleProps & {\n /**\n * @deprecated Use `index` instead.\n */\n xIndex: number;\n /**\n * Index of item in the `data` array used to render related bubble.\n */\n index: number;\n }\n >;\n};\n\nexport default Bubble;\n"],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ClipPath.d.js","names":[],"sources":["../../../src/types/ClipPath.d.ts"],"sourcesContent":["import React from 'react';\nimport { UnknownProperties } from '@semcore/core';\nimport { IntergalacticD3Component } from './Plot';\n\n/** @deprecated */\nexport interface IClipPath extends ClipPath, UnknownProperties {}\nexport type ClipPath = {\n /**\n * HTML selector\n */\n id?: string;\n /**\n * CSS property\n */\n transition?: string;\n /**\n * Function which run after mounted clipPath\n */\n setAttributeTag?: (rect: React.ReactNode) => void;\n};\n\ndeclare const ClipPath: IntergalacticD3Component<'clipPath', ClipPath>;\n\nexport default ClipPath;\n"],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CompactHorizontalBar.d.js","names":[],"sources":["../../../src/types/CompactHorizontalBar.d.ts"],"sourcesContent":["import React from 'react';\nimport { UnknownProperties } from '@semcore/core';\nimport { Context } from './context';\nimport { BackgroundProps } from './Bar';\nimport { IntergalacticD3Component } from './Plot';\nimport { PatternsConfig } from './Pattern';\nimport { BoxProps } from '@semcore/flex-box';\nimport { TooltipType } from './Tooltip';\n\nexport type CompactHorizontalBarProps = Context & {\n /** Field name from `data` array item for the XAxis */\n x?: string;\n /** Field name from `data` array item for the YAxis */\n y?: string;\n /** Line color */\n color?: string;\n /**\n * Bars rounded corners\n * @default 2\n */\n radius?: number;\n /** Animation duration in ms\n * @default 500\n */\n duration?: number;\n /** Enables element transparency */\n transparent?: boolean;\n /** Enables charts patterns that enhances charts accessibility */\n patterns?: PatternsConfig;\n};\n\ntype BarContext = {\n /** Index in `data` array of the current items */\n index: number;\n};\n\nexport type CompactHorizontalBarHoverProps = BoxProps;\ntype Hover = IntergalacticD3Component<'rect', CompactHorizontalBarHoverProps, Context>;\nexport type CompactHorizontalBarAnnotationProps = BoxProps;\ntype Annotation = IntergalacticD3Component<\n 'foreignObject',\n CompactHorizontalBarAnnotationProps,\n Context & BarContext\n>;\nexport type CompactHorizontalBarLabelProps = BoxProps;\ntype Label = IntergalacticD3Component<'div', CompactHorizontalBarLabelProps, Context & BarContext>;\nexport type CompactHorizontalBarPercentProps = BoxProps;\nexport type CompactHorizontalBarPercentContext = {\n formatted: string;\n percent: number;\n} & BarContext;\ntype Percent = IntergalacticD3Component<\n 'div',\n CompactHorizontalBarPercentProps,\n Context & CompactHorizontalBarPercentContext\n>;\nexport type CompactHorizontalBarValueProps = BoxProps;\nexport type CompactHorizontalBarValueContext = { formatted: string; value: number } & BarContext;\ntype Value = IntergalacticD3Component<\n 'div',\n CompactHorizontalBarValueProps,\n Context & CompactHorizontalBarValueContext\n>;\nexport type CompactHorizontalBarBarProps = {};\ntype Bar = IntergalacticD3Component<'g', CompactHorizontalBarBarProps, Context & BarContext>;\nexport type CompactHorizontalBarBackgroundProps = BoxProps;\ntype Background = IntergalacticD3Component<'rect', BackgroundProps, Context & BarContext>;\nexport type CompactHorizontalBarFillProps = BoxProps & {\n patterns?: PatternsConfig;\n color?: string;\n transparent?: boolean;\n hide?: boolean;\n};\ntype Fill = IntergalacticD3Component<'rect', CompactHorizontalBarFillProps, Context & BarContext>;\n\ndeclare const CompactHorizontalBar: IntergalacticD3Component<\n 'g',\n CompactHorizontalBarProps,\n BarContext\n> & {\n Hover: Hover;\n Annotation: Annotation;\n Label: Label;\n Percent: Percent;\n Value: Value;\n Bar: Bar & {\n Background: Background;\n Fill: Fill;\n };\n Tooltip: TooltipType<BarContext>;\n};\n\nexport default CompactHorizontalBar;\n"],"mappings":""}
|
package/lib/es6/types/Donut.d.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Donut.d.js","names":[],"sources":["../../../src/types/Donut.d.ts"],"sourcesContent":["import { UnknownProperties } from '@semcore/core';\nimport { Context } from './context';\nimport { TooltipType } from './Tooltip';\nimport { IntergalacticD3Component } from './Plot';\nimport { PatternsConfig } from './Pattern';\n\n/** @deprecated */\nexport interface IDonutProps extends DonutProps, UnknownProperties {}\nexport type DonutProps = Context & {\n /** Inner radius\n * @default 0\n * */\n innerRadius?: number;\n /** Outer radius\n * @default calculated by the formula from width, height\n * */\n outerRadius?: number;\n /** Semi donut */\n halfsize?: boolean;\n /** Animation duration in ms. Set `0` to disable animation.\n * @default 500\n */\n duration?: number;\n /** Additional padding between segments in radians.\n * @default 0\n */\n paddingAngle?: number;\n /** Enables charts patterns that enhances charts accessibility */\n patterns?: PatternsConfig;\n};\n\n/** @deprecated */\nexport interface IPieProps extends PieProps, UnknownProperties {}\nexport type PieProps = Context & {\n /**\n * Name of the field in the data\n * */\n dataKey: string;\n /**\n * Human readable name of the segment\n * */\n name: string;\n /** Color pie **/\n color?: string;\n /**\n * Active sector\n * */\n active?: boolean;\n /** Enables element transparency */\n transparent?: boolean;\n};\n\n/** @deprecated */\nexport interface IEmptyDataProps extends EmptyDataProps, UnknownProperties {}\nexport type EmptyDataProps = Context & {};\n\n/** @deprecated */\nexport interface ILabelProps extends LabelProps, UnknownProperties {}\nexport type LabelProps = Context & {\n label?: string;\n};\n\ndeclare const Donut: IntergalacticD3Component<'g', DonutProps> & {\n Pie: IntergalacticD3Component<'path', PieProps>;\n EmptyData: IntergalacticD3Component<'path', EmptyDataProps>;\n Label: IntergalacticD3Component<'text', LabelProps>;\n Tooltip: TooltipType<PieProps>;\n};\n\nexport default Donut;\n"],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"GroupBar.d.js","names":[],"sources":["../../../src/types/GroupBar.d.ts"],"sourcesContent":["import { UnknownProperties } from '@semcore/core';\nimport { BarContext, BarProps } from './Bar';\nimport { HorizontalBarProps } from './HorizontalBar';\nimport { Context } from './context';\nimport { IntergalacticD3Component } from './Plot';\nimport { PatternsConfig } from './Pattern';\n\n/** @deprecated */\nexport interface IGroupBarProps extends GroupBarProps, UnknownProperties {}\nexport type GroupBarProps = Context & {\n /** Field name from `data` array item for the XAxis */\n x?: string;\n /** Field name from `data` array item for the YAxis */\n y?: string;\n /** Scale for group bars */\n /** @deprecated */\n scaleGroup?: any;\n /**\n * The maximum width of each Bar\n */\n maxBarSize?: number;\n};\n\ndeclare const GroupBar: IntergalacticD3Component<'g', GroupBarProps> & {\n Bar: IntergalacticD3Component<'path', BarProps>;\n HorizontalBar: IntergalacticD3Component<'path', HorizontalBarProps, BarContext>;\n};\n\nexport default GroupBar;\n"],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"HorizontalBar.d.js","names":[],"sources":["../../../src/types/HorizontalBar.d.ts"],"sourcesContent":["import React from 'react';\nimport { UnknownProperties } from '@semcore/core';\nimport { Context } from './context';\nimport { BarContext, BackgroundProps } from './Bar';\nimport { IntergalacticD3Component } from './Plot';\nimport { PatternsConfig } from './Pattern';\n\n/** @deprecated */\nexport interface IHorizontalBarProps extends HorizontalBarProps, UnknownProperties {}\nexport type HorizontalBarProps = Context & {\n /** Field name from `data` array item for the XAxis */\n x?: string;\n /** Field name from `data` array item for the YAxis */\n y?: string;\n /** Line color */\n color?: string;\n /** Animation duration in ms\n * @default 500\n */\n duration?: number;\n /** Radius of curvature\n * @default 2\n */\n r?: number | number[];\n /**\n * Bar click handler\n */\n onClick?: (\n data: { [key: string]: string | number | Date },\n event: React.SyntheticEvent,\n barIndex: number,\n barKey: string,\n ) => void;\n /** Enables element transparency */\n transparent?: boolean;\n /**\n * The maximum width of each Bar\n */\n maxBarSize?: number;\n /** Enables charts patterns that enhances charts accessibility */\n patterns?: PatternsConfig;\n};\n\ndeclare const HorizontalBar: IntergalacticD3Component<'path', HorizontalBarProps, BarContext> & {\n Background: IntergalacticD3Component<'rect', BackgroundProps, Context>;\n};\n\nexport default HorizontalBar;\n"],"mappings":""}
|
package/lib/es6/types/Hover.d.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Hover.d.js","names":[],"sources":["../../../src/types/Hover.d.ts"],"sourcesContent":["import React from 'react';\nimport { UnknownProperties } from '@semcore/core';\nimport { Context } from './context';\nimport { ReturnEl } from '@semcore/core';\nimport { TooltipTypeBase } from './Tooltip';\nimport { BoxProps } from '@semcore/flex-box';\nimport { IntergalacticD3Component } from './Plot';\n\n/** @deprecated */\nexport interface IHoverProps extends HoverProps, UnknownProperties {}\nexport type HoverProps = Context & {\n /** Field name from `data` array item for the XAxis */\n x?: string;\n /** Field name from `data` array item for the YAxis */\n y?: string;\n};\n\ntype HoverTooltip = (<X, Y>(\n props: {\n /** Field name from `data` array item for the XAxis */\n x?: X;\n /** Field name from `data` array item for the YAxis */\n y?: Y;\n /** Handle click by trigger has an index - it is an index of the data array. */\n onClick?: (index: number, e: React.SyntheticEvent) => void;\n children: (props: {\n /** Index in `data` array of the current item */\n xIndex: X extends string ? number : never;\n /** Index in `data` array of the current item */\n yIndex: Y extends string ? number : never;\n }) => { children: ReturnEl };\n /** Flag for hide line on hovered value */\n hideHoverLine?: boolean | ((xIndex: number | null, yIndex: number | null) => boolean);\n } & Omit<BoxProps, 'children'>,\n) => ReturnEl) &\n TooltipTypeBase;\n\ntype HoverContext = {\n /** Index in `data` array of the current item */\n index: number;\n};\n\ndeclare const HoverLine: IntergalacticD3Component<'g', HoverProps, HoverContext> & {\n Tooltip: HoverTooltip;\n};\n\ndeclare const HoverRect: IntergalacticD3Component<'g', HoverProps, HoverContext> & {\n Tooltip: HoverTooltip;\n};\nexport { HoverLine, HoverRect };\n"],"mappings":""}
|
package/lib/es6/types/Line.d.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Line.d.js","names":[],"sources":["../../../src/types/Line.d.ts"],"sourcesContent":["import { UnknownProperties } from '@semcore/core';\nimport { Context } from './context';\nimport { curveCardinal, CurveFactory } from 'd3-shape';\nimport { FadeInOutProps } from '@semcore/animation';\nimport { IntergalacticD3Component } from './Plot';\nimport { PatternsConfig } from './Pattern';\n\n/** @deprecated */\nexport interface ILineProps extends LineProps, UnknownProperties {}\nexport type LineProps = Context & {\n /** Field name from `data` array item for the XAxis */\n x?: string;\n /** Field name from `data` array item for the YAxis */\n y?: string;\n /** Line color */\n color?: string;\n /** Element hide property */\n hide?: boolean;\n /** Curve method */\n curve?: CurveFactory;\n /** Animation duration in ms\n * @default 500\n */\n duration?: number;\n /** Enables element transparency */\n transparent?: boolean;\n /** Enables charts patterns that enhances charts accessibility */\n patterns?: PatternsConfig;\n};\n\n/** @deprecated */\nexport interface ILineDotsProps extends LineDotsProps, UnknownProperties {}\nexport type LineDotsProps = Context &\n Omit<FadeInOutProps, 'display'> & {\n /** Show dots */\n display?: boolean | ((index: number, active: boolean, single: boolean) => boolean);\n /** Hide property */\n hide?: boolean;\n /** Index active of element */\n activeIndex?: number;\n /** Dot radius, radius of active dot is 4/3 times larger\n * @default 6\n */\n radius?: number;\n };\n\n/** @deprecated */\nexport interface ILineDotsContext extends LineDotsContext, UnknownProperties {}\nexport type LineDotsContext = {\n /** Value element of data */\n /** @deprecated */\n value?: any;\n /** Index element of data */\n index?: number;\n};\n\n/** @deprecated */\nexport interface ILineNullProps extends LineNullProps, UnknownProperties {}\nexport type LineNullProps = Context & {\n /** Hide property */\n hide?: boolean;\n};\n\nexport type LineAreaProps = Omit<LineProps, 'transparent'> & {\n /**\n * Field name from `data` (or from `area`, if passed) array for y0 point by the YAxis for the Area\n */\n y0: string;\n /**\n * Field name from `data` (or from `area`, if passed) array for y1 point by the YAxis for the Area\n */\n y1: string;\n\n /**\n * Optional data for render area\n */\n area?: Array<{ [key: string]: number }>;\n\n /**\n * If disabled, area will not be rendered if corresponding position data is null. That case you use\n * `interpolateValue` symbol for spot data interpolation.\n * @default true\n */\n autoInterpolate?: boolean;\n};\n\ndeclare const Line: IntergalacticD3Component<'line', LineProps, Context> & {\n Dots: IntergalacticD3Component<'circle', LineDotsProps, LineDotsContext>;\n Null: IntergalacticD3Component<'path', LineNullProps>;\n Area: IntergalacticD3Component<'path', LineAreaProps>;\n};\n\nexport default Line;\n"],"mappings":""}
|
package/lib/es6/types/Plot.d.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Plot.d.js","names":[],"sources":["../../../src/types/Plot.d.ts"],"sourcesContent":["import { BoxProps } from '@semcore/flex-box';\nimport { UnknownProperties, Intergalactic } from '@semcore/core';\nimport { Context } from './context';\nimport { DataStructureHints } from './a11y/hints';\nimport { PatternsConfig } from './Pattern';\nimport { PlotEventEmitter } from './utils';\n\n/** @deprecated */\nexport interface IPlotProps extends PlotProps, UnknownProperties {}\nexport type PlotProps = Context &\n BoxProps & {\n /** Width of the svg element\n * @default 0*/\n width?: number;\n /** Height of the svg element\n * @default 0*/\n height?: number;\n /** Human readable chart name (e.g \"Last market trends\") */\n label?: string;\n /**\n * Locale for displaying the days of a week and months, to be transferred to `Intl`\n * @default en\n * */\n locale?: NavigatorLanguage['language'];\n /**\n * Optional container for data hints (use it if you have a legend component upper in tree)\n */\n dataHints?: DataStructureHints;\n /** Optional prop to tune up alt text generating for charts */\n a11yAltTextConfig?: PlotSummarizerConfig;\n\n /** Enables charts patterns that enhances charts accessibility */\n patterns?: PatternsConfig;\n\n eventEmitter?: InstanceType<typeof PlotEventEmitter>;\n };\n\nexport type PlotSummarizerConfig = {\n /** Totally disable automatic data summarization */\n disable?: boolean;\n /** Disable automatic data summarization and use provided text */\n override?: string;\n /** Tuning up time series trends analyzing. Represents angle tangens of time series change of different strength */\n trendTangens?: {\n /** Angle tangens of time series that have meaningful trending change\n * @default 1/15\n */\n static?: number;\n /** Angle tangens of time series that have weak trending change\n * @default 1/10\n */\n weak?: number;\n /** Angle tangens of time series that have medium trending change\n * @default 1/5\n */\n medium?: number;\n /** Angle tangens of time series that have strong trending change\n * @default Infinity\n */\n strong?: number;\n };\n /** Tuning up time series local trends detection based on moving averages */\n movingAverage?: {\n /** Frame size of long moving average\n * @default Math.sqrt(data.length)\n */\n longSize?: number;\n /** Frame size of short moving average\n * @default Math.sqrt(data.length)/2\n */\n shortSize?: number;\n /** Absolute difference between values on moving averages crossing to\n * be handled as local trend change.\n * @default StandardDeviation/10\n */\n notableDiff?: number;\n };\n /** The way data to be interpreted as. By default is based on used used Plot elements and data structure.\n */\n dataType?: 'time-series' | 'points-cloud' | 'values-set';\n /** Grid size to split data of point clouds into clusters.\n */\n clustersGridSize?: number;\n /** Limits some output lists in chart alt text\n * @default 100\n * **/\n maxListSymbols?: number;\n /** Always add time to dates in chart alt text **/\n datesWithTime?: boolean;\n /** Described clusters count before text \"and X more\"\n * @default false\n * **/\n clustersLimit?: number;\n /** Described values count before text \"and X more\"\n * @default false\n * **/\n valuesLimit?: number;\n /** Described grouped value groups count before text \"and X more\"\n * @default false\n * **/\n groupsLimit?: number;\n /** Additional field for extra text description to the data\n * **/\n additionalFields?: string[];\n /** Allows to format titles (e.g. axes) in alt text and data table */\n titlesFormatter?: (key: string | number | null) => string | undefined;\n /** Allows to format values in alt text and data table */\n valuesFormatter?: (value: unknown, key: string | number | null) => string | undefined;\n};\n\n/** @deprecated */\nexport type MapProps<Props, Ctx = {}, UCProps = {}> = Props & {\n children?:\n | ((props: Props & Ctx, handlers: UCProps) => Props | React.PropsWithChildren)\n | React.ReactNode;\n};\n\nexport type IntergalacticD3Component<BaseTag extends Intergalactic.Tag, Props, Context = {}> = (<\n Tag extends Intergalactic.Tag = BaseTag,\n>(\n props: Intergalactic.InternalTypings.PropsRenderingResultComponentProps<Tag, Props, Context>,\n) => Intergalactic.InternalTypings.ComponentRenderingResults) &\n Intergalactic.InternalTypings.ComponentAdditive<BaseTag, BaseTag, Props>;\n\ndeclare const Plot: IntergalacticD3Component<'svg', PlotProps, Context>;\nexport default Plot;\n"],"mappings":""}
|
package/lib/es6/types/Radar.d.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Radar.d.js","names":[],"sources":["../../../src/types/Radar.d.ts"],"sourcesContent":["import { Context } from './context';\nimport { UnknownProperties } from '@semcore/core';\nimport { CurveFactory } from 'd3-shape';\nimport { TooltipType } from './Tooltip';\nimport { IntergalacticD3Component } from './Plot';\nimport { BoxProps } from '@semcore/flex-box';\nimport { PatternsConfig } from './Pattern';\n\n/** @deprecated */\nexport interface IRadarProps extends RadarProps, UnknownProperties {}\nexport type RadarProps = Context & {\n /**\n * Scale for radar element\n * */\n /** @deprecated */\n scale: any;\n /**\n * Graph type to be displayed\n * @default 'polygon'\n * */\n type?: 'polygon' | 'circle';\n /**\n * Indent from the edge of svg to graph\n * */\n offset?: number;\n\n /**\n * Label font size\n * @default 12\n * */\n textSize?: number;\n\n /**\n * Base angle of chart rotation\n * @default 0\n * @example Math.PI/3\n * */\n angleOffset?: number;\n /** Enables charts patterns that enhances charts accessibility */\n patterns?: PatternsConfig;\n};\n\n/** @deprecated */\nexport interface IRadarAxisProps extends RadarAxisProps, UnknownProperties {}\nexport type RadarAxisProps = Context & {\n /**\n * Sets the field name for categories\n * */\n dataKey: string;\n};\n\n/** @deprecated */\nexport interface IRadarAxisTicksProps extends RadarAxisTicksProps, UnknownProperties {}\nexport type RadarAxisTicksProps = {\n /**\n * Distance between auxiliary lines\n * @default 100\n * */\n tickSize?: number;\n};\n\n/** @deprecated */\nexport interface IRadarAxisLabelsProps extends RadarAxisLabelsProps, UnknownProperties {}\nexport type RadarAxisLabelsProps = {\n /**\n * Indent from graph to label\n * @default 10\n * */\n labelOffset?: number;\n};\n\ntype RadarAxisLabelsContext = Context & {\n xDirection: 'middle' | 'start' | 'end';\n yDirection: 'alphabetic' | 'mathematical' | 'middle';\n x: number;\n y: number;\n};\n\n/** @deprecated */\nexport interface IRadialPolygonProps extends RadialPolygonProps, UnknownProperties {}\nexport type RadialPolygonProps = Context & {\n /**\n * Sets the field name for data\n * */\n dataKey: string;\n /**\n * Curve method\n * @default curveLinearClosed\n * */\n curve?: CurveFactory;\n /**\n * Sets the color of the entire polygon\n * */\n color?: string;\n /**\n * Sets the fill color\n * */\n fill?: string;\n};\n\n/** @deprecated */\nexport interface IRadialPolygonLineProps extends RadialPolygonLineProps, UnknownProperties {}\nexport type RadialPolygonLineProps = {\n /**\n * Sets the line color\n * */\n color?: string;\n};\n\n/** @deprecated */\nexport interface IRadialPolygonDotsProps extends RadialPolygonDotsProps, UnknownProperties {}\nexport type RadialPolygonDotsProps = {\n /**\n * Sets the dot color\n * */\n color?: string;\n};\n\n/** @deprecated */\nexport interface IRadarHoverProps extends RadarHoverProps, UnknownProperties {}\nexport type RadarHoverProps = BoxProps & Context & {};\n\ndeclare const Radar: IntergalacticD3Component<'g', RadarProps, Context> & {\n Axis: IntergalacticD3Component<'path', RadarAxisProps, Context> & {\n Ticks: IntergalacticD3Component<'path', RadarAxisTicksProps, Context>;\n Labels: IntergalacticD3Component<'text', RadarAxisLabelsProps, RadarAxisLabelsContext>;\n };\n Polygon: IntergalacticD3Component<'path', RadialPolygonProps, Context> & {\n Line: IntergalacticD3Component<'line', RadialPolygonLineProps, Context>;\n Dots: IntergalacticD3Component<'circle', RadialPolygonDotsProps, Context>;\n };\n Hover: IntergalacticD3Component<'path', RadarHoverProps, Context>;\n Tooltip: TooltipType<\n RadarHoverProps & {\n /** Index in `data` array of the current items */\n index: number;\n }\n >;\n};\n\nexport declare function getLabelOffsetPosition(\n xDirection: 'middle' | 'start' | 'end',\n yDirection: 'alphabetic' | 'mathematical' | 'middle',\n width: number,\n height: number,\n): [xOffset: number, yOffset: number];\n\nexport default Radar;\n"],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Reference.d.js","names":[],"sources":["../../../src/types/Reference.d.ts"],"sourcesContent":["import { UnknownProperties } from '@semcore/core';\nimport { Context } from './context';\nimport { IntergalacticD3Component } from './Plot';\n\n/** @deprecated **/\nexport interface IReferenceLineProps extends ReferenceLineProps, UnknownProperties {}\nexport type ReferenceLineProps = Context & {\n /** The position of the title relative reference line\n * @default 'left' */\n position?: 'top' | 'right' | 'bottom' | 'left';\n /** Value element of data */\n value?: any;\n\n title?: string;\n};\n\n/** @deprecated **/\nexport interface IReferenceLineTitleProps extends ReferenceLineTitleProps, UnknownProperties {}\nexport type ReferenceLineTitleProps = Context & {\n /** The position of the axis relative reference line */\n position?: 'top' | 'right' | 'bottom' | 'left';\n /** Value element of data */\n value: any;\n};\n\n/** @deprecated **/\nexport interface IReferenceLineBackgroundProps\n extends ReferenceLineBackgroundProps,\n UnknownProperties {}\nexport type ReferenceBackgroundProps = Context & {\n /** The position relative the `value` */\n position?: 'top' | 'right' | 'bottom' | 'left';\n /** Value element of data */\n value?: any;\n /** Value of the background end */\n endValue?: number | string;\n};\n/** @deprecated use ReferenceBackgroundProps instead **/\nexport type ReferenceLineBackgroundProps = ReferenceBackgroundProps;\n\nexport type ReferenceStripesProps = Context & {\n /** The position relative the `value` */\n position?: 'top' | 'right' | 'bottom' | 'left';\n /** Value element of data */\n value?: any;\n /** Value of the background end */\n endValue?: number | string;\n};\n\nexport declare const ReferenceLine: IntergalacticD3Component<\n 'line',\n ReferenceLineProps,\n Context\n> & {\n Title: IntergalacticD3Component<'text', ReferenceLineTitleProps, Context>;\n /**\n * @deprecated use `ReferenceBackground` instead.\n */\n Background: IntergalacticD3Component<'rect', ReferenceLineBackgroundProps, Context>;\n};\nexport declare const ReferenceBackground: IntergalacticD3Component<\n 'rect',\n ReferenceLineBackgroundProps,\n Context\n>;\nexport declare const ReferenceStripes: IntergalacticD3Component<\n 'rect',\n ReferenceStripesProps,\n Context\n>;\n"],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ResponsiveContainer.d.js","names":[],"sources":["../../../src/types/ResponsiveContainer.d.ts"],"sourcesContent":["import { BoxProps } from '@semcore/flex-box';\nimport { UnknownProperties } from '@semcore/core';\nimport { IntergalacticD3Component } from './Plot';\n\n/** @deprecated */\nexport interface IResponsiveContainerProps extends ResponsiveContainerProps, UnknownProperties {}\nexport type ResponsiveContainerProps = BoxProps & {\n /** Relation between height and width dimensions block */\n aspect?: number;\n /** Callback which will be called after changing the block size */\n onResize?: (size: [number, number], entries: ResizeObserverEntry[]) => void;\n};\n\n/** @deprecated */\nexport interface IResponsiveContainerContext\n extends ResponsiveContainerContext,\n UnknownProperties {}\nexport type ResponsiveContainerContext = {\n width?: number;\n height?: number;\n};\n\ndeclare const ResponsiveContainer: IntergalacticD3Component<\n 'div',\n ResponsiveContainerProps,\n ResponsiveContainerContext\n>;\n\nexport default ResponsiveContainer;\n"],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ScatterPlot.d.js","names":[],"sources":["../../../src/types/ScatterPlot.d.ts"],"sourcesContent":["import { UnknownProperties } from '@semcore/core';\nimport { Context } from './context';\nimport { TooltipType } from './Tooltip';\nimport { IntergalacticD3Component } from './Plot';\nimport { PatternsConfig } from './Pattern';\n\n/** @deprecated */\nexport interface IScatterPlotProps extends ScatterPlotProps, UnknownProperties {}\nexport type ScatterPlotProps = Context & {\n /** Field name from `data` array item for the XAxis */\n x: string;\n /** Field name from `data` array item for the YAxis */\n y: string;\n /** Field name from `data` array item for the circle value */\n value?: string;\n /** Circle color */\n color?: string;\n /** Circle value color */\n valueColor?: string;\n /** Animation duration in ms\n * @default 500\n */\n duration?: number;\n /** Radius of circles\n * @default 5.5 or 12 with value\n */\n r?: number;\n /** Enables element transparency */\n transparent?: boolean;\n /** Enables charts patterns that enhances charts accessibility */\n patterns?: PatternsConfig;\n};\n\ndeclare const ScatterPlot: IntergalacticD3Component<'g', ScatterPlotProps, Context> & {\n Tooltip: TooltipType<\n ScatterPlotProps & {\n /**\n * @deprecated Use `index` instead.\n */\n xIndex: number;\n /**\n * Index of item in the `data` array used to render related circle.\n */\n index: number;\n }\n >;\n};\n\nexport default ScatterPlot;\n"],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"StackBar.d.js","names":[],"sources":["../../../src/types/StackBar.d.ts"],"sourcesContent":["import { UnknownProperties } from '@semcore/core';\nimport { Context } from './context';\nimport { BarContext, BarProps } from './Bar';\nimport { HorizontalBarProps } from './HorizontalBar';\nimport { IntergalacticD3Component } from './Plot';\nimport { PatternsConfig } from './Pattern';\n\n/** @deprecated */\nexport interface IStackBarProps extends StackBarProps, UnknownProperties {}\nexport type StackBarProps = Context & {\n /** Field name from `data` array item for the XAxis */\n x?: string;\n /** Field name from `data` array item for the YAxis */\n y?: string;\n /** Stack generators\n * @default d3.stack() */\n /** @deprecated */\n stack?: any;\n /**\n * The maximum width of each Bar\n */\n maxBarSize?: number;\n\n /** Enables charts patterns that enhances charts accessibility */\n patterns?: PatternsConfig;\n};\n\n/** @deprecated */\nexport interface IStackBarContext extends StackBarContext, UnknownProperties {}\nexport type StackBarContext = {\n /** Series is an array of points, where each point corresponds to the element in the input data. */\n /** @deprecated */\n series: any[];\n};\n\ndeclare const StackBar: IntergalacticD3Component<'g', StackBarProps, StackBarContext> & {\n Bar: IntergalacticD3Component<'path', BarProps, BarContext>;\n HorizontalBar: IntergalacticD3Component<'path', HorizontalBarProps, BarContext>;\n};\n\nexport default StackBar;\n"],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"StackedArea.d.js","names":[],"sources":["../../../src/types/StackedArea.d.ts"],"sourcesContent":["import { UnknownProperties } from '@semcore/core';\nimport { Context } from './context';\nimport Area from './Area';\nimport { IntergalacticD3Component } from './Plot';\nimport { PatternsConfig } from './Pattern';\n\n/** @deprecated */\nexport interface IStackedAreaProps extends StackedAreaProps, UnknownProperties {}\nexport type StackedAreaProps = Context & {\n /** Field name from `data` array item for the XAxis */\n x?: string;\n /** Field name from `data` array item for the YAxis */\n y?: string;\n /** Stack generators\n * @default d3.stack() */\n /** @deprecated */\n stack?: any;\n\n /** Enables charts patterns that enhances charts accessibility */\n patterns?: PatternsConfig;\n};\n\n/** @deprecated */\nexport interface IStackedAreaContext extends StackedAreaContext, UnknownProperties {}\nexport type StackedAreaContext = {\n /** Series is an array of points, where each point corresponds to the element in the input data. */\n /** @deprecated */\n series: any[];\n};\n\ndeclare const StackedArea: IntergalacticD3Component<'g', StackedAreaProps, StackedAreaContext> & {\n Area: typeof Area;\n};\n\nexport default StackedArea;\n"],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Tooltip.d.js","names":[],"sources":["../../../src/types/Tooltip.d.ts"],"sourcesContent":["import React from 'react';\nimport Popper, { PopperProps, PopperTriggerProps } from '@semcore/popper';\nimport { PropGetterFn, UnknownProperties, Intergalactic } from '@semcore/core';\nimport { Box, BoxProps } from '@semcore/flex-box';\nimport { Context } from './context';\nimport { IntergalacticD3Component } from './Plot';\n\n/** @deprecated */\nexport interface ITooltipChartProps extends TooltipChartProps, UnknownProperties {}\nexport type TooltipChartProps = PopperProps &\n PopperTriggerProps &\n Context & {\n /** Field name from `data` array item for the XAxis */\n x?: string;\n /** Field name from `data` array item for the YAxis */\n y?: string;\n /** Handle click by trigger has an index - it is an index of the data array. */\n onClick?: (index: number, e: React.SyntheticEvent) => void;\n };\n\n/** @deprecated */\nexport interface ITooltipChartContext extends TooltipChartContext, UnknownProperties {\n /** Index active value for Axis x */\n xIndex: number | null;\n /** Index active value for Axis y */\n yIndex: number | null;\n}\nexport type TooltipChartContext = {\n getTriggerProps: PropGetterFn;\n getPopperProps: PropGetterFn;\n};\n\nexport type TooltipTypeBase = {\n Trigger: typeof Popper.Trigger;\n Popper: typeof Popper.Popper;\n Title: typeof Box;\n Dot: IntergalacticD3Component<'div', BoxProps & { color?: string }, TooltipChartContext>;\n Footer: typeof Box;\n};\n\nexport type TooltipType<ChildrenRenderProps = {}, TooltipProps = {}> = (<\n Tag extends Intergalactic.Tag = typeof Box,\n>(\n props: Intergalactic.InternalTypings.PropsRenderingResultComponentProps<\n Tag,\n TooltipProps,\n ChildrenRenderProps & TooltipChartContext\n >,\n) => Intergalactic.InternalTypings.ComponentRenderingResults) &\n Intergalactic.InternalTypings.ComponentAdditive<\n Intergalactic.Tag,\n Intergalactic.Tag,\n TooltipProps\n > &\n TooltipTypeBase;\n\n/**\n * @deprecated Consider migration to better typed Bubble.Tooltip, HoverLine.Tooltip,\n * HoverRect.Tooltip, Donut.Tooltip, Radar.Tooltip,\n * ScatterPlot.Tooltip or Venn.Tooltip.\n *\n * Migration examples:\n * 1. `<Tooltip tag={HoverLine}>...</Tooltip>` => `<HoverLine.Tooltip>...</HoverLine.Tooltip>`\n * 2. `<Tooltip tag={HoverRect}>...</Tooltip>` => `<HoverRect.Tooltip>...</HoverRect.Tooltip>`\n * 3. `<Tooltip tag={Radar.Hover}>...</Tooltip>` => `<Radar.Tooltip>...</Radar.Tooltip>`\n * 4. `<Tooltip>...</Tooltip>` => `<Bubble.Tooltip>...</Bubble.Tooltip>`\n * 5. `<Tooltip>...</Tooltip>` => `<Donut.Tooltip>...</Donut.Tooltip>`\n * 6. `<Tooltip>...</Tooltip>` => `<ScatterPlot.Tooltip>...</ScatterPlot.Tooltip>`\n * 7. `<Tooltip>...</Tooltip>` => `<Venn.Tooltip>...</Venn.Tooltip>`\n */\ndeclare const Tooltip: TooltipType;\n\nexport default Tooltip;\n"],"mappings":""}
|
package/lib/es6/types/Venn.d.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Venn.d.js","names":[],"sources":["../../../src/types/Venn.d.ts"],"sourcesContent":["import { UnknownProperties } from '@semcore/core';\nimport { Context } from './context';\nimport { FadeInOutProps } from '@semcore/animation';\nimport { TooltipType } from './Tooltip';\nimport { IntergalacticD3Component } from './Plot';\nimport { PatternsConfig } from './Pattern';\n\n/** @deprecated */\nexport interface IVennProps extends VennProps, UnknownProperties {}\nexport type VennProps = Context &\n FadeInOutProps & {\n /**\n * Rotate sets in the chart\n * @default Math.PI / 2\n */\n orientation?: number;\n /**\n * The function for sorting sets inside the chart\n * @default (circle1, circle2) => circle2.radius - circle1.radius\n */\n orientationOrder?: (c1: number, c2: number) => number;\n /** Enables charts patterns that enhances charts accessibility */\n patterns?: PatternsConfig;\n /**\n * Fallback for minimum value radius\n * @default 6\n * */\n minRadius?: number;\n };\n\n/** @deprecated */\nexport interface ICircleProps extends CircleProps, UnknownProperties {}\nexport type CircleProps = Context & {\n /**\n * Name of the field in the data\n * */\n dataKey: string;\n /**\n * Human readable name of the circle\n * */\n name: string;\n /** Color circle\n @default #3AB011\n **/\n color?: string;\n /** Animation duration in ms\n * @default 500\n */\n duration?: number;\n /** Enables element transparency */\n transparent?: boolean;\n};\n\n/** @deprecated */\nexport interface IIntersectionProps extends IntersectionProps, UnknownProperties {}\nexport type IntersectionProps = Context &\n FadeInOutProps & {\n /**\n * Name of the field in the data\n * */\n dataKey: string;\n /**\n * Human readable name of the intersection\n * */\n name: string;\n /** Enables element transparency */\n transparent?: boolean;\n };\n\ndeclare const Venn: IntergalacticD3Component<'g', VennProps, Context> & {\n Circle: IntergalacticD3Component<'circle', CircleProps, Context>;\n Intersection: IntergalacticD3Component<'path', IntersectionProps, Context>;\n Tooltip: TooltipType<CircleProps>;\n};\n\nexport default Venn;\n"],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"context.d.js","names":[],"sources":["../../../src/types/context.d.ts"],"sourcesContent":["export type Context = {\n /** Data for graphic */\n data?: unknown;\n /** Scale for svg element */\n scale?: unknown[];\n};\n\n/** @deprecated */\nexport default interface IContext {\n /** Data for graphic */\n /** @deprecated */\n data?: any;\n /** Scale for svg element */\n /** @deprecated */\n scale?: any[];\n\n [key: string]: unknown;\n}\n"],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.js","names":["PlotEventEmitter","makeDataHintsContainer","default","Plot","ResponsiveContainer","Line","Bar","HorizontalBar","CompactHorizontalBar","GroupBar","StackBar","Area","StackedArea","Radar","Donut","Tooltip","ScatterPlot","Bubble","Venn","RadialTree","ChartLegend","ChartLegendTable","Chart","StackGroupBar"],"sources":["../../../src/types/index.d.ts"],"sourcesContent":["// Utils\n// @ts-ignore\nimport { interpolateValue as intValue, PlotEventEmitter } from './utils';\n\nexport declare const interpolateValue: typeof intValue;\nexport declare function minMax(data: any, key: string | number): any;\nexport declare function calculateBubbleDomain(\n data: Array<{ value: number; x: number; y: number }>,\n key: 'x' | 'y',\n range: [number, number],\n): [min: number, max: number];\nexport { PlotEventEmitter };\n\nexport { makeDataHintsContainer } from './a11y/hints';\n\n// Color\n/**\n * @deprecated\n * This export will be removed in the next major release.\n */\nexport declare const colors: { [key: string]: string };\n\nexport { default as Plot } from './Plot';\nexport * from './Plot';\n\nexport * from './Axis';\nexport * from './Hover';\n\nexport { default as ResponsiveContainer } from './ResponsiveContainer';\nexport * from './ResponsiveContainer';\n\nexport { default as Line } from './Line';\nexport * from './Line';\n\nexport { default as Bar } from './Bar';\nexport * from './Bar';\n\nexport { default as HorizontalBar } from './HorizontalBar';\nexport * from './HorizontalBar';\n\nexport { default as CompactHorizontalBar } from './CompactHorizontalBar';\nexport * from './CompactHorizontalBar';\n\nexport { default as GroupBar } from './GroupBar';\nexport * from './GroupBar';\n\nexport { default as StackBar } from './StackBar';\nexport * from './StackBar';\n\nexport { default as Area } from './Area';\nexport * from './Area';\n\nexport { default as StackedArea } from './StackedArea';\nexport * from './StackedArea';\n\nexport { default as Radar } from './Radar';\nexport * from './Radar';\n\nexport { default as Donut } from './Donut';\nexport * from './Donut';\n\nexport { default as Tooltip } from './Tooltip';\nexport * from './Tooltip';\n\nexport { default as ScatterPlot } from './ScatterPlot';\nexport * from './ScatterPlot';\n\nexport { default as Bubble } from './Bubble';\nexport * from './Bubble';\n\nexport * from './Reference';\n\nexport { default as Venn } from './Venn';\nexport * from './Venn';\n\n/** It becomes resolvable after building and moving file to lib dir */\n\n// @ts-ignore\nexport { default as RadialTree } from './RadialTree';\n\n// @ts-ignore\nexport * from './RadialTree';\n\n// @ts-ignore\nexport { ChartLegend, ChartLegendTable } from './component/ChartLegend';\n\n// @ts-ignore\nexport * from './component/ChartLegend/LegendFlex/LegendFlex.type';\n// @ts-ignore\nexport * from './component/ChartLegend/LegendTable/LegendTable.type';\n// @ts-ignore\nexport * from './component/ChartLegend/LegendItem/LegendItem.type';\n\n// @ts-ignore\nexport * from './Pattern';\n\nexport { default as Chart } from './component/Chart';\nexport * from './component/Chart/AbstractChart.type';\nexport * from './component/Chart/LineChart.type';\nexport * from './component/Chart/BarChart.type';\nexport * from './component/Chart/HistogramChart.type';\nexport * from './component/Chart/ScatterPlotChart.type';\nexport * from './component/Chart/AreaChart.type';\nexport * from './component/Chart/BubbleChart.type';\nexport * from './component/Chart/DonutChart.type';\nexport * from './component/Chart/VennChart.type';\nexport * from './component/Chart/RadarChart.type';\nexport * from './component/Chart/ScatterPlotChart.type';\nexport * from './component/Chart/CigaretteChart.type';\n\nexport { default as StackGroupBar } from './component/StackGroupBar/StackGroupBar';\n"],"mappings":"AAAA;AACA;AACA,SAAuCA,gBAAgB,QAAQ,SAAS;AASxE,SAASA,gBAAgB;AAEzB,SAASC,sBAAsB,QAAQ,cAAc;;AAErD;AACA;AACA;AACA;AACA;;AAGA,SAASC,OAAO,IAAIC,IAAI,QAAQ,QAAQ;AACxC,cAAc,QAAQ;AAEtB,cAAc,QAAQ;AACtB,cAAc,SAAS;AAEvB,SAASD,OAAO,IAAIE,mBAAmB,QAAQ,uBAAuB;AACtE,cAAc,uBAAuB;AAErC,SAASF,OAAO,IAAIG,IAAI,QAAQ,QAAQ;AACxC,cAAc,QAAQ;AAEtB,SAASH,OAAO,IAAII,GAAG,QAAQ,OAAO;AACtC,cAAc,OAAO;AAErB,SAASJ,OAAO,IAAIK,aAAa,QAAQ,iBAAiB;AAC1D,cAAc,iBAAiB;AAE/B,SAASL,OAAO,IAAIM,oBAAoB,QAAQ,wBAAwB;AACxE,cAAc,wBAAwB;AAEtC,SAASN,OAAO,IAAIO,QAAQ,QAAQ,YAAY;AAChD,cAAc,YAAY;AAE1B,SAASP,OAAO,IAAIQ,QAAQ,QAAQ,YAAY;AAChD,cAAc,YAAY;AAE1B,SAASR,OAAO,IAAIS,IAAI,QAAQ,QAAQ;AACxC,cAAc,QAAQ;AAEtB,SAAST,OAAO,IAAIU,WAAW,QAAQ,eAAe;AACtD,cAAc,eAAe;AAE7B,SAASV,OAAO,IAAIW,KAAK,QAAQ,SAAS;AAC1C,cAAc,SAAS;AAEvB,SAASX,OAAO,IAAIY,KAAK,QAAQ,SAAS;AAC1C,cAAc,SAAS;AAEvB,SAASZ,OAAO,IAAIa,OAAO,QAAQ,WAAW;AAC9C,cAAc,WAAW;AAEzB,SAASb,OAAO,IAAIc,WAAW,QAAQ,eAAe;AACtD,cAAc,eAAe;AAE7B,SAASd,OAAO,IAAIe,MAAM,QAAQ,UAAU;AAC5C,cAAc,UAAU;AAExB,cAAc,aAAa;AAE3B,SAASf,OAAO,IAAIgB,IAAI,QAAQ,QAAQ;AACxC,cAAc,QAAQ;;AAEtB;;AAEA;AACA,SAAShB,OAAO,IAAIiB,UAAU,QAAQ,cAAc;;AAEpD;AACA,cAAc,cAAc;;AAE5B;AACA,SAASC,WAAW,EAAEC,gBAAgB,QAAQ,yBAAyB;;AAEvE;AACA,cAAc,oDAAoD;AAClE;AACA,cAAc,sDAAsD;AACpE;AACA,cAAc,oDAAoD;;AAElE;AACA,cAAc,WAAW;AAEzB,SAASnB,OAAO,IAAIoB,KAAK,QAAQ,mBAAmB;AACpD,cAAc,sCAAsC;AACpD,cAAc,kCAAkC;AAChD,cAAc,iCAAiC;AAC/C,cAAc,uCAAuC;AACrD,cAAc,yCAAyC;AACvD,cAAc,kCAAkC;AAChD,cAAc,oCAAoC;AAClD,cAAc,mCAAmC;AACjD,cAAc,kCAAkC;AAChD,cAAc,mCAAmC;AACjD,cAAc,yCAAyC;AACvD,cAAc,uCAAuC;AAErD,SAASpB,OAAO,IAAIqB,aAAa,QAAQ,yCAAyC"}
|
package/lib/es6/utils.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"utils.js","names":["EventEmitter","extent","bisector","scaleQuantize","scaleBand","scaleSqrt","eventToPoint","event","svgRoot","node","currentTarget","target","rect","getBoundingClientRect","clientX","left","clientLeft","clientY","top","clientTop","invert","scale","value","range","domain","paddingOuter","step","slice","reverse","definedNullData","x","y","plot","definedData","undefined","scaleOfBandwidth","bandwidth","minMax","data","key","d","getNullData","defined","name","reduce","acc","i","push","_defineProperty","prev","next","defNext","find","_objectSpread","length","defPrev","getIndexFromData","Array","isArray","bisect","center","index","findIndex","keys","Object","map","item","interpolateValue","lastKeyIndex","console","warn","roundedPath","w","h","r","tl","arguments","tr","bl","br","result","concat","scaleToBand","band","memoize","func","results","_len","args","_key2","argsKey","join","apply","measureText","text","fontSize","span","document","createElement","style","_iterator","_createForOfIteratorHelper","split","_step","s","n","done","line","append","createTextNode","err","e","f","display","body","textWidth","offsetWidth","textHeight","offsetHeight","remove","Math","max","idCounter","uniqueId","prefix","Symbol","getChartDefaultColorName","getBubbleChartValueScale","z","_toConsumableArray","el","getScatterPlotRadius","valueKey","calculateBubbleDomain","miniestValue","min","maxestValue","_minMax","_minMax2","_slicedToArray","pixelRatio","abs","valueScale","minValueShift","maxValueShift","PlotEventEmitter"],"sources":["../../src/utils.ts"],"sourcesContent":["import EventEmitter from '@semcore/utils/lib/eventEmitter';\nimport { extent, bisector, Numeric } from 'd3-array';\nimport {\n scaleQuantize,\n ScaleIdentity,\n ScaleTime,\n ScaleContinuousNumeric,\n ScaleBand,\n ScalePoint,\n NumberValue,\n scaleBand,\n scaleSqrt,\n} from 'd3-scale';\nimport React from 'react';\n\nexport const eventToPoint = (event: React.MouseEvent<HTMLElement>, svgRoot: SVGElement) => {\n const node = (event.currentTarget || event.target) as HTMLElement;\n const rect = svgRoot.getBoundingClientRect();\n return [event.clientX - rect.left - node.clientLeft, event.clientY - rect.top - node.clientTop];\n};\n\ntype InvertableScale =\n | ScaleIdentity\n | ScaleBand<{}>\n | ScaleTime<unknown, unknown>\n | ScaleContinuousNumeric<unknown, unknown>;\nexport const invert = <Scale extends InvertableScale = InvertableScale>(\n scale: Scale,\n value: number,\n) => {\n if ('invert' in scale && scale.invert) return scale.invert(value);\n\n const range = scale.range() as [number, number];\n const domain = scale.domain();\n if ('paddingOuter' in scale) {\n range[0] += scale.paddingOuter() * scale.step();\n range[1] -= scale.paddingOuter() * scale.step();\n }\n\n return scaleQuantize()\n .domain((range[0] <= range[1] ? range : range.slice().reverse()) as NumberValue[])\n .range((range[0] <= range[1] ? domain : domain.slice().reverse()) as number[])(value);\n};\n\nexport const definedNullData = (x: number, y: number) => (plot: { [xOrY: number]: unknown }) =>\n plot[x] !== null && plot[y] !== null;\n\nexport const definedData = (x: number, y: number) => (plot: { [xOrY: number]: unknown }) =>\n plot[x] !== null && plot[x] !== undefined && plot[y] !== null && plot[y] !== undefined;\n\nexport const scaleOfBandwidth = <Scale extends ScaleBand<{}>>(scale: Scale, value: number) =>\n scale.bandwidth ? scale(value)! + scale.bandwidth() / 2 : scale(value);\n\nexport const minMax = <\n Key extends string = string,\n Data extends { [key: string]: Numeric | null | undefined }[] = {\n [key: string]: Numeric | null | undefined;\n }[],\n>(\n data: Data,\n key: Key,\n): [min: Data[0][Key], max: Data[0][Key]] => {\n if (typeof key === 'string') {\n return extent(data, (d) => d[key]) as any;\n }\n return extent(data, key) as any;\n};\n\nexport const getNullData = <\n Name extends string = string,\n Data extends { [name in Name]?: unknown | null } = {},\n>(\n data: Data[],\n defined: (data: Data) => boolean,\n name: Name,\n) =>\n data.reduce((acc, d, i, data) => {\n if (defined(d)) {\n acc.push({\n [name]: null,\n } as Data);\n } else {\n const prev = data[i - 1];\n const next = data[i + 1];\n\n if (i === 0) {\n const defNext = data.find(defined);\n acc.push({\n ...d,\n [name]: defNext ? defNext[name] : null,\n });\n }\n\n // prev\n if (prev && defined(prev)) {\n acc.push(prev);\n }\n\n // next\n if (next && defined(next)) {\n acc.push(next);\n }\n\n if (data.length - 1 === i) {\n const defPrev = data.slice().reverse().find(defined);\n acc.push({\n ...d,\n [name]: defPrev ? defPrev[name] : null,\n });\n }\n }\n return acc;\n }, [] as Data[]);\n\ntype IndexFromDataScale =\n | ScaleIdentity\n | ScaleTime<unknown, unknown>\n | ScaleContinuousNumeric<unknown, unknown>\n | ScaleBand<{}>\n | ScalePoint<{}>;\nexport const getIndexFromData = <\n Key extends string,\n Data extends {\n [key in Key]: number;\n } = { [key in Key]: number },\n Scale extends IndexFromDataScale = IndexFromDataScale,\n>(\n data: Data[],\n scale: Scale,\n key: Key,\n value: number,\n) => {\n // detect line chart\n if ('invert' in scale && typeof scale.invert === 'function' && Array.isArray(data)) {\n const bisect = bisector((d: { [key: string]: number }) => d[key]).center;\n return bisect(data, value);\n }\n // detect bar chart\n else if ('step' in scale && typeof scale.step !== 'undefined' && Array.isArray(data)) {\n const index = data.findIndex((d) => d[key] === value);\n return index >= 0 ? index : null;\n }\n // detect cigarette chart\n else if ('invert' in scale && typeof scale.invert === 'function' && !Array.isArray(data)) {\n const keys = Object.keys(data);\n const domain = keys.map((key, index) => {\n return keys.slice(0, index).reduce((acc, item) => {\n if (data[item] !== interpolateValue) {\n acc = acc + data[item];\n }\n\n return acc;\n }, 0);\n });\n\n let key = null;\n\n const lastKeyIndex = keys.length - 1;\n\n if (value > domain[lastKeyIndex]) {\n key = keys[lastKeyIndex];\n } else {\n for (let i = 0; i < lastKeyIndex; i++) {\n if (i === 0 && value < domain[i]) {\n break;\n }\n\n if (value > domain[i] && value < domain[i + 1]) {\n key = keys[i];\n break;\n }\n }\n }\n\n return key;\n } else {\n console.warn('[d3-chart/utils/getIndexFromData] encountered incompatible scale type');\n return null;\n }\n};\n\nexport const roundedPath = (\n x: number,\n y: number,\n w: number,\n h: number,\n r: number,\n tl = false,\n tr = false,\n bl = false,\n br = false,\n) => {\n let result = `M${x + r},${y}`;\n result += `h${w - 2 * r}`;\n if (tr) {\n result += `a${r},${r} 0 0 1 ${r},${r}`;\n } else {\n result += `h${r}`;\n result += `v${r}`;\n }\n result += `v${h - 2 * r}`;\n if (br) {\n result += `a${r},${r} 0 0 1 ${-r},${r}`;\n } else {\n result += `v${r}`;\n result += `h${-r}`;\n }\n result += `h${2 * r - w}`;\n if (bl) {\n result += `a${r},${r} 0 0 1 ${-r},${-r}`;\n } else {\n result += `h${-r}`;\n result += `v${-r}`;\n }\n result += `v${2 * r - h}`;\n if (tl) {\n result += `a${r},${r} 0 0 1 ${r},${-r}`;\n } else {\n result += `v${-r}`;\n result += `h${r}`;\n }\n result += 'z';\n return result;\n};\n\nexport const scaleToBand = (scale: ScaleBand<{}>) => {\n if ('bandwidth' in scale) {\n return scale;\n }\n\n const band = scaleBand()\n .range((scale as any).range())\n .domain((scale as any).domain());\n\n return band;\n};\n\nexport const memoize = <Func extends (...args: any[]) => any>(func: Func): Func => {\n const results: { [cacheKey: string]: any } = {};\n return ((...args: any[]) => {\n const argsKey = args.join(',');\n if (!results[argsKey]) {\n results[argsKey] = func(...args);\n }\n return results[argsKey];\n }) as Func;\n};\n\nexport const measureText = memoize((text: string, fontSize?: number) => {\n if (!text) return 0;\n\n const span = document.createElement('span');\n if (fontSize) {\n span.style.fontSize = `${fontSize}px`;\n }\n for (const line of text.split('\\n')) {\n span.append(document.createTextNode(line));\n span.append(document.createElement('br'));\n }\n span.style.display = 'inline-block';\n document.body.append(span);\n const textWidth = span.offsetWidth;\n const textHeight = span.offsetHeight;\n span.remove();\n return Math.max(textWidth, textHeight);\n});\n\nlet idCounter = 0;\nexport const uniqueId = (prefix = 'id-') => `${prefix}${idCounter++}`;\n\nexport const interpolateValue = Symbol('intergalactic-d3-chart-line-interpolate');\n\nexport const getChartDefaultColorName = (index: number) => {\n index++;\n if (index < 1) index = 1;\n if (index > 24) index %= 24;\n\n return `chart-palette-order-${index}`;\n};\n\nexport const getBubbleChartValueScale = (data: any[], key: string) => {\n const z = scaleSqrt()\n .domain([0, Math.max(...data.map((el) => el[key]))])\n .range([5.5, 50.5]);\n\n return z;\n};\n\nexport const getScatterPlotRadius = (valueKey?: string): number => {\n return valueKey !== undefined ? 12 : 5.5;\n};\n\ntype BubbleChartDataItem = {\n value: number;\n x: number;\n y: number;\n};\n\nexport const calculateBubbleDomain = (\n data: Array<BubbleChartDataItem>,\n key: 'x' | 'y',\n range: [number, number],\n): [min: number, max: number] => {\n const miniestValue = data.reduce(\n (acc, item) => {\n if (item[key] - item.value < acc.min) {\n acc.min = item[key] - item.value;\n acc.value = item.value;\n }\n return acc;\n },\n { value: data[0].value, min: data[0][key] - data[0].value },\n ).value;\n const maxestValue = data.reduce(\n (acc, item) => {\n if (item.value + item[key] > acc.max) {\n acc.max = item.value + item.x;\n acc.value = item.value;\n }\n return acc;\n },\n { value: data[0].value, max: data[0].value + data[0][key] },\n ).value;\n\n let [min, max] = minMax(data, key);\n\n const pixelRatio = Math.abs(max - min) / Math.abs(range[0] - range[1]);\n const valueScale = getBubbleChartValueScale(data, 'value');\n const minValueShift = valueScale(miniestValue) * pixelRatio;\n const maxValueShift = valueScale(maxestValue) * pixelRatio;\n min -= minValueShift * 2;\n max += maxValueShift * 2;\n\n return [min, max];\n};\n\ninterface PlotEventEmitterEmit {\n (event: 'setTooltipVisible', visible: boolean): void;\n (event: 'setTooltipPosition', x: number, y: number): void;\n}\ntype Unsubscribe = () => void;\ninterface PlotEventEmitterSubscribe {\n (event: 'setTooltipVisible', callback: (visible: boolean) => void): Unsubscribe;\n (event: 'setTooltipPosition', callback: (x: number, y: number) => void): Unsubscribe;\n}\nexport const PlotEventEmitter = EventEmitter as typeof EventEmitter<\n PlotEventEmitterEmit,\n PlotEventEmitterSubscribe\n>;\n"],"mappings":";;;;;AAAA,OAAOA,YAAY,MAAM,iCAAiC;AAC1D,SAASC,MAAM,EAAEC,QAAQ,QAAiB,UAAU;AACpD,SACEC,aAAa,EAObC,SAAS,EACTC,SAAS,QACJ,UAAU;AAGjB,OAAO,IAAMC,YAAY,GAAG,SAAfA,YAAYA,CAAIC,KAAoC,EAAEC,OAAmB,EAAK;EACzF,IAAMC,IAAI,GAAIF,KAAK,CAACG,aAAa,IAAIH,KAAK,CAACI,MAAsB;EACjE,IAAMC,IAAI,GAAGJ,OAAO,CAACK,qBAAqB,EAAE;EAC5C,OAAO,CAACN,KAAK,CAACO,OAAO,GAAGF,IAAI,CAACG,IAAI,GAAGN,IAAI,CAACO,UAAU,EAAET,KAAK,CAACU,OAAO,GAAGL,IAAI,CAACM,GAAG,GAAGT,IAAI,CAACU,SAAS,CAAC;AACjG,CAAC;AAOD,OAAO,IAAMC,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