@byteluck-fe/model-driven-controls 7.0.0-props.1 → 7.0.0-props.11

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 (237) hide show
  1. package/dist/esm/baseControls/BatchDeleteButton/property.js +10 -18
  2. package/dist/esm/baseControls/BatchPrintListButton/property.js +7 -11
  3. package/dist/esm/baseControls/BatchPrintRecordListButton/property.js +3 -4
  4. package/dist/esm/baseControls/BatchSubmissionListButton/property.js +8 -21
  5. package/dist/esm/baseControls/Button/property.js +11 -52
  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 +7 -12
  15. package/dist/esm/baseControls/InvoiceCheckButton/property.js +11 -19
  16. package/dist/esm/baseControls/Link/designer.js +37 -0
  17. package/dist/esm/baseControls/Link/property.js +11 -7
  18. package/dist/esm/baseControls/ListSelectButton/property.js +7 -26
  19. package/dist/esm/baseControls/ListViewSelect/property.js +4 -5
  20. package/dist/esm/baseControls/OperationButton/property.js +8 -14
  21. package/dist/esm/baseControls/ReferenceList/property.js +8 -18
  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 -29
  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 +6 -19
  28. package/dist/esm/columnControls/ArrayColumn/property.js +8 -33
  29. package/dist/esm/columnControls/AutoNumberColumn/property.js +4 -11
  30. package/dist/esm/columnControls/CustomColumn/property.js +5 -10
  31. package/dist/esm/columnControls/DecimalColumn/property.js +10 -48
  32. package/dist/esm/columnControls/DepartmentColumn/property.js +5 -13
  33. package/dist/esm/columnControls/EmployeeColumn/property.js +5 -12
  34. package/dist/esm/columnControls/FileColumn/property.js +5 -9
  35. package/dist/esm/columnControls/GroupColumn/designer.js +2 -1
  36. package/dist/esm/columnControls/GroupColumn/property.js +3 -6
  37. package/dist/esm/columnControls/ImageColumn/property.js +3 -5
  38. package/dist/esm/columnControls/LocationColumn/property.js +6 -16
  39. package/dist/esm/columnControls/OperationColumn/designer.js +12 -4
  40. package/dist/esm/columnControls/OperationColumn/property.js +8 -58
  41. package/dist/esm/columnControls/OrderColumn/property.js +8 -16
  42. package/dist/esm/columnControls/PeopleColumn/property.js +3 -5
  43. package/dist/esm/columnControls/TextColumn/property.js +7 -27
  44. package/dist/esm/columnControls/TimescopeColumn/property.js +7 -24
  45. package/dist/esm/columnControls/TimestampColumn/property.js +7 -24
  46. package/dist/esm/columnControls/VarcharColumn/property.js +9 -38
  47. package/dist/esm/formControls/Address/property.js +9 -24
  48. package/dist/esm/formControls/Amount/property.js +15 -60
  49. package/dist/esm/formControls/Attachment/property.js +27 -53
  50. package/dist/esm/formControls/AutoNumber/property.js +4 -6
  51. package/dist/esm/formControls/Calc/property.js +11 -44
  52. package/dist/esm/formControls/Cascader/property.js +19 -72
  53. package/dist/esm/formControls/Checkbox/property.js +22 -37
  54. package/dist/esm/formControls/DatePicker/designer.js +4 -0
  55. package/dist/esm/formControls/DatePicker/property.js +18 -32
  56. package/dist/esm/formControls/DateRange/property.js +15 -71
  57. package/dist/esm/formControls/Department/property.js +13 -42
  58. package/dist/esm/formControls/Department2/designer.js +8 -0
  59. package/dist/esm/formControls/Department2/property.js +29 -61
  60. package/dist/esm/formControls/ElectronicSignature/property.js +7 -12
  61. package/dist/esm/formControls/Employee/property.js +11 -26
  62. package/dist/esm/formControls/Employee2/designer.js +4 -0
  63. package/dist/esm/formControls/Employee2/property.js +19 -46
  64. package/dist/esm/formControls/Image/designer.js +8 -8
  65. package/dist/esm/formControls/Image/property.js +9 -18
  66. package/dist/esm/formControls/Input/property.js +11 -20
  67. package/dist/esm/formControls/Number/property.js +19 -93
  68. package/dist/esm/formControls/OrganizationSelection/property.js +20 -70
  69. package/dist/esm/formControls/Radio/property.js +16 -46
  70. package/dist/esm/formControls/RichText/designer.js +8 -0
  71. package/dist/esm/formControls/RichText/property.js +51 -40
  72. package/dist/esm/formControls/Score/designer.js +9 -2
  73. package/dist/esm/formControls/Score/property.js +12 -29
  74. package/dist/esm/formControls/SearchDateRange/property.js +15 -33
  75. package/dist/esm/formControls/SearchNumberRange/property.js +8 -15
  76. package/dist/esm/formControls/Select/property.js +16 -53
  77. package/dist/esm/formControls/SelectMultiple/property.js +15 -50
  78. package/dist/esm/formControls/SelectRelation/property.js +17 -79
  79. package/dist/esm/formControls/Textarea/property.js +13 -78
  80. package/dist/esm/formControls/TimePicker/property.js +11 -17
  81. package/dist/esm/formControls/TimeRange/property.js +14 -53
  82. package/dist/esm/formControls/Tree/designer.js +2 -1
  83. package/dist/esm/formControls/Tree/property.js +44 -44
  84. package/dist/esm/formControls/VueFormItem/property.js +6 -10
  85. package/dist/esm/formControls/VuePage/property.js +7 -11
  86. package/dist/esm/formControls/WPS/designer.js +9 -9
  87. package/dist/esm/formControls/WPS/property.js +13 -24
  88. package/dist/esm/framework.js +81 -121
  89. package/dist/esm/layoutControls/ActionBar/designer.js +2 -2
  90. package/dist/esm/layoutControls/ActionBar/property.js +5 -10
  91. package/dist/esm/layoutControls/ActionBar/runtime.js +2 -2
  92. package/dist/esm/layoutControls/AdvancedContainer/property.js +1 -0
  93. package/dist/esm/layoutControls/CardGroup/property.js +12 -47
  94. package/dist/esm/layoutControls/Col/property.js +4 -6
  95. package/dist/esm/layoutControls/Collapse/designer.js +2 -2
  96. package/dist/esm/layoutControls/Collapse/property.js +5 -19
  97. package/dist/esm/layoutControls/CollapsePane/property.js +3 -6
  98. package/dist/esm/layoutControls/DataView/property.js +13 -17
  99. package/dist/esm/layoutControls/Grid/property.js +72 -1
  100. package/dist/esm/layoutControls/GridLayoutContainer/property.js +4 -7
  101. package/dist/esm/layoutControls/GridTableColumn/property.js +12 -22
  102. package/dist/esm/layoutControls/ListView/property.js +17 -102
  103. package/dist/esm/layoutControls/Page/property.js +4 -7
  104. package/dist/esm/layoutControls/Position/property.js +6 -8
  105. package/dist/esm/layoutControls/PositioningContainer/property.js +1 -0
  106. package/dist/esm/layoutControls/Row/property.js +6 -10
  107. package/dist/esm/layoutControls/Step/designer.js +2 -2
  108. package/dist/esm/layoutControls/Step/property.js +13 -59
  109. package/dist/esm/layoutControls/StepPane/property.js +10 -35
  110. package/dist/esm/layoutControls/SubTableColumn/property.js +7 -24
  111. package/dist/esm/layoutControls/Tab/designer.js +2 -2
  112. package/dist/esm/layoutControls/Tab/property.js +7 -26
  113. package/dist/esm/layoutControls/TabPane/property.js +2 -2
  114. package/dist/esm/layoutControls/TableLayout/designer.js +6 -1
  115. package/dist/esm/layoutControls/TableLayout/property.js +18 -38
  116. package/dist/esm/layoutControls/TableLayoutCol/property.js +12 -28
  117. package/dist/esm/layoutControls/TableLayoutRow/property.js +3 -4
  118. package/dist/esm/layoutControls/TableLayoutWrapper/property.js +5 -9
  119. package/dist/esm/listControls/GridTable/designer.js +12 -4
  120. package/dist/esm/listControls/GridTable/property.js +16 -23
  121. package/dist/esm/listControls/SubTable/property.js +38 -189
  122. package/dist/esm/searchControls/SimpleSearch/property.js +15 -71
  123. package/dist/esm/searchControls/SimpleSearch/runtime.js +2 -2
  124. package/dist/esm/wrapControls/GridLayoutWrap/designer.js +8 -8
  125. package/dist/esm/wrapControls/GridLayoutWrap/property.js +3 -2
  126. package/dist/esm/wrapControls/GridLayoutWrap/runtime.js +8 -8
  127. package/dist/index.umd.js +1 -1
  128. package/dist/types/baseControls/BatchDeleteButton/property.d.ts +13 -3
  129. package/dist/types/baseControls/BatchPrintListButton/property.d.ts +7 -3
  130. package/dist/types/baseControls/BatchPrintRecordListButton/property.d.ts +5 -3
  131. package/dist/types/baseControls/BatchSubmissionListButton/property.d.ts +13 -7
  132. package/dist/types/baseControls/Button/property.d.ts +18 -7
  133. package/dist/types/baseControls/Comment/property.d.ts +7 -3
  134. package/dist/types/baseControls/CreateFormListButton/property.d.ts +7 -3
  135. package/dist/types/baseControls/Dashboard/property.d.ts +13 -3
  136. package/dist/types/baseControls/Divider/property.d.ts +35 -4
  137. package/dist/types/baseControls/ExportListButton/property.d.ts +7 -3
  138. package/dist/types/baseControls/ExportRecordListButton/property.d.ts +5 -3
  139. package/dist/types/baseControls/FormSelectButton/property.d.ts +9 -3
  140. package/dist/types/baseControls/ImportRecordListButton/property.d.ts +7 -3
  141. package/dist/types/baseControls/InvoiceCheckButton/property.d.ts +12 -3
  142. package/dist/types/baseControls/Link/property.d.ts +25 -3
  143. package/dist/types/baseControls/ListSelectButton/property.d.ts +17 -8
  144. package/dist/types/baseControls/ListViewSelect/property.d.ts +14 -3
  145. package/dist/types/baseControls/OperationButton/property.d.ts +79 -3
  146. package/dist/types/baseControls/Pagination/property.d.ts +5 -3
  147. package/dist/types/baseControls/ReferenceList/property.d.ts +10 -3
  148. package/dist/types/baseControls/SubmissionRecordListButton/property.d.ts +5 -3
  149. package/dist/types/baseControls/Text/property.d.ts +47 -7
  150. package/dist/types/baseControls/TextOcrButton/property.d.ts +12 -3
  151. package/dist/types/baseControls/Title/property.d.ts +9 -3
  152. package/dist/types/columnControls/ApprovalStatusColumn/property.d.ts +9 -8
  153. package/dist/types/columnControls/ArrayColumn/property.d.ts +11 -7
  154. package/dist/types/columnControls/AutoNumberColumn/property.d.ts +12 -10
  155. package/dist/types/columnControls/CustomColumn/property.d.ts +13 -3
  156. package/dist/types/columnControls/DecimalColumn/property.d.ts +14 -4
  157. package/dist/types/columnControls/DepartmentColumn/property.d.ts +6 -3
  158. package/dist/types/columnControls/EmployeeColumn/property.d.ts +6 -3
  159. package/dist/types/columnControls/FileColumn/property.d.ts +10 -3
  160. package/dist/types/columnControls/GroupColumn/designer.d.ts +1 -1
  161. package/dist/types/columnControls/GroupColumn/property.d.ts +5 -3
  162. package/dist/types/columnControls/ImageColumn/property.d.ts +5 -3
  163. package/dist/types/columnControls/LocationColumn/property.d.ts +8 -4
  164. package/dist/types/columnControls/OperationColumn/property.d.ts +7 -3
  165. package/dist/types/columnControls/OrderColumn/property.d.ts +5 -3
  166. package/dist/types/columnControls/PeopleColumn/property.d.ts +5 -3
  167. package/dist/types/columnControls/TextColumn/property.d.ts +15 -9
  168. package/dist/types/columnControls/TimescopeColumn/property.d.ts +10 -4
  169. package/dist/types/columnControls/TimestampColumn/property.d.ts +10 -4
  170. package/dist/types/columnControls/VarcharColumn/property.d.ts +16 -4
  171. package/dist/types/formControls/Address/property.d.ts +9 -4
  172. package/dist/types/formControls/Amount/property.d.ts +19 -5
  173. package/dist/types/formControls/Attachment/property.d.ts +22 -5
  174. package/dist/types/formControls/AutoNumber/property.d.ts +6 -3
  175. package/dist/types/formControls/Calc/property.d.ts +16 -5
  176. package/dist/types/formControls/Cascader/property.d.ts +18 -3
  177. package/dist/types/formControls/Checkbox/property.d.ts +57 -6
  178. package/dist/types/formControls/DatePicker/property.d.ts +22 -3
  179. package/dist/types/formControls/DateRange/property.d.ts +18 -4
  180. package/dist/types/formControls/Department/property.d.ts +16 -4
  181. package/dist/types/formControls/Department2/property.d.ts +35 -5
  182. package/dist/types/formControls/ElectronicSignature/property.d.ts +13 -3
  183. package/dist/types/formControls/Employee/property.d.ts +21 -5
  184. package/dist/types/formControls/Employee2/property.d.ts +27 -5
  185. package/dist/types/formControls/Image/property.d.ts +9 -3
  186. package/dist/types/formControls/Input/property.d.ts +5 -5
  187. package/dist/types/formControls/Number/property.d.ts +22 -5
  188. package/dist/types/formControls/OrganizationSelection/property.d.ts +26 -5
  189. package/dist/types/formControls/Radio/property.d.ts +26 -4
  190. package/dist/types/formControls/RichText/property.d.ts +19 -5
  191. package/dist/types/formControls/Score/property.d.ts +15 -5
  192. package/dist/types/formControls/SearchDateRange/property.d.ts +16 -3
  193. package/dist/types/formControls/SearchInput/property.d.ts +5 -3
  194. package/dist/types/formControls/SearchNumberRange/property.d.ts +10 -3
  195. package/dist/types/formControls/Select/property.d.ts +20 -4
  196. package/dist/types/formControls/SelectMultiple/property.d.ts +20 -5
  197. package/dist/types/formControls/SelectRelation/property.d.ts +22 -4
  198. package/dist/types/formControls/Textarea/property.d.ts +16 -5
  199. package/dist/types/formControls/TimePicker/property.d.ts +12 -3
  200. package/dist/types/formControls/TimeRange/property.d.ts +23 -4
  201. package/dist/types/formControls/Tree/property.d.ts +54 -3
  202. package/dist/types/formControls/VueFormItem/property.d.ts +9 -3
  203. package/dist/types/formControls/VuePage/property.d.ts +9 -3
  204. package/dist/types/formControls/WPS/property.d.ts +17 -3
  205. package/dist/types/framework.d.ts +6 -0
  206. package/dist/types/layoutControls/ActionBar/property.d.ts +8 -3
  207. package/dist/types/layoutControls/AdvancedContainer/property.d.ts +7 -2
  208. package/dist/types/layoutControls/CardGroup/property.d.ts +16 -4
  209. package/dist/types/layoutControls/Col/property.d.ts +8 -3
  210. package/dist/types/layoutControls/Collapse/property.d.ts +9 -3
  211. package/dist/types/layoutControls/CollapsePane/property.d.ts +7 -4
  212. package/dist/types/layoutControls/DataView/property.d.ts +26 -3
  213. package/dist/types/layoutControls/Grid/property.d.ts +8 -2
  214. package/dist/types/layoutControls/GridLayoutContainer/property.d.ts +17 -3
  215. package/dist/types/layoutControls/GridRow/property.d.ts +5 -3
  216. package/dist/types/layoutControls/GridTableColumn/property.d.ts +17 -3
  217. package/dist/types/layoutControls/ListView/property.d.ts +28 -5
  218. package/dist/types/layoutControls/Page/property.d.ts +15 -2
  219. package/dist/types/layoutControls/Position/property.d.ts +9 -2
  220. package/dist/types/layoutControls/PositioningContainer/property.d.ts +5 -2
  221. package/dist/types/layoutControls/Row/property.d.ts +12 -3
  222. package/dist/types/layoutControls/Step/property.d.ts +17 -3
  223. package/dist/types/layoutControls/StepPane/property.d.ts +36 -3
  224. package/dist/types/layoutControls/SubTableColumn/property.d.ts +12 -4
  225. package/dist/types/layoutControls/SubTableRow/property.d.ts +5 -3
  226. package/dist/types/layoutControls/Tab/property.d.ts +10 -3
  227. package/dist/types/layoutControls/TabPane/property.d.ts +6 -3
  228. package/dist/types/layoutControls/TableLayout/property.d.ts +21 -3
  229. package/dist/types/layoutControls/TableLayoutCol/property.d.ts +17 -5
  230. package/dist/types/layoutControls/TableLayoutRow/property.d.ts +7 -3
  231. package/dist/types/layoutControls/TableLayoutWrapper/property.d.ts +8 -3
  232. package/dist/types/layoutControls/Toolbox/property.d.ts +5 -3
  233. package/dist/types/listControls/GridTable/property.d.ts +35 -3
  234. package/dist/types/listControls/SubTable/property.d.ts +46 -7
  235. package/dist/types/searchControls/SimpleSearch/property.d.ts +18 -4
  236. package/dist/types/wrapControls/GridLayoutWrap/property.d.ts +6 -2
  237. package/package.json +5 -5
