@milaboratories/miplots4 1.0.179 → 1.1.0

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 (60) hide show
  1. package/dist/scatterplot/ChartRenderer.d.ts +2 -2
  2. package/dist/scatterplot/ChartRenderer.d.ts.map +1 -1
  3. package/dist/scatterplot/ChartRenderer.js +155 -115
  4. package/dist/scatterplot/ChartRenderer.js.map +1 -1
  5. package/dist/scatterplot/ScatterplotSettingsImpl.d.ts +11 -1
  6. package/dist/scatterplot/ScatterplotSettingsImpl.d.ts.map +1 -1
  7. package/dist/scatterplot/ScatterplotSettingsImpl.js +20 -0
  8. package/dist/scatterplot/ScatterplotSettingsImpl.js.map +1 -1
  9. package/dist/scatterplot/components/ChartLayersData.d.ts +5 -0
  10. package/dist/scatterplot/components/ChartLayersData.d.ts.map +1 -1
  11. package/dist/scatterplot/components/ChartLayersData.js +115 -35
  12. package/dist/scatterplot/components/ChartLayersData.js.map +1 -1
  13. package/dist/scatterplot/components/types.d.ts +2 -0
  14. package/dist/scatterplot/components/types.d.ts.map +1 -1
  15. package/dist/scatterplot/getLayersData.d.ts +11 -2
  16. package/dist/scatterplot/getLayersData.d.ts.map +1 -1
  17. package/dist/scatterplot/getLayersData.js +36 -19
  18. package/dist/scatterplot/getLayersData.js.map +1 -1
  19. package/dist/scatterplot/index.d.ts.map +1 -1
  20. package/dist/scatterplot/index.js +51 -33
  21. package/dist/scatterplot/index.js.map +1 -1
  22. package/dist/scatterplot/linearRegression.js +1 -1
  23. package/dist/scatterplot/utils/createAesGetter.d.ts.map +1 -1
  24. package/dist/scatterplot/utils/createAesGetter.js +5 -3
  25. package/dist/scatterplot/utils/createAesGetter.js.map +1 -1
  26. package/dist/scatterplot/utils/createLegendInfo.d.ts +11 -2
  27. package/dist/scatterplot/utils/createLegendInfo.d.ts.map +1 -1
  28. package/dist/scatterplot/utils/createLegendInfo.js +21 -16
  29. package/dist/scatterplot/utils/createLegendInfo.js.map +1 -1
  30. package/dist/scatterplot-umap/ChartRenderer.d.ts +6 -6
  31. package/dist/scatterplot-umap/ChartRenderer.d.ts.map +1 -1
  32. package/dist/scatterplot-umap/ChartRenderer.js +99 -57
  33. package/dist/scatterplot-umap/ChartRenderer.js.map +1 -1
  34. package/dist/scatterplot-umap/SettingsImpl.d.ts +11 -1
  35. package/dist/scatterplot-umap/SettingsImpl.d.ts.map +1 -1
  36. package/dist/scatterplot-umap/SettingsImpl.js +21 -1
  37. package/dist/scatterplot-umap/SettingsImpl.js.map +1 -1
  38. package/dist/scatterplot-umap/components/LowerSVG.d.ts +3 -2
  39. package/dist/scatterplot-umap/components/LowerSVG.d.ts.map +1 -1
  40. package/dist/scatterplot-umap/components/LowerSVG.js +159 -108
  41. package/dist/scatterplot-umap/components/LowerSVG.js.map +1 -1
  42. package/dist/scatterplot-umap/components/SVGLayer.d.ts +1 -1
  43. package/dist/scatterplot-umap/components/SVGLayer.d.ts.map +1 -1
  44. package/dist/scatterplot-umap/components/SVGLayer.js +9 -8
  45. package/dist/scatterplot-umap/components/SVGLayer.js.map +1 -1
  46. package/dist/scatterplot-umap/index.d.ts +6 -1
  47. package/dist/scatterplot-umap/index.d.ts.map +1 -1
  48. package/dist/scatterplot-umap/index.js +65 -31
  49. package/dist/scatterplot-umap/index.js.map +1 -1
  50. package/dist/scatterplot-umap/types.d.ts +7 -0
  51. package/dist/scatterplot-umap/types.d.ts.map +1 -1
  52. package/dist/types/scatterplot-umap.d.ts +763 -87
  53. package/dist/types/scatterplot-umap.d.ts.map +1 -1
  54. package/dist/types/scatterplot-umap.js +19 -3
  55. package/dist/types/scatterplot-umap.js.map +1 -1
  56. package/dist/types/scatterplot.d.ts +1377 -44
  57. package/dist/types/scatterplot.d.ts.map +1 -1
  58. package/dist/types/scatterplot.js +27 -3
  59. package/dist/types/scatterplot.js.map +1 -1
  60. package/package.json +1 -1
