@milaboratories/miplots4 1.0.124 → 1.0.126

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 (58) hide show
  1. package/dist/index.d.ts +3 -1
  2. package/dist/index.d.ts.map +1 -1
  3. package/dist/index.js +4 -2
  4. package/dist/index.js.map +1 -1
  5. package/dist/node_modules/d3-drag/src/constant.js +5 -0
  6. package/dist/node_modules/d3-drag/src/constant.js.map +1 -0
  7. package/dist/node_modules/d3-drag/src/drag.js +122 -0
  8. package/dist/node_modules/d3-drag/src/drag.js.map +1 -0
  9. package/dist/node_modules/d3-drag/src/event.js +34 -0
  10. package/dist/node_modules/d3-drag/src/event.js.map +1 -0
  11. package/dist/node_modules/d3-drag/src/noevent.js +10 -5
  12. package/dist/node_modules/d3-drag/src/noevent.js.map +1 -1
  13. package/dist/scatterplot/index.js +27 -27
  14. package/dist/scatterplot/index.js.map +1 -1
  15. package/dist/scatterplot-umap/ChartRenderer.d.ts +11 -9
  16. package/dist/scatterplot-umap/ChartRenderer.d.ts.map +1 -1
  17. package/dist/scatterplot-umap/ChartRenderer.js +182 -172
  18. package/dist/scatterplot-umap/ChartRenderer.js.map +1 -1
  19. package/dist/scatterplot-umap/SettingsImpl.d.ts +0 -1
  20. package/dist/scatterplot-umap/SettingsImpl.d.ts.map +1 -1
  21. package/dist/scatterplot-umap/SettingsImpl.js +12 -13
  22. package/dist/scatterplot-umap/SettingsImpl.js.map +1 -1
  23. package/dist/scatterplot-umap/components/Lasso.d.ts +6 -4
  24. package/dist/scatterplot-umap/components/Lasso.d.ts.map +1 -1
  25. package/dist/scatterplot-umap/components/Lasso.js +212 -57
  26. package/dist/scatterplot-umap/components/Lasso.js.map +1 -1
  27. package/dist/scatterplot-umap/components/SVGLayer.d.ts +1 -1
  28. package/dist/scatterplot-umap/components/SVGLayer.d.ts.map +1 -1
  29. package/dist/scatterplot-umap/components/SVGLayer.js +49 -46
  30. package/dist/scatterplot-umap/components/SVGLayer.js.map +1 -1
  31. package/dist/scatterplot-umap/components/UpperSVG.d.ts +6 -4
  32. package/dist/scatterplot-umap/components/UpperSVG.d.ts.map +1 -1
  33. package/dist/scatterplot-umap/components/UpperSVG.js +35 -30
  34. package/dist/scatterplot-umap/components/UpperSVG.js.map +1 -1
  35. package/dist/scatterplot-umap/constants.d.ts +6 -0
  36. package/dist/scatterplot-umap/constants.d.ts.map +1 -1
  37. package/dist/scatterplot-umap/constants.js +12 -6
  38. package/dist/scatterplot-umap/constants.js.map +1 -1
  39. package/dist/scatterplot-umap/index.d.ts +3 -2
  40. package/dist/scatterplot-umap/index.d.ts.map +1 -1
  41. package/dist/scatterplot-umap/index.js +90 -72
  42. package/dist/scatterplot-umap/index.js.map +1 -1
  43. package/dist/scatterplot-umap/types.d.ts +14 -2
  44. package/dist/scatterplot-umap/types.d.ts.map +1 -1
  45. package/dist/types/bubble.d.ts +10 -10
  46. package/dist/types/common.d.ts +7 -4
  47. package/dist/types/common.d.ts.map +1 -1
  48. package/dist/types/common.js.map +1 -1
  49. package/dist/types/dendro.d.ts +22 -22
  50. package/dist/types/discrete.d.ts +14 -14
  51. package/dist/types/heatmap.d.ts +50 -50
  52. package/dist/types/histogram.d.ts +12 -12
  53. package/dist/types/scatterplot-umap.d.ts +8 -11
  54. package/dist/types/scatterplot-umap.d.ts.map +1 -1
  55. package/dist/types/scatterplot-umap.js +2 -3
  56. package/dist/types/scatterplot-umap.js.map +1 -1
  57. package/dist/types/scatterplot.d.ts +36 -36
  58. package/package.json +3 -1
