@gooddata/code-cli 0.43.0 → 0.44.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/fixtures/rules/visualizations.mdc +1 -0
- package/dist/index.js +2070 -983
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -37366,7 +37366,7 @@ function isPromise(value) {
|
|
|
37366
37366
|
//#endregion
|
|
37367
37367
|
//#region package.json
|
|
37368
37368
|
var name$1 = "@gooddata/code-cli";
|
|
37369
|
-
var version$1 = "0.
|
|
37369
|
+
var version$1 = "0.44.0-alpha.1";
|
|
37370
37370
|
//#endregion
|
|
37371
37371
|
//#region ../code/esm/features/references/types.js
|
|
37372
37372
|
var UpdateReferencesType;
|
|
@@ -37600,7 +37600,8 @@ const metadata_v1 = {
|
|
|
37600
37600
|
"combo_chart",
|
|
37601
37601
|
"geo_chart",
|
|
37602
37602
|
"geo_area_chart",
|
|
37603
|
-
"repeater_chart"
|
|
37603
|
+
"repeater_chart",
|
|
37604
|
+
"radar_chart"
|
|
37604
37605
|
] } },
|
|
37605
37606
|
"required": ["type"]
|
|
37606
37607
|
},
|
|
@@ -37641,6 +37642,7 @@ const metadata_v1 = {
|
|
|
37641
37642
|
"geo_chart",
|
|
37642
37643
|
"geo_area_chart",
|
|
37643
37644
|
"repeater_chart",
|
|
37645
|
+
"radar_chart",
|
|
37644
37646
|
"attribute_hierarchy"
|
|
37645
37647
|
]
|
|
37646
37648
|
} }
|
|
@@ -37676,6 +37678,7 @@ const metadata_v1 = {
|
|
|
37676
37678
|
"geo_chart",
|
|
37677
37679
|
"geo_area_chart",
|
|
37678
37680
|
"repeater_chart",
|
|
37681
|
+
"radar_chart",
|
|
37679
37682
|
"attribute_hierarchy"
|
|
37680
37683
|
]
|
|
37681
37684
|
} },
|
|
@@ -38216,7 +38219,8 @@ const metadata_v1 = {
|
|
|
38216
38219
|
"combo_chart",
|
|
38217
38220
|
"geo_chart",
|
|
38218
38221
|
"geo_area_chart",
|
|
38219
|
-
"repeater_chart"
|
|
38222
|
+
"repeater_chart",
|
|
38223
|
+
"radar_chart"
|
|
38220
38224
|
]
|
|
38221
38225
|
} },
|
|
38222
38226
|
"allOf": [
|
|
@@ -40076,6 +40080,87 @@ const metadata_v1 = {
|
|
|
40076
40080
|
"query"
|
|
40077
40081
|
]
|
|
40078
40082
|
}
|
|
40083
|
+
},
|
|
40084
|
+
{
|
|
40085
|
+
"if": {
|
|
40086
|
+
"properties": { "type": {
|
|
40087
|
+
"type": "string",
|
|
40088
|
+
"enum": ["radar_chart"]
|
|
40089
|
+
} },
|
|
40090
|
+
"required": ["type"]
|
|
40091
|
+
},
|
|
40092
|
+
"then": {
|
|
40093
|
+
"title": "Radar Chart",
|
|
40094
|
+
"additionalProperties": false,
|
|
40095
|
+
"properties": {
|
|
40096
|
+
"type": {
|
|
40097
|
+
"description": "Type of visualisation.",
|
|
40098
|
+
"type": "string",
|
|
40099
|
+
"enum": ["radar_chart"]
|
|
40100
|
+
},
|
|
40101
|
+
"id": {
|
|
40102
|
+
"$ref": "#/$global/gaac/identifier",
|
|
40103
|
+
"description": "A unique identifier of the visualisation.",
|
|
40104
|
+
"$semantic": [{
|
|
40105
|
+
"type": "uniqueness",
|
|
40106
|
+
"source": "visualisation.id",
|
|
40107
|
+
"code": "core.uniqueness.visualisations.id"
|
|
40108
|
+
}, {
|
|
40109
|
+
"type": "definition",
|
|
40110
|
+
"source": "visualisation.id"
|
|
40111
|
+
}]
|
|
40112
|
+
},
|
|
40113
|
+
"title": {
|
|
40114
|
+
"$ref": "#/$global/gaac/title",
|
|
40115
|
+
"description": "An optional human readable title for the visualisation. Will be derived from id if not provided explicitly."
|
|
40116
|
+
},
|
|
40117
|
+
"description": {
|
|
40118
|
+
"$ref": "#/$global/gaac/description",
|
|
40119
|
+
"description": "An optional description of the visualisation."
|
|
40120
|
+
},
|
|
40121
|
+
"tags": {
|
|
40122
|
+
"$ref": "#/$global/gaac/tags",
|
|
40123
|
+
"description": "A list of strings - metadata tags of this visualisation."
|
|
40124
|
+
},
|
|
40125
|
+
"show_in_ai_results": {
|
|
40126
|
+
"type": "boolean",
|
|
40127
|
+
"description": "Optional flag to indicate if the visualisation should be shown in AI results. When omitted, the visualisation is visible."
|
|
40128
|
+
},
|
|
40129
|
+
"is_hidden": {
|
|
40130
|
+
"type": "boolean",
|
|
40131
|
+
"description": "Deprecated. Use 'show_in_ai_results' instead.",
|
|
40132
|
+
"deprecated": true
|
|
40133
|
+
},
|
|
40134
|
+
"query": {
|
|
40135
|
+
"$ref": "#/$global/gaac/query",
|
|
40136
|
+
"description": "Query definition of visualisation."
|
|
40137
|
+
},
|
|
40138
|
+
"config": {
|
|
40139
|
+
"$ref": "#/$global/gaac/config",
|
|
40140
|
+
"description": "Configuration of visualisation of defined type."
|
|
40141
|
+
},
|
|
40142
|
+
"metrics": {
|
|
40143
|
+
"type": "array",
|
|
40144
|
+
"description": "A list of metrics in this visualisation.",
|
|
40145
|
+
"items": { "$ref": "#/$defs/bucketItem" }
|
|
40146
|
+
},
|
|
40147
|
+
"view_by": {
|
|
40148
|
+
"type": "array",
|
|
40149
|
+
"description": "A list of view by attributes in this visualisation.",
|
|
40150
|
+
"items": { "$ref": "#/$defs/bucketItem" }
|
|
40151
|
+
},
|
|
40152
|
+
"segment_by": {
|
|
40153
|
+
"type": "array",
|
|
40154
|
+
"description": "A list of segment by attributes in this visualisation.",
|
|
40155
|
+
"items": { "$ref": "#/$defs/bucketItem" }
|
|
40156
|
+
}
|
|
40157
|
+
},
|
|
40158
|
+
"required": [
|
|
40159
|
+
"id",
|
|
40160
|
+
"type",
|
|
40161
|
+
"query"
|
|
40162
|
+
]
|
|
40163
|
+
}
|
|
40079
40164
|
}
|
|
40080
40165
|
],
|
|
40081
40166
|
"required": ["type"],
|
|
@@ -40344,6 +40429,14 @@ const metadata_v1 = {
|
|
|
40344
40429
|
"stack_measures_to_100": { "type": "boolean" },
|
|
40345
40430
|
"stack_measures": { "type": "boolean" },
|
|
40346
40431
|
"continuous_line": { "type": "boolean" },
|
|
40432
|
+
"render_as": {
|
|
40433
|
+
"type": "string",
|
|
40434
|
+
"enum": ["filled", "outline"]
|
|
40435
|
+
},
|
|
40436
|
+
"grid_line_shape": {
|
|
40437
|
+
"type": "string",
|
|
40438
|
+
"enum": ["polygon", "circle"]
|
|
40439
|
+
},
|
|
40347
40440
|
"distinct_point_shapes": {
|
|
40348
40441
|
"type": "object",
|
|
40349
40442
|
"properties": {
|
|
@@ -90986,7 +91079,7 @@ function loadDisableKda(value) {
|
|
|
90986
91079
|
//#endregion
|
|
90987
91080
|
//#region ../../../sdk/libs/sdk-code-convertors/src/configs/areaChart.ts
|
|
90988
91081
|
/** @internal */
|
|
90989
|
-
const DEFAULTS$
|
|
91082
|
+
const DEFAULTS$22 = {
|
|
90990
91083
|
colorMapping: [],
|
|
90991
91084
|
distinctPointShapes: { enabled: false },
|
|
90992
91085
|
chartFill: { type: "solid" },
|
|
@@ -91037,51 +91130,51 @@ function areaChartLoad(props) {
|
|
|
91037
91130
|
case "colorMapping": return [["colors", loadColorMapping(value)]];
|
|
91038
91131
|
case "dataLabels": {
|
|
91039
91132
|
const val = value;
|
|
91040
|
-
return [["data_labels", getValueOrDefault(val.visible, DEFAULTS$
|
|
91133
|
+
return [["data_labels", getValueOrDefault(val.visible, DEFAULTS$22.dataLabels.visible, "bool_auto")], ["data_labels_style", getValueOrDefault(val.style, DEFAULTS$22.dataLabels.style)]];
|
|
91041
91134
|
}
|
|
91042
91135
|
case "distinctPointShapes": {
|
|
91043
91136
|
const val = value;
|
|
91044
91137
|
return [["distinct_point_shapes", {
|
|
91045
|
-
enabled: getValueOrDefault(val.enabled, DEFAULTS$
|
|
91046
|
-
point_shape_mapping: val.pointShapeMapping ?? DEFAULTS$
|
|
91138
|
+
enabled: getValueOrDefault(val.enabled, DEFAULTS$22.distinctPointShapes.enabled, "bool"),
|
|
91139
|
+
point_shape_mapping: val.pointShapeMapping ?? DEFAULTS$22.distinctPointShapes.pointShapeMapping
|
|
91047
91140
|
}]];
|
|
91048
91141
|
}
|
|
91049
|
-
case "chartFill": return [["chart_fill", loadChartFill(value, DEFAULTS$
|
|
91050
|
-
case "dataPoints": return [["data_points", getValueOrDefault(value.visible, DEFAULTS$
|
|
91142
|
+
case "chartFill": return [["chart_fill", loadChartFill(value, DEFAULTS$22.chartFill)]];
|
|
91143
|
+
case "dataPoints": return [["data_points", getValueOrDefault(value.visible, DEFAULTS$22.dataPoints.visible, "bool_auto")]];
|
|
91051
91144
|
case "legend": {
|
|
91052
91145
|
const val = value;
|
|
91053
|
-
return [["legend_enabled", getValueOrDefault(val.enabled, DEFAULTS$
|
|
91146
|
+
return [["legend_enabled", getValueOrDefault(val.enabled, DEFAULTS$22.legend.enabled, "bool")], ["legend_position", getValueOrDefault(val.position, DEFAULTS$22.legend.position)]];
|
|
91054
91147
|
}
|
|
91055
|
-
case "stackMeasuresToPercent": return [["stack_measures_to_100", getValueOrDefault(value, DEFAULTS$
|
|
91056
|
-
case "stackMeasures": return [["stack_measures", getValueOrDefault(value, DEFAULTS$
|
|
91148
|
+
case "stackMeasuresToPercent": return [["stack_measures_to_100", getValueOrDefault(value, DEFAULTS$22.stackMeasuresToPercent, "bool")]];
|
|
91149
|
+
case "stackMeasures": return [["stack_measures", getValueOrDefault(value, DEFAULTS$22.stackMeasures, "bool")]];
|
|
91057
91150
|
case "xaxis": {
|
|
91058
91151
|
const val = value;
|
|
91059
91152
|
return [
|
|
91060
|
-
["xaxis_name_position", getValueOrDefault(val.name?.position, DEFAULTS$
|
|
91061
|
-
["xaxis_name_visible", getValueOrDefault(val.name?.visible, DEFAULTS$
|
|
91062
|
-
["xaxis_rotation", getValueOrDefault(val.rotation, DEFAULTS$
|
|
91063
|
-
["xaxis_visible", getValueOrDefault(val.visible, DEFAULTS$
|
|
91064
|
-
["xaxis_labels", getValueOrDefault(val.labelsEnabled, DEFAULTS$
|
|
91153
|
+
["xaxis_name_position", getValueOrDefault(val.name?.position, DEFAULTS$22.xaxis.name.position)],
|
|
91154
|
+
["xaxis_name_visible", getValueOrDefault(val.name?.visible, DEFAULTS$22.xaxis.name.visible, "bool")],
|
|
91155
|
+
["xaxis_rotation", getValueOrDefault(val.rotation, DEFAULTS$22.xaxis.rotation)],
|
|
91156
|
+
["xaxis_visible", getValueOrDefault(val.visible, DEFAULTS$22.xaxis.visible, "bool")],
|
|
91157
|
+
["xaxis_labels", getValueOrDefault(val.labelsEnabled, DEFAULTS$22.xaxis.labelsEnabled, "bool")]
|
|
91065
91158
|
];
|
|
91066
91159
|
}
|
|
91067
91160
|
case "yaxis": {
|
|
91068
91161
|
const val = value;
|
|
91069
91162
|
return [
|
|
91070
|
-
["yaxis_format", getValueOrDefault(val.format, DEFAULTS$
|
|
91071
|
-
["yaxis_max", getValueOrDefault(val.max, DEFAULTS$
|
|
91072
|
-
["yaxis_min", getValueOrDefault(val.min, DEFAULTS$
|
|
91073
|
-
["yaxis_name_position", getValueOrDefault(val.name?.position, DEFAULTS$
|
|
91074
|
-
["yaxis_name_visible", getValueOrDefault(val.name?.visible, DEFAULTS$
|
|
91075
|
-
["yaxis_rotation", getValueOrDefault(val.rotation, DEFAULTS$
|
|
91076
|
-
["yaxis_visible", getValueOrDefault(val.visible, DEFAULTS$
|
|
91077
|
-
["yaxis_labels", getValueOrDefault(val.labelsEnabled, DEFAULTS$
|
|
91163
|
+
["yaxis_format", getValueOrDefault(val.format, DEFAULTS$22.yaxis.format)],
|
|
91164
|
+
["yaxis_max", getValueOrDefault(val.max, DEFAULTS$22.yaxis.max, "number")],
|
|
91165
|
+
["yaxis_min", getValueOrDefault(val.min, DEFAULTS$22.yaxis.min, "number")],
|
|
91166
|
+
["yaxis_name_position", getValueOrDefault(val.name?.position, DEFAULTS$22.yaxis.name.position)],
|
|
91167
|
+
["yaxis_name_visible", getValueOrDefault(val.name?.visible, DEFAULTS$22.yaxis.name.visible, "bool")],
|
|
91168
|
+
["yaxis_rotation", getValueOrDefault(val.rotation, DEFAULTS$22.yaxis.rotation)],
|
|
91169
|
+
["yaxis_visible", getValueOrDefault(val.visible, DEFAULTS$22.yaxis.visible, "bool")],
|
|
91170
|
+
["yaxis_labels", getValueOrDefault(val.labelsEnabled, DEFAULTS$22.yaxis.labelsEnabled, "bool")]
|
|
91078
91171
|
];
|
|
91079
91172
|
}
|
|
91080
|
-
case "grid": return [["grid_enabled", getValueOrDefault(value.enabled, DEFAULTS$
|
|
91081
|
-
case "disableDrillDown": return [["disable_drill_down", getValueOrDefault(value, DEFAULTS$
|
|
91173
|
+
case "grid": return [["grid_enabled", getValueOrDefault(value.enabled, DEFAULTS$22.grid.enabled, "bool")]];
|
|
91174
|
+
case "disableDrillDown": return [["disable_drill_down", getValueOrDefault(value, DEFAULTS$22.disableDrillDown, "bool")]];
|
|
91082
91175
|
case "disableDrillIntoURL": return [["disable_drill_into_url", value === void 0 ? void 0 : !!value]];
|
|
91083
|
-
case "disableAlerts": return [["disable_alerts", getValueOrDefault(value, DEFAULTS$
|
|
91084
|
-
case "disableScheduledExports": return [["disable_scheduled_exports", getValueOrDefault(value, DEFAULTS$
|
|
91176
|
+
case "disableAlerts": return [["disable_alerts", getValueOrDefault(value, DEFAULTS$22.disableAlerts, "bool")]];
|
|
91177
|
+
case "disableScheduledExports": return [["disable_scheduled_exports", getValueOrDefault(value, DEFAULTS$22.disableScheduledExports, "bool")]];
|
|
91085
91178
|
case "disableKeyDriveAnalysisOn": return [["disable_key_drive_analysis", loadDisableKda(value)]];
|
|
91086
91179
|
case "customTooltip": return [["custom_tooltip", loadCustomTooltip(value)]];
|
|
91087
91180
|
default: return [];
|
|
@@ -91094,47 +91187,47 @@ function areaChartSave(_fields, config) {
|
|
|
91094
91187
|
return saveConfigObject({
|
|
91095
91188
|
colorMapping: saveConfigObject(saveColorMapping(config.colors ?? {})),
|
|
91096
91189
|
distinctPointShapes: saveConfigObject({
|
|
91097
|
-
enabled: getValueOrDefault(config.distinct_point_shapes?.enabled, DEFAULTS$
|
|
91098
|
-
pointShapeMapping: config.distinct_point_shapes?.point_shape_mapping ?? DEFAULTS$
|
|
91190
|
+
enabled: getValueOrDefault(config.distinct_point_shapes?.enabled, DEFAULTS$22.distinctPointShapes.enabled, "bool"),
|
|
91191
|
+
pointShapeMapping: config.distinct_point_shapes?.point_shape_mapping ?? DEFAULTS$22.distinctPointShapes.pointShapeMapping
|
|
91099
91192
|
}),
|
|
91100
|
-
chartFill: saveConfigObject(saveChartFill(config, DEFAULTS$
|
|
91193
|
+
chartFill: saveConfigObject(saveChartFill(config, DEFAULTS$22.chartFill)),
|
|
91101
91194
|
dataLabels: saveConfigObject({
|
|
91102
|
-
visible: getValueOrDefault(config.data_labels, DEFAULTS$
|
|
91103
|
-
style: getValueOrDefault(config.data_labels_style, DEFAULTS$
|
|
91195
|
+
visible: getValueOrDefault(config.data_labels, DEFAULTS$22.dataLabels.visible, "bool_auto"),
|
|
91196
|
+
style: getValueOrDefault(config.data_labels_style, DEFAULTS$22.dataLabels.style)
|
|
91104
91197
|
}),
|
|
91105
|
-
dataPoints: saveConfigObject({ visible: getValueOrDefault(config.data_points, DEFAULTS$
|
|
91198
|
+
dataPoints: saveConfigObject({ visible: getValueOrDefault(config.data_points, DEFAULTS$22.dataPoints.visible, "bool_auto") }),
|
|
91106
91199
|
legend: saveConfigObject({
|
|
91107
|
-
enabled: getValueOrDefault(config.legend_enabled, DEFAULTS$
|
|
91108
|
-
position: getValueOrDefault(config.legend_position, DEFAULTS$
|
|
91200
|
+
enabled: getValueOrDefault(config.legend_enabled, DEFAULTS$22.legend.enabled, "bool"),
|
|
91201
|
+
position: getValueOrDefault(config.legend_position, DEFAULTS$22.legend.position)
|
|
91109
91202
|
}),
|
|
91110
|
-
stackMeasuresToPercent: getValueOrDefault(config.stack_measures_to_100, DEFAULTS$
|
|
91111
|
-
stackMeasures: getValueOrDefault(config.stack_measures, DEFAULTS$
|
|
91203
|
+
stackMeasuresToPercent: getValueOrDefault(config.stack_measures_to_100, DEFAULTS$22.stackMeasuresToPercent, "bool"),
|
|
91204
|
+
stackMeasures: getValueOrDefault(config.stack_measures, DEFAULTS$22.stackMeasures, "bool"),
|
|
91112
91205
|
xaxis: saveConfigObject({
|
|
91113
91206
|
name: saveConfigObject({
|
|
91114
|
-
position: getValueOrDefault(config.xaxis_name_position, DEFAULTS$
|
|
91115
|
-
visible: getValueOrDefault(config.xaxis_name_visible, DEFAULTS$
|
|
91207
|
+
position: getValueOrDefault(config.xaxis_name_position, DEFAULTS$22.xaxis.name.position),
|
|
91208
|
+
visible: getValueOrDefault(config.xaxis_name_visible, DEFAULTS$22.xaxis.name.visible, "bool")
|
|
91116
91209
|
}),
|
|
91117
|
-
rotation: getValueOrDefault(config.xaxis_rotation, DEFAULTS$
|
|
91118
|
-
visible: getValueOrDefault(config.xaxis_visible, DEFAULTS$
|
|
91119
|
-
labelsEnabled: getValueOrDefault(config.xaxis_labels, DEFAULTS$
|
|
91210
|
+
rotation: getValueOrDefault(config.xaxis_rotation, DEFAULTS$22.xaxis.rotation),
|
|
91211
|
+
visible: getValueOrDefault(config.xaxis_visible, DEFAULTS$22.xaxis.visible, "bool"),
|
|
91212
|
+
labelsEnabled: getValueOrDefault(config.xaxis_labels, DEFAULTS$22.xaxis.labelsEnabled, "bool")
|
|
91120
91213
|
}),
|
|
91121
91214
|
yaxis: saveConfigObject({
|
|
91122
|
-
format: getValueOrDefault(config.yaxis_format, DEFAULTS$
|
|
91123
|
-
max: getValueOrDefault(config.yaxis_max, DEFAULTS$
|
|
91124
|
-
min: getValueOrDefault(config.yaxis_min, DEFAULTS$
|
|
91215
|
+
format: getValueOrDefault(config.yaxis_format, DEFAULTS$22.yaxis.format),
|
|
91216
|
+
max: getValueOrDefault(config.yaxis_max, DEFAULTS$22.yaxis.max),
|
|
91217
|
+
min: getValueOrDefault(config.yaxis_min, DEFAULTS$22.yaxis.min),
|
|
91125
91218
|
name: saveConfigObject({
|
|
91126
|
-
position: getValueOrDefault(config.yaxis_name_position, DEFAULTS$
|
|
91127
|
-
visible: getValueOrDefault(config.yaxis_name_visible, DEFAULTS$
|
|
91219
|
+
position: getValueOrDefault(config.yaxis_name_position, DEFAULTS$22.yaxis.name.position),
|
|
91220
|
+
visible: getValueOrDefault(config.yaxis_name_visible, DEFAULTS$22.yaxis.name.visible, "bool")
|
|
91128
91221
|
}),
|
|
91129
|
-
rotation: getValueOrDefault(config.yaxis_rotation, DEFAULTS$
|
|
91130
|
-
visible: getValueOrDefault(config.yaxis_visible, DEFAULTS$
|
|
91131
|
-
labelsEnabled: getValueOrDefault(config.yaxis_labels, DEFAULTS$
|
|
91222
|
+
rotation: getValueOrDefault(config.yaxis_rotation, DEFAULTS$22.yaxis.rotation),
|
|
91223
|
+
visible: getValueOrDefault(config.yaxis_visible, DEFAULTS$22.yaxis.visible, "bool"),
|
|
91224
|
+
labelsEnabled: getValueOrDefault(config.yaxis_labels, DEFAULTS$22.yaxis.labelsEnabled, "bool")
|
|
91132
91225
|
}),
|
|
91133
|
-
grid: saveConfigObject({ enabled: getValueOrDefault(config.grid_enabled, DEFAULTS$
|
|
91134
|
-
disableDrillDown: getValueOrDefault(config.disable_drill_down, DEFAULTS$
|
|
91226
|
+
grid: saveConfigObject({ enabled: getValueOrDefault(config.grid_enabled, DEFAULTS$22.grid.enabled, "bool") }),
|
|
91227
|
+
disableDrillDown: getValueOrDefault(config.disable_drill_down, DEFAULTS$22.disableDrillDown, "bool"),
|
|
91135
91228
|
disableDrillIntoURL: config.disable_drill_into_url === void 0 ? void 0 : !!config.disable_drill_into_url,
|
|
91136
|
-
disableAlerts: getValueOrDefault(config.disable_alerts, DEFAULTS$
|
|
91137
|
-
disableScheduledExports: getValueOrDefault(config.disable_scheduled_exports, DEFAULTS$
|
|
91229
|
+
disableAlerts: getValueOrDefault(config.disable_alerts, DEFAULTS$22.disableAlerts, "bool"),
|
|
91230
|
+
disableScheduledExports: getValueOrDefault(config.disable_scheduled_exports, DEFAULTS$22.disableScheduledExports, "bool"),
|
|
91138
91231
|
disableKeyDriveAnalysisOn: saveConfigObject(config.disable_key_drive_analysis),
|
|
91139
91232
|
customTooltip: saveConfigObject(saveCustomTooltip(config.custom_tooltip))
|
|
91140
91233
|
});
|
|
@@ -91146,12 +91239,12 @@ function areaChartSave(_fields, config) {
|
|
|
91146
91239
|
const areaChart = {
|
|
91147
91240
|
load: areaChartLoad,
|
|
91148
91241
|
save: areaChartSave,
|
|
91149
|
-
DEFAULTS: DEFAULTS$
|
|
91242
|
+
DEFAULTS: DEFAULTS$22
|
|
91150
91243
|
};
|
|
91151
91244
|
//#endregion
|
|
91152
91245
|
//#region ../../../sdk/libs/sdk-code-convertors/src/configs/barChart.ts
|
|
91153
91246
|
/** @internal */
|
|
91154
|
-
const DEFAULTS$
|
|
91247
|
+
const DEFAULTS$21 = {
|
|
91155
91248
|
colorMapping: [],
|
|
91156
91249
|
dataLabels: {
|
|
91157
91250
|
totalsVisible: "auto",
|
|
@@ -91202,46 +91295,46 @@ function barChartLoad(props) {
|
|
|
91202
91295
|
case "dataLabels": {
|
|
91203
91296
|
const val = value;
|
|
91204
91297
|
return [
|
|
91205
|
-
["data_labels", getValueOrDefault(val.visible, DEFAULTS$
|
|
91206
|
-
["data_totals", getValueOrDefault(val.totalsVisible, DEFAULTS$
|
|
91207
|
-
["data_labels_style", getValueOrDefault(val.style, DEFAULTS$
|
|
91298
|
+
["data_labels", getValueOrDefault(val.visible, DEFAULTS$21.dataLabels.visible, "bool_auto")],
|
|
91299
|
+
["data_totals", getValueOrDefault(val.totalsVisible, DEFAULTS$21.dataLabels.totalsVisible, "bool_auto")],
|
|
91300
|
+
["data_labels_style", getValueOrDefault(val.style, DEFAULTS$21.dataLabels.style)]
|
|
91208
91301
|
];
|
|
91209
91302
|
}
|
|
91210
|
-
case "chartFill": return [["chart_fill", loadChartFill(value, DEFAULTS$
|
|
91303
|
+
case "chartFill": return [["chart_fill", loadChartFill(value, DEFAULTS$21.chartFill)]];
|
|
91211
91304
|
case "legend": {
|
|
91212
91305
|
const val = value;
|
|
91213
|
-
return [["legend_enabled", getValueOrDefault(val.enabled, DEFAULTS$
|
|
91306
|
+
return [["legend_enabled", getValueOrDefault(val.enabled, DEFAULTS$21.legend.enabled, "bool")], ["legend_position", getValueOrDefault(val.position, DEFAULTS$21.legend.position)]];
|
|
91214
91307
|
}
|
|
91215
|
-
case "stackMeasuresToPercent": return [["stack_measures_to_100", getValueOrDefault(value, DEFAULTS$
|
|
91216
|
-
case "stackMeasures": return [["stack_measures", getValueOrDefault(value, DEFAULTS$
|
|
91308
|
+
case "stackMeasuresToPercent": return [["stack_measures_to_100", getValueOrDefault(value, DEFAULTS$21.stackMeasuresToPercent, "bool")]];
|
|
91309
|
+
case "stackMeasures": return [["stack_measures", getValueOrDefault(value, DEFAULTS$21.stackMeasures, "bool")]];
|
|
91217
91310
|
case "xaxis": {
|
|
91218
91311
|
const val = value;
|
|
91219
91312
|
return [
|
|
91220
|
-
["xaxis_format", getValueOrDefault(val.format, DEFAULTS$
|
|
91221
|
-
["xaxis_max", getValueOrDefault(val.max, DEFAULTS$
|
|
91222
|
-
["xaxis_min", getValueOrDefault(val.min, DEFAULTS$
|
|
91223
|
-
["xaxis_name_position", getValueOrDefault(val.name?.position, DEFAULTS$
|
|
91224
|
-
["xaxis_name_visible", getValueOrDefault(val.name?.visible, DEFAULTS$
|
|
91225
|
-
["xaxis_rotation", getValueOrDefault(val.rotation, DEFAULTS$
|
|
91226
|
-
["xaxis_visible", getValueOrDefault(val.visible, DEFAULTS$
|
|
91227
|
-
["xaxis_labels", getValueOrDefault(val.labelsEnabled, DEFAULTS$
|
|
91313
|
+
["xaxis_format", getValueOrDefault(val.format, DEFAULTS$21.xaxis.format)],
|
|
91314
|
+
["xaxis_max", getValueOrDefault(val.max, DEFAULTS$21.xaxis.max, "number")],
|
|
91315
|
+
["xaxis_min", getValueOrDefault(val.min, DEFAULTS$21.xaxis.min, "number")],
|
|
91316
|
+
["xaxis_name_position", getValueOrDefault(val.name?.position, DEFAULTS$21.xaxis.name.position)],
|
|
91317
|
+
["xaxis_name_visible", getValueOrDefault(val.name?.visible, DEFAULTS$21.xaxis.name.visible, "bool")],
|
|
91318
|
+
["xaxis_rotation", getValueOrDefault(val.rotation, DEFAULTS$21.xaxis.rotation)],
|
|
91319
|
+
["xaxis_visible", getValueOrDefault(val.visible, DEFAULTS$21.xaxis.visible, "bool")],
|
|
91320
|
+
["xaxis_labels", getValueOrDefault(val.labelsEnabled, DEFAULTS$21.xaxis.labelsEnabled, "bool")]
|
|
91228
91321
|
];
|
|
91229
91322
|
}
|
|
91230
91323
|
case "yaxis": {
|
|
91231
91324
|
const val = value;
|
|
91232
91325
|
return [
|
|
91233
|
-
["yaxis_name_position", getValueOrDefault(val.name?.position, DEFAULTS$
|
|
91234
|
-
["yaxis_name_visible", getValueOrDefault(val.name?.visible, DEFAULTS$
|
|
91235
|
-
["yaxis_rotation", getValueOrDefault(val.rotation, DEFAULTS$
|
|
91236
|
-
["yaxis_visible", getValueOrDefault(val.visible, DEFAULTS$
|
|
91237
|
-
["yaxis_labels", getValueOrDefault(val.labelsEnabled, DEFAULTS$
|
|
91326
|
+
["yaxis_name_position", getValueOrDefault(val.name?.position, DEFAULTS$21.yaxis.name.position)],
|
|
91327
|
+
["yaxis_name_visible", getValueOrDefault(val.name?.visible, DEFAULTS$21.yaxis.name.visible, "bool")],
|
|
91328
|
+
["yaxis_rotation", getValueOrDefault(val.rotation, DEFAULTS$21.yaxis.rotation)],
|
|
91329
|
+
["yaxis_visible", getValueOrDefault(val.visible, DEFAULTS$21.yaxis.visible, "bool")],
|
|
91330
|
+
["yaxis_labels", getValueOrDefault(val.labelsEnabled, DEFAULTS$21.yaxis.labelsEnabled, "bool")]
|
|
91238
91331
|
];
|
|
91239
91332
|
}
|
|
91240
|
-
case "grid": return [["grid_enabled", getValueOrDefault(value.enabled, DEFAULTS$
|
|
91241
|
-
case "disableDrillDown": return [["disable_drill_down", getValueOrDefault(value, DEFAULTS$
|
|
91333
|
+
case "grid": return [["grid_enabled", getValueOrDefault(value.enabled, DEFAULTS$21.grid.enabled, "bool")]];
|
|
91334
|
+
case "disableDrillDown": return [["disable_drill_down", getValueOrDefault(value, DEFAULTS$21.disableDrillDown, "bool")]];
|
|
91242
91335
|
case "disableDrillIntoURL": return [["disable_drill_into_url", value === void 0 ? void 0 : !!value]];
|
|
91243
|
-
case "disableAlerts": return [["disable_alerts", getValueOrDefault(value, DEFAULTS$
|
|
91244
|
-
case "disableScheduledExports": return [["disable_scheduled_exports", getValueOrDefault(value, DEFAULTS$
|
|
91336
|
+
case "disableAlerts": return [["disable_alerts", getValueOrDefault(value, DEFAULTS$21.disableAlerts, "bool")]];
|
|
91337
|
+
case "disableScheduledExports": return [["disable_scheduled_exports", getValueOrDefault(value, DEFAULTS$21.disableScheduledExports, "bool")]];
|
|
91245
91338
|
case "disableKeyDriveAnalysisOn": return [["disable_key_drive_analysis", loadDisableKda(value)]];
|
|
91246
91339
|
case "customTooltip": return [["custom_tooltip", loadCustomTooltip(value)]];
|
|
91247
91340
|
default: return [];
|
|
@@ -91254,43 +91347,43 @@ function barChartSave(_fields, config) {
|
|
|
91254
91347
|
return saveConfigObject({
|
|
91255
91348
|
colorMapping: saveConfigObject(saveColorMapping(config.colors ?? {})),
|
|
91256
91349
|
dataLabels: saveConfigObject({
|
|
91257
|
-
totalsVisible: getValueOrDefault(config.data_totals, DEFAULTS$
|
|
91258
|
-
visible: getValueOrDefault(config.data_labels, DEFAULTS$
|
|
91259
|
-
style: getValueOrDefault(config.data_labels_style, DEFAULTS$
|
|
91350
|
+
totalsVisible: getValueOrDefault(config.data_totals, DEFAULTS$21.dataLabels.totalsVisible, "bool_auto"),
|
|
91351
|
+
visible: getValueOrDefault(config.data_labels, DEFAULTS$21.dataLabels.visible, "bool_auto"),
|
|
91352
|
+
style: getValueOrDefault(config.data_labels_style, DEFAULTS$21.dataLabels.style)
|
|
91260
91353
|
}),
|
|
91261
|
-
chartFill: saveConfigObject(saveChartFill(config, DEFAULTS$
|
|
91354
|
+
chartFill: saveConfigObject(saveChartFill(config, DEFAULTS$21.chartFill)),
|
|
91262
91355
|
legend: saveConfigObject({
|
|
91263
|
-
enabled: getValueOrDefault(config.legend_enabled, DEFAULTS$
|
|
91264
|
-
position: getValueOrDefault(config.legend_position, DEFAULTS$
|
|
91356
|
+
enabled: getValueOrDefault(config.legend_enabled, DEFAULTS$21.legend.enabled, "bool"),
|
|
91357
|
+
position: getValueOrDefault(config.legend_position, DEFAULTS$21.legend.position)
|
|
91265
91358
|
}),
|
|
91266
|
-
stackMeasuresToPercent: getValueOrDefault(config.stack_measures_to_100, DEFAULTS$
|
|
91267
|
-
stackMeasures: getValueOrDefault(config.stack_measures, DEFAULTS$
|
|
91359
|
+
stackMeasuresToPercent: getValueOrDefault(config.stack_measures_to_100, DEFAULTS$21.stackMeasuresToPercent, "bool"),
|
|
91360
|
+
stackMeasures: getValueOrDefault(config.stack_measures, DEFAULTS$21.stackMeasures, "bool"),
|
|
91268
91361
|
xaxis: saveConfigObject({
|
|
91269
|
-
format: getValueOrDefault(config.xaxis_format, DEFAULTS$
|
|
91270
|
-
max: getValueOrDefault(config.xaxis_max, DEFAULTS$
|
|
91271
|
-
min: getValueOrDefault(config.xaxis_min, DEFAULTS$
|
|
91362
|
+
format: getValueOrDefault(config.xaxis_format, DEFAULTS$21.xaxis.format),
|
|
91363
|
+
max: getValueOrDefault(config.xaxis_max, DEFAULTS$21.xaxis.max),
|
|
91364
|
+
min: getValueOrDefault(config.xaxis_min, DEFAULTS$21.xaxis.min),
|
|
91272
91365
|
name: saveConfigObject({
|
|
91273
|
-
position: getValueOrDefault(config.xaxis_name_position, DEFAULTS$
|
|
91274
|
-
visible: getValueOrDefault(config.xaxis_name_visible, DEFAULTS$
|
|
91366
|
+
position: getValueOrDefault(config.xaxis_name_position, DEFAULTS$21.xaxis.name.position),
|
|
91367
|
+
visible: getValueOrDefault(config.xaxis_name_visible, DEFAULTS$21.xaxis.name.visible, "bool")
|
|
91275
91368
|
}),
|
|
91276
|
-
rotation: getValueOrDefault(config.xaxis_rotation, DEFAULTS$
|
|
91277
|
-
visible: getValueOrDefault(config.xaxis_visible, DEFAULTS$
|
|
91278
|
-
labelsEnabled: getValueOrDefault(config.xaxis_labels, DEFAULTS$
|
|
91369
|
+
rotation: getValueOrDefault(config.xaxis_rotation, DEFAULTS$21.xaxis.rotation),
|
|
91370
|
+
visible: getValueOrDefault(config.xaxis_visible, DEFAULTS$21.xaxis.visible, "bool"),
|
|
91371
|
+
labelsEnabled: getValueOrDefault(config.xaxis_labels, DEFAULTS$21.xaxis.labelsEnabled, "bool")
|
|
91279
91372
|
}),
|
|
91280
91373
|
yaxis: saveConfigObject({
|
|
91281
91374
|
name: saveConfigObject({
|
|
91282
|
-
position: getValueOrDefault(config.yaxis_name_position, DEFAULTS$
|
|
91283
|
-
visible: getValueOrDefault(config.yaxis_name_visible, DEFAULTS$
|
|
91375
|
+
position: getValueOrDefault(config.yaxis_name_position, DEFAULTS$21.yaxis.name.position),
|
|
91376
|
+
visible: getValueOrDefault(config.yaxis_name_visible, DEFAULTS$21.yaxis.name.visible, "bool")
|
|
91284
91377
|
}),
|
|
91285
|
-
rotation: getValueOrDefault(config.yaxis_rotation, DEFAULTS$
|
|
91286
|
-
visible: getValueOrDefault(config.yaxis_visible, DEFAULTS$
|
|
91287
|
-
labelsEnabled: getValueOrDefault(config.yaxis_labels, DEFAULTS$
|
|
91378
|
+
rotation: getValueOrDefault(config.yaxis_rotation, DEFAULTS$21.yaxis.rotation),
|
|
91379
|
+
visible: getValueOrDefault(config.yaxis_visible, DEFAULTS$21.yaxis.visible, "bool"),
|
|
91380
|
+
labelsEnabled: getValueOrDefault(config.yaxis_labels, DEFAULTS$21.yaxis.labelsEnabled, "bool")
|
|
91288
91381
|
}),
|
|
91289
|
-
grid: saveConfigObject({ enabled: getValueOrDefault(config.grid_enabled, DEFAULTS$
|
|
91290
|
-
disableDrillDown: getValueOrDefault(config.disable_drill_down, DEFAULTS$
|
|
91382
|
+
grid: saveConfigObject({ enabled: getValueOrDefault(config.grid_enabled, DEFAULTS$21.grid.enabled, "bool") }),
|
|
91383
|
+
disableDrillDown: getValueOrDefault(config.disable_drill_down, DEFAULTS$21.disableDrillDown, "bool"),
|
|
91291
91384
|
disableDrillIntoURL: config.disable_drill_into_url === void 0 ? void 0 : !!config.disable_drill_into_url,
|
|
91292
|
-
disableAlerts: getValueOrDefault(config.disable_alerts, DEFAULTS$
|
|
91293
|
-
disableScheduledExports: getValueOrDefault(config.disable_scheduled_exports, DEFAULTS$
|
|
91385
|
+
disableAlerts: getValueOrDefault(config.disable_alerts, DEFAULTS$21.disableAlerts, "bool"),
|
|
91386
|
+
disableScheduledExports: getValueOrDefault(config.disable_scheduled_exports, DEFAULTS$21.disableScheduledExports, "bool"),
|
|
91294
91387
|
disableKeyDriveAnalysisOn: saveConfigObject(config.disable_key_drive_analysis),
|
|
91295
91388
|
customTooltip: saveConfigObject(saveCustomTooltip(config.custom_tooltip))
|
|
91296
91389
|
});
|
|
@@ -91302,12 +91395,12 @@ function barChartSave(_fields, config) {
|
|
|
91302
91395
|
const barChart = {
|
|
91303
91396
|
load: barChartLoad,
|
|
91304
91397
|
save: barChartSave,
|
|
91305
|
-
DEFAULTS: DEFAULTS$
|
|
91398
|
+
DEFAULTS: DEFAULTS$21
|
|
91306
91399
|
};
|
|
91307
91400
|
//#endregion
|
|
91308
91401
|
//#region ../../../sdk/libs/sdk-code-convertors/src/configs/bubbleChart.ts
|
|
91309
91402
|
/** @internal */
|
|
91310
|
-
const DEFAULTS$
|
|
91403
|
+
const DEFAULTS$20 = {
|
|
91311
91404
|
colorMapping: [],
|
|
91312
91405
|
dataLabels: {
|
|
91313
91406
|
visible: false,
|
|
@@ -91356,43 +91449,43 @@ function bubbleChartLoad(props) {
|
|
|
91356
91449
|
case "colorMapping": return [["colors", loadColorMapping(value)]];
|
|
91357
91450
|
case "dataLabels": {
|
|
91358
91451
|
const val = value;
|
|
91359
|
-
return [["data_labels", getValueOrDefault(val.visible, DEFAULTS$
|
|
91452
|
+
return [["data_labels", getValueOrDefault(val.visible, DEFAULTS$20.dataLabels.visible, "bool_auto")], ["data_labels_style", getValueOrDefault(val.style, DEFAULTS$20.dataLabels.style)]];
|
|
91360
91453
|
}
|
|
91361
91454
|
case "legend": {
|
|
91362
91455
|
const val = value;
|
|
91363
|
-
return [["legend_enabled", getValueOrDefault(val.enabled, DEFAULTS$
|
|
91456
|
+
return [["legend_enabled", getValueOrDefault(val.enabled, DEFAULTS$20.legend.enabled, "bool")], ["legend_position", getValueOrDefault(val.position, DEFAULTS$20.legend.position)]];
|
|
91364
91457
|
}
|
|
91365
91458
|
case "xaxis": {
|
|
91366
91459
|
const val = value;
|
|
91367
91460
|
return [
|
|
91368
|
-
["xaxis_format", getValueOrDefault(val.format, DEFAULTS$
|
|
91369
|
-
["xaxis_max", getValueOrDefault(val.max, DEFAULTS$
|
|
91370
|
-
["xaxis_min", getValueOrDefault(val.min, DEFAULTS$
|
|
91371
|
-
["xaxis_name_position", getValueOrDefault(val.name?.position, DEFAULTS$
|
|
91372
|
-
["xaxis_name_visible", getValueOrDefault(val.name?.visible, DEFAULTS$
|
|
91373
|
-
["xaxis_rotation", getValueOrDefault(val.rotation, DEFAULTS$
|
|
91374
|
-
["xaxis_visible", getValueOrDefault(val.visible, DEFAULTS$
|
|
91375
|
-
["xaxis_labels", getValueOrDefault(val.labelsEnabled, DEFAULTS$
|
|
91461
|
+
["xaxis_format", getValueOrDefault(val.format, DEFAULTS$20.xaxis.format)],
|
|
91462
|
+
["xaxis_max", getValueOrDefault(val.max, DEFAULTS$20.xaxis.max, "number")],
|
|
91463
|
+
["xaxis_min", getValueOrDefault(val.min, DEFAULTS$20.xaxis.min, "number")],
|
|
91464
|
+
["xaxis_name_position", getValueOrDefault(val.name?.position, DEFAULTS$20.xaxis.name.position)],
|
|
91465
|
+
["xaxis_name_visible", getValueOrDefault(val.name?.visible, DEFAULTS$20.xaxis.name.visible, "bool")],
|
|
91466
|
+
["xaxis_rotation", getValueOrDefault(val.rotation, DEFAULTS$20.xaxis.rotation)],
|
|
91467
|
+
["xaxis_visible", getValueOrDefault(val.visible, DEFAULTS$20.xaxis.visible, "bool")],
|
|
91468
|
+
["xaxis_labels", getValueOrDefault(val.labelsEnabled, DEFAULTS$20.xaxis.labelsEnabled, "bool")]
|
|
91376
91469
|
];
|
|
91377
91470
|
}
|
|
91378
91471
|
case "yaxis": {
|
|
91379
91472
|
const val = value;
|
|
91380
91473
|
return [
|
|
91381
|
-
["yaxis_format", getValueOrDefault(val.format, DEFAULTS$
|
|
91382
|
-
["yaxis_max", getValueOrDefault(val.max, DEFAULTS$
|
|
91383
|
-
["yaxis_min", getValueOrDefault(val.min, DEFAULTS$
|
|
91384
|
-
["yaxis_name_position", getValueOrDefault(val.name?.position, DEFAULTS$
|
|
91385
|
-
["yaxis_name_visible", getValueOrDefault(val.name?.visible, DEFAULTS$
|
|
91386
|
-
["yaxis_rotation", getValueOrDefault(val.rotation, DEFAULTS$
|
|
91387
|
-
["yaxis_visible", getValueOrDefault(val.visible, DEFAULTS$
|
|
91388
|
-
["yaxis_labels", getValueOrDefault(val.labelsEnabled, DEFAULTS$
|
|
91474
|
+
["yaxis_format", getValueOrDefault(val.format, DEFAULTS$20.yaxis.format)],
|
|
91475
|
+
["yaxis_max", getValueOrDefault(val.max, DEFAULTS$20.yaxis.max, "number")],
|
|
91476
|
+
["yaxis_min", getValueOrDefault(val.min, DEFAULTS$20.yaxis.min, "number")],
|
|
91477
|
+
["yaxis_name_position", getValueOrDefault(val.name?.position, DEFAULTS$20.yaxis.name.position)],
|
|
91478
|
+
["yaxis_name_visible", getValueOrDefault(val.name?.visible, DEFAULTS$20.yaxis.name.visible, "bool")],
|
|
91479
|
+
["yaxis_rotation", getValueOrDefault(val.rotation, DEFAULTS$20.yaxis.rotation)],
|
|
91480
|
+
["yaxis_visible", getValueOrDefault(val.visible, DEFAULTS$20.yaxis.visible, "bool")],
|
|
91481
|
+
["yaxis_labels", getValueOrDefault(val.labelsEnabled, DEFAULTS$20.yaxis.labelsEnabled, "bool")]
|
|
91389
91482
|
];
|
|
91390
91483
|
}
|
|
91391
|
-
case "grid": return [["grid_enabled", getValueOrDefault(value.enabled, DEFAULTS$
|
|
91392
|
-
case "disableDrillDown": return [["disable_drill_down", getValueOrDefault(value, DEFAULTS$
|
|
91484
|
+
case "grid": return [["grid_enabled", getValueOrDefault(value.enabled, DEFAULTS$20.grid.enabled, "bool")]];
|
|
91485
|
+
case "disableDrillDown": return [["disable_drill_down", getValueOrDefault(value, DEFAULTS$20.disableDrillDown, "bool")]];
|
|
91393
91486
|
case "disableDrillIntoURL": return [["disable_drill_into_url", value === void 0 ? void 0 : !!value]];
|
|
91394
|
-
case "disableAlerts": return [["disable_alerts", getValueOrDefault(value, DEFAULTS$
|
|
91395
|
-
case "disableScheduledExports": return [["disable_scheduled_exports", getValueOrDefault(value, DEFAULTS$
|
|
91487
|
+
case "disableAlerts": return [["disable_alerts", getValueOrDefault(value, DEFAULTS$20.disableAlerts, "bool")]];
|
|
91488
|
+
case "disableScheduledExports": return [["disable_scheduled_exports", getValueOrDefault(value, DEFAULTS$20.disableScheduledExports, "bool")]];
|
|
91396
91489
|
case "disableKeyDriveAnalysisOn": return [["disable_key_drive_analysis", loadDisableKda(value)]];
|
|
91397
91490
|
case "customTooltip": return [["custom_tooltip", loadCustomTooltip(value)]];
|
|
91398
91491
|
default: return [];
|
|
@@ -91405,42 +91498,42 @@ function bubbleChartSave(_fields, config) {
|
|
|
91405
91498
|
return saveConfigObject({
|
|
91406
91499
|
colorMapping: saveConfigObject(saveColorMapping(config.colors ?? {})),
|
|
91407
91500
|
dataLabels: saveConfigObject({
|
|
91408
|
-
visible: getValueOrDefault(config.data_labels, DEFAULTS$
|
|
91409
|
-
style: getValueOrDefault(config.data_labels_style, DEFAULTS$
|
|
91501
|
+
visible: getValueOrDefault(config.data_labels, DEFAULTS$20.dataLabels.visible, "bool_auto"),
|
|
91502
|
+
style: getValueOrDefault(config.data_labels_style, DEFAULTS$20.dataLabels.style)
|
|
91410
91503
|
}),
|
|
91411
91504
|
legend: saveConfigObject({
|
|
91412
|
-
enabled: getValueOrDefault(config.legend_enabled, DEFAULTS$
|
|
91413
|
-
position: getValueOrDefault(config.legend_position, DEFAULTS$
|
|
91505
|
+
enabled: getValueOrDefault(config.legend_enabled, DEFAULTS$20.legend.enabled, "bool"),
|
|
91506
|
+
position: getValueOrDefault(config.legend_position, DEFAULTS$20.legend.position)
|
|
91414
91507
|
}),
|
|
91415
91508
|
xaxis: saveConfigObject({
|
|
91416
|
-
format: getValueOrDefault(config.xaxis_format, DEFAULTS$
|
|
91417
|
-
max: getValueOrDefault(config.xaxis_max, DEFAULTS$
|
|
91418
|
-
min: getValueOrDefault(config.xaxis_min, DEFAULTS$
|
|
91509
|
+
format: getValueOrDefault(config.xaxis_format, DEFAULTS$20.xaxis.format),
|
|
91510
|
+
max: getValueOrDefault(config.xaxis_max, DEFAULTS$20.xaxis.max),
|
|
91511
|
+
min: getValueOrDefault(config.xaxis_min, DEFAULTS$20.xaxis.min),
|
|
91419
91512
|
name: saveConfigObject({
|
|
91420
|
-
position: getValueOrDefault(config.xaxis_name_position, DEFAULTS$
|
|
91421
|
-
visible: getValueOrDefault(config.xaxis_name_visible, DEFAULTS$
|
|
91513
|
+
position: getValueOrDefault(config.xaxis_name_position, DEFAULTS$20.xaxis.name.position),
|
|
91514
|
+
visible: getValueOrDefault(config.xaxis_name_visible, DEFAULTS$20.xaxis.name.visible, "bool")
|
|
91422
91515
|
}),
|
|
91423
|
-
rotation: getValueOrDefault(config.xaxis_rotation, DEFAULTS$
|
|
91424
|
-
visible: getValueOrDefault(config.xaxis_visible, DEFAULTS$
|
|
91425
|
-
labelsEnabled: getValueOrDefault(config.xaxis_labels, DEFAULTS$
|
|
91516
|
+
rotation: getValueOrDefault(config.xaxis_rotation, DEFAULTS$20.xaxis.rotation),
|
|
91517
|
+
visible: getValueOrDefault(config.xaxis_visible, DEFAULTS$20.xaxis.visible, "bool"),
|
|
91518
|
+
labelsEnabled: getValueOrDefault(config.xaxis_labels, DEFAULTS$20.xaxis.labelsEnabled, "bool")
|
|
91426
91519
|
}),
|
|
91427
91520
|
yaxis: saveConfigObject({
|
|
91428
|
-
format: getValueOrDefault(config.yaxis_format, DEFAULTS$
|
|
91429
|
-
max: getValueOrDefault(config.yaxis_max, DEFAULTS$
|
|
91430
|
-
min: getValueOrDefault(config.yaxis_min, DEFAULTS$
|
|
91521
|
+
format: getValueOrDefault(config.yaxis_format, DEFAULTS$20.yaxis.format),
|
|
91522
|
+
max: getValueOrDefault(config.yaxis_max, DEFAULTS$20.yaxis.max),
|
|
91523
|
+
min: getValueOrDefault(config.yaxis_min, DEFAULTS$20.yaxis.min),
|
|
91431
91524
|
name: saveConfigObject({
|
|
91432
|
-
position: getValueOrDefault(config.yaxis_name_position, DEFAULTS$
|
|
91433
|
-
visible: getValueOrDefault(config.yaxis_name_visible, DEFAULTS$
|
|
91525
|
+
position: getValueOrDefault(config.yaxis_name_position, DEFAULTS$20.yaxis.name.position),
|
|
91526
|
+
visible: getValueOrDefault(config.yaxis_name_visible, DEFAULTS$20.yaxis.name.visible, "bool")
|
|
91434
91527
|
}),
|
|
91435
|
-
rotation: getValueOrDefault(config.yaxis_rotation, DEFAULTS$
|
|
91436
|
-
visible: getValueOrDefault(config.yaxis_visible, DEFAULTS$
|
|
91437
|
-
labelsEnabled: getValueOrDefault(config.yaxis_labels, DEFAULTS$
|
|
91528
|
+
rotation: getValueOrDefault(config.yaxis_rotation, DEFAULTS$20.yaxis.rotation),
|
|
91529
|
+
visible: getValueOrDefault(config.yaxis_visible, DEFAULTS$20.yaxis.visible, "bool"),
|
|
91530
|
+
labelsEnabled: getValueOrDefault(config.yaxis_labels, DEFAULTS$20.yaxis.labelsEnabled, "bool")
|
|
91438
91531
|
}),
|
|
91439
|
-
grid: saveConfigObject({ enabled: getValueOrDefault(config.grid_enabled, DEFAULTS$
|
|
91440
|
-
disableDrillDown: getValueOrDefault(config.disable_drill_down, DEFAULTS$
|
|
91532
|
+
grid: saveConfigObject({ enabled: getValueOrDefault(config.grid_enabled, DEFAULTS$20.grid.enabled, "bool") }),
|
|
91533
|
+
disableDrillDown: getValueOrDefault(config.disable_drill_down, DEFAULTS$20.disableDrillDown, "bool"),
|
|
91441
91534
|
disableDrillIntoURL: config.disable_drill_into_url === void 0 ? void 0 : !!config.disable_drill_into_url,
|
|
91442
|
-
disableAlerts: getValueOrDefault(config.disable_alerts, DEFAULTS$
|
|
91443
|
-
disableScheduledExports: getValueOrDefault(config.disable_scheduled_exports, DEFAULTS$
|
|
91535
|
+
disableAlerts: getValueOrDefault(config.disable_alerts, DEFAULTS$20.disableAlerts, "bool"),
|
|
91536
|
+
disableScheduledExports: getValueOrDefault(config.disable_scheduled_exports, DEFAULTS$20.disableScheduledExports, "bool"),
|
|
91444
91537
|
disableKeyDriveAnalysisOn: saveConfigObject(config.disable_key_drive_analysis),
|
|
91445
91538
|
customTooltip: saveConfigObject(saveCustomTooltip(config.custom_tooltip))
|
|
91446
91539
|
});
|
|
@@ -91452,12 +91545,12 @@ function bubbleChartSave(_fields, config) {
|
|
|
91452
91545
|
const bubbleChart = {
|
|
91453
91546
|
load: bubbleChartLoad,
|
|
91454
91547
|
save: bubbleChartSave,
|
|
91455
|
-
DEFAULTS: DEFAULTS$
|
|
91548
|
+
DEFAULTS: DEFAULTS$20
|
|
91456
91549
|
};
|
|
91457
91550
|
//#endregion
|
|
91458
91551
|
//#region ../../../sdk/libs/sdk-code-convertors/src/configs/bulletChart.ts
|
|
91459
91552
|
/** @internal */
|
|
91460
|
-
const DEFAULTS$
|
|
91553
|
+
const DEFAULTS$19 = {
|
|
91461
91554
|
colorMapping: [],
|
|
91462
91555
|
legend: {
|
|
91463
91556
|
enabled: true,
|
|
@@ -91500,37 +91593,37 @@ function bulletChartLoad(props) {
|
|
|
91500
91593
|
case "colorMapping": return [["colors", loadColorMapping(value)]];
|
|
91501
91594
|
case "legend": {
|
|
91502
91595
|
const val = value;
|
|
91503
|
-
return [["legend_enabled", getValueOrDefault(val.enabled, DEFAULTS$
|
|
91596
|
+
return [["legend_enabled", getValueOrDefault(val.enabled, DEFAULTS$19.legend.enabled, "bool")], ["legend_position", getValueOrDefault(val.position, DEFAULTS$19.legend.position)]];
|
|
91504
91597
|
}
|
|
91505
|
-
case "chartFill": return [["chart_fill", loadChartFill(value, DEFAULTS$
|
|
91598
|
+
case "chartFill": return [["chart_fill", loadChartFill(value, DEFAULTS$19.chartFill)]];
|
|
91506
91599
|
case "xaxis": {
|
|
91507
91600
|
const val = value;
|
|
91508
91601
|
return [
|
|
91509
|
-
["xaxis_format", getValueOrDefault(val.format, DEFAULTS$
|
|
91510
|
-
["xaxis_max", getValueOrDefault(val.max, DEFAULTS$
|
|
91511
|
-
["xaxis_min", getValueOrDefault(val.min, DEFAULTS$
|
|
91512
|
-
["xaxis_name_position", getValueOrDefault(val.name?.position, DEFAULTS$
|
|
91513
|
-
["xaxis_name_visible", getValueOrDefault(val.name?.visible, DEFAULTS$
|
|
91514
|
-
["xaxis_rotation", getValueOrDefault(val.rotation, DEFAULTS$
|
|
91515
|
-
["xaxis_visible", getValueOrDefault(val.visible, DEFAULTS$
|
|
91516
|
-
["xaxis_labels", getValueOrDefault(val.labelsEnabled, DEFAULTS$
|
|
91602
|
+
["xaxis_format", getValueOrDefault(val.format, DEFAULTS$19.xaxis.format)],
|
|
91603
|
+
["xaxis_max", getValueOrDefault(val.max, DEFAULTS$19.xaxis.max, "number")],
|
|
91604
|
+
["xaxis_min", getValueOrDefault(val.min, DEFAULTS$19.xaxis.min, "number")],
|
|
91605
|
+
["xaxis_name_position", getValueOrDefault(val.name?.position, DEFAULTS$19.xaxis.name.position)],
|
|
91606
|
+
["xaxis_name_visible", getValueOrDefault(val.name?.visible, DEFAULTS$19.xaxis.name.visible, "bool")],
|
|
91607
|
+
["xaxis_rotation", getValueOrDefault(val.rotation, DEFAULTS$19.xaxis.rotation)],
|
|
91608
|
+
["xaxis_visible", getValueOrDefault(val.visible, DEFAULTS$19.xaxis.visible, "bool")],
|
|
91609
|
+
["xaxis_labels", getValueOrDefault(val.labelsEnabled, DEFAULTS$19.xaxis.labelsEnabled, "bool")]
|
|
91517
91610
|
];
|
|
91518
91611
|
}
|
|
91519
91612
|
case "yaxis": {
|
|
91520
91613
|
const val = value;
|
|
91521
91614
|
return [
|
|
91522
|
-
["yaxis_name_position", getValueOrDefault(val.name?.position, DEFAULTS$
|
|
91523
|
-
["yaxis_name_visible", getValueOrDefault(val.name?.visible, DEFAULTS$
|
|
91524
|
-
["yaxis_labels", getValueOrDefault(val.labelsEnabled, DEFAULTS$
|
|
91525
|
-
["yaxis_rotation", getValueOrDefault(val.rotation, DEFAULTS$
|
|
91526
|
-
["yaxis_visible", getValueOrDefault(val.visible, DEFAULTS$
|
|
91615
|
+
["yaxis_name_position", getValueOrDefault(val.name?.position, DEFAULTS$19.yaxis.name.position)],
|
|
91616
|
+
["yaxis_name_visible", getValueOrDefault(val.name?.visible, DEFAULTS$19.yaxis.name.visible, "bool")],
|
|
91617
|
+
["yaxis_labels", getValueOrDefault(val.labelsEnabled, DEFAULTS$19.yaxis.labelsEnabled, "bool")],
|
|
91618
|
+
["yaxis_rotation", getValueOrDefault(val.rotation, DEFAULTS$19.yaxis.rotation)],
|
|
91619
|
+
["yaxis_visible", getValueOrDefault(val.visible, DEFAULTS$19.yaxis.visible, "bool")]
|
|
91527
91620
|
];
|
|
91528
91621
|
}
|
|
91529
|
-
case "grid": return [["grid_enabled", getValueOrDefault(value.enabled, DEFAULTS$
|
|
91530
|
-
case "disableDrillDown": return [["disable_drill_down", getValueOrDefault(value, DEFAULTS$
|
|
91622
|
+
case "grid": return [["grid_enabled", getValueOrDefault(value.enabled, DEFAULTS$19.grid.enabled, "bool")]];
|
|
91623
|
+
case "disableDrillDown": return [["disable_drill_down", getValueOrDefault(value, DEFAULTS$19.disableDrillDown, "bool")]];
|
|
91531
91624
|
case "disableDrillIntoURL": return [["disable_drill_into_url", value === void 0 ? void 0 : !!value]];
|
|
91532
|
-
case "disableAlerts": return [["disable_alerts", getValueOrDefault(value, DEFAULTS$
|
|
91533
|
-
case "disableScheduledExports": return [["disable_scheduled_exports", getValueOrDefault(value, DEFAULTS$
|
|
91625
|
+
case "disableAlerts": return [["disable_alerts", getValueOrDefault(value, DEFAULTS$19.disableAlerts, "bool")]];
|
|
91626
|
+
case "disableScheduledExports": return [["disable_scheduled_exports", getValueOrDefault(value, DEFAULTS$19.disableScheduledExports, "bool")]];
|
|
91534
91627
|
case "disableKeyDriveAnalysisOn": return [["disable_key_drive_analysis", loadDisableKda(value)]];
|
|
91535
91628
|
case "customTooltip": return [["custom_tooltip", loadCustomTooltip(value)]];
|
|
91536
91629
|
default: return [];
|
|
@@ -91543,36 +91636,36 @@ function bulletChartSave(_fields, config) {
|
|
|
91543
91636
|
return saveConfigObject({
|
|
91544
91637
|
colorMapping: saveConfigObject(saveColorMapping(config.colors ?? {})),
|
|
91545
91638
|
legend: saveConfigObject({
|
|
91546
|
-
enabled: getValueOrDefault(config.legend_enabled, DEFAULTS$
|
|
91547
|
-
position: getValueOrDefault(config.legend_position, DEFAULTS$
|
|
91639
|
+
enabled: getValueOrDefault(config.legend_enabled, DEFAULTS$19.legend.enabled, "bool"),
|
|
91640
|
+
position: getValueOrDefault(config.legend_position, DEFAULTS$19.legend.position)
|
|
91548
91641
|
}),
|
|
91549
|
-
chartFill: saveConfigObject(saveChartFill(config, DEFAULTS$
|
|
91642
|
+
chartFill: saveConfigObject(saveChartFill(config, DEFAULTS$19.chartFill)),
|
|
91550
91643
|
xaxis: saveConfigObject({
|
|
91551
|
-
format: getValueOrDefault(config.xaxis_format, DEFAULTS$
|
|
91552
|
-
max: getValueOrDefault(config.xaxis_max, DEFAULTS$
|
|
91553
|
-
min: getValueOrDefault(config.xaxis_min, DEFAULTS$
|
|
91644
|
+
format: getValueOrDefault(config.xaxis_format, DEFAULTS$19.xaxis.format),
|
|
91645
|
+
max: getValueOrDefault(config.xaxis_max, DEFAULTS$19.xaxis.max),
|
|
91646
|
+
min: getValueOrDefault(config.xaxis_min, DEFAULTS$19.xaxis.min),
|
|
91554
91647
|
name: saveConfigObject({
|
|
91555
|
-
position: getValueOrDefault(config.xaxis_name_position, DEFAULTS$
|
|
91556
|
-
visible: getValueOrDefault(config.xaxis_name_visible, DEFAULTS$
|
|
91648
|
+
position: getValueOrDefault(config.xaxis_name_position, DEFAULTS$19.xaxis.name.position),
|
|
91649
|
+
visible: getValueOrDefault(config.xaxis_name_visible, DEFAULTS$19.xaxis.name.visible, "bool")
|
|
91557
91650
|
}),
|
|
91558
|
-
rotation: getValueOrDefault(config.xaxis_rotation, DEFAULTS$
|
|
91559
|
-
visible: getValueOrDefault(config.xaxis_visible, DEFAULTS$
|
|
91560
|
-
labelsEnabled: getValueOrDefault(config.xaxis_labels, DEFAULTS$
|
|
91651
|
+
rotation: getValueOrDefault(config.xaxis_rotation, DEFAULTS$19.xaxis.rotation),
|
|
91652
|
+
visible: getValueOrDefault(config.xaxis_visible, DEFAULTS$19.xaxis.visible, "bool"),
|
|
91653
|
+
labelsEnabled: getValueOrDefault(config.xaxis_labels, DEFAULTS$19.xaxis.labelsEnabled, "bool")
|
|
91561
91654
|
}),
|
|
91562
91655
|
yaxis: saveConfigObject({
|
|
91563
91656
|
name: saveConfigObject({
|
|
91564
|
-
position: getValueOrDefault(config.yaxis_name_position, DEFAULTS$
|
|
91565
|
-
visible: getValueOrDefault(config.yaxis_name_visible, DEFAULTS$
|
|
91657
|
+
position: getValueOrDefault(config.yaxis_name_position, DEFAULTS$19.yaxis.name.position),
|
|
91658
|
+
visible: getValueOrDefault(config.yaxis_name_visible, DEFAULTS$19.yaxis.name.visible, "bool")
|
|
91566
91659
|
}),
|
|
91567
|
-
rotation: getValueOrDefault(config.yaxis_rotation, DEFAULTS$
|
|
91568
|
-
visible: getValueOrDefault(config.yaxis_visible, DEFAULTS$
|
|
91569
|
-
labelsEnabled: getValueOrDefault(config.yaxis_labels, DEFAULTS$
|
|
91660
|
+
rotation: getValueOrDefault(config.yaxis_rotation, DEFAULTS$19.yaxis.rotation),
|
|
91661
|
+
visible: getValueOrDefault(config.yaxis_visible, DEFAULTS$19.yaxis.visible, "bool"),
|
|
91662
|
+
labelsEnabled: getValueOrDefault(config.yaxis_labels, DEFAULTS$19.yaxis.labelsEnabled, "bool")
|
|
91570
91663
|
}),
|
|
91571
|
-
grid: saveConfigObject({ enabled: getValueOrDefault(config.grid_enabled, DEFAULTS$
|
|
91572
|
-
disableDrillDown: getValueOrDefault(config.disable_drill_down, DEFAULTS$
|
|
91664
|
+
grid: saveConfigObject({ enabled: getValueOrDefault(config.grid_enabled, DEFAULTS$19.grid.enabled, "bool") }),
|
|
91665
|
+
disableDrillDown: getValueOrDefault(config.disable_drill_down, DEFAULTS$19.disableDrillDown, "bool"),
|
|
91573
91666
|
disableDrillIntoURL: config.disable_drill_into_url === void 0 ? void 0 : !!config.disable_drill_into_url,
|
|
91574
|
-
disableAlerts: getValueOrDefault(config.disable_alerts, DEFAULTS$
|
|
91575
|
-
disableScheduledExports: getValueOrDefault(config.disable_scheduled_exports, DEFAULTS$
|
|
91667
|
+
disableAlerts: getValueOrDefault(config.disable_alerts, DEFAULTS$19.disableAlerts, "bool"),
|
|
91668
|
+
disableScheduledExports: getValueOrDefault(config.disable_scheduled_exports, DEFAULTS$19.disableScheduledExports, "bool"),
|
|
91576
91669
|
disableKeyDriveAnalysisOn: saveConfigObject(config.disable_key_drive_analysis),
|
|
91577
91670
|
customTooltip: saveConfigObject(saveCustomTooltip(config.custom_tooltip))
|
|
91578
91671
|
});
|
|
@@ -91584,12 +91677,12 @@ function bulletChartSave(_fields, config) {
|
|
|
91584
91677
|
const bulletChart = {
|
|
91585
91678
|
load: bulletChartLoad,
|
|
91586
91679
|
save: bulletChartSave,
|
|
91587
|
-
DEFAULTS: DEFAULTS$
|
|
91680
|
+
DEFAULTS: DEFAULTS$19
|
|
91588
91681
|
};
|
|
91589
91682
|
//#endregion
|
|
91590
91683
|
//#region ../../../sdk/libs/sdk-code-convertors/src/configs/columnChart.ts
|
|
91591
91684
|
/** @internal */
|
|
91592
|
-
const DEFAULTS$
|
|
91685
|
+
const DEFAULTS$18 = {
|
|
91593
91686
|
colorMapping: [],
|
|
91594
91687
|
dataLabels: {
|
|
91595
91688
|
totalsVisible: "auto",
|
|
@@ -91640,46 +91733,46 @@ function columnChartLoad(props) {
|
|
|
91640
91733
|
case "dataLabels": {
|
|
91641
91734
|
const val = value;
|
|
91642
91735
|
return [
|
|
91643
|
-
["data_labels", getValueOrDefault(val.visible, DEFAULTS$
|
|
91644
|
-
["data_totals", getValueOrDefault(val.totalsVisible, DEFAULTS$
|
|
91645
|
-
["data_labels_style", getValueOrDefault(val.style, DEFAULTS$
|
|
91736
|
+
["data_labels", getValueOrDefault(val.visible, DEFAULTS$18.dataLabels.visible, "bool_auto")],
|
|
91737
|
+
["data_totals", getValueOrDefault(val.totalsVisible, DEFAULTS$18.dataLabels.totalsVisible, "bool_auto")],
|
|
91738
|
+
["data_labels_style", getValueOrDefault(val.style, DEFAULTS$18.dataLabels.style)]
|
|
91646
91739
|
];
|
|
91647
91740
|
}
|
|
91648
|
-
case "chartFill": return [["chart_fill", loadChartFill(value, DEFAULTS$
|
|
91741
|
+
case "chartFill": return [["chart_fill", loadChartFill(value, DEFAULTS$18.chartFill)]];
|
|
91649
91742
|
case "legend": {
|
|
91650
91743
|
const val = value;
|
|
91651
|
-
return [["legend_enabled", getValueOrDefault(val.enabled, DEFAULTS$
|
|
91744
|
+
return [["legend_enabled", getValueOrDefault(val.enabled, DEFAULTS$18.legend.enabled, "bool")], ["legend_position", getValueOrDefault(val.position, DEFAULTS$18.legend.position)]];
|
|
91652
91745
|
}
|
|
91653
|
-
case "stackMeasuresToPercent": return [["stack_measures_to_100", getValueOrDefault(value, DEFAULTS$
|
|
91654
|
-
case "stackMeasures": return [["stack_measures", getValueOrDefault(value, DEFAULTS$
|
|
91746
|
+
case "stackMeasuresToPercent": return [["stack_measures_to_100", getValueOrDefault(value, DEFAULTS$18.stackMeasuresToPercent, "bool")]];
|
|
91747
|
+
case "stackMeasures": return [["stack_measures", getValueOrDefault(value, DEFAULTS$18.stackMeasures, "bool")]];
|
|
91655
91748
|
case "xaxis": {
|
|
91656
91749
|
const val = value;
|
|
91657
91750
|
return [
|
|
91658
|
-
["xaxis_name_position", getValueOrDefault(val.name?.position, DEFAULTS$
|
|
91659
|
-
["xaxis_name_visible", getValueOrDefault(val.name?.visible, DEFAULTS$
|
|
91660
|
-
["xaxis_rotation", getValueOrDefault(val.rotation, DEFAULTS$
|
|
91661
|
-
["xaxis_visible", getValueOrDefault(val.visible, DEFAULTS$
|
|
91662
|
-
["xaxis_labels", getValueOrDefault(val.labelsEnabled, DEFAULTS$
|
|
91751
|
+
["xaxis_name_position", getValueOrDefault(val.name?.position, DEFAULTS$18.xaxis.name.position)],
|
|
91752
|
+
["xaxis_name_visible", getValueOrDefault(val.name?.visible, DEFAULTS$18.xaxis.name.visible, "bool")],
|
|
91753
|
+
["xaxis_rotation", getValueOrDefault(val.rotation, DEFAULTS$18.xaxis.rotation)],
|
|
91754
|
+
["xaxis_visible", getValueOrDefault(val.visible, DEFAULTS$18.xaxis.visible, "bool")],
|
|
91755
|
+
["xaxis_labels", getValueOrDefault(val.labelsEnabled, DEFAULTS$18.xaxis.labelsEnabled, "bool")]
|
|
91663
91756
|
];
|
|
91664
91757
|
}
|
|
91665
91758
|
case "yaxis": {
|
|
91666
91759
|
const val = value;
|
|
91667
91760
|
return [
|
|
91668
|
-
["yaxis_format", getValueOrDefault(val.format, DEFAULTS$
|
|
91669
|
-
["yaxis_max", getValueOrDefault(val.max, DEFAULTS$
|
|
91670
|
-
["yaxis_min", getValueOrDefault(val.min, DEFAULTS$
|
|
91671
|
-
["yaxis_name_position", getValueOrDefault(val.name?.position, DEFAULTS$
|
|
91672
|
-
["yaxis_name_visible", getValueOrDefault(val.name?.visible, DEFAULTS$
|
|
91673
|
-
["yaxis_labels", getValueOrDefault(val.labelsEnabled, DEFAULTS$
|
|
91674
|
-
["yaxis_rotation", getValueOrDefault(val.rotation, DEFAULTS$
|
|
91675
|
-
["yaxis_visible", getValueOrDefault(val.visible, DEFAULTS$
|
|
91761
|
+
["yaxis_format", getValueOrDefault(val.format, DEFAULTS$18.yaxis.format)],
|
|
91762
|
+
["yaxis_max", getValueOrDefault(val.max, DEFAULTS$18.yaxis.max, "number")],
|
|
91763
|
+
["yaxis_min", getValueOrDefault(val.min, DEFAULTS$18.yaxis.min, "number")],
|
|
91764
|
+
["yaxis_name_position", getValueOrDefault(val.name?.position, DEFAULTS$18.yaxis.name.position)],
|
|
91765
|
+
["yaxis_name_visible", getValueOrDefault(val.name?.visible, DEFAULTS$18.yaxis.name.visible, "bool")],
|
|
91766
|
+
["yaxis_labels", getValueOrDefault(val.labelsEnabled, DEFAULTS$18.yaxis.labelsEnabled, "bool")],
|
|
91767
|
+
["yaxis_rotation", getValueOrDefault(val.rotation, DEFAULTS$18.yaxis.rotation)],
|
|
91768
|
+
["yaxis_visible", getValueOrDefault(val.visible, DEFAULTS$18.yaxis.visible, "bool")]
|
|
91676
91769
|
];
|
|
91677
91770
|
}
|
|
91678
|
-
case "grid": return [["grid_enabled", getValueOrDefault(value.enabled, DEFAULTS$
|
|
91679
|
-
case "disableDrillDown": return [["disable_drill_down", getValueOrDefault(value, DEFAULTS$
|
|
91771
|
+
case "grid": return [["grid_enabled", getValueOrDefault(value.enabled, DEFAULTS$18.grid.enabled, "bool")]];
|
|
91772
|
+
case "disableDrillDown": return [["disable_drill_down", getValueOrDefault(value, DEFAULTS$18.disableDrillDown, "bool")]];
|
|
91680
91773
|
case "disableDrillIntoURL": return [["disable_drill_into_url", value === void 0 ? void 0 : !!value]];
|
|
91681
|
-
case "disableAlerts": return [["disable_alerts", getValueOrDefault(value, DEFAULTS$
|
|
91682
|
-
case "disableScheduledExports": return [["disable_scheduled_exports", getValueOrDefault(value, DEFAULTS$
|
|
91774
|
+
case "disableAlerts": return [["disable_alerts", getValueOrDefault(value, DEFAULTS$18.disableAlerts, "bool")]];
|
|
91775
|
+
case "disableScheduledExports": return [["disable_scheduled_exports", getValueOrDefault(value, DEFAULTS$18.disableScheduledExports, "bool")]];
|
|
91683
91776
|
case "disableKeyDriveAnalysisOn": return [["disable_key_drive_analysis", loadDisableKda(value)]];
|
|
91684
91777
|
case "customTooltip": return [["custom_tooltip", loadCustomTooltip(value)]];
|
|
91685
91778
|
default: return [];
|
|
@@ -91692,43 +91785,43 @@ function columnChartSave(_fields, config) {
|
|
|
91692
91785
|
return saveConfigObject({
|
|
91693
91786
|
colorMapping: saveConfigObject(saveColorMapping(config.colors ?? {})),
|
|
91694
91787
|
dataLabels: saveConfigObject({
|
|
91695
|
-
totalsVisible: getValueOrDefault(config.data_totals, DEFAULTS$
|
|
91696
|
-
visible: getValueOrDefault(config.data_labels, DEFAULTS$
|
|
91697
|
-
style: getValueOrDefault(config.data_labels_style, DEFAULTS$
|
|
91788
|
+
totalsVisible: getValueOrDefault(config.data_totals, DEFAULTS$18.dataLabels.totalsVisible, "bool_auto"),
|
|
91789
|
+
visible: getValueOrDefault(config.data_labels, DEFAULTS$18.dataLabels.visible, "bool_auto"),
|
|
91790
|
+
style: getValueOrDefault(config.data_labels_style, DEFAULTS$18.dataLabels.style)
|
|
91698
91791
|
}),
|
|
91699
|
-
chartFill: saveConfigObject(saveChartFill(config, DEFAULTS$
|
|
91792
|
+
chartFill: saveConfigObject(saveChartFill(config, DEFAULTS$18.chartFill)),
|
|
91700
91793
|
legend: saveConfigObject({
|
|
91701
|
-
enabled: getValueOrDefault(config.legend_enabled, DEFAULTS$
|
|
91702
|
-
position: getValueOrDefault(config.legend_position, DEFAULTS$
|
|
91794
|
+
enabled: getValueOrDefault(config.legend_enabled, DEFAULTS$18.legend.enabled, "bool"),
|
|
91795
|
+
position: getValueOrDefault(config.legend_position, DEFAULTS$18.legend.position)
|
|
91703
91796
|
}),
|
|
91704
|
-
stackMeasuresToPercent: getValueOrDefault(config.stack_measures_to_100, DEFAULTS$
|
|
91705
|
-
stackMeasures: getValueOrDefault(config.stack_measures, DEFAULTS$
|
|
91797
|
+
stackMeasuresToPercent: getValueOrDefault(config.stack_measures_to_100, DEFAULTS$18.stackMeasuresToPercent, "bool"),
|
|
91798
|
+
stackMeasures: getValueOrDefault(config.stack_measures, DEFAULTS$18.stackMeasures, "bool"),
|
|
91706
91799
|
xaxis: saveConfigObject({
|
|
91707
91800
|
name: saveConfigObject({
|
|
91708
|
-
position: getValueOrDefault(config.xaxis_name_position, DEFAULTS$
|
|
91709
|
-
visible: getValueOrDefault(config.xaxis_name_visible, DEFAULTS$
|
|
91801
|
+
position: getValueOrDefault(config.xaxis_name_position, DEFAULTS$18.xaxis.name.position),
|
|
91802
|
+
visible: getValueOrDefault(config.xaxis_name_visible, DEFAULTS$18.xaxis.name.visible, "bool")
|
|
91710
91803
|
}),
|
|
91711
|
-
rotation: getValueOrDefault(config.xaxis_rotation, DEFAULTS$
|
|
91712
|
-
visible: getValueOrDefault(config.xaxis_visible, DEFAULTS$
|
|
91713
|
-
labelsEnabled: getValueOrDefault(config.xaxis_labels, DEFAULTS$
|
|
91804
|
+
rotation: getValueOrDefault(config.xaxis_rotation, DEFAULTS$18.xaxis.rotation),
|
|
91805
|
+
visible: getValueOrDefault(config.xaxis_visible, DEFAULTS$18.xaxis.visible, "bool"),
|
|
91806
|
+
labelsEnabled: getValueOrDefault(config.xaxis_labels, DEFAULTS$18.xaxis.labelsEnabled, "bool")
|
|
91714
91807
|
}),
|
|
91715
91808
|
yaxis: saveConfigObject({
|
|
91716
|
-
format: getValueOrDefault(config.yaxis_format, DEFAULTS$
|
|
91717
|
-
max: getValueOrDefault(config.yaxis_max, DEFAULTS$
|
|
91718
|
-
min: getValueOrDefault(config.yaxis_min, DEFAULTS$
|
|
91809
|
+
format: getValueOrDefault(config.yaxis_format, DEFAULTS$18.yaxis.format),
|
|
91810
|
+
max: getValueOrDefault(config.yaxis_max, DEFAULTS$18.yaxis.max),
|
|
91811
|
+
min: getValueOrDefault(config.yaxis_min, DEFAULTS$18.yaxis.min),
|
|
91719
91812
|
name: saveConfigObject({
|
|
91720
|
-
position: getValueOrDefault(config.yaxis_name_position, DEFAULTS$
|
|
91721
|
-
visible: getValueOrDefault(config.yaxis_name_visible, DEFAULTS$
|
|
91813
|
+
position: getValueOrDefault(config.yaxis_name_position, DEFAULTS$18.yaxis.name.position),
|
|
91814
|
+
visible: getValueOrDefault(config.yaxis_name_visible, DEFAULTS$18.yaxis.name.visible, "bool")
|
|
91722
91815
|
}),
|
|
91723
|
-
rotation: getValueOrDefault(config.yaxis_rotation, DEFAULTS$
|
|
91724
|
-
visible: getValueOrDefault(config.yaxis_visible, DEFAULTS$
|
|
91725
|
-
labelsEnabled: getValueOrDefault(config.yaxis_labels, DEFAULTS$
|
|
91816
|
+
rotation: getValueOrDefault(config.yaxis_rotation, DEFAULTS$18.yaxis.rotation),
|
|
91817
|
+
visible: getValueOrDefault(config.yaxis_visible, DEFAULTS$18.yaxis.visible, "bool"),
|
|
91818
|
+
labelsEnabled: getValueOrDefault(config.yaxis_labels, DEFAULTS$18.yaxis.labelsEnabled, "bool")
|
|
91726
91819
|
}),
|
|
91727
|
-
grid: saveConfigObject({ enabled: getValueOrDefault(config.grid_enabled, DEFAULTS$
|
|
91728
|
-
disableDrillDown: getValueOrDefault(config.disable_drill_down, DEFAULTS$
|
|
91820
|
+
grid: saveConfigObject({ enabled: getValueOrDefault(config.grid_enabled, DEFAULTS$18.grid.enabled, "bool") }),
|
|
91821
|
+
disableDrillDown: getValueOrDefault(config.disable_drill_down, DEFAULTS$18.disableDrillDown, "bool"),
|
|
91729
91822
|
disableDrillIntoURL: config.disable_drill_into_url === void 0 ? void 0 : !!config.disable_drill_into_url,
|
|
91730
|
-
disableAlerts: getValueOrDefault(config.disable_alerts, DEFAULTS$
|
|
91731
|
-
disableScheduledExports: getValueOrDefault(config.disable_scheduled_exports, DEFAULTS$
|
|
91823
|
+
disableAlerts: getValueOrDefault(config.disable_alerts, DEFAULTS$18.disableAlerts, "bool"),
|
|
91824
|
+
disableScheduledExports: getValueOrDefault(config.disable_scheduled_exports, DEFAULTS$18.disableScheduledExports, "bool"),
|
|
91732
91825
|
disableKeyDriveAnalysisOn: saveConfigObject(config.disable_key_drive_analysis),
|
|
91733
91826
|
customTooltip: saveConfigObject(saveCustomTooltip(config.custom_tooltip))
|
|
91734
91827
|
});
|
|
@@ -91740,12 +91833,12 @@ function columnChartSave(_fields, config) {
|
|
|
91740
91833
|
const columnChart = {
|
|
91741
91834
|
load: columnChartLoad,
|
|
91742
91835
|
save: columnChartSave,
|
|
91743
|
-
DEFAULTS: DEFAULTS$
|
|
91836
|
+
DEFAULTS: DEFAULTS$18
|
|
91744
91837
|
};
|
|
91745
91838
|
//#endregion
|
|
91746
91839
|
//#region ../../../sdk/libs/sdk-code-convertors/src/configs/comboChart.ts
|
|
91747
91840
|
/** @internal */
|
|
91748
|
-
const DEFAULTS$
|
|
91841
|
+
const DEFAULTS$17 = {
|
|
91749
91842
|
colorMapping: [],
|
|
91750
91843
|
continuousLine: { enabled: false },
|
|
91751
91844
|
distinctPointShapes: { enabled: false },
|
|
@@ -91814,74 +91907,74 @@ function comboChartLoad(props) {
|
|
|
91814
91907
|
return loadConfig(props, (key, value) => {
|
|
91815
91908
|
switch (key) {
|
|
91816
91909
|
case "colorMapping": return [["colors", loadColorMapping(value)]];
|
|
91817
|
-
case "continuousLine": return [["continuous_line", getValueOrDefault(value.enabled, DEFAULTS$
|
|
91910
|
+
case "continuousLine": return [["continuous_line", getValueOrDefault(value.enabled, DEFAULTS$17.continuousLine.enabled, "bool")]];
|
|
91818
91911
|
case "distinctPointShapes": {
|
|
91819
91912
|
const val = value;
|
|
91820
91913
|
return [["distinct_point_shapes", {
|
|
91821
|
-
enabled: getValueOrDefault(val.enabled, DEFAULTS$
|
|
91822
|
-
point_shape_mapping: val.pointShapeMapping ?? DEFAULTS$
|
|
91914
|
+
enabled: getValueOrDefault(val.enabled, DEFAULTS$17.distinctPointShapes.enabled, "bool"),
|
|
91915
|
+
point_shape_mapping: val.pointShapeMapping ?? DEFAULTS$17.distinctPointShapes.pointShapeMapping
|
|
91823
91916
|
}]];
|
|
91824
91917
|
}
|
|
91825
|
-
case "chartFill": return [["chart_fill", loadChartFill(value, DEFAULTS$
|
|
91826
|
-
case "dataPoints": return [["data_points", getValueOrDefault(value.visible, DEFAULTS$
|
|
91918
|
+
case "chartFill": return [["chart_fill", loadChartFill(value, DEFAULTS$17.chartFill)]];
|
|
91919
|
+
case "dataPoints": return [["data_points", getValueOrDefault(value.visible, DEFAULTS$17.dataPoints.visible, "bool_auto")]];
|
|
91827
91920
|
case "dataLabels": {
|
|
91828
91921
|
const val = value;
|
|
91829
|
-
return [["data_labels", getValueOrDefault(val.visible, DEFAULTS$
|
|
91922
|
+
return [["data_labels", getValueOrDefault(val.visible, DEFAULTS$17.dataLabels.visible, "bool_auto")], ["data_labels_style", getValueOrDefault(val.style, DEFAULTS$17.dataLabels.style)]];
|
|
91830
91923
|
}
|
|
91831
91924
|
case "legend": {
|
|
91832
91925
|
const val = value;
|
|
91833
|
-
return [["legend_enabled", getValueOrDefault(val.enabled, DEFAULTS$
|
|
91926
|
+
return [["legend_enabled", getValueOrDefault(val.enabled, DEFAULTS$17.legend.enabled, "bool")], ["legend_position", getValueOrDefault(val.position, DEFAULTS$17.legend.position)]];
|
|
91834
91927
|
}
|
|
91835
|
-
case "stackMeasuresToPercent": return [["stack_measures_to_100", getValueOrDefault(value, DEFAULTS$
|
|
91836
|
-
case "stackMeasures": return [["stack_measures", getValueOrDefault(value, DEFAULTS$
|
|
91928
|
+
case "stackMeasuresToPercent": return [["stack_measures_to_100", getValueOrDefault(value, DEFAULTS$17.stackMeasuresToPercent, "bool")]];
|
|
91929
|
+
case "stackMeasures": return [["stack_measures", getValueOrDefault(value, DEFAULTS$17.stackMeasures, "bool")]];
|
|
91837
91930
|
case "xaxis": {
|
|
91838
91931
|
const val = value;
|
|
91839
91932
|
return [
|
|
91840
|
-
["xaxis_name_position", getValueOrDefault(val.name?.position, DEFAULTS$
|
|
91841
|
-
["xaxis_name_visible", getValueOrDefault(val.name?.visible, DEFAULTS$
|
|
91842
|
-
["xaxis_rotation", getValueOrDefault(val.rotation, DEFAULTS$
|
|
91843
|
-
["xaxis_visible", getValueOrDefault(val.visible, DEFAULTS$
|
|
91844
|
-
["xaxis_labels", getValueOrDefault(val.labelsEnabled, DEFAULTS$
|
|
91933
|
+
["xaxis_name_position", getValueOrDefault(val.name?.position, DEFAULTS$17.xaxis.name.position)],
|
|
91934
|
+
["xaxis_name_visible", getValueOrDefault(val.name?.visible, DEFAULTS$17.xaxis.name.visible, "bool")],
|
|
91935
|
+
["xaxis_rotation", getValueOrDefault(val.rotation, DEFAULTS$17.xaxis.rotation)],
|
|
91936
|
+
["xaxis_visible", getValueOrDefault(val.visible, DEFAULTS$17.xaxis.visible, "bool")],
|
|
91937
|
+
["xaxis_labels", getValueOrDefault(val.labelsEnabled, DEFAULTS$17.xaxis.labelsEnabled, "bool")]
|
|
91845
91938
|
];
|
|
91846
91939
|
}
|
|
91847
|
-
case "primaryChartType": return [["yaxis_primary_type", getValueOrDefault(value, DEFAULTS$
|
|
91940
|
+
case "primaryChartType": return [["yaxis_primary_type", getValueOrDefault(value, DEFAULTS$17.primaryChartType)]];
|
|
91848
91941
|
case "yaxis": {
|
|
91849
91942
|
const val = value;
|
|
91850
91943
|
return [
|
|
91851
|
-
["yaxis_primary_format", getValueOrDefault(val.format, DEFAULTS$
|
|
91852
|
-
["yaxis_primary_max", getValueOrDefault(val.max, DEFAULTS$
|
|
91853
|
-
["yaxis_primary_min", getValueOrDefault(val.min, DEFAULTS$
|
|
91854
|
-
["yaxis_primary_name_position", getValueOrDefault(val.name?.position, DEFAULTS$
|
|
91855
|
-
["yaxis_primary_name_visible", getValueOrDefault(val.name?.visible, DEFAULTS$
|
|
91856
|
-
["yaxis_primary_rotation", getValueOrDefault(val.rotation, DEFAULTS$
|
|
91857
|
-
["yaxis_primary_visible", getValueOrDefault(val.visible, DEFAULTS$
|
|
91858
|
-
["yaxis_primary_labels", getValueOrDefault(val.labelsEnabled, DEFAULTS$
|
|
91944
|
+
["yaxis_primary_format", getValueOrDefault(val.format, DEFAULTS$17.yaxis.format)],
|
|
91945
|
+
["yaxis_primary_max", getValueOrDefault(val.max, DEFAULTS$17.yaxis.max, "number")],
|
|
91946
|
+
["yaxis_primary_min", getValueOrDefault(val.min, DEFAULTS$17.yaxis.min, "number")],
|
|
91947
|
+
["yaxis_primary_name_position", getValueOrDefault(val.name?.position, DEFAULTS$17.yaxis.name.position)],
|
|
91948
|
+
["yaxis_primary_name_visible", getValueOrDefault(val.name?.visible, DEFAULTS$17.yaxis.name.visible, "bool")],
|
|
91949
|
+
["yaxis_primary_rotation", getValueOrDefault(val.rotation, DEFAULTS$17.yaxis.rotation)],
|
|
91950
|
+
["yaxis_primary_visible", getValueOrDefault(val.visible, DEFAULTS$17.yaxis.visible, "bool")],
|
|
91951
|
+
["yaxis_primary_labels", getValueOrDefault(val.labelsEnabled, DEFAULTS$17.yaxis.labelsEnabled, "bool")]
|
|
91859
91952
|
];
|
|
91860
91953
|
}
|
|
91861
|
-
case "secondaryChartType": return [["yaxis_secondary_type", getValueOrDefault(value, DEFAULTS$
|
|
91954
|
+
case "secondaryChartType": return [["yaxis_secondary_type", getValueOrDefault(value, DEFAULTS$17.secondaryChartType)]];
|
|
91862
91955
|
case "secondary_yaxis": {
|
|
91863
91956
|
const val = value;
|
|
91864
91957
|
return [
|
|
91865
|
-
["yaxis_secondary_format", getValueOrDefault(val.format, DEFAULTS$
|
|
91866
|
-
["yaxis_secondary_max", getValueOrDefault(val.max, DEFAULTS$
|
|
91867
|
-
["yaxis_secondary_min", getValueOrDefault(val.min, DEFAULTS$
|
|
91868
|
-
["yaxis_secondary_name_position", getValueOrDefault(val.name?.position, DEFAULTS$
|
|
91869
|
-
["yaxis_secondary_name_visible", getValueOrDefault(val.name?.visible, DEFAULTS$
|
|
91870
|
-
["yaxis_secondary_rotation", getValueOrDefault(val.rotation, DEFAULTS$
|
|
91871
|
-
["yaxis_secondary_visible", getValueOrDefault(val.visible, DEFAULTS$
|
|
91872
|
-
["yaxis_secondary_labels", getValueOrDefault(val.labelsEnabled, DEFAULTS$
|
|
91958
|
+
["yaxis_secondary_format", getValueOrDefault(val.format, DEFAULTS$17.secondary_yaxis.format)],
|
|
91959
|
+
["yaxis_secondary_max", getValueOrDefault(val.max, DEFAULTS$17.secondary_yaxis.max, "number")],
|
|
91960
|
+
["yaxis_secondary_min", getValueOrDefault(val.min, DEFAULTS$17.secondary_yaxis.min, "number")],
|
|
91961
|
+
["yaxis_secondary_name_position", getValueOrDefault(val.name?.position, DEFAULTS$17.secondary_yaxis.name.position)],
|
|
91962
|
+
["yaxis_secondary_name_visible", getValueOrDefault(val.name?.visible, DEFAULTS$17.secondary_yaxis.name.visible, "bool")],
|
|
91963
|
+
["yaxis_secondary_rotation", getValueOrDefault(val.rotation, DEFAULTS$17.secondary_yaxis.rotation)],
|
|
91964
|
+
["yaxis_secondary_visible", getValueOrDefault(val.visible, DEFAULTS$17.secondary_yaxis.visible, "bool")],
|
|
91965
|
+
["yaxis_secondary_labels", getValueOrDefault(val.labelsEnabled, DEFAULTS$17.secondary_yaxis.labelsEnabled, "bool")]
|
|
91873
91966
|
];
|
|
91874
91967
|
}
|
|
91875
|
-
case "dualAxis": return [["yaxis_secondary_show_on_right", getValueOrDefault(value, DEFAULTS$
|
|
91876
|
-
case "grid": return [["grid_enabled", getValueOrDefault(value.enabled, DEFAULTS$
|
|
91877
|
-
case "disableDrillDown": return [["disable_drill_down", getValueOrDefault(value, DEFAULTS$
|
|
91968
|
+
case "dualAxis": return [["yaxis_secondary_show_on_right", getValueOrDefault(value, DEFAULTS$17.dualAxis, "bool")]];
|
|
91969
|
+
case "grid": return [["grid_enabled", getValueOrDefault(value.enabled, DEFAULTS$17.grid.enabled, "bool")]];
|
|
91970
|
+
case "disableDrillDown": return [["disable_drill_down", getValueOrDefault(value, DEFAULTS$17.disableDrillDown, "bool")]];
|
|
91878
91971
|
case "disableDrillIntoURL": return [["disable_drill_into_url", value === void 0 ? void 0 : !!value]];
|
|
91879
|
-
case "disableAlerts": return [["disable_alerts", getValueOrDefault(value, DEFAULTS$
|
|
91880
|
-
case "disableScheduledExports": return [["disable_scheduled_exports", getValueOrDefault(value, DEFAULTS$
|
|
91972
|
+
case "disableAlerts": return [["disable_alerts", getValueOrDefault(value, DEFAULTS$17.disableAlerts, "bool")]];
|
|
91973
|
+
case "disableScheduledExports": return [["disable_scheduled_exports", getValueOrDefault(value, DEFAULTS$17.disableScheduledExports, "bool")]];
|
|
91881
91974
|
case "disableKeyDriveAnalysisOn": return [["disable_key_drive_analysis", loadDisableKda(value)]];
|
|
91882
91975
|
case "customTooltip": return [["custom_tooltip", loadCustomTooltip(value)]];
|
|
91883
|
-
case "thresholdMeasures": return [["line_style_control_metrics", getValueOrDefault(value, DEFAULTS$
|
|
91884
|
-
case "thresholdExcludedMeasures": return [["line_style_excluded_metrics", getValueOrDefault(value, DEFAULTS$
|
|
91976
|
+
case "thresholdMeasures": return [["line_style_control_metrics", getValueOrDefault(value, DEFAULTS$17.thresholdMeasures, "array")]];
|
|
91977
|
+
case "thresholdExcludedMeasures": return [["line_style_excluded_metrics", getValueOrDefault(value, DEFAULTS$17.thresholdExcludedMeasures, "array")]];
|
|
91885
91978
|
case "lineStyleMapping": return [["line_style_mapping", loadLineStyleMapping(value)]];
|
|
91886
91979
|
default: return [];
|
|
91887
91980
|
}
|
|
@@ -91896,69 +91989,69 @@ function comboChartSave(_fields, config, buckets = []) {
|
|
|
91896
91989
|
}).filter(Boolean);
|
|
91897
91990
|
return saveConfigObject({
|
|
91898
91991
|
colorMapping: saveConfigObject(saveColorMapping(config.colors ?? {})),
|
|
91899
|
-
continuousLine: saveConfigObject({ enabled: getValueOrDefault(config.continuous_line, DEFAULTS$
|
|
91992
|
+
continuousLine: saveConfigObject({ enabled: getValueOrDefault(config.continuous_line, DEFAULTS$17.continuousLine.enabled, "bool") }),
|
|
91900
91993
|
distinctPointShapes: saveConfigObject({
|
|
91901
|
-
enabled: getValueOrDefault(config.distinct_point_shapes?.enabled, DEFAULTS$
|
|
91902
|
-
pointShapeMapping: config.distinct_point_shapes?.point_shape_mapping ?? DEFAULTS$
|
|
91994
|
+
enabled: getValueOrDefault(config.distinct_point_shapes?.enabled, DEFAULTS$17.distinctPointShapes.enabled, "bool"),
|
|
91995
|
+
pointShapeMapping: config.distinct_point_shapes?.point_shape_mapping ?? DEFAULTS$17.distinctPointShapes.pointShapeMapping
|
|
91903
91996
|
}),
|
|
91904
|
-
chartFill: saveConfigObject(saveChartFill(config, DEFAULTS$
|
|
91905
|
-
dataPoints: saveConfigObject({ visible: getValueOrDefault(config.data_points, DEFAULTS$
|
|
91997
|
+
chartFill: saveConfigObject(saveChartFill(config, DEFAULTS$17.chartFill)),
|
|
91998
|
+
dataPoints: saveConfigObject({ visible: getValueOrDefault(config.data_points, DEFAULTS$17.dataPoints.visible, "bool_auto") }),
|
|
91906
91999
|
dataLabels: saveConfigObject({
|
|
91907
|
-
visible: getValueOrDefault(config.data_labels, DEFAULTS$
|
|
91908
|
-
style: getValueOrDefault(config.data_labels_style, DEFAULTS$
|
|
92000
|
+
visible: getValueOrDefault(config.data_labels, DEFAULTS$17.dataLabels.visible, "bool_auto"),
|
|
92001
|
+
style: getValueOrDefault(config.data_labels_style, DEFAULTS$17.dataLabels.style)
|
|
91909
92002
|
}),
|
|
91910
92003
|
legend: saveConfigObject({
|
|
91911
|
-
enabled: getValueOrDefault(config.legend_enabled, DEFAULTS$
|
|
91912
|
-
position: getValueOrDefault(config.legend_position, DEFAULTS$
|
|
92004
|
+
enabled: getValueOrDefault(config.legend_enabled, DEFAULTS$17.legend.enabled, "bool"),
|
|
92005
|
+
position: getValueOrDefault(config.legend_position, DEFAULTS$17.legend.position)
|
|
91913
92006
|
}),
|
|
91914
|
-
stackMeasuresToPercent: getValueOrDefault(config.stack_measures_to_100, DEFAULTS$
|
|
91915
|
-
stackMeasures: getValueOrDefault(config.stack_measures, DEFAULTS$
|
|
92007
|
+
stackMeasuresToPercent: getValueOrDefault(config.stack_measures_to_100, DEFAULTS$17.stackMeasuresToPercent, "bool"),
|
|
92008
|
+
stackMeasures: getValueOrDefault(config.stack_measures, DEFAULTS$17.stackMeasures, "bool"),
|
|
91916
92009
|
xaxis: saveConfigObject({
|
|
91917
92010
|
name: saveConfigObject({
|
|
91918
|
-
position: getValueOrDefault(config.xaxis_name_position, DEFAULTS$
|
|
91919
|
-
visible: getValueOrDefault(config.xaxis_name_visible, DEFAULTS$
|
|
92011
|
+
position: getValueOrDefault(config.xaxis_name_position, DEFAULTS$17.xaxis.name.position),
|
|
92012
|
+
visible: getValueOrDefault(config.xaxis_name_visible, DEFAULTS$17.xaxis.name.visible, "bool")
|
|
91920
92013
|
}),
|
|
91921
|
-
rotation: getValueOrDefault(config.xaxis_rotation, DEFAULTS$
|
|
91922
|
-
visible: getValueOrDefault(config.xaxis_visible, DEFAULTS$
|
|
91923
|
-
labelsEnabled: getValueOrDefault(config.xaxis_labels, DEFAULTS$
|
|
92014
|
+
rotation: getValueOrDefault(config.xaxis_rotation, DEFAULTS$17.xaxis.rotation),
|
|
92015
|
+
visible: getValueOrDefault(config.xaxis_visible, DEFAULTS$17.xaxis.visible, "bool"),
|
|
92016
|
+
labelsEnabled: getValueOrDefault(config.xaxis_labels, DEFAULTS$17.xaxis.labelsEnabled, "bool")
|
|
91924
92017
|
}),
|
|
91925
|
-
primaryChartType: getValueOrDefault(config.yaxis_primary_type, DEFAULTS$
|
|
92018
|
+
primaryChartType: getValueOrDefault(config.yaxis_primary_type, DEFAULTS$17.primaryChartType),
|
|
91926
92019
|
yaxis: saveConfigObject({
|
|
91927
|
-
format: getValueOrDefault(config.yaxis_primary_format ?? config.yaxis_format, DEFAULTS$
|
|
91928
|
-
max: getValueOrDefault(config.yaxis_primary_max ?? config.yaxis_max, DEFAULTS$
|
|
91929
|
-
min: getValueOrDefault(config.yaxis_primary_min ?? config.yaxis_min, DEFAULTS$
|
|
92020
|
+
format: getValueOrDefault(config.yaxis_primary_format ?? config.yaxis_format, DEFAULTS$17.yaxis.format),
|
|
92021
|
+
max: getValueOrDefault(config.yaxis_primary_max ?? config.yaxis_max, DEFAULTS$17.yaxis.max),
|
|
92022
|
+
min: getValueOrDefault(config.yaxis_primary_min ?? config.yaxis_min, DEFAULTS$17.yaxis.min),
|
|
91930
92023
|
name: saveConfigObject({
|
|
91931
|
-
position: getValueOrDefault(config.yaxis_primary_name_position ?? config.yaxis_name_position, DEFAULTS$
|
|
91932
|
-
visible: getValueOrDefault(config.yaxis_primary_name_visible ?? config.yaxis_name_visible, DEFAULTS$
|
|
92024
|
+
position: getValueOrDefault(config.yaxis_primary_name_position ?? config.yaxis_name_position, DEFAULTS$17.yaxis.name.position),
|
|
92025
|
+
visible: getValueOrDefault(config.yaxis_primary_name_visible ?? config.yaxis_name_visible, DEFAULTS$17.yaxis.name.visible, "bool")
|
|
91933
92026
|
}),
|
|
91934
|
-
rotation: getValueOrDefault(config.yaxis_primary_rotation ?? config.yaxis_rotation, DEFAULTS$
|
|
91935
|
-
visible: getValueOrDefault(config.yaxis_primary_visible ?? config.yaxis_visible, DEFAULTS$
|
|
91936
|
-
labelsEnabled: getValueOrDefault(config.yaxis_primary_labels ?? config.yaxis_labels, DEFAULTS$
|
|
92027
|
+
rotation: getValueOrDefault(config.yaxis_primary_rotation ?? config.yaxis_rotation, DEFAULTS$17.yaxis.rotation),
|
|
92028
|
+
visible: getValueOrDefault(config.yaxis_primary_visible ?? config.yaxis_visible, DEFAULTS$17.yaxis.visible, "bool"),
|
|
92029
|
+
labelsEnabled: getValueOrDefault(config.yaxis_primary_labels ?? config.yaxis_labels, DEFAULTS$17.yaxis.labelsEnabled, "bool")
|
|
91937
92030
|
}),
|
|
91938
|
-
secondaryChartType: getValueOrDefault(config.yaxis_secondary_type, DEFAULTS$
|
|
92031
|
+
secondaryChartType: getValueOrDefault(config.yaxis_secondary_type, DEFAULTS$17.secondaryChartType),
|
|
91939
92032
|
secondary_yaxis: saveConfigObject({
|
|
91940
92033
|
measures: measures.length > 0 ? measures : void 0,
|
|
91941
|
-
format: getValueOrDefault(config.yaxis_secondary_format, DEFAULTS$
|
|
91942
|
-
max: getValueOrDefault(config.yaxis_secondary_max, DEFAULTS$
|
|
91943
|
-
min: getValueOrDefault(config.yaxis_secondary_min, DEFAULTS$
|
|
92034
|
+
format: getValueOrDefault(config.yaxis_secondary_format, DEFAULTS$17.secondary_yaxis.format),
|
|
92035
|
+
max: getValueOrDefault(config.yaxis_secondary_max, DEFAULTS$17.secondary_yaxis.max),
|
|
92036
|
+
min: getValueOrDefault(config.yaxis_secondary_min, DEFAULTS$17.secondary_yaxis.min),
|
|
91944
92037
|
name: saveConfigObject({
|
|
91945
|
-
position: getValueOrDefault(config.yaxis_secondary_name_position, DEFAULTS$
|
|
91946
|
-
visible: getValueOrDefault(config.yaxis_secondary_name_visible, DEFAULTS$
|
|
92038
|
+
position: getValueOrDefault(config.yaxis_secondary_name_position, DEFAULTS$17.secondary_yaxis.name.position),
|
|
92039
|
+
visible: getValueOrDefault(config.yaxis_secondary_name_visible, DEFAULTS$17.secondary_yaxis.name.visible, "bool")
|
|
91947
92040
|
}),
|
|
91948
|
-
rotation: getValueOrDefault(config.yaxis_secondary_rotation, DEFAULTS$
|
|
91949
|
-
visible: getValueOrDefault(config.yaxis_secondary_visible, DEFAULTS$
|
|
91950
|
-
labelsEnabled: getValueOrDefault(config.yaxis_secondary_labels, DEFAULTS$
|
|
92041
|
+
rotation: getValueOrDefault(config.yaxis_secondary_rotation, DEFAULTS$17.secondary_yaxis.rotation),
|
|
92042
|
+
visible: getValueOrDefault(config.yaxis_secondary_visible, DEFAULTS$17.secondary_yaxis.visible, "bool"),
|
|
92043
|
+
labelsEnabled: getValueOrDefault(config.yaxis_secondary_labels, DEFAULTS$17.secondary_yaxis.labelsEnabled, "bool")
|
|
91951
92044
|
}),
|
|
91952
|
-
dualAxis: getValueOrDefault(config.yaxis_secondary_show_on_right, DEFAULTS$
|
|
91953
|
-
grid: saveConfigObject({ enabled: getValueOrDefault(config.grid_enabled, DEFAULTS$
|
|
91954
|
-
disableDrillDown: getValueOrDefault(config.disable_drill_down, DEFAULTS$
|
|
92045
|
+
dualAxis: getValueOrDefault(config.yaxis_secondary_show_on_right, DEFAULTS$17.dualAxis, "bool"),
|
|
92046
|
+
grid: saveConfigObject({ enabled: getValueOrDefault(config.grid_enabled, DEFAULTS$17.grid.enabled, "bool") }),
|
|
92047
|
+
disableDrillDown: getValueOrDefault(config.disable_drill_down, DEFAULTS$17.disableDrillDown, "bool"),
|
|
91955
92048
|
disableDrillIntoURL: config.disable_drill_into_url === void 0 ? void 0 : !!config.disable_drill_into_url,
|
|
91956
|
-
disableAlerts: getValueOrDefault(config.disable_alerts, DEFAULTS$
|
|
91957
|
-
disableScheduledExports: getValueOrDefault(config.disable_scheduled_exports, DEFAULTS$
|
|
92049
|
+
disableAlerts: getValueOrDefault(config.disable_alerts, DEFAULTS$17.disableAlerts, "bool"),
|
|
92050
|
+
disableScheduledExports: getValueOrDefault(config.disable_scheduled_exports, DEFAULTS$17.disableScheduledExports, "bool"),
|
|
91958
92051
|
disableKeyDriveAnalysisOn: saveConfigObject(config.disable_key_drive_analysis),
|
|
91959
92052
|
customTooltip: saveConfigObject(saveCustomTooltip(config.custom_tooltip)),
|
|
91960
|
-
thresholdMeasures: getValueOrDefault(config.line_style_control_metrics, DEFAULTS$
|
|
91961
|
-
thresholdExcludedMeasures: getValueOrDefault(config.line_style_excluded_metrics, DEFAULTS$
|
|
92053
|
+
thresholdMeasures: getValueOrDefault(config.line_style_control_metrics, DEFAULTS$17.thresholdMeasures, "array"),
|
|
92054
|
+
thresholdExcludedMeasures: getValueOrDefault(config.line_style_excluded_metrics, DEFAULTS$17.thresholdExcludedMeasures, "array"),
|
|
91962
92055
|
lineStyleMapping: saveLineStyleMapping(config["line_style_mapping"])
|
|
91963
92056
|
});
|
|
91964
92057
|
}
|
|
@@ -91969,12 +92062,12 @@ function comboChartSave(_fields, config, buckets = []) {
|
|
|
91969
92062
|
const comboChart = {
|
|
91970
92063
|
load: comboChartLoad,
|
|
91971
92064
|
save: comboChartSave,
|
|
91972
|
-
DEFAULTS: DEFAULTS$
|
|
92065
|
+
DEFAULTS: DEFAULTS$17
|
|
91973
92066
|
};
|
|
91974
92067
|
//#endregion
|
|
91975
92068
|
//#region ../../../sdk/libs/sdk-code-convertors/src/configs/dependencyWheelChart.ts
|
|
91976
92069
|
/** @internal */
|
|
91977
|
-
const DEFAULTS$
|
|
92070
|
+
const DEFAULTS$16 = {
|
|
91978
92071
|
colorMapping: [],
|
|
91979
92072
|
dataLabels: { visible: "auto" },
|
|
91980
92073
|
legend: {
|
|
@@ -91993,15 +92086,15 @@ function dependencyWheelChartLoad(props) {
|
|
|
91993
92086
|
return loadConfig(props, (key, value) => {
|
|
91994
92087
|
switch (key) {
|
|
91995
92088
|
case "colorMapping": return [["colors", loadColorMapping(value)]];
|
|
91996
|
-
case "dataLabels": return [["data_labels", getValueOrDefault(value.visible, DEFAULTS$
|
|
92089
|
+
case "dataLabels": return [["data_labels", getValueOrDefault(value.visible, DEFAULTS$16.dataLabels.visible, "bool_auto")]];
|
|
91997
92090
|
case "legend": {
|
|
91998
92091
|
const val = value;
|
|
91999
|
-
return [["legend_enabled", getValueOrDefault(val.enabled, DEFAULTS$
|
|
92092
|
+
return [["legend_enabled", getValueOrDefault(val.enabled, DEFAULTS$16.legend.enabled, "bool")], ["legend_position", getValueOrDefault(val.position, DEFAULTS$16.legend.position)]];
|
|
92000
92093
|
}
|
|
92001
|
-
case "disableDrillDown": return [["disable_drill_down", getValueOrDefault(value, DEFAULTS$
|
|
92094
|
+
case "disableDrillDown": return [["disable_drill_down", getValueOrDefault(value, DEFAULTS$16.disableDrillDown, "bool")]];
|
|
92002
92095
|
case "disableDrillIntoURL": return [["disable_drill_into_url", value === void 0 ? void 0 : !!value]];
|
|
92003
|
-
case "disableAlerts": return [["disable_alerts", getValueOrDefault(value, DEFAULTS$
|
|
92004
|
-
case "disableScheduledExports": return [["disable_scheduled_exports", getValueOrDefault(value, DEFAULTS$
|
|
92096
|
+
case "disableAlerts": return [["disable_alerts", getValueOrDefault(value, DEFAULTS$16.disableAlerts, "bool")]];
|
|
92097
|
+
case "disableScheduledExports": return [["disable_scheduled_exports", getValueOrDefault(value, DEFAULTS$16.disableScheduledExports, "bool")]];
|
|
92005
92098
|
case "disableKeyDriveAnalysisOn": return [["disable_key_drive_analysis", loadDisableKda(value)]];
|
|
92006
92099
|
case "customTooltip": return [["custom_tooltip", loadCustomTooltip(value)]];
|
|
92007
92100
|
default: return [];
|
|
@@ -92013,15 +92106,15 @@ function dependencyWheelChartSave(_fields, config) {
|
|
|
92013
92106
|
if (!config) return;
|
|
92014
92107
|
return saveConfigObject({
|
|
92015
92108
|
colorMapping: saveConfigObject(saveColorMapping(config.colors ?? {})),
|
|
92016
|
-
dataLabels: saveConfigObject({ visible: getValueOrDefault(config.data_labels, DEFAULTS$
|
|
92109
|
+
dataLabels: saveConfigObject({ visible: getValueOrDefault(config.data_labels, DEFAULTS$16.dataLabels.visible, "bool_auto") }),
|
|
92017
92110
|
legend: saveConfigObject({
|
|
92018
|
-
enabled: getValueOrDefault(config.legend_enabled, DEFAULTS$
|
|
92019
|
-
position: getValueOrDefault(config.legend_position, DEFAULTS$
|
|
92111
|
+
enabled: getValueOrDefault(config.legend_enabled, DEFAULTS$16.legend.enabled, "bool"),
|
|
92112
|
+
position: getValueOrDefault(config.legend_position, DEFAULTS$16.legend.position)
|
|
92020
92113
|
}),
|
|
92021
|
-
disableDrillDown: getValueOrDefault(config.disable_drill_down, DEFAULTS$
|
|
92114
|
+
disableDrillDown: getValueOrDefault(config.disable_drill_down, DEFAULTS$16.disableDrillDown, "bool"),
|
|
92022
92115
|
disableDrillIntoURL: config.disable_drill_into_url === void 0 ? void 0 : !!config.disable_drill_into_url,
|
|
92023
|
-
disableAlerts: getValueOrDefault(config.disable_alerts, DEFAULTS$
|
|
92024
|
-
disableScheduledExports: getValueOrDefault(config.disable_scheduled_exports, DEFAULTS$
|
|
92116
|
+
disableAlerts: getValueOrDefault(config.disable_alerts, DEFAULTS$16.disableAlerts, "bool"),
|
|
92117
|
+
disableScheduledExports: getValueOrDefault(config.disable_scheduled_exports, DEFAULTS$16.disableScheduledExports, "bool"),
|
|
92025
92118
|
disableKeyDriveAnalysisOn: saveConfigObject(config.disable_key_drive_analysis),
|
|
92026
92119
|
customTooltip: saveConfigObject(saveCustomTooltip(config.custom_tooltip))
|
|
92027
92120
|
});
|
|
@@ -92033,12 +92126,12 @@ function dependencyWheelChartSave(_fields, config) {
|
|
|
92033
92126
|
const dependencyWheelChart = {
|
|
92034
92127
|
load: dependencyWheelChartLoad,
|
|
92035
92128
|
save: dependencyWheelChartSave,
|
|
92036
|
-
DEFAULTS: DEFAULTS$
|
|
92129
|
+
DEFAULTS: DEFAULTS$16
|
|
92037
92130
|
};
|
|
92038
92131
|
//#endregion
|
|
92039
92132
|
//#region ../../../sdk/libs/sdk-code-convertors/src/configs/donutChart.ts
|
|
92040
92133
|
/** @internal */
|
|
92041
|
-
const DEFAULTS$
|
|
92134
|
+
const DEFAULTS$15 = {
|
|
92042
92135
|
colorMapping: [],
|
|
92043
92136
|
dataLabels: {
|
|
92044
92137
|
visible: false,
|
|
@@ -92063,17 +92156,17 @@ function donutChartLoad(props) {
|
|
|
92063
92156
|
case "colorMapping": return [["colors", loadColorMapping(value)]];
|
|
92064
92157
|
case "dataLabels": {
|
|
92065
92158
|
const val = value;
|
|
92066
|
-
return [["data_labels", getValueOrDefault(val.visible, DEFAULTS$
|
|
92159
|
+
return [["data_labels", getValueOrDefault(val.visible, DEFAULTS$15.dataLabels.visible, "bool_auto")], ["data_labels_style", getValueOrDefault(val.style, DEFAULTS$15.dataLabels.style)]];
|
|
92067
92160
|
}
|
|
92068
|
-
case "chartFill": return [["chart_fill", loadChartFill(value, DEFAULTS$
|
|
92161
|
+
case "chartFill": return [["chart_fill", loadChartFill(value, DEFAULTS$15.chartFill)]];
|
|
92069
92162
|
case "legend": {
|
|
92070
92163
|
const val = value;
|
|
92071
|
-
return [["legend_enabled", getValueOrDefault(val.enabled, DEFAULTS$
|
|
92164
|
+
return [["legend_enabled", getValueOrDefault(val.enabled, DEFAULTS$15.legend.enabled, "bool")], ["legend_position", getValueOrDefault(val.position, DEFAULTS$15.legend.position)]];
|
|
92072
92165
|
}
|
|
92073
|
-
case "disableDrillDown": return [["disable_drill_down", getValueOrDefault(value, DEFAULTS$
|
|
92166
|
+
case "disableDrillDown": return [["disable_drill_down", getValueOrDefault(value, DEFAULTS$15.disableDrillDown, "bool")]];
|
|
92074
92167
|
case "disableDrillIntoURL": return [["disable_drill_into_url", value === void 0 ? void 0 : !!value]];
|
|
92075
|
-
case "disableAlerts": return [["disable_alerts", getValueOrDefault(value, DEFAULTS$
|
|
92076
|
-
case "disableScheduledExports": return [["disable_scheduled_exports", getValueOrDefault(value, DEFAULTS$
|
|
92168
|
+
case "disableAlerts": return [["disable_alerts", getValueOrDefault(value, DEFAULTS$15.disableAlerts, "bool")]];
|
|
92169
|
+
case "disableScheduledExports": return [["disable_scheduled_exports", getValueOrDefault(value, DEFAULTS$15.disableScheduledExports, "bool")]];
|
|
92077
92170
|
case "disableKeyDriveAnalysisOn": return [["disable_key_drive_analysis", loadDisableKda(value)]];
|
|
92078
92171
|
case "customTooltip": return [["custom_tooltip", loadCustomTooltip(value)]];
|
|
92079
92172
|
default: return [];
|
|
@@ -92086,18 +92179,18 @@ function donutChartSave(_fields, config) {
|
|
|
92086
92179
|
return saveConfigObject({
|
|
92087
92180
|
colorMapping: saveConfigObject(saveColorMapping(config.colors ?? {})),
|
|
92088
92181
|
dataLabels: saveConfigObject({
|
|
92089
|
-
visible: getValueOrDefault(config.data_labels, DEFAULTS$
|
|
92090
|
-
style: getValueOrDefault(config.data_labels_style, DEFAULTS$
|
|
92182
|
+
visible: getValueOrDefault(config.data_labels, DEFAULTS$15.dataLabels.visible, "bool_auto"),
|
|
92183
|
+
style: getValueOrDefault(config.data_labels_style, DEFAULTS$15.dataLabels.style)
|
|
92091
92184
|
}),
|
|
92092
|
-
chartFill: saveConfigObject(saveChartFill(config, DEFAULTS$
|
|
92185
|
+
chartFill: saveConfigObject(saveChartFill(config, DEFAULTS$15.chartFill)),
|
|
92093
92186
|
legend: saveConfigObject({
|
|
92094
|
-
enabled: getValueOrDefault(config.legend_enabled, DEFAULTS$
|
|
92095
|
-
position: getValueOrDefault(config.legend_position, DEFAULTS$
|
|
92187
|
+
enabled: getValueOrDefault(config.legend_enabled, DEFAULTS$15.legend.enabled, "bool"),
|
|
92188
|
+
position: getValueOrDefault(config.legend_position, DEFAULTS$15.legend.position)
|
|
92096
92189
|
}),
|
|
92097
|
-
disableDrillDown: getValueOrDefault(config.disable_drill_down, DEFAULTS$
|
|
92190
|
+
disableDrillDown: getValueOrDefault(config.disable_drill_down, DEFAULTS$15.disableDrillDown, "bool"),
|
|
92098
92191
|
disableDrillIntoURL: config.disable_drill_into_url === void 0 ? void 0 : !!config.disable_drill_into_url,
|
|
92099
|
-
disableAlerts: getValueOrDefault(config.disable_alerts, DEFAULTS$
|
|
92100
|
-
disableScheduledExports: getValueOrDefault(config.disable_scheduled_exports, DEFAULTS$
|
|
92192
|
+
disableAlerts: getValueOrDefault(config.disable_alerts, DEFAULTS$15.disableAlerts, "bool"),
|
|
92193
|
+
disableScheduledExports: getValueOrDefault(config.disable_scheduled_exports, DEFAULTS$15.disableScheduledExports, "bool"),
|
|
92101
92194
|
disableKeyDriveAnalysisOn: saveConfigObject(config.disable_key_drive_analysis),
|
|
92102
92195
|
customTooltip: saveConfigObject(saveCustomTooltip(config.custom_tooltip))
|
|
92103
92196
|
});
|
|
@@ -92109,12 +92202,12 @@ function donutChartSave(_fields, config) {
|
|
|
92109
92202
|
const donutChart = {
|
|
92110
92203
|
load: donutChartLoad,
|
|
92111
92204
|
save: donutChartSave,
|
|
92112
|
-
DEFAULTS: DEFAULTS$
|
|
92205
|
+
DEFAULTS: DEFAULTS$15
|
|
92113
92206
|
};
|
|
92114
92207
|
//#endregion
|
|
92115
92208
|
//#region ../../../sdk/libs/sdk-code-convertors/src/configs/funnelChart.ts
|
|
92116
92209
|
/** @internal */
|
|
92117
|
-
const DEFAULTS$
|
|
92210
|
+
const DEFAULTS$14 = {
|
|
92118
92211
|
colorMapping: [],
|
|
92119
92212
|
dataLabels: {
|
|
92120
92213
|
visible: "auto",
|
|
@@ -92139,17 +92232,17 @@ function funnelChartLoad(props) {
|
|
|
92139
92232
|
case "colorMapping": return [["colors", loadColorMapping(value)]];
|
|
92140
92233
|
case "dataLabels": {
|
|
92141
92234
|
const val = value;
|
|
92142
|
-
return [["data_labels", getValueOrDefault(val.visible, DEFAULTS$
|
|
92235
|
+
return [["data_labels", getValueOrDefault(val.visible, DEFAULTS$14.dataLabels.visible, "bool_auto")], ["data_labels_style", getValueOrDefault(val.style, DEFAULTS$14.dataLabels.style)]];
|
|
92143
92236
|
}
|
|
92144
|
-
case "chartFill": return [["chart_fill", loadChartFill(value, DEFAULTS$
|
|
92237
|
+
case "chartFill": return [["chart_fill", loadChartFill(value, DEFAULTS$14.chartFill)]];
|
|
92145
92238
|
case "legend": {
|
|
92146
92239
|
const val = value;
|
|
92147
|
-
return [["legend_enabled", getValueOrDefault(val.enabled, DEFAULTS$
|
|
92240
|
+
return [["legend_enabled", getValueOrDefault(val.enabled, DEFAULTS$14.legend.enabled, "bool")], ["legend_position", getValueOrDefault(val.position, DEFAULTS$14.legend.position)]];
|
|
92148
92241
|
}
|
|
92149
|
-
case "disableDrillDown": return [["disable_drill_down", getValueOrDefault(value, DEFAULTS$
|
|
92242
|
+
case "disableDrillDown": return [["disable_drill_down", getValueOrDefault(value, DEFAULTS$14.disableDrillDown, "bool")]];
|
|
92150
92243
|
case "disableDrillIntoURL": return [["disable_drill_into_url", value === void 0 ? void 0 : !!value]];
|
|
92151
|
-
case "disableAlerts": return [["disable_alerts", getValueOrDefault(value, DEFAULTS$
|
|
92152
|
-
case "disableScheduledExports": return [["disable_scheduled_exports", getValueOrDefault(value, DEFAULTS$
|
|
92244
|
+
case "disableAlerts": return [["disable_alerts", getValueOrDefault(value, DEFAULTS$14.disableAlerts, "bool")]];
|
|
92245
|
+
case "disableScheduledExports": return [["disable_scheduled_exports", getValueOrDefault(value, DEFAULTS$14.disableScheduledExports, "bool")]];
|
|
92153
92246
|
case "disableKeyDriveAnalysisOn": return [["disable_key_drive_analysis", loadDisableKda(value)]];
|
|
92154
92247
|
case "customTooltip": return [["custom_tooltip", loadCustomTooltip(value)]];
|
|
92155
92248
|
default: return [];
|
|
@@ -92162,18 +92255,18 @@ function funnelChartSave(_fields, config) {
|
|
|
92162
92255
|
return saveConfigObject({
|
|
92163
92256
|
colorMapping: saveConfigObject(saveColorMapping(config.colors ?? {})),
|
|
92164
92257
|
dataLabels: saveConfigObject({
|
|
92165
|
-
visible: getValueOrDefault(config.data_labels, DEFAULTS$
|
|
92166
|
-
style: getValueOrDefault(config.data_labels_style, DEFAULTS$
|
|
92258
|
+
visible: getValueOrDefault(config.data_labels, DEFAULTS$14.dataLabels.visible, "bool_auto"),
|
|
92259
|
+
style: getValueOrDefault(config.data_labels_style, DEFAULTS$14.dataLabels.style)
|
|
92167
92260
|
}),
|
|
92168
|
-
chartFill: saveConfigObject(saveChartFill(config, DEFAULTS$
|
|
92261
|
+
chartFill: saveConfigObject(saveChartFill(config, DEFAULTS$14.chartFill)),
|
|
92169
92262
|
legend: saveConfigObject({
|
|
92170
|
-
enabled: getValueOrDefault(config.legend_enabled, DEFAULTS$
|
|
92171
|
-
position: getValueOrDefault(config.legend_position, DEFAULTS$
|
|
92263
|
+
enabled: getValueOrDefault(config.legend_enabled, DEFAULTS$14.legend.enabled, "bool"),
|
|
92264
|
+
position: getValueOrDefault(config.legend_position, DEFAULTS$14.legend.position)
|
|
92172
92265
|
}),
|
|
92173
|
-
disableDrillDown: getValueOrDefault(config.disable_drill_down, DEFAULTS$
|
|
92266
|
+
disableDrillDown: getValueOrDefault(config.disable_drill_down, DEFAULTS$14.disableDrillDown, "bool"),
|
|
92174
92267
|
disableDrillIntoURL: config.disable_drill_into_url === void 0 ? void 0 : !!config.disable_drill_into_url,
|
|
92175
|
-
disableAlerts: getValueOrDefault(config.disable_alerts, DEFAULTS$
|
|
92176
|
-
disableScheduledExports: getValueOrDefault(config.disable_scheduled_exports, DEFAULTS$
|
|
92268
|
+
disableAlerts: getValueOrDefault(config.disable_alerts, DEFAULTS$14.disableAlerts, "bool"),
|
|
92269
|
+
disableScheduledExports: getValueOrDefault(config.disable_scheduled_exports, DEFAULTS$14.disableScheduledExports, "bool"),
|
|
92177
92270
|
disableKeyDriveAnalysisOn: saveConfigObject(config.disable_key_drive_analysis),
|
|
92178
92271
|
customTooltip: saveConfigObject(saveCustomTooltip(config.custom_tooltip))
|
|
92179
92272
|
});
|
|
@@ -92185,12 +92278,12 @@ function funnelChartSave(_fields, config) {
|
|
|
92185
92278
|
const funnelChart = {
|
|
92186
92279
|
load: funnelChartLoad,
|
|
92187
92280
|
save: funnelChartSave,
|
|
92188
|
-
DEFAULTS: DEFAULTS$
|
|
92281
|
+
DEFAULTS: DEFAULTS$14
|
|
92189
92282
|
};
|
|
92190
92283
|
//#endregion
|
|
92191
92284
|
//#region ../../../sdk/libs/sdk-code-convertors/src/configs/geoAreaChart.ts
|
|
92192
92285
|
/** @internal */
|
|
92193
|
-
const DEFAULTS$
|
|
92286
|
+
const DEFAULTS$13 = {
|
|
92194
92287
|
colorMapping: [],
|
|
92195
92288
|
legend: {
|
|
92196
92289
|
enabled: true,
|
|
@@ -92262,34 +92355,34 @@ function geoAreaChartLoad(props) {
|
|
|
92262
92355
|
case "colorMapping": return [["colors", loadColorMapping(value)]];
|
|
92263
92356
|
case "legend": {
|
|
92264
92357
|
const val = value;
|
|
92265
|
-
return [["legend_enabled", getValueOrDefault(val.enabled, DEFAULTS$
|
|
92358
|
+
return [["legend_enabled", getValueOrDefault(val.enabled, DEFAULTS$13.legend.enabled, "bool")], ["legend_position", getValueOrDefault(val.position, DEFAULTS$13.legend.position)]];
|
|
92266
92359
|
}
|
|
92267
|
-
case "tooltipText": return [["tooltip_text", getValueOrDefault(value, DEFAULTS$
|
|
92268
|
-
case "basemap": return [["basemap", getValueOrDefault(value, DEFAULTS$
|
|
92360
|
+
case "tooltipText": return [["tooltip_text", getValueOrDefault(value, DEFAULTS$13.tooltipText)]];
|
|
92361
|
+
case "basemap": return [["basemap", getValueOrDefault(value, DEFAULTS$13.basemap)]];
|
|
92269
92362
|
case "viewport": {
|
|
92270
92363
|
const val = value;
|
|
92271
92364
|
return [
|
|
92272
|
-
["viewport", getValueOrDefault(val.area, DEFAULTS$
|
|
92273
|
-
["viewport_pan", getValueOrDefault(val.navigation?.pan, DEFAULTS$
|
|
92274
|
-
["viewport_zoom", getValueOrDefault(val.navigation?.zoom, DEFAULTS$
|
|
92365
|
+
["viewport", getValueOrDefault(val.area, DEFAULTS$13.viewport.area)],
|
|
92366
|
+
["viewport_pan", getValueOrDefault(val.navigation?.pan, DEFAULTS$13.viewport.navigation.pan, "bool")],
|
|
92367
|
+
["viewport_zoom", getValueOrDefault(val.navigation?.zoom, DEFAULTS$13.viewport.navigation.zoom, "bool")]
|
|
92275
92368
|
];
|
|
92276
92369
|
}
|
|
92277
92370
|
case "center": {
|
|
92278
92371
|
const val = value;
|
|
92279
|
-
return [["center_lat", getValueOrDefault(val.lat, DEFAULTS$
|
|
92372
|
+
return [["center_lat", getValueOrDefault(val.lat, DEFAULTS$13.center.lat, "number")], ["center_lng", getValueOrDefault(val.lng, DEFAULTS$13.center.lng, "number")]];
|
|
92280
92373
|
}
|
|
92281
|
-
case "zoom": return [["zoom_level", getValueOrDefault(value, DEFAULTS$
|
|
92374
|
+
case "zoom": return [["zoom_level", getValueOrDefault(value, DEFAULTS$13.zoom, "number")]];
|
|
92282
92375
|
case "bounds": {
|
|
92283
92376
|
const val = value;
|
|
92284
92377
|
return [
|
|
92285
|
-
["viewport_bounds_ne_lat", getValueOrDefault(val.northEast?.lat, DEFAULTS$
|
|
92286
|
-
["viewport_bounds_ne_lng", getValueOrDefault(val.northEast?.lng, DEFAULTS$
|
|
92287
|
-
["viewport_bounds_sw_lat", getValueOrDefault(val.southWest?.lat, DEFAULTS$
|
|
92288
|
-
["viewport_bounds_sw_lng", getValueOrDefault(val.southWest?.lng, DEFAULTS$
|
|
92378
|
+
["viewport_bounds_ne_lat", getValueOrDefault(val.northEast?.lat, DEFAULTS$13.bounds.northEast.lat, "number")],
|
|
92379
|
+
["viewport_bounds_ne_lng", getValueOrDefault(val.northEast?.lng, DEFAULTS$13.bounds.northEast.lng, "number")],
|
|
92380
|
+
["viewport_bounds_sw_lat", getValueOrDefault(val.southWest?.lat, DEFAULTS$13.bounds.southWest.lat, "number")],
|
|
92381
|
+
["viewport_bounds_sw_lng", getValueOrDefault(val.southWest?.lng, DEFAULTS$13.bounds.southWest.lng, "number")]
|
|
92289
92382
|
];
|
|
92290
92383
|
}
|
|
92291
|
-
case "disableAlerts": return [["disable_alerts", getValueOrDefault(value, DEFAULTS$
|
|
92292
|
-
case "disableScheduledExports": return [["disable_scheduled_exports", getValueOrDefault(value, DEFAULTS$
|
|
92384
|
+
case "disableAlerts": return [["disable_alerts", getValueOrDefault(value, DEFAULTS$13.disableAlerts, "bool")]];
|
|
92385
|
+
case "disableScheduledExports": return [["disable_scheduled_exports", getValueOrDefault(value, DEFAULTS$13.disableScheduledExports, "bool")]];
|
|
92293
92386
|
case "disableKeyDriveAnalysisOn": return [["disable_key_drive_analysis", loadDisableKda(value)]];
|
|
92294
92387
|
case "customTooltip": return [["custom_tooltip", loadCustomTooltip(value)]];
|
|
92295
92388
|
default: return [];
|
|
@@ -92299,36 +92392,36 @@ function geoAreaChartLoad(props) {
|
|
|
92299
92392
|
/** @internal */
|
|
92300
92393
|
function geoAreaChartSave(_fields, config, _positions) {
|
|
92301
92394
|
if (!config) return;
|
|
92302
|
-
const viewportArea = getValueOrDefault(config.viewport, DEFAULTS$
|
|
92395
|
+
const viewportArea = getValueOrDefault(config.viewport, DEFAULTS$13.viewport.area);
|
|
92303
92396
|
const isPresetViewport = viewportArea !== void 0 && viewportArea !== "auto" && viewportArea !== "custom";
|
|
92304
92397
|
const hasBounds = !isPresetViewport && config["viewport_bounds_ne_lat"] !== void 0 && config["viewport_bounds_sw_lat"] !== void 0;
|
|
92305
92398
|
const stripPositionalProps = isPresetViewport || hasBounds;
|
|
92306
|
-
const centerLat = stripPositionalProps ? void 0 : getValueOrDefault(config.center_lat, DEFAULTS$
|
|
92307
|
-
const centerLng = stripPositionalProps ? void 0 : getValueOrDefault(config.center_lng, DEFAULTS$
|
|
92308
|
-
const zoomVal = stripPositionalProps ? void 0 : getValueOrDefault(config.zoom_level, DEFAULTS$
|
|
92399
|
+
const centerLat = stripPositionalProps ? void 0 : getValueOrDefault(config.center_lat, DEFAULTS$13.center.lat, "number");
|
|
92400
|
+
const centerLng = stripPositionalProps ? void 0 : getValueOrDefault(config.center_lng, DEFAULTS$13.center.lng, "number");
|
|
92401
|
+
const zoomVal = stripPositionalProps ? void 0 : getValueOrDefault(config.zoom_level, DEFAULTS$13.zoom, "number");
|
|
92309
92402
|
const bounds = isPresetViewport ? void 0 : saveConfigObject({
|
|
92310
92403
|
northEast: saveConfigObject({
|
|
92311
|
-
lat: getValueOrDefault(config["viewport_bounds_ne_lat"], DEFAULTS$
|
|
92312
|
-
lng: getValueOrDefault(config["viewport_bounds_ne_lng"], DEFAULTS$
|
|
92404
|
+
lat: getValueOrDefault(config["viewport_bounds_ne_lat"], DEFAULTS$13.bounds.northEast.lat, "number"),
|
|
92405
|
+
lng: getValueOrDefault(config["viewport_bounds_ne_lng"], DEFAULTS$13.bounds.northEast.lng, "number")
|
|
92313
92406
|
}),
|
|
92314
92407
|
southWest: saveConfigObject({
|
|
92315
|
-
lat: getValueOrDefault(config["viewport_bounds_sw_lat"], DEFAULTS$
|
|
92316
|
-
lng: getValueOrDefault(config["viewport_bounds_sw_lng"], DEFAULTS$
|
|
92408
|
+
lat: getValueOrDefault(config["viewport_bounds_sw_lat"], DEFAULTS$13.bounds.southWest.lat, "number"),
|
|
92409
|
+
lng: getValueOrDefault(config["viewport_bounds_sw_lng"], DEFAULTS$13.bounds.southWest.lng, "number")
|
|
92317
92410
|
})
|
|
92318
92411
|
});
|
|
92319
92412
|
return saveConfigObject({
|
|
92320
92413
|
colorMapping: saveConfigObject(saveColorMapping(config.colors ?? {})),
|
|
92321
92414
|
legend: saveConfigObject({
|
|
92322
|
-
enabled: getValueOrDefault(config.legend_enabled, DEFAULTS$
|
|
92323
|
-
position: getValueOrDefault(config.legend_position, DEFAULTS$
|
|
92415
|
+
enabled: getValueOrDefault(config.legend_enabled, DEFAULTS$13.legend.enabled, "bool"),
|
|
92416
|
+
position: getValueOrDefault(config.legend_position, DEFAULTS$13.legend.position)
|
|
92324
92417
|
}),
|
|
92325
|
-
tooltipText: getValueOrDefault(config.tooltip_text, DEFAULTS$
|
|
92326
|
-
basemap: getValueOrDefault(config.basemap, DEFAULTS$
|
|
92418
|
+
tooltipText: getValueOrDefault(config.tooltip_text, DEFAULTS$13.tooltipText),
|
|
92419
|
+
basemap: getValueOrDefault(config.basemap, DEFAULTS$13.basemap),
|
|
92327
92420
|
viewport: saveConfigObject({
|
|
92328
92421
|
area: viewportArea,
|
|
92329
92422
|
navigation: saveConfigObject({
|
|
92330
|
-
pan: getValueOrDefault(config.viewport_pan, DEFAULTS$
|
|
92331
|
-
zoom: getValueOrDefault(config.viewport_zoom, DEFAULTS$
|
|
92423
|
+
pan: getValueOrDefault(config.viewport_pan, DEFAULTS$13.viewport.navigation.pan, "bool"),
|
|
92424
|
+
zoom: getValueOrDefault(config.viewport_zoom, DEFAULTS$13.viewport.navigation.zoom, "bool")
|
|
92332
92425
|
})
|
|
92333
92426
|
}),
|
|
92334
92427
|
center: saveConfigObject({
|
|
@@ -92337,8 +92430,8 @@ function geoAreaChartSave(_fields, config, _positions) {
|
|
|
92337
92430
|
}),
|
|
92338
92431
|
zoom: zoomVal,
|
|
92339
92432
|
bounds,
|
|
92340
|
-
disableAlerts: getValueOrDefault(config.disable_alerts, DEFAULTS$
|
|
92341
|
-
disableScheduledExports: getValueOrDefault(config.disable_scheduled_exports, DEFAULTS$
|
|
92433
|
+
disableAlerts: getValueOrDefault(config.disable_alerts, DEFAULTS$13.disableAlerts, "bool"),
|
|
92434
|
+
disableScheduledExports: getValueOrDefault(config.disable_scheduled_exports, DEFAULTS$13.disableScheduledExports, "bool"),
|
|
92342
92435
|
disableKeyDriveAnalysisOn: saveConfigObject(config.disable_key_drive_analysis),
|
|
92343
92436
|
customTooltip: saveConfigObject(saveCustomTooltip(config.custom_tooltip))
|
|
92344
92437
|
});
|
|
@@ -92350,12 +92443,12 @@ function geoAreaChartSave(_fields, config, _positions) {
|
|
|
92350
92443
|
const geoAreaChart = {
|
|
92351
92444
|
load: geoAreaChartLoad,
|
|
92352
92445
|
save: geoAreaChartSave,
|
|
92353
|
-
DEFAULTS: DEFAULTS$
|
|
92446
|
+
DEFAULTS: DEFAULTS$13
|
|
92354
92447
|
};
|
|
92355
92448
|
//#endregion
|
|
92356
92449
|
//#region ../../../sdk/libs/sdk-code-convertors/src/configs/geoChart.ts
|
|
92357
92450
|
/** @internal */
|
|
92358
|
-
const DEFAULTS$
|
|
92451
|
+
const DEFAULTS$12 = {
|
|
92359
92452
|
colorMapping: [],
|
|
92360
92453
|
legend: {
|
|
92361
92454
|
enabled: true,
|
|
@@ -92440,44 +92533,44 @@ function geoChartLoad(props) {
|
|
|
92440
92533
|
case "colorMapping": return [["colors", loadColorMapping(value)]];
|
|
92441
92534
|
case "legend": {
|
|
92442
92535
|
const val = value;
|
|
92443
|
-
return [["legend_enabled", getValueOrDefault(val.enabled, DEFAULTS$
|
|
92536
|
+
return [["legend_enabled", getValueOrDefault(val.enabled, DEFAULTS$12.legend.enabled, "bool")], ["legend_position", getValueOrDefault(val.position, DEFAULTS$12.legend.position)]];
|
|
92444
92537
|
}
|
|
92445
|
-
case "tooltipText": return [["tooltip_text", getValueOrDefault(value, DEFAULTS$
|
|
92446
|
-
case "basemap": return [["basemap", getValueOrDefault(value, DEFAULTS$
|
|
92538
|
+
case "tooltipText": return [["tooltip_text", getValueOrDefault(value, DEFAULTS$12.tooltipText)]];
|
|
92539
|
+
case "basemap": return [["basemap", getValueOrDefault(value, DEFAULTS$12.basemap)]];
|
|
92447
92540
|
case "viewport": {
|
|
92448
92541
|
const val = value;
|
|
92449
92542
|
return [
|
|
92450
|
-
["viewport", getValueOrDefault(val.area, DEFAULTS$
|
|
92451
|
-
["viewport_pan", getValueOrDefault(val.navigation?.pan, DEFAULTS$
|
|
92452
|
-
["viewport_zoom", getValueOrDefault(val.navigation?.zoom, DEFAULTS$
|
|
92543
|
+
["viewport", getValueOrDefault(val.area, DEFAULTS$12.viewport.area)],
|
|
92544
|
+
["viewport_pan", getValueOrDefault(val.navigation?.pan, DEFAULTS$12.viewport.navigation.pan, "bool")],
|
|
92545
|
+
["viewport_zoom", getValueOrDefault(val.navigation?.zoom, DEFAULTS$12.viewport.navigation.zoom, "bool")]
|
|
92453
92546
|
];
|
|
92454
92547
|
}
|
|
92455
92548
|
case "center": {
|
|
92456
92549
|
const val = value;
|
|
92457
|
-
return [["center_lat", getValueOrDefault(val.lat, DEFAULTS$
|
|
92550
|
+
return [["center_lat", getValueOrDefault(val.lat, DEFAULTS$12.center.lat, "number")], ["center_lng", getValueOrDefault(val.lng, DEFAULTS$12.center.lng, "number")]];
|
|
92458
92551
|
}
|
|
92459
|
-
case "zoom": return [["zoom_level", getValueOrDefault(value, DEFAULTS$
|
|
92552
|
+
case "zoom": return [["zoom_level", getValueOrDefault(value, DEFAULTS$12.zoom, "number")]];
|
|
92460
92553
|
case "bounds": {
|
|
92461
92554
|
const val = value;
|
|
92462
92555
|
return [
|
|
92463
|
-
["viewport_bounds_ne_lat", getValueOrDefault(val.northEast?.lat, DEFAULTS$
|
|
92464
|
-
["viewport_bounds_ne_lng", getValueOrDefault(val.northEast?.lng, DEFAULTS$
|
|
92465
|
-
["viewport_bounds_sw_lat", getValueOrDefault(val.southWest?.lat, DEFAULTS$
|
|
92466
|
-
["viewport_bounds_sw_lng", getValueOrDefault(val.southWest?.lng, DEFAULTS$
|
|
92556
|
+
["viewport_bounds_ne_lat", getValueOrDefault(val.northEast?.lat, DEFAULTS$12.bounds.northEast.lat, "number")],
|
|
92557
|
+
["viewport_bounds_ne_lng", getValueOrDefault(val.northEast?.lng, DEFAULTS$12.bounds.northEast.lng, "number")],
|
|
92558
|
+
["viewport_bounds_sw_lat", getValueOrDefault(val.southWest?.lat, DEFAULTS$12.bounds.southWest.lat, "number")],
|
|
92559
|
+
["viewport_bounds_sw_lng", getValueOrDefault(val.southWest?.lng, DEFAULTS$12.bounds.southWest.lng, "number")]
|
|
92467
92560
|
];
|
|
92468
92561
|
}
|
|
92469
92562
|
case "points": {
|
|
92470
92563
|
const val = value;
|
|
92471
92564
|
return [
|
|
92472
|
-
["group_nearby_points", getValueOrDefault(val.groupNearbyPoints, DEFAULTS$
|
|
92473
|
-
["min_size", getValueOrDefault(val.minSize, DEFAULTS$
|
|
92474
|
-
["max_size", getValueOrDefault(val.maxSize, DEFAULTS$
|
|
92475
|
-
["shape_type", getValueOrDefault(val.shapeType, DEFAULTS$
|
|
92476
|
-
["icon", getValueOrDefault(val.icon, DEFAULTS$
|
|
92565
|
+
["group_nearby_points", getValueOrDefault(val.groupNearbyPoints, DEFAULTS$12.points.groupNearbyPoints, "bool")],
|
|
92566
|
+
["min_size", getValueOrDefault(val.minSize, DEFAULTS$12.points.minSize)],
|
|
92567
|
+
["max_size", getValueOrDefault(val.maxSize, DEFAULTS$12.points.maxSize)],
|
|
92568
|
+
["shape_type", getValueOrDefault(val.shapeType, DEFAULTS$12.points.shapeType)],
|
|
92569
|
+
["icon", getValueOrDefault(val.icon, DEFAULTS$12.points.icon)]
|
|
92477
92570
|
];
|
|
92478
92571
|
}
|
|
92479
|
-
case "disableAlerts": return [["disable_alerts", getValueOrDefault(value, DEFAULTS$
|
|
92480
|
-
case "disableScheduledExports": return [["disable_scheduled_exports", getValueOrDefault(value, DEFAULTS$
|
|
92572
|
+
case "disableAlerts": return [["disable_alerts", getValueOrDefault(value, DEFAULTS$12.disableAlerts, "bool")]];
|
|
92573
|
+
case "disableScheduledExports": return [["disable_scheduled_exports", getValueOrDefault(value, DEFAULTS$12.disableScheduledExports, "bool")]];
|
|
92481
92574
|
case "disableKeyDriveAnalysisOn": return [["disable_key_drive_analysis", loadDisableKda(value)]];
|
|
92482
92575
|
case "customTooltip": return [["custom_tooltip", loadCustomTooltip(value)]];
|
|
92483
92576
|
default: return [];
|
|
@@ -92494,38 +92587,38 @@ function geoChartSave(_fields, config, positions) {
|
|
|
92494
92587
|
latitude: pos.latitude
|
|
92495
92588
|
});
|
|
92496
92589
|
}
|
|
92497
|
-
const shapeType = getValueOrDefault(config["shape_type"], DEFAULTS$
|
|
92498
|
-
const icon = shapeType === "oneIcon" ? getValueOrDefault(config["icon"], DEFAULTS$
|
|
92499
|
-
const viewportArea = getValueOrDefault(config.viewport, DEFAULTS$
|
|
92590
|
+
const shapeType = getValueOrDefault(config["shape_type"], DEFAULTS$12.points.shapeType);
|
|
92591
|
+
const icon = shapeType === "oneIcon" ? getValueOrDefault(config["icon"], DEFAULTS$12.points.icon) : void 0;
|
|
92592
|
+
const viewportArea = getValueOrDefault(config.viewport, DEFAULTS$12.viewport.area);
|
|
92500
92593
|
const isPresetViewport = viewportArea !== void 0 && viewportArea !== "auto" && viewportArea !== "custom";
|
|
92501
92594
|
const hasBounds = !isPresetViewport && config["viewport_bounds_ne_lat"] !== void 0 && config["viewport_bounds_sw_lat"] !== void 0;
|
|
92502
92595
|
const stripPositionalProps = isPresetViewport || hasBounds;
|
|
92503
|
-
const centerLat = stripPositionalProps ? void 0 : getValueOrDefault(config.center_lat, DEFAULTS$
|
|
92504
|
-
const centerLng = stripPositionalProps ? void 0 : getValueOrDefault(config.center_lng, DEFAULTS$
|
|
92505
|
-
const zoomVal = stripPositionalProps ? void 0 : getValueOrDefault(config.zoom_level, DEFAULTS$
|
|
92596
|
+
const centerLat = stripPositionalProps ? void 0 : getValueOrDefault(config.center_lat, DEFAULTS$12.center.lat, "number");
|
|
92597
|
+
const centerLng = stripPositionalProps ? void 0 : getValueOrDefault(config.center_lng, DEFAULTS$12.center.lng, "number");
|
|
92598
|
+
const zoomVal = stripPositionalProps ? void 0 : getValueOrDefault(config.zoom_level, DEFAULTS$12.zoom, "number");
|
|
92506
92599
|
const bounds = isPresetViewport ? void 0 : saveConfigObject({
|
|
92507
92600
|
northEast: saveConfigObject({
|
|
92508
|
-
lat: getValueOrDefault(config["viewport_bounds_ne_lat"], DEFAULTS$
|
|
92509
|
-
lng: getValueOrDefault(config["viewport_bounds_ne_lng"], DEFAULTS$
|
|
92601
|
+
lat: getValueOrDefault(config["viewport_bounds_ne_lat"], DEFAULTS$12.bounds.northEast.lat, "number"),
|
|
92602
|
+
lng: getValueOrDefault(config["viewport_bounds_ne_lng"], DEFAULTS$12.bounds.northEast.lng, "number")
|
|
92510
92603
|
}),
|
|
92511
92604
|
southWest: saveConfigObject({
|
|
92512
|
-
lat: getValueOrDefault(config["viewport_bounds_sw_lat"], DEFAULTS$
|
|
92513
|
-
lng: getValueOrDefault(config["viewport_bounds_sw_lng"], DEFAULTS$
|
|
92605
|
+
lat: getValueOrDefault(config["viewport_bounds_sw_lat"], DEFAULTS$12.bounds.southWest.lat, "number"),
|
|
92606
|
+
lng: getValueOrDefault(config["viewport_bounds_sw_lng"], DEFAULTS$12.bounds.southWest.lng, "number")
|
|
92514
92607
|
})
|
|
92515
92608
|
});
|
|
92516
92609
|
return saveConfigObject({
|
|
92517
92610
|
colorMapping: saveConfigObject(saveColorMapping(config.colors ?? {})),
|
|
92518
92611
|
legend: saveConfigObject({
|
|
92519
|
-
enabled: getValueOrDefault(config.legend_enabled, DEFAULTS$
|
|
92520
|
-
position: getValueOrDefault(config.legend_position, DEFAULTS$
|
|
92612
|
+
enabled: getValueOrDefault(config.legend_enabled, DEFAULTS$12.legend.enabled, "bool"),
|
|
92613
|
+
position: getValueOrDefault(config.legend_position, DEFAULTS$12.legend.position)
|
|
92521
92614
|
}),
|
|
92522
|
-
tooltipText: getValueOrDefault(config.tooltip_text, DEFAULTS$
|
|
92523
|
-
basemap: getValueOrDefault(config.basemap, DEFAULTS$
|
|
92615
|
+
tooltipText: getValueOrDefault(config.tooltip_text, DEFAULTS$12.tooltipText),
|
|
92616
|
+
basemap: getValueOrDefault(config.basemap, DEFAULTS$12.basemap),
|
|
92524
92617
|
viewport: saveConfigObject({
|
|
92525
92618
|
area: viewportArea,
|
|
92526
92619
|
navigation: saveConfigObject({
|
|
92527
|
-
pan: getValueOrDefault(config.viewport_pan, DEFAULTS$
|
|
92528
|
-
zoom: getValueOrDefault(config.viewport_zoom, DEFAULTS$
|
|
92620
|
+
pan: getValueOrDefault(config.viewport_pan, DEFAULTS$12.viewport.navigation.pan, "bool"),
|
|
92621
|
+
zoom: getValueOrDefault(config.viewport_zoom, DEFAULTS$12.viewport.navigation.zoom, "bool")
|
|
92529
92622
|
})
|
|
92530
92623
|
}),
|
|
92531
92624
|
center: saveConfigObject({
|
|
@@ -92535,14 +92628,14 @@ function geoChartSave(_fields, config, positions) {
|
|
|
92535
92628
|
zoom: zoomVal,
|
|
92536
92629
|
bounds,
|
|
92537
92630
|
points: saveConfigObject({
|
|
92538
|
-
groupNearbyPoints: getValueOrDefault(config.group_nearby_points, DEFAULTS$
|
|
92539
|
-
minSize: getValueOrDefault(config.min_size, DEFAULTS$
|
|
92540
|
-
maxSize: getValueOrDefault(config.max_size, DEFAULTS$
|
|
92631
|
+
groupNearbyPoints: getValueOrDefault(config.group_nearby_points, DEFAULTS$12.points.groupNearbyPoints, "bool"),
|
|
92632
|
+
minSize: getValueOrDefault(config.min_size, DEFAULTS$12.points.minSize),
|
|
92633
|
+
maxSize: getValueOrDefault(config.max_size, DEFAULTS$12.points.maxSize),
|
|
92541
92634
|
shapeType,
|
|
92542
92635
|
icon
|
|
92543
92636
|
}),
|
|
92544
|
-
disableAlerts: getValueOrDefault(config.disable_alerts, DEFAULTS$
|
|
92545
|
-
disableScheduledExports: getValueOrDefault(config.disable_scheduled_exports, DEFAULTS$
|
|
92637
|
+
disableAlerts: getValueOrDefault(config.disable_alerts, DEFAULTS$12.disableAlerts, "bool"),
|
|
92638
|
+
disableScheduledExports: getValueOrDefault(config.disable_scheduled_exports, DEFAULTS$12.disableScheduledExports, "bool"),
|
|
92546
92639
|
disableKeyDriveAnalysisOn: saveConfigObject(config.disable_key_drive_analysis),
|
|
92547
92640
|
customTooltip: saveConfigObject(saveCustomTooltip(config.custom_tooltip)),
|
|
92548
92641
|
longitude: positions[0]?.longitude ?? "",
|
|
@@ -92556,12 +92649,12 @@ function geoChartSave(_fields, config, positions) {
|
|
|
92556
92649
|
const geoChart = {
|
|
92557
92650
|
load: geoChartLoad,
|
|
92558
92651
|
save: geoChartSave,
|
|
92559
|
-
DEFAULTS: DEFAULTS$
|
|
92652
|
+
DEFAULTS: DEFAULTS$12
|
|
92560
92653
|
};
|
|
92561
92654
|
//#endregion
|
|
92562
92655
|
//#region ../../../sdk/libs/sdk-code-convertors/src/configs/headlineChart.ts
|
|
92563
92656
|
/** @internal */
|
|
92564
|
-
const DEFAULTS$
|
|
92657
|
+
const DEFAULTS$11 = {
|
|
92565
92658
|
comparison: {
|
|
92566
92659
|
calculationType: "ratio",
|
|
92567
92660
|
format: "#,##0%",
|
|
@@ -92593,24 +92686,24 @@ function headlineChartLoad(props) {
|
|
|
92593
92686
|
case "comparison": {
|
|
92594
92687
|
const val = value;
|
|
92595
92688
|
return [
|
|
92596
|
-
["comparison_enabled", getValueOrDefault(val.enabled, DEFAULTS$
|
|
92597
|
-
["comparison_type", getValueOrDefault(val.calculationType, DEFAULTS$
|
|
92598
|
-
["format", getValueOrDefault(val.format, DEFAULTS$
|
|
92599
|
-
["position", getValueOrDefault(val.position, DEFAULTS$
|
|
92600
|
-
["indicator_arrow", getValueOrDefault(val.isArrowEnabled, DEFAULTS$
|
|
92689
|
+
["comparison_enabled", getValueOrDefault(val.enabled, DEFAULTS$11.comparison.enabled, "bool")],
|
|
92690
|
+
["comparison_type", getValueOrDefault(val.calculationType, DEFAULTS$11.comparison.calculationType)],
|
|
92691
|
+
["format", getValueOrDefault(val.format, DEFAULTS$11.comparison.format)],
|
|
92692
|
+
["position", getValueOrDefault(val.position, DEFAULTS$11.comparison.position)],
|
|
92693
|
+
["indicator_arrow", getValueOrDefault(val.isArrowEnabled, DEFAULTS$11.comparison.isArrowEnabled, "bool")],
|
|
92601
92694
|
["indicator_colors", val.colorConfig?.disabled === void 0 ? void 0 : !val.colorConfig.disabled],
|
|
92602
92695
|
["indicator_color_equals", loadColor("equals", val.colorConfig?.equals)?.value],
|
|
92603
92696
|
["indicator_color_negative", loadColor("negative", val.colorConfig?.negative)?.value],
|
|
92604
92697
|
["indicator_color_positive", loadColor("positive", val.colorConfig?.positive)?.value],
|
|
92605
|
-
["label_default", getValueOrDefault(val.labelConfig?.unconditionalValue, DEFAULTS$
|
|
92606
|
-
["label_conditional", getValueOrDefault(val.labelConfig?.isConditional, DEFAULTS$
|
|
92607
|
-
["label_equals", getValueOrDefault(val.labelConfig?.equals, DEFAULTS$
|
|
92608
|
-
["label_negative", getValueOrDefault(val.labelConfig?.negative, DEFAULTS$
|
|
92609
|
-
["label_positive", getValueOrDefault(val.labelConfig?.positive, DEFAULTS$
|
|
92698
|
+
["label_default", getValueOrDefault(val.labelConfig?.unconditionalValue, DEFAULTS$11.comparison.labelConfig.unconditionalValue)],
|
|
92699
|
+
["label_conditional", getValueOrDefault(val.labelConfig?.isConditional, DEFAULTS$11.comparison.labelConfig.isConditional, "bool")],
|
|
92700
|
+
["label_equals", getValueOrDefault(val.labelConfig?.equals, DEFAULTS$11.comparison.labelConfig.equals)],
|
|
92701
|
+
["label_negative", getValueOrDefault(val.labelConfig?.negative, DEFAULTS$11.comparison.labelConfig.negative)],
|
|
92702
|
+
["label_positive", getValueOrDefault(val.labelConfig?.positive, DEFAULTS$11.comparison.labelConfig.positive)]
|
|
92610
92703
|
];
|
|
92611
92704
|
}
|
|
92612
|
-
case "disableAlerts": return [["disable_alerts", getValueOrDefault(value, DEFAULTS$
|
|
92613
|
-
case "disableScheduledExports": return [["disable_scheduled_exports", getValueOrDefault(value, DEFAULTS$
|
|
92705
|
+
case "disableAlerts": return [["disable_alerts", getValueOrDefault(value, DEFAULTS$11.disableAlerts, "bool")]];
|
|
92706
|
+
case "disableScheduledExports": return [["disable_scheduled_exports", getValueOrDefault(value, DEFAULTS$11.disableScheduledExports, "bool")]];
|
|
92614
92707
|
case "disableKeyDriveAnalysisOn": return [["disable_key_drive_analysis", loadDisableKda(value)]];
|
|
92615
92708
|
default: return [];
|
|
92616
92709
|
}
|
|
@@ -92620,17 +92713,17 @@ function headlineChartLoad(props) {
|
|
|
92620
92713
|
function headlineChartSave(_fields, config = {}) {
|
|
92621
92714
|
return saveConfigObject({
|
|
92622
92715
|
comparison: saveConfigObject({
|
|
92623
|
-
calculationType: getValueOrDefault(config.comparison_type, DEFAULTS$
|
|
92624
|
-
format: getValueOrDefault(config.format, DEFAULTS$
|
|
92625
|
-
enabled: getValueOrDefault(config.comparison_enabled, DEFAULTS$
|
|
92626
|
-
position: getValueOrDefault(config.position, DEFAULTS$
|
|
92627
|
-
isArrowEnabled: getValueOrDefault(config.indicator_arrow, DEFAULTS$
|
|
92716
|
+
calculationType: getValueOrDefault(config.comparison_type, DEFAULTS$11.comparison.calculationType),
|
|
92717
|
+
format: getValueOrDefault(config.format, DEFAULTS$11.comparison.format),
|
|
92718
|
+
enabled: getValueOrDefault(config.comparison_enabled, DEFAULTS$11.comparison.enabled, "bool", true),
|
|
92719
|
+
position: getValueOrDefault(config.position, DEFAULTS$11.comparison.position),
|
|
92720
|
+
isArrowEnabled: getValueOrDefault(config.indicator_arrow, DEFAULTS$11.comparison.isArrowEnabled, "bool"),
|
|
92628
92721
|
labelConfig: saveConfigObject({
|
|
92629
|
-
isConditional: getValueOrDefault(config.label_conditional, DEFAULTS$
|
|
92630
|
-
unconditionalValue: getValueOrDefault(config.label_default, DEFAULTS$
|
|
92631
|
-
equals: getValueOrDefault(config.label_equals, DEFAULTS$
|
|
92632
|
-
negative: getValueOrDefault(config.label_negative, DEFAULTS$
|
|
92633
|
-
positive: getValueOrDefault(config.label_positive, DEFAULTS$
|
|
92722
|
+
isConditional: getValueOrDefault(config.label_conditional, DEFAULTS$11.comparison.labelConfig.isConditional, "bool"),
|
|
92723
|
+
unconditionalValue: getValueOrDefault(config.label_default, DEFAULTS$11.comparison.labelConfig.unconditionalValue),
|
|
92724
|
+
equals: getValueOrDefault(config.label_equals, DEFAULTS$11.comparison.labelConfig.equals),
|
|
92725
|
+
negative: getValueOrDefault(config.label_negative, DEFAULTS$11.comparison.labelConfig.negative),
|
|
92726
|
+
positive: getValueOrDefault(config.label_positive, DEFAULTS$11.comparison.labelConfig.positive)
|
|
92634
92727
|
}),
|
|
92635
92728
|
colorConfig: saveConfigObject({
|
|
92636
92729
|
disabled: config.indicator_colors === void 0 ? void 0 : !config.indicator_colors,
|
|
@@ -92639,8 +92732,8 @@ function headlineChartSave(_fields, config = {}) {
|
|
|
92639
92732
|
positive: saveColor("positive", config.indicator_color_positive, "enum")?.color
|
|
92640
92733
|
})
|
|
92641
92734
|
}),
|
|
92642
|
-
disableAlerts: getValueOrDefault(config.disable_alerts, DEFAULTS$
|
|
92643
|
-
disableScheduledExports: getValueOrDefault(config.disable_scheduled_exports, DEFAULTS$
|
|
92735
|
+
disableAlerts: getValueOrDefault(config.disable_alerts, DEFAULTS$11.disableAlerts, "bool"),
|
|
92736
|
+
disableScheduledExports: getValueOrDefault(config.disable_scheduled_exports, DEFAULTS$11.disableScheduledExports, "bool"),
|
|
92644
92737
|
disableKeyDriveAnalysisOn: saveConfigObject(config.disable_key_drive_analysis)
|
|
92645
92738
|
});
|
|
92646
92739
|
}
|
|
@@ -92651,12 +92744,12 @@ function headlineChartSave(_fields, config = {}) {
|
|
|
92651
92744
|
const headlineChart = {
|
|
92652
92745
|
load: headlineChartLoad,
|
|
92653
92746
|
save: headlineChartSave,
|
|
92654
|
-
DEFAULTS: DEFAULTS$
|
|
92747
|
+
DEFAULTS: DEFAULTS$11
|
|
92655
92748
|
};
|
|
92656
92749
|
//#endregion
|
|
92657
92750
|
//#region ../../../sdk/libs/sdk-code-convertors/src/configs/heatmapChart.ts
|
|
92658
92751
|
/** @internal */
|
|
92659
|
-
const DEFAULTS$
|
|
92752
|
+
const DEFAULTS$10 = {
|
|
92660
92753
|
colorMapping: [],
|
|
92661
92754
|
dataLabels: {
|
|
92662
92755
|
visible: "auto",
|
|
@@ -92698,36 +92791,36 @@ function heatmapChartLoad(props) {
|
|
|
92698
92791
|
case "colorMapping": return [["colors", loadColorMapping(value)]];
|
|
92699
92792
|
case "dataLabels": {
|
|
92700
92793
|
const val = value;
|
|
92701
|
-
return [["data_labels", getValueOrDefault(val.visible, DEFAULTS$
|
|
92794
|
+
return [["data_labels", getValueOrDefault(val.visible, DEFAULTS$10.dataLabels.visible, "bool_auto")], ["data_labels_style", getValueOrDefault(val.style, DEFAULTS$10.dataLabels.style)]];
|
|
92702
92795
|
}
|
|
92703
92796
|
case "legend": {
|
|
92704
92797
|
const val = value;
|
|
92705
|
-
return [["legend_enabled", getValueOrDefault(val.enabled, DEFAULTS$
|
|
92798
|
+
return [["legend_enabled", getValueOrDefault(val.enabled, DEFAULTS$10.legend.enabled, "bool")], ["legend_position", getValueOrDefault(val.position, DEFAULTS$10.legend.position)]];
|
|
92706
92799
|
}
|
|
92707
92800
|
case "xaxis": {
|
|
92708
92801
|
const val = value;
|
|
92709
92802
|
return [
|
|
92710
|
-
["xaxis_name_position", getValueOrDefault(val.name?.position, DEFAULTS$
|
|
92711
|
-
["xaxis_name_visible", getValueOrDefault(val.name?.visible, DEFAULTS$
|
|
92712
|
-
["xaxis_rotation", getValueOrDefault(val.rotation, DEFAULTS$
|
|
92713
|
-
["xaxis_visible", getValueOrDefault(val.visible, DEFAULTS$
|
|
92714
|
-
["xaxis_labels", getValueOrDefault(val.labelsEnabled, DEFAULTS$
|
|
92803
|
+
["xaxis_name_position", getValueOrDefault(val.name?.position, DEFAULTS$10.xaxis.name.position)],
|
|
92804
|
+
["xaxis_name_visible", getValueOrDefault(val.name?.visible, DEFAULTS$10.xaxis.name.visible, "bool")],
|
|
92805
|
+
["xaxis_rotation", getValueOrDefault(val.rotation, DEFAULTS$10.xaxis.rotation)],
|
|
92806
|
+
["xaxis_visible", getValueOrDefault(val.visible, DEFAULTS$10.xaxis.visible, "bool")],
|
|
92807
|
+
["xaxis_labels", getValueOrDefault(val.labelsEnabled, DEFAULTS$10.xaxis.labelsEnabled, "bool")]
|
|
92715
92808
|
];
|
|
92716
92809
|
}
|
|
92717
92810
|
case "yaxis": {
|
|
92718
92811
|
const val = value;
|
|
92719
92812
|
return [
|
|
92720
|
-
["yaxis_name_position", getValueOrDefault(val.name?.position, DEFAULTS$
|
|
92721
|
-
["yaxis_name_visible", getValueOrDefault(val.name?.visible, DEFAULTS$
|
|
92722
|
-
["yaxis_labels", getValueOrDefault(val.labelsEnabled, DEFAULTS$
|
|
92723
|
-
["yaxis_rotation", getValueOrDefault(val.rotation, DEFAULTS$
|
|
92724
|
-
["yaxis_visible", getValueOrDefault(val.visible, DEFAULTS$
|
|
92813
|
+
["yaxis_name_position", getValueOrDefault(val.name?.position, DEFAULTS$10.yaxis.name.position)],
|
|
92814
|
+
["yaxis_name_visible", getValueOrDefault(val.name?.visible, DEFAULTS$10.yaxis.name.visible, "bool")],
|
|
92815
|
+
["yaxis_labels", getValueOrDefault(val.labelsEnabled, DEFAULTS$10.yaxis.labelsEnabled, "bool")],
|
|
92816
|
+
["yaxis_rotation", getValueOrDefault(val.rotation, DEFAULTS$10.yaxis.rotation)],
|
|
92817
|
+
["yaxis_visible", getValueOrDefault(val.visible, DEFAULTS$10.yaxis.visible, "bool")]
|
|
92725
92818
|
];
|
|
92726
92819
|
}
|
|
92727
|
-
case "disableDrillDown": return [["disable_drill_down", getValueOrDefault(value, DEFAULTS$
|
|
92820
|
+
case "disableDrillDown": return [["disable_drill_down", getValueOrDefault(value, DEFAULTS$10.disableDrillDown, "bool")]];
|
|
92728
92821
|
case "disableDrillIntoURL": return [["disable_drill_into_url", value === void 0 ? void 0 : !!value]];
|
|
92729
|
-
case "disableAlerts": return [["disable_alerts", getValueOrDefault(value, DEFAULTS$
|
|
92730
|
-
case "disableScheduledExports": return [["disable_scheduled_exports", getValueOrDefault(value, DEFAULTS$
|
|
92822
|
+
case "disableAlerts": return [["disable_alerts", getValueOrDefault(value, DEFAULTS$10.disableAlerts, "bool")]];
|
|
92823
|
+
case "disableScheduledExports": return [["disable_scheduled_exports", getValueOrDefault(value, DEFAULTS$10.disableScheduledExports, "bool")]];
|
|
92731
92824
|
case "disableKeyDriveAnalysisOn": return [["disable_key_drive_analysis", loadDisableKda(value)]];
|
|
92732
92825
|
case "customTooltip": return [["custom_tooltip", loadCustomTooltip(value)]];
|
|
92733
92826
|
default: return [];
|
|
@@ -92740,35 +92833,35 @@ function heatmapChartSave(_fields, config) {
|
|
|
92740
92833
|
return saveConfigObject({
|
|
92741
92834
|
colorMapping: saveConfigObject(saveColorMapping(config.colors ?? {})),
|
|
92742
92835
|
dataLabels: saveConfigObject({
|
|
92743
|
-
visible: getValueOrDefault(config.data_labels, DEFAULTS$
|
|
92744
|
-
style: getValueOrDefault(config.data_labels_style, DEFAULTS$
|
|
92836
|
+
visible: getValueOrDefault(config.data_labels, DEFAULTS$10.dataLabels.visible, "bool_auto"),
|
|
92837
|
+
style: getValueOrDefault(config.data_labels_style, DEFAULTS$10.dataLabels.style)
|
|
92745
92838
|
}),
|
|
92746
92839
|
legend: saveConfigObject({
|
|
92747
|
-
enabled: getValueOrDefault(config.legend_enabled, DEFAULTS$
|
|
92748
|
-
position: getValueOrDefault(config.legend_position, DEFAULTS$
|
|
92840
|
+
enabled: getValueOrDefault(config.legend_enabled, DEFAULTS$10.legend.enabled, "bool"),
|
|
92841
|
+
position: getValueOrDefault(config.legend_position, DEFAULTS$10.legend.position)
|
|
92749
92842
|
}),
|
|
92750
92843
|
xaxis: saveConfigObject({
|
|
92751
92844
|
name: saveConfigObject({
|
|
92752
|
-
position: getValueOrDefault(config.xaxis_name_position, DEFAULTS$
|
|
92753
|
-
visible: getValueOrDefault(config.xaxis_name_visible, DEFAULTS$
|
|
92845
|
+
position: getValueOrDefault(config.xaxis_name_position, DEFAULTS$10.xaxis.name.position),
|
|
92846
|
+
visible: getValueOrDefault(config.xaxis_name_visible, DEFAULTS$10.xaxis.name.visible, "bool")
|
|
92754
92847
|
}),
|
|
92755
|
-
rotation: getValueOrDefault(config.xaxis_rotation, DEFAULTS$
|
|
92756
|
-
visible: getValueOrDefault(config.xaxis_visible, DEFAULTS$
|
|
92757
|
-
labelsEnabled: getValueOrDefault(config.xaxis_labels, DEFAULTS$
|
|
92848
|
+
rotation: getValueOrDefault(config.xaxis_rotation, DEFAULTS$10.xaxis.rotation),
|
|
92849
|
+
visible: getValueOrDefault(config.xaxis_visible, DEFAULTS$10.xaxis.visible, "bool"),
|
|
92850
|
+
labelsEnabled: getValueOrDefault(config.xaxis_labels, DEFAULTS$10.xaxis.labelsEnabled, "bool")
|
|
92758
92851
|
}),
|
|
92759
92852
|
yaxis: saveConfigObject({
|
|
92760
92853
|
name: saveConfigObject({
|
|
92761
|
-
position: getValueOrDefault(config.yaxis_name_position, DEFAULTS$
|
|
92762
|
-
visible: getValueOrDefault(config.yaxis_name_visible, DEFAULTS$
|
|
92854
|
+
position: getValueOrDefault(config.yaxis_name_position, DEFAULTS$10.yaxis.name.position),
|
|
92855
|
+
visible: getValueOrDefault(config.yaxis_name_visible, DEFAULTS$10.yaxis.name.visible, "bool")
|
|
92763
92856
|
}),
|
|
92764
|
-
rotation: getValueOrDefault(config.yaxis_rotation, DEFAULTS$
|
|
92765
|
-
visible: getValueOrDefault(config.yaxis_visible, DEFAULTS$
|
|
92766
|
-
labelsEnabled: getValueOrDefault(config.yaxis_labels, DEFAULTS$
|
|
92857
|
+
rotation: getValueOrDefault(config.yaxis_rotation, DEFAULTS$10.yaxis.rotation),
|
|
92858
|
+
visible: getValueOrDefault(config.yaxis_visible, DEFAULTS$10.yaxis.visible, "bool"),
|
|
92859
|
+
labelsEnabled: getValueOrDefault(config.yaxis_labels, DEFAULTS$10.yaxis.labelsEnabled, "bool")
|
|
92767
92860
|
}),
|
|
92768
|
-
disableDrillDown: getValueOrDefault(config.disable_drill_down, DEFAULTS$
|
|
92861
|
+
disableDrillDown: getValueOrDefault(config.disable_drill_down, DEFAULTS$10.disableDrillDown, "bool"),
|
|
92769
92862
|
disableDrillIntoURL: config.disable_drill_into_url === void 0 ? void 0 : !!config.disable_drill_into_url,
|
|
92770
|
-
disableAlerts: getValueOrDefault(config.disable_alerts, DEFAULTS$
|
|
92771
|
-
disableScheduledExports: getValueOrDefault(config.disable_scheduled_exports, DEFAULTS$
|
|
92863
|
+
disableAlerts: getValueOrDefault(config.disable_alerts, DEFAULTS$10.disableAlerts, "bool"),
|
|
92864
|
+
disableScheduledExports: getValueOrDefault(config.disable_scheduled_exports, DEFAULTS$10.disableScheduledExports, "bool"),
|
|
92772
92865
|
disableKeyDriveAnalysisOn: saveConfigObject(config.disable_key_drive_analysis),
|
|
92773
92866
|
customTooltip: saveConfigObject(saveCustomTooltip(config.custom_tooltip))
|
|
92774
92867
|
});
|
|
@@ -92780,12 +92873,12 @@ function heatmapChartSave(_fields, config) {
|
|
|
92780
92873
|
const heatmapChart = {
|
|
92781
92874
|
load: heatmapChartLoad,
|
|
92782
92875
|
save: heatmapChartSave,
|
|
92783
|
-
DEFAULTS: DEFAULTS$
|
|
92876
|
+
DEFAULTS: DEFAULTS$10
|
|
92784
92877
|
};
|
|
92785
92878
|
//#endregion
|
|
92786
92879
|
//#region ../../../sdk/libs/sdk-code-convertors/src/configs/lineChart.ts
|
|
92787
92880
|
/** @internal */
|
|
92788
|
-
const DEFAULTS$
|
|
92881
|
+
const DEFAULTS$9 = {
|
|
92789
92882
|
colorMapping: [],
|
|
92790
92883
|
continuousLine: { enabled: false },
|
|
92791
92884
|
distinctPointShapes: { enabled: false },
|
|
@@ -92847,73 +92940,73 @@ function lineChartLoad(props) {
|
|
|
92847
92940
|
return loadConfig(props, (key, value) => {
|
|
92848
92941
|
switch (key) {
|
|
92849
92942
|
case "colorMapping": return [["colors", loadColorMapping(value)]];
|
|
92850
|
-
case "continuousLine": return [["continuous_line", getValueOrDefault(value.enabled, DEFAULTS$
|
|
92943
|
+
case "continuousLine": return [["continuous_line", getValueOrDefault(value.enabled, DEFAULTS$9.continuousLine.enabled, "bool")]];
|
|
92851
92944
|
case "distinctPointShapes": {
|
|
92852
92945
|
const val = value;
|
|
92853
92946
|
return [["distinct_point_shapes", {
|
|
92854
|
-
enabled: getValueOrDefault(val.enabled, DEFAULTS$
|
|
92855
|
-
point_shape_mapping: val.pointShapeMapping ?? DEFAULTS$
|
|
92947
|
+
enabled: getValueOrDefault(val.enabled, DEFAULTS$9.distinctPointShapes.enabled, "bool"),
|
|
92948
|
+
point_shape_mapping: val.pointShapeMapping ?? DEFAULTS$9.distinctPointShapes.pointShapeMapping
|
|
92856
92949
|
}]];
|
|
92857
92950
|
}
|
|
92858
92951
|
case "dataLabels": {
|
|
92859
92952
|
const val = value;
|
|
92860
|
-
return [["data_labels", getValueOrDefault(val.visible, DEFAULTS$
|
|
92953
|
+
return [["data_labels", getValueOrDefault(val.visible, DEFAULTS$9.dataLabels.visible, "bool_auto")], ["data_labels_style", getValueOrDefault(val.style, DEFAULTS$9.dataLabels.style)]];
|
|
92861
92954
|
}
|
|
92862
|
-
case "dataPoints": return [["data_points", getValueOrDefault(value.visible, DEFAULTS$
|
|
92955
|
+
case "dataPoints": return [["data_points", getValueOrDefault(value.visible, DEFAULTS$9.dataPoints.visible, "bool_auto")]];
|
|
92863
92956
|
case "legend": {
|
|
92864
92957
|
const val = value;
|
|
92865
|
-
return [["legend_enabled", getValueOrDefault(val.enabled, DEFAULTS$
|
|
92958
|
+
return [["legend_enabled", getValueOrDefault(val.enabled, DEFAULTS$9.legend.enabled, "bool")], ["legend_position", getValueOrDefault(val.position, DEFAULTS$9.legend.position)]];
|
|
92866
92959
|
}
|
|
92867
92960
|
case "xaxis": {
|
|
92868
92961
|
const val = value;
|
|
92869
92962
|
return [
|
|
92870
|
-
["xaxis_name_position", getValueOrDefault(val.name?.position, DEFAULTS$
|
|
92871
|
-
["xaxis_name_visible", getValueOrDefault(val.name?.visible, DEFAULTS$
|
|
92872
|
-
["xaxis_rotation", getValueOrDefault(val.rotation, DEFAULTS$
|
|
92873
|
-
["xaxis_visible", getValueOrDefault(val.visible, DEFAULTS$
|
|
92874
|
-
["xaxis_labels", getValueOrDefault(val.labelsEnabled, DEFAULTS$
|
|
92963
|
+
["xaxis_name_position", getValueOrDefault(val.name?.position, DEFAULTS$9.xaxis.name.position)],
|
|
92964
|
+
["xaxis_name_visible", getValueOrDefault(val.name?.visible, DEFAULTS$9.xaxis.name.visible, "bool")],
|
|
92965
|
+
["xaxis_rotation", getValueOrDefault(val.rotation, DEFAULTS$9.xaxis.rotation)],
|
|
92966
|
+
["xaxis_visible", getValueOrDefault(val.visible, DEFAULTS$9.xaxis.visible, "bool")],
|
|
92967
|
+
["xaxis_labels", getValueOrDefault(val.labelsEnabled, DEFAULTS$9.xaxis.labelsEnabled, "bool")]
|
|
92875
92968
|
];
|
|
92876
92969
|
}
|
|
92877
92970
|
case "yaxis": {
|
|
92878
92971
|
const val = value;
|
|
92879
92972
|
return [
|
|
92880
|
-
["yaxis_format", getValueOrDefault(val.format, DEFAULTS$
|
|
92881
|
-
["yaxis_max", getValueOrDefault(val.max, DEFAULTS$
|
|
92882
|
-
["yaxis_min", getValueOrDefault(val.min, DEFAULTS$
|
|
92883
|
-
["yaxis_name_position", getValueOrDefault(val.name?.position, DEFAULTS$
|
|
92884
|
-
["yaxis_name_visible", getValueOrDefault(val.name?.visible, DEFAULTS$
|
|
92885
|
-
["yaxis_rotation", getValueOrDefault(val.rotation, DEFAULTS$
|
|
92886
|
-
["yaxis_visible", getValueOrDefault(val.visible, DEFAULTS$
|
|
92887
|
-
["yaxis_labels", getValueOrDefault(val.labelsEnabled, DEFAULTS$
|
|
92973
|
+
["yaxis_format", getValueOrDefault(val.format, DEFAULTS$9.yaxis.format)],
|
|
92974
|
+
["yaxis_max", getValueOrDefault(val.max, DEFAULTS$9.yaxis.max, "number")],
|
|
92975
|
+
["yaxis_min", getValueOrDefault(val.min, DEFAULTS$9.yaxis.min, "number")],
|
|
92976
|
+
["yaxis_name_position", getValueOrDefault(val.name?.position, DEFAULTS$9.yaxis.name.position)],
|
|
92977
|
+
["yaxis_name_visible", getValueOrDefault(val.name?.visible, DEFAULTS$9.yaxis.name.visible, "bool")],
|
|
92978
|
+
["yaxis_rotation", getValueOrDefault(val.rotation, DEFAULTS$9.yaxis.rotation)],
|
|
92979
|
+
["yaxis_visible", getValueOrDefault(val.visible, DEFAULTS$9.yaxis.visible, "bool")],
|
|
92980
|
+
["yaxis_labels", getValueOrDefault(val.labelsEnabled, DEFAULTS$9.yaxis.labelsEnabled, "bool")]
|
|
92888
92981
|
];
|
|
92889
92982
|
}
|
|
92890
|
-
case "grid": return [["grid_enabled", getValueOrDefault(value.enabled, DEFAULTS$
|
|
92983
|
+
case "grid": return [["grid_enabled", getValueOrDefault(value.enabled, DEFAULTS$9.grid.enabled, "bool")]];
|
|
92891
92984
|
case "forecast": {
|
|
92892
92985
|
const val = value;
|
|
92893
92986
|
return [
|
|
92894
|
-
["forecast_enabled", getValueOrDefault(val.enabled, DEFAULTS$
|
|
92895
|
-
["forecast_confidence", getValueOrDefault(val.confidence, DEFAULTS$
|
|
92896
|
-
["forecast_period", getValueOrDefault(val.period, DEFAULTS$
|
|
92897
|
-
["forecast_seasonal", getValueOrDefault(val.seasonal, DEFAULTS$
|
|
92987
|
+
["forecast_enabled", getValueOrDefault(val.enabled, DEFAULTS$9.forecast.enabled, "bool")],
|
|
92988
|
+
["forecast_confidence", getValueOrDefault(val.confidence, DEFAULTS$9.forecast.confidence, "number")],
|
|
92989
|
+
["forecast_period", getValueOrDefault(val.period, DEFAULTS$9.forecast.period, "number")],
|
|
92990
|
+
["forecast_seasonal", getValueOrDefault(val.seasonal, DEFAULTS$9.forecast.seasonal, "bool")]
|
|
92898
92991
|
];
|
|
92899
92992
|
}
|
|
92900
92993
|
case "anomalies": {
|
|
92901
92994
|
const val = value;
|
|
92902
92995
|
return [
|
|
92903
|
-
["anomaly_detection_enabled", getValueOrDefault(val.enabled, DEFAULTS$
|
|
92904
|
-
["anomaly_detection_sensitivity", getValueOrDefault(val.sensitivity, DEFAULTS$
|
|
92905
|
-
["anomaly_detection_size", getValueOrDefault(val.size, DEFAULTS$
|
|
92906
|
-
["anomaly_detection_color", getValueOrDefault(val.color, DEFAULTS$
|
|
92996
|
+
["anomaly_detection_enabled", getValueOrDefault(val.enabled, DEFAULTS$9.anomalies.enabled, "bool")],
|
|
92997
|
+
["anomaly_detection_sensitivity", getValueOrDefault(val.sensitivity, DEFAULTS$9.anomalies.sensitivity)],
|
|
92998
|
+
["anomaly_detection_size", getValueOrDefault(val.size, DEFAULTS$9.anomalies.size)],
|
|
92999
|
+
["anomaly_detection_color", getValueOrDefault(val.color, DEFAULTS$9.anomalies.color)]
|
|
92907
93000
|
];
|
|
92908
93001
|
}
|
|
92909
|
-
case "disableDrillDown": return [["disable_drill_down", getValueOrDefault(value, DEFAULTS$
|
|
93002
|
+
case "disableDrillDown": return [["disable_drill_down", getValueOrDefault(value, DEFAULTS$9.disableDrillDown, "bool")]];
|
|
92910
93003
|
case "disableDrillIntoURL": return [["disable_drill_into_url", value === void 0 ? void 0 : !!value]];
|
|
92911
|
-
case "disableAlerts": return [["disable_alerts", getValueOrDefault(value, DEFAULTS$
|
|
92912
|
-
case "disableScheduledExports": return [["disable_scheduled_exports", getValueOrDefault(value, DEFAULTS$
|
|
93004
|
+
case "disableAlerts": return [["disable_alerts", getValueOrDefault(value, DEFAULTS$9.disableAlerts, "bool")]];
|
|
93005
|
+
case "disableScheduledExports": return [["disable_scheduled_exports", getValueOrDefault(value, DEFAULTS$9.disableScheduledExports, "bool")]];
|
|
92913
93006
|
case "disableKeyDriveAnalysisOn": return [["disable_key_drive_analysis", loadDisableKda(value)]];
|
|
92914
93007
|
case "customTooltip": return [["custom_tooltip", loadCustomTooltip(value)]];
|
|
92915
|
-
case "thresholdMeasures": return [["line_style_control_metrics", getValueOrDefault(value, DEFAULTS$
|
|
92916
|
-
case "thresholdExcludedMeasures": return [["line_style_excluded_metrics", getValueOrDefault(value, DEFAULTS$
|
|
93008
|
+
case "thresholdMeasures": return [["line_style_control_metrics", getValueOrDefault(value, DEFAULTS$9.thresholdMeasures, "array")]];
|
|
93009
|
+
case "thresholdExcludedMeasures": return [["line_style_excluded_metrics", getValueOrDefault(value, DEFAULTS$9.thresholdExcludedMeasures, "array")]];
|
|
92917
93010
|
case "lineStyleMapping": return [["line_style_mapping", loadLineStyleMapping(value)]];
|
|
92918
93011
|
default: return [];
|
|
92919
93012
|
}
|
|
@@ -92924,62 +93017,62 @@ function lineChartSave(_fields, config) {
|
|
|
92924
93017
|
if (!config) return;
|
|
92925
93018
|
return saveConfigObject({
|
|
92926
93019
|
colorMapping: saveConfigObject(saveColorMapping(config.colors ?? {})),
|
|
92927
|
-
continuousLine: saveConfigObject({ enabled: getValueOrDefault(config.continuous_line, DEFAULTS$
|
|
93020
|
+
continuousLine: saveConfigObject({ enabled: getValueOrDefault(config.continuous_line, DEFAULTS$9.continuousLine.enabled, "bool") }),
|
|
92928
93021
|
distinctPointShapes: saveConfigObject({
|
|
92929
|
-
enabled: getValueOrDefault(config.distinct_point_shapes?.enabled, DEFAULTS$
|
|
92930
|
-
pointShapeMapping: config.distinct_point_shapes?.point_shape_mapping ?? DEFAULTS$
|
|
93022
|
+
enabled: getValueOrDefault(config.distinct_point_shapes?.enabled, DEFAULTS$9.distinctPointShapes.enabled, "bool"),
|
|
93023
|
+
pointShapeMapping: config.distinct_point_shapes?.point_shape_mapping ?? DEFAULTS$9.distinctPointShapes.pointShapeMapping
|
|
92931
93024
|
}),
|
|
92932
93025
|
dataLabels: saveConfigObject({
|
|
92933
|
-
visible: getValueOrDefault(config.data_labels, DEFAULTS$
|
|
92934
|
-
style: getValueOrDefault(config.data_labels_style, DEFAULTS$
|
|
93026
|
+
visible: getValueOrDefault(config.data_labels, DEFAULTS$9.dataLabels.visible, "bool_auto"),
|
|
93027
|
+
style: getValueOrDefault(config.data_labels_style, DEFAULTS$9.dataLabels.style)
|
|
92935
93028
|
}),
|
|
92936
|
-
dataPoints: saveConfigObject({ visible: getValueOrDefault(config.data_points, DEFAULTS$
|
|
93029
|
+
dataPoints: saveConfigObject({ visible: getValueOrDefault(config.data_points, DEFAULTS$9.dataPoints.visible, "bool_auto") }),
|
|
92937
93030
|
legend: saveConfigObject({
|
|
92938
|
-
enabled: getValueOrDefault(config.legend_enabled, DEFAULTS$
|
|
92939
|
-
position: getValueOrDefault(config.legend_position, DEFAULTS$
|
|
93031
|
+
enabled: getValueOrDefault(config.legend_enabled, DEFAULTS$9.legend.enabled, "bool"),
|
|
93032
|
+
position: getValueOrDefault(config.legend_position, DEFAULTS$9.legend.position)
|
|
92940
93033
|
}),
|
|
92941
93034
|
xaxis: saveConfigObject({
|
|
92942
93035
|
name: saveConfigObject({
|
|
92943
|
-
position: getValueOrDefault(config.xaxis_name_position, DEFAULTS$
|
|
92944
|
-
visible: getValueOrDefault(config.xaxis_name_visible, DEFAULTS$
|
|
93036
|
+
position: getValueOrDefault(config.xaxis_name_position, DEFAULTS$9.xaxis.name.position),
|
|
93037
|
+
visible: getValueOrDefault(config.xaxis_name_visible, DEFAULTS$9.xaxis.name.visible, "bool")
|
|
92945
93038
|
}),
|
|
92946
|
-
rotation: getValueOrDefault(config.xaxis_rotation, DEFAULTS$
|
|
92947
|
-
visible: getValueOrDefault(config.xaxis_visible, DEFAULTS$
|
|
92948
|
-
labelsEnabled: getValueOrDefault(config.xaxis_labels, DEFAULTS$
|
|
93039
|
+
rotation: getValueOrDefault(config.xaxis_rotation, DEFAULTS$9.xaxis.rotation),
|
|
93040
|
+
visible: getValueOrDefault(config.xaxis_visible, DEFAULTS$9.xaxis.visible, "bool"),
|
|
93041
|
+
labelsEnabled: getValueOrDefault(config.xaxis_labels, DEFAULTS$9.xaxis.labelsEnabled, "bool")
|
|
92949
93042
|
}),
|
|
92950
93043
|
yaxis: saveConfigObject({
|
|
92951
|
-
format: getValueOrDefault(config.yaxis_format, DEFAULTS$
|
|
92952
|
-
max: getValueOrDefault(config.yaxis_max, DEFAULTS$
|
|
92953
|
-
min: getValueOrDefault(config.yaxis_min, DEFAULTS$
|
|
93044
|
+
format: getValueOrDefault(config.yaxis_format, DEFAULTS$9.yaxis.format),
|
|
93045
|
+
max: getValueOrDefault(config.yaxis_max, DEFAULTS$9.yaxis.max),
|
|
93046
|
+
min: getValueOrDefault(config.yaxis_min, DEFAULTS$9.yaxis.min),
|
|
92954
93047
|
name: saveConfigObject({
|
|
92955
|
-
position: getValueOrDefault(config.yaxis_name_position, DEFAULTS$
|
|
92956
|
-
visible: getValueOrDefault(config.yaxis_name_visible, DEFAULTS$
|
|
93048
|
+
position: getValueOrDefault(config.yaxis_name_position, DEFAULTS$9.yaxis.name.position),
|
|
93049
|
+
visible: getValueOrDefault(config.yaxis_name_visible, DEFAULTS$9.yaxis.name.visible, "bool")
|
|
92957
93050
|
}),
|
|
92958
|
-
rotation: getValueOrDefault(config.yaxis_rotation, DEFAULTS$
|
|
92959
|
-
visible: getValueOrDefault(config.yaxis_visible, DEFAULTS$
|
|
92960
|
-
labelsEnabled: getValueOrDefault(config.yaxis_labels, DEFAULTS$
|
|
93051
|
+
rotation: getValueOrDefault(config.yaxis_rotation, DEFAULTS$9.yaxis.rotation),
|
|
93052
|
+
visible: getValueOrDefault(config.yaxis_visible, DEFAULTS$9.yaxis.visible, "bool"),
|
|
93053
|
+
labelsEnabled: getValueOrDefault(config.yaxis_labels, DEFAULTS$9.yaxis.labelsEnabled, "bool")
|
|
92961
93054
|
}),
|
|
92962
|
-
grid: saveConfigObject({ enabled: getValueOrDefault(config.grid_enabled, DEFAULTS$
|
|
93055
|
+
grid: saveConfigObject({ enabled: getValueOrDefault(config.grid_enabled, DEFAULTS$9.grid.enabled, "bool") }),
|
|
92963
93056
|
forecast: saveConfigObject({
|
|
92964
|
-
enabled: getValueOrDefault(config.forecast_enabled, DEFAULTS$
|
|
92965
|
-
confidence: getValueOrDefault(config.forecast_confidence, DEFAULTS$
|
|
92966
|
-
period: getValueOrDefault(config.forecast_period, DEFAULTS$
|
|
92967
|
-
seasonal: getValueOrDefault(config.forecast_seasonal, DEFAULTS$
|
|
93057
|
+
enabled: getValueOrDefault(config.forecast_enabled, DEFAULTS$9.forecast.enabled, "bool"),
|
|
93058
|
+
confidence: getValueOrDefault(config.forecast_confidence, DEFAULTS$9.forecast.confidence, "number"),
|
|
93059
|
+
period: getValueOrDefault(config.forecast_period, DEFAULTS$9.forecast.period, "number"),
|
|
93060
|
+
seasonal: getValueOrDefault(config.forecast_seasonal, DEFAULTS$9.forecast.seasonal, "bool")
|
|
92968
93061
|
}),
|
|
92969
93062
|
anomalies: saveConfigObject({
|
|
92970
|
-
enabled: getValueOrDefault(config.anomaly_detection_enabled, DEFAULTS$
|
|
92971
|
-
sensitivity: getValueOrDefault(config.anomaly_detection_sensitivity, DEFAULTS$
|
|
92972
|
-
size: getValueOrDefault(config.anomaly_detection_size, DEFAULTS$
|
|
92973
|
-
color: getValueOrDefault(config.anomaly_detection_color, DEFAULTS$
|
|
93063
|
+
enabled: getValueOrDefault(config.anomaly_detection_enabled, DEFAULTS$9.anomalies.enabled, "bool"),
|
|
93064
|
+
sensitivity: getValueOrDefault(config.anomaly_detection_sensitivity, DEFAULTS$9.anomalies.sensitivity),
|
|
93065
|
+
size: getValueOrDefault(config.anomaly_detection_size, DEFAULTS$9.anomalies.size),
|
|
93066
|
+
color: getValueOrDefault(config.anomaly_detection_color, DEFAULTS$9.anomalies.color)
|
|
92974
93067
|
}),
|
|
92975
|
-
disableDrillDown: getValueOrDefault(config.disable_drill_down, DEFAULTS$
|
|
93068
|
+
disableDrillDown: getValueOrDefault(config.disable_drill_down, DEFAULTS$9.disableDrillDown, "bool"),
|
|
92976
93069
|
disableDrillIntoURL: config.disable_drill_into_url === void 0 ? void 0 : !!config.disable_drill_into_url,
|
|
92977
|
-
disableAlerts: getValueOrDefault(config.disable_alerts, DEFAULTS$
|
|
92978
|
-
disableScheduledExports: getValueOrDefault(config.disable_scheduled_exports, DEFAULTS$
|
|
93070
|
+
disableAlerts: getValueOrDefault(config.disable_alerts, DEFAULTS$9.disableAlerts, "bool"),
|
|
93071
|
+
disableScheduledExports: getValueOrDefault(config.disable_scheduled_exports, DEFAULTS$9.disableScheduledExports, "bool"),
|
|
92979
93072
|
disableKeyDriveAnalysisOn: saveConfigObject(config.disable_key_drive_analysis),
|
|
92980
93073
|
customTooltip: saveConfigObject(saveCustomTooltip(config.custom_tooltip)),
|
|
92981
|
-
thresholdMeasures: getValueOrDefault(config.line_style_control_metrics, DEFAULTS$
|
|
92982
|
-
thresholdExcludedMeasures: getValueOrDefault(config.line_style_excluded_metrics, DEFAULTS$
|
|
93074
|
+
thresholdMeasures: getValueOrDefault(config.line_style_control_metrics, DEFAULTS$9.thresholdMeasures, "array"),
|
|
93075
|
+
thresholdExcludedMeasures: getValueOrDefault(config.line_style_excluded_metrics, DEFAULTS$9.thresholdExcludedMeasures, "array"),
|
|
92983
93076
|
lineStyleMapping: saveLineStyleMapping(config["line_style_mapping"])
|
|
92984
93077
|
});
|
|
92985
93078
|
}
|
|
@@ -92990,12 +93083,12 @@ function lineChartSave(_fields, config) {
|
|
|
92990
93083
|
const lineChart = {
|
|
92991
93084
|
load: lineChartLoad,
|
|
92992
93085
|
save: lineChartSave,
|
|
92993
|
-
DEFAULTS: DEFAULTS$
|
|
93086
|
+
DEFAULTS: DEFAULTS$9
|
|
92994
93087
|
};
|
|
92995
93088
|
//#endregion
|
|
92996
93089
|
//#region ../../../sdk/libs/sdk-code-convertors/src/configs/pieChart.ts
|
|
92997
93090
|
/** @internal */
|
|
92998
|
-
const DEFAULTS$
|
|
93091
|
+
const DEFAULTS$8 = {
|
|
92999
93092
|
colorMapping: [],
|
|
93000
93093
|
dataLabels: {
|
|
93001
93094
|
visible: false,
|
|
@@ -93015,6 +93108,82 @@ const DEFAULTS$7 = {
|
|
|
93015
93108
|
};
|
|
93016
93109
|
/** @internal */
|
|
93017
93110
|
function pieChartLoad(props) {
|
|
93111
|
+
return loadConfig(props, (key, value) => {
|
|
93112
|
+
switch (key) {
|
|
93113
|
+
case "colorMapping": return [["colors", loadColorMapping(value)]];
|
|
93114
|
+
case "dataLabels": {
|
|
93115
|
+
const val = value;
|
|
93116
|
+
return [["data_labels", getValueOrDefault(val.visible, DEFAULTS$8.dataLabels.visible, "bool_auto")], ["data_labels_style", getValueOrDefault(val.style, DEFAULTS$8.dataLabels.style)]];
|
|
93117
|
+
}
|
|
93118
|
+
case "chartFill": return [["chart_fill", loadChartFill(value, DEFAULTS$8.chartFill)]];
|
|
93119
|
+
case "legend": {
|
|
93120
|
+
const val = value;
|
|
93121
|
+
return [["legend_enabled", getValueOrDefault(val.enabled, DEFAULTS$8.legend.enabled, "bool")], ["legend_position", getValueOrDefault(val.position, DEFAULTS$8.legend.position)]];
|
|
93122
|
+
}
|
|
93123
|
+
case "disableDrillDown": return [["disable_drill_down", getValueOrDefault(value, DEFAULTS$8.disableDrillDown, "bool")]];
|
|
93124
|
+
case "disableDrillIntoURL": return [["disable_drill_into_url", value === void 0 ? void 0 : !!value]];
|
|
93125
|
+
case "disableAlerts": return [["disable_alerts", getValueOrDefault(value, DEFAULTS$8.disableAlerts, "bool")]];
|
|
93126
|
+
case "disableScheduledExports": return [["disable_scheduled_exports", getValueOrDefault(value, DEFAULTS$8.disableScheduledExports, "bool")]];
|
|
93127
|
+
case "disableKeyDriveAnalysisOn": return [["disable_key_drive_analysis", loadDisableKda(value)]];
|
|
93128
|
+
case "customTooltip": return [["custom_tooltip", loadCustomTooltip(value)]];
|
|
93129
|
+
default: return [];
|
|
93130
|
+
}
|
|
93131
|
+
});
|
|
93132
|
+
}
|
|
93133
|
+
/** @internal */
|
|
93134
|
+
function pieChartSave(_fields, config) {
|
|
93135
|
+
if (!config) return;
|
|
93136
|
+
return saveConfigObject({
|
|
93137
|
+
colorMapping: saveConfigObject(saveColorMapping(config.colors ?? {})),
|
|
93138
|
+
dataLabels: saveConfigObject({
|
|
93139
|
+
visible: getValueOrDefault(config.data_labels, DEFAULTS$8.dataLabels.visible, "bool_auto"),
|
|
93140
|
+
style: getValueOrDefault(config.data_labels_style, DEFAULTS$8.dataLabels.style)
|
|
93141
|
+
}),
|
|
93142
|
+
chartFill: saveConfigObject(saveChartFill(config, DEFAULTS$8.chartFill)),
|
|
93143
|
+
legend: saveConfigObject({
|
|
93144
|
+
enabled: getValueOrDefault(config.legend_enabled, DEFAULTS$8.legend.enabled, "bool"),
|
|
93145
|
+
position: getValueOrDefault(config.legend_position, DEFAULTS$8.legend.position)
|
|
93146
|
+
}),
|
|
93147
|
+
disableDrillDown: getValueOrDefault(config.disable_drill_down, DEFAULTS$8.disableDrillDown, "bool"),
|
|
93148
|
+
disableDrillIntoURL: config.disable_drill_into_url === void 0 ? void 0 : !!config.disable_drill_into_url,
|
|
93149
|
+
disableAlerts: getValueOrDefault(config.disable_alerts, DEFAULTS$8.disableAlerts, "bool"),
|
|
93150
|
+
disableScheduledExports: getValueOrDefault(config.disable_scheduled_exports, DEFAULTS$8.disableScheduledExports, "bool"),
|
|
93151
|
+
disableKeyDriveAnalysisOn: saveConfigObject(config.disable_key_drive_analysis),
|
|
93152
|
+
customTooltip: saveConfigObject(saveCustomTooltip(config.custom_tooltip))
|
|
93153
|
+
});
|
|
93154
|
+
}
|
|
93155
|
+
/**
|
|
93156
|
+
* @internal
|
|
93157
|
+
* @deprecated Use pieChartLoad and pieChartSave instead.
|
|
93158
|
+
*/
|
|
93159
|
+
const pieChart = {
|
|
93160
|
+
load: pieChartLoad,
|
|
93161
|
+
save: pieChartSave,
|
|
93162
|
+
DEFAULTS: DEFAULTS$8
|
|
93163
|
+
};
|
|
93164
|
+
//#endregion
|
|
93165
|
+
//#region ../../../sdk/libs/sdk-code-convertors/src/configs/pyramidChart.ts
|
|
93166
|
+
/** @internal */
|
|
93167
|
+
const DEFAULTS$7 = {
|
|
93168
|
+
colorMapping: [],
|
|
93169
|
+
dataLabels: {
|
|
93170
|
+
visible: "auto",
|
|
93171
|
+
style: "auto"
|
|
93172
|
+
},
|
|
93173
|
+
chartFill: { type: "solid" },
|
|
93174
|
+
legend: {
|
|
93175
|
+
enabled: true,
|
|
93176
|
+
position: "auto"
|
|
93177
|
+
},
|
|
93178
|
+
disableDrillDown: false,
|
|
93179
|
+
disableDrillIntoURL: false,
|
|
93180
|
+
disableAlerts: false,
|
|
93181
|
+
disableScheduledExports: false,
|
|
93182
|
+
disableKeyDriveAnalysisOn: {},
|
|
93183
|
+
customTooltip: DEFAULT_CUSTOM_TOOLTIP
|
|
93184
|
+
};
|
|
93185
|
+
/** @internal */
|
|
93186
|
+
function pyramidChartLoad(props) {
|
|
93018
93187
|
return loadConfig(props, (key, value) => {
|
|
93019
93188
|
switch (key) {
|
|
93020
93189
|
case "colorMapping": return [["colors", loadColorMapping(value)]];
|
|
@@ -93038,7 +93207,7 @@ function pieChartLoad(props) {
|
|
|
93038
93207
|
});
|
|
93039
93208
|
}
|
|
93040
93209
|
/** @internal */
|
|
93041
|
-
function
|
|
93210
|
+
function pyramidChartSave(_fields, config) {
|
|
93042
93211
|
if (!config) return;
|
|
93043
93212
|
return saveConfigObject({
|
|
93044
93213
|
colorMapping: saveConfigObject(saveColorMapping(config.colors ?? {})),
|
|
@@ -93061,27 +93230,59 @@ function pieChartSave(_fields, config) {
|
|
|
93061
93230
|
}
|
|
93062
93231
|
/**
|
|
93063
93232
|
* @internal
|
|
93064
|
-
* @deprecated Use
|
|
93233
|
+
* @deprecated Use pyramidChartLoad and pyramidChartSave instead.
|
|
93065
93234
|
*/
|
|
93066
|
-
const
|
|
93067
|
-
load:
|
|
93068
|
-
save:
|
|
93235
|
+
const pyramidChart = {
|
|
93236
|
+
load: pyramidChartLoad,
|
|
93237
|
+
save: pyramidChartSave,
|
|
93069
93238
|
DEFAULTS: DEFAULTS$7
|
|
93070
93239
|
};
|
|
93071
93240
|
//#endregion
|
|
93072
|
-
//#region ../../../sdk/libs/sdk-code-convertors/src/configs/
|
|
93241
|
+
//#region ../../../sdk/libs/sdk-code-convertors/src/configs/radarChart.ts
|
|
93073
93242
|
/** @internal */
|
|
93074
93243
|
const DEFAULTS$6 = {
|
|
93075
93244
|
colorMapping: [],
|
|
93245
|
+
continuousLine: { enabled: false },
|
|
93246
|
+
distinctPointShapes: { enabled: false },
|
|
93247
|
+
chartFill: { type: "solid" },
|
|
93248
|
+
radarRenderAs: "filled",
|
|
93249
|
+
radarGridLineShape: "polygon",
|
|
93076
93250
|
dataLabels: {
|
|
93077
|
-
visible:
|
|
93251
|
+
visible: false,
|
|
93078
93252
|
style: "auto"
|
|
93079
93253
|
},
|
|
93080
|
-
|
|
93254
|
+
dataPoints: { visible: "auto" },
|
|
93081
93255
|
legend: {
|
|
93082
93256
|
enabled: true,
|
|
93083
93257
|
position: "auto"
|
|
93084
93258
|
},
|
|
93259
|
+
xaxis: {
|
|
93260
|
+
name: {
|
|
93261
|
+
visible: true,
|
|
93262
|
+
position: "auto"
|
|
93263
|
+
},
|
|
93264
|
+
labelsEnabled: true,
|
|
93265
|
+
rotation: "auto",
|
|
93266
|
+
visible: true
|
|
93267
|
+
},
|
|
93268
|
+
yaxis: {
|
|
93269
|
+
max: "",
|
|
93270
|
+
min: "",
|
|
93271
|
+
name: {
|
|
93272
|
+
visible: true,
|
|
93273
|
+
position: "auto"
|
|
93274
|
+
},
|
|
93275
|
+
labelsEnabled: true,
|
|
93276
|
+
rotation: "auto",
|
|
93277
|
+
visible: true
|
|
93278
|
+
},
|
|
93279
|
+
grid: { enabled: true },
|
|
93280
|
+
anomalies: {
|
|
93281
|
+
enabled: false,
|
|
93282
|
+
sensitivity: "medium",
|
|
93283
|
+
size: "medium",
|
|
93284
|
+
color: "rgb(255, 0, 0)"
|
|
93285
|
+
},
|
|
93085
93286
|
disableDrillDown: false,
|
|
93086
93287
|
disableDrillIntoURL: false,
|
|
93087
93288
|
disableAlerts: false,
|
|
@@ -93090,19 +93291,62 @@ const DEFAULTS$6 = {
|
|
|
93090
93291
|
customTooltip: DEFAULT_CUSTOM_TOOLTIP
|
|
93091
93292
|
};
|
|
93092
93293
|
/** @internal */
|
|
93093
|
-
function
|
|
93294
|
+
function radarChartLoad(props) {
|
|
93094
93295
|
return loadConfig(props, (key, value) => {
|
|
93095
93296
|
switch (key) {
|
|
93096
93297
|
case "colorMapping": return [["colors", loadColorMapping(value)]];
|
|
93298
|
+
case "continuousLine": return [["continuous_line", getValueOrDefault(value.enabled, DEFAULTS$6.continuousLine.enabled, "bool")]];
|
|
93299
|
+
case "distinctPointShapes": {
|
|
93300
|
+
const val = value;
|
|
93301
|
+
return [["distinct_point_shapes", {
|
|
93302
|
+
enabled: getValueOrDefault(val.enabled, DEFAULTS$6.distinctPointShapes.enabled, "bool"),
|
|
93303
|
+
point_shape_mapping: val.pointShapeMapping ?? DEFAULTS$6.distinctPointShapes.pointShapeMapping
|
|
93304
|
+
}]];
|
|
93305
|
+
}
|
|
93306
|
+
case "chartFill": return [["chart_fill", loadChartFill(value, DEFAULTS$6.chartFill)]];
|
|
93307
|
+
case "radarRenderAs": return [["render_as", getValueOrDefault(value, DEFAULTS$6.radarRenderAs)]];
|
|
93308
|
+
case "radarGridLineShape": return [["grid_line_shape", getValueOrDefault(value, DEFAULTS$6.radarGridLineShape)]];
|
|
93097
93309
|
case "dataLabels": {
|
|
93098
93310
|
const val = value;
|
|
93099
93311
|
return [["data_labels", getValueOrDefault(val.visible, DEFAULTS$6.dataLabels.visible, "bool_auto")], ["data_labels_style", getValueOrDefault(val.style, DEFAULTS$6.dataLabels.style)]];
|
|
93100
93312
|
}
|
|
93101
|
-
case "
|
|
93313
|
+
case "dataPoints": return [["data_points", getValueOrDefault(value.visible, DEFAULTS$6.dataPoints.visible, "bool_auto")]];
|
|
93102
93314
|
case "legend": {
|
|
93103
93315
|
const val = value;
|
|
93104
93316
|
return [["legend_enabled", getValueOrDefault(val.enabled, DEFAULTS$6.legend.enabled, "bool")], ["legend_position", getValueOrDefault(val.position, DEFAULTS$6.legend.position)]];
|
|
93105
93317
|
}
|
|
93318
|
+
case "xaxis": {
|
|
93319
|
+
const val = value;
|
|
93320
|
+
return [
|
|
93321
|
+
["xaxis_name_position", getValueOrDefault(val.name?.position, DEFAULTS$6.xaxis.name.position)],
|
|
93322
|
+
["xaxis_name_visible", getValueOrDefault(val.name?.visible, DEFAULTS$6.xaxis.name.visible, "bool")],
|
|
93323
|
+
["xaxis_rotation", getValueOrDefault(val.rotation, DEFAULTS$6.xaxis.rotation)],
|
|
93324
|
+
["xaxis_visible", getValueOrDefault(val.visible, DEFAULTS$6.xaxis.visible, "bool")],
|
|
93325
|
+
["xaxis_labels", getValueOrDefault(val.labelsEnabled, DEFAULTS$6.xaxis.labelsEnabled, "bool")]
|
|
93326
|
+
];
|
|
93327
|
+
}
|
|
93328
|
+
case "yaxis": {
|
|
93329
|
+
const val = value;
|
|
93330
|
+
return [
|
|
93331
|
+
["yaxis_max", getValueOrDefault(val.max, DEFAULTS$6.yaxis.max, "number")],
|
|
93332
|
+
["yaxis_min", getValueOrDefault(val.min, DEFAULTS$6.yaxis.min, "number")],
|
|
93333
|
+
["yaxis_name_position", getValueOrDefault(val.name?.position, DEFAULTS$6.yaxis.name.position)],
|
|
93334
|
+
["yaxis_name_visible", getValueOrDefault(val.name?.visible, DEFAULTS$6.yaxis.name.visible, "bool")],
|
|
93335
|
+
["yaxis_rotation", getValueOrDefault(val.rotation, DEFAULTS$6.yaxis.rotation)],
|
|
93336
|
+
["yaxis_visible", getValueOrDefault(val.visible, DEFAULTS$6.yaxis.visible, "bool")],
|
|
93337
|
+
["yaxis_labels", getValueOrDefault(val.labelsEnabled, DEFAULTS$6.yaxis.labelsEnabled, "bool")]
|
|
93338
|
+
];
|
|
93339
|
+
}
|
|
93340
|
+
case "grid": return [["grid_enabled", getValueOrDefault(value.enabled, DEFAULTS$6.grid.enabled, "bool")]];
|
|
93341
|
+
case "anomalies": {
|
|
93342
|
+
const val = value;
|
|
93343
|
+
return [
|
|
93344
|
+
["anomaly_detection_enabled", getValueOrDefault(val.enabled, DEFAULTS$6.anomalies.enabled, "bool")],
|
|
93345
|
+
["anomaly_detection_sensitivity", getValueOrDefault(val.sensitivity, DEFAULTS$6.anomalies.sensitivity)],
|
|
93346
|
+
["anomaly_detection_size", getValueOrDefault(val.size, DEFAULTS$6.anomalies.size)],
|
|
93347
|
+
["anomaly_detection_color", getValueOrDefault(val.color, DEFAULTS$6.anomalies.color)]
|
|
93348
|
+
];
|
|
93349
|
+
}
|
|
93106
93350
|
case "disableDrillDown": return [["disable_drill_down", getValueOrDefault(value, DEFAULTS$6.disableDrillDown, "bool")]];
|
|
93107
93351
|
case "disableDrillIntoURL": return [["disable_drill_into_url", value === void 0 ? void 0 : !!value]];
|
|
93108
93352
|
case "disableAlerts": return [["disable_alerts", getValueOrDefault(value, DEFAULTS$6.disableAlerts, "bool")]];
|
|
@@ -93114,19 +93358,54 @@ function pyramidChartLoad(props) {
|
|
|
93114
93358
|
});
|
|
93115
93359
|
}
|
|
93116
93360
|
/** @internal */
|
|
93117
|
-
function
|
|
93361
|
+
function radarChartSave(_fields, config) {
|
|
93118
93362
|
if (!config) return;
|
|
93119
93363
|
return saveConfigObject({
|
|
93120
93364
|
colorMapping: saveConfigObject(saveColorMapping(config.colors ?? {})),
|
|
93365
|
+
continuousLine: saveConfigObject({ enabled: getValueOrDefault(config.continuous_line, DEFAULTS$6.continuousLine.enabled, "bool") }),
|
|
93366
|
+
distinctPointShapes: saveConfigObject({
|
|
93367
|
+
enabled: getValueOrDefault(config.distinct_point_shapes?.enabled, DEFAULTS$6.distinctPointShapes.enabled, "bool"),
|
|
93368
|
+
pointShapeMapping: config.distinct_point_shapes?.point_shape_mapping ?? DEFAULTS$6.distinctPointShapes.pointShapeMapping
|
|
93369
|
+
}),
|
|
93370
|
+
chartFill: saveConfigObject(saveChartFill(config, DEFAULTS$6.chartFill)),
|
|
93371
|
+
radarRenderAs: getValueOrDefault(config.render_as, DEFAULTS$6.radarRenderAs),
|
|
93372
|
+
radarGridLineShape: getValueOrDefault(config.grid_line_shape, DEFAULTS$6.radarGridLineShape),
|
|
93121
93373
|
dataLabels: saveConfigObject({
|
|
93122
93374
|
visible: getValueOrDefault(config.data_labels, DEFAULTS$6.dataLabels.visible, "bool_auto"),
|
|
93123
93375
|
style: getValueOrDefault(config.data_labels_style, DEFAULTS$6.dataLabels.style)
|
|
93124
93376
|
}),
|
|
93125
|
-
|
|
93377
|
+
dataPoints: saveConfigObject({ visible: getValueOrDefault(config.data_points, DEFAULTS$6.dataPoints.visible, "bool_auto") }),
|
|
93126
93378
|
legend: saveConfigObject({
|
|
93127
93379
|
enabled: getValueOrDefault(config.legend_enabled, DEFAULTS$6.legend.enabled, "bool"),
|
|
93128
93380
|
position: getValueOrDefault(config.legend_position, DEFAULTS$6.legend.position)
|
|
93129
93381
|
}),
|
|
93382
|
+
xaxis: saveConfigObject({
|
|
93383
|
+
name: saveConfigObject({
|
|
93384
|
+
position: getValueOrDefault(config.xaxis_name_position, DEFAULTS$6.xaxis.name.position),
|
|
93385
|
+
visible: getValueOrDefault(config.xaxis_name_visible, DEFAULTS$6.xaxis.name.visible, "bool")
|
|
93386
|
+
}),
|
|
93387
|
+
rotation: getValueOrDefault(config.xaxis_rotation, DEFAULTS$6.xaxis.rotation),
|
|
93388
|
+
visible: getValueOrDefault(config.xaxis_visible, DEFAULTS$6.xaxis.visible, "bool"),
|
|
93389
|
+
labelsEnabled: getValueOrDefault(config.xaxis_labels, DEFAULTS$6.xaxis.labelsEnabled, "bool")
|
|
93390
|
+
}),
|
|
93391
|
+
yaxis: saveConfigObject({
|
|
93392
|
+
max: getValueOrDefault(config.yaxis_max, DEFAULTS$6.yaxis.max),
|
|
93393
|
+
min: getValueOrDefault(config.yaxis_min, DEFAULTS$6.yaxis.min),
|
|
93394
|
+
name: saveConfigObject({
|
|
93395
|
+
position: getValueOrDefault(config.yaxis_name_position, DEFAULTS$6.yaxis.name.position),
|
|
93396
|
+
visible: getValueOrDefault(config.yaxis_name_visible, DEFAULTS$6.yaxis.name.visible, "bool")
|
|
93397
|
+
}),
|
|
93398
|
+
rotation: getValueOrDefault(config.yaxis_rotation, DEFAULTS$6.yaxis.rotation),
|
|
93399
|
+
visible: getValueOrDefault(config.yaxis_visible, DEFAULTS$6.yaxis.visible, "bool"),
|
|
93400
|
+
labelsEnabled: getValueOrDefault(config.yaxis_labels, DEFAULTS$6.yaxis.labelsEnabled, "bool")
|
|
93401
|
+
}),
|
|
93402
|
+
grid: saveConfigObject({ enabled: getValueOrDefault(config.grid_enabled, DEFAULTS$6.grid.enabled, "bool") }),
|
|
93403
|
+
anomalies: saveConfigObject({
|
|
93404
|
+
enabled: getValueOrDefault(config.anomaly_detection_enabled, DEFAULTS$6.anomalies.enabled, "bool"),
|
|
93405
|
+
sensitivity: getValueOrDefault(config.anomaly_detection_sensitivity, DEFAULTS$6.anomalies.sensitivity),
|
|
93406
|
+
size: getValueOrDefault(config.anomaly_detection_size, DEFAULTS$6.anomalies.size),
|
|
93407
|
+
color: getValueOrDefault(config.anomaly_detection_color, DEFAULTS$6.anomalies.color)
|
|
93408
|
+
}),
|
|
93130
93409
|
disableDrillDown: getValueOrDefault(config.disable_drill_down, DEFAULTS$6.disableDrillDown, "bool"),
|
|
93131
93410
|
disableDrillIntoURL: config.disable_drill_into_url === void 0 ? void 0 : !!config.disable_drill_into_url,
|
|
93132
93411
|
disableAlerts: getValueOrDefault(config.disable_alerts, DEFAULTS$6.disableAlerts, "bool"),
|
|
@@ -93137,11 +93416,11 @@ function pyramidChartSave(_fields, config) {
|
|
|
93137
93416
|
}
|
|
93138
93417
|
/**
|
|
93139
93418
|
* @internal
|
|
93140
|
-
* @deprecated Use
|
|
93419
|
+
* @deprecated Use radarChartLoad and radarChartSave instead.
|
|
93141
93420
|
*/
|
|
93142
|
-
const
|
|
93143
|
-
load:
|
|
93144
|
-
save:
|
|
93421
|
+
const radarChart = {
|
|
93422
|
+
load: radarChartLoad,
|
|
93423
|
+
save: radarChartSave,
|
|
93145
93424
|
DEFAULTS: DEFAULTS$6
|
|
93146
93425
|
};
|
|
93147
93426
|
//#endregion
|
|
@@ -94336,6 +94615,7 @@ function yamlVisTypeToDeclarative(def) {
|
|
|
94336
94615
|
case "geo_chart": return "local:pushpin";
|
|
94337
94616
|
case "geo_area_chart": return "local:choropleth";
|
|
94338
94617
|
case "repeater_chart": return "local:repeater";
|
|
94618
|
+
case "radar_chart": return "local:radar";
|
|
94339
94619
|
}
|
|
94340
94620
|
}
|
|
94341
94621
|
function yamlConfigToDeclarative(def, positions) {
|
|
@@ -94409,6 +94689,9 @@ function yamlConfigToDeclarative(def, positions) {
|
|
|
94409
94689
|
controls = repeaterChart.save(def.query?.fields, def.config);
|
|
94410
94690
|
inlineVisualizations = repeaterChart.saveInlineVisualizations([...def.metrics ?? [], ...def.columns ?? []]);
|
|
94411
94691
|
break;
|
|
94692
|
+
case "radar_chart":
|
|
94693
|
+
controls = radarChart.save(def.query?.fields, def.config);
|
|
94694
|
+
break;
|
|
94412
94695
|
}
|
|
94413
94696
|
return {
|
|
94414
94697
|
...controls ? { controls } : {},
|
|
@@ -94874,6 +95157,11 @@ function mapBuckets(input) {
|
|
|
94874
95157
|
addBucket(buckets, "trend", input.view_by, input.trend_by);
|
|
94875
95158
|
addBucket(buckets, "segment", input.segment_by);
|
|
94876
95159
|
return buckets;
|
|
95160
|
+
case "radar_chart":
|
|
95161
|
+
addBucket(buckets, "measures", input.metrics);
|
|
95162
|
+
addBucket(buckets, "trend", input.view_by);
|
|
95163
|
+
addBucket(buckets, "segment", input.segment_by);
|
|
95164
|
+
return buckets;
|
|
94877
95165
|
case "scatter_chart":
|
|
94878
95166
|
addBucket(buckets, "measures", input.metrics?.[0] ? [input.metrics[0]] : []);
|
|
94879
95167
|
addBucket(buckets, "secondary_measures", input.metrics?.[1] ? [input.metrics[1]] : []);
|
|
@@ -95112,7 +95400,8 @@ const VisualisationsTypes = [
|
|
|
95112
95400
|
"combo_chart",
|
|
95113
95401
|
"geo_chart",
|
|
95114
95402
|
"geo_area_chart",
|
|
95115
|
-
"repeater_chart"
|
|
95403
|
+
"repeater_chart",
|
|
95404
|
+
"radar_chart"
|
|
95116
95405
|
];
|
|
95117
95406
|
/** @internal */
|
|
95118
95407
|
const AllTypes = [
|
|
@@ -96253,6 +96542,7 @@ function declarativeVisTypeToYaml(def) {
|
|
|
96253
96542
|
case "local:pushpin": return "geo_chart";
|
|
96254
96543
|
case "local:choropleth": return "geo_area_chart";
|
|
96255
96544
|
case "local:repeater": return "repeater_chart";
|
|
96545
|
+
case "local:radar": return "radar_chart";
|
|
96256
96546
|
default: return null;
|
|
96257
96547
|
}
|
|
96258
96548
|
}
|
|
@@ -96328,6 +96618,9 @@ function declarativeVisToYaml(doc, def, report, entities, errorContext) {
|
|
|
96328
96618
|
case "local:repeater":
|
|
96329
96619
|
declarativeVisRepeaterToYaml(doc, def, report, context);
|
|
96330
96620
|
break;
|
|
96621
|
+
case "local:radar":
|
|
96622
|
+
declarativeVisRadarToYaml(doc, def, report, context);
|
|
96623
|
+
break;
|
|
96331
96624
|
default: break;
|
|
96332
96625
|
}
|
|
96333
96626
|
}
|
|
@@ -96916,6 +97209,16 @@ function declarativeVisLineToYaml(doc, def, report, _errorContext) {
|
|
|
96916
97209
|
const config = lineChart.load(def.properties);
|
|
96917
97210
|
if (config) doc.add(config);
|
|
96918
97211
|
}
|
|
97212
|
+
function declarativeVisRadarToYaml(doc, def, report, _errorContext) {
|
|
97213
|
+
const metrics = report.derivedBuckets.find((item) => item.type === "measures");
|
|
97214
|
+
if (metrics && metrics.items.length > 0) doc.add(entryWithSpace("metrics", groupToYaml(metrics)));
|
|
97215
|
+
const trend = report.derivedBuckets.find((item) => item.type === "trend");
|
|
97216
|
+
if (trend && trend.items.length > 0) doc.add(entryWithSpace("view_by", groupToYaml(trend)));
|
|
97217
|
+
const segment = report.derivedBuckets.find((item) => item.type === "segment");
|
|
97218
|
+
if (segment && segment.items.length > 0) doc.add(entryWithSpace("segment_by", groupToYaml(segment)));
|
|
97219
|
+
const config = radarChart.load(def.properties);
|
|
97220
|
+
if (config) doc.add(config);
|
|
97221
|
+
}
|
|
96919
97222
|
function declarativeVisAreaToYaml(doc, def, report, _errorContext) {
|
|
96920
97223
|
const metrics = report.derivedBuckets.find((item) => item.type === "measures");
|
|
96921
97224
|
if (metrics && metrics.items.length > 0) doc.add(entryWithSpace("metrics", groupToYaml(metrics)));
|
|
@@ -151486,7 +151789,7 @@ const _CONFIG = {
|
|
|
151486
151789
|
common: {
|
|
151487
151790
|
"X-Requested-With": "XMLHttpRequest",
|
|
151488
151791
|
"X-GDC-JS-PACKAGE": "@gooddata/api-client-tiger",
|
|
151489
|
-
"X-GDC-JS-PACKAGE-VERSION": "11.
|
|
151792
|
+
"X-GDC-JS-PACKAGE-VERSION": "11.48.0-alpha.1"
|
|
151490
151793
|
},
|
|
151491
151794
|
post: { "Content-Type": "application/json;charset=utf8" },
|
|
151492
151795
|
put: { "Content-Type": "application/json;charset=utf8" }
|
|
@@ -156056,6 +156359,46 @@ async function EntitiesApiAxiosParamCreator_CreateEntityVisualizationObjects(wor
|
|
|
156056
156359
|
}
|
|
156057
156360
|
/**
|
|
156058
156361
|
*
|
|
156362
|
+
* @summary Post Workspace Color Palette
|
|
156363
|
+
* @param {string} workspaceId
|
|
156364
|
+
* @param {JsonApiWorkspaceColorPaletteInDocument} jsonApiWorkspaceColorPaletteInDocument
|
|
156365
|
+
* @param {Array<'origin' | 'all' | 'ALL'>} [metaInclude] Include Meta objects.
|
|
156366
|
+
* @param {*} [options] Override http request option.
|
|
156367
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
156368
|
+
* @throws {RequiredError}
|
|
156369
|
+
*/
|
|
156370
|
+
async function EntitiesApiAxiosParamCreator_CreateEntityWorkspaceColorPalettes(workspaceId, jsonApiWorkspaceColorPaletteInDocument, metaInclude, options = {}, configuration) {
|
|
156371
|
+
assertParamExists$6("createEntityWorkspaceColorPalettes", "workspaceId", workspaceId);
|
|
156372
|
+
assertParamExists$6("createEntityWorkspaceColorPalettes", "jsonApiWorkspaceColorPaletteInDocument", jsonApiWorkspaceColorPaletteInDocument);
|
|
156373
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/workspaceColorPalettes`.replace(`{workspaceId}`, encodeURIComponent(String(workspaceId)));
|
|
156374
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$7);
|
|
156375
|
+
let baseOptions;
|
|
156376
|
+
if (configuration) baseOptions = configuration.baseOptions;
|
|
156377
|
+
const localVarRequestOptions = {
|
|
156378
|
+
method: "POST",
|
|
156379
|
+
...baseOptions,
|
|
156380
|
+
...options
|
|
156381
|
+
};
|
|
156382
|
+
const localVarHeaderParameter = {};
|
|
156383
|
+
const localVarQueryParameter = {};
|
|
156384
|
+
if (metaInclude) localVarQueryParameter["metaInclude"] = Array.from(metaInclude).join(COLLECTION_FORMATS$1.csv);
|
|
156385
|
+
const consumes = ["application/json", "application/vnd.gooddata.api+json"];
|
|
156386
|
+
localVarHeaderParameter["Content-Type"] = consumes.includes("application/json") ? "application/json" : consumes[0];
|
|
156387
|
+
setSearchParams$7(localVarUrlObj, localVarQueryParameter);
|
|
156388
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
156389
|
+
localVarRequestOptions.headers = {
|
|
156390
|
+
...localVarHeaderParameter,
|
|
156391
|
+
...headersFromBaseOptions,
|
|
156392
|
+
...options.headers
|
|
156393
|
+
};
|
|
156394
|
+
localVarRequestOptions.data = typeof jsonApiWorkspaceColorPaletteInDocument !== "string" || localVarRequestOptions.headers["Content-Type"] === "application/json" ? JSON.stringify(jsonApiWorkspaceColorPaletteInDocument !== void 0 ? jsonApiWorkspaceColorPaletteInDocument : {}) : jsonApiWorkspaceColorPaletteInDocument || "";
|
|
156395
|
+
return {
|
|
156396
|
+
url: toPathString$7(localVarUrlObj),
|
|
156397
|
+
options: localVarRequestOptions
|
|
156398
|
+
};
|
|
156399
|
+
}
|
|
156400
|
+
/**
|
|
156401
|
+
*
|
|
156059
156402
|
* @summary Post Settings for Workspace Data Filters
|
|
156060
156403
|
* @param {string} workspaceId
|
|
156061
156404
|
* @param {JsonApiWorkspaceDataFilterSettingInDocument} jsonApiWorkspaceDataFilterSettingInDocument
|
|
@@ -156219,6 +156562,46 @@ async function EntitiesApiAxiosParamCreator_CreateEntityWorkspaceSettings(worksp
|
|
|
156219
156562
|
};
|
|
156220
156563
|
}
|
|
156221
156564
|
/**
|
|
156565
|
+
*
|
|
156566
|
+
* @summary Post Workspace Theme
|
|
156567
|
+
* @param {string} workspaceId
|
|
156568
|
+
* @param {JsonApiWorkspaceThemeInDocument} jsonApiWorkspaceThemeInDocument
|
|
156569
|
+
* @param {Array<'origin' | 'all' | 'ALL'>} [metaInclude] Include Meta objects.
|
|
156570
|
+
* @param {*} [options] Override http request option.
|
|
156571
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
156572
|
+
* @throws {RequiredError}
|
|
156573
|
+
*/
|
|
156574
|
+
async function EntitiesApiAxiosParamCreator_CreateEntityWorkspaceThemes(workspaceId, jsonApiWorkspaceThemeInDocument, metaInclude, options = {}, configuration) {
|
|
156575
|
+
assertParamExists$6("createEntityWorkspaceThemes", "workspaceId", workspaceId);
|
|
156576
|
+
assertParamExists$6("createEntityWorkspaceThemes", "jsonApiWorkspaceThemeInDocument", jsonApiWorkspaceThemeInDocument);
|
|
156577
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/workspaceThemes`.replace(`{workspaceId}`, encodeURIComponent(String(workspaceId)));
|
|
156578
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$7);
|
|
156579
|
+
let baseOptions;
|
|
156580
|
+
if (configuration) baseOptions = configuration.baseOptions;
|
|
156581
|
+
const localVarRequestOptions = {
|
|
156582
|
+
method: "POST",
|
|
156583
|
+
...baseOptions,
|
|
156584
|
+
...options
|
|
156585
|
+
};
|
|
156586
|
+
const localVarHeaderParameter = {};
|
|
156587
|
+
const localVarQueryParameter = {};
|
|
156588
|
+
if (metaInclude) localVarQueryParameter["metaInclude"] = Array.from(metaInclude).join(COLLECTION_FORMATS$1.csv);
|
|
156589
|
+
const consumes = ["application/json", "application/vnd.gooddata.api+json"];
|
|
156590
|
+
localVarHeaderParameter["Content-Type"] = consumes.includes("application/json") ? "application/json" : consumes[0];
|
|
156591
|
+
setSearchParams$7(localVarUrlObj, localVarQueryParameter);
|
|
156592
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
156593
|
+
localVarRequestOptions.headers = {
|
|
156594
|
+
...localVarHeaderParameter,
|
|
156595
|
+
...headersFromBaseOptions,
|
|
156596
|
+
...options.headers
|
|
156597
|
+
};
|
|
156598
|
+
localVarRequestOptions.data = typeof jsonApiWorkspaceThemeInDocument !== "string" || localVarRequestOptions.headers["Content-Type"] === "application/json" ? JSON.stringify(jsonApiWorkspaceThemeInDocument !== void 0 ? jsonApiWorkspaceThemeInDocument : {}) : jsonApiWorkspaceThemeInDocument || "";
|
|
156599
|
+
return {
|
|
156600
|
+
url: toPathString$7(localVarUrlObj),
|
|
156601
|
+
options: localVarRequestOptions
|
|
156602
|
+
};
|
|
156603
|
+
}
|
|
156604
|
+
/**
|
|
156222
156605
|
* Space of the shared interest
|
|
156223
156606
|
* @summary Post Workspace entities
|
|
156224
156607
|
* @param {JsonApiWorkspaceInDocument} jsonApiWorkspaceInDocument
|
|
@@ -156357,17 +156740,283 @@ async function EntitiesApiAxiosParamCreator_DeleteEntityAnalyticalDashboards(wor
|
|
|
156357
156740
|
}
|
|
156358
156741
|
/**
|
|
156359
156742
|
*
|
|
156360
|
-
* @summary Delete an API Token for a user
|
|
156361
|
-
* @param {string} userId
|
|
156362
|
-
* @param {string} id
|
|
156743
|
+
* @summary Delete an API Token for a user
|
|
156744
|
+
* @param {string} userId
|
|
156745
|
+
* @param {string} id
|
|
156746
|
+
* @param {*} [options] Override http request option.
|
|
156747
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
156748
|
+
* @throws {RequiredError}
|
|
156749
|
+
*/
|
|
156750
|
+
async function EntitiesApiAxiosParamCreator_DeleteEntityApiTokens(userId, id, options = {}, configuration) {
|
|
156751
|
+
assertParamExists$6("deleteEntityApiTokens", "userId", userId);
|
|
156752
|
+
assertParamExists$6("deleteEntityApiTokens", "id", id);
|
|
156753
|
+
const localVarPath = `/api/v1/entities/users/{userId}/apiTokens/{id}`.replace(`{userId}`, encodeURIComponent(String(userId))).replace(`{id}`, encodeURIComponent(String(id)));
|
|
156754
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$7);
|
|
156755
|
+
let baseOptions;
|
|
156756
|
+
if (configuration) baseOptions = configuration.baseOptions;
|
|
156757
|
+
const localVarRequestOptions = {
|
|
156758
|
+
method: "DELETE",
|
|
156759
|
+
...baseOptions,
|
|
156760
|
+
...options
|
|
156761
|
+
};
|
|
156762
|
+
const localVarHeaderParameter = {};
|
|
156763
|
+
setSearchParams$7(localVarUrlObj, {});
|
|
156764
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
156765
|
+
localVarRequestOptions.headers = {
|
|
156766
|
+
...localVarHeaderParameter,
|
|
156767
|
+
...headersFromBaseOptions,
|
|
156768
|
+
...options.headers
|
|
156769
|
+
};
|
|
156770
|
+
return {
|
|
156771
|
+
url: toPathString$7(localVarUrlObj),
|
|
156772
|
+
options: localVarRequestOptions
|
|
156773
|
+
};
|
|
156774
|
+
}
|
|
156775
|
+
/**
|
|
156776
|
+
*
|
|
156777
|
+
* @summary Delete an Attribute Hierarchy
|
|
156778
|
+
* @param {string} workspaceId
|
|
156779
|
+
* @param {string} objectId
|
|
156780
|
+
* @param {*} [options] Override http request option.
|
|
156781
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
156782
|
+
* @throws {RequiredError}
|
|
156783
|
+
*/
|
|
156784
|
+
async function EntitiesApiAxiosParamCreator_DeleteEntityAttributeHierarchies(workspaceId, objectId, options = {}, configuration) {
|
|
156785
|
+
assertParamExists$6("deleteEntityAttributeHierarchies", "workspaceId", workspaceId);
|
|
156786
|
+
assertParamExists$6("deleteEntityAttributeHierarchies", "objectId", objectId);
|
|
156787
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/attributeHierarchies/{objectId}`.replace(`{workspaceId}`, encodeURIComponent(String(workspaceId))).replace(`{objectId}`, encodeURIComponent(String(objectId)));
|
|
156788
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$7);
|
|
156789
|
+
let baseOptions;
|
|
156790
|
+
if (configuration) baseOptions = configuration.baseOptions;
|
|
156791
|
+
const localVarRequestOptions = {
|
|
156792
|
+
method: "DELETE",
|
|
156793
|
+
...baseOptions,
|
|
156794
|
+
...options
|
|
156795
|
+
};
|
|
156796
|
+
const localVarHeaderParameter = {};
|
|
156797
|
+
setSearchParams$7(localVarUrlObj, {});
|
|
156798
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
156799
|
+
localVarRequestOptions.headers = {
|
|
156800
|
+
...localVarHeaderParameter,
|
|
156801
|
+
...headersFromBaseOptions,
|
|
156802
|
+
...options.headers
|
|
156803
|
+
};
|
|
156804
|
+
return {
|
|
156805
|
+
url: toPathString$7(localVarUrlObj),
|
|
156806
|
+
options: localVarRequestOptions
|
|
156807
|
+
};
|
|
156808
|
+
}
|
|
156809
|
+
/**
|
|
156810
|
+
*
|
|
156811
|
+
* @summary Delete an Automation
|
|
156812
|
+
* @param {string} workspaceId
|
|
156813
|
+
* @param {string} objectId
|
|
156814
|
+
* @param {*} [options] Override http request option.
|
|
156815
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
156816
|
+
* @throws {RequiredError}
|
|
156817
|
+
*/
|
|
156818
|
+
async function EntitiesApiAxiosParamCreator_DeleteEntityAutomations(workspaceId, objectId, options = {}, configuration) {
|
|
156819
|
+
assertParamExists$6("deleteEntityAutomations", "workspaceId", workspaceId);
|
|
156820
|
+
assertParamExists$6("deleteEntityAutomations", "objectId", objectId);
|
|
156821
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/automations/{objectId}`.replace(`{workspaceId}`, encodeURIComponent(String(workspaceId))).replace(`{objectId}`, encodeURIComponent(String(objectId)));
|
|
156822
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$7);
|
|
156823
|
+
let baseOptions;
|
|
156824
|
+
if (configuration) baseOptions = configuration.baseOptions;
|
|
156825
|
+
const localVarRequestOptions = {
|
|
156826
|
+
method: "DELETE",
|
|
156827
|
+
...baseOptions,
|
|
156828
|
+
...options
|
|
156829
|
+
};
|
|
156830
|
+
const localVarHeaderParameter = {};
|
|
156831
|
+
setSearchParams$7(localVarUrlObj, {});
|
|
156832
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
156833
|
+
localVarRequestOptions.headers = {
|
|
156834
|
+
...localVarHeaderParameter,
|
|
156835
|
+
...headersFromBaseOptions,
|
|
156836
|
+
...options.headers
|
|
156837
|
+
};
|
|
156838
|
+
return {
|
|
156839
|
+
url: toPathString$7(localVarUrlObj),
|
|
156840
|
+
options: localVarRequestOptions
|
|
156841
|
+
};
|
|
156842
|
+
}
|
|
156843
|
+
/**
|
|
156844
|
+
*
|
|
156845
|
+
* @summary Delete a Color Pallette
|
|
156846
|
+
* @param {string} id
|
|
156847
|
+
* @param {*} [options] Override http request option.
|
|
156848
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
156849
|
+
* @throws {RequiredError}
|
|
156850
|
+
*/
|
|
156851
|
+
async function EntitiesApiAxiosParamCreator_DeleteEntityColorPalettes(id, options = {}, configuration) {
|
|
156852
|
+
assertParamExists$6("deleteEntityColorPalettes", "id", id);
|
|
156853
|
+
const localVarPath = `/api/v1/entities/colorPalettes/{id}`.replace(`{id}`, encodeURIComponent(String(id)));
|
|
156854
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$7);
|
|
156855
|
+
let baseOptions;
|
|
156856
|
+
if (configuration) baseOptions = configuration.baseOptions;
|
|
156857
|
+
const localVarRequestOptions = {
|
|
156858
|
+
method: "DELETE",
|
|
156859
|
+
...baseOptions,
|
|
156860
|
+
...options
|
|
156861
|
+
};
|
|
156862
|
+
const localVarHeaderParameter = {};
|
|
156863
|
+
setSearchParams$7(localVarUrlObj, {});
|
|
156864
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
156865
|
+
localVarRequestOptions.headers = {
|
|
156866
|
+
...localVarHeaderParameter,
|
|
156867
|
+
...headersFromBaseOptions,
|
|
156868
|
+
...options.headers
|
|
156869
|
+
};
|
|
156870
|
+
return {
|
|
156871
|
+
url: toPathString$7(localVarUrlObj),
|
|
156872
|
+
options: localVarRequestOptions
|
|
156873
|
+
};
|
|
156874
|
+
}
|
|
156875
|
+
/**
|
|
156876
|
+
* Context Security Police Directive
|
|
156877
|
+
* @summary Delete CSP Directives
|
|
156878
|
+
* @param {string} id
|
|
156879
|
+
* @param {*} [options] Override http request option.
|
|
156880
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
156881
|
+
* @throws {RequiredError}
|
|
156882
|
+
*/
|
|
156883
|
+
async function EntitiesApiAxiosParamCreator_DeleteEntityCspDirectives(id, options = {}, configuration) {
|
|
156884
|
+
assertParamExists$6("deleteEntityCspDirectives", "id", id);
|
|
156885
|
+
const localVarPath = `/api/v1/entities/cspDirectives/{id}`.replace(`{id}`, encodeURIComponent(String(id)));
|
|
156886
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$7);
|
|
156887
|
+
let baseOptions;
|
|
156888
|
+
if (configuration) baseOptions = configuration.baseOptions;
|
|
156889
|
+
const localVarRequestOptions = {
|
|
156890
|
+
method: "DELETE",
|
|
156891
|
+
...baseOptions,
|
|
156892
|
+
...options
|
|
156893
|
+
};
|
|
156894
|
+
const localVarHeaderParameter = {};
|
|
156895
|
+
setSearchParams$7(localVarUrlObj, {});
|
|
156896
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
156897
|
+
localVarRequestOptions.headers = {
|
|
156898
|
+
...localVarHeaderParameter,
|
|
156899
|
+
...headersFromBaseOptions,
|
|
156900
|
+
...options.headers
|
|
156901
|
+
};
|
|
156902
|
+
return {
|
|
156903
|
+
url: toPathString$7(localVarUrlObj),
|
|
156904
|
+
options: localVarRequestOptions
|
|
156905
|
+
};
|
|
156906
|
+
}
|
|
156907
|
+
/**
|
|
156908
|
+
*
|
|
156909
|
+
* @summary Delete a Custom Application Setting
|
|
156910
|
+
* @param {string} workspaceId
|
|
156911
|
+
* @param {string} objectId
|
|
156912
|
+
* @param {*} [options] Override http request option.
|
|
156913
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
156914
|
+
* @throws {RequiredError}
|
|
156915
|
+
*/
|
|
156916
|
+
async function EntitiesApiAxiosParamCreator_DeleteEntityCustomApplicationSettings(workspaceId, objectId, options = {}, configuration) {
|
|
156917
|
+
assertParamExists$6("deleteEntityCustomApplicationSettings", "workspaceId", workspaceId);
|
|
156918
|
+
assertParamExists$6("deleteEntityCustomApplicationSettings", "objectId", objectId);
|
|
156919
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/customApplicationSettings/{objectId}`.replace(`{workspaceId}`, encodeURIComponent(String(workspaceId))).replace(`{objectId}`, encodeURIComponent(String(objectId)));
|
|
156920
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$7);
|
|
156921
|
+
let baseOptions;
|
|
156922
|
+
if (configuration) baseOptions = configuration.baseOptions;
|
|
156923
|
+
const localVarRequestOptions = {
|
|
156924
|
+
method: "DELETE",
|
|
156925
|
+
...baseOptions,
|
|
156926
|
+
...options
|
|
156927
|
+
};
|
|
156928
|
+
const localVarHeaderParameter = {};
|
|
156929
|
+
setSearchParams$7(localVarUrlObj, {});
|
|
156930
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
156931
|
+
localVarRequestOptions.headers = {
|
|
156932
|
+
...localVarHeaderParameter,
|
|
156933
|
+
...headersFromBaseOptions,
|
|
156934
|
+
...options.headers
|
|
156935
|
+
};
|
|
156936
|
+
return {
|
|
156937
|
+
url: toPathString$7(localVarUrlObj),
|
|
156938
|
+
options: localVarRequestOptions
|
|
156939
|
+
};
|
|
156940
|
+
}
|
|
156941
|
+
/**
|
|
156942
|
+
*
|
|
156943
|
+
* @summary Delete Custom Geo Collection
|
|
156944
|
+
* @param {string} id
|
|
156945
|
+
* @param {*} [options] Override http request option.
|
|
156946
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
156947
|
+
* @throws {RequiredError}
|
|
156948
|
+
*/
|
|
156949
|
+
async function EntitiesApiAxiosParamCreator_DeleteEntityCustomGeoCollections(id, options = {}, configuration) {
|
|
156950
|
+
assertParamExists$6("deleteEntityCustomGeoCollections", "id", id);
|
|
156951
|
+
const localVarPath = `/api/v1/entities/customGeoCollections/{id}`.replace(`{id}`, encodeURIComponent(String(id)));
|
|
156952
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$7);
|
|
156953
|
+
let baseOptions;
|
|
156954
|
+
if (configuration) baseOptions = configuration.baseOptions;
|
|
156955
|
+
const localVarRequestOptions = {
|
|
156956
|
+
method: "DELETE",
|
|
156957
|
+
...baseOptions,
|
|
156958
|
+
...options
|
|
156959
|
+
};
|
|
156960
|
+
const localVarHeaderParameter = {};
|
|
156961
|
+
setSearchParams$7(localVarUrlObj, {});
|
|
156962
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
156963
|
+
localVarRequestOptions.headers = {
|
|
156964
|
+
...localVarHeaderParameter,
|
|
156965
|
+
...headersFromBaseOptions,
|
|
156966
|
+
...options.headers
|
|
156967
|
+
};
|
|
156968
|
+
return {
|
|
156969
|
+
url: toPathString$7(localVarUrlObj),
|
|
156970
|
+
options: localVarRequestOptions
|
|
156971
|
+
};
|
|
156972
|
+
}
|
|
156973
|
+
/**
|
|
156974
|
+
*
|
|
156975
|
+
* @summary Delete a custom application setting for a user
|
|
156976
|
+
* @param {string} userId
|
|
156977
|
+
* @param {string} id
|
|
156978
|
+
* @param {*} [options] Override http request option.
|
|
156979
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
156980
|
+
* @throws {RequiredError}
|
|
156981
|
+
*/
|
|
156982
|
+
async function EntitiesApiAxiosParamCreator_DeleteEntityCustomUserApplicationSettings(userId, id, options = {}, configuration) {
|
|
156983
|
+
assertParamExists$6("deleteEntityCustomUserApplicationSettings", "userId", userId);
|
|
156984
|
+
assertParamExists$6("deleteEntityCustomUserApplicationSettings", "id", id);
|
|
156985
|
+
const localVarPath = `/api/v1/entities/users/{userId}/customUserApplicationSettings/{id}`.replace(`{userId}`, encodeURIComponent(String(userId))).replace(`{id}`, encodeURIComponent(String(id)));
|
|
156986
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$7);
|
|
156987
|
+
let baseOptions;
|
|
156988
|
+
if (configuration) baseOptions = configuration.baseOptions;
|
|
156989
|
+
const localVarRequestOptions = {
|
|
156990
|
+
method: "DELETE",
|
|
156991
|
+
...baseOptions,
|
|
156992
|
+
...options
|
|
156993
|
+
};
|
|
156994
|
+
const localVarHeaderParameter = {};
|
|
156995
|
+
setSearchParams$7(localVarUrlObj, {});
|
|
156996
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
156997
|
+
localVarRequestOptions.headers = {
|
|
156998
|
+
...localVarHeaderParameter,
|
|
156999
|
+
...headersFromBaseOptions,
|
|
157000
|
+
...options.headers
|
|
157001
|
+
};
|
|
157002
|
+
return {
|
|
157003
|
+
url: toPathString$7(localVarUrlObj),
|
|
157004
|
+
options: localVarRequestOptions
|
|
157005
|
+
};
|
|
157006
|
+
}
|
|
157007
|
+
/**
|
|
157008
|
+
*
|
|
157009
|
+
* @summary Delete a Plugin
|
|
157010
|
+
* @param {string} workspaceId
|
|
157011
|
+
* @param {string} objectId
|
|
156363
157012
|
* @param {*} [options] Override http request option.
|
|
156364
157013
|
* @param {Configuration} [configuration] Optional configuration.
|
|
156365
157014
|
* @throws {RequiredError}
|
|
156366
157015
|
*/
|
|
156367
|
-
async function
|
|
156368
|
-
assertParamExists$6("
|
|
156369
|
-
assertParamExists$6("
|
|
156370
|
-
const localVarPath = `/api/v1/entities/
|
|
157016
|
+
async function EntitiesApiAxiosParamCreator_DeleteEntityDashboardPlugins(workspaceId, objectId, options = {}, configuration) {
|
|
157017
|
+
assertParamExists$6("deleteEntityDashboardPlugins", "workspaceId", workspaceId);
|
|
157018
|
+
assertParamExists$6("deleteEntityDashboardPlugins", "objectId", objectId);
|
|
157019
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/dashboardPlugins/{objectId}`.replace(`{workspaceId}`, encodeURIComponent(String(workspaceId))).replace(`{objectId}`, encodeURIComponent(String(objectId)));
|
|
156371
157020
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$7);
|
|
156372
157021
|
let baseOptions;
|
|
156373
157022
|
if (configuration) baseOptions = configuration.baseOptions;
|
|
@@ -156390,18 +157039,16 @@ async function EntitiesApiAxiosParamCreator_DeleteEntityApiTokens(userId, id, op
|
|
|
156390
157039
|
};
|
|
156391
157040
|
}
|
|
156392
157041
|
/**
|
|
156393
|
-
*
|
|
156394
|
-
* @summary Delete
|
|
156395
|
-
* @param {string}
|
|
156396
|
-
* @param {string} objectId
|
|
157042
|
+
* Data Source - represents data source for the workspace
|
|
157043
|
+
* @summary Delete Data Source entity
|
|
157044
|
+
* @param {string} id
|
|
156397
157045
|
* @param {*} [options] Override http request option.
|
|
156398
157046
|
* @param {Configuration} [configuration] Optional configuration.
|
|
156399
157047
|
* @throws {RequiredError}
|
|
156400
157048
|
*/
|
|
156401
|
-
async function
|
|
156402
|
-
assertParamExists$6("
|
|
156403
|
-
|
|
156404
|
-
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/attributeHierarchies/{objectId}`.replace(`{workspaceId}`, encodeURIComponent(String(workspaceId))).replace(`{objectId}`, encodeURIComponent(String(objectId)));
|
|
157049
|
+
async function EntitiesApiAxiosParamCreator_DeleteEntityDataSources(id, options = {}, configuration) {
|
|
157050
|
+
assertParamExists$6("deleteEntityDataSources", "id", id);
|
|
157051
|
+
const localVarPath = `/api/v1/entities/dataSources/{id}`.replace(`{id}`, encodeURIComponent(String(id)));
|
|
156405
157052
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$7);
|
|
156406
157053
|
let baseOptions;
|
|
156407
157054
|
if (configuration) baseOptions = configuration.baseOptions;
|
|
@@ -156425,17 +157072,17 @@ async function EntitiesApiAxiosParamCreator_DeleteEntityAttributeHierarchies(wor
|
|
|
156425
157072
|
}
|
|
156426
157073
|
/**
|
|
156427
157074
|
*
|
|
156428
|
-
* @summary Delete an
|
|
157075
|
+
* @summary Delete an Export Definition
|
|
156429
157076
|
* @param {string} workspaceId
|
|
156430
157077
|
* @param {string} objectId
|
|
156431
157078
|
* @param {*} [options] Override http request option.
|
|
156432
157079
|
* @param {Configuration} [configuration] Optional configuration.
|
|
156433
157080
|
* @throws {RequiredError}
|
|
156434
157081
|
*/
|
|
156435
|
-
async function
|
|
156436
|
-
assertParamExists$6("
|
|
156437
|
-
assertParamExists$6("
|
|
156438
|
-
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/
|
|
157082
|
+
async function EntitiesApiAxiosParamCreator_DeleteEntityExportDefinitions(workspaceId, objectId, options = {}, configuration) {
|
|
157083
|
+
assertParamExists$6("deleteEntityExportDefinitions", "workspaceId", workspaceId);
|
|
157084
|
+
assertParamExists$6("deleteEntityExportDefinitions", "objectId", objectId);
|
|
157085
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/exportDefinitions/{objectId}`.replace(`{workspaceId}`, encodeURIComponent(String(workspaceId))).replace(`{objectId}`, encodeURIComponent(String(objectId)));
|
|
156439
157086
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$7);
|
|
156440
157087
|
let baseOptions;
|
|
156441
157088
|
if (configuration) baseOptions = configuration.baseOptions;
|
|
@@ -156459,47 +157106,15 @@ async function EntitiesApiAxiosParamCreator_DeleteEntityAutomations(workspaceId,
|
|
|
156459
157106
|
}
|
|
156460
157107
|
/**
|
|
156461
157108
|
*
|
|
156462
|
-
* @summary Delete
|
|
156463
|
-
* @param {string} id
|
|
156464
|
-
* @param {*} [options] Override http request option.
|
|
156465
|
-
* @param {Configuration} [configuration] Optional configuration.
|
|
156466
|
-
* @throws {RequiredError}
|
|
156467
|
-
*/
|
|
156468
|
-
async function EntitiesApiAxiosParamCreator_DeleteEntityColorPalettes(id, options = {}, configuration) {
|
|
156469
|
-
assertParamExists$6("deleteEntityColorPalettes", "id", id);
|
|
156470
|
-
const localVarPath = `/api/v1/entities/colorPalettes/{id}`.replace(`{id}`, encodeURIComponent(String(id)));
|
|
156471
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$7);
|
|
156472
|
-
let baseOptions;
|
|
156473
|
-
if (configuration) baseOptions = configuration.baseOptions;
|
|
156474
|
-
const localVarRequestOptions = {
|
|
156475
|
-
method: "DELETE",
|
|
156476
|
-
...baseOptions,
|
|
156477
|
-
...options
|
|
156478
|
-
};
|
|
156479
|
-
const localVarHeaderParameter = {};
|
|
156480
|
-
setSearchParams$7(localVarUrlObj, {});
|
|
156481
|
-
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
156482
|
-
localVarRequestOptions.headers = {
|
|
156483
|
-
...localVarHeaderParameter,
|
|
156484
|
-
...headersFromBaseOptions,
|
|
156485
|
-
...options.headers
|
|
156486
|
-
};
|
|
156487
|
-
return {
|
|
156488
|
-
url: toPathString$7(localVarUrlObj),
|
|
156489
|
-
options: localVarRequestOptions
|
|
156490
|
-
};
|
|
156491
|
-
}
|
|
156492
|
-
/**
|
|
156493
|
-
* Context Security Police Directive
|
|
156494
|
-
* @summary Delete CSP Directives
|
|
157109
|
+
* @summary Delete Export Template entity
|
|
156495
157110
|
* @param {string} id
|
|
156496
157111
|
* @param {*} [options] Override http request option.
|
|
156497
157112
|
* @param {Configuration} [configuration] Optional configuration.
|
|
156498
157113
|
* @throws {RequiredError}
|
|
156499
157114
|
*/
|
|
156500
|
-
async function
|
|
156501
|
-
assertParamExists$6("
|
|
156502
|
-
const localVarPath = `/api/v1/entities/
|
|
157115
|
+
async function EntitiesApiAxiosParamCreator_DeleteEntityExportTemplates(id, options = {}, configuration) {
|
|
157116
|
+
assertParamExists$6("deleteEntityExportTemplates", "id", id);
|
|
157117
|
+
const localVarPath = `/api/v1/entities/exportTemplates/{id}`.replace(`{id}`, encodeURIComponent(String(id)));
|
|
156503
157118
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$7);
|
|
156504
157119
|
let baseOptions;
|
|
156505
157120
|
if (configuration) baseOptions = configuration.baseOptions;
|
|
@@ -156523,17 +157138,17 @@ async function EntitiesApiAxiosParamCreator_DeleteEntityCspDirectives(id, option
|
|
|
156523
157138
|
}
|
|
156524
157139
|
/**
|
|
156525
157140
|
*
|
|
156526
|
-
* @summary Delete a
|
|
157141
|
+
* @summary Delete a Filter Context
|
|
156527
157142
|
* @param {string} workspaceId
|
|
156528
157143
|
* @param {string} objectId
|
|
156529
157144
|
* @param {*} [options] Override http request option.
|
|
156530
157145
|
* @param {Configuration} [configuration] Optional configuration.
|
|
156531
157146
|
* @throws {RequiredError}
|
|
156532
157147
|
*/
|
|
156533
|
-
async function
|
|
156534
|
-
assertParamExists$6("
|
|
156535
|
-
assertParamExists$6("
|
|
156536
|
-
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/
|
|
157148
|
+
async function EntitiesApiAxiosParamCreator_DeleteEntityFilterContexts(workspaceId, objectId, options = {}, configuration) {
|
|
157149
|
+
assertParamExists$6("deleteEntityFilterContexts", "workspaceId", workspaceId);
|
|
157150
|
+
assertParamExists$6("deleteEntityFilterContexts", "objectId", objectId);
|
|
157151
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/filterContexts/{objectId}`.replace(`{workspaceId}`, encodeURIComponent(String(workspaceId))).replace(`{objectId}`, encodeURIComponent(String(objectId)));
|
|
156537
157152
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$7);
|
|
156538
157153
|
let baseOptions;
|
|
156539
157154
|
if (configuration) baseOptions = configuration.baseOptions;
|
|
@@ -156557,15 +157172,17 @@ async function EntitiesApiAxiosParamCreator_DeleteEntityCustomApplicationSetting
|
|
|
156557
157172
|
}
|
|
156558
157173
|
/**
|
|
156559
157174
|
*
|
|
156560
|
-
* @summary Delete
|
|
156561
|
-
* @param {string}
|
|
157175
|
+
* @summary Delete Filter view
|
|
157176
|
+
* @param {string} workspaceId
|
|
157177
|
+
* @param {string} objectId
|
|
156562
157178
|
* @param {*} [options] Override http request option.
|
|
156563
157179
|
* @param {Configuration} [configuration] Optional configuration.
|
|
156564
157180
|
* @throws {RequiredError}
|
|
156565
157181
|
*/
|
|
156566
|
-
async function
|
|
156567
|
-
assertParamExists$6("
|
|
156568
|
-
|
|
157182
|
+
async function EntitiesApiAxiosParamCreator_DeleteEntityFilterViews(workspaceId, objectId, options = {}, configuration) {
|
|
157183
|
+
assertParamExists$6("deleteEntityFilterViews", "workspaceId", workspaceId);
|
|
157184
|
+
assertParamExists$6("deleteEntityFilterViews", "objectId", objectId);
|
|
157185
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/filterViews/{objectId}`.replace(`{workspaceId}`, encodeURIComponent(String(workspaceId))).replace(`{objectId}`, encodeURIComponent(String(objectId)));
|
|
156569
157186
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$7);
|
|
156570
157187
|
let baseOptions;
|
|
156571
157188
|
if (configuration) baseOptions = configuration.baseOptions;
|
|
@@ -156589,17 +157206,15 @@ async function EntitiesApiAxiosParamCreator_DeleteEntityCustomGeoCollections(id,
|
|
|
156589
157206
|
}
|
|
156590
157207
|
/**
|
|
156591
157208
|
*
|
|
156592
|
-
* @summary Delete
|
|
156593
|
-
* @param {string} userId
|
|
157209
|
+
* @summary Delete Identity Provider
|
|
156594
157210
|
* @param {string} id
|
|
156595
157211
|
* @param {*} [options] Override http request option.
|
|
156596
157212
|
* @param {Configuration} [configuration] Optional configuration.
|
|
156597
157213
|
* @throws {RequiredError}
|
|
156598
157214
|
*/
|
|
156599
|
-
async function
|
|
156600
|
-
assertParamExists$6("
|
|
156601
|
-
|
|
156602
|
-
const localVarPath = `/api/v1/entities/users/{userId}/customUserApplicationSettings/{id}`.replace(`{userId}`, encodeURIComponent(String(userId))).replace(`{id}`, encodeURIComponent(String(id)));
|
|
157215
|
+
async function EntitiesApiAxiosParamCreator_DeleteEntityIdentityProviders(id, options = {}, configuration) {
|
|
157216
|
+
assertParamExists$6("deleteEntityIdentityProviders", "id", id);
|
|
157217
|
+
const localVarPath = `/api/v1/entities/identityProviders/{id}`.replace(`{id}`, encodeURIComponent(String(id)));
|
|
156603
157218
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$7);
|
|
156604
157219
|
let baseOptions;
|
|
156605
157220
|
if (configuration) baseOptions = configuration.baseOptions;
|
|
@@ -156623,17 +157238,15 @@ async function EntitiesApiAxiosParamCreator_DeleteEntityCustomUserApplicationSet
|
|
|
156623
157238
|
}
|
|
156624
157239
|
/**
|
|
156625
157240
|
*
|
|
156626
|
-
* @summary Delete
|
|
156627
|
-
* @param {string}
|
|
156628
|
-
* @param {string} objectId
|
|
157241
|
+
* @summary Delete IpAllowlistPolicy entity
|
|
157242
|
+
* @param {string} id
|
|
156629
157243
|
* @param {*} [options] Override http request option.
|
|
156630
157244
|
* @param {Configuration} [configuration] Optional configuration.
|
|
156631
157245
|
* @throws {RequiredError}
|
|
156632
157246
|
*/
|
|
156633
|
-
async function
|
|
156634
|
-
assertParamExists$6("
|
|
156635
|
-
|
|
156636
|
-
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/dashboardPlugins/{objectId}`.replace(`{workspaceId}`, encodeURIComponent(String(workspaceId))).replace(`{objectId}`, encodeURIComponent(String(objectId)));
|
|
157247
|
+
async function EntitiesApiAxiosParamCreator_DeleteEntityIpAllowlistPolicies(id, options = {}, configuration) {
|
|
157248
|
+
assertParamExists$6("deleteEntityIpAllowlistPolicies", "id", id);
|
|
157249
|
+
const localVarPath = `/api/v1/entities/ipAllowlistPolicies/{id}`.replace(`{id}`, encodeURIComponent(String(id)));
|
|
156637
157250
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$7);
|
|
156638
157251
|
let baseOptions;
|
|
156639
157252
|
if (configuration) baseOptions = configuration.baseOptions;
|
|
@@ -156656,16 +157269,16 @@ async function EntitiesApiAxiosParamCreator_DeleteEntityDashboardPlugins(workspa
|
|
|
156656
157269
|
};
|
|
156657
157270
|
}
|
|
156658
157271
|
/**
|
|
156659
|
-
*
|
|
156660
|
-
* @summary Delete
|
|
157272
|
+
* Deletes JSON web key - used to verify JSON web tokens (Jwts)
|
|
157273
|
+
* @summary Delete Jwk
|
|
156661
157274
|
* @param {string} id
|
|
156662
157275
|
* @param {*} [options] Override http request option.
|
|
156663
157276
|
* @param {Configuration} [configuration] Optional configuration.
|
|
156664
157277
|
* @throws {RequiredError}
|
|
156665
157278
|
*/
|
|
156666
|
-
async function
|
|
156667
|
-
assertParamExists$6("
|
|
156668
|
-
const localVarPath = `/api/v1/entities/
|
|
157279
|
+
async function EntitiesApiAxiosParamCreator_DeleteEntityJwks(id, options = {}, configuration) {
|
|
157280
|
+
assertParamExists$6("deleteEntityJwks", "id", id);
|
|
157281
|
+
const localVarPath = `/api/v1/entities/jwks/{id}`.replace(`{id}`, encodeURIComponent(String(id)));
|
|
156669
157282
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$7);
|
|
156670
157283
|
let baseOptions;
|
|
156671
157284
|
if (configuration) baseOptions = configuration.baseOptions;
|
|
@@ -156689,17 +157302,17 @@ async function EntitiesApiAxiosParamCreator_DeleteEntityDataSources(id, options
|
|
|
156689
157302
|
}
|
|
156690
157303
|
/**
|
|
156691
157304
|
*
|
|
156692
|
-
* @summary Delete
|
|
157305
|
+
* @summary Delete a Knowledge Recommendation
|
|
156693
157306
|
* @param {string} workspaceId
|
|
156694
157307
|
* @param {string} objectId
|
|
156695
157308
|
* @param {*} [options] Override http request option.
|
|
156696
157309
|
* @param {Configuration} [configuration] Optional configuration.
|
|
156697
157310
|
* @throws {RequiredError}
|
|
156698
157311
|
*/
|
|
156699
|
-
async function
|
|
156700
|
-
assertParamExists$6("
|
|
156701
|
-
assertParamExists$6("
|
|
156702
|
-
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/
|
|
157312
|
+
async function EntitiesApiAxiosParamCreator_DeleteEntityKnowledgeRecommendations(workspaceId, objectId, options = {}, configuration) {
|
|
157313
|
+
assertParamExists$6("deleteEntityKnowledgeRecommendations", "workspaceId", workspaceId);
|
|
157314
|
+
assertParamExists$6("deleteEntityKnowledgeRecommendations", "objectId", objectId);
|
|
157315
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/knowledgeRecommendations/{objectId}`.replace(`{workspaceId}`, encodeURIComponent(String(workspaceId))).replace(`{objectId}`, encodeURIComponent(String(objectId)));
|
|
156703
157316
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$7);
|
|
156704
157317
|
let baseOptions;
|
|
156705
157318
|
if (configuration) baseOptions = configuration.baseOptions;
|
|
@@ -156723,15 +157336,15 @@ async function EntitiesApiAxiosParamCreator_DeleteEntityExportDefinitions(worksp
|
|
|
156723
157336
|
}
|
|
156724
157337
|
/**
|
|
156725
157338
|
*
|
|
156726
|
-
* @summary Delete
|
|
157339
|
+
* @summary Delete LLM Provider entity
|
|
156727
157340
|
* @param {string} id
|
|
156728
157341
|
* @param {*} [options] Override http request option.
|
|
156729
157342
|
* @param {Configuration} [configuration] Optional configuration.
|
|
156730
157343
|
* @throws {RequiredError}
|
|
156731
157344
|
*/
|
|
156732
|
-
async function
|
|
156733
|
-
assertParamExists$6("
|
|
156734
|
-
const localVarPath = `/api/v1/entities/
|
|
157345
|
+
async function EntitiesApiAxiosParamCreator_DeleteEntityLlmProviders(id, options = {}, configuration) {
|
|
157346
|
+
assertParamExists$6("deleteEntityLlmProviders", "id", id);
|
|
157347
|
+
const localVarPath = `/api/v1/entities/llmProviders/{id}`.replace(`{id}`, encodeURIComponent(String(id)));
|
|
156735
157348
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$7);
|
|
156736
157349
|
let baseOptions;
|
|
156737
157350
|
if (configuration) baseOptions = configuration.baseOptions;
|
|
@@ -156755,17 +157368,17 @@ async function EntitiesApiAxiosParamCreator_DeleteEntityExportTemplates(id, opti
|
|
|
156755
157368
|
}
|
|
156756
157369
|
/**
|
|
156757
157370
|
*
|
|
156758
|
-
* @summary Delete a
|
|
157371
|
+
* @summary Delete a Memory Item
|
|
156759
157372
|
* @param {string} workspaceId
|
|
156760
157373
|
* @param {string} objectId
|
|
156761
157374
|
* @param {*} [options] Override http request option.
|
|
156762
157375
|
* @param {Configuration} [configuration] Optional configuration.
|
|
156763
157376
|
* @throws {RequiredError}
|
|
156764
157377
|
*/
|
|
156765
|
-
async function
|
|
156766
|
-
assertParamExists$6("
|
|
156767
|
-
assertParamExists$6("
|
|
156768
|
-
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/
|
|
157378
|
+
async function EntitiesApiAxiosParamCreator_DeleteEntityMemoryItems(workspaceId, objectId, options = {}, configuration) {
|
|
157379
|
+
assertParamExists$6("deleteEntityMemoryItems", "workspaceId", workspaceId);
|
|
157380
|
+
assertParamExists$6("deleteEntityMemoryItems", "objectId", objectId);
|
|
157381
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/memoryItems/{objectId}`.replace(`{workspaceId}`, encodeURIComponent(String(workspaceId))).replace(`{objectId}`, encodeURIComponent(String(objectId)));
|
|
156769
157382
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$7);
|
|
156770
157383
|
let baseOptions;
|
|
156771
157384
|
if (configuration) baseOptions = configuration.baseOptions;
|
|
@@ -156789,17 +157402,17 @@ async function EntitiesApiAxiosParamCreator_DeleteEntityFilterContexts(workspace
|
|
|
156789
157402
|
}
|
|
156790
157403
|
/**
|
|
156791
157404
|
*
|
|
156792
|
-
* @summary Delete
|
|
157405
|
+
* @summary Delete a Metric
|
|
156793
157406
|
* @param {string} workspaceId
|
|
156794
157407
|
* @param {string} objectId
|
|
156795
157408
|
* @param {*} [options] Override http request option.
|
|
156796
157409
|
* @param {Configuration} [configuration] Optional configuration.
|
|
156797
157410
|
* @throws {RequiredError}
|
|
156798
157411
|
*/
|
|
156799
|
-
async function
|
|
156800
|
-
assertParamExists$6("
|
|
156801
|
-
assertParamExists$6("
|
|
156802
|
-
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/
|
|
157412
|
+
async function EntitiesApiAxiosParamCreator_DeleteEntityMetrics(workspaceId, objectId, options = {}, configuration) {
|
|
157413
|
+
assertParamExists$6("deleteEntityMetrics", "workspaceId", workspaceId);
|
|
157414
|
+
assertParamExists$6("deleteEntityMetrics", "objectId", objectId);
|
|
157415
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/metrics/{objectId}`.replace(`{workspaceId}`, encodeURIComponent(String(workspaceId))).replace(`{objectId}`, encodeURIComponent(String(objectId)));
|
|
156803
157416
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$7);
|
|
156804
157417
|
let baseOptions;
|
|
156805
157418
|
if (configuration) baseOptions = configuration.baseOptions;
|
|
@@ -156823,15 +157436,15 @@ async function EntitiesApiAxiosParamCreator_DeleteEntityFilterViews(workspaceId,
|
|
|
156823
157436
|
}
|
|
156824
157437
|
/**
|
|
156825
157438
|
*
|
|
156826
|
-
* @summary Delete
|
|
157439
|
+
* @summary Delete Notification Channel entity
|
|
156827
157440
|
* @param {string} id
|
|
156828
157441
|
* @param {*} [options] Override http request option.
|
|
156829
157442
|
* @param {Configuration} [configuration] Optional configuration.
|
|
156830
157443
|
* @throws {RequiredError}
|
|
156831
157444
|
*/
|
|
156832
|
-
async function
|
|
156833
|
-
assertParamExists$6("
|
|
156834
|
-
const localVarPath = `/api/v1/entities/
|
|
157445
|
+
async function EntitiesApiAxiosParamCreator_DeleteEntityNotificationChannels(id, options = {}, configuration) {
|
|
157446
|
+
assertParamExists$6("deleteEntityNotificationChannels", "id", id);
|
|
157447
|
+
const localVarPath = `/api/v1/entities/notificationChannels/{id}`.replace(`{id}`, encodeURIComponent(String(id)));
|
|
156835
157448
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$7);
|
|
156836
157449
|
let baseOptions;
|
|
156837
157450
|
if (configuration) baseOptions = configuration.baseOptions;
|
|
@@ -156855,15 +157468,15 @@ async function EntitiesApiAxiosParamCreator_DeleteEntityIdentityProviders(id, op
|
|
|
156855
157468
|
}
|
|
156856
157469
|
/**
|
|
156857
157470
|
*
|
|
156858
|
-
* @summary Delete
|
|
157471
|
+
* @summary Delete an organization Memory Item entity
|
|
156859
157472
|
* @param {string} id
|
|
156860
157473
|
* @param {*} [options] Override http request option.
|
|
156861
157474
|
* @param {Configuration} [configuration] Optional configuration.
|
|
156862
157475
|
* @throws {RequiredError}
|
|
156863
157476
|
*/
|
|
156864
|
-
async function
|
|
156865
|
-
assertParamExists$6("
|
|
156866
|
-
const localVarPath = `/api/v1/entities/
|
|
157477
|
+
async function EntitiesApiAxiosParamCreator_DeleteEntityOrgMemoryItems(id, options = {}, configuration) {
|
|
157478
|
+
assertParamExists$6("deleteEntityOrgMemoryItems", "id", id);
|
|
157479
|
+
const localVarPath = `/api/v1/entities/orgMemoryItems/{id}`.replace(`{id}`, encodeURIComponent(String(id)));
|
|
156867
157480
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$7);
|
|
156868
157481
|
let baseOptions;
|
|
156869
157482
|
if (configuration) baseOptions = configuration.baseOptions;
|
|
@@ -156886,16 +157499,16 @@ async function EntitiesApiAxiosParamCreator_DeleteEntityIpAllowlistPolicies(id,
|
|
|
156886
157499
|
};
|
|
156887
157500
|
}
|
|
156888
157501
|
/**
|
|
156889
|
-
*
|
|
156890
|
-
* @summary Delete
|
|
157502
|
+
*
|
|
157503
|
+
* @summary Delete Organization Setting entity
|
|
156891
157504
|
* @param {string} id
|
|
156892
157505
|
* @param {*} [options] Override http request option.
|
|
156893
157506
|
* @param {Configuration} [configuration] Optional configuration.
|
|
156894
157507
|
* @throws {RequiredError}
|
|
156895
157508
|
*/
|
|
156896
|
-
async function
|
|
156897
|
-
assertParamExists$6("
|
|
156898
|
-
const localVarPath = `/api/v1/entities/
|
|
157509
|
+
async function EntitiesApiAxiosParamCreator_DeleteEntityOrganizationSettings(id, options = {}, configuration) {
|
|
157510
|
+
assertParamExists$6("deleteEntityOrganizationSettings", "id", id);
|
|
157511
|
+
const localVarPath = `/api/v1/entities/organizationSettings/{id}`.replace(`{id}`, encodeURIComponent(String(id)));
|
|
156899
157512
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$7);
|
|
156900
157513
|
let baseOptions;
|
|
156901
157514
|
if (configuration) baseOptions = configuration.baseOptions;
|
|
@@ -156919,17 +157532,17 @@ async function EntitiesApiAxiosParamCreator_DeleteEntityJwks(id, options = {}, c
|
|
|
156919
157532
|
}
|
|
156920
157533
|
/**
|
|
156921
157534
|
*
|
|
156922
|
-
* @summary Delete a
|
|
157535
|
+
* @summary Delete a Parameter
|
|
156923
157536
|
* @param {string} workspaceId
|
|
156924
157537
|
* @param {string} objectId
|
|
156925
157538
|
* @param {*} [options] Override http request option.
|
|
156926
157539
|
* @param {Configuration} [configuration] Optional configuration.
|
|
156927
157540
|
* @throws {RequiredError}
|
|
156928
157541
|
*/
|
|
156929
|
-
async function
|
|
156930
|
-
assertParamExists$6("
|
|
156931
|
-
assertParamExists$6("
|
|
156932
|
-
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/
|
|
157542
|
+
async function EntitiesApiAxiosParamCreator_DeleteEntityParameters(workspaceId, objectId, options = {}, configuration) {
|
|
157543
|
+
assertParamExists$6("deleteEntityParameters", "workspaceId", workspaceId);
|
|
157544
|
+
assertParamExists$6("deleteEntityParameters", "objectId", objectId);
|
|
157545
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/parameters/{objectId}`.replace(`{workspaceId}`, encodeURIComponent(String(workspaceId))).replace(`{objectId}`, encodeURIComponent(String(objectId)));
|
|
156933
157546
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$7);
|
|
156934
157547
|
let baseOptions;
|
|
156935
157548
|
if (configuration) baseOptions = configuration.baseOptions;
|
|
@@ -156953,49 +157566,15 @@ async function EntitiesApiAxiosParamCreator_DeleteEntityKnowledgeRecommendations
|
|
|
156953
157566
|
}
|
|
156954
157567
|
/**
|
|
156955
157568
|
*
|
|
156956
|
-
* @summary Delete
|
|
157569
|
+
* @summary Delete Theming
|
|
156957
157570
|
* @param {string} id
|
|
156958
157571
|
* @param {*} [options] Override http request option.
|
|
156959
157572
|
* @param {Configuration} [configuration] Optional configuration.
|
|
156960
157573
|
* @throws {RequiredError}
|
|
156961
157574
|
*/
|
|
156962
|
-
async function
|
|
156963
|
-
assertParamExists$6("
|
|
156964
|
-
const localVarPath = `/api/v1/entities/
|
|
156965
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$7);
|
|
156966
|
-
let baseOptions;
|
|
156967
|
-
if (configuration) baseOptions = configuration.baseOptions;
|
|
156968
|
-
const localVarRequestOptions = {
|
|
156969
|
-
method: "DELETE",
|
|
156970
|
-
...baseOptions,
|
|
156971
|
-
...options
|
|
156972
|
-
};
|
|
156973
|
-
const localVarHeaderParameter = {};
|
|
156974
|
-
setSearchParams$7(localVarUrlObj, {});
|
|
156975
|
-
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
156976
|
-
localVarRequestOptions.headers = {
|
|
156977
|
-
...localVarHeaderParameter,
|
|
156978
|
-
...headersFromBaseOptions,
|
|
156979
|
-
...options.headers
|
|
156980
|
-
};
|
|
156981
|
-
return {
|
|
156982
|
-
url: toPathString$7(localVarUrlObj),
|
|
156983
|
-
options: localVarRequestOptions
|
|
156984
|
-
};
|
|
156985
|
-
}
|
|
156986
|
-
/**
|
|
156987
|
-
*
|
|
156988
|
-
* @summary Delete a Memory Item
|
|
156989
|
-
* @param {string} workspaceId
|
|
156990
|
-
* @param {string} objectId
|
|
156991
|
-
* @param {*} [options] Override http request option.
|
|
156992
|
-
* @param {Configuration} [configuration] Optional configuration.
|
|
156993
|
-
* @throws {RequiredError}
|
|
156994
|
-
*/
|
|
156995
|
-
async function EntitiesApiAxiosParamCreator_DeleteEntityMemoryItems(workspaceId, objectId, options = {}, configuration) {
|
|
156996
|
-
assertParamExists$6("deleteEntityMemoryItems", "workspaceId", workspaceId);
|
|
156997
|
-
assertParamExists$6("deleteEntityMemoryItems", "objectId", objectId);
|
|
156998
|
-
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/memoryItems/{objectId}`.replace(`{workspaceId}`, encodeURIComponent(String(workspaceId))).replace(`{objectId}`, encodeURIComponent(String(objectId)));
|
|
157575
|
+
async function EntitiesApiAxiosParamCreator_DeleteEntityThemes(id, options = {}, configuration) {
|
|
157576
|
+
assertParamExists$6("deleteEntityThemes", "id", id);
|
|
157577
|
+
const localVarPath = `/api/v1/entities/themes/{id}`.replace(`{id}`, encodeURIComponent(String(id)));
|
|
156999
157578
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$7);
|
|
157000
157579
|
let baseOptions;
|
|
157001
157580
|
if (configuration) baseOptions = configuration.baseOptions;
|
|
@@ -157019,17 +157598,17 @@ async function EntitiesApiAxiosParamCreator_DeleteEntityMemoryItems(workspaceId,
|
|
|
157019
157598
|
}
|
|
157020
157599
|
/**
|
|
157021
157600
|
*
|
|
157022
|
-
* @summary Delete a
|
|
157601
|
+
* @summary Delete a User Data Filter
|
|
157023
157602
|
* @param {string} workspaceId
|
|
157024
157603
|
* @param {string} objectId
|
|
157025
157604
|
* @param {*} [options] Override http request option.
|
|
157026
157605
|
* @param {Configuration} [configuration] Optional configuration.
|
|
157027
157606
|
* @throws {RequiredError}
|
|
157028
157607
|
*/
|
|
157029
|
-
async function
|
|
157030
|
-
assertParamExists$6("
|
|
157031
|
-
assertParamExists$6("
|
|
157032
|
-
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/
|
|
157608
|
+
async function EntitiesApiAxiosParamCreator_DeleteEntityUserDataFilters(workspaceId, objectId, options = {}, configuration) {
|
|
157609
|
+
assertParamExists$6("deleteEntityUserDataFilters", "workspaceId", workspaceId);
|
|
157610
|
+
assertParamExists$6("deleteEntityUserDataFilters", "objectId", objectId);
|
|
157611
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/userDataFilters/{objectId}`.replace(`{workspaceId}`, encodeURIComponent(String(workspaceId))).replace(`{objectId}`, encodeURIComponent(String(objectId)));
|
|
157033
157612
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$7);
|
|
157034
157613
|
let baseOptions;
|
|
157035
157614
|
if (configuration) baseOptions = configuration.baseOptions;
|
|
@@ -157052,16 +157631,16 @@ async function EntitiesApiAxiosParamCreator_DeleteEntityMetrics(workspaceId, obj
|
|
|
157052
157631
|
};
|
|
157053
157632
|
}
|
|
157054
157633
|
/**
|
|
157055
|
-
*
|
|
157056
|
-
* @summary Delete
|
|
157634
|
+
* User Group - creates tree-like structure for categorizing users
|
|
157635
|
+
* @summary Delete UserGroup entity
|
|
157057
157636
|
* @param {string} id
|
|
157058
157637
|
* @param {*} [options] Override http request option.
|
|
157059
157638
|
* @param {Configuration} [configuration] Optional configuration.
|
|
157060
157639
|
* @throws {RequiredError}
|
|
157061
157640
|
*/
|
|
157062
|
-
async function
|
|
157063
|
-
assertParamExists$6("
|
|
157064
|
-
const localVarPath = `/api/v1/entities/
|
|
157641
|
+
async function EntitiesApiAxiosParamCreator_DeleteEntityUserGroups(id, options = {}, configuration) {
|
|
157642
|
+
assertParamExists$6("deleteEntityUserGroups", "id", id);
|
|
157643
|
+
const localVarPath = `/api/v1/entities/userGroups/{id}`.replace(`{id}`, encodeURIComponent(String(id)));
|
|
157065
157644
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$7);
|
|
157066
157645
|
let baseOptions;
|
|
157067
157646
|
if (configuration) baseOptions = configuration.baseOptions;
|
|
@@ -157085,15 +157664,17 @@ async function EntitiesApiAxiosParamCreator_DeleteEntityNotificationChannels(id,
|
|
|
157085
157664
|
}
|
|
157086
157665
|
/**
|
|
157087
157666
|
*
|
|
157088
|
-
* @summary Delete
|
|
157667
|
+
* @summary Delete a setting for a user
|
|
157668
|
+
* @param {string} userId
|
|
157089
157669
|
* @param {string} id
|
|
157090
157670
|
* @param {*} [options] Override http request option.
|
|
157091
157671
|
* @param {Configuration} [configuration] Optional configuration.
|
|
157092
157672
|
* @throws {RequiredError}
|
|
157093
157673
|
*/
|
|
157094
|
-
async function
|
|
157095
|
-
assertParamExists$6("
|
|
157096
|
-
|
|
157674
|
+
async function EntitiesApiAxiosParamCreator_DeleteEntityUserSettings(userId, id, options = {}, configuration) {
|
|
157675
|
+
assertParamExists$6("deleteEntityUserSettings", "userId", userId);
|
|
157676
|
+
assertParamExists$6("deleteEntityUserSettings", "id", id);
|
|
157677
|
+
const localVarPath = `/api/v1/entities/users/{userId}/userSettings/{id}`.replace(`{userId}`, encodeURIComponent(String(userId))).replace(`{id}`, encodeURIComponent(String(id)));
|
|
157097
157678
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$7);
|
|
157098
157679
|
let baseOptions;
|
|
157099
157680
|
if (configuration) baseOptions = configuration.baseOptions;
|
|
@@ -157116,16 +157697,16 @@ async function EntitiesApiAxiosParamCreator_DeleteEntityOrgMemoryItems(id, optio
|
|
|
157116
157697
|
};
|
|
157117
157698
|
}
|
|
157118
157699
|
/**
|
|
157119
|
-
*
|
|
157120
|
-
* @summary Delete
|
|
157700
|
+
* User - represents entity interacting with platform
|
|
157701
|
+
* @summary Delete User entity
|
|
157121
157702
|
* @param {string} id
|
|
157122
157703
|
* @param {*} [options] Override http request option.
|
|
157123
157704
|
* @param {Configuration} [configuration] Optional configuration.
|
|
157124
157705
|
* @throws {RequiredError}
|
|
157125
157706
|
*/
|
|
157126
|
-
async function
|
|
157127
|
-
assertParamExists$6("
|
|
157128
|
-
const localVarPath = `/api/v1/entities/
|
|
157707
|
+
async function EntitiesApiAxiosParamCreator_DeleteEntityUsers(id, options = {}, configuration) {
|
|
157708
|
+
assertParamExists$6("deleteEntityUsers", "id", id);
|
|
157709
|
+
const localVarPath = `/api/v1/entities/users/{id}`.replace(`{id}`, encodeURIComponent(String(id)));
|
|
157129
157710
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$7);
|
|
157130
157711
|
let baseOptions;
|
|
157131
157712
|
if (configuration) baseOptions = configuration.baseOptions;
|
|
@@ -157149,49 +157730,17 @@ async function EntitiesApiAxiosParamCreator_DeleteEntityOrganizationSettings(id,
|
|
|
157149
157730
|
}
|
|
157150
157731
|
/**
|
|
157151
157732
|
*
|
|
157152
|
-
* @summary Delete a
|
|
157733
|
+
* @summary Delete a Visualization Object
|
|
157153
157734
|
* @param {string} workspaceId
|
|
157154
157735
|
* @param {string} objectId
|
|
157155
157736
|
* @param {*} [options] Override http request option.
|
|
157156
157737
|
* @param {Configuration} [configuration] Optional configuration.
|
|
157157
157738
|
* @throws {RequiredError}
|
|
157158
157739
|
*/
|
|
157159
|
-
async function
|
|
157160
|
-
assertParamExists$6("
|
|
157161
|
-
assertParamExists$6("
|
|
157162
|
-
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/
|
|
157163
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$7);
|
|
157164
|
-
let baseOptions;
|
|
157165
|
-
if (configuration) baseOptions = configuration.baseOptions;
|
|
157166
|
-
const localVarRequestOptions = {
|
|
157167
|
-
method: "DELETE",
|
|
157168
|
-
...baseOptions,
|
|
157169
|
-
...options
|
|
157170
|
-
};
|
|
157171
|
-
const localVarHeaderParameter = {};
|
|
157172
|
-
setSearchParams$7(localVarUrlObj, {});
|
|
157173
|
-
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
157174
|
-
localVarRequestOptions.headers = {
|
|
157175
|
-
...localVarHeaderParameter,
|
|
157176
|
-
...headersFromBaseOptions,
|
|
157177
|
-
...options.headers
|
|
157178
|
-
};
|
|
157179
|
-
return {
|
|
157180
|
-
url: toPathString$7(localVarUrlObj),
|
|
157181
|
-
options: localVarRequestOptions
|
|
157182
|
-
};
|
|
157183
|
-
}
|
|
157184
|
-
/**
|
|
157185
|
-
*
|
|
157186
|
-
* @summary Delete Theming
|
|
157187
|
-
* @param {string} id
|
|
157188
|
-
* @param {*} [options] Override http request option.
|
|
157189
|
-
* @param {Configuration} [configuration] Optional configuration.
|
|
157190
|
-
* @throws {RequiredError}
|
|
157191
|
-
*/
|
|
157192
|
-
async function EntitiesApiAxiosParamCreator_DeleteEntityThemes(id, options = {}, configuration) {
|
|
157193
|
-
assertParamExists$6("deleteEntityThemes", "id", id);
|
|
157194
|
-
const localVarPath = `/api/v1/entities/themes/{id}`.replace(`{id}`, encodeURIComponent(String(id)));
|
|
157740
|
+
async function EntitiesApiAxiosParamCreator_DeleteEntityVisualizationObjects(workspaceId, objectId, options = {}, configuration) {
|
|
157741
|
+
assertParamExists$6("deleteEntityVisualizationObjects", "workspaceId", workspaceId);
|
|
157742
|
+
assertParamExists$6("deleteEntityVisualizationObjects", "objectId", objectId);
|
|
157743
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/visualizationObjects/{objectId}`.replace(`{workspaceId}`, encodeURIComponent(String(workspaceId))).replace(`{objectId}`, encodeURIComponent(String(objectId)));
|
|
157195
157744
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$7);
|
|
157196
157745
|
let baseOptions;
|
|
157197
157746
|
if (configuration) baseOptions = configuration.baseOptions;
|
|
@@ -157215,49 +157764,17 @@ async function EntitiesApiAxiosParamCreator_DeleteEntityThemes(id, options = {},
|
|
|
157215
157764
|
}
|
|
157216
157765
|
/**
|
|
157217
157766
|
*
|
|
157218
|
-
* @summary Delete a
|
|
157767
|
+
* @summary Delete a Workspace Color Palette
|
|
157219
157768
|
* @param {string} workspaceId
|
|
157220
157769
|
* @param {string} objectId
|
|
157221
157770
|
* @param {*} [options] Override http request option.
|
|
157222
157771
|
* @param {Configuration} [configuration] Optional configuration.
|
|
157223
157772
|
* @throws {RequiredError}
|
|
157224
157773
|
*/
|
|
157225
|
-
async function
|
|
157226
|
-
assertParamExists$6("
|
|
157227
|
-
assertParamExists$6("
|
|
157228
|
-
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/
|
|
157229
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$7);
|
|
157230
|
-
let baseOptions;
|
|
157231
|
-
if (configuration) baseOptions = configuration.baseOptions;
|
|
157232
|
-
const localVarRequestOptions = {
|
|
157233
|
-
method: "DELETE",
|
|
157234
|
-
...baseOptions,
|
|
157235
|
-
...options
|
|
157236
|
-
};
|
|
157237
|
-
const localVarHeaderParameter = {};
|
|
157238
|
-
setSearchParams$7(localVarUrlObj, {});
|
|
157239
|
-
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
157240
|
-
localVarRequestOptions.headers = {
|
|
157241
|
-
...localVarHeaderParameter,
|
|
157242
|
-
...headersFromBaseOptions,
|
|
157243
|
-
...options.headers
|
|
157244
|
-
};
|
|
157245
|
-
return {
|
|
157246
|
-
url: toPathString$7(localVarUrlObj),
|
|
157247
|
-
options: localVarRequestOptions
|
|
157248
|
-
};
|
|
157249
|
-
}
|
|
157250
|
-
/**
|
|
157251
|
-
* User Group - creates tree-like structure for categorizing users
|
|
157252
|
-
* @summary Delete UserGroup entity
|
|
157253
|
-
* @param {string} id
|
|
157254
|
-
* @param {*} [options] Override http request option.
|
|
157255
|
-
* @param {Configuration} [configuration] Optional configuration.
|
|
157256
|
-
* @throws {RequiredError}
|
|
157257
|
-
*/
|
|
157258
|
-
async function EntitiesApiAxiosParamCreator_DeleteEntityUserGroups(id, options = {}, configuration) {
|
|
157259
|
-
assertParamExists$6("deleteEntityUserGroups", "id", id);
|
|
157260
|
-
const localVarPath = `/api/v1/entities/userGroups/{id}`.replace(`{id}`, encodeURIComponent(String(id)));
|
|
157774
|
+
async function EntitiesApiAxiosParamCreator_DeleteEntityWorkspaceColorPalettes(workspaceId, objectId, options = {}, configuration) {
|
|
157775
|
+
assertParamExists$6("deleteEntityWorkspaceColorPalettes", "workspaceId", workspaceId);
|
|
157776
|
+
assertParamExists$6("deleteEntityWorkspaceColorPalettes", "objectId", objectId);
|
|
157777
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/workspaceColorPalettes/{objectId}`.replace(`{workspaceId}`, encodeURIComponent(String(workspaceId))).replace(`{objectId}`, encodeURIComponent(String(objectId)));
|
|
157261
157778
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$7);
|
|
157262
157779
|
let baseOptions;
|
|
157263
157780
|
if (configuration) baseOptions = configuration.baseOptions;
|
|
@@ -157281,83 +157798,17 @@ async function EntitiesApiAxiosParamCreator_DeleteEntityUserGroups(id, options =
|
|
|
157281
157798
|
}
|
|
157282
157799
|
/**
|
|
157283
157800
|
*
|
|
157284
|
-
* @summary Delete a
|
|
157285
|
-
* @param {string} userId
|
|
157286
|
-
* @param {string} id
|
|
157287
|
-
* @param {*} [options] Override http request option.
|
|
157288
|
-
* @param {Configuration} [configuration] Optional configuration.
|
|
157289
|
-
* @throws {RequiredError}
|
|
157290
|
-
*/
|
|
157291
|
-
async function EntitiesApiAxiosParamCreator_DeleteEntityUserSettings(userId, id, options = {}, configuration) {
|
|
157292
|
-
assertParamExists$6("deleteEntityUserSettings", "userId", userId);
|
|
157293
|
-
assertParamExists$6("deleteEntityUserSettings", "id", id);
|
|
157294
|
-
const localVarPath = `/api/v1/entities/users/{userId}/userSettings/{id}`.replace(`{userId}`, encodeURIComponent(String(userId))).replace(`{id}`, encodeURIComponent(String(id)));
|
|
157295
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$7);
|
|
157296
|
-
let baseOptions;
|
|
157297
|
-
if (configuration) baseOptions = configuration.baseOptions;
|
|
157298
|
-
const localVarRequestOptions = {
|
|
157299
|
-
method: "DELETE",
|
|
157300
|
-
...baseOptions,
|
|
157301
|
-
...options
|
|
157302
|
-
};
|
|
157303
|
-
const localVarHeaderParameter = {};
|
|
157304
|
-
setSearchParams$7(localVarUrlObj, {});
|
|
157305
|
-
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
157306
|
-
localVarRequestOptions.headers = {
|
|
157307
|
-
...localVarHeaderParameter,
|
|
157308
|
-
...headersFromBaseOptions,
|
|
157309
|
-
...options.headers
|
|
157310
|
-
};
|
|
157311
|
-
return {
|
|
157312
|
-
url: toPathString$7(localVarUrlObj),
|
|
157313
|
-
options: localVarRequestOptions
|
|
157314
|
-
};
|
|
157315
|
-
}
|
|
157316
|
-
/**
|
|
157317
|
-
* User - represents entity interacting with platform
|
|
157318
|
-
* @summary Delete User entity
|
|
157319
|
-
* @param {string} id
|
|
157320
|
-
* @param {*} [options] Override http request option.
|
|
157321
|
-
* @param {Configuration} [configuration] Optional configuration.
|
|
157322
|
-
* @throws {RequiredError}
|
|
157323
|
-
*/
|
|
157324
|
-
async function EntitiesApiAxiosParamCreator_DeleteEntityUsers(id, options = {}, configuration) {
|
|
157325
|
-
assertParamExists$6("deleteEntityUsers", "id", id);
|
|
157326
|
-
const localVarPath = `/api/v1/entities/users/{id}`.replace(`{id}`, encodeURIComponent(String(id)));
|
|
157327
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$7);
|
|
157328
|
-
let baseOptions;
|
|
157329
|
-
if (configuration) baseOptions = configuration.baseOptions;
|
|
157330
|
-
const localVarRequestOptions = {
|
|
157331
|
-
method: "DELETE",
|
|
157332
|
-
...baseOptions,
|
|
157333
|
-
...options
|
|
157334
|
-
};
|
|
157335
|
-
const localVarHeaderParameter = {};
|
|
157336
|
-
setSearchParams$7(localVarUrlObj, {});
|
|
157337
|
-
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
157338
|
-
localVarRequestOptions.headers = {
|
|
157339
|
-
...localVarHeaderParameter,
|
|
157340
|
-
...headersFromBaseOptions,
|
|
157341
|
-
...options.headers
|
|
157342
|
-
};
|
|
157343
|
-
return {
|
|
157344
|
-
url: toPathString$7(localVarUrlObj),
|
|
157345
|
-
options: localVarRequestOptions
|
|
157346
|
-
};
|
|
157347
|
-
}
|
|
157348
|
-
/**
|
|
157349
|
-
*
|
|
157350
|
-
* @summary Delete a Visualization Object
|
|
157801
|
+
* @summary Delete a Settings for Workspace Data Filter
|
|
157351
157802
|
* @param {string} workspaceId
|
|
157352
157803
|
* @param {string} objectId
|
|
157353
157804
|
* @param {*} [options] Override http request option.
|
|
157354
157805
|
* @param {Configuration} [configuration] Optional configuration.
|
|
157355
157806
|
* @throws {RequiredError}
|
|
157356
157807
|
*/
|
|
157357
|
-
async function
|
|
157358
|
-
assertParamExists$6("
|
|
157359
|
-
assertParamExists$6("
|
|
157360
|
-
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/
|
|
157808
|
+
async function EntitiesApiAxiosParamCreator_DeleteEntityWorkspaceDataFilterSettings(workspaceId, objectId, options = {}, configuration) {
|
|
157809
|
+
assertParamExists$6("deleteEntityWorkspaceDataFilterSettings", "workspaceId", workspaceId);
|
|
157810
|
+
assertParamExists$6("deleteEntityWorkspaceDataFilterSettings", "objectId", objectId);
|
|
157811
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/workspaceDataFilterSettings/{objectId}`.replace(`{workspaceId}`, encodeURIComponent(String(workspaceId))).replace(`{objectId}`, encodeURIComponent(String(objectId)));
|
|
157361
157812
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$7);
|
|
157362
157813
|
let baseOptions;
|
|
157363
157814
|
if (configuration) baseOptions = configuration.baseOptions;
|
|
@@ -157381,17 +157832,17 @@ async function EntitiesApiAxiosParamCreator_DeleteEntityVisualizationObjects(wor
|
|
|
157381
157832
|
}
|
|
157382
157833
|
/**
|
|
157383
157834
|
*
|
|
157384
|
-
* @summary Delete a
|
|
157835
|
+
* @summary Delete a Workspace Data Filter
|
|
157385
157836
|
* @param {string} workspaceId
|
|
157386
157837
|
* @param {string} objectId
|
|
157387
157838
|
* @param {*} [options] Override http request option.
|
|
157388
157839
|
* @param {Configuration} [configuration] Optional configuration.
|
|
157389
157840
|
* @throws {RequiredError}
|
|
157390
157841
|
*/
|
|
157391
|
-
async function
|
|
157392
|
-
assertParamExists$6("
|
|
157393
|
-
assertParamExists$6("
|
|
157394
|
-
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/
|
|
157842
|
+
async function EntitiesApiAxiosParamCreator_DeleteEntityWorkspaceDataFilters(workspaceId, objectId, options = {}, configuration) {
|
|
157843
|
+
assertParamExists$6("deleteEntityWorkspaceDataFilters", "workspaceId", workspaceId);
|
|
157844
|
+
assertParamExists$6("deleteEntityWorkspaceDataFilters", "objectId", objectId);
|
|
157845
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/workspaceDataFilters/{objectId}`.replace(`{workspaceId}`, encodeURIComponent(String(workspaceId))).replace(`{objectId}`, encodeURIComponent(String(objectId)));
|
|
157395
157846
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$7);
|
|
157396
157847
|
let baseOptions;
|
|
157397
157848
|
if (configuration) baseOptions = configuration.baseOptions;
|
|
@@ -157415,17 +157866,17 @@ async function EntitiesApiAxiosParamCreator_DeleteEntityWorkspaceDataFilterSetti
|
|
|
157415
157866
|
}
|
|
157416
157867
|
/**
|
|
157417
157868
|
*
|
|
157418
|
-
* @summary Delete a Workspace
|
|
157869
|
+
* @summary Delete a Workspace Export Template
|
|
157419
157870
|
* @param {string} workspaceId
|
|
157420
157871
|
* @param {string} objectId
|
|
157421
157872
|
* @param {*} [options] Override http request option.
|
|
157422
157873
|
* @param {Configuration} [configuration] Optional configuration.
|
|
157423
157874
|
* @throws {RequiredError}
|
|
157424
157875
|
*/
|
|
157425
|
-
async function
|
|
157426
|
-
assertParamExists$6("
|
|
157427
|
-
assertParamExists$6("
|
|
157428
|
-
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/
|
|
157876
|
+
async function EntitiesApiAxiosParamCreator_DeleteEntityWorkspaceExportTemplates(workspaceId, objectId, options = {}, configuration) {
|
|
157877
|
+
assertParamExists$6("deleteEntityWorkspaceExportTemplates", "workspaceId", workspaceId);
|
|
157878
|
+
assertParamExists$6("deleteEntityWorkspaceExportTemplates", "objectId", objectId);
|
|
157879
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/workspaceExportTemplates/{objectId}`.replace(`{workspaceId}`, encodeURIComponent(String(workspaceId))).replace(`{objectId}`, encodeURIComponent(String(objectId)));
|
|
157429
157880
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$7);
|
|
157430
157881
|
let baseOptions;
|
|
157431
157882
|
if (configuration) baseOptions = configuration.baseOptions;
|
|
@@ -157449,17 +157900,17 @@ async function EntitiesApiAxiosParamCreator_DeleteEntityWorkspaceDataFilters(wor
|
|
|
157449
157900
|
}
|
|
157450
157901
|
/**
|
|
157451
157902
|
*
|
|
157452
|
-
* @summary Delete a
|
|
157903
|
+
* @summary Delete a Setting for Workspace
|
|
157453
157904
|
* @param {string} workspaceId
|
|
157454
157905
|
* @param {string} objectId
|
|
157455
157906
|
* @param {*} [options] Override http request option.
|
|
157456
157907
|
* @param {Configuration} [configuration] Optional configuration.
|
|
157457
157908
|
* @throws {RequiredError}
|
|
157458
157909
|
*/
|
|
157459
|
-
async function
|
|
157460
|
-
assertParamExists$6("
|
|
157461
|
-
assertParamExists$6("
|
|
157462
|
-
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/
|
|
157910
|
+
async function EntitiesApiAxiosParamCreator_DeleteEntityWorkspaceSettings(workspaceId, objectId, options = {}, configuration) {
|
|
157911
|
+
assertParamExists$6("deleteEntityWorkspaceSettings", "workspaceId", workspaceId);
|
|
157912
|
+
assertParamExists$6("deleteEntityWorkspaceSettings", "objectId", objectId);
|
|
157913
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/workspaceSettings/{objectId}`.replace(`{workspaceId}`, encodeURIComponent(String(workspaceId))).replace(`{objectId}`, encodeURIComponent(String(objectId)));
|
|
157463
157914
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$7);
|
|
157464
157915
|
let baseOptions;
|
|
157465
157916
|
if (configuration) baseOptions = configuration.baseOptions;
|
|
@@ -157483,17 +157934,17 @@ async function EntitiesApiAxiosParamCreator_DeleteEntityWorkspaceExportTemplates
|
|
|
157483
157934
|
}
|
|
157484
157935
|
/**
|
|
157485
157936
|
*
|
|
157486
|
-
* @summary Delete a
|
|
157937
|
+
* @summary Delete a Workspace Theme
|
|
157487
157938
|
* @param {string} workspaceId
|
|
157488
157939
|
* @param {string} objectId
|
|
157489
157940
|
* @param {*} [options] Override http request option.
|
|
157490
157941
|
* @param {Configuration} [configuration] Optional configuration.
|
|
157491
157942
|
* @throws {RequiredError}
|
|
157492
157943
|
*/
|
|
157493
|
-
async function
|
|
157494
|
-
assertParamExists$6("
|
|
157495
|
-
assertParamExists$6("
|
|
157496
|
-
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/
|
|
157944
|
+
async function EntitiesApiAxiosParamCreator_DeleteEntityWorkspaceThemes(workspaceId, objectId, options = {}, configuration) {
|
|
157945
|
+
assertParamExists$6("deleteEntityWorkspaceThemes", "workspaceId", workspaceId);
|
|
157946
|
+
assertParamExists$6("deleteEntityWorkspaceThemes", "objectId", objectId);
|
|
157947
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/workspaceThemes/{objectId}`.replace(`{workspaceId}`, encodeURIComponent(String(workspaceId))).replace(`{objectId}`, encodeURIComponent(String(objectId)));
|
|
157497
157948
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$7);
|
|
157498
157949
|
let baseOptions;
|
|
157499
157950
|
if (configuration) baseOptions = configuration.baseOptions;
|
|
@@ -159488,6 +159939,53 @@ async function EntitiesApiAxiosParamCreator_GetAllEntitiesVisualizationObjects(w
|
|
|
159488
159939
|
}
|
|
159489
159940
|
/**
|
|
159490
159941
|
*
|
|
159942
|
+
* @summary Get all Workspace Color Palettes
|
|
159943
|
+
* @param {string} workspaceId
|
|
159944
|
+
* @param {'ALL' | 'PARENTS' | 'NATIVE'} [origin]
|
|
159945
|
+
* @param {string} [filter] Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title==\'Some Title\';description==\'desc\'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty==\'Value 123\').
|
|
159946
|
+
* @param {number} [page] Zero-based page index (0..N)
|
|
159947
|
+
* @param {number} [size] The size of the page to be returned
|
|
159948
|
+
* @param {Array<string>} [sort] Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
|
|
159949
|
+
* @param {boolean} [xGDCVALIDATERELATIONS]
|
|
159950
|
+
* @param {Array<'origin' | 'page' | 'all' | 'ALL'>} [metaInclude] Include Meta objects.
|
|
159951
|
+
* @param {*} [options] Override http request option.
|
|
159952
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
159953
|
+
* @throws {RequiredError}
|
|
159954
|
+
*/
|
|
159955
|
+
async function EntitiesApiAxiosParamCreator_GetAllEntitiesWorkspaceColorPalettes(workspaceId, origin, filter, page, size, sort, xGDCVALIDATERELATIONS, metaInclude, options = {}, configuration) {
|
|
159956
|
+
assertParamExists$6("getAllEntitiesWorkspaceColorPalettes", "workspaceId", workspaceId);
|
|
159957
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/workspaceColorPalettes`.replace(`{workspaceId}`, encodeURIComponent(String(workspaceId)));
|
|
159958
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$7);
|
|
159959
|
+
let baseOptions;
|
|
159960
|
+
if (configuration) baseOptions = configuration.baseOptions;
|
|
159961
|
+
const localVarRequestOptions = {
|
|
159962
|
+
method: "GET",
|
|
159963
|
+
...baseOptions,
|
|
159964
|
+
...options
|
|
159965
|
+
};
|
|
159966
|
+
const localVarHeaderParameter = {};
|
|
159967
|
+
const localVarQueryParameter = {};
|
|
159968
|
+
if (origin !== void 0) localVarQueryParameter["origin"] = origin;
|
|
159969
|
+
if (filter !== void 0) localVarQueryParameter["filter"] = filter;
|
|
159970
|
+
if (page !== void 0) localVarQueryParameter["page"] = page;
|
|
159971
|
+
if (size !== void 0) localVarQueryParameter["size"] = size;
|
|
159972
|
+
if (sort) localVarQueryParameter["sort"] = sort;
|
|
159973
|
+
if (metaInclude) localVarQueryParameter["metaInclude"] = Array.from(metaInclude).join(COLLECTION_FORMATS$1.csv);
|
|
159974
|
+
if (xGDCVALIDATERELATIONS !== void 0 && xGDCVALIDATERELATIONS !== null) localVarHeaderParameter["X-GDC-VALIDATE-RELATIONS"] = String(JSON.stringify(xGDCVALIDATERELATIONS));
|
|
159975
|
+
setSearchParams$7(localVarUrlObj, localVarQueryParameter);
|
|
159976
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
159977
|
+
localVarRequestOptions.headers = {
|
|
159978
|
+
...localVarHeaderParameter,
|
|
159979
|
+
...headersFromBaseOptions,
|
|
159980
|
+
...options.headers
|
|
159981
|
+
};
|
|
159982
|
+
return {
|
|
159983
|
+
url: toPathString$7(localVarUrlObj),
|
|
159984
|
+
options: localVarRequestOptions
|
|
159985
|
+
};
|
|
159986
|
+
}
|
|
159987
|
+
/**
|
|
159988
|
+
*
|
|
159491
159989
|
* @summary Get all Settings for Workspace Data Filters
|
|
159492
159990
|
* @param {string} workspaceId
|
|
159493
159991
|
* @param {'ALL' | 'PARENTS' | 'NATIVE'} [origin]
|
|
@@ -159679,6 +160177,53 @@ async function EntitiesApiAxiosParamCreator_GetAllEntitiesWorkspaceSettings(work
|
|
|
159679
160177
|
};
|
|
159680
160178
|
}
|
|
159681
160179
|
/**
|
|
160180
|
+
*
|
|
160181
|
+
* @summary Get all Workspace Themes
|
|
160182
|
+
* @param {string} workspaceId
|
|
160183
|
+
* @param {'ALL' | 'PARENTS' | 'NATIVE'} [origin]
|
|
160184
|
+
* @param {string} [filter] Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title==\'Some Title\';description==\'desc\'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty==\'Value 123\').
|
|
160185
|
+
* @param {number} [page] Zero-based page index (0..N)
|
|
160186
|
+
* @param {number} [size] The size of the page to be returned
|
|
160187
|
+
* @param {Array<string>} [sort] Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
|
|
160188
|
+
* @param {boolean} [xGDCVALIDATERELATIONS]
|
|
160189
|
+
* @param {Array<'origin' | 'page' | 'all' | 'ALL'>} [metaInclude] Include Meta objects.
|
|
160190
|
+
* @param {*} [options] Override http request option.
|
|
160191
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
160192
|
+
* @throws {RequiredError}
|
|
160193
|
+
*/
|
|
160194
|
+
async function EntitiesApiAxiosParamCreator_GetAllEntitiesWorkspaceThemes(workspaceId, origin, filter, page, size, sort, xGDCVALIDATERELATIONS, metaInclude, options = {}, configuration) {
|
|
160195
|
+
assertParamExists$6("getAllEntitiesWorkspaceThemes", "workspaceId", workspaceId);
|
|
160196
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/workspaceThemes`.replace(`{workspaceId}`, encodeURIComponent(String(workspaceId)));
|
|
160197
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$7);
|
|
160198
|
+
let baseOptions;
|
|
160199
|
+
if (configuration) baseOptions = configuration.baseOptions;
|
|
160200
|
+
const localVarRequestOptions = {
|
|
160201
|
+
method: "GET",
|
|
160202
|
+
...baseOptions,
|
|
160203
|
+
...options
|
|
160204
|
+
};
|
|
160205
|
+
const localVarHeaderParameter = {};
|
|
160206
|
+
const localVarQueryParameter = {};
|
|
160207
|
+
if (origin !== void 0) localVarQueryParameter["origin"] = origin;
|
|
160208
|
+
if (filter !== void 0) localVarQueryParameter["filter"] = filter;
|
|
160209
|
+
if (page !== void 0) localVarQueryParameter["page"] = page;
|
|
160210
|
+
if (size !== void 0) localVarQueryParameter["size"] = size;
|
|
160211
|
+
if (sort) localVarQueryParameter["sort"] = sort;
|
|
160212
|
+
if (metaInclude) localVarQueryParameter["metaInclude"] = Array.from(metaInclude).join(COLLECTION_FORMATS$1.csv);
|
|
160213
|
+
if (xGDCVALIDATERELATIONS !== void 0 && xGDCVALIDATERELATIONS !== null) localVarHeaderParameter["X-GDC-VALIDATE-RELATIONS"] = String(JSON.stringify(xGDCVALIDATERELATIONS));
|
|
160214
|
+
setSearchParams$7(localVarUrlObj, localVarQueryParameter);
|
|
160215
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
160216
|
+
localVarRequestOptions.headers = {
|
|
160217
|
+
...localVarHeaderParameter,
|
|
160218
|
+
...headersFromBaseOptions,
|
|
160219
|
+
...options.headers
|
|
160220
|
+
};
|
|
160221
|
+
return {
|
|
160222
|
+
url: toPathString$7(localVarUrlObj),
|
|
160223
|
+
options: localVarRequestOptions
|
|
160224
|
+
};
|
|
160225
|
+
}
|
|
160226
|
+
/**
|
|
159682
160227
|
* Space of the shared interest
|
|
159683
160228
|
* @summary Get Workspace entities
|
|
159684
160229
|
* @param {string} [filter] Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title==\'Some Title\';description==\'desc\'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty==\'Value 123\').
|
|
@@ -161524,6 +162069,47 @@ async function EntitiesApiAxiosParamCreator_GetEntityVisualizationObjects(worksp
|
|
|
161524
162069
|
}
|
|
161525
162070
|
/**
|
|
161526
162071
|
*
|
|
162072
|
+
* @summary Get a Workspace Color Palette
|
|
162073
|
+
* @param {string} workspaceId
|
|
162074
|
+
* @param {string} objectId
|
|
162075
|
+
* @param {string} [filter] Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title==\'Some Title\';description==\'desc\'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty==\'Value 123\').
|
|
162076
|
+
* @param {boolean} [xGDCVALIDATERELATIONS]
|
|
162077
|
+
* @param {Array<'origin' | 'all' | 'ALL'>} [metaInclude] Include Meta objects.
|
|
162078
|
+
* @param {*} [options] Override http request option.
|
|
162079
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
162080
|
+
* @throws {RequiredError}
|
|
162081
|
+
*/
|
|
162082
|
+
async function EntitiesApiAxiosParamCreator_GetEntityWorkspaceColorPalettes(workspaceId, objectId, filter, xGDCVALIDATERELATIONS, metaInclude, options = {}, configuration) {
|
|
162083
|
+
assertParamExists$6("getEntityWorkspaceColorPalettes", "workspaceId", workspaceId);
|
|
162084
|
+
assertParamExists$6("getEntityWorkspaceColorPalettes", "objectId", objectId);
|
|
162085
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/workspaceColorPalettes/{objectId}`.replace(`{workspaceId}`, encodeURIComponent(String(workspaceId))).replace(`{objectId}`, encodeURIComponent(String(objectId)));
|
|
162086
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$7);
|
|
162087
|
+
let baseOptions;
|
|
162088
|
+
if (configuration) baseOptions = configuration.baseOptions;
|
|
162089
|
+
const localVarRequestOptions = {
|
|
162090
|
+
method: "GET",
|
|
162091
|
+
...baseOptions,
|
|
162092
|
+
...options
|
|
162093
|
+
};
|
|
162094
|
+
const localVarHeaderParameter = {};
|
|
162095
|
+
const localVarQueryParameter = {};
|
|
162096
|
+
if (filter !== void 0) localVarQueryParameter["filter"] = filter;
|
|
162097
|
+
if (metaInclude) localVarQueryParameter["metaInclude"] = Array.from(metaInclude).join(COLLECTION_FORMATS$1.csv);
|
|
162098
|
+
if (xGDCVALIDATERELATIONS !== void 0 && xGDCVALIDATERELATIONS !== null) localVarHeaderParameter["X-GDC-VALIDATE-RELATIONS"] = String(JSON.stringify(xGDCVALIDATERELATIONS));
|
|
162099
|
+
setSearchParams$7(localVarUrlObj, localVarQueryParameter);
|
|
162100
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
162101
|
+
localVarRequestOptions.headers = {
|
|
162102
|
+
...localVarHeaderParameter,
|
|
162103
|
+
...headersFromBaseOptions,
|
|
162104
|
+
...options.headers
|
|
162105
|
+
};
|
|
162106
|
+
return {
|
|
162107
|
+
url: toPathString$7(localVarUrlObj),
|
|
162108
|
+
options: localVarRequestOptions
|
|
162109
|
+
};
|
|
162110
|
+
}
|
|
162111
|
+
/**
|
|
162112
|
+
*
|
|
161527
162113
|
* @summary Get a Setting for Workspace Data Filter
|
|
161528
162114
|
* @param {string} workspaceId
|
|
161529
162115
|
* @param {string} objectId
|
|
@@ -161691,6 +162277,47 @@ async function EntitiesApiAxiosParamCreator_GetEntityWorkspaceSettings(workspace
|
|
|
161691
162277
|
};
|
|
161692
162278
|
}
|
|
161693
162279
|
/**
|
|
162280
|
+
*
|
|
162281
|
+
* @summary Get a Workspace Theme
|
|
162282
|
+
* @param {string} workspaceId
|
|
162283
|
+
* @param {string} objectId
|
|
162284
|
+
* @param {string} [filter] Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title==\'Some Title\';description==\'desc\'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty==\'Value 123\').
|
|
162285
|
+
* @param {boolean} [xGDCVALIDATERELATIONS]
|
|
162286
|
+
* @param {Array<'origin' | 'all' | 'ALL'>} [metaInclude] Include Meta objects.
|
|
162287
|
+
* @param {*} [options] Override http request option.
|
|
162288
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
162289
|
+
* @throws {RequiredError}
|
|
162290
|
+
*/
|
|
162291
|
+
async function EntitiesApiAxiosParamCreator_GetEntityWorkspaceThemes(workspaceId, objectId, filter, xGDCVALIDATERELATIONS, metaInclude, options = {}, configuration) {
|
|
162292
|
+
assertParamExists$6("getEntityWorkspaceThemes", "workspaceId", workspaceId);
|
|
162293
|
+
assertParamExists$6("getEntityWorkspaceThemes", "objectId", objectId);
|
|
162294
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/workspaceThemes/{objectId}`.replace(`{workspaceId}`, encodeURIComponent(String(workspaceId))).replace(`{objectId}`, encodeURIComponent(String(objectId)));
|
|
162295
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$7);
|
|
162296
|
+
let baseOptions;
|
|
162297
|
+
if (configuration) baseOptions = configuration.baseOptions;
|
|
162298
|
+
const localVarRequestOptions = {
|
|
162299
|
+
method: "GET",
|
|
162300
|
+
...baseOptions,
|
|
162301
|
+
...options
|
|
162302
|
+
};
|
|
162303
|
+
const localVarHeaderParameter = {};
|
|
162304
|
+
const localVarQueryParameter = {};
|
|
162305
|
+
if (filter !== void 0) localVarQueryParameter["filter"] = filter;
|
|
162306
|
+
if (metaInclude) localVarQueryParameter["metaInclude"] = Array.from(metaInclude).join(COLLECTION_FORMATS$1.csv);
|
|
162307
|
+
if (xGDCVALIDATERELATIONS !== void 0 && xGDCVALIDATERELATIONS !== null) localVarHeaderParameter["X-GDC-VALIDATE-RELATIONS"] = String(JSON.stringify(xGDCVALIDATERELATIONS));
|
|
162308
|
+
setSearchParams$7(localVarUrlObj, localVarQueryParameter);
|
|
162309
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
162310
|
+
localVarRequestOptions.headers = {
|
|
162311
|
+
...localVarHeaderParameter,
|
|
162312
|
+
...headersFromBaseOptions,
|
|
162313
|
+
...options.headers
|
|
162314
|
+
};
|
|
162315
|
+
return {
|
|
162316
|
+
url: toPathString$7(localVarUrlObj),
|
|
162317
|
+
options: localVarRequestOptions
|
|
162318
|
+
};
|
|
162319
|
+
}
|
|
162320
|
+
/**
|
|
161694
162321
|
* Space of the shared interest
|
|
161695
162322
|
* @summary Get Workspace entity
|
|
161696
162323
|
* @param {string} id
|
|
@@ -163275,6 +163902,48 @@ async function EntitiesApiAxiosParamCreator_PatchEntityVisualizationObjects(work
|
|
|
163275
163902
|
}
|
|
163276
163903
|
/**
|
|
163277
163904
|
*
|
|
163905
|
+
* @summary Patch a Workspace Color Palette
|
|
163906
|
+
* @param {string} workspaceId
|
|
163907
|
+
* @param {string} objectId
|
|
163908
|
+
* @param {JsonApiWorkspaceColorPalettePatchDocument} jsonApiWorkspaceColorPalettePatchDocument
|
|
163909
|
+
* @param {string} [filter] Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title==\'Some Title\';description==\'desc\'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty==\'Value 123\').
|
|
163910
|
+
* @param {*} [options] Override http request option.
|
|
163911
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
163912
|
+
* @throws {RequiredError}
|
|
163913
|
+
*/
|
|
163914
|
+
async function EntitiesApiAxiosParamCreator_PatchEntityWorkspaceColorPalettes(workspaceId, objectId, jsonApiWorkspaceColorPalettePatchDocument, filter, options = {}, configuration) {
|
|
163915
|
+
assertParamExists$6("patchEntityWorkspaceColorPalettes", "workspaceId", workspaceId);
|
|
163916
|
+
assertParamExists$6("patchEntityWorkspaceColorPalettes", "objectId", objectId);
|
|
163917
|
+
assertParamExists$6("patchEntityWorkspaceColorPalettes", "jsonApiWorkspaceColorPalettePatchDocument", jsonApiWorkspaceColorPalettePatchDocument);
|
|
163918
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/workspaceColorPalettes/{objectId}`.replace(`{workspaceId}`, encodeURIComponent(String(workspaceId))).replace(`{objectId}`, encodeURIComponent(String(objectId)));
|
|
163919
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$7);
|
|
163920
|
+
let baseOptions;
|
|
163921
|
+
if (configuration) baseOptions = configuration.baseOptions;
|
|
163922
|
+
const localVarRequestOptions = {
|
|
163923
|
+
method: "PATCH",
|
|
163924
|
+
...baseOptions,
|
|
163925
|
+
...options
|
|
163926
|
+
};
|
|
163927
|
+
const localVarHeaderParameter = {};
|
|
163928
|
+
const localVarQueryParameter = {};
|
|
163929
|
+
if (filter !== void 0) localVarQueryParameter["filter"] = filter;
|
|
163930
|
+
const consumes = ["application/json", "application/vnd.gooddata.api+json"];
|
|
163931
|
+
localVarHeaderParameter["Content-Type"] = consumes.includes("application/json") ? "application/json" : consumes[0];
|
|
163932
|
+
setSearchParams$7(localVarUrlObj, localVarQueryParameter);
|
|
163933
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
163934
|
+
localVarRequestOptions.headers = {
|
|
163935
|
+
...localVarHeaderParameter,
|
|
163936
|
+
...headersFromBaseOptions,
|
|
163937
|
+
...options.headers
|
|
163938
|
+
};
|
|
163939
|
+
localVarRequestOptions.data = typeof jsonApiWorkspaceColorPalettePatchDocument !== "string" || localVarRequestOptions.headers["Content-Type"] === "application/json" ? JSON.stringify(jsonApiWorkspaceColorPalettePatchDocument !== void 0 ? jsonApiWorkspaceColorPalettePatchDocument : {}) : jsonApiWorkspaceColorPalettePatchDocument || "";
|
|
163940
|
+
return {
|
|
163941
|
+
url: toPathString$7(localVarUrlObj),
|
|
163942
|
+
options: localVarRequestOptions
|
|
163943
|
+
};
|
|
163944
|
+
}
|
|
163945
|
+
/**
|
|
163946
|
+
*
|
|
163278
163947
|
* @summary Patch a Settings for Workspace Data Filter
|
|
163279
163948
|
* @param {string} workspaceId
|
|
163280
163949
|
* @param {string} objectId
|
|
@@ -163446,6 +164115,48 @@ async function EntitiesApiAxiosParamCreator_PatchEntityWorkspaceSettings(workspa
|
|
|
163446
164115
|
};
|
|
163447
164116
|
}
|
|
163448
164117
|
/**
|
|
164118
|
+
*
|
|
164119
|
+
* @summary Patch a Workspace Theme
|
|
164120
|
+
* @param {string} workspaceId
|
|
164121
|
+
* @param {string} objectId
|
|
164122
|
+
* @param {JsonApiWorkspaceThemePatchDocument} jsonApiWorkspaceThemePatchDocument
|
|
164123
|
+
* @param {string} [filter] Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title==\'Some Title\';description==\'desc\'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty==\'Value 123\').
|
|
164124
|
+
* @param {*} [options] Override http request option.
|
|
164125
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
164126
|
+
* @throws {RequiredError}
|
|
164127
|
+
*/
|
|
164128
|
+
async function EntitiesApiAxiosParamCreator_PatchEntityWorkspaceThemes(workspaceId, objectId, jsonApiWorkspaceThemePatchDocument, filter, options = {}, configuration) {
|
|
164129
|
+
assertParamExists$6("patchEntityWorkspaceThemes", "workspaceId", workspaceId);
|
|
164130
|
+
assertParamExists$6("patchEntityWorkspaceThemes", "objectId", objectId);
|
|
164131
|
+
assertParamExists$6("patchEntityWorkspaceThemes", "jsonApiWorkspaceThemePatchDocument", jsonApiWorkspaceThemePatchDocument);
|
|
164132
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/workspaceThemes/{objectId}`.replace(`{workspaceId}`, encodeURIComponent(String(workspaceId))).replace(`{objectId}`, encodeURIComponent(String(objectId)));
|
|
164133
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$7);
|
|
164134
|
+
let baseOptions;
|
|
164135
|
+
if (configuration) baseOptions = configuration.baseOptions;
|
|
164136
|
+
const localVarRequestOptions = {
|
|
164137
|
+
method: "PATCH",
|
|
164138
|
+
...baseOptions,
|
|
164139
|
+
...options
|
|
164140
|
+
};
|
|
164141
|
+
const localVarHeaderParameter = {};
|
|
164142
|
+
const localVarQueryParameter = {};
|
|
164143
|
+
if (filter !== void 0) localVarQueryParameter["filter"] = filter;
|
|
164144
|
+
const consumes = ["application/json", "application/vnd.gooddata.api+json"];
|
|
164145
|
+
localVarHeaderParameter["Content-Type"] = consumes.includes("application/json") ? "application/json" : consumes[0];
|
|
164146
|
+
setSearchParams$7(localVarUrlObj, localVarQueryParameter);
|
|
164147
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
164148
|
+
localVarRequestOptions.headers = {
|
|
164149
|
+
...localVarHeaderParameter,
|
|
164150
|
+
...headersFromBaseOptions,
|
|
164151
|
+
...options.headers
|
|
164152
|
+
};
|
|
164153
|
+
localVarRequestOptions.data = typeof jsonApiWorkspaceThemePatchDocument !== "string" || localVarRequestOptions.headers["Content-Type"] === "application/json" ? JSON.stringify(jsonApiWorkspaceThemePatchDocument !== void 0 ? jsonApiWorkspaceThemePatchDocument : {}) : jsonApiWorkspaceThemePatchDocument || "";
|
|
164154
|
+
return {
|
|
164155
|
+
url: toPathString$7(localVarUrlObj),
|
|
164156
|
+
options: localVarRequestOptions
|
|
164157
|
+
};
|
|
164158
|
+
}
|
|
164159
|
+
/**
|
|
163449
164160
|
* Space of the shared interest
|
|
163450
164161
|
* @summary Patch Workspace entity
|
|
163451
164162
|
* @param {string} id
|
|
@@ -165909,7 +166620,93 @@ async function EntitiesApiAxiosParamCreator_UpdateEntityVisualizationObjects(wor
|
|
|
165909
166620
|
...headersFromBaseOptions,
|
|
165910
166621
|
...options.headers
|
|
165911
166622
|
};
|
|
165912
|
-
localVarRequestOptions.data = typeof jsonApiVisualizationObjectInDocument !== "string" || localVarRequestOptions.headers["Content-Type"] === "application/json" ? JSON.stringify(jsonApiVisualizationObjectInDocument !== void 0 ? jsonApiVisualizationObjectInDocument : {}) : jsonApiVisualizationObjectInDocument || "";
|
|
166623
|
+
localVarRequestOptions.data = typeof jsonApiVisualizationObjectInDocument !== "string" || localVarRequestOptions.headers["Content-Type"] === "application/json" ? JSON.stringify(jsonApiVisualizationObjectInDocument !== void 0 ? jsonApiVisualizationObjectInDocument : {}) : jsonApiVisualizationObjectInDocument || "";
|
|
166624
|
+
return {
|
|
166625
|
+
url: toPathString$7(localVarUrlObj),
|
|
166626
|
+
options: localVarRequestOptions
|
|
166627
|
+
};
|
|
166628
|
+
}
|
|
166629
|
+
/**
|
|
166630
|
+
*
|
|
166631
|
+
* @summary Put a Workspace Color Palette
|
|
166632
|
+
* @param {string} workspaceId
|
|
166633
|
+
* @param {string} objectId
|
|
166634
|
+
* @param {JsonApiWorkspaceColorPaletteInDocument} jsonApiWorkspaceColorPaletteInDocument
|
|
166635
|
+
* @param {string} [filter] Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title==\'Some Title\';description==\'desc\'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty==\'Value 123\').
|
|
166636
|
+
* @param {*} [options] Override http request option.
|
|
166637
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
166638
|
+
* @throws {RequiredError}
|
|
166639
|
+
*/
|
|
166640
|
+
async function EntitiesApiAxiosParamCreator_UpdateEntityWorkspaceColorPalettes(workspaceId, objectId, jsonApiWorkspaceColorPaletteInDocument, filter, options = {}, configuration) {
|
|
166641
|
+
assertParamExists$6("updateEntityWorkspaceColorPalettes", "workspaceId", workspaceId);
|
|
166642
|
+
assertParamExists$6("updateEntityWorkspaceColorPalettes", "objectId", objectId);
|
|
166643
|
+
assertParamExists$6("updateEntityWorkspaceColorPalettes", "jsonApiWorkspaceColorPaletteInDocument", jsonApiWorkspaceColorPaletteInDocument);
|
|
166644
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/workspaceColorPalettes/{objectId}`.replace(`{workspaceId}`, encodeURIComponent(String(workspaceId))).replace(`{objectId}`, encodeURIComponent(String(objectId)));
|
|
166645
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$7);
|
|
166646
|
+
let baseOptions;
|
|
166647
|
+
if (configuration) baseOptions = configuration.baseOptions;
|
|
166648
|
+
const localVarRequestOptions = {
|
|
166649
|
+
method: "PUT",
|
|
166650
|
+
...baseOptions,
|
|
166651
|
+
...options
|
|
166652
|
+
};
|
|
166653
|
+
const localVarHeaderParameter = {};
|
|
166654
|
+
const localVarQueryParameter = {};
|
|
166655
|
+
if (filter !== void 0) localVarQueryParameter["filter"] = filter;
|
|
166656
|
+
const consumes = ["application/json", "application/vnd.gooddata.api+json"];
|
|
166657
|
+
localVarHeaderParameter["Content-Type"] = consumes.includes("application/json") ? "application/json" : consumes[0];
|
|
166658
|
+
setSearchParams$7(localVarUrlObj, localVarQueryParameter);
|
|
166659
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
166660
|
+
localVarRequestOptions.headers = {
|
|
166661
|
+
...localVarHeaderParameter,
|
|
166662
|
+
...headersFromBaseOptions,
|
|
166663
|
+
...options.headers
|
|
166664
|
+
};
|
|
166665
|
+
localVarRequestOptions.data = typeof jsonApiWorkspaceColorPaletteInDocument !== "string" || localVarRequestOptions.headers["Content-Type"] === "application/json" ? JSON.stringify(jsonApiWorkspaceColorPaletteInDocument !== void 0 ? jsonApiWorkspaceColorPaletteInDocument : {}) : jsonApiWorkspaceColorPaletteInDocument || "";
|
|
166666
|
+
return {
|
|
166667
|
+
url: toPathString$7(localVarUrlObj),
|
|
166668
|
+
options: localVarRequestOptions
|
|
166669
|
+
};
|
|
166670
|
+
}
|
|
166671
|
+
/**
|
|
166672
|
+
*
|
|
166673
|
+
* @summary Put a Settings for Workspace Data Filter
|
|
166674
|
+
* @param {string} workspaceId
|
|
166675
|
+
* @param {string} objectId
|
|
166676
|
+
* @param {JsonApiWorkspaceDataFilterSettingInDocument} jsonApiWorkspaceDataFilterSettingInDocument
|
|
166677
|
+
* @param {string} [filter] Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title==\'Some Title\';description==\'desc\'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty==\'Value 123\').
|
|
166678
|
+
* @param {Array<'workspaceDataFilters' | 'workspaceDataFilter' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
|
|
166679
|
+
* @param {*} [options] Override http request option.
|
|
166680
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
166681
|
+
* @throws {RequiredError}
|
|
166682
|
+
*/
|
|
166683
|
+
async function EntitiesApiAxiosParamCreator_UpdateEntityWorkspaceDataFilterSettings(workspaceId, objectId, jsonApiWorkspaceDataFilterSettingInDocument, filter, include, options = {}, configuration) {
|
|
166684
|
+
assertParamExists$6("updateEntityWorkspaceDataFilterSettings", "workspaceId", workspaceId);
|
|
166685
|
+
assertParamExists$6("updateEntityWorkspaceDataFilterSettings", "objectId", objectId);
|
|
166686
|
+
assertParamExists$6("updateEntityWorkspaceDataFilterSettings", "jsonApiWorkspaceDataFilterSettingInDocument", jsonApiWorkspaceDataFilterSettingInDocument);
|
|
166687
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/workspaceDataFilterSettings/{objectId}`.replace(`{workspaceId}`, encodeURIComponent(String(workspaceId))).replace(`{objectId}`, encodeURIComponent(String(objectId)));
|
|
166688
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$7);
|
|
166689
|
+
let baseOptions;
|
|
166690
|
+
if (configuration) baseOptions = configuration.baseOptions;
|
|
166691
|
+
const localVarRequestOptions = {
|
|
166692
|
+
method: "PUT",
|
|
166693
|
+
...baseOptions,
|
|
166694
|
+
...options
|
|
166695
|
+
};
|
|
166696
|
+
const localVarHeaderParameter = {};
|
|
166697
|
+
const localVarQueryParameter = {};
|
|
166698
|
+
if (filter !== void 0) localVarQueryParameter["filter"] = filter;
|
|
166699
|
+
if (include) localVarQueryParameter["include"] = include.join(COLLECTION_FORMATS$1.csv);
|
|
166700
|
+
const consumes = ["application/vnd.gooddata.api+json", "application/json"];
|
|
166701
|
+
localVarHeaderParameter["Content-Type"] = consumes.includes("application/json") ? "application/json" : consumes[0];
|
|
166702
|
+
setSearchParams$7(localVarUrlObj, localVarQueryParameter);
|
|
166703
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
166704
|
+
localVarRequestOptions.headers = {
|
|
166705
|
+
...localVarHeaderParameter,
|
|
166706
|
+
...headersFromBaseOptions,
|
|
166707
|
+
...options.headers
|
|
166708
|
+
};
|
|
166709
|
+
localVarRequestOptions.data = typeof jsonApiWorkspaceDataFilterSettingInDocument !== "string" || localVarRequestOptions.headers["Content-Type"] === "application/json" ? JSON.stringify(jsonApiWorkspaceDataFilterSettingInDocument !== void 0 ? jsonApiWorkspaceDataFilterSettingInDocument : {}) : jsonApiWorkspaceDataFilterSettingInDocument || "";
|
|
165913
166710
|
return {
|
|
165914
166711
|
url: toPathString$7(localVarUrlObj),
|
|
165915
166712
|
options: localVarRequestOptions
|
|
@@ -165917,21 +166714,21 @@ async function EntitiesApiAxiosParamCreator_UpdateEntityVisualizationObjects(wor
|
|
|
165917
166714
|
}
|
|
165918
166715
|
/**
|
|
165919
166716
|
*
|
|
165920
|
-
* @summary Put a
|
|
166717
|
+
* @summary Put a Workspace Data Filter
|
|
165921
166718
|
* @param {string} workspaceId
|
|
165922
166719
|
* @param {string} objectId
|
|
165923
|
-
* @param {
|
|
166720
|
+
* @param {JsonApiWorkspaceDataFilterInDocument} jsonApiWorkspaceDataFilterInDocument
|
|
165924
166721
|
* @param {string} [filter] Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title==\'Some Title\';description==\'desc\'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty==\'Value 123\').
|
|
165925
|
-
* @param {Array<'
|
|
166722
|
+
* @param {Array<'workspaceDataFilterSettings' | 'filterSettings' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
|
|
165926
166723
|
* @param {*} [options] Override http request option.
|
|
165927
166724
|
* @param {Configuration} [configuration] Optional configuration.
|
|
165928
166725
|
* @throws {RequiredError}
|
|
165929
166726
|
*/
|
|
165930
|
-
async function
|
|
165931
|
-
assertParamExists$6("
|
|
165932
|
-
assertParamExists$6("
|
|
165933
|
-
assertParamExists$6("
|
|
165934
|
-
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/
|
|
166727
|
+
async function EntitiesApiAxiosParamCreator_UpdateEntityWorkspaceDataFilters(workspaceId, objectId, jsonApiWorkspaceDataFilterInDocument, filter, include, options = {}, configuration) {
|
|
166728
|
+
assertParamExists$6("updateEntityWorkspaceDataFilters", "workspaceId", workspaceId);
|
|
166729
|
+
assertParamExists$6("updateEntityWorkspaceDataFilters", "objectId", objectId);
|
|
166730
|
+
assertParamExists$6("updateEntityWorkspaceDataFilters", "jsonApiWorkspaceDataFilterInDocument", jsonApiWorkspaceDataFilterInDocument);
|
|
166731
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/workspaceDataFilters/{objectId}`.replace(`{workspaceId}`, encodeURIComponent(String(workspaceId))).replace(`{objectId}`, encodeURIComponent(String(objectId)));
|
|
165935
166732
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$7);
|
|
165936
166733
|
let baseOptions;
|
|
165937
166734
|
if (configuration) baseOptions = configuration.baseOptions;
|
|
@@ -165953,7 +166750,7 @@ async function EntitiesApiAxiosParamCreator_UpdateEntityWorkspaceDataFilterSetti
|
|
|
165953
166750
|
...headersFromBaseOptions,
|
|
165954
166751
|
...options.headers
|
|
165955
166752
|
};
|
|
165956
|
-
localVarRequestOptions.data = typeof
|
|
166753
|
+
localVarRequestOptions.data = typeof jsonApiWorkspaceDataFilterInDocument !== "string" || localVarRequestOptions.headers["Content-Type"] === "application/json" ? JSON.stringify(jsonApiWorkspaceDataFilterInDocument !== void 0 ? jsonApiWorkspaceDataFilterInDocument : {}) : jsonApiWorkspaceDataFilterInDocument || "";
|
|
165957
166754
|
return {
|
|
165958
166755
|
url: toPathString$7(localVarUrlObj),
|
|
165959
166756
|
options: localVarRequestOptions
|
|
@@ -165961,21 +166758,20 @@ async function EntitiesApiAxiosParamCreator_UpdateEntityWorkspaceDataFilterSetti
|
|
|
165961
166758
|
}
|
|
165962
166759
|
/**
|
|
165963
166760
|
*
|
|
165964
|
-
* @summary Put a Workspace
|
|
166761
|
+
* @summary Put a Workspace Export Template
|
|
165965
166762
|
* @param {string} workspaceId
|
|
165966
166763
|
* @param {string} objectId
|
|
165967
|
-
* @param {
|
|
166764
|
+
* @param {JsonApiWorkspaceExportTemplateInDocument} jsonApiWorkspaceExportTemplateInDocument
|
|
165968
166765
|
* @param {string} [filter] Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title==\'Some Title\';description==\'desc\'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty==\'Value 123\').
|
|
165969
|
-
* @param {Array<'workspaceDataFilterSettings' | 'filterSettings' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
|
|
165970
166766
|
* @param {*} [options] Override http request option.
|
|
165971
166767
|
* @param {Configuration} [configuration] Optional configuration.
|
|
165972
166768
|
* @throws {RequiredError}
|
|
165973
166769
|
*/
|
|
165974
|
-
async function
|
|
165975
|
-
assertParamExists$6("
|
|
165976
|
-
assertParamExists$6("
|
|
165977
|
-
assertParamExists$6("
|
|
165978
|
-
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/
|
|
166770
|
+
async function EntitiesApiAxiosParamCreator_UpdateEntityWorkspaceExportTemplates(workspaceId, objectId, jsonApiWorkspaceExportTemplateInDocument, filter, options = {}, configuration) {
|
|
166771
|
+
assertParamExists$6("updateEntityWorkspaceExportTemplates", "workspaceId", workspaceId);
|
|
166772
|
+
assertParamExists$6("updateEntityWorkspaceExportTemplates", "objectId", objectId);
|
|
166773
|
+
assertParamExists$6("updateEntityWorkspaceExportTemplates", "jsonApiWorkspaceExportTemplateInDocument", jsonApiWorkspaceExportTemplateInDocument);
|
|
166774
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/workspaceExportTemplates/{objectId}`.replace(`{workspaceId}`, encodeURIComponent(String(workspaceId))).replace(`{objectId}`, encodeURIComponent(String(objectId)));
|
|
165979
166775
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$7);
|
|
165980
166776
|
let baseOptions;
|
|
165981
166777
|
if (configuration) baseOptions = configuration.baseOptions;
|
|
@@ -165987,7 +166783,6 @@ async function EntitiesApiAxiosParamCreator_UpdateEntityWorkspaceDataFilters(wor
|
|
|
165987
166783
|
const localVarHeaderParameter = {};
|
|
165988
166784
|
const localVarQueryParameter = {};
|
|
165989
166785
|
if (filter !== void 0) localVarQueryParameter["filter"] = filter;
|
|
165990
|
-
if (include) localVarQueryParameter["include"] = include.join(COLLECTION_FORMATS$1.csv);
|
|
165991
166786
|
const consumes = ["application/vnd.gooddata.api+json", "application/json"];
|
|
165992
166787
|
localVarHeaderParameter["Content-Type"] = consumes.includes("application/json") ? "application/json" : consumes[0];
|
|
165993
166788
|
setSearchParams$7(localVarUrlObj, localVarQueryParameter);
|
|
@@ -165997,7 +166792,7 @@ async function EntitiesApiAxiosParamCreator_UpdateEntityWorkspaceDataFilters(wor
|
|
|
165997
166792
|
...headersFromBaseOptions,
|
|
165998
166793
|
...options.headers
|
|
165999
166794
|
};
|
|
166000
|
-
localVarRequestOptions.data = typeof
|
|
166795
|
+
localVarRequestOptions.data = typeof jsonApiWorkspaceExportTemplateInDocument !== "string" || localVarRequestOptions.headers["Content-Type"] === "application/json" ? JSON.stringify(jsonApiWorkspaceExportTemplateInDocument !== void 0 ? jsonApiWorkspaceExportTemplateInDocument : {}) : jsonApiWorkspaceExportTemplateInDocument || "";
|
|
166001
166796
|
return {
|
|
166002
166797
|
url: toPathString$7(localVarUrlObj),
|
|
166003
166798
|
options: localVarRequestOptions
|
|
@@ -166005,20 +166800,20 @@ async function EntitiesApiAxiosParamCreator_UpdateEntityWorkspaceDataFilters(wor
|
|
|
166005
166800
|
}
|
|
166006
166801
|
/**
|
|
166007
166802
|
*
|
|
166008
|
-
* @summary Put a
|
|
166803
|
+
* @summary Put a Setting for a Workspace
|
|
166009
166804
|
* @param {string} workspaceId
|
|
166010
166805
|
* @param {string} objectId
|
|
166011
|
-
* @param {
|
|
166806
|
+
* @param {JsonApiWorkspaceSettingInDocument} jsonApiWorkspaceSettingInDocument
|
|
166012
166807
|
* @param {string} [filter] Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title==\'Some Title\';description==\'desc\'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty==\'Value 123\').
|
|
166013
166808
|
* @param {*} [options] Override http request option.
|
|
166014
166809
|
* @param {Configuration} [configuration] Optional configuration.
|
|
166015
166810
|
* @throws {RequiredError}
|
|
166016
166811
|
*/
|
|
166017
|
-
async function
|
|
166018
|
-
assertParamExists$6("
|
|
166019
|
-
assertParamExists$6("
|
|
166020
|
-
assertParamExists$6("
|
|
166021
|
-
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/
|
|
166812
|
+
async function EntitiesApiAxiosParamCreator_UpdateEntityWorkspaceSettings(workspaceId, objectId, jsonApiWorkspaceSettingInDocument, filter, options = {}, configuration) {
|
|
166813
|
+
assertParamExists$6("updateEntityWorkspaceSettings", "workspaceId", workspaceId);
|
|
166814
|
+
assertParamExists$6("updateEntityWorkspaceSettings", "objectId", objectId);
|
|
166815
|
+
assertParamExists$6("updateEntityWorkspaceSettings", "jsonApiWorkspaceSettingInDocument", jsonApiWorkspaceSettingInDocument);
|
|
166816
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/workspaceSettings/{objectId}`.replace(`{workspaceId}`, encodeURIComponent(String(workspaceId))).replace(`{objectId}`, encodeURIComponent(String(objectId)));
|
|
166022
166817
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$7);
|
|
166023
166818
|
let baseOptions;
|
|
166024
166819
|
if (configuration) baseOptions = configuration.baseOptions;
|
|
@@ -166039,7 +166834,7 @@ async function EntitiesApiAxiosParamCreator_UpdateEntityWorkspaceExportTemplates
|
|
|
166039
166834
|
...headersFromBaseOptions,
|
|
166040
166835
|
...options.headers
|
|
166041
166836
|
};
|
|
166042
|
-
localVarRequestOptions.data = typeof
|
|
166837
|
+
localVarRequestOptions.data = typeof jsonApiWorkspaceSettingInDocument !== "string" || localVarRequestOptions.headers["Content-Type"] === "application/json" ? JSON.stringify(jsonApiWorkspaceSettingInDocument !== void 0 ? jsonApiWorkspaceSettingInDocument : {}) : jsonApiWorkspaceSettingInDocument || "";
|
|
166043
166838
|
return {
|
|
166044
166839
|
url: toPathString$7(localVarUrlObj),
|
|
166045
166840
|
options: localVarRequestOptions
|
|
@@ -166047,20 +166842,20 @@ async function EntitiesApiAxiosParamCreator_UpdateEntityWorkspaceExportTemplates
|
|
|
166047
166842
|
}
|
|
166048
166843
|
/**
|
|
166049
166844
|
*
|
|
166050
|
-
* @summary Put a
|
|
166845
|
+
* @summary Put a Workspace Theme
|
|
166051
166846
|
* @param {string} workspaceId
|
|
166052
166847
|
* @param {string} objectId
|
|
166053
|
-
* @param {
|
|
166848
|
+
* @param {JsonApiWorkspaceThemeInDocument} jsonApiWorkspaceThemeInDocument
|
|
166054
166849
|
* @param {string} [filter] Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title==\'Some Title\';description==\'desc\'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty==\'Value 123\').
|
|
166055
166850
|
* @param {*} [options] Override http request option.
|
|
166056
166851
|
* @param {Configuration} [configuration] Optional configuration.
|
|
166057
166852
|
* @throws {RequiredError}
|
|
166058
166853
|
*/
|
|
166059
|
-
async function
|
|
166060
|
-
assertParamExists$6("
|
|
166061
|
-
assertParamExists$6("
|
|
166062
|
-
assertParamExists$6("
|
|
166063
|
-
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/
|
|
166854
|
+
async function EntitiesApiAxiosParamCreator_UpdateEntityWorkspaceThemes(workspaceId, objectId, jsonApiWorkspaceThemeInDocument, filter, options = {}, configuration) {
|
|
166855
|
+
assertParamExists$6("updateEntityWorkspaceThemes", "workspaceId", workspaceId);
|
|
166856
|
+
assertParamExists$6("updateEntityWorkspaceThemes", "objectId", objectId);
|
|
166857
|
+
assertParamExists$6("updateEntityWorkspaceThemes", "jsonApiWorkspaceThemeInDocument", jsonApiWorkspaceThemeInDocument);
|
|
166858
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/workspaceThemes/{objectId}`.replace(`{workspaceId}`, encodeURIComponent(String(workspaceId))).replace(`{objectId}`, encodeURIComponent(String(objectId)));
|
|
166064
166859
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$7);
|
|
166065
166860
|
let baseOptions;
|
|
166066
166861
|
if (configuration) baseOptions = configuration.baseOptions;
|
|
@@ -166072,7 +166867,7 @@ async function EntitiesApiAxiosParamCreator_UpdateEntityWorkspaceSettings(worksp
|
|
|
166072
166867
|
const localVarHeaderParameter = {};
|
|
166073
166868
|
const localVarQueryParameter = {};
|
|
166074
166869
|
if (filter !== void 0) localVarQueryParameter["filter"] = filter;
|
|
166075
|
-
const consumes = ["application/
|
|
166870
|
+
const consumes = ["application/json", "application/vnd.gooddata.api+json"];
|
|
166076
166871
|
localVarHeaderParameter["Content-Type"] = consumes.includes("application/json") ? "application/json" : consumes[0];
|
|
166077
166872
|
setSearchParams$7(localVarUrlObj, localVarQueryParameter);
|
|
166078
166873
|
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
@@ -166081,7 +166876,7 @@ async function EntitiesApiAxiosParamCreator_UpdateEntityWorkspaceSettings(worksp
|
|
|
166081
166876
|
...headersFromBaseOptions,
|
|
166082
166877
|
...options.headers
|
|
166083
166878
|
};
|
|
166084
|
-
localVarRequestOptions.data = typeof
|
|
166879
|
+
localVarRequestOptions.data = typeof jsonApiWorkspaceThemeInDocument !== "string" || localVarRequestOptions.headers["Content-Type"] === "application/json" ? JSON.stringify(jsonApiWorkspaceThemeInDocument !== void 0 ? jsonApiWorkspaceThemeInDocument : {}) : jsonApiWorkspaceThemeInDocument || "";
|
|
166085
166880
|
return {
|
|
166086
166881
|
url: toPathString$7(localVarUrlObj),
|
|
166087
166882
|
options: localVarRequestOptions
|
|
@@ -166572,6 +167367,19 @@ async function EntitiesApi_CreateEntityVisualizationObjects(axios, basePath, req
|
|
|
166572
167367
|
}
|
|
166573
167368
|
/**
|
|
166574
167369
|
*
|
|
167370
|
+
* @summary Post Workspace Color Palette
|
|
167371
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
167372
|
+
* @param {string} basePath Base path.
|
|
167373
|
+
* @param {EntitiesApiCreateEntityWorkspaceColorPalettesRequest} requestParameters Request parameters.
|
|
167374
|
+
* @param {*} [options] Override http request option.
|
|
167375
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
167376
|
+
* @throws {RequiredError}
|
|
167377
|
+
*/
|
|
167378
|
+
async function EntitiesApi_CreateEntityWorkspaceColorPalettes(axios, basePath, requestParameters, options, configuration) {
|
|
167379
|
+
return createRequestFunction$7(await EntitiesApiAxiosParamCreator_CreateEntityWorkspaceColorPalettes(requestParameters.workspaceId, requestParameters.jsonApiWorkspaceColorPaletteInDocument, requestParameters.metaInclude, options || {}, configuration), axios$1, BASE_PATH$7, configuration)(axios, basePath);
|
|
167380
|
+
}
|
|
167381
|
+
/**
|
|
167382
|
+
*
|
|
166575
167383
|
* @summary Post Settings for Workspace Data Filters
|
|
166576
167384
|
* @param {AxiosInstance} axios Axios instance.
|
|
166577
167385
|
* @param {string} basePath Base path.
|
|
@@ -166623,6 +167431,19 @@ async function EntitiesApi_CreateEntityWorkspaceSettings(axios, basePath, reques
|
|
|
166623
167431
|
return createRequestFunction$7(await EntitiesApiAxiosParamCreator_CreateEntityWorkspaceSettings(requestParameters.workspaceId, requestParameters.jsonApiWorkspaceSettingPostOptionalIdDocument, requestParameters.metaInclude, options || {}, configuration), axios$1, BASE_PATH$7, configuration)(axios, basePath);
|
|
166624
167432
|
}
|
|
166625
167433
|
/**
|
|
167434
|
+
*
|
|
167435
|
+
* @summary Post Workspace Theme
|
|
167436
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
167437
|
+
* @param {string} basePath Base path.
|
|
167438
|
+
* @param {EntitiesApiCreateEntityWorkspaceThemesRequest} requestParameters Request parameters.
|
|
167439
|
+
* @param {*} [options] Override http request option.
|
|
167440
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
167441
|
+
* @throws {RequiredError}
|
|
167442
|
+
*/
|
|
167443
|
+
async function EntitiesApi_CreateEntityWorkspaceThemes(axios, basePath, requestParameters, options, configuration) {
|
|
167444
|
+
return createRequestFunction$7(await EntitiesApiAxiosParamCreator_CreateEntityWorkspaceThemes(requestParameters.workspaceId, requestParameters.jsonApiWorkspaceThemeInDocument, requestParameters.metaInclude, options || {}, configuration), axios$1, BASE_PATH$7, configuration)(axios, basePath);
|
|
167445
|
+
}
|
|
167446
|
+
/**
|
|
166626
167447
|
* Space of the shared interest
|
|
166627
167448
|
* @summary Post Workspace entities
|
|
166628
167449
|
* @param {AxiosInstance} axios Axios instance.
|
|
@@ -167079,6 +167900,19 @@ async function EntitiesApi_DeleteEntityVisualizationObjects(axios, basePath, req
|
|
|
167079
167900
|
}
|
|
167080
167901
|
/**
|
|
167081
167902
|
*
|
|
167903
|
+
* @summary Delete a Workspace Color Palette
|
|
167904
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
167905
|
+
* @param {string} basePath Base path.
|
|
167906
|
+
* @param {EntitiesApiDeleteEntityWorkspaceColorPalettesRequest} requestParameters Request parameters.
|
|
167907
|
+
* @param {*} [options] Override http request option.
|
|
167908
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
167909
|
+
* @throws {RequiredError}
|
|
167910
|
+
*/
|
|
167911
|
+
async function EntitiesApi_DeleteEntityWorkspaceColorPalettes(axios, basePath, requestParameters, options, configuration) {
|
|
167912
|
+
return createRequestFunction$7(await EntitiesApiAxiosParamCreator_DeleteEntityWorkspaceColorPalettes(requestParameters.workspaceId, requestParameters.objectId, options || {}, configuration), axios$1, BASE_PATH$7, configuration)(axios, basePath);
|
|
167913
|
+
}
|
|
167914
|
+
/**
|
|
167915
|
+
*
|
|
167082
167916
|
* @summary Delete a Settings for Workspace Data Filter
|
|
167083
167917
|
* @param {AxiosInstance} axios Axios instance.
|
|
167084
167918
|
* @param {string} basePath Base path.
|
|
@@ -167130,6 +167964,19 @@ async function EntitiesApi_DeleteEntityWorkspaceSettings(axios, basePath, reques
|
|
|
167130
167964
|
return createRequestFunction$7(await EntitiesApiAxiosParamCreator_DeleteEntityWorkspaceSettings(requestParameters.workspaceId, requestParameters.objectId, options || {}, configuration), axios$1, BASE_PATH$7, configuration)(axios, basePath);
|
|
167131
167965
|
}
|
|
167132
167966
|
/**
|
|
167967
|
+
*
|
|
167968
|
+
* @summary Delete a Workspace Theme
|
|
167969
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
167970
|
+
* @param {string} basePath Base path.
|
|
167971
|
+
* @param {EntitiesApiDeleteEntityWorkspaceThemesRequest} requestParameters Request parameters.
|
|
167972
|
+
* @param {*} [options] Override http request option.
|
|
167973
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
167974
|
+
* @throws {RequiredError}
|
|
167975
|
+
*/
|
|
167976
|
+
async function EntitiesApi_DeleteEntityWorkspaceThemes(axios, basePath, requestParameters, options, configuration) {
|
|
167977
|
+
return createRequestFunction$7(await EntitiesApiAxiosParamCreator_DeleteEntityWorkspaceThemes(requestParameters.workspaceId, requestParameters.objectId, options || {}, configuration), axios$1, BASE_PATH$7, configuration)(axios, basePath);
|
|
167978
|
+
}
|
|
167979
|
+
/**
|
|
167133
167980
|
* Space of the shared interest
|
|
167134
167981
|
* @summary Delete Workspace entity
|
|
167135
167982
|
* @param {AxiosInstance} axios Axios instance.
|
|
@@ -167715,6 +168562,19 @@ async function EntitiesApi_GetAllEntitiesVisualizationObjects(axios, basePath, r
|
|
|
167715
168562
|
}
|
|
167716
168563
|
/**
|
|
167717
168564
|
*
|
|
168565
|
+
* @summary Get all Workspace Color Palettes
|
|
168566
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
168567
|
+
* @param {string} basePath Base path.
|
|
168568
|
+
* @param {EntitiesApiGetAllEntitiesWorkspaceColorPalettesRequest} requestParameters Request parameters.
|
|
168569
|
+
* @param {*} [options] Override http request option.
|
|
168570
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
168571
|
+
* @throws {RequiredError}
|
|
168572
|
+
*/
|
|
168573
|
+
async function EntitiesApi_GetAllEntitiesWorkspaceColorPalettes(axios, basePath, requestParameters, options, configuration) {
|
|
168574
|
+
return createRequestFunction$7(await EntitiesApiAxiosParamCreator_GetAllEntitiesWorkspaceColorPalettes(requestParameters.workspaceId, requestParameters.origin, requestParameters.filter, requestParameters.page, requestParameters.size, requestParameters.sort, requestParameters.xGDCVALIDATERELATIONS, requestParameters.metaInclude, options || {}, configuration), axios$1, BASE_PATH$7, configuration)(axios, basePath);
|
|
168575
|
+
}
|
|
168576
|
+
/**
|
|
168577
|
+
*
|
|
167718
168578
|
* @summary Get all Settings for Workspace Data Filters
|
|
167719
168579
|
* @param {AxiosInstance} axios Axios instance.
|
|
167720
168580
|
* @param {string} basePath Base path.
|
|
@@ -167766,6 +168626,19 @@ async function EntitiesApi_GetAllEntitiesWorkspaceSettings(axios, basePath, requ
|
|
|
167766
168626
|
return createRequestFunction$7(await EntitiesApiAxiosParamCreator_GetAllEntitiesWorkspaceSettings(requestParameters.workspaceId, requestParameters.origin, requestParameters.filter, requestParameters.page, requestParameters.size, requestParameters.sort, requestParameters.xGDCVALIDATERELATIONS, requestParameters.metaInclude, options || {}, configuration), axios$1, BASE_PATH$7, configuration)(axios, basePath);
|
|
167767
168627
|
}
|
|
167768
168628
|
/**
|
|
168629
|
+
*
|
|
168630
|
+
* @summary Get all Workspace Themes
|
|
168631
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
168632
|
+
* @param {string} basePath Base path.
|
|
168633
|
+
* @param {EntitiesApiGetAllEntitiesWorkspaceThemesRequest} requestParameters Request parameters.
|
|
168634
|
+
* @param {*} [options] Override http request option.
|
|
168635
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
168636
|
+
* @throws {RequiredError}
|
|
168637
|
+
*/
|
|
168638
|
+
async function EntitiesApi_GetAllEntitiesWorkspaceThemes(axios, basePath, requestParameters, options, configuration) {
|
|
168639
|
+
return createRequestFunction$7(await EntitiesApiAxiosParamCreator_GetAllEntitiesWorkspaceThemes(requestParameters.workspaceId, requestParameters.origin, requestParameters.filter, requestParameters.page, requestParameters.size, requestParameters.sort, requestParameters.xGDCVALIDATERELATIONS, requestParameters.metaInclude, options || {}, configuration), axios$1, BASE_PATH$7, configuration)(axios, basePath);
|
|
168640
|
+
}
|
|
168641
|
+
/**
|
|
167769
168642
|
* Space of the shared interest
|
|
167770
168643
|
* @summary Get Workspace entities
|
|
167771
168644
|
* @param {AxiosInstance} axios Axios instance.
|
|
@@ -168389,6 +169262,19 @@ async function EntitiesApi_GetEntityVisualizationObjects(axios, basePath, reques
|
|
|
168389
169262
|
}
|
|
168390
169263
|
/**
|
|
168391
169264
|
*
|
|
169265
|
+
* @summary Get a Workspace Color Palette
|
|
169266
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
169267
|
+
* @param {string} basePath Base path.
|
|
169268
|
+
* @param {EntitiesApiGetEntityWorkspaceColorPalettesRequest} requestParameters Request parameters.
|
|
169269
|
+
* @param {*} [options] Override http request option.
|
|
169270
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
169271
|
+
* @throws {RequiredError}
|
|
169272
|
+
*/
|
|
169273
|
+
async function EntitiesApi_GetEntityWorkspaceColorPalettes(axios, basePath, requestParameters, options, configuration) {
|
|
169274
|
+
return createRequestFunction$7(await EntitiesApiAxiosParamCreator_GetEntityWorkspaceColorPalettes(requestParameters.workspaceId, requestParameters.objectId, requestParameters.filter, requestParameters.xGDCVALIDATERELATIONS, requestParameters.metaInclude, options || {}, configuration), axios$1, BASE_PATH$7, configuration)(axios, basePath);
|
|
169275
|
+
}
|
|
169276
|
+
/**
|
|
169277
|
+
*
|
|
168392
169278
|
* @summary Get a Setting for Workspace Data Filter
|
|
168393
169279
|
* @param {AxiosInstance} axios Axios instance.
|
|
168394
169280
|
* @param {string} basePath Base path.
|
|
@@ -168440,6 +169326,19 @@ async function EntitiesApi_GetEntityWorkspaceSettings(axios, basePath, requestPa
|
|
|
168440
169326
|
return createRequestFunction$7(await EntitiesApiAxiosParamCreator_GetEntityWorkspaceSettings(requestParameters.workspaceId, requestParameters.objectId, requestParameters.filter, requestParameters.xGDCVALIDATERELATIONS, requestParameters.metaInclude, options || {}, configuration), axios$1, BASE_PATH$7, configuration)(axios, basePath);
|
|
168441
169327
|
}
|
|
168442
169328
|
/**
|
|
169329
|
+
*
|
|
169330
|
+
* @summary Get a Workspace Theme
|
|
169331
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
169332
|
+
* @param {string} basePath Base path.
|
|
169333
|
+
* @param {EntitiesApiGetEntityWorkspaceThemesRequest} requestParameters Request parameters.
|
|
169334
|
+
* @param {*} [options] Override http request option.
|
|
169335
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
169336
|
+
* @throws {RequiredError}
|
|
169337
|
+
*/
|
|
169338
|
+
async function EntitiesApi_GetEntityWorkspaceThemes(axios, basePath, requestParameters, options, configuration) {
|
|
169339
|
+
return createRequestFunction$7(await EntitiesApiAxiosParamCreator_GetEntityWorkspaceThemes(requestParameters.workspaceId, requestParameters.objectId, requestParameters.filter, requestParameters.xGDCVALIDATERELATIONS, requestParameters.metaInclude, options || {}, configuration), axios$1, BASE_PATH$7, configuration)(axios, basePath);
|
|
169340
|
+
}
|
|
169341
|
+
/**
|
|
168443
169342
|
* Space of the shared interest
|
|
168444
169343
|
* @summary Get Workspace entity
|
|
168445
169344
|
* @param {AxiosInstance} axios Axios instance.
|
|
@@ -168935,6 +169834,19 @@ async function EntitiesApi_PatchEntityVisualizationObjects(axios, basePath, requ
|
|
|
168935
169834
|
}
|
|
168936
169835
|
/**
|
|
168937
169836
|
*
|
|
169837
|
+
* @summary Patch a Workspace Color Palette
|
|
169838
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
169839
|
+
* @param {string} basePath Base path.
|
|
169840
|
+
* @param {EntitiesApiPatchEntityWorkspaceColorPalettesRequest} requestParameters Request parameters.
|
|
169841
|
+
* @param {*} [options] Override http request option.
|
|
169842
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
169843
|
+
* @throws {RequiredError}
|
|
169844
|
+
*/
|
|
169845
|
+
async function EntitiesApi_PatchEntityWorkspaceColorPalettes(axios, basePath, requestParameters, options, configuration) {
|
|
169846
|
+
return createRequestFunction$7(await EntitiesApiAxiosParamCreator_PatchEntityWorkspaceColorPalettes(requestParameters.workspaceId, requestParameters.objectId, requestParameters.jsonApiWorkspaceColorPalettePatchDocument, requestParameters.filter, options || {}, configuration), axios$1, BASE_PATH$7, configuration)(axios, basePath);
|
|
169847
|
+
}
|
|
169848
|
+
/**
|
|
169849
|
+
*
|
|
168938
169850
|
* @summary Patch a Settings for Workspace Data Filter
|
|
168939
169851
|
* @param {AxiosInstance} axios Axios instance.
|
|
168940
169852
|
* @param {string} basePath Base path.
|
|
@@ -168986,6 +169898,19 @@ async function EntitiesApi_PatchEntityWorkspaceSettings(axios, basePath, request
|
|
|
168986
169898
|
return createRequestFunction$7(await EntitiesApiAxiosParamCreator_PatchEntityWorkspaceSettings(requestParameters.workspaceId, requestParameters.objectId, requestParameters.jsonApiWorkspaceSettingPatchDocument, requestParameters.filter, options || {}, configuration), axios$1, BASE_PATH$7, configuration)(axios, basePath);
|
|
168987
169899
|
}
|
|
168988
169900
|
/**
|
|
169901
|
+
*
|
|
169902
|
+
* @summary Patch a Workspace Theme
|
|
169903
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
169904
|
+
* @param {string} basePath Base path.
|
|
169905
|
+
* @param {EntitiesApiPatchEntityWorkspaceThemesRequest} requestParameters Request parameters.
|
|
169906
|
+
* @param {*} [options] Override http request option.
|
|
169907
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
169908
|
+
* @throws {RequiredError}
|
|
169909
|
+
*/
|
|
169910
|
+
async function EntitiesApi_PatchEntityWorkspaceThemes(axios, basePath, requestParameters, options, configuration) {
|
|
169911
|
+
return createRequestFunction$7(await EntitiesApiAxiosParamCreator_PatchEntityWorkspaceThemes(requestParameters.workspaceId, requestParameters.objectId, requestParameters.jsonApiWorkspaceThemePatchDocument, requestParameters.filter, options || {}, configuration), axios$1, BASE_PATH$7, configuration)(axios, basePath);
|
|
169912
|
+
}
|
|
169913
|
+
/**
|
|
168989
169914
|
* Space of the shared interest
|
|
168990
169915
|
* @summary Patch Workspace entity
|
|
168991
169916
|
* @param {AxiosInstance} axios Axios instance.
|
|
@@ -169754,6 +170679,19 @@ async function EntitiesApi_UpdateEntityVisualizationObjects(axios, basePath, req
|
|
|
169754
170679
|
}
|
|
169755
170680
|
/**
|
|
169756
170681
|
*
|
|
170682
|
+
* @summary Put a Workspace Color Palette
|
|
170683
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
170684
|
+
* @param {string} basePath Base path.
|
|
170685
|
+
* @param {EntitiesApiUpdateEntityWorkspaceColorPalettesRequest} requestParameters Request parameters.
|
|
170686
|
+
* @param {*} [options] Override http request option.
|
|
170687
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
170688
|
+
* @throws {RequiredError}
|
|
170689
|
+
*/
|
|
170690
|
+
async function EntitiesApi_UpdateEntityWorkspaceColorPalettes(axios, basePath, requestParameters, options, configuration) {
|
|
170691
|
+
return createRequestFunction$7(await EntitiesApiAxiosParamCreator_UpdateEntityWorkspaceColorPalettes(requestParameters.workspaceId, requestParameters.objectId, requestParameters.jsonApiWorkspaceColorPaletteInDocument, requestParameters.filter, options || {}, configuration), axios$1, BASE_PATH$7, configuration)(axios, basePath);
|
|
170692
|
+
}
|
|
170693
|
+
/**
|
|
170694
|
+
*
|
|
169757
170695
|
* @summary Put a Settings for Workspace Data Filter
|
|
169758
170696
|
* @param {AxiosInstance} axios Axios instance.
|
|
169759
170697
|
* @param {string} basePath Base path.
|
|
@@ -169805,6 +170743,19 @@ async function EntitiesApi_UpdateEntityWorkspaceSettings(axios, basePath, reques
|
|
|
169805
170743
|
return createRequestFunction$7(await EntitiesApiAxiosParamCreator_UpdateEntityWorkspaceSettings(requestParameters.workspaceId, requestParameters.objectId, requestParameters.jsonApiWorkspaceSettingInDocument, requestParameters.filter, options || {}, configuration), axios$1, BASE_PATH$7, configuration)(axios, basePath);
|
|
169806
170744
|
}
|
|
169807
170745
|
/**
|
|
170746
|
+
*
|
|
170747
|
+
* @summary Put a Workspace Theme
|
|
170748
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
170749
|
+
* @param {string} basePath Base path.
|
|
170750
|
+
* @param {EntitiesApiUpdateEntityWorkspaceThemesRequest} requestParameters Request parameters.
|
|
170751
|
+
* @param {*} [options] Override http request option.
|
|
170752
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
170753
|
+
* @throws {RequiredError}
|
|
170754
|
+
*/
|
|
170755
|
+
async function EntitiesApi_UpdateEntityWorkspaceThemes(axios, basePath, requestParameters, options, configuration) {
|
|
170756
|
+
return createRequestFunction$7(await EntitiesApiAxiosParamCreator_UpdateEntityWorkspaceThemes(requestParameters.workspaceId, requestParameters.objectId, requestParameters.jsonApiWorkspaceThemeInDocument, requestParameters.filter, options || {}, configuration), axios$1, BASE_PATH$7, configuration)(axios, basePath);
|
|
170757
|
+
}
|
|
170758
|
+
/**
|
|
169808
170759
|
* Space of the shared interest
|
|
169809
170760
|
* @summary Put Workspace entity
|
|
169810
170761
|
* @param {AxiosInstance} axios Axios instance.
|
|
@@ -170200,6 +171151,17 @@ var EntitiesApi = class extends BaseAPI$7 {
|
|
|
170200
171151
|
}
|
|
170201
171152
|
/**
|
|
170202
171153
|
*
|
|
171154
|
+
* @summary Post Workspace Color Palette
|
|
171155
|
+
* @param {EntitiesApiCreateEntityWorkspaceColorPalettesRequest} requestParameters Request parameters.
|
|
171156
|
+
* @param {*} [options] Override http request option.
|
|
171157
|
+
* @throws {RequiredError}
|
|
171158
|
+
* @memberof EntitiesApi
|
|
171159
|
+
*/
|
|
171160
|
+
createEntityWorkspaceColorPalettes(requestParameters, options) {
|
|
171161
|
+
return EntitiesApi_CreateEntityWorkspaceColorPalettes(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
171162
|
+
}
|
|
171163
|
+
/**
|
|
171164
|
+
*
|
|
170203
171165
|
* @summary Post Settings for Workspace Data Filters
|
|
170204
171166
|
* @param {EntitiesApiCreateEntityWorkspaceDataFilterSettingsRequest} requestParameters Request parameters.
|
|
170205
171167
|
* @param {*} [options] Override http request option.
|
|
@@ -170243,6 +171205,17 @@ var EntitiesApi = class extends BaseAPI$7 {
|
|
|
170243
171205
|
return EntitiesApi_CreateEntityWorkspaceSettings(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
170244
171206
|
}
|
|
170245
171207
|
/**
|
|
171208
|
+
*
|
|
171209
|
+
* @summary Post Workspace Theme
|
|
171210
|
+
* @param {EntitiesApiCreateEntityWorkspaceThemesRequest} requestParameters Request parameters.
|
|
171211
|
+
* @param {*} [options] Override http request option.
|
|
171212
|
+
* @throws {RequiredError}
|
|
171213
|
+
* @memberof EntitiesApi
|
|
171214
|
+
*/
|
|
171215
|
+
createEntityWorkspaceThemes(requestParameters, options) {
|
|
171216
|
+
return EntitiesApi_CreateEntityWorkspaceThemes(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
171217
|
+
}
|
|
171218
|
+
/**
|
|
170246
171219
|
* Space of the shared interest
|
|
170247
171220
|
* @summary Post Workspace entities
|
|
170248
171221
|
* @param {EntitiesApiCreateEntityWorkspacesRequest} requestParameters Request parameters.
|
|
@@ -170630,6 +171603,17 @@ var EntitiesApi = class extends BaseAPI$7 {
|
|
|
170630
171603
|
}
|
|
170631
171604
|
/**
|
|
170632
171605
|
*
|
|
171606
|
+
* @summary Delete a Workspace Color Palette
|
|
171607
|
+
* @param {EntitiesApiDeleteEntityWorkspaceColorPalettesRequest} requestParameters Request parameters.
|
|
171608
|
+
* @param {*} [options] Override http request option.
|
|
171609
|
+
* @throws {RequiredError}
|
|
171610
|
+
* @memberof EntitiesApi
|
|
171611
|
+
*/
|
|
171612
|
+
deleteEntityWorkspaceColorPalettes(requestParameters, options) {
|
|
171613
|
+
return EntitiesApi_DeleteEntityWorkspaceColorPalettes(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
171614
|
+
}
|
|
171615
|
+
/**
|
|
171616
|
+
*
|
|
170633
171617
|
* @summary Delete a Settings for Workspace Data Filter
|
|
170634
171618
|
* @param {EntitiesApiDeleteEntityWorkspaceDataFilterSettingsRequest} requestParameters Request parameters.
|
|
170635
171619
|
* @param {*} [options] Override http request option.
|
|
@@ -170673,6 +171657,17 @@ var EntitiesApi = class extends BaseAPI$7 {
|
|
|
170673
171657
|
return EntitiesApi_DeleteEntityWorkspaceSettings(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
170674
171658
|
}
|
|
170675
171659
|
/**
|
|
171660
|
+
*
|
|
171661
|
+
* @summary Delete a Workspace Theme
|
|
171662
|
+
* @param {EntitiesApiDeleteEntityWorkspaceThemesRequest} requestParameters Request parameters.
|
|
171663
|
+
* @param {*} [options] Override http request option.
|
|
171664
|
+
* @throws {RequiredError}
|
|
171665
|
+
* @memberof EntitiesApi
|
|
171666
|
+
*/
|
|
171667
|
+
deleteEntityWorkspaceThemes(requestParameters, options) {
|
|
171668
|
+
return EntitiesApi_DeleteEntityWorkspaceThemes(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
171669
|
+
}
|
|
171670
|
+
/**
|
|
170676
171671
|
* Space of the shared interest
|
|
170677
171672
|
* @summary Delete Workspace entity
|
|
170678
171673
|
* @param {EntitiesApiDeleteEntityWorkspacesRequest} requestParameters Request parameters.
|
|
@@ -171169,6 +172164,17 @@ var EntitiesApi = class extends BaseAPI$7 {
|
|
|
171169
172164
|
}
|
|
171170
172165
|
/**
|
|
171171
172166
|
*
|
|
172167
|
+
* @summary Get all Workspace Color Palettes
|
|
172168
|
+
* @param {EntitiesApiGetAllEntitiesWorkspaceColorPalettesRequest} requestParameters Request parameters.
|
|
172169
|
+
* @param {*} [options] Override http request option.
|
|
172170
|
+
* @throws {RequiredError}
|
|
172171
|
+
* @memberof EntitiesApi
|
|
172172
|
+
*/
|
|
172173
|
+
getAllEntitiesWorkspaceColorPalettes(requestParameters, options) {
|
|
172174
|
+
return EntitiesApi_GetAllEntitiesWorkspaceColorPalettes(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
172175
|
+
}
|
|
172176
|
+
/**
|
|
172177
|
+
*
|
|
171172
172178
|
* @summary Get all Settings for Workspace Data Filters
|
|
171173
172179
|
* @param {EntitiesApiGetAllEntitiesWorkspaceDataFilterSettingsRequest} requestParameters Request parameters.
|
|
171174
172180
|
* @param {*} [options] Override http request option.
|
|
@@ -171212,6 +172218,17 @@ var EntitiesApi = class extends BaseAPI$7 {
|
|
|
171212
172218
|
return EntitiesApi_GetAllEntitiesWorkspaceSettings(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
171213
172219
|
}
|
|
171214
172220
|
/**
|
|
172221
|
+
*
|
|
172222
|
+
* @summary Get all Workspace Themes
|
|
172223
|
+
* @param {EntitiesApiGetAllEntitiesWorkspaceThemesRequest} requestParameters Request parameters.
|
|
172224
|
+
* @param {*} [options] Override http request option.
|
|
172225
|
+
* @throws {RequiredError}
|
|
172226
|
+
* @memberof EntitiesApi
|
|
172227
|
+
*/
|
|
172228
|
+
getAllEntitiesWorkspaceThemes(requestParameters, options) {
|
|
172229
|
+
return EntitiesApi_GetAllEntitiesWorkspaceThemes(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
172230
|
+
}
|
|
172231
|
+
/**
|
|
171215
172232
|
* Space of the shared interest
|
|
171216
172233
|
* @summary Get Workspace entities
|
|
171217
172234
|
* @param {EntitiesApiGetAllEntitiesWorkspacesRequest} requestParameters Request parameters.
|
|
@@ -171740,6 +172757,17 @@ var EntitiesApi = class extends BaseAPI$7 {
|
|
|
171740
172757
|
}
|
|
171741
172758
|
/**
|
|
171742
172759
|
*
|
|
172760
|
+
* @summary Get a Workspace Color Palette
|
|
172761
|
+
* @param {EntitiesApiGetEntityWorkspaceColorPalettesRequest} requestParameters Request parameters.
|
|
172762
|
+
* @param {*} [options] Override http request option.
|
|
172763
|
+
* @throws {RequiredError}
|
|
172764
|
+
* @memberof EntitiesApi
|
|
172765
|
+
*/
|
|
172766
|
+
getEntityWorkspaceColorPalettes(requestParameters, options) {
|
|
172767
|
+
return EntitiesApi_GetEntityWorkspaceColorPalettes(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
172768
|
+
}
|
|
172769
|
+
/**
|
|
172770
|
+
*
|
|
171743
172771
|
* @summary Get a Setting for Workspace Data Filter
|
|
171744
172772
|
* @param {EntitiesApiGetEntityWorkspaceDataFilterSettingsRequest} requestParameters Request parameters.
|
|
171745
172773
|
* @param {*} [options] Override http request option.
|
|
@@ -171783,6 +172811,17 @@ var EntitiesApi = class extends BaseAPI$7 {
|
|
|
171783
172811
|
return EntitiesApi_GetEntityWorkspaceSettings(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
171784
172812
|
}
|
|
171785
172813
|
/**
|
|
172814
|
+
*
|
|
172815
|
+
* @summary Get a Workspace Theme
|
|
172816
|
+
* @param {EntitiesApiGetEntityWorkspaceThemesRequest} requestParameters Request parameters.
|
|
172817
|
+
* @param {*} [options] Override http request option.
|
|
172818
|
+
* @throws {RequiredError}
|
|
172819
|
+
* @memberof EntitiesApi
|
|
172820
|
+
*/
|
|
172821
|
+
getEntityWorkspaceThemes(requestParameters, options) {
|
|
172822
|
+
return EntitiesApi_GetEntityWorkspaceThemes(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
172823
|
+
}
|
|
172824
|
+
/**
|
|
171786
172825
|
* Space of the shared interest
|
|
171787
172826
|
* @summary Get Workspace entity
|
|
171788
172827
|
* @param {EntitiesApiGetEntityWorkspacesRequest} requestParameters Request parameters.
|
|
@@ -172203,6 +173242,17 @@ var EntitiesApi = class extends BaseAPI$7 {
|
|
|
172203
173242
|
}
|
|
172204
173243
|
/**
|
|
172205
173244
|
*
|
|
173245
|
+
* @summary Patch a Workspace Color Palette
|
|
173246
|
+
* @param {EntitiesApiPatchEntityWorkspaceColorPalettesRequest} requestParameters Request parameters.
|
|
173247
|
+
* @param {*} [options] Override http request option.
|
|
173248
|
+
* @throws {RequiredError}
|
|
173249
|
+
* @memberof EntitiesApi
|
|
173250
|
+
*/
|
|
173251
|
+
patchEntityWorkspaceColorPalettes(requestParameters, options) {
|
|
173252
|
+
return EntitiesApi_PatchEntityWorkspaceColorPalettes(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
173253
|
+
}
|
|
173254
|
+
/**
|
|
173255
|
+
*
|
|
172206
173256
|
* @summary Patch a Settings for Workspace Data Filter
|
|
172207
173257
|
* @param {EntitiesApiPatchEntityWorkspaceDataFilterSettingsRequest} requestParameters Request parameters.
|
|
172208
173258
|
* @param {*} [options] Override http request option.
|
|
@@ -172246,6 +173296,17 @@ var EntitiesApi = class extends BaseAPI$7 {
|
|
|
172246
173296
|
return EntitiesApi_PatchEntityWorkspaceSettings(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
172247
173297
|
}
|
|
172248
173298
|
/**
|
|
173299
|
+
*
|
|
173300
|
+
* @summary Patch a Workspace Theme
|
|
173301
|
+
* @param {EntitiesApiPatchEntityWorkspaceThemesRequest} requestParameters Request parameters.
|
|
173302
|
+
* @param {*} [options] Override http request option.
|
|
173303
|
+
* @throws {RequiredError}
|
|
173304
|
+
* @memberof EntitiesApi
|
|
173305
|
+
*/
|
|
173306
|
+
patchEntityWorkspaceThemes(requestParameters, options) {
|
|
173307
|
+
return EntitiesApi_PatchEntityWorkspaceThemes(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
173308
|
+
}
|
|
173309
|
+
/**
|
|
172249
173310
|
* Space of the shared interest
|
|
172250
173311
|
* @summary Patch Workspace entity
|
|
172251
173312
|
* @param {EntitiesApiPatchEntityWorkspacesRequest} requestParameters Request parameters.
|
|
@@ -172897,6 +173958,17 @@ var EntitiesApi = class extends BaseAPI$7 {
|
|
|
172897
173958
|
}
|
|
172898
173959
|
/**
|
|
172899
173960
|
*
|
|
173961
|
+
* @summary Put a Workspace Color Palette
|
|
173962
|
+
* @param {EntitiesApiUpdateEntityWorkspaceColorPalettesRequest} requestParameters Request parameters.
|
|
173963
|
+
* @param {*} [options] Override http request option.
|
|
173964
|
+
* @throws {RequiredError}
|
|
173965
|
+
* @memberof EntitiesApi
|
|
173966
|
+
*/
|
|
173967
|
+
updateEntityWorkspaceColorPalettes(requestParameters, options) {
|
|
173968
|
+
return EntitiesApi_UpdateEntityWorkspaceColorPalettes(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
173969
|
+
}
|
|
173970
|
+
/**
|
|
173971
|
+
*
|
|
172900
173972
|
* @summary Put a Settings for Workspace Data Filter
|
|
172901
173973
|
* @param {EntitiesApiUpdateEntityWorkspaceDataFilterSettingsRequest} requestParameters Request parameters.
|
|
172902
173974
|
* @param {*} [options] Override http request option.
|
|
@@ -172940,6 +174012,17 @@ var EntitiesApi = class extends BaseAPI$7 {
|
|
|
172940
174012
|
return EntitiesApi_UpdateEntityWorkspaceSettings(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
172941
174013
|
}
|
|
172942
174014
|
/**
|
|
174015
|
+
*
|
|
174016
|
+
* @summary Put a Workspace Theme
|
|
174017
|
+
* @param {EntitiesApiUpdateEntityWorkspaceThemesRequest} requestParameters Request parameters.
|
|
174018
|
+
* @param {*} [options] Override http request option.
|
|
174019
|
+
* @throws {RequiredError}
|
|
174020
|
+
* @memberof EntitiesApi
|
|
174021
|
+
*/
|
|
174022
|
+
updateEntityWorkspaceThemes(requestParameters, options) {
|
|
174023
|
+
return EntitiesApi_UpdateEntityWorkspaceThemes(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
174024
|
+
}
|
|
174025
|
+
/**
|
|
172943
174026
|
* Space of the shared interest
|
|
172944
174027
|
* @summary Put Workspace entity
|
|
172945
174028
|
* @param {EntitiesApiUpdateEntityWorkspacesRequest} requestParameters Request parameters.
|
|
@@ -181538,7 +182621,7 @@ async function getUserDetails(axios, id) {
|
|
|
181538
182621
|
}
|
|
181539
182622
|
//#endregion
|
|
181540
182623
|
//#region ../../../sdk/libs/api-client-tiger/src/generated/result-json-api/base.ts
|
|
181541
|
-
const BASE_PATH$1 = "https://
|
|
182624
|
+
const BASE_PATH$1 = "https://automation.staging-ui.stg11.panther.intgdc.com".replace(/\/+$/, "");
|
|
181542
182625
|
var BaseAPI$1 = class {
|
|
181543
182626
|
basePath;
|
|
181544
182627
|
axios;
|
|
@@ -190198,7 +191281,8 @@ const VisualisationTypes = [
|
|
|
190198
191281
|
"combo_chart",
|
|
190199
191282
|
"geo_chart",
|
|
190200
191283
|
"geo_area_chart",
|
|
190201
|
-
"repeater_chart"
|
|
191284
|
+
"repeater_chart",
|
|
191285
|
+
"radar_chart"
|
|
190202
191286
|
];
|
|
190203
191287
|
const AttributeHierarchyTypes = ["attribute_hierarchy"];
|
|
190204
191288
|
const VisualisationType = ["visualisation"];
|
|
@@ -190233,6 +191317,7 @@ const TypesAll = allReferenceTypes([
|
|
|
190233
191317
|
"geo_chart",
|
|
190234
191318
|
"geo_area_chart",
|
|
190235
191319
|
"repeater_chart",
|
|
191320
|
+
"radar_chart",
|
|
190236
191321
|
"attribute_hierarchy"
|
|
190237
191322
|
]);
|
|
190238
191323
|
function isDataset(obj) {
|
|
@@ -190843,7 +191928,8 @@ function collectItemReferences(item) {
|
|
|
190843
191928
|
case "combo_chart":
|
|
190844
191929
|
case "geo_chart":
|
|
190845
191930
|
case "geo_area_chart":
|
|
190846
|
-
case "repeater_chart":
|
|
191931
|
+
case "repeater_chart":
|
|
191932
|
+
case "radar_chart": return resolveVisualisationReferences(item);
|
|
190847
191933
|
case "attribute_hierarchy": return resolveAttributeHierarchyReferences(item);
|
|
190848
191934
|
case void 0: return [];
|
|
190849
191935
|
default: assertUnreachable$1(item);
|
|
@@ -192489,7 +193575,8 @@ function resolveReferencesBySource(references, source, opts) {
|
|
|
192489
193575
|
"combo_chart",
|
|
192490
193576
|
"geo_chart",
|
|
192491
193577
|
"geo_area_chart",
|
|
192492
|
-
"repeater_chart"
|
|
193578
|
+
"repeater_chart",
|
|
193579
|
+
"radar_chart"
|
|
192493
193580
|
]);
|
|
192494
193581
|
return {
|
|
192495
193582
|
available: isVisualisation(references.self) ? available.filter(filterBySelf(references.self?.id)) : available,
|
|
@@ -197080,7 +198167,7 @@ async function get(state, opts) {
|
|
|
197080
198167
|
//#endregion
|
|
197081
198168
|
//#region ../code/package.json
|
|
197082
198169
|
var name = "@gooddata/code";
|
|
197083
|
-
var version = "0.
|
|
198170
|
+
var version = "0.44.0-alpha.1";
|
|
197084
198171
|
//#endregion
|
|
197085
198172
|
//#region ../code/esm/actions/initialize.js
|
|
197086
198173
|
async function initialize(state, emitter, options) {
|