@milaboratories/miplots4 1.0.131 → 1.0.132
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/heatmap/components/Annotations/Annotation.d.ts.map +1 -1
- package/dist/heatmap/components/Annotations/Annotation.js +34 -33
- package/dist/heatmap/components/Annotations/Annotation.js.map +1 -1
- package/dist/heatmap/components/Chart.d.ts.map +1 -1
- package/dist/heatmap/components/Chart.js +90 -85
- package/dist/heatmap/components/Chart.js.map +1 -1
- package/dist/heatmap/components/types.d.ts +2 -1
- package/dist/heatmap/components/types.d.ts.map +1 -1
- package/dist/scatterplot/ScatterplotSettingsImpl.d.ts +6 -3
- package/dist/scatterplot/ScatterplotSettingsImpl.d.ts.map +1 -1
- package/dist/scatterplot/ScatterplotSettingsImpl.js +56 -57
- package/dist/scatterplot/ScatterplotSettingsImpl.js.map +1 -1
- package/dist/scatterplot/dots.d.ts +2 -1
- package/dist/scatterplot/dots.d.ts.map +1 -1
- package/dist/scatterplot/dots.js +24 -27
- package/dist/scatterplot/dots.js.map +1 -1
- package/dist/scatterplot/getLayersData.d.ts.map +1 -1
- package/dist/scatterplot/getLayersData.js +15 -12
- package/dist/scatterplot/getLayersData.js.map +1 -1
- package/dist/scatterplot/index.d.ts.map +1 -1
- package/dist/scatterplot/index.js +66 -72
- package/dist/scatterplot/index.js.map +1 -1
- package/dist/scatterplot/utils/createLegendInfo.d.ts +3 -3
- package/dist/scatterplot/utils/createLegendInfo.d.ts.map +1 -1
- package/dist/scatterplot/utils/createLegendInfo.js +44 -39
- package/dist/scatterplot/utils/createLegendInfo.js.map +1 -1
- package/dist/scatterplot/utils/sortDotsByGrouping.d.ts +8 -0
- package/dist/scatterplot/utils/sortDotsByGrouping.d.ts.map +1 -0
- package/dist/scatterplot/utils/sortDotsByGrouping.js +18 -0
- package/dist/scatterplot/utils/sortDotsByGrouping.js.map +1 -0
- package/dist/scatterplot-umap/SettingsImpl.d.ts +6 -3
- package/dist/scatterplot-umap/SettingsImpl.d.ts.map +1 -1
- package/dist/scatterplot-umap/SettingsImpl.js +38 -39
- package/dist/scatterplot-umap/SettingsImpl.js.map +1 -1
- package/dist/scatterplot-umap/index.d.ts.map +1 -1
- package/dist/scatterplot-umap/index.js +69 -65
- package/dist/scatterplot-umap/index.js.map +1 -1
- package/dist/types/bubble.d.ts +12 -12
- package/dist/types/dendro.d.ts +8 -8
- package/dist/types/discrete.d.ts +20 -20
- package/dist/types/heatmap.d.ts +28 -28
- package/dist/types/histogram.d.ts +22 -22
- package/dist/types/scatterplot-umap.d.ts +126 -76
- package/dist/types/scatterplot-umap.d.ts.map +1 -1
- package/dist/types/scatterplot-umap.js +22 -16
- package/dist/types/scatterplot-umap.js.map +1 -1
- package/dist/types/scatterplot.d.ts +126 -76
- package/dist/types/scatterplot.d.ts.map +1 -1
- package/dist/types/scatterplot.js +16 -10
- package/dist/types/scatterplot.js.map +1 -1
- package/dist/utils/arraysAreDifferent.d.ts +2 -0
- package/dist/utils/arraysAreDifferent.d.ts.map +1 -0
- package/dist/utils/arraysAreDifferent.js +7 -0
- package/dist/utils/arraysAreDifferent.js.map +1 -0
- package/dist/utils/getChartEdgeSides.d.ts +1 -1
- package/package.json +1 -1
|
@@ -867,11 +867,11 @@ export declare const ScatterplotSettingsSchema: z.ZodObject<{
|
|
|
867
867
|
}, "strip", z.ZodTypeAny, {
|
|
868
868
|
name: string;
|
|
869
869
|
show?: boolean | undefined;
|
|
870
|
-
position?: "
|
|
870
|
+
position?: "left" | "center" | "right" | undefined;
|
|
871
871
|
}, {
|
|
872
872
|
name: string;
|
|
873
873
|
show?: boolean | undefined;
|
|
874
|
-
position?: "
|
|
874
|
+
position?: "left" | "center" | "right" | undefined;
|
|
875
875
|
}>;
|
|
876
876
|
size: z.ZodOptional<z.ZodObject<{
|
|
877
877
|
width: z.ZodOptional<z.ZodNumber>;
|
|
@@ -888,10 +888,10 @@ export declare const ScatterplotSettingsSchema: z.ZodObject<{
|
|
|
888
888
|
position: z.ZodOptional<z.ZodEnum<["inside", "right", "top", "bottom"]>>;
|
|
889
889
|
}, "strip", z.ZodTypeAny, {
|
|
890
890
|
show?: boolean | undefined;
|
|
891
|
-
position?: "right" | "
|
|
891
|
+
position?: "right" | "inside" | "top" | "bottom" | undefined;
|
|
892
892
|
}, {
|
|
893
893
|
show?: boolean | undefined;
|
|
894
|
-
position?: "right" | "
|
|
894
|
+
position?: "right" | "inside" | "top" | "bottom" | undefined;
|
|
895
895
|
}>>;
|
|
896
896
|
tooltips: z.ZodOptional<z.ZodObject<{
|
|
897
897
|
show: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1154,23 +1154,90 @@ export declare const ScatterplotSettingsSchema: z.ZodObject<{
|
|
|
1154
1154
|
hiddenLabels?: boolean | undefined;
|
|
1155
1155
|
}>>;
|
|
1156
1156
|
grouping: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1157
|
+
columnName: z.ZodObject<{
|
|
1158
|
+
type: z.ZodLiteral<"column">;
|
|
1159
|
+
value: z.ZodString;
|
|
1160
|
+
format: z.ZodOptional<z.ZodString>;
|
|
1161
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1162
|
+
valueLabels: z.ZodOptional<z.ZodString>;
|
|
1163
|
+
}, "strip", z.ZodTypeAny, {
|
|
1164
|
+
type: "column";
|
|
1165
|
+
value: string;
|
|
1166
|
+
format?: string | undefined;
|
|
1167
|
+
label?: string | undefined;
|
|
1168
|
+
valueLabels?: string | undefined;
|
|
1169
|
+
}, {
|
|
1170
|
+
type: "column";
|
|
1171
|
+
value: string;
|
|
1172
|
+
format?: string | undefined;
|
|
1173
|
+
label?: string | undefined;
|
|
1174
|
+
valueLabels?: string | undefined;
|
|
1175
|
+
}>;
|
|
1176
|
+
order: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodNull]>, "many">>;
|
|
1177
|
+
inheritedAes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1178
|
+
fillColor: z.ZodOptional<z.ZodString>;
|
|
1179
|
+
lineColor: z.ZodOptional<z.ZodString>;
|
|
1180
|
+
lineWidth: z.ZodOptional<z.ZodNumber>;
|
|
1181
|
+
lineShape: z.ZodOptional<z.ZodEnum<["solid", "dashed", "dotted", "dotdash", "longdash", "twodash"]>>;
|
|
1182
|
+
dotShape: z.ZodOptional<z.ZodEnum<["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"]>>;
|
|
1183
|
+
dotSize: z.ZodOptional<z.ZodNumber>;
|
|
1184
|
+
dotFill: z.ZodOptional<z.ZodString>;
|
|
1185
|
+
}, "strip", z.ZodTypeAny, {
|
|
1186
|
+
dotFill?: string | undefined;
|
|
1187
|
+
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;
|
|
1188
|
+
dotSize?: number | undefined;
|
|
1189
|
+
lineWidth?: number | undefined;
|
|
1190
|
+
lineShape?: "solid" | "dashed" | "dotted" | "dotdash" | "longdash" | "twodash" | undefined;
|
|
1191
|
+
lineColor?: string | undefined;
|
|
1192
|
+
fillColor?: string | undefined;
|
|
1193
|
+
}, {
|
|
1194
|
+
dotFill?: string | undefined;
|
|
1195
|
+
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;
|
|
1196
|
+
dotSize?: number | undefined;
|
|
1197
|
+
lineWidth?: number | undefined;
|
|
1198
|
+
lineShape?: "solid" | "dashed" | "dotted" | "dotdash" | "longdash" | "twodash" | undefined;
|
|
1199
|
+
lineColor?: string | undefined;
|
|
1200
|
+
fillColor?: string | undefined;
|
|
1201
|
+
}>>>;
|
|
1202
|
+
allowNullGroup: z.ZodOptional<z.ZodBoolean>;
|
|
1162
1203
|
}, "strip", z.ZodTypeAny, {
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1204
|
+
columnName: {
|
|
1205
|
+
type: "column";
|
|
1206
|
+
value: string;
|
|
1207
|
+
format?: string | undefined;
|
|
1208
|
+
label?: string | undefined;
|
|
1209
|
+
valueLabels?: string | undefined;
|
|
1210
|
+
};
|
|
1211
|
+
order?: (string | number | null)[] | undefined;
|
|
1212
|
+
inheritedAes?: Record<string, {
|
|
1213
|
+
dotFill?: string | undefined;
|
|
1214
|
+
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;
|
|
1215
|
+
dotSize?: number | undefined;
|
|
1216
|
+
lineWidth?: number | undefined;
|
|
1217
|
+
lineShape?: "solid" | "dashed" | "dotted" | "dotdash" | "longdash" | "twodash" | undefined;
|
|
1218
|
+
lineColor?: string | undefined;
|
|
1219
|
+
fillColor?: string | undefined;
|
|
1220
|
+
}> | undefined;
|
|
1221
|
+
allowNullGroup?: boolean | undefined;
|
|
1168
1222
|
}, {
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1223
|
+
columnName: {
|
|
1224
|
+
type: "column";
|
|
1225
|
+
value: string;
|
|
1226
|
+
format?: string | undefined;
|
|
1227
|
+
label?: string | undefined;
|
|
1228
|
+
valueLabels?: string | undefined;
|
|
1229
|
+
};
|
|
1230
|
+
order?: (string | number | null)[] | undefined;
|
|
1231
|
+
inheritedAes?: Record<string, {
|
|
1232
|
+
dotFill?: string | undefined;
|
|
1233
|
+
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;
|
|
1234
|
+
dotSize?: number | undefined;
|
|
1235
|
+
lineWidth?: number | undefined;
|
|
1236
|
+
lineShape?: "solid" | "dashed" | "dotted" | "dotdash" | "longdash" | "twodash" | undefined;
|
|
1237
|
+
lineColor?: string | undefined;
|
|
1238
|
+
fillColor?: string | undefined;
|
|
1239
|
+
}> | undefined;
|
|
1240
|
+
allowNullGroup?: boolean | undefined;
|
|
1174
1241
|
}>, "many">>;
|
|
1175
1242
|
facetBy: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1176
1243
|
type: z.ZodLiteral<"column">;
|
|
@@ -1229,31 +1296,6 @@ export declare const ScatterplotSettingsSchema: z.ZodObject<{
|
|
|
1229
1296
|
label?: string | undefined;
|
|
1230
1297
|
valueLabels?: string | undefined;
|
|
1231
1298
|
}>>;
|
|
1232
|
-
inheritedAes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1233
|
-
fillColor: z.ZodOptional<z.ZodString>;
|
|
1234
|
-
lineColor: z.ZodOptional<z.ZodString>;
|
|
1235
|
-
lineWidth: z.ZodOptional<z.ZodNumber>;
|
|
1236
|
-
lineShape: z.ZodOptional<z.ZodEnum<["solid", "dashed", "dotted", "dotdash", "longdash", "twodash"]>>;
|
|
1237
|
-
dotShape: z.ZodOptional<z.ZodEnum<["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"]>>;
|
|
1238
|
-
dotSize: z.ZodOptional<z.ZodNumber>;
|
|
1239
|
-
dotFill: z.ZodOptional<z.ZodString>;
|
|
1240
|
-
}, "strip", z.ZodTypeAny, {
|
|
1241
|
-
dotFill?: string | undefined;
|
|
1242
|
-
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;
|
|
1243
|
-
dotSize?: number | undefined;
|
|
1244
|
-
lineWidth?: number | undefined;
|
|
1245
|
-
lineShape?: "solid" | "dashed" | "dotted" | "dotdash" | "longdash" | "twodash" | undefined;
|
|
1246
|
-
lineColor?: string | undefined;
|
|
1247
|
-
fillColor?: string | undefined;
|
|
1248
|
-
}, {
|
|
1249
|
-
dotFill?: string | undefined;
|
|
1250
|
-
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;
|
|
1251
|
-
dotSize?: number | undefined;
|
|
1252
|
-
lineWidth?: number | undefined;
|
|
1253
|
-
lineShape?: "solid" | "dashed" | "dotted" | "dotdash" | "longdash" | "twodash" | undefined;
|
|
1254
|
-
lineColor?: string | undefined;
|
|
1255
|
-
fillColor?: string | undefined;
|
|
1256
|
-
}>>>>;
|
|
1257
1299
|
trend: z.ZodOptional<z.ZodObject<{
|
|
1258
1300
|
color: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
1259
1301
|
type: z.ZodLiteral<"grouping">;
|
|
@@ -1774,7 +1816,7 @@ export declare const ScatterplotSettingsSchema: z.ZodObject<{
|
|
|
1774
1816
|
title: {
|
|
1775
1817
|
name: string;
|
|
1776
1818
|
show?: boolean | undefined;
|
|
1777
|
-
position?: "
|
|
1819
|
+
position?: "left" | "center" | "right" | undefined;
|
|
1778
1820
|
};
|
|
1779
1821
|
keyColumn: {
|
|
1780
1822
|
type: "column";
|
|
@@ -1871,15 +1913,28 @@ export declare const ScatterplotSettingsSchema: z.ZodObject<{
|
|
|
1871
1913
|
valueLabels?: string | undefined;
|
|
1872
1914
|
} | undefined;
|
|
1873
1915
|
grouping?: {
|
|
1874
|
-
|
|
1875
|
-
|
|
1876
|
-
|
|
1877
|
-
|
|
1878
|
-
|
|
1916
|
+
columnName: {
|
|
1917
|
+
type: "column";
|
|
1918
|
+
value: string;
|
|
1919
|
+
format?: string | undefined;
|
|
1920
|
+
label?: string | undefined;
|
|
1921
|
+
valueLabels?: string | undefined;
|
|
1922
|
+
};
|
|
1923
|
+
order?: (string | number | null)[] | undefined;
|
|
1924
|
+
inheritedAes?: Record<string, {
|
|
1925
|
+
dotFill?: string | undefined;
|
|
1926
|
+
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;
|
|
1927
|
+
dotSize?: number | undefined;
|
|
1928
|
+
lineWidth?: number | undefined;
|
|
1929
|
+
lineShape?: "solid" | "dashed" | "dotted" | "dotdash" | "longdash" | "twodash" | undefined;
|
|
1930
|
+
lineColor?: string | undefined;
|
|
1931
|
+
fillColor?: string | undefined;
|
|
1932
|
+
}> | undefined;
|
|
1933
|
+
allowNullGroup?: boolean | undefined;
|
|
1879
1934
|
}[] | undefined;
|
|
1880
1935
|
legend?: {
|
|
1881
1936
|
show?: boolean | undefined;
|
|
1882
|
-
position?: "right" | "
|
|
1937
|
+
position?: "right" | "inside" | "top" | "bottom" | undefined;
|
|
1883
1938
|
} | undefined;
|
|
1884
1939
|
tooltips?: {
|
|
1885
1940
|
show?: boolean | undefined;
|
|
@@ -1954,15 +2009,6 @@ export declare const ScatterplotSettingsSchema: z.ZodObject<{
|
|
|
1954
2009
|
label?: string | undefined;
|
|
1955
2010
|
valueLabels?: string | undefined;
|
|
1956
2011
|
} | undefined;
|
|
1957
|
-
inheritedAes?: Record<string, Record<string, {
|
|
1958
|
-
dotFill?: string | undefined;
|
|
1959
|
-
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;
|
|
1960
|
-
dotSize?: number | undefined;
|
|
1961
|
-
lineWidth?: number | undefined;
|
|
1962
|
-
lineShape?: "solid" | "dashed" | "dotted" | "dotdash" | "longdash" | "twodash" | undefined;
|
|
1963
|
-
lineColor?: string | undefined;
|
|
1964
|
-
fillColor?: string | undefined;
|
|
1965
|
-
}>> | undefined;
|
|
1966
2012
|
trend?: {
|
|
1967
2013
|
color?: string | {
|
|
1968
2014
|
type: "grouping";
|
|
@@ -1987,7 +2033,7 @@ export declare const ScatterplotSettingsSchema: z.ZodObject<{
|
|
|
1987
2033
|
title: {
|
|
1988
2034
|
name: string;
|
|
1989
2035
|
show?: boolean | undefined;
|
|
1990
|
-
position?: "
|
|
2036
|
+
position?: "left" | "center" | "right" | undefined;
|
|
1991
2037
|
};
|
|
1992
2038
|
keyColumn: {
|
|
1993
2039
|
type: "column";
|
|
@@ -2084,15 +2130,28 @@ export declare const ScatterplotSettingsSchema: z.ZodObject<{
|
|
|
2084
2130
|
valueLabels?: string | undefined;
|
|
2085
2131
|
} | undefined;
|
|
2086
2132
|
grouping?: {
|
|
2087
|
-
|
|
2088
|
-
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
|
|
2133
|
+
columnName: {
|
|
2134
|
+
type: "column";
|
|
2135
|
+
value: string;
|
|
2136
|
+
format?: string | undefined;
|
|
2137
|
+
label?: string | undefined;
|
|
2138
|
+
valueLabels?: string | undefined;
|
|
2139
|
+
};
|
|
2140
|
+
order?: (string | number | null)[] | undefined;
|
|
2141
|
+
inheritedAes?: Record<string, {
|
|
2142
|
+
dotFill?: string | undefined;
|
|
2143
|
+
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;
|
|
2144
|
+
dotSize?: number | undefined;
|
|
2145
|
+
lineWidth?: number | undefined;
|
|
2146
|
+
lineShape?: "solid" | "dashed" | "dotted" | "dotdash" | "longdash" | "twodash" | undefined;
|
|
2147
|
+
lineColor?: string | undefined;
|
|
2148
|
+
fillColor?: string | undefined;
|
|
2149
|
+
}> | undefined;
|
|
2150
|
+
allowNullGroup?: boolean | undefined;
|
|
2092
2151
|
}[] | undefined;
|
|
2093
2152
|
legend?: {
|
|
2094
2153
|
show?: boolean | undefined;
|
|
2095
|
-
position?: "right" | "
|
|
2154
|
+
position?: "right" | "inside" | "top" | "bottom" | undefined;
|
|
2096
2155
|
} | undefined;
|
|
2097
2156
|
tooltips?: {
|
|
2098
2157
|
show?: boolean | undefined;
|
|
@@ -2167,15 +2226,6 @@ export declare const ScatterplotSettingsSchema: z.ZodObject<{
|
|
|
2167
2226
|
label?: string | undefined;
|
|
2168
2227
|
valueLabels?: string | undefined;
|
|
2169
2228
|
} | undefined;
|
|
2170
|
-
inheritedAes?: Record<string, Record<string, {
|
|
2171
|
-
dotFill?: string | undefined;
|
|
2172
|
-
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;
|
|
2173
|
-
dotSize?: number | undefined;
|
|
2174
|
-
lineWidth?: number | undefined;
|
|
2175
|
-
lineShape?: "solid" | "dashed" | "dotted" | "dotdash" | "longdash" | "twodash" | undefined;
|
|
2176
|
-
lineColor?: string | undefined;
|
|
2177
|
-
fillColor?: string | undefined;
|
|
2178
|
-
}>> | undefined;
|
|
2179
2229
|
trend?: {
|
|
2180
2230
|
color?: string | {
|
|
2181
2231
|
type: "grouping";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scatterplot.d.ts","sourceRoot":"","sources":["../../src/types/scatterplot.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE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MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAE5E,MAAM,MAAM,qBAAqB,GAAG,MAAM,CACtC,MAAM,EACN;IACI,MAAM,EAAE,QAAQ,EAAE,CAAC;IACnB,OAAO,EAAE,CAAC,MAAM,OAAO,CAAC,EAAE,CAAC;IAC3B,MAAM,EAAE,CAAC,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,OAAO,KAAK,SAAS,GAAG,SAAS,CAAC;IACzE,MAAM,EAAE,MAAM,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC;CACpC,CACJ,CAAC"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import o from "../node_modules/zod/lib/index.js";
|
|
2
|
-
import { continuousAesMappingFromValueSchema as n, PointShapeSchema as i, LineShapeSchema as l, ColumnNameSchema as t, AesRecordSchema as p, AxisSettingsSchema as a, FrameTypeSchema as
|
|
2
|
+
import { continuousAesMappingFromValueSchema as n, PointShapeSchema as i, LineShapeSchema as l, ColumnNameSchema as t, AesRecordSchema as p, DataValueSchema as r, AxisSettingsSchema as a, FrameTypeSchema as c, LegendPositionSchema as s, TitlePositionSchema as m } from "./common.js";
|
|
3
3
|
const e = o.object({
|
|
4
4
|
type: o.literal("grouping"),
|
|
5
5
|
value: o.string(),
|
|
6
6
|
// link to aes mapped to column
|
|
7
7
|
palette: o.optional(o.array(o.string()))
|
|
8
8
|
// if defined we use palette to create mapping without inheritedAes field
|
|
9
|
-
}),
|
|
9
|
+
}), h = o.object({
|
|
10
10
|
type: o.literal("dots"),
|
|
11
11
|
aes: o.optional(
|
|
12
12
|
o.object({
|
|
@@ -15,7 +15,7 @@ const e = o.object({
|
|
|
15
15
|
dotSize: o.optional(o.union([o.number(), n(o.number())]))
|
|
16
16
|
})
|
|
17
17
|
)
|
|
18
|
-
}),
|
|
18
|
+
}), b = o.object({
|
|
19
19
|
type: o.literal("curve"),
|
|
20
20
|
smoothing: o.optional(o.boolean()),
|
|
21
21
|
aes: o.optional(
|
|
@@ -26,12 +26,12 @@ const e = o.object({
|
|
|
26
26
|
opacity: o.optional(o.number())
|
|
27
27
|
})
|
|
28
28
|
)
|
|
29
|
-
}),
|
|
29
|
+
}), u = o.union([h, b]), y = o.object({
|
|
30
30
|
type: o.literal("scatterplot"),
|
|
31
31
|
title: o.object({
|
|
32
32
|
name: o.string(),
|
|
33
33
|
show: o.optional(o.boolean()),
|
|
34
|
-
position: o.optional(
|
|
34
|
+
position: o.optional(m)
|
|
35
35
|
}),
|
|
36
36
|
size: o.optional(
|
|
37
37
|
o.object({
|
|
@@ -51,7 +51,7 @@ const e = o.object({
|
|
|
51
51
|
content: o.optional(o.array(t))
|
|
52
52
|
})
|
|
53
53
|
),
|
|
54
|
-
frame: o.optional(o.object({ type: o.optional(
|
|
54
|
+
frame: o.optional(o.object({ type: o.optional(c) })),
|
|
55
55
|
facetSettings: o.optional(
|
|
56
56
|
o.object({
|
|
57
57
|
sharedX: o.optional(o.boolean()),
|
|
@@ -65,11 +65,17 @@ const e = o.object({
|
|
|
65
65
|
y: t,
|
|
66
66
|
xAxis: o.optional(a),
|
|
67
67
|
yAxis: o.optional(a),
|
|
68
|
-
grouping: o.optional(o.array(
|
|
68
|
+
grouping: o.optional(o.array(
|
|
69
|
+
o.object({
|
|
70
|
+
columnName: t,
|
|
71
|
+
order: o.optional(o.array(r)),
|
|
72
|
+
inheritedAes: o.optional(p),
|
|
73
|
+
allowNullGroup: o.optional(o.boolean())
|
|
74
|
+
})
|
|
75
|
+
)),
|
|
69
76
|
facetBy: o.optional(o.array(t)),
|
|
70
77
|
label: o.optional(t),
|
|
71
78
|
highlight: o.optional(t),
|
|
72
|
-
inheritedAes: o.optional(o.record(o.string(), p)),
|
|
73
79
|
trend: o.optional(
|
|
74
80
|
o.object({
|
|
75
81
|
color: o.optional(o.optional(o.union([o.string(), e, n(o.string())]))),
|
|
@@ -77,9 +83,9 @@ const e = o.object({
|
|
|
77
83
|
// if true: line and area bounded with min and max X value; else line bounded by chart bounds
|
|
78
84
|
})
|
|
79
85
|
),
|
|
80
|
-
layers: o.array(
|
|
86
|
+
layers: o.array(u)
|
|
81
87
|
});
|
|
82
88
|
export {
|
|
83
|
-
|
|
89
|
+
y as ScatterplotSettingsSchema
|
|
84
90
|
};
|
|
85
91
|
//# sourceMappingURL=scatterplot.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scatterplot.js","sources":["../../src/types/scatterplot.ts"],"sourcesContent":["import { z } from 'zod';\nimport type { AesItem, categoricalAesMappingFromValueSchema, Category, DataValue } from './common';\nimport {\n AesRecordSchema, AxisSettingsSchema,\n ColumnNameSchema,\n continuousAesMappingFromValueSchema,\n FrameTypeSchema,\n LegendPositionSchema,\n LineShapeSchema,\n PointShapeSchema,\n TitlePositionSchema
|
|
1
|
+
{"version":3,"file":"scatterplot.js","sources":["../../src/types/scatterplot.ts"],"sourcesContent":["import { z } from 'zod';\nimport type { AesItem, categoricalAesMappingFromValueSchema, Category, DataValue } from './common';\nimport {\n AesRecordSchema, AxisSettingsSchema,\n ColumnNameSchema,\n continuousAesMappingFromValueSchema, DataValueSchema,\n FrameTypeSchema,\n LegendPositionSchema,\n LineShapeSchema,\n PointShapeSchema,\n TitlePositionSchema,\n} from './common';\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 DotsLayerSchema = z.object({\n type: z.literal('dots'),\n aes: z.optional(\n z.object({\n dotFill: z.optional(z.union([z.string(), InheritAesSchema, continuousAesMappingFromValueSchema(z.string())])),\n dotShape: z.optional(z.union([PointShapeSchema, InheritAesSchema])),\n dotSize: z.optional(z.union([z.number(), continuousAesMappingFromValueSchema(z.number())])),\n })\n ),\n});\nconst CurveLayerSchema = 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});\nconst ScatterplotLayerSchema = z.union([DotsLayerSchema, CurveLayerSchema]);\n\nexport type DotsLayer = z.infer<typeof DotsLayerSchema>;\nexport type CurveLayer = z.infer<typeof CurveLayerSchema>;\nexport type ScatterplotLayer = z.infer<typeof ScatterplotLayerSchema>;\n\nexport const ScatterplotSettingsSchema = z.object({\n type: z.literal('scatterplot'),\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 facetSettings: z.optional(\n z.object({\n sharedX: z.optional(z.boolean()),\n sharedY: z.optional(z.boolean()),\n nRows: z.optional(z.number()),\n nCols: z.optional(z.number()),\n })\n ),\n keyColumn: ColumnNameSchema,\n x: ColumnNameSchema,\n y: ColumnNameSchema,\n xAxis: z.optional(AxisSettingsSchema),\n yAxis: z.optional(AxisSettingsSchema),\n grouping: z.optional(z.array(\n z.object({\n columnName: ColumnNameSchema,\n order: z.optional(z.array(DataValueSchema)),\n inheritedAes: z.optional(AesRecordSchema),\n allowNullGroup: z.optional(z.boolean())\n })\n )),\n facetBy: z.optional(z.array(ColumnNameSchema)),\n label: z.optional(ColumnNameSchema),\n highlight: z.optional(ColumnNameSchema),\n trend: z.optional(\n z.object({\n color: z.optional(z.optional(z.union([z.string(), InheritAesSchema, continuousAesMappingFromValueSchema(z.string())]))),\n bounded: z.optional(z.boolean()), // if true: line and area bounded with min and max X value; else line bounded by chart bounds\n })\n ),\n layers: z.array(ScatterplotLayerSchema),\n});\n\nexport type ScatterplotSettings = z.infer<typeof ScatterplotSettingsSchema>;\n\nexport type ScatterplotLegendInfo = Record<\n string,\n {\n values: Category[];\n usedAes: (keyof AesItem)[];\n aesMap: (value: Category, field: keyof AesItem) => undefined | DataValue;\n labels: Record<Category, string>;\n }\n>;\n"],"names":["InheritAesSchema","z","DotsLayerSchema","continuousAesMappingFromValueSchema","PointShapeSchema","CurveLayerSchema","LineShapeSchema","ScatterplotLayerSchema","ScatterplotSettingsSchema","TitlePositionSchema","LegendPositionSchema","ColumnNameSchema","FrameTypeSchema","AxisSettingsSchema","DataValueSchema","AesRecordSchema"],"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,IAAkBD,EAAE,OAAO;AAAA,EAC7B,MAAMA,EAAE,QAAQ,MAAM;AAAA,EACtB,KAAKA,EAAE;AAAA,IACHA,EAAE,OAAO;AAAA,MACL,SAASA,EAAE,SAASA,EAAE,MAAM,CAACA,EAAE,OAAA,GAAUD,GAAkBG,EAAoCF,EAAE,OAAA,CAAQ,CAAC,CAAC,CAAC;AAAA,MAC5G,UAAUA,EAAE,SAASA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EAAE,OAAA,CAAQ,CAAC,CAAC,CAAC,CAAC;AAAA,MACtH,SAASA,EAAE,SAASA,EAAE,SAAS;AAAA;AAAA,IAAA,CAClC;AAAA,EAAA;AAAA,EAEL,QAAQA,EAAE,MAAMM,CAAsB;AAC1C,CAAC;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"arraysAreDifferent.d.ts","sourceRoot":"","sources":["../../src/utils/arraysAreDifferent.ts"],"names":[],"mappings":"AACA,wBAAgB,kBAAkB,CAAC,IAAI,CAAC,EAAC,OAAO,EAAE,GAAG,IAAI,EAAE,IAAI,CAAC,EAAC,OAAO,EAAE,GAAG,IAAI,WAQhF"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
function u(e, t) {
|
|
2
|
+
return !e && !t ? !1 : !e && t || !t && e || (e == null ? void 0 : e.length) !== (t == null ? void 0 : t.length) ? !0 : e == null ? void 0 : e.some((n, f) => n !== (t == null ? void 0 : t[f]));
|
|
3
|
+
}
|
|
4
|
+
export {
|
|
5
|
+
u as arraysAreDifferent
|
|
6
|
+
};
|
|
7
|
+
//# sourceMappingURL=arraysAreDifferent.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"arraysAreDifferent.js","sources":["../../src/utils/arraysAreDifferent.ts"],"sourcesContent":["\nexport function arraysAreDifferent(arr1?:unknown[] | null, arr2?:unknown[] | null) {\n if (!arr1 && !arr2) {\n return false;\n }\n if (!arr1 && arr2 || !arr2 && arr1 || arr1?.length !== arr2?.length) {\n return true;\n }\n return arr1?.some((el, idx) => el !== arr2?.[idx]) as boolean;\n}"],"names":["arraysAreDifferent","arr1","arr2","el","idx"],"mappings":"AACO,SAASA,EAAmBC,GAAwBC,GAAwB;AAC/E,SAAI,CAACD,KAAQ,CAACC,IACH,KAEP,CAACD,KAAQC,KAAQ,CAACA,KAAQD,MAAQA,KAAA,gBAAAA,EAAM,aAAWC,KAAA,gBAAAA,EAAM,UAClD,KAEJD,KAAA,gBAAAA,EAAM,KAAK,CAACE,GAAIC,MAAQD,OAAOD,KAAA,gBAAAA,EAAOE;AACjD;"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare function getChartEdgeSides(index: number, facetsCount: number, columnsCount: number, rowsCount: number): ("
|
|
1
|
+
export declare function getChartEdgeSides(index: number, facetsCount: number, columnsCount: number, rowsCount: number): ("left" | "right" | "top" | "bottom")[];
|
|
2
2
|
//# sourceMappingURL=getChartEdgeSides.d.ts.map
|