@@ -78,29 +78,21 @@ var BatchDeleteButtonProperty = /*#__PURE__*/ function(Property) {
78
78
  function BatchDeleteButtonProperty(props) {
79
79
  _class_call_check(this, BatchDeleteButtonProperty);
80
80
  var _this;
81
+ var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8;
81
82
  _this = _call_super(this, BatchDeleteButtonProperty, [
82
83
  props
83
84
  ]), _define_property(_this, "content", void 0), // public buttonType: 'primary' | 'secondary' | 'default' | 'danger'
84
85
  _define_property(_this, "buttonType", void 0), _define_property(_this, "showType", void 0), _define_property(_this, "color", void 0), _define_property(_this, "icon", void 0), _define_property(_this, "defaultState", void 0), _define_property(_this, "command", void 0), _define_property(_this, "isLoading", void 0);
85
- var _props_content;
86
- _this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content : BatchDeleteButtonControl.controlName;
87
- var _props_icon;
88
- _this.icon = (_props_icon = props === null || props === void 0 ? void 0 : props.icon) !== null && _props_icon !== void 0 ? _props_icon : BatchDeleteButtonControl.controlIcon;
89
- var _props_buttonType;
90
- _this.buttonType = (_props_buttonType = props === null || props === void 0 ? void 0 : props.buttonType) !== null && _props_buttonType !== void 0 ? _props_buttonType : 'primary';
91
- var _props_showType;
92
- _this.showType = (_props_showType = props === null || props === void 0 ? void 0 : props.showType) !== null && _props_showType !== void 0 ? _props_showType : 'iconText';
93
- var _props_color;
94
- _this.color = (_props_color = props === null || props === void 0 ? void 0 : props.color) !== null && _props_color !== void 0 ? _props_color : 'danger';
95
- var _props_isHide;
96
- _this.isHide = (_props_isHide = props === null || props === void 0 ? void 0 : props.isHide) !== null && _props_isHide !== void 0 ? _props_isHide : false;
97
- var _props_defaultState;
86
+ _this.content = (_ref = props === null || props === void 0 ? void 0 : props.content) !== null && _ref !== void 0 ? _ref : BatchDeleteButtonControl.controlName;
87
+ _this.icon = (_ref1 = props === null || props === void 0 ? void 0 : props.icon) !== null && _ref1 !== void 0 ? _ref1 : BatchDeleteButtonControl.controlIcon;
88
+ _this.buttonType = (_ref2 = props === null || props === void 0 ? void 0 : props.buttonType) !== null && _ref2 !== void 0 ? _ref2 : 'primary';
89
+ _this.showType = (_ref3 = props === null || props === void 0 ? void 0 : props.showType) !== null && _ref3 !== void 0 ? _ref3 : 'iconText';
90
+ _this.color = (_ref4 = props === null || props === void 0 ? void 0 : props.color) !== null && _ref4 !== void 0 ? _ref4 : 'danger';
91
+ _this.isHide = (_ref5 = props === null || props === void 0 ? void 0 : props.isHide) !== null && _ref5 !== void 0 ? _ref5 : false;
98
92
  // @余石伟 按钮需要有默认icon
99
- _this.defaultState = (_props_defaultState = props === null || props === void 0 ? void 0 : props.defaultState) !== null && _props_defaultState !== void 0 ? _props_defaultState : 'default';
100
- var _props_command;
101
- _this.command = (_props_command = props === null || props === void 0 ? void 0 : props.command) !== null && _props_command !== void 0 ? _props_command : 'custom';
102
- var _props_isLoading;
103
- _this.isLoading = (_props_isLoading = props === null || props === void 0 ? void 0 : props.isLoading) !== null && _props_isLoading !== void 0 ? _props_isLoading : false;
93
+ _this.defaultState = (_ref6 = props === null || props === void 0 ? void 0 : props.defaultState) !== null && _ref6 !== void 0 ? _ref6 : 'default';
94
+ _this.command = (_ref7 = props === null || props === void 0 ? void 0 : props.command) !== null && _ref7 !== void 0 ? _ref7 : 'custom';
95
+ _this.isLoading = (_ref8 = props === null || props === void 0 ? void 0 : props.isLoading) !== null && _ref8 !== void 0 ? _ref8 : false;
104
96
  return _this;
105
97
  }
106
98
  return BatchDeleteButtonProperty;
@@ -97,21 +97,17 @@ var BatchPrintListButtonProperty = /*#__PURE__*/ function(ButtonProperty) {
97
97
  function BatchPrintListButtonProperty(props) {
98
98
  _class_call_check(this, BatchPrintListButtonProperty);
99
99
  var _this;
100
+ var _ref, _ref1, _ref2, _ref3;
100
101
  var _props_printTemplates;
101
102
  _this = _call_super(this, BatchPrintListButtonProperty, [
102
103
  props
103
- ]), _define_property(_this, "printTemplates", void 0), _define_property(_this, "autoSelectTemplate", void 0 //自动选择模板 默认 false
104
- );
105
- var _props_icon;
106
- _this.icon = (_props_icon = props === null || props === void 0 ? void 0 : props.icon) !== null && _props_icon !== void 0 ? _props_icon : BatchPrintListButtonControl.controlIcon;
107
- var _props_content;
108
- _this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content : BatchPrintListButtonControl.controlName;
109
- var _props_printTemplates_map;
110
- _this.printTemplates = (_props_printTemplates_map = props === null || props === void 0 ? void 0 : (_props_printTemplates = props.printTemplates) === null || _props_printTemplates === void 0 ? void 0 : _props_printTemplates.map(function(item) {
104
+ ]), _define_property(_this, "printTemplates", void 0), _define_property(_this, "autoSelectTemplate", void 0);
105
+ _this.icon = (_ref = props === null || props === void 0 ? void 0 : props.icon) !== null && _ref !== void 0 ? _ref : BatchPrintListButtonControl.controlIcon;
106
+ _this.content = (_ref1 = props === null || props === void 0 ? void 0 : props.content) !== null && _ref1 !== void 0 ? _ref1 : BatchPrintListButtonControl.controlName;
107
+ _this.printTemplates = (_ref2 = props === null || props === void 0 ? void 0 : (_props_printTemplates = props.printTemplates) === null || _props_printTemplates === void 0 ? void 0 : _props_printTemplates.map(function(item) {
111
108
  return new PrintTemplate(item);
112
- })) !== null && _props_printTemplates_map !== void 0 ? _props_printTemplates_map : [];
113
- var _props_autoSelectTemplate;
114
- _this.autoSelectTemplate = (_props_autoSelectTemplate = props === null || props === void 0 ? void 0 : props.autoSelectTemplate) !== null && _props_autoSelectTemplate !== void 0 ? _props_autoSelectTemplate : false;
109
+ })) !== null && _ref2 !== void 0 ? _ref2 : [];
110
+ _this.autoSelectTemplate = (_ref3 = props === null || props === void 0 ? void 0 : props.autoSelectTemplate) !== null && _ref3 !== void 0 ? _ref3 : false;
115
111
  return _this;
116
112
  }
