@xq-labs/data-ui-v2 0.2.1 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/es/index.js CHANGED
@@ -1,17 +1,19 @@
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-017ccf86.js';
4
- import { P as PieChart } from './index-d151eeca.js';
3
+ import { B as BarLineChart } from './index-914fbae3.js';
4
+ import { P as PieChart } from './index-78b6b881.js';
5
+ import { R as RadarChart } from './index-788e473f.js';
5
6
  import 'echarts/core';
6
7
  import 'echarts/charts';
7
8
  import 'echarts/components';
8
9
  import 'echarts/renderers';
9
- import './colors-ca059479.js';
10
+ import './colors-ec0ad9ce.js';
10
11
 
11
12
  withInstall(BaseChart);
12
13
  withInstall(BarLineChart);
13
14
  withInstall(PieChart);
14
- var components = [BaseChart, BarLineChart, PieChart];
15
+ withInstall(RadarChart);
16
+ var components = [BaseChart, BarLineChart, PieChart, RadarChart];
15
17
 
16
18
  // 发布根入口复用组件清单,确保与 src/index.js 行为一致。
17
19
  var install = function install(Vue) {
@@ -23,4 +25,4 @@ var index = {
23
25
  install: install
24
26
  };
25
27
 
26
- export { BarLineChart, BaseChart, PieChart, index as default, install };
28
+ export { BarLineChart, BaseChart, PieChart, RadarChart, index as default, install };
@@ -0,0 +1,6 @@
1
+ import * as echarts from 'echarts/core';
2
+ import { SurfaceChart } from 'echarts-gl/charts';
3
+ import { Grid3DComponent } from 'echarts-gl/components';
4
+
5
+ // PieChart 3D 只需要 surface 序列与 grid3D 坐标系,显式注册到组件库同一个 echarts/core 实例。
6
+ echarts.use([SurfaceChart, Grid3DComponent]);
@@ -1,7 +1,7 @@
1
1
  import '../../theme-chalk/index.css';
2
- import { P as PieChart } from '../index-d151eeca.js';
2
+ import { P as PieChart } from '../index-78b6b881.js';
3
3
  import { w as withInstall } from '../with-install-e405b463.js';
4
- import '../colors-ca059479.js';
4
+ import '../colors-ec0ad9ce.js';
5
5
  import 'echarts/core';
6
6
  import 'echarts/charts';
7
7
  import 'echarts/components';
@@ -0,0 +1,13 @@
1
+ import '../../theme-chalk/index.css';
2
+ import { R as RadarChart } from '../index-788e473f.js';
3
+ import { w as withInstall } from '../with-install-e405b463.js';
4
+ import 'echarts/core';
5
+ import 'echarts/charts';
6
+ import 'echarts/components';
7
+ import 'echarts/renderers';
8
+ import '../colors-ec0ad9ce.js';
9
+
10
+ var RadarChartComponent = withInstall(RadarChart);
11
+ var install = RadarChartComponent.install;
12
+
13
+ export { RadarChartComponent as RadarChart, RadarChartComponent as default, install };
@@ -3,13 +3,13 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  require('../../theme-chalk/index.css');
6
- var index = require('../index-b9e0c40b.js');
6
+ var index = require('../index-3d9f6fe7.js');
7
7
  var withInstall = require('../with-install-4304a8ea.js');
8
8
  require('echarts/core');
9
9
  require('echarts/charts');
10
10
  require('echarts/components');
11
11
  require('echarts/renderers');
12
- require('../colors-55265c91.js');
12
+ require('../colors-19a7242d.js');
13
13
 
14
14
  var BarLineChartComponent = withInstall.withInstall(index.BarLineChart);
15
15
  var install = BarLineChartComponent.install;
@@ -64,6 +64,15 @@ function _toPropertyKey(t) {
64
64
  var i = _toPrimitive(t, "string");
65
65
  return "symbol" == typeof i ? i : i + "";
66
66
  }
67
+ function _typeof(o) {
68
+ "@babel/helpers - typeof";
69
+
70
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
71
+ return typeof o;
72
+ } : function (o) {
73
+ return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
74
+ }, _typeof(o);
75
+ }
67
76
  function _unsupportedIterableToArray(r, a) {
68
77
  if (r) {
69
78
  if ("string" == typeof r) return _arrayLikeToArray(r, a);
@@ -117,5 +126,6 @@ var DEFAULT_COLORS = ['#8979ff', '#ff928a', '#3cc3df', '#ffae4c', '#5c7cfa', '#5
117
126
  exports.DEFAULT_COLORS = DEFAULT_COLORS;
118
127
  exports._objectSpread2 = _objectSpread2;
119
128
  exports._toConsumableArray = _toConsumableArray;
129
+ exports._typeof = _typeof;
120
130
  exports.isEmptyData = isEmptyData;
121
131
  exports.mergeChartOption = mergeChartOption;