@byteluck-fe/model-driven-controls 2.2.2 → 2.3.0
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.
- package/dist/esm/layoutControls/SubTableColumn/designer.js +2 -1
- package/dist/esm/layoutControls/SubTableColumn/property.js +2 -1
- package/dist/esm/listControls/SubTable/designer.js +16 -0
- package/dist/esm/listControls/SubTable/property.js +7 -1
- package/dist/index.umd.js +1 -1
- package/dist/types/layoutControls/SubTableColumn/property.d.ts +6 -1
- package/dist/types/listControls/SubTable/property.d.ts +15 -1
- package/package.json +5 -5
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { RuleItem } from 'async-validator';
|
|
2
|
-
import { LayoutControlProperty, PropertyRules } from '@byteluck-fe/model-driven-core';
|
|
2
|
+
import { LayoutControlProperty, PropertyRules, MetaAutoWidth } from '@byteluck-fe/model-driven-core';
|
|
3
3
|
declare class SubTableColumnControlPropertyRules extends PropertyRules {
|
|
4
4
|
caption: RuleItem;
|
|
5
5
|
width: RuleItem;
|
|
@@ -13,6 +13,11 @@ declare class SubTableColumnControlProperty extends LayoutControlProperty {
|
|
|
13
13
|
* px 像素 auto 自适应 percent百分比
|
|
14
14
|
* */
|
|
15
15
|
widthType: 'px' | 'auto' | 'percent';
|
|
16
|
+
/**
|
|
17
|
+
* 设置宽度在移动和pc 宽度
|
|
18
|
+
* pc 电脑端 mobile 手机端
|
|
19
|
+
* */
|
|
20
|
+
metaAutoWidth: MetaAutoWidth;
|
|
16
21
|
/**
|
|
17
22
|
* 列宽
|
|
18
23
|
* */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { RuleItem } from 'async-validator';
|
|
2
2
|
import { DesignerSubTableControl } from './designer';
|
|
3
|
-
import { ListControlProperty, PropertyRules, PropertyRuntimeRules, DataSourceBind } from '@byteluck-fe/model-driven-core';
|
|
3
|
+
import { ListControlProperty, PropertyRules, PropertyRuntimeRules, DataSourceBind, DataStorageDoc } from '@byteluck-fe/model-driven-core';
|
|
4
4
|
import { MODE, Schema } from '@byteluck-fe/model-driven-core';
|
|
5
5
|
import { DesignerSubTableColumnControl, RuntimeSubTableColumnControl } from '../../layoutControls/SubTableColumn';
|
|
6
6
|
import { RuntimeSubTableControl } from './runtime';
|
|
@@ -101,10 +101,24 @@ declare class SubTableControlProperty<Mode extends MODE | 'Schema', Control exte
|
|
|
101
101
|
* 可以清除
|
|
102
102
|
* */
|
|
103
103
|
canClear: boolean;
|
|
104
|
+
/**
|
|
105
|
+
* 移动端展现形式
|
|
106
|
+
* tile 平铺 list列表
|
|
107
|
+
* */
|
|
108
|
+
mobileShowType: 'tile' | 'list';
|
|
109
|
+
/**
|
|
110
|
+
* 数据收起简述
|
|
111
|
+
* tile 平铺 list列表
|
|
112
|
+
* */
|
|
113
|
+
dataStorageDoc: DataStorageDoc;
|
|
104
114
|
/**
|
|
105
115
|
* 开启后端分页
|
|
106
116
|
* */
|
|
107
117
|
serverPagination: boolean;
|
|
118
|
+
/**
|
|
119
|
+
* 固定列 字段
|
|
120
|
+
* */
|
|
121
|
+
fixedColumn: string[];
|
|
108
122
|
constructor(parent: DesignerSubTableControl | RuntimeSubTableControl, props?: Partial<SubTableControlProperty<Mode> & {
|
|
109
123
|
headers: Control[];
|
|
110
124
|
}>);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@byteluck-fe/model-driven-controls",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.3.0",
|
|
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": "2.2.
|
|
30
|
-
"@byteluck-fe/model-driven-settings": "2.2.
|
|
31
|
-
"@byteluck-fe/model-driven-shared": "2.2.
|
|
29
|
+
"@byteluck-fe/model-driven-core": "2.2.2-beta.17",
|
|
30
|
+
"@byteluck-fe/model-driven-settings": "2.2.2-beta.17",
|
|
31
|
+
"@byteluck-fe/model-driven-shared": "2.2.2-beta.14",
|
|
32
32
|
"async-validator": "3.5.1"
|
|
33
33
|
},
|
|
34
|
-
"gitHead": "
|
|
34
|
+
"gitHead": "e5c5408e9ef3166a7d348e48f15c7bcf596ccb29"
|
|
35
35
|
}
|