@visactor/vseed 0.0.30 → 0.0.32

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.
Files changed (36) hide show
  1. package/dist/builder/builder/builder.d.ts +36 -0
  2. package/dist/index.cjs +350 -103
  3. package/dist/index.cjs.map +1 -1
  4. package/dist/index.d.ts +2 -1
  5. package/dist/index.js +197 -66
  6. package/dist/index.js.map +1 -1
  7. package/dist/pipeline/spec/chart/pipes/tooltip/index.d.ts +2 -0
  8. package/dist/pipeline/spec/chart/pipes/tooltip/tooltipAreaRange.d.ts +2 -0
  9. package/dist/pipeline/spec/chart/pipes/tooltip/tooltipDisable.d.ts +2 -0
  10. package/dist/types/advancedVSeed.d.ts +12 -0
  11. package/dist/types/chartType/area/area.d.ts +16 -4
  12. package/dist/types/chartType/areaPercent/areaPercent.d.ts +16 -4
  13. package/dist/types/chartType/areaRange/areaRange.d.ts +16 -4
  14. package/dist/types/chartType/bar/bar.d.ts +16 -4
  15. package/dist/types/chartType/barParallel/barParallel.d.ts +16 -4
  16. package/dist/types/chartType/barPercent/barPercent.d.ts +16 -4
  17. package/dist/types/chartType/column/column.d.ts +16 -4
  18. package/dist/types/chartType/columnParallel/columnParallel.d.ts +16 -4
  19. package/dist/types/chartType/columnPercent/columnPercent.d.ts +16 -4
  20. package/dist/types/chartType/line/line.d.ts +17 -5
  21. package/dist/types/chartType/scatter/scatter.d.ts +12 -0
  22. package/dist/types/properties/analysis/analysis.d.ts +1 -1
  23. package/dist/types/properties/analysis/index.d.ts +1 -1
  24. package/dist/types/properties/analysis/{sortAxis.d.ts → sort.d.ts} +2 -2
  25. package/dist/types/properties/annotation/annotation.d.ts +12 -0
  26. package/dist/types/properties/annotation/annotationArea.d.ts +14 -17
  27. package/dist/types/properties/annotation/annotationHorizontalLine.d.ts +27 -46
  28. package/dist/types/properties/annotation/annotationPoint.d.ts +0 -14
  29. package/dist/types/properties/annotation/annotationVerticalLine.d.ts +28 -50
  30. package/dist/types/properties/config/axes/axis.d.ts +1 -1
  31. package/dist/types/properties/config/legend/legend.d.ts +9 -10
  32. package/dist/types/properties/measures/measures.d.ts +6 -1
  33. package/dist/types/vseed.d.ts +133 -1
  34. package/dist/umd/index.js +273 -7958
  35. package/dist/umd/index.js.map +1 -1
  36. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { clone, groupBy, isArray, isEmpty, isNullish, isNumber, isString, mergeDeep, omit, pick, sort, unique } from "remeda";
