@byteluck-fe/model-driven-controls 7.0.0-props.6 → 7.0.0-props.8

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.
Files changed (144) hide show
  1. package/dist/esm/baseControls/BatchDeleteButton/property.js +10 -18
  2. package/dist/esm/baseControls/BatchPrintListButton/property.js +6 -9
  3. package/dist/esm/baseControls/BatchPrintRecordListButton/property.js +3 -4
  4. package/dist/esm/baseControls/BatchSubmissionListButton/property.js +7 -12
  5. package/dist/esm/baseControls/Button/property.js +10 -18
  6. package/dist/esm/baseControls/Comment/property.js +2 -2
  7. package/dist/esm/baseControls/CreateFormListButton/property.js +5 -8
  8. package/dist/esm/baseControls/Dashboard/property.js +9 -16
  9. package/dist/esm/baseControls/Divider/designer.js +33 -1
  10. package/dist/esm/baseControls/Divider/property.js +12 -7
  11. package/dist/esm/baseControls/ExportListButton/property.js +6 -9
  12. package/dist/esm/baseControls/ExportRecordListButton/property.js +3 -4
  13. package/dist/esm/baseControls/FormSelectButton/property.js +4 -6
  14. package/dist/esm/baseControls/ImportRecordListButton/property.js +6 -9
  15. package/dist/esm/baseControls/InvoiceCheckButton/property.js +11 -19
  16. package/dist/esm/baseControls/Link/designer.js +33 -0
  17. package/dist/esm/baseControls/Link/property.js +9 -7
  18. package/dist/esm/baseControls/ListSelectButton/property.js +6 -10
  19. package/dist/esm/baseControls/ListViewSelect/property.js +4 -5
  20. package/dist/esm/baseControls/OperationButton/property.js +7 -12
  21. package/dist/esm/baseControls/ReferenceList/property.js +7 -12
  22. package/dist/esm/baseControls/SubmissionRecordListButton/property.js +3 -4
  23. package/dist/esm/baseControls/Text/designer.js +8 -0
  24. package/dist/esm/baseControls/Text/property.js +18 -13
  25. package/dist/esm/baseControls/TextOcrButton/property.js +11 -19
  26. package/dist/esm/baseControls/Title/property.js +4 -6
  27. package/dist/esm/columnControls/ApprovalStatusColumn/property.js +4 -6
  28. package/dist/esm/columnControls/ArrayColumn/property.js +5 -8
  29. package/dist/esm/columnControls/AutoNumberColumn/property.js +3 -4
  30. package/dist/esm/columnControls/CustomColumn/property.js +4 -6
  31. package/dist/esm/columnControls/DecimalColumn/property.js +8 -14
  32. package/dist/esm/columnControls/DepartmentColumn/property.js +3 -4
  33. package/dist/esm/columnControls/EmployeeColumn/property.js +3 -4
  34. package/dist/esm/columnControls/FileColumn/property.js +3 -4
  35. package/dist/esm/columnControls/GroupColumn/designer.js +2 -1
  36. package/dist/esm/columnControls/GroupColumn/property.js +2 -2
  37. package/dist/esm/columnControls/ImageColumn/property.js +2 -2
  38. package/dist/esm/columnControls/LocationColumn/property.js +3 -4
  39. package/dist/esm/columnControls/OperationColumn/designer.js +12 -4
  40. package/dist/esm/columnControls/OperationColumn/property.js +6 -10
  41. package/dist/esm/columnControls/OrderColumn/property.js +7 -12
  42. package/dist/esm/columnControls/PeopleColumn/property.js +2 -2
  43. package/dist/esm/columnControls/TextColumn/property.js +5 -8
  44. package/dist/esm/columnControls/TimescopeColumn/property.js +5 -8
  45. package/dist/esm/columnControls/TimestampColumn/property.js +5 -8
  46. package/dist/esm/columnControls/VarcharColumn/property.js +7 -12
  47. package/dist/esm/formControls/Address/property.js +6 -10
  48. package/dist/esm/formControls/Amount/property.js +13 -24
  49. package/dist/esm/formControls/Attachment/property.js +26 -42
  50. package/dist/esm/formControls/AutoNumber/property.js +4 -6
  51. package/dist/esm/formControls/Calc/property.js +10 -18
  52. package/dist/esm/formControls/Cascader/property.js +17 -31
  53. package/dist/esm/formControls/Checkbox/property.js +18 -33
  54. package/dist/esm/formControls/DatePicker/designer.js +4 -0
  55. package/dist/esm/formControls/DatePicker/property.js +19 -25
  56. package/dist/esm/formControls/DateRange/property.js +13 -23
  57. package/dist/esm/formControls/Department/property.js +12 -22
  58. package/dist/esm/formControls/Department2/designer.js +8 -0
  59. package/dist/esm/formControls/Department2/property.js +29 -34
  60. package/dist/esm/formControls/ElectronicSignature/property.js +7 -12
  61. package/dist/esm/formControls/Employee/property.js +10 -18
  62. package/dist/esm/formControls/Employee2/designer.js +4 -0
  63. package/dist/esm/formControls/Employee2/property.js +19 -33
  64. package/dist/esm/formControls/Image/designer.js +8 -8
  65. package/dist/esm/formControls/Image/property.js +8 -14
  66. package/dist/esm/formControls/Input/property.js +11 -20
  67. package/dist/esm/formControls/Number/property.js +17 -32
  68. package/dist/esm/formControls/OrganizationSelection/property.js +19 -36
  69. package/dist/esm/formControls/Radio/property.js +15 -28
  70. package/dist/esm/formControls/RichText/designer.js +8 -0
  71. package/dist/esm/formControls/RichText/property.js +51 -21
  72. package/dist/esm/formControls/Score/property.js +11 -19
  73. package/dist/esm/formControls/SearchDateRange/property.js +14 -25
  74. package/dist/esm/formControls/SearchNumberRange/property.js +7 -12
  75. package/dist/esm/formControls/Select/property.js +14 -26
  76. package/dist/esm/formControls/SelectMultiple/property.js +13 -24
  77. package/dist/esm/formControls/SelectRelation/property.js +14 -26
  78. package/dist/esm/formControls/Textarea/property.js +11 -20
  79. package/dist/esm/formControls/TimePicker/property.js +8 -13
  80. package/dist/esm/formControls/TimeRange/property.js +10 -17
  81. package/dist/esm/formControls/Tree/designer.js +2 -1
  82. package/dist/esm/formControls/Tree/property.js +44 -38
  83. package/dist/esm/formControls/VueFormItem/property.js +6 -10
  84. package/dist/esm/formControls/VuePage/property.js +6 -10
  85. package/dist/esm/formControls/WPS/designer.js +9 -9
  86. package/dist/esm/formControls/WPS/property.js +13 -24
  87. package/dist/esm/framework.js +81 -121
  88. package/dist/esm/layoutControls/ActionBar/designer.js +2 -2
  89. package/dist/esm/layoutControls/ActionBar/property.js +4 -6
  90. package/dist/esm/layoutControls/ActionBar/runtime.js +2 -2
  91. package/dist/esm/layoutControls/CardGroup/property.js +11 -20
  92. package/dist/esm/layoutControls/Col/property.js +4 -6
  93. package/dist/esm/layoutControls/Collapse/designer.js +2 -2
  94. package/dist/esm/layoutControls/Collapse/property.js +4 -6
  95. package/dist/esm/layoutControls/CollapsePane/property.js +2 -2
  96. package/dist/esm/layoutControls/DataView/property.js +12 -13
  97. package/dist/esm/layoutControls/GridLayoutContainer/property.js +3 -4
  98. package/dist/esm/layoutControls/GridTableColumn/property.js +11 -20
  99. package/dist/esm/layoutControls/ListView/property.js +15 -28
  100. package/dist/esm/layoutControls/Page/property.js +2 -2
  101. package/dist/esm/layoutControls/Position/property.js +5 -8
  102. package/dist/esm/layoutControls/Row/property.js +6 -10
  103. package/dist/esm/layoutControls/Step/designer.js +2 -2
  104. package/dist/esm/layoutControls/Step/property.js +12 -22
  105. package/dist/esm/layoutControls/StepPane/property.js +9 -16
  106. package/dist/esm/layoutControls/SubTableColumn/property.js +6 -10
  107. package/dist/esm/layoutControls/Tab/designer.js +2 -2
  108. package/dist/esm/layoutControls/Tab/property.js +6 -10
  109. package/dist/esm/layoutControls/TabPane/property.js +2 -2
  110. package/dist/esm/layoutControls/TableLayout/designer.js +6 -1
  111. package/dist/esm/layoutControls/TableLayout/property.js +18 -29
  112. package/dist/esm/layoutControls/TableLayoutCol/property.js +11 -20
  113. package/dist/esm/layoutControls/TableLayoutRow/property.js +3 -4
  114. package/dist/esm/layoutControls/TableLayoutWrapper/property.js +4 -6
  115. package/dist/esm/listControls/GridTable/designer.js +12 -4
  116. package/dist/esm/listControls/GridTable/property.js +15 -19
  117. package/dist/esm/listControls/SubTable/property.js +36 -70
  118. package/dist/esm/searchControls/SimpleSearch/property.js +13 -24
  119. package/dist/esm/searchControls/SimpleSearch/runtime.js +2 -2
  120. package/dist/esm/wrapControls/GridLayoutWrap/designer.js +8 -8
  121. package/dist/esm/wrapControls/GridLayoutWrap/property.js +2 -2
  122. package/dist/esm/wrapControls/GridLayoutWrap/runtime.js +8 -8
  123. package/dist/index.umd.js +1 -1
  124. package/dist/types/baseControls/Divider/property.d.ts +28 -1
  125. package/dist/types/baseControls/Link/property.d.ts +8 -0
  126. package/dist/types/baseControls/Text/property.d.ts +29 -0
  127. package/dist/types/baseControls/index.d.ts +0 -24
  128. package/dist/types/columnControls/GroupColumn/designer.d.ts +1 -1
  129. package/dist/types/columnControls/index.d.ts +0 -18
  130. package/dist/types/formControls/DatePicker/property.d.ts +4 -0
  131. package/dist/types/formControls/Department2/property.d.ts +14 -1
  132. package/dist/types/formControls/Employee2/property.d.ts +2 -0
  133. package/dist/types/formControls/RichText/property.d.ts +4 -0
  134. package/dist/types/formControls/Tree/property.d.ts +31 -0
  135. package/dist/types/formControls/index.d.ts +0 -34
  136. package/dist/types/framework.d.ts +6 -0
  137. package/dist/types/layoutControls/DataView/property.d.ts +5 -0
  138. package/dist/types/layoutControls/TableLayout/property.d.ts +2 -0
  139. package/dist/types/layoutControls/TableLayoutCol/property.d.ts +5 -5
  140. package/dist/types/layoutControls/index.d.ts +0 -27
  141. package/dist/types/listControls/index.d.ts +0 -2
  142. package/dist/types/searchControls/index.d.ts +0 -1
  143. package/dist/types/wrapControls/index.d.ts +0 -1
  144. package/package.json +5 -5
