@visactor/vseed 0.4.23 → 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.
Files changed (89) hide show
  1. package/dist/cjs/index.cjs +2 -2
  2. package/dist/cjs/index.cjs.map +1 -1
  3. package/dist/esm/pipeline/advanced/chart/pipes/annotation/annotation.js +2 -1
  4. package/dist/esm/pipeline/advanced/chart/pipes/annotation/annotation.js.map +1 -1
  5. package/dist/esm/pipeline/spec/chart/pipeline/bar.js +3 -1
  6. package/dist/esm/pipeline/spec/chart/pipeline/bar.js.map +1 -1
  7. package/dist/esm/pipeline/spec/chart/pipeline/barParallel.js +3 -1
  8. package/dist/esm/pipeline/spec/chart/pipeline/barParallel.js.map +1 -1
  9. package/dist/esm/pipeline/spec/chart/pipeline/column.js +3 -1
  10. package/dist/esm/pipeline/spec/chart/pipeline/column.js.map +1 -1
  11. package/dist/esm/pipeline/spec/chart/pipeline/columnParallel.js +3 -1
  12. package/dist/esm/pipeline/spec/chart/pipeline/columnParallel.js.map +1 -1
  13. package/dist/esm/pipeline/spec/chart/pipes/annotation/annotationDifferenceLine.d.ts +2 -0
  14. package/dist/esm/pipeline/spec/chart/pipes/annotation/annotationDifferenceLine.js +134 -0
  15. package/dist/esm/pipeline/spec/chart/pipes/annotation/annotationDifferenceLine.js.map +1 -0
  16. package/dist/esm/pipeline/spec/chart/pipes/annotation/annotationDifferenceLineCommon.d.ts +27 -0
  17. package/dist/esm/pipeline/spec/chart/pipes/annotation/annotationDifferenceLineCommon.js +167 -0
  18. package/dist/esm/pipeline/spec/chart/pipes/annotation/annotationDifferenceLineCommon.js.map +1 -0
  19. package/dist/esm/pipeline/spec/chart/pipes/annotation/index.d.ts +1 -0
  20. package/dist/esm/pipeline/spec/chart/pipes/annotation/index.js +1 -0
  21. package/dist/esm/theme/common/annotaion.d.ts +6 -1
  22. package/dist/esm/theme/common/annotaion.js +18 -1
  23. package/dist/esm/theme/common/annotaion.js.map +1 -1
  24. package/dist/esm/theme/dark/area.d.ts +2 -0
  25. package/dist/esm/theme/dark/bar.d.ts +3 -0
  26. package/dist/esm/theme/dark/boxPlot.d.ts +1 -0
  27. package/dist/esm/theme/dark/column.d.ts +3 -0
  28. package/dist/esm/theme/dark/dualAxis.d.ts +1 -0
  29. package/dist/esm/theme/dark/histogram.d.ts +1 -0
  30. package/dist/esm/theme/dark/line.d.ts +1 -0
  31. package/dist/esm/theme/dark/race.d.ts +3 -0
  32. package/dist/esm/theme/dark/raceLine.d.ts +1 -0
  33. package/dist/esm/theme/dark/scatter.d.ts +1 -0
  34. package/dist/esm/theme/light/area.d.ts +2 -0
  35. package/dist/esm/theme/light/bar.d.ts +3 -0
  36. package/dist/esm/theme/light/boxPlot.d.ts +1 -0
  37. package/dist/esm/theme/light/column.d.ts +3 -0
  38. package/dist/esm/theme/light/dualAxis.d.ts +1 -0
  39. package/dist/esm/theme/light/histogram.d.ts +1 -0
  40. package/dist/esm/theme/light/line.d.ts +1 -0
  41. package/dist/esm/theme/light/race.d.ts +3 -0
  42. package/dist/esm/theme/light/raceLine.d.ts +1 -0
  43. package/dist/esm/theme/light/scatter.d.ts +1 -0
  44. package/dist/esm/theme/tokenTheme.js +3 -0
  45. package/dist/esm/theme/tokenTheme.js.map +1 -1
  46. package/dist/esm/types/chartType/bar/bar.d.ts +5 -1
  47. package/dist/esm/types/chartType/bar/zBar.d.ts +303 -0
  48. package/dist/esm/types/chartType/bar/zBar.js +2 -1
  49. package/dist/esm/types/chartType/bar/zBar.js.map +1 -1
  50. package/dist/esm/types/chartType/barParallel/barParallel.d.ts +5 -1
  51. package/dist/esm/types/chartType/barParallel/zBarParallel.d.ts +303 -0
  52. package/dist/esm/types/chartType/barParallel/zBarParallel.js +2 -1
  53. package/dist/esm/types/chartType/barParallel/zBarParallel.js.map +1 -1
  54. package/dist/esm/types/chartType/column/column.d.ts +5 -1
  55. package/dist/esm/types/chartType/column/zColumn.d.ts +303 -0
  56. package/dist/esm/types/chartType/column/zColumn.js +2 -1
  57. package/dist/esm/types/chartType/column/zColumn.js.map +1 -1
  58. package/dist/esm/types/chartType/columnParallel/columnParallel.d.ts +5 -1
  59. package/dist/esm/types/chartType/columnParallel/zColumnParallel.d.ts +303 -0
  60. package/dist/esm/types/chartType/columnParallel/zColumnParallel.js +2 -1
  61. package/dist/esm/types/chartType/columnParallel/zColumnParallel.js.map +1 -1
  62. package/dist/esm/types/properties/annotation/annotation.d.ts +303 -0
  63. package/dist/esm/types/properties/annotation/annotation.js +3 -1
  64. package/dist/esm/types/properties/annotation/annotation.js.map +1 -1
  65. package/dist/esm/types/properties/annotation/annotationDifferenceLine.d.ts +51 -0
  66. package/dist/esm/types/properties/annotation/annotationDifferenceLine.js +0 -0
  67. package/dist/esm/types/properties/annotation/index.d.ts +2 -0
  68. package/dist/esm/types/properties/annotation/index.js +1 -0
  69. package/dist/esm/types/properties/annotation/zAnnotationDifferenceLine.d.ts +294 -0
  70. package/dist/esm/types/properties/annotation/zAnnotationDifferenceLine.js +29 -0
  71. package/dist/esm/types/properties/annotation/zAnnotationDifferenceLine.js.map +1 -0
  72. package/dist/esm/types/properties/config/annotation/annotation.d.ts +2 -0
  73. package/dist/esm/types/properties/config/annotation/zAnnotation.d.ts +12 -0
  74. package/dist/esm/types/properties/config/annotation/zAnnotation.js +10 -2
  75. package/dist/esm/types/properties/config/annotation/zAnnotation.js.map +1 -1
  76. package/dist/esm/types/properties/config/area.d.ts +12 -0
  77. package/dist/esm/types/properties/config/bar.d.ts +18 -0
  78. package/dist/esm/types/properties/config/boxplot.d.ts +6 -0
  79. package/dist/esm/types/properties/config/column.d.ts +18 -0
  80. package/dist/esm/types/properties/config/config.d.ts +114 -0
  81. package/dist/esm/types/properties/config/dualAxis.d.ts +6 -0
  82. package/dist/esm/types/properties/config/histogram.d.ts +6 -0
  83. package/dist/esm/types/properties/config/line.d.ts +6 -0
  84. package/dist/esm/types/properties/config/race.d.ts +36 -0
  85. package/dist/esm/types/properties/config/scatter.d.ts +6 -0
  86. package/dist/esm/types/properties/theme/customTheme.d.ts +228 -0
  87. package/dist/umd/index.js +366 -6
  88. package/dist/umd/index.js.map +1 -1
  89. package/package.json +1 -1
