@byteluck-fe/model-driven-controls 6.2.0-1-beta.11 → 6.2.0-1-beta.13

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,37 @@
1
1
  import { LayoutControlProperty } from '@byteluck-fe/model-driven-core';
2
+ interface PaddingProperty {
3
+ paddingTop: number;
4
+ paddingRight: number;
5
+ paddingBottom: number;
6
+ paddingLeft: number;
7
+ }
8
+ interface MarginProperty {
9
+ marginTop: number;
10
+ marginRight: number;
11
+ marginBottom: number;
12
+ marginLeft: number;
13
+ }
14
+ interface BorderProperty {
15
+ borderTop: boolean;
16
+ borderBottom: boolean;
17
+ borderLeft: boolean;
18
+ borderRight: boolean;
19
+ borderWidth: number;
20
+ borderColor: string;
21
+ borderType: 'solid' | 'dashed' | 'dotted';
22
+ }
23
+ interface BackgroundProperty {
24
+ type: 'backgroundColor' | 'backgroundImage';
25
+ backgroundColor: string;
26
+ backgroundImage: string;
27
+ placementMode: string;
28
+ }
29
+ interface BorderRadiusProperty {
30
+ borderTopLeftRadius: number;
31
+ borderTopRightRadius: number;
32
+ borderBottomRightRadius: number;
33
+ borderBottomLeftRadius: number;
34
+ }
2
35
  declare class TableLayoutControlProperty extends LayoutControlProperty {
3
36
  rowCount: number;
4
37
  colCount: number;
@@ -6,6 +39,11 @@ declare class TableLayoutControlProperty extends LayoutControlProperty {
6
39
  colWidthType: 'custom' | 'average';
7
40
  colWidth: string;
8
41
  labelWidth: string;
42
+ padding: PaddingProperty;
43
+ margin: MarginProperty;
44
+ border: BorderProperty;
45
+ background: BackgroundProperty;
46
+ borderRadius: BorderRadiusProperty;
9
47
  constructor(props?: Partial<TableLayoutControlProperty>);
10
48
  }
11
49
  export default TableLayoutControlProperty;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@byteluck-fe/model-driven-controls",
3
- "version": "6.2.0-1-beta.11",
3
+ "version": "6.2.0-1-beta.13",
4
4
  "description": "> TODO: description",
5
5
  "author": "郝晨光 <2293885211@qq.com>",
6
6
  "homepage": "",
@@ -26,10 +26,10 @@
26
26
  "postpublish": "node ../../scripts/postpublish.js"
27
27
  },
28
28
  "dependencies": {
29
- "@byteluck-fe/model-driven-core": "6.2.0-1-beta.9",
30
- "@byteluck-fe/model-driven-settings": "6.2.0-1-beta.9",
31
- "@byteluck-fe/model-driven-shared": "6.2.0-1-beta.9",
29
+ "@byteluck-fe/model-driven-core": "6.2.0-1-beta.13",
30
+ "@byteluck-fe/model-driven-settings": "6.2.0-1-beta.13",
31
+ "@byteluck-fe/model-driven-shared": "6.2.0-1-beta.13",
32
32
  "async-validator": "3.5.1"
33
33
  },
34
- "gitHead": "bb4e169fb64c2dc16dd415e0321cda107b4632c3"
34
+ "gitHead": "fff7ebca5d1be0759f5a5c595a110fc6c03e3b6b"
35
35
  }