2
- import zod, { z } from "zod";
2
+ import { z } from "zod";
3
3
  const execPipeline = (pipeline, context, initialValue = {})=>{
4
4
  const result = pipeline.reduce((prev, cur)=>cur(prev, context), initialValue);
5
5
  return result;
@@ -1206,7 +1206,7 @@ const encodingXY = (advancedVSeed)=>{
1206
1206
  };
1207
1207
  const { datasetReshapeInfo, dimensions } = advancedVSeed;
1208
1208
  if (!datasetReshapeInfo || !dimensions) return result;
1209
- const xDimension = dimensions.find((item)=>'rowDimension' !== item.location && 'columnDimension' !== item.location);
1209
+ const xDimension = dimensions.find((item)=>'rowDimension' !== item.location && 'columnDimension' !== item.location) || dimensions[0];
1210
1210
  const isZeroDimension = 0 === dimensions.length;
1211
1211
  const encoding = datasetReshapeInfo.reduce((prev, cur)=>{
1212
1212
  const { foldInfo, unfoldInfo } = cur;
@@ -1242,7 +1242,7 @@ const sortXBandAxis = (advancedVSeed, context)=>{
1242
1242
  ...advancedVSeed
1243
1243
  };
1244
1244
  const { vseed } = context;
1245
- const { sortAxis, dataset } = vseed;
1245
+ const { sort: sortAxis, dataset } = vseed;
1246
1246
  const { encoding } = advancedVSeed;
1247
1247
  const xField = encoding?.[0]?.x?.[0];
1248
1248
  if (!sortAxis || !xField) return advancedVSeed;
@@ -1257,7 +1257,7 @@ const sortYBandAxis = (advancedVSeed, context)=>{
1257
1257
  ...advancedVSeed
1258
1258
  };
1259
1259
  const { vseed } = context;
1260
- const { sortAxis, dataset } = vseed;
1260
+ const { sort: sortAxis, dataset } = vseed;
1261
1261
  const { encoding } = advancedVSeed;
1262
1262
  const yField = encoding?.[0]?.y?.[0];
1263
1263
  if (!sortAxis || !yField) return advancedVSeed;
@@ -1294,10 +1294,10 @@ const sort_sortLegend = (advancedVSeed, context)=>{
1294
1294
  result.analysis.orderMapping[groupField] = orderRes;
1295
1295
  return result;
1296
1296
  };
1297
- const calcOrder = (sortAxis, id, dataset)=>{
1298
- if (sortAxis.customOrder) return sortAxis.customOrder;
1299
- const order = sortAxis.order || 'asc';
1300
- const orderBy = sortAxis.orderBy;
1297
+ const calcOrder = (sortConfig, id, dataset)=>{
1298
+ if (sortConfig.customOrder) return sortConfig.customOrder;
1299
+ const order = sortConfig.order || 'asc';
1300
+ const orderBy = sortConfig.orderBy;
1301
1301
  const res = sort(dataset, (a, b)=>{
1302
1302
  const aValue = a[orderBy || id];
1303
1303
  const bValue = b[orderBy || id];
@@ -1576,13 +1576,13 @@ const xBand = (spec, context)=>{
1576
1576
  ];
1577
1577
  return result;
1578
1578
  }
1579
- const { visible = true, label, tick, title, grid, line, labelAutoHide, labelAutoHideGap, labelAutoLimit, labelAutoLimitLength, labelAutoRotate, labelAutoRotateAngleRange } = config;
1579
+ const { visible = true, label, tick, title, grid, line, labelAutoHide, labelAutoHideGap, labelAutoLimit, labelAutoLimitLength = 80, labelAutoRotate, labelAutoRotateAngleRange } = config;
1580
1580
  const sampling = !(labelAutoHide || labelAutoRotate || labelAutoLimit);
1581
1581
  const bandAxis = {
1582
1582
  visible,
1583
1583
  type: 'band',
1584
1584
  orient: 'bottom',
1585
- maxHeight: labelAutoLimitLength,
1585
+ maxHeight: labelAutoLimitLength + 60,
1586
1586
  sampling,
1587
1587
  hover: true,
1588
1588
  label: {
@@ -1832,24 +1832,35 @@ const tooltip_tooltip = (spec, context)=>{
1832
1832
  ...spec
1833
1833
  };
1834
1834
  const { advancedVSeed } = context;
1835
- const { measures, datasetReshapeInfo, chartType, locale } = advancedVSeed;
1835
+ const { measures, datasetReshapeInfo, chartType, locale, dimensions } = advancedVSeed;
1836
1836
  const baseConfig = advancedVSeed.config[chartType];
1837
1837
  const { tooltip = {
1838
1838
  enable: true
1839
1839
  } } = baseConfig;
1840
1840
  const { enable } = tooltip;
1841
- const { measureId, measureValue } = datasetReshapeInfo[0].foldInfo;
1841
+ const { measureId, measureValue, measureName } = datasetReshapeInfo[0].foldInfo;
1842
1842
  const { groupName } = datasetReshapeInfo[0].unfoldInfo;
1843
1843
  result.tooltip = {
1844
1844
  visible: enable,
1845
1845
  mark: {
1846
1846
  title: {
1847
- value: (datum)=>datum && datum[groupName] || ''
1847
+ visible: true
1848
1848
  },
1849
1849
  content: [
1850
+ ...dimensions.map((item)=>({
1851
+ visible: true,
1852
+ hasShape: true,
1853
+ shapeType: 'rectRound',
1854
+ key: (datum)=>{
1855
+ if (item.alias || item.id) return item.alias || item.id;
1856
+ return datum && datum[item.id];
1857
+ },
1858
+ value: (datum)=>datum && datum[item.id]
1859
+ })),
1850
1860
  {
1851
1861
  visible: true,
1852
- key: (datum)=>datum && datum[groupName] || '',
1862
+ hasShape: true,
1863
+ key: (datum)=>datum && datum[measureName || groupName] || '',
1853
1864
  value: (datum)=>{
1854
1865
  if (!datum) return '';
1855
1866
  const value = datum[measureValue];
@@ -1885,7 +1896,8 @@ const tooltip_tooltip = (spec, context)=>{
1885
1896
  }
1886
1897
  if (autoFormat) return autoFormatter(value, locale);
1887
1898
  return String(value);
1888
- }
1899
+ },
1900
+ shapeType: 'rectRound'
1889
1901
  }
1890
1902
  ]
1891
1903
  }
@@ -1942,7 +1954,7 @@ const discreteLegend = (spec, context)=>{
1942
1954
  const baseConfig = advancedVSeed.config[chartType];
1943
1955
  if (!baseConfig || !baseConfig.legend) return result;
1944
1956
  const { legend } = baseConfig;
1945
- const { enable, position = 'bottom', labelFontColor, labelFontSize = 12, labelFontWeight, maxSize, border, shapeType = 'rectRound' } = legend || {};
1957
+ const { enable, position = 'bottom', labelFontColor, labelFontSize = 12, labelFontWeight, maxSize = 1, border, shapeType = 'rectRound' } = legend || {};
1946
1958
  const orient = [
1947
1959
  'bottom',
1948
1960
  'bottomLeft',
@@ -1984,8 +1996,8 @@ const discreteLegend = (spec, context)=>{
1984
1996
  result.legends = {
1985
1997
  type: 'discrete',
1986
1998
  visible: enable,
1987
- maxCol: maxSize,
1988
- maxRow: maxSize,
1999
+ maxCol: Math.max(1, maxSize),
2000
+ maxRow: Math.max(1, maxSize),
1989
2001
  autoPage: true,
1990
2002
  orient,
1991
2003
  position: legendPosition,
@@ -1999,6 +2011,7 @@ const discreteLegend = (spec, context)=>{
1999
2011
  }) : void 0,
2000
2012
  item: {
2001
2013
  focus: true,
2014
+ maxWidth: '30%',
2002
2015
  focusIconStyle: {
2003
2016
  size: labelFontSize + 2,
2004
2017
  fill: labelFontColor,
@@ -2027,7 +2040,8 @@ const discreteLegend = (spec, context)=>{
2027
2040
  }
2028
2041
  }
2029
2042
  }
2030
- }
2043
+ },
2044
+ padding: 0
2031
2045
  };
2032
2046
  return result;
2033
2047
  };
@@ -2134,7 +2148,7 @@ const pointStyle_pointStyle = (spec, context)=>{
2134
2148
  pointStyle
2135
2149
  ];
2136
2150
  const customMap = pointStyles.reduce((result, style, index)=>{
2137
- const { pointBorderColor, pointBorderStyle, pointBorderWidth, pointColor, pointColorOpacity, pointSize } = style;
2151
+ const { pointBorderColor, pointBorderStyle, pointBorderWidth = 1, pointColor, pointColorOpacity, pointSize } = style;
2138
2152
  const lineDash = 'dashed' === pointBorderStyle ? [
2139
2153
  5,
2140
2154
  2
@@ -2312,12 +2326,14 @@ const annotationPoint_annotationPoint = (spec, context)=>{
2312
2326
  offsetY,
2313
2327
  offsetX,
2314
2328
  text: {
2315
- visible: true,
2316
2329
  text: text,
2317
2330
  style: {
2331
+ visible: true,
2318
2332
  textAlign: textAlign,
2319
2333
  textBaseline: textBaseline,
2320
2334
  fill: textColor,
2335
+ stroke: backgroundColor,
2336
+ lineWidth: 1,
2321
2337
  fontSize: textFontSize,
2322
2338
  fontWeight: textFontWeight
2323
2339
  },
@@ -2328,7 +2344,7 @@ const annotationPoint_annotationPoint = (spec, context)=>{
2328
2344
  cornerRadius: backgroundBorderRadius ?? 4,
2329
2345
  fill: backgroundColor,
2330
2346
  stroke: backgroundBorderColor,
2331
- strokeWidth: backgroundBorderWidth
2347
+ lineWidth: backgroundBorderWidth
2332
2348
  }
2333
2349
  }
2334
2350
  }
@@ -2357,14 +2373,16 @@ const annotationVerticalLine_annotationVerticalLine = (spec, context)=>{
2357
2373
  insideEnd: 'insideEndTop'
2358
2374
  };
2359
2375
  const markLine = annotationVerticalLineList.flatMap((annotationVerticalLine)=>{
2360
- const { selector: selectorPoint, xValue, text = '', textPosition = 'insideEnd', textColor = '#ffffff', textFontSize = 12, textFontWeight = 400, textAlign = 'right', textBaseline = 'top', backgroundBorderColor, backgroundBorderRadius = 4, backgroundBorderWidth = 1, backgroundColor = '#212121', backgroundPadding = 2, backgroundVisible = true, lineColor = '#212121', lineStyle = 'dashed', lineVisible = true, lineWidth = 1 } = annotationVerticalLine;
2376
+ const { selector: selectorPoint, xValue, text = '', textPosition = 'insideEnd', textColor = '#ffffff', textFontSize = 12, textFontWeight = 400, textAlign = 'right', textBaseline = 'top', backgroundBorderColor, backgroundBorderRadius = 4, backgroundBorderWidth = 1, backgroundColor = '#212121', backgroundPadding = 2, backgroundVisible = true, lineColor = '#212121', lineStyle = 'dashed', lineVisible = true, lineWidth = 1, offsetX = 0, offsetY = 0 } = annotationVerticalLine;
2361
2377
  const dataset = advancedVSeed.dataset.flat();
2362
2378
  const generateOneMarkLine = (x)=>({
2363
2379
  x: x,
2364
2380
  zIndex: ANNOTATION_Z_INDEX,
2381
+ offsetX,
2382
+ offsetY,
2365
2383
  line: {
2366
- visible: lineVisible,
2367
2384
  style: {
2385
+ visible: lineVisible,
2368
2386
  stroke: lineColor,
2369
2387
  lineStyle: lineStyle,
2370
2388
  lineWidth: lineWidth,
@@ -2384,26 +2402,32 @@ const annotationVerticalLine_annotationVerticalLine = (spec, context)=>{
2384
2402
  position: positionMap[textPosition],
2385
2403
  style: {
2386
2404
  visible: true,
2405
+ stroke: backgroundColor,
2406
+ lineWidth: 1,
2387
2407
  textAlign: textAlign,
2388
2408
  textBaseline: textBaseline,
2389
2409
  fill: textColor,
2390
2410
  fontSize: textFontSize,
2391
- fontWeight: textFontWeight
2411
+ fontWeight: textFontWeight,
2412
+ dy: textFontSize
2392
2413
  },
2393
2414
  labelBackground: {
2394
2415
  visible: backgroundVisible,
2395
2416
  padding: backgroundPadding,
2396
2417
  style: {
2418
+ dy: textFontSize,
2397
2419
  cornerRadius: backgroundBorderRadius ?? 4,
2398
2420
  fill: backgroundColor,
2399
2421
  stroke: backgroundBorderColor,
2400
- strokeWidth: backgroundBorderWidth
2422
+ lineWidth: backgroundBorderWidth
2401
2423
  }
2402
2424
  }
2403
2425
  },
2404
2426
  endSymbol: {
2405
2427
  visible: true,
2428
+ size: 10 + lineWidth,
2406
2429
  style: {
2430
+ dy: 4,
2407
2431
  fill: lineColor
2408
2432
  }
2409
2433
  }
@@ -2448,14 +2472,16 @@ const annotationHorizontalLine_annotationHorizontalLine = (spec, context)=>{
2448
2472
  insideEnd: 'insideEndTop'
2449
2473
  };
2450
2474
  const markLine = annotationVerticalLineList.flatMap((annotationVerticalLine)=>{
2451
- const { selector: selectorPoint, yValue, text = '', textPosition = 'insideEnd', textColor = '#ffffff', textFontSize = 12, textFontWeight = 400, textAlign = 'center', textBaseline = 'bottom', backgroundBorderColor, backgroundBorderRadius = 4, backgroundBorderWidth = 1, backgroundColor = '#212121', backgroundPadding = 2, backgroundVisible = true, lineColor = '#212121', lineStyle = 'dashed', lineVisible = true, lineWidth = 1 } = annotationVerticalLine;
2475
+ const { selector: selectorPoint, yValue, text = '', textPosition = 'insideEnd', textColor = '#ffffff', textFontSize = 12, textFontWeight = 400, textAlign = 'right', textBaseline = 'top', backgroundBorderColor, backgroundBorderRadius = 4, backgroundBorderWidth = 1, backgroundColor = '#212121', backgroundPadding = 2, backgroundVisible = true, lineColor = '#212121', lineStyle = 'dashed', lineVisible = true, lineWidth = 1, offsetX = 0, offsetY = 0 } = annotationVerticalLine;
2452
2476
  const dataset = advancedVSeed.dataset.flat();
2453
2477
  const generateOneMarkLine = (y)=>({
2454
2478
  y,
2479
+ offsetX,
2480
+ offsetY,
2455
2481
  zIndex: ANNOTATION_Z_INDEX,
2456
2482
  line: {
2457
- visible: lineVisible,
2458
2483
  style: {
2484
+ visible: lineVisible,
2459
2485
  stroke: lineColor,
2460
2486
  lineStyle: lineStyle,
2461
2487
  lineWidth: lineWidth,
@@ -2475,6 +2501,9 @@ const annotationHorizontalLine_annotationHorizontalLine = (spec, context)=>{
2475
2501
  position: positionMap[textPosition],
2476
2502
  style: {
2477
2503
  visible: true,
2504
+ dy: textFontSize,
2505
+ stroke: backgroundColor,
2506
+ lineWidth: 1,
2478
2507
  textAlign: textAlign,
2479
2508
  textBaseline: textBaseline,
2480
2509
  fill: textColor,
@@ -2485,16 +2514,19 @@ const annotationHorizontalLine_annotationHorizontalLine = (spec, context)=>{
2485
2514
  visible: backgroundVisible,
2486
2515
  padding: backgroundPadding,
2487
2516
  style: {
2517
+ dy: textFontSize,
2488
2518
  cornerRadius: backgroundBorderRadius ?? 4,
2489
2519
  fill: backgroundColor,
2490
2520
  stroke: backgroundBorderColor,
2491
- strokeWidth: backgroundBorderWidth
2521
+ lineWidth: backgroundBorderWidth
2492
2522
  }
2493
2523
  }
2494
2524
  },
2495
2525
  endSymbol: {
2496
2526
  visible: true,
2527
+ size: 10 + lineWidth,
2497
2528
  style: {
2529
+ dx: -4,
2498
2530
  fill: lineColor
2499
2531
  }
2500
2532
  }
@@ -2541,12 +2573,14 @@ const annotationArea_annotationArea = (spec, context)=>{
2541
2573
  right: 'insideRight'
2542
2574
  };
2543
2575
  const markArea = annotationAreaList.flatMap((annotationArea)=>{
2544
- const { selector: selectorPoint, text = '', textPosition = 'top', textColor = '#ffffff', textFontSize = 12, textFontWeight = 400, textAlign = 'center', textBaseline = 'top', backgroundBorderColor, backgroundBorderRadius = 4, backgroundBorderWidth = 1, backgroundColor = '#191d24', backgroundPadding = 10, backgroundVisible = true, outerPadding = 4, areaColor = '#888888', areaColorOpacity = 0.15, areaBorderColor, areaBorderRadius, areaBorderWidth } = annotationArea;
2576
+ const { selector: selectorPoint, text = '', textPosition = 'top', textColor = '#ffffff', textFontSize = 12, textFontWeight = 400, textAlign = 'center', textBaseline = 'top', backgroundBorderColor, backgroundBorderRadius = 4, backgroundBorderWidth = 1, backgroundColor = '#191d24', backgroundPadding = 10, backgroundVisible = true, outerPadding = 4, areaColor = '#888888', areaColorOpacity = 0.15, areaBorderColor, areaBorderRadius, areaBorderWidth, offsetX = 0, offsetY = 0 } = annotationArea;
2545
2577
  const dataset = advancedVSeed.dataset.flat();
2546
2578
  const selectedData = selectorPoint ? dataset.filter((datum)=>selector_selector(datum, selectorPoint)) : [];
2547
2579
  return {
2548
2580
  zIndex: ANNOTATION_Z_INDEX,
2549
2581
  regionRelative: true,
2582
+ offsetX,
2583
+ offsetY,
2550
2584
  positions: (data, context)=>{
2551
2585
  const positionData = data.filter((item)=>selectedData.some((datum)=>isSubset(datum, item)));
2552
2586
  const xyList = positionData.map((datum)=>context.dataToPosition(datum));
@@ -2612,6 +2646,8 @@ const annotationArea_annotationArea = (spec, context)=>{
2612
2646
  textAlign: textAlign,
2613
2647
  textBaseline: textBaseline,
2614
2648
  fill: textColor,
2649
+ stroke: backgroundColor,
2650
+ lineWidth: 1,
2615
2651
  fontSize: textFontSize,
2616
2652
  fontWeight: textFontWeight
2617
2653
  },
@@ -2622,7 +2658,7 @@ const annotationArea_annotationArea = (spec, context)=>{
2622
2658
  cornerRadius: backgroundBorderRadius ?? 4,
2623
2659
  fill: backgroundColor,
2624
2660
  stroke: backgroundBorderColor,
2625
- strokeWidth: backgroundBorderWidth
2661
+ lineWidth: backgroundBorderWidth
2626
2662
  }
2627
2663
  }
2628
2664
  },
@@ -2632,7 +2668,7 @@ const annotationArea_annotationArea = (spec, context)=>{
2632
2668
  fill: areaColor,
2633
2669
  fillOpacity: areaColorOpacity,
2634
2670
  stroke: areaBorderColor,
2635
- strokeWidth: areaBorderWidth,
2671
+ lineWidth: areaBorderWidth,
2636
2672
  cornerRadius: areaBorderRadius
2637
2673
  }
2638
2674
  }
@@ -2912,7 +2948,7 @@ const pivotDiscreteLegend = (spec, context)=>{
2912
2948
  }), {});
2913
2949
  const { legend, color } = baseConfig;
2914
2950
  const { colorScheme } = color;
2915
- const { enable, position = 'bottom', labelFontColor, labelFontSize = 12, labelFontWeight = 400, maxSize, border, shapeType = 'rectRound' } = legend || {};
2951
+ const { enable, position = 'bottom', labelFontColor, labelFontSize = 12, labelFontWeight = 400, maxSize = 1, border, shapeType = 'rectRound' } = legend || {};
2916
2952
  const orient = [
2917
2953
  'bottom',
2918
2954
  'bottomLeft',
@@ -2956,8 +2992,8 @@ const pivotDiscreteLegend = (spec, context)=>{
2956
2992
  type: 'discrete',
2957
2993
  orient,
2958
2994
  position: legendPosition,
2959
- maxCol: maxSize,
2960
- maxRow: maxSize,
2995
+ maxCol: Math.max(1, maxSize),
2996
+ maxRow: Math.max(1, maxSize),
2961
2997
  data: colorItems.map((d, index)=>({
2962
2998
  label: d,
2963
2999
  shape: {
@@ -2971,6 +3007,7 @@ const pivotDiscreteLegend = (spec, context)=>{
2971
3007
  })),
2972
3008
  item: {
2973
3009
  focus: true,
3010
+ maxWidth: '30%',
2974
3011
  focusIconStyle: {
2975
3012
  size: labelFontSize + 2,
2976
3013
  fill: labelFontColor,
@@ -3312,7 +3349,7 @@ const barStyle_barStyle = (spec, context)=>{
3312
3349
  barStyle
3313
3350
  ];
3314
3351
  const customMap = barStyles.reduce((result, style, index)=>{
3315
- const { barBorderColor, barBorderStyle, barBorderWidth, barColor, barColorOpacity, barRadius } = style;
3352
+ const { barBorderColor, barBorderStyle, barBorderWidth = 1, barColor, barColorOpacity, barRadius } = style;
3316
3353
  const lineDash = 'dashed' === barBorderStyle ? [
3317
3354
  5,
3318
3355
  2
@@ -3373,12 +3410,14 @@ const annotationAreaBand = (spec, context)=>{
3373
3410
  right: 'insideRight'
3374
3411
  };
3375
3412
  const markArea = annotationAreaList.flatMap((annotationArea)=>{
3376
- const { selector: selectorPoint, text = '', textPosition = 'top', textColor = '#ffffff', textFontSize = 12, textFontWeight = 400, textAlign = 'center', textBaseline = 'top', backgroundBorderColor, backgroundBorderRadius = 4, backgroundBorderWidth = 1, backgroundColor = '#191d24', backgroundPadding = 4, backgroundVisible = true, outerPadding = 8, areaColor = '#888888', areaColorOpacity = 0.15, areaBorderColor, areaBorderRadius, areaBorderWidth } = annotationArea;
3413
+ const { selector: selectorPoint, text = '', textPosition = 'top', textColor = '#ffffff', textFontSize = 12, textFontWeight = 400, textAlign = 'center', textBaseline = 'top', backgroundBorderColor, backgroundBorderRadius = 4, backgroundBorderWidth = 1, backgroundColor = '#191d24', backgroundPadding = 4, backgroundVisible = true, outerPadding = 8, areaColor = '#888888', areaColorOpacity = 0.15, areaBorderColor, areaBorderRadius, areaBorderWidth, offsetX, offsetY } = annotationArea;
3377
3414
  const dataset = advancedVSeed.dataset.flat();
3378
3415
  const selectedData = selectorPoint ? dataset.filter((datum)=>selector_selector(datum, selectorPoint)) : [];
3379
3416
  return {
3380
3417
  zIndex: ANNOTATION_Z_INDEX,
3381
3418
  regionRelative: true,
3419
+ offsetX,
3420
+ offsetY,
3382
3421
  positions: (data, context)=>{
3383
3422
  const positionData = data.filter((item)=>selectedData.some((datum)=>isSubset(datum, item)));
3384
3423
  const xyList = positionData.map((datum)=>context.dataToPosition(datum));
@@ -3447,6 +3486,8 @@ const annotationAreaBand = (spec, context)=>{
3447
3486
  style: {
3448
3487
  textAlign: textAlign,
3449
3488
  textBaseline: textBaseline,
3489
+ stroke: backgroundColor,
3490
+ lineWidth: 1,
3450
3491
  fill: textColor,
3451
3492
  fontSize: textFontSize,
3452
3493
  fontWeight: textFontWeight
@@ -3458,7 +3499,7 @@ const annotationAreaBand = (spec, context)=>{
3458
3499
  cornerRadius: backgroundBorderRadius ?? 4,
3459
3500
  fill: backgroundColor,
3460
3501
  stroke: backgroundBorderColor,
3461
- strokeWidth: backgroundBorderWidth
3502
+ lineWidth: backgroundBorderWidth
3462
3503
  }
3463
3504
  }
3464
3505
  },
@@ -3468,7 +3509,7 @@ const annotationAreaBand = (spec, context)=>{
3468
3509
  fill: areaColor,
3469
3510
  fillOpacity: areaColorOpacity,
3470
3511
  stroke: areaBorderColor,
3471
- strokeWidth: areaBorderWidth,
3512
+ lineWidth: areaBorderWidth,
3472
3513
  cornerRadius: areaBorderRadius
3473
3514
  }
3474
3515
  }
@@ -3716,7 +3757,7 @@ const encodingYX = (advancedVSeed)=>{
3716
3757
  };
3717
3758
  const { datasetReshapeInfo, dimensions } = advancedVSeed;
3718
3759
  if (!datasetReshapeInfo || !dimensions) return result;
3719
- const yDimension = dimensions.find((item)=>'rowDimension' !== item.location && 'columnDimension' !== item.location);
3760
+ const yDimension = dimensions.find((item)=>'rowDimension' !== item.location && 'columnDimension' !== item.location) || dimensions[0];
3720
3761
  const isZeroDimension = 0 === dimensions.length;
3721
3762
  const encoding = datasetReshapeInfo.reduce((prev, cur)=>{
3722
3763
  const { foldInfo, unfoldInfo } = cur;
@@ -3929,13 +3970,13 @@ const yBand = (spec, context)=>{
3929
3970
  ];
3930
3971
  return result;
3931
3972
  }
3932
- const { visible = true, label, tick, title, grid, line, labelAutoHide, labelAutoHideGap, labelAutoLimit, labelAutoLimitLength, labelAutoRotate, labelAutoRotateAngleRange } = config;
3973
+ const { visible = true, label, tick, title, grid, line, labelAutoHide, labelAutoHideGap, labelAutoLimit, labelAutoLimitLength = 80, labelAutoRotate, labelAutoRotateAngleRange } = config;
3933
3974
  const sampling = !(labelAutoHide || labelAutoRotate || labelAutoLimit);
3934
3975
  const bandAxis = {
3935
3976
  visible,
3936
3977
  type: 'band',
3937
3978
  orient: 'left',
3938
- maxWidth: labelAutoLimitLength,
3979
+ maxWidth: labelAutoLimitLength + 60,
3939
3980
  sampling,
3940
3981
  hover: true,
3941
3982
  label: {
@@ -4636,8 +4677,8 @@ const encodingXYY = (advancedVSeed)=>{
4636
4677
  const result = {
4637
4678
  ...advancedVSeed
4638
4679
  };
4639
- const { datasetReshapeInfo, dimensions, measures } = advancedVSeed;
4640
- if (!datasetReshapeInfo || !dimensions || !measures) return result;
4680
+ const { datasetReshapeInfo, measures } = advancedVSeed;
4681
+ if (!datasetReshapeInfo || !measures) return result;
4641
4682
  const encoding = datasetReshapeInfo.reduce((prev, cur, index)=>{
4642
4683
  const measure = measures[index];
4643
4684
  if ('children' in measure) {
@@ -4813,6 +4854,79 @@ const initAreaRangeLine2 = (spec, context)=>{
4813
4854
  };
4814
4855
  return result;
4815
4856
  };
4857
+ const tooltipDisable = (spec)=>{
4858
+ const result = {
4859
+ ...spec
4860
+ };
4861
+ result.tooltip = {
4862
+ visible: false
4863
+ };
4864
+ return result;
4865
+ };
4866
+ const tooltipAreaRange = (spec, context)=>{
4867
+ const result = {
4868
+ ...spec
4869
+ };
4870
+ const { advancedVSeed } = context;
4871
+ const { measures, datasetReshapeInfo, chartType, locale, encoding } = advancedVSeed;
4872
+ const baseConfig = advancedVSeed.config[chartType];
4873
+ const { tooltip = {
4874
+ enable: true
4875
+ } } = baseConfig;
4876
+ const { enable } = tooltip;
4877
+ const { groupName } = datasetReshapeInfo[0].unfoldInfo;
4878
+ const y = encoding[0]?.y || [];
4879
+ result.tooltip = {
4880
+ visible: enable,
4881
+ dimension: {
4882
+ content: [
4883
+ {
4884
+ visible: true,
4885
+ key: (datum)=>datum && datum[groupName] || '',
4886
+ value: (datum)=>{
4887
+ if (!datum) return '';
4888
+ const text = y.map((id)=>{
4889
+ const value = datum[id];
4890
+ const measure = findMeasureById(measures, id);
4891
+ if (!measure) return String(value);
4892
+ const { format = {}, autoFormat = true } = measure;
4893
+ if (!isEmpty(format)) {
4894
+ const formatter = createFormatter(format);
4895
+ return formatter(value);
4896
+ }
4897
+ if (autoFormat) return autoFormatter(value, locale);
4898
+ return String(value);
4899
+ });
4900
+ return text.join(' ~ ');
4901
+ },
4902
+ shapeType: 'rectRound'
4903
+ },
4904
+ ...y.map((id)=>{
4905
+ const measure = findMeasureById(measures, id);
4906
+ return {
4907
+ visible: true,
4908
+ key: measure?.alias || id,
4909
+ value: (datum)=>{
4910
+ if (!datum) return '';
4911
+ const value = datum[id];
4912
+ const measure = findMeasureById(measures, id);
4913
+ if (!measure) return String(value);
4914
+ const { format = {}, autoFormat = true } = measure;
4915
+ if (!isEmpty(format)) {
4916
+ const formatter = createFormatter(format);
4917
+ return formatter(value);
4918
+ }
4919
+ if (autoFormat) return autoFormatter(value, locale);
4920
+ return String(value);
4921
+ },
4922
+ shapeType: 'rectRound'
4923
+ };
4924
+ })
4925
+ ]
4926
+ }
4927
+ };
4928
+ return result;
4929
+ };
4816
4930
  const areaRange = [
4817
4931
  series([
4818
4932
  initAreaRange,
@@ -4821,12 +4935,14 @@ const areaRange = [
4821
4935
  initAreaRangeLine1,
4822
4936
  lineStyle_lineStyle,
4823
4937
  pointStyle_pointStyle,
4824
- pointStateDimensionHover
4938
+ pointStateDimensionHover,
4939
+ tooltipDisable
4825
4940
  ], [
4826
4941
  initAreaRangeLine2,
4827
4942
  lineStyle_lineStyle,
4828
4943
  pointStyle_pointStyle,
4829
- pointStateDimensionHover
4944
+ pointStateDimensionHover,
4945
+ tooltipDisable
4830
4946
  ]),
4831
4947
  datasetXY,
4832
4948
  progressive,
@@ -4834,6 +4950,7 @@ const areaRange = [
4834
4950
  xBand,
4835
4951
  yLinear,
4836
4952
  label_label,
4953
+ tooltipAreaRange,
4837
4954
  verticalCrosshairLine,
4838
4955
  annotationPoint_annotationPoint,
4839
4956
  annotationVerticalLine_annotationVerticalLine,
@@ -4853,12 +4970,14 @@ const pivotAreaRange = [
4853
4970
  initAreaRangeLine1,
4854
4971
  lineStyle_lineStyle,
4855
4972
  pointStyle_pointStyle,
4856
- pointStateDimensionHover
4973
+ pointStateDimensionHover,
4974
+ tooltipDisable
4857
4975
  ], [
4858
4976
  initAreaRangeLine2,
4859
4977
  lineStyle_lineStyle,
4860
4978
  pointStyle_pointStyle,
4861
- pointStateDimensionHover
4979
+ pointStateDimensionHover,
4980
+ tooltipDisable
4862
4981
  ]),
4863
4982
  background_backgroundColor,
4864
4983
  datasetXY,
@@ -4866,6 +4985,7 @@ const pivotAreaRange = [
4866
4985
  xBand,
4867
4986
  yLinear,
4868
4987
  label_label,
4988
+ tooltipAreaRange,
4869
4989
  verticalCrosshairLine,
4870
4990
  annotationPoint_annotationPoint,
4871
4991
  annotationVerticalLine_annotationVerticalLine,
@@ -5293,8 +5413,8 @@ const encodingPie = (advancedVSeed)=>{
5293
5413
  const result = {
5294
5414
  ...advancedVSeed
5295
5415
  };
5296
- const { datasetReshapeInfo, dimensions } = advancedVSeed;
5297
- if (!datasetReshapeInfo || !dimensions) return result;
5416
+ const { datasetReshapeInfo } = advancedVSeed;
5417
+ if (!datasetReshapeInfo) return result;
5298
5418
  const encoding = datasetReshapeInfo.reduce((prev, cur)=>{
5299
5419
  const { foldInfo, unfoldInfo } = cur;
5300
5420
  const radius = [
@@ -5366,7 +5486,6 @@ const initPie = (spec, context)=>{
5366
5486
  },
5367
5487
  state: {
5368
5488
  hover: {
5369
- centerOffset: 5,
5370
5489
  outerRadius: 1.1 * result.outerRadius
5371
5490
  }
5372
5491
  }
@@ -5514,7 +5633,7 @@ const encodingRose = (advancedVSeed)=>{
5514
5633
  };
5515
5634
  const { datasetReshapeInfo, dimensions, measures } = advancedVSeed;
5516
5635
  if (!datasetReshapeInfo || !dimensions || !measures) return result;
5517
- const angleDimension = dimensions.find((item)=>'rowDimension' !== item.location && 'columnDimension' !== item.location);
5636
+ const angleDimension = dimensions.find((item)=>'rowDimension' !== item.location && 'columnDimension' !== item.location) || dimensions[0];
5518
5637
  const is1D1M = 1 === dimensions.length && 1 === measures.length;
5519
5638
  const isZeroDimension = 0 === dimensions.length;
5520
5639
  const encoding = datasetReshapeInfo.reduce((prev, cur)=>{
@@ -5828,7 +5947,7 @@ const encodingAR = (advancedVSeed)=>{
5828
5947
  };
5829
5948
  const { datasetReshapeInfo, dimensions, measures } = advancedVSeed;
5830
5949
  if (!datasetReshapeInfo || !dimensions || !measures) return result;
5831
- const angleDimension = dimensions.find((item)=>'rowDimension' !== item.location && 'columnDimension' !== item.location);
5950
+ const angleDimension = dimensions.find((item)=>'rowDimension' !== item.location && 'columnDimension' !== item.location) || dimensions[0];
5832
5951
  const isZeroDimension = 0 === dimensions.length;
5833
5952
  const encoding = datasetReshapeInfo.reduce((prev, cur)=>{
5834
5953
  const { foldInfo, unfoldInfo } = cur;
@@ -6001,8 +6120,8 @@ const encodingFunnel = (advancedVSeed)=>{
6001
6120
  const result = {
6002
6121
  ...advancedVSeed
6003
6122
  };
6004
- const { datasetReshapeInfo, dimensions } = advancedVSeed;
6005
- if (!datasetReshapeInfo || !dimensions) return result;
6123
+ const { datasetReshapeInfo } = advancedVSeed;
6124
+ if (!datasetReshapeInfo) return result;
6006
6125
  const encoding = datasetReshapeInfo.reduce((prev, cur)=>{
6007
6126
  const { foldInfo, unfoldInfo } = cur;
6008
6127
  const size = [
@@ -6214,7 +6333,7 @@ const encodingMatrix = (advancedVSeed)=>{
6214
6333
  };
6215
6334
  const { datasetReshapeInfo, dimensions } = advancedVSeed;
6216
6335
  if (!datasetReshapeInfo || !dimensions) return result;
6217
- const xDimension = dimensions.find((item)=>'rowDimension' !== item.location && 'columnDimension' !== item.location);
6336
+ const xDimension = dimensions.find((item)=>'rowDimension' !== item.location && 'columnDimension' !== item.location) || dimensions[0];
6218
6337
  const isZeroDimension = 0 === dimensions.length;
6219
6338
  const encoding = datasetReshapeInfo.reduce((prev, cur)=>{
6220
6339
  const { foldInfo, unfoldInfo } = cur;
@@ -6400,7 +6519,7 @@ const lightTheme = ()=>{
6400
6519
  labelAutoHide: true,
6401
6520
  labelAutoHideGap: 4,
6402
6521
  labelAutoLimit: true,
6403
- labelAutoLimitLength: 100,
6522
+ labelAutoLimitLength: 80,
6404
6523
  labelAutoRotate: false,
6405
6524
  labelAutoRotateAngleRange: [
6406
6525
  0,
@@ -6722,7 +6841,7 @@ const darkTheme = ()=>{
6722
6841
  labelAutoHide: true,
6723
6842
  labelAutoHideGap: 4,
6724
6843
  labelAutoLimit: true,
6725
- labelAutoLimitLength: 100,
6844
+ labelAutoLimitLength: 80,
6726
6845
  labelAutoRotate: false,
6727
6846
  labelAutoRotateAngleRange: [
6728
6847
  0,
@@ -7028,6 +7147,12 @@ const registerAll = ()=>{
7028
7147
  registerLightTheme();
7029
7148
  registerDarkTheme();
7030
7149
  };
7150
+ const updateAdvanced = (chartType, advancedPipe)=>{
7151
+ Builder._customAdvancedPipe[chartType] = advancedPipe;
7152
+ };
7153
+ const updateSpec = (chartType, specPipe)=>{
7154
+ Builder._customSpecPipe[chartType] = specPipe;
7155
+ };
7031
7156
  const zChartType = z["enum"]([
7032
7157
  'table',
7033
7158
  'pivotTable',
@@ -7718,7 +7843,9 @@ const zAnnotationVerticalLine = z.object({
7718
7843
  backgroundBorderColor: z.string().optional(),
7719
7844
  backgroundBorderWidth: z.number().default(1).optional(),
7720
7845
  backgroundBorderRadius: z.number().default(4).optional(),
7721
- backgroundPadding: z.number().optional()
7846
+ backgroundPadding: z.number().optional(),
7847
+ offsetX: z.number().default(0),
7848
+ offsetY: z.number().default(0)
7722
7849
  });
7723
7850
  const zAnnotationHorizontalLine = z.object({
7724
7851
  selector: z.union([
@@ -7768,7 +7895,9 @@ const zAnnotationHorizontalLine = z.object({
7768
7895
  backgroundBorderColor: z.string().optional(),
7769
7896
  backgroundBorderWidth: z.number().default(1).optional(),
7770
7897
  backgroundBorderRadius: z.number().default(4).optional(),
7771
- backgroundPadding: z.number().optional()
7898
+ backgroundPadding: z.number().optional(),
7899
+ offsetX: z.number().default(0),
7900
+ offsetY: z.number().default(0)
7772
7901
  });
7773
7902
  const zAnnotationArea = z.object({
7774
7903
  selector: z.union([
@@ -7810,7 +7939,9 @@ const zAnnotationArea = z.object({
7810
7939
  areaBorderColor: z.number().optional(),
7811
7940
  areaBorderWidth: z.number().default(2).optional(),
7812
7941
  areaBorderRadius: z.number().default(4).optional(),
7813
- outerPadding: z.number().optional()
7942
+ outerPadding: z.number().optional(),
7943
+ offsetX: z.number().optional(),
7944
+ offsetY: z.number().optional()
7814
7945
  });
7815
7946
  const zAnnotation = z.object({
7816
7947
  annotationPoint: zAnnotationPoint.or(z.array(zAnnotationPoint)).optional(),
@@ -7818,7 +7949,7 @@ const zAnnotation = z.object({
7818
7949
  annotationHorizontalLine: zAnnotationHorizontalLine.or(z.array(zAnnotationHorizontalLine)).optional(),
7819
7950
  annotationArea: zAnnotationArea.or(z.array(zAnnotationArea)).optional()
7820
7951
  });
7821
- const zSortAxis = z.object({
7952
+ const zSort = z.object({
7822
7953
  order: z["enum"]([
7823
7954
  'asc',
7824
7955
  'desc'
@@ -7834,8 +7965,8 @@ const zSortLegend = z.object({
7834
7965
  orderBy: z.string().optional(),
7835
7966
  customOrder: z.array(z.any()).optional()
7836
7967
  });
7837
- const zAnalysis = zod.object({
7838
- orderMapping: zod.record(zod.string(), zod.array(zod.string())).optional()
7968
+ const zAnalysis = z.object({
7969
+ orderMapping: z.record(z.string(), z.array(z.string())).optional()
7839
7970
  });
7840
7971
  const zLocale = z["enum"]([
7841
7972
  'zh-CN',
@@ -7872,7 +8003,7 @@ const zLine = z.object({
7872
8003
  xAxis: zXBandAxis.optional(),
7873
8004
  yAxis: zYLinearAxis.optional(),
7874
8005
  crosshairLine: zCrosshairLine.optional(),
7875
- sortAxis: zSortAxis.optional(),
8006
+ sort: zSort.optional(),
7876
8007
  sortLegend: zSortLegend.optional(),
7877
8008
  theme: zTheme.optional(),
7878
8009
  pointStyle: z.array(zPointStyle).or(zPointStyle).optional(),
@@ -8230,6 +8361,6 @@ const zAdvancedVSeed = z.object({
8230
8361
  annotation: zAnnotation,
8231
8362
  locale: zLocale
8232
8363
  });
8233
- export { Builder, FoldMeasureId, FoldMeasureName, FoldMeasureValue, ORIGINAL_DATA, Separator, UnfoldDimensionGroup, UnfoldDimensionGroupId, autoFormatter, autoNumFormatter, createFormatter, createNumFormatter, darkTheme, dataReshapeFor1D, dataReshapeFor1D1M, dataReshapeFor1D2M, dataReshapeFor2D1M, dataReshapeFor2D1M0Name, execPipeline, findAllDimensions, findAllMeasures, findDimensionById, findFirstDimension, findFirstMeasure, findMeasureById, foldMeasures, i18n, intl, isDimensionSelector, isMeasureSelector, isPartialDatumSelector, isPivotChart, isPivotTable, isTable, isVChart, isVTable, isValueSelector, lightTheme, preorderTraverse, registerAll, registerArea, registerAreaPercent, registerAreaRange, registerBar, registerBarParallel, registerBarPercent, registerColumn, registerColumnParallel, registerColumnPercent, registerCustomTheme, registerDarkTheme, registerDonut, registerFunnel, registerHeatmap, registerLightTheme, registerLine, registerPie, registerPivotTable, registerRadar, registerRose, registerRoseParallel, registerScatter, registerTable, selector_selector as selector, unfoldDimensions, zAdvancedVSeed, zAnalysis, zAnnotation, zAnnotationArea, zAnnotationHorizontalLine, zAnnotationPoint, zAnnotationVerticalLine, zArea, zAreaConfig, zAreaPercent, zAreaPercentConfig, zAreaRange, zAreaRangeConfig, zAreaStyle, zAxis, zBackgroundColor, zBar, zBarConfig, zBarParallel, zBarParallelConfig, zBarPercent, zBarPercentConfig, zBarStyle, zChartType, zColor, zColorLegend, zColumn, zColumnConfig, zColumnParallel, zColumnParallelConfig, zColumnPercent, zColumnPercentConfig, zConfig, zCrosshairLine, zCrosshairRect, zCustomTheme, zCustomThemeConfig, zDataset, zDatasetReshapeInfo, zDatum, zDimension, zDimensionGroup, zDimensionTree, zDimensions, zDonut, zDonutConfig, zDualAxisConfig, zEncoding, zFoldInfo, zFunnel, zFunnelConfig, zHeatmap, zHeatmapConfig, zLabel, zLegend, zLine, zLineConfig, zLineStyle, zLinearColor, zLocale, zMarkStyle, zMeasure, zMeasureGroup, zMeasureTree, zMeasures, zNumFormat, zPie, zPieConfig, zPivotTable, zPivotTableConfig, zPointStyle, zRadar, zRadarConfig, zRose, zRoseConfig, zRoseParallel, zRoseParallelConfig, zScatter, zScatterConfig, zSortAxis, zSortLegend, zStackCornerRadius, zTable, zTableConfig, zTheme, zTooltip, zUnfoldInfo, zVSeed, zXBandAxis, zXLinearAxis, zYBandAxis, zYLinearAxis };
8364
+ export { Builder, FoldMeasureId, FoldMeasureName, FoldMeasureValue, ORIGINAL_DATA, Separator, UnfoldDimensionGroup, UnfoldDimensionGroupId, areaAdvancedPipeline, areaPercentAdvancedPipeline, areaPercentSpecPipeline, areaRangeAdvancedPipeline, areaRangeSpecPipeline, areaSpecPipeline, autoFormatter, autoNumFormatter, barAdvancedPipeline, barParallelAdvancedPipeline, barParallelSpecPipeline, barPercentAdvancedPipeline, barPercentSpecPipeline, barSpecPipeline, columnAdvancedPipeline, columnParallelAdvancedPipeline, columnParallelSpecPipeline, columnPercentAdvancedPipeline, columnPercentSpecPipeline, columnSpecPipeline, createFormatter, createNumFormatter, darkTheme, dataReshapeFor1D, dataReshapeFor1D1M, dataReshapeFor1D2M, dataReshapeFor2D1M, dataReshapeFor2D1M0Name, donutAdvancedPipeline, donutSpecPipeline, execPipeline, findAllDimensions, findAllMeasures, findDimensionById, findFirstDimension, findFirstMeasure, findMeasureById, foldMeasures, funnelAdvancedPipeline, funnelSpecPipeline, heatmapAdvancedPipeline, heatmapSpecPipeline, i18n, intl, isDimensionSelector, isMeasureSelector, isPartialDatumSelector, isPivotChart, isPivotTable, isTable, isVChart, isVTable, isValueSelector, lightTheme, lineAdvancedPipeline, lineSpecPipeline, pieAdvancedPipeline, pieSpecPipeline, pivotTableAdvancedPipeline, pivotTableSpecPipeline, preorderTraverse, radarAdvancedPipeline, radarSpecPipeline, registerAll, registerArea, registerAreaPercent, registerAreaRange, registerBar, registerBarParallel, registerBarPercent, registerColumn, registerColumnParallel, registerColumnPercent, registerCustomTheme, registerDarkTheme, registerDonut, registerFunnel, registerHeatmap, registerLightTheme, registerLine, registerPie, registerPivotTable, registerRadar, registerRose, registerRoseParallel, registerScatter, registerTable, roseAdvancedPipeline, roseParallelAdvancedPipeline, roseParallelSpecPipeline, roseSpecPipeline, scatterAdvancedPipeline, scatterSpecPipeline, selector_selector as selector, tableAdvancedPipeline, tableSpecPipeline, unfoldDimensions, updateAdvanced, updateSpec, zAdvancedVSeed, zAnalysis, zAnnotation, zAnnotationArea, zAnnotationHorizontalLine, zAnnotationPoint, zAnnotationVerticalLine, zArea, zAreaConfig, zAreaPercent, zAreaPercentConfig, zAreaRange, zAreaRangeConfig, zAreaStyle, zAxis, zBackgroundColor, zBar, zBarConfig, zBarParallel, zBarParallelConfig, zBarPercent, zBarPercentConfig, zBarStyle, zChartType, zColor, zColorLegend, zColumn, zColumnConfig, zColumnParallel, zColumnParallelConfig, zColumnPercent, zColumnPercentConfig, zConfig, zCrosshairLine, zCrosshairRect, zCustomTheme, zCustomThemeConfig, zDataset, zDatasetReshapeInfo, zDatum, zDimension, zDimensionGroup, zDimensionTree, zDimensions, zDonut, zDonutConfig, zDualAxisConfig, zEncoding, zFoldInfo, zFunnel, zFunnelConfig, zHeatmap, zHeatmapConfig, zLabel, zLegend, zLine, zLineConfig, zLineStyle, zLinearColor, zLocale, zMarkStyle, zMeasure, zMeasureGroup, zMeasureTree, zMeasures, zNumFormat, zPie, zPieConfig, zPivotTable, zPivotTableConfig, zPointStyle, zRadar, zRadarConfig, zRose, zRoseConfig, zRoseParallel, zRoseParallelConfig, zScatter, zScatterConfig, zSort, zSortLegend, zStackCornerRadius, zTable, zTableConfig, zTheme, zTooltip, zUnfoldInfo, zVSeed, zXBandAxis, zXLinearAxis, zYBandAxis, zYLinearAxis };
8234
8365
 
8235
8366
  //# sourceMappingURL=index.js.map