@byteluck-fe/model-driven-controls 2.3.0 → 2.3.1-beta.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (62) hide show
  1. package/dist/esm/api-doc-index.js +88 -0
  2. package/dist/esm/baseControls/ListSelectButton/designer.js +2 -1
  3. package/dist/esm/baseControls/ListSelectButton/property.js +4 -1
  4. package/dist/esm/columnControls/ArrayColumn/property.js +11 -3
  5. package/dist/esm/columnControls/AutoNumberColumn/property.js +4 -1
  6. package/dist/esm/columnControls/CustomColumn/property.js +4 -1
  7. package/dist/esm/columnControls/DecimalColumn/property.js +4 -1
  8. package/dist/esm/columnControls/DepartmentColumn/property.js +4 -1
  9. package/dist/esm/columnControls/EmployeeColumn/property.js +4 -1
  10. package/dist/esm/columnControls/FileColumn/property.js +3 -1
  11. package/dist/esm/columnControls/ImageColumn/property.js +3 -1
  12. package/dist/esm/columnControls/LocationColumn/property.js +4 -1
  13. package/dist/esm/columnControls/OperationColumn/property.js +4 -1
  14. package/dist/esm/columnControls/OrderColumn/property.js +4 -1
  15. package/dist/esm/columnControls/PeopleColumn/property.js +3 -1
  16. package/dist/esm/columnControls/TextColumn/property.js +4 -1
  17. package/dist/esm/columnControls/TimescopeColumn/property.js +4 -1
  18. package/dist/esm/columnControls/TimestampColumn/property.js +4 -1
  19. package/dist/esm/columnControls/VarcharColumn/property.js +4 -1
  20. package/dist/esm/formControls/Input/property.js +4 -1
  21. package/dist/esm/formControls/Number/property.js +4 -1
  22. package/dist/esm/formControls/SelectRelation/designer.js +6 -0
  23. package/dist/esm/formControls/SelectRelation/property.js +4 -1
  24. package/dist/esm/formControls/Textarea/property.js +4 -1
  25. package/dist/esm/layoutControls/DataView/property.js +7 -2
  26. package/dist/esm/layoutControls/ListView/property.js +10 -3
  27. package/dist/esm/layoutControls/SubTableColumn/property.js +0 -4
  28. package/dist/esm/listControls/GridTable/property.js +4 -1
  29. package/dist/esm/listControls/SubTable/designer.js +1 -0
  30. package/dist/esm/listControls/SubTable/property.js +5 -2
  31. package/dist/esm/searchControls/SimpleSearch/property.js +4 -1
  32. package/dist/index.umd.js +1 -1
  33. package/dist/types/api-doc-index.d.ts +88 -0
  34. package/dist/types/baseControls/ListSelectButton/property.d.ts +16 -0
  35. package/dist/types/columnControls/ArrayColumn/property.d.ts +22 -1
  36. package/dist/types/columnControls/AutoNumberColumn/property.d.ts +4 -0
  37. package/dist/types/columnControls/CustomColumn/property.d.ts +4 -0
  38. package/dist/types/columnControls/DecimalColumn/property.d.ts +23 -3
  39. package/dist/types/columnControls/DepartmentColumn/property.d.ts +6 -0
  40. package/dist/types/columnControls/EmployeeColumn/property.d.ts +8 -0
  41. package/dist/types/columnControls/FileColumn/property.d.ts +3 -0
  42. package/dist/types/columnControls/ImageColumn/property.d.ts +3 -0
  43. package/dist/types/columnControls/LocationColumn/property.d.ts +4 -0
  44. package/dist/types/columnControls/OperationColumn/property.d.ts +14 -0
  45. package/dist/types/columnControls/OrderColumn/property.d.ts +4 -0
  46. package/dist/types/columnControls/PeopleColumn/property.d.ts +3 -0
  47. package/dist/types/columnControls/TextColumn/property.d.ts +12 -1
  48. package/dist/types/columnControls/TimescopeColumn/property.d.ts +6 -0
  49. package/dist/types/columnControls/TimestampColumn/property.d.ts +6 -0
  50. package/dist/types/columnControls/VarcharColumn/property.d.ts +15 -1
  51. package/dist/types/formControls/Input/property.d.ts +33 -0
  52. package/dist/types/formControls/Number/property.d.ts +31 -1
  53. package/dist/types/formControls/SelectRelation/designer.d.ts +1 -0
  54. package/dist/types/formControls/SelectRelation/property.d.ts +40 -1
  55. package/dist/types/formControls/Textarea/property.d.ts +24 -0
  56. package/dist/types/layoutControls/DataView/property.d.ts +16 -0
  57. package/dist/types/layoutControls/ListView/property.d.ts +63 -0
  58. package/dist/types/layoutControls/SubTableColumn/property.d.ts +2 -11
  59. package/dist/types/listControls/GridTable/property.d.ts +28 -0
  60. package/dist/types/listControls/SubTable/property.d.ts +46 -11
  61. package/dist/types/searchControls/SimpleSearch/property.d.ts +32 -0
  62. package/package.json +5 -5
