drizzle-cube 0.1.24 → 0.1.26
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/README.md +3 -1
- package/dist/client/charts/chartConfigs.d.ts +2 -0
- package/dist/client/charts.js +1 -1
- package/dist/client/chunks/{charts-Dx3asDBi.js → charts-JUvTF2xT.js} +593 -614
- package/dist/client/chunks/charts-JUvTF2xT.js.map +1 -0
- package/dist/client/chunks/{icons-BMGOKdZb.js → icons-ChgBIaCg.js} +366 -356
- package/dist/client/chunks/icons-ChgBIaCg.js.map +1 -0
- package/dist/client/components/AxisDropZone.d.ts +8 -2
- package/dist/client/components/DataHistogram.d.ts +3 -1
- package/dist/client/components/charts/KpiDelta.config.d.ts +5 -0
- package/dist/client/components/charts/KpiDelta.d.ts +2 -0
- package/dist/client/components/charts/MarkdownChart.config.d.ts +5 -0
- package/dist/client/components/charts/MarkdownChart.d.ts +2 -0
- package/dist/client/components/charts/index.d.ts +2 -0
- package/dist/client/components.js +7064 -6331
- package/dist/client/components.js.map +1 -1
- package/dist/client/index.js +1 -1
- package/dist/client/types.d.ts +8 -1
- package/dist/client-bundle-stats.html +1 -1
- package/package.json +1 -1
- package/dist/client/chunks/charts-Dx3asDBi.js.map +0 -1
- package/dist/client/chunks/icons-BMGOKdZb.js.map +0 -1
package/dist/client/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AnalyticsDashboard as t, AnalyticsPortlet as e, DashboardEditModal as s, DashboardGrid as o, Modal as h, PortletContainer as C, PortletEditModal as c, QueryBuilder as d } from "./components.js";
|
|
2
2
|
import { C as l, c as u, u as R } from "./chunks/providers-B7MVnAAt.js";
|
|
3
3
|
import { useCubeQuery as n } from "./hooks.js";
|
|
4
|
-
import { D as f, A as P, B as m, L as p, P as x, R as y, a as A, S as B, T as M, c as L, f as T } from "./chunks/charts-
|
|
4
|
+
import { D as f, A as P, B as m, L as p, P as x, R as y, a as A, S as B, T as M, c as L, f as T } from "./chunks/charts-JUvTF2xT.js";
|
|
5
5
|
export {
|
|
6
6
|
t as AnalyticsDashboard,
|
|
7
7
|
e as AnalyticsPortlet,
|
package/dist/client/types.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ColorPalette } from './utils/colorPalettes';
|
|
2
2
|
export type { CubeMeta, CubeMetaCube, CubeMetaField, FieldLabelMap } from './hooks/useCubeMeta';
|
|
3
3
|
export type { ColorPalette } from './utils/colorPalettes';
|
|
4
|
-
export type ChartType = 'line' | 'bar' | 'pie' | 'table' | 'area' | 'scatter' | 'radar' | 'radialBar' | 'treemap' | 'bubble' | 'activityGrid' | 'kpiNumber' | 'kpiText';
|
|
4
|
+
export type ChartType = 'line' | 'bar' | 'pie' | 'table' | 'area' | 'scatter' | 'radar' | 'radialBar' | 'treemap' | 'bubble' | 'activityGrid' | 'kpiNumber' | 'kpiDelta' | 'kpiText' | 'markdown';
|
|
5
5
|
export interface ChartAxisConfig {
|
|
6
6
|
xAxis?: string[];
|
|
7
7
|
yAxis?: string[];
|
|
@@ -31,6 +31,13 @@ export interface ChartDisplayConfig {
|
|
|
31
31
|
decimals?: number;
|
|
32
32
|
valueColor?: string;
|
|
33
33
|
valueColorIndex?: number;
|
|
34
|
+
positiveColorIndex?: number;
|
|
35
|
+
negativeColorIndex?: number;
|
|
36
|
+
showHistogram?: boolean;
|
|
37
|
+
content?: string;
|
|
38
|
+
accentColorIndex?: number;
|
|
39
|
+
fontSize?: 'small' | 'medium' | 'large';
|
|
40
|
+
alignment?: 'left' | 'center' | 'right';
|
|
34
41
|
}
|
|
35
42
|
export interface PortletConfig {
|
|
36
43
|
id: string;
|