@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.
- package/CHANGELOG.md +1 -7
- package/dist/index.js +359 -591
- 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.
|
|
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)
|
|
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
|
-
|
|
137939
|
-
|
|
137940
|
-
|
|
137941
|
-
|
|
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
|
-
|
|
137958
|
-
|
|
137959
|
-
|
|
137960
|
-
|
|
137961
|
-
|
|
137962
|
-
|
|
137963
|
-
|
|
137964
|
-
]
|
|
137965
|
-
|
|
137966
|
-
|
|
137967
|
-
|
|
137968
|
-
|
|
137969
|
-
|
|
137970
|
-
|
|
137971
|
-
|
|
137972
|
-
|
|
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
|
|
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
|
-
|
|
138103
|
-
|
|
138104
|
-
|
|
138105
|
-
|
|
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
|
-
|
|
138118
|
-
|
|
138119
|
-
|
|
138120
|
-
|
|
138121
|
-
|
|
138122
|
-
|
|
138123
|
-
|
|
138124
|
-
|
|
138125
|
-
|
|
138126
|
-
|
|
138127
|
-
]
|
|
138128
|
-
|
|
138129
|
-
|
|
138130
|
-
|
|
138131
|
-
|
|
138132
|
-
|
|
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
|
|
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
|
-
|
|
138258
|
-
|
|
138259
|
-
|
|
138260
|
-
|
|
138261
|
-
|
|
138262
|
-
|
|
138263
|
-
|
|
138264
|
-
|
|
138265
|
-
|
|
138266
|
-
|
|
138267
|
-
|
|
138268
|
-
|
|
138269
|
-
|
|
138270
|
-
|
|
138271
|
-
|
|
138272
|
-
|
|
138273
|
-
|
|
138274
|
-
|
|
138275
|
-
]
|
|
138276
|
-
|
|
138277
|
-
|
|
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
|
|
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
|
-
|
|
138407
|
-
|
|
138408
|
-
|
|
138409
|
-
|
|
138410
|
-
|
|
138411
|
-
|
|
138412
|
-
|
|
138413
|
-
|
|
138414
|
-
|
|
138415
|
-
|
|
138416
|
-
]
|
|
138417
|
-
|
|
138418
|
-
|
|
138419
|
-
|
|
138420
|
-
|
|
138421
|
-
|
|
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
|
|
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
|
-
|
|
138541
|
-
|
|
138542
|
-
|
|
138543
|
-
|
|
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
|
-
|
|
138556
|
-
|
|
138557
|
-
|
|
138558
|
-
|
|
138559
|
-
|
|
138560
|
-
|
|
138561
|
-
|
|
138562
|
-
]
|
|
138563
|
-
|
|
138564
|
-
|
|
138565
|
-
|
|
138566
|
-
|
|
138567
|
-
|
|
138568
|
-
|
|
138569
|
-
|
|
138570
|
-
|
|
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
|
|
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
|
-
|
|
138719
|
-
|
|
138720
|
-
|
|
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
|
-
|
|
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
|
-
|
|
138738
|
-
|
|
138739
|
-
|
|
138740
|
-
|
|
138741
|
-
|
|
138742
|
-
|
|
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
|
-
|
|
138749
|
-
|
|
138750
|
-
|
|
138751
|
-
|
|
138752
|
-
|
|
138753
|
-
|
|
138754
|
-
|
|
138755
|
-
|
|
138756
|
-
|
|
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
|
-
|
|
138763
|
-
|
|
138764
|
-
|
|
138765
|
-
|
|
138766
|
-
|
|
138767
|
-
|
|
138768
|
-
|
|
138769
|
-
|
|
138770
|
-
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
-
|
|
139170
|
-
|
|
139171
|
-
|
|
139172
|
-
|
|
139173
|
-
|
|
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
|
-
|
|
139183
|
-
|
|
139184
|
-
|
|
139185
|
-
|
|
139186
|
-
|
|
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
|
-
|
|
139348
|
-
|
|
139349
|
-
|
|
139350
|
-
|
|
139351
|
-
|
|
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
|
-
|
|
139361
|
-
|
|
139362
|
-
|
|
139363
|
-
|
|
139364
|
-
|
|
139365
|
-
|
|
139366
|
-
]
|
|
139367
|
-
|
|
139368
|
-
|
|
139369
|
-
|
|
139370
|
-
|
|
139371
|
-
|
|
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
|
-
|
|
139494
|
-
|
|
139495
|
-
|
|
139496
|
-
|
|
139497
|
-
|
|
139498
|
-
|
|
139499
|
-
|
|
139500
|
-
|
|
139501
|
-
|
|
139502
|
-
|
|
139503
|
-
|
|
139504
|
-
|
|
139505
|
-
|
|
139506
|
-
|
|
139507
|
-
|
|
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
|
-
|
|
139600
|
-
|
|
139601
|
-
|
|
139602
|
-
|
|
139603
|
-
|
|
139604
|
-
|
|
139605
|
-
|
|
139606
|
-
|
|
139607
|
-
|
|
139608
|
-
|
|
139609
|
-
|
|
139610
|
-
|
|
139611
|
-
|
|
139612
|
-
|
|
139613
|
-
|
|
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
|
|
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
|
-
|
|
139752
|
-
|
|
139753
|
-
|
|
139754
|
-
|
|
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
|
-
|
|
139764
|
-
|
|
139765
|
-
|
|
139766
|
-
|
|
139767
|
-
|
|
139768
|
-
|
|
139769
|
-
|
|
139770
|
-
|
|
139771
|
-
|
|
139772
|
-
|
|
139773
|
-
|
|
139774
|
-
]
|
|
139775
|
-
|
|
139776
|
-
|
|
139777
|
-
|
|
139778
|
-
|
|
139779
|
-
|
|
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
|
-
|
|
139792
|
-
|
|
139793
|
-
|
|
139794
|
-
|
|
139795
|
-
|
|
139796
|
-
|
|
139797
|
-
]
|
|
139798
|
-
|
|
139799
|
-
|
|
139800
|
-
|
|
139801
|
-
|
|
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
|
|
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
|
|
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
|
|
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
|
-
|
|
140107
|
-
|
|
140108
|
-
|
|
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
|
-
|
|
140122
|
-
|
|
140123
|
-
|
|
140124
|
-
|
|
140125
|
-
|
|
140126
|
-
|
|
140127
|
-
|
|
140128
|
-
|
|
140129
|
-
|
|
140130
|
-
|
|
140131
|
-
|
|
140132
|
-
]
|
|
140133
|
-
|
|
140134
|
-
|
|
140135
|
-
|
|
140136
|
-
|
|
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
|
-
|
|
140149
|
-
|
|
140150
|
-
|
|
140151
|
-
|
|
140152
|
-
|
|
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
|
|
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
|
-
|
|
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
|
|
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
|
-
|
|
140422
|
-
|
|
140423
|
-
|
|
140424
|
-
|
|
140425
|
-
|
|
140426
|
-
|
|
140427
|
-
|
|
140428
|
-
|
|
140429
|
-
|
|
140430
|
-
|
|
140431
|
-
|
|
140432
|
-
|
|
140433
|
-
|
|
140434
|
-
|
|
140435
|
-
]
|
|
140436
|
-
|
|
140437
|
-
|
|
140438
|
-
|
|
140439
|
-
|
|
140440
|
-
|
|
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
|
-
|
|
140453
|
-
|
|
140454
|
-
|
|
140455
|
-
|
|
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
|
|
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
|
|
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
|
|
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
|
-
|
|
140893
|
-
|
|
140894
|
-
|
|
140895
|
-
|
|
140896
|
-
|
|
140897
|
-
|
|
140898
|
-
|
|
140899
|
-
|
|
140900
|
-
|
|
140901
|
-
|
|
140902
|
-
|
|
140903
|
-
|
|
140904
|
-
|
|
140905
|
-
|
|
140906
|
-
|
|
140907
|
-
|
|
140908
|
-
|
|
140909
|
-
|
|
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
|
|
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.
|
|
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.
|
|
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" }
|