@easyv/config 1.0.48 → 1.0.49

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/lib/series.js CHANGED
@@ -18,7 +18,7 @@ var _mapping = {
18
18
  var defaultBandSeries = {
19
19
  mapping: _mapping,
20
20
  yOrZ: 'y',
21
- stack: '',
21
+ fillType: 'color',
22
22
  fillImage: 'components/static-image/superChart/pattern.png',
23
23
  fill: {
24
24
  type: 'linear',
@@ -131,7 +131,7 @@ var bandSeries = function bandSeries() {
131
131
  displayName: '堆叠',
132
132
  value: stack,
133
133
  type: 'input'
134
- }, fillType !== undefined && {
134
+ }, patternType === undefined && {
135
135
  name: 'fillType',
136
136
  displayName: '填充样式',
137
137
  value: fillType,
@@ -145,19 +145,19 @@ var bandSeries = function bandSeries() {
145
145
  value: 'pattern'
146
146
  }]
147
147
  }
148
- }, fillType !== undefined && {
148
+ }, patternType === undefined && {
149
149
  rule: [['fillType', '$eq', 'color']],
150
150
  name: 'fill',
151
151
  displayName: '颜色',
152
152
  type: 'multicolor',
153
153
  value: fill
154
- }, fillType !== undefined && {
154
+ }, patternType === undefined && {
155
155
  rule: [['fillType', '$eq', 'pattern']],
156
156
  name: 'url',
157
157
  displayName: '纹理图片',
158
158
  type: 'uploadImage',
159
159
  value: fillImage
160
- }, fillType !== undefined && {
160
+ }, patternType === undefined && {
161
161
  rule: [['fillType', '$eq', 'pattern']],
162
162
  name: 'size',
163
163
  displayName: '尺寸',
@@ -179,7 +179,7 @@ var bandSeries = function bandSeries() {
179
179
  }
180
180
  }],
181
181
  type: 'group'
182
- }, fillType !== undefined && {
182
+ }, patternType === undefined && {
183
183
  rule: [['fillType', '$eq', 'pattern']],
184
184
  type: "range",
185
185
  name: "opacity",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@easyv/config",
3
- "version": "1.0.48",
3
+ "version": "1.0.49",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/src/series.js CHANGED
@@ -5,7 +5,7 @@ const _mapping = { fieldName: '', displayName: '' };
5
5
  const defaultBandSeries = {
6
6
  mapping: _mapping,
7
7
  yOrZ: 'y',
8
- stack: '',
8
+ fillType: 'color',
9
9
  fillImage: 'components/static-image/superChart/pattern.png',
10
10
  fill: {
11
11
  type: 'linear',
@@ -95,7 +95,7 @@ export const bandSeries = (
95
95
  value: stack,
96
96
  type: 'input',
97
97
  },
98
- fillType !== undefined && {
98
+ patternType === undefined && {
99
99
  name: 'fillType',
100
100
  displayName: '填充样式',
101
101
  value: fillType,
@@ -107,21 +107,21 @@ export const bandSeries = (
107
107
  ],
108
108
  },
109
109
  },
110
- fillType !== undefined &&{
110
+ patternType === undefined && {
111
111
  rule: [['fillType', '$eq', 'color']],
112
112
  name: 'fill',
113
113
  displayName: '颜色',
114
114
  type: 'multicolor',
115
115
  value: fill,
116
116
  },
117
- fillType !== undefined &&{
117
+ patternType === undefined && {
118
118
  rule: [['fillType', '$eq', 'pattern']],
119
119
  name: 'url',
120
120
  displayName: '纹理图片',
121
121
  type: 'uploadImage',
122
122
  value: fillImage,
123
123
  },
124
- fillType !== undefined &&{
124
+ patternType === undefined && {
125
125
  rule: [['fillType', '$eq', 'pattern']],
126
126
  name: 'size',
127
127
  displayName: '尺寸',
@@ -141,7 +141,7 @@ export const bandSeries = (
141
141
  ],
142
142
  type: 'group',
143
143
  },
144
- fillType !== undefined &&{
144
+ patternType === undefined && {
145
145
  rule: [['fillType', '$eq', 'pattern']],
146
146
  type: "range",
147
147
  name: "opacity",