@visactor/vseed 0.1.51 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.cjs +2 -2
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/esm/builder/builder/builder.d.ts +334 -0
- package/dist/esm/pipeline/advanced/chart/pipeline/donut.js +3 -3
- package/dist/esm/pipeline/advanced/chart/pipeline/donut.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipeline/histogram.js +1 -2
- package/dist/esm/pipeline/advanced/chart/pipeline/histogram.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipeline/pie.js +3 -3
- package/dist/esm/pipeline/advanced/chart/pipeline/pie.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/encoding/pie.js +8 -6
- package/dist/esm/pipeline/advanced/chart/pipes/encoding/pie.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/markStyle/markStyle.js +3 -1
- package/dist/esm/pipeline/advanced/chart/pipes/markStyle/markStyle.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/measures/buildMeasures.js +2 -1
- package/dist/esm/pipeline/advanced/chart/pipes/measures/buildMeasures.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/reshape/pivotReshapeWithBoxplotEncoding.js +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/reshape/pivotReshapeWithBoxplotEncoding.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/reshape/pivotReshapeWithEncoding.js +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/reshape/pivotReshapeWithEncoding.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/reshape/pivotReshapeWithHistogramEncoding.js +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/reshape/pivotReshapeWithHistogramEncoding.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipeline/boxplot.js +6 -5
- package/dist/esm/pipeline/spec/chart/pipeline/boxplot.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipeline/dualAxis.js +15 -13
- package/dist/esm/pipeline/spec/chart/pipeline/dualAxis.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipeline/scatter.js +3 -1
- package/dist/esm/pipeline/spec/chart/pipeline/scatter.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/color/colorBoxPlotStyleFill.d.ts +2 -0
- package/dist/esm/pipeline/spec/chart/pipes/color/colorBoxPlotStyleFill.js +17 -0
- package/dist/esm/pipeline/spec/chart/pipes/color/colorBoxPlotStyleFill.js.map +1 -0
- package/dist/esm/pipeline/spec/chart/pipes/color/index.d.ts +1 -0
- package/dist/esm/pipeline/spec/chart/pipes/color/index.js +2 -1
- package/dist/esm/pipeline/spec/chart/pipes/crosshair/horizontalCrosshairRect.js +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/crosshair/horizontalCrosshairRect.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/crosshair/verticalCrosshairRect.js +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/crosshair/verticalCrosshairRect.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/index.d.ts +1 -0
- package/dist/esm/pipeline/spec/chart/pipes/index.js +1 -0
- package/dist/esm/pipeline/spec/chart/pipes/init/pivot.js +2 -2
- package/dist/esm/pipeline/spec/chart/pipes/init/pivot.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/markStyle/boxPlotStyle.d.ts +2 -0
- package/dist/esm/pipeline/spec/chart/pipes/markStyle/boxPlotStyle.js +52 -0
- package/dist/esm/pipeline/spec/chart/pipes/markStyle/boxPlotStyle.js.map +1 -0
- package/dist/esm/pipeline/spec/chart/pipes/markStyle/index.d.ts +2 -0
- package/dist/esm/pipeline/spec/chart/pipes/markStyle/index.js +3 -1
- package/dist/esm/pipeline/spec/chart/pipes/markStyle/outlierStyle.d.ts +2 -0
- package/dist/esm/pipeline/spec/chart/pipes/markStyle/outlierStyle.js +67 -0
- package/dist/esm/pipeline/spec/chart/pipes/markStyle/outlierStyle.js.map +1 -0
- package/dist/esm/pipeline/spec/chart/pipes/pipeFilter/areaStyleFilter.d.ts +2 -0
- package/dist/esm/pipeline/spec/chart/pipes/pipeFilter/areaStyleFilter.js +7 -0
- package/dist/esm/pipeline/spec/chart/pipes/pipeFilter/areaStyleFilter.js.map +1 -0
- package/dist/esm/pipeline/spec/chart/pipes/pipeFilter/barStyleFilter.d.ts +2 -0
- package/dist/esm/pipeline/spec/chart/pipes/pipeFilter/barStyleFilter.js +7 -0
- package/dist/esm/pipeline/spec/chart/pipes/pipeFilter/barStyleFilter.js.map +1 -0
- package/dist/esm/pipeline/spec/chart/pipes/pipeFilter/index.d.ts +4 -0
- package/dist/esm/pipeline/spec/chart/pipes/pipeFilter/index.js +4 -0
- package/dist/esm/pipeline/spec/chart/pipes/pipeFilter/lineStyleFilter.d.ts +2 -0
- package/dist/esm/pipeline/spec/chart/pipes/pipeFilter/lineStyleFilter.js +7 -0
- package/dist/esm/pipeline/spec/chart/pipes/pipeFilter/lineStyleFilter.js.map +1 -0
- package/dist/esm/pipeline/spec/chart/pipes/pipeFilter/pointStyleFilter.d.ts +2 -0
- package/dist/esm/pipeline/spec/chart/pipes/pipeFilter/pointStyleFilter.js +7 -0
- package/dist/esm/pipeline/spec/chart/pipes/pipeFilter/pointStyleFilter.js.map +1 -0
- package/dist/esm/pipeline/spec/chart/pipes/pivotChart/dimensionLinkage.js +18 -20
- package/dist/esm/pipeline/spec/chart/pipes/pivotChart/dimensionLinkage.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/pivotChart/pivotAxisStyle.js +2 -0
- package/dist/esm/pipeline/spec/chart/pipes/pivotChart/pivotAxisStyle.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/pivotChart/pivotGridStyle.js +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/pivotChart/pivotGridStyle.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/pivotChart/pivotIndicators.js +2 -2
- package/dist/esm/pipeline/spec/chart/pipes/pivotChart/pivotIndicators.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/regressionLine/columnRegressionLine.js +5 -3
- package/dist/esm/pipeline/spec/chart/pipes/regressionLine/columnRegressionLine.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/regressionLine/common.d.ts +1 -0
- package/dist/esm/pipeline/spec/chart/pipes/regressionLine/common.js +2 -1
- package/dist/esm/pipeline/spec/chart/pipes/regressionLine/common.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/regressionLine/ecdfRegressionLine.js +1 -0
- package/dist/esm/pipeline/spec/chart/pipes/regressionLine/ecdfRegressionLine.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/regressionLine/kdeRegressionLine.js +6 -1
- package/dist/esm/pipeline/spec/chart/pipes/regressionLine/kdeRegressionLine.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/regressionLine/linearRegressionLine.js +8 -3
- package/dist/esm/pipeline/spec/chart/pipes/regressionLine/linearRegressionLine.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/stack/stackCornerRadius.js +2 -3
- package/dist/esm/pipeline/spec/chart/pipes/stack/stackCornerRadius.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/tooltip/index.d.ts +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/tooltip/index.js +2 -2
- package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipDualAxis.d.ts +1 -0
- package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipDualAxis.js +16 -2
- package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipDualAxis.js.map +1 -1
- package/dist/esm/pipeline/utils/measures/find.d.ts +1 -0
- package/dist/esm/pipeline/utils/measures/find.js +13 -1
- package/dist/esm/pipeline/utils/measures/find.js.map +1 -1
- package/dist/esm/theme/common/axes.js +4 -4
- package/dist/esm/theme/common/axes.js.map +1 -1
- package/dist/esm/theme/common/boxPlot.d.ts +5 -0
- package/dist/esm/theme/common/boxPlot.js +15 -0
- package/dist/esm/theme/common/boxPlot.js.map +1 -0
- package/dist/esm/theme/common/crosshair.js +4 -4
- package/dist/esm/theme/common/crosshair.js.map +1 -1
- package/dist/esm/theme/common/table.js +2 -0
- package/dist/esm/theme/common/table.js.map +1 -1
- package/dist/esm/theme/dark/dark.js +4 -1
- package/dist/esm/theme/dark/dark.js.map +1 -1
- package/dist/esm/theme/light/light.js +4 -1
- package/dist/esm/theme/light/light.js.map +1 -1
- package/dist/esm/types/advancedVSeed.d.ts +358 -0
- package/dist/esm/types/chartType/boxplot/boxplot.d.ts +9 -1
- package/dist/esm/types/chartType/boxplot/zBoxplot.d.ts +316 -0
- package/dist/esm/types/chartType/boxplot/zBoxplot.js +3 -1
- package/dist/esm/types/chartType/boxplot/zBoxplot.js.map +1 -1
- package/dist/esm/types/properties/config/boxplot.d.ts +21 -0
- package/dist/esm/types/properties/config/boxplot.js +8 -1
- package/dist/esm/types/properties/config/boxplot.js.map +1 -1
- package/dist/esm/types/properties/config/config.d.ts +21 -0
- package/dist/esm/types/properties/markStyle/boxPlotStyle.d.ts +148 -0
- package/dist/esm/types/properties/markStyle/boxPlotStyle.js +14 -0
- package/dist/esm/types/properties/markStyle/boxPlotStyle.js.map +1 -0
- package/dist/esm/types/properties/markStyle/index.d.ts +2 -0
- package/dist/esm/types/properties/markStyle/index.js +2 -0
- package/dist/esm/types/properties/markStyle/markStyle.d.ts +316 -0
- package/dist/esm/types/properties/markStyle/markStyle.js +5 -1
- package/dist/esm/types/properties/markStyle/markStyle.js.map +1 -1
- package/dist/esm/types/properties/markStyle/outlierStyle.d.ts +161 -0
- package/dist/esm/types/properties/markStyle/outlierStyle.js +22 -0
- package/dist/esm/types/properties/markStyle/outlierStyle.js.map +1 -0
- package/dist/esm/types/properties/theme/customTheme.d.ts +42 -0
- package/dist/esm/types/zVseed.d.ts +316 -0
- package/dist/umd/index.js +330 -99
- package/dist/umd/index.js.map +1 -1
- package/package.json +3 -3
|
@@ -626,5 +626,321 @@ export declare const zMarkStyle: z.ZodObject<{
|
|
|
626
626
|
areaColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
627
627
|
areaColorOpacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
628
628
|
}, z.core.$strip>>]>>>;
|
|
629
|
+
boxPlotStyle: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodObject<{
|
|
630
|
+
selector: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
|
|
631
|
+
field: z.ZodString;
|
|
632
|
+
operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
633
|
+
"=": "=";
|
|
634
|
+
"==": "==";
|
|
635
|
+
"!=": "!=";
|
|
636
|
+
">": ">";
|
|
637
|
+
"<": "<";
|
|
638
|
+
">=": ">=";
|
|
639
|
+
"<=": "<=";
|
|
640
|
+
between: "between";
|
|
641
|
+
}>>>;
|
|
642
|
+
op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
643
|
+
"=": "=";
|
|
644
|
+
"==": "==";
|
|
645
|
+
"!=": "!=";
|
|
646
|
+
">": ">";
|
|
647
|
+
"<": "<";
|
|
648
|
+
">=": ">=";
|
|
649
|
+
"<=": "<=";
|
|
650
|
+
between: "between";
|
|
651
|
+
}>>>;
|
|
652
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
|
|
653
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
654
|
+
field: z.ZodString;
|
|
655
|
+
operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
656
|
+
in: "in";
|
|
657
|
+
"not in": "not in";
|
|
658
|
+
}>>>;
|
|
659
|
+
op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
660
|
+
in: "in";
|
|
661
|
+
"not in": "not in";
|
|
662
|
+
}>>>;
|
|
663
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
|
|
664
|
+
}, z.core.$strip>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
|
|
665
|
+
field: z.ZodString;
|
|
666
|
+
operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
667
|
+
"=": "=";
|
|
668
|
+
"==": "==";
|
|
669
|
+
"!=": "!=";
|
|
670
|
+
">": ">";
|
|
671
|
+
"<": "<";
|
|
672
|
+
">=": ">=";
|
|
673
|
+
"<=": "<=";
|
|
674
|
+
between: "between";
|
|
675
|
+
}>>>;
|
|
676
|
+
op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
677
|
+
"=": "=";
|
|
678
|
+
"==": "==";
|
|
679
|
+
"!=": "!=";
|
|
680
|
+
">": ">";
|
|
681
|
+
"<": "<";
|
|
682
|
+
">=": ">=";
|
|
683
|
+
"<=": "<=";
|
|
684
|
+
between: "between";
|
|
685
|
+
}>>>;
|
|
686
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
|
|
687
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
688
|
+
field: z.ZodString;
|
|
689
|
+
operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
690
|
+
in: "in";
|
|
691
|
+
"not in": "not in";
|
|
692
|
+
}>>>;
|
|
693
|
+
op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
694
|
+
in: "in";
|
|
695
|
+
"not in": "not in";
|
|
696
|
+
}>>>;
|
|
697
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
|
|
698
|
+
}, z.core.$strip>]>>]>>>;
|
|
699
|
+
boxVisible: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
700
|
+
boxColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
701
|
+
boxColorOpacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
702
|
+
boxBorderColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
703
|
+
boxBorderWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
704
|
+
boxBorderOpacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
705
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
706
|
+
selector: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
|
|
707
|
+
field: z.ZodString;
|
|
708
|
+
operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
709
|
+
"=": "=";
|
|
710
|
+
"==": "==";
|
|
711
|
+
"!=": "!=";
|
|
712
|
+
">": ">";
|
|
713
|
+
"<": "<";
|
|
714
|
+
">=": ">=";
|
|
715
|
+
"<=": "<=";
|
|
716
|
+
between: "between";
|
|
717
|
+
}>>>;
|
|
718
|
+
op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
719
|
+
"=": "=";
|
|
720
|
+
"==": "==";
|
|
721
|
+
"!=": "!=";
|
|
722
|
+
">": ">";
|
|
723
|
+
"<": "<";
|
|
724
|
+
">=": ">=";
|
|
725
|
+
"<=": "<=";
|
|
726
|
+
between: "between";
|
|
727
|
+
}>>>;
|
|
728
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
|
|
729
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
730
|
+
field: z.ZodString;
|
|
731
|
+
operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
732
|
+
in: "in";
|
|
733
|
+
"not in": "not in";
|
|
734
|
+
}>>>;
|
|
735
|
+
op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
736
|
+
in: "in";
|
|
737
|
+
"not in": "not in";
|
|
738
|
+
}>>>;
|
|
739
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
|
|
740
|
+
}, z.core.$strip>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
|
|
741
|
+
field: z.ZodString;
|
|
742
|
+
operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
743
|
+
"=": "=";
|
|
744
|
+
"==": "==";
|
|
745
|
+
"!=": "!=";
|
|
746
|
+
">": ">";
|
|
747
|
+
"<": "<";
|
|
748
|
+
">=": ">=";
|
|
749
|
+
"<=": "<=";
|
|
750
|
+
between: "between";
|
|
751
|
+
}>>>;
|
|
752
|
+
op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
753
|
+
"=": "=";
|
|
754
|
+
"==": "==";
|
|
755
|
+
"!=": "!=";
|
|
756
|
+
">": ">";
|
|
757
|
+
"<": "<";
|
|
758
|
+
">=": ">=";
|
|
759
|
+
"<=": "<=";
|
|
760
|
+
between: "between";
|
|
761
|
+
}>>>;
|
|
762
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
|
|
763
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
764
|
+
field: z.ZodString;
|
|
765
|
+
operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
766
|
+
in: "in";
|
|
767
|
+
"not in": "not in";
|
|
768
|
+
}>>>;
|
|
769
|
+
op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
770
|
+
in: "in";
|
|
771
|
+
"not in": "not in";
|
|
772
|
+
}>>>;
|
|
773
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
|
|
774
|
+
}, z.core.$strip>]>>]>>>;
|
|
775
|
+
boxVisible: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
776
|
+
boxColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
777
|
+
boxColorOpacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
778
|
+
boxBorderColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
779
|
+
boxBorderWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
780
|
+
boxBorderOpacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
781
|
+
}, z.core.$strip>>]>>>;
|
|
782
|
+
outlierStyle: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodObject<{
|
|
783
|
+
selector: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
|
|
784
|
+
field: z.ZodString;
|
|
785
|
+
operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
786
|
+
"=": "=";
|
|
787
|
+
"==": "==";
|
|
788
|
+
"!=": "!=";
|
|
789
|
+
">": ">";
|
|
790
|
+
"<": "<";
|
|
791
|
+
">=": ">=";
|
|
792
|
+
"<=": "<=";
|
|
793
|
+
between: "between";
|
|
794
|
+
}>>>;
|
|
795
|
+
op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
796
|
+
"=": "=";
|
|
797
|
+
"==": "==";
|
|
798
|
+
"!=": "!=";
|
|
799
|
+
">": ">";
|
|
800
|
+
"<": "<";
|
|
801
|
+
">=": ">=";
|
|
802
|
+
"<=": "<=";
|
|
803
|
+
between: "between";
|
|
804
|
+
}>>>;
|
|
805
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
|
|
806
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
807
|
+
field: z.ZodString;
|
|
808
|
+
operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
809
|
+
in: "in";
|
|
810
|
+
"not in": "not in";
|
|
811
|
+
}>>>;
|
|
812
|
+
op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
813
|
+
in: "in";
|
|
814
|
+
"not in": "not in";
|
|
815
|
+
}>>>;
|
|
816
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
|
|
817
|
+
}, z.core.$strip>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
|
|
818
|
+
field: z.ZodString;
|
|
819
|
+
operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
820
|
+
"=": "=";
|
|
821
|
+
"==": "==";
|
|
822
|
+
"!=": "!=";
|
|
823
|
+
">": ">";
|
|
824
|
+
"<": "<";
|
|
825
|
+
">=": ">=";
|
|
826
|
+
"<=": "<=";
|
|
827
|
+
between: "between";
|
|
828
|
+
}>>>;
|
|
829
|
+
op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
830
|
+
"=": "=";
|
|
831
|
+
"==": "==";
|
|
832
|
+
"!=": "!=";
|
|
833
|
+
">": ">";
|
|
834
|
+
"<": "<";
|
|
835
|
+
">=": ">=";
|
|
836
|
+
"<=": "<=";
|
|
837
|
+
between: "between";
|
|
838
|
+
}>>>;
|
|
839
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
|
|
840
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
841
|
+
field: z.ZodString;
|
|
842
|
+
operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
843
|
+
in: "in";
|
|
844
|
+
"not in": "not in";
|
|
845
|
+
}>>>;
|
|
846
|
+
op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
847
|
+
in: "in";
|
|
848
|
+
"not in": "not in";
|
|
849
|
+
}>>>;
|
|
850
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
|
|
851
|
+
}, z.core.$strip>]>>]>>;
|
|
852
|
+
pointVisible: z.ZodOptional<z.ZodBoolean>;
|
|
853
|
+
pointSize: z.ZodOptional<z.ZodNumber>;
|
|
854
|
+
pointColor: z.ZodOptional<z.ZodString>;
|
|
855
|
+
pointColorOpacity: z.ZodOptional<z.ZodNumber>;
|
|
856
|
+
pointBorderColor: z.ZodOptional<z.ZodString>;
|
|
857
|
+
pointBorderWidth: z.ZodOptional<z.ZodNumber>;
|
|
858
|
+
pointBorderStyle: z.ZodOptional<z.ZodEnum<{
|
|
859
|
+
solid: "solid";
|
|
860
|
+
dashed: "dashed";
|
|
861
|
+
dotted: "dotted";
|
|
862
|
+
}>>;
|
|
863
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
864
|
+
selector: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
|
|
865
|
+
field: z.ZodString;
|
|
866
|
+
operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
867
|
+
"=": "=";
|
|
868
|
+
"==": "==";
|
|
869
|
+
"!=": "!=";
|
|
870
|
+
">": ">";
|
|
871
|
+
"<": "<";
|
|
872
|
+
">=": ">=";
|
|
873
|
+
"<=": "<=";
|
|
874
|
+
between: "between";
|
|
875
|
+
}>>>;
|
|
876
|
+
op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
877
|
+
"=": "=";
|
|
878
|
+
"==": "==";
|
|
879
|
+
"!=": "!=";
|
|
880
|
+
">": ">";
|
|
881
|
+
"<": "<";
|
|
882
|
+
">=": ">=";
|
|
883
|
+
"<=": "<=";
|
|
884
|
+
between: "between";
|
|
885
|
+
}>>>;
|
|
886
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
|
|
887
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
888
|
+
field: z.ZodString;
|
|
889
|
+
operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
890
|
+
in: "in";
|
|
891
|
+
"not in": "not in";
|
|
892
|
+
}>>>;
|
|
893
|
+
op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
894
|
+
in: "in";
|
|
895
|
+
"not in": "not in";
|
|
896
|
+
}>>>;
|
|
897
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
|
|
898
|
+
}, z.core.$strip>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
|
|
899
|
+
field: z.ZodString;
|
|
900
|
+
operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
901
|
+
"=": "=";
|
|
902
|
+
"==": "==";
|
|
903
|
+
"!=": "!=";
|
|
904
|
+
">": ">";
|
|
905
|
+
"<": "<";
|
|
906
|
+
">=": ">=";
|
|
907
|
+
"<=": "<=";
|
|
908
|
+
between: "between";
|
|
909
|
+
}>>>;
|
|
910
|
+
op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
911
|
+
"=": "=";
|
|
912
|
+
"==": "==";
|
|
913
|
+
"!=": "!=";
|
|
914
|
+
">": ">";
|
|
915
|
+
"<": "<";
|
|
916
|
+
">=": ">=";
|
|
917
|
+
"<=": "<=";
|
|
918
|
+
between: "between";
|
|
919
|
+
}>>>;
|
|
920
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
|
|
921
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
922
|
+
field: z.ZodString;
|
|
923
|
+
operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
924
|
+
in: "in";
|
|
925
|
+
"not in": "not in";
|
|
926
|
+
}>>>;
|
|
927
|
+
op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
928
|
+
in: "in";
|
|
929
|
+
"not in": "not in";
|
|
930
|
+
}>>>;
|
|
931
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
|
|
932
|
+
}, z.core.$strip>]>>]>>;
|
|
933
|
+
pointVisible: z.ZodOptional<z.ZodBoolean>;
|
|
934
|
+
pointSize: z.ZodOptional<z.ZodNumber>;
|
|
935
|
+
pointColor: z.ZodOptional<z.ZodString>;
|
|
936
|
+
pointColorOpacity: z.ZodOptional<z.ZodNumber>;
|
|
937
|
+
pointBorderColor: z.ZodOptional<z.ZodString>;
|
|
938
|
+
pointBorderWidth: z.ZodOptional<z.ZodNumber>;
|
|
939
|
+
pointBorderStyle: z.ZodOptional<z.ZodEnum<{
|
|
940
|
+
solid: "solid";
|
|
941
|
+
dashed: "dashed";
|
|
942
|
+
dotted: "dotted";
|
|
943
|
+
}>>;
|
|
944
|
+
}, z.core.$strip>>]>>>;
|
|
629
945
|
}, z.core.$strip>;
|
|
630
946
|
export type MarkStyle = z.infer<typeof zMarkStyle>;
|
|
@@ -3,11 +3,15 @@ import { zBarStyle } from "./barStyle.js";
|
|
|
3
3
|
import { zPointStyle } from "./pointStyle.js";
|
|
4
4
|
import { zLineStyle } from "./lineStyle.js";
|
|
5
5
|
import { zAreaStyle } from "./zAreaStyle.js";
|
|
6
|
+
import { zBoxPlotStyle } from "./boxPlotStyle.js";
|
|
7
|
+
import { zOutlierStyle } from "./outlierStyle.js";
|
|
6
8
|
const zMarkStyle = z.object({
|
|
7
9
|
barStyle: zBarStyle.or(z.array(zBarStyle)).nullish(),
|
|
8
10
|
pointStyle: zPointStyle.or(z.array(zPointStyle)).nullish(),
|
|
9
11
|
lineStyle: zLineStyle.or(z.array(zLineStyle)).nullish(),
|
|
10
|
-
areaStyle: zAreaStyle.or(z.array(zAreaStyle)).nullish()
|
|
12
|
+
areaStyle: zAreaStyle.or(z.array(zAreaStyle)).nullish(),
|
|
13
|
+
boxPlotStyle: zBoxPlotStyle.or(z.array(zBoxPlotStyle)).nullish(),
|
|
14
|
+
outlierStyle: zOutlierStyle.or(z.array(zOutlierStyle)).nullish()
|
|
11
15
|
});
|
|
12
16
|
export { zMarkStyle };
|
|
13
17
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types/properties/markStyle/markStyle.js","sources":["webpack://@visactor/vseed/./src/types/properties/markStyle/markStyle.ts"],"sourcesContent":["import { z } from 'zod'\nimport { zBarStyle } from './barStyle'\nimport { zPointStyle } from './pointStyle'\nimport { zLineStyle } from './lineStyle'\nimport { zAreaStyle } from './zAreaStyle'\n\nexport const zMarkStyle = z.object({\n barStyle: zBarStyle.or(z.array(zBarStyle)).nullish(),\n pointStyle: zPointStyle.or(z.array(zPointStyle)).nullish(),\n lineStyle: zLineStyle.or(z.array(zLineStyle)).nullish(),\n areaStyle: zAreaStyle.or(z.array(zAreaStyle)).nullish(),\n})\n\nexport type MarkStyle = z.infer<typeof zMarkStyle>\n"],"names":["zMarkStyle","z","zBarStyle","zPointStyle","zLineStyle","zAreaStyle"],"mappings":"
|
|
1
|
+
{"version":3,"file":"types/properties/markStyle/markStyle.js","sources":["webpack://@visactor/vseed/./src/types/properties/markStyle/markStyle.ts"],"sourcesContent":["import { z } from 'zod'\nimport { zBarStyle } from './barStyle'\nimport { zPointStyle } from './pointStyle'\nimport { zLineStyle } from './lineStyle'\nimport { zAreaStyle } from './zAreaStyle'\nimport { zBoxPlotStyle } from './boxPlotStyle'\nimport { zOutlierStyle } from './outlierStyle'\n\nexport const zMarkStyle = z.object({\n barStyle: zBarStyle.or(z.array(zBarStyle)).nullish(),\n pointStyle: zPointStyle.or(z.array(zPointStyle)).nullish(),\n lineStyle: zLineStyle.or(z.array(zLineStyle)).nullish(),\n areaStyle: zAreaStyle.or(z.array(zAreaStyle)).nullish(),\n boxPlotStyle: zBoxPlotStyle.or(z.array(zBoxPlotStyle)).nullish(),\n outlierStyle: zOutlierStyle.or(z.array(zOutlierStyle)).nullish(),\n})\n\nexport type MarkStyle = z.infer<typeof zMarkStyle>\n"],"names":["zMarkStyle","z","zBarStyle","zPointStyle","zLineStyle","zAreaStyle","zBoxPlotStyle","zOutlierStyle"],"mappings":";;;;;;;AAQO,MAAMA,aAAaC,EAAE,MAAM,CAAC;IACjC,UAAUC,UAAU,EAAE,CAACD,EAAE,KAAK,CAACC,YAAY,OAAO;IAClD,YAAYC,YAAY,EAAE,CAACF,EAAE,KAAK,CAACE,cAAc,OAAO;IACxD,WAAWC,WAAW,EAAE,CAACH,EAAE,KAAK,CAACG,aAAa,OAAO;IACrD,WAAWC,WAAW,EAAE,CAACJ,EAAE,KAAK,CAACI,aAAa,OAAO;IACrD,cAAcC,cAAc,EAAE,CAACL,EAAE,KAAK,CAACK,gBAAgB,OAAO;IAC9D,cAAcC,cAAc,EAAE,CAACN,EAAE,KAAK,CAACM,gBAAgB,OAAO;AAChE"}
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { type Selector, type Selectors } from '../../dataSelector';
|
|
3
|
+
export type OutlierStyle = {
|
|
4
|
+
/**
|
|
5
|
+
* 数据选择器
|
|
6
|
+
* @description
|
|
7
|
+
* 若配置selector, 提供数值 selector, 局部数据 selector, 条件维度 selector, 条件指标 selector 共四类数据匹配能力
|
|
8
|
+
* 若未配置selector, 则样式全局生效.
|
|
9
|
+
* @type {Selector | Selectors}
|
|
10
|
+
* @example 数值选择器
|
|
11
|
+
* selector = "tool"
|
|
12
|
+
* selector = ["tool", "book"]
|
|
13
|
+
* selector = 100
|
|
14
|
+
* selector = [100, 200]
|
|
15
|
+
* @example 局部数据选择器
|
|
16
|
+
* selector = { profit: 100 }
|
|
17
|
+
* selector = [{ profit: 100 }, { profit: 200 }]
|
|
18
|
+
* @example 条件维度选择器
|
|
19
|
+
* selector = {
|
|
20
|
+
* field: 'category',
|
|
21
|
+
* operator: 'in',
|
|
22
|
+
* value: 'tool'
|
|
23
|
+
* }
|
|
24
|
+
* selector = {
|
|
25
|
+
* field: 'category',
|
|
26
|
+
* operator: 'not in',
|
|
27
|
+
* value: 'book'
|
|
28
|
+
* }
|
|
29
|
+
* @example 条件指标选择器
|
|
30
|
+
* selector = {
|
|
31
|
+
* field: 'profit',
|
|
32
|
+
* operator: '>=',
|
|
33
|
+
* value: 100
|
|
34
|
+
* }
|
|
35
|
+
* selector = {
|
|
36
|
+
* field: 'profit',
|
|
37
|
+
* operator: 'between'
|
|
38
|
+
* value: [100, 300]
|
|
39
|
+
* }
|
|
40
|
+
*/
|
|
41
|
+
selector?: Selector | Selectors;
|
|
42
|
+
/**
|
|
43
|
+
* @description 点是否可见
|
|
44
|
+
*/
|
|
45
|
+
pointVisible?: boolean;
|
|
46
|
+
/**
|
|
47
|
+
* 点大小
|
|
48
|
+
* @description 点大小
|
|
49
|
+
*/
|
|
50
|
+
pointSize?: number;
|
|
51
|
+
/**
|
|
52
|
+
* 点图元颜色
|
|
53
|
+
* @description 点图元颜色
|
|
54
|
+
*/
|
|
55
|
+
pointColor?: string;
|
|
56
|
+
/**
|
|
57
|
+
* 点图元颜色透明度
|
|
58
|
+
* @description 点图元颜色透明度
|
|
59
|
+
*/
|
|
60
|
+
pointColorOpacity?: number;
|
|
61
|
+
/**
|
|
62
|
+
* 点图元边框颜色
|
|
63
|
+
* @description 点图元边框颜色
|
|
64
|
+
*/
|
|
65
|
+
pointBorderColor?: string;
|
|
66
|
+
/**
|
|
67
|
+
* 点图元边框宽度
|
|
68
|
+
* @description 点图元边框宽度
|
|
69
|
+
*/
|
|
70
|
+
pointBorderWidth?: number;
|
|
71
|
+
/**
|
|
72
|
+
* 点图元边框样式
|
|
73
|
+
* @description 点图元边框样式
|
|
74
|
+
* @example solid
|
|
75
|
+
* @example dashed
|
|
76
|
+
* @example dotted
|
|
77
|
+
*/
|
|
78
|
+
pointBorderStyle?: 'solid' | 'dashed' | 'dotted';
|
|
79
|
+
};
|
|
80
|
+
export declare const zOutlierStyle: z.ZodObject<{
|
|
81
|
+
selector: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
|
|
82
|
+
field: z.ZodString;
|
|
83
|
+
operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
84
|
+
"=": "=";
|
|
85
|
+
"==": "==";
|
|
86
|
+
"!=": "!=";
|
|
87
|
+
">": ">";
|
|
88
|
+
"<": "<";
|
|
89
|
+
">=": ">=";
|
|
90
|
+
"<=": "<=";
|
|
91
|
+
between: "between";
|
|
92
|
+
}>>>;
|
|
93
|
+
op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
94
|
+
"=": "=";
|
|
95
|
+
"==": "==";
|
|
96
|
+
"!=": "!=";
|
|
97
|
+
">": ">";
|
|
98
|
+
"<": "<";
|
|
99
|
+
">=": ">=";
|
|
100
|
+
"<=": "<=";
|
|
101
|
+
between: "between";
|
|
102
|
+
}>>>;
|
|
103
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
|
|
104
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
105
|
+
field: z.ZodString;
|
|
106
|
+
operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
107
|
+
in: "in";
|
|
108
|
+
"not in": "not in";
|
|
109
|
+
}>>>;
|
|
110
|
+
op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
111
|
+
in: "in";
|
|
112
|
+
"not in": "not in";
|
|
113
|
+
}>>>;
|
|
114
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
|
|
115
|
+
}, z.core.$strip>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
|
|
116
|
+
field: z.ZodString;
|
|
117
|
+
operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
118
|
+
"=": "=";
|
|
119
|
+
"==": "==";
|
|
120
|
+
"!=": "!=";
|
|
121
|
+
">": ">";
|
|
122
|
+
"<": "<";
|
|
123
|
+
">=": ">=";
|
|
124
|
+
"<=": "<=";
|
|
125
|
+
between: "between";
|
|
126
|
+
}>>>;
|
|
127
|
+
op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
128
|
+
"=": "=";
|
|
129
|
+
"==": "==";
|
|
130
|
+
"!=": "!=";
|
|
131
|
+
">": ">";
|
|
132
|
+
"<": "<";
|
|
133
|
+
">=": ">=";
|
|
134
|
+
"<=": "<=";
|
|
135
|
+
between: "between";
|
|
136
|
+
}>>>;
|
|
137
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
|
|
138
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
139
|
+
field: z.ZodString;
|
|
140
|
+
operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
141
|
+
in: "in";
|
|
142
|
+
"not in": "not in";
|
|
143
|
+
}>>>;
|
|
144
|
+
op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
145
|
+
in: "in";
|
|
146
|
+
"not in": "not in";
|
|
147
|
+
}>>>;
|
|
148
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
|
|
149
|
+
}, z.core.$strip>]>>]>>;
|
|
150
|
+
pointVisible: z.ZodOptional<z.ZodBoolean>;
|
|
151
|
+
pointSize: z.ZodOptional<z.ZodNumber>;
|
|
152
|
+
pointColor: z.ZodOptional<z.ZodString>;
|
|
153
|
+
pointColorOpacity: z.ZodOptional<z.ZodNumber>;
|
|
154
|
+
pointBorderColor: z.ZodOptional<z.ZodString>;
|
|
155
|
+
pointBorderWidth: z.ZodOptional<z.ZodNumber>;
|
|
156
|
+
pointBorderStyle: z.ZodOptional<z.ZodEnum<{
|
|
157
|
+
solid: "solid";
|
|
158
|
+
dashed: "dashed";
|
|
159
|
+
dotted: "dotted";
|
|
160
|
+
}>>;
|
|
161
|
+
}, z.core.$strip>;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import { zSelector, zSelectors } from "../../dataSelector/index.js";
|
|
3
|
+
const zOutlierStyle = z.object({
|
|
4
|
+
selector: z.union([
|
|
5
|
+
zSelector,
|
|
6
|
+
zSelectors
|
|
7
|
+
]).optional(),
|
|
8
|
+
pointVisible: z.boolean().optional(),
|
|
9
|
+
pointSize: z.number().optional(),
|
|
10
|
+
pointColor: z.string().optional(),
|
|
11
|
+
pointColorOpacity: z.number().min(0).max(1).optional(),
|
|
12
|
+
pointBorderColor: z.string().optional(),
|
|
13
|
+
pointBorderWidth: z.number().min(0).optional(),
|
|
14
|
+
pointBorderStyle: z["enum"]([
|
|
15
|
+
'solid',
|
|
16
|
+
'dashed',
|
|
17
|
+
'dotted'
|
|
18
|
+
]).optional()
|
|
19
|
+
});
|
|
20
|
+
export { zOutlierStyle };
|
|
21
|
+
|
|
22
|
+
//# sourceMappingURL=outlierStyle.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types/properties/markStyle/outlierStyle.js","sources":["webpack://@visactor/vseed/./src/types/properties/markStyle/outlierStyle.ts"],"sourcesContent":["import { z } from 'zod'\nimport { zSelector, zSelectors, type Selector, type Selectors } from '../../dataSelector'\n\nexport type OutlierStyle = {\n /**\n * 数据选择器\n * @description\n * 若配置selector, 提供数值 selector, 局部数据 selector, 条件维度 selector, 条件指标 selector 共四类数据匹配能力\n * 若未配置selector, 则样式全局生效.\n * @type {Selector | Selectors}\n * @example 数值选择器\n * selector = \"tool\"\n * selector = [\"tool\", \"book\"]\n * selector = 100\n * selector = [100, 200]\n * @example 局部数据选择器\n * selector = { profit: 100 }\n * selector = [{ profit: 100 }, { profit: 200 }]\n * @example 条件维度选择器\n * selector = {\n * field: 'category',\n * operator: 'in',\n * value: 'tool'\n * }\n * selector = {\n * field: 'category',\n * operator: 'not in',\n * value: 'book'\n * }\n * @example 条件指标选择器\n * selector = {\n * field: 'profit',\n * operator: '>=',\n * value: 100\n * }\n * selector = {\n * field: 'profit',\n * operator: 'between'\n * value: [100, 300]\n * }\n */\n selector?: Selector | Selectors\n\n /**\n * @description 点是否可见\n */\n pointVisible?: boolean\n /**\n * 点大小\n * @description 点大小\n */\n pointSize?: number\n /**\n * 点图元颜色\n * @description 点图元颜色\n */\n pointColor?: string\n /**\n * 点图元颜色透明度\n * @description 点图元颜色透明度\n */\n pointColorOpacity?: number\n /**\n * 点图元边框颜色\n * @description 点图元边框颜色\n */\n pointBorderColor?: string\n /**\n * 点图元边框宽度\n * @description 点图元边框宽度\n */\n pointBorderWidth?: number\n /**\n * 点图元边框样式\n * @description 点图元边框样式\n * @example solid\n * @example dashed\n * @example dotted\n */\n pointBorderStyle?: 'solid' | 'dashed' | 'dotted'\n}\n\nexport const zOutlierStyle = z.object({\n selector: z.union([zSelector, zSelectors]).optional(),\n pointVisible: z.boolean().optional(),\n pointSize: z.number().optional(),\n pointColor: z.string().optional(),\n pointColorOpacity: z.number().min(0).max(1).optional(),\n pointBorderColor: z.string().optional(),\n pointBorderWidth: z.number().min(0).optional(),\n pointBorderStyle: z.enum(['solid', 'dashed', 'dotted']).optional(),\n})\n"],"names":["zOutlierStyle","z","zSelector","zSelectors"],"mappings":";;AAkFO,MAAMA,gBAAgBC,EAAE,MAAM,CAAC;IACpC,UAAUA,EAAE,KAAK,CAAC;QAACC;QAAWC;KAAW,EAAE,QAAQ;IACnD,cAAcF,EAAE,OAAO,GAAG,QAAQ;IAClC,WAAWA,EAAE,MAAM,GAAG,QAAQ;IAC9B,YAAYA,EAAE,MAAM,GAAG,QAAQ;IAC/B,mBAAmBA,EAAE,MAAM,GAAG,GAAG,CAAC,GAAG,GAAG,CAAC,GAAG,QAAQ;IACpD,kBAAkBA,EAAE,MAAM,GAAG,QAAQ;IACrC,kBAAkBA,EAAE,MAAM,GAAG,GAAG,CAAC,GAAG,QAAQ;IAC5C,kBAAkBA,CAAC,CAADA,OAAM,CAAC;QAAC;QAAS;QAAU;KAAS,EAAE,QAAQ;AAClE"}
|
|
@@ -7093,6 +7093,27 @@ export declare const zCustomThemeConfig: z.ZodObject<{
|
|
|
7093
7093
|
showTooltip: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
7094
7094
|
showLabel: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
7095
7095
|
}, z.core.$strip>>>;
|
|
7096
|
+
boxPlotStyle: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
7097
|
+
boxVisible: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
7098
|
+
boxColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7099
|
+
boxColorOpacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
7100
|
+
boxBorderColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7101
|
+
boxBorderWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
7102
|
+
boxBorderOpacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
7103
|
+
}, z.core.$strip>>>;
|
|
7104
|
+
outlierStyle: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
7105
|
+
pointVisible: z.ZodOptional<z.ZodBoolean>;
|
|
7106
|
+
pointSize: z.ZodOptional<z.ZodNumber>;
|
|
7107
|
+
pointColor: z.ZodOptional<z.ZodString>;
|
|
7108
|
+
pointColorOpacity: z.ZodOptional<z.ZodNumber>;
|
|
7109
|
+
pointBorderColor: z.ZodOptional<z.ZodString>;
|
|
7110
|
+
pointBorderWidth: z.ZodOptional<z.ZodNumber>;
|
|
7111
|
+
pointBorderStyle: z.ZodOptional<z.ZodEnum<{
|
|
7112
|
+
solid: "solid";
|
|
7113
|
+
dashed: "dashed";
|
|
7114
|
+
dotted: "dotted";
|
|
7115
|
+
}>>;
|
|
7116
|
+
}, z.core.$strip>>>;
|
|
7096
7117
|
}, z.core.$strip>>>;
|
|
7097
7118
|
histogram: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
7098
7119
|
backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>>>;
|
|
@@ -14753,6 +14774,27 @@ export declare const zCustomTheme: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.Zod
|
|
|
14753
14774
|
showTooltip: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
14754
14775
|
showLabel: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
14755
14776
|
}, z.core.$strip>>>;
|
|
14777
|
+
boxPlotStyle: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
14778
|
+
boxVisible: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
14779
|
+
boxColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14780
|
+
boxColorOpacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
14781
|
+
boxBorderColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14782
|
+
boxBorderWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
14783
|
+
boxBorderOpacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
14784
|
+
}, z.core.$strip>>>;
|
|
14785
|
+
outlierStyle: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
14786
|
+
pointVisible: z.ZodOptional<z.ZodBoolean>;
|
|
14787
|
+
pointSize: z.ZodOptional<z.ZodNumber>;
|
|
14788
|
+
pointColor: z.ZodOptional<z.ZodString>;
|
|
14789
|
+
pointColorOpacity: z.ZodOptional<z.ZodNumber>;
|
|
14790
|
+
pointBorderColor: z.ZodOptional<z.ZodString>;
|
|
14791
|
+
pointBorderWidth: z.ZodOptional<z.ZodNumber>;
|
|
14792
|
+
pointBorderStyle: z.ZodOptional<z.ZodEnum<{
|
|
14793
|
+
solid: "solid";
|
|
14794
|
+
dashed: "dashed";
|
|
14795
|
+
dotted: "dotted";
|
|
14796
|
+
}>>;
|
|
14797
|
+
}, z.core.$strip>>>;
|
|
14756
14798
|
}, z.core.$strip>>>;
|
|
14757
14799
|
histogram: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
14758
14800
|
backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>>>;
|