@byteluck-fe/model-driven-controls 7.0.0-props.64 → 7.0.0-props.65

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.
@@ -4,6 +4,7 @@
4
4
  */
5
5
  import { RuleItem } from 'async-validator';
6
6
  import { LayoutControlProperty, LayoutControlPropertyInterface } from '@byteluck-fe/model-driven-core';
7
+ import { FONT_WEIGHT } from '../../framework';
7
8
  declare class BlankContainerPropertyRules extends LayoutControlProperty.Rules {
8
9
  caption: RuleItem;
9
10
  }
@@ -14,6 +15,30 @@ interface BlankContainerPropertyInterface extends LayoutControlPropertyInterface
14
15
  * @public
15
16
  */
16
17
  caption: string;
18
+ /**
19
+ * 标题大小
20
+ * @defaultValue ''
21
+ * @public
22
+ */
23
+ captionSize: string;
24
+ /**
25
+ * 标题颜色
26
+ * @defaultValue ''
27
+ * @public
28
+ */
29
+ captionColor: string;
30
+ /**
31
+ * 标题斜体
32
+ * @defaultValue false
33
+ * @public
34
+ */
35
+ isCaptionItalic: boolean;
36
+ /**
37
+ * 标题字重;取值:normal:常规;bold:粗体;lighter:更细;bolder:更粗;
38
+ * @defaultValue 'normal'
39
+ * @public
40
+ */
41
+ captionFontWeight: FONT_WEIGHT;
17
42
  /**
18
43
  * 标题对齐方式;取值:left:左对齐;center:居中;right:右对齐;
19
44
  * @defaultValue 'left'
@@ -36,6 +61,10 @@ interface BlankContainerPropertyInterface extends LayoutControlPropertyInterface
36
61
  declare class BlankContainerProperty extends LayoutControlProperty implements BlankContainerPropertyInterface {
37
62
  static readonly Rules: typeof BlankContainerPropertyRules;
38
63
  caption: string;
64
+ captionSize: string;
65
+ captionColor: string;
66
+ isCaptionItalic: boolean;
67
+ captionFontWeight: FONT_WEIGHT;
39
68
  position: 'left' | 'center' | 'right';
40
69
  backgroundColor: string;
41
70
  showShadow: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@byteluck-fe/model-driven-controls",
3
- "version": "7.0.0-props.64",
3
+ "version": "7.0.0-props.65",
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.64",
32
32
  "async-validator": "3.5.1"
33
33
  },
34
- "gitHead": "0add9d9e3c1de945974f6b8b1eb8e679bc98bde1"
34
+ "gitHead": "507386d9e7df66e39c304f5ece351e7c4902f1fb"
35
35
  }