@@ -1,12 +1,39 @@
1
1
  import { Property, PropertyInterface } from '@byteluck-fe/model-driven-core';
2
- import { LINE_STYLE } from '../../framework';
2
+ import { LINE_STYLE, FONT_WEIGHT } from '../../framework';
3
3
  interface DividerPropertyInterface extends PropertyInterface {
4
4
  color: string;
5
5
  lineStyle: LINE_STYLE;
6
+ content: string;
7
+ position: 'left' | 'center' | 'right';
8
+ /**
9
+ * 标题大小
10
+ * @defaultValue ''
11
+ * @public
12
+ */
13
+ captionSize: string;
14
+ /**
15
+ * 标题颜色
16
+ * @defaultValue ''
17
+ * @public
18
+ */
19
+ captionColor: string;
20
+ /**
21
+ * 标题斜体
22
+ * @defaultValue false
23
+ * @public
24
+ */
25
+ isCaptionItalic: boolean;
26
+ captionFontWeight: FONT_WEIGHT;
6
27
  }
7
28
  declare class DividerProperty extends Property implements DividerPropertyInterface {
8
29
  color: string;
9
30
  lineStyle: LINE_STYLE;
31
+ content: string;
32
+ position: 'left' | 'center' | 'right';
33
+ captionSize: string;
34
+ captionColor: string;
35
+ isCaptionItalic: boolean;
36
+ captionFontWeight: FONT_WEIGHT;
10
37
  constructor(props?: Partial<DividerProperty>);
11
38
  }
