@milaboratories/miplots4 1.2.1 → 1.2.3
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/DataFrame.d.ts.map +1 -1
- package/dist/DataFrame.js +2 -1
- package/dist/DataFrame.js.map +1 -1
- package/dist/common/ContinuousGrid.d.ts.map +1 -1
- package/dist/common/ContinuousGrid.js +90 -56
- package/dist/common/ContinuousGrid.js.map +1 -1
- package/dist/histogram/ChartRenderer.d.ts.map +1 -1
- package/dist/histogram/ChartRenderer.js +6 -0
- package/dist/histogram/ChartRenderer.js.map +1 -1
- package/dist/histogram/HistogramSettingsImpl.d.ts +5 -1
- package/dist/histogram/HistogramSettingsImpl.d.ts.map +1 -1
- package/dist/histogram/HistogramSettingsImpl.js.map +1 -1
- package/dist/scatterplot/components/Grid.d.ts.map +1 -1
- package/dist/scatterplot/components/Grid.js +109 -71
- package/dist/scatterplot/components/Grid.js.map +1 -1
- package/dist/selection/ChartRenderer.d.ts.map +1 -1
- package/dist/selection/ChartRenderer.js +9 -11
- package/dist/selection/ChartRenderer.js.map +1 -1
- package/dist/selection/SelectionSettingsImpl.d.ts +0 -1
- package/dist/selection/SelectionSettingsImpl.d.ts.map +1 -1
- package/dist/selection/SelectionSettingsImpl.js +0 -1
- package/dist/selection/SelectionSettingsImpl.js.map +1 -1
- package/dist/selection/components/Chart/Bars/GroupSelectedBars.js +1 -1
- package/dist/selection/components/Chart/Bars/GroupSelectedBars.js.map +1 -1
- package/dist/selection/components/Chart/Bars/StackedBars.d.ts.map +1 -1
- package/dist/selection/components/Chart/Bars/StackedBars.js +11 -11
- package/dist/selection/components/Chart/Bars/StackedBars.js.map +1 -1
- package/dist/selection/components/Chart/ChartAxes.d.ts.map +1 -1
- package/dist/selection/components/Chart/ChartAxes.js +7 -8
- package/dist/selection/components/Chart/ChartAxes.js.map +1 -1
- package/dist/selection/components/Chart/ChartFrame.d.ts +1 -2
- package/dist/selection/components/Chart/ChartFrame.d.ts.map +1 -1
- package/dist/selection/components/Chart/ChartFrame.js +8 -8
- package/dist/selection/components/Chart/ChartFrame.js.map +1 -1
- package/dist/selection/components/Chart/Gridlines.d.ts +2 -6
- package/dist/selection/components/Chart/Gridlines.d.ts.map +1 -1
- package/dist/selection/components/Chart/Gridlines.js +14 -26
- package/dist/selection/components/Chart/Gridlines.js.map +1 -1
- package/dist/selection/components/Chart/Ribbons/GroupFlowRibbon.js +1 -1
- package/dist/selection/components/Chart/Ribbons/GroupFlowRibbon.js.map +1 -1
- package/dist/selection/components/Chart/Ribbons/StackedGroupFlowRibbon.d.ts.map +1 -1
- package/dist/selection/components/Chart/Ribbons/StackedGroupFlowRibbon.js +27 -27
- package/dist/selection/components/Chart/Ribbons/StackedGroupFlowRibbon.js.map +1 -1
- package/dist/selection/components/Chart/SelectionXAxis.d.ts +18 -0
- package/dist/selection/components/Chart/SelectionXAxis.d.ts.map +1 -0
- package/dist/selection/components/Chart/SelectionXAxis.js +47 -0
- package/dist/selection/components/Chart/SelectionXAxis.js.map +1 -0
- package/dist/selection/components/Chart/types.d.ts +0 -1
- package/dist/selection/components/Chart/types.d.ts.map +1 -1
- package/dist/selection/components/Chart.d.ts.map +1 -1
- package/dist/selection/components/Chart.js +7 -12
- package/dist/selection/components/Chart.js.map +1 -1
- package/dist/selection/components/ChartsGroup.d.ts.map +1 -1
- package/dist/selection/components/ChartsGroup.js +73 -72
- package/dist/selection/components/ChartsGroup.js.map +1 -1
- package/dist/selection/components/types.d.ts +0 -1
- package/dist/selection/components/types.d.ts.map +1 -1
- package/dist/selection/constants.d.ts +1 -2
- package/dist/selection/constants.d.ts.map +1 -1
- package/dist/selection/constants.js +2 -2
- package/dist/selection/constants.js.map +1 -1
- package/dist/selection/createSelectionData.d.ts +2 -6
- package/dist/selection/createSelectionData.d.ts.map +1 -1
- package/dist/selection/createSelectionData.js +45 -59
- package/dist/selection/createSelectionData.js.map +1 -1
- package/dist/types/bubble.d.ts +8 -8
- package/dist/types/common.d.ts +62 -6
- package/dist/types/common.d.ts.map +1 -1
- package/dist/types/common.js +15 -6
- package/dist/types/common.js.map +1 -1
- package/dist/types/dendro.d.ts +6 -6
- package/dist/types/discrete.d.ts +41 -13
- package/dist/types/discrete.d.ts.map +1 -1
- package/dist/types/heatmap.d.ts +4 -4
- package/dist/types/histogram.d.ts +59 -10
- package/dist/types/histogram.d.ts.map +1 -1
- package/dist/types/histogram.js +60 -66
- package/dist/types/histogram.js.map +1 -1
- package/dist/types/scatterplot-umap.d.ts +74 -18
- package/dist/types/scatterplot-umap.d.ts.map +1 -1
- package/dist/types/scatterplot.d.ts +74 -18
- package/dist/types/scatterplot.d.ts.map +1 -1
- package/dist/types/selection.d.ts +8 -13
- package/dist/types/selection.d.ts.map +1 -1
- package/dist/types/selection.js +0 -1
- package/dist/types/selection.js.map +1 -1
- package/dist/utils/getChartEdgeSides.d.ts +1 -1
- package/dist/utils/significantLinesStyle.d.ts +8 -0
- package/dist/utils/significantLinesStyle.d.ts.map +1 -0
- package/dist/utils/significantLinesStyle.js +12 -0
- package/dist/utils/significantLinesStyle.js.map +1 -0
- package/package.json +1 -1
|
@@ -257,17 +257,17 @@ export declare const HistogramSettingsSchema: z.ZodObject<{
|
|
|
257
257
|
position: z.ZodOptional<z.ZodEnum<["inside", "right", "top", "bottom"]>>;
|
|
258
258
|
}, "strip", z.ZodTypeAny, {
|
|
259
259
|
show?: boolean | undefined;
|
|
260
|
-
position?: "
|
|
260
|
+
position?: "top" | "bottom" | "right" | "inside" | undefined;
|
|
261
261
|
}, {
|
|
262
262
|
show?: boolean | undefined;
|
|
263
|
-
position?: "
|
|
263
|
+
position?: "top" | "bottom" | "right" | "inside" | undefined;
|
|
264
264
|
}>>;
|
|
265
265
|
frame: z.ZodOptional<z.ZodObject<{
|
|
266
266
|
type: z.ZodOptional<z.ZodEnum<["left", "bottom", "left-bottom", "full", "empty"]>>;
|
|
267
267
|
}, "strip", z.ZodTypeAny, {
|
|
268
|
-
type?: "
|
|
268
|
+
type?: "bottom" | "left" | "left-bottom" | "full" | "empty" | undefined;
|
|
269
269
|
}, {
|
|
270
|
-
type?: "
|
|
270
|
+
type?: "bottom" | "left" | "left-bottom" | "full" | "empty" | undefined;
|
|
271
271
|
}>>;
|
|
272
272
|
facetSettings: z.ZodOptional<z.ZodObject<{
|
|
273
273
|
sharedX: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -314,7 +314,7 @@ export declare const HistogramSettingsSchema: z.ZodObject<{
|
|
|
314
314
|
valueLabelsMap?: Record<string, string> | undefined;
|
|
315
315
|
nullValueLabel?: string | undefined;
|
|
316
316
|
}>;
|
|
317
|
-
xAxis: z.ZodOptional<z.ZodObject<{
|
|
317
|
+
xAxis: z.ZodOptional<z.ZodObject<Omit<{
|
|
318
318
|
title: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
319
319
|
type: z.ZodLiteral<"column">;
|
|
320
320
|
value: z.ZodString;
|
|
@@ -343,8 +343,25 @@ export declare const HistogramSettingsSchema: z.ZodObject<{
|
|
|
343
343
|
scale: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"linear">, z.ZodLiteral<"log">]>>;
|
|
344
344
|
showGrid: z.ZodOptional<z.ZodBoolean>;
|
|
345
345
|
showTicks: z.ZodOptional<z.ZodBoolean>;
|
|
346
|
+
significantLines: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
347
|
+
significantLinesStyle: z.ZodOptional<z.ZodObject<{
|
|
348
|
+
shape: z.ZodOptional<z.ZodEnum<["solid", "dashed", "dotted", "dotdash", "longdash", "twodash"]>>;
|
|
349
|
+
showLabel: z.ZodOptional<z.ZodBoolean>;
|
|
350
|
+
labelPosition: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"top">, z.ZodLiteral<"bottom">, z.ZodLiteral<"left">, z.ZodLiteral<"right">]>>;
|
|
351
|
+
}, "strip", z.ZodTypeAny, {
|
|
352
|
+
shape?: "solid" | "dashed" | "dotted" | "dotdash" | "longdash" | "twodash" | undefined;
|
|
353
|
+
showLabel?: boolean | undefined;
|
|
354
|
+
labelPosition?: "top" | "bottom" | "left" | "right" | undefined;
|
|
355
|
+
}, {
|
|
356
|
+
shape?: "solid" | "dashed" | "dotted" | "dotdash" | "longdash" | "twodash" | undefined;
|
|
357
|
+
showLabel?: boolean | undefined;
|
|
358
|
+
labelPosition?: "top" | "bottom" | "left" | "right" | undefined;
|
|
359
|
+
}>>;
|
|
360
|
+
symmetricRange: z.ZodOptional<z.ZodNumber>;
|
|
361
|
+
upperValue: z.ZodOptional<z.ZodNumber>;
|
|
362
|
+
lowerValue: z.ZodOptional<z.ZodNumber>;
|
|
346
363
|
hiddenLabels: z.ZodOptional<z.ZodBoolean>;
|
|
347
|
-
}, "strip", z.ZodTypeAny, {
|
|
364
|
+
}, "symmetricRange">, "strip", z.ZodTypeAny, {
|
|
348
365
|
title?: string | {
|
|
349
366
|
type: "column";
|
|
350
367
|
value: string;
|
|
@@ -358,6 +375,14 @@ export declare const HistogramSettingsSchema: z.ZodObject<{
|
|
|
358
375
|
showGrid?: boolean | undefined;
|
|
359
376
|
showTicks?: boolean | undefined;
|
|
360
377
|
hiddenLabels?: boolean | undefined;
|
|
378
|
+
significantLines?: number[] | undefined;
|
|
379
|
+
significantLinesStyle?: {
|
|
380
|
+
shape?: "solid" | "dashed" | "dotted" | "dotdash" | "longdash" | "twodash" | undefined;
|
|
381
|
+
showLabel?: boolean | undefined;
|
|
382
|
+
labelPosition?: "top" | "bottom" | "left" | "right" | undefined;
|
|
383
|
+
} | undefined;
|
|
384
|
+
upperValue?: number | undefined;
|
|
385
|
+
lowerValue?: number | undefined;
|
|
361
386
|
}, {
|
|
362
387
|
title?: string | {
|
|
363
388
|
type: "column";
|
|
@@ -372,6 +397,14 @@ export declare const HistogramSettingsSchema: z.ZodObject<{
|
|
|
372
397
|
showGrid?: boolean | undefined;
|
|
373
398
|
showTicks?: boolean | undefined;
|
|
374
399
|
hiddenLabels?: boolean | undefined;
|
|
400
|
+
significantLines?: number[] | undefined;
|
|
401
|
+
significantLinesStyle?: {
|
|
402
|
+
shape?: "solid" | "dashed" | "dotted" | "dotdash" | "longdash" | "twodash" | undefined;
|
|
403
|
+
showLabel?: boolean | undefined;
|
|
404
|
+
labelPosition?: "top" | "bottom" | "left" | "right" | undefined;
|
|
405
|
+
} | undefined;
|
|
406
|
+
upperValue?: number | undefined;
|
|
407
|
+
lowerValue?: number | undefined;
|
|
375
408
|
}>>;
|
|
376
409
|
yAxis: z.ZodOptional<z.ZodObject<{
|
|
377
410
|
scale: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"linear">, z.ZodLiteral<"log">]>>;
|
|
@@ -614,10 +647,10 @@ export declare const HistogramSettingsSchema: z.ZodObject<{
|
|
|
614
647
|
} | undefined;
|
|
615
648
|
legend?: {
|
|
616
649
|
show?: boolean | undefined;
|
|
617
|
-
position?: "
|
|
650
|
+
position?: "top" | "bottom" | "right" | "inside" | undefined;
|
|
618
651
|
} | undefined;
|
|
619
652
|
frame?: {
|
|
620
|
-
type?: "
|
|
653
|
+
type?: "bottom" | "left" | "left-bottom" | "full" | "empty" | undefined;
|
|
621
654
|
} | undefined;
|
|
622
655
|
facetSettings?: {
|
|
623
656
|
sharedX?: boolean | undefined;
|
|
@@ -640,6 +673,14 @@ export declare const HistogramSettingsSchema: z.ZodObject<{
|
|
|
640
673
|
showGrid?: boolean | undefined;
|
|
641
674
|
showTicks?: boolean | undefined;
|
|
642
675
|
hiddenLabels?: boolean | undefined;
|
|
676
|
+
significantLines?: number[] | undefined;
|
|
677
|
+
significantLinesStyle?: {
|
|
678
|
+
shape?: "solid" | "dashed" | "dotted" | "dotdash" | "longdash" | "twodash" | undefined;
|
|
679
|
+
showLabel?: boolean | undefined;
|
|
680
|
+
labelPosition?: "top" | "bottom" | "left" | "right" | undefined;
|
|
681
|
+
} | undefined;
|
|
682
|
+
upperValue?: number | undefined;
|
|
683
|
+
lowerValue?: number | undefined;
|
|
643
684
|
} | undefined;
|
|
644
685
|
yAxis?: {
|
|
645
686
|
scale?: "linear" | "log" | undefined;
|
|
@@ -721,10 +762,10 @@ export declare const HistogramSettingsSchema: z.ZodObject<{
|
|
|
721
762
|
} | undefined;
|
|
722
763
|
legend?: {
|
|
723
764
|
show?: boolean | undefined;
|
|
724
|
-
position?: "
|
|
765
|
+
position?: "top" | "bottom" | "right" | "inside" | undefined;
|
|
725
766
|
} | undefined;
|
|
726
767
|
frame?: {
|
|
727
|
-
type?: "
|
|
768
|
+
type?: "bottom" | "left" | "left-bottom" | "full" | "empty" | undefined;
|
|
728
769
|
} | undefined;
|
|
729
770
|
facetSettings?: {
|
|
730
771
|
sharedX?: boolean | undefined;
|
|
@@ -747,6 +788,14 @@ export declare const HistogramSettingsSchema: z.ZodObject<{
|
|
|
747
788
|
showGrid?: boolean | undefined;
|
|
748
789
|
showTicks?: boolean | undefined;
|
|
749
790
|
hiddenLabels?: boolean | undefined;
|
|
791
|
+
significantLines?: number[] | undefined;
|
|
792
|
+
significantLinesStyle?: {
|
|
793
|
+
shape?: "solid" | "dashed" | "dotted" | "dotdash" | "longdash" | "twodash" | undefined;
|
|
794
|
+
showLabel?: boolean | undefined;
|
|
795
|
+
labelPosition?: "top" | "bottom" | "left" | "right" | undefined;
|
|
796
|
+
} | undefined;
|
|
797
|
+
upperValue?: number | undefined;
|
|
798
|
+
lowerValue?: number | undefined;
|
|
750
799
|
} | undefined;
|
|
751
800
|
yAxis?: {
|
|
752
801
|
scale?: "linear" | "log" | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"histogram.d.ts","sourceRoot":"","sources":["../../src/types/histogram.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"histogram.d.ts","sourceRoot":"","sources":["../../src/types/histogram.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAUxB,QAAA,MA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAsDlC,CAAC;AAEH,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC"}
|
package/dist/types/histogram.js
CHANGED
|
@@ -1,76 +1,70 @@
|
|
|
1
|
-
import { AesRecordSchema as e,
|
|
2
|
-
import { z as
|
|
3
|
-
var
|
|
4
|
-
type:
|
|
5
|
-
value:
|
|
6
|
-
palette:
|
|
7
|
-
}),
|
|
8
|
-
domain:
|
|
9
|
-
range:
|
|
10
|
-
type:
|
|
11
|
-
}),
|
|
12
|
-
type:
|
|
13
|
-
aes:
|
|
14
|
-
lineColor:
|
|
15
|
-
fillColor:
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
1
|
+
import { AesRecordSchema as e, AxisSettingsContinuousSchema as t, ColumnNameSchema as n, FrameTypeSchema as r, LegendPositionSchema as i, TitlePositionSchema as a } from "./common.js";
|
|
2
|
+
import { z as o } from "zod";
|
|
3
|
+
var s = o.object({
|
|
4
|
+
type: o.literal("grouping"),
|
|
5
|
+
value: o.string(),
|
|
6
|
+
palette: o.optional(o.array(o.string()))
|
|
7
|
+
}), c = o.object({
|
|
8
|
+
domain: o.optional(o.array(o.number())),
|
|
9
|
+
range: o.array(o.string()),
|
|
10
|
+
type: o.optional(o.union([o.literal("linear"), o.literal("log")]))
|
|
11
|
+
}), l = o.object({
|
|
12
|
+
type: o.literal("bins"),
|
|
13
|
+
aes: o.optional(o.object({
|
|
14
|
+
lineColor: o.optional(o.string()),
|
|
15
|
+
fillColor: o.optional(o.union([
|
|
16
|
+
s,
|
|
17
|
+
o.string(),
|
|
18
|
+
c
|
|
19
19
|
])),
|
|
20
|
-
opacity:
|
|
20
|
+
opacity: o.optional(o.number())
|
|
21
21
|
}))
|
|
22
|
-
}),
|
|
23
|
-
type:
|
|
24
|
-
aes:
|
|
25
|
-
}),
|
|
26
|
-
const
|
|
27
|
-
type:
|
|
28
|
-
title:
|
|
29
|
-
name:
|
|
30
|
-
show:
|
|
31
|
-
position:
|
|
22
|
+
}), u = o.object({
|
|
23
|
+
type: o.literal("binsLine"),
|
|
24
|
+
aes: o.optional(o.object({}))
|
|
25
|
+
}), d = o.union([l, u]);
|
|
26
|
+
const f = o.object({
|
|
27
|
+
type: o.literal("histogram"),
|
|
28
|
+
title: o.object({
|
|
29
|
+
name: o.string(),
|
|
30
|
+
show: o.optional(o.boolean()),
|
|
31
|
+
position: o.optional(a)
|
|
32
32
|
}),
|
|
33
|
-
size:
|
|
34
|
-
width:
|
|
35
|
-
height:
|
|
36
|
-
outerOffset:
|
|
37
|
-
innerOffset:
|
|
33
|
+
size: o.optional(o.object({
|
|
34
|
+
width: o.optional(o.number()),
|
|
35
|
+
height: o.optional(o.number()),
|
|
36
|
+
outerOffset: o.optional(o.number()),
|
|
37
|
+
innerOffset: o.optional(o.number())
|
|
38
38
|
})),
|
|
39
|
-
legend:
|
|
40
|
-
show:
|
|
41
|
-
position:
|
|
39
|
+
legend: o.optional(o.object({
|
|
40
|
+
show: o.optional(o.boolean()),
|
|
41
|
+
position: o.optional(i)
|
|
42
42
|
})),
|
|
43
|
-
frame:
|
|
44
|
-
facetSettings:
|
|
45
|
-
sharedX:
|
|
46
|
-
sharedY:
|
|
47
|
-
nRows:
|
|
48
|
-
nCols:
|
|
49
|
-
order:
|
|
43
|
+
frame: o.optional(o.object({ type: o.optional(r) })),
|
|
44
|
+
facetSettings: o.optional(o.object({
|
|
45
|
+
sharedX: o.optional(o.boolean()),
|
|
46
|
+
sharedY: o.optional(o.boolean()),
|
|
47
|
+
nRows: o.optional(o.number()),
|
|
48
|
+
nCols: o.optional(o.number()),
|
|
49
|
+
order: o.optional(o.array(o.string()))
|
|
50
50
|
})),
|
|
51
|
-
binsCount:
|
|
52
|
-
valueColumn:
|
|
53
|
-
xAxis:
|
|
54
|
-
|
|
55
|
-
scale:
|
|
56
|
-
showGrid:
|
|
57
|
-
showTicks:
|
|
58
|
-
hiddenLabels:
|
|
51
|
+
binsCount: o.optional(o.number()),
|
|
52
|
+
valueColumn: n,
|
|
53
|
+
xAxis: o.optional(t.omit({ symmetricRange: !0 })),
|
|
54
|
+
yAxis: o.optional(o.object({
|
|
55
|
+
scale: o.optional(o.union([o.literal("linear"), o.literal("log")])),
|
|
56
|
+
showGrid: o.optional(o.boolean()),
|
|
57
|
+
showTicks: o.optional(o.boolean()),
|
|
58
|
+
hiddenLabels: o.optional(o.boolean())
|
|
59
59
|
})),
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
groupingStack: a.optional(a.union([a.literal("vertical"), a.literal("horizontal")])),
|
|
68
|
-
groupingDirection: a.optional(a.union([a.literal("straight"), a.literal("reverse")])),
|
|
69
|
-
groupingOrder: a.optional(a.array(a.string())),
|
|
70
|
-
facetBy: a.optional(a.array(t)),
|
|
71
|
-
inheritedAes: a.optional(a.record(a.string(), e)),
|
|
72
|
-
layers: a.array(u)
|
|
60
|
+
grouping: o.optional(n),
|
|
61
|
+
groupingStack: o.optional(o.union([o.literal("vertical"), o.literal("horizontal")])),
|
|
62
|
+
groupingDirection: o.optional(o.union([o.literal("straight"), o.literal("reverse")])),
|
|
63
|
+
groupingOrder: o.optional(o.array(o.string())),
|
|
64
|
+
facetBy: o.optional(o.array(n)),
|
|
65
|
+
inheritedAes: o.optional(o.record(o.string(), e)),
|
|
66
|
+
layers: o.array(d)
|
|
73
67
|
});
|
|
74
|
-
export {
|
|
68
|
+
export { f as HistogramSettingsSchema };
|
|
75
69
|
|
|
76
70
|
//# sourceMappingURL=histogram.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"histogram.js","names":[],"sources":["../../src/types/histogram.ts"],"sourcesContent":["import { z } from 'zod';\nimport {\n AesRecordSchema
|
|
1
|
+
{"version":3,"file":"histogram.js","names":[],"sources":["../../src/types/histogram.ts"],"sourcesContent":["import { z } from 'zod';\nimport {\n AesRecordSchema,\n AxisSettingsContinuousSchema,\n ColumnNameSchema,\n FrameTypeSchema,\n LegendPositionSchema,\n TitlePositionSchema\n} from './common';\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 InheritAesHistogram = z.infer<typeof InheritAesSchema>;\n\nconst ContinuousAesMappingByBinHeightSchema = z.object({\n domain: z.optional(z.array(z.number())),\n range: z.array(z.string()),\n type: z.optional(z.union([z.literal('linear'), z.literal('log')]))\n});\nexport type ContinuousAesHistogram = z.infer<typeof ContinuousAesMappingByBinHeightSchema>;\n\nconst BinsLayerSchema = z.object({\n type: z.literal('bins'),\n aes: z.optional(z.object({\n lineColor: z.optional(z.string()),\n fillColor: z.optional(z.union([InheritAesSchema, z.string(), ContinuousAesMappingByBinHeightSchema])),\n opacity: z.optional(z.number())\n })),\n});\nconst LineLayerSchema = z.object({\n type: z.literal('binsLine'),\n aes: z.optional(z.object({})),\n});\nconst HistogramLayerSchema = z.union([BinsLayerSchema, LineLayerSchema]);\n\nexport type BinsLayer = z.infer<typeof BinsLayerSchema>;\nexport type BinsLineLayer = z.infer<typeof LineLayerSchema>;\nexport type HistogramLayer = z.infer<typeof HistogramLayerSchema>;\n\nexport const HistogramSettingsSchema = z.object({\n type: z.literal('histogram'),\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 outerOffset: z.optional(z.number()),\n innerOffset: 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 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 order: z.optional(z.array(z.string())),\n })\n ),\n binsCount: z.optional(z.number()),\n valueColumn: ColumnNameSchema,\n // AxisSettingsContinuous minus symmetricRange (doesn't apply to\n // binning). Reusing the continuous schema gives significantLines /\n // significantLinesStyle on the value axis, plus upperValue /\n // lowerValue used as soft bounds (extend the data-derived range so\n // off-data threshold lines still show).\n xAxis: z.optional(AxisSettingsContinuousSchema.omit({\n symmetricRange: true,\n })),\n yAxis: z.optional(z.object({\n scale: z.optional(z.union([z.literal('linear'), z.literal('log')])),\n showGrid: z.optional(z.boolean()),\n showTicks: z.optional(z.boolean()),\n hiddenLabels: z.optional(z.boolean())\n })),\n grouping: z.optional(ColumnNameSchema),\n groupingStack: z.optional(z.union([z.literal('vertical'), z.literal('horizontal')])),\n groupingDirection: z.optional(z.union([z.literal('straight'), z.literal('reverse')])),\n groupingOrder: z.optional(z.array(z.string())),\n facetBy: z.optional(z.array(ColumnNameSchema)),\n inheritedAes: z.optional(z.record(z.string(), AesRecordSchema)),\n layers: z.array(HistogramLayerSchema),\n});\n\nexport type HistogramSettings = z.infer<typeof HistogramSettingsSchema>;\n"],"mappings":";;AAUA,IAAM,IAAmB,EAAE,OAAO;CAC9B,MAAM,EAAE,QAAQ,WAAW;CAC3B,OAAO,EAAE,QAAQ;CACjB,SAAS,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC;CAC3C,CAAC,EAGI,IAAwC,EAAE,OAAO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AQ,EAAE,MAAM,EAAqB;CACxC,CAAC"}
|
|
@@ -1406,10 +1406,10 @@ export declare const ScatterplotUmapSettingsSchema: z.ZodObject<{
|
|
|
1406
1406
|
position: z.ZodOptional<z.ZodEnum<["inside", "right", "top", "bottom"]>>;
|
|
1407
1407
|
}, "strip", z.ZodTypeAny, {
|
|
1408
1408
|
show?: boolean | undefined;
|
|
1409
|
-
position?: "
|
|
1409
|
+
position?: "top" | "bottom" | "right" | "inside" | undefined;
|
|
1410
1410
|
}, {
|
|
1411
1411
|
show?: boolean | undefined;
|
|
1412
|
-
position?: "
|
|
1412
|
+
position?: "top" | "bottom" | "right" | "inside" | undefined;
|
|
1413
1413
|
}>>;
|
|
1414
1414
|
tooltips: z.ZodOptional<z.ZodObject<{
|
|
1415
1415
|
show: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1464,9 +1464,9 @@ export declare const ScatterplotUmapSettingsSchema: z.ZodObject<{
|
|
|
1464
1464
|
frame: z.ZodOptional<z.ZodObject<{
|
|
1465
1465
|
type: z.ZodOptional<z.ZodEnum<["left", "bottom", "left-bottom", "full", "empty"]>>;
|
|
1466
1466
|
}, "strip", z.ZodTypeAny, {
|
|
1467
|
-
type?: "
|
|
1467
|
+
type?: "bottom" | "left" | "left-bottom" | "full" | "empty" | undefined;
|
|
1468
1468
|
}, {
|
|
1469
|
-
type?: "
|
|
1469
|
+
type?: "bottom" | "left" | "left-bottom" | "full" | "empty" | undefined;
|
|
1470
1470
|
}>>;
|
|
1471
1471
|
keyColumn: z.ZodOptional<z.ZodObject<{
|
|
1472
1472
|
type: z.ZodLiteral<"column">;
|
|
@@ -1573,7 +1573,19 @@ export declare const ScatterplotUmapSettingsSchema: z.ZodObject<{
|
|
|
1573
1573
|
showGrid: z.ZodOptional<z.ZodBoolean>;
|
|
1574
1574
|
showTicks: z.ZodOptional<z.ZodBoolean>;
|
|
1575
1575
|
significantLines: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
1576
|
-
significantLinesStyle: z.ZodOptional<z.
|
|
1576
|
+
significantLinesStyle: z.ZodOptional<z.ZodObject<{
|
|
1577
|
+
shape: z.ZodOptional<z.ZodEnum<["solid", "dashed", "dotted", "dotdash", "longdash", "twodash"]>>;
|
|
1578
|
+
showLabel: z.ZodOptional<z.ZodBoolean>;
|
|
1579
|
+
labelPosition: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"top">, z.ZodLiteral<"bottom">, z.ZodLiteral<"left">, z.ZodLiteral<"right">]>>;
|
|
1580
|
+
}, "strip", z.ZodTypeAny, {
|
|
1581
|
+
shape?: "solid" | "dashed" | "dotted" | "dotdash" | "longdash" | "twodash" | undefined;
|
|
1582
|
+
showLabel?: boolean | undefined;
|
|
1583
|
+
labelPosition?: "top" | "bottom" | "left" | "right" | undefined;
|
|
1584
|
+
}, {
|
|
1585
|
+
shape?: "solid" | "dashed" | "dotted" | "dotdash" | "longdash" | "twodash" | undefined;
|
|
1586
|
+
showLabel?: boolean | undefined;
|
|
1587
|
+
labelPosition?: "top" | "bottom" | "left" | "right" | undefined;
|
|
1588
|
+
}>>;
|
|
1577
1589
|
symmetricRange: z.ZodOptional<z.ZodNumber>;
|
|
1578
1590
|
upperValue: z.ZodOptional<z.ZodNumber>;
|
|
1579
1591
|
lowerValue: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1593,7 +1605,11 @@ export declare const ScatterplotUmapSettingsSchema: z.ZodObject<{
|
|
|
1593
1605
|
showTicks?: boolean | undefined;
|
|
1594
1606
|
hiddenLabels?: boolean | undefined;
|
|
1595
1607
|
significantLines?: number[] | undefined;
|
|
1596
|
-
significantLinesStyle?:
|
|
1608
|
+
significantLinesStyle?: {
|
|
1609
|
+
shape?: "solid" | "dashed" | "dotted" | "dotdash" | "longdash" | "twodash" | undefined;
|
|
1610
|
+
showLabel?: boolean | undefined;
|
|
1611
|
+
labelPosition?: "top" | "bottom" | "left" | "right" | undefined;
|
|
1612
|
+
} | undefined;
|
|
1597
1613
|
symmetricRange?: number | undefined;
|
|
1598
1614
|
upperValue?: number | undefined;
|
|
1599
1615
|
lowerValue?: number | undefined;
|
|
@@ -1612,7 +1628,11 @@ export declare const ScatterplotUmapSettingsSchema: z.ZodObject<{
|
|
|
1612
1628
|
showTicks?: boolean | undefined;
|
|
1613
1629
|
hiddenLabels?: boolean | undefined;
|
|
1614
1630
|
significantLines?: number[] | undefined;
|
|
1615
|
-
significantLinesStyle?:
|
|
1631
|
+
significantLinesStyle?: {
|
|
1632
|
+
shape?: "solid" | "dashed" | "dotted" | "dotdash" | "longdash" | "twodash" | undefined;
|
|
1633
|
+
showLabel?: boolean | undefined;
|
|
1634
|
+
labelPosition?: "top" | "bottom" | "left" | "right" | undefined;
|
|
1635
|
+
} | undefined;
|
|
1616
1636
|
symmetricRange?: number | undefined;
|
|
1617
1637
|
upperValue?: number | undefined;
|
|
1618
1638
|
lowerValue?: number | undefined;
|
|
@@ -1647,7 +1667,19 @@ export declare const ScatterplotUmapSettingsSchema: z.ZodObject<{
|
|
|
1647
1667
|
showGrid: z.ZodOptional<z.ZodBoolean>;
|
|
1648
1668
|
showTicks: z.ZodOptional<z.ZodBoolean>;
|
|
1649
1669
|
significantLines: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
1650
|
-
significantLinesStyle: z.ZodOptional<z.
|
|
1670
|
+
significantLinesStyle: z.ZodOptional<z.ZodObject<{
|
|
1671
|
+
shape: z.ZodOptional<z.ZodEnum<["solid", "dashed", "dotted", "dotdash", "longdash", "twodash"]>>;
|
|
1672
|
+
showLabel: z.ZodOptional<z.ZodBoolean>;
|
|
1673
|
+
labelPosition: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"top">, z.ZodLiteral<"bottom">, z.ZodLiteral<"left">, z.ZodLiteral<"right">]>>;
|
|
1674
|
+
}, "strip", z.ZodTypeAny, {
|
|
1675
|
+
shape?: "solid" | "dashed" | "dotted" | "dotdash" | "longdash" | "twodash" | undefined;
|
|
1676
|
+
showLabel?: boolean | undefined;
|
|
1677
|
+
labelPosition?: "top" | "bottom" | "left" | "right" | undefined;
|
|
1678
|
+
}, {
|
|
1679
|
+
shape?: "solid" | "dashed" | "dotted" | "dotdash" | "longdash" | "twodash" | undefined;
|
|
1680
|
+
showLabel?: boolean | undefined;
|
|
1681
|
+
labelPosition?: "top" | "bottom" | "left" | "right" | undefined;
|
|
1682
|
+
}>>;
|
|
1651
1683
|
symmetricRange: z.ZodOptional<z.ZodNumber>;
|
|
1652
1684
|
upperValue: z.ZodOptional<z.ZodNumber>;
|
|
1653
1685
|
lowerValue: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1667,7 +1699,11 @@ export declare const ScatterplotUmapSettingsSchema: z.ZodObject<{
|
|
|
1667
1699
|
showTicks?: boolean | undefined;
|
|
1668
1700
|
hiddenLabels?: boolean | undefined;
|
|
1669
1701
|
significantLines?: number[] | undefined;
|
|
1670
|
-
significantLinesStyle?:
|
|
1702
|
+
significantLinesStyle?: {
|
|
1703
|
+
shape?: "solid" | "dashed" | "dotted" | "dotdash" | "longdash" | "twodash" | undefined;
|
|
1704
|
+
showLabel?: boolean | undefined;
|
|
1705
|
+
labelPosition?: "top" | "bottom" | "left" | "right" | undefined;
|
|
1706
|
+
} | undefined;
|
|
1671
1707
|
symmetricRange?: number | undefined;
|
|
1672
1708
|
upperValue?: number | undefined;
|
|
1673
1709
|
lowerValue?: number | undefined;
|
|
@@ -1686,7 +1722,11 @@ export declare const ScatterplotUmapSettingsSchema: z.ZodObject<{
|
|
|
1686
1722
|
showTicks?: boolean | undefined;
|
|
1687
1723
|
hiddenLabels?: boolean | undefined;
|
|
1688
1724
|
significantLines?: number[] | undefined;
|
|
1689
|
-
significantLinesStyle?:
|
|
1725
|
+
significantLinesStyle?: {
|
|
1726
|
+
shape?: "solid" | "dashed" | "dotted" | "dotdash" | "longdash" | "twodash" | undefined;
|
|
1727
|
+
showLabel?: boolean | undefined;
|
|
1728
|
+
labelPosition?: "top" | "bottom" | "left" | "right" | undefined;
|
|
1729
|
+
} | undefined;
|
|
1690
1730
|
symmetricRange?: number | undefined;
|
|
1691
1731
|
upperValue?: number | undefined;
|
|
1692
1732
|
lowerValue?: number | undefined;
|
|
@@ -2680,7 +2720,7 @@ export declare const ScatterplotUmapSettingsSchema: z.ZodObject<{
|
|
|
2680
2720
|
}[] | undefined;
|
|
2681
2721
|
legend?: {
|
|
2682
2722
|
show?: boolean | undefined;
|
|
2683
|
-
position?: "
|
|
2723
|
+
position?: "top" | "bottom" | "right" | "inside" | undefined;
|
|
2684
2724
|
} | undefined;
|
|
2685
2725
|
tooltips?: {
|
|
2686
2726
|
show?: boolean | undefined;
|
|
@@ -2695,7 +2735,7 @@ export declare const ScatterplotUmapSettingsSchema: z.ZodObject<{
|
|
|
2695
2735
|
}[] | undefined;
|
|
2696
2736
|
} | undefined;
|
|
2697
2737
|
frame?: {
|
|
2698
|
-
type?: "
|
|
2738
|
+
type?: "bottom" | "left" | "left-bottom" | "full" | "empty" | undefined;
|
|
2699
2739
|
} | undefined;
|
|
2700
2740
|
keyColumn?: {
|
|
2701
2741
|
type: "column";
|
|
@@ -2721,7 +2761,11 @@ export declare const ScatterplotUmapSettingsSchema: z.ZodObject<{
|
|
|
2721
2761
|
showTicks?: boolean | undefined;
|
|
2722
2762
|
hiddenLabels?: boolean | undefined;
|
|
2723
2763
|
significantLines?: number[] | undefined;
|
|
2724
|
-
significantLinesStyle?:
|
|
2764
|
+
significantLinesStyle?: {
|
|
2765
|
+
shape?: "solid" | "dashed" | "dotted" | "dotdash" | "longdash" | "twodash" | undefined;
|
|
2766
|
+
showLabel?: boolean | undefined;
|
|
2767
|
+
labelPosition?: "top" | "bottom" | "left" | "right" | undefined;
|
|
2768
|
+
} | undefined;
|
|
2725
2769
|
symmetricRange?: number | undefined;
|
|
2726
2770
|
upperValue?: number | undefined;
|
|
2727
2771
|
lowerValue?: number | undefined;
|
|
@@ -2741,7 +2785,11 @@ export declare const ScatterplotUmapSettingsSchema: z.ZodObject<{
|
|
|
2741
2785
|
showTicks?: boolean | undefined;
|
|
2742
2786
|
hiddenLabels?: boolean | undefined;
|
|
2743
2787
|
significantLines?: number[] | undefined;
|
|
2744
|
-
significantLinesStyle?:
|
|
2788
|
+
significantLinesStyle?: {
|
|
2789
|
+
shape?: "solid" | "dashed" | "dotted" | "dotdash" | "longdash" | "twodash" | undefined;
|
|
2790
|
+
showLabel?: boolean | undefined;
|
|
2791
|
+
labelPosition?: "top" | "bottom" | "left" | "right" | undefined;
|
|
2792
|
+
} | undefined;
|
|
2745
2793
|
symmetricRange?: number | undefined;
|
|
2746
2794
|
upperValue?: number | undefined;
|
|
2747
2795
|
lowerValue?: number | undefined;
|
|
@@ -2922,7 +2970,7 @@ export declare const ScatterplotUmapSettingsSchema: z.ZodObject<{
|
|
|
2922
2970
|
}[] | undefined;
|
|
2923
2971
|
legend?: {
|
|
2924
2972
|
show?: boolean | undefined;
|
|
2925
|
-
position?: "
|
|
2973
|
+
position?: "top" | "bottom" | "right" | "inside" | undefined;
|
|
2926
2974
|
} | undefined;
|
|
2927
2975
|
tooltips?: {
|
|
2928
2976
|
show?: boolean | undefined;
|
|
@@ -2937,7 +2985,7 @@ export declare const ScatterplotUmapSettingsSchema: z.ZodObject<{
|
|
|
2937
2985
|
}[] | undefined;
|
|
2938
2986
|
} | undefined;
|
|
2939
2987
|
frame?: {
|
|
2940
|
-
type?: "
|
|
2988
|
+
type?: "bottom" | "left" | "left-bottom" | "full" | "empty" | undefined;
|
|
2941
2989
|
} | undefined;
|
|
2942
2990
|
keyColumn?: {
|
|
2943
2991
|
type: "column";
|
|
@@ -2963,7 +3011,11 @@ export declare const ScatterplotUmapSettingsSchema: z.ZodObject<{
|
|
|
2963
3011
|
showTicks?: boolean | undefined;
|
|
2964
3012
|
hiddenLabels?: boolean | undefined;
|
|
2965
3013
|
significantLines?: number[] | undefined;
|
|
2966
|
-
significantLinesStyle?:
|
|
3014
|
+
significantLinesStyle?: {
|
|
3015
|
+
shape?: "solid" | "dashed" | "dotted" | "dotdash" | "longdash" | "twodash" | undefined;
|
|
3016
|
+
showLabel?: boolean | undefined;
|
|
3017
|
+
labelPosition?: "top" | "bottom" | "left" | "right" | undefined;
|
|
3018
|
+
} | undefined;
|
|
2967
3019
|
symmetricRange?: number | undefined;
|
|
2968
3020
|
upperValue?: number | undefined;
|
|
2969
3021
|
lowerValue?: number | undefined;
|
|
@@ -2983,7 +3035,11 @@ export declare const ScatterplotUmapSettingsSchema: z.ZodObject<{
|
|
|
2983
3035
|
showTicks?: boolean | undefined;
|
|
2984
3036
|
hiddenLabels?: boolean | undefined;
|
|
2985
3037
|
significantLines?: number[] | undefined;
|
|
2986
|
-
significantLinesStyle?:
|
|
3038
|
+
significantLinesStyle?: {
|
|
3039
|
+
shape?: "solid" | "dashed" | "dotted" | "dotdash" | "longdash" | "twodash" | undefined;
|
|
3040
|
+
showLabel?: boolean | undefined;
|
|
3041
|
+
labelPosition?: "top" | "bottom" | "left" | "right" | undefined;
|
|
3042
|
+
} | undefined;
|
|
2987
3043
|
symmetricRange?: number | undefined;
|
|
2988
3044
|
upperValue?: number | undefined;
|
|
2989
3045
|
lowerValue?: number | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scatterplot-umap.d.ts","sourceRoot":"","sources":["../../src/types/scatterplot-umap.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,oCAAoC,EAAE,MAAM,UAAU,CAAC;AACrE,OAAO,EAEe,mCAAmC,EAIxD,MAAM,UAAU,CAAC;AAClB,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,eAAe,CAAC;AAE3D,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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