@undp/data-viz 2.2.0 → 2.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (54) hide show
  1. package/dist/BiVariateChoroplethMap.cjs +1 -1
  2. package/dist/BiVariateChoroplethMap.cjs.map +1 -1
  3. package/dist/BiVariateChoroplethMap.d.ts +2 -0
  4. package/dist/BiVariateChoroplethMap.js +264 -250
  5. package/dist/BiVariateChoroplethMap.js.map +1 -1
  6. package/dist/ChoroplethMap.cjs +1 -1
  7. package/dist/ChoroplethMap.cjs.map +1 -1
  8. package/dist/ChoroplethMap.d.ts +2 -0
  9. package/dist/ChoroplethMap.js +272 -258
  10. package/dist/ChoroplethMap.js.map +1 -1
  11. package/dist/GraphEl-CAjJLOGk.cjs +2 -0
  12. package/dist/GraphEl-CAjJLOGk.cjs.map +1 -0
  13. package/dist/{GraphEl-DKrjuQNB.js → GraphEl-DcNr5JzH.js} +9 -7
  14. package/dist/GraphEl-DcNr5JzH.js.map +1 -0
  15. package/dist/GriddedGraphs.cjs +1 -1
  16. package/dist/GriddedGraphs.d.ts +1 -0
  17. package/dist/GriddedGraphs.js +1 -1
  18. package/dist/GriddedGraphsFromConfig.d.ts +1 -0
  19. package/dist/MultiGraphDashboard.d.ts +1 -0
  20. package/dist/MultiGraphDashboardFromConfig.d.ts +1 -0
  21. package/dist/PerformanceIntensiveMultiGraphDashboard.d.ts +1 -0
  22. package/dist/PerformanceIntensiveMultiGraphDashboardFromConfig.d.ts +1 -0
  23. package/dist/PerformanceIntensiveScrollStory.d.ts +1 -0
  24. package/dist/ScrollStory.d.ts +1 -0
  25. package/dist/SingleGraphDashboard.cjs +1 -1
  26. package/dist/SingleGraphDashboard.d.ts +1 -0
  27. package/dist/SingleGraphDashboard.js +1 -1
  28. package/dist/SingleGraphDashboardFromConfig.d.ts +1 -0
  29. package/dist/SingleGraphDashboardGeoHubMaps.d.ts +1 -0
  30. package/dist/SingleGraphDashboardGeoHubMapsFromConfig.d.ts +1 -0
  31. package/dist/SingleGraphDashboardThreeDGraphs.d.ts +1 -0
  32. package/dist/SingleGraphDashboardThreeDGraphsFromConfig.d.ts +1 -0
  33. package/dist/Types.d.ts +1 -0
  34. package/dist/WaterfallChart.cjs.map +1 -1
  35. package/dist/WaterfallChart.d.ts +8 -9
  36. package/dist/WaterfallChart.js.map +1 -1
  37. package/dist/index.cjs +1 -1
  38. package/dist/index.d.ts +13 -3162
  39. package/dist/index.js +112 -130
  40. package/dist/index.js.map +1 -1
  41. package/package.json +4 -16
  42. package/dist/GraphEl-CBZdcvb7.cjs +0 -2
  43. package/dist/GraphEl-CBZdcvb7.cjs.map +0 -1
  44. package/dist/GraphEl-DKrjuQNB.js.map +0 -1
  45. package/dist/getSchema.cjs +0 -2
  46. package/dist/getSchema.cjs.map +0 -1
  47. package/dist/getSchema.d.ts +0 -3258
  48. package/dist/getSchema.js +0 -1137
  49. package/dist/getSchema.js.map +0 -1
  50. package/dist/validateSchema.cjs +0 -2
  51. package/dist/validateSchema.cjs.map +0 -1
  52. package/dist/validateSchema.d.ts +0 -66
  53. package/dist/validateSchema.js +0 -109
  54. package/dist/validateSchema.js.map +0 -1
package/dist/index.d.ts CHANGED
@@ -880,2069 +880,6 @@ export declare function GeoHubMapWithLayerSelection(props: Props_20): JSX.Elemen
880
880
 
881
881
  export declare function getCentroidCoordinates(multiPolygonFeature: Feature<Polygon | MultiPolygon, GeoJsonProperties>, centerLargestPolygon?: boolean): Position_2;
882
882
 