@@ -1683,6 +1683,309 @@ export declare const zBarParallel: z.ZodObject<{
1683
1683
  areaLineDash: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
1684
1684
  outerPadding: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
1685
1685
  }, z.core.$strip>]>>>;
1686
+ annotationDifferenceLine: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
1687
+ start: z.ZodObject<{
1688
+ selector: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodAny>, z.ZodObject<{
1689
+ field: z.ZodString;
1690
+ operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1691
+ "=": "=";
1692
+ "==": "==";
1693
+ "!=": "!=";
1694
+ ">": ">";
1695
+ "<": "<";
1696
+ ">=": ">=";
1697
+ "<=": "<=";
1698
+ between: "between";
1699
+ }>>>;
1700
+ op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1701
+ "=": "=";
1702
+ "==": "==";
1703
+ "!=": "!=";
1704
+ ">": ">";
1705
+ "<": "<";
1706
+ ">=": ">=";
1707
+ "<=": "<=";
1708
+ between: "between";
1709
+ }>>>;
1710
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
1711
+ }, z.core.$strip>, z.ZodObject<{
1712
+ field: z.ZodString;
1713
+ operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1714
+ in: "in";
1715
+ "not in": "not in";
1716
+ }>>>;
1717
+ op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1718
+ in: "in";
1719
+ "not in": "not in";
1720
+ }>>>;
1721
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
1722
+ }, z.core.$strip>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodAny>, z.ZodObject<{
1723
+ field: z.ZodString;
1724
+ operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1725
+ "=": "=";
1726
+ "==": "==";
1727
+ "!=": "!=";
1728
+ ">": ">";
1729
+ "<": "<";
1730
+ ">=": ">=";
1731
+ "<=": "<=";
1732
+ between: "between";
1733
+ }>>>;
1734
+ op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1735
+ "=": "=";
1736
+ "==": "==";
1737
+ "!=": "!=";
1738
+ ">": ">";
1739
+ "<": "<";
1740
+ ">=": ">=";
1741
+ "<=": "<=";
1742
+ between: "between";
1743
+ }>>>;
1744
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
1745
+ }, z.core.$strip>, z.ZodObject<{
1746
+ field: z.ZodString;
1747
+ operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1748
+ in: "in";
1749
+ "not in": "not in";
1750
+ }>>>;
1751
+ op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1752
+ in: "in";
1753
+ "not in": "not in";
1754
+ }>>>;
1755
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
1756
+ }, z.core.$strip>]>>]>;
1757
+ }, z.core.$strip>;
1758
+ end: z.ZodObject<{
1759
+ selector: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodAny>, z.ZodObject<{
1760
+ field: z.ZodString;
1761
+ operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1762
+ "=": "=";
1763
+ "==": "==";
1764
+ "!=": "!=";
1765
+ ">": ">";
1766
+ "<": "<";
1767
+ ">=": ">=";
1768
+ "<=": "<=";
1769
+ between: "between";
1770
+ }>>>;
1771
+ op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1772
+ "=": "=";
1773
+ "==": "==";
1774
+ "!=": "!=";
1775
+ ">": ">";
1776
+ "<": "<";
1777
+ ">=": ">=";
1778
+ "<=": "<=";
1779
+ between: "between";
1780
+ }>>>;
1781
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
1782
+ }, z.core.$strip>, z.ZodObject<{
1783
+ field: z.ZodString;
1784
+ operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1785
+ in: "in";
1786
+ "not in": "not in";
1787
+ }>>>;
1788
+ op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1789
+ in: "in";
1790
+ "not in": "not in";
1791
+ }>>>;
1792
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
1793
+ }, z.core.$strip>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodAny>, z.ZodObject<{
1794
+ field: z.ZodString;
1795
+ operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1796
+ "=": "=";
1797
+ "==": "==";
1798
+ "!=": "!=";
1799
+ ">": ">";
1800
+ "<": "<";
1801
+ ">=": ">=";
1802
+ "<=": "<=";
1803
+ between: "between";
1804
+ }>>>;
1805
+ op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1806
+ "=": "=";
1807
+ "==": "==";
1808
+ "!=": "!=";
1809
+ ">": ">";
1810
+ "<": "<";
1811
+ ">=": ">=";
1812
+ "<=": "<=";
1813
+ between: "between";
1814
+ }>>>;
1815
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
1816
+ }, z.core.$strip>, z.ZodObject<{
1817
+ field: z.ZodString;
1818
+ operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1819
+ in: "in";
1820
+ "not in": "not in";
1821
+ }>>>;
1822
+ op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1823
+ in: "in";
1824
+ "not in": "not in";
1825
+ }>>>;
1826
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
1827
+ }, z.core.$strip>]>>]>;
1828
+ }, z.core.$strip>;
1829
+ differenceType: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1830
+ percent: "percent";
1831
+ absolute: "absolute";
1832
+ }>>>;
1833
+ textFontSize: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1834
+ textColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1835
+ textBackgroundColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1836
+ lineColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1837
+ }, z.core.$strip>>, z.ZodObject<{
1838
+ start: z.ZodObject<{
1839
+ selector: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodAny>, z.ZodObject<{
1840
+ field: z.ZodString;
1841
+ operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1842
+ "=": "=";
1843
+ "==": "==";
1844
+ "!=": "!=";
1845
+ ">": ">";
1846
+ "<": "<";
1847
+ ">=": ">=";
1848
+ "<=": "<=";
1849
+ between: "between";
1850
+ }>>>;
1851
+ op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1852
+ "=": "=";
1853
+ "==": "==";
1854
+ "!=": "!=";
1855
+ ">": ">";
1856
+ "<": "<";
1857
+ ">=": ">=";
1858
+ "<=": "<=";
1859
+ between: "between";
1860
+ }>>>;
1861
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
1862
+ }, z.core.$strip>, z.ZodObject<{
1863
+ field: z.ZodString;
1864
+ operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1865
+ in: "in";
1866
+ "not in": "not in";
1867
+ }>>>;
1868
+ op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1869
+ in: "in";
1870
+ "not in": "not in";
1871
+ }>>>;
1872
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
1873
+ }, z.core.$strip>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodAny>, z.ZodObject<{
1874
+ field: z.ZodString;
1875
+ operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1876
+ "=": "=";
1877
+ "==": "==";
1878
+ "!=": "!=";
1879
+ ">": ">";
1880
+ "<": "<";
1881
+ ">=": ">=";
1882
+ "<=": "<=";
1883
+ between: "between";
1884
+ }>>>;
1885
+ op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1886
+ "=": "=";
1887
+ "==": "==";
1888
+ "!=": "!=";
1889
+ ">": ">";
1890
+ "<": "<";
1891
+ ">=": ">=";
1892
+ "<=": "<=";
1893
+ between: "between";
1894
+ }>>>;
1895
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
1896
+ }, z.core.$strip>, z.ZodObject<{
1897
+ field: z.ZodString;
1898
+ operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1899
+ in: "in";
1900
+ "not in": "not in";
1901
+ }>>>;
1902
+ op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1903
+ in: "in";
1904
+ "not in": "not in";
1905
+ }>>>;
1906
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
1907
+ }, z.core.$strip>]>>]>;
1908
+ }, z.core.$strip>;
1909
+ end: z.ZodObject<{
1910
+ selector: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodAny>, z.ZodObject<{
1911
+ field: z.ZodString;
1912
+ operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1913
+ "=": "=";
1914
+ "==": "==";
1915
+ "!=": "!=";
1916
+ ">": ">";
1917
+ "<": "<";
1918
+ ">=": ">=";
1919
+ "<=": "<=";
1920
+ between: "between";
1921
+ }>>>;
1922
+ op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1923
+ "=": "=";
1924
+ "==": "==";
1925
+ "!=": "!=";
1926
+ ">": ">";
1927
+ "<": "<";
1928
+ ">=": ">=";
1929
+ "<=": "<=";
1930
+ between: "between";
1931
+ }>>>;
1932
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
1933
+ }, z.core.$strip>, z.ZodObject<{
1934
+ field: z.ZodString;
1935
+ operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1936
+ in: "in";
1937
+ "not in": "not in";
1938
+ }>>>;
1939
+ op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1940
+ in: "in";
1941
+ "not in": "not in";
1942
+ }>>>;
1943
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
1944
+ }, z.core.$strip>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodAny>, z.ZodObject<{
1945
+ field: z.ZodString;
1946
+ operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1947
+ "=": "=";
1948
+ "==": "==";
1949
+ "!=": "!=";
1950
+ ">": ">";
1951
+ "<": "<";
1952
+ ">=": ">=";
1953
+ "<=": "<=";
1954
+ between: "between";
1955
+ }>>>;
1956
+ op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1957
+ "=": "=";
1958
+ "==": "==";
1959
+ "!=": "!=";
1960
+ ">": ">";
1961
+ "<": "<";
1962
+ ">=": ">=";
1963
+ "<=": "<=";
1964
+ between: "between";
1965
+ }>>>;
1966
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
1967
+ }, z.core.$strip>, z.ZodObject<{
1968
+ field: z.ZodString;
1969
+ operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1970
+ in: "in";
1971
+ "not in": "not in";
1972
+ }>>>;
1973
+ op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1974
+ in: "in";
1975
+ "not in": "not in";
1976
+ }>>>;
1977
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
1978
+ }, z.core.$strip>]>>]>;
1979
+ }, z.core.$strip>;
1980
+ differenceType: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1981
+ percent: "percent";
1982
+ absolute: "absolute";
1983
+ }>>>;
1984
+ textFontSize: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1985
+ textColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1986
+ textBackgroundColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1987
+ lineColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1988
+ }, z.core.$strip>]>>>;
1686
1989
  dimensionLinkage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1687
