@visactor/vseed 0.0.11 → 0.0.13

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 (69) hide show
  1. package/dist/builder/builder/builder.d.ts +4339 -477
  2. package/dist/builder/register/theme.d.ts +4 -1
  3. package/dist/dataSelector/selector.d.ts +1 -1
  4. package/dist/i18n/i18n.d.ts +17 -0
  5. package/dist/i18n/index.d.ts +1 -0
  6. package/dist/index.cjs +1064 -190
  7. package/dist/index.cjs.map +1 -1
  8. package/dist/index.d.ts +1 -0
  9. package/dist/index.js +1015 -183
  10. package/dist/index.js.map +1 -1
  11. package/dist/pipeline/advanced/pipes/config/config.d.ts +3 -3
  12. package/dist/pipeline/advanced/pipes/i18n/index.d.ts +1 -0
  13. package/dist/pipeline/advanced/pipes/i18n/locale.d.ts +2 -0
  14. package/dist/pipeline/advanced/pipes/index.d.ts +1 -0
  15. package/dist/pipeline/constant.d.ts +2 -0
  16. package/dist/pipeline/spec/pipes/crosshair/horizontalCrosshairRect.d.ts +2 -0
  17. package/dist/pipeline/spec/pipes/crosshair/index.d.ts +3 -0
  18. package/dist/pipeline/spec/pipes/crosshair/verticalCrosshairLine.d.ts +2 -0
  19. package/dist/pipeline/spec/pipes/crosshair/verticalCrosshairRect.d.ts +2 -0
  20. package/dist/pipeline/spec/pipes/index.d.ts +1 -0
  21. package/dist/pipeline/spec/pipes/markStyle/areaStyle.d.ts +2 -0
  22. package/dist/pipeline/spec/pipes/markStyle/index.d.ts +3 -0
  23. package/dist/pipeline/spec/pipes/markStyle/lineStyle.d.ts +2 -0
  24. package/dist/pipeline/spec/pipes/markStyle/pointStyle.d.ts +2 -0
  25. package/dist/pipeline/spec/pipes/stack/index.d.ts +1 -0
  26. package/dist/pipeline/spec/pipes/stack/stackCornerRadius.d.ts +2 -0
  27. package/dist/pipeline/utils/chatType.d.ts +16 -16
  28. package/dist/pipeline/utils/format/createFormatter.d.ts +3 -0
  29. package/dist/pipeline/utils/format/createNumFormatter.d.ts +3 -0
  30. package/dist/pipeline/utils/format/index.d.ts +2 -0
  31. package/dist/pipeline/utils/index.d.ts +4 -2
  32. package/dist/pipeline/utils/measures/findMeasureById.d.ts +2 -0
  33. package/dist/pipeline/utils/measures/index.d.ts +1 -0
  34. package/dist/types/advancedVSeed.d.ts +2445 -320
  35. package/dist/types/chartType/area/area.d.ts +40 -1
  36. package/dist/types/chartType/areaPercent/areaPercent.d.ts +43 -4
  37. package/dist/types/chartType/bar/bar.d.ts +20 -2
  38. package/dist/types/chartType/barParallel/barParallel.d.ts +20 -2
  39. package/dist/types/chartType/barPercent/barPercent.d.ts +20 -2
  40. package/dist/types/chartType/column/column.d.ts +20 -2
  41. package/dist/types/chartType/columnParallel/columnParallel.d.ts +20 -2
  42. package/dist/types/chartType/columnPercent/columnPercent.d.ts +20 -2
  43. package/dist/types/chartType/donut/donut.d.ts +7 -0
  44. package/dist/types/chartType/dualAxis/dualAxis.d.ts +7 -0
  45. package/dist/types/chartType/line/line.d.ts +34 -4
  46. package/dist/types/chartType/pie/pie.d.ts +7 -0
  47. package/dist/types/chartType/pivotTable/pivotTable.d.ts +7 -0
  48. package/dist/types/chartType/rose/rose.d.ts +7 -0
  49. package/dist/types/chartType/table/table.d.ts +7 -0
  50. package/dist/types/i18n/i18n.d.ts +9 -0
  51. package/dist/types/i18n/index.d.ts +1 -0
  52. package/dist/types/index.d.ts +1 -0
  53. package/dist/types/properties/config/config.d.ts +105 -36
  54. package/dist/types/properties/config/crosshair.d.ts +17 -0
  55. package/dist/types/properties/config/index.d.ts +2 -0
  56. package/dist/types/properties/config/stackCornerRadius.d.ts +3 -0
  57. package/dist/types/properties/markStyle/areaStyle.d.ts +129 -0
  58. package/dist/types/properties/markStyle/index.d.ts +3 -0
  59. package/dist/types/properties/markStyle/lineStyle.d.ts +160 -0
  60. package/dist/types/properties/markStyle/markStyle.d.ts +543 -2
  61. package/dist/types/properties/markStyle/pointStyle.d.ts +168 -0
  62. package/dist/types/properties/measures/format/formatter.d.ts +1 -0
  63. package/dist/types/properties/measures/format/index.d.ts +2 -0
  64. package/dist/types/properties/measures/format/numFormat.d.ts +20 -0
  65. package/dist/types/properties/measures/index.d.ts +2 -2
  66. package/dist/types/properties/measures/measures.d.ts +40 -40
  67. package/dist/types/properties/theme/customTheme.d.ts +3094 -72
  68. package/dist/types/vseed.d.ts +29 -25
  69. package/package.json +1 -1
