@visactor/vseed 0.1.33 → 0.1.35

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 (129) hide show
  1. package/dist/cjs/index.cjs +2 -2
  2. package/dist/cjs/index.cjs.map +1 -1
  3. package/dist/esm/builder/builder/builder.d.ts +1189 -3271
  4. package/dist/esm/pipeline/advanced/chart/pipes/config/column.d.ts +2 -0
  5. package/dist/esm/pipeline/advanced/chart/pipes/config/column.js +31 -0
  6. package/dist/esm/pipeline/advanced/chart/pipes/config/column.js.map +1 -0
  7. package/dist/esm/pipeline/advanced/chart/pipes/config/index.d.ts +19 -3
  8. package/dist/esm/pipeline/advanced/chart/pipes/config/index.js +21 -3
  9. package/dist/esm/pipeline/advanced/chart/pipes/config/index.js.map +1 -0
  10. package/dist/esm/pipeline/advanced/chart/pipes/config/line.d.ts +2 -0
  11. package/dist/esm/pipeline/advanced/chart/pipes/config/line.js +30 -0
  12. package/dist/esm/pipeline/advanced/chart/pipes/config/line.js.map +1 -0
  13. package/dist/esm/pipeline/advanced/chart/pipes/config/pie.d.ts +2 -0
  14. package/dist/esm/pipeline/advanced/chart/pipes/config/pie.js +27 -0
  15. package/dist/esm/pipeline/advanced/chart/pipes/config/pie.js.map +1 -0
  16. package/dist/esm/pipeline/spec/chart/pipeline/funnel.js +3 -1
  17. package/dist/esm/pipeline/spec/chart/pipeline/funnel.js.map +1 -1
  18. package/dist/esm/pipeline/spec/chart/pipeline/heatmap.js +2 -2
  19. package/dist/esm/pipeline/spec/chart/pipeline/heatmap.js.map +1 -1
  20. package/dist/esm/pipeline/spec/chart/pipes/init/funnel.js +0 -3
  21. package/dist/esm/pipeline/spec/chart/pipes/init/funnel.js.map +1 -1
  22. package/dist/esm/pipeline/spec/chart/pipes/label/label.js +5 -4
  23. package/dist/esm/pipeline/spec/chart/pipes/label/label.js.map +1 -1
  24. package/dist/esm/pipeline/spec/chart/pipes/legend/discreteLegend.js +26 -11
  25. package/dist/esm/pipeline/spec/chart/pipes/legend/discreteLegend.js.map +1 -1
  26. package/dist/esm/pipeline/spec/chart/pipes/legend/heatmapColorLegend.d.ts +2 -0
  27. package/dist/esm/pipeline/spec/chart/pipes/legend/heatmapColorLegend.js +19 -0
  28. package/dist/esm/pipeline/spec/chart/pipes/legend/heatmapColorLegend.js.map +1 -0
  29. package/dist/esm/pipeline/spec/chart/pipes/legend/index.d.ts +1 -0
  30. package/dist/esm/pipeline/spec/chart/pipes/legend/index.js +2 -1
  31. package/dist/esm/pipeline/spec/chart/pipes/markStyle/cellStyle.js +8 -3
  32. package/dist/esm/pipeline/spec/chart/pipes/markStyle/cellStyle.js.map +1 -1
  33. package/dist/esm/pipeline/spec/chart/pipes/markStyle/funnelStyle.js +1 -1
  34. package/dist/esm/pipeline/spec/chart/pipes/markStyle/funnelStyle.js.map +1 -1
  35. package/dist/esm/pipeline/spec/chart/pipes/markStyle/funnelTransformStyle.d.ts +2 -0
  36. package/dist/esm/pipeline/spec/chart/pipes/markStyle/funnelTransformStyle.js +22 -0
  37. package/dist/esm/pipeline/spec/chart/pipes/markStyle/funnelTransformStyle.js.map +1 -0
  38. package/dist/esm/pipeline/spec/chart/pipes/markStyle/index.d.ts +1 -0
  39. package/dist/esm/pipeline/spec/chart/pipes/markStyle/index.js +2 -1
  40. package/dist/esm/pipeline/spec/chart/pipes/pivotChart/pivotColumnDimensions.js +0 -1
  41. package/dist/esm/pipeline/spec/chart/pipes/pivotChart/pivotColumnDimensions.js.map +1 -1
  42. package/dist/esm/pipeline/utils/constant.d.ts +1 -0
  43. package/dist/esm/pipeline/utils/constant.js +2 -1
  44. package/dist/esm/pipeline/utils/constant.js.map +1 -1
  45. package/dist/esm/theme/common/funnelTransform.d.ts +3 -0
  46. package/dist/esm/theme/common/funnelTransform.js +11 -0
  47. package/dist/esm/theme/common/funnelTransform.js.map +1 -0
  48. package/dist/esm/theme/common/heatmapCell.d.ts +3 -0
  49. package/dist/esm/theme/common/heatmapCell.js +9 -0
  50. package/dist/esm/theme/common/heatmapCell.js.map +1 -0
  51. package/dist/esm/theme/common/table.d.ts +47 -5
  52. package/dist/esm/theme/common/table.js.map +1 -1
  53. package/dist/esm/theme/dark/dark.js +4 -0
  54. package/dist/esm/theme/dark/dark.js.map +1 -1
  55. package/dist/esm/theme/light/light.js +4 -0
  56. package/dist/esm/theme/light/light.js.map +1 -1
  57. package/dist/esm/types/advancedVSeed.d.ts +160 -958
  58. package/dist/esm/types/properties/config/annotation/zAnnotaion.d.ts +1 -1
  59. package/dist/esm/types/properties/config/annotation/zAnnotaion.js +2 -2
  60. package/dist/esm/types/properties/config/annotation/zAnnotaion.js.map +1 -1
  61. package/dist/esm/types/properties/config/area.d.ts +647 -0
  62. package/dist/esm/types/properties/config/area.js +26 -0
  63. package/dist/esm/types/properties/config/area.js.map +1 -0
  64. package/dist/esm/types/properties/config/axes/bandAxis.d.ts +149 -1
  65. package/dist/esm/types/properties/config/axes/linearAxis.d.ts +151 -1
  66. package/dist/esm/types/properties/config/bar.d.ts +970 -0
  67. package/dist/esm/types/properties/config/bar.js +29 -0
  68. package/dist/esm/types/properties/config/bar.js.map +1 -0
  69. package/dist/esm/types/properties/config/column.d.ts +970 -0
  70. package/dist/esm/types/properties/config/column.js +29 -0
  71. package/dist/esm/types/properties/config/column.js.map +1 -0
  72. package/dist/esm/types/properties/config/config.d.ts +138 -5667
  73. package/dist/esm/types/properties/config/config.js +13 -142
  74. package/dist/esm/types/properties/config/config.js.map +1 -1
  75. package/dist/esm/types/properties/config/dualAxis.d.ts +566 -0
  76. package/dist/esm/types/properties/config/dualAxis.js +29 -0
  77. package/dist/esm/types/properties/config/dualAxis.js.map +1 -0
  78. package/dist/esm/types/properties/config/funnel.d.ts +124 -0
  79. package/dist/esm/types/properties/config/funnel.js +20 -0
  80. package/dist/esm/types/properties/config/funnel.js.map +1 -0
  81. package/dist/esm/types/properties/config/funnelTransform/funnelTransform.d.ts +13 -0
  82. package/dist/esm/types/properties/config/funnelTransform/funnelTransform.js +0 -0
  83. package/dist/esm/types/properties/config/funnelTransform/index.d.ts +2 -0
  84. package/dist/esm/types/properties/config/funnelTransform/index.js +1 -0
  85. package/dist/esm/types/properties/config/funnelTransform/zFunnelTransform.d.ts +5 -0
  86. package/dist/esm/types/properties/config/funnelTransform/zFunnelTransform.js +8 -0
  87. package/dist/esm/types/properties/config/funnelTransform/zFunnelTransform.js.map +1 -0
  88. package/dist/esm/types/properties/config/heatmap/heatmap.d.ts +17 -0
  89. package/dist/esm/types/properties/config/heatmap/heatmap.js +0 -0
  90. package/dist/esm/types/properties/config/heatmap/index.d.ts +2 -0
  91. package/dist/esm/types/properties/config/heatmap/index.js +1 -0
  92. package/dist/esm/types/properties/config/heatmap/zHeatmap.d.ts +6 -0
  93. package/dist/esm/types/properties/config/heatmap/zHeatmap.js +9 -0
  94. package/dist/esm/types/properties/config/heatmap/zHeatmap.js.map +1 -0
  95. package/dist/esm/types/properties/config/heatmap.d.ts +125 -0
  96. package/dist/esm/types/properties/config/heatmap.js +20 -0
  97. package/dist/esm/types/properties/config/heatmap.js.map +1 -0
  98. package/dist/esm/types/properties/config/index.d.ts +17 -2
  99. package/dist/esm/types/properties/config/index.js +17 -2
  100. package/dist/esm/types/properties/config/line.d.ts +324 -0
  101. package/dist/esm/types/properties/config/line.js +25 -0
  102. package/dist/esm/types/properties/config/line.js.map +1 -0
  103. package/dist/esm/types/properties/config/pie.d.ts +364 -0
  104. package/dist/esm/types/properties/config/pie.js +21 -0
  105. package/dist/esm/types/properties/config/pie.js.map +1 -0
  106. package/dist/esm/types/properties/config/pivotGrid/index.d.ts +2 -0
  107. package/dist/esm/types/properties/config/pivotGrid/index.js +2 -0
  108. package/dist/esm/types/properties/config/pivotGrid/pivotGrid.d.ts +10 -0
  109. package/dist/esm/types/properties/config/pivotGrid/pivotGrid.js +12 -0
  110. package/dist/esm/types/properties/config/pivotGrid/pivotGrid.js.map +1 -0
  111. package/dist/esm/types/properties/config/pivotTable.d.ts +18 -0
  112. package/dist/esm/types/properties/config/pivotTable.js +5 -0
  113. package/dist/esm/types/properties/config/pivotTable.js.map +1 -0
  114. package/dist/esm/types/properties/config/rose.d.ts +241 -0
  115. package/dist/esm/types/properties/config/rose.js +19 -0
  116. package/dist/esm/types/properties/config/rose.js.map +1 -0
  117. package/dist/esm/types/properties/config/scatter.d.ts +357 -0
  118. package/dist/esm/types/properties/config/scatter.js +27 -0
  119. package/dist/esm/types/properties/config/scatter.js.map +1 -0
  120. package/dist/esm/types/properties/config/table.d.ts +18 -0
  121. package/dist/esm/types/properties/config/table.js +21 -0
  122. package/dist/esm/types/properties/config/table.js.map +1 -0
  123. package/dist/esm/types/properties/theme/customTheme.d.ts +161 -959
  124. package/dist/umd/index.js +241 -137
  125. package/dist/umd/index.js.map +1 -1
  126. package/package.json +3 -3
  127. package/dist/esm/pipeline/advanced/chart/pipes/config/config.d.ts +0 -17
  128. package/dist/esm/pipeline/advanced/chart/pipes/config/config.js +0 -89
  129. package/dist/esm/pipeline/advanced/chart/pipes/config/config.js.map +0 -1
