@gooddata/sdk-code-convertors 11.35.0-alpha.4 → 11.35.0-alpha.6
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/esm/configs/areaChart.d.ts +22 -10
- package/esm/configs/areaChart.js +13 -5
- package/esm/configs/barChart.d.ts +22 -10
- package/esm/configs/barChart.js +13 -5
- package/esm/configs/bubbleChart.d.ts +22 -10
- package/esm/configs/bubbleChart.js +13 -5
- package/esm/configs/bulletChart.d.ts +22 -10
- package/esm/configs/bulletChart.js +13 -5
- package/esm/configs/columnChart.d.ts +22 -10
- package/esm/configs/columnChart.js +13 -5
- package/esm/configs/comboChart.d.ts +22 -10
- package/esm/configs/comboChart.js +13 -5
- package/esm/configs/dependencyWheelChart.d.ts +22 -10
- package/esm/configs/dependencyWheelChart.js +13 -5
- package/esm/configs/donutChart.d.ts +22 -10
- package/esm/configs/donutChart.js +13 -5
- package/esm/configs/funnelChart.d.ts +22 -10
- package/esm/configs/funnelChart.js +13 -5
- package/esm/configs/geoAreaChart.d.ts +22 -10
- package/esm/configs/geoAreaChart.js +13 -5
- package/esm/configs/geoChart.d.ts +22 -10
- package/esm/configs/geoChart.js +13 -5
- package/esm/configs/headlineChart.d.ts +22 -10
- package/esm/configs/headlineChart.js +13 -5
- package/esm/configs/heatmapChart.d.ts +22 -10
- package/esm/configs/heatmapChart.js +13 -5
- package/esm/configs/lineChart.d.ts +22 -10
- package/esm/configs/lineChart.js +13 -5
- package/esm/configs/pieChart.d.ts +22 -10
- package/esm/configs/pieChart.js +13 -5
- package/esm/configs/pyramidChart.d.ts +22 -10
- package/esm/configs/pyramidChart.js +13 -5
- package/esm/configs/repeaterChart.d.ts +25 -11
- package/esm/configs/repeaterChart.js +15 -6
- package/esm/configs/sankeyChart.d.ts +22 -10
- package/esm/configs/sankeyChart.js +13 -5
- package/esm/configs/scatterChart.d.ts +22 -10
- package/esm/configs/scatterChart.js +13 -5
- package/esm/configs/table.d.ts +22 -10
- package/esm/configs/table.js +13 -5
- package/esm/configs/treemapChart.d.ts +22 -10
- package/esm/configs/treemapChart.js +13 -5
- package/esm/configs/types.d.ts +28 -1
- package/esm/configs/types.js +0 -1
- package/esm/configs/utils.d.ts +1 -1
- package/esm/configs/utils.js +0 -1
- package/esm/configs/waterfallChart.d.ts +22 -10
- package/esm/configs/waterfallChart.js +13 -5
- package/esm/conts.d.ts +8 -1
- package/esm/conts.js +8 -1
- package/esm/execution/buildAfmExecution.d.ts +0 -1
- package/esm/execution/buildAfmExecution.js +0 -1
- package/esm/from/declarativeAttributeHierarchyToYaml.d.ts +0 -1
- package/esm/from/declarativeAttributeHierarchyToYaml.js +0 -1
- package/esm/from/declarativeDashboardToYaml.d.ts +9 -1
- package/esm/from/declarativeDashboardToYaml.js +7 -1
- package/esm/from/declarativeDatasetToYaml.d.ts +0 -1
- package/esm/from/declarativeDatasetToYaml.js +0 -1
- package/esm/from/declarativeDateInstanceToYaml.d.ts +0 -1
- package/esm/from/declarativeDateInstanceToYaml.js +0 -1
- package/esm/from/declarativeMetricToYaml.d.ts +0 -1
- package/esm/from/declarativeMetricToYaml.js +0 -1
- package/esm/from/declarativePluginToYaml.d.ts +0 -1
- package/esm/from/declarativePluginToYaml.js +0 -1
- package/esm/from/declarativeVisualisationToYaml.d.ts +47 -18
- package/esm/from/declarativeVisualisationToYaml.js +19 -1
- package/esm/index.d.ts +27 -28
- package/esm/index.js +23 -24
- package/esm/schemas/types.d.ts +0 -1
- package/esm/schemas/types.js +0 -1
- package/esm/sdk-code-convertors.d.ts +2107 -1647
- package/esm/to/yamlAttributeHierarchyToDeclarative.d.ts +0 -1
- package/esm/to/yamlAttributeHierarchyToDeclarative.js +0 -1
- package/esm/to/yamlDashboardToDeclarative.d.ts +18 -6
- package/esm/to/yamlDashboardToDeclarative.js +5 -1
- package/esm/to/yamlDatasetToDeclarative.d.ts +4 -1
- package/esm/to/yamlDatasetToDeclarative.js +4 -1
- package/esm/to/yamlDateDatasetToDeclarative.d.ts +0 -1
- package/esm/to/yamlDateDatasetToDeclarative.js +0 -1
- package/esm/to/yamlMetricToDeclarative.d.ts +0 -1
- package/esm/to/yamlMetricToDeclarative.js +0 -1
- package/esm/to/yamlPluginToDeclarative.d.ts +0 -1
- package/esm/to/yamlPluginToDeclarative.js +0 -1
- package/esm/to/yamlVisualisationToDeclarative.d.ts +7 -3
- package/esm/to/yamlVisualisationToDeclarative.js +5 -1
- package/esm/types.d.ts +0 -1
- package/esm/types.js +0 -1
- package/esm/utils/configUtils.d.ts +0 -1
- package/esm/utils/configUtils.js +0 -1
- package/esm/utils/convertBucketToTitle.d.ts +0 -1
- package/esm/utils/convertBucketToTitle.js +0 -1
- package/esm/utils/customUrl.d.ts +0 -1
- package/esm/utils/customUrl.js +0 -1
- package/esm/utils/dateUtils.d.ts +0 -1
- package/esm/utils/dateUtils.js +0 -1
- package/esm/utils/errors.d.ts +0 -1
- package/esm/utils/errors.js +0 -1
- package/esm/utils/filterUtils.d.ts +0 -1
- package/esm/utils/filterUtils.js +0 -1
- package/esm/utils/granularityUtils.d.ts +0 -1
- package/esm/utils/granularityUtils.js +0 -1
- package/esm/utils/locationUtils.d.ts +0 -1
- package/esm/utils/locationUtils.js +0 -1
- package/esm/utils/nameUtils.d.ts +0 -1
- package/esm/utils/nameUtils.js +0 -1
- package/esm/utils/permissionUtils.d.ts +0 -1
- package/esm/utils/permissionUtils.js +0 -1
- package/esm/utils/sharedUtils.d.ts +1 -1
- package/esm/utils/sharedUtils.js +0 -1
- package/esm/utils/texts.d.ts +0 -1
- package/esm/utils/texts.js +0 -1
- package/esm/utils/typeGuards.d.ts +0 -1
- package/esm/utils/typeGuards.js +0 -1
- package/esm/utils/yamlUtils.d.ts +0 -1
- package/esm/utils/yamlUtils.js +0 -1
- package/package.json +7 -7
- package/esm/configs/areaChart.d.ts.map +0 -1
- package/esm/configs/areaChart.js.map +0 -1
- package/esm/configs/barChart.d.ts.map +0 -1
- package/esm/configs/barChart.js.map +0 -1
- package/esm/configs/bubbleChart.d.ts.map +0 -1
- package/esm/configs/bubbleChart.js.map +0 -1
- package/esm/configs/bulletChart.d.ts.map +0 -1
- package/esm/configs/bulletChart.js.map +0 -1
- package/esm/configs/columnChart.d.ts.map +0 -1
- package/esm/configs/columnChart.js.map +0 -1
- package/esm/configs/comboChart.d.ts.map +0 -1
- package/esm/configs/comboChart.js.map +0 -1
- package/esm/configs/dependencyWheelChart.d.ts.map +0 -1
- package/esm/configs/dependencyWheelChart.js.map +0 -1
- package/esm/configs/donutChart.d.ts.map +0 -1
- package/esm/configs/donutChart.js.map +0 -1
- package/esm/configs/funnelChart.d.ts.map +0 -1
- package/esm/configs/funnelChart.js.map +0 -1
- package/esm/configs/geoAreaChart.d.ts.map +0 -1
- package/esm/configs/geoAreaChart.js.map +0 -1
- package/esm/configs/geoChart.d.ts.map +0 -1
- package/esm/configs/geoChart.js.map +0 -1
- package/esm/configs/headlineChart.d.ts.map +0 -1
- package/esm/configs/headlineChart.js.map +0 -1
- package/esm/configs/heatmapChart.d.ts.map +0 -1
- package/esm/configs/heatmapChart.js.map +0 -1
- package/esm/configs/lineChart.d.ts.map +0 -1
- package/esm/configs/lineChart.js.map +0 -1
- package/esm/configs/pieChart.d.ts.map +0 -1
- package/esm/configs/pieChart.js.map +0 -1
- package/esm/configs/pyramidChart.d.ts.map +0 -1
- package/esm/configs/pyramidChart.js.map +0 -1
- package/esm/configs/repeaterChart.d.ts.map +0 -1
- package/esm/configs/repeaterChart.js.map +0 -1
- package/esm/configs/sankeyChart.d.ts.map +0 -1
- package/esm/configs/sankeyChart.js.map +0 -1
- package/esm/configs/scatterChart.d.ts.map +0 -1
- package/esm/configs/scatterChart.js.map +0 -1
- package/esm/configs/table.d.ts.map +0 -1
- package/esm/configs/table.js.map +0 -1
- package/esm/configs/treemapChart.d.ts.map +0 -1
- package/esm/configs/treemapChart.js.map +0 -1
- package/esm/configs/types.d.ts.map +0 -1
- package/esm/configs/types.js.map +0 -1
- package/esm/configs/utils.d.ts.map +0 -1
- package/esm/configs/utils.js.map +0 -1
- package/esm/configs/waterfallChart.d.ts.map +0 -1
- package/esm/configs/waterfallChart.js.map +0 -1
- package/esm/conts.d.ts.map +0 -1
- package/esm/conts.js.map +0 -1
- package/esm/execution/buildAfmExecution.d.ts.map +0 -1
- package/esm/execution/buildAfmExecution.js.map +0 -1
- package/esm/from/declarativeAttributeHierarchyToYaml.d.ts.map +0 -1
- package/esm/from/declarativeAttributeHierarchyToYaml.js.map +0 -1
- package/esm/from/declarativeDashboardToYaml.d.ts.map +0 -1
- package/esm/from/declarativeDashboardToYaml.js.map +0 -1
- package/esm/from/declarativeDatasetToYaml.d.ts.map +0 -1
- package/esm/from/declarativeDatasetToYaml.js.map +0 -1
- package/esm/from/declarativeDateInstanceToYaml.d.ts.map +0 -1
- package/esm/from/declarativeDateInstanceToYaml.js.map +0 -1
- package/esm/from/declarativeMetricToYaml.d.ts.map +0 -1
- package/esm/from/declarativeMetricToYaml.js.map +0 -1
- package/esm/from/declarativePluginToYaml.d.ts.map +0 -1
- package/esm/from/declarativePluginToYaml.js.map +0 -1
- package/esm/from/declarativeVisualisationToYaml.d.ts.map +0 -1
- package/esm/from/declarativeVisualisationToYaml.js.map +0 -1
- package/esm/index.d.ts.map +0 -1
- package/esm/index.js.map +0 -1
- package/esm/schemas/types.d.ts.map +0 -1
- package/esm/schemas/types.js.map +0 -1
- package/esm/to/yamlAttributeHierarchyToDeclarative.d.ts.map +0 -1
- package/esm/to/yamlAttributeHierarchyToDeclarative.js.map +0 -1
- package/esm/to/yamlDashboardToDeclarative.d.ts.map +0 -1
- package/esm/to/yamlDashboardToDeclarative.js.map +0 -1
- package/esm/to/yamlDatasetToDeclarative.d.ts.map +0 -1
- package/esm/to/yamlDatasetToDeclarative.js.map +0 -1
- package/esm/to/yamlDateDatasetToDeclarative.d.ts.map +0 -1
- package/esm/to/yamlDateDatasetToDeclarative.js.map +0 -1
- package/esm/to/yamlMetricToDeclarative.d.ts.map +0 -1
- package/esm/to/yamlMetricToDeclarative.js.map +0 -1
- package/esm/to/yamlPluginToDeclarative.d.ts.map +0 -1
- package/esm/to/yamlPluginToDeclarative.js.map +0 -1
- package/esm/to/yamlVisualisationToDeclarative.d.ts.map +0 -1
- package/esm/to/yamlVisualisationToDeclarative.js.map +0 -1
- package/esm/types.d.ts.map +0 -1
- package/esm/types.js.map +0 -1
- package/esm/utils/configUtils.d.ts.map +0 -1
- package/esm/utils/configUtils.js.map +0 -1
- package/esm/utils/convertBucketToTitle.d.ts.map +0 -1
- package/esm/utils/convertBucketToTitle.js.map +0 -1
- package/esm/utils/customUrl.d.ts.map +0 -1
- package/esm/utils/customUrl.js.map +0 -1
- package/esm/utils/dateUtils.d.ts.map +0 -1
- package/esm/utils/dateUtils.js.map +0 -1
- package/esm/utils/errors.d.ts.map +0 -1
- package/esm/utils/errors.js.map +0 -1
- package/esm/utils/filterUtils.d.ts.map +0 -1
- package/esm/utils/filterUtils.js.map +0 -1
- package/esm/utils/granularityUtils.d.ts.map +0 -1
- package/esm/utils/granularityUtils.js.map +0 -1
- package/esm/utils/locationUtils.d.ts.map +0 -1
- package/esm/utils/locationUtils.js.map +0 -1
- package/esm/utils/nameUtils.d.ts.map +0 -1
- package/esm/utils/nameUtils.js.map +0 -1
- package/esm/utils/permissionUtils.d.ts.map +0 -1
- package/esm/utils/permissionUtils.js.map +0 -1
- package/esm/utils/sharedUtils.d.ts.map +0 -1
- package/esm/utils/sharedUtils.js.map +0 -1
- package/esm/utils/texts.d.ts.map +0 -1
- package/esm/utils/texts.js.map +0 -1
- package/esm/utils/typeGuards.d.ts.map +0 -1
- package/esm/utils/typeGuards.js.map +0 -1
- package/esm/utils/yamlUtils.d.ts.map +0 -1
- package/esm/utils/yamlUtils.js.map +0 -1
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import type { Visualisation } from "@gooddata/sdk-code-schemas/v1";
|
|
2
2
|
import { type ColorMapping, type PointShapeSymbol } from "./types.js";
|
|
3
3
|
import { type ConfigDefaults, type VisualisationConfig } from "./utils.js";
|
|
4
|
-
|
|
4
|
+
/** @internal */
|
|
5
|
+
export type LineChartConfigProperties = {
|
|
5
6
|
colorMapping: Array<ColorMapping>;
|
|
6
7
|
continuousLine: {
|
|
7
8
|
enabled: boolean;
|
|
@@ -63,8 +64,12 @@ type DefaultProperties = {
|
|
|
63
64
|
thresholdMeasures: string[];
|
|
64
65
|
thresholdExcludedMeasures: string[];
|
|
65
66
|
};
|
|
66
|
-
|
|
67
|
-
declare
|
|
67
|
+
/** @internal */
|
|
68
|
+
export declare const LINE_CHART_DEFAULTS: ConfigDefaults<LineChartConfigProperties>;
|
|
69
|
+
/** @internal */
|
|
70
|
+
export declare function lineChartLoad(props: VisualisationConfig<LineChartConfigProperties>): import("yaml").Pair<import("yaml").Scalar<string>, any> | null;
|
|
71
|
+
/** @internal */
|
|
72
|
+
export declare function lineChartSave(_fields: Visualisation["query"]["fields"] | undefined, config: Visualisation["config"] | undefined): {
|
|
68
73
|
colorMapping: ColorMapping[] | undefined;
|
|
69
74
|
continuousLine: {
|
|
70
75
|
enabled: boolean | undefined;
|
|
@@ -126,10 +131,17 @@ declare function save(_fields: Visualisation["query"]["fields"] | undefined, con
|
|
|
126
131
|
thresholdMeasures: string[] | undefined;
|
|
127
132
|
thresholdExcludedMeasures: string[] | undefined;
|
|
128
133
|
} | undefined;
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
134
|
+
/**
|
|
135
|
+
* @internal
|
|
136
|
+
* @deprecated Use lineChartLoad and lineChartSave instead.
|
|
137
|
+
*/
|
|
138
|
+
export interface ILineChartConfig {
|
|
139
|
+
load: typeof lineChartLoad;
|
|
140
|
+
save: typeof lineChartSave;
|
|
141
|
+
DEFAULTS: ConfigDefaults<LineChartConfigProperties>;
|
|
142
|
+
}
|
|
143
|
+
/**
|
|
144
|
+
* @internal
|
|
145
|
+
* @deprecated Use lineChartLoad and lineChartSave instead.
|
|
146
|
+
*/
|
|
147
|
+
export declare const lineChart: ILineChartConfig;
|
package/esm/configs/lineChart.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
// (C) 2023-2026 GoodData Corporation
|
|
2
2
|
import { loadColorMapping, saveColorMapping } from "../utils/configUtils.js";
|
|
3
3
|
import { getValueOrDefault, loadConfig, saveConfigObject, } from "./utils.js";
|
|
4
|
+
/** @internal */
|
|
4
5
|
const DEFAULTS = {
|
|
5
6
|
colorMapping: [],
|
|
6
7
|
continuousLine: {
|
|
@@ -62,7 +63,10 @@ const DEFAULTS = {
|
|
|
62
63
|
thresholdMeasures: [],
|
|
63
64
|
thresholdExcludedMeasures: [],
|
|
64
65
|
};
|
|
65
|
-
|
|
66
|
+
/** @internal */
|
|
67
|
+
export const LINE_CHART_DEFAULTS = DEFAULTS;
|
|
68
|
+
/** @internal */
|
|
69
|
+
export function lineChartLoad(props) {
|
|
66
70
|
return loadConfig(props, (key, value) => {
|
|
67
71
|
switch (key) {
|
|
68
72
|
case "colorMapping":
|
|
@@ -218,7 +222,8 @@ function load(props) {
|
|
|
218
222
|
}
|
|
219
223
|
});
|
|
220
224
|
}
|
|
221
|
-
|
|
225
|
+
/** @internal */
|
|
226
|
+
export function lineChartSave(_fields, config) {
|
|
222
227
|
if (!config) {
|
|
223
228
|
return undefined;
|
|
224
229
|
}
|
|
@@ -286,9 +291,12 @@ function save(_fields, config) {
|
|
|
286
291
|
thresholdExcludedMeasures: getValueOrDefault(config.line_style_excluded_metrics, DEFAULTS.thresholdExcludedMeasures, "array"),
|
|
287
292
|
});
|
|
288
293
|
}
|
|
294
|
+
/**
|
|
295
|
+
* @internal
|
|
296
|
+
* @deprecated Use lineChartLoad and lineChartSave instead.
|
|
297
|
+
*/
|
|
289
298
|
export const lineChart = {
|
|
290
|
-
load,
|
|
291
|
-
save,
|
|
299
|
+
load: lineChartLoad,
|
|
300
|
+
save: lineChartSave,
|
|
292
301
|
DEFAULTS,
|
|
293
302
|
};
|
|
294
|
-
//# sourceMappingURL=lineChart.js.map
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import type { Visualisation } from "@gooddata/sdk-code-schemas/v1";
|
|
2
2
|
import { type ChartFillType, type ColorMapping, type PatternFillName } from "./types.js";
|
|
3
3
|
import { type ConfigDefaults, type VisualisationConfig } from "./utils.js";
|
|
4
|
-
|
|
4
|
+
/** @internal */
|
|
5
|
+
export type PieChartConfigProperties = {
|
|
5
6
|
colorMapping: Array<ColorMapping>;
|
|
6
7
|
dataLabels: {
|
|
7
8
|
visible: boolean | "auto";
|
|
@@ -19,8 +20,12 @@ type DefaultProperties = {
|
|
|
19
20
|
disableAlerts: boolean;
|
|
20
21
|
disableScheduledExports: boolean;
|
|
21
22
|
};
|
|
22
|
-
|
|
23
|
-
declare
|
|
23
|
+
/** @internal */
|
|
24
|
+
export declare const PIE_CHART_DEFAULTS: ConfigDefaults<PieChartConfigProperties>;
|
|
25
|
+
/** @internal */
|
|
26
|
+
export declare function pieChartLoad(props: VisualisationConfig<PieChartConfigProperties>): import("yaml").Pair<import("yaml").Scalar<string>, any> | null;
|
|
27
|
+
/** @internal */
|
|
28
|
+
export declare function pieChartSave(_fields: Visualisation["query"]["fields"] | undefined, config: Visualisation["config"] | undefined): {
|
|
24
29
|
colorMapping: ColorMapping[] | undefined;
|
|
25
30
|
dataLabels: {
|
|
26
31
|
visible: "auto" | boolean | undefined;
|
|
@@ -38,10 +43,17 @@ declare function save(_fields: Visualisation["query"]["fields"] | undefined, con
|
|
|
38
43
|
disableAlerts: boolean | undefined;
|
|
39
44
|
disableScheduledExports: boolean | undefined;
|
|
40
45
|
} | undefined;
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
46
|
+
/**
|
|
47
|
+
* @internal
|
|
48
|
+
* @deprecated Use pieChartLoad and pieChartSave instead.
|
|
49
|
+
*/
|
|
50
|
+
export interface IPieChartConfig {
|
|
51
|
+
load: typeof pieChartLoad;
|
|
52
|
+
save: typeof pieChartSave;
|
|
53
|
+
DEFAULTS: ConfigDefaults<PieChartConfigProperties>;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* @internal
|
|
57
|
+
* @deprecated Use pieChartLoad and pieChartSave instead.
|
|
58
|
+
*/
|
|
59
|
+
export declare const pieChart: IPieChartConfig;
|
package/esm/configs/pieChart.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
// (C) 2023-2026 GoodData Corporation
|
|
2
2
|
import { loadChartFill, loadColorMapping, saveChartFill, saveColorMapping } from "../utils/configUtils.js";
|
|
3
3
|
import { getValueOrDefault, loadConfig, saveConfigObject, } from "./utils.js";
|
|
4
|
+
/** @internal */
|
|
4
5
|
const DEFAULTS = {
|
|
5
6
|
colorMapping: [],
|
|
6
7
|
dataLabels: {
|
|
@@ -18,7 +19,10 @@ const DEFAULTS = {
|
|
|
18
19
|
disableAlerts: false,
|
|
19
20
|
disableScheduledExports: false,
|
|
20
21
|
};
|
|
21
|
-
|
|
22
|
+
/** @internal */
|
|
23
|
+
export const PIE_CHART_DEFAULTS = DEFAULTS;
|
|
24
|
+
/** @internal */
|
|
25
|
+
export function pieChartLoad(props) {
|
|
22
26
|
return loadConfig(props, (key, value) => {
|
|
23
27
|
switch (key) {
|
|
24
28
|
case "colorMapping":
|
|
@@ -68,7 +72,8 @@ function load(props) {
|
|
|
68
72
|
}
|
|
69
73
|
});
|
|
70
74
|
}
|
|
71
|
-
|
|
75
|
+
/** @internal */
|
|
76
|
+
export function pieChartSave(_fields, config) {
|
|
72
77
|
if (!config) {
|
|
73
78
|
return undefined;
|
|
74
79
|
}
|
|
@@ -88,9 +93,12 @@ function save(_fields, config) {
|
|
|
88
93
|
disableScheduledExports: getValueOrDefault(config.disable_scheduled_exports, DEFAULTS.disableScheduledExports, "bool"),
|
|
89
94
|
});
|
|
90
95
|
}
|
|
96
|
+
/**
|
|
97
|
+
* @internal
|
|
98
|
+
* @deprecated Use pieChartLoad and pieChartSave instead.
|
|
99
|
+
*/
|
|
91
100
|
export const pieChart = {
|
|
92
|
-
load,
|
|
93
|
-
save,
|
|
101
|
+
load: pieChartLoad,
|
|
102
|
+
save: pieChartSave,
|
|
94
103
|
DEFAULTS,
|
|
95
104
|
};
|
|
96
|
-
//# sourceMappingURL=pieChart.js.map
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import type { Visualisation } from "@gooddata/sdk-code-schemas/v1";
|
|
2
2
|
import { type ChartFillType, type ColorMapping, type PatternFillName } from "./types.js";
|
|
3
3
|
import { type ConfigDefaults, type VisualisationConfig } from "./utils.js";
|
|
4
|
-
|
|
4
|
+
/** @internal */
|
|
5
|
+
export type PyramidChartConfigProperties = {
|
|
5
6
|
colorMapping: Array<ColorMapping>;
|
|
6
7
|
dataLabels: {
|
|
7
8
|
visible: boolean | "auto";
|
|
@@ -19,8 +20,12 @@ type DefaultProperties = {
|
|
|
19
20
|
disableAlerts: boolean;
|
|
20
21
|
disableScheduledExports: boolean;
|
|
21
22
|
};
|
|
22
|
-
|
|
23
|
-
declare
|
|
23
|
+
/** @internal */
|
|
24
|
+
export declare const PYRAMID_CHART_DEFAULTS: ConfigDefaults<PyramidChartConfigProperties>;
|
|
25
|
+
/** @internal */
|
|
26
|
+
export declare function pyramidChartLoad(props: VisualisationConfig<PyramidChartConfigProperties>): import("yaml").Pair<import("yaml").Scalar<string>, any> | null;
|
|
27
|
+
/** @internal */
|
|
28
|
+
export declare function pyramidChartSave(_fields: Visualisation["query"]["fields"] | undefined, config: Visualisation["config"] | undefined): {
|
|
24
29
|
colorMapping: ColorMapping[] | undefined;
|
|
25
30
|
dataLabels: {
|
|
26
31
|
visible: "auto" | boolean | undefined;
|
|
@@ -38,10 +43,17 @@ declare function save(_fields: Visualisation["query"]["fields"] | undefined, con
|
|
|
38
43
|
disableAlerts: boolean | undefined;
|
|
39
44
|
disableScheduledExports: boolean | undefined;
|
|
40
45
|
} | undefined;
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
46
|
+
/**
|
|
47
|
+
* @internal
|
|
48
|
+
* @deprecated Use pyramidChartLoad and pyramidChartSave instead.
|
|
49
|
+
*/
|
|
50
|
+
export interface IPyramidChartConfig {
|
|
51
|
+
load: typeof pyramidChartLoad;
|
|
52
|
+
save: typeof pyramidChartSave;
|
|
53
|
+
DEFAULTS: ConfigDefaults<PyramidChartConfigProperties>;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* @internal
|
|
57
|
+
* @deprecated Use pyramidChartLoad and pyramidChartSave instead.
|
|
58
|
+
*/
|
|
59
|
+
export declare const pyramidChart: IPyramidChartConfig;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
// (C) 2023-2026 GoodData Corporation
|
|
2
2
|
import { loadChartFill, loadColorMapping, saveChartFill, saveColorMapping } from "../utils/configUtils.js";
|
|
3
3
|
import { getValueOrDefault, loadConfig, saveConfigObject, } from "./utils.js";
|
|
4
|
+
/** @internal */
|
|
4
5
|
const DEFAULTS = {
|
|
5
6
|
colorMapping: [],
|
|
6
7
|
dataLabels: {
|
|
@@ -18,7 +19,10 @@ const DEFAULTS = {
|
|
|
18
19
|
disableAlerts: false,
|
|
19
20
|
disableScheduledExports: false,
|
|
20
21
|
};
|
|
21
|
-
|
|
22
|
+
/** @internal */
|
|
23
|
+
export const PYRAMID_CHART_DEFAULTS = DEFAULTS;
|
|
24
|
+
/** @internal */
|
|
25
|
+
export function pyramidChartLoad(props) {
|
|
22
26
|
return loadConfig(props, (key, value) => {
|
|
23
27
|
switch (key) {
|
|
24
28
|
case "colorMapping":
|
|
@@ -68,7 +72,8 @@ function load(props) {
|
|
|
68
72
|
}
|
|
69
73
|
});
|
|
70
74
|
}
|
|
71
|
-
|
|
75
|
+
/** @internal */
|
|
76
|
+
export function pyramidChartSave(_fields, config) {
|
|
72
77
|
if (!config) {
|
|
73
78
|
return undefined;
|
|
74
79
|
}
|
|
@@ -88,9 +93,12 @@ function save(_fields, config) {
|
|
|
88
93
|
disableScheduledExports: getValueOrDefault(config.disable_scheduled_exports, DEFAULTS.disableScheduledExports, "bool"),
|
|
89
94
|
});
|
|
90
95
|
}
|
|
96
|
+
/**
|
|
97
|
+
* @internal
|
|
98
|
+
* @deprecated Use pyramidChartLoad and pyramidChartSave instead.
|
|
99
|
+
*/
|
|
91
100
|
export const pyramidChart = {
|
|
92
|
-
load,
|
|
93
|
-
save,
|
|
101
|
+
load: pyramidChartLoad,
|
|
102
|
+
save: pyramidChartSave,
|
|
94
103
|
DEFAULTS,
|
|
95
104
|
};
|
|
96
|
-
//# sourceMappingURL=pyramidChart.js.map
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import type { Bucket, Visualisation } from "@gooddata/sdk-code-schemas/v1";
|
|
2
2
|
import { type ColorMapping, type ColumnWidthItem } from "./types.js";
|
|
3
3
|
import { type ConfigDefaults, type VisualisationConfig } from "./utils.js";
|
|
4
|
-
|
|
4
|
+
/** @internal */
|
|
5
|
+
export type RepeaterChartConfigProperties = {
|
|
5
6
|
colorMapping: Array<ColorMapping>;
|
|
6
7
|
columnWidths: Array<ColumnWidthItem>;
|
|
7
8
|
cellImageSizing: "fit" | "fill";
|
|
@@ -11,11 +12,16 @@ type DefaultProperties = {
|
|
|
11
12
|
disableAlerts: boolean;
|
|
12
13
|
disableScheduledExports: boolean;
|
|
13
14
|
};
|
|
15
|
+
/** @internal */
|
|
14
16
|
export type InlineVisualizations = Record<string, {
|
|
15
17
|
type: "metric" | "line" | "column";
|
|
16
18
|
}>;
|
|
17
|
-
|
|
18
|
-
declare
|
|
19
|
+
/** @internal */
|
|
20
|
+
export declare const REPEATER_CHART_DEFAULTS: ConfigDefaults<RepeaterChartConfigProperties>;
|
|
21
|
+
/** @internal */
|
|
22
|
+
export declare function repeaterChartLoad(props: VisualisationConfig<RepeaterChartConfigProperties>): import("yaml").Pair<import("yaml").Scalar<string>, any> | null;
|
|
23
|
+
/** @internal */
|
|
24
|
+
export declare function repeaterChartSave(fields: Visualisation["query"]["fields"] | undefined, config: Visualisation["config"] | undefined): {
|
|
19
25
|
columnWidths: ColumnWidthItem[] | undefined;
|
|
20
26
|
colorMapping: ColorMapping[] | undefined;
|
|
21
27
|
rowHeight: "large" | "medium" | "small" | undefined;
|
|
@@ -25,12 +31,20 @@ declare function save(fields: Visualisation["query"]["fields"] | undefined, conf
|
|
|
25
31
|
disableAlerts: boolean | undefined;
|
|
26
32
|
disableScheduledExports: boolean | undefined;
|
|
27
33
|
} | undefined;
|
|
28
|
-
|
|
29
|
-
export declare
|
|
30
|
-
|
|
31
|
-
|
|
34
|
+
/** @internal */
|
|
35
|
+
export declare function saveInlineVisualizations(metrics?: Bucket[]): InlineVisualizations;
|
|
36
|
+
/**
|
|
37
|
+
* @internal
|
|
38
|
+
* @deprecated Use repeaterChartLoad and repeaterChartSave instead.
|
|
39
|
+
*/
|
|
40
|
+
export interface IRepeaterChartConfig {
|
|
41
|
+
load: typeof repeaterChartLoad;
|
|
42
|
+
save: typeof repeaterChartSave;
|
|
32
43
|
saveInlineVisualizations: typeof saveInlineVisualizations;
|
|
33
|
-
DEFAULTS: ConfigDefaults<
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
|
|
44
|
+
DEFAULTS: ConfigDefaults<RepeaterChartConfigProperties>;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* @internal
|
|
48
|
+
* @deprecated Use repeaterChartLoad and repeaterChartSave instead.
|
|
49
|
+
*/
|
|
50
|
+
export declare const repeaterChart: IRepeaterChartConfig;
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
import { loadColorMapping, loadColumnsWidth, saveColorMapping, saveColumnWidths, } from "../utils/configUtils.js";
|
|
3
3
|
import { getFullBucket } from "../utils/sharedUtils.js";
|
|
4
4
|
import { getValueOrDefault, loadConfig, saveConfigObject, } from "./utils.js";
|
|
5
|
+
/** @internal */
|
|
5
6
|
const DEFAULTS = {
|
|
6
7
|
colorMapping: [],
|
|
7
8
|
columnWidths: [],
|
|
@@ -12,7 +13,10 @@ const DEFAULTS = {
|
|
|
12
13
|
disableAlerts: false,
|
|
13
14
|
disableScheduledExports: false,
|
|
14
15
|
};
|
|
15
|
-
|
|
16
|
+
/** @internal */
|
|
17
|
+
export const REPEATER_CHART_DEFAULTS = DEFAULTS;
|
|
18
|
+
/** @internal */
|
|
19
|
+
export function repeaterChartLoad(props) {
|
|
16
20
|
return loadConfig(props, (key, value) => {
|
|
17
21
|
switch (key) {
|
|
18
22
|
case "columnWidths": {
|
|
@@ -69,7 +73,8 @@ function load(props) {
|
|
|
69
73
|
}
|
|
70
74
|
});
|
|
71
75
|
}
|
|
72
|
-
|
|
76
|
+
/** @internal */
|
|
77
|
+
export function repeaterChartSave(fields, config) {
|
|
73
78
|
if (!config) {
|
|
74
79
|
return undefined;
|
|
75
80
|
}
|
|
@@ -84,7 +89,8 @@ function save(fields, config) {
|
|
|
84
89
|
disableScheduledExports: getValueOrDefault(config.disable_scheduled_exports, DEFAULTS.disableScheduledExports, "bool"),
|
|
85
90
|
});
|
|
86
91
|
}
|
|
87
|
-
|
|
92
|
+
/** @internal */
|
|
93
|
+
export function saveInlineVisualizations(metrics = []) {
|
|
88
94
|
return metrics?.reduce((map, b) => {
|
|
89
95
|
const bucket = getFullBucket(b);
|
|
90
96
|
if (bucket.display_as && bucket.field) {
|
|
@@ -95,10 +101,13 @@ function saveInlineVisualizations(metrics = []) {
|
|
|
95
101
|
return map;
|
|
96
102
|
}, {});
|
|
97
103
|
}
|
|
104
|
+
/**
|
|
105
|
+
* @internal
|
|
106
|
+
* @deprecated Use repeaterChartLoad and repeaterChartSave instead.
|
|
107
|
+
*/
|
|
98
108
|
export const repeaterChart = {
|
|
99
|
-
load,
|
|
100
|
-
save,
|
|
109
|
+
load: repeaterChartLoad,
|
|
110
|
+
save: repeaterChartSave,
|
|
101
111
|
saveInlineVisualizations,
|
|
102
112
|
DEFAULTS,
|
|
103
113
|
};
|
|
104
|
-
//# sourceMappingURL=repeaterChart.js.map
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import type { Visualisation } from "@gooddata/sdk-code-schemas/v1";
|
|
2
2
|
import { type ColorMapping } from "./types.js";
|
|
3
3
|
import { type ConfigDefaults, type VisualisationConfig } from "./utils.js";
|
|
4
|
-
|
|
4
|
+
/** @internal */
|
|
5
|
+
export type SankeyChartConfigProperties = {
|
|
5
6
|
colorMapping: Array<ColorMapping>;
|
|
6
7
|
dataLabels: {
|
|
7
8
|
visible: boolean | "auto";
|
|
@@ -15,8 +16,12 @@ type DefaultProperties = {
|
|
|
15
16
|
disableAlerts: boolean;
|
|
16
17
|
disableScheduledExports: boolean;
|
|
17
18
|
};
|
|
18
|
-
|
|
19
|
-
declare
|
|
19
|
+
/** @internal */
|
|
20
|
+
export declare const SANKEY_CHART_DEFAULTS: ConfigDefaults<SankeyChartConfigProperties>;
|
|
21
|
+
/** @internal */
|
|
22
|
+
export declare function sankeyChartLoad(props: VisualisationConfig<SankeyChartConfigProperties>): import("yaml").Pair<import("yaml").Scalar<string>, any> | null;
|
|
23
|
+
/** @internal */
|
|
24
|
+
export declare function sankeyChartSave(_fields: Visualisation["query"]["fields"] | undefined, config: Visualisation["config"] | undefined): {
|
|
20
25
|
colorMapping: ColorMapping[] | undefined;
|
|
21
26
|
dataLabels: {
|
|
22
27
|
visible: "auto" | boolean | undefined;
|
|
@@ -30,10 +35,17 @@ declare function save(_fields: Visualisation["query"]["fields"] | undefined, con
|
|
|
30
35
|
disableAlerts: boolean | undefined;
|
|
31
36
|
disableScheduledExports: boolean | undefined;
|
|
32
37
|
} | undefined;
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
38
|
+
/**
|
|
39
|
+
* @internal
|
|
40
|
+
* @deprecated Use sankeyChartLoad and sankeyChartSave instead.
|
|
41
|
+
*/
|
|
42
|
+
export interface ISankeyChartConfig {
|
|
43
|
+
load: typeof sankeyChartLoad;
|
|
44
|
+
save: typeof sankeyChartSave;
|
|
45
|
+
DEFAULTS: ConfigDefaults<SankeyChartConfigProperties>;
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* @internal
|
|
49
|
+
* @deprecated Use sankeyChartLoad and sankeyChartSave instead.
|
|
50
|
+
*/
|
|
51
|
+
export declare const sankeyChart: ISankeyChartConfig;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
// (C) 2023-2026 GoodData Corporation
|
|
2
2
|
import { loadColorMapping, saveColorMapping } from "../utils/configUtils.js";
|
|
3
3
|
import { getValueOrDefault, loadConfig, saveConfigObject, } from "./utils.js";
|
|
4
|
+
/** @internal */
|
|
4
5
|
const DEFAULTS = {
|
|
5
6
|
colorMapping: [],
|
|
6
7
|
dataLabels: {
|
|
@@ -15,7 +16,10 @@ const DEFAULTS = {
|
|
|
15
16
|
disableAlerts: false,
|
|
16
17
|
disableScheduledExports: false,
|
|
17
18
|
};
|
|
18
|
-
|
|
19
|
+
/** @internal */
|
|
20
|
+
export const SANKEY_CHART_DEFAULTS = DEFAULTS;
|
|
21
|
+
/** @internal */
|
|
22
|
+
export function sankeyChartLoad(props) {
|
|
19
23
|
return loadConfig(props, (key, value) => {
|
|
20
24
|
switch (key) {
|
|
21
25
|
case "colorMapping":
|
|
@@ -57,7 +61,8 @@ function load(props) {
|
|
|
57
61
|
}
|
|
58
62
|
});
|
|
59
63
|
}
|
|
60
|
-
|
|
64
|
+
/** @internal */
|
|
65
|
+
export function sankeyChartSave(_fields, config) {
|
|
61
66
|
if (!config) {
|
|
62
67
|
return undefined;
|
|
63
68
|
}
|
|
@@ -76,9 +81,12 @@ function save(_fields, config) {
|
|
|
76
81
|
disableScheduledExports: getValueOrDefault(config.disable_scheduled_exports, DEFAULTS.disableScheduledExports, "bool"),
|
|
77
82
|
});
|
|
78
83
|
}
|
|
84
|
+
/**
|
|
85
|
+
* @internal
|
|
86
|
+
* @deprecated Use sankeyChartLoad and sankeyChartSave instead.
|
|
87
|
+
*/
|
|
79
88
|
export const sankeyChart = {
|
|
80
|
-
load,
|
|
81
|
-
save,
|
|
89
|
+
load: sankeyChartLoad,
|
|
90
|
+
save: sankeyChartSave,
|
|
82
91
|
DEFAULTS,
|
|
83
92
|
};
|
|
84
|
-
//# sourceMappingURL=sankeyChart.js.map
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import type { Visualisation } from "@gooddata/sdk-code-schemas/v1";
|
|
2
2
|
import { type ColorMapping } from "./types.js";
|
|
3
3
|
import { type ConfigDefaults, type VisualisationConfig } from "./utils.js";
|
|
4
|
-
|
|
4
|
+
/** @internal */
|
|
5
|
+
export type ScatterChartConfigProperties = {
|
|
5
6
|
colorMapping: Array<ColorMapping>;
|
|
6
7
|
dataLabels: {
|
|
7
8
|
visible: boolean | "auto";
|
|
@@ -43,8 +44,12 @@ type DefaultProperties = {
|
|
|
43
44
|
disableAlerts: boolean;
|
|
44
45
|
disableScheduledExports: boolean;
|
|
45
46
|
};
|
|
46
|
-
|
|
47
|
-
declare
|
|
47
|
+
/** @internal */
|
|
48
|
+
export declare const SCATTER_CHART_DEFAULTS: ConfigDefaults<ScatterChartConfigProperties>;
|
|
49
|
+
/** @internal */
|
|
50
|
+
export declare function scatterChartLoad(props: VisualisationConfig<ScatterChartConfigProperties>): import("yaml").Pair<import("yaml").Scalar<string>, any> | null;
|
|
51
|
+
/** @internal */
|
|
52
|
+
export declare function scatterChartSave(_fields: Visualisation["query"]["fields"] | undefined, config: Visualisation["config"] | undefined): {
|
|
48
53
|
colorMapping: ColorMapping[] | undefined;
|
|
49
54
|
dataLabels: {
|
|
50
55
|
visible: "auto" | boolean | undefined;
|
|
@@ -86,10 +91,17 @@ declare function save(_fields: Visualisation["query"]["fields"] | undefined, con
|
|
|
86
91
|
disableAlerts: boolean | undefined;
|
|
87
92
|
disableScheduledExports: boolean | undefined;
|
|
88
93
|
} | undefined;
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
94
|
+
/**
|
|
95
|
+
* @internal
|
|
96
|
+
* @deprecated Use scatterChartLoad and scatterChartSave instead.
|
|
97
|
+
*/
|
|
98
|
+
export interface IScatterChartConfig {
|
|
99
|
+
load: typeof scatterChartLoad;
|
|
100
|
+
save: typeof scatterChartSave;
|
|
101
|
+
DEFAULTS: ConfigDefaults<ScatterChartConfigProperties>;
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* @internal
|
|
105
|
+
* @deprecated Use scatterChartLoad and scatterChartSave instead.
|
|
106
|
+
*/
|
|
107
|
+
export declare const scatterChart: IScatterChartConfig;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
// (C) 2023-2026 GoodData Corporation
|
|
2
2
|
import { loadColorMapping, saveColorMapping } from "../utils/configUtils.js";
|
|
3
3
|
import { getValueOrDefault, loadConfig, saveConfigObject, } from "./utils.js";
|
|
4
|
+
/** @internal */
|
|
4
5
|
const DEFAULTS = {
|
|
5
6
|
colorMapping: [],
|
|
6
7
|
dataLabels: {
|
|
@@ -43,7 +44,10 @@ const DEFAULTS = {
|
|
|
43
44
|
disableAlerts: false,
|
|
44
45
|
disableScheduledExports: false,
|
|
45
46
|
};
|
|
46
|
-
|
|
47
|
+
/** @internal */
|
|
48
|
+
export const SCATTER_CHART_DEFAULTS = DEFAULTS;
|
|
49
|
+
/** @internal */
|
|
50
|
+
export function scatterChartLoad(props) {
|
|
47
51
|
return loadConfig(props, (key, value) => {
|
|
48
52
|
switch (key) {
|
|
49
53
|
case "colorMapping":
|
|
@@ -143,7 +147,8 @@ function load(props) {
|
|
|
143
147
|
}
|
|
144
148
|
});
|
|
145
149
|
}
|
|
146
|
-
|
|
150
|
+
/** @internal */
|
|
151
|
+
export function scatterChartSave(_fields, config) {
|
|
147
152
|
if (!config) {
|
|
148
153
|
return undefined;
|
|
149
154
|
}
|
|
@@ -190,9 +195,12 @@ function save(_fields, config) {
|
|
|
190
195
|
disableScheduledExports: getValueOrDefault(config.disable_scheduled_exports, DEFAULTS.disableScheduledExports, "bool"),
|
|
191
196
|
});
|
|
192
197
|
}
|
|
198
|
+
/**
|
|
199
|
+
* @internal
|
|
200
|
+
* @deprecated Use scatterChartLoad and scatterChartSave instead.
|
|
201
|
+
*/
|
|
193
202
|
export const scatterChart = {
|
|
194
|
-
load,
|
|
195
|
-
save,
|
|
203
|
+
load: scatterChartLoad,
|
|
204
|
+
save: scatterChartSave,
|
|
196
205
|
DEFAULTS,
|
|
197
206
|
};
|
|
198
|
-
//# sourceMappingURL=scatterChart.js.map
|
package/esm/configs/table.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import type { Visualisation } from "@gooddata/sdk-code-schemas/v1";
|
|
2
2
|
import { type ColumnLocator, type ColumnWidthItem } from "./types.js";
|
|
3
3
|
import { type ConfigDefaults, type VisualisationConfig } from "./utils.js";
|
|
4
|
-
|
|
4
|
+
/** @internal */
|
|
5
|
+
export type TableConfigProperties = {
|
|
5
6
|
columnWidths: Array<ColumnWidthItem>;
|
|
6
7
|
measureGroupDimension: "columns" | "rows";
|
|
7
8
|
columnHeadersPosition: "top" | "left";
|
|
@@ -26,8 +27,12 @@ type DefaultProperties = {
|
|
|
26
27
|
pageSize: number;
|
|
27
28
|
grandTotalsPosition: "pinnedBottom" | "pinnedTop" | "bottom" | "top";
|
|
28
29
|
};
|
|
29
|
-
|
|
30
|
-
declare
|
|
30
|
+
/** @internal */
|
|
31
|
+
export declare const TABLE_DEFAULTS: ConfigDefaults<TableConfigProperties>;
|
|
32
|
+
/** @internal */
|
|
33
|
+
export declare function tableLoad(props: VisualisationConfig<TableConfigProperties>): import("yaml").Pair<import("yaml").Scalar<string>, any> | null;
|
|
34
|
+
/** @internal */
|
|
35
|
+
export declare function tableSave(fields: Visualisation["query"]["fields"] | undefined, config: Visualisation["config"] | undefined): {
|
|
31
36
|
columnWidths: ColumnWidthItem[] | undefined;
|
|
32
37
|
columnHeadersPosition: string | undefined;
|
|
33
38
|
measureGroupDimension: string | undefined;
|
|
@@ -52,10 +57,17 @@ declare function save(fields: Visualisation["query"]["fields"] | undefined, conf
|
|
|
52
57
|
pageSize: number | undefined;
|
|
53
58
|
grandTotalsPosition: "bottom" | "pinnedBottom" | "pinnedTop" | "top" | undefined;
|
|
54
59
|
} | undefined;
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
60
|
+
/**
|
|
61
|
+
* @internal
|
|
62
|
+
* @deprecated Use tableLoad and tableSave instead.
|
|
63
|
+
*/
|
|
64
|
+
export interface ITableConfig {
|
|
65
|
+
load: typeof tableLoad;
|
|
66
|
+
save: typeof tableSave;
|
|
67
|
+
DEFAULTS: ConfigDefaults<TableConfigProperties>;
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* @internal
|
|
71
|
+
* @deprecated Use tableLoad and tableSave instead.
|
|
72
|
+
*/
|
|
73
|
+
export declare const table: ITableConfig;
|