@@ -0,0 +1,88 @@
1
+ export { default as Text } from "./baseControls/Text/property";
2
+ export { default as Link } from "./baseControls/Link/property";
3
+ export { default as Button } from "./baseControls/Button/property";
4
+ export { default as Divider } from "./baseControls/Divider/property";
5
+ export { default as Title } from "./baseControls/Title/property";
6
+ export { default as CreateFormListButton } from "./baseControls/CreateFormListButton/property";
7
+ export { default as BatchSubmissionListButton } from "./baseControls/BatchSubmissionListButton/property";
8
+ export { default as SubmissionRecordListButton } from "./baseControls/SubmissionRecordListButton/property";
9
+ export { default as ExportListButton } from "./baseControls/ExportListButton/property";
10
+ export { default as ExportRecordListButton } from "./baseControls/ExportRecordListButton/property";
11
+ export { default as ImportRecordListButton } from "./baseControls/ImportRecordListButton/property";
12
+ export { default as FormSelectButton } from "./baseControls/FormSelectButton/property";
13
+ export { default as ListSelectButton } from "./baseControls/ListSelectButton/property";
14
+ export { default as Pagination } from "./baseControls/Pagination/property";
15
+ export { default as Dashboard } from "./baseControls/Dashboard/property";
16
+ export { default as ListViewSelect } from "./baseControls/ListViewSelect/property";
17
+ export { default as TextOcrButton } from "./baseControls/TextOcrButton/property";
18
+ export { default as InvoiceCheckButton } from "./baseControls/InvoiceCheckButton/property";
19
+ export { default as BatchPrintListButton } from "./baseControls/BatchPrintListButton/property";
20
+ export { default as BatchPrintRecordListButton } from "./baseControls/BatchPrintRecordListButton/property";
21
+ export { default as OperationButton } from "./baseControls/OperationButton/property";
22
+ export { default as BatchDeleteButton } from "./baseControls/BatchDeleteButton/property";
23
+ export { default as VarcharColumn } from "./columnControls/VarcharColumn/property";
24
+ export { default as TextColumn } from "./columnControls/TextColumn/property";
25
+ export { default as DecimalColumn } from "./columnControls/DecimalColumn/property";
26
+ export { default as TimescopeColumn } from "./columnControls/TimescopeColumn/property";
27
+ export { default as TimestampColumn } from "./columnControls/TimestampColumn/property";
28
+ export { default as ArrayColumn } from "./columnControls/ArrayColumn/property";
29
+ export { default as DepartmentColumn } from "./columnControls/DepartmentColumn/property";
30
+ export { default as AutoNumberColumn } from "./columnControls/AutoNumberColumn/property";
31
+ export { default as FileColumn } from "./columnControls/FileColumn/property";
32
+ export { default as ImageColumn } from "./columnControls/ImageColumn/property";
33
+ export { default as PeopleColumn } from "./columnControls/PeopleColumn/property";
34
+ export { default as LocationColumn } from "./columnControls/LocationColumn/property";
35
+ export { default as CustomColumn } from "./columnControls/CustomColumn/property";
36
+ export { default as OrderColumn } from "./columnControls/OrderColumn/property";
37
+ export { default as OperationColumn } from "./columnControls/OperationColumn/property";
38
+ export { default as EmployeeColumn } from "./columnControls/EmployeeColumn/property";
39
+ export { default as Input } from "./formControls/Input/property";
40
+ export { default as Checkbox } from "./formControls/Checkbox/property";
41
+ export { default as Radio } from "./formControls/Radio/property";
42
+ export { default as Number } from "./formControls/Number/property";
43
+ export { default as DatePicker } from "./formControls/DatePicker/property";
44
+ export { default as DateRange } from "./formControls/DateRange/property";
45
+ export { default as Textarea } from "./formControls/Textarea/property";
46
+ export { default as RichText } from "./formControls/RichText/property";
47
+ export { default as Select } from "./formControls/Select/property";
48
+ export { default as SelectMultiple } from "./formControls/SelectMultiple/property";
49
+ export { default as Employee } from "./formControls/Employee/property";
50
+ export { default as Image } from "./formControls/Image/property";
51
+ export { default as Attachment } from "./formControls/Attachment/property";
52
+ export { default as Amount } from "./formControls/Amount/property";
53
+ export { default as Score } from "./formControls/Score/property";
54
+ export { default as Address } from "./formControls/Address/property";
55
+ export { default as Department } from "./formControls/Department/property";
56
+ export { default as AutoNumber } from "./formControls/AutoNumber/property";
57
+ export { default as Calc } from "./formControls/Calc/property";
58
+ export { default as SearchNumberRange } from "./formControls/SearchNumberRange/property";
59
+ export { default as SearchDateRange } from "./formControls/SearchDateRange/property";
60
+ export { default as VueFormItem } from "./formControls/VueFormItem/property";
61
+ export { default as SelectRelation } from "./formControls/SelectRelation/property";
62
+ export { default as SearchInput } from "./formControls/SearchInput/property";
63
+ export { default as Tree } from "./formControls/Tree/property";
64
+ export { default as Employee2 } from "./formControls/Employee2/property";
65
+ export { default as ElectronicSignature } from "./formControls/ElectronicSignature/property";
66
+ export { default as WPS } from "./formControls/WPS/property";
67
+ export { default as Department2 } from "./formControls/Department2/property";
68
+ export { default as Grid } from "./layoutControls/Grid/property";
69
+ export { default as Col } from "./layoutControls/Col/property";
70
+ export { default as Row } from "./layoutControls/Row/property";
71
+ export { default as GridRow } from "./layoutControls/GridRow/property";
72
+ export { default as CardGroup } from "./layoutControls/CardGroup/property";
73
+ export { default as SubTableColumn } from "./layoutControls/SubTableColumn/property";
74
+ export { default as SubTableRow } from "./layoutControls/SubTableRow/property";
75
+ export { default as GridTableColumn } from "./layoutControls/GridTableColumn/property";
76
+ export { default as Tab } from "./layoutControls/Tab/property";
77
+ export { default as TabPane } from "./layoutControls/TabPane/property";
78
+ export { default as Toolbox } from "./layoutControls/Toolbox/property";
79
+ export { default as ListView } from "./layoutControls/ListView/property";
80
+ export { default as DataView } from "./layoutControls/DataView/property";
81
+ export { default as Page } from "./layoutControls/Page/property";
82
+ export { default as AdvancedContainer } from "./layoutControls/AdvancedContainer/property";
83
+ export { default as PositioningContainer } from "./layoutControls/PositioningContainer/property";
84
+ export { default as Position } from "./layoutControls/Position/property";
85
+ export { default as SubTable } from "./listControls/SubTable/property";
86
+ export { default as GridTable } from "./listControls/GridTable/property";
87
+ export { default as SimpleSearch } from "./searchControls/SimpleSearch/property";
88
+ export * from "./framework";
@@ -121,7 +121,8 @@ var ListSelectButtonControl = /*#__PURE__*/ function(DesignerButtonControl) {
121
121
  }(DesignerButtonControl);
