@visactor/vseed 0.1.32 → 0.1.34

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 (67) hide show
  1. package/dist/cjs/index.cjs +1 -1
  2. package/dist/cjs/index.cjs.map +1 -1
  3. package/dist/esm/builder/builder/builder.d.ts +275 -1237
  4. package/dist/esm/pipeline/spec/chart/pipeline/funnel.js +3 -1
  5. package/dist/esm/pipeline/spec/chart/pipeline/funnel.js.map +1 -1
  6. package/dist/esm/pipeline/spec/chart/pipes/annotation/annotationArea.js +7 -5
  7. package/dist/esm/pipeline/spec/chart/pipes/annotation/annotationArea.js.map +1 -1
  8. package/dist/esm/pipeline/spec/chart/pipes/annotation/annotationAreaBand.js +16 -5
  9. package/dist/esm/pipeline/spec/chart/pipes/annotation/annotationAreaBand.js.map +1 -1
  10. package/dist/esm/pipeline/spec/chart/pipes/init/funnel.js +0 -3
  11. package/dist/esm/pipeline/spec/chart/pipes/init/funnel.js.map +1 -1
  12. package/dist/esm/pipeline/spec/chart/pipes/markStyle/funnelStyle.js +1 -1
  13. package/dist/esm/pipeline/spec/chart/pipes/markStyle/funnelStyle.js.map +1 -1
  14. package/dist/esm/pipeline/spec/chart/pipes/markStyle/funnelTransformStyle.d.ts +2 -0
  15. package/dist/esm/pipeline/spec/chart/pipes/markStyle/funnelTransformStyle.js +22 -0
  16. package/dist/esm/pipeline/spec/chart/pipes/markStyle/funnelTransformStyle.js.map +1 -0
  17. package/dist/esm/pipeline/spec/chart/pipes/markStyle/index.d.ts +1 -0
  18. package/dist/esm/pipeline/spec/chart/pipes/markStyle/index.js +2 -1
  19. package/dist/esm/theme/common/annotaion.js +22 -14
  20. package/dist/esm/theme/common/annotaion.js.map +1 -1
  21. package/dist/esm/theme/common/axes.js +22 -6
  22. package/dist/esm/theme/common/axes.js.map +1 -1
  23. package/dist/esm/theme/common/crosshair.js +2 -2
  24. package/dist/esm/theme/common/crosshair.js.map +1 -1
  25. package/dist/esm/theme/common/funnelTransform.d.ts +3 -0
  26. package/dist/esm/theme/common/funnelTransform.js +11 -0
  27. package/dist/esm/theme/common/funnelTransform.js.map +1 -0
  28. package/dist/esm/theme/dark/dark.js +2 -0
  29. package/dist/esm/theme/dark/dark.js.map +1 -1
  30. package/dist/esm/theme/light/light.js +2 -0
  31. package/dist/esm/theme/light/light.js.map +1 -1
  32. package/dist/esm/types/advancedVSeed.d.ts +32 -404
  33. package/dist/esm/types/chartType/area/zArea.d.ts +2 -0
  34. package/dist/esm/types/chartType/areaPercent/zAreaPercent.d.ts +2 -0
  35. package/dist/esm/types/chartType/bar/zBar.d.ts +2 -0
  36. package/dist/esm/types/chartType/barParallel/zBarParallel.d.ts +2 -0
  37. package/dist/esm/types/chartType/barPercent/zBarPercent.d.ts +2 -0
  38. package/dist/esm/types/chartType/column/zColumn.d.ts +2 -0
  39. package/dist/esm/types/chartType/columnParallel/zColumnParallel.d.ts +2 -0
  40. package/dist/esm/types/chartType/columnPercent/zColumnPercent.d.ts +2 -0
  41. package/dist/esm/types/chartType/dualAxis/zDualAxis.d.ts +2 -0
  42. package/dist/esm/types/chartType/line/zLine.d.ts +2 -0
  43. package/dist/esm/types/chartType/scatter/zScatter.d.ts +2 -0
  44. package/dist/esm/types/properties/annotation/annotation.d.ts +2 -0
  45. package/dist/esm/types/properties/annotation/annotationArea.d.ts +5 -0
  46. package/dist/esm/types/properties/annotation/zAnnotationArea.d.ts +1 -0
  47. package/dist/esm/types/properties/annotation/zAnnotationArea.js +1 -0
  48. package/dist/esm/types/properties/annotation/zAnnotationArea.js.map +1 -1
  49. package/dist/esm/types/properties/config/annotation/annotation.d.ts +1 -1
  50. package/dist/esm/types/properties/config/annotation/zAnnotaion.d.ts +2 -0
  51. package/dist/esm/types/properties/config/annotation/zAnnotaion.js +1 -0
  52. package/dist/esm/types/properties/config/annotation/zAnnotaion.js.map +1 -1
  53. package/dist/esm/types/properties/config/config.d.ts +30 -404
  54. package/dist/esm/types/properties/config/config.js +10 -1
  55. package/dist/esm/types/properties/config/config.js.map +1 -1
  56. package/dist/esm/types/properties/config/funnelTransform/funntlTransform.d.ts +13 -0
  57. package/dist/esm/types/properties/config/funnelTransform/funntlTransform.js +0 -0
  58. package/dist/esm/types/properties/config/funnelTransform/index.d.ts +2 -0
  59. package/dist/esm/types/properties/config/funnelTransform/index.js +1 -0
  60. package/dist/esm/types/properties/config/funnelTransform/zFunnelTransform.d.ts +5 -0
  61. package/dist/esm/types/properties/config/funnelTransform/zFunnelTransform.js +8 -0
  62. package/dist/esm/types/properties/config/funnelTransform/zFunnelTransform.js.map +1 -0
  63. package/dist/esm/types/properties/theme/customTheme.d.ts +30 -404
  64. package/dist/esm/types/zVseed.d.ts +22 -0
  65. package/dist/umd/index.js +115 -37
  66. package/dist/umd/index.js.map +1 -1
  67. package/package.json +1 -1
