@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.
Files changed (230) hide show
  1. package/esm/configs/areaChart.d.ts +22 -10
  2. package/esm/configs/areaChart.js +13 -5
  3. package/esm/configs/barChart.d.ts +22 -10
  4. package/esm/configs/barChart.js +13 -5
  5. package/esm/configs/bubbleChart.d.ts +22 -10
  6. package/esm/configs/bubbleChart.js +13 -5
  7. package/esm/configs/bulletChart.d.ts +22 -10
  8. package/esm/configs/bulletChart.js +13 -5
  9. package/esm/configs/columnChart.d.ts +22 -10
  10. package/esm/configs/columnChart.js +13 -5
  11. package/esm/configs/comboChart.d.ts +22 -10
  12. package/esm/configs/comboChart.js +13 -5
  13. package/esm/configs/dependencyWheelChart.d.ts +22 -10
  14. package/esm/configs/dependencyWheelChart.js +13 -5
  15. package/esm/configs/donutChart.d.ts +22 -10
  16. package/esm/configs/donutChart.js +13 -5
  17. package/esm/configs/funnelChart.d.ts +22 -10
  18. package/esm/configs/funnelChart.js +13 -5
  19. package/esm/configs/geoAreaChart.d.ts +22 -10
  20. package/esm/configs/geoAreaChart.js +13 -5
  21. package/esm/configs/geoChart.d.ts +22 -10
  22. package/esm/configs/geoChart.js +13 -5
  23. package/esm/configs/headlineChart.d.ts +22 -10
  24. package/esm/configs/headlineChart.js +13 -5
  25. package/esm/configs/heatmapChart.d.ts +22 -10
  26. package/esm/configs/heatmapChart.js +13 -5
  27. package/esm/configs/lineChart.d.ts +22 -10
  28. package/esm/configs/lineChart.js +13 -5
  29. package/esm/configs/pieChart.d.ts +22 -10
  30. package/esm/configs/pieChart.js +13 -5
  31. package/esm/configs/pyramidChart.d.ts +22 -10
  32. package/esm/configs/pyramidChart.js +13 -5
  33. package/esm/configs/repeaterChart.d.ts +25 -11
  34. package/esm/configs/repeaterChart.js +15 -6
  35. package/esm/configs/sankeyChart.d.ts +22 -10
  36. package/esm/configs/sankeyChart.js +13 -5
  37. package/esm/configs/scatterChart.d.ts +22 -10
  38. package/esm/configs/scatterChart.js +13 -5
  39. package/esm/configs/table.d.ts +22 -10
  40. package/esm/configs/table.js +13 -5
  41. package/esm/configs/treemapChart.d.ts +22 -10
  42. package/esm/configs/treemapChart.js +13 -5
  43. package/esm/configs/types.d.ts +28 -1
  44. package/esm/configs/types.js +0 -1
  45. package/esm/configs/utils.d.ts +1 -1
  46. package/esm/configs/utils.js +0 -1
  47. package/esm/configs/waterfallChart.d.ts +22 -10
  48. package/esm/configs/waterfallChart.js +13 -5
  49. package/esm/conts.d.ts +8 -1
  50. package/esm/conts.js +8 -1
  51. package/esm/execution/buildAfmExecution.d.ts +0 -1
  52. package/esm/execution/buildAfmExecution.js +0 -1
  53. package/esm/from/declarativeAttributeHierarchyToYaml.d.ts +0 -1
  54. package/esm/from/declarativeAttributeHierarchyToYaml.js +0 -1
  55. package/esm/from/declarativeDashboardToYaml.d.ts +9 -1
  56. package/esm/from/declarativeDashboardToYaml.js +7 -1
  57. package/esm/from/declarativeDatasetToYaml.d.ts +0 -1
  58. package/esm/from/declarativeDatasetToYaml.js +0 -1
  59. package/esm/from/declarativeDateInstanceToYaml.d.ts +0 -1
  60. package/esm/from/declarativeDateInstanceToYaml.js +0 -1
  61. package/esm/from/declarativeMetricToYaml.d.ts +0 -1
  62. package/esm/from/declarativeMetricToYaml.js +0 -1
  63. package/esm/from/declarativePluginToYaml.d.ts +0 -1
  64. package/esm/from/declarativePluginToYaml.js +0 -1
  65. package/esm/from/declarativeVisualisationToYaml.d.ts +47 -18
  66. package/esm/from/declarativeVisualisationToYaml.js +19 -1
  67. package/esm/index.d.ts +27 -28
  68. package/esm/index.js +23 -24
  69. package/esm/schemas/types.d.ts +0 -1
  70. package/esm/schemas/types.js +0 -1
  71. package/esm/sdk-code-convertors.d.ts +2107 -1647
  72. package/esm/to/yamlAttributeHierarchyToDeclarative.d.ts +0 -1
  73. package/esm/to/yamlAttributeHierarchyToDeclarative.js +0 -1
  74. package/esm/to/yamlDashboardToDeclarative.d.ts +18 -6
  75. package/esm/to/yamlDashboardToDeclarative.js +5 -1
  76. package/esm/to/yamlDatasetToDeclarative.d.ts +4 -1
  77. package/esm/to/yamlDatasetToDeclarative.js +4 -1
  78. package/esm/to/yamlDateDatasetToDeclarative.d.ts +0 -1
  79. package/esm/to/yamlDateDatasetToDeclarative.js +0 -1
  80. package/esm/to/yamlMetricToDeclarative.d.ts +0 -1
  81. package/esm/to/yamlMetricToDeclarative.js +0 -1
  82. package/esm/to/yamlPluginToDeclarative.d.ts +0 -1
  83. package/esm/to/yamlPluginToDeclarative.js +0 -1
  84. package/esm/to/yamlVisualisationToDeclarative.d.ts +7 -3
  85. package/esm/to/yamlVisualisationToDeclarative.js +5 -1
  86. package/esm/types.d.ts +0 -1
  87. package/esm/types.js +0 -1
  88. package/esm/utils/configUtils.d.ts +0 -1
  89. package/esm/utils/configUtils.js +0 -1
  90. package/esm/utils/convertBucketToTitle.d.ts +0 -1
  91. package/esm/utils/convertBucketToTitle.js +0 -1
  92. package/esm/utils/customUrl.d.ts +0 -1
  93. package/esm/utils/customUrl.js +0 -1
  94. package/esm/utils/dateUtils.d.ts +0 -1
  95. package/esm/utils/dateUtils.js +0 -1
  96. package/esm/utils/errors.d.ts +0 -1
  97. package/esm/utils/errors.js +0 -1
  98. package/esm/utils/filterUtils.d.ts +0 -1
  99. package/esm/utils/filterUtils.js +0 -1
  100. package/esm/utils/granularityUtils.d.ts +0 -1
  101. package/esm/utils/granularityUtils.js +0 -1
  102. package/esm/utils/locationUtils.d.ts +0 -1
  103. package/esm/utils/locationUtils.js +0 -1
  104. package/esm/utils/nameUtils.d.ts +0 -1
  105. package/esm/utils/nameUtils.js +0 -1
  106. package/esm/utils/permissionUtils.d.ts +0 -1
  107. package/esm/utils/permissionUtils.js +0 -1
  108. package/esm/utils/sharedUtils.d.ts +1 -1
  109. package/esm/utils/sharedUtils.js +0 -1
  110. package/esm/utils/texts.d.ts +0 -1
  111. package/esm/utils/texts.js +0 -1
  112. package/esm/utils/typeGuards.d.ts +0 -1
  113. package/esm/utils/typeGuards.js +0 -1
  114. package/esm/utils/yamlUtils.d.ts +0 -1
  115. package/esm/utils/yamlUtils.js +0 -1
  116. package/package.json +7 -7
  117. package/esm/configs/areaChart.d.ts.map +0 -1
  118. package/esm/configs/areaChart.js.map +0 -1
  119. package/esm/configs/barChart.d.ts.map +0 -1
  120. package/esm/configs/barChart.js.map +0 -1
  121. package/esm/configs/bubbleChart.d.ts.map +0 -1
  122. package/esm/configs/bubbleChart.js.map +0 -1
  123. package/esm/configs/bulletChart.d.ts.map +0 -1
  124. package/esm/configs/bulletChart.js.map +0 -1
  125. package/esm/configs/columnChart.d.ts.map +0 -1
  126. package/esm/configs/columnChart.js.map +0 -1
  127. package/esm/configs/comboChart.d.ts.map +0 -1
  128. package/esm/configs/comboChart.js.map +0 -1
  129. package/esm/configs/dependencyWheelChart.d.ts.map +0 -1
  130. package/esm/configs/dependencyWheelChart.js.map +0 -1
  131. package/esm/configs/donutChart.d.ts.map +0 -1
  132. package/esm/configs/donutChart.js.map +0 -1
  133. package/esm/configs/funnelChart.d.ts.map +0 -1
  134. package/esm/configs/funnelChart.js.map +0 -1
  135. package/esm/configs/geoAreaChart.d.ts.map +0 -1
  136. package/esm/configs/geoAreaChart.js.map +0 -1
  137. package/esm/configs/geoChart.d.ts.map +0 -1
  138. package/esm/configs/geoChart.js.map +0 -1
  139. package/esm/configs/headlineChart.d.ts.map +0 -1
  140. package/esm/configs/headlineChart.js.map +0 -1
  141. package/esm/configs/heatmapChart.d.ts.map +0 -1
  142. package/esm/configs/heatmapChart.js.map +0 -1
  143. package/esm/configs/lineChart.d.ts.map +0 -1
  144. package/esm/configs/lineChart.js.map +0 -1
  145. package/esm/configs/pieChart.d.ts.map +0 -1
  146. package/esm/configs/pieChart.js.map +0 -1
  147. package/esm/configs/pyramidChart.d.ts.map +0 -1
  148. package/esm/configs/pyramidChart.js.map +0 -1
  149. package/esm/configs/repeaterChart.d.ts.map +0 -1
  150. package/esm/configs/repeaterChart.js.map +0 -1
  151. package/esm/configs/sankeyChart.d.ts.map +0 -1
  152. package/esm/configs/sankeyChart.js.map +0 -1
  153. package/esm/configs/scatterChart.d.ts.map +0 -1
  154. package/esm/configs/scatterChart.js.map +0 -1
  155. package/esm/configs/table.d.ts.map +0 -1
  156. package/esm/configs/table.js.map +0 -1
  157. package/esm/configs/treemapChart.d.ts.map +0 -1
  158. package/esm/configs/treemapChart.js.map +0 -1
  159. package/esm/configs/types.d.ts.map +0 -1
  160. package/esm/configs/types.js.map +0 -1
  161. package/esm/configs/utils.d.ts.map +0 -1
  162. package/esm/configs/utils.js.map +0 -1
  163. package/esm/configs/waterfallChart.d.ts.map +0 -1
  164. package/esm/configs/waterfallChart.js.map +0 -1
  165. package/esm/conts.d.ts.map +0 -1
  166. package/esm/conts.js.map +0 -1
  167. package/esm/execution/buildAfmExecution.d.ts.map +0 -1
  168. package/esm/execution/buildAfmExecution.js.map +0 -1
  169. package/esm/from/declarativeAttributeHierarchyToYaml.d.ts.map +0 -1
  170. package/esm/from/declarativeAttributeHierarchyToYaml.js.map +0 -1
  171. package/esm/from/declarativeDashboardToYaml.d.ts.map +0 -1
  172. package/esm/from/declarativeDashboardToYaml.js.map +0 -1
  173. package/esm/from/declarativeDatasetToYaml.d.ts.map +0 -1
  174. package/esm/from/declarativeDatasetToYaml.js.map +0 -1
  175. package/esm/from/declarativeDateInstanceToYaml.d.ts.map +0 -1
  176. package/esm/from/declarativeDateInstanceToYaml.js.map +0 -1
  177. package/esm/from/declarativeMetricToYaml.d.ts.map +0 -1
  178. package/esm/from/declarativeMetricToYaml.js.map +0 -1
  179. package/esm/from/declarativePluginToYaml.d.ts.map +0 -1
  180. package/esm/from/declarativePluginToYaml.js.map +0 -1
  181. package/esm/from/declarativeVisualisationToYaml.d.ts.map +0 -1
  182. package/esm/from/declarativeVisualisationToYaml.js.map +0 -1
  183. package/esm/index.d.ts.map +0 -1
  184. package/esm/index.js.map +0 -1
  185. package/esm/schemas/types.d.ts.map +0 -1
  186. package/esm/schemas/types.js.map +0 -1
  187. package/esm/to/yamlAttributeHierarchyToDeclarative.d.ts.map +0 -1
  188. package/esm/to/yamlAttributeHierarchyToDeclarative.js.map +0 -1
  189. package/esm/to/yamlDashboardToDeclarative.d.ts.map +0 -1
  190. package/esm/to/yamlDashboardToDeclarative.js.map +0 -1
  191. package/esm/to/yamlDatasetToDeclarative.d.ts.map +0 -1
  192. package/esm/to/yamlDatasetToDeclarative.js.map +0 -1
  193. package/esm/to/yamlDateDatasetToDeclarative.d.ts.map +0 -1
  194. package/esm/to/yamlDateDatasetToDeclarative.js.map +0 -1
  195. package/esm/to/yamlMetricToDeclarative.d.ts.map +0 -1
  196. package/esm/to/yamlMetricToDeclarative.js.map +0 -1
  197. package/esm/to/yamlPluginToDeclarative.d.ts.map +0 -1
  198. package/esm/to/yamlPluginToDeclarative.js.map +0 -1
  199. package/esm/to/yamlVisualisationToDeclarative.d.ts.map +0 -1
  200. package/esm/to/yamlVisualisationToDeclarative.js.map +0 -1
  201. package/esm/types.d.ts.map +0 -1
  202. package/esm/types.js.map +0 -1
  203. package/esm/utils/configUtils.d.ts.map +0 -1
  204. package/esm/utils/configUtils.js.map +0 -1
  205. package/esm/utils/convertBucketToTitle.d.ts.map +0 -1
  206. package/esm/utils/convertBucketToTitle.js.map +0 -1
  207. package/esm/utils/customUrl.d.ts.map +0 -1
  208. package/esm/utils/customUrl.js.map +0 -1
  209. package/esm/utils/dateUtils.d.ts.map +0 -1
  210. package/esm/utils/dateUtils.js.map +0 -1
  211. package/esm/utils/errors.d.ts.map +0 -1
  212. package/esm/utils/errors.js.map +0 -1
  213. package/esm/utils/filterUtils.d.ts.map +0 -1
  214. package/esm/utils/filterUtils.js.map +0 -1
  215. package/esm/utils/granularityUtils.d.ts.map +0 -1
  216. package/esm/utils/granularityUtils.js.map +0 -1
  217. package/esm/utils/locationUtils.d.ts.map +0 -1
  218. package/esm/utils/locationUtils.js.map +0 -1
  219. package/esm/utils/nameUtils.d.ts.map +0 -1
  220. package/esm/utils/nameUtils.js.map +0 -1
  221. package/esm/utils/permissionUtils.d.ts.map +0 -1
  222. package/esm/utils/permissionUtils.js.map +0 -1
  223. package/esm/utils/sharedUtils.d.ts.map +0 -1
  224. package/esm/utils/sharedUtils.js.map +0 -1
  225. package/esm/utils/texts.d.ts.map +0 -1
  226. package/esm/utils/texts.js.map +0 -1
  227. package/esm/utils/typeGuards.d.ts.map +0 -1
  228. package/esm/utils/typeGuards.js.map +0 -1
  229. package/esm/utils/yamlUtils.d.ts.map +0 -1
  230. 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 ChartFillType, type ColorMapping, type PatternFillName, type PointShapeSymbol } from "./types.js";
