@easyv/config 1.0.50 → 1.0.55

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/CHANGELOG.md ADDED
@@ -0,0 +1,9 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
+
5
+ ### [1.0.53](https://gitlab.prod.dtstack.cn:10022/visdev/visApplication/easyv-config/compare/v1.0.52...v1.0.53) (2022-04-08)
6
+
7
+ ### [1.0.52](https://gitlab.prod.dtstack.cn:10022/visdev/visApplication/easyv-config/compare/v1.0.51...v1.0.52) (2022-04-02)
8
+
9
+ ### 1.0.51 (2022-04-02)
package/lib/animation.js CHANGED
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.animationOfCarousel = exports.animationOfPie = exports["default"] = void 0;
6
+ exports.animationOfCarousel = exports.animationOfPie = exports.dataAnimation = exports["default"] = void 0;
7
7
 
8
8
  var _ = require("./");
9
9
 
@@ -55,6 +55,41 @@ var _default = function _default() {
55
55
  };
56
56
 
57
57
  exports["default"] = _default;
58
+ var defaultDataAnimation = {
59
+ show: false,
60
+ duration: 3
61
+ };
62
+
63
+ var dataAnimation = function dataAnimation() {
64
+ var _ref2 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultDataAnimation,
65
+ _ref2$show = _ref2.show,
66
+ show = _ref2$show === void 0 ? defaultDataAnimation.show : _ref2$show,
67
+ _ref2$duration = _ref2.duration,
68
+ duration = _ref2$duration === void 0 ? defaultDataAnimation.duration : _ref2$duration;
69
+
70
+ return {
71
+ name: 'dataAnimation',
72
+ displayName: '数据动画',
73
+ value: [{
74
+ name: 'show',
75
+ displayName: '打开',
76
+ value: show,
77
+ type: 'boolean'
78
+ }, {
79
+ rule: [['show', '$eq', true]],
80
+ name: 'duration',
81
+ displayName: '滚动时长',
82
+ value: duration,
83
+ type: 'number',
84
+ config: {
85
+ span: 12,
86
+ suffix: 's'
87
+ }
88
+ }]
89
+ };
90
+ };
91
+
92
+ exports.dataAnimation = dataAnimation;
58
93
  var defaultAnimationOfPie = {
59
94
  show: true,
60
95
  current: {
@@ -66,20 +101,20 @@ var defaultAnimationOfPie = {
66
101
  };
67
102
 
68
103
  var animationOfPie = function animationOfPie() {
69
- var _ref2 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultAnimationOfPie,
70
- _ref2$show = _ref2.show,
71
- show = _ref2$show === void 0 ? defaultAnimationOfPie.show : _ref2$show,
72
- _ref2$current = _ref2.current;
104
+ var _ref3 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultAnimationOfPie,
105
+ _ref3$show = _ref3.show,
106
+ show = _ref3$show === void 0 ? defaultAnimationOfPie.show : _ref3$show,
107
+ _ref3$current = _ref3.current;
73
108
 
74
- _ref2$current = _ref2$current === void 0 ? defaultAnimationOfPie.current : _ref2$current;
75
- var _ref2$current$heighte = _ref2$current.heighten,
76
- heighten = _ref2$current$heighte === void 0 ? defaultAnimationOfPie.current.heighten : _ref2$current$heighte,
77
- _ref2$current$opacity = _ref2$current.opacity,
78
- opacity = _ref2$current$opacity === void 0 ? defaultAnimationOfPie.current.opacity : _ref2$current$opacity,
79
- _ref2$interval = _ref2.interval,
80
- interval = _ref2$interval === void 0 ? defaultAnimationOfPie.interval : _ref2$interval,
81
- _ref2$interactive = _ref2.interactive,
82
- interactive = _ref2$interactive === void 0 ? defaultAnimationOfPie.interactive : _ref2$interactive;
109
+ _ref3$current = _ref3$current === void 0 ? defaultAnimationOfPie.current : _ref3$current;
110
+ var _ref3$current$heighte = _ref3$current.heighten,
111
+ heighten = _ref3$current$heighte === void 0 ? defaultAnimationOfPie.current.heighten : _ref3$current$heighte,
112
+ _ref3$current$opacity = _ref3$current.opacity,
113
+ opacity = _ref3$current$opacity === void 0 ? defaultAnimationOfPie.current.opacity : _ref3$current$opacity,
114
+ _ref3$interval = _ref3.interval,
115
+ interval = _ref3$interval === void 0 ? defaultAnimationOfPie.interval : _ref3$interval,
116
+ _ref3$interactive = _ref3.interactive,
117
+ interactive = _ref3$interactive === void 0 ? defaultAnimationOfPie.interactive : _ref3$interactive;
83
118
  return {
84
119
  name: 'animation',
85
120
  displayName: '轮播动画',
@@ -158,26 +193,26 @@ var defaultAnimationOfCarousel = {
158
193
  };
159
194
 
160
195
  var animationOfCarousel = function animationOfCarousel() {
161
- var _ref3 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultAnimationOfCarousel,
162
- _ref3$show = _ref3.show,
163
- show = _ref3$show === void 0 ? defaultAnimationOfCarousel.show : _ref3$show,
164
- _ref3$current = _ref3.current;
196
+ var _ref4 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultAnimationOfCarousel,
197
+ _ref4$show = _ref4.show,
198
+ show = _ref4$show === void 0 ? defaultAnimationOfCarousel.show : _ref4$show,
199
+ _ref4$current = _ref4.current;
165
200
 
166
- _ref3$current = _ref3$current === void 0 ? defaultAnimationOfCarousel.current : _ref3$current;
167
- var _ref3$current$width = _ref3$current.width,
168
- width = _ref3$current$width === void 0 ? defaultAnimationOfCarousel.current.width : _ref3$current$width,
169
- _ref3$current$color = _ref3$current.color,
170
- color = _ref3$current$color === void 0 ? defaultAnimationOfCarousel.current.color : _ref3$current$color,
171
- _ref3$current$textSty = _ref3$current.textStyle,
172
- textStyle = _ref3$current$textSty === void 0 ? defaultAnimationOfCarousel.current.font : _ref3$current$textSty,
173
- _ref3$current$gap = _ref3$current.gap,
174
- gap = _ref3$current$gap === void 0 ? defaultAnimationOfCarousel.current.gap : _ref3$current$gap,
175
- _ref3$interval = _ref3.interval,
176
- interval = _ref3$interval === void 0 ? defaultAnimationOfCarousel.interval : _ref3$interval,
177
- _ref3$rotate = _ref3.rotate,
178
- rotate = _ref3$rotate === void 0 ? defaultAnimationOfCarousel.rotate : _ref3$rotate,
179
- _ref3$interactive = _ref3.interactive,
180
- interactive = _ref3$interactive === void 0 ? defaultAnimationOfCarousel.interactive : _ref3$interactive;
201
+ _ref4$current = _ref4$current === void 0 ? defaultAnimationOfCarousel.current : _ref4$current;
202
+ var _ref4$current$width = _ref4$current.width,
203
+ width = _ref4$current$width === void 0 ? defaultAnimationOfCarousel.current.width : _ref4$current$width,
204
+ _ref4$current$color = _ref4$current.color,
205
+ color = _ref4$current$color === void 0 ? defaultAnimationOfCarousel.current.color : _ref4$current$color,
206
+ _ref4$current$textSty = _ref4$current.textStyle,
207
+ textStyle = _ref4$current$textSty === void 0 ? defaultAnimationOfCarousel.current.font : _ref4$current$textSty,
208
+ _ref4$current$gap = _ref4$current.gap,
209
+ gap = _ref4$current$gap === void 0 ? defaultAnimationOfCarousel.current.gap : _ref4$current$gap,
210
+ _ref4$interval = _ref4.interval,
211
+ interval = _ref4$interval === void 0 ? defaultAnimationOfCarousel.interval : _ref4$interval,
212
+ _ref4$rotate = _ref4.rotate,
213
+ rotate = _ref4$rotate === void 0 ? defaultAnimationOfCarousel.rotate : _ref4$rotate,
214
+ _ref4$interactive = _ref4.interactive,
215
+ interactive = _ref4$interactive === void 0 ? defaultAnimationOfCarousel.interactive : _ref4$interactive;
181
216
  return {
182
217
  name: 'animation',
183
218
  displayName: '轮播动画',
@@ -204,14 +239,15 @@ var animationOfCarousel = function animationOfCarousel() {
204
239
  name: 'textStyle',
205
240
  displayName: '类目文本样式',
206
241
  value: (0, _.font)(textStyle),
207
- type: "textStyle"
242
+ type: 'textStyle',
243
+ markColorType: 'textColor'
208
244
  }, {
209
245
  name: 'gap',
210
246
  displayName: '类目文本间距',
211
247
  value: gap,
212
248
  type: 'number',
213
249
  config: {
214
- suffix: "px"
250
+ suffix: 'px'
215
251
  }
216
252
  }],
217
253
  config: {
@@ -241,7 +277,7 @@ var animationOfCarousel = function animationOfCarousel() {
241
277
  name: 'interactive',
242
278
  displayName: '点击交互',
243
279
  value: interactive,
244
- type: "boolean"
280
+ type: 'boolean'
245
281
  }]
246
282
  };
247
283
  };
package/lib/axisLine.js CHANGED
@@ -32,7 +32,8 @@ var _default = function _default() {
32
32
  name: 'color',
33
33
  displayName: '颜色',
34
34
  value: color,
35
- type: 'color'
35
+ type: 'color',
36
+ markColorType: 'assistColor'
36
37
  }, {
37
38
  rule: [['show', '$eq', true]],
38
39
  name: 'lineWidth',
package/lib/gridLine.js CHANGED
@@ -42,7 +42,8 @@ var _default = function _default() {
42
42
  name: 'color',
43
43
  displayName: '颜色',
44
44
  value: color,
45
- type: 'color'
45
+ type: 'color',
46
+ markColorType: 'gridColor'
46
47
  }, {
47
48
  rule: [['show', '$eq', true]],
48
49
  name: 'lineWidth',
package/lib/label.js CHANGED
@@ -76,7 +76,8 @@ var _default = function _default() {
76
76
  italic: italic,
77
77
  letterSpacing: letterSpacing
78
78
  },
79
- type: 'textStyle'
79
+ type: 'textStyle',
80
+ markColorType: 'textColor'
80
81
  }, position !== undefined && {
81
82
  name: 'position',
82
83
  displayName: '位置',
@@ -221,10 +222,10 @@ var labelOfPie = function labelOfPie() {
221
222
  step: 1
222
223
  }
223
224
  }, lineColor !== undefined && {
224
- name: "lineColor",
225
- displayName: "线颜色",
225
+ name: 'lineColor',
226
+ displayName: '线颜色',
226
227
  value: lineColor,
227
- type: "color"
228
+ type: 'color'
228
229
  }, {
229
230
  rule: [['show', '$eq', true]],
230
231
  name: 'mode',
@@ -256,7 +257,8 @@ var labelOfPie = function labelOfPie() {
256
257
  name: 'font',
257
258
  displayName: '文本样式',
258
259
  value: nameFont,
259
- type: 'textStyle'
260
+ type: 'textStyle',
261
+ markColorType: 'textColor'
260
262
  }]
261
263
  }, {
262
264
  rule: [['show', '$eq', true]],
@@ -281,7 +283,8 @@ var labelOfPie = function labelOfPie() {
281
283
  name: 'font',
282
284
  displayName: '文本样式',
283
285
  value: percentFont,
284
- type: 'textStyle'
286
+ type: 'textStyle',
287
+ markColorType: 'textColor'
285
288
  }]
286
289
  }, {
287
290
  name: 'value',
@@ -323,7 +326,8 @@ var labelOfPie = function labelOfPie() {
323
326
  name: 'font',
324
327
  displayName: '文本样式',
325
328
  value: valueFont,
326
- type: 'textStyle'
329
+ type: 'textStyle',
330
+ markColorType: 'textColor'
327
331
  }]
328
332
  }].filter(function (item) {
329
333
  return !!item;
@@ -359,14 +363,15 @@ var labelOfRose = function labelOfRose() {
359
363
  name: 'font',
360
364
  displayName: '文本样式',
361
365
  value: (0, _.font)(labelFont),
362
- type: 'textStyle'
366
+ type: 'textStyle',
367
+ markColorType: 'textColor'
363
368
  }), _objectSpread(_objectSpread({}, (0, _.showRule)()), {}, {
364
- name: "gap",
365
- displayName: "间距",
369
+ name: 'gap',
370
+ displayName: '间距',
366
371
  value: gap,
367
- type: "number",
372
+ type: 'number',
368
373
  config: {
369
- suffix: "px"
374
+ suffix: 'px'
370
375
  }
371
376
  })]
