@devtable/dashboard 13.13.7 → 13.15.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/panel/panel-render/full-screen-render/use-panel-full-screen.d.ts +1840 -50
- package/dist/components/plugins/plugin-context.d.ts +1840 -50
- package/dist/components/plugins/viz-components/pareto-chart/editors/reference-lines/index.d.ts +10 -0
- package/dist/components/plugins/viz-components/pareto-chart/editors/reference-lines/reference-line.d.ts +17 -0
- package/dist/components/plugins/viz-components/pareto-chart/option/index.d.ts +30 -1
- package/dist/components/plugins/viz-components/pareto-chart/option/reference_lines.d.ts +32 -0
- package/dist/components/plugins/viz-components/pareto-chart/type.d.ts +2 -0
- package/dist/contexts/panel-context.d.ts +3773 -193
- package/dist/dashboard-editor/model/panels/panel.d.ts +824 -2
- package/dist/dashboard-editor/ui/settings/content/edit-panel/variable-config/model.d.ts +293 -1
- package/dist/dashboard.es.js +4560 -4338
- package/dist/dashboard.umd.js +75 -75
- package/dist/i18n/en.d.ts +8 -0
- package/dist/i18n/zh.d.ts +8 -0
- package/dist/model/meta-model/dashboard/content/panel/panel.d.ts +274 -0
- package/dist/model/meta-model/dashboard/content/panel/variable.d.ts +146 -0
- package/dist/model/render-model/dashboard/content/panels/panel.d.ts +824 -2
- package/dist/stats.html +1 -1
- package/dist/utils/aggregation.d.ts +8 -1
- package/dist/version.json +2 -2
- package/package.json +1 -1
|
@@ -5,6 +5,13 @@ export type TCustomAggregation = {
|
|
|
5
5
|
};
|
|
6
6
|
fallback: string;
|
|
7
7
|
};
|
|
8
|
+
export type TPickRecordAggregation = {
|
|
9
|
+
type: 'pick_record';
|
|
10
|
+
config: {
|
|
11
|
+
method: 'first' | 'last';
|
|
12
|
+
};
|
|
13
|
+
fallback: string;
|
|
14
|
+
};
|
|
8
15
|
export type TSimpleAggregation = {
|
|
9
16
|
type: 'none' | 'sum' | 'mean' | 'median' | 'max' | 'min' | 'CV' | 'std';
|
|
10
17
|
config: Record<string, never>;
|
|
@@ -18,7 +25,7 @@ export type TQuantileAggregation = {
|
|
|
18
25
|
fallback: string;
|
|
19
26
|
};
|
|
20
27
|
export declare const DefaultCustomAggregationFunc: string;
|
|
21
|
-
export type AggregationType = TSimpleAggregation | TQuantileAggregation | TCustomAggregation;
|
|
28
|
+
export type AggregationType = TSimpleAggregation | TQuantileAggregation | TPickRecordAggregation | TCustomAggregation;
|
|
22
29
|
export declare const DefaultAggregation: AggregationType;
|
|
23
30
|
export declare function formatNumbersAndAggregateValue(possibleNumbers: Array<string | number>, aggregation: AggregationType): string | number | number[];
|
|
24
31
|
export declare function aggregateValue(data: TPanelData, data_field: string, aggregation: AggregationType): any;
|
package/dist/version.json
CHANGED