@datosgeo-atdt/core-ui 0.1.0 → 0.1.2

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/App.d.ts ADDED
@@ -0,0 +1,4 @@
1
+ import './App.css';
2
+ declare function App(): import("react/jsx-runtime").JSX.Element;
3
+ export default App;
4
+ //# sourceMappingURL=App.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"App.d.ts","sourceRoot":"","sources":["../src/App.tsx"],"names":[],"mappings":"AAGA,OAAO,WAAW,CAAA;AAElB,iBAAS,GAAG,4CA2BX;AAED,eAAe,GAAG,CAAA"}
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import type { GraphLinesProps } from "./BarlineChart.types";
3
+ export declare const BarLineChart: React.FC<GraphLinesProps>;
4
+ //# sourceMappingURL=BarLineChart.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BarLineChart.d.ts","sourceRoot":"","sources":["../../../src/components/BarLineChart/BarLineChart.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqC,MAAM,OAAO,CAAC;AAa1D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAqD5D,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CA0NlD,CAAC"}
@@ -0,0 +1,45 @@
1
+ import type { SeriesKey } from "../../types/chart";
2
+ import type { CSSProperties } from "react";
3
+ export interface GraphLinesProps {
4
+ data: Record<string, any>[];
5
+ xAxisInfo: string[];
6
+ mapKey: string;
7
+ yAxisInfo?: YAxisInfo;
8
+ barSeriesKeys?: SeriesKey[];
9
+ lineSeriesKeys?: SeriesKey[];
10
+ showSecondaryYAxis?: boolean;
11
+ portrait?: boolean;
12
+ styles?: CSSProperties;
13
+ }
14
+ /**
15
+ * Límites numéricos del eje Y.
16
+ */
17
+ export interface YAxisLimits {
18
+ /** Valor mínimo mostrado en el eje */
19
+ min?: number;
20
+ /** Valor máximo mostrado en el eje */
21
+ max?: number;
22
+ }
23
+ /**
24
+ * Configuración de un eje Y individual.
25
+ */
26
+ export interface YAxisConfig {
27
+ /** Etiqueta del eje */
28
+ label: string;
29
+ /** Límites del eje */
30
+ limits?: YAxisLimits;
31
+ /** Indica si los valores se muestran en valor absoluto */
32
+ absolute?: boolean;
33
+ }
34
+ /**
35
+ * Configuración de los ejes Y del gráfico.
36
+ * - yAxis0 es obligatorio
37
+ * - yAxis1 es opcional
38
+ */
39
+ export interface YAxisInfo {
40
+ /** Eje Y principal *OBLIGATORIO**/
41
+ yAxis0: YAxisConfig;
42
+ /** Eje Y secundario *OPCIONAL* */
43
+ yAxis1?: YAxisConfig;
44
+ }
45
+ //# sourceMappingURL=BarlineChart.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BarlineChart.types.d.ts","sourceRoot":"","sources":["../../../src/components/BarLineChart/BarlineChart.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAE3C,MAAM,WAAW,eAAe;IAE9B,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,CAAC;IAE5B,SAAS,EAAE,MAAM,EAAE,CAAC;IAEpB,MAAM,EAAE,MAAM,CAAC;IAEf,SAAS,CAAC,EAAE,SAAS,CAAC;IAEtB,aAAa,CAAC,EAAE,SAAS,EAAE,CAAC;IAG5B,cAAc,CAAC,EAAE,SAAS,EAAE,CAAC;IAE7B,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAE7B,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB,MAAM,CAAC,EAAE,aAAa,CAAC;CACxB;AAED;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B,sCAAsC;IACtC,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,sCAAsC;IACtC,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;AAED;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B,uBAAuB;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,sBAAsB;IACtB,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB,0DAA0D;IAC1D,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED;;;;GAIG;AACH,MAAM,WAAW,SAAS;IACxB,mCAAmC;IACnC,MAAM,EAAE,WAAW,CAAC;IACpB,kCAAkC;IAClC,MAAM,CAAC,EAAE,WAAW,CAAC;CACtB"}
@@ -0,0 +1,3 @@
1
+ export { BarLineChart } from "./BarLineChart";
2
+ export type { GraphLinesProps } from "./BarlineChart.types";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/BarLineChart/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,YAAY,EAAC,MAAM,gBAAgB,CAAA;AAC3C,YAAY,EAAC,eAAe,EAAC,MAAM,sBAAsB,CAAA"}