@devtable/dashboard 10.59.0 → 10.60.1
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/panel/panel-render/full-screen-render/use-panel-full-screen.d.ts +41 -8
- package/dist/components/panel/settings/common/aggregation-selector.d.ts +1 -1
- package/dist/components/panel/settings/common/numbro-format-selector.d.ts +3 -9
- package/dist/components/plugins/controls/color-mapping-editor/index.d.ts +2 -2
- package/dist/components/plugins/plugin-context.d.ts +41 -8
- package/dist/components/plugins/viz-components/boxplot-chart/editors/reference-lines/index.d.ts +1 -1
- package/dist/components/plugins/viz-components/boxplot-chart/option/index.d.ts +1 -1
- package/dist/components/plugins/viz-components/boxplot-chart/option/reference-line.d.ts +1 -1
- package/dist/components/plugins/viz-components/boxplot-chart/option/tooltip/additional-metrics.d.ts +1 -1
- package/dist/components/plugins/viz-components/boxplot-chart/type.d.ts +2 -2
- package/dist/components/plugins/viz-components/calendar-heatmap/option/index.d.ts +1 -1
- package/dist/components/plugins/viz-components/calendar-heatmap/type.d.ts +2 -2
- package/dist/components/plugins/viz-components/cartesian/editors/reference-areas/index.d.ts +1 -1
- package/dist/components/plugins/viz-components/cartesian/editors/reference-lines/index.d.ts +1 -1
- package/dist/components/plugins/viz-components/cartesian/migrators/index.d.ts +1 -1
- package/dist/components/plugins/viz-components/cartesian/option/index.d.ts +1 -1
- package/dist/components/plugins/viz-components/cartesian/option/series/data.d.ts +1 -1
- package/dist/components/plugins/viz-components/cartesian/option/series/index.d.ts +1 -1
- package/dist/components/plugins/viz-components/cartesian/option/series/reference_lines.d.ts +1 -1
- package/dist/components/plugins/viz-components/cartesian/option/utils/variables.d.ts +1 -1
- package/dist/components/plugins/viz-components/cartesian/type.d.ts +3 -3
- package/dist/components/plugins/viz-components/heatmap/option/index.d.ts +1 -1
- package/dist/components/plugins/viz-components/heatmap/type.d.ts +2 -2
- package/dist/components/plugins/viz-components/horizontal-bar-chart/editors/reference-lines/index.d.ts +1 -1
- package/dist/components/plugins/viz-components/horizontal-bar-chart/option/index.d.ts +1 -1
- package/dist/components/plugins/viz-components/horizontal-bar-chart/option/series/data.d.ts +1 -1
- package/dist/components/plugins/viz-components/horizontal-bar-chart/option/series/index.d.ts +1 -1
- package/dist/components/plugins/viz-components/horizontal-bar-chart/option/series/reference_lines.d.ts +1 -1
- package/dist/components/plugins/viz-components/horizontal-bar-chart/option/utils/variables.d.ts +1 -1
- package/dist/components/plugins/viz-components/horizontal-bar-chart/type.d.ts +3 -3
- package/dist/components/plugins/viz-components/merico-heatmap/render/option/index.d.ts +1 -1
- package/dist/components/plugins/viz-components/merico-heatmap/type.d.ts +2 -2
- package/dist/components/plugins/viz-components/merico-stats/editors/metrics/index.d.ts +1 -1
- package/dist/components/plugins/viz-components/merico-stats/type.d.ts +2 -2
- package/dist/components/plugins/viz-components/pareto-chart/option/index.d.ts +1 -1
- package/dist/components/plugins/viz-components/pareto-chart/type.d.ts +2 -2
- package/dist/components/plugins/viz-components/radar-chart/option/formatter.d.ts +2 -2
- package/dist/components/plugins/viz-components/radar-chart/type.d.ts +2 -2
- package/dist/components/plugins/viz-components/regression-chart/type.d.ts +3 -3
- package/dist/components/plugins/viz-components/rich-text/parse-rich-text-content.d.ts +1 -1
- package/dist/components/plugins/viz-components/scatter-chart/editors/reference-areas/index.d.ts +1 -1
- package/dist/components/plugins/viz-components/scatter-chart/editors/reference-lines/index.d.ts +1 -1
- package/dist/components/plugins/viz-components/scatter-chart/option/index.d.ts +1 -1
- package/dist/components/plugins/viz-components/scatter-chart/option/series.d.ts +1 -1
- package/dist/components/plugins/viz-components/sunburst/option/index.d.ts +1 -1
- package/dist/components/plugins/viz-manager/components.d.ts +1 -1
- package/dist/contexts/panel-context.d.ts +82 -16
- package/dist/dashboard-editor/model/panels/panel.d.ts +19 -4
- package/dist/dashboard-editor/model/queries/index.d.ts +7 -7
- package/dist/dashboard-editor/ui/settings/content/edit-panel/variable-config/model.d.ts +6 -0
- package/dist/dashboard-editor/ui/settings/content/edit-panel/variable-config/variable-field.d.ts +1 -1
- package/dist/dashboard.es.js +4384 -4325
- package/dist/dashboard.umd.js +71 -71
- package/dist/model/meta-model/dashboard/content/panel/panel.d.ts +5 -0
- package/dist/model/meta-model/dashboard/content/panel/variable.d.ts +3 -0
- package/dist/model/render-model/dashboard/content/panels/panel.d.ts +19 -4
- package/dist/model/render-model/dashboard/content/queries/mute-query.d.ts +1 -1
- package/dist/model/render-model/dashboard/content/queries/queries.d.ts +5 -5
- package/dist/model/render-model/dashboard/content/queries/query.d.ts +1 -1
- package/dist/stats.html +1 -1
- package/dist/types/dashboard.d.ts +1 -1
- package/dist/types/plugin/index.d.ts +1 -1
- package/dist/utils/function-utils.d.ts +2 -2
- package/dist/utils/index.d.ts +15 -0
- package/dist/utils/number.d.ts +12 -0
- package/dist/utils/template/types.d.ts +2 -2
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { TNumberFormat } from '../../../../utils';
|
|
2
2
|
import { IAxisLabelOverflow } from '../../../../components/plugins/common-echarts-fields/axis-label-overflow';
|
|
3
3
|
import { TEchartsDataZoomConfig } from '../cartesian/editors/echarts-zooming-field/types';
|
|
4
4
|
import { IXAxisLabelFormatter } from '../cartesian/editors/x-axis/x-axis-label-formatter/types';
|
|
@@ -21,7 +21,7 @@ export interface IParetoChartConf {
|
|
|
21
21
|
name: string;
|
|
22
22
|
nameAlignment: 'left' | 'center' | 'right';
|
|
23
23
|
color: string;
|
|
24
|
-
label_formatter:
|
|
24
|
+
label_formatter: TNumberFormat;
|
|
25
25
|
};
|
|
26
26
|
line: {
|
|
27
27
|
name: string;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare function getFormatter(formatter:
|
|
1
|
+
import { TNumberFormat } from '../../../../../utils';
|
|
2
|
+
export declare function getFormatter(formatter: TNumberFormat): (value: number) => string | number;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { TNumberFormat } from '../../../../utils';
|
|
2
2
|
export type TAdditionalSeriesItem = {
|
|
3
3
|
id: string;
|
|
4
4
|
name_key: TDataKey;
|
|
@@ -9,7 +9,7 @@ export interface IRadarChartDimension {
|
|
|
9
9
|
name: string;
|
|
10
10
|
data_key: TDataKey;
|
|
11
11
|
max: string;
|
|
12
|
-
formatter:
|
|
12
|
+
formatter: TNumberFormat;
|
|
13
13
|
}
|
|
14
14
|
export interface IRadarChartConf {
|
|
15
15
|
series_name_key: TDataKey;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
+
import { IAxisLabelOverflow } from '../../../../components/plugins/common-echarts-fields/axis-label-overflow';
|
|
1
2
|
import { IXAxisLabelFormatter } from '../../../../components/plugins/common-echarts-fields/x-axis-label-formatter/types';
|
|
3
|
+
import { TNumberFormat } from '../../../../utils';
|
|
2
4
|
import { IRegressionConf } from '../cartesian/type';
|
|
3
|
-
import { IAxisLabelOverflow } from '../../../../components/plugins/common-echarts-fields/axis-label-overflow';
|
|
4
|
-
import { TNumbroFormat } from '../../../../components/panel/settings/common/numbro-format-selector';
|
|
5
5
|
export interface IRegressionChartConf {
|
|
6
6
|
x_axis: {
|
|
7
7
|
name: string;
|
|
8
8
|
data_key: TDataKey;
|
|
9
9
|
axisLabel: {
|
|
10
10
|
rotate: number;
|
|
11
|
-
format:
|
|
11
|
+
format: TNumberFormat;
|
|
12
12
|
overflow: IAxisLabelOverflow;
|
|
13
13
|
formatter: IXAxisLabelFormatter;
|
|
14
14
|
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { TPayloadForViz } from '../../../../model';
|
|
2
|
-
import { ITemplateVariable } from '../../../../utils
|
|
2
|
+
import { ITemplateVariable } from '../../../../utils';
|
|
3
3
|
export declare function parseRichTextContent(rawContent: string, variables: ITemplateVariable[], payload: TPayloadForViz, data: TPanelData): string;
|
package/dist/components/plugins/viz-components/scatter-chart/editors/reference-areas/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Control, UseFormWatch } from 'react-hook-form';
|
|
2
|
-
import { ITemplateVariable } from '../../../../../../utils
|
|
2
|
+
import { ITemplateVariable } from '../../../../../../utils';
|
|
3
3
|
import { IScatterChartConf } from '../../type';
|
|
4
4
|
interface IReferenceAreasField {
|
|
5
5
|
control: Control<IScatterChartConf, $TSFixMe>;
|
package/dist/components/plugins/viz-components/scatter-chart/editors/reference-lines/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Control, UseFormWatch } from 'react-hook-form';
|
|
2
|
-
import { ITemplateVariable } from '../../../../../../utils
|
|
2
|
+
import { ITemplateVariable } from '../../../../../../utils';
|
|
3
3
|
import { IScatterChartConf } from '../../type';
|
|
4
4
|
interface IReferenceLinesField {
|
|
5
5
|
control: Control<IScatterChartConf, $TSFixMe>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { ITemplateVariable } from '../../../../../utils
|
|
1
|
+
import { ITemplateVariable } from '../../../../../utils';
|
|
2
2
|
import { IScatterChartConf } from '../type';
|
|
3
3
|
export declare function getOption(conf: IScatterChartConf, data: TPanelData, variables: ITemplateVariable[]): any;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { AnyObject } from '../../../../../types';
|
|
2
|
-
import { ITemplateVariable } from '../../../../../utils
|
|
2
|
+
import { ITemplateVariable } from '../../../../../utils';
|
|
3
3
|
import { IScatterChartConf } from '../type';
|
|
4
4
|
export declare function getSeries(conf: IScatterChartConf, data: TPanelData, variables: ITemplateVariable[], variableValueMap: Record<string, string | number>): AnyObject[];
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { ITemplateVariable } from '../../../../../utils
|
|
1
|
+
import { ITemplateVariable } from '../../../../../utils';
|
|
2
2
|
import { ISunburstConf } from '../type';
|
|
3
3
|
export declare function getOption(conf: ISunburstConf, data: TPanelData, variables: ITemplateVariable[]): any;
|