@byteluck-fe/model-driven-controls 7.0.0-props.101 → 7.0.0-props.103

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.
@@ -1,4 +1,5 @@
1
1
  import { MultistageFillingItem, Property, PropertyInterface, TreeDataSourceBind } from '@byteluck-fe/model-driven-core';
2
+ import { FONT_WEIGHT } from '../../framework';
2
3
  type BarChartDataMode = 'static' | 'dynamic';
3
4
  interface BarChartYFieldItem {
4
5
  field: string;
@@ -29,12 +30,42 @@ interface BarChartPropertyInterface extends PropertyInterface {
29
30
  * @public
30
31
  */
31
32
  isShowCaptionTip: boolean;
33
+ /**
34
+ * 标题布局;取值:top:上方;left:左侧;
35
+ * @defaultValue 'top'
36
+ * @public
37
+ */
38
+ labelPosition: 'top' | 'left';
32
39
  /**
33
40
  * 气泡提示语
34
41
  * @defaultValue ''
35
42
  * @public
36
43
  */
37
44
  captionTip: string;
45
+ /**
46
+ * 标题大小
47
+ * @defaultValue ''
48
+ * @public
49
+ */
50
+ captionSize: string;
51
+ /**
52
+ * 标题颜色
53
+ * @defaultValue ''
54
+ * @public
55
+ */
56
+ captionColor: string;
57
+ /**
58
+ * 标题斜体
59
+ * @defaultValue false
60
+ * @public
61
+ */
62
+ isCaptionItalic: boolean;
63
+ /**
64
+ * 标题字重;取值:normal:常规;bold:粗体;lighter:更细;
65
+ * @defaultValue 'normal'
66
+ * @public
67
+ */
68
+ captionFontWeight: FONT_WEIGHT;
38
69
  /**
39
70
  * 是否隐藏组件
40
71
  * @defaultValue false
@@ -118,7 +149,12 @@ declare class BarChartProperty extends Property implements BarChartPropertyInter
118
149
  caption: string;
119
150
  isHideCaption: boolean;
120
151
  isShowCaptionTip: boolean;
152
+ labelPosition: 'top' | 'left';
121
153
  captionTip: string;
154
+ captionSize: string;
155
+ captionColor: string;
156
+ isCaptionItalic: boolean;
157
+ captionFontWeight: FONT_WEIGHT;
122
158
  isHide: boolean;
123
159
  template: string;
124
160
  dataMode: BarChartDataMode;
@@ -1,4 +1,5 @@
1
1
  import { MultistageFillingItem, Property, PropertyInterface, TreeDataSourceBind } from '@byteluck-fe/model-driven-core';
2
+ import { FONT_WEIGHT } from '../../framework';
2
3
  type LineChartDataMode = 'static' | 'dynamic';
3
4
  declare enum LineChartTemplate {
4
5
  LINE_BASIC = "line-basic",
@@ -32,12 +33,42 @@ interface LineChartPropertyInterface extends PropertyInterface {
32
33
  * @public
33
34
  */
34
35
  isShowCaptionTip: boolean;
36
+ /**
37
+ * 标题布局;取值:top:上方;left:左侧;
38
+ * @defaultValue 'top'
39
+ * @public
40
+ */
41
+ labelPosition: 'top' | 'left';
35
42
  /**
36
43
  * 气泡提示语
37
44
  * @defaultValue ''
38
45
  * @public
39
46
  */
40
47
  captionTip: string;
48
+ /**
49
+ * 标题大小
50
+ * @defaultValue ''
51
+ * @public
52
+ */
53
+ captionSize: string;
54
+ /**
55
+ * 标题颜色
56
+ * @defaultValue ''
57
+ * @public
58
+ */
59
+ captionColor: string;
60
+ /**
61
+ * 标题斜体
62
+ * @defaultValue false
63
+ * @public
64
+ */
65
+ isCaptionItalic: boolean;
66
+ /**
67
+ * 标题字重;取值:normal:常规;bold:粗体;lighter:更细;
68
+ * @defaultValue 'normal'
69
+ * @public
70
+ */
71
+ captionFontWeight: FONT_WEIGHT;
41
72
  /**
42
73
  * 是否隐藏组件
43
74
  * @defaultValue false
@@ -121,7 +152,12 @@ declare class LineChartProperty extends Property implements LineChartPropertyInt
121
152
  caption: string;
122
153
  isHideCaption: boolean;
123
154
  isShowCaptionTip: boolean;
155
+ labelPosition: 'top' | 'left';
124
156
  captionTip: string;
157
+ captionSize: string;
158
+ captionColor: string;
159
+ isCaptionItalic: boolean;
160
+ captionFontWeight: FONT_WEIGHT;
125
161
  isHide: boolean;
126
162
  template: string;
127
163
  dataMode: LineChartDataMode;
@@ -1,4 +1,5 @@
1
1
  import { MultistageFillingItem, Property, PropertyInterface, TreeDataSourceBind } from '@byteluck-fe/model-driven-core';
2
+ import { FONT_WEIGHT } from '../../framework';
2
3
  type PieChartDataMode = 'static' | 'dynamic';
3
4
  type PieSeriesDataConfig = {
4
5
  nameField?: string;
@@ -23,12 +24,42 @@ interface PieChartPropertyInterface extends PropertyInterface {
23
24
  * @public
24
25
  */
25
26
  isShowCaptionTip: boolean;
27
+ /**
28
+ * 标题布局;取值:top:上方;left:左侧;
29
+ * @defaultValue 'top'
30
+ * @public
31
+ */
32
+ labelPosition: 'top' | 'left';
26
33
  /**
27
34
  * 气泡提示语
28
35
  * @defaultValue ''
29
36
  * @public
30
37
  */
31
38
  captionTip: string;
39
+ /**
40
+ * 标题大小
41
+ * @defaultValue ''
42
+ * @public
43
+ */
44
+ captionSize: string;
45
+ /**
46
+ * 标题颜色
47
+ * @defaultValue ''
48
+ * @public
49
+ */
50
+ captionColor: string;
51
+ /**
52
+ * 标题斜体
53
+ * @defaultValue false
54
+ * @public
55
+ */
56
+ isCaptionItalic: boolean;
57
+ /**
58
+ * 标题字重;取值:normal:常规;bold:粗体;lighter:更细;
59
+ * @defaultValue 'normal'
60
+ * @public
61
+ */
62
+ captionFontWeight: FONT_WEIGHT;
32
63
  /**
33
64
  * 是否隐藏组件
34
65
  * @defaultValue false
@@ -100,7 +131,12 @@ declare class PieChartProperty extends Property implements PieChartPropertyInter
100
131
  caption: string;
101
132
  isHideCaption: boolean;
102
133
  isShowCaptionTip: boolean;
134
+ labelPosition: 'top' | 'left';
103
135
  captionTip: string;
136
+ captionSize: string;
137
+ captionColor: string;
138
+ isCaptionItalic: boolean;
139
+ captionFontWeight: FONT_WEIGHT;
104
140
  isHide: boolean;
105
141
  template: string;
106
142
  dataMode: PieChartDataMode;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@byteluck-fe/model-driven-controls",
3
- "version": "7.0.0-props.101",
3
+ "version": "7.0.0-props.103",
4
4
  "description": "> TODO: description",
5
5
  "author": "郝晨光 <2293885211@qq.com>",
6
6
  "homepage": "",
@@ -31,5 +31,5 @@
31
31
  "@byteluck-fe/model-driven-shared": "7.0.0-props.101",
32
32
  "async-validator": "3.5.1"
33
33
  },
34
- "gitHead": "e9c876a5f0429d763f3608b9ca325073d96c404c"
34
+ "gitHead": "ef8434f5693d1f0ab169af4b47bafa5a89a6539f"
35
35
  }