@evergis/charts 3.1.1 → 3.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/charts/BarChart/drawLines/index.d.ts +3 -4
- package/dist/charts/BarChart/getBars/index.d.ts +1 -1
- package/dist/charts/BarChart/index.d.ts +2 -2
- package/dist/charts/BarChart/styled.d.ts +3 -2
- package/dist/charts/BarChart/types.d.ts +8 -8
- package/dist/charts/BubbleChart/index.d.ts +3 -3
- package/dist/charts/BubbleChart/styled.d.ts +2 -1
- package/dist/charts/BubbleChart/types.d.ts +5 -5
- package/dist/charts/BubbleChart/unmount.d.ts +1 -1
- package/dist/charts/CalendarChart/index.d.ts +3 -3
- package/dist/charts/CalendarChart/types.d.ts +5 -5
- package/dist/charts/HorizontalBarChart/hooks/useStackWrapper.d.ts +4 -4
- package/dist/charts/HorizontalBarChart/index.d.ts +3 -3
- package/dist/charts/HorizontalBarChart/types.d.ts +3 -3
- package/dist/charts/LineChart/index.d.ts +3 -3
- package/dist/charts/LineChart/styled.d.ts +2 -1
- package/dist/charts/LineChart/types.d.ts +3 -3
- package/dist/charts/PieChart/index.d.ts +3 -3
- package/dist/charts/PieChart/types.d.ts +4 -4
- package/dist/charts.cjs.development.js +241 -451
- package/dist/charts.cjs.development.js.map +1 -1
- package/dist/charts.cjs.production.min.js +1 -1
- package/dist/charts.cjs.production.min.js.map +1 -1
- package/dist/charts.esm.js +241 -451
- package/dist/charts.esm.js.map +1 -1
- package/dist/common/components/SwipeScroll/index.d.ts +2 -2
- package/dist/common/components/SwipeScroll/types.d.ts +4 -3
- package/dist/common/components/labels/index.d.ts +1 -1
- package/dist/common/components/labels/types.d.ts +2 -2
- package/dist/hooks/useNode.d.ts +1 -1
- package/dist/hooks/useResize.d.ts +1 -1
- package/dist/index.d.ts +26 -26
- package/dist/jest.config.d.ts +14 -0
- package/dist/stories/Bar/Examples.stories.d.ts +23 -0
- package/dist/stories/Bar/HorizontalBar.stories.d.ts +25 -0
- package/dist/stories/Bar/Statistics.stories.d.ts +7 -0
- package/dist/stories/Bar/VerticalBar.stories.d.ts +41 -0
- package/dist/stories/Bubble/Bubble.stories.d.ts +23 -0
- package/dist/stories/Bubble/Examples.stories.d.ts +4 -0
- package/dist/stories/Bubble/examples/VEB/InvestBubble.d.ts +5 -0
- package/dist/stories/Bubble/examples/VEB/hooks/useCustomize.d.ts +3 -0
- package/dist/stories/Bubble/examples/VEB/hooks/useRenderTooltip/index.d.ts +4 -0
- package/dist/stories/Bubble/examples/VEB/hooks/useRenderTooltip/styled.d.ts +8 -0
- package/dist/stories/Bubble/examples/VEB/styled.d.ts +1 -0
- package/dist/stories/Calendar/Calendar.stories.d.ts +23 -0
- package/dist/stories/Calendar/ColorScheme.stories.d.ts +7 -0
- package/dist/stories/Calendar/Examples.stories.d.ts +11 -0
- package/dist/stories/Calendar/Legend.stories.d.ts +30 -0
- package/dist/stories/Common/SwipeScroll/SwipeScroll.stories.d.ts +13 -0
- package/dist/stories/Common/SwipeScroll/hooks/useSwipe.d.ts +1 -0
- package/dist/stories/Line/Examples.stories.d.ts +7 -0
- package/dist/stories/Line/Line.stories.d.ts +48 -0
- package/dist/stories/Line/examples/Beeline.d.ts +5 -0
- package/dist/stories/Line/examples/GeoVeb.d.ts +5 -0
- package/dist/stories/Line/examples/GeoVebInterval/data.d.ts +9 -0
- package/dist/stories/Line/examples/GeoVebInterval/index.d.ts +5 -0
- package/dist/stories/Line/examples/GeoVebInterval/styled.d.ts +4 -0
- package/dist/stories/Line/examples/Msp.d.ts +5 -0
- package/dist/stories/Pie/ColorScheme.stories.d.ts +7 -0
- package/dist/stories/Pie/Examples.stories.d.ts +7 -0
- package/dist/stories/Pie/Pie.stories.d.ts +47 -0
- package/dist/stories/Radar/Chart.stories.d.ts +38 -0
- package/dist/stories/Radar/Github.stories.d.ts +7 -0
- package/dist/stories/Radar/Gradient.stories.d.ts +7 -0
- package/dist/stories/Radar/Veb.stories.d.ts +7 -0
- package/dist/stories/Sankey/Examples.stories.d.ts +4 -0
- package/dist/stories/Sankey/examples/RelatedIndustries/data.d.ts +2 -0
- package/dist/stories/Sankey/examples/RelatedIndustries/index.d.ts +5 -0
- package/dist/stories/__internal__/colors.d.ts +40 -0
- package/dist/stories/__internal__/components/BeelineLineChart/hooks/useCustomize.d.ts +11 -0
- package/dist/stories/__internal__/components/BeelineLineChart/hooks/useLineRenderTooltip/index.d.ts +5 -0
- package/dist/stories/__internal__/components/BeelineLineChart/hooks/useLineRenderTooltip/styled.d.ts +5 -0
- package/dist/stories/__internal__/components/BeelineLineChart/index.d.ts +3 -0
- package/dist/stories/__internal__/components/BeelineLineChart/styled.d.ts +3 -0
- package/dist/stories/__internal__/components/BeelineRangeLineChart/Range/index.d.ts +7 -0
- package/dist/stories/__internal__/components/BeelineRangeLineChart/Range/styled.d.ts +3 -0
- package/dist/stories/__internal__/components/BeelineRangeLineChart/hooks/useChange.d.ts +8 -0
- package/dist/stories/__internal__/components/BeelineRangeLineChart/index.d.ts +2 -0
- package/dist/stories/__internal__/components/BeelineRangeLineChart/styled.d.ts +4 -0
- package/dist/stories/__internal__/components/BeelineTrafficHorizontalBarChart/data.d.ts +5 -0
- package/dist/stories/__internal__/components/BeelineTrafficHorizontalBarChart/hooks/useRenderDataTable.d.ts +2 -0
- package/dist/stories/__internal__/components/BeelineTrafficHorizontalBarChart/index.d.ts +2 -0
- package/dist/stories/__internal__/components/BeelineTrafficHorizontalBarChart/styled.d.ts +3 -0
- package/dist/stories/__internal__/components/Divider.d.ts +6 -0
- package/dist/stories/__internal__/components/GeoVebBarCharts.d.ts +2 -0
- package/dist/stories/__internal__/components/GeoVebHorizontalBarCharts/data.d.ts +47 -0
- package/dist/stories/__internal__/components/GeoVebHorizontalBarCharts/hooks/useRenderTooltip.d.ts +3 -0
- package/dist/stories/__internal__/components/GeoVebHorizontalBarCharts/hooks/useSimpleRenderTooltip.d.ts +3 -0
- package/dist/stories/__internal__/components/GeoVebHorizontalBarCharts/index.d.ts +4 -0
- package/dist/stories/__internal__/components/GeoVebHorizontalBarCharts/styled.d.ts +4 -0
- package/dist/stories/__internal__/components/GeoYearsBarChart/index.d.ts +2 -0
- package/dist/stories/__internal__/components/GeoYearsBarChart/styled.d.ts +4 -0
- package/dist/stories/__internal__/components/MixedTableChart/Chart/index.d.ts +3 -0
- package/dist/stories/__internal__/components/MixedTableChart/Chart/styled.d.ts +2 -0
- package/dist/stories/__internal__/components/MixedTableChart/index.d.ts +3 -0
- package/dist/stories/__internal__/components/MixedTableChart/styled.d.ts +5 -0
- package/dist/stories/__internal__/components/MixedTableChart/types.d.ts +21 -0
- package/dist/stories/__internal__/components/MspDashboardChart/hooks/useAnimation.d.ts +5 -0
- package/dist/stories/__internal__/components/MspDashboardChart/index.d.ts +3 -0
- package/dist/stories/__internal__/components/MspDashboardChart/styled.d.ts +5 -0
- package/dist/stories/__internal__/components/MspPromSupplyBarChart/hooks/useAnimationAreas.d.ts +6 -0
- package/dist/stories/__internal__/components/MspPromSupplyBarChart/hooks/useAnimationBars.d.ts +5 -0
- package/dist/stories/__internal__/components/MspPromSupplyBarChart/hooks/useCustomize.d.ts +4 -0
- package/dist/stories/__internal__/components/MspPromSupplyBarChart/hooks/useData.d.ts +8 -0
- package/dist/stories/__internal__/components/MspPromSupplyBarChart/hooks/useMarshalledMap.d.ts +1 -0
- package/dist/stories/__internal__/components/MspPromSupplyBarChart/hooks/useRenderTooltip.d.ts +2 -0
- package/dist/stories/__internal__/components/MspPromSupplyBarChart/index.d.ts +9 -0
- package/dist/stories/__internal__/components/MspPromSupplyBarChart/styled.d.ts +22 -0
- package/dist/stories/__internal__/components/SankeyTriChart/Groups/getCSSProperties.d.ts +4 -0
- package/dist/stories/__internal__/components/SankeyTriChart/Groups/helpers.d.ts +1 -0
- package/dist/stories/__internal__/components/SankeyTriChart/Groups/index.d.ts +5 -0
- package/dist/stories/__internal__/components/SankeyTriChart/Groups/styled.d.ts +1 -0
- package/dist/stories/__internal__/components/SankeyTriChart/ItemContent/getCSSProperties.d.ts +3 -0
- package/dist/stories/__internal__/components/SankeyTriChart/ItemContent/index.d.ts +5 -0
- package/dist/stories/__internal__/components/SankeyTriChart/ItemContent/styled.d.ts +8 -0
- package/dist/stories/__internal__/components/SankeyTriChart/draw.d.ts +2 -0
- package/dist/stories/__internal__/components/SankeyTriChart/helpers.d.ts +9 -0
- package/dist/stories/__internal__/components/SankeyTriChart/index.d.ts +10 -0
- package/dist/stories/__internal__/components/SankeyTriChart/marshaling.d.ts +6 -0
- package/dist/stories/__internal__/components/SankeyTriChart/styled.d.ts +1 -0
- package/dist/stories/__internal__/components/SankeyTriChart/types.d.ts +40 -0
- package/dist/stories/__internal__/components/SberBarMixChart/colors.d.ts +3 -0
- package/dist/stories/__internal__/components/SberBarMixChart/data.d.ts +8 -0
- package/dist/stories/__internal__/components/SberBarMixChart/hooks/styled.d.ts +3 -0
- package/dist/stories/__internal__/components/SberBarMixChart/hooks/useRenderTooltip.d.ts +2 -0
- package/dist/stories/__internal__/components/SberBarMixChart/index.d.ts +2 -0
- package/dist/stories/__internal__/components/SberBarMixChart/styled.d.ts +1 -0
- package/dist/stories/__internal__/components/StatisticsBarCharts/NumbersStatistics.d.ts +2 -0
- package/dist/stories/__internal__/components/StatisticsBarCharts/StringsStatistics.d.ts +2 -0
- package/dist/stories/__internal__/components/StatisticsBarCharts/index.d.ts +2 -0
- package/dist/stories/__internal__/components/StatisticsBarCharts/styled.d.ts +1 -0
- package/dist/stories/__internal__/components/VebEstimationBarChart/data.d.ts +38 -0
- package/dist/stories/__internal__/components/VebEstimationBarChart/hooks/useCustomize.d.ts +5 -0
- package/dist/stories/__internal__/components/VebEstimationBarChart/hooks/useDrawBars.d.ts +4 -0
- package/dist/stories/__internal__/components/VebEstimationBarChart/hooks/useRenderLabel/index.d.ts +9 -0
- package/dist/stories/__internal__/components/VebEstimationBarChart/hooks/useRenderLabel/styled.d.ts +1 -0
- package/dist/stories/__internal__/components/VebEstimationBarChart/hooks/useRenderTooltip/index.d.ts +8 -0
- package/dist/stories/__internal__/components/VebEstimationBarChart/hooks/useRenderTooltip/styled.d.ts +13 -0
- package/dist/stories/__internal__/components/VebEstimationBarChart/index.d.ts +3 -0
- package/dist/stories/__internal__/components/VebEstimationBarChart/styled.d.ts +2 -0
- package/dist/stories/__internal__/components/VebFilterBarChart/index.d.ts +2 -0
- package/dist/stories/__internal__/components/VebGroupHorizontalBarChart/hooks/useRenderSum/index.d.ts +3 -0
- package/dist/stories/__internal__/components/VebGroupHorizontalBarChart/hooks/useRenderSum/styled.d.ts +1 -0
- package/dist/stories/__internal__/components/VebGroupHorizontalBarChart/hooks/useRenderTooltip/index.d.ts +1 -0
- package/dist/stories/__internal__/components/VebGroupHorizontalBarChart/hooks/useRenderTooltip/styled.d.ts +5 -0
- package/dist/stories/__internal__/components/VebGroupHorizontalBarChart/index.d.ts +3 -0
- package/dist/stories/__internal__/components/VebGroupHorizontalBarChart/styled.d.ts +5 -0
- package/dist/stories/__internal__/components/VebGroupHorizontalBarChart/types.d.ts +11 -0
- package/dist/stories/__internal__/curves.d.ts +8 -0
- package/dist/stories/__internal__/data/msp.d.ts +14 -0
- package/dist/stories/__internal__/data/mspDashboard.d.ts +1 -0
- package/dist/stories/__internal__/data/mspPromSupply.d.ts +11 -0
- package/dist/stories/__internal__/data/population.d.ts +4 -0
- package/dist/stories/__internal__/data/veb.d.ts +31 -0
- package/dist/stories/__internal__/helpers/Path.d.ts +10 -0
- package/dist/stories/__internal__/helpers/Vector.d.ts +9 -0
- package/dist/stories/__internal__/helpers/animation.d.ts +15 -0
- package/dist/stories/__internal__/helpers/hexToRGB.d.ts +1 -0
- package/dist/stories/__internal__/helpers/random.d.ts +1 -0
- package/dist/stories/__internal__/helpers/randomData.d.ts +14 -0
- package/dist/stories/__internal__/helpers/randomHorizontalBarData.d.ts +5 -0
- package/dist/stories/__internal__/helpers/randomIntervalData.d.ts +11 -0
- package/dist/stories/__internal__/helpers/randomLineData.d.ts +8 -0
- package/dist/stories/__internal__/helpers/randomText.d.ts +1 -0
- package/dist/stories/__internal__/helpers/roundedRect.d.ts +10 -0
- package/dist/stories/__internal__/helpers/shuffleArray.d.ts +1 -0
- package/dist/stories/__internal__/hooks/useBarData.d.ts +10 -0
- package/dist/stories/__internal__/hooks/useLegend.d.ts +1 -0
- package/dist/stories/__internal__/hooks/useMinMaxValue.d.ts +4 -0
- package/dist/stories/__internal__/interpolates.d.ts +23 -0
- package/dist/storybook-static/1.05dfd83c.iframe.bundle.d.ts +0 -0
- package/dist/storybook-static/189.8c077122866758d3cf20.manager.bundle.d.ts +0 -0
- package/dist/storybook-static/190.58050c9beb344d4cefd9.manager.bundle.d.ts +2 -0
- package/dist/storybook-static/191.b202c06c72968435b80b.manager.bundle.d.ts +0 -0
- package/dist/storybook-static/192.83987c5b15f8a80893c5.manager.bundle.d.ts +0 -0
- package/dist/storybook-static/193.8a12aa992b466e778018.manager.bundle.d.ts +2 -0
- package/dist/storybook-static/2.0231c7b6.iframe.bundle.d.ts +0 -0
- package/dist/storybook-static/6.6185fd0d.iframe.bundle.d.ts +0 -0
- package/dist/storybook-static/7.0ede09e9.iframe.bundle.d.ts +0 -0
- package/dist/storybook-static/8.6f0230ef.iframe.bundle.d.ts +2 -0
- package/dist/storybook-static/main.6b7543c14993fcfcab71.manager.bundle.d.ts +2 -0
- package/dist/storybook-static/main.724b5942.iframe.bundle.d.ts +9 -0
- package/dist/storybook-static/runtime~main.92273705.iframe.bundle.d.ts +1 -0
- package/dist/storybook-static/runtime~main.c89e55a461c11ef29193.manager.bundle.d.ts +1 -0
- package/package.json +12 -11
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
export declare const colorSchemes: ({
|
|
2
|
+
name: string;
|
|
3
|
+
colors: readonly string[];
|
|
4
|
+
} | {
|
|
5
|
+
name: string;
|
|
6
|
+
colors: readonly (readonly string[])[];
|
|
7
|
+
})[];
|
|
8
|
+
export declare const colorScheme: {
|
|
9
|
+
colorScheme: {
|
|
10
|
+
type: {
|
|
11
|
+
name: string;
|
|
12
|
+
required: boolean;
|
|
13
|
+
};
|
|
14
|
+
description: string;
|
|
15
|
+
table: {
|
|
16
|
+
type: {
|
|
17
|
+
summary: string;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
control: {
|
|
21
|
+
type: string;
|
|
22
|
+
options: string[];
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
backgroundColor: {
|
|
26
|
+
type: {
|
|
27
|
+
name: string;
|
|
28
|
+
required: boolean;
|
|
29
|
+
};
|
|
30
|
+
description: string;
|
|
31
|
+
table: {
|
|
32
|
+
type: {
|
|
33
|
+
summary: string;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
control: {
|
|
37
|
+
type: string;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare const margin: {
|
|
2
|
+
top: number;
|
|
3
|
+
right: number;
|
|
4
|
+
bottom: number;
|
|
5
|
+
left: number;
|
|
6
|
+
};
|
|
7
|
+
export declare const height = 140;
|
|
8
|
+
export declare const yAxisPadding = 26;
|
|
9
|
+
export declare const useCustomize: () => ({ svg }: {
|
|
10
|
+
svg: any;
|
|
11
|
+
}) => void;
|
package/dist/stories/__internal__/components/BeelineLineChart/hooks/useLineRenderTooltip/styled.d.ts
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const Tooltip: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
2
|
+
export declare const TooltipItemRow: import("styled-components").StyledComponent<"tr", any, {}, never>;
|
|
3
|
+
export declare const PrefixTd: import("styled-components").StyledComponent<"td", any, {}, never>;
|
|
4
|
+
export declare const Title: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
5
|
+
export declare const Circle: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export declare const tooltipClassName = "tooltipClassName";
|
|
2
|
+
export declare const LineChart: import("styled-components").StyledComponent<import("react").FC<import("../../../../src").LineChartProps>, any, {}, never>;
|
|
3
|
+
export declare const TooltipStyle: import("styled-components").GlobalStyleComponent<{}, import("styled-components").DefaultTheme>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as d3 from 'd3';
|
|
2
|
+
import { LineChartProps } from '../../../../../src';
|
|
3
|
+
export declare const height = 54;
|
|
4
|
+
export declare const useChange: (rangeValue: [number, number], width: number) => [(args: {
|
|
5
|
+
svg: d3.Selection<SVGSVGElement, unknown, null, undefined>;
|
|
6
|
+
yScale: d3.ScaleLinear<number, number, never>;
|
|
7
|
+
xScale: d3.ScaleLinear<number, number, never>;
|
|
8
|
+
}) => void, (range: [number, number]) => void];
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare const width = 444;
|
|
2
|
+
export declare const Blank: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
|
+
export declare const BeelineLineChart: import("styled-components").StyledComponent<import("react").FC<import("../../../../src").LineChartProps>, any, {}, never>;
|
|
4
|
+
export declare const GlobalStyle: import("styled-components").GlobalStyleComponent<{}, import("styled-components").DefaultTheme>;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export declare const HorizontalBarChart: import("styled-components").StyledComponent<import("react").FC<import("../../../../src").HorizontalBarChartProps>, any, {}, never>;
|
|
2
|
+
export declare const Label: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
|
+
export declare const StackSumTd: import("styled-components").StyledComponent<"td", any, {}, never>;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
export declare const legend: {
|
|
2
|
+
name: string;
|
|
3
|
+
color: string;
|
|
4
|
+
}[];
|
|
5
|
+
export declare const data: {
|
|
6
|
+
name: string;
|
|
7
|
+
value: number;
|
|
8
|
+
color: string;
|
|
9
|
+
}[][];
|
|
10
|
+
export declare const secondData: {
|
|
11
|
+
name: string;
|
|
12
|
+
value: number;
|
|
13
|
+
color: string;
|
|
14
|
+
}[][];
|
|
15
|
+
export declare const osen: {
|
|
16
|
+
name: string;
|
|
17
|
+
value: number;
|
|
18
|
+
color: string;
|
|
19
|
+
}[][];
|
|
20
|
+
export declare const newBuildings: ({
|
|
21
|
+
type: any;
|
|
22
|
+
label: string;
|
|
23
|
+
values: {
|
|
24
|
+
name: string;
|
|
25
|
+
value: number;
|
|
26
|
+
color: string;
|
|
27
|
+
}[];
|
|
28
|
+
unit?: undefined;
|
|
29
|
+
} | {
|
|
30
|
+
type: any;
|
|
31
|
+
unit: string;
|
|
32
|
+
label: string;
|
|
33
|
+
values: {
|
|
34
|
+
name: string;
|
|
35
|
+
value: number;
|
|
36
|
+
color: string;
|
|
37
|
+
}[];
|
|
38
|
+
} | {
|
|
39
|
+
unit: string;
|
|
40
|
+
label: string;
|
|
41
|
+
values: {
|
|
42
|
+
name: string;
|
|
43
|
+
value: number;
|
|
44
|
+
color: string;
|
|
45
|
+
}[];
|
|
46
|
+
type?: undefined;
|
|
47
|
+
})[];
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const HorizontalChart: import("styled-components").StyledComponent<React.FC<import("../../../../src").HorizontalBarChartProps>, any, {}, never>;
|
|
3
|
+
export declare const SimpleHorizontalChart: import("styled-components").StyledComponent<React.FC<import("../../../../src").HorizontalBarChartProps>, any, {}, never>;
|
|
4
|
+
export declare const GeoVebHorizontalBarCharts: React.FC;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare const Legend: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
2
|
+
export declare const LegendItem: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
|
+
export declare const ColorBox: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
4
|
+
export declare const Flex: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare const Flex: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
2
|
+
export declare const Blank: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
|
+
export declare const BarChart: import("styled-components").StyledComponent<import("react").FC<import("../../../../src").BarChartProps>, any, {}, never>;
|
|
4
|
+
export declare const CurrentYearBox: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export declare const HorizontalBarChart: import("styled-components").StyledComponent<import("react").FC<import("../../../../../src").HorizontalBarChartProps>, any, {}, never>;
|
|
2
|
+
export declare const PieChart: import("styled-components").StyledComponent<import("react").FC<import("../../../../../src").PieChartProps>, any, {}, never>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const MixedTableChartContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
2
|
+
export declare const Title: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
|
+
export declare const Label: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
4
|
+
export declare const SumValue: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
5
|
+
export declare const Unit: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { ReactNode, CSSProperties } from 'react';
|
|
2
|
+
export declare enum MixedType {
|
|
3
|
+
Bar = "bar",
|
|
4
|
+
Pie = "pie"
|
|
5
|
+
}
|
|
6
|
+
export declare type MixedData = {
|
|
7
|
+
type?: MixedType;
|
|
8
|
+
unit?: string;
|
|
9
|
+
label?: ReactNode;
|
|
10
|
+
values: {
|
|
11
|
+
name: ReactNode;
|
|
12
|
+
color: string;
|
|
13
|
+
value: number;
|
|
14
|
+
}[];
|
|
15
|
+
};
|
|
16
|
+
export declare type MixedTableChartProps = {
|
|
17
|
+
title?: ReactNode;
|
|
18
|
+
style?: CSSProperties;
|
|
19
|
+
data: MixedData[];
|
|
20
|
+
tooltipStyle?: CSSProperties;
|
|
21
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const MspDashboardBarChart: import("styled-components").StyledComponent<import("react").FC<import("../../../../src").BarChartProps>, any, {}, never>;
|
|
2
|
+
export declare const Flex: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
|
+
export declare const LegendItem: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
4
|
+
export declare const VerticalText: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
5
|
+
export declare const ColorBox: import("styled-components").StyledComponent<"div", any, {}, never>;
|
package/dist/stories/__internal__/components/MspPromSupplyBarChart/hooks/useMarshalledMap.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const useMarshalledMap: () => (marshalled: any) => any;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export declare const PromAnalyticBarChart: import("styled-components").StyledComponent<import("react").FC<import("../../../../src").BarChartProps>, any, {}, never>;
|
|
2
|
+
export declare const promTooltipClassName = "promTooltipClassName";
|
|
3
|
+
export declare const PromAnalyticBarChartRight: import("styled-components").StyledComponent<import("react").FC<import("../../../../src").BarChartProps>, any, {}, never>;
|
|
4
|
+
export declare const Block: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
5
|
+
export declare const CardFlex: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
6
|
+
export declare const CardTitle: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
7
|
+
export declare const ChartFlex: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
8
|
+
export declare const Tooltip: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
9
|
+
export declare const GroupName: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
10
|
+
export declare const TooltipItem: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
11
|
+
export declare const RightCol: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
12
|
+
export declare const Circle: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
13
|
+
export declare const SvgArea: import("styled-components").StyledComponent<"svg", any, {}, never>;
|
|
14
|
+
export declare const SvgAreaPath: import("styled-components").StyledComponent<"polygon", any, {
|
|
15
|
+
points: string;
|
|
16
|
+
}, "points">;
|
|
17
|
+
export declare const TooltipValue: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
18
|
+
export declare const Legend: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
19
|
+
export declare const LegendItem: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
20
|
+
export declare const LegendName: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
21
|
+
export declare const LineThrough: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
22
|
+
export declare const TooltipStyles: import("styled-components").GlobalStyleComponent<{}, import("styled-components").DefaultTheme>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const groupBy: (array: any, key: string) => any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const GroupBadge: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare const Name: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
2
|
+
export declare const Description: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
|
+
export declare const ValueContainer: import("styled-components").StyledComponent<"span", any, {}, never>;
|
|
4
|
+
export declare const Value: import("styled-components").StyledComponent<"span", any, {}, never>;
|
|
5
|
+
export declare const Unit: import("styled-components").StyledComponent<"span", any, {}, never>;
|
|
6
|
+
export declare const LeftContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
7
|
+
export declare const CenterContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
8
|
+
export declare const RightContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { RelatedIndustrySectionEnum } from './types';
|
|
2
|
+
export declare const sectionWidthPercent: {
|
|
3
|
+
[key in RelatedIndustrySectionEnum]: number;
|
|
4
|
+
};
|
|
5
|
+
export declare const getSectionWidth: ({ section, width, sectionMargin, }: {
|
|
6
|
+
section?: RelatedIndustrySectionEnum;
|
|
7
|
+
width: number;
|
|
8
|
+
sectionMargin: number;
|
|
9
|
+
}) => number;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { SankeyTriChartProps } from './types';
|
|
3
|
+
export declare const SankeyTriChart: React.FC<SankeyTriChartProps>;
|
|
4
|
+
export declare const defaultProps: {
|
|
5
|
+
height: number;
|
|
6
|
+
sectionMargin: number;
|
|
7
|
+
itemMinHeight: number;
|
|
8
|
+
curveMarginTop: number;
|
|
9
|
+
curveMarginBottom: number;
|
|
10
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { SankeyTriChartProps, SankeyTriChartMarshalingData, RelatedIndustrySectionEnum } from './types';
|
|
2
|
+
export declare const sectionsIndex: {
|
|
3
|
+
[key in RelatedIndustrySectionEnum]: number;
|
|
4
|
+
};
|
|
5
|
+
export declare const soloBlockId = 4444;
|
|
6
|
+
export declare const marshaling: ({ data, width, height, sectionMargin, itemMinHeight, curveMarginTop, curveMarginBottom, }: Required<SankeyTriChartProps>) => SankeyTriChartMarshalingData[][];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const SvgWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { DefaultLinkObject } from 'd3-shape';
|
|
2
|
+
export declare enum RelatedIndustrySectionEnum {
|
|
3
|
+
Left = "left",
|
|
4
|
+
Center = "center",
|
|
5
|
+
Right = "right"
|
|
6
|
+
}
|
|
7
|
+
export declare type RelatedIndustryItemDc = {
|
|
8
|
+
id?: number;
|
|
9
|
+
name?: string;
|
|
10
|
+
description?: string;
|
|
11
|
+
nameColor?: string;
|
|
12
|
+
tooltip?: string;
|
|
13
|
+
unit?: string;
|
|
14
|
+
value?: number;
|
|
15
|
+
isSolo?: boolean;
|
|
16
|
+
groupId?: number;
|
|
17
|
+
groupName?: string;
|
|
18
|
+
groupNameColor?: string;
|
|
19
|
+
groupTooltip?: string;
|
|
20
|
+
backgroundColor?: string;
|
|
21
|
+
gradient?: string[];
|
|
22
|
+
section?: RelatedIndustrySectionEnum;
|
|
23
|
+
};
|
|
24
|
+
export declare type SankeyTriChartProps = {
|
|
25
|
+
data: RelatedIndustryItemDc[];
|
|
26
|
+
width?: number;
|
|
27
|
+
height?: number;
|
|
28
|
+
sectionMargin?: number;
|
|
29
|
+
itemMinHeight?: number;
|
|
30
|
+
curveMarginTop?: number;
|
|
31
|
+
curveMarginBottom?: number;
|
|
32
|
+
};
|
|
33
|
+
export declare type SankeyTriChartMarshalingData = RelatedIndustryItemDc & {
|
|
34
|
+
sectionWidth: number;
|
|
35
|
+
itemHeight: number;
|
|
36
|
+
sectionIndex: number;
|
|
37
|
+
source: DefaultLinkObject['source'];
|
|
38
|
+
target: DefaultLinkObject['target'];
|
|
39
|
+
};
|
|
40
|
+
export declare type SectionWithoutCenter = Exclude<RelatedIndustrySectionEnum, RelatedIndustrySectionEnum.Center>;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export declare const TooltipContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
2
|
+
export declare const ValueItem: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
|
+
export declare const Triangle: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const BarChart: import("styled-components").StyledComponent<import("react").FC<import("../../../../src").BarChartProps>, any, {}, never>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const BarChart: import("styled-components").StyledComponent<import("react").FC<import("../../../../src").BarChartProps>, any, {}, never>;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
export declare const lineValues: number[];
|
|
2
|
+
export declare const lineValues2: number[];
|
|
3
|
+
export declare enum CashFlow {
|
|
4
|
+
Revenue = "revenue",
|
|
5
|
+
Income = "income",
|
|
6
|
+
Depreciation = "depreciation",
|
|
7
|
+
Phot = "phot",
|
|
8
|
+
Administrative = "administrative",
|
|
9
|
+
Interest = "interest",
|
|
10
|
+
Investments = "investments",
|
|
11
|
+
Other = "other",
|
|
12
|
+
DCF = "dsf"
|
|
13
|
+
}
|
|
14
|
+
export declare const data: {
|
|
15
|
+
left: {
|
|
16
|
+
revenue: number;
|
|
17
|
+
depreciation: number;
|
|
18
|
+
phot: number;
|
|
19
|
+
administrative: number;
|
|
20
|
+
interest: number;
|
|
21
|
+
investments: number;
|
|
22
|
+
other: number;
|
|
23
|
+
};
|
|
24
|
+
right: {
|
|
25
|
+
income: number;
|
|
26
|
+
};
|
|
27
|
+
groupName: number;
|
|
28
|
+
}[];
|
|
29
|
+
export declare const colors: {
|
|
30
|
+
revenue: string;
|
|
31
|
+
income: string;
|
|
32
|
+
depreciation: string;
|
|
33
|
+
phot: string;
|
|
34
|
+
administrative: string;
|
|
35
|
+
interest: string;
|
|
36
|
+
investments: string;
|
|
37
|
+
other: string;
|
|
38
|
+
};
|
package/dist/stories/__internal__/components/VebEstimationBarChart/hooks/useRenderLabel/styled.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Label: import("styled-components").StyledComponent<"div", any, {}, never>;
|
package/dist/stories/__internal__/components/VebEstimationBarChart/hooks/useRenderTooltip/index.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { BarChartMergedData } from '../../../../../../src';
|
|
3
|
+
export declare const useRenderTooltip: () => (data: BarChartMergedData, { left, tooltip, top, svgWidth }: {
|
|
4
|
+
left: any;
|
|
5
|
+
tooltip: any;
|
|
6
|
+
top: any;
|
|
7
|
+
svgWidth: any;
|
|
8
|
+
}, barWidth: any) => React.JSX.Element;
|