12
39
  export default DividerProperty;
@@ -1,12 +1,20 @@
1
1
  import { Property, PropertyInterface } from '@byteluck-fe/model-driven-core';
2
2
  interface LinkPropertyInterface extends PropertyInterface {
3
3
  content: string;
4
+ description: string;
4
5
  url: string;
6
+ position: 'left' | 'center' | 'right';
7
+ scriptType: 'dynamic' | 'js';
8
+ scriptContent: string;
5
9
  openMode: 'new' | 'current';
6
10
  }
7
11
  declare class LinkProperty extends Property implements LinkPropertyInterface {
8
12
  content: string;
9
13
  url: string;
14
+ description: string;
15
+ position: 'left' | 'center' | 'right';
16
+ scriptType: 'dynamic' | 'js';
17
+ scriptContent: string;
10
18
  openMode: 'new' | 'current';
11
19
  constructor(props?: Partial<LinkProperty>);
12
20
  }
@@ -1,7 +1,22 @@
1
1
  import { Property, PropertyInterface } from '@byteluck-fe/model-driven-core';
2
+ interface BackgroundProperty {
3
+ type: 'backgroundColor' | 'backgroundImage';
4
+ backgroundColor: string;
5
+ backgroundImage: string;
6
+ placementMode: string;
7
+ }
8
+ interface closeProperty {
9
+ show: boolean;
10
+ text: string;
11
+ }
2
12
  interface TextPropertyInterface extends PropertyInterface {
3
13
  content: string;
4
14
  icon: string;
15
+ /**
16
+ * 位置对齐
17
+ * @defaultValue 'left'
18
+ * @public
19
+ */
5
20
  align: string;
6
21
  showState: 'text' | 'imageText' | 'image';
7
22
  /**
@@ -29,6 +44,18 @@ interface TextPropertyInterface extends PropertyInterface {
29
44
  */
30
45
  aiContentSearch: boolean;
31
46
  isLabel: boolean;
47
+ /**
48
+ * 关闭配置
49
+ * @defaultValue
50
+ * @public
51
+ */
52
+ close: closeProperty;
53
+ /**
54
+ * 背景
55
+ * @defaultValue '关闭'
56
+ * @public
57
+ */
58
+ background: BackgroundProperty;
32
59
  }