117
113
  return BatchPrintListButtonProperty;
@@ -65,13 +65,12 @@ var BatchPrintRecordListButtonProperty = /*#__PURE__*/ function(ButtonProperty)
65
65
  function BatchPrintRecordListButtonProperty(props) {
66
66
  _class_call_check(this, BatchPrintRecordListButtonProperty);
67
67
  var _this;
68
+ var _ref, _ref1;
68
69
  _this = _call_super(this, BatchPrintRecordListButtonProperty, [
69
70
  props
70
71
  ]);
71
- var _props_content;
72
- _this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content : BatchPrintRecordListButton.controlName;
73
- var _props_icon;
74
- _this.icon = (_props_icon = props === null || props === void 0 ? void 0 : props.icon) !== null && _props_icon !== void 0 ? _props_icon : BatchPrintRecordListButton.controlIcon;
72
+ _this.content = (_ref = props === null || props === void 0 ? void 0 : props.content) !== null && _ref !== void 0 ? _ref : BatchPrintRecordListButton.controlName;
73
+ _this.icon = (_ref1 = props === null || props === void 0 ? void 0 : props.icon) !== null && _ref1 !== void 0 ? _ref1 : BatchPrintRecordListButton.controlIcon;
75
74
  return _this;
76
75
  }
77
76
  return BatchPrintRecordListButtonProperty;
