infobae-charts 0.0.14 → 0.0.16

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.

Potentially problematic release.


This version of infobae-charts might be problematic. Click here for more details.

Files changed (60) hide show
  1. package/dist/assets/icons/DownloadIcon.d.ts +5 -0
  2. package/dist/assets/icons/DownloadIcon.d.ts.map +1 -0
  3. package/dist/assets/icons/LineIcon.d.ts +7 -0
  4. package/dist/assets/icons/LineIcon.d.ts.map +1 -0
  5. package/dist/assets/icons/ShareIcon.d.ts +5 -0
  6. package/dist/assets/icons/ShareIcon.d.ts.map +1 -0
  7. package/dist/components/Footer/index.d.ts +7 -0
  8. package/dist/components/Footer/index.d.ts.map +1 -0
  9. package/dist/components/HorizontalBarChart/chart/chart-data.d.ts +4 -0
  10. package/dist/components/HorizontalBarChart/chart/chart-data.d.ts.map +1 -0
  11. package/dist/components/{BarNegativeChart → HorizontalBarChart/chart}/chart-styles.d.ts +1 -21
  12. package/dist/components/HorizontalBarChart/chart/chart-styles.d.ts.map +1 -0
  13. package/dist/components/HorizontalBarChart/children/HorizontalBarChartItem.d.ts +9 -0
  14. package/dist/components/HorizontalBarChart/children/HorizontalBarChartItem.d.ts.map +1 -0
  15. package/dist/components/HorizontalBarChart/index.d.ts +6 -0
  16. package/dist/components/HorizontalBarChart/index.d.ts.map +1 -0
  17. package/dist/components/HorizontalBarChart/mocks/index.d.ts +8 -0
  18. package/dist/components/HorizontalBarChart/mocks/index.d.ts.map +1 -0
  19. package/dist/components/{BarNegativeChart → HorizontalBarChart}/types.d.ts +27 -0
  20. package/dist/components/HorizontalBarChart/types.d.ts.map +1 -0
  21. package/dist/components/Line/children/LineItem.d.ts +4 -0
  22. package/dist/components/Line/children/LineItem.d.ts.map +1 -0
  23. package/dist/components/{GradientStackedAreaChart → Line}/index.d.ts +2 -3
  24. package/dist/components/Line/index.d.ts.map +1 -0
  25. package/dist/components/TestComponent/index.d.ts.map +1 -1
  26. package/dist/components/Title/index.d.ts +2 -3
  27. package/dist/components/Title/index.d.ts.map +1 -1
  28. package/dist/components/VerticalBar/children/VerticalBarItem.d.ts +9 -0
  29. package/dist/components/VerticalBar/children/VerticalBarItem.d.ts.map +1 -0
  30. package/dist/components/VerticalBar/index.d.ts +6 -0
  31. package/dist/components/VerticalBar/index.d.ts.map +1 -0
  32. package/dist/components/{StackedBarChart → VerticalBar}/types.d.ts +1 -0
  33. package/dist/components/VerticalBar/types.d.ts.map +1 -0
  34. package/dist/index.cjs +41 -16
  35. package/dist/index.d.ts +3 -2
  36. package/dist/index.d.ts.map +1 -1
  37. package/dist/index.js +8593 -5123
  38. package/dist/utils/VerticalBarItem.d.ts +43 -0
  39. package/dist/utils/VerticalBarItem.d.ts.map +1 -0
  40. package/package.json +1 -1
  41. package/dist/components/BarNegativeChart/chart-data.d.ts +0 -34
  42. package/dist/components/BarNegativeChart/chart-data.d.ts.map +0 -1
  43. package/dist/components/BarNegativeChart/chart-styles.d.ts.map +0 -1
  44. package/dist/components/BarNegativeChart/children/BarNegativeChartItem.d.ts +0 -9
  45. package/dist/components/BarNegativeChart/children/BarNegativeChartItem.d.ts.map +0 -1
  46. package/dist/components/BarNegativeChart/index.d.ts +0 -6
  47. package/dist/components/BarNegativeChart/index.d.ts.map +0 -1
  48. package/dist/components/BarNegativeChart/mocks/index.d.ts +0 -8
  49. package/dist/components/BarNegativeChart/mocks/index.d.ts.map +0 -1
  50. package/dist/components/BarNegativeChart/types.d.ts.map +0 -1
  51. package/dist/components/GradientStackedAreaChart/children/GradientStackedAreaChartItem.d.ts +0 -4
  52. package/dist/components/GradientStackedAreaChart/children/GradientStackedAreaChartItem.d.ts.map +0 -1
  53. package/dist/components/GradientStackedAreaChart/index.d.ts.map +0 -1
  54. package/dist/components/StackedBarChart/children/StackedBarChartItem.d.ts +0 -9
  55. package/dist/components/StackedBarChart/children/StackedBarChartItem.d.ts.map +0 -1
  56. package/dist/components/StackedBarChart/index.d.ts +0 -6
  57. package/dist/components/StackedBarChart/index.d.ts.map +0 -1
  58. package/dist/components/StackedBarChart/types.d.ts.map +0 -1
  59. package/dist/utils/StackedBarChartItem.d.ts +0 -28
  60. package/dist/utils/StackedBarChartItem.d.ts.map +0 -1
