@byteluck-fe/model-driven-controls 7.0.0-props.5 → 7.0.0-props.6
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/types/baseControls/ReferenceList/property.d.ts +3 -3
- package/dist/types/baseControls/index.d.ts +24 -0
- package/dist/types/columnControls/ApprovalStatusColumn/property.d.ts +3 -3
- package/dist/types/columnControls/ArrayColumn/property.d.ts +3 -3
- package/dist/types/columnControls/AutoNumberColumn/property.d.ts +3 -3
- package/dist/types/columnControls/CustomColumn/property.d.ts +3 -3
- package/dist/types/columnControls/DecimalColumn/property.d.ts +3 -3
- package/dist/types/columnControls/DepartmentColumn/property.d.ts +3 -3
- package/dist/types/columnControls/EmployeeColumn/property.d.ts +3 -3
- package/dist/types/columnControls/FileColumn/property.d.ts +3 -3
- package/dist/types/columnControls/GroupColumn/property.d.ts +3 -3
- package/dist/types/columnControls/ImageColumn/property.d.ts +3 -3
- package/dist/types/columnControls/LocationColumn/property.d.ts +3 -3
- package/dist/types/columnControls/OperationColumn/property.d.ts +3 -3
- package/dist/types/columnControls/OrderColumn/property.d.ts +3 -3
- package/dist/types/columnControls/PeopleColumn/property.d.ts +3 -3
- package/dist/types/columnControls/TextColumn/property.d.ts +3 -3
- package/dist/types/columnControls/TimescopeColumn/property.d.ts +3 -3
- package/dist/types/columnControls/TimestampColumn/property.d.ts +3 -3
- package/dist/types/columnControls/VarcharColumn/property.d.ts +3 -3
- package/dist/types/columnControls/index.d.ts +18 -0
- package/dist/types/formControls/index.d.ts +34 -0
- package/dist/types/layoutControls/TableLayoutCol/property.d.ts +3 -3
- package/dist/types/layoutControls/index.d.ts +27 -0
- package/dist/types/listControls/index.d.ts +2 -0
- package/dist/types/searchControls/index.d.ts +1 -0
- package/dist/types/wrapControls/index.d.ts +1 -0
- package/package.json +2 -2
|
@@ -5,7 +5,7 @@ declare class ReferenceListPropertyRules extends PropertyRules {
|
|
|
5
5
|
actionSetting: RuleItem;
|
|
6
6
|
constructor(props: ReferenceListProperty);
|
|
7
7
|
}
|
|
8
|
-
interface
|
|
8
|
+
interface ReferenceListPropertyInterface extends PropertyInterface {
|
|
9
9
|
isShowSimpleSearch: boolean;
|
|
10
10
|
isShowToolbar: boolean;
|
|
11
11
|
actionSetting: ActionSetting;
|
|
@@ -16,7 +16,7 @@ interface ReferenceListControlPropertyInterface extends PropertyInterface {
|
|
|
16
16
|
* ReferenceList 引用列表
|
|
17
17
|
* @public
|
|
18
18
|
*/
|
|
19
|
-
declare class ReferenceListProperty extends Property implements
|
|
19
|
+
declare class ReferenceListProperty extends Property implements ReferenceListPropertyInterface {
|
|
20
20
|
static readonly Rules: typeof ReferenceListPropertyRules;
|
|
21
21
|
isShowSimpleSearch: boolean;
|
|
22
22
|
isShowToolbar: boolean;
|
|
@@ -26,4 +26,4 @@ declare class ReferenceListProperty extends Property implements ReferenceListCon
|
|
|
26
26
|
constructor(props?: Partial<ReferenceListProperty>);
|
|
27
27
|
}
|
|
28
28
|
export default ReferenceListProperty;
|
|
29
|
-
export { ReferenceListProperty,
|
|
29
|
+
export { ReferenceListProperty, ReferenceListPropertyInterface, ReferenceListPropertyRules };
|
|
@@ -1,24 +1,48 @@
|
|
|
1
1
|
export { default as Text } from './Text';
|
|
2
|
+
export type { TextPropertyInterface } from './Text';
|
|
2
3
|
export { default as Link } from './Link';
|
|
4
|
+
export type { LinkPropertyInterface } from './Link';
|
|
3
5
|
export { default as Button } from './Button';
|
|
6
|
+
export type { ButtonPropertyInterface } from './Button';
|
|
4
7
|
export { default as Divider } from './Divider';
|
|
8
|
+
export type { DividerPropertyInterface } from './Divider';
|
|
5
9
|
export { default as Title } from './Title';
|
|
10
|
+
export type { TitlePropertyInterface } from './Title';
|
|
6
11
|
export { default as CreateFormListButton } from './CreateFormListButton';
|
|
12
|
+
export type { CreateFormListButtonPropertyInterface } from './CreateFormListButton';
|
|
7
13
|
export { default as BatchSubmissionListButton } from './BatchSubmissionListButton';
|
|
14
|
+
export type { BatchSubmissionListButtonPropertyInterface } from './BatchSubmissionListButton';
|
|
8
15
|
export { default as SubmissionRecordListButton } from './SubmissionRecordListButton';
|
|
16
|
+
export type { SubmissionRecordListButtonPropertyInterface } from './SubmissionRecordListButton';
|
|
9
17
|
export { default as ExportListButton } from './ExportListButton';
|
|
18
|
+
export type { ExportListButtonPropertyInterface } from './ExportListButton';
|
|
10
19
|
export { default as ExportRecordListButton } from './ExportRecordListButton';
|
|
20
|
+
export type { ExportRecordListButtonPropertyInterface } from './ExportRecordListButton';
|
|
11
21
|
export { default as ImportRecordListButton } from './ImportRecordListButton';
|
|
22
|
+
export type { ImportRecordListButtonPropertyInterface } from './ImportRecordListButton';
|
|
12
23
|
export { default as FormSelectButton } from './FormSelectButton';
|
|
24
|
+
export type { FormSelectButtonPropertyInterface } from './FormSelectButton';
|
|
13
25
|
export { default as ListSelectButton } from './ListSelectButton';
|
|
26
|
+
export type { ListSelectButtonPropertyInterface } from './ListSelectButton';
|
|
14
27
|
export { default as Pagination } from './Pagination';
|
|
28
|
+
export type { PaginationPropertyInterface } from './Pagination';
|
|
15
29
|
export { default as Dashboard } from './Dashboard';
|
|
30
|
+
export type { DashboardPropertyInterface } from './Dashboard';
|
|
16
31
|
export { default as ListViewSelect } from './ListViewSelect';
|
|
32
|
+
export type { ListViewSelectPropertyInterface } from './ListViewSelect';
|
|
17
33
|
export { default as TextOcrButton } from './TextOcrButton';
|
|
34
|
+
export type { TextOcrButtonPropertyInterface } from './TextOcrButton';
|
|
18
35
|
export { default as InvoiceCheckButton } from './InvoiceCheckButton';
|
|
36
|
+
export type { InvoiceCheckButtonPropertyInterface } from './InvoiceCheckButton';
|
|
19
37
|
export { default as BatchPrintListButton } from './BatchPrintListButton';
|
|
38
|
+
export type { BatchPrintListButtonPropertyInterface } from './BatchPrintListButton';
|
|
20
39
|
export { default as BatchPrintRecordListButton } from './BatchPrintRecordListButton';
|
|
40
|
+
export type { BatchPrintRecordListButtonPropertyInterface } from './BatchPrintRecordListButton';
|
|
21
41
|
export { default as OperationButton } from './OperationButton';
|
|
42
|
+
export type { OperationButtonPropertyInterface } from './OperationButton';
|
|
22
43
|
export { default as BatchDeleteButton } from './BatchDeleteButton';
|
|
44
|
+
export type { BatchDeleteButtonPropertyInterface } from './BatchDeleteButton';
|
|
23
45
|
export { default as ReferenceList } from './ReferenceList';
|
|
46
|
+
export type { ReferenceListPropertyInterface } from './ReferenceList';
|
|
24
47
|
export { default as CommentControl } from './Comment';
|
|
48
|
+
export type { CommentPropertyInterface } from './Comment';
|
|
@@ -3,7 +3,7 @@ import { ColumnControlProperty, ColumnControlPropertyInterface, LinkOperationOpt
|
|
|
3
3
|
* ApprovalStatusColumn 审批状态列
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
6
|
-
interface
|
|
6
|
+
interface ApprovalStatusColumnPropertyInterface extends ColumnControlPropertyInterface {
|
|
7
7
|
/**
|
|
8
8
|
* 行数设置
|
|
9
9
|
*/
|
|
@@ -19,11 +19,11 @@ interface ApprovalStatusColumnControlPropertyInterface extends ColumnControlProp
|
|
|
19
19
|
*/
|
|
20
20
|
linkOperationOption: LinkOperationOption;
|
|
21
21
|
}
|
|
22
|
-
declare class ApprovalStatusColumnControlProperty extends ColumnControlProperty implements
|
|
22
|
+
declare class ApprovalStatusColumnControlProperty extends ColumnControlProperty implements ApprovalStatusColumnPropertyInterface {
|
|
23
23
|
lineEllipsis: number;
|
|
24
24
|
showLinkOperation: boolean;
|
|
25
25
|
linkOperationOption: LinkOperationOption;
|
|
26
26
|
constructor(props?: Partial<ApprovalStatusColumnControlProperty>);
|
|
27
27
|
}
|
|
28
28
|
export default ApprovalStatusColumnControlProperty;
|
|
29
|
-
export { ApprovalStatusColumnControlProperty,
|
|
29
|
+
export { ApprovalStatusColumnControlProperty, ApprovalStatusColumnPropertyInterface };
|
|
@@ -10,7 +10,7 @@ declare class ArrayColumnControlPropertyRules extends ColumnOptionAndDataSourceP
|
|
|
10
10
|
* ArrayColumn 数组类型列
|
|
11
11
|
* @public
|
|
12
12
|
*/
|
|
13
|
-
interface
|
|
13
|
+
interface ArrayColumnPropertyInterface extends ColumnControlPropertyInterface {
|
|
14
14
|
/**
|
|
15
15
|
* 选项配置
|
|
16
16
|
* @defaultValue 'none'
|
|
@@ -39,7 +39,7 @@ interface ArrayColumnControlPropertyInterface extends ColumnControlPropertyInter
|
|
|
39
39
|
*/
|
|
40
40
|
options: OptionSetting[];
|
|
41
41
|
}
|
|
42
|
-
declare class ArrayColumnControlProperty extends ColumnControlProperty implements
|
|
42
|
+
declare class ArrayColumnControlProperty extends ColumnControlProperty implements ArrayColumnPropertyInterface {
|
|
43
43
|
static readonly Rules: typeof ArrayColumnControlPropertyRules;
|
|
44
44
|
optionConfig: 'none' | 'custom' | 'datasource';
|
|
45
45
|
datasourceBind: DataSourceBind;
|
|
@@ -49,4 +49,4 @@ declare class ArrayColumnControlProperty extends ColumnControlProperty implement
|
|
|
49
49
|
constructor(props?: Partial<ArrayColumnControlProperty>);
|
|
50
50
|
}
|
|
51
51
|
export default ArrayColumnControlProperty;
|
|
52
|
-
export { ArrayColumnControlProperty,
|
|
52
|
+
export { ArrayColumnControlProperty, ArrayColumnPropertyInterface, ArrayColumnControlPropertyRules };
|
|
@@ -2,7 +2,7 @@ import { ColumnControlProperty, ColumnControlPropertyInterface, LinkOperationOpt
|
|
|
2
2
|
declare class AutoNumberColumnControlPropertyRules extends ColumnControlPropertyRules {
|
|
3
3
|
constructor(props: AutoNumberColumnControlProperty);
|
|
4
4
|
}
|
|
5
|
-
interface
|
|
5
|
+
interface AutoNumberColumnPropertyInterface extends ColumnControlPropertyInterface {
|
|
6
6
|
/**
|
|
7
7
|
* 是否显示链接操作
|
|
8
8
|
*/
|
|
@@ -16,11 +16,11 @@ interface AutoNumberColumnControlPropertyInterface extends ColumnControlProperty
|
|
|
16
16
|
* AutoNumberColumn 自动编号类型列
|
|
17
17
|
* @public
|
|
18
18
|
*/
|
|
19
|
-
declare class AutoNumberColumnControlProperty extends ColumnControlProperty implements
|
|
19
|
+
declare class AutoNumberColumnControlProperty extends ColumnControlProperty implements AutoNumberColumnPropertyInterface {
|
|
20
20
|
static readonly Rules: typeof AutoNumberColumnControlPropertyRules;
|
|
21
21
|
showLinkOperation: boolean;
|
|
22
22
|
linkOperationOption: LinkOperationOption;
|
|
23
23
|
constructor(props?: Partial<AutoNumberColumnControlProperty>);
|
|
24
24
|
}
|
|
25
25
|
export default AutoNumberColumnControlProperty;
|
|
26
|
-
export { AutoNumberColumnControlProperty,
|
|
26
|
+
export { AutoNumberColumnControlProperty, AutoNumberColumnPropertyInterface, AutoNumberColumnControlPropertyRules };
|
|
@@ -8,7 +8,7 @@ declare class CustomColumnControlPropertyRules extends ColumnControlPropertyRule
|
|
|
8
8
|
* CustomColumn 自定义列
|
|
9
9
|
* @public
|
|
10
10
|
*/
|
|
11
|
-
interface
|
|
11
|
+
interface CustomColumnPropertyInterface extends ColumnControlPropertyInterface {
|
|
12
12
|
/**
|
|
13
13
|
* 字段编码列表
|
|
14
14
|
*/
|
|
@@ -18,11 +18,11 @@ interface CustomColumnControlPropertyInterface extends ColumnControlPropertyInte
|
|
|
18
18
|
*/
|
|
19
19
|
sortFieldCode: string;
|
|
20
20
|
}
|
|
21
|
-
declare class CustomColumnControlProperty extends ColumnControlProperty implements
|
|
21
|
+
declare class CustomColumnControlProperty extends ColumnControlProperty implements CustomColumnPropertyInterface {
|
|
22
22
|
static readonly Rules: typeof CustomColumnControlPropertyRules;
|
|
23
23
|
fieldCodeList: string[];
|
|
24
24
|
sortFieldCode: string;
|
|
25
25
|
constructor(props?: Partial<CustomColumnControlProperty>);
|
|
26
26
|
}
|
|
27
27
|
export default CustomColumnControlProperty;
|
|
28
|
-
export { CustomColumnControlProperty,
|
|
28
|
+
export { CustomColumnControlProperty, CustomColumnPropertyInterface };
|
|
@@ -6,7 +6,7 @@ declare class DecimalColumnControlPropertyRules extends ColumnOptionAndDataSourc
|
|
|
6
6
|
* DecimalColumn 数字列
|
|
7
7
|
* @public
|
|
8
8
|
*/
|
|
9
|
-
interface
|
|
9
|
+
interface DecimalColumnPropertyInterface extends ColumnControlPropertyInterface {
|
|
10
10
|
/**
|
|
11
11
|
* 选项配置
|
|
12
12
|
* @defaultValue 'none'
|
|
@@ -53,7 +53,7 @@ interface DecimalColumnControlPropertyInterface extends ColumnControlPropertyInt
|
|
|
53
53
|
* */
|
|
54
54
|
percentageFormat: boolean;
|
|
55
55
|
}
|
|
56
|
-
declare class DecimalColumnControlProperty extends ColumnControlProperty implements
|
|
56
|
+
declare class DecimalColumnControlProperty extends ColumnControlProperty implements DecimalColumnPropertyInterface {
|
|
57
57
|
static readonly Rules: typeof DecimalColumnControlPropertyRules;
|
|
58
58
|
optionConfig: 'none' | 'custom' | 'datasource';
|
|
59
59
|
datasourceBind: DataSourceBind;
|
|
@@ -66,4 +66,4 @@ declare class DecimalColumnControlProperty extends ColumnControlProperty impleme
|
|
|
66
66
|
constructor(props?: Partial<DecimalColumnControlProperty>);
|
|
67
67
|
}
|
|
68
68
|
export default DecimalColumnControlProperty;
|
|
69
|
-
export { DecimalColumnControlProperty,
|
|
69
|
+
export { DecimalColumnControlProperty, DecimalColumnPropertyInterface, DecimalColumnControlPropertyRules };
|
|
@@ -3,7 +3,7 @@ import { ColumnControlProperty, ColumnControlPropertyInterface } from '@byteluck
|
|
|
3
3
|
* DepartmentColumn 部门列
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
6
|
-
interface
|
|
6
|
+
interface DepartmentColumnPropertyInterface extends ColumnControlPropertyInterface {
|
|
7
7
|
/**
|
|
8
8
|
* 部门显示层级
|
|
9
9
|
* @defaultValue 1
|
|
@@ -11,9 +11,9 @@ interface DepartmentColumnControlPropertyInterface extends ColumnControlProperty
|
|
|
11
11
|
* */
|
|
12
12
|
displayLevel: number;
|
|
13
13
|
}
|
|
14
|
-
declare class DepartmentColumnControlProperty extends ColumnControlProperty implements
|
|
14
|
+
declare class DepartmentColumnControlProperty extends ColumnControlProperty implements DepartmentColumnPropertyInterface {
|
|
15
15
|
displayLevel: number;
|
|
16
16
|
constructor(props?: Partial<DepartmentColumnControlProperty>);
|
|
17
17
|
}
|
|
18
18
|
export default DepartmentColumnControlProperty;
|
|
19
|
-
export { DepartmentColumnControlProperty,
|
|
19
|
+
export { DepartmentColumnControlProperty, DepartmentColumnPropertyInterface };
|
|
@@ -3,16 +3,16 @@ import { ColumnControlProperty, ColumnControlPropertyInterface, SuperDataSourceB
|
|
|
3
3
|
* EmployeeColumn 人员列
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
6
|
-
interface
|
|
6
|
+
interface EmployeeColumnPropertyInterface extends ColumnControlPropertyInterface {
|
|
7
7
|
/**
|
|
8
8
|
* 关联数据源
|
|
9
9
|
* @public
|
|
10
10
|
*/
|
|
11
11
|
datasourceBind: SuperDataSourceBind;
|
|
12
12
|
}
|
|
13
|
-
declare class EmployeeColumnControlProperty extends ColumnControlProperty implements
|
|
13
|
+
declare class EmployeeColumnControlProperty extends ColumnControlProperty implements EmployeeColumnPropertyInterface {
|
|
14
14
|
datasourceBind: SuperDataSourceBind;
|
|
15
15
|
constructor(props?: Partial<EmployeeColumnControlProperty>);
|
|
16
16
|
}
|
|
17
17
|
export default EmployeeColumnControlProperty;
|
|
18
|
-
export { EmployeeColumnControlProperty,
|
|
18
|
+
export { EmployeeColumnControlProperty, EmployeeColumnPropertyInterface };
|
|
@@ -2,16 +2,16 @@ import { ColumnControlProperty, ColumnControlPropertyInterface } from '@byteluck
|
|
|
2
2
|
/**
|
|
3
3
|
* FileColumn 文件列
|
|
4
4
|
*/
|
|
5
|
-
interface
|
|
5
|
+
interface FileColumnPropertyInterface extends ColumnControlPropertyInterface {
|
|
6
6
|
/**
|
|
7
7
|
* 附件按钮操作数组
|
|
8
8
|
* @public
|
|
9
9
|
*/
|
|
10
10
|
operation: string[];
|
|
11
11
|
}
|
|
12
|
-
declare class FileColumnControlProperty extends ColumnControlProperty implements
|
|
12
|
+
declare class FileColumnControlProperty extends ColumnControlProperty implements FileColumnPropertyInterface {
|
|
13
13
|
operation: string[];
|
|
14
14
|
constructor(props?: Partial<FileColumnControlProperty>);
|
|
15
15
|
}
|
|
16
16
|
export default FileColumnControlProperty;
|
|
17
|
-
export { FileColumnControlProperty,
|
|
17
|
+
export { FileColumnControlProperty, FileColumnPropertyInterface };
|
|
@@ -3,10 +3,10 @@ import { ColumnControlProperty, ColumnControlPropertyInterface } from '@byteluck
|
|
|
3
3
|
* CustomColumn 合并列
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
6
|
-
interface
|
|
6
|
+
interface GroupColumnPropertyInterface extends ColumnControlPropertyInterface {
|
|
7
7
|
}
|
|
8
|
-
declare class GroupColumnControlProperty extends ColumnControlProperty implements
|
|
8
|
+
declare class GroupColumnControlProperty extends ColumnControlProperty implements GroupColumnPropertyInterface {
|
|
9
9
|
constructor(props?: Partial<GroupColumnControlProperty>);
|
|
10
10
|
}
|
|
11
11
|
export default GroupColumnControlProperty;
|
|
12
|
-
export { GroupColumnControlProperty,
|
|
12
|
+
export { GroupColumnControlProperty, GroupColumnPropertyInterface };
|
|
@@ -2,10 +2,10 @@ import { ColumnControlProperty, ColumnControlPropertyInterface } from '@byteluck
|
|
|
2
2
|
/**
|
|
3
3
|
* ImageColumn 图片列
|
|
4
4
|
*/
|
|
5
|
-
interface
|
|
5
|
+
interface ImageColumnPropertyInterface extends ColumnControlPropertyInterface {
|
|
6
6
|
}
|
|
7
|
-
declare class ImageColumnControlProperty extends ColumnControlProperty implements
|
|
7
|
+
declare class ImageColumnControlProperty extends ColumnControlProperty implements ImageColumnPropertyInterface {
|
|
8
8
|
constructor(props?: Partial<ImageColumnControlProperty>);
|
|
9
9
|
}
|
|
10
10
|
export default ImageColumnControlProperty;
|
|
11
|
-
export { ImageColumnControlProperty,
|
|
11
|
+
export { ImageColumnControlProperty, ImageColumnPropertyInterface };
|
|
@@ -6,7 +6,7 @@ declare class LocationColumnControlPropertyRules extends ColumnControlPropertyRu
|
|
|
6
6
|
* LocationColumn 地址列
|
|
7
7
|
* @public
|
|
8
8
|
*/
|
|
9
|
-
interface
|
|
9
|
+
interface LocationColumnPropertyInterface extends ColumnControlPropertyInterface {
|
|
10
10
|
/**
|
|
11
11
|
* 是否显示链接操作
|
|
12
12
|
* @public
|
|
@@ -18,11 +18,11 @@ interface LocationColumnControlPropertyInterface extends ColumnControlPropertyIn
|
|
|
18
18
|
*/
|
|
19
19
|
linkOperationOption: LinkOperationOption;
|
|
20
20
|
}
|
|
21
|
-
declare class LocationColumnControlProperty extends ColumnControlProperty implements
|
|
21
|
+
declare class LocationColumnControlProperty extends ColumnControlProperty implements LocationColumnPropertyInterface {
|
|
22
22
|
static readonly Rules: typeof LocationColumnControlPropertyRules;
|
|
23
23
|
showLinkOperation: boolean;
|
|
24
24
|
linkOperationOption: LinkOperationOption;
|
|
25
25
|
constructor(props?: Partial<LocationColumnControlProperty>);
|
|
26
26
|
}
|
|
27
27
|
export default LocationColumnControlProperty;
|
|
28
|
-
export { LocationColumnControlProperty, LocationColumnControlPropertyRules,
|
|
28
|
+
export { LocationColumnControlProperty, LocationColumnControlPropertyRules, LocationColumnPropertyInterface, };
|
|
@@ -3,7 +3,7 @@ import { ColumnControlProperty, ColumnControlPropertyInterface } from '@byteluck
|
|
|
3
3
|
* OperationColumn 操作列
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
6
|
-
interface
|
|
6
|
+
interface OperationColumnPropertyInterface extends ColumnControlPropertyInterface {
|
|
7
7
|
/**
|
|
8
8
|
* 显示效果
|
|
9
9
|
* @defaultValue 'icon'
|
|
@@ -17,10 +17,10 @@ interface OperationColumnControlPropertyInterface extends ColumnControlPropertyI
|
|
|
17
17
|
*/
|
|
18
18
|
limit: number;
|
|
19
19
|
}
|
|
20
|
-
declare class OperationColumnControlProperty extends ColumnControlProperty implements
|
|
20
|
+
declare class OperationColumnControlProperty extends ColumnControlProperty implements OperationColumnPropertyInterface {
|
|
21
21
|
showType?: 'text' | 'icon' | 'iconText';
|
|
22
22
|
limit: number;
|
|
23
23
|
constructor(props?: Partial<OperationColumnControlProperty>);
|
|
24
24
|
}
|
|
25
25
|
export default OperationColumnControlProperty;
|
|
26
|
-
export { OperationColumnControlProperty,
|
|
26
|
+
export { OperationColumnControlProperty, OperationColumnPropertyInterface };
|
|
@@ -6,11 +6,11 @@ declare class OrderColumnControlPropertyRules extends ColumnControlPropertyRules
|
|
|
6
6
|
* OrderColumn 序号列
|
|
7
7
|
* @public
|
|
8
8
|
*/
|
|
9
|
-
interface
|
|
9
|
+
interface OrderColumnPropertyInterface extends ColumnControlPropertyInterface {
|
|
10
10
|
}
|
|
11
|
-
declare class OrderColumnControlProperty extends ColumnControlProperty implements
|
|
11
|
+
declare class OrderColumnControlProperty extends ColumnControlProperty implements OrderColumnPropertyInterface {
|
|
12
12
|
static readonly Rules: typeof OrderColumnControlPropertyRules;
|
|
13
13
|
constructor(props?: Partial<OrderColumnControlProperty>);
|
|
14
14
|
}
|
|
15
15
|
export default OrderColumnControlProperty;
|
|
16
|
-
export { OrderColumnControlProperty,
|
|
16
|
+
export { OrderColumnControlProperty, OrderColumnPropertyInterface, OrderColumnControlPropertyRules };
|
|
@@ -2,10 +2,10 @@ import { ColumnControlProperty, ColumnControlPropertyInterface } from '@byteluck
|
|
|
2
2
|
/**
|
|
3
3
|
* PeopleColumn 已废弃
|
|
4
4
|
*/
|
|
5
|
-
interface
|
|
5
|
+
interface PeopleColumnPropertyInterface extends ColumnControlPropertyInterface {
|
|
6
6
|
}
|
|
7
|
-
declare class PeopleColumnControlProperty extends ColumnControlProperty implements
|
|
7
|
+
declare class PeopleColumnControlProperty extends ColumnControlProperty implements PeopleColumnPropertyInterface {
|
|
8
8
|
constructor(props?: Partial<PeopleColumnControlProperty>);
|
|
9
9
|
}
|
|
10
10
|
export default PeopleColumnControlProperty;
|
|
11
|
-
export { PeopleColumnControlProperty,
|
|
11
|
+
export { PeopleColumnControlProperty, PeopleColumnPropertyInterface };
|
|
@@ -6,7 +6,7 @@ declare class TextColumnControlPropertyRules extends ColumnControlPropertyRules
|
|
|
6
6
|
* TextColumn 长文本列
|
|
7
7
|
* @public
|
|
8
8
|
*/
|
|
9
|
-
interface
|
|
9
|
+
interface TextColumnPropertyInterface extends ColumnControlPropertyInterface {
|
|
10
10
|
/**
|
|
11
11
|
* 保留富文本格式
|
|
12
12
|
* @defaultValue false
|
|
@@ -30,7 +30,7 @@ interface TextColumnControlPropertyInterface extends ColumnControlPropertyInterf
|
|
|
30
30
|
*/
|
|
31
31
|
lineEllipsis: number;
|
|
32
32
|
}
|
|
33
|
-
declare class TextColumnControlProperty extends ColumnControlProperty implements
|
|
33
|
+
declare class TextColumnControlProperty extends ColumnControlProperty implements TextColumnPropertyInterface {
|
|
34
34
|
static readonly Rules: typeof TextColumnControlPropertyRules;
|
|
35
35
|
escapeHTML: boolean;
|
|
36
36
|
showLinkOperation: boolean;
|
|
@@ -39,4 +39,4 @@ declare class TextColumnControlProperty extends ColumnControlProperty implements
|
|
|
39
39
|
constructor(props?: Partial<TextColumnControlProperty>);
|
|
40
40
|
}
|
|
41
41
|
export default TextColumnControlProperty;
|
|
42
|
-
export { TextColumnControlProperty,
|
|
42
|
+
export { TextColumnControlProperty, TextColumnPropertyInterface, TextColumnControlPropertyRules };
|
|
@@ -7,7 +7,7 @@ declare class TimescopeColumnControlPropertyRules extends ColumnControlPropertyR
|
|
|
7
7
|
* TimescopeColumn 日期区间列
|
|
8
8
|
* @public
|
|
9
9
|
*/
|
|
10
|
-
interface
|
|
10
|
+
interface TimescopeColumnPropertyInterface extends ColumnControlPropertyInterface {
|
|
11
11
|
/**
|
|
12
12
|
* 日期展示格式
|
|
13
13
|
* @defaultValue 'date'
|
|
@@ -26,7 +26,7 @@ interface TimescopeColumnControlPropertyInterface extends ColumnControlPropertyI
|
|
|
26
26
|
linkOperationOption: LinkOperationOption;
|
|
27
27
|
isInternational: boolean;
|
|
28
28
|
}
|
|
29
|
-
declare class TimescopeColumnControlProperty extends ColumnControlProperty implements
|
|
29
|
+
declare class TimescopeColumnControlProperty extends ColumnControlProperty implements TimescopeColumnPropertyInterface {
|
|
30
30
|
static readonly Rules: typeof TimescopeColumnControlPropertyRules;
|
|
31
31
|
dateType: DateType;
|
|
32
32
|
showLinkOperation: boolean;
|
|
@@ -35,4 +35,4 @@ declare class TimescopeColumnControlProperty extends ColumnControlProperty imple
|
|
|
35
35
|
constructor(props?: Partial<TimescopeColumnControlProperty>);
|
|
36
36
|
}
|
|
37
37
|
export default TimescopeColumnControlProperty;
|
|
38
|
-
export { TimescopeColumnControlProperty,
|
|
38
|
+
export { TimescopeColumnControlProperty, TimescopeColumnPropertyInterface, TimescopeColumnControlPropertyRules };
|
|
@@ -7,7 +7,7 @@ declare class TimestampColumnControlPropertyRules extends ColumnControlPropertyR
|
|
|
7
7
|
* TimestampColumn 日期列
|
|
8
8
|
* @public
|
|
9
9
|
*/
|
|
10
|
-
interface
|
|
10
|
+
interface TimestampColumnPropertyInterface extends ColumnControlPropertyInterface {
|
|
11
11
|
/**
|
|
12
12
|
* 日期展示格式
|
|
13
13
|
* @defaultValue 'date'
|
|
@@ -26,7 +26,7 @@ interface TimestampColumnControlPropertyInterface extends ColumnControlPropertyI
|
|
|
26
26
|
linkOperationOption: LinkOperationOption;
|
|
27
27
|
isInternational: boolean;
|
|
28
28
|
}
|
|
29
|
-
declare class TimestampColumnControlProperty extends ColumnControlProperty implements
|
|
29
|
+
declare class TimestampColumnControlProperty extends ColumnControlProperty implements TimestampColumnPropertyInterface {
|
|
30
30
|
static readonly Rules: typeof TimestampColumnControlPropertyRules;
|
|
31
31
|
dateType: DateType;
|
|
32
32
|
showLinkOperation: boolean;
|
|
@@ -35,4 +35,4 @@ declare class TimestampColumnControlProperty extends ColumnControlProperty imple
|
|
|
35
35
|
constructor(props?: Partial<TimestampColumnControlProperty>);
|
|
36
36
|
}
|
|
37
37
|
export default TimestampColumnControlProperty;
|
|
38
|
-
export { TimestampColumnControlProperty,
|
|
38
|
+
export { TimestampColumnControlProperty, TimestampColumnPropertyInterface, TimestampColumnControlPropertyRules };
|
|
@@ -6,7 +6,7 @@ declare class VarcharColumnControlPropertyRules extends ColumnOptionAndDataSourc
|
|
|
6
6
|
* VarcharColumn 短文本列
|
|
7
7
|
* @public
|
|
8
8
|
*/
|
|
9
|
-
interface
|
|
9
|
+
interface VarcharColumnPropertyInterface extends ColumnControlPropertyInterface {
|
|
10
10
|
/**
|
|
11
11
|
* 选项配置
|
|
12
12
|
* @defaultValue 'none'
|
|
@@ -46,7 +46,7 @@ interface VarcharColumnControlPropertyInterface extends ColumnControlPropertyInt
|
|
|
46
46
|
color?: number;
|
|
47
47
|
};
|
|
48
48
|
}
|
|
49
|
-
declare class VarcharColumnControlProperty extends ColumnControlProperty implements
|
|
49
|
+
declare class VarcharColumnControlProperty extends ColumnControlProperty implements VarcharColumnPropertyInterface {
|
|
50
50
|
static readonly Rules: typeof VarcharColumnControlPropertyRules;
|
|
51
51
|
optionConfig: 'none' | 'custom' | 'datasource';
|
|
52
52
|
datasourceBind: DataSourceBind;
|
|
@@ -61,4 +61,4 @@ declare class VarcharColumnControlProperty extends ColumnControlProperty impleme
|
|
|
61
61
|
constructor(props?: Partial<VarcharColumnControlProperty>);
|
|
62
62
|
}
|
|
63
63
|
export default VarcharColumnControlProperty;
|
|
64
|
-
export { VarcharColumnControlProperty,
|
|
64
|
+
export { VarcharColumnControlProperty, VarcharColumnPropertyInterface, VarcharColumnControlPropertyRules };
|
|
@@ -1,18 +1,36 @@
|
|
|
1
1
|
export { default as VarcharColumn } from './VarcharColumn';
|
|
2
|
+
export type { VarcharColumnPropertyInterface } from './VarcharColumn';
|
|
2
3
|
export { default as TextColumn } from './TextColumn';
|
|
4
|
+
export type { TextColumnPropertyInterface } from './TextColumn';
|
|
3
5
|
export { default as DecimalColumn } from './DecimalColumn';
|
|
6
|
+
export type { DecimalColumnPropertyInterface } from './DecimalColumn';
|
|
4
7
|
export { default as TimescopeColumn } from './TimescopeColumn';
|
|
8
|
+
export type { TimescopeColumnPropertyInterface } from './TimescopeColumn';
|
|
5
9
|
export { default as TimestampColumn } from './TimestampColumn';
|
|
10
|
+
export type { TimestampColumnPropertyInterface } from './TimestampColumn';
|
|
6
11
|
export { default as ArrayColumn } from './ArrayColumn';
|
|
12
|
+
export type { ArrayColumnPropertyInterface } from './ArrayColumn';
|
|
7
13
|
export { default as DepartmentColumn } from './DepartmentColumn';
|
|
14
|
+
export type { DepartmentColumnPropertyInterface } from './DepartmentColumn';
|
|
8
15
|
export { default as AutoNumberColumn } from './AutoNumberColumn';
|
|
16
|
+
export type { AutoNumberColumnPropertyInterface } from './AutoNumberColumn';
|
|
9
17
|
export { default as FileColumn } from './FileColumn';
|
|
18
|
+
export type { FileColumnPropertyInterface } from './FileColumn';
|
|
10
19
|
export { default as ImageColumn } from './ImageColumn';
|
|
20
|
+
export type { ImageColumnPropertyInterface } from './ImageColumn';
|
|
11
21
|
export { default as PeopleColumn } from './PeopleColumn';
|
|
22
|
+
export type { PeopleColumnPropertyInterface } from './PeopleColumn';
|
|
12
23
|
export { default as LocationColumn } from './LocationColumn';
|
|
24
|
+
export type { LocationColumnPropertyInterface } from './LocationColumn';
|
|
13
25
|
export { default as CustomColumn } from './CustomColumn';
|
|
26
|
+
export type { CustomColumnPropertyInterface } from './CustomColumn';
|
|
14
27
|
export { default as OrderColumn } from './OrderColumn';
|
|
28
|
+
export type { OrderColumnPropertyInterface } from './OrderColumn';
|
|
15
29
|
export { default as OperationColumn } from './OperationColumn';
|
|
30
|
+
export type { OperationColumnPropertyInterface } from './OperationColumn';
|
|
16
31
|
export { default as EmployeeColumn } from './EmployeeColumn';
|
|
32
|
+
export type { EmployeeColumnPropertyInterface } from './EmployeeColumn';
|
|
17
33
|
export { default as ApprovalStatusColumn } from './ApprovalStatusColumn';
|
|
34
|
+
export type { ApprovalStatusColumnPropertyInterface } from './ApprovalStatusColumn';
|
|
18
35
|
export { default as GroupColumn } from './GroupColumn';
|
|
36
|
+
export type { GroupColumnPropertyInterface } from './GroupColumn';
|
|
@@ -1,34 +1,68 @@
|
|
|
1
1
|
export { default as Input } from './Input';
|
|
2
|
+
export type { InputPropertyInterface } from './Input';
|
|
2
3
|
export { default as Checkbox } from './Checkbox';
|
|
4
|
+
export type { CheckboxPropertyInterface } from './Checkbox';
|
|
3
5
|
export { default as Cascader } from './Cascader';
|
|
6
|
+
export type { CascaderPropertyInterface } from './Cascader';
|
|
4
7
|
export { default as Radio } from './Radio';
|
|
8
|
+
export type { RadioPropertyInterface } from './Radio';
|
|
5
9
|
export { default as Number } from './Number';
|
|
10
|
+
export type { NumberPropertyInterface } from './Number';
|
|
6
11
|
export { default as DatePicker } from './DatePicker';
|
|
12
|
+
export type { DatePickerPropertyInterface } from './DatePicker';
|
|
7
13
|
export { default as DateRange } from './DateRange';
|
|
14
|
+
export type { DateRangePropertyInterface } from './DateRange';
|
|
8
15
|
export { default as TimePicker } from './TimePicker';
|
|
16
|
+
export type { TimePickerPropertyInterface } from './TimePicker';
|
|
9
17
|
export { default as TimeRange } from './TimeRange';
|
|
18
|
+
export type { TimeRangePropertyInterface } from './TimeRange';
|
|
10
19
|
export { default as Textarea } from './Textarea';
|
|
20
|
+
export type { TextareaPropertyInterface } from './Textarea';
|
|
11
21
|
export { default as RichText } from './RichText';
|
|
22
|
+
export type { RichTextPropertyInterface } from './RichText';
|
|
12
23
|
export { default as Select } from './Select';
|
|
24
|
+
export type { SelectPropertyInterface } from './Select';
|
|
13
25
|
export { default as SelectMultiple } from './SelectMultiple';
|
|
26
|
+
export type { SelectMultiplePropertyInterface } from './SelectMultiple';
|
|
14
27
|
export { default as Employee } from './Employee';
|
|
28
|
+
export type { EmployeePropertyInterface } from './Employee';
|
|
15
29
|
export { default as Image } from './Image';
|
|
30
|
+
export type { ImagePropertyInterface } from './Image';
|
|
16
31
|
export { default as Attachment } from './Attachment';
|
|
32
|
+
export type { AttachmentPropertyInterface } from './Attachment';
|
|
17
33
|
export { default as Amount } from './Amount';
|
|
34
|
+
export type { AmountPropertyInterface } from './Amount';
|
|
18
35
|
export { default as Score } from './Score';
|
|
36
|
+
export type { ScorePropertyInterface } from './Score';
|
|
19
37
|
export { default as Address } from './Address';
|
|
38
|
+
export type { AddressPropertyInterface } from './Address';
|
|
20
39
|
export { default as Department } from './Department';
|
|
40
|
+
export type { DepartmentPropertyInterface } from './Department';
|
|
21
41
|
export { default as AutoNumber } from './AutoNumber';
|
|
42
|
+
export type { AutoNumberPropertyInterface } from './AutoNumber';
|
|
22
43
|
export { default as Calc } from './Calc';
|
|
44
|
+
export type { CalcPropertyInterface } from './Calc';
|
|
23
45
|
export { default as SearchNumberRange } from './SearchNumberRange';
|
|
46
|
+
export type { SearchNumberRangePropertyInterface } from './SearchNumberRange';
|
|
24
47
|
export { default as SearchDateRange } from './SearchDateRange';
|
|
48
|
+
export type { SearchDateRangePropertyInterface } from './SearchDateRange';
|
|
25
49
|
export { default as VueFormItem } from './VueFormItem';
|
|
50
|
+
export type { VueFormItemPropertyInterface } from './VueFormItem';
|
|
26
51
|
export { default as SelectRelation } from './SelectRelation';
|
|
52
|
+
export type { SelectRelationPropertyInterface } from './SelectRelation';
|
|
27
53
|
export { default as SearchInput } from './SearchInput';
|
|
54
|
+
export type { SearchInputPropertyInterface } from './SearchInput';
|
|
28
55
|
export { default as Tree } from './Tree';
|
|
56
|
+
export type { TreePropertyInterface } from './Tree';
|
|
29
57
|
export { default as Employee2 } from './Employee2';
|
|
58
|
+
export type { Employee2PropertyInterface } from './Employee2';
|
|
30
59
|
export { default as ElectronicSignature } from './ElectronicSignature';
|
|
60
|
+
export type { ElectronicSignaturePropertyInterface } from './ElectronicSignature';
|
|
31
61
|
export { default as WPS } from './WPS';
|
|
62
|
+
export type { WPSPropertyInterface } from './WPS';
|
|
32
63
|
export { default as Department2 } from './Department2';
|
|
64
|
+
export type { Department2PropertyInterface } from './Department2';
|
|
33
65
|
export { default as OrganizationSelection } from './OrganizationSelection';
|
|
66
|
+
export type { OrganizationSelectionPropertyInterface } from './OrganizationSelection';
|
|
34
67
|
export { default as VuePage } from './VuePage';
|
|
68
|
+
export type { VuePagePropertyInterface } from './VuePage';
|
|
@@ -5,7 +5,7 @@ interface BackgroundProperty {
|
|
|
5
5
|
backgroundImage: string;
|
|
6
6
|
placementMode: string;
|
|
7
7
|
}
|
|
8
|
-
interface
|
|
8
|
+
interface TableLayoutColPropertyInterface extends LayoutControlPropertyInterface {
|
|
9
9
|
span: number;
|
|
10
10
|
offset: number;
|
|
11
11
|
tableLayoutColSpan: number;
|
|
@@ -17,7 +17,7 @@ interface TableLayoutColProperty extends LayoutControlPropertyInterface {
|
|
|
17
17
|
background: BackgroundProperty;
|
|
18
18
|
isLabelCol: Boolean;
|
|
19
19
|
}
|
|
20
|
-
declare class TableLayoutColControlProperty extends LayoutControlProperty implements
|
|
20
|
+
declare class TableLayoutColControlProperty extends LayoutControlProperty implements TableLayoutColPropertyInterface {
|
|
21
21
|
span: number;
|
|
22
22
|
offset: number;
|
|
23
23
|
tableLayoutColSpan: number;
|
|
@@ -31,4 +31,4 @@ declare class TableLayoutColControlProperty extends LayoutControlProperty implem
|
|
|
31
31
|
constructor(props?: Partial<TableLayoutColControlProperty>);
|
|
32
32
|
}
|
|
33
33
|
export default TableLayoutColControlProperty;
|
|
34
|
-
export { TableLayoutColControlProperty,
|
|
34
|
+
export { TableLayoutColControlProperty, TableLayoutColPropertyInterface };
|
|
@@ -1,27 +1,54 @@
|
|
|
1
1
|
export { default as Grid } from './Grid';
|
|
2
|
+
export type { GridPropertyInterface } from './Grid';
|
|
2
3
|
export { default as Col } from './Col';
|
|
4
|
+
export type { ColPropertyInterface } from './Col';
|
|
3
5
|
export { default as Row } from './Row';
|
|
6
|
+
export type { RowPropertyInterface } from './Row';
|
|
4
7
|
export { default as GridRow } from './GridRow';
|
|
8
|
+
export type { GridRowPropertyInterface } from './GridRow';
|
|
5
9
|
export { default as CardGroup } from './CardGroup';
|
|
10
|
+
export type { CardGroupPropertyInterface } from './CardGroup';
|
|
6
11
|
export { default as SubTableColumn } from './SubTableColumn';
|
|
12
|
+
export type { SubTableColumnPropertyInterface } from './SubTableColumn';
|
|
7
13
|
export { default as SubTableRow } from './SubTableRow';
|
|
14
|
+
export type { SubtableRowPropertyInterface } from './SubTableRow';
|
|
8
15
|
export { default as GridTableColumn } from './GridTableColumn';
|
|
16
|
+
export type { GridTableColumnPropertyInterface } from './GridTableColumn';
|
|
9
17
|
export { default as GridLayoutContainer } from './GridLayoutContainer';
|
|
18
|
+
export type { GridLayoutContainerPropertyInterface } from './GridLayoutContainer';
|
|
10
19
|
export { default as Tab } from './Tab';
|
|
20
|
+
export type { TabPropertyInterface } from './Tab';
|
|
11
21
|
export { default as TabPane } from './TabPane';
|
|
22
|
+
export type { TabPanePropertyInterface } from './TabPane';
|
|
12
23
|
export { default as Toolbox } from './Toolbox';
|
|
24
|
+
export type { ToolboxPropertyInterface } from './Toolbox';
|
|
13
25
|
export { default as ListView } from './ListView';
|
|
26
|
+
export type { ListViewPropertyInterface } from './ListView';
|
|
14
27
|
export { default as DataView } from './DataView';
|
|
28
|
+
export type { DataViewPropertyInterface } from './DataView';
|
|
15
29
|
export { default as Page } from './Page';
|
|
30
|
+
export type { PagePropertyInterface } from './Page';
|
|
16
31
|
export { default as AdvancedContainer } from './AdvancedContainer';
|
|
32
|
+
export type { AdvancedContainerPropertyInterface } from './AdvancedContainer';
|
|
17
33
|
export { default as PositioningContainer } from './PositioningContainer';
|
|
34
|
+
export type { PositioningContainerPropertyInterface } from './PositioningContainer';
|
|
18
35
|
export { default as Position } from './Position';
|
|
36
|
+
export type { PositionPropertyInterface } from './Position';
|
|
19
37
|
export { default as ActionBar } from './ActionBar';
|
|
38
|
+
export type { ActionBarPropertyInterface } from './ActionBar';
|
|
20
39
|
export { default as Step } from './Step';
|
|
40
|
+
export type { StepPropertyInterface } from './Step';
|
|
21
41
|
export { default as StepPane } from './StepPane';
|
|
42
|
+
export type { StepPanePropertyInterface } from './StepPane';
|
|
22
43
|
export { default as TableLayout } from './TableLayout';
|
|
44
|
+
export type { TableLayoutPropertyInterface } from './TableLayout';
|
|
23
45
|
export { default as TableLayoutRow } from './TableLayoutRow';
|
|
46
|
+
export type { TableLayoutRowPropertyInterface } from './TableLayoutRow';
|
|
24
47
|
export { default as TableLayoutCol } from './TableLayoutCol';
|
|
48
|
+
export type { TableLayoutColPropertyInterface } from './TableLayoutCol';
|
|
25
49
|
export { default as TableLayoutWrapper } from './TableLayoutWrapper';
|
|
50
|
+
export type { TableLayoutWrapperPropertyInterface } from './TableLayoutWrapper';
|
|
26
51
|
export { default as Collapse } from './Collapse';
|
|
52
|
+
export type { CollapsePropertyInterface } from './Collapse';
|
|
27
53
|
export { default as CollapsePane } from './CollapsePane';
|
|
54
|
+
export type { CollapsePanePropertyInterface } from './CollapsePane';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@byteluck-fe/model-driven-controls",
|
|
3
|
-
"version": "7.0.0-props.
|
|
3
|
+
"version": "7.0.0-props.6",
|
|
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.1",
|
|
32
32
|
"async-validator": "3.5.1"
|
|
33
33
|
},
|
|
34
|
-
"gitHead": "
|
|
34
|
+
"gitHead": "7e8c3a4eda913d331428f6a69620663abada3ea9"
|
|
35
35
|
}
|