@byteluck-fe/model-driven-controls 2.7.0-beta.1 → 2.7.0-beta.4

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 (249) hide show
  1. package/dist/esm/baseControls/BatchDeleteButton/designer.js +1 -2
  2. package/dist/esm/baseControls/BatchDeleteButton/property.js +9 -10
  3. package/dist/esm/baseControls/BatchDeleteButton/runtime.js +1 -2
  4. package/dist/esm/baseControls/BatchPrintListButton/designer.js +1 -2
  5. package/dist/esm/baseControls/BatchPrintListButton/property.js +5 -5
  6. package/dist/esm/baseControls/BatchPrintListButton/runtime.js +1 -2
  7. package/dist/esm/baseControls/BatchPrintRecordListButton/designer.js +1 -2
  8. package/dist/esm/baseControls/BatchPrintRecordListButton/property.js +2 -3
  9. package/dist/esm/baseControls/BatchPrintRecordListButton/runtime.js +1 -2
  10. package/dist/esm/baseControls/BatchSubmissionListButton/designer.js +1 -2
  11. package/dist/esm/baseControls/BatchSubmissionListButton/property.js +6 -7
  12. package/dist/esm/baseControls/BatchSubmissionListButton/runtime.js +1 -2
  13. package/dist/esm/baseControls/Button/designer.js +1 -2
  14. package/dist/esm/baseControls/Button/property.js +8 -9
  15. package/dist/esm/baseControls/Button/runtime.js +1 -2
  16. package/dist/esm/baseControls/CreateFormListButton/designer.js +1 -2
  17. package/dist/esm/baseControls/CreateFormListButton/property.js +4 -5
  18. package/dist/esm/baseControls/CreateFormListButton/runtime.js +1 -2
  19. package/dist/esm/baseControls/Dashboard/designer.js +1 -2
  20. package/dist/esm/baseControls/Dashboard/property.js +6 -7
  21. package/dist/esm/baseControls/Dashboard/runtime.js +1 -2
  22. package/dist/esm/baseControls/Divider/designer.js +1 -2
  23. package/dist/esm/baseControls/Divider/property.js +2 -3
  24. package/dist/esm/baseControls/Divider/runtime.js +1 -2
  25. package/dist/esm/baseControls/ExportListButton/designer.js +1 -2
  26. package/dist/esm/baseControls/ExportListButton/property.js +4 -4
  27. package/dist/esm/baseControls/ExportListButton/runtime.js +1 -2
  28. package/dist/esm/baseControls/ExportRecordListButton/designer.js +1 -2
  29. package/dist/esm/baseControls/ExportRecordListButton/property.js +2 -3
  30. package/dist/esm/baseControls/ExportRecordListButton/runtime.js +1 -2
  31. package/dist/esm/baseControls/FormSelectButton/designer.js +1 -2
  32. package/dist/esm/baseControls/FormSelectButton/property.js +6 -7
  33. package/dist/esm/baseControls/FormSelectButton/runtime.js +1 -2
  34. package/dist/esm/baseControls/ImportRecordListButton/designer.js +1 -2
  35. package/dist/esm/baseControls/ImportRecordListButton/property.js +4 -4
  36. package/dist/esm/baseControls/ImportRecordListButton/runtime.js +1 -2
  37. package/dist/esm/baseControls/InvoiceCheckButton/designer.js +1 -2
  38. package/dist/esm/baseControls/InvoiceCheckButton/property.js +10 -10
  39. package/dist/esm/baseControls/InvoiceCheckButton/runtime.js +1 -2
  40. package/dist/esm/baseControls/Link/designer.js +1 -2
  41. package/dist/esm/baseControls/Link/property.js +3 -4
  42. package/dist/esm/baseControls/Link/runtime.js +1 -2
  43. package/dist/esm/baseControls/ListSelectButton/designer.js +1 -2
  44. package/dist/esm/baseControls/ListSelectButton/property.js +7 -8
  45. package/dist/esm/baseControls/ListSelectButton/runtime.js +1 -2
  46. package/dist/esm/baseControls/ListViewSelect/designer.js +1 -2
  47. package/dist/esm/baseControls/ListViewSelect/property.js +3 -3
  48. package/dist/esm/baseControls/ListViewSelect/runtime.js +1 -2
  49. package/dist/esm/baseControls/OperationButton/designer.js +1 -2
  50. package/dist/esm/baseControls/OperationButton/property.js +13 -14
  51. package/dist/esm/baseControls/OperationButton/runtime.js +1 -2
  52. package/dist/esm/baseControls/Pagination/designer.js +1 -2
  53. package/dist/esm/baseControls/Pagination/runtime.js +1 -2
  54. package/dist/esm/baseControls/SubmissionRecordListButton/designer.js +1 -2
  55. package/dist/esm/baseControls/SubmissionRecordListButton/property.js +2 -3
  56. package/dist/esm/baseControls/SubmissionRecordListButton/runtime.js +1 -2
  57. package/dist/esm/baseControls/Text/designer.js +1 -2
  58. package/dist/esm/baseControls/Text/property.js +5 -6
  59. package/dist/esm/baseControls/Text/runtime.js +1 -2
  60. package/dist/esm/baseControls/TextOcrButton/designer.js +1 -2
  61. package/dist/esm/baseControls/TextOcrButton/property.js +10 -10
  62. package/dist/esm/baseControls/TextOcrButton/runtime.js +1 -2
  63. package/dist/esm/baseControls/Title/designer.js +1 -2
  64. package/dist/esm/baseControls/Title/property.js +4 -5
  65. package/dist/esm/baseControls/Title/runtime.js +1 -2
  66. package/dist/esm/columnControls/ArrayColumn/designer.js +1 -2
  67. package/dist/esm/columnControls/ArrayColumn/property.js +4 -5
  68. package/dist/esm/columnControls/ArrayColumn/runtime.js +1 -2
  69. package/dist/esm/columnControls/AutoNumberColumn/designer.js +1 -2
  70. package/dist/esm/columnControls/AutoNumberColumn/property.js +3 -4
  71. package/dist/esm/columnControls/AutoNumberColumn/runtime.js +1 -2
  72. package/dist/esm/columnControls/CustomColumn/designer.js +2 -3
  73. package/dist/esm/columnControls/CustomColumn/property.js +2 -3
  74. package/dist/esm/columnControls/CustomColumn/runtime.js +2 -3
  75. package/dist/esm/columnControls/DecimalColumn/designer.js +1 -2
  76. package/dist/esm/columnControls/DecimalColumn/property.js +9 -10
  77. package/dist/esm/columnControls/DecimalColumn/runtime.js +1 -2
  78. package/dist/esm/columnControls/DepartmentColumn/designer.js +1 -2
  79. package/dist/esm/columnControls/DepartmentColumn/property.js +2 -3
  80. package/dist/esm/columnControls/DepartmentColumn/runtime.js +1 -2
  81. package/dist/esm/columnControls/EmployeeColumn/designer.js +1 -2
  82. package/dist/esm/columnControls/EmployeeColumn/property.js +2 -3
  83. package/dist/esm/columnControls/EmployeeColumn/runtime.js +1 -2
  84. package/dist/esm/columnControls/FileColumn/designer.js +1 -2
  85. package/dist/esm/columnControls/FileColumn/property.js +1 -2
  86. package/dist/esm/columnControls/FileColumn/runtime.js +1 -2
  87. package/dist/esm/columnControls/ImageColumn/designer.js +1 -2
  88. package/dist/esm/columnControls/ImageColumn/property.js +1 -2
  89. package/dist/esm/columnControls/ImageColumn/runtime.js +1 -2
  90. package/dist/esm/columnControls/LocationColumn/designer.js +1 -2
  91. package/dist/esm/columnControls/LocationColumn/property.js +3 -4
  92. package/dist/esm/columnControls/LocationColumn/runtime.js +1 -2
  93. package/dist/esm/columnControls/OperationColumn/designer.js +2 -3
  94. package/dist/esm/columnControls/OperationColumn/property.js +6 -6
  95. package/dist/esm/columnControls/OperationColumn/runtime.js +2 -3
  96. package/dist/esm/columnControls/OrderColumn/designer.js +1 -2
  97. package/dist/esm/columnControls/OrderColumn/property.js +7 -7
  98. package/dist/esm/columnControls/OrderColumn/runtime.js +1 -2
  99. package/dist/esm/columnControls/PeopleColumn/designer.js +1 -2
  100. package/dist/esm/columnControls/PeopleColumn/property.js +1 -2
  101. package/dist/esm/columnControls/PeopleColumn/runtime.js +1 -2
  102. package/dist/esm/columnControls/TextColumn/designer.js +1 -2
  103. package/dist/esm/columnControls/TextColumn/property.js +5 -6
  104. package/dist/esm/columnControls/TextColumn/runtime.js +1 -2
  105. package/dist/esm/columnControls/TimescopeColumn/designer.js +1 -2
  106. package/dist/esm/columnControls/TimescopeColumn/property.js +4 -5
  107. package/dist/esm/columnControls/TimescopeColumn/runtime.js +1 -2
  108. package/dist/esm/columnControls/TimestampColumn/designer.js +1 -2
  109. package/dist/esm/columnControls/TimestampColumn/property.js +4 -5
  110. package/dist/esm/columnControls/TimestampColumn/runtime.js +1 -2
  111. package/dist/esm/columnControls/VarcharColumn/designer.js +1 -2
  112. package/dist/esm/columnControls/VarcharColumn/property.js +7 -8
  113. package/dist/esm/columnControls/VarcharColumn/runtime.js +1 -2
  114. package/dist/esm/formControls/Address/designer.js +1 -2
  115. package/dist/esm/formControls/Address/property.js +5 -6
  116. package/dist/esm/formControls/Address/runtime.js +1 -2
  117. package/dist/esm/formControls/Amount/designer.js +1 -2
  118. package/dist/esm/formControls/Amount/property.js +13 -14
  119. package/dist/esm/formControls/Amount/runtime.js +1 -2
  120. package/dist/esm/formControls/Attachment/designer.js +1 -2
  121. package/dist/esm/formControls/Attachment/property.js +22 -10
  122. package/dist/esm/formControls/Attachment/runtime.js +1 -2
  123. package/dist/esm/formControls/AutoNumber/designer.js +1 -2
  124. package/dist/esm/formControls/AutoNumber/property.js +3 -4
  125. package/dist/esm/formControls/AutoNumber/runtime.js +1 -2
  126. package/dist/esm/formControls/Calc/designer.js +1 -2
  127. package/dist/esm/formControls/Calc/property.js +9 -10
  128. package/dist/esm/formControls/Calc/runtime.js +1 -2
  129. package/dist/esm/formControls/Checkbox/designer.js +1 -2
  130. package/dist/esm/formControls/Checkbox/property.js +16 -18
  131. package/dist/esm/formControls/Checkbox/runtime.js +1 -2
  132. package/dist/esm/formControls/DatePicker/designer.js +1 -2
  133. package/dist/esm/formControls/DatePicker/property.js +11 -11
  134. package/dist/esm/formControls/DatePicker/runtime.js +1 -2
  135. package/dist/esm/formControls/DateRange/designer.js +1 -2
  136. package/dist/esm/formControls/DateRange/property.js +13 -13
  137. package/dist/esm/formControls/DateRange/runtime.js +1 -2
  138. package/dist/esm/formControls/Department/designer.js +1 -2
  139. package/dist/esm/formControls/Department/property.js +13 -15
  140. package/dist/esm/formControls/Department/runtime.js +1 -2
  141. package/dist/esm/formControls/Department2/designer.js +1 -2
  142. package/dist/esm/formControls/Department2/property.js +17 -19
  143. package/dist/esm/formControls/Department2/runtime.js +1 -2
  144. package/dist/esm/formControls/ElectronicSignature/designer.js +1 -2
  145. package/dist/esm/formControls/ElectronicSignature/property.js +7 -8
  146. package/dist/esm/formControls/ElectronicSignature/runtime.js +1 -2
  147. package/dist/esm/formControls/Employee/designer.js +1 -2
  148. package/dist/esm/formControls/Employee/property.js +11 -13
  149. package/dist/esm/formControls/Employee/runtime.js +1 -2
  150. package/dist/esm/formControls/Employee2/designer.js +1 -2
  151. package/dist/esm/formControls/Employee2/property.js +16 -18
  152. package/dist/esm/formControls/Employee2/runtime.js +1 -2
  153. package/dist/esm/formControls/Image/designer.js +4 -4
  154. package/dist/esm/formControls/Image/property.js +7 -1
  155. package/dist/esm/formControls/Image/runtime.js +4 -4
  156. package/dist/esm/formControls/Input/designer.js +1 -2
  157. package/dist/esm/formControls/Input/property.js +8 -9
  158. package/dist/esm/formControls/Input/runtime.js +1 -2
  159. package/dist/esm/formControls/Number/designer.js +1 -2
  160. package/dist/esm/formControls/Number/property.js +14 -15
  161. package/dist/esm/formControls/Number/runtime.js +1 -2
  162. package/dist/esm/formControls/OrganizationSelection/designer.js +1 -2
  163. package/dist/esm/formControls/OrganizationSelection/property.js +22 -24
  164. package/dist/esm/formControls/OrganizationSelection/runtime.js +1 -2
  165. package/dist/esm/formControls/Radio/designer.js +1 -2
  166. package/dist/esm/formControls/Radio/property.js +14 -16
  167. package/dist/esm/formControls/Radio/runtime.js +1 -2
  168. package/dist/esm/formControls/RichText/designer.js +1 -2
  169. package/dist/esm/formControls/RichText/property.js +5 -6
  170. package/dist/esm/formControls/RichText/runtime.js +1 -2
  171. package/dist/esm/formControls/Score/designer.js +1 -2
  172. package/dist/esm/formControls/Score/property.js +7 -7
  173. package/dist/esm/formControls/Score/runtime.js +1 -2
  174. package/dist/esm/formControls/SearchDateRange/designer.js +1 -2
  175. package/dist/esm/formControls/SearchDateRange/property.js +12 -12
  176. package/dist/esm/formControls/SearchDateRange/runtime.js +1 -2
  177. package/dist/esm/formControls/SearchInput/designer.js +1 -2
  178. package/dist/esm/formControls/SearchInput/runtime.js +1 -2
  179. package/dist/esm/formControls/SearchNumberRange/designer.js +1 -2
  180. package/dist/esm/formControls/SearchNumberRange/property.js +6 -7
  181. package/dist/esm/formControls/SearchNumberRange/runtime.js +1 -2
  182. package/dist/esm/formControls/Select/designer.js +1 -2
  183. package/dist/esm/formControls/Select/property.js +11 -13
  184. package/dist/esm/formControls/Select/runtime.js +1 -2
  185. package/dist/esm/formControls/SelectMultiple/designer.js +1 -2
  186. package/dist/esm/formControls/SelectMultiple/property.js +10 -12
  187. package/dist/esm/formControls/SelectMultiple/runtime.js +1 -2
  188. package/dist/esm/formControls/SelectRelation/designer.js +1 -2
  189. package/dist/esm/formControls/SelectRelation/property.js +14 -16
  190. package/dist/esm/formControls/SelectRelation/runtime.js +1 -2
  191. package/dist/esm/formControls/Textarea/designer.js +1 -2
  192. package/dist/esm/formControls/Textarea/property.js +6 -7
  193. package/dist/esm/formControls/Textarea/runtime.js +1 -2
  194. package/dist/esm/formControls/Tree/designer.js +1 -2
  195. package/dist/esm/formControls/Tree/property.js +19 -19
  196. package/dist/esm/formControls/Tree/runtime.js +1 -2
  197. package/dist/esm/formControls/VueFormItem/designer.js +1 -2
  198. package/dist/esm/formControls/VueFormItem/property.js +5 -6
  199. package/dist/esm/formControls/VueFormItem/runtime.js +1 -2
  200. package/dist/esm/formControls/WPS/designer.js +1 -2
  201. package/dist/esm/formControls/WPS/property.js +13 -14
  202. package/dist/esm/formControls/WPS/runtime.js +1 -2
  203. package/dist/esm/framework.js +35 -42
  204. package/dist/esm/layoutControls/AdvancedContainer/property.js +2 -3
  205. package/dist/esm/layoutControls/CardGroup/designer.js +1 -2
  206. package/dist/esm/layoutControls/CardGroup/property.js +2 -3
  207. package/dist/esm/layoutControls/CardGroup/runtime.js +1 -2
  208. package/dist/esm/layoutControls/Col/designer.js +1 -2
  209. package/dist/esm/layoutControls/Col/property.js +2 -3
  210. package/dist/esm/layoutControls/Col/runtime.js +1 -2
  211. package/dist/esm/layoutControls/DataView/designer.js +1 -2
  212. package/dist/esm/layoutControls/DataView/property.js +7 -8
  213. package/dist/esm/layoutControls/DataView/runtime.js +1 -2
  214. package/dist/esm/layoutControls/GridTableColumn/designer.js +1 -2
  215. package/dist/esm/layoutControls/GridTableColumn/property.js +12 -13
  216. package/dist/esm/layoutControls/GridTableColumn/runtime.js +1 -2
  217. package/dist/esm/layoutControls/ListView/designer.js +1 -2
  218. package/dist/esm/layoutControls/ListView/property.js +13 -14
  219. package/dist/esm/layoutControls/ListView/runtime.js +1 -2
  220. package/dist/esm/layoutControls/Page/property.js +1 -2
  221. package/dist/esm/layoutControls/Position/property.js +4 -5
  222. package/dist/esm/layoutControls/Row/designer.js +1 -2
  223. package/dist/esm/layoutControls/Row/property.js +2 -3
  224. package/dist/esm/layoutControls/Row/runtime.js +1 -2
  225. package/dist/esm/layoutControls/SubTableColumn/designer.js +1 -2
  226. package/dist/esm/layoutControls/SubTableColumn/property.js +6 -7
  227. package/dist/esm/layoutControls/SubTableColumn/runtime.js +1 -2
  228. package/dist/esm/layoutControls/SubTableRow/designer.js +1 -2
  229. package/dist/esm/layoutControls/SubTableRow/runtime.js +1 -2
  230. package/dist/esm/layoutControls/Tab/designer.js +2 -3
  231. package/dist/esm/layoutControls/Tab/property.js +1 -2
  232. package/dist/esm/layoutControls/Tab/runtime.js +1 -2
  233. package/dist/esm/layoutControls/TabPane/designer.js +1 -2
  234. package/dist/esm/layoutControls/TabPane/property.js +1 -2
  235. package/dist/esm/layoutControls/TabPane/runtime.js +1 -2
  236. package/dist/esm/layoutControls/Toolbox/designer.js +1 -2
  237. package/dist/esm/layoutControls/Toolbox/runtime.js +1 -2
  238. package/dist/esm/listControls/GridTable/designer.js +3 -4
  239. package/dist/esm/listControls/GridTable/property.js +5 -6
  240. package/dist/esm/listControls/GridTable/runtime.js +1 -2
  241. package/dist/esm/listControls/SubTable/designer.js +3 -3
  242. package/dist/esm/listControls/SubTable/property.js +30 -31
  243. package/dist/esm/listControls/SubTable/runtime.js +1 -2
  244. package/dist/esm/searchControls/SimpleSearch/designer.js +1 -2
  245. package/dist/esm/searchControls/SimpleSearch/property.js +8 -9
  246. package/dist/esm/searchControls/SimpleSearch/runtime.js +2 -3
  247. package/dist/index.umd.js +1 -1
  248. package/dist/types/formControls/Attachment/property.d.ts +2 -0
  249. package/package.json +5 -5