@@ -0,0 +1,5 @@
1
+ declare const DownloadIcon: ({ color }: {
2
+ color?: string | undefined;
3
+ }) => import("react").JSX.Element;
4
+ export default DownloadIcon;
5
+ //# sourceMappingURL=DownloadIcon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DownloadIcon.d.ts","sourceRoot":"","sources":["../../../src/assets/icons/DownloadIcon.tsx"],"names":[],"mappings":"AAAA,QAAA,MAAM,YAAY,GAAI;;CAA4B,gCAcjD,CAAC;AACF,eAAe,YAAY,CAAC"}
@@ -0,0 +1,7 @@
1
+ declare const LineIcon: ({ color, width, height }: {
2
+ color?: string | undefined;
3
+ width?: number | undefined;
4
+ height?: number | undefined;
5
+ }) => import("react").JSX.Element;
6
+ export default LineIcon;
7
+ //# sourceMappingURL=LineIcon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LineIcon.d.ts","sourceRoot":"","sources":["../../../src/assets/icons/LineIcon.tsx"],"names":[],"mappings":"AAEA,QAAA,MAAM,QAAQ,GAAI;;;;CAA8C,gCAqB/D,CAAC;AACF,eAAe,QAAQ,CAAC"}
@@ -0,0 +1,5 @@
1
+ declare const ShareIcon: ({ color }: {
2
+ color?: string | undefined;
3
+ }) => import("react").JSX.Element;
4
+ export default ShareIcon;
5
+ //# sourceMappingURL=ShareIcon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ShareIcon.d.ts","sourceRoot":"","sources":["../../../src/assets/icons/ShareIcon.tsx"],"names":[],"mappings":"AAAA,QAAA,MAAM,SAAS,GAAI;;CAA4B,gCAU9C,CAAC;AACF,eAAe,SAAS,CAAC"}
@@ -0,0 +1,7 @@
1
+ export declare const Footer: ({ source, showSource, showLogo, logoSrc }: {
2
+ source?: string | undefined;
3
+ showSource?: boolean | undefined;
4
+ showLogo?: boolean | undefined;
5
+ logoSrc?: string | undefined;
6
+ }) => import("react").JSX.Element | null;
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Footer/index.tsx"],"names":[],"mappings":"AACA,OAAO,cAAc,CAAC;AAEtB,eAAO,MAAM,MAAM,GAAI;;;;;CAAiE,uCAwBvF,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { ChartData, Data, Visualization } from '../types';
2
+ export declare const NEGATIVE_SERIES_KEYS: string[];
3
+ export declare const buildChartData: (data?: Data, visualization?: Visualization) => ChartData;
4
+ //# sourceMappingURL=chart-data.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chart-data.d.ts","sourceRoot":"","sources":["../../../../src/components/HorizontalBarChart/chart/chart-data.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,SAAS,EAA8B,IAAI,EAAU,aAAa,EAAE,MAAM,UAAU,CAAC;AAGxG,eAAO,MAAM,oBAAoB,UAAe,CAAC;AAyDjD,eAAO,MAAM,cAAc,GAAI,OAAM,IAAS,EAAE,gBAAe,aAAkB,KAAG,SAuCnF,CAAC"}
@@ -1,23 +1,11 @@
1
- /**
2
- * Estilos estáticos del gráfico.
3
- * Acá NO entra data dinámica: solo apariencia (colores base, tipografía, ejes, tooltip).
4
- */
5
- export interface TooltipItem {
6
- name: string;
7
- seriesName: string;
8
- value: number;
9
- marker: string;
10
- }
11
- /** Estilo compartido por cada barra (el color se inyecta con la data). */
1
+ import { TooltipItem } from '../types';
12
2
  export declare const BAR_ITEM_STYLE: {
13
3
  borderColor: string;
14
4
  borderRadius: number;
15
5
  borderWidth: number;
16
6
  };
