@vizzly/dashboard 0.15.0-dev-6f309335ad30223a136cf38b60f5e283e6f1dd6a → 0.15.0-dev-5e07d50132303e93a31030ec29ea7a18de5d4c24
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/dashboard.cjs.development.js +861 -774
- package/dist/dashboard.cjs.production.min.js +1 -1
- package/dist/dashboard.esm.js +861 -774
- package/dist/shared-ui/src/api/useQueryEffect.d.ts +3 -3
- package/dist/shared-ui/src/components/FormatPropsEditor/FormatPanelFromConfig.d.ts +1 -1
- package/dist/shared-ui/src/components/PieChart/PieChartView.d.ts +3 -3
- package/dist/shared-ui/src/components/SunburstChart/SunburstChartView.d.ts +5 -2
- package/dist/shared-ui/src/components/SunburstChart/convertDataToSunburstData.d.ts +8 -2
- package/package.json +1 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { VizzlyComponents } from '../types';
|
|
2
|
-
import { Result } from '../../../shared-logic/src/Result/types';
|
|
3
1
|
import { FilterConfig } from '../../../shared-logic/src/AdditionalFilter/types';
|
|
4
2
|
import { DataSet } from '../../../shared-logic/src/DataSet/types';
|
|
5
|
-
import {
|
|
3
|
+
import { Result } from '../../../shared-logic/src/Result/types';
|
|
6
4
|
import { UseVariableState } from '../contexts/Variables/types';
|
|
5
|
+
import { VizzlyComponents } from '../types';
|
|
6
|
+
import { QueryableEntity } from './useQueryEffect/types';
|
|
7
7
|
export declare const useQueryEffect: (queries: QueryableEntity, runQueriesCallback: VizzlyComponents.runQueriesCallbackInternal, filterConfig: FilterConfig, dataSet: DataSet, componentType?: "progress" | "areaChart" | "areaChartV2" | "barChart" | "barChartV2" | "basicTable" | "bubbleChart" | "bubbleChartV2" | "comboChart" | "comboChartV2" | "custom" | "dataTable" | "funnelChart" | "horizontalBarChart" | "lineChart" | "lineChartV2" | "mercatorMap" | "pieChart" | "radarChart" | "richText" | "scatterChart" | "singleStat" | "sunburstChart" | "waterfallChart" | undefined, variables?: UseVariableState | undefined) => {
|
|
8
8
|
results: Array<Result | null>;
|
|
9
9
|
queriesAreChanging: boolean;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FunctionComponent } from 'react';
|
|
2
|
-
import { VizzlyComponents } from '../../types';
|
|
3
2
|
import { DashboardBehaviour } from '../../contexts/DashboardBehaviour/types';
|
|
3
|
+
import { VizzlyComponents } from '../../types';
|
|
4
4
|
declare type Props = Omit<VizzlyComponents.ComponentOverrides.Props.SectionProps, 'section'> & {
|
|
5
5
|
formatPanelConfig: ReturnType<DashboardBehaviour['formatPanel']>;
|
|
6
6
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import
|
|
2
|
+
import * as OnViewClick from '../../../../shared-logic/src/Callbacks/cell.funcs';
|
|
3
3
|
import { Component } from '../../../../shared-logic/src/Component/types';
|
|
4
|
-
import { DashboardBehaviour } from '../../contexts/DashboardBehaviour/types';
|
|
5
4
|
import * as Drilldown from '../../../../shared-logic/src/Drilldown/Drilldown';
|
|
6
|
-
import
|
|
5
|
+
import { DashboardBehaviour } from '../../contexts/DashboardBehaviour/types';
|
|
6
|
+
import { VizzlyComponents } from '../../types';
|
|
7
7
|
export declare type PieChartViewProps = VizzlyComponents.ViewProps<Component.PieChartAttributes> & {
|
|
8
8
|
library?: boolean;
|
|
9
9
|
numberFormatOptions: DashboardBehaviour['numberFormatOptions'];
|
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Component } from '../../../../shared-logic/src/Component/types';
|
|
3
3
|
import { FormatResultArgs } from '../../../../shared-logic/src/Result/formatResult';
|
|
4
|
+
import { DashboardBehaviour } from '../../contexts/DashboardBehaviour/types';
|
|
4
5
|
import { VizzlyComponents } from '../../types';
|
|
5
|
-
export declare type SunburstProps =
|
|
6
|
+
export declare type SunburstProps = Omit<VizzlyComponents.ViewProps<{
|
|
6
7
|
attributes: Component.SunburstChartAttributes;
|
|
7
|
-
}>, '
|
|
8
|
+
}>, 'defaultFormats' | 'sm' | 'supportedAggregates' | 'supportedTimeTruncFunctions' | 'supportedTransformationFunctions'> & {
|
|
8
9
|
formatResultParams: FormatResultArgs;
|
|
9
10
|
width: number;
|
|
10
11
|
height: number;
|
|
12
|
+
numberFormatOptions: DashboardBehaviour['numberFormatOptions'];
|
|
13
|
+
dateTimeFormatOptions: DashboardBehaviour['dateTimeFormatOptions'];
|
|
11
14
|
};
|
|
12
15
|
export declare const SunburstChartView: (props: SunburstProps) => JSX.Element;
|
|
13
16
|
declare const memoized: React.MemoExoticComponent<(props: SunburstProps) => JSX.Element>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { QueryAttributes } from '../../../../shared-logic/src/QueryAttributes/types';
|
|
1
2
|
import { FormattedResult } from '../../../../shared-logic/src/Result/types';
|
|
2
|
-
declare type SunburstNode = {
|
|
3
|
+
export declare type SunburstNode = {
|
|
3
4
|
name: string;
|
|
4
5
|
children?: SunburstNode[];
|
|
5
6
|
hierarchy: string;
|
|
@@ -7,5 +8,10 @@ declare type SunburstNode = {
|
|
|
7
8
|
parents: string[];
|
|
8
9
|
color: string;
|
|
9
10
|
};
|
|
10
|
-
|
|
11
|
+
declare type convertDataToSunburstDataArgs = {
|
|
12
|
+
formattedData: FormattedResult;
|
|
13
|
+
metricAttribute: QueryAttributes.Measure;
|
|
14
|
+
groupingAttributes: QueryAttributes.Dimension[];
|
|
15
|
+
};
|
|
16
|
+
export declare const convertDataToSunburstData: ({ formattedData, metricAttribute, groupingAttributes, }: convertDataToSunburstDataArgs) => SunburstNode;
|
|
11
17
|
export {};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vizzly/dashboard",
|
|
3
3
|
"author": "james@vizzly.co",
|
|
4
|
-
"version": "0.15.0-dev-
|
|
4
|
+
"version": "0.15.0-dev-5e07d50132303e93a31030ec29ea7a18de5d4c24",
|
|
5
5
|
"source": "src/index.tsx",
|
|
6
6
|
"types": "./dist/dashboard/src/index.d.ts",
|
|
7
7
|
"module": "./dist/dashboard.esm.js",
|