@devtable/dashboard 4.1.1 → 4.2.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/api-caller/request.d.ts +1 -1
- package/dist/contexts/dashboard-action-context.d.ts +0 -3
- package/dist/contexts/model-context.d.ts +4908 -116
- package/dist/contexts/panel-context.d.ts +1 -1
- package/dist/dashboard.es.js +6409 -6340
- package/dist/dashboard.umd.js +26 -26
- package/dist/definition-editor/query-editor/index.d.ts +1 -4
- package/dist/definition-editor/sql-snippet-editor/editor.d.ts +2 -5
- package/dist/definition-editor/sql-snippet-editor/index.d.ts +1 -4
- package/dist/filter/filter-checkbox/render.d.ts +3 -3
- package/dist/filter/filter-date-range/render.d.ts +2 -2
- package/dist/filter/filter-multi-select/render.d.ts +2 -2
- package/dist/filter/filter-select/render.d.ts +2 -2
- package/dist/filter/filter-settings/filter-settings.d.ts +2 -5
- package/dist/filter/filter-text-input/render.d.ts +2 -2
- package/dist/filter/filter.d.ts +2 -2
- package/dist/filter/index.d.ts +2 -5
- package/dist/global.d.ts +2 -0
- package/dist/layout/index.d.ts +0 -3
- package/dist/layout/read-only.d.ts +2 -4
- package/dist/main/actions.d.ts +1 -3
- package/dist/main/main.d.ts +1 -1
- package/dist/main/view-schema-modal.d.ts +1 -1
- package/dist/model/context.d.ts +3 -3
- package/dist/model/dashboard.d.ts +3196 -41
- package/dist/model/filters/index.d.ts +3 -3
- package/dist/model/panels/index.d.ts +314 -0
- package/dist/model/panels/layout.d.ts +22 -0
- package/dist/model/panels/panel.d.ts +63 -0
- package/dist/model/panels/viz.d.ts +15 -0
- package/dist/model/queries/index.d.ts +3 -3
- package/dist/model/queries/query.d.ts +1 -1
- package/dist/panel/error-boundary.d.ts +2 -2
- package/dist/panel/index.d.ts +0 -1
- package/dist/panel/panel-description.d.ts +1 -4
- package/dist/panel/settings/common/data-field-selector.d.ts +1 -1
- package/dist/panel/settings/panel-config/index.d.ts +1 -4
- package/dist/panel/settings/pick-query/index.d.ts +1 -4
- package/dist/panel/settings/viz-config/index.d.ts +1 -4
- package/dist/panel/settings/viz-config/preview-viz.d.ts +1 -4
- package/dist/panel/title-bar.d.ts +1 -4
- package/dist/panel/viz/index.d.ts +1 -1
- package/dist/plugins/json-plugin-storage.d.ts +2 -2
- package/dist/plugins/plugin-data-migrator/plugin-data-migrator.d.ts +3 -3
- package/dist/plugins/plugin-data-migrator/version-based-migrator.d.ts +1 -1
- package/dist/plugins/viz-components/boxplot-chart/reference-lines/index.d.ts +1 -1
- package/dist/plugins/viz-components/boxplot-chart/reference-lines/reference-line.d.ts +1 -1
- package/dist/plugins/viz-components/boxplot-chart/variables/index.d.ts +2 -2
- package/dist/plugins/viz-components/boxplot-chart/variables/variable.d.ts +2 -2
- package/dist/plugins/viz-components/cartesian/option/index.d.ts +1 -1
- package/dist/plugins/viz-components/cartesian/option/regression.d.ts +2 -2
- package/dist/plugins/viz-components/cartesian/option/series.d.ts +1 -1
- package/dist/plugins/viz-components/cartesian/option/tooltip.d.ts +1 -1
- package/dist/plugins/viz-components/cartesian/option/x-axis.d.ts +1 -1
- package/dist/plugins/viz-components/cartesian/option/y-axis.d.ts +2 -2
- package/dist/plugins/viz-components/cartesian/panel/regressions/index.d.ts +2 -2
- package/dist/plugins/viz-components/cartesian/panel/regressions/regression-item.d.ts +2 -2
- package/dist/plugins/viz-components/cartesian/panel/series/fields.bar.d.ts +1 -1
- package/dist/plugins/viz-components/cartesian/panel/series/fields.line.d.ts +1 -1
- package/dist/plugins/viz-components/cartesian/panel/series/fields.scatter.d.ts +1 -1
- package/dist/plugins/viz-components/cartesian/panel/series/index.d.ts +2 -2
- package/dist/plugins/viz-components/cartesian/panel/series/series-item.d.ts +2 -2
- package/dist/plugins/viz-components/cartesian/panel/stats/index.d.ts +2 -2
- package/dist/plugins/viz-components/cartesian/panel/stats/variable.d.ts +2 -2
- package/dist/plugins/viz-components/cartesian/panel/y-axes.d.ts +1 -1
- package/dist/plugins/viz-components/radar-chart/option/index.d.ts +1 -1
- package/dist/plugins/viz-components/radar-chart/panel/dimensions.d.ts +2 -2
- package/dist/plugins/viz-components/regression-chart/option/index.d.ts +1 -1
- package/dist/plugins/viz-components/regression-chart/option/regression-expression.d.ts +1 -1
- package/dist/plugins/viz-components/regression-chart/option/regression-series.d.ts +1 -1
- package/dist/plugins/viz-components/regression-chart/regression-item.d.ts +2 -2
- package/dist/plugins/viz-components/stats/panel/variable.d.ts +2 -2
- package/dist/plugins/viz-components/stats/panel/variables.d.ts +2 -2
- package/dist/plugins/viz-components/table/value.d.ts +1 -1
- package/dist/plugins/viz-manager/components.d.ts +2 -2
- package/dist/types/utils.d.ts +1 -1
- package/dist/types/viz-panel.d.ts +1 -1
- package/dist/utils/aggregation.d.ts +1 -1
- package/dist/utils/download.d.ts +2 -2
- package/dist/utils/sql.d.ts +1 -1
- package/dist/utils/template/editor/variable-field.d.ts +1 -1
- package/dist/utils/template/utils.d.ts +1 -1
- package/package.json +2 -1
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import { Control, UseFieldArrayRemove } from 'react-hook-form';
|
|
3
3
|
import { IBoxplotChartConf } from '../type';
|
|
4
4
|
interface VariableField {
|
|
5
|
-
control: Control<IBoxplotChartConf,
|
|
5
|
+
control: Control<IBoxplotChartConf, $TSFixMe>;
|
|
6
6
|
index: number;
|
|
7
7
|
remove: UseFieldArrayRemove;
|
|
8
|
-
data:
|
|
8
|
+
data: $TSFixMe[];
|
|
9
9
|
}
|
|
10
10
|
export declare function VariableField({ control, index, remove, data }: VariableField): JSX.Element;
|
|
11
11
|
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { ICartesianChartConf } from '../type';
|
|
2
|
-
export declare function getOption(conf: ICartesianChartConf, data:
|
|
2
|
+
export declare function getOption(conf: ICartesianChartConf, data: $TSFixMe[]): any;
|
|
@@ -10,9 +10,9 @@ interface IRegressionSeriesItem extends IRegressionLineConf {
|
|
|
10
10
|
xAxisId: string;
|
|
11
11
|
name: string;
|
|
12
12
|
showSymbol: boolean;
|
|
13
|
-
tooltip: Record<string,
|
|
13
|
+
tooltip: Record<string, $TSFixMe>;
|
|
14
14
|
}
|
|
15
|
-
export declare function getRegressionConfs({ regressions }: ICartesianChartConf, data:
|
|
15
|
+
export declare function getRegressionConfs({ regressions }: ICartesianChartConf, data: $TSFixMe[]): {
|
|
16
16
|
regressionDataSets: IRegressionDataSetItem[];
|
|
17
17
|
regressionSeries: IRegressionSeriesItem[];
|
|
18
18
|
regressionXAxes: Record<string, any>[];
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { ICartesianChartConf } from '../type';
|
|
2
|
-
export declare function getSeries(conf: ICartesianChartConf, xAxisData:
|
|
2
|
+
export declare function getSeries(conf: ICartesianChartConf, xAxisData: $TSFixMe[], data: $TSFixMe[], labelFormatters: Record<string, $TSFixMe>): any[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TopLevelFormatterParams } from 'echarts/types/dist/shared';
|
|
2
2
|
import { ICartesianChartConf } from '../type';
|
|
3
|
-
export declare function getTooltip(conf: ICartesianChartConf, labelFormatters: Record<string, (p:
|
|
3
|
+
export declare function getTooltip(conf: ICartesianChartConf, labelFormatters: Record<string, (p: $TSFixMe) => string>): {
|
|
4
4
|
formatter: (params: TopLevelFormatterParams) => string;
|
|
5
5
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { ICartesianChartConf } from '../type';
|
|
2
|
-
export declare function getXAxes(conf: ICartesianChartConf, xAxisData:
|
|
2
|
+
export declare function getXAxes(conf: ICartesianChartConf, xAxisData: $TSFixMe[], regressionXAxes: $TSFixMe[]): any[];
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ICartesianChartConf } from '../type';
|
|
2
|
-
export declare function getYAxes(conf: ICartesianChartConf, labelFormatters: Record<string, (p:
|
|
2
|
+
export declare function getYAxes(conf: ICartesianChartConf, labelFormatters: Record<string, (p: $TSFixMe) => string>): {
|
|
3
3
|
axisLabel: {
|
|
4
4
|
show: boolean;
|
|
5
|
-
formatter: (p:
|
|
5
|
+
formatter: (p: $TSFixMe) => string;
|
|
6
6
|
};
|
|
7
7
|
nameTextStyle: {
|
|
8
8
|
fontWeight: string;
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
import { Control, UseFormWatch } from 'react-hook-form';
|
|
3
3
|
import { ICartesianChartConf } from '../../type';
|
|
4
4
|
interface IRegressionsField {
|
|
5
|
-
control: Control<ICartesianChartConf,
|
|
5
|
+
control: Control<ICartesianChartConf, $TSFixMe>;
|
|
6
6
|
watch: UseFormWatch<ICartesianChartConf>;
|
|
7
|
-
data:
|
|
7
|
+
data: $TSFixMe[];
|
|
8
8
|
}
|
|
9
9
|
export declare function RegressionsField({ control, watch, data }: IRegressionsField): JSX.Element;
|
|
10
10
|
export {};
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { Control, UseFieldArrayRemove } from 'react-hook-form';
|
|
3
3
|
import { ICartesianChartConf, IRegressionConf } from '../../type';
|
|
4
4
|
interface IRegressionField {
|
|
5
|
-
control: Control<ICartesianChartConf,
|
|
5
|
+
control: Control<ICartesianChartConf, $TSFixMe>;
|
|
6
6
|
regressionItem: IRegressionConf;
|
|
7
7
|
index: number;
|
|
8
8
|
remove: UseFieldArrayRemove;
|
|
@@ -10,7 +10,7 @@ interface IRegressionField {
|
|
|
10
10
|
label: string;
|
|
11
11
|
value: string;
|
|
12
12
|
}[];
|
|
13
|
-
data:
|
|
13
|
+
data: $TSFixMe[];
|
|
14
14
|
}
|
|
15
15
|
export declare function RegressionField({ control, regressionItem, index, remove, yAxisOptions, data }: IRegressionField): JSX.Element;
|
|
16
16
|
export {};
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { Control } from 'react-hook-form';
|
|
3
3
|
import { ICartesianChartConf } from '../../type';
|
|
4
4
|
interface IBarFields {
|
|
5
|
-
control: Control<ICartesianChartConf,
|
|
5
|
+
control: Control<ICartesianChartConf, $TSFixMe>;
|
|
6
6
|
index: number;
|
|
7
7
|
}
|
|
8
8
|
export declare function BarFields({ control, index }: IBarFields): JSX.Element;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { Control } from 'react-hook-form';
|
|
3
3
|
import { ICartesianChartConf } from '../../type';
|
|
4
4
|
interface ILineFields {
|
|
5
|
-
control: Control<ICartesianChartConf,
|
|
5
|
+
control: Control<ICartesianChartConf, $TSFixMe>;
|
|
6
6
|
index: number;
|
|
7
7
|
}
|
|
8
8
|
export declare function LineFields({ control, index }: ILineFields): JSX.Element;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { Control } from 'react-hook-form';
|
|
3
3
|
import { ICartesianChartConf } from '../../type';
|
|
4
4
|
interface IScatterFields {
|
|
5
|
-
control: Control<ICartesianChartConf,
|
|
5
|
+
control: Control<ICartesianChartConf, $TSFixMe>;
|
|
6
6
|
index: number;
|
|
7
7
|
}
|
|
8
8
|
export declare function ScatterFields({ control, index }: IScatterFields): JSX.Element;
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
import { Control, UseFormWatch } from 'react-hook-form';
|
|
3
3
|
import { ICartesianChartConf } from '../../type';
|
|
4
4
|
interface ISeriesField {
|
|
5
|
-
control: Control<ICartesianChartConf,
|
|
5
|
+
control: Control<ICartesianChartConf, $TSFixMe>;
|
|
6
6
|
watch: UseFormWatch<ICartesianChartConf>;
|
|
7
|
-
data:
|
|
7
|
+
data: $TSFixMe[];
|
|
8
8
|
}
|
|
9
9
|
export declare function SeriesField({ control, watch, data }: ISeriesField): JSX.Element;
|
|
10
10
|
export {};
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { Control, UseFieldArrayRemove } from 'react-hook-form';
|
|
3
3
|
import { ICartesianChartConf, ICartesianChartSeriesItem } from '../../type';
|
|
4
4
|
interface ISeriesItemField {
|
|
5
|
-
control: Control<ICartesianChartConf,
|
|
5
|
+
control: Control<ICartesianChartConf, $TSFixMe>;
|
|
6
6
|
index: number;
|
|
7
7
|
remove: UseFieldArrayRemove;
|
|
8
8
|
seriesItem: ICartesianChartSeriesItem;
|
|
@@ -10,7 +10,7 @@ interface ISeriesItemField {
|
|
|
10
10
|
label: string;
|
|
11
11
|
value: string;
|
|
12
12
|
}[];
|
|
13
|
-
data:
|
|
13
|
+
data: $TSFixMe[];
|
|
14
14
|
}
|
|
15
15
|
export declare function SeriesItemField({ control, index, remove, seriesItem, yAxisOptions, data }: ISeriesItemField): JSX.Element;
|
|
16
16
|
export {};
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
import { Control, UseFormWatch } from 'react-hook-form';
|
|
3
3
|
import { ICartesianChartConf } from '../../type';
|
|
4
4
|
interface IVariablesField {
|
|
5
|
-
control: Control<ICartesianChartConf,
|
|
5
|
+
control: Control<ICartesianChartConf, $TSFixMe>;
|
|
6
6
|
watch: UseFormWatch<ICartesianChartConf>;
|
|
7
|
-
data:
|
|
7
|
+
data: $TSFixMe[];
|
|
8
8
|
}
|
|
9
9
|
export declare function StatsField({ control, watch, data }: IVariablesField): JSX.Element;
|
|
10
10
|
export {};
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import { Control, UseFieldArrayRemove } from 'react-hook-form';
|
|
3
3
|
import { ICartesianChartConf } from '../../type';
|
|
4
4
|
interface VariableField {
|
|
5
|
-
control: Control<ICartesianChartConf,
|
|
5
|
+
control: Control<ICartesianChartConf, $TSFixMe>;
|
|
6
6
|
index: number;
|
|
7
7
|
remove: UseFieldArrayRemove;
|
|
8
|
-
data:
|
|
8
|
+
data: $TSFixMe[];
|
|
9
9
|
}
|
|
10
10
|
export declare function VariableField({ control, index, remove, data }: VariableField): JSX.Element;
|
|
11
11
|
export {};
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { Control, UseFormWatch } from 'react-hook-form';
|
|
3
3
|
import { ICartesianChartConf } from '../type';
|
|
4
4
|
interface IYAxesField {
|
|
5
|
-
control: Control<ICartesianChartConf,
|
|
5
|
+
control: Control<ICartesianChartConf, $TSFixMe>;
|
|
6
6
|
watch: UseFormWatch<ICartesianChartConf>;
|
|
7
7
|
}
|
|
8
8
|
export declare function YAxesField({ control, watch }: IYAxesField): JSX.Element;
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
import { Control, UseFormWatch } from 'react-hook-form';
|
|
3
3
|
import { IRadarChartConf } from '../type';
|
|
4
4
|
interface IDimensionsField {
|
|
5
|
-
control: Control<IRadarChartConf,
|
|
5
|
+
control: Control<IRadarChartConf, $TSFixMe>;
|
|
6
6
|
watch: UseFormWatch<IRadarChartConf>;
|
|
7
|
-
data:
|
|
7
|
+
data: $TSFixMe[];
|
|
8
8
|
}
|
|
9
9
|
export declare function DimensionsField({ control, watch, data }: IDimensionsField): JSX.Element;
|
|
10
10
|
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { IRegressionChartConf } from '../type';
|
|
2
|
-
export declare function getOption(conf: IRegressionChartConf, data:
|
|
2
|
+
export declare function getOption(conf: IRegressionChartConf, data: $TSFixMe[]): any;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { IRegressionChartConf } from '../type';
|
|
3
|
-
export declare function getRegressionDescription(data:
|
|
3
|
+
export declare function getRegressionDescription(data: $TSFixMe[], conf?: IRegressionChartConf): {
|
|
4
4
|
expression: JSX.Element;
|
|
5
5
|
rSquared: any;
|
|
6
6
|
adjustedRSquared: number;
|
|
@@ -4,7 +4,7 @@ interface IRegressionSeriesItem extends IRegressionLineConf {
|
|
|
4
4
|
data: number[][];
|
|
5
5
|
name: string;
|
|
6
6
|
showSymbol: boolean;
|
|
7
|
-
tooltip: Record<string,
|
|
7
|
+
tooltip: Record<string, $TSFixMe>;
|
|
8
8
|
smooth: boolean;
|
|
9
9
|
}
|
|
10
10
|
export declare function getRegressionConf({ regression }: IRegressionChartConf, data: number[][]): {
|
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
import { Control, UseFormWatch } from 'react-hook-form';
|
|
7
7
|
import { IRegressionChartConf } from './type';
|
|
8
8
|
interface IRegressionField {
|
|
9
|
-
control: Control<IRegressionChartConf,
|
|
9
|
+
control: Control<IRegressionChartConf, $TSFixMe>;
|
|
10
10
|
watch: UseFormWatch<IRegressionChartConf>;
|
|
11
|
-
data:
|
|
11
|
+
data: $TSFixMe[];
|
|
12
12
|
}
|
|
13
13
|
export declare function RegressionField({ control, watch, data }: IRegressionField): JSX.Element;
|
|
14
14
|
export {};
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import { Control, UseFieldArrayRemove } from 'react-hook-form';
|
|
3
3
|
import { IVizStatsConf } from '../type';
|
|
4
4
|
interface VariableField {
|
|
5
|
-
control: Control<IVizStatsConf,
|
|
5
|
+
control: Control<IVizStatsConf, $TSFixMe>;
|
|
6
6
|
index: number;
|
|
7
7
|
remove: UseFieldArrayRemove;
|
|
8
|
-
data:
|
|
8
|
+
data: $TSFixMe[];
|
|
9
9
|
}
|
|
10
10
|
export declare function VariableField({ control, index, remove, data }: VariableField): JSX.Element;
|
|
11
11
|
export {};
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
import { Control, UseFormWatch } from 'react-hook-form';
|
|
3
3
|
import { IVizStatsConf } from '../type';
|
|
4
4
|
interface IVariablesField {
|
|
5
|
-
control: Control<IVizStatsConf,
|
|
5
|
+
control: Control<IVizStatsConf, $TSFixMe>;
|
|
6
6
|
watch: UseFormWatch<IVizStatsConf>;
|
|
7
|
-
data:
|
|
7
|
+
data: $TSFixMe[];
|
|
8
8
|
}
|
|
9
9
|
export declare function VariablesField({ control, watch, data }: IVariablesField): JSX.Element;
|
|
10
10
|
export {};
|
|
@@ -9,7 +9,7 @@ export declare type IViewPanelInfo = IPanelInfo & {
|
|
|
9
9
|
};
|
|
10
10
|
export declare type IViewComponentProps<TDebug = Record<string, unknown>> = {
|
|
11
11
|
panel: IViewPanelInfo;
|
|
12
|
-
data:
|
|
12
|
+
data: $TSFixMe;
|
|
13
13
|
vizManager: IVizManager;
|
|
14
14
|
} & TDebug;
|
|
15
15
|
export declare const VizViewComponent: <T>(props: IViewComponentProps<T>) => JSX.Element;
|
|
@@ -17,6 +17,6 @@ export declare type IConfigComponentProps<TDebug = Record<string, unknown>> = {
|
|
|
17
17
|
panel: IPanelInfo;
|
|
18
18
|
panelInfoEditor: IPanelInfoEditor;
|
|
19
19
|
vizManager: IVizManager;
|
|
20
|
-
data:
|
|
20
|
+
data: $TSFixMe;
|
|
21
21
|
} & TDebug;
|
|
22
22
|
export declare const VizConfigComponent: <T>(props: IConfigComponentProps<T>) => JSX.Element;
|
package/dist/types/utils.d.ts
CHANGED
package/dist/utils/download.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare function downloadCSV(id: string, csv: string): void;
|
|
2
2
|
export declare function downloadDataListAsZip(idDataList: Array<{
|
|
3
3
|
id: string;
|
|
4
|
-
data:
|
|
4
|
+
data: $TSFixMe[];
|
|
5
5
|
}>): void;
|
|
6
|
-
export declare function makeCSV(data:
|
|
6
|
+
export declare function makeCSV(data: $TSFixMe | $TSFixMe[]): string;
|
package/dist/utils/sql.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { FilterValuesType } from '../model';
|
|
|
2
2
|
import { ContextInfoType } from '../model/context';
|
|
3
3
|
import { SQLSnippetModelInstance } from '../model/sql-snippets';
|
|
4
4
|
export declare function explainSQLSnippet(snippet: string, context: ContextInfoType): any;
|
|
5
|
-
export declare function formatSQL(sql: string, params: Record<string,
|
|
5
|
+
export declare function formatSQL(sql: string, params: Record<string, $TSFixMe>): any;
|
|
6
6
|
export declare function getSQLParams(context: ContextInfoType, sqlSnippets: SQLSnippetModelInstance[], filterValues: FilterValuesType): Record<string, any> & ContextInfoType & {
|
|
7
7
|
filters: FilterValuesType;
|
|
8
8
|
};
|
|
@@ -3,7 +3,7 @@ import { ITemplateVariable } from '../types';
|
|
|
3
3
|
interface ITemplateVariableField {
|
|
4
4
|
value: ITemplateVariable;
|
|
5
5
|
onChange: (v: ITemplateVariable) => void;
|
|
6
|
-
data:
|
|
6
|
+
data: $TSFixMe[];
|
|
7
7
|
withStyle?: boolean;
|
|
8
8
|
}
|
|
9
9
|
export declare const TemplateVariableField: React.ForwardRefExoticComponent<ITemplateVariableField & React.RefAttributes<unknown>>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { ITemplateVariable } from './types';
|
|
2
|
-
export declare function getNonStatsDataText(data:
|
|
2
|
+
export declare function getNonStatsDataText(data: $TSFixMe): any;
|
|
3
3
|
export declare function getAggregatedValue({ data_field, aggregation }: ITemplateVariable, data: Record<string, number>[]): number;
|
|
4
4
|
export declare function formatAggregatedValue({ formatter }: ITemplateVariable, value: number | string): any;
|