@@ -299,7 +299,7 @@ export declare const HeatmapSettingsSchema: z.ZodObject<{
299
299
  position: z.ZodOptional<z.ZodEnum<["top", "bottom"]>>;
300
300
  titlePosition: z.ZodOptional<z.ZodEnum<["left", "right"]>>;
301
301
  }>, "strip", z.ZodTypeAny, {
302
- type: "discrete" | "continuous";
302
+ type: "continuous" | "discrete";
303
303
  valueColumn: {
304
304
  type: "column";
305
305
  value: string;
@@ -312,7 +312,7 @@ export declare const HeatmapSettingsSchema: z.ZodObject<{
312
312
  titlePosition?: "left" | "right" | undefined;
313
313
  colors?: string[] | undefined;
314
314
  }, {
315
- type: "discrete" | "continuous";
315
+ type: "continuous" | "discrete";
316
316
  valueColumn: {
317
317
  type: "column";
318
318
  value: string;
@@ -349,7 +349,7 @@ export declare const HeatmapSettingsSchema: z.ZodObject<{
349
349
  position: z.ZodOptional<z.ZodEnum<["left", "right"]>>;
350
350
  titlePosition: z.ZodOptional<z.ZodEnum<["top", "bottom"]>>;
351
351
  }>, "strip", z.ZodTypeAny, {
352
- type: "discrete" | "continuous";
352
+ type: "continuous" | "discrete";
353
353
  valueColumn: {
354
354
  type: "column";
355
355
  value: string;
@@ -362,7 +362,7 @@ export declare const HeatmapSettingsSchema: z.ZodObject<{
362
362
  titlePosition?: "top" | "bottom" | undefined;
363
363
  colors?: string[] | undefined;
364
364
  }, {
365
- type: "discrete" | "continuous";
365
+ type: "continuous" | "discrete";
366
366
  valueColumn: {
367
367
  type: "column";
368
368
  value: string;
@@ -487,12 +487,12 @@ export declare const HeatmapSettingsSchema: z.ZodObject<{
487
487
  label?: string | undefined;
488
488
  valueLabels?: string | undefined;
489
489
  } | undefined;
490
- dotShape?: "0" | {
490
+ 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" | {
491
491
  type: "column";
492
492
  value: string;
493
493
  label?: string | undefined;
494
494
  valueLabels?: string | undefined;
495
- } | "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;
495
+ } | undefined;
496
496
  dotSize?: number | {
497
497
  type: "column";
498
498
  value: string;
@@ -524,12 +524,12 @@ export declare const HeatmapSettingsSchema: z.ZodObject<{
524
524
  label?: string | undefined;
525
525
  valueLabels?: string | undefined;
526
526
  } | undefined;
527
- dotShape?: "0" | {
527
+ 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" | {
528
528
  type: "column";
529
529
  value: string;
530
530
  label?: string | undefined;
531
531
  valueLabels?: string | undefined;
532
- } | "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;
532
+ } | undefined;
533
533
  dotSize?: number | {
534
534
  type: "column";
535
535
  value: string;
@@ -558,6 +558,7 @@ export declare const HeatmapSettingsSchema: z.ZodObject<{
558
558
  }, {
559
559
  position: z.ZodOptional<z.ZodEnum<["top", "bottom"]>>;
560
560
  }>, "strip", z.ZodTypeAny, {
561
+ size?: number | undefined;
561
562
  aes?: {
562
563
  dotFill?: string | {
563
564
  type: "column";
@@ -565,12 +566,12 @@ export declare const HeatmapSettingsSchema: z.ZodObject<{
565
566
  label?: string | undefined;
566
567
  valueLabels?: string | undefined;
567
568
  } | undefined;
568
- dotShape?: "0" | {
569
+ 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" | {
569
570
  type: "column";
570
571
  value: string;
571
572
  label?: string | undefined;
572
573
  valueLabels?: string | undefined;
573
- } | "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;
574
+ } | undefined;
574
575
  dotSize?: number | {
575
576
  type: "column";
576
577
  value: string;
@@ -597,7 +598,6 @@ export declare const HeatmapSettingsSchema: z.ZodObject<{
597
598
  } | undefined;
598
599
  } | undefined;
599
600
  position?: "top" | "bottom" | undefined;
600
- size?: number | undefined;
601
601
  distance?: "euclidean" | "squaredEuclidean" | undefined;
602
602
  linkage?: "average" | "complete" | "single" | undefined;
603
603
  showNodes?: boolean | undefined;
@@ -605,6 +605,7 @@ export declare const HeatmapSettingsSchema: z.ZodObject<{
605
605
  fillNA?: number | undefined;
606
606
  hidden?: boolean | undefined;
607
607
  }, {
608
+ size?: number | undefined;
608
609
  aes?: {
609
610
  dotFill?: string | {
610
611
  type: "column";
@@ -612,12 +613,12 @@ export declare const HeatmapSettingsSchema: z.ZodObject<{
612
613
  label?: string | undefined;
613
614
  valueLabels?: string | undefined;
614
615
  } | undefined;
615
- dotShape?: "0" | {
616
+ 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" | {
616
617
  type: "column";
617
618
  value: string;
618
619
  label?: string | undefined;
619
620
  valueLabels?: string | undefined;
620
- } | "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;
621
+ } | undefined;
621
622
  dotSize?: number | {
622
623
  type: "column";
623
624
  value: string;
@@ -644,7 +645,6 @@ export declare const HeatmapSettingsSchema: z.ZodObject<{
644
645
  } | undefined;
645
646
  } | undefined;
646
647
  position?: "top" | "bottom" | undefined;
647
- size?: number | undefined;
648
648
  distance?: "euclidean" | "squaredEuclidean" | undefined;
649
649
  linkage?: "average" | "complete" | "single" | undefined;
650
650
  showNodes?: boolean | undefined;
@@ -764,12 +764,12 @@ export declare const HeatmapSettingsSchema: z.ZodObject<{
764
764
  label?: string | undefined;
765
765
  valueLabels?: string | undefined;
766
766
  } | undefined;
767
- dotShape?: "0" | {
767
+ 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" | {
768
768
  type: "column";
769
769
  value: string;
770
770
  label?: string | undefined;
771
771
  valueLabels?: string | undefined;
772
- } | "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;
772
+ } | undefined;
773
773
  dotSize?: number | {
774
774
  type: "column";
775
775
  value: string;
@@ -801,12 +801,12 @@ export declare const HeatmapSettingsSchema: z.ZodObject<{
801
801
  label?: string | undefined;
802
802
  valueLabels?: string | undefined;
803
803
  } | undefined;
804
- dotShape?: "0" | {
804
+ 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" | {
805
805
  type: "column";
806
806
  value: string;
807
807
  label?: string | undefined;
808
808
  valueLabels?: string | undefined;
809
- } | "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;
809
+ } | undefined;
810
810
  dotSize?: number | {
811
811
  type: "column";
812
812
  value: string;
@@ -835,6 +835,7 @@ export declare const HeatmapSettingsSchema: z.ZodObject<{
835
835
  }, {
836
836
  position: z.ZodOptional<z.ZodEnum<["left", "right"]>>;
837
837
  }>, "strip", z.ZodTypeAny, {
838
+ size?: number | undefined;
838
839
  aes?: {
839
840
  dotFill?: string | {
840
841
  type: "column";
@@ -842,12 +843,12 @@ export declare const HeatmapSettingsSchema: z.ZodObject<{
842
843
  label?: string | undefined;
843
844
  valueLabels?: string | undefined;
844
845
  } | undefined;
845
- dotShape?: "0" | {
846
+ 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" | {
846
847
  type: "column";
847
848
  value: string;
848
849
  label?: string | undefined;
849
850
  valueLabels?: string | undefined;
850
- } | "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;
851
+ } | undefined;
851
852
  dotSize?: number | {
852
853
  type: "column";
853
854
  value: string;
@@ -874,7 +875,6 @@ export declare const HeatmapSettingsSchema: z.ZodObject<{
874
875
  } | undefined;
875
876
  } | undefined;
876
877
  position?: "left" | "right" | undefined;
877
- size?: number | undefined;
878
878
  distance?: "euclidean" | "squaredEuclidean" | undefined;
879
879
  linkage?: "average" | "complete" | "single" | undefined;
880
880
  showNodes?: boolean | undefined;
@@ -882,6 +882,7 @@ export declare const HeatmapSettingsSchema: z.ZodObject<{
882
882
  fillNA?: number | undefined;
883
883
  hidden?: boolean | undefined;
884
884
  }, {
885
+ size?: number | undefined;
885
886
  aes?: {
886
887
  dotFill?: string | {
887
888
  type: "column";
@@ -889,12 +890,12 @@ export declare const HeatmapSettingsSchema: z.ZodObject<{
889
890
  label?: string | undefined;
890
891
  valueLabels?: string | undefined;
891
892
  } | undefined;
892
- dotShape?: "0" | {
893
+ 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" | {
893
894
  type: "column";
894
895
  value: string;
895
896
  label?: string | undefined;
896
897
  valueLabels?: string | undefined;
897
- } | "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;
898
+ } | undefined;
898
899
  dotSize?: number | {
899
900
  type: "column";
900
901
  value: string;
@@ -921,7 +922,6 @@ export declare const HeatmapSettingsSchema: z.ZodObject<{
921
922
  } | undefined;
922
923
  } | undefined;
923
924
  position?: "left" | "right" | undefined;
924
- size?: number | undefined;
925
925
  distance?: "euclidean" | "squaredEuclidean" | undefined;
926
926
  linkage?: "average" | "complete" | "single" | undefined;
927
927
  showNodes?: boolean | undefined;
@@ -1008,6 +1008,10 @@ export declare const HeatmapSettingsSchema: z.ZodObject<{
1008
1008
  label?: string | undefined;
1009
1009
  valueLabels?: string | undefined;
1010
1010
  };
1011
+ size?: {
1012
+ width?: number | undefined;
1013
+ height?: number | undefined;
1014
+ } | undefined;
1011
1015
  aes?: {
1012
1016
  colorsList?: string[] | undefined;
1013
1017
  cellStrokeColor?: string | undefined;
@@ -1018,10 +1022,6 @@ export declare const HeatmapSettingsSchema: z.ZodObject<{
1018
1022
  groupGap?: number | undefined;
1019
1023
  cellGap?: number | undefined;
1020
1024
  } | undefined;
1021
- size?: {
1022
- width?: number | undefined;
1023
- height?: number | undefined;
1024
- } | undefined;
1025
1025
  legend?: {
1026
1026
  show?: boolean | undefined;
1027
1027
  position?: "right" | "inside" | "top" | "bottom" | undefined;
@@ -1080,7 +1080,7 @@ export declare const HeatmapSettingsSchema: z.ZodObject<{
1080
1080
  colorRange?: number[] | undefined;
1081
1081
  } | undefined;
1082
1082
  NAValueAs?: number | null | undefined;
1083
- valueType?: "discrete" | "continuous" | undefined;
1083
+ valueType?: "continuous" | "discrete" | undefined;
1084
1084
  xGroupBy?: {
1085
1085
  type: "column";
1086
1086
  value: string;
@@ -1094,7 +1094,7 @@ export declare const HeatmapSettingsSchema: z.ZodObject<{
1094
1094
  valueLabels?: string | undefined;
1095
1095
  }[] | undefined;
1096
1096
  annotations?: ({
1097
- type: "discrete" | "continuous";
1097
+ type: "continuous" | "discrete";
1098
1098
  valueColumn: {
1099
1099
  type: "column";
1100
1100
  value: string;
@@ -1107,7 +1107,7 @@ export declare const HeatmapSettingsSchema: z.ZodObject<{
1107
1107
  titlePosition?: "left" | "right" | undefined;
1108
1108
  colors?: string[] | undefined;
1109
1109
  } | {
1110
- type: "discrete" | "continuous";
1110
+ type: "continuous" | "discrete";
1111
1111
  valueColumn: {
1112
1112
  type: "column";
1113
1113
  value: string;
@@ -1121,6 +1121,7 @@ export declare const HeatmapSettingsSchema: z.ZodObject<{
1121
1121
  colors?: string[] | undefined;
1122
1122
  })[] | undefined;
1123
1123
  dendrogramX?: {
1124
+ size?: number | undefined;
1124
1125
  aes?: {
1125
1126
  dotFill?: string | {
1126
1127
  type: "column";
@@ -1128,12 +1129,12 @@ export declare const HeatmapSettingsSchema: z.ZodObject<{
1128
1129
  label?: string | undefined;
1129
1130
  valueLabels?: string | undefined;
1130
1131
  } | undefined;
1131
- dotShape?: "0" | {
1132
+ 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" | {
1132
1133
  type: "column";
1133
1134
  value: string;
1134
1135
  label?: string | undefined;
1135
1136
  valueLabels?: string | undefined;
1136
- } | "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;
1137
+ } | undefined;
1137
1138
  dotSize?: number | {
1138
1139
  type: "column";
1139
1140
  value: string;
@@ -1160,7 +1161,6 @@ export declare const HeatmapSettingsSchema: z.ZodObject<{
1160
1161
  } | undefined;
1161
1162
  } | undefined;
1162
1163
  position?: "top" | "bottom" | undefined;
1163
- size?: number | undefined;
1164
1164
  distance?: "euclidean" | "squaredEuclidean" | undefined;
1165
1165
  linkage?: "average" | "complete" | "single" | undefined;
1166
1166
  showNodes?: boolean | undefined;
@@ -1169,6 +1169,7 @@ export declare const HeatmapSettingsSchema: z.ZodObject<{
1169
1169
  hidden?: boolean | undefined;
1170
1170
  } | undefined;
1171
1171
  dendrogramY?: {
1172
+ size?: number | undefined;
1172
1173
  aes?: {
1173
1174
  dotFill?: string | {
1174
1175
  type: "column";
@@ -1176,12 +1177,12 @@ export declare const HeatmapSettingsSchema: z.ZodObject<{
1176
1177
  label?: string | undefined;
1177
1178
  valueLabels?: string | undefined;
1178
1179
  } | undefined;
1179
- dotShape?: "0" | {
1180
+ 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" | {
1180
1181
  type: "column";
1181
1182
  value: string;
1182
1183
  label?: string | undefined;
1183
1184
  valueLabels?: string | undefined;
1184
- } | "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;
1185
+ } | undefined;
1185
1186
  dotSize?: number | {
1186
1187
  type: "column";
1187
1188
  value: string;
@@ -1208,7 +1209,6 @@ export declare const HeatmapSettingsSchema: z.ZodObject<{
1208
1209
  } | undefined;
1209
1210
  } | undefined;
1210
1211
  position?: "left" | "right" | undefined;
1211
- size?: number | undefined;
1212
1212
  distance?: "euclidean" | "squaredEuclidean" | undefined;
1213
1213
  linkage?: "average" | "complete" | "single" | undefined;
1214
1214
  showNodes?: boolean | undefined;
@@ -1250,6 +1250,10 @@ export declare const HeatmapSettingsSchema: z.ZodObject<{
1250
1250
  label?: string | undefined;
1251
1251
  valueLabels?: string | undefined;
1252
1252
  };
1253
+ size?: {
1254
+ width?: number | undefined;
1255
+ height?: number | undefined;
1256
+ } | undefined;
1253
1257
  aes?: {
1254
1258
  colorsList?: string[] | undefined;
1255
1259
  cellStrokeColor?: string | undefined;
@@ -1260,10 +1264,6 @@ export declare const HeatmapSettingsSchema: z.ZodObject<{
1260
1264
  groupGap?: number | undefined;
1261
1265
  cellGap?: number | undefined;
1262
1266
  } | undefined;
1263
- size?: {
1264
- width?: number | undefined;
1265
- height?: number | undefined;
1266
- } | undefined;
1267
1267
  legend?: {
1268
1268
  show?: boolean | undefined;
1269
1269
  position?: "right" | "inside" | "top" | "bottom" | undefined;
@@ -1322,7 +1322,7 @@ export declare const HeatmapSettingsSchema: z.ZodObject<{
1322
1322
  colorRange?: number[] | undefined;
1323
1323
  } | undefined;
1324
1324
  NAValueAs?: number | null | undefined;
1325
- valueType?: "discrete" | "continuous" | undefined;
1325
+ valueType?: "continuous" | "discrete" | undefined;
1326
1326
  xGroupBy?: {
1327
1327
  type: "column";
1328
1328
  value: string;
@@ -1336,7 +1336,7 @@ export declare const HeatmapSettingsSchema: z.ZodObject<{
1336
1336
  valueLabels?: string | undefined;
1337
1337
  }[] | undefined;
1338
1338
  annotations?: ({
1339
- type: "discrete" | "continuous";
1339
+ type: "continuous" | "discrete";
1340
1340
  valueColumn: {
1341
1341
  type: "column";
1342
1342
  value: string;
@@ -1349,7 +1349,7 @@ export declare const HeatmapSettingsSchema: z.ZodObject<{
1349
1349
  titlePosition?: "left" | "right" | undefined;
1350
1350
  colors?: string[] | undefined;
1351
1351
  } | {
1352
- type: "discrete" | "continuous";
1352
+ type: "continuous" | "discrete";
1353
1353
  valueColumn: {
1354
1354
  type: "column";
1355
1355
  value: string;
@@ -1363,6 +1363,7 @@ export declare const HeatmapSettingsSchema: z.ZodObject<{
1363
1363
  colors?: string[] | undefined;
1364
1364
  })[] | undefined;
1365
1365
  dendrogramX?: {
1366
+ size?: number | undefined;
1366
1367
  aes?: {
1367
1368
  dotFill?: string | {
1368
1369
  type: "column";
@@ -1370,12 +1371,12 @@ export declare const HeatmapSettingsSchema: z.ZodObject<{
1370
1371
  label?: string | undefined;
1371
1372
  valueLabels?: string | undefined;
1372
1373
  } | undefined;
1373
- dotShape?: "0" | {
1374
+ 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" | {
1374
1375
  type: "column";
1375
1376
  value: string;
1376
1377
  label?: string | undefined;
1377
1378
  valueLabels?: string | undefined;
1378
- } | "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;
1379
+ } | undefined;
1379
1380
  dotSize?: number | {
1380
1381
  type: "column";
1381
1382
  value: string;
@@ -1402,7 +1403,6 @@ export declare const HeatmapSettingsSchema: z.ZodObject<{
1402
1403
  } | undefined;
1403
1404
  } | undefined;
1404
1405
  position?: "top" | "bottom" | undefined;
1405
- size?: number | undefined;
1406
1406
  distance?: "euclidean" | "squaredEuclidean" | undefined;
1407
1407
  linkage?: "average" | "complete" | "single" | undefined;
1408
1408
  showNodes?: boolean | undefined;
@@ -1411,6 +1411,7 @@ export declare const HeatmapSettingsSchema: z.ZodObject<{
1411
1411
  hidden?: boolean | undefined;
1412
1412
  } | undefined;
1413
1413
  dendrogramY?: {
1414
+ size?: number | undefined;
1414
1415
  aes?: {
1415
1416
  dotFill?: string | {
1416
1417
  type: "column";
@@ -1418,12 +1419,12 @@ export declare const HeatmapSettingsSchema: z.ZodObject<{
1418
1419
  label?: string | undefined;
1419
1420
  valueLabels?: string | undefined;
1420
1421
  } | undefined;
1421
- dotShape?: "0" | {
1422
+ 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" | {
1422
1423
  type: "column";
1423
1424
  value: string;
1424
1425
  label?: string | undefined;
1425
1426
  valueLabels?: string | undefined;
1426
- } | "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;
1427
+ } | undefined;
1427
1428
  dotSize?: number | {
1428
1429
  type: "column";
1429
1430
  value: string;
@@ -1450,7 +1451,6 @@ export declare const HeatmapSettingsSchema: z.ZodObject<{
1450
1451
  } | undefined;
1451
1452
  } | undefined;
1452
1453
  position?: "left" | "right" | undefined;
1453
- size?: number | undefined;
1454
1454
  distance?: "euclidean" | "squaredEuclidean" | undefined;
1455
1455
  linkage?: "average" | "complete" | "single" | undefined;
1456
1456
  showNodes?: boolean | undefined;
@@ -549,18 +549,18 @@ export declare const HistogramSettingsSchema: z.ZodObject<{
549
549
  label?: string | undefined;
550
550
  valueLabels?: string | undefined;
551
551
  };
552
- grouping?: {
553
- type: "column";
554
- value: string;
555
- label?: string | undefined;
556
- valueLabels?: string | undefined;
557
- } | undefined;
558
552
  size?: {
559
553
  width?: number | undefined;
560
554
  height?: number | undefined;
561
555
  outerOffset?: number | undefined;
562
556
  innerOffset?: number | undefined;
563
557
  } | undefined;
558
+ grouping?: {
559
+ type: "column";
560
+ value: string;
561
+ label?: string | undefined;
562
+ valueLabels?: string | undefined;
563
+ } | undefined;
564
564
  legend?: {
565
565
  show?: boolean | undefined;
566
566
  position?: "right" | "inside" | "top" | "bottom" | undefined;
@@ -643,18 +643,18 @@ export declare const HistogramSettingsSchema: z.ZodObject<{
643
643
  label?: string | undefined;
644
644
  valueLabels?: string | undefined;
645
645
  };
646
- grouping?: {
647
- type: "column";
648
- value: string;
649
- label?: string | undefined;
650
- valueLabels?: string | undefined;
651
- } | undefined;
652
646
  size?: {
653
647
  width?: number | undefined;
654
648
  height?: number | undefined;
655
649
  outerOffset?: number | undefined;
656
650
  innerOffset?: number | undefined;
657
651
  } | undefined;
652
+ grouping?: {
653
+ type: "column";
654
+ value: string;
655
+ label?: string | undefined;
656
+ valueLabels?: string | undefined;
657
+ } | undefined;
658
658
  legend?: {
659
659
  show?: boolean | undefined;
660
660
  position?: "right" | "inside" | "top" | "bottom" | undefined;
@@ -1523,7 +1523,6 @@ export declare const ScatterplotUmapSettingsSchema: z.ZodObject<{
1523
1523
  } | undefined;
1524
1524
  smoothing?: boolean | undefined;
1525
1525
  }>]>, "many">;
1526
- lassoMode: z.ZodOptional<z.ZodBoolean>;
1527
1526
  }, "strip", z.ZodTypeAny, {
1528
1527
  type: "scatterplot-umap";
1529
1528
  title: {
@@ -1602,6 +1601,10 @@ export declare const ScatterplotUmapSettingsSchema: z.ZodObject<{
1602
1601
  } | undefined;
1603
1602
  smoothing?: boolean | undefined;
1604
1603
  })[];
1604
+ size?: {
1605
+ width?: number | undefined;
1606
+ height?: number | undefined;
1607
+ } | undefined;
1605
1608
  label?: {
1606
1609
  type: "column";
1607
1610
  value: string;
@@ -1614,10 +1617,6 @@ export declare const ScatterplotUmapSettingsSchema: z.ZodObject<{
1614
1617
  label?: string | undefined;
1615
1618
  valueLabels?: string | undefined;
1616
1619
  }[] | undefined;
1617
- size?: {
1618
- width?: number | undefined;
1619
- height?: number | undefined;
1620
- } | undefined;
1621
1620
  legend?: {
1622
1621
  show?: boolean | undefined;
1623
1622
  position?: "right" | "inside" | "top" | "bottom" | undefined;
@@ -1693,7 +1692,6 @@ export declare const ScatterplotUmapSettingsSchema: z.ZodObject<{
1693
1692
  lineColor?: string | undefined;
1694
1693
  fillColor?: string | undefined;
1695
1694
  }>> | undefined;
1696
- lassoMode?: boolean | undefined;
1697
1695
  }, {
1698
1696
  type: "scatterplot-umap";
1699
1697
  title: {
@@ -1772,6 +1770,10 @@ export declare const ScatterplotUmapSettingsSchema: z.ZodObject<{
1772
1770
  } | undefined;
1773
1771
  smoothing?: boolean | undefined;
1774
1772
  })[];
1773
+ size?: {
1774
+ width?: number | undefined;
1775
+ height?: number | undefined;
1776
+ } | undefined;
1775
1777
  label?: {
1776
1778
  type: "column";
1777
1779
  value: string;
@@ -1784,10 +1786,6 @@ export declare const ScatterplotUmapSettingsSchema: z.ZodObject<{
1784
1786
  label?: string | undefined;
1785
1787
  valueLabels?: string | undefined;
1786
1788
  }[] | undefined;
1787
- size?: {
1788
- width?: number | undefined;
1789
- height?: number | undefined;
1790
- } | undefined;
1791
1789
  legend?: {
1792
1790
  show?: boolean | undefined;
1793
1791
  position?: "right" | "inside" | "top" | "bottom" | undefined;
@@ -1863,7 +1861,6 @@ export declare const ScatterplotUmapSettingsSchema: z.ZodObject<{
1863
1861
  lineColor?: string | undefined;
1864
1862
  fillColor?: string | undefined;
1865
1863
  }>> | undefined;
1866
- lassoMode?: boolean | undefined;
1867
1864
  }>;
1868
1865
  export type ScatterplotUmapSettings = z.infer<typeof ScatterplotUmapSettingsSchema>;
1869
1866
  export type ScatterplotUmapLegendInfo = Record<string, {
@@ -1 +1 @@
1
- {"version":3,"file":"scatterplot-umap.d.ts","sourceRoot":"","sources":["../../src/types/scatterplot-umap.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,OAAO,EAAE,MAAM,EAAE,oCAAoC,EAAC,MAAM,UAAU,CAAC;AACpF,OAAO,EAAC,mCAAmC,EAAkB,MAAM,UAAU,CAAC;AAU9E,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAC;AAEtB,KAAK,gBAAgB,CAAC,SAAS,SAAS,CAAC,CAAC,OAAO,IAAI,UAAU,CAAC,OAAO,oCAAoC,CAAC,SAAS,CAAC,CAAC,CAAC;AACxH,KAAK,iBAAiB,CAAC,SAAS,SAAS,CAAC,CAAC,OAAO,IAAI,UAAU,CAAC,OAAO,mCAAmC,CAAC,SAAS,CAAC,CAAC,CAAC;AAExH,MAAM,MAAM,wBAAwB,CAAC,SAAS,IAAI,CAAC,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAC,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC;AAClG,MAAM,MAAM,uBAAuB,CAAC,SAAS,IAAI,CAAC,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC;AAElG,QAAA,MAAM,gBAAgB;;;;;;;;;;;;EAIpB,CAAC;AACH,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAErE,QAA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoCxC,CAAC;AAEH,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAC;AAEpF,MAAM,MAAM,yBAAyB,GAAG,MAAM,CAC1C,MAAM,EACN;IACI,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,OAAO,EAAE,CAAC,MAAM,OAAO,CAAC,EAAE,CAAC;IAC3B,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CAClC,CACJ,CAAC"}
@@ -28,7 +28,7 @@ const a = o.object({
28
28
  opacity: o.optional(o.number())
29
29
  })
30
30
  )
31
- }), b = o.union([m, h]), g = o.object({
31
+ }), S = o.union([m, h]), g = o.object({
32
32
  type: o.literal("scatterplot-umap"),
33
33
  title: o.object({
34
34
  name: o.string(),
@@ -63,8 +63,7 @@ const a = o.object({
63
63
  label: o.optional(t),
64
64
  highlight: o.optional(t),
65
65
  inheritedAes: o.optional(o.record(o.string(), p)),
66
- layers: o.array(b),
67
- lassoMode: o.optional(o.boolean())
66
+ layers: o.array(S)
68
67
  });
69
68
  export {
70
69
  g as ScatterplotUmapSettingsSchema
@@ -1 +1 @@
1
- {"version":3,"file":"scatterplot-umap.js","sources":["../../src/types/scatterplot-umap.ts"],"sourcesContent":["import type {AesItem, AesMap, categoricalAesMappingFromValueSchema} from './common';\nimport {continuousAesMappingFromValueSchema, LineShapeSchema} from './common';\nimport {AesMapSchema} from './common';\nimport {\n AxisSettingsSchema,\n ColumnNameSchema,\n FrameTypeSchema,\n LegendPositionSchema,\n PointShapeSchema,\n TitlePositionSchema,\n} from './common';\nimport {z} from 'zod';\n\ntype catAesFromColumn<ValueType extends z.ZodType> = ReturnType<typeof categoricalAesMappingFromValueSchema<ValueType>>;\ntype contAesFromColumn<ValueType extends z.ZodType> = ReturnType<typeof continuousAesMappingFromValueSchema<ValueType>>;\n\nexport type CategoricalAesFromColumn<ValueType> = z.infer<catAesFromColumn<z.ZodType<ValueType>>>;\nexport type ContinuousAesFromColumn<ValueType> = z.infer<contAesFromColumn<z.ZodType<ValueType>>>;\n\nconst InheritAesSchema = z.object({\n type: z.literal('grouping'),\n value: z.string(), // link to aes mapped to column\n palette: z.optional(z.array(z.string())) // if defined we use palette to create mapping without inheritedAes field\n});\nexport type InheritAesScatterplot = z.infer<typeof InheritAesSchema>;\n\nconst DotsUmapLayerSchema = z.object({\n type: z.literal('dots'),\n aes: z.optional(\n z.object({\n dotFill: z.optional(\n z.union([z.string(), InheritAesSchema, continuousAesMappingFromValueSchema(z.string())])\n ),\n dotShape: z.optional(z.union([PointShapeSchema, InheritAesSchema])),\n dotSize: z.optional(z.union([z.number(), continuousAesMappingFromValueSchema(z.number())])),\n })\n ),\n});\n\nconst CurveUmapLayerSchema = z.object({\n type: z.literal('curve'),\n smoothing: z.optional(z.boolean()),\n aes: z.optional(\n z.object({\n lineWidth: z.optional(z.number()),\n lineShape: z.optional(LineShapeSchema),\n lineColor: z.optional(z.union([z.string(), InheritAesSchema, continuousAesMappingFromValueSchema(z.string())])),\n opacity: z.optional(z.number()),\n })\n ),\n});\n\nconst ScatterplotUmapLayerSchema = z.union([DotsUmapLayerSchema, CurveUmapLayerSchema]);\n\nexport type DotsUmapLayer = z.infer<typeof DotsUmapLayerSchema>;\nexport type CurveUmapLayer = z.infer<typeof CurveUmapLayerSchema>;\nexport type ScatterplotUmapLayer = z.infer<typeof ScatterplotUmapLayerSchema>;\n\nexport const ScatterplotUmapSettingsSchema = z.object({\n type: z.literal('scatterplot-umap'),\n title: z.object({\n name: z.string(),\n show: z.optional(z.boolean()),\n position: z.optional(TitlePositionSchema),\n }),\n size: z.optional(\n z.object({\n width: z.optional(z.number()),\n height: z.optional(z.number()),\n })\n ),\n legend: z.optional(\n z.object({\n show: z.optional(z.boolean()),\n position: z.optional(LegendPositionSchema),\n })\n ),\n tooltips: z.optional(\n z.object({\n show: z.optional(z.boolean()),\n content: z.optional(z.array(ColumnNameSchema)),\n })\n ),\n frame: z.optional(z.object({type: z.optional(FrameTypeSchema)})),\n keyColumn: z.optional(ColumnNameSchema),\n x: ColumnNameSchema,\n y: ColumnNameSchema,\n xAxis: z.optional(AxisSettingsSchema),\n yAxis: z.optional(AxisSettingsSchema),\n grouping: z.optional(z.array(ColumnNameSchema)),\n label: z.optional(ColumnNameSchema),\n highlight: z.optional(ColumnNameSchema),\n inheritedAes: z.optional(z.record(z.string(), AesMapSchema)),\n layers: z.array(ScatterplotUmapLayerSchema),\n lassoMode: z.optional(z.boolean())\n});\n\nexport type ScatterplotUmapSettings = z.infer<typeof ScatterplotUmapSettingsSchema>;\n\nexport type ScatterplotUmapLegendInfo = Record<\n string,\n {\n values: string[];\n usedAes: (keyof AesItem)[];\n aesMap: AesMap;\n labels: Record<string, string>;\n }\n>;\n"],"names":["InheritAesSchema","z","DotsUmapLayerSchema","continuousAesMappingFromValueSchema","PointShapeSchema","CurveUmapLayerSchema","LineShapeSchema","ScatterplotUmapLayerSchema","ScatterplotUmapSettingsSchema","TitlePositionSchema","LegendPositionSchema","ColumnNameSchema","FrameTypeSchema","AxisSettingsSchema","AesMapSchema"],"mappings":";;AAmBA,MAAMA,IAAmBC,EAAE,OAAO;AAAA,EAC9B,MAAMA,EAAE,QAAQ,UAAU;AAAA,EAC1B,OAAOA,EAAE,OAAA;AAAA;AAAA,EACT,SAASA,EAAE,SAASA,EAAE,MAAMA,EAAE,QAAQ,CAAC;AAAA;AAC3C,CAAC,GAGKC,IAAsBD,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AA,IACJA,EAAE,OAAO;AAAA,MACL,OAAOA,EAAE,SAASA,EAAE,QAAQ;AAAA,MAC5B,QAAQA,EAAE,SAASA,EAAE,QAAQ;AAAA,IAAA,CAChC;AAAA,EAAA;AAAA,EAEL,QAAQA,EAAE;AAAA,IACNA,EAAE,OAAO;AAAA,MACL,MAAMA,EAAE,SAASA,EAAE,SAAS;AAAA,MAC5B,UAAUA,EAAE,SAASS,CAAoB;AAAA,IAAA,CAC5C;AAAA,EAAA;AAAA,EAEL,UAAUT,EAAE;AAAA,IACRA,EAAE,OAAO;AAAA,MACL,MAAMA,EAAE,SAASA,EAAE,SAAS;AAAA,MAC5B,SAASA,EAAE,SAASA,EAAE,MAAMU,CAAgB,CAAC;AAAA,IAAA,CAChD;AAAA,EAAA;AAAA,EAEL,OAAOV,EAAE,SAASA,EAAE,OAAO,EAAC,MAAMA,EAAE,SAASW,CAAe,EAAA,CAAE,CAAC;AAAA,EAC/D,WAAWX,EAAE,SAASU,CAAgB;AAAA,EACtC,GAAGA;AAAA,EACH,GAAGA;AAAA,EACH,OAAOV,EAAE,SAASY,CAAkB;AAAA,EACpC,OAAOZ,EAAE,SAASY,CAAkB;AAAA,EACpC,UAAUZ,EAAE,SAASA,EAAE,MAAMU,CAAgB,CAAC;AAAA,EAC9C,OAAOV,EAAE,SAASU,CAAgB;AAAA,EAClC,WAAWV,EAAE,SAASU,CAAgB;AAAA,EACtC,cAAcV,EAAE,SAASA,EAAE,OAAOA,EAAE,UAAUa,CAAY,CAAC;AAAA,EAC3D,QAAQb,EAAE,MAAMM,CAA0B;AAAA,EAC1C,WAAWN,EAAE,SAASA,EAAE,SAAS;AACrC,CAAC;"}
1
+ {"version":3,"file":"scatterplot-umap.js","sources":["../../src/types/scatterplot-umap.ts"],"sourcesContent":["import type {AesItem, AesMap, categoricalAesMappingFromValueSchema} from './common';\nimport {continuousAesMappingFromValueSchema, LineShapeSchema} from './common';\nimport {AesMapSchema} from './common';\nimport {\n AxisSettingsSchema,\n ColumnNameSchema,\n FrameTypeSchema,\n LegendPositionSchema,\n PointShapeSchema,\n TitlePositionSchema,\n} from './common';\nimport {z} from 'zod';\n\ntype catAesFromColumn<ValueType extends z.ZodType> = ReturnType<typeof categoricalAesMappingFromValueSchema<ValueType>>;\ntype contAesFromColumn<ValueType extends z.ZodType> = ReturnType<typeof continuousAesMappingFromValueSchema<ValueType>>;\n\nexport type CategoricalAesFromColumn<ValueType> = z.infer<catAesFromColumn<z.ZodType<ValueType>>>;\nexport type ContinuousAesFromColumn<ValueType> = z.infer<contAesFromColumn<z.ZodType<ValueType>>>;\n\nconst InheritAesSchema = z.object({\n type: z.literal('grouping'),\n value: z.string(), // link to aes mapped to column\n palette: z.optional(z.array(z.string())) // if defined we use palette to create mapping without inheritedAes field\n});\nexport type InheritAesScatterplot = z.infer<typeof InheritAesSchema>;\n\nconst DotsUmapLayerSchema = z.object({\n type: z.literal('dots'),\n aes: z.optional(\n z.object({\n dotFill: z.optional(\n z.union([z.string(), InheritAesSchema, continuousAesMappingFromValueSchema(z.string())])\n ),\n dotShape: z.optional(z.union([PointShapeSchema, InheritAesSchema])),\n dotSize: z.optional(z.union([z.number(), continuousAesMappingFromValueSchema(z.number())])),\n })\n ),\n});\n\nconst CurveUmapLayerSchema = z.object({\n type: z.literal('curve'),\n smoothing: z.optional(z.boolean()),\n aes: z.optional(\n z.object({\n lineWidth: z.optional(z.number()),\n lineShape: z.optional(LineShapeSchema),\n lineColor: z.optional(z.union([z.string(), InheritAesSchema, continuousAesMappingFromValueSchema(z.string())])),\n opacity: z.optional(z.number()),\n })\n ),\n});\n\nconst ScatterplotUmapLayerSchema = z.union([DotsUmapLayerSchema, CurveUmapLayerSchema]);\n\nexport type DotsUmapLayer = z.infer<typeof DotsUmapLayerSchema>;\nexport type CurveUmapLayer = z.infer<typeof CurveUmapLayerSchema>;\nexport type ScatterplotUmapLayer = z.infer<typeof ScatterplotUmapLayerSchema>;\n\nexport const ScatterplotUmapSettingsSchema = z.object({\n type: z.literal('scatterplot-umap'),\n title: z.object({\n name: z.string(),\n show: z.optional(z.boolean()),\n position: z.optional(TitlePositionSchema),\n }),\n size: z.optional(\n z.object({\n width: z.optional(z.number()),\n height: z.optional(z.number()),\n })\n ),\n legend: z.optional(\n z.object({\n show: z.optional(z.boolean()),\n position: z.optional(LegendPositionSchema),\n })\n ),\n tooltips: z.optional(\n z.object({\n show: z.optional(z.boolean()),\n content: z.optional(z.array(ColumnNameSchema)),\n })\n ),\n frame: z.optional(z.object({type: z.optional(FrameTypeSchema)})),\n keyColumn: z.optional(ColumnNameSchema),\n x: ColumnNameSchema,\n y: ColumnNameSchema,\n xAxis: z.optional(AxisSettingsSchema),\n yAxis: z.optional(AxisSettingsSchema),\n grouping: z.optional(z.array(ColumnNameSchema)),\n label: z.optional(ColumnNameSchema),\n highlight: z.optional(ColumnNameSchema),\n inheritedAes: z.optional(z.record(z.string(), AesMapSchema)),\n layers: z.array(ScatterplotUmapLayerSchema)\n});\n\nexport type ScatterplotUmapSettings = z.infer<typeof ScatterplotUmapSettingsSchema>;\n\nexport type ScatterplotUmapLegendInfo = Record<\n string,\n {\n values: string[];\n usedAes: (keyof AesItem)[];\n aesMap: AesMap;\n labels: Record<string, string>;\n }\n>;\n"],"names":["InheritAesSchema","z","DotsUmapLayerSchema","continuousAesMappingFromValueSchema","PointShapeSchema","CurveUmapLayerSchema","LineShapeSchema","ScatterplotUmapLayerSchema","ScatterplotUmapSettingsSchema","TitlePositionSchema","LegendPositionSchema","ColumnNameSchema","FrameTypeSchema","AxisSettingsSchema","AesMapSchema"],"mappings":";;AAmBA,MAAMA,IAAmBC,EAAE,OAAO;AAAA,EAC9B,MAAMA,EAAE,QAAQ,UAAU;AAAA,EAC1B,OAAOA,EAAE,OAAA;AAAA;AAAA,EACT,SAASA,EAAE,SAASA,EAAE,MAAMA,EAAE,QAAQ,CAAC;AAAA;AAC3C,CAAC,GAGKC,IAAsBD,EAAE,OAAO;AAAA,EACjC,MAAMA,EAAE,QAAQ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