17
7
  export declare const BAR_WIDTH = 14;
18
- /** Separación entre las barras de una misma categoría (barras agrupadas, sin stack). */
19
8
  export declare const BAR_GAP = "20%";
20
- /** Medidas del layout: hasta 5 categorías se respeta el diseño original (aspect ratio). */
21
9
  export declare const LAYOUT: {
22
10
  ASPECT_RATIO: string;
23
11
  AXIS_HEIGHT: number;
@@ -25,13 +13,6 @@ export declare const LAYOUT: {
25
13
  MIN_HEIGHT: number;
26
14
  ROW_HEIGHT: number;
27
15
  };
28
- /**
29
- * Devuelve el alto del contenedor según cuántas categorías hay.
30
- *
31
- * ¿Por qué? Con aspect ratio fijo, muchas categorías se apretujan y las barras
32
- * dejan de alinearse con su etiqueta. Si supera el máximo, el alto pasa a crecer
33
- * por fila; con pocas categorías nada cambia respecto del diseño original.
34
- */
35
16
  export declare const getChartSize: (categoriesCount?: number) => {
36
17
  aspectRatio: string;
37
18
  minHeight: string;
@@ -48,7 +29,6 @@ export declare const getChartSize: (categoriesCount?: number) => {
48
29
  aspectRatio?: undefined;
49
30
  height?: undefined;
50
31
  };
51
- /** Base del `option` de ECharts sin data: se combina con lo que devuelve buildChartData(). */
52
32
  export declare const BASE_CHART_OPTION: {
53
33
  backgroundColor: string;
54
34
  grid: {
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chart-styles.d.ts","sourceRoot":"","sources":["../../../../src/components/HorizontalBarChart/chart/chart-styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAIvC,eAAO,MAAM,cAAc;;;;CAI1B,CAAC;AAEF,eAAO,MAAM,SAAS,KAAK,CAAC;AAE5B,eAAO,MAAM,OAAO,QAAQ,CAAC;AAE7B,eAAO,MAAM,MAAM;;;;;;CAMlB,CAAC;AAGF,eAAO,MAAM,YAAY,GAAI,wBAAmB;;;;;;;;;;;;;;;CAe/C,CAAC;AA2BF,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;4BAzBI,WAAW,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkF9C,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { Data, Visualization } from '../types';
2
+ export interface HorizontalBarChartItemProps {
3
+ data?: Data;
4
+ visualization?: Visualization;
5
+ showLegend?: boolean;
6
+ }
7
+ export declare const HorizontalBarChartItem: ({ data, showLegend, visualization, }: HorizontalBarChartItemProps) => import("react").JSX.Element;
8
+ export default HorizontalBarChartItem;
9
+ //# sourceMappingURL=HorizontalBarChartItem.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HorizontalBarChartItem.d.ts","sourceRoot":"","sources":["../../../../src/components/HorizontalBarChart/children/HorizontalBarChartItem.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAQ/C,MAAM,WAAW,2BAA2B;IAC1C,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAUD,eAAO,MAAM,sBAAsB,GAAI,sCAIpC,2BAA2B,gCA4D7B,CAAA;AAED,eAAe,sBAAsB,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { ApiData } from './types';
2
+ export interface HorizontalBarChartProps {
3
+ data: ApiData;
4
+ }
5
+ export declare const HorizontalBarChart: ({ data: apiData }: HorizontalBarChartProps) => import("react").JSX.Element;
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/HorizontalBarChart/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAElC,OAAO,cAAc,CAAC;AAGtB,MAAM,WAAW,uBAAuB;IACtC,IAAI,EAAE,OAAO,CAAC;CACf;AAED,eAAO,MAAM,kBAAkB,GAAI,mBAAwB,uBAAuB,gCAyEjF,CAAA"}
@@ -0,0 +1,8 @@
1
+ import { ApiData } from '../types';
2
+ /**
3
+ * Mocks de testing manual.
4
+ * Para probar otro caso: cambiar ACTIVE_HORIZONTAL_BAR_CHART_MOCK en TestComponent.
5
+ */
6
+ export declare const HORIZONTAL_BAR_CHART_MOCKS: Record<string, ApiData>;
7
+ export type HorizontalBarChartMockKey = keyof typeof HORIZONTAL_BAR_CHART_MOCKS;
8
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/HorizontalBarChart/mocks/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAWnC;;;GAGG;AACH,eAAO,MAAM,0BAA0B,EAUvB,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAExC,MAAM,MAAM,yBAAyB,GAAG,MAAM,OAAO,0BAA0B,CAAC"}
@@ -12,10 +12,13 @@ export interface Data {
12
12
  export interface Bindings {
13
13
  category?: string;
14
14
  values?: Array<string | number>;
15
+ x?: string | Array<string | number>;
16
+ y?: string | Array<string | number>;
15
17
  }
16
18
  export interface Series {
17
19
  key?: string | number;
18
20
  color?: string;
21
+ image?: string;
19
22
  }
20
23
  export interface Settings {
21
24
  showTitle?: boolean;
@@ -37,4 +40,28 @@ export interface ApiData {
37
40
  data?: Data;
38
41
  visualization?: Visualization;
39
42
  }
43
+ export interface TooltipItem {
44
+ name: string;
45
+ seriesName: string;
46
+ value: number;
47
+ marker: string;
48
+ }
49
+ export interface ChartDataItem {
50
+ itemStyle: Record<string, unknown>;
51
+ value: number;
52
+ }
53
+ export interface ChartSeries {
54
+ barGap: string;
55
+ barWidth: number;
56
+ data: ChartDataItem[];
57
+ label: {
58
+ show: boolean;
59
+ };
60
+ name: string;
61
+ type: 'bar';
62
+ }
63
+ export interface ChartData {
64
+ categories: string[];
65
+ series: ChartSeries[];
66
+ }
40
67
  //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/HorizontalBarChart/types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,QAAQ;IACvB,KAAK,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ED,MAAM,WAAW,OAAO;IACtB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,aAAa,CAAC,EAAE,aAAa,CAAC;CAC/B;AAED,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,aAAa;IAC5B,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACnC,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,WAAW;IAC1B,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,aAAa,EAAE,CAAC;IACtB,KAAK,EAAE;QAAE,IAAI,EAAE,OAAO,CAAA;KAAE,CAAC;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,KAAK,CAAC;CACb;AAED,MAAM,WAAW,SAAS;IACxB,UAAU,EAAE,MAAM,EAAE,CAAC;IACrB,MAAM,EAAE,WAAW,EAAE,CAAC;CACvB"}
@@ -0,0 +1,4 @@
1
+ import { default as React } from 'react';
2
+ declare const LineItem: React.FC;
3
+ export default LineItem;
4
+ //# sourceMappingURL=LineItem.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LineItem.d.ts","sourceRoot":"","sources":["../../../../src/components/Line/children/LineItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAC;AAyBjD,QAAA,MAAM,QAAQ,EAAE,KAAK,CAAC,EA0KrB,CAAC;AAEF,eAAe,QAAQ,CAAC"}
@@ -1,4 +1,4 @@
1
- export interface GradientStackedAreaChartProps {
1
+ export interface LineProps {
2
2
  logoSrc?: string | undefined;
3
3
  showBrand?: boolean;
4
4
  showChart?: boolean;
@@ -9,7 +9,7 @@ export interface GradientStackedAreaChartProps {
9
9
  subtitle?: string | undefined;
10
10
  title?: string | undefined;
11
11
  }
12
- declare const GradientStackedAreaChart: ({ logoSrc, showChart, showFont, showLogo, showSubtitle, showTitle, subtitle, title, }: {
12
+ export declare const Line: ({ logoSrc, showChart, showFont, showLogo, showSubtitle, showTitle, subtitle, title, }: {
13
13
  logoSrc?: undefined;
14
14
  showChart?: boolean | undefined;
15
15
  showFont?: boolean | undefined;
@@ -19,5 +19,4 @@ declare const GradientStackedAreaChart: ({ logoSrc, showChart, showFont, showLog
19
19
  subtitle?: string | undefined;
20
20
  title?: string | undefined;
21
21
  }) => import("react").JSX.Element;
22
- export default GradientStackedAreaChart;
23
22
  //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Line/index.tsx"],"names":[],"mappings":"AAGA,OAAO,cAAc,CAAC;AAEtB,MAAM,WAAW,SAAS;IACxB,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC5B;AAED,eAAO,MAAM,IAAI,GAAI;;;;;;;;;CASpB,gCAkBA,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/TestComponent/index.tsx"],"names":[],"mappings":"AAWA,MAAM,CAAC,OAAO,UAAU,aAAa,gCA8KpC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/TestComponent/index.tsx"],"names":[],"mappings":"AAIA,MAAM,CAAC,OAAO,UAAU,aAAa,gCA6DpC"}
@@ -1,11 +1,10 @@
1
1
  export type TitleProps = {
2
2
  className?: string;
3
- logoSrc?: string;
4
- showLogo?: boolean;
3
+ showShare?: boolean;
5
4
  showSubtitle?: boolean;
6
5
  showTitle?: boolean;
7
6
  subtitle?: string;
8
7
  title: string;
9
8
  };
10
- export declare function Title({ className, logoSrc, showLogo, showSubtitle, showTitle, subtitle, title, }: TitleProps): import("react").JSX.Element | null;
9
+ export declare function Title({ className, showShare, showSubtitle, showTitle, subtitle, title, }: TitleProps): import("react").JSX.Element | null;
11
10
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Title/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAA;AAGrB,MAAM,MAAM,UAAU,GAAG;IACvB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,KAAK,EAAE,MAAM,CAAA;CACd,CAAA;AAED,wBAAgB,KAAK,CAAC,EACpB,SAAS,EACT,OAA8B,EAC9B,QAAe,EACf,YAAmB,EACnB,SAAgB,EAChB,QAAQ,EACR,KAAK,GACN,EAAE,UAAU,sCAuCZ"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Title/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAItB,MAAM,MAAM,UAAU,GAAG;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,wBAAgB,KAAK,CAAC,EACpB,SAAS,EACT,SAAgB,EAChB,YAAmB,EACnB,SAAgB,EAChB,QAAQ,EACR,KAAK,GACN,EAAE,UAAU,sCAsCZ"}
@@ -0,0 +1,9 @@
1
+ import { Data, Visualization } from '../types';
2
+ export interface VerticalBarItemProps {
3
+ visualization: Visualization;
4
+ data?: Data;
5
+ showLegend?: boolean;
6
+ }
7
+ export declare const VerticalBarItem: ({ visualization, data, showLegend }: VerticalBarItemProps) => import("react").JSX.Element;
8
+ export default VerticalBarItem;
9
+ //# sourceMappingURL=VerticalBarItem.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"VerticalBarItem.d.ts","sourceRoot":"","sources":["../../../../src/components/VerticalBar/children/VerticalBarItem.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,IAAI,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAK/C,MAAM,WAAW,oBAAoB;IACnC,aAAa,EAAE,aAAa,CAAC;IAC7B,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,eAAO,MAAM,eAAe,GAAI,qCAAsD,oBAAoB,gCAwHzG,CAAC;AAEF,eAAe,eAAe,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { ApiData } from './types';
2
+ export interface VerticalBarProps {
3
+ data: ApiData;
4
+ }
5
+ export declare const VerticalBar: ({ data: apiData }: VerticalBarProps) => import("react").JSX.Element;
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/VerticalBar/index.tsx"],"names":[],"mappings":"AAGA,OAAO,cAAc,CAAC;AACtB,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAElC,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,OAAO,CAAC;CACf;AAED,eAAO,MAAM,WAAW,GAAI,mBAAwB,gBAAgB,gCAqCnE,CAAC"}
@@ -24,6 +24,7 @@ export interface Settings {
24
24
  export interface SerieItem {
25
25
  key?: string | number | undefined;
26
26
  color?: string | undefined;
27
+ image?: string | undefined;
27
28
  }
28
29
  export interface Visualization {
29
30
  type?: string | undefined;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/VerticalBar/types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,QAAQ;IACvB,CAAC,CAAC,EAAE,MAAM,CAAC;IACX,CAAC,CAAC,EAAE,KAAK,CAAC,MAAM,GAAG,MAAM,GAAG,SAAS,CAAC,CAAC;CACxC;AAED,KAAK,QAAQ,GAAG,KAAK,CAAC,CAAC,MAAM,GAAG,MAAM,GAAG,SAAS,CAAC,EAAE,CAAC,CAAC;AAEvD,MAAM,WAAW,IAAI;IACnB,OAAO,CAAC,EAAE,KAAK,CAAC,MAAM,GAAG,MAAM,GAAG,SAAS,CAAC,CAAC;IAC7C,IAAI,CAAC,EAAE,QAAQ,CAAC;CACjB;AAED,MAAM,WAAW,QAAQ;IACvB,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC5B;AAED,MAAM,WAAW,QAAQ;IACvB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED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