@visactor/vseed 0.1.18 → 0.1.19
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 +1 -1
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/esm/builder/builder/builder.d.ts +108 -0
- package/dist/esm/pipeline/advanced/chart/pipes/reshape/pivotReshapeWithEncoding.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipeline/heatmap.js +0 -1
- package/dist/esm/pipeline/spec/chart/pipeline/heatmap.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/init/pivot.js +19 -1
- package/dist/esm/pipeline/spec/chart/pipes/init/pivot.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/label/label.js +4 -1
- package/dist/esm/pipeline/spec/chart/pipes/label/label.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/legend/colorLegend.js +1 -9
- package/dist/esm/pipeline/spec/chart/pipes/legend/colorLegend.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/legend/pivotColorLegend.js +1 -9
- package/dist/esm/pipeline/spec/chart/pipes/legend/pivotColorLegend.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/pivotChart/pivotGridStyle.js +93 -51
- package/dist/esm/pipeline/spec/chart/pipes/pivotChart/pivotGridStyle.js.map +1 -1
- package/dist/esm/pipeline/spec/table/pipes/init/pivotTable.js +1 -0
- package/dist/esm/pipeline/spec/table/pipes/init/pivotTable.js.map +1 -1
- package/dist/esm/pipeline/spec/table/pipes/init/table.js +1 -0
- package/dist/esm/pipeline/spec/table/pipes/init/table.js.map +1 -1
- package/dist/esm/pipeline/spec/table/pipes/theme/cornerHeaderStyle.js +7 -7
- package/dist/esm/pipeline/spec/table/pipes/theme/cornerHeaderStyle.js.map +1 -1
- package/dist/esm/pipeline/spec/table/pipes/theme/frameStyle.js +1 -1
- package/dist/esm/pipeline/spec/table/pipes/theme/frameStyle.js.map +1 -1
- package/dist/esm/pipeline/spec/table/pipes/theme/headerStyle.js +7 -7
- package/dist/esm/pipeline/spec/table/pipes/theme/headerStyle.js.map +1 -1
- package/dist/esm/pipeline/spec/table/pipes/theme/rowHeaderStyle.js +7 -7
- package/dist/esm/pipeline/spec/table/pipes/theme/rowHeaderStyle.js.map +1 -1
- package/dist/esm/theme/dark.js +8 -2
- package/dist/esm/theme/dark.js.map +1 -1
- package/dist/esm/theme/light.js +8 -2
- package/dist/esm/theme/light.js.map +1 -1
- package/dist/esm/types/advancedVSeed.d.ts +180 -0
- package/dist/esm/types/chartType/area/area.d.ts +1 -1
- package/dist/esm/types/chartType/area/zArea.d.ts +5 -5
- package/dist/esm/types/chartType/area/zArea.js +3 -1
- package/dist/esm/types/chartType/area/zArea.js.map +1 -1
- package/dist/esm/types/chartType/areaPercent/areaPercent.d.ts +1 -1
- package/dist/esm/types/chartType/areaPercent/zAreaPercent.d.ts +5 -5
- package/dist/esm/types/chartType/areaPercent/zAreaPercent.js +3 -1
- package/dist/esm/types/chartType/areaPercent/zAreaPercent.js.map +1 -1
- package/dist/esm/types/chartType/bar/bar.d.ts +1 -1
- package/dist/esm/types/chartType/bar/zBar.d.ts +5 -5
- package/dist/esm/types/chartType/bar/zBar.js +3 -1
- package/dist/esm/types/chartType/bar/zBar.js.map +1 -1
- package/dist/esm/types/chartType/barParallel/barParallel.d.ts +1 -1
- package/dist/esm/types/chartType/barParallel/zBarParallel.d.ts +5 -5
- package/dist/esm/types/chartType/barParallel/zBarParallel.js +3 -1
- package/dist/esm/types/chartType/barParallel/zBarParallel.js.map +1 -1
- package/dist/esm/types/chartType/barPercent/barPercent.d.ts +1 -1
- package/dist/esm/types/chartType/barPercent/zBarPercent.d.ts +5 -5
- package/dist/esm/types/chartType/barPercent/zBarPercent.js +3 -1
- package/dist/esm/types/chartType/barPercent/zBarPercent.js.map +1 -1
- package/dist/esm/types/chartType/column/column.d.ts +1 -1
- package/dist/esm/types/chartType/column/zColumn.d.ts +5 -5
- package/dist/esm/types/chartType/column/zColumn.js +3 -1
- package/dist/esm/types/chartType/column/zColumn.js.map +1 -1
- package/dist/esm/types/chartType/columnParallel/columnParallel.d.ts +1 -1
- package/dist/esm/types/chartType/columnParallel/zColumnParallel.d.ts +5 -5
- package/dist/esm/types/chartType/columnParallel/zColumnParallel.js +3 -1
- package/dist/esm/types/chartType/columnParallel/zColumnParallel.js.map +1 -1
- package/dist/esm/types/chartType/columnPercent/columnPercent.d.ts +1 -1
- package/dist/esm/types/chartType/columnPercent/zColumnPercent.d.ts +5 -5
- package/dist/esm/types/chartType/columnPercent/zColumnPercent.js +3 -1
- package/dist/esm/types/chartType/columnPercent/zColumnPercent.js.map +1 -1
- package/dist/esm/types/chartType/donut/zDonut.d.ts +5 -0
- package/dist/esm/types/chartType/dualAxis/dualAxis.d.ts +1 -1
- package/dist/esm/types/chartType/dualAxis/zDualAxis.d.ts +5 -5
- package/dist/esm/types/chartType/dualAxis/zDualAxis.js +3 -1
- package/dist/esm/types/chartType/dualAxis/zDualAxis.js.map +1 -1
- package/dist/esm/types/chartType/funnel/funnel.d.ts +1 -1
- package/dist/esm/types/chartType/funnel/zFunnel.d.ts +5 -5
- package/dist/esm/types/chartType/funnel/zFunnel.js +3 -1
- package/dist/esm/types/chartType/funnel/zFunnel.js.map +1 -1
- package/dist/esm/types/chartType/heatmap/heatmap.d.ts +1 -1
- package/dist/esm/types/chartType/heatmap/zHeatmap.d.ts +5 -5
- package/dist/esm/types/chartType/heatmap/zHeatmap.js +3 -1
- package/dist/esm/types/chartType/heatmap/zHeatmap.js.map +1 -1
- package/dist/esm/types/chartType/line/line.d.ts +1 -1
- package/dist/esm/types/chartType/line/zLine.d.ts +5 -5
- package/dist/esm/types/chartType/line/zLine.js +3 -1
- package/dist/esm/types/chartType/line/zLine.js.map +1 -1
- package/dist/esm/types/chartType/pie/zPie.d.ts +5 -0
- package/dist/esm/types/chartType/radar/radar.d.ts +1 -1
- package/dist/esm/types/chartType/radar/zRadar.d.ts +5 -5
- package/dist/esm/types/chartType/radar/zRadar.js +3 -1
- package/dist/esm/types/chartType/radar/zRadar.js.map +1 -1
- package/dist/esm/types/chartType/rose/rose.d.ts +1 -1
- package/dist/esm/types/chartType/rose/zRose.d.ts +5 -5
- package/dist/esm/types/chartType/rose/zRose.js +3 -1
- package/dist/esm/types/chartType/rose/zRose.js.map +1 -1
- package/dist/esm/types/chartType/roseParallel/roseParallel.d.ts +1 -1
- package/dist/esm/types/chartType/roseParallel/zRoseParallel.d.ts +5 -5
- package/dist/esm/types/chartType/roseParallel/zRoseParallel.js +3 -1
- package/dist/esm/types/chartType/roseParallel/zRoseParallel.js.map +1 -1
- package/dist/esm/types/chartType/scatter/scatter.d.ts +1 -1
- package/dist/esm/types/chartType/scatter/zScatter.d.ts +5 -5
- package/dist/esm/types/chartType/scatter/zScatter.js +3 -1
- package/dist/esm/types/chartType/scatter/zScatter.js.map +1 -1
- package/dist/esm/types/properties/config/config.d.ts +180 -0
- package/dist/esm/types/properties/config/label/label.d.ts +7 -0
- package/dist/esm/types/properties/config/label/zLabel.d.ts +5 -0
- package/dist/esm/types/properties/config/label/zLabel.js +6 -1
- package/dist/esm/types/properties/config/label/zLabel.js.map +1 -1
- package/dist/esm/types/properties/theme/customTheme.d.ts +180 -0
- package/dist/esm/types/zVseed.d.ts +90 -80
- package/dist/umd/index.js +212 -115
- package/dist/umd/index.js.map +1 -1
- package/package.json +2 -2
@@ -118,10 +118,6 @@ export declare const zArea: z.ZodObject<{
|
|
118
118
|
colorMapping: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
119
119
|
}, z.core.$strip>>>;
|
120
120
|
label: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
121
|
-
enable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
122
|
-
wrap: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
123
|
-
showValue: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
124
|
-
showValuePercent: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
125
121
|
autoFormat: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
126
122
|
numFormat: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
127
123
|
type: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
@@ -153,10 +149,14 @@ export declare const zArea: z.ZodObject<{
|
|
153
149
|
halfEven: "halfEven";
|
154
150
|
}>>>;
|
155
151
|
}, z.core.$strip>>>>;
|
152
|
+
labelColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
156
153
|
labelFontSize: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
157
154
|
labelFontWeight: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
|
158
155
|
labelBackgroundColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
159
|
-
|
156
|
+
enable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
157
|
+
wrap: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
158
|
+
showValue: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
159
|
+
showValuePercent: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
160
160
|
labelColorSmartInvert: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
161
161
|
labelPosition: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
162
162
|
labelOverlap: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
@@ -9,7 +9,9 @@ const zArea = z.object({
|
|
9
9
|
measures: zMeasureTree.nullish(),
|
10
10
|
backgroundColor: zBackgroundColor.nullish(),
|
11
11
|
color: zColor.nullish(),
|
12
|
-
label: zLabel.
|
12
|
+
label: zLabel.omit({
|
13
|
+
labelLayout: true
|
14
|
+
}).nullish(),
|
13
15
|
legend: zLegend.nullish(),
|
14
16
|
tooltip: zTooltip.nullish(),
|
15
17
|
xAxis: zXBandAxis.nullish(),
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"types/chartType/area/zArea.js","sources":["webpack://@visactor/vseed/./src/types/chartType/area/zArea.ts"],"sourcesContent":["import { z } from 'zod'\nimport { zLocale } from '../../i18n'\nimport {\n zAnnotationArea,\n zAnnotationHorizontalLine,\n zAnnotationPoint,\n zAnnotationVerticalLine,\n zAreaStyle,\n zBackgroundColor,\n zColor,\n zCrosshairLine,\n zDataset,\n zDimensions,\n zEncoding,\n zLabel,\n zLegend,\n zLineStyle,\n zMeasureTree,\n zPointStyle,\n zTheme,\n zTooltip,\n zXBandAxis,\n zYLinearAxis,\n} from '../../properties'\n\nexport const zArea = z.object({\n chartType: z.literal('area'),\n dataset: zDataset.nullish(),\n encoding: zEncoding.nullish(),\n dimensions: zDimensions.nullish(),\n measures: zMeasureTree.nullish(),\n backgroundColor: zBackgroundColor.nullish(),\n color: zColor.nullish(),\n label: zLabel.nullish(),\n legend: zLegend.nullish(),\n tooltip: zTooltip.nullish(),\n xAxis: zXBandAxis.nullish(),\n yAxis: zYLinearAxis.nullish(),\n crosshairLine: zCrosshairLine.nullish(),\n theme: zTheme.nullish(),\n pointStyle: z.array(zPointStyle).or(zPointStyle).nullish(),\n lineStyle: z.array(zLineStyle).or(zLineStyle).nullish(),\n areaStyle: z.array(zAreaStyle).or(zAreaStyle).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 locale: zLocale.nullish(),\n})\n"],"names":["zArea","z","zDataset","zEncoding","zDimensions","zMeasureTree","zBackgroundColor","zColor","zLabel","zLegend","zTooltip","zXBandAxis","zYLinearAxis","zCrosshairLine","zTheme","zPointStyle","zLineStyle","zAreaStyle","zAnnotationPoint","zAnnotationVerticalLine","zAnnotationHorizontalLine","zAnnotationArea","zLocale"],"mappings":";;;AAyBO,MAAMA,QAAQC,EAAE,MAAM,CAAC;IAC5B,WAAWA,EAAE,OAAO,CAAC;IACrB,SAASC,SAAS,OAAO;IACzB,UAAUC,UAAU,OAAO;IAC3B,YAAYC,YAAY,OAAO;IAC/B,UAAUC,aAAa,OAAO;IAC9B,iBAAiBC,iBAAiB,OAAO;IACzC,OAAOC,OAAO,OAAO;IACrB,OAAOC,OAAO,OAAO;
|
1
|
+
{"version":3,"file":"types/chartType/area/zArea.js","sources":["webpack://@visactor/vseed/./src/types/chartType/area/zArea.ts"],"sourcesContent":["import { z } from 'zod'\nimport { zLocale } from '../../i18n'\nimport {\n zAnnotationArea,\n zAnnotationHorizontalLine,\n zAnnotationPoint,\n zAnnotationVerticalLine,\n zAreaStyle,\n zBackgroundColor,\n zColor,\n zCrosshairLine,\n zDataset,\n zDimensions,\n zEncoding,\n zLabel,\n zLegend,\n zLineStyle,\n zMeasureTree,\n zPointStyle,\n zTheme,\n zTooltip,\n zXBandAxis,\n zYLinearAxis,\n} from '../../properties'\n\nexport const zArea = z.object({\n chartType: z.literal('area'),\n dataset: zDataset.nullish(),\n encoding: zEncoding.nullish(),\n dimensions: zDimensions.nullish(),\n measures: zMeasureTree.nullish(),\n backgroundColor: zBackgroundColor.nullish(),\n color: zColor.nullish(),\n label: zLabel.omit({ labelLayout: true }).nullish(),\n legend: zLegend.nullish(),\n tooltip: zTooltip.nullish(),\n xAxis: zXBandAxis.nullish(),\n yAxis: zYLinearAxis.nullish(),\n crosshairLine: zCrosshairLine.nullish(),\n theme: zTheme.nullish(),\n pointStyle: z.array(zPointStyle).or(zPointStyle).nullish(),\n lineStyle: z.array(zLineStyle).or(zLineStyle).nullish(),\n areaStyle: z.array(zAreaStyle).or(zAreaStyle).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 locale: zLocale.nullish(),\n})\n"],"names":["zArea","z","zDataset","zEncoding","zDimensions","zMeasureTree","zBackgroundColor","zColor","zLabel","zLegend","zTooltip","zXBandAxis","zYLinearAxis","zCrosshairLine","zTheme","zPointStyle","zLineStyle","zAreaStyle","zAnnotationPoint","zAnnotationVerticalLine","zAnnotationHorizontalLine","zAnnotationArea","zLocale"],"mappings":";;;AAyBO,MAAMA,QAAQC,EAAE,MAAM,CAAC;IAC5B,WAAWA,EAAE,OAAO,CAAC;IACrB,SAASC,SAAS,OAAO;IACzB,UAAUC,UAAU,OAAO;IAC3B,YAAYC,YAAY,OAAO;IAC/B,UAAUC,aAAa,OAAO;IAC9B,iBAAiBC,iBAAiB,OAAO;IACzC,OAAOC,OAAO,OAAO;IACrB,OAAOC,OAAO,IAAI,CAAC;QAAE,aAAa;IAAK,GAAG,OAAO;IACjD,QAAQC,QAAQ,OAAO;IACvB,SAASC,SAAS,OAAO;IACzB,OAAOC,WAAW,OAAO;IACzB,OAAOC,aAAa,OAAO;IAC3B,eAAeC,eAAe,OAAO;IACrC,OAAOC,OAAO,OAAO;IACrB,YAAYb,EAAE,KAAK,CAACc,aAAa,EAAE,CAACA,aAAa,OAAO;IACxD,WAAWd,EAAE,KAAK,CAACe,YAAY,EAAE,CAACA,YAAY,OAAO;IACrD,WAAWf,EAAE,KAAK,CAACgB,YAAY,EAAE,CAACA,YAAY,OAAO;IACrD,iBAAiBhB,EAAE,KAAK,CAACiB,kBAAkB,EAAE,CAACA,kBAAkB,OAAO;IACvE,wBAAwBjB,EAAE,KAAK,CAACkB,yBAAyB,EAAE,CAACA,yBAAyB,OAAO;IAC5F,0BAA0BlB,EAAE,KAAK,CAACmB,2BAA2B,EAAE,CAACA,2BAA2B,OAAO;IAClG,gBAAgBnB,EAAE,KAAK,CAACoB,iBAAiB,EAAE,CAACA,iBAAiB,OAAO;IACpE,QAAQC,QAAQ,OAAO;AACzB"}
|
@@ -118,10 +118,6 @@ export declare const zAreaPercent: z.ZodObject<{
|
|
118
118
|
colorMapping: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
119
119
|
}, z.core.$strip>>>;
|
120
120
|
label: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
121
|
-
enable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
122
|
-
wrap: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
123
|
-
showValue: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
124
|
-
showValuePercent: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
125
121
|
autoFormat: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
126
122
|
numFormat: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
127
123
|
type: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
@@ -153,10 +149,14 @@ export declare const zAreaPercent: z.ZodObject<{
|
|
153
149
|
halfEven: "halfEven";
|
154
150
|
}>>>;
|
155
151
|
}, z.core.$strip>>>>;
|
152
|
+
labelColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
156
153
|
labelFontSize: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
157
154
|
labelFontWeight: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
|
158
155
|
labelBackgroundColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
159
|
-
|
156
|
+
enable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
157
|
+
wrap: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
158
|
+
showValue: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
159
|
+
showValuePercent: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
160
160
|
labelColorSmartInvert: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
161
161
|
labelPosition: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
162
162
|
labelOverlap: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
@@ -9,7 +9,9 @@ const zAreaPercent = z.object({
|
|
9
9
|
measures: zMeasureTree.nullish(),
|
10
10
|
backgroundColor: zBackgroundColor.nullish(),
|
11
11
|
color: zColor.nullish(),
|
12
|
-
label: zLabel.
|
12
|
+
label: zLabel.omit({
|
13
|
+
labelLayout: true
|
14
|
+
}).nullish(),
|
13
15
|
legend: zLegend.nullish(),
|
14
16
|
tooltip: zTooltip.nullish(),
|
15
17
|
xAxis: zXBandAxis.nullish(),
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"types/chartType/areaPercent/zAreaPercent.js","sources":["webpack://@visactor/vseed/./src/types/chartType/areaPercent/zAreaPercent.ts"],"sourcesContent":["import { zLocale } from '../../i18n'\nimport {\n zAnnotationArea,\n zAnnotationHorizontalLine,\n zAnnotationPoint,\n zAnnotationVerticalLine,\n zAreaStyle,\n zBackgroundColor,\n zColor,\n zCrosshairLine,\n zDataset,\n zDimensions,\n zEncoding,\n zLabel,\n zLegend,\n zLineStyle,\n zMeasureTree,\n zPointStyle,\n zTheme,\n zTooltip,\n zXBandAxis,\n zYLinearAxis,\n} from '../../properties'\n\nimport { z } from 'zod'\n\nexport const zAreaPercent = z.object({\n chartType: z.literal('areaPercent'),\n dataset: zDataset.nullish(),\n encoding: zEncoding.nullish(),\n dimensions: zDimensions.nullish(),\n measures: zMeasureTree.nullish(),\n backgroundColor: zBackgroundColor.nullish(),\n color: zColor.nullish(),\n label: zLabel.nullish(),\n legend: zLegend.nullish(),\n tooltip: zTooltip.nullish(),\n xAxis: zXBandAxis.nullish(),\n yAxis: zYLinearAxis.nullish(),\n crosshairLine: zCrosshairLine.nullish(),\n theme: zTheme.nullish(),\n pointStyle: z.array(zPointStyle).or(zPointStyle).nullish(),\n lineStyle: z.array(zLineStyle).or(zLineStyle).nullish(),\n areaStyle: z.array(zAreaStyle).or(zAreaStyle).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 locale: zLocale.nullish(),\n})\n"],"names":["zAreaPercent","z","zDataset","zEncoding","zDimensions","zMeasureTree","zBackgroundColor","zColor","zLabel","zLegend","zTooltip","zXBandAxis","zYLinearAxis","zCrosshairLine","zTheme","zPointStyle","zLineStyle","zAreaStyle","zAnnotationPoint","zAnnotationVerticalLine","zAnnotationHorizontalLine","zAnnotationArea","zLocale"],"mappings":";;;AA0BO,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,aAAa,OAAO;IAC9B,iBAAiBC,iBAAiB,OAAO;IACzC,OAAOC,OAAO,OAAO;IACrB,OAAOC,OAAO,OAAO;
|
1
|
+
{"version":3,"file":"types/chartType/areaPercent/zAreaPercent.js","sources":["webpack://@visactor/vseed/./src/types/chartType/areaPercent/zAreaPercent.ts"],"sourcesContent":["import { zLocale } from '../../i18n'\nimport {\n zAnnotationArea,\n zAnnotationHorizontalLine,\n zAnnotationPoint,\n zAnnotationVerticalLine,\n zAreaStyle,\n zBackgroundColor,\n zColor,\n zCrosshairLine,\n zDataset,\n zDimensions,\n zEncoding,\n zLabel,\n zLegend,\n zLineStyle,\n zMeasureTree,\n zPointStyle,\n zTheme,\n zTooltip,\n zXBandAxis,\n zYLinearAxis,\n} from '../../properties'\n\nimport { z } from 'zod'\n\nexport const zAreaPercent = z.object({\n chartType: z.literal('areaPercent'),\n dataset: zDataset.nullish(),\n encoding: zEncoding.nullish(),\n dimensions: zDimensions.nullish(),\n measures: zMeasureTree.nullish(),\n backgroundColor: zBackgroundColor.nullish(),\n color: zColor.nullish(),\n label: zLabel.omit({ labelLayout: true }).nullish(),\n legend: zLegend.nullish(),\n tooltip: zTooltip.nullish(),\n xAxis: zXBandAxis.nullish(),\n yAxis: zYLinearAxis.nullish(),\n crosshairLine: zCrosshairLine.nullish(),\n theme: zTheme.nullish(),\n pointStyle: z.array(zPointStyle).or(zPointStyle).nullish(),\n lineStyle: z.array(zLineStyle).or(zLineStyle).nullish(),\n areaStyle: z.array(zAreaStyle).or(zAreaStyle).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 locale: zLocale.nullish(),\n})\n"],"names":["zAreaPercent","z","zDataset","zEncoding","zDimensions","zMeasureTree","zBackgroundColor","zColor","zLabel","zLegend","zTooltip","zXBandAxis","zYLinearAxis","zCrosshairLine","zTheme","zPointStyle","zLineStyle","zAreaStyle","zAnnotationPoint","zAnnotationVerticalLine","zAnnotationHorizontalLine","zAnnotationArea","zLocale"],"mappings":";;;AA0BO,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,aAAa,OAAO;IAC9B,iBAAiBC,iBAAiB,OAAO;IACzC,OAAOC,OAAO,OAAO;IACrB,OAAOC,OAAO,IAAI,CAAC;QAAE,aAAa;IAAK,GAAG,OAAO;IACjD,QAAQC,QAAQ,OAAO;IACvB,SAASC,SAAS,OAAO;IACzB,OAAOC,WAAW,OAAO;IACzB,OAAOC,aAAa,OAAO;IAC3B,eAAeC,eAAe,OAAO;IACrC,OAAOC,OAAO,OAAO;IACrB,YAAYb,EAAE,KAAK,CAACc,aAAa,EAAE,CAACA,aAAa,OAAO;IACxD,WAAWd,EAAE,KAAK,CAACe,YAAY,EAAE,CAACA,YAAY,OAAO;IACrD,WAAWf,EAAE,KAAK,CAACgB,YAAY,EAAE,CAACA,YAAY,OAAO;IACrD,iBAAiBhB,EAAE,KAAK,CAACiB,kBAAkB,EAAE,CAACA,kBAAkB,OAAO;IACvE,wBAAwBjB,EAAE,KAAK,CAACkB,yBAAyB,EAAE,CAACA,yBAAyB,OAAO;IAC5F,0BAA0BlB,EAAE,KAAK,CAACmB,2BAA2B,EAAE,CAACA,2BAA2B,OAAO;IAClG,gBAAgBnB,EAAE,KAAK,CAACoB,iBAAiB,EAAE,CAACA,iBAAiB,OAAO;IACpE,QAAQC,QAAQ,OAAO;AACzB"}
|
@@ -118,10 +118,6 @@ export declare const zBar: z.ZodObject<{
|
|
118
118
|
colorMapping: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
119
119
|
}, z.core.$strip>>>;
|
120
120
|
label: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
121
|
-
enable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
122
|
-
wrap: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
123
|
-
showValue: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
124
|
-
showValuePercent: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
125
121
|
autoFormat: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
126
122
|
numFormat: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
127
123
|
type: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
@@ -153,10 +149,14 @@ export declare const zBar: z.ZodObject<{
|
|
153
149
|
halfEven: "halfEven";
|
154
150
|
}>>>;
|
155
151
|
}, z.core.$strip>>>>;
|
152
|
+
labelColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
156
153
|
labelFontSize: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
157
154
|
labelFontWeight: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
|
158
155
|
labelBackgroundColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
159
|
-
|
156
|
+
enable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
157
|
+
wrap: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
158
|
+
showValue: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
159
|
+
showValuePercent: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
160
160
|
labelColorSmartInvert: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
161
161
|
labelPosition: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
162
162
|
labelOverlap: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
@@ -9,7 +9,9 @@ const zBar = z.object({
|
|
9
9
|
measures: zMeasureTree.nullish(),
|
10
10
|
backgroundColor: zBackgroundColor.nullish(),
|
11
11
|
color: zColor.nullish(),
|
12
|
-
label: zLabel.
|
12
|
+
label: zLabel.omit({
|
13
|
+
labelLayout: true
|
14
|
+
}).nullish(),
|
13
15
|
legend: zLegend.nullish(),
|
14
16
|
tooltip: zTooltip.nullish(),
|
15
17
|
xAxis: zXLinearAxis.nullish(),
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"types/chartType/bar/zBar.js","sources":["webpack://@visactor/vseed/./src/types/chartType/bar/zBar.ts"],"sourcesContent":["import { zLocale } from '../../i18n'\nimport {\n zAnnotationArea,\n zAnnotationHorizontalLine,\n zAnnotationPoint,\n zAnnotationVerticalLine,\n zBackgroundColor,\n zBarStyle,\n zColor,\n zCrosshairRect,\n zDataset,\n zDimensions,\n zEncoding,\n zLabel,\n zLegend,\n zMeasureTree,\n zStackCornerRadius,\n zTheme,\n zTooltip,\n zXLinearAxis,\n zYBandAxis,\n} from '../../properties'\n\nimport { z } from 'zod'\n\nexport const zBar = z.object({\n chartType: z.literal('bar'),\n dataset: zDataset.nullish(),\n encoding: zEncoding.nullish(),\n dimensions: zDimensions.nullish(),\n measures: zMeasureTree.nullish(),\n backgroundColor: zBackgroundColor.nullish(),\n color: zColor.nullish(),\n label: zLabel.nullish(),\n legend: zLegend.nullish(),\n tooltip: zTooltip.nullish(),\n xAxis: zXLinearAxis.nullish(),\n yAxis: zYBandAxis.nullish(),\n crosshairRect: zCrosshairRect.nullish(),\n stackCornerRadius: zStackCornerRadius.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 locale: zLocale.nullish(),\n})\n"],"names":["zBar","z","zDataset","zEncoding","zDimensions","zMeasureTree","zBackgroundColor","zColor","zLabel","zLegend","zTooltip","zXLinearAxis","zYBandAxis","zCrosshairRect","zStackCornerRadius","zTheme","zBarStyle","zAnnotationPoint","zAnnotationVerticalLine","zAnnotationHorizontalLine","zAnnotationArea","zLocale"],"mappings":";;;AAyBO,MAAMA,OAAOC,EAAE,MAAM,CAAC;IAC3B,WAAWA,EAAE,OAAO,CAAC;IACrB,SAASC,SAAS,OAAO;IACzB,UAAUC,UAAU,OAAO;IAC3B,YAAYC,YAAY,OAAO;IAC/B,UAAUC,aAAa,OAAO;IAC9B,iBAAiBC,iBAAiB,OAAO;IACzC,OAAOC,OAAO,OAAO;IACrB,OAAOC,OAAO,OAAO;
|
1
|
+
{"version":3,"file":"types/chartType/bar/zBar.js","sources":["webpack://@visactor/vseed/./src/types/chartType/bar/zBar.ts"],"sourcesContent":["import { zLocale } from '../../i18n'\nimport {\n zAnnotationArea,\n zAnnotationHorizontalLine,\n zAnnotationPoint,\n zAnnotationVerticalLine,\n zBackgroundColor,\n zBarStyle,\n zColor,\n zCrosshairRect,\n zDataset,\n zDimensions,\n zEncoding,\n zLabel,\n zLegend,\n zMeasureTree,\n zStackCornerRadius,\n zTheme,\n zTooltip,\n zXLinearAxis,\n zYBandAxis,\n} from '../../properties'\n\nimport { z } from 'zod'\n\nexport const zBar = z.object({\n chartType: z.literal('bar'),\n dataset: zDataset.nullish(),\n encoding: zEncoding.nullish(),\n dimensions: zDimensions.nullish(),\n measures: zMeasureTree.nullish(),\n backgroundColor: zBackgroundColor.nullish(),\n color: zColor.nullish(),\n label: zLabel.omit({ labelLayout: true }).nullish(),\n legend: zLegend.nullish(),\n tooltip: zTooltip.nullish(),\n xAxis: zXLinearAxis.nullish(),\n yAxis: zYBandAxis.nullish(),\n crosshairRect: zCrosshairRect.nullish(),\n stackCornerRadius: zStackCornerRadius.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 locale: zLocale.nullish(),\n})\n"],"names":["zBar","z","zDataset","zEncoding","zDimensions","zMeasureTree","zBackgroundColor","zColor","zLabel","zLegend","zTooltip","zXLinearAxis","zYBandAxis","zCrosshairRect","zStackCornerRadius","zTheme","zBarStyle","zAnnotationPoint","zAnnotationVerticalLine","zAnnotationHorizontalLine","zAnnotationArea","zLocale"],"mappings":";;;AAyBO,MAAMA,OAAOC,EAAE,MAAM,CAAC;IAC3B,WAAWA,EAAE,OAAO,CAAC;IACrB,SAASC,SAAS,OAAO;IACzB,UAAUC,UAAU,OAAO;IAC3B,YAAYC,YAAY,OAAO;IAC/B,UAAUC,aAAa,OAAO;IAC9B,iBAAiBC,iBAAiB,OAAO;IACzC,OAAOC,OAAO,OAAO;IACrB,OAAOC,OAAO,IAAI,CAAC;QAAE,aAAa;IAAK,GAAG,OAAO;IACjD,QAAQC,QAAQ,OAAO;IACvB,SAASC,SAAS,OAAO;IACzB,OAAOC,aAAa,OAAO;IAC3B,OAAOC,WAAW,OAAO;IACzB,eAAeC,eAAe,OAAO;IACrC,mBAAmBC,mBAAmB,OAAO;IAC7C,OAAOC,OAAO,OAAO;IACrB,UAAUd,EAAE,KAAK,CAACe,WAAW,EAAE,CAACA,WAAW,OAAO;IAClD,iBAAiBf,EAAE,KAAK,CAACgB,kBAAkB,EAAE,CAACA,kBAAkB,OAAO;IACvE,wBAAwBhB,EAAE,KAAK,CAACiB,yBAAyB,EAAE,CAACA,yBAAyB,OAAO;IAC5F,0BAA0BjB,EAAE,KAAK,CAACkB,2BAA2B,EAAE,CAACA,2BAA2B,OAAO;IAClG,gBAAgBlB,EAAE,KAAK,CAACmB,iBAAiB,EAAE,CAACA,iBAAiB,OAAO;IACpE,QAAQC,QAAQ,OAAO;AACzB"}
|
@@ -118,10 +118,6 @@ export declare const zBarParallel: z.ZodObject<{
|
|
118
118
|
colorMapping: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
119
119
|
}, z.core.$strip>>>;
|
120
120
|
label: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
121
|
-
enable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
122
|
-
wrap: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
123
|
-
showValue: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
124
|
-
showValuePercent: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
125
121
|
autoFormat: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
126
122
|
numFormat: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
127
123
|
type: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
@@ -153,10 +149,14 @@ export declare const zBarParallel: z.ZodObject<{
|
|
153
149
|
halfEven: "halfEven";
|
154
150
|
}>>>;
|
155
151
|
}, z.core.$strip>>>>;
|
152
|
+
labelColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
156
153
|
labelFontSize: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
157
154
|
labelFontWeight: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
|
158
155
|
labelBackgroundColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
159
|
-
|
156
|
+
enable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
157
|
+
wrap: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
158
|
+
showValue: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
159
|
+
showValuePercent: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
160
160
|
labelColorSmartInvert: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
161
161
|
labelPosition: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
162
162
|
labelOverlap: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
@@ -9,7 +9,9 @@ const zBarParallel = z.object({
|
|
9
9
|
measures: zMeasureTree.nullish(),
|
10
10
|
backgroundColor: zBackgroundColor.nullish(),
|
11
11
|
color: zColor.nullish(),
|
12
|
-
label: zLabel.
|
12
|
+
label: zLabel.omit({
|
13
|
+
labelLayout: true
|
14
|
+
}).nullish(),
|
13
15
|
legend: zLegend.nullish(),
|
14
16
|
tooltip: zTooltip.nullish(),
|
15
17
|
xAxis: zXLinearAxis.nullish(),
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"types/chartType/barParallel/zBarParallel.js","sources":["webpack://@visactor/vseed/./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 zBarStyle,\n zColor,\n zCrosshairRect,\n zDataset,\n zDimensions,\n zEncoding,\n zLabel,\n zLegend,\n zMeasureTree,\n zStackCornerRadius,\n zTheme,\n zTooltip,\n zXLinearAxis,\n zYBandAxis,\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: zMeasureTree.nullish(),\n backgroundColor: zBackgroundColor.nullish(),\n color: zColor.nullish(),\n label: zLabel.nullish(),\n legend: zLegend.nullish(),\n tooltip: zTooltip.nullish(),\n xAxis: zXLinearAxis.nullish(),\n yAxis: zYBandAxis.nullish(),\n crosshairRect: zCrosshairRect.nullish(),\n stackCornerRadius: zStackCornerRadius.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 locale: zLocale.nullish(),\n})\n"],"names":["zBarParallel","z","zDataset","zEncoding","zDimensions","zMeasureTree","zBackgroundColor","zColor","zLabel","zLegend","zTooltip","zXLinearAxis","zYBandAxis","zCrosshairRect","zStackCornerRadius","zTheme","zBarStyle","zAnnotationPoint","zAnnotationVerticalLine","zAnnotationHorizontalLine","zAnnotationArea","zLocale"],"mappings":";;;AAwBO,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,aAAa,OAAO;IAC9B,iBAAiBC,iBAAiB,OAAO;IACzC,OAAOC,OAAO,OAAO;IACrB,OAAOC,OAAO,OAAO;
|
1
|
+
{"version":3,"file":"types/chartType/barParallel/zBarParallel.js","sources":["webpack://@visactor/vseed/./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 zBarStyle,\n zColor,\n zCrosshairRect,\n zDataset,\n zDimensions,\n zEncoding,\n zLabel,\n zLegend,\n zMeasureTree,\n zStackCornerRadius,\n zTheme,\n zTooltip,\n zXLinearAxis,\n zYBandAxis,\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: zMeasureTree.nullish(),\n backgroundColor: zBackgroundColor.nullish(),\n color: zColor.nullish(),\n label: zLabel.omit({ labelLayout: true }).nullish(),\n legend: zLegend.nullish(),\n tooltip: zTooltip.nullish(),\n xAxis: zXLinearAxis.nullish(),\n yAxis: zYBandAxis.nullish(),\n crosshairRect: zCrosshairRect.nullish(),\n stackCornerRadius: zStackCornerRadius.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 locale: zLocale.nullish(),\n})\n"],"names":["zBarParallel","z","zDataset","zEncoding","zDimensions","zMeasureTree","zBackgroundColor","zColor","zLabel","zLegend","zTooltip","zXLinearAxis","zYBandAxis","zCrosshairRect","zStackCornerRadius","zTheme","zBarStyle","zAnnotationPoint","zAnnotationVerticalLine","zAnnotationHorizontalLine","zAnnotationArea","zLocale"],"mappings":";;;AAwBO,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,aAAa,OAAO;IAC9B,iBAAiBC,iBAAiB,OAAO;IACzC,OAAOC,OAAO,OAAO;IACrB,OAAOC,OAAO,IAAI,CAAC;QAAE,aAAa;IAAK,GAAG,OAAO;IACjD,QAAQC,QAAQ,OAAO;IACvB,SAASC,SAAS,OAAO;IACzB,OAAOC,aAAa,OAAO;IAC3B,OAAOC,WAAW,OAAO;IACzB,eAAeC,eAAe,OAAO;IACrC,mBAAmBC,mBAAmB,OAAO;IAC7C,OAAOC,OAAO,OAAO;IACrB,UAAUd,EAAE,KAAK,CAACe,WAAW,EAAE,CAACA,WAAW,OAAO;IAClD,iBAAiBf,EAAE,KAAK,CAACgB,kBAAkB,EAAE,CAACA,kBAAkB,OAAO;IACvE,wBAAwBhB,EAAE,KAAK,CAACiB,yBAAyB,EAAE,CAACA,yBAAyB,OAAO;IAC5F,0BAA0BjB,EAAE,KAAK,CAACkB,2BAA2B,EAAE,CAACA,2BAA2B,OAAO;IAClG,gBAAgBlB,EAAE,KAAK,CAACmB,iBAAiB,EAAE,CAACA,iBAAiB,OAAO;IACpE,QAAQC,QAAQ,OAAO;AACzB"}
|
@@ -118,10 +118,6 @@ export declare const zBarPercent: z.ZodObject<{
|
|
118
118
|
colorMapping: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
119
119
|
}, z.core.$strip>>>;
|
120
120
|
label: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
121
|
-
enable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
122
|
-
wrap: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
123
|
-
showValue: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
124
|
-
showValuePercent: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
125
121
|
autoFormat: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
126
122
|
numFormat: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
127
123
|
type: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
@@ -153,10 +149,14 @@ export declare const zBarPercent: z.ZodObject<{
|
|
153
149
|
halfEven: "halfEven";
|
154
150
|
}>>>;
|
155
151
|
}, z.core.$strip>>>>;
|
152
|
+
labelColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
156
153
|
labelFontSize: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
157
154
|
labelFontWeight: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
|
158
155
|
labelBackgroundColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
159
|
-
|
156
|
+
enable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
157
|
+
wrap: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
158
|
+
showValue: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
159
|
+
showValuePercent: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
160
160
|
labelColorSmartInvert: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
161
161
|
labelPosition: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
162
162
|
labelOverlap: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
@@ -9,7 +9,9 @@ const zBarPercent = z.object({
|
|
9
9
|
measures: zMeasureTree.nullish(),
|
10
10
|
backgroundColor: zBackgroundColor.nullish(),
|
11
11
|
color: zColor.nullish(),
|
12
|
-
label: zLabel.
|
12
|
+
label: zLabel.omit({
|
13
|
+
labelLayout: true
|
14
|
+
}).nullish(),
|
13
15
|
legend: zLegend.nullish(),
|
14
16
|
tooltip: zTooltip.nullish(),
|
15
17
|
xAxis: zXLinearAxis.nullish(),
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"types/chartType/barPercent/zBarPercent.js","sources":["webpack://@visactor/vseed/./src/types/chartType/barPercent/zBarPercent.ts"],"sourcesContent":["import { z } from 'zod'\nimport { zLocale } from '../../i18n'\nimport {\n zAnnotationArea,\n zAnnotationHorizontalLine,\n zAnnotationPoint,\n zAnnotationVerticalLine,\n zBackgroundColor,\n zBarStyle,\n zColor,\n zCrosshairRect,\n zDataset,\n zDimensions,\n zEncoding,\n zLabel,\n zLegend,\n zMeasureTree,\n zStackCornerRadius,\n zTheme,\n zTooltip,\n zXLinearAxis,\n zYBandAxis,\n} from '../../properties'\n\nexport const zBarPercent = z.object({\n chartType: z.literal('barPercent'),\n dataset: zDataset.nullish(),\n encoding: zEncoding.nullish(),\n dimensions: zDimensions.nullish(),\n measures: zMeasureTree.nullish(),\n backgroundColor: zBackgroundColor.nullish(),\n color: zColor.nullish(),\n label: zLabel.nullish(),\n legend: zLegend.nullish(),\n tooltip: zTooltip.nullish(),\n xAxis: zXLinearAxis.nullish(),\n yAxis: zYBandAxis.nullish(),\n crosshairRect: zCrosshairRect.nullish(),\n stackCornerRadius: zStackCornerRadius.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 locale: zLocale.nullish(),\n})\n"],"names":["zBarPercent","z","zDataset","zEncoding","zDimensions","zMeasureTree","zBackgroundColor","zColor","zLabel","zLegend","zTooltip","zXLinearAxis","zYBandAxis","zCrosshairRect","zStackCornerRadius","zTheme","zBarStyle","zAnnotationPoint","zAnnotationVerticalLine","zAnnotationHorizontalLine","zAnnotationArea","zLocale"],"mappings":";;;AAwBO,MAAMA,cAAcC,EAAE,MAAM,CAAC;IAClC,WAAWA,EAAE,OAAO,CAAC;IACrB,SAASC,SAAS,OAAO;IACzB,UAAUC,UAAU,OAAO;IAC3B,YAAYC,YAAY,OAAO;IAC/B,UAAUC,aAAa,OAAO;IAC9B,iBAAiBC,iBAAiB,OAAO;IACzC,OAAOC,OAAO,OAAO;IACrB,OAAOC,OAAO,OAAO;
|
1
|
+
{"version":3,"file":"types/chartType/barPercent/zBarPercent.js","sources":["webpack://@visactor/vseed/./src/types/chartType/barPercent/zBarPercent.ts"],"sourcesContent":["import { z } from 'zod'\nimport { zLocale } from '../../i18n'\nimport {\n zAnnotationArea,\n zAnnotationHorizontalLine,\n zAnnotationPoint,\n zAnnotationVerticalLine,\n zBackgroundColor,\n zBarStyle,\n zColor,\n zCrosshairRect,\n zDataset,\n zDimensions,\n zEncoding,\n zLabel,\n zLegend,\n zMeasureTree,\n zStackCornerRadius,\n zTheme,\n zTooltip,\n zXLinearAxis,\n zYBandAxis,\n} from '../../properties'\n\nexport const zBarPercent = z.object({\n chartType: z.literal('barPercent'),\n dataset: zDataset.nullish(),\n encoding: zEncoding.nullish(),\n dimensions: zDimensions.nullish(),\n measures: zMeasureTree.nullish(),\n backgroundColor: zBackgroundColor.nullish(),\n color: zColor.nullish(),\n label: zLabel.omit({ labelLayout: true }).nullish(),\n legend: zLegend.nullish(),\n tooltip: zTooltip.nullish(),\n xAxis: zXLinearAxis.nullish(),\n yAxis: zYBandAxis.nullish(),\n crosshairRect: zCrosshairRect.nullish(),\n stackCornerRadius: zStackCornerRadius.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 locale: zLocale.nullish(),\n})\n"],"names":["zBarPercent","z","zDataset","zEncoding","zDimensions","zMeasureTree","zBackgroundColor","zColor","zLabel","zLegend","zTooltip","zXLinearAxis","zYBandAxis","zCrosshairRect","zStackCornerRadius","zTheme","zBarStyle","zAnnotationPoint","zAnnotationVerticalLine","zAnnotationHorizontalLine","zAnnotationArea","zLocale"],"mappings":";;;AAwBO,MAAMA,cAAcC,EAAE,MAAM,CAAC;IAClC,WAAWA,EAAE,OAAO,CAAC;IACrB,SAASC,SAAS,OAAO;IACzB,UAAUC,UAAU,OAAO;IAC3B,YAAYC,YAAY,OAAO;IAC/B,UAAUC,aAAa,OAAO;IAC9B,iBAAiBC,iBAAiB,OAAO;IACzC,OAAOC,OAAO,OAAO;IACrB,OAAOC,OAAO,IAAI,CAAC;QAAE,aAAa;IAAK,GAAG,OAAO;IACjD,QAAQC,QAAQ,OAAO;IACvB,SAASC,SAAS,OAAO;IACzB,OAAOC,aAAa,OAAO;IAC3B,OAAOC,WAAW,OAAO;IACzB,eAAeC,eAAe,OAAO;IACrC,mBAAmBC,mBAAmB,OAAO;IAC7C,OAAOC,OAAO,OAAO;IACrB,UAAUd,EAAE,KAAK,CAACe,WAAW,EAAE,CAACA,WAAW,OAAO;IAClD,iBAAiBf,EAAE,KAAK,CAACgB,kBAAkB,EAAE,CAACA,kBAAkB,OAAO;IACvE,wBAAwBhB,EAAE,KAAK,CAACiB,yBAAyB,EAAE,CAACA,yBAAyB,OAAO;IAC5F,0BAA0BjB,EAAE,KAAK,CAACkB,2BAA2B,EAAE,CAACA,2BAA2B,OAAO;IAClG,gBAAgBlB,EAAE,KAAK,CAACmB,iBAAiB,EAAE,CAACA,iBAAiB,OAAO;IACpE,QAAQC,QAAQ,OAAO;AACzB"}
|
@@ -118,10 +118,6 @@ export declare const zColumn: z.ZodObject<{
|
|
118
118
|
colorMapping: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
119
119
|
}, z.core.$strip>>>;
|
120
120
|
label: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
121
|
-
enable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
122
|
-
wrap: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
123
|
-
showValue: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
124
|
-
showValuePercent: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
125
121
|
autoFormat: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
126
122
|
numFormat: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
127
123
|
type: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
@@ -153,10 +149,14 @@ export declare const zColumn: z.ZodObject<{
|
|
153
149
|
halfEven: "halfEven";
|
154
150
|
}>>>;
|
155
151
|
}, z.core.$strip>>>>;
|
152
|
+
labelColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
156
153
|
labelFontSize: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
157
154
|
labelFontWeight: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
|
158
155
|
labelBackgroundColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
159
|
-
|
156
|
+
enable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
157
|
+
wrap: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
158
|
+
showValue: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
159
|
+
showValuePercent: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
160
160
|
labelColorSmartInvert: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
161
161
|
labelPosition: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
162
162
|
labelOverlap: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
@@ -9,7 +9,9 @@ const zColumn = z.object({
|
|
9
9
|
measures: zMeasureTree.nullish(),
|
10
10
|
backgroundColor: zBackgroundColor.nullish(),
|
11
11
|
color: zColor.nullish(),
|
12
|
-
label: zLabel.
|
12
|
+
label: zLabel.omit({
|
13
|
+
labelLayout: true
|
14
|
+
}).nullish(),
|
13
15
|
legend: zLegend.nullish(),
|
14
16
|
tooltip: zTooltip.nullish(),
|
15
17
|
xAxis: zXBandAxis.nullish(),
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"types/chartType/column/zColumn.js","sources":["webpack://@visactor/vseed/./src/types/chartType/column/zColumn.ts"],"sourcesContent":["import { z } from 'zod'\nimport { zLocale } from '../../i18n'\nimport {\n zAnnotationArea,\n zAnnotationHorizontalLine,\n zAnnotationPoint,\n zAnnotationVerticalLine,\n zBackgroundColor,\n zBarStyle,\n zColor,\n zCrosshairRect,\n zDataset,\n zDimensions,\n zEncoding,\n zLabel,\n zLegend,\n zMeasureTree,\n zStackCornerRadius,\n zTheme,\n zTooltip,\n zXBandAxis,\n zYLinearAxis,\n} from '../../properties'\n\nexport const zColumn = z.object({\n chartType: z.literal('column'),\n dataset: zDataset.nullish(),\n encoding: zEncoding.nullish(),\n dimensions: zDimensions.nullish(),\n measures: zMeasureTree.nullish(),\n backgroundColor: zBackgroundColor.nullish(),\n color: zColor.nullish(),\n label: zLabel.nullish(),\n legend: zLegend.nullish(),\n tooltip: zTooltip.nullish(),\n xAxis: zXBandAxis.nullish(),\n yAxis: zYLinearAxis.nullish(),\n crosshairRect: zCrosshairRect.nullish(),\n stackCornerRadius: zStackCornerRadius.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 locale: zLocale.nullish(),\n})\n"],"names":["zColumn","z","zDataset","zEncoding","zDimensions","zMeasureTree","zBackgroundColor","zColor","zLabel","zLegend","zTooltip","zXBandAxis","zYLinearAxis","zCrosshairRect","zStackCornerRadius","zTheme","zBarStyle","zAnnotationPoint","zAnnotationVerticalLine","zAnnotationHorizontalLine","zAnnotationArea","zLocale"],"mappings":";;;AAwBO,MAAMA,UAAUC,EAAE,MAAM,CAAC;IAC9B,WAAWA,EAAE,OAAO,CAAC;IACrB,SAASC,SAAS,OAAO;IACzB,UAAUC,UAAU,OAAO;IAC3B,YAAYC,YAAY,OAAO;IAC/B,UAAUC,aAAa,OAAO;IAC9B,iBAAiBC,iBAAiB,OAAO;IACzC,OAAOC,OAAO,OAAO;IACrB,OAAOC,OAAO,OAAO;
|
1
|
+
{"version":3,"file":"types/chartType/column/zColumn.js","sources":["webpack://@visactor/vseed/./src/types/chartType/column/zColumn.ts"],"sourcesContent":["import { z } from 'zod'\nimport { zLocale } from '../../i18n'\nimport {\n zAnnotationArea,\n zAnnotationHorizontalLine,\n zAnnotationPoint,\n zAnnotationVerticalLine,\n zBackgroundColor,\n zBarStyle,\n zColor,\n zCrosshairRect,\n zDataset,\n zDimensions,\n zEncoding,\n zLabel,\n zLegend,\n zMeasureTree,\n zStackCornerRadius,\n zTheme,\n zTooltip,\n zXBandAxis,\n zYLinearAxis,\n} from '../../properties'\n\nexport const zColumn = z.object({\n chartType: z.literal('column'),\n dataset: zDataset.nullish(),\n encoding: zEncoding.nullish(),\n dimensions: zDimensions.nullish(),\n measures: zMeasureTree.nullish(),\n backgroundColor: zBackgroundColor.nullish(),\n color: zColor.nullish(),\n label: zLabel.omit({ labelLayout: true }).nullish(),\n legend: zLegend.nullish(),\n tooltip: zTooltip.nullish(),\n xAxis: zXBandAxis.nullish(),\n yAxis: zYLinearAxis.nullish(),\n crosshairRect: zCrosshairRect.nullish(),\n stackCornerRadius: zStackCornerRadius.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 locale: zLocale.nullish(),\n})\n"],"names":["zColumn","z","zDataset","zEncoding","zDimensions","zMeasureTree","zBackgroundColor","zColor","zLabel","zLegend","zTooltip","zXBandAxis","zYLinearAxis","zCrosshairRect","zStackCornerRadius","zTheme","zBarStyle","zAnnotationPoint","zAnnotationVerticalLine","zAnnotationHorizontalLine","zAnnotationArea","zLocale"],"mappings":";;;AAwBO,MAAMA,UAAUC,EAAE,MAAM,CAAC;IAC9B,WAAWA,EAAE,OAAO,CAAC;IACrB,SAASC,SAAS,OAAO;IACzB,UAAUC,UAAU,OAAO;IAC3B,YAAYC,YAAY,OAAO;IAC/B,UAAUC,aAAa,OAAO;IAC9B,iBAAiBC,iBAAiB,OAAO;IACzC,OAAOC,OAAO,OAAO;IACrB,OAAOC,OAAO,IAAI,CAAC;QAAE,aAAa;IAAK,GAAG,OAAO;IACjD,QAAQC,QAAQ,OAAO;IACvB,SAASC,SAAS,OAAO;IACzB,OAAOC,WAAW,OAAO;IACzB,OAAOC,aAAa,OAAO;IAC3B,eAAeC,eAAe,OAAO;IACrC,mBAAmBC,mBAAmB,OAAO;IAC7C,OAAOC,OAAO,OAAO;IACrB,UAAUd,EAAE,KAAK,CAACe,WAAW,EAAE,CAACA,WAAW,OAAO;IAClD,iBAAiBf,EAAE,KAAK,CAACgB,kBAAkB,EAAE,CAACA,kBAAkB,OAAO;IACvE,wBAAwBhB,EAAE,KAAK,CAACiB,yBAAyB,EAAE,CAACA,yBAAyB,OAAO;IAC5F,0BAA0BjB,EAAE,KAAK,CAACkB,2BAA2B,EAAE,CAACA,2BAA2B,OAAO;IAClG,gBAAgBlB,EAAE,KAAK,CAACmB,iBAAiB,EAAE,CAACA,iBAAiB,OAAO;IACpE,QAAQC,QAAQ,OAAO;AACzB"}
|
@@ -118,10 +118,6 @@ export declare const zColumnParallel: z.ZodObject<{
|
|
118
118
|
colorMapping: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
119
119
|
}, z.core.$strip>>>;
|
120
120
|
label: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
121
|
-
enable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
122
|
-
wrap: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
123
|
-
showValue: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
124
|
-
showValuePercent: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
125
121
|
autoFormat: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
126
122
|
numFormat: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
127
123
|
type: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
@@ -153,10 +149,14 @@ export declare const zColumnParallel: z.ZodObject<{
|
|
153
149
|
halfEven: "halfEven";
|
154
150
|
}>>>;
|
155
151
|
}, z.core.$strip>>>>;
|
152
|
+
labelColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
156
153
|
labelFontSize: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
157
154
|
labelFontWeight: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
|
158
155
|
labelBackgroundColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
159
|
-
|
156
|
+
enable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
157
|
+
wrap: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
158
|
+
showValue: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
159
|
+
showValuePercent: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
160
160
|
labelColorSmartInvert: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
161
161
|
labelPosition: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
162
162
|
labelOverlap: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
@@ -9,7 +9,9 @@ const zColumnParallel = z.object({
|
|
9
9
|
measures: zMeasureTree.nullish(),
|
10
10
|
backgroundColor: zBackgroundColor.nullish(),
|
11
11
|
color: zColor.nullish(),
|
12
|
-
label: zLabel.
|
12
|
+
label: zLabel.omit({
|
13
|
+
labelLayout: true
|
14
|
+
}).nullish(),
|
13
15
|
legend: zLegend.nullish(),
|
14
16
|
tooltip: zTooltip.nullish(),
|
15
17
|
xAxis: zXBandAxis.nullish(),
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"types/chartType/columnParallel/zColumnParallel.js","sources":["webpack://@visactor/vseed/./src/types/chartType/columnParallel/zColumnParallel.ts"],"sourcesContent":["import { z } from 'zod'\nimport { zLocale } from '../../i18n'\nimport {\n zAnnotationArea,\n zAnnotationHorizontalLine,\n zAnnotationPoint,\n zAnnotationVerticalLine,\n zBackgroundColor,\n zBarStyle,\n zColor,\n zCrosshairRect,\n zDataset,\n zDimensions,\n zEncoding,\n zLabel,\n zLegend,\n zMeasureTree,\n zStackCornerRadius,\n zTheme,\n zTooltip,\n zXBandAxis,\n zYLinearAxis,\n} from '../../properties'\n\nexport const zColumnParallel = z.object({\n chartType: z.literal('columnParallel'),\n dataset: zDataset.nullish(),\n encoding: zEncoding.nullish(),\n dimensions: zDimensions.nullish(),\n measures: zMeasureTree.nullish(),\n backgroundColor: zBackgroundColor.nullish(),\n color: zColor.nullish(),\n label: zLabel.nullish(),\n legend: zLegend.nullish(),\n tooltip: zTooltip.nullish(),\n xAxis: zXBandAxis.nullish(),\n yAxis: zYLinearAxis.nullish(),\n crosshairRect: zCrosshairRect.nullish(),\n stackCornerRadius: zStackCornerRadius.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 locale: zLocale.nullish(),\n})\n"],"names":["zColumnParallel","z","zDataset","zEncoding","zDimensions","zMeasureTree","zBackgroundColor","zColor","zLabel","zLegend","zTooltip","zXBandAxis","zYLinearAxis","zCrosshairRect","zStackCornerRadius","zTheme","zBarStyle","zAnnotationPoint","zAnnotationVerticalLine","zAnnotationHorizontalLine","zAnnotationArea","zLocale"],"mappings":";;;AAwBO,MAAMA,kBAAkBC,EAAE,MAAM,CAAC;IACtC,WAAWA,EAAE,OAAO,CAAC;IACrB,SAASC,SAAS,OAAO;IACzB,UAAUC,UAAU,OAAO;IAC3B,YAAYC,YAAY,OAAO;IAC/B,UAAUC,aAAa,OAAO;IAC9B,iBAAiBC,iBAAiB,OAAO;IACzC,OAAOC,OAAO,OAAO;IACrB,OAAOC,OAAO,OAAO;
|
1
|
+
{"version":3,"file":"types/chartType/columnParallel/zColumnParallel.js","sources":["webpack://@visactor/vseed/./src/types/chartType/columnParallel/zColumnParallel.ts"],"sourcesContent":["import { z } from 'zod'\nimport { zLocale } from '../../i18n'\nimport {\n zAnnotationArea,\n zAnnotationHorizontalLine,\n zAnnotationPoint,\n zAnnotationVerticalLine,\n zBackgroundColor,\n zBarStyle,\n zColor,\n zCrosshairRect,\n zDataset,\n zDimensions,\n zEncoding,\n zLabel,\n zLegend,\n zMeasureTree,\n zStackCornerRadius,\n zTheme,\n zTooltip,\n zXBandAxis,\n zYLinearAxis,\n} from '../../properties'\n\nexport const zColumnParallel = z.object({\n chartType: z.literal('columnParallel'),\n dataset: zDataset.nullish(),\n encoding: zEncoding.nullish(),\n dimensions: zDimensions.nullish(),\n measures: zMeasureTree.nullish(),\n backgroundColor: zBackgroundColor.nullish(),\n color: zColor.nullish(),\n label: zLabel.omit({ labelLayout: true }).nullish(),\n legend: zLegend.nullish(),\n tooltip: zTooltip.nullish(),\n xAxis: zXBandAxis.nullish(),\n yAxis: zYLinearAxis.nullish(),\n crosshairRect: zCrosshairRect.nullish(),\n stackCornerRadius: zStackCornerRadius.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 locale: zLocale.nullish(),\n})\n"],"names":["zColumnParallel","z","zDataset","zEncoding","zDimensions","zMeasureTree","zBackgroundColor","zColor","zLabel","zLegend","zTooltip","zXBandAxis","zYLinearAxis","zCrosshairRect","zStackCornerRadius","zTheme","zBarStyle","zAnnotationPoint","zAnnotationVerticalLine","zAnnotationHorizontalLine","zAnnotationArea","zLocale"],"mappings":";;;AAwBO,MAAMA,kBAAkBC,EAAE,MAAM,CAAC;IACtC,WAAWA,EAAE,OAAO,CAAC;IACrB,SAASC,SAAS,OAAO;IACzB,UAAUC,UAAU,OAAO;IAC3B,YAAYC,YAAY,OAAO;IAC/B,UAAUC,aAAa,OAAO;IAC9B,iBAAiBC,iBAAiB,OAAO;IACzC,OAAOC,OAAO,OAAO;IACrB,OAAOC,OAAO,IAAI,CAAC;QAAE,aAAa;IAAK,GAAG,OAAO;IACjD,QAAQC,QAAQ,OAAO;IACvB,SAASC,SAAS,OAAO;IACzB,OAAOC,WAAW,OAAO;IACzB,OAAOC,aAAa,OAAO;IAC3B,eAAeC,eAAe,OAAO;IACrC,mBAAmBC,mBAAmB,OAAO;IAC7C,OAAOC,OAAO,OAAO;IACrB,UAAUd,EAAE,KAAK,CAACe,WAAW,EAAE,CAACA,WAAW,OAAO;IAClD,iBAAiBf,EAAE,KAAK,CAACgB,kBAAkB,EAAE,CAACA,kBAAkB,OAAO;IACvE,wBAAwBhB,EAAE,KAAK,CAACiB,yBAAyB,EAAE,CAACA,yBAAyB,OAAO;IAC5F,0BAA0BjB,EAAE,KAAK,CAACkB,2BAA2B,EAAE,CAACA,2BAA2B,OAAO;IAClG,gBAAgBlB,EAAE,KAAK,CAACmB,iBAAiB,EAAE,CAACA,iBAAiB,OAAO;IACpE,QAAQC,QAAQ,OAAO;AACzB"}
|
@@ -118,10 +118,6 @@ export declare const zColumnPercent: z.ZodObject<{
|
|
118
118
|
colorMapping: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
119
119
|
}, z.core.$strip>>>;
|
120
120
|
label: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
121
|
-
enable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
122
|
-
wrap: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
123
|
-
showValue: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
124
|
-
showValuePercent: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
125
121
|
autoFormat: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
126
122
|
numFormat: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
127
123
|
type: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
@@ -153,10 +149,14 @@ export declare const zColumnPercent: z.ZodObject<{
|
|
153
149
|
halfEven: "halfEven";
|
154
150
|
}>>>;
|
155
151
|
}, z.core.$strip>>>>;
|
152
|
+
labelColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
156
153
|
labelFontSize: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
157
154
|
labelFontWeight: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
|
158
155
|
labelBackgroundColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
159
|
-
|
156
|
+
enable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
157
|
+
wrap: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
158
|
+
showValue: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
159
|
+
showValuePercent: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
160
160
|
labelColorSmartInvert: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
161
161
|
labelPosition: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
162
162
|
labelOverlap: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
@@ -9,7 +9,9 @@ const zColumnPercent = z.object({
|
|
9
9
|
measures: zMeasureTree.nullish(),
|
10
10
|
backgroundColor: zBackgroundColor.nullish(),
|
11
11
|
color: zColor.nullish(),
|
12
|
-
label: zLabel.
|
12
|
+
label: zLabel.omit({
|
13
|
+
labelLayout: true
|
14
|
+
}).nullish(),
|
13
15
|
legend: zLegend.nullish(),
|
14
16
|
tooltip: zTooltip.nullish(),
|
15
17
|
xAxis: zXBandAxis.nullish(),
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"types/chartType/columnPercent/zColumnPercent.js","sources":["webpack://@visactor/vseed/./src/types/chartType/columnPercent/zColumnPercent.ts"],"sourcesContent":["import { zLocale } from '../../i18n'\nimport {\n zAnnotationArea,\n zAnnotationHorizontalLine,\n zAnnotationPoint,\n zAnnotationVerticalLine,\n zBackgroundColor,\n zBarStyle,\n zColor,\n zCrosshairRect,\n zDataset,\n zDimensions,\n zEncoding,\n zLabel,\n zLegend,\n zMeasureTree,\n zStackCornerRadius,\n zTheme,\n zTooltip,\n zXBandAxis,\n zYLinearAxis,\n} from '../../properties'\n\nimport { z } from 'zod'\n\nexport const zColumnPercent = z.object({\n chartType: z.literal('columnPercent'),\n dataset: zDataset.nullish(),\n encoding: zEncoding.nullish(),\n dimensions: zDimensions.nullish(),\n measures: zMeasureTree.nullish(),\n backgroundColor: zBackgroundColor.nullish(),\n color: zColor.nullish(),\n label: zLabel.nullish(),\n legend: zLegend.nullish(),\n tooltip: zTooltip.nullish(),\n xAxis: zXBandAxis.nullish(),\n yAxis: zYLinearAxis.nullish(),\n crosshairRect: zCrosshairRect.nullish(),\n stackCornerRadius: zStackCornerRadius.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 locale: zLocale.nullish(),\n})\n"],"names":["zColumnPercent","z","zDataset","zEncoding","zDimensions","zMeasureTree","zBackgroundColor","zColor","zLabel","zLegend","zTooltip","zXBandAxis","zYLinearAxis","zCrosshairRect","zStackCornerRadius","zTheme","zBarStyle","zAnnotationPoint","zAnnotationVerticalLine","zAnnotationHorizontalLine","zAnnotationArea","zLocale"],"mappings":";;;AAyBO,MAAMA,iBAAiBC,EAAE,MAAM,CAAC;IACrC,WAAWA,EAAE,OAAO,CAAC;IACrB,SAASC,SAAS,OAAO;IACzB,UAAUC,UAAU,OAAO;IAC3B,YAAYC,YAAY,OAAO;IAC/B,UAAUC,aAAa,OAAO;IAC9B,iBAAiBC,iBAAiB,OAAO;IACzC,OAAOC,OAAO,OAAO;IACrB,OAAOC,OAAO,OAAO;
|
1
|
+
{"version":3,"file":"types/chartType/columnPercent/zColumnPercent.js","sources":["webpack://@visactor/vseed/./src/types/chartType/columnPercent/zColumnPercent.ts"],"sourcesContent":["import { zLocale } from '../../i18n'\nimport {\n zAnnotationArea,\n zAnnotationHorizontalLine,\n zAnnotationPoint,\n zAnnotationVerticalLine,\n zBackgroundColor,\n zBarStyle,\n zColor,\n zCrosshairRect,\n zDataset,\n zDimensions,\n zEncoding,\n zLabel,\n zLegend,\n zMeasureTree,\n zStackCornerRadius,\n zTheme,\n zTooltip,\n zXBandAxis,\n zYLinearAxis,\n} from '../../properties'\n\nimport { z } from 'zod'\n\nexport const zColumnPercent = z.object({\n chartType: z.literal('columnPercent'),\n dataset: zDataset.nullish(),\n encoding: zEncoding.nullish(),\n dimensions: zDimensions.nullish(),\n measures: zMeasureTree.nullish(),\n backgroundColor: zBackgroundColor.nullish(),\n color: zColor.nullish(),\n label: zLabel.omit({ labelLayout: true }).nullish(),\n legend: zLegend.nullish(),\n tooltip: zTooltip.nullish(),\n xAxis: zXBandAxis.nullish(),\n yAxis: zYLinearAxis.nullish(),\n crosshairRect: zCrosshairRect.nullish(),\n stackCornerRadius: zStackCornerRadius.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 locale: zLocale.nullish(),\n})\n"],"names":["zColumnPercent","z","zDataset","zEncoding","zDimensions","zMeasureTree","zBackgroundColor","zColor","zLabel","zLegend","zTooltip","zXBandAxis","zYLinearAxis","zCrosshairRect","zStackCornerRadius","zTheme","zBarStyle","zAnnotationPoint","zAnnotationVerticalLine","zAnnotationHorizontalLine","zAnnotationArea","zLocale"],"mappings":";;;AAyBO,MAAMA,iBAAiBC,EAAE,MAAM,CAAC;IACrC,WAAWA,EAAE,OAAO,CAAC;IACrB,SAASC,SAAS,OAAO;IACzB,UAAUC,UAAU,OAAO;IAC3B,YAAYC,YAAY,OAAO;IAC/B,UAAUC,aAAa,OAAO;IAC9B,iBAAiBC,iBAAiB,OAAO;IACzC,OAAOC,OAAO,OAAO;IACrB,OAAOC,OAAO,IAAI,CAAC;QAAE,aAAa;IAAK,GAAG,OAAO;IACjD,QAAQC,QAAQ,OAAO;IACvB,SAASC,SAAS,OAAO;IACzB,OAAOC,WAAW,OAAO;IACzB,OAAOC,aAAa,OAAO;IAC3B,eAAeC,eAAe,OAAO;IACrC,mBAAmBC,mBAAmB,OAAO;IAC7C,OAAOC,OAAO,OAAO;IACrB,UAAUd,EAAE,KAAK,CAACe,WAAW,EAAE,CAACA,WAAW,OAAO;IAClD,iBAAiBf,EAAE,KAAK,CAACgB,kBAAkB,EAAE,CAACA,kBAAkB,OAAO;IACvE,wBAAwBhB,EAAE,KAAK,CAACiB,yBAAyB,EAAE,CAACA,yBAAyB,OAAO;IAC5F,0BAA0BjB,EAAE,KAAK,CAACkB,2BAA2B,EAAE,CAACA,2BAA2B,OAAO;IAClG,gBAAgBlB,EAAE,KAAK,CAACmB,iBAAiB,EAAE,CAACA,iBAAiB,OAAO;IACpE,QAAQC,QAAQ,OAAO;AACzB"}
|
@@ -160,6 +160,11 @@ export declare const zDonut: z.ZodObject<{
|
|
160
160
|
labelColorSmartInvert: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
161
161
|
labelPosition: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
162
162
|
labelOverlap: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
163
|
+
labelLayout: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
164
|
+
arc: "arc";
|
165
|
+
labelLine: "labelLine";
|
166
|
+
edge: "edge";
|
167
|
+
}>>>;
|
163
168
|
}, z.core.$strip>>>;
|
164
169
|
legend: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
165
170
|
enable: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
@@ -744,10 +744,6 @@ export declare const zDualAxis: z.ZodObject<{
|
|
744
744
|
colorMapping: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
745
745
|
}, z.core.$strip>>>;
|
746
746
|
label: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
747
|
-
enable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
748
|
-
wrap: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
749
|
-
showValue: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
750
|
-
showValuePercent: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
751
747
|
autoFormat: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
752
748
|
numFormat: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
753
749
|
type: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
@@ -779,10 +775,14 @@ export declare const zDualAxis: z.ZodObject<{
|
|
779
775
|
halfEven: "halfEven";
|
780
776
|
}>>>;
|
781
777
|
}, z.core.$strip>>>>;
|
778
|
+
labelColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
782
779
|
labelFontSize: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
783
780
|
labelFontWeight: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
|
784
781
|
labelBackgroundColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
785
|
-
|
782
|
+
enable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
783
|
+
wrap: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
784
|
+
showValue: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
785
|
+
showValuePercent: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
786
786
|
labelColorSmartInvert: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
787
787
|
labelPosition: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
788
788
|
labelOverlap: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
@@ -14,7 +14,9 @@ const zDualAxis = z.object({
|
|
14
14
|
xAxis: zXBandAxis.nullish(),
|
15
15
|
backgroundColor: zBackgroundColor.nullish(),
|
16
16
|
color: zColor.nullish(),
|
17
|
-
label: zLabel.
|
17
|
+
label: zLabel.omit({
|
18
|
+
labelLayout: true
|
19
|
+
}).nullish(),
|
18
20
|
legend: zLegend.nullish(),
|
19
21
|
tooltip: zTooltip.nullish(),
|
20
22
|
crosshairRect: zCrosshairRect.nullish(),
|