@@ -107,20 +107,20 @@ var OrderColumnControlPropertyRules = /*#__PURE__*/ function(ColumnControlProper
107
107
  function OrderColumnControlProperty(props) {
108
108
  _class_call_check(this, OrderColumnControlProperty);
109
109
  var _this;
110
- var _props, _props1, _props2, _props_autoWidth, _props3, _props_autoWidth1, _props4, _props5;
110
+ var _props_autoWidth, _props_autoWidth1;
111
111
  _this = _super.call(this, props);
112
112
  var _props_fixed;
113
- _this.fixed = (_props_fixed = (_props = props) === null || _props === void 0 ? void 0 : _props.fixed) !== null && _props_fixed !== void 0 ? _props_fixed : "left";
113
+ _this.fixed = (_props_fixed = props === null || props === void 0 ? void 0 : props.fixed) !== null && _props_fixed !== void 0 ? _props_fixed : "left";
114
114
  var _props_caption;
115
- _this.caption = (_props_caption = (_props1 = props) === null || _props1 === void 0 ? void 0 : _props1.caption) !== null && _props_caption !== void 0 ? _props_caption : DesignerOrderColumnControl.controlName;
115
+ _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : DesignerOrderColumnControl.controlName;
116
116
  var _props_width;
117
- _this.width = (_props_width = (_props2 = props) === null || _props2 === void 0 ? void 0 : _props2.width) !== null && _props_width !== void 0 ? _props_width : 60;
117
+ _this.width = (_props_width = props === null || props === void 0 ? void 0 : props.width) !== null && _props_width !== void 0 ? _props_width : 60;
118
118
  var _props_autoWidth_minWidth;
119
- _this.autoWidth.minWidth = (_props_autoWidth_minWidth = (_props3 = props) === null || _props3 === void 0 ? void 0 : (_props_autoWidth = _props3.autoWidth) === null || _props_autoWidth === void 0 ? void 0 : _props_autoWidth.minWidth) !== null && _props_autoWidth_minWidth !== void 0 ? _props_autoWidth_minWidth : 60;
119
+ _this.autoWidth.minWidth = (_props_autoWidth_minWidth = props === null || props === void 0 ? void 0 : (_props_autoWidth = props.autoWidth) === null || _props_autoWidth === void 0 ? void 0 : _props_autoWidth.minWidth) !== null && _props_autoWidth_minWidth !== void 0 ? _props_autoWidth_minWidth : 60;
120
120
  var _props_autoWidth_flex;
121
- _this.autoWidth.flex = (_props_autoWidth_flex = (_props4 = props) === null || _props4 === void 0 ? void 0 : (_props_autoWidth1 = _props4.autoWidth) === null || _props_autoWidth1 === void 0 ? void 0 : _props_autoWidth1.flex) !== null && _props_autoWidth_flex !== void 0 ? _props_autoWidth_flex : 0.4;
121
+ _this.autoWidth.flex = (_props_autoWidth_flex = props === null || props === void 0 ? void 0 : (_props_autoWidth1 = props.autoWidth) === null || _props_autoWidth1 === void 0 ? void 0 : _props_autoWidth1.flex) !== null && _props_autoWidth_flex !== void 0 ? _props_autoWidth_flex : 0.4;
122
122
  var _props_widthType;
123
- _this.widthType = (_props_widthType = (_props5 = props) === null || _props5 === void 0 ? void 0 : _props5.widthType) !== null && _props_widthType !== void 0 ? _props_widthType : "px";
123
+ _this.widthType = (_props_widthType = props === null || props === void 0 ? void 0 : props.widthType) !== null && _props_widthType !== void 0 ? _props_widthType : "px";
124
124
  return _this;
125
125
  }
126
126
  return OrderColumnControlProperty;
@@ -92,10 +92,9 @@ var OrderColumnControl = /*#__PURE__*/ function(RuntimeColumnControl) {
92
92
  function OrderColumnControl(props) {
93
93
  _class_call_check(this, OrderColumnControl);
94
94
  var _this;
95
- var _props;
96
95
  _this = _super.call(this, props);
97
96
  _define_property(_assert_this_initialized(_this), "props", void 0);
98
- _this.props = new OrderColumnControlProperty((_props = props) === null || _props === void 0 ? void 0 : _props.props);
97
+ _this.props = new OrderColumnControlProperty(props === null || props === void 0 ? void 0 : props.props);
99
98
  return _this;
100
99
  }
101
100
  return OrderColumnControl;
@@ -92,10 +92,9 @@ var PeopleColumnControl = /*#__PURE__*/ function(DesignerColumnControl) {
92
92
  function PeopleColumnControl(props) {
93
93
  _class_call_check(this, PeopleColumnControl);
94
94
  var _this;
95
- var _props;
96
95
  _this = _super.call(this, props);
97
96
  _define_property(_assert_this_initialized(_this), "props", void 0);
98
- _this.props = new PeopleColumnControlProperty((_props = props) === null || _props === void 0 ? void 0 : _props.props);
97
+ _this.props = new PeopleColumnControlProperty(props === null || props === void 0 ? void 0 : props.props);
99
98
  return _this;
100
99
  }
101
100
  return PeopleColumnControl;
@@ -80,10 +80,9 @@ import { DesignerPeopleColumnControl } from "./designer";
80
80
  function PeopleColumnControlProperty(props) {
81
81
  _class_call_check(this, PeopleColumnControlProperty);
82
82
  var _this;
83
- var _props;
84
83
  _this = _super.call(this, props);
85
84
  var _props_caption;
86
- _this.caption = (_props_caption = (_props = props) === null || _props === void 0 ? void 0 : _props.caption) !== null && _props_caption !== void 0 ? _props_caption : DesignerPeopleColumnControl.controlName;
85
+ _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : DesignerPeopleColumnControl.controlName;
87
86
  return _this;
88
87
  }
89
88
  return PeopleColumnControlProperty;
@@ -92,10 +92,9 @@ var PeopleColumnControl = /*#__PURE__*/ function(RuntimeColumnControl) {
92
92
  function PeopleColumnControl(props) {
93
93
  _class_call_check(this, PeopleColumnControl);
94
94
  var _this;
95
- var _props;
96
95
  _this = _super.call(this, props);
97
96
  _define_property(_assert_this_initialized(_this), "props", void 0);
98
- _this.props = new PeopleColumnControlProperty((_props = props) === null || _props === void 0 ? void 0 : _props.props);
97
+ _this.props = new PeopleColumnControlProperty(props === null || props === void 0 ? void 0 : props.props);
99
98
  return _this;
100
99
  }
101
100
  return PeopleColumnControl;
@@ -129,10 +129,9 @@ var TextColumnControl = /*#__PURE__*/ function(DesignerColumnControl) {
129
129
  function TextColumnControl(props) {
130
130
  _class_call_check(this, TextColumnControl);
131
131
  var _this;
132
- var _props;
133
132
  _this = _super.call(this, props);
134
133
  _define_property(_assert_this_initialized(_this), "props", void 0);
135
- _this.props = new TextColumnControlProperty((_props = props) === null || _props === void 0 ? void 0 : _props.props);
134
+ _this.props = new TextColumnControlProperty(props === null || props === void 0 ? void 0 : props.props);
136
135
  return _this;
137
136
  }
138
137
  _create_class(TextColumnControl, [
@@ -107,7 +107,6 @@ var TextColumnControlPropertyRules = /*#__PURE__*/ function(ColumnControlPropert
107
107
  function TextColumnControlProperty(props) {
108
108
  _class_call_check(this, TextColumnControlProperty);
109
109
  var _this;
110
- var _props, _props1, _props2, _props3, _props4;
111
110
  _this = _super.call(this, props);
112
111
  /**
113
112
  * 保留富文本格式
@@ -128,14 +127,14 @@ var TextColumnControlPropertyRules = /*#__PURE__*/ function(ColumnControlPropert
128
127
  */ _define_property(_assert_this_initialized(_this), "linkOperationOption", void 0);
129
128
  _define_property(_assert_this_initialized(_this), "lineEllipsis", void 0);
130
129
  var _props_escapeHTML;
131
- _this.escapeHTML = (_props_escapeHTML = (_props = props) === null || _props === void 0 ? void 0 : _props.escapeHTML) !== null && _props_escapeHTML !== void 0 ? _props_escapeHTML : true;
130
+ _this.escapeHTML = (_props_escapeHTML = props === null || props === void 0 ? void 0 : props.escapeHTML) !== null && _props_escapeHTML !== void 0 ? _props_escapeHTML : true;
132
131
  var _props_caption;
133
- _this.caption = (_props_caption = (_props1 = props) === null || _props1 === void 0 ? void 0 : _props1.caption) !== null && _props_caption !== void 0 ? _props_caption : DesignerTextColumnControl.controlName;
132
+ _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : DesignerTextColumnControl.controlName;
134
133
  var _props_lineEllipsis;
135
- _this.lineEllipsis = (_props_lineEllipsis = (_props2 = props) === null || _props2 === void 0 ? void 0 : _props2.lineEllipsis) !== null && _props_lineEllipsis !== void 0 ? _props_lineEllipsis : 1;
134
+ _this.lineEllipsis = (_props_lineEllipsis = props === null || props === void 0 ? void 0 : props.lineEllipsis) !== null && _props_lineEllipsis !== void 0 ? _props_lineEllipsis : 1;
136
135
  var _props_showLinkOperation;
137
- _this.showLinkOperation = (_props_showLinkOperation = (_props3 = props) === null || _props3 === void 0 ? void 0 : _props3.showLinkOperation) !== null && _props_showLinkOperation !== void 0 ? _props_showLinkOperation : false;
138
- _this.linkOperationOption = new LinkOperationOption((_props4 = props) === null || _props4 === void 0 ? void 0 : _props4.linkOperationOption);
136
+ _this.showLinkOperation = (_props_showLinkOperation = props === null || props === void 0 ? void 0 : props.showLinkOperation) !== null && _props_showLinkOperation !== void 0 ? _props_showLinkOperation : false;
137
+ _this.linkOperationOption = new LinkOperationOption(props === null || props === void 0 ? void 0 : props.linkOperationOption);
139
138
  return _this;
140
139
  }
141
140
  return TextColumnControlProperty;
@@ -92,10 +92,9 @@ var TextColumnControl = /*#__PURE__*/ function(RuntimeColumnControl) {
92
92
  function TextColumnControl(props) {
93
93
  _class_call_check(this, TextColumnControl);
94
94
  var _this;
95
- var _props;
96
95
  _this = _super.call(this, props);
97
96
  _define_property(_assert_this_initialized(_this), "props", void 0);
98
- _this.props = new TextColumnControlProperty((_props = props) === null || _props === void 0 ? void 0 : _props.props);
97
+ _this.props = new TextColumnControlProperty(props === null || props === void 0 ? void 0 : props.props);
99
98
  return _this;
100
99
  }
101
100
  return TextColumnControl;
@@ -129,10 +129,9 @@ var TimescopeColumnControl = /*#__PURE__*/ function(DesignerColumnControl) {
129
129
  function TimescopeColumnControl(props) {
130
130
  _class_call_check(this, TimescopeColumnControl);
131
131
  var _this;
132
- var _props;
133
132
  _this = _super.call(this, props);
134
133
  _define_property(_assert_this_initialized(_this), "props", void 0);
135
- _this.props = new TimescopeColumnControlProperty((_props = props) === null || _props === void 0 ? void 0 : _props.props);
134
+ _this.props = new TimescopeColumnControlProperty(props === null || props === void 0 ? void 0 : props.props);
136
135
  return _this;
137
136
  }
138
137
  _create_class(TimescopeColumnControl, [
@@ -108,7 +108,6 @@ var TimescopeColumnControlPropertyRules = /*#__PURE__*/ function(ColumnControlPr
108
108
  function TimescopeColumnControlProperty(props) {
109
109
  _class_call_check(this, TimescopeColumnControlProperty);
110
110
  var _this;
111
- var _props, _props1, _props2, _props3;
112
111
  _this = _super.call(this, props);
113
112
  /**
114
113
  * 日期展示格式
@@ -124,12 +123,12 @@ var TimescopeColumnControlPropertyRules = /*#__PURE__*/ function(ColumnControlPr
124
123
  * @public
125
124
  */ _define_property(_assert_this_initialized(_this), "linkOperationOption", void 0);
126
125
  var _props_dateType;
127
- _this.dateType = (_props_dateType = (_props = props) === null || _props === void 0 ? void 0 : _props.dateType) !== null && _props_dateType !== void 0 ? _props_dateType : DateType.DATE;
126
+ _this.dateType = (_props_dateType = props === null || props === void 0 ? void 0 : props.dateType) !== null && _props_dateType !== void 0 ? _props_dateType : DateType.DATE;
128
127
  var _props_showLinkOperation;
129
- _this.showLinkOperation = (_props_showLinkOperation = (_props1 = props) === null || _props1 === void 0 ? void 0 : _props1.showLinkOperation) !== null && _props_showLinkOperation !== void 0 ? _props_showLinkOperation : false;
130
- _this.linkOperationOption = new LinkOperationOption((_props2 = props) === null || _props2 === void 0 ? void 0 : _props2.linkOperationOption);
128
+ _this.showLinkOperation = (_props_showLinkOperation = props === null || props === void 0 ? void 0 : props.showLinkOperation) !== null && _props_showLinkOperation !== void 0 ? _props_showLinkOperation : false;
129
+ _this.linkOperationOption = new LinkOperationOption(props === null || props === void 0 ? void 0 : props.linkOperationOption);
131
130
  var _props_caption;
132
- _this.caption = (_props_caption = (_props3 = props) === null || _props3 === void 0 ? void 0 : _props3.caption) !== null && _props_caption !== void 0 ? _props_caption : DesignerTimescopeColumnControl.controlName;
131
+ _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : DesignerTimescopeColumnControl.controlName;
133
132
  return _this;
134
133
  }
135
134
  return TimescopeColumnControlProperty;
@@ -92,10 +92,9 @@ var TimescopeColumnControl = /*#__PURE__*/ function(RuntimeColumnControl) {
92
92
  function TimescopeColumnControl(props) {
93
93
  _class_call_check(this, TimescopeColumnControl);
94
94
  var _this;
95
- var _props;
96
95
  _this = _super.call(this, props);
97
96
  _define_property(_assert_this_initialized(_this), "props", void 0);
98
- _this.props = new TimescopeColumnControlProperty((_props = props) === null || _props === void 0 ? void 0 : _props.props);
97
+ _this.props = new TimescopeColumnControlProperty(props === null || props === void 0 ? void 0 : props.props);
99
98
  return _this;
100
99
  }
101
100
  return TimescopeColumnControl;
@@ -129,10 +129,9 @@ var TimestampColumnControl = /*#__PURE__*/ function(DesignerColumnControl) {
129
129
  function TimestampColumnControl(props) {
130
130
  _class_call_check(this, TimestampColumnControl);
131
131
  var _this;
132
- var _props;
133
132
  _this = _super.call(this, props);
134
133
  _define_property(_assert_this_initialized(_this), "props", void 0);
135
- _this.props = new TimestampColumnControlProperty((_props = props) === null || _props === void 0 ? void 0 : _props.props);
134
+ _this.props = new TimestampColumnControlProperty(props === null || props === void 0 ? void 0 : props.props);
136
135
  return _this;
137
136
  }
138
137
  _create_class(TimestampColumnControl, [
@@ -108,7 +108,6 @@ var TimestampColumnControlPropertyRules = /*#__PURE__*/ function(ColumnControlPr
108
108
  function TimestampColumnControlProperty(props) {
109
109
  _class_call_check(this, TimestampColumnControlProperty);
110
110
  var _this;
111
- var _props, _props1, _props2, _props3;
112
111
  _this = _super.call(this, props);
113
112
  /**
114
113
  * 日期展示格式
@@ -124,12 +123,12 @@ var TimestampColumnControlPropertyRules = /*#__PURE__*/ function(ColumnControlPr
124
123
  * @public
125
124
  */ _define_property(_assert_this_initialized(_this), "linkOperationOption", void 0);
126
125
  var _props_dateType;
127
- _this.dateType = (_props_dateType = (_props = props) === null || _props === void 0 ? void 0 : _props.dateType) !== null && _props_dateType !== void 0 ? _props_dateType : DateType.DATE;
126
+ _this.dateType = (_props_dateType = props === null || props === void 0 ? void 0 : props.dateType) !== null && _props_dateType !== void 0 ? _props_dateType : DateType.DATE;
128
127
  var _props_showLinkOperation;
129
- _this.showLinkOperation = (_props_showLinkOperation = (_props1 = props) === null || _props1 === void 0 ? void 0 : _props1.showLinkOperation) !== null && _props_showLinkOperation !== void 0 ? _props_showLinkOperation : false;
130
- _this.linkOperationOption = new LinkOperationOption((_props2 = props) === null || _props2 === void 0 ? void 0 : _props2.linkOperationOption);
128
+ _this.showLinkOperation = (_props_showLinkOperation = props === null || props === void 0 ? void 0 : props.showLinkOperation) !== null && _props_showLinkOperation !== void 0 ? _props_showLinkOperation : false;
129
+ _this.linkOperationOption = new LinkOperationOption(props === null || props === void 0 ? void 0 : props.linkOperationOption);
131
130
  var _props_caption;
132
- _this.caption = (_props_caption = (_props3 = props) === null || _props3 === void 0 ? void 0 : _props3.caption) !== null && _props_caption !== void 0 ? _props_caption : DesignerTimestampColumnControl.controlName;
131
+ _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : DesignerTimestampColumnControl.controlName;
133
132
  return _this;
134
133
  }
135
134
  return TimestampColumnControlProperty;
@@ -92,10 +92,9 @@ var TimestampColumnControl = /*#__PURE__*/ function(RuntimeColumnControl) {
92
92
  function TimestampColumnControl(props) {
93
93
  _class_call_check(this, TimestampColumnControl);
94
94
  var _this;
95
- var _props;
96
95
  _this = _super.call(this, props);
97
96
  _define_property(_assert_this_initialized(_this), "props", void 0);
98
- _this.props = new TimestampColumnControlProperty((_props = props) === null || _props === void 0 ? void 0 : _props.props);
97
+ _this.props = new TimestampColumnControlProperty(props === null || props === void 0 ? void 0 : props.props);
99
98
  return _this;
100
99
  }
101
100
  return TimestampColumnControl;
@@ -92,10 +92,9 @@ var VarcharColumnControl = /*#__PURE__*/ function(DesignerColumnControl) {
92
92
  function VarcharColumnControl(props) {
93
93
  _class_call_check(this, VarcharColumnControl);
94
94
  var _this;
95
- var _props;
96
95
  _this = _super.call(this, props);
97
96
  _define_property(_assert_this_initialized(_this), "props", void 0);
98
- _this.props = new VarcharColumnControlProperty((_props = props) === null || _props === void 0 ? void 0 : _props.props);
97
+ _this.props = new VarcharColumnControlProperty(props === null || props === void 0 ? void 0 : props.props);
99
98
  return _this;
100
99
  }
101
100
  return VarcharColumnControl;
@@ -107,7 +107,6 @@ var VarcharColumnControlPropertyRules = /*#__PURE__*/ function(ColumnOptionAndDa
107
107
  function VarcharColumnControlProperty(props) {
108
108
  _class_call_check(this, VarcharColumnControlProperty);
109
109
  var _this;
110
- var _props, _props1, _props2, _props3, _props4, _props5, _props6;
111
110
  _this = _super.call(this, props);
112
111
  /**
113
112
  * 选项配置
@@ -135,19 +134,19 @@ var VarcharColumnControlPropertyRules = /*#__PURE__*/ function(ColumnOptionAndDa
135
134
  * 最大行数
136
135
  * */ _define_property(_assert_this_initialized(_this), "lineEllipsis", void 0);
137
136
  var _props_caption;
138
- _this.caption = (_props_caption = (_props = props) === null || _props === void 0 ? void 0 : _props.caption) !== null && _props_caption !== void 0 ? _props_caption : DesignerVarcharColumnControl.controlName;
137
+ _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : DesignerVarcharColumnControl.controlName;
139
138
  var _props_optionConfig;
140
- _this.optionConfig = (_props_optionConfig = (_props1 = props) === null || _props1 === void 0 ? void 0 : _props1.optionConfig) !== null && _props_optionConfig !== void 0 ? _props_optionConfig : "none";
141
- _this.datasourceBind = new DataSourceBind((_props2 = props) === null || _props2 === void 0 ? void 0 : _props2.datasourceBind);
139
+ _this.optionConfig = (_props_optionConfig = props === null || props === void 0 ? void 0 : props.optionConfig) !== null && _props_optionConfig !== void 0 ? _props_optionConfig : "none";
140
+ _this.datasourceBind = new DataSourceBind(props === null || props === void 0 ? void 0 : props.datasourceBind);
142
141
  var _props_options;
143
- _this.options = initOptions((_props_options = (_props3 = props) === null || _props3 === void 0 ? void 0 : _props3.options) !== null && _props_options !== void 0 ? _props_options : [
142
+ _this.options = initOptions((_props_options = props === null || props === void 0 ? void 0 : props.options) !== null && _props_options !== void 0 ? _props_options : [
144
143
  {}
145
144
  ]);
146
145
  var _props_showLinkOperation;
147
- _this.showLinkOperation = (_props_showLinkOperation = (_props4 = props) === null || _props4 === void 0 ? void 0 : _props4.showLinkOperation) !== null && _props_showLinkOperation !== void 0 ? _props_showLinkOperation : false;
148
- _this.linkOperationOption = new LinkOperationOption((_props5 = props) === null || _props5 === void 0 ? void 0 : _props5.linkOperationOption);
146
+ _this.showLinkOperation = (_props_showLinkOperation = props === null || props === void 0 ? void 0 : props.showLinkOperation) !== null && _props_showLinkOperation !== void 0 ? _props_showLinkOperation : false;
147
+ _this.linkOperationOption = new LinkOperationOption(props === null || props === void 0 ? void 0 : props.linkOperationOption);
149
148
  var _props_lineEllipsis;
150
- _this.lineEllipsis = (_props_lineEllipsis = (_props6 = props) === null || _props6 === void 0 ? void 0 : _props6.lineEllipsis) !== null && _props_lineEllipsis !== void 0 ? _props_lineEllipsis : 1;
149
+ _this.lineEllipsis = (_props_lineEllipsis = props === null || props === void 0 ? void 0 : props.lineEllipsis) !== null && _props_lineEllipsis !== void 0 ? _props_lineEllipsis : 1;
151
150
  return _this;
152
151
  }
153
152
  return VarcharColumnControlProperty;
@@ -92,10 +92,9 @@ var VarcharColumnControl = /*#__PURE__*/ function(RuntimeColumnControl) {
92
92
  function VarcharColumnControl(props) {
93
93
  _class_call_check(this, VarcharColumnControl);
94
94
  var _this;
95
- var _props;
96
95
  _this = _super.call(this, props);
97
96
  _define_property(_assert_this_initialized(_this), "props", void 0);
98
- _this.props = new VarcharColumnControlProperty((_props = props) === null || _props === void 0 ? void 0 : _props.props);
97
+ _this.props = new VarcharColumnControlProperty(props === null || props === void 0 ? void 0 : props.props);
99
98
  return _this;
100
99
  }
101
100
  return VarcharColumnControl;
@@ -106,10 +106,9 @@ var AddressControl = /*#__PURE__*/ function(DesignerFormControl) {
106
106
  function AddressControl(props) {
107
107
  _class_call_check(this, AddressControl);
108
108
  var _this;
109
- var _props;
110
109
  _this = _super.call(this, props);
111
110
  _define_property(_assert_this_initialized(_this), "props", void 0);
112
- _this.props = new AddressProperty((_props = props) === null || _props === void 0 ? void 0 : _props.props);
111
+ _this.props = new AddressProperty(props === null || props === void 0 ? void 0 : props.props);
113
112
  return _this;
114
113
  }
115
114
  _create_class(AddressControl, null, [
@@ -135,7 +135,6 @@ var AddressControlPropertyRuntimeRules = /*#__PURE__*/ function(BaseControlPrope
135
135
  function AddressProperty(props) {
136
136
  _class_call_check(this, AddressProperty);
137
137
  var _this;
138
- var _props, _props1, _props2, _props3, _props4;
139
138
  _this = _super.call(this, props);
140
139
  /**
141
140
  * 默认值类型 default固定地址 current当前定位
@@ -149,19 +148,19 @@ var AddressControlPropertyRuntimeRules = /*#__PURE__*/ function(BaseControlPrope
149
148
  * @defaultValue ['province', 'city', 'district']
150
149
  */ _define_property(_assert_this_initialized(_this), "addressType", void 0);
151
150
  var _props_caption;
152
- _this.caption = (_props_caption = (_props = props) === null || _props === void 0 ? void 0 : _props.caption) !== null && _props_caption !== void 0 ? _props_caption : AddressControl.controlName;
151
+ _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : AddressControl.controlName;
153
152
  var _props_defaultValueType;
154
- _this.defaultValueType = (_props_defaultValueType = (_props1 = props) === null || _props1 === void 0 ? void 0 : _props1.defaultValueType) !== null && _props_defaultValueType !== void 0 ? _props_defaultValueType : "default";
153
+ _this.defaultValueType = (_props_defaultValueType = props === null || props === void 0 ? void 0 : props.defaultValueType) !== null && _props_defaultValueType !== void 0 ? _props_defaultValueType : "default";
155
154
  var _props_addressType;
156
- _this.addressType = (_props_addressType = (_props2 = props) === null || _props2 === void 0 ? void 0 : _props2.addressType) !== null && _props_addressType !== void 0 ? _props_addressType : [
155
+ _this.addressType = (_props_addressType = props === null || props === void 0 ? void 0 : props.addressType) !== null && _props_addressType !== void 0 ? _props_addressType : [
157
156
  "province",
158
157
  "city",
159
158
  "district"
160
159
  ];
161
160
  var _props_defaultValue;
162
- _this.defaultValue = new AddressValue((_props_defaultValue = (_props3 = props) === null || _props3 === void 0 ? void 0 : _props3.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : {});
161
+ _this.defaultValue = new AddressValue((_props_defaultValue = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : {});
163
162
  var _props_placeholder;
164
- _this.placeholder = (_props_placeholder = (_props4 = props) === null || _props4 === void 0 ? void 0 : _props4.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : "请选择地址";
163
+ _this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : "请选择地址";
165
164
  return _this;
166
165
  }
167
166
  return AddressProperty;
@@ -106,10 +106,9 @@ var AddressControl = /*#__PURE__*/ function(RuntimeFormControl) {
106
106
  function AddressControl(props) {
107
107
  _class_call_check(this, AddressControl);
108
108
  var _this;
109
- var _props;
110
109
  _this = _super.call(this, props);
111
110
  _define_property(_assert_this_initialized(_this), "props", void 0);
112
- _this.props = new AddressProperty((_props = props) === null || _props === void 0 ? void 0 : _props.props);
111
+ _this.props = new AddressProperty(props === null || props === void 0 ? void 0 : props.props);
113
112
  return _this;
114
113
  }
115
114
  _create_class(AddressControl, null, [
@@ -129,10 +129,9 @@ var AmountControl = /*#__PURE__*/ function(DesignerFormControl) {
129
129
  function AmountControl(props) {
130
130
  _class_call_check(this, AmountControl);
131
131
  var _this;
132
- var _props;
133
132
  _this = _super.call(this, props);
134
133
  _define_property(_assert_this_initialized(_this), "props", void 0);
135
- _this.props = new AmountProperty((_props = props) === null || _props === void 0 ? void 0 : _props.props);
134
+ _this.props = new AmountProperty(props === null || props === void 0 ? void 0 : props.props);
136
135
  return _this;
137
136
  }
138
137
  _create_class(AmountControl, [
@@ -213,7 +213,6 @@ var AmountPropertyRuntimeRules = /*#__PURE__*/ function(BaseControlPropertyRunti
213
213
  function AmountProperty(props) {
214
214
  _class_call_check(this, AmountProperty);
215
215
  var _this;
216
- var _props, _props1, _props2, _props3, _props4, _props5, _props6, _props7, _props8, _props9, _props10, _props11, _props12;
217
216
  _this = _super.call(this, props);
218
217
  /**
219
218
  * 最小值
@@ -255,18 +254,18 @@ var AmountPropertyRuntimeRules = /*#__PURE__*/ function(BaseControlPropertyRunti
255
254
  * 币种的默认选项
256
255
  * */ _define_property(_assert_this_initialized(_this), "options", void 0);
257
256
  var _props_rangeMin;
258
- _this.rangeMin = (_props_rangeMin = (_props = props) === null || _props === void 0 ? void 0 : _props.rangeMin) !== null && _props_rangeMin !== void 0 ? _props_rangeMin : "";
257
+ _this.rangeMin = (_props_rangeMin = props === null || props === void 0 ? void 0 : props.rangeMin) !== null && _props_rangeMin !== void 0 ? _props_rangeMin : "";
259
258
  var _props_rangeMax;
260
- _this.rangeMax = (_props_rangeMax = (_props1 = props) === null || _props1 === void 0 ? void 0 : _props1.rangeMax) !== null && _props_rangeMax !== void 0 ? _props_rangeMax : "";
259
+ _this.rangeMax = (_props_rangeMax = props === null || props === void 0 ? void 0 : props.rangeMax) !== null && _props_rangeMax !== void 0 ? _props_rangeMax : "";
261
260
  var _props_optionConfig;
262
- _this.optionConfig = (_props_optionConfig = (_props2 = props) === null || _props2 === void 0 ? void 0 : _props2.optionConfig) !== null && _props_optionConfig !== void 0 ? _props_optionConfig : "datasource";
261
+ _this.optionConfig = (_props_optionConfig = props === null || props === void 0 ? void 0 : props.optionConfig) !== null && _props_optionConfig !== void 0 ? _props_optionConfig : "datasource";
263
262
  var _props_micrometer;
264
- _this.micrometer = (_props_micrometer = (_props3 = props) === null || _props3 === void 0 ? void 0 : _props3.micrometer) !== null && _props_micrometer !== void 0 ? _props_micrometer : false;
263
+ _this.micrometer = (_props_micrometer = props === null || props === void 0 ? void 0 : props.micrometer) !== null && _props_micrometer !== void 0 ? _props_micrometer : false;
265
264
  var _props_precision;
266
- _this.precision = (_props_precision = (_props4 = props) === null || _props4 === void 0 ? void 0 : _props4.precision) !== null && _props_precision !== void 0 ? _props_precision : 2;
267
- _this.dataBind = new AmountDataBind((_props5 = props) === null || _props5 === void 0 ? void 0 : _props5.dataBind);
265
+ _this.precision = (_props_precision = props === null || props === void 0 ? void 0 : props.precision) !== null && _props_precision !== void 0 ? _props_precision : 2;
266
+ _this.dataBind = new AmountDataBind(props === null || props === void 0 ? void 0 : props.dataBind);
268
267
  var _props_datasourceBind;
269
- _this.datasourceBind = new DataSourceBind((_props_datasourceBind = (_props6 = props) === null || _props6 === void 0 ? void 0 : _props6.datasourceBind) !== null && _props_datasourceBind !== void 0 ? _props_datasourceBind : {
268
+ _this.datasourceBind = new DataSourceBind((_props_datasourceBind = props === null || props === void 0 ? void 0 : props.datasourceBind) !== null && _props_datasourceBind !== void 0 ? _props_datasourceBind : {
270
269
  displayBoList: [
271
270
  new DisplayBoListItem({
272
271
  value: "name"
@@ -274,19 +273,19 @@ var AmountPropertyRuntimeRules = /*#__PURE__*/ function(BaseControlPropertyRunti
274
273
  ]
275
274
  });
276
275
  var _props_defaultValue;
277
- _this.defaultValue = new AmountValue((_props_defaultValue = (_props7 = props) === null || _props7 === void 0 ? void 0 : _props7.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : {
276
+ _this.defaultValue = new AmountValue((_props_defaultValue = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : {
278
277
  amount: "",
279
278
  currency: AMOUNT_TYPE.CNY
280
279
  });
281
- _this.options = initOptions((_props8 = props) === null || _props8 === void 0 ? void 0 : _props8.options);
280
+ _this.options = initOptions(props === null || props === void 0 ? void 0 : props.options);
282
281
  var _props_caption;
283
- _this.caption = (_props_caption = (_props9 = props) === null || _props9 === void 0 ? void 0 : _props9.caption) !== null && _props_caption !== void 0 ? _props_caption : AmountControl.controlName;
282
+ _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : AmountControl.controlName;
284
283
  var _props_placeholder;
285
- _this.placeholder = (_props_placeholder = (_props10 = props) === null || _props10 === void 0 ? void 0 : _props10.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : "请输入";
284
+ _this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : "请输入";
286
285
  var _props_submitSelectCurrency;
287
- _this.submitSelectCurrency = (_props_submitSelectCurrency = (_props11 = props) === null || _props11 === void 0 ? void 0 : _props11.submitSelectCurrency) !== null && _props_submitSelectCurrency !== void 0 ? _props_submitSelectCurrency : false;
286
+ _this.submitSelectCurrency = (_props_submitSelectCurrency = props === null || props === void 0 ? void 0 : props.submitSelectCurrency) !== null && _props_submitSelectCurrency !== void 0 ? _props_submitSelectCurrency : false;
288
287
  var _props_showUpperCase;
289
- _this.showUpperCase = (_props_showUpperCase = (_props12 = props) === null || _props12 === void 0 ? void 0 : _props12.showUpperCase) !== null && _props_showUpperCase !== void 0 ? _props_showUpperCase : false;
288
+ _this.showUpperCase = (_props_showUpperCase = props === null || props === void 0 ? void 0 : props.showUpperCase) !== null && _props_showUpperCase !== void 0 ? _props_showUpperCase : false;
290
289
  return _this;
291
290
  }
292
291
  return AmountProperty;
@@ -106,10 +106,9 @@ var AmountControl = /*#__PURE__*/ function(RuntimeFormControl) {
106
106
  function AmountControl(props) {
107
107
  _class_call_check(this, AmountControl);
108
108
  var _this;
109
- var _props;
110
109
  _this = _super.call(this, props);
111
110
  _define_property(_assert_this_initialized(_this), "props", void 0);
112
- _this.props = new AmountProperty((_props = props) === null || _props === void 0 ? void 0 : _props.props);
111
+ _this.props = new AmountProperty(props === null || props === void 0 ? void 0 : props.props);
113
112
  return _this;
114
113
  }
115
114
  _create_class(AmountControl, null, [
@@ -106,10 +106,9 @@ var AttachmentControl = /*#__PURE__*/ function(DesignerFormControl) {
106
106
  function AttachmentControl(props) {
107
107
  _class_call_check(this, AttachmentControl);
108
108
  var _this;
109
- var _props;
110
109
  _this = _super.call(this, props);
111
110
  _define_property(_assert_this_initialized(_this), "props", void 0);
112
- _this.props = new AttachmentProperty((_props = props) === null || _props === void 0 ? void 0 : _props.props);
111
+ _this.props = new AttachmentProperty(props === null || props === void 0 ? void 0 : props.props);
113
112
  return _this;
114
113
  }
115
114
  _create_class(AttachmentControl, null, [
@@ -1,4 +1,10 @@
1
- function _assert_this_initialized(self) {
1
+ /*
2
+ * @Author: zhaoxiaoyang zhaoxiaoyang@byteluck.com
3
+ * @Date: 2023-09-14 18:31:51
4
+ * @LastEditors: zhaoxiaoyang zhaoxiaoyang@byteluck.com
5
+ * @LastEditTime: 2023-09-19 15:49:31
6
+ * @FilePath: /model-driven/packages/controls/src/formControls/Attachment/property.ts
7
+ */ function _assert_this_initialized(self) {
2
8
  if (self === void 0) {
3
9
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
4
10
  }
@@ -135,7 +141,6 @@ var AttachmentProperty = /*#__PURE__*/ function(BaseControlProperty) {
135
141
  function AttachmentProperty(props) {
136
142
  _class_call_check(this, AttachmentProperty);
137
143
  var _this;
138
- var _props, _props1, _props2, _props3, _props4, _props5, _props6, _props7;
139
144
  _this = _super.call(this, props);
140
145
  _define_property(_assert_this_initialized(_this), "defaultValue", void 0);
141
146
  // 默认格式和列表格式,原应用内是title和table
@@ -143,25 +148,32 @@ var AttachmentProperty = /*#__PURE__*/ function(BaseControlProperty) {
143
148
  _define_property(_assert_this_initialized(_this), "attachmentAccept", void 0);
144
149
  _define_property(_assert_this_initialized(_this), "maxLimit", void 0);
145
150
  _define_property(_assert_this_initialized(_this), "minLimit", void 0);
151
+ _define_property(_assert_this_initialized(_this), "isShowWatermark", void 0 // 是否开启水印
152
+ );
153
+ _define_property(_assert_this_initialized(_this), "watermarkFx", void 0);
146
154
  /**
147
155
  * maxSize 存储大小,单位为Byte,默认值为100MB
148
156
  * */ _define_property(_assert_this_initialized(_this), "maxSize", void 0);
149
157
  var _props_defaultValue;
150
- _this.defaultValue = (_props_defaultValue = (_props = props) === null || _props === void 0 ? void 0 : _props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : [];
158
+ _this.defaultValue = (_props_defaultValue = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : [];
151
159
  var _props_showType;
152
- _this.showType = (_props_showType = (_props1 = props) === null || _props1 === void 0 ? void 0 : _props1.showType) !== null && _props_showType !== void 0 ? _props_showType : "default";
160
+ _this.showType = (_props_showType = props === null || props === void 0 ? void 0 : props.showType) !== null && _props_showType !== void 0 ? _props_showType : "default";
153
161
  var _props_attachmentAccept;
154
- _this.attachmentAccept = (_props_attachmentAccept = (_props2 = props) === null || _props2 === void 0 ? void 0 : _props2.attachmentAccept) !== null && _props_attachmentAccept !== void 0 ? _props_attachmentAccept : [];
162
+ _this.attachmentAccept = (_props_attachmentAccept = props === null || props === void 0 ? void 0 : props.attachmentAccept) !== null && _props_attachmentAccept !== void 0 ? _props_attachmentAccept : [];
155
163
  var _props_maxLimit;
156
- _this.maxLimit = (_props_maxLimit = (_props3 = props) === null || _props3 === void 0 ? void 0 : _props3.maxLimit) !== null && _props_maxLimit !== void 0 ? _props_maxLimit : 10;
164
+ _this.maxLimit = (_props_maxLimit = props === null || props === void 0 ? void 0 : props.maxLimit) !== null && _props_maxLimit !== void 0 ? _props_maxLimit : 10;
157
165
  var _props_minLimit;
158
- _this.minLimit = (_props_minLimit = (_props4 = props) === null || _props4 === void 0 ? void 0 : _props4.minLimit) !== null && _props_minLimit !== void 0 ? _props_minLimit : 0;
166
+ _this.minLimit = (_props_minLimit = props === null || props === void 0 ? void 0 : props.minLimit) !== null && _props_minLimit !== void 0 ? _props_minLimit : 0;
159
167
  var _props_maxSize;
160
- _this.maxSize = (_props_maxSize = (_props5 = props) === null || _props5 === void 0 ? void 0 : _props5.maxSize) !== null && _props_maxSize !== void 0 ? _props_maxSize : MB100;
168
+ _this.maxSize = (_props_maxSize = props === null || props === void 0 ? void 0 : props.maxSize) !== null && _props_maxSize !== void 0 ? _props_maxSize : MB100;
161
169
  var _props_caption;
162
- _this.caption = (_props_caption = (_props6 = props) === null || _props6 === void 0 ? void 0 : _props6.caption) !== null && _props_caption !== void 0 ? _props_caption : AttachmentControl.controlName;
170
+ _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : AttachmentControl.controlName;
163
171
  var _props_placeholder;
164
- _this.placeholder = (_props_placeholder = (_props7 = props) === null || _props7 === void 0 ? void 0 : _props7.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : "上传附件";
172
+ _this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : "上传附件";
173
+ var _props_isShowWatermark;
174
+ _this.isShowWatermark = (_props_isShowWatermark = props === null || props === void 0 ? void 0 : props.isShowWatermark) !== null && _props_isShowWatermark !== void 0 ? _props_isShowWatermark : false;
175
+ var _props_watermarkFx;
176
+ _this.watermarkFx = (_props_watermarkFx = props === null || props === void 0 ? void 0 : props.watermarkFx) !== null && _props_watermarkFx !== void 0 ? _props_watermarkFx : {};
165
177
  return _this;
166
178
  }
167
179
  return AttachmentProperty;
@@ -106,10 +106,9 @@ var AttachmentControl = /*#__PURE__*/ function(RuntimeFormControl) {
106
106
  function AttachmentControl(props) {
107
107
  _class_call_check(this, AttachmentControl);
108
108
  var _this;
109
- var _props;
110
109
  _this = _super.call(this, props);
111
110
  _define_property(_assert_this_initialized(_this), "props", void 0);
112
- _this.props = new AttachmentProperty((_props = props) === null || _props === void 0 ? void 0 : _props.props);
111
+ _this.props = new AttachmentProperty(props === null || props === void 0 ? void 0 : props.props);
113
112
  return _this;
114
113
  }
115
114
  _create_class(AttachmentControl, null, [
@@ -106,10 +106,9 @@ var AutoNumberControl = /*#__PURE__*/ function(DesignerFormControl) {
106
106
  function AutoNumberControl(props) {
107
107
  _class_call_check(this, AutoNumberControl);
108
108
  var _this;
109
- var _props;
110
109
  _this = _super.call(this, props);
111
110
  _define_property(_assert_this_initialized(_this), "props", void 0);
112
- _this.props = new AutoNumberProperty((_props = props) === null || _props === void 0 ? void 0 : _props.props);
111
+ _this.props = new AutoNumberProperty(props === null || props === void 0 ? void 0 : props.props);
113
112
  return _this;
114
113
  }
115
114
  _create_class(AutoNumberControl, null, [
@@ -91,15 +91,14 @@ var AutoNumberProperty = /*#__PURE__*/ function(BaseControlProperty) {
91
91
  function AutoNumberProperty(props) {
92
92
  _class_call_check(this, AutoNumberProperty);
93
93
  var _this;
94
- var _props, _props1, _props2;
95
94
  _this = _super.call(this, props);
96
95
  _define_property(_assert_this_initialized(_this), "defaultValue", void 0);
97
96
  var _props_defaultValue;
98
- _this.defaultValue = (_props_defaultValue = (_props = props) === null || _props === void 0 ? void 0 : _props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : "";
97
+ _this.defaultValue = (_props_defaultValue = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : "";
99
98
  var _props_caption;
100
- _this.caption = (_props_caption = (_props1 = props) === null || _props1 === void 0 ? void 0 : _props1.caption) !== null && _props_caption !== void 0 ? _props_caption : AutoNumberControl.controlName;
99
+ _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : AutoNumberControl.controlName;
101
100
  var _props_placeholder;
102
- _this.placeholder = (_props_placeholder = (_props2 = props) === null || _props2 === void 0 ? void 0 : _props2.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : "请输入自动编号";
101
+ _this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : "请输入自动编号";
103
102
  return _this;
104
103
  }
105
104
  return AutoNumberProperty;
@@ -106,10 +106,9 @@ var AutoNumberControl = /*#__PURE__*/ function(RuntimeFormControl) {
106
106
  function AutoNumberControl(props) {
107
107
  _class_call_check(this, AutoNumberControl);
108
108
  var _this;
109
- var _props;
110
109
  _this = _super.call(this, props);
111
110
  _define_property(_assert_this_initialized(_this), "props", void 0);
112
- _this.props = new AutoNumberProperty((_props = props) === null || _props === void 0 ? void 0 : _props.props);
111
+ _this.props = new AutoNumberProperty(props === null || props === void 0 ? void 0 : props.props);
113
112
  return _this;
114
113
  }
115
114
  _create_class(AutoNumberControl, null, [