@visactor/vseed 0.1.17 → 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/pipeline/rose.js +1 -3
- package/dist/esm/pipeline/spec/chart/pipeline/rose.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipeline/roseParallel.js +1 -3
- package/dist/esm/pipeline/spec/chart/pipeline/roseParallel.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/axes/index.d.ts +0 -1
- package/dist/esm/pipeline/spec/chart/pipes/axes/index.js +1 -2
- package/dist/esm/pipeline/spec/chart/pipes/axes/radius.js +2 -17
- package/dist/esm/pipeline/spec/chart/pipes/axes/radius.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/init/barParallel.js +3 -2
- package/dist/esm/pipeline/spec/chart/pipes/init/barParallel.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/init/columnParallel.js +3 -2
- package/dist/esm/pipeline/spec/chart/pipes/init/columnParallel.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/init/roseParallel.js +3 -2
- package/dist/esm/pipeline/spec/chart/pipes/init/roseParallel.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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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/donut.d.ts +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 +2 -2
- 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/pie.d.ts +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 +2 -2
- 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/chartType/table/table.d.ts +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/format/numFormat.d.ts +1 -5
- package/dist/esm/types/properties/format/numFormat.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 +260 -185
- package/dist/umd/index.js.map +1 -1
- package/package.json +3 -3
- package/dist/esm/pipeline/spec/chart/pipes/axes/angle.d.ts +0 -2
- package/dist/esm/pipeline/spec/chart/pipes/axes/angle.js +0 -46
- package/dist/esm/pipeline/spec/chart/pipes/axes/angle.js.map +0 -1
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"types/chartType/heatmap/zHeatmap.js","sources":["webpack://@visactor/vseed/./src/types/chartType/heatmap/zHeatmap.ts"],"sourcesContent":["import { z } from 'zod'\nimport { zLocale } from '../../i18n'\n\nimport {\n zBackgroundColor,\n zColor,\n zColorLegend,\n zDataset,\n zDimensions,\n zLabel,\n zMeasureTree,\n zTheme,\n zTooltip,\n} from '../../properties'\n\nexport const zHeatmap = z.object({\n chartType: z.literal('heatmap'),\n dataset: zDataset.nullish(),\n dimensions: zDimensions.nullish(),\n measures: zMeasureTree.nullish(),\n backgroundColor: zBackgroundColor.nullish(),\n color: zColor.nullish(),\n label: zLabel.nullish(),\n legend: zColorLegend.nullish(),\n tooltip: zTooltip.nullish(),\n theme: zTheme.nullish(),\n locale: zLocale.nullish(),\n})\n"],"names":["zHeatmap","z","zDataset","zDimensions","zMeasureTree","zBackgroundColor","zColor","zLabel","zColorLegend","zTooltip","zTheme","zLocale"],"mappings":";;;AAeO,MAAMA,WAAWC,EAAE,MAAM,CAAC;IAC/B,WAAWA,EAAE,OAAO,CAAC;IACrB,SAASC,SAAS,OAAO;IACzB,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/heatmap/zHeatmap.js","sources":["webpack://@visactor/vseed/./src/types/chartType/heatmap/zHeatmap.ts"],"sourcesContent":["import { z } from 'zod'\nimport { zLocale } from '../../i18n'\n\nimport {\n zBackgroundColor,\n zColor,\n zColorLegend,\n zDataset,\n zDimensions,\n zLabel,\n zMeasureTree,\n zTheme,\n zTooltip,\n} from '../../properties'\n\nexport const zHeatmap = z.object({\n chartType: z.literal('heatmap'),\n dataset: zDataset.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: zColorLegend.nullish(),\n tooltip: zTooltip.nullish(),\n theme: zTheme.nullish(),\n locale: zLocale.nullish(),\n})\n"],"names":["zHeatmap","z","zDataset","zDimensions","zMeasureTree","zBackgroundColor","zColor","zLabel","zColorLegend","zTooltip","zTheme","zLocale"],"mappings":";;;AAeO,MAAMA,WAAWC,EAAE,MAAM,CAAC;IAC/B,WAAWA,EAAE,OAAO,CAAC;IACrB,SAASC,SAAS,OAAO;IACzB,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,aAAa,OAAO;IAC5B,SAASC,SAAS,OAAO;IACzB,OAAOC,OAAO,OAAO;IACrB,QAAQC,QAAQ,OAAO;AACzB"}
|
@@ -118,10 +118,6 @@ export declare const zLine: 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 zLine: 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 zLine = 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/line/zLine.js","sources":["webpack://@visactor/vseed/./src/types/chartType/line/zLine.ts"],"sourcesContent":["import { zLocale } from '../../i18n'\nimport {\n zAnnotationArea,\n zAnnotationHorizontalLine,\n zAnnotationPoint,\n zAnnotationVerticalLine,\n zBackgroundColor,\n zColor,\n zCrosshairLine,\n zDataset,\n zDimensions,\n zEncoding,\n zLabel,\n zLegend,\n zLineStyle,\n zMeasureTree,\n zPointStyle,\n zSort,\n zSortLegend,\n zTheme,\n zTooltip,\n zXBandAxis,\n zYLinearAxis,\n} from '../../properties'\n\nimport { z } from 'zod'\n\nexport const zLine = z.object({\n chartType: z.literal('line'),\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 sort: zSort.nullish(),\n sortLegend: zSortLegend.nullish(),\n theme: zTheme.nullish(),\n pointStyle: z.array(zPointStyle).or(zPointStyle).nullish(),\n lineStyle: z.array(zLineStyle).or(zLineStyle).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":["zLine","z","zDataset","zEncoding","zDimensions","zMeasureTree","zBackgroundColor","zColor","zLabel","zLegend","zTooltip","zXBandAxis","zYLinearAxis","zCrosshairLine","zSort","zSortLegend","zTheme","zPointStyle","zLineStyle","zAnnotationPoint","zAnnotationVerticalLine","zAnnotationHorizontalLine","zAnnotationArea","zLocale"],"mappings":";;;AA2BO,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/line/zLine.js","sources":["webpack://@visactor/vseed/./src/types/chartType/line/zLine.ts"],"sourcesContent":["import { zLocale } from '../../i18n'\nimport {\n zAnnotationArea,\n zAnnotationHorizontalLine,\n zAnnotationPoint,\n zAnnotationVerticalLine,\n zBackgroundColor,\n zColor,\n zCrosshairLine,\n zDataset,\n zDimensions,\n zEncoding,\n zLabel,\n zLegend,\n zLineStyle,\n zMeasureTree,\n zPointStyle,\n zSort,\n zSortLegend,\n zTheme,\n zTooltip,\n zXBandAxis,\n zYLinearAxis,\n} from '../../properties'\n\nimport { z } from 'zod'\n\nexport const zLine = z.object({\n chartType: z.literal('line'),\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 sort: zSort.nullish(),\n sortLegend: zSortLegend.nullish(),\n theme: zTheme.nullish(),\n pointStyle: z.array(zPointStyle).or(zPointStyle).nullish(),\n lineStyle: z.array(zLineStyle).or(zLineStyle).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":["zLine","z","zDataset","zEncoding","zDimensions","zMeasureTree","zBackgroundColor","zColor","zLabel","zLegend","zTooltip","zXBandAxis","zYLinearAxis","zCrosshairLine","zSort","zSortLegend","zTheme","zPointStyle","zLineStyle","zAnnotationPoint","zAnnotationVerticalLine","zAnnotationHorizontalLine","zAnnotationArea","zLocale"],"mappings":";;;AA2BO,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,MAAMC,MAAM,OAAO;IACnB,YAAYC,YAAY,OAAO;IAC/B,OAAOC,OAAO,OAAO;IACrB,YAAYf,EAAE,KAAK,CAACgB,aAAa,EAAE,CAACA,aAAa,OAAO;IACxD,WAAWhB,EAAE,KAAK,CAACiB,YAAY,EAAE,CAACA,YAAY,OAAO;IACrD,iBAAiBjB,EAAE,KAAK,CAACkB,kBAAkB,EAAE,CAACA,kBAAkB,OAAO;IACvE,wBAAwBlB,EAAE,KAAK,CAACmB,yBAAyB,EAAE,CAACA,yBAAyB,OAAO;IAC5F,0BAA0BnB,EAAE,KAAK,CAACoB,2BAA2B,EAAE,CAACA,2BAA2B,OAAO;IAClG,gBAAgBpB,EAAE,KAAK,CAACqB,iBAAiB,EAAE,CAACA,iBAAiB,OAAO;IACpE,QAAQC,QAAQ,OAAO;AACzB"}
|
@@ -49,7 +49,7 @@ export interface Pie {
|
|
49
49
|
/**
|
50
50
|
* 指标
|
51
51
|
* @description 饼图的所有指标会自动合并为一个指标, 映射到半径轴, 存在多个指标时, 指标名称会与其余维度合并, 作为图例项展示.
|
52
|
-
* @type {
|
52
|
+
* @type {MeasureTree}
|
53
53
|
* @example [{id: 'value', alias: '数值占比', format: 'percent'}]
|
54
54
|
*/
|
55
55
|
measures?: MeasureTree;
|
@@ -160,6 +160,11 @@ export declare const zPie: 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>>>;
|
@@ -118,10 +118,6 @@ export declare const zRadar: 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 zRadar: 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 zRadar = 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
|
theme: zTheme.nullish(),
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"types/chartType/radar/zRadar.js","sources":["webpack://@visactor/vseed/./src/types/chartType/radar/zRadar.ts"],"sourcesContent":["import { z } from 'zod'\nimport { zLocale } from '../../i18n'\n\nimport {\n zBackgroundColor,\n zColor,\n zDataset,\n zDimensions,\n zEncoding,\n zLabel,\n zLegend,\n zMeasureTree,\n zTheme,\n zTooltip,\n} from '../../properties'\n\nexport const zRadar = z.object({\n chartType: z.literal('radar'),\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 theme: zTheme.nullish(),\n locale: zLocale.nullish(),\n})\n"],"names":["zRadar","z","zDataset","zEncoding","zDimensions","zMeasureTree","zBackgroundColor","zColor","zLabel","zLegend","zTooltip","zTheme","zLocale"],"mappings":";;;AAgBO,MAAMA,SAASC,EAAE,MAAM,CAAC;IAC7B,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/radar/zRadar.js","sources":["webpack://@visactor/vseed/./src/types/chartType/radar/zRadar.ts"],"sourcesContent":["import { z } from 'zod'\nimport { zLocale } from '../../i18n'\n\nimport {\n zBackgroundColor,\n zColor,\n zDataset,\n zDimensions,\n zEncoding,\n zLabel,\n zLegend,\n zMeasureTree,\n zTheme,\n zTooltip,\n} from '../../properties'\n\nexport const zRadar = z.object({\n chartType: z.literal('radar'),\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 theme: zTheme.nullish(),\n locale: zLocale.nullish(),\n})\n"],"names":["zRadar","z","zDataset","zEncoding","zDimensions","zMeasureTree","zBackgroundColor","zColor","zLabel","zLegend","zTooltip","zTheme","zLocale"],"mappings":";;;AAgBO,MAAMA,SAASC,EAAE,MAAM,CAAC;IAC7B,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,OAAO,OAAO;IACrB,QAAQC,QAAQ,OAAO;AACzB"}
|
@@ -51,7 +51,7 @@ export interface Rose {
|
|
51
51
|
/**
|
52
52
|
* 指标
|
53
53
|
* @description 玫瑰图的指标会自动合并为一个指标, 映射到半径轴, 存在多个指标时, 指标名称会与其余维度合并, 作为图例项展示.
|
54
|
-
* @type {
|
54
|
+
* @type {MeasureTree}
|
55
55
|
* @example [{id: 'value', alias: '数值'}]
|
56
56
|
*/
|
57
57
|
measures?: MeasureTree;
|
@@ -70,7 +70,7 @@ export interface Rose {
|
|
70
70
|
* 标签
|
71
71
|
* @description 标签配置, 用于定义图表的数据标签, 包括数据标签的位置, 格式, 样式等.
|
72
72
|
*/
|
73
|
-
label?: Label
|
73
|
+
label?: Omit<Label, 'labelLayout'>;
|
74
74
|
/**
|
75
75
|
* 图例
|
76
76
|
* @description 图例配置, 用于定义图表的图例, 包括图例的位置, 格式, 样式等.
|
@@ -118,10 +118,6 @@ export declare const zRose: 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 zRose: 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 zRose = 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
|
theme: zTheme.nullish(),
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"types/chartType/rose/zRose.js","sources":["webpack://@visactor/vseed/./src/types/chartType/rose/zRose.ts"],"sourcesContent":["import { z } from 'zod'\nimport { zLocale } from '../../i18n'\n\nimport {\n zBackgroundColor,\n zColor,\n zDataset,\n zDimensions,\n zEncoding,\n zLabel,\n zLegend,\n zMeasureTree,\n zTheme,\n zTooltip,\n} from '../../properties'\n\nexport const zRose = z.object({\n chartType: z.literal('rose'),\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 theme: zTheme.nullish(),\n locale: zLocale.nullish(),\n})\n"],"names":["zRose","z","zDataset","zEncoding","zDimensions","zMeasureTree","zBackgroundColor","zColor","zLabel","zLegend","zTooltip","zTheme","zLocale"],"mappings":";;;AAgBO,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/rose/zRose.js","sources":["webpack://@visactor/vseed/./src/types/chartType/rose/zRose.ts"],"sourcesContent":["import { z } from 'zod'\nimport { zLocale } from '../../i18n'\n\nimport {\n zBackgroundColor,\n zColor,\n zDataset,\n zDimensions,\n zEncoding,\n zLabel,\n zLegend,\n zMeasureTree,\n zTheme,\n zTooltip,\n} from '../../properties'\n\nexport const zRose = z.object({\n chartType: z.literal('rose'),\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 theme: zTheme.nullish(),\n locale: zLocale.nullish(),\n})\n"],"names":["zRose","z","zDataset","zEncoding","zDimensions","zMeasureTree","zBackgroundColor","zColor","zLabel","zLegend","zTooltip","zTheme","zLocale"],"mappings":";;;AAgBO,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,OAAO,OAAO;IACrB,QAAQC,QAAQ,OAAO;AACzB"}
|
@@ -118,10 +118,6 @@ export declare const zRoseParallel: 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 zRoseParallel: 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 zRoseParallel = 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
|
theme: zTheme.nullish(),
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"types/chartType/roseParallel/zRoseParallel.js","sources":["webpack://@visactor/vseed/./src/types/chartType/roseParallel/zRoseParallel.ts"],"sourcesContent":["import { z } from 'zod'\nimport { zLocale } from '../../i18n'\nimport {\n zBackgroundColor,\n zColor,\n zDataset,\n zDimensions,\n zEncoding,\n zLabel,\n zLegend,\n zMeasureTree,\n zTheme,\n zTooltip,\n} from '../../properties'\n\nexport const zRoseParallel = z.object({\n chartType: z.literal('roseParallel'),\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 theme: zTheme.nullish(),\n locale: zLocale.nullish(),\n})\n"],"names":["zRoseParallel","z","zDataset","zEncoding","zDimensions","zMeasureTree","zBackgroundColor","zColor","zLabel","zLegend","zTooltip","zTheme","zLocale"],"mappings":";;;AAeO,MAAMA,gBAAgBC,EAAE,MAAM,CAAC;IACpC,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/roseParallel/zRoseParallel.js","sources":["webpack://@visactor/vseed/./src/types/chartType/roseParallel/zRoseParallel.ts"],"sourcesContent":["import { z } from 'zod'\nimport { zLocale } from '../../i18n'\nimport {\n zBackgroundColor,\n zColor,\n zDataset,\n zDimensions,\n zEncoding,\n zLabel,\n zLegend,\n zMeasureTree,\n zTheme,\n zTooltip,\n} from '../../properties'\n\nexport const zRoseParallel = z.object({\n chartType: z.literal('roseParallel'),\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 theme: zTheme.nullish(),\n locale: zLocale.nullish(),\n})\n"],"names":["zRoseParallel","z","zDataset","zEncoding","zDimensions","zMeasureTree","zBackgroundColor","zColor","zLabel","zLegend","zTooltip","zTheme","zLocale"],"mappings":";;;AAeO,MAAMA,gBAAgBC,EAAE,MAAM,CAAC;IACpC,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,OAAO,OAAO;IACrB,QAAQC,QAAQ,OAAO;AACzB"}
|
@@ -411,10 +411,6 @@ export declare const zScatter: z.ZodObject<{
|
|
411
411
|
colorMapping: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
412
412
|
}, z.core.$strip>>>;
|
413
413
|
label: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
414
|
-
enable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
415
|
-
wrap: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
416
|
-
showValue: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
417
|
-
showValuePercent: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
418
414
|
autoFormat: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
419
415
|
numFormat: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
420
416
|
type: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
@@ -446,10 +442,14 @@ export declare const zScatter: z.ZodObject<{
|
|
446
442
|
halfEven: "halfEven";
|
447
443
|
}>>>;
|
448
444
|
}, z.core.$strip>>>>;
|
445
|
+
labelColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
449
446
|
labelFontSize: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
450
447
|
labelFontWeight: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
|
451
448
|
labelBackgroundColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
452
|
-
|
449
|
+
enable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
450
|
+
wrap: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
451
|
+
showValue: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
452
|
+
showValuePercent: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
453
453
|
labelColorSmartInvert: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
454
454
|
labelPosition: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
455
455
|
labelOverlap: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
@@ -12,7 +12,9 @@ const zScatter = z.object({
|
|
12
12
|
size: z.number().or(z.array(z.number())).nullish(),
|
13
13
|
sizeRange: z.number().or(z.array(z.number())).nullish(),
|
14
14
|
color: zColor.nullish(),
|
15
|
-
label: zLabel.
|
15
|
+
label: zLabel.omit({
|
16
|
+
labelLayout: true
|
17
|
+
}).nullish(),
|
16
18
|
legend: zLegend.nullish(),
|
17
19
|
tooltip: zTooltip.nullish(),
|
18
20
|
xAxis: zXLinearAxis.nullish(),
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"types/chartType/scatter/zScatter.js","sources":["webpack://@visactor/vseed/./src/types/chartType/scatter/zScatter.ts"],"sourcesContent":["import { z } from 'zod'\nimport { zLocale } from '../../i18n'\nimport {\n zAnnotationArea,\n zAnnotationHorizontalLine,\n zAnnotationPoint,\n zAnnotationVerticalLine,\n zBackgroundColor,\n zColor,\n zCrosshairLine,\n zDataset,\n zDimensions,\n zEncoding,\n zLabel,\n zLegend,\n zMeasureTree,\n zPointStyle,\n zScatterMeasures,\n zTheme,\n zTooltip,\n zXLinearAxis,\n zYLinearAxis,\n} from '../../properties'\n\nexport const zScatter = z.object({\n chartType: z.literal('scatter'),\n dataset: zDataset.nullish(),\n encoding: zEncoding.nullish(),\n dimensions: zDimensions.nullish(),\n measures: zMeasureTree.nullish(),\n scatterMeasures: zScatterMeasures.nullish(),\n backgroundColor: zBackgroundColor.nullish(),\n size: z.number().or(z.array(z.number())).nullish(),\n sizeRange: z.number().or(z.array(z.number())).nullish(),\n color: zColor.nullish(),\n label: zLabel.nullish(),\n legend: zLegend.nullish(),\n tooltip: zTooltip.nullish(),\n xAxis: zXLinearAxis.nullish(),\n yAxis: zYLinearAxis.nullish(),\n crosshairLine: zCrosshairLine.nullish(),\n theme: zTheme.nullish(),\n pointStyle: z.array(zPointStyle).or(zPointStyle).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":["zScatter","z","zDataset","zEncoding","zDimensions","zMeasureTree","zScatterMeasures","zBackgroundColor","zColor","zLabel","zLegend","zTooltip","zXLinearAxis","zYLinearAxis","zCrosshairLine","zTheme","zPointStyle","zAnnotationPoint","zAnnotationVerticalLine","zAnnotationHorizontalLine","zAnnotationArea","zLocale"],"mappings":";;;AAwBO,MAAMA,WAAWC,EAAE,MAAM,CAAC;IAC/B,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,iBAAiBC,iBAAiB,OAAO;IACzC,MAAMN,EAAE,MAAM,GAAG,EAAE,CAACA,EAAE,KAAK,CAACA,EAAE,MAAM,KAAK,OAAO;IAChD,WAAWA,EAAE,MAAM,GAAG,EAAE,CAACA,EAAE,KAAK,CAACA,EAAE,MAAM,KAAK,OAAO;IACrD,OAAOO,OAAO,OAAO;IACrB,OAAOC,OAAO,OAAO;
|
1
|
+
{"version":3,"file":"types/chartType/scatter/zScatter.js","sources":["webpack://@visactor/vseed/./src/types/chartType/scatter/zScatter.ts"],"sourcesContent":["import { z } from 'zod'\nimport { zLocale } from '../../i18n'\nimport {\n zAnnotationArea,\n zAnnotationHorizontalLine,\n zAnnotationPoint,\n zAnnotationVerticalLine,\n zBackgroundColor,\n zColor,\n zCrosshairLine,\n zDataset,\n zDimensions,\n zEncoding,\n zLabel,\n zLegend,\n zMeasureTree,\n zPointStyle,\n zScatterMeasures,\n zTheme,\n zTooltip,\n zXLinearAxis,\n zYLinearAxis,\n} from '../../properties'\n\nexport const zScatter = z.object({\n chartType: z.literal('scatter'),\n dataset: zDataset.nullish(),\n encoding: zEncoding.nullish(),\n dimensions: zDimensions.nullish(),\n measures: zMeasureTree.nullish(),\n scatterMeasures: zScatterMeasures.nullish(),\n backgroundColor: zBackgroundColor.nullish(),\n size: z.number().or(z.array(z.number())).nullish(),\n sizeRange: z.number().or(z.array(z.number())).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: zYLinearAxis.nullish(),\n crosshairLine: zCrosshairLine.nullish(),\n theme: zTheme.nullish(),\n pointStyle: z.array(zPointStyle).or(zPointStyle).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":["zScatter","z","zDataset","zEncoding","zDimensions","zMeasureTree","zScatterMeasures","zBackgroundColor","zColor","zLabel","zLegend","zTooltip","zXLinearAxis","zYLinearAxis","zCrosshairLine","zTheme","zPointStyle","zAnnotationPoint","zAnnotationVerticalLine","zAnnotationHorizontalLine","zAnnotationArea","zLocale"],"mappings":";;;AAwBO,MAAMA,WAAWC,EAAE,MAAM,CAAC;IAC/B,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,iBAAiBC,iBAAiB,OAAO;IACzC,MAAMN,EAAE,MAAM,GAAG,EAAE,CAACA,EAAE,KAAK,CAACA,EAAE,MAAM,KAAK,OAAO;IAChD,WAAWA,EAAE,MAAM,GAAG,EAAE,CAACA,EAAE,KAAK,CAACA,EAAE,MAAM,KAAK,OAAO;IACrD,OAAOO,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,aAAa,OAAO;IAC3B,eAAeC,eAAe,OAAO;IACrC,OAAOC,OAAO,OAAO;IACrB,YAAYd,EAAE,KAAK,CAACe,aAAa,EAAE,CAACA,aAAa,OAAO;IACxD,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"}
|