@byteluck-fe/model-driven-core 7.0.0-props.10 → 7.0.0-props.19

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.
@@ -20,7 +20,17 @@ interface PropertyInterface {
20
20
  * @defaultValue false
21
21
  */
22
22
  isHide: boolean;
23
+ /**
24
+ * 类名
25
+ * @public
26
+ * @noSchema
27
+ */
23
28
  className?: string[];
29
+ /**
30
+ * 样式
31
+ * @public
32
+ * @noSchema
33
+ */
24
34
  style: BaseStyle;
25
35
  /**
26
36
  * 标题
@@ -29,9 +39,8 @@ interface PropertyInterface {
29
39
  */
30
40
  caption: string;
31
41
  /**
32
- * 标题
42
+ * 默认状态
33
43
  * @public
34
- * @defaultValue ''
35
44
  */
36
45
  defaultState: 'readonly' | 'default';
37
46
  }
@@ -52,6 +52,9 @@ interface ColumnControlPropertyInterface extends PropertyInterface {
52
52
  * @defaultValue false
53
53
  */
54
54
  autoHeight: boolean;
55
+ /**
56
+ * 子控件
57
+ */
55
58
  children: RuntimeControl[];
56
59
  }
57
60
  /**
@@ -4,11 +4,29 @@ import { DesignerListControl } from './designer';
4
4
  import { RuntimeListControl } from './runtime';
5
5
  type ControlType<Mode extends MODE | 'Schema'> = Mode extends 'Runtime' ? RuntimeControl : Mode extends 'Designer' ? DesignerControl : BaseControlSchema<ControlsKeys, any>;
6
6
  interface ListControlPropertyInterface<Mode extends MODE | 'Schema', Control extends object = ControlType<Mode>> extends PropertyInterface {
7
+ /**
8
+ * 表头控件
9
+ */
7
10
  headers: Control[];
11
+ /**
12
+ * 表尾控件
13
+ */
8
14
  footers?: Control[];
15
+ /**
16
+ * 当前页码
17
+ */
9
18
  pageIndex: number;
19
+ /**
20
+ * 每页条数
21
+ */
10
22
  pageSize: number;
23
+ /**
24
+ * 每页条数选项
25
+ */
11
26
  pageSizeOptions: number[];
27
+ /**
28
+ * 总条数
29
+ */
12
30
  totalCount: number;
13
31
  }
14
32
  declare class ListControlProperty<Mode extends MODE | 'Schema', Control extends object = ControlType<Mode>> extends Property implements ListControlPropertyInterface<Mode, Control> {
@@ -1,6 +1,9 @@
1
1
  import { LayoutControlProperty, LayoutControlPropertyInterface } from '../LayoutControl';
2
2
  import { DataBind } from '../../framework';
3
3
  interface SearchControlPropertyInterface extends LayoutControlPropertyInterface {
4
+ /**
5
+ * 绑定数据项
6
+ */
4
7
  dataBind: DataBind;
5
8
  }
6
9
  declare class SearchControlProperty extends LayoutControlProperty implements SearchControlPropertyInterface {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@byteluck-fe/model-driven-core",
3
- "version": "7.0.0-props.10",
3
+ "version": "7.0.0-props.19",
4
4
  "description": "model engine core",
5
5
  "author": "郝晨光 <2293885211@qq.com>",
6
6
  "homepage": "",
@@ -26,9 +26,9 @@
26
26
  "postpublish": "node ../../scripts/postpublish.js"
27
27
  },
28
28
  "dependencies": {
29
- "@byteluck-fe/model-driven-shared": "7.0.0-props.10",
29
+ "@byteluck-fe/model-driven-shared": "7.0.0-props.19",
30
30
  "async-validator": "3.5.1",
31
31
  "tslib": "^2.1.0"
32
32
  },
33
- "gitHead": "57a18bcb85857454a22df86d45d2512022f467c6"
33
+ "gitHead": "073db5892c45afd0d1e1c2ff8614683331248c95"
34
34
  }