@@ -103,29 +103,16 @@ var BatchSubmissionListButtonProperty = /*#__PURE__*/ function(ButtonProperty) {
103
103
  function BatchSubmissionListButtonProperty(props) {
104
104
  _class_call_check(this, BatchSubmissionListButtonProperty);
105
105
  var _this;
106
+ var _ref, _ref1, _ref2, _ref3, _ref4, _ref5;
106
107
  _this = _call_super(this, BatchSubmissionListButtonProperty, [
107
108
  props
108
- ]), /**
109
- * 绑定的流程key
110
- * */ _define_property(_this, "processKey", void 0), /**
111
- * 'assigned' 指定操作人
112
- * 'currentInitiator' 当前登录人
113
- * */ _define_property(_this, "initiatorMode", void 0), // TODO 不知道干嘛的属性
114
- _define_property(_this, "fieldCode", void 0), /**
115
- * 指定人员的id
116
- * */ _define_property(_this, "employeeId", void 0);
117
- var _props_icon;
118
- _this.icon = (_props_icon = props === null || props === void 0 ? void 0 : props.icon) !== null && _props_icon !== void 0 ? _props_icon : BatchSubmissionListButtonControl.controlIcon;
119
- var _props_content;
120
- _this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content : BatchSubmissionListButtonControl.controlName;
121
- var _props_initiatorMode;
122
- _this.initiatorMode = (_props_initiatorMode = props === null || props === void 0 ? void 0 : props.initiatorMode) !== null && _props_initiatorMode !== void 0 ? _props_initiatorMode : 'currentInitiator';
123
- var _props_processKey;
124
- _this.processKey = (_props_processKey = props === null || props === void 0 ? void 0 : props.processKey) !== null && _props_processKey !== void 0 ? _props_processKey : '';
125
- var _props_fieldCode;
126
- _this.fieldCode = (_props_fieldCode = props === null || props === void 0 ? void 0 : props.fieldCode) !== null && _props_fieldCode !== void 0 ? _props_fieldCode : '';
127
- var _props_employeeId;
128
- _this.employeeId = (_props_employeeId = props === null || props === void 0 ? void 0 : props.employeeId) !== null && _props_employeeId !== void 0 ? _props_employeeId : '';
109
+ ]), _define_property(_this, "processKey", void 0), _define_property(_this, "initiatorMode", void 0), _define_property(_this, "fieldCode", void 0), _define_property(_this, "employeeId", void 0);
110
+ _this.icon = (_ref = props === null || props === void 0 ? void 0 : props.icon) !== null && _ref !== void 0 ? _ref : BatchSubmissionListButtonControl.controlIcon;
111
+ _this.content = (_ref1 = props === null || props === void 0 ? void 0 : props.content) !== null && _ref1 !== void 0 ? _ref1 : BatchSubmissionListButtonControl.controlName;
112
+ _this.initiatorMode = (_ref2 = props === null || props === void 0 ? void 0 : props.initiatorMode) !== null && _ref2 !== void 0 ? _ref2 : 'currentInitiator';
113
+ _this.processKey = (_ref3 = props === null || props === void 0 ? void 0 : props.processKey) !== null && _ref3 !== void 0 ? _ref3 : '';
114
+ _this.fieldCode = (_ref4 = props === null || props === void 0 ? void 0 : props.fieldCode) !== null && _ref4 !== void 0 ? _ref4 : '';
115
+ _this.employeeId = (_ref5 = props === null || props === void 0 ? void 0 : props.employeeId) !== null && _ref5 !== void 0 ? _ref5 : '';
129
116
  return _this;
130
117
  }
131
118
  return BatchSubmissionListButtonProperty;
@@ -78,61 +78,20 @@ var ButtonProperty = /*#__PURE__*/ function(Property) {
78
78
  function ButtonProperty(props) {
79
79
  _class_call_check(this, ButtonProperty);
80
80
  var _this;
81
+ var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8;
81
82
  _this = _call_super(this, ButtonProperty, [
82
83
  props
83
- ]), /**
84
- * 按钮标题
85
- * @public
86
- * @defaultValue ''
87
- */ _define_property(_this, "content", void 0), // public buttonType: 'primary' | 'secondary' | 'default' | 'danger'
88
- /**
89
- * 按钮类型
90
- * @public
91
- * @defaultValue 'primary'
92
- */ _define_property(_this, "buttonType", void 0), /**
93
- * 显示形式
94
- * @public
95
- * @defaultValue 'text'
96
- */ _define_property(_this, "showType", void 0), /**
97
- * 颜色
98
- * @public
99
- * @defaultValue 'primary'
100
- */ _define_property(_this, "color", void 0), /**
101
- * 图标
102
- * @public
103
- * @defaultValue ''
104
- */ _define_property(_this, "icon", void 0), _define_property(_this, "defaultState", void 0), /**
105
- * 按钮命令
106
- * @public
107
- * @defaultValue ''
108
- */ _define_property(_this, "command", void 0), /**
109
- * 加载中
110
- * @public
111
- * @defaultValue ''
112
- */ _define_property(_this, "isLoading", void 0), /**
113
- * 操作项
114
- * @public
115
- * @defaultValue ''
116
- */ _define_property(_this, "optObj", void 0);
117
- var _props_content;
118
- _this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content : getLocaleText('CMD.button', null, '按钮');
119
- var _props_buttonType;
120
- _this.buttonType = (_props_buttonType = props === null || props === void 0 ? void 0 : props.buttonType) !== null && _props_buttonType !== void 0 ? _props_buttonType : 'primary';
121
- var _props_showType;
122
- _this.showType = (_props_showType = props === null || props === void 0 ? void 0 : props.showType) !== null && _props_showType !== void 0 ? _props_showType : 'text';
123
- var _props_color;
124
- _this.color = (_props_color = props === null || props === void 0 ? void 0 : props.color) !== null && _props_color !== void 0 ? _props_color : 'primary';
125
- var _props_icon;
84
+ ]), _define_property(_this, "content", void 0), _define_property(_this, "buttonType", void 0), _define_property(_this, "showType", void 0), _define_property(_this, "color", void 0), _define_property(_this, "icon", void 0), _define_property(_this, "defaultState", void 0), _define_property(_this, "command", void 0), _define_property(_this, "isLoading", void 0), _define_property(_this, "optObj", void 0);
85
+ _this.content = (_ref = props === null || props === void 0 ? void 0 : props.content) !== null && _ref !== void 0 ? _ref : getLocaleText('CMD.button', null, '按钮');
86
+ _this.buttonType = (_ref1 = props === null || props === void 0 ? void 0 : props.buttonType) !== null && _ref1 !== void 0 ? _ref1 : 'primary';
87
+ _this.showType = (_ref2 = props === null || props === void 0 ? void 0 : props.showType) !== null && _ref2 !== void 0 ? _ref2 : 'text';
88
+ _this.color = (_ref3 = props === null || props === void 0 ? void 0 : props.color) !== null && _ref3 !== void 0 ? _ref3 : 'primary';
126
89
  // @余石伟 按钮需要有默认icon
