@devtable/dashboard 14.8.0 → 14.10.0
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/filter/filter-date-range/render.d.ts +1 -0
- package/dist/components/filter/index.d.ts +1 -0
- package/dist/components/filter/use-visible-filters.d.ts +8 -0
- package/dist/components/panel/plugin-adaptor.d.ts +1 -1
- package/dist/components/plugins/index.d.ts +1 -0
- package/dist/components/plugins/viz-components/bar-3d-chart/viz-bar-3d-chart.d.ts +1 -1
- package/dist/components/plugins/viz-components/funnel/viz-funnel-chart.d.ts +1 -1
- package/dist/components/plugins/viz-components/merico-estimation-chart/viz-merico-estimation-chart.d.ts +1 -1
- package/dist/components/plugins/viz-components/regression-chart/viz-regression-chart.d.ts +1 -1
- package/dist/components/plugins/viz-components/sunburst/viz-sunburst.d.ts +1 -1
- package/dist/components/plugins/viz-components/viz-instance-api.d.ts +17 -0
- package/dist/dashboard.es.js +7655 -7503
- package/dist/dashboard.umd.js +76 -76
- package/dist/index.d.ts +2 -1
- package/dist/stats.html +1 -1
- package/dist/version.json +2 -2
- package/package.json +1 -1
|
@@ -6,6 +6,7 @@ interface IFilterDateRange {
|
|
|
6
6
|
onChange: (v: DateRangeValue) => void;
|
|
7
7
|
disabled?: boolean;
|
|
8
8
|
}
|
|
9
|
+
export declare const formatDateRangeValue: (value: DateRangeValue) => DateRangeValue;
|
|
9
10
|
export declare const FilterDateRange: (({ label, config, value, onChange, disabled }: IFilterDateRange) => import('./react/jsx-runtime').JSX.Element) & {
|
|
10
11
|
displayName: string;
|
|
11
12
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from './react';
|
|
2
|
-
import { IConfigComponentProps, IViewComponentProps } from '../plugins/viz-manager/components';
|
|
3
2
|
import { IVizConfig } from '../../types';
|
|
3
|
+
import { IConfigComponentProps, IViewComponentProps } from '../plugins/viz-manager/components';
|
|
4
4
|
type SetVizConfType = {
|
|
5
5
|
setVizConf: (val: React.SetStateAction<IVizConfig['conf']>) => void;
|
|
6
6
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { VizViewProps } from '../../../../types/plugin';
|
|
2
|
-
export declare function VizBar3dChart({ context }: VizViewProps): import('./react/jsx-runtime').JSX.Element | null;
|
|
2
|
+
export declare function VizBar3dChart({ context, instance }: VizViewProps): import('./react/jsx-runtime').JSX.Element | null;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { VizViewProps } from '../../../../types/plugin';
|
|
2
|
-
export declare function VizFunnelChart({ context }: VizViewProps): import('./react/jsx-runtime').JSX.Element | null;
|
|
2
|
+
export declare function VizFunnelChart({ context, instance }: VizViewProps): import('./react/jsx-runtime').JSX.Element | null;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { VizViewProps } from '../../../../types/plugin';
|
|
2
|
-
export declare function VizMericoEstimationChart({ context }: VizViewProps): import('./react/jsx-runtime').JSX.Element | null;
|
|
2
|
+
export declare function VizMericoEstimationChart({ context, instance }: VizViewProps): import('./react/jsx-runtime').JSX.Element | null;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { VizViewProps } from '../../../../types/plugin';
|
|
2
|
-
export declare function VizRegressionChart({ context }: VizViewProps): import('./react/jsx-runtime').JSX.Element | null;
|
|
2
|
+
export declare function VizRegressionChart({ context, instance }: VizViewProps): import('./react/jsx-runtime').JSX.Element | null;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { VizViewProps } from '../../../../types/plugin';
|
|
2
|
-
export declare function VizSunburst({ context }: VizViewProps): import('./react/jsx-runtime').JSX.Element | null;
|
|
2
|
+
export declare function VizSunburst({ context, instance }: VizViewProps): import('./react/jsx-runtime').JSX.Element | null;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { VizInstance } from '../../../types/plugin';
|
|
2
|
+
import { IPanelInfo } from '../../../components/plugins';
|
|
3
|
+
/**
|
|
4
|
+
* Emit viz rendered event
|
|
5
|
+
* @param instance
|
|
6
|
+
* @param data
|
|
7
|
+
*/
|
|
8
|
+
export declare function notifyVizRendered(instance: VizInstance, data: unknown): void;
|
|
9
|
+
export interface IVizRenderedPayload {
|
|
10
|
+
panel: IPanelInfo;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Subscribe to viz rendered event of a viz instance
|
|
14
|
+
* @param instance
|
|
15
|
+
* @param callback
|
|
16
|
+
*/
|
|
17
|
+
export declare function onVizRendered(instance: VizInstance, callback: (data: unknown) => void): () => void;
|