1990
  enable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1688
1991
  showTooltip: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
@@ -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, zBarGapInGroup, zBarMaxWidth, zBarStyle, zBrush, zColor, zCrosshairRect, zDataset, zDimensionLinkage, zDimensions, zEncoding, zLabel, zLegend, zMeasures, zPage, zStackCornerRadius, zTheme, zTooltip, zXLinearAxis, zYBandAxis } from "../../properties/index.js";
3
+ import { zAnnotationArea, zAnnotationDifferenceLine, zAnnotationHorizontalLine, zAnnotationPoint, zAnnotationVerticalLine, zBackgroundColor, zBarGapInGroup, zBarMaxWidth, zBarStyle, zBrush, zColor, zCrosshairRect, zDataset, zDimensionLinkage, zDimensions, zEncoding, zLabel, zLegend, zMeasures, zPage, zStackCornerRadius, zTheme, zTooltip, zXLinearAxis, zYBandAxis } from "../../properties/index.js";
4
4
  const zBarParallel = z.object({
5
5
  chartType: z.literal('barParallel'),
6
6
  dataset: zDataset.nullish(),
@@ -25,6 +25,7 @@ const zBarParallel = z.object({
25
25
  annotationVerticalLine: z.array(zAnnotationVerticalLine).or(zAnnotationVerticalLine).nullish(),
26
26
  annotationHorizontalLine: z.array(zAnnotationHorizontalLine).or(zAnnotationHorizontalLine).nullish(),
27
27
  annotationArea: z.array(zAnnotationArea).or(zAnnotationArea).nullish(),
28
+ annotationDifferenceLine: z.array(zAnnotationDifferenceLine).or(zAnnotationDifferenceLine).nullish(),
28
29
  dimensionLinkage: zDimensionLinkage.nullish(),
29
30
  locale: zLocale.nullish(),
30
31
  page: zPage.nullish()
@@ -1 +1 @@
1
- {"version":3,"file":"types/chartType/barParallel/zBarParallel.js","sources":["../../../../../src/types/chartType/barParallel/zBarParallel.ts"],"sourcesContent":["import { z } from 'zod'\nimport { zLocale } from '../../i18n'\nimport {\n zAnnotationArea,\n zAnnotationHorizontalLine,\n zAnnotationPoint,\n zAnnotationVerticalLine,\n zBackgroundColor,\n zBarGapInGroup,\n zBarMaxWidth,\n zBarStyle,\n zColor,\n zCrosshairRect,\n zDataset,\n zDimensionLinkage,\n zDimensions,\n zEncoding,\n zLabel,\n zLegend,\n zMeasures,\n zStackCornerRadius,\n zTheme,\n zTooltip,\n zBrush,\n zXLinearAxis,\n zYBandAxis,\n zPage,\n} from '../../properties'\n\nexport const zBarParallel = z.object({\n chartType: z.literal('barParallel'),\n dataset: zDataset.nullish(),\n encoding: zEncoding.nullish(),\n dimensions: zDimensions.nullish(),\n measures: zMeasures.nullish(),\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: zXLinearAxis.nullish(),\n yAxis: zYBandAxis.nullish(),\n crosshairRect: zCrosshairRect.nullish(),\n stackCornerRadius: zStackCornerRadius.nullish(),\n barMaxWidth: zBarMaxWidth.nullish(),\n barGapInGroup: zBarGapInGroup.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 dimensionLinkage: zDimensionLinkage.nullish(),\n locale: zLocale.nullish(),\n page: zPage.nullish(),\n})\n"],"names":["zBarParallel","z","zDataset","zEncoding","zDimensions","zMeasures","zBackgroundColor","zColor","zLabel","zLegend","zTooltip","zBrush","zXLinearAxis","zYBandAxis","zCrosshairRect","zStackCornerRadius","zBarMaxWidth","zBarGapInGroup","zTheme","zBarStyle","zAnnotationPoint","zAnnotationVerticalLine","zAnnotationHorizontalLine","zAnnotationArea","zDimensionLinkage","zLocale","zPage"],"mappings":";;;AA6BO,MAAMA,eAAeC,EAAE,MAAM,CAAC;IACnC,WAAWA,EAAE,OAAO,CAAC;IACrB,SAASC,SAAS,OAAO;IACzB,UAAUC,UAAU,OAAO;IAC3B,YAAYC,YAAY,OAAO;IAC/B,UAAUC,UAAU,OAAO;IAC3B,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,aAAa,OAAO;IAC3B,OAAOC,WAAW,OAAO;IACzB,eAAeC,eAAe,OAAO;IACrC,mBAAmBC,mBAAmB,OAAO;IAC7C,aAAaC,aAAa,OAAO;IACjC,eAAeC,eAAe,OAAO;IACrC,OAAOC,OAAO,OAAO;IACrB,UAAUjB,EAAE,KAAK,CAACkB,WAAW,EAAE,CAACA,WAAW,OAAO;IAClD,iBAAiBlB,EAAE,KAAK,CAACmB,kBAAkB,EAAE,CAACA,kBAAkB,OAAO;IACvE,wBAAwBnB,EAAE,KAAK,CAACoB,yBAAyB,EAAE,CAACA,yBAAyB,OAAO;IAC5F,0BAA0BpB,EAAE,KAAK,CAACqB,2BAA2B,EAAE,CAACA,2BAA2B,OAAO;IAClG,gBAAgBrB,EAAE,KAAK,CAACsB,iBAAiB,EAAE,CAACA,iBAAiB,OAAO;IACpE,kBAAkBC,kBAAkB,OAAO;IAC3C,QAAQC,QAAQ,OAAO;IACvB,MAAMC,MAAM,OAAO;AACrB"}
1
+ {"version":3,"file":"types/chartType/barParallel/zBarParallel.js","sources":["../../../../../src/types/chartType/barParallel/zBarParallel.ts"],"sourcesContent":["import { z } from 'zod'\nimport { zLocale } from '../../i18n'\nimport {\n zAnnotationArea,\n zAnnotationDifferenceLine,\n zAnnotationHorizontalLine,\n zAnnotationPoint,\n zAnnotationVerticalLine,\n zBackgroundColor,\n zBarGapInGroup,\n zBarMaxWidth,\n zBarStyle,\n zColor,\n zCrosshairRect,\n zDataset,\n zDimensionLinkage,\n zDimensions,\n zEncoding,\n zLabel,\n zLegend,\n zMeasures,\n zStackCornerRadius,\n zTheme,\n zTooltip,\n zBrush,\n zXLinearAxis,\n zYBandAxis,\n zPage,\n} from '../../properties'\n\nexport const zBarParallel = z.object({\n chartType: z.literal('barParallel'),\n dataset: zDataset.nullish(),\n encoding: zEncoding.nullish(),\n dimensions: zDimensions.nullish(),\n measures: zMeasures.nullish(),\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: zXLinearAxis.nullish(),\n yAxis: zYBandAxis.nullish(),\n crosshairRect: zCrosshairRect.nullish(),\n stackCornerRadius: zStackCornerRadius.nullish(),\n barMaxWidth: zBarMaxWidth.nullish(),\n barGapInGroup: zBarGapInGroup.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 dimensionLinkage: zDimensionLinkage.nullish(),\n locale: zLocale.nullish(),\n page: zPage.nullish(),\n})\n"],"names":["zBarParallel","z","zDataset","zEncoding","zDimensions","zMeasures","zBackgroundColor","zColor","zLabel","zLegend","zTooltip","zBrush","zXLinearAxis","zYBandAxis","zCrosshairRect","zStackCornerRadius","zBarMaxWidth","zBarGapInGroup","zTheme","zBarStyle","zAnnotationPoint","zAnnotationVerticalLine","zAnnotationHorizontalLine","zAnnotationArea","zAnnotationDifferenceLine","zDimensionLinkage","zLocale","zPage"],"mappings":";;;AA8BO,MAAMA,eAAeC,EAAE,MAAM,CAAC;IACnC,WAAWA,EAAE,OAAO,CAAC;IACrB,SAASC,SAAS,OAAO;IACzB,UAAUC,UAAU,OAAO;IAC3B,YAAYC,YAAY,OAAO;IAC/B,UAAUC,UAAU,OAAO;IAC3B,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,aAAa,OAAO;IAC3B,OAAOC,WAAW,OAAO;IACzB,eAAeC,eAAe,OAAO;IACrC,mBAAmBC,mBAAmB,OAAO;IAC7C,aAAaC,aAAa,OAAO;IACjC,eAAeC,eAAe,OAAO;IACrC,OAAOC,OAAO,OAAO;IACrB,UAAUjB,EAAE,KAAK,CAACkB,WAAW,EAAE,CAACA,WAAW,OAAO;IAClD,iBAAiBlB,EAAE,KAAK,CAACmB,kBAAkB,EAAE,CAACA,kBAAkB,OAAO;IACvE,wBAAwBnB,EAAE,KAAK,CAACoB,yBAAyB,EAAE,CAACA,yBAAyB,OAAO;IAC5F,0BAA0BpB,EAAE,KAAK,CAACqB,2BAA2B,EAAE,CAACA,2BAA2B,OAAO;IAClG,gBAAgBrB,EAAE,KAAK,CAACsB,iBAAiB,EAAE,CAACA,iBAAiB,OAAO;IACpE,0BAA0BtB,EAAE,KAAK,CAACuB,2BAA2B,EAAE,CAACA,2BAA2B,OAAO;IAClG,kBAAkBC,kBAAkB,OAAO;IAC3C,QAAQC,QAAQ,OAAO;IACvB,MAAMC,MAAM,OAAO;AACrB"}
@@ -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, Sort, SortLegend, BarMaxWidth, PolynomialRegressionLine, 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, Sort, SortLegend, BarMaxWidth, PolynomialRegressionLine, DimensionLinkage, ColumnMeasure, ColumnDimension, Page } from '../../properties';
3
3
  /**
4
4
  * @description 柱状图,适用于纵向数据对比场景,X轴为类目轴(分类数据),Y轴为数值轴(连续数据),柱子纵向排列
5
5
  * 适用场景:
@@ -154,6 +154,10 @@ export interface Column {
154
154
  * @description 标注区域配置, 根据选择的数据, 定义图表的标注区域, 包括标注区域的位置, 样式等.
155
155
  */
156
156
  annotationArea?: AnnotationArea | AnnotationArea[];
157
+ /**
158
+ * @description 差异标注线配置,用于绑定两个数据锚点并展示绝对差值或百分比差值。
159
+ */
160
+ annotationDifferenceLine?: AnnotationDifferenceLine | AnnotationDifferenceLine[];
157
161
  /**
158
162
  * 多项式回归线
159
163
  * @description 多项式回归线配置, 包括多项式的阶数、回归线的样式等.