@gooddata/code-cli 0.56.0 → 0.57.0-alpha.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.
Files changed (3) hide show
  1. package/CHANGELOG.md +1 -7
  2. package/dist/index.js +359 -591
  3. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -37370,7 +37370,7 @@ function isPromise(value) {
37370
37370
  //#endregion
37371
37371
  //#region package.json
37372
37372
  var name$1 = "@gooddata/code-cli";
37373
- var version$1 = "0.56.0";
37373
+ var version$1 = "0.57.0-alpha.1";
37374
37374
  //#endregion
37375
37375
  //#region ../../../common/temp/aac/node_modules/.pnpm/vscode-languageserver@8.1.0/node_modules/vscode-languageserver/lib/common/utils/is.js
37376
37376
  var require_is$2 = /* @__PURE__ */ __commonJSMin(((exports) => {
@@ -137566,7 +137566,7 @@ function loadConfig(props, loader) {
137566
137566
  if (!properties || keys.length === 0) return null;
137567
137567
  const config = keys.reduce((config, key) => {
137568
137568
  if (properties[key] !== void 0) loader(key, properties[key]).forEach(([newKey, newValue]) => {
137569
- if (newValue !== void 0) addInPath(config, newKey.split("."), newValue);
137569
+ if (newValue !== void 0) config.add(new import_dist.Pair(newKey, newValue));
137570
137570
  });
137571
137571
  return config;
137572
137572
  }, new import_dist.YAMLMap());
@@ -137578,18 +137578,6 @@ function saveConfigObject(obj) {
137578
137578
  if (Object.keys(obj).filter((key) => obj[key] !== void 0).length === 0) return;
137579
137579
  return obj;
137580
137580
  }
137581
- function addInPath(base, path, newValue) {
137582
- let current = base;
137583
- path.forEach((key, index) => {
137584
- if (index === path.length - 1) current.add(new import_dist.Pair(key, newValue));
137585
- else if (current.has(key)) current = current.get(key);
137586
- else {
137587
- const map = new import_dist.YAMLMap();
137588
- current.add(new import_dist.Pair(key, map));
137589
- current = map;
137590
- }
137591
- });
137592
- }
137593
137581
  //#endregion
137594
137582
  //#region ../../../sdk/libs/sdk-code-convertors/src/utils/configUtils.ts
137595
137583
  /** @public */
@@ -137927,62 +137915,49 @@ const DEFAULTS$22 = {
137927
137915
  disableAlerts: false,
137928
137916
  disableScheduledExports: false,
137929
137917
  disableKeyDriveAnalysisOn: {},
137930
- customTooltip: DEFAULT_CUSTOM_TOOLTIP
137918
+ customTooltip: DEFAULT_CUSTOM_TOOLTIP,
137919
+ lineStyleMapping: []
137931
137920
  };
137932
137921
  /** @internal */
137933
137922
  function areaChartLoad(props) {
137934
137923
  return loadConfig(props, (key, value) => {
137935
137924
  switch (key) {
137936
137925
  case "colorMapping": return [["colors", loadColorMapping(value)]];
137937
- case "dataLabels": {
137938
- const val = value;
137939
- return [["data_labels", getValueOrDefault(val.visible, DEFAULTS$22.dataLabels.visible, "bool_auto")], ["data_labels_style", getValueOrDefault(val.style, DEFAULTS$22.dataLabels.style)]];
137940
- }
137941
- case "distinctPointShapes": {
137942
- const val = value;
137943
- return [["distinct_point_shapes", {
137944
- enabled: getValueOrDefault(val.enabled, DEFAULTS$22.distinctPointShapes.enabled, "bool"),
137945
- point_shape_mapping: val.pointShapeMapping ?? DEFAULTS$22.distinctPointShapes.pointShapeMapping
137946
- }]];
137947
- }
137926
+ case "dataLabels": return [["data_labels", getValueOrDefault(value.visible, DEFAULTS$22.dataLabels.visible, "bool_auto")], ["data_labels_style", getValueOrDefault(value.style, DEFAULTS$22.dataLabels.style)]];
137927
+ case "distinctPointShapes": return [["distinct_point_shapes", {
137928
+ enabled: getValueOrDefault(value.enabled, DEFAULTS$22.distinctPointShapes.enabled, "bool"),
137929
+ point_shape_mapping: value.pointShapeMapping ?? DEFAULTS$22.distinctPointShapes.pointShapeMapping
137930
+ }]];
137948
137931
  case "chartFill": return [["chart_fill", loadChartFill(value, DEFAULTS$22.chartFill)]];
137949
137932
  case "dataPoints": return [["data_points", getValueOrDefault(value.visible, DEFAULTS$22.dataPoints.visible, "bool_auto")]];
137950
- case "legend": {
137951
- const val = value;
137952
- return [["legend_enabled", getValueOrDefault(val.enabled, DEFAULTS$22.legend.enabled, "bool")], ["legend_position", getValueOrDefault(val.position, DEFAULTS$22.legend.position)]];
137953
- }
137933
+ case "legend": return [["legend_enabled", getValueOrDefault(value.enabled, DEFAULTS$22.legend.enabled, "bool")], ["legend_position", getValueOrDefault(value.position, DEFAULTS$22.legend.position)]];
137954
137934
  case "stackMeasuresToPercent": return [["stack_measures_to_100", getValueOrDefault(value, DEFAULTS$22.stackMeasuresToPercent, "bool")]];
137955
137935
  case "stackMeasures": return [["stack_measures", getValueOrDefault(value, DEFAULTS$22.stackMeasures, "bool")]];
137956
- case "xaxis": {
137957
- const val = value;
137958
- return [
137959
- ["xaxis_name_position", getValueOrDefault(val.name?.position, DEFAULTS$22.xaxis.name.position)],
137960
- ["xaxis_name_visible", getValueOrDefault(val.name?.visible, DEFAULTS$22.xaxis.name.visible, "bool")],
137961
- ["xaxis_rotation", getValueOrDefault(val.rotation, DEFAULTS$22.xaxis.rotation)],
137962
- ["xaxis_visible", getValueOrDefault(val.visible, DEFAULTS$22.xaxis.visible, "bool")],
137963
- ["xaxis_labels", getValueOrDefault(val.labelsEnabled, DEFAULTS$22.xaxis.labelsEnabled, "bool")]
137964
- ];
137965
- }
137966
- case "yaxis": {
137967
- const val = value;
137968
- return [
137969
- ["yaxis_format", getValueOrDefault(val.format, DEFAULTS$22.yaxis.format)],
137970
- ["yaxis_max", getValueOrDefault(val.max, DEFAULTS$22.yaxis.max, "number")],
137971
- ["yaxis_min", getValueOrDefault(val.min, DEFAULTS$22.yaxis.min, "number")],
137972
- ["yaxis_name_position", getValueOrDefault(val.name?.position, DEFAULTS$22.yaxis.name.position)],
137973
- ["yaxis_name_visible", getValueOrDefault(val.name?.visible, DEFAULTS$22.yaxis.name.visible, "bool")],
137974
- ["yaxis_rotation", getValueOrDefault(val.rotation, DEFAULTS$22.yaxis.rotation)],
137975
- ["yaxis_visible", getValueOrDefault(val.visible, DEFAULTS$22.yaxis.visible, "bool")],
137976
- ["yaxis_labels", getValueOrDefault(val.labelsEnabled, DEFAULTS$22.yaxis.labelsEnabled, "bool")]
137977
- ];
137978
- }
137936
+ case "xaxis": return [
137937
+ ["xaxis_name_position", getValueOrDefault(value.name?.position, DEFAULTS$22.xaxis.name.position)],
137938
+ ["xaxis_name_visible", getValueOrDefault(value.name?.visible, DEFAULTS$22.xaxis.name.visible, "bool")],
137939
+ ["xaxis_rotation", getValueOrDefault(value.rotation, DEFAULTS$22.xaxis.rotation)],
137940
+ ["xaxis_visible", getValueOrDefault(value.visible, DEFAULTS$22.xaxis.visible, "bool")],
137941
+ ["xaxis_labels", getValueOrDefault(value.labelsEnabled, DEFAULTS$22.xaxis.labelsEnabled, "bool")]
137942
+ ];
137943
+ case "yaxis": return [
137944
+ ["yaxis_format", getValueOrDefault(value.format, DEFAULTS$22.yaxis.format)],
137945
+ ["yaxis_max", getValueOrDefault(value.max, DEFAULTS$22.yaxis.max, "number")],
137946
+ ["yaxis_min", getValueOrDefault(value.min, DEFAULTS$22.yaxis.min, "number")],
137947
+ ["yaxis_name_position", getValueOrDefault(value.name?.position, DEFAULTS$22.yaxis.name.position)],
137948
+ ["yaxis_name_visible", getValueOrDefault(value.name?.visible, DEFAULTS$22.yaxis.name.visible, "bool")],
137949
+ ["yaxis_rotation", getValueOrDefault(value.rotation, DEFAULTS$22.yaxis.rotation)],
137950
+ ["yaxis_visible", getValueOrDefault(value.visible, DEFAULTS$22.yaxis.visible, "bool")],
137951
+ ["yaxis_labels", getValueOrDefault(value.labelsEnabled, DEFAULTS$22.yaxis.labelsEnabled, "bool")]
137952
+ ];
137979
137953
  case "grid": return [["grid_enabled", getValueOrDefault(value.enabled, DEFAULTS$22.grid.enabled, "bool")]];
137980
137954
  case "disableDrillDown": return [["disable_drill_down", getValueOrDefault(value, DEFAULTS$22.disableDrillDown, "bool")]];
137981
- case "disableDrillIntoURL": return [["disable_drill_into_url", value === void 0 ? void 0 : !!value]];
137955
+ case "disableDrillIntoURL": return [["disable_drill_into_url", Boolean(value)]];
137982
137956
  case "disableAlerts": return [["disable_alerts", getValueOrDefault(value, DEFAULTS$22.disableAlerts, "bool")]];
137983
137957
  case "disableScheduledExports": return [["disable_scheduled_exports", getValueOrDefault(value, DEFAULTS$22.disableScheduledExports, "bool")]];
137984
137958
  case "disableKeyDriveAnalysisOn": return [["disable_key_drive_analysis", loadDisableKda(value)]];
137985
137959
  case "customTooltip": return [["custom_tooltip", loadCustomTooltip(value)]];
137960
+ case "lineStyleMapping": return [["line_style_mapping", loadLineStyleMapping(value)]];
137986
137961
  default: return [];
137987
137962
  }
137988
137963
  });
@@ -138035,7 +138010,8 @@ function areaChartSave(_fields, config) {
138035
138010
  disableAlerts: getValueOrDefault(config.disable_alerts, DEFAULTS$22.disableAlerts, "bool"),
138036
138011
  disableScheduledExports: getValueOrDefault(config.disable_scheduled_exports, DEFAULTS$22.disableScheduledExports, "bool"),
138037
138012
  disableKeyDriveAnalysisOn: saveConfigObject(config.disable_key_drive_analysis),
138038
- customTooltip: saveConfigObject(saveCustomTooltip(config.custom_tooltip))
138013
+ customTooltip: saveConfigObject(saveCustomTooltip(config.custom_tooltip)),
138014
+ lineStyleMapping: saveLineStyleMapping(config["line_style_mapping"])
138039
138015
  });
138040
138016
  }
138041
138017
  /**
@@ -138098,47 +138074,35 @@ function barChartLoad(props) {
138098
138074
  return loadConfig(props, (key, value) => {
138099
138075
  switch (key) {
138100
138076
  case "colorMapping": return [["colors", loadColorMapping(value)]];
138101
- case "dataLabels": {
138102
- const val = value;
138103
- return [
138104
- ["data_labels", getValueOrDefault(val.visible, DEFAULTS$21.dataLabels.visible, "bool_auto")],
138105
- ["data_totals", getValueOrDefault(val.totalsVisible, DEFAULTS$21.dataLabels.totalsVisible, "bool_auto")],
138106
- ["data_labels_style", getValueOrDefault(val.style, DEFAULTS$21.dataLabels.style)]
138107
- ];
138108
- }
138077
+ case "dataLabels": return [
138078
+ ["data_labels", getValueOrDefault(value.visible, DEFAULTS$21.dataLabels.visible, "bool_auto")],
138079
+ ["data_totals", getValueOrDefault(value.totalsVisible, DEFAULTS$21.dataLabels.totalsVisible, "bool_auto")],
138080
+ ["data_labels_style", getValueOrDefault(value.style, DEFAULTS$21.dataLabels.style)]
138081
+ ];
138109
138082
  case "chartFill": return [["chart_fill", loadChartFill(value, DEFAULTS$21.chartFill)]];
138110
- case "legend": {
138111
- const val = value;
138112
- return [["legend_enabled", getValueOrDefault(val.enabled, DEFAULTS$21.legend.enabled, "bool")], ["legend_position", getValueOrDefault(val.position, DEFAULTS$21.legend.position)]];
138113
- }
138083
+ case "legend": return [["legend_enabled", getValueOrDefault(value.enabled, DEFAULTS$21.legend.enabled, "bool")], ["legend_position", getValueOrDefault(value.position, DEFAULTS$21.legend.position)]];
138114
138084
  case "stackMeasuresToPercent": return [["stack_measures_to_100", getValueOrDefault(value, DEFAULTS$21.stackMeasuresToPercent, "bool")]];
138115
138085
  case "stackMeasures": return [["stack_measures", getValueOrDefault(value, DEFAULTS$21.stackMeasures, "bool")]];
138116
- case "xaxis": {
138117
- const val = value;
138118
- return [
138119
- ["xaxis_format", getValueOrDefault(val.format, DEFAULTS$21.xaxis.format)],
138120
- ["xaxis_max", getValueOrDefault(val.max, DEFAULTS$21.xaxis.max, "number")],
138121
- ["xaxis_min", getValueOrDefault(val.min, DEFAULTS$21.xaxis.min, "number")],
138122
- ["xaxis_name_position", getValueOrDefault(val.name?.position, DEFAULTS$21.xaxis.name.position)],
138123
- ["xaxis_name_visible", getValueOrDefault(val.name?.visible, DEFAULTS$21.xaxis.name.visible, "bool")],
138124
- ["xaxis_rotation", getValueOrDefault(val.rotation, DEFAULTS$21.xaxis.rotation)],
138125
- ["xaxis_visible", getValueOrDefault(val.visible, DEFAULTS$21.xaxis.visible, "bool")],
138126
- ["xaxis_labels", getValueOrDefault(val.labelsEnabled, DEFAULTS$21.xaxis.labelsEnabled, "bool")]
138127
- ];
138128
- }
138129
- case "yaxis": {
138130
- const val = value;
138131
- return [
138132
- ["yaxis_name_position", getValueOrDefault(val.name?.position, DEFAULTS$21.yaxis.name.position)],
138133
- ["yaxis_name_visible", getValueOrDefault(val.name?.visible, DEFAULTS$21.yaxis.name.visible, "bool")],
138134
- ["yaxis_rotation", getValueOrDefault(val.rotation, DEFAULTS$21.yaxis.rotation)],
138135
- ["yaxis_visible", getValueOrDefault(val.visible, DEFAULTS$21.yaxis.visible, "bool")],
138136
- ["yaxis_labels", getValueOrDefault(val.labelsEnabled, DEFAULTS$21.yaxis.labelsEnabled, "bool")]
138137
- ];
138138
- }
138086
+ case "xaxis": return [
138087
+ ["xaxis_format", getValueOrDefault(value.format, DEFAULTS$21.xaxis.format)],
138088
+ ["xaxis_max", getValueOrDefault(value.max, DEFAULTS$21.xaxis.max, "number")],
138089
+ ["xaxis_min", getValueOrDefault(value.min, DEFAULTS$21.xaxis.min, "number")],
138090
+ ["xaxis_name_position", getValueOrDefault(value.name?.position, DEFAULTS$21.xaxis.name.position)],
138091
+ ["xaxis_name_visible", getValueOrDefault(value.name?.visible, DEFAULTS$21.xaxis.name.visible, "bool")],
138092
+ ["xaxis_rotation", getValueOrDefault(value.rotation, DEFAULTS$21.xaxis.rotation)],
138093
+ ["xaxis_visible", getValueOrDefault(value.visible, DEFAULTS$21.xaxis.visible, "bool")],
138094
+ ["xaxis_labels", getValueOrDefault(value.labelsEnabled, DEFAULTS$21.xaxis.labelsEnabled, "bool")]
138095
+ ];
138096
+ case "yaxis": return [
138097
+ ["yaxis_name_position", getValueOrDefault(value.name?.position, DEFAULTS$21.yaxis.name.position)],
138098
+ ["yaxis_name_visible", getValueOrDefault(value.name?.visible, DEFAULTS$21.yaxis.name.visible, "bool")],
138099
+ ["yaxis_rotation", getValueOrDefault(value.rotation, DEFAULTS$21.yaxis.rotation)],
138100
+ ["yaxis_visible", getValueOrDefault(value.visible, DEFAULTS$21.yaxis.visible, "bool")],
138101
+ ["yaxis_labels", getValueOrDefault(value.labelsEnabled, DEFAULTS$21.yaxis.labelsEnabled, "bool")]
138102
+ ];
138139
138103
  case "grid": return [["grid_enabled", getValueOrDefault(value.enabled, DEFAULTS$21.grid.enabled, "bool")]];
138140
138104
  case "disableDrillDown": return [["disable_drill_down", getValueOrDefault(value, DEFAULTS$21.disableDrillDown, "bool")]];
138141
- case "disableDrillIntoURL": return [["disable_drill_into_url", value === void 0 ? void 0 : !!value]];
138105
+ case "disableDrillIntoURL": return [["disable_drill_into_url", Boolean(value)]];
138142
138106
  case "disableAlerts": return [["disable_alerts", getValueOrDefault(value, DEFAULTS$21.disableAlerts, "bool")]];
138143
138107
  case "disableScheduledExports": return [["disable_scheduled_exports", getValueOrDefault(value, DEFAULTS$21.disableScheduledExports, "bool")]];
138144
138108
  case "disableKeyDriveAnalysisOn": return [["disable_key_drive_analysis", loadDisableKda(value)]];
@@ -138253,43 +138217,31 @@ function bubbleChartLoad(props) {
138253
138217
  return loadConfig(props, (key, value) => {
138254
138218
  switch (key) {
138255
138219
  case "colorMapping": return [["colors", loadColorMapping(value)]];
138256
- case "dataLabels": {
138257
- const val = value;
138258
- return [["data_labels", getValueOrDefault(val.visible, DEFAULTS$20.dataLabels.visible, "bool_auto")], ["data_labels_style", getValueOrDefault(val.style, DEFAULTS$20.dataLabels.style)]];
138259
- }
138260
- case "legend": {
138261
- const val = value;
138262
- return [["legend_enabled", getValueOrDefault(val.enabled, DEFAULTS$20.legend.enabled, "bool")], ["legend_position", getValueOrDefault(val.position, DEFAULTS$20.legend.position)]];
138263
- }
138264
- case "xaxis": {
138265
- const val = value;
138266
- return [
138267
- ["xaxis_format", getValueOrDefault(val.format, DEFAULTS$20.xaxis.format)],
138268
- ["xaxis_max", getValueOrDefault(val.max, DEFAULTS$20.xaxis.max, "number")],
138269
- ["xaxis_min", getValueOrDefault(val.min, DEFAULTS$20.xaxis.min, "number")],
138270
- ["xaxis_name_position", getValueOrDefault(val.name?.position, DEFAULTS$20.xaxis.name.position)],
138271
- ["xaxis_name_visible", getValueOrDefault(val.name?.visible, DEFAULTS$20.xaxis.name.visible, "bool")],
138272
- ["xaxis_rotation", getValueOrDefault(val.rotation, DEFAULTS$20.xaxis.rotation)],
138273
- ["xaxis_visible", getValueOrDefault(val.visible, DEFAULTS$20.xaxis.visible, "bool")],
138274
- ["xaxis_labels", getValueOrDefault(val.labelsEnabled, DEFAULTS$20.xaxis.labelsEnabled, "bool")]
138275
- ];
138276
- }
138277
- case "yaxis": {
138278
- const val = value;
138279
- return [
138280
- ["yaxis_format", getValueOrDefault(val.format, DEFAULTS$20.yaxis.format)],
138281
- ["yaxis_max", getValueOrDefault(val.max, DEFAULTS$20.yaxis.max, "number")],
138282
- ["yaxis_min", getValueOrDefault(val.min, DEFAULTS$20.yaxis.min, "number")],
138283
- ["yaxis_name_position", getValueOrDefault(val.name?.position, DEFAULTS$20.yaxis.name.position)],
138284
- ["yaxis_name_visible", getValueOrDefault(val.name?.visible, DEFAULTS$20.yaxis.name.visible, "bool")],
138285
- ["yaxis_rotation", getValueOrDefault(val.rotation, DEFAULTS$20.yaxis.rotation)],
138286
- ["yaxis_visible", getValueOrDefault(val.visible, DEFAULTS$20.yaxis.visible, "bool")],
138287
- ["yaxis_labels", getValueOrDefault(val.labelsEnabled, DEFAULTS$20.yaxis.labelsEnabled, "bool")]
138288
- ];
138289
- }
138220
+ case "dataLabels": return [["data_labels", getValueOrDefault(value.visible, DEFAULTS$20.dataLabels.visible, "bool_auto")], ["data_labels_style", getValueOrDefault(value.style, DEFAULTS$20.dataLabels.style)]];
138221
+ case "legend": return [["legend_enabled", getValueOrDefault(value.enabled, DEFAULTS$20.legend.enabled, "bool")], ["legend_position", getValueOrDefault(value.position, DEFAULTS$20.legend.position)]];
138222
+ case "xaxis": return [
138223
+ ["xaxis_format", getValueOrDefault(value.format, DEFAULTS$20.xaxis.format)],
138224
+ ["xaxis_max", getValueOrDefault(value.max, DEFAULTS$20.xaxis.max, "number")],
138225
+ ["xaxis_min", getValueOrDefault(value.min, DEFAULTS$20.xaxis.min, "number")],
138226
+ ["xaxis_name_position", getValueOrDefault(value.name?.position, DEFAULTS$20.xaxis.name.position)],
138227
+ ["xaxis_name_visible", getValueOrDefault(value.name?.visible, DEFAULTS$20.xaxis.name.visible, "bool")],
138228
+ ["xaxis_rotation", getValueOrDefault(value.rotation, DEFAULTS$20.xaxis.rotation)],
138229
+ ["xaxis_visible", getValueOrDefault(value.visible, DEFAULTS$20.xaxis.visible, "bool")],
138230
+ ["xaxis_labels", getValueOrDefault(value.labelsEnabled, DEFAULTS$20.xaxis.labelsEnabled, "bool")]
138231
+ ];
138232
+ case "yaxis": return [
138233
+ ["yaxis_format", getValueOrDefault(value.format, DEFAULTS$20.yaxis.format)],
138234
+ ["yaxis_max", getValueOrDefault(value.max, DEFAULTS$20.yaxis.max, "number")],
138235
+ ["yaxis_min", getValueOrDefault(value.min, DEFAULTS$20.yaxis.min, "number")],
138236
+ ["yaxis_name_position", getValueOrDefault(value.name?.position, DEFAULTS$20.yaxis.name.position)],
138237
+ ["yaxis_name_visible", getValueOrDefault(value.name?.visible, DEFAULTS$20.yaxis.name.visible, "bool")],
138238
+ ["yaxis_rotation", getValueOrDefault(value.rotation, DEFAULTS$20.yaxis.rotation)],
138239
+ ["yaxis_visible", getValueOrDefault(value.visible, DEFAULTS$20.yaxis.visible, "bool")],
138240
+ ["yaxis_labels", getValueOrDefault(value.labelsEnabled, DEFAULTS$20.yaxis.labelsEnabled, "bool")]
138241
+ ];
138290
138242
  case "grid": return [["grid_enabled", getValueOrDefault(value.enabled, DEFAULTS$20.grid.enabled, "bool")]];
138291
138243
  case "disableDrillDown": return [["disable_drill_down", getValueOrDefault(value, DEFAULTS$20.disableDrillDown, "bool")]];
138292
- case "disableDrillIntoURL": return [["disable_drill_into_url", value === void 0 ? void 0 : !!value]];
138244
+ case "disableDrillIntoURL": return [["disable_drill_into_url", Boolean(value)]];
138293
138245
  case "disableAlerts": return [["disable_alerts", getValueOrDefault(value, DEFAULTS$20.disableAlerts, "bool")]];
138294
138246
  case "disableScheduledExports": return [["disable_scheduled_exports", getValueOrDefault(value, DEFAULTS$20.disableScheduledExports, "bool")]];
138295
138247
  case "disableKeyDriveAnalysisOn": return [["disable_key_drive_analysis", loadDisableKda(value)]];
@@ -138397,37 +138349,28 @@ function bulletChartLoad(props) {
138397
138349
  return loadConfig(props, (key, value) => {
138398
138350
  switch (key) {
138399
138351
  case "colorMapping": return [["colors", loadColorMapping(value)]];
138400
- case "legend": {
138401
- const val = value;
138402
- return [["legend_enabled", getValueOrDefault(val.enabled, DEFAULTS$19.legend.enabled, "bool")], ["legend_position", getValueOrDefault(val.position, DEFAULTS$19.legend.position)]];
138403
- }
138352
+ case "legend": return [["legend_enabled", getValueOrDefault(value.enabled, DEFAULTS$19.legend.enabled, "bool")], ["legend_position", getValueOrDefault(value.position, DEFAULTS$19.legend.position)]];
138404
138353
  case "chartFill": return [["chart_fill", loadChartFill(value, DEFAULTS$19.chartFill)]];
138405
- case "xaxis": {
138406
- const val = value;
138407
- return [
138408
- ["xaxis_format", getValueOrDefault(val.format, DEFAULTS$19.xaxis.format)],
138409
- ["xaxis_max", getValueOrDefault(val.max, DEFAULTS$19.xaxis.max, "number")],
138410
- ["xaxis_min", getValueOrDefault(val.min, DEFAULTS$19.xaxis.min, "number")],
138411
- ["xaxis_name_position", getValueOrDefault(val.name?.position, DEFAULTS$19.xaxis.name.position)],
138412
- ["xaxis_name_visible", getValueOrDefault(val.name?.visible, DEFAULTS$19.xaxis.name.visible, "bool")],
138413
- ["xaxis_rotation", getValueOrDefault(val.rotation, DEFAULTS$19.xaxis.rotation)],
138414
- ["xaxis_visible", getValueOrDefault(val.visible, DEFAULTS$19.xaxis.visible, "bool")],
138415
- ["xaxis_labels", getValueOrDefault(val.labelsEnabled, DEFAULTS$19.xaxis.labelsEnabled, "bool")]
138416
- ];
138417
- }
138418
- case "yaxis": {
138419
- const val = value;
138420
- return [
138421
- ["yaxis_name_position", getValueOrDefault(val.name?.position, DEFAULTS$19.yaxis.name.position)],
138422
- ["yaxis_name_visible", getValueOrDefault(val.name?.visible, DEFAULTS$19.yaxis.name.visible, "bool")],
138423
- ["yaxis_labels", getValueOrDefault(val.labelsEnabled, DEFAULTS$19.yaxis.labelsEnabled, "bool")],
138424
- ["yaxis_rotation", getValueOrDefault(val.rotation, DEFAULTS$19.yaxis.rotation)],
138425
- ["yaxis_visible", getValueOrDefault(val.visible, DEFAULTS$19.yaxis.visible, "bool")]
138426
- ];
138427
- }
138354
+ case "xaxis": return [
138355
+ ["xaxis_format", getValueOrDefault(value.format, DEFAULTS$19.xaxis.format)],
138356
+ ["xaxis_max", getValueOrDefault(value.max, DEFAULTS$19.xaxis.max, "number")],
138357
+ ["xaxis_min", getValueOrDefault(value.min, DEFAULTS$19.xaxis.min, "number")],
138358
+ ["xaxis_name_position", getValueOrDefault(value.name?.position, DEFAULTS$19.xaxis.name.position)],
138359
+ ["xaxis_name_visible", getValueOrDefault(value.name?.visible, DEFAULTS$19.xaxis.name.visible, "bool")],
138360
+ ["xaxis_rotation", getValueOrDefault(value.rotation, DEFAULTS$19.xaxis.rotation)],
138361
+ ["xaxis_visible", getValueOrDefault(value.visible, DEFAULTS$19.xaxis.visible, "bool")],
138362
+ ["xaxis_labels", getValueOrDefault(value.labelsEnabled, DEFAULTS$19.xaxis.labelsEnabled, "bool")]
138363
+ ];
138364
+ case "yaxis": return [
138365
+ ["yaxis_name_position", getValueOrDefault(value.name?.position, DEFAULTS$19.yaxis.name.position)],
138366
+ ["yaxis_name_visible", getValueOrDefault(value.name?.visible, DEFAULTS$19.yaxis.name.visible, "bool")],
138367
+ ["yaxis_labels", getValueOrDefault(value.labelsEnabled, DEFAULTS$19.yaxis.labelsEnabled, "bool")],
138368
+ ["yaxis_rotation", getValueOrDefault(value.rotation, DEFAULTS$19.yaxis.rotation)],
138369
+ ["yaxis_visible", getValueOrDefault(value.visible, DEFAULTS$19.yaxis.visible, "bool")]
138370
+ ];
138428
138371
  case "grid": return [["grid_enabled", getValueOrDefault(value.enabled, DEFAULTS$19.grid.enabled, "bool")]];
138429
138372
  case "disableDrillDown": return [["disable_drill_down", getValueOrDefault(value, DEFAULTS$19.disableDrillDown, "bool")]];
138430
- case "disableDrillIntoURL": return [["disable_drill_into_url", value === void 0 ? void 0 : !!value]];
138373
+ case "disableDrillIntoURL": return [["disable_drill_into_url", Boolean(value)]];
138431
138374
  case "disableAlerts": return [["disable_alerts", getValueOrDefault(value, DEFAULTS$19.disableAlerts, "bool")]];
138432
138375
  case "disableScheduledExports": return [["disable_scheduled_exports", getValueOrDefault(value, DEFAULTS$19.disableScheduledExports, "bool")]];
138433
138376
  case "disableKeyDriveAnalysisOn": return [["disable_key_drive_analysis", loadDisableKda(value)]];
@@ -138536,47 +138479,35 @@ function columnChartLoad(props) {
138536
138479
  return loadConfig(props, (key, value) => {
138537
138480
  switch (key) {
138538
138481
  case "colorMapping": return [["colors", loadColorMapping(value)]];
138539
- case "dataLabels": {
138540
- const val = value;
138541
- return [
138542
- ["data_labels", getValueOrDefault(val.visible, DEFAULTS$18.dataLabels.visible, "bool_auto")],
138543
- ["data_totals", getValueOrDefault(val.totalsVisible, DEFAULTS$18.dataLabels.totalsVisible, "bool_auto")],
138544
- ["data_labels_style", getValueOrDefault(val.style, DEFAULTS$18.dataLabels.style)]
138545
- ];
138546
- }
138482
+ case "dataLabels": return [
138483
+ ["data_labels", getValueOrDefault(value.visible, DEFAULTS$18.dataLabels.visible, "bool_auto")],
138484
+ ["data_totals", getValueOrDefault(value.totalsVisible, DEFAULTS$18.dataLabels.totalsVisible, "bool_auto")],
138485
+ ["data_labels_style", getValueOrDefault(value.style, DEFAULTS$18.dataLabels.style)]
138486
+ ];
138547
138487
  case "chartFill": return [["chart_fill", loadChartFill(value, DEFAULTS$18.chartFill)]];
138548
- case "legend": {
138549
- const val = value;
138550
- return [["legend_enabled", getValueOrDefault(val.enabled, DEFAULTS$18.legend.enabled, "bool")], ["legend_position", getValueOrDefault(val.position, DEFAULTS$18.legend.position)]];
138551
- }
138488
+ case "legend": return [["legend_enabled", getValueOrDefault(value.enabled, DEFAULTS$18.legend.enabled, "bool")], ["legend_position", getValueOrDefault(value.position, DEFAULTS$18.legend.position)]];
138552
138489
  case "stackMeasuresToPercent": return [["stack_measures_to_100", getValueOrDefault(value, DEFAULTS$18.stackMeasuresToPercent, "bool")]];
138553
138490
  case "stackMeasures": return [["stack_measures", getValueOrDefault(value, DEFAULTS$18.stackMeasures, "bool")]];
138554
- case "xaxis": {
138555
- const val = value;
138556
- return [
138557
- ["xaxis_name_position", getValueOrDefault(val.name?.position, DEFAULTS$18.xaxis.name.position)],
138558
- ["xaxis_name_visible", getValueOrDefault(val.name?.visible, DEFAULTS$18.xaxis.name.visible, "bool")],
138559
- ["xaxis_rotation", getValueOrDefault(val.rotation, DEFAULTS$18.xaxis.rotation)],
138560
- ["xaxis_visible", getValueOrDefault(val.visible, DEFAULTS$18.xaxis.visible, "bool")],
138561
- ["xaxis_labels", getValueOrDefault(val.labelsEnabled, DEFAULTS$18.xaxis.labelsEnabled, "bool")]
138562
- ];
138563
- }
138564
- case "yaxis": {
138565
- const val = value;
138566
- return [
138567
- ["yaxis_format", getValueOrDefault(val.format, DEFAULTS$18.yaxis.format)],
138568
- ["yaxis_max", getValueOrDefault(val.max, DEFAULTS$18.yaxis.max, "number")],
138569
- ["yaxis_min", getValueOrDefault(val.min, DEFAULTS$18.yaxis.min, "number")],
138570
- ["yaxis_name_position", getValueOrDefault(val.name?.position, DEFAULTS$18.yaxis.name.position)],
138571
- ["yaxis_name_visible", getValueOrDefault(val.name?.visible, DEFAULTS$18.yaxis.name.visible, "bool")],
138572
- ["yaxis_labels", getValueOrDefault(val.labelsEnabled, DEFAULTS$18.yaxis.labelsEnabled, "bool")],
138573
- ["yaxis_rotation", getValueOrDefault(val.rotation, DEFAULTS$18.yaxis.rotation)],
138574
- ["yaxis_visible", getValueOrDefault(val.visible, DEFAULTS$18.yaxis.visible, "bool")]
138575
- ];
138576
- }
138491
+ case "xaxis": return [
138492
+ ["xaxis_name_position", getValueOrDefault(value.name?.position, DEFAULTS$18.xaxis.name.position)],
138493
+ ["xaxis_name_visible", getValueOrDefault(value.name?.visible, DEFAULTS$18.xaxis.name.visible, "bool")],
138494
+ ["xaxis_rotation", getValueOrDefault(value.rotation, DEFAULTS$18.xaxis.rotation)],
138495
+ ["xaxis_visible", getValueOrDefault(value.visible, DEFAULTS$18.xaxis.visible, "bool")],
138496
+ ["xaxis_labels", getValueOrDefault(value.labelsEnabled, DEFAULTS$18.xaxis.labelsEnabled, "bool")]
138497
+ ];
138498
+ case "yaxis": return [
138499
+ ["yaxis_format", getValueOrDefault(value.format, DEFAULTS$18.yaxis.format)],
138500
+ ["yaxis_max", getValueOrDefault(value.max, DEFAULTS$18.yaxis.max, "number")],
138501
+ ["yaxis_min", getValueOrDefault(value.min, DEFAULTS$18.yaxis.min, "number")],
138502
+ ["yaxis_name_position", getValueOrDefault(value.name?.position, DEFAULTS$18.yaxis.name.position)],
138503
+ ["yaxis_name_visible", getValueOrDefault(value.name?.visible, DEFAULTS$18.yaxis.name.visible, "bool")],
138504
+ ["yaxis_labels", getValueOrDefault(value.labelsEnabled, DEFAULTS$18.yaxis.labelsEnabled, "bool")],
138505
+ ["yaxis_rotation", getValueOrDefault(value.rotation, DEFAULTS$18.yaxis.rotation)],
138506
+ ["yaxis_visible", getValueOrDefault(value.visible, DEFAULTS$18.yaxis.visible, "bool")]
138507
+ ];
138577
138508
  case "grid": return [["grid_enabled", getValueOrDefault(value.enabled, DEFAULTS$18.grid.enabled, "bool")]];
138578
138509
  case "disableDrillDown": return [["disable_drill_down", getValueOrDefault(value, DEFAULTS$18.disableDrillDown, "bool")]];
138579
- case "disableDrillIntoURL": return [["disable_drill_into_url", value === void 0 ? void 0 : !!value]];
138510
+ case "disableDrillIntoURL": return [["disable_drill_into_url", Boolean(value)]];
138580
138511
  case "disableAlerts": return [["disable_alerts", getValueOrDefault(value, DEFAULTS$18.disableAlerts, "bool")]];
138581
138512
  case "disableScheduledExports": return [["disable_scheduled_exports", getValueOrDefault(value, DEFAULTS$18.disableScheduledExports, "bool")]];
138582
138513
  case "disableKeyDriveAnalysisOn": return [["disable_key_drive_analysis", loadDisableKda(value)]];
@@ -138714,67 +138645,49 @@ function comboChartLoad(props) {
138714
138645
  switch (key) {
138715
138646
  case "colorMapping": return [["colors", loadColorMapping(value)]];
138716
138647
  case "continuousLine": return [["continuous_line", getValueOrDefault(value.enabled, DEFAULTS$17.continuousLine.enabled, "bool")]];
138717
- case "distinctPointShapes": {
138718
- const val = value;
138719
- return [["distinct_point_shapes", {
138720
- enabled: getValueOrDefault(val.enabled, DEFAULTS$17.distinctPointShapes.enabled, "bool"),
138721
- point_shape_mapping: val.pointShapeMapping ?? DEFAULTS$17.distinctPointShapes.pointShapeMapping
138722
- }]];
138723
- }
138648
+ case "distinctPointShapes": return [["distinct_point_shapes", {
138649
+ enabled: getValueOrDefault(value.enabled, DEFAULTS$17.distinctPointShapes.enabled, "bool"),
138650
+ point_shape_mapping: value.pointShapeMapping ?? DEFAULTS$17.distinctPointShapes.pointShapeMapping
138651
+ }]];
138724
138652
  case "chartFill": return [["chart_fill", loadChartFill(value, DEFAULTS$17.chartFill)]];
138725
138653
  case "dataPoints": return [["data_points", getValueOrDefault(value.visible, DEFAULTS$17.dataPoints.visible, "bool_auto")]];
138726
- case "dataLabels": {
138727
- const val = value;
138728
- return [["data_labels", getValueOrDefault(val.visible, DEFAULTS$17.dataLabels.visible, "bool_auto")], ["data_labels_style", getValueOrDefault(val.style, DEFAULTS$17.dataLabels.style)]];
138729
- }
138730
- case "legend": {
138731
- const val = value;
138732
- return [["legend_enabled", getValueOrDefault(val.enabled, DEFAULTS$17.legend.enabled, "bool")], ["legend_position", getValueOrDefault(val.position, DEFAULTS$17.legend.position)]];
138733
- }
138654
+ case "dataLabels": return [["data_labels", getValueOrDefault(value.visible, DEFAULTS$17.dataLabels.visible, "bool_auto")], ["data_labels_style", getValueOrDefault(value.style, DEFAULTS$17.dataLabels.style)]];
138655
+ case "legend": return [["legend_enabled", getValueOrDefault(value.enabled, DEFAULTS$17.legend.enabled, "bool")], ["legend_position", getValueOrDefault(value.position, DEFAULTS$17.legend.position)]];
138734
138656
  case "stackMeasuresToPercent": return [["stack_measures_to_100", getValueOrDefault(value, DEFAULTS$17.stackMeasuresToPercent, "bool")]];
138735
138657
  case "stackMeasures": return [["stack_measures", getValueOrDefault(value, DEFAULTS$17.stackMeasures, "bool")]];
138736
- case "xaxis": {
138737
- const val = value;
138738
- return [
138739
- ["xaxis_name_position", getValueOrDefault(val.name?.position, DEFAULTS$17.xaxis.name.position)],
138740
- ["xaxis_name_visible", getValueOrDefault(val.name?.visible, DEFAULTS$17.xaxis.name.visible, "bool")],
138741
- ["xaxis_rotation", getValueOrDefault(val.rotation, DEFAULTS$17.xaxis.rotation)],
138742
- ["xaxis_visible", getValueOrDefault(val.visible, DEFAULTS$17.xaxis.visible, "bool")],
138743
- ["xaxis_labels", getValueOrDefault(val.labelsEnabled, DEFAULTS$17.xaxis.labelsEnabled, "bool")]
138744
- ];
138745
- }
138658
+ case "xaxis": return [
138659
+ ["xaxis_name_position", getValueOrDefault(value.name?.position, DEFAULTS$17.xaxis.name.position)],
138660
+ ["xaxis_name_visible", getValueOrDefault(value.name?.visible, DEFAULTS$17.xaxis.name.visible, "bool")],
138661
+ ["xaxis_rotation", getValueOrDefault(value.rotation, DEFAULTS$17.xaxis.rotation)],
138662
+ ["xaxis_visible", getValueOrDefault(value.visible, DEFAULTS$17.xaxis.visible, "bool")],
138663
+ ["xaxis_labels", getValueOrDefault(value.labelsEnabled, DEFAULTS$17.xaxis.labelsEnabled, "bool")]
138664
+ ];
138746
138665
  case "primaryChartType": return [["yaxis_primary_type", getValueOrDefault(value, DEFAULTS$17.primaryChartType)]];
138747
- case "yaxis": {
138748
- const val = value;
138749
- return [
138750
- ["yaxis_primary_format", getValueOrDefault(val.format, DEFAULTS$17.yaxis.format)],
138751
- ["yaxis_primary_max", getValueOrDefault(val.max, DEFAULTS$17.yaxis.max, "number")],
138752
- ["yaxis_primary_min", getValueOrDefault(val.min, DEFAULTS$17.yaxis.min, "number")],
138753
- ["yaxis_primary_name_position", getValueOrDefault(val.name?.position, DEFAULTS$17.yaxis.name.position)],
138754
- ["yaxis_primary_name_visible", getValueOrDefault(val.name?.visible, DEFAULTS$17.yaxis.name.visible, "bool")],
138755
- ["yaxis_primary_rotation", getValueOrDefault(val.rotation, DEFAULTS$17.yaxis.rotation)],
138756
- ["yaxis_primary_visible", getValueOrDefault(val.visible, DEFAULTS$17.yaxis.visible, "bool")],
138757
- ["yaxis_primary_labels", getValueOrDefault(val.labelsEnabled, DEFAULTS$17.yaxis.labelsEnabled, "bool")]
138758
- ];
138759
- }
138666
+ case "yaxis": return [
138667
+ ["yaxis_primary_format", getValueOrDefault(value.format, DEFAULTS$17.yaxis.format)],
138668
+ ["yaxis_primary_max", getValueOrDefault(value.max, DEFAULTS$17.yaxis.max, "number")],
138669
+ ["yaxis_primary_min", getValueOrDefault(value.min, DEFAULTS$17.yaxis.min, "number")],
138670
+ ["yaxis_primary_name_position", getValueOrDefault(value.name?.position, DEFAULTS$17.yaxis.name.position)],
138671
+ ["yaxis_primary_name_visible", getValueOrDefault(value.name?.visible, DEFAULTS$17.yaxis.name.visible, "bool")],
138672
+ ["yaxis_primary_rotation", getValueOrDefault(value.rotation, DEFAULTS$17.yaxis.rotation)],
138673
+ ["yaxis_primary_visible", getValueOrDefault(value.visible, DEFAULTS$17.yaxis.visible, "bool")],
138674
+ ["yaxis_primary_labels", getValueOrDefault(value.labelsEnabled, DEFAULTS$17.yaxis.labelsEnabled, "bool")]
138675
+ ];
138760
138676
  case "secondaryChartType": return [["yaxis_secondary_type", getValueOrDefault(value, DEFAULTS$17.secondaryChartType)]];
138761
- case "secondary_yaxis": {
138762
- const val = value;
138763
- return [
138764
- ["yaxis_secondary_format", getValueOrDefault(val.format, DEFAULTS$17.secondary_yaxis.format)],
138765
- ["yaxis_secondary_max", getValueOrDefault(val.max, DEFAULTS$17.secondary_yaxis.max, "number")],
138766
- ["yaxis_secondary_min", getValueOrDefault(val.min, DEFAULTS$17.secondary_yaxis.min, "number")],
138767
- ["yaxis_secondary_name_position", getValueOrDefault(val.name?.position, DEFAULTS$17.secondary_yaxis.name.position)],
138768
- ["yaxis_secondary_name_visible", getValueOrDefault(val.name?.visible, DEFAULTS$17.secondary_yaxis.name.visible, "bool")],
138769
- ["yaxis_secondary_rotation", getValueOrDefault(val.rotation, DEFAULTS$17.secondary_yaxis.rotation)],
138770
- ["yaxis_secondary_visible", getValueOrDefault(val.visible, DEFAULTS$17.secondary_yaxis.visible, "bool")],
138771
- ["yaxis_secondary_labels", getValueOrDefault(val.labelsEnabled, DEFAULTS$17.secondary_yaxis.labelsEnabled, "bool")]
138772
- ];
138773
- }
138677
+ case "secondary_yaxis": return [
138678
+ ["yaxis_secondary_format", getValueOrDefault(value.format, DEFAULTS$17.secondary_yaxis.format)],
138679
+ ["yaxis_secondary_max", getValueOrDefault(value.max, DEFAULTS$17.secondary_yaxis.max, "number")],
138680
+ ["yaxis_secondary_min", getValueOrDefault(value.min, DEFAULTS$17.secondary_yaxis.min, "number")],
138681
+ ["yaxis_secondary_name_position", getValueOrDefault(value.name?.position, DEFAULTS$17.secondary_yaxis.name.position)],
138682
+ ["yaxis_secondary_name_visible", getValueOrDefault(value.name?.visible, DEFAULTS$17.secondary_yaxis.name.visible, "bool")],
138683
+ ["yaxis_secondary_rotation", getValueOrDefault(value.rotation, DEFAULTS$17.secondary_yaxis.rotation)],
138684
+ ["yaxis_secondary_visible", getValueOrDefault(value.visible, DEFAULTS$17.secondary_yaxis.visible, "bool")],
138685
+ ["yaxis_secondary_labels", getValueOrDefault(value.labelsEnabled, DEFAULTS$17.secondary_yaxis.labelsEnabled, "bool")]
138686
+ ];
138774
138687
  case "dualAxis": return [["yaxis_secondary_show_on_right", getValueOrDefault(value, DEFAULTS$17.dualAxis, "bool")]];
138775
138688
  case "grid": return [["grid_enabled", getValueOrDefault(value.enabled, DEFAULTS$17.grid.enabled, "bool")]];
138776
138689
  case "disableDrillDown": return [["disable_drill_down", getValueOrDefault(value, DEFAULTS$17.disableDrillDown, "bool")]];
138777
- case "disableDrillIntoURL": return [["disable_drill_into_url", value === void 0 ? void 0 : !!value]];
138690
+ case "disableDrillIntoURL": return [["disable_drill_into_url", Boolean(value)]];
138778
138691
  case "disableAlerts": return [["disable_alerts", getValueOrDefault(value, DEFAULTS$17.disableAlerts, "bool")]];
138779
138692
  case "disableScheduledExports": return [["disable_scheduled_exports", getValueOrDefault(value, DEFAULTS$17.disableScheduledExports, "bool")]];
138780
138693
  case "disableKeyDriveAnalysisOn": return [["disable_key_drive_analysis", loadDisableKda(value)]];
@@ -138893,12 +138806,9 @@ function dependencyWheelChartLoad(props) {
138893
138806
  switch (key) {
138894
138807
  case "colorMapping": return [["colors", loadColorMapping(value)]];
138895
138808
  case "dataLabels": return [["data_labels", getValueOrDefault(value.visible, DEFAULTS$16.dataLabels.visible, "bool_auto")]];
138896
- case "legend": {
138897
- const val = value;
138898
- return [["legend_enabled", getValueOrDefault(val.enabled, DEFAULTS$16.legend.enabled, "bool")], ["legend_position", getValueOrDefault(val.position, DEFAULTS$16.legend.position)]];
138899
- }
138809
+ case "legend": return [["legend_enabled", getValueOrDefault(value.enabled, DEFAULTS$16.legend.enabled, "bool")], ["legend_position", getValueOrDefault(value.position, DEFAULTS$16.legend.position)]];
138900
138810
  case "disableDrillDown": return [["disable_drill_down", getValueOrDefault(value, DEFAULTS$16.disableDrillDown, "bool")]];
138901
- case "disableDrillIntoURL": return [["disable_drill_into_url", value === void 0 ? void 0 : !!value]];
138811
+ case "disableDrillIntoURL": return [["disable_drill_into_url", Boolean(value)]];
138902
138812
  case "disableAlerts": return [["disable_alerts", getValueOrDefault(value, DEFAULTS$16.disableAlerts, "bool")]];
138903
138813
  case "disableScheduledExports": return [["disable_scheduled_exports", getValueOrDefault(value, DEFAULTS$16.disableScheduledExports, "bool")]];
138904
138814
  case "disableKeyDriveAnalysisOn": return [["disable_key_drive_analysis", loadDisableKda(value)]];
@@ -138960,17 +138870,11 @@ function donutChartLoad(props) {
138960
138870
  return loadConfig(props, (key, value) => {
138961
138871
  switch (key) {
138962
138872
  case "colorMapping": return [["colors", loadColorMapping(value)]];
138963
- case "dataLabels": {
138964
- const val = value;
138965
- return [["data_labels", getValueOrDefault(val.visible, DEFAULTS$15.dataLabels.visible, "bool_auto")], ["data_labels_style", getValueOrDefault(val.style, DEFAULTS$15.dataLabels.style)]];
138966
- }
138873
+ case "dataLabels": return [["data_labels", getValueOrDefault(value.visible, DEFAULTS$15.dataLabels.visible, "bool_auto")], ["data_labels_style", getValueOrDefault(value.style, DEFAULTS$15.dataLabels.style)]];
138967
138874
  case "chartFill": return [["chart_fill", loadChartFill(value, DEFAULTS$15.chartFill)]];
138968
- case "legend": {
138969
- const val = value;
138970
- return [["legend_enabled", getValueOrDefault(val.enabled, DEFAULTS$15.legend.enabled, "bool")], ["legend_position", getValueOrDefault(val.position, DEFAULTS$15.legend.position)]];
138971
- }
138875
+ case "legend": return [["legend_enabled", getValueOrDefault(value.enabled, DEFAULTS$15.legend.enabled, "bool")], ["legend_position", getValueOrDefault(value.position, DEFAULTS$15.legend.position)]];
138972
138876
  case "disableDrillDown": return [["disable_drill_down", getValueOrDefault(value, DEFAULTS$15.disableDrillDown, "bool")]];
138973
- case "disableDrillIntoURL": return [["disable_drill_into_url", value === void 0 ? void 0 : !!value]];
138877
+ case "disableDrillIntoURL": return [["disable_drill_into_url", Boolean(value)]];
138974
138878
  case "disableAlerts": return [["disable_alerts", getValueOrDefault(value, DEFAULTS$15.disableAlerts, "bool")]];
138975
138879
  case "disableScheduledExports": return [["disable_scheduled_exports", getValueOrDefault(value, DEFAULTS$15.disableScheduledExports, "bool")]];
138976
138880
  case "disableKeyDriveAnalysisOn": return [["disable_key_drive_analysis", loadDisableKda(value)]];
@@ -139036,17 +138940,11 @@ function funnelChartLoad(props) {
139036
138940
  return loadConfig(props, (key, value) => {
139037
138941
  switch (key) {
139038
138942
  case "colorMapping": return [["colors", loadColorMapping(value)]];
139039
- case "dataLabels": {
139040
- const val = value;
139041
- return [["data_labels", getValueOrDefault(val.visible, DEFAULTS$14.dataLabels.visible, "bool_auto")], ["data_labels_style", getValueOrDefault(val.style, DEFAULTS$14.dataLabels.style)]];
139042
- }
138943
+ case "dataLabels": return [["data_labels", getValueOrDefault(value.visible, DEFAULTS$14.dataLabels.visible, "bool_auto")], ["data_labels_style", getValueOrDefault(value.style, DEFAULTS$14.dataLabels.style)]];
139043
138944
  case "chartFill": return [["chart_fill", loadChartFill(value, DEFAULTS$14.chartFill)]];
139044
- case "legend": {
139045
- const val = value;
139046
- return [["legend_enabled", getValueOrDefault(val.enabled, DEFAULTS$14.legend.enabled, "bool")], ["legend_position", getValueOrDefault(val.position, DEFAULTS$14.legend.position)]];
139047
- }
138945
+ case "legend": return [["legend_enabled", getValueOrDefault(value.enabled, DEFAULTS$14.legend.enabled, "bool")], ["legend_position", getValueOrDefault(value.position, DEFAULTS$14.legend.position)]];
139048
138946
  case "disableDrillDown": return [["disable_drill_down", getValueOrDefault(value, DEFAULTS$14.disableDrillDown, "bool")]];
139049
- case "disableDrillIntoURL": return [["disable_drill_into_url", value === void 0 ? void 0 : !!value]];
138947
+ case "disableDrillIntoURL": return [["disable_drill_into_url", Boolean(value)]];
139050
138948
  case "disableAlerts": return [["disable_alerts", getValueOrDefault(value, DEFAULTS$14.disableAlerts, "bool")]];
139051
138949
  case "disableScheduledExports": return [["disable_scheduled_exports", getValueOrDefault(value, DEFAULTS$14.disableScheduledExports, "bool")]];
139052
138950
  case "disableKeyDriveAnalysisOn": return [["disable_key_drive_analysis", loadDisableKda(value)]];
@@ -139159,34 +139057,22 @@ function geoAreaChartLoad(props) {
139159
139057
  return loadConfig(props.controls ? { controls: sanitizeControls$1(props.controls) } : props, (key, value) => {
139160
139058
  switch (key) {
139161
139059
  case "colorMapping": return [["colors", loadColorMapping(value)]];
139162
- case "legend": {
139163
- const val = value;
139164
- return [["legend_enabled", getValueOrDefault(val.enabled, DEFAULTS$13.legend.enabled, "bool")], ["legend_position", getValueOrDefault(val.position, DEFAULTS$13.legend.position)]];
139165
- }
139060
+ case "legend": return [["legend_enabled", getValueOrDefault(value.enabled, DEFAULTS$13.legend.enabled, "bool")], ["legend_position", getValueOrDefault(value.position, DEFAULTS$13.legend.position)]];
139166
139061
  case "tooltipText": return [["tooltip_text", getValueOrDefault(value, DEFAULTS$13.tooltipText)]];
139167
139062
  case "basemap": return [["basemap", getValueOrDefault(value, DEFAULTS$13.basemap)]];
139168
- case "viewport": {
139169
- const val = value;
139170
- return [
139171
- ["viewport", getValueOrDefault(val.area, DEFAULTS$13.viewport.area)],
139172
- ["viewport_pan", getValueOrDefault(val.navigation?.pan, DEFAULTS$13.viewport.navigation.pan, "bool")],
139173
- ["viewport_zoom", getValueOrDefault(val.navigation?.zoom, DEFAULTS$13.viewport.navigation.zoom, "bool")]
139174
- ];
139175
- }
139176
- case "center": {
139177
- const val = value;
139178
- return [["center_lat", getValueOrDefault(val.lat, DEFAULTS$13.center.lat, "number")], ["center_lng", getValueOrDefault(val.lng, DEFAULTS$13.center.lng, "number")]];
139179
- }
139063
+ case "viewport": return [
139064
+ ["viewport", getValueOrDefault(value.area, DEFAULTS$13.viewport.area)],
139065
+ ["viewport_pan", getValueOrDefault(value.navigation?.pan, DEFAULTS$13.viewport.navigation.pan, "bool")],
139066
+ ["viewport_zoom", getValueOrDefault(value.navigation?.zoom, DEFAULTS$13.viewport.navigation.zoom, "bool")]
139067
+ ];
139068
+ case "center": return [["center_lat", getValueOrDefault(value.lat, DEFAULTS$13.center.lat, "number")], ["center_lng", getValueOrDefault(value.lng, DEFAULTS$13.center.lng, "number")]];
139180
139069
  case "zoom": return [["zoom_level", getValueOrDefault(value, DEFAULTS$13.zoom, "number")]];
139181
- case "bounds": {
139182
- const val = value;
139183
- return [
139184
- ["viewport_bounds_ne_lat", getValueOrDefault(val.northEast?.lat, DEFAULTS$13.bounds.northEast.lat, "number")],
139185
- ["viewport_bounds_ne_lng", getValueOrDefault(val.northEast?.lng, DEFAULTS$13.bounds.northEast.lng, "number")],
139186
- ["viewport_bounds_sw_lat", getValueOrDefault(val.southWest?.lat, DEFAULTS$13.bounds.southWest.lat, "number")],
139187
- ["viewport_bounds_sw_lng", getValueOrDefault(val.southWest?.lng, DEFAULTS$13.bounds.southWest.lng, "number")]
139188
- ];
139189
- }
139070
+ case "bounds": return [
139071
+ ["viewport_bounds_ne_lat", getValueOrDefault(value.northEast?.lat, DEFAULTS$13.bounds.northEast.lat, "number")],
139072
+ ["viewport_bounds_ne_lng", getValueOrDefault(value.northEast?.lng, DEFAULTS$13.bounds.northEast.lng, "number")],
139073
+ ["viewport_bounds_sw_lat", getValueOrDefault(value.southWest?.lat, DEFAULTS$13.bounds.southWest.lat, "number")],
139074
+ ["viewport_bounds_sw_lng", getValueOrDefault(value.southWest?.lng, DEFAULTS$13.bounds.southWest.lng, "number")]
139075
+ ];
139190
139076
  case "disableAlerts": return [["disable_alerts", getValueOrDefault(value, DEFAULTS$13.disableAlerts, "bool")]];
139191
139077
  case "disableScheduledExports": return [["disable_scheduled_exports", getValueOrDefault(value, DEFAULTS$13.disableScheduledExports, "bool")]];
139192
139078
  case "disableKeyDriveAnalysisOn": return [["disable_key_drive_analysis", loadDisableKda(value)]];
@@ -139337,48 +139223,35 @@ function geoChartLoad(props) {
139337
139223
  return loadConfig(props.controls ? { controls: sanitizeControls(props.controls) } : props, (key, value) => {
139338
139224
  switch (key) {
139339
139225
  case "colorMapping": return [["colors", loadColorMapping(value)]];
139340
- case "legend": {
139341
- const val = value;
139342
- return [["legend_enabled", getValueOrDefault(val.enabled, DEFAULTS$12.legend.enabled, "bool")], ["legend_position", getValueOrDefault(val.position, DEFAULTS$12.legend.position)]];
139343
- }
139226
+ case "legend": return [["legend_enabled", getValueOrDefault(value.enabled, DEFAULTS$12.legend.enabled, "bool")], ["legend_position", getValueOrDefault(value.position, DEFAULTS$12.legend.position)]];
139344
139227
  case "tooltipText": return [["tooltip_text", getValueOrDefault(value, DEFAULTS$12.tooltipText)]];
139345
139228
  case "basemap": return [["basemap", getValueOrDefault(value, DEFAULTS$12.basemap)]];
139346
- case "viewport": {
139347
- const val = value;
139348
- return [
139349
- ["viewport", getValueOrDefault(val.area, DEFAULTS$12.viewport.area)],
139350
- ["viewport_pan", getValueOrDefault(val.navigation?.pan, DEFAULTS$12.viewport.navigation.pan, "bool")],
139351
- ["viewport_zoom", getValueOrDefault(val.navigation?.zoom, DEFAULTS$12.viewport.navigation.zoom, "bool")]
139352
- ];
139353
- }
139354
- case "center": {
139355
- const val = value;
139356
- return [["center_lat", getValueOrDefault(val.lat, DEFAULTS$12.center.lat, "number")], ["center_lng", getValueOrDefault(val.lng, DEFAULTS$12.center.lng, "number")]];
139357
- }
139229
+ case "viewport": return [
139230
+ ["viewport", getValueOrDefault(value.area, DEFAULTS$12.viewport.area)],
139231
+ ["viewport_pan", getValueOrDefault(value.navigation?.pan, DEFAULTS$12.viewport.navigation.pan, "bool")],
139232
+ ["viewport_zoom", getValueOrDefault(value.navigation?.zoom, DEFAULTS$12.viewport.navigation.zoom, "bool")]
139233
+ ];
139234
+ case "center": return [["center_lat", getValueOrDefault(value.lat, DEFAULTS$12.center.lat, "number")], ["center_lng", getValueOrDefault(value.lng, DEFAULTS$12.center.lng, "number")]];
139358
139235
  case "zoom": return [["zoom_level", getValueOrDefault(value, DEFAULTS$12.zoom, "number")]];
139359
- case "bounds": {
139360
- const val = value;
139361
- return [
139362
- ["viewport_bounds_ne_lat", getValueOrDefault(val.northEast?.lat, DEFAULTS$12.bounds.northEast.lat, "number")],
139363
- ["viewport_bounds_ne_lng", getValueOrDefault(val.northEast?.lng, DEFAULTS$12.bounds.northEast.lng, "number")],
139364
- ["viewport_bounds_sw_lat", getValueOrDefault(val.southWest?.lat, DEFAULTS$12.bounds.southWest.lat, "number")],
139365
- ["viewport_bounds_sw_lng", getValueOrDefault(val.southWest?.lng, DEFAULTS$12.bounds.southWest.lng, "number")]
139366
- ];
139367
- }
139368
- case "points": {
139369
- const val = value;
139370
- return [
139371
- ["group_nearby_points", getValueOrDefault(val.groupNearbyPoints, DEFAULTS$12.points.groupNearbyPoints, "bool")],
139372
- ["min_size", getValueOrDefault(val.minSize, DEFAULTS$12.points.minSize)],
139373
- ["max_size", getValueOrDefault(val.maxSize, DEFAULTS$12.points.maxSize)],
139374
- ["shape_type", getValueOrDefault(val.shapeType, DEFAULTS$12.points.shapeType)],
139375
- ["icon", getValueOrDefault(val.icon, DEFAULTS$12.points.icon)]
139376
- ];
139377
- }
139236
+ case "bounds": return [
139237
+ ["viewport_bounds_ne_lat", getValueOrDefault(value.northEast?.lat, DEFAULTS$12.bounds.northEast.lat, "number")],
139238
+ ["viewport_bounds_ne_lng", getValueOrDefault(value.northEast?.lng, DEFAULTS$12.bounds.northEast.lng, "number")],
139239
+ ["viewport_bounds_sw_lat", getValueOrDefault(value.southWest?.lat, DEFAULTS$12.bounds.southWest.lat, "number")],
139240
+ ["viewport_bounds_sw_lng", getValueOrDefault(value.southWest?.lng, DEFAULTS$12.bounds.southWest.lng, "number")]
139241
+ ];
139242
+ case "points": return [
139243
+ ["group_nearby_points", getValueOrDefault(value.groupNearbyPoints, DEFAULTS$12.points.groupNearbyPoints, "bool")],
139244
+ ["min_size", getValueOrDefault(value.minSize, DEFAULTS$12.points.minSize)],
139245
+ ["max_size", getValueOrDefault(value.maxSize, DEFAULTS$12.points.maxSize)],
139246
+ ["shape_type", getValueOrDefault(value.shapeType, DEFAULTS$12.points.shapeType)],
139247
+ ["icon", getValueOrDefault(value.icon, DEFAULTS$12.points.icon)]
139248
+ ];
139378
139249
  case "disableAlerts": return [["disable_alerts", getValueOrDefault(value, DEFAULTS$12.disableAlerts, "bool")]];
139379
139250
  case "disableScheduledExports": return [["disable_scheduled_exports", getValueOrDefault(value, DEFAULTS$12.disableScheduledExports, "bool")]];
139380
139251
  case "disableKeyDriveAnalysisOn": return [["disable_key_drive_analysis", loadDisableKda(value)]];
139381
139252
  case "customTooltip": return [["custom_tooltip", loadCustomTooltip(value)]];
139253
+ case "latitude":
139254
+ case "longitude": return [];
139382
139255
  default: return [];
139383
139256
  }
139384
139257
  });
@@ -139489,25 +139362,22 @@ const DEFAULTS$11 = {
139489
139362
  function headlineChartLoad(props) {
139490
139363
  return loadConfig(props, (key, value) => {
139491
139364
  switch (key) {
139492
- case "comparison": {
139493
- const val = value;
139494
- return [
139495
- ["comparison_enabled", getValueOrDefault(val.enabled, DEFAULTS$11.comparison.enabled, "bool")],
139496
- ["comparison_type", getValueOrDefault(val.calculationType, DEFAULTS$11.comparison.calculationType)],
139497
- ["format", getValueOrDefault(val.format, DEFAULTS$11.comparison.format)],
139498
- ["position", getValueOrDefault(val.position, DEFAULTS$11.comparison.position)],
139499
- ["indicator_arrow", getValueOrDefault(val.isArrowEnabled, DEFAULTS$11.comparison.isArrowEnabled, "bool")],
139500
- ["indicator_colors", val.colorConfig?.disabled === void 0 ? void 0 : !val.colorConfig.disabled],
139501
- ["indicator_color_equals", loadColor("equals", val.colorConfig?.equals, "enum")?.value],
139502
- ["indicator_color_negative", loadColor("negative", val.colorConfig?.negative, "enum")?.value],
139503
- ["indicator_color_positive", loadColor("positive", val.colorConfig?.positive, "enum")?.value],
139504
- ["label_default", getValueOrDefault(val.labelConfig?.unconditionalValue, DEFAULTS$11.comparison.labelConfig.unconditionalValue)],
139505
- ["label_conditional", getValueOrDefault(val.labelConfig?.isConditional, DEFAULTS$11.comparison.labelConfig.isConditional, "bool")],
139506
- ["label_equals", getValueOrDefault(val.labelConfig?.equals, DEFAULTS$11.comparison.labelConfig.equals)],
139507
- ["label_negative", getValueOrDefault(val.labelConfig?.negative, DEFAULTS$11.comparison.labelConfig.negative)],
139508
- ["label_positive", getValueOrDefault(val.labelConfig?.positive, DEFAULTS$11.comparison.labelConfig.positive)]
139509
- ];
139510
- }
139365
+ case "comparison": return [
139366
+ ["comparison_enabled", getValueOrDefault(value.enabled, DEFAULTS$11.comparison.enabled, "bool")],
139367
+ ["comparison_type", getValueOrDefault(value.calculationType, DEFAULTS$11.comparison.calculationType)],
139368
+ ["format", getValueOrDefault(value.format, DEFAULTS$11.comparison.format)],
139369
+ ["position", getValueOrDefault(value.position, DEFAULTS$11.comparison.position)],
139370
+ ["indicator_arrow", getValueOrDefault(value.isArrowEnabled, DEFAULTS$11.comparison.isArrowEnabled, "bool")],
139371
+ ["indicator_colors", value.colorConfig?.disabled === void 0 ? void 0 : !value.colorConfig.disabled],
139372
+ ["indicator_color_equals", loadColor("equals", value.colorConfig?.equals, "enum")?.value],
139373
+ ["indicator_color_negative", loadColor("negative", value.colorConfig?.negative, "enum")?.value],
139374
+ ["indicator_color_positive", loadColor("positive", value.colorConfig?.positive, "enum")?.value],
139375
+ ["label_default", getValueOrDefault(value.labelConfig?.unconditionalValue, DEFAULTS$11.comparison.labelConfig.unconditionalValue)],
139376
+ ["label_conditional", getValueOrDefault(value.labelConfig?.isConditional, DEFAULTS$11.comparison.labelConfig.isConditional, "bool")],
139377
+ ["label_equals", getValueOrDefault(value.labelConfig?.equals, DEFAULTS$11.comparison.labelConfig.equals)],
139378
+ ["label_negative", getValueOrDefault(value.labelConfig?.negative, DEFAULTS$11.comparison.labelConfig.negative)],
139379
+ ["label_positive", getValueOrDefault(value.labelConfig?.positive, DEFAULTS$11.comparison.labelConfig.positive)]
139380
+ ];
139511
139381
  case "disableAlerts": return [["disable_alerts", getValueOrDefault(value, DEFAULTS$11.disableAlerts, "bool")]];
139512
139382
  case "disableScheduledExports": return [["disable_scheduled_exports", getValueOrDefault(value, DEFAULTS$11.disableScheduledExports, "bool")]];
139513
139383
  case "disableKeyDriveAnalysisOn": return [["disable_key_drive_analysis", loadDisableKda(value)]];
@@ -139595,36 +139465,24 @@ function heatmapChartLoad(props) {
139595
139465
  return loadConfig(props, (key, value) => {
139596
139466
  switch (key) {
139597
139467
  case "colorMapping": return [["colors", loadColorMapping(value)]];
139598
- case "dataLabels": {
139599
- const val = value;
139600
- return [["data_labels", getValueOrDefault(val.visible, DEFAULTS$10.dataLabels.visible, "bool_auto")], ["data_labels_style", getValueOrDefault(val.style, DEFAULTS$10.dataLabels.style)]];
139601
- }
139602
- case "legend": {
139603
- const val = value;
139604
- return [["legend_enabled", getValueOrDefault(val.enabled, DEFAULTS$10.legend.enabled, "bool")], ["legend_position", getValueOrDefault(val.position, DEFAULTS$10.legend.position)]];
139605
- }
139606
- case "xaxis": {
139607
- const val = value;
139608
- return [
139609
- ["xaxis_name_position", getValueOrDefault(val.name?.position, DEFAULTS$10.xaxis.name.position)],
139610
- ["xaxis_name_visible", getValueOrDefault(val.name?.visible, DEFAULTS$10.xaxis.name.visible, "bool")],
139611
- ["xaxis_rotation", getValueOrDefault(val.rotation, DEFAULTS$10.xaxis.rotation)],
139612
- ["xaxis_visible", getValueOrDefault(val.visible, DEFAULTS$10.xaxis.visible, "bool")],
139613
- ["xaxis_labels", getValueOrDefault(val.labelsEnabled, DEFAULTS$10.xaxis.labelsEnabled, "bool")]
139614
- ];
139615
- }
139616
- case "yaxis": {
139617
- const val = value;
139618
- return [
139619
- ["yaxis_name_position", getValueOrDefault(val.name?.position, DEFAULTS$10.yaxis.name.position)],
139620
- ["yaxis_name_visible", getValueOrDefault(val.name?.visible, DEFAULTS$10.yaxis.name.visible, "bool")],
139621
- ["yaxis_labels", getValueOrDefault(val.labelsEnabled, DEFAULTS$10.yaxis.labelsEnabled, "bool")],
139622
- ["yaxis_rotation", getValueOrDefault(val.rotation, DEFAULTS$10.yaxis.rotation)],
139623
- ["yaxis_visible", getValueOrDefault(val.visible, DEFAULTS$10.yaxis.visible, "bool")]
139624
- ];
139625
- }
139468
+ case "dataLabels": return [["data_labels", getValueOrDefault(value.visible, DEFAULTS$10.dataLabels.visible, "bool_auto")], ["data_labels_style", getValueOrDefault(value.style, DEFAULTS$10.dataLabels.style)]];
139469
+ case "legend": return [["legend_enabled", getValueOrDefault(value.enabled, DEFAULTS$10.legend.enabled, "bool")], ["legend_position", getValueOrDefault(value.position, DEFAULTS$10.legend.position)]];
139470
+ case "xaxis": return [
139471
+ ["xaxis_name_position", getValueOrDefault(value.name?.position, DEFAULTS$10.xaxis.name.position)],
139472
+ ["xaxis_name_visible", getValueOrDefault(value.name?.visible, DEFAULTS$10.xaxis.name.visible, "bool")],
139473
+ ["xaxis_rotation", getValueOrDefault(value.rotation, DEFAULTS$10.xaxis.rotation)],
139474
+ ["xaxis_visible", getValueOrDefault(value.visible, DEFAULTS$10.xaxis.visible, "bool")],
139475
+ ["xaxis_labels", getValueOrDefault(value.labelsEnabled, DEFAULTS$10.xaxis.labelsEnabled, "bool")]
139476
+ ];
139477
+ case "yaxis": return [
139478
+ ["yaxis_name_position", getValueOrDefault(value.name?.position, DEFAULTS$10.yaxis.name.position)],
139479
+ ["yaxis_name_visible", getValueOrDefault(value.name?.visible, DEFAULTS$10.yaxis.name.visible, "bool")],
139480
+ ["yaxis_labels", getValueOrDefault(value.labelsEnabled, DEFAULTS$10.yaxis.labelsEnabled, "bool")],
139481
+ ["yaxis_rotation", getValueOrDefault(value.rotation, DEFAULTS$10.yaxis.rotation)],
139482
+ ["yaxis_visible", getValueOrDefault(value.visible, DEFAULTS$10.yaxis.visible, "bool")]
139483
+ ];
139626
139484
  case "disableDrillDown": return [["disable_drill_down", getValueOrDefault(value, DEFAULTS$10.disableDrillDown, "bool")]];
139627
- case "disableDrillIntoURL": return [["disable_drill_into_url", value === void 0 ? void 0 : !!value]];
139485
+ case "disableDrillIntoURL": return [["disable_drill_into_url", Boolean(value)]];
139628
139486
  case "disableAlerts": return [["disable_alerts", getValueOrDefault(value, DEFAULTS$10.disableAlerts, "bool")]];
139629
139487
  case "disableScheduledExports": return [["disable_scheduled_exports", getValueOrDefault(value, DEFAULTS$10.disableScheduledExports, "bool")]];
139630
139488
  case "disableKeyDriveAnalysisOn": return [["disable_key_drive_analysis", loadDisableKda(value)]];
@@ -139747,66 +139605,45 @@ function lineChartLoad(props) {
139747
139605
  switch (key) {
139748
139606
  case "colorMapping": return [["colors", loadColorMapping(value)]];
139749
139607
  case "continuousLine": return [["continuous_line", getValueOrDefault(value.enabled, DEFAULTS$9.continuousLine.enabled, "bool")]];
139750
- case "distinctPointShapes": {
139751
- const val = value;
139752
- return [["distinct_point_shapes", {
139753
- enabled: getValueOrDefault(val.enabled, DEFAULTS$9.distinctPointShapes.enabled, "bool"),
139754
- point_shape_mapping: val.pointShapeMapping ?? DEFAULTS$9.distinctPointShapes.pointShapeMapping
139755
- }]];
139756
- }
139757
- case "dataLabels": {
139758
- const val = value;
139759
- return [["data_labels", getValueOrDefault(val.visible, DEFAULTS$9.dataLabels.visible, "bool_auto")], ["data_labels_style", getValueOrDefault(val.style, DEFAULTS$9.dataLabels.style)]];
139760
- }
139608
+ case "distinctPointShapes": return [["distinct_point_shapes", {
139609
+ enabled: getValueOrDefault(value.enabled, DEFAULTS$9.distinctPointShapes.enabled, "bool"),
139610
+ point_shape_mapping: value.pointShapeMapping ?? DEFAULTS$9.distinctPointShapes.pointShapeMapping
139611
+ }]];
139612
+ case "dataLabels": return [["data_labels", getValueOrDefault(value.visible, DEFAULTS$9.dataLabels.visible, "bool_auto")], ["data_labels_style", getValueOrDefault(value.style, DEFAULTS$9.dataLabels.style)]];
139761
139613
  case "dataPoints": return [["data_points", getValueOrDefault(value.visible, DEFAULTS$9.dataPoints.visible, "bool_auto")]];
139762
- case "legend": {
139763
- const val = value;
139764
- return [["legend_enabled", getValueOrDefault(val.enabled, DEFAULTS$9.legend.enabled, "bool")], ["legend_position", getValueOrDefault(val.position, DEFAULTS$9.legend.position)]];
139765
- }
139766
- case "xaxis": {
139767
- const val = value;
139768
- return [
139769
- ["xaxis_name_position", getValueOrDefault(val.name?.position, DEFAULTS$9.xaxis.name.position)],
139770
- ["xaxis_name_visible", getValueOrDefault(val.name?.visible, DEFAULTS$9.xaxis.name.visible, "bool")],
139771
- ["xaxis_rotation", getValueOrDefault(val.rotation, DEFAULTS$9.xaxis.rotation)],
139772
- ["xaxis_visible", getValueOrDefault(val.visible, DEFAULTS$9.xaxis.visible, "bool")],
139773
- ["xaxis_labels", getValueOrDefault(val.labelsEnabled, DEFAULTS$9.xaxis.labelsEnabled, "bool")]
139774
- ];
139775
- }
139776
- case "yaxis": {
139777
- const val = value;
139778
- return [
139779
- ["yaxis_format", getValueOrDefault(val.format, DEFAULTS$9.yaxis.format)],
139780
- ["yaxis_max", getValueOrDefault(val.max, DEFAULTS$9.yaxis.max, "number")],
139781
- ["yaxis_min", getValueOrDefault(val.min, DEFAULTS$9.yaxis.min, "number")],
139782
- ["yaxis_name_position", getValueOrDefault(val.name?.position, DEFAULTS$9.yaxis.name.position)],
139783
- ["yaxis_name_visible", getValueOrDefault(val.name?.visible, DEFAULTS$9.yaxis.name.visible, "bool")],
139784
- ["yaxis_rotation", getValueOrDefault(val.rotation, DEFAULTS$9.yaxis.rotation)],
139785
- ["yaxis_visible", getValueOrDefault(val.visible, DEFAULTS$9.yaxis.visible, "bool")],
139786
- ["yaxis_labels", getValueOrDefault(val.labelsEnabled, DEFAULTS$9.yaxis.labelsEnabled, "bool")]
139787
- ];
139788
- }
139614
+ case "legend": return [["legend_enabled", getValueOrDefault(value.enabled, DEFAULTS$9.legend.enabled, "bool")], ["legend_position", getValueOrDefault(value.position, DEFAULTS$9.legend.position)]];
139615
+ case "xaxis": return [
139616
+ ["xaxis_name_position", getValueOrDefault(value.name?.position, DEFAULTS$9.xaxis.name.position)],
139617
+ ["xaxis_name_visible", getValueOrDefault(value.name?.visible, DEFAULTS$9.xaxis.name.visible, "bool")],
139618
+ ["xaxis_rotation", getValueOrDefault(value.rotation, DEFAULTS$9.xaxis.rotation)],
139619
+ ["xaxis_visible", getValueOrDefault(value.visible, DEFAULTS$9.xaxis.visible, "bool")],
139620
+ ["xaxis_labels", getValueOrDefault(value.labelsEnabled, DEFAULTS$9.xaxis.labelsEnabled, "bool")]
139621
+ ];
139622
+ case "yaxis": return [
139623
+ ["yaxis_format", getValueOrDefault(value.format, DEFAULTS$9.yaxis.format)],
139624
+ ["yaxis_max", getValueOrDefault(value.max, DEFAULTS$9.yaxis.max, "number")],
139625
+ ["yaxis_min", getValueOrDefault(value.min, DEFAULTS$9.yaxis.min, "number")],
139626
+ ["yaxis_name_position", getValueOrDefault(value.name?.position, DEFAULTS$9.yaxis.name.position)],
139627
+ ["yaxis_name_visible", getValueOrDefault(value.name?.visible, DEFAULTS$9.yaxis.name.visible, "bool")],
139628
+ ["yaxis_rotation", getValueOrDefault(value.rotation, DEFAULTS$9.yaxis.rotation)],
139629
+ ["yaxis_visible", getValueOrDefault(value.visible, DEFAULTS$9.yaxis.visible, "bool")],
139630
+ ["yaxis_labels", getValueOrDefault(value.labelsEnabled, DEFAULTS$9.yaxis.labelsEnabled, "bool")]
139631
+ ];
139789
139632
  case "grid": return [["grid_enabled", getValueOrDefault(value.enabled, DEFAULTS$9.grid.enabled, "bool")]];
139790
- case "forecast": {
139791
- const val = value;
139792
- return [
139793
- ["forecast_enabled", getValueOrDefault(val.enabled, DEFAULTS$9.forecast.enabled, "bool")],
139794
- ["forecast_confidence", getValueOrDefault(val.confidence, DEFAULTS$9.forecast.confidence, "number")],
139795
- ["forecast_period", getValueOrDefault(val.period, DEFAULTS$9.forecast.period, "number")],
139796
- ["forecast_seasonal", getValueOrDefault(val.seasonal, DEFAULTS$9.forecast.seasonal, "bool")]
139797
- ];
139798
- }
139799
- case "anomalies": {
139800
- const val = value;
139801
- return [
139802
- ["anomaly_detection_enabled", getValueOrDefault(val.enabled, DEFAULTS$9.anomalies.enabled, "bool")],
139803
- ["anomaly_detection_sensitivity", getValueOrDefault(val.sensitivity, DEFAULTS$9.anomalies.sensitivity)],
139804
- ["anomaly_detection_size", getValueOrDefault(val.size, DEFAULTS$9.anomalies.size)],
139805
- ["anomaly_detection_color", getValueOrDefault(val.color, DEFAULTS$9.anomalies.color)]
139806
- ];
139807
- }
139633
+ case "forecast": return [
139634
+ ["forecast_enabled", getValueOrDefault(value.enabled, DEFAULTS$9.forecast.enabled, "bool")],
139635
+ ["forecast_confidence", getValueOrDefault(value.confidence, DEFAULTS$9.forecast.confidence, "number")],
139636
+ ["forecast_period", getValueOrDefault(value.period, DEFAULTS$9.forecast.period, "number")],
139637
+ ["forecast_seasonal", getValueOrDefault(value.seasonal, DEFAULTS$9.forecast.seasonal, "bool")]
139638
+ ];
139639
+ case "anomalies": return [
139640
+ ["anomaly_detection_enabled", getValueOrDefault(value.enabled, DEFAULTS$9.anomalies.enabled, "bool")],
139641
+ ["anomaly_detection_sensitivity", getValueOrDefault(value.sensitivity, DEFAULTS$9.anomalies.sensitivity)],
139642
+ ["anomaly_detection_size", getValueOrDefault(value.size, DEFAULTS$9.anomalies.size)],
139643
+ ["anomaly_detection_color", getValueOrDefault(value.color, DEFAULTS$9.anomalies.color)]
139644
+ ];
139808
139645
  case "disableDrillDown": return [["disable_drill_down", getValueOrDefault(value, DEFAULTS$9.disableDrillDown, "bool")]];
139809
- case "disableDrillIntoURL": return [["disable_drill_into_url", value === void 0 ? void 0 : !!value]];
139646
+ case "disableDrillIntoURL": return [["disable_drill_into_url", Boolean(value)]];
139810
139647
  case "disableAlerts": return [["disable_alerts", getValueOrDefault(value, DEFAULTS$9.disableAlerts, "bool")]];
139811
139648
  case "disableScheduledExports": return [["disable_scheduled_exports", getValueOrDefault(value, DEFAULTS$9.disableScheduledExports, "bool")]];
139812
139649
  case "disableKeyDriveAnalysisOn": return [["disable_key_drive_analysis", loadDisableKda(value)]];
@@ -139917,17 +139754,11 @@ function pieChartLoad(props) {
139917
139754
  return loadConfig(props, (key, value) => {
139918
139755
  switch (key) {
139919
139756
  case "colorMapping": return [["colors", loadColorMapping(value)]];
139920
- case "dataLabels": {
139921
- const val = value;
139922
- return [["data_labels", getValueOrDefault(val.visible, DEFAULTS$8.dataLabels.visible, "bool_auto")], ["data_labels_style", getValueOrDefault(val.style, DEFAULTS$8.dataLabels.style)]];
139923
- }
139757
+ case "dataLabels": return [["data_labels", getValueOrDefault(value.visible, DEFAULTS$8.dataLabels.visible, "bool_auto")], ["data_labels_style", getValueOrDefault(value.style, DEFAULTS$8.dataLabels.style)]];
139924
139758
  case "chartFill": return [["chart_fill", loadChartFill(value, DEFAULTS$8.chartFill)]];
139925
- case "legend": {
139926
- const val = value;
139927
- return [["legend_enabled", getValueOrDefault(val.enabled, DEFAULTS$8.legend.enabled, "bool")], ["legend_position", getValueOrDefault(val.position, DEFAULTS$8.legend.position)]];
139928
- }
139759
+ case "legend": return [["legend_enabled", getValueOrDefault(value.enabled, DEFAULTS$8.legend.enabled, "bool")], ["legend_position", getValueOrDefault(value.position, DEFAULTS$8.legend.position)]];
139929
139760
  case "disableDrillDown": return [["disable_drill_down", getValueOrDefault(value, DEFAULTS$8.disableDrillDown, "bool")]];
139930
- case "disableDrillIntoURL": return [["disable_drill_into_url", value === void 0 ? void 0 : !!value]];
139761
+ case "disableDrillIntoURL": return [["disable_drill_into_url", Boolean(value)]];
139931
139762
  case "disableAlerts": return [["disable_alerts", getValueOrDefault(value, DEFAULTS$8.disableAlerts, "bool")]];
139932
139763
  case "disableScheduledExports": return [["disable_scheduled_exports", getValueOrDefault(value, DEFAULTS$8.disableScheduledExports, "bool")]];
139933
139764
  case "disableKeyDriveAnalysisOn": return [["disable_key_drive_analysis", loadDisableKda(value)]];
@@ -139993,17 +139824,11 @@ function pyramidChartLoad(props) {
139993
139824
  return loadConfig(props, (key, value) => {
139994
139825
  switch (key) {
139995
139826
  case "colorMapping": return [["colors", loadColorMapping(value)]];
139996
- case "dataLabels": {
139997
- const val = value;
139998
- return [["data_labels", getValueOrDefault(val.visible, DEFAULTS$7.dataLabels.visible, "bool_auto")], ["data_labels_style", getValueOrDefault(val.style, DEFAULTS$7.dataLabels.style)]];
139999
- }
139827
+ case "dataLabels": return [["data_labels", getValueOrDefault(value.visible, DEFAULTS$7.dataLabels.visible, "bool_auto")], ["data_labels_style", getValueOrDefault(value.style, DEFAULTS$7.dataLabels.style)]];
140000
139828
  case "chartFill": return [["chart_fill", loadChartFill(value, DEFAULTS$7.chartFill)]];
140001
- case "legend": {
140002
- const val = value;
140003
- return [["legend_enabled", getValueOrDefault(val.enabled, DEFAULTS$7.legend.enabled, "bool")], ["legend_position", getValueOrDefault(val.position, DEFAULTS$7.legend.position)]];
140004
- }
139829
+ case "legend": return [["legend_enabled", getValueOrDefault(value.enabled, DEFAULTS$7.legend.enabled, "bool")], ["legend_position", getValueOrDefault(value.position, DEFAULTS$7.legend.position)]];
140005
139830
  case "disableDrillDown": return [["disable_drill_down", getValueOrDefault(value, DEFAULTS$7.disableDrillDown, "bool")]];
140006
- case "disableDrillIntoURL": return [["disable_drill_into_url", value === void 0 ? void 0 : !!value]];
139831
+ case "disableDrillIntoURL": return [["disable_drill_into_url", Boolean(value)]];
140007
139832
  case "disableAlerts": return [["disable_alerts", getValueOrDefault(value, DEFAULTS$7.disableAlerts, "bool")]];
140008
139833
  case "disableScheduledExports": return [["disable_scheduled_exports", getValueOrDefault(value, DEFAULTS$7.disableScheduledExports, "bool")]];
140009
139834
  case "disableKeyDriveAnalysisOn": return [["disable_key_drive_analysis", loadDisableKda(value)]];
@@ -140102,59 +139927,41 @@ function radarChartLoad(props) {
140102
139927
  switch (key) {
140103
139928
  case "colorMapping": return [["colors", loadColorMapping(value)]];
140104
139929
  case "continuousLine": return [["continuous_line", getValueOrDefault(value.enabled, DEFAULTS$6.continuousLine.enabled, "bool")]];
140105
- case "distinctPointShapes": {
140106
- const val = value;
140107
- return [["distinct_point_shapes", {
140108
- enabled: getValueOrDefault(val.enabled, DEFAULTS$6.distinctPointShapes.enabled, "bool"),
140109
- point_shape_mapping: val.pointShapeMapping ?? DEFAULTS$6.distinctPointShapes.pointShapeMapping
140110
- }]];
140111
- }
139930
+ case "distinctPointShapes": return [["distinct_point_shapes", {
139931
+ enabled: getValueOrDefault(value.enabled, DEFAULTS$6.distinctPointShapes.enabled, "bool"),
139932
+ point_shape_mapping: value.pointShapeMapping ?? DEFAULTS$6.distinctPointShapes.pointShapeMapping
139933
+ }]];
140112
139934
  case "chartFill": return [["chart_fill", loadChartFill(value, DEFAULTS$6.chartFill)]];
140113
139935
  case "radarRenderAs": return [["render_as", getValueOrDefault(value, DEFAULTS$6.radarRenderAs)]];
140114
139936
  case "radarGridLineShape": return [["grid_line_shape", getValueOrDefault(value, DEFAULTS$6.radarGridLineShape)]];
140115
- case "dataLabels": {
140116
- const val = value;
140117
- return [["data_labels", getValueOrDefault(val.visible, DEFAULTS$6.dataLabels.visible, "bool_auto")], ["data_labels_style", getValueOrDefault(val.style, DEFAULTS$6.dataLabels.style)]];
140118
- }
139937
+ case "dataLabels": return [["data_labels", getValueOrDefault(value.visible, DEFAULTS$6.dataLabels.visible, "bool_auto")], ["data_labels_style", getValueOrDefault(value.style, DEFAULTS$6.dataLabels.style)]];
140119
139938
  case "dataPoints": return [["data_points", getValueOrDefault(value.visible, DEFAULTS$6.dataPoints.visible, "bool_auto")]];
140120
- case "legend": {
140121
- const val = value;
140122
- return [["legend_enabled", getValueOrDefault(val.enabled, DEFAULTS$6.legend.enabled, "bool")], ["legend_position", getValueOrDefault(val.position, DEFAULTS$6.legend.position)]];
140123
- }
140124
- case "xaxis": {
140125
- const val = value;
140126
- return [
140127
- ["xaxis_name_position", getValueOrDefault(val.name?.position, DEFAULTS$6.xaxis.name.position)],
140128
- ["xaxis_name_visible", getValueOrDefault(val.name?.visible, DEFAULTS$6.xaxis.name.visible, "bool")],
140129
- ["xaxis_rotation", getValueOrDefault(val.rotation, DEFAULTS$6.xaxis.rotation)],
140130
- ["xaxis_visible", getValueOrDefault(val.visible, DEFAULTS$6.xaxis.visible, "bool")],
140131
- ["xaxis_labels", getValueOrDefault(val.labelsEnabled, DEFAULTS$6.xaxis.labelsEnabled, "bool")]
140132
- ];
140133
- }
140134
- case "yaxis": {
140135
- const val = value;
140136
- return [
140137
- ["yaxis_max", getValueOrDefault(val.max, DEFAULTS$6.yaxis.max, "number")],
140138
- ["yaxis_min", getValueOrDefault(val.min, DEFAULTS$6.yaxis.min, "number")],
140139
- ["yaxis_name_position", getValueOrDefault(val.name?.position, DEFAULTS$6.yaxis.name.position)],
140140
- ["yaxis_name_visible", getValueOrDefault(val.name?.visible, DEFAULTS$6.yaxis.name.visible, "bool")],
140141
- ["yaxis_rotation", getValueOrDefault(val.rotation, DEFAULTS$6.yaxis.rotation)],
140142
- ["yaxis_visible", getValueOrDefault(val.visible, DEFAULTS$6.yaxis.visible, "bool")],
140143
- ["yaxis_labels", getValueOrDefault(val.labelsEnabled, DEFAULTS$6.yaxis.labelsEnabled, "bool")]
140144
- ];
140145
- }
139939
+ case "legend": return [["legend_enabled", getValueOrDefault(value.enabled, DEFAULTS$6.legend.enabled, "bool")], ["legend_position", getValueOrDefault(value.position, DEFAULTS$6.legend.position)]];
139940
+ case "xaxis": return [
139941
+ ["xaxis_name_position", getValueOrDefault(value.name?.position, DEFAULTS$6.xaxis.name.position)],
139942
+ ["xaxis_name_visible", getValueOrDefault(value.name?.visible, DEFAULTS$6.xaxis.name.visible, "bool")],
139943
+ ["xaxis_rotation", getValueOrDefault(value.rotation, DEFAULTS$6.xaxis.rotation)],
139944
+ ["xaxis_visible", getValueOrDefault(value.visible, DEFAULTS$6.xaxis.visible, "bool")],
139945
+ ["xaxis_labels", getValueOrDefault(value.labelsEnabled, DEFAULTS$6.xaxis.labelsEnabled, "bool")]
139946
+ ];
139947
+ case "yaxis": return [
139948
+ ["yaxis_max", getValueOrDefault(value.max, DEFAULTS$6.yaxis.max, "number")],
139949
+ ["yaxis_min", getValueOrDefault(value.min, DEFAULTS$6.yaxis.min, "number")],
139950
+ ["yaxis_name_position", getValueOrDefault(value.name?.position, DEFAULTS$6.yaxis.name.position)],
139951
+ ["yaxis_name_visible", getValueOrDefault(value.name?.visible, DEFAULTS$6.yaxis.name.visible, "bool")],
139952
+ ["yaxis_rotation", getValueOrDefault(value.rotation, DEFAULTS$6.yaxis.rotation)],
139953
+ ["yaxis_visible", getValueOrDefault(value.visible, DEFAULTS$6.yaxis.visible, "bool")],
139954
+ ["yaxis_labels", getValueOrDefault(value.labelsEnabled, DEFAULTS$6.yaxis.labelsEnabled, "bool")]
139955
+ ];
140146
139956
  case "grid": return [["grid_enabled", getValueOrDefault(value.enabled, DEFAULTS$6.grid.enabled, "bool")]];
140147
- case "anomalies": {
140148
- const val = value;
140149
- return [
140150
- ["anomaly_detection_enabled", getValueOrDefault(val.enabled, DEFAULTS$6.anomalies.enabled, "bool")],
140151
- ["anomaly_detection_sensitivity", getValueOrDefault(val.sensitivity, DEFAULTS$6.anomalies.sensitivity)],
140152
- ["anomaly_detection_size", getValueOrDefault(val.size, DEFAULTS$6.anomalies.size)],
140153
- ["anomaly_detection_color", getValueOrDefault(val.color, DEFAULTS$6.anomalies.color)]
140154
- ];
140155
- }
139957
+ case "anomalies": return [
139958
+ ["anomaly_detection_enabled", getValueOrDefault(value.enabled, DEFAULTS$6.anomalies.enabled, "bool")],
139959
+ ["anomaly_detection_sensitivity", getValueOrDefault(value.sensitivity, DEFAULTS$6.anomalies.sensitivity)],
139960
+ ["anomaly_detection_size", getValueOrDefault(value.size, DEFAULTS$6.anomalies.size)],
139961
+ ["anomaly_detection_color", getValueOrDefault(value.color, DEFAULTS$6.anomalies.color)]
139962
+ ];
140156
139963
  case "disableDrillDown": return [["disable_drill_down", getValueOrDefault(value, DEFAULTS$6.disableDrillDown, "bool")]];
140157
- case "disableDrillIntoURL": return [["disable_drill_into_url", value === void 0 ? void 0 : !!value]];
139964
+ case "disableDrillIntoURL": return [["disable_drill_into_url", Boolean(value)]];
140158
139965
  case "disableAlerts": return [["disable_alerts", getValueOrDefault(value, DEFAULTS$6.disableAlerts, "bool")]];
140159
139966
  case "disableScheduledExports": return [["disable_scheduled_exports", getValueOrDefault(value, DEFAULTS$6.disableScheduledExports, "bool")]];
140160
139967
  case "disableKeyDriveAnalysisOn": return [["disable_key_drive_analysis", loadDisableKda(value)]];
@@ -140318,16 +140125,10 @@ function sankeyChartLoad(props) {
140318
140125
  return loadConfig(props, (key, value) => {
140319
140126
  switch (key) {
140320
140127
  case "colorMapping": return [["colors", loadColorMapping(value)]];
140321
- case "dataLabels": {
140322
- const val = value;
140323
- return [["data_labels", getValueOrDefault(val.visible, DEFAULTS$4.dataLabels.visible, "bool_auto")], ["data_labels_style", getValueOrDefault(val.style, DEFAULTS$4.dataLabels.style)]];
140324
- }
140325
- case "legend": {
140326
- const val = value;
140327
- return [["legend_enabled", getValueOrDefault(val.enabled, DEFAULTS$4.legend.enabled, "bool")], ["legend_position", getValueOrDefault(val.position, DEFAULTS$4.legend.position)]];
140328
- }
140128
+ case "dataLabels": return [["data_labels", getValueOrDefault(value.visible, DEFAULTS$4.dataLabels.visible, "bool_auto")], ["data_labels_style", getValueOrDefault(value.style, DEFAULTS$4.dataLabels.style)]];
140129
+ case "legend": return [["legend_enabled", getValueOrDefault(value.enabled, DEFAULTS$4.legend.enabled, "bool")], ["legend_position", getValueOrDefault(value.position, DEFAULTS$4.legend.position)]];
140329
140130
  case "disableDrillDown": return [["disable_drill_down", getValueOrDefault(value, DEFAULTS$4.disableDrillDown, "bool")]];
140330
- case "disableDrillIntoURL": return [["disable_drill_into_url", value === void 0 ? void 0 : !!value]];
140131
+ case "disableDrillIntoURL": return [["disable_drill_into_url", Boolean(value)]];
140331
140132
  case "disableAlerts": return [["disable_alerts", getValueOrDefault(value, DEFAULTS$4.disableAlerts, "bool")]];
140332
140133
  case "disableScheduledExports": return [["disable_scheduled_exports", getValueOrDefault(value, DEFAULTS$4.disableScheduledExports, "bool")]];
140333
140134
  case "disableKeyDriveAnalysisOn": return [["disable_key_drive_analysis", loadDisableKda(value)]];
@@ -140417,47 +140218,35 @@ function scatterChartLoad(props) {
140417
140218
  return loadConfig(props, (key, value) => {
140418
140219
  switch (key) {
140419
140220
  case "colorMapping": return [["colors", loadColorMapping(value)]];
140420
- case "dataLabels": {
140421
- const val = value;
140422
- return [["data_labels", getValueOrDefault(val.visible, DEFAULTS$3.dataLabels.visible, "bool_auto")], ["data_labels_style", getValueOrDefault(val.style, DEFAULTS$3.dataLabels.style)]];
140423
- }
140424
- case "xaxis": {
140425
- const val = value;
140426
- return [
140427
- ["xaxis_format", getValueOrDefault(val.format, DEFAULTS$3.xaxis.format)],
140428
- ["xaxis_max", getValueOrDefault(val.max, DEFAULTS$3.xaxis.max, "number")],
140429
- ["xaxis_min", getValueOrDefault(val.min, DEFAULTS$3.xaxis.min, "number")],
140430
- ["xaxis_name_position", getValueOrDefault(val.name?.position, DEFAULTS$3.xaxis.name.position)],
140431
- ["xaxis_name_visible", getValueOrDefault(val.name?.visible, DEFAULTS$3.xaxis.name.visible, "bool")],
140432
- ["xaxis_rotation", getValueOrDefault(val.rotation, DEFAULTS$3.xaxis.rotation)],
140433
- ["xaxis_visible", getValueOrDefault(val.visible, DEFAULTS$3.xaxis.visible, "bool")],
140434
- ["xaxis_labels", getValueOrDefault(val.labelsEnabled, DEFAULTS$3.xaxis.labelsEnabled, "bool")]
140435
- ];
140436
- }
140437
- case "yaxis": {
140438
- const val = value;
140439
- return [
140440
- ["yaxis_format", getValueOrDefault(val.format, DEFAULTS$3.yaxis.format)],
140441
- ["yaxis_max", getValueOrDefault(val.max, DEFAULTS$3.yaxis.max, "number")],
140442
- ["yaxis_min", getValueOrDefault(val.min, DEFAULTS$3.yaxis.min, "number")],
140443
- ["yaxis_name_position", getValueOrDefault(val.name?.position, DEFAULTS$3.yaxis.name.position)],
140444
- ["yaxis_name_visible", getValueOrDefault(val.name?.visible, DEFAULTS$3.yaxis.name.visible, "bool")],
140445
- ["yaxis_rotation", getValueOrDefault(val.rotation, DEFAULTS$3.yaxis.rotation)],
140446
- ["yaxis_visible", getValueOrDefault(val.visible, DEFAULTS$3.yaxis.visible, "bool")],
140447
- ["yaxis_labels", getValueOrDefault(val.labelsEnabled, DEFAULTS$3.yaxis.labelsEnabled, "bool")]
140448
- ];
140449
- }
140221
+ case "dataLabels": return [["data_labels", getValueOrDefault(value.visible, DEFAULTS$3.dataLabels.visible, "bool_auto")], ["data_labels_style", getValueOrDefault(value.style, DEFAULTS$3.dataLabels.style)]];
140222
+ case "xaxis": return [
140223
+ ["xaxis_format", getValueOrDefault(value.format, DEFAULTS$3.xaxis.format)],
140224
+ ["xaxis_max", getValueOrDefault(value.max, DEFAULTS$3.xaxis.max, "number")],
140225
+ ["xaxis_min", getValueOrDefault(value.min, DEFAULTS$3.xaxis.min, "number")],
140226
+ ["xaxis_name_position", getValueOrDefault(value.name?.position, DEFAULTS$3.xaxis.name.position)],
140227
+ ["xaxis_name_visible", getValueOrDefault(value.name?.visible, DEFAULTS$3.xaxis.name.visible, "bool")],
140228
+ ["xaxis_rotation", getValueOrDefault(value.rotation, DEFAULTS$3.xaxis.rotation)],
140229
+ ["xaxis_visible", getValueOrDefault(value.visible, DEFAULTS$3.xaxis.visible, "bool")],
140230
+ ["xaxis_labels", getValueOrDefault(value.labelsEnabled, DEFAULTS$3.xaxis.labelsEnabled, "bool")]
140231
+ ];
140232
+ case "yaxis": return [
140233
+ ["yaxis_format", getValueOrDefault(value.format, DEFAULTS$3.yaxis.format)],
140234
+ ["yaxis_max", getValueOrDefault(value.max, DEFAULTS$3.yaxis.max, "number")],
140235
+ ["yaxis_min", getValueOrDefault(value.min, DEFAULTS$3.yaxis.min, "number")],
140236
+ ["yaxis_name_position", getValueOrDefault(value.name?.position, DEFAULTS$3.yaxis.name.position)],
140237
+ ["yaxis_name_visible", getValueOrDefault(value.name?.visible, DEFAULTS$3.yaxis.name.visible, "bool")],
140238
+ ["yaxis_rotation", getValueOrDefault(value.rotation, DEFAULTS$3.yaxis.rotation)],
140239
+ ["yaxis_visible", getValueOrDefault(value.visible, DEFAULTS$3.yaxis.visible, "bool")],
140240
+ ["yaxis_labels", getValueOrDefault(value.labelsEnabled, DEFAULTS$3.yaxis.labelsEnabled, "bool")]
140241
+ ];
140450
140242
  case "grid": return [["grid_enabled", getValueOrDefault(value.enabled, DEFAULTS$3.grid.enabled, "bool")]];
140451
- case "clustering": {
140452
- const val = value;
140453
- return [
140454
- ["clustering_enabled", getValueOrDefault(val.enabled, DEFAULTS$3.clustering.enabled, "bool")],
140455
- ["clustering_amount", getValueOrDefault(val.numberOfClusters, DEFAULTS$3.clustering.numberOfClusters, "number")],
140456
- ["clustering_threshold", getValueOrDefault(val.threshold, DEFAULTS$3.clustering.threshold, "number")]
140457
- ];
140458
- }
140243
+ case "clustering": return [
140244
+ ["clustering_enabled", getValueOrDefault(value.enabled, DEFAULTS$3.clustering.enabled, "bool")],
140245
+ ["clustering_amount", getValueOrDefault(value.numberOfClusters, DEFAULTS$3.clustering.numberOfClusters, "number")],
140246
+ ["clustering_threshold", getValueOrDefault(value.threshold, DEFAULTS$3.clustering.threshold, "number")]
140247
+ ];
140459
140248
  case "disableDrillDown": return [["disable_drill_down", getValueOrDefault(value, DEFAULTS$3.disableDrillDown, "bool")]];
140460
- case "disableDrillIntoURL": return [["disable_drill_into_url", value === void 0 ? void 0 : !!value]];
140249
+ case "disableDrillIntoURL": return [["disable_drill_into_url", Boolean(value)]];
140461
140250
  case "disableAlerts": return [["disable_alerts", getValueOrDefault(value, DEFAULTS$3.disableAlerts, "bool")]];
140462
140251
  case "disableScheduledExports": return [["disable_scheduled_exports", getValueOrDefault(value, DEFAULTS$3.disableScheduledExports, "bool")]];
140463
140252
  case "disableKeyDriveAnalysisOn": return [["disable_key_drive_analysis", loadDisableKda(value)]];
@@ -140710,7 +140499,7 @@ function tableLoad(props) {
140710
140499
  case "columnHeadersPosition": return [["column_header", getValueOrDefault(value, DEFAULTS$2.columnHeadersPosition)]];
140711
140500
  case "measureGroupDimension": return [["metrics_in", getValueOrDefault(value, DEFAULTS$2.measureGroupDimension)]];
140712
140501
  case "disableDrillDown": return [["disable_drill_down", getValueOrDefault(value, DEFAULTS$2.disableDrillDown, "bool")]];
140713
- case "disableDrillIntoURL": return [["disable_drill_into_url", value === void 0 ? void 0 : !!value]];
140502
+ case "disableDrillIntoURL": return [["disable_drill_into_url", Boolean(value)]];
140714
140503
  case "disableAlerts": return [["disable_alerts", getValueOrDefault(value, DEFAULTS$2.disableAlerts, "bool")]];
140715
140504
  case "disableScheduledExports": return [["disable_scheduled_exports", getValueOrDefault(value, DEFAULTS$2.disableScheduledExports, "bool")]];
140716
140505
  case "disableKeyDriveAnalysisOn": return [["disable_key_drive_analysis", loadDisableKda(value)]];
@@ -140779,17 +140568,11 @@ function treemapChartLoad(props) {
140779
140568
  return loadConfig(props, (key, value) => {
140780
140569
  switch (key) {
140781
140570
  case "colorMapping": return [["colors", loadColorMapping(value)]];
140782
- case "dataLabels": {
140783
- const val = value;
140784
- return [["data_labels", getValueOrDefault(val.visible, DEFAULTS$1.dataLabels.visible, "bool_auto")], ["data_labels_style", getValueOrDefault(val.style, DEFAULTS$1.dataLabels.style)]];
140785
- }
140571
+ case "dataLabels": return [["data_labels", getValueOrDefault(value.visible, DEFAULTS$1.dataLabels.visible, "bool_auto")], ["data_labels_style", getValueOrDefault(value.style, DEFAULTS$1.dataLabels.style)]];
140786
140572
  case "chartFill": return [["chart_fill", loadChartFill(value, DEFAULTS$1.chartFill)]];
140787
- case "legend": {
140788
- const val = value;
140789
- return [["legend_enabled", getValueOrDefault(val.enabled, DEFAULTS$1.legend.enabled, "bool")], ["legend_position", getValueOrDefault(val.position, DEFAULTS$1.legend.position)]];
140790
- }
140573
+ case "legend": return [["legend_enabled", getValueOrDefault(value.enabled, DEFAULTS$1.legend.enabled, "bool")], ["legend_position", getValueOrDefault(value.position, DEFAULTS$1.legend.position)]];
140791
140574
  case "disableDrillDown": return [["disable_drill_down", getValueOrDefault(value, DEFAULTS$1.disableDrillDown, "bool")]];
140792
- case "disableDrillIntoURL": return [["disable_drill_into_url", value === void 0 ? void 0 : !!value]];
140575
+ case "disableDrillIntoURL": return [["disable_drill_into_url", Boolean(value)]];
140793
140576
  case "disableAlerts": return [["disable_alerts", getValueOrDefault(value, DEFAULTS$1.disableAlerts, "bool")]];
140794
140577
  case "disableScheduledExports": return [["disable_scheduled_exports", getValueOrDefault(value, DEFAULTS$1.disableScheduledExports, "bool")]];
140795
140578
  case "disableKeyDriveAnalysisOn": return [["disable_key_drive_analysis", loadDisableKda(value)]];
@@ -140882,46 +140665,31 @@ function waterfallChartLoad(props) {
140882
140665
  return loadConfig(props, (key, value) => {
140883
140666
  switch (key) {
140884
140667
  case "colorMapping": return [["color", loadColorDefinitions(value)]];
140885
- case "dataLabels": {
140886
- const val = value;
140887
- return [["data_labels", getValueOrDefault(val.visible, DEFAULTS.dataLabels.visible, "bool_auto")], ["data_labels_style", getValueOrDefault(val.style, DEFAULTS.dataLabels.style)]];
140888
- }
140668
+ case "dataLabels": return [["data_labels", getValueOrDefault(value.visible, DEFAULTS.dataLabels.visible, "bool_auto")], ["data_labels_style", getValueOrDefault(value.style, DEFAULTS.dataLabels.style)]];
140889
140669
  case "chartFill": return [["chart_fill", loadChartFill(value, DEFAULTS.chartFill)]];
140890
140670
  case "orientation": return [["orientation", getValueOrDefault(value.position, DEFAULTS.orientation.position)]];
140891
- case "total": {
140892
- const val = value;
140893
- return [["total_enabled", getValueOrDefault(val.enabled, DEFAULTS.total.enabled, "bool")], ["total_name", getValueOrDefault(val.name, DEFAULTS.total.name)]];
140894
- }
140895
- case "legend": {
140896
- const val = value;
140897
- return [["legend_enabled", getValueOrDefault(val.enabled, DEFAULTS.legend.enabled, "bool")], ["legend_position", getValueOrDefault(val.position, DEFAULTS.legend.position)]];
140898
- }
140899
- case "xaxis": {
140900
- const val = value;
140901
- return [
140902
- ["xaxis_format", getValueOrDefault(val.format, DEFAULTS.xaxis.format)],
140903
- ["xaxis_max", getValueOrDefault(val.max, DEFAULTS.xaxis.max, "number")],
140904
- ["xaxis_min", getValueOrDefault(val.min, DEFAULTS.xaxis.min, "number")],
140905
- ["xaxis_name_position", getValueOrDefault(val.name?.position, DEFAULTS.xaxis.name.position)],
140906
- ["xaxis_name_visible", getValueOrDefault(val.name?.visible, DEFAULTS.xaxis.name.visible, "bool")],
140907
- ["xaxis_rotation", getValueOrDefault(val.rotation, DEFAULTS.xaxis.rotation)],
140908
- ["xaxis_visible", getValueOrDefault(val.visible, DEFAULTS.xaxis.visible, "bool")],
140909
- ["xaxis_labels", getValueOrDefault(val.labelsEnabled, DEFAULTS.xaxis.labelsEnabled, "bool")]
140910
- ];
140911
- }
140912
- case "yaxis": {
140913
- const val = value;
140914
- return [
140915
- ["yaxis_name_position", getValueOrDefault(val.name?.position, DEFAULTS.yaxis.name.position)],
140916
- ["yaxis_name_visible", getValueOrDefault(val.name?.visible, DEFAULTS.yaxis.name.visible, "bool")],
140917
- ["yaxis_labels", getValueOrDefault(val.labelsEnabled, DEFAULTS.yaxis.labelsEnabled, "bool")],
140918
- ["yaxis_rotation", getValueOrDefault(val.rotation, DEFAULTS.yaxis.rotation)],
140919
- ["yaxis_visible", getValueOrDefault(val.visible, DEFAULTS.yaxis.visible, "bool")]
140920
- ];
140921
- }
140671
+ case "total": return [["total_enabled", getValueOrDefault(value.enabled, DEFAULTS.total.enabled, "bool")], ["total_name", getValueOrDefault(value.name, DEFAULTS.total.name)]];
140672
+ case "legend": return [["legend_enabled", getValueOrDefault(value.enabled, DEFAULTS.legend.enabled, "bool")], ["legend_position", getValueOrDefault(value.position, DEFAULTS.legend.position)]];
140673
+ case "xaxis": return [
140674
+ ["xaxis_format", getValueOrDefault(value.format, DEFAULTS.xaxis.format)],
140675
+ ["xaxis_max", getValueOrDefault(value.max, DEFAULTS.xaxis.max, "number")],
140676
+ ["xaxis_min", getValueOrDefault(value.min, DEFAULTS.xaxis.min, "number")],
140677
+ ["xaxis_name_position", getValueOrDefault(value.name?.position, DEFAULTS.xaxis.name.position)],
140678
+ ["xaxis_name_visible", getValueOrDefault(value.name?.visible, DEFAULTS.xaxis.name.visible, "bool")],
140679
+ ["xaxis_rotation", getValueOrDefault(value.rotation, DEFAULTS.xaxis.rotation)],
140680
+ ["xaxis_visible", getValueOrDefault(value.visible, DEFAULTS.xaxis.visible, "bool")],
140681
+ ["xaxis_labels", getValueOrDefault(value.labelsEnabled, DEFAULTS.xaxis.labelsEnabled, "bool")]
140682
+ ];
140683
+ case "yaxis": return [
140684
+ ["yaxis_name_position", getValueOrDefault(value.name?.position, DEFAULTS.yaxis.name.position)],
140685
+ ["yaxis_name_visible", getValueOrDefault(value.name?.visible, DEFAULTS.yaxis.name.visible, "bool")],
140686
+ ["yaxis_labels", getValueOrDefault(value.labelsEnabled, DEFAULTS.yaxis.labelsEnabled, "bool")],
140687
+ ["yaxis_rotation", getValueOrDefault(value.rotation, DEFAULTS.yaxis.rotation)],
140688
+ ["yaxis_visible", getValueOrDefault(value.visible, DEFAULTS.yaxis.visible, "bool")]
140689
+ ];
140922
140690
  case "grid": return [["grid_enabled", getValueOrDefault(value.enabled, DEFAULTS.grid.enabled, "bool")]];
140923
140691
  case "disableDrillDown": return [["disable_drill_down", getValueOrDefault(value, DEFAULTS.disableDrillDown, "bool")]];
140924
- case "disableDrillIntoURL": return [["disable_drill_into_url", value === void 0 ? void 0 : !!value]];
140692
+ case "disableDrillIntoURL": return [["disable_drill_into_url", Boolean(value)]];
140925
140693
  case "disableAlerts": return [["disable_alerts", getValueOrDefault(value, DEFAULTS.disableAlerts, "bool")]];
140926
140694
  case "disableScheduledExports": return [["disable_scheduled_exports", getValueOrDefault(value, DEFAULTS.disableScheduledExports, "bool")]];
140927
140695
  case "disableKeyDriveAnalysisOn": return [["disable_key_drive_analysis", loadDisableKda(value)]];
@@ -162799,7 +162567,7 @@ async function open(state, emitter, file) {
162799
162567
  //#endregion
162800
162568
  //#region ../code/package.json
162801
162569
  var name = "@gooddata/code";
162802
- var version = "0.56.0";
162570
+ var version = "0.57.0-alpha.1";
162803
162571
  //#endregion
162804
162572
  //#region ../../../sdk/libs/api-client-tiger/src/axios.ts
162805
162573
  /**
@@ -162821,7 +162589,7 @@ const _CONFIG = {
162821
162589
  common: {
162822
162590
  "X-Requested-With": "XMLHttpRequest",
162823
162591
  "X-GDC-JS-PACKAGE": "@gooddata/api-client-tiger",
162824
- "X-GDC-JS-PACKAGE-VERSION": "11.60.0"
162592
+ "X-GDC-JS-PACKAGE-VERSION": "11.61.0-alpha.1"
162825
162593
  },
162826
162594
  post: { "Content-Type": "application/json;charset=utf8" },
162827
162595
  put: { "Content-Type": "application/json;charset=utf8" }