@visactor/vseed 0.4.24 → 0.4.25
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 +2 -2
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/annotation/annotation.js +2 -1
- package/dist/esm/pipeline/advanced/chart/pipes/annotation/annotation.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipeline/bar.js +3 -1
- package/dist/esm/pipeline/spec/chart/pipeline/bar.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipeline/barParallel.js +3 -1
- package/dist/esm/pipeline/spec/chart/pipeline/barParallel.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipeline/column.js +3 -1
- package/dist/esm/pipeline/spec/chart/pipeline/column.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipeline/columnParallel.js +3 -1
- package/dist/esm/pipeline/spec/chart/pipeline/columnParallel.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/annotation/annotationDifferenceLine.d.ts +2 -0
- package/dist/esm/pipeline/spec/chart/pipes/annotation/annotationDifferenceLine.js +134 -0
- package/dist/esm/pipeline/spec/chart/pipes/annotation/annotationDifferenceLine.js.map +1 -0
- package/dist/esm/pipeline/spec/chart/pipes/annotation/annotationDifferenceLineCommon.d.ts +27 -0
- package/dist/esm/pipeline/spec/chart/pipes/annotation/annotationDifferenceLineCommon.js +167 -0
- package/dist/esm/pipeline/spec/chart/pipes/annotation/annotationDifferenceLineCommon.js.map +1 -0
- package/dist/esm/pipeline/spec/chart/pipes/annotation/index.d.ts +1 -0
- package/dist/esm/pipeline/spec/chart/pipes/annotation/index.js +1 -0
- package/dist/esm/theme/common/annotaion.d.ts +6 -1
- package/dist/esm/theme/common/annotaion.js +18 -1
- package/dist/esm/theme/common/annotaion.js.map +1 -1
- package/dist/esm/theme/dark/area.d.ts +2 -0
- package/dist/esm/theme/dark/bar.d.ts +3 -0
- package/dist/esm/theme/dark/boxPlot.d.ts +1 -0
- package/dist/esm/theme/dark/column.d.ts +3 -0
- package/dist/esm/theme/dark/dualAxis.d.ts +1 -0
- package/dist/esm/theme/dark/histogram.d.ts +1 -0
- package/dist/esm/theme/dark/line.d.ts +1 -0
- package/dist/esm/theme/dark/race.d.ts +3 -0
- package/dist/esm/theme/dark/raceLine.d.ts +1 -0
- package/dist/esm/theme/dark/scatter.d.ts +1 -0
- package/dist/esm/theme/light/area.d.ts +2 -0
- package/dist/esm/theme/light/bar.d.ts +3 -0
- package/dist/esm/theme/light/boxPlot.d.ts +1 -0
- package/dist/esm/theme/light/column.d.ts +3 -0
- package/dist/esm/theme/light/dualAxis.d.ts +1 -0
- package/dist/esm/theme/light/histogram.d.ts +1 -0
- package/dist/esm/theme/light/line.d.ts +1 -0
- package/dist/esm/theme/light/race.d.ts +3 -0
- package/dist/esm/theme/light/raceLine.d.ts +1 -0
- package/dist/esm/theme/light/scatter.d.ts +1 -0
- package/dist/esm/theme/tokenTheme.js +3 -0
- package/dist/esm/theme/tokenTheme.js.map +1 -1
- package/dist/esm/types/chartType/bar/bar.d.ts +5 -1
- package/dist/esm/types/chartType/bar/zBar.d.ts +303 -0
- package/dist/esm/types/chartType/bar/zBar.js +2 -1
- package/dist/esm/types/chartType/bar/zBar.js.map +1 -1
- package/dist/esm/types/chartType/barParallel/barParallel.d.ts +5 -1
- package/dist/esm/types/chartType/barParallel/zBarParallel.d.ts +303 -0
- package/dist/esm/types/chartType/barParallel/zBarParallel.js +2 -1
- package/dist/esm/types/chartType/barParallel/zBarParallel.js.map +1 -1
- package/dist/esm/types/chartType/column/column.d.ts +5 -1
- package/dist/esm/types/chartType/column/zColumn.d.ts +303 -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/columnParallel/columnParallel.d.ts +5 -1
- package/dist/esm/types/chartType/columnParallel/zColumnParallel.d.ts +303 -0
- package/dist/esm/types/chartType/columnParallel/zColumnParallel.js +2 -1
- package/dist/esm/types/chartType/columnParallel/zColumnParallel.js.map +1 -1
- package/dist/esm/types/properties/annotation/annotation.d.ts +303 -0
- package/dist/esm/types/properties/annotation/annotation.js +3 -1
- package/dist/esm/types/properties/annotation/annotation.js.map +1 -1
- package/dist/esm/types/properties/annotation/annotationDifferenceLine.d.ts +51 -0
- package/dist/esm/types/properties/annotation/annotationDifferenceLine.js +0 -0
- package/dist/esm/types/properties/annotation/index.d.ts +2 -0
- package/dist/esm/types/properties/annotation/index.js +1 -0
- package/dist/esm/types/properties/annotation/zAnnotationDifferenceLine.d.ts +294 -0
- package/dist/esm/types/properties/annotation/zAnnotationDifferenceLine.js +29 -0
- package/dist/esm/types/properties/annotation/zAnnotationDifferenceLine.js.map +1 -0
- package/dist/esm/types/properties/config/annotation/annotation.d.ts +2 -0
- package/dist/esm/types/properties/config/annotation/zAnnotation.d.ts +12 -0
- package/dist/esm/types/properties/config/annotation/zAnnotation.js +10 -2
- package/dist/esm/types/properties/config/annotation/zAnnotation.js.map +1 -1
- package/dist/esm/types/properties/config/area.d.ts +12 -0
- package/dist/esm/types/properties/config/bar.d.ts +18 -0
- package/dist/esm/types/properties/config/boxplot.d.ts +6 -0
- package/dist/esm/types/properties/config/column.d.ts +18 -0
- package/dist/esm/types/properties/config/config.d.ts +114 -0
- package/dist/esm/types/properties/config/dualAxis.d.ts +6 -0
- package/dist/esm/types/properties/config/histogram.d.ts +6 -0
- package/dist/esm/types/properties/config/line.d.ts +6 -0
- package/dist/esm/types/properties/config/race.d.ts +36 -0
- package/dist/esm/types/properties/config/scatter.d.ts +6 -0
- package/dist/esm/types/properties/theme/customTheme.d.ts +228 -0
- package/dist/umd/index.js +366 -6
- package/dist/umd/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1723,6 +1723,309 @@ export declare const zColumn: z.ZodObject<{
|
|
|
1723
1723
|
areaLineDash: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
|
|
1724
1724
|
outerPadding: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
|
|
1725
1725
|
}, z.core.$strip>]>>>;
|
|
1726
|
+
annotationDifferenceLine: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
|
|
1727
|
+
start: z.ZodObject<{
|
|
1728
|
+
selector: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodAny>, z.ZodObject<{
|
|
1729
|
+
field: z.ZodString;
|
|
1730
|
+
operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1731
|
+
"=": "=";
|
|
1732
|
+
"==": "==";
|
|
1733
|
+
"!=": "!=";
|
|
1734
|
+
">": ">";
|
|
1735
|
+
"<": "<";
|
|
1736
|
+
">=": ">=";
|
|
1737
|
+
"<=": "<=";
|
|
1738
|
+
between: "between";
|
|
1739
|
+
}>>>;
|
|
1740
|
+
op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1741
|
+
"=": "=";
|
|
1742
|
+
"==": "==";
|
|
1743
|
+
"!=": "!=";
|
|
1744
|
+
">": ">";
|
|
1745
|
+
"<": "<";
|
|
1746
|
+
">=": ">=";
|
|
1747
|
+
"<=": "<=";
|
|
1748
|
+
between: "between";
|
|
1749
|
+
}>>>;
|
|
1750
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
|
|
1751
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1752
|
+
field: z.ZodString;
|
|
1753
|
+
operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1754
|
+
in: "in";
|
|
1755
|
+
"not in": "not in";
|
|
1756
|
+
}>>>;
|
|
1757
|
+
op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1758
|
+
in: "in";
|
|
1759
|
+
"not in": "not in";
|
|
1760
|
+
}>>>;
|
|
1761
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
|
|
1762
|
+
}, z.core.$strip>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodAny>, z.ZodObject<{
|
|
1763
|
+
field: z.ZodString;
|
|
1764
|
+
operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1765
|
+
"=": "=";
|
|
1766
|
+
"==": "==";
|
|
1767
|
+
"!=": "!=";
|
|
1768
|
+
">": ">";
|
|
1769
|
+
"<": "<";
|
|
1770
|
+
">=": ">=";
|
|
1771
|
+
"<=": "<=";
|
|
1772
|
+
between: "between";
|
|
1773
|
+
}>>>;
|
|
1774
|
+
op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1775
|
+
"=": "=";
|
|
1776
|
+
"==": "==";
|
|
1777
|
+
"!=": "!=";
|
|
1778
|
+
">": ">";
|
|
1779
|
+
"<": "<";
|
|
1780
|
+
">=": ">=";
|
|
1781
|
+
"<=": "<=";
|
|
1782
|
+
between: "between";
|
|
1783
|
+
}>>>;
|
|
1784
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
|
|
1785
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1786
|
+
field: z.ZodString;
|
|
1787
|
+
operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1788
|
+
in: "in";
|
|
1789
|
+
"not in": "not in";
|
|
1790
|
+
}>>>;
|
|
1791
|
+
op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1792
|
+
in: "in";
|
|
1793
|
+
"not in": "not in";
|
|
1794
|
+
}>>>;
|
|
1795
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
|
|
1796
|
+
}, z.core.$strip>]>>]>;
|
|
1797
|
+
}, z.core.$strip>;
|
|
1798
|
+
end: z.ZodObject<{
|
|
1799
|
+
selector: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodAny>, z.ZodObject<{
|
|
1800
|
+
field: z.ZodString;
|
|
1801
|
+
operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1802
|
+
"=": "=";
|
|
1803
|
+
"==": "==";
|
|
1804
|
+
"!=": "!=";
|
|
1805
|
+
">": ">";
|
|
1806
|
+
"<": "<";
|
|
1807
|
+
">=": ">=";
|
|
1808
|
+
"<=": "<=";
|
|
1809
|
+
between: "between";
|
|
1810
|
+
}>>>;
|
|
1811
|
+
op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1812
|
+
"=": "=";
|
|
1813
|
+
"==": "==";
|
|
1814
|
+
"!=": "!=";
|
|
1815
|
+
">": ">";
|
|
1816
|
+
"<": "<";
|
|
1817
|
+
">=": ">=";
|
|
1818
|
+
"<=": "<=";
|
|
1819
|
+
between: "between";
|
|
1820
|
+
}>>>;
|
|
1821
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
|
|
1822
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1823
|
+
field: z.ZodString;
|
|
1824
|
+
operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1825
|
+
in: "in";
|
|
1826
|
+
"not in": "not in";
|
|
1827
|
+
}>>>;
|
|
1828
|
+
op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1829
|
+
in: "in";
|
|
1830
|
+
"not in": "not in";
|
|
1831
|
+
}>>>;
|
|
1832
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
|
|
1833
|
+
}, z.core.$strip>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodAny>, z.ZodObject<{
|
|
1834
|
+
field: z.ZodString;
|
|
1835
|
+
operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1836
|
+
"=": "=";
|
|
1837
|
+
"==": "==";
|
|
1838
|
+
"!=": "!=";
|
|
1839
|
+
">": ">";
|
|
1840
|
+
"<": "<";
|
|
1841
|
+
">=": ">=";
|
|
1842
|
+
"<=": "<=";
|
|
1843
|
+
between: "between";
|
|
1844
|
+
}>>>;
|
|
1845
|
+
op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1846
|
+
"=": "=";
|
|
1847
|
+
"==": "==";
|
|
1848
|
+
"!=": "!=";
|
|
1849
|
+
">": ">";
|
|
1850
|
+
"<": "<";
|
|
1851
|
+
">=": ">=";
|
|
1852
|
+
"<=": "<=";
|
|
1853
|
+
between: "between";
|
|
1854
|
+
}>>>;
|
|
1855
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
|
|
1856
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1857
|
+
field: z.ZodString;
|
|
1858
|
+
operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1859
|
+
in: "in";
|
|
1860
|
+
"not in": "not in";
|
|
1861
|
+
}>>>;
|
|
1862
|
+
op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1863
|
+
in: "in";
|
|
1864
|
+
"not in": "not in";
|
|
1865
|
+
}>>>;
|
|
1866
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
|
|
1867
|
+
}, z.core.$strip>]>>]>;
|
|
1868
|
+
}, z.core.$strip>;
|
|
1869
|
+
differenceType: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1870
|
+
percent: "percent";
|
|
1871
|
+
absolute: "absolute";
|
|
1872
|
+
}>>>;
|
|
1873
|
+
textFontSize: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1874
|
+
textColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1875
|
+
textBackgroundColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1876
|
+
lineColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1877
|
+
}, z.core.$strip>>, z.ZodObject<{
|
|
1878
|
+
start: z.ZodObject<{
|
|
1879
|
+
selector: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodAny>, z.ZodObject<{
|
|
1880
|
+
field: z.ZodString;
|
|
1881
|
+
operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1882
|
+
"=": "=";
|
|
1883
|
+
"==": "==";
|
|
1884
|
+
"!=": "!=";
|
|
1885
|
+
">": ">";
|
|
1886
|
+
"<": "<";
|
|
1887
|
+
">=": ">=";
|
|
1888
|
+
"<=": "<=";
|
|
1889
|
+
between: "between";
|
|
1890
|
+
}>>>;
|
|
1891
|
+
op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1892
|
+
"=": "=";
|
|
1893
|
+
"==": "==";
|
|
1894
|
+
"!=": "!=";
|
|
1895
|
+
">": ">";
|
|
1896
|
+
"<": "<";
|
|
1897
|
+
">=": ">=";
|
|
1898
|
+
"<=": "<=";
|
|
1899
|
+
between: "between";
|
|
1900
|
+
}>>>;
|
|
1901
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
|
|
1902
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1903
|
+
field: z.ZodString;
|
|
1904
|
+
operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1905
|
+
in: "in";
|
|
1906
|
+
"not in": "not in";
|
|
1907
|
+
}>>>;
|
|
1908
|
+
op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1909
|
+
in: "in";
|
|
1910
|
+
"not in": "not in";
|
|
1911
|
+
}>>>;
|
|
1912
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
|
|
1913
|
+
}, z.core.$strip>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodAny>, z.ZodObject<{
|
|
1914
|
+
field: z.ZodString;
|
|
1915
|
+
operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1916
|
+
"=": "=";
|
|
1917
|
+
"==": "==";
|
|
1918
|
+
"!=": "!=";
|
|
1919
|
+
">": ">";
|
|
1920
|
+
"<": "<";
|
|
1921
|
+
">=": ">=";
|
|
1922
|
+
"<=": "<=";
|
|
1923
|
+
between: "between";
|
|
1924
|
+
}>>>;
|
|
1925
|
+
op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1926
|
+
"=": "=";
|
|
1927
|
+
"==": "==";
|
|
1928
|
+
"!=": "!=";
|
|
1929
|
+
">": ">";
|
|
1930
|
+
"<": "<";
|
|
1931
|
+
">=": ">=";
|
|
1932
|
+
"<=": "<=";
|
|
1933
|
+
between: "between";
|
|
1934
|
+
}>>>;
|
|
1935
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
|
|
1936
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1937
|
+
field: z.ZodString;
|
|
1938
|
+
operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1939
|
+
in: "in";
|
|
1940
|
+
"not in": "not in";
|
|
1941
|
+
}>>>;
|
|
1942
|
+
op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1943
|
+
in: "in";
|
|
1944
|
+
"not in": "not in";
|
|
1945
|
+
}>>>;
|
|
1946
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
|
|
1947
|
+
}, z.core.$strip>]>>]>;
|
|
1948
|
+
}, z.core.$strip>;
|
|
1949
|
+
end: z.ZodObject<{
|
|
1950
|
+
selector: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodAny>, z.ZodObject<{
|
|
1951
|
+
field: z.ZodString;
|
|
1952
|
+
operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1953
|
+
"=": "=";
|
|
1954
|
+
"==": "==";
|
|
1955
|
+
"!=": "!=";
|
|
1956
|
+
">": ">";
|
|
1957
|
+
"<": "<";
|
|
1958
|
+
">=": ">=";
|
|
1959
|
+
"<=": "<=";
|
|
1960
|
+
between: "between";
|
|
1961
|
+
}>>>;
|
|
1962
|
+
op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1963
|
+
"=": "=";
|
|
1964
|
+
"==": "==";
|
|
1965
|
+
"!=": "!=";
|
|
1966
|
+
">": ">";
|
|
1967
|
+
"<": "<";
|
|
1968
|
+
">=": ">=";
|
|
1969
|
+
"<=": "<=";
|
|
1970
|
+
between: "between";
|
|
1971
|
+
}>>>;
|
|
1972
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
|
|
1973
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1974
|
+
field: z.ZodString;
|
|
1975
|
+
operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1976
|
+
in: "in";
|
|
1977
|
+
"not in": "not in";
|
|
1978
|
+
}>>>;
|
|
1979
|
+
op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1980
|
+
in: "in";
|
|
1981
|
+
"not in": "not in";
|
|
1982
|
+
}>>>;
|
|
1983
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
|
|
1984
|
+
}, z.core.$strip>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodAny>, z.ZodObject<{
|
|
1985
|
+
field: z.ZodString;
|
|
1986
|
+
operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1987
|
+
"=": "=";
|
|
1988
|
+
"==": "==";
|
|
1989
|
+
"!=": "!=";
|
|
1990
|
+
">": ">";
|
|
1991
|
+
"<": "<";
|
|
1992
|
+
">=": ">=";
|
|
1993
|
+
"<=": "<=";
|
|
1994
|
+
between: "between";
|
|
1995
|
+
}>>>;
|
|
1996
|
+
op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1997
|
+
"=": "=";
|
|
1998
|
+
"==": "==";
|
|
1999
|
+
"!=": "!=";
|
|
2000
|
+
">": ">";
|
|
2001
|
+
"<": "<";
|
|
2002
|
+
">=": ">=";
|
|
2003
|
+
"<=": "<=";
|
|
2004
|
+
between: "between";
|
|
2005
|
+
}>>>;
|
|
2006
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
|
|
2007
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2008
|
+
field: z.ZodString;
|
|
2009
|
+
operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
2010
|
+
in: "in";
|
|
2011
|
+
"not in": "not in";
|
|
2012
|
+
}>>>;
|
|
2013
|
+
op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
2014
|
+
in: "in";
|
|
2015
|
+
"not in": "not in";
|
|
2016
|
+
}>>>;
|
|
2017
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
|
|
2018
|
+
}, z.core.$strip>]>>]>;
|
|
2019
|
+
}, z.core.$strip>;
|
|
2020
|
+
differenceType: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
2021
|
+
percent: "percent";
|
|
2022
|
+
absolute: "absolute";
|
|
2023
|
+
}>>>;
|
|
2024
|
+
textFontSize: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2025
|
+
textColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2026
|
+
textBackgroundColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2027
|
+
lineColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2028
|
+
}, z.core.$strip>]>>>;
|
|
1726
2029
|
polynomialRegressionLine: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
|
|
1727
2030
|
enable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1728
2031
|
color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
import { zLocale } from "../../i18n/index.js";
|
|
3
|
-
import { zAnnotationArea, zAnnotationHorizontalLine, zAnnotationPoint, zAnnotationVerticalLine, zBackgroundColor, zBarMaxWidth, zBarStyle, zBrush, zColor, zCrosshairRect, zDataset, zDimensionLinkage, zDimensions, zEncoding, zLabel, zLegend, zMeasures, zPage, zPlayer, zPolynomialRegressionLine, zSort, zSortLegend, zStackCornerRadius, zTheme, zTooltip, zXBandAxis, zYLinearAxis } from "../../properties/index.js";
|
|
3
|
+
import { zAnnotationArea, zAnnotationDifferenceLine, zAnnotationHorizontalLine, zAnnotationPoint, zAnnotationVerticalLine, zBackgroundColor, zBarMaxWidth, zBarStyle, zBrush, zColor, zCrosshairRect, zDataset, zDimensionLinkage, zDimensions, zEncoding, zLabel, zLegend, zMeasures, zPage, zPlayer, zPolynomialRegressionLine, zSort, zSortLegend, zStackCornerRadius, zTheme, zTooltip, zXBandAxis, zYLinearAxis } from "../../properties/index.js";
|
|
4
4
|
const zColumn = z.object({
|
|
5
5
|
chartType: z.literal('column'),
|
|
6
6
|
dataset: zDataset.nullish(),
|
|
@@ -28,6 +28,7 @@ const zColumn = z.object({
|
|
|
28
28
|
annotationVerticalLine: z.array(zAnnotationVerticalLine).or(zAnnotationVerticalLine).nullish(),
|
|
29
29
|
annotationHorizontalLine: z.array(zAnnotationHorizontalLine).or(zAnnotationHorizontalLine).nullish(),
|
|
30
30
|
annotationArea: z.array(zAnnotationArea).or(zAnnotationArea).nullish(),
|
|
31
|
+
annotationDifferenceLine: z.array(zAnnotationDifferenceLine).or(zAnnotationDifferenceLine).nullish(),
|
|
31
32
|
polynomialRegressionLine: z.array(zPolynomialRegressionLine).or(zPolynomialRegressionLine).nullish(),
|
|
32
33
|
dimensionLinkage: zDimensionLinkage.nullish(),
|
|
33
34
|
locale: zLocale.nullish()
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types/chartType/column/zColumn.js","sources":["../../../../../src/types/chartType/column/zColumn.ts"],"sourcesContent":["import { z } from 'zod'\nimport { zLocale } from '../../i18n'\nimport {\n zAnnotationArea,\n zAnnotationHorizontalLine,\n zAnnotationPoint,\n zAnnotationVerticalLine,\n zBackgroundColor,\n zBarMaxWidth,\n zBarStyle,\n zColor,\n zCrosshairRect,\n zDataset,\n zDimensionLinkage,\n zDimensions,\n zEncoding,\n zLabel,\n zLegend,\n zMeasures,\n zPolynomialRegressionLine,\n zSort,\n zSortLegend,\n zStackCornerRadius,\n zTheme,\n zTooltip,\n zBrush,\n zXBandAxis,\n zYLinearAxis,\n zPage,\n zPlayer,\n} from '../../properties'\n\nexport const zColumn = z.object({\n chartType: z.literal('column'),\n dataset: zDataset.nullish(),\n encoding: zEncoding.nullish(),\n dimensions: zDimensions.nullish(),\n measures: zMeasures.nullish(),\n page: zPage.nullish(),\n player: zPlayer.nullish(),\n\n backgroundColor: zBackgroundColor.nullish(),\n color: zColor.nullish(),\n label: zLabel.nullish(),\n legend: zLegend.nullish(),\n tooltip: zTooltip.nullish(),\n brush: zBrush.nullish(),\n xAxis: zXBandAxis.nullish(),\n yAxis: zYLinearAxis.nullish(),\n sort: zSort.nullish(),\n sortLegent: zSortLegend.nullish(),\n crosshairRect: zCrosshairRect.nullish(),\n stackCornerRadius: zStackCornerRadius.nullish(),\n barMaxWidth: zBarMaxWidth.nullish(),\n theme: zTheme.nullish(),\n barStyle: z.array(zBarStyle).or(zBarStyle).nullish(),\n annotationPoint: z.array(zAnnotationPoint).or(zAnnotationPoint).nullish(),\n annotationVerticalLine: z.array(zAnnotationVerticalLine).or(zAnnotationVerticalLine).nullish(),\n annotationHorizontalLine: z.array(zAnnotationHorizontalLine).or(zAnnotationHorizontalLine).nullish(),\n annotationArea: z.array(zAnnotationArea).or(zAnnotationArea).nullish(),\n polynomialRegressionLine: z.array(zPolynomialRegressionLine).or(zPolynomialRegressionLine).nullish(),\n dimensionLinkage: zDimensionLinkage.nullish(),\n locale: zLocale.nullish(),\n})\n"],"names":["zColumn","z","zDataset","zEncoding","zDimensions","zMeasures","zPage","zPlayer","zBackgroundColor","zColor","zLabel","zLegend","zTooltip","zBrush","zXBandAxis","zYLinearAxis","zSort","zSortLegend","zCrosshairRect","zStackCornerRadius","zBarMaxWidth","zTheme","zBarStyle","zAnnotationPoint","zAnnotationVerticalLine","zAnnotationHorizontalLine","zAnnotationArea","zPolynomialRegressionLine","zDimensionLinkage","zLocale"],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"types/chartType/column/zColumn.js","sources":["../../../../../src/types/chartType/column/zColumn.ts"],"sourcesContent":["import { z } from 'zod'\nimport { zLocale } from '../../i18n'\nimport {\n zAnnotationArea,\n zAnnotationDifferenceLine,\n zAnnotationHorizontalLine,\n zAnnotationPoint,\n zAnnotationVerticalLine,\n zBackgroundColor,\n zBarMaxWidth,\n zBarStyle,\n zColor,\n zCrosshairRect,\n zDataset,\n zDimensionLinkage,\n zDimensions,\n zEncoding,\n zLabel,\n zLegend,\n zMeasures,\n zPolynomialRegressionLine,\n zSort,\n zSortLegend,\n zStackCornerRadius,\n zTheme,\n zTooltip,\n zBrush,\n zXBandAxis,\n zYLinearAxis,\n zPage,\n zPlayer,\n} from '../../properties'\n\nexport const zColumn = z.object({\n chartType: z.literal('column'),\n dataset: zDataset.nullish(),\n encoding: zEncoding.nullish(),\n dimensions: zDimensions.nullish(),\n measures: zMeasures.nullish(),\n page: zPage.nullish(),\n player: zPlayer.nullish(),\n\n backgroundColor: zBackgroundColor.nullish(),\n color: zColor.nullish(),\n label: zLabel.nullish(),\n legend: zLegend.nullish(),\n tooltip: zTooltip.nullish(),\n brush: zBrush.nullish(),\n xAxis: zXBandAxis.nullish(),\n yAxis: zYLinearAxis.nullish(),\n sort: zSort.nullish(),\n sortLegent: zSortLegend.nullish(),\n crosshairRect: zCrosshairRect.nullish(),\n stackCornerRadius: zStackCornerRadius.nullish(),\n barMaxWidth: zBarMaxWidth.nullish(),\n theme: zTheme.nullish(),\n barStyle: z.array(zBarStyle).or(zBarStyle).nullish(),\n annotationPoint: z.array(zAnnotationPoint).or(zAnnotationPoint).nullish(),\n annotationVerticalLine: z.array(zAnnotationVerticalLine).or(zAnnotationVerticalLine).nullish(),\n annotationHorizontalLine: z.array(zAnnotationHorizontalLine).or(zAnnotationHorizontalLine).nullish(),\n annotationArea: z.array(zAnnotationArea).or(zAnnotationArea).nullish(),\n annotationDifferenceLine: z.array(zAnnotationDifferenceLine).or(zAnnotationDifferenceLine).nullish(),\n polynomialRegressionLine: z.array(zPolynomialRegressionLine).or(zPolynomialRegressionLine).nullish(),\n dimensionLinkage: zDimensionLinkage.nullish(),\n locale: zLocale.nullish(),\n})\n"],"names":["zColumn","z","zDataset","zEncoding","zDimensions","zMeasures","zPage","zPlayer","zBackgroundColor","zColor","zLabel","zLegend","zTooltip","zBrush","zXBandAxis","zYLinearAxis","zSort","zSortLegend","zCrosshairRect","zStackCornerRadius","zBarMaxWidth","zTheme","zBarStyle","zAnnotationPoint","zAnnotationVerticalLine","zAnnotationHorizontalLine","zAnnotationArea","zAnnotationDifferenceLine","zPolynomialRegressionLine","zDimensionLinkage","zLocale"],"mappings":";;;AAiCO,MAAMA,UAAUC,EAAE,MAAM,CAAC;IAC9B,WAAWA,EAAE,OAAO,CAAC;IACrB,SAASC,SAAS,OAAO;IACzB,UAAUC,UAAU,OAAO;IAC3B,YAAYC,YAAY,OAAO;IAC/B,UAAUC,UAAU,OAAO;IAC3B,MAAMC,MAAM,OAAO;IACnB,QAAQC,QAAQ,OAAO;IAEvB,iBAAiBC,iBAAiB,OAAO;IACzC,OAAOC,OAAO,OAAO;IACrB,OAAOC,OAAO,OAAO;IACrB,QAAQC,QAAQ,OAAO;IACvB,SAASC,SAAS,OAAO;IACzB,OAAOC,OAAO,OAAO;IACrB,OAAOC,WAAW,OAAO;IACzB,OAAOC,aAAa,OAAO;IAC3B,MAAMC,MAAM,OAAO;IACnB,YAAYC,YAAY,OAAO;IAC/B,eAAeC,eAAe,OAAO;IACrC,mBAAmBC,mBAAmB,OAAO;IAC7C,aAAaC,aAAa,OAAO;IACjC,OAAOC,OAAO,OAAO;IACrB,UAAUpB,EAAE,KAAK,CAACqB,WAAW,EAAE,CAACA,WAAW,OAAO;IAClD,iBAAiBrB,EAAE,KAAK,CAACsB,kBAAkB,EAAE,CAACA,kBAAkB,OAAO;IACvE,wBAAwBtB,EAAE,KAAK,CAACuB,yBAAyB,EAAE,CAACA,yBAAyB,OAAO;IAC5F,0BAA0BvB,EAAE,KAAK,CAACwB,2BAA2B,EAAE,CAACA,2BAA2B,OAAO;IAClG,gBAAgBxB,EAAE,KAAK,CAACyB,iBAAiB,EAAE,CAACA,iBAAiB,OAAO;IACpE,0BAA0BzB,EAAE,KAAK,CAAC0B,2BAA2B,EAAE,CAACA,2BAA2B,OAAO;IAClG,0BAA0B1B,EAAE,KAAK,CAAC2B,2BAA2B,EAAE,CAACA,2BAA2B,OAAO;IAClG,kBAAkBC,kBAAkB,OAAO;IAC3C,QAAQC,QAAQ,OAAO;AACzB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Locale } from '../../i18n';
|
|
2
|
-
import type { AnnotationArea, AnnotationHorizontalLine, AnnotationPoint, AnnotationVerticalLine, BackgroundColor, Brush, BarStyle, Color, CrosshairRect, Dataset, Label, Legend, StackCornerRadius, Theme, Tooltip, XBandAxis, YLinearAxis, SortLegend, Sort, BarMaxWidth, BarGapInGroup, DimensionLinkage, ColumnMeasure, ColumnDimension, Page } from '../../properties';
|
|
2
|
+
import type { AnnotationArea, AnnotationDifferenceLine, AnnotationHorizontalLine, AnnotationPoint, AnnotationVerticalLine, BackgroundColor, Brush, BarStyle, Color, CrosshairRect, Dataset, Label, Legend, StackCornerRadius, Theme, Tooltip, XBandAxis, YLinearAxis, SortLegend, Sort, BarMaxWidth, BarGapInGroup, DimensionLinkage, ColumnMeasure, ColumnDimension, Page } from '../../properties';
|
|
3
3
|
/**
|
|
4
4
|
* @description 并列柱状图,适用于多指标并行对比场景,多个柱子并列排列展示不同指标值
|
|
5
5
|
* 适用场景:
|
|
@@ -159,6 +159,10 @@ export interface ColumnParallel {
|
|
|
159
159
|
* @description 标注区域配置, 根据选择的数据, 定义图表的标注区域, 包括标注区域的位置, 样式等.
|
|
160
160
|
*/
|
|
161
161
|
annotationArea?: AnnotationArea | AnnotationArea[];
|
|
162
|
+
/**
|
|
163
|
+
* @description 差异标注线配置,用于绑定两个数据锚点并展示绝对差值或百分比差值。
|
|
164
|
+
*/
|
|
165
|
+
annotationDifferenceLine?: AnnotationDifferenceLine | AnnotationDifferenceLine[];
|
|
162
166
|
/**
|
|
163
167
|
* @description 当图表开启透视功能或者指标组合的是否,是否开启维度联动功能
|
|
164
168
|
* 当hover 到某个维度值时,联动高亮其他图表中相同维度值的数据
|