@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
package/dist/types/bubble.d.ts
CHANGED
|
@@ -32,17 +32,17 @@ export declare const BubblesSettingsSchema: z.ZodObject<{
|
|
|
32
32
|
position: z.ZodOptional<z.ZodEnum<["inside", "right", "top", "bottom"]>>;
|
|
33
33
|
}, "strip", z.ZodTypeAny, {
|
|
34
34
|
show?: boolean | undefined;
|
|
35
|
-
position?: "
|
|
35
|
+
position?: "top" | "bottom" | "right" | "inside" | undefined;
|
|
36
36
|
}, {
|
|
37
37
|
show?: boolean | undefined;
|
|
38
|
-
position?: "
|
|
38
|
+
position?: "top" | "bottom" | "right" | "inside" | undefined;
|
|
39
39
|
}>>;
|
|
40
40
|
frame: z.ZodOptional<z.ZodObject<{
|
|
41
41
|
type: z.ZodOptional<z.ZodEnum<["left", "bottom", "left-bottom", "full", "empty"]>>;
|
|
42
42
|
}, "strip", z.ZodTypeAny, {
|
|
43
|
-
type?: "
|
|
43
|
+
type?: "bottom" | "left" | "left-bottom" | "full" | "empty" | undefined;
|
|
44
44
|
}, {
|
|
45
|
-
type?: "
|
|
45
|
+
type?: "bottom" | "left" | "left-bottom" | "full" | "empty" | undefined;
|
|
46
46
|
}>>;
|
|
47
47
|
facetSettings: z.ZodOptional<z.ZodObject<{
|
|
48
48
|
nRows: z.ZodOptional<z.ZodNumber>;
|
|
@@ -492,7 +492,7 @@ export declare const BubblesSettingsSchema: z.ZodObject<{
|
|
|
492
492
|
} | undefined;
|
|
493
493
|
legend?: {
|
|
494
494
|
show?: boolean | undefined;
|
|
495
|
-
position?: "
|
|
495
|
+
position?: "top" | "bottom" | "right" | "inside" | undefined;
|
|
496
496
|
} | undefined;
|
|
497
497
|
tooltips?: {
|
|
498
498
|
show?: boolean | undefined;
|
|
@@ -507,7 +507,7 @@ export declare const BubblesSettingsSchema: z.ZodObject<{
|
|
|
507
507
|
}[] | undefined;
|
|
508
508
|
} | undefined;
|
|
509
509
|
frame?: {
|
|
510
|
-
type?: "
|
|
510
|
+
type?: "bottom" | "left" | "left-bottom" | "full" | "empty" | undefined;
|
|
511
511
|
} | undefined;
|
|
512
512
|
facetSettings?: {
|
|
513
513
|
order?: string[] | undefined;
|
|
@@ -650,7 +650,7 @@ export declare const BubblesSettingsSchema: z.ZodObject<{
|
|
|
650
650
|
} | undefined;
|
|
651
651
|
legend?: {
|
|
652
652
|
show?: boolean | undefined;
|
|
653
|
-
position?: "
|
|
653
|
+
position?: "top" | "bottom" | "right" | "inside" | undefined;
|
|
654
654
|
} | undefined;
|
|
655
655
|
tooltips?: {
|
|
656
656
|
show?: boolean | undefined;
|
|
@@ -665,7 +665,7 @@ export declare const BubblesSettingsSchema: z.ZodObject<{
|
|
|
665
665
|
}[] | undefined;
|
|
666
666
|
} | undefined;
|
|
667
667
|
frame?: {
|
|
668
|
-
type?: "
|
|
668
|
+
type?: "bottom" | "left" | "left-bottom" | "full" | "empty" | undefined;
|
|
669
669
|
} | undefined;
|
|
670
670
|
facetSettings?: {
|
|
671
671
|
order?: string[] | undefined;
|
package/dist/types/common.d.ts
CHANGED
|
@@ -286,6 +286,22 @@ export declare const AxisSettingsDiscreteSchema: z.ZodObject<{
|
|
|
286
286
|
labelsPosition?: "center" | "45deg" | "90deg" | undefined;
|
|
287
287
|
hiddenLabels?: boolean | undefined;
|
|
288
288
|
}>;
|
|
289
|
+
export declare const SignificantLineLabelPositionSchema: z.ZodUnion<[z.ZodLiteral<"top">, z.ZodLiteral<"bottom">, z.ZodLiteral<"left">, z.ZodLiteral<"right">]>;
|
|
290
|
+
export type SignificantLineLabelPosition = z.infer<typeof SignificantLineLabelPositionSchema>;
|
|
291
|
+
export declare const SignificantLinesStyleSchema: z.ZodObject<{
|
|
292
|
+
shape: z.ZodOptional<z.ZodEnum<["solid", "dashed", "dotted", "dotdash", "longdash", "twodash"]>>;
|
|
293
|
+
showLabel: z.ZodOptional<z.ZodBoolean>;
|
|
294
|
+
labelPosition: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"top">, z.ZodLiteral<"bottom">, z.ZodLiteral<"left">, z.ZodLiteral<"right">]>>;
|
|
295
|
+
}, "strip", z.ZodTypeAny, {
|
|
296
|
+
shape?: "solid" | "dashed" | "dotted" | "dotdash" | "longdash" | "twodash" | undefined;
|
|
297
|
+
showLabel?: boolean | undefined;
|
|
298
|
+
labelPosition?: "top" | "bottom" | "left" | "right" | undefined;
|
|
299
|
+
}, {
|
|
300
|
+
shape?: "solid" | "dashed" | "dotted" | "dotdash" | "longdash" | "twodash" | undefined;
|
|
301
|
+
showLabel?: boolean | undefined;
|
|
302
|
+
labelPosition?: "top" | "bottom" | "left" | "right" | undefined;
|
|
303
|
+
}>;
|
|
304
|
+
export type SignificantLinesStyle = z.infer<typeof SignificantLinesStyleSchema>;
|
|
289
305
|
export declare const AxisSettingsContinuousSchema: z.ZodObject<{
|
|
290
306
|
title: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
291
307
|
type: z.ZodLiteral<"column">;
|
|
@@ -316,7 +332,19 @@ export declare const AxisSettingsContinuousSchema: z.ZodObject<{
|
|
|
316
332
|
showGrid: z.ZodOptional<z.ZodBoolean>;
|
|
317
333
|
showTicks: z.ZodOptional<z.ZodBoolean>;
|
|
318
334
|
significantLines: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
319
|
-
significantLinesStyle: z.ZodOptional<z.
|
|
335
|
+
significantLinesStyle: z.ZodOptional<z.ZodObject<{
|
|
336
|
+
shape: z.ZodOptional<z.ZodEnum<["solid", "dashed", "dotted", "dotdash", "longdash", "twodash"]>>;
|
|
337
|
+
showLabel: z.ZodOptional<z.ZodBoolean>;
|
|
338
|
+
labelPosition: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"top">, z.ZodLiteral<"bottom">, z.ZodLiteral<"left">, z.ZodLiteral<"right">]>>;
|
|
339
|
+
}, "strip", z.ZodTypeAny, {
|
|
340
|
+
shape?: "solid" | "dashed" | "dotted" | "dotdash" | "longdash" | "twodash" | undefined;
|
|
341
|
+
showLabel?: boolean | undefined;
|
|
342
|
+
labelPosition?: "top" | "bottom" | "left" | "right" | undefined;
|
|
343
|
+
}, {
|
|
344
|
+
shape?: "solid" | "dashed" | "dotted" | "dotdash" | "longdash" | "twodash" | undefined;
|
|
345
|
+
showLabel?: boolean | undefined;
|
|
346
|
+
labelPosition?: "top" | "bottom" | "left" | "right" | undefined;
|
|
347
|
+
}>>;
|
|
320
348
|
symmetricRange: z.ZodOptional<z.ZodNumber>;
|
|
321
349
|
upperValue: z.ZodOptional<z.ZodNumber>;
|
|
322
350
|
lowerValue: z.ZodOptional<z.ZodNumber>;
|
|
@@ -336,7 +364,11 @@ export declare const AxisSettingsContinuousSchema: z.ZodObject<{
|
|
|
336
364
|
showTicks?: boolean | undefined;
|
|
337
365
|
hiddenLabels?: boolean | undefined;
|
|
338
366
|
significantLines?: number[] | undefined;
|
|
339
|
-
significantLinesStyle?:
|
|
367
|
+
significantLinesStyle?: {
|
|
368
|
+
shape?: "solid" | "dashed" | "dotted" | "dotdash" | "longdash" | "twodash" | undefined;
|
|
369
|
+
showLabel?: boolean | undefined;
|
|
370
|
+
labelPosition?: "top" | "bottom" | "left" | "right" | undefined;
|
|
371
|
+
} | undefined;
|
|
340
372
|
symmetricRange?: number | undefined;
|
|
341
373
|
upperValue?: number | undefined;
|
|
342
374
|
lowerValue?: number | undefined;
|
|
@@ -355,7 +387,11 @@ export declare const AxisSettingsContinuousSchema: z.ZodObject<{
|
|
|
355
387
|
showTicks?: boolean | undefined;
|
|
356
388
|
hiddenLabels?: boolean | undefined;
|
|
357
389
|
significantLines?: number[] | undefined;
|
|
358
|
-
significantLinesStyle?:
|
|
390
|
+
significantLinesStyle?: {
|
|
391
|
+
shape?: "solid" | "dashed" | "dotted" | "dotdash" | "longdash" | "twodash" | undefined;
|
|
392
|
+
showLabel?: boolean | undefined;
|
|
393
|
+
labelPosition?: "top" | "bottom" | "left" | "right" | undefined;
|
|
394
|
+
} | undefined;
|
|
359
395
|
symmetricRange?: number | undefined;
|
|
360
396
|
upperValue?: number | undefined;
|
|
361
397
|
lowerValue?: number | undefined;
|
|
@@ -460,7 +496,19 @@ export declare const AxisSettingsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
460
496
|
showGrid: z.ZodOptional<z.ZodBoolean>;
|
|
461
497
|
showTicks: z.ZodOptional<z.ZodBoolean>;
|
|
462
498
|
significantLines: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
463
|
-
significantLinesStyle: z.ZodOptional<z.
|
|
499
|
+
significantLinesStyle: z.ZodOptional<z.ZodObject<{
|
|
500
|
+
shape: z.ZodOptional<z.ZodEnum<["solid", "dashed", "dotted", "dotdash", "longdash", "twodash"]>>;
|
|
501
|
+
showLabel: z.ZodOptional<z.ZodBoolean>;
|
|
502
|
+
labelPosition: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"top">, z.ZodLiteral<"bottom">, z.ZodLiteral<"left">, z.ZodLiteral<"right">]>>;
|
|
503
|
+
}, "strip", z.ZodTypeAny, {
|
|
504
|
+
shape?: "solid" | "dashed" | "dotted" | "dotdash" | "longdash" | "twodash" | undefined;
|
|
505
|
+
showLabel?: boolean | undefined;
|
|
506
|
+
labelPosition?: "top" | "bottom" | "left" | "right" | undefined;
|
|
507
|
+
}, {
|
|
508
|
+
shape?: "solid" | "dashed" | "dotted" | "dotdash" | "longdash" | "twodash" | undefined;
|
|
509
|
+
showLabel?: boolean | undefined;
|
|
510
|
+
labelPosition?: "top" | "bottom" | "left" | "right" | undefined;
|
|
511
|
+
}>>;
|
|
464
512
|
symmetricRange: z.ZodOptional<z.ZodNumber>;
|
|
465
513
|
upperValue: z.ZodOptional<z.ZodNumber>;
|
|
466
514
|
lowerValue: z.ZodOptional<z.ZodNumber>;
|
|
@@ -480,7 +528,11 @@ export declare const AxisSettingsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
480
528
|
showTicks?: boolean | undefined;
|
|
481
529
|
hiddenLabels?: boolean | undefined;
|
|
482
530
|
significantLines?: number[] | undefined;
|
|
483
|
-
significantLinesStyle?:
|
|
531
|
+
significantLinesStyle?: {
|
|
532
|
+
shape?: "solid" | "dashed" | "dotted" | "dotdash" | "longdash" | "twodash" | undefined;
|
|
533
|
+
showLabel?: boolean | undefined;
|
|
534
|
+
labelPosition?: "top" | "bottom" | "left" | "right" | undefined;
|
|
535
|
+
} | undefined;
|
|
484
536
|
symmetricRange?: number | undefined;
|
|
485
537
|
upperValue?: number | undefined;
|
|
486
538
|
lowerValue?: number | undefined;
|
|
@@ -499,7 +551,11 @@ export declare const AxisSettingsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
499
551
|
showTicks?: boolean | undefined;
|
|
500
552
|
hiddenLabels?: boolean | undefined;
|
|
501
553
|
significantLines?: number[] | undefined;
|
|
502
|
-
significantLinesStyle?:
|
|
554
|
+
significantLinesStyle?: {
|
|
555
|
+
shape?: "solid" | "dashed" | "dotted" | "dotdash" | "longdash" | "twodash" | undefined;
|
|
556
|
+
showLabel?: boolean | undefined;
|
|
557
|
+
labelPosition?: "top" | "bottom" | "left" | "right" | undefined;
|
|
558
|
+
} | undefined;
|
|
503
559
|
symmetricRange?: number | undefined;
|
|
504
560
|
upperValue?: number | undefined;
|
|
505
561
|
lowerValue?: number | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../src/types/common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,kBAAkB,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAC;AAC7E,OAAO,KAAK,EAAE,wBAAwB,EAAE,uBAAuB,EAAE,MAAM,eAAe,CAAC;AAEvF,MAAM,MAAM,SAAS,GAAG,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC;AAC/C,MAAM,MAAM,QAAQ,GAAG,MAAM,CAAC;AAC9B,eAAO,MAAM,eAAe,mDAA8C,CAAC;AAE3E,MAAM,MAAM,GAAG,GAAG,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,CAAA;AAE3C,MAAM,MAAM,KAAK,GAAG,MAAM,CAAC;AAE3B,eAAO,MAAM,uBAAuB,oDAAkD,CAAC;AACvF,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAGxE,eAAO,MAAM,WAAW,uJA0Bd,CAAC;AACX,eAAO,MAAM,gBAAgB,yJAAsB,CAAC;AACpD,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAG1D,eAAO,MAAM,eAAe,4EAAqB,CAAC;AAClD,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AAGxD,eAAO,MAAM,eAAe,+DAAqB,CAAC;AA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gBAAiB,SAAQ,aAAa;IACnD,IAAI,EAAE,cAAc,CAAC;IACrB,IAAI,EAAE;QACF,OAAO,EAAE,MAAM,CAAC;QAChB,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;KAC7B,CAAC;CACL;AACD,MAAM,MAAM,SAAS,GAAG,eAAe,GAAG,sBAAsB,GAAG,wBAAwB,GAAG,2BAA2B,GAAG,2BAA2B,GAAG,wBAAwB,GAAG,gBAAgB,CAAC;AACtM,wBAAgB,WAAW,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,SAAS,CAE9D;AACD,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,KAAK,GAAG,gBAAgB,CAQlE"}
|
package/dist/types/common.js
CHANGED
|
@@ -108,25 +108,34 @@ const _ = e.union([
|
|
|
108
108
|
showTicks: e.optional(e.boolean()),
|
|
109
109
|
labelsPosition: e.optional(_),
|
|
110
110
|
hiddenLabels: e.optional(e.boolean())
|
|
111
|
-
}), y = e.
|
|
111
|
+
}), y = e.union([
|
|
112
|
+
e.literal("top"),
|
|
113
|
+
e.literal("bottom"),
|
|
114
|
+
e.literal("left"),
|
|
115
|
+
e.literal("right")
|
|
116
|
+
]), b = e.object({
|
|
117
|
+
shape: e.optional(a),
|
|
118
|
+
showLabel: e.optional(e.boolean()),
|
|
119
|
+
labelPosition: e.optional(y)
|
|
120
|
+
}), x = e.object({
|
|
112
121
|
title: e.optional(e.union([e.string(), u])),
|
|
113
122
|
scale: e.optional(e.union([e.literal("linear"), e.literal("log")])),
|
|
114
123
|
showGrid: e.optional(e.boolean()),
|
|
115
124
|
showTicks: e.optional(e.boolean()),
|
|
116
125
|
significantLines: e.optional(e.array(e.number())),
|
|
117
|
-
significantLinesStyle: e.optional(
|
|
126
|
+
significantLinesStyle: e.optional(b),
|
|
118
127
|
symmetricRange: e.optional(e.number()),
|
|
119
128
|
upperValue: e.optional(e.number()),
|
|
120
129
|
lowerValue: e.optional(e.number()),
|
|
121
130
|
hiddenLabels: e.optional(e.boolean())
|
|
122
|
-
}),
|
|
131
|
+
}), S = e.union([v, x]), C = e.object({
|
|
123
132
|
show: e.optional(e.boolean()),
|
|
124
133
|
content: e.optional(e.array(u))
|
|
125
134
|
});
|
|
126
|
-
function
|
|
135
|
+
function w(e) {
|
|
127
136
|
return typeof e == "object" && !!e && "type" in e && "info" in e;
|
|
128
137
|
}
|
|
129
|
-
function
|
|
138
|
+
function T(e) {
|
|
130
139
|
return {
|
|
131
140
|
type: "unknownError",
|
|
132
141
|
info: {
|
|
@@ -135,6 +144,6 @@ function C(e) {
|
|
|
135
144
|
}
|
|
136
145
|
};
|
|
137
146
|
}
|
|
138
|
-
export { d as AesItemSchema, f as AesRecordSchema, n as AggregationMethodSchema,
|
|
147
|
+
export { d as AesItemSchema, f as AesRecordSchema, n as AggregationMethodSchema, x as AxisSettingsContinuousSchema, v as AxisSettingsDiscreteSchema, S as AxisSettingsSchema, u as ColumnNameSchema, t as DataValueSchema, _ as DiscreteLabelsPositionSchema, o as FrameTypeSchema, s as LegendPositionSchema, a as LineShapeSchema, r as POINT_SHAPE, i as PointShapeSchema, y as SignificantLineLabelPositionSchema, b as SignificantLinesStyleSchema, c as TITLE_POSITION, l as TitlePositionSchema, C as TooltipSettingsSchema, p as categoricalAesMappingFromValueSchema, m as continuousAesMappingFromValueSchema, T as getUnknownErrorInfo, h as isCategoricalAes, g as isContinuousAes, w as isErrorInfo };
|
|
139
148
|
|
|
140
149
|
//# sourceMappingURL=common.js.map
|
package/dist/types/common.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"common.js","names":[],"sources":["../../src/types/common.ts"],"sourcesContent":["import { z } from 'zod';\nimport type { LassoControlsState, Polygon } from '../scatterplot-umap/types';\nimport type { CategoricalAesFromColumn, ContinuousAesFromColumn } from './scatterplot';\n\nexport type DataValue = string | number | null;\nexport type Category = string;\nexport const DataValueSchema = z.union([z.string(), z.number(), z.null()]);\n\nexport type Row = Record<string, DataValue>\n\nexport type Color = string;\n\nexport const AggregationMethodSchema = z.enum(['sum', 'mean', 'median', 'min', 'max']);\nexport type AggregationMethod = z.infer<typeof AggregationMethodSchema>;\n\n// numbered according ggplot2 symbols, 19 (third size of black circle) is missed\nexport const POINT_SHAPE = [\n '0',\n '1',\n '2',\n '3',\n '4',\n '5',\n '6',\n '7',\n '8',\n '9',\n '10',\n '11',\n '12',\n '13',\n '14',\n '15',\n '16',\n '17',\n '18',\n '20',\n '21',\n '22',\n '23',\n '24',\n '25',\n] as const;\nexport const PointShapeSchema = z.enum(POINT_SHAPE);\nexport type PointShape = z.infer<typeof PointShapeSchema>;\n\nconst LINE_SHAPE = ['solid', 'dashed', 'dotted', 'dotdash', 'longdash', 'twodash'] as const;\nexport const LineShapeSchema = z.enum(LINE_SHAPE);\nexport type LineShape = z.infer<typeof LineShapeSchema>;\n\nconst FRAME_TYPE = ['left', 'bottom', 'left-bottom', 'full', 'empty'] as const;\nexport const FrameTypeSchema = z.enum(FRAME_TYPE);\nexport type FrameType = z.infer<typeof FrameTypeSchema>;\n\nconst LEGEND_POSITION = ['inside', 'right', 'top', 'bottom'] as const;\nexport const LegendPositionSchema = z.enum(LEGEND_POSITION);\nexport type LegendPosition = z.infer<typeof LegendPositionSchema>;\n\nexport const TITLE_POSITION = ['left', 'center', 'right'] as const;\nexport const TitlePositionSchema = z.enum(TITLE_POSITION);\nexport type TitlePosition = z.infer<typeof TitlePositionSchema>;\n\nexport const ColumnNameSchema = z.object({\n type: z.literal('column'),\n value: z.string(),\n format: z.optional(z.string()), // d3 format\n label: z.optional(z.string()),\n // Column id of a sibling labels column in the same DataFrame. Per-row\n // lookup via `data.getColumnValue(valueLabels, rowIdx)`.\n valueLabels: z.optional(z.string()),\n // Authoritative value -> display label map sourced from the column spec's\n // `pl7.app/valueLabels` annotation. Use when the value space is finite and\n // labels must exist independent of the data rows (e.g. selection stages\n // that may have eliminated zero rows).\n valueLabelsMap: z.optional(z.record(z.string())),\n nullValueLabel: z.optional(z.string())\n});\nexport type ColumnName = z.infer<typeof ColumnNameSchema>\n\nexport type AesItem = {\n fillColor?: Color;\n lineColor?: Color;\n lineWidth?: number;\n lineShape?: LineShape;\n dotShape?: PointShape;\n dotSize?: number;\n dotFill?: Color;\n};\nexport const AesItemSchema = z.object({\n fillColor: z.optional(z.string()),\n lineColor: z.optional(z.string()),\n lineWidth: z.optional(z.number()),\n lineShape: z.optional(LineShapeSchema),\n dotShape: z.optional(PointShapeSchema),\n dotSize: z.optional(z.number()),\n dotFill: z.optional(z.string()),\n});\n\nexport const AesRecordSchema = z.record(AesItemSchema);\nexport type AesRecord = z.infer<typeof AesRecordSchema>;\n\nexport function categoricalAesMappingFromValueSchema<ValueType extends z.ZodTypeAny>(\n valueSchema: ValueType,\n) {\n return z.object({\n columnName: ColumnNameSchema,\n valuesMap: z.record(valueSchema),\n });\n}\nexport function continuousAesMappingFromValueSchema<ValueType extends z.ZodTypeAny>(\n valueSchema: ValueType,\n) {\n return z.object({\n columnName: ColumnNameSchema,\n domain: z.array(z.number()),\n range: z.array(valueSchema),\n type: z.optional(z.union([z.literal('linear'), z.literal('log')]))\n });\n}\n\nexport function isCategoricalAes<InputType extends string | number | PointShape | LineShape>(\n item: InputType | CategoricalAesFromColumn<InputType> | ContinuousAesFromColumn<InputType> | unknown\n): item is CategoricalAesFromColumn<InputType> {\n if (typeof item !== 'object') {\n return false;\n }\n return item !== null && 'valuesMap' in item;\n}\n\nexport function isContinuousAes<InputType extends string | number | PointShape | LineShape>(\n item: InputType | CategoricalAesFromColumn<InputType> | ContinuousAesFromColumn<InputType> | unknown\n): item is ContinuousAesFromColumn<InputType> {\n if (typeof item !== 'object') {\n return false;\n }\n return item !== null && 'domain' in item && 'range' in item;\n}\n\nexport const DiscreteLabelsPositionSchema = z.union([z.literal('center'), z.literal('45deg'), z.literal('90deg')]);\n\nexport const AxisSettingsDiscreteSchema = z.object({\n title: z.optional(z.union([z.string(), ColumnNameSchema])),\n scale: z.optional(z.literal('discrete')),\n keys: z.optional(z.array(z.union([z.string(), z.number()]))),\n labels: z.optional(z.record(z.string())),\n showGrid: z.optional(z.boolean()),\n linesBetweenCategories: z.optional(z.boolean()),\n showTicks: z.optional(z.boolean()),\n labelsPosition: z.optional(DiscreteLabelsPositionSchema),\n hiddenLabels: z.optional(z.boolean())\n});\nexport const AxisSettingsContinuousSchema = z.object({\n title: z.optional(z.union([z.string(), ColumnNameSchema])),\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 significantLines: z.optional(z.array(z.number())),\n significantLinesStyle: z.optional(LineShapeSchema),\n symmetricRange: z.optional(z.number()),\n upperValue: z.optional(z.number()),\n lowerValue: z.optional(z.number()),\n hiddenLabels: z.optional(z.boolean()),\n});\n\nexport const AxisSettingsSchema = z.union([AxisSettingsDiscreteSchema, AxisSettingsContinuousSchema]);\n\nexport type AxisSettings = z.infer<typeof AxisSettingsSchema>\nexport type AxisSettingsDiscrete = z.infer<typeof AxisSettingsDiscreteSchema>;\nexport type AxisSettingsContinuous = z.infer<typeof AxisSettingsContinuousSchema>;\n\nexport type DiscreteLabelsPosition = z.infer<typeof DiscreteLabelsPositionSchema>;\n\nexport const TooltipSettingsSchema = z.object({\n show: z.optional(z.boolean()),\n content: z.optional(z.array(ColumnNameSchema)),\n});\n\nexport type TooltipSettings = z.infer<typeof TooltipSettingsSchema>;\n\nexport interface SettingsInterface {\n type: string;\n}\n\nexport type ClickEventData = {\n x: number;\n y: number;\n info: unknown;\n}\n\nexport type PolygonData = [number, number][];\n\nexport type ChartEventHandlers<T> = T;\nexport type DendroEventHandlers = ChartEventHandlers<[(d: ClickEventData) => void]>\nexport type ScatterplotEventHandlers = ChartEventHandlers<{\n onPolygonUpdate: (d: number[], p: Polygon[]) => void;\n onTooltipHintSwitch: (d: boolean) => void;\n onLassoStateChange: () => void;\n onLassoControlsStateUpdate: (v: LassoControlsState) => void;\n onZoomChange: (isZoomChanged: boolean) => void;\n}>\nexport type HeatmapEventHandlers = ChartEventHandlers<{\n onTooltipHintSwitch: (d: boolean) => void;\n onLoadingChange: (d: boolean) => void;\n}>\n\nexport type BubbleEventHandlers = ChartEventHandlers<[(d: boolean) => void]>\nexport type DiscreteEventHandlers = ChartEventHandlers<[(d: boolean) => void]>\nexport type HistogramEventHandlers = ChartEventHandlers<[(d: boolean) => void]>\n\nexport type ErrorTypes = 'tooManyFacets' \n| 'tooManyPrimaryGroups' | 'tooManySecondaryGroups'\n| 'tooManyScatterplotGroupsX' | 'tooManyScatterplotGroupsY'\n| 'tooManyHistogramGroups'\n| 'unknownError';\ntype ErrorInfoBase = { type: ErrorTypes, info: unknown };\nexport interface ErrorInfoFacets extends ErrorInfoBase {\n type: 'tooManyFacets';\n info: {\n count: number;\n maxCount: number;\n };\n}\nexport interface ErrorInfoPrimaryGroups extends ErrorInfoBase {\n type: 'tooManyPrimaryGroups';\n info: {\n count: number;\n maxCount: number;\n };\n}\nexport interface ErrorInfoSecondaryGroups extends ErrorInfoBase {\n type: 'tooManySecondaryGroups';\n info: {\n count: number;\n maxCount: number;\n };\n}\n\nexport interface ErrorInfoScatterplotGroupsX extends ErrorInfoBase {\n type: 'tooManyScatterplotGroupsX';\n info: {\n count: number;\n maxCount: number;\n };\n}\nexport interface ErrorInfoScatterplotGroupsY extends ErrorInfoBase {\n type: 'tooManyScatterplotGroupsY';\n info: {\n count: number;\n maxCount: number;\n };\n}\nexport interface ErrorInfoHistogramGroups extends ErrorInfoBase {\n type: 'tooManyHistogramGroups';\n info: {\n count: number;\n maxCount: number;\n };\n}\nexport interface ErrorInfoUnknown extends ErrorInfoBase {\n type: 'unknownError';\n info: {\n message: string;\n stack: string | undefined;\n };\n}\nexport type ErrorInfo = ErrorInfoFacets | ErrorInfoPrimaryGroups | ErrorInfoSecondaryGroups | ErrorInfoScatterplotGroupsX | ErrorInfoScatterplotGroupsY | ErrorInfoHistogramGroups | ErrorInfoUnknown;\nexport function isErrorInfo(value: unknown): value is ErrorInfo {\n return typeof value === 'object' && value !== null && 'type' in value && 'info' in value;\n}\nexport function getUnknownErrorInfo(error: Error): ErrorInfoUnknown {\n return {\n type: 'unknownError',\n info: {\n message: error.message,\n stack: error.stack,\n },\n };\n}"],"mappings":";AAMA,MAAa,IAAkB,EAAE,MAAM;CAAC,EAAE,QAAQ;CAAE,EAAE,QAAQ;CAAE,EAAE,MAAM;CAAC,CAAC,EAM7D,IAA0B,EAAE,KAAK;CAAC;CAAO;CAAQ;CAAU;CAAO;CAAM,CAAC,EAIzE,IAAc;CACvB;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACH,EACY,IAAmB,EAAE,KAAK,EAAY,EAItC,IAAkB,EAAE,KADd;CAAC;CAAS;CAAU;CAAU;CAAW;CAAY;CAAU,CACjC,EAIpC,IAAkB,EAAE,KADd;CAAC;CAAQ;CAAU;CAAe;CAAQ;CAAQ,CACpB,EAIpC,IAAuB,EAAE,KADd;CAAC;CAAU;CAAS;CAAO;CAAS,CACD,EAG9C,IAAiB;CAAC;CAAQ;CAAU;CAAQ,EAC5C,IAAsB,EAAE,KAAK,EAAe,EAG5C,IAAmB,EAAE,OAAO;CACrC,MAAM,EAAE,QAAQ,SAAS;CACzB,OAAO,EAAE,QAAQ;CACjB,QAAQ,EAAE,SAAS,EAAE,QAAQ,CAAC;CAC9B,OAAO,EAAE,SAAS,EAAE,QAAQ,CAAC;CAG7B,aAAa,EAAE,SAAS,EAAE,QAAQ,CAAC;CAKnC,gBAAgB,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,CAAC,CAAC;CAChD,gBAAgB,EAAE,SAAS,EAAE,QAAQ,CAAC;CACzC,CAAC,EAYW,IAAgB,EAAE,OAAO;CAClC,WAAW,EAAE,SAAS,EAAE,QAAQ,CAAC;CACjC,WAAW,EAAE,SAAS,EAAE,QAAQ,CAAC;CACjC,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ent":["import { z } from 'zod';\nimport type { LassoControlsState, Polygon } from '../scatterplot-umap/types';\nimport type { CategoricalAesFromColumn, ContinuousAesFromColumn } from './scatterplot';\n\nexport type DataValue = string | number | null;\nexport type Category = string;\nexport const DataValueSchema = z.union([z.string(), z.number(), z.null()]);\n\nexport type Row = Record<string, DataValue>\n\nexport type Color = string;\n\nexport const AggregationMethodSchema = z.enum(['sum', 'mean', 'median', 'min', 'max']);\nexport type AggregationMethod = z.infer<typeof AggregationMethodSchema>;\n\n// numbered according ggplot2 symbols, 19 (third size of black circle) is missed\nexport const POINT_SHAPE = [\n '0',\n '1',\n '2',\n '3',\n '4',\n '5',\n '6',\n '7',\n '8',\n '9',\n '10',\n '11',\n '12',\n '13',\n '14',\n '15',\n '16',\n '17',\n '18',\n '20',\n '21',\n '22',\n '23',\n '24',\n '25',\n] as const;\nexport const PointShapeSchema = z.enum(POINT_SHAPE);\nexport type PointShape = z.infer<typeof PointShapeSchema>;\n\nconst LINE_SHAPE = ['solid', 'dashed', 'dotted', 'dotdash', 'longdash', 'twodash'] as const;\nexport const LineShapeSchema = z.enum(LINE_SHAPE);\nexport type LineShape = z.infer<typeof LineShapeSchema>;\n\nconst FRAME_TYPE = ['left', 'bottom', 'left-bottom', 'full', 'empty'] as const;\nexport const FrameTypeSchema = z.enum(FRAME_TYPE);\nexport type FrameType = z.infer<typeof FrameTypeSchema>;\n\nconst LEGEND_POSITION = ['inside', 'right', 'top', 'bottom'] as const;\nexport const LegendPositionSchema = z.enum(LEGEND_POSITION);\nexport type LegendPosition = z.infer<typeof LegendPositionSchema>;\n\nexport const TITLE_POSITION = ['left', 'center', 'right'] as const;\nexport const TitlePositionSchema = z.enum(TITLE_POSITION);\nexport type TitlePosition = z.infer<typeof TitlePositionSchema>;\n\nexport const ColumnNameSchema = z.object({\n type: z.literal('column'),\n value: z.string(),\n format: z.optional(z.string()), // d3 format\n label: z.optional(z.string()),\n // Column id of a sibling labels column in the same DataFrame. Per-row\n // lookup via `data.getColumnValue(valueLabels, rowIdx)`.\n valueLabels: z.optional(z.string()),\n // Authoritative value -> display label map sourced from the column spec's\n // `pl7.app/valueLabels` annotation. Use when the value space is finite and\n // labels must exist independent of the data rows (e.g. selection stages\n // that may have eliminated zero rows).\n valueLabelsMap: z.optional(z.record(z.string())),\n nullValueLabel: z.optional(z.string())\n});\nexport type ColumnName = z.infer<typeof ColumnNameSchema>\n\nexport type AesItem = {\n fillColor?: Color;\n lineColor?: Color;\n lineWidth?: number;\n lineShape?: LineShape;\n dotShape?: PointShape;\n dotSize?: number;\n dotFill?: Color;\n};\nexport const AesItemSchema = z.object({\n fillColor: z.optional(z.string()),\n lineColor: z.optional(z.string()),\n lineWidth: z.optional(z.number()),\n lineShape: z.optional(LineShapeSchema),\n dotShape: z.optional(PointShapeSchema),\n dotSize: z.optional(z.number()),\n dotFill: z.optional(z.string()),\n});\n\nexport const AesRecordSchema = z.record(AesItemSchema);\nexport type AesRecord = z.infer<typeof AesRecordSchema>;\n\nexport function categoricalAesMappingFromValueSchema<ValueType extends z.ZodTypeAny>(\n valueSchema: ValueType,\n) {\n return z.object({\n columnName: ColumnNameSchema,\n valuesMap: z.record(valueSchema),\n });\n}\nexport function continuousAesMappingFromValueSchema<ValueType extends z.ZodTypeAny>(\n valueSchema: ValueType,\n) {\n return z.object({\n columnName: ColumnNameSchema,\n domain: z.array(z.number()),\n range: z.array(valueSchema),\n type: z.optional(z.union([z.literal('linear'), z.literal('log')]))\n });\n}\n\nexport function isCategoricalAes<InputType extends string | number | PointShape | LineShape>(\n item: InputType | CategoricalAesFromColumn<InputType> | ContinuousAesFromColumn<InputType> | unknown\n): item is CategoricalAesFromColumn<InputType> {\n if (typeof item !== 'object') {\n return false;\n }\n return item !== null && 'valuesMap' in item;\n}\n\nexport function isContinuousAes<InputType extends string | number | PointShape | LineShape>(\n item: InputType | CategoricalAesFromColumn<InputType> | ContinuousAesFromColumn<InputType> | unknown\n): item is ContinuousAesFromColumn<InputType> {\n if (typeof item !== 'object') {\n return false;\n }\n return item !== null && 'domain' in item && 'range' in item;\n}\n\nexport const DiscreteLabelsPositionSchema = z.union([z.literal('center'), z.literal('45deg'), z.literal('90deg')]);\n\nexport const AxisSettingsDiscreteSchema = z.object({\n title: z.optional(z.union([z.string(), ColumnNameSchema])),\n scale: z.optional(z.literal('discrete')),\n keys: z.optional(z.array(z.union([z.string(), z.number()]))),\n labels: z.optional(z.record(z.string())),\n showGrid: z.optional(z.boolean()),\n linesBetweenCategories: z.optional(z.boolean()),\n showTicks: z.optional(z.boolean()),\n labelsPosition: z.optional(DiscreteLabelsPositionSchema),\n hiddenLabels: z.optional(z.boolean())\n});\nexport const SignificantLineLabelPositionSchema = z.union([\n z.literal('top'),\n z.literal('bottom'),\n z.literal('left'),\n z.literal('right'),\n]);\nexport type SignificantLineLabelPosition = z.infer<typeof SignificantLineLabelPositionSchema>;\n\n// top/bottom for X axis lines; left/right for Y axis lines. Mismatched\n// values fall back to the axis-appropriate default in the renderer.\nexport const SignificantLinesStyleSchema = z.object({\n shape: z.optional(LineShapeSchema),\n showLabel: z.optional(z.boolean()),\n labelPosition: z.optional(SignificantLineLabelPositionSchema),\n});\nexport type SignificantLinesStyle = z.infer<typeof SignificantLinesStyleSchema>;\n\nexport const AxisSettingsContinuousSchema = z.object({\n title: z.optional(z.union([z.string(), ColumnNameSchema])),\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 significantLines: z.optional(z.array(z.number())),\n significantLinesStyle: z.optional(SignificantLinesStyleSchema),\n symmetricRange: z.optional(z.number()),\n upperValue: z.optional(z.number()),\n lowerValue: z.optional(z.number()),\n hiddenLabels: z.optional(z.boolean()),\n});\n\nexport const AxisSettingsSchema = z.union([AxisSettingsDiscreteSchema, AxisSettingsContinuousSchema]);\n\nexport type AxisSettings = z.infer<typeof AxisSettingsSchema>\nexport type AxisSettingsDiscrete = z.infer<typeof AxisSettingsDiscreteSchema>;\nexport type AxisSettingsContinuous = z.infer<typeof AxisSettingsContinuousSchema>;\n\nexport type DiscreteLabelsPosition = z.infer<typeof DiscreteLabelsPositionSchema>;\n\nexport const TooltipSettingsSchema = z.object({\n show: z.optional(z.boolean()),\n content: z.optional(z.array(ColumnNameSchema)),\n});\n\nexport type TooltipSettings = z.infer<typeof TooltipSettingsSchema>;\n\nexport interface SettingsInterface {\n type: string;\n}\n\nexport type ClickEventData = {\n x: number;\n y: number;\n info: unknown;\n}\n\nexport type PolygonData = [number, number][];\n\nexport type ChartEventHandlers<T> = T;\nexport type DendroEventHandlers = ChartEventHandlers<[(d: ClickEventData) => void]>\nexport type ScatterplotEventHandlers = ChartEventHandlers<{\n onPolygonUpdate: (d: number[], p: Polygon[]) => void;\n onTooltipHintSwitch: (d: boolean) => void;\n onLassoStateChange: () => void;\n onLassoControlsStateUpdate: (v: LassoControlsState) => void;\n onZoomChange: (isZoomChanged: boolean) => void;\n}>\nexport type HeatmapEventHandlers = ChartEventHandlers<{\n onTooltipHintSwitch: (d: boolean) => void;\n onLoadingChange: (d: boolean) => void;\n}>\n\nexport type BubbleEventHandlers = ChartEventHandlers<[(d: boolean) => void]>\nexport type DiscreteEventHandlers = ChartEventHandlers<[(d: boolean) => void]>\nexport type HistogramEventHandlers = ChartEventHandlers<[(d: boolean) => void]>\n\nexport type ErrorTypes = 'tooManyFacets' \n| 'tooManyPrimaryGroups' | 'tooManySecondaryGroups'\n| 'tooManyScatterplotGroupsX' | 'tooManyScatterplotGroupsY'\n| 'tooManyHistogramGroups'\n| 'unknownError';\ntype ErrorInfoBase = { type: ErrorTypes, info: unknown };\nexport interface ErrorInfoFacets extends ErrorInfoBase {\n type: 'tooManyFacets';\n info: {\n count: number;\n maxCount: number;\n };\n}\nexport interface ErrorInfoPrimaryGroups extends ErrorInfoBase {\n type: 'tooManyPrimaryGroups';\n info: {\n count: number;\n maxCount: number;\n };\n}\nexport interface ErrorInfoSecondaryGroups extends ErrorInfoBase {\n type: 'tooManySecondaryGroups';\n info: {\n count: number;\n maxCount: number;\n };\n}\n\nexport interface ErrorInfoScatterplotGroupsX extends ErrorInfoBase {\n type: 'tooManyScatterplotGroupsX';\n info: {\n count: number;\n maxCount: number;\n };\n}\nexport interface ErrorInfoScatterplotGroupsY extends ErrorInfoBase {\n type: 'tooManyScatterplotGroupsY';\n info: {\n count: number;\n maxCount: number;\n };\n}\nexport interface ErrorInfoHistogramGroups extends ErrorInfoBase {\n type: 'tooManyHistogramGroups';\n info: {\n count: number;\n maxCount: number;\n };\n}\nexport interface ErrorInfoUnknown extends ErrorInfoBase {\n type: 'unknownError';\n info: {\n message: string;\n stack: string | undefined;\n };\n}\nexport type ErrorInfo = ErrorInfoFacets | ErrorInfoPrimaryGroups | ErrorInfoSecondaryGroups | ErrorInfoScatterplotGroupsX | ErrorInfoScatterplotGroupsY | ErrorInfoHistogramGroups | ErrorInfoUnknown;\nexport function isErrorInfo(value: unknown): value is ErrorInfo {\n return typeof value === 'object' && value !== null && 'type' in value && 'info' in value;\n}\nexport function getUnknownErrorInfo(error: Error): ErrorInfoUnknown {\n return {\n type: 'unknownError',\n info: {\n message: error.message,\n stack: error.stack,\n },\n };\n}"],"mappings":";AAMA,MAAa,IAAkB,EAAE,MAAM;CAAC,EAAE,QAAQ;CAAE,EAAE,QAAQ;CAAE,EAAE,MAAM;CAAC,CAAC,EAM7D,IAA0B,EAAE,KAAK;CAAC;CAAO;CAAQ;CAAU;CAAO;CAAM,CAAC,EAIzE,IAAc;CACvB;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACH,EACY,IAAmB,EAAE,KAAK,EAAY,EAItC,IAAkB,EAAE,KADd;CAAC;CAAS;CAAU;CAAU;CAAW;CAAY;CAAU,CACjC,EAIpC,IAAkB,EAAE,KADd;CAAC;CAAQ;CAAU;CAAe;CAAQ;CAAQ,CACpB,EAIpC,IAAu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,SAAS,EAAE,EAAE,QAAQ,MAAM,CAAC,CAAC,CAAC;CACnE,UAAU,EAAE,SAAS,EAAE,SAAS,CAAC;CACjC,WAAW,EAAE,SAAS,EAAE,SAAS,CAAC;CAClC,kBAAkB,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC;CACjD,uBAAuB,EAAE,SAAS,EAA4B;CAC9D,gBAAgB,EAAE,SAAS,EAAE,QAAQ,CAAC;CACtC,YAAY,EAAE,SAAS,EAAE,QAAQ,CAAC;CAClC,YAAY,EAAE,SAAS,EAAE,QAAQ,CAAC;CAClC,cAAc,EAAE,SAAS,EAAE,SAAS,CAAC;CACxC,CAAC,EAEW,IAAqB,EAAE,MAAM,CAAC,GAA4B,EAA6B,CAAC,EAQxF,IAAwB,EAAE,OAAO;CAC1C,MAAM,EAAE,SAAS,EAAE,SAAS,CAAC;CAC7B,SAAS,EAAE,SAAS,EAAE,MAAM,EAAiB,CAAC;CACjD,CAAC;AA2FF,SAAgB,EAAY,GAAoC;AAC5D,QAAO,OAAO,KAAU,cAAY,KAAkB,UAAU,KAAS,UAAU;;AAEvF,SAAgB,EAAoB,GAAgC;AAChE,QAAO;EACH,MAAM;EACN,MAAM;GACF,SAAS,EAAM;GACf,OAAO,EAAM;GAChB;EACJ"}
|
package/dist/types/dendro.d.ts
CHANGED
|
@@ -60,10 +60,10 @@ export declare const DendroSettingsSchema: z.ZodObject<{
|
|
|
60
60
|
position: z.ZodOptional<z.ZodEnum<["inside", "right", "top", "bottom"]>>;
|
|
61
61
|
}, "strip", z.ZodTypeAny, {
|
|
62
62
|
show?: boolean | undefined;
|
|
63
|
-
position?: "
|
|
63
|
+
position?: "top" | "bottom" | "right" | "inside" | undefined;
|
|
64
64
|
}, {
|
|
65
65
|
show?: boolean | undefined;
|
|
66
|
-
position?: "
|
|
66
|
+
position?: "top" | "bottom" | "right" | "inside" | undefined;
|
|
67
67
|
}>>;
|
|
68
68
|
facetSettings: z.ZodOptional<z.ZodObject<{
|
|
69
69
|
nRows: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1004,7 +1004,7 @@ export declare const DendroSettingsSchema: z.ZodObject<{
|
|
|
1004
1004
|
} | undefined;
|
|
1005
1005
|
legend?: {
|
|
1006
1006
|
show?: boolean | undefined;
|
|
1007
|
-
position?: "
|
|
1007
|
+
position?: "top" | "bottom" | "right" | "inside" | undefined;
|
|
1008
1008
|
} | undefined;
|
|
1009
1009
|
facetSettings?: {
|
|
1010
1010
|
order?: string[] | undefined;
|
|
@@ -1063,7 +1063,7 @@ export declare const DendroSettingsSchema: z.ZodObject<{
|
|
|
1063
1063
|
showEdges?: boolean | undefined;
|
|
1064
1064
|
showLeavesLabels?: boolean | undefined;
|
|
1065
1065
|
showNodesLabels?: boolean | undefined;
|
|
1066
|
-
rootPosition?: "
|
|
1066
|
+
rootPosition?: "top" | "left" | undefined;
|
|
1067
1067
|
}, {
|
|
1068
1068
|
type: "dendro";
|
|
1069
1069
|
title: {
|
|
@@ -1212,7 +1212,7 @@ export declare const DendroSettingsSchema: z.ZodObject<{
|
|
|
1212
1212
|
} | undefined;
|
|
1213
1213
|
legend?: {
|
|
1214
1214
|
show?: boolean | undefined;
|
|
1215
|
-
position?: "
|
|
1215
|
+
position?: "top" | "bottom" | "right" | "inside" | undefined;
|
|
1216
1216
|
} | undefined;
|
|
1217
1217
|
facetSettings?: {
|
|
1218
1218
|
order?: string[] | undefined;
|
|
@@ -1271,7 +1271,7 @@ export declare const DendroSettingsSchema: z.ZodObject<{
|
|
|
1271
1271
|
showEdges?: boolean | undefined;
|
|
1272
1272
|
showLeavesLabels?: boolean | undefined;
|
|
1273
1273
|
showNodesLabels?: boolean | undefined;
|
|
1274
|
-
rootPosition?: "
|
|
1274
|
+
rootPosition?: "top" | "left" | undefined;
|
|
1275
1275
|
}>;
|
|
1276
1276
|
export type DendroSettings = z.infer<typeof DendroSettingsSchema>;
|
|
1277
1277
|
export type DendroLegendInfo = Record<string, {
|
package/dist/types/discrete.d.ts
CHANGED
|
@@ -2527,10 +2527,10 @@ export declare const DiscreteSettingsSchema: z.ZodObject<{
|
|
|
2527
2527
|
position: z.ZodOptional<z.ZodEnum<["inside", "right", "top", "bottom"]>>;
|
|
2528
2528
|
}, "strip", z.ZodTypeAny, {
|
|
2529
2529
|
show?: boolean | undefined;
|
|
2530
|
-
position?: "
|
|
2530
|
+
position?: "top" | "bottom" | "right" | "inside" | undefined;
|
|
2531
2531
|
}, {
|
|
2532
2532
|
show?: boolean | undefined;
|
|
2533
|
-
position?: "
|
|
2533
|
+
position?: "top" | "bottom" | "right" | "inside" | undefined;
|
|
2534
2534
|
}>>;
|
|
2535
2535
|
tooltips: z.ZodOptional<z.ZodObject<{
|
|
2536
2536
|
box: z.ZodOptional<z.ZodObject<{
|
|
@@ -3279,9 +3279,9 @@ export declare const DiscreteSettingsSchema: z.ZodObject<{
|
|
|
3279
3279
|
frame: z.ZodOptional<z.ZodObject<{
|
|
3280
3280
|
type: z.ZodOptional<z.ZodEnum<["left", "bottom", "left-bottom", "full", "empty"]>>;
|
|
3281
3281
|
}, "strip", z.ZodTypeAny, {
|
|
3282
|
-
type?: "
|
|
3282
|
+
type?: "bottom" | "left" | "left-bottom" | "full" | "empty" | undefined;
|
|
3283
3283
|
}, {
|
|
3284
|
-
type?: "
|
|
3284
|
+
type?: "bottom" | "left" | "left-bottom" | "full" | "empty" | undefined;
|
|
3285
3285
|
}>>;
|
|
3286
3286
|
orientation: z.ZodOptional<z.ZodEnum<["horizontal", "vertical"]>>;
|
|
3287
3287
|
keyColumn: z.ZodOptional<z.ZodObject<{
|
|
@@ -3656,7 +3656,19 @@ export declare const DiscreteSettingsSchema: z.ZodObject<{
|
|
|
3656
3656
|
showGrid: z.ZodOptional<z.ZodBoolean>;
|
|
3657
3657
|
showTicks: z.ZodOptional<z.ZodBoolean>;
|
|
3658
3658
|
significantLines: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
3659
|
-
significantLinesStyle: z.ZodOptional<z.
|
|
3659
|
+
significantLinesStyle: z.ZodOptional<z.ZodObject<{
|
|
3660
|
+
shape: z.ZodOptional<z.ZodEnum<["solid", "dashed", "dotted", "dotdash", "longdash", "twodash"]>>;
|
|
3661
|
+
showLabel: z.ZodOptional<z.ZodBoolean>;
|
|
3662
|
+
labelPosition: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"top">, z.ZodLiteral<"bottom">, z.ZodLiteral<"left">, z.ZodLiteral<"right">]>>;
|
|
3663
|
+
}, "strip", z.ZodTypeAny, {
|
|
3664
|
+
shape?: "solid" | "dashed" | "dotted" | "dotdash" | "longdash" | "twodash" | undefined;
|
|
3665
|
+
showLabel?: boolean | undefined;
|
|
3666
|
+
labelPosition?: "top" | "bottom" | "left" | "right" | undefined;
|
|
3667
|
+
}, {
|
|
3668
|
+
shape?: "solid" | "dashed" | "dotted" | "dotdash" | "longdash" | "twodash" | undefined;
|
|
3669
|
+
showLabel?: boolean | undefined;
|
|
3670
|
+
labelPosition?: "top" | "bottom" | "left" | "right" | undefined;
|
|
3671
|
+
}>>;
|
|
3660
3672
|
symmetricRange: z.ZodOptional<z.ZodNumber>;
|
|
3661
3673
|
upperValue: z.ZodOptional<z.ZodNumber>;
|
|
3662
3674
|
lowerValue: z.ZodOptional<z.ZodNumber>;
|
|
@@ -3676,7 +3688,11 @@ export declare const DiscreteSettingsSchema: z.ZodObject<{
|
|
|
3676
3688
|
showTicks?: boolean | undefined;
|
|
3677
3689
|
hiddenLabels?: boolean | undefined;
|
|
3678
3690
|
significantLines?: number[] | undefined;
|
|
3679
|
-
significantLinesStyle?:
|
|
3691
|
+
significantLinesStyle?: {
|
|
3692
|
+
shape?: "solid" | "dashed" | "dotted" | "dotdash" | "longdash" | "twodash" | undefined;
|
|
3693
|
+
showLabel?: boolean | undefined;
|
|
3694
|
+
labelPosition?: "top" | "bottom" | "left" | "right" | undefined;
|
|
3695
|
+
} | undefined;
|
|
3680
3696
|
symmetricRange?: number | undefined;
|
|
3681
3697
|
upperValue?: number | undefined;
|
|
3682
3698
|
lowerValue?: number | undefined;
|
|
@@ -3695,7 +3711,11 @@ export declare const DiscreteSettingsSchema: z.ZodObject<{
|
|
|
3695
3711
|
showTicks?: boolean | undefined;
|
|
3696
3712
|
hiddenLabels?: boolean | undefined;
|
|
3697
3713
|
significantLines?: number[] | undefined;
|
|
3698
|
-
significantLinesStyle?:
|
|
3714
|
+
significantLinesStyle?: {
|
|
3715
|
+
shape?: "solid" | "dashed" | "dotted" | "dotdash" | "longdash" | "twodash" | undefined;
|
|
3716
|
+
showLabel?: boolean | undefined;
|
|
3717
|
+
labelPosition?: "top" | "bottom" | "left" | "right" | undefined;
|
|
3718
|
+
} | undefined;
|
|
3699
3719
|
symmetricRange?: number | undefined;
|
|
3700
3720
|
upperValue?: number | undefined;
|
|
3701
3721
|
lowerValue?: number | undefined;
|
|
@@ -5174,7 +5194,7 @@ export declare const DiscreteSettingsSchema: z.ZodObject<{
|
|
|
5174
5194
|
} | undefined;
|
|
5175
5195
|
legend?: {
|
|
5176
5196
|
show?: boolean | undefined;
|
|
5177
|
-
position?: "
|
|
5197
|
+
position?: "top" | "bottom" | "right" | "inside" | undefined;
|
|
5178
5198
|
} | undefined;
|
|
5179
5199
|
tooltips?: {
|
|
5180
5200
|
box?: {
|
|
@@ -5299,7 +5319,7 @@ export declare const DiscreteSettingsSchema: z.ZodObject<{
|
|
|
5299
5319
|
} | undefined;
|
|
5300
5320
|
} | undefined;
|
|
5301
5321
|
frame?: {
|
|
5302
|
-
type?: "
|
|
5322
|
+
type?: "bottom" | "left" | "left-bottom" | "full" | "empty" | undefined;
|
|
5303
5323
|
} | undefined;
|
|
5304
5324
|
facetSettings?: {
|
|
5305
5325
|
sharedX?: boolean | undefined;
|
|
@@ -5352,7 +5372,11 @@ export declare const DiscreteSettingsSchema: z.ZodObject<{
|
|
|
5352
5372
|
showTicks?: boolean | undefined;
|
|
5353
5373
|
hiddenLabels?: boolean | undefined;
|
|
5354
5374
|
significantLines?: number[] | undefined;
|
|
5355
|
-
significantLinesStyle?:
|
|
5375
|
+
significantLinesStyle?: {
|
|
5376
|
+
shape?: "solid" | "dashed" | "dotted" | "dotdash" | "longdash" | "twodash" | undefined;
|
|
5377
|
+
showLabel?: boolean | undefined;
|
|
5378
|
+
labelPosition?: "top" | "bottom" | "left" | "right" | undefined;
|
|
5379
|
+
} | undefined;
|
|
5356
5380
|
symmetricRange?: number | undefined;
|
|
5357
5381
|
upperValue?: number | undefined;
|
|
5358
5382
|
lowerValue?: number | undefined;
|
|
@@ -5681,7 +5705,7 @@ export declare const DiscreteSettingsSchema: z.ZodObject<{
|
|
|
5681
5705
|
} | undefined;
|
|
5682
5706
|
legend?: {
|
|
5683
5707
|
show?: boolean | undefined;
|
|
5684
|
-
position?: "
|
|
5708
|
+
position?: "top" | "bottom" | "right" | "inside" | undefined;
|
|
5685
5709
|
} | undefined;
|
|
5686
5710
|
tooltips?: {
|
|
5687
5711
|
box?: {
|
|
@@ -5806,7 +5830,7 @@ export declare const DiscreteSettingsSchema: z.ZodObject<{
|
|
|
5806
5830
|
} | undefined;
|
|
5807
5831
|
} | undefined;
|
|
5808
5832
|
frame?: {
|
|
5809
|
-
type?: "
|
|
5833
|
+
type?: "bottom" | "left" | "left-bottom" | "full" | "empty" | undefined;
|
|
5810
5834
|
} | undefined;
|
|
5811
5835
|
facetSettings?: {
|
|
5812
5836
|
sharedX?: boolean | undefined;
|
|
@@ -5859,7 +5883,11 @@ export declare const DiscreteSettingsSchema: z.ZodObject<{
|
|
|
5859
5883
|
showTicks?: boolean | undefined;
|
|
5860
5884
|
hiddenLabels?: boolean | undefined;
|
|
5861
5885
|
significantLines?: number[] | undefined;
|
|
5862
|
-
significantLinesStyle?:
|
|
5886
|
+
significantLinesStyle?: {
|
|
5887
|
+
shape?: "solid" | "dashed" | "dotted" | "dotdash" | "longdash" | "twodash" | undefined;
|
|
5888
|
+
showLabel?: boolean | undefined;
|
|
5889
|
+
labelPosition?: "top" | "bottom" | "left" | "right" | undefined;
|
|
5890
|
+
} | undefined;
|
|
5863
5891
|
symmetricRange?: number | undefined;
|
|
5864
5892
|
upperValue?: number | undefined;
|
|
5865
5893
|
lowerValue?: number | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"discrete.d.ts","sourceRoot":"","sources":["../../src/types/discrete.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EACH,eAAe,EAYlB,MAAM,UAAU,CAAC;AAClB,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAE7C,MAAM,MAAM,kBAAkB,GAAG;IAAC,IAAI,EAAE,iBAAiB,GAAG,mBAAmB,CAAA;CAAC,CAAC;AAGjF,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAwBlB,CAAC;AACH,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAEtD,QAAA,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqBrB,CAAC;AACH,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAE5D,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAalB,CAAC;AACH,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAA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EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACpC,YAAY,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,GAAG,IAAI,CAAA;CACvD,CAAA"}
|
package/dist/types/heatmap.d.ts
CHANGED
|
@@ -96,10 +96,10 @@ export declare const HeatmapSettingsSchema: z.ZodObject<{
|
|
|
96
96
|
position: z.ZodOptional<z.ZodEnum<["inside", "right", "top", "bottom"]>>;
|
|
97
97
|
}, "strip", z.ZodTypeAny, {
|
|
98
98
|
show?: boolean | undefined;
|
|
99
|
-
position?: "
|
|
99
|
+
position?: "top" | "bottom" | "right" | "inside" | undefined;
|
|
100
100
|
}, {
|
|
101
101
|
show?: boolean | undefined;
|
|
102
|
-
position?: "
|
|
102
|
+
position?: "top" | "bottom" | "right" | "inside" | undefined;
|
|
103
103
|
}>>;
|
|
104
104
|
frame: z.ZodOptional<z.ZodObject<{
|
|
105
105
|
type: z.ZodOptional<z.ZodEnum<["full", "groups", "none"]>>;
|
|
@@ -1471,7 +1471,7 @@ export declare const HeatmapSettingsSchema: z.ZodObject<{
|
|
|
1471
1471
|
} | undefined;
|
|
1472
1472
|
legend?: {
|
|
1473
1473
|
show?: boolean | undefined;
|
|
1474
|
-
position?: "
|
|
1474
|
+
position?: "top" | "bottom" | "right" | "inside" | undefined;
|
|
1475
1475
|
} | undefined;
|
|
1476
1476
|
tooltips?: {
|
|
1477
1477
|
show?: boolean | undefined;
|
|
@@ -1809,7 +1809,7 @@ export declare const HeatmapSettingsSchema: z.ZodObject<{
|
|
|
1809
1809
|
} | undefined;
|
|
1810
1810
|
legend?: {
|
|
1811
1811
|
show?: boolean | undefined;
|
|
1812
|
-
position?: "
|
|
1812
|
+
position?: "top" | "bottom" | "right" | "inside" | undefined;
|
|
1813
1813
|
} | undefined;
|
|
1814
1814
|
tooltips?: {
|
|
1815
1815
|
show?: boolean | undefined;
|