127
- _this.icon = (_props_icon = props === null || props === void 0 ? void 0 : props.icon) !== null && _props_icon !== void 0 ? _props_icon : 'iconfenlei2';
128
- var _props_defaultState;
129
- _this.defaultState = (_props_defaultState = props === null || props === void 0 ? void 0 : props.defaultState) !== null && _props_defaultState !== void 0 ? _props_defaultState : 'default';
130
- var _props_command;
131
- _this.command = (_props_command = props === null || props === void 0 ? void 0 : props.command) !== null && _props_command !== void 0 ? _props_command : 'custom';
132
- var _props_isLoading;
133
- _this.isLoading = (_props_isLoading = props === null || props === void 0 ? void 0 : props.isLoading) !== null && _props_isLoading !== void 0 ? _props_isLoading : false;
134
- var _props_optObj;
135
- _this.optObj = new OptObject((_props_optObj = props === null || props === void 0 ? void 0 : props.optObj) !== null && _props_optObj !== void 0 ? _props_optObj : {});
90
+ _this.icon = (_ref4 = props === null || props === void 0 ? void 0 : props.icon) !== null && _ref4 !== void 0 ? _ref4 : 'iconfenlei2';
91
+ _this.defaultState = (_ref5 = props === null || props === void 0 ? void 0 : props.defaultState) !== null && _ref5 !== void 0 ? _ref5 : 'default';
92
+ _this.command = (_ref6 = props === null || props === void 0 ? void 0 : props.command) !== null && _ref6 !== void 0 ? _ref6 : 'custom';
93
+ _this.isLoading = (_ref7 = props === null || props === void 0 ? void 0 : props.isLoading) !== null && _ref7 !== void 0 ? _ref7 : false;
94
+ _this.optObj = new OptObject((_ref8 = props === null || props === void 0 ? void 0 : props.optObj) !== null && _ref8 !== void 0 ? _ref8 : {});
136
95
  return _this;
137
96
  }
138
97
  return ButtonProperty;
