@gooddata/sdk-code-convertors 11.47.0 → 11.48.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/esm/configs/areaChart.d.ts +2 -0
- package/esm/configs/areaChart.d.ts.map +1 -1
- package/esm/configs/barChart.d.ts +2 -0
- package/esm/configs/barChart.d.ts.map +1 -1
- package/esm/configs/bubbleChart.d.ts +2 -0
- package/esm/configs/bubbleChart.d.ts.map +1 -1
- package/esm/configs/bulletChart.d.ts +2 -0
- package/esm/configs/bulletChart.d.ts.map +1 -1
- package/esm/configs/columnChart.d.ts +2 -0
- package/esm/configs/columnChart.d.ts.map +1 -1
- package/esm/configs/comboChart.d.ts +2 -0
- package/esm/configs/comboChart.d.ts.map +1 -1
- package/esm/configs/dependencyWheelChart.d.ts +2 -0
- package/esm/configs/dependencyWheelChart.d.ts.map +1 -1
- package/esm/configs/donutChart.d.ts +2 -0
- package/esm/configs/donutChart.d.ts.map +1 -1
- package/esm/configs/funnelChart.d.ts +2 -0
- package/esm/configs/funnelChart.d.ts.map +1 -1
- package/esm/configs/geoAreaChart.d.ts +2 -0
- package/esm/configs/geoAreaChart.d.ts.map +1 -1
- package/esm/configs/headlineChart.d.ts +2 -0
- package/esm/configs/headlineChart.d.ts.map +1 -1
- package/esm/configs/heatmapChart.d.ts +2 -0
- package/esm/configs/heatmapChart.d.ts.map +1 -1
- package/esm/configs/lineChart.d.ts +2 -0
- package/esm/configs/lineChart.d.ts.map +1 -1
- package/esm/configs/pieChart.d.ts +2 -0
- package/esm/configs/pieChart.d.ts.map +1 -1
- package/esm/configs/pyramidChart.d.ts +2 -0
- package/esm/configs/pyramidChart.d.ts.map +1 -1
- package/esm/configs/radarChart.d.ts +194 -0
- package/esm/configs/radarChart.d.ts.map +1 -0
- package/esm/configs/radarChart.js +295 -0
- package/esm/configs/repeaterChart.d.ts +2 -0
- package/esm/configs/repeaterChart.d.ts.map +1 -1
- package/esm/configs/sankeyChart.d.ts +2 -0
- package/esm/configs/sankeyChart.d.ts.map +1 -1
- package/esm/configs/scatterChart.d.ts +2 -0
- package/esm/configs/scatterChart.d.ts.map +1 -1
- package/esm/configs/table.d.ts +2 -0
- package/esm/configs/table.d.ts.map +1 -1
- package/esm/configs/treemapChart.d.ts +2 -0
- package/esm/configs/treemapChart.d.ts.map +1 -1
- package/esm/configs/waterfallChart.d.ts +2 -0
- package/esm/configs/waterfallChart.d.ts.map +1 -1
- package/esm/conts.d.ts.map +1 -1
- package/esm/conts.js +1 -0
- package/esm/from/declarativeVisualisationToYaml.d.ts.map +1 -1
- package/esm/from/declarativeVisualisationToYaml.js +25 -0
- package/esm/index.d.ts +1 -0
- package/esm/index.d.ts.map +1 -1
- package/esm/index.js +1 -0
- package/esm/sdk-code-convertors.d.ts +238 -0
- package/esm/to/yamlVisualisationToDeclarative.d.ts.map +1 -1
- package/esm/to/yamlVisualisationToDeclarative.js +12 -0
- package/package.json +6 -6
|
@@ -298,6 +298,8 @@ export declare function areaChartSave(_fields: Visualisation["query"]["fields"]
|
|
|
298
298
|
[k: string]: boolean;
|
|
299
299
|
} | {
|
|
300
300
|
[k: string]: boolean;
|
|
301
|
+
} | {
|
|
302
|
+
[k: string]: boolean;
|
|
301
303
|
} | undefined;
|
|
302
304
|
customTooltip: CustomTooltip | undefined;
|
|
303
305
|
} | undefined;
|
|
@@ -460,6 +462,8 @@ export declare function barChartSave(_fields: Visualisation["query"]["fields"] |
|
|
|
460
462
|
[k: string]: boolean;
|
|
461
463
|
} | {
|
|
462
464
|
[k: string]: boolean;
|
|
465
|
+
} | {
|
|
466
|
+
[k: string]: boolean;
|
|
463
467
|
} | undefined;
|
|
464
468
|
customTooltip: CustomTooltip | undefined;
|
|
465
469
|
} | undefined;
|
|
@@ -608,6 +612,8 @@ export declare function bubbleChartSave(_fields: Visualisation["query"]["fields"
|
|
|
608
612
|
[k: string]: boolean;
|
|
609
613
|
} | {
|
|
610
614
|
[k: string]: boolean;
|
|
615
|
+
} | {
|
|
616
|
+
[k: string]: boolean;
|
|
611
617
|
} | undefined;
|
|
612
618
|
customTooltip: CustomTooltip | undefined;
|
|
613
619
|
} | undefined;
|
|
@@ -796,6 +802,8 @@ export declare function bulletChartSave(_fields: Visualisation["query"]["fields"
|
|
|
796
802
|
[k: string]: boolean;
|
|
797
803
|
} | {
|
|
798
804
|
[k: string]: boolean;
|
|
805
|
+
} | {
|
|
806
|
+
[k: string]: boolean;
|
|
799
807
|
} | undefined;
|
|
800
808
|
customTooltip: CustomTooltip | undefined;
|
|
801
809
|
} | undefined;
|
|
@@ -977,6 +985,8 @@ export declare function columnChartSave(_fields: Visualisation["query"]["fields"
|
|
|
977
985
|
[k: string]: boolean;
|
|
978
986
|
} | {
|
|
979
987
|
[k: string]: boolean;
|
|
988
|
+
} | {
|
|
989
|
+
[k: string]: boolean;
|
|
980
990
|
} | undefined;
|
|
981
991
|
customTooltip: CustomTooltip | undefined;
|
|
982
992
|
} | undefined;
|
|
@@ -1195,6 +1205,8 @@ export declare function comboChartSave(_fields: Visualisation["query"]["fields"]
|
|
|
1195
1205
|
[k: string]: boolean;
|
|
1196
1206
|
} | {
|
|
1197
1207
|
[k: string]: boolean;
|
|
1208
|
+
} | {
|
|
1209
|
+
[k: string]: boolean;
|
|
1198
1210
|
} | undefined;
|
|
1199
1211
|
customTooltip: CustomTooltip | undefined;
|
|
1200
1212
|
thresholdMeasures: string[] | undefined;
|
|
@@ -1504,6 +1516,8 @@ export declare function dependencyWheelChartSave(_fields: Visualisation["query"]
|
|
|
1504
1516
|
[k: string]: boolean;
|
|
1505
1517
|
} | {
|
|
1506
1518
|
[k: string]: boolean;
|
|
1519
|
+
} | {
|
|
1520
|
+
[k: string]: boolean;
|
|
1507
1521
|
} | undefined;
|
|
1508
1522
|
customTooltip: CustomTooltip | undefined;
|
|
1509
1523
|
} | undefined;
|
|
@@ -1606,6 +1620,8 @@ export declare function donutChartSave(_fields: Visualisation["query"]["fields"]
|
|
|
1606
1620
|
[k: string]: boolean;
|
|
1607
1621
|
} | {
|
|
1608
1622
|
[k: string]: boolean;
|
|
1623
|
+
} | {
|
|
1624
|
+
[k: string]: boolean;
|
|
1609
1625
|
} | undefined;
|
|
1610
1626
|
customTooltip: CustomTooltip | undefined;
|
|
1611
1627
|
} | undefined;
|
|
@@ -1757,6 +1773,8 @@ export declare function funnelChartSave(_fields: Visualisation["query"]["fields"
|
|
|
1757
1773
|
[k: string]: boolean;
|
|
1758
1774
|
} | {
|
|
1759
1775
|
[k: string]: boolean;
|
|
1776
|
+
} | {
|
|
1777
|
+
[k: string]: boolean;
|
|
1760
1778
|
} | undefined;
|
|
1761
1779
|
customTooltip: CustomTooltip | undefined;
|
|
1762
1780
|
} | undefined;
|
|
@@ -1916,6 +1934,8 @@ export declare function geoAreaChartSave(_fields: Visualisation["query"]["fields
|
|
|
1916
1934
|
[k: string]: boolean;
|
|
1917
1935
|
} | {
|
|
1918
1936
|
[k: string]: boolean;
|
|
1937
|
+
} | {
|
|
1938
|
+
[k: string]: boolean;
|
|
1919
1939
|
} | undefined;
|
|
1920
1940
|
customTooltip: CustomTooltip | undefined;
|
|
1921
1941
|
} | undefined;
|
|
@@ -2127,6 +2147,8 @@ export declare function headlineChartSave(_fields: Visualisation["query"]["field
|
|
|
2127
2147
|
[k: string]: boolean;
|
|
2128
2148
|
} | {
|
|
2129
2149
|
[k: string]: boolean;
|
|
2150
|
+
} | {
|
|
2151
|
+
[k: string]: boolean;
|
|
2130
2152
|
} | undefined;
|
|
2131
2153
|
} | undefined;
|
|
2132
2154
|
|
|
@@ -2256,6 +2278,8 @@ export declare function heatmapChartSave(_fields: Visualisation["query"]["fields
|
|
|
2256
2278
|
[k: string]: boolean;
|
|
2257
2279
|
} | {
|
|
2258
2280
|
[k: string]: boolean;
|
|
2281
|
+
} | {
|
|
2282
|
+
[k: string]: boolean;
|
|
2259
2283
|
} | undefined;
|
|
2260
2284
|
customTooltip: CustomTooltip | undefined;
|
|
2261
2285
|
} | undefined;
|
|
@@ -2518,6 +2542,16 @@ export declare interface IPyramidChartConfig {
|
|
|
2518
2542
|
DEFAULTS: ConfigDefaults<PyramidChartConfigProperties>;
|
|
2519
2543
|
}
|
|
2520
2544
|
|
|
2545
|
+
/**
|
|
2546
|
+
* @internal
|
|
2547
|
+
* @deprecated Use radarChartLoad and radarChartSave instead.
|
|
2548
|
+
*/
|
|
2549
|
+
export declare interface IRadarChartConfig {
|
|
2550
|
+
load: typeof radarChartLoad;
|
|
2551
|
+
save: typeof radarChartSave;
|
|
2552
|
+
DEFAULTS: ConfigDefaults<RadarChartConfigProperties>;
|
|
2553
|
+
}
|
|
2554
|
+
|
|
2521
2555
|
/**
|
|
2522
2556
|
* @internal
|
|
2523
2557
|
* @deprecated Use repeaterChartLoad and repeaterChartSave instead.
|
|
@@ -2797,6 +2831,8 @@ export declare function lineChartSave(_fields: Visualisation["query"]["fields"]
|
|
|
2797
2831
|
[k: string]: boolean;
|
|
2798
2832
|
} | {
|
|
2799
2833
|
[k: string]: boolean;
|
|
2834
|
+
} | {
|
|
2835
|
+
[k: string]: boolean;
|
|
2800
2836
|
} | undefined;
|
|
2801
2837
|
customTooltip: CustomTooltip | undefined;
|
|
2802
2838
|
thresholdMeasures: string[] | undefined;
|
|
@@ -2938,6 +2974,8 @@ export declare function pieChartSave(_fields: Visualisation["query"]["fields"] |
|
|
|
2938
2974
|
[k: string]: boolean;
|
|
2939
2975
|
} | {
|
|
2940
2976
|
[k: string]: boolean;
|
|
2977
|
+
} | {
|
|
2978
|
+
[k: string]: boolean;
|
|
2941
2979
|
} | undefined;
|
|
2942
2980
|
customTooltip: CustomTooltip | undefined;
|
|
2943
2981
|
} | undefined;
|
|
@@ -3054,6 +3092,194 @@ export declare function pyramidChartSave(_fields: Visualisation["query"]["fields
|
|
|
3054
3092
|
[k: string]: boolean;
|
|
3055
3093
|
} | {
|
|
3056
3094
|
[k: string]: boolean;
|
|
3095
|
+
} | {
|
|
3096
|
+
[k: string]: boolean;
|
|
3097
|
+
} | undefined;
|
|
3098
|
+
customTooltip: CustomTooltip | undefined;
|
|
3099
|
+
} | undefined;
|
|
3100
|
+
|
|
3101
|
+
/** @internal */
|
|
3102
|
+
export declare const RADAR_CHART_DEFAULTS: ConfigDefaults<RadarChartConfigProperties>;
|
|
3103
|
+
|
|
3104
|
+
/**
|
|
3105
|
+
* @internal
|
|
3106
|
+
* @deprecated Use radarChartLoad and radarChartSave instead.
|
|
3107
|
+
*/
|
|
3108
|
+
export declare const radarChart: IRadarChartConfig;
|
|
3109
|
+
|
|
3110
|
+
/** @internal */
|
|
3111
|
+
export declare type RadarChartConfigProperties = {
|
|
3112
|
+
colorMapping: Array<ColorMapping>;
|
|
3113
|
+
continuousLine: {
|
|
3114
|
+
enabled: boolean;
|
|
3115
|
+
};
|
|
3116
|
+
distinctPointShapes: {
|
|
3117
|
+
enabled: boolean;
|
|
3118
|
+
pointShapeMapping?: Record<string, PointShapeSymbol>;
|
|
3119
|
+
};
|
|
3120
|
+
chartFill: {
|
|
3121
|
+
type: ChartFillType;
|
|
3122
|
+
measureToPatternName?: Record<string, PatternFillName>;
|
|
3123
|
+
};
|
|
3124
|
+
radarRenderAs: "filled" | "outline";
|
|
3125
|
+
radarGridLineShape: "polygon" | "circle";
|
|
3126
|
+
dataLabels: {
|
|
3127
|
+
visible: boolean | "auto";
|
|
3128
|
+
style: "auto" | "backplate";
|
|
3129
|
+
};
|
|
3130
|
+
dataPoints: {
|
|
3131
|
+
visible: boolean | "auto";
|
|
3132
|
+
};
|
|
3133
|
+
legend: {
|
|
3134
|
+
enabled: boolean;
|
|
3135
|
+
position: "top" | "bottom" | "left" | "right" | "auto";
|
|
3136
|
+
};
|
|
3137
|
+
xaxis: {
|
|
3138
|
+
name: {
|
|
3139
|
+
visible: boolean;
|
|
3140
|
+
position: "center" | "left" | "right" | "auto";
|
|
3141
|
+
};
|
|
3142
|
+
labelsEnabled: boolean;
|
|
3143
|
+
rotation: "0" | "30" | "60" | "90" | "auto";
|
|
3144
|
+
visible: boolean;
|
|
3145
|
+
};
|
|
3146
|
+
yaxis: {
|
|
3147
|
+
max: number | string;
|
|
3148
|
+
min: number | string;
|
|
3149
|
+
name: {
|
|
3150
|
+
visible: boolean;
|
|
3151
|
+
position: "center" | "left" | "right" | "auto";
|
|
3152
|
+
};
|
|
3153
|
+
labelsEnabled: boolean;
|
|
3154
|
+
rotation: "0" | "30" | "60" | "90" | "auto";
|
|
3155
|
+
visible: boolean;
|
|
3156
|
+
};
|
|
3157
|
+
grid: {
|
|
3158
|
+
enabled: boolean;
|
|
3159
|
+
};
|
|
3160
|
+
anomalies: {
|
|
3161
|
+
enabled: boolean;
|
|
3162
|
+
sensitivity: "low" | "medium" | "high";
|
|
3163
|
+
size: "small" | "medium" | "big";
|
|
3164
|
+
color: string | number;
|
|
3165
|
+
};
|
|
3166
|
+
disableDrillDown: boolean;
|
|
3167
|
+
disableDrillIntoURL: boolean;
|
|
3168
|
+
disableAlerts: boolean;
|
|
3169
|
+
disableScheduledExports: boolean;
|
|
3170
|
+
disableKeyDriveAnalysisOn: Record<string, boolean>;
|
|
3171
|
+
customTooltip: CustomTooltip;
|
|
3172
|
+
};
|
|
3173
|
+
|
|
3174
|
+
/** @internal */
|
|
3175
|
+
export declare function radarChartLoad(props: VisualisationConfig<RadarChartConfigProperties>): Pair<Scalar<string>, any> | null;
|
|
3176
|
+
|
|
3177
|
+
/** @internal */
|
|
3178
|
+
export declare function radarChartSave(_fields: Visualisation["query"]["fields"] | undefined, config: Visualisation["config"] | undefined): {
|
|
3179
|
+
colorMapping: ColorMapping[] | undefined;
|
|
3180
|
+
continuousLine: {
|
|
3181
|
+
enabled: boolean | undefined;
|
|
3182
|
+
} | undefined;
|
|
3183
|
+
distinctPointShapes: {
|
|
3184
|
+
enabled: boolean | undefined;
|
|
3185
|
+
pointShapeMapping: Record<string, PointShapeSymbol> | undefined;
|
|
3186
|
+
} | undefined;
|
|
3187
|
+
chartFill: {
|
|
3188
|
+
type: ChartFillType | undefined;
|
|
3189
|
+
measureToPatternName: Record<string, PatternFillName> | undefined;
|
|
3190
|
+
} | undefined;
|
|
3191
|
+
radarRenderAs: "filled" | "outline" | undefined;
|
|
3192
|
+
radarGridLineShape: "circle" | "polygon" | undefined;
|
|
3193
|
+
dataLabels: {
|
|
3194
|
+
visible: "auto" | boolean | undefined;
|
|
3195
|
+
style: "auto" | "backplate" | undefined;
|
|
3196
|
+
} | undefined;
|
|
3197
|
+
dataPoints: {
|
|
3198
|
+
visible: "auto" | boolean | undefined;
|
|
3199
|
+
} | undefined;
|
|
3200
|
+
legend: {
|
|
3201
|
+
enabled: boolean | undefined;
|
|
3202
|
+
position: string | undefined;
|
|
3203
|
+
} | undefined;
|
|
3204
|
+
xaxis: {
|
|
3205
|
+
name: {
|
|
3206
|
+
position: string | undefined;
|
|
3207
|
+
visible: boolean | undefined;
|
|
3208
|
+
} | undefined;
|
|
3209
|
+
rotation: string | undefined;
|
|
3210
|
+
visible: boolean | undefined;
|
|
3211
|
+
labelsEnabled: boolean | undefined;
|
|
3212
|
+
} | undefined;
|
|
3213
|
+
yaxis: {
|
|
3214
|
+
max: string | number | undefined;
|
|
3215
|
+
min: string | number | undefined;
|
|
3216
|
+
name: {
|
|
3217
|
+
position: string | undefined;
|
|
3218
|
+
visible: boolean | undefined;
|
|
3219
|
+
} | undefined;
|
|
3220
|
+
rotation: string | undefined;
|
|
3221
|
+
visible: boolean | undefined;
|
|
3222
|
+
labelsEnabled: boolean | undefined;
|
|
3223
|
+
} | undefined;
|
|
3224
|
+
grid: {
|
|
3225
|
+
enabled: boolean | undefined;
|
|
3226
|
+
} | undefined;
|
|
3227
|
+
anomalies: {
|
|
3228
|
+
enabled: boolean | undefined;
|
|
3229
|
+
sensitivity: "high" | "low" | "medium" | undefined;
|
|
3230
|
+
size: "big" | "medium" | "small" | undefined;
|
|
3231
|
+
color: string | number | undefined;
|
|
3232
|
+
} | undefined;
|
|
3233
|
+
disableDrillDown: boolean | undefined;
|
|
3234
|
+
disableDrillIntoURL: boolean | undefined;
|
|
3235
|
+
disableAlerts: boolean | undefined;
|
|
3236
|
+
disableScheduledExports: boolean | undefined;
|
|
3237
|
+
disableKeyDriveAnalysisOn: {
|
|
3238
|
+
[k: string]: boolean;
|
|
3239
|
+
} | {
|
|
3240
|
+
[k: string]: boolean;
|
|
3241
|
+
} | {
|
|
3242
|
+
[k: string]: boolean;
|
|
3243
|
+
} | {
|
|
3244
|
+
[k: string]: boolean;
|
|
3245
|
+
} | {
|
|
3246
|
+
[k: string]: boolean;
|
|
3247
|
+
} | {
|
|
3248
|
+
[k: string]: boolean;
|
|
3249
|
+
} | {
|
|
3250
|
+
[k: string]: boolean;
|
|
3251
|
+
} | {
|
|
3252
|
+
[k: string]: boolean;
|
|
3253
|
+
} | {
|
|
3254
|
+
[k: string]: boolean;
|
|
3255
|
+
} | {
|
|
3256
|
+
[k: string]: boolean;
|
|
3257
|
+
} | {
|
|
3258
|
+
[k: string]: boolean;
|
|
3259
|
+
} | {
|
|
3260
|
+
[k: string]: boolean;
|
|
3261
|
+
} | {
|
|
3262
|
+
[k: string]: boolean;
|
|
3263
|
+
} | {
|
|
3264
|
+
[k: string]: boolean;
|
|
3265
|
+
} | {
|
|
3266
|
+
[k: string]: boolean;
|
|
3267
|
+
} | {
|
|
3268
|
+
[k: string]: boolean;
|
|
3269
|
+
} | {
|
|
3270
|
+
[k: string]: boolean;
|
|
3271
|
+
} | {
|
|
3272
|
+
[k: string]: boolean;
|
|
3273
|
+
} | {
|
|
3274
|
+
[k: string]: boolean;
|
|
3275
|
+
} | {
|
|
3276
|
+
[k: string]: boolean;
|
|
3277
|
+
} | {
|
|
3278
|
+
[k: string]: boolean;
|
|
3279
|
+
} | {
|
|
3280
|
+
[k: string]: boolean;
|
|
3281
|
+
} | {
|
|
3282
|
+
[k: string]: boolean;
|
|
3057
3283
|
} | undefined;
|
|
3058
3284
|
customTooltip: CustomTooltip | undefined;
|
|
3059
3285
|
} | undefined;
|
|
@@ -3137,6 +3363,8 @@ export declare function repeaterChartSave(fields: Visualisation["query"]["fields
|
|
|
3137
3363
|
[k: string]: boolean;
|
|
3138
3364
|
} | {
|
|
3139
3365
|
[k: string]: boolean;
|
|
3366
|
+
} | {
|
|
3367
|
+
[k: string]: boolean;
|
|
3140
3368
|
} | undefined;
|
|
3141
3369
|
} | undefined;
|
|
3142
3370
|
|
|
@@ -3233,6 +3461,8 @@ export declare function sankeyChartSave(_fields: Visualisation["query"]["fields"
|
|
|
3233
3461
|
[k: string]: boolean;
|
|
3234
3462
|
} | {
|
|
3235
3463
|
[k: string]: boolean;
|
|
3464
|
+
} | {
|
|
3465
|
+
[k: string]: boolean;
|
|
3236
3466
|
} | undefined;
|
|
3237
3467
|
customTooltip: CustomTooltip | undefined;
|
|
3238
3468
|
} | undefined;
|
|
@@ -3392,6 +3622,8 @@ export declare function scatterChartSave(_fields: Visualisation["query"]["fields
|
|
|
3392
3622
|
[k: string]: boolean;
|
|
3393
3623
|
} | {
|
|
3394
3624
|
[k: string]: boolean;
|
|
3625
|
+
} | {
|
|
3626
|
+
[k: string]: boolean;
|
|
3395
3627
|
} | undefined;
|
|
3396
3628
|
customTooltip: CustomTooltip | undefined;
|
|
3397
3629
|
} | undefined;
|
|
@@ -3522,6 +3754,8 @@ export declare function tableSave(fields: Visualisation["query"]["fields"] | und
|
|
|
3522
3754
|
[k: string]: boolean;
|
|
3523
3755
|
} | {
|
|
3524
3756
|
[k: string]: boolean;
|
|
3757
|
+
} | {
|
|
3758
|
+
[k: string]: boolean;
|
|
3525
3759
|
} | undefined;
|
|
3526
3760
|
textWrapping: {
|
|
3527
3761
|
wrapText: boolean;
|
|
@@ -3688,6 +3922,8 @@ export declare function treemapChartSave(_fields: Visualisation["query"]["fields
|
|
|
3688
3922
|
[k: string]: boolean;
|
|
3689
3923
|
} | {
|
|
3690
3924
|
[k: string]: boolean;
|
|
3925
|
+
} | {
|
|
3926
|
+
[k: string]: boolean;
|
|
3691
3927
|
} | undefined;
|
|
3692
3928
|
customTooltip: CustomTooltip | undefined;
|
|
3693
3929
|
} | undefined;
|
|
@@ -3868,6 +4104,8 @@ export declare function waterfallChartSave(_fields: Visualisation["query"]["fiel
|
|
|
3868
4104
|
[k: string]: boolean;
|
|
3869
4105
|
} | {
|
|
3870
4106
|
[k: string]: boolean;
|
|
4107
|
+
} | {
|
|
4108
|
+
[k: string]: boolean;
|
|
3871
4109
|
} | undefined;
|
|
3872
4110
|
customTooltip: CustomTooltip | undefined;
|
|
3873
4111
|
} | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"yamlVisualisationToDeclarative.d.ts","sourceRoot":"","sources":["../../src/to/yamlVisualisationToDeclarative.ts"],"names":[],"mappings":"AAEA,OAAO,EACH,KAAK,8BAA8B,EACnC,KAAK,6BAA6B,EACrC,MAAM,4BAA4B,CAAC;AACpC,OAAO,KAAK,EAUR,MAAM,EAMN,YAAY,EAIZ,KAAK,EAEL,KAAK,EACL,aAAa,EAEhB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAEH,KAAK,uBAAuB,EAE5B,KAAK,OAAO,EACZ,KAAK,QAAQ,EAIb,KAAK,SAAS,EACd,KAAK,MAAM,EAId,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"yamlVisualisationToDeclarative.d.ts","sourceRoot":"","sources":["../../src/to/yamlVisualisationToDeclarative.ts"],"names":[],"mappings":"AAEA,OAAO,EACH,KAAK,8BAA8B,EACnC,KAAK,6BAA6B,EACrC,MAAM,4BAA4B,CAAC;AACpC,OAAO,KAAK,EAUR,MAAM,EAMN,YAAY,EAIZ,KAAK,EAEL,KAAK,EACL,aAAa,EAEhB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAEH,KAAK,uBAAuB,EAE5B,KAAK,OAAO,EACZ,KAAK,QAAQ,EAIb,KAAK,SAAS,EACd,KAAK,MAAM,EAId,MAAM,qBAAqB,CAAC;AAyB7B,OAAO,EAAe,KAAK,cAAc,EAAE,MAAM,aAAa,CAAC;AAiC/D,gBAAgB;AAChB,MAAM,MAAM,uBAAuB,GAAG,IAAI,CACtC,QAAQ,CAAC,SAAS,CAAC,EACnB,kBAAkB,GAAG,YAAY,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,wBAAwB,CACjG,GAAG;IACA,OAAO,EAAE,MAAM,CAAC;CACnB,CAAC;AAMF,cAAc;AACd,wBAAgB,8BAA8B,CAC1C,QAAQ,EAAE,cAAc,EACxB,KAAK,EAAE,aAAa,GACrB,8BAA8B,CAoChC;AAED,cAAc;AACd,wBAAgB,iCAAiC,CAC7C,QAAQ,EAAE,cAAc,EACxB,KAAK,EAAE,aAAa,GACrB,6BAA6B,CAQ/B;AAgJD,gBAAgB;AAChB,wBAAgB,uBAAuB,CACnC,QAAQ,EAAE,cAAc,EACxB,KAAK,EAAE,aAAa,GACrB;IACC,OAAO,EAAE,uBAAuB,CAAC,SAAS,CAAC,CAAC;IAC5C,KAAK,EAAE,uBAAuB,CAAC,OAAO,CAAC,CAAC;IACxC,OAAO,EAAE,uBAAuB,CAAC,SAAS,CAAC,CAAC;IAC5C,SAAS,EAAE,KAAK,CAAC;QAAE,SAAS,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAC1D,sBAAsB,CAAC,EAAE,uBAAuB,CAAC;CACpD,CAmBA;AAuQD,gBAAgB;AAChB,wBAAgB,sBAAsB,CAClC,OAAO,EAAE,KAAK,GAAG,SAAS,EAC1B,MAAM,EAAE,aAAa,CAAC,OAAO,CAAC,CAAC,QAAQ,CAAC,GACzC,SAAS,EAAE,CA4Bb;AA4fD,gBAAgB;AAChB,wBAAgB,wBAAwB,CACpC,QAAQ,EAAE,cAAc,EACxB,UAAU,EAAE,YAAY,GAAG,MAAM,EAAE,GAAG,SAAS,EAC/C,sBAAsB,GAAE,uBAA4B,EAGpD,mBAAmB,UAAQ,GAC5B;IACC,OAAO,EAAE,OAAO,EAAE,CAAC;IACnB,sBAAsB,EAAE,uBAAuB,GAAG,SAAS,CAAC;CAC/D,CAqBA;AAID,gBAAgB;AAChB,wBAAgB,4BAA4B,CAAC,MAAM,qBAAc,EAAE,mBAAmB,EAAE,MAAM,GAAG,MAAM,EAAE,CASxG;AAID,gBAAgB;AAChB,wBAAgB,wBAAwB,CACpC,QAAQ,EAAE,cAAc,EACxB,KAAK,EAAE,aAAa,GACrB;IACC,OAAO,EAAE,uBAAuB,CAAC,SAAS,CAAC,CAAC;IAC5C,SAAS,EAAE,KAAK,CAAC;QAAE,SAAS,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAC1D,gBAAgB,EAAE,uBAAuB,CAAC;CAC7C,CAuDA"}
|
|
@@ -15,6 +15,7 @@ import { heatmapChart } from "../configs/heatmapChart.js";
|
|
|
15
15
|
import { lineChart } from "../configs/lineChart.js";
|
|
16
16
|
import { pieChart } from "../configs/pieChart.js";
|
|
17
17
|
import { pyramidChart } from "../configs/pyramidChart.js";
|
|
18
|
+
import { radarChart } from "../configs/radarChart.js";
|
|
18
19
|
import { repeaterChart } from "../configs/repeaterChart.js";
|
|
19
20
|
import { sankeyChart } from "../configs/sankeyChart.js";
|
|
20
21
|
import { scatterChart } from "../configs/scatterChart.js";
|
|
@@ -116,6 +117,8 @@ function yamlVisTypeToDeclarative(def) {
|
|
|
116
117
|
return "local:choropleth";
|
|
117
118
|
case "repeater_chart":
|
|
118
119
|
return "local:repeater";
|
|
120
|
+
case "radar_chart":
|
|
121
|
+
return "local:radar";
|
|
119
122
|
}
|
|
120
123
|
}
|
|
121
124
|
function yamlConfigToDeclarative(def, positions) {
|
|
@@ -192,6 +195,9 @@ function yamlConfigToDeclarative(def, positions) {
|
|
|
192
195
|
...(def.columns ?? []),
|
|
193
196
|
]);
|
|
194
197
|
break;
|
|
198
|
+
case "radar_chart":
|
|
199
|
+
controls = radarChart.save(def.query?.fields, def.config);
|
|
200
|
+
break;
|
|
195
201
|
}
|
|
196
202
|
return {
|
|
197
203
|
...(controls ? { controls } : {}),
|
|
@@ -952,6 +958,12 @@ function mapBuckets(input) {
|
|
|
952
958
|
addBucket(buckets, BucketsType.Segment, input.segment_by);
|
|
953
959
|
return buckets;
|
|
954
960
|
}
|
|
961
|
+
case "radar_chart": {
|
|
962
|
+
addBucket(buckets, BucketsType.Measures, input.metrics);
|
|
963
|
+
addBucket(buckets, BucketsType.Trend, input.view_by);
|
|
964
|
+
addBucket(buckets, BucketsType.Segment, input.segment_by);
|
|
965
|
+
return buckets;
|
|
966
|
+
}
|
|
955
967
|
case "scatter_chart": {
|
|
956
968
|
addBucket(buckets, BucketsType.Measures, input.metrics?.[0] ? [input.metrics[0]] : []);
|
|
957
969
|
addBucket(buckets, BucketsType.SecondaryMeasures, input.metrics?.[1] ? [input.metrics[1]] : []);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gooddata/sdk-code-convertors",
|
|
3
|
-
"version": "11.
|
|
3
|
+
"version": "11.48.0-alpha.1",
|
|
4
4
|
"description": "GoodData AAC declarative converters",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "GoodData",
|
|
@@ -26,9 +26,9 @@
|
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"uuid": "11.1.1",
|
|
28
28
|
"yaml": "2.8.3",
|
|
29
|
-
"@gooddata/
|
|
30
|
-
"@gooddata/
|
|
31
|
-
"@gooddata/sdk-model": "11.
|
|
29
|
+
"@gooddata/sdk-code-schemas": "11.48.0-alpha.1",
|
|
30
|
+
"@gooddata/api-client-tiger": "11.48.0-alpha.1",
|
|
31
|
+
"@gooddata/sdk-model": "11.48.0-alpha.1"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@microsoft/api-extractor": "^7.55.2",
|
|
@@ -50,8 +50,8 @@
|
|
|
50
50
|
"oxlint-tsgolint": "0.15.0",
|
|
51
51
|
"typescript": "5.9.3",
|
|
52
52
|
"vitest": "4.1.8",
|
|
53
|
-
"@gooddata/eslint-config": "11.
|
|
54
|
-
"@gooddata/oxlint-config": "11.
|
|
53
|
+
"@gooddata/eslint-config": "11.48.0-alpha.1",
|
|
54
|
+
"@gooddata/oxlint-config": "11.48.0-alpha.1"
|
|
55
55
|
},
|
|
56
56
|
"scripts": {
|
|
57
57
|
"_phase:build": "npm run build",
|