3
3
  import { type ConfigDefaults, type VisualisationConfig } from "./utils.js";
4
- type DefaultProperties = {
4
+ /** @internal */
5
+ export type AreaChartConfigProperties = {
5
6
  colorMapping: Array<ColorMapping>;
6
7
  distinctPointShapes: {
7
8
  enabled: boolean;
@@ -52,8 +53,12 @@ type DefaultProperties = {
52
53
  disableAlerts: boolean;
53
54
  disableScheduledExports: boolean;
54
55
  };
55
- declare function load(props: VisualisationConfig<DefaultProperties>): import("yaml").Pair<import("yaml").Scalar<string>, any> | null;
56
- declare function save(_fields: Visualisation["query"]["fields"] | undefined, config: Visualisation["config"] | undefined): {
56
+ /** @internal */
57
+ export declare const AREA_CHART_DEFAULTS: ConfigDefaults<AreaChartConfigProperties>;
58
+ /** @internal */
59
+ export declare function areaChartLoad(props: VisualisationConfig<AreaChartConfigProperties>): import("yaml").Pair<import("yaml").Scalar<string>, any> | null;
60
+ /** @internal */
61
+ export declare function areaChartSave(_fields: Visualisation["query"]["fields"] | undefined, config: Visualisation["config"] | undefined): {
57
62
  colorMapping: ColorMapping[] | undefined;
58
63
  distinctPointShapes: {
59
64
  enabled: boolean | undefined;
@@ -104,10 +109,17 @@ declare function save(_fields: Visualisation["query"]["fields"] | undefined, con
104
109
  disableAlerts: boolean | undefined;
105
110
  disableScheduledExports: boolean | undefined;
106
111
  } | undefined;
107
- export declare const areaChart: {
108
- load: typeof load;
109
- save: typeof save;
110
- DEFAULTS: ConfigDefaults<DefaultProperties>;
111
- };
112
- export {};
113
- //# sourceMappingURL=areaChart.d.ts.map
112
+ /**
113
+ * @internal
114
+ * @deprecated Use areaChartLoad and areaChartSave instead.
115
+ */
116
+ export interface IAreaChartConfig {
117
+ load: typeof areaChartLoad;
118
+ save: typeof areaChartSave;
119
+ DEFAULTS: ConfigDefaults<AreaChartConfigProperties>;
120
+ }
121
+ /**
122
+ * @internal
123
+ * @deprecated Use areaChartLoad and areaChartSave instead.
124
+ */
125
+ export declare const areaChart: IAreaChartConfig;
@@ -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
  distinctPointShapes: {
@@ -50,7 +51,10 @@ const DEFAULTS = {
50
51
  disableAlerts: false,
51
52
  disableScheduledExports: false,
52
53
  };
53
- function load(props) {
54
+ /** @internal */
55
+ export const AREA_CHART_DEFAULTS = DEFAULTS;
56
+ /** @internal */
57
+ export function areaChartLoad(props) {
54
58
  return loadConfig(props, (key, value) => {
55
59
  switch (key) {
56
60
  case "colorMapping":
@@ -170,7 +174,8 @@ function load(props) {
170
174
  }
171
175
  });
172
176
  }
173
- function save(_fields, config) {
177
+ /** @internal */
178
+ export function areaChartSave(_fields, config) {
174
179
  if (!config) {
175
180
  return undefined;
176
181
  }
@@ -224,9 +229,12 @@ function save(_fields, config) {
224
229
  disableScheduledExports: getValueOrDefault(config.disable_scheduled_exports, DEFAULTS.disableScheduledExports, "bool"),
225
230
  });
226
231
  }
232
+ /**
233
+ * @internal
234
+ * @deprecated Use areaChartLoad and areaChartSave instead.
235
+ */
227
236
  export const areaChart = {
228
- load,
229
- save,
237
+ load: areaChartLoad,
238
+ save: areaChartSave,
230
239
  DEFAULTS,
231
240
  };
232
- //# sourceMappingURL=areaChart.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
- type DefaultProperties = {
4
+ /** @internal */
5
+ export type BarChartConfigProperties = {
5
6
  colorMapping: Array<ColorMapping>;
6
7
  dataLabels: {
7
8
  totalsVisible: boolean | "auto";
@@ -46,8 +47,12 @@ type DefaultProperties = {
46
47
  disableAlerts: boolean;
47
48
  disableScheduledExports: boolean;
48
49
  };
49
- declare function load(props: VisualisationConfig<DefaultProperties>): import("yaml").Pair<import("yaml").Scalar<string>, any> | null;
50
- declare function save(_fields: Visualisation["query"]["fields"] | undefined, config: Visualisation["config"] | undefined): {
50
+ /** @internal */
51
+ export declare const BAR_CHART_DEFAULTS: ConfigDefaults<BarChartConfigProperties>;
52
+ /** @internal */
53
+ export declare function barChartLoad(props: VisualisationConfig<BarChartConfigProperties>): import("yaml").Pair<import("yaml").Scalar<string>, any> | null;
54
+ /** @internal */
55
+ export declare function barChartSave(_fields: Visualisation["query"]["fields"] | undefined, config: Visualisation["config"] | undefined): {
51
56
  colorMapping: ColorMapping[] | undefined;
52
57
  dataLabels: {
53
58
  totalsVisible: "auto" | boolean | undefined;
@@ -92,10 +97,17 @@ declare function save(_fields: Visualisation["query"]["fields"] | undefined, con
92
97
  disableAlerts: boolean | undefined;
93
98
  disableScheduledExports: boolean | undefined;
94
99
  } | undefined;
95
- export declare const barChart: {
96
- load: typeof load;
97
- save: typeof save;
98
- DEFAULTS: ConfigDefaults<DefaultProperties>;
99
- };
100
- export {};
101
- //# sourceMappingURL=barChart.d.ts.map
100
+ /**
101
+ * @internal
102
+ * @deprecated Use barChartLoad and barChartSave instead.
103
+ */
104
+ export interface IBarChartConfig {
105
+ load: typeof barChartLoad;
106
+ save: typeof barChartSave;
107
+ DEFAULTS: ConfigDefaults<BarChartConfigProperties>;
108
+ }
109
+ /**
110
+ * @internal
111
+ * @deprecated Use barChartLoad and barChartSave instead.
112
+ */
113
+ export declare const barChart: IBarChartConfig;
@@ -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: {
@@ -45,7 +46,10 @@ const DEFAULTS = {
45
46
  disableAlerts: false,
46
47
  disableScheduledExports: false,
47
48
  };
48
- function load(props) {
49
+ /** @internal */
50
+ export const BAR_CHART_DEFAULTS = DEFAULTS;
51
+ /** @internal */
52
+ export function barChartLoad(props) {
49
53
  return loadConfig(props, (key, value) => {
50
54
  switch (key) {
51
55
  case "colorMapping":
@@ -155,7 +159,8 @@ function load(props) {
155
159
  }
156
160
  });
157
161
  }
158
- function save(_fields, config) {
162
+ /** @internal */
163
+ export function barChartSave(_fields, config) {
159
164
  if (!config) {
160
165
  return undefined;
161
166
  }
@@ -202,9 +207,12 @@ function save(_fields, config) {
202
207
  disableScheduledExports: getValueOrDefault(config.disable_scheduled_exports, DEFAULTS.disableScheduledExports, "bool"),
203
208
  });
204
209
  }
210
+ /**
211
+ * @internal
212
+ * @deprecated Use barChartLoad and barChartSave instead.
213
+ */
205
214
  export const barChart = {
206
- load,
207
- save,
215
+ load: barChartLoad,
216
+ save: barChartSave,
208
217
  DEFAULTS,
209
218
  };
210
- //# sourceMappingURL=barChart.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
- type DefaultProperties = {
4
+ /** @internal */
5
+ export type BubbleChartConfigProperties = {
5
6
  colorMapping: Array<ColorMapping>;
6
7
  dataLabels: {
7
8
  visible: boolean | "auto";
@@ -42,8 +43,12 @@ type DefaultProperties = {
42
43
  disableAlerts: boolean;
43
44
  disableScheduledExports: boolean;
44
45
  };
45
- declare function load(props: VisualisationConfig<DefaultProperties>): import("yaml").Pair<import("yaml").Scalar<string>, any> | null;
46
- declare function save(_fields: Visualisation["query"]["fields"] | undefined, config: Visualisation["config"] | undefined): {
46
+ /** @internal */
47
+ export declare const BUBBLE_CHART_DEFAULTS: ConfigDefaults<BubbleChartConfigProperties>;
48
+ /** @internal */
49
+ export declare function bubbleChartLoad(props: VisualisationConfig<BubbleChartConfigProperties>): import("yaml").Pair<import("yaml").Scalar<string>, any> | null;
50
+ /** @internal */
51
+ export declare function bubbleChartSave(_fields: Visualisation["query"]["fields"] | undefined, config: Visualisation["config"] | undefined): {
47
52
  colorMapping: ColorMapping[] | undefined;
48
53
  dataLabels: {
49
54
  visible: "auto" | boolean | undefined;
@@ -84,10 +89,17 @@ declare function save(_fields: Visualisation["query"]["fields"] | undefined, con
84
89
  disableAlerts: boolean | undefined;
85
90
  disableScheduledExports: boolean | undefined;
86
91
  } | undefined;
87
- export declare const bubbleChart: {
88
- load: typeof load;
89
- save: typeof save;
90
- DEFAULTS: ConfigDefaults<DefaultProperties>;
91
- };
92
- export {};
93
- //# sourceMappingURL=bubbleChart.d.ts.map
92
+ /**
93
+ * @internal
94
+ * @deprecated Use bubbleChartLoad and bubbleChartSave instead.
95
+ */
96
+ export interface IBubbleChartConfig {
97
+ load: typeof bubbleChartLoad;
98
+ save: typeof bubbleChartSave;
99
+ DEFAULTS: ConfigDefaults<BubbleChartConfigProperties>;
100
+ }
101
+ /**
102
+ * @internal
103
+ * @deprecated Use bubbleChartLoad and bubbleChartSave instead.
104
+ */
105
+ export declare const bubbleChart: IBubbleChartConfig;
@@ -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: {
@@ -42,7 +43,10 @@ const DEFAULTS = {
42
43
  disableAlerts: false,
43
44
  disableScheduledExports: false,
44
45
  };
45
- function load(props) {
46
+ /** @internal */
47
+ export const BUBBLE_CHART_DEFAULTS = DEFAULTS;
48
+ /** @internal */
49
+ export function bubbleChartLoad(props) {
46
50
  return loadConfig(props, (key, value) => {
47
51
  switch (key) {
48
52
  case "colorMapping":
@@ -132,7 +136,8 @@ function load(props) {
132
136
  }
133
137
  });
134
138
  }
135
- function save(_fields, config) {
139
+ /** @internal */
140
+ export function bubbleChartSave(_fields, config) {
136
141
  if (!config) {
137
142
  return undefined;
138
143
  }
@@ -178,9 +183,12 @@ function save(_fields, config) {
178
183
  disableScheduledExports: getValueOrDefault(config.disable_scheduled_exports, DEFAULTS.disableScheduledExports, "bool"),
179
184
  });
180
185
  }
186
+ /**
187
+ * @internal
188
+ * @deprecated Use bubbleChartLoad and bubbleChartSave instead.
189
+ */
181
190
  export const bubbleChart = {
182
- load,
183
- save,
191
+ load: bubbleChartLoad,
192
+ save: bubbleChartSave,
184
193
  DEFAULTS,
185
194
  };
186
- //# sourceMappingURL=bubbleChart.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
- type DefaultProperties = {
4
+ /** @internal */
5
+ export type BulletChartConfigProperties = {
5
6
  colorMapping: Array<ColorMapping>;
6
7
  legend: {
7
8
  enabled: boolean;
@@ -39,8 +40,12 @@ type DefaultProperties = {
39
40
  disableAlerts: boolean;
40
41
  disableScheduledExports: boolean;
41
42
  };
42
- declare function load(props: VisualisationConfig<DefaultProperties>): import("yaml").Pair<import("yaml").Scalar<string>, any> | null;
43
- declare function save(_fields: Visualisation["query"]["fields"] | undefined, config: Visualisation["config"] | undefined): {
43
+ /** @internal */
44
+ export declare const BULLET_CHART_DEFAULTS: ConfigDefaults<BulletChartConfigProperties>;
45
+ /** @internal */
46
+ export declare function bulletChartLoad(props: VisualisationConfig<BulletChartConfigProperties>): import("yaml").Pair<import("yaml").Scalar<string>, any> | null;
47
+ /** @internal */
48
+ export declare function bulletChartSave(_fields: Visualisation["query"]["fields"] | undefined, config: Visualisation["config"] | undefined): {
44
49
  colorMapping: ColorMapping[] | undefined;
45
50
  legend: {
46
51
  enabled: boolean | undefined;
@@ -78,10 +83,17 @@ declare function save(_fields: Visualisation["query"]["fields"] | undefined, con
78
83
  disableAlerts: boolean | undefined;
79
84
  disableScheduledExports: boolean | undefined;
80
85
  } | undefined;
81
- export declare const bulletChart: {
82
- load: typeof load;
83
- save: typeof save;
84
- DEFAULTS: ConfigDefaults<DefaultProperties>;
85
- };
86
- export {};
87
- //# sourceMappingURL=bulletChart.d.ts.map
86
+ /**
87
+ * @internal
88
+ * @deprecated Use bulletChartLoad and bulletChartSave instead.
89
+ */
90
+ export interface IBulletChartConfig {
91
+ load: typeof bulletChartLoad;
92
+ save: typeof bulletChartSave;
93
+ DEFAULTS: ConfigDefaults<BulletChartConfigProperties>;
94
+ }
95
+ /**
96
+ * @internal
97
+ * @deprecated Use bulletChartLoad and bulletChartSave instead.
98
+ */
99
+ export declare const bulletChart: IBulletChartConfig;
@@ -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
  legend: {
@@ -38,7 +39,10 @@ const DEFAULTS = {
38
39
  disableAlerts: false,
39
40
  disableScheduledExports: false,
40
41
  };
41
- function load(props) {
42
+ /** @internal */
43
+ export const BULLET_CHART_DEFAULTS = DEFAULTS;
44
+ /** @internal */
45
+ export function bulletChartLoad(props) {
42
46
  return loadConfig(props, (key, value) => {
43
47
  switch (key) {
44
48
  case "colorMapping":
@@ -126,7 +130,8 @@ function load(props) {
126
130
  }
127
131
  });
128
132
  }
129
- function save(_fields, config) {
133
+ /** @internal */
134
+ export function bulletChartSave(_fields, config) {
130
135
  if (!config) {
131
136
  return undefined;
132
137
  }
@@ -166,9 +171,12 @@ function save(_fields, config) {
166
171
  disableScheduledExports: getValueOrDefault(config.disable_scheduled_exports, DEFAULTS.disableScheduledExports, "bool"),
167
172
  });
168
173
  }
174
+ /**
175
+ * @internal
176
+ * @deprecated Use bulletChartLoad and bulletChartSave instead.
177
+ */
169
178
  export const bulletChart = {
170
- load,
171
- save,
179
+ load: bulletChartLoad,
180
+ save: bulletChartSave,
172
181
  DEFAULTS,
173
182
  };
174
- //# sourceMappingURL=bulletChart.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
- type DefaultProperties = {
4
+ /** @internal */
5
+ export type ColumnChartConfigProperties = {
5
6
  colorMapping: Array<ColorMapping>;
6
7
  dataLabels: {
7
8
  totalsVisible: boolean | "auto";
@@ -46,8 +47,12 @@ type DefaultProperties = {
46
47
  disableAlerts: boolean;
47
48
  disableScheduledExports: boolean;
48
49
  };
49
- declare function load(props: VisualisationConfig<DefaultProperties>): import("yaml").Pair<import("yaml").Scalar<string>, any> | null;
50
- declare function save(_fields: Visualisation["query"]["fields"] | undefined, config: Visualisation["config"] | undefined): {
50
+ /** @internal */
51
+ export declare const COLUMN_CHART_DEFAULTS: ConfigDefaults<ColumnChartConfigProperties>;
52
+ /** @internal */
53
+ export declare function columnChartLoad(props: VisualisationConfig<ColumnChartConfigProperties>): import("yaml").Pair<import("yaml").Scalar<string>, any> | null;
54
+ /** @internal */
55
+ export declare function columnChartSave(_fields: Visualisation["query"]["fields"] | undefined, config: Visualisation["config"] | undefined): {
51
56
  colorMapping: ColorMapping[] | undefined;
52
57
  dataLabels: {
53
58
  totalsVisible: "auto" | boolean | undefined;
@@ -92,10 +97,17 @@ declare function save(_fields: Visualisation["query"]["fields"] | undefined, con
92
97
  disableAlerts: boolean | undefined;
93
98
  disableScheduledExports: boolean | undefined;
94
99
  } | undefined;
95
- export declare const columnChart: {
96
- load: typeof load;
97
- save: typeof save;
98
- DEFAULTS: ConfigDefaults<DefaultProperties>;
99
- };
100
- export {};
101
- //# sourceMappingURL=columnChart.d.ts.map
100
+ /**
101
+ * @internal
102
+ * @deprecated Use columnChartLoad and columnChartSave instead.
103
+ */
104
+ export interface IColumnChartConfig {
105
+ load: typeof columnChartLoad;
106
+ save: typeof columnChartSave;
107
+ DEFAULTS: ConfigDefaults<ColumnChartConfigProperties>;
108
+ }
109
+ /**
110
+ * @internal
111
+ * @deprecated Use columnChartLoad and columnChartSave instead.
112
+ */
113
+ export declare const columnChart: IColumnChartConfig;
@@ -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: {
@@ -45,7 +46,10 @@ const DEFAULTS = {
45
46
  disableAlerts: false,
46
47
  disableScheduledExports: false,
47
48
  };
48
- function load(props) {
49
+ /** @internal */
50
+ export const COLUMN_CHART_DEFAULTS = DEFAULTS;
51
+ /** @internal */
52
+ export function columnChartLoad(props) {
49
53
  return loadConfig(props, (key, value) => {
50
54
  switch (key) {
51
55
  case "colorMapping":
@@ -155,7 +159,8 @@ function load(props) {
155
159
  }
156
160
  });
157
161
  }
158
- function save(_fields, config) {
162
+ /** @internal */
163
+ export function columnChartSave(_fields, config) {
159
164
  if (!config) {
160
165
  return undefined;
161
166
  }
@@ -202,9 +207,12 @@ function save(_fields, config) {
202
207
  disableScheduledExports: getValueOrDefault(config.disable_scheduled_exports, DEFAULTS.disableScheduledExports, "bool"),
203
208
  });
204
209
  }
210
+ /**
211
+ * @internal
212
+ * @deprecated Use columnChartLoad and columnChartSave instead.
213
+ */
205
214
  export const columnChart = {
206
- load,
207
- save,
215
+ load: columnChartLoad,
216
+ save: columnChartSave,
208
217
  DEFAULTS,
209
218
  };
210
- //# sourceMappingURL=columnChart.js.map
@@ -1,7 +1,8 @@
1
1
  import type { Bucket, Visualisation } from "@gooddata/sdk-code-schemas/v1";
2
2
  import { type ChartFillType, type ColorMapping, type PatternFillName, type PointShapeSymbol } from "./types.js";
3
3
  import { type ConfigDefaults, type VisualisationConfig } from "./utils.js";
4
- type DefaultProperties = {
4
+ /** @internal */
5
+ export type ComboChartConfigProperties = {
5
6
  colorMapping: Array<ColorMapping>;
6
7
  continuousLine: {
7
8
  enabled: boolean;
@@ -73,8 +74,12 @@ type DefaultProperties = {
73
74
  thresholdMeasures: string[];
74
75
  thresholdExcludedMeasures: string[];
75
76
  };
76
- declare function load(props: VisualisationConfig<DefaultProperties>): import("yaml").Pair<import("yaml").Scalar<string>, any> | null;
77
- declare function save(_fields: Visualisation["query"]["fields"] | undefined, config: Visualisation["config"] | undefined, buckets?: Bucket[]): {
77
+ /** @internal */
78
+ export declare const COMBO_CHART_DEFAULTS: ConfigDefaults<ComboChartConfigProperties>;
79
+ /** @internal */
80
+ export declare function comboChartLoad(props: VisualisationConfig<ComboChartConfigProperties>): import("yaml").Pair<import("yaml").Scalar<string>, any> | null;
81
+ /** @internal */
82
+ export declare function comboChartSave(_fields: Visualisation["query"]["fields"] | undefined, config: Visualisation["config"] | undefined, buckets?: Bucket[]): {
78
83
  colorMapping: ColorMapping[] | undefined;
79
84
  continuousLine: {
80
85
  enabled: boolean | undefined;
@@ -146,10 +151,17 @@ declare function save(_fields: Visualisation["query"]["fields"] | undefined, con
146
151
  thresholdMeasures: string[] | undefined;
147
152
  thresholdExcludedMeasures: string[] | undefined;
148
153
  } | undefined;
149
- export declare const comboChart: {
150
- load: typeof load;
151
- save: typeof save;
152
- DEFAULTS: ConfigDefaults<DefaultProperties>;
153
- };
154
- export {};
155
- //# sourceMappingURL=comboChart.d.ts.map
154
+ /**
155
+ * @internal
156
+ * @deprecated Use comboChartLoad and comboChartSave instead.
157
+ */
158
+ export interface IComboChartConfig {
159
+ load: typeof comboChartLoad;
160
+ save: typeof comboChartSave;
161
+ DEFAULTS: ConfigDefaults<ComboChartConfigProperties>;
162
+ }
163
+ /**
164
+ * @internal
165
+ * @deprecated Use comboChartLoad and comboChartSave instead.
166
+ */
167
+ export declare const comboChart: IComboChartConfig;
@@ -2,6 +2,7 @@
2
2
  import { loadChartFill, loadColorMapping, saveChartFill, saveColorMapping } 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
  continuousLine: {
@@ -72,7 +73,10 @@ const DEFAULTS = {
72
73
  thresholdMeasures: [],
73
74
  thresholdExcludedMeasures: [],
74
75
  };
75
- function load(props) {
76
+ /** @internal */
77
+ export const COMBO_CHART_DEFAULTS = DEFAULTS;
78
+ /** @internal */
79
+ export function comboChartLoad(props) {
76
80
  return loadConfig(props, (key, value) => {
77
81
  switch (key) {
78
82
  case "colorMapping":
@@ -266,7 +270,8 @@ function load(props) {
266
270
  }
267
271
  });
268
272
  }
269
- function save(_fields, config, buckets = []) {
273
+ /** @internal */
274
+ export function comboChartSave(_fields, config, buckets = []) {
270
275
  if (!config) {
271
276
  return undefined;
272
277
  }
@@ -347,9 +352,12 @@ function save(_fields, config, buckets = []) {
347
352
  thresholdExcludedMeasures: getValueOrDefault(config.line_style_excluded_metrics, DEFAULTS.thresholdExcludedMeasures, "array"),
348
353
  });
349
354
  }
355
+ /**
356
+ * @internal
357
+ * @deprecated Use comboChartLoad and comboChartSave instead.
358
+ */
350
359
  export const comboChart = {
351
- load,
352
- save,
360
+ load: comboChartLoad,
361
+ save: comboChartSave,
353
362
  DEFAULTS,
354
363
  };
355
- //# sourceMappingURL=comboChart.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
- type DefaultProperties = {
4
+ /** @internal */
5
+ export type DependencyWheelChartConfigProperties = {
5
6
  colorMapping: Array<ColorMapping>;
6
7
  dataLabels: {
7
8
  visible: boolean | "auto";
@@ -14,8 +15,12 @@ type DefaultProperties = {
14
15
  disableAlerts: boolean;
15
16
  disableScheduledExports: boolean;
16
17
  };
17
- declare function load(props: VisualisationConfig<DefaultProperties>): import("yaml").Pair<import("yaml").Scalar<string>, any> | null;
18
- declare function save(_fields: Visualisation["query"]["fields"] | undefined, config: Visualisation["config"] | undefined): {
18
+ /** @internal */
19
+ export declare const DEPENDENCY_WHEEL_CHART_DEFAULTS: ConfigDefaults<DependencyWheelChartConfigProperties>;
20
+ /** @internal */
21
+ export declare function dependencyWheelChartLoad(props: VisualisationConfig<DependencyWheelChartConfigProperties>): import("yaml").Pair<import("yaml").Scalar<string>, any> | null;
22
+ /** @internal */
23
+ export declare function dependencyWheelChartSave(_fields: Visualisation["query"]["fields"] | undefined, config: Visualisation["config"] | undefined): {
19
24
  colorMapping: ColorMapping[] | undefined;
20
25
  dataLabels: {
21
26
  visible: "auto" | boolean | undefined;
@@ -28,10 +33,17 @@ declare function save(_fields: Visualisation["query"]["fields"] | undefined, con
28
33
  disableAlerts: boolean | undefined;
29
34
  disableScheduledExports: boolean | undefined;
30
35
  } | undefined;
31
- export declare const dependencyWheelChart: {
32
- load: typeof load;
33
- save: typeof save;
34
- DEFAULTS: ConfigDefaults<DefaultProperties>;
35
- };
36
- export {};
37
- //# sourceMappingURL=dependencyWheelChart.d.ts.map
36
+ /**
37
+ * @internal
38
+ * @deprecated Use dependencyWheelChartLoad and dependencyWheelChartSave instead.
39
+ */
40
+ export interface IDependencyWheelChartConfig {
41
+ load: typeof dependencyWheelChartLoad;
42
+ save: typeof dependencyWheelChartSave;
43
+ DEFAULTS: ConfigDefaults<DependencyWheelChartConfigProperties>;
44
+ }
45
+ /**
46
+ * @internal
47
+ * @deprecated Use dependencyWheelChartLoad and dependencyWheelChartSave instead.
48
+ */
49
+ export declare const dependencyWheelChart: IDependencyWheelChartConfig;