@@ -1617,6 +1617,7 @@ export declare const zVSeed: z.ZodDiscriminatedUnion<[z.ZodObject<{
1617
1617
  areaBorderColor: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
1618
1618
  areaBorderWidth: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
1619
1619
  areaBorderRadius: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
1620
+ areaLineDash: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
1620
1621
  outerPadding: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
1621
1622
  }, z.core.$strip>>, z.ZodObject<{
1622
1623
  selector: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
@@ -1723,6 +1724,7 @@ export declare const zVSeed: z.ZodDiscriminatedUnion<[z.ZodObject<{
1723
1724
  areaBorderColor: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
1724
1725
  areaBorderWidth: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
1725
1726
  areaBorderRadius: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
1727
+ areaLineDash: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
1726
1728
  outerPadding: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
1727
1729
  }, z.core.$strip>]>>>;
1728
1730
  locale: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodEnum<{
@@ -2928,6 +2930,7 @@ export declare const zVSeed: z.ZodDiscriminatedUnion<[z.ZodObject<{
2928
2930
  areaBorderColor: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
2929
2931
  areaBorderWidth: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
2930
2932
  areaBorderRadius: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
2933
+ areaLineDash: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
2931
2934
  outerPadding: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
2932
2935
  }, z.core.$strip>>, z.ZodObject<{
2933
2936
  selector: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
@@ -3034,6 +3037,7 @@ export declare const zVSeed: z.ZodDiscriminatedUnion<[z.ZodObject<{
3034
3037
  areaBorderColor: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
3035
3038
  areaBorderWidth: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
3036
3039
  areaBorderRadius: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
3040
+ areaLineDash: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
3037
3041
  outerPadding: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
3038
3042
  }, z.core.$strip>]>>>;
3039
3043
  locale: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodEnum<{
@@ -4239,6 +4243,7 @@ export declare const zVSeed: z.ZodDiscriminatedUnion<[z.ZodObject<{
4239
4243
  areaBorderColor: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
4240
4244
  areaBorderWidth: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
4241
4245
  areaBorderRadius: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
4246
+ areaLineDash: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
4242
4247
  outerPadding: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
4243
4248
  }, z.core.$strip>>, z.ZodObject<{
4244
4249
  selector: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
@@ -4345,6 +4350,7 @@ export declare const zVSeed: z.ZodDiscriminatedUnion<[z.ZodObject<{
4345
4350
  areaBorderColor: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
4346
4351
  areaBorderWidth: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
4347
4352
  areaBorderRadius: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
4353
+ areaLineDash: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
4348
4354
  outerPadding: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
4349
4355
  }, z.core.$strip>]>>>;
4350
4356
  locale: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodEnum<{
@@ -5550,6 +5556,7 @@ export declare const zVSeed: z.ZodDiscriminatedUnion<[z.ZodObject<{
5550
5556
  areaBorderColor: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
5551
5557
  areaBorderWidth: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
5552
5558
  areaBorderRadius: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
5559
+ areaLineDash: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
5553
5560
  outerPadding: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
5554
5561
  }, z.core.$strip>>, z.ZodObject<{
5555
5562
  selector: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
@@ -5656,6 +5663,7 @@ export declare const zVSeed: z.ZodDiscriminatedUnion<[z.ZodObject<{
5656
5663
  areaBorderColor: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
5657
5664
  areaBorderWidth: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
5658
5665
  areaBorderRadius: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
5666
+ areaLineDash: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
5659
5667
  outerPadding: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
5660
5668
  }, z.core.$strip>]>>>;
5661
5669
  locale: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodEnum<{
@@ -6861,6 +6869,7 @@ export declare const zVSeed: z.ZodDiscriminatedUnion<[z.ZodObject<{
6861
6869
  areaBorderColor: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
6862
6870
  areaBorderWidth: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
6863
6871
  areaBorderRadius: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
6872
+ areaLineDash: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
6864
6873
  outerPadding: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
6865
6874
  }, z.core.$strip>>, z.ZodObject<{
6866
6875
  selector: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
@@ -6967,6 +6976,7 @@ export declare const zVSeed: z.ZodDiscriminatedUnion<[z.ZodObject<{
6967
6976
  areaBorderColor: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
6968
6977
  areaBorderWidth: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
6969
6978
  areaBorderRadius: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
6979
+ areaLineDash: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
6970
6980
  outerPadding: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
6971
6981
  }, z.core.$strip>]>>>;
6972
6982
  locale: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodEnum<{
@@ -8172,6 +8182,7 @@ export declare const zVSeed: z.ZodDiscriminatedUnion<[z.ZodObject<{
8172
8182
  areaBorderColor: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
8173
8183
  areaBorderWidth: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
8174
8184
  areaBorderRadius: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
8185
+ areaLineDash: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
8175
8186
  outerPadding: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
8176
8187
  }, z.core.$strip>>, z.ZodObject<{
8177
8188
  selector: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
@@ -8278,6 +8289,7 @@ export declare const zVSeed: z.ZodDiscriminatedUnion<[z.ZodObject<{
8278
8289
  areaBorderColor: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
8279
8290
  areaBorderWidth: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
8280
8291
  areaBorderRadius: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
8292
+ areaLineDash: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
8281
8293
  outerPadding: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
8282
8294
  }, z.core.$strip>]>>>;
8283
8295
  locale: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodEnum<{
@@ -9483,6 +9495,7 @@ export declare const zVSeed: z.ZodDiscriminatedUnion<[z.ZodObject<{
9483
9495
  areaBorderColor: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
9484
9496
  areaBorderWidth: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
9485
9497
  areaBorderRadius: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
9498
+ areaLineDash: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
9486
9499
  outerPadding: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
9487
9500
  }, z.core.$strip>>, z.ZodObject<{
9488
9501
  selector: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
@@ -9589,6 +9602,7 @@ export declare const zVSeed: z.ZodDiscriminatedUnion<[z.ZodObject<{
9589
9602
  areaBorderColor: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
9590
9603
  areaBorderWidth: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
9591
9604
  areaBorderRadius: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
9605
+ areaLineDash: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
9592
9606
  outerPadding: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
9593
9607
  }, z.core.$strip>]>>>;
9594
9608
  locale: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodEnum<{
@@ -11110,6 +11124,7 @@ export declare const zVSeed: z.ZodDiscriminatedUnion<[z.ZodObject<{
11110
11124
  areaBorderColor: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
11111
11125
  areaBorderWidth: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
11112
11126
  areaBorderRadius: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
11127
+ areaLineDash: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
11113
11128
  outerPadding: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
11114
11129
  }, z.core.$strip>>, z.ZodObject<{
11115
11130
  selector: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
@@ -11216,6 +11231,7 @@ export declare const zVSeed: z.ZodDiscriminatedUnion<[z.ZodObject<{
11216
11231
  areaBorderColor: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
11217
11232
  areaBorderWidth: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
11218
11233
  areaBorderRadius: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
11234
+ areaLineDash: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
11219
11235
  outerPadding: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
11220
11236
  }, z.core.$strip>]>>>;
11221
11237
  locale: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodEnum<{
@@ -12737,6 +12753,7 @@ export declare const zVSeed: z.ZodDiscriminatedUnion<[z.ZodObject<{
12737
12753
  areaBorderColor: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
12738
12754
  areaBorderWidth: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
12739
12755
  areaBorderRadius: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
12756
+ areaLineDash: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
12740
12757
  outerPadding: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
12741
12758
  }, z.core.$strip>>, z.ZodObject<{
12742
12759
  selector: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
@@ -12843,6 +12860,7 @@ export declare const zVSeed: z.ZodDiscriminatedUnion<[z.ZodObject<{
12843
12860
  areaBorderColor: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
12844
12861
  areaBorderWidth: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
12845
12862
  areaBorderRadius: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
12863
+ areaLineDash: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
12846
12864
  outerPadding: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
12847
12865
  }, z.core.$strip>]>>>;
12848
12866
  locale: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodEnum<{
@@ -14380,6 +14398,7 @@ export declare const zVSeed: z.ZodDiscriminatedUnion<[z.ZodObject<{
14380
14398
  areaBorderColor: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
14381
14399
  areaBorderWidth: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
14382
14400
  areaBorderRadius: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
14401
+ areaLineDash: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
14383
14402
  outerPadding: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
14384
14403
  }, z.core.$strip>>, z.ZodObject<{
14385
14404
  selector: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
@@ -14486,6 +14505,7 @@ export declare const zVSeed: z.ZodDiscriminatedUnion<[z.ZodObject<{
14486
14505
  areaBorderColor: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
14487
14506
  areaBorderWidth: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
14488
14507
  areaBorderRadius: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
14508
+ areaLineDash: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
14489
14509
  outerPadding: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
14490
14510
  }, z.core.$strip>]>>>;
14491
14511
  locale: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodEnum<{
@@ -16697,6 +16717,7 @@ export declare const zVSeed: z.ZodDiscriminatedUnion<[z.ZodObject<{
16697
16717
  areaBorderColor: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
16698
16718
  areaBorderWidth: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
16699
16719
  areaBorderRadius: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
16720
+ areaLineDash: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
16700
16721
  outerPadding: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
16701
16722
  }, z.core.$strip>>, z.ZodObject<{
16702
16723
  selector: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
@@ -16803,6 +16824,7 @@ export declare const zVSeed: z.ZodDiscriminatedUnion<[z.ZodObject<{
16803
16824
  areaBorderColor: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
16804
16825
  areaBorderWidth: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
16805
16826
  areaBorderRadius: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
16827
+ areaLineDash: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
16806
16828
  outerPadding: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
16807
16829
  }, z.core.$strip>]>>>;
16808
16830
  locale: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodEnum<{
package/dist/umd/index.js CHANGED
@@ -3870,7 +3870,7 @@
3870
3870
  right: 'insideRight'
3871
3871
  };
3872
3872
  const markArea = annotationAreaList.flatMap((annotationArea)=>{
3873
- const { selector: selectorPoint, text = '', textPosition = 'top', textColor = theme?.textColor ?? '#ffffff', textFontSize = theme?.textFontSize ?? 12, textFontWeight = theme?.textFontWeight ?? 400, textAlign = 'center', textBaseline = 'top', textBackgroundVisible = theme?.textBackgroundVisible ?? true, textBackgroundColor = theme?.textBackgroundColor ?? '#191d24', textBackgroundBorderColor = theme?.textBackgroundBorderColor ?? '#191d24', textBackgroundBorderWidth = theme?.textBackgroundBorderWidth ?? 1, textBackgroundBorderRadius = theme?.textBackgroundBorderRadius ?? 4, textBackgroundPadding = theme?.textBackgroundPadding ?? 4, areaColor = theme?.areaColor ?? '#888888', areaColorOpacity = theme?.areaColorOpacity ?? 0.15, areaBorderColor = theme?.areaBorderColor ?? '#888888', areaBorderRadius = theme?.areaBorderRadius ?? 4, areaBorderWidth = theme?.areaBorderWidth ?? 1, outerPadding = theme?.outerPadding ?? 4 } = annotationArea;
3873
+ const { selector: selectorPoint, text = '', textPosition = 'top', textColor = theme?.textColor ?? '#ffffff', textFontSize = theme?.textFontSize ?? 12, textFontWeight = theme?.textFontWeight ?? 400, textAlign = 'center', textBaseline = 'top', textBackgroundVisible = theme?.textBackgroundVisible ?? true, textBackgroundColor = theme?.textBackgroundColor ?? '#191d24', textBackgroundBorderColor = theme?.textBackgroundBorderColor ?? '#191d24', textBackgroundBorderWidth = theme?.textBackgroundBorderWidth ?? 1, textBackgroundBorderRadius = theme?.textBackgroundBorderRadius ?? 4, textBackgroundPadding = theme?.textBackgroundPadding ?? 4, areaColor = theme?.areaColor ?? '#888888', areaColorOpacity = theme?.areaColorOpacity ?? 0.15, areaBorderColor = theme?.areaBorderColor ?? '#888888', areaBorderRadius = theme?.areaBorderRadius ?? 4, areaBorderWidth = theme?.areaBorderWidth ?? 1, areaLineDash = theme?.areaLineDash, outerPadding = theme?.outerPadding ?? 4 } = annotationArea;
3874
3874
  const dataset = advancedVSeed.dataset.flat();
3875
3875
  const selectedData = selectorPoint ? dataset.filter((datum)=>selector_selector(datum, selectorPoint)) : [];
3876
3876
  const labelPosition = positionMap[textPosition || 'top'];
@@ -3940,7 +3940,7 @@
3940
3940
  visible: true,
3941
3941
  text: text,
3942
3942
  style: {
3943
- dy: isBottom ? 2 * -(textFontSize || 12) : textFontSize,
3943
+ dy: isBottom ? 2 * -(textFontSize || 12) : 0,
3944
3944
  textAlign: textAlign,
3945
3945
  textBaseline: textBaseline,
3946
3946
  fill: textColor,
@@ -3953,11 +3953,12 @@
3953
3953
  visible: textBackgroundVisible,
3954
3954
  padding: textBackgroundPadding,
3955
3955
  style: {
3956
- dy: isBottom ? 2 * -(textFontSize || 12) : textFontSize,
3956
+ dy: isBottom ? 2 * -(textFontSize || 12) : 0,
3957
3957
  cornerRadius: textBackgroundBorderRadius ?? 4,
3958
3958
  fill: textBackgroundColor,
3959
3959
  stroke: textBackgroundBorderColor,
3960
- lineWidth: textBackgroundBorderWidth
3960
+ lineWidth: textBackgroundBorderWidth,
3961
+ fillOpacity: 1
3961
3962
  }
3962
3963
  }
3963
3964
  },
@@ -3968,7 +3969,8 @@
3968
3969
  fillOpacity: areaColorOpacity,
3969
3970
  stroke: areaBorderColor,
3970
3971
  lineWidth: areaBorderWidth,
3971
- cornerRadius: areaBorderRadius
3972
+ cornerRadius: areaBorderRadius,
3973
+ lineDash: areaLineDash
3972
3974
  }
3973
3975
  }
3974
3976
  };
@@ -4828,9 +4830,17 @@
4828
4830
  left: 'insideLeft',
4829
4831
  right: 'insideRight'
4830
4832
  };
4833
+ const defaultOptions = isBarLikeChart(advancedVSeed) ? {
4834
+ textPosition: 'right',
4835
+ textAlign: 'right'
4836
+ } : {
4837
+ textPosition: 'top',
4838
+ textAlign: 'center'
4839
+ };
4831
4840
  const markArea = annotationAreaList.flatMap((annotationArea)=>{
4832
- const { selector: selectorPoint, text = '', textPosition = 'top', textColor = theme?.textColor ?? '#ffffff', textFontSize = theme?.textFontSize ?? 12, textFontWeight = theme?.textFontWeight ?? 400, textAlign = 'center', textBaseline = 'top', textBackgroundVisible = theme?.textBackgroundVisible ?? true, textBackgroundColor = theme?.textBackgroundColor ?? '#191d24', textBackgroundBorderColor = theme?.textBackgroundBorderColor ?? '#191d24', textBackgroundBorderWidth = theme?.textBackgroundBorderWidth ?? 1, textBackgroundBorderRadius = theme?.textBackgroundBorderRadius ?? 4, textBackgroundPadding = theme?.textBackgroundPadding ?? 4, areaColor = theme?.areaColor ?? '#888888', areaColorOpacity = theme?.areaColorOpacity ?? 0.15, areaBorderColor = theme?.areaBorderColor ?? '#888888', areaBorderRadius = theme?.areaBorderRadius ?? 4, areaBorderWidth = theme?.areaBorderWidth ?? 1, outerPadding = theme?.outerPadding ?? 4 } = annotationArea;
4833
- const dy = textPosition?.includes('bottom') ? -1 * textFontSize : textFontSize;
4841
+ const { selector: selectorPoint, text = '', textColor = theme?.textColor ?? '#ffffff', textFontSize = theme?.textFontSize ?? 12, textFontWeight = theme?.textFontWeight ?? 400, textAlign = defaultOptions.textAlign, textBaseline = 'middle', textBackgroundVisible = theme?.textBackgroundVisible ?? true, textBackgroundColor = theme?.textBackgroundColor ?? '#191d24', textBackgroundBorderColor = theme?.textBackgroundBorderColor ?? '#191d24', textBackgroundBorderWidth = theme?.textBackgroundBorderWidth ?? 1, textBackgroundBorderRadius = theme?.textBackgroundBorderRadius ?? 4, textBackgroundPadding = theme?.textBackgroundPadding ?? 4, areaColor = theme?.areaColor ?? '#888888', areaColorOpacity = theme?.areaColorOpacity ?? 0.15, areaBorderColor = theme?.areaBorderColor ?? '#888888', areaBorderRadius = theme?.areaBorderRadius ?? 4, areaBorderWidth = theme?.areaBorderWidth ?? 1, areaLineDash = theme?.areaLineDash, outerPadding = theme?.outerPadding ?? 4 } = annotationArea;
4842
+ const textPosition = annotationArea.textPosition ?? defaultOptions.textPosition;
4843
+ const dy = textPosition.includes('bottom') ? -1 * textFontSize : 0;
4834
4844
  const dataset = advancedVSeed.dataset.flat();
4835
4845
  const selectedData = selectorPoint ? dataset.filter((datum)=>selector_selector(datum, selectorPoint)) : [];
4836
4846
  return {
@@ -4907,7 +4917,7 @@
4907
4917
  return [];
4908
4918
  },
4909
4919
  label: {
4910
- position: positionMap[textPosition || 'top'],
4920
+ position: positionMap[textPosition],
4911
4921
  visible: true,
4912
4922
  text: text,
4913
4923
  style: {
@@ -4928,7 +4938,8 @@
4928
4938
  cornerRadius: textBackgroundBorderRadius ?? 4,
4929
4939
  fill: textBackgroundColor,
4930
4940
  stroke: textBackgroundBorderColor,
4931
- lineWidth: textBackgroundBorderWidth
4941
+ lineWidth: textBackgroundBorderWidth,
4942
+ fillOpacity: 1
4932
4943
  }
4933
4944
  }
4934
4945
  },
@@ -4939,7 +4950,8 @@
4939
4950
  fillOpacity: areaColorOpacity,
4940
4951
  stroke: areaBorderColor,
4941
4952
  lineWidth: areaBorderWidth,
4942
- cornerRadius: areaBorderRadius
4953
+ cornerRadius: areaBorderRadius,
4954
+ lineDash: areaLineDash
4943
4955
  }
4944
4956
  }
4945
4957
  };
@@ -8763,9 +8775,6 @@
8763
8775
  clip: true
8764
8776
  }
8765
8777
  ];
8766
- result.transformLabel = {
8767
- visible: true
8768
- };
8769
8778
  result.animation = true;
8770
8779
  return result;
8771
8780
  };
@@ -8793,7 +8802,7 @@
8793
8802
  ...result,
8794
8803
  funnel: {
8795
8804
  style: {
8796
- cornerRadius: 4
8805
+ cornerRadius: 0
8797
8806
  },
8798
8807
  state: {
8799
8808
  hover: {
@@ -8803,6 +8812,25 @@
8803
8812
  }
8804
8813
  };
8805
8814
  };
8815
+ const funnelTransformStyle = (spec, context)=>{
8816
+ const { advancedVSeed, vseed } = context;
8817
+ const { chartType } = vseed;
8818
+ const config = advancedVSeed.config?.[chartType]?.transform;
8819
+ return {
8820
+ ...spec,
8821
+ transform: {
8822
+ style: {
8823
+ fill: config?.backgroundColor
8824
+ }
8825
+ },
8826
+ transformLabel: {
8827
+ visible: true,
8828
+ style: {
8829
+ fill: config?.textColor
8830
+ }
8831
+ }
8832
+ };
8833
+ };
8806
8834
  const funnel = [
8807
8835
  initFunnel,
8808
8836
  background_backgroundColor,
@@ -8811,6 +8839,7 @@
8811
8839
  label_label,
8812
8840
  colorAdapter(discreteLegend, colorLegend),
8813
8841
  colorFunnelStyleFill(funnelStyle),
8842
+ funnelTransformStyle,
8814
8843
  tooltip_tooltip,
8815
8844
  annotationPoint_annotationPoint,
8816
8845
  annotationVerticalLine_annotationVerticalLine,
@@ -8831,6 +8860,7 @@
8831
8860
  label_label,
8832
8861
  tooltip_tooltip,
8833
8862
  colorFunnelStyleFill(funnelStyle),
8863
+ funnelTransformStyle,
8834
8864
  annotationPoint_annotationPoint,
8835
8865
  annotationVerticalLine_annotationVerticalLine,
8836
8866
  annotationHorizontalLine_annotationHorizontalLine,
@@ -9167,8 +9197,8 @@
9167
9197
  visible: true,
9168
9198
  labelVisible: true,
9169
9199
  labelColor: '#ffffff',
9170
- labelBackgroundColor: '##21252C',
9171
- lineColor: '#000000'
9200
+ labelBackgroundColor: '#21252C',
9201
+ lineColor: '#21252C'
9172
9202
  });
9173
9203
  const getLightCrosshairRect = ()=>({
9174
9204
  visible: true,
@@ -9300,7 +9330,11 @@
9300
9330
  grid: {
9301
9331
  visible: true,
9302
9332
  gridColor: '#36415926',
9303
- gridWidth: 0.5
9333
+ gridWidth: 0.5,
9334
+ gridLineDash: [
9335
+ 4,
9336
+ 2
9337
+ ]
9304
9338
  },
9305
9339
  tick: {
9306
9340
  visible: false,
@@ -9342,7 +9376,11 @@
9342
9376
  grid: {
9343
9377
  visible: false,
9344
9378
  gridColor: '#36415926',
9345
- gridWidth: 0.5
9379
+ gridWidth: 0.5,
9380
+ gridLineDash: [
9381
+ 4,
9382
+ 2
9383
+ ]
9346
9384
  },
9347
9385
  tick: {
9348
9386
  visible: false,
@@ -9375,8 +9413,12 @@
9375
9413
  },
9376
9414
  grid: {
9377
9415
  visible: true,
9378
- gridColor: '#404349',
9379
- gridWidth: 0.5
9416
+ gridColor: '#303339',
9417
+ gridWidth: 0.5,
9418
+ gridLineDash: [
9419
+ 4,
9420
+ 2
9421
+ ]
9380
9422
  },
9381
9423
  tick: {
9382
9424
  visible: false,
@@ -9417,8 +9459,12 @@
9417
9459
  },
9418
9460
  grid: {
9419
9461
  visible: false,
9420
- gridColor: '#404349',
9421
- gridWidth: 0.5
9462
+ gridColor: '#303339',
9463
+ gridWidth: 0.5,
9464
+ gridLineDash: [
9465
+ 4,
9466
+ 2
9467
+ ]
9422
9468
  },
9423
9469
  tick: {
9424
9470
  visible: false,
@@ -9466,16 +9512,20 @@
9466
9512
  textFontSize: 12,
9467
9513
  textFontWeight: 400,
9468
9514
  textBackgroundVisible: true,
9469
- textBackgroundColor: '#364159',
9470
- textBackgroundBorderColor: '#3641594d',
9515
+ textBackgroundColor: '#BCC1CB',
9516
+ textBackgroundBorderColor: '#BCC1CB',
9471
9517
  textBackgroundBorderWidth: 1,
9472
- textBackgroundBorderRadius: 4,
9518
+ textBackgroundBorderRadius: 0,
9473
9519
  textBackgroundPadding: 4,
9474
- areaColor: '#364159',
9475
- areaColorOpacity: 0.15,
9476
- areaBorderColor: '#364159',
9477
- areaBorderWidth: 1,
9478
- areaBorderRadius: 4,
9520
+ areaColor: '#BCC1CB',
9521
+ areaColorOpacity: 0.12,
9522
+ areaBorderColor: '#BCC1CB',
9523
+ areaBorderWidth: 0,
9524
+ areaBorderRadius: 0,
9525
+ areaLineDash: [
9526
+ 2,
9527
+ 2
9528
+ ],
9479
9529
  outerPadding: 4
9480
9530
  });
9481
9531
  const getLightAnnotation = ()=>({
@@ -9512,20 +9562,24 @@
9512
9562
  });
9513
9563
  const getDarkAnnotationVerticalLine = ()=>getDarkAnnotationHorizontalLine();
9514
9564
  const getDarkAnnotationArea = ()=>({
9515
- textColor: '#4B4F54',
9565
+ textColor: '#E2E3E6',
9516
9566
  textFontSize: 12,
9517
9567
  textFontWeight: 400,
9518
9568
  textBackgroundVisible: true,
9519
- textBackgroundColor: '#ffffff',
9520
- textBackgroundBorderColor: '#ffffff',
9569
+ textBackgroundColor: '#55595F',
9570
+ textBackgroundBorderColor: '#55595F',
9521
9571
  textBackgroundBorderWidth: 1,
9522
- textBackgroundBorderRadius: 4,
9572
+ textBackgroundBorderRadius: 0,
9523
9573
  textBackgroundPadding: 4,
9524
9574
  areaColor: '#E2E3E6',
9525
9575
  areaColorOpacity: 0.15,
9526
9576
  areaBorderColor: '#E2E3E6',
9527
- areaBorderWidth: 1,
9528
- areaBorderRadius: 4,
9577
+ areaBorderWidth: 0,
9578
+ areaBorderRadius: 0,
9579
+ areaLineDash: [
9580
+ 2,
9581
+ 2
9582
+ ],
9529
9583
  outerPadding: 4
9530
9584
  });
9531
9585
  const getDarkAnnotation = ()=>({
@@ -9534,6 +9588,14 @@
9534
9588
  annotationVerticalLine: getDarkAnnotationVerticalLine(),
9535
9589
  annotationArea: getDarkAnnotationArea()
9536
9590
  });
9591
+ const getLightFunnelTransformTheme = ()=>({
9592
+ backgroundColor: '#F6F7F9',
9593
+ textColor: '#737880'
9594
+ });
9595
+ const getDarkFunnelTransformTheme = ()=>({
9596
+ backgroundColor: '#2A2D33',
9597
+ textColor: '#888C93'
9598
+ });
9537
9599
  const lightTheme = ()=>{
9538
9600
  const linearAxis = getLightLinearAxis();
9539
9601
  const bandAxis = getLightBandAxis();
@@ -9769,6 +9831,7 @@
9769
9831
  },
9770
9832
  funnel: {
9771
9833
  ...baseConfig,
9834
+ transform: getLightFunnelTransformTheme(),
9772
9835
  pivotGrid: getLightPivotChartGridConfig()
9773
9836
  },
9774
9837
  heatmap: {
@@ -10011,6 +10074,7 @@
10011
10074
  },
10012
10075
  funnel: {
10013
10076
  ...baseConfig,
10077
+ transform: getDarkFunnelTransformTheme(),
10014
10078
  pivotGrid: getDarkPivotChartGridConfig()
10015
10079
  },
10016
10080
  heatmap: {
@@ -14004,6 +14068,7 @@
14004
14068
  areaBorderColor: schemas_string().default('#888888').nullish(),
14005
14069
  areaBorderWidth: schemas_number().default(1).nullish(),
14006
14070
  areaBorderRadius: schemas_number().default(4).nullish(),
14071
+ areaLineDash: schemas_array(schemas_number()).nullish(),
14007
14072
  outerPadding: schemas_number().default(4).nullish()
14008
14073
  });
14009
14074
  const zAnnotationPointConfig = zAnnotationPoint.omit({
@@ -14048,6 +14113,7 @@
14048
14113
  areaBorderColor: true,
14049
14114
  areaBorderWidth: true,
14050
14115
  areaBorderRadius: true,
14116
+ areaLineDash: true,
14051
14117
  outerPadding: true
14052
14118
  }).partial();
14053
14119
  const zAnnotaionConfig = schemas_object({
@@ -14056,6 +14122,10 @@
14056
14122
  annotationVerticalLine: zAnnotationVerticalLineConfig.nullish(),
14057
14123
  annotationArea: zAnnotationAreaConfig.nullish()
14058
14124
  });
14125
+ const zFunnelTransform = schemas_object({
14126
+ backgroundColor: schemas_string().nullish(),
14127
+ textColor: schemas_string().nullish()
14128
+ });
14059
14129
  const zTableConfig = schemas_object({
14060
14130
  backgroundColor: zBackgroundColor.nullish(),
14061
14131
  borderColor: schemas_string().nullish(),
@@ -14185,7 +14255,15 @@
14185
14255
  });
14186
14256
  const zDonutConfig = zPieConfig;
14187
14257
  const zRadarConfig = zPieConfig;
14188
- const zFunnelConfig = zAreaConfig;
14258
+ const zFunnelConfig = schemas_object({
14259
+ backgroundColor: zBackgroundColor.nullish(),
14260
+ label: zLabel.nullish(),
14261
+ color: zColor.nullish(),
14262
+ tooltip: zTooltip.nullish(),
14263
+ legend: zLegend.nullish(),
14264
+ pivotGrid: zPivotChartGridConfig.nullish(),
14265
+ transform: zFunnelTransform.nullish()
14266
+ });
14189
14267
  const zHeatmapConfig = zAreaConfig;
14190
14268
  const zConfig = schemas_object({
14191
14269
  table: zTableConfig.nullish(),