@@ -82,7 +82,7 @@ export declare const zAnnotationAreaConfig: z.ZodObject<{
82
82
  areaLineDash: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>>;
83
83
  outerPadding: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>>;
84
84
  }, z.core.$strip>;
85
- export declare const zAnnotaionConfig: z.ZodObject<{
85
+ export declare const zAnnotationConfig: z.ZodObject<{
86
86
  annotationPoint: z.ZodOptional<z.ZodNullable<z.ZodObject<{
87
87
  textColor: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>>;
88
88
  textFontSize: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>>;
@@ -47,12 +47,12 @@ const zAnnotationAreaConfig = zAnnotationArea.pick({
47
47
  areaLineDash: true,
48
48
  outerPadding: true
49
49
  }).partial();
50
- const zAnnotaionConfig = z.object({
50
+ const zAnnotationConfig = z.object({
51
51
  annotationPoint: zAnnotationPointConfig.nullish(),
52
52
  annotationHorizontalLine: zAnnotationHorizontalLineConfig.nullish(),
53
53
  annotationVerticalLine: zAnnotationVerticalLineConfig.nullish(),
54
54
  annotationArea: zAnnotationAreaConfig.nullish()
55
55
  });
56
- export { zAnnotaionConfig, zAnnotationAreaConfig, zAnnotationHorizontalLineConfig, zAnnotationPointConfig, zAnnotationVerticalLineConfig };
56
+ export { zAnnotationAreaConfig, zAnnotationConfig, zAnnotationHorizontalLineConfig, zAnnotationPointConfig, zAnnotationVerticalLineConfig };
57
57
 
58
58
  //# sourceMappingURL=zAnnotaion.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"types/properties/config/annotation/zAnnotaion.js","sources":["webpack://@visactor/vseed/./src/types/properties/config/annotation/zAnnotaion.ts"],"sourcesContent":["import { z } from 'zod'\nimport { zAnnotationPoint } from '../../annotation/zAnnotationPoint'\nimport { zAnnotationHorizontalLine } from '../../annotation/zAnnotationHorizontalLine'\nimport { zAnnotationArea } from '../../annotation/zAnnotationArea'\n\nexport const zAnnotationPointConfig = zAnnotationPoint.omit({ selector: true, text: true }).partial()\n\n// Use pick to explicitly list fields we want to expose in config variants.\nexport const zAnnotationHorizontalLineConfig = zAnnotationHorizontalLine\n .pick({\n // only pick fields that exist on the runtime schema\n lineColor: true,\n lineWidth: true,\n lineVisible: true,\n lineStyle: true,\n\n textBackgroundVisible: true,\n textColor: true,\n textFontSize: true,\n textFontWeight: true,\n textBackgroundColor: true,\n textBackgroundBorderColor: true,\n textBackgroundBorderWidth: true,\n textBackgroundBorderRadius: true,\n textBackgroundPadding: true,\n })\n // extend with additional config-only fields that runtime schema doesn't include\n .extend({\n endSymbolVisible: z.boolean().nullish(),\n endSymbolType: z.string().nullish(),\n endSymbolSize: z.number().nullish(),\n\n startSymbolVisible: z.boolean().nullish(),\n startSymbolType: z.string().nullish(),\n startSymbolSize: z.number().nullish(),\n })\n .partial()\n\nexport const zAnnotationVerticalLineConfig = zAnnotationHorizontalLineConfig.clone()\n\nexport const zAnnotationAreaConfig = zAnnotationArea\n .pick({\n textColor: true,\n textFontSize: true,\n textFontWeight: true,\n\n textBackgroundVisible: true,\n textBackgroundColor: true,\n textBackgroundBorderColor: true,\n textBackgroundBorderWidth: true,\n textBackgroundBorderRadius: true,\n textBackgroundPadding: true,\n\n areaColor: true,\n areaColorOpacity: true,\n areaBorderColor: true,\n areaBorderWidth: true,\n areaBorderRadius: true,\n areaLineDash: true,\n\n outerPadding: true,\n })\n .partial()\n\nexport const zAnnotaionConfig = z.object({\n annotationPoint: zAnnotationPointConfig.nullish(),\n annotationHorizontalLine: zAnnotationHorizontalLineConfig.nullish(),\n annotationVerticalLine: zAnnotationVerticalLineConfig.nullish(),\n annotationArea: zAnnotationAreaConfig.nullish(),\n})\n"],"names":["zAnnotationPointConfig","zAnnotationPoint","zAnnotationHorizontalLineConfig","zAnnotationHorizontalLine","z","zAnnotationVerticalLineConfig","zAnnotationAreaConfig","zAnnotationArea","zAnnotaionConfig"],"mappings":";;;;AAKO,MAAMA,yBAAyBC,iBAAiB,IAAI,CAAC;IAAE,UAAU;IAAM,MAAM;AAAK,GAAG,OAAO;AAG5F,MAAMC,kCAAkCC,0BAAAA,IACxC,CAAC;IAEJ,WAAW;IACX,WAAW;IACX,aAAa;IACb,WAAW;IAEX,uBAAuB;IACvB,WAAW;IACX,cAAc;IACd,gBAAgB;IAChB,qBAAqB;IACrB,2BAA2B;IAC3B,2BAA2B;IAC3B,4BAA4B;IAC5B,uBAAuB;AACzB,GAEC,MAAM,CAAC;IACN,kBAAkBC,EAAE,OAAO,GAAG,OAAO;IACrC,eAAeA,EAAE,MAAM,GAAG,OAAO;IACjC,eAAeA,EAAE,MAAM,GAAG,OAAO;IAEjC,oBAAoBA,EAAE,OAAO,GAAG,OAAO;IACvC,iBAAiBA,EAAE,MAAM,GAAG,OAAO;IACnC,iBAAiBA,EAAE,MAAM,GAAG,OAAO;AACrC,GACC,OAAO;AAEH,MAAMC,gCAAgCH,gCAAgC,KAAK;AAE3E,MAAMI,wBAAwBC,gBAAAA,IAC9B,CAAC;IACJ,WAAW;IACX,cAAc;IACd,gBAAgB;IAEhB,uBAAuB;IACvB,qBAAqB;IACrB,2BAA2B;IAC3B,2BAA2B;IAC3B,4BAA4B;IAC5B,uBAAuB;IAEvB,WAAW;IACX,kBAAkB;IAClB,iBAAiB;IACjB,iBAAiB;IACjB,kBAAkB;IAClB,cAAc;IAEd,cAAc;AAChB,GACC,OAAO;AAEH,MAAMC,mBAAmBJ,EAAE,MAAM,CAAC;IACvC,iBAAiBJ,uBAAuB,OAAO;IAC/C,0BAA0BE,gCAAgC,OAAO;IACjE,wBAAwBG,8BAA8B,OAAO;IAC7D,gBAAgBC,sBAAsB,OAAO;AAC/C"}
1
+ {"version":3,"file":"types/properties/config/annotation/zAnnotaion.js","sources":["webpack://@visactor/vseed/./src/types/properties/config/annotation/zAnnotaion.ts"],"sourcesContent":["import { z } from 'zod'\nimport { zAnnotationPoint } from '../../annotation/zAnnotationPoint'\nimport { zAnnotationHorizontalLine } from '../../annotation/zAnnotationHorizontalLine'\nimport { zAnnotationArea } from '../../annotation/zAnnotationArea'\n\nexport const zAnnotationPointConfig = zAnnotationPoint.omit({ selector: true, text: true }).partial()\n\n// Use pick to explicitly list fields we want to expose in config variants.\nexport const zAnnotationHorizontalLineConfig = zAnnotationHorizontalLine\n .pick({\n // only pick fields that exist on the runtime schema\n lineColor: true,\n lineWidth: true,\n lineVisible: true,\n lineStyle: true,\n\n textBackgroundVisible: true,\n textColor: true,\n textFontSize: true,\n textFontWeight: true,\n textBackgroundColor: true,\n textBackgroundBorderColor: true,\n textBackgroundBorderWidth: true,\n textBackgroundBorderRadius: true,\n textBackgroundPadding: true,\n })\n // extend with additional config-only fields that runtime schema doesn't include\n .extend({\n endSymbolVisible: z.boolean().nullish(),\n endSymbolType: z.string().nullish(),\n endSymbolSize: z.number().nullish(),\n\n startSymbolVisible: z.boolean().nullish(),\n startSymbolType: z.string().nullish(),\n startSymbolSize: z.number().nullish(),\n })\n .partial()\n\nexport const zAnnotationVerticalLineConfig = zAnnotationHorizontalLineConfig.clone()\n\nexport const zAnnotationAreaConfig = zAnnotationArea\n .pick({\n textColor: true,\n textFontSize: true,\n textFontWeight: true,\n\n textBackgroundVisible: true,\n textBackgroundColor: true,\n textBackgroundBorderColor: true,\n textBackgroundBorderWidth: true,\n textBackgroundBorderRadius: true,\n textBackgroundPadding: true,\n\n areaColor: true,\n areaColorOpacity: true,\n areaBorderColor: true,\n areaBorderWidth: true,\n areaBorderRadius: true,\n areaLineDash: true,\n\n outerPadding: true,\n })\n .partial()\n\nexport const zAnnotationConfig = z.object({\n annotationPoint: zAnnotationPointConfig.nullish(),\n annotationHorizontalLine: zAnnotationHorizontalLineConfig.nullish(),\n annotationVerticalLine: zAnnotationVerticalLineConfig.nullish(),\n annotationArea: zAnnotationAreaConfig.nullish(),\n})\n"],"names":["zAnnotationPointConfig","zAnnotationPoint","zAnnotationHorizontalLineConfig","zAnnotationHorizontalLine","z","zAnnotationVerticalLineConfig","zAnnotationAreaConfig","zAnnotationArea","zAnnotationConfig"],"mappings":";;;;AAKO,MAAMA,yBAAyBC,iBAAiB,IAAI,CAAC;IAAE,UAAU;IAAM,MAAM;AAAK,GAAG,OAAO;AAG5F,MAAMC,kCAAkCC,0BAAAA,IACxC,CAAC;IAEJ,WAAW;IACX,WAAW;IACX,aAAa;IACb,WAAW;IAEX,uBAAuB;IACvB,WAAW;IACX,cAAc;IACd,gBAAgB;IAChB,qBAAqB;IACrB,2BAA2B;IAC3B,2BAA2B;IAC3B,4BAA4B;IAC5B,uBAAuB;AACzB,GAEC,MAAM,CAAC;IACN,kBAAkBC,EAAE,OAAO,GAAG,OAAO;IACrC,eAAeA,EAAE,MAAM,GAAG,OAAO;IACjC,eAAeA,EAAE,MAAM,GAAG,OAAO;IAEjC,oBAAoBA,EAAE,OAAO,GAAG,OAAO;IACvC,iBAAiBA,EAAE,MAAM,GAAG,OAAO;IACnC,iBAAiBA,EAAE,MAAM,GAAG,OAAO;AACrC,GACC,OAAO;AAEH,MAAMC,gCAAgCH,gCAAgC,KAAK;AAE3E,MAAMI,wBAAwBC,gBAAAA,IAC9B,CAAC;IACJ,WAAW;IACX,cAAc;IACd,gBAAgB;IAEhB,uBAAuB;IACvB,qBAAqB;IACrB,2BAA2B;IAC3B,2BAA2B;IAC3B,4BAA4B;IAC5B,uBAAuB;IAEvB,WAAW;IACX,kBAAkB;IAClB,iBAAiB;IACjB,iBAAiB;IACjB,kBAAkB;IAClB,cAAc;IAEd,cAAc;AAChB,GACC,OAAO;AAEH,MAAMC,oBAAoBJ,EAAE,MAAM,CAAC;IACxC,iBAAiBJ,uBAAuB,OAAO;IAC/C,0BAA0BE,gCAAgC,OAAO;IACjE,wBAAwBG,8BAA8B,OAAO;IAC7D,gBAAgBC,sBAAsB,OAAO;AAC/C"}