883
- export declare const getDashboardJSONSchema: (columnList?: string[]) => Promise<{
884
- properties: {
885
- dashboardID: {
886
- type: string;
887
- };
888
- graphClassNames: {
889
- type: string;
890
- };
891
- graphStyles: {
892
- type: string;
893
- };
894
- dashboardLayout: {
895
- properties: {
896
- backgroundColor: {
897
- type: string[];
898
- };
899
- description: {
900
- type: string;
901
- };
902
- language: {
903
- enum: string[];
904
- type: string;
905
- };
906
- padding: {
907
- type: string;
908
- };
909
- title: {
910
- type: string;
911
- };
912
- rows: {
913
- items: {
914
- properties: {
915
- columns: {
916
- items: {
917
- properties: {
918
- columnWidth: {
919
- type: string;
920
- };
921
- dataFilters: {
922
- type: string;
923
- items: {
924
- type: string;
925
- properties: {
926
- column: {
927
- enum?: undefined;
928
- type: string;
929
- } | {
930
- enum: string[];
931
- type: string;
932
- };
933
- includeValues: {
934
- type: string;
935
- items: {
936
- oneOf: {
937
- type: string;
938
- }[];
939
- };
940
- };
941
- excludeValues: {
942
- type: string;
943
- items: {
944
- oneOf: {
945
- type: string;
946
- }[];
947
- };
948
- };
949
- };
950
- required: string[];
951
- };
952
- };
953
- dataTransform: {
954
- type: string;
955
- properties: {
956
- keyColumn: {
957
- enum?: undefined;
958
- type: string;
959
- } | {
960
- enum: string[];
961
- type: string;
962
- };
963
- aggregationColumnsSetting: {
964
- type: string;
965
- items: {
966
- type: string;
967
- properties: {
968
- column: {
969
- enum?: undefined;
970
- type: string;
971
- } | {
972
- enum: string[];
973
- type: string;
974
- };
975
- aggregationMethod: {
976
- type: string;
977
- enum: string[];
978
- };
979
- };
980
- required: string[];
981
- };
982
- };
983
- };
984
- required: string[];
985
- };
986
- graphDataConfiguration: {
987
- type: string;
988
- items: {
989
- type: string;
990
- properties: {
991
- columnId: {
992
- oneOf: ({
993
- enum?: undefined;
994
- type: string;
995
- items?: undefined;
996
- } | {
997
- enum: string[];
998
- type: string;
999
- items?: undefined;
1000
- } | {
1001
- type: string;
1002
- items: {
1003
- enum?: undefined;
1004
- type: string;
1005
- } | {
1006
- enum: string[];
1007
- type: string;
1008
- };
1009
- })[];
1010
- };
1011
- chartConfigId: {
1012
- enum?: undefined;
1013
- type: string;
1014
- } | {
1015
- enum: string[];
1016
- type: string;
1017
- };
1018
- };
1019
- required: string[];
1020
- };
1021
- };
1022
- graphType: {
1023
- enum: string[];
1024
- type: string;
1025
- };
1026
- settings: any;
1027
- dataSelectionOptions: Promise<{
1028
- type: string;
1029
- items: {
1030
- type: string;
1031
- properties: {
1032
- chartConfigId: {
1033
- type: string;
1034
- };
1035
- label: {
1036
- type: string;
1037
- };
1038
- width: {
1039
- type: string;
1040
- };
1041
- allowedColumnIds: {
1042
- type: string;
1043
- items: {
1044
- type: string;
1045
- properties: {
1046
- value: {
1047
- enum?: undefined;
1048
- type: string;
1049
- } | {
1050
- enum: string[];
1051
- type: string;
1052
- };
1053
- label: {
1054
- type: string;
1055
- };
1056
- graphSettings: any;
1057
- };
1058
- required: string[];
1059
- };
1060
- minItems: number;
1061
- };
1062
- ui: {
1063
- type: string;
1064
- enum: string[];
1065
- };
1066
- };
1067
- required: string[];
1068
- };
1069
- }>;
1070
- advancedDataSelectionOptions: Promise<{
1071
- type: string;
1072
- items: {
1073
- type: string;
1074
- properties: {
1075
- chartConfigId: {
1076
- type: string;
1077
- };
1078
- label: {
1079
- type: string;
1080
- };
1081
- width: {
1082
- type: string;
1083
- };
1084
- options: {
1085
- type: string;
1086
- items: {
1087
- type: string;
1088
- properties: {
1089
- dataConfiguration: {
1090
- type: string;
1091
- items: {
1092
- type: string;
1093
- properties: {
1094
- columnId: {
1095
- oneOf: ({
1096
- enum?: undefined;
1097
- type: string;
1098
- items?: undefined;
1099
- } | {
1100
- enum: string[];
1101
- type: string;
1102
- items?: undefined;
1103
- } | {
1104
- type: string;
1105
- items: {
1106
- enum?: undefined;
1107
- type: string;
1108
- } | {
1109
- enum: string[];
1110
- type: string;
1111
- };
1112
- })[];
1113
- };
1114
- chartConfigId: {
1115
- enum?: undefined;
1116
- type: string;
1117
- } | {
1118
- enum: string[];
1119
- type: string;
1120
- };
1121
- };
1122
- required: string[];
1123
- };
1124
- };
1125
- label: {
1126
- type: string;
1127
- };
1128
- graphSettings: any;
1129
- };
1130
- required: string[];
1131
- };
1132
- minItems: number;
1133
- };
1134
- defaultValue: {
1135
- type: string;
1136
- items: {
1137
- type: string;
1138
- properties: {
1139
- dataConfiguration: {
1140
- type: string;
1141
- items: {
1142
- type: string;
1143
- properties: {
1144
- columnId: {
1145
- oneOf: ({
1146
- enum?: undefined;
1147
- type: string;
1148
- items?: undefined;
1149
- } | {
1150
- enum: string[];
1151
- type: string;
1152
- items?: undefined;
1153
- } | {
1154
- type: string;
1155
- items: {
1156
- enum?: undefined;
1157
- type: string;
1158
- } | {
1159
- enum: string[];
1160
- type: string;
1161
- };
1162
- })[];
1163
- };
1164
- chartConfigId: {
1165
- enum?: undefined;
1166
- type: string;
1167
- } | {
1168
- enum: string[];
1169
- type: string;
1170
- };
1171
- };
1172
- required: string[];
1173
- };
1174
- };
1175
- label: {
1176
- type: string;
1177
- };
1178
- graphSettings: any;
1179
- };
1180
- required: string[];
1181
- };
1182
- minItems: number;
1183
- };
1184
- ui: {
1185
- type: string;
1186
- enum: string[];
1187
- };
1188
- };
1189
- required: string[];
1190
- };
1191
- }>;
1192
- attachedFilter: {
1193
- enum?: undefined;
1194
- type: string;
1195
- } | {
1196
- enum: string[];
1197
- type: string;
1198
- };
1199
- };
1200
- type: string;
1201
- required: string[];
1202
- };
1203
- type: string;
1204
- };
1205
- height: {
1206
- type: string;
1207
- };
1208
- };
1209
- type: string;
1210
- required: string[];
1211
- };
1212
- type: string;
1213
- };
1214
- };
1215
- type: string;
1216
- required: string[];
1217
- };
1218
- dataSettings: {
1219
- properties: {
1220
- columnsToArray: {
1221
- items: {
1222
- properties: {
1223
- column: {
1224
- enum?: undefined;
1225
- type: string;
1226
- } | {
1227
- enum: string[];
1228
- type: string;
1229
- };
1230
- delimiter: {
1231
- type: string;
1232
- };
1233
- };
1234
- type: string;
1235
- required: string[];
1236
- };
1237
- type: string;
1238
- };
1239
- data: {};
1240
- dataURL: {
1241
- oneOf: ({
1242
- type: string;
1243
- items?: undefined;
1244
- } | {
1245
- type: string;
1246
- items: {
1247
- type: string;
1248
- properties: {
1249
- fileType: {
1250
- enum: string[];
1251
- type: string;
1252
- };
1253
- apiHeaders: {};
1254
- dataTransformation: {
1255
- type: string;
1256
- };
1257
- idColumnName: {
1258
- type: string;
1259
- };
1260
- dataURL: {
1261
- type: string;
1262
- };
1263
- delimiter: {
1264
- type: string;
1265
- };
1266
- columnsToArray: {
1267
- items: {
1268
- properties: {
1269
- column: {
1270
- enum?: undefined;
1271
- type: string;
1272
- } | {
1273
- enum: string[];
1274
- type: string;
1275
- };
1276
- delimiter: {
1277
- type: string;
1278
- };
1279
- };
1280
- type: string;
1281
- required: string[];
1282
- };
1283
- type: string;
1284
- };
1285
- };
1286
- required: string[];
1287
- };
1288
- })[];
1289
- };
1290
- delimiter: {
1291
- type: string;
1292
- };
1293
- fileType: {
1294
- enum: string[];
1295
- type: string;
1296
- };
1297
- apiHeaders: {};
1298
- dataTransformation: {
1299
- type: string;
1300
- };
1301
- idColumnTitle: {
1302
- type: string;
1303
- };
1304
- };
1305
- type: string;
1306
- };
1307
- filters: {
1308
- items: {
1309
- properties: {
1310
- clearable: {
1311
- type: string;
1312
- };
1313
- allowSelectAll: {
1314
- type: string;
1315
- };
1316
- width: {
1317
- type: string;
1318
- };
1319
- excludeValues: {
1320
- items: {
1321
- type: string;
1322
- };
1323
- type: string;
1324
- };
1325
- column: {
1326
- enum?: undefined;
1327
- type: string;
1328
- } | {
1329
- enum: string[];
1330
- type: string;
1331
- };
1332
- defaultValue: {
1333
- anyOf: ({
1334
- items: {
1335
- oneOf: {
1336
- type: string;
1337
- }[];
1338
- };
1339
- type: string;
1340
- } | {
1341
- type: string;
1342
- items?: undefined;
1343
- })[];
1344
- };
1345
- label: {
1346
- type: string;
1347
- };
1348
- ui: {
1349
- type: string;
1350
- enum: string[];
1351
- };
1352
- singleSelect: {
1353
- type: string;
1354
- };
1355
- };
1356
- required: string[];
1357
- type: string;
1358
- };
1359
- type: string;
1360
- };
1361
- noOfFiltersPerRow: {
1362
- type: string;
1363
- };
1364
- uiMode: {
1365
- type: string;
1366
- enum: string[];
1367
- };
1368
- filterPosition: {
1369
- type: string;
1370
- enum: string[];
1371
- };
1372
- readableHeader: {
1373
- type: string;
1374
- items: {
1375
- type: string;
1376
- properties: {
1377
- value: {
1378
- enum?: undefined;
1379
- type: string;
1380
- } | {
1381
- enum: string[];
1382
- type: string;
1383
- };
1384
- label: {
1385
- type: string;
1386
- };
1387
- };
1388
- required: string[];
1389
- };
1390
- };
1391
- dataFilters: {
1392
- type: string;
1393
- items: {
1394
- type: string;
1395
- properties: {
1396
- column: {
1397
- enum?: undefined;
1398
- type: string;
1399
- } | {
1400
- enum: string[];
1401
- type: string;
1402
- };
1403
- includeValues: {
1404
- type: string;
1405
- items: {
1406
- oneOf: {
1407
- type: string;
1408
- }[];
1409
- };
1410
- };
1411
- excludeValues: {
1412
- type: string;
1413
- items: {
1414
- oneOf: {
1415
- type: string;
1416
- }[];
1417
- };
1418
- };
1419
- };
1420
- required: string[];
1421
- };
1422
- };
1423
- debugMode: {
1424
- type: string;
1425
- };
1426
- theme: {
1427
- type: string;
1428
- enum: string[];
1429
- };
1430
- graphBackgroundColor: {
1431
- oneOf: {
1432
- type: string;
1433
- }[];
1434
- };
1435
- };
1436
- type: string;
1437
- required: string[];
1438
- }>;
1439
-
1440
- export declare const getDashboardWideToLongFormatJSONSchema: () => Promise<{
1441
- properties: {
1442
- dashboardID: {
1443
- type: string;
1444
- };
1445
- graphClassNames: {
1446
- type: string;
1447
- };
1448
- graphStyles: {
1449
- type: string;
1450
- };
1451
- dashboardLayout: {
1452
- properties: {
1453
- backgroundColor: {
1454
- type: string[];
1455
- };
1456
- description: {
1457
- type: string;
1458
- };
1459
- language: {
1460
- enum: string[];
1461
- type: string;
1462
- };
1463
- padding: {
1464
- type: string;
1465
- };
1466
- dropdownLabel: {
1467
- type: string;
1468
- };
1469
- title: {
1470
- type: string;
1471
- };
1472
- rows: {
1473
- items: {
1474
- properties: {
1475
- columns: {
1476
- items: {
1477
- properties: {
1478
- columnWidth: {
1479
- type: string;
1480
- };
1481
- dataFilters: {
1482
- type: string;
1483
- items: {
1484
- type: string;
1485
- properties: {
1486
- column: {
1487
- enum?: undefined;
1488
- type: string;
1489
- } | {
1490
- enum: string[];
1491
- type: string;
1492
- };
1493
- includeValues: {
1494
- type: string;
1495
- items: {
1496
- oneOf: {
1497
- type: string;
1498
- }[];
1499
- };
1500
- };
1501
- excludeValues: {
1502
- type: string;
1503
- items: {
1504
- oneOf: {
1505
- type: string;
1506
- }[];
1507
- };
1508
- };
1509
- };
1510
- required: string[];
1511
- };
1512
- };
1513
- graphDataConfiguration: {
1514
- type: string;
1515
- items: {
1516
- type: string;
1517
- properties: {
1518
- columnId: {
1519
- oneOf: ({
1520
- enum?: undefined;
1521
- type: string;
1522
- items?: undefined;
1523
- } | {
1524
- enum: string[];
1525
- type: string;
1526
- items?: undefined;
1527
- } | {
1528
- type: string;
1529
- items: {
1530
- enum?: undefined;
1531
- type: string;
1532
- } | {
1533
- enum: string[];
1534
- type: string;
1535
- };
1536
- })[];
1537
- };
1538
- chartConfigId: {
1539
- enum?: undefined;
1540
- type: string;
1541
- } | {
1542
- enum: string[];
1543
- type: string;
1544
- };
1545
- };
1546
- required: string[];
1547
- };
1548
- };
1549
- graphType: {
1550
- enum: string[];
1551
- type: string;
1552
- };
1553
- settings: any;
1554
- };
1555
- type: string;
1556
- required: string[];
1557
- };
1558
- type: string;
1559
- };
1560
- height: {
1561
- type: string;
1562
- };
1563
- };
1564
- type: string;
1565
- required: string[];
1566
- };
1567
- type: string;
1568
- };
1569
- };
1570
- type: string;
1571
- required: string[];
1572
- };
1573
- dataSettings: {
1574
- properties: {
1575
- keyColumn: {
1576
- type: string;
1577
- };
1578
- columnsToArray: {
1579
- items: {
1580
- properties: {
1581
- column: {
1582
- enum?: undefined;
1583
- type: string;
1584
- } | {
1585
- enum: string[];
1586
- type: string;
1587
- };
1588
- delimiter: {
1589
- type: string;
1590
- };
1591
- };
1592
- type: string;
1593
- required: string[];
1594
- };
1595
- type: string;
1596
- };
1597
- data: {};
1598
- dataURL: {
1599
- oneOf: ({
1600
- type: string;
1601
- items?: undefined;
1602
- } | {
1603
- type: string;
1604
- items: {
1605
- type: string;
1606
- properties: {
1607
- fileType: {
1608
- enum: string[];
1609
- type: string;
1610
- };
1611
- apiHeaders: {};
1612
- dataTransformation: {
1613
- type: string;
1614
- };
1615
- idColumnName: {
1616
- type: string;
1617
- };
1618
- dataURL: {
1619
- type: string;
1620
- };
1621
- delimiter: {
1622
- type: string;
1623
- };
1624
- columnsToArray: {
1625
- items: {
1626
- properties: {
1627
- column: {
1628
- enum?: undefined;
1629
- type: string;
1630
- } | {
1631
- enum: string[];
1632
- type: string;
1633
- };
1634
- delimiter: {
1635
- type: string;
1636
- };
1637
- };
1638
- type: string;
1639
- required: string[];
1640
- };
1641
- type: string;
1642
- };
1643
- };
1644
- required: string[];
1645
- };
1646
- })[];
1647
- };
1648
- delimiter: {
1649
- type: string;
1650
- };
1651
- fileType: {
1652
- enum: string[];
1653
- type: string;
1654
- };
1655
- apiHeaders: {};
1656
- dataTransformation: {
1657
- type: string;
1658
- };
1659
- idColumnTitle: {
1660
- type: string;
1661
- };
1662
- };
1663
- required: string[];
1664
- type: string;
1665
- };
1666
- uiMode: {
1667
- type: string;
1668
- enum: string[];
1669
- };
1670
- dataFilters: {
1671
- type: string;
1672
- items: {
1673
- type: string;
1674
- properties: {
1675
- column: {
1676
- enum?: undefined;
1677
- type: string;
1678
- } | {
1679
- enum: string[];
1680
- type: string;
1681
- };
1682
- includeValues: {
1683
- type: string;
1684
- items: {
1685
- oneOf: {
1686
- type: string;
1687
- }[];
1688
- };
1689
- };
1690
- excludeValues: {
1691
- type: string;
1692
- items: {
1693
- oneOf: {
1694
- type: string;
1695
- }[];
1696
- };
1697
- };
1698
- };
1699
- required: string[];
1700
- };
1701
- };
1702
- readableHeader: {
1703
- type: string;
1704
- items: {
1705
- type: string;
1706
- properties: {
1707
- value: {
1708
- enum?: undefined;
1709
- type: string;
1710
- } | {
1711
- enum: string[];
1712
- type: string;
1713
- };
1714
- label: {
1715
- type: string;
1716
- };
1717
- };
1718
- required: string[];
1719
- };
1720
- };
1721
- debugMode: {
1722
- type: string;
1723
- };
1724
- theme: {
1725
- type: string;
1726
- enum: string[];
1727
- };
1728
- graphBackgroundColor: {
1729
- oneOf: {
1730
- type: string;
1731
- }[];
1732
- };
1733
- };
1734
- type: string;
1735
- required: string[];
1736
- }>;
1737
-
1738
- export declare const getDataFiltersSchema: (columnList?: string[]) => {
1739
- type: string;
1740
- items: {
1741
- type: string;
1742
- properties: {
1743
- column: {
1744
- enum?: undefined;
1745
- type: string;
1746
- } | {
1747
- enum: string[];
1748
- type: string;
1749
- };
1750
- includeValues: {
1751
- type: string;
1752
- items: {
1753
- oneOf: {
1754
- type: string;
1755
- }[];
1756
- };
1757
- };
1758
- excludeValues: {
1759
- type: string;
1760
- items: {
1761
- oneOf: {
1762
- type: string;
1763
- }[];
1764
- };
1765
- };
1766
- };
1767
- required: string[];
1768
- };
1769
- };
1770
-
1771
- export declare function getDataSchema(graph: GraphType): Promise<any>;
1772
-
1773
- export declare const getDataSelectionSchema: (columnList?: string[]) => Promise<{
1774
- type: string;
1775
- items: {
1776
- type: string;
1777
- properties: {
1778
- chartConfigId: {
1779
- type: string;
1780
- };
1781
- label: {
1782
- type: string;
1783
- };
1784
- width: {
1785
- type: string;
1786
- };
1787
- allowedColumnIds: {
1788
- type: string;
1789
- items: {
1790
- type: string;
1791
- properties: {
1792
- value: {
1793
- enum?: undefined;
1794
- type: string;
1795
- } | {
1796
- enum: string[];
1797
- type: string;
1798
- };
1799
- label: {
1800
- type: string;
1801
- };
1802
- graphSettings: any;
1803
- };
1804
- required: string[];
1805
- };
1806
- minItems: number;
1807
- };
1808
- ui: {
1809
- type: string;
1810
- enum: string[];
1811
- };
1812
- };
1813
- required: string[];
1814
- };
1815
- }>;
1816
-
1817
- export declare const getDataSettingsSchema: (columnList?: string[]) => {
1818
- properties: {
1819
- columnsToArray: {
1820
- items: {
1821
- properties: {
1822
- column: {
1823
- enum?: undefined;
1824
- type: string;
1825
- } | {
1826
- enum: string[];
1827
- type: string;
1828
- };
1829
- delimiter: {
1830
- type: string;
1831
- };
1832
- };
1833
- type: string;
1834
- required: string[];
1835
- };
1836
- type: string;
1837
- };
1838
- data: {};
1839
- dataURL: {
1840
- oneOf: ({
1841
- type: string;
1842
- items?: undefined;
1843
- } | {
1844
- type: string;
1845
- items: {
1846
- type: string;
1847
- properties: {
1848
- fileType: {
1849
- enum: string[];
1850
- type: string;
1851
- };
1852
- apiHeaders: {};
1853
- dataTransformation: {
1854
- type: string;
1855
- };
1856
- idColumnName: {
1857
- type: string;
1858
- };
1859
- dataURL: {
1860
- type: string;
1861
- };
1862
- delimiter: {
1863
- type: string;
1864
- };
1865
- columnsToArray: {
1866
- items: {
1867
- properties: {
1868
- column: {
1869
- enum?: undefined;
1870
- type: string;
1871
- } | {
1872
- enum: string[];
1873
- type: string;
1874
- };
1875
- delimiter: {
1876
- type: string;
1877
- };
1878
- };
1879
- type: string;
1880
- required: string[];
1881
- };
1882
- type: string;
1883
- };
1884
- };
1885
- required: string[];
1886
- };
1887
- })[];
1888
- };
1889
- delimiter: {
1890
- type: string;
1891
- };
1892
- fileType: {
1893
- enum: string[];
1894
- type: string;
1895
- };
1896
- apiHeaders: {};
1897
- dataTransformation: {
1898
- type: string;
1899
- };
1900
- idColumnTitle: {
1901
- type: string;
1902
- };
1903
- };
1904
- type: string;
1905
- };
1906
-
1907
- export declare const getDataTransformSchema: (columnList?: string[]) => {
1908
- type: string;
1909
- properties: {
1910
- keyColumn: {
1911
- enum?: undefined;
1912
- type: string;
1913
- } | {
1914
- enum: string[];
1915
- type: string;
1916
- };
1917
- aggregationColumnsSetting: {
1918
- type: string;
1919
- items: {
1920
- type: string;
1921
- properties: {
1922
- column: {
1923
- enum?: undefined;
1924
- type: string;
1925
- } | {
1926
- enum: string[];
1927
- type: string;
1928
- };
1929
- aggregationMethod: {
1930
- type: string;
1931
- enum: string[];
1932
- };
1933
- };
1934
- required: string[];
1935
- };
1936
- };
1937
- };
1938
- required: string[];
1939
- };
1940
-
1941
- export declare const getFiltersSchema: (columnList?: string[]) => {
1942
- items: {
1943
- properties: {
1944
- clearable: {
1945
- type: string;
1946
- };
1947
- allowSelectAll: {
1948
- type: string;
1949
- };
1950
- width: {
1951
- type: string;
1952
- };
1953
- excludeValues: {
1954
- items: {
1955
- type: string;
1956
- };
1957
- type: string;
1958
- };
1959
- column: {
1960
- enum?: undefined;
1961
- type: string;
1962
- } | {
1963
- enum: string[];
1964
- type: string;
1965
- };
1966
- defaultValue: {
1967
- anyOf: ({
1968
- items: {
1969
- oneOf: {
1970
- type: string;
1971
- }[];
1972
- };
1973
- type: string;
1974
- } | {
1975
- type: string;
1976
- items?: undefined;
1977
- })[];
1978
- };
1979
- label: {
1980
- type: string;
1981
- };
1982
- ui: {
1983
- type: string;
1984
- enum: string[];
1985
- };
1986
- singleSelect: {
1987
- type: string;
1988
- };
1989
- };
1990
- required: string[];
1991
- type: string;
1992
- };
1993
- type: string;
1994
- };
1995
-
1996
- export declare const getGraphDataConfigurationSchema: (columnList?: string[], graphType?: GraphType | "dashboard" | "dashboardWideToLong") => {
1997
- type: string;
1998
- items: {
1999
- type: string;
2000
- properties: {
2001
- columnId: {
2002
- oneOf: ({
2003
- enum?: undefined;
2004
- type: string;
2005
- items?: undefined;
2006
- } | {
2007
- enum: string[];
2008
- type: string;
2009
- items?: undefined;
2010
- } | {
2011
- type: string;
2012
- items: {
2013
- enum?: undefined;
2014
- type: string;
2015
- } | {
2016
- enum: string[];
2017
- type: string;
2018
- };
2019
- })[];
2020
- };
2021
- chartConfigId: {
2022
- enum?: undefined;
2023
- type: string;
2024
- } | {
2025
- enum: string[];
2026
- type: string;
2027
- };
2028
- };
2029
- required: string[];
2030
- };
2031
- };
2032
-
2033
- export declare const getGriddedGraphJSONSchema: (columnList?: string[], graphType?: GraphType) => Promise<{
2034
- type: string;
2035
- properties: {
2036
- graphSettings: any;
2037
- dataSettings: {
2038
- properties: {
2039
- columnsToArray: {
2040
- items: {
2041
- properties: {
2042
- column: {
2043
- enum?: undefined;
2044
- type: string;
2045
- } | {
2046
- enum: string[];
2047
- type: string;
2048
- };
2049
- delimiter: {
2050
- type: string;
2051
- };
2052
- };
2053
- type: string;
2054
- required: string[];
2055
- };
2056
- type: string;
2057
- };
2058
- data: {};
2059
- dataURL: {
2060
- oneOf: ({
2061
- type: string;
2062
- items?: undefined;
2063
- } | {
2064
- type: string;
2065
- items: {
2066
- type: string;
2067
- properties: {
2068
- fileType: {
2069
- enum: string[];
2070
- type: string;
2071
- };
2072
- apiHeaders: {};
2073
- dataTransformation: {
2074
- type: string;
2075
- };
2076
- idColumnName: {
2077
- type: string;
2078
- };
2079
- dataURL: {
2080
- type: string;
2081
- };
2082
- delimiter: {
2083
- type: string;
2084
- };
2085
- columnsToArray: {
2086
- items: {
2087
- properties: {
2088
- column: {
2089
- enum?: undefined;
2090
- type: string;
2091
- } | {
2092
- enum: string[];
2093
- type: string;
2094
- };
2095
- delimiter: {
2096
- type: string;
2097
- };
2098
- };
2099
- type: string;
2100
- required: string[];
2101
- };
2102
- type: string;
2103
- };
2104
- };
2105
- required: string[];
2106
- };
2107
- })[];
2108
- };
2109
- delimiter: {
2110
- type: string;
2111
- };
2112
- fileType: {
2113
- enum: string[];
2114
- type: string;
2115
- };
2116
- apiHeaders: {};
2117
- dataTransformation: {
2118
- type: string;
2119
- };
2120
- idColumnTitle: {
2121
- type: string;
2122
- };
2123
- };
2124
- type: string;
2125
- };
2126
- filters: {
2127
- items: {
2128
- properties: {
2129
- clearable: {
2130
- type: string;
2131
- };
2132
- allowSelectAll: {
2133
- type: string;
2134
- };
2135
- width: {
2136
- type: string;
2137
- };
2138
- excludeValues: {
2139
- items: {
2140
- type: string;
2141
- };
2142
- type: string;
2143
- };
2144
- column: {
2145
- enum?: undefined;
2146
- type: string;
2147
- } | {
2148
- enum: string[];
2149
- type: string;
2150
- };
2151
- defaultValue: {
2152
- anyOf: ({
2153
- items: {
2154
- oneOf: {
2155
- type: string;
2156
- }[];
2157
- };
2158
- type: string;
2159
- } | {
2160
- type: string;
2161
- items?: undefined;
2162
- })[];
2163
- };
2164
- label: {
2165
- type: string;
2166
- };
2167
- ui: {
2168
- type: string;
2169
- enum: string[];
2170
- };
2171
- singleSelect: {
2172
- type: string;
2173
- };
2174
- };
2175
- required: string[];
2176
- type: string;
2177
- };
2178
- type: string;
2179
- };
2180
- classNames: {
2181
- type: string;
2182
- };
2183
- styles: {
2184
- type: string;
2185
- };
2186
- noOfFiltersPerRow: {
2187
- type: string;
2188
- };
2189
- graphType: {
2190
- type: string;
2191
- enum: string[];
2192
- };
2193
- uiMode: {
2194
- type: string;
2195
- enum: string[];
2196
- };
2197
- dataTransform: {
2198
- type: string;
2199
- properties: {
2200
- keyColumn: {
2201
- enum?: undefined;
2202
- type: string;
2203
- } | {
2204
- enum: string[];
2205
- type: string;
2206
- };
2207
- aggregationColumnsSetting: {
2208
- type: string;
2209
- items: {
2210
- type: string;
2211
- properties: {
2212
- column: {
2213
- enum?: undefined;
2214
- type: string;
2215
- } | {
2216
- enum: string[];
2217
- type: string;
2218
- };
2219
- aggregationMethod: {
2220
- type: string;
2221
- enum: string[];
2222
- };
2223
- };
2224
- required: string[];
2225
- };
2226
- };
2227
- };
2228
- required: string[];
2229
- };
2230
- dataFilters: {
2231
- type: string;
2232
- items: {
2233
- type: string;
2234
- properties: {
2235
- column: {
2236
- enum?: undefined;
2237
- type: string;
2238
- } | {
2239
- enum: string[];
2240
- type: string;
2241
- };
2242
- includeValues: {
2243
- type: string;
2244
- items: {
2245
- oneOf: {
2246
- type: string;
2247
- }[];
2248
- };
2249
- };
2250
- excludeValues: {
2251
- type: string;
2252
- items: {
2253
- oneOf: {
2254
- type: string;
2255
- }[];
2256
- };
2257
- };
2258
- };
2259
- required: string[];
2260
- };
2261
- };
2262
- noOfColumns: {
2263
- type: string;
2264
- };
2265
- columnGridBy: {
2266
- type: string;
2267
- };
2268
- showCommonColorScale: {
2269
- type: string;
2270
- };
2271
- minGraphHeight: {
2272
- type: string;
2273
- };
2274
- minGraphWidth: {
2275
- type: string;
2276
- };
2277
- readableHeader: {
2278
- type: string;
2279
- items: {
2280
- type: string;
2281
- properties: {
2282
- value: {
2283
- enum?: undefined;
2284
- type: string;
2285
- } | {
2286
- enum: string[];
2287
- type: string;
2288
- };
2289
- label: {
2290
- type: string;
2291
- };
2292
- };
2293
- required: string[];
2294
- };
2295
- };
2296
- dataSelectionOptions: Promise<{
2297
- type: string;
2298
- items: {
2299
- type: string;
2300
- properties: {
2301
- chartConfigId: {
2302
- type: string;
2303
- };
2304
- label: {
2305
- type: string;
2306
- };
2307
- width: {
2308
- type: string;
2309
- };
2310
- allowedColumnIds: {
2311
- type: string;
2312
- items: {
2313
- type: string;
2314
- properties: {
2315
- value: {
2316
- enum?: undefined;
2317
- type: string;
2318
- } | {
2319
- enum: string[];
2320
- type: string;
2321
- };
2322
- label: {
2323
- type: string;
2324
- };
2325
- graphSettings: any;
2326
- };
2327
- required: string[];
2328
- };
2329
- minItems: number;
2330
- };
2331
- ui: {
2332
- type: string;
2333
- enum: string[];
2334
- };
2335
- };
2336
- required: string[];
2337
- };
2338
- }>;
2339
- advancedDataSelectionOptions: Promise<{
2340
- type: string;
2341
- items: {
2342
- type: string;
2343
- properties: {
2344
- chartConfigId: {
2345
- type: string;
2346
- };
2347
- label: {
2348
- type: string;
2349
- };
2350
- width: {
2351
- type: string;
2352
- };
2353
- options: {
2354
- type: string;
2355
- items: {
2356
- type: string;
2357
- properties: {
2358
- dataConfiguration: {
2359
- type: string;
2360
- items: {
2361
- type: string;
2362
- properties: {
2363
- columnId: {
2364
- oneOf: ({
2365
- enum?: undefined;
2366
- type: string;
2367
- items?: undefined;
2368
- } | {
2369
- enum: string[];
2370
- type: string;
2371
- items?: undefined;
2372
- } | {
2373
- type: string;
2374
- items: {
2375
- enum?: undefined;
2376
- type: string;
2377
- } | {
2378
- enum: string[];
2379
- type: string;
2380
- };
2381
- })[];
2382
- };
2383
- chartConfigId: {
2384
- enum?: undefined;
2385
- type: string;
2386
- } | {
2387
- enum: string[];
2388
- type: string;
2389
- };
2390
- };
2391
- required: string[];
2392
- };
2393
- };
2394
- label: {
2395
- type: string;
2396
- };
2397
- graphSettings: any;
2398
- };
2399
- required: string[];
2400
- };
2401
- minItems: number;
2402
- };
2403
- defaultValue: {
2404
- type: string;
2405
- items: {
2406
- type: string;
2407
- properties: {
2408
- dataConfiguration: {
2409
- type: string;
2410
- items: {
2411
- type: string;
2412
- properties: {
2413
- columnId: {
2414
- oneOf: ({
2415
- enum?: undefined;
2416
- type: string;
2417
- items?: undefined;
2418
- } | {
2419
- enum: string[];
2420
- type: string;
2421
- items?: undefined;
2422
- } | {
2423
- type: string;
2424
- items: {
2425
- enum?: undefined;
2426
- type: string;
2427
- } | {
2428
- enum: string[];
2429
- type: string;
2430
- };
2431
- })[];
2432
- };
2433
- chartConfigId: {
2434
- enum?: undefined;
2435
- type: string;
2436
- } | {
2437
- enum: string[];
2438
- type: string;
2439
- };
2440
- };
2441
- required: string[];
2442
- };
2443
- };
2444
- label: {
2445
- type: string;
2446
- };
2447
- graphSettings: any;
2448
- };
2449
- required: string[];
2450
- };
2451
- minItems: number;
2452
- };
2453
- ui: {
2454
- type: string;
2455
- enum: string[];
2456
- };
2457
- };
2458
- required: string[];
2459
- };
2460
- }>;
2461
- debugMode: {
2462
- type: string;
2463
- };
2464
- theme: {
2465
- type: string;
2466
- enum: string[];
2467
- };
2468
- graphDataConfiguration?: undefined;
2469
- };
2470
- required: string[];
2471
- } | {
2472
- type: string;
2473
- properties: {
2474
- graphSettings: any;
2475
- dataSettings: {
2476
- properties: {
2477
- columnsToArray: {
2478
- items: {
2479
- properties: {
2480
- column: {
2481
- enum?: undefined;
2482
- type: string;
2483
- } | {
2484
- enum: string[];
2485
- type: string;
2486
- };
2487
- delimiter: {
2488
- type: string;
2489
- };
2490
- };
2491
- type: string;
2492
- required: string[];
2493
- };
2494
- type: string;
2495
- };
2496
- data: {};
2497
- dataURL: {
2498
- oneOf: ({
2499
- type: string;
2500
- items?: undefined;
2501
- } | {
2502
- type: string;
2503
- items: {
2504
- type: string;
2505
- properties: {
2506
- fileType: {
2507
- enum: string[];
2508
- type: string;
2509
- };
2510
- apiHeaders: {};
2511
- dataTransformation: {
2512
- type: string;
2513
- };
2514
- idColumnName: {
2515
- type: string;
2516
- };
2517
- dataURL: {
2518
- type: string;
2519
- };
2520
- delimiter: {
2521
- type: string;
2522
- };
2523
- columnsToArray: {
2524
- items: {
2525
- properties: {
2526
- column: {
2527
- enum?: undefined;
2528
- type: string;
2529
- } | {
2530
- enum: string[];
2531
- type: string;
2532
- };
2533
- delimiter: {
2534
- type: string;
2535
- };
2536
- };
2537
- type: string;
2538
- required: string[];
2539
- };
2540
- type: string;
2541
- };
2542
- };
2543
- required: string[];
2544
- };
2545
- })[];
2546
- };
2547
- delimiter: {
2548
- type: string;
2549
- };
2550
- fileType: {
2551
- enum: string[];
2552
- type: string;
2553
- };
2554
- apiHeaders: {};
2555
- dataTransformation: {
2556
- type: string;
2557
- };
2558
- idColumnTitle: {
2559
- type: string;
2560
- };
2561
- };
2562
- type: string;
2563
- };
2564
- filters: {
2565
- items: {
2566
- properties: {
2567
- clearable: {
2568
- type: string;
2569
- };
2570
- allowSelectAll: {
2571
- type: string;
2572
- };
2573
- width: {
2574
- type: string;
2575
- };
2576
- excludeValues: {
2577
- items: {
2578
- type: string;
2579
- };
2580
- type: string;
2581
- };
2582
- column: {
2583
- enum?: undefined;
2584
- type: string;
2585
- } | {
2586
- enum: string[];
2587
- type: string;
2588
- };
2589
- defaultValue: {
2590
- anyOf: ({
2591
- items: {
2592
- oneOf: {
2593
- type: string;
2594
- }[];
2595
- };
2596
- type: string;
2597
- } | {
2598
- type: string;
2599
- items?: undefined;
2600
- })[];
2601
- };
2602
- label: {
2603
- type: string;
2604
- };
2605
- ui: {
2606
- type: string;
2607
- enum: string[];
2608
- };
2609
- singleSelect: {
2610
- type: string;
2611
- };
2612
- };
2613
- required: string[];
2614
- type: string;
2615
- };
2616
- type: string;
2617
- };
2618
- classNames: {
2619
- type: string;
2620
- };
2621
- styles: {
2622
- type: string;
2623
- };
2624
- noOfFiltersPerRow: {
2625
- type: string;
2626
- };
2627
- graphType: {
2628
- type: string;
2629
- enum: string[];
2630
- };
2631
- uiMode: {
2632
- type: string;
2633
- enum: string[];
2634
- };
2635
- dataTransform: {
2636
- type: string;
2637
- properties: {
2638
- keyColumn: {
2639
- enum?: undefined;
2640
- type: string;
2641
- } | {
2642
- enum: string[];
2643
- type: string;
2644
- };
2645
- aggregationColumnsSetting: {
2646
- type: string;
2647
- items: {
2648
- type: string;
2649
- properties: {
2650
- column: {
2651
- enum?: undefined;
2652
- type: string;
2653
- } | {
2654
- enum: string[];
2655
- type: string;
2656
- };
2657
- aggregationMethod: {
2658
- type: string;
2659
- enum: string[];
2660
- };
2661
- };
2662
- required: string[];
2663
- };
2664
- };
2665
- };
2666
- required: string[];
2667
- };
2668
- dataFilters: {
2669
- type: string;
2670
- items: {
2671
- type: string;
2672
- properties: {
2673
- column: {
2674
- enum?: undefined;
2675
- type: string;
2676
- } | {
2677
- enum: string[];
2678
- type: string;
2679
- };
2680
- includeValues: {
2681
- type: string;
2682
- items: {
2683
- oneOf: {
2684
- type: string;
2685
- }[];
2686
- };
2687
- };
2688
- excludeValues: {
2689
- type: string;
2690
- items: {
2691
- oneOf: {
2692
- type: string;
2693
- }[];
2694
- };
2695
- };
2696
- };
2697
- required: string[];
2698
- };
2699
- };
2700
- graphDataConfiguration: {
2701
- type: string;
2702
- items: {
2703
- type: string;
2704
- properties: {
2705
- columnId: {
2706
- oneOf: ({
2707
- enum?: undefined;
2708
- type: string;
2709
- items?: undefined;
2710
- } | {
2711
- enum: string[];
2712
- type: string;
2713
- items?: undefined;
2714
- } | {
2715
- type: string;
2716
- items: {
2717
- enum?: undefined;
2718
- type: string;
2719
- } | {
2720
- enum: string[];
2721
- type: string;
2722
- };
2723
- })[];
2724
- };
2725
- chartConfigId: {
2726
- enum?: undefined;
2727
- type: string;
2728
- } | {
2729
- enum: string[];
2730
- type: string;
2731
- };
2732
- };
2733
- required: string[];
2734
- };
2735
- };
2736
- noOfColumns: {
2737
- type: string;
2738
- };
2739
- columnGridBy: {
2740
- type: string;
2741
- };
2742
- showCommonColorScale: {
2743
- type: string;
2744
- };
2745
- minGraphHeight: {
2746
- type: string;
2747
- };
2748
- minGraphWidth: {
2749
- type: string;
2750
- };
2751
- readableHeader: {
2752
- type: string;
2753
- items: {
2754
- type: string;
2755
- properties: {
2756
- value: {
2757
- enum?: undefined;
2758
- type: string;
2759
- } | {
2760
- enum: string[];
2761
- type: string;
2762
- };
2763
- label: {
2764
- type: string;
2765
- };
2766
- };
2767
- required: string[];
2768
- };
2769
- };
2770
- dataSelectionOptions: Promise<{
2771
- type: string;
2772
- items: {
2773
- type: string;
2774
- properties: {
2775
- chartConfigId: {
2776
- type: string;
2777
- };
2778
- label: {
2779
- type: string;
2780
- };
2781
- width: {
2782
- type: string;
2783
- };
2784
- allowedColumnIds: {
2785
- type: string;
2786
- items: {
2787
- type: string;
2788
- properties: {
2789
- value: {
2790
- enum?: undefined;
2791
- type: string;
2792
- } | {
2793
- enum: string[];
2794
- type: string;
2795
- };
2796
- label: {
2797
- type: string;
2798
- };
2799
- graphSettings: any;
2800
- };
2801
- required: string[];
2802
- };
2803
- minItems: number;
2804
- };
2805
- ui: {
2806
- type: string;
2807
- enum: string[];
2808
- };
2809
- };
2810
- required: string[];
2811
- };
2812
- }>;
2813
- advancedDataSelectionOptions: Promise<{
2814
- type: string;
2815
- items: {
2816
- type: string;
2817
- properties: {
2818
- chartConfigId: {
2819
- type: string;
2820
- };
2821
- label: {
2822
- type: string;
2823
- };
2824
- width: {
2825
- type: string;
2826
- };
2827
- options: {
2828
- type: string;
2829
- items: {
2830
- type: string;
2831
- properties: {
2832
- dataConfiguration: {
2833
- type: string;
2834
- items: {
2835
- type: string;
2836
- properties: {
2837
- columnId: {
2838
- oneOf: ({
2839
- enum?: undefined;
2840
- type: string;
2841
- items?: undefined;
2842
- } | {
2843
- enum: string[];
2844
- type: string;
2845
- items?: undefined;
2846
- } | {
2847
- type: string;
2848
- items: {
2849
- enum?: undefined;
2850
- type: string;
2851
- } | {
2852
- enum: string[];
2853
- type: string;
2854
- };
2855
- })[];
2856
- };
2857
- chartConfigId: {
2858
- enum?: undefined;
2859
- type: string;
2860
- } | {
2861
- enum: string[];
2862
- type: string;
2863
- };
2864
- };
2865
- required: string[];
2866
- };
2867
- };
2868
- label: {
2869
- type: string;
2870
- };
2871
- graphSettings: any;
2872
- };
2873
- required: string[];
2874
- };
2875
- minItems: number;
2876
- };
2877
- defaultValue: {
2878
- type: string;
2879
- items: {
2880
- type: string;
2881
- properties: {
2882
- dataConfiguration: {
2883
- type: string;
2884
- items: {
2885
- type: string;
2886
- properties: {
2887
- columnId: {
2888
- oneOf: ({
2889
- enum?: undefined;
2890
- type: string;
2891
- items?: undefined;
2892
- } | {
2893
- enum: string[];
2894
- type: string;
2895
- items?: undefined;
2896
- } | {
2897
- type: string;
2898
- items: {
2899
- enum?: undefined;
2900
- type: string;
2901
- } | {
2902
- enum: string[];
2903
- type: string;
2904
- };
2905
- })[];
2906
- };
2907
- chartConfigId: {
2908
- enum?: undefined;
2909
- type: string;
2910
- } | {
2911
- enum: string[];
2912
- type: string;
2913
- };
2914
- };
2915
- required: string[];
2916
- };
2917
- };
2918
- label: {
2919
- type: string;
2920
- };
2921
- graphSettings: any;
2922
- };
2923
- required: string[];
2924
- };
2925
- minItems: number;
2926
- };
2927
- ui: {
2928
- type: string;
2929
- enum: string[];
2930
- };
2931
- };
2932
- required: string[];
2933
- };
2934
- }>;
2935
- debugMode: {
2936
- type: string;
2937
- };
2938
- theme: {
2939
- type: string;
2940
- enum: string[];
2941
- };
2942
- };
2943
- required: string[];
2944
- }>;
2945
-
2946
883
  /**
2947
884
  * Returns a set of class break values based on Jenks natural breaks algorithm.
2948
885
  *
@@ -2988,1043 +925,6 @@ export declare function getQueryParamsFromLink(): {
2988
925
  value: string | string[];
2989
926
  }[];
2990
927
 
2991
- export declare const getReadableHeaderSchema: (columnList?: string[]) => {
2992
- type: string;
2993
- items: {
2994
- type: string;
2995
- properties: {
2996
- value: {
2997
- enum?: undefined;
2998
- type: string;
2999
- } | {
3000
- enum: string[];
3001
- type: string;
3002
- };
3003
- label: {
3004
- type: string;
3005
- };
3006
- };
3007
- required: string[];
3008
- };
3009
- };
3010
-
3011
- export declare function getSettingsSchema(graph: GraphType | 'allGraphs'): Promise<any>;
3012
-
3013
- export declare const getSingleGraphJSONSchema: (columnList?: string[], graphType?: GraphType) => Promise<{
3014
- type: string;
3015
- properties: {
3016
- graphSettings: any;
3017
- graphType: {
3018
- type: string;
3019
- enum: string[];
3020
- };
3021
- debugMode: {
3022
- type: string;
3023
- };
3024
- theme: {
3025
- type: string;
3026
- enum: string[];
3027
- };
3028
- uiMode: {
3029
- type: string;
3030
- enum: string[];
3031
- };
3032
- classNames: {
3033
- type: string;
3034
- };
3035
- highlightDataPointSettings: {
3036
- type: string;
3037
- properties: {
3038
- column: {
3039
- type: string;
3040
- };
3041
- label: {
3042
- type: string;
3043
- };
3044
- defaultValues: {
3045
- oneOf: {
3046
- type: string;
3047
- items: {
3048
- type: string;
3049
- };
3050
- }[];
3051
- };
3052
- excludeValues: {
3053
- type: string;
3054
- items: {
3055
- type: string;
3056
- };
3057
- };
3058
- allowSelectAll: {
3059
- type: string;
3060
- };
3061
- width: {
3062
- type: string;
3063
- };
3064
- };
3065
- required: string[];
3066
- };
3067
- styles: {
3068
- type: string;
3069
- };
3070
- dataSettings?: undefined;
3071
- filters?: undefined;
3072
- noOfFiltersPerRow?: undefined;
3073
- dataTransform?: undefined;
3074
- dataFilters?: undefined;
3075
- readableHeader?: undefined;
3076
- dataSelectionOptions?: undefined;
3077
- advancedDataSelectionOptions?: undefined;
3078
- graphDataConfiguration?: undefined;
3079
- };
3080
- required: string[];
3081
- } | {
3082
- type: string;
3083
- properties: {
3084
- graphSettings: any;
3085
- dataSettings: {
3086
- properties: {
3087
- columnsToArray: {
3088
- items: {
3089
- properties: {
3090
- column: {
3091
- enum?: undefined;
3092
- type: string;
3093
- } | {
3094
- enum: string[];
3095
- type: string;
3096
- };
3097
- delimiter: {
3098
- type: string;
3099
- };
3100
- };
3101
- type: string;
3102
- required: string[];
3103
- };
3104
- type: string;
3105
- };
3106
- data: {};
3107
- dataURL: {
3108
- oneOf: ({
3109
- type: string;
3110
- items?: undefined;
3111
- } | {
3112
- type: string;
3113
- items: {
3114
- type: string;
3115
- properties: {
3116
- fileType: {
3117
- enum: string[];
3118
- type: string;
3119
- };
3120
- apiHeaders: {};
3121
- dataTransformation: {
3122
- type: string;
3123
- };
3124
- idColumnName: {
3125
- type: string;
3126
- };
3127
- dataURL: {
3128
- type: string;
3129
- };
3130
- delimiter: {
3131
- type: string;
3132
- };
3133
- columnsToArray: {
3134
- items: {
3135
- properties: {
3136
- column: {
3137
- enum?: undefined;
3138
- type: string;
3139
- } | {
3140
- enum: string[];
3141
- type: string;
3142
- };
3143
- delimiter: {
3144
- type: string;
3145
- };
3146
- };
3147
- type: string;
3148
- required: string[];
3149
- };
3150
- type: string;
3151
- };
3152
- };
3153
- required: string[];
3154
- };
3155
- })[];
3156
- };
3157
- delimiter: {
3158
- type: string;
3159
- };
3160
- fileType: {
3161
- enum: string[];
3162
- type: string;
3163
- };
3164
- apiHeaders: {};
3165
- dataTransformation: {
3166
- type: string;
3167
- };
3168
- idColumnTitle: {
3169
- type: string;
3170
- };
3171
- };
3172
- type: string;
3173
- };
3174
- filters: {
3175
- items: {
3176
- properties: {
3177
- clearable: {
3178
- type: string;
3179
- };
3180
- allowSelectAll: {
3181
- type: string;
3182
- };
3183
- width: {
3184
- type: string;
3185
- };
3186
- excludeValues: {
3187
- items: {
3188
- type: string;
3189
- };
3190
- type: string;
3191
- };
3192
- column: {
3193
- enum?: undefined;
3194
- type: string;
3195
- } | {
3196
- enum: string[];
3197
- type: string;
3198
- };
3199
- defaultValue: {
3200
- anyOf: ({
3201
- items: {
3202
- oneOf: {
3203
- type: string;
3204
- }[];
3205
- };
3206
- type: string;
3207
- } | {
3208
- type: string;
3209
- items?: undefined;
3210
- })[];
3211
- };
3212
- label: {
3213
- type: string;
3214
- };
3215
- ui: {
3216
- type: string;
3217
- enum: string[];
3218
- };
3219
- singleSelect: {
3220
- type: string;
3221
- };
3222
- };
3223
- required: string[];
3224
- type: string;
3225
- };
3226
- type: string;
3227
- };
3228
- noOfFiltersPerRow: {
3229
- type: string;
3230
- };
3231
- graphType: {
3232
- type: string;
3233
- enum: string[];
3234
- };
3235
- dataTransform: {
3236
- type: string;
3237
- properties: {
3238
- keyColumn: {
3239
- enum?: undefined;
3240
- type: string;
3241
- } | {
3242
- enum: string[];
3243
- type: string;
3244
- };
3245
- aggregationColumnsSetting: {
3246
- type: string;
3247
- items: {
3248
- type: string;
3249
- properties: {
3250
- column: {
3251
- enum?: undefined;
3252
- type: string;
3253
- } | {
3254
- enum: string[];
3255
- type: string;
3256
- };
3257
- aggregationMethod: {
3258
- type: string;
3259
- enum: string[];
3260
- };
3261
- };
3262
- required: string[];
3263
- };
3264
- };
3265
- };
3266
- required: string[];
3267
- };
3268
- dataFilters: {
3269
- type: string;
3270
- items: {
3271
- type: string;
3272
- properties: {
3273
- column: {
3274
- enum?: undefined;
3275
- type: string;
3276
- } | {
3277
- enum: string[];
3278
- type: string;
3279
- };
3280
- includeValues: {
3281
- type: string;
3282
- items: {
3283
- oneOf: {
3284
- type: string;
3285
- }[];
3286
- };
3287
- };
3288
- excludeValues: {
3289
- type: string;
3290
- items: {
3291
- oneOf: {
3292
- type: string;
3293
- }[];
3294
- };
3295
- };
3296
- };
3297
- required: string[];
3298
- };
3299
- };
3300
- readableHeader: {
3301
- type: string;
3302
- items: {
3303
- type: string;
3304
- properties: {
3305
- value: {
3306
- enum?: undefined;
3307
- type: string;
3308
- } | {
3309
- enum: string[];
3310
- type: string;
3311
- };
3312
- label: {
3313
- type: string;
3314
- };
3315
- };
3316
- required: string[];
3317
- };
3318
- };
3319
- dataSelectionOptions: Promise<{
3320
- type: string;
3321
- items: {
3322
- type: string;
3323
- properties: {
3324
- chartConfigId: {
3325
- type: string;
3326
- };
3327
- label: {
3328
- type: string;
3329
- };
3330
- width: {
3331
- type: string;
3332
- };
3333
- allowedColumnIds: {
3334
- type: string;
3335
- items: {
3336
- type: string;
3337
- properties: {
3338
- value: {
3339
- enum?: undefined;
3340
- type: string;
3341
- } | {
3342
- enum: string[];
3343
- type: string;
3344
- };
3345
- label: {
3346
- type: string;
3347
- };
3348
- graphSettings: any;
3349
- };
3350
- required: string[];
3351
- };
3352
- minItems: number;
3353
- };
3354
- ui: {
3355
- type: string;
3356
- enum: string[];
3357
- };
3358
- };
3359
- required: string[];
3360
- };
3361
- }>;
3362
- advancedDataSelectionOptions: Promise<{
3363
- type: string;
3364
- items: {
3365
- type: string;
3366
- properties: {
3367
- chartConfigId: {
3368
- type: string;
3369
- };
3370
- label: {
3371
- type: string;
3372
- };
3373
- width: {
3374
- type: string;
3375
- };
3376
- options: {
3377
- type: string;
3378
- items: {
3379
- type: string;
3380
- properties: {
3381
- dataConfiguration: {
3382
- type: string;
3383
- items: {
3384
- type: string;
3385
- properties: {
3386
- columnId: {
3387
- oneOf: ({
3388
- enum?: undefined;
3389
- type: string;
3390
- items?: undefined;
3391
- } | {
3392
- enum: string[];
3393
- type: string;
3394
- items?: undefined;
3395
- } | {
3396
- type: string;
3397
- items: {
3398
- enum?: undefined;
3399
- type: string;
3400
- } | {
3401
- enum: string[];
3402
- type: string;
3403
- };
3404
- })[];
3405
- };
3406
- chartConfigId: {
3407
- enum?: undefined;
3408
- type: string;
3409
- } | {
3410
- enum: string[];
3411
- type: string;
3412
- };
3413
- };
3414
- required: string[];
3415
- };
3416
- };
3417
- label: {
3418
- type: string;
3419
- };
3420
- graphSettings: any;
3421
- };
3422
- required: string[];
3423
- };
3424
- minItems: number;
3425
- };
3426
- defaultValue: {
3427
- type: string;
3428
- items: {
3429
- type: string;
3430
- properties: {
3431
- dataConfiguration: {
3432
- type: string;
3433
- items: {
3434
- type: string;
3435
- properties: {
3436
- columnId: {
3437
- oneOf: ({
3438
- enum?: undefined;
3439
- type: string;
3440
- items?: undefined;
3441
- } | {
3442
- enum: string[];
3443
- type: string;
3444
- items?: undefined;
3445
- } | {
3446
- type: string;
3447
- items: {
3448
- enum?: undefined;
3449
- type: string;
3450
- } | {
3451
- enum: string[];
3452
- type: string;
3453
- };
3454
- })[];
3455
- };
3456
- chartConfigId: {
3457
- enum?: undefined;
3458
- type: string;
3459
- } | {
3460
- enum: string[];
3461
- type: string;
3462
- };
3463
- };
3464
- required: string[];
3465
- };
3466
- };
3467
- label: {
3468
- type: string;
3469
- };
3470
- graphSettings: any;
3471
- };
3472
- required: string[];
3473
- };
3474
- minItems: number;
3475
- };
3476
- ui: {
3477
- type: string;
3478
- enum: string[];
3479
- };
3480
- };
3481
- required: string[];
3482
- };
3483
- }>;
3484
- debugMode: {
3485
- type: string;
3486
- };
3487
- theme: {
3488
- type: string;
3489
- enum: string[];
3490
- };
3491
- uiMode: {
3492
- type: string;
3493
- enum: string[];
3494
- };
3495
- classNames: {
3496
- type: string;
3497
- };
3498
- highlightDataPointSettings: {
3499
- type: string;
3500
- properties: {
3501
- column: {
3502
- type: string;
3503
- };
3504
- label: {
3505
- type: string;
3506
- };
3507
- defaultValues: {
3508
- oneOf: {
3509
- type: string;
3510
- items: {
3511
- type: string;
3512
- };
3513
- }[];
3514
- };
3515
- excludeValues: {
3516
- type: string;
3517
- items: {
3518
- type: string;
3519
- };
3520
- };
3521
- allowSelectAll: {
3522
- type: string;
3523
- };
3524
- width: {
3525
- type: string;
3526
- };
3527
- };
3528
- required: string[];
3529
- };
3530
- styles: {
3531
- type: string;
3532
- };
3533
- graphDataConfiguration?: undefined;
3534
- };
3535
- required: string[];
3536
- } | {
3537
- type: string;
3538
- properties: {
3539
- graphSettings: any;
3540
- dataSettings: {
3541
- properties: {
3542
- columnsToArray: {
3543
- items: {
3544
- properties: {
3545
- column: {
3546
- enum?: undefined;
3547
- type: string;
3548
- } | {
3549
- enum: string[];
3550
- type: string;
3551
- };
3552
- delimiter: {
3553
- type: string;
3554
- };
3555
- };
3556
- type: string;
3557
- required: string[];
3558
- };
3559
- type: string;
3560
- };
3561
- data: {};
3562
- dataURL: {
3563
- oneOf: ({
3564
- type: string;
3565
- items?: undefined;
3566
- } | {
3567
- type: string;
3568
- items: {
3569
- type: string;
3570
- properties: {
3571
- fileType: {
3572
- enum: string[];
3573
- type: string;
3574
- };
3575
- apiHeaders: {};
3576
- dataTransformation: {
3577
- type: string;
3578
- };
3579
- idColumnName: {
3580
- type: string;
3581
- };
3582
- dataURL: {
3583
- type: string;
3584
- };
3585
- delimiter: {
3586
- type: string;
3587
- };
3588
- columnsToArray: {
3589
- items: {
3590
- properties: {
3591
- column: {
3592
- enum?: undefined;
3593
- type: string;
3594
- } | {
3595
- enum: string[];
3596
- type: string;
3597
- };
3598
- delimiter: {
3599
- type: string;
3600
- };
3601
- };
3602
- type: string;
3603
- required: string[];
3604
- };
3605
- type: string;
3606
- };
3607
- };
3608
- required: string[];
3609
- };
3610
- })[];
3611
- };
3612
- delimiter: {
3613
- type: string;
3614
- };
3615
- fileType: {
3616
- enum: string[];
3617
- type: string;
3618
- };
3619
- apiHeaders: {};
3620
- dataTransformation: {
3621
- type: string;
3622
- };
3623
- idColumnTitle: {
3624
- type: string;
3625
- };
3626
- };
3627
- type: string;
3628
- };
3629
- filters: {
3630
- items: {
3631
- properties: {
3632
- clearable: {
3633
- type: string;
3634
- };
3635
- allowSelectAll: {
3636
- type: string;
3637
- };
3638
- width: {
3639
- type: string;
3640
- };
3641
- excludeValues: {
3642
- items: {
3643
- type: string;
3644
- };
3645
- type: string;
3646
- };
3647
- column: {
3648
- enum?: undefined;
3649
- type: string;
3650
- } | {
3651
- enum: string[];
3652
- type: string;
3653
- };
3654
- defaultValue: {
3655
- anyOf: ({
3656
- items: {
3657
- oneOf: {
3658
- type: string;
3659
- }[];
3660
- };
3661
- type: string;
3662
- } | {
3663
- type: string;
3664
- items?: undefined;
3665
- })[];
3666
- };
3667
- label: {
3668
- type: string;
3669
- };
3670
- ui: {
3671
- type: string;
3672
- enum: string[];
3673
- };
3674
- singleSelect: {
3675
- type: string;
3676
- };
3677
- };
3678
- required: string[];
3679
- type: string;
3680
- };
3681
- type: string;
3682
- };
3683
- classNames: {
3684
- type: string;
3685
- };
3686
- styles: {
3687
- type: string;
3688
- };
3689
- graphType: {
3690
- type: string;
3691
- enum: string[];
3692
- };
3693
- noOfFiltersPerRow: {
3694
- type: string;
3695
- };
3696
- dataTransform: {
3697
- type: string;
3698
- properties: {
3699
- keyColumn: {
3700
- enum?: undefined;
3701
- type: string;
3702
- } | {
3703
- enum: string[];
3704
- type: string;
3705
- };
3706
- aggregationColumnsSetting: {
3707
- type: string;
3708
- items: {
3709
- type: string;
3710
- properties: {
3711
- column: {
3712
- enum?: undefined;
3713
- type: string;
3714
- } | {
3715
- enum: string[];
3716
- type: string;
3717
- };
3718
- aggregationMethod: {
3719
- type: string;
3720
- enum: string[];
3721
- };
3722
- };
3723
- required: string[];
3724
- };
3725
- };
3726
- };
3727
- required: string[];
3728
- };
3729
- dataFilters: {
3730
- type: string;
3731
- items: {
3732
- type: string;
3733
- properties: {
3734
- column: {
3735
- enum?: undefined;
3736
- type: string;
3737
- } | {
3738
- enum: string[];
3739
- type: string;
3740
- };
3741
- includeValues: {
3742
- type: string;
3743
- items: {
3744
- oneOf: {
3745
- type: string;
3746
- }[];
3747
- };
3748
- };
3749
- excludeValues: {
3750
- type: string;
3751
- items: {
3752
- oneOf: {
3753
- type: string;
3754
- }[];
3755
- };
3756
- };
3757
- };
3758
- required: string[];
3759
- };
3760
- };
3761
- graphDataConfiguration: {
3762
- type: string;
3763
- items: {
3764
- type: string;
3765
- properties: {
3766
- columnId: {
3767
- oneOf: ({
3768
- enum?: undefined;
3769
- type: string;
3770
- items?: undefined;
3771
- } | {
3772
- enum: string[];
3773
- type: string;
3774
- items?: undefined;
3775
- } | {
3776
- type: string;
3777
- items: {
3778
- enum?: undefined;
3779
- type: string;
3780
- } | {
3781
- enum: string[];
3782
- type: string;
3783
- };
3784
- })[];
3785
- };
3786
- chartConfigId: {
3787
- enum?: undefined;
3788
- type: string;
3789
- } | {
3790
- enum: string[];
3791
- type: string;
3792
- };
3793
- };
3794
- required: string[];
3795
- };
3796
- };
3797
- readableHeader: {
3798
- type: string;
3799
- items: {
3800
- type: string;
3801
- properties: {
3802
- value: {
3803
- enum?: undefined;
3804
- type: string;
3805
- } | {
3806
- enum: string[];
3807
- type: string;
3808
- };
3809
- label: {
3810
- type: string;
3811
- };
3812
- };
3813
- required: string[];
3814
- };
3815
- };
3816
- dataSelectionOptions: Promise<{
3817
- type: string;
3818
- items: {
3819
- type: string;
3820
- properties: {
3821
- chartConfigId: {
3822
- type: string;
3823
- };
3824
- label: {
3825
- type: string;
3826
- };
3827
- width: {
3828
- type: string;
3829
- };
3830
- allowedColumnIds: {
3831
- type: string;
3832
- items: {
3833
- type: string;
3834
- properties: {
3835
- value: {
3836
- enum?: undefined;
3837
- type: string;
3838
- } | {
3839
- enum: string[];
3840
- type: string;
3841
- };
3842
- label: {
3843
- type: string;
3844
- };
3845
- graphSettings: any;
3846
- };
3847
- required: string[];
3848
- };
3849
- minItems: number;
3850
- };
3851
- ui: {
3852
- type: string;
3853
- enum: string[];
3854
- };
3855
- };
3856
- required: string[];
3857
- };
3858
- }>;
3859
- advancedDataSelectionOptions: Promise<{
3860
- type: string;
3861
- items: {
3862
- type: string;
3863
- properties: {
3864
- chartConfigId: {
3865
- type: string;
3866
- };
3867
- label: {
3868
- type: string;
3869
- };
3870
- width: {
3871
- type: string;
3872
- };
3873
- options: {
3874
- type: string;
3875
- items: {
3876
- type: string;
3877
- properties: {
3878
- dataConfiguration: {
3879
- type: string;
3880
- items: {
3881
- type: string;
3882
- properties: {
3883
- columnId: {
3884
- oneOf: ({
3885
- enum?: undefined;
3886
- type: string;
3887
- items?: undefined;
3888
- } | {
3889
- enum: string[];
3890
- type: string;
3891
- items?: undefined;
3892
- } | {
3893
- type: string;
3894
- items: {
3895
- enum?: undefined;
3896
- type: string;
3897
- } | {
3898
- enum: string[];
3899
- type: string;
3900
- };
3901
- })[];
3902
- };
3903
- chartConfigId: {
3904
- enum?: undefined;
3905
- type: string;
3906
- } | {
3907
- enum: string[];
3908
- type: string;
3909
- };
3910
- };
3911
- required: string[];
3912
- };
3913
- };
3914
- label: {
3915
- type: string;
3916
- };
3917
- graphSettings: any;
3918
- };
3919
- required: string[];
3920
- };
3921
- minItems: number;
3922
- };
3923
- defaultValue: {
3924
- type: string;
3925
- items: {
3926
- type: string;
3927
- properties: {
3928
- dataConfiguration: {
3929
- type: string;
3930
- items: {
3931
- type: string;
3932
- properties: {
3933
- columnId: {
3934
- oneOf: ({
3935
- enum?: undefined;
3936
- type: string;
3937
- items?: undefined;
3938
- } | {
3939
- enum: string[];
3940
- type: string;
3941
- items?: undefined;
3942
- } | {
3943
- type: string;
3944
- items: {
3945
- enum?: undefined;
3946
- type: string;
3947
- } | {
3948
- enum: string[];
3949
- type: string;
3950
- };
3951
- })[];
3952
- };
3953
- chartConfigId: {
3954
- enum?: undefined;
3955
- type: string;
3956
- } | {
3957
- enum: string[];
3958
- type: string;
3959
- };
3960
- };
3961
- required: string[];
3962
- };
3963
- };
3964
- label: {
3965
- type: string;
3966
- };
3967
- graphSettings: any;
3968
- };
3969
- required: string[];
3970
- };
3971
- minItems: number;
3972
- };
3973
- ui: {
3974
- type: string;
3975
- enum: string[];
3976
- };
3977
- };
3978
- required: string[];
3979
- };
3980
- }>;
3981
- debugMode: {
3982
- type: string;
3983
- };
3984
- theme: {
3985
- type: string;
3986
- enum: string[];
3987
- };
3988
- highlightDataPointSettings: {
3989
- type: string;
3990
- properties: {
3991
- column: {
3992
- type: string;
3993
- };
3994
- label: {
3995
- type: string;
3996
- };
3997
- defaultValues: {
3998
- oneOf: {
3999
- type: string;
4000
- items: {
4001
- type: string;
4002
- };
4003
- }[];
4004
- };
4005
- excludeValues: {
4006
- type: string;
4007
- items: {
4008
- type: string;
4009
- };
4010
- };
4011
- allowSelectAll: {
4012
- type: string;
4013
- };
4014
- width: {
4015
- type: string;
4016
- };
4017
- };
4018
- required: string[];
4019
- };
4020
- uiMode: {
4021
- type: string;
4022
- enum: string[];
4023
- };
4024
- };
4025
- required: string[];
4026
- }>;
4027
-
4028
928
  /**
4029
929
  * Returns a contrasting text color (`#000` or `#fff`) based on the given background color.
4030
930
  *
@@ -4327,6 +1227,7 @@ declare interface GraphSettingsDataType {
4327
1227
  mapColorLegendTitle?: string;
4328
1228
  choroplethScaleType?: Exclude<ScaleDataType, 'linear'>;
4329
1229
  trackColor?: string;
1230
+ zoomAndCenterByHighlightedIds?: boolean;
4330
1231
  }
4331
1232
 
4332
1233
  export declare function GraphTitle(props: Props_68): JSX.Element | null;
@@ -5140,6 +2041,8 @@ declare interface Props_13 {
5140
2041
  isWorldMap?: boolean;
5141
2042
  /** Map projection type */
