@easyv/config 1.1.28 → 1.1.30

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/axes.js CHANGED
@@ -130,6 +130,9 @@ var valueAxis = function valueAxis() {
130
130
  var _ref2 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultValueAxis,
131
131
  _ref2$on = _ref2.on,
132
132
  on = _ref2$on === void 0 ? defaultValueAxis.on : _ref2$on,
133
+ _ref2$openClipAxis = _ref2.openClipAxis,
134
+ openClipAxis = _ref2$openClipAxis === void 0 ? false : _ref2$openClipAxis,
135
+ clipValueAxis = _ref2.clipValueAxis,
133
136
  openClip = _ref2.openClip,
134
137
  clipAxis = _ref2.clipAxis,
135
138
  _ref2$label = _ref2.label,
@@ -154,7 +157,9 @@ var valueAxis = function valueAxis() {
154
157
  }
155
158
  }, {
156
159
  rule: [["openClip", "$eq", true]]
157
- }), _objectSpread({
160
+ }), openClipAxis === true && _objectSpread(_objectSpread({}, (0, _label.valueCilpAsixLabel)()), {}, {
161
+ rule: [['on', '$eq', true]]
162
+ }), (openClipAxis === false || !!!openClipAxis) && _objectSpread({
158
163
  rule: [['on', '$eq', true]]
159
164
  }, (0, _label.valueAsixLabel)(label)), _objectSpread({
160
165
  rule: [['on', '$eq', true]]
package/lib/baseLine.js CHANGED
@@ -106,6 +106,9 @@ var _default = function _default() {
106
106
  type: 'select',
107
107
  config: {
108
108
  options: [{
109
+ name: "X轴",
110
+ value: 'x'
111
+ }, {
109
112
  name: 'Y轴',
110
113
  value: 'y'
111
114
  }, {
package/lib/extent.js CHANGED
@@ -5,36 +5,42 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports["default"] = void 0;
7
7
  var extent = {
8
- min: '0',
9
- max: ''
8
+ min: "0",
9
+ max: "",
10
+ customDisplayName: "数值范围",
11
+ customName: "extent"
10
12
  };
11
13
  var _default = function _default() {
12
14
  var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : extent,
13
15
  _ref$min = _ref.min,
14
16
  min = _ref$min === void 0 ? extent.min : _ref$min,
15
17
  _ref$max = _ref.max,
16
- max = _ref$max === void 0 ? extent.max : _ref$max;
18
+ max = _ref$max === void 0 ? extent.max : _ref$max,
19
+ _ref$customDisplayNam = _ref.customDisplayName,
20
+ customDisplayName = _ref$customDisplayNam === void 0 ? extent.customDisplayName : _ref$customDisplayNam,
21
+ _ref$customName = _ref.customName,
22
+ customName = _ref$customName === void 0 ? extent.customName : _ref$customName;
17
23
  return {
18
- name: 'extent',
19
- displayName: '数值范围',
24
+ name: customName,
25
+ displayName: customDisplayName,
20
26
  value: [{
21
- name: 'min',
22
- displayName: '最小值',
27
+ name: "min",
28
+ displayName: "最小值",
23
29
  value: min,
24
- type: 'input',
30
+ type: "input",
25
31
  config: {
26
32
  span: 12
27
33
  }
28
34
  }, {
29
- name: 'max',
30
- displayName: '最大值',
35
+ name: "max",
36
+ displayName: "最大值",
31
37
  value: max,
32
- type: 'input',
38
+ type: "input",
33
39
  config: {
34
40
  span: 12
35
41
  }
36
42
  }],
37
- type: 'group'
43
+ type: "group"
38
44
  };
39
45
  };
40
46
  exports["default"] = _default;