33
60
  declare class TextProperty extends Property implements TextPropertyInterface {
34
61
  content: string;
@@ -40,6 +67,8 @@ declare class TextProperty extends Property implements TextPropertyInterface {
40
67
  isCaptionItalic: boolean;
41
68
  aiContentSearch: boolean;
42
69
  isLabel: boolean;
70
+ close: closeProperty;
71
+ background: BackgroundProperty;
43
72
  constructor(props?: Partial<TextProperty>);
44
73
  }
45
74
  export default TextProperty;
@@ -1,48 +1,24 @@
1
1
  export { default as Text } from './Text';
2
- export type { TextPropertyInterface } from './Text';
3
2
  export { default as Link } from './Link';
4
- export type { LinkPropertyInterface } from './Link';
5
3
  export { default as Button } from './Button';
6
- export type { ButtonPropertyInterface } from './Button';
7
4
  export { default as Divider } from './Divider';
8
- export type { DividerPropertyInterface } from './Divider';
9
5
  export { default as Title } from './Title';
10
- export type { TitlePropertyInterface } from './Title';
11
6
  export { default as CreateFormListButton } from './CreateFormListButton';
12
- export type { CreateFormListButtonPropertyInterface } from './CreateFormListButton';
13
7
  export { default as BatchSubmissionListButton } from './BatchSubmissionListButton';
14
- export type { BatchSubmissionListButtonPropertyInterface } from './BatchSubmissionListButton';
15
8
  export { default as SubmissionRecordListButton } from './SubmissionRecordListButton';
16
- export type { SubmissionRecordListButtonPropertyInterface } from './SubmissionRecordListButton';
17
9
  export { default as ExportListButton } from './ExportListButton';
18
- export type { ExportListButtonPropertyInterface } from './ExportListButton';
19
10
  export { default as ExportRecordListButton } from './ExportRecordListButton';
20
- export type { ExportRecordListButtonPropertyInterface } from './ExportRecordListButton';
21
11
  export { default as ImportRecordListButton } from './ImportRecordListButton';
22
- export type { ImportRecordListButtonPropertyInterface } from './ImportRecordListButton';
23
12
  export { default as FormSelectButton } from './FormSelectButton';
24
- export type { FormSelectButtonPropertyInterface } from './FormSelectButton';
25
13
  export { default as ListSelectButton } from './ListSelectButton';
26
- export type { ListSelectButtonPropertyInterface } from './ListSelectButton';
27
14
  export { default as Pagination } from './Pagination';
28
- export type { PaginationPropertyInterface } from './Pagination';
29
15
  export { default as Dashboard } from './Dashboard';
30
- export type { DashboardPropertyInterface } from './Dashboard';
31
16
  export { default as ListViewSelect } from './ListViewSelect';
32
- export type { ListViewSelectPropertyInterface } from './ListViewSelect';
33
17
  export { default as TextOcrButton } from './TextOcrButton';
34
- export type { TextOcrButtonPropertyInterface } from './TextOcrButton';
35
18
  export { default as InvoiceCheckButton } from './InvoiceCheckButton';
36
- export type { InvoiceCheckButtonPropertyInterface } from './InvoiceCheckButton';
37
19
  export { default as BatchPrintListButton } from './BatchPrintListButton';
38
- export type { BatchPrintListButtonPropertyInterface } from './BatchPrintListButton';
39
20
  export { default as BatchPrintRecordListButton } from './BatchPrintRecordListButton';
40
- export type { BatchPrintRecordListButtonPropertyInterface } from './BatchPrintRecordListButton';
41
21
  export { default as OperationButton } from './OperationButton';
42
- export type { OperationButtonPropertyInterface } from './OperationButton';
43
22
  export { default as BatchDeleteButton } from './BatchDeleteButton';
44
- export type { BatchDeleteButtonPropertyInterface } from './BatchDeleteButton';
45
23
  export { default as ReferenceList } from './ReferenceList';
46
- export type { ReferenceListPropertyInterface } from './ReferenceList';
47
24
  export { default as CommentControl } from './Comment';
48
- export type { CommentPropertyInterface } from './Comment';
@@ -2,7 +2,7 @@ import { DesignerColumnControl, ColumnControlSchema, SettingOption } from '@byte
2
2
  import GroupColumnControlProperty from './property';
3
3
  declare class GroupColumnControl extends DesignerColumnControl {
4
4
  static readonly controlType = "group-column";
5
- static readonly controlName = "\u5408\u5E76\u5217";
5
+ static readonly controlName: string;
6
6
  static readonly controlIcon = "group-column";
7
7
  static setting: SettingOption[];
8
8
  readonly props: GroupColumnControlProperty;
@@ -1,36 +1,18 @@
1
1
  export { default as VarcharColumn } from './VarcharColumn';
2
- export type { VarcharColumnPropertyInterface } from './VarcharColumn';
3
2
  export { default as TextColumn } from './TextColumn';
4
- export type { TextColumnPropertyInterface } from './TextColumn';
5
3
  export { default as DecimalColumn } from './DecimalColumn';
6
- export type { DecimalColumnPropertyInterface } from './DecimalColumn';
7
4
  export { default as TimescopeColumn } from './TimescopeColumn';
8
- export type { TimescopeColumnPropertyInterface } from './TimescopeColumn';
9
5
  export { default as TimestampColumn } from './TimestampColumn';
10
- export type { TimestampColumnPropertyInterface } from './TimestampColumn';
11
6
  export { default as ArrayColumn } from './ArrayColumn';
12
- export type { ArrayColumnPropertyInterface } from './ArrayColumn';
13
7
  export { default as DepartmentColumn } from './DepartmentColumn';
14
- export type { DepartmentColumnPropertyInterface } from './DepartmentColumn';
15
8
  export { default as AutoNumberColumn } from './AutoNumberColumn';
16
- export type { AutoNumberColumnPropertyInterface } from './AutoNumberColumn';
17
9
  export { default as FileColumn } from './FileColumn';
18
- export type { FileColumnPropertyInterface } from './FileColumn';
19
10
  export { default as ImageColumn } from './ImageColumn';
20
- export type { ImageColumnPropertyInterface } from './ImageColumn';
21
11
  export { default as PeopleColumn } from './PeopleColumn';
22
- export type { PeopleColumnPropertyInterface } from './PeopleColumn';
23
12
  export { default as LocationColumn } from './LocationColumn';
24
- export type { LocationColumnPropertyInterface } from './LocationColumn';
25
13
  export { default as CustomColumn } from './CustomColumn';
26
- export type { CustomColumnPropertyInterface } from './CustomColumn';
27
14
  export { default as OrderColumn } from './OrderColumn';
28
- export type { OrderColumnPropertyInterface } from './OrderColumn';
29
15
  export { default as OperationColumn } from './OperationColumn';
30
- export type { OperationColumnPropertyInterface } from './OperationColumn';
31
16
  export { default as EmployeeColumn } from './EmployeeColumn';
32
- export type { EmployeeColumnPropertyInterface } from './EmployeeColumn';
33
17
  export { default as ApprovalStatusColumn } from './ApprovalStatusColumn';
34
- export type { ApprovalStatusColumnPropertyInterface } from './ApprovalStatusColumn';
35
18
  export { default as GroupColumn } from './GroupColumn';
36
- export type { GroupColumnPropertyInterface } from './GroupColumn';
@@ -15,6 +15,8 @@ interface DatePickerPropertyInterface extends BaseControlPropertyInterface {
15
15
  allowDateRange: string[];
16
16
  filterWeekend: boolean;
17
17
  isInternational: boolean;
18
+ isShowCustomDateFormat: boolean;
19
+ customDateFormat: string;
18
20
  }
19
21
  declare class DatePickerProperty extends BaseControlProperty implements DatePickerPropertyInterface {
20
22
  dateType: DateType;
@@ -26,6 +28,8 @@ declare class DatePickerProperty extends BaseControlProperty implements DatePick
26
28
  allowDateRange: string[];
27
29
  filterWeekend: boolean;
28
30
  isInternational: boolean;
31
+ isShowCustomDateFormat: boolean;
32
+ customDateFormat: string;
29
33
  constructor(props?: Partial<DatePickerProperty>);
30
34
  }
31
35
  export default DatePickerProperty;
@@ -1,4 +1,4 @@
1
- import { BaseControlProperty, BaseControlPropertyInterface, BaseControlPropertyRules, BaseControlPropertyRuntimeRules, MultistageFillingItem, SuperDataSourceBind } from '@byteluck-fe/model-driven-core';
1
+ import { BaseControlProperty, BaseControlPropertyInterface, BaseControlPropertyRules, BaseControlPropertyRuntimeRules, MultistageFillingItem, SuperDataSourceBind, FieldFilterCondition, FieldFilterConditions } from '@byteluck-fe/model-driven-core';
2
2
  import { RuleItem } from 'async-validator';
3
3
  declare class Department2PropertyRules extends BaseControlPropertyRules {
4
4
  datasourceBind: RuleItem[];
@@ -33,6 +33,10 @@ interface Department2PropertyInterface extends BaseControlPropertyInterface {
33
33
  * 默认值
34
34
  * */
35
35
  defaultValue: string[];
36
+ /**
37
+ * 存储值格式
38
+ */
39
+ valueFormat: 'id' | 'json';
36
40
  /**
37
41
  * 部门显示层级
38
42
  * */
@@ -49,6 +53,10 @@ interface Department2PropertyInterface extends BaseControlPropertyInterface {
49
53
  * 数据设置
50
54
  * */
51
55
  datasourceBind: SuperDataSourceBind;
56
+ /**
57
+ * 不可选中部门的配置条件
58
+ * */
59
+ disabledSelectedFilters?: Array<FieldFilterCondition | FieldFilterConditions>;
52
60
  /**
53
61
  * 数据类型 行政 or 业务
54
62
  * */
@@ -67,6 +75,7 @@ declare class Department2Property extends BaseControlProperty implements Departm
67
75
  multiple: boolean;
68
76
  rangeOptions: string[];
69
77
  defaultValue: string[];
78
+ valueFormat: 'id' | 'json';
70
79
  displayLevel: number;
71
80
  showSubDept: boolean;
72
81
  multistageFilling?: MultistageFillingItem[];
@@ -76,6 +85,10 @@ declare class Department2Property extends BaseControlProperty implements Departm
76
85
  businessScope: string[];
77
86
  openMultistageFilling: boolean;
78
87
  defaultShowOptions: boolean;
88
+ /**
89
+ * 不可选中部门的配置条件
90
+ * */
91
+ disabledSelectedFilters?: Array<FieldFilterCondition | FieldFilterConditions>;
79
92
  constructor(props?: Partial<Department2Property>);
80
93
  }
81
94
  export default Department2Property;
@@ -21,6 +21,7 @@ interface Employee2PropertyInterface extends BaseControlPropertyInterface {
21
21
  multiple: boolean;
22
22
  defaultValueType: 'none' | 'current' | 'assigned';
23
23
  defaultValue: string[];
24
+ valueFormat: 'id' | 'json';
24
25
  multistageFilling?: MultistageFillingItem[];
25
26
  datasourceBind: SuperDataSourceBind;
26
27
  datasourceType: string;
@@ -40,6 +41,7 @@ declare class Employee2Property extends BaseControlProperty implements Employee2
40
41
  multiple: boolean;
41
42
  defaultValueType: 'none' | 'current' | 'assigned';
42
43
  defaultValue: string[];
44
+ valueFormat: 'id' | 'json';
43
45
  multistageFilling?: MultistageFillingItem[];
44
46
  datasourceBind: SuperDataSourceBind;
45
47
  datasourceType: string;
@@ -12,6 +12,8 @@ declare class RichTextControlPropertyRuntimeRules extends BaseControlPropertyRun
12
12
  interface RichTextPropertyInterface extends BaseControlPropertyInterface {
13
13
  maxLength: number;
14
14
  minLength: number;
15
+ height: number;
16
+ toolbarOptions: Array<string>;
15
17
  defaultValue: string;
16
18
  /**
17
19
  * ai 显示内容搜索 false | true
@@ -48,6 +50,8 @@ declare class RichTextProperty extends BaseControlProperty implements RichTextPr
48
50
  static readonly RuntimeRules: typeof RichTextControlPropertyRuntimeRules;
49
51
  maxLength: number;
50
52
  minLength: number;
53
+ height: number;
54
+ toolbarOptions: Array<string>;
51
55
  defaultValue: string;
52
56
  aiContentSearch: boolean;
53
57
  aiGeneration: boolean;
@@ -1,5 +1,35 @@
1
1
  import { RuleItem } from 'async-validator';
2
2
  import { BaseControlProperty, BaseControlPropertyInterface, BaseControlPropertyRules, BaseControlPropertyRuntimeRules, MultistageFillingItem, TreeDataSourceBind } from '@byteluck-fe/model-driven-core';
3
+ interface DisplayBoListItem {
4
+ type: 'FIELD' | 'MOSAICS';
5
+ value: string;
6
+ fieldType: string;
7
+ }
8
+ export declare enum DataQueryTypeEnum {
9
+ EQ = 0,
10
+ GT = 1,
11
+ LT = 2,
12
+ IN = 3,
13
+ LIKE = 4,
14
+ RANGE = 5,
15
+ GE = 6,
16
+ LE = 7,
17
+ CONTAINS_ONE = 8,
18
+ CONCAT_LIKE = 9,
19
+ CONTAINS_IN_WITH_SUB_DEPT = 10,
20
+ NOT_EQ = 11,
21
+ CONCAT_NOT_EQ = 12,
22
+ IS_NULL = 13,
23
+ IS_NOT_NULL = 14,
24
+ EQ_FIELD = 15,
25
+ IS_NULL_OR_EQ_FIELD = 16,
26
+ NOT_EQ_FIELD = 17
27
+ }
28
+ interface TreeQueryProperty {
29
+ ctrl_value: string;
30
+ display_bo_list: Array<DisplayBoListItem>;
31
+ query_type: DataQueryTypeEnum;
32
+ }
3
33
  declare class TreePropertyRules extends BaseControlPropertyRules {
4
34
  datasourceBind: RuleItem[];
5
35
  constructor(props: TreeProperty);
@@ -48,6 +78,7 @@ declare class TreeProperty extends BaseControlProperty implements TreePropertyIn
48
78
  multistageFilling: MultistageFillingItem[];
49
79
  defaultValue: string[];
50
80
  openMultistageFilling: boolean;
81
+ treeQuery: Array<TreeQueryProperty>;
51
82
  constructor(props?: Partial<TreeProperty>);
52
83
  }
53
84
  export default TreeProperty;
@@ -1,68 +1,34 @@
1
1
  export { default as Input } from './Input';
2
- export type { InputPropertyInterface } from './Input';
3
2
  export { default as Checkbox } from './Checkbox';
4
- export type { CheckboxPropertyInterface } from './Checkbox';
5
3
  export { default as Cascader } from './Cascader';
6
- export type { CascaderPropertyInterface } from './Cascader';
7
4
  export { default as Radio } from './Radio';
8
- export type { RadioPropertyInterface } from './Radio';
9
5
  export { default as Number } from './Number';
10
- export type { NumberPropertyInterface } from './Number';
11
6
  export { default as DatePicker } from './DatePicker';
12
- export type { DatePickerPropertyInterface } from './DatePicker';
13
7
  export { default as DateRange } from './DateRange';
14
- export type { DateRangePropertyInterface } from './DateRange';
15
8
  export { default as TimePicker } from './TimePicker';
16
- export type { TimePickerPropertyInterface } from './TimePicker';
17
9
  export { default as TimeRange } from './TimeRange';
18
- export type { TimeRangePropertyInterface } from './TimeRange';
19
10
  export { default as Textarea } from './Textarea';
20
- export type { TextareaPropertyInterface } from './Textarea';
21
11
  export { default as RichText } from './RichText';
22
- export type { RichTextPropertyInterface } from './RichText';
23
12
  export { default as Select } from './Select';
24
- export type { SelectPropertyInterface } from './Select';
25
13
  export { default as SelectMultiple } from './SelectMultiple';
26
- export type { SelectMultiplePropertyInterface } from './SelectMultiple';
27
14
  export { default as Employee } from './Employee';
28
- export type { EmployeePropertyInterface } from './Employee';
29
15
  export { default as Image } from './Image';
30
- export type { ImagePropertyInterface } from './Image';
31
16
  export { default as Attachment } from './Attachment';
32
- export type { AttachmentPropertyInterface } from './Attachment';
33
17
  export { default as Amount } from './Amount';
34
- export type { AmountPropertyInterface } from './Amount';
35
18
  export { default as Score } from './Score';
36
- export type { ScorePropertyInterface } from './Score';
37
19
  export { default as Address } from './Address';
38
- export type { AddressPropertyInterface } from './Address';
39
20
  export { default as Department } from './Department';
40
- export type { DepartmentPropertyInterface } from './Department';
41
21
  export { default as AutoNumber } from './AutoNumber';
42
- export type { AutoNumberPropertyInterface } from './AutoNumber';
43
22
  export { default as Calc } from './Calc';
44
- export type { CalcPropertyInterface } from './Calc';
45
23
  export { default as SearchNumberRange } from './SearchNumberRange';
46
- export type { SearchNumberRangePropertyInterface } from './SearchNumberRange';
47
24
  export { default as SearchDateRange } from './SearchDateRange';
48
- export type { SearchDateRangePropertyInterface } from './SearchDateRange';
49
25
  export { default as VueFormItem } from './VueFormItem';
50
- export type { VueFormItemPropertyInterface } from './VueFormItem';
51
26
  export { default as SelectRelation } from './SelectRelation';
52
- export type { SelectRelationPropertyInterface } from './SelectRelation';
53
27
  export { default as SearchInput } from './SearchInput';
54
- export type { SearchInputPropertyInterface } from './SearchInput';
55
28
  export { default as Tree } from './Tree';
56
- export type { TreePropertyInterface } from './Tree';
57
29
  export { default as Employee2 } from './Employee2';
58
- export type { Employee2PropertyInterface } from './Employee2';
59
30
  export { default as ElectronicSignature } from './ElectronicSignature';
60
- export type { ElectronicSignaturePropertyInterface } from './ElectronicSignature';
61
31
  export { default as WPS } from './WPS';
62
- export type { WPSPropertyInterface } from './WPS';
63
32
  export { default as Department2 } from './Department2';
64
- export type { Department2PropertyInterface } from './Department2';
65
33
  export { default as OrganizationSelection } from './OrganizationSelection';
66
- export type { OrganizationSelectionPropertyInterface } from './OrganizationSelection';
67
34
  export { default as VuePage } from './VuePage';
68
- export type { VuePagePropertyInterface } from './VuePage';
@@ -67,6 +67,12 @@ export declare enum LINE_STYLE {
67
67
  DOUBLE_SOLID = "double-solid-line",
68
68
  DOUBLE_DASHED = "double-dashed-line"
69
69
  }
70
+ export declare enum FONT_WEIGHT {
71
+ NORMAL = "normal",
72
+ BOLD = "bold",
73
+ LIGHTER = "lighter",
74
+ BOLDER = "bolder"
75
+ }
70
76
  export declare class UndersignedPerson {
71
77
  /**
72
78
  * 签署人类型
@@ -45,6 +45,11 @@ declare class DataViewControlProperty extends LayoutControlProperty implements D
45
45
  * @public
46
46
  */
47
47
  datasourceBind: DataSourceBind;
48
+ /**
49
+ * 流程表单只读控件展现形式;disabled:禁用模式;text:文本模式;
50
+ * @defaultValue disabled
51
+ */
52
+ processFormReadonlyControlMode: 'disabled' | 'text';
48
53
  constructor(props?: Partial<DataViewControlProperty>);
49
54
  }
50
55
  export default DataViewControlProperty;
@@ -39,6 +39,7 @@ interface TableLayoutPropertyInterface extends LayoutControlPropertyInterface {
39
39
  colWidthType: 'custom' | 'average';
40
40
  colWidth: string;
41
41
  labelWidth: string;
42
+ isLabelBold: boolean;
42
43
  padding: PaddingProperty;
43
44
  margin: MarginProperty;
44
45
  border: BorderProperty;
@@ -55,6 +56,7 @@ declare class TableLayoutControlProperty extends LayoutControlProperty implement
55
56
  colWidthType: 'custom' | 'average';
56
57
  colWidth: string;
57
58
  labelWidth: string;
59
+ isLabelBold: boolean;
58
60
  padding: PaddingProperty;
59
61
  margin: MarginProperty;
60
62
  border: BorderProperty;
@@ -11,9 +11,9 @@ interface TableLayoutColPropertyInterface extends LayoutControlPropertyInterface
11
11
  tableLayoutColSpan: number;
12
12
  tableLayoutColSpanType: '' | 'full' | 'custom';
13
13
  layout: 'flex' | 'block';
14
- flexDirection: 'row' | 'column' | 'row-reverse' | 'column-reverse';
15
- alignItems: 'flex-start' | 'flex-end' | 'center' | 'baseline' | 'stretch';
16
- justifyContent: 'flex-start' | 'flex-end' | 'center' | 'space-between' | 'space-around';
14
+ flexDirection: 'row' | 'column' | 'row-reverse' | 'column-reverse' | '';
15
+ alignItems: 'flex-start' | 'flex-end' | 'center' | 'baseline' | 'stretch' | '';
16
+ justifyContent: 'flex-start' | 'flex-end' | 'center' | 'space-between' | 'space-around' | '';
17
17
  background: BackgroundProperty;
18
18
  isLabelCol: Boolean;
19
19
  }
@@ -23,9 +23,9 @@ declare class TableLayoutColControlProperty extends LayoutControlProperty implem
23
23
  tableLayoutColSpan: number;
24
24
  tableLayoutColSpanType: '' | 'full' | 'custom';
25
25
  layout: 'flex' | 'block';
26
- flexDirection: 'row' | 'column' | 'row-reverse' | 'column-reverse';
26
+ flexDirection: 'row' | 'column' | 'row-reverse' | 'column-reverse' | '';
27
27
  alignItems: 'flex-start' | 'flex-end' | 'center' | 'baseline' | 'stretch';
28
- justifyContent: 'flex-start' | 'flex-end' | 'center' | 'space-between' | 'space-around';
28
+ justifyContent: 'flex-start' | 'flex-end' | 'center' | 'space-between' | 'space-around' | '';
29
29
  background: BackgroundProperty;
30
30
  isLabelCol: Boolean;
31
31
  constructor(props?: Partial<TableLayoutColControlProperty>);
@@ -1,54 +1,27 @@
1
1
  export { default as Grid } from './Grid';
2
- export type { GridPropertyInterface } from './Grid';
3
2
  export { default as Col } from './Col';
4
- export type { ColPropertyInterface } from './Col';
5
3
  export { default as Row } from './Row';
6
- export type { RowPropertyInterface } from './Row';
7
4
  export { default as GridRow } from './GridRow';
8
- export type { GridRowPropertyInterface } from './GridRow';
9
5
  export { default as CardGroup } from './CardGroup';
10
- export type { CardGroupPropertyInterface } from './CardGroup';
11
6
  export { default as SubTableColumn } from './SubTableColumn';
12
- export type { SubTableColumnPropertyInterface } from './SubTableColumn';
13
7
  export { default as SubTableRow } from './SubTableRow';
14
- export type { SubtableRowPropertyInterface } from './SubTableRow';
15
8
  export { default as GridTableColumn } from './GridTableColumn';
16
- export type { GridTableColumnPropertyInterface } from './GridTableColumn';
17
9
  export { default as GridLayoutContainer } from './GridLayoutContainer';
18
- export type { GridLayoutContainerPropertyInterface } from './GridLayoutContainer';
19
10
  export { default as Tab } from './Tab';
20
- export type { TabPropertyInterface } from './Tab';
21
11
  export { default as TabPane } from './TabPane';
22
- export type { TabPanePropertyInterface } from './TabPane';
23
12
  export { default as Toolbox } from './Toolbox';
24
- export type { ToolboxPropertyInterface } from './Toolbox';
25
13
  export { default as ListView } from './ListView';
26
- export type { ListViewPropertyInterface } from './ListView';
27
14
  export { default as DataView } from './DataView';
28
- export type { DataViewPropertyInterface } from './DataView';
29
15
  export { default as Page } from './Page';
30
- export type { PagePropertyInterface } from './Page';
31
16
  export { default as AdvancedContainer } from './AdvancedContainer';
32
- export type { AdvancedContainerPropertyInterface } from './AdvancedContainer';
33
17
  export { default as PositioningContainer } from './PositioningContainer';
34
- export type { PositioningContainerPropertyInterface } from './PositioningContainer';
35
18
  export { default as Position } from './Position';
36
- export type { PositionPropertyInterface } from './Position';
37
19
  export { default as ActionBar } from './ActionBar';
38
- export type { ActionBarPropertyInterface } from './ActionBar';
39
20
  export { default as Step } from './Step';
40
- export type { StepPropertyInterface } from './Step';
41
21
  export { default as StepPane } from './StepPane';
42
- export type { StepPanePropertyInterface } from './StepPane';
43
22
  export { default as TableLayout } from './TableLayout';
44
- export type { TableLayoutPropertyInterface } from './TableLayout';
45
23
  export { default as TableLayoutRow } from './TableLayoutRow';
46
- export type { TableLayoutRowPropertyInterface } from './TableLayoutRow';
47
24
  export { default as TableLayoutCol } from './TableLayoutCol';
48
- export type { TableLayoutColPropertyInterface } from './TableLayoutCol';
49
25
  export { default as TableLayoutWrapper } from './TableLayoutWrapper';
50
- export type { TableLayoutWrapperPropertyInterface } from './TableLayoutWrapper';
51
26
  export { default as Collapse } from './Collapse';
52
- export type { CollapsePropertyInterface } from './Collapse';
53
27
  export { default as CollapsePane } from './CollapsePane';
54
- export type { CollapsePanePropertyInterface } from './CollapsePane';
@@ -1,4 +1,2 @@
1
1
  export { default as SubTable } from './SubTable';
2
- export type { SubTablePropertyInterface } from './SubTable';
3
2
  export { default as GridTable } from './GridTable';
4
- export type { GridTablePropertyInterface } from './GridTable';
@@ -1,2 +1 @@
1
1
  export { default as SimpleSearch } from './SimpleSearch';
2
- export type { SimpleSearchPropertyInterface } from './SimpleSearch';
@@ -1,2 +1 @@
1
1
  export { default as GridLayoutWrap } from './GridLayoutWrap';
2
- export type { GridLayoutWrapPropertyInterface } from './GridLayoutWrap';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@byteluck-fe/model-driven-controls",
3
- "version": "7.0.0-props.6",
3
+ "version": "7.0.0-props.8",
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": "7.0.0-props.5",
30
- "@byteluck-fe/model-driven-settings": "7.0.0-props.5",
31
- "@byteluck-fe/model-driven-shared": "7.0.0-props.1",
29
+ "@byteluck-fe/model-driven-core": "7.0.0-props.8",
30
+ "@byteluck-fe/model-driven-settings": "7.0.0-props.8",
31
+ "@byteluck-fe/model-driven-shared": "7.0.0-props.8",
32
32
  "async-validator": "3.5.1"
33
33
  },
34
- "gitHead": "7e8c3a4eda913d331428f6a69620663abada3ea9"
34
+ "gitHead": "82cc5c0f5778fd22463f7fdf3d66ffa96e55916a"
35
35
  }