@@ -34,7 +34,7 @@ export declare const zVSeed: z.ZodObject<{
34
34
  dualAxis: "dualAxis";
35
35
  }>;
36
36
  dataset: z.ZodArray<z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodAny>>;
37
- dimensions: z.ZodOptional<z.ZodArray<z.ZodObject<{
37
+ dimensions: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
38
38
  id: z.ZodString;
39
39
  alias: z.ZodOptional<z.ZodString>;
40
40
  visible: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
@@ -43,8 +43,8 @@ export declare const zVSeed: z.ZodObject<{
43
43
  rowDimension: "rowDimension";
44
44
  columnDimension: "columnDimension";
45
45
  }>;
46
- }, z.core.$strip>>>;
47
- measures: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
46
+ }, z.core.$strip>>>>;
47
+ measures: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
48
48
  id: z.ZodString;
49
49
  alias: z.ZodOptional<z.ZodString>;
50
50
  visible: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
@@ -53,49 +53,53 @@ export declare const zVSeed: z.ZodObject<{
53
53
  alias: z.ZodOptional<z.ZodString>;
54
54
  visible: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
55
55
  autoFormat: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
56
- format: z.ZodOptional<z.ZodObject<{
57
- type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
56
+ format: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodObject<{
57
+ type: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
58
58
  number: "number";
59
59
  percent: "percent";
60
60
  permille: "permille";
61
61
  }>>>;
62
- ratio: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
63
- symbol: z.ZodDefault<z.ZodOptional<z.ZodString>>;
64
- thousandSeparator: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
65
- decimalPlaces: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
66
- round: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
62
+ ratio: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
63
+ symbol: z.ZodOptional<z.ZodDefault<z.ZodString>>;
64
+ thousandSeparator: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
65
+ decimalPlaces: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
66
+ round: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
67
67
  round: "round";
68
68
  floor: "floor";
69
69
  ceil: "ceil";
70
70
  }>>>;
71
- prefix: z.ZodDefault<z.ZodOptional<z.ZodString>>;
72
- suffix: z.ZodDefault<z.ZodOptional<z.ZodString>>;
73
- }, z.core.$strip>>;
71
+ prefix: z.ZodOptional<z.ZodDefault<z.ZodString>>;
72
+ suffix: z.ZodOptional<z.ZodDefault<z.ZodString>>;
73
+ }, z.core.$strip>>>>;
74
74
  }, z.core.$strip>]>>>;
75
75
  }, z.core.$strip>, z.ZodObject<{
76
76
  id: z.ZodString;
77
77
  alias: z.ZodOptional<z.ZodString>;
78
78
  visible: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
79
79
  autoFormat: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
80
- format: z.ZodOptional<z.ZodObject<{
81
- type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
80
+ format: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodObject<{
81
+ type: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
82
82
  number: "number";
83
83
  percent: "percent";
84
84
  permille: "permille";
85
85
  }>>>;
86
- ratio: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
87
- symbol: z.ZodDefault<z.ZodOptional<z.ZodString>>;
88
- thousandSeparator: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
89
- decimalPlaces: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
90
- round: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
86
+ ratio: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
87
+ symbol: z.ZodOptional<z.ZodDefault<z.ZodString>>;
88
+ thousandSeparator: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
89
+ decimalPlaces: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
90
+ round: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
91
91
  round: "round";
92
92
  floor: "floor";
93
93
  ceil: "ceil";
94
94
  }>>>;
95
- prefix: z.ZodDefault<z.ZodOptional<z.ZodString>>;
96
- suffix: z.ZodDefault<z.ZodOptional<z.ZodString>>;
97
- }, z.core.$strip>>;
98
- }, z.core.$strip>]>>>;
99
- backgroundColor: z.ZodOptional<z.ZodDefault<z.ZodString>>;
95
+ prefix: z.ZodOptional<z.ZodDefault<z.ZodString>>;
96
+ suffix: z.ZodOptional<z.ZodDefault<z.ZodString>>;
97
+ }, z.core.$strip>>>>;
98
+ }, z.core.$strip>]>>>>;
99
+ backgroundColor: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodString>>>;
100
+ locale: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
101
+ "zh-CN": "zh-CN";
102
+ "en-US": "en-US";
103
+ }>>>;
100
104
  }, z.core.$strip>;
101
105
  export declare const VSeedJSONSchema: z.core.JSONSchema.JSONSchema;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@visactor/vseed",
3
- "version": "0.0.11",
3
+ "version": "0.0.13",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {