@fluentui/react-charting 5.23.61 → 5.23.62
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.json +22 -1
- package/CHANGELOG.md +12 -2
- package/package.json +2 -1
- package/dist/react-charting.d.ts +0 -4557
- package/dist/react-charting.js +0 -1
- package/dist/react-charting.min.js +0 -1
- package/lib/AreaChart.d.ts +0 -1
- package/lib/AreaChart.js +0 -2
- package/lib/AreaChart.js.map +0 -1
- package/lib/CartesianChart.d.ts +0 -1
- package/lib/CartesianChart.js +0 -2
- package/lib/CartesianChart.js.map +0 -1
- package/lib/DeclarativeChart.d.ts +0 -1
- package/lib/DeclarativeChart.js +0 -2
- package/lib/DeclarativeChart.js.map +0 -1
- package/lib/DonutChart.d.ts +0 -1
- package/lib/DonutChart.js +0 -2
- package/lib/DonutChart.js.map +0 -1
- package/lib/GaugeChart.d.ts +0 -1
- package/lib/GaugeChart.js +0 -2
- package/lib/GaugeChart.js.map +0 -1
- package/lib/GroupedVerticalBarChart.d.ts +0 -1
- package/lib/GroupedVerticalBarChart.js +0 -2
- package/lib/GroupedVerticalBarChart.js.map +0 -1
- package/lib/HeatMapChart.d.ts +0 -1
- package/lib/HeatMapChart.js +0 -2
- package/lib/HeatMapChart.js.map +0 -1
- package/lib/HorizontalBarChart.d.ts +0 -1
- package/lib/HorizontalBarChart.js +0 -2
- package/lib/HorizontalBarChart.js.map +0 -1
- package/lib/HorizontalBarChartWithAxis.d.ts +0 -1
- package/lib/HorizontalBarChartWithAxis.js +0 -2
- package/lib/HorizontalBarChartWithAxis.js.map +0 -1
- package/lib/Legends.d.ts +0 -1
- package/lib/Legends.js +0 -2
- package/lib/Legends.js.map +0 -1
- package/lib/LineChart.d.ts +0 -1
- package/lib/LineChart.js +0 -2
- package/lib/LineChart.js.map +0 -1
- package/lib/PieChart.d.ts +0 -1
- package/lib/PieChart.js +0 -2
- package/lib/PieChart.js.map +0 -1
- package/lib/ResponsiveContainer.d.ts +0 -1
- package/lib/ResponsiveContainer.js +0 -2
- package/lib/ResponsiveContainer.js.map +0 -1
- package/lib/SankeyChart.d.ts +0 -1
- package/lib/SankeyChart.js +0 -2
- package/lib/SankeyChart.js.map +0 -1
- package/lib/Sparkline.d.ts +0 -1
- package/lib/Sparkline.js +0 -2
- package/lib/Sparkline.js.map +0 -1
- package/lib/StackedBarChart.d.ts +0 -1
- package/lib/StackedBarChart.js +0 -2
- package/lib/StackedBarChart.js.map +0 -1
- package/lib/Styling.d.ts +0 -2
- package/lib/Styling.js +0 -8
- package/lib/Styling.js.map +0 -1
- package/lib/TreeChart.d.ts +0 -1
- package/lib/TreeChart.js +0 -2
- package/lib/TreeChart.js.map +0 -1
- package/lib/Utilities.d.ts +0 -2
- package/lib/Utilities.js +0 -2
- package/lib/Utilities.js.map +0 -1
- package/lib/VerticalBarChart.d.ts +0 -1
- package/lib/VerticalBarChart.js +0 -2
- package/lib/VerticalBarChart.js.map +0 -1
- package/lib/VerticalStackedBarChart.d.ts +0 -1
- package/lib/VerticalStackedBarChart.js +0 -2
- package/lib/VerticalStackedBarChart.js.map +0 -1
- package/lib/components/AreaChart/AreaChart.base.d.ts +0 -111
- package/lib/components/AreaChart/AreaChart.base.js +0 -722
- package/lib/components/AreaChart/AreaChart.base.js.map +0 -1
- package/lib/components/AreaChart/AreaChart.d.ts +0 -7
- package/lib/components/AreaChart/AreaChart.js +0 -10
- package/lib/components/AreaChart/AreaChart.js.map +0 -1
- package/lib/components/AreaChart/AreaChart.styles.d.ts +0 -2
- package/lib/components/AreaChart/AreaChart.styles.js +0 -7
- package/lib/components/AreaChart/AreaChart.styles.js.map +0 -1
- package/lib/components/AreaChart/AreaChart.types.d.ts +0 -64
- package/lib/components/AreaChart/AreaChart.types.js +0 -2
- package/lib/components/AreaChart/AreaChart.types.js.map +0 -1
- package/lib/components/AreaChart/index.d.ts +0 -2
- package/lib/components/AreaChart/index.js +0 -3
- package/lib/components/AreaChart/index.js.map +0 -1
- package/lib/components/CommonComponents/CartesianChart.base.d.ts +0 -65
- package/lib/components/CommonComponents/CartesianChart.base.js +0 -609
- package/lib/components/CommonComponents/CartesianChart.base.js.map +0 -1
- package/lib/components/CommonComponents/CartesianChart.d.ts +0 -7
- package/lib/components/CommonComponents/CartesianChart.js +0 -9
- package/lib/components/CommonComponents/CartesianChart.js.map +0 -1
- package/lib/components/CommonComponents/CartesianChart.styles.d.ts +0 -2
- package/lib/components/CommonComponents/CartesianChart.styles.js +0 -175
- package/lib/components/CommonComponents/CartesianChart.styles.js.map +0 -1
- package/lib/components/CommonComponents/CartesianChart.types.d.ts +0 -556
- package/lib/components/CommonComponents/CartesianChart.types.js +0 -2
- package/lib/components/CommonComponents/CartesianChart.types.js.map +0 -1
- package/lib/components/CommonComponents/index.d.ts +0 -2
- package/lib/components/CommonComponents/index.js +0 -3
- package/lib/components/CommonComponents/index.js.map +0 -1
- package/lib/components/DeclarativeChart/DeclarativeChart.d.ts +0 -43
- package/lib/components/DeclarativeChart/DeclarativeChart.js +0 -180
- package/lib/components/DeclarativeChart/DeclarativeChart.js.map +0 -1
- package/lib/components/DeclarativeChart/PlotlySchema.d.ts +0 -1517
- package/lib/components/DeclarativeChart/PlotlySchema.js +0 -4
- package/lib/components/DeclarativeChart/PlotlySchema.js.map +0 -1
- package/lib/components/DeclarativeChart/PlotlySchemaAdapter.d.ts +0 -36
- package/lib/components/DeclarativeChart/PlotlySchemaAdapter.js +0 -739
- package/lib/components/DeclarativeChart/PlotlySchemaAdapter.js.map +0 -1
- package/lib/components/DeclarativeChart/index.d.ts +0 -1
- package/lib/components/DeclarativeChart/index.js +0 -2
- package/lib/components/DeclarativeChart/index.js.map +0 -1
- package/lib/components/DonutChart/Arc/Arc.d.ts +0 -22
- package/lib/components/DonutChart/Arc/Arc.js +0 -107
- package/lib/components/DonutChart/Arc/Arc.js.map +0 -1
- package/lib/components/DonutChart/Arc/Arc.styles.d.ts +0 -2
- package/lib/components/DonutChart/Arc/Arc.styles.js +0 -35
- package/lib/components/DonutChart/Arc/Arc.styles.js.map +0 -1
- package/lib/components/DonutChart/Arc/Arc.types.d.ts +0 -165
- package/lib/components/DonutChart/Arc/Arc.types.js +0 -2
- package/lib/components/DonutChart/Arc/Arc.types.js.map +0 -1
- package/lib/components/DonutChart/Arc/index.d.ts +0 -2
- package/lib/components/DonutChart/Arc/index.js +0 -3
- package/lib/components/DonutChart/Arc/index.js.map +0 -1
- package/lib/components/DonutChart/DonutChart.base.d.ts +0 -61
- package/lib/components/DonutChart/DonutChart.base.js +0 -301
- package/lib/components/DonutChart/DonutChart.base.js.map +0 -1
- package/lib/components/DonutChart/DonutChart.d.ts +0 -7
- package/lib/components/DonutChart/DonutChart.js +0 -10
- package/lib/components/DonutChart/DonutChart.js.map +0 -1
- package/lib/components/DonutChart/DonutChart.styles.d.ts +0 -2
- package/lib/components/DonutChart/DonutChart.styles.js +0 -30
- package/lib/components/DonutChart/DonutChart.styles.js.map +0 -1
- package/lib/components/DonutChart/DonutChart.types.d.ts +0 -90
- package/lib/components/DonutChart/DonutChart.types.js +0 -2
- package/lib/components/DonutChart/DonutChart.types.js.map +0 -1
- package/lib/components/DonutChart/Pie/Pie.d.ts +0 -15
- package/lib/components/DonutChart/Pie/Pie.js +0 -75
- package/lib/components/DonutChart/Pie/Pie.js.map +0 -1
- package/lib/components/DonutChart/Pie/Pie.styles.d.ts +0 -2
- package/lib/components/DonutChart/Pie/Pie.styles.js +0 -19
- package/lib/components/DonutChart/Pie/Pie.styles.js.map +0 -1
- package/lib/components/DonutChart/Pie/Pie.types.d.ts +0 -106
- package/lib/components/DonutChart/Pie/Pie.types.js +0 -2
- package/lib/components/DonutChart/Pie/Pie.types.js.map +0 -1
- package/lib/components/DonutChart/Pie/index.d.ts +0 -2
- package/lib/components/DonutChart/Pie/index.js +0 -3
- package/lib/components/DonutChart/Pie/index.js.map +0 -1
- package/lib/components/DonutChart/index.d.ts +0 -3
- package/lib/components/DonutChart/index.js +0 -4
- package/lib/components/DonutChart/index.js.map +0 -1
- package/lib/components/GaugeChart/GaugeChart.base.d.ts +0 -82
- package/lib/components/GaugeChart/GaugeChart.base.js +0 -472
- package/lib/components/GaugeChart/GaugeChart.base.js.map +0 -1
- package/lib/components/GaugeChart/GaugeChart.d.ts +0 -7
- package/lib/components/GaugeChart/GaugeChart.js +0 -9
- package/lib/components/GaugeChart/GaugeChart.js.map +0 -1
- package/lib/components/GaugeChart/GaugeChart.styles.d.ts +0 -2
- package/lib/components/GaugeChart/GaugeChart.styles.js +0 -129
- package/lib/components/GaugeChart/GaugeChart.styles.js.map +0 -1
- package/lib/components/GaugeChart/GaugeChart.types.d.ts +0 -273
- package/lib/components/GaugeChart/GaugeChart.types.js +0 -17
- package/lib/components/GaugeChart/GaugeChart.types.js.map +0 -1
- package/lib/components/GaugeChart/index.d.ts +0 -2
- package/lib/components/GaugeChart/index.js +0 -3
- package/lib/components/GaugeChart/index.js.map +0 -1
- package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.d.ts +0 -80
- package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +0 -495
- package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +0 -1
- package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.d.ts +0 -7
- package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js +0 -10
- package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js.map +0 -1
- package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.d.ts +0 -2
- package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js +0 -17
- package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js.map +0 -1
- package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.d.ts +0 -126
- package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js +0 -2
- package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js.map +0 -1
- package/lib/components/GroupedVerticalBarChart/index.d.ts +0 -2
- package/lib/components/GroupedVerticalBarChart/index.js +0 -3
- package/lib/components/GroupedVerticalBarChart/index.js.map +0 -1
- package/lib/components/HeatMapChart/HeatMapChart.base.d.ts +0 -160
- package/lib/components/HeatMapChart/HeatMapChart.base.js +0 -597
- package/lib/components/HeatMapChart/HeatMapChart.base.js.map +0 -1
- package/lib/components/HeatMapChart/HeatMapChart.d.ts +0 -7
- package/lib/components/HeatMapChart/HeatMapChart.js +0 -9
- package/lib/components/HeatMapChart/HeatMapChart.js.map +0 -1
- package/lib/components/HeatMapChart/HeatMapChart.styles.d.ts +0 -2
- package/lib/components/HeatMapChart/HeatMapChart.styles.js +0 -23
- package/lib/components/HeatMapChart/HeatMapChart.styles.js.map +0 -1
- package/lib/components/HeatMapChart/HeatMapChart.types.d.ts +0 -130
- package/lib/components/HeatMapChart/HeatMapChart.types.js +0 -2
- package/lib/components/HeatMapChart/HeatMapChart.types.js.map +0 -1
- package/lib/components/HeatMapChart/index.d.ts +0 -2
- package/lib/components/HeatMapChart/index.js +0 -3
- package/lib/components/HeatMapChart/index.js.map +0 -1
- package/lib/components/HorizontalBarChart/HorizontalBarChart.base.d.ts +0 -47
- package/lib/components/HorizontalBarChart/HorizontalBarChart.base.js +0 -293
- package/lib/components/HorizontalBarChart/HorizontalBarChart.base.js.map +0 -1
- package/lib/components/HorizontalBarChart/HorizontalBarChart.d.ts +0 -7
- package/lib/components/HorizontalBarChart/HorizontalBarChart.js +0 -10
- package/lib/components/HorizontalBarChart/HorizontalBarChart.js.map +0 -1
- package/lib/components/HorizontalBarChart/HorizontalBarChart.styles.d.ts +0 -2
- package/lib/components/HorizontalBarChart/HorizontalBarChart.styles.js +0 -66
- package/lib/components/HorizontalBarChart/HorizontalBarChart.styles.js.map +0 -1
- package/lib/components/HorizontalBarChart/HorizontalBarChart.types.d.ts +0 -198
- package/lib/components/HorizontalBarChart/HorizontalBarChart.types.js +0 -9
- package/lib/components/HorizontalBarChart/HorizontalBarChart.types.js.map +0 -1
- package/lib/components/HorizontalBarChart/index.d.ts +0 -3
- package/lib/components/HorizontalBarChart/index.js +0 -4
- package/lib/components/HorizontalBarChart/index.js.map +0 -1
- package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.d.ts +0 -76
- package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js +0 -601
- package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js.map +0 -1
- package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.d.ts +0 -7
- package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js +0 -10
- package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js.map +0 -1
- package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.d.ts +0 -2
- package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.js +0 -12
- package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.js.map +0 -1
- package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.d.ts +0 -122
- package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js +0 -2
- package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js.map +0 -1
- package/lib/components/HorizontalBarChartWithAxis/index.d.ts +0 -2
- package/lib/components/HorizontalBarChartWithAxis/index.js +0 -3
- package/lib/components/HorizontalBarChartWithAxis/index.js.map +0 -1
- package/lib/components/Legends/Legends.base.d.ts +0 -50
- package/lib/components/Legends/Legends.base.js +0 -329
- package/lib/components/Legends/Legends.base.js.map +0 -1
- package/lib/components/Legends/Legends.d.ts +0 -7
- package/lib/components/Legends/Legends.js +0 -9
- package/lib/components/Legends/Legends.js.map +0 -1
- package/lib/components/Legends/Legends.styles.d.ts +0 -10
- package/lib/components/Legends/Legends.styles.js +0 -120
- package/lib/components/Legends/Legends.styles.js.map +0 -1
- package/lib/components/Legends/Legends.types.d.ts +0 -259
- package/lib/components/Legends/Legends.types.js +0 -2
- package/lib/components/Legends/Legends.types.js.map +0 -1
- package/lib/components/Legends/index.d.ts +0 -3
- package/lib/components/Legends/index.js +0 -4
- package/lib/components/Legends/index.js.map +0 -1
- package/lib/components/Legends/shape.d.ts +0 -9
- package/lib/components/Legends/shape.js +0 -24
- package/lib/components/Legends/shape.js.map +0 -1
- package/lib/components/LineChart/LineChart.base.d.ts +0 -105
- package/lib/components/LineChart/LineChart.base.js +0 -966
- package/lib/components/LineChart/LineChart.base.js.map +0 -1
- package/lib/components/LineChart/LineChart.d.ts +0 -7
- package/lib/components/LineChart/LineChart.js +0 -10
- package/lib/components/LineChart/LineChart.js.map +0 -1
- package/lib/components/LineChart/LineChart.styles.d.ts +0 -2
- package/lib/components/LineChart/LineChart.styles.js +0 -7
- package/lib/components/LineChart/LineChart.styles.js.map +0 -1
- package/lib/components/LineChart/LineChart.types.d.ts +0 -103
- package/lib/components/LineChart/LineChart.types.js +0 -2
- package/lib/components/LineChart/LineChart.types.js.map +0 -1
- package/lib/components/LineChart/eventAnnotation/EventAnnotation.d.ts +0 -12
- package/lib/components/LineChart/eventAnnotation/EventAnnotation.js +0 -90
- package/lib/components/LineChart/eventAnnotation/EventAnnotation.js.map +0 -1
- package/lib/components/LineChart/eventAnnotation/LabelLink.d.ts +0 -24
- package/lib/components/LineChart/eventAnnotation/LabelLink.js +0 -40
- package/lib/components/LineChart/eventAnnotation/LabelLink.js.map +0 -1
- package/lib/components/LineChart/eventAnnotation/Textbox.d.ts +0 -13
- package/lib/components/LineChart/eventAnnotation/Textbox.js +0 -38
- package/lib/components/LineChart/eventAnnotation/Textbox.js.map +0 -1
- package/lib/components/LineChart/index.d.ts +0 -3
- package/lib/components/LineChart/index.js +0 -4
- package/lib/components/LineChart/index.js.map +0 -1
- package/lib/components/PieChart/Arc/Arc.d.ts +0 -17
- package/lib/components/PieChart/Arc/Arc.js +0 -89
- package/lib/components/PieChart/Arc/Arc.js.map +0 -1
- package/lib/components/PieChart/Arc/Arc.styles.d.ts +0 -3
- package/lib/components/PieChart/Arc/Arc.styles.js +0 -11
- package/lib/components/PieChart/Arc/Arc.styles.js.map +0 -1
- package/lib/components/PieChart/Arc/Arc.types.d.ts +0 -73
- package/lib/components/PieChart/Arc/Arc.types.js +0 -2
- package/lib/components/PieChart/Arc/Arc.types.js.map +0 -1
- package/lib/components/PieChart/Arc/index.d.ts +0 -2
- package/lib/components/PieChart/Arc/index.js +0 -3
- package/lib/components/PieChart/Arc/index.js.map +0 -1
- package/lib/components/PieChart/Pie/Pie.d.ts +0 -10
- package/lib/components/PieChart/Pie/Pie.js +0 -45
- package/lib/components/PieChart/Pie/Pie.js.map +0 -1
- package/lib/components/PieChart/Pie/Pie.styles.d.ts +0 -2
- package/lib/components/PieChart/Pie/Pie.styles.js +0 -6
- package/lib/components/PieChart/Pie/Pie.styles.js.map +0 -1
- package/lib/components/PieChart/Pie/Pie.types.d.ts +0 -47
- package/lib/components/PieChart/Pie/Pie.types.js +0 -2
- package/lib/components/PieChart/Pie/Pie.types.js.map +0 -1
- package/lib/components/PieChart/Pie/index.d.ts +0 -2
- package/lib/components/PieChart/Pie/index.js +0 -3
- package/lib/components/PieChart/Pie/index.js.map +0 -1
- package/lib/components/PieChart/PieChart.base.d.ts +0 -10
- package/lib/components/PieChart/PieChart.base.js +0 -46
- package/lib/components/PieChart/PieChart.base.js.map +0 -1
- package/lib/components/PieChart/PieChart.d.ts +0 -7
- package/lib/components/PieChart/PieChart.js +0 -10
- package/lib/components/PieChart/PieChart.js.map +0 -1
- package/lib/components/PieChart/PieChart.styles.d.ts +0 -2
- package/lib/components/PieChart/PieChart.styles.js +0 -29
- package/lib/components/PieChart/PieChart.styles.js.map +0 -1
- package/lib/components/PieChart/PieChart.types.d.ts +0 -75
- package/lib/components/PieChart/PieChart.types.js +0 -2
- package/lib/components/PieChart/PieChart.types.js.map +0 -1
- package/lib/components/PieChart/index.d.ts +0 -2
- package/lib/components/PieChart/index.js +0 -3
- package/lib/components/PieChart/index.js.map +0 -1
- package/lib/components/ResponsiveContainer/ResponsiveContainer.d.ts +0 -7
- package/lib/components/ResponsiveContainer/ResponsiveContainer.js +0 -83
- package/lib/components/ResponsiveContainer/ResponsiveContainer.js.map +0 -1
- package/lib/components/ResponsiveContainer/ResponsiveContainer.types.d.ts +0 -52
- package/lib/components/ResponsiveContainer/ResponsiveContainer.types.js +0 -2
- package/lib/components/ResponsiveContainer/ResponsiveContainer.types.js.map +0 -1
- package/lib/components/ResponsiveContainer/index.d.ts +0 -3
- package/lib/components/ResponsiveContainer/index.js +0 -4
- package/lib/components/ResponsiveContainer/index.js.map +0 -1
- package/lib/components/ResponsiveContainer/withResponsiveContainer.d.ts +0 -7
- package/lib/components/ResponsiveContainer/withResponsiveContainer.js +0 -17
- package/lib/components/ResponsiveContainer/withResponsiveContainer.js.map +0 -1
- package/lib/components/SankeyChart/SankeyChart.base.d.ts +0 -91
- package/lib/components/SankeyChart/SankeyChart.base.js +0 -919
- package/lib/components/SankeyChart/SankeyChart.base.js.map +0 -1
- package/lib/components/SankeyChart/SankeyChart.d.ts +0 -7
- package/lib/components/SankeyChart/SankeyChart.js +0 -10
- package/lib/components/SankeyChart/SankeyChart.js.map +0 -1
- package/lib/components/SankeyChart/SankeyChart.styles.d.ts +0 -2
- package/lib/components/SankeyChart/SankeyChart.styles.js +0 -59
- package/lib/components/SankeyChart/SankeyChart.styles.js.map +0 -1
- package/lib/components/SankeyChart/SankeyChart.types.d.ts +0 -157
- package/lib/components/SankeyChart/SankeyChart.types.js +0 -2
- package/lib/components/SankeyChart/SankeyChart.types.js.map +0 -1
- package/lib/components/SankeyChart/index.d.ts +0 -2
- package/lib/components/SankeyChart/index.js +0 -3
- package/lib/components/SankeyChart/index.js.map +0 -1
- package/lib/components/Sparkline/Sparkline.base.d.ts +0 -23
- package/lib/components/Sparkline/Sparkline.base.js +0 -86
- package/lib/components/Sparkline/Sparkline.base.js.map +0 -1
- package/lib/components/Sparkline/Sparkline.d.ts +0 -7
- package/lib/components/Sparkline/Sparkline.js +0 -10
- package/lib/components/Sparkline/Sparkline.js.map +0 -1
- package/lib/components/Sparkline/Sparkline.styles.d.ts +0 -2
- package/lib/components/Sparkline/Sparkline.styles.js +0 -10
- package/lib/components/Sparkline/Sparkline.styles.js.map +0 -1
- package/lib/components/Sparkline/Sparkline.types.d.ts +0 -59
- package/lib/components/Sparkline/Sparkline.types.js +0 -2
- package/lib/components/Sparkline/Sparkline.types.js.map +0 -1
- package/lib/components/Sparkline/index.d.ts +0 -2
- package/lib/components/Sparkline/index.js +0 -3
- package/lib/components/Sparkline/index.js.map +0 -1
- package/lib/components/StackedBarChart/MultiStackedBarChart.base.d.ts +0 -70
- package/lib/components/StackedBarChart/MultiStackedBarChart.base.js +0 -437
- package/lib/components/StackedBarChart/MultiStackedBarChart.base.js.map +0 -1
- package/lib/components/StackedBarChart/MultiStackedBarChart.d.ts +0 -7
- package/lib/components/StackedBarChart/MultiStackedBarChart.js +0 -10
- package/lib/components/StackedBarChart/MultiStackedBarChart.js.map +0 -1
- package/lib/components/StackedBarChart/MultiStackedBarChart.styles.d.ts +0 -2
- package/lib/components/StackedBarChart/MultiStackedBarChart.styles.js +0 -86
- package/lib/components/StackedBarChart/MultiStackedBarChart.styles.js.map +0 -1
- package/lib/components/StackedBarChart/MultiStackedBarChart.types.d.ts +0 -223
- package/lib/components/StackedBarChart/MultiStackedBarChart.types.js +0 -9
- package/lib/components/StackedBarChart/MultiStackedBarChart.types.js.map +0 -1
- package/lib/components/StackedBarChart/StackedBarChart.base.d.ts +0 -63
- package/lib/components/StackedBarChart/StackedBarChart.base.js +0 -366
- package/lib/components/StackedBarChart/StackedBarChart.base.js.map +0 -1
- package/lib/components/StackedBarChart/StackedBarChart.d.ts +0 -7
- package/lib/components/StackedBarChart/StackedBarChart.js +0 -10
- package/lib/components/StackedBarChart/StackedBarChart.js.map +0 -1
- package/lib/components/StackedBarChart/StackedBarChart.styles.d.ts +0 -2
- package/lib/components/StackedBarChart/StackedBarChart.styles.js +0 -103
- package/lib/components/StackedBarChart/StackedBarChart.styles.js.map +0 -1
- package/lib/components/StackedBarChart/StackedBarChart.types.d.ts +0 -232
- package/lib/components/StackedBarChart/StackedBarChart.types.js +0 -2
- package/lib/components/StackedBarChart/StackedBarChart.types.js.map +0 -1
- package/lib/components/StackedBarChart/index.d.ts +0 -5
- package/lib/components/StackedBarChart/index.js +0 -6
- package/lib/components/StackedBarChart/index.js.map +0 -1
- package/lib/components/TreeChart/TreeChart.base.d.ts +0 -18
- package/lib/components/TreeChart/TreeChart.base.js +0 -321
- package/lib/components/TreeChart/TreeChart.base.js.map +0 -1
- package/lib/components/TreeChart/TreeChart.d.ts +0 -7
- package/lib/components/TreeChart/TreeChart.js +0 -9
- package/lib/components/TreeChart/TreeChart.js.map +0 -1
- package/lib/components/TreeChart/TreeChart.styles.d.ts +0 -2
- package/lib/components/TreeChart/TreeChart.styles.js +0 -29
- package/lib/components/TreeChart/TreeChart.styles.js.map +0 -1
- package/lib/components/TreeChart/TreeChart.types.d.ts +0 -216
- package/lib/components/TreeChart/TreeChart.types.js +0 -29
- package/lib/components/TreeChart/TreeChart.types.js.map +0 -1
- package/lib/components/TreeChart/index.d.ts +0 -2
- package/lib/components/TreeChart/index.js +0 -3
- package/lib/components/TreeChart/index.js.map +0 -1
- package/lib/components/VerticalBarChart/VerticalBarChart.base.d.ts +0 -94
- package/lib/components/VerticalBarChart/VerticalBarChart.base.js +0 -880
- package/lib/components/VerticalBarChart/VerticalBarChart.base.js.map +0 -1
- package/lib/components/VerticalBarChart/VerticalBarChart.d.ts +0 -7
- package/lib/components/VerticalBarChart/VerticalBarChart.js +0 -10
- package/lib/components/VerticalBarChart/VerticalBarChart.js.map +0 -1
- package/lib/components/VerticalBarChart/VerticalBarChart.styles.d.ts +0 -2
- package/lib/components/VerticalBarChart/VerticalBarChart.styles.js +0 -28
- package/lib/components/VerticalBarChart/VerticalBarChart.styles.js.map +0 -1
- package/lib/components/VerticalBarChart/VerticalBarChart.types.d.ts +0 -160
- package/lib/components/VerticalBarChart/VerticalBarChart.types.js +0 -2
- package/lib/components/VerticalBarChart/VerticalBarChart.types.js.map +0 -1
- package/lib/components/VerticalBarChart/index.d.ts +0 -2
- package/lib/components/VerticalBarChart/index.js +0 -3
- package/lib/components/VerticalBarChart/index.js.map +0 -1
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.d.ts +0 -99
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +0 -816
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +0 -1
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.d.ts +0 -7
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.js +0 -10
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.js.map +0 -1
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.d.ts +0 -2
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js +0 -18
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js.map +0 -1
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.types.d.ts +0 -187
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js +0 -2
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js.map +0 -1
- package/lib/components/VerticalStackedBarChart/index.d.ts +0 -2
- package/lib/components/VerticalStackedBarChart/index.js +0 -3
- package/lib/components/VerticalStackedBarChart/index.js.map +0 -1
- package/lib/index.d.ts +0 -44
- package/lib/index.js +0 -24
- package/lib/index.js.map +0 -1
- package/lib/types/IDataPoint.d.ts +0 -736
- package/lib/types/IDataPoint.js +0 -2
- package/lib/types/IDataPoint.js.map +0 -1
- package/lib/types/IEventAnnotation.d.ts +0 -6
- package/lib/types/IEventAnnotation.js +0 -2
- package/lib/types/IEventAnnotation.js.map +0 -1
- package/lib/types/ILegendDataItem.d.ts +0 -10
- package/lib/types/ILegendDataItem.js +0 -2
- package/lib/types/ILegendDataItem.js.map +0 -1
- package/lib/types/index.d.ts +0 -2
- package/lib/types/index.js +0 -3
- package/lib/types/index.js.map +0 -1
- package/lib/utilities/ChartHoverCard/ChartHoverCard.base.d.ts +0 -6
- package/lib/utilities/ChartHoverCard/ChartHoverCard.base.js +0 -38
- package/lib/utilities/ChartHoverCard/ChartHoverCard.base.js.map +0 -1
- package/lib/utilities/ChartHoverCard/ChartHoverCard.d.ts +0 -3
- package/lib/utilities/ChartHoverCard/ChartHoverCard.js +0 -6
- package/lib/utilities/ChartHoverCard/ChartHoverCard.js.map +0 -1
- package/lib/utilities/ChartHoverCard/ChartHoverCard.styles.d.ts +0 -2
- package/lib/utilities/ChartHoverCard/ChartHoverCard.styles.js +0 -98
- package/lib/utilities/ChartHoverCard/ChartHoverCard.styles.js.map +0 -1
- package/lib/utilities/ChartHoverCard/ChartHoverCard.types.d.ts +0 -105
- package/lib/utilities/ChartHoverCard/ChartHoverCard.types.js +0 -2
- package/lib/utilities/ChartHoverCard/ChartHoverCard.types.js.map +0 -1
- package/lib/utilities/ChartHoverCard/index.d.ts +0 -3
- package/lib/utilities/ChartHoverCard/index.js +0 -4
- package/lib/utilities/ChartHoverCard/index.js.map +0 -1
- package/lib/utilities/FocusableTooltipText.d.ts +0 -27
- package/lib/utilities/FocusableTooltipText.js +0 -54
- package/lib/utilities/FocusableTooltipText.js.map +0 -1
- package/lib/utilities/SVGTooltipText.d.ts +0 -110
- package/lib/utilities/SVGTooltipText.js +0 -192
- package/lib/utilities/SVGTooltipText.js.map +0 -1
- package/lib/utilities/colors.d.ts +0 -52
- package/lib/utilities/colors.js +0 -154
- package/lib/utilities/colors.js.map +0 -1
- package/lib/utilities/gradients.d.ts +0 -30
- package/lib/utilities/gradients.js +0 -173
- package/lib/utilities/gradients.js.map +0 -1
- package/lib/utilities/image-export-utils.d.ts +0 -13
- package/lib/utilities/image-export-utils.js +0 -238
- package/lib/utilities/image-export-utils.js.map +0 -1
- package/lib/utilities/index.d.ts +0 -5
- package/lib/utilities/index.js +0 -6
- package/lib/utilities/index.js.map +0 -1
- package/lib/utilities/locale-util.d.ts +0 -3
- package/lib/utilities/locale-util.js +0 -18
- package/lib/utilities/locale-util.js.map +0 -1
- package/lib/utilities/test-data.d.ts +0 -43
- package/lib/utilities/test-data.js +0 -262
- package/lib/utilities/test-data.js.map +0 -1
- package/lib/utilities/utilities.d.ts +0 -418
- package/lib/utilities/utilities.js +0 -1224
- package/lib/utilities/utilities.js.map +0 -1
- package/lib/utilities/vbc-utils.d.ts +0 -2
- package/lib/utilities/vbc-utils.js +0 -31
- package/lib/utilities/vbc-utils.js.map +0 -1
- package/lib/version.d.ts +0 -1
- package/lib/version.js +0 -5
- package/lib/version.js.map +0 -1
- package/lib-amd/AreaChart.d.ts +0 -1
- package/lib-amd/AreaChart.js +0 -6
- package/lib-amd/AreaChart.js.map +0 -1
- package/lib-amd/CartesianChart.d.ts +0 -1
- package/lib-amd/CartesianChart.js +0 -6
- package/lib-amd/CartesianChart.js.map +0 -1
- package/lib-amd/DeclarativeChart.d.ts +0 -1
- package/lib-amd/DeclarativeChart.js +0 -6
- package/lib-amd/DeclarativeChart.js.map +0 -1
- package/lib-amd/DonutChart.d.ts +0 -1
- package/lib-amd/DonutChart.js +0 -6
- package/lib-amd/DonutChart.js.map +0 -1
- package/lib-amd/GaugeChart.d.ts +0 -1
- package/lib-amd/GaugeChart.js +0 -6
- package/lib-amd/GaugeChart.js.map +0 -1
- package/lib-amd/GroupedVerticalBarChart.d.ts +0 -1
- package/lib-amd/GroupedVerticalBarChart.js +0 -6
- package/lib-amd/GroupedVerticalBarChart.js.map +0 -1
- package/lib-amd/HeatMapChart.d.ts +0 -1
- package/lib-amd/HeatMapChart.js +0 -6
- package/lib-amd/HeatMapChart.js.map +0 -1
- package/lib-amd/HorizontalBarChart.d.ts +0 -1
- package/lib-amd/HorizontalBarChart.js +0 -6
- package/lib-amd/HorizontalBarChart.js.map +0 -1
- package/lib-amd/HorizontalBarChartWithAxis.d.ts +0 -1
- package/lib-amd/HorizontalBarChartWithAxis.js +0 -6
- package/lib-amd/HorizontalBarChartWithAxis.js.map +0 -1
- package/lib-amd/Legends.d.ts +0 -1
- package/lib-amd/Legends.js +0 -6
- package/lib-amd/Legends.js.map +0 -1
- package/lib-amd/LineChart.d.ts +0 -1
- package/lib-amd/LineChart.js +0 -6
- package/lib-amd/LineChart.js.map +0 -1
- package/lib-amd/PieChart.d.ts +0 -1
- package/lib-amd/PieChart.js +0 -6
- package/lib-amd/PieChart.js.map +0 -1
- package/lib-amd/ResponsiveContainer.d.ts +0 -1
- package/lib-amd/ResponsiveContainer.js +0 -6
- package/lib-amd/ResponsiveContainer.js.map +0 -1
- package/lib-amd/SankeyChart.d.ts +0 -1
- package/lib-amd/SankeyChart.js +0 -6
- package/lib-amd/SankeyChart.js.map +0 -1
- package/lib-amd/Sparkline.d.ts +0 -1
- package/lib-amd/Sparkline.js +0 -6
- package/lib-amd/Sparkline.js.map +0 -1
- package/lib-amd/StackedBarChart.d.ts +0 -1
- package/lib-amd/StackedBarChart.js +0 -6
- package/lib-amd/StackedBarChart.js.map +0 -1
- package/lib-amd/Styling.d.ts +0 -2
- package/lib-amd/Styling.js +0 -75
- package/lib-amd/Styling.js.map +0 -1
- package/lib-amd/TreeChart.d.ts +0 -1
- package/lib-amd/TreeChart.js +0 -6
- package/lib-amd/TreeChart.js.map +0 -1
- package/lib-amd/Utilities.d.ts +0 -2
- package/lib-amd/Utilities.js +0 -174
- package/lib-amd/Utilities.js.map +0 -1
- package/lib-amd/VerticalBarChart.d.ts +0 -1
- package/lib-amd/VerticalBarChart.js +0 -6
- package/lib-amd/VerticalBarChart.js.map +0 -1
- package/lib-amd/VerticalStackedBarChart.d.ts +0 -1
- package/lib-amd/VerticalStackedBarChart.js +0 -6
- package/lib-amd/VerticalStackedBarChart.js.map +0 -1
- package/lib-amd/components/AreaChart/AreaChart.base.d.ts +0 -111
- package/lib-amd/components/AreaChart/AreaChart.base.js +0 -714
- package/lib-amd/components/AreaChart/AreaChart.base.js.map +0 -1
- package/lib-amd/components/AreaChart/AreaChart.d.ts +0 -7
- package/lib-amd/components/AreaChart/AreaChart.js +0 -12
- package/lib-amd/components/AreaChart/AreaChart.js.map +0 -1
- package/lib-amd/components/AreaChart/AreaChart.styles.d.ts +0 -2
- package/lib-amd/components/AreaChart/AreaChart.styles.js +0 -12
- package/lib-amd/components/AreaChart/AreaChart.styles.js.map +0 -1
- package/lib-amd/components/AreaChart/AreaChart.types.d.ts +0 -64
- package/lib-amd/components/AreaChart/AreaChart.types.js +0 -5
- package/lib-amd/components/AreaChart/AreaChart.types.js.map +0 -1
- package/lib-amd/components/AreaChart/index.d.ts +0 -2
- package/lib-amd/components/AreaChart/index.js +0 -7
- package/lib-amd/components/AreaChart/index.js.map +0 -1
- package/lib-amd/components/CommonComponents/CartesianChart.base.d.ts +0 -65
- package/lib-amd/components/CommonComponents/CartesianChart.base.js +0 -605
- package/lib-amd/components/CommonComponents/CartesianChart.base.js.map +0 -1
- package/lib-amd/components/CommonComponents/CartesianChart.d.ts +0 -7
- package/lib-amd/components/CommonComponents/CartesianChart.js +0 -11
- package/lib-amd/components/CommonComponents/CartesianChart.js.map +0 -1
- package/lib-amd/components/CommonComponents/CartesianChart.styles.d.ts +0 -2
- package/lib-amd/components/CommonComponents/CartesianChart.styles.js +0 -178
- package/lib-amd/components/CommonComponents/CartesianChart.styles.js.map +0 -1
- package/lib-amd/components/CommonComponents/CartesianChart.types.d.ts +0 -556
- package/lib-amd/components/CommonComponents/CartesianChart.types.js +0 -5
- package/lib-amd/components/CommonComponents/CartesianChart.types.js.map +0 -1
- package/lib-amd/components/CommonComponents/index.d.ts +0 -2
- package/lib-amd/components/CommonComponents/index.js +0 -7
- package/lib-amd/components/CommonComponents/index.js.map +0 -1
- package/lib-amd/components/DeclarativeChart/DeclarativeChart.d.ts +0 -43
- package/lib-amd/components/DeclarativeChart/DeclarativeChart.js +0 -169
- package/lib-amd/components/DeclarativeChart/DeclarativeChart.js.map +0 -1
- package/lib-amd/components/DeclarativeChart/PlotlySchema.d.ts +0 -1517
- package/lib-amd/components/DeclarativeChart/PlotlySchema.js +0 -7
- package/lib-amd/components/DeclarativeChart/PlotlySchema.js.map +0 -1
- package/lib-amd/components/DeclarativeChart/PlotlySchemaAdapter.d.ts +0 -36
- package/lib-amd/components/DeclarativeChart/PlotlySchemaAdapter.js +0 -754
- package/lib-amd/components/DeclarativeChart/PlotlySchemaAdapter.js.map +0 -1
- package/lib-amd/components/DeclarativeChart/index.d.ts +0 -1
- package/lib-amd/components/DeclarativeChart/index.js +0 -6
- package/lib-amd/components/DeclarativeChart/index.js.map +0 -1
- package/lib-amd/components/DonutChart/Arc/Arc.d.ts +0 -22
- package/lib-amd/components/DonutChart/Arc/Arc.js +0 -105
- package/lib-amd/components/DonutChart/Arc/Arc.js.map +0 -1
- package/lib-amd/components/DonutChart/Arc/Arc.styles.d.ts +0 -2
- package/lib-amd/components/DonutChart/Arc/Arc.styles.js +0 -40
- package/lib-amd/components/DonutChart/Arc/Arc.styles.js.map +0 -1
- package/lib-amd/components/DonutChart/Arc/Arc.types.d.ts +0 -165
- package/lib-amd/components/DonutChart/Arc/Arc.types.js +0 -5
- package/lib-amd/components/DonutChart/Arc/Arc.types.js.map +0 -1
- package/lib-amd/components/DonutChart/Arc/index.d.ts +0 -2
- package/lib-amd/components/DonutChart/Arc/index.js +0 -7
- package/lib-amd/components/DonutChart/Arc/index.js.map +0 -1
- package/lib-amd/components/DonutChart/DonutChart.base.d.ts +0 -61
- package/lib-amd/components/DonutChart/DonutChart.base.js +0 -296
- package/lib-amd/components/DonutChart/DonutChart.base.js.map +0 -1
- package/lib-amd/components/DonutChart/DonutChart.d.ts +0 -7
- package/lib-amd/components/DonutChart/DonutChart.js +0 -12
- package/lib-amd/components/DonutChart/DonutChart.js.map +0 -1
- package/lib-amd/components/DonutChart/DonutChart.styles.d.ts +0 -2
- package/lib-amd/components/DonutChart/DonutChart.styles.js +0 -36
- package/lib-amd/components/DonutChart/DonutChart.styles.js.map +0 -1
- package/lib-amd/components/DonutChart/DonutChart.types.d.ts +0 -90
- package/lib-amd/components/DonutChart/DonutChart.types.js +0 -5
- package/lib-amd/components/DonutChart/DonutChart.types.js.map +0 -1
- package/lib-amd/components/DonutChart/Pie/Pie.d.ts +0 -15
- package/lib-amd/components/DonutChart/Pie/Pie.js +0 -73
- package/lib-amd/components/DonutChart/Pie/Pie.js.map +0 -1
- package/lib-amd/components/DonutChart/Pie/Pie.styles.d.ts +0 -2
- package/lib-amd/components/DonutChart/Pie/Pie.styles.js +0 -24
- package/lib-amd/components/DonutChart/Pie/Pie.styles.js.map +0 -1
- package/lib-amd/components/DonutChart/Pie/Pie.types.d.ts +0 -106
- package/lib-amd/components/DonutChart/Pie/Pie.types.js +0 -5
- package/lib-amd/components/DonutChart/Pie/Pie.types.js.map +0 -1
- package/lib-amd/components/DonutChart/Pie/index.d.ts +0 -2
- package/lib-amd/components/DonutChart/Pie/index.js +0 -7
- package/lib-amd/components/DonutChart/Pie/index.js.map +0 -1
- package/lib-amd/components/DonutChart/index.d.ts +0 -3
- package/lib-amd/components/DonutChart/index.js +0 -8
- package/lib-amd/components/DonutChart/index.js.map +0 -1
- package/lib-amd/components/GaugeChart/GaugeChart.base.d.ts +0 -82
- package/lib-amd/components/GaugeChart/GaugeChart.base.js +0 -467
- package/lib-amd/components/GaugeChart/GaugeChart.base.js.map +0 -1
- package/lib-amd/components/GaugeChart/GaugeChart.d.ts +0 -7
- package/lib-amd/components/GaugeChart/GaugeChart.js +0 -11
- package/lib-amd/components/GaugeChart/GaugeChart.js.map +0 -1
- package/lib-amd/components/GaugeChart/GaugeChart.styles.d.ts +0 -2
- package/lib-amd/components/GaugeChart/GaugeChart.styles.js +0 -133
- package/lib-amd/components/GaugeChart/GaugeChart.styles.js.map +0 -1
- package/lib-amd/components/GaugeChart/GaugeChart.types.d.ts +0 -273
- package/lib-amd/components/GaugeChart/GaugeChart.types.js +0 -22
- package/lib-amd/components/GaugeChart/GaugeChart.types.js.map +0 -1
- package/lib-amd/components/GaugeChart/index.d.ts +0 -2
- package/lib-amd/components/GaugeChart/index.js +0 -7
- package/lib-amd/components/GaugeChart/index.js.map +0 -1
- package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.d.ts +0 -80
- package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +0 -489
- package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +0 -1
- package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.d.ts +0 -7
- package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js +0 -12
- package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js.map +0 -1
- package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.d.ts +0 -2
- package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js +0 -21
- package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js.map +0 -1
- package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.d.ts +0 -126
- package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js +0 -5
- package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js.map +0 -1
- package/lib-amd/components/GroupedVerticalBarChart/index.d.ts +0 -2
- package/lib-amd/components/GroupedVerticalBarChart/index.js +0 -7
- package/lib-amd/components/GroupedVerticalBarChart/index.js.map +0 -1
- package/lib-amd/components/HeatMapChart/HeatMapChart.base.d.ts +0 -160
- package/lib-amd/components/HeatMapChart/HeatMapChart.base.js +0 -588
- package/lib-amd/components/HeatMapChart/HeatMapChart.base.js.map +0 -1
- package/lib-amd/components/HeatMapChart/HeatMapChart.d.ts +0 -7
- package/lib-amd/components/HeatMapChart/HeatMapChart.js +0 -11
- package/lib-amd/components/HeatMapChart/HeatMapChart.js.map +0 -1
- package/lib-amd/components/HeatMapChart/HeatMapChart.styles.d.ts +0 -2
- package/lib-amd/components/HeatMapChart/HeatMapChart.styles.js +0 -28
- package/lib-amd/components/HeatMapChart/HeatMapChart.styles.js.map +0 -1
- package/lib-amd/components/HeatMapChart/HeatMapChart.types.d.ts +0 -130
- package/lib-amd/components/HeatMapChart/HeatMapChart.types.js +0 -5
- package/lib-amd/components/HeatMapChart/HeatMapChart.types.js.map +0 -1
- package/lib-amd/components/HeatMapChart/index.d.ts +0 -2
- package/lib-amd/components/HeatMapChart/index.js +0 -7
- package/lib-amd/components/HeatMapChart/index.js.map +0 -1
- package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.base.d.ts +0 -47
- package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.base.js +0 -289
- package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.base.js.map +0 -1
- package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.d.ts +0 -7
- package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.js +0 -12
- package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.js.map +0 -1
- package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.styles.d.ts +0 -2
- package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.styles.js +0 -69
- package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.styles.js.map +0 -1
- package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.types.d.ts +0 -198
- package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.types.js +0 -14
- package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.types.js.map +0 -1
- package/lib-amd/components/HorizontalBarChart/index.d.ts +0 -3
- package/lib-amd/components/HorizontalBarChart/index.js +0 -8
- package/lib-amd/components/HorizontalBarChart/index.js.map +0 -1
- package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.d.ts +0 -76
- package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js +0 -594
- package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js.map +0 -1
- package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.d.ts +0 -7
- package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js +0 -12
- package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js.map +0 -1
- package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.d.ts +0 -2
- package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.js +0 -17
- package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.js.map +0 -1
- package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.d.ts +0 -122
- package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js +0 -5
- package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js.map +0 -1
- package/lib-amd/components/HorizontalBarChartWithAxis/index.d.ts +0 -2
- package/lib-amd/components/HorizontalBarChartWithAxis/index.js +0 -7
- package/lib-amd/components/HorizontalBarChartWithAxis/index.js.map +0 -1
- package/lib-amd/components/Legends/Legends.base.d.ts +0 -50
- package/lib-amd/components/Legends/Legends.base.js +0 -325
- package/lib-amd/components/Legends/Legends.base.js.map +0 -1
- package/lib-amd/components/Legends/Legends.d.ts +0 -7
- package/lib-amd/components/Legends/Legends.js +0 -11
- package/lib-amd/components/Legends/Legends.js.map +0 -1
- package/lib-amd/components/Legends/Legends.styles.d.ts +0 -10
- package/lib-amd/components/Legends/Legends.styles.js +0 -124
- package/lib-amd/components/Legends/Legends.styles.js.map +0 -1
- package/lib-amd/components/Legends/Legends.types.d.ts +0 -259
- package/lib-amd/components/Legends/Legends.types.js +0 -5
- package/lib-amd/components/Legends/Legends.types.js.map +0 -1
- package/lib-amd/components/Legends/index.d.ts +0 -3
- package/lib-amd/components/Legends/index.js +0 -8
- package/lib-amd/components/Legends/index.js.map +0 -1
- package/lib-amd/components/Legends/shape.d.ts +0 -9
- package/lib-amd/components/Legends/shape.js +0 -27
- package/lib-amd/components/Legends/shape.js.map +0 -1
- package/lib-amd/components/LineChart/LineChart.base.d.ts +0 -105
- package/lib-amd/components/LineChart/LineChart.base.js +0 -958
- package/lib-amd/components/LineChart/LineChart.base.js.map +0 -1
- package/lib-amd/components/LineChart/LineChart.d.ts +0 -7
- package/lib-amd/components/LineChart/LineChart.js +0 -12
- package/lib-amd/components/LineChart/LineChart.js.map +0 -1
- package/lib-amd/components/LineChart/LineChart.styles.d.ts +0 -2
- package/lib-amd/components/LineChart/LineChart.styles.js +0 -12
- package/lib-amd/components/LineChart/LineChart.styles.js.map +0 -1
- package/lib-amd/components/LineChart/LineChart.types.d.ts +0 -103
- package/lib-amd/components/LineChart/LineChart.types.js +0 -5
- package/lib-amd/components/LineChart/LineChart.types.js.map +0 -1
- package/lib-amd/components/LineChart/eventAnnotation/EventAnnotation.d.ts +0 -12
- package/lib-amd/components/LineChart/eventAnnotation/EventAnnotation.js +0 -91
- package/lib-amd/components/LineChart/eventAnnotation/EventAnnotation.js.map +0 -1
- package/lib-amd/components/LineChart/eventAnnotation/LabelLink.d.ts +0 -24
- package/lib-amd/components/LineChart/eventAnnotation/LabelLink.js +0 -42
- package/lib-amd/components/LineChart/eventAnnotation/LabelLink.js.map +0 -1
- package/lib-amd/components/LineChart/eventAnnotation/Textbox.d.ts +0 -13
- package/lib-amd/components/LineChart/eventAnnotation/Textbox.js +0 -40
- package/lib-amd/components/LineChart/eventAnnotation/Textbox.js.map +0 -1
- package/lib-amd/components/LineChart/index.d.ts +0 -3
- package/lib-amd/components/LineChart/index.js +0 -8
- package/lib-amd/components/LineChart/index.js.map +0 -1
- package/lib-amd/components/PieChart/Arc/Arc.d.ts +0 -17
- package/lib-amd/components/PieChart/Arc/Arc.js +0 -86
- package/lib-amd/components/PieChart/Arc/Arc.js.map +0 -1
- package/lib-amd/components/PieChart/Arc/Arc.styles.d.ts +0 -3
- package/lib-amd/components/PieChart/Arc/Arc.styles.js +0 -16
- package/lib-amd/components/PieChart/Arc/Arc.styles.js.map +0 -1
- package/lib-amd/components/PieChart/Arc/Arc.types.d.ts +0 -73
- package/lib-amd/components/PieChart/Arc/Arc.types.js +0 -5
- package/lib-amd/components/PieChart/Arc/Arc.types.js.map +0 -1
- package/lib-amd/components/PieChart/Arc/index.d.ts +0 -2
- package/lib-amd/components/PieChart/Arc/index.js +0 -7
- package/lib-amd/components/PieChart/Arc/index.js.map +0 -1
- package/lib-amd/components/PieChart/Pie/Pie.d.ts +0 -10
- package/lib-amd/components/PieChart/Pie/Pie.js +0 -43
- package/lib-amd/components/PieChart/Pie/Pie.js.map +0 -1
- package/lib-amd/components/PieChart/Pie/Pie.styles.d.ts +0 -2
- package/lib-amd/components/PieChart/Pie/Pie.styles.js +0 -12
- package/lib-amd/components/PieChart/Pie/Pie.styles.js.map +0 -1
- package/lib-amd/components/PieChart/Pie/Pie.types.d.ts +0 -47
- package/lib-amd/components/PieChart/Pie/Pie.types.js +0 -5
- package/lib-amd/components/PieChart/Pie/Pie.types.js.map +0 -1
- package/lib-amd/components/PieChart/Pie/index.d.ts +0 -2
- package/lib-amd/components/PieChart/Pie/index.js +0 -7
- package/lib-amd/components/PieChart/Pie/index.js.map +0 -1
- package/lib-amd/components/PieChart/PieChart.base.d.ts +0 -10
- package/lib-amd/components/PieChart/PieChart.base.js +0 -47
- package/lib-amd/components/PieChart/PieChart.base.js.map +0 -1
- package/lib-amd/components/PieChart/PieChart.d.ts +0 -7
- package/lib-amd/components/PieChart/PieChart.js +0 -12
- package/lib-amd/components/PieChart/PieChart.js.map +0 -1
- package/lib-amd/components/PieChart/PieChart.styles.d.ts +0 -2
- package/lib-amd/components/PieChart/PieChart.styles.js +0 -34
- package/lib-amd/components/PieChart/PieChart.styles.js.map +0 -1
- package/lib-amd/components/PieChart/PieChart.types.d.ts +0 -75
- package/lib-amd/components/PieChart/PieChart.types.js +0 -5
- package/lib-amd/components/PieChart/PieChart.types.js.map +0 -1
- package/lib-amd/components/PieChart/index.d.ts +0 -2
- package/lib-amd/components/PieChart/index.js +0 -7
- package/lib-amd/components/PieChart/index.js.map +0 -1
- package/lib-amd/components/ResponsiveContainer/ResponsiveContainer.d.ts +0 -7
- package/lib-amd/components/ResponsiveContainer/ResponsiveContainer.js +0 -86
- package/lib-amd/components/ResponsiveContainer/ResponsiveContainer.js.map +0 -1
- package/lib-amd/components/ResponsiveContainer/ResponsiveContainer.types.d.ts +0 -52
- package/lib-amd/components/ResponsiveContainer/ResponsiveContainer.types.js +0 -5
- package/lib-amd/components/ResponsiveContainer/ResponsiveContainer.types.js.map +0 -1
- package/lib-amd/components/ResponsiveContainer/index.d.ts +0 -3
- package/lib-amd/components/ResponsiveContainer/index.js +0 -8
- package/lib-amd/components/ResponsiveContainer/index.js.map +0 -1
- package/lib-amd/components/ResponsiveContainer/withResponsiveContainer.d.ts +0 -7
- package/lib-amd/components/ResponsiveContainer/withResponsiveContainer.js +0 -19
- package/lib-amd/components/ResponsiveContainer/withResponsiveContainer.js.map +0 -1
- package/lib-amd/components/SankeyChart/SankeyChart.base.d.ts +0 -91
- package/lib-amd/components/SankeyChart/SankeyChart.base.js +0 -916
- package/lib-amd/components/SankeyChart/SankeyChart.base.js.map +0 -1
- package/lib-amd/components/SankeyChart/SankeyChart.d.ts +0 -7
- package/lib-amd/components/SankeyChart/SankeyChart.js +0 -12
- package/lib-amd/components/SankeyChart/SankeyChart.js.map +0 -1
- package/lib-amd/components/SankeyChart/SankeyChart.styles.d.ts +0 -2
- package/lib-amd/components/SankeyChart/SankeyChart.styles.js +0 -63
- package/lib-amd/components/SankeyChart/SankeyChart.styles.js.map +0 -1
- package/lib-amd/components/SankeyChart/SankeyChart.types.d.ts +0 -157
- package/lib-amd/components/SankeyChart/SankeyChart.types.js +0 -5
- package/lib-amd/components/SankeyChart/SankeyChart.types.js.map +0 -1
- package/lib-amd/components/SankeyChart/index.d.ts +0 -2
- package/lib-amd/components/SankeyChart/index.js +0 -7
- package/lib-amd/components/SankeyChart/index.js.map +0 -1
- package/lib-amd/components/Sparkline/Sparkline.base.d.ts +0 -23
- package/lib-amd/components/Sparkline/Sparkline.base.js +0 -84
- package/lib-amd/components/Sparkline/Sparkline.base.js.map +0 -1
- package/lib-amd/components/Sparkline/Sparkline.d.ts +0 -7
- package/lib-amd/components/Sparkline/Sparkline.js +0 -12
- package/lib-amd/components/Sparkline/Sparkline.js.map +0 -1
- package/lib-amd/components/Sparkline/Sparkline.styles.d.ts +0 -2
- package/lib-amd/components/Sparkline/Sparkline.styles.js +0 -15
- package/lib-amd/components/Sparkline/Sparkline.styles.js.map +0 -1
- package/lib-amd/components/Sparkline/Sparkline.types.d.ts +0 -59
- package/lib-amd/components/Sparkline/Sparkline.types.js +0 -5
- package/lib-amd/components/Sparkline/Sparkline.types.js.map +0 -1
- package/lib-amd/components/Sparkline/index.d.ts +0 -2
- package/lib-amd/components/Sparkline/index.js +0 -7
- package/lib-amd/components/Sparkline/index.js.map +0 -1
- package/lib-amd/components/StackedBarChart/MultiStackedBarChart.base.d.ts +0 -70
- package/lib-amd/components/StackedBarChart/MultiStackedBarChart.base.js +0 -432
- package/lib-amd/components/StackedBarChart/MultiStackedBarChart.base.js.map +0 -1
- package/lib-amd/components/StackedBarChart/MultiStackedBarChart.d.ts +0 -7
- package/lib-amd/components/StackedBarChart/MultiStackedBarChart.js +0 -12
- package/lib-amd/components/StackedBarChart/MultiStackedBarChart.js.map +0 -1
- package/lib-amd/components/StackedBarChart/MultiStackedBarChart.styles.d.ts +0 -2
- package/lib-amd/components/StackedBarChart/MultiStackedBarChart.styles.js +0 -89
- package/lib-amd/components/StackedBarChart/MultiStackedBarChart.styles.js.map +0 -1
- package/lib-amd/components/StackedBarChart/MultiStackedBarChart.types.d.ts +0 -223
- package/lib-amd/components/StackedBarChart/MultiStackedBarChart.types.js +0 -14
- package/lib-amd/components/StackedBarChart/MultiStackedBarChart.types.js.map +0 -1
- package/lib-amd/components/StackedBarChart/StackedBarChart.base.d.ts +0 -63
- package/lib-amd/components/StackedBarChart/StackedBarChart.base.js +0 -362
- package/lib-amd/components/StackedBarChart/StackedBarChart.base.js.map +0 -1
- package/lib-amd/components/StackedBarChart/StackedBarChart.d.ts +0 -7
- package/lib-amd/components/StackedBarChart/StackedBarChart.js +0 -12
- package/lib-amd/components/StackedBarChart/StackedBarChart.js.map +0 -1
- package/lib-amd/components/StackedBarChart/StackedBarChart.styles.d.ts +0 -2
- package/lib-amd/components/StackedBarChart/StackedBarChart.styles.js +0 -107
- package/lib-amd/components/StackedBarChart/StackedBarChart.styles.js.map +0 -1
- package/lib-amd/components/StackedBarChart/StackedBarChart.types.d.ts +0 -232
- package/lib-amd/components/StackedBarChart/StackedBarChart.types.js +0 -5
- package/lib-amd/components/StackedBarChart/StackedBarChart.types.js.map +0 -1
- package/lib-amd/components/StackedBarChart/index.d.ts +0 -5
- package/lib-amd/components/StackedBarChart/index.js +0 -10
- package/lib-amd/components/StackedBarChart/index.js.map +0 -1
- package/lib-amd/components/TreeChart/TreeChart.base.d.ts +0 -18
- package/lib-amd/components/TreeChart/TreeChart.base.js +0 -319
- package/lib-amd/components/TreeChart/TreeChart.base.js.map +0 -1
- package/lib-amd/components/TreeChart/TreeChart.d.ts +0 -7
- package/lib-amd/components/TreeChart/TreeChart.js +0 -11
- package/lib-amd/components/TreeChart/TreeChart.js.map +0 -1
- package/lib-amd/components/TreeChart/TreeChart.styles.d.ts +0 -2
- package/lib-amd/components/TreeChart/TreeChart.styles.js +0 -34
- package/lib-amd/components/TreeChart/TreeChart.styles.js.map +0 -1
- package/lib-amd/components/TreeChart/TreeChart.types.d.ts +0 -216
- package/lib-amd/components/TreeChart/TreeChart.types.js +0 -34
- package/lib-amd/components/TreeChart/TreeChart.types.js.map +0 -1
- package/lib-amd/components/TreeChart/index.d.ts +0 -2
- package/lib-amd/components/TreeChart/index.js +0 -7
- package/lib-amd/components/TreeChart/index.js.map +0 -1
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.d.ts +0 -94
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.js +0 -873
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.js.map +0 -1
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.d.ts +0 -7
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.js +0 -12
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.js.map +0 -1
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.styles.d.ts +0 -2
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.styles.js +0 -32
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.styles.js.map +0 -1
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.types.d.ts +0 -160
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.types.js +0 -5
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.types.js.map +0 -1
- package/lib-amd/components/VerticalBarChart/index.d.ts +0 -2
- package/lib-amd/components/VerticalBarChart/index.js +0 -7
- package/lib-amd/components/VerticalBarChart/index.js.map +0 -1
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.d.ts +0 -99
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +0 -809
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +0 -1
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.d.ts +0 -7
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.js +0 -12
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.js.map +0 -1
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.d.ts +0 -2
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js +0 -22
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js.map +0 -1
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.types.d.ts +0 -187
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js +0 -5
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js.map +0 -1
- package/lib-amd/components/VerticalStackedBarChart/index.d.ts +0 -2
- package/lib-amd/components/VerticalStackedBarChart/index.js +0 -7
- package/lib-amd/components/VerticalStackedBarChart/index.js.map +0 -1
- package/lib-amd/index.d.ts +0 -44
- package/lib-amd/index.js +0 -43
- package/lib-amd/index.js.map +0 -1
- package/lib-amd/types/IDataPoint.d.ts +0 -736
- package/lib-amd/types/IDataPoint.js +0 -5
- package/lib-amd/types/IDataPoint.js.map +0 -1
- package/lib-amd/types/IEventAnnotation.d.ts +0 -6
- package/lib-amd/types/IEventAnnotation.js +0 -5
- package/lib-amd/types/IEventAnnotation.js.map +0 -1
- package/lib-amd/types/ILegendDataItem.d.ts +0 -10
- package/lib-amd/types/ILegendDataItem.js +0 -5
- package/lib-amd/types/ILegendDataItem.js.map +0 -1
- package/lib-amd/types/index.d.ts +0 -2
- package/lib-amd/types/index.js +0 -7
- package/lib-amd/types/index.js.map +0 -1
- package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.base.d.ts +0 -6
- package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.base.js +0 -39
- package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.base.js.map +0 -1
- package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.d.ts +0 -3
- package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.js +0 -8
- package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.js.map +0 -1
- package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.styles.d.ts +0 -2
- package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.styles.js +0 -103
- package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.styles.js.map +0 -1
- package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.types.d.ts +0 -105
- package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.types.js +0 -5
- package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.types.js.map +0 -1
- package/lib-amd/utilities/ChartHoverCard/index.d.ts +0 -3
- package/lib-amd/utilities/ChartHoverCard/index.js +0 -8
- package/lib-amd/utilities/ChartHoverCard/index.js.map +0 -1
- package/lib-amd/utilities/FocusableTooltipText.d.ts +0 -27
- package/lib-amd/utilities/FocusableTooltipText.js +0 -54
- package/lib-amd/utilities/FocusableTooltipText.js.map +0 -1
- package/lib-amd/utilities/SVGTooltipText.d.ts +0 -110
- package/lib-amd/utilities/SVGTooltipText.js +0 -192
- package/lib-amd/utilities/SVGTooltipText.js.map +0 -1
- package/lib-amd/utilities/colors.d.ts +0 -52
- package/lib-amd/utilities/colors.js +0 -161
- package/lib-amd/utilities/colors.js.map +0 -1
- package/lib-amd/utilities/gradients.d.ts +0 -30
- package/lib-amd/utilities/gradients.js +0 -180
- package/lib-amd/utilities/gradients.js.map +0 -1
- package/lib-amd/utilities/image-export-utils.d.ts +0 -13
- package/lib-amd/utilities/image-export-utils.js +0 -241
- package/lib-amd/utilities/image-export-utils.js.map +0 -1
- package/lib-amd/utilities/index.d.ts +0 -5
- package/lib-amd/utilities/index.js +0 -10
- package/lib-amd/utilities/index.js.map +0 -1
- package/lib-amd/utilities/locale-util.d.ts +0 -3
- package/lib-amd/utilities/locale-util.js +0 -24
- package/lib-amd/utilities/locale-util.js.map +0 -1
- package/lib-amd/utilities/test-data.d.ts +0 -43
- package/lib-amd/utilities/test-data.js +0 -266
- package/lib-amd/utilities/test-data.js.map +0 -1
- package/lib-amd/utilities/utilities.d.ts +0 -418
- package/lib-amd/utilities/utilities.js +0 -1261
- package/lib-amd/utilities/utilities.js.map +0 -1
- package/lib-amd/utilities/vbc-utils.d.ts +0 -2
- package/lib-amd/utilities/vbc-utils.js +0 -38
- package/lib-amd/utilities/vbc-utils.js.map +0 -1
- package/lib-amd/version.d.ts +0 -1
- package/lib-amd/version.js +0 -6
- package/lib-amd/version.js.map +0 -1
- package/lib-commonjs/AreaChart.d.ts +0 -1
- package/lib-commonjs/AreaChart.js +0 -5
- package/lib-commonjs/AreaChart.js.map +0 -1
- package/lib-commonjs/CartesianChart.d.ts +0 -1
- package/lib-commonjs/CartesianChart.js +0 -5
- package/lib-commonjs/CartesianChart.js.map +0 -1
- package/lib-commonjs/DeclarativeChart.d.ts +0 -1
- package/lib-commonjs/DeclarativeChart.js +0 -5
- package/lib-commonjs/DeclarativeChart.js.map +0 -1
- package/lib-commonjs/DonutChart.d.ts +0 -1
- package/lib-commonjs/DonutChart.js +0 -5
- package/lib-commonjs/DonutChart.js.map +0 -1
- package/lib-commonjs/GaugeChart.d.ts +0 -1
- package/lib-commonjs/GaugeChart.js +0 -5
- package/lib-commonjs/GaugeChart.js.map +0 -1
- package/lib-commonjs/GroupedVerticalBarChart.d.ts +0 -1
- package/lib-commonjs/GroupedVerticalBarChart.js +0 -5
- package/lib-commonjs/GroupedVerticalBarChart.js.map +0 -1
- package/lib-commonjs/HeatMapChart.d.ts +0 -1
- package/lib-commonjs/HeatMapChart.js +0 -5
- package/lib-commonjs/HeatMapChart.js.map +0 -1
- package/lib-commonjs/HorizontalBarChart.d.ts +0 -1
- package/lib-commonjs/HorizontalBarChart.js +0 -5
- package/lib-commonjs/HorizontalBarChart.js.map +0 -1
- package/lib-commonjs/HorizontalBarChartWithAxis.d.ts +0 -1
- package/lib-commonjs/HorizontalBarChartWithAxis.js +0 -5
- package/lib-commonjs/HorizontalBarChartWithAxis.js.map +0 -1
- package/lib-commonjs/Legends.d.ts +0 -1
- package/lib-commonjs/Legends.js +0 -5
- package/lib-commonjs/Legends.js.map +0 -1
- package/lib-commonjs/LineChart.d.ts +0 -1
- package/lib-commonjs/LineChart.js +0 -5
- package/lib-commonjs/LineChart.js.map +0 -1
- package/lib-commonjs/PieChart.d.ts +0 -1
- package/lib-commonjs/PieChart.js +0 -5
- package/lib-commonjs/PieChart.js.map +0 -1
- package/lib-commonjs/ResponsiveContainer.d.ts +0 -1
- package/lib-commonjs/ResponsiveContainer.js +0 -5
- package/lib-commonjs/ResponsiveContainer.js.map +0 -1
- package/lib-commonjs/SankeyChart.d.ts +0 -1
- package/lib-commonjs/SankeyChart.js +0 -5
- package/lib-commonjs/SankeyChart.js.map +0 -1
- package/lib-commonjs/Sparkline.d.ts +0 -1
- package/lib-commonjs/Sparkline.js +0 -5
- package/lib-commonjs/Sparkline.js.map +0 -1
- package/lib-commonjs/StackedBarChart.d.ts +0 -1
- package/lib-commonjs/StackedBarChart.js +0 -5
- package/lib-commonjs/StackedBarChart.js.map +0 -1
- package/lib-commonjs/Styling.d.ts +0 -2
- package/lib-commonjs/Styling.js +0 -75
- package/lib-commonjs/Styling.js.map +0 -1
- package/lib-commonjs/TreeChart.d.ts +0 -1
- package/lib-commonjs/TreeChart.js +0 -5
- package/lib-commonjs/TreeChart.js.map +0 -1
- package/lib-commonjs/Utilities.d.ts +0 -2
- package/lib-commonjs/Utilities.js +0 -176
- package/lib-commonjs/Utilities.js.map +0 -1
- package/lib-commonjs/VerticalBarChart.d.ts +0 -1
- package/lib-commonjs/VerticalBarChart.js +0 -5
- package/lib-commonjs/VerticalBarChart.js.map +0 -1
- package/lib-commonjs/VerticalStackedBarChart.d.ts +0 -1
- package/lib-commonjs/VerticalStackedBarChart.js +0 -5
- package/lib-commonjs/VerticalStackedBarChart.js.map +0 -1
- package/lib-commonjs/components/AreaChart/AreaChart.base.d.ts +0 -111
- package/lib-commonjs/components/AreaChart/AreaChart.base.js +0 -725
- package/lib-commonjs/components/AreaChart/AreaChart.base.js.map +0 -1
- package/lib-commonjs/components/AreaChart/AreaChart.d.ts +0 -7
- package/lib-commonjs/components/AreaChart/AreaChart.js +0 -13
- package/lib-commonjs/components/AreaChart/AreaChart.js.map +0 -1
- package/lib-commonjs/components/AreaChart/AreaChart.styles.d.ts +0 -2
- package/lib-commonjs/components/AreaChart/AreaChart.styles.js +0 -11
- package/lib-commonjs/components/AreaChart/AreaChart.styles.js.map +0 -1
- package/lib-commonjs/components/AreaChart/AreaChart.types.d.ts +0 -64
- package/lib-commonjs/components/AreaChart/AreaChart.types.js +0 -3
- package/lib-commonjs/components/AreaChart/AreaChart.types.js.map +0 -1
- package/lib-commonjs/components/AreaChart/index.d.ts +0 -2
- package/lib-commonjs/components/AreaChart/index.js +0 -6
- package/lib-commonjs/components/AreaChart/index.js.map +0 -1
- package/lib-commonjs/components/CommonComponents/CartesianChart.base.d.ts +0 -65
- package/lib-commonjs/components/CommonComponents/CartesianChart.base.js +0 -612
- package/lib-commonjs/components/CommonComponents/CartesianChart.base.js.map +0 -1
- package/lib-commonjs/components/CommonComponents/CartesianChart.d.ts +0 -7
- package/lib-commonjs/components/CommonComponents/CartesianChart.js +0 -12
- package/lib-commonjs/components/CommonComponents/CartesianChart.js.map +0 -1
- package/lib-commonjs/components/CommonComponents/CartesianChart.styles.d.ts +0 -2
- package/lib-commonjs/components/CommonComponents/CartesianChart.styles.js +0 -179
- package/lib-commonjs/components/CommonComponents/CartesianChart.styles.js.map +0 -1
- package/lib-commonjs/components/CommonComponents/CartesianChart.types.d.ts +0 -556
- package/lib-commonjs/components/CommonComponents/CartesianChart.types.js +0 -3
- package/lib-commonjs/components/CommonComponents/CartesianChart.types.js.map +0 -1
- package/lib-commonjs/components/CommonComponents/index.d.ts +0 -2
- package/lib-commonjs/components/CommonComponents/index.js +0 -6
- package/lib-commonjs/components/CommonComponents/index.js.map +0 -1
- package/lib-commonjs/components/DeclarativeChart/DeclarativeChart.d.ts +0 -43
- package/lib-commonjs/components/DeclarativeChart/DeclarativeChart.js +0 -183
- package/lib-commonjs/components/DeclarativeChart/DeclarativeChart.js.map +0 -1
- package/lib-commonjs/components/DeclarativeChart/PlotlySchema.d.ts +0 -1517
- package/lib-commonjs/components/DeclarativeChart/PlotlySchema.js +0 -5
- package/lib-commonjs/components/DeclarativeChart/PlotlySchema.js.map +0 -1
- package/lib-commonjs/components/DeclarativeChart/PlotlySchemaAdapter.d.ts +0 -36
- package/lib-commonjs/components/DeclarativeChart/PlotlySchemaAdapter.js +0 -760
- package/lib-commonjs/components/DeclarativeChart/PlotlySchemaAdapter.js.map +0 -1
- package/lib-commonjs/components/DeclarativeChart/index.d.ts +0 -1
- package/lib-commonjs/components/DeclarativeChart/index.js +0 -5
- package/lib-commonjs/components/DeclarativeChart/index.js.map +0 -1
- package/lib-commonjs/components/DonutChart/Arc/Arc.d.ts +0 -22
- package/lib-commonjs/components/DonutChart/Arc/Arc.js +0 -110
- package/lib-commonjs/components/DonutChart/Arc/Arc.js.map +0 -1
- package/lib-commonjs/components/DonutChart/Arc/Arc.styles.d.ts +0 -2
- package/lib-commonjs/components/DonutChart/Arc/Arc.styles.js +0 -39
- package/lib-commonjs/components/DonutChart/Arc/Arc.styles.js.map +0 -1
- package/lib-commonjs/components/DonutChart/Arc/Arc.types.d.ts +0 -165
- package/lib-commonjs/components/DonutChart/Arc/Arc.types.js +0 -3
- package/lib-commonjs/components/DonutChart/Arc/Arc.types.js.map +0 -1
- package/lib-commonjs/components/DonutChart/Arc/index.d.ts +0 -2
- package/lib-commonjs/components/DonutChart/Arc/index.js +0 -6
- package/lib-commonjs/components/DonutChart/Arc/index.js.map +0 -1
- package/lib-commonjs/components/DonutChart/DonutChart.base.d.ts +0 -61
- package/lib-commonjs/components/DonutChart/DonutChart.base.js +0 -304
- package/lib-commonjs/components/DonutChart/DonutChart.base.js.map +0 -1
- package/lib-commonjs/components/DonutChart/DonutChart.d.ts +0 -7
- package/lib-commonjs/components/DonutChart/DonutChart.js +0 -13
- package/lib-commonjs/components/DonutChart/DonutChart.js.map +0 -1
- package/lib-commonjs/components/DonutChart/DonutChart.styles.d.ts +0 -2
- package/lib-commonjs/components/DonutChart/DonutChart.styles.js +0 -34
- package/lib-commonjs/components/DonutChart/DonutChart.styles.js.map +0 -1
- package/lib-commonjs/components/DonutChart/DonutChart.types.d.ts +0 -90
- package/lib-commonjs/components/DonutChart/DonutChart.types.js +0 -3
- package/lib-commonjs/components/DonutChart/DonutChart.types.js.map +0 -1
- package/lib-commonjs/components/DonutChart/Pie/Pie.d.ts +0 -15
- package/lib-commonjs/components/DonutChart/Pie/Pie.js +0 -78
- package/lib-commonjs/components/DonutChart/Pie/Pie.js.map +0 -1
- package/lib-commonjs/components/DonutChart/Pie/Pie.styles.d.ts +0 -2
- package/lib-commonjs/components/DonutChart/Pie/Pie.styles.js +0 -23
- package/lib-commonjs/components/DonutChart/Pie/Pie.styles.js.map +0 -1
- package/lib-commonjs/components/DonutChart/Pie/Pie.types.d.ts +0 -106
- package/lib-commonjs/components/DonutChart/Pie/Pie.types.js +0 -3
- package/lib-commonjs/components/DonutChart/Pie/Pie.types.js.map +0 -1
- package/lib-commonjs/components/DonutChart/Pie/index.d.ts +0 -2
- package/lib-commonjs/components/DonutChart/Pie/index.js +0 -6
- package/lib-commonjs/components/DonutChart/Pie/index.js.map +0 -1
- package/lib-commonjs/components/DonutChart/index.d.ts +0 -3
- package/lib-commonjs/components/DonutChart/index.js +0 -7
- package/lib-commonjs/components/DonutChart/index.js.map +0 -1
- package/lib-commonjs/components/GaugeChart/GaugeChart.base.d.ts +0 -82
- package/lib-commonjs/components/GaugeChart/GaugeChart.base.js +0 -478
- package/lib-commonjs/components/GaugeChart/GaugeChart.base.js.map +0 -1
- package/lib-commonjs/components/GaugeChart/GaugeChart.d.ts +0 -7
- package/lib-commonjs/components/GaugeChart/GaugeChart.js +0 -12
- package/lib-commonjs/components/GaugeChart/GaugeChart.js.map +0 -1
- package/lib-commonjs/components/GaugeChart/GaugeChart.styles.d.ts +0 -2
- package/lib-commonjs/components/GaugeChart/GaugeChart.styles.js +0 -133
- package/lib-commonjs/components/GaugeChart/GaugeChart.styles.js.map +0 -1
- package/lib-commonjs/components/GaugeChart/GaugeChart.types.d.ts +0 -273
- package/lib-commonjs/components/GaugeChart/GaugeChart.types.js +0 -20
- package/lib-commonjs/components/GaugeChart/GaugeChart.types.js.map +0 -1
- package/lib-commonjs/components/GaugeChart/index.d.ts +0 -2
- package/lib-commonjs/components/GaugeChart/index.js +0 -6
- package/lib-commonjs/components/GaugeChart/index.js.map +0 -1
- package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.d.ts +0 -80
- package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +0 -498
- package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +0 -1
- package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.d.ts +0 -7
- package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js +0 -13
- package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js.map +0 -1
- package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.d.ts +0 -2
- package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js +0 -21
- package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js.map +0 -1
- package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.d.ts +0 -126
- package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js +0 -3
- package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js.map +0 -1
- package/lib-commonjs/components/GroupedVerticalBarChart/index.d.ts +0 -2
- package/lib-commonjs/components/GroupedVerticalBarChart/index.js +0 -6
- package/lib-commonjs/components/GroupedVerticalBarChart/index.js.map +0 -1
- package/lib-commonjs/components/HeatMapChart/HeatMapChart.base.d.ts +0 -160
- package/lib-commonjs/components/HeatMapChart/HeatMapChart.base.js +0 -600
- package/lib-commonjs/components/HeatMapChart/HeatMapChart.base.js.map +0 -1
- package/lib-commonjs/components/HeatMapChart/HeatMapChart.d.ts +0 -7
- package/lib-commonjs/components/HeatMapChart/HeatMapChart.js +0 -12
- package/lib-commonjs/components/HeatMapChart/HeatMapChart.js.map +0 -1
- package/lib-commonjs/components/HeatMapChart/HeatMapChart.styles.d.ts +0 -2
- package/lib-commonjs/components/HeatMapChart/HeatMapChart.styles.js +0 -27
- package/lib-commonjs/components/HeatMapChart/HeatMapChart.styles.js.map +0 -1
- package/lib-commonjs/components/HeatMapChart/HeatMapChart.types.d.ts +0 -130
- package/lib-commonjs/components/HeatMapChart/HeatMapChart.types.js +0 -3
- package/lib-commonjs/components/HeatMapChart/HeatMapChart.types.js.map +0 -1
- package/lib-commonjs/components/HeatMapChart/index.d.ts +0 -2
- package/lib-commonjs/components/HeatMapChart/index.js +0 -6
- package/lib-commonjs/components/HeatMapChart/index.js.map +0 -1
- package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.base.d.ts +0 -47
- package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.base.js +0 -296
- package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.base.js.map +0 -1
- package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.d.ts +0 -7
- package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.js +0 -13
- package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.js.map +0 -1
- package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.styles.d.ts +0 -2
- package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.styles.js +0 -70
- package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.styles.js.map +0 -1
- package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.types.d.ts +0 -198
- package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.types.js +0 -12
- package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.types.js.map +0 -1
- package/lib-commonjs/components/HorizontalBarChart/index.d.ts +0 -3
- package/lib-commonjs/components/HorizontalBarChart/index.js +0 -7
- package/lib-commonjs/components/HorizontalBarChart/index.js.map +0 -1
- package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.d.ts +0 -76
- package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js +0 -604
- package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js.map +0 -1
- package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.d.ts +0 -7
- package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js +0 -13
- package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js.map +0 -1
- package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.d.ts +0 -2
- package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.js +0 -16
- package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.js.map +0 -1
- package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.d.ts +0 -122
- package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js +0 -3
- package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js.map +0 -1
- package/lib-commonjs/components/HorizontalBarChartWithAxis/index.d.ts +0 -2
- package/lib-commonjs/components/HorizontalBarChartWithAxis/index.js +0 -6
- package/lib-commonjs/components/HorizontalBarChartWithAxis/index.js.map +0 -1
- package/lib-commonjs/components/Legends/Legends.base.d.ts +0 -50
- package/lib-commonjs/components/Legends/Legends.base.js +0 -332
- package/lib-commonjs/components/Legends/Legends.base.js.map +0 -1
- package/lib-commonjs/components/Legends/Legends.d.ts +0 -7
- package/lib-commonjs/components/Legends/Legends.js +0 -12
- package/lib-commonjs/components/Legends/Legends.js.map +0 -1
- package/lib-commonjs/components/Legends/Legends.styles.d.ts +0 -10
- package/lib-commonjs/components/Legends/Legends.styles.js +0 -124
- package/lib-commonjs/components/Legends/Legends.styles.js.map +0 -1
- package/lib-commonjs/components/Legends/Legends.types.d.ts +0 -259
- package/lib-commonjs/components/Legends/Legends.types.js +0 -3
- package/lib-commonjs/components/Legends/Legends.types.js.map +0 -1
- package/lib-commonjs/components/Legends/index.d.ts +0 -3
- package/lib-commonjs/components/Legends/index.js +0 -7
- package/lib-commonjs/components/Legends/index.js.map +0 -1
- package/lib-commonjs/components/Legends/shape.d.ts +0 -9
- package/lib-commonjs/components/Legends/shape.js +0 -28
- package/lib-commonjs/components/Legends/shape.js.map +0 -1
- package/lib-commonjs/components/LineChart/LineChart.base.d.ts +0 -105
- package/lib-commonjs/components/LineChart/LineChart.base.js +0 -969
- package/lib-commonjs/components/LineChart/LineChart.base.js.map +0 -1
- package/lib-commonjs/components/LineChart/LineChart.d.ts +0 -7
- package/lib-commonjs/components/LineChart/LineChart.js +0 -13
- package/lib-commonjs/components/LineChart/LineChart.js.map +0 -1
- package/lib-commonjs/components/LineChart/LineChart.styles.d.ts +0 -2
- package/lib-commonjs/components/LineChart/LineChart.styles.js +0 -11
- package/lib-commonjs/components/LineChart/LineChart.styles.js.map +0 -1
- package/lib-commonjs/components/LineChart/LineChart.types.d.ts +0 -103
- package/lib-commonjs/components/LineChart/LineChart.types.js +0 -3
- package/lib-commonjs/components/LineChart/LineChart.types.js.map +0 -1
- package/lib-commonjs/components/LineChart/eventAnnotation/EventAnnotation.d.ts +0 -12
- package/lib-commonjs/components/LineChart/eventAnnotation/EventAnnotation.js +0 -94
- package/lib-commonjs/components/LineChart/eventAnnotation/EventAnnotation.js.map +0 -1
- package/lib-commonjs/components/LineChart/eventAnnotation/LabelLink.d.ts +0 -24
- package/lib-commonjs/components/LineChart/eventAnnotation/LabelLink.js +0 -44
- package/lib-commonjs/components/LineChart/eventAnnotation/LabelLink.js.map +0 -1
- package/lib-commonjs/components/LineChart/eventAnnotation/Textbox.d.ts +0 -13
- package/lib-commonjs/components/LineChart/eventAnnotation/Textbox.js +0 -42
- package/lib-commonjs/components/LineChart/eventAnnotation/Textbox.js.map +0 -1
- package/lib-commonjs/components/LineChart/index.d.ts +0 -3
- package/lib-commonjs/components/LineChart/index.js +0 -7
- package/lib-commonjs/components/LineChart/index.js.map +0 -1
- package/lib-commonjs/components/PieChart/Arc/Arc.d.ts +0 -17
- package/lib-commonjs/components/PieChart/Arc/Arc.js +0 -92
- package/lib-commonjs/components/PieChart/Arc/Arc.js.map +0 -1
- package/lib-commonjs/components/PieChart/Arc/Arc.styles.d.ts +0 -3
- package/lib-commonjs/components/PieChart/Arc/Arc.styles.js +0 -15
- package/lib-commonjs/components/PieChart/Arc/Arc.styles.js.map +0 -1
- package/lib-commonjs/components/PieChart/Arc/Arc.types.d.ts +0 -73
- package/lib-commonjs/components/PieChart/Arc/Arc.types.js +0 -3
- package/lib-commonjs/components/PieChart/Arc/Arc.types.js.map +0 -1
- package/lib-commonjs/components/PieChart/Arc/index.d.ts +0 -2
- package/lib-commonjs/components/PieChart/Arc/index.js +0 -6
- package/lib-commonjs/components/PieChart/Arc/index.js.map +0 -1
- package/lib-commonjs/components/PieChart/Pie/Pie.d.ts +0 -10
- package/lib-commonjs/components/PieChart/Pie/Pie.js +0 -48
- package/lib-commonjs/components/PieChart/Pie/Pie.js.map +0 -1
- package/lib-commonjs/components/PieChart/Pie/Pie.styles.d.ts +0 -2
- package/lib-commonjs/components/PieChart/Pie/Pie.styles.js +0 -10
- package/lib-commonjs/components/PieChart/Pie/Pie.styles.js.map +0 -1
- package/lib-commonjs/components/PieChart/Pie/Pie.types.d.ts +0 -47
- package/lib-commonjs/components/PieChart/Pie/Pie.types.js +0 -3
- package/lib-commonjs/components/PieChart/Pie/Pie.types.js.map +0 -1
- package/lib-commonjs/components/PieChart/Pie/index.d.ts +0 -2
- package/lib-commonjs/components/PieChart/Pie/index.js +0 -6
- package/lib-commonjs/components/PieChart/Pie/index.js.map +0 -1
- package/lib-commonjs/components/PieChart/PieChart.base.d.ts +0 -10
- package/lib-commonjs/components/PieChart/PieChart.base.js +0 -49
- package/lib-commonjs/components/PieChart/PieChart.base.js.map +0 -1
- package/lib-commonjs/components/PieChart/PieChart.d.ts +0 -7
- package/lib-commonjs/components/PieChart/PieChart.js +0 -13
- package/lib-commonjs/components/PieChart/PieChart.js.map +0 -1
- package/lib-commonjs/components/PieChart/PieChart.styles.d.ts +0 -2
- package/lib-commonjs/components/PieChart/PieChart.styles.js +0 -33
- package/lib-commonjs/components/PieChart/PieChart.styles.js.map +0 -1
- package/lib-commonjs/components/PieChart/PieChart.types.d.ts +0 -75
- package/lib-commonjs/components/PieChart/PieChart.types.js +0 -3
- package/lib-commonjs/components/PieChart/PieChart.types.js.map +0 -1
- package/lib-commonjs/components/PieChart/index.d.ts +0 -2
- package/lib-commonjs/components/PieChart/index.js +0 -6
- package/lib-commonjs/components/PieChart/index.js.map +0 -1
- package/lib-commonjs/components/ResponsiveContainer/ResponsiveContainer.d.ts +0 -7
- package/lib-commonjs/components/ResponsiveContainer/ResponsiveContainer.js +0 -87
- package/lib-commonjs/components/ResponsiveContainer/ResponsiveContainer.js.map +0 -1
- package/lib-commonjs/components/ResponsiveContainer/ResponsiveContainer.types.d.ts +0 -52
- package/lib-commonjs/components/ResponsiveContainer/ResponsiveContainer.types.js +0 -3
- package/lib-commonjs/components/ResponsiveContainer/ResponsiveContainer.types.js.map +0 -1
- package/lib-commonjs/components/ResponsiveContainer/index.d.ts +0 -3
- package/lib-commonjs/components/ResponsiveContainer/index.js +0 -7
- package/lib-commonjs/components/ResponsiveContainer/index.js.map +0 -1
- package/lib-commonjs/components/ResponsiveContainer/withResponsiveContainer.d.ts +0 -7
- package/lib-commonjs/components/ResponsiveContainer/withResponsiveContainer.js +0 -21
- package/lib-commonjs/components/ResponsiveContainer/withResponsiveContainer.js.map +0 -1
- package/lib-commonjs/components/SankeyChart/SankeyChart.base.d.ts +0 -91
- package/lib-commonjs/components/SankeyChart/SankeyChart.base.js +0 -925
- package/lib-commonjs/components/SankeyChart/SankeyChart.base.js.map +0 -1
- package/lib-commonjs/components/SankeyChart/SankeyChart.d.ts +0 -7
- package/lib-commonjs/components/SankeyChart/SankeyChart.js +0 -13
- package/lib-commonjs/components/SankeyChart/SankeyChart.js.map +0 -1
- package/lib-commonjs/components/SankeyChart/SankeyChart.styles.d.ts +0 -2
- package/lib-commonjs/components/SankeyChart/SankeyChart.styles.js +0 -63
- package/lib-commonjs/components/SankeyChart/SankeyChart.styles.js.map +0 -1
- package/lib-commonjs/components/SankeyChart/SankeyChart.types.d.ts +0 -157
- package/lib-commonjs/components/SankeyChart/SankeyChart.types.js +0 -3
- package/lib-commonjs/components/SankeyChart/SankeyChart.types.js.map +0 -1
- package/lib-commonjs/components/SankeyChart/index.d.ts +0 -2
- package/lib-commonjs/components/SankeyChart/index.js +0 -6
- package/lib-commonjs/components/SankeyChart/index.js.map +0 -1
- package/lib-commonjs/components/Sparkline/Sparkline.base.d.ts +0 -23
- package/lib-commonjs/components/Sparkline/Sparkline.base.js +0 -89
- package/lib-commonjs/components/Sparkline/Sparkline.base.js.map +0 -1
- package/lib-commonjs/components/Sparkline/Sparkline.d.ts +0 -7
- package/lib-commonjs/components/Sparkline/Sparkline.js +0 -13
- package/lib-commonjs/components/Sparkline/Sparkline.js.map +0 -1
- package/lib-commonjs/components/Sparkline/Sparkline.styles.d.ts +0 -2
- package/lib-commonjs/components/Sparkline/Sparkline.styles.js +0 -14
- package/lib-commonjs/components/Sparkline/Sparkline.styles.js.map +0 -1
- package/lib-commonjs/components/Sparkline/Sparkline.types.d.ts +0 -59
- package/lib-commonjs/components/Sparkline/Sparkline.types.js +0 -3
- package/lib-commonjs/components/Sparkline/Sparkline.types.js.map +0 -1
- package/lib-commonjs/components/Sparkline/index.d.ts +0 -2
- package/lib-commonjs/components/Sparkline/index.js +0 -6
- package/lib-commonjs/components/Sparkline/index.js.map +0 -1
- package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.base.d.ts +0 -70
- package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.base.js +0 -440
- package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.base.js.map +0 -1
- package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.d.ts +0 -7
- package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.js +0 -13
- package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.js.map +0 -1
- package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.styles.d.ts +0 -2
- package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.styles.js +0 -90
- package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.styles.js.map +0 -1
- package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.types.d.ts +0 -223
- package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.types.js +0 -12
- package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.types.js.map +0 -1
- package/lib-commonjs/components/StackedBarChart/StackedBarChart.base.d.ts +0 -63
- package/lib-commonjs/components/StackedBarChart/StackedBarChart.base.js +0 -369
- package/lib-commonjs/components/StackedBarChart/StackedBarChart.base.js.map +0 -1
- package/lib-commonjs/components/StackedBarChart/StackedBarChart.d.ts +0 -7
- package/lib-commonjs/components/StackedBarChart/StackedBarChart.js +0 -13
- package/lib-commonjs/components/StackedBarChart/StackedBarChart.js.map +0 -1
- package/lib-commonjs/components/StackedBarChart/StackedBarChart.styles.d.ts +0 -2
- package/lib-commonjs/components/StackedBarChart/StackedBarChart.styles.js +0 -107
- package/lib-commonjs/components/StackedBarChart/StackedBarChart.styles.js.map +0 -1
- package/lib-commonjs/components/StackedBarChart/StackedBarChart.types.d.ts +0 -232
- package/lib-commonjs/components/StackedBarChart/StackedBarChart.types.js +0 -3
- package/lib-commonjs/components/StackedBarChart/StackedBarChart.types.js.map +0 -1
- package/lib-commonjs/components/StackedBarChart/index.d.ts +0 -5
- package/lib-commonjs/components/StackedBarChart/index.js +0 -9
- package/lib-commonjs/components/StackedBarChart/index.js.map +0 -1
- package/lib-commonjs/components/TreeChart/TreeChart.base.d.ts +0 -18
- package/lib-commonjs/components/TreeChart/TreeChart.base.js +0 -324
- package/lib-commonjs/components/TreeChart/TreeChart.base.js.map +0 -1
- package/lib-commonjs/components/TreeChart/TreeChart.d.ts +0 -7
- package/lib-commonjs/components/TreeChart/TreeChart.js +0 -12
- package/lib-commonjs/components/TreeChart/TreeChart.js.map +0 -1
- package/lib-commonjs/components/TreeChart/TreeChart.styles.d.ts +0 -2
- package/lib-commonjs/components/TreeChart/TreeChart.styles.js +0 -33
- package/lib-commonjs/components/TreeChart/TreeChart.styles.js.map +0 -1
- package/lib-commonjs/components/TreeChart/TreeChart.types.d.ts +0 -216
- package/lib-commonjs/components/TreeChart/TreeChart.types.js +0 -32
- package/lib-commonjs/components/TreeChart/TreeChart.types.js.map +0 -1
- package/lib-commonjs/components/TreeChart/index.d.ts +0 -2
- package/lib-commonjs/components/TreeChart/index.js +0 -6
- package/lib-commonjs/components/TreeChart/index.js.map +0 -1
- package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.base.d.ts +0 -94
- package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.base.js +0 -883
- package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.base.js.map +0 -1
- package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.d.ts +0 -7
- package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.js +0 -13
- package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.js.map +0 -1
- package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.styles.d.ts +0 -2
- package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.styles.js +0 -32
- package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.styles.js.map +0 -1
- package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.types.d.ts +0 -160
- package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.types.js +0 -3
- package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.types.js.map +0 -1
- package/lib-commonjs/components/VerticalBarChart/index.d.ts +0 -2
- package/lib-commonjs/components/VerticalBarChart/index.js +0 -6
- package/lib-commonjs/components/VerticalBarChart/index.js.map +0 -1
- package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.base.d.ts +0 -99
- package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +0 -819
- package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +0 -1
- package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.d.ts +0 -7
- package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.js +0 -13
- package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.js.map +0 -1
- package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.d.ts +0 -2
- package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js +0 -22
- package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js.map +0 -1
- package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.types.d.ts +0 -187
- package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js +0 -3
- package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js.map +0 -1
- package/lib-commonjs/components/VerticalStackedBarChart/index.d.ts +0 -2
- package/lib-commonjs/components/VerticalStackedBarChart/index.js +0 -6
- package/lib-commonjs/components/VerticalStackedBarChart/index.js.map +0 -1
- package/lib-commonjs/index.d.ts +0 -44
- package/lib-commonjs/index.js +0 -64
- package/lib-commonjs/index.js.map +0 -1
- package/lib-commonjs/types/IDataPoint.d.ts +0 -736
- package/lib-commonjs/types/IDataPoint.js +0 -3
- package/lib-commonjs/types/IDataPoint.js.map +0 -1
- package/lib-commonjs/types/IEventAnnotation.d.ts +0 -6
- package/lib-commonjs/types/IEventAnnotation.js +0 -3
- package/lib-commonjs/types/IEventAnnotation.js.map +0 -1
- package/lib-commonjs/types/ILegendDataItem.d.ts +0 -10
- package/lib-commonjs/types/ILegendDataItem.js +0 -3
- package/lib-commonjs/types/ILegendDataItem.js.map +0 -1
- package/lib-commonjs/types/index.d.ts +0 -2
- package/lib-commonjs/types/index.js +0 -6
- package/lib-commonjs/types/index.js.map +0 -1
- package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.base.d.ts +0 -6
- package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.base.js +0 -41
- package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.base.js.map +0 -1
- package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.d.ts +0 -3
- package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.js +0 -9
- package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.js.map +0 -1
- package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.styles.d.ts +0 -2
- package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.styles.js +0 -102
- package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.styles.js.map +0 -1
- package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.types.d.ts +0 -105
- package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.types.js +0 -3
- package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.types.js.map +0 -1
- package/lib-commonjs/utilities/ChartHoverCard/index.d.ts +0 -3
- package/lib-commonjs/utilities/ChartHoverCard/index.js +0 -7
- package/lib-commonjs/utilities/ChartHoverCard/index.js.map +0 -1
- package/lib-commonjs/utilities/FocusableTooltipText.d.ts +0 -27
- package/lib-commonjs/utilities/FocusableTooltipText.js +0 -57
- package/lib-commonjs/utilities/FocusableTooltipText.js.map +0 -1
- package/lib-commonjs/utilities/SVGTooltipText.d.ts +0 -110
- package/lib-commonjs/utilities/SVGTooltipText.js +0 -195
- package/lib-commonjs/utilities/SVGTooltipText.js.map +0 -1
- package/lib-commonjs/utilities/colors.d.ts +0 -52
- package/lib-commonjs/utilities/colors.js +0 -160
- package/lib-commonjs/utilities/colors.js.map +0 -1
- package/lib-commonjs/utilities/gradients.d.ts +0 -30
- package/lib-commonjs/utilities/gradients.js +0 -178
- package/lib-commonjs/utilities/gradients.js.map +0 -1
- package/lib-commonjs/utilities/image-export-utils.d.ts +0 -13
- package/lib-commonjs/utilities/image-export-utils.js +0 -243
- package/lib-commonjs/utilities/image-export-utils.js.map +0 -1
- package/lib-commonjs/utilities/index.d.ts +0 -5
- package/lib-commonjs/utilities/index.js +0 -9
- package/lib-commonjs/utilities/index.js.map +0 -1
- package/lib-commonjs/utilities/locale-util.d.ts +0 -3
- package/lib-commonjs/utilities/locale-util.js +0 -22
- package/lib-commonjs/utilities/locale-util.js.map +0 -1
- package/lib-commonjs/utilities/test-data.d.ts +0 -43
- package/lib-commonjs/utilities/test-data.js +0 -265
- package/lib-commonjs/utilities/test-data.js.map +0 -1
- package/lib-commonjs/utilities/utilities.d.ts +0 -418
- package/lib-commonjs/utilities/utilities.js +0 -1269
- package/lib-commonjs/utilities/utilities.js.map +0 -1
- package/lib-commonjs/utilities/vbc-utils.d.ts +0 -2
- package/lib-commonjs/utilities/vbc-utils.js +0 -36
- package/lib-commonjs/utilities/vbc-utils.js.map +0 -1
- package/lib-commonjs/version.d.ts +0 -1
- package/lib-commonjs/version.js +0 -7
- package/lib-commonjs/version.js.map +0 -1
|
@@ -1,178 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getGradientFromToken = exports.getNextGradient = exports.DataVizGradientPalette = void 0;
|
|
4
|
-
exports.DataVizGradientPalette = {
|
|
5
|
-
gradient1: 'default.1',
|
|
6
|
-
gradient2: 'default.2',
|
|
7
|
-
gradient3: 'default.3',
|
|
8
|
-
gradient4: 'default.4',
|
|
9
|
-
gradient5: 'default.5',
|
|
10
|
-
gradient6: 'default.6',
|
|
11
|
-
gradient7: 'default.7',
|
|
12
|
-
gradient8: 'default.8',
|
|
13
|
-
gradient9: 'default.9',
|
|
14
|
-
gradient10: 'default.10',
|
|
15
|
-
// extended gradients
|
|
16
|
-
gradient1Ext: 'extended.1',
|
|
17
|
-
gradient2Ext: 'extended.2',
|
|
18
|
-
gradient3Ext: 'extended.3',
|
|
19
|
-
gradient4Ext: 'extended.4',
|
|
20
|
-
gradient5Ext: 'extended.5',
|
|
21
|
-
gradient6Ext: 'extended.6',
|
|
22
|
-
gradient7Ext: 'extended.7',
|
|
23
|
-
gradient8Ext: 'extended.8',
|
|
24
|
-
gradient9Ext: 'extended.9',
|
|
25
|
-
gradient10Ext: 'extended.10',
|
|
26
|
-
// status gradients
|
|
27
|
-
success: 'semantic.success',
|
|
28
|
-
highSuccess: 'semantic.highSuccess',
|
|
29
|
-
warning: 'semantic.warning',
|
|
30
|
-
error: 'semantic.error',
|
|
31
|
-
highError: 'semantic.highError',
|
|
32
|
-
disabled: 'semantic.disabled',
|
|
33
|
-
};
|
|
34
|
-
var defaultGradientPalette = {
|
|
35
|
-
'1': [
|
|
36
|
-
['#4760D5', '#637CEF'], // [cornflower.shade10, cornflower.tint10],
|
|
37
|
-
['#4F6BED', '#637CEF'], // [cornflower.shade10, cornflower.tint10],
|
|
38
|
-
],
|
|
39
|
-
'2': [
|
|
40
|
-
['#795AA6', '#9373C0'], // [orchid.shade20, orchid.tint10],
|
|
41
|
-
['#8764B8', '#A083C9'], // [orchid.primary, orchid.tint20],
|
|
42
|
-
],
|
|
43
|
-
'3': [
|
|
44
|
-
['#159195', '#2AA0A4'], // [teal.tint10, teal.tint20],
|
|
45
|
-
['#159195', '#2AA0A4'], // [teal.tint10, teal.tint20],
|
|
46
|
-
],
|
|
47
|
-
'4': [
|
|
48
|
-
['#B146C2', '#C36BD1'], // [lilac.primary, lilac.tint20],
|
|
49
|
-
['#B146C2', '#C36BD1'], // [lilac.primary, lilac.tint20],
|
|
50
|
-
],
|
|
51
|
-
'5': [
|
|
52
|
-
['#3487C7', '#3A96DD'], // [lightBlue.shade10, lightBlue.primary],
|
|
53
|
-
['#3487C7', '#3A96DD'], // [lightBlue.shade20, lightBlue.primary],
|
|
54
|
-
],
|
|
55
|
-
'6': [
|
|
56
|
-
['#0E7A0B', '#13A10E'], // [lightGreen.shade20, lightGreen.primary],
|
|
57
|
-
['#11910D', '#27AC22'], // [lightGreen.shade10, lightGreen.tint10],
|
|
58
|
-
],
|
|
59
|
-
'7': [
|
|
60
|
-
['#E61C99', '#EE5FB7'], // [hotPink.tint10, hotPink.tint30],
|
|
61
|
-
['#E61C99', '#EE5FB7'], // [hotPink.tint10, hotPink.tint30],
|
|
62
|
-
],
|
|
63
|
-
'8': [
|
|
64
|
-
['#CA5010', '#D77440'], // [pumpkin.primary, pumpkin.tint20],
|
|
65
|
-
['#CA5010', '#D77440'], // [pumpkin.primary, pumpkin.tint10],
|
|
66
|
-
],
|
|
67
|
-
'9': [
|
|
68
|
-
['#57811B', '#689920'], // [lime.shade20, lime.shade10],
|
|
69
|
-
['#57811B', '#689920'], // [lime.shade20, lime.shade10],
|
|
70
|
-
],
|
|
71
|
-
'10': [
|
|
72
|
-
['#937700', '#AE8C00'], // [gold.shade20, gold.shade10],
|
|
73
|
-
['#937700', '#AE8C00'], // [gold.shade20, gold.shade10],
|
|
74
|
-
],
|
|
75
|
-
};
|
|
76
|
-
var extendedGradientPalette = {
|
|
77
|
-
'1': [
|
|
78
|
-
['#2C3C85', '#3C51B4'], // [cornflower.shade30, cornflower.shade20],
|
|
79
|
-
['#93A4F4', '#C8D1FA'], // [cornflower.tint30, cornflower.tint40],
|
|
80
|
-
],
|
|
81
|
-
'2': [
|
|
82
|
-
['#4C3867', '#674C8C'], // [orchid.shade30, orchid.shade20],
|
|
83
|
-
['#A083C9', '#B29AD4'], // [orchid.tint20, orchid.tint30],
|
|
84
|
-
],
|
|
85
|
-
'3': [
|
|
86
|
-
['#02494C', '#038387'], // [teal.shade30, teal.primary],
|
|
87
|
-
['#4CB4B7', '#9BD9DB'], // [teal.tint30, teal.tint40],
|
|
88
|
-
],
|
|
89
|
-
'4': [
|
|
90
|
-
['#63276D', '#863593'], // [lilac.shade30, lilac.shade20],
|
|
91
|
-
['#C36BD1', '#CF87DA'], // [lilac.tint20, lilac.tint30],
|
|
92
|
-
],
|
|
93
|
-
'5': [
|
|
94
|
-
['#20547C', '#2C72A8'], // [lightBlue.shade30, lightBlue.shade20],
|
|
95
|
-
['#4FA1E1', '#83BDEB'], // [lightBlue.tint10, lightBlue.tint30],
|
|
96
|
-
],
|
|
97
|
-
'6': [
|
|
98
|
-
['#0B5A08', '#0E7A0B'], // [lightGreen.shade30, lightGreen.shade20],
|
|
99
|
-
['#27AC22', '#5EC75A'], // [lightGreen.tint10, lightGreen.tint30],
|
|
100
|
-
],
|
|
101
|
-
'7': [
|
|
102
|
-
['#AD006A', '#E3008C'], // [hotPink.shade20, hotPink.primary],
|
|
103
|
-
['#EE5FB7', '#F7ADDA'], // [hotPink.tint30, hotPink.tint40],
|
|
104
|
-
],
|
|
105
|
-
'8': [
|
|
106
|
-
['#9A3D0C', '#CA5010'], // [pumpkin.shade20, pumpkin.primary],
|
|
107
|
-
['#D77440', '#DF8E64'], // [pumpkin.tint20, pumpkin.tint30],
|
|
108
|
-
],
|
|
109
|
-
'9': [
|
|
110
|
-
['#405F14', '#57811B'], // [lime.shade30, lime.shade20],
|
|
111
|
-
['#73AA24', '#A4CC6C'], // [lime.primary, lime.tint30],
|
|
112
|
-
],
|
|
113
|
-
'10': [
|
|
114
|
-
['#6D5700', '#937700'], // [gold.shade30, gold.shade20],
|
|
115
|
-
['#D0B232', '#DAC157'], // [gold.tint20, gold.tint30],
|
|
116
|
-
],
|
|
117
|
-
};
|
|
118
|
-
var semanticGradientPalette = {
|
|
119
|
-
success: [
|
|
120
|
-
['#0C5E0C', '#107C10'], // [green.shade20, green.primary],
|
|
121
|
-
['#218C21', '#359B35'], // [green.tint10, green.tint20],
|
|
122
|
-
],
|
|
123
|
-
highSuccess: [
|
|
124
|
-
['#107C10', '#359B35'], // [green.primary, green.tint20],
|
|
125
|
-
['#359B35', '#9FD89F'], // [green.tint20, green.tint40],
|
|
126
|
-
],
|
|
127
|
-
warning: [
|
|
128
|
-
['#DE590B', '#F7630C'], // [orange.shade10, orange.primary],
|
|
129
|
-
['#DE590B', '#F87528'], // [orange.shade10, orange.tint10],
|
|
130
|
-
],
|
|
131
|
-
error: [
|
|
132
|
-
['#B10E1C', '#CC2635'], // [cranberry.shade10, cranberry.tint10],
|
|
133
|
-
['#D33F4C', '#EEACB2'], // [cranberry.tint20, cranberry.tint40],
|
|
134
|
-
],
|
|
135
|
-
highError: [
|
|
136
|
-
['#6E0811', '#B10E1C'], // [cranberry.shade30, cranberry.shade10],
|
|
137
|
-
['#D33F4C', '#DC626D'], // [cranberry.tint20, cranberry.tint30],
|
|
138
|
-
],
|
|
139
|
-
disabled: [
|
|
140
|
-
['#E6E6E6', '#E6E6E6'],
|
|
141
|
-
['#E6E6E6', '#E6E6E6'],
|
|
142
|
-
],
|
|
143
|
-
};
|
|
144
|
-
var Gradients = {
|
|
145
|
-
default: defaultGradientPalette, // base gradients
|
|
146
|
-
semantic: semanticGradientPalette, // status gradients
|
|
147
|
-
extended: extendedGradientPalette, // extended gradients
|
|
148
|
-
};
|
|
149
|
-
var DEFAULT_COLORS = Object.values(defaultGradientPalette);
|
|
150
|
-
var TOKENS = Object.values(exports.DataVizGradientPalette);
|
|
151
|
-
var getThemeSpecificGradient = function (gradients, isDarkTheme) {
|
|
152
|
-
if (gradients.length === 0) {
|
|
153
|
-
return ['', ''];
|
|
154
|
-
}
|
|
155
|
-
var colorIdx = Number(isDarkTheme);
|
|
156
|
-
if (colorIdx < gradients.length) {
|
|
157
|
-
return gradients[colorIdx];
|
|
158
|
-
}
|
|
159
|
-
return gradients[0];
|
|
160
|
-
};
|
|
161
|
-
var getNextGradient = function (index, offset, isDarkTheme) {
|
|
162
|
-
if (offset === void 0) { offset = 0; }
|
|
163
|
-
if (isDarkTheme === void 0) { isDarkTheme = false; }
|
|
164
|
-
var gradients = DEFAULT_COLORS[(index + offset) % DEFAULT_COLORS.length];
|
|
165
|
-
return getThemeSpecificGradient(gradients, isDarkTheme);
|
|
166
|
-
};
|
|
167
|
-
exports.getNextGradient = getNextGradient;
|
|
168
|
-
var getGradientFromToken = function (token, isDarkTheme) {
|
|
169
|
-
if (isDarkTheme === void 0) { isDarkTheme = false; }
|
|
170
|
-
if (TOKENS.indexOf(token) >= 0) {
|
|
171
|
-
var _a = token.split('.'), paletteName = _a[0], colorCode = _a[1];
|
|
172
|
-
var colors = Gradients[paletteName][colorCode];
|
|
173
|
-
return getThemeSpecificGradient(colors, isDarkTheme);
|
|
174
|
-
}
|
|
175
|
-
return [token, token];
|
|
176
|
-
};
|
|
177
|
-
exports.getGradientFromToken = getGradientFromToken;
|
|
178
|
-
//# sourceMappingURL=gradients.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"gradients.js","sourceRoot":"../src/","sources":["utilities/gradients.ts"],"names":[],"mappings":";;;AAAa,QAAA,sBAAsB,GAAG;IACpC,SAAS,EAAE,WAAW;IACtB,SAAS,EAAE,WAAW;IACtB,SAAS,EAAE,WAAW;IACtB,SAAS,EAAE,WAAW;IACtB,SAAS,EAAE,WAAW;IACtB,SAAS,EAAE,WAAW;IACtB,SAAS,EAAE,WAAW;IACtB,SAAS,EAAE,WAAW;IACtB,SAAS,EAAE,WAAW;IACtB,UAAU,EAAE,YAAY;IACxB,qBAAqB;IACrB,YAAY,EAAE,YAAY;IAC1B,YAAY,EAAE,YAAY;IAC1B,YAAY,EAAE,YAAY;IAC1B,YAAY,EAAE,YAAY;IAC1B,YAAY,EAAE,YAAY;IAC1B,YAAY,EAAE,YAAY;IAC1B,YAAY,EAAE,YAAY;IAC1B,YAAY,EAAE,YAAY;IAC1B,YAAY,EAAE,YAAY;IAC1B,aAAa,EAAE,aAAa;IAC5B,mBAAmB;IACnB,OAAO,EAAE,kBAAkB;IAC3B,WAAW,EAAE,sBAAsB;IACnC,OAAO,EAAE,kBAAkB;IAC3B,KAAK,EAAE,gBAAgB;IACvB,SAAS,EAAE,oBAAoB;IAC/B,QAAQ,EAAE,mBAAmB;CAC9B,CAAC;AAgBF,IAAM,sBAAsB,GAAoB;IAC9C,GAAG,EA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E,EAAE,EAAE,CAAC,CAAC;IAClB,CAAC;IAED,IAAM,QAAQ,GAAG,MAAM,CAAC,WAAW,CAAC,CAAC;IAErC,IAAI,QAAQ,GAAG,SAAS,CAAC,MAAM,EAAE,CAAC;QAChC,OAAO,SAAS,CAAC,QAAQ,CAAC,CAAC;IAC7B,CAAC;IAED,OAAO,SAAS,CAAC,CAAC,CAAC,CAAC;AACtB,CAAC,CAAC;AAEK,IAAM,eAAe,GAAG,UAAC,KAAa,EAAE,MAAkB,EAAE,WAA4B;IAAhD,uBAAA,EAAA,UAAkB;IAAE,4BAAA,EAAA,mBAA4B;IAC7F,IAAM,SAAS,GAAG,cAAc,CAAC,CAAC,KAAK,GAAG,MAAM,CAAC,GAAG,cAAc,CAAC,MAAM,CAAC,CAAC;IAC3E,OAAO,wBAAwB,CAAC,SAAS,EAAE,WAAW,CAAC,CAAC;AAC1D,CAAC,CAAC;AAHW,QAAA,eAAe,mBAG1B;AAEK,IAAM,oBAAoB,GAAG,UAAC,KAAa,EAAE,WAA4B;IAA5B,4BAAA,EAAA,mBAA4B;IAC9E,IAAI,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC;QACzB,IAAA,KAA2B,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC,EAA1C,WAAW,QAAA,EAAE,SAAS,QAAoB,CAAC;QAClD,IAAM,MAAM,GAAG,SAAS,CAAC,WAAW,CAAC,CAAC,SAAS,CAAC,CAAC;QAEjD,OAAO,wBAAwB,CAAC,MAAM,EAAE,WAAW,CAAC,CAAC;IACvD,CAAC;IACD,OAAO,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;AACxB,CAAC,CAAC;AARW,QAAA,oBAAoB,wBAQ/B","sourcesContent":["export const DataVizGradientPalette = {\n gradient1: 'default.1',\n gradient2: 'default.2',\n gradient3: 'default.3',\n gradient4: 'default.4',\n gradient5: 'default.5',\n gradient6: 'default.6',\n gradient7: 'default.7',\n gradient8: 'default.8',\n gradient9: 'default.9',\n gradient10: 'default.10',\n // extended gradients\n gradient1Ext: 'extended.1',\n gradient2Ext: 'extended.2',\n gradient3Ext: 'extended.3',\n gradient4Ext: 'extended.4',\n gradient5Ext: 'extended.5',\n gradient6Ext: 'extended.6',\n gradient7Ext: 'extended.7',\n gradient8Ext: 'extended.8',\n gradient9Ext: 'extended.9',\n gradient10Ext: 'extended.10',\n // status gradients\n success: 'semantic.success',\n highSuccess: 'semantic.highSuccess',\n warning: 'semantic.warning',\n error: 'semantic.error',\n highError: 'semantic.highError',\n disabled: 'semantic.disabled',\n};\n\n/**\n * Key: Color code.\n * Value:\n *\n * Index 0 - Default gradient for light theme\n * ├── Index 0 - start color of gradient\n * └── Index 1 - end color of gradient\n *\n * Index 1 - gradient for dark theme\n * ├── Index 0 - start color of gradient\n * └── Index 1 - end color of gradient\n */\ntype GradientPalette = { [key: string]: [string, string][] };\n\nconst defaultGradientPalette: GradientPalette = {\n '1': [\n ['#4760D5', '#637CEF'], // [cornflower.shade10, cornflower.tint10],\n ['#4F6BED', '#637CEF'], // [cornflower.shade10, cornflower.tint10],\n ],\n '2': [\n ['#795AA6', '#9373C0'], // [orchid.shade20, orchid.tint10],\n ['#8764B8', '#A083C9'], // [orchid.primary, orchid.tint20],\n ],\n '3': [\n ['#159195', '#2AA0A4'], // [teal.tint10, teal.tint20],\n ['#159195', '#2AA0A4'], // [teal.tint10, teal.tint20],\n ],\n '4': [\n ['#B146C2', '#C36BD1'], // [lilac.primary, lilac.tint20],\n ['#B146C2', '#C36BD1'], // [lilac.primary, lilac.tint20],\n ],\n '5': [\n ['#3487C7', '#3A96DD'], // [lightBlue.shade10, lightBlue.primary],\n ['#3487C7', '#3A96DD'], // [lightBlue.shade20, lightBlue.primary],\n ],\n '6': [\n ['#0E7A0B', '#13A10E'], // [lightGreen.shade20, lightGreen.primary],\n ['#11910D', '#27AC22'], // [lightGreen.shade10, lightGreen.tint10],\n ],\n '7': [\n ['#E61C99', '#EE5FB7'], // [hotPink.tint10, hotPink.tint30],\n ['#E61C99', '#EE5FB7'], // [hotPink.tint10, hotPink.tint30],\n ],\n '8': [\n ['#CA5010', '#D77440'], // [pumpkin.primary, pumpkin.tint20],\n ['#CA5010', '#D77440'], // [pumpkin.primary, pumpkin.tint10],\n ],\n '9': [\n ['#57811B', '#689920'], // [lime.shade20, lime.shade10],\n ['#57811B', '#689920'], // [lime.shade20, lime.shade10],\n ],\n '10': [\n ['#937700', '#AE8C00'], // [gold.shade20, gold.shade10],\n ['#937700', '#AE8C00'], // [gold.shade20, gold.shade10],\n ],\n};\n\nconst extendedGradientPalette: GradientPalette = {\n '1': [\n ['#2C3C85', '#3C51B4'], // [cornflower.shade30, cornflower.shade20],\n ['#93A4F4', '#C8D1FA'], // [cornflower.tint30, cornflower.tint40],\n ],\n '2': [\n ['#4C3867', '#674C8C'], // [orchid.shade30, orchid.shade20],\n ['#A083C9', '#B29AD4'], // [orchid.tint20, orchid.tint30],\n ],\n '3': [\n ['#02494C', '#038387'], // [teal.shade30, teal.primary],\n ['#4CB4B7', '#9BD9DB'], // [teal.tint30, teal.tint40],\n ],\n '4': [\n ['#63276D', '#863593'], // [lilac.shade30, lilac.shade20],\n ['#C36BD1', '#CF87DA'], // [lilac.tint20, lilac.tint30],\n ],\n '5': [\n ['#20547C', '#2C72A8'], // [lightBlue.shade30, lightBlue.shade20],\n ['#4FA1E1', '#83BDEB'], // [lightBlue.tint10, lightBlue.tint30],\n ],\n '6': [\n ['#0B5A08', '#0E7A0B'], // [lightGreen.shade30, lightGreen.shade20],\n ['#27AC22', '#5EC75A'], // [lightGreen.tint10, lightGreen.tint30],\n ],\n '7': [\n ['#AD006A', '#E3008C'], // [hotPink.shade20, hotPink.primary],\n ['#EE5FB7', '#F7ADDA'], // [hotPink.tint30, hotPink.tint40],\n ],\n '8': [\n ['#9A3D0C', '#CA5010'], // [pumpkin.shade20, pumpkin.primary],\n ['#D77440', '#DF8E64'], // [pumpkin.tint20, pumpkin.tint30],\n ],\n '9': [\n ['#405F14', '#57811B'], // [lime.shade30, lime.shade20],\n ['#73AA24', '#A4CC6C'], // [lime.primary, lime.tint30],\n ],\n '10': [\n ['#6D5700', '#937700'], // [gold.shade30, gold.shade20],\n ['#D0B232', '#DAC157'], // [gold.tint20, gold.tint30],\n ],\n};\n\nconst semanticGradientPalette: GradientPalette = {\n success: [\n ['#0C5E0C', '#107C10'], // [green.shade20, green.primary],\n ['#218C21', '#359B35'], // [green.tint10, green.tint20],\n ],\n highSuccess: [\n ['#107C10', '#359B35'], // [green.primary, green.tint20],\n ['#359B35', '#9FD89F'], // [green.tint20, green.tint40],\n ],\n warning: [\n ['#DE590B', '#F7630C'], // [orange.shade10, orange.primary],\n ['#DE590B', '#F87528'], // [orange.shade10, orange.tint10],\n ],\n error: [\n ['#B10E1C', '#CC2635'], // [cranberry.shade10, cranberry.tint10],\n ['#D33F4C', '#EEACB2'], // [cranberry.tint20, cranberry.tint40],\n ],\n highError: [\n ['#6E0811', '#B10E1C'], // [cranberry.shade30, cranberry.shade10],\n ['#D33F4C', '#DC626D'], // [cranberry.tint20, cranberry.tint30],\n ],\n disabled: [\n ['#E6E6E6', '#E6E6E6'],\n ['#E6E6E6', '#E6E6E6'],\n ],\n};\n\nconst Gradients: { [key: string]: GradientPalette } = {\n default: defaultGradientPalette, // base gradients\n semantic: semanticGradientPalette, // status gradients\n extended: extendedGradientPalette, // extended gradients\n};\n\nconst DEFAULT_COLORS = Object.values(defaultGradientPalette);\nconst TOKENS = Object.values(DataVizGradientPalette);\n\nconst getThemeSpecificGradient = (gradients: [string, string][], isDarkTheme: boolean): [string, string] => {\n if (gradients.length === 0) {\n return ['', ''];\n }\n\n const colorIdx = Number(isDarkTheme);\n\n if (colorIdx < gradients.length) {\n return gradients[colorIdx];\n }\n\n return gradients[0];\n};\n\nexport const getNextGradient = (index: number, offset: number = 0, isDarkTheme: boolean = false): [string, string] => {\n const gradients = DEFAULT_COLORS[(index + offset) % DEFAULT_COLORS.length];\n return getThemeSpecificGradient(gradients, isDarkTheme);\n};\n\nexport const getGradientFromToken = (token: string, isDarkTheme: boolean = false): [string, string] => {\n if (TOKENS.indexOf(token) >= 0) {\n const [paletteName, colorCode] = token.split('.');\n const colors = Gradients[paletteName][colorCode];\n\n return getThemeSpecificGradient(colors, isDarkTheme);\n }\n return [token, token];\n};\n"]}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { IImageExportOptions } from '../types/index';
|
|
2
|
-
import { ILegend, ILegendContainer } from '../Legends';
|
|
3
|
-
export declare function toImage(chartContainer: HTMLElement | null | undefined, legendsToSvgCallback?: ILegendContainer['toSVG'], isRTL?: boolean, opts?: IImageExportOptions): Promise<string>;
|
|
4
|
-
export declare function cloneLegendsToSVG(legends: ILegend[], svgWidth: number, config: {
|
|
5
|
-
selectedLegends: Record<string, boolean>;
|
|
6
|
-
centerLegends: boolean;
|
|
7
|
-
textClassName: string;
|
|
8
|
-
isRTL: boolean;
|
|
9
|
-
}, legendContainer?: HTMLElement | null): {
|
|
10
|
-
node: SVGGElement | null;
|
|
11
|
-
width: number;
|
|
12
|
-
height: number;
|
|
13
|
-
};
|
|
@@ -1,243 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.cloneLegendsToSVG = exports.toImage = void 0;
|
|
4
|
-
var tslib_1 = require("tslib");
|
|
5
|
-
var d3_selection_1 = require("d3-selection");
|
|
6
|
-
var index_1 = require("./index");
|
|
7
|
-
var Legends_styles_1 = require("../components/Legends/Legends.styles");
|
|
8
|
-
function toImage(chartContainer, legendsToSvgCallback, isRTL, opts) {
|
|
9
|
-
if (isRTL === void 0) { isRTL = false; }
|
|
10
|
-
if (opts === void 0) { opts = {}; }
|
|
11
|
-
return new Promise(function (resolve, reject) {
|
|
12
|
-
if (!chartContainer) {
|
|
13
|
-
return reject(new Error('Chart container is not defined'));
|
|
14
|
-
}
|
|
15
|
-
try {
|
|
16
|
-
var background = typeof opts.background === 'string' ? (0, index_1.resolveCSSVariables)(chartContainer, opts.background) : 'transparent';
|
|
17
|
-
var svg = toSVG(chartContainer, legendsToSvgCallback, isRTL, background);
|
|
18
|
-
var svgData = new XMLSerializer().serializeToString(svg.node);
|
|
19
|
-
var svgDataUrl = 'data:image/svg+xml;base64,' + btoa(unescapePonyfill(encodeURIComponent(svgData)));
|
|
20
|
-
svgToPng(svgDataUrl, {
|
|
21
|
-
width: opts.width || svg.width,
|
|
22
|
-
height: opts.height || svg.height,
|
|
23
|
-
scale: opts.scale,
|
|
24
|
-
})
|
|
25
|
-
.then(resolve)
|
|
26
|
-
.catch(reject);
|
|
27
|
-
}
|
|
28
|
-
catch (err) {
|
|
29
|
-
return reject(err);
|
|
30
|
-
}
|
|
31
|
-
});
|
|
32
|
-
}
|
|
33
|
-
exports.toImage = toImage;
|
|
34
|
-
var SVG_STYLE_PROPERTIES = ['display', 'fill', 'fill-opacity', 'opacity', 'stroke', 'stroke-width', 'transform'];
|
|
35
|
-
var SVG_TEXT_STYLE_PROPERTIES = ['font-family', 'font-size', 'font-weight', 'text-anchor'];
|
|
36
|
-
function toSVG(chartContainer, legendsToSvgCallback, isRTL, background) {
|
|
37
|
-
var svg = chartContainer.querySelector('svg');
|
|
38
|
-
if (!svg) {
|
|
39
|
-
throw new Error('SVG not found');
|
|
40
|
-
}
|
|
41
|
-
var clonedSvg = (0, d3_selection_1.select)(svg.cloneNode(true))
|
|
42
|
-
.attr('width', null)
|
|
43
|
-
.attr('height', null)
|
|
44
|
-
.attr('viewBox', null);
|
|
45
|
-
var svgElements = svg.getElementsByTagName('*');
|
|
46
|
-
var clonedSvgElements = clonedSvg.node().getElementsByTagName('*');
|
|
47
|
-
for (var i = 0; i < svgElements.length; i++) {
|
|
48
|
-
if (svgElements[i].tagName.toLowerCase() === 'text') {
|
|
49
|
-
(0, index_1.copyStyle)(tslib_1.__spreadArray(tslib_1.__spreadArray([], SVG_STYLE_PROPERTIES, true), SVG_TEXT_STYLE_PROPERTIES, true), svgElements[i], clonedSvgElements[i]);
|
|
50
|
-
}
|
|
51
|
-
else {
|
|
52
|
-
(0, index_1.copyStyle)(SVG_STYLE_PROPERTIES, svgElements[i], clonedSvgElements[i]);
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
var _a = svg.getBoundingClientRect(), svgWidth = _a.width, svgHeight = _a.height;
|
|
56
|
-
var legendGroup = typeof legendsToSvgCallback === 'function'
|
|
57
|
-
? legendsToSvgCallback(svgWidth, isRTL)
|
|
58
|
-
: { node: null, width: 0, height: 0 };
|
|
59
|
-
var w1 = Math.max(svgWidth, legendGroup.width);
|
|
60
|
-
var h1 = svgHeight + legendGroup.height;
|
|
61
|
-
if (legendGroup.node) {
|
|
62
|
-
(0, d3_selection_1.select)(legendGroup.node).attr('transform', "translate(0, ".concat(svgHeight, ")"));
|
|
63
|
-
clonedSvg.append(function () { return legendGroup.node; });
|
|
64
|
-
}
|
|
65
|
-
clonedSvg
|
|
66
|
-
.insert('rect', ':first-child')
|
|
67
|
-
.attr('x', 0)
|
|
68
|
-
.attr('y', 0)
|
|
69
|
-
.attr('width', w1)
|
|
70
|
-
.attr('height', h1)
|
|
71
|
-
.attr('fill', background);
|
|
72
|
-
clonedSvg
|
|
73
|
-
.attr('width', w1)
|
|
74
|
-
.attr('height', h1)
|
|
75
|
-
.attr('viewBox', "0 0 ".concat(w1, " ").concat(h1))
|
|
76
|
-
.attr('direction', isRTL ? 'rtl' : 'ltr');
|
|
77
|
-
return {
|
|
78
|
-
node: clonedSvg.node(),
|
|
79
|
-
width: w1,
|
|
80
|
-
height: h1,
|
|
81
|
-
};
|
|
82
|
-
}
|
|
83
|
-
var LEGEND_TEXT_STYLE_PROPERTIES_MAP = {
|
|
84
|
-
color: 'fill',
|
|
85
|
-
'font-family': 'font-family',
|
|
86
|
-
'font-size': 'font-size',
|
|
87
|
-
'font-weight': 'font-weight',
|
|
88
|
-
};
|
|
89
|
-
function cloneLegendsToSVG(legends, svgWidth, config, legendContainer) {
|
|
90
|
-
if (legends.length === 0) {
|
|
91
|
-
return {
|
|
92
|
-
node: null,
|
|
93
|
-
width: 0,
|
|
94
|
-
height: 0,
|
|
95
|
-
};
|
|
96
|
-
}
|
|
97
|
-
var selectedLegends = config.selectedLegends, centerLegends = config.centerLegends, textClassName = config.textClassName, isRTL = config.isRTL;
|
|
98
|
-
var legendGroup = (0, d3_selection_1.create)('svg:g');
|
|
99
|
-
var legendX = centerLegends ? 0 : Legends_styles_1.LEGEND_CONTAINER_MARGIN_START;
|
|
100
|
-
var legendY = Legends_styles_1.LEGEND_CONTAINER_MARGIN_TOP;
|
|
101
|
-
var legendLine = [];
|
|
102
|
-
var legendLines = [];
|
|
103
|
-
var legendLineWidths = [];
|
|
104
|
-
var noLegendsSelected = Object.keys(selectedLegends).length === 0;
|
|
105
|
-
var _loop_1 = function (i) {
|
|
106
|
-
var textOffset = Legends_styles_1.LEGEND_PADDING + Legends_styles_1.LEGEND_SHAPE_SIZE + Legends_styles_1.LEGEND_SHAPE_MARGIN_END;
|
|
107
|
-
var legendText = (0, index_1.createMeasurementSpan)(legends[i].title, textClassName, legendContainer);
|
|
108
|
-
var legendWidth = textOffset + legendText.getBoundingClientRect().width + Legends_styles_1.LEGEND_PADDING;
|
|
109
|
-
var legendItem = legendGroup.append('g');
|
|
110
|
-
legendLine.push({ elem: legendItem, width: legendWidth });
|
|
111
|
-
if (legendX + legendWidth > svgWidth && legendLine.length > 1) {
|
|
112
|
-
legendLine.pop();
|
|
113
|
-
legendLines.push(legendLine);
|
|
114
|
-
legendLineWidths.push(legendX);
|
|
115
|
-
legendLine = [{ elem: legendItem, width: legendWidth }];
|
|
116
|
-
legendX = centerLegends ? 0 : Legends_styles_1.LEGEND_CONTAINER_MARGIN_START;
|
|
117
|
-
legendY += Legends_styles_1.LEGEND_HEIGHT;
|
|
118
|
-
}
|
|
119
|
-
var isLegendActive = selectedLegends[legends[i].title] || noLegendsSelected;
|
|
120
|
-
legendItem
|
|
121
|
-
.append('rect')
|
|
122
|
-
.attr('x', legendX + (isRTL ? legendWidth - Legends_styles_1.LEGEND_PADDING - Legends_styles_1.LEGEND_SHAPE_SIZE : Legends_styles_1.LEGEND_PADDING))
|
|
123
|
-
.attr('y', legendY + Legends_styles_1.LEGEND_PADDING)
|
|
124
|
-
.attr('width', Legends_styles_1.LEGEND_SHAPE_SIZE)
|
|
125
|
-
.attr('height', Legends_styles_1.LEGEND_SHAPE_SIZE)
|
|
126
|
-
.style('fill', isLegendActive ? legends[i].color : 'transparent')
|
|
127
|
-
.style('stroke-width', Legends_styles_1.LEGEND_SHAPE_BORDER)
|
|
128
|
-
.style('stroke', legends[i].color);
|
|
129
|
-
legendItem
|
|
130
|
-
.append('text')
|
|
131
|
-
.attr('x', legendX + (isRTL ? legendWidth - textOffset : textOffset))
|
|
132
|
-
.attr('y', legendY + Legends_styles_1.LEGEND_PADDING)
|
|
133
|
-
.attr('dominant-baseline', 'hanging')
|
|
134
|
-
.style('opacity', isLegendActive ? 1 : Legends_styles_1.INACTIVE_LEGEND_TEXT_OPACITY)
|
|
135
|
-
.text(legends[i].title)
|
|
136
|
-
.call(function (selection) { return (0, index_1.copyStyle)(LEGEND_TEXT_STYLE_PROPERTIES_MAP, legendText, selection.node()); });
|
|
137
|
-
legendX += legendWidth;
|
|
138
|
-
};
|
|
139
|
-
for (var i = 0; i < legends.length; i++) {
|
|
140
|
-
_loop_1(i);
|
|
141
|
-
}
|
|
142
|
-
legendLines.push(legendLine);
|
|
143
|
-
legendLineWidths.push(legendX);
|
|
144
|
-
legendY += Legends_styles_1.LEGEND_HEIGHT;
|
|
145
|
-
if (centerLegends) {
|
|
146
|
-
legendLines.forEach(function (ln, idx) {
|
|
147
|
-
var lineOffsetX = Math.max((svgWidth - legendLineWidths[idx]) / 2, 0);
|
|
148
|
-
var remLineWidth = legendLineWidths[idx];
|
|
149
|
-
var itemOffsetX = 0;
|
|
150
|
-
ln.forEach(function (item) {
|
|
151
|
-
var newOffsetX = lineOffsetX + (isRTL ? remLineWidth - item.width - itemOffsetX : 0);
|
|
152
|
-
item.elem.attr('transform', "translate(".concat(newOffsetX, ", 0)"));
|
|
153
|
-
remLineWidth -= item.width;
|
|
154
|
-
itemOffsetX += item.width;
|
|
155
|
-
});
|
|
156
|
-
});
|
|
157
|
-
}
|
|
158
|
-
else if (isRTL) {
|
|
159
|
-
var w1_1 = Math.max.apply(Math, tslib_1.__spreadArray([svgWidth], legendLineWidths, false));
|
|
160
|
-
legendLines.forEach(function (ln) {
|
|
161
|
-
var remLineWidth = w1_1 - Legends_styles_1.LEGEND_CONTAINER_MARGIN_START;
|
|
162
|
-
var itemOffsetX = Legends_styles_1.LEGEND_CONTAINER_MARGIN_START;
|
|
163
|
-
ln.forEach(function (item) {
|
|
164
|
-
var newOffsetX = remLineWidth - item.width - itemOffsetX;
|
|
165
|
-
item.elem.attr('transform', "translate(".concat(newOffsetX, ", 0)"));
|
|
166
|
-
remLineWidth -= item.width;
|
|
167
|
-
itemOffsetX += item.width;
|
|
168
|
-
});
|
|
169
|
-
});
|
|
170
|
-
}
|
|
171
|
-
return {
|
|
172
|
-
node: legendGroup.node(),
|
|
173
|
-
width: Math.max.apply(Math, legendLineWidths),
|
|
174
|
-
height: legendY,
|
|
175
|
-
};
|
|
176
|
-
}
|
|
177
|
-
exports.cloneLegendsToSVG = cloneLegendsToSVG;
|
|
178
|
-
function svgToPng(svgDataUrl, opts) {
|
|
179
|
-
if (opts === void 0) { opts = {}; }
|
|
180
|
-
return new Promise(function (resolve, reject) {
|
|
181
|
-
var scale = opts.scale || 1;
|
|
182
|
-
var w0 = opts.width || 300;
|
|
183
|
-
var h0 = opts.height || 150;
|
|
184
|
-
var w1 = scale * w0;
|
|
185
|
-
var h1 = scale * h0;
|
|
186
|
-
var canvas = document.createElement('canvas');
|
|
187
|
-
var img = new Image();
|
|
188
|
-
canvas.width = w1;
|
|
189
|
-
canvas.height = h1;
|
|
190
|
-
img.onload = function () {
|
|
191
|
-
var ctx = canvas.getContext('2d');
|
|
192
|
-
if (!ctx) {
|
|
193
|
-
return reject(new Error('Canvas context is null'));
|
|
194
|
-
}
|
|
195
|
-
ctx.clearRect(0, 0, w1, h1);
|
|
196
|
-
ctx.drawImage(img, 0, 0, w1, h1);
|
|
197
|
-
var imgData = canvas.toDataURL('image/png');
|
|
198
|
-
resolve(imgData);
|
|
199
|
-
};
|
|
200
|
-
img.onerror = function (err) {
|
|
201
|
-
reject(err);
|
|
202
|
-
};
|
|
203
|
-
img.src = svgDataUrl;
|
|
204
|
-
});
|
|
205
|
-
}
|
|
206
|
-
var hex2 = /^[\da-f]{2}$/i;
|
|
207
|
-
var hex4 = /^[\da-f]{4}$/i;
|
|
208
|
-
/**
|
|
209
|
-
* A ponyfill for the deprecated `unescape` method, taken from the `core-js` library.
|
|
210
|
-
*
|
|
211
|
-
* Source: {@link https://github.com/zloirock/core-js/blob/167136f479d3b8519953f2e4c534ecdd1031d3cf/packages/core-js/modules/es.unescape.js core-js/packages/core-js/modules/es.unescape.js}
|
|
212
|
-
*/
|
|
213
|
-
function unescapePonyfill(str) {
|
|
214
|
-
var result = '';
|
|
215
|
-
var length = str.length;
|
|
216
|
-
var index = 0;
|
|
217
|
-
var chr;
|
|
218
|
-
var part;
|
|
219
|
-
while (index < length) {
|
|
220
|
-
chr = str.charAt(index++);
|
|
221
|
-
if (chr === '%') {
|
|
222
|
-
if (str.charAt(index) === 'u') {
|
|
223
|
-
part = str.slice(index + 1, index + 5);
|
|
224
|
-
if (hex4.exec(part)) {
|
|
225
|
-
result += String.fromCharCode(parseInt(part, 16));
|
|
226
|
-
index += 5;
|
|
227
|
-
continue;
|
|
228
|
-
}
|
|
229
|
-
}
|
|
230
|
-
else {
|
|
231
|
-
part = str.slice(index, index + 2);
|
|
232
|
-
if (hex2.exec(part)) {
|
|
233
|
-
result += String.fromCharCode(parseInt(part, 16));
|
|
234
|
-
index += 2;
|
|
235
|
-
continue;
|
|
236
|
-
}
|
|
237
|
-
}
|
|
238
|
-
}
|
|
239
|
-
result += chr;
|
|
240
|
-
}
|
|
241
|
-
return result;
|
|
242
|
-
}
|
|
243
|
-
//# sourceMappingURL=image-export-utils.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"image-export-utils.js","sourceRoot":"../src/","sources":["utilities/image-export-utils.ts"],"names":[],"mappings":";;;;AAAA,6CAAiF;AACjF,iCAAgF;AAGhF,uEAS8C;AAE9C,SAAgB,OAAO,CACrB,cAA8C,EAC9C,oBAAgD,EAChD,KAAsB,EACtB,IAA8B;IAD9B,sBAAA,EAAA,aAAsB;IACtB,qBAAA,EAAA,SAA8B;IAE9B,OAAO,IAAI,OAAO,CAAC,UAAC,OAAO,EAAE,MAAM;QACjC,IAAI,CAAC,cAAc,EAAE,CAAC;YACpB,OAAO,MAAM,CAAC,IAAI,KAAK,CAAC,gCAAgC,CAAC,CAAC,CAAC;QAC7D,CAAC;QAED,IAAI,CAAC;YACH,IAAM,UAAU,GACd,OAAO,IAAI,CAAC,UAAU,KAAK,QAAQ,CAAC,CAAC,CAAC,IAAA,2BAAmB,EAAC,cAAc,EAAE,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,aAAa,CAAC;YAC7G,IAAM,GAAG,GAAG,KAAK,CAAC,cAAc,EAAE,oBAAoB,EAAE,KAAK,EAAE,UAAU,CAAC,CAAC;YAE3E,IAAM,OAAO,GAAG,IAAI,aAAa,EAAE,CAAC,iBAAiB,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;YAChE,IAAM,UAAU,GAAG,4BAA4B,GAAG,IAAI,CAAC,gBAAgB,CAAC,kBAAkB,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;YAEtG,QAAQ,CAAC,UAAU,EAAE;gBACnB,KAAK,EAAE,IAAI,CAAC,KAAK,IAAI,GAAG,CAAC,KAAK;gBAC9B,MAAM,EAAE,IAAI,CAAC,MAAM,IAAI,GAAG,CAAC,MAAM;gBACjC,KAAK,EAAE,IAAI,CAAC,K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YACH,CAAC;iBAAM,CAAC;gBACN,IAAI,GAAG,GAAG,CAAC,KAAK,CAAC,KAAK,EAAE,KAAK,GAAG,CAAC,CAAC,CAAC;gBACnC,IAAI,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC;oBACpB,MAAM,IAAI,MAAM,CAAC,YAAY,CAAC,QAAQ,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,CAAC;oBAClD,KAAK,IAAI,CAAC,CAAC;oBACX,SAAS;gBACX,CAAC;YACH,CAAC;QACH,CAAC;QACD,MAAM,IAAI,GAAG,CAAC;IAChB,CAAC;IACD,OAAO,MAAM,CAAC;AAChB,CAAC","sourcesContent":["import { create as d3Create, select as d3Select, Selection } from 'd3-selection';\nimport { copyStyle, createMeasurementSpan, resolveCSSVariables } from './index';\nimport { IImageExportOptions } from '../types/index';\nimport { ILegend, ILegendContainer } from '../Legends';\nimport {\n LEGEND_CONTAINER_MARGIN_TOP,\n LEGEND_CONTAINER_MARGIN_START,\n LEGEND_PADDING,\n LEGEND_HEIGHT,\n LEGEND_SHAPE_BORDER,\n LEGEND_SHAPE_SIZE,\n LEGEND_SHAPE_MARGIN_END,\n INACTIVE_LEGEND_TEXT_OPACITY,\n} from '../components/Legends/Legends.styles';\n\nexport function toImage(\n chartContainer: HTMLElement | null | undefined,\n legendsToSvgCallback?: ILegendContainer['toSVG'],\n isRTL: boolean = false,\n opts: IImageExportOptions = {},\n): Promise<string> {\n return new Promise((resolve, reject) => {\n if (!chartContainer) {\n return reject(new Error('Chart container is not defined'));\n }\n\n try {\n const background =\n typeof opts.background === 'string' ? resolveCSSVariables(chartContainer, opts.background) : 'transparent';\n const svg = toSVG(chartContainer, legendsToSvgCallback, isRTL, background);\n\n const svgData = new XMLSerializer().serializeToString(svg.node);\n const svgDataUrl = 'data:image/svg+xml;base64,' + btoa(unescapePonyfill(encodeURIComponent(svgData)));\n\n svgToPng(svgDataUrl, {\n width: opts.width || svg.width,\n height: opts.height || svg.height,\n scale: opts.scale,\n })\n .then(resolve)\n .catch(reject);\n } catch (err) {\n return reject(err);\n }\n });\n}\n\nconst SVG_STYLE_PROPERTIES = ['display', 'fill', 'fill-opacity', 'opacity', 'stroke', 'stroke-width', 'transform'];\nconst SVG_TEXT_STYLE_PROPERTIES = ['font-family', 'font-size', 'font-weight', 'text-anchor'];\n\nfunction toSVG(\n chartContainer: HTMLElement,\n legendsToSvgCallback: ILegendContainer['toSVG'] | undefined,\n isRTL: boolean,\n background: string,\n) {\n const svg = chartContainer.querySelector<SVGSVGElement>('svg');\n if (!svg) {\n throw new Error('SVG not found');\n }\n\n const clonedSvg = d3Select(svg.cloneNode(true) as SVGSVGElement)\n .attr('width', null)\n .attr('height', null)\n .attr('viewBox', null);\n const svgElements = svg.getElementsByTagName('*');\n const clonedSvgElements = clonedSvg.node()!.getElementsByTagName('*');\n\n for (let i = 0; i < svgElements.length; i++) {\n if (svgElements[i].tagName.toLowerCase() === 'text') {\n copyStyle([...SVG_STYLE_PROPERTIES, ...SVG_TEXT_STYLE_PROPERTIES], svgElements[i], clonedSvgElements[i]);\n } else {\n copyStyle(SVG_STYLE_PROPERTIES, svgElements[i], clonedSvgElements[i]);\n }\n }\n\n const { width: svgWidth, height: svgHeight } = svg.getBoundingClientRect();\n const legendGroup =\n typeof legendsToSvgCallback === 'function'\n ? legendsToSvgCallback(svgWidth, isRTL)\n : { node: null, width: 0, height: 0 };\n const w1 = Math.max(svgWidth, legendGroup.width);\n const h1 = svgHeight + legendGroup.height;\n\n if (legendGroup.node) {\n d3Select(legendGroup.node).attr('transform', `translate(0, ${svgHeight})`);\n clonedSvg.append(() => legendGroup.node);\n }\n clonedSvg\n .insert('rect', ':first-child')\n .attr('x', 0)\n .attr('y', 0)\n .attr('width', w1)\n .attr('height', h1)\n .attr('fill', background);\n clonedSvg\n .attr('width', w1)\n .attr('height', h1)\n .attr('viewBox', `0 0 ${w1} ${h1}`)\n .attr('direction', isRTL ? 'rtl' : 'ltr');\n\n return {\n node: clonedSvg.node()!,\n width: w1,\n height: h1,\n };\n}\n\nconst LEGEND_TEXT_STYLE_PROPERTIES_MAP = {\n color: 'fill',\n 'font-family': 'font-family',\n 'font-size': 'font-size',\n 'font-weight': 'font-weight',\n};\n\nexport function cloneLegendsToSVG(\n legends: ILegend[],\n svgWidth: number,\n config: {\n selectedLegends: Record<string, boolean>;\n centerLegends: boolean;\n textClassName: string;\n isRTL: boolean;\n },\n legendContainer?: HTMLElement | null,\n) {\n if (legends.length === 0) {\n return {\n node: null,\n width: 0,\n height: 0,\n };\n }\n\n const { selectedLegends, centerLegends, textClassName, isRTL } = config;\n const legendGroup = d3Create<SVGGElement>('svg:g');\n let legendX = centerLegends ? 0 : LEGEND_CONTAINER_MARGIN_START;\n let legendY = LEGEND_CONTAINER_MARGIN_TOP;\n let legendLine: { elem: Selection<SVGGElement, unknown, null, undefined>; width: number }[] = [];\n const legendLines: (typeof legendLine)[] = [];\n const legendLineWidths: number[] = [];\n const noLegendsSelected = Object.keys(selectedLegends).length === 0;\n\n for (let i = 0; i < legends.length; i++) {\n const textOffset = LEGEND_PADDING + LEGEND_SHAPE_SIZE + LEGEND_SHAPE_MARGIN_END;\n const legendText = createMeasurementSpan(legends[i].title, textClassName, legendContainer);\n const legendWidth = textOffset + legendText.getBoundingClientRect().width + LEGEND_PADDING;\n const legendItem = legendGroup.append('g');\n\n legendLine.push({ elem: legendItem, width: legendWidth });\n if (legendX + legendWidth > svgWidth && legendLine.length > 1) {\n legendLine.pop();\n legendLines.push(legendLine);\n legendLineWidths.push(legendX);\n\n legendLine = [{ elem: legendItem, width: legendWidth }];\n legendX = centerLegends ? 0 : LEGEND_CONTAINER_MARGIN_START;\n legendY += LEGEND_HEIGHT;\n }\n\n const isLegendActive = selectedLegends[legends[i].title] || noLegendsSelected;\n\n legendItem\n .append('rect')\n .attr('x', legendX + (isRTL ? legendWidth - LEGEND_PADDING - LEGEND_SHAPE_SIZE : LEGEND_PADDING))\n .attr('y', legendY + LEGEND_PADDING)\n .attr('width', LEGEND_SHAPE_SIZE)\n .attr('height', LEGEND_SHAPE_SIZE)\n .style('fill', isLegendActive ? legends[i].color : 'transparent')\n .style('stroke-width', LEGEND_SHAPE_BORDER)\n .style('stroke', legends[i].color);\n\n legendItem\n .append('text')\n .attr('x', legendX + (isRTL ? legendWidth - textOffset : textOffset))\n .attr('y', legendY + LEGEND_PADDING)\n .attr('dominant-baseline', 'hanging')\n .style('opacity', isLegendActive ? 1 : INACTIVE_LEGEND_TEXT_OPACITY)\n .text(legends[i].title)\n .call(selection => copyStyle(LEGEND_TEXT_STYLE_PROPERTIES_MAP, legendText, selection.node()!));\n\n legendX += legendWidth;\n }\n\n legendLines.push(legendLine);\n legendLineWidths.push(legendX);\n legendY += LEGEND_HEIGHT;\n\n if (centerLegends) {\n legendLines.forEach((ln, idx) => {\n const lineOffsetX = Math.max((svgWidth - legendLineWidths[idx]) / 2, 0);\n let remLineWidth = legendLineWidths[idx];\n let itemOffsetX = 0;\n ln.forEach(item => {\n const newOffsetX = lineOffsetX + (isRTL ? remLineWidth - item.width - itemOffsetX : 0);\n item.elem.attr('transform', `translate(${newOffsetX}, 0)`);\n remLineWidth -= item.width;\n itemOffsetX += item.width;\n });\n });\n } else if (isRTL) {\n const w1 = Math.max(svgWidth, ...legendLineWidths);\n legendLines.forEach(ln => {\n let remLineWidth = w1 - LEGEND_CONTAINER_MARGIN_START;\n let itemOffsetX = LEGEND_CONTAINER_MARGIN_START;\n ln.forEach(item => {\n const newOffsetX = remLineWidth - item.width - itemOffsetX;\n item.elem.attr('transform', `translate(${newOffsetX}, 0)`);\n remLineWidth -= item.width;\n itemOffsetX += item.width;\n });\n });\n }\n\n return {\n node: legendGroup.node(),\n width: Math.max(...legendLineWidths),\n height: legendY,\n };\n}\n\nfunction svgToPng(svgDataUrl: string, opts: IImageExportOptions = {}): Promise<string> {\n return new Promise((resolve, reject) => {\n const scale = opts.scale || 1;\n const w0 = opts.width || 300;\n const h0 = opts.height || 150;\n const w1 = scale * w0;\n const h1 = scale * h0;\n\n const canvas = document.createElement('canvas');\n const img = new Image();\n\n canvas.width = w1;\n canvas.height = h1;\n\n img.onload = function () {\n const ctx = canvas.getContext('2d');\n if (!ctx) {\n return reject(new Error('Canvas context is null'));\n }\n\n ctx.clearRect(0, 0, w1, h1);\n ctx.drawImage(img, 0, 0, w1, h1);\n\n const imgData = canvas.toDataURL('image/png');\n resolve(imgData);\n };\n\n img.onerror = function (err) {\n reject(err);\n };\n\n img.src = svgDataUrl;\n });\n}\n\nconst hex2 = /^[\\da-f]{2}$/i;\nconst hex4 = /^[\\da-f]{4}$/i;\n\n/**\n * A ponyfill for the deprecated `unescape` method, taken from the `core-js` library.\n *\n * Source: {@link https://github.com/zloirock/core-js/blob/167136f479d3b8519953f2e4c534ecdd1031d3cf/packages/core-js/modules/es.unescape.js core-js/packages/core-js/modules/es.unescape.js}\n */\nfunction unescapePonyfill(str: string) {\n let result = '';\n const length = str.length;\n let index = 0;\n let chr;\n let part;\n while (index < length) {\n chr = str.charAt(index++);\n if (chr === '%') {\n if (str.charAt(index) === 'u') {\n part = str.slice(index + 1, index + 5);\n if (hex4.exec(part)) {\n result += String.fromCharCode(parseInt(part, 16));\n index += 5;\n continue;\n }\n } else {\n part = str.slice(index, index + 2);\n if (hex2.exec(part)) {\n result += String.fromCharCode(parseInt(part, 16));\n index += 2;\n continue;\n }\n }\n }\n result += chr;\n }\n return result;\n}\n"]}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
var tslib_1 = require("tslib");
|
|
4
|
-
tslib_1.__exportStar(require("./ChartHoverCard/index"), exports);
|
|
5
|
-
tslib_1.__exportStar(require("./utilities"), exports);
|
|
6
|
-
tslib_1.__exportStar(require("./colors"), exports);
|
|
7
|
-
tslib_1.__exportStar(require("./gradients"), exports);
|
|
8
|
-
tslib_1.__exportStar(require("./vbc-utils"), exports);
|
|
9
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"../src/","sources":["utilities/index.ts"],"names":[],"mappings":";;;AAAA,iEAAuC;AACvC,sDAA4B;AAC5B,mDAAyB;AACzB,sDAA4B;AAC5B,sDAA4B","sourcesContent":["export * from './ChartHoverCard/index';\nexport * from './utilities';\nexport * from './colors';\nexport * from './gradients';\nexport * from './vbc-utils';\n"]}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.convertToLocaleString = void 0;
|
|
4
|
-
var convertToLocaleString = function (data, culture) {
|
|
5
|
-
if (!data) {
|
|
6
|
-
return data;
|
|
7
|
-
}
|
|
8
|
-
culture = culture || undefined;
|
|
9
|
-
if (typeof data === 'number') {
|
|
10
|
-
return data.toLocaleString(culture);
|
|
11
|
-
}
|
|
12
|
-
else if (typeof data === 'string' && !window.isNaN(Number(data))) {
|
|
13
|
-
var num = Number(data);
|
|
14
|
-
return num.toLocaleString(culture);
|
|
15
|
-
}
|
|
16
|
-
else if (data instanceof Date) {
|
|
17
|
-
return data.toLocaleDateString(culture);
|
|
18
|
-
}
|
|
19
|
-
return data;
|
|
20
|
-
};
|
|
21
|
-
exports.convertToLocaleString = convertToLocaleString;
|
|
22
|
-
//# sourceMappingURL=locale-util.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"locale-util.js","sourceRoot":"../src/","sources":["utilities/locale-util.ts"],"names":[],"mappings":";;;AACO,IAAM,qBAAqB,GAAG,UAAC,IAA2B,EAAE,OAAgB;IACjF,IAAI,CAAC,IAAI,EAAE,CAAC;QACV,OAAO,IAAI,CAAC;IACd,CAAC;IACD,OAAO,GAAG,OAAO,IAAI,SAAS,CAAC;IAC/B,IAAI,OAAO,IAAI,KAAK,QAAQ,EAAE,CAAC;QAC7B,OAAO,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC;IACtC,CAAC;SAAM,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,EAAE,CAAC;QACnE,IAAM,GAAG,GAAG,MAAM,CAAC,IAAI,CAAC,CAAC;QACzB,OAAO,GAAG,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC;IACrC,CAAC;SAAM,IAAI,IAAI,YAAY,IAAI,EAAE,CAAC;QAChC,OAAO,IAAI,CAAC,kBAAkB,CAAC,OAAO,CAAC,CAAC;IAC1C,CAAC;IACD,OAAO,IAAI,CAAC;AACd,CAAC,CAAC;AAdW,QAAA,qBAAqB,yBAchC","sourcesContent":["type LocaleStringDataProps = number | string | Date | undefined;\nexport const convertToLocaleString = (data: LocaleStringDataProps, culture?: string): LocaleStringDataProps => {\n if (!data) {\n return data;\n }\n culture = culture || undefined;\n if (typeof data === 'number') {\n return data.toLocaleString(culture);\n } else if (typeof data === 'string' && !window.isNaN(Number(data))) {\n const num = Number(data);\n return num.toLocaleString(culture);\n } else if (data instanceof Date) {\n return data.toLocaleDateString(culture);\n }\n return data;\n};\n"]}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { IChartDataPoint, IChartProps, IHorizontalBarChartWithAxisDataPoint, IVerticalStackedChartProps } from '../index';
|
|
2
|
-
export declare const chartPointsVBC: {
|
|
3
|
-
x: number;
|
|
4
|
-
y: number;
|
|
5
|
-
legend: string;
|
|
6
|
-
color: string;
|
|
7
|
-
xAxisCalloutData: string;
|
|
8
|
-
yAxisCalloutData: string;
|
|
9
|
-
}[];
|
|
10
|
-
export declare const chartPointsVSBC: IVerticalStackedChartProps[];
|
|
11
|
-
export declare const chartPoints2VSBC: IVerticalStackedChartProps[];
|
|
12
|
-
export declare const emptychartPointsVSBC: IVerticalStackedChartProps[];
|
|
13
|
-
export declare const pointsHBCWA: {
|
|
14
|
-
x: number;
|
|
15
|
-
y: number;
|
|
16
|
-
legend: string;
|
|
17
|
-
color: string;
|
|
18
|
-
xAxisCalloutData: string;
|
|
19
|
-
yAxisCalloutData: string;
|
|
20
|
-
}[];
|
|
21
|
-
export declare const pointsDC: IChartDataPoint[];
|
|
22
|
-
export declare const pointsDCElevateMinimumsExample: IChartDataPoint[];
|
|
23
|
-
export declare const chartPointsDC: IChartProps;
|
|
24
|
-
export declare const chartPointsDCElevateMinimums: IChartProps;
|
|
25
|
-
export declare const chartPointsHBCWA: IHorizontalBarChartWithAxisDataPoint[];
|
|
26
|
-
export declare const chartPointsWithStringYAxisHBCWA: IHorizontalBarChartWithAxisDataPoint[];
|
|
27
|
-
export declare const chartPointsWithAxisToolTipHBCWA: IHorizontalBarChartWithAxisDataPoint[];
|
|
28
|
-
export declare const allNegativeChartPointsVBC: {
|
|
29
|
-
x: number;
|
|
30
|
-
y: number;
|
|
31
|
-
legend: string;
|
|
32
|
-
color: string;
|
|
33
|
-
xAxisCalloutData: string;
|
|
34
|
-
yAxisCalloutData: string;
|
|
35
|
-
}[];
|
|
36
|
-
export declare const negativeChartPointsVBC: {
|
|
37
|
-
x: number;
|
|
38
|
-
y: number;
|
|
39
|
-
legend: string;
|
|
40
|
-
color: string;
|
|
41
|
-
xAxisCalloutData: string;
|
|
42
|
-
yAxisCalloutData: string;
|
|
43
|
-
}[];
|