372
377
  };
@@ -611,7 +616,8 @@ var axisLabel = function axisLabel() {
611
616
  name: 'font',
612
617
  displayName: '文本样式',
613
618
  value: font,
614
- type: 'textStyle'
619
+ type: 'textStyle',
620
+ markColorType: 'textColor'
615
621
  }]
616
622
  };
617
623
  };
package/lib/legend.js CHANGED
@@ -102,7 +102,8 @@ var _default = function _default() {
102
102
  name: 'font',
103
103
  displayName: '文本样式',
104
104
  value: font,
105
- type: 'textStyle'
105
+ type: 'textStyle',
106
+ markColorType: 'textColor'
106
107
  }, {
107
108
  name: 'iconSize',
108
109
  displayName: '图标尺寸',
@@ -267,7 +268,8 @@ var legendOfRose = function legendOfRose() {
267
268
  name: 'font',
268
269
  displayName: '文本样式',
269
270
  value: font,
270
- type: 'textStyle'
271
+ type: 'textStyle',
272
+ markColorType: 'textColor'
271
273
  }, {
272
274
  name: 'iconSize',
273
275
  displayName: '图标尺寸',
@@ -522,7 +524,8 @@ var legendOfPie = function legendOfPie() {
522
524
  name: 'font',
523
525
  displayName: '文本样式',
524
526
  value: nameFont,
525
- type: 'textStyle'
527
+ type: 'textStyle',
528
+ markColorType: 'textColor'
526
529
  }]
527
530
  }), _objectSpread(_objectSpread({}, showRule()), {}, {
528
531
  name: 'percent',
@@ -552,7 +555,8 @@ var legendOfPie = function legendOfPie() {
552
555
  name: 'font',
553
556
  displayName: '文本样式',
554
557
  value: percentFont,
555
- type: 'textStyle'
558
+ type: 'textStyle',
559
+ markColorType: 'textColor'
556
560
  })]
