@byteluck-fe/model-driven-controls 5.6.0-1-beta3 → 5.6.4-dpx-beta.1
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/baseControls/BatchDeleteButton/property.js +10 -18
- package/dist/esm/baseControls/BatchPrintListButton/property.js +6 -9
- package/dist/esm/baseControls/BatchPrintRecordListButton/property.js +3 -4
- package/dist/esm/baseControls/BatchSubmissionListButton/property.js +7 -12
- package/dist/esm/baseControls/Button/property.js +10 -18
- package/dist/esm/baseControls/CreateFormListButton/property.js +5 -8
- package/dist/esm/baseControls/Dashboard/designer.js +4 -0
- package/dist/esm/baseControls/Dashboard/property.js +15 -13
- package/dist/esm/baseControls/Divider/property.js +4 -5
- package/dist/esm/baseControls/ExportListButton/property.js +6 -9
- package/dist/esm/baseControls/ExportRecordListButton/property.js +3 -4
- package/dist/esm/baseControls/FormSelectButton/property.js +4 -6
- package/dist/esm/baseControls/ImportRecordListButton/property.js +6 -9
- package/dist/esm/baseControls/InvoiceCheckButton/property.js +11 -19
- package/dist/esm/baseControls/Link/property.js +4 -6
- package/dist/esm/baseControls/ListSelectButton/property.js +6 -10
- package/dist/esm/baseControls/ListViewSelect/property.js +4 -5
- package/dist/esm/baseControls/OperationButton/property.js +9 -11
- package/dist/esm/baseControls/ReferenceList/property.js +7 -12
- package/dist/esm/baseControls/SubmissionRecordListButton/property.js +3 -4
- package/dist/esm/baseControls/Text/designer.js +4 -0
- package/dist/esm/baseControls/Text/property.js +13 -13
- package/dist/esm/baseControls/TextOcrButton/property.js +11 -19
- package/dist/esm/baseControls/Title/property.js +4 -6
- package/dist/esm/columnControls/ApprovalStatusColumn/property.js +4 -6
- package/dist/esm/columnControls/ArrayColumn/property.js +5 -8
- package/dist/esm/columnControls/AutoNumberColumn/property.js +3 -4
- package/dist/esm/columnControls/CustomColumn/designer.js +1 -0
- package/dist/esm/columnControls/CustomColumn/property.js +4 -6
- package/dist/esm/columnControls/DecimalColumn/property.js +8 -14
- package/dist/esm/columnControls/DepartmentColumn/property.js +3 -4
- package/dist/esm/columnControls/EmployeeColumn/designer.js +1 -1
- package/dist/esm/columnControls/EmployeeColumn/property.js +3 -4
- package/dist/esm/columnControls/FileColumn/property.js +3 -4
- package/dist/esm/columnControls/ImageColumn/property.js +2 -2
- package/dist/esm/columnControls/LocationColumn/property.js +3 -4
- package/dist/esm/columnControls/OperationColumn/designer.js +12 -4
- package/dist/esm/columnControls/OperationColumn/property.js +6 -10
- package/dist/esm/columnControls/OrderColumn/property.js +7 -12
- package/dist/esm/columnControls/PeopleColumn/property.js +2 -2
- package/dist/esm/columnControls/TextColumn/property.js +5 -8
- package/dist/esm/columnControls/TimescopeColumn/designer.js +2 -1
- package/dist/esm/columnControls/TimescopeColumn/property.js +7 -7
- package/dist/esm/columnControls/TimestampColumn/designer.js +2 -1
- package/dist/esm/columnControls/TimestampColumn/property.js +7 -7
- package/dist/esm/columnControls/VarcharColumn/property.js +7 -12
- package/dist/esm/formControls/Address/property.js +6 -10
- package/dist/esm/formControls/Address/runtime.js +1 -1
- package/dist/esm/formControls/Amount/property.js +14 -25
- package/dist/esm/formControls/Attachment/designer.js +5 -0
- package/dist/esm/formControls/Attachment/property.js +29 -36
- package/dist/esm/formControls/AutoNumber/property.js +4 -6
- package/dist/esm/formControls/Calc/property.js +10 -18
- package/dist/esm/formControls/Checkbox/designer.js +4 -0
- package/dist/esm/formControls/Checkbox/property.js +21 -28
- package/dist/esm/formControls/DatePicker/designer.js +4 -2
- package/dist/esm/formControls/DatePicker/property.js +14 -21
- package/dist/esm/formControls/DateRange/designer.js +4 -2
- package/dist/esm/formControls/DateRange/property.js +15 -22
- package/dist/esm/formControls/Department/property.js +12 -22
- package/dist/esm/formControls/Department2/designer.js +1 -1
- package/dist/esm/formControls/Department2/property.js +17 -32
- package/dist/esm/formControls/ElectronicSignature/property.js +7 -12
- package/dist/esm/formControls/Employee/property.js +10 -18
- package/dist/esm/formControls/Employee2/designer.js +5 -1
- package/dist/esm/formControls/Employee2/property.js +21 -34
- package/dist/esm/formControls/Image/designer.js +19 -15
- package/dist/esm/formControls/Image/property.js +28 -2
- package/dist/esm/formControls/Image/runtime.js +16 -10
- package/dist/esm/formControls/Input/designer.js +12 -0
- package/dist/esm/formControls/Input/property.js +23 -15
- package/dist/esm/formControls/Number/property.js +15 -27
- package/dist/esm/formControls/OrganizationSelection/designer.js +1 -1
- package/dist/esm/formControls/OrganizationSelection/property.js +19 -36
- package/dist/esm/formControls/Radio/designer.js +4 -0
- package/dist/esm/formControls/Radio/property.js +18 -23
- package/dist/esm/formControls/RichText/designer.js +16 -0
- package/dist/esm/formControls/RichText/property.js +48 -12
- package/dist/esm/formControls/Score/property.js +8 -13
- package/dist/esm/formControls/SearchDateRange/property.js +16 -24
- package/dist/esm/formControls/SearchNumberRange/property.js +7 -12
- package/dist/esm/formControls/Select/designer.js +4 -0
- package/dist/esm/formControls/Select/property.js +17 -21
- package/dist/esm/formControls/SelectMultiple/designer.js +4 -0
- package/dist/esm/formControls/SelectMultiple/property.js +16 -19
- package/dist/esm/formControls/SelectRelation/designer.js +4 -0
- package/dist/esm/formControls/SelectRelation/property.js +60 -66
- package/dist/esm/formControls/Textarea/designer.js +16 -0
- package/dist/esm/formControls/Textarea/property.js +60 -12
- package/dist/esm/formControls/Tree/designer.js +2 -2
- package/dist/esm/formControls/Tree/property.js +20 -37
- package/dist/esm/formControls/VueFormItem/property.js +6 -10
- package/dist/esm/formControls/VuePage/property.js +6 -10
- package/dist/esm/formControls/WPS/designer.js +9 -9
- package/dist/esm/formControls/WPS/property.js +13 -24
- package/dist/esm/framework.js +77 -113
- package/dist/esm/layoutControls/ActionBar/designer.js +2 -2
- package/dist/esm/layoutControls/ActionBar/property.js +4 -6
- package/dist/esm/layoutControls/ActionBar/runtime.js +2 -2
- package/dist/esm/layoutControls/AdvancedContainer/Setting.js +3 -3
- package/dist/esm/layoutControls/CardGroup/property.js +4 -6
- package/dist/esm/layoutControls/Col/property.js +3 -4
- package/dist/esm/layoutControls/DataView/property.js +7 -12
- package/dist/esm/layoutControls/GridLayoutContainer/property.js +3 -4
- package/dist/esm/layoutControls/GridTableColumn/designer.js +1 -1
- package/dist/esm/layoutControls/GridTableColumn/property.js +11 -20
- package/dist/esm/layoutControls/ListView/property.js +13 -24
- package/dist/esm/layoutControls/Page/Setting.js +5 -5
- package/dist/esm/layoutControls/Page/property.js +2 -2
- package/dist/esm/layoutControls/Position/property.js +5 -8
- package/dist/esm/layoutControls/PositioningContainer/Setting.js +3 -3
- package/dist/esm/layoutControls/Row/property.js +3 -4
- package/dist/esm/layoutControls/Step/designer.js +166 -0
- package/dist/esm/layoutControls/Step/index.js +11 -0
- package/dist/esm/layoutControls/Step/property.js +99 -0
- package/dist/esm/layoutControls/Step/runtime.js +112 -0
- package/dist/esm/layoutControls/Step/types.js +0 -0
- package/dist/esm/layoutControls/StepPane/designer.js +130 -0
- package/dist/esm/layoutControls/StepPane/index.js +11 -0
- package/dist/esm/layoutControls/StepPane/property.js +116 -0
- package/dist/esm/layoutControls/StepPane/runtime.js +112 -0
- package/dist/esm/layoutControls/StepPane/types.js +0 -0
- package/dist/esm/layoutControls/SubTableColumn/property.js +6 -10
- package/dist/esm/layoutControls/Tab/designer.js +2 -2
- package/dist/esm/layoutControls/Tab/property.js +2 -2
- package/dist/esm/layoutControls/TabPane/property.js +2 -2
- package/dist/esm/layoutControls/index.js +2 -0
- package/dist/esm/listControls/GridTable/designer.js +13 -4
- package/dist/esm/listControls/GridTable/property.js +15 -19
- package/dist/esm/listControls/SubTable/designer.js +2 -1
- package/dist/esm/listControls/SubTable/property.js +37 -67
- package/dist/esm/searchControls/SimpleSearch/property.js +13 -24
- package/dist/esm/searchControls/SimpleSearch/runtime.js +2 -2
- package/dist/esm/wrapControls/GridLayoutWrap/designer.js +8 -8
- package/dist/esm/wrapControls/GridLayoutWrap/property.js +2 -2
- package/dist/esm/wrapControls/GridLayoutWrap/runtime.js +8 -8
- package/dist/index.umd.js +1 -1
- package/dist/types/baseControls/Dashboard/property.d.ts +5 -1
- package/dist/types/baseControls/OperationButton/property.d.ts +1 -0
- package/dist/types/baseControls/Text/property.d.ts +6 -0
- package/dist/types/columnControls/TimescopeColumn/property.d.ts +1 -0
- package/dist/types/columnControls/TimestampColumn/property.d.ts +1 -0
- package/dist/types/formControls/Attachment/property.d.ts +3 -0
- package/dist/types/formControls/Checkbox/property.d.ts +6 -0
- package/dist/types/formControls/DatePicker/property.d.ts +1 -0
- package/dist/types/formControls/DateRange/property.d.ts +1 -0
- package/dist/types/formControls/Employee2/property.d.ts +1 -0
- package/dist/types/formControls/Image/designer.d.ts +2 -0
- package/dist/types/formControls/Image/property.d.ts +3 -0
- package/dist/types/formControls/Image/runtime.d.ts +2 -0
- package/dist/types/formControls/Input/property.d.ts +17 -0
- package/dist/types/formControls/Radio/property.d.ts +6 -0
- package/dist/types/formControls/RichText/property.d.ts +30 -1
- package/dist/types/formControls/SearchDateRange/property.d.ts +1 -0
- package/dist/types/formControls/Select/property.d.ts +6 -0
- package/dist/types/formControls/SelectMultiple/property.d.ts +6 -0
- package/dist/types/formControls/SelectRelation/property.d.ts +6 -0
- package/dist/types/formControls/Textarea/property.d.ts +30 -1
- package/dist/types/framework.d.ts +8 -0
- package/dist/types/layoutControls/Step/designer.d.ts +14 -0
- package/dist/types/layoutControls/Step/index.d.ts +12 -0
- package/dist/types/layoutControls/Step/property.d.ts +11 -0
- package/dist/types/layoutControls/Step/runtime.d.ts +9 -0
- package/dist/types/layoutControls/Step/types.d.ts +0 -0
- package/dist/types/layoutControls/StepPane/designer.d.ts +14 -0
- package/dist/types/layoutControls/StepPane/index.d.ts +12 -0
- package/dist/types/layoutControls/StepPane/property.d.ts +14 -0
- package/dist/types/layoutControls/StepPane/runtime.d.ts +9 -0
- package/dist/types/layoutControls/StepPane/types.d.ts +0 -0
- package/dist/types/layoutControls/index.d.ts +2 -0
- package/dist/types/listControls/SubTable/property.d.ts +1 -0
- package/dist/types/type.d.ts +3 -1
- package/package.json +5 -5
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import { Property, PropertyRules } from '@byteluck-fe/model-driven-core';
|
|
2
|
-
import { RuleItem } from '@byteluck-fe/model-driven-core';
|
|
2
|
+
import { RuleItem, FieldFilterCondition, FieldFilterConditions } from '@byteluck-fe/model-driven-core';
|
|
3
3
|
declare class DashboardPropertyRules extends PropertyRules {
|
|
4
4
|
dashboardKey: RuleItem;
|
|
5
5
|
caption: RuleItem;
|
|
6
6
|
isHideCaption: RuleItem;
|
|
7
7
|
labelPosition: RuleItem;
|
|
8
8
|
captionTip: RuleItem;
|
|
9
|
+
isShowReportParams: RuleItem;
|
|
10
|
+
reportParams: RuleItem;
|
|
9
11
|
constructor(props: DashboardProperty);
|
|
10
12
|
}
|
|
11
13
|
declare class DashboardProperty extends Property {
|
|
@@ -16,6 +18,8 @@ declare class DashboardProperty extends Property {
|
|
|
16
18
|
isShowCaptionTip: boolean;
|
|
17
19
|
captionTip: string;
|
|
18
20
|
labelPosition: 'top' | 'left';
|
|
21
|
+
isShowReportParams: boolean;
|
|
22
|
+
reportParams: Array<FieldFilterCondition | FieldFilterConditions>[];
|
|
19
23
|
constructor(props?: Partial<DashboardProperty>);
|
|
20
24
|
}
|
|
21
25
|
export default DashboardProperty;
|
|
@@ -19,6 +19,7 @@ declare class OperationButtonProperty extends Property {
|
|
|
19
19
|
defaultState: 'default' | 'readonly';
|
|
20
20
|
priorityProcess?: boolean;
|
|
21
21
|
isLoading: boolean;
|
|
22
|
+
isSyncDelete: boolean;
|
|
22
23
|
constructor(props?: Partial<OperationButtonProperty>);
|
|
23
24
|
}
|
|
24
25
|
export default OperationButtonProperty;
|
|
@@ -6,6 +6,12 @@ declare class TextProperty extends Property {
|
|
|
6
6
|
icon: string;
|
|
7
7
|
align: string;
|
|
8
8
|
showState: 'text' | 'imageText' | 'image';
|
|
9
|
+
/**
|
|
10
|
+
* ai 显示内容搜索 false | true
|
|
11
|
+
* @defaultValue false
|
|
12
|
+
* @public
|
|
13
|
+
*/
|
|
14
|
+
aiContentSearch: boolean;
|
|
9
15
|
constructor(props?: Partial<TextProperty>);
|
|
10
16
|
}
|
|
11
17
|
export default TextProperty;
|
|
@@ -25,6 +25,7 @@ declare class TimescopeColumnControlProperty extends ColumnControlProperty {
|
|
|
25
25
|
* @public
|
|
26
26
|
*/
|
|
27
27
|
linkOperationOption: LinkOperationOption;
|
|
28
|
+
isInternational: boolean;
|
|
28
29
|
constructor(props?: Partial<TimescopeColumnControlProperty>);
|
|
29
30
|
}
|
|
30
31
|
export default TimescopeColumnControlProperty;
|
|
@@ -25,6 +25,7 @@ declare class TimestampColumnControlProperty extends ColumnControlProperty {
|
|
|
25
25
|
* @public
|
|
26
26
|
*/
|
|
27
27
|
linkOperationOption: LinkOperationOption;
|
|
28
|
+
isInternational: boolean;
|
|
28
29
|
constructor(props?: Partial<TimestampColumnControlProperty>);
|
|
29
30
|
}
|
|
30
31
|
export default TimestampColumnControlProperty;
|
|
@@ -19,6 +19,7 @@ declare class AttachmentControlPropertyRuntimeRules extends BaseControlPropertyR
|
|
|
19
19
|
declare class AttachmentProperty extends BaseControlProperty {
|
|
20
20
|
static readonly Rules: typeof AttachmentControlPropertyRules;
|
|
21
21
|
static readonly RuntimeRules: typeof AttachmentControlPropertyRuntimeRules;
|
|
22
|
+
storageType: 'local' | 'cloud';
|
|
22
23
|
defaultValue: string[];
|
|
23
24
|
showType: 'default' | 'table' | 'image';
|
|
24
25
|
resultShowType: 'simple' | 'table';
|
|
@@ -32,6 +33,8 @@ declare class AttachmentProperty extends BaseControlProperty {
|
|
|
32
33
|
* */
|
|
33
34
|
maxSize: number;
|
|
34
35
|
operation: string[];
|
|
36
|
+
aiExplanation: boolean;
|
|
37
|
+
aiExplanationLength: number;
|
|
35
38
|
customOperation: Array<FileOperationBtn>;
|
|
36
39
|
constructor(props?: Partial<AttachmentProperty>);
|
|
37
40
|
}
|
|
@@ -24,6 +24,12 @@ declare class CheckboxProperty extends BaseControlProperty {
|
|
|
24
24
|
interreaction: [];
|
|
25
25
|
defaultValue: string[];
|
|
26
26
|
openMultistageFilling: boolean;
|
|
27
|
+
/**
|
|
28
|
+
* ai 显示内容搜索 false | true
|
|
29
|
+
* @defaultValue false
|
|
30
|
+
* @public
|
|
31
|
+
*/
|
|
32
|
+
aiContentSearch: boolean;
|
|
27
33
|
constructor(props?: Partial<CheckboxProperty>);
|
|
28
34
|
}
|
|
29
35
|
export default CheckboxProperty;
|
|
@@ -10,6 +10,7 @@ declare class DatePickerProperty extends BaseControlProperty {
|
|
|
10
10
|
limitDateList: Array<LimitDate>;
|
|
11
11
|
allowDateRange: string[];
|
|
12
12
|
filterWeekend: boolean;
|
|
13
|
+
isInternational: boolean;
|
|
13
14
|
constructor(props?: Partial<DatePickerProperty>);
|
|
14
15
|
}
|
|
15
16
|
export default DatePickerProperty;
|
|
@@ -29,6 +29,7 @@ declare class Employee2Property extends BaseControlProperty {
|
|
|
29
29
|
openMultistageFilling: boolean;
|
|
30
30
|
mainDeptFlag: boolean;
|
|
31
31
|
defaultShowOptions: boolean;
|
|
32
|
+
subtableCopyType: 'employeeId' | 'email';
|
|
32
33
|
constructor(props?: Partial<Employee2Property>);
|
|
33
34
|
}
|
|
34
35
|
export default Employee2Property;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { DesignerAttachmentControl } from '../Attachment';
|
|
2
|
+
import { ImageProperty } from './property';
|
|
2
3
|
import { Schema, SettingOption } from '@byteluck-fe/model-driven-core';
|
|
3
4
|
import { FieldTypes } from '@byteluck-fe/model-driven-shared';
|
|
4
5
|
declare class ImageControl extends DesignerAttachmentControl {
|
|
@@ -7,6 +8,7 @@ declare class ImageControl extends DesignerAttachmentControl {
|
|
|
7
8
|
static get controlType(): string;
|
|
8
9
|
static controlFieldType: FieldTypes;
|
|
9
10
|
static readonly setting: SettingOption[];
|
|
11
|
+
props: ImageProperty;
|
|
10
12
|
constructor(props?: Partial<Schema<'image'>>);
|
|
11
13
|
}
|
|
12
14
|
export default ImageControl;
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { AttachmentProperty } from '../Attachment';
|
|
2
2
|
declare class ImageProperty extends AttachmentProperty {
|
|
3
|
+
compressTypeCode: string;
|
|
4
|
+
compressRatio: number;
|
|
5
|
+
maxPixel: number;
|
|
3
6
|
constructor(props?: Partial<ImageProperty>);
|
|
4
7
|
}
|
|
5
8
|
export default ImageProperty;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { RuntimeAttachmentControl } from '../Attachment';
|
|
2
2
|
import { Schema } from '@byteluck-fe/model-driven-core';
|
|
3
|
+
import { ImageProperty } from './property';
|
|
3
4
|
declare class ImageControl extends RuntimeAttachmentControl {
|
|
4
5
|
static get controlType(): string;
|
|
6
|
+
props: ImageProperty;
|
|
5
7
|
constructor(props?: Partial<Schema<'attachment'>>);
|
|
6
8
|
}
|
|
7
9
|
export default ImageControl;
|
|
@@ -51,6 +51,23 @@ declare class InputProperty extends BaseControlProperty {
|
|
|
51
51
|
* @public
|
|
52
52
|
*/
|
|
53
53
|
encryptedMode: string;
|
|
54
|
+
/**
|
|
55
|
+
* ai 显示内容搜索 false | true
|
|
56
|
+
* @defaultValue false
|
|
57
|
+
* @public
|
|
58
|
+
*/
|
|
59
|
+
aiContentSearch: boolean;
|
|
60
|
+
/**
|
|
61
|
+
* 在明细子表中自动高度
|
|
62
|
+
* @defaultValue false
|
|
63
|
+
*/
|
|
64
|
+
autoHeight: boolean;
|
|
65
|
+
/**
|
|
66
|
+
* 在明细子表中行数设置
|
|
67
|
+
* @defaultValue 1
|
|
68
|
+
* @public
|
|
69
|
+
*/
|
|
70
|
+
lineEllipsis: number;
|
|
54
71
|
constructor(props?: Partial<InputProperty>);
|
|
55
72
|
}
|
|
56
73
|
export default InputProperty;
|
|
@@ -16,6 +16,12 @@ declare class RadioProperty extends BaseControlProperty {
|
|
|
16
16
|
interreaction: [];
|
|
17
17
|
defaultValue: string;
|
|
18
18
|
openMultistageFilling: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* ai 显示内容搜索 false | true
|
|
21
|
+
* @defaultValue false
|
|
22
|
+
* @public
|
|
23
|
+
*/
|
|
24
|
+
aiContentSearch: boolean;
|
|
19
25
|
constructor(props?: Partial<RadioProperty>);
|
|
20
26
|
}
|
|
21
27
|
export default RadioProperty;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { RuleItem } from 'async-validator';
|
|
2
|
-
import { BaseControlProperty, BaseControlPropertyRules, BaseControlPropertyRuntimeRules } from '@byteluck-fe/model-driven-core';
|
|
2
|
+
import { BaseControlProperty, BaseControlPropertyRules, BaseControlPropertyRuntimeRules, AiOptionSetting } from '@byteluck-fe/model-driven-core';
|
|
3
3
|
declare class RichTextControlPropertyRules extends BaseControlPropertyRules {
|
|
4
4
|
maxLength: RuleItem;
|
|
5
5
|
minLength: RuleItem;
|
|
@@ -15,6 +15,35 @@ declare class RichTextProperty extends BaseControlProperty {
|
|
|
15
15
|
maxLength: number;
|
|
16
16
|
minLength: number;
|
|
17
17
|
defaultValue: string;
|
|
18
|
+
/**
|
|
19
|
+
* ai 显示内容搜索 false | true
|
|
20
|
+
* @defaultValue false
|
|
21
|
+
* @public
|
|
22
|
+
*/
|
|
23
|
+
aiContentSearch: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* ai 生成 false | true
|
|
26
|
+
* @defaultValue false
|
|
27
|
+
* @public
|
|
28
|
+
*/
|
|
29
|
+
aiGeneration: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* ai 生成对应的总结、丰富、翻译等options
|
|
32
|
+
* @defaultValue []
|
|
33
|
+
* @public
|
|
34
|
+
*/
|
|
35
|
+
aiOptions: AiOptionSetting[];
|
|
36
|
+
/**
|
|
37
|
+
* 在明细子表中自动高度
|
|
38
|
+
* @defaultValue false
|
|
39
|
+
*/
|
|
40
|
+
autoHeight: boolean;
|
|
41
|
+
/**
|
|
42
|
+
* 在明细子表中行数设置
|
|
43
|
+
* @defaultValue 1
|
|
44
|
+
* @public
|
|
45
|
+
*/
|
|
46
|
+
lineEllipsis: number;
|
|
18
47
|
constructor(props?: Partial<RichTextProperty>);
|
|
19
48
|
}
|
|
20
49
|
export default RichTextProperty;
|
|
@@ -16,6 +16,7 @@ declare class SearchDateRangeProperty extends BaseControlProperty {
|
|
|
16
16
|
setValueType: 'custom' | 'now';
|
|
17
17
|
defaultValue: string[];
|
|
18
18
|
limitDateList: Array<LimitDate>;
|
|
19
|
+
isInternational: boolean;
|
|
19
20
|
constructor(props?: Partial<SearchDateRangeProperty>);
|
|
20
21
|
}
|
|
21
22
|
export default SearchDateRangeProperty;
|
|
@@ -31,6 +31,12 @@ declare class SelectProperty extends BaseControlProperty {
|
|
|
31
31
|
* @public
|
|
32
32
|
*/
|
|
33
33
|
formBind?: FormBind;
|
|
34
|
+
/**
|
|
35
|
+
* ai 显示内容搜索 false | true
|
|
36
|
+
* @defaultValue false
|
|
37
|
+
* @public
|
|
38
|
+
*/
|
|
39
|
+
aiContentSearch: boolean;
|
|
34
40
|
constructor(props?: Partial<SelectProperty>);
|
|
35
41
|
}
|
|
36
42
|
export default SelectProperty;
|
|
@@ -34,6 +34,12 @@ declare class SelectMultipleProperty extends BaseControlProperty {
|
|
|
34
34
|
* @public
|
|
35
35
|
*/
|
|
36
36
|
formBind?: FormBind;
|
|
37
|
+
/**
|
|
38
|
+
* ai 显示内容搜索 false | true
|
|
39
|
+
* @defaultValue false
|
|
40
|
+
* @public
|
|
41
|
+
*/
|
|
42
|
+
aiContentSearch: boolean;
|
|
37
43
|
constructor(props?: Partial<SelectMultipleProperty>);
|
|
38
44
|
}
|
|
39
45
|
export default SelectMultipleProperty;
|
|
@@ -73,6 +73,12 @@ declare class SelectRelationProperty extends BaseControlProperty {
|
|
|
73
73
|
selectedContentConfig: SelectedContentConfig;
|
|
74
74
|
optionDisplayConfig: OptionDisplayConfigItem[];
|
|
75
75
|
canSearch: boolean;
|
|
76
|
+
/**
|
|
77
|
+
* ai 显示内容搜索 false | true
|
|
78
|
+
* @defaultValue false
|
|
79
|
+
* @public
|
|
80
|
+
*/
|
|
81
|
+
aiContentSearch: boolean;
|
|
76
82
|
defaultShowOptions: boolean;
|
|
77
83
|
constructor(props?: Partial<SelectRelationProperty>);
|
|
78
84
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { RuleItem } from 'async-validator';
|
|
2
|
-
import { BaseControlProperty, BaseControlPropertyRules, MetaRowHeight, BaseControlPropertyRuntimeRules } from '@byteluck-fe/model-driven-core';
|
|
2
|
+
import { BaseControlProperty, BaseControlPropertyRules, MetaRowHeight, BaseControlPropertyRuntimeRules, AiOptionSetting } from '@byteluck-fe/model-driven-core';
|
|
3
3
|
declare class TextareaControlPropertyRules extends BaseControlPropertyRules {
|
|
4
4
|
maxLength: RuleItem;
|
|
5
5
|
minLength: RuleItem;
|
|
@@ -40,6 +40,35 @@ declare class TextareaProperty extends BaseControlProperty {
|
|
|
40
40
|
* @public
|
|
41
41
|
*/
|
|
42
42
|
rowHeightSetting: MetaRowHeight;
|
|
43
|
+
/**
|
|
44
|
+
* ai 显示内容搜索 false | true
|
|
45
|
+
* @defaultValue false
|
|
46
|
+
* @public
|
|
47
|
+
*/
|
|
48
|
+
aiContentSearch: boolean;
|
|
49
|
+
/**
|
|
50
|
+
* ai 生成 false | true
|
|
51
|
+
* @defaultValue false
|
|
52
|
+
* @public
|
|
53
|
+
*/
|
|
54
|
+
aiGeneration: boolean;
|
|
55
|
+
/**
|
|
56
|
+
* ai 生成options
|
|
57
|
+
* @defaultValue []
|
|
58
|
+
* @public
|
|
59
|
+
*/
|
|
60
|
+
aiOptions: AiOptionSetting[];
|
|
61
|
+
/**
|
|
62
|
+
* 在明细子表中自动高度
|
|
63
|
+
* @defaultValue false
|
|
64
|
+
*/
|
|
65
|
+
autoHeight: boolean;
|
|
66
|
+
/**
|
|
67
|
+
* 在明细子表中行数设置
|
|
68
|
+
* @defaultValue 1
|
|
69
|
+
* @public
|
|
70
|
+
*/
|
|
71
|
+
lineEllipsis: number;
|
|
43
72
|
constructor(props?: Partial<TextareaProperty>);
|
|
44
73
|
}
|
|
45
74
|
export default TextareaProperty;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { DesignerLayoutControl, SettingOption } from '@byteluck-fe/model-driven-core';
|
|
2
|
+
import StepControlProperty from './property';
|
|
3
|
+
declare class StepControl extends DesignerLayoutControl {
|
|
4
|
+
static get controlName(): string;
|
|
5
|
+
static get controlType(): string;
|
|
6
|
+
static get controlIcon(): string;
|
|
7
|
+
static excludes: never[];
|
|
8
|
+
static readonly controlEventKeys: string[];
|
|
9
|
+
static setting: SettingOption[];
|
|
10
|
+
props: StepControlProperty;
|
|
11
|
+
constructor(props?: any);
|
|
12
|
+
}
|
|
13
|
+
export default StepControl;
|
|
14
|
+
export { StepControl as DesignerStepsControl };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import Designer from './designer';
|
|
2
|
+
import Runtime from './runtime';
|
|
3
|
+
import Property from './property';
|
|
4
|
+
declare const _default: {
|
|
5
|
+
Designer: typeof Designer;
|
|
6
|
+
Runtime: typeof Runtime;
|
|
7
|
+
Property: typeof Property;
|
|
8
|
+
};
|
|
9
|
+
export default _default;
|
|
10
|
+
export * from './designer';
|
|
11
|
+
export * from './runtime';
|
|
12
|
+
export * from './property';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { LayoutControlProperty } from '@byteluck-fe/model-driven-core';
|
|
2
|
+
declare class StepControlProperty extends LayoutControlProperty {
|
|
3
|
+
direction: 'horizontal' | 'vertical';
|
|
4
|
+
labelPlacement: 'horizontal' | 'vertical';
|
|
5
|
+
size: 'small' | 'default' | 'large';
|
|
6
|
+
type: 'default' | 'navigation';
|
|
7
|
+
isSticky: boolean;
|
|
8
|
+
constructor(props?: Partial<StepControlProperty>);
|
|
9
|
+
}
|
|
10
|
+
export default StepControlProperty;
|
|
11
|
+
export { StepControlProperty };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { RuntimeLayoutControl } from '@byteluck-fe/model-driven-core';
|
|
2
|
+
import StepControlProperty from './property';
|
|
3
|
+
declare class StepControl extends RuntimeLayoutControl {
|
|
4
|
+
static get controlType(): string;
|
|
5
|
+
props: StepControlProperty;
|
|
6
|
+
constructor(props?: any);
|
|
7
|
+
}
|
|
8
|
+
export default StepControl;
|
|
9
|
+
export { StepControl as RuntimeStepControl };
|
|
File without changes
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { CONTROL_TYPE } from '@byteluck-fe/model-driven-shared';
|
|
2
|
+
import { DesignerLayoutControl, SettingOption } from '@byteluck-fe/model-driven-core';
|
|
3
|
+
import StepPaneControlProperty from './property';
|
|
4
|
+
declare class StepPaneControl extends DesignerLayoutControl {
|
|
5
|
+
static get controlName(): string;
|
|
6
|
+
static get controlType(): string;
|
|
7
|
+
static get controlIcon(): string;
|
|
8
|
+
static excludes: CONTROL_TYPE[];
|
|
9
|
+
static setting: SettingOption[];
|
|
10
|
+
props: StepPaneControlProperty;
|
|
11
|
+
constructor(props?: any);
|
|
12
|
+
}
|
|
13
|
+
export default StepPaneControl;
|
|
14
|
+
export { StepPaneControl as DesignerStepPaneControl };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import Designer from './designer';
|
|
2
|
+
import Runtime from './runtime';
|
|
3
|
+
import Property from './property';
|
|
4
|
+
declare const _default: {
|
|
5
|
+
Designer: typeof Designer;
|
|
6
|
+
Runtime: typeof Runtime;
|
|
7
|
+
Property: typeof Property;
|
|
8
|
+
};
|
|
9
|
+
export default _default;
|
|
10
|
+
export * from './designer';
|
|
11
|
+
export * from './runtime';
|
|
12
|
+
export * from './property';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { LayoutControlProperty } from '@byteluck-fe/model-driven-core';
|
|
2
|
+
declare class StepPaneControlProperty extends LayoutControlProperty {
|
|
3
|
+
title: string;
|
|
4
|
+
subTitle?: string;
|
|
5
|
+
disabled: boolean;
|
|
6
|
+
icon: string;
|
|
7
|
+
color: string;
|
|
8
|
+
status: 'wait' | 'process' | 'finish' | 'error';
|
|
9
|
+
description?: string;
|
|
10
|
+
isDefault?: boolean;
|
|
11
|
+
constructor(props?: Partial<StepPaneControlProperty>);
|
|
12
|
+
}
|
|
13
|
+
export default StepPaneControlProperty;
|
|
14
|
+
export { StepPaneControlProperty, };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { RuntimeLayoutControl } from '@byteluck-fe/model-driven-core';
|
|
2
|
+
import StepPaneControlProperty from './property';
|
|
3
|
+
declare class StepPaneControl extends RuntimeLayoutControl {
|
|
4
|
+
static get controlType(): string;
|
|
5
|
+
props: StepPaneControlProperty;
|
|
6
|
+
constructor(props?: any);
|
|
7
|
+
}
|
|
8
|
+
export default StepPaneControl;
|
|
9
|
+
export { StepPaneControl as RuntimeStepPaneControl };
|
|
File without changes
|
|
@@ -17,3 +17,5 @@ export { default as AdvancedContainer } from './AdvancedContainer';
|
|
|
17
17
|
export { default as PositioningContainer } from './PositioningContainer';
|
|
18
18
|
export { default as Position } from './Position';
|
|
19
19
|
export { default as ActionBar } from './ActionBar';
|
|
20
|
+
export { default as Step } from './Step';
|
|
21
|
+
export { default as StepPane } from './StepPane';
|
|
@@ -202,6 +202,7 @@ declare class SubTableControlProperty<Mode extends MODE | 'Schema', Control exte
|
|
|
202
202
|
* 排序or筛选字段
|
|
203
203
|
* */
|
|
204
204
|
sortKey: Record<string, 'asc' | 'desc'>;
|
|
205
|
+
showTableIndex: Boolean;
|
|
205
206
|
constructor(parent: DesignerSubTableControl | RuntimeSubTableControl, props?: Partial<SubTableControlProperty<Mode> & {
|
|
206
207
|
headers: Control[];
|
|
207
208
|
footers?: Control[];
|
package/dist/types/type.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Divider, Text, Link, Button, Title, CreateFormListButton, BatchSubmissionListButton, SubmissionRecordListButton, ImportRecordListButton, ExportRecordListButton, ExportListButton, FormSelectButton, ListSelectButton, Pagination, Dashboard, ListViewSelect, TextOcrButton, InvoiceCheckButton, BatchPrintListButton, BatchPrintRecordListButton, OperationButton, ReferenceList } from './baseControls';
|
|
2
2
|
import { Address, Amount, Attachment, AutoNumber, Checkbox, DatePicker, DateRange, Department, Employee, Image, Input, Number, Radio, Score, Select, SelectMultiple, Textarea, RichText, Calc, SearchNumberRange, SearchDateRange, SearchInput, VueFormItem, SelectRelation, Tree, Employee2, ElectronicSignature, WPS, Department2, OrganizationSelection, VuePage } from './formControls';
|
|
3
|
-
import { CardGroup, Col, Grid, GridRow, Row, SubTableColumn, SubTableRow, GridTableColumn, GridLayoutContainer, Tab, TabPane, Toolbox, ListView, DataView, Page, AdvancedContainer, PositioningContainer, Position, ActionBar } from './layoutControls';
|
|
3
|
+
import { CardGroup, Col, Grid, GridRow, Row, SubTableColumn, SubTableRow, GridTableColumn, GridLayoutContainer, Tab, TabPane, Toolbox, ListView, DataView, Page, AdvancedContainer, PositioningContainer, Position, ActionBar, Step, StepPane } from './layoutControls';
|
|
4
4
|
import { SubTable, GridTable } from './listControls';
|
|
5
5
|
import { VarcharColumn, TextColumn, DecimalColumn, TimescopeColumn, TimestampColumn, ArrayColumn, DepartmentColumn, AutoNumberColumn, FileColumn, ImageColumn, PeopleColumn, LocationColumn, CustomColumn, OrderColumn, OperationColumn, EmployeeColumn, ApprovalStatusColumn } from './columnControls';
|
|
6
6
|
import { SimpleSearch } from './searchControls';
|
|
@@ -83,6 +83,8 @@ declare module '@byteluck-fe/model-driven-core' {
|
|
|
83
83
|
'positioning-container': typeof PositioningContainer;
|
|
84
84
|
position: typeof Position;
|
|
85
85
|
'action-bar': typeof ActionBar;
|
|
86
|
+
step: typeof Step;
|
|
87
|
+
'step-pane': typeof StepPane;
|
|
86
88
|
}
|
|
87
89
|
interface ListControls {
|
|
88
90
|
subtable: typeof SubTable;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@byteluck-fe/model-driven-controls",
|
|
3
|
-
"version": "5.6.
|
|
3
|
+
"version": "5.6.4-dpx-beta.1",
|
|
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": "
|
|
30
|
-
"@byteluck-fe/model-driven-settings": "
|
|
31
|
-
"@byteluck-fe/model-driven-shared": "
|
|
29
|
+
"@byteluck-fe/model-driven-core": "6.1.0-2-beta.1",
|
|
30
|
+
"@byteluck-fe/model-driven-settings": "6.1.0-2-beta.1",
|
|
31
|
+
"@byteluck-fe/model-driven-shared": "6.1.0-1-beta.4",
|
|
32
32
|
"async-validator": "3.5.1"
|
|
33
33
|
},
|
|
34
|
-
"gitHead": "
|
|
34
|
+
"gitHead": "3f1fb5a9b521bf2bfc243da1baa891b4551d4938"
|
|
35
35
|
}
|