5142
2043
  mapProjection?: MapProjectionTypes;
2044
+ /** Toggle if the map is centered and zoomed to the highlighted ids. */
2045
+ zoomAndCenterByHighlightedIds?: boolean;
5143
2046
  /** Extend of the allowed zoom in the map */
5144
2047
  zoomScaleExtend?: [number, number];
5145
2048
  /** Extend of the allowed panning in the map */
@@ -5225,6 +2128,8 @@ declare interface Props_14 {
5225
2128
  mapData?: any;
5226
2129
  /** Scaling factor for the map. Multiplies the scale number to scale. */
5227
2130
  scale?: number;
2131
+ /** Toggle if the map is centered and zoomed to the highlighted ids. */
2132
+ zoomAndCenterByHighlightedIds?: boolean;
5228
2133
  /** Center point of the map */
5229
2134
  centerPoint?: [number, number];
5230
2135
  /** Defines the zoom mode for the map */
@@ -7194,7 +4099,7 @@ declare interface Props_35 {
7194
4099
 
7195
4100
  declare interface Props_36 {
7196
4101
  /** Array of data objects */
7197
- data: BarGraphDataType[];
4102
+ data: WaterfallChartDataType[];
7198
4103
  /** Title of the graph */
7199
4104
  graphTitle?: string | React.ReactNode;
7200
4105
  /** Description of the graph */
@@ -8966,69 +5871,15 @@ declare interface UnitChartDataType {
8966
5871
  data?: object;
8967
5872
  }
8968
5873
 
8969
- /**
8970
- * Validates the configuration against the appropriate schema for the given graph type. This does not validate graphTitle, graphDescription, footNote, tooltip, detailsOnClick or cardTemplate in the graphSettings.
8971
- *
8972
- * @param config - The configuration to validate.
8973
- * @param graph - The graph type for which the configuration validation is performed. Can be one of:
8974
- * 'singleGraphDashboard', 'multiGraphDashboard', 'griddedGraph', or 'multiGraphDashboardWideToLongFormat'.
8975
- *
8976
- * @returns A promise with `isValid` indicating the validation result and `err` containing any error messages if the validation fails.
8977
- *
8978
- * @example
8979
- * const result = validateConfigSchema(config, 'griddedGraph').then(result => {
8980
- * if (!result.isValid) {
8981
- * console.error(result.err);
8982
- * }
8983
- * });
8984
- */
8985
- export declare function validateConfigSchema(config: any, graph: 'singleGraphDashboard' | 'multiGraphDashboard' | 'griddedGraph' | 'multiGraphDashboardWideToLongFormat'): Promise<{
8986
- isValid: boolean;
8987
- err: string | undefined;
8988
- }>;
8989
-
8990
- /**
8991
- * Validates the data against the appropriate schema for the given graph type.
8992
- *
8993
- * @param data - The data to validate.
8994
- * @param graph - The graph type for which the data validation is performed.
8995
- *
8996
- * @returns A promise with `isValid` indicating the validation result and `err` containing any error messages if the validation fails.
8997
- *
8998
- * @example
8999
- * const result = validateDataSchema(data, 'barChart').then(result => {
9000
- * if (!result.isValid) {
9001
- * console.error(result.err);
9002
- * }
9003
- * });
9004
- */
9005
- export declare function validateDataSchema(data: any, graph: GraphType): Promise<{
9006
- isValid: boolean;
9007
- err: string | undefined;
9008
- }>;
9009
-
9010
- /**
9011
- * Validates the settings against the appropriate schema for the given graph type. This does not validate graphTitle, graphDescription, footNote, tooltip, detailsOnClick, and cardTemplate.
9012
- *
9013
- * @param settings - The settings to validate.
9014
- * @param graph - The graph type for which the settings validation is performed.
9015
- *
9016
- * @returns A promise with `isValid` indicating the validation result and `err` containing any error messages if the validation fails.
9017
- *
9018
- * @example
9019
- * const result = validateSettingsSchema(settings, 'barChart').then(result => {
9020
- * if (!result.isValid) {
9021
- * console.error(result.err);
9022
- * }
9023
- * });
9024
- */
9025
- export declare function validateSettingsSchema(settings: any, graph: GraphType): Promise<{
9026
- isValid: boolean;
9027
- err: string | undefined;
9028
- }>;
9029
-
9030
5874
  export declare function WaterfallChart(props: Props_36): JSX.Element;
9031
5875
 
5876
+ declare interface WaterfallChartDataType {
5877
+ label: string | number;
5878
+ size?: number | null;
5879
+ color?: string | null;
5880
+ data?: object;
5881
+ }
5882
+
9032
5883
  declare interface WsColInterface {
9033
5884
  wch: number;
9034
5885
  }