@xq-labs/data-ui-v2 0.4.0 → 0.5.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.
@@ -201,7 +201,7 @@ const stateConfig = {
201
201
  | --- | --- | --- | --- |
202
202
  | `data` | `Array` | `[]` | 原始业务数据数组 |
203
203
  | `xAxisKey` | `String` | `'name'` | 横轴类目字段名 |
204
- | `series` | `Array` | `[]` | 系列定义数组,推荐包含 `key`、`name`、`kind` |
204
+ | `series` | `Array` | `[]` | 系列定义数组,推荐包含 `key`、`name`、`kind`、`colors`,`cube` 方柱可额外传 `cubeGradientColors` |
205
205
  | `variant` | `String` | `'flat'` | 图形风格:`flat` / `cylinder` / `cube` |
206
206
  | `preset` | `String` | `'compare'` | 预设:`compare` / `trend` / `rank` |
207
207
  | `barWidth` | `Number` | `18` | 柱体宽度 |
@@ -210,6 +210,7 @@ const stateConfig = {
210
210
  | `xAxisScroll` | `Object` | `{}` | X 轴类目滚动配置,只作用于横轴 |
211
211
  | `customOption` | `Object` | `{}` | 对 ECharts option 的补充覆盖 |
212
212
  | `loading` | `Boolean` | `false` | 是否显示统一遮罩式 loading(非 ECharts 原生 loading) |
213
+ | `showEmptyState` | `Boolean` | `true` | 数据为空时是否展示统一空状态;关闭后仍保留图表容器与坐标系渲染 |
213
214
  | `stateConfig` | `Object` | `{}` | 统一状态配置,原样透传给 `BaseChart` |
214
215
  | `height` | `String \| Number` | `320` | 容器高度 |
215
216
 
@@ -298,6 +299,13 @@ const series = [
298
299
  kind: 'bar',
299
300
  colors: ['#6B98F8']
300
301
  },
302
+ {
303
+ key: 'delivery',
304
+ name: '交付',
305
+ kind: 'bar',
306
+ colors: ['#6B8AF7', '#5B7CF0', '#8FA6FF'],
307
+ cubeGradientColors: ['#B8C8FF', '#8EA7FF', '#DCE5FF']
308
+ },
301
309
  {
302
310
  key: 'rate',
303
311
  name: '完成率',
@@ -337,6 +345,33 @@ const series = [
337
345
  - 传 `2` 个色值:按“左侧面 / 右侧面”解释,顶面自动提亮。
338
346
  - 传 `3` 个色值:按“左侧面 / 右侧面 / 顶面”解释。
339
347
 
348
+ ### 7.6 `cubeGradientColors` 配置规则
349
+
350
+ `cubeGradientColors` 只在 `variant="cube"` 且当前系列是前景 `bar` 时生效,用来补充三面的渐变终点色。
351
+
352
+ 规则说明:
353
+
354
+ - 类型要求是 `Array`,非数组会被忽略。
355
+ - 最多读取前 `1~3 个色值`,顺序固定为“左侧面 / 右侧面 / 顶面”。
356
+ - 未传某一面的终点色时,会回退到该面的主色。
357
+ - 只影响前景方柱的 `fill` 渐变,不改变 `stroke / legend / tooltip` 的主色语义。
358
+ - 背景方柱不读取 `cubeGradientColors`,继续保持纯色 + 透明度的柱槽视觉。
359
+ - `flat / cylinder / line` 会忽略该字段。
360
+
361
+ 推荐示例:
362
+
363
+ ```js
364
+ const series = [
365
+ {
366
+ key: 'delivery',
367
+ name: '交付',
368
+ kind: 'bar',
369
+ colors: ['#6B8AF7', '#5B7CF0', '#8FA6FF'],
370
+ cubeGradientColors: ['#B8C8FF', '#8EA7FF', '#DCE5FF']
371
+ }
372
+ ]
373
+ ```
374
+
340
375
  示例:
341
376
 
342
377
  ```js
@@ -345,7 +380,7 @@ colors: ['#A8BEFA', '#6B98F8']
345
380
  colors: ['#A8BEFA', '#6B98F8', '#3EE8FE']
346
381
  ```
347
382
 
348
- ### 7.6 `xAxisScroll` 字段说明
383
+ ### 7.7 `xAxisScroll` 字段说明
349
384
 
350
385
  `xAxisScroll` 用于横轴类目较多的场景。
351
386
  它底层使用 ECharts `dataZoom`,只控制 X 轴,不会影响 Y 轴。
@@ -379,14 +414,14 @@ const xAxisScroll = {
379
414
  4. 开启底部滚动条时,组件默认把 `grid.bottom` 提升到 `56`,避免滚动条挤压坐标轴。
380
415
  5. `customOption.dataZoom` 与 `customOption.grid.bottom` 优先级最高,可覆盖组件生成结果。
381
416
 
382
- ### 7.7 Events
417
+ ### 7.8 Events
383
418
 
384
419
  | 事件名 | 参数 | 说明 |
385
420
  | --- | --- | --- |
386
421
  | `ready` | `chart` | 底层 ECharts 实例 |
387
422
  | `chart-click` | `params` | 点击图形元素时触发 |
388
423
 
389
- ### 7.8 常见场景
424
+ ### 7.9 常见场景
390
425
 
391
426
  1. **基础柱线组合**:销售额 + 完成率双轴。
392
427
  2. **圆柱视觉**:看板类数据强调“柱体感”。
@@ -430,6 +465,7 @@ const xAxisScroll = {
430
465
  | `hideZeroValueSlices` | `Boolean` | `true` | 3D 下是否过滤 0 值扇区 |
431
466
  | `customOption` | `Object` | `{}` | 对 ECharts option 的补充覆盖 |
432
467
  | `loading` | `Boolean` | `false` | 是否显示统一遮罩式 loading(非 ECharts 原生 loading) |
468
+ | `showEmptyState` | `Boolean` | `true` | 是否在普通空数据场景展示统一空状态;不影响 3D 运行时失败等必须提示的错误场景 |
433
469
  | `stateConfig` | `Object` | `{}` | 统一状态配置;3D 运行时失败时内部错误文案优先级更高 |
434
470
  | `height` | `String \| Number` | `320` | 容器高度 |
435
471
 
@@ -30,6 +30,7 @@ Playground 中 `BarLineChart` 按分组路由组织:
30
30
  barBackground,
31
31
  xAxisScroll,
32
32
  customOption,
33
+ showEmptyState,
33
34
  stateConfig
34
35
  }"
35
36
  />
@@ -46,6 +47,7 @@ Playground 中 `BarLineChart` 按分组路由组织:
46
47
  - `barBackground`:柱形背景配置,用于为当前图中的柱系列补整列高度背景柱。
47
48
  - `xAxisScroll`:X 轴滚动配置,用于类目过多时默认展示最新数据窗口。
48
49
  - `customOption`:ECharts 展示细节覆盖。
50
+ - `showEmptyState`:数据为空时是否展示统一空状态;关闭后保留图表容器与坐标系本身。
49
51
  - `stateConfig`:统一收拢空态文案、空态图和 loading 文案。
50
52
 
51
53
  推荐结构:
@@ -74,6 +76,8 @@ const stateConfig = {
74
76
  text: '柱线图加载中...'
75
77
  }
76
78
  }
79
+
80
+ const showEmptyState = false
77
81
  ```
78
82
 
79
83
  `xAxisScroll` 字段说明:
@@ -91,6 +95,24 @@ const stateConfig = {
91
95
  - `colors`:可选背景色板,支持 1~3 个色值;建议传不带 alpha 的颜色值,不传时按当前柱形默认背景色推导。
92
96
  - `opacity`:背景柱透明度,推荐传 `0 ~ 1` 之间的小数。
93
97
 
98
+ `cube` 方柱补充字段:
99
+
100
+ - `series.colors`:继续按左/右/顶顺序提供三面的主色,兼容现有 1~3 个色值写法。
101
+ - `cubeGradientColors`:仅 `cube` 前景柱生效,按左/右/顶顺序提供三面的渐变终点色;缺失某一面时会回退到该面的主色。
102
+ - 背景方柱不读取 `cubeGradientColors`,继续保持纯色 + 透明度的柱槽视觉。
103
+
104
+ ```js
105
+ const series = [
106
+ {
107
+ key: 'delivery',
108
+ name: '交付',
109
+ kind: 'bar',
110
+ colors: ['#6B8AF7', '#5B7CF0', '#8FA6FF'],
111
+ cubeGradientColors: ['#B8C8FF', '#8EA7FF', '#DCE5FF']
112
+ }
113
+ ]
114
+ ```
115
+
94
116
  背景高度语义:
95
117
 
96
118
  - `barBackground` 渲染的是当前坐标轴下的整列高度背景柱,不跟随单个数据值缩放。
@@ -99,10 +121,12 @@ const stateConfig = {
99
121
 
100
122
  1. **优先 `series` 表达业务语义**:先确定字段、柱线类型、双轴和堆叠关系。
101
123
  2. **用 `series.colors` 控制系列配色**:把业务色板放在系列层。
102
- 3. **用 `barBackground` 强化柱槽轮廓**:需要整列高度背景时,再开启背景柱并调透明度。
103
- 4. **用 `xAxisScroll` 控制横轴窗口**:类目较多时默认展示最新 `visibleCount` 个类目。
104
- 5. **`stateConfig` 收拢状态文案**:空态图、空态文案、loading 文案统一从这里传。
105
- 6. **`customOption` 补充细节**:用于 tooltip、legend、grid、坐标轴样式、dataZoom 等展示项。
124
+ 3. **`cube` 方柱可再传 `cubeGradientColors`**:只补前景三面的渐变终点色,不影响背景方柱。
125
+ 4. **用 `barBackground` 强化柱槽轮廓**:需要整列高度背景时,再开启背景柱并调透明度。
126
+ 5. **用 `xAxisScroll` 控制横轴窗口**:类目较多时默认展示最新 `visibleCount` 个类目。
127
+ 6. **按需关闭 `showEmptyState`**:需要保留空图表骨架时可传 `false`,否则默认展示统一空态。
128
+ 7. **`stateConfig` 收拢状态文案**:空态图、空态文案、loading 文案统一从这里传。
129
+ 8. **`customOption` 补充细节**:用于 tooltip、legend、grid、坐标轴样式、dataZoom 等展示项。
106
130
 
107
131
  不建议用 `customOption` 直接整体替换关键业务结构。
108
132
  如果必须完全自定义滚动条,可通过 `customOption.dataZoom` 覆盖 `xAxisScroll` 生成结果。
@@ -110,5 +134,5 @@ const stateConfig = {
110
134
  ## 4. 可执行验收要点
111
135
 
112
136
  - 页面分组名称与路由一致:基础用法、圆柱样式、方柱样式、进阶配置、customOption 与自定义、实验室。
113
- - 文档示例包含 `series.colors`、`barBackground`、`xAxisScroll`、`stateConfig` 与 `customOption`。
137
+ - 文档示例包含 `series.colors`、`cubeGradientColors`、`barBackground`、`xAxisScroll`、`showEmptyState`、`stateConfig` 与 `customOption`。
114
138
  - 文档明确实验室边界与推荐自定义顺序。
@@ -30,6 +30,7 @@ Playground 中 `PieChart` 采用分组路由组织,按能力查阅:
30
30
  hideZeroValueSlices,
31
31
  labelOptions,
32
32
  customOption,
33
+ showEmptyState,
33
34
  stateConfig
34
35
  }"
35
36
  />
@@ -45,6 +46,7 @@ Playground 中 `PieChart` 采用分组路由组织,按能力查阅:
45
46
  - `hideZeroValueSlices`:3D 下是否隐藏 0 值扇区。
46
47
  - `labelOptions`:标签与引导线细节(格式、线长、颜色等)。
47
48
  - `customOption`:ECharts 细节覆盖(标题、提示、图例等)。
49
+ - `showEmptyState`:普通空数据时是否展示统一空状态。
48
50
  - `stateConfig`:统一收拢空态文案、空态图和 loading 文案。
49
51
 
50
52
  推荐结构:
@@ -59,6 +61,8 @@ const stateConfig = {
59
61
  text: '饼图加载中...'
60
62
  }
61
63
  }
64
+
65
+ const showEmptyState = false
62
66
  ```
63
67
 
64
68
  ## 2.1 3D 依赖说明
@@ -83,8 +87,9 @@ import '@xq-labs/data-ui-v2/pie-chart/3d-runtime'
83
87
 
84
88
  1. **优先公开 props**:先用 `variant`、`dimension`、`preset`、高度参数表达业务语义。
85
89
  2. **其次 `labelOptions`**:标签文案、引导线样式优先在这里完成。
86
- 3. **状态文案统一交给 `stateConfig`**:空态图、空态文案、loading 文案不要分散到多个字段。
87
- 4. **最后 `customOption`**:仅用于补充 ECharts 展示细节。
90
+ 3. **按需控制 `showEmptyState`**:需要保留空画布时传 `false`;默认继续展示统一空态。
91
+ 4. **状态文案统一交给 `stateConfig`**:空态图、空态文案、loading 文案不要分散到多个字段。
92
+ 5. **最后 `customOption`**:仅用于补充 ECharts 展示细节。
88
93
 
89
94
  不建议业务侧直接拼接或重写内部 `series`,避免覆盖组件内置能力与升级兼容性。
90
95
 
@@ -99,6 +104,7 @@ import '@xq-labs/data-ui-v2/pie-chart/3d-runtime'
99
104
  1. `PieChart` 会优先显示组件内部错误文案。
100
105
  2. `stateConfig.empty.image` 仍然生效。
101
106
  3. `stateConfig.loading.text` 仍然生效。
107
+ 4. `showEmptyState=false` 也不会关闭这类接入错误提示。
102
108
 
103
109
  也就是说,业务可以继续自定义空态图,但不能覆盖这类
104
110
  “请先在业务页面中执行 `import '@xq-labs/data-ui-v2/pie-chart/3d-runtime'`”提示。
@@ -106,5 +112,5 @@ import '@xq-labs/data-ui-v2/pie-chart/3d-runtime'
106
112
  ## 4. 可执行验收要点
107
113
 
108
114
  - 页面分组名称与路由一致:基础用法、2D 形态、3D 能力、标签与引导线、customOption 与自定义、实验室。
109
- - 文档示例包含 `hideZeroValueSlices`、`stateConfig` 与 `customOption`。
115
+ - 文档示例包含 `hideZeroValueSlices`、`showEmptyState`、`stateConfig` 与 `customOption`。
110
116
  - 文档明确实验室边界与推荐自定义顺序。
@@ -1,5 +1,5 @@
1
1
  import '../../theme-chalk/index.css';
2
- import { B as BarLineChart } from '../index-914fbae3.js';
2
+ import { B as BarLineChart } from '../index-1e113c13.js';
3
3
  import { w as withInstall } from '../with-install-e405b463.js';
4
4
  import 'echarts/core';
5
5
  import 'echarts/charts';
@@ -12,7 +12,8 @@ var DEFAULT_SERIES = {
12
12
  kind: 'bar',
13
13
  stack: '',
14
14
  yAxisIndex: 0,
15
- colors: []
15
+ colors: [],
16
+ cubeGradientColors: []
16
17
  };
17
18
 
18
19
  /**
@@ -63,7 +64,8 @@ function normalizeBarLineInput(_ref) {
63
64
  kind: normalizeKind(item.kind),
64
65
  stack: typeof item.stack === 'string' ? item.stack : '',
65
66
  yAxisIndex: normalizeYAxisIndex(item.yAxisIndex),
66
- colors: normalizeColors(item.colors)
67
+ colors: normalizeColors(item.colors),
68
+ cubeGradientColors: normalizeColors(item.cubeGradientColors)
67
69
  });
68
70
  }),
69
71
  rawData: rawData
@@ -958,6 +960,14 @@ function createFaceGradient(x0, y0, x1, y1, startColor, endColor) {
958
960
  color: endColor
959
961
  }]);
960
962
  }
963
+ function resolveCubeGradientFaceColors(seriesItem, colorMap) {
964
+ var gradientColors = seriesItem && Array.isArray(seriesItem.cubeGradientColors) ? seriesItem.cubeGradientColors : [];
965
+ return {
966
+ left: gradientColors[0] || colorMap.left,
967
+ right: gradientColors[1] || colorMap.right,
968
+ top: gradientColors[2] || colorMap.top
969
+ };
970
+ }
961
971
 
962
972
  /**
963
973
  * 创建方柱渲染器。
@@ -971,10 +981,10 @@ function createCubeRenderItem(layout, slotIndex, colorMap, seriesItem) {
971
981
  var centerX = centerPoint[0] + offsetX;
972
982
  var halfWidth = layout.barWidth / 2;
973
983
  var offsetY = Math.tan(Math.PI / 9) * halfWidth;
974
- var leftFaceGradient = createFaceGradient(0, 0, 0, 1, colorMap.left, colorMap.left);
975
- var rightFaceGradient = createFaceGradient(0, 0, 0, 1, colorMap.right, colorMap.right);
976
- var topFaceGradient = createFaceGradient(0, 0, 1, 0, colorMap.top, colorMap.top);
977
984
  if (seriesItem && seriesItem.isBackground === true) {
985
+ var _leftFaceGradient = createFaceGradient(0, 0, 0, 1, colorMap.left, colorMap.left);
986
+ var _rightFaceGradient = createFaceGradient(0, 0, 0, 1, colorMap.right, colorMap.right);
987
+ var _topFaceGradient = createFaceGradient(0, 0, 1, 0, colorMap.top, colorMap.top);
978
988
  var coordSys = params.coordSys || {};
979
989
  var clipX = coordSys.x || 0;
980
990
  var _topY = coordSys.y || 0;
@@ -998,7 +1008,7 @@ function createCubeRenderItem(layout, slotIndex, colorMap, seriesItem) {
998
1008
  points: [[centerX, _topSurfaceY + offsetY - 1], [centerX - halfWidth, _topSurfaceY], [centerX - halfWidth, _baseY - offsetY], [centerX, _baseY - 1]]
999
1009
  },
1000
1010
  style: {
1001
- fill: leftFaceGradient
1011
+ fill: _leftFaceGradient
1002
1012
  }
1003
1013
  }, {
1004
1014
  type: 'polygon',
@@ -1006,7 +1016,7 @@ function createCubeRenderItem(layout, slotIndex, colorMap, seriesItem) {
1006
1016
  points: [[centerX, _topSurfaceY + offsetY - 1], [centerX + halfWidth, _topSurfaceY], [centerX + halfWidth, _baseY - offsetY], [centerX, _baseY - 1]]
1007
1017
  },
1008
1018
  style: {
1009
- fill: rightFaceGradient
1019
+ fill: _rightFaceGradient
1010
1020
  }
1011
1021
  }, {
1012
1022
  type: 'polygon',
@@ -1014,12 +1024,16 @@ function createCubeRenderItem(layout, slotIndex, colorMap, seriesItem) {
1014
1024
  points: [[centerX, _topSurfaceY + offsetY - 1], [centerX + halfWidth, _topSurfaceY], [centerX, _topSurfaceY - offsetY + 1], [centerX - halfWidth, _topSurfaceY]]
1015
1025
  },
1016
1026
  style: {
1017
- fill: topFaceGradient
1027
+ fill: _topFaceGradient
1018
1028
  },
1019
1029
  z2: 2
1020
1030
  }]
1021
1031
  };
1022
1032
  }
1033
+ var gradientFaceColors = resolveCubeGradientFaceColors(seriesItem, colorMap);
1034
+ var leftFaceGradient = createFaceGradient(0, 0, 0, 1, colorMap.left, gradientFaceColors.left);
1035
+ var rightFaceGradient = createFaceGradient(0, 0, 0, 1, colorMap.right, gradientFaceColors.right);
1036
+ var topFaceGradient = createFaceGradient(0, 0, 1, 0, colorMap.top, gradientFaceColors.top);
1023
1037
  var endValue = api.value(1);
1024
1038
  var baseValue = api.value(2);
1025
1039
  var rawValue = api.value(3);
@@ -1577,6 +1591,7 @@ var script = {
1577
1591
  * - name: 系列名称
1578
1592
  * - kind: bar / line
1579
1593
  * - stack / yAxisIndex / colors: 可选增强配置
1594
+ * - cubeGradientColors: 仅在 `variant="cube"` 时用于前景方柱三个面的渐变终点色
1580
1595
  */
1581
1596
  series: {
1582
1597
  type: Array,
@@ -1667,6 +1682,14 @@ var script = {
1667
1682
  type: Boolean,
1668
1683
  "default": false
1669
1684
  },
1685
+ /**
1686
+ * 是否在数据为空时展示统一空状态。
1687
+ * 关闭后仍会保留图表容器与坐标系渲染,只是不再替换成 BaseEmpty。
1688
+ */
1689
+ showEmptyState: {
1690
+ type: Boolean,
1691
+ "default": true
1692
+ },
1670
1693
  /**
1671
1694
  * 统一状态展示配置。
1672
1695
  * 组件层只负责原样透传给 BaseChart,不参与文案计算。
@@ -1693,6 +1716,12 @@ var script = {
1693
1716
  isEmpty: function isEmpty() {
1694
1717
  return isEmptyData(this.data);
1695
1718
  },
1719
+ /**
1720
+ * 对 BaseChart 的空态展示做一层显式开关控制。
1721
+ */
1722
+ chartEmpty: function chartEmpty() {
1723
+ return this.showEmptyState && this.isEmpty;
1724
+ },
1696
1725
  /**
1697
1726
  * 将公开 props 汇总为 builder 所需输入。
1698
1727
  * 组件层不做类型分发,只负责把标准公开参数交给构建层。
@@ -1715,7 +1744,7 @@ var script = {
1715
1744
  }
1716
1745
  };
1717
1746
 
1718
- var css_248z = "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n";
1747
+ var css_248z = "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n";
1719
1748
  styleInject(css_248z);
1720
1749
 
1721
1750
  /* script */
@@ -1729,7 +1758,7 @@ var __vue_render__ = function __vue_render__() {
1729
1758
  attrs: {
1730
1759
  option: _vm.chartOption,
1731
1760
  loading: _vm.loading,
1732
- empty: _vm.isEmpty,
1761
+ empty: _vm.chartEmpty,
1733
1762
  "state-config": _vm.stateConfig,
1734
1763
  height: _vm.height
1735
1764
  },
@@ -1749,7 +1778,7 @@ __vue_render__._withStripped = true;
1749
1778
  /* style */
1750
1779
  var __vue_inject_styles__ = undefined;
1751
1780
  /* scoped */
1752
- var __vue_scope_id__ = "data-v-4e3be95d";
1781
+ var __vue_scope_id__ = "data-v-38c7a21f";
1753
1782
  /* module identifier */
1754
1783
  var __vue_module_identifier__ = undefined;
1755
1784
  /* functional template */
@@ -1141,6 +1141,14 @@ var script = {
1141
1141
  type: Boolean,
1142
1142
  "default": false
1143
1143
  },
1144
+ /**
1145
+ * 是否在普通空数据场景展示统一空状态。
1146
+ * 关闭后仅隐藏“暂无数据”空态,不影响 3D 运行时失败等必须显式提示的错误场景。
1147
+ */
1148
+ showEmptyState: {
1149
+ type: Boolean,
1150
+ "default": true
1151
+ },
1144
1152
  /**
1145
1153
  * 统一状态展示配置。
1146
1154
  * 负责收拢空态文案、空态图片与 loading 文案。
@@ -1204,6 +1212,16 @@ var script = {
1204
1212
  chartEmpty: function chartEmpty() {
1205
1213
  return this.isEmpty || this.is3D && this.echartsGlStatus === 'failed';
1206
1214
  },
1215
+ /**
1216
+ * 传给 BaseChart 的最终空态展示开关。
1217
+ * 普通空数据受 showEmptyState 控制,但 3D 运行时失败提示必须保留。
1218
+ */
1219
+ baseChartEmpty: function baseChartEmpty() {
1220
+ if (this.is3D && this.echartsGlStatus === 'failed') {
1221
+ return true;
1222
+ }
1223
+ return this.showEmptyState && this.chartEmpty;
1224
+ },
1207
1225
  /**
1208
1226
  * 统一归一化传给 BaseChart 的状态配置。
1209
1227
  * 3D 运行时失败时,内部错误文案优先级最高,但仍保留业务自定义图片和 loading 文案。
@@ -1341,7 +1359,7 @@ var script = {
1341
1359
  }
1342
1360
  };
1343
1361
 
1344
- var css_248z = "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n";
1362
+ var css_248z = "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n";
1345
1363
  styleInject(css_248z);
1346
1364
 
1347
1365
  /* script */
@@ -1355,7 +1373,7 @@ var __vue_render__ = function __vue_render__() {
1355
1373
  attrs: {
1356
1374
  option: _vm.chartOption,
1357
1375
  loading: _vm.chartLoading,
1358
- empty: _vm.chartEmpty,
1376
+ empty: _vm.baseChartEmpty,
1359
1377
  "state-config": _vm.resolvedStateConfig,
1360
1378
  height: _vm.height
1361
1379
  },
@@ -1373,7 +1391,7 @@ __vue_render__._withStripped = true;
1373
1391
  /* style */
1374
1392
  var __vue_inject_styles__ = undefined;
1375
1393
  /* scoped */
1376
- var __vue_scope_id__ = "data-v-7f129cbd";
1394
+ var __vue_scope_id__ = "data-v-18e1c374";
1377
1395
  /* module identifier */
1378
1396
  var __vue_module_identifier__ = undefined;
1379
1397
  /* functional template */
package/es/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import '../theme-chalk/index.css';
2
2
  import { w as withInstall, B as BaseChart } from './with-install-e405b463.js';
3
- import { B as BarLineChart } from './index-914fbae3.js';
4
- import { P as PieChart } from './index-78b6b881.js';
3
+ import { B as BarLineChart } from './index-1e113c13.js';
4
+ import { P as PieChart } from './index-bf133030.js';
5
5
  import { R as RadarChart } from './index-788e473f.js';
6
6
  import 'echarts/core';
7
7
  import 'echarts/charts';
@@ -1,5 +1,5 @@
1
1
  import '../../theme-chalk/index.css';
2
- import { P as PieChart } from '../index-78b6b881.js';
2
+ import { P as PieChart } from '../index-bf133030.js';
3
3
  import { w as withInstall } from '../with-install-e405b463.js';
4
4
  import '../colors-ec0ad9ce.js';
5
5
  import 'echarts/core';
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  require('../../theme-chalk/index.css');
6
- var index = require('../index-3d9f6fe7.js');
6
+ var index = require('../index-3dcce54f.js');
7
7
  var withInstall = require('../with-install-4304a8ea.js');
8
8
  require('echarts/core');
9
9
  require('echarts/charts');
@@ -32,7 +32,8 @@ var DEFAULT_SERIES = {
32
32
  kind: 'bar',
33
33
  stack: '',
34
34
  yAxisIndex: 0,
35
- colors: []
35
+ colors: [],
36
+ cubeGradientColors: []
36
37
  };
37
38
 
38
39
  /**
@@ -83,7 +84,8 @@ function normalizeBarLineInput(_ref) {
83
84
  kind: normalizeKind(item.kind),
84
85
  stack: typeof item.stack === 'string' ? item.stack : '',
85
86
  yAxisIndex: normalizeYAxisIndex(item.yAxisIndex),
86
- colors: normalizeColors(item.colors)
87
+ colors: normalizeColors(item.colors),
88
+ cubeGradientColors: normalizeColors(item.cubeGradientColors)
87
89
  });
88
90
  }),
89
91
  rawData: rawData
@@ -978,6 +980,14 @@ function createFaceGradient(x0, y0, x1, y1, startColor, endColor) {
978
980
  color: endColor
979
981
  }]);
980
982
  }
983
+ function resolveCubeGradientFaceColors(seriesItem, colorMap) {
984
+ var gradientColors = seriesItem && Array.isArray(seriesItem.cubeGradientColors) ? seriesItem.cubeGradientColors : [];
985
+ return {
986
+ left: gradientColors[0] || colorMap.left,
987
+ right: gradientColors[1] || colorMap.right,
988
+ top: gradientColors[2] || colorMap.top
989
+ };
990
+ }
981
991
 
982
992
  /**
983
993
  * 创建方柱渲染器。
@@ -991,10 +1001,10 @@ function createCubeRenderItem(layout, slotIndex, colorMap, seriesItem) {
991
1001
  var centerX = centerPoint[0] + offsetX;
992
1002
  var halfWidth = layout.barWidth / 2;
993
1003
  var offsetY = Math.tan(Math.PI / 9) * halfWidth;
994
- var leftFaceGradient = createFaceGradient(0, 0, 0, 1, colorMap.left, colorMap.left);
995
- var rightFaceGradient = createFaceGradient(0, 0, 0, 1, colorMap.right, colorMap.right);
996
- var topFaceGradient = createFaceGradient(0, 0, 1, 0, colorMap.top, colorMap.top);
997
1004
  if (seriesItem && seriesItem.isBackground === true) {
1005
+ var _leftFaceGradient = createFaceGradient(0, 0, 0, 1, colorMap.left, colorMap.left);
1006
+ var _rightFaceGradient = createFaceGradient(0, 0, 0, 1, colorMap.right, colorMap.right);
1007
+ var _topFaceGradient = createFaceGradient(0, 0, 1, 0, colorMap.top, colorMap.top);
998
1008
  var coordSys = params.coordSys || {};
999
1009
  var clipX = coordSys.x || 0;
1000
1010
  var _topY = coordSys.y || 0;
@@ -1018,7 +1028,7 @@ function createCubeRenderItem(layout, slotIndex, colorMap, seriesItem) {
1018
1028
  points: [[centerX, _topSurfaceY + offsetY - 1], [centerX - halfWidth, _topSurfaceY], [centerX - halfWidth, _baseY - offsetY], [centerX, _baseY - 1]]
1019
1029
  },
1020
1030
  style: {
1021
- fill: leftFaceGradient
1031
+ fill: _leftFaceGradient
1022
1032
  }
1023
1033
  }, {
1024
1034
  type: 'polygon',
@@ -1026,7 +1036,7 @@ function createCubeRenderItem(layout, slotIndex, colorMap, seriesItem) {
1026
1036
  points: [[centerX, _topSurfaceY + offsetY - 1], [centerX + halfWidth, _topSurfaceY], [centerX + halfWidth, _baseY - offsetY], [centerX, _baseY - 1]]
1027
1037
  },
1028
1038
  style: {
1029
- fill: rightFaceGradient
1039
+ fill: _rightFaceGradient
1030
1040
  }
1031
1041
  }, {
1032
1042
  type: 'polygon',
@@ -1034,12 +1044,16 @@ function createCubeRenderItem(layout, slotIndex, colorMap, seriesItem) {
1034
1044
  points: [[centerX, _topSurfaceY + offsetY - 1], [centerX + halfWidth, _topSurfaceY], [centerX, _topSurfaceY - offsetY + 1], [centerX - halfWidth, _topSurfaceY]]
1035
1045
  },
1036
1046
  style: {
1037
- fill: topFaceGradient
1047
+ fill: _topFaceGradient
1038
1048
  },
1039
1049
  z2: 2
1040
1050
  }]
1041
1051
  };
1042
1052
  }
1053
+ var gradientFaceColors = resolveCubeGradientFaceColors(seriesItem, colorMap);
1054
+ var leftFaceGradient = createFaceGradient(0, 0, 0, 1, colorMap.left, gradientFaceColors.left);
1055
+ var rightFaceGradient = createFaceGradient(0, 0, 0, 1, colorMap.right, gradientFaceColors.right);
1056
+ var topFaceGradient = createFaceGradient(0, 0, 1, 0, colorMap.top, gradientFaceColors.top);
1043
1057
  var endValue = api.value(1);
1044
1058
  var baseValue = api.value(2);
1045
1059
  var rawValue = api.value(3);
@@ -1597,6 +1611,7 @@ var script = {
1597
1611
  * - name: 系列名称
1598
1612
  * - kind: bar / line
1599
1613
  * - stack / yAxisIndex / colors: 可选增强配置
1614
+ * - cubeGradientColors: 仅在 `variant="cube"` 时用于前景方柱三个面的渐变终点色
1600
1615
  */
1601
1616
  series: {
1602
1617
  type: Array,
@@ -1687,6 +1702,14 @@ var script = {
1687
1702
  type: Boolean,
1688
1703
  "default": false
1689
1704
  },
1705
+ /**
1706
+ * 是否在数据为空时展示统一空状态。
1707
+ * 关闭后仍会保留图表容器与坐标系渲染,只是不再替换成 BaseEmpty。
1708
+ */
1709
+ showEmptyState: {
1710
+ type: Boolean,
1711
+ "default": true
1712
+ },
1690
1713
  /**
1691
1714
  * 统一状态展示配置。
1692
1715
  * 组件层只负责原样透传给 BaseChart,不参与文案计算。
@@ -1713,6 +1736,12 @@ var script = {
1713
1736
  isEmpty: function isEmpty() {
1714
1737
  return colors.isEmptyData(this.data);
1715
1738
  },
1739
+ /**
1740
+ * 对 BaseChart 的空态展示做一层显式开关控制。
1741
+ */
1742
+ chartEmpty: function chartEmpty() {
1743
+ return this.showEmptyState && this.isEmpty;
1744
+ },
1716
1745
  /**
1717
1746
  * 将公开 props 汇总为 builder 所需输入。
1718
1747
  * 组件层不做类型分发,只负责把标准公开参数交给构建层。
@@ -1735,7 +1764,7 @@ var script = {
1735
1764
  }
1736
1765
  };
1737
1766
 
1738
- var css_248z = "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n";
1767
+ var css_248z = "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n";
1739
1768
  withInstall.styleInject(css_248z);
1740
1769
 
1741
1770
  /* script */
@@ -1749,7 +1778,7 @@ var __vue_render__ = function __vue_render__() {
1749
1778
  attrs: {
1750
1779
  option: _vm.chartOption,
1751
1780
  loading: _vm.loading,
1752
- empty: _vm.isEmpty,
1781
+ empty: _vm.chartEmpty,
1753
1782
  "state-config": _vm.stateConfig,
1754
1783
  height: _vm.height
1755
1784
  },
@@ -1769,7 +1798,7 @@ __vue_render__._withStripped = true;
1769
1798
  /* style */
1770
1799
  var __vue_inject_styles__ = undefined;
1771
1800
  /* scoped */
1772
- var __vue_scope_id__ = "data-v-4e3be95d";
1801
+ var __vue_scope_id__ = "data-v-38c7a21f";
1773
1802
  /* module identifier */
1774
1803
  var __vue_module_identifier__ = undefined;
1775
1804
  /* functional template */
@@ -1161,6 +1161,14 @@ var script = {
1161
1161
  type: Boolean,
1162
1162
  "default": false
1163
1163
  },
1164
+ /**
1165
+ * 是否在普通空数据场景展示统一空状态。
1166
+ * 关闭后仅隐藏“暂无数据”空态,不影响 3D 运行时失败等必须显式提示的错误场景。
1167
+ */
1168
+ showEmptyState: {
1169
+ type: Boolean,
1170
+ "default": true
1171
+ },
1164
1172
  /**
1165
1173
  * 统一状态展示配置。
1166
1174
  * 负责收拢空态文案、空态图片与 loading 文案。
@@ -1224,6 +1232,16 @@ var script = {
1224
1232
  chartEmpty: function chartEmpty() {
1225
1233
  return this.isEmpty || this.is3D && this.echartsGlStatus === 'failed';
1226
1234
  },
1235
+ /**
1236
+ * 传给 BaseChart 的最终空态展示开关。
1237
+ * 普通空数据受 showEmptyState 控制,但 3D 运行时失败提示必须保留。
1238
+ */
1239
+ baseChartEmpty: function baseChartEmpty() {
1240
+ if (this.is3D && this.echartsGlStatus === 'failed') {
1241
+ return true;
1242
+ }
1243
+ return this.showEmptyState && this.chartEmpty;
1244
+ },
1227
1245
  /**
1228
1246
  * 统一归一化传给 BaseChart 的状态配置。
1229
1247
  * 3D 运行时失败时,内部错误文案优先级最高,但仍保留业务自定义图片和 loading 文案。
@@ -1361,7 +1379,7 @@ var script = {
1361
1379
  }
1362
1380
  };
1363
1381
 
1364
- var css_248z = "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n";
1382
+ var css_248z = "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n";
1365
1383
  withInstall.styleInject(css_248z);
1366
1384
 
1367
1385
  /* script */
@@ -1375,7 +1393,7 @@ var __vue_render__ = function __vue_render__() {
1375
1393
  attrs: {
1376
1394
  option: _vm.chartOption,
1377
1395
  loading: _vm.chartLoading,
1378
- empty: _vm.chartEmpty,
1396
+ empty: _vm.baseChartEmpty,
1379
1397
  "state-config": _vm.resolvedStateConfig,
1380
1398
  height: _vm.height
1381
1399
  },
@@ -1393,7 +1411,7 @@ __vue_render__._withStripped = true;
1393
1411
  /* style */
1394
1412
  var __vue_inject_styles__ = undefined;
1395
1413
  /* scoped */
1396
- var __vue_scope_id__ = "data-v-7f129cbd";
1414
+ var __vue_scope_id__ = "data-v-18e1c374";
1397
1415
  /* module identifier */
1398
1416
  var __vue_module_identifier__ = undefined;
1399
1417
  /* functional template */
package/lib/index.js CHANGED
@@ -4,8 +4,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  require('../theme-chalk/index.css');
6
6
  var withInstall = require('./with-install-4304a8ea.js');
7
- var index$1 = require('./index-3d9f6fe7.js');
8
- var index$2 = require('./index-a0ecafa1.js');
7
+ var index$1 = require('./index-3dcce54f.js');
8
+ var index$2 = require('./index-812cae02.js');
9
9
  var index$3 = require('./index-6039f724.js');
10
10
  require('echarts/core');
11
11
  require('echarts/charts');
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  require('../../theme-chalk/index.css');
6
- var index = require('../index-a0ecafa1.js');
6
+ var index = require('../index-812cae02.js');
7
7
  var withInstall = require('../with-install-4304a8ea.js');
8
8
  require('../colors-19a7242d.js');
9
9
  require('echarts/core');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xq-labs/data-ui-v2",
3
- "version": "0.4.0",
3
+ "version": "0.5.0",
4
4
  "main": "lib/index.js",
5
5
  "module": "es/index.js",
6
6
  "style": "theme-chalk/index.css",