@visactor/vseed 0.3.10 → 0.3.12
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 +1428 -0
- package/dist/esm/pipeline/advanced/chart/pipes/config/boxplot.js +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/config/boxplot.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/config/column.js +3 -2
- package/dist/esm/pipeline/advanced/chart/pipes/config/column.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/config/dualAxis.js +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/config/dualAxis.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/config/heatmap.js +3 -2
- package/dist/esm/pipeline/advanced/chart/pipes/config/heatmap.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/config/histogram.js +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/config/histogram.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/config/line.js +3 -2
- package/dist/esm/pipeline/advanced/chart/pipes/config/line.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/config/pie.js +2 -1
- package/dist/esm/pipeline/advanced/chart/pipes/config/pie.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/config/scatter.js +2 -1
- package/dist/esm/pipeline/advanced/chart/pipes/config/scatter.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/player/playerAdapter.js +51 -5
- package/dist/esm/pipeline/spec/chart/pipes/player/playerAdapter.js.map +1 -1
- package/dist/esm/theme/common/index.d.ts +1 -0
- package/dist/esm/theme/common/index.js +1 -0
- package/dist/esm/theme/common/player.d.ts +3 -0
- package/dist/esm/theme/common/player.js +39 -0
- package/dist/esm/theme/common/player.js.map +1 -0
- package/dist/esm/theme/dark/dark.js +33 -15
- package/dist/esm/theme/dark/dark.js.map +1 -1
- package/dist/esm/theme/light/light.js +18 -1
- package/dist/esm/theme/light/light.js.map +1 -1
- package/dist/esm/types/advancedVSeed.d.ts +646 -0
- package/dist/esm/types/chartType/column/zColumn.d.ts +14 -0
- package/dist/esm/types/chartType/columnParallel/zColumnParallel.d.ts +14 -0
- package/dist/esm/types/properties/config/area.d.ts +38 -0
- package/dist/esm/types/properties/config/area.js +2 -0
- package/dist/esm/types/properties/config/area.js.map +1 -1
- package/dist/esm/types/properties/config/bar.d.ts +57 -0
- package/dist/esm/types/properties/config/bar.js +2 -0
- package/dist/esm/types/properties/config/bar.js.map +1 -1
- package/dist/esm/types/properties/config/column.d.ts +57 -0
- package/dist/esm/types/properties/config/column.js +2 -0
- package/dist/esm/types/properties/config/column.js.map +1 -1
- package/dist/esm/types/properties/config/config.d.ts +323 -0
- package/dist/esm/types/properties/config/funnel.d.ts +19 -0
- package/dist/esm/types/properties/config/funnel.js +2 -0
- package/dist/esm/types/properties/config/funnel.js.map +1 -1
- package/dist/esm/types/properties/config/heatmap.d.ts +19 -0
- package/dist/esm/types/properties/config/heatmap.js +2 -0
- package/dist/esm/types/properties/config/heatmap.js.map +1 -1
- package/dist/esm/types/properties/config/line.d.ts +19 -0
- package/dist/esm/types/properties/config/line.js +3 -1
- package/dist/esm/types/properties/config/line.js.map +1 -1
- package/dist/esm/types/properties/config/pie.d.ts +57 -0
- package/dist/esm/types/properties/config/pie.js +2 -0
- package/dist/esm/types/properties/config/pie.js.map +1 -1
- package/dist/esm/types/properties/config/player/player.d.ts +54 -0
- package/dist/esm/types/properties/config/player/zPlayer.d.ts +20 -0
- package/dist/esm/types/properties/config/player/zPlayer.js +23 -0
- package/dist/esm/types/properties/config/player/zPlayer.js.map +1 -0
- package/dist/esm/types/properties/config/rose.d.ts +38 -0
- package/dist/esm/types/properties/config/rose.js +2 -0
- package/dist/esm/types/properties/config/rose.js.map +1 -1
- package/dist/esm/types/properties/config/scatter.d.ts +19 -0
- package/dist/esm/types/properties/config/scatter.js +2 -0
- package/dist/esm/types/properties/config/scatter.js.map +1 -1
- package/dist/esm/types/properties/index.d.ts +1 -1
- package/dist/esm/types/properties/index.js +1 -1
- package/dist/esm/types/properties/theme/customTheme.d.ts +646 -0
- package/dist/esm/types/zVseed.d.ts +28 -0
- package/dist/umd/index.js +179 -36
- package/dist/umd/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/esm/types/properties/player/player.d.ts +0 -22
- package/dist/esm/types/properties/player/zPlayer.d.ts +0 -6
- package/dist/esm/types/properties/player/zPlayer.js +0 -9
- package/dist/esm/types/properties/player/zPlayer.js.map +0 -1
- /package/dist/esm/types/properties/{player → config/player}/index.d.ts +0 -0
- /package/dist/esm/types/properties/{player → config/player}/index.js +0 -0
- /package/dist/esm/types/properties/{player → config/player}/player.js +0 -0
|
@@ -1940,6 +1940,20 @@ export declare const zVSeed: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1940
1940
|
field: z.ZodString;
|
|
1941
1941
|
interval: z.ZodOptional<z.ZodNumber>;
|
|
1942
1942
|
autoPlay: z.ZodOptional<z.ZodBoolean>;
|
|
1943
|
+
loop: z.ZodOptional<z.ZodBoolean>;
|
|
1944
|
+
position: z.ZodOptional<z.ZodEnum<{
|
|
1945
|
+
left: "left";
|
|
1946
|
+
top: "top";
|
|
1947
|
+
right: "right";
|
|
1948
|
+
bottom: "bottom";
|
|
1949
|
+
}>>;
|
|
1950
|
+
railColor: z.ZodOptional<z.ZodString>;
|
|
1951
|
+
trackColor: z.ZodOptional<z.ZodString>;
|
|
1952
|
+
sliderHandleColor: z.ZodOptional<z.ZodString>;
|
|
1953
|
+
startButtonColor: z.ZodOptional<z.ZodString>;
|
|
1954
|
+
pauseButtonColor: z.ZodOptional<z.ZodString>;
|
|
1955
|
+
backwardButtonColor: z.ZodOptional<z.ZodString>;
|
|
1956
|
+
forwardButtonColor: z.ZodOptional<z.ZodString>;
|
|
1943
1957
|
}, z.core.$strip>>>;
|
|
1944
1958
|
backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>>>;
|
|
1945
1959
|
color: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -3176,6 +3190,20 @@ export declare const zVSeed: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3176
3190
|
field: z.ZodString;
|
|
3177
3191
|
interval: z.ZodOptional<z.ZodNumber>;
|
|
3178
3192
|
autoPlay: z.ZodOptional<z.ZodBoolean>;
|
|
3193
|
+
loop: z.ZodOptional<z.ZodBoolean>;
|
|
3194
|
+
position: z.ZodOptional<z.ZodEnum<{
|
|
3195
|
+
left: "left";
|
|
3196
|
+
top: "top";
|
|
3197
|
+
right: "right";
|
|
3198
|
+
bottom: "bottom";
|
|
3199
|
+
}>>;
|
|
3200
|
+
railColor: z.ZodOptional<z.ZodString>;
|
|
3201
|
+
trackColor: z.ZodOptional<z.ZodString>;
|
|
3202
|
+
sliderHandleColor: z.ZodOptional<z.ZodString>;
|
|
3203
|
+
startButtonColor: z.ZodOptional<z.ZodString>;
|
|
3204
|
+
pauseButtonColor: z.ZodOptional<z.ZodString>;
|
|
3205
|
+
backwardButtonColor: z.ZodOptional<z.ZodString>;
|
|
3206
|
+
forwardButtonColor: z.ZodOptional<z.ZodString>;
|
|
3179
3207
|
}, z.core.$strip>>>;
|
|
3180
3208
|
backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>>>;
|
|
3181
3209
|
color: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
package/dist/umd/index.js
CHANGED
|
@@ -2703,11 +2703,12 @@
|
|
|
2703
2703
|
'yAxis',
|
|
2704
2704
|
'crosshairLine',
|
|
2705
2705
|
'brush',
|
|
2706
|
-
'dimensionLinkage'
|
|
2706
|
+
'dimensionLinkage',
|
|
2707
|
+
'player'
|
|
2707
2708
|
]);
|
|
2708
2709
|
const config = replaceNullToUndefined(pickedConfig);
|
|
2709
2710
|
result.config = {
|
|
2710
|
-
...result.config
|
|
2711
|
+
...result.config,
|
|
2711
2712
|
[chartType]: {
|
|
2712
2713
|
...config
|
|
2713
2714
|
}
|
|
@@ -2903,12 +2904,13 @@
|
|
|
2903
2904
|
};
|
|
2904
2905
|
const playerAdapter = (pipe)=>(spec, context)=>{
|
|
2905
2906
|
const { vseed, advancedVSeed } = context;
|
|
2906
|
-
const { datasetReshapeInfo } = advancedVSeed;
|
|
2907
|
-
const
|
|
2908
|
-
if (!player || isVTable(vseed) || chatType_isPivotChart(vseed)) return pipe(spec, context);
|
|
2907
|
+
const { datasetReshapeInfo, chartType } = advancedVSeed;
|
|
2908
|
+
const baseConfig = advancedVSeed.config[chartType];
|
|
2909
|
+
if (!('player' in vseed) || !baseConfig || !baseConfig.player || isVTable(vseed) || chatType_isPivotChart(vseed)) return pipe(spec, context);
|
|
2910
|
+
const { player } = baseConfig;
|
|
2909
2911
|
const id = datasetReshapeInfo[0].id;
|
|
2910
2912
|
const nextSpec = pipe(spec, context);
|
|
2911
|
-
const { field, autoPlay = true, interval = 1000, loop = false } = player;
|
|
2913
|
+
const { field, autoPlay = true, interval = 1000, loop = false, position, railColor, trackColor, sliderHandleColor, startButtonColor, pauseButtonColor, backwardButtonColor, forwardButtonColor } = player;
|
|
2912
2914
|
const dataGroups = chunk_HVPVHFDT_i(advancedVSeed.dataset, (item)=>item[field]);
|
|
2913
2915
|
const specs = Object.values(dataGroups).map((items)=>({
|
|
2914
2916
|
data: {
|
|
@@ -2919,13 +2921,58 @@
|
|
|
2919
2921
|
return {
|
|
2920
2922
|
...nextSpec,
|
|
2921
2923
|
player: {
|
|
2924
|
+
visible: true,
|
|
2922
2925
|
auto: autoPlay,
|
|
2923
2926
|
interval: interval,
|
|
2924
2927
|
loop: loop,
|
|
2925
2928
|
alternate: false,
|
|
2926
2929
|
position: 'middle',
|
|
2930
|
+
orient: position,
|
|
2927
2931
|
type: 'discrete',
|
|
2928
|
-
specs
|
|
2932
|
+
specs,
|
|
2933
|
+
controller: {
|
|
2934
|
+
visible: true,
|
|
2935
|
+
start: {
|
|
2936
|
+
visible: true,
|
|
2937
|
+
style: {
|
|
2938
|
+
fill: startButtonColor
|
|
2939
|
+
}
|
|
2940
|
+
},
|
|
2941
|
+
pause: {
|
|
2942
|
+
visible: true,
|
|
2943
|
+
style: {
|
|
2944
|
+
fill: pauseButtonColor
|
|
2945
|
+
}
|
|
2946
|
+
},
|
|
2947
|
+
backward: {
|
|
2948
|
+
visible: true,
|
|
2949
|
+
style: {
|
|
2950
|
+
fill: backwardButtonColor
|
|
2951
|
+
}
|
|
2952
|
+
},
|
|
2953
|
+
forward: {
|
|
2954
|
+
visible: true,
|
|
2955
|
+
style: {
|
|
2956
|
+
fill: forwardButtonColor
|
|
2957
|
+
}
|
|
2958
|
+
}
|
|
2959
|
+
},
|
|
2960
|
+
slider: {
|
|
2961
|
+
visible: true,
|
|
2962
|
+
railStyle: {
|
|
2963
|
+
visible: true,
|
|
2964
|
+
fill: railColor
|
|
2965
|
+
},
|
|
2966
|
+
trackStyle: {
|
|
2967
|
+
visible: true,
|
|
2968
|
+
fill: trackColor
|
|
2969
|
+
},
|
|
2970
|
+
handlerStyle: {
|
|
2971
|
+
visible: true,
|
|
2972
|
+
fill: sliderHandleColor,
|
|
2973
|
+
lineWidth: 1
|
|
2974
|
+
}
|
|
2975
|
+
}
|
|
2929
2976
|
}
|
|
2930
2977
|
};
|
|
2931
2978
|
};
|
|
@@ -5903,11 +5950,12 @@
|
|
|
5903
5950
|
'barMaxWidth',
|
|
5904
5951
|
'barGapInGroup',
|
|
5905
5952
|
'brush',
|
|
5906
|
-
'dimensionLinkage'
|
|
5953
|
+
'dimensionLinkage',
|
|
5954
|
+
'player'
|
|
5907
5955
|
]);
|
|
5908
5956
|
const config = replaceNullToUndefined(pickedConfig);
|
|
5909
5957
|
result.config = {
|
|
5910
|
-
...result.config
|
|
5958
|
+
...result.config,
|
|
5911
5959
|
[chartType]: {
|
|
5912
5960
|
...config
|
|
5913
5961
|
}
|
|
@@ -6816,11 +6864,12 @@
|
|
|
6816
6864
|
'label',
|
|
6817
6865
|
'legend',
|
|
6818
6866
|
'tooltip',
|
|
6867
|
+
'player',
|
|
6819
6868
|
'brush'
|
|
6820
6869
|
]);
|
|
6821
6870
|
const config = replaceNullToUndefined(pickedConfig);
|
|
6822
6871
|
result.config = {
|
|
6823
|
-
...result.config
|
|
6872
|
+
...result.config,
|
|
6824
6873
|
[chartType]: {
|
|
6825
6874
|
...config
|
|
6826
6875
|
}
|
|
@@ -8107,12 +8156,13 @@
|
|
|
8107
8156
|
'sizeRange',
|
|
8108
8157
|
'size',
|
|
8109
8158
|
'crosshairLine',
|
|
8159
|
+
'player',
|
|
8110
8160
|
'brush',
|
|
8111
8161
|
'dimensionLinkage'
|
|
8112
8162
|
]);
|
|
8113
8163
|
const config = replaceNullToUndefined(pickedConfig);
|
|
8114
8164
|
result.config = {
|
|
8115
|
-
...result.config
|
|
8165
|
+
...result.config,
|
|
8116
8166
|
[chartType]: {
|
|
8117
8167
|
...config
|
|
8118
8168
|
}
|
|
@@ -9253,7 +9303,7 @@
|
|
|
9253
9303
|
]);
|
|
9254
9304
|
const config = replaceNullToUndefined(pickedConfig);
|
|
9255
9305
|
result.config = {
|
|
9256
|
-
...result.config
|
|
9306
|
+
...result.config,
|
|
9257
9307
|
[chartType]: {
|
|
9258
9308
|
...config
|
|
9259
9309
|
}
|
|
@@ -11012,11 +11062,12 @@
|
|
|
11012
11062
|
'xAxis',
|
|
11013
11063
|
'yAxis',
|
|
11014
11064
|
'brush',
|
|
11015
|
-
'dimensionLinkage'
|
|
11065
|
+
'dimensionLinkage',
|
|
11066
|
+
'player'
|
|
11016
11067
|
]);
|
|
11017
11068
|
const config = replaceNullToUndefined(pickedConfig);
|
|
11018
11069
|
result.config = {
|
|
11019
|
-
...result.config
|
|
11070
|
+
...result.config,
|
|
11020
11071
|
[chartType]: {
|
|
11021
11072
|
...config
|
|
11022
11073
|
}
|
|
@@ -11317,7 +11368,7 @@
|
|
|
11317
11368
|
]);
|
|
11318
11369
|
const config = replaceNullToUndefined(pickedConfig);
|
|
11319
11370
|
result.config = {
|
|
11320
|
-
...result.config
|
|
11371
|
+
...result.config,
|
|
11321
11372
|
[chartType]: {
|
|
11322
11373
|
...config
|
|
11323
11374
|
}
|
|
@@ -12178,7 +12229,7 @@
|
|
|
12178
12229
|
}
|
|
12179
12230
|
};
|
|
12180
12231
|
result.config = {
|
|
12181
|
-
...result.config
|
|
12232
|
+
...result.config,
|
|
12182
12233
|
[chartType]: {
|
|
12183
12234
|
...config
|
|
12184
12235
|
}
|
|
@@ -13488,6 +13539,40 @@
|
|
|
13488
13539
|
res.hoverHeaderInlineBackgroundColor = '#4b4f5446';
|
|
13489
13540
|
return res;
|
|
13490
13541
|
};
|
|
13542
|
+
const getDarkPlayer = ()=>{
|
|
13543
|
+
const primaryColor = getDarkColorScheme()[0];
|
|
13544
|
+
const railColor = getDarkColorLegend().railBackgroundColor;
|
|
13545
|
+
return {
|
|
13546
|
+
interval: 1000,
|
|
13547
|
+
loop: false,
|
|
13548
|
+
autoPlay: true,
|
|
13549
|
+
position: 'bottom',
|
|
13550
|
+
railColor,
|
|
13551
|
+
trackColor: primaryColor,
|
|
13552
|
+
sliderHandleColor: primaryColor,
|
|
13553
|
+
startButtonColor: primaryColor,
|
|
13554
|
+
pauseButtonColor: primaryColor,
|
|
13555
|
+
backwardButtonColor: primaryColor,
|
|
13556
|
+
forwardButtonColor: primaryColor
|
|
13557
|
+
};
|
|
13558
|
+
};
|
|
13559
|
+
const getLightPlayer = ()=>{
|
|
13560
|
+
const primaryColor = getLightColorScheme()[0];
|
|
13561
|
+
const railColor = getLightColorLegend().railBackgroundColor;
|
|
13562
|
+
return {
|
|
13563
|
+
interval: 1000,
|
|
13564
|
+
loop: false,
|
|
13565
|
+
autoPlay: true,
|
|
13566
|
+
position: 'bottom',
|
|
13567
|
+
railColor,
|
|
13568
|
+
trackColor: primaryColor,
|
|
13569
|
+
sliderHandleColor: primaryColor,
|
|
13570
|
+
startButtonColor: primaryColor,
|
|
13571
|
+
pauseButtonColor: primaryColor,
|
|
13572
|
+
backwardButtonColor: primaryColor,
|
|
13573
|
+
forwardButtonColor: primaryColor
|
|
13574
|
+
};
|
|
13575
|
+
};
|
|
13491
13576
|
const getDefaultTooltip = ()=>({
|
|
13492
13577
|
enable: true,
|
|
13493
13578
|
borderRadius: 12,
|
|
@@ -13906,6 +13991,7 @@
|
|
|
13906
13991
|
brush: getLightBrushConfig()
|
|
13907
13992
|
};
|
|
13908
13993
|
const tableConfig = getLightTableConfig();
|
|
13994
|
+
const player = getLightPlayer();
|
|
13909
13995
|
return {
|
|
13910
13996
|
config: {
|
|
13911
13997
|
table: tableConfig,
|
|
@@ -13915,6 +14001,7 @@
|
|
|
13915
14001
|
xAxis: bandAxis,
|
|
13916
14002
|
yAxis: linearAxis,
|
|
13917
14003
|
crosshairLine,
|
|
14004
|
+
player,
|
|
13918
14005
|
pivotGrid: getLightPivotChartGridConfig(),
|
|
13919
14006
|
annotation: getLightAnnotation()
|
|
13920
14007
|
},
|
|
@@ -13923,6 +14010,7 @@
|
|
|
13923
14010
|
xAxis: bandAxis,
|
|
13924
14011
|
yAxis: linearAxis,
|
|
13925
14012
|
crosshairRect,
|
|
14013
|
+
player,
|
|
13926
14014
|
stackCornerRadius: [
|
|
13927
14015
|
4,
|
|
13928
14016
|
4,
|
|
@@ -13938,6 +14026,7 @@
|
|
|
13938
14026
|
xAxis: bandAxis,
|
|
13939
14027
|
yAxis: linearAxis,
|
|
13940
14028
|
crosshairRect,
|
|
14029
|
+
player,
|
|
13941
14030
|
stackCornerRadius: [
|
|
13942
14031
|
4,
|
|
13943
14032
|
4,
|
|
@@ -13953,6 +14042,7 @@
|
|
|
13953
14042
|
yAxis: {
|
|
13954
14043
|
...linearAxis
|
|
13955
14044
|
},
|
|
14045
|
+
player,
|
|
13956
14046
|
crosshairRect,
|
|
13957
14047
|
stackCornerRadius: [
|
|
13958
14048
|
4,
|
|
@@ -13968,6 +14058,7 @@
|
|
|
13968
14058
|
xAxis: linearAxis,
|
|
13969
14059
|
yAxis: barBandAxis,
|
|
13970
14060
|
crosshairRect,
|
|
14061
|
+
player,
|
|
13971
14062
|
stackCornerRadius: [
|
|
13972
14063
|
0,
|
|
13973
14064
|
4,
|
|
@@ -13998,6 +14089,7 @@
|
|
|
13998
14089
|
},
|
|
13999
14090
|
yAxis: barBandAxis,
|
|
14000
14091
|
crosshairRect,
|
|
14092
|
+
player,
|
|
14001
14093
|
stackCornerRadius: [
|
|
14002
14094
|
0,
|
|
14003
14095
|
4,
|
|
@@ -14012,6 +14104,7 @@
|
|
|
14012
14104
|
xAxis: bandAxis,
|
|
14013
14105
|
yAxis: linearAxis,
|
|
14014
14106
|
crosshairLine,
|
|
14107
|
+
player,
|
|
14015
14108
|
pivotGrid: getLightPivotChartGridConfig(),
|
|
14016
14109
|
annotation: getLightAnnotation()
|
|
14017
14110
|
},
|
|
@@ -14021,6 +14114,7 @@
|
|
|
14021
14114
|
yAxis: {
|
|
14022
14115
|
...linearAxis
|
|
14023
14116
|
},
|
|
14117
|
+
player,
|
|
14024
14118
|
crosshairLine,
|
|
14025
14119
|
pivotGrid: getLightPivotChartGridConfig(),
|
|
14026
14120
|
annotation: getLightAnnotation()
|
|
@@ -14051,6 +14145,7 @@
|
|
|
14051
14145
|
showValue: false,
|
|
14052
14146
|
showValuePercent: false
|
|
14053
14147
|
},
|
|
14148
|
+
player,
|
|
14054
14149
|
pivotGrid: getLightPivotChartGridConfig(),
|
|
14055
14150
|
annotation: getLightAnnotation(),
|
|
14056
14151
|
regressionLine: getLightRegressionLine()
|
|
@@ -14077,6 +14172,7 @@
|
|
|
14077
14172
|
labelLayout: 'arc',
|
|
14078
14173
|
showDimension: true
|
|
14079
14174
|
},
|
|
14175
|
+
player,
|
|
14080
14176
|
pivotGrid: getLightPivotChartGridConfig()
|
|
14081
14177
|
},
|
|
14082
14178
|
donut: {
|
|
@@ -14087,10 +14183,12 @@
|
|
|
14087
14183
|
labelLayout: 'arc',
|
|
14088
14184
|
showDimension: true
|
|
14089
14185
|
},
|
|
14186
|
+
player,
|
|
14090
14187
|
pivotGrid: getLightPivotChartGridConfig()
|
|
14091
14188
|
},
|
|
14092
14189
|
radar: {
|
|
14093
14190
|
...baseConfig,
|
|
14191
|
+
player,
|
|
14094
14192
|
pivotGrid: getLightPivotChartGridConfig()
|
|
14095
14193
|
},
|
|
14096
14194
|
rose: {
|
|
@@ -14100,6 +14198,7 @@
|
|
|
14100
14198
|
showValuePercent: true,
|
|
14101
14199
|
showDimension: true
|
|
14102
14200
|
},
|
|
14201
|
+
player,
|
|
14103
14202
|
pivotGrid: getLightPivotChartGridConfig()
|
|
14104
14203
|
},
|
|
14105
14204
|
roseParallel: {
|
|
@@ -14109,12 +14208,14 @@
|
|
|
14109
14208
|
showValuePercent: true,
|
|
14110
14209
|
showDimension: true
|
|
14111
14210
|
},
|
|
14211
|
+
player,
|
|
14112
14212
|
pivotGrid: getLightPivotChartGridConfig()
|
|
14113
14213
|
},
|
|
14114
14214
|
funnel: {
|
|
14115
14215
|
...baseConfig,
|
|
14116
14216
|
label: getFunnelLightLabel(),
|
|
14117
14217
|
transform: getLightFunnelTransformTheme(),
|
|
14218
|
+
player,
|
|
14118
14219
|
pivotGrid: getLightPivotChartGridConfig()
|
|
14119
14220
|
},
|
|
14120
14221
|
heatmap: {
|
|
@@ -14126,6 +14227,7 @@
|
|
|
14126
14227
|
...baseConfig.label,
|
|
14127
14228
|
labelColorSmartInvert: true
|
|
14128
14229
|
},
|
|
14230
|
+
player,
|
|
14129
14231
|
cell: getLightHeatmapCellTheme(),
|
|
14130
14232
|
pivotGrid: getLightPivotChartGridConfig()
|
|
14131
14233
|
},
|
|
@@ -14177,6 +14279,7 @@
|
|
|
14177
14279
|
tooltip: getDarkTooltip(),
|
|
14178
14280
|
brush: getDarkBrushConfig()
|
|
14179
14281
|
};
|
|
14282
|
+
const player = getDarkPlayer();
|
|
14180
14283
|
const tableConfig = getDarkTableConfig();
|
|
14181
14284
|
return {
|
|
14182
14285
|
config: {
|
|
@@ -14187,6 +14290,7 @@
|
|
|
14187
14290
|
xAxis: bandAxis,
|
|
14188
14291
|
yAxis: linearAxis,
|
|
14189
14292
|
crosshairLine: crosshairLine,
|
|
14293
|
+
player,
|
|
14190
14294
|
pivotGrid: getDarkPivotChartGridConfig(),
|
|
14191
14295
|
annotation: getDarkAnnotation()
|
|
14192
14296
|
},
|
|
@@ -14203,6 +14307,7 @@
|
|
|
14203
14307
|
],
|
|
14204
14308
|
pivotGrid: getDarkPivotChartGridConfig(),
|
|
14205
14309
|
annotation: getDarkAnnotation(),
|
|
14310
|
+
player,
|
|
14206
14311
|
regressionLine: getDarkRegressionLine()
|
|
14207
14312
|
},
|
|
14208
14313
|
columnParallel: {
|
|
@@ -14217,7 +14322,8 @@
|
|
|
14217
14322
|
0
|
|
14218
14323
|
],
|
|
14219
14324
|
pivotGrid: getDarkPivotChartGridConfig(),
|
|
14220
|
-
annotation: getDarkAnnotation()
|
|
14325
|
+
annotation: getDarkAnnotation(),
|
|
14326
|
+
player
|
|
14221
14327
|
},
|
|
14222
14328
|
columnPercent: {
|
|
14223
14329
|
...baseConfig,
|
|
@@ -14231,7 +14337,8 @@
|
|
|
14231
14337
|
0
|
|
14232
14338
|
],
|
|
14233
14339
|
pivotGrid: getDarkPivotChartGridConfig(),
|
|
14234
|
-
annotation: getDarkAnnotation()
|
|
14340
|
+
annotation: getDarkAnnotation(),
|
|
14341
|
+
player
|
|
14235
14342
|
},
|
|
14236
14343
|
bar: {
|
|
14237
14344
|
...baseConfig,
|
|
@@ -14245,7 +14352,8 @@
|
|
|
14245
14352
|
0
|
|
14246
14353
|
],
|
|
14247
14354
|
pivotGrid: getDarkPivotChartGridConfig(),
|
|
14248
|
-
annotation: getDarkAnnotation()
|
|
14355
|
+
annotation: getDarkAnnotation(),
|
|
14356
|
+
player
|
|
14249
14357
|
},
|
|
14250
14358
|
barParallel: {
|
|
14251
14359
|
...baseConfig,
|
|
@@ -14259,7 +14367,8 @@
|
|
|
14259
14367
|
0
|
|
14260
14368
|
],
|
|
14261
14369
|
pivotGrid: getDarkPivotChartGridConfig(),
|
|
14262
|
-
annotation: getDarkAnnotation()
|
|
14370
|
+
annotation: getDarkAnnotation(),
|
|
14371
|
+
player
|
|
14263
14372
|
},
|
|
14264
14373
|
barPercent: {
|
|
14265
14374
|
...baseConfig,
|
|
@@ -14273,7 +14382,8 @@
|
|
|
14273
14382
|
0
|
|
14274
14383
|
],
|
|
14275
14384
|
pivotGrid: getDarkPivotChartGridConfig(),
|
|
14276
|
-
annotation: getDarkAnnotation()
|
|
14385
|
+
annotation: getDarkAnnotation(),
|
|
14386
|
+
player
|
|
14277
14387
|
},
|
|
14278
14388
|
area: {
|
|
14279
14389
|
...baseConfig,
|
|
@@ -14281,7 +14391,8 @@
|
|
|
14281
14391
|
yAxis: linearAxis,
|
|
14282
14392
|
crosshairLine: crosshairLine,
|
|
14283
14393
|
pivotGrid: getDarkPivotChartGridConfig(),
|
|
14284
|
-
annotation: getDarkAnnotation()
|
|
14394
|
+
annotation: getDarkAnnotation(),
|
|
14395
|
+
player
|
|
14285
14396
|
},
|
|
14286
14397
|
areaPercent: {
|
|
14287
14398
|
...baseConfig,
|
|
@@ -14289,7 +14400,8 @@
|
|
|
14289
14400
|
yAxis: linearAxis,
|
|
14290
14401
|
crosshairLine: crosshairLine,
|
|
14291
14402
|
pivotGrid: getDarkPivotChartGridConfig(),
|
|
14292
|
-
annotation: getDarkAnnotation()
|
|
14403
|
+
annotation: getDarkAnnotation(),
|
|
14404
|
+
player
|
|
14293
14405
|
},
|
|
14294
14406
|
scatter: {
|
|
14295
14407
|
...baseConfig,
|
|
@@ -14319,7 +14431,8 @@
|
|
|
14319
14431
|
},
|
|
14320
14432
|
pivotGrid: getDarkPivotChartGridConfig(),
|
|
14321
14433
|
annotation: getDarkAnnotation(),
|
|
14322
|
-
regressionLine: getDarkRegressionLine()
|
|
14434
|
+
regressionLine: getDarkRegressionLine(),
|
|
14435
|
+
player
|
|
14323
14436
|
},
|
|
14324
14437
|
dualAxis: {
|
|
14325
14438
|
...baseConfig,
|
|
@@ -14343,7 +14456,8 @@
|
|
|
14343
14456
|
labelLayout: 'arc',
|
|
14344
14457
|
showDimension: true
|
|
14345
14458
|
},
|
|
14346
|
-
pivotGrid: getDarkPivotChartGridConfig()
|
|
14459
|
+
pivotGrid: getDarkPivotChartGridConfig(),
|
|
14460
|
+
player
|
|
14347
14461
|
},
|
|
14348
14462
|
donut: {
|
|
14349
14463
|
...baseConfig,
|
|
@@ -14353,11 +14467,13 @@
|
|
|
14353
14467
|
labelLayout: 'arc',
|
|
14354
14468
|
showDimension: true
|
|
14355
14469
|
},
|
|
14356
|
-
pivotGrid: getDarkPivotChartGridConfig()
|
|
14470
|
+
pivotGrid: getDarkPivotChartGridConfig(),
|
|
14471
|
+
player
|
|
14357
14472
|
},
|
|
14358
14473
|
radar: {
|
|
14359
14474
|
...baseConfig,
|
|
14360
|
-
pivotGrid: getDarkPivotChartGridConfig()
|
|
14475
|
+
pivotGrid: getDarkPivotChartGridConfig(),
|
|
14476
|
+
player
|
|
14361
14477
|
},
|
|
14362
14478
|
rose: {
|
|
14363
14479
|
...baseConfig,
|
|
@@ -14366,7 +14482,8 @@
|
|
|
14366
14482
|
showValuePercent: true,
|
|
14367
14483
|
showDimension: true
|
|
14368
14484
|
},
|
|
14369
|
-
pivotGrid: getDarkPivotChartGridConfig()
|
|
14485
|
+
pivotGrid: getDarkPivotChartGridConfig(),
|
|
14486
|
+
player
|
|
14370
14487
|
},
|
|
14371
14488
|
roseParallel: {
|
|
14372
14489
|
...baseConfig,
|
|
@@ -14375,13 +14492,15 @@
|
|
|
14375
14492
|
showValuePercent: true,
|
|
14376
14493
|
showDimension: true
|
|
14377
14494
|
},
|
|
14378
|
-
pivotGrid: getDarkPivotChartGridConfig()
|
|
14495
|
+
pivotGrid: getDarkPivotChartGridConfig(),
|
|
14496
|
+
player
|
|
14379
14497
|
},
|
|
14380
14498
|
funnel: {
|
|
14381
14499
|
...baseConfig,
|
|
14382
14500
|
label: getFunnelDarkLabel(),
|
|
14383
14501
|
transform: getDarkFunnelTransformTheme(),
|
|
14384
|
-
pivotGrid: getDarkPivotChartGridConfig()
|
|
14502
|
+
pivotGrid: getDarkPivotChartGridConfig(),
|
|
14503
|
+
player
|
|
14385
14504
|
},
|
|
14386
14505
|
heatmap: {
|
|
14387
14506
|
...baseConfig,
|
|
@@ -14392,6 +14511,7 @@
|
|
|
14392
14511
|
...baseConfig.label,
|
|
14393
14512
|
labelColorSmartInvert: true
|
|
14394
14513
|
},
|
|
14514
|
+
player,
|
|
14395
14515
|
cell: getDarkHeatmapCellTheme(),
|
|
14396
14516
|
pivotGrid: getDarkPivotChartGridConfig()
|
|
14397
14517
|
},
|
|
@@ -18630,6 +18750,25 @@
|
|
|
18630
18750
|
inBrushStyle: zBrushStyleConfig.optional(),
|
|
18631
18751
|
outOfBrushStyle: zBrushStyleConfig.optional()
|
|
18632
18752
|
});
|
|
18753
|
+
const zPlayer = schemas_object({
|
|
18754
|
+
field: schemas_string(),
|
|
18755
|
+
interval: schemas_number().optional(),
|
|
18756
|
+
autoPlay: schemas_boolean().optional(),
|
|
18757
|
+
loop: schemas_boolean().optional(),
|
|
18758
|
+
position: schemas_enum([
|
|
18759
|
+
'top',
|
|
18760
|
+
'bottom',
|
|
18761
|
+
'left',
|
|
18762
|
+
'right'
|
|
18763
|
+
]).optional(),
|
|
18764
|
+
railColor: schemas_string().optional(),
|
|
18765
|
+
trackColor: schemas_string().optional(),
|
|
18766
|
+
sliderHandleColor: schemas_string().optional(),
|
|
18767
|
+
startButtonColor: schemas_string().optional(),
|
|
18768
|
+
pauseButtonColor: schemas_string().optional(),
|
|
18769
|
+
backwardButtonColor: schemas_string().optional(),
|
|
18770
|
+
forwardButtonColor: schemas_string().optional()
|
|
18771
|
+
});
|
|
18633
18772
|
const zLineConfig = schemas_object({
|
|
18634
18773
|
backgroundColor: zBackgroundColor.nullish(),
|
|
18635
18774
|
label: zLabel.nullish(),
|
|
@@ -18642,7 +18781,8 @@
|
|
|
18642
18781
|
pivotGrid: zPivotChartGridConfig.nullish(),
|
|
18643
18782
|
annotation: zAnnotationConfig.nullish(),
|
|
18644
18783
|
dimensionLinkage: zDimensionLinkage.nullish(),
|
|
18645
|
-
brush: zBrushConfig.nullish()
|
|
18784
|
+
brush: zBrushConfig.nullish(),
|
|
18785
|
+
player: zPlayer.nullish()
|
|
18646
18786
|
});
|
|
18647
18787
|
const zStackCornerRadius = schemas_number().or(schemas_array(schemas_number())).default([
|
|
18648
18788
|
3,
|
|
@@ -18691,6 +18831,7 @@
|
|
|
18691
18831
|
color: zColor.nullish(),
|
|
18692
18832
|
tooltip: zTooltip.nullish(),
|
|
18693
18833
|
legend: zLegend.nullish(),
|
|
18834
|
+
player: zPlayer.nullish(),
|
|
18694
18835
|
xAxis: zXBandAxis.nullish(),
|
|
18695
18836
|
yAxis: zYLinearAxis.nullish(),
|
|
18696
18837
|
crosshairRect: zCrosshairRect.nullish(),
|
|
@@ -18712,6 +18853,7 @@
|
|
|
18712
18853
|
color: zColor.nullish(),
|
|
18713
18854
|
tooltip: zTooltip.nullish(),
|
|
18714
18855
|
legend: zLegend.nullish(),
|
|
18856
|
+
player: zPlayer.nullish(),
|
|
18715
18857
|
xAxis: zXLinearAxis.nullish(),
|
|
18716
18858
|
yAxis: zYBandAxis.nullish(),
|
|
18717
18859
|
crosshairRect: zCrosshairRect.nullish(),
|
|
@@ -18729,6 +18871,7 @@
|
|
|
18729
18871
|
color: zColor.nullish(),
|
|
18730
18872
|
tooltip: zTooltip.nullish(),
|
|
18731
18873
|
legend: zLegend.nullish(),
|
|
18874
|
+
player: zPlayer.nullish(),
|
|
18732
18875
|
xAxis: zXBandAxis.nullish(),
|
|
18733
18876
|
yAxis: zYLinearAxis.nullish(),
|
|
18734
18877
|
crosshairLine: zCrosshairLine.nullish(),
|
|
@@ -18744,6 +18887,7 @@
|
|
|
18744
18887
|
color: zColor.nullish(),
|
|
18745
18888
|
tooltip: zTooltip.nullish(),
|
|
18746
18889
|
legend: zLegend.nullish(),
|
|
18890
|
+
player: zPlayer.nullish(),
|
|
18747
18891
|
xAxis: zXLinearAxis.nullish(),
|
|
18748
18892
|
yAxis: zYLinearAxis.nullish(),
|
|
18749
18893
|
crosshairLine: zCrosshairLine.nullish(),
|
|
@@ -18783,6 +18927,7 @@
|
|
|
18783
18927
|
color: zColor.nullish(),
|
|
18784
18928
|
tooltip: zTooltip.nullish(),
|
|
18785
18929
|
legend: zLegend.nullish(),
|
|
18930
|
+
player: zPlayer.nullish(),
|
|
18786
18931
|
pivotGrid: zPivotChartGridConfig.nullish(),
|
|
18787
18932
|
cornerRadius: schemas_number().nullish(),
|
|
18788
18933
|
brush: zBrushConfig.nullish()
|
|
@@ -18795,6 +18940,7 @@
|
|
|
18795
18940
|
color: zColor.nullish(),
|
|
18796
18941
|
tooltip: zTooltip.nullish(),
|
|
18797
18942
|
legend: zLegend.nullish(),
|
|
18943
|
+
player: zPlayer.nullish(),
|
|
18798
18944
|
pivotGrid: zPivotChartGridConfig.nullish()
|
|
18799
18945
|
});
|
|
18800
18946
|
const zRoseParallelConfig = zRoseConfig;
|
|
@@ -18808,6 +18954,7 @@
|
|
|
18808
18954
|
color: zColor.nullish(),
|
|
18809
18955
|
tooltip: zTooltip.nullish(),
|
|
18810
18956
|
legend: zLegend.nullish(),
|
|
18957
|
+
player: zPlayer.nullish(),
|
|
18811
18958
|
pivotGrid: zPivotChartGridConfig.nullish(),
|
|
18812
18959
|
transform: zFunnelTransform.nullish()
|
|
18813
18960
|
});
|
|
@@ -18823,6 +18970,7 @@
|
|
|
18823
18970
|
color: zColor.nullish(),
|
|
18824
18971
|
tooltip: zTooltip.nullish(),
|
|
18825
18972
|
legend: zColorLegend.nullish(),
|
|
18973
|
+
player: zPlayer.nullish(),
|
|
18826
18974
|
pivotGrid: zPivotChartGridConfig.nullish(),
|
|
18827
18975
|
cell: zHeatmapCell.nullish(),
|
|
18828
18976
|
xAxis: zXBandAxis.nullish(),
|
|
@@ -19092,11 +19240,6 @@
|
|
|
19092
19240
|
field: schemas_string(),
|
|
19093
19241
|
currentValue: schemas_string()
|
|
19094
19242
|
});
|
|
19095
|
-
const zPlayer = schemas_object({
|
|
19096
|
-
field: schemas_string(),
|
|
19097
|
-
interval: schemas_number().optional(),
|
|
19098
|
-
autoPlay: schemas_boolean().optional()
|
|
19099
|
-
});
|
|
19100
19243
|
const zLocale = schemas_enum([
|
|
19101
19244
|
'zh-CN',
|
|
19102
19245
|
'en-US'
|