@phenyxhealth/data-analytics 0.1.6 → 0.1.7
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/components/ChartHeatMap.d.ts +2 -1
- package/dist/components/Checkbox.d.ts +11 -0
- package/dist/components/SettingsModal.d.ts +13 -0
- package/dist/components/ValuesPicker.d.ts +10 -0
- package/dist/components/ViewCard.d.ts +4 -2
- package/dist/data-analytics.css +1 -1
- package/dist/index-DMeWJjxj.js +1 -0
- package/dist/index-Diee9R37.cjs +1 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +1 -1
- package/dist/{plotly.min-ByZ-K9GI.cjs → plotly.min-CeVQR2mb.cjs} +1 -1
- package/dist/{plotly.min-C82XgOBz.js → plotly.min-DFc873VZ.js} +1 -1
- package/dist/types/index.d.ts +6 -0
- package/dist/utils/plotly.d.ts +2 -1
- package/package.json +1 -1
- package/dist/index-D5udLCtF.cjs +0 -1
- package/dist/index-mF0wXIsT.js +0 -1
package/dist/types/index.d.ts
CHANGED
|
@@ -42,12 +42,18 @@ export interface ViewConfig {
|
|
|
42
42
|
indicatorFormat?: 'percent' | 'perunit';
|
|
43
43
|
indicatorUnit?: number;
|
|
44
44
|
indicatorThresholds?: IndicatorThreshold[];
|
|
45
|
+
kpiDisplayMode?: 'bar' | 'gauge';
|
|
45
46
|
}
|
|
46
47
|
export interface FilterConfig {
|
|
47
48
|
field: string;
|
|
48
49
|
values: string[];
|
|
49
50
|
numericComparison?: 'above' | 'above_eq' | 'below' | 'below_eq';
|
|
50
51
|
numericValue?: number;
|
|
52
|
+
/** Date range filter mode (for temporal fields). When set, takes precedence over `values`. */
|
|
53
|
+
dateRange?: {
|
|
54
|
+
from?: string;
|
|
55
|
+
to?: string;
|
|
56
|
+
};
|
|
51
57
|
}
|
|
52
58
|
export type DataRecord = Record<string, string | number | boolean | null | undefined>;
|
|
53
59
|
export type Theme = 'light' | 'dark';
|
package/dist/utils/plotly.d.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
/** Colores resueltos para layouts de Plotly según el tema activo. */
|
|
1
|
+
/** Colores resueltos para layouts de Plotly según el tema activo, usando tokens del DS. */
|
|
2
2
|
export declare function getPlotlyTheme(isDark: boolean): {
|
|
3
3
|
fontColor: string;
|
|
4
4
|
gridColor: string;
|
|
5
5
|
zeroColor: string;
|
|
6
6
|
textMuted: string;
|
|
7
7
|
tooltipBg: string;
|
|
8
|
+
tooltipText: string;
|
|
8
9
|
};
|