@vizzly/dashboard 0.15.0-dev-940f6c4074f8f78d4c34eede7b5354ca66e39a2e → 0.15.0-dev-b6865bb91a2a265506663a45d460fd255b86e6de
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/src/v2/components/Axis/AxisLeft.d.ts +3 -3
- package/dist/charts/src/v2/components/BarChart/BarChart.d.ts +1 -1
- package/dist/charts/src/v2/components/GridColumns/GridRows.d.ts +10 -0
- package/dist/charts/src/v2/components/GridColumns/shared.d.ts +2 -0
- package/dist/charts/src/v2/components/HorizontalBarChart/HorizontalBarChart.d.ts +24 -0
- package/dist/charts/src/v2/components/HorizontalBarChart/getTooltipDataForHorizontalChart.d.ts +25 -0
- package/dist/charts/src/v2/components/HorizontalBarChart/index.d.ts +1 -0
- package/dist/charts/src/v2/components/HorizontalBarChart/useScalesForHorizontalChart.d.ts +4 -0
- package/dist/charts/src/v2/components/VerticalGoalLine/VerticalGoalLine.d.ts +11 -0
- package/dist/charts/src/v2/components/VerticalGoalLine/VerticalGoalLines.d.ts +11 -0
- package/dist/charts/src/v2/components/VerticalGoalLine/index.d.ts +2 -0
- package/dist/charts/src/v2/components/hooks/useGroupingAxisBaselineShift.d.ts +11 -0
- package/dist/charts/src/v2/index.d.ts +4 -3
- package/dist/charts/src/v2/utils/buildMargin.d.ts +1 -0
- package/dist/charts/src/v2/utils/components/BarGroup.d.ts +4 -2
- package/dist/charts/src/v2/utils/components/BarStacked.d.ts +6 -2
- package/dist/charts/src/v2/utils/components/HorizontalBarGroup.d.ts +28 -0
- package/dist/charts/src/v2/utils/components/HorizontalBarStacked.d.ts +22 -0
- package/dist/charts/src/v2/utils/getBarFill.d.ts +1 -1
- package/dist/charts/src/v2/utils/getTooltipData.d.ts +5 -5
- package/dist/dashboard/src/contexts/GlobalProvider/useGlobalProvider.d.ts +6 -6
- package/dist/dashboard.cjs.development.js +10837 -9108
- package/dist/dashboard.cjs.production.min.js +1 -1
- package/dist/dashboard.esm.js +10857 -9125
- package/dist/results-driver/src/driver/VizzlyQuery/AreaChart/toQueries.d.ts +1 -1
- package/dist/results-driver/src/driver/VizzlyQuery/AreaChartV2/toQueries.d.ts +1 -1
- package/dist/results-driver/src/driver/VizzlyQuery/BarChart/toQueries.d.ts +1 -1
- package/dist/results-driver/src/driver/VizzlyQuery/BarChartV2/toQueries.d.ts +1 -1
- package/dist/results-driver/src/driver/VizzlyQuery/BasicTable/toQueries.d.ts +1 -1
- package/dist/results-driver/src/driver/VizzlyQuery/FunnelChart/toQueries.d.ts +1 -1
- package/dist/results-driver/src/driver/VizzlyQuery/HorizontalBarChart/toQueries.d.ts +1 -1
- package/dist/results-driver/src/driver/VizzlyQuery/HorizontalBarChartV2/toQueries.d.ts +4 -0
- package/dist/results-driver/src/driver/VizzlyQuery/LineChart/toQueries.d.ts +1 -1
- package/dist/results-driver/src/driver/VizzlyQuery/LineChartV2/toQueries.d.ts +1 -1
- package/dist/results-driver/src/driver/VizzlyQuery/PieChart/toQueries.d.ts +1 -1
- package/dist/results-driver/src/driver/VizzlyQuery/PivotTable/toQueries.d.ts +1 -1
- package/dist/results-driver/src/driver/VizzlyQuery/RadarChart/toQueries.d.ts +1 -1
- package/dist/results-driver/src/driver/VizzlyQuery/RichText/toQueries.d.ts +1 -1
- package/dist/results-driver/src/driver/VizzlyQuery/SunburstChart/toQueries.d.ts +1 -1
- package/dist/results-driver/src/driver/VizzlyQuery/buildVizzlyQuery.d.ts +5 -5
- package/dist/results-driver/src/driver/VizzlyQuery/commonToQueries.d.ts +1 -1
- package/dist/shared-logic/src/ChartsV2/adjustTicks.d.ts +4 -1
- package/dist/shared-logic/src/Component/setAttributes.d.ts +1 -1
- package/dist/shared-logic/src/Component/types.d.ts +22 -5
- package/dist/shared-logic/src/DataLabel/index.d.ts +1 -1
- package/dist/shared-logic/src/DataSet/DataSet.d.ts +1 -1
- package/dist/shared-logic/src/HorizontalBarChartV2/attributesSchema.d.ts +3 -0
- package/dist/shared-logic/src/HorizontalBarChartV2/buildHorizontalBarChartRepresentation.d.ts +41 -0
- package/dist/shared-logic/src/HorizontalBarChartV2/constants.d.ts +3 -0
- package/dist/shared-logic/src/HorizontalBarChartV2/index.d.ts +4 -0
- package/dist/shared-logic/src/HorizontalBarChartV2/setAttributes.d.ts +4 -0
- package/dist/shared-logic/src/HorizontalBarChartV2/types.d.ts +41 -0
- package/dist/shared-logic/src/Result/formattedResultToSeries.d.ts +1 -1
- package/dist/shared-logic/src/api/vizzly/aiHelpers/view.d.ts +1 -1
- package/dist/shared-logic/src/getComponentInterface.d.ts +1 -1
- package/dist/shared-ui/src/api/useQueryEffect.d.ts +1 -1
- package/dist/shared-ui/src/components/Component/types.d.ts +1 -0
- package/dist/shared-ui/src/components/Drilldown/useDrilldownSelection.d.ts +1 -1
- package/dist/shared-ui/src/components/HeadlineStats/HeadlineStats.d.ts +2 -2
- package/dist/shared-ui/src/components/HorizontalBarChartV2/HorizontalBarChartV2.d.ts +3 -0
- package/dist/shared-ui/src/components/HorizontalBarChartV2/HorizontalBarChartV2View.d.ts +17 -0
- package/dist/shared-ui/src/components/HorizontalBarChartV2/index.d.ts +2 -0
- package/dist/shared-ui/src/components/LineChart/LineChartView.d.ts +1 -1
- package/dist/shared-ui/src/components/MercatorMap/View.d.ts +1 -1
- package/dist/shared-ui/src/library/StylePanel/AxisPreferenceSection.d.ts +1 -1
- package/package.json +1 -1
- package/dist/charts/src/v2/components/hooks/useBottomAxisBaselineShift.d.ts +0 -10
|
@@ -1,9 +1,9 @@
|
|
|
1
|
+
import { ScaleLinear } from '@visx/vendor/d3-scale';
|
|
1
2
|
import { FunctionComponent } from 'react';
|
|
2
|
-
import { Margin } from '../../utils/buildMargin';
|
|
3
3
|
import { BaseYAxis } from '../../../../../shared-logic/src/ChartsV2/types';
|
|
4
|
-
import { ScaleLinear } from '@visx/vendor/d3-scale';
|
|
5
|
-
import { ChartThemeCSS } from '../../utils/getChartThemeCSS';
|
|
6
4
|
import { ComboYAxis } from '../../../../../shared-logic/src/ComboChartV2/types';
|
|
5
|
+
import { Margin } from '../../utils/buildMargin';
|
|
6
|
+
import { ChartThemeCSS } from '../../utils/getChartThemeCSS';
|
|
7
7
|
export declare const AxisLeft: FunctionComponent<{
|
|
8
8
|
show: boolean;
|
|
9
9
|
y: BaseYAxis | ComboYAxis;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ScaleLinear } from '@visx/vendor/d3-scale';
|
|
2
|
+
import { FunctionComponent } from 'react';
|
|
3
|
+
export declare const GridColumns: FunctionComponent<{
|
|
4
|
+
ticks: number[];
|
|
5
|
+
xScale: ScaleLinear<number, number, never>;
|
|
6
|
+
removeStroke?: boolean;
|
|
7
|
+
width: number;
|
|
8
|
+
height: number;
|
|
9
|
+
themeCSS: any;
|
|
10
|
+
}>;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ChartOnViewClick, HorizontalBarChartRepresentation } from '../../../../../shared-logic/src/HorizontalBarChartV2/types';
|
|
3
|
+
import { ChartTheme } from '../../../types';
|
|
4
|
+
export declare type HorizontalBarChartProps = {
|
|
5
|
+
width: number;
|
|
6
|
+
height: number;
|
|
7
|
+
theme?: ChartTheme;
|
|
8
|
+
chart: HorizontalBarChartRepresentation;
|
|
9
|
+
options: {
|
|
10
|
+
stacked: boolean;
|
|
11
|
+
showRoundedTotal: boolean;
|
|
12
|
+
showLegend: boolean;
|
|
13
|
+
showLabels: boolean;
|
|
14
|
+
removeStroke: boolean;
|
|
15
|
+
axis: {
|
|
16
|
+
showXAxisLabels: boolean;
|
|
17
|
+
showYAxisLabels: boolean;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
onClick?: (params: ChartOnViewClick) => void;
|
|
21
|
+
enableHover?: boolean;
|
|
22
|
+
numberOfDimensions: number;
|
|
23
|
+
};
|
|
24
|
+
export declare const HorizontalBarChart: ({ chart, width, height, options, theme, onClick, enableHover, numberOfDimensions, }: HorizontalBarChartProps) => JSX.Element;
|
package/dist/charts/src/v2/components/HorizontalBarChart/getTooltipDataForHorizontalChart.d.ts
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ScaleBand, ScaleLinear, ScalePoint, ScaleTime } from '@visx/vendor/d3-scale';
|
|
3
|
+
import { DataItem } from '../../../../../shared-logic/src/ChartsV2/types';
|
|
4
|
+
import { DataType } from '../../../../../shared-logic/src/Field/types';
|
|
5
|
+
import { ChartType } from '../../../Legend/types';
|
|
6
|
+
import { TooltipDataReturn } from '../../utils/getTooltipData';
|
|
7
|
+
interface getTooltipDataForHorizontalChartArgs {
|
|
8
|
+
data: Array<{
|
|
9
|
+
[keyId: string]: DataItem;
|
|
10
|
+
}>;
|
|
11
|
+
event: React.MouseEvent<SVGElement>;
|
|
12
|
+
margin: {
|
|
13
|
+
top: number;
|
|
14
|
+
right: number;
|
|
15
|
+
bottom: number;
|
|
16
|
+
left: number;
|
|
17
|
+
};
|
|
18
|
+
yScaleKey: string;
|
|
19
|
+
yScaleDataType: DataType;
|
|
20
|
+
yScale: ScaleBand<number> | ScaleBand<string> | ScaleBand<Date> | ScaleTime<number, number> | ScaleLinear<number, number> | ScalePoint<string>;
|
|
21
|
+
yOrdering: 'asc' | 'desc' | null;
|
|
22
|
+
chartType: ChartType;
|
|
23
|
+
}
|
|
24
|
+
export declare const getTooltipDataForHorizontalChart: ({ data, event, margin, yScaleKey, yScaleDataType, yScale, yOrdering, chartType, }: getTooltipDataForHorizontalChartArgs) => TooltipDataReturn | undefined;
|
|
25
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { HorizontalBarChart } from './HorizontalBarChart';
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { Datum } from '../../../../../shared-logic/src/DatumKey';
|
|
2
|
+
import { Scale } from '../../../../../shared-logic/src/ChartsV2/types';
|
|
3
|
+
export declare function useHorizontalBarYScale(yScaleDataType: string, innerWidth: number, yScaleKey: string | null, data: Datum[]): import("@visx/vendor/d3-scale").ScaleBand<number> | import("@visx/vendor/d3-scale").ScaleBand<string> | import("@visx/vendor/d3-scale").ScaleBand<Date> | null;
|
|
4
|
+
export declare function useHorizontalBarXScale<T>(innerWidth: number, scale: Scale<T>, leftOffset: number): import("@visx/vendor/d3-scale").ScaleLinear<number, number, never>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { GoalLine as GoalLineType } from '../../../../../shared-logic/src/ChartsV2/types';
|
|
3
|
+
import { Margin } from '../../utils/buildMargin';
|
|
4
|
+
interface VerticalGoalLineProps {
|
|
5
|
+
goalLine: GoalLineType;
|
|
6
|
+
innerHeight: number;
|
|
7
|
+
margin: Margin;
|
|
8
|
+
x: number;
|
|
9
|
+
}
|
|
10
|
+
export declare const VerticalGoalLine: ({ goalLine, innerHeight, x, margin }: VerticalGoalLineProps) => JSX.Element;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { GoalLine as GoalLineType } from '../../../../../shared-logic/src/ChartsV2/types';
|
|
3
|
+
import { Margin } from '../../utils/buildMargin';
|
|
4
|
+
export declare const shouldUpdate: (previousProps: any, nextProps: any) => boolean;
|
|
5
|
+
declare const _default: import("react").NamedExoticComponent<{
|
|
6
|
+
goalLines: GoalLineType[];
|
|
7
|
+
x: (value: number) => number;
|
|
8
|
+
margin: Margin;
|
|
9
|
+
height: number;
|
|
10
|
+
}>;
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare type UseGroupingAxisBaseLineShiftProps = {
|
|
2
|
+
showDetailedSubGroupingLabels: boolean;
|
|
3
|
+
hasBottomTitle: boolean;
|
|
4
|
+
hasLeftTitle: boolean;
|
|
5
|
+
isChartHorizontal?: boolean;
|
|
6
|
+
};
|
|
7
|
+
export declare const useGroupingAxisBaseLineShift: ({ showDetailedSubGroupingLabels, hasBottomTitle, hasLeftTitle, isChartHorizontal, }: UseGroupingAxisBaseLineShiftProps) => {
|
|
8
|
+
groupingAxisBaselineShift: number;
|
|
9
|
+
bottomOffset: number;
|
|
10
|
+
leftOffset: number;
|
|
11
|
+
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
export { LineChart as LineChartV2 } from './components/LineChart';
|
|
2
|
-
export { BarChart as BarChartV2 } from './components/BarChart';
|
|
3
1
|
export { AreaChart as AreaChartV2 } from './components/AreaChart';
|
|
2
|
+
export { BarChart as BarChartV2 } from './components/BarChart';
|
|
4
3
|
export { BubbleChart as BubbleChartV2 } from './components/BubbleChart';
|
|
5
|
-
export { RadarChart } from './components/RadarChart';
|
|
6
4
|
export { DataLabel } from './components/DataLabel';
|
|
5
|
+
export { HorizontalBarChart as HorizontalBarChartV2 } from './components/HorizontalBarChart';
|
|
6
|
+
export { LineChart as LineChartV2 } from './components/LineChart';
|
|
7
|
+
export { RadarChart } from './components/RadarChart';
|
|
@@ -8,3 +8,4 @@ export declare type Margin = {
|
|
|
8
8
|
leftTitleOffset: number;
|
|
9
9
|
};
|
|
10
10
|
export declare const buildMargin: (yTicks: Tick<number>[], showYAxisLabels: boolean, hasYAxisTitle: boolean, hasXAxisTitle: boolean, showDetailedSubGroupingLabels?: boolean) => Margin;
|
|
11
|
+
export declare const buildMarginForHorizontalChart: (xTicks: Tick<number>[], yTicks: Tick<Date | string | number>[], showXAxisLabels: boolean, showYAxisLabels: boolean, hasYAxisTitle: boolean, hasXAxisTitle: boolean) => Margin;
|
|
@@ -21,6 +21,8 @@ export declare type BarGroupProps = {
|
|
|
21
21
|
showDetailedSubGroupingLabels: boolean;
|
|
22
22
|
labelStyle?: React.CSSProperties;
|
|
23
23
|
showLabels?: boolean;
|
|
24
|
-
|
|
24
|
+
labelDictionary: {
|
|
25
|
+
[key: string]: string;
|
|
26
|
+
};
|
|
25
27
|
};
|
|
26
|
-
export declare function BarGroup({ data, keys, height, xKey, xScaleDataType, xScale, innerXScale, yScale, onClick, conditionalFormattingRules, bars, enableHover, yAxisLabels, yLabelPosition, showDetailedSubGroupingLabels, labelStyle, showLabels,
|
|
28
|
+
export declare function BarGroup({ data, keys, height, xKey, xScaleDataType, xScale, innerXScale, yScale, onClick, conditionalFormattingRules, bars, enableHover, yAxisLabels, yLabelPosition, showDetailedSubGroupingLabels, labelStyle, showLabels, labelDictionary, }: BarGroupProps): JSX.Element;
|
|
@@ -6,7 +6,7 @@ import { ConditionalFormattingRule, ShapeDefinition } from '../../../../../share
|
|
|
6
6
|
export declare type BarStackedProps = {
|
|
7
7
|
conditionalFormattingRules: ConditionalFormattingRule[];
|
|
8
8
|
bars: ShapeDefinition<BarStyles>[];
|
|
9
|
-
keys
|
|
9
|
+
keys: string[];
|
|
10
10
|
yScale: ScaleLinear<number, number, never>;
|
|
11
11
|
xScale: any;
|
|
12
12
|
xScaleDataType: string;
|
|
@@ -14,5 +14,9 @@ export declare type BarStackedProps = {
|
|
|
14
14
|
data: DatumObject[];
|
|
15
15
|
height: number;
|
|
16
16
|
width: number;
|
|
17
|
+
showLabels: boolean;
|
|
18
|
+
labelDictionary: {
|
|
19
|
+
[key: string]: string;
|
|
20
|
+
};
|
|
17
21
|
};
|
|
18
|
-
export declare const BarStacked: ({ xScaleDataType, data, xScaleKey, yScale, keys, bars, conditionalFormattingRules, xScale, height, width, }: BarStackedProps) => JSX.Element;
|
|
22
|
+
export declare const BarStacked: ({ xScaleDataType, data, xScaleKey, yScale, keys, bars, conditionalFormattingRules, xScale, height, width, showLabels, labelDictionary, }: BarStackedProps) => JSX.Element;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ScaleBand, ScaleLinear } from '@visx/vendor/d3-scale';
|
|
3
|
+
import { BarStyles } from '../../../../../shared-logic/src/BarChartV2/types';
|
|
4
|
+
import { ChartDataDefinition, ConditionalFormattingRule, ShapeDefinition } from '../../../../../shared-logic/src/ChartsV2/types';
|
|
5
|
+
import { DataType } from '../../../../../shared-logic/src/Field/types';
|
|
6
|
+
export declare type HorizontalBarGroupProps = {
|
|
7
|
+
data: ChartDataDefinition[];
|
|
8
|
+
keys: string[];
|
|
9
|
+
width: number;
|
|
10
|
+
yKey: string;
|
|
11
|
+
yScaleDataType: DataType;
|
|
12
|
+
yScale: ScaleBand<string> | ScaleBand<Date> | ScaleBand<number>;
|
|
13
|
+
innerYScale: ScaleBand<string>;
|
|
14
|
+
xScale: ScaleLinear<number, number, never>;
|
|
15
|
+
onClick: (e: React.MouseEvent<SVGRectElement, MouseEvent>, barGroup: any, bar: any) => void;
|
|
16
|
+
conditionalFormattingRules: ConditionalFormattingRule[];
|
|
17
|
+
bars: ShapeDefinition<BarStyles>[];
|
|
18
|
+
enableHover?: boolean;
|
|
19
|
+
xAxisLabels?: string[];
|
|
20
|
+
xLabelPosition?: number;
|
|
21
|
+
showDetailedSubGroupingLabels: boolean;
|
|
22
|
+
labelStyle?: React.CSSProperties;
|
|
23
|
+
showLabels: boolean;
|
|
24
|
+
labelDictionary: {
|
|
25
|
+
[key: string]: string;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
export declare function HorizontalBarGroup({ data, keys, width, yKey, yScaleDataType, yScale, innerYScale, xScale, onClick, conditionalFormattingRules, bars, enableHover, xAxisLabels, xLabelPosition, showDetailedSubGroupingLabels, labelStyle, showLabels, labelDictionary, }: HorizontalBarGroupProps): JSX.Element;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { DatumObject } from '@visx/shape/lib/types';
|
|
3
|
+
import { ScaleBand, ScaleLinear } from '@visx/vendor/d3-scale';
|
|
4
|
+
import { BarStyles } from '../../../../../shared-logic/src/BarChartV2/types';
|
|
5
|
+
import { ConditionalFormattingRule, ShapeDefinition } from '../../../../../shared-logic/src/ChartsV2/types';
|
|
6
|
+
export declare type HorizontalBarStackedProps = {
|
|
7
|
+
conditionalFormattingRules: ConditionalFormattingRule[];
|
|
8
|
+
bars: ShapeDefinition<BarStyles>[];
|
|
9
|
+
keys: string[];
|
|
10
|
+
xScale: ScaleLinear<number, number, never>;
|
|
11
|
+
yScale: ScaleBand<string> | ScaleBand<Date> | ScaleBand<number>;
|
|
12
|
+
yScaleDataType: string;
|
|
13
|
+
yScaleKey: string;
|
|
14
|
+
data: DatumObject[];
|
|
15
|
+
height: number;
|
|
16
|
+
width: number;
|
|
17
|
+
showLabels: boolean;
|
|
18
|
+
labelDictionary: {
|
|
19
|
+
[key: string]: string;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
export declare const HorizontalBarStacked: ({ yScaleDataType, data, yScaleKey, yScale, keys, bars, conditionalFormattingRules, xScale, height, width, showLabels, labelDictionary, }: HorizontalBarStackedProps) => JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { BarStyles } from '../../../../shared-logic/src/BarChartV2/types';
|
|
2
|
-
import {
|
|
2
|
+
import { ChartDataDefinition, ConditionalFormattingRule, ShapeDefinition } from '../../../../shared-logic/src/ChartsV2/types';
|
|
3
3
|
export declare function getBarFill(bars: ShapeDefinition<BarStyles>[], conditionalFormattingRules: ConditionalFormattingRule[], barKey: string, barValues?: ChartDataDefinition | number): string | undefined;
|
|
@@ -3,9 +3,13 @@ import { ScalePoint, ScaleLinear, ScaleTime, ScaleBand } from '@visx/vendor/d3-s
|
|
|
3
3
|
import { DataType } from '../../../../shared-logic/src/Field/types';
|
|
4
4
|
import { ChartType } from '../../Legend/types';
|
|
5
5
|
import { DataItem } from '../../../../shared-logic/src/ChartsV2/types';
|
|
6
|
-
declare type TooltipData = {
|
|
6
|
+
export declare type TooltipData = {
|
|
7
7
|
[keyId: string]: DataItem;
|
|
8
8
|
};
|
|
9
|
+
export interface TooltipDataReturn {
|
|
10
|
+
lineLeft: number;
|
|
11
|
+
tooltipData: TooltipData | null;
|
|
12
|
+
}
|
|
9
13
|
interface getTooltipDataArgs {
|
|
10
14
|
data: Array<{
|
|
11
15
|
[keyId: string]: DataItem;
|
|
@@ -23,10 +27,6 @@ interface getTooltipDataArgs {
|
|
|
23
27
|
xOrdering: 'asc' | 'desc' | null;
|
|
24
28
|
chartType: ChartType;
|
|
25
29
|
}
|
|
26
|
-
interface TooltipDataReturn {
|
|
27
|
-
lineLeft: number;
|
|
28
|
-
tooltipData: TooltipData | null;
|
|
29
|
-
}
|
|
30
30
|
export declare const getTooltipData: ({ data, event, margin, xScaleKey, xScaleDataType, xScale, xOrdering, chartType, }: getTooltipDataArgs) => TooltipDataReturn | undefined;
|
|
31
31
|
export declare function buildComboTooltipData(barTooltipData: TooltipData | null | undefined, lineTooltipData: TooltipData | null | undefined, xScaleKey: string): TooltipData | undefined;
|
|
32
32
|
export {};
|
|
@@ -56,7 +56,7 @@ export declare const useGlobalContext: () => (import("../../types").InBrowserPro
|
|
|
56
56
|
formatPanel?: ((formatPanelConfig: import("../../../../shared-logic/src/FormatPanelConfig/types").FormatPanelConfig, context: {
|
|
57
57
|
type: import("../../../../shared-logic/src/Component/types").ComponentType;
|
|
58
58
|
}) => (import("../../../../shared-logic/src/FormatPanelConfig/types").HeadingSection | import("../../../../shared-logic/src/FormatPanelConfig/types").FormatSection | import("../../../../shared-logic/src/FormatPanelConfig/types").ChartStylesSection | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"prefixes"> | import("../../../../shared-logic/src/FormatPanelConfig/types").AxisLabelsSection | import("../../../../shared-logic/src/FormatPanelConfig/types").LabelsSection | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"mapColors"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"waterfallColors"> | import("../../../../shared-logic/src/FormatPanelConfig/types").ConditionalFormattingSection | import("../../../../shared-logic/src/FormatPanelConfig/types").GoalLineSection | import("../../../../shared-logic/src/FormatPanelConfig/types").ProgressTypesSection | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"headline"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"richText"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"trends"> | ((sectionProps: import("../../../../shared-ui/src").VizzlyComponents.EditorSectionProps<import("../../../../shared-logic/src/Component/types").Component.Attributes>) => JSX.Element))[]) | undefined;
|
|
59
|
-
onEditorUpdate?: ((newAttributes: import("../../../../shared-logic/src/Component/types").Component.Attributes, dataSet: import("../../../../shared-logic/src/DataSet/types").DataSet<import("../../../../shared-logic/src/DataSet/types").DataSet.Field>, reason: "initial" | "edit") => Partial<import("../../../../shared-logic/src/Component/types").Component.AreaChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.BarChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.BasicTableAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.BubbleChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.BubbleChartV2Attributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.ComboChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.CustomViewAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.DataTableAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.FunnelChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.HorizontalBarChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.LineChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.LineChartV2Attributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.BarChartV2Attributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.AreaChartV2Attributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.MercatorMapAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.PieChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.SunburstChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.ProgressAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.RichTextAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.ScatterChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.SingleStatAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.WaterfallChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.RadarChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.ComboChartV2Attributes>) | undefined;
|
|
59
|
+
onEditorUpdate?: ((newAttributes: import("../../../../shared-logic/src/Component/types").Component.Attributes, dataSet: import("../../../../shared-logic/src/DataSet/types").DataSet<import("../../../../shared-logic/src/DataSet/types").DataSet.Field>, reason: "initial" | "edit") => Partial<import("../../../../shared-logic/src/Component/types").Component.AreaChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.BarChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.BasicTableAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.BubbleChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.BubbleChartV2Attributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.ComboChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.CustomViewAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.DataTableAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.FunnelChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.HorizontalBarChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.LineChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.LineChartV2Attributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.BarChartV2Attributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.AreaChartV2Attributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.MercatorMapAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.PieChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.SunburstChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.ProgressAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.RichTextAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.ScatterChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.SingleStatAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.WaterfallChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.RadarChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.ComboChartV2Attributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.HorizontalBarChartV2Attributes>) | undefined;
|
|
60
60
|
maxCSVDownloadLimit?: number | undefined;
|
|
61
61
|
theme?: import("../..").VizzlyTheming.Base | undefined;
|
|
62
62
|
organizationName?: string | undefined;
|
|
@@ -128,7 +128,7 @@ export declare const useGlobalContext: () => (import("../../types").InBrowserPro
|
|
|
128
128
|
formatPanel?: ((formatPanelConfig: import("../../../../shared-logic/src/FormatPanelConfig/types").FormatPanelConfig, context: {
|
|
129
129
|
type: import("../../../../shared-logic/src/Component/types").ComponentType;
|
|
130
130
|
}) => (import("../../../../shared-logic/src/FormatPanelConfig/types").HeadingSection | import("../../../../shared-logic/src/FormatPanelConfig/types").FormatSection | import("../../../../shared-logic/src/FormatPanelConfig/types").ChartStylesSection | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"prefixes"> | import("../../../../shared-logic/src/FormatPanelConfig/types").AxisLabelsSection | import("../../../../shared-logic/src/FormatPanelConfig/types").LabelsSection | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"mapColors"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"waterfallColors"> | import("../../../../shared-logic/src/FormatPanelConfig/types").ConditionalFormattingSection | import("../../../../shared-logic/src/FormatPanelConfig/types").GoalLineSection | import("../../../../shared-logic/src/FormatPanelConfig/types").ProgressTypesSection | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"headline"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"richText"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"trends"> | ((sectionProps: import("../../../../shared-ui/src").VizzlyComponents.EditorSectionProps<import("../../../../shared-logic/src/Component/types").Component.Attributes>) => JSX.Element))[]) | undefined;
|
|
131
|
-
onEditorUpdate?: ((newAttributes: import("../../../../shared-logic/src/Component/types").Component.Attributes, dataSet: import("../../../../shared-logic/src/DataSet/types").DataSet<import("../../../../shared-logic/src/DataSet/types").DataSet.Field>, reason: "initial" | "edit") => Partial<import("../../../../shared-logic/src/Component/types").Component.AreaChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.BarChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.BasicTableAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.BubbleChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.BubbleChartV2Attributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.ComboChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.CustomViewAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.DataTableAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.FunnelChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.HorizontalBarChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.LineChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.LineChartV2Attributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.BarChartV2Attributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.AreaChartV2Attributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.MercatorMapAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.PieChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.SunburstChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.ProgressAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.RichTextAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.ScatterChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.SingleStatAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.WaterfallChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.RadarChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.ComboChartV2Attributes>) | undefined;
|
|
131
|
+
onEditorUpdate?: ((newAttributes: import("../../../../shared-logic/src/Component/types").Component.Attributes, dataSet: import("../../../../shared-logic/src/DataSet/types").DataSet<import("../../../../shared-logic/src/DataSet/types").DataSet.Field>, reason: "initial" | "edit") => Partial<import("../../../../shared-logic/src/Component/types").Component.AreaChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.BarChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.BasicTableAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.BubbleChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.BubbleChartV2Attributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.ComboChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.CustomViewAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.DataTableAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.FunnelChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.HorizontalBarChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.LineChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.LineChartV2Attributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.BarChartV2Attributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.AreaChartV2Attributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.MercatorMapAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.PieChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.SunburstChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.ProgressAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.RichTextAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.ScatterChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.SingleStatAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.WaterfallChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.RadarChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.ComboChartV2Attributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.HorizontalBarChartV2Attributes>) | undefined;
|
|
132
132
|
maxCSVDownloadLimit?: number | undefined;
|
|
133
133
|
theme?: import("../..").VizzlyTheming.Base | undefined;
|
|
134
134
|
organizationName?: string | undefined;
|
|
@@ -200,7 +200,7 @@ export declare const useGlobalContext: () => (import("../../types").InBrowserPro
|
|
|
200
200
|
formatPanel?: ((formatPanelConfig: import("../../../../shared-logic/src/FormatPanelConfig/types").FormatPanelConfig, context: {
|
|
201
201
|
type: import("../../../../shared-logic/src/Component/types").ComponentType;
|
|
202
202
|
}) => (import("../../../../shared-logic/src/FormatPanelConfig/types").HeadingSection | import("../../../../shared-logic/src/FormatPanelConfig/types").FormatSection | import("../../../../shared-logic/src/FormatPanelConfig/types").ChartStylesSection | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"prefixes"> | import("../../../../shared-logic/src/FormatPanelConfig/types").AxisLabelsSection | import("../../../../shared-logic/src/FormatPanelConfig/types").LabelsSection | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"mapColors"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"waterfallColors"> | import("../../../../shared-logic/src/FormatPanelConfig/types").ConditionalFormattingSection | import("../../../../shared-logic/src/FormatPanelConfig/types").GoalLineSection | import("../../../../shared-logic/src/FormatPanelConfig/types").ProgressTypesSection | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"headline"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"richText"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"trends"> | ((sectionProps: import("../../../../shared-ui/src").VizzlyComponents.EditorSectionProps<import("../../../../shared-logic/src/Component/types").Component.Attributes>) => JSX.Element))[]) | undefined;
|
|
203
|
-
onEditorUpdate?: ((newAttributes: import("../../../../shared-logic/src/Component/types").Component.Attributes, dataSet: import("../../../../shared-logic/src/DataSet/types").DataSet<import("../../../../shared-logic/src/DataSet/types").DataSet.Field>, reason: "initial" | "edit") => Partial<import("../../../../shared-logic/src/Component/types").Component.AreaChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.BarChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.BasicTableAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.BubbleChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.BubbleChartV2Attributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.ComboChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.CustomViewAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.DataTableAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.FunnelChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.HorizontalBarChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.LineChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.LineChartV2Attributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.BarChartV2Attributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.AreaChartV2Attributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.MercatorMapAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.PieChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.SunburstChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.ProgressAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.RichTextAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.ScatterChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.SingleStatAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.WaterfallChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.RadarChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.ComboChartV2Attributes>) | undefined;
|
|
203
|
+
onEditorUpdate?: ((newAttributes: import("../../../../shared-logic/src/Component/types").Component.Attributes, dataSet: import("../../../../shared-logic/src/DataSet/types").DataSet<import("../../../../shared-logic/src/DataSet/types").DataSet.Field>, reason: "initial" | "edit") => Partial<import("../../../../shared-logic/src/Component/types").Component.AreaChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.BarChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.BasicTableAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.BubbleChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.BubbleChartV2Attributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.ComboChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.CustomViewAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.DataTableAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.FunnelChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.HorizontalBarChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.LineChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.LineChartV2Attributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.BarChartV2Attributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.AreaChartV2Attributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.MercatorMapAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.PieChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.SunburstChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.ProgressAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.RichTextAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.ScatterChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.SingleStatAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.WaterfallChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.RadarChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.ComboChartV2Attributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.HorizontalBarChartV2Attributes>) | undefined;
|
|
204
204
|
maxCSVDownloadLimit?: number | undefined;
|
|
205
205
|
theme?: import("../..").VizzlyTheming.Base | undefined;
|
|
206
206
|
organizationName?: string | undefined;
|
|
@@ -273,7 +273,7 @@ export declare const GlobalContext: import("react").Context<(import("../../types
|
|
|
273
273
|
formatPanel?: ((formatPanelConfig: import("../../../../shared-logic/src/FormatPanelConfig/types").FormatPanelConfig, context: {
|
|
274
274
|
type: import("../../../../shared-logic/src/Component/types").ComponentType;
|
|
275
275
|
}) => (import("../../../../shared-logic/src/FormatPanelConfig/types").HeadingSection | import("../../../../shared-logic/src/FormatPanelConfig/types").FormatSection | import("../../../../shared-logic/src/FormatPanelConfig/types").ChartStylesSection | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"prefixes"> | import("../../../../shared-logic/src/FormatPanelConfig/types").AxisLabelsSection | import("../../../../shared-logic/src/FormatPanelConfig/types").LabelsSection | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"mapColors"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"waterfallColors"> | import("../../../../shared-logic/src/FormatPanelConfig/types").ConditionalFormattingSection | import("../../../../shared-logic/src/FormatPanelConfig/types").GoalLineSection | import("../../../../shared-logic/src/FormatPanelConfig/types").ProgressTypesSection | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"headline"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"richText"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"trends"> | ((sectionProps: import("../../../../shared-ui/src").VizzlyComponents.EditorSectionProps<import("../../../../shared-logic/src/Component/types").Component.Attributes>) => JSX.Element))[]) | undefined;
|
|
276
|
-
onEditorUpdate?: ((newAttributes: import("../../../../shared-logic/src/Component/types").Component.Attributes, dataSet: import("../../../../shared-logic/src/DataSet/types").DataSet<import("../../../../shared-logic/src/DataSet/types").DataSet.Field>, reason: "initial" | "edit") => Partial<import("../../../../shared-logic/src/Component/types").Component.AreaChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.BarChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.BasicTableAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.BubbleChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.BubbleChartV2Attributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.ComboChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.CustomViewAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.DataTableAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.FunnelChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.HorizontalBarChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.LineChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.LineChartV2Attributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.BarChartV2Attributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.AreaChartV2Attributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.MercatorMapAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.PieChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.SunburstChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.ProgressAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.RichTextAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.ScatterChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.SingleStatAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.WaterfallChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.RadarChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.ComboChartV2Attributes>) | undefined;
|
|
276
|
+
onEditorUpdate?: ((newAttributes: import("../../../../shared-logic/src/Component/types").Component.Attributes, dataSet: import("../../../../shared-logic/src/DataSet/types").DataSet<import("../../../../shared-logic/src/DataSet/types").DataSet.Field>, reason: "initial" | "edit") => Partial<import("../../../../shared-logic/src/Component/types").Component.AreaChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.BarChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.BasicTableAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.BubbleChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.BubbleChartV2Attributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.ComboChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.CustomViewAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.DataTableAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.FunnelChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.HorizontalBarChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.LineChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.LineChartV2Attributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.BarChartV2Attributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.AreaChartV2Attributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.MercatorMapAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.PieChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.SunburstChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.ProgressAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.RichTextAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.ScatterChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.SingleStatAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.WaterfallChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.RadarChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.ComboChartV2Attributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.HorizontalBarChartV2Attributes>) | undefined;
|
|
277
277
|
maxCSVDownloadLimit?: number | undefined;
|
|
278
278
|
theme?: import("../..").VizzlyTheming.Base | undefined;
|
|
279
279
|
organizationName?: string | undefined;
|
|
@@ -345,7 +345,7 @@ export declare const GlobalContext: import("react").Context<(import("../../types
|
|
|
345
345
|
formatPanel?: ((formatPanelConfig: import("../../../../shared-logic/src/FormatPanelConfig/types").FormatPanelConfig, context: {
|
|
346
346
|
type: import("../../../../shared-logic/src/Component/types").ComponentType;
|
|
347
347
|
}) => (import("../../../../shared-logic/src/FormatPanelConfig/types").HeadingSection | import("../../../../shared-logic/src/FormatPanelConfig/types").FormatSection | import("../../../../shared-logic/src/FormatPanelConfig/types").ChartStylesSection | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"prefixes"> | import("../../../../shared-logic/src/FormatPanelConfig/types").AxisLabelsSection | import("../../../../shared-logic/src/FormatPanelConfig/types").LabelsSection | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"mapColors"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"waterfallColors"> | import("../../../../shared-logic/src/FormatPanelConfig/types").ConditionalFormattingSection | import("../../../../shared-logic/src/FormatPanelConfig/types").GoalLineSection | import("../../../../shared-logic/src/FormatPanelConfig/types").ProgressTypesSection | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"headline"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"richText"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"trends"> | ((sectionProps: import("../../../../shared-ui/src").VizzlyComponents.EditorSectionProps<import("../../../../shared-logic/src/Component/types").Component.Attributes>) => JSX.Element))[]) | undefined;
|
|
348
|
-
onEditorUpdate?: ((newAttributes: import("../../../../shared-logic/src/Component/types").Component.Attributes, dataSet: import("../../../../shared-logic/src/DataSet/types").DataSet<import("../../../../shared-logic/src/DataSet/types").DataSet.Field>, reason: "initial" | "edit") => Partial<import("../../../../shared-logic/src/Component/types").Component.AreaChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.BarChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.BasicTableAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.BubbleChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.BubbleChartV2Attributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.ComboChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.CustomViewAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.DataTableAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.FunnelChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.HorizontalBarChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.LineChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.LineChartV2Attributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.BarChartV2Attributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.AreaChartV2Attributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.MercatorMapAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.PieChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.SunburstChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.ProgressAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.RichTextAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.ScatterChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.SingleStatAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.WaterfallChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.RadarChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.ComboChartV2Attributes>) | undefined;
|
|
348
|
+
onEditorUpdate?: ((newAttributes: import("../../../../shared-logic/src/Component/types").Component.Attributes, dataSet: import("../../../../shared-logic/src/DataSet/types").DataSet<import("../../../../shared-logic/src/DataSet/types").DataSet.Field>, reason: "initial" | "edit") => Partial<import("../../../../shared-logic/src/Component/types").Component.AreaChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.BarChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.BasicTableAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.BubbleChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.BubbleChartV2Attributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.ComboChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.CustomViewAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.DataTableAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.FunnelChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.HorizontalBarChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.LineChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.LineChartV2Attributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.BarChartV2Attributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.AreaChartV2Attributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.MercatorMapAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.PieChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.SunburstChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.ProgressAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.RichTextAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.ScatterChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.SingleStatAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.WaterfallChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.RadarChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.ComboChartV2Attributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.HorizontalBarChartV2Attributes>) | undefined;
|
|
349
349
|
maxCSVDownloadLimit?: number | undefined;
|
|
350
350
|
theme?: import("../..").VizzlyTheming.Base | undefined;
|
|
351
351
|
organizationName?: string | undefined;
|
|
@@ -417,7 +417,7 @@ export declare const GlobalContext: import("react").Context<(import("../../types
|
|
|
417
417
|
formatPanel?: ((formatPanelConfig: import("../../../../shared-logic/src/FormatPanelConfig/types").FormatPanelConfig, context: {
|
|
418
418
|
type: import("../../../../shared-logic/src/Component/types").ComponentType;
|
|
419
419
|
}) => (import("../../../../shared-logic/src/FormatPanelConfig/types").HeadingSection | import("../../../../shared-logic/src/FormatPanelConfig/types").FormatSection | import("../../../../shared-logic/src/FormatPanelConfig/types").ChartStylesSection | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"prefixes"> | import("../../../../shared-logic/src/FormatPanelConfig/types").AxisLabelsSection | import("../../../../shared-logic/src/FormatPanelConfig/types").LabelsSection | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"mapColors"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"waterfallColors"> | import("../../../../shared-logic/src/FormatPanelConfig/types").ConditionalFormattingSection | import("../../../../shared-logic/src/FormatPanelConfig/types").GoalLineSection | import("../../../../shared-logic/src/FormatPanelConfig/types").ProgressTypesSection | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"headline"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"richText"> | import("../../../../shared-logic/src/DataPanelConfig/types").Section<"trends"> | ((sectionProps: import("../../../../shared-ui/src").VizzlyComponents.EditorSectionProps<import("../../../../shared-logic/src/Component/types").Component.Attributes>) => JSX.Element))[]) | undefined;
|
|
420
|
-
onEditorUpdate?: ((newAttributes: import("../../../../shared-logic/src/Component/types").Component.Attributes, dataSet: import("../../../../shared-logic/src/DataSet/types").DataSet<import("../../../../shared-logic/src/DataSet/types").DataSet.Field>, reason: "initial" | "edit") => Partial<import("../../../../shared-logic/src/Component/types").Component.AreaChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.BarChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.BasicTableAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.BubbleChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.BubbleChartV2Attributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.ComboChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.CustomViewAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.DataTableAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.FunnelChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.HorizontalBarChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.LineChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.LineChartV2Attributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.BarChartV2Attributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.AreaChartV2Attributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.MercatorMapAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.PieChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.SunburstChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.ProgressAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.RichTextAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.ScatterChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.SingleStatAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.WaterfallChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.RadarChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.ComboChartV2Attributes>) | undefined;
|
|
420
|
+
onEditorUpdate?: ((newAttributes: import("../../../../shared-logic/src/Component/types").Component.Attributes, dataSet: import("../../../../shared-logic/src/DataSet/types").DataSet<import("../../../../shared-logic/src/DataSet/types").DataSet.Field>, reason: "initial" | "edit") => Partial<import("../../../../shared-logic/src/Component/types").Component.AreaChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.BarChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.BasicTableAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.BubbleChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.BubbleChartV2Attributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.ComboChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.CustomViewAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.DataTableAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.FunnelChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.HorizontalBarChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.LineChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.LineChartV2Attributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.BarChartV2Attributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.AreaChartV2Attributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.MercatorMapAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.PieChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.SunburstChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.ProgressAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.RichTextAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.ScatterChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.SingleStatAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.WaterfallChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.RadarChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.ComboChartV2Attributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.HorizontalBarChartV2Attributes>) | undefined;
|
|
421
421
|
maxCSVDownloadLimit?: number | undefined;
|
|
422
422
|
theme?: import("../..").VizzlyTheming.Base | undefined;
|
|
423
423
|
organizationName?: string | undefined;
|