557
561
  }), _objectSpread(_objectSpread({}, showRule()), {}, {
558
562
  name: 'value',
@@ -599,7 +603,8 @@ var legendOfPie = function legendOfPie() {
599
603
  name: 'font',
600
604
  displayName: '文本样式',
601
605
  value: valueFont,
602
- type: 'textStyle'
606
+ type: 'textStyle',
607
+ markColorType: 'textColor'
603
608
  })]
604
609
  }), _objectSpread(_objectSpread({}, showRule()), {}, {
605
610
  name: 'layout',
@@ -651,8 +656,8 @@ var legendOfPie = function legendOfPie() {
651
656
  exports.legendOfPie = legendOfPie;
652
657
  var defaultLegendOfDoublePie = {
653
658
  show: true,
654
- key: "legend",
655
- displayName: "图例",
659
+ key: 'legend',
660
+ displayName: '图例',
656
661
  iconSize: {
657
662
  width: 10,
658
663
  height: 10
@@ -815,7 +820,8 @@ var legendOfDoublePie = function legendOfDoublePie() {
815
820
  name: 'font',
816
821
  displayName: '文本样式',
817
822
  value: nameFont,
818
- type: 'textStyle'
823
+ type: 'textStyle',
824
+ markColorType: 'textColor'
819
825
  }]
820
826
  }, {
821
827
  rule: [['show', '$eq', true]],
@@ -850,7 +856,8 @@ var legendOfDoublePie = function legendOfDoublePie() {
850
856
  name: 'font',
851
857
  displayName: '文本样式',
852
858
  value: percentFont,
853
- type: 'textStyle'
859
+ type: 'textStyle',
860
+ markColorType: 'textColor'
854
861
  }]
855
862
  }, {
856
863
  rule: [['show', '$eq', true]],
@@ -906,7 +913,8 @@ var legendOfDoublePie = function legendOfDoublePie() {
906
913
  name: 'font',
907
914
  displayName: '文本样式',
908
915
  value: valueFont,
909
- type: 'textStyle'
916
+ type: 'textStyle',
917
+ markColorType: 'textColor'
910
918
  }]
911
919
  }, {
912
920
  rule: [['show', '$eq', true]],
package/lib/pie.js CHANGED
@@ -220,20 +220,21 @@ var roseCategoryAxis = function roseCategoryAxis() {
220
220
  _ref4$axis$gridLine = _ref4$axis.gridLine,
221
221
  gridLine_ = _ref4$axis$gridLine === void 0 ? defaultRoseAxis.axis.gridLine : _ref4$axis$gridLine;
222
222
  return {
223
- name: "categoryAxis",
224
- displayName: "类目轴",
223
+ name: 'categoryAxis',
224
+ displayName: '类目轴',
225
225
  value: [{
226
- name: "textStyle",
227
- displayName: "标签文本",
226
+ name: 'textStyle',
227
+ displayName: '标签文本',
228
228
  value: (0, _.font)(textStyle),
229
- type: "textStyle"
229
+ type: 'textStyle',
230
+ markColorType: 'textColor'
230
231
  }, {
231
- name: "gap",
232
- displayName: "边距",
232
+ name: 'gap',
233
+ displayName: '边距',
233
234
  value: gap,
234
- type: "number",
235
+ type: 'number',
235
236
  config: {
236
- suffix: "px"
237
+ suffix: 'px'
237
238
  }
238
239
  }, (0, _.axisLine)(axisLine_), gridLine(gridLine_)],
239
240
  config: {
@@ -258,25 +259,26 @@ var roseValueAxis = function roseValueAxis() {
258
259
  _ref5$axis$gridLine = _ref5$axis.gridLine,
259
260
  gridLine_ = _ref5$axis$gridLine === void 0 ? defaultRoseAxis.axis.gridLine : _ref5$axis$gridLine;
260
261
  return {
261
- name: "valueAxis",
262
- displayName: "数值轴",
262
+ name: 'valueAxis',
263
+ displayName: '数值轴',
263
264
  value: [{
264
- name: "count",
265
- displayName: "数量",
265
+ name: 'count',
266
+ displayName: '数量',
266
267
  value: count,
267
- type: "number"
268
+ type: 'number'
268
269
  }, {
269
- name: "textStyle",
270
- displayName: "标签文本",
270
+ name: 'textStyle',
271
+ displayName: '标签文本',
271
272
  value: (0, _.font)(textStyle),
272
- type: "textStyle"
273
+ type: 'textStyle',
274
+ markColorType: 'textColor'
273
275
  }, {
274
- name: "gap",
275
- displayName: "边距",
276
+ name: 'gap',
277
+ displayName: '边距',
276
278
  value: gap,
277
- type: "number",
279
+ type: 'number',
278
280
  config: {
279
- suffix: "px"
281
+ suffix: 'px'
280
282
  }
281
283
  }, (0, _.axisLine)(axisLine_), gridLine(gridLine_)],
282
284
  config: {
@@ -314,14 +316,15 @@ var categoryText = function categoryText(_ref6) {
314
316
  name: 'textStyle',
315
317
  displayName: '文本样式',
316
318
  value: font,
317
- type: "textStyle"
319
+ type: 'textStyle',
320
+ markColorType: 'textColor'
318
321
  }), _objectSpread(_objectSpread({}, (0, _.showRule)()), {}, {
319
322
  name: 'gap',
320
323
  displayName: '间距',
321
324
  value: gap,
322
325
  type: 'number',
323
326
  config: {
324
- suffix: "px"
327
+ suffix: 'px'
325
328
  }
326
329
  })]
327
330
  };
@@ -466,7 +469,7 @@ var decorate2 = function decorate2(_ref8) {
466
469
  config: {
467
470
  min: 0,
468
471
  max: 100,
469
- suffix: "%"
472
+ suffix: '%'
470
473
  }
471
474
  }]
472
475
  };
@@ -581,10 +584,11 @@ var current = function current() {
581
584
  name: 'font',
582
585
  displayName: '文本样式',
583
586
  value: nameFont,
584
- type: 'textStyle'
585
- }, nameTranslate != undefined && _objectSpread(_objectSpread({}, (0, _.showRule)()), (0, _.translate)(nameTranslate.x, nameTranslate.y)), textBreak != undefined && _objectSpread(_objectSpread({}, (0, _.showRule)()), (0, _.sc)("textBreak", "首行字数", "number", textBreak, {
587
+ type: 'textStyle',
588
+ markColorType: 'textColor'
589
+ }, nameTranslate != undefined && _objectSpread(_objectSpread({}, (0, _.showRule)()), (0, _.translate)(nameTranslate.x, nameTranslate.y)), textBreak != undefined && _objectSpread(_objectSpread({}, (0, _.showRule)()), (0, _.sc)('textBreak', '首行字数', 'number', textBreak, {
586
590
  min: 0,
587
- suffix: ""
591
+ suffix: ''
588
592
  }))].filter(function (item) {
589
593
  return !!item;
590
594
  })
@@ -606,7 +610,8 @@ var current = function current() {
606
610
  name: 'font',
607
611
  displayName: '文本样式',
608
612
  value: percentFont,
609
- type: 'textStyle'
613
+ type: 'textStyle',
614
+ markColorType: 'textColor'
610
615
  }, _objectSpread({
611
616
  rule: [['show', '$eq', true]]
612
617
  }, (0, _.translate)(percentTranslateX, percentTranslateY))]
@@ -619,7 +624,8 @@ var current = function current() {
619
624
  name: 'font',
620
625
  displayName: '文本样式',
621
626
  value: valueFont,
622
- type: 'textStyle'
627
+ type: 'textStyle',
628
+ markColorType: 'textColor'
623
629
  }, _objectSpread({
624
630
  rule: [['show', '$eq', true]]
625
631
  }, (0, _.translate)(valueTranslateX, valueTranslateY)), {
@@ -720,12 +726,12 @@ var baseOuter = function baseOuter() {
720
726
 
721
727
  var defaultOuterDecorate = {
722
728
  outerDecorate: {
723
- color: "#CF00FF",
729
+ color: '#CF00FF',
724
730
  width: 10,
725
731
  tick: {
726
732
  show: true,
727
733
  count: 12,
728
- color: "#CF00FF",
734
+ color: '#CF00FF',
729
735
  width: 3,
730
736
  length: 8
731
737
  }
@@ -762,46 +768,46 @@ var outerDecorate = function outerDecorate() {
762
768
  value: color,
763
769
  type: 'color'
764
770
  }, {
765
- name: "width",
766
- displayName: "粗细",
771
+ name: 'width',
772
+ displayName: '粗细',
767
773
  value: width,
768
- type: "number",
774
+ type: 'number',
769
775
  config: {
770
776
  min: 0,
771
777
  max: 100,
772
- suffix: "px"
778
+ suffix: 'px'
773
779
  }
774
780
  }, {
775
781
  name: 'tick',
776
782
  displayName: '刻度',
777
783
  value: [(0, _.show)(show), _objectSpread(_objectSpread({}, (0, _.showRule)()), {}, {
778
- name: "count",
779
- displayName: "个数",
784
+ name: 'count',
785
+ displayName: '个数',
780
786
  value: count,
781
- type: "number",
787
+ type: 'number',
782
788
  config: {
783
789
  min: 0
784
790
  }
785
791
  }), _objectSpread(_objectSpread({}, (0, _.showRule)()), {}, {
786
- name: "color",
787
- displayName: "颜色",
792
+ name: 'color',
793
+ displayName: '颜色',
788
794
  value: tickColor,
789
- type: "color"
795
+ type: 'color'
790
796
  }), _objectSpread(_objectSpread({}, (0, _.showRule)()), {}, {
791
- name: "width",
792
- displayName: "粗细",
797
+ name: 'width',
798
+ displayName: '粗细',
793
799
  value: tickWidth,
794
- type: "number",
800
+ type: 'number',
795
801
  config: {
796
- suffix: "px"
802
+ suffix: 'px'
797
803
  }
798
804
  }), _objectSpread(_objectSpread({}, (0, _.showRule)()), {}, {
799
- name: "length",
800
- displayName: "长度",
805
+ name: 'length',
806
+ displayName: '长度',
801
807
  value: length,
802
- type: "number",
808
+ type: 'number',
803
809
  config: {
804
- suffix: "px"
810
+ suffix: 'px'
805
811
  }
806
812
  })]
807
813
  }]