122
122
  ListSelectButtonControl.controlEventKeys = [
123
123
  "on_click",
124
- "on_click_finish"
124
+ "on_click_finish",
125
+ "on_modal_ok"
125
126
  ];
126
127
  ListSelectButtonControl.setting = [
127
128
  {
@@ -143,7 +143,10 @@ var ListSelectButtonPropertyRules = /*#__PURE__*/ function(PropertyRules) {
143
143
  }
144
144
  return ListSelectButtonPropertyRules;
145
145
  }(PropertyRules);
146
- var ListSelectButtonProperty = /*#__PURE__*/ function(ButtonProperty) {
146
+ /**
147
+ * ListSelectButton 列表选择
148
+ * @public
149
+ */ var ListSelectButtonProperty = /*#__PURE__*/ function(ButtonProperty) {
147
150
  "use strict";
148
151
  _inherits(ListSelectButtonProperty, ButtonProperty);
149
152
  var _super = _createSuper(ListSelectButtonProperty);
@@ -71,7 +71,10 @@ function _createSuper(Derived) {
71
71
  }
72
72
  import { ColumnControlProperty, ColumnOptionAndDataSourcePropertyRules, DataSourceBind, initOptions } from "@byteluck-fe/model-driven-core";
73
73
  import { DesignerArrayColumnControl } from "./designer";
74
- var ArrayColumnControlPropertyRules = /*#__PURE__*/ function(ColumnOptionAndDataSourcePropertyRules) {
74
+ /**
75
+ * ArrayColumn 数组列
76
+ * @public
77
+ */ var ArrayColumnControlPropertyRules = /*#__PURE__*/ function(ColumnOptionAndDataSourcePropertyRules) {
75
78
  "use strict";
76
79
  _inherits(ArrayColumnControlPropertyRules, ColumnOptionAndDataSourcePropertyRules);
77
80
  var _super = _createSuper(ArrayColumnControlPropertyRules);
@@ -81,7 +84,10 @@ var ArrayColumnControlPropertyRules = /*#__PURE__*/ function(ColumnOptionAndData
81
84
  }
82
85
  return ArrayColumnControlPropertyRules;
83
86
  }(ColumnOptionAndDataSourcePropertyRules);
84
- var ArrayColumnControlProperty = /*#__PURE__*/ function(ColumnControlProperty) {
87
+ /**
88
+ * ArrayColumn 数组类型列
89
+ * @public
90
+ */ var ArrayColumnControlProperty = /*#__PURE__*/ function(ColumnControlProperty) {
85
91
  "use strict";
86
92
  _inherits(ArrayColumnControlProperty, ColumnControlProperty);
87
93
  var _super = _createSuper(ArrayColumnControlProperty);
@@ -102,6 +108,8 @@ var ArrayColumnControlProperty = /*#__PURE__*/ function(ColumnControlProperty) {
102
108
  }
103
109
  return ArrayColumnControlProperty;
104
110
  }(ColumnControlProperty);
105
- ArrayColumnControlProperty.Rules = ArrayColumnControlPropertyRules;
111
+ /**
112
+ * @internal
113
+ */ ArrayColumnControlProperty.Rules = ArrayColumnControlPropertyRules;
106
114
  export default ArrayColumnControlProperty;
107
115
  export { ArrayColumnControlProperty, ArrayColumnControlPropertyRules };
@@ -71,7 +71,10 @@ function _createSuper(Derived) {
71
71
  }
72
72
  import { ColumnControlProperty } from "@byteluck-fe/model-driven-core";
73
73
  import { DesignerAutoNumberColumnControl } from "./designer";
74
- var AutoNumberColumnControlProperty = /*#__PURE__*/ function(ColumnControlProperty) {
74
+ /**
75
+ * AutoNumberColumn 自动编号类型列
76
+ * @public
77
+ */ var AutoNumberColumnControlProperty = /*#__PURE__*/ function(ColumnControlProperty) {
75
78
  "use strict";
76
79
  _inherits(AutoNumberColumnControlProperty, ColumnControlProperty);
77
80
  var _super = _createSuper(AutoNumberColumnControlProperty);
@@ -71,7 +71,10 @@ function _createSuper(Derived) {
71
71
  }
72
72
  import { ColumnControlProperty } from "@byteluck-fe/model-driven-core";
73
73
  import { DesignerCustomColumnControl } from "./designer";
74
- var CustomColumnControlProperty = /*#__PURE__*/ function(ColumnControlProperty) {
74
+ /**
75
+ * CustomColumn 自定义列
76
+ * @public
77
+ */ var CustomColumnControlProperty = /*#__PURE__*/ function(ColumnControlProperty) {
75
78
  "use strict";
76
79
  _inherits(CustomColumnControlProperty, ColumnControlProperty);
77
80
  var _super = _createSuper(CustomColumnControlProperty);
@@ -71,7 +71,10 @@ function _createSuper(Derived) {
71
71
  }
72
72
  import { ColumnControlProperty, DataSourceBind, initOptions } from "@byteluck-fe/model-driven-core";
73
73
  import { DesignerDecimalColumnControl } from "./designer";
74
- var DecimalColumnControlProperty = /*#__PURE__*/ function(ColumnControlProperty) {
74
+ /**
75
+ * DecimalColumn 数字列
76
+ * @public
77
+ */ var DecimalColumnControlProperty = /*#__PURE__*/ function(ColumnControlProperty) {
75
78
  "use strict";
76
79
  _inherits(DecimalColumnControlProperty, ColumnControlProperty);
77
80
  var _super = _createSuper(DecimalColumnControlProperty);
@@ -71,7 +71,10 @@ function _createSuper(Derived) {
71
71
  }
72
72
  import { ColumnControlProperty } from "@byteluck-fe/model-driven-core";
73
73
  import { DesignerDepartmentColumnControl } from "./designer";
74
- var DepartmentColumnControlProperty = /*#__PURE__*/ function(ColumnControlProperty) {
74
+ /**
75
+ * DepartmentColumn 部门列
76
+ * @public
77
+ */ var DepartmentColumnControlProperty = /*#__PURE__*/ function(ColumnControlProperty) {
75
78
  "use strict";
76
79
  _inherits(DepartmentColumnControlProperty, ColumnControlProperty);
77
80
  var _super = _createSuper(DepartmentColumnControlProperty);
@@ -71,7 +71,10 @@ function _createSuper(Derived) {
71
71
  }
72
72
  import { ColumnControlProperty, SuperDataSourceBind } from "@byteluck-fe/model-driven-core";
73
73
  import EmployeeColumnControl from "./designer";
74
- var EmployeeColumnControlProperty = /*#__PURE__*/ function(ColumnControlProperty) {
74
+ /**
75
+ * EmployeeColumn 人员列
76
+ * @public
77
+ */ var EmployeeColumnControlProperty = /*#__PURE__*/ function(ColumnControlProperty) {
75
78
  "use strict";
76
79
  _inherits(EmployeeColumnControlProperty, ColumnControlProperty);
77
80
  var _super = _createSuper(EmployeeColumnControlProperty);
@@ -71,7 +71,9 @@ function _createSuper(Derived) {
71
71
  }
72
72
  import { ColumnControlProperty } from "@byteluck-fe/model-driven-core";
73
73
  import { DesignerFileColumnControl } from "./designer";
74
- var FileColumnControlProperty = /*#__PURE__*/ function(ColumnControlProperty) {
74
+ /**
75
+ * FileColumn 文件列
76
+ */ var FileColumnControlProperty = /*#__PURE__*/ function(ColumnControlProperty) {
75
77
  "use strict";
76
78
  _inherits(FileColumnControlProperty, ColumnControlProperty);
77
79
  var _super = _createSuper(FileColumnControlProperty);
@@ -71,7 +71,9 @@ function _createSuper(Derived) {
71
71
  }
72
72
  import { ColumnControlProperty } from "@byteluck-fe/model-driven-core";
73
73
  import { DesignerImageColumnControl } from "./designer";
74
- var ImageColumnControlProperty = /*#__PURE__*/ function(ColumnControlProperty) {
74
+ /**
75
+ * ImageColumn 图片列
76
+ */ var ImageColumnControlProperty = /*#__PURE__*/ function(ColumnControlProperty) {
75
77
  "use strict";
76
78
  _inherits(ImageColumnControlProperty, ColumnControlProperty);
77
79
  var _super = _createSuper(ImageColumnControlProperty);
@@ -71,7 +71,10 @@ function _createSuper(Derived) {
71
71
  }
72
72
  import { ColumnControlProperty } from "@byteluck-fe/model-driven-core";
73
73
  import { DesignerLocationColumnControl } from "./designer";
74
- var LocationColumnControlProperty = /*#__PURE__*/ function(ColumnControlProperty) {
74
+ /**
75
+ * LocationColumn 地址列
76
+ * @public
77
+ */ var LocationColumnControlProperty = /*#__PURE__*/ function(ColumnControlProperty) {
75
78
  "use strict";
76
79
  _inherits(LocationColumnControlProperty, ColumnControlProperty);
77
80
  var _super = _createSuper(LocationColumnControlProperty);
@@ -106,7 +106,10 @@ import { DesignerOperationColumnControl } from "./designer";
106
106
  // }
107
107
  // }
108
108
  // }
109
- var OperationColumnControlProperty = /*#__PURE__*/ function(ColumnControlProperty) {
109
+ /**
110
+ * OperationColumn 操作列
111
+ * @public
112
+ */ var OperationColumnControlProperty = /*#__PURE__*/ function(ColumnControlProperty) {
110
113
  "use strict";
111
114
  _inherits(OperationColumnControlProperty, ColumnControlProperty);
112
115
  var _super = _createSuper(OperationColumnControlProperty);
@@ -84,7 +84,10 @@ var OrderColumnControlPropertyRules = /*#__PURE__*/ function(ColumnControlProper
84
84
  }
85
85
  return OrderColumnControlPropertyRules;
86
86
  }(ColumnControlPropertyRules);
87
- var OrderColumnControlProperty = /*#__PURE__*/ function(ColumnControlProperty) {
87
+ /**
88
+ * OrderColumn 序号列
89
+ * @public
90
+ */ var OrderColumnControlProperty = /*#__PURE__*/ function(ColumnControlProperty) {
88
91
  "use strict";
89
92
  _inherits(OrderColumnControlProperty, ColumnControlProperty);
90
93
  var _super = _createSuper(OrderColumnControlProperty);
@@ -71,7 +71,9 @@ function _createSuper(Derived) {
71
71
  }
72
72
  import { ColumnControlProperty } from "@byteluck-fe/model-driven-core";
73
73
  import { DesignerPeopleColumnControl } from "./designer";
74
- var PeopleColumnControlProperty = /*#__PURE__*/ function(ColumnControlProperty) {
74
+ /**
75
+ * PeopleColumn 已废弃
76
+ */ var PeopleColumnControlProperty = /*#__PURE__*/ function(ColumnControlProperty) {
75
77
  "use strict";
76
78
  _inherits(PeopleColumnControlProperty, ColumnControlProperty);
77
79
  var _super = _createSuper(PeopleColumnControlProperty);
@@ -71,7 +71,10 @@ function _createSuper(Derived) {
71
71
  }
72
72
  import { ColumnControlProperty } from "@byteluck-fe/model-driven-core";
73
73
  import { DesignerTextColumnControl } from "./designer";
74
- var TextColumnControlProperty = /*#__PURE__*/ function(ColumnControlProperty) {
74
+ /**
75
+ * TextColumn 长文本列
76
+ * @public
77
+ */ var TextColumnControlProperty = /*#__PURE__*/ function(ColumnControlProperty) {
75
78
  "use strict";
76
79
  _inherits(TextColumnControlProperty, ColumnControlProperty);
77
80
  var _super = _createSuper(TextColumnControlProperty);
@@ -72,7 +72,10 @@ function _createSuper(Derived) {
72
72
  import { ColumnControlProperty } from "@byteluck-fe/model-driven-core";
73
73
  import { DateType } from "@byteluck-fe/model-driven-shared";
74
74
  import { DesignerTimescopeColumnControl } from "./designer";
75
- var TimescopeColumnControlProperty = /*#__PURE__*/ function(ColumnControlProperty) {
75
+ /**
76
+ * TimescopeColumn 日期区间列
77
+ * @public
78
+ */ var TimescopeColumnControlProperty = /*#__PURE__*/ function(ColumnControlProperty) {
76
79
  "use strict";
77
80
  _inherits(TimescopeColumnControlProperty, ColumnControlProperty);
78
81
  var _super = _createSuper(TimescopeColumnControlProperty);
@@ -72,7 +72,10 @@ function _createSuper(Derived) {
72
72
  import { ColumnControlProperty } from "@byteluck-fe/model-driven-core";
73
73
  import { DateType } from "@byteluck-fe/model-driven-shared";
74
74
  import { DesignerTimestampColumnControl } from "./designer";
75
- var TimestampColumnControlProperty = /*#__PURE__*/ function(ColumnControlProperty) {
75
+ /**
76
+ * TimestampColumn 日期列
77
+ * @public
78
+ */ var TimestampColumnControlProperty = /*#__PURE__*/ function(ColumnControlProperty) {
76
79
  "use strict";
77
80
  _inherits(TimestampColumnControlProperty, ColumnControlProperty);
78
81
  var _super = _createSuper(TimestampColumnControlProperty);
@@ -81,7 +81,10 @@ var VarcharColumnControlPropertyRules = /*#__PURE__*/ function(ColumnOptionAndDa
81
81
  }
82
82
  return VarcharColumnControlPropertyRules;
83
83
  }(ColumnOptionAndDataSourcePropertyRules);
84
- var VarcharColumnControlProperty = /*#__PURE__*/ function(ColumnControlProperty) {
84
+ /**
85
+ * VarcharColumn 短文本列
86
+ * @public
87
+ */ var VarcharColumnControlProperty = /*#__PURE__*/ function(ColumnControlProperty) {
85
88
  "use strict";
86
89
  _inherits(VarcharColumnControlProperty, ColumnControlProperty);
87
90
  var _super = _createSuper(VarcharColumnControlProperty);
@@ -146,7 +146,10 @@ var InputControlPropertyRuntimeRules = /*#__PURE__*/ function(BaseControlPropert
146
146
  }
147
147
  return InputControlPropertyRuntimeRules;
148
148
  }(BaseControlPropertyRuntimeRules);
149
- var InputProperty = /*#__PURE__*/ function(BaseControlProperty) {
149
+ /**
150
+ * Input 单行文本
151
+ * @public
152
+ */ var InputProperty = /*#__PURE__*/ function(BaseControlProperty) {
150
153
  "use strict";
151
154
  _inherits(InputProperty, BaseControlProperty);
152
155
  var _super = _createSuper(InputProperty);
@@ -147,7 +147,10 @@ var NumberControlPropertyRuntimeRules = /*#__PURE__*/ function(BaseControlProper
147
147
  }
148
148
  return NumberControlPropertyRuntimeRules;
149
149
  }(BaseControlPropertyRuntimeRules);
150
- var NumberProperty = /*#__PURE__*/ function(BaseControlProperty) {
150
+ /**
151
+ * Number 数字
152
+ * @public
153
+ */ var NumberProperty = /*#__PURE__*/ function(BaseControlProperty) {
151
154
  "use strict";
152
155
  _inherits(NumberProperty, BaseControlProperty);
153
156
  var _super = _createSuper(NumberProperty);
@@ -168,5 +168,11 @@ SelectRelationControl.setting = [
168
168
  visible: true
169
169
  }
170
170
  ];
171
+ SelectRelationControl.controlEventKeys = [
172
+ "on_change",
173
+ "on_focus",
174
+ "on_blur",
175
+ "on_modal_ok"
176
+ ];
171
177
  export default SelectRelationControl;
172
178
  export { SelectRelationControl as DesignerSelectRelationControl };
@@ -107,7 +107,10 @@ var SelectRelationControlPropertyRules = /*#__PURE__*/ function(OptionAndDataSou
107
107
  }
108
108
  return SelectRelationControlPropertyRules;
109
109
  }(OptionAndDataSourcePropertyRules);
110
- var SelectRelationProperty = /*#__PURE__*/ function(BaseControlProperty) {
110
+ /**
111
+ * SelectRelation 关联单选
112
+ * @public
113
+ */ var SelectRelationProperty = /*#__PURE__*/ function(BaseControlProperty) {
111
114
  "use strict";
112
115
  _inherits(SelectRelationProperty, BaseControlProperty);
113
116
  var _super = _createSuper(SelectRelationProperty);
@@ -129,7 +129,10 @@ var TextareaControlPropertyRuntimeRules = /*#__PURE__*/ function(BaseControlProp
129
129
  }
130
130
  return TextareaControlPropertyRuntimeRules;
131
131
  }(BaseControlPropertyRuntimeRules);
132
- var TextareaProperty = /*#__PURE__*/ function(BaseControlProperty) {
132
+ /**
133
+ * Textarea 多行文本
134
+ * @public
135
+ */ var TextareaProperty = /*#__PURE__*/ function(BaseControlProperty) {
133
136
  "use strict";
134
137
  _inherits(TextareaProperty, BaseControlProperty);
135
138
  var _super = _createSuper(TextareaProperty);
@@ -86,7 +86,10 @@ var DataViewControlPropertyRuntimeRules = /*#__PURE__*/ function(PropertyRuntime
86
86
  }
87
87
  return DataViewControlPropertyRuntimeRules;
88
88
  }(PropertyRuntimeRules);
89
- var DataViewControlProperty = /*#__PURE__*/ function(LayoutControlProperty) {
89
+ /**
90
+ * DataView 表单页
91
+ * @public
92
+ */ var DataViewControlProperty = /*#__PURE__*/ function(LayoutControlProperty) {
90
93
  "use strict";
91
94
  _inherits(DataViewControlProperty, LayoutControlProperty);
92
95
  var _super = _createSuper(DataViewControlProperty);
@@ -129,6 +132,8 @@ var DataViewControlProperty = /*#__PURE__*/ function(LayoutControlProperty) {
129
132
  }
130
133
  return DataViewControlProperty;
131
134
  }(LayoutControlProperty);
132
- DataViewControlProperty.RuntimeRules = DataViewControlPropertyRuntimeRules;
135
+ /**
136
+ * @internal
137
+ */ DataViewControlProperty.RuntimeRules = DataViewControlPropertyRuntimeRules;
133
138
  export default DataViewControlProperty;
134
139
  export { DataViewControlProperty, DataViewControlPropertyRuntimeRules };
@@ -77,7 +77,9 @@ export var TriggerType;
77
77
  TriggerType[TriggerType["CLICK_ROW"] = 1] = "CLICK_ROW";
78
78
  TriggerType[TriggerType["CLICK_CELL"] = 2] = "CLICK_CELL";
79
79
  })(TriggerType || (TriggerType = {}));
80
- var ListViewControlPropertyRuntimeRules = /*#__PURE__*/ function(PropertyRuntimeRules) {
80
+ /**
81
+ * @internal
82
+ */ var ListViewControlPropertyRuntimeRules = /*#__PURE__*/ function(PropertyRuntimeRules) {
81
83
  "use strict";
82
84
  _inherits(ListViewControlPropertyRuntimeRules, PropertyRuntimeRules);
83
85
  var _super = _createSuper(ListViewControlPropertyRuntimeRules);
@@ -93,7 +95,9 @@ var ListViewControlPropertyRuntimeRules = /*#__PURE__*/ function(PropertyRuntime
93
95
  }
94
96
  return ListViewControlPropertyRuntimeRules;
95
97
  }(PropertyRuntimeRules);
96
- var ListViewControlPropertyRules = /*#__PURE__*/ function(PropertyRules) {
98
+ /**
99
+ * @internal
100
+ */ var ListViewControlPropertyRules = /*#__PURE__*/ function(PropertyRules) {
97
101
  "use strict";
98
102
  _inherits(ListViewControlPropertyRules, PropertyRules);
99
103
  var _super = _createSuper(ListViewControlPropertyRules);
@@ -132,7 +136,10 @@ var ListViewControlPropertyRules = /*#__PURE__*/ function(PropertyRules) {
132
136
  }
133
137
  return ListViewControlPropertyRules;
134
138
  }(PropertyRules);
135
- var ListViewControlProperty = /*#__PURE__*/ function(LayoutControlProperty) {
139
+ /**
140
+ * ListView 列表
141
+ * @public
142
+ */ var ListViewControlProperty = /*#__PURE__*/ function(LayoutControlProperty) {
136
143
  "use strict";
137
144
  _inherits(ListViewControlProperty, LayoutControlProperty);
138
145
  var _super = _createSuper(ListViewControlProperty);
@@ -94,7 +94,6 @@ var SubTableColumnControlPropertyRules = /*#__PURE__*/ function(PropertyRules) {
94
94
  required: false,
95
95
  message: RulesMessage.getMessage("pleaseEnterCaptionTip")
96
96
  };
97
- _this.width.required = props.widthType === "px";
98
97
  if (props.isShowCaptionTip) {
99
98
  _this.captionTip.required = true;
100
99
  }
@@ -110,9 +109,6 @@ var SubTableColumnControlProperty = /*#__PURE__*/ function(LayoutControlProperty
110
109
  _classCallCheck(this, SubTableColumnControlProperty);
111
110
  var _this;
112
111
  _this = _super.call(this, props);
113
- var _props_width;
114
- _this.width = (_props_width = props === null || props === void 0 ? void 0 : props.width) !== null && _props_width !== void 0 ? _props_width : 240;
115
- _this.widthType = (props === null || props === void 0 ? void 0 : props.widthType) || "auto";
116
112
  var _props_caption;
117
113
  _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : "";
118
114
  var _props_fixed;
@@ -77,7 +77,10 @@ function _createSuper(Derived) {
77
77
  };
78
78
  }
79
79
  import { ListControlProperty } from "@byteluck-fe/model-driven-core";
80
- var GridTableControlProperty = /*#__PURE__*/ function(ListControlProperty) {
80
+ /**
81
+ * GridTable 表格组件
82
+ * @public
83
+ */ var GridTableControlProperty = /*#__PURE__*/ function(ListControlProperty) {
81
84
  "use strict";
82
85
  _inherits(GridTableControlProperty, ListControlProperty);
83
86
  var _super = _createSuper(GridTableControlProperty);
@@ -144,6 +144,7 @@ SubTableControl.controlEventKeys = [
144
144
  "on_list_mounted",
145
145
  "on_list_change",
146
146
  "on_list_delete",
147
+ "on_list_before_insert",
147
148
  "on_list_before_import"
148
149
  ];
149
150
  SubTableControl.setting = [
@@ -157,7 +157,10 @@ var SubtableControlRuntimeRules = /*#__PURE__*/ function(PropertyRuntimeRules) {
157
157
  }
158
158
  return SubtableControlRuntimeRules;
159
159
  }(PropertyRuntimeRules);
160
- var SubTableControlProperty = /*#__PURE__*/ function(ListControlProperty) {
160
+ /**
161
+ * SubTable 明细表
162
+ * @public
163
+ */ var SubTableControlProperty = /*#__PURE__*/ function(ListControlProperty) {
161
164
  "use strict";
162
165
  _inherits(SubTableControlProperty, ListControlProperty);
163
166
  var _super = _createSuper(SubTableControlProperty);
@@ -209,7 +212,7 @@ var SubTableControlProperty = /*#__PURE__*/ function(ListControlProperty) {
209
212
  var _props_captionTip;
210
213
  _this.captionTip = (_props_captionTip = props === null || props === void 0 ? void 0 : props.captionTip) !== null && _props_captionTip !== void 0 ? _props_captionTip : "";
211
214
  var _props_mobileShowType;
212
- _this.mobileShowType = (_props_mobileShowType = props === null || props === void 0 ? void 0 : props.mobileShowType) !== null && _props_mobileShowType !== void 0 ? _props_mobileShowType : "tile";
215
+ _this.mobileShowType = (_props_mobileShowType = props === null || props === void 0 ? void 0 : props.mobileShowType) !== null && _props_mobileShowType !== void 0 ? _props_mobileShowType : "list";
213
216
  var _props_dataStorageDoc;
214
217
  _this.dataStorageDoc = (_props_dataStorageDoc = props === null || props === void 0 ? void 0 : props.dataStorageDoc) !== null && _props_dataStorageDoc !== void 0 ? _props_dataStorageDoc : new DataStorageDoc();
215
218
  var _props_fixedColumn;
@@ -86,7 +86,10 @@ var SimpleSearchControlPropertyRuntimeRules = /*#__PURE__*/ function(PropertyRun
86
86
  }
87
87
  return SimpleSearchControlPropertyRuntimeRules;
88
88
  }(PropertyRuntimeRules);
89
- var SimpleSearchControlProperty = /*#__PURE__*/ function(SearchControlProperty) {
89
+ /**
90
+ * SimpleSearch 搜索栏
91
+ * @public
92
+ */ var SimpleSearchControlProperty = /*#__PURE__*/ function(SearchControlProperty) {
90
93
  "use strict";
91
94
  _inherits(SimpleSearchControlProperty, SearchControlProperty);
92
95
  var _super = _createSuper(SimpleSearchControlProperty);