@@ -77,11 +77,11 @@ var CommentProperty = /*#__PURE__*/ function(Property) {
77
77
  function CommentProperty(props) {
78
78
  _class_call_check(this, CommentProperty);
79
79
  var _this;
80
+ var _ref;
80
81
  _this = _call_super(this, CommentProperty, [
81
82
  props
82
83
  ]), _define_property(_this, "content", void 0), _define_property(_this, "commentOptions", void 0);
83
- var _props_content;
84
- _this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content : '';
84
+ _this.content = (_ref = props === null || props === void 0 ? void 0 : props.content) !== null && _ref !== void 0 ? _ref : '';
85
85
  _this.commentOptions = (props === null || props === void 0 ? void 0 : props.commentOptions) || [];
86
86
  return _this;
87
87
  }
@@ -97,17 +97,14 @@ var CreateFormListButtonProperty = /*#__PURE__*/ function(ButtonProperty) {
97
97
  function CreateFormListButtonProperty(props) {
98
98
  _class_call_check(this, CreateFormListButtonProperty);
99
99
  var _this;
100
+ var _ref, _ref1, _ref2, _ref3;
100
101
  _this = _call_super(this, CreateFormListButtonProperty, [
101
102
  props
102
103
  ]), _define_property(_this, "formKey", void 0), _define_property(_this, "openType", void 0);
103
- var _props_icon;
104
- _this.icon = (_props_icon = props === null || props === void 0 ? void 0 : props.icon) !== null && _props_icon !== void 0 ? _props_icon : CreateFormListButtonControl.controlIcon;
105
- var _props_content;
106
- _this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content : CreateFormListButtonControl.controlName;
107
- var _props_formKey;
108
- _this.formKey = (_props_formKey = props === null || props === void 0 ? void 0 : props.formKey) !== null && _props_formKey !== void 0 ? _props_formKey : '';
109
- var _props_openType;
110
- _this.openType = (_props_openType = props === null || props === void 0 ? void 0 : props.openType) !== null && _props_openType !== void 0 ? _props_openType : 'modal';
104
+ _this.icon = (_ref = props === null || props === void 0 ? void 0 : props.icon) !== null && _ref !== void 0 ? _ref : CreateFormListButtonControl.controlIcon;
105
+ _this.content = (_ref1 = props === null || props === void 0 ? void 0 : props.content) !== null && _ref1 !== void 0 ? _ref1 : CreateFormListButtonControl.controlName;
106
+ _this.formKey = (_ref2 = props === null || props === void 0 ? void 0 : props.formKey) !== null && _ref2 !== void 0 ? _ref2 : '';
107
+ _this.openType = (_ref3 = props === null || props === void 0 ? void 0 : props.openType) !== null && _ref3 !== void 0 ? _ref3 : 'modal';
111
108
  return _this;
112
109
  }
113
110
  return CreateFormListButtonProperty;
@@ -119,25 +119,18 @@ var DashboardProperty = /*#__PURE__*/ function(Property) {
119
119
  function DashboardProperty(props) {
120
120
  _class_call_check(this, DashboardProperty);
121
121
  var _this;
122
+ var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7;
122
123
  _this = _call_super(this, DashboardProperty, [
123
124
  props
124
125
  ]), _define_property(_this, "dashboardKey", void 0), _define_property(_this, "caption", void 0), _define_property(_this, "isHideCaption", void 0), _define_property(_this, "isShowCaptionTip", void 0), _define_property(_this, "captionTip", void 0), _define_property(_this, "labelPosition", void 0), _define_property(_this, "isShowReportParams", void 0), _define_property(_this, "reportParams", void 0);
125
- var _props_dashboardKey;
126
- _this.dashboardKey = (_props_dashboardKey = props === null || props === void 0 ? void 0 : props.dashboardKey) !== null && _props_dashboardKey !== void 0 ? _props_dashboardKey : '';
127
- var _props_caption;
128
- _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : '';
129
- var _props_isHideCaption;
130
- _this.isHideCaption = (_props_isHideCaption = props === null || props === void 0 ? void 0 : props.isHideCaption) !== null && _props_isHideCaption !== void 0 ? _props_isHideCaption : false;
131
- var _props_isShowCaptionTip;
132
- _this.isShowCaptionTip = (_props_isShowCaptionTip = props === null || props === void 0 ? void 0 : props.isShowCaptionTip) !== null && _props_isShowCaptionTip !== void 0 ? _props_isShowCaptionTip : false;
133
- var _props_captionTip;
134
- _this.captionTip = (_props_captionTip = props === null || props === void 0 ? void 0 : props.captionTip) !== null && _props_captionTip !== void 0 ? _props_captionTip : '';
135
- var _props_labelPosition;
136
- _this.labelPosition = (_props_labelPosition = props === null || props === void 0 ? void 0 : props.labelPosition) !== null && _props_labelPosition !== void 0 ? _props_labelPosition : 'top';
137
- var _props_isShowReportParams;
138
- _this.isShowReportParams = (_props_isShowReportParams = props === null || props === void 0 ? void 0 : props.isShowReportParams) !== null && _props_isShowReportParams !== void 0 ? _props_isShowReportParams : false;
139
- var _props_reportParams;
140
- _this.reportParams = (_props_reportParams = props === null || props === void 0 ? void 0 : props.reportParams) !== null && _props_reportParams !== void 0 ? _props_reportParams : [];
126
+ _this.dashboardKey = (_ref = props === null || props === void 0 ? void 0 : props.dashboardKey) !== null && _ref !== void 0 ? _ref : '';
127
+ _this.caption = (_ref1 = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref1 !== void 0 ? _ref1 : '';
128
+ _this.isHideCaption = (_ref2 = props === null || props === void 0 ? void 0 : props.isHideCaption) !== null && _ref2 !== void 0 ? _ref2 : false;
129
+ _this.isShowCaptionTip = (_ref3 = props === null || props === void 0 ? void 0 : props.isShowCaptionTip) !== null && _ref3 !== void 0 ? _ref3 : false;
130
+ _this.captionTip = (_ref4 = props === null || props === void 0 ? void 0 : props.captionTip) !== null && _ref4 !== void 0 ? _ref4 : '';
131
+ _this.labelPosition = (_ref5 = props === null || props === void 0 ? void 0 : props.labelPosition) !== null && _ref5 !== void 0 ? _ref5 : 'top';
132
+ _this.isShowReportParams = (_ref6 = props === null || props === void 0 ? void 0 : props.isShowReportParams) !== null && _ref6 !== void 0 ? _ref6 : false;
133
+ _this.reportParams = (_ref7 = props === null || props === void 0 ? void 0 : props.reportParams) !== null && _ref7 !== void 0 ? _ref7 : [];
141
134
  return _this;
142
135
  }
143
136
  return DashboardProperty;
@@ -127,9 +127,41 @@ _define_property(DividerControl, "setting", [
127
127
  visible: true
128
128
  },
129
129
  {
130
- key: 'color',
130
+ key: 'caption-style',
131
+ showItems: [
132
+ COMMON_SETTING_TYPE.CAPTION_SIZE,
133
+ COMMON_SETTING_TYPE.CAPTION_COLOR,
134
+ COMMON_SETTING_TYPE.IS_CAPTION_ITALIC,
135
+ COMMON_SETTING_TYPE.CAPTION_FONT_WEIGHT
136
+ ],
131
137
  visible: true
132
138
  },
139
+ {
140
+ key: 'content',
141
+ visible: true
142
+ },
143
+ {
144
+ key: 'common-button-radio',
145
+ visible: true,
146
+ name: 'position',
147
+ label: '文字位置',
148
+ default: 'left',
149
+ options: [
150
+ {
151
+ value: 'left',
152
+ label: '左对齐'
153
+ },
154
+ {
155
+ value: 'center',
156
+ label: '居中'
157
+ },
158
+ {
159
+ value: 'right',
160
+ label: '右对齐'
161
+ }
162
+ ]
163
+ },
164
+ // { key: 'color', visible: true },
133
165
  {
134
166
  key: 'common-setting',
135
167
  visible: true,
@@ -1,4 +1,3 @@
1
- // 线条样式类名
2
1
  function _assert_this_initialized(self) {
3
2
  if (self === void 0) {
4
3
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
@@ -71,21 +70,27 @@ function _is_native_reflect_construct() {
71
70
  return !!result;
72
71
  })();
73
72
  }
73
+ // 线条样式类名
74
74
  import { Property } from '@byteluck-fe/model-driven-core';
75
- import { LINE_STYLE } from '../../framework';
75
+ import { LINE_STYLE, FONT_WEIGHT } from '../../framework';
76
76
  var DividerProperty = /*#__PURE__*/ function(Property) {
77
77
  "use strict";
78
78
  _inherits(DividerProperty, Property);
79
79
  function DividerProperty(props) {
80
80
  _class_call_check(this, DividerProperty);
81
81
  var _this;
82
+ var _ref, _ref1, _ref2, _ref3, _ref4;
82
83
  _this = _call_super(this, DividerProperty, [
83
84
  props
84
- ]), _define_property(_this, "color", void 0), _define_property(_this, "lineStyle", void 0);
85
- var _props_color;
86
- _this.color = (_props_color = props === null || props === void 0 ? void 0 : props.color) !== null && _props_color !== void 0 ? _props_color : '#000';
87
- var _props_lineStyle;
88
- _this.lineStyle = (_props_lineStyle = props === null || props === void 0 ? void 0 : props.lineStyle) !== null && _props_lineStyle !== void 0 ? _props_lineStyle : LINE_STYLE.SOLID;
85
+ ]), _define_property(_this, "color", void 0), _define_property(_this, "lineStyle", void 0), _define_property(_this, "content", void 0), _define_property(_this, "position", void 0), _define_property(_this, "captionSize", void 0), _define_property(_this, "captionColor", void 0), _define_property(_this, "isCaptionItalic", void 0), _define_property(_this, "captionFontWeight", void 0);
86
+ _this.color = (_ref = props === null || props === void 0 ? void 0 : props.color) !== null && _ref !== void 0 ? _ref : '#000';
87
+ _this.lineStyle = (_ref1 = props === null || props === void 0 ? void 0 : props.lineStyle) !== null && _ref1 !== void 0 ? _ref1 : LINE_STYLE.SOLID;
88
+ _this.content = (_ref2 = props === null || props === void 0 ? void 0 : props.content) !== null && _ref2 !== void 0 ? _ref2 : '';
89
+ _this.position = (_ref3 = props === null || props === void 0 ? void 0 : props.position) !== null && _ref3 !== void 0 ? _ref3 : 'left';
90
+ _this.captionColor = (props === null || props === void 0 ? void 0 : props.captionColor) || '';
91
+ _this.captionSize = (props === null || props === void 0 ? void 0 : props.captionSize) || '';
92
+ _this.isCaptionItalic = (props === null || props === void 0 ? void 0 : props.isCaptionItalic) || false;
93
+ _this.captionFontWeight = (_ref4 = props === null || props === void 0 ? void 0 : props.captionFontWeight) !== null && _ref4 !== void 0 ? _ref4 : FONT_WEIGHT.NORMAL;
89
94
  return _this;
90
95
  }
91
96
  return DividerProperty;
@@ -80,20 +80,17 @@ var ExportListButtonProperty = /*#__PURE__*/ function(ButtonProperty) {
80
80
  function ExportListButtonProperty(props) {
81
81
  _class_call_check(this, ExportListButtonProperty);
82
82
  var _this;
83
+ var _ref, _ref1, _ref2, _ref3;
83
84
  var _props_templateList;
84
85
  _this = _call_super(this, ExportListButtonProperty, [
85
86
  props
86
87
  ]), _define_property(_this, "templateList", void 0), _define_property(_this, "templateType", void 0);
87
- var _props_icon;
88
- _this.icon = (_props_icon = props === null || props === void 0 ? void 0 : props.icon) !== null && _props_icon !== void 0 ? _props_icon : ExportListButtonControl.controlIcon;
89
- var _props_content;
90
- _this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content : ExportListButtonControl.controlName;
91
- var _props_templateType;
92
- _this.templateType = (_props_templateType = props === null || props === void 0 ? void 0 : props.templateType) !== null && _props_templateType !== void 0 ? _props_templateType : 'system';
93
- var _props_templateList_map;
94
- _this.templateList = (_props_templateList_map = props === null || props === void 0 ? void 0 : (_props_templateList = props.templateList) === null || _props_templateList === void 0 ? void 0 : _props_templateList.map(function(item) {
88
+ _this.icon = (_ref = props === null || props === void 0 ? void 0 : props.icon) !== null && _ref !== void 0 ? _ref : ExportListButtonControl.controlIcon;
89
+ _this.content = (_ref1 = props === null || props === void 0 ? void 0 : props.content) !== null && _ref1 !== void 0 ? _ref1 : ExportListButtonControl.controlName;
90
+ _this.templateType = (_ref2 = props === null || props === void 0 ? void 0 : props.templateType) !== null && _ref2 !== void 0 ? _ref2 : 'system';
91
+ _this.templateList = (_ref3 = props === null || props === void 0 ? void 0 : (_props_templateList = props.templateList) === null || _props_templateList === void 0 ? void 0 : _props_templateList.map(function(item) {
95
92
  return new ExportTemplate(item);
96
- })) !== null && _props_templateList_map !== void 0 ? _props_templateList_map : [
93
+ })) !== null && _ref3 !== void 0 ? _ref3 : [
97
94
  new ExportTemplate({
98
95
  id: 'default',
99
96
  name: getLocaleText('CMD.defaultTemplate', null, '默认模版'),
@@ -65,13 +65,12 @@ var ExportRecordListButtonProperty = /*#__PURE__*/ function(ButtonProperty) {
65
65
  function ExportRecordListButtonProperty(props) {
66
66
  _class_call_check(this, ExportRecordListButtonProperty);
67
67
  var _this;
68
+ var _ref, _ref1;
68
69
  _this = _call_super(this, ExportRecordListButtonProperty, [
69
70
  props
70
71
  ]);
71
- var _props_content;
72
- _this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content : ExportRecordListButtonControl.controlName;
73
- var _props_icon;
74
- _this.icon = (_props_icon = props === null || props === void 0 ? void 0 : props.icon) !== null && _props_icon !== void 0 ? _props_icon : ExportRecordListButtonControl.controlIcon;
72
+ _this.content = (_ref = props === null || props === void 0 ? void 0 : props.content) !== null && _ref !== void 0 ? _ref : ExportRecordListButtonControl.controlName;
73
+ _this.icon = (_ref1 = props === null || props === void 0 ? void 0 : props.icon) !== null && _ref1 !== void 0 ? _ref1 : ExportRecordListButtonControl.controlIcon;
75
74
  return _this;
76
75
  }
77
76
  return ExportRecordListButtonProperty;
@@ -138,15 +138,13 @@ var FormSelectButtonProperty = /*#__PURE__*/ function(ButtonProperty) {
138
138
  function FormSelectButtonProperty(props) {
139
139
  _class_call_check(this, FormSelectButtonProperty);
140
140
  var _this;
141
+ var _ref, _ref1, _ref2;
141
142
  _this = _call_super(this, FormSelectButtonProperty, [
142
143
  props
143
144
  ]), _define_property(_this, "fillPayload", void 0), _define_property(_this, "formBind", void 0), _define_property(_this, "fillBack", void 0), _define_property(_this, "command", void 0);
144
- var _props_content;
145
- _this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content : FormSelectButtonControl.controlName;
146
- var _props_icon;
147
- _this.icon = (_props_icon = props === null || props === void 0 ? void 0 : props.icon) !== null && _props_icon !== void 0 ? _props_icon : FormSelectButtonControl.controlIcon;
148
- var _props_command;
149
- _this.command = (_props_command = props === null || props === void 0 ? void 0 : props.command) !== null && _props_command !== void 0 ? _props_command : 'create';
145
+ _this.content = (_ref = props === null || props === void 0 ? void 0 : props.content) !== null && _ref !== void 0 ? _ref : FormSelectButtonControl.controlName;
146
+ _this.icon = (_ref1 = props === null || props === void 0 ? void 0 : props.icon) !== null && _ref1 !== void 0 ? _ref1 : FormSelectButtonControl.controlIcon;
147
+ _this.command = (_ref2 = props === null || props === void 0 ? void 0 : props.command) !== null && _ref2 !== void 0 ? _ref2 : 'create';
150
148
  _this.fillPayload = new FillPayloadBind(props === null || props === void 0 ? void 0 : props.fillPayload);
151
149
  _this.formBind = new FormSelectBind(props === null || props === void 0 ? void 0 : props.formBind);
152
150
  _this.fillBack = new FillBackBind(props === null || props === void 0 ? void 0 : props.fillBack);
@@ -84,22 +84,17 @@ var ImportRecordListButtonProperty = /*#__PURE__*/ function(ButtonProperty) {
84
84
  function ImportRecordListButtonProperty(props) {
85
85
  _class_call_check(this, ImportRecordListButtonProperty);
86
86
  var _this;
87
+ var _ref, _ref1, _ref2, _ref3;
87
88
  var _props_canImportList;
88
89
  _this = _call_super(this, ImportRecordListButtonProperty, [
89
90
  props
90
- ]), /*
91
- * 可以导入的数据
92
- * */ _define_property(_this, "canImportList", void 0), _define_property(_this, "templateType", void 0);
93
- var _props_content;
94
- _this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content : ImportRecordListButtonControl.controlName;
95
- var _props_icon;
96
- _this.icon = (_props_icon = props === null || props === void 0 ? void 0 : props.icon) !== null && _props_icon !== void 0 ? _props_icon : ImportRecordListButtonControl.controlIcon;
97
- var _props_canImportList_map;
98
- _this.canImportList = (_props_canImportList_map = props === null || props === void 0 ? void 0 : (_props_canImportList = props.canImportList) === null || _props_canImportList === void 0 ? void 0 : _props_canImportList.map(function(item) {
91
+ ]), _define_property(_this, "canImportList", void 0), _define_property(_this, "templateType", void 0);
92
+ _this.content = (_ref = props === null || props === void 0 ? void 0 : props.content) !== null && _ref !== void 0 ? _ref : ImportRecordListButtonControl.controlName;
93
+ _this.icon = (_ref1 = props === null || props === void 0 ? void 0 : props.icon) !== null && _ref1 !== void 0 ? _ref1 : ImportRecordListButtonControl.controlIcon;
94
+ _this.canImportList = (_ref2 = props === null || props === void 0 ? void 0 : (_props_canImportList = props.canImportList) === null || _props_canImportList === void 0 ? void 0 : _props_canImportList.map(function(item) {
99
95
  return new ImportListBind(item);
100
- })) !== null && _props_canImportList_map !== void 0 ? _props_canImportList_map : [];
101
- var _props_templateType;
102
- _this.templateType = (_props_templateType = props === null || props === void 0 ? void 0 : props.templateType) !== null && _props_templateType !== void 0 ? _props_templateType : 'system';
96
+ })) !== null && _ref2 !== void 0 ? _ref2 : [];
97
+ _this.templateType = (_ref3 = props === null || props === void 0 ? void 0 : props.templateType) !== null && _ref3 !== void 0 ? _ref3 : 'system';
103
98
  return _this;
104
99
  }
105
100
  return ImportRecordListButtonProperty;
@@ -126,30 +126,22 @@ var InvoiceCheckButtonProperty = /*#__PURE__*/ function(ButtonProperty) {
126
126
  function InvoiceCheckButtonProperty(props) {
127
127
  _class_call_check(this, InvoiceCheckButtonProperty);
128
128
  var _this;
129
+ var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8;
129
130
  var _props_fillList;
130
131
  _this = _call_super(this, InvoiceCheckButtonProperty, [
131
132
  props
132
133
  ]), _define_property(_this, "caption", void 0), _define_property(_this, "isHideCaption", void 0), _define_property(_this, "isShowCaptionTip", void 0), _define_property(_this, "captionTip", void 0), _define_property(_this, "labelPosition", void 0), _define_property(_this, "invoiceCheck", void 0), _define_property(_this, "fillList", void 0);
133
- var _props_caption;
134
- _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : InvoiceCheckButtonControl.controlName;
135
- var _props_isHideCaption;
136
- _this.isHideCaption = (_props_isHideCaption = props === null || props === void 0 ? void 0 : props.isHideCaption) !== null && _props_isHideCaption !== void 0 ? _props_isHideCaption : false;
137
- var _props_isShowCaptionTip;
138
- _this.isShowCaptionTip = (_props_isShowCaptionTip = props === null || props === void 0 ? void 0 : props.isShowCaptionTip) !== null && _props_isShowCaptionTip !== void 0 ? _props_isShowCaptionTip : false;
139
- var _props_captionTip;
140
- _this.captionTip = (_props_captionTip = props === null || props === void 0 ? void 0 : props.captionTip) !== null && _props_captionTip !== void 0 ? _props_captionTip : '';
141
- var _props_labelPosition;
142
- _this.labelPosition = (_props_labelPosition = props === null || props === void 0 ? void 0 : props.labelPosition) !== null && _props_labelPosition !== void 0 ? _props_labelPosition : 'top';
143
- var _props_content;
144
- _this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content : InvoiceCheckButtonControl.controlName;
145
- var _props_icon;
146
- _this.icon = (_props_icon = props === null || props === void 0 ? void 0 : props.icon) !== null && _props_icon !== void 0 ? _props_icon : InvoiceCheckButtonControl.controlIcon;
147
- var _props_invoiceCheck;
148
- _this.invoiceCheck = (_props_invoiceCheck = props === null || props === void 0 ? void 0 : props.invoiceCheck) !== null && _props_invoiceCheck !== void 0 ? _props_invoiceCheck : true;
149
- var _props_fillList_map;
150
- _this.fillList = (_props_fillList_map = props === null || props === void 0 ? void 0 : (_props_fillList = props.fillList) === null || _props_fillList === void 0 ? void 0 : _props_fillList.map(function(item) {
134
+ _this.caption = (_ref = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref !== void 0 ? _ref : InvoiceCheckButtonControl.controlName;
135
+ _this.isHideCaption = (_ref1 = props === null || props === void 0 ? void 0 : props.isHideCaption) !== null && _ref1 !== void 0 ? _ref1 : false;
136
+ _this.isShowCaptionTip = (_ref2 = props === null || props === void 0 ? void 0 : props.isShowCaptionTip) !== null && _ref2 !== void 0 ? _ref2 : false;
137
+ _this.captionTip = (_ref3 = props === null || props === void 0 ? void 0 : props.captionTip) !== null && _ref3 !== void 0 ? _ref3 : '';
138
+ _this.labelPosition = (_ref4 = props === null || props === void 0 ? void 0 : props.labelPosition) !== null && _ref4 !== void 0 ? _ref4 : 'top';
139
+ _this.content = (_ref5 = props === null || props === void 0 ? void 0 : props.content) !== null && _ref5 !== void 0 ? _ref5 : InvoiceCheckButtonControl.controlName;
140
+ _this.icon = (_ref6 = props === null || props === void 0 ? void 0 : props.icon) !== null && _ref6 !== void 0 ? _ref6 : InvoiceCheckButtonControl.controlIcon;
141
+ _this.invoiceCheck = (_ref7 = props === null || props === void 0 ? void 0 : props.invoiceCheck) !== null && _ref7 !== void 0 ? _ref7 : true;
142
+ _this.fillList = (_ref8 = props === null || props === void 0 ? void 0 : (_props_fillList = props.fillList) === null || _props_fillList === void 0 ? void 0 : _props_fillList.map(function(item) {
151
143
  return new MultistageFillingItem(item);
152
- })) !== null && _props_fillList_map !== void 0 ? _props_fillList_map : [];
144
+ })) !== null && _ref8 !== void 0 ? _ref8 : [];
153
145
  return _this;
154
146
  }
155
147
  return InvoiceCheckButtonProperty;
@@ -133,6 +133,43 @@ _define_property(LinkControl, "setting", [
133
133
  key: 'link-url',
134
134
  visible: true
135
135
  },
136
+ {
137
+ key: 'description',
138
+ visible: true
139
+ },
140
+ {
141
+ key: 'common-button-radio',
142
+ visible: true,
143
+ name: 'position',
144
+ label: '文本位置',
145
+ default: 'left',
146
+ options: [
147
+ {
148
+ value: 'left',
149
+ label: '左对齐'
150
+ },
151
+ {
152
+ value: 'center',
153
+ label: '居中'
154
+ },
155
+ {
156
+ value: 'right',
157
+ label: '右对齐'
158
+ }
159
+ ]
160
+ },
161
+ {
162
+ key: 'common-color-type',
163
+ visible: true
164
+ },
165
+ {
166
+ key: 'common-icon',
167
+ visible: true
168
+ },
169
+ {
170
+ key: 'script-setting',
171
+ visible: true
172
+ },
136
173
  {
137
174
  key: 'common-setting',
138
175
  visible: true,
@@ -78,15 +78,19 @@ var LinkProperty = /*#__PURE__*/ function(Property) {
78
78
  function LinkProperty(props) {
79
79
  _class_call_check(this, LinkProperty);
80
80
  var _this;
81
+ var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8;
81
82
  _this = _call_super(this, LinkProperty, [
82
83
  props
83
- ]), _define_property(_this, "content", void 0), _define_property(_this, "url", void 0), _define_property(_this, "openMode", void 0);
84
- var _props_content;
85
- _this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content : getLocaleText('CMD.linkContent', null, '我是一个链接');
86
- var _props_url;
87
- _this.url = (_props_url = props === null || props === void 0 ? void 0 : props.url) !== null && _props_url !== void 0 ? _props_url : '';
88
- var _props_openMode;
89
- _this.openMode = (_props_openMode = props === null || props === void 0 ? void 0 : props.openMode) !== null && _props_openMode !== void 0 ? _props_openMode : 'new';
84
+ ]), _define_property(_this, "content", void 0), _define_property(_this, "url", void 0), _define_property(_this, "description", void 0), _define_property(_this, "position", void 0), _define_property(_this, "color", void 0), _define_property(_this, "scriptType", void 0), _define_property(_this, "scriptContent", void 0), _define_property(_this, "openMode", void 0), _define_property(_this, "icon", void 0);
85
+ _this.content = (_ref = props === null || props === void 0 ? void 0 : props.content) !== null && _ref !== void 0 ? _ref : getLocaleText('CMD.linkContent', null, '我是一个链接');
86
+ _this.description = (_ref1 = props === null || props === void 0 ? void 0 : props.description) !== null && _ref1 !== void 0 ? _ref1 : '';
87
+ _this.position = (_ref2 = props === null || props === void 0 ? void 0 : props.position) !== null && _ref2 !== void 0 ? _ref2 : 'left';
88
+ _this.color = (_ref3 = props === null || props === void 0 ? void 0 : props.color) !== null && _ref3 !== void 0 ? _ref3 : 'primary';
89
+ _this.scriptType = (_ref4 = props === null || props === void 0 ? void 0 : props.scriptType) !== null && _ref4 !== void 0 ? _ref4 : 'js';
90
+ _this.scriptContent = (_ref5 = props === null || props === void 0 ? void 0 : props.scriptContent) !== null && _ref5 !== void 0 ? _ref5 : '';
91
+ _this.url = (_ref6 = props === null || props === void 0 ? void 0 : props.url) !== null && _ref6 !== void 0 ? _ref6 : '';
92
+ _this.openMode = (_ref7 = props === null || props === void 0 ? void 0 : props.openMode) !== null && _ref7 !== void 0 ? _ref7 : 'new';
93
+ _this.icon = (_ref8 = props === null || props === void 0 ? void 0 : props.icon) !== null && _ref8 !== void 0 ? _ref8 : '';
90
94
  return _this;
91
95
  }
92
96
  return LinkProperty;