@visactor/vseed 0.1.40 → 0.1.41
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/cjs/index.cjs +3 -3
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/esm/builder/builder/builder.d.ts +2788 -286
- package/dist/esm/pipeline/advanced/chart/pipeline/column.js +3 -2
- package/dist/esm/pipeline/advanced/chart/pipeline/column.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipeline/scatter.js +3 -2
- package/dist/esm/pipeline/advanced/chart/pipeline/scatter.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/regressionLine/regressionLine.js +28 -1
- package/dist/esm/pipeline/advanced/chart/pipes/regressionLine/regressionLine.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/reshape/pivotReshapeWithBoxplotEncoding.js +0 -1
- package/dist/esm/pipeline/advanced/chart/pipes/reshape/pivotReshapeWithBoxplotEncoding.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipeline/column.js +5 -3
- package/dist/esm/pipeline/spec/chart/pipeline/column.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipeline/histogram.js +5 -3
- package/dist/esm/pipeline/spec/chart/pipeline/histogram.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipeline/scatter.js +9 -3
- package/dist/esm/pipeline/spec/chart/pipeline/scatter.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/regressionLine/columnRegressionLine.d.ts +2 -0
- package/dist/esm/pipeline/spec/chart/pipes/regressionLine/columnRegressionLine.js +150 -0
- package/dist/esm/pipeline/spec/chart/pipes/regressionLine/columnRegressionLine.js.map +1 -0
- package/dist/esm/pipeline/spec/chart/pipes/regressionLine/common.d.ts +4 -0
- package/dist/esm/pipeline/spec/chart/pipes/regressionLine/common.js +21 -0
- package/dist/esm/pipeline/spec/chart/pipes/regressionLine/common.js.map +1 -0
- package/dist/esm/pipeline/spec/chart/pipes/regressionLine/ecdfRegressionLine.d.ts +2 -0
- package/dist/esm/pipeline/spec/chart/pipes/regressionLine/ecdfRegressionLine.js +98 -0
- package/dist/esm/pipeline/spec/chart/pipes/regressionLine/ecdfRegressionLine.js.map +1 -0
- package/dist/esm/pipeline/spec/chart/pipes/regressionLine/index.d.ts +4 -1
- package/dist/esm/pipeline/spec/chart/pipes/regressionLine/index.js +4 -1
- package/dist/esm/pipeline/spec/chart/pipes/regressionLine/kdeRegressionLine.d.ts +2 -0
- package/dist/esm/pipeline/spec/chart/pipes/regressionLine/kdeRegressionLine.js +98 -0
- package/dist/esm/pipeline/spec/chart/pipes/regressionLine/kdeRegressionLine.js.map +1 -0
- package/dist/esm/pipeline/spec/chart/pipes/regressionLine/linearRegressionLine.d.ts +16 -0
- package/dist/esm/pipeline/spec/chart/pipes/regressionLine/linearRegressionLine.js +159 -0
- package/dist/esm/pipeline/spec/chart/pipes/regressionLine/linearRegressionLine.js.map +1 -0
- package/dist/esm/theme/common/regressionLine.d.ts +8 -4
- package/dist/esm/theme/common/regressionLine.js +60 -8
- package/dist/esm/theme/common/regressionLine.js.map +1 -1
- package/dist/esm/theme/dark/dark.js +6 -4
- package/dist/esm/theme/dark/dark.js.map +1 -1
- package/dist/esm/theme/light/light.js +6 -4
- package/dist/esm/theme/light/light.js.map +1 -1
- package/dist/esm/types/advancedVSeed.d.ts +908 -37
- package/dist/esm/types/advancedVSeed.js +2 -2
- package/dist/esm/types/advancedVSeed.js.map +1 -1
- package/dist/esm/types/chartType/column/column.d.ts +6 -1
- package/dist/esm/types/chartType/column/zColumn.d.ts +25 -0
- package/dist/esm/types/chartType/column/zColumn.js +2 -1
- package/dist/esm/types/chartType/column/zColumn.js.map +1 -1
- package/dist/esm/types/chartType/histogram/histogram.d.ts +7 -3
- package/dist/esm/types/chartType/histogram/zHistogram.d.ts +19 -4
- package/dist/esm/types/chartType/histogram/zHistogram.js +3 -2
- package/dist/esm/types/chartType/histogram/zHistogram.js.map +1 -1
- package/dist/esm/types/chartType/scatter/scatter.d.ts +21 -1
- package/dist/esm/types/chartType/scatter/zScatter.d.ts +94 -0
- package/dist/esm/types/chartType/scatter/zScatter.js +5 -1
- package/dist/esm/types/chartType/scatter/zScatter.js.map +1 -1
- package/dist/esm/types/properties/config/column.d.ts +132 -2
- package/dist/esm/types/properties/config/column.js +6 -3
- package/dist/esm/types/properties/config/column.js.map +1 -1
- package/dist/esm/types/properties/config/config.d.ts +389 -9
- package/dist/esm/types/properties/config/histogram.d.ts +129 -9
- package/dist/esm/types/properties/config/histogram.js +2 -2
- package/dist/esm/types/properties/config/histogram.js.map +1 -1
- package/dist/esm/types/properties/config/scatter.d.ts +130 -0
- package/dist/esm/types/properties/config/scatter.js +3 -1
- package/dist/esm/types/properties/config/scatter.js.map +1 -1
- package/dist/esm/types/properties/regressionLine/{histogramRegressionLine.d.ts → ecdfRegressionLine.d.ts} +2 -7
- package/dist/esm/types/properties/regressionLine/index.d.ts +7 -2
- package/dist/esm/types/properties/regressionLine/index.js +1 -1
- package/dist/esm/types/properties/regressionLine/kdeRegressionLine.d.ts +40 -0
- package/dist/esm/types/properties/regressionLine/kdeRegressionLine.js +0 -0
- package/dist/esm/types/properties/regressionLine/linearRegressionLine.d.ts +53 -0
- package/dist/esm/types/properties/regressionLine/linearRegressionLine.js +0 -0
- package/dist/esm/types/properties/regressionLine/logisticRegressionLine.d.ts +53 -0
- package/dist/esm/types/properties/regressionLine/logisticRegressionLine.js +0 -0
- package/dist/esm/types/properties/regressionLine/lowessRegressionLine.d.ts +53 -0
- package/dist/esm/types/properties/regressionLine/lowessRegressionLine.js +0 -0
- package/dist/esm/types/properties/regressionLine/polynomialRegressionLine.d.ts +57 -0
- package/dist/esm/types/properties/regressionLine/polynomialRegressionLine.js +0 -0
- package/dist/esm/types/properties/regressionLine/zRegressionLine.d.ts +199 -0
- package/dist/esm/types/properties/regressionLine/zRegressionLine.js +32 -0
- package/dist/esm/types/properties/regressionLine/zRegressionLine.js.map +1 -0
- package/dist/esm/types/properties/theme/customTheme.d.ts +778 -18
- package/dist/esm/types/zVseed.d.ts +138 -4
- package/dist/umd/index.js +1144 -131
- package/dist/umd/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/regressionLine/histogramRegressionLine.d.ts +0 -2
- package/dist/esm/pipeline/spec/chart/pipes/regressionLine/histogramRegressionLine.js +0 -126
- package/dist/esm/pipeline/spec/chart/pipes/regressionLine/histogramRegressionLine.js.map +0 -1
- package/dist/esm/types/properties/regressionLine/zHistogramRegressionLine.d.ts +0 -11
- package/dist/esm/types/properties/regressionLine/zHistogramRegressionLine.js +0 -17
- package/dist/esm/types/properties/regressionLine/zHistogramRegressionLine.js.map +0 -1
- /package/dist/esm/types/properties/regressionLine/{histogramRegressionLine.js → ecdfRegressionLine.js} +0 -0
|
@@ -0,0 +1,199 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const zEcdfRegressionLine: z.ZodObject<{
|
|
3
|
+
color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4
|
+
lineWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5
|
+
lineDash: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
|
|
6
|
+
text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7
|
+
textColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8
|
+
textFontSize: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
9
|
+
textFontWeight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
10
|
+
}, z.core.$strip>;
|
|
11
|
+
export declare const zKdeRegressionLine: z.ZodObject<{
|
|
12
|
+
color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
lineWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
14
|
+
lineDash: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
|
|
15
|
+
text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
textColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
textFontSize: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
18
|
+
textFontWeight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
19
|
+
}, z.core.$strip>;
|
|
20
|
+
export declare const zLinearRegressionLine: z.ZodObject<{
|
|
21
|
+
color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
lineWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
23
|
+
lineDash: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
|
|
24
|
+
text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
+
textColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
+
textFontSize: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
27
|
+
textFontWeight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
28
|
+
confidenceIntervalVisible: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
29
|
+
confidenceIntervalColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
|
+
confidenceIntervalOpacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
31
|
+
}, z.core.$strip>;
|
|
32
|
+
export declare const zLogisticRegressionLine: z.ZodObject<{
|
|
33
|
+
color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34
|
+
lineWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
35
|
+
lineDash: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
|
|
36
|
+
text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
|
+
textColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38
|
+
textFontSize: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
39
|
+
textFontWeight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
40
|
+
confidenceIntervalVisible: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
41
|
+
confidenceIntervalColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
42
|
+
confidenceIntervalOpacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
43
|
+
}, z.core.$strip>;
|
|
44
|
+
export declare const zLowessRegressionLine: z.ZodObject<{
|
|
45
|
+
color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
46
|
+
lineWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
47
|
+
lineDash: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
|
|
48
|
+
text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
49
|
+
textColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
50
|
+
textFontSize: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
51
|
+
textFontWeight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
52
|
+
confidenceIntervalVisible: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
53
|
+
confidenceIntervalColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
54
|
+
confidenceIntervalOpacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
55
|
+
}, z.core.$strip>;
|
|
56
|
+
export declare const zPolynomialRegressionLine: z.ZodObject<{
|
|
57
|
+
color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
58
|
+
lineWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
59
|
+
lineDash: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
|
|
60
|
+
text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
61
|
+
textColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
62
|
+
textFontSize: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
63
|
+
textFontWeight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
64
|
+
confidenceIntervalVisible: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
65
|
+
confidenceIntervalColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
66
|
+
confidenceIntervalOpacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
67
|
+
degree: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
68
|
+
}, z.core.$strip>;
|
|
69
|
+
export declare const zRegressionLine: z.ZodObject<{
|
|
70
|
+
ecdfRegressionLine: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodObject<{
|
|
71
|
+
color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
72
|
+
lineWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
73
|
+
lineDash: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
|
|
74
|
+
text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
75
|
+
textColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
76
|
+
textFontSize: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
77
|
+
textFontWeight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
78
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
79
|
+
color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
80
|
+
lineWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
81
|
+
lineDash: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
|
|
82
|
+
text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
83
|
+
textColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
84
|
+
textFontSize: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
85
|
+
textFontWeight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
86
|
+
}, z.core.$strip>>]>>>;
|
|
87
|
+
kdeRegressionLine: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodObject<{
|
|
88
|
+
color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
89
|
+
lineWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
90
|
+
lineDash: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
|
|
91
|
+
text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
92
|
+
textColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
93
|
+
textFontSize: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
94
|
+
textFontWeight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
95
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
96
|
+
color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
97
|
+
lineWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
98
|
+
lineDash: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
|
|
99
|
+
text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
100
|
+
textColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
101
|
+
textFontSize: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
102
|
+
textFontWeight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
103
|
+
}, z.core.$strip>>]>>>;
|
|
104
|
+
linearRegressionLine: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodObject<{
|
|
105
|
+
color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
106
|
+
lineWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
107
|
+
lineDash: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
|
|
108
|
+
text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
109
|
+
textColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
110
|
+
textFontSize: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
111
|
+
textFontWeight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
112
|
+
confidenceIntervalVisible: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
113
|
+
confidenceIntervalColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
114
|
+
confidenceIntervalOpacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
115
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
116
|
+
color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
117
|
+
lineWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
118
|
+
lineDash: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
|
|
119
|
+
text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
120
|
+
textColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
121
|
+
textFontSize: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
122
|
+
textFontWeight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
123
|
+
confidenceIntervalVisible: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
124
|
+
confidenceIntervalColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
125
|
+
confidenceIntervalOpacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
126
|
+
}, z.core.$strip>>]>>>;
|
|
127
|
+
lowessRegressionLine: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodObject<{
|
|
128
|
+
color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
129
|
+
lineWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
130
|
+
lineDash: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
|
|
131
|
+
text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
132
|
+
textColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
133
|
+
textFontSize: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
134
|
+
textFontWeight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
135
|
+
confidenceIntervalVisible: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
136
|
+
confidenceIntervalColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
137
|
+
confidenceIntervalOpacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
138
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
139
|
+
color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
140
|
+
lineWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
141
|
+
lineDash: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
|
|
142
|
+
text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
143
|
+
textColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
144
|
+
textFontSize: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
145
|
+
textFontWeight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
146
|
+
confidenceIntervalVisible: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
147
|
+
confidenceIntervalColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
148
|
+
confidenceIntervalOpacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
149
|
+
}, z.core.$strip>>]>>>;
|
|
150
|
+
polynomialRegressionLine: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodObject<{
|
|
151
|
+
color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
152
|
+
lineWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
153
|
+
lineDash: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
|
|
154
|
+
text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
155
|
+
textColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
156
|
+
textFontSize: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
157
|
+
textFontWeight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
158
|
+
confidenceIntervalVisible: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
159
|
+
confidenceIntervalColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
160
|
+
confidenceIntervalOpacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
161
|
+
degree: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
162
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
163
|
+
color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
164
|
+
lineWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
165
|
+
lineDash: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
|
|
166
|
+
text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
167
|
+
textColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
168
|
+
textFontSize: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
169
|
+
textFontWeight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
170
|
+
confidenceIntervalVisible: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
171
|
+
confidenceIntervalColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
172
|
+
confidenceIntervalOpacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
173
|
+
degree: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
174
|
+
}, z.core.$strip>>]>>>;
|
|
175
|
+
logisticRegressionLine: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodObject<{
|
|
176
|
+
color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
177
|
+
lineWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
178
|
+
lineDash: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
|
|
179
|
+
text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
180
|
+
textColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
181
|
+
textFontSize: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
182
|
+
textFontWeight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
183
|
+
confidenceIntervalVisible: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
184
|
+
confidenceIntervalColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
185
|
+
confidenceIntervalOpacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
186
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
187
|
+
color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
188
|
+
lineWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
189
|
+
lineDash: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
|
|
190
|
+
text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
191
|
+
textColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
192
|
+
textFontSize: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
193
|
+
textFontWeight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
194
|
+
confidenceIntervalVisible: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
195
|
+
confidenceIntervalColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
196
|
+
confidenceIntervalOpacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
197
|
+
}, z.core.$strip>>]>>>;
|
|
198
|
+
}, z.core.$strip>;
|
|
199
|
+
export type RegressionLineConfig = z.infer<typeof zRegressionLine>;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
const zEcdfRegressionLine = z.object({
|
|
3
|
+
color: z.string().nullish(),
|
|
4
|
+
lineWidth: z.number().nullish(),
|
|
5
|
+
lineDash: z.array(z.number()).nullish(),
|
|
6
|
+
text: z.string().nullish(),
|
|
7
|
+
textColor: z.string().nullish(),
|
|
8
|
+
textFontSize: z.number().nullish(),
|
|
9
|
+
textFontWeight: z.number().nullish()
|
|
10
|
+
});
|
|
11
|
+
const zKdeRegressionLine = zEcdfRegressionLine.extend({});
|
|
12
|
+
const zLinearRegressionLine = zEcdfRegressionLine.extend({
|
|
13
|
+
confidenceIntervalVisible: z.boolean().nullish(),
|
|
14
|
+
confidenceIntervalColor: z.string().nullish(),
|
|
15
|
+
confidenceIntervalOpacity: z.number().nullish()
|
|
16
|
+
});
|
|
17
|
+
const zLogisticRegressionLine = zLinearRegressionLine.extend({});
|
|
18
|
+
const zLowessRegressionLine = zLinearRegressionLine.extend({});
|
|
19
|
+
const zPolynomialRegressionLine = zLinearRegressionLine.extend({
|
|
20
|
+
degree: z.number().nullish()
|
|
21
|
+
});
|
|
22
|
+
const zRegressionLine = z.object({
|
|
23
|
+
ecdfRegressionLine: zEcdfRegressionLine.or(z.array(zEcdfRegressionLine)).nullish(),
|
|
24
|
+
kdeRegressionLine: zKdeRegressionLine.or(z.array(zKdeRegressionLine)).nullish(),
|
|
25
|
+
linearRegressionLine: zLinearRegressionLine.or(z.array(zLinearRegressionLine)).nullish(),
|
|
26
|
+
lowessRegressionLine: zLowessRegressionLine.or(z.array(zLowessRegressionLine)).nullish(),
|
|
27
|
+
polynomialRegressionLine: zPolynomialRegressionLine.or(z.array(zPolynomialRegressionLine)).nullish(),
|
|
28
|
+
logisticRegressionLine: zLogisticRegressionLine.or(z.array(zLogisticRegressionLine)).nullish()
|
|
29
|
+
});
|
|
30
|
+
export { zEcdfRegressionLine, zKdeRegressionLine, zLinearRegressionLine, zLogisticRegressionLine, zLowessRegressionLine, zPolynomialRegressionLine, zRegressionLine };
|
|
31
|
+
|
|
32
|
+
//# sourceMappingURL=zRegressionLine.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types/properties/regressionLine/zRegressionLine.js","sources":["webpack://@visactor/vseed/./src/types/properties/regressionLine/zRegressionLine.ts"],"sourcesContent":["import { z } from 'zod'\n\nexport const zEcdfRegressionLine = z.object({\n color: z.string().nullish(),\n lineWidth: z.number().nullish(),\n lineDash: z.array(z.number()).nullish(),\n text: z.string().nullish(),\n textColor: z.string().nullish(),\n textFontSize: z.number().nullish(),\n textFontWeight: z.number().nullish(),\n})\n\nexport const zKdeRegressionLine = zEcdfRegressionLine.extend({})\n\nexport const zLinearRegressionLine = zEcdfRegressionLine.extend({\n confidenceIntervalVisible: z.boolean().nullish(),\n confidenceIntervalColor: z.string().nullish(),\n confidenceIntervalOpacity: z.number().nullish(),\n})\n\nexport const zLogisticRegressionLine = zLinearRegressionLine.extend({})\nexport const zLowessRegressionLine = zLinearRegressionLine.extend({})\n\nexport const zPolynomialRegressionLine = zLinearRegressionLine.extend({\n degree: z.number().nullish(),\n})\n\nexport const zRegressionLine = z.object({\n ecdfRegressionLine: zEcdfRegressionLine.or(z.array(zEcdfRegressionLine)).nullish(),\n kdeRegressionLine: zKdeRegressionLine.or(z.array(zKdeRegressionLine)).nullish(),\n linearRegressionLine: zLinearRegressionLine.or(z.array(zLinearRegressionLine)).nullish(),\n lowessRegressionLine: zLowessRegressionLine.or(z.array(zLowessRegressionLine)).nullish(),\n polynomialRegressionLine: zPolynomialRegressionLine.or(z.array(zPolynomialRegressionLine)).nullish(),\n logisticRegressionLine: zLogisticRegressionLine.or(z.array(zLogisticRegressionLine)).nullish(),\n})\n\nexport type RegressionLineConfig = z.infer<typeof zRegressionLine>\n"],"names":["zEcdfRegressionLine","z","zKdeRegressionLine","zLinearRegressionLine","zLogisticRegressionLine","zLowessRegressionLine","zPolynomialRegressionLine","zRegressionLine"],"mappings":";AAEO,MAAMA,sBAAsBC,EAAE,MAAM,CAAC;IAC1C,OAAOA,EAAE,MAAM,GAAG,OAAO;IACzB,WAAWA,EAAE,MAAM,GAAG,OAAO;IAC7B,UAAUA,EAAE,KAAK,CAACA,EAAE,MAAM,IAAI,OAAO;IACrC,MAAMA,EAAE,MAAM,GAAG,OAAO;IACxB,WAAWA,EAAE,MAAM,GAAG,OAAO;IAC7B,cAAcA,EAAE,MAAM,GAAG,OAAO;IAChC,gBAAgBA,EAAE,MAAM,GAAG,OAAO;AACpC;AAEO,MAAMC,qBAAqBF,oBAAoB,MAAM,CAAC,CAAC;AAEvD,MAAMG,wBAAwBH,oBAAoB,MAAM,CAAC;IAC9D,2BAA2BC,EAAE,OAAO,GAAG,OAAO;IAC9C,yBAAyBA,EAAE,MAAM,GAAG,OAAO;IAC3C,2BAA2BA,EAAE,MAAM,GAAG,OAAO;AAC/C;AAEO,MAAMG,0BAA0BD,sBAAsB,MAAM,CAAC,CAAC;AAC9D,MAAME,wBAAwBF,sBAAsB,MAAM,CAAC,CAAC;AAE5D,MAAMG,4BAA4BH,sBAAsB,MAAM,CAAC;IACpE,QAAQF,EAAE,MAAM,GAAG,OAAO;AAC5B;AAEO,MAAMM,kBAAkBN,EAAE,MAAM,CAAC;IACtC,oBAAoBD,oBAAoB,EAAE,CAACC,EAAE,KAAK,CAACD,sBAAsB,OAAO;IAChF,mBAAmBE,mBAAmB,EAAE,CAACD,EAAE,KAAK,CAACC,qBAAqB,OAAO;IAC7E,sBAAsBC,sBAAsB,EAAE,CAACF,EAAE,KAAK,CAACE,wBAAwB,OAAO;IACtF,sBAAsBE,sBAAsB,EAAE,CAACJ,EAAE,KAAK,CAACI,wBAAwB,OAAO;IACtF,0BAA0BC,0BAA0B,EAAE,CAACL,EAAE,KAAK,CAACK,4BAA4B,OAAO;IAClG,wBAAwBF,wBAAwB,EAAE,CAACH,EAAE,KAAK,CAACG,0BAA0B,OAAO;AAC9F"}
|