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

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;
@@ -35,6 +36,30 @@ interface BarChartPropertyInterface extends PropertyInterface {
35
36
  * @public
36
37
  */
37
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;
38
63
  /**
39
64
  * 是否隐藏组件
40
65
  * @defaultValue false
@@ -119,6 +144,10 @@ declare class BarChartProperty extends Property implements BarChartPropertyInter
119
144
  isHideCaption: boolean;
120
145
  isShowCaptionTip: boolean;
121
146
  captionTip: string;
147
+ captionSize: string;
148
+ captionColor: string;
149
+ isCaptionItalic: boolean;
150
+ captionFontWeight: FONT_WEIGHT;
122
151
  isHide: boolean;
123
152
  template: string;
124
153
  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",
@@ -38,6 +39,30 @@ interface LineChartPropertyInterface extends PropertyInterface {
38
39
  * @public
39
40
  */
40
41
  captionTip: string;
42
+ /**
43
+ * 标题大小
44
+ * @defaultValue ''
45
+ * @public
46
+ */
47
+ captionSize: string;
48
+ /**
49
+ * 标题颜色
50
+ * @defaultValue ''
51
+ * @public
52
+ */
53
+ captionColor: string;
54
+ /**
55
+ * 标题斜体
56
+ * @defaultValue false
57
+ * @public
58
+ */
59
+ isCaptionItalic: boolean;
60
+ /**
61
+ * 标题字重;取值:normal:常规;bold:粗体;lighter:更细;
62
+ * @defaultValue 'normal'
63
+ * @public
64
+ */
65
+ captionFontWeight: FONT_WEIGHT;
41
66
  /**
42
67
  * 是否隐藏组件
43
68
  * @defaultValue false
@@ -122,6 +147,10 @@ declare class LineChartProperty extends Property implements LineChartPropertyInt
122
147
  isHideCaption: boolean;
123
148
  isShowCaptionTip: boolean;
124
149
  captionTip: string;
150
+ captionSize: string;
151
+ captionColor: string;
152
+ isCaptionItalic: boolean;
153
+ captionFontWeight: FONT_WEIGHT;
125
154
  isHide: boolean;
126
155
  template: string;
127
156
  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;
@@ -29,6 +30,30 @@ interface PieChartPropertyInterface extends PropertyInterface {
29
30
  * @public
30
31
  */
31
32
  captionTip: string;
33
+ /**
34
+ * 标题大小
35
+ * @defaultValue ''
36
+ * @public
37
+ */
38
+ captionSize: string;
39
+ /**
40
+ * 标题颜色
41
+ * @defaultValue ''
42
+ * @public
43
+ */
44
+ captionColor: string;
45
+ /**
46
+ * 标题斜体
47
+ * @defaultValue false
48
+ * @public
49
+ */
50
+ isCaptionItalic: boolean;
51
+ /**
52
+ * 标题字重;取值:normal:常规;bold:粗体;lighter:更细;
53
+ * @defaultValue 'normal'
54
+ * @public
55
+ */
56
+ captionFontWeight: FONT_WEIGHT;
32
57
  /**
33
58
  * 是否隐藏组件
34
59
  * @defaultValue false
@@ -101,6 +126,10 @@ declare class PieChartProperty extends Property implements PieChartPropertyInter
101
126
  isHideCaption: boolean;
102
127
  isShowCaptionTip: boolean;
103
128
  captionTip: string;
129
+ captionSize: string;
130
+ captionColor: string;
131
+ isCaptionItalic: boolean;
132
+ captionFontWeight: FONT_WEIGHT;
104
133
  isHide: boolean;
105
134
  template: string;
106
135
  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.102",
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": "e3215fe4f9d14e37be72eb9ea2e85e5a969595ce"
35
35
  }