@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.
- package/dist/cjs/index.cjs +2 -2
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/esm/builder/builder/builder.d.ts +1189 -3271
- package/dist/esm/pipeline/advanced/chart/pipes/config/column.d.ts +2 -0
- package/dist/esm/pipeline/advanced/chart/pipes/config/column.js +31 -0
- package/dist/esm/pipeline/advanced/chart/pipes/config/column.js.map +1 -0
- package/dist/esm/pipeline/advanced/chart/pipes/config/index.d.ts +19 -3
- package/dist/esm/pipeline/advanced/chart/pipes/config/index.js +21 -3
- package/dist/esm/pipeline/advanced/chart/pipes/config/index.js.map +1 -0
- package/dist/esm/pipeline/advanced/chart/pipes/config/line.d.ts +2 -0
- package/dist/esm/pipeline/advanced/chart/pipes/config/line.js +30 -0
- package/dist/esm/pipeline/advanced/chart/pipes/config/line.js.map +1 -0
- package/dist/esm/pipeline/advanced/chart/pipes/config/pie.d.ts +2 -0
- package/dist/esm/pipeline/advanced/chart/pipes/config/pie.js +27 -0
- package/dist/esm/pipeline/advanced/chart/pipes/config/pie.js.map +1 -0
- package/dist/esm/pipeline/spec/chart/pipeline/funnel.js +3 -1
- package/dist/esm/pipeline/spec/chart/pipeline/funnel.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipeline/heatmap.js +2 -2
- package/dist/esm/pipeline/spec/chart/pipeline/heatmap.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/init/funnel.js +0 -3
- package/dist/esm/pipeline/spec/chart/pipes/init/funnel.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/label/label.js +5 -4
- package/dist/esm/pipeline/spec/chart/pipes/label/label.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/legend/discreteLegend.js +26 -11
- package/dist/esm/pipeline/spec/chart/pipes/legend/discreteLegend.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/legend/heatmapColorLegend.d.ts +2 -0
- package/dist/esm/pipeline/spec/chart/pipes/legend/heatmapColorLegend.js +19 -0
- package/dist/esm/pipeline/spec/chart/pipes/legend/heatmapColorLegend.js.map +1 -0
- package/dist/esm/pipeline/spec/chart/pipes/legend/index.d.ts +1 -0
- package/dist/esm/pipeline/spec/chart/pipes/legend/index.js +2 -1
- package/dist/esm/pipeline/spec/chart/pipes/markStyle/cellStyle.js +8 -3
- package/dist/esm/pipeline/spec/chart/pipes/markStyle/cellStyle.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/markStyle/funnelStyle.js +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/markStyle/funnelStyle.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/markStyle/funnelTransformStyle.d.ts +2 -0
- package/dist/esm/pipeline/spec/chart/pipes/markStyle/funnelTransformStyle.js +22 -0
- package/dist/esm/pipeline/spec/chart/pipes/markStyle/funnelTransformStyle.js.map +1 -0
- package/dist/esm/pipeline/spec/chart/pipes/markStyle/index.d.ts +1 -0
- package/dist/esm/pipeline/spec/chart/pipes/markStyle/index.js +2 -1
- package/dist/esm/pipeline/spec/chart/pipes/pivotChart/pivotColumnDimensions.js +0 -1
- package/dist/esm/pipeline/spec/chart/pipes/pivotChart/pivotColumnDimensions.js.map +1 -1
- package/dist/esm/pipeline/utils/constant.d.ts +1 -0
- package/dist/esm/pipeline/utils/constant.js +2 -1
- package/dist/esm/pipeline/utils/constant.js.map +1 -1
- package/dist/esm/theme/common/funnelTransform.d.ts +3 -0
- package/dist/esm/theme/common/funnelTransform.js +11 -0
- package/dist/esm/theme/common/funnelTransform.js.map +1 -0
- package/dist/esm/theme/common/heatmapCell.d.ts +3 -0
- package/dist/esm/theme/common/heatmapCell.js +9 -0
- package/dist/esm/theme/common/heatmapCell.js.map +1 -0
- package/dist/esm/theme/common/table.d.ts +47 -5
- package/dist/esm/theme/common/table.js.map +1 -1
- package/dist/esm/theme/dark/dark.js +4 -0
- package/dist/esm/theme/dark/dark.js.map +1 -1
- package/dist/esm/theme/light/light.js +4 -0
- package/dist/esm/theme/light/light.js.map +1 -1
- package/dist/esm/types/advancedVSeed.d.ts +160 -958
- package/dist/esm/types/properties/config/annotation/zAnnotaion.d.ts +1 -1
- package/dist/esm/types/properties/config/annotation/zAnnotaion.js +2 -2
- package/dist/esm/types/properties/config/annotation/zAnnotaion.js.map +1 -1
- package/dist/esm/types/properties/config/area.d.ts +647 -0
- package/dist/esm/types/properties/config/area.js +26 -0
- package/dist/esm/types/properties/config/area.js.map +1 -0
- package/dist/esm/types/properties/config/axes/bandAxis.d.ts +149 -1
- package/dist/esm/types/properties/config/axes/linearAxis.d.ts +151 -1
- package/dist/esm/types/properties/config/bar.d.ts +970 -0
- package/dist/esm/types/properties/config/bar.js +29 -0
- package/dist/esm/types/properties/config/bar.js.map +1 -0
- package/dist/esm/types/properties/config/column.d.ts +970 -0
- package/dist/esm/types/properties/config/column.js +29 -0
- package/dist/esm/types/properties/config/column.js.map +1 -0
- package/dist/esm/types/properties/config/config.d.ts +138 -5667
- package/dist/esm/types/properties/config/config.js +13 -142
- package/dist/esm/types/properties/config/config.js.map +1 -1
- package/dist/esm/types/properties/config/dualAxis.d.ts +566 -0
- package/dist/esm/types/properties/config/dualAxis.js +29 -0
- package/dist/esm/types/properties/config/dualAxis.js.map +1 -0
- package/dist/esm/types/properties/config/funnel.d.ts +124 -0
- package/dist/esm/types/properties/config/funnel.js +20 -0
- package/dist/esm/types/properties/config/funnel.js.map +1 -0
- package/dist/esm/types/properties/config/funnelTransform/funnelTransform.d.ts +13 -0
- package/dist/esm/types/properties/config/funnelTransform/funnelTransform.js +0 -0
- package/dist/esm/types/properties/config/funnelTransform/index.d.ts +2 -0
- package/dist/esm/types/properties/config/funnelTransform/index.js +1 -0
- package/dist/esm/types/properties/config/funnelTransform/zFunnelTransform.d.ts +5 -0
- package/dist/esm/types/properties/config/funnelTransform/zFunnelTransform.js +8 -0
- package/dist/esm/types/properties/config/funnelTransform/zFunnelTransform.js.map +1 -0
- package/dist/esm/types/properties/config/heatmap/heatmap.d.ts +17 -0
- package/dist/esm/types/properties/config/heatmap/heatmap.js +0 -0
- package/dist/esm/types/properties/config/heatmap/index.d.ts +2 -0
- package/dist/esm/types/properties/config/heatmap/index.js +1 -0
- package/dist/esm/types/properties/config/heatmap/zHeatmap.d.ts +6 -0
- package/dist/esm/types/properties/config/heatmap/zHeatmap.js +9 -0
- package/dist/esm/types/properties/config/heatmap/zHeatmap.js.map +1 -0
- package/dist/esm/types/properties/config/heatmap.d.ts +125 -0
- package/dist/esm/types/properties/config/heatmap.js +20 -0
- package/dist/esm/types/properties/config/heatmap.js.map +1 -0
- package/dist/esm/types/properties/config/index.d.ts +17 -2
- package/dist/esm/types/properties/config/index.js +17 -2
- package/dist/esm/types/properties/config/line.d.ts +324 -0
- package/dist/esm/types/properties/config/line.js +25 -0
- package/dist/esm/types/properties/config/line.js.map +1 -0
- package/dist/esm/types/properties/config/pie.d.ts +364 -0
- package/dist/esm/types/properties/config/pie.js +21 -0
- package/dist/esm/types/properties/config/pie.js.map +1 -0
- package/dist/esm/types/properties/config/pivotGrid/index.d.ts +2 -0
- package/dist/esm/types/properties/config/pivotGrid/index.js +2 -0
- package/dist/esm/types/properties/config/pivotGrid/pivotGrid.d.ts +10 -0
- package/dist/esm/types/properties/config/pivotGrid/pivotGrid.js +12 -0
- package/dist/esm/types/properties/config/pivotGrid/pivotGrid.js.map +1 -0
- package/dist/esm/types/properties/config/pivotTable.d.ts +18 -0
- package/dist/esm/types/properties/config/pivotTable.js +5 -0
- package/dist/esm/types/properties/config/pivotTable.js.map +1 -0
- package/dist/esm/types/properties/config/rose.d.ts +241 -0
- package/dist/esm/types/properties/config/rose.js +19 -0
- package/dist/esm/types/properties/config/rose.js.map +1 -0
- package/dist/esm/types/properties/config/scatter.d.ts +357 -0
- package/dist/esm/types/properties/config/scatter.js +27 -0
- package/dist/esm/types/properties/config/scatter.js.map +1 -0
- package/dist/esm/types/properties/config/table.d.ts +18 -0
- package/dist/esm/types/properties/config/table.js +21 -0
- package/dist/esm/types/properties/config/table.js.map +1 -0
- package/dist/esm/types/properties/theme/customTheme.d.ts +161 -959
- package/dist/umd/index.js +241 -137
- package/dist/umd/index.js.map +1 -1
- package/package.json +3 -3
- package/dist/esm/pipeline/advanced/chart/pipes/config/config.d.ts +0 -17
- package/dist/esm/pipeline/advanced/chart/pipes/config/config.js +0 -89
- 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
|
|
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
|
|
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 {
|
|
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
|
|
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"}
|