@@ -913,6 +913,387 @@ declare const ScatterplotUmapLayerSchema: z.ZodUnion<[z.ZodObject<{
913
913
  export type DotsUmapLayer = z.infer<typeof DotsUmapLayerSchema>;
914
914
  export type CurveUmapLayer = z.infer<typeof CurveUmapLayerSchema>;
915
915
  export type ScatterplotUmapLayer = z.infer<typeof ScatterplotUmapLayerSchema>;
916
+ declare const AdditionalCurveUmapEntrySchema: z.ZodObject<{
917
+ columnName: z.ZodObject<{
918
+ type: z.ZodLiteral<"column">;
919
+ value: z.ZodString;
920
+ format: z.ZodOptional<z.ZodString>;
921
+ label: z.ZodOptional<z.ZodString>;
922
+ valueLabels: z.ZodOptional<z.ZodString>;
923
+ nullValueLabel: z.ZodOptional<z.ZodString>;
924
+ }, "strip", z.ZodTypeAny, {
925
+ type: "column";
926
+ value: string;
927
+ format?: string | undefined;
928
+ label?: string | undefined;
929
+ valueLabels?: string | undefined;
930
+ nullValueLabel?: string | undefined;
931
+ }, {
932
+ type: "column";
933
+ value: string;
934
+ format?: string | undefined;
935
+ label?: string | undefined;
936
+ valueLabels?: string | undefined;
937
+ nullValueLabel?: string | undefined;
938
+ }>;
939
+ label: z.ZodString;
940
+ lineShape: z.ZodOptional<z.ZodEnum<["solid", "dashed", "dotted", "dotdash", "longdash", "twodash"]>>;
941
+ lineWidth: z.ZodOptional<z.ZodNumber>;
942
+ lineColor: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
943
+ type: z.ZodLiteral<"grouping">;
944
+ value: z.ZodString;
945
+ palette: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
946
+ }, "strip", z.ZodTypeAny, {
947
+ type: "grouping";
948
+ value: string;
949
+ palette?: string[] | undefined;
950
+ }, {
951
+ type: "grouping";
952
+ value: string;
953
+ palette?: string[] | undefined;
954
+ }>, z.ZodObject<{
955
+ columnName: z.ZodObject<{
956
+ type: z.ZodLiteral<"column">;
957
+ value: z.ZodString;
958
+ format: z.ZodOptional<z.ZodString>;
959
+ label: z.ZodOptional<z.ZodString>;
960
+ valueLabels: z.ZodOptional<z.ZodString>;
961
+ nullValueLabel: z.ZodOptional<z.ZodString>;
962
+ }, "strip", z.ZodTypeAny, {
963
+ type: "column";
964
+ value: string;
965
+ format?: string | undefined;
966
+ label?: string | undefined;
967
+ valueLabels?: string | undefined;
968
+ nullValueLabel?: string | undefined;
969
+ }, {
970
+ type: "column";
971
+ value: string;
972
+ format?: string | undefined;
973
+ label?: string | undefined;
974
+ valueLabels?: string | undefined;
975
+ nullValueLabel?: string | undefined;
976
+ }>;
977
+ domain: z.ZodArray<z.ZodNumber, "many">;
978
+ range: z.ZodArray<z.ZodString, "many">;
979
+ type: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"linear">, z.ZodLiteral<"log">]>>;
980
+ }, "strip", z.ZodTypeAny, {
981
+ columnName: {
982
+ type: "column";
983
+ value: string;
984
+ format?: string | undefined;
985
+ label?: string | undefined;
986
+ valueLabels?: string | undefined;
987
+ nullValueLabel?: string | undefined;
988
+ };
989
+ domain: number[];
990
+ range: string[];
991
+ type?: "linear" | "log" | undefined;
992
+ }, {
993
+ columnName: {
994
+ type: "column";
995
+ value: string;
996
+ format?: string | undefined;
997
+ label?: string | undefined;
998
+ valueLabels?: string | undefined;
999
+ nullValueLabel?: string | undefined;
1000
+ };
1001
+ domain: number[];
1002
+ range: string[];
1003
+ type?: "linear" | "log" | undefined;
1004
+ }>]>>;
1005
+ opacity: z.ZodOptional<z.ZodNumber>;
1006
+ showDots: z.ZodOptional<z.ZodBoolean>;
1007
+ }, "strip", z.ZodTypeAny, {
1008
+ label: string;
1009
+ columnName: {
1010
+ type: "column";
1011
+ value: string;
1012
+ format?: string | undefined;
1013
+ label?: string | undefined;
1014
+ valueLabels?: string | undefined;
1015
+ nullValueLabel?: string | undefined;
1016
+ };
1017
+ lineWidth?: number | undefined;
1018
+ lineShape?: "solid" | "dashed" | "dotted" | "dotdash" | "longdash" | "twodash" | undefined;
1019
+ lineColor?: string | {
1020
+ columnName: {
1021
+ type: "column";
1022
+ value: string;
1023
+ format?: string | undefined;
1024
+ label?: string | undefined;
1025
+ valueLabels?: string | undefined;
1026
+ nullValueLabel?: string | undefined;
1027
+ };
1028
+ domain: number[];
1029
+ range: string[];
1030
+ type?: "linear" | "log" | undefined;
1031
+ } | {
1032
+ type: "grouping";
1033
+ value: string;
1034
+ palette?: string[] | undefined;
1035
+ } | undefined;
1036
+ opacity?: number | undefined;
1037
+ showDots?: boolean | undefined;
1038
+ }, {
1039
+ label: string;
1040
+ columnName: {
1041
+ type: "column";
1042
+ value: string;
1043
+ format?: string | undefined;
1044
+ label?: string | undefined;
1045
+ valueLabels?: string | undefined;
1046
+ nullValueLabel?: string | undefined;
1047
+ };
1048
+ lineWidth?: number | undefined;
1049
+ lineShape?: "solid" | "dashed" | "dotted" | "dotdash" | "longdash" | "twodash" | undefined;
1050
+ lineColor?: string | {
1051
+ columnName: {
1052
+ type: "column";
1053
+ value: string;
1054
+ format?: string | undefined;
1055
+ label?: string | undefined;
1056
+ valueLabels?: string | undefined;
1057
+ nullValueLabel?: string | undefined;
1058
+ };
1059
+ domain: number[];
1060
+ range: string[];
1061
+ type?: "linear" | "log" | undefined;
1062
+ } | {
1063
+ type: "grouping";
1064
+ value: string;
1065
+ palette?: string[] | undefined;
1066
+ } | undefined;
1067
+ opacity?: number | undefined;
1068
+ showDots?: boolean | undefined;
1069
+ }>;
1070
+ declare const AdditionalCurvesUmapSchema: z.ZodObject<{
1071
+ curves: z.ZodArray<z.ZodObject<{
1072
+ columnName: z.ZodObject<{
1073
+ type: z.ZodLiteral<"column">;
1074
+ value: z.ZodString;
1075
+ format: z.ZodOptional<z.ZodString>;
1076
+ label: z.ZodOptional<z.ZodString>;
1077
+ valueLabels: z.ZodOptional<z.ZodString>;
1078
+ nullValueLabel: z.ZodOptional<z.ZodString>;
1079
+ }, "strip", z.ZodTypeAny, {
1080
+ type: "column";
1081
+ value: string;
1082
+ format?: string | undefined;
1083
+ label?: string | undefined;
1084
+ valueLabels?: string | undefined;
1085
+ nullValueLabel?: string | undefined;
1086
+ }, {
1087
+ type: "column";
1088
+ value: string;
1089
+ format?: string | undefined;
1090
+ label?: string | undefined;
1091
+ valueLabels?: string | undefined;
1092
+ nullValueLabel?: string | undefined;
1093
+ }>;
1094
+ label: z.ZodString;
1095
+ lineShape: z.ZodOptional<z.ZodEnum<["solid", "dashed", "dotted", "dotdash", "longdash", "twodash"]>>;
1096
+ lineWidth: z.ZodOptional<z.ZodNumber>;
1097
+ lineColor: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
1098
+ type: z.ZodLiteral<"grouping">;
1099
+ value: z.ZodString;
1100
+ palette: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1101
+ }, "strip", z.ZodTypeAny, {
1102
+ type: "grouping";
1103
+ value: string;
1104
+ palette?: string[] | undefined;
1105
+ }, {
1106
+ type: "grouping";
1107
+ value: string;
1108
+ palette?: string[] | undefined;
1109
+ }>, z.ZodObject<{
1110
+ columnName: z.ZodObject<{
1111
+ type: z.ZodLiteral<"column">;
1112
+ value: z.ZodString;
1113
+ format: z.ZodOptional<z.ZodString>;
1114
+ label: z.ZodOptional<z.ZodString>;
1115
+ valueLabels: z.ZodOptional<z.ZodString>;
1116
+ nullValueLabel: z.ZodOptional<z.ZodString>;
1117
+ }, "strip", z.ZodTypeAny, {
1118
+ type: "column";
1119
+ value: string;
1120
+ format?: string | undefined;
1121
+ label?: string | undefined;
1122
+ valueLabels?: string | undefined;
1123
+ nullValueLabel?: string | undefined;
1124
+ }, {
1125
+ type: "column";
1126
+ value: string;
1127
+ format?: string | undefined;
1128
+ label?: string | undefined;
1129
+ valueLabels?: string | undefined;
1130
+ nullValueLabel?: string | undefined;
1131
+ }>;
1132
+ domain: z.ZodArray<z.ZodNumber, "many">;
1133
+ range: z.ZodArray<z.ZodString, "many">;
1134
+ type: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"linear">, z.ZodLiteral<"log">]>>;
1135
+ }, "strip", z.ZodTypeAny, {
1136
+ columnName: {
1137
+ type: "column";
1138
+ value: string;
1139
+ format?: string | undefined;
1140
+ label?: string | undefined;
1141
+ valueLabels?: string | undefined;
1142
+ nullValueLabel?: string | undefined;
1143
+ };
1144
+ domain: number[];
1145
+ range: string[];
1146
+ type?: "linear" | "log" | undefined;
1147
+ }, {
1148
+ columnName: {
1149
+ type: "column";
1150
+ value: string;
1151
+ format?: string | undefined;
1152
+ label?: string | undefined;
1153
+ valueLabels?: string | undefined;
1154
+ nullValueLabel?: string | undefined;
1155
+ };
1156
+ domain: number[];
1157
+ range: string[];
1158
+ type?: "linear" | "log" | undefined;
1159
+ }>]>>;
1160
+ opacity: z.ZodOptional<z.ZodNumber>;
1161
+ showDots: z.ZodOptional<z.ZodBoolean>;
1162
+ }, "strip", z.ZodTypeAny, {
1163
+ label: string;
1164
+ columnName: {
1165
+ type: "column";
1166
+ value: string;
1167
+ format?: string | undefined;
1168
+ label?: string | undefined;
1169
+ valueLabels?: string | undefined;
1170
+ nullValueLabel?: string | undefined;
1171
+ };
1172
+ lineWidth?: number | undefined;
1173
+ lineShape?: "solid" | "dashed" | "dotted" | "dotdash" | "longdash" | "twodash" | undefined;
1174
+ lineColor?: string | {
1175
+ columnName: {
1176
+ type: "column";
1177
+ value: string;
1178
+ format?: string | undefined;
1179
+ label?: string | undefined;
1180
+ valueLabels?: string | undefined;
1181
+ nullValueLabel?: string | undefined;
1182
+ };
1183
+ domain: number[];
1184
+ range: string[];
1185
+ type?: "linear" | "log" | undefined;
1186
+ } | {
1187
+ type: "grouping";
1188
+ value: string;
1189
+ palette?: string[] | undefined;
1190
+ } | undefined;
1191
+ opacity?: number | undefined;
1192
+ showDots?: boolean | undefined;
1193
+ }, {
1194
+ label: string;
1195
+ columnName: {
1196
+ type: "column";
1197
+ value: string;
1198
+ format?: string | undefined;
1199
+ label?: string | undefined;
1200
+ valueLabels?: string | undefined;
1201
+ nullValueLabel?: string | undefined;
1202
+ };
1203
+ lineWidth?: number | undefined;
1204
+ lineShape?: "solid" | "dashed" | "dotted" | "dotdash" | "longdash" | "twodash" | undefined;
1205
+ lineColor?: string | {
1206
+ columnName: {
1207
+ type: "column";
1208
+ value: string;
1209
+ format?: string | undefined;
1210
+ label?: string | undefined;
1211
+ valueLabels?: string | undefined;
1212
+ nullValueLabel?: string | undefined;
1213
+ };
1214
+ domain: number[];
1215
+ range: string[];
1216
+ type?: "linear" | "log" | undefined;
1217
+ } | {
1218
+ type: "grouping";
1219
+ value: string;
1220
+ palette?: string[] | undefined;
1221
+ } | undefined;
1222
+ opacity?: number | undefined;
1223
+ showDots?: boolean | undefined;
1224
+ }>, "many">;
1225
+ smoothing: z.ZodOptional<z.ZodBoolean>;
1226
+ }, "strip", z.ZodTypeAny, {
1227
+ curves: {
1228
+ label: string;
1229
+ columnName: {
1230
+ type: "column";
1231
+ value: string;
1232
+ format?: string | undefined;
1233
+ label?: string | undefined;
1234
+ valueLabels?: string | undefined;
1235
+ nullValueLabel?: string | undefined;
1236
+ };
1237
+ lineWidth?: number | undefined;
1238
+ lineShape?: "solid" | "dashed" | "dotted" | "dotdash" | "longdash" | "twodash" | undefined;
1239
+ lineColor?: string | {
1240
+ columnName: {
1241
+ type: "column";
1242
+ value: string;
1243
+ format?: string | undefined;
1244
+ label?: string | undefined;
1245
+ valueLabels?: string | undefined;
1246
+ nullValueLabel?: string | undefined;
1247
+ };
1248
+ domain: number[];
1249
+ range: string[];
1250
+ type?: "linear" | "log" | undefined;
1251
+ } | {
1252
+ type: "grouping";
1253
+ value: string;
1254
+ palette?: string[] | undefined;
1255
+ } | undefined;
1256
+ opacity?: number | undefined;
1257
+ showDots?: boolean | undefined;
1258
+ }[];
1259
+ smoothing?: boolean | undefined;
1260
+ }, {
1261
+ curves: {
1262
+ label: string;
1263
+ columnName: {
1264
+ type: "column";
1265
+ value: string;
1266
+ format?: string | undefined;
1267
+ label?: string | undefined;
1268
+ valueLabels?: string | undefined;
1269
+ nullValueLabel?: string | undefined;
1270
+ };
1271
+ lineWidth?: number | undefined;
1272
+ lineShape?: "solid" | "dashed" | "dotted" | "dotdash" | "longdash" | "twodash" | undefined;
1273
+ lineColor?: string | {
1274
+ columnName: {
1275
+ type: "column";
1276
+ value: string;
1277
+ format?: string | undefined;
1278
+ label?: string | undefined;
1279
+ valueLabels?: string | undefined;
1280
+ nullValueLabel?: string | undefined;
1281
+ };
1282
+ domain: number[];
1283
+ range: string[];
1284
+ type?: "linear" | "log" | undefined;
1285
+ } | {
1286
+ type: "grouping";
1287
+ value: string;
1288
+ palette?: string[] | undefined;
1289
+ } | undefined;
1290
+ opacity?: number | undefined;
1291
+ showDots?: boolean | undefined;
1292
+ }[];
1293
+ smoothing?: boolean | undefined;
1294
+ }>;
1295
+ export type AdditionalCurveUmapEntry = z.infer<typeof AdditionalCurveUmapEntrySchema>;
1296
+ export type AdditionalCurvesUmap = z.infer<typeof AdditionalCurvesUmapSchema>;
916
1297
  export declare const ScatterplotUmapSettingsSchema: z.ZodObject<{
917
1298
  type: z.ZodLiteral<"scatterplot-umap">;
918
1299
  title: z.ZodObject<{
@@ -1242,102 +1623,327 @@ export declare const ScatterplotUmapSettingsSchema: z.ZodObject<{
1242
1623
  dotSize?: number | undefined;
1243
1624
  lineWidth?: number | undefined;
1244
1625
  lineShape?: "solid" | "dashed" | "dotted" | "dotdash" | "longdash" | "twodash" | undefined;
1245
- lineColor?: string | undefined;
1246
- fillColor?: string | undefined;
1626
+ lineColor?: string | undefined;
1627
+ fillColor?: string | undefined;
1628
+ }, {
1629
+ dotFill?: string | undefined;
1630
+ dotShape?: "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14" | "15" | "16" | "17" | "18" | "20" | "21" | "22" | "23" | "24" | "25" | undefined;
1631
+ dotSize?: number | undefined;
1632
+ lineWidth?: number | undefined;
1633
+ lineShape?: "solid" | "dashed" | "dotted" | "dotdash" | "longdash" | "twodash" | undefined;
1634
+ lineColor?: string | undefined;
1635
+ fillColor?: string | undefined;
1636
+ }>>>;
1637
+ allowNullGroup: z.ZodOptional<z.ZodBoolean>;
1638
+ }, "strip", z.ZodTypeAny, {
1639
+ columnName: {
1640
+ type: "column";
1641
+ value: string;
1642
+ format?: string | undefined;
1643
+ label?: string | undefined;
1644
+ valueLabels?: string | undefined;
1645
+ nullValueLabel?: string | undefined;
1646
+ };
1647
+ order?: (string | number | null)[] | undefined;
1648
+ inheritedAes?: Record<string, {
1649
+ dotFill?: string | undefined;
1650
+ dotShape?: "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14" | "15" | "16" | "17" | "18" | "20" | "21" | "22" | "23" | "24" | "25" | undefined;
1651
+ dotSize?: number | undefined;
1652
+ lineWidth?: number | undefined;
1653
+ lineShape?: "solid" | "dashed" | "dotted" | "dotdash" | "longdash" | "twodash" | undefined;
1654
+ lineColor?: string | undefined;
1655
+ fillColor?: string | undefined;
1656
+ }> | undefined;
1657
+ allowNullGroup?: boolean | undefined;
1658
+ }, {
1659
+ columnName: {
1660
+ type: "column";
1661
+ value: string;
1662
+ format?: string | undefined;
1663
+ label?: string | undefined;
1664
+ valueLabels?: string | undefined;
1665
+ nullValueLabel?: string | undefined;
1666
+ };
1667
+ order?: (string | number | null)[] | undefined;
1668
+ inheritedAes?: Record<string, {
1669
+ dotFill?: string | undefined;
1670
+ dotShape?: "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14" | "15" | "16" | "17" | "18" | "20" | "21" | "22" | "23" | "24" | "25" | undefined;
1671
+ dotSize?: number | undefined;
1672
+ lineWidth?: number | undefined;
1673
+ lineShape?: "solid" | "dashed" | "dotted" | "dotdash" | "longdash" | "twodash" | undefined;
1674
+ lineColor?: string | undefined;
1675
+ fillColor?: string | undefined;
1676
+ }> | undefined;
1677
+ allowNullGroup?: boolean | undefined;
1678
+ }>, "many">>;
1679
+ label: z.ZodOptional<z.ZodObject<{
1680
+ type: z.ZodLiteral<"column">;
1681
+ value: z.ZodString;
1682
+ format: z.ZodOptional<z.ZodString>;
1683
+ label: z.ZodOptional<z.ZodString>;
1684
+ valueLabels: z.ZodOptional<z.ZodString>;
1685
+ nullValueLabel: z.ZodOptional<z.ZodString>;
1686
+ }, "strip", z.ZodTypeAny, {
1687
+ type: "column";
1688
+ value: string;
1689
+ format?: string | undefined;
1690
+ label?: string | undefined;
1691
+ valueLabels?: string | undefined;
1692
+ nullValueLabel?: string | undefined;
1693
+ }, {
1694
+ type: "column";
1695
+ value: string;
1696
+ format?: string | undefined;
1697
+ label?: string | undefined;
1698
+ valueLabels?: string | undefined;
1699
+ nullValueLabel?: string | undefined;
1700
+ }>>;
1701
+ highlight: z.ZodOptional<z.ZodObject<{
1702
+ type: z.ZodLiteral<"column">;
1703
+ value: z.ZodString;
1704
+ format: z.ZodOptional<z.ZodString>;
1705
+ label: z.ZodOptional<z.ZodString>;
1706
+ valueLabels: z.ZodOptional<z.ZodString>;
1707
+ nullValueLabel: z.ZodOptional<z.ZodString>;
1708
+ }, "strip", z.ZodTypeAny, {
1709
+ type: "column";
1710
+ value: string;
1711
+ format?: string | undefined;
1712
+ label?: string | undefined;
1713
+ valueLabels?: string | undefined;
1714
+ nullValueLabel?: string | undefined;
1715
+ }, {
1716
+ type: "column";
1717
+ value: string;
1718
+ format?: string | undefined;
1719
+ label?: string | undefined;
1720
+ valueLabels?: string | undefined;
1721
+ nullValueLabel?: string | undefined;
1722
+ }>>;
1723
+ additionalCurves: z.ZodOptional<z.ZodObject<{
1724
+ curves: z.ZodArray<z.ZodObject<{
1725
+ columnName: z.ZodObject<{
1726
+ type: z.ZodLiteral<"column">;
1727
+ value: z.ZodString;
1728
+ format: z.ZodOptional<z.ZodString>;
1729
+ label: z.ZodOptional<z.ZodString>;
1730
+ valueLabels: z.ZodOptional<z.ZodString>;
1731
+ nullValueLabel: z.ZodOptional<z.ZodString>;
1732
+ }, "strip", z.ZodTypeAny, {
1733
+ type: "column";
1734
+ value: string;
1735
+ format?: string | undefined;
1736
+ label?: string | undefined;
1737
+ valueLabels?: string | undefined;
1738
+ nullValueLabel?: string | undefined;
1739
+ }, {
1740
+ type: "column";
1741
+ value: string;
1742
+ format?: string | undefined;
1743
+ label?: string | undefined;
1744
+ valueLabels?: string | undefined;
1745
+ nullValueLabel?: string | undefined;
1746
+ }>;
1747
+ label: z.ZodString;
1748
+ lineShape: z.ZodOptional<z.ZodEnum<["solid", "dashed", "dotted", "dotdash", "longdash", "twodash"]>>;
1749
+ lineWidth: z.ZodOptional<z.ZodNumber>;
1750
+ lineColor: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
1751
+ type: z.ZodLiteral<"grouping">;
1752
+ value: z.ZodString;
1753
+ palette: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1754
+ }, "strip", z.ZodTypeAny, {
1755
+ type: "grouping";
1756
+ value: string;
1757
+ palette?: string[] | undefined;
1758
+ }, {
1759
+ type: "grouping";
1760
+ value: string;
1761
+ palette?: string[] | undefined;
1762
+ }>, z.ZodObject<{
1763
+ columnName: z.ZodObject<{
1764
+ type: z.ZodLiteral<"column">;
1765
+ value: z.ZodString;
1766
+ format: z.ZodOptional<z.ZodString>;
1767
+ label: z.ZodOptional<z.ZodString>;
1768
+ valueLabels: z.ZodOptional<z.ZodString>;
1769
+ nullValueLabel: z.ZodOptional<z.ZodString>;
1770
+ }, "strip", z.ZodTypeAny, {
1771
+ type: "column";
1772
+ value: string;
1773
+ format?: string | undefined;
1774
+ label?: string | undefined;
1775
+ valueLabels?: string | undefined;
1776
+ nullValueLabel?: string | undefined;
1777
+ }, {
1778
+ type: "column";
1779
+ value: string;
1780
+ format?: string | undefined;
1781
+ label?: string | undefined;
1782
+ valueLabels?: string | undefined;
1783
+ nullValueLabel?: string | undefined;
1784
+ }>;
1785
+ domain: z.ZodArray<z.ZodNumber, "many">;
1786
+ range: z.ZodArray<z.ZodString, "many">;
1787
+ type: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"linear">, z.ZodLiteral<"log">]>>;
1788
+ }, "strip", z.ZodTypeAny, {
1789
+ columnName: {
1790
+ type: "column";
1791
+ value: string;
1792
+ format?: string | undefined;
1793
+ label?: string | undefined;
1794
+ valueLabels?: string | undefined;
1795
+ nullValueLabel?: string | undefined;
1796
+ };
1797
+ domain: number[];
1798
+ range: string[];
1799
+ type?: "linear" | "log" | undefined;
1800
+ }, {
1801
+ columnName: {
1802
+ type: "column";
1803
+ value: string;
1804
+ format?: string | undefined;
1805
+ label?: string | undefined;
1806
+ valueLabels?: string | undefined;
1807
+ nullValueLabel?: string | undefined;
1808
+ };
1809
+ domain: number[];
1810
+ range: string[];
1811
+ type?: "linear" | "log" | undefined;
1812
+ }>]>>;
1813
+ opacity: z.ZodOptional<z.ZodNumber>;
1814
+ showDots: z.ZodOptional<z.ZodBoolean>;
1815
+ }, "strip", z.ZodTypeAny, {
1816
+ label: string;
1817
+ columnName: {
1818
+ type: "column";
1819
+ value: string;
1820
+ format?: string | undefined;
1821
+ label?: string | undefined;
1822
+ valueLabels?: string | undefined;
1823
+ nullValueLabel?: string | undefined;
1824
+ };
1825
+ lineWidth?: number | undefined;
1826
+ lineShape?: "solid" | "dashed" | "dotted" | "dotdash" | "longdash" | "twodash" | undefined;
1827
+ lineColor?: string | {
1828
+ columnName: {
1829
+ type: "column";
1830
+ value: string;
1831
+ format?: string | undefined;
1832
+ label?: string | undefined;
1833
+ valueLabels?: string | undefined;
1834
+ nullValueLabel?: string | undefined;
1835
+ };
1836
+ domain: number[];
1837
+ range: string[];
1838
+ type?: "linear" | "log" | undefined;
1839
+ } | {
1840
+ type: "grouping";
1841
+ value: string;
1842
+ palette?: string[] | undefined;
1843
+ } | undefined;
1844
+ opacity?: number | undefined;
1845
+ showDots?: boolean | undefined;
1247
1846
  }, {
1248
- dotFill?: string | undefined;
1249
- dotShape?: "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14" | "15" | "16" | "17" | "18" | "20" | "21" | "22" | "23" | "24" | "25" | undefined;
1250
- dotSize?: number | undefined;
1847
+ label: string;
1848
+ columnName: {
1849
+ type: "column";
1850
+ value: string;
1851
+ format?: string | undefined;
1852
+ label?: string | undefined;
1853
+ valueLabels?: string | undefined;
1854
+ nullValueLabel?: string | undefined;
1855
+ };
1251
1856
  lineWidth?: number | undefined;
1252
1857
  lineShape?: "solid" | "dashed" | "dotted" | "dotdash" | "longdash" | "twodash" | undefined;
1253
- lineColor?: string | undefined;
1254
- fillColor?: string | undefined;
1255
- }>>>;
1256
- allowNullGroup: z.ZodOptional<z.ZodBoolean>;
1858
+ lineColor?: string | {
1859
+ columnName: {
1860
+ type: "column";
1861
+ value: string;
1862
+ format?: string | undefined;
1863
+ label?: string | undefined;
1864
+ valueLabels?: string | undefined;
1865
+ nullValueLabel?: string | undefined;
1866
+ };
1867
+ domain: number[];
1868
+ range: string[];
1869
+ type?: "linear" | "log" | undefined;
1870
+ } | {
1871
+ type: "grouping";
1872
+ value: string;
1873
+ palette?: string[] | undefined;
1874
+ } | undefined;
1875
+ opacity?: number | undefined;
1876
+ showDots?: boolean | undefined;
1877
+ }>, "many">;
1878
+ smoothing: z.ZodOptional<z.ZodBoolean>;
1257
1879
  }, "strip", z.ZodTypeAny, {
1258
- columnName: {
1259
- type: "column";
1260
- value: string;
1261
- format?: string | undefined;
1262
- label?: string | undefined;
1263
- valueLabels?: string | undefined;
1264
- nullValueLabel?: string | undefined;
1265
- };
1266
- order?: (string | number | null)[] | undefined;
1267
- inheritedAes?: Record<string, {
1268
- dotFill?: string | undefined;
1269
- dotShape?: "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14" | "15" | "16" | "17" | "18" | "20" | "21" | "22" | "23" | "24" | "25" | undefined;
1270
- dotSize?: number | undefined;
1880
+ curves: {
1881
+ label: string;
1882
+ columnName: {
1883
+ type: "column";
1884
+ value: string;
1885
+ format?: string | undefined;
1886
+ label?: string | undefined;
1887
+ valueLabels?: string | undefined;
1888
+ nullValueLabel?: string | undefined;
1889
+ };
1271
1890
  lineWidth?: number | undefined;
1272
1891
  lineShape?: "solid" | "dashed" | "dotted" | "dotdash" | "longdash" | "twodash" | undefined;
1273
- lineColor?: string | undefined;
1274
- fillColor?: string | undefined;
1275
- }> | undefined;
1276
- allowNullGroup?: boolean | undefined;
1892
+ lineColor?: string | {
1893
+ columnName: {
1894
+ type: "column";
1895
+ value: string;
1896
+ format?: string | undefined;
1897
+ label?: string | undefined;
1898
+ valueLabels?: string | undefined;
1899
+ nullValueLabel?: string | undefined;
1900
+ };
1901
+ domain: number[];
1902
+ range: string[];
1903
+ type?: "linear" | "log" | undefined;
1904
+ } | {
1905
+ type: "grouping";
1906
+ value: string;
1907
+ palette?: string[] | undefined;
1908
+ } | undefined;
1909
+ opacity?: number | undefined;
1910
+ showDots?: boolean | undefined;
1911
+ }[];
1912
+ smoothing?: boolean | undefined;
1277
1913
  }, {
1278
- columnName: {
1279
- type: "column";
1280
- value: string;
1281
- format?: string | undefined;
1282
- label?: string | undefined;
1283
- valueLabels?: string | undefined;
1284
- nullValueLabel?: string | undefined;
1285
- };
1286
- order?: (string | number | null)[] | undefined;
1287
- inheritedAes?: Record<string, {
1288
- dotFill?: string | undefined;
1289
- dotShape?: "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14" | "15" | "16" | "17" | "18" | "20" | "21" | "22" | "23" | "24" | "25" | undefined;
1290
- dotSize?: number | undefined;
1914
+ curves: {
1915
+ label: string;
1916
+ columnName: {
1917
+ type: "column";
1918
+ value: string;
1919
+ format?: string | undefined;
1920
+ label?: string | undefined;
1921
+ valueLabels?: string | undefined;
1922
+ nullValueLabel?: string | undefined;
1923
+ };
1291
1924
  lineWidth?: number | undefined;
1292
1925
  lineShape?: "solid" | "dashed" | "dotted" | "dotdash" | "longdash" | "twodash" | undefined;
1293
- lineColor?: string | undefined;
1294
- fillColor?: string | undefined;
1295
- }> | undefined;
1296
- allowNullGroup?: boolean | undefined;
1297
- }>, "many">>;
1298
- label: z.ZodOptional<z.ZodObject<{
1299
- type: z.ZodLiteral<"column">;
1300
- value: z.ZodString;
1301
- format: z.ZodOptional<z.ZodString>;
1302
- label: z.ZodOptional<z.ZodString>;
1303
- valueLabels: z.ZodOptional<z.ZodString>;
1304
- nullValueLabel: z.ZodOptional<z.ZodString>;
1305
- }, "strip", z.ZodTypeAny, {
1306
- type: "column";
1307
- value: string;
1308
- format?: string | undefined;
1309
- label?: string | undefined;
1310
- valueLabels?: string | undefined;
1311
- nullValueLabel?: string | undefined;
1312
- }, {
1313
- type: "column";
1314
- value: string;
1315
- format?: string | undefined;
1316
- label?: string | undefined;
1317
- valueLabels?: string | undefined;
1318
- nullValueLabel?: string | undefined;
1319
- }>>;
1320
- highlight: z.ZodOptional<z.ZodObject<{
1321
- type: z.ZodLiteral<"column">;
1322
- value: z.ZodString;
1323
- format: z.ZodOptional<z.ZodString>;
1324
- label: z.ZodOptional<z.ZodString>;
1325
- valueLabels: z.ZodOptional<z.ZodString>;
1326
- nullValueLabel: z.ZodOptional<z.ZodString>;
1327
- }, "strip", z.ZodTypeAny, {
1328
- type: "column";
1329
- value: string;
1330
- format?: string | undefined;
1331
- label?: string | undefined;
1332
- valueLabels?: string | undefined;
1333
- nullValueLabel?: string | undefined;
1334
- }, {
1335
- type: "column";
1336
- value: string;
1337
- format?: string | undefined;
1338
- label?: string | undefined;
1339
- valueLabels?: string | undefined;
1340
- nullValueLabel?: string | undefined;
1926
+ lineColor?: string | {
1927
+ columnName: {
1928
+ type: "column";
1929
+ value: string;
1930
+ format?: string | undefined;
1931
+ label?: string | undefined;
1932
+ valueLabels?: string | undefined;
1933
+ nullValueLabel?: string | undefined;
1934
+ };
1935
+ domain: number[];
1936
+ range: string[];
1937
+ type?: "linear" | "log" | undefined;
1938
+ } | {
1939
+ type: "grouping";
1940
+ value: string;
1941
+ palette?: string[] | undefined;
1942
+ } | undefined;
1943
+ opacity?: number | undefined;
1944
+ showDots?: boolean | undefined;
1945
+ }[];
1946
+ smoothing?: boolean | undefined;
1341
1947
  }>>;
1342
1948
  layers: z.ZodArray<z.ZodUnion<[z.ZodObject<{
1343
1949
  type: z.ZodLiteral<"dots">;
@@ -1977,6 +2583,41 @@ export declare const ScatterplotUmapSettingsSchema: z.ZodObject<{
1977
2583
  valueLabels?: string | undefined;
1978
2584
  nullValueLabel?: string | undefined;
1979
2585
  } | undefined;
2586
+ additionalCurves?: {
2587
+ curves: {
2588
+ label: string;
2589
+ columnName: {
2590
+ type: "column";
2591
+ value: string;
2592
+ format?: string | undefined;
2593
+ label?: string | undefined;
2594
+ valueLabels?: string | undefined;
2595
+ nullValueLabel?: string | undefined;
2596
+ };
2597
+ lineWidth?: number | undefined;
2598
+ lineShape?: "solid" | "dashed" | "dotted" | "dotdash" | "longdash" | "twodash" | undefined;
2599
+ lineColor?: string | {
2600
+ columnName: {
2601
+ type: "column";
2602
+ value: string;
2603
+ format?: string | undefined;
2604
+ label?: string | undefined;
2605
+ valueLabels?: string | undefined;
2606
+ nullValueLabel?: string | undefined;
2607
+ };
2608
+ domain: number[];
2609
+ range: string[];
2610
+ type?: "linear" | "log" | undefined;
2611
+ } | {
2612
+ type: "grouping";
2613
+ value: string;
2614
+ palette?: string[] | undefined;
2615
+ } | undefined;
2616
+ opacity?: number | undefined;
2617
+ showDots?: boolean | undefined;
2618
+ }[];
2619
+ smoothing?: boolean | undefined;
2620
+ } | undefined;
1980
2621
  }, {
1981
2622
  type: "scatterplot-umap";
1982
2623
  title: {
@@ -2170,6 +2811,41 @@ export declare const ScatterplotUmapSettingsSchema: z.ZodObject<{
2170
2811
  valueLabels?: string | undefined;
2171
2812
  nullValueLabel?: string | undefined;
2172
2813
  } | undefined;
2814
+ additionalCurves?: {
2815
+ curves: {
2816
+ label: string;
2817
+ columnName: {
2818
+ type: "column";
2819
+ value: string;
2820
+ format?: string | undefined;
2821
+ label?: string | undefined;
2822
+ valueLabels?: string | undefined;
2823
+ nullValueLabel?: string | undefined;
2824
+ };
2825
+ lineWidth?: number | undefined;
2826
+ lineShape?: "solid" | "dashed" | "dotted" | "dotdash" | "longdash" | "twodash" | undefined;
2827
+ lineColor?: string | {
2828
+ columnName: {
2829
+ type: "column";
2830
+ value: string;
2831
+ format?: string | undefined;
2832
+ label?: string | undefined;
2833
+ valueLabels?: string | undefined;
2834
+ nullValueLabel?: string | undefined;
2835
+ };
2836
+ domain: number[];
2837
+ range: string[];
2838
+ type?: "linear" | "log" | undefined;
2839
+ } | {
2840
+ type: "grouping";
2841
+ value: string;
2842
+ palette?: string[] | undefined;
2843
+ } | undefined;
2844
+ opacity?: number | undefined;
2845
+ showDots?: boolean | undefined;
2846
+ }[];
2847
+ smoothing?: boolean | undefined;
2848
+ } | undefined;
2173
2849
  }>;
2174
2850
  export type ScatterplotUmapSettings = z.infer<typeof ScatterplotUmapSettingsSchema>;
2175
2851
  export type ScatterplotUmapLegendInfo = ScatterplotLegendInfo;