@byteluck-fe/model-driven-controls 2.3.0 → 2.3.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.
- package/dist/esm/api-doc-index.js +88 -0
- package/dist/esm/baseControls/ListSelectButton/designer.js +2 -1
- package/dist/esm/baseControls/ListSelectButton/property.js +4 -1
- package/dist/esm/columnControls/ArrayColumn/property.js +11 -3
- package/dist/esm/columnControls/AutoNumberColumn/property.js +4 -1
- package/dist/esm/columnControls/CustomColumn/property.js +4 -1
- package/dist/esm/columnControls/DecimalColumn/property.js +4 -1
- package/dist/esm/columnControls/DepartmentColumn/property.js +4 -1
- package/dist/esm/columnControls/EmployeeColumn/property.js +4 -1
- package/dist/esm/columnControls/FileColumn/property.js +3 -1
- package/dist/esm/columnControls/ImageColumn/property.js +3 -1
- package/dist/esm/columnControls/LocationColumn/property.js +4 -1
- package/dist/esm/columnControls/OperationColumn/property.js +4 -1
- package/dist/esm/columnControls/OrderColumn/property.js +4 -1
- package/dist/esm/columnControls/PeopleColumn/property.js +3 -1
- package/dist/esm/columnControls/TextColumn/property.js +4 -1
- package/dist/esm/columnControls/TimescopeColumn/property.js +4 -1
- package/dist/esm/columnControls/TimestampColumn/property.js +4 -1
- package/dist/esm/columnControls/VarcharColumn/property.js +4 -1
- package/dist/esm/formControls/Input/property.js +4 -1
- package/dist/esm/formControls/Number/property.js +4 -1
- package/dist/esm/formControls/SelectRelation/designer.js +6 -0
- package/dist/esm/formControls/SelectRelation/property.js +4 -1
- package/dist/esm/formControls/Textarea/property.js +4 -1
- package/dist/esm/layoutControls/DataView/property.js +7 -2
- package/dist/esm/layoutControls/ListView/property.js +10 -3
- package/dist/esm/layoutControls/SubTableColumn/property.js +0 -4
- package/dist/esm/listControls/GridTable/property.js +4 -1
- package/dist/esm/listControls/SubTable/designer.js +1 -0
- package/dist/esm/listControls/SubTable/property.js +5 -2
- package/dist/esm/searchControls/SimpleSearch/property.js +4 -1
- package/dist/index.umd.js +1 -1
- package/dist/types/api-doc-index.d.ts +88 -0
- package/dist/types/baseControls/ListSelectButton/property.d.ts +16 -0
- package/dist/types/columnControls/ArrayColumn/property.d.ts +22 -1
- package/dist/types/columnControls/AutoNumberColumn/property.d.ts +4 -0
- package/dist/types/columnControls/CustomColumn/property.d.ts +4 -0
- package/dist/types/columnControls/DecimalColumn/property.d.ts +23 -3
- package/dist/types/columnControls/DepartmentColumn/property.d.ts +6 -0
- package/dist/types/columnControls/EmployeeColumn/property.d.ts +8 -0
- package/dist/types/columnControls/FileColumn/property.d.ts +3 -0
- package/dist/types/columnControls/ImageColumn/property.d.ts +3 -0
- package/dist/types/columnControls/LocationColumn/property.d.ts +4 -0
- package/dist/types/columnControls/OperationColumn/property.d.ts +14 -0
- package/dist/types/columnControls/OrderColumn/property.d.ts +4 -0
- package/dist/types/columnControls/PeopleColumn/property.d.ts +3 -0
- package/dist/types/columnControls/TextColumn/property.d.ts +12 -1
- package/dist/types/columnControls/TimescopeColumn/property.d.ts +6 -0
- package/dist/types/columnControls/TimestampColumn/property.d.ts +6 -0
- package/dist/types/columnControls/VarcharColumn/property.d.ts +15 -1
- package/dist/types/formControls/Input/property.d.ts +33 -0
- package/dist/types/formControls/Number/property.d.ts +31 -1
- package/dist/types/formControls/SelectRelation/designer.d.ts +1 -0
- package/dist/types/formControls/SelectRelation/property.d.ts +40 -1
- package/dist/types/formControls/Textarea/property.d.ts +24 -0
- package/dist/types/layoutControls/DataView/property.d.ts +16 -0
- package/dist/types/layoutControls/ListView/property.d.ts +63 -0
- package/dist/types/layoutControls/SubTableColumn/property.d.ts +2 -11
- package/dist/types/listControls/GridTable/property.d.ts +28 -0
- package/dist/types/listControls/SubTable/property.d.ts +46 -11
- package/dist/types/searchControls/SimpleSearch/property.d.ts +32 -0
- package/package.json +5 -5
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
export { default as Text } from './baseControls/Text/property';
|
|
2
|
+
export { default as Link } from './baseControls/Link/property';
|
|
3
|
+
export { default as Button } from './baseControls/Button/property';
|
|
4
|
+
export { default as Divider } from './baseControls/Divider/property';
|
|
5
|
+
export { default as Title } from './baseControls/Title/property';
|
|
6
|
+
export { default as CreateFormListButton } from './baseControls/CreateFormListButton/property';
|
|
7
|
+
export { default as BatchSubmissionListButton } from './baseControls/BatchSubmissionListButton/property';
|
|
8
|
+
export { default as SubmissionRecordListButton } from './baseControls/SubmissionRecordListButton/property';
|
|
9
|
+
export { default as ExportListButton } from './baseControls/ExportListButton/property';
|
|
10
|
+
export { default as ExportRecordListButton } from './baseControls/ExportRecordListButton/property';
|
|
11
|
+
export { default as ImportRecordListButton } from './baseControls/ImportRecordListButton/property';
|
|
12
|
+
export { default as FormSelectButton } from './baseControls/FormSelectButton/property';
|
|
13
|
+
export { default as ListSelectButton } from './baseControls/ListSelectButton/property';
|
|
14
|
+
export { default as Pagination } from './baseControls/Pagination/property';
|
|
15
|
+
export { default as Dashboard } from './baseControls/Dashboard/property';
|
|
16
|
+
export { default as ListViewSelect } from './baseControls/ListViewSelect/property';
|
|
17
|
+
export { default as TextOcrButton } from './baseControls/TextOcrButton/property';
|
|
18
|
+
export { default as InvoiceCheckButton } from './baseControls/InvoiceCheckButton/property';
|
|
19
|
+
export { default as BatchPrintListButton } from './baseControls/BatchPrintListButton/property';
|
|
20
|
+
export { default as BatchPrintRecordListButton } from './baseControls/BatchPrintRecordListButton/property';
|
|
21
|
+
export { default as OperationButton } from './baseControls/OperationButton/property';
|
|
22
|
+
export { default as BatchDeleteButton } from './baseControls/BatchDeleteButton/property';
|
|
23
|
+
export { default as VarcharColumn } from './columnControls/VarcharColumn/property';
|
|
24
|
+
export { default as TextColumn } from './columnControls/TextColumn/property';
|
|
25
|
+
export { default as DecimalColumn } from './columnControls/DecimalColumn/property';
|
|
26
|
+
export { default as TimescopeColumn } from './columnControls/TimescopeColumn/property';
|
|
27
|
+
export { default as TimestampColumn } from './columnControls/TimestampColumn/property';
|
|
28
|
+
export { default as ArrayColumn } from './columnControls/ArrayColumn/property';
|
|
29
|
+
export { default as DepartmentColumn } from './columnControls/DepartmentColumn/property';
|
|
30
|
+
export { default as AutoNumberColumn } from './columnControls/AutoNumberColumn/property';
|
|
31
|
+
export { default as FileColumn } from './columnControls/FileColumn/property';
|
|
32
|
+
export { default as ImageColumn } from './columnControls/ImageColumn/property';
|
|
33
|
+
export { default as PeopleColumn } from './columnControls/PeopleColumn/property';
|
|
34
|
+
export { default as LocationColumn } from './columnControls/LocationColumn/property';
|
|
35
|
+
export { default as CustomColumn } from './columnControls/CustomColumn/property';
|
|
36
|
+
export { default as OrderColumn } from './columnControls/OrderColumn/property';
|
|
37
|
+
export { default as OperationColumn } from './columnControls/OperationColumn/property';
|
|
38
|
+
export { default as EmployeeColumn } from './columnControls/EmployeeColumn/property';
|
|
39
|
+
export { default as Input } from './formControls/Input/property';
|
|
40
|
+
export { default as Checkbox } from './formControls/Checkbox/property';
|
|
41
|
+
export { default as Radio } from './formControls/Radio/property';
|
|
42
|
+
export { default as Number } from './formControls/Number/property';
|
|
43
|
+
export { default as DatePicker } from './formControls/DatePicker/property';
|
|
44
|
+
export { default as DateRange } from './formControls/DateRange/property';
|
|
45
|
+
export { default as Textarea } from './formControls/Textarea/property';
|
|
46
|
+
export { default as RichText } from './formControls/RichText/property';
|
|
47
|
+
export { default as Select } from './formControls/Select/property';
|
|
48
|
+
export { default as SelectMultiple } from './formControls/SelectMultiple/property';
|
|
49
|
+
export { default as Employee } from './formControls/Employee/property';
|
|
50
|
+
export { default as Image } from './formControls/Image/property';
|
|
51
|
+
export { default as Attachment } from './formControls/Attachment/property';
|
|
52
|
+
export { default as Amount } from './formControls/Amount/property';
|
|
53
|
+
export { default as Score } from './formControls/Score/property';
|
|
54
|
+
export { default as Address } from './formControls/Address/property';
|
|
55
|
+
export { default as Department } from './formControls/Department/property';
|
|
56
|
+
export { default as AutoNumber } from './formControls/AutoNumber/property';
|
|
57
|
+
export { default as Calc } from './formControls/Calc/property';
|
|
58
|
+
export { default as SearchNumberRange } from './formControls/SearchNumberRange/property';
|
|
59
|
+
export { default as SearchDateRange } from './formControls/SearchDateRange/property';
|
|
60
|
+
export { default as VueFormItem } from './formControls/VueFormItem/property';
|
|
61
|
+
export { default as SelectRelation } from './formControls/SelectRelation/property';
|
|
62
|
+
export { default as SearchInput } from './formControls/SearchInput/property';
|
|
63
|
+
export { default as Tree } from './formControls/Tree/property';
|
|
64
|
+
export { default as Employee2 } from './formControls/Employee2/property';
|
|
65
|
+
export { default as ElectronicSignature } from './formControls/ElectronicSignature/property';
|
|
66
|
+
export { default as WPS } from './formControls/WPS/property';
|
|
67
|
+
export { default as Department2 } from './formControls/Department2/property';
|
|
68
|
+
export { default as Grid } from './layoutControls/Grid/property';
|
|
69
|
+
export { default as Col } from './layoutControls/Col/property';
|
|
70
|
+
export { default as Row } from './layoutControls/Row/property';
|
|
71
|
+
export { default as GridRow } from './layoutControls/GridRow/property';
|
|
72
|
+
export { default as CardGroup } from './layoutControls/CardGroup/property';
|
|
73
|
+
export { default as SubTableColumn } from './layoutControls/SubTableColumn/property';
|
|
74
|
+
export { default as SubTableRow } from './layoutControls/SubTableRow/property';
|
|
75
|
+
export { default as GridTableColumn } from './layoutControls/GridTableColumn/property';
|
|
76
|
+
export { default as Tab } from './layoutControls/Tab/property';
|
|
77
|
+
export { default as TabPane } from './layoutControls/TabPane/property';
|
|
78
|
+
export { default as Toolbox } from './layoutControls/Toolbox/property';
|
|
79
|
+
export { default as ListView } from './layoutControls/ListView/property';
|
|
80
|
+
export { default as DataView } from './layoutControls/DataView/property';
|
|
81
|
+
export { default as Page } from './layoutControls/Page/property';
|
|
82
|
+
export { default as AdvancedContainer } from './layoutControls/AdvancedContainer/property';
|
|
83
|
+
export { default as PositioningContainer } from './layoutControls/PositioningContainer/property';
|
|
84
|
+
export { default as Position } from './layoutControls/Position/property';
|
|
85
|
+
export { default as SubTable } from './listControls/SubTable/property';
|
|
86
|
+
export { default as GridTable } from './listControls/GridTable/property';
|
|
87
|
+
export { default as SimpleSearch } from './searchControls/SimpleSearch/property';
|
|
88
|
+
export * from './framework';
|
|
@@ -7,10 +7,26 @@ declare class ListSelectButtonPropertyRules extends PropertyRules {
|
|
|
7
7
|
fillBack: RuleItem;
|
|
8
8
|
constructor(props: ListSelectButtonProperty);
|
|
9
9
|
}
|
|
10
|
+
/**
|
|
11
|
+
* ListSelectButton 列表选择
|
|
12
|
+
* @public
|
|
13
|
+
*/
|
|
10
14
|
declare class ListSelectButtonProperty extends ButtonProperty {
|
|
11
15
|
static readonly Rules: typeof ListSelectButtonPropertyRules;
|
|
16
|
+
/**
|
|
17
|
+
* 数据过滤
|
|
18
|
+
* @public
|
|
19
|
+
*/
|
|
12
20
|
fillPayload: FillPayloadBind;
|
|
21
|
+
/**
|
|
22
|
+
* 绑定列表页
|
|
23
|
+
* @public
|
|
24
|
+
*/
|
|
13
25
|
listPageBind: ListBind;
|
|
26
|
+
/**
|
|
27
|
+
* 回填配置
|
|
28
|
+
* @public
|
|
29
|
+
*/
|
|
14
30
|
fillBack: FillBackBind;
|
|
15
31
|
constructor(props?: Partial<ListSelectButtonProperty>);
|
|
16
32
|
}
|
|
@@ -1,15 +1,36 @@
|
|
|
1
1
|
import { ColumnControlProperty, ColumnOptionAndDataSourcePropertyRules, DataSourceBind, OptionSetting } from '@byteluck-fe/model-driven-core';
|
|
2
|
+
/**
|
|
3
|
+
* ArrayColumn 数组列
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
2
6
|
declare class ArrayColumnControlPropertyRules extends ColumnOptionAndDataSourcePropertyRules {
|
|
3
7
|
constructor(props: ArrayColumnControlProperty);
|
|
4
8
|
}
|
|
9
|
+
/**
|
|
10
|
+
* ArrayColumn 数组类型列
|
|
11
|
+
* @public
|
|
12
|
+
*/
|
|
5
13
|
declare class ArrayColumnControlProperty extends ColumnControlProperty {
|
|
14
|
+
/**
|
|
15
|
+
* @internal
|
|
16
|
+
*/
|
|
6
17
|
static readonly Rules: typeof ArrayColumnControlPropertyRules;
|
|
7
18
|
/**
|
|
8
19
|
* 选项配置
|
|
9
|
-
* none
|
|
20
|
+
* @defaultValue 'none'
|
|
21
|
+
* @public
|
|
10
22
|
* */
|
|
11
23
|
optionConfig: 'none' | 'custom' | 'datasource';
|
|
24
|
+
/**
|
|
25
|
+
* 关联数据源
|
|
26
|
+
* @public
|
|
27
|
+
*/
|
|
12
28
|
datasourceBind: DataSourceBind;
|
|
29
|
+
/**
|
|
30
|
+
* 自定义选项
|
|
31
|
+
* @defaultValue []
|
|
32
|
+
* @public
|
|
33
|
+
*/
|
|
13
34
|
options: OptionSetting[];
|
|
14
35
|
constructor(props?: Partial<ArrayColumnControlProperty>);
|
|
15
36
|
}
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
import { ColumnControlProperty } from '@byteluck-fe/model-driven-core';
|
|
2
|
+
/**
|
|
3
|
+
* AutoNumberColumn 自动编号类型列
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
2
6
|
declare class AutoNumberColumnControlProperty extends ColumnControlProperty {
|
|
3
7
|
constructor(props?: Partial<AutoNumberColumnControlProperty>);
|
|
4
8
|
}
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
import { ColumnControlProperty } from '@byteluck-fe/model-driven-core';
|
|
2
|
+
/**
|
|
3
|
+
* CustomColumn 自定义列
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
2
6
|
declare class CustomColumnControlProperty extends ColumnControlProperty {
|
|
3
7
|
fieldCodeList: string[];
|
|
4
8
|
constructor(props?: Partial<CustomColumnControlProperty>);
|
|
@@ -1,22 +1,42 @@
|
|
|
1
1
|
import { ColumnControlProperty, DataSourceBind, OptionSetting } from '@byteluck-fe/model-driven-core';
|
|
2
|
+
/**
|
|
3
|
+
* DecimalColumn 数字列
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
2
6
|
declare class DecimalColumnControlProperty extends ColumnControlProperty {
|
|
3
7
|
/**
|
|
4
8
|
* 选项配置
|
|
5
|
-
* none
|
|
9
|
+
* @defaultValue 'none'
|
|
10
|
+
* @public
|
|
6
11
|
* */
|
|
7
12
|
optionConfig: 'none' | 'custom' | 'datasource';
|
|
13
|
+
/**
|
|
14
|
+
* 关联数据源
|
|
15
|
+
* @public
|
|
16
|
+
*/
|
|
8
17
|
datasourceBind: DataSourceBind;
|
|
18
|
+
/**
|
|
19
|
+
* 自定义选项
|
|
20
|
+
* @defaultValue []
|
|
21
|
+
* @public
|
|
22
|
+
*/
|
|
9
23
|
options: OptionSetting[];
|
|
10
24
|
/**
|
|
11
|
-
*
|
|
25
|
+
* 保留几位小数
|
|
26
|
+
* @defaultValue 0
|
|
27
|
+
* @public
|
|
12
28
|
* */
|
|
13
29
|
precision: number | '';
|
|
14
30
|
/**
|
|
15
31
|
* 千分位展示
|
|
32
|
+
* @defaultValue false
|
|
33
|
+
* @public
|
|
16
34
|
* */
|
|
17
|
-
micrometer:
|
|
35
|
+
micrometer: false;
|
|
18
36
|
/**
|
|
19
37
|
* 百分比格式化
|
|
38
|
+
* @defaultValue false
|
|
39
|
+
* @public
|
|
20
40
|
* */
|
|
21
41
|
percentageFormat: boolean;
|
|
22
42
|
constructor(props?: Partial<DecimalColumnControlProperty>);
|
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
import { ColumnControlProperty } from '@byteluck-fe/model-driven-core';
|
|
2
|
+
/**
|
|
3
|
+
* DepartmentColumn 部门列
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
2
6
|
declare class DepartmentColumnControlProperty extends ColumnControlProperty {
|
|
3
7
|
/**
|
|
4
8
|
* 部门显示层级
|
|
9
|
+
* @defaultValue 1
|
|
10
|
+
* @public
|
|
5
11
|
* */
|
|
6
12
|
displayLevel: number;
|
|
7
13
|
constructor(props?: Partial<DepartmentColumnControlProperty>);
|
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
import { ColumnControlProperty, SuperDataSourceBind } from '@byteluck-fe/model-driven-core';
|
|
2
|
+
/**
|
|
3
|
+
* EmployeeColumn 人员列
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
2
6
|
declare class EmployeeColumnControlProperty extends ColumnControlProperty {
|
|
7
|
+
/**
|
|
8
|
+
* 关联数据源
|
|
9
|
+
* @public
|
|
10
|
+
*/
|
|
3
11
|
datasourceBind: SuperDataSourceBind;
|
|
4
12
|
constructor(props?: Partial<EmployeeColumnControlProperty>);
|
|
5
13
|
}
|
|
@@ -1,6 +1,20 @@
|
|
|
1
1
|
import { ColumnControlProperty } from '@byteluck-fe/model-driven-core';
|
|
2
|
+
/**
|
|
3
|
+
* OperationColumn 操作列
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
2
6
|
declare class OperationColumnControlProperty extends ColumnControlProperty {
|
|
7
|
+
/**
|
|
8
|
+
* 显示效果
|
|
9
|
+
* @defaultValue 'icon'
|
|
10
|
+
* @public
|
|
11
|
+
*/
|
|
3
12
|
showType?: 'text' | 'icon' | 'iconText';
|
|
13
|
+
/**
|
|
14
|
+
* 最多展示操作数
|
|
15
|
+
* @defaultValue 3
|
|
16
|
+
* @public
|
|
17
|
+
*/
|
|
4
18
|
limit: number;
|
|
5
19
|
constructor(props?: Partial<OperationColumnControlProperty>);
|
|
6
20
|
}
|
|
@@ -2,6 +2,10 @@ import { ColumnControlProperty, ColumnControlPropertyRules } from '@byteluck-fe/
|
|
|
2
2
|
declare class OrderColumnControlPropertyRules extends ColumnControlPropertyRules {
|
|
3
3
|
constructor(props: OrderColumnControlProperty);
|
|
4
4
|
}
|
|
5
|
+
/**
|
|
6
|
+
* OrderColumn 序号列
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
5
9
|
declare class OrderColumnControlProperty extends ColumnControlProperty {
|
|
6
10
|
static readonly Rules: typeof OrderColumnControlPropertyRules;
|
|
7
11
|
constructor(props?: Partial<OrderColumnControlProperty>);
|
|
@@ -1,9 +1,20 @@
|
|
|
1
1
|
import { ColumnControlProperty } from '@byteluck-fe/model-driven-core';
|
|
2
|
+
/**
|
|
3
|
+
* TextColumn 长文本列
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
2
6
|
declare class TextColumnControlProperty extends ColumnControlProperty {
|
|
3
7
|
/**
|
|
4
|
-
*
|
|
8
|
+
* 保留富文本格式
|
|
9
|
+
* @defaultValue true
|
|
10
|
+
* @public
|
|
5
11
|
* */
|
|
6
12
|
escapeHTML: boolean;
|
|
13
|
+
/**
|
|
14
|
+
* 行数设置
|
|
15
|
+
* @defaultValue 1
|
|
16
|
+
* @public
|
|
17
|
+
*/
|
|
7
18
|
lineEllipsis: number;
|
|
8
19
|
constructor(props?: Partial<TextColumnControlProperty>);
|
|
9
20
|
}
|
|
@@ -1,8 +1,14 @@
|
|
|
1
1
|
import { ColumnControlProperty } from '@byteluck-fe/model-driven-core';
|
|
2
2
|
import { DateType } from '@byteluck-fe/model-driven-shared';
|
|
3
|
+
/**
|
|
4
|
+
* TimescopeColumn 日期区间列
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
3
7
|
declare class TimescopeColumnControlProperty extends ColumnControlProperty {
|
|
4
8
|
/**
|
|
5
9
|
* 日期展示格式
|
|
10
|
+
* @defaultValue 'date'
|
|
11
|
+
* @public
|
|
6
12
|
* */
|
|
7
13
|
dateType: DateType;
|
|
8
14
|
constructor(props?: Partial<TimescopeColumnControlProperty>);
|
|
@@ -1,8 +1,14 @@
|
|
|
1
1
|
import { ColumnControlProperty } from '@byteluck-fe/model-driven-core';
|
|
2
2
|
import { DateType } from '@byteluck-fe/model-driven-shared';
|
|
3
|
+
/**
|
|
4
|
+
* TimestampColumn 日期列
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
3
7
|
declare class TimestampColumnControlProperty extends ColumnControlProperty {
|
|
4
8
|
/**
|
|
5
9
|
* 日期展示格式
|
|
10
|
+
* @defaultValue 'date'
|
|
11
|
+
* @public
|
|
6
12
|
* */
|
|
7
13
|
dateType: DateType;
|
|
8
14
|
constructor(props?: Partial<TimestampColumnControlProperty>);
|
|
@@ -2,14 +2,28 @@ import { ColumnControlProperty, ColumnOptionAndDataSourcePropertyRules, DataSour
|
|
|
2
2
|
declare class VarcharColumnControlPropertyRules extends ColumnOptionAndDataSourcePropertyRules {
|
|
3
3
|
constructor(props: VarcharColumnControlProperty);
|
|
4
4
|
}
|
|
5
|
+
/**
|
|
6
|
+
* VarcharColumn 短文本列
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
5
9
|
declare class VarcharColumnControlProperty extends ColumnControlProperty {
|
|
6
10
|
static readonly Rules: typeof VarcharColumnControlPropertyRules;
|
|
7
11
|
/**
|
|
8
12
|
* 选项配置
|
|
9
|
-
* none
|
|
13
|
+
* @defaultValue 'none'
|
|
14
|
+
* @public
|
|
10
15
|
* */
|
|
11
16
|
optionConfig: 'none' | 'custom' | 'datasource';
|
|
17
|
+
/**
|
|
18
|
+
* 关联数据源
|
|
19
|
+
* @public
|
|
20
|
+
*/
|
|
12
21
|
datasourceBind: DataSourceBind;
|
|
22
|
+
/**
|
|
23
|
+
* 自定义选项
|
|
24
|
+
* @defaultValue []
|
|
25
|
+
* @public
|
|
26
|
+
*/
|
|
13
27
|
options: OptionSetting[];
|
|
14
28
|
/**
|
|
15
29
|
* 最大行数
|
|
@@ -9,14 +9,47 @@ declare class InputControlPropertyRules extends BaseControlPropertyRules {
|
|
|
9
9
|
declare class InputControlPropertyRuntimeRules extends BaseControlPropertyRuntimeRules {
|
|
10
10
|
constructor(props: InputProperty);
|
|
11
11
|
}
|
|
12
|
+
/**
|
|
13
|
+
* Input 单行文本
|
|
14
|
+
* @public
|
|
15
|
+
*/
|
|
12
16
|
declare class InputProperty extends BaseControlProperty {
|
|
13
17
|
static readonly Rules: typeof InputControlPropertyRules;
|
|
14
18
|
static readonly RuntimeRules: typeof InputControlPropertyRuntimeRules;
|
|
19
|
+
/**
|
|
20
|
+
* 最大长度
|
|
21
|
+
* @defaultValue 200
|
|
22
|
+
* @public
|
|
23
|
+
*/
|
|
15
24
|
maxLength: number;
|
|
25
|
+
/**
|
|
26
|
+
* 最小长度
|
|
27
|
+
* @defaultValue 0
|
|
28
|
+
* @public
|
|
29
|
+
*/
|
|
16
30
|
minLength: number;
|
|
31
|
+
/**
|
|
32
|
+
* 正则校验
|
|
33
|
+
* @public
|
|
34
|
+
*/
|
|
17
35
|
regularRules: RegularRules;
|
|
36
|
+
/**
|
|
37
|
+
* 默认值
|
|
38
|
+
* @defaultValue ''
|
|
39
|
+
* @public
|
|
40
|
+
*/
|
|
18
41
|
defaultValue: string;
|
|
42
|
+
/**
|
|
43
|
+
* 开启密码模式
|
|
44
|
+
* @defaultValue false
|
|
45
|
+
* @public
|
|
46
|
+
*/
|
|
19
47
|
encrypted: boolean;
|
|
48
|
+
/**
|
|
49
|
+
* 密码模式 '' | 'ALL_MASK' | 'LAST_FOUR_MASK'
|
|
50
|
+
* @defaultValue ''
|
|
51
|
+
* @public
|
|
52
|
+
*/
|
|
20
53
|
encryptedMode: string;
|
|
21
54
|
constructor(props?: Partial<InputProperty>);
|
|
22
55
|
}
|
|
@@ -8,53 +8,83 @@ declare class NumberControlPropertyRules extends BaseControlPropertyRules {
|
|
|
8
8
|
declare class NumberControlPropertyRuntimeRules extends BaseControlPropertyRuntimeRules {
|
|
9
9
|
constructor(props: NumberProperty);
|
|
10
10
|
}
|
|
11
|
+
/**
|
|
12
|
+
* Number 数字
|
|
13
|
+
* @public
|
|
14
|
+
*/
|
|
11
15
|
declare class NumberProperty extends BaseControlProperty {
|
|
12
16
|
static readonly Rules: typeof NumberControlPropertyRules;
|
|
13
17
|
static readonly RuntimeRules: typeof NumberControlPropertyRuntimeRules;
|
|
14
18
|
/**
|
|
15
19
|
* 最小值
|
|
20
|
+
* @defaultValue ''
|
|
21
|
+
* @public
|
|
16
22
|
* */
|
|
17
23
|
rangeMin: number | '';
|
|
18
24
|
/**
|
|
19
25
|
* 最大值
|
|
26
|
+
* @defaultValue ''
|
|
27
|
+
* @public
|
|
20
28
|
* */
|
|
21
29
|
rangeMax: number | '';
|
|
22
30
|
/**
|
|
23
31
|
* 类型 (数值number/百分比percentage)
|
|
32
|
+
* @defaultValue 'number'
|
|
33
|
+
* @public
|
|
24
34
|
* */
|
|
25
35
|
numberType: 'number' | 'percentage';
|
|
26
36
|
/**
|
|
27
37
|
* 百分比格式化
|
|
38
|
+
* @defaultValue false
|
|
39
|
+
* @public
|
|
28
40
|
* */
|
|
29
41
|
percentageFormat: boolean;
|
|
30
42
|
/**
|
|
31
43
|
* 千分位展示
|
|
44
|
+
* @defaultValue false
|
|
45
|
+
* @public
|
|
32
46
|
* */
|
|
33
47
|
micrometer: boolean;
|
|
34
48
|
/**
|
|
35
49
|
* 小数位数
|
|
50
|
+
* @defaultValue ''
|
|
51
|
+
* @public
|
|
36
52
|
*/
|
|
37
53
|
precision: number | '';
|
|
38
54
|
/**
|
|
39
|
-
*
|
|
55
|
+
* 显示大写数字
|
|
56
|
+
* @defaultValue false
|
|
57
|
+
* @public
|
|
40
58
|
* */
|
|
41
59
|
showUpperCase: boolean;
|
|
42
60
|
/**
|
|
43
61
|
* 是否勾选单位
|
|
62
|
+
* @defaultValue false
|
|
63
|
+
* @public
|
|
44
64
|
* */
|
|
45
65
|
isShowUnit: boolean;
|
|
46
66
|
/**
|
|
47
67
|
* 单位位置 left right
|
|
68
|
+
* @defaultValue 'right'
|
|
69
|
+
* @public
|
|
48
70
|
* */
|
|
49
71
|
unitPosition: 'left' | 'right';
|
|
50
72
|
/**
|
|
51
73
|
* 自定义单位
|
|
74
|
+
* @defaultValue ''
|
|
75
|
+
* @public
|
|
52
76
|
* */
|
|
53
77
|
unit: string;
|
|
54
78
|
/**
|
|
55
79
|
* 默认值
|
|
80
|
+
* @defaultValue ''
|
|
81
|
+
* @public
|
|
56
82
|
* */
|
|
57
83
|
defaultValue: number | '';
|
|
84
|
+
/**
|
|
85
|
+
* 正则校验
|
|
86
|
+
* @public
|
|
87
|
+
* */
|
|
58
88
|
regularRules: RegularRules;
|
|
59
89
|
constructor(props?: Partial<NumberProperty>);
|
|
60
90
|
}
|
|
@@ -7,6 +7,7 @@ declare class SelectRelationControl extends DesignerFormControl {
|
|
|
7
7
|
static get controlType(): string;
|
|
8
8
|
static controlFieldType: FieldTypes;
|
|
9
9
|
static readonly setting: SettingOption[];
|
|
10
|
+
static readonly controlEventKeys: string[];
|
|
10
11
|
readonly props: SelectRelationProperty;
|
|
11
12
|
constructor(props?: Partial<Schema<'select-relation'>>);
|
|
12
13
|
}
|
|
@@ -4,18 +4,57 @@ declare class SelectRelationControlPropertyRules extends OptionAndDataSourceProp
|
|
|
4
4
|
listPageBind: RuleItem[];
|
|
5
5
|
constructor(props: SelectRelationProperty);
|
|
6
6
|
}
|
|
7
|
+
/**
|
|
8
|
+
* SelectRelation 关联单选
|
|
9
|
+
* @public
|
|
10
|
+
*/
|
|
7
11
|
declare class SelectRelationProperty extends BaseControlProperty {
|
|
8
12
|
static readonly Rules: typeof SelectRelationControlPropertyRules;
|
|
13
|
+
/**
|
|
14
|
+
* 自定义选项
|
|
15
|
+
* @defaultValue []
|
|
16
|
+
* @public
|
|
17
|
+
*/
|
|
9
18
|
options: Array<OptionSetting>;
|
|
19
|
+
/**
|
|
20
|
+
* 选项配置
|
|
21
|
+
* @defaultValue 'datasource'
|
|
22
|
+
* @public
|
|
23
|
+
* */
|
|
10
24
|
optionConfig: 'custom' | 'datasource';
|
|
25
|
+
/**
|
|
26
|
+
* 默认值
|
|
27
|
+
* @defaultValue ''
|
|
28
|
+
* @public
|
|
29
|
+
*/
|
|
11
30
|
defaultValue: string;
|
|
31
|
+
/**
|
|
32
|
+
* 绑定列表页
|
|
33
|
+
* @public
|
|
34
|
+
*/
|
|
12
35
|
listPageBind: ListBind;
|
|
36
|
+
/**
|
|
37
|
+
* 关联数据源
|
|
38
|
+
* @public
|
|
39
|
+
*/
|
|
13
40
|
datasourceBind: DataSourceBind;
|
|
41
|
+
/**
|
|
42
|
+
* 数据填充
|
|
43
|
+
* @defaultValue []
|
|
44
|
+
* @public
|
|
45
|
+
*/
|
|
14
46
|
multistageFilling?: MultistageFillingItem[];
|
|
15
47
|
/**
|
|
16
|
-
*
|
|
48
|
+
* 查看详情
|
|
49
|
+
* @defaultValue false
|
|
50
|
+
* @public
|
|
17
51
|
*/
|
|
18
52
|
canViewForm: boolean;
|
|
53
|
+
/**
|
|
54
|
+
* 数据填充-查看/编辑页面生效
|
|
55
|
+
* @defaultValue false
|
|
56
|
+
* @public
|
|
57
|
+
*/
|
|
19
58
|
openMultistageFilling: boolean;
|
|
20
59
|
constructor(props?: Partial<SelectRelationProperty>);
|
|
21
60
|
}
|
|
@@ -9,12 +9,36 @@ declare class TextareaControlPropertyRules extends BaseControlPropertyRules {
|
|
|
9
9
|
declare class TextareaControlPropertyRuntimeRules extends BaseControlPropertyRuntimeRules {
|
|
10
10
|
constructor(props: TextareaProperty);
|
|
11
11
|
}
|
|
12
|
+
/**
|
|
13
|
+
* Textarea 多行文本
|
|
14
|
+
* @public
|
|
15
|
+
*/
|
|
12
16
|
declare class TextareaProperty extends BaseControlProperty {
|
|
13
17
|
static readonly Rules: typeof TextareaControlPropertyRules;
|
|
14
18
|
static readonly RuntimeRules: typeof TextareaControlPropertyRuntimeRules;
|
|
19
|
+
/**
|
|
20
|
+
* 最大长度
|
|
21
|
+
* @defaultValue 50000
|
|
22
|
+
* @public
|
|
23
|
+
*/
|
|
15
24
|
maxLength: number;
|
|
25
|
+
/**
|
|
26
|
+
* 最小长度
|
|
27
|
+
* @defaultValue 0
|
|
28
|
+
* @public
|
|
29
|
+
*/
|
|
16
30
|
minLength: number;
|
|
31
|
+
/**
|
|
32
|
+
* 默认值
|
|
33
|
+
* @defaultValue ''
|
|
34
|
+
* @public
|
|
35
|
+
*/
|
|
17
36
|
defaultValue: string;
|
|
37
|
+
/**
|
|
38
|
+
* 行数设置
|
|
39
|
+
* @defaultValue 4
|
|
40
|
+
* @public
|
|
41
|
+
*/
|
|
18
42
|
lineEllipsis: number;
|
|
19
43
|
constructor(props?: Partial<